"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;
The world of online casinos has evolved dramatically, providing players with diverse gaming options, secure payment methods, and exciting bonuses. Among these platforms, Neosurf casinos in Australia have gained popularity for their convenience and vibrant gaming experiences. In 2026, players can look forward to enhanced features, including live dealer games and a wealth of slot …
De waarde van spelerservaringen Spelerservaringen zijn essentieel voor het begrijpen van de kwaliteit van een online casino. De meningen van spelers bieden een unieke kijk op verschillende aspecten van het casino, zoals klantenservice, betalingstijden en spelervaring. Reviews geven niet alleen inzicht in de betrouwbaarheid van een casino, maar helpen ook nieuwe spelers om weloverwogen keuzes …
Online casinospellen winnen snel aan populariteit in Nederland, vooral met de opkomst van casinos die geen Cruks-registratie nodig hebben. Dit biedt spelers de kans om een breed scala aan spellen te verkennen zonder extra obstakels. In dit artikel bespreken we de belangrijkste voordelen van spelen bij deze online casinos, zoals de beste casino zonder cruks …
I den digitale tidsalder har online casinoer vundet stor popularitet, især blandt danske spillere. Når man vælger et online casino, er hastighed og sikkerhed to afgørende faktorer. Casinos uden ROFUS, der tilbyder hurtige udbetalinger, som for eksempel casino uden rofus apple pay , er i særdeleshed blevet attraktive for spillere, der ønsker en problemfri oplevelse. …
Forståelse av odds i online gambling Når man snakker om online gambling, er oddsene en sentral komponent. Odds representerer sannsynligheten for at en bestemt hendelse inntreffer, og de bestemmer hvor mye en spiller kan vinne. For eksempel, i en sportsbegivenhet kan bookmakerne gi odds basert på lagets prestasjoner, skadehistorikk og andre faktorer, og det finnes …
The online casino landscape in Canada is evolving rapidly in 2026, with new players entering the market and bringing exciting games and secure payment options. As technology continues to advance, these online platforms offer an unparalleled gaming experience, featuring generous bonuses and fast payouts, especially when it comes to the best new online casinos that …
Im Jahr 2026 suchen immer mehr Spieler nach sicheren und schnellen Zahlungsmethoden für Online-Casinos, um Echtgeld zu setzen. In dieser dynamischen Branche ist es entscheidend, vertrauenswürdige Zahlungsoptionen zu wählen, die nicht nur die Sicherheit des Geldes gewährleisten, sondern auch schnelle und unkomplizierte Transaktionen bieten. Eine gute Möglichkeit, sich zu informieren, sind Plattformen, die die beste …
Entering the world of online casinos can be an exciting yet daunting experience for beginners. With numerous options available, it’s crucial to know how to find a reliable platform that offers a safe gaming environment, attractive bonuses, and a wide variety of games. In South Africa, the rise of online casinos has made it easier …
Online pokies have become a popular form of entertainment for players around Australia, providing an exhilarating experience right from the comfort of their own homes. The rise of online casinos has brought about a plethora of options for players to explore, particularly in 2026, where advancements in technology have made it easier than ever to …
Dans l’univers des jeux d’argent en ligne, les casinos virtuels se démarquent par leur diversité et leur accessibilité. Vibebet Casino offre une expérience de jeu captivante, renforcée par un support efficace disponible 24 heures sur 24 et 7 jours sur 7, ainsi qu’une connexion à des offres exclusives comme connexion vibebet qui enrichissent l’expérience. Cet …