"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 gioco d’azzardo, da sempre parte integrante dell’intrattenimento, ha assunto negli ultimi anni una sfumatura più oscura: la dipendenza patologica. Le statistiche europee indicano che circa il 2 % della popolazione adulta manifesta comportamenti di gioco problematici, un dato che si riflette anche in Italia, dove le linee di assistenza segnalano un aumento delle richieste di …
NetEnt à l’ère des bonus – Révolution des partenariats dans les casinos en ligne NetEnt s’est imposé dès les débuts du jeu en ligne comme le laboratoire créatif des machines à sous virtuelles : RTP élevés, volatilité maîtrisée et graphismes dignes d’un studio de cinéma ont fait de titres comme Starburst ou Mega Fortune des références …
El Black Friday se ha convertido en una de las jornadas más intensas para el sector del iGaming. Los jugadores, atraídos por bonos de bienvenida de hasta 200 % y promociones de tiradas gratis, acuden en masa a los sitios de casino online España buscando oportunidades de jugar con dinero real. En este escenario, la velocidad …
The Path to Transfer Boat Ownership Smoothly: Tips for Sellers and Buyers Transferring boat ownership can be a daunting process for both sellers and buyers. The excitement of acquiring a new vessel can quickly turn to stress if the necessary steps aren’t followed. Understanding the key components of a smooth transaction is essential. This guide …
When to Use a Room Rental Agreement vs. a Standard Lease in Georgia Understanding rental agreements can be a daunting task, especially in a state like Georgia where the laws can vary significantly based on the type of rental situation. Whether you’re a landlord or a tenant, knowing when to opt for a room rental …
En los últimos diez años el sector del juego digital ha experimentado un crecimiento exponencial: según datos de la industria, el número de jugadores activos en España supera los ocho millones y la facturación supera los mil millones de euros al año. Este auge ha sido impulsado, en gran medida, por la proliferación de bonos …
Il 2026 segna un punto di svolta per l’industria del gioco d’azzardo digitale. Dopo anni di sperimentazione, la realtà virtuale (VR) è passata da nicchia di appassionati a piattaforma mainstream, grazie a visori più leggeri, display ad alta risoluzione e motori grafici capaci di gestire ambienti complessi in tempo reale. Parallelamente, il mercato del gambling …
Die Welt des Online Glücksspiels in Deutschland hat sich in den letzten Jahren erheblich verändert. Seit Inkrafttreten des Glücksspielstaatsvertrags im Juli 2021 ist der regulierte Markt für Online Casinos und Sportwetten in Deutschland offiziell legalisiert worden. Details zu Bonusbedingungen und Spielauswahl gibt es direkt bei Lemon Win Online Casino. Diese Entwicklung hat nicht nur mehr …
The past decade has witnessed a boom in online casino bonuses. From generous welcome packs to daily free‑spin rainstorms, operators use incentives to lure new players and keep veterans engaged. At the same time, regulators, advocacy groups and players themselves have raised alarms about the darker side of bonus‑driven gambling – rapid bankroll inflation, relentless …
Nel 2026 il panorama dei casinò online è diventato un ecosistema complesso, dove la tecnologia mobile, i pagamenti istantanei e la crescente attenzione alla responsabilità sociale si intrecciano. I player cercano esperienze fluide su smartphone, ma anche garanzie di sicurezza e di correttezza. In questo contesto, i casinò senza AAMS hanno guadagnato quote di mercato …