"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;
Die Welt des Online-Glücksspiels entwickelt sich ständig weiter, mit immer mehr Plattformen, die attraktive Aktionen und Turniere anbieten, um Spieler zu begeistern. Für deutsche Spieler bedeutet dies eine Fülle an Möglichkeiten, ihr Glück zu versuchen und dabei von exklusiven Angeboten zu profitieren. Die Saisonaktionen und der Turnierkalender im Online-Casino sind dabei besondere Highlights, die nicht …
The online casino world has been on a rapid evolution curve for the past decade. Where once the industry relied on Adobe Flash and clunky Java applets, today the dominant force is HTML5. This shift is more than a cosmetic upgrade; it reshapes how quickly a game loads, how fluidly it runs on a phone, …
La roulette, con il suo tavolo rotondo e la ruota che gira al ritmo di un battito, è da sempre il simbolo del fascino classico del casinò. Dal glamour dei saloni di Monte Carlo alle luci al neon di Las Vegas, il gioco ha mantenuto un’aura di mistero e di possibilità di trasformare una puntata in …
The heat of July can feel relentless, but for online gamblers it also brings a wave of scorching promotions that make the season feel just as hot as the pavement outside. While many people are lounging by the pool or hopping between beach towns, operators are turning up the temperature on their marketing calendars, rolling …
Die Welt des Online-Glücksspiels bietet eine faszinierende Vielfalt an Möglichkeiten für Spielbegeisterte. Wer gezielt nach aktuellen Angeboten sucht, findet bei Total Win online einen guten Ausgangspunkt. Eines der attraktivsten Feature sind die verschiedenen Bonusangebote, die neue und bestehende Spieler dazu verleiten, eine bestimmte Plattform zu wählen. Doch hinter den vielversprechenden Werbeversprechen verbergen sich oft komplizierte …
Guide complet du casino en ligne – Tout ce que vous devez savoir pour jouer en toute sécurité et maximiser vos gains Le jeu en ligne connaît une explosion sans précédent : des millions de joueurs se connectent chaque jour pour tenter leur chance sur des plateformes qui offrent bien plus que les salles terrestres …
Trong ba năm qua, xu hướng slot theo chủ đề đã chuyển mình mạnh mẽ, đặc biệt là những tựa game kết hợp lễ hội Giáng sinh với các nền văn hoá huyền thoại như Ai Cập cổ đại, Bắc Âu hay truyền thuyết Hy Lạp. Các nhà phát triển không chỉ dùng hình ảnh …
Guide complet du casino en ligne : tout ce que vous devez savoir pour jouer en toute sécurité et maximiser vos gains L’essor des casinos virtuels ne montre aucun signe de ralentissement ; chaque mois des millions de joueurs français s’inscrivent sur des plateformes qui promettent des jackpots flamboyants et une ambiance comparable à celle d’un …
Il panorama del gioco responsabile nel 2026 è segnato da una crescita preoccupante della dipendenza da gioco online: secondo l’ultimo rapporto dell’European Gaming Authority, il 7,4 % degli adulti europei ha sperimentato almeno un episodio di perdita di controllo negli ultimi 12 mesi. Le perdite medie per giocatore problematico sono aumentate del 15 % rispetto al 2023, …
Nel mondo dell’iGaming la matematica non è un optional, ma la bussola che guida le scelte di chi vuole trasformare il divertimento in un’attività più consapevole. Conoscere le regole di base della probabilità permette di distinguere tra un’offerta allettante e un’illusione di guadagno, soprattutto quando si è alle prime armi. Se desideri provare subito un’esperienza …