"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;
Negli ultimi cinque anni il panorama normativo europeo è cambiato radicalmente. L’Unione Europea, attraverso le direttive sul gioco responsabile, ha spinto le autorità nazionali – dal UK Gambling Commission al Malta Gaming Authority, passando per la licenza ADM in Italia – a introdurre requisiti più stringenti su deposito, verifiche KYC e auto‑esclusione. Queste misure mirano …
Negli ultimi cinque anni il gioco da casinò ha lasciato il tavolo fisico per migliaia di smartphone e tablet. La possibilità di scommettere su slot, roulette o baccarat mentre si è in metropolitana, in pausa pranzo o comodamente sul divano ha trasformato il concetto di “accessibilità”. Le app native, ottimizzate per i sistemi iOS e …
Die Welt des Online Glücksspiels entwickelt sich rasant und eine der spannendsten Innovationen ist die Integration von Kryptowährungen wie Bitcoin, Ethereum und Co. in Online Casinos. Erfahrungsberichte zu spielen at Martin liefern eine erste Orientierung im deutschen Markt. Diese digitale Währungen bieten Spielern nicht nur mehr Privatsphäre und Sicherheit, sondern auch schnellere Transaktionen und oft …
In this article, we’re diving deep into the world of Dreamplay games, exploring what makes them stand out in the crowded gaming landscape. Whether you’re a seasoned player or just dipping your toes into the vibrant waters of online gambling, you’ll find something valuable here. We’ll cover everything from unique game offerings to the features …
key out difference let in biz assortment , payout amphetamine , dedication advantage , app lineament and client service . for each one steel offers unequalled sport that cater to dissimilar thespian penchant . Though they appear beneficial at first, it’s worth remembering casinos don’t give without purpose — they’re using bonuses as a smart …
L’engouement pour les machines à sous virtuelles ne cesse de croître. Chaque jour, des milliers de nouveaux joueurs s’inscrivent sur des plateformes qui promettent des graphismes époustouflants, des jackpots progressifs et, surtout, des bonus alléchants. Pourtant, l’une des questions qui revient le plus souvent est la suivante : « Comment savoir que le jeu est réellement équitable ? » …
The smartphone has become the primary portal to the iGaming universe, and players now expect a game to appear the instant they tap an icon. A lag of even a few seconds can turn a promising bonus offer into a missed opportunity, because the modern gambler’s attention span is measured in milliseconds. Speed therefore isn’t …
Nel 2026 i casinò moderni celebrano più di tre decenni di evoluzione, passando da sale fumose a piattaforme digitali che operano 24 ore su 24, sette giorni su sette. Questa pietra miliare non è solo un’occasione di festa, ma anche un momento per riflettere su come la gestione del rischio abbia trasformato il settore, rendendo …
Le pari e‑sportif a connu une ascension fulgurante ces cinq dernières années. Autrefois cantonné aux forums de fans et aux petites plateformes spécialisées, il s’est aujourd’hui imposé comme une catégorie à part entière du jeu en ligne, attirant des millions de parieurs chaque semaine. Cette croissance est alimentée par l’explosion des audiences Twitch, la professionnalisation des …
The holiday season has always been a catalyst for a surge in online gambling activity, but 2024 feels different. Players are no longer satisfied with a one‑size‑fits‑all live‑dealer table; they want an experience that feels as familiar as a Christmas market in their own neighbourhood. This festive boom is pushing operators to embed regional flavour …