????

Your IP : 3.135.192.255


Current Path : /home/multihiv/www/store/wp-content/plugins/woocommerce/assets/client/admin/chunks/
Upload File :
Current File : /home/multihiv/www/store/wp-content/plugins/woocommerce/assets/client/admin/chunks/core-profiler.js

"use strict";(globalThis.webpackChunk_wcAdmin_webpackJsonp=globalThis.webpackChunk_wcAdmin_webpackJsonp||[]).push([[1828],{58176:(e,o,t)=>{t.d(o,{Z:()=>s});var i=t(70444),n=t(81514);const s=(0,n.jsx)(i.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)(i.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})})},74753:(e,o,t)=>{t.d(o,{Z:()=>n});var i=t(81514);const n=()=>(0,i.jsxs)("svg",{width:"91",height:"24",viewBox:"0 0 91 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"wc-icon wc-icon__woo-logo new-branding",children:[(0,i.jsx)("path",{d:"M79.0537 0C72.2755 0 67.0874 5.10851 67.0874 12C67.0874 18.8915 72.2755 24 79.0537 24C85.832 24 91.0002 18.8915 91.0002 12C91.0002 5.10851 85.7923 0 79.0537 0ZM79.0537 16.6277C76.5094 16.6277 74.7602 14.6644 74.7602 12C74.7602 9.33555 76.4895 7.37228 79.0537 7.37228C81.6179 7.37228 83.3473 9.33555 83.3473 12C83.3473 14.6644 81.5981 16.6277 79.0537 16.6277Z",fill:"#873DFF"}),(0,i.jsx)("path",{d:"M53.7285 0C46.9503 0 41.7622 5.10851 41.7622 12C41.7622 18.8915 46.9701 24 53.7285 24C60.4869 24 65.675 18.8915 65.675 12C65.675 5.10851 60.4671 0 53.7285 0ZM53.7285 16.6277C51.1842 16.6277 49.435 14.6644 49.435 12C49.435 9.33555 51.1643 7.37228 53.7285 7.37228C56.2928 7.37228 58.0221 9.33555 58.0221 12C58.0221 14.6644 56.2928 16.6277 53.7285 16.6277Z",fill:"#873DFF"}),(0,i.jsx)("path",{d:"M11.688 24C14.3715 24 16.5183 22.6577 18.1483 19.5726L21.7461 12.7813V18.5509C21.7461 21.9365 23.9327 24 27.3317 24C29.9556 24 31.8837 22.798 33.792 19.5726L42.1207 5.44908C43.9494 2.36394 42.6574 0 38.6421 0C36.4953 0 35.1039 0.721201 33.8516 3.08514L28.107 13.9232V4.28714C28.107 1.40234 26.7553 0 24.2308 0C22.2629 0 20.6926 0.861435 19.4602 3.26544L14.0535 13.9032V4.38731C14.0535 1.30217 12.8012 0 9.74004 0H3.53822C1.19266 0 0 1.10184 0 3.14524C0 5.18864 1.23241 6.33054 3.53822 6.33054H6.08255V18.5309C6.10243 21.9365 8.3486 24 11.688 24Z",fill:"#873DFF"})]})},14311:(e,o,t)=>{t.r(o),t.d(o,{CoreProfilerController:()=>Mo,coreProfilerStateMachineDefinition:()=>go,default:()=>po,getJetpackIsConnected:()=>ao,preFetchActions:()=>lo});var i=t(43073),n=t(32302),s=t(45931),r=t(60369),a=t(27363),l=t(69307),c=t(9818),u=t(10431),g=t(67221),M=t(73516),p=t(74617),N=t(17844),d=t.n(N),m=t(14599),I=t(8016),j=t(45333),y=t(65736),L=t(55609),T=t(28302),D=t(86020),w=t(80225),_=t(81514);const S=({className:e,title:o,subTitle:t})=>(0,_.jsxs)("div",{className:(0,w.Z)("woocommerce-profiler-heading",e),children:[(0,_.jsx)("h1",{className:"woocommerce-profiler-heading__title",children:o}),t&&(0,_.jsx)("h2",{className:"woocommerce-profiler-heading__subtitle",children:t})]});var x=t(74753);const A=({className:e="",percent:o=0,color:t="#674399",bgcolor:i="var(--wp-admin-theme-color)"})=>{const n={backgroundColor:i},s={backgroundColor:t,width:`${o}%`,display:0===o?"none":"inherit"};return(0,_.jsx)("div",{className:`woocommerce-profiler-progress-bar ${e}`,children:(0,_.jsx)("div",{className:"woocommerce-profiler-progress-bar__container",style:n,children:(0,_.jsx)("div",{className:"woocommerce-profiler-progress-bar__filler",style:s})})})},O=({percentage:e=0,onSkip:o,skipText:t=(0,y.__)("Skip this step","woocommerce"),showProgress:i=!0,showLogo:n=!0,classNames:s={},progressBarColor:r="var(--wp-admin-theme-color)"})=>(0,_.jsxs)("div",{className:(0,w.Z)("woocommerce-profiler-navigation-container",s),children:[i&&(0,_.jsx)(A,{className:"progress-bar",percent:e,color:r,bgcolor:"transparent"}),(0,_.jsxs)("div",{className:"woocommerce-profiler-navigation",children:[(0,_.jsx)("div",{className:"woocommerce-profiler-navigation-col-left",children:n&&(0,_.jsx)("span",{className:"woologo",children:(0,_.jsx)(x.Z,{})})}),(0,_.jsx)("div",{className:"woocommerce-profiler-navigation-col-right",children:"function"==typeof o&&(0,_.jsx)(L.Button,{onClick:o,className:(0,w.Z)("woocommerce-profiler-navigation-skip-link",s.mobile?"mobile":""),isLink:!0,children:t})})]})]});var E=t(59550),C=t(58176);const h=({className:e,selected:o,title:t,name:i,value:n,onChange:s,subOptionsComponent:r=null})=>{const a=()=>{s(n)},l="woocommerce-"+n.replace(/_/g,"-");return(0,_.jsxs)("div",{role:"radio",className:(0,w.Z)("woocommerce-profiler-choice-container",e),onClick:a,onKeyDown:e=>{"Enter"===e.key&&a()},"data-selected":o||null,tabIndex:0,children:[(0,_.jsxs)("div",{className:"woocommerce-profiler-choice",children:[(0,_.jsx)("input",{className:"woocommerce-profiler-choice-input",id:l,name:i,type:"radio",value:n,checked:!!o,onChange:a,"data-selected":o||null,tabIndex:-1}),(0,_.jsx)("label",{htmlFor:l,className:"choice__title",children:t})]}),o&&r&&(0,_.jsx)("div",{className:"woocommerce-profiler-choice-sub-options",children:r})]})},z=({selectedOptions:e,onOpenClose:o})=>({items:t,highlightedIndex:i,isOpen:n,getItemProps:s,getMenuProps:r})=>((0,l.useEffect)((()=>{o(n)}),[n]),(0,_.jsx)(D.__experimentalSelectControlMenu,{isOpen:n,getMenuProps:r,scrollIntoViewOnOpen:!0,children:t.map(((o,t)=>{const n=e.includes(o);return(0,_.jsx)(D.__experimentalSelectControlMenuItem,{index:t,item:o,getItemProps:s,isActive:i===t,activeStyle:{backgroundColor:"#f6f7f7"},children:(0,_.jsx)(L.CheckboxControl,{className:(0,w.Z)("core-profiler__checkbox",{"is-selected":n}),onChange:()=>{},checked:n,label:o.label})},`${o.value}`)}))})),k=({options:e,onSelect:o,selectedOptions:t=[],placeholder:i=(0,y.__)("Select platforms","woocommerce"),onOpenClose:n=(()=>{})})=>(0,_.jsx)(D.__experimentalSelectControl,{className:"woocommerce-profiler-platform-selector",label:"",multiple:!0,__experimentalOpenMenuOnFocus:!0,readOnlyWhenClosed:!1,items:e,getFilteredItems:e=>e,selected:t,inputProps:{"aria-readonly":!0,"aria-label":(0,y.__)("Use up and down arrow keys to navigate","woocommerce")},onKeyDown:e=>{if(e.key.length<=1)return e.preventDefault(),!1},placeholder:t.length?"":i,stateReducer:(e,o)=>{const{changes:t,type:i}=o;switch(i){case D.selectControlStateChangeTypes.ControlledPropUpdatedSelectedItem:return{...t,inputValue:e.inputValue};case D.selectControlStateChangeTypes.ItemClick:return{...t,isOpen:!0,inputValue:e.inputValue,highlightedIndex:e.highlightedIndex};case D.selectControlStateChangeTypes.InputBlur:return e.isOpen&&o.selectItem?{...t,isOpen:!0}:t;default:return t}},onSelect:e=>{if(!e)return;const i=t.find((o=>o.value===e.value))?t.filter((o=>o.value!==e.value)):[...t,e];o(i)},onRemove:e=>o(t.filter((o=>o!==e))),children:z({selectedOptions:t,onOpenClose:n})}),f=[{title:(0,y.__)("I’m just starting my business","woocommerce"),value:"im_just_starting_my_business"},{title:(0,y.__)("I’m already selling","woocommerce"),value:"im_already_selling"},{title:(0,y.__)("I’m setting up a store for a client","woocommerce"),value:"im_setting_up_a_store_for_a_client"}],b=[{label:(0,y.__)("Yes, I’m selling online","woocommerce"),value:"yes_im_selling_online",key:"yes_im_selling_online"},{label:(0,y.__)("No, I’m selling offline","woocommerce"),value:"no_im_selling_offline",key:"no_im_selling_offline"},{label:(0,y.__)("I’m selling both online and offline","woocommerce"),value:"im_selling_both_online_and_offline",key:"im_selling_both_online_and_offline"}],P=[{label:(0,y.__)("Amazon","woocommerce"),value:"amazon"},{label:(0,y.__)("Adobe Commerce","woocommerce"),value:"adobe_commerce"},{label:(0,y.__)("Big Cartel","woocommerce"),value:"big_cartel"},{label:(0,y.__)("Big Commerce","woocommerce"),value:"big_commerce"},{label:(0,y.__)("Ebay","woocommerce"),value:"ebay"},{label:(0,y.__)("Ecwid","woocommerce"),value:"ecwid"},{label:(0,y.__)("Etsy","woocommerce"),value:"etsy"},{label:(0,y.__)("Facebook Marketplace","woocommerce"),value:"facebook_marketplace"},{label:(0,y.__)("Google Shopping","woocommerce"),value:"google_shopping"},{label:(0,y.__)("Pinterest","woocommerce"),value:"pinterest"},{label:(0,y.__)("Shopify","woocommerce"),value:"shopify"},{label:(0,y.__)("Square","woocommerce"),value:"square"},{label:(0,y.__)("Squarespace","woocommerce"),value:"squarespace"},{label:(0,y.__)("Wix","woocommerce"),value:"wix"},{label:(0,y.__)("WordPress","woocommerce"),value:"wordpress"}];var v=t(99196),U=t.n(v),Q=t(70444);const Y=(0,v.createElement)(Q.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,v.createElement)(Q.Path,{d:"M12 3.2c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8 0-4.8-4-8.8-8.8-8.8zm0 16c-4 0-7.2-3.3-7.2-7.2C4.8 8 8 4.8 12 4.8s7.2 3.3 7.2 7.2c0 4-3.2 7.2-7.2 7.2zM11 17h2v-6h-2v6zm0-8h2V7h-2v2z"})),G=(0,v.createElement)(Q.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,v.createElement)(Q.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})),Z=(0,l.forwardRef)((function({icon:e,size:o=24,...t},i){return(0,l.cloneElement)(e,{width:o,height:o,...t,ref:i})}));var R=t(17855),B=t.n(R),W=t(72471);const J=({isError:e=!1,isWarning:o,isHidden:t,isMuted:i,className:n,ariaLabel:s="",text:r,icon:a,id:l,children:c})=>{const u=B()(n,{"form-input-validation":!0,"is-warning":o,"is-error":e,"is-hidden":t,"is-muted":i}),g=e||o?Y:G;return(0,_.jsx)("div",{"aria-label":s,className:u,role:"alert",children:(0,_.jsxs)("span",{id:l,children:[a?(0,_.jsx)(W.Z,{size:20,icon:a}):(0,_.jsx)(Z,{size:20,icon:g}),r,c]})})};var F=t(76025),V=t(22629),H=t(76688);const X=[void 0,"woocommerce","Site Title",""],q=[{label:(0,y.__)("Clothing and accessories","woocommerce"),key:"clothing_and_accessories"},{label:(0,y.__)("Food and drink","woocommerce"),key:"food_and_drink"},{label:(0,y.__)("Electronics and computers","woocommerce"),key:"electronics_and_computers"},{label:(0,y.__)("Health and beauty","woocommerce"),key:"health_and_beauty"},{label:(0,y.__)("Education and learning","woocommerce"),key:"education_and_learning"},{label:(0,y.__)("Home, furniture and garden","woocommerce"),key:"home_furniture_and_garden"},{label:(0,y.__)("Arts and crafts","woocommerce"),key:"arts_and_crafts"},{label:(0,y.__)("Sports and recreation","woocommerce"),key:"sports_and_recreation"},{label:(0,y.__)("Other","woocommerce"),key:"other"}],K={im_just_starting_my_business:(0,y.__)("What type of products or services do you plan to sell?","woocommerce"),im_already_selling:(0,y.__)("Which industry is your business in?","woocommerce"),im_setting_up_a_store_for_a_client:(0,y.__)("Which industry is your client’s business in?","woocommerce")},$=t.p+"bfec8d1574ef61285fc9.svg",ee={title:(0,y.__)("Turning on the lights","woocommerce"),image:(0,_.jsx)("img",{src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMTYiIGhlaWdodD0iMTQwIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGZpbGw9IiNGRkYiIGZpbGwtcnVsZT0ibm9uemVybyIgZD0iTTAgMGgyM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A0Ljc1IDEyLjAwOCAxMi4yNjMgMTIuMDA4czEyLjI2My02LjQyNiAxMi4yNjMtMTIuMDA4di0xLjk5NWg0LjUydi0zLjVoLTQuNTJ2LTEuNjFoNC41MTdaIi8+PC9nPjwvc3ZnPg==",alt:"loader-lightbulb"}),paragraphs:[{label:(0,y.__)("#FunWooFact: ","woocommerce"),text:(0,y.__)("The Woo team is made up of over 350 talented individuals, distributed across 30+ countries.","woocommerce")}]},oe={title:(0,y.__)("Extending your store’s capabilities","woocommerce"),image:(0,_.jsx)("img",{src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMTYiIGhlaWdodD0iMTQwIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGZpbGw9IiNGRkYiIGZpbGwtcnVsZT0ibm9uemVybyIgZD0iTTAgMGgyMTZ2MTQwSDB6Ii8+PHBhdGggZmlsbD0iI0ZGRiIgZmlsbC1ydWxlPSJub256ZXJvIiBkPSJNMjE1Ljk2OCAxMzUuNDgxaC00LjJ2NC4yMDFoNC4yeiIvPjxwYXRoIGZpbGw9IiNCRUEwRjIiIGZpbGwtcnVsZT0ibm9uemVybyIgZD0iTTIwMS4yOTYgMTQuNzAzVjQ5LjcxaDMuNTAxVjE0LjcwM3pNMjA4LjI5OSA0LjJ2NDUuNTFoMy41VjQuMnpNMTk0LjI5NSAyNC44NTVWNDkuNzFoMy41VjI0Ljg1NXpNODguNDU2IDEzMi40OTZsOC40NjQtMjMuMjdoMjEuODFsOC40NjQgMjMuMjdoMTYuMzR2My4zMzVINzIuMTE2di0zLjMzNXpNOTIuMzIgMzkuMjU1SDMyLjgwNnY1OS41MTRIOTIuMzJ6Ii8+PHBhdGggZmlsbD0iIzI3MUIzRCIgZmlsbC1ydWxlPSJub256ZXJvIiBkPSJtNDcuNjk1IDY5Ljg4LTcuMDU0IDIuNTQ4Yy0yLj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3IDAgMCAxIDcuNTcgNC4yMDFhMy4zNyAzLjM3IDAgMCAxIDMuMzY4IDMuMzY4djkwLjA5YzAgMS44MzEtMS41MjcgMy4zMDgtMy4zNjggMy4zMDhaIi8+PHBhdGggZmlsbD0iIzI3MUIzRCIgZmlsbC1ydWxlPSJub256ZXJvIiBkPSJNMTAuOTM3IDM0LjEzM3YtMy40MUw0LjIgMjYuMDgxdjMuNDF6TTEwLjkzNyA0MC43NTJ2LTMuNDFMNC4yIDMyLjd2My40MXpNMTAuOTM3IDQ3LjM3di0zLjQwN0w0LjIgMzkuMzIxdjMuNDF6TTEwLjkzNyA1My45ODl2LTMuNDA2TDQuMiA0NS45NHYzLjQxek0xMC45MzcgNjAuNjF2LTMuNDA2TDQuMiA1Mi41NjJ2My40MXpNMTAuOTM3IDY3LjIyOXYtMy40MDZMNC4yIDU5LjE4djMuNDA2ek0xMC45MzcgNzMuODV2LTMuNDFMNC4yIDY1LjgwMnYzLjQwNnpNMTAuOTM3IDgwLjQ3di0zLjQxTDQuMiA3Mi40MnYzLjQwN3pNMTAuOTM3IDg3LjA5di0zLjQxTDQuMiA3OS4wNDJ2My40MDZ6TTEwLjkzNyA5My43MXYtMy40MDlMNC4yIDg1LjY1OXYzLjQxek00LjIwMSA5Mi4yNzh2My40MWw1Ljk0NSA0LjA5NmEzLjI0MSAzLjI0MSAwIDAgMCAuNzktMi4xMjV2LS43MzlsLTYuNzM1LTQuNjQyWiIvPjwvZz48L3N2Zz4=",alt:"loader-lightbulb"}),paragraphs:[{label:(0,y.__)("#FunWooFact: ","woocommerce"),text:(0,y.__)("Did you know that Woo powers almost 4 million stores worldwide? You’re in good company.","woocommerce")}]},te={title:(0,y.__)("Woo! Let’s get your features ready","woocommerce"),image:(0,_.jsx)("img",{src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMTYiIGhlaWdodD0iMTQwIj48ZyBmaWxsPSJub25lI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NSAxNTMuMzkxIDc2LjgiLz48cGF0aCBmaWxsPSIjMjcxQjNEIiBkPSJNMTI0LjE5MSA5Mi4wOTdjMi4wOTQtMS4yNzkgNC41ODMtMy40NCA0LjU4My03LjAwNiAwLTQuNzE4LTMuNi03LjY2NC03Ljc5LTcuNjY0LTQuMTkgMC03Ljc5IDIuOTQ2LTcuNzkgNy42NjQgMCAzLjU3IDIuNDkgNS43MyA0LjU4MyA3LjAwNmwtNS42MjggMTMuMDJoMTcuNjc1bC01LjYyOS0xMy4wMmgtLjAwNFoiLz48L2c+PC9zdmc+",alt:"loader-developng"}),paragraphs:[{label:(0,y.__)("#FunWooFact: ","woocommerce"),text:(0,y.__)("Did you know that Woo was founded by two South Africans and a Norwegian? Here are three alternative ways to say “store” in those countries – Winkel, ivenkile, and butikk.","woocommerce")}]},ie={title:(0,y.__)("Opening the doors","woocommerce"),image:(0,_.jsx)("img",{src:$,alt:"loader-opening-the-doors"}),paragraphs:[{label:(0,y.__)("#FunWooFact: ","woocommerce"),text:(0,y.__)("Our favorite color is purple ","woocommerce"),element:(0,_.jsx)("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE1Ljk0ODkgNS4yNTg4MkMxNS45NDg5IDIuODM2NiAxMy45ODUzIDAuODczMDQ3IDExLjU2MzYgMC44NzMwNDdDMTAuMDkzMyAwLjg3MzA0NyA4Ljc5NjAxIDEuNTk4ODIgOC4wMDAwMSAyLjcwODE2QzcuMjA0MDEgMS41OTg4MiA1LjkwNjY3IDAuODczMDQ3IDQuNDM2ODkgMC44NzMwNDdDMi4wMTQ2NyAwLjg3MzA0NyAwLjA1MTExNjkgMi44MzYxNiAwLjA1MTExNjkgNS4yNTg4MkMwLjA1MTExNjkgNS42MDE5NCAwLjA5NDY3MjUgNS45MzQzOCAwLjE2OTMzOSA2LjI1NDgyQzAuNzc4MjI4IDEwLjAzODQgNC45ODQ4OSAxNC4wMjk5IDguMDAwMDEgMTUuMTI1OUMxMS4wMTQ3IDE0LjAyOTkgMTUuMjIxOCAxMC4wMzg0IDE1LjgyOTggNi4yNTUyN0MxNS45MDUzIDUuOTM0ODIgMTUuOTQ4OSA1LjYwMjM4IDE1Ljk0ODkgNS4yNTg4MloiIGZpbGw9IiNBQThFRDYiLz4KPC9zdmc+Cg==",alt:"loader-hearticon",className:"loader-hearticon"})}]},ne=({context:e})=>{var o,t,i;const n=(e=>{switch(e){case"plugins":return[te,oe,ee];case"skippedGuidedSetup":return[ee,ie];default:return[ee]}})(null!==(o=e.loader.useStages)&&void 0!==o?o:"default")[null!==(t=e.loader.stageIndex)&&void 0!==t?t:0];return(0,_.jsx)(F.Loader,{className:e.loader.className,children:(0,_.jsxs)(F.Loader.Layout,{children:[(0,_.jsx)(F.Loader.Illustration,{children:n.image}),(0,_.jsx)(F.Loader.Title,{children:n.title}),(0,_.jsx)(F.Loader.ProgressBar,{progress:null!==(i=e.loader?.progress)&&void 0!==i?i:0}),(0,_.jsx)(F.Loader.Sequence,{interval:3e3,children:n.paragraphs.map(((e,o)=>(0,_.jsxs)(F.Loader.Subtext,{children:[(0,_.jsx)("b",{children:e?.label}),e?.text,e?.element]},o)))})]})})};var se=t(9845);const re=({plugin:{is_activated:e=!1,image_url:o,key:t,label:i,description:n,learn_more_link:s},onChange:r=(()=>{}),disabled:a=!1,checked:l=!1,children:c})=>{let u=null;const g=t.replace(":alt","");return U().Children.forEach(c,(e=>{U().isValidElement(e)&&e.type===re.LearnMoreLink&&(u=U().cloneElement(e,{learnMoreLink:s}))})),(0,_.jsx)("div",{className:(0,w.Z)("woocommerce-profiler-plugins-plugin-card",{"is-installed":e,disabled:a}),"data-slug":g,children:(0,_.jsxs)("label",{htmlFor:`${t}-checkbox`,children:[(0,_.jsxs)("div",{className:"woocommerce-profiler-plugin-card-top",children:[!e&&(0,_.jsx)(L.CheckboxControl,{id:`${t}-checkbox`,className:"core-profiler__checkbox",disabled:a,checked:l,onChange:e=>{a||r(e)}}),o?(0,_.jsx)("img",{src:o,alt:t}):null,(0,_.jsxs)("div",{className:(0,w.Z)("woocommerce-profiler-plugins-plugin-card-text-header",{installed:e}),children:[(0,_.jsx)("h3",{children:i}),e&&(0,_.jsx)("span",{children:(0,y.__)("Installed","woocommerce")})]})]}),(0,_.jsxs)("div",{className:(0,w.Z)("woocommerce-profiler-plugins-plugin-card-text",{"smaller-margin-left":e}),children:[(0,_.jsx)("p",{dangerouslySetInnerHTML:(0,se.ZP)(n)}),u]})]})})};re.LearnMoreLink=({learnMoreLink:e,onClick:o})=>(0,_.jsx)(D.Link,{onClick:e=>{"function"==typeof o&&o(e)},href:null!=e?e:"",target:"_blank",type:"external",children:(0,y.__)("Learn More","woocommerce")});var ae=t(91978);const le=({pluginsInstallationPermissionsFailure:e,pluginsInstallationErrors:o,onClick:t})=>{let i;switch(!0){case e:case o?.some((e=>403===e.errorDetails?.data?.data?.status)):i=(0,y.__)("You do not have permissions to install plugins. Please contact your site administrator.","woocommerce");break;default:i=(0,y.__)("Oops! We encountered a problem while installing %s. {{link}}Please try again{{/link}}.","woocommerce")}return(0,_.jsx)("p",{className:"plugin-error",children:(0,T.Z)({mixedString:(0,y.sprintf)(i,ge((o||[]).map((e=>e.plugin))).map(Me).join("")),components:{span:(0,_.jsx)("span",{}),link:(0,_.jsx)(L.Button,{variant:"link",onClick:t})}})})},ce=({selectedPlugins:e})=>{const o=e.filter((e=>["jetpack","woocommerce-services:shipping","woocommerce-services:tax","woocommerce-shipping","woocommerce-tax","woocommerce-payments"].includes(e.key)));return o.length?(0,_.jsx)("p",{className:"woocommerce-profiler-plugins-jetpack-agreement",children:(0,T.Z)({mixedString:(0,y.sprintf)((0,y._n)("By installing %s plugin for free you agree to our {{link}}Terms of Service{{/link}}.","By installing %s plugins for free you agree to our {{link}}Terms of Service{{/link}}.",o.length,"woocommerce"),ge(o.map((e=>e.name))).map(Me).join("")),components:{span:(0,_.jsx)("span",{}),link:(0,_.jsx)(D.Link,{href:"https://wordpress.com/tos/",target:"_blank",type:"external"})}})}):null},ue=((0,ae.O3)("locale")?.siteLocale||"en_US").replaceAll("_","-"),ge=(e,o=ue)=>{try{return new Intl.ListFormat(o,{style:"long",type:"conjunction"}).formatToParts(e)}catch(o){return new Intl.ListFormat("en-US",{style:"long",type:"conjunction"}).formatToParts(e)}},Me=e=>"element"===e.type?"{{span}}"+e.value+"{{/span}}":e.value;var pe=t(21464);const Ne=(0,r.C8)({id:"plugin-installer",initial:"installing",types:{},context:({input:e})=>({selectedPlugins:e?.selectedPlugins||[],pluginsAvailable:e?.pluginsAvailable||[],pluginsInstallationQueue:[],installedPlugins:[],startTime:0,installationDuration:0,errors:[]}),states:{installing:{initial:"installer",entry:["assignPluginsInstallationQueue","assignStartTime"],after:{INSTALLATION_TIMEOUT:"timedOut"},states:{installer:{initial:"installing",states:{installing:{invoke:{systemId:"installPlugin",src:"installPlugin",input:({context:e})=>e,onDone:{actions:["assignInstallationSuccessDetails"],target:"removeFromQueue"},onError:{actions:"assignInstallationErrorDetails",target:"removeFromQueue"}}},removeFromQueue:{entry:["removePluginFromQueue","updateParentWithPluginProgress"],always:[{target:"installing",guard:"hasPluginsToInstall"},{target:"#installation-finished"}]}}}}},finished:{id:"installation-finished",entry:["assignInstallationDuration"],always:[{target:"reportErrors",guard:"hasErrors"},{target:"reportSuccess"}]},timedOut:{entry:["assignInstallationDuration"],invoke:{systemId:"queueRemainingPluginsAsync",src:"queueRemainingPluginsAsync",input:({context:e})=>({pluginsInstallationQueue:e.pluginsInstallationQueue}),onDone:{target:"reportSuccess"}}},reportErrors:{entry:"updateParentWithInstallationErrors"},reportSuccess:{entry:"updateParentWithInstallationSuccess"}}},{delays:{INSTALLATION_TIMEOUT:3e4},actions:{assignPluginsInstallationQueue:(0,n.a)({pluginsInstallationQueue:({context:e})=>e.selectedPlugins.slice().sort(((o,t)=>{var i,n;const s=e.pluginsAvailable.find((e=>e.key===o)),r=e.pluginsAvailable.find((e=>e.key===t));return(null!==(i=s?.install_priority)&&void 0!==i?i:99)-(null!==(n=r?.install_priority)&&void 0!==n?n:99)}))}),assignStartTime:(0,n.a)({startTime:()=>window.performance.now()}),assignInstallationDuration:(0,n.a)({installationDuration:({context:e})=>window.performance.now()-e.startTime}),assignInstallationSuccessDetails:(0,n.a)({installedPlugins:({context:e,event:o})=>{const t=e.pluginsInstallationQueue[0];return[...e.installedPlugins,{plugin:t,installTime:o.output.data.install_time[t]||0}]}}),assignInstallationErrorDetails:(0,n.a)({errors:({context:e,event:o})=>[...e.errors,{plugin:e.pluginsInstallationQueue[0],error:o.error.message,errorDetails:o.error}]}),removePluginFromQueue:(0,n.a)({pluginsInstallationQueue:({context:e})=>e.pluginsInstallationQueue.slice(1)}),updateParentWithPluginProgress:(0,n.s)((({context:e})=>{const o=e.selectedPlugins.length-e.pluginsInstallationQueue.length,t=e.selectedPlugins.length,i=Math.round(o/t*100),n=window.performance.now()-e.startTime,s=Math.round(n/3e4*100);return{type:"PLUGIN_INSTALLED_AND_ACTIVATED",payload:{progressPercentage:Math.max(i,s)}}})),updateParentWithInstallationErrors:(0,n.s)((({context:e})=>({type:"PLUGINS_INSTALLATION_COMPLETED_WITH_ERRORS",payload:{errors:e.errors}}))),updateParentWithInstallationSuccess:(0,n.s)((({context:e})=>({type:"PLUGINS_INSTALLATION_COMPLETED",payload:{installationCompletedResult:{installedPlugins:e.installedPlugins,totalTime:e.installationDuration}}})))},guards:{hasErrors:({context:e})=>e.errors.length>0,hasPluginsToInstall:({context:e})=>e.pluginsInstallationQueue.length>0},actors:{installPlugin:(0,i.p4)((async({input:{pluginsInstallationQueue:e}})=>(0,c.dispatch)(g.PLUGINS_STORE_NAME).installAndActivatePlugins([e[0]]))),queueRemainingPluginsAsync:(0,i.p4)((async({input:{pluginsInstallationQueue:e}})=>(0,c.dispatch)(g.ONBOARDING_STORE_NAME).installAndActivatePluginsAsync(e)))}}),de=()=>(0,_.jsx)(_.Fragment,{children:(0,_.jsx)("div",{className:"woocommerce-profile-wizard__spinner","data-testid":"core-profiler-loading-screen",children:(0,_.jsx)(L.Spinner,{})})}),me={recordTracksStepViewed:(e,o)=>{(0,m.recordEvent)("coreprofiler_step_view",{step:o.step,wc_version:(0,p.getSetting)("wcVersion")})},recordTracksStepSkipped:(e,o)=>{(0,m.recordEvent)(`coreprofiler_${o.step}_skip`)},recordTracksIntroCompleted:()=>{(0,m.recordEvent)("coreprofiler_step_complete",{step:"intro_opt_in",wc_version:(0,p.getSetting)("wcVersion")})},recordSkipGuidedSetup:(e,{optInDataSharing:o})=>{o&&(0,m.recordEvent)("coreprofiler_skip_guided_setup",{wc_version:(0,p.getSetting)("wcVersion")})},recordTracksUserProfileCompleted:({event:e})=>{(0,m.recordEvent)("coreprofiler_step_complete",{step:"user_profile",wc_version:(0,p.getSetting)("wcVersion")}),(0,m.recordEvent)("coreprofiler_user_profile",{business_choice:e.payload.userProfile.businessChoice,selling_online_answer:e.payload.userProfile.sellingOnlineAnswer,selling_platforms:e.payload.userProfile.sellingPlatforms?e.payload.userProfile.sellingPlatforms.join():null})},recordTracksSkipBusinessLocationCompleted:()=>{(0,m.recordEvent)("coreprofiler_step_complete",{step:"skip_business_location",wc_version:(0,p.getSetting)("wcVersion")})},recordTracksBusinessInfoCompleted:({context:e,event:o})=>{(0,m.recordEvent)("coreprofiler_step_complete",{step:"business_info",wc_version:(0,p.getSetting)("wcVersion")}),(0,m.recordEvent)("coreprofiler_business_info",{business_name_filled:-1===X.findIndex((e=>e===o.payload.storeName)),industry:o.payload.industry,store_location_previously_set:e.onboardingProfile.is_store_country_set||!1,geolocation_success:void 0!==e.geolocatedLocation,geolocation_overruled:o.payload.geolocationOverruled})},recordTracksPluginsLearnMoreLinkClicked:({event:e},o)=>{(0,m.recordEvent)(`coreprofiler_${o.step}_learn_more_link_clicked`,{plugin:e.payload.plugin,link:e.payload.learnMoreLink})},recordFailedPluginInstallations:({event:e})=>{const o=e.payload.errors.map((e=>(0,pe.br)(e.plugin)));(0,m.recordEvent)("coreprofiler_store_extensions_installed_and_activated",{success:!1,failed_extensions:o}),e.payload.errors.forEach((e=>{(0,m.recordEvent)("coreprofiler_store_extension_installed_and_activated",{success:!1,extension:(0,pe.br)(e.plugin),error_message:e.error})}))},recordTracksPluginsInstallationNoPermissionError:()=>(0,m.recordEvent)("coreprofiler_store_extensions_no_permission_error"),recordSuccessfulPluginInstallation:({event:e})=>{const o=e.payload.installationCompletedResult,t={success:!0,installed_extensions:o.installedPlugins.map((e=>(0,pe.br)(e.plugin))),total_time:(0,pe.Jm)(o.totalTime)};for(const e of o.installedPlugins){const o=(0,pe.br)(e.plugin),i=(0,pe.Jm)(e.installTime);t["install_time_"+o]=i,(0,m.recordEvent)("coreprofiler_store_extension_installed_and_activated",{success:!0,extension:o,install_time:i})}(0,m.recordEvent)("coreprofiler_store_extensions_installed_and_activated",t)},recordTracksPluginsInstallationRequest:({event:e})=>{(0,m.recordEvent)("coreprofiler_store_extensions_continue",{shown:e.payload.pluginsShown||[],selected:e.payload.pluginsSelected||[],unselected:e.payload.pluginsUnselected||[],truncated:e.payload.pluginsTruncated||[]})},recordTracksIsEmailChanged:({context:e,event:o})=>{let t,i;e.onboardingProfile.store_email?(t="onboarding_profile_store_email",i=o.payload.storeEmailAddress!==e.onboardingProfile.store_email):e.currentUserEmail?(t="current_user_email",i=o.payload.storeEmailAddress!==e.currentUserEmail):(t="was_empty",i=o.payload.storeEmailAddress?.length>0),(0,m.recordEvent)("coreprofiler_email_marketing",{opt_in:o.payload.isOptInMarketing,email_field_prefilled_source:t,email_field_modified:i})}};var Ie=t(27232),je=t(79524),ye=t(62085);const Le=(0,i.p4)((async()=>(0,c.resolveSelect)(g.OPTIONS_STORE_NAME).getOption("woocommerce_allow_tracking"))),Te=(0,n.a)({optInDataSharing:({event:e})=>"no"!==e.output}),De=(0,i.p4)((async()=>(0,c.resolveSelect)(g.OPTIONS_STORE_NAME).getOption("blogname"))),we=(0,n.a)({businessInfo:({context:e,event:o})=>({...e.businessInfo,storeName:X.includes(o.output)?void 0:o.output})}),_e=(0,i.p4)((async()=>(0,c.resolveSelect)(g.OPTIONS_STORE_NAME).getOption("woocommerce_default_country"))),Se=(0,n.a)({businessInfo:({context:e,event:o})=>({...e.businessInfo,location:o.output})}),xe=(0,i.p4)((async({input:e})=>Promise.all([e.map((e=>(0,c.resolveSelect)(g.OPTIONS_STORE_NAME).getOption(e)))]))),Ae=(0,i.p4)((async()=>(0,c.resolveSelect)(g.COUNTRIES_STORE_NAME).getCountries())),Oe=(0,n.a)({countries:({event:e})=>e.output.reduce(((e,o)=>{if(!o.states.length)return e.push({key:o.code,label:(0,V.decodeEntities)(o.name)}),e;const t=o.states.map((e=>({key:o.code+":"+e.code,label:(0,V.decodeEntities)(o.name)+" — "+(0,V.decodeEntities)(e.name)})));return e.push(...t),e}),[])}),Ee=(0,i.p4)((async()=>(0,c.resolveSelect)(g.OPTIONS_STORE_NAME).getOption("woocommerce_onboarding_profile"))),Ce=(0,n.a)({userProfile:({event:e})=>{if(!e.output)return{};const{business_choice:o,selling_online_answer:t,selling_platforms:i,...n}=e.output;return{...n,businessChoice:o,sellingOnlineAnswer:t,sellingPlatforms:i}}}),he=(0,i.p4)((async()=>(0,c.resolveSelect)(g.ONBOARDING_STORE_NAME).getCoreProfilerCompletedSteps())),ze=(0,n.a)({coreProfilerCompletedSteps:({event:e})=>e.output}),ke=(0,i.p4)((async()=>{const e=await(0,c.resolveSelect)(g.USER_STORE_NAME).getCurrentUser();return e?.email})),fe=(0,i.p4)((async()=>await(0,c.resolveSelect)(g.USER_STORE_NAME).getCurrentUser())),be=(0,n.a)({currentUser:({event:e})=>{if(e.output)return e.output}}),Pe=(0,n.a)({currentUserEmail:({event:e})=>{if(e.output&&e.output.length>0&&"wordpress@example.com"!==e.output)return e.output}}),ve=(0,n.a)({onboardingProfile:({event:e,context:o})=>e.output&&"object"==typeof e.output?e.output:o.onboardingProfile}),Ue=(0,i.p4)((async({input:e})=>{if(e.optInDataSharing)return(0,c.resolveSelect)(g.COUNTRIES_STORE_NAME).geolocate()})),Qe=(0,n.a)({geolocatedLocation:({event:e})=>e.output}),Ye=(0,s.O)({type:"REDIRECT_TO_WOO_HOME"}),Ge=(0,i.p4)((async()=>{window.wcAdminFeatures["launch-your-store"]&&await(0,c.dispatch)(g.ONBOARDING_STORE_NAME).coreProfilerCompleted(),window.location.href=(0,u.getNewPath)({},"/",{})})),Ze=(e,o)=>{e!==o&&(0,m.recordEvent)("woocommerce_allow_tracking_toggled",{previous_value:e,new_value:o,context:"core-profiler"})},Re=(0,i.p4)((async({input:e})=>{const o="yes"===await(0,c.resolveSelect)(g.OPTIONS_STORE_NAME).getOption("woocommerce_allow_tracking")?"yes":"no";await new Promise((t=>{setTimeout(t,500),e.optInDataSharing&&"function"==typeof window.wcTracks.enable?window.wcTracks.enable((()=>{(0,M.initializeExPlat)(),(0,j.k)(),Ze(o,"yes"),t()})):(e.optInDataSharing||(Ze(o,"no"),window.wcTracks.isEnabled=!1),t())}));const t=e.optInDataSharing?"yes":"no";(0,c.dispatch)(g.OPTIONS_STORE_NAME).updateOptions({woocommerce_allow_tracking:t})})),Be=(0,i.p4)((async({input:e})=>{const{businessChoice:o,sellingOnlineAnswer:t,sellingPlatforms:i}=e.userProfile;return(0,c.dispatch)(g.ONBOARDING_STORE_NAME).updateProfileItems({...o&&{business_choice:o},...t&&{selling_online_answer:t},...i&&{selling_platforms:i}})})),We=async e=>{const{general:o={}}=await(0,c.resolveSelect)(g.SETTINGS_STORE_NAME).getSettings("general"),t=(0,Ie.so)(e),{currencySymbols:i={},localeInfo:n={}}=(0,ae.O3)("onboarding",{}),s=d()().getDataForCountry(t,n,i);if(0!==Object.keys(s).length)return(0,c.dispatch)(g.SETTINGS_STORE_NAME).updateAndPersistSettingsForGroup("general",{general:{...o,woocommerce_currency:s.code,woocommerce_currency_pos:s.symbolPosition,woocommerce_price_thousand_sep:s.thousandSeparator,woocommerce_price_decimal_sep:s.decimalSeparator,woocommerce_price_num_decimals:s.precision}})},Je=async e=>{if(!e?.trim())throw new Error("Country and state are required");const o=(0,Ie.so)(e);if(!o?.trim())throw new Error(`Unable to extract country code from "${e}"`);const{localeInfo:t={}}=(0,ae.O3)("onboarding",{}),i=t[o];if(!i?.weight_unit||!i?.dimension_unit)throw new Error(`Missing required measurement units for country: ${o}. Found: ${JSON.stringify(i)}`);const{weight_unit:n,dimension_unit:s}=i;return(0,c.dispatch)(g.SETTINGS_STORE_NAME).updateAndPersistSettingsForGroup("products",{products:{woocommerce_weight_unit:n,woocommerce_dimension_unit:s}})},Fe=(0,n.a)({businessInfo:({event:e,context:o})=>({...o.businessInfo,location:e.payload.storeLocation})}),Ve=(0,n.a)({userProfile:({event:e})=>e.payload.userProfile}),He=(0,i.p4)((async({input:e})=>Promise.all([We(e.payload.storeLocation),Je(e.payload.storeLocation),(0,c.dispatch)(g.ONBOARDING_STORE_NAME).updateProfileItems({is_store_country_set:!0,is_agree_marketing:e.payload.isOptInMarketing,...e.payload.industry&&{industry:[e.payload.industry]},...e.payload.storeEmailAddress!==e.context.onboardingProfile.store_email&&{store_email:e.payload.storeEmailAddress}}),(0,c.dispatch)(g.OPTIONS_STORE_NAME).updateOptions({blogname:e.payload.storeName,woocommerce_default_country:e.payload.storeLocation})]))),Xe=(0,n.a)({optInDataSharing:({event:e})=>e.payload.optInDataSharing}),qe=(0,n.a)({isJetpackConnectedRef:({spawn:e})=>e((0,i.p4)((async()=>(0,c.resolveSelect)(g.PLUGINS_STORE_NAME).isJetpackConnected())))}),Ke=(0,n.a)({jetpackAuthUrlRef:({spawn:e})=>e((0,i.p4)((async()=>(0,c.resolveSelect)(g.ONBOARDING_STORE_NAME).getJetpackAuthUrl({redirectUrl:(0,p.getAdminLink)("admin.php?page=wc-admin"),from:"woocommerce-core-profiler"}))))}),$e=(0,i.p4)((async()=>(0,c.resolveSelect)(g.ONBOARDING_STORE_NAME).getFreeExtensions())),eo=(0,i.p4)((async()=>{(0,c.dispatch)(g.ONBOARDING_STORE_NAME).invalidateResolution("getFreeExtensions");const e=await(0,c.resolveSelect)(g.ONBOARDING_STORE_NAME).getFreeExtensions();return e.find((e=>"obw/core-profiler"===e.key))?.plugins||[]})),oo=(0,i.E9)((({sendBack:e})=>{const o=()=>{e({type:"EXTERNAL_URL_UPDATE"})};return window.addEventListener("popstate",o),()=>{window.removeEventListener("popstate",o)}})),to=(0,n.a)({pluginsAvailable:({event:e})=>e.output.slice(0,8),pluginsTruncated:({event:e})=>e.output.slice(8).map((e=>e.key.replace(":alt","")))}),io=(0,i.p4)((async({input:e})=>{(0,c.dispatch)(g.ONBOARDING_STORE_NAME).updateCoreProfilerStep(e.step)})),no=(0,n.a)({pluginsSelected:({event:e})=>e.payload.pluginsSelected.map(pe.V7)}),so=(0,n.a)({loader:({event:e})=>{(0,r.ZD)(e,"PLUGIN_INSTALLED_AND_ACTIVATED");const o=e.payload.progressPercentage;let t=0;return o>60?t=2:o>30&&(t=1),{useStages:"plugins",progress:o,stageIndex:t}}}),ro=(0,i.p4)((async({input:e})=>{const o=(0,c.dispatch)(g.ONBOARDING_STORE_NAME).updateProfileItems({skipped:!0}),t=(i=e.businessInfo.location,(0,c.dispatch)(g.OPTIONS_STORE_NAME).updateOptions({woocommerce_default_country:i}));var i;const n=We(e.businessInfo.location),s=Je(e.businessInfo.location);return Promise.all([o,t,n,s])})),ao=(0,i.p4)((async()=>(0,c.resolveSelect)(g.PLUGINS_STORE_NAME).isJetpackConnected())),lo={preFetchIsJetpackConnected:qe,preFetchJetpackAuthUrl:Ke},co={...lo,...me,handlePlugins:to,updateQueryStep:(e,o)=>{const{step:t}=(0,u.getQuery)();o.step!==t&&(0,u.updateQueryString)({step:o.step})},handleTrackingOption:Te,handleGeolocation:Qe,handleStoreNameOption:we,handleStoreCountryOption:Se,handleCoreProfilerCompletedSteps:ze,assignOptInDataSharing:Xe,assignStoreLocation:Fe,assignPluginsSelected:no,assignUserProfile:Ve,handleCountries:Oe,handleOnboardingProfileOption:Ce,assignOnboardingProfile:ve,assignCurrentUserEmail:Pe,assignCurrentUser:be,redirectToWooHome:Ye,redirectToJetpackAuthPage:({event:e,context:o})=>{const t=new URL(e.output.url);var i,n;t.searchParams.set("installed_ext_success","1"),t.searchParams.set("plugin_name",(i=o.pluginsSelected,n=o.pluginsAvailable,i.filter((e=>n.find((o=>o.key===e))?.requires_jpc)).join(","))),e.output.color_scheme&&t.searchParams.set("color_scheme",e.output.color_scheme),window.location.href=t.toString()},updateLoaderProgressWithPluginInstall:so,reloadPage:()=>{window.location.reload()}},uo={preFetchGetPlugins:$e,preFetchOptions:xe,getAllowTrackingOption:Le,getStoreNameOption:De,getStoreCountryOption:_e,getCountries:Ae,getGeolocation:Ue,getOnboardingProfileOption:Ee,getCurrentUserEmail:ke,getCurrentUser:fe,getPlugins:eo,getJetpackIsConnected:ao,browserPopstateHandler:oo,updateBusinessInfo:He,updateTrackingOption:Re,updateOnboardingProfileOption:Be,updateProfilerCompletedSteps:io,getCoreProfilerCompletedSteps:he,skipFlowUpdateBusinessLocation:ro,pluginInstallerMachine:Ne,exitToWooHome:Ge},go=(0,r.C8)({id:"coreProfiler",initial:"navigate",types:{},invoke:{id:"browserPopstateHandler",src:"browserPopstateHandler"},on:{EXTERNAL_URL_UPDATE:{target:"#navigate"},REDIRECT_TO_WOO_HOME:{target:"#redirectingToWooHome"}},context:{optInDataSharing:!1,userProfile:{},geolocatedLocation:void 0,businessInfo:{storeName:void 0,industry:void 0,storeCountryPreviouslySet:!1,location:"US:CA"},countries:[],pluginsAvailable:[],pluginsInstallationErrors:[],pluginsTruncated:[],pluginsSelected:[],loader:{},onboardingProfile:{},jetpackAuthUrl:void 0,currentUserEmail:void 0,currentUser:void 0,coreProfilerCompletedSteps:{}},states:{navigate:{id:"navigate",always:[{target:"#introOptIn",guard:{type:"hasStepInUrl",params:{step:"intro-opt-in"}}},{target:"#userProfile",guard:{type:"hasStepInUrl",params:{step:"user-profile"}}},{target:"#businessInfo",guard:{type:"hasStepInUrl",params:{step:"business-info"}}},{target:"#plugins",guard:{type:"hasStepInUrl",params:{step:"plugins"}}},{target:"#skipGuidedSetup",guard:{type:"hasStepInUrl",params:{step:"skip-guided-setup"}}},{target:"introOptIn"}]},introOptIn:{id:"introOptIn",initial:"preIntroOptIn",states:{preIntroOptIn:{entry:[(0,s.P)("preFetchGetPlugins"),(0,s.P)("getCountries"),(0,s.P)("getCoreProfilerCompletedSteps"),(0,s.P)("preFetchOptions",{id:"prefetch-options",input:["blogname","woocommerce_onboarding_profile","woocommerce_default_country"]})],type:"parallel",states:{trackingOption:{initial:"fetching",states:{fetching:{invoke:{systemId:"getAllowTrackingOption",src:"getAllowTrackingOption",onDone:[{actions:["handleTrackingOption"],target:"done"}],onError:{target:"done"}}},done:{type:"final"}}},onboardingProfileOption:{initial:"fetching",states:{fetching:{invoke:{systemId:"getOnboardingProfileOption",src:"getOnboardingProfileOption",onDone:[{actions:["handleOnboardingProfileOption"],target:"done"}],onError:{target:"done"}}},done:{type:"final"}}},coreProfilerCompletedSteps:{initial:"fetching",states:{fetching:{invoke:{src:"getCoreProfilerCompletedSteps",onDone:{actions:["handleCoreProfilerCompletedSteps"],target:"done"},onError:{target:"done"}}},done:{type:"final"}}}},onDone:{target:"introOptIn"},meta:{progress:0}},introOptIn:{on:{INTRO_COMPLETED:{target:"postIntroOptIn",actions:["assignOptInDataSharing",(0,s.P)("updateProfilerCompletedSteps",{input:{step:"intro-opt-in"}})]},INTRO_SKIPPED:{target:"#skipGuidedSetup",actions:["assignOptInDataSharing",(0,s.P)("updateProfilerCompletedSteps",{input:{step:"intro-opt-in"}}),(0,s.P)("updateTrackingOption",{input:({event:e})=>((0,r.ZD)(e,"INTRO_SKIPPED"),e.payload)})]}},meta:{progress:20,component:({sendEvent:e,navigationProgress:o,context:t})=>{const i=t.userProfile?.completed||t.userProfile?.skipped||t.coreProfilerCompletedSteps?.["intro-opt-in"],n=i&&t.optInDataSharing||!i,[s,r]=(0,l.useState)(n);return(0,_.jsxs)("div",{className:"woocommerce-profiler-intro-opt-in","data-testid":"core-profiler-intro-opt-in-screen",children:[(0,_.jsx)(O,{percentage:o}),(0,_.jsxs)("div",{className:"woocommerce-profiler-page__content woocommerce-profiler-intro-opt-in__content",children:[(0,_.jsx)("div",{className:"woocommerce-profiler-welcome-image"}),(0,_.jsx)(S,{title:(0,y.__)("Welcome to Woo!","woocommerce"),subTitle:(0,T.Z)({mixedString:(0,y.__)("It’s great to have you here with us! We’ll be guiding you through the setup process – first, answer a few questions to tailor your experience.","woocommerce"),components:{br:(0,_.jsx)("br",{})}})}),(0,_.jsx)(L.Button,{className:"woocommerce-profiler-setup-store__button",variant:"primary",onClick:()=>e({type:"INTRO_COMPLETED",payload:{optInDataSharing:s}}),children:(0,y.__)("Set up my store","woocommerce")}),(0,_.jsx)(L.Button,{className:"woocommerce-profiler-setup-store__button",variant:"tertiary",onClick:()=>e({type:"INTRO_SKIPPED",payload:{optInDataSharing:s}}),children:(0,y.__)("Skip guided setup","woocommerce")}),(0,_.jsx)("div",{className:"woocommerce-profiler-intro-opt-in__footer",children:(0,_.jsx)(L.CheckboxControl,{className:"core-profiler__checkbox",label:(0,T.Z)({mixedString:(0,y.__)("I agree to share my data to tailor my store setup experience, get more relevant content, and help make WooCommerce better for everyone. You can opt out at any time in WooCommerce settings. {{link}}Learn more about usage tracking.{{/link}}","woocommerce"),components:{link:(0,_.jsx)(D.Link,{href:"https://woocommerce.com/usage-tracking?utm_medium=product",target:"_blank",type:"external"})}}),checked:s,onChange:r})})]})]})}}},postIntroOptIn:{invoke:{src:"updateTrackingOption",input:({context:e})=>e,onDone:{actions:["recordTracksIntroCompleted"],target:"#userProfile"},onError:{actions:["recordTracksIntroCompleted"],target:"#userProfile"}}}}},userProfile:{id:"userProfile",initial:"preUserProfile",states:{preUserProfile:{invoke:{src:"getOnboardingProfileOption",onDone:[{actions:["handleOnboardingProfileOption","assignOnboardingProfile"],target:"userProfile"}],onError:{target:"userProfile"}}},userProfile:{meta:{progress:40,component:({sendEvent:e,navigationProgress:o,context:t})=>{const[i,n]=(0,l.useState)(t.userProfile.businessChoice||"im_just_starting_my_business"),[s,r]=(0,l.useState)(t.userProfile.sellingOnlineAnswer||null),[a,c]=(0,l.useState)(t.userProfile.sellingPlatforms||null),[u,g]=(0,l.useState)(!1);return(0,_.jsxs)("div",{className:"woocommerce-profiler-user-profile","data-testid":"core-profiler-user-profile",children:[(0,_.jsx)(O,{percentage:o,skipText:(0,y.__)("Skip this step","woocommerce"),onSkip:()=>e({type:"USER_PROFILE_SKIPPED",payload:{userProfile:{skipped:!0}}})}),(0,_.jsxs)("div",{className:(0,w.Z)("woocommerce-profiler-page__content woocommerce-profiler-user-profile__content",{"is-platform-selector-open":u}),children:[(0,_.jsx)(S,{className:"woocommerce-profiler__stepper-heading",title:(0,y.__)("Which one of these best describes you?","woocommerce"),subTitle:(0,y.__)("Let us know where you are in your commerce journey so that we can tailor your Woo experience for you.","woocommerce")}),(0,_.jsx)("form",{className:"woocommerce-user-profile-choices",children:(0,_.jsxs)("fieldset",{children:[(0,_.jsx)("legend",{className:"screen-reader-text",children:(0,y.__)("Which one of these best describes you?","woocommerce")}),f.map((({title:e,value:o})=>(0,_.jsx)(h,{name:"user-profile-choice",title:e,selected:i===o,value:o,onChange:e=>{n(e)},subOptionsComponent:"im_already_selling"===o?(0,_.jsxs)(_.Fragment,{children:[(0,_.jsxs)("div",{className:"woocommerce-profiler-selling-online-question",children:[(0,_.jsx)("p",{className:"woocommerce-profiler-question-label",children:(0,y.__)("Are you selling online?","woocommerce")}),(0,_.jsx)(D.SelectControl,{className:"woocommerce-profiler-select-control__selling-online-question",instanceId:1,label:(0,y.__)("Select an option","woocommerce"),autoComplete:"new-password",options:b,excludeSelectedOptions:!1,help:(0,_.jsx)(E.Z,{icon:C.Z}),onChange:e=>{r(e)},multiple:!1,selected:s})]}),s&&["yes_im_selling_online","im_selling_both_online_and_offline"].includes(s)&&(0,_.jsxs)("div",{className:"woocommerce-profiler-selling-platform",children:[(0,_.jsx)("p",{className:"woocommerce-profiler-question-label",children:(0,y.__)("Which platform(s) are you currently using?","woocommerce")}),(0,_.jsx)(k,{options:P,selectedOptions:P.filter((e=>a?.includes(e.value))),onSelect:e=>{c(e.map((e=>e.value)))},onOpenClose:g})]})]}):null},o)))]})}),(0,_.jsx)("div",{className:"woocommerce-profiler-button-container",children:(0,_.jsx)(L.Button,{className:"woocommerce-profiler-button",variant:"primary",onClick:()=>{e({type:"USER_PROFILE_COMPLETED",payload:{userProfile:{businessChoice:i,sellingOnlineAnswer:"im_already_selling"===i?s:null,sellingPlatforms:"im_already_selling"===i?a:null}}})},children:(0,y.__)("Continue","woocommerce")})})]})]})}},entry:[{type:"recordTracksStepViewed",params:{step:"user_profile"}},{type:"updateQueryStep",params:{step:"user-profile"}},(0,s.P)("getGeolocation",{input:({context:e})=>e})],on:{USER_PROFILE_COMPLETED:{target:"postUserProfile",actions:["assignUserProfile","recordTracksUserProfileCompleted",(0,s.P)("updateProfilerCompletedSteps",{input:{step:"user-profile"}})]},USER_PROFILE_SKIPPED:{target:"postUserProfile",actions:["assignUserProfile",(0,s.P)("updateProfilerCompletedSteps",{input:{step:"user-profile"}}),{type:"recordTracksStepSkipped",params:{step:"user_profile"}}]}}},postUserProfile:{entry:(0,s.P)("updateOnboardingProfileOption",{id:"updateOnboardingProfileOption",input:({context:e})=>e}),always:{target:"#businessInfo"}}}},businessInfo:{id:"businessInfo",initial:"preBusinessInfo",entry:[{type:"updateQueryStep",params:{step:"business-info"}}],states:{preBusinessInfo:{type:"parallel",states:{geolocation:{initial:"checkDataOptIn",states:{checkDataOptIn:{invoke:{src:"getAllowTrackingOption",onDone:[{actions:["handleTrackingOption"],target:"fetching"}],onError:{target:"done"}}},fetching:{invoke:{input:({context:e})=>e,src:"getGeolocation",onDone:{target:"done",actions:"handleGeolocation"},onError:{target:"done"}}},done:{type:"final"}}},storeCountryOption:{initial:"fetching",states:{fetching:{invoke:{src:"getStoreCountryOption",onDone:[{actions:["handleStoreCountryOption"],target:"done"}],onError:{target:"done"}}},done:{type:"final"}}},onboardingProfileOption:{initial:"fetching",states:{fetching:{invoke:{src:"getOnboardingProfileOption",onDone:[{actions:["assignOnboardingProfile"],target:"done"}],onError:{target:"done"}}},done:{type:"final"}}},storeNameOption:{initial:"fetching",states:{fetching:{invoke:{src:"getStoreNameOption",onDone:[{actions:["handleStoreNameOption"],target:"done"}],onError:{target:"done"}}},done:{type:"final"}}},countries:{initial:"fetching",states:{fetching:{invoke:{systemId:"getCountries",src:"getCountries",onDone:{target:"done",actions:"handleCountries"}}},done:{type:"final"}}},currentUserEmail:{initial:"fetching",states:{fetching:{invoke:{src:"getCurrentUserEmail",onDone:{target:"done",actions:["assignCurrentUserEmail"]},onError:{target:"done"}}},done:{type:"final"}}}},onDone:{target:"businessInfo"}},businessInfo:{meta:{progress:60,component:({context:e,navigationProgress:o,sendEvent:t})=>{const{geolocatedLocation:i,userProfile:{businessChoice:n},businessInfo:s,countries:r,onboardingProfile:{is_store_country_set:a=!1,industry:c=[],business_choice:u="",is_agree_marketing:g=!1,store_email:M=""}={},currentUserEmail:p}=e,[N,d]=(0,l.useState)(s.storeName||""),[m,I]=(0,l.useState)({key:"",label:""});(0,l.useEffect)((()=>{if(a){const e=r.find((e=>e.key===s.location));I(e||{key:"",label:""})}}),[s.location,r,a]);const[j,T]=(0,l.useState)({key:"",label:""});(0,l.useEffect)((()=>{if(i){const e=(0,F.findCountryOption)(r,i);e&&(T(e),a||I(e))}}),[r,a,i]);const x=i&&(0,F.getCountry)(m.key)!==(0,F.getCountry)(j.key),[A,h]=(0,l.useState)(c?q.find((e=>e.key===c[0])):void 0),z=(0,y.__)("Select country/region","woocommerce"),k=K[n||u||"im_just_starting_my_business"],[f,b]=(0,l.useState)(!1),[P,v]=(0,l.useState)(!1),[U,Q]=(0,l.useState)(!1),[Y,G]=(0,l.useState)(M||p||""),[Z,R]=(0,l.useState)(g||!1),[B,W]=(0,l.useState)(!1);return(0,l.useEffect)((()=>{if(B){const e=H.z.string().email().safeParse(Y);Q(Z&&!e.success),W(!1)}}),[Z,B,Y]),(0,_.jsxs)("div",{className:"woocommerce-profiler-business-information","data-testid":"core-profiler-business-information",children:[(0,_.jsx)(O,{percentage:o}),(0,_.jsxs)("div",{className:"woocommerce-profiler-page__content woocommerce-profiler-business-information__content",children:[(0,_.jsx)(S,{className:"woocommerce-profiler__stepper-heading",title:(0,y.__)("Tell us a bit about your store","woocommerce"),subTitle:(0,y.__)("We’ll use this information to help you set up payments, shipping, and taxes, as well as recommending the best theme for your store.","woocommerce")}),(0,_.jsxs)("form",{className:"woocommerce-profiler-business-information-form",autoComplete:"off",children:[(0,_.jsx)(L.TextControl,{className:"woocommerce-profiler-business-info-store-name",onChange:e=>{d(e)},value:(0,V.decodeEntities)(N),label:(0,_.jsx)(_.Fragment,{children:(0,y.__)("Give your store a name","woocommerce")}),placeholder:(0,y.__)("Ex. My awesome store","woocommerce")}),(0,_.jsx)("p",{className:"woocommerce-profiler-question-subtext",children:(0,y.__)("Don’t worry — you can always change it later!","woocommerce")}),(0,_.jsx)("p",{className:"woocommerce-profiler-question-label",children:k}),(0,_.jsx)(D.SelectControl,{className:"woocommerce-profiler-select-control__industry",instanceId:1,placeholder:(0,y.__)("Select an industry","woocommerce"),label:(0,y.__)("Select an industry","woocommerce"),options:q,excludeSelectedOptions:!1,help:(0,_.jsx)(E.Z,{icon:C.Z}),onChange:e=>{e.length&&h(e[0])},selected:A?[A]:[],showAllOnFocus:!0,isSearchable:!0}),(0,_.jsxs)("p",{className:"woocommerce-profiler-question-label",children:[(0,y.__)("Where is your store located?","woocommerce"),(0,_.jsx)("span",{className:"woocommerce-profiler-question-required",children:"*"})]}),(0,_.jsx)(D.SelectControl,{className:"woocommerce-profiler-select-control__country",instanceId:2,placeholder:z,label:""===m.key?z:"",getSearchExpression:e=>new RegExp("(^"+e+"| — ("+e+"))","i"),options:r,excludeSelectedOptions:!1,help:(0,_.jsx)(E.Z,{icon:C.Z}),onChange:e=>{e.length&&I(e[0])},selected:m?[m]:[],showAllOnFocus:!0,isSearchable:!0}),0===r.length&&(0,_.jsx)(L.Notice,{className:"woocommerce-profiler-select-control__country-error",isDismissible:!1,status:"error",children:(0,l.createInterpolateElement)((0,y.__)("Oops! We encountered a problem while fetching the list of countries to choose from. <retryButton/> or <skipButton/>","woocommerce"),{retryButton:(0,_.jsx)(L.Button,{onClick:()=>{t({type:"RETRY_PRE_BUSINESS_INFO"})},variant:"tertiary",children:(0,y.__)("Please try again","woocommerce")}),skipButton:(0,_.jsx)(L.Button,{onClick:()=>{t({type:"SKIP_BUSINESS_INFO_STEP"})},variant:"tertiary",children:(0,y.__)("skip this step","woocommerce")})})}),(0,_.jsx)("div",{className:"woocommerce-profiler-select-control__country-spacer"}),x&&!f&&(0,_.jsxs)(L.Notice,{className:"woocommerce-profiler-geolocation-notice",onRemove:()=>b(!0),status:"warning",children:[(0,_.jsx)("p",{children:(0,l.createInterpolateElement)((0,y.__)("It looks like you’re located in <geolocatedCountry></geolocatedCountry>. Are you sure you want to create a store in <selectedCountry></selectedCountry>?","woocommerce"),{geolocatedCountry:(0,_.jsx)(L.Button,{className:"geolocation-notice-geolocated-country",variant:"link",onClick:()=>I(j),children:i?.country_long}),selectedCountry:(0,_.jsx)("span",{className:"geolocation-notice-selected-country",children:m.label})})}),(0,_.jsx)("p",{children:(0,y.__)("Setting up your store in the wrong country may lead to the following issues: ","woocommerce")}),(0,_.jsxs)("ul",{className:"woocommerce-profiler-geolocation-notice__list",children:[(0,_.jsx)("li",{children:(0,y.__)("Tax and duty obligations","woocommerce")}),(0,_.jsx)("li",{children:(0,y.__)("Payment issues","woocommerce")}),(0,_.jsx)("li",{children:(0,y.__)("Shipping issues","woocommerce")})]})]}),(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(L.TextControl,{className:(0,w.Z)("woocommerce-profiler-business-info-email-adddress",{"is-error":U}),onChange:e=>{U&&W(!0),G(e)},onBlur:()=>{W(!0)},value:(0,V.decodeEntities)(Y),label:(0,_.jsxs)(_.Fragment,{children:[(0,y.__)("Your email address","woocommerce"),Z&&(0,_.jsx)("span",{className:"woocommerce-profiler-question-required",children:"*"})]}),placeholder:(0,y.__)("wordpress@example.com","woocommerce")}),U&&(0,_.jsx)(J,{isError:!0,text:(0,y.__)("This email is not valid.","woocommerce")}),(0,_.jsx)(L.CheckboxControl,{className:"core-profiler__checkbox",label:(0,y.__)("Opt-in to receive tips, discounts, and recommendations from the Woo team directly in your inbox.","woocommerce"),checked:Z,onChange:e=>{R(e),W(!0)}})]})]}),(0,_.jsx)("div",{className:"woocommerce-profiler-button-container",children:(0,_.jsx)(L.Button,{className:"woocommerce-profiler-button",variant:"primary",disabled:!m.key||U,onClick:()=>{t({type:"BUSINESS_INFO_COMPLETED",payload:{storeName:N,industry:A?.key,storeLocation:m.key,geolocationOverruled:x||!1,isOptInMarketing:Z,storeEmailAddress:Y}}),v(!0)},children:P?(0,_.jsx)(L.Spinner,{}):(0,y.__)("Continue","woocommerce")})})]})]})}},entry:[{type:"recordTracksStepViewed",params:{step:"business_info"}}],on:{BUSINESS_INFO_COMPLETED:{target:"postBusinessInfo",actions:["recordTracksBusinessInfoCompleted","recordTracksIsEmailChanged",(0,s.P)("updateProfilerCompletedSteps",{input:{step:"business-info"}})]},RETRY_PRE_BUSINESS_INFO:{actions:["reloadPage"]},SKIP_BUSINESS_INFO_STEP:{target:"#plugins",actions:[{type:"recordTracksStepSkipped",params:{step:"business_info"}},(0,s.P)("updateProfilerCompletedSteps",{input:{step:"business-info"}})]}}},postBusinessInfo:{invoke:{src:"updateBusinessInfo",input:({event:e,context:o})=>((0,r.ZD)(e,"BUSINESS_INFO_COMPLETED"),{payload:e.payload,context:o}),onDone:{target:"#plugins"},onError:{target:"#plugins"}}}}},skipGuidedSetup:{id:"skipGuidedSetup",initial:"preSkipFlowBusinessLocation",entry:[{type:"updateQueryStep",params:{step:"skip-guided-setup"}}],states:{preSkipFlowBusinessLocation:{invoke:{src:"getCountries",onDone:[{actions:["handleCountries"],target:"skipFlowBusinessLocation"}],onError:{target:"skipFlowBusinessLocation"}}},skipFlowBusinessLocation:{on:{BUSINESS_LOCATION_COMPLETED:{target:"postSkipFlowBusinessLocation",actions:["assignStoreLocation","recordTracksSkipBusinessLocationCompleted",(0,s.P)("updateProfilerCompletedSteps",{input:{step:"skip-guided-setup"}})]}},entry:[{type:"recordTracksStepViewed",params:{step:"skip_business_location"}},{type:"recordSkipGuidedSetup",params:({context:e})=>({optInDataSharing:e.optInDataSharing})}],meta:{progress:80,component:({sendEvent:e,navigationProgress:o,context:t})=>{const[i,n]=(0,l.useState)({key:"",label:""}),s=(0,y.__)("Select country/region","woocommerce");return(0,_.jsxs)("div",{className:"woocommerce-profiler-business-location","data-testid":"core-profiler-business-location",children:[(0,_.jsx)(O,{percentage:o}),(0,_.jsxs)("div",{className:"woocommerce-profiler-page__content woocommerce-profiler-business-location__content",children:[(0,_.jsx)(S,{className:"woocommerce-profiler__stepper-heading",title:(0,y.__)("Where is your business located?","woocommerce"),subTitle:(0,y.__)("We’ll use this information to help you set up payments, shipping, and taxes.","woocommerce")}),(0,_.jsx)(D.SelectControl,{className:"woocommerce-profiler-select-control__country",instanceId:1,placeholder:s,label:""===i.key?s:"",getSearchExpression:e=>new RegExp("(^"+e+"| — ("+e+"))","i"),autoComplete:"new-password",options:t.countries,excludeSelectedOptions:!1,help:(0,_.jsx)(E.Z,{icon:C.Z}),onChange:e=>{e.length&&n(e[0])},selected:i?[i]:[],showAllOnFocus:!0,isSearchable:!0}),(0,_.jsx)("div",{className:"woocommerce-profiler-button-container woocommerce-profiler-go-to-mystore__button-container",children:(0,_.jsx)(L.Button,{className:"woocommerce-profiler-button",variant:"primary",disabled:!i.key,onClick:()=>{e({type:"BUSINESS_LOCATION_COMPLETED",payload:{storeLocation:i.key}})},children:(0,y.__)("Go to my store","woocommerce")})})]})]})}}},postSkipFlowBusinessLocation:{initial:"updateBusinessLocation",states:{updateBusinessLocation:{entry:(0,n.a)({loader:{progress:10,useStages:"skippedGuidedSetup"}}),invoke:{input:({context:e})=>e,src:"skipFlowUpdateBusinessLocation",onDone:{target:"progress20"}}},progress20:{entry:(0,n.a)({loader:{progress:20,useStages:"skippedGuidedSetup"}}),after:{1500:{target:"progress80"}}},progress80:{entry:(0,n.a)({loader:{progress:80,useStages:"skippedGuidedSetup",stageIndex:1}}),after:{1500:{actions:["redirectToWooHome"]}}}},meta:{component:ne}}}},plugins:{id:"plugins",initial:"prePlugins",states:{prePlugins:{invoke:[{src:"getPlugins",onDone:[{target:"pluginsSkipped",guard:({event:e})=>0===e.output.length||e.output.every((e=>e.is_activated))},{target:"plugins",actions:"handlePlugins"}],onError:{target:"pluginsSkipped"}},{src:"getCurrentUser",onDone:{actions:["assignCurrentUser"]}}],meta:{progress:70}},pluginsSkipped:{entry:(0,n.a)({loader:{progress:80}}),invoke:{src:(0,i.p4)((()=>((0,c.dispatch)(g.ONBOARDING_STORE_NAME).updateProfileItems({is_plugins_page_skipped:!0,skipped:!1,completed:!0}),3e3,new Promise((e=>{setTimeout(e,3e3)}))))),onDone:[{actions:["redirectToWooHome"]}]},meta:{component:ne}},plugins:{initial:"init",states:{init:{always:[{guard:"userHasNoInstallPluginsPermission",target:"noPermissionsError"},{target:"default"}]},default:{meta:{progress:80,component:({context:e,navigationProgress:o,sendEvent:t})=>{const[i,n]=(0,v.useState)(new Set(e.pluginsAvailable.filter(e.pluginsInstallationErrors.length?o=>e.pluginsSelected.includes(o.key):e=>!e.is_activated))),s=()=>{const{pluginsShown:o,pluginsUnselected:n,selectedPluginSlugs:s}=((e,o)=>{const t=Array.from(o).map((e=>e.key.replace(":alt",""))),i=[],n=[];return e.forEach((e=>{const o=e.key.replace(":alt","");i.push(o),e.is_activated||t.includes(o)||n.push(o)})),{pluginsShown:i,pluginsUnselected:n,selectedPluginSlugs:t}})(e.pluginsAvailable,i);return t({type:"PLUGINS_INSTALLATION_REQUESTED",payload:{pluginsShown:o,pluginsSelected:s,pluginsUnselected:n,pluginsTruncated:e.pluginsTruncated}})},r=Math.ceil(e.pluginsAvailable.length/2);return(0,_.jsxs)("div",{className:"woocommerce-profiler-plugins","data-testid":"core-profiler-plugins",children:[(0,_.jsx)(O,{percentage:o,onSkip:()=>t({type:"PLUGINS_PAGE_SKIPPED"})}),(0,_.jsxs)("div",{className:"woocommerce-profiler-page__content woocommerce-profiler-plugins__content",children:[(0,_.jsx)(S,{className:"woocommerce-profiler__stepper-heading",title:(0,y.__)("Get a boost with our free features","woocommerce"),subTitle:(0,y.__)("Enhance your store by installing these free business features. No commitment required – you can remove them at any time.","woocommerce")}),e.pluginsInstallationErrors.length>0&&(0,_.jsx)(le,{pluginsInstallationErrors:e.pluginsInstallationErrors,onClick:s}),(0,_.jsx)("div",{className:(0,w.Z)("woocommerce-profiler-plugins__list",`rows-${r}`),children:e.pluginsAvailable.map((e=>{const{key:o,learn_more_link:s}=e;return(0,_.jsx)(re,{plugin:e,onChange:()=>{e.is_activated||(e=>{i.has(e)?i.delete(e):i.add(e),n(new Set(i))})(e)},checked:i.has(e),children:s&&(0,_.jsx)(re.LearnMoreLink,{onClick:()=>{t({type:"PLUGINS_LEARN_MORE_LINK_CLICKED",payload:{plugin:o,learnMoreLink:s}})}})},o)}))}),(0,_.jsxs)("div",{className:(0,w.Z)("woocommerce-profiler-plugins__footer",`rows-${r}`),children:[(0,_.jsx)("div",{className:"woocommerce-profiler-plugins-continue-button-container",children:(0,_.jsx)(L.Button,{className:"woocommerce-profiler-plugins-continue-button",variant:"primary",onClick:i.size>0?s:()=>t({type:"PLUGINS_PAGE_COMPLETED_WITHOUT_SELECTING_PLUGINS"}),children:(0,y.__)("Continue","woocommerce")})}),(0,_.jsx)(ce,{selectedPlugins:Array.from(i)})]})]})]})}}},noPermissionsError:{entry:["recordTracksPluginsInstallationNoPermissionError"],meta:{progress:80,component:({context:e,navigationProgress:o,sendEvent:t})=>{const i=()=>t({type:"PLUGINS_PAGE_SKIPPED"}),n=Math.ceil(e.pluginsAvailable.length/2);return(0,_.jsxs)("div",{className:"woocommerce-profiler-plugins","data-testid":"core-profiler-plugins",children:[(0,_.jsx)(O,{percentage:o,onSkip:i}),(0,_.jsxs)("div",{className:"woocommerce-profiler-page__content woocommerce-profiler-plugins__content",children:[(0,_.jsx)(S,{className:"woocommerce-profiler__stepper-heading",title:(0,y.__)("Get a boost with our free features","woocommerce"),subTitle:(0,y.__)("Enhance your store by installing these free business features. No commitment required – you can remove them at any time.","woocommerce")}),(0,_.jsx)(le,{pluginsInstallationPermissionsFailure:!0}),(0,_.jsx)("div",{className:(0,w.Z)("woocommerce-profiler-plugins__list",`rows-${n}`),children:e.pluginsAvailable.map((e=>{const{key:o,learn_more_link:i}=e;return(0,_.jsx)(re,{plugin:e,checked:!1,disabled:!0,children:i&&(0,_.jsx)(re.LearnMoreLink,{onClick:()=>{t({type:"PLUGINS_LEARN_MORE_LINK_CLICKED",payload:{plugin:o,learnMoreLink:i}})}})},o)}))}),(0,_.jsx)("div",{className:(0,w.Z)("woocommerce-profiler-plugins__footer",`rows-${n}`),children:(0,_.jsx)("div",{className:"woocommerce-profiler-plugins-continue-button-container",children:(0,_.jsx)(L.Button,{className:"woocommerce-profiler-plugins-continue-button",variant:"primary",onClick:i,children:(0,y.__)("Continue","woocommerce")})})})]})]})}}}},entry:[{type:"recordTracksStepViewed",params:{step:"plugins"}},{type:"updateQueryStep",params:{step:"plugins"}}],on:{PLUGINS_PAGE_SKIPPED:{actions:[{type:"recordTracksStepSkipped",params:{step:"plugins"}},(0,s.P)("updateProfilerCompletedSteps",{input:{step:"plugins"}})],target:"pluginsSkipped"},PLUGINS_PAGE_COMPLETED_WITHOUT_SELECTING_PLUGINS:{target:"postPluginInstallation.noPluginsSelected",actions:[(0,s.P)("updateProfilerCompletedSteps",{input:{step:"plugins"}})]},PLUGINS_LEARN_MORE_LINK_CLICKED:{actions:[{type:"recordTracksPluginsLearnMoreLinkClicked",params:{step:"plugins"}}]},PLUGINS_INSTALLATION_REQUESTED:{target:"installPlugins",actions:["assignPluginsSelected","recordTracksPluginsInstallationRequest"]}}},postPluginInstallation:{initial:"noPluginsSelected",states:{withPluginsSelected:{invoke:{input:({event:e})=>((0,r.ZD)(e,"PLUGINS_INSTALLATION_COMPLETED"),e),src:(0,i.p4)((async({input:e})=>await(0,c.dispatch)(g.ONBOARDING_STORE_NAME).updateProfileItems({business_extensions:e.payload.installationCompletedResult.installedPlugins.map((e=>e.plugin)),completed:!0}))),onDone:[{target:"#isJetpackConnected",guard:(0,s.G)(["hasJpcRequiredPluginSelected","hasJpcRequiredPluginActivated"])},{actions:"redirectToWooHome"}],onError:{actions:"redirectToWooHome"}}},noPluginsSelected:{entry:(0,n.a)({loader:{progress:80}}),invoke:{src:(0,i.p4)((()=>(0,c.dispatch)(g.ONBOARDING_STORE_NAME).updateProfileItems({completed:!0}))),onDone:[{target:"#isJetpackConnected",guard:"hasJpcRequiredPluginActivated"},{actions:"redirectToWooHome"}],onError:{actions:"redirectToWooHome"}}}},meta:{component:ne,progress:100}},isJetpackConnected:{id:"isJetpackConnected",invoke:{src:"getJetpackIsConnected",onDone:[{target:"sendToJetpackAuthPage",guard:({event:e})=>!e.output},{actions:"redirectToWooHome"}]},meta:{component:ne,progress:100}},sendToJetpackAuthPage:{invoke:{src:(0,i.p4)((async()=>(window.wcAdminFeatures["launch-your-store"]&&await(0,c.dispatch)(g.ONBOARDING_STORE_NAME).coreProfilerCompleted(),await(0,c.resolveSelect)(g.ONBOARDING_STORE_NAME).getJetpackAuthUrl({redirectUrl:(0,p.getAdminLink)("admin.php?page=wc-admin"),from:"woocommerce-core-profiler"})))),onDone:{actions:(0,n.b)((({enqueue:e,check:o})=>{o((({event:e})=>e.output.success))?e({type:"redirectToJetpackAuthPage"}):e({type:"redirectToWooHome"})}))}},meta:{component:ne,progress:100}},installPlugins:{on:{PLUGIN_INSTALLED_AND_ACTIVATED:{actions:["updateLoaderProgressWithPluginInstall"]},PLUGINS_INSTALLATION_COMPLETED_WITH_ERRORS:{target:"prePlugins",actions:[(0,n.a)({pluginsInstallationErrors:({event:e})=>e.payload.errors}),{type:"recordFailedPluginInstallations"}]},PLUGINS_INSTALLATION_COMPLETED:{target:"postPluginInstallation.withPluginsSelected",actions:[(0,s.P)("updateProfilerCompletedSteps",{input:{step:"plugins"}}),{type:"recordSuccessfulPluginInstallation"}]}},entry:(0,n.b)((({enqueue:e,check:o})=>{o((0,s.G)([{type:"hasJpcRequiredPluginSelected"},{type:"hasJpcRequiredPluginActivated"}]))&&(e("preFetchIsJetpackConnected"),e("preFetchJetpackAuthUrl")),e((0,n.a)({loader:{progress:10,useStages:"plugins"}}))})),invoke:{src:"pluginInstallerMachine",input:({context:e})=>({selectedPlugins:e.pluginsSelected,pluginsAvailable:e.pluginsAvailable})},meta:{component:ne}}}},settingUpStore:{},redirectingToWooHome:{id:"redirectingToWooHome",invoke:{src:"exitToWooHome"}}}}),Mo=({actionOverrides:e,servicesOverrides:o})=>{const t=(0,l.useMemo)((()=>go.provide({actions:{...co,...e},actors:{...uo,...o},guards:{hasStepInUrl:(e,o)=>{const{step:t}=(0,u.getQuery)();return!!t&&t===o.step},hasJpcRequiredPluginSelected:({context:e})=>e.pluginsSelected.some((o=>{const t=e.pluginsAvailable.find((e=>e.key===o));return!0===t?.requires_jpc})),hasJpcRequiredPluginActivated:({context:e})=>void 0!==e.pluginsAvailable.find((e=>e.requires_jpc&&e.is_activated)),hasPluginInstallationErrors:({context:e})=>e.pluginsInstallationErrors.length>0,userHasNoInstallPluginsPermission:({context:e})=>!0!==e?.currentUser?.capabilities.install_plugins}})),[e,o]),{xstateV5Inspector:i}=(0,je.r)("V5"),[n,s,r]=(0,a.eO)(t,{inspect:i}),c=(0,a.v9)(r,(e=>{var o;return(0,I.r)(null!==(o=e?.getMeta())&&void 0!==o?o:void 0)})),g=c?.progress,M=n.value instanceof Object?Object.keys(n.value)[0]:n.value;(0,pe.p0)(["woocommerce-profile-wizard__body"]);const[p]=(0,ye.X)(r);return(0,_.jsx)(_.Fragment,{children:(0,_.jsx)("div",{className:`woocommerce-profile-wizard__container woocommerce-profile-wizard__step-${M}`,children:p?(0,_.jsx)(p,{navigationProgress:g,sendEvent:s,context:n.context}):(0,_.jsx)(de,{})})})},po=Mo},8016:(e,o,t)=>{function i(e,o=new Set){if(!o.has(e)){o.add(e);for(const t in e)if(e.hasOwnProperty(t)){if("component"===t)return e;if("object"==typeof e[t]&&null!==e[t]){const n=i(e[t],o);if(void 0!==n)return n}}}}t.d(o,{r:()=>i})},62085:(e,o,t)=>{t.d(o,{X:()=>r});var i=t(27363),n=t(99196),s=t(8016);function r(e){const o=(0,i.v9)(e,(e=>{var o;return(0,s.r)(null!==(o=e.getMeta())&&void 0!==o?o:void 0)})),[t,r]=(0,n.useState)(null);return(0,n.useEffect)((()=>{o?.component&&r((()=>o.component))}),[o?.component]),[t||null]}}}]);