"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;
En los últimos cinco años el número de jugadores activos en casinos online ha crecido más del 70 %, impulsado por la proliferación de dispositivos móviles y la expansión de la oferta de juegos con alta RTP y jackpots progresivos. Este auge obliga a los operadores a ofrecer asistencia ininterrumpida, ya que la falta de un …
Live betting has transformed the casino landscape, allowing players to engage with their favorite games in real-time. Platforms such as Pin-Up Bet offer an exciting experience for bettors who crave immediate action and opportunities. With a plethora of betting options ranging from sports to esports, the thrill of live betting keeps players on the edge …
Casikora Casino is an emerging name in the online gaming industry, recognized for its vast selection of games, robust security, and generous bonuses. Players are drawn to the platform not only for the thrill of gaming but also for the assurance of reliable payouts and a commitment to fair play. With an extensive range of …
Dans le monde des jeux en ligne, les casinos virtuels se multiplient et offrent une multitude d’options aux joueurs. S’inscrire sur un casino en ligne peut parfois sembler compliqué, mais avec les bonnes informations, le processus devient simple et rapide. Cet article vous guidera à travers les étapes nécessaires pour vous inscrire sur un casino …
El mundo de los casinos online en Chile ha experimentado un notable crecimiento en 2026, ofreciendo a los jugadores una amplia gama de plataformas para elegir, como el nuevo casino chile . Sin embargo, con tantas opciones disponibles, puede resultar abrumador decidir cuál es la más adecuada. En este artículo, exploraremos cómo seleccionar plataformas verificadas …
Il 2026 segna una svolta decisiva per l’industria del gioco d’azzardo online. Dopo anni di sperimentazione con versioni desktop, le piattaforme hanno ormai abbracciato una strategia mobile‑first, spinta dalla diffusione del 5G e dalla crescente familiarità dei giocatori con i dispositivi touch. Oggi i casinò non sono più semplici siti web, ma ecosistemi integrati che …
The iGaming world has spent the last decade wrestling with a technology that once seemed unassailable: Adobe Flash. For years, Flash powered the dazzling reels, animated bonus rounds, and interactive features that kept players spinning night after night. Yet the very strengths of Flash—its reliance on a proprietary plug‑in and a heavyweight rendering engine—became liabilities …
Casual players often appreciate how instant withdrawal casinos simplify access to winnings, making the process feel seamless without long waits or extra steps.
Navigating Australia’s online casinos can feel straightforward when the focus is on clear layouts and reliable payment options, making the search for the best online casino Australia offers a smoother experience.