"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;
Das Online Roulette zählt seit jeher zu den beliebtesten Spielen in jedem Casino.无论是在实体赌场还是在数字平台上,它的魅力 besteht darin, dass es sowohl Anfängern als auch erfahrenen Spielern gleichermaßen gefällt. Im Gegensatz zu anderen Glücksspielen gibt es beim Roulette mehrere Einsatzmöglichkeiten, die alle unterschiedliche Gewinnwahrscheinlichkeiten bieten. Wenn Sie die Grundlagen dieser Einsatzarten verstehen, können Sie Ihre Strategie verbessern und Ihr …
Guide complet du casino en ligne – Tout ce que vous devez savoir Introduction Le phénomène des jeux de hasard sur Internet ne montre aucun signe de ralentissement. En France comme à l’étranger, les joueurs affluent chaque jour vers des plateformes qui promettent des graphismes immersifs, des bonus généreux et la possibilité de jouer depuis …
Il Sic Bo, antico gioco di dadi originario della Cina, ha attraversato secoli di evoluzione passando dalle sale da gioco tradizionali alle piattaforme digitali. Nacque durante la dinastia Song come semplice passatempo di strada e, grazie alla sua semplicità di regole e al ritmo frenetico, divenne presto un classico dei casinò asiatici. Con l’avvento del broadband …
Online gambling has become a playground of choices, and one of the most decisive variables is how much a player is willing to risk on each spin. Some gamblers thrive on the adrenaline rush of hefty wagers, chasing massive payouts and exclusive VIP treatment, while others prefer a measured approach, stretching modest deposits into longer …
Nel mondo dei giochi online, la sicurezza dei pagamenti è diventata una delle preoccupazioni principali sia per gli operatori sia per i giocatori. Quando si tratta di casinò live, la questione si fa ancora più delicata: le transazioni avvengono in tempo reale, i fondi vengono spostati rapidamente e le dispute possono insorgere subito dopo una …
Das Online-Glücksspiel boomt in Deutschland wie nie zuvor, doch viele Spieler suchen gezielt nach Casinos ohne deutsche Lizenz. Diese alternativen Plattformen bieten oft attraktivere Boni und ein breiteres Spielangebot, als es derzeit in Deutschland gesetzlich möglich ist. Doch die Entscheidung für ein Casino ohne deutsche Lizenz birgt sowohl Chancen als auch erhebliche Risiken, die jeder …
La Coppa del Mondo 2026 è già al suo culmine: le nazionali si sfidano in un calendario serrato, i tifosi riempiono gli stadi e, soprattutto, i casinò online registrano un picco storico di traffico. Le piattaforme di betting hanno trasformato il semplice “chi segna” in una vera e propria esperienza multicanale, dove la scommessa sportiva …
Free spins are the crown jewel of online slot promotions. Players love the idea of spinning the reels without risking their own stake, hoping that a single lucky round will trigger a cascade of wins. The allure is amplified when the same free‑spin mechanic is wrapped inside a tournament structure, where every spin can move …
Pai Gow Poker has endured as a casino staple because its dual‑hand format offers both excitement and a built‑in safety net. While the “big” hand battles for high‑ranking combinations, the “small” hand gives players a second chance to win, often turning a losing round into a push. This structure explains why modern gamblers, from seasoned pit‑bosses …