"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.VariableProductTour=void 0;const element_1=require("@wordpress/element"),i18n_1=require("@wordpress/i18n"),components_1=require("@woocommerce/components"),data_1=require("@woocommerce/data"),tracks_1=require("@woocommerce/tracks"),data_2=require("@wordpress/data"),core_data_1=require("@wordpress/core-data"),constants_1=require("../../../constants"),VariableProductTour=()=>{const[e,o]=(0,element_1.useState)(!1),t=(0,core_data_1.useEntityId)("postType","product"),r=(0,element_1.useRef)(),a=(0,element_1.useMemo)((()=>({product_id:t,page:1,per_page:constants_1.DEFAULT_VARIATION_PER_PAGE_OPTION,order:"asc",orderby:"menu_order"})),[t]),{totalCount:c}=(0,data_2.useSelect)((e=>{const{getProductVariationsTotalCount:o}=e(data_1.EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME);return{totalCount:o(a)}}),[t]),{updateUserPreferences:n,variable_product_block_tour_shown:s}=(0,data_1.useUserPreferences)(),i={placement:"top",steps:[{referenceElements:{desktop:".wp-block-woocommerce-product-variation-items-field"},focusElement:{desktop:".wp-block-woocommerce-product-variation-items-field"},meta:{name:"product-variations-2",heading:(0,i18n_1.__)("⚡️ This product now has variations","woocommerce"),descriptions:{desktop:(0,i18n_1.__)("From now on, you’ll manage pricing, shipping, and inventory for each variation individually—just like any other product in your store.","woocommerce")},primaryButton:{text:(0,i18n_1.__)("Got it","woocommerce")}}}],options:{classNames:["variation-items-product-tour"],effects:{arrowIndicator:!0,spotlight:{interactivity:{enabled:!0}}},callbacks:{onStepViewOnce:()=>{(0,tracks_1.recordEvent)("variable_product_block_tour_shown",{variable_count:c})}},popperModifiers:[{name:"offset",options:{offset:[0,32]}}]},closeHandler:()=>{n({variable_product_block_tour_shown:"yes"}),o(!1),(0,tracks_1.recordEvent)("variable_product_block_tour_dismissed")}};(0,element_1.useEffect)((()=>{const t=r.current!==c&&c>0&&0===r.current;r.current=c,t&&!e&&o(!0)}),[c]);const{hasShownProductEditorTour:u}=(0,data_2.useSelect)((e=>{const{getOption:o}=e(data_1.OPTIONS_STORE_NAME);return{hasShownProductEditorTour:"yes"===o("woocommerce_block_product_tour_shown")}}));return"yes"!==s&&e&&u?(0,element_1.createElement)(components_1.TourKit,{config:i}):null};exports.VariableProductTour=VariableProductTour;
Online casinos are a thrilling way to enjoy gaming from the comfort of your home, and Rocket Casino Australia stands out in this vibrant landscape. This guide aims to help new players navigate the ins and outs of claiming a welcome bonus, understanding its terms, and maximizing their gaming experience with an online casino australia …
The Fascinating World of Science: Exploring the Unknown Science is often perceived as a field dominated by complex equations and intricate experiments, yet at its core, it embodies the insatiable human curiosity to understand the universe. From the smallest particles to the vastness of galaxies, science drives our quest for knowledge, revealing the intricate workings …
https://frgoldenpanda.com/ propose une plateforme orientée vers une large offre de jeux et des promotions régulières. Cet article passe en revue les points forts du site et ce qui mérite vigilance pour un joueur français. Golden Panda FR intéresse les joueurs qui cherchent variété et simplicité d’accès. Nous détaillons les types de jeux, les bonus, la …
In the vibrant world of online pokies in New Zealand, choosing the right payment method can significantly enhance your gaming experience. With numerous options available, it’s essential to understand which methods offer the best balance of speed and security in 2026. This guide will explore the best payment methods to help you enjoy seamless transactions …
Online casinos have surged in popularity, particularly in Australia, where players enjoy access to a variety of thrilling games and enticing bonuses. Real money gaming offers an exhilarating chance to win big while enjoying the excitement of best online pokies australia real money options available on various platforms. With numerous platforms to choose from, players …
Forstå spillene og oddsene Det er avgjørende å ha en solid forståelse av de ulike spillene som tilbys i kasinoer, enten de er fysiske eller nettbaserte. Hver enkelt type spill, fra spilleautomater til bordspill som blackjack og poker, kommer med sine egne regler og strategier. Hvis man ønsker å utforske de beste alternativene, kan man …
As the online casino landscape continues to evolve, players are increasingly interested in streamlined processes, especially when it comes to withdrawals. In 2026, the Australian online casino market promises faster transactions and user-friendly platforms that make it easy for players to access their winnings quickly, including options for online pokies australia real money that enhance …
Negli ultimi anni il mercato dei casinò digitali ha conosciuto una crescita esponenziale: nel 2026 le scommesse online rappresentano più del 30 % del fatturato globale del gioco d’azzardo, spinto da smartphone sempre più potenti e da una rete di pagamenti istantanei. I giocatori non sono più limitati a tavoli fisici; possono accedere a centinaia di …
Online casinos in South Africa have become increasingly popular among players seeking exciting gaming experiences that also promise quick and reliable payouts. With the growth of the industry, many players are eager to choose platforms that offer not just a fantastic selection of games, but also secure payment methods and enticing bonuses. In 2026, finding …
As online gambling continues to thrive, Canadian players are increasingly gravitating towards fast withdrawal casinos that promise not just entertainment but also quick access to their winnings. The allure of online casino instant withdrawal enhances the overall gaming experience, making it more thrilling and rewarding. This guide will delve into the world of fast withdrawal …