"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 2026 rappresenta un punto di svolta per l’industria iGaming. Dopo un decennio di crescita accelerata, di innovazioni tecnologiche e di mutamenti normativi, gli operatori si trovano di fronte a una panoramica più chiara dei trend che hanno plasmato il mercato. È l’anno in cui i dati, più che le intuizioni, diventano la bussola per …
Im deutschen Online-Glücksspielmarkt haben sich monatliche Ein- und Auszahlungslimits als wichtiges Instrument des Spielerschutzes etabliert. Diese Limits sollen Spielern helfen, ihre Spieltätigkeit im Überblick zu behalten und potenzielles übermäßiges Spielverhalten frühzeitig zu erkennen. Während die genauen Grenzen je nach Anbieter variieren, spiegeln sie zunehmend den verantwortungsvollen Umgang mit Glücksspiel wider. Für Spieler, die ihre Finanzen …
Negli ultimi cinque anni il panorama dei giochi d’azzardo online ha assistito a una vera e propria esplosione dei jackpot progressivi. Titoli come Mega Moolah, Mega Fortune e le versioni live dei giochi da tavolo offrono premi che superano il milione di euro, trasformando una semplice puntata in una possibilità di cambiamento radicale della vita. …
Guide complet du casino en ligne – Tout ce que vous devez savoir Introduction Le phénomène des jeux de hasard sur Internet ne montre aucun signe de ralentissement. En France comme à l’étranger, les joueurs affluent chaque jour vers des plateformes qui promettent des graphismes immersifs, des bonus généreux et la possibilité de jouer depuis …
Guide complet du casino en ligne – tout ce que vous devez savoir L’engouement pour les jeux de hasard sur Internet ne montre aucun signe d’essoufflement : chaque année, des millions de Français s’inscrivent sur des plateformes dédiées aux machines à sous, aux tables classiques ou aux tables avec croupier réel diffusées en direct. Cette popularité …
Progressive jackpot slots have become the siren song of the online casino world. Every spin carries the whisper of a life‑changing payout, and that promise fuels a relentless surge of players chasing the next big win. The allure is simple: a modest wager can, in theory, unlock a multi‑million‑dollar prize that dwarfs the usual payouts …
The online gambling world has become a marathon of “keep‑playing‑for‑free” offers. While the first‑time visitor is often dazzled by a massive welcome package, today’s operators know that the real revenue driver is a steady stream of smaller, recurring incentives that keep players at the tables or slots week after week. This shift has given rise …
Guide complet du casino en ligne : tout ce que vous devez savoir Le marché du casino en ligne connaît une croissance exponentielle depuis plusieurs années, et la France ne fait pas exception. En 2026, des millions de joueurs recherchent chaque jour le meilleur équilibre entre divertissement, sécurité et rentabilité. Cette dynamique crée une véritable …
The thrill of landing a massive welcome bonus or a free‑spin avalanche can turn an ordinary night on the couch into a high‑stakes adventure. Yet beneath the glittering offer banners lies a subtle danger: the urge to chase every promotion can quickly spiral into unchecked spending. Modern iGaming platforms recognize this risk and embed player‑protection …