"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;
Il periodo natalizio è da sempre un’occasione d’oro per i casinò online. Le luci, le musiche festive e le offerte a tema attirano nuovi giocatori e spingono gli iscritti a tornare per approfittare di promozioni “regalo” come i free spin. In queste settimane, le piattaforme aumentano le campagne di marketing, spesso legate a slot a …
Nel 2026 i giri gratuiti rappresentano il fulcro delle offerte promozionali dei casinò online. Con l’aumento della concorrenza tra piattaforme internazionali, gli operatori hanno trasformato i free spin in un vero e proprio strumento di fidelizzazione, capace di attirare sia i neofiti sia i giocatori più esperti. Tuttavia, la quantità di promozioni giornaliere può creare …
El bonus hunting ha pasado de ser una práctica marginal a convertirse en un tema de debate constante dentro de la industria del juego online. Los jugadores que buscan maximizar el valor de los bonos de bienvenida, recarga o promociones especiales a menudo son catalogados como “cazadores de bonos”, una etiqueta que lleva consigo tanto …
As the online gambling landscape continues to evolve, 2026 brings exciting innovations in the world of online pokies in Australia. Players can now access a wide variety of engaging games, lucrative bonuses, and top-notch security features from the comfort of their homes. Many players enjoy exploring online pokies that offer unique themes and entertaining mechanics, …
The world of online casinos in Australia is evolving rapidly, and 2026 promises to be an exciting year for players. With a diverse range of gaming options, especially in the realm of pokies, players will have plenty to explore, including australian online casino choices that enhance the overall experience. New technologies and games are emerging, …
Im Jahr 2026 wird die Online-Casino-Landschaft weiterhin von aufregenden Innovationen und verbesserten Sicherheitsmaßnahmen geprägt sein. Echtgeldspiel im Internet bietet den Spielern nicht nur die Möglichkeit, ihre Lieblingsspiele zu genießen, sondern auch von attraktiven Boni und das beste online casino einer Vielzahl an Zahlungsmethoden zu profitieren. In diesem Artikel werden die wichtigsten Merkmale von Online-Casinos erörtert, …
Proces aktywacji vavada bonus cechuje się przejrzystością i minimalną ilością formalności, co ułatwia szybkie korzystanie z dostępnych ofert bez zbędnych utrudnień.
Il 2026 segna un punto di svolta per l’industria del gioco online: la più grande varietà di slot mai vista è il risultato di una strategia di gestione del rischio più sofisticata e condivisa tra operatori, fornitori e regolatori. Le piattaforme hanno imparato a bilanciare la volatilità dei giochi, la protezione dei dati e la …