"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; Page 88

Take the next step: get started with single ladies in colorado springs

Take the next step: get started with single ladies in colorado springs single ladies over 40 springs are searching for someone special. they need an individual who is type, caring, and understanding. they want an individual who is ready to head out and have a good time. they desire an individual who is ready to …

Take the next step: get started with single ladies in colorado springs Read More »

11 Successful areas to fulfill solitary BBW in 2023 (our very own Favorites)

Curvy women can be a sight for sore vision. Nevertheless they’re more than just fun to look at––big and delightful females (BBW) tend to be pleasant, smart and quite often humorous. They truly are a pleasure as of yet, great during sex and come up with excellent long-term lovers. When you have something for plus-size …

11 Successful areas to fulfill solitary BBW in 2023 (our very own Favorites) Read More »

Find exciting and discreet adult encounters in brisbane

Find exciting and discreet adult encounters in brisbane Adult contacts in brisbane can be a great way to find excitement and discreet encounters. with so many different places to explore, there is certain to be something for all. whether you are searching for a casual encounter or something more severe, there’s a spot available in …

Find exciting and discreet adult encounters in brisbane Read More »

What are a glucose Momma: 9 finest relationship Websites – Victoria Milan

If you are a young person, maybe you are finding different tastes to enjoy life. Like hanging out with additional adult individuals or getting a quicker stream cash. To get out of the scenario, meeting a mature momma can be the remedy. And you may both enjoy life and spend unique times along with your …

What are a glucose Momma: 9 finest relationship Websites – Victoria Milan Read More »

Husband Not Affectionate (14 Tips To Restore Hugs) – The Woman Norm

I believe that each connection is certainly going through a routine at some point. A couple simply get bored stiff occasionally. Anxiety starts to generate their means to the connection. Slowly, the actual affection starts to generate their in the past in to the commitment. With both some time and work, connections can make it …

Husband Not Affectionate (14 Tips To Restore Hugs) – The Woman Norm Read More »