"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; nmimsedsun11@gmail.com, Author at - Page 18 of 133

nmimsedsun11@gmail.com

The great things about dating an asian lesbian cougar

The great things about dating an asian lesbian cougar lesbian cougar dating asian lesbian cougar is a great way to experience new things and meet new individuals. the reason being asian lesbians in many cases are open-minded and revel in exploring brand new things. furthermore, asian lesbians tend to be extremely successful and may give …

The great things about dating an asian lesbian cougar Read More »

How can I get tips on writing Vanderbilt University personal statements from Reddit

Find away why the company skipped institutions. Personally, i will just like to help to make cool matter that works. How also can you try to make your e-book interesting? However, your current facts and / or statistics that you are performing use need to have to be relevant to your current topic near hand. …

How can I get tips on writing Vanderbilt University personal statements from Reddit Read More »

Get started now – find your perfect older catholic match today

Get started now – find your perfect older catholic match today If you are considering an older catholic partner, you are in fortune! there are lots of catholic singles available to you who are trying to find some one just like you. here are some suggestions to help you find your perfect older catholic match. …

Get started now – find your perfect older catholic match today Read More »

Enjoy fun and flirty conversations with married women online

Enjoy fun and flirty conversations with married women online Many married women enjoy emailing other married women on line. this is a terrific way to enjoy and flirty conversations without the force of a relationship. it is also a terrific way to connect to other women and build relationships. there are lots of online chat …

Enjoy fun and flirty conversations with married women online Read More »

What is fwb and why could it be therefore popular?

What is fwb and why could it be therefore popular? When people consider “friends with benefits,” they could think about an informal intimate relationship that does not include any thing more than real attraction.but fwb is significantly more than that.fwb is a term that is short for “friends with advantages,” and it’s really a well …

What is fwb and why could it be therefore popular? Read More »

7 Best matchmaking Apps for relations 2022 – Victoria Milan

Many people make use of dating software & places to fulfill new-people. With online dating apps & web sites, possible fulfill new-people in order to find an innovative new go out, passion for everything or a sex companion. Its all feasible with matchmaking programs & sites. Internet dating apps & sites tend to be for …

7 Best matchmaking Apps for relations 2022 – Victoria Milan Read More »