"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;
Gambling Commission website Blending simple paylines with sticky wilds, it is perfect for nostalgic players who want a straightforward experience that still offers modern excitement. Based in Sweden, the studio focuses on producing original games that stand out from conventional slots. Hacksaw delivers memorable experiences for players who enjoy edgy, high impact gameplay. Hacksaw games …
Non-GamStop Casinos 2026: Full Guide & Top Picks Choosing the right casino means finding a platform that suits your gaming style and rewards you for your loyalty. Platforms like InstaSpin and WSM Casino are perfect for users who value frequent rewards and cashback options, offering non GamStop alternatives where perks are high and restrictions low. …
partycasino These games are usually played at low stakes and require little to no time to learn. The extra-ordinary sound effects, visuals, and winning chances truly make Lightning Games the best games to play. In these games, Evolution Gaming blends RNG technology with natural gameplay to provide wins worth far more than the standard variant …
Online Casinos UK ️ Best UK Casino Sites 2026 There you can also find the best casinos to play those games in. Since casinos have thousands of games sometimes, it is very important that it is easy to navigate and find the game and type of game you love best. Best online casinos will offer …
Best Bitcoin Casinos 2026 Top Crypto Casinos Reviewed This means, every bit of rakeback you get on your losses on all slots, will be boosted by 20%. There’s no doubt about, BetAndYou is a platform you absolutely shouldn’t sleep on. JB.com certainly bundles together value, so we’d recommend signing up and enjoying everything they have …
Minimum Deposit Casinos Low Minimum Deposit Casino Sites You can claim 10 wager-free spins at Mr Q with no deposit when you verify your mobile number on their mobile version. Sky Vegas is offering you 50 Free Spins simply for downloading the Sky Vegas App and registering your details and a valid payments card. Here, …
What type of slot machines exist? Complete guide Oddschecker Oddschecker That means if you’re playing a progressive jackpot game at one casino, your chance of snagging that same massive prize is just as good as if you’re playing at another casino! For those looking to take their gaming experience to a whole new level, multiplier …
Play Free Slots Games Online These online casinos USA real money can give you endless options for online gaming and enjoying huge jackpots from the comfort of your home. New online casinos live can give gamers the opportunity to enjoy just about any imaginable form of gambling. The first step to gambling online at the …
Play your Favourite Online Slot Games Spin and Win Casino Volatility describes the frequency of wins and their size. For example, a 96% RTP means the game should theoretically return 96 credits for every 100 credits wagered. If you’re unsure, check the in-game information for full details. Each spin is generated independently and at random, …
Best Anonymous Casinos in 2024 A smaller withdrawal can still trigger a check if another part of the transaction or account activity is flagged. You can also reduce unnecessary tracking by keeping casino activity separate from your normal browsing profile and avoiding public Wi-Fi networks. Your IP address, device information, browser data, payment records, and …