"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;
As online gambling continues to thrive in Canada, 2026 promises an exciting landscape filled with new possibilities for players. With newly launched online casinos, gamers can experience a plethora of games and stellar welcome bonuses. Knowing how to navigate through these options can help maximize your experience and winnings, especially when considering the best new …
A magyar online kaszinók világa izgalmas és változatos, amely számos lehetőséget kínál a játékosok számára. Az online szerencsejáték egyre népszerűbb Magyarországon, köszönhetően a kényelmes elérhetőségnek és a széles játékválasztéknak. Cikkünk célja, hogy bemutassa, milyen játékokat és funkciókat érdemes keresni a legjobb magyar online casino legjobb magyar online casino kban, segítve a játékosokat abban, hogy a …
As the online gambling landscape continues to evolve, 2026 brings exciting innovations in the world of online pokies in Australia. Players can now access a wide variety of engaging games, lucrative bonuses, and top-notch security features from the comfort of their homes. Many players enjoy exploring online pokies that offer unique themes and entertaining mechanics, …
The world of online casinos in Australia is evolving rapidly, and 2026 promises to be an exciting year for players. With a diverse range of gaming options, especially in the realm of pokies, players will have plenty to explore, including australian online casino choices that enhance the overall experience. New technologies and games are emerging, …
Navigating Fun88 offers a seamless blend of intuitive design and engaging interactions, where every choice feels purposeful and keeps you drawn into the flow of the platform.
Im Jahr 2026 wird die Online-Casino-Landschaft weiterhin von aufregenden Innovationen und verbesserten Sicherheitsmaßnahmen geprägt sein. Echtgeldspiel im Internet bietet den Spielern nicht nur die Möglichkeit, ihre Lieblingsspiele zu genießen, sondern auch von attraktiven Boni und das beste online casino einer Vielzahl an Zahlungsmethoden zu profitieren. In diesem Artikel werden die wichtigsten Merkmale von Online-Casinos erörtert, …
Proces aktywacji vavada bonus cechuje się przejrzystością i minimalną ilością formalności, co ułatwia szybkie korzystanie z dostępnych ofert bez zbędnych utrudnień.
Los bonos de casino son una herramienta fundamental para maximizar tu experiencia de juego y aumentar tus posibilidades de ganar. En 2026, los casinos en línea como Topacio Casino ofrecen diversas promociones y bonos exclusivos que pueden beneficiar a los jugadores de Bolivia significativamente, entre ellos, https://topacio-casino-bo.com/ que destaca por su variedad de opciones. En …