"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;
Interfața intuitivă a 1win facilitează accesul rapid la funcții esențiale, oferind un parcurs simplu chiar și pentru cei care abia încep să navigheze în lumea pariurilor.
Navigating Spin Casino’s latest interface reveals a mix of intuitive design and unexpected bonus features that invite both newcomers and regulars to engage more seamlessly.
For those who revel in the excitement and unpredictability of high-stakes gaming, Pragmatic Play’s offerings are a treasure trove. One of their standout titles is Starlight Princess , a high volatility slot that promises players an electrifying experience filled with multipliers and cascading wins. This article delves into what makes this game a must-try for …
W świecie gier online, kasyna internetowe przyciągają graczy różnorodnymi bonusami i promocjami. Zrozumienie, jak skutecznie wykorzystać te oferty, może znacząco wpłynąć na doświadczenie gry. W 2026 roku, w obliczu rosnącej konkurencji, gracze muszą wiedzieć, na co zwrócić uwagę, aby jak najlepiej skorzystać z dostępnych bonusów, takich jak te oferowane przez slottica w swoim asortymencie, który …
As we step into 2026, the landscape of online gaming continues to evolve, with fast withdrawal casinos emerging as the preferred choice for players seeking quick payouts and a satisfying gaming experience, particularly when they offer options like casino instant withdrawal that streamline the cash-out process. In this article, we will explore the essential games …
Este artigo oferece uma visão abrangente sobre os jogos de cassino disponíveis no a2bet casino, com foco especial nos interesses dos jogadores brasileiros. Serão explorados os tipos de jogos, suas características, os bônus oferecidos, além de dicas sobre como acessar a plataforma usando o app e realizar o login. Também faremos uma análise sobre a …
In diesem Artikel werden wir die zahlreichen Vorteile beleuchten, die das Welle Casino für Spieler bereithält. Von attraktiven Bonusangeboten bis hin zu einer benutzerfreundlichen Plattform bietet das Welle Casino eine Fülle von Anreizen, die das Spielerlebnis erheblich verbessern. Lassen Sie uns die Gründe erkunden, warum sich eine Anmeldung im Welle Casino für jeden Spieler lohnt. …
В этом статье мы рассмотрим, какие возможности предоставляет Dragon Money казино как для новичков, так и для профессиональных игроков. Мы обсудим регистрацию, выбор игр, бонусы и стратегии, которые помогут вам достичь успеха в азартных играх. Если вы хотите узнать, как максимизировать свои шансы на выигрыш и получить удовольствие от игры, вы попали по адресу. Также …