"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;
As online gambling continues to thrive in Canada, 2026 promises an exciting landscape filled with new possibilities for players. With newly launched online casinos, gamers can experience a plethora of games and stellar welcome bonuses. Knowing how to navigate through these options can help maximize your experience and winnings, especially when considering the best new …
The online casino world has quietly turned into a social hub. What once was a solitary spin of a reel or a lone hand of blackjack now frequently happens beside a chat room, a leaderboard, or a live‑dealer video feed. Operators have discovered that when players feel part of a community, they stay longer, wager …
A magyar online kaszinók világa izgalmas és változatos, amely számos lehetőséget kínál a játékosok számára. Az online szerencsejáték egyre népszerűbb Magyarországon, köszönhetően a kényelmes elérhetőségnek és a széles játékválasztéknak. Cikkünk célja, hogy bemutassa, milyen játékokat és funkciókat érdemes keresni a legjobb magyar online casino legjobb magyar online casino kban, segítve a játékosokat abban, hogy a …
Die Welt der Online Casinos hat in Deutschland in den letzten Jahren enorm an Popularität gewonnen, doch viele Spieler fragen sich: Was sind die Vor- und Nachteile von Casinos ohne deutsche Lizenz? Solange Plattformen Dragonia Casino spielen DE bestimmte Standards erfüllen, bieten sie oft attraktivere Bonusangebote und eine größere Spielauswahl. Doch es gibt wichtige Aspekte …
Negli ultimi anni i tornei alle slot hanno smesso di essere semplici eventi promozionali per diventare un vero pilastro dell’offerta di molti casinò. I giocatori non cercano più soltanto la possibilità di vincere un jackpot, ma desiderano partecipare a competizioni dove la trasparenza e l’equità sono garantite fin dal primo spin. Questa crescente attenzione al …
Online-Blackjack erfreut sich bei Glücksspiel-Fans großer Beliebtheit, da es nicht nur spannend, sondern auch strategisch anspruchsvoll ist. Im Gegensatz zu reinen Glücksspielen wie Slots können Spieler durch eine fundierte Strategie ihre Gewinnchancen deutlich verbessern. Das Verständnis der Spielregeln und der grundlegenden Blackjack-Strategie ist der Schlüssel zum Erfolg bei Online-Casinos. Wer seine Kenntnisse vertiefen möchte, findet …
Nel settembre 2026 il panorama delle scommesse online è in piena evoluzione: i tradizionali giochi da tavolo, tra cui il Three Card Poker, non sono più confinati alle sale virtuali dei casinò, ma hanno trovato una nuova casa nei mercati ibridi dei bookmaker non AAMS. Questi operatori, spinti dalla crescente domanda di esperienze integrate, hanno iniziato …
Die Welt des Online-Glücksspiels bietet vielfältige Möglichkeiten, die Aufmerksamkeit der Spieler auf sich zu ziehen. Neben einem breiten Spielangebot und attraktiven Bonusaktionen stehen VIP-Programme und Treuepunkte im Fokus. Diese Belohnungssysteme sollen treue Kunden honorieren und zusätzliche Anreize schaffen. Doch lohnt sich der Aufwand wirklich? In diesem Artikel untersuchen wir die Vor- und Nachteile von VIP-Programmen …
En los últimos cinco años el uso de criptomonedas para financiar actividades de juego en línea ha pasado de ser una curiosidad a una tendencia consolidada. La posibilidad de depositar Bitcoin, Ethereum o stablecoins como USDT directamente en la cuenta de un casino elimina la necesidad de intermediarios bancarios y, en teoría, reduce los tiempos …
El craps ha dejado su huella en los pisos de los casinos físicos y, en los últimos años, ha conquistado también el mundo digital. En los entornos de juego online, la velocidad de las tiradas, la disponibilidad 24/7 y la posibilidad de jugar desde cualquier dispositivo hacen que el juego de dados sea una opción …