"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 digitale Revolution verändert auch das Glücksspielwesen nachhaltig. Kryptowährungen wie Bitcoin, Ethereum und Litecoin erobern zunehmend die Welt der Online Casinos. Dieser Trend ermöglicht den Spielern anonymere und sicherere Transaktionen, schnellere Ein- und Auszahlungen sowie neuartige Gaming-Erlebnisse. Die Integration von Blockchain-Technologie in das Online Casino-Geschäft bietet mehr Transparenz und Fairness, was für die Spieler ein …
Nel panorama dell’iGaming, l’adozione di criptovalute come Bitcoin, Ethereum e le più recenti stablecoin sta trasformando radicalmente il modo in cui i giocatori effettuano i pagamenti. Oltre ai vantaggi tecnici – velocità, costi ridotti e anonimato – emergono questioni etiche che richiedono un’attenta riflessione da parte di operatori, regulator e utenti. Le piattaforme di gioco …
Navigating online gambling options today often starts with a key choice: where you gamble and how much you risk. For players seeking a low-stakes entry, the option of a not on gamstop £10 deposit can seem appealing. This phrase describes sites that operate outside the UK self-exclusion framework and accept a modest first stake, typically …
Nel mondo del gioco online, la promessa di un premio da sei cifre ha un potere quasi magnetico. Non è solo la cifra a catturare l’attenzione, ma l’intera esperienza che si costruisce attorno al jackpot: luci, suoni, narrazioni e la sensazione di far parte di un’élite riservata a pochi fortunati. Quando un giocatore sente parlare …
The moment the reels slammed shut, the screen flooded with neon fireworks, and a modest‑looking man in a gray hoodie stared at a flashing “5 000 000 €” display, the world seemed to pause. In that instant, a routine spin on a progressive slot became a life‑changing event, and the sound of a digital jackpot echoed far beyond …
The turn of the calendar always brings a fresh wave of marketing slogans, and 2024 is no exception. Across banners, push‑notifications and livestreams, iGaming operators are shouting about “green” platforms, carbon‑neutral reels and eco‑friendly bonuses. The promise is seductive: players can spin the same classic slots while “saving the planet,” all without sacrificing the thrill …
Nel panorama italiano le scommesse sportive hanno da sempre rappresentato un crocevia tra passione popolare e innovazione commerciale. Dalle sfilate di tifosi nei bar di quartiere, dove la previsione di un risultato era accompagnata da birre e chiacchiere, fino alle piattaforme digitali che permettono di puntare in tempo reale mentre la partita è ancora in …
Nel giro di pochi mesi il 2024 ha già mostrato segni di un rinnovato entusiasmo per il gioco dal vivo. I giocatori, stanchi dei tradizionali slot statiche, cercano un’esperienza più vicina al casinò fisico, con dealer in tempo reale, interazioni sociali e la possibilità di osservare ogni carta girare sullo schermo. Questa tendenza è alimentata …
Die Welt der Online-Casinos bietet eine faszinierende Vielfalt an Glücksspielen, wobei Spielautomaten und Slots besonders beliebt sind. Diese digitalen Automaten kombinieren unterhaltsame Gameplay-Elemente mit der Chance auf attraktive Gewinne. Die Funktionsweise moderner Online-Slots basiert auf Zufallsgeneratoren, die für faire und transparente Ergebnisse sorgen. Viele Spieler suchen nach den besten Plattformen für ihr Glücksspiel-Erlebnis, wobei die …