"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;
The turn of the year always brings a fresh wave of excitement for players chasing that life‑changing jackpot. New Year promotions, progressive slots that swell to millions, and the promise of a sudden windfall turn ordinary gaming sessions into high‑stakes celebrations. Yet behind the flashing reels and roaring crowds lies a technical battlefield where every …
L’estate è la stagione in cui il sole splende, le spiagge si riempiono e, nel mondo dei casinò online, le promozioni raggiungono il loro picco di temperatura. I provider approfittano della voglia di divertimento dei giocatori per lanciare offerte “calde” come bonus di benvenuto gonfiati, giri gratuiti a tema tropicale e tornei che promettono premi …
Il dibattito tra giochi con croupier dal vivo e giochi basati su Random Number Generator (RNG) è da tempo al centro delle discussioni nei forum di casinò online. Da una parte c’è la magia del tavolo reale, con luci, suoni e l’interazione umana; dall’altra la rapidità e la varietà infinita dei giochi RNG, dove ogni …
En el competitivo mundo del iGaming, los jugadores de alto nivel —los “high rollers”— exigen más que una simple plataforma de juego; buscan rapidez, confidencialidad y, sobre todo, recompensas que justifiquen sus elevadas apuestas. Cuando la apuesta supera los miles de euros por sesión, cada segundo cuenta y cada detalle de seguridad se vuelve crítico. …
The air turns crisp, pumpkins glow, and online casinos swap their usual chrome for cobwebs and glowing jack‑o‑lanterns. The thrill of Halloween merges with the rush of casino bonuses, creating a perfect storm for both players craving spooky fun and operators hunting seasonal traffic. When the calendar flips to late October, promotional calendars fill with …
Nel 2026 il gioco del Craps ha vissuto una nuova ondata di popolarità grazie all’espansione delle piattaforme di gioco online. I casinò digitali hanno potuto sperimentare ambienti più dinamici, con tavoli personalizzabili, velocità di lancio dei dadi “speed dice” e grafiche 3‑D che ricreano l’atmosfera di una sala da casinò reale. Questa evoluzione ha cambiato …
In this article, we dive into the world of Memo Casino to uncover what players are really saying about their experiences. From the enticing bonus code for Memo Casino to the sleek interface of the Memo Casino app download, we’ll provide a comprehensive overview of user feedback. Whether you’re curious about the gaming library, customer …