"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;
Podstawowe zasady gry w pokera Poker to gra karciana, która łączy elementy strategii, psychologii oraz szczęścia. Jej celem jest zdobycie puli, którą gracze zbierają podczas rozgrywki. Każdy uczestnik otrzymuje karty, a następnie stara się stworzyć jak najlepszą kombinację, aby wygrać. Choć istnieje wiele wariantów pokera, wszystkie opierają się na fundamentalnych zasadach, które są nieodłączne dla …
Live casino-spel har blivit en populär trend bland spelare som söker en autentisk spelupplevelse direkt hemifrån. Utan licens i Sverige kan spelare utforska internationella operatörer som erbjuder en mängd olika spel och generösa bonusar, inklusive casino utan licens , vilket ger fler alternativ för alla typer av spelare. I denna artikel dyker vi ner i …
Czym jest kasyno? Kasyno to miejsce, które od wieków fascynuje ludzi na całym świecie. To przestrzeń, gdzie za pomocą różnorodnych gier hazardowych gracze mają szansę na wygraną, ale również na porażkę. W kasynach można znaleźć wiele form rozrywki, od automatów do gier stołowych, takich jak poker czy blackjack. Wśród dostępnych opcji, najlepsze kasyna online oferują …
Understanding the Basics of Online Casinos Online casinos have surged in popularity, attracting players with their convenience and diverse gaming options. Unlike traditional casinos, players can access a vast array of games from the comfort of their homes at any time. This flexibility not only caters to a wide range of preferences but also allows …
Live casino-spel har blivit en populär trend bland spelare som söker en autentisk spelupplevelse direkt hemifrån. Utan licens i Sverige kan spelare utforska internationella operatörer som erbjuder en mängd olika spel och generösa bonusar, inklusive casino utan licens , vilket ger fler alternativ för alla typer av spelare. I denna artikel dyker vi ner i …
För svenska spelare som utforskar världen av internationella casinon är det viktigt att förstå hur lojalitetsprogram och belöningssystem fungerar. Dessa program är inte bara sätt att uppmuntra spelare att återvända, utan också en väg till casino utan svensk licens extra förmåner och en mer givande spelupplevelse. I denna guide gräver vi djupare in i de …
In the vibrant world of online gaming, real money slots stand out as one of the most exciting ways to enjoy casino experiences from the comfort of your own home. For players in New Zealand, 2026 presents a fantastic opportunity to explore a wealth of online pokies that promise both excitement and potential winnings, especially …
As the online gaming landscape evolves, players in Australia are increasingly turning to online pokies for their gaming thrills in 2026. With advancements in mobile technology and user interface design, these platforms now offer a seamless gaming experience, allowing players to enjoy their favourite pokies anytime, anywhere, including those who prefer an online casino australia …
In the ever-evolving landscape of online gaming, players are increasingly seeking platforms that offer not just exciting gameplay but also prompt financial transactions. Fast payouts have become a significant factor influencing where players choose to gamble, especially in Canada, where many are drawn to the new canadian online casino options available. In this guide, we …
Ambiance and Atmosphere The ambiance and atmosphere of a casino play a pivotal role in shaping the overall experience for visitors. A well-designed casino creates an enticing environment that draws players in and retains their interest. Factors such as lighting, sound, and decoration all contribute to this sensory experience, creating a lively yet comfortable setting. …