"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;
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 …
Die Welt der Glücksspielunterhaltung hat eine faszinierende und vielschichtige Geschichte, besonders in Deutschland. Von den traditionellen Spielbanken in Städten wie Baden-Baden bis hin zu den modernen Online-Plattformen hat sich das Casino-Erlebnis stetig weiterentwickelt. Heute können Glücksspieler bequem von zu Hause aus auf die besten Angebote zugreifen, ohne dabei auf das klassische Casino-Flair verzichten zu müssen. …
Nel mondo dei casinò online il bonus è molto più di un semplice incentivo economico: è il primo elemento di interazione che plasma la percezione di sicurezza, affidabilità e divertimento. Quando un nuovo giocatore atterra sulla homepage, il layout del banner di benvenuto, i colori usati e il posizionamento dei pulsanti di claim determinano se …
Das Live Casino hat das Online-Glücksspiel revolutioniert, indem es die fesselnde Atmosphäre eines echten Casinos direkt in Ihr Wohnzimmer bringt. Mit moderner Streaming-Technologie können Sie Roulette, Blackjack und Baccarat mit echten Dealern spielen, während Sie gleichzeitig die besten Features von Online-Plattformen genießen. Diese Kombination aus traditionellem Casino-Flair und digitaler Bequemlichkeit zieht immer mehr deutsche Spieler …