"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;
I takt med att spelindustrin utvecklas, förändras även belöningsprogrammen på internationella casinon. För svenska spelare år 2026 erbjuder dessa program en mängd förmåner som kan förbättra spelupplevelsen avsevärt, inklusive alternativ som casino utan svensk licens som ger större frihet och flexibilitet. Här är en vägledning till vad du kan förvänta dig, hur du kommer igång, …
The world of casino gaming in Australia offers an electrifying mix of excitement and entertainment. With a wide range of options available, players can explore various game types, from traditional card games to the latest slot machines. The booming online casino industry also provides players with the chance to wager from the comfort of their …
W 2026 roku kasyna internetowe w Polsce przeżywają prawdziwy boom, oferując graczom nie tylko wyjątkową rozrywkę, ale także liczne korzyści związane z bezpieczeństwem i szybkością wypłat. W obliczu rosnącej konkurencji na rynku, polscy operatorzy maksymalizują wygodę korzystania z platform online, by przyciągnąć nowych klientów oraz zatrzymać dotychczasowych graczy, co sprawia, że coraz więcej osób decyduje …
In the rapidly evolving world of online gambling, the choice of casino apps can make a significant difference in user experience. As more players turn to their mobile devices for gaming, understanding which platforms offer https://duelcasino-aussie.com/app/ the best features, gameplay, and support is crucial. This article will explore the factors that contribute to a superior …
Az online kaszinók világában a biztonság, a sebesség és a játékélmény kulcsfontosságú szerepet játszanak. A magyar online casino lehetőséget kínál arra, hogy a játékosok biztonságosan és gyorsan élvezzék a kedvenc játékaikat. Ebben az írásban felfedezzük, miért fontosak ezek az aspektusok, és hogyan választhatunk a legjobb alternatívák közül a hazai online kaszinók piacán. Miért fontos a …
В современном мире онлайн-казино привлекают множество игроков благодаря разнообразию игровых предложений и удобству доступа. Платформа Pin Up Casino Uzbekistan предоставляет уникальную возможность наслаждаться азартными играми в любое время и в любом месте. На этом сайте пользователи могут найти широкий выбор игр, начиная от классических слотов до азартных настольных игр и живых казино. Давайте подробнее рассмотрим, …
In the dynamic world of mobile gaming, few experiences pack the thrill and fun like the Chicken Road Game App. This arcade-style game is all about navigating through chaotic roads, rivers, and railway tracks, making it an addictive pursuit for players of all ages. Whether you’re a casual gamer looking to relax or a competitive …
Las plataformas de juegos en línea han revolucionado la manera en que disfrutamos de nuestros juegos de azar favoritos. Entre ellas, Pinup casino se destaca como una de las opciones más emocionantes y accesibles para los jugadores en Chile. Con su amplia variedad de juegos, bonificaciones atractivas y una interfaz fácil de usar, ¡los jugadores …
As online gaming continues to thrive, 2026 promises to be an exceptional year for players seeking exciting casino experiences. Among the myriad of options available, Pin Up Casino stands out, particularly for those interested in engaging games like the Aviator. Offering a robust platform with diverse options, Pin Up Casino has tailored its services to …