????

Your IP : 3.144.101.154


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

/*! For license information please see index.js.LICENSE.txt */
(()=>{var e,t,n,o,r={72471:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var o=n(81514),r=n(17855),s=n.n(r),i=n(32831);const a=n.p+"47c7fb356fcb2d963681.svg";var c=n(99196);const l=c.memo(c.forwardRef(((e,t)=>{const{size:n=24,icon:r,className:c,title:l,...d}=e,u=n%18==0,m=`gridicons-${r}`,p=s()("gridicon",m,c,{"needs-offset":u&&i.iconsThatNeedOffset.includes(m),"needs-offset-x":u&&i.iconsThatNeedOffsetX.includes(m),"needs-offset-y":u&&i.iconsThatNeedOffsetY.includes(m)});return(0,o.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:p,height:n,width:n,ref:t,...d,children:[l&&(0,o.jsx)("title",{children:l}),(0,o.jsx)("use",{xlinkHref:`${a}#${m}`})]})})));l.displayName="Gridicon";const d=l},28302:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var o=n(99196),r=n(60598);function s(e,t){let n,r,i=[];for(let o=0;o<e.length;o++){const s=e[o];if("string"!==s.type){if(void 0===t[s.value])throw new Error(`Invalid interpolation, missing component node: \`${s.value}\``);if("object"!=typeof t[s.value])throw new Error(`Invalid interpolation, component node must be a ReactElement or null: \`${s.value}\``);if("componentClose"===s.type)throw new Error(`Missing opening component token: \`${s.value}\``);if("componentOpen"===s.type){n=t[s.value],r=o;break}i.push(t[s.value])}else i.push(s.value)}if(n){const a=function(e,t){const n=t[e];let o=0;for(let r=e+1;r<t.length;r++){const e=t[r];if(e.value===n.value){if("componentOpen"===e.type){o++;continue}if("componentClose"===e.type){if(0===o)return r;o--}}}throw new Error("Missing closing component token `"+n.value+"`")}(r,e),c=s(e.slice(r+1,a),t),l=(0,o.cloneElement)(n,{},c);if(i.push(l),a<e.length-1){const n=s(e.slice(a+1),t);i=i.concat(n)}}return i=i.filter(Boolean),0===i.length?null:1===i.length?i[0]:(0,o.createElement)(o.Fragment,null,...i)}function i(e){const{mixedString:t,components:n,throwErrors:o}=e;if(!n)return t;if("object"!=typeof n){if(o)throw new Error(`Interpolation Error: unable to process \`${t}\` because components is not an object`);return t}const i=(0,r.Z)(t);try{return s(i,n)}catch(e){if(o)throw new Error(`Interpolation Error: unable to process \`${t}\` because of error \`${e.message}\``);return t}}},60598:(e,t,n)=>{"use strict";function o(e){return e.startsWith("{{/")?{type:"componentClose",value:e.replace(/\W/g,"")}:e.endsWith("/}}")?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.startsWith("{{")?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}function r(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(o)}n.d(t,{Z:()=>r})},59550:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(69307);const r=(0,o.forwardRef)((function({icon:e,size:t=24,...n},r){return(0,o.cloneElement)(e,{width:t,height:t,...n,ref:r})}))},20849:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(70444),r=n(81514);const s=(0,r.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(o.Path,{fillRule:"evenodd",d:"M5 5.5h14a.5.5 0 01.5.5v1.5a.5.5 0 01-.5.5H5a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM4 9.232A2 2 0 013 7.5V6a2 2 0 012-2h14a2 2 0 012 2v1.5a2 2 0 01-1 1.732V18a2 2 0 01-2 2H6a2 2 0 01-2-2V9.232zm1.5.268V18a.5.5 0 00.5.5h12a.5.5 0 00.5-.5V9.5h-13z",clipRule:"evenodd"})})},56592:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(70444),r=n(81514);const s=(0,r.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(o.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})})},2514:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(70444),r=n(81514);const s=(0,r.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(o.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"})})},7637:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(70444),r=n(81514);const s=(0,r.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(o.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})})},66210:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(70444),r=n(81514);const s=(0,r.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(o.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"})})},85800:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(70444),r=n(81514);const s=(0,r.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(o.Path,{d:"M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"})})},82211:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(70444),r=n(81514);const s=(0,r.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(o.Path,{d:"M12 4.75a7.25 7.25 0 100 14.5 7.25 7.25 0 000-14.5zM3.25 12a8.75 8.75 0 1117.5 0 8.75 8.75 0 01-17.5 0zM12 8.75a1.5 1.5 0 01.167 2.99c-.465.052-.917.44-.917 1.01V14h1.5v-.845A3 3 0 109 10.25h1.5a1.5 1.5 0 011.5-1.5zM11.25 15v1.5h1.5V15h-1.5z"})})},75161:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(70444),r=n(81514);const s=(0,r.jsxs)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,r.jsx)(o.Path,{d:"M15.5 7.5h-7V9h7V7.5Zm-7 3.5h7v1.5h-7V11Zm7 3.5h-7V16h7v-1.5Z"}),(0,r.jsx)(o.Path,{d:"M17 4H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2ZM7 5.5h10a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H7a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5Z"})]})},10961:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(70444),r=n(81514);const s=(0,r.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(o.Path,{d:"M10.5 4v4h3V4H15v4h1.5a1 1 0 011 1v4l-3 4v2a1 1 0 01-1 1h-3a1 1 0 01-1-1v-2l-3-4V9a1 1 0 011-1H9V4h1.5zm.5 12.5v2h2v-2l3-4v-3H8v3l3 4z"})})},27363:(e,t,n)=>{"use strict";n.d(t,{eO:()=>u,v9:()=>d});var o=n(99196),r=n(78111),s=n(75628),i=n(45931),a=n(91185);const c=(e,t)=>{t(e);const n=e.getSnapshot().children;n&&Object.values(n).forEach((e=>{c(e,t)}))};function l(e,t){return e===t}function d(e,t,n=l){const r=(0,o.useCallback)((t=>{if(!e)return()=>{};const{unsubscribe:n}=e.subscribe(t);return n}),[e]),s=(0,o.useCallback)((()=>e?.getSnapshot()),[e]);return(0,a.useSyncExternalStoreWithSelector)(r,s,s,t,n)}function u(e,t={}){return function(e,t={}){const n=function(e,t){let[[n,r],a]=(0,o.useState)((()=>{const n=(0,i.A)(e,t);return[e.config,n]}));if(e.config!==n){const n=(0,i.A)(e,{...t,snapshot:r.getPersistedSnapshot({__unsafeAllowInlineActors:!0})});a([e.config,n]),r=n}return(0,s.Z)((()=>{r.logic.implementations=e.implementations})),r}(e,t),a=(0,o.useCallback)((()=>n.getSnapshot()),[n]),l=(0,o.useCallback)((e=>{const{unsubscribe:t}=n.subscribe(e);return t}),[n]),d=(0,r.useSyncExternalStore)(l,a,a);return(0,o.useEffect)((()=>(n.start(),()=>{!function(e){const t=[];c(e,(e=>{t.push([e,e.getSnapshot()]),e.observers=new Set}));const n=e.system.getSnapshot?.();e.stop(),e.system._snapshot=n,t.forEach((([e,t])=>{e._processingStatus=0,e._snapshot=t}))}(n)})),[n]),[d,n.send,n]}(e,t)}},56044:(e,t,n)=>{"use strict";function o(e,t,n="local"){const o="session"===n?sessionStorage:localStorage;return{setWithExpiry:n=>{const r=new Date,s={data:n,expiry:new Date(r.getTime()+1e3*t).toISOString()};o.setItem(e,JSON.stringify(s))},getWithExpiry:()=>{const t=o.getItem(e);if(!t)return null;const n=JSON.parse(t);return new Date>new Date(n.expiry)?(o.removeItem(e),null):n.data},remove:()=>{o.removeItem(e)}}}n.d(t,{D:()=>o,e:()=>r});const r=({taskId:e,referralLifetime:t=60})=>o(`wc_admin_task_referral_${e}`,t,"session")},76025:(e,t,n)=>{"use strict";n.d(t,{Loader:()=>Z,SetupRequired:()=>C,WCPayBanner:()=>g,WCPayBannerBody:()=>f,WCPayBannerFooter:()=>p,WCPayBannerImageCut:()=>c,WCPayBenefits:()=>b,WooOnboardingTask:()=>I,WooOnboardingTaskListHeader:()=>N,WooOnboardingTaskListItem:()=>S,WooPaymentGatewayConfigure:()=>M,WooPaymentGatewaySetup:()=>E,WooPaymentsMethodsLogos:()=>m,accessTaskReferralStorage:()=>j.e,createStorageUtils:()=>j.D,findCountryOption:()=>O,getCountry:()=>P});var o=n(55609),r=n(14812),s=n(69307),i=(n(86020),n(65736));const a=()=>(0,s.createElement)("svg",{width:"294",height:"275",viewBox:"0 0 294 275",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)("g",{clipPath:"url(#clip0_255_63852)"},(0,s.createElement)("path",{d:"M0.5 10C0.5 4.47716 4.97715 0 10.5 0H725.5C731.023 0 735.5 4.47715 735.5 10V332H0.5V10Z",fill:"#F6F7F7"}),(0,s.createElement)("circle",{cx:"17.5",cy:"14",r:"5",fill:"#D94F4F"}),(0,s.createElement)("circle",{cx:"35.5",cy:"14",r:"5",fill:"#F0B849"}),(0,s.createElement)("circle",{cx:"53.5",cy:"14",r:"5",fill:"#4AB866"}),(0,s.createElement)("rect",{x:"3.5",y:"28",width:"287",height:"304",fill:"white"}),(0,s.createElement)("line",{x1:"27.5",y1:"95.5",x2:"270.5",y2:"95.5",stroke:"#DCDCDE"}),(0,s.createElement)("line",{x1:"49.5",y1:"157.5",x2:"253.5",y2:"157.5",stroke:"#DCDCDE"}),(0,s.createElement)("line",{x1:"49.5",y1:"198.5",x2:"253.5",y2:"198.5",stroke:"#DCDCDE"}),(0,s.createElement)("rect",{x:"28",y:"116.5",width:"242",height:"127",rx:"9.5",stroke:"#DCDCDE"}),(0,s.createElement)("path",{d:"M50.3984 135.954V143H52.8154C54.9102 143 56.1406 141.696 56.1406 139.475C56.1406 137.258 54.9053 135.954 52.8154 135.954H50.3984ZM51.2773 136.745H52.7568C54.3193 136.745 55.2422 137.761 55.2422 139.484C55.2422 141.203 54.3291 142.209 52.7568 142.209H51.2773V136.745ZM61.043 141.638C60.8232 142.102 60.3643 142.351 59.6855 142.351C58.792 142.351 58.2109 141.691 58.167 140.651V140.612H61.9512V140.29C61.9512 138.654 61.0869 137.644 59.666 137.644C58.2207 137.644 57.293 138.718 57.293 140.373C57.293 142.038 58.2061 143.093 59.666 143.093C60.8184 143.093 61.6387 142.536 61.8828 141.638H61.043ZM59.6562 138.386C60.4912 138.386 61.0479 139.001 61.0674 139.934H58.167C58.2305 139.001 58.8164 138.386 59.6562 138.386ZM65.833 137.644C65.1152 137.644 64.4854 138.01 64.1484 138.615H64.0703V137.736H63.2695V144.758H64.1094V142.209H64.1875C64.4756 142.766 65.0811 143.093 65.833 143.093C67.1709 143.093 68.0449 142.014 68.0449 140.368C68.0449 138.713 67.1758 137.644 65.833 137.644ZM65.6328 142.336C64.6855 142.336 64.085 141.574 64.085 140.368C64.085 139.157 64.6855 138.4 65.6377 138.4C66.5996 138.4 67.1758 139.138 67.1758 140.368C67.1758 141.599 66.5996 142.336 65.6328 142.336ZM71.5264 143.093C73.0254 143.093 73.9531 142.058 73.9531 140.368C73.9531 138.674 73.0254 137.644 71.5264 137.644C70.0273 137.644 69.0996 138.674 69.0996 140.368C69.0996 142.058 70.0273 143.093 71.5264 143.093ZM71.5264 142.336C70.5303 142.336 69.9688 141.613 69.9688 140.368C69.9688 139.118 70.5303 138.4 71.5264 138.4C72.5225 138.4 73.084 139.118 73.084 140.368C73.084 141.613 72.5225 142.336 71.5264 142.336ZM75.1494 139.177C75.1494 139.938 75.5986 140.363 76.585 140.603L77.4883 140.822C78.0498 140.959 78.3232 141.203 78.3232 141.564C78.3232 142.048 77.8154 142.385 77.1074 142.385C76.4336 142.385 76.0137 142.102 75.8721 141.657H75.0078C75.1006 142.531 75.9062 143.093 77.0781 143.093C78.2744 143.093 79.1875 142.443 79.1875 141.501C79.1875 140.744 78.709 140.314 77.7178 140.075L76.9072 139.88C76.2871 139.729 75.9941 139.504 75.9941 139.143C75.9941 138.674 76.4824 138.356 77.1074 138.356C77.7422 138.356 78.1523 138.635 78.2646 139.055H79.0947C78.9824 138.19 78.2158 137.644 77.1123 137.644C75.9941 137.644 75.1494 138.303 75.1494 139.177ZM80.9453 136.721C81.2676 136.721 81.5312 136.457 81.5312 136.135C81.5312 135.812 81.2676 135.549 80.9453 135.549C80.623 135.549 80.3594 135.812 80.3594 136.135C80.3594 136.457 80.623 136.721 80.9453 136.721ZM80.5254 143H81.3652V137.736H80.5254V143ZM83.3184 136.374V137.736H82.4688V138.439H83.3184V141.633C83.3184 142.639 83.7529 143.039 84.8369 143.039C85.0029 143.039 85.1641 143.02 85.3301 142.99V142.282C85.1738 142.297 85.0908 142.302 84.9395 142.302C84.3926 142.302 84.1582 142.038 84.1582 141.418V138.439H85.3301V137.736H84.1582V136.374H83.3184Z",fill:"#2C3338"}),(0,s.createElement)("path",{d:"M126.459 143.708H127.045V142.863C128.197 142.775 129.154 142.136 129.154 140.959C129.154 139.934 128.451 139.416 127.196 139.113L127.045 139.079V136.857C127.704 136.94 128.173 137.326 128.236 137.985H129.086C129.052 136.906 128.173 136.193 127.045 136.091V135.246H126.459V136.096C125.302 136.198 124.477 136.892 124.477 137.941C124.477 138.903 125.131 139.445 126.347 139.738L126.459 139.768V142.097C125.614 142.004 125.238 141.54 125.15 140.93H124.301C124.335 142.067 125.297 142.756 126.459 142.858V143.708ZM125.326 137.883C125.326 137.409 125.717 136.96 126.459 136.862V138.938C125.619 138.732 125.326 138.361 125.326 137.883ZM127.074 139.914C128.041 140.148 128.305 140.49 128.305 141.027C128.305 141.589 127.953 142.033 127.045 142.102V139.909L127.074 139.914ZM132.25 139.753H133.124C134.115 139.753 134.726 140.261 134.726 141.076C134.726 141.867 134.066 142.399 133.139 142.399C132.23 142.399 131.596 141.926 131.518 141.184H130.668C130.731 142.38 131.718 143.166 133.148 143.166C134.55 143.166 135.629 142.282 135.629 141.101C135.629 140.119 135.023 139.499 134.11 139.353V139.274C134.833 139.064 135.36 138.503 135.365 137.653C135.37 136.667 134.569 135.788 133.178 135.788C131.752 135.788 130.878 136.633 130.79 137.78H131.645C131.718 136.989 132.27 136.555 133.119 136.555C133.969 136.555 134.472 137.092 134.472 137.751C134.472 138.483 133.896 139.001 133.085 139.001H132.25V139.753ZM139.384 143.166C140.824 143.166 141.806 142.17 141.806 140.72C141.806 139.323 140.829 138.396 139.647 138.396C138.944 138.396 138.422 138.61 138.08 139.035H138.002L138.222 136.74H141.444V135.954H137.533L137.128 139.982H137.953C138.231 139.46 138.759 139.152 139.428 139.152C140.316 139.152 140.927 139.792 140.927 140.744C140.927 141.73 140.316 142.395 139.394 142.395C138.563 142.395 137.958 141.892 137.88 141.14H137.016C137.094 142.346 138.051 143.166 139.384 143.166ZM143.188 137.941H144.037C144.037 137.106 144.599 136.555 145.443 136.555C146.273 136.555 146.776 137.111 146.776 137.858C146.776 138.479 146.513 138.845 145.614 139.816L143.231 142.395V143H147.792V142.209H144.452V142.131L146.054 140.476C147.323 139.162 147.675 138.576 147.675 137.766C147.675 136.623 146.732 135.788 145.502 135.788C144.154 135.788 143.188 136.687 143.188 137.941ZM149.828 143.049C150.18 143.049 150.463 142.761 150.463 142.414C150.463 142.062 150.18 141.779 149.828 141.779C149.481 141.779 149.193 142.062 149.193 142.414C149.193 142.761 149.481 143.049 149.828 143.049ZM153.959 143.161C155.683 143.161 156.669 141.774 156.669 139.353C156.669 136.955 155.536 135.788 154.018 135.788C152.572 135.788 151.547 136.799 151.547 138.215C151.547 139.582 152.519 140.573 153.861 140.573C154.701 140.573 155.39 140.173 155.736 139.489H155.814C155.766 141.364 155.116 142.38 153.969 142.38C153.275 142.38 152.738 141.994 152.553 141.359H151.649C151.869 142.468 152.763 143.161 153.959 143.161ZM154.018 139.812C153.085 139.812 152.436 139.147 152.436 138.186C152.436 137.263 153.124 136.56 154.027 136.56C154.931 136.56 155.619 137.272 155.619 138.215C155.619 139.147 154.95 139.812 154.018 139.812ZM160.336 143.161C162.06 143.161 163.046 141.774 163.046 139.353C163.046 136.955 161.913 135.788 160.395 135.788C158.949 135.788 157.924 136.799 157.924 138.215C157.924 139.582 158.896 140.573 160.238 140.573C161.078 140.573 161.767 140.173 162.113 139.489H162.191C162.143 141.364 161.493 142.38 160.346 142.38C159.652 142.38 159.115 141.994 158.93 141.359H158.026C158.246 142.468 159.14 143.161 160.336 143.161ZM160.395 139.812C159.462 139.812 158.812 139.147 158.812 138.186C158.812 137.263 159.501 136.56 160.404 136.56C161.308 136.56 161.996 137.272 161.996 138.215C161.996 139.147 161.327 139.812 160.395 139.812Z",fill:"#2C3338"}),(0,s.createElement)("rect",{x:"196",y:"132",width:"43",height:"14",rx:"7",fill:"#B8E6BF"}),(0,s.createElement)("path",{d:"M209.719 136.363V142H210.422V139.988H211.84C212.898 139.988 213.652 139.242 213.652 138.188C213.652 137.113 212.914 136.363 211.848 136.363H209.719ZM210.422 136.988H211.664C212.48 136.988 212.93 137.414 212.93 138.188C212.93 138.934 212.465 139.363 211.664 139.363H210.422V136.988ZM215.734 142.074C216.297 142.074 216.758 141.828 217.031 141.379H217.094V142H217.734V139.117C217.734 138.242 217.16 137.715 216.133 137.715C215.234 137.715 214.57 138.16 214.48 138.836H215.16C215.254 138.504 215.605 138.312 216.109 138.312C216.738 138.312 217.062 138.598 217.062 139.117V139.5L215.848 139.574C214.867 139.633 214.312 140.066 214.312 140.82C214.312 141.59 214.918 142.074 215.734 142.074ZM215.859 141.484C215.371 141.484 215.008 141.234 215.008 140.805C215.008 140.383 215.289 140.16 215.93 140.117L217.062 140.043V140.43C217.062 141.031 216.551 141.484 215.859 141.484ZM219.328 136.977C219.586 136.977 219.797 136.766 219.797 136.508C219.797 136.25 219.586 136.039 219.328 136.039C219.07 136.039 218.859 136.25 218.859 136.508C218.859 136.766 219.07 136.977 219.328 136.977ZM218.992 142H219.664V137.789H218.992V142ZM222.504 142.074C223.086 142.074 223.586 141.797 223.852 141.328H223.914V142H224.555V136.117H223.883V138.453H223.824C223.586 137.992 223.09 137.715 222.504 137.715C221.434 137.715 220.734 138.574 220.734 139.895C220.734 141.219 221.426 142.074 222.504 142.074ZM222.66 138.32C223.422 138.32 223.898 138.93 223.898 139.895C223.898 140.867 223.426 141.469 222.66 141.469C221.891 141.469 221.43 140.879 221.43 139.895C221.43 138.914 221.895 138.32 222.66 138.32Z",fill:"#00450C"}),(0,s.createElement)("rect",{x:"192.5",y:"173",width:"50",height:"10",rx:"5",fill:"#B8E6BF"}),(0,s.createElement)("rect",{x:"49.5",y:"174",width:"50",height:"8",rx:"2",fill:"#DCDCDE"}),(0,s.createElement)("rect",{x:"132.5",y:"170",width:"22.7796",height:"16",rx:"4",fill:"#F6F7F7"}),(0,s.createElement)("path",{d:"M143.507 182.856C144.227 182.856 144.869 182.747 145.435 182.528C146.004 182.305 146.451 181.981 146.774 181.558C147.103 181.129 147.267 180.612 147.267 180.006V179.992C147.267 179.24 147.025 178.659 146.542 178.249C146.063 177.839 145.357 177.529 144.423 177.319L143.404 177.094C142.853 176.966 142.454 176.809 142.208 176.622C141.962 176.435 141.839 176.201 141.839 175.918V175.904C141.839 175.695 141.903 175.508 142.03 175.344C142.158 175.18 142.347 175.05 142.598 174.954C142.848 174.858 143.158 174.811 143.527 174.811C143.855 174.811 144.147 174.861 144.402 174.961C144.658 175.061 144.865 175.209 145.024 175.405C145.184 175.597 145.28 175.836 145.312 176.123L145.318 176.137L147.13 176.13L147.137 176.123C147.114 175.544 146.948 175.043 146.638 174.619C146.332 174.191 145.911 173.86 145.373 173.628C144.84 173.396 144.215 173.279 143.5 173.279C142.816 173.279 142.206 173.391 141.668 173.614C141.13 173.833 140.706 174.15 140.396 174.564C140.087 174.979 139.932 175.476 139.932 176.055V176.068C139.932 176.802 140.169 177.381 140.643 177.805C141.117 178.229 141.8 178.541 142.693 178.741L143.712 178.974C144.332 179.11 144.76 179.27 144.997 179.452C145.239 179.63 145.359 179.878 145.359 180.197V180.211C145.359 180.439 145.291 180.637 145.154 180.806C145.022 180.974 144.822 181.104 144.553 181.195C144.284 181.282 143.944 181.325 143.534 181.325C143.142 181.325 142.812 181.275 142.543 181.175C142.274 181.075 142.062 180.931 141.907 180.744C141.757 180.553 141.659 180.327 141.613 180.067V180.061H139.788L139.781 180.067C139.804 180.664 139.977 181.17 140.301 181.585C140.629 182 141.069 182.316 141.62 182.535C142.176 182.749 142.805 182.856 143.507 182.856ZM143.151 183.971H143.938V172.145H143.151V183.971Z",fill:"#C3C4C7"}),(0,s.createElement)("rect",{x:"192.5",y:"214",width:"50",height:"10",rx:"5",fill:"#B8E6BF"}),(0,s.createElement)("rect",{x:"49.5",y:"215",width:"50",height:"8",rx:"2",fill:"#DCDCDE"}),(0,s.createElement)("rect",{x:"132.5",y:"211",width:"22.7796",height:"16",rx:"4",fill:"#F6F7F7"}),(0,s.createElement)("path",{d:"M145.879 223.856C146.143 223.856 146.403 223.847 146.658 223.829C146.913 223.806 147.13 223.774 147.308 223.733V222.072C147.139 222.104 146.927 222.129 146.672 222.147C146.417 222.161 146.177 222.168 145.954 222.168C145.444 222.168 144.983 222.106 144.573 221.983C144.168 221.856 143.819 221.664 143.527 221.409C143.24 221.149 143.019 220.826 142.864 220.438C142.709 220.051 142.632 219.595 142.632 219.071V219.064C142.632 218.545 142.707 218.091 142.857 217.704C143.012 217.317 143.233 216.995 143.521 216.74C143.812 216.48 144.159 216.287 144.56 216.159C144.961 216.027 145.41 215.961 145.906 215.961C146.148 215.961 146.392 215.972 146.638 215.995C146.884 216.018 147.098 216.048 147.28 216.084V214.437C147.103 214.386 146.879 214.348 146.61 214.32C146.341 214.293 146.082 214.279 145.831 214.279C145.065 214.279 144.364 214.38 143.726 214.58C143.092 214.781 142.543 215.081 142.078 215.482C141.613 215.883 141.253 216.382 140.998 216.979C140.747 217.576 140.622 218.269 140.622 219.058V219.064C140.622 219.857 140.747 220.555 140.998 221.156C141.253 221.753 141.613 222.252 142.078 222.653C142.548 223.05 143.104 223.351 143.746 223.556C144.389 223.756 145.1 223.856 145.879 223.856ZM139.46 220.425H146.542V219.639H139.46V220.425ZM139.46 218.531H146.542V217.745H139.46V218.531Z",fill:"#C3C4C7"}),(0,s.createElement)("path",{fill:"#7F54B3",fillRule:"evenodd",d:"M33.24 50.42H62.2a3.32 3.32 0 0 1 3.31 3.31v11.05a3.32 3.32 0 0 1-3.3 3.3H51.8l1.43 3.5-6.28-3.5H33.23a3.32 3.32 0 0 1-3.3-3.3V53.73c0-1.82 1.48-3.3 3.31-3.3Z",clipRule:"evenodd"}),(0,s.createElement)("path",{fill:"#fff",d:"M31.72 53.42c.23-.27.55-.44.91-.45.74-.05 1.16.3 1.27 1.04.45 3.03.94 5.61 1.46 7.73l3.19-6.06c.3-.55.65-.84 1.1-.87.63-.04 1.03.36 1.19 1.23.3 1.7.76 3.36 1.37 4.96.39-3.68 1.02-6.36 1.92-8 .18-.38.54-.62.96-.64.33-.03.66.07.91.29.26.2.42.5.44.84.02.24-.03.49-.14.7-.56 1.05-1.03 2.8-1.4 5.24-.36 2.36-.5 4.22-.4 5.54.03.33-.03.66-.17.95-.14.3-.45.51-.78.53-.38.03-.76-.15-1.14-.53-1.36-1.39-2.43-3.45-3.22-6.19l-2.1 4.2c-.85 1.64-1.59 2.47-2.2 2.52-.39.03-.72-.3-1-1-.74-1.9-1.54-5.57-2.4-11.03-.07-.35.01-.72.23-1ZM62.96 55.7a3.4 3.4 0 0 0-2.32-1.68 3.77 3.77 0 0 0-.8-.08c-1.38 0-2.52.72-3.4 2.17a7.67 7.67 0 0 0-1.13 4.1c0 1.11.23 2.07.7 2.87a3.4 3.4 0 0 0 2.32 1.69c.26.05.52.08.79.08 1.4 0 2.54-.72 3.41-2.17a7.74 7.74 0 0 0 1.13-4.12c0-1.11-.24-2.06-.7-2.85Zm-1.83 4.04c-.2.95-.57 1.67-1.11 2.16-.42.38-.82.53-1.18.47-.35-.08-.64-.39-.85-.94a3.74 3.74 0 0 1-.26-1.33 4.78 4.78 0 0 1 .87-2.8c.49-.7 1-1 1.52-.89.36.08.64.39.86.94.16.43.25.87.25 1.32 0 .36-.03.72-.1 1.07ZM53.86 55.7a3.4 3.4 0 0 0-2.33-1.68 3.76 3.76 0 0 0-.79-.08c-1.39 0-2.53.72-3.41 2.17a7.67 7.67 0 0 0-1.13 4.1c0 1.11.23 2.07.7 2.87a3.4 3.4 0 0 0 2.32 1.69c.26.05.52.08.79.08 1.4 0 2.54-.72 3.41-2.17a7.84 7.84 0 0 0 1.14-4.12c0-1.12-.23-2.07-.7-2.86Zm-1.84 4.04a3.8 3.8 0 0 1-1.1 2.16c-.43.38-.83.53-1.18.47-.36-.08-.64-.39-.86-.94a3.74 3.74 0 0 1-.25-1.33c0-.36.03-.71.1-1.06.14-.62.4-1.2.77-1.73.48-.7.99-1 1.51-.9.36.08.64.39.86.94.16.43.26.87.26 1.32 0 .36-.04.72-.1 1.07Z"}),(0,s.createElement)("path",{fill:"#000",d:"M68.52 54.4h3.36c1.19 0 2.14.27 2.85.84a2.7 2.7 0 0 1 1.07 2.23 2.7 2.7 0 0 1-1.09 2.27c-.72.55-1.73.83-3.02.83h-.47v3.8H68.5v-9.98h.02Zm2.71 1.9v2.35c.61 0 1.07-.1 1.35-.29.29-.19.43-.48.43-.87 0-.44-.14-.74-.42-.9a2.64 2.64 0 0 0-1.36-.29ZM84.24 64.36h-2.82l-.46-1.66h-2.87l-.47 1.66h-2.77l3.17-9.97h3.05l3.17 9.97Zm-3.8-3.46c-.4-1.48-.71-2.9-.91-4.23h-.04c-.21 1.38-.52 2.8-.9 4.23h1.85ZM82.62 54.4h3.04a55.3 55.3 0 0 1 1.47 3.3h.04c.3-.8.79-1.9 1.45-3.3h3.11l-3.2 5.45v4.5h-2.75v-4.5l-3.16-5.46ZM92.58 54.4h3.43c.5 2.15.88 3.99 1.16 5.54l.3-1.54c.11-.6.24-1.19.38-1.76l.53-2.24h3.5l1.36 9.97h-2.7l-.72-6.86-1.67 6.86H96.3l-1.75-6.86-.7 6.86h-2.57l1.29-9.98ZM104.06 54.4h5.5v2.1h-2.78v1.84h2.4v2.07h-2.4v1.82h2.79v2.12h-5.51V54.4ZM110.58 54.4h2.73l3.46 5.74-.1-1.07v-4.68h2.72v9.97h-2.78l-3.38-5.66.07 1.24v4.42h-2.71V54.4h-.01ZM120.1 54.4h6.49v2.27h-1.87v7.7h-2.75v-7.7h-1.85v-2.28h-.01ZM127.7 64.18v-2.33c.86.42 1.58.63 2.17.63.34 0 .61-.07.81-.23.2-.16.3-.37.3-.62 0-.2-.08-.39-.24-.57a4.05 4.05 0 0 0-.82-.63 9 9 0 0 1-2.04-1.66 2.65 2.65 0 0 1-.63-1.73c0-.86.33-1.56.98-2.1a3.8 3.8 0 0 1 2.53-.82c.76 0 1.52.14 2.27.41v2.23a5.08 5.08 0 0 0-1.96-.55c-.34 0-.6.06-.8.2-.19.14-.28.33-.28.57 0 .41.45.88 1.35 1.4.54.32 1.08.75 1.64 1.32a2.68 2.68 0 0 1-.26 4.08c-.72.56-1.63.85-2.74.85-.77-.01-1.53-.16-2.28-.45Z"})),(0,s.createElement)("defs",null,(0,s.createElement)("clipPath",{id:"clip0_255_63852"},(0,s.createElement)("path",{d:"M0.5 0H283.5C289.023 0 293.5 4.47715 293.5 10V275H0.5V0Z",fill:"white"})),(0,s.createElement)("clipPath",{id:"clip1_255_63852"},(0,s.createElement)("rect",{width:"120",height:"39.7959",fill:"white",transform:"translate(27.5 45)"})))),c=()=>(0,s.createElement)("svg",{width:"310",height:"282",viewBox:"0 0 307 282",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)("g",{filter:"url(#filter0_d_889_14107)"},(0,s.createElement)("path",{d:"M16 26C16 20.4772 20.4772 16 26 16H309V44H16V26Z",fill:"#F2EDFF"}),(0,s.createElement)("path",{d:"M16 44H309V256H26C20.4771 256 16 251.523 16 246V44Z",fill:"white"})),(0,s.createElement)("path",{d:"M42.5 115C42.5 109.753 46.7533 105.5 52 105.5H308.5V232.5H52C46.7533 232.5 42.5 228.247 42.5 223V115Z",fill:"white",stroke:"#DCDCDE"}),(0,s.createElement)("path",{d:"M64.8545 130V122.954H67.6279C69.7227 122.954 70.9336 124.219 70.9336 126.426V126.436C70.9336 128.711 69.7373 130 67.6279 130H64.8545ZM66.3291 128.784H67.3936C68.6973 128.784 69.4297 127.964 69.4297 126.46V126.45C69.4297 125 68.6729 124.17 67.3936 124.17H66.3291V128.784ZM74.5566 130.112C72.9209 130.112 71.9297 129.043 71.9297 127.319V127.314C71.9297 125.605 72.9307 124.507 74.498 124.507C76.0654 124.507 77.042 125.581 77.042 127.207V127.651H73.3408C73.3555 128.535 73.8291 129.048 74.5859 129.048C75.2109 129.048 75.5576 128.716 75.6553 128.511L75.6699 128.481H76.998L76.9883 128.53C76.8223 129.204 76.1289 130.112 74.5566 130.112ZM74.5225 125.576C73.9023 125.576 73.4434 125.996 73.3555 126.758H75.6748C75.5869 125.977 75.1426 125.576 74.5225 125.576ZM78.209 131.782V124.624H79.6348V125.454H79.7227C80.001 124.878 80.5723 124.536 81.334 124.536C82.6768 124.536 83.5166 125.591 83.5166 127.305V127.314C83.5166 129.043 82.6963 130.083 81.334 130.083C80.5967 130.083 79.9961 129.727 79.7227 129.141H79.6348V131.782H78.209ZM80.8457 128.901C81.5977 128.901 82.0664 128.301 82.0664 127.314V127.305C82.0664 126.318 81.6025 125.718 80.8457 125.718C80.0938 125.718 79.6201 126.318 79.6201 127.305V127.314C79.6201 128.301 80.0986 128.901 80.8457 128.901ZM87.0713 130.112C85.416 130.112 84.4199 129.062 84.4199 127.314V127.305C84.4199 125.571 85.4307 124.507 87.0713 124.507C88.7119 124.507 89.7227 125.566 89.7227 127.305V127.314C89.7227 129.067 88.7266 130.112 87.0713 130.112ZM87.0713 128.994C87.8281 128.994 88.2627 128.374 88.2627 127.314V127.305C88.2627 126.255 87.8232 125.625 87.0713 125.625C86.3145 125.625 85.8799 126.255 85.8799 127.305V127.314C85.8799 128.374 86.3096 128.994 87.0713 128.994ZM93.0234 130.112C91.5635 130.112 90.7334 129.458 90.6309 128.535L90.626 128.516H92.0273L92.0371 128.535C92.1494 128.867 92.4766 129.106 93.0381 129.106C93.585 129.106 93.9561 128.872 93.9561 128.516V128.506C93.9561 128.218 93.7412 128.037 93.1943 127.915L92.2959 127.725C91.2705 127.505 90.7627 127.002 90.7627 126.196V126.191C90.7627 125.181 91.6611 124.507 93.0039 124.507C94.415 124.507 95.1963 125.21 95.2549 126.074V126.094H93.9316L93.9268 126.069C93.8486 125.781 93.5312 125.513 92.999 125.513C92.5059 125.513 92.1543 125.742 92.1543 126.104V126.108C92.1543 126.396 92.3545 126.562 92.9111 126.685L93.8047 126.875C94.8789 127.104 95.3818 127.554 95.3818 128.35V128.354C95.3818 129.419 94.4004 130.112 93.0234 130.112ZM97.2764 123.799C96.8369 123.799 96.4707 123.447 96.4707 123.008C96.4707 122.563 96.8369 122.212 97.2764 122.212C97.7158 122.212 98.0771 122.563 98.0771 123.008C98.0771 123.447 97.7158 123.799 97.2764 123.799ZM96.5586 130V124.624H97.9844V130H96.5586ZM101.651 130.02C100.343 130.02 99.8154 129.595 99.8154 128.55V125.698H98.9854V124.624H99.8154V123.34H101.256V124.624H102.364V125.698H101.256V128.223C101.256 128.706 101.461 128.921 101.944 128.921C102.13 128.921 102.228 128.911 102.364 128.896V129.956C102.188 129.99 101.925 130.02 101.651 130.02Z",fill:"#2C3338"}),(0,s.createElement)("path",{d:"M141.11 130.693V129.893C139.738 129.814 138.742 129.121 138.703 127.905L138.708 127.9H140.012V127.905C140.095 128.403 140.441 128.726 141.11 128.789V127.036L140.783 126.958C139.509 126.67 138.811 126.099 138.811 125.049V125.039C138.811 123.877 139.768 123.145 141.11 123.066V122.246H141.672V123.066C143.024 123.169 143.908 123.94 143.957 125.088L143.952 125.093L142.658 125.098L142.653 125.088C142.585 124.565 142.219 124.253 141.672 124.17V125.869L142.019 125.942C143.352 126.245 144.05 126.782 144.05 127.852V127.861C144.05 129.077 143.059 129.795 141.672 129.888V130.693H141.11ZM140.173 124.941C140.173 125.317 140.451 125.562 141.11 125.737V124.165C140.495 124.233 140.173 124.536 140.173 124.932V124.941ZM142.688 127.998C142.688 127.573 142.429 127.354 141.672 127.163V128.794C142.351 128.73 142.688 128.447 142.688 128.008V127.998ZM148.063 130.156C146.472 130.156 145.422 129.302 145.324 128.042L145.319 127.979H146.73L146.735 128.032C146.799 128.579 147.302 128.97 148.063 128.97C148.815 128.97 149.309 128.55 149.309 127.954V127.944C149.309 127.271 148.806 126.899 147.951 126.899H147.146V125.85H147.932C148.674 125.85 149.152 125.459 149.152 124.888V124.878C149.152 124.292 148.747 123.931 148.054 123.931C147.36 123.931 146.896 124.307 146.838 124.893L146.833 124.937H145.476L145.48 124.878C145.583 123.618 146.574 122.798 148.054 122.798C149.567 122.798 150.544 123.56 150.544 124.683V124.692C150.544 125.571 149.899 126.143 149.074 126.313V126.343C150.124 126.44 150.808 127.046 150.808 128.003V128.013C150.808 129.292 149.709 130.156 148.063 130.156ZM154.792 130.181C153.283 130.181 152.287 129.282 152.204 128.105L152.199 128.037H153.537L153.547 128.071C153.649 128.589 154.133 129.004 154.797 129.004C155.554 129.004 156.081 128.472 156.081 127.715V127.705C156.081 126.953 155.549 126.431 154.802 126.431C154.445 126.431 154.143 126.533 153.908 126.733C153.776 126.841 153.659 126.973 153.581 127.124H152.316L152.644 122.954H157.048V124.126H153.791L153.615 126.133H153.703C153.986 125.659 154.533 125.366 155.207 125.366C156.521 125.366 157.468 126.333 157.468 127.676V127.686C157.468 129.17 156.374 130.181 154.792 130.181ZM158.762 130V129.009L161.032 126.768C162.023 125.806 162.292 125.449 162.292 124.956V124.941C162.292 124.341 161.882 123.921 161.208 123.921C160.52 123.921 160.046 124.38 160.046 125.049V125.073H158.684L158.679 125.054C158.679 123.701 159.733 122.773 161.276 122.773C162.727 122.773 163.742 123.604 163.742 124.819V124.834C163.742 125.635 163.327 126.299 162.043 127.485L160.739 128.701V128.813H163.845V130H158.762ZM166.145 130.122C165.646 130.122 165.285 129.756 165.285 129.272C165.285 128.789 165.646 128.428 166.145 128.428C166.647 128.428 167.004 128.789 167.004 129.272C167.004 129.756 166.647 130.122 166.145 130.122ZM170.783 122.769C172.414 122.769 173.693 123.931 173.693 126.406V126.416C173.693 128.774 172.58 130.176 170.773 130.176C169.411 130.176 168.4 129.37 168.181 128.267L168.171 128.223H169.616L169.631 128.267C169.802 128.706 170.202 129.004 170.769 129.004C171.789 129.004 172.238 128.003 172.292 126.719C172.292 126.67 172.292 126.616 172.292 126.562H172.194C171.94 127.104 171.354 127.593 170.378 127.593C169.006 127.593 168.083 126.616 168.083 125.283V125.273C168.083 123.833 169.196 122.769 170.783 122.769ZM170.783 126.504C171.511 126.504 172.072 125.986 172.072 125.259V125.249C172.072 124.512 171.511 123.94 170.793 123.94C170.08 123.94 169.509 124.502 169.509 125.22V125.229C169.509 125.972 170.046 126.504 170.783 126.504ZM177.619 122.769C179.25 122.769 180.529 123.931 180.529 126.406V126.416C180.529 128.774 179.416 130.176 177.609 130.176C176.247 130.176 175.236 129.37 175.017 128.267L175.007 128.223H176.452L176.467 128.267C176.638 128.706 177.038 129.004 177.604 129.004C178.625 129.004 179.074 128.003 179.128 126.719C179.128 126.67 179.128 126.616 179.128 126.562H179.03C178.776 127.104 178.19 127.593 177.214 127.593C175.842 127.593 174.919 126.616 174.919 125.283V125.273C174.919 123.833 176.032 122.769 177.619 122.769ZM177.619 126.504C178.347 126.504 178.908 125.986 178.908 125.259V125.249C178.908 124.512 178.347 123.94 177.629 123.94C176.916 123.94 176.345 124.502 176.345 125.22V125.229C176.345 125.972 176.882 126.504 177.619 126.504Z",fill:"#2C3338"}),(0,s.createElement)("rect",{x:"210.5",y:"119",width:"44",height:"14",rx:"7",fill:"#B8E6BF"}),(0,s.createElement)("path",{d:"M224.184 129V123.363H226.508C227.695 123.363 228.488 124.129 228.488 125.289V125.297C228.488 126.457 227.695 127.223 226.508 127.223H225.363V129H224.184ZM226.219 124.297H225.363V126.301H226.219C226.895 126.301 227.293 125.941 227.293 125.301V125.293C227.293 124.652 226.895 124.297 226.219 124.297ZM230.477 129.066C229.656 129.066 229.074 128.559 229.074 127.777V127.77C229.074 126.996 229.672 126.543 230.742 126.48L231.781 126.418V126.062C231.781 125.691 231.527 125.48 231.059 125.48C230.648 125.48 230.387 125.625 230.297 125.879L230.289 125.895H229.234L229.238 125.859C229.328 125.105 230.039 124.605 231.121 124.605C232.262 124.605 232.906 125.145 232.906 126.062V129H231.781V128.43H231.711C231.492 128.828 231.039 129.066 230.477 129.066ZM230.188 127.707C230.188 128.035 230.465 128.234 230.859 128.234C231.387 128.234 231.781 127.887 231.781 127.434V127.117L230.914 127.172C230.426 127.203 230.188 127.387 230.188 127.699V127.707ZM234.605 124.039C234.254 124.039 233.961 123.758 233.961 123.406C233.961 123.051 234.254 122.77 234.605 122.77C234.957 122.77 235.246 123.051 235.246 123.406C235.246 123.758 234.957 124.039 234.605 124.039ZM234.031 129V124.699H235.172V129H234.031ZM237.855 129.066C236.781 129.066 236.109 128.227 236.109 126.852V126.844C236.109 125.461 236.766 124.629 237.855 124.629C238.445 124.629 238.926 124.918 239.141 125.387H239.211V123.055H240.352V129H239.211V128.332H239.141C238.918 128.797 238.461 129.066 237.855 129.066ZM238.242 128.121C238.848 128.121 239.223 127.645 239.223 126.855V126.848C239.223 126.059 238.844 125.574 238.242 125.574C237.641 125.574 237.27 126.059 237.27 126.844V126.852C237.27 127.645 237.641 128.121 238.242 128.121Z",fill:"#00450C"}),(0,s.createElement)("rect",{x:"207",y:"161",width:"50",height:"8",rx:"4",fill:"#B8E6BF"}),(0,s.createElement)("rect",{x:"64",y:"161",width:"50",height:"8",rx:"4",fill:"#DCDCDE"}),(0,s.createElement)("rect",{x:"147",y:"157",width:"22.7796",height:"16",rx:"4",fill:"#F2EDFF"}),(0,s.createElement)("path",{d:"M158.007 169.856C157.305 169.856 156.676 169.749 156.12 169.535C155.569 169.316 155.129 169 154.801 168.585C154.477 168.17 154.304 167.664 154.281 167.067L154.288 167.061H156.113V167.067C156.159 167.327 156.257 167.553 156.407 167.744C156.562 167.931 156.774 168.075 157.043 168.175C157.312 168.275 157.642 168.325 158.034 168.325C158.444 168.325 158.784 168.282 159.053 168.195C159.322 168.104 159.522 167.974 159.654 167.806C159.791 167.637 159.859 167.439 159.859 167.211V167.197C159.859 166.878 159.739 166.63 159.497 166.452C159.26 166.27 158.832 166.11 158.212 165.974L157.193 165.741C156.3 165.541 155.617 165.229 155.143 164.805C154.669 164.381 154.432 163.802 154.432 163.068V163.055C154.432 162.476 154.587 161.979 154.896 161.564C155.206 161.15 155.63 160.833 156.168 160.614C156.706 160.391 157.316 160.279 158 160.279C158.715 160.279 159.34 160.396 159.873 160.628C160.411 160.86 160.832 161.191 161.138 161.619C161.448 162.043 161.614 162.544 161.637 163.123L161.63 163.13L159.818 163.137L159.812 163.123C159.78 162.836 159.684 162.597 159.524 162.405C159.365 162.209 159.158 162.061 158.902 161.961C158.647 161.861 158.355 161.811 158.027 161.811C157.658 161.811 157.348 161.858 157.098 161.954C156.847 162.05 156.658 162.18 156.53 162.344C156.403 162.508 156.339 162.695 156.339 162.904V162.918C156.339 163.201 156.462 163.435 156.708 163.622C156.954 163.809 157.353 163.966 157.904 164.094L158.923 164.319C159.857 164.529 160.563 164.839 161.042 165.249C161.525 165.659 161.767 166.24 161.767 166.992V167.006C161.767 167.612 161.603 168.129 161.274 168.558C160.951 168.981 160.504 169.305 159.935 169.528C159.369 169.747 158.727 169.856 158.007 169.856ZM157.651 170.971V159.145H158.438V170.971H157.651Z",fill:"#720EEC"}),(0,s.createElement)("rect",{x:"64",y:"202",width:"50",height:"8",rx:"4",fill:"#DCDCDE"}),(0,s.createElement)("rect",{x:"207",y:"202",width:"50",height:"8",rx:"4",fill:"#B8E6BF"}),(0,s.createElement)("rect",{x:"147",y:"198",width:"22.7796",height:"16",rx:"4",fill:"#F2EDFF"}),(0,s.createElement)("path",{d:"M160.379 210.856C159.6 210.856 158.889 210.756 158.246 210.556C157.604 210.351 157.048 210.05 156.578 209.653C156.113 209.252 155.753 208.753 155.498 208.156C155.247 207.555 155.122 206.857 155.122 206.064V206.058C155.122 205.269 155.247 204.576 155.498 203.979C155.753 203.382 156.113 202.883 156.578 202.482C157.043 202.081 157.592 201.781 158.226 201.58C158.864 201.38 159.565 201.279 160.331 201.279C160.582 201.279 160.841 201.293 161.11 201.32C161.379 201.348 161.603 201.386 161.78 201.437V203.084C161.598 203.048 161.384 203.018 161.138 202.995C160.892 202.972 160.648 202.961 160.406 202.961C159.91 202.961 159.461 203.027 159.06 203.159C158.659 203.287 158.312 203.48 158.021 203.74C157.733 203.995 157.512 204.317 157.357 204.704C157.207 205.091 157.132 205.545 157.132 206.064V206.071C157.132 206.595 157.209 207.051 157.364 207.438C157.519 207.826 157.74 208.149 158.027 208.409C158.319 208.664 158.668 208.856 159.073 208.983C159.483 209.106 159.944 209.168 160.454 209.168C160.677 209.168 160.917 209.161 161.172 209.147C161.427 209.129 161.639 209.104 161.808 209.072V210.733C161.63 210.774 161.413 210.806 161.158 210.829C160.903 210.847 160.643 210.856 160.379 210.856ZM153.96 207.425V206.639H161.042V207.425H153.96ZM153.96 205.531V204.745H161.042V205.531H153.96Z",fill:"#720EEC"}),(0,s.createElement)("path",{d:"M64 144.5H308",stroke:"#DCDCDE"}),(0,s.createElement)("path",{d:"M64 185.5H308",stroke:"#DCDCDE"}),(0,s.createElement)("g",{clipPath:"url(#clip0_889_14107)"},(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M91.1879 70.2312V81.2735H93.0421V77.1182H95.9724C96.7119 77.1182 97.352 76.9637 97.8928 76.6546C98.4336 76.3456 98.8475 75.9317 99.1344 75.413C99.4214 74.8832 99.5649 74.3038 99.5649 73.6747C99.5649 73.0456 99.4214 72.4717 99.1344 71.9529C98.8475 71.4232 98.4336 71.0038 97.8928 70.6947C97.363 70.3857 96.7229 70.2312 95.9724 70.2312H91.1879ZM93.0421 75.4792H95.7241C96.0993 75.4792 96.4304 75.4075 96.7174 75.264C97.0154 75.1095 97.2471 74.8943 97.4127 74.6183C97.5783 74.3424 97.661 74.0279 97.661 73.6747C97.661 73.3215 97.5783 73.007 97.4127 72.731C97.2471 72.4551 97.0154 72.2454 96.7174 72.1019C96.4304 71.9474 96.0993 71.8702 95.7241 71.8702H93.0421V75.4792ZM149.888 80.959C150.23 81.3012 150.732 81.4722 151.394 81.4722C151.77 81.4722 152.09 81.4226 152.355 81.3233C152.619 81.235 152.835 81.1136 153 80.959L152.603 79.7008C152.526 79.7891 152.41 79.8609 152.255 79.9161C152.112 79.9712 151.963 79.9988 151.808 79.9988C151.588 79.9988 151.411 79.9216 151.278 79.7671C151.146 79.6125 151.069 79.4028 151.047 79.138V79.0883V79.0386V74.7343H152.669V73.2774H151.047V71.0921H149.375V73.2774H148.05V74.7343H149.375V79.4525C149.375 80.1037 149.546 80.6059 149.888 80.959ZM155.209 79.8166C154.701 79.5959 154.304 79.331 154.017 79.022L153.239 80.2305C153.647 80.6279 154.144 80.9369 154.729 81.1576C155.325 81.3673 155.965 81.4722 156.649 81.4722C157.344 81.4722 157.935 81.3673 158.421 81.1576C158.917 80.9369 159.292 80.6389 159.546 80.2636C159.811 79.8774 159.944 79.4359 159.944 78.9392C159.944 78.3874 159.8 77.9514 159.513 77.6314C159.226 77.3003 158.884 77.063 158.487 76.9195C158.089 76.765 157.576 76.6105 156.947 76.4559C156.517 76.3566 156.18 76.2683 155.937 76.1911C155.694 76.1138 155.49 76.009 155.325 75.8765C155.17 75.733 155.093 75.5509 155.093 75.3302C155.093 75.0432 155.231 74.8225 155.507 74.668C155.783 74.5024 156.152 74.4196 156.616 74.4196C157.102 74.4196 157.554 74.5079 157.974 74.6845C158.393 74.8611 158.73 75.0929 158.983 75.3799L159.695 74.2044C159.309 73.8623 158.856 73.5919 158.338 73.3932C157.819 73.1835 157.24 73.0787 156.599 73.0787C155.959 73.0787 155.402 73.189 154.927 73.4098C154.453 73.6305 154.094 73.9285 153.851 74.3038C153.608 74.679 153.487 75.1039 153.487 75.5785C153.487 76.0862 153.62 76.4946 153.884 76.8036C154.16 77.1016 154.486 77.3223 154.861 77.4658C155.247 77.6093 155.75 77.7528 156.368 77.8962C156.809 77.9956 157.157 78.0894 157.411 78.1777C157.676 78.266 157.896 78.3874 158.073 78.5419C158.249 78.6854 158.338 78.8785 158.338 79.1213C158.338 79.331 158.272 79.5131 158.139 79.6677C158.018 79.8222 157.841 79.9436 157.609 80.0319C157.378 80.1091 157.102 80.1478 156.782 80.1478C156.252 80.1478 155.728 80.0374 155.209 79.8166ZM140.029 81.2735V73.2773H141.702V74.3683C142.015 74.0384 142.368 73.763 142.761 73.5422C143.302 73.2332 143.92 73.0787 144.615 73.0787C145.366 73.0787 145.923 73.2497 146.287 73.5919C146.652 73.923 146.878 74.2872 146.966 74.6845C147.054 75.0708 147.099 75.4847 147.099 75.9262V81.2735H145.426V76.4891C145.426 76.1359 145.399 75.8268 145.344 75.562C145.3 75.2971 145.162 75.0653 144.93 74.8666C144.698 74.6569 144.345 74.5521 143.87 74.5521C143.363 74.5521 142.91 74.6735 142.513 74.9163C142.187 75.1156 141.916 75.3596 141.702 75.6482V81.2735H140.029ZM132.669 80.959C133.309 81.3011 134.026 81.4722 134.821 81.4722C135.45 81.4722 136.046 81.3728 136.609 81.1742C137.172 80.9755 137.652 80.683 138.049 80.2968L137.288 79.2041C137.001 79.4911 136.648 79.7173 136.228 79.8829C135.82 80.0374 135.406 80.1146 134.986 80.1146C134.413 80.1146 133.927 79.9877 133.53 79.7339C133.132 79.48 132.834 79.1434 132.636 78.724C132.503 78.4433 132.414 78.1453 132.37 77.83H138.596V77.6314V77.4161C138.596 76.5884 138.435 75.8489 138.115 75.1977C137.795 74.5355 137.337 74.0168 136.741 73.6416C136.145 73.2663 135.461 73.0787 134.688 73.0787C133.916 73.0787 133.221 73.2663 132.603 73.6416C131.984 74.0168 131.499 74.5245 131.146 75.1646C130.804 75.7937 130.632 76.4946 130.632 77.2671C130.632 78.0949 130.815 78.8289 131.179 79.469C131.543 80.1091 132.04 80.6058 132.669 80.959ZM136.992 76.638H132.369C132.405 76.3599 132.472 76.095 132.569 75.8434C132.724 75.435 132.978 75.0984 133.331 74.8335C133.684 74.5686 134.131 74.4362 134.672 74.4362C135.246 74.4362 135.704 74.5686 136.046 74.8335C136.399 75.0984 136.648 75.4185 136.791 75.7937C136.897 76.0721 136.964 76.3536 136.992 76.638ZM127.519 76.0255C127.519 75.573 127.408 75.2143 127.188 74.9494C126.978 74.6845 126.658 74.5521 126.227 74.5521C125.83 74.5521 125.46 74.6569 125.118 74.8666C124.776 75.0763 124.5 75.3302 124.29 75.6282V81.2735H122.618V76.0255C122.618 75.573 122.508 75.2143 122.287 74.9494C122.077 74.6845 121.757 74.5521 121.327 74.5521C120.941 74.5521 120.582 74.6569 120.251 74.8666C119.92 75.0763 119.644 75.3302 119.423 75.6282L119.407 75.653V81.2735H117.735V73.2773H119.407V74.3722C119.504 74.2253 119.653 74.0645 119.854 73.8899C120.118 73.6691 120.439 73.4815 120.814 73.327C121.2 73.1615 121.614 73.0787 122.055 73.0787C122.53 73.0787 122.933 73.178 123.264 73.3767C123.595 73.5643 123.843 73.8347 124.009 74.1879C124.072 74.3092 124.124 74.4376 124.166 74.5728C124.4 74.1892 124.745 73.8567 125.201 73.5753C125.731 73.2442 126.327 73.0787 126.989 73.0787C127.463 73.0787 127.861 73.178 128.181 73.3767C128.512 73.5643 128.76 73.8402 128.926 74.2044C129.091 74.5686 129.174 74.9991 129.174 75.4957V81.2735H127.519V76.0255ZM109.987 83.0118C109.855 82.9898 109.75 82.9567 109.673 82.9125L109.408 84.4025C109.54 84.4356 109.7 84.4632 109.888 84.4853C110.076 84.5073 110.258 84.5184 110.434 84.5184C110.843 84.5184 111.207 84.4632 111.527 84.3528C111.847 84.2425 112.134 84.0603 112.388 83.8065C112.642 83.5526 112.857 83.2215 113.033 82.8132V82.7801C113.045 82.7801 113.05 82.7746 113.05 82.7635L116.94 73.2774H115.153L112.769 79.3531L110.385 73.2774H108.613L111.896 81.3634L111.477 82.3331C111.367 82.5869 111.223 82.769 111.047 82.8794C110.87 82.9898 110.65 83.045 110.385 83.045C110.252 83.045 110.12 83.0339 109.987 83.0118ZM103.563 81.4722C102.879 81.4722 102.266 81.3066 101.725 80.9755C101.184 80.6334 100.76 80.1478 100.451 79.5187C100.153 78.8896 100.004 78.1446 100.004 77.2837C100.004 76.4339 100.153 75.6944 100.451 75.0653C100.76 74.4252 101.184 73.934 101.725 73.5919C102.266 73.2497 102.879 73.0787 103.563 73.0787C104.115 73.0787 104.633 73.2166 105.119 73.4926C105.53 73.7167 105.878 74.0198 106.162 74.4019V73.2773H107.818V81.2735H106.162V80.1519C105.876 80.5293 105.528 80.8369 105.119 81.0748C104.644 81.3397 104.126 81.4722 103.563 81.4722ZM106.162 78.894V75.6953C105.987 75.4184 105.722 75.1753 105.367 74.966C104.937 74.7011 104.495 74.5686 104.043 74.5686C103.579 74.5686 103.171 74.6845 102.818 74.9163C102.465 75.1481 102.194 75.4681 102.007 75.8765C101.83 76.2849 101.742 76.7539 101.742 77.2837C101.742 78.0894 101.946 78.7461 102.354 79.2538C102.774 79.7504 103.337 79.9988 104.043 79.9988C104.495 79.9988 104.937 79.8774 105.367 79.6345C105.722 79.4252 105.987 79.1784 106.162 78.894Z",fill:"black"}),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.6216 81.4657C51.9079 81.4657 52.9401 80.8305 53.7182 79.3695L55.4492 76.13V78.8772C55.4492 80.497 56.4972 81.4657 58.117 81.4657C59.3874 81.4657 60.3244 80.9099 61.2295 79.3695L65.2155 72.6363C66.0889 71.1595 65.4695 70.0479 63.548 70.0479C62.5158 70.0479 61.8489 70.3813 61.2454 71.5088L58.4981 76.6699V72.0805C58.4981 70.7148 57.8471 70.0479 56.6402 70.0479C55.6874 70.0479 54.9251 70.4607 54.3375 71.6041L51.7491 76.6699V72.1282C51.7491 70.6672 51.1456 70.0479 49.6847 70.0479H46.6992C45.5717 70.0479 45 70.5719 45 71.5406C45 72.5093 45.6034 73.0651 46.6992 73.0651H47.922V78.8613C47.922 80.497 49.0177 81.4657 50.6216 81.4657ZM71.0441 70.0479C67.7887 70.0479 65.2955 72.4775 65.2955 75.7647C65.2955 79.0519 67.8046 81.4657 71.0441 81.4657C74.2837 81.4657 76.761 79.036 76.7769 75.7647C76.7769 72.4775 74.2837 70.0479 71.0441 70.0479ZM71.0441 77.9562C69.8213 77.9562 68.9797 77.0351 68.9797 75.7647C68.9797 74.4943 69.8213 73.5574 71.0441 73.5574C72.2669 73.5574 73.1085 74.4943 73.1085 75.7647C73.1085 77.0351 72.2828 77.9562 71.0441 77.9562ZM77.5862 75.7647C77.5862 72.4775 80.0794 70.0479 83.3189 70.0479C86.5585 70.0479 89.0517 72.4934 89.0517 75.7647C89.0517 79.036 86.5585 81.4657 83.3189 81.4657C80.0794 81.4657 77.5862 79.0519 77.5862 75.7647ZM81.2704 75.7647C81.2704 77.0351 82.0803 77.9562 83.3189 77.9562C84.5417 77.9562 85.3833 77.0351 85.3833 75.7647C85.3833 74.4943 84.5417 73.5574 83.3189 73.5574C82.0961 73.5574 81.2704 74.4943 81.2704 75.7647Z",fill:"#873EFF"})),(0,s.createElement)("circle",{cx:"34.2526",cy:"30.2526",r:"2.25264",fill:"#DFD1FB"}),(0,s.createElement)("circle",{cx:"42.7579",cy:"30.2526",r:"2.25264",fill:"#DFD1FB"}),(0,s.createElement)("circle",{cx:"51.2632",cy:"30.2526",r:"2.25264",fill:"#DFD1FB"}),(0,s.createElement)("defs",null,(0,s.createElement)("filter",{id:"filter0_d_889_14107",x:"0",y:"0",width:"325",height:"272",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},(0,s.createElement)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,s.createElement)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,s.createElement)("feOffset",null),(0,s.createElement)("feGaussianBlur",{stdDeviation:"8"}),(0,s.createElement)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,s.createElement)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"}),(0,s.createElement)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_889_14107"}),(0,s.createElement)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_889_14107",result:"shape"})),(0,s.createElement)("clipPath",{id:"clip0_889_14107"},(0,s.createElement)("rect",{width:"115",height:"17.5261",fill:"white",transform:"translate(45 67)"}))));var l=n(99196),d=n(94333);const u=[{name:"visa",component:(0,s.createElement)((()=>(0,s.createElement)("svg",{width:"64",height:"40",viewBox:"0 0 64 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)("rect",{width:"64",height:"40",rx:"3",fill:"white"}),(0,s.createElement)("path",{d:"M28.6564 27.2545H24.7949L27.2102 13.2538H31.0714L28.6564 27.2545Z",fill:"#1C34C3"}),(0,s.createElement)("path",{d:"M42.6537 13.5961C41.8921 13.3128 40.684 13 39.1903 13C35.3769 13 32.6916 14.9064 32.6751 17.6319C32.6435 19.6428 34.5977 20.7597 36.0594 21.4302C37.5534 22.1154 38.0612 22.5626 38.0612 23.1733C38.046 24.1112 36.854 24.5436 35.7422 24.5436C34.2006 24.5436 33.3745 24.3207 32.1191 23.7989L31.6107 23.5752L31.0703 26.718C31.976 27.1048 33.6446 27.4481 35.3769 27.4631C39.4287 27.4631 42.0665 25.5863 42.0977 22.6818C42.1131 21.088 41.0812 19.8667 38.8564 18.8688C37.5058 18.2282 36.6787 17.7962 36.6787 17.1408C36.6946 16.5449 37.3783 15.9346 38.9029 15.9346C40.1582 15.9047 41.0806 16.1876 41.7793 16.4707L42.1286 16.6194L42.6537 13.5961Z",fill:"#1C34C3"}),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.5665 13.2538H52.5534L55.6686 27.2543H52.0933C52.0933 27.2543 51.7434 25.6456 51.6325 25.1541H46.6747C46.5313 25.5263 45.8642 27.2543 45.8642 27.2543H41.8125L47.5482 14.4154C47.9456 13.5068 48.6454 13.2538 49.5665 13.2538ZM49.3285 18.3773C49.3285 18.3773 48.1049 21.4902 47.7869 22.2945H50.9965C50.8377 21.5945 50.1064 18.2432 50.1064 18.2432L49.8366 17.0368C49.7229 17.3475 49.5586 17.7746 49.4478 18.0626C49.3726 18.2579 49.322 18.3893 49.3285 18.3773Z",fill:"#1C34C3"}),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.06356 13.2538H14.2763C15.1184 13.2833 15.8017 13.5365 16.0241 14.4307L17.3743 20.8634C17.3744 20.8638 17.3745 20.8643 17.3747 20.8647L17.7879 22.8009L21.5696 13.2538H25.6528L19.5832 27.2396H15.4998L12.058 15.0743C10.8705 14.4234 9.51527 13.8999 8 13.5367L8.06356 13.2538Z",fill:"#1C34C3"}))),{key:"visa"})},{name:"mastercard",component:(0,s.createElement)((()=>(0,s.createElement)("svg",{width:"64",height:"40",viewBox:"0 0 64 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)("rect",{width:"64",height:"40",fill:"white"}),(0,s.createElement)("g",{clipPath:"url(#clip0_1_132)"},(0,s.createElement)("path",{d:"M37.376 10.284H26.56V29.716H37.376V10.284Z",fill:"#FF5A00"}),(0,s.createElement)("path",{d:"M27.28 20C27.28 16.052 29.136 12.548 31.984 10.284C29.888 8.636 27.244 7.64 24.36 7.64C17.528 7.64 12 13.168 12 20C12 26.832 17.528 32.36 24.36 32.36C27.244 32.36 29.888 31.364 31.984 29.716C29.132 27.484 27.28 23.948 27.28 20Z",fill:"#EB001B"}),(0,s.createElement)("path",{d:"M51.968 20C51.968 26.832 46.44 32.36 39.608 32.36C36.724 32.36 34.08 31.364 31.984 29.716C34.868 27.448 36.688 23.948 36.688 20C36.688 16.052 34.832 12.548 31.984 10.284C34.076 8.636 36.72 7.64 39.604 7.64C46.44 7.64 51.968 13.204 51.968 20Z",fill:"#F79E1B"})),(0,s.createElement)("defs",null,(0,s.createElement)("clipPath",{id:"clip0_1_132"},(0,s.createElement)("rect",{width:"40",height:"24.72",fill:"white",transform:"translate(12 7.64)"}))))),{key:"mastercard"})},{name:"amex",component:(0,s.createElement)((()=>(0,s.createElement)("svg",{width:"64",height:"40",viewBox:"0 0 64 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{background:"#006FCF"}},(0,s.createElement)("g",{clipPath:"url(#clip0_7623_49052)"},(0,s.createElement)("rect",{width:"64",height:"40",rx:"3",fill:"white"}),(0,s.createElement)("path",{d:"M56.5333 9.81335L57.8133 6.33335L64 6.38669V0.0533428L0 0V40L64 40.0533V33.7333L58.1467 33.68L56.1067 31.2934L53.9867 33.68H38.3067V20.9734H33.1333L39.6 6.33335H45.8933L47.4133 9.65334V6.33335H55.2267L56.5333 9.81335ZM52.12 12.12L52.1067 10.72L52.64 12.12L55.24 19.0667H57.8267L60.44 12.12L60.9467 10.7333V19.0667L64 19.12V8.45334L59.1467 8.4L57.0933 13.8134L56.5467 15.28L55.9867 13.8134L53.92 8.4H49.4V19.0667H52.12V12.12ZM46.2667 19.0667H49.4L44.7067 8.4H41.0667L36.3466 19.0667H39.44L40.2667 17.0134H45.44L46.2667 19.0667ZM42.32 12.0134L42.8533 10.68L43.3867 12.0134L44.4933 14.7066H41.2133L42.32 12.0134ZM40.4933 20.9866V31.6134H49.4V29.3066H43.2133V27.4534H49.28V25.16H43.2133V23.2934H49.4V20.9866H40.4933ZM59.3067 31.6134H62.84L57.8533 26.28L62.84 20.9866H59.36L56.1467 24.44L52.9467 20.9866H49.4L54.3733 26.32L49.4 31.6134H52.84L56.08 28.1467L59.3067 31.6134ZM60.6533 26.2666L64 29.3867V23.2934L60.6533 26.2666Z",fill:"#006FCF"})),(0,s.createElement)("defs",null,(0,s.createElement)("clipPath",{id:"clip0_7623_49052"},(0,s.createElement)("rect",{width:"64",height:"40",rx:"3",fill:"white"}))))),{key:"amex"})},{name:"discover",component:(0,s.createElement)((()=>(0,s.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 95.69 62.85",height:"40",width:"61"},(0,s.createElement)("defs",null,(0,s.createElement)("clipPath",{id:"clip-path"},(0,s.createElement)("path",{fill:"none",d:"M53.91 31.28a6.56 6.56 0 1 1-6.56-6.55 6.56 6.56 0 0 1 6.56 6.55Z"})),(0,s.createElement)("clipPath",{id:"clip-path-2"},(0,s.createElement)("path",{fill:"none",d:"M90.39 2.3H5.3a3 3 0 0 0-3 3v52.25a3 3 0 0 0 3 3h85.09a3 3 0 0 0 3-3V5.3a3 3 0 0 0-3-3Zm-1.48 29.13a28.13 28.13 0 0 1-28.13 28.12H5.3a2 2 0 0 1-2-2V5.3a2 2 0 0 1 2-2h55.48a28.13 28.13 0 0 1 28.13 28.13Z"})),(0,s.createElement)("clipPath",{id:"clip-path-3"},(0,s.createElement)("circle",{fill:"none",cx:"47.88",cy:"31.43",r:"54.04"})),(0,s.createElement)("linearGradient",{id:"linear-gradient",x1:"50.71",y1:"36.53",x2:"46.17",y2:"29.43",gradientUnits:"userSpaceOnUse"},(0,s.createElement)("stop",{offset:"0",stopColor:"#ff9200"}),(0,s.createElement)("stop",{offset:".21",stopColor:"#ff8d00"}),(0,s.createElement)("stop",{offset:".45",stopColor:"#ff8000"}),(0,s.createElement)("stop",{offset:".62",stopColor:"#ff7100"}),(0,s.createElement)("stop",{offset:".82",stopColor:"#ff5e00"}),(0,s.createElement)("stop",{offset:"1",stopColor:"#ff5200"})),(0,s.createElement)("linearGradient",{id:"linear-gradient-2",x1:"49.99",y1:"36.44",x2:"43.36",y2:"23.47",gradientUnits:"userSpaceOnUse"},(0,s.createElement)("stop",{offset:"0",stopColor:"#ff7100",stopOpacity:"0"}),(0,s.createElement)("stop",{offset:".03",stopColor:"#ff6e00",stopOpacity:".03"}),(0,s.createElement)("stop",{offset:".21",stopColor:"#ff5a00",stopOpacity:".25"}),(0,s.createElement)("stop",{offset:".39",stopColor:"#ff4900",stopOpacity:".42"}),(0,s.createElement)("stop",{offset:".56",stopColor:"#ff3c00",stopOpacity:".56"}),(0,s.createElement)("stop",{offset:".72",stopColor:"#f30",stopOpacity:".66"}),(0,s.createElement)("stop",{offset:".86",stopColor:"#ff2d00",stopOpacity:".72"}),(0,s.createElement)("stop",{offset:".98",stopColor:"#ff2b00",stopOpacity:".74"}))),(0,s.createElement)("g",{style:{isolation:"isolate"}},(0,s.createElement)("g",{id:"Mark"},(0,s.createElement)("path",{d:"M3.3 5.3v52.25a2 2 0 0 0 2 2h55.48a28.13 28.13 0 0 0 28.13-28.12A28.13 28.13 0 0 0 60.78 3.3H5.3a2 2 0 0 0-2 2Z",style:{fill:"#fff"}}),(0,s.createElement)("path",{fill:"#261f20",d:"M10.06 25.1H6.51v12.38H10a6.45 6.45 0 0 0 4.42-1.43 6.2 6.2 0 0 0 2.28-4.75c0-3.65-2.7-6.2-6.64-6.2Zm2.82 9.3a4.57 4.57 0 0 1-3.31 1h-.64v-8.2h.64a4.5 4.5 0 0 1 3.31 1 4.21 4.21 0 0 1 1.34 3.08 4.26 4.26 0 0 1-1.34 3.12ZM17.82 25.1h2.41v12.38h-2.41zM26.13 29.85c-1.45-.53-1.87-.89-1.87-1.55s.76-1.38 1.8-1.38a2.47 2.47 0 0 1 1.94 1l1.27-1.66a5.41 5.41 0 0 0-3.64-1.37 3.64 3.64 0 0 0-3.86 3.55c0 1.7.78 2.58 3.05 3.39a9.05 9.05 0 0 1 1.66.71 1.46 1.46 0 0 1 .73 1.28 1.76 1.76 0 0 1-1.88 1.74 2.84 2.84 0 0 1-2.63-1.65l-1.56 1.5a4.8 4.8 0 0 0 4.28 2.36 4 4 0 0 0 4.27-4.06c0-1.96-.81-2.85-3.56-3.86ZM30.46 31.3A6.4 6.4 0 0 0 37 37.76a6.65 6.65 0 0 0 3-.76v-2.8a3.88 3.88 0 0 1-2.92 1.35 4 4 0 0 1-4.16-4.27A4.12 4.12 0 0 1 37 27a4 4 0 0 1 3 1.4v-2.81a6.15 6.15 0 0 0-3-.77 6.51 6.51 0 0 0-6.54 6.48ZM59.16 33.42l-3.3-8.32h-2.64l5.26 12.7h1.3l5.34-12.7h-2.61l-3.35 8.32zM66.22 37.48h6.84v-2.09h-4.43v-3.34h4.27v-2.1h-4.27V27.2h4.43v-2.1h-6.84v12.38zM82.63 28.76c0-2.32-1.6-3.66-4.39-3.66h-3.58v12.38h2.41v-5h.32l3.34 5h3l-3.9-5.21a3.3 3.3 0 0 0 2.8-3.51Zm-4.85 2h-.71v-3.71h.75c1.5 0 2.32.63 2.32 1.84s-.82 1.91-2.36 1.91ZM84.55 25.75c0-.21-.15-.33-.41-.33h-.35v1.09h.26v-.42l.3.42h.32l-.36-.45a.3.3 0 0 0 .24-.31Zm-.46.15v-.28c.13 0 .2 0 .2.14s-.07.14-.2.14Z"}),(0,s.createElement)("path",{fill:"#261f20",d:"M84.19 25a1 1 0 0 0 0 1.9 1 1 0 0 0 0-1.9Zm0 1.73a.78.78 0 0 1 0-1.56.78.78 0 0 1 0 1.56Z"}),(0,s.createElement)("path",{d:"M53.91 31.28a6.56 6.56 0 1 1-6.55-6.55 6.56 6.56 0 0 1 6.55 6.55Z",style:{fill:"url(#linear-gradient)"}}),(0,s.createElement)("path",{d:"M53.91 31.28a6.56 6.56 0 1 1-6.55-6.55 6.56 6.56 0 0 1 6.55 6.55Z",style:{opacity:.65,fill:"url(#linear-gradient-2)",mixBlendMode:"multiply"}}),(0,s.createElement)("g",{style:{opacity:.5,mixBlendMode:"multiply"}},(0,s.createElement)("g",{style:{clipPath:"url('#clip-path')"}},(0,s.createElement)("path",{d:"M47.38 24.63a6.69 6.69 0 1 1-6.68 6.68 6.67 6.67 0 0 1 6.68-6.68Z",style:{fill:"#020000"}}),(0,s.createElement)("path",{d:"M47.39 24.64a6.69 6.69 0 1 1-6.68 6.68 6.68 6.68 0 0 1 6.68-6.68Z",style:{fill:"#030100"}}),(0,s.createElement)("path",{d:"M47.4 24.65a6.69 6.69 0 1 1-6.69 6.68 6.67 6.67 0 0 1 6.69-6.68Z",style:{fill:"#050100"}}),(0,s.createElement)("path",{d:"M47.4 24.66a6.68 6.68 0 1 1-6.68 6.68 6.68 6.68 0 0 1 6.68-6.68Z",style:{fill:"#070200"}}),(0,s.createElement)("path",{d:"M47.41 24.67a6.68 6.68 0 1 1-6.68 6.68 6.68 6.68 0 0 1 6.68-6.68Z",style:{fill:"#080200"}}),(0,s.createElement)("path",{d:"M47.42 24.68a6.68 6.68 0 1 1-6.68 6.68 6.68 6.68 0 0 1 6.68-6.68Z",style:{fill:"#0a0300"}}),(0,s.createElement)("path",{d:"M47.43 24.69a6.68 6.68 0 1 1-6.68 6.68 6.67 6.67 0 0 1 6.68-6.68Z",style:{fill:"#0c0300"}}),(0,s.createElement)("path",{d:"M47.43 24.7a6.68 6.68 0 0 1 6.71 6.64 6.75 6.75 0 0 1-6.71 6.72 6.68 6.68 0 0 1 0-13.36Z",style:{fill:"#0e0400"}}),(0,s.createElement)("path",{d:"M47.44 24.71a6.67 6.67 0 0 1 6.71 6.63 6.75 6.75 0 0 1-6.71 6.73 6.68 6.68 0 0 1 0-13.36Z",style:{fill:"#0f0400"}}),(0,s.createElement)("path",{d:"M47.45 24.73a6.67 6.67 0 0 1 6.71 6.62 6.76 6.76 0 0 1-6.71 6.73 6.68 6.68 0 1 1 0-13.35Z",style:{fill:"#110500"}}),(0,s.createElement)("path",{d:"M47.45 24.74a6.66 6.66 0 0 1 6.72 6.61 6.76 6.76 0 0 1-6.72 6.74 6.68 6.68 0 0 1 0-13.35Z",style:{fill:"#130500"}}),(0,s.createElement)("path",{d:"M47.46 24.75a6.66 6.66 0 0 1 6.72 6.6 6.76 6.76 0 0 1-6.72 6.74 6.67 6.67 0 1 1 0-13.34Z",style:{fill:"#140600"}}),(0,s.createElement)("path",{d:"M47.47 24.76a6.66 6.66 0 0 1 6.72 6.6 6.78 6.78 0 0 1-6.72 6.74 6.67 6.67 0 0 1 0-13.34Z",style:{fill:"#160600"}}),(0,s.createElement)("path",{d:"M47.48 24.77a6.66 6.66 0 0 1 6.72 6.59 6.78 6.78 0 0 1-6.72 6.75 6.67 6.67 0 0 1 0-13.34Z",style:{fill:"#180600"}}),(0,s.createElement)("path",{d:"M47.48 24.78a6.66 6.66 0 0 1 6.73 6.59 6.79 6.79 0 0 1-6.73 6.75 6.67 6.67 0 1 1 0-13.34Z",style:{fill:"#190700"}}),(0,s.createElement)("path",{d:"M47.49 24.79a6.66 6.66 0 0 1 6.73 6.58 6.8 6.8 0 0 1-6.73 6.76 6.67 6.67 0 0 1 0-13.34Z",style:{fill:"#1b0700"}}),(0,s.createElement)("path",{d:"M47.5 24.8a6.65 6.65 0 0 1 6.73 6.57 6.81 6.81 0 0 1-6.73 6.77 6.67 6.67 0 0 1 0-13.34Z",style:{fill:"#1d0800"}}),(0,s.createElement)("path",{d:"M47.5 24.81a6.66 6.66 0 0 1 6.74 6.57 6.81 6.81 0 0 1-6.74 6.77 6.67 6.67 0 0 1 0-13.34Z",style:{fill:"#1f0800"}}),(0,s.createElement)("path",{d:"M47.51 24.82a6.66 6.66 0 0 1 6.74 6.56 6.82 6.82 0 0 1-6.74 6.77 6.67 6.67 0 0 1 0-13.33Z",style:{fill:"#200900"}}),(0,s.createElement)("path",{d:"M47.52 24.84a6.65 6.65 0 0 1 6.74 6.55 6.82 6.82 0 0 1-6.74 6.77 6.66 6.66 0 0 1 0-13.32Z",style:{fill:"#220900"}}),(0,s.createElement)("path",{d:"M47.53 24.85a6.64 6.64 0 0 1 6.74 6.54 6.83 6.83 0 0 1-6.74 6.78 6.66 6.66 0 1 1 0-13.32Z",style:{fill:"#240a00"}}),(0,s.createElement)("path",{d:"M47.53 24.86a6.65 6.65 0 0 1 6.75 6.54 6.84 6.84 0 0 1-6.75 6.78 6.66 6.66 0 0 1 0-13.32Z",style:{fill:"#250a00"}}),(0,s.createElement)("path",{d:"M47.54 24.87a6.65 6.65 0 0 1 6.75 6.53 6.85 6.85 0 0 1-6.75 6.79 6.66 6.66 0 1 1 0-13.32Z",style:{fill:"#270b00"}}),(0,s.createElement)("path",{d:"M47.55 24.88a6.65 6.65 0 0 1 6.75 6.52 6.86 6.86 0 0 1-6.75 6.8 6.66 6.66 0 1 1 0-13.32Z",style:{fill:"#290b00"}}),(0,s.createElement)("path",{d:"M47.55 24.89a6.65 6.65 0 0 1 6.76 6.52 6.86 6.86 0 0 1-6.76 6.8 6.66 6.66 0 0 1 0-13.32Z",style:{fill:"#2a0c00"}}),(0,s.createElement)("path",{d:"M47.56 24.9a6.64 6.64 0 0 1 6.76 6.51 6.86 6.86 0 0 1-6.76 6.8 6.66 6.66 0 0 1 0-13.31Z",style:{fill:"#2c0c00"}}),(0,s.createElement)("path",{d:"M47.57 24.91a6.64 6.64 0 0 1 6.76 6.51 6.88 6.88 0 0 1-6.76 6.8 6.66 6.66 0 1 1 0-13.31Z",style:{fill:"#2e0d00"}}),(0,s.createElement)("path",{d:"M47.58 24.92a6.65 6.65 0 0 1 6.76 6.5 6.88 6.88 0 0 1-6.76 6.81 6.66 6.66 0 1 1 0-13.31Z",style:{fill:"#300d00"}}),(0,s.createElement)("path",{d:"M47.58 24.94a6.63 6.63 0 0 1 6.77 6.49 6.89 6.89 0 0 1-6.77 6.81 6.65 6.65 0 1 1 0-13.3Z",style:{fill:"#310d00"}}),(0,s.createElement)("path",{d:"M47.59 25a6.63 6.63 0 0 1 6.77 6.48 6.9 6.9 0 0 1-6.77 6.82 6.65 6.65 0 0 1 0-13.3Z",style:{fill:"#330e00"}}),(0,s.createElement)("path",{d:"M47.6 25a6.63 6.63 0 0 1 6.77 6.47 6.91 6.91 0 0 1-6.77 6.83 6.65 6.65 0 0 1 0-13.3Z",style:{fill:"#350e00"}}),(0,s.createElement)("path",{d:"M47.6 25a6.63 6.63 0 0 1 6.78 6.47 6.91 6.91 0 0 1-6.78 6.83 6.65 6.65 0 0 1 0-13.3Z",style:{fill:"#360f00"}}),(0,s.createElement)("path",{d:"M47.61 25a6.63 6.63 0 0 1 6.78 6.46 6.93 6.93 0 0 1-6.78 6.84 6.65 6.65 0 1 1 0-13.3Z",style:{fill:"#380f00"}}),(0,s.createElement)("path",{d:"M47.62 25a6.63 6.63 0 0 1 6.78 6.46 6.92 6.92 0 0 1-6.78 6.83 6.65 6.65 0 1 1 0-13.29Z",style:{fill:"#3a1000"}}),(0,s.createElement)("path",{d:"M47.63 25a6.62 6.62 0 0 1 6.78 6.45 6.93 6.93 0 0 1-6.78 6.84 6.65 6.65 0 1 1 0-13.29Z",style:{fill:"#3b1000"}}),(0,s.createElement)("path",{d:"M47.63 25a6.63 6.63 0 0 1 6.79 6.45 6.94 6.94 0 0 1-6.79 6.84 6.65 6.65 0 0 1 0-13.29Z",style:{fill:"#3d1100"}}),(0,s.createElement)("path",{d:"M47.64 25a6.63 6.63 0 0 1 6.79 6.44 7 7 0 0 1-6.79 6.85 6.65 6.65 0 0 1 0-13.29Z",style:{fill:"#3f1100"}}),(0,s.createElement)("path",{d:"M47.65 25a6.64 6.64 0 0 1 6.79 6.43 7 7 0 0 1-6.79 6.86 6.65 6.65 0 0 1 0-13.29Z",style:{fill:"#411200"}}),(0,s.createElement)("path",{d:"M47.65 25.05a6.62 6.62 0 0 1 6.8 6.42 7 7 0 0 1-6.8 6.86 6.64 6.64 0 0 1 0-13.28Z",style:{fill:"#421200"}}),(0,s.createElement)("path",{d:"M47.66 25.06a6.62 6.62 0 0 1 6.8 6.41 7 7 0 0 1-6.8 6.87 6.64 6.64 0 1 1 0-13.28Z",style:{fill:"#441300"}}),(0,s.createElement)("path",{d:"M47.67 25.07a6.62 6.62 0 0 1 6.8 6.41 7 7 0 0 1-6.8 6.86 6.64 6.64 0 1 1 0-13.27Z",style:{fill:"#461300"}}),(0,s.createElement)("path",{d:"M47.68 25.08a6.62 6.62 0 0 1 6.8 6.4 7 7 0 0 1-6.8 6.87 6.64 6.64 0 1 1 0-13.27Z",style:{fill:"#471300"}}),(0,s.createElement)("path",{d:"M47.68 25.09a6.61 6.61 0 0 1 6.81 6.39 7 7 0 0 1-6.81 6.88 6.64 6.64 0 0 1 0-13.27Z",style:{fill:"#491400"}}),(0,s.createElement)("path",{d:"M47.69 25.1a6.61 6.61 0 0 1 6.81 6.39 7 7 0 0 1-6.81 6.88 6.64 6.64 0 0 1 0-13.27Z",style:{fill:"#4b1400"}}),(0,s.createElement)("path",{d:"M47.7 25.11a6.61 6.61 0 0 1 6.81 6.38 7 7 0 0 1-6.81 6.89 6.64 6.64 0 1 1 0-13.27Z",style:{fill:"#4c1500"}}),(0,s.createElement)("path",{d:"M47.7 25.12c3.67.06 6.82 2.71 6.82 6.38a7 7 0 0 1-6.82 6.89 6.64 6.64 0 0 1 0-13.27Z",style:{fill:"#4e1500"}}),(0,s.createElement)("path",{d:"M47.71 25.13c3.66.06 6.82 2.71 6.82 6.37a7 7 0 0 1-6.82 6.9 6.64 6.64 0 0 1 0-13.27Z",style:{fill:"#501600"}}),(0,s.createElement)("path",{d:"M47.72 25.15c3.66.05 6.82 2.69 6.82 6.36a7 7 0 0 1-6.82 6.9 6.63 6.63 0 0 1 0-13.26Z",style:{fill:"#521600"}}),(0,s.createElement)("path",{d:"M47.73 25.16c3.66.05 6.82 2.69 6.82 6.35a7 7 0 0 1-6.82 6.9 6.63 6.63 0 1 1 0-13.25Z",style:{fill:"#531700"}}),(0,s.createElement)("path",{d:"M47.73 25.17c3.66 0 6.83 2.68 6.83 6.34a7 7 0 0 1-6.83 6.91 6.63 6.63 0 0 1 0-13.25Z",style:{fill:"#551700"}}),(0,s.createElement)("path",{d:"M47.74 25.18c3.66.06 6.83 2.68 6.83 6.34a7 7 0 0 1-6.83 6.91 6.63 6.63 0 1 1 0-13.25Z",style:{fill:"#571800"}}),(0,s.createElement)("path",{d:"M47.75 25.19c3.66.06 6.83 2.67 6.83 6.33a7.06 7.06 0 0 1-6.83 6.92 6.63 6.63 0 1 1 0-13.25Z",style:{fill:"#581800"}}),(0,s.createElement)("path",{d:"M47.75 25.2c3.66.06 6.84 2.67 6.84 6.33a7.07 7.07 0 0 1-6.84 6.92 6.63 6.63 0 0 1 0-13.25Z",style:{fill:"#5a1900"}}),(0,s.createElement)("path",{d:"M47.76 25.21c3.66.06 6.84 2.66 6.84 6.32a7.08 7.08 0 0 1-6.84 6.93 6.63 6.63 0 0 1 0-13.25Z",style:{fill:"#5c1900"}}),(0,s.createElement)("path",{d:"M47.77 25.22c3.65.06 6.84 2.66 6.84 6.32a7.08 7.08 0 0 1-6.84 6.93 6.63 6.63 0 0 1 0-13.25Z",style:{fill:"#5e1a00"}}),(0,s.createElement)("path",{d:"M47.78 25.23c3.65.07 6.84 2.65 6.84 6.31a7.08 7.08 0 0 1-6.84 6.93 6.62 6.62 0 0 1 0-13.24Z",style:{fill:"#5f1a00"}}),(0,s.createElement)("path",{d:"M47.78 25.24c3.66.07 6.85 2.65 6.85 6.3a7.09 7.09 0 0 1-6.85 6.94 6.62 6.62 0 0 1 0-13.24Z",style:{fill:"#611a00"}}),(0,s.createElement)("path",{d:"M47.79 25.26c3.65.06 6.85 2.63 6.85 6.29a7.1 7.1 0 0 1-6.85 6.94 6.62 6.62 0 1 1 0-13.23Z",style:{fill:"#631b00"}}),(0,s.createElement)("path",{d:"M47.8 25.27c3.65.06 6.85 2.63 6.85 6.28a7.11 7.11 0 0 1-6.85 7 6.62 6.62 0 1 1 0-13.23Z",style:{fill:"#641b00"}}),(0,s.createElement)("path",{d:"M47.8 25.28c3.66.07 6.86 2.62 6.86 6.28a7.12 7.12 0 0 1-6.86 7 6.62 6.62 0 0 1 0-13.23Z",style:{fill:"#661c00"}}),(0,s.createElement)("path",{d:"M47.81 25.29c3.65.07 6.86 2.62 6.86 6.27a7.14 7.14 0 0 1-6.86 7 6.62 6.62 0 0 1 0-13.23Z",style:{fill:"#681c00"}}),(0,s.createElement)("path",{d:"M47.82 25.3c3.65.07 6.86 2.61 6.86 6.27a7.14 7.14 0 0 1-6.86 7 6.62 6.62 0 0 1 0-13.23Z",style:{fill:"#691d00"}}),(0,s.createElement)("path",{d:"M47.83 25.31c3.65.07 6.86 2.61 6.86 6.26a7.14 7.14 0 0 1-6.86 7 6.57 6.57 0 0 1-6.62-6.61 6.64 6.64 0 0 1 6.62-6.65Z",style:{fill:"#6b1d00"}}),(0,s.createElement)("path",{d:"M47.83 25.32c3.65.07 6.87 2.6 6.87 6.25a7.15 7.15 0 0 1-6.87 7 6.57 6.57 0 0 1-6.61-6.61 6.64 6.64 0 0 1 6.61-6.64Z",style:{fill:"#6d1e00"}}),(0,s.createElement)("path",{d:"M47.84 25.33c3.65.08 6.87 2.6 6.87 6.25a7.15 7.15 0 0 1-6.87 7 6.57 6.57 0 0 1-6.61-6.61 6.64 6.64 0 0 1 6.61-6.64Z",style:{fill:"#6f1e00"}}),(0,s.createElement)("path",{d:"M47.85 25.34c3.65.08 6.87 2.59 6.87 6.24a7.16 7.16 0 0 1-6.87 7A6.57 6.57 0 0 1 41.24 32a6.64 6.64 0 0 1 6.61-6.66Z",style:{fill:"#701f00"}}),(0,s.createElement)("path",{d:"M47.85 25.35c3.65.08 6.88 2.59 6.88 6.24a7.17 7.17 0 0 1-6.88 7 6.56 6.56 0 0 1-6.6-6.59 6.63 6.63 0 0 1 6.6-6.65Z",style:{fill:"#721f00"}}),(0,s.createElement)("path",{d:"M47.86 25.37c3.65.07 6.88 2.57 6.88 6.22a7.18 7.18 0 0 1-6.88 7 6.61 6.61 0 0 1 0-13.21Z",style:{fill:"#742000"}}),(0,s.createElement)("path",{d:"M47.87 25.38c3.65.08 6.88 2.57 6.88 6.22a7.19 7.19 0 0 1-6.88 7 6.61 6.61 0 1 1 0-13.21Z",style:{fill:"#752000"}}),(0,s.createElement)("path",{d:"M47.88 25.39c3.64.08 6.88 2.56 6.88 6.21a7.2 7.2 0 0 1-6.88 7 6.61 6.61 0 1 1 0-13.21Z",style:{fill:"#772000"}}),(0,s.createElement)("path",{d:"M47.88 25.4c3.65.08 6.89 2.56 6.89 6.2a7.2 7.2 0 0 1-6.89 7 6.56 6.56 0 0 1-6.6-6.6 6.62 6.62 0 0 1 6.6-6.6Z",style:{fill:"#792100"}}),(0,s.createElement)("path",{d:"M47.89 25.41c3.64.08 6.89 2.55 6.89 6.2a7.2 7.2 0 0 1-6.89 7 6.55 6.55 0 0 1-6.6-6.6 6.62 6.62 0 0 1 6.6-6.6Z",style:{fill:"#7a2100"}}),(0,s.createElement)("path",{d:"M47.9 25.42c3.64.08 6.89 2.55 6.89 6.19a7.21 7.21 0 0 1-6.89 7A6.54 6.54 0 0 1 41.3 32a6.62 6.62 0 0 1 6.6-6.58Z",style:{fill:"#7c2200"}}),(0,s.createElement)("path",{d:"M47.9 25.43c3.65.09 6.89 2.54 6.89 6.19a7.21 7.21 0 0 1-6.89 7A6.55 6.55 0 0 1 41.31 32a6.62 6.62 0 0 1 6.59-6.57Z",style:{fill:"#7e2200"}}),(0,s.createElement)("path",{d:"M47.91 25.44c3.64.09 6.89 2.54 6.89 6.18a7.22 7.22 0 0 1-6.89 7 6.56 6.56 0 0 1-6.6-6.6 6.64 6.64 0 0 1 6.6-6.58Z",style:{fill:"#802300"}}),(0,s.createElement)("path",{d:"M47.92 25.45c3.64.09 6.89 2.53 6.89 6.17a7.23 7.23 0 0 1-6.89 7 6.56 6.56 0 0 1-6.6-6.6 6.64 6.64 0 0 1 6.6-6.57Z",style:{fill:"#812300"}}),(0,s.createElement)("path",{d:"M47.93 25.47c3.64.08 6.89 2.52 6.89 6.16a7.24 7.24 0 0 1-6.89 7 6.55 6.55 0 0 1-6.6-6.6 6.62 6.62 0 0 1 6.6-6.56Z",style:{fill:"#832400"}}),(0,s.createElement)("path",{d:"M47.93 25.48c3.64.08 6.9 2.51 6.9 6.15a7.24 7.24 0 0 1-6.9 7 6.54 6.54 0 0 1-6.59-6.59 6.61 6.61 0 0 1 6.59-6.56Z",style:{fill:"#852400"}}),(0,s.createElement)("path",{d:"M47.94 25.49c3.64.09 6.9 2.51 6.9 6.15a7.25 7.25 0 0 1-6.9 7 6.54 6.54 0 0 1-6.59-6.59 6.61 6.61 0 0 1 6.59-6.56Z",style:{fill:"#862500"}}),(0,s.createElement)("path",{d:"M48 25.5c3.64.09 6.9 2.5 6.9 6.14a7.26 7.26 0 0 1-6.9 7 6.53 6.53 0 0 1-6.59-6.59A6.61 6.61 0 0 1 48 25.5Z",style:{fill:"#882500"}}),(0,s.createElement)("path",{d:"M48 25.51c3.64.09 6.91 2.5 6.91 6.14a7.27 7.27 0 0 1-6.91 7 6.54 6.54 0 0 1-6.59-6.59A6.63 6.63 0 0 1 48 25.51Z",style:{fill:"#8a2600"}}),(0,s.createElement)("path",{d:"M48 25.52c3.64.09 6.91 2.49 6.91 6.13A7.28 7.28 0 0 1 48 38.7a6.54 6.54 0 0 1-6.59-6.59A6.63 6.63 0 0 1 48 25.52Z",style:{fill:"#8b2600"}}),(0,s.createElement)("path",{d:"M48 25.53c3.64.1 6.91 2.49 6.91 6.12A7.28 7.28 0 0 1 48 38.71a6.54 6.54 0 0 1-6.59-6.59A6.63 6.63 0 0 1 48 25.53Z",style:{fill:"#8d2600"}}),(0,s.createElement)("path",{d:"M48 25.54c3.63.1 6.91 2.48 6.91 6.12A7.29 7.29 0 0 1 48 38.72a6.53 6.53 0 0 1-6.59-6.59A6.62 6.62 0 0 1 48 25.54Z",style:{fill:"#8f2700"}}),(0,s.createElement)("path",{d:"M48 25.55c3.64.1 6.92 2.48 6.92 6.11A7.3 7.3 0 0 1 48 38.73a6.53 6.53 0 0 1-6.58-6.59A6.62 6.62 0 0 1 48 25.55Z",style:{fill:"#912700"}}),(0,s.createElement)("path",{d:"M48 25.56c3.63.1 6.92 2.47 6.92 6.11A7.3 7.3 0 0 1 48 38.73a6.54 6.54 0 0 1-6.59-6.58A6.63 6.63 0 0 1 48 25.56Z",style:{fill:"#922800"}}),(0,s.createElement)("path",{d:"M48 25.58c3.63.09 6.92 2.46 6.92 6.09A7.31 7.31 0 0 1 48 38.74a6.54 6.54 0 0 1-6.59-6.58A6.62 6.62 0 0 1 48 25.58Z",style:{fill:"#942800"}}),(0,s.createElement)("path",{d:"M48 25.59c3.64.1 6.93 2.45 6.93 6.09A7.32 7.32 0 0 1 48 38.75a6.53 6.53 0 0 1-6.58-6.58A6.62 6.62 0 0 1 48 25.59Z",style:{fill:"#962900"}}),(0,s.createElement)("path",{d:"M48 25.6c3.63.1 6.93 2.45 6.93 6.08A7.33 7.33 0 0 1 48 38.76a6.53 6.53 0 0 1-6.58-6.58A6.62 6.62 0 0 1 48 25.6Z",style:{fill:"#972900"}}),(0,s.createElement)("path",{d:"M48 25.61c3.63.1 6.93 2.44 6.93 6.07A7.34 7.34 0 0 1 48 38.77a6.52 6.52 0 0 1-6.58-6.58A6.62 6.62 0 0 1 48 25.61Z",style:{fill:"#992a00"}}),(0,s.createElement)("path",{d:"M48 25.62c3.63.1 6.93 2.43 6.93 6.07A7.35 7.35 0 0 1 48 38.78a6.52 6.52 0 0 1-6.58-6.58A6.62 6.62 0 0 1 48 25.62Z",style:{fill:"#9b2a00"}}),(0,s.createElement)("path",{d:"M48 25.63c3.63.11 6.94 2.43 6.94 6.06a7.35 7.35 0 0 1-6.94 7.1 6.53 6.53 0 0 1-6.58-6.58A6.62 6.62 0 0 1 48 25.63Z",style:{fill:"#9c2b00"}}),(0,s.createElement)("path",{d:"M48 25.64c3.63.11 6.94 2.42 6.94 6.06A7.35 7.35 0 0 1 48 38.79a6.52 6.52 0 0 1-6.58-6.57A6.62 6.62 0 0 1 48 25.64Z",style:{fill:"#9e2b00"}}),(0,s.createElement)("path",{d:"M48.05 25.65c3.63.11 6.94 2.42 6.94 6.05a7.36 7.36 0 0 1-6.94 7.1 6.52 6.52 0 0 1-6.58-6.57 6.62 6.62 0 0 1 6.58-6.58Z",style:{fill:"#a02c00"}}),(0,s.createElement)("path",{d:"M48.05 25.66c3.63.11 7 2.41 7 6.05a7.37 7.37 0 0 1-7 7.1 6.51 6.51 0 0 1-6.57-6.57 6.61 6.61 0 0 1 6.57-6.58Z",style:{fill:"#a22c00"}}),(0,s.createElement)("path",{d:"M48.06 25.67c3.63.11 6.95 2.41 6.95 6a7.38 7.38 0 0 1-6.95 7.11 6.51 6.51 0 0 1-6.57-6.57 6.61 6.61 0 0 1 6.57-6.54Z",style:{fill:"#a32d00"}}),(0,s.createElement)("path",{d:"M48.07 25.69c3.63.11 7 2.39 7 6a7.39 7.39 0 0 1-7 7.12 6.51 6.51 0 0 1-6.57-6.57 6.6 6.6 0 0 1 6.57-6.55Z",style:{fill:"#a52d00"}}),(0,s.createElement)("path",{d:"M48.08 25.7c3.62.11 7 2.39 7 6a7.4 7.4 0 0 1-7 7.12 6.53 6.53 0 0 1-6.58-6.57 6.61 6.61 0 0 1 6.58-6.55Z",style:{fill:"#a72d00"}}),(0,s.createElement)("path",{d:"M48.08 25.71c3.63.11 7 2.38 7 6a7.41 7.41 0 0 1-7 7.13 6.51 6.51 0 0 1-6.57-6.57 6.6 6.6 0 0 1 6.57-6.56Z",style:{fill:"#a82e00"}}),(0,s.createElement)("path",{d:"M48.09 25.72c3.63.11 7 2.38 7 6a7.41 7.41 0 0 1-7 7.12 6.5 6.5 0 0 1-6.57-6.56 6.6 6.6 0 0 1 6.57-6.56Z",style:{fill:"#aa2e00"}}),(0,s.createElement)("path",{d:"M48.1 25.73c3.62.11 7 2.37 7 6a7.42 7.42 0 0 1-7 7.13 6.5 6.5 0 0 1-6.57-6.56 6.6 6.6 0 0 1 6.57-6.57Z",style:{fill:"#ac2f00"}}),(0,s.createElement)("path",{d:"M48.1 25.74c3.63.12 7 2.37 7 6a7.43 7.43 0 0 1-7 7.14 6.5 6.5 0 0 1-6.56-6.56 6.6 6.6 0 0 1 6.56-6.58Z",style:{fill:"#ad2f00"}}),(0,s.createElement)("path",{d:"M48.11 25.75c3.62.12 7 2.36 7 6a7.44 7.44 0 0 1-7 7.14 6.49 6.49 0 0 1-6.56-6.56 6.6 6.6 0 0 1 6.56-6.58Z",style:{fill:"#af3000"}}),(0,s.createElement)("path",{d:"M48.12 25.76c3.62.12 7 2.36 7 6a7.44 7.44 0 0 1-7 7.15 6.5 6.5 0 0 1-6.57-6.56 6.62 6.62 0 0 1 6.57-6.59Z",style:{fill:"#b13000"}}),(0,s.createElement)("path",{d:"M48.13 25.77c3.62.12 7 2.35 7 6s-3.35 7.15-7 7.15a6.5 6.5 0 0 1-6.57-6.56 6.62 6.62 0 0 1 6.57-6.59Z",style:{fill:"#b33100"}}),(0,s.createElement)("path",{d:"M48.13 25.79c3.62.12 7 2.34 7 6a7.46 7.46 0 0 1-7 7.16 6.5 6.5 0 0 1-6.56-6.56 6.59 6.59 0 0 1 6.56-6.6Z",style:{fill:"#b43100"}}),(0,s.createElement)("path",{d:"M48.14 25.8c3.62.12 7 2.33 7 6s-3.36 7.16-7 7.16a6.49 6.49 0 0 1-6.56-6.56 6.59 6.59 0 0 1 6.56-6.6Z",style:{fill:"#b63200"}}),(0,s.createElement)("path",{d:"M48.15 25.81c3.62.12 7 2.33 7 6s-3.36 7.16-7 7.16a6.48 6.48 0 0 1-6.56-6.55 6.59 6.59 0 0 1 6.56-6.61Z",style:{fill:"#b83200"}}),(0,s.createElement)("path",{d:"M48.15 25.82c3.62.12 7 2.32 7 5.94s-3.36 7.17-7 7.17a6.48 6.48 0 0 1-6.55-6.55 6.59 6.59 0 0 1 6.55-6.56Z",style:{fill:"#b93300"}}),(0,s.createElement)("path",{d:"M55.15 31.77c0 3.62-3.37 7.17-7 7.17a6.49 6.49 0 0 1-6.56-6.55 6.61 6.61 0 0 1 6.56-6.56c3.63.17 7 2.32 7 5.94Z",style:{fill:"#b30"}}),(0,s.createElement)("path",{d:"M48.17 25.84c3.62.12 7 2.32 7 5.94s-3.38 7.22-7 7.22a6.49 6.49 0 0 1-6.56-6.56 6.6 6.6 0 0 1 6.56-6.6Z",style:{fill:"#bc3502",opacity:.99}}),(0,s.createElement)("path",{d:"M48.17 25.85c3.62.12 7 2.33 7 5.95s-3.38 7.2-7 7.2a6.49 6.49 0 0 1-6.55-6.56 6.59 6.59 0 0 1 6.55-6.59Z",style:{fill:"#bc3705",opacity:.98}}),(0,s.createElement)("path",{d:"M48.18 25.85c3.62.13 7 2.34 7 6S51.8 39 48.18 39a6.49 6.49 0 0 1-6.56-6.56 6.61 6.61 0 0 1 6.56-6.59Z",style:{fill:"#bd3907",opacity:.97}}),(0,s.createElement)("path",{d:"M48.18 25.86c3.62.12 7 2.34 7 6a7.45 7.45 0 0 1-7 7.15 6.48 6.48 0 0 1-6.55-6.55 6.6 6.6 0 0 1 6.55-6.6Z",style:{fill:"#bd3a09",opacity:.96}}),(0,s.createElement)("path",{d:"M48.19 25.87c3.62.12 7 2.35 7 6a7.44 7.44 0 0 1-7 7.14 6.49 6.49 0 0 1-6.56-6.55 6.61 6.61 0 0 1 6.56-6.59Z",style:{fill:"#be3c0c",opacity:.95}}),(0,s.createElement)("path",{d:"M48.19 25.88c3.62.12 7 2.35 7 6a7.44 7.44 0 0 1-7 7.14 6.48 6.48 0 0 1-6.55-6.55 6.6 6.6 0 0 1 6.55-6.59Z",style:{fill:"#bf3e0e",opacity:.95}}),(0,s.createElement)("path",{d:"M48.2 25.89c3.62.12 7 2.36 7 6a7.42 7.42 0 0 1-7 7.13 6.5 6.5 0 0 1-6.56-6.56 6.6 6.6 0 0 1 6.56-6.57Z",style:{fill:"#bf4010",opacity:.94}}),(0,s.createElement)("path",{d:"M48.21 25.9c3.61.11 6.95 2.36 6.95 6a7.42 7.42 0 0 1-6.95 7.1 6.5 6.5 0 0 1-6.56-6.56 6.59 6.59 0 0 1 6.56-6.54Z",style:{fill:"#c04213",opacity:.93}}),(0,s.createElement)("path",{d:"M48.21 25.9c3.62.12 7 2.37 7 6a7.42 7.42 0 0 1-7 7.13 6.49 6.49 0 0 1-6.55-6.56 6.59 6.59 0 0 1 6.55-6.57Z",style:{fill:"#c14415",opacity:.92}}),(0,s.createElement)("path",{d:"M48.22 25.91c3.62.12 7 2.38 7 6a7.41 7.41 0 0 1-7 7.12 6.5 6.5 0 0 1-6.56-6.56 6.59 6.59 0 0 1 6.56-6.56Z",style:{fill:"#c14617",opacity:.91}}),(0,s.createElement)("path",{d:"M48.22 25.92c3.62.11 7 2.38 7 6a7.4 7.4 0 0 1-7 7.11 6.48 6.48 0 0 1-6.55-6.55 6.59 6.59 0 0 1 6.55-6.56Z",style:{fill:"#c24719",opacity:.9}}),(0,s.createElement)("path",{d:"M48.23 25.93c3.62.11 6.94 2.39 6.94 6A7.38 7.38 0 0 1 48.23 39a6.49 6.49 0 0 1-6.56-6.55 6.59 6.59 0 0 1 6.56-6.52Z",style:{fill:"#c2491c",opacity:.89}}),(0,s.createElement)("path",{d:"M48.23 25.94c3.62.11 6.94 2.39 6.94 6a7.38 7.38 0 0 1-6.94 7.1 6.49 6.49 0 0 1-6.55-6.56 6.59 6.59 0 0 1 6.55-6.54Z",style:{fill:"#c34b1e",opacity:.88}}),(0,s.createElement)("path",{d:"M48.24 26c3.62.11 6.93 2.39 6.93 6a7.36 7.36 0 0 1-6.93 7.1 6.51 6.51 0 0 1-6.56-6.56A6.59 6.59 0 0 1 48.24 26Z",style:{fill:"#c44d20",opacity:.87}}),(0,s.createElement)("path",{d:"M48.25 26c3.61.1 6.93 2.4 6.93 6a7.36 7.36 0 0 1-6.93 7.09 6.49 6.49 0 0 1-6.56-6.56A6.59 6.59 0 0 1 48.25 26Z",style:{fill:"#c44f23",opacity:.86}}),(0,s.createElement)("path",{d:"M48.25 26c3.62.11 6.93 2.41 6.93 6a7.36 7.36 0 0 1-6.93 7.09 6.51 6.51 0 0 1-6.56-6.56A6.61 6.61 0 0 1 48.25 26Z",style:{fill:"#c55125",opacity:.85}}),(0,s.createElement)("path",{d:"M48.26 26c3.62.11 6.92 2.42 6.92 6a7.33 7.33 0 0 1-6.92 7.07 6.5 6.5 0 0 1-6.56-6.55A6.6 6.6 0 0 1 48.26 26Z",style:{fill:"#c65327",opacity:.85}}),(0,s.createElement)("path",{d:"M48.26 26c3.62.11 6.92 2.42 6.92 6a7.33 7.33 0 0 1-6.92 7.07 6.48 6.48 0 0 1-6.55-6.55A6.59 6.59 0 0 1 48.26 26Z",style:{fill:"#c6542a",opacity:.84}}),(0,s.createElement)("path",{d:"M48.27 26c3.62.1 6.91 2.42 6.91 6a7.32 7.32 0 0 1-6.91 7.07 6.51 6.51 0 0 1-6.56-6.56A6.59 6.59 0 0 1 48.27 26Z",style:{fill:"#c7562c",opacity:.83}}),(0,s.createElement)("path",{d:"M48.27 26c3.62.1 6.91 2.43 6.91 6a7.31 7.31 0 0 1-6.91 7.06 6.5 6.5 0 0 1-6.55-6.56 6.58 6.58 0 0 1 6.55-6.5Z",style:{fill:"#c7582e",opacity:.82}}),(0,s.createElement)("path",{d:"M48.28 26c3.62.1 6.91 2.43 6.91 6.05a7.31 7.31 0 0 1-6.91 7.06 6.51 6.51 0 0 1-6.56-6.56A6.59 6.59 0 0 1 48.28 26Z",style:{fill:"#c85a31",opacity:.81}}),(0,s.createElement)("path",{d:"M48.28 26c3.62.1 6.91 2.45 6.91 6.07a7.3 7.3 0 0 1-6.91 7.05 6.5 6.5 0 0 1-6.55-6.56A6.59 6.59 0 0 1 48.28 26Z",style:{fill:"#c95c33",opacity:.8}}),(0,s.createElement)("path",{d:"M48.29 26c3.62.1 6.9 2.45 6.9 6.07a7.29 7.29 0 0 1-6.9 7 6.5 6.5 0 0 1-6.56-6.55A6.6 6.6 0 0 1 48.29 26Z",style:{fill:"#c95e35",opacity:.79}}),(0,s.createElement)("path",{d:"M48.3 26c3.61.1 6.89 2.45 6.89 6.07a7.27 7.27 0 0 1-6.89 7 6.49 6.49 0 0 1-6.56-6.55A6.59 6.59 0 0 1 48.3 26Z",style:{fill:"#ca6038",opacity:.78}}),(0,s.createElement)("path",{d:"M48.3 26c3.62.1 6.89 2.46 6.89 6.08a7.27 7.27 0 0 1-6.89 7 6.51 6.51 0 0 1-6.56-6.56A6.59 6.59 0 0 1 48.3 26Z",style:{fill:"#ca613a",opacity:.77}}),(0,s.createElement)("path",{d:"M48.31 26.05c3.62.09 6.88 2.46 6.88 6.08a7.26 7.26 0 0 1-6.88 7 6.51 6.51 0 0 1-6.56-6.56 6.59 6.59 0 0 1 6.56-6.52Z",style:{fill:"#cb633c",opacity:.76}}),(0,s.createElement)("path",{d:"M48.31 26.06c3.62.09 6.89 2.47 6.89 6.09a7.26 7.26 0 0 1-6.89 7 6.5 6.5 0 0 1-6.55-6.56 6.58 6.58 0 0 1 6.55-6.53Z",style:{fill:"#cc653f",opacity:.75}}),(0,s.createElement)("path",{d:"M48.32 26.06c3.62.1 6.88 2.48 6.88 6.1a7.25 7.25 0 0 1-6.88 7 6.51 6.51 0 0 1-6.56-6.56 6.6 6.6 0 0 1 6.56-6.54Z",style:{fill:"#cc6741",opacity:.75}}),(0,s.createElement)("path",{d:"M48.32 26.07c3.62.09 6.88 2.48 6.88 6.1a7.23 7.23 0 0 1-6.88 7 6.5 6.5 0 0 1-6.55-6.55 6.59 6.59 0 0 1 6.55-6.55Z",style:{fill:"#cd6943",opacity:.74}}),(0,s.createElement)("path",{d:"M48.33 26.08c3.62.09 6.87 2.49 6.87 6.11a7.22 7.22 0 0 1-6.87 7 6.5 6.5 0 0 1-6.56-6.55 6.59 6.59 0 0 1 6.56-6.56Z",style:{fill:"#ce6b46",opacity:.73}}),(0,s.createElement)("path",{d:"M48.33 26.09c3.62.09 6.87 2.49 6.87 6.11a7.22 7.22 0 0 1-6.87 7 6.5 6.5 0 0 1-6.55-6.55 6.58 6.58 0 0 1 6.55-6.56Z",style:{fill:"#ce6c48",opacity:.72}}),(0,s.createElement)("path",{d:"M48.34 26.1c3.62.09 6.86 2.5 6.86 6.12a7.21 7.21 0 0 1-6.86 7 6.56 6.56 0 1 1 0-13.11Z",style:{fill:"#cf6e4a",opacity:.71}}),(0,s.createElement)("path",{d:"M48.35 26.11c3.62.08 6.86 2.5 6.86 6.12a7.21 7.21 0 0 1-6.86 7 6.51 6.51 0 0 1-6.56-6.56 6.58 6.58 0 0 1 6.56-6.56Z",style:{fill:"#cf704c",opacity:.7}}),(0,s.createElement)("path",{d:"M48.35 26.11c3.62.09 6.86 2.51 6.86 6.13a7.2 7.2 0 0 1-6.86 7 6.5 6.5 0 0 1-6.55-6.56 6.58 6.58 0 0 1 6.55-6.57Z",style:{fill:"#d0724f",opacity:.69}}),(0,s.createElement)("path",{d:"M48.36 26.12c3.62.09 6.85 2.52 6.85 6.14a7.19 7.19 0 0 1-6.85 7 6.52 6.52 0 0 1-6.56-6.56 6.59 6.59 0 0 1 6.56-6.58Z",style:{fill:"#d17451",opacity:.68}}),(0,s.createElement)("path",{d:"M48.36 26.13c3.62.09 6.85 2.52 6.85 6.14a7.18 7.18 0 0 1-6.85 7 6.5 6.5 0 0 1-6.55-6.55 6.58 6.58 0 0 1 6.55-6.59Z",style:{fill:"#d17653",opacity:.67}}),(0,s.createElement)("path",{d:"M48.37 26.14c3.62.08 6.84 2.53 6.84 6.15a7.16 7.16 0 0 1-6.84 7 6.51 6.51 0 0 1-6.56-6.55 6.59 6.59 0 0 1 6.56-6.6Z",style:{fill:"#d27856",opacity:.66}}),(0,s.createElement)("path",{d:"M48.37 26.15c3.62.08 6.84 2.53 6.84 6.15a7.16 7.16 0 0 1-6.84 7 6.51 6.51 0 0 1-6.55-6.56 6.58 6.58 0 0 1 6.55-6.59Z",style:{fill:"#d27958",opacity:.65}}),(0,s.createElement)("path",{d:"M48.38 26.16c3.62.08 6.84 2.53 6.84 6.15a7.15 7.15 0 0 1-6.84 7 6.52 6.52 0 0 1-6.56-6.56 6.59 6.59 0 0 1 6.56-6.59Z",style:{fill:"#d37b5a",opacity:.65}}),(0,s.createElement)("path",{d:"M48.38 26.16c3.62.08 6.84 2.55 6.84 6.17a7.14 7.14 0 0 1-6.84 7 6.51 6.51 0 0 1-6.55-6.56 6.59 6.59 0 0 1 6.55-6.61Z",style:{fill:"#d47d5d",opacity:.64}}),(0,s.createElement)("path",{d:"M48.39 26.17c3.62.08 6.83 2.55 6.83 6.17a7.14 7.14 0 0 1-6.83 6.95 6.53 6.53 0 0 1-6.56-6.56 6.6 6.6 0 0 1 6.56-6.56Z",style:{fill:"#d47f5f",opacity:.63}}),(0,s.createElement)("path",{d:"M48.4 26.18c3.62.08 6.82 2.56 6.82 6.18a7.12 7.12 0 0 1-6.82 6.93 6.51 6.51 0 0 1-6.56-6.55 6.58 6.58 0 0 1 6.56-6.56Z",style:{fill:"#d58161",opacity:.62}}),(0,s.createElement)("path",{d:"M48.4 26.19c3.62.08 6.82 2.56 6.82 6.18a7.12 7.12 0 0 1-6.82 6.93 6.5 6.5 0 0 1-6.55-6.55 6.57 6.57 0 0 1 6.55-6.56Z",style:{fill:"#d68364",opacity:.61}}),(0,s.createElement)("path",{d:"M48.41 26.2c3.62.07 6.81 2.56 6.81 6.18a7.1 7.1 0 0 1-6.81 6.93 6.56 6.56 0 1 1 0-13.11Z",style:{fill:"#d68566",opacity:.6}}),(0,s.createElement)("path",{d:"M48.41 26.21c3.62.07 6.82 2.57 6.82 6.19a7.11 7.11 0 0 1-6.82 6.92 6.56 6.56 0 0 1 0-13.11Z",style:{fill:"#d78668",opacity:.59}}),(0,s.createElement)("path",{d:"M48.42 26.22c3.62.07 6.81 2.57 6.81 6.19a7.1 7.1 0 0 1-6.81 6.92 6.56 6.56 0 1 1 0-13.11Z",style:{fill:"#d7886b",opacity:.58}}),(0,s.createElement)("path",{d:"M48.42 26.22c3.62.08 6.81 2.59 6.81 6.21a7.08 7.08 0 0 1-6.81 6.91 6.51 6.51 0 0 1-6.55-6.56 6.59 6.59 0 0 1 6.55-6.56Z",style:{fill:"#d88a6d",opacity:.57}}),(0,s.createElement)("path",{d:"M48.43 26.23c3.62.07 6.8 2.59 6.8 6.21a7.07 7.07 0 0 1-6.8 6.9 6.52 6.52 0 0 1-6.56-6.55 6.59 6.59 0 0 1 6.56-6.56Z",style:{fill:"#d98c6f",opacity:.56}}),(0,s.createElement)("path",{d:"M48.44 26.24c3.62.07 6.79 2.59 6.79 6.21a7.05 7.05 0 0 1-6.79 6.9 6.56 6.56 0 1 1 0-13.11Z",style:{fill:"#d98e72",opacity:.55}}),(0,s.createElement)("path",{d:"M48.44 26.25c3.62.07 6.79 2.6 6.79 6.22a7.05 7.05 0 0 1-6.79 6.89 6.56 6.56 0 1 1 0-13.11Z",style:{fill:"#da9074",opacity:.55}}),(0,s.createElement)("path",{d:"M48.45 26.26c3.62.06 6.78 2.6 6.78 6.22a7 7 0 0 1-6.78 6.89 6.56 6.56 0 1 1 0-13.11Z",style:{fill:"#db9276",opacity:.54}}),(0,s.createElement)("path",{d:"M48.45 26.27c3.62.06 6.79 2.61 6.79 6.23a7 7 0 0 1-6.79 6.88 6.56 6.56 0 0 1 0-13.11Z",style:{fill:"#db9379",opacity:.53}}),(0,s.createElement)("path",{d:"M48.46 26.27c3.62.07 6.78 2.62 6.78 6.24a7 7 0 0 1-6.78 6.88 6.56 6.56 0 0 1 0-13.12Z",style:{fill:"#dc957b",opacity:.52}}),(0,s.createElement)("path",{d:"M48.46 26.28c3.62.07 6.78 2.62 6.78 6.24a7 7 0 0 1-6.78 6.87 6.56 6.56 0 0 1 0-13.11Z",style:{fill:"#dc977d",opacity:.51}}),(0,s.createElement)("path",{d:"M48.47 26.29c3.62.06 6.77 2.63 6.77 6.25a7 7 0 0 1-6.77 6.86 6.56 6.56 0 1 1 0-13.11Z",style:{fill:"#dd9980",opacity:.5}}),(0,s.createElement)("path",{d:"M48.47 26.3c3.62.06 6.77 2.63 6.77 6.25a7 7 0 0 1-6.77 6.86 6.56 6.56 0 0 1 0-13.11Z",style:{fill:"#de9b82",opacity:.49}}),(0,s.createElement)("path",{d:"M48.48 26.31c3.62.06 6.76 2.64 6.76 6.26a7 7 0 0 1-6.76 6.85 6.56 6.56 0 1 1 0-13.11Z",style:{fill:"#de9d84",opacity:.48}}),(0,s.createElement)("path",{d:"M48.49 26.32c3.62.06 6.76 2.64 6.76 6.26a7 7 0 0 1-6.76 6.85 6.56 6.56 0 1 1 0-13.11Z",style:{fill:"#df9f86",opacity:.47}}),(0,s.createElement)("path",{d:"M48.49 26.32c3.62.06 6.76 2.65 6.76 6.27a7 7 0 0 1-6.76 6.85 6.56 6.56 0 0 1 0-13.12Z",style:{fill:"#dfa089",opacity:.46}}),(0,s.createElement)("path",{d:"M48.5 26.33c3.62.06 6.75 2.66 6.75 6.28a7 7 0 0 1-6.75 6.83 6.56 6.56 0 1 1 0-13.11Z",style:{fill:"#e0a28b",opacity:.45}}),(0,s.createElement)("path",{d:"M48.5 26.34c3.62.06 6.75 2.66 6.75 6.28a7 7 0 0 1-6.75 6.83 6.56 6.56 0 0 1 0-13.11Z",style:{fill:"#e1a48d",opacity:.45}}),(0,s.createElement)("path",{d:"M48.51 26.35c3.62 0 6.74 2.67 6.74 6.29a7 7 0 0 1-6.74 6.82 6.56 6.56 0 1 1 0-13.11Z",style:{fill:"#e1a690",opacity:.44}}),(0,s.createElement)("path",{d:"M48.51 26.36c3.62.05 6.74 2.67 6.74 6.29a7 7 0 0 1-6.74 6.82 6.56 6.56 0 0 1 0-13.11Z",style:{fill:"#e2a892",opacity:.43}}),(0,s.createElement)("path",{d:"M48.52 26.37c3.62.05 6.74 2.67 6.74 6.29a6.94 6.94 0 0 1-6.74 6.82 6.56 6.56 0 1 1 0-13.11Z",style:{fill:"#e3aa94",opacity:.42}}),(0,s.createElement)("path",{d:"M48.52 26.37c3.62.06 6.74 2.69 6.74 6.31a6.93 6.93 0 0 1-6.74 6.81 6.56 6.56 0 0 1 0-13.12Z",style:{fill:"#e3ac97",opacity:.41}}),(0,s.createElement)("path",{d:"M48.53 26.38a6.54 6.54 0 0 1 6.73 6.31 6.93 6.93 0 0 1-6.73 6.81 6.56 6.56 0 0 1 0-13.12Z",style:{fill:"#e4ad99",opacity:.4}}),(0,s.createElement)("path",{d:"M48.54 26.39a6.54 6.54 0 0 1 6.72 6.32 6.9 6.9 0 0 1-6.72 6.79 6.56 6.56 0 1 1 0-13.11Z",style:{fill:"#e4af9b",opacity:.39}}),(0,s.createElement)("path",{d:"M48.54 26.4a6.54 6.54 0 0 1 6.72 6.32 6.9 6.9 0 0 1-6.72 6.79 6.56 6.56 0 0 1 0-13.11Z",style:{fill:"#e5b19e",opacity:.38}}),(0,s.createElement)("path",{d:"M48.55 26.41a6.52 6.52 0 0 1 6.71 6.32 6.89 6.89 0 0 1-6.71 6.79 6.56 6.56 0 1 1 0-13.11Z",style:{fill:"#e6b3a0",opacity:.37}}),(0,s.createElement)("path",{d:"M48.55 26.42a6.54 6.54 0 0 1 6.72 6.33 6.89 6.89 0 0 1-6.72 6.78 6.56 6.56 0 0 1 0-13.11Z",style:{fill:"#e6b5a2",opacity:.36}}),(0,s.createElement)("path",{d:"M48.56 26.43a6.53 6.53 0 0 1 6.71 6.33 6.88 6.88 0 0 1-6.71 6.78 6.56 6.56 0 1 1 0-13.11Z",style:{fill:"#e7b7a5",opacity:.35}}),(0,s.createElement)("path",{d:"M48.56 26.43a6.55 6.55 0 0 1 6.71 6.35 6.88 6.88 0 0 1-6.71 6.77 6.56 6.56 0 0 1 0-13.12Z",style:{fill:"#e8b9a7",opacity:.35}}),(0,s.createElement)("path",{d:"M48.57 26.44a6.54 6.54 0 0 1 6.7 6.35 6.86 6.86 0 0 1-6.7 6.76 6.56 6.56 0 1 1 0-13.11Z",style:{fill:"#e8baa9",opacity:.34}}),(0,s.createElement)("path",{d:"M48.58 26.45a6.53 6.53 0 0 1 6.69 6.35 6.84 6.84 0 0 1-6.69 6.76 6.56 6.56 0 1 1 0-13.11Z",style:{fill:"#e9bcac",opacity:.33}}),(0,s.createElement)("path",{d:"M48.58 26.46a6.53 6.53 0 0 1 6.69 6.36 6.84 6.84 0 0 1-6.69 6.75 6.56 6.56 0 1 1 0-13.11Z",style:{fill:"#e9beae",opacity:.32}}),(0,s.createElement)("path",{d:"M48.59 26.47a6.53 6.53 0 0 1 6.69 6.36 6.84 6.84 0 0 1-6.69 6.75 6.56 6.56 0 1 1 0-13.11Z",style:{fill:"#eac0b0",opacity:.31}}),(0,s.createElement)("path",{d:"M48.59 26.48a6.54 6.54 0 0 1 6.69 6.37 6.83 6.83 0 0 1-6.69 6.74 6.56 6.56 0 0 1 0-13.11Z",style:{fill:"#ebc2b3",opacity:.3}}),(0,s.createElement)("path",{d:"M48.6 26.48a6.54 6.54 0 0 1 6.68 6.38 6.82 6.82 0 0 1-6.68 6.74 6.56 6.56 0 0 1 0-13.12Z",style:{fill:"#ebc4b5",opacity:.29}}),(0,s.createElement)("path",{d:"M48.6 26.49a6.54 6.54 0 0 1 6.68 6.38 6.81 6.81 0 0 1-6.68 6.73 6.56 6.56 0 0 1 0-13.11Z",style:{fill:"#ecc6b7",opacity:.28}}),(0,s.createElement)("path",{d:"M48.61 26.5a6.54 6.54 0 0 1 6.67 6.39 6.8 6.8 0 0 1-6.67 6.72 6.56 6.56 0 1 1 0-13.11Z",style:{fill:"#ecc7b9",opacity:.27}}),(0,s.createElement)("path",{d:"M48.61 26.51a6.54 6.54 0 0 1 6.67 6.39 6.79 6.79 0 0 1-6.67 6.72 6.56 6.56 0 0 1 0-13.11Z",style:{fill:"#edc9bc",opacity:.26}}),(0,s.createElement)("path",{d:"M48.62 26.52a6.54 6.54 0 0 1 6.67 6.4 6.79 6.79 0 0 1-6.67 6.71 6.56 6.56 0 1 1 0-13.11Z",style:{fill:"#eecbbe",opacity:.25}}),(0,s.createElement)("path",{d:"M48.63 26.53a6.53 6.53 0 0 1 6.66 6.4 6.78 6.78 0 0 1-6.66 6.71 6.56 6.56 0 1 1 0-13.11Z",style:{fill:"#eecdc0",opacity:.25}}),(0,s.createElement)("path",{d:"M48.63 26.53a6.54 6.54 0 0 1 6.66 6.41 6.77 6.77 0 0 1-6.66 6.71 6.56 6.56 0 0 1 0-13.12Z",style:{fill:"#efcfc3",opacity:.24}}),(0,s.createElement)("path",{d:"M48.64 26.54A6.54 6.54 0 0 1 55.29 33a6.75 6.75 0 0 1-6.65 6.69 6.56 6.56 0 1 1 0-13.11Z",style:{fill:"#f0d1c5",opacity:.23}}),(0,s.createElement)("path",{d:"M48.64 26.55A6.54 6.54 0 0 1 55.29 33a6.75 6.75 0 0 1-6.65 6.69 6.56 6.56 0 0 1 0-13.11Z",style:{fill:"#f0d2c7",opacity:.22}}),(0,s.createElement)("path",{d:"M48.65 26.56A6.54 6.54 0 0 1 55.29 33a6.74 6.74 0 0 1-6.64 6.68 6.56 6.56 0 1 1 0-13.11Z",style:{fill:"#f1d4ca",opacity:.21}}),(0,s.createElement)("path",{d:"M48.65 26.57A6.54 6.54 0 0 1 55.3 33a6.74 6.74 0 0 1-6.65 6.68 6.56 6.56 0 0 1 0-13.11Z",style:{fill:"#f1d6cc",opacity:.2}}),(0,s.createElement)("path",{d:"M48.66 26.58A6.54 6.54 0 0 1 55.3 33a6.73 6.73 0 0 1-6.64 6.68 6.56 6.56 0 1 1 0-13.11Z",style:{fill:"#f2d8ce",opacity:.19}}),(0,s.createElement)("path",{d:"M48.66 26.58A6.55 6.55 0 0 1 55.3 33a6.72 6.72 0 0 1-6.64 6.67 6.56 6.56 0 0 1 0-13.12Z",style:{fill:"#f3dad1",opacity:.18}}),(0,s.createElement)("path",{d:"M48.67 26.59A6.54 6.54 0 0 1 55.3 33a6.71 6.71 0 0 1-6.63 6.66 6.56 6.56 0 1 1 0-13.11Z",style:{fill:"#f3dcd3",opacity:.17}}),(0,s.createElement)("path",{d:"M48.68 26.6a6.54 6.54 0 0 1 6.62 6.46 6.69 6.69 0 0 1-6.62 6.65 6.56 6.56 0 1 1 0-13.11Z",style:{fill:"#f4ded5",opacity:.16}}),(0,s.createElement)("path",{d:"M48.68 26.61a6.54 6.54 0 0 1 6.62 6.46 6.69 6.69 0 0 1-6.62 6.65 6.56 6.56 0 0 1 0-13.11Z",style:{fill:"#f4dfd8",opacity:.15}}),(0,s.createElement)("path",{d:"M48.69 26.62a6.54 6.54 0 0 1 6.62 6.46 6.69 6.69 0 0 1-6.62 6.65 6.56 6.56 0 1 1 0-13.11Z",style:{fill:"#f5e1da",opacity:.15}}),(0,s.createElement)("path",{d:"M48.69 26.63a6.55 6.55 0 0 1 6.62 6.47 6.68 6.68 0 0 1-6.62 6.64 6.56 6.56 0 0 1 0-13.11Z",style:{fill:"#f6e3dc",opacity:.14}}),(0,s.createElement)("path",{d:"M48.7 26.63a6.55 6.55 0 0 1 6.61 6.48 6.68 6.68 0 0 1-6.61 6.64 6.56 6.56 0 0 1 0-13.12Z",style:{fill:"#f6e5df",opacity:.13}}),(0,s.createElement)("path",{d:"M48.7 26.64a6.56 6.56 0 0 1 6.61 6.49 6.67 6.67 0 0 1-6.61 6.63 6.56 6.56 0 0 1 0-13.12Z",style:{fill:"#f7e7e1",opacity:.12}}),(0,s.createElement)("path",{d:"M48.71 26.65a6.55 6.55 0 0 1 6.6 6.49 6.65 6.65 0 0 1-6.6 6.62 6.56 6.56 0 1 1 0-13.11Z",style:{fill:"#f8e9e3",opacity:.11}}),(0,s.createElement)("path",{d:"M48.72 26.66a6.54 6.54 0 0 1 6.59 6.49 6.63 6.63 0 0 1-6.59 6.62 6.56 6.56 0 1 1 0-13.11Z",style:{fill:"#f8ebe6",opacity:.1}}),(0,s.createElement)("path",{d:"M48.72 26.67a6.55 6.55 0 0 1 6.6 6.5 6.64 6.64 0 0 1-6.6 6.61 6.56 6.56 0 1 1 0-13.11Z",style:{fill:"#f9ece8",opacity:.09}}),(0,s.createElement)("path",{d:"M48.73 26.68a6.54 6.54 0 0 1 6.59 6.5 6.63 6.63 0 0 1-6.59 6.61 6.56 6.56 0 1 1 0-13.11Z",style:{fill:"#f9eeea",opacity:.08}}),(0,s.createElement)("path",{d:"M48.73 26.69a6.55 6.55 0 0 1 6.59 6.51 6.62 6.62 0 0 1-6.59 6.6 6.56 6.56 0 0 1 0-13.11Z",style:{fill:"#faf0ec",opacity:.07}}),(0,s.createElement)("path",{d:"M48.74 26.69a6.56 6.56 0 1 1-6.56 6.56 6.55 6.55 0 0 1 6.56-6.56Z",style:{fill:"#fbf2ef",opacity:.06}}),(0,s.createElement)("path",{d:"M48.74 26.7a6.56 6.56 0 1 1-6.55 6.56 6.55 6.55 0 0 1 6.55-6.56Z",style:{fill:"#fbf4f1",opacity:.05}}),(0,s.createElement)("path",{d:"M48.75 26.71a6.56 6.56 0 1 1-6.56 6.56 6.55 6.55 0 0 1 6.56-6.56Z",style:{fill:"#fcf6f3",opacity:.05}}),(0,s.createElement)("path",{d:"M48.75 26.72a6.56 6.56 0 1 1-6.55 6.55 6.55 6.55 0 0 1 6.55-6.55Z",style:{fill:"#fdf8f6",opacity:.04}}),(0,s.createElement)("path",{d:"M48.76 26.73a6.56 6.56 0 1 1-6.56 6.55 6.56 6.56 0 0 1 6.56-6.55Z",style:{fill:"#fdf9f8",opacity:.03}}),(0,s.createElement)("path",{d:"M48.77 26.74a6.56 6.56 0 1 1-6.56 6.55 6.55 6.55 0 0 1 6.56-6.55Z",style:{fill:"#fefbfa",opacity:.02}}),(0,s.createElement)("path",{d:"M48.77 26.74a6.56 6.56 0 1 1-6.55 6.56 6.56 6.56 0 0 1 6.55-6.56Z",style:{fill:"#fefdfd",opacity:.01}}))),(0,s.createElement)("g",{style:{clipPath:"url(#clip-path-2)"}},(0,s.createElement)("g",{style:{clipPath:"url(#clip-path-3)"}},(0,s.createElement)("path",{transform:"rotate(-30 47.879 31.429)",style:{fill:"#e04e15"},d:"M-6.16-22.61h108.07V85.46H-6.16z"}),(0,s.createElement)("path",{transform:"rotate(-30 48.999 33.37)",style:{fill:"#e04f15"},d:"M-5.03-20.66h108.07V87.41H-5.03z"}),(0,s.createElement)("path",{transform:"matrix(.87 -.5 .5 .87 -10.95 29.8)",style:{fill:"#e15015"},d:"M-3.91-18.71h108.07V89.36H-3.91z"}),(0,s.createElement)("path",{transform:"rotate(-30 51.253 37.273)",style:{fill:"#e15115"},d:"M-2.78-16.77h108.07V91.3H-2.78z"}),(0,s.createElement)("path",{transform:"matrix(.87 -.5 .5 .87 -12.59 31.44)",style:{fill:"#e25215"},d:"M-1.66-14.82h108.07V93.25H-1.66z"}),(0,s.createElement)("path",{transform:"rotate(-30 53.507 41.177)",style:{fill:"#e25316"},d:"M-.53-12.87h108.07V95.2H-.53z"}),(0,s.createElement)("path",{transform:"rotate(-30 54.627 43.117)",style:{fill:"#e35416"},d:"M.59-10.92h108.07V97.15H.59z"}),(0,s.createElement)("path",{transform:"rotate(-30 55.747 45.057)",style:{fill:"#e35516"},d:"M1.72-8.97h108.07V99.1H1.72z"}),(0,s.createElement)("path",{transform:"matrix(.87 -.5 .5 .87 -15.89 34.74)",style:{fill:"#e35616"},d:"M2.84-7.02h108.07v108.07H2.84z"}),(0,s.createElement)("path",{fill:"#e45716",d:"M-15.812 29.176 77.78-24.86l54.035 93.591-93.59 54.035z"}),(0,s.createElement)("path",{fill:"#e45716",d:"M-14.687 31.124 78.904-22.91l54.035 93.592-93.59 54.035z"}),(0,s.createElement)("path",{transform:"matrix(.87 -.5 .5 .87 -18.36 37.21)",style:{fill:"#e55816"},d:"M6.22-1.18h108.07v108.07H6.22z"}),(0,s.createElement)("path",{transform:"rotate(-30 61.375 54.805)",style:{fill:"#e55916"},d:"M7.34.77h108.07v108.07H7.34z"}),(0,s.createElement)("path",{transform:"rotate(-30 62.495 56.746)",style:{fill:"#e55a16"},d:"M8.47 2.72h108.07v108.07H8.47z"}),(0,s.createElement)("path",{transform:"matrix(.87 -.5 .5 .87 -20.83 39.68)",style:{fill:"#e65b16"},d:"M9.59 4.67h108.07v108.07H9.59z"}),(0,s.createElement)("path",{transform:"matrix(.87 -.5 .5 .87 -21.65 40.5)",style:{fill:"#e65c17"},d:"M10.72 6.62h108.07v108.07H10.72z"}),(0,s.createElement)("path",{transform:"matrix(.87 -.5 .5 .87 -22.47 41.33)",style:{fill:"#e75d17"},d:"M11.84 8.56h108.07v108.07H11.84z"}),(0,s.createElement)("path",{transform:"rotate(-30 67.003 64.553)",style:{fill:"#e75e17"},d:"M12.97 10.51h108.07v108.07H12.97z"}),(0,s.createElement)("path",{transform:"rotate(-30 68.123 66.494)",style:{fill:"#e85f17"},d:"M14.09 12.46h108.07v108.07H14.09z"}),(0,s.createElement)("path",{transform:"rotate(-30 69.262 68.439)",style:{fill:"#e86017"},d:"M15.22 14.41h108.07v108.07H15.22z"}),(0,s.createElement)("path",{transform:"rotate(-30 69.68 69.19)",style:{fill:"#e86117"},d:"M15.65 15.16h108.07v108.07H15.65z"}),(0,s.createElement)("path",{transform:"rotate(-30 70.118 69.948)",style:{fill:"#e96217"},d:"M16.09 15.92h108.07v108.07H16.09z"}),(0,s.createElement)("path",{transform:"rotate(-30 70.555 70.705)",style:{fill:"#e96317"},d:"M16.52 16.67h108.07v108.07H16.52z"}),(0,s.createElement)("path",{transform:"rotate(-30 70.992 71.462)",style:{fill:"#e96418"},d:"M16.96 17.42h108.07v108.07H16.96z"}),(0,s.createElement)("path",{transform:"matrix(.87 -.5 .5 .87 -26.54 45.39)",style:{fill:"#e96518"},d:"M17.39 18.18h108.07v108.07H17.39z"}),(0,s.createElement)("path",{transform:"rotate(-30 71.871 72.958)",style:{fill:"#ea6618"},d:"M17.82 18.93h108.07V127H17.82z"}),(0,s.createElement)("path",{transform:"rotate(-30 72.29 73.71)",style:{fill:"#ea6718"},d:"M18.26 19.68h108.07v108.07H18.26z"}),(0,s.createElement)("path",{transform:"rotate(-30 72.727 74.467)",style:{fill:"#ea6818"},d:"M18.69 20.43h108.07V128.5H18.69z"}),(0,s.createElement)("path",{transform:"rotate(-30 73.164 75.224)",style:{fill:"#ea6918"},d:"M19.13 21.19H127.2v108.07H19.13z"}),(0,s.createElement)("path",{transform:"rotate(-30 73.6 75.981)",style:{fill:"#eb6a18"},d:"M19.56 21.94h108.07v108.07H19.56z"}),(0,s.createElement)("path",{transform:"rotate(-30 74.038 76.738)",style:{fill:"#eb6b19"},d:"M20 22.69h108.07v108.07H20z"}),(0,s.createElement)("path",{transform:"rotate(-30 74.48 77.477)",style:{fill:"#eb6c19"},d:"M20.43 23.45H128.5v108.07H20.43z"}),(0,s.createElement)("path",{transform:"matrix(.87 -.5 .5 .87 -29.08 47.93)",style:{fill:"#eb6d19"},d:"M20.87 24.2h108.07v108.07H20.87z"}),(0,s.createElement)("path",{transform:"rotate(-30 75.336 78.986)",style:{fill:"#ec6e19"},d:"M21.3 24.95h108.07v108.07H21.3z"}),(0,s.createElement)("path",{transform:"matrix(.87 -.5 .5 .87 -29.72 48.57)",style:{fill:"#ec6f19"},d:"M21.74 25.71h108.07v108.07H21.74z"}),(0,s.createElement)("path",{transform:"rotate(-30 76.21 80.5)",style:{fill:"#ec7019"},d:"M22.17 26.46h108.07v108.07H22.17z"}),(0,s.createElement)("path",{transform:"rotate(-30 76.647 81.258)",style:{fill:"#ec7119"},d:"M22.61 27.21h108.07v108.07H22.61z"}),(0,s.createElement)("path",{transform:"rotate(-30 77.084 82.015)",style:{fill:"#ed7219"},d:"M23.04 27.97h108.07v108.07H23.04z"}),(0,s.createElement)("path",{transform:"rotate(-30 77.508 82.748)",style:{fill:"#ed731a"},d:"M23.48 28.72h108.07v108.07H23.48z"}),(0,s.createElement)("path",{transform:"rotate(-30 77.945 83.505)",style:{fill:"#ed741a"},d:"M23.91 29.47h108.07v108.07H23.91z"}),(0,s.createElement)("path",{transform:"rotate(-30 78.382 84.262)",style:{fill:"#ed751a"},d:"M24.35 30.23h108.07V138.3H24.35z"}),(0,s.createElement)("path",{transform:"rotate(-30 78.82 85.02)",style:{fill:"#ee761a"},d:"M24.78 30.98h108.07v108.07H24.78z"}),(0,s.createElement)("path",{transform:"rotate(-30 79.256 85.777)",style:{fill:"#ee771a"},d:"M25.22 31.73h108.07V139.8H25.22z"}),(0,s.createElement)("path",{transform:"matrix(.87 -.5 .5 .87 -32.59 51.44)",style:{fill:"#ee781a"},d:"M25.65 32.49h108.07v108.07H25.65z"}),(0,s.createElement)("path",{transform:"rotate(-30 80.117 87.267)",style:{fill:"#ef791a"},d:"M26.09 33.24h108.07v108.07H26.09z"}),(0,s.createElement)("path",{transform:"rotate(-30 80.554 88.024)",style:{fill:"#ef7a1b"},d:"M26.52 33.99h108.07v108.07H26.52z"}),(0,s.createElement)("path",{transform:"rotate(-30 80.991 88.781)",style:{fill:"#ef7b1b"},d:"M26.96 34.75h108.07v108.07H26.96z"}),(0,s.createElement)("path",{transform:"matrix(.87 -.5 .5 .87 -33.86 52.71)",style:{fill:"#ef7c1b"},d:"M27.39 35.5h108.07v108.07H27.39z"}),(0,s.createElement)("path",{transform:"matrix(.87 -.5 .5 .87 -34.18 53.03)",style:{fill:"#f07d1b"},d:"M27.83 36.25H135.9v108.07H27.83z"}),(0,s.createElement)("path",{transform:"matrix(.87 -.5 .5 .87 -34.5 53.35)",style:{fill:"#f07e1b"},d:"M28.26 37.01h108.07v108.07H28.26z"}),(0,s.createElement)("path",{transform:"rotate(-30 82.745 91.791)",style:{fill:"#f07f1b"},d:"M28.7 37.76h108.07v108.07H28.7z"}),(0,s.createElement)("path",{transform:"matrix(.87 -.5 .5 .87 -35.13 53.98)",style:{fill:"#f0801b"},d:"M29.13 38.51H137.2v108.07H29.13z"}),(0,s.createElement)("path",{transform:"matrix(.87 -.5 .5 .87 -35.45 54.3)",style:{fill:"#f1801c"},d:"M29.57 39.27h108.07v108.07H29.57z"}),(0,s.createElement)("path",{transform:"rotate(-30 84.037 94.058)",style:{fill:"#f1811c"},d:"M30 40.02h108.07v108.07H30z"}),(0,s.createElement)("path",{transform:"rotate(-30 84.474 94.815)",style:{fill:"#f1821c"},d:"M30.44 40.77h108.07v108.07H30.44z"}),(0,s.createElement)("path",{transform:"rotate(-30 84.912 95.572)",style:{fill:"#f1831c"},d:"M30.87 41.53h108.07V149.6H30.87z"}),(0,s.createElement)("path",{transform:"rotate(-30 85.354 96.31)",style:{fill:"#f2841c"},d:"M31.31 42.28h108.07v108.07H31.31z"}),(0,s.createElement)("path",{transform:"rotate(-30 85.772 97.063)",style:{fill:"#f2851c"},d:"M31.74 43.03h108.07V151.1H31.74z"}),(0,s.createElement)("path",{transform:"rotate(-30 86.21 97.82)",style:{fill:"#f2861c"},d:"M32.18 43.79h108.07v108.07H32.18z"}),(0,s.createElement)("path",{transform:"rotate(-30 86.646 98.577)",style:{fill:"#f2871d"},d:"M32.61 44.54h108.07v108.07H32.61z"}),(0,s.createElement)("path",{transform:"rotate(-30 87.084 99.334)",style:{fill:"#f3881d"},d:"M33.05 45.29h108.07v108.07H33.05z"}),(0,s.createElement)("path",{transform:"rotate(-30 87.52 100.091)",style:{fill:"#f3891d"},d:"M33.48 46.04h108.07v108.07H33.48z"}),(0,s.createElement)("path",{transform:"rotate(-30 87.963 100.83)",style:{fill:"#f38a1d"},d:"M33.92 46.8h108.07v108.07H33.92z"}),(0,s.createElement)("path",{transform:"rotate(-30 88.381 101.582)",style:{fill:"#f48b1d"},d:"M34.35 47.55h108.07v108.07H34.35z"}),(0,s.createElement)("path",{transform:"matrix(.87 -.5 .5 .87 -39.27 58.12)",style:{fill:"#f48c1d"},d:"M34.79 48.3h108.07v108.07H34.79z"}),(0,s.createElement)("path",{transform:"matrix(.87 -.5 .5 .87 -39.59 58.44)",style:{fill:"#f48d1d"},d:"M35.22 49.06h108.07v108.07H35.22z"}),(0,s.createElement)("path",{transform:"matrix(.87 -.5 .5 .87 -39.91 58.76)",style:{fill:"#f48e1e"},d:"M35.66 49.81h108.07v108.07H35.66z"}),(0,s.createElement)("path",{transform:"rotate(-30 90.13 104.61)",style:{fill:"#f58f1e"},d:"M36.09 50.56h108.07v108.07H36.09z"}),(0,s.createElement)("path",{transform:"rotate(-30 90.572 105.349)",style:{fill:"#f5901e"},d:"M36.52 51.32h108.07v108.07H36.52z"}),(0,s.createElement)("path",{transform:"rotate(-30 90.99 106.1)",style:{fill:"#f5911e"},d:"M36.96 52.07h108.07v108.07H36.96z"}),(0,s.createElement)("path",{transform:"matrix(.87 -.5 .5 .87 -41.18 60.03)",style:{fill:"#f5921e"},d:"M37.39 52.82h108.07v108.07H37.39z"}),(0,s.createElement)("path",{transform:"matrix(.87 -.5 .5 .87 -41.5 60.35)",style:{fill:"#f6931e"},d:"M37.83 53.58H145.9v108.07H37.83z"}),(0,s.createElement)("path",{transform:"rotate(-30 92.302 108.372)",style:{fill:"#f6941e"},d:"M38.26 54.33h108.07V162.4H38.26z"}),(0,s.createElement)("path",{transform:"rotate(-30 92.739 109.13)",style:{fill:"#f6951e"},d:"M38.7 55.08h108.07v108.07H38.7z"}),(0,s.createElement)("path",{transform:"rotate(-30 93.181 109.868)",style:{fill:"#f6961f"},d:"M39.13 55.84H147.2v108.07H39.13z"}),(0,s.createElement)("path",{transform:"rotate(-30 93.6 110.62)",style:{fill:"#f7971f"},d:"M39.57 56.59h108.07v108.07H39.57z"}),(0,s.createElement)("path",{transform:"rotate(-30 94.037 111.377)",style:{fill:"#f7981f"},d:"M40 57.34h108.07v108.07H40z"}),(0,s.createElement)("path",{transform:"rotate(-30 94.474 112.134)",style:{fill:"#f7991f"},d:"M40.44 58.1h108.07v108.07H40.44z"}),(0,s.createElement)("path",{transform:"matrix(.87 -.5 .5 .87 -43.73 62.58)",style:{fill:"#f79a1f"},d:"M40.87 58.85h108.07v108.07H40.87z"}),(0,s.createElement)("path",{transform:"rotate(-30 95.348 113.648)",style:{fill:"#f89b1f"},d:"M41.31 59.6h108.07v108.07H41.31z"}),(0,s.createElement)("path",{transform:"rotate(-30 95.79 114.387)",style:{fill:"#f89c1f"},d:"M41.74 60.36h108.07v108.07H41.74z"}),(0,s.createElement)("path",{transform:"matrix(.87 -.5 .5 .87 -44.68 63.53)",style:{fill:"#f89d20"},d:"M42.18 61.11h108.07v108.07H42.18z"}),(0,s.createElement)("path",{transform:"rotate(-30 96.646 115.896)",style:{fill:"#f89e20"},d:"M42.61 61.86h108.07v108.07H42.61z"}),(0,s.createElement)("path",{transform:"rotate(-30 97.083 116.653)",style:{fill:"#f99f20"},d:"M43.05 62.62h108.07v108.07H43.05z"}),(0,s.createElement)("path",{transform:"rotate(-30 97.52 117.41)",style:{fill:"#f9a020"},d:"M43.48 63.37h108.07v108.07H43.48z"}))))))),{key:"discover"})},{name:"woopay",component:(0,s.createElement)((()=>(0,s.createElement)("svg",{width:"39",height:"24",viewBox:"0 0 39 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{background:"#873EFF"}},(0,s.createElement)("rect",{x:"0.800003",width:"38",height:"24",rx:"2",fill:"#873EFF"}),(0,s.createElement)("rect",{x:"1.3",y:"0.5",width:"37",height:"23",rx:"1.5",stroke:"black",strokeOpacity:"0.07"}),(0,s.createElement)("path",{d:"M29.3292 16.0555C29.3733 16.0807 29.4331 16.0996 29.5086 16.1122C29.5842 16.1248 29.6597 16.1311 29.7353 16.1311C29.8863 16.1311 30.0122 16.0996 30.113 16.0366C30.2137 15.98 30.2955 15.8793 30.3585 15.7345L30.6795 14.9885L30.7551 15.6212L28.7154 10.5881H29.7636L31.1045 14.0253L32.4453 10.5881H33.4935L31.2839 15.9989C31.2839 16.0052 31.2807 16.0083 31.2744 16.0083C31.2744 16.0146 31.2744 16.0209 31.2744 16.0272C31.1737 16.2601 31.0478 16.449 30.8967 16.5938C30.7519 16.7386 30.5851 16.8424 30.3963 16.9054C30.2137 16.9683 30.0059 16.9998 29.773 16.9998C29.666 16.9998 29.559 16.9935 29.452 16.9809C29.345 16.9683 29.2537 16.9526 29.1781 16.9337L29.3292 16.0555Z",fill:"white"}),(0,s.createElement)("path",{d:"M25.8245 15.2626C25.4341 15.2626 25.0848 15.1682 24.7763 14.9793C24.4678 14.7842 24.2255 14.5072 24.0492 14.1484C23.8792 13.7895 23.7942 13.3646 23.7942 12.8736C23.7942 12.3888 23.8792 11.9671 24.0492 11.6082C24.2255 11.2431 24.4678 10.963 24.7763 10.7678C25.0848 10.5727 25.4341 10.4751 25.8245 10.4751C26.1392 10.4751 26.4351 10.5538 26.7121 10.7112C26.9891 10.8623 27.2157 11.0763 27.392 11.3533L27.3636 12.0804C27.2692 11.8852 27.0992 11.7153 26.8537 11.5705C26.6082 11.4257 26.3595 11.3533 26.1077 11.3533C25.8496 11.3533 25.6199 11.4194 25.4184 11.5516C25.2233 11.6775 25.0722 11.8569 24.9652 12.0898C24.8644 12.3164 24.8141 12.5777 24.8141 12.8736C24.8141 13.3268 24.9305 13.6951 25.1635 13.9784C25.3964 14.2554 25.7111 14.3939 26.1077 14.3939C26.3658 14.3939 26.6145 14.3246 26.8537 14.1861C27.0992 14.0476 27.2692 13.8777 27.3636 13.6762L27.3825 14.4033C27.2063 14.6677 26.9828 14.8786 26.7121 15.036C26.4414 15.1871 26.1455 15.2626 25.8245 15.2626ZM27.2975 15.1493V10.5884H28.2701V15.1493H27.2975Z",fill:"white"}),(0,s.createElement)("path",{d:"M18.7478 15.1494V8.85107H21.5051C21.9332 8.85107 22.3014 8.93921 22.6099 9.11547C22.9184 9.29174 23.1545 9.53096 23.3181 9.83313C23.4818 10.1353 23.5636 10.4658 23.5636 10.8246C23.5636 11.1835 23.4818 11.514 23.3181 11.8161C23.1545 12.112 22.9152 12.3481 22.6005 12.5243C22.292 12.7006 21.9269 12.7887 21.5051 12.7887H19.6921V11.835H21.354C21.5681 11.835 21.7569 11.7941 21.9206 11.7123C22.0843 11.6241 22.2102 11.5045 22.2983 11.3534C22.3927 11.196 22.4399 11.0198 22.4399 10.8246C22.4399 10.6232 22.3927 10.4469 22.2983 10.2958C22.2102 10.1384 22.0843 10.0188 21.9206 9.937C21.7569 9.85516 21.5681 9.81424 21.354 9.81424H19.8432V15.1494H18.7478Z",fill:"white"}),(0,s.createElement)("path",{d:"M8.91555 15.2584C9.64923 15.2584 10.238 14.8961 10.6818 14.0628L11.6691 12.215V13.782C11.6691 14.7059 12.2669 15.2584 13.1908 15.2584C13.9155 15.2584 14.4499 14.9414 14.9662 14.0628L17.2397 10.2223C17.7378 9.3799 17.3846 8.74585 16.2886 8.74585C15.6998 8.74585 15.3194 8.93606 14.9752 9.57917L13.4082 12.5229V9.90525C13.4082 9.12628 13.0368 8.74585 12.3485 8.74585C11.805 8.74585 11.3702 8.98135 11.0351 9.63351L9.55866 12.5229V9.93242C9.55866 9.0991 9.21446 8.74585 8.38114 8.74585H6.67828C6.03517 8.74585 5.70909 9.04476 5.70909 9.59728C5.70909 10.1498 6.05329 10.4668 6.67828 10.4668H7.37573V13.7729C7.37573 14.7059 8.00072 15.2584 8.91555 15.2584Z",fill:"white"}))),{key:"woopay"})},{name:"applepay",component:(0,s.createElement)((()=>(0,s.createElement)("svg",{width:"64",height:"40",viewBox:"0 0 64 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)("rect",{width:"64",height:"40",fill:"white"}),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.92 13.32C18.42 13.92 17.6 14.41 16.79 14.34C16.69 13.52 17.09 12.64 17.55 12.1C18.05 11.48 18.95 11.03 19.67 11C19.75 11.86 19.42 12.7 18.92 13.32ZM19.66 14.5C19.0027 14.5012 18.3538 14.6481 17.76 14.93C17.4955 15.0585 17.2118 15.143 16.92 15.18C16.67 15.18 16.37 15.06 16.03 14.92C15.59 14.75 15.09 14.54 14.56 14.55C13.9502 14.5664 13.3555 14.7433 12.8358 15.0628C12.3161 15.3823 11.8899 15.8332 11.6 16.37C10.33 18.57 11.27 21.85 12.5 23.65C13.1 24.54 13.82 25.51 14.77 25.48C15.19 25.46 15.49 25.34 15.8 25.2C16.16 25.05 16.53 24.89 17.11 24.89C17.67 24.89 18.03 25.04 18.37 25.19C18.69 25.34 19 25.47 19.47 25.46C20.45 25.45 21.07 24.57 21.67 23.68C22.32 22.73 22.6 21.79 22.64 21.65V21.64L22.63 21.62C22.41 21.52 20.75 20.76 20.73 18.7C20.7357 18.1518 20.8788 17.6138 21.146 17.1351C21.4133 16.6565 21.7963 16.2525 22.26 15.96L22.29 15.94C21.9942 15.5116 21.6023 15.1583 21.1457 14.9083C20.689 14.6583 20.1803 14.5185 19.66 14.5ZM26.46 25.37V12.02H31.42C32.0003 11.994 32.5796 12.0899 33.1205 12.3013C33.6615 12.5128 34.1522 12.8352 34.5611 13.2478C34.9699 13.6604 35.2878 14.154 35.4943 14.697C35.7008 15.2399 35.7913 15.82 35.76 16.4C35.76 19 33.94 20.8 31.35 20.8H28.5V25.37H26.45H26.46ZM28.51 13.77H30.87C32.65 13.77 33.67 14.73 33.67 16.41C33.67 18.1 32.65 19.07 30.87 19.07H28.5V13.77H28.51ZM42.53 23.77C42.2261 24.3011 41.7838 24.7397 41.2502 25.0391C40.7165 25.3385 40.1116 25.4874 39.5 25.47C37.6 25.47 36.27 24.32 36.27 22.59C36.27 20.89 37.56 19.89 39.94 19.75L42.49 19.6V18.86C42.49 17.77 41.79 17.18 40.54 17.18C39.5 17.18 38.75 17.72 38.6 18.54H36.75C36.81 16.81 38.42 15.56 40.6 15.56C42.94 15.56 44.47 16.8 44.47 18.72V25.37H42.57V23.77H42.53ZM40.05 23.89C38.96 23.89 38.27 23.36 38.27 22.54C38.27 21.7 38.94 21.22 40.22 21.14L42.49 20.99V21.75C42.49 23 41.44 23.89 40.05 23.89ZM50.76 25.89C49.94 28.23 49 29 47 29C46.7392 29.0015 46.4785 28.9848 46.22 28.95V27.35L46.82 27.38C47.72 27.38 48.24 27 48.55 25.99L48.74 25.4L45.26 15.68H47.41L49.82 23.58H49.86L52.28 15.68H54.36L50.76 25.89Z",fill:"black"}))),{key:"applepay"})},{name:"googlepay",component:(0,s.createElement)((()=>(0,s.createElement)("svg",{width:"64",height:"40",viewBox:"0 0 64 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)("rect",{width:"64",height:"40",fill:"white"}),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M30.9 25.07V19.79H33.76C34.8522 19.8223 35.914 19.4277 36.72 18.69C37.118 18.3482 37.4356 17.9226 37.65 17.4438C37.8643 16.9649 37.9702 16.4446 37.96 15.92C37.9659 15.399 37.858 14.883 37.6438 14.408C37.4296 13.933 37.1143 13.5105 36.72 13.17C35.9175 12.4232 34.856 12.0179 33.76 12.04H29.18V25.07H30.9ZM30.9 18.19V13.64H33.8C34.45 13.63 35.07 13.88 35.51 14.34C35.7261 14.5446 35.8981 14.7912 36.0157 15.0646C36.1334 15.3379 36.194 15.6324 36.194 15.93C36.194 16.2276 36.1334 16.5221 36.0157 16.7954C35.8981 17.0688 35.7261 17.3153 35.51 17.52C35.06 17.97 34.44 18.22 33.8 18.19H30.9ZM44.97 16.86C44.23 16.19 43.22 15.86 41.94 15.86C40.3 15.86 39.07 16.45 38.23 17.61L39.75 18.54C40.0021 18.1647 40.3454 17.8595 40.7477 17.6531C41.15 17.4467 41.5981 17.3458 42.05 17.36C42.65 17.35 43.25 17.56 43.71 17.96C44.16 18.33 44.43 18.88 44.42 19.45V19.83C43.6359 19.4379 42.7661 19.2488 41.89 19.28C40.69 19.28 39.73 19.56 39.01 20.1C38.6643 20.3509 38.3851 20.6825 38.1969 21.0659C38.0087 21.4494 37.917 21.873 37.93 22.3C37.91 23.14 38.29 23.95 38.95 24.49C39.63 25.07 40.48 25.36 41.49 25.36C42.69 25.36 43.63 24.86 44.35 23.83H44.42V25.07H46.08V19.57C46.08 18.42 45.71 17.52 44.97 16.86ZM40.28 23.43C40.1036 23.3082 39.9596 23.1454 39.8603 22.9554C39.761 22.7655 39.7094 22.5543 39.71 22.34C39.71 21.86 39.94 21.45 40.41 21.12C40.89 20.79 41.47 20.62 42.17 20.62C43.14 20.62 43.89 20.83 44.43 21.25C44.43 21.95 44.14 22.57 43.57 23.09C43.0458 23.5932 42.3466 23.8729 41.62 23.87C41.14 23.87 40.66 23.72 40.28 23.43ZM55.56 16.16L49.8 29H48.02L50.16 24.5L46.36 16.16H48.24L50.99 22.56H51L53.67 16.16H55.55H55.56Z",fill:"#5F6368"}),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.92 18.66C23.92 18.15 23.88 17.64 23.79 17.13H16.5V20.02H20.68C20.5904 20.4842 20.4067 20.9251 20.1401 21.3155C19.8735 21.7059 19.5297 22.0376 19.13 22.29V24.16H21.63C22.3839 23.4607 22.9792 22.6079 23.376 21.6592C23.7727 20.7105 23.9616 19.6878 23.93 18.66H23.92Z",fill:"#4285F4"}),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.5 25.97C18.59 25.97 20.34 25.31 21.62 24.17L19.13 22.29C18.44 22.75 17.55 23.01 16.5 23.01C15.5459 23.0062 14.6166 22.7057 13.8408 22.1503C13.065 21.5949 12.4811 20.812 12.17 19.91H9.60001V21.85C10.2645 23.1012 11.2588 24.1465 12.4751 24.8728C13.6914 25.5991 15.0834 25.9785 16.5 25.97Z",fill:"#34A853"}),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.17 19.92C11.8453 18.9909 11.8453 17.9791 12.17 17.05V15.12H9.6C9.05843 16.159 8.77563 17.3133 8.77563 18.485C8.77563 19.6567 9.05843 20.811 9.6 21.85L12.17 19.92Z",fill:"#FBBC04"}),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.5 13.96C17.6 13.95 18.67 14.35 19.47 15.09L21.67 12.95C20.2545 11.6709 18.4077 10.9744 16.5 11C13.58 11 10.91 12.6 9.60001 15.12L12.17 17.05C12.4828 16.1499 13.0674 15.3692 13.8431 14.8156C14.6187 14.2621 15.5471 13.9631 16.5 13.96Z",fill:"#EA4335"}))),{key:"googlepay"})},{name:"afterpay",component:(0,s.createElement)((()=>(0,s.createElement)("svg",{width:"64",height:"40",id:"Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 38 24",style:{background:"#B2FCE4"}},(0,s.createElement)("path",{fill:"#B2FCE4",d:"M35,0H3A3,3,0,0,0,0,3V21a3,3,0,0,0,3,3H35a3,3,0,0,0,3-3V3A3,3,0,0,0,35,0Z"}),(0,s.createElement)("path",{d:"M36.12,10l-1.06-.61L34,8.75a1.07,1.07,0,0,0-1.6.93v.13a.23.23,0,0,0,.1.19l.5.28a.2.2,0,0,0,.28-.08.19.19,0,0,0,0-.1V9.78a.21.21,0,0,1,.2-.22l.12,0,1,.57,1,.56a.22.22,0,0,1,.07.3l-.07.07-1,.56-1,.57a.21.21,0,0,1-.29-.07.24.24,0,0,1,0-.12v-.16a1.07,1.07,0,0,0-1.6-.93l-1.08.62-1.06.61a1.08,1.08,0,0,0-.4,1.46,1,1,0,0,0,.4.4l1.06.61,1.08.61a1.07,1.07,0,0,0,1.6-.93v-.13a.23.23,0,0,0-.1-.19l-.5-.29a.2.2,0,0,0-.28.08.23.23,0,0,0,0,.11v.32a.21.21,0,0,1-.2.22.27.27,0,0,1-.12,0l-1-.57-1-.56A.22.22,0,0,1,30,13l.07-.07,1-.56,1-.57a.21.21,0,0,1,.29.07.24.24,0,0,1,0,.12v.16a1.07,1.07,0,0,0,1.6.93l1.08-.62,1.06-.61a1.06,1.06,0,0,0,.34-1.47A1,1,0,0,0,36.12,10Z"}),(0,s.createElement)("path",{d:"M29.14,10.18l-2.49,5.14h-1l.93-1.92-1.46-3.22h1.06l.94,2.15,1-2.15Z"}),(0,s.createElement)("path",{d:"M4.25,12a1,1,0,1,0-1,1.05h0a1,1,0,0,0,1-1V12m0,1.83v-.48a1.49,1.49,0,0,1-1.16.54,1.79,1.79,0,0,1-1.75-1.83V12a1.82,1.82,0,0,1,1.75-1.89h0a1.47,1.47,0,0,1,1.14.53v-.46h.89v3.65Z"}),(0,s.createElement)("path",{d:"M9.52,13c-.32,0-.4-.12-.4-.42V11h.57v-.79H9.12V9.29H8.2v.89H7V9.81c0-.3.12-.42.44-.42h.2V8.68H7.21c-.76,0-1.12.25-1.12,1v.49H5.58V11h.51v2.86H7V11H8.2v1.79c0,.75.28,1.07,1,1.07h.5V13Z"}),(0,s.createElement)("path",{d:"M12.82,11.67a.87.87,0,0,0-.91-.75.89.89,0,0,0-.92.75ZM11,12.24a.91.91,0,0,0,.94.85,1,1,0,0,0,.86-.47h.94a1.79,1.79,0,0,1-1.82,1.27A1.8,1.8,0,0,1,10,12.22V12a1.89,1.89,0,1,1,3.78,0h0a.89.89,0,0,1,0,.23Z"}),(0,s.createElement)("path",{d:"M19.66,12a1,1,0,1,0,0,.05V12m-2.89,3.32V10.18h.89v.47a1.49,1.49,0,0,1,1.16-.54,1.79,1.79,0,0,1,1.76,1.82V12a1.82,1.82,0,0,1-1.75,1.89h0a1.44,1.44,0,0,1-1.11-.49v1.92Z"}),(0,s.createElement)("path",{d:"M23.82,12a1,1,0,1,0-1.05,1.05h.05a1,1,0,0,0,1-1V12m0,1.83v-.48a1.46,1.46,0,0,1-1.15.54,1.79,1.79,0,0,1-1.76-1.82V12a1.82,1.82,0,0,1,1.75-1.89h0a1.45,1.45,0,0,1,1.13.53v-.46h.9v3.65Z"}),(0,s.createElement)("path",{d:"M15.15,10.54a.91.91,0,0,1,.79-.43.88.88,0,0,1,.39.08v.94a1.15,1.15,0,0,0-.65-.17.64.64,0,0,0-.5.71v2.16h-.93V10.18h.9Z"}))),{key:"afterpay"})},{name:"affirm",component:(0,s.createElement)((()=>(0,s.createElement)("svg",{width:"64",height:"40",viewBox:"0 0 64 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)("rect",{width:"64",height:"40",fill:"white"}),(0,s.createElement)("path",{d:"M53 10.6201H11V27.3789H53V10.6201Z",fill:"white"}),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.7539 25.935C13.2345 25.935 12.9699 25.6792 12.9699 25.2587C12.9699 24.4747 13.8441 24.2111 15.4387 24.0415C15.4387 25.0862 14.732 25.935 13.749 25.935H13.7539ZM14.44 20.0596C13.3002 20.0596 11.9899 20.5957 11.2783 21.1631L11.9281 22.5352C12.4985 22.0128 13.4207 21.5659 14.2528 21.5659C15.0437 21.5659 15.4808 21.8305 15.4808 22.3637C15.4808 22.7214 15.1917 22.9027 14.6448 22.9742C12.6004 23.2389 10.998 23.8034 10.998 25.3783C10.998 26.6269 11.887 27.3825 13.2757 27.3825C14.2675 27.3825 15.1495 26.8317 15.569 26.1084V27.1865H17.4174V22.6695C17.4174 20.8074 16.1247 20.0557 14.441 20.0557L14.44 20.0596Z",fill:"#101820"}),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M32.9912 20.263V27.1782H34.969V23.8461C34.969 22.2633 35.9274 21.7978 36.5949 21.7978C36.8953 21.7954 37.1897 21.8824 37.4406 22.0477L37.8023 20.2199C37.522 20.1077 37.222 20.0534 36.9202 20.0601C35.9039 20.0601 35.2649 20.51 34.8435 21.4253V20.263H32.9912Z",fill:"#101820"}),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M46.9673 20.0596C45.9216 20.0596 45.1395 20.677 44.7328 21.2729C44.3555 20.5035 43.5568 20.0596 42.5963 20.0596C41.5516 20.0596 40.8273 20.6398 40.4931 21.3081V20.2624H38.5859V27.1777H40.5656V23.6171C40.5656 22.3431 41.235 21.7266 41.8593 21.7266C42.4248 21.7266 42.9442 22.0922 42.9442 23.036V27.1777H44.92V23.6171C44.92 22.3245 45.5727 21.7266 46.2264 21.7266C46.7497 21.7266 47.3045 22.1069 47.3045 23.0223V27.1777H49.2802V22.397C49.2802 20.8436 48.2345 20.0596 46.9712 20.0596",fill:"#101820"}),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M28.1787 20.2633H26.3872V19.5606C26.3872 18.6452 26.9096 18.3845 27.3594 18.3845C27.6666 18.3885 27.9686 18.464 28.2415 18.605L28.8511 17.2104C28.8511 17.2104 28.2326 16.8066 27.1085 16.8066C25.8452 16.8066 24.4075 17.5191 24.4075 19.7546V20.2633H21.4135V19.5606C21.4135 18.6452 21.9348 18.3845 22.3857 18.3845C22.6933 18.3845 22.9963 18.4602 23.2677 18.605L23.8773 17.2104C23.5137 16.9977 22.9286 16.8066 22.1358 16.8066C20.8725 16.8066 19.4347 17.5191 19.4347 19.7546V20.2633H18.29V21.7882H19.4377V27.1785H21.4135V21.7882H24.4114V27.1785H26.3872V21.7882H28.1787V20.2633Z",fill:"#101820"}),(0,s.createElement)("path",{d:"M31.3322 20.2627H29.3584V27.175H31.3322V20.2627Z",fill:"#101820"}),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M29.4307 19.0877H31.3643C32.4923 15.5409 36.3194 12.4234 40.8708 12.4234C46.4061 12.4234 51.1897 16.6376 51.1897 23.198C51.2066 24.5447 51.0216 25.8862 50.6409 27.178H52.5177L52.5363 27.1133C52.8526 25.8345 53.0086 24.5213 53.0009 23.2039C53.0009 15.8879 47.6694 10.6221 40.8747 10.6221C35.5374 10.6221 30.7802 14.3266 29.4316 19.0897L29.4307 19.0877Z",fill:"#4A4AF4"}))),{key:"affirm"})},{name:"klarna",component:(0,s.createElement)((()=>(0,s.createElement)("svg",{width:"64",height:"40",viewBox:"0 0 64 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{background:"#FFB3C7"}},(0,s.createElement)("rect",{width:"64",height:"40",fill:"#FFB3C7"}),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M57.4626 23.0076C56.6136 23.0076 55.9253 23.7021 55.9253 24.5588C55.9253 25.4154 56.6136 26.1101 57.4626 26.1101C58.3116 26.1101 59 25.4155 59 24.5588C59 23.702 58.3116 23.0076 57.4626 23.0076ZM52.4048 21.8083C52.4048 20.6353 51.4112 19.6846 50.1855 19.6846C48.9599 19.6846 47.9662 20.6353 47.9662 21.8083C47.9662 22.9812 48.9597 23.9322 50.1855 23.9322C51.4113 23.9322 52.4048 22.9812 52.4048 21.8083ZM52.413 17.6807H54.8622V25.9355H52.413V25.4079C51.7211 25.8841 50.8858 26.164 49.985 26.164C47.601 26.164 45.6684 24.2139 45.6684 21.8082C45.6684 19.4025 47.601 17.4525 49.985 17.4525C50.8858 17.4525 51.7211 17.7324 52.413 18.2088V17.6807ZM32.8122 18.756V17.6808H30.3045V25.9355H32.8178V22.0815C32.8178 20.7812 34.2145 20.0823 35.1835 20.0823C35.1935 20.0823 35.2027 20.0833 35.2127 20.0834V17.6815C34.218 17.6815 33.3032 18.1111 32.8122 18.756ZM26.5656 21.8083C26.5656 20.6353 25.572 19.6847 24.3463 19.6847C23.1206 19.6847 22.1269 20.6354 22.1269 21.8083C22.1269 22.9813 23.1206 23.9322 24.3463 23.9322C25.572 23.9322 26.5656 22.9813 26.5656 21.8083ZM26.5737 17.6807H29.0231V25.9355H26.5737V25.408C25.8818 25.8841 25.0466 26.1641 24.1458 26.1641C21.7618 26.1641 19.8291 24.2139 19.8291 21.8082C19.8291 19.4026 21.7618 17.4526 24.1458 17.4526C25.0466 17.4526 25.8818 17.7325 26.5737 18.2088V17.6807ZM41.3162 17.4587C40.3378 17.4587 39.4117 17.7652 38.7927 18.6109V17.6812H36.3539V25.9356H38.8226V21.5977C38.8226 20.3424 39.6568 19.7277 40.6613 19.7277C41.7378 19.7277 42.3566 20.3766 42.3566 21.5806V25.9356H44.803V20.6863C44.803 18.7653 43.2894 17.4587 41.3162 17.4587ZM16.2614 25.9356H18.825V14.0022H16.2614V25.9356ZM5 25.9389H7.71458V14H5V25.9389ZM14.4947 14C14.4947 16.5847 13.4965 18.9891 11.7178 20.7762L15.4701 25.9393H12.1173L8.03934 20.3282L9.09178 19.5328C10.8371 18.2136 11.8382 16.197 11.8382 14L14.4947 14Z",fill:"#0A0B09"}))),{key:"klarna"})},{name:"cartebancaire",component:(0,s.createElement)((()=>(0,s.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"38",height:"24",fill:"none",viewBox:"0 0 38 24",style:{background:"linear-gradient(30deg, #2E2E79 0%, #2581C4 25%, #E6D6DB 50%, #E3756A 75%, #C90C0F 100%)"}},(0,s.createElement)("g",{clipPath:"url(#clip0_10177_17774)"},(0,s.createElement)("path",{fill:"#fff",d:"M32 9.234c0-.381-.075-.763-.226-1.132a2.7 2.7 0 0 0-.647-.932 2.6 2.6 0 0 0-1.03-.626q-.557-.177-1.528-.175h-8.64v5.743h8.647q.961.002 1.526-.175a2.66 2.66 0 0 0 1.031-.626c.283-.269.496-.581.647-.932Q32 9.807 32 9.234M32 15.747q0-.58-.226-1.133a2.7 2.7 0 0 0-.647-.932 2.6 2.6 0 0 0-1.03-.625q-.557-.181-1.528-.182h-8.64v5.756h8.647c.64 0 1.15-.063 1.526-.181a2.66 2.66 0 0 0 1.031-.626c.283-.27.496-.582.647-.939.145-.375.22-.75.22-1.138M19.15 12.106C18.976 8.396 16.299 6 12.083 6 7.727 6 5 8.565 5 12.5c0 4.06 2.84 6.5 7.082 6.5 4.247 0 6.905-2.409 7.069-6.125H12.3v-.763h6.85z"})),(0,s.createElement)("rect",{width:"36.795",height:"22.795",x:"0.603",y:"0.603",stroke:"#000",strokeOpacity:"0.07",strokeWidth:"1.205",rx:"1.808"}),(0,s.createElement)("defs",null,(0,s.createElement)("clipPath",{id:"clip0_10177_17774"},(0,s.createElement)("rect",{width:"38",height:"24",fill:"#fff",rx:"2.41"}))))),{key:"cartebancaire"})},{name:"unionpay",component:(0,s.createElement)((()=>(0,s.createElement)("svg",{width:"52",height:"35",viewBox:"0 0 52 35",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M44.0545 5.25735L34.3353 5.25488C34.3341 5.25488 34.3328 5.25488 34.3328 5.25488C34.3253 5.25488 34.3179 5.2562 34.3106 5.2562C32.9754 5.29641 31.3124 6.34915 31.0096 7.64726L26.4132 27.6401C26.1104 28.9503 26.9343 30.0165 28.2599 30.0361H38.4703C39.7756 29.9726 41.044 28.932 41.3417 27.6486L45.9382 7.65564C46.2459 6.33208 45.402 5.25735 44.0545 5.25735Z",fill:"#01798A"}),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M26.4134 27.6401L31.0097 7.64729C31.3126 6.34917 32.9755 5.29643 34.3107 5.25622L30.4464 5.25376L23.484 5.25244C22.1451 5.27936 20.4605 6.33949 20.1577 7.64729L15.5601 27.6401C15.2561 28.9503 16.0813 30.0165 17.4059 30.0361H28.26C26.9345 30.0165 26.1105 28.9503 26.4134 27.6401",fill:"#024381"}),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.5602 27.64L20.1578 7.64714C20.4606 6.33934 22.1452 5.27922 23.4841 5.2523L14.5649 5.25C13.2185 5.25 11.4923 6.32227 11.1846 7.64714L6.58694 27.64C6.55896 27.762 6.54344 27.8815 6.53418 27.9986V28.3695C6.62418 29.3246 7.36619 30.0201 8.43278 30.036H17.406C16.0814 30.0163 15.2562 28.9502 15.5602 27.64Z",fill:"#DD0228"}),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.6716 19.8205H23.8404C23.9955 19.8205 24.0999 19.7693 24.1488 19.668L24.5874 19.0227H25.762L25.5171 19.4472H26.9254L26.7467 20.0975H25.0709C24.8779 20.3829 24.6403 20.5171 24.3547 20.5012H23.4818L23.6716 19.8205H23.6716ZM23.4788 20.7527H26.5643L26.3676 21.4591H25.1268L24.9374 22.1409H26.1449L25.9482 22.8473H24.7407L24.4602 23.8548C24.3908 24.0232 24.4821 24.099 24.7327 24.0818H25.7168L25.5345 24.7382H23.6451C23.287 24.7382 23.1641 24.5368 23.2765 24.1331L23.6351 22.8473H22.8633L23.0593 22.1409H23.8313L24.0205 21.4591H23.2827L23.4788 20.7527H23.4788ZM28.4035 19.018L28.355 19.4315C28.355 19.4315 28.937 19.002 29.4656 19.002H31.4189L30.6719 21.6601C30.61 21.964 30.3443 22.1151 29.8752 22.1151H27.6612L27.1426 23.9817C27.1128 24.0817 27.155 24.133 27.2667 24.133H27.7023L27.5422 24.7124H26.4347C26.0096 24.7124 25.8328 24.5867 25.903 24.3343L27.3684 19.018H28.4035H28.4035ZM30.0576 19.7693H28.3141L28.1056 20.4866C28.1056 20.4866 28.3959 20.2805 28.8811 20.2731C29.365 20.2657 29.9173 20.2731 29.9173 20.2731L30.0576 19.7693ZM29.4261 21.4333C29.555 21.4504 29.6271 21.4003 29.6358 21.282L29.7425 20.9039H27.9964L27.85 21.4333H29.4261ZM28.2483 22.2921H29.2547L29.236 22.7203H29.504C29.6394 22.7203 29.7065 22.6776 29.7065 22.5935L29.7858 22.3166H30.6223L30.5106 22.7203C30.4161 23.057 30.1656 23.2327 29.7586 23.2499H29.2225L29.22 23.9817C29.2101 24.0989 29.318 24.1587 29.54 24.1587H30.0439L29.8813 24.7381H28.6727C28.3339 24.754 28.1678 24.5953 28.1713 24.2587L28.2483 22.2921V22.2921Z",fill:"white"}),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.0529 15.4764C15.9164 16.1339 15.6 16.639 15.1091 16.9976C14.6227 17.3502 13.9954 17.527 13.2273 17.527C12.5044 17.527 11.9745 17.3465 11.6364 16.9841C11.4018 16.7267 11.2852 16.3998 11.2852 16.0045C11.2852 15.8411 11.3051 15.6654 11.3448 15.4764L12.1631 11.5972H13.3991L12.5919 15.4325C12.5671 15.5386 12.5571 15.6374 12.5584 15.7265C12.5571 15.9229 12.6068 16.0839 12.7073 16.2095C12.8537 16.3962 13.0914 16.4889 13.4221 16.4889C13.8024 16.4889 14.1158 16.3974 14.359 16.2132C14.6022 16.0302 14.761 15.7704 14.8324 15.4325L15.6422 11.5972H16.8719L16.0529 15.4764Z",fill:"white"}),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.2436 13.9502H22.2116L21.4534 17.4123H20.4873L21.2436 13.9502ZM21.5482 12.689H22.5248L22.3424 13.5293H21.3659L21.5482 12.689Z",fill:"white"}),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.0688 17.1487C22.8156 16.9109 22.6878 16.59 22.6865 16.1826C22.6865 16.113 22.6908 16.0338 22.7002 15.9471C22.7095 15.8592 22.7214 15.7739 22.738 15.6946C22.8528 15.1323 23.0973 14.6858 23.4739 14.3564C23.8499 14.0258 24.3036 13.8599 24.8347 13.8599C25.2696 13.8599 25.6145 13.9794 25.8672 14.2185C26.1196 14.4589 26.2462 14.7833 26.2462 15.1957C26.2462 15.2664 26.2407 15.3481 26.2313 15.436C26.2201 15.525 26.2066 15.6104 26.1909 15.6946C26.0787 16.2484 25.8349 16.69 25.4583 17.0134C25.0816 17.3391 24.6293 17.5012 24.1019 17.5012C23.6651 17.5012 23.3213 17.3841 23.0688 17.1487M24.9136 16.4631C25.0843 16.2814 25.2065 16.0056 25.2809 15.6385C25.2921 15.5812 25.302 15.5214 25.3082 15.4616C25.3143 15.403 25.3168 15.3482 25.3168 15.2981C25.3168 15.0846 25.2616 14.9188 25.1506 14.8016C25.0402 14.6833 24.8832 14.6248 24.6804 14.6248C24.4122 14.6248 24.1939 14.7174 24.0227 14.9029C23.8501 15.0884 23.7279 15.3689 23.6509 15.7422C23.6404 15.7995 23.6317 15.8569 23.6237 15.913C23.6175 15.9703 23.6157 16.024 23.6168 16.0728C23.6168 16.285 23.6721 16.4485 23.7831 16.5644C23.8935 16.6803 24.0498 16.7376 24.2553 16.7376C24.5246 16.7376 24.743 16.6461 24.9136 16.4631Z",fill:"white"}),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M32.5262 19.8496L32.7596 19.0421H33.9397L33.8888 19.3385C33.8888 19.3385 34.4918 19.0421 34.9261 19.0421C35.3606 19.0421 36.3854 19.0421 36.3854 19.0421L36.1535 19.8496H35.9239L34.8231 23.6582H35.0527L34.8343 24.4146H34.6047L34.5092 24.7427H33.3664L33.4617 24.4146H31.207L31.4268 23.6582H31.6527L32.7544 19.8496H32.5262H32.5262ZM33.7993 19.8498L33.4989 20.8805C33.4989 20.8805 34.0128 20.6866 34.4558 20.6318C34.5536 20.2718 34.6815 19.8498 34.6815 19.8498H33.7993V19.8498ZM33.3598 21.3637L33.0585 22.4433C33.0585 22.4433 33.628 22.1676 34.0188 22.1444C34.1317 21.7271 34.2447 21.3637 34.2447 21.3637H33.3598V21.3637ZM33.5808 23.6583L33.8067 22.8751H32.9258L32.6987 23.6583H33.5808ZM36.4352 18.9922H37.5447L37.5918 19.3946C37.5844 19.4971 37.6463 19.546 37.7779 19.546H37.9739L37.7756 20.2279H36.9601C36.6487 20.2437 36.4886 20.1267 36.4738 19.8741L36.4352 18.9922ZM36.1102 20.4548H39.7039L39.493 21.1868H38.3488L38.1526 21.8673H39.2957L39.0835 22.5981H37.8104L37.5224 23.0264H38.1455L38.2894 23.8839C38.3066 23.9693 38.3836 24.0108 38.5151 24.0108H38.7086L38.5053 24.717H37.8202C37.4653 24.7342 37.2818 24.6171 37.2667 24.3646L37.1016 23.5814L36.5346 24.4146C36.4005 24.65 36.1945 24.7599 35.9167 24.7427H34.8705L35.074 24.0363H35.4004C35.5345 24.0363 35.646 23.9778 35.7465 23.8595L36.634 22.5981H35.4898L35.7018 21.8673H36.9428L37.1402 21.1868H35.898L36.1102 20.4548Z",fill:"white"}),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.1915 13.9492H18.0645L17.9647 14.4493L18.0899 14.3066C18.3729 14.009 18.7166 13.8613 19.1224 13.8613C19.4898 13.8613 19.7547 13.9663 19.921 14.1773C20.0847 14.3884 20.1294 14.6799 20.0519 15.0544L19.571 17.4137H18.6738L19.1081 15.2752C19.1529 15.0544 19.1405 14.8897 19.0715 14.7836C19.0033 14.6774 18.873 14.625 18.685 14.625C18.4542 14.625 18.26 14.6957 18.1017 14.8361C17.9429 14.9776 17.8381 15.174 17.7865 15.424L17.3863 17.4137H16.4873L17.1915 13.9492Z",fill:"white"}),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M27.2021 13.9492H28.0758L27.9767 14.4493L28.1006 14.3066C28.3837 14.009 28.7287 13.8613 29.1332 13.8613C29.5005 13.8613 29.766 13.9663 29.931 14.1773C30.0937 14.3884 30.1408 14.6799 30.0614 15.0544L29.5823 17.4137H28.6839L29.1184 15.2752C29.1629 15.0544 29.1506 14.8897 29.0823 14.7836C29.0115 14.6774 28.8836 14.625 28.6964 14.625C28.4655 14.625 28.272 14.6957 28.1119 14.8361C27.953 14.9776 27.8476 15.174 27.798 15.424L27.396 17.4137H26.498L27.2021 13.9492",fill:"white"}),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.5212 11.8018H34.0577C34.5454 11.8018 34.9225 11.9104 35.1818 12.1238C35.44 12.3398 35.5692 12.6497 35.5692 13.0534V13.0656C35.5692 13.1424 35.564 13.229 35.5567 13.3229C35.5441 13.4157 35.5279 13.5095 35.5071 13.6072C35.3954 14.1415 35.1359 14.571 34.7352 14.8967C34.333 15.2211 33.8567 15.3846 33.3082 15.3846H31.9479L31.5274 17.4133H30.3496L31.5212 11.8018M32.1554 14.4087H33.2835C33.5776 14.4087 33.8108 14.3415 33.9809 14.2086C34.1497 14.0744 34.2614 13.8695 34.3234 13.5914C34.3332 13.54 34.3394 13.4937 34.3469 13.451C34.3508 13.4108 34.3556 13.3704 34.3556 13.3315C34.3556 13.1326 34.2838 12.9887 34.1397 12.8984C33.9958 12.8068 33.7701 12.763 33.4572 12.763H32.4991L32.1554 14.4087",fill:"white"}),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M40.8406 18.0833C40.4683 18.8615 40.1135 19.3152 39.9051 19.5263C39.6964 19.735 39.2833 20.2205 38.2881 20.1839L38.3737 19.5898C39.2112 19.3361 39.6642 18.1929 39.9223 17.6867L39.6146 13.9587L40.2624 13.9502H40.8059L40.8643 16.2888L41.8829 13.9502H42.9143L40.8406 18.0833Z",fill:"white"}),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.9561 14.232L37.5464 14.509C37.1183 14.1796 36.7274 13.9759 35.9731 14.3199C34.9454 14.7883 34.0868 18.381 36.9161 17.1976L37.0774 17.3855L38.1905 17.4135L38.9215 14.1491L37.9561 14.232M37.3233 16.0168C37.1445 16.5353 36.7451 16.8781 36.4324 16.7805C36.1196 16.6853 36.008 16.1851 36.1891 15.6655C36.3678 15.1458 36.7698 14.8042 37.08 14.9018C37.3927 14.997 37.5056 15.4971 37.3233 16.0168Z",fill:"white"}),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M34.3328 5.26107L30.4463 5.25342L34.3106 5.26981C34.318 5.26981 34.3253 5.26107 34.3328 5.26107",fill:"#E02F41"}),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M30.4467 5.27406L23.5378 5.25C23.5204 5.25 23.5024 5.25765 23.4844 5.26531L30.4467 5.27406",fill:"#2E4F7D"}))),{key:"unionpay"})},{name:"diners",component:(0,s.createElement)((()=>(0,s.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"16",fill:"none",viewBox:"-2 -2 22 20"},(0,s.createElement)("path",{fill:"#254D98",d:"M12.38 7.986c-.004-1.978-1.206-3.665-2.9-4.333v8.666c1.694-.67 2.896-2.354 2.9-4.333m-6.132 4.33V3.655c-1.693.67-2.893 2.355-2.897 4.332.004 1.977 1.204 3.662 2.897 4.33M7.865.663C3.93.663.745 3.94.744 7.986c0 4.044 3.187 7.322 7.12 7.322s7.122-3.278 7.123-7.322c0-4.045-3.189-7.323-7.122-7.324M7.847 16C3.543 16.02 0 12.435 0 8.07 0 3.298 3.543 0 7.847 0h2.018C14.118 0 18 3.297 18 8.07 18 12.432 14.118 16 9.865 16z"}))),{key:"diners"})},{name:"eftpos",component:(0,s.createElement)((()=>(0,s.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"33",height:"11",fill:"none",viewBox:"-2 0 37 11",style:{background:"rgba(31, 0, 56, 1)"}},(0,s.createElement)("path",{fill:"url(#paint0_linear_10177_17781)",d:"M6.104 1.758c-1.518.693-2.545 2.021-2.545 3.545 0 1.923 1.772 3.483 3.957 3.483 1.003 0 1.708-.232 2.533-.728.088-.053.186-.092.25-.01.038.047.023.104-.006.156-.9 1.653-2.733 2.801-4.79 2.801a5.503 5.503 0 0 1-3.444-9.794c.943-.757 3.306-.862 4.045.547"}),(0,s.createElement)("path",{fill:"#E50056",d:"M10.23 3.889c0 1.828-1.746 3.31-3.9 3.31-.313 0-1.161-.043-1.769-.326-.172-.08-.155-.182-.036-.23.276-.115 2.44-.53 2.44-2.754S4.669.039 2.059 1.211A5.48 5.48 0 0 1 5.503.001c2.555 0 4.726 1.74 4.726 3.888"}),(0,s.createElement)("path",{fill:"#fff",d:"M14.147 4.017c-1.186 0-1.82.713-1.82 1.636v.027c0 .928.503 1.537 1.767 1.537.913 0 1.527-.294 1.789-.986h-.881c-.132.225-.378.351-.85.351-.645 0-.966-.236-1.05-.666h2.823v-.32c0-.913-.614-1.58-1.779-1.58m-1.034 1.3c.104-.425.45-.671 1.049-.671.582 0 .881.215.96.671zM19.487 3.293h-.682c0 .136-.005.356-.032.498-.047.252-.11.305-.335.326-.142.01-.3.01-.451.01h-.535v-.126c0-.456.089-.54.488-.54h.264v-.65h-.354c-.87 0-1.17.293-1.17 1.159v.158h-.708v.68h.708v2.32h.766l.005-2.32h1.27v.945c0 1.023.273 1.375 1.274 1.375h.572v-.72h-.362c-.619 0-.718-.089-.718-.786v-.813h1.08v-.682h-1.08zM22.965 4.027c-.587 0-1.038.242-1.27.656l-.066-.556h-.689v4.066h.792V6.65c.215.357.61.556 1.212.556.85 0 1.553-.514 1.553-1.548v-.026c0-1.044-.587-1.605-1.532-1.605m.709 1.626c0 .572-.3.887-.981.887-.645 0-.976-.32-.976-.892v-.02c0-.594.373-.945.986-.945.646 0 .97.325.97.95zM26.612 4.017c-1.076 0-1.805.603-1.805 1.61v.032c0 .98.54 1.558 1.789 1.558 1.212 0 1.826-.603 1.826-1.558v-.032c0-1.018-.714-1.61-1.81-1.61m.986 1.636c0 .572-.299.887-.986.887-.661 0-.981-.31-.981-.887v-.026c0-.62.356-.945.991-.945.65 0 .976.336.976.945zM30.51 5.291c-.782-.052-.997-.104-.997-.325 0-.183.152-.34.713-.34.493 0 .798.115.866.414h.86c-.163-.677-.697-1.023-1.715-1.023s-1.511.43-1.511 1.012c0 .625.524.824 1.458.877.777.042 1.018.089 1.018.314 0 .22-.189.357-.755.357-.583 0-.845-.126-.929-.446h-.913c.131.724.698 1.086 1.81 1.086 1.054 0 1.584-.43 1.584-1.028 0-.646-.45-.835-1.49-.898M32.339 4.676a.35.35 0 0 1-.237-.082q-.094-.082-.094-.24V4.34a.4.4 0 0 1 .043-.174.3.3 0 0 1 .117-.115.34.34 0 0 1 .167-.04q.047 0 .089.01a.303.303 0 0 1 .198.142q.045.072.045.176v.017a.4.4 0 0 1-.011.096.3.3 0 0 1-.034.078.3.3 0 0 1-.117.11.4.4 0 0 1-.166.037m0-.055a.27.27 0 0 0 .192-.07q.075-.068.075-.2v-.01a.27.27 0 0 0-.076-.203.27.27 0 0 0-.194-.072.26.26 0 0 0-.192.075.27.27 0 0 0-.076.202v.008q0 .13.076.2t.195.07m.004-.239h-.071v.127h-.059v-.34h.136q.072 0 .101.027t.03.073a.1.1 0 0 1-.017.057.1.1 0 0 1-.051.03q.032.007.046.027a.1.1 0 0 1 .014.058v.05q0 .006.002.01l.004.007h-.06l-.003-.006-.001-.011v-.05q0-.033-.012-.046t-.06-.013m0-.05q.044.002.063-.015.017-.015.018-.047 0-.026-.02-.039a.1.1 0 0 0-.058-.013h-.074v.114z"}),(0,s.createElement)("defs",null,(0,s.createElement)("linearGradient",{id:"paint0_linear_10177_17781",x1:"5.209",x2:"3.103",y1:"7.316",y2:"-3.516",gradientUnits:"userSpaceOnUse"},(0,s.createElement)("stop",{offset:"0.141",stopColor:"#E50056"}),(0,s.createElement)("stop",{offset:"0.75",stopColor:"#1F0038"}))))),{key:"eftpos"})},{name:"jcb",component:(0,s.createElement)((()=>(0,s.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"18",fill:"none",viewBox:"-6 -2 34 22",style:{background:"rgba(14, 76, 150, 1)"}},(0,s.createElement)("path",{fill:"#fff",fillRule:"evenodd",d:"M21.66 13.865a3.39 3.39 0 0 1-.973 2.372 3.291 3.291 0 0 1-2.348.983H.314V3.956a3.39 3.39 0 0 1 .972-2.373A3.32 3.32 0 0 1 3.633.6H21.66z",clipRule:"evenodd"}),(0,s.createElement)("path",{fill:"url(#paint0_linear_10440_1167)",fillRule:"evenodd",d:"M15.782 9.2c.515.012 1.033-.022 1.546.019.52.098.644.893.183 1.153-.315.17-.689.063-1.03.094h-.699zm1.843-1.43c.115.408-.274.775-.663.718h-1.18c.008-.385-.016-.802.012-1.167.473.014.95-.027 1.42.021a.56.56 0 0 1 .412.428m2.84-6.051c.021.779.003 1.6.009 2.394-.002 3.233.003 6.466-.003 9.698-.02 1.21-1.082 2.264-2.273 2.288-1.192.004-2.384 0-3.575.002v-4.887c1.298-.007 2.598.014 3.895-.01.603-.039 1.262-.44 1.29-1.11.07-.672-.557-1.137-1.152-1.21-.23-.007-.222-.068 0-.095.568-.124 1.014-.718.847-1.313-.143-.627-.828-.869-1.397-.867-1.16-.008-2.322-.002-3.483-.004.007-.912-.016-1.826.012-2.737.092-1.19 1.18-2.17 2.355-2.15z",clipRule:"evenodd"}),(0,s.createElement)("path",{fill:"url(#paint1_linear_10440_1167)",fillRule:"evenodd",d:"M1.501 3.992c.03-1.21 1.097-2.254 2.286-2.271 1.187-.004 2.375-.001 3.562-.002-.003 4.047.006 8.094-.005 12.14-.046 1.195-1.101 2.22-2.277 2.24-1.19.005-2.38.001-3.57.002V11.05c1.156.275 2.368.393 3.547.21.705-.115 1.475-.464 1.714-1.203.176-.632.077-1.297.103-1.946V6.605H4.82c-.009.996.019 1.994-.015 2.99-.055.61-.654 1-1.225.979-.708.007-2.11-.519-2.11-.519-.004-1.866.02-4.203.03-6.063",clipRule:"evenodd"}),(0,s.createElement)("path",{fill:"url(#paint2_linear_10440_1167)",fillRule:"evenodd",d:"M8.11 7.213c-.107.023-.022-.37-.049-.519.007-.942-.015-1.884.012-2.825.092-1.195 1.19-2.178 2.368-2.15h3.47c-.002 4.047.007 8.093-.004 12.14-.046 1.195-1.101 2.22-2.277 2.24-1.19.005-2.38.001-3.57.002v-5.535c.814.674 1.917.78 2.93.78.763 0 1.521-.118 2.262-.296v-1.014c-.835.421-1.817.688-2.742.447-.646-.163-1.115-.794-1.104-1.467-.075-.7.331-1.44 1.012-1.648.846-.268 1.767-.063 2.56.285.17.09.342.201.274-.086V6.77c-1.325-.319-2.736-.436-4.068-.089-.385.11-.76.276-1.074.532",clipRule:"evenodd"}),(0,s.createElement)("defs",null,(0,s.createElement)("linearGradient",{id:"paint0_linear_10440_1167",x1:"14.622",x2:"20.474",y1:"8.91",y2:"8.91",gradientUnits:"userSpaceOnUse"},(0,s.createElement)("stop",{stopColor:"#007B40"}),(0,s.createElement)("stop",{offset:"1",stopColor:"#55B330"})),(0,s.createElement)("linearGradient",{id:"paint1_linear_10440_1167",x1:"1.498",x2:"7.349",y1:"8.91",y2:"8.91",gradientUnits:"userSpaceOnUse"},(0,s.createElement)("stop",{stopColor:"#1D2970"}),(0,s.createElement)("stop",{offset:"1",stopColor:"#006DBA"})),(0,s.createElement)("linearGradient",{id:"paint2_linear_10440_1167",x1:"8.061",x2:"13.912",y1:"8.91",y2:"8.91",gradientUnits:"userSpaceOnUse"},(0,s.createElement)("stop",{stopColor:"#6E2B2F"}),(0,s.createElement)("stop",{offset:"1",stopColor:"#E30138"}))))),{key:"jcb"})},{name:"bancontact",component:(0,s.createElement)((()=>(0,s.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",id:"logo",viewBox:"0 0 758.356 567.439"},(0,s.createElement)("defs",null,(0,s.createElement)("linearGradient",{id:"Bancontact_blauw_rgb",x1:"178.27",x2:"362.51",y1:"283.799",y2:"215.368",gradientUnits:"userSpaceOnUse"},(0,s.createElement)("stop",{offset:"0",stopColor:"#005ab9"}),(0,s.createElement)("stop",{offset:"1",stopColor:"#1e3764"})),(0,s.createElement)("linearGradient",{id:"Bancontact_geel_rgb",x1:"394.428",x2:"590.053",y1:"237.305",y2:"170.562",gradientUnits:"userSpaceOnUse"},(0,s.createElement)("stop",{offset:"0",stopColor:"#fba900"}),(0,s.createElement)("stop",{offset:"1",stopColor:"#ffd800"}))),(0,s.createElement)("path",{id:"rounded_white_background",fill:"#fff",d:"M93.855 72.758H664.5a21.096 21.096 0 0 1 21.096 21.097v379.73a21.096 21.096 0 0 1-21.096 21.096H93.855a21.096 21.096 0 0 1-21.097-21.096V93.855a21.096 21.096 0 0 1 21.097-21.097"}),(0,s.createElement)("path",{id:"Bancontact",fill:"#1e3764",d:"M127.328 438.865v-72.758h22.451c16.32 0 26.817 6.132 26.817 18.813 0 7.172-3.326 12.161-8.003 15.071 6.756 3.118 10.705 9.147 10.705 17.358 0 14.656-10.705 21.516-27.336 21.516Zm14.448-42.512h10.706c6.548 0 9.355-3.222 9.355-9.146 0-6.341-5.094-8.42-11.954-8.42h-8.107Zm0 29.831h8.939c8.73 0 13.824-2.183 13.824-9.042 0-6.756-4.365-9.563-12.577-9.563h-10.186Zm65.54 13.928c-14.24 0-21.412-6.963-21.412-16.318 0-10.29 8.42-16.32 20.893-16.423a65 65 0 0 1 9.25.832v-2.495c0-6.34-3.638-9.355-10.602-9.355a36.5 36.5 0 0 0-13.72 2.495l-2.598-11.225c4.47-1.872 11.641-3.119 17.981-3.119 15.28 0 22.867 8.108 22.867 22.14v28.895c-4.261 2.183-12.265 4.573-22.659 4.573m8.731-11.745v-11.122a35 35 0 0 0-7.38-.831c-4.78 0-8.523 1.87-8.523 6.756 0 4.366 3.119 6.652 8.627 6.652a16.3 16.3 0 0 0 7.276-1.455m24.027 10.498v-49.788a63.5 63.5 0 0 1 23.49-4.573c15.176 0 23.907 7.484 23.907 21.308v33.053h-14.344v-32.014c0-7.172-3.326-10.498-9.667-10.498a21.8 21.8 0 0 0-9.146 1.871v40.641Zm97.524-51.242-2.703 11.329a31.7 31.7 0 0 0-11.745-2.599c-8.42 0-12.993 5.925-12.993 15.696 0 10.705 4.781 16.214 13.72 16.214a29.4 29.4 0 0 0 11.538-2.702l2.286 11.537a35 35 0 0 1-14.967 3.014c-17.254 0-27.233-10.705-27.233-27.648 0-16.838 9.875-27.96 26.402-27.96a40.1 40.1 0 0 1 15.695 3.119m30.987 52.49c-16.007 0-25.985-11.122-25.985-27.857 0-16.63 9.978-27.752 25.985-27.752 16.11 0 25.881 11.122 25.881 27.752 0 16.735-9.77 27.856-25.881 27.856m0-11.85c7.38 0 11.225-6.132 11.225-16.007 0-9.77-3.845-15.903-11.225-15.903-7.276 0-11.33 6.133-11.33 15.903 0 9.875 4.054 16.007 11.33 16.007m34.182 10.602v-49.788a63.5 63.5 0 0 1 23.49-4.573c15.175 0 23.907 7.484 23.907 21.308v33.053H435.82v-32.014c0-7.172-3.327-10.498-9.667-10.498a21.8 21.8 0 0 0-9.147 1.871v40.641Zm79.745 1.247c-12.369 0-18.71-6.756-18.71-20.476v-22.451h-7.067v-11.434h7.068v-11.537l14.344-.728v12.265h11.537v11.434h-11.537v22.243c0 6.029 2.494 8.835 7.172 8.835a25.2 25.2 0 0 0 5.508-.623l.728 11.537a39.7 39.7 0 0 1-9.043.935m36.205 0c-14.24 0-21.412-6.963-21.412-16.318 0-10.29 8.42-16.32 20.892-16.423a65 65 0 0 1 9.25.832v-2.495c0-6.34-3.637-9.355-10.601-9.355a36.5 36.5 0 0 0-13.72 2.495l-2.599-11.225c4.47-1.872 11.642-3.119 17.982-3.119 15.28 0 22.867 8.108 22.867 22.14v28.895c-4.262 2.183-12.265 4.573-22.659 4.573m8.73-11.745v-11.122a35 35 0 0 0-7.379-.831c-4.781 0-8.523 1.87-8.523 6.756 0 4.366 3.118 6.652 8.627 6.652a16.3 16.3 0 0 0 7.276-1.455m63.004-40.744-2.702 11.329a31.7 31.7 0 0 0-11.745-2.599c-8.42 0-12.993 5.925-12.993 15.696 0 10.705 4.781 16.214 13.72 16.214a29.4 29.4 0 0 0 11.537-2.702l2.287 11.537a35 35 0 0 1-14.967 3.014c-17.254 0-27.233-10.705-27.233-27.648 0-16.838 9.875-27.96 26.401-27.96a40.1 40.1 0 0 1 15.695 3.119m31.537 52.49c-12.37 0-18.71-6.757-18.71-20.477v-22.451h-7.068v-11.434h7.068v-11.537l14.344-.728v12.265h11.538v11.434h-11.538v22.243c0 6.029 2.495 8.835 7.172 8.835a25.2 25.2 0 0 0 5.509-.623l.728 11.537a39.7 39.7 0 0 1-9.043.935"}),(0,s.createElement)("path",{id:"blue-symbol",fill:"url(#Bancontact_blauw_rgb)",d:"M227.38 329.728c75.9 0 113.85-50.6 151.8-101.2H127.327v101.2Z"}),(0,s.createElement)("path",{id:"yellow-symbol",fill:"url(#Bancontact_geel_rgb)",d:"M530.98 127.327c-75.9 0-113.85 50.6-151.8 101.2h251.85v-101.2Z"}))),{key:"bancontact"})},{name:"becs",component:(0,s.createElement)((()=>(0,s.createElement)("svg",{fill:"none",height:"14",viewBox:"-4 -2 35 18",width:"29",xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)("g",{fill:"#757575"},(0,s.createElement)("path",{d:"m28.3322 13.6841c-.6419 0-.9051-.2256-.9051-.7869v-1.6892h-.4565v-.4592h.4565v-.7359h.5935v.7359h.6258v.4592h-.6258v1.5496c0 .3142.1182.4431.4055.4431.0887 0 .1397-.0027.2203-.0108v.4646c-.094.0162-.2015.0296-.3142.0296z"}),(0,s.createElement)("path",{d:"m26.3152 10.2278c-.2014 0-.3652-.1638-.3652-.36257 0-.20141.1638-.36523.3652-.36523.1987 0 .3652.16382.3652.36523 0 .19877-.1665.36257-.3652.36257zm-.2927 3.4375v-2.9165h.58v2.9165z"}),(0,s.createElement)("path",{d:"m24.3276 13.7136c-.4082 0-.7277-.188-.8969-.5075h-.043v.4592h-.5828v-4.06056h.5828v1.60596h.043c.1557-.3142.4968-.5129.8969-.5129.7412 0 1.2085.5827 1.2085 1.5065v.0054c0 .9158-.4726 1.5039-1.2085 1.5039zm-.1638-.4968c.4861 0 .7788-.3814.7788-1.0071v-.0054c0-.6257-.2927-1.007-.7788-1.007s-.7868.384-.7868 1.007v.0054c0 .6231.3007 1.0071.7868 1.0071z"}),(0,s.createElement)("path",{d:"m21.0215 13.7217c-.854 0-1.3696-.5828-1.3696-1.5066v-.0027c0-.9104.5263-1.52 1.34-1.52.8138 0 1.3133.5881 1.3133 1.4636v.2041h-2.0679c.0107.5586.3169.8836.7976.8836.3733 0 .5962-.1854.666-.3357l.0108-.0215.5612-.0027-.0053.0242c-.0967.384-.4995.8137-1.2461.8137zm-.0269-2.5513c-.3974 0-.6982.2713-.7492.7734h1.4824c-.0457-.5209-.3384-.7734-.7332-.7734z"}),(0,s.createElement)("path",{d:"m16.0449 13.6653v-3.87526h1.3992c1.1494 0 1.8235.70896 1.8235 1.92556v.0053c0 1.23-.6687 1.9444-1.8235 1.9444zm.6016-.5183h.7305c.811 0 1.2783-.5183 1.2783-1.418v-.0054c0-.8916-.4754-1.4153-1.2783-1.4153h-.7305z"}),(0,s.createElement)("path",{d:"m13.9203 13.6841c-.6419 0-.905-.2256-.905-.7869v-1.6892h-.4566v-.4592h.4566v-.7359h.5935v.7359h.6257v.4592h-.6257v1.5496c0 .3142.1181.4431.4055.4431.0886 0 .1396-.0027.2202-.0108v.4646c-.094.0162-.2014.0296-.3142.0296z"}),(0,s.createElement)("path",{d:"m11.0868 13.7217c-.8513 0-1.37232-.5801-1.37232-1.5227v-.0054c0-.9238.51832-1.5012 1.36962-1.5012.7332 0 1.1709.4136 1.2515.9802v.0134l-.5586.0027-.0027-.008c-.0645-.2874-.3008-.5022-.6875-.5022-.4861 0-.7788.3867-.7788 1.0151v.0054c0 .6445.2981 1.0366.7788 1.0366.3652 0 .5908-.1665.6848-.4807l.0054-.0134h.5586l-.0054.0241c-.1047.5667-.521.9561-1.2434.9561z"}),(0,s.createElement)("path",{d:"m8.10291 13.7217c-.85401 0-1.36963-.5828-1.36963-1.5066v-.0027c0-.9104.52636-1.52 1.34008-1.52s1.31324.5881 1.31324 1.4636v.2041h-2.06787c.01074.5586.31689.8836.7976.8836.37329 0 .59619-.1854.66602-.3357l.01074-.0215.56128-.0027-.00537.0242c-.09668.384-.49951.8137-1.24609.8137zm-.02686-2.5513c-.39746 0-.69824.2713-.74927.7734h1.48242c-.04565-.5209-.33837-.7734-.73315-.7734z"}),(0,s.createElement)("path",{d:"m4.97144 13.6653v-2.9165h.58276v.4404h.04297c.10473-.3088.37597-.4914.76538-.4914.09399 0 .19604.0134.25513.0268v.5371c-.10474-.0215-.20411-.0349-.31421-.0349-.4458 0-.74927.2739-.74927.6956v1.7429z"}),(0,s.createElement)("path",{d:"m4.05542 10.2278c-.20142 0-.36523-.1638-.36523-.36257 0-.20141.16381-.36523.36523-.36523.19873 0 .36523.16382.36523.36523 0 .19877-.1665.36257-.36523.36257zm-.29272 3.4375v-2.9165h.58007v2.9165z"}),(0,s.createElement)("path",{d:"m0 13.6653v-3.87526h1.39917c1.14941 0 1.82349.70896 1.82349 1.92556v.0053c0 1.23-.6687 1.9444-1.82349 1.9444zm.601562-.5183h.730468c.81104 0 1.27832-.5183 1.27832-1.418v-.0054c0-.8916-.47534-1.4153-1.27832-1.4153h-.730468z"}),(0,s.createElement)("path",{d:"m24.7614 8.14795c-.638 0-1.1926-.0931-1.6638-.2793-.4711-.1862-.8421-.44759-1.1129-.78418-.2671-.34017-.4173-.73942-.4507-1.19775l-.0056-.08594h1.6193l.0056.05371c.0222.19336.1039.36345.2448.51026.1447.14323.3376.25602.5787.33837.2412.08236.5175.12354.8292.12354.3004 0 .5638-.04297.7901-.12891.2263-.08593.4025-.2041.5287-.35449.1298-.15397.1947-.32943.1947-.52637v-.00537c0-.25423-.1076-.45833-.3227-.6123-.2115-.15397-.5676-.28109-1.0684-.38135l-.8458-.1665c-.8347-.16472-1.4412-.43506-1.8196-.81104-.3784-.37597-.5676-.85758-.5676-1.44482v-.00537c0-.47982.1317-.89877.3951-1.25684.2634-.358072.625-.635579 1.085-.832519.4601-.200521.9868-.300781 1.5804-.300781.6232 0 1.1574.09847 1.6026.29541.4488.19336.7994.460124 1.0517.80029.2522.33659.3951.72152.4284 1.15479l.0056.06982h-1.5803l-.0112-.06445c-.0333-.1862-.115-.34912-.2448-.48877-.1261-.13965-.2968-.24886-.5119-.32764-.2115-.08235-.4582-.12353-.7401-.12353-.2745 0-.5157.03939-.7234.11816-.2078.07878-.3691.18978-.4841.33301-.115.13965-.1725.30615-.1725.49951v.00537c0 .25065.1038.45655.3116.61768.2114.15755.5527.28288 1.0239.37597l.8513.16651c.5676.111 1.0295.26139 1.3856.45117.3599.18978.6251.4279.7957.71436.1707.28645.256.63199.256 1.03662v.00537c0 .51204-.1317.95605-.3951 1.33203-.2597.3724-.6325.66243-1.1184.87012-.4823.2041-1.0573.30615-1.7251.30615z"}),(0,s.createElement)("path",{d:"m17.3701 8.14795c-.7753 0-1.4449-.16471-2.0088-.49414s-.9979-.7985-1.3021-1.40723c-.3042-.60872-.4563-1.33203-.4563-2.16992v-.01074c0-.83789.1521-1.5612.4563-2.16992.3042-.60873.7364-1.076013 1.2965-1.401859.5639-.329427 1.2354-.494141 2.0144-.494141.6344 0 1.2038.119954 1.7083.359863.5082.239909.9182.571127 1.2298.993657.3116.42252.4934.90592.5453 1.45019v.06983h-1.6304l-.0056-.0376c-.0556-.29004-.1688-.54427-.3394-.7627-.1707-.222-.3858-.39388-.6455-.51562-.256-.12175-.5435-.18262-.8625-.18262-.4192 0-.7827.10921-1.0906.32764-.308.21484-.5454.52457-.7123.9292-.1632.40104-.2448.87907-.2448 1.43408v.01074c0 .55143.0816 1.02946.2448 1.43408.1669.40462.4043.71615.7123.93457.3079.21843.6733.32764 1.0962.32764.3227 0 .6102-.0555.8625-.1665.2559-.11459.4674-.27393.6343-.47803.1707-.20768.2838-.44938.3395-.7251l.0111-.04834h1.636v.06445c-.0594.54069-.243 1.01514-.5509 1.42334-.3079.40821-.7123.72868-1.2131.96143-.5008.22917-1.0758.34375-1.725.34375z"}),(0,s.createElement)("path",{d:"m7.38684 7.94922v-7.75049h5.31966v1.3374h-3.63917v1.86914h3.43337v1.2461h-3.43337v1.96045h3.63917v1.3374z"}),(0,s.createElement)("path",{d:"m.840246 7.94922v-1.2085h2.337114c.48597 0 .85508-.09668 1.10734-.29004.25597-.19336.38395-.47444.38395-.84326v-.01074c0-.23991-.05935-.44222-.17806-.60693-.115-.16472-.2875-.28825-.5175-.37061-.2263-.08594-.50452-.12891-.83469-.12891h-2.298154v-1.06884h2.103394c.45259 0 .79944-.08773 1.04058-.26319.24113-.17545.36169-.42252.36169-.74121v-.01074c0-.3151-.11129-.56038-.33387-.73584-.21887-.17904-.52863-.26855-.92928-.26855h-2.242514v-1.20313h2.670984c.52307 0 .96823.078777 1.33549.236329.37097.153971.65476.375976.85138.666011.20032.28646.30048.62842.30048 1.02588v.01075c0 .27213-.06492.52636-.19476.76269-.12613.23633-.29863.43327-.5175.59082s-.46557.25602-.74009.29541v.09668c.35614.02507.67146.12175.94598.29004.27822.16829.49524.38672.65105.65527.15952.26856.23927.56755.23927.89698v.01074c0 .45117-.11314.84326-.33943 1.17627-.22258.32942-.54162.58545-.9571.76806-.41178.17904-.90517.26856-1.48017.26856zm-.840246 0v-7.75049h1.68049v7.75049z"})))),{key:"becs"})},{name:"eps",component:(0,s.createElement)((()=>(0,s.createElement)("svg",{fill:"none",height:"18",viewBox:"-6 0 37 18",width:"25",xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)("path",{d:"m22.0373 9.28464h-2.2258c-.2476 0-.449-.19932-.449-.44884s.2014-.46919.449-.46919h3.3886v-1.68918h-3.3886c-1.1827 0-2.145.97436-2.145 2.16656 0 1.19221.9623 2.16651 2.145 2.16651h2.1956c.2475 0 .449.1986.449.4481s-.2015.4333-.449.4333h-4.7082c-.3997.7711-.7884 1.4321-1.5774 1.7626h6.3158c1.1628-.0169 2.1141-1.0114 2.1141-2.1931 0-1.1815-.9513-2.15983-2.1141-2.17676z",fill:"#71706f"}),(0,s.createElement)("path",{d:"m13.5048 6.67743c-1.8865 0-3.423 1.56194-3.423 3.48117v.0735 7.168h1.7079v-3.7456h1.7116c1.8865 0 3.4176-1.5827 3.4176-3.502 0-1.91923-1.5275-3.47507-3.4141-3.47507zm0 5.21447h-1.7151v-1.7394c0-.97193.7658-1.76268 1.7151-1.76268.9494 0 1.7216.79075 1.7216 1.76268 0 .972-.7722 1.7394-1.7216 1.7394z",fill:"#71706f"}),(0,s.createElement)("g",{fill:"#c8036f"},(0,s.createElement)("path",{d:"m4.67474 13.6544c-1.61489 0-2.97258-1.1628-3.33997-2.682 0 0-.10615-.5023-.10615-.833 0-.33075.10048-.83821.10048-.83821.37004-1.51541 1.72606-2.64386 3.3383-2.64386 1.8962 0 3.45215 1.55765 3.45215 3.47377v.8427h-5.03783c.29751.5875.89917.918 1.59302.918h4.52876l.00621-4.96908c0-.74085-.59977-1.34698-1.3329-1.34698h-6.41882c-.73313 0-1.332975.58777-1.332975 1.32862v6.48634c0 .7409.599845 1.3654 1.332975 1.3654h6.41882c.65791 0 1.20674-.4774 1.31277-1.1017z"}),(0,s.createElement)("path",{d:"m4.66735 8.30615c-.69116 0-1.29224.42759-1.59095.97841h3.18197c-.2987-.55082-.89975-.97841-1.59102-.97841z"}),(0,s.createElement)("path",{d:"m7.57446 3.46644c0-1.5831-1.30195-2.866434-2.90794-2.866434-1.57939 0-2.86393 1.241364-2.90612 2.788174-.00069.00654-.00015.01289-.00015.01961v.86141c0 .10304.08304.2049.18755.2049h1.06985c.10451 0 .19615-.10186.19615-.2049v-.80276c0-.79054.65156-1.43372 1.45356-1.43372.80199 0 1.45355.64318 1.45355 1.43372v.80276c0 .10304.08478.2049.18929.2049h1.06988c.10451 0 .19438-.10186.19438-.2049z"})))),{key:"eps"})},{name:"ideal",component:(0,s.createElement)((()=>(0,s.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"18",fill:"none",viewBox:"-2 -2 24 22"},(0,s.createElement)("g",{clipPath:"url(#clip0_10440_1654)"},(0,s.createElement)("path",{fill:"#fff",d:"M0 1.305v15a1.31 1.31 0 0 0 1.305 1.305h8.962c6.775 0 9.712-3.792 9.712-8.825C19.98 3.78 17.042 0 10.267 0H1.305A1.31 1.31 0 0 0 0 1.305"}),(0,s.createElement)("path",{fill:"#C06",d:"M5.998 3.681v11.083h4.824c4.38 0 6.279-2.474 6.279-5.972 0-3.348-1.9-5.946-6.28-5.946H6.835a.837.837 0 0 0-.836.835"}),(0,s.createElement)("path",{fill:"#000",d:"M10.267 16.416H2.474a1.254 1.254 0 0 1-1.253-1.254V2.454c0-.692.56-1.253 1.253-1.253h7.793c7.395 0 8.498 4.758 8.498 7.591 0 4.915-3.022 7.624-8.498 7.624M2.474 1.619a.833.833 0 0 0-.836.835v12.708c0 .464.372.836.836.836h7.793c5.209 0 8.08-2.559 8.08-7.206 0-6.24-5.064-7.173-8.08-7.173z"}),(0,s.createElement)("path",{fill:"#fff",d:"M7.695 7.297q.253 0 .477.079c.15.052.274.137.385.241q.157.168.255.405.089.243.091.574-.002.292-.072.535a1.3 1.3 0 0 1-.222.425 1.1 1.1 0 0 1-.372.28c-.15.066-.326.105-.528.105H6.566V7.29h1.13zm-.039 2.16a.8.8 0 0 0 .248-.038.5.5 0 0 0 .21-.138.8.8 0 0 0 .15-.248c.038-.104.058-.221.058-.372 0-.13-.013-.254-.04-.359a.7.7 0 0 0-.13-.274.6.6 0 0 0-.235-.176 1 1 0 0 0-.359-.059h-.417v1.671h.515zM11.26 7.297v.49H9.861v.568h1.286v.45H9.862v.646h1.43v.49h-2.01V7.29h1.977zM13.257 7.297l.992 2.65h-.607l-.203-.587h-.992l-.209.587h-.587l.999-2.65zm.032 1.625-.333-.972h-.006l-.346.972zM15.195 7.297v2.16h1.292v.49h-1.873v-2.65z"}),(0,s.createElement)("path",{fill:"#000",d:"M3.818 9.843a1.22 1.22 0 1 0 0-2.441 1.22 1.22 0 0 0 0 2.44M4.739 14.764a1.845 1.845 0 0 1-1.848-1.847v-1.442a.926.926 0 1 1 1.854 0v3.29z"})),(0,s.createElement)("defs",null,(0,s.createElement)("clipPath",{id:"clip0_10440_1654"},(0,s.createElement)("path",{fill:"#fff",d:"M0 0h19.979v17.61H0z"}))))),{key:"ideal"})},{name:"przelewy24",component:(0,s.createElement)((()=>(0,s.createElement)("svg",{fill:"none",height:"10",viewBox:"-2 -2 34 14",width:"30",xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)("g",{fill:"#d13239"},(0,s.createElement)("path",{d:"m6.82968 5.74247 2.3812-.0048-.08641.54249-1.99234 1.89633h1.67068l-.09601.5809h-2.45802l.10082-.60011 1.90592-1.82911h-1.52186z"}),(0,s.createElement)("path",{d:"m4.23251 4.81598c-.05281-.05281-.12482-.09602-.20643-.12962-.08642-.03361-.18244-.05761-.27845-.07682-.12002-.0192-.23524-.0288-.31686-.0336-.07681-.0048-.12482-.0048-.12482-.0048h-1.04177-.77294l-.691313 4.18631h.648113l.25444-1.55066 1.25781.0048s.48969.0192.83535-.16323.44167-.6001.44167-.6001.03841-.15363.07201-.34566c.03361-.20644.07202-.45608.08642-.5905.0096-.05761.0144-.09602.0144-.09602s.0096-.04321.0096-.11042c0-.09121-.0144-.23044-.08641-.36486-.03361-.04321-.06241-.08642-.10082-.12482zm-.49928.73932c0 .00961-.05761.34566-.13443.74413-.0288.15363-.14402.23524-.27844.26405-.22084.048-.46088.0384-.46088.0384l-1.05138-.0048.23044-1.39224.95056.0048h.15363c.10081 0 .23524.00481.35045.01921.09602.0144.17283.0336.19684.06241.0336.03841.04321.09121.04801.13922.0048.06241-.0048.12002-.0048.12482z"}),(0,s.createElement)("path",{d:"m12.4323 4.57114h.6241l-.6961 4.18631h-.6241z"}),(0,s.createElement)("path",{d:"m15.7593 5.74247.6001-.0048.2112 2.12676.917-2.12676h.7393l.216 2.13636.917-2.13636h.6241l-1.3202 3.01972h-.7346l-.2112-2.11236-.9313 2.11236h-.7202z"}),(0,s.createElement)("path",{d:"m11.2849 5.76652c-.1729-.05761-.4753-.06721-.7346-.06721-.2496.0048-.36.0144-.456.03361 0 0-.4417.06241-.69135.37446-.24964.31205-.32645.98897-.32645.98897s-.14883.74893-.10562.99857.12002.48008.40327.5905.52329.10562.52329.10562.50406.0384.88336-.04801c.3793-.08642.5809-.35526.5809-.35526s.0912-.11522.1536-.25445c.0624-.13922.0816-.23044.0864-.24484l.0384-.16323h-.6481s-.0336.42728-.384.46568c-.3505.03841-.5329.02401-.6049.01921-.06725-.0048-.44172.0144-.41291-.29765 0-.0048 0-.00961 0-.01921.0144-.35526.05761-.44647.05761-.44647l2.0307-.0048.0865-.50409c.1104-.5713.0384-1.00337-.4801-1.1714zm-.1392 1.09939h-1.39229l.05281-.22084s.04801-.17283.14403-.24484c.09605-.07201.22085-.08642.33605-.09602s.4225-.0336.6769.01921c.0816.0144.1632.06241.1825.13442.0528.15843 0 .40807 0 .40807z"}),(0,s.createElement)("path",{d:"m9.60467 7.89804v.0144c-.0048.02401 0-.0144 0-.0144z"}),(0,s.createElement)("path",{d:"m15.1112 5.76652c-.1729-.05761-.4753-.06721-.7346-.06721-.2496.0048-.36.0144-.456.03361 0 0-.4417.06241-.6914.37446-.2496.31205-.3264.98897-.3264.98897s-.1488.74893-.1056.99857.12.48008.4032.5905c.2833.11042.5233.10562.5233.10562s.5041.0384.8834-.04801c.3792-.09122.5809-.35526.5809-.35526s.0912-.11522.1536-.25445c.0624-.13922.0816-.23044.0864-.24484l.0384-.16323h-.6481s-.0336.42728-.384.46568c-.3505.03841-.5329.02401-.6049.02401-.0673-.0048-.4417.0144-.4129-.29765 0-.0048 0-.0096 0-.01921.0144-.35526.0576-.44647.0576-.44647l2.0307-.0048.0865-.50409c.1104-.5713.0432-1.00817-.4801-1.1762zm-.1393 1.09939h-1.3922l.0528-.22084s.048-.17283.144-.24484c.0961-.07201.2209-.08642.3361-.09602s.4225-.0336.6769.01921c.0816.0144.1632.06241.1824.13442.0529.15843 0 .40807 0 .40807z"}),(0,s.createElement)("path",{d:"m20.6993 5.74251.3985 2.20838 1.1282-2.20838.6337.0048-1.6275 3.15414s-.2929.5713-.4753.71532c-.1824.14403-.2928.21124-.4417.22564-.1488.0144-.2112.024-.3504 0l-.1536-.0288.096-.5617s.2544.04801.4032-.0144c.1489-.05761.2689-.31686.2689-.31686l.0768-.12962-.5905-3.05812z"})),(0,s.createElement)("path",{d:"m23.0949 6.04013h.6529l.0384-.25444s.072-.46088.2256-.54729c.048-.02881.1296-.05281.2257-.07202.1728-.0288.3888-.0336.5665-.0288.2736.0096.3744.0144.6529.04321.2784.0336.2064.29765.2064.29765l-.0528.39847s-.024.17763-.0864.28804c-.0576.10082-.2113.16803-.3025.19684-.216.07201-.9553.25924-.9553.25924l-.5809.16803s-.3553.10562-.5569.32166c-.2017.22083-.2785.47048-.3073.6049-.0288.12962-.1824 1.03697-.1824 1.03697h3.1349l.1056-.6241-2.4772.0048.0432-.25444s.0288-.26405.1345-.35046c.0336-.02881.048-.06241.2496-.13443.12-.0432.5233-.14882.5233-.14882l.9361-.25444s.5089-.12963.7106-.41287c.2016-.27845.2784-.81134.2784-.81134s.0528-.51849.0144-.68172c-.0432-.16323-.1968-.35526-.3792-.44167-.1873-.08162-.3793-.13443-.9458-.12483-.5617.00961-.845.03361-1.1282.13923-.2881.10562-.4513.29765-.5569.56649-.12.26405-.1872.81614-.1872.81614z",fill:"#b3b2b1"}),(0,s.createElement)("path",{d:"m28.9952 7.20675.4416-2.63085h-.7777l-2.4244 2.60204-.1104.65771h2.1171l-.1536.92656h.6529l.1536-.92656h.6001l.1057-.6289zm-.6434 0h-1.3682l1.6659-1.77631z",fill:"#b3b2b1"}),(0,s.createElement)("path",{d:"m5.60559 4.91679h1.99714s.44648-.36006.76333-.5953c.31685-.23044.89775-.6001.89775-.6001l-1.12819-.52809s-.95536.5905-1.35863.86895c-.39367.25924-1.1714.85454-1.1714.85454z",fill:"#b3b2b1"}),(0,s.createElement)("path",{d:"m9.89262 3.35168-.92656-.62411s.83535-.47528 1.95394-.92175c1.1138-.44168 1.7091-.62891 1.7091-.62891l.1872.88335s-1.0706.36006-1.6851.64811c-.6337.27365-1.23858.64331-1.23858.64331z",fill:"#b3b2b1"}),(0,s.createElement)("path",{d:"m13.5028 1.8682-.1632-.902551s1.1426-.302452 2.1892-.499286c1.0466-.196833 2.434-.288049 2.434-.288049l-.4609 1.397036s-1.2194-.16803-2.3668-.0096c-.8881.10562-1.6323.30245-1.6323.30245z",fill:"#b3b2b1"}),(0,s.createElement)("path",{d:"m18.2317 1.69538.7729-1.550666s1.6899-.033605 3.1494.192033c1.4594.225639 2.794.571297 2.7652.5857l-3.7014 1.934733s-.8641-.5473-1.9395-.88335c-.6049-.17763-1.0466-.27845-1.0466-.27845z",fill:"#b3b2b1"}),(0,s.createElement)("path",{d:"m21.885 3.2797.8113.6193h6.6828s-.0144-.21603-.192-.52328c-.1105-.19204-.3121-.39367-.5233-.60491-.0768-.07681-.3841-.31685-.6145-.46568-.5905-.38406-.9218-.53289-1.5315-.80653z",fill:"#b3b2b1"}),(0,s.createElement)("path",{d:"m6.03769 5.73767c-.24965 0-.48969.10082-.69132.21124l.0336-.21124h-.66251l-.53289 3.00531h.66731l.29285-1.66588c.06241-.33606.31206-.75373.80654-.75373h.34566l.10562-.5857z",fill:"#d13239"}))),{key:"przelewy24"})}],m=({isWooPayEligible:e=!1,maxElements:t=10,tabletWidthBreakpoint:n=768,maxElementsTablet:r=7,mobileWidthBreakpoint:i=480,maxElementsMobile:a=5,totalPaymentMethods:c=20})=>{const[m,p]=(0,l.useState)(t),[h,f]=(0,l.useState)(!1),g=(0,d.useDebounce)((()=>{f(!1)}),350),y=e?c:c-1,w=t=>e?t:t+1;(0,l.useEffect)((()=>{const e=()=>{window.innerWidth<=i?p(a):window.innerWidth<=n?p(r):p(t)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[t,a,r,n,i]);const v=u.slice(0,w(m)).filter((t=>e||"woopay"!==t.name)),_=u.slice(w(m)).filter((t=>e||"woopay"!==t.name));return(0,s.createElement)("div",{className:"woocommerce-woopayments-payment-methods-logos"},v.map((e=>e.component)),m<y&&(0,s.createElement)("div",{className:"woocommerce-woopayments-payment-methods-logos-count",role:"button",tabIndex:0,onClick:()=>f(!h),onMouseEnter:()=>{f(!0),g.cancel()},onMouseLeave:g,onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||f(!h)}},"+ ",y-m,h&&(0,s.createElement)(o.Popover,{placement:"top-start",className:"woocommerce-woopayments-payment-methods-logos-popover",focusOnMount:!1,noArrow:!0,shift:!0,onClose:g},(0,s.createElement)("div",{className:"woocommerce-woopayments-payment-methods-logos"},_.map((e=>e.component))))))},p=({isWooPayEligible:e})=>(0,s.createElement)(o.CardFooter,{className:"woocommerce-recommended-payments-banner__footer"},(0,s.createElement)("div",null,(0,s.createElement)(r.Text,{variant:"caption",as:"p",size:"12",lineHeight:"16px"},(0,i.__)("WooPayments is pre-integrated with popular payment options:","woocommerce"))),(0,s.createElement)(m,{isWooPayEligible:e,maxElements:10})),h=({actionButton:e})=>(0,s.createElement)("div",{className:"woocommerce-recommended-payments-banner__text_container"},(0,s.createElement)(r.Text,{className:"woocommerce-recommended-payments__header-title",variant:"title.small",as:"p",size:"24",lineHeight:"28px",padding:"0 20px 0 0"},(0,s.createInterpolateElement)((0,i.__)("Payments made simple, designed exclusively<br/>for WooCommerce stores.","woocommerce"),{br:(0,s.createElement)("br",null)})),e),f=({actionButton:e,textPosition:t,bannerImage:n=(0,s.createElement)(a,null),isWooPayEligible:r})=>(0,s.createElement)(o.CardBody,{className:"woocommerce-recommended-payments-banner__body"},"left"===t?(0,s.createElement)(s.Fragment,null,(0,s.createElement)(h,{actionButton:e,isWooPayEligible:r}),(0,s.createElement)("div",{className:"woocommerce-recommended-payments-banner__image_container"},n)):(0,s.createElement)(s.Fragment,null,(0,s.createElement)("div",{className:"woocommerce-recommended-payments-banner__image_container"},n),(0,s.createElement)(h,{actionButton:e,isWooPayEligible:r}))),g=({children:e})=>(0,s.createElement)(o.Card,{size:"medium",className:"woocommerce-recommended-payments-banner"},e),y=()=>(0,s.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)("mask",{id:"mask0_5908_1374",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"2",y:"4",width:"20",height:"16"},(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 4H4C2.895 4 2 4.895 2 6V18C2 19.105 2.895 20 4 20H20C21.105 20 22 19.105 22 18V6C22 4.895 21.105 4 20 4ZM20 6V8H4V6H20ZM4 12V18H20V12H4ZM6 14H13V16H6V14ZM18 14H15V16H18V14Z",fill:"white"})),(0,s.createElement)("g",{mask:"url(#mask0_5908_1374)"},(0,s.createElement)("rect",{width:"24",height:"24",fill:"#720EEC"}))),w=()=>(0,s.createElement)("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)("mask",{id:"mask0_5908_1702",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"2",y:"2",width:"21",height:"20"},(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.99991 12C1.99991 6.477 6.47691 2 11.9999 2C17.5229 2 21.9999 6.477 21.9999 12C21.9999 17.523 17.5229 22 11.9999 22C6.47691 22 1.99991 17.523 1.99991 12ZM14.9999 17L13.9999 18L11.9999 20C15.2389 20 18.0289 18.061 19.2859 15.286L18.9999 15H16.9999L15.9999 14V12L17.9999 10H19.7359C19.4339 8.834 18.8819 7.767 18.1299 6.87L14.9999 10L13.9999 9V7L14.9999 6V4.589C14.0729 4.212 13.0609 4 11.9999 4C10.9389 4 9.92691 4.212 8.99991 4.589V5L9.99991 6H11.9999V8L8.99991 11H6.99991V13H4.99991L3.99991 12C3.99991 16.072 7.05991 19.436 10.9999 19.931V18L8.99991 16V13H11.9999L12.9999 14V15H14.9999V17Z",fill:"white"})),(0,s.createElement)("g",{mask:"url(#mask0_5908_1702)"},(0,s.createElement)("rect",{x:"-9.15527e-05",width:"24",height:"24",fill:"#720EEC"}))),v=()=>(0,s.createElement)("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)("mask",{id:"mask0_5908_1139",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"3",y:"2",width:"19",height:"19"},(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.9999 6V19C20.9999 20.104 20.1039 21 18.9999 21H4.99991C3.89591 21 2.99991 20.104 2.99991 19V6C2.99991 4.896 3.89591 4 4.99991 4H5.99991V2H7.99991V4H15.9999V2H17.9999V4H18.9999C20.1039 4 20.9999 4.896 20.9999 6ZM10.4979 18.001L6.79291 14.296L8.20791 12.881L10.5019 15.175L15.7949 9.882L17.2099 11.297L10.4979 18.001ZM4.99991 8H18.9999V19H4.99991V8Z",fill:"white"})),(0,s.createElement)("g",{mask:"url(#mask0_5908_1139)"},(0,s.createElement)("rect",{x:"-9.15527e-05",width:"24",height:"24",fill:"#720EEC"}))),_=()=>(0,s.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)("path",{d:"M6.53076 12.9364C8.02509 12.9364 9.22424 12.2203 10.1282 10.5731L12.1391 6.9207V10.0181C12.1391 11.8443 13.3567 12.9364 15.2384 12.9364C16.7143 12.9364 17.8028 12.3098 18.8543 10.5731L23.4849 2.98183C24.4996 1.31676 23.7801 0.0634766 21.5478 0.0634766C20.3487 0.0634766 19.5738 0.43946 18.8728 1.71064L15.6812 7.52944V2.35519C15.6812 0.815444 14.9248 0.0634766 13.5227 0.0634766C12.4158 0.0634766 11.5303 0.52898 10.8477 1.81807L7.8406 7.52944V2.4089C7.8406 0.761732 7.13956 0.0634766 5.4423 0.0634766H1.97399C0.664145 0.0634766 0 0.654308 0 1.74645C0 2.83859 0.701042 3.46523 1.97399 3.46523H3.39452V10.0002C3.39452 11.8443 4.66746 12.9364 6.53076 12.9364Z",fill:"#873EFF"})),b=({isWooPayEligible:e=!1})=>(0,s.createElement)(o.Flex,{className:"woocommerce-wcpay-benefits",align:"top"},(0,s.createElement)(o.Flex,{className:"woocommerce-wcpay-benefits-benefit"},(0,s.createElement)(o.Flex,{className:"woocommerce-wcpay-benefits-benefit-icon-container"},(0,s.createElement)(y,null)),(0,s.createElement)(r.Text,{as:"p"},(0,i.__)("Offer your customers card payments, iDeal, and the ability to sell in-person with Woo mobile app.","woocommerce"))),(0,s.createElement)(o.Flex,{className:"woocommerce-wcpay-benefits-benefit"},(0,s.createElement)(o.Flex,{className:"woocommerce-wcpay-benefits-benefit-icon-container"},(0,s.createElement)(w,null)),(0,s.createElement)(r.Text,{as:"p"},(0,i.__)("Sell to international markets and accept more than 135 currencies with local payment methods.","woocommerce"))),(0,s.createElement)(o.Flex,{className:"woocommerce-wcpay-benefits-benefit"},(0,s.createElement)(o.Flex,{className:"woocommerce-wcpay-benefits-benefit-icon-container"},(0,s.createElement)(v,null)),(0,s.createElement)(r.Text,{as:"p"},(0,i.__)("Earn and manage recurring revenue and get automatic deposits into your nominated bank account.","woocommerce"))),e&&(0,s.createElement)(o.Flex,{className:"woocommerce-wcpay-benefits-benefit"},(0,s.createElement)(o.Flex,{className:"woocommerce-wcpay-benefits-benefit-icon-container"},(0,s.createElement)(_,null)),(0,s.createElement)(r.Text,{as:"p"},(0,i.__)("Boost conversions with WooPay, a new express checkout feature included in WooPayments.","woocommerce"))));var x=n(96169);const C=()=>(0,s.createElement)("span",{className:"woocommerce-task-payment__setup_required"},(0,s.createElement)(x.Z,null),(0,s.createElement)(r.Text,{variant:"small",size:"14",lineHeight:"20px"},(0,i.__)("Setup required","woocommerce"))),E=({id:e,...t})=>(0,s.createElement)(o.Fill,{name:"woocommerce_payment_gateway_setup_"+e,...t});E.Slot=({id:e,fillProps:t})=>(0,s.createElement)(o.Slot,{name:"woocommerce_payment_gateway_setup_"+e,fillProps:t});const M=({id:e,...t})=>(0,s.createElement)(o.Fill,{name:"woocommerce_payment_gateway_configure_"+e,...t});M.Slot=({id:e,fillProps:t})=>(0,s.createElement)(o.Slot,{name:"woocommerce_payment_gateway_configure_"+e,fillProps:t});var j=n(56044);const S=({id:e,...t})=>(0,s.createElement)(o.Fill,{name:"woocommerce_onboarding_task_list_item_"+e,...t});S.Slot=({id:e,fillProps:t})=>(0,s.createElement)(o.Slot,{name:"woocommerce_onboarding_task_list_item_"+e,fillProps:t});const N=({id:e,...t})=>(0,s.createElement)(o.Fill,{name:"woocommerce_onboarding_task_list_header_"+e,...t});N.Slot=({id:e,fillProps:t})=>(0,s.createElement)(o.Slot,{name:"woocommerce_onboarding_task_list_header_"+e,fillProps:t});var k=n(14599);const I=({id:e,...t})=>(0,s.createElement)(o.Fill,{name:"woocommerce_onboarding_task_"+e,...t});I.Slot=({id:e,fillProps:t})=>((0,s.useEffect)((()=>{(async(e,t)=>{const n=wp.data.select("wc/admin/plugins").getActivePlugins(),o=wp.data.select("wc/admin/plugins").getInstalledPlugins(),r=wp.data.select("wc/admin/plugins").isJetpackConnected()||!1;(0,k.recordEvent)("task_view",{task_name:e,variant:void 0,wcs_installed:o.includes("woocommerce-services"),wcs_active:n.includes("woocommerce-services"),jetpack_installed:o.includes("jetpack"),jetpack_active:n.includes("jetpack"),jetpack_connected:r})})(e)}),[e]),(0,s.createElement)(o.Slot,{name:"woocommerce_onboarding_task_"+e,fillProps:t}));var T=n(66589),A=n.n(T);const L={PH:{"National Capital Region":(0,i.__)("Metro Manila","woocommerce")},IT:{Rome:(0,i.__)("Roma","woocommerce")}},O=(e,t,n=.7)=>{if(!t)return null;let o=null,r=n;const s=(({country_short:e,region:t="",city:n=""})=>{if(!e)return null;const o=L[e];if(!o)return null;const r=o[t];return r||(o[n]||null)})(t);for(const n of e){if(n.key===t.country_short)return n;if(n.key.split(":")[0]===t.country_short&&n.label.includes("—")){const e=n.label.split("—")[1].trim();if(s===e)return n;if(0===e.localeCompare(t.region||"","en",{sensitivity:"base"})||0===e.localeCompare(t.city||"","en",{sensitivity:"base"}))return n;const i=Math.max(A().compareTwoStrings(e,t.region||""),A().compareTwoStrings(e,t.city||""));i>=r&&(o=n,r=i)}}return o},P=e=>{var t;return null!==(t=null==e?void 0:e.split(":")[0])&&void 0!==t?t:void 0};var D=n(17855),R=n.n(D);const H=({className:e="",percent:t=0,color:n="#674399",bgcolor:o="var(--wp-admin-theme-color)"})=>{const r={backgroundColor:o},s={backgroundColor:n,width:`${t}%`,display:0===t?"none":"inherit"};return(0,l.createElement)("div",{className:`woocommerce-onboarding-progress-bar ${e}`},(0,l.createElement)("div",{className:"woocommerce-onboarding-progress-bar__container",style:r},(0,l.createElement)("div",{className:"woocommerce-onboarding-progress-bar__filler",style:s})))},Z=({children:e,className:t})=>(0,s.createElement)("div",{className:R()("woocommerce-onboarding-loader",t)},e);Z.Layout=({children:e,className:t})=>(0,s.createElement)("div",{className:R()("woocommerce-onboarding-loader-wrapper",t)},(0,s.createElement)("div",{className:R()("woocommerce-onboarding-loader-container",t)},e)),Z.Illustration=({children:e})=>(0,s.createElement)(s.Fragment,null,e),Z.Title=({children:e,className:t})=>(0,s.createElement)("h1",{className:R()("woocommerce-onboarding-loader__title",t)},e),Z.ProgressBar=({progress:e,className:t})=>(0,s.createElement)(H,{className:R()("progress-bar",t),percent:null!=e?e:0,color:"var(--wp-admin-theme-color)",bgcolor:"#E0E0E0"}),Z.Subtext=({children:e,className:t})=>(0,s.createElement)("p",{className:R()("woocommerce-onboarding-loader__paragraph",t)},e),Z.Sequence=({interval:e,shouldLoop:t=!0,children:n,onChange:o=(()=>{})})=>{const[r,i]=(0,s.useState)(0),a=s.Children.count(n);(0,s.useEffect)((()=>{const n=setInterval((()=>{i((e=>{const r=e+1;if(t){const e=r%a;return o(e),e}return r<a?(o(r),r):(clearInterval(n),e)}))}),e);return()=>clearInterval(n)}),[e,n,t,a]);const c=s.Children.toArray(n)[r];return(0,s.createElement)(s.Fragment,null,c)}},83518:(e,t,n)=>{"use strict";n.d(t,{z:()=>m,T:()=>f});var o=n(55609),r=n(9818),s=n(65736),i=n(67221),a=n(14599),c=n(81514);const l=()=>(0,c.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,c.jsx)("g",{id:"block-template-part-sidebar",children:(0,c.jsx)("path",{id:"Shape",fillRule:"evenodd",clipRule:"evenodd",d:"M6 4H18C19.1046 4 20 4.89543 20 6V18C20 19.1046 19.1046 20 18 20H6C4.89543 20 4 19.1046 4 18V6C4 4.89543 4.89543 4 6 4ZM18 5.5H6C5.72386 5.5 5.5 5.72386 5.5 6V9H18.5V6C18.5 5.72386 18.2761 5.5 18 5.5ZM18.5 10.5H10L10 18.5H18C18.2761 18.5 18.5 18.2761 18.5 18V10.5Z",fill:"#1E1E1E"})})}),d=()=>(0,c.jsx)("svg",{className:"woocommerce-layout__activity-panel-tab-icon",width:"12",height:"14",viewBox:"0 0 12 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,c.jsx)("rect",{x:"0.5",y:"0.5",width:"11",height:"13",strokeWidth:"1"})}),u=()=>(0,c.jsxs)("svg",{className:"woocommerce-layout__activity-panel-tab-icon",width:"18",height:"14",viewBox:"0 0 18 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,c.jsx)("rect",{x:"0.5",y:"0.5",width:"7",height:"13",strokeWidth:"1"}),(0,c.jsx)("rect",{x:"9.5",y:"0.5",width:"7",height:"13",strokeWidth:"1"})]}),{Fill:m,Slot:p}=(0,o.createSlotFill)("DisplayOptions");m.Slot=p;const h=[{value:"single_column",label:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(d,{}),(0,s.__)("Single column","woocommerce")]})},{value:"two_columns",label:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(u,{}),(0,s.__)("Two columns","woocommerce")]})}],f=()=>{const{defaultHomescreenLayout:e,taskListComplete:t,isTaskListHidden:n}=(0,r.useSelect)((e=>{const{getOption:t}=e(i.OPTIONS_STORE_NAME),{getTaskList:n}=e(i.ONBOARDING_STORE_NAME),o=n("setup");return{defaultHomescreenLayout:t("woocommerce_default_homepage_layout")||"single_column",taskListComplete:o?.isComplete,isTaskListHidden:o?.isHidden}})),{updateUserPreferences:d,homepage_layout:u}=(0,i.useUserPreferences)(),m=t||n||window.wcAdminFeatures.analytics;return(0,c.jsx)(p,{children:t=>0!==t.length||m?(0,c.jsx)(o.DropdownMenu,{icon:(0,c.jsx)(l,{}),label:(0,s.__)("Display options","woocommerce"),toggleProps:{className:"woocommerce-layout__activity-panel-tab display-options",onClick:()=>(0,a.recordEvent)("homescreen_display_click")},popoverProps:{className:"woocommerce-layout__activity-panel-popover"},children:({onClose:n})=>(0,c.jsxs)(c.Fragment,{children:[t,m?(0,c.jsx)(o.MenuGroup,{className:"woocommerce-layout__homescreen-display-options",label:(0,s.__)("Layout","woocommerce"),children:(0,c.jsx)(o.MenuItemsChoice,{choices:h,onSelect:e=>{d({homepage_layout:e}),n(),(0,a.recordEvent)("homescreen_display_option",{display_option:e})},value:u||e})}):null]})}):null})}},32381:(e,t,n)=>{"use strict";n.d(t,{$Q:()=>v,vn:()=>_});var o=n(65736),r=n(14812),s=n(14599),i=n(86020),a=n(9818),c=n(67221),l=n(75161),d=n(70444),u=n(81514);const m=(0,u.jsx)(d.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,u.jsx)(d.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12.9c0 .6.5 1.1 1.1 1.1.3 0 .5-.1.8-.3L8.5 17H18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H7.9l-2.4 2.4V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v9z"})});var p=n(20849),h=n(55609),f=n(10431),g=n(52458),y=n(68744);const w=()=>(0,u.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,u.jsx)("path",{d:"M0 0h24v24H0z",fill:"none"}),(0,u.jsx)("path",{d:"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zm6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2zm-2 1H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5v6z"})]}),v="AbbreviatedNotification",_=({thingsToDoNextCount:e})=>{const{ordersToProcessCount:t,reviewsToModerateCount:n,stockNoticesCount:d,isSetupTaskListHidden:_,isExtendedTaskListHidden:b}=(0,a.useSelect)((e=>{const{getTaskList:t}=e(c.ONBOARDING_STORE_NAME),n=(0,g.sg)(e);return{ordersToProcessCount:(0,g.xX)(e,n),reviewsToModerateCount:(0,y.Vh)(e),stockNoticesCount:(0,g.ae)(e),isSetupTaskListHidden:t("setup")?.isHidden,isExtendedTaskListHidden:t("extended")?.isHidden}})),x=e=>{(0,s.recordEvent)("activity_panel_click",{task:e})},{Slot:C}=(0,h.createSlotFill)(v),E=(0,f.isWCAdmin)();return(0,u.jsxs)("div",{className:"woocommerce-abbreviated-notifications",children:[e>0&&!b&&(0,u.jsxs)(i.AbbreviatedCard,{className:"woocommerce-abbreviated-notification",icon:(0,u.jsx)(w,{}),href:"admin.php?page=wc-admin#extended_task_list",onClick:()=>x("thingsToDoNext"),type:E?"wc-admin":"wp-admin",children:[(0,u.jsx)(r.Text,{as:"h3",children:(0,o.__)("Things to do next","woocommerce")}),(0,u.jsx)(r.Text,{as:"p",children:(0,o.sprintf)((0,o._n)("You have %d new thing to do","You have %d new things to do",e,"woocommerce"),e)})]}),t>0&&_&&(0,u.jsxs)(i.AbbreviatedCard,{className:"woocommerce-abbreviated-notification",icon:l.Z,href:"admin.php?page=wc-admin&opened_panel=orders-panel",onClick:()=>x("ordersToProcess"),type:E?"wc-admin":"wp-admin",children:[(0,u.jsx)(r.Text,{as:"h3",children:(0,o.__)("Orders to fulfill","woocommerce")}),(0,u.jsx)(r.Text,{children:(0,o.sprintf)((0,o._n)("You have %d order to fulfill","You have %d orders to fulfill",t,"woocommerce"),t)})]}),n>0&&_&&(0,u.jsxs)(i.AbbreviatedCard,{className:"woocommerce-abbreviated-notification",icon:m,href:"admin.php?page=wc-admin&opened_panel=reviews-panel",onClick:()=>x("reviewsToModerate"),type:E?"wc-admin":"wp-admin",children:[(0,u.jsx)(r.Text,{as:"h3",children:(0,o.__)("Reviews to moderate","woocommerce")}),(0,u.jsx)(r.Text,{children:(0,o.sprintf)((0,o._n)("You have %d review to moderate","You have %d reviews to moderate",n,"woocommerce"),n)})]}),d>0&&_&&(0,u.jsxs)(i.AbbreviatedCard,{className:"woocommerce-abbreviated-notification",icon:p.Z,href:"admin.php?page=wc-admin&opened_panel=stock-panel",onClick:()=>x("stockNotices"),type:E?"wc-admin":"wp-admin",children:[(0,u.jsx)(r.Text,{as:"h3",children:(0,o.__)("Inventory to review","woocommerce")}),(0,u.jsx)(r.Text,{children:(0,o.__)("You have inventory to review and update","woocommerce")})]}),!b&&(0,u.jsx)(C,{})]})}},19805:(e,t,n)=>{"use strict";n.d(t,{Z:()=>w});var o=n(65736),r=n(92694),s=n(69307),i=n(91978);const a=(0,s.lazy)((()=>Promise.all([n.e(7983),n.e(8443),n.e(3994)]).then(n.bind(n,67090)))),c=(0,s.lazy)((()=>Promise.all([n.e(7983),n.e(8443),n.e(6824)]).then(n.bind(n,78840)))),l=(0,s.lazy)((()=>Promise.all([n.e(7983),n.e(8443),n.e(9456)]).then(n.bind(n,41646)))),d=(0,s.lazy)((()=>Promise.all([n.e(7983),n.e(8443),n.e(3576)]).then(n.bind(n,9863)))),u=(0,s.lazy)((()=>Promise.all([n.e(7983),n.e(8443),n.e(185)]).then(n.bind(n,21082)))),m=(0,s.lazy)((()=>Promise.all([n.e(7983),n.e(8443),n.e(4011)]).then(n.bind(n,51548)))),p=(0,s.lazy)((()=>Promise.all([n.e(7983),n.e(8443),n.e(9792)]).then(n.bind(n,1565)))),h=(0,s.lazy)((()=>Promise.all([n.e(7983),n.e(8443),n.e(4854)]).then(n.bind(n,49087)))),f=(0,s.lazy)((()=>Promise.all([n.e(7983),n.e(2502)]).then(n.bind(n,27631)))),g=(0,s.lazy)((()=>Promise.all([n.e(7983),n.e(3700)]).then(n.bind(n,23660)))),y=(0,i.O3)("manageStock","no"),w=()=>{const e=[{report:"revenue",title:(0,o.__)("Revenue","woocommerce"),component:a,navArgs:{id:"woocommerce-analytics-revenue"}},{report:"products",title:(0,o.__)("Products","woocommerce"),component:c,navArgs:{id:"woocommerce-analytics-products"}},{report:"variations",title:(0,o.__)("Variations","woocommerce"),component:l,navArgs:{id:"woocommerce-analytics-variations"}},{report:"orders",title:(0,o.__)("Orders","woocommerce"),component:d,navArgs:{id:"woocommerce-analytics-orders"}},{report:"categories",title:(0,o.__)("Categories","woocommerce"),component:u,navArgs:{id:"woocommerce-analytics-categories"}},{report:"coupons",title:(0,o.__)("Coupons","woocommerce"),component:m,navArgs:{id:"woocommerce-analytics-coupons"}},{report:"taxes",title:(0,o.__)("Taxes","woocommerce"),component:p,navArgs:{id:"woocommerce-analytics-taxes"}},"yes"===y?{report:"stock",title:(0,o.__)("Stock","woocommerce"),component:f,navArgs:{id:"woocommerce-analytics-stock"}}:null,{report:"customers",title:(0,o.__)("Customers","woocommerce"),component:g},{report:"downloads",title:(0,o.__)("Downloads","woocommerce"),component:h,navArgs:{id:"woocommerce-analytics-downloads"}}].filter(Boolean);return(0,r.applyFilters)("woocommerce_admin_reports_list",e)}},82625:(e,t,n)=>{"use strict";n.d(t,{ex:()=>u,vc:()=>g});var o=n(65736),r=n(92694),s=n(28302),i=n(86020),a=n(67221),c=n(81921),l=n(81514);var d=n(91978);const u=["processing","on-hold"],m=["completed","processing","refunded","cancelled","failed","pending","on-hold"],p=Object.keys(d.rq).filter((e=>"refunded"!==e)).map((e=>({value:e,label:d.rq[e],description:(0,o.sprintf)((0,o.__)("Exclude the %s status from reports","woocommerce"),d.rq[e])}))),h=(0,d.O3)("unregisteredOrderStatuses",{}),f=[{key:"defaultStatuses",options:p.filter((e=>m.includes(e.value)))},{key:"customStatuses",label:(0,o.__)("Custom Statuses","woocommerce"),options:p.filter((e=>!m.includes(e.value)))},{key:"unregisteredStatuses",label:(0,o.__)("Unregistered Statuses","woocommerce"),options:Object.keys(h).map((e=>({value:e,label:e,description:(0,o.sprintf)((0,o.__)("Exclude the %s status from reports","woocommerce"),e)})))}],g=(0,r.applyFilters)("woocommerce_admin_analytics_settings",{woocommerce_excluded_report_order_statuses:{label:(0,o.__)("Excluded statuses:","woocommerce"),inputType:"checkboxGroup",options:f,helpText:(0,s.Z)({mixedString:(0,o.__)("Orders with these statuses are excluded from the totals in your reports. The {{strong}}Refunded{{/strong}} status can not be excluded.","woocommerce"),components:{strong:(0,l.jsx)("strong",{})}}),defaultValue:["pending","cancelled","failed"]},woocommerce_actionable_order_statuses:{label:(0,o.__)("Actionable statuses:","woocommerce"),inputType:"checkboxGroup",options:f,helpText:(0,o.__)("Orders with these statuses require action on behalf of the store admin. These orders will show up in the Home Screen - Orders task.","woocommerce"),defaultValue:u},woocommerce_default_date_range:{name:"woocommerce_default_date_range",label:(0,o.__)("Default date range:","woocommerce"),inputType:"component",component:({value:e,onChange:t})=>{const{wcAdminSettings:n}=(0,a.useSettings)("wc_admin",["wcAdminSettings"]),{woocommerce_default_date_range:o}=n,r=Object.fromEntries(new URLSearchParams(e.replace(/&amp;/g,"&"))),{period:s,compare:d,before:u,after:m}=(0,c.getDateParamsFromQuery)(r,o),{primary:p,secondary:h}=(0,c.getCurrentDates)(r,o),f={period:s,compare:d,before:u,after:m,primaryDate:p,secondaryDate:h};return(0,l.jsx)(i.DateRangeFilterPicker,{query:r,onRangeSelect:e=>{t({target:{name:"woocommerce_default_date_range",value:new URLSearchParams(e).toString()}})},dateQuery:f,isoDateFormat:c.isoDateFormat})},helpText:(0,o.__)("Select a default date range. When no range is selected, reports will be viewed by the default date range.","woocommerce"),defaultValue:"period=month&compare=previous_year"},woocommerce_date_type:{name:"woocommerce_date_type",label:(0,o.__)("Date type:","woocommerce"),inputType:"select",options:[{label:(0,o.__)("Select a date type","woocommerce"),value:"",disabled:!0},{label:(0,o.__)("Date created","woocommerce"),value:"date_created",key:"date_created"},{label:(0,o.__)("Date paid","woocommerce"),value:"date_paid",key:"date_paid"},{label:(0,o.__)("Date completed","woocommerce"),value:"date_completed",key:"date_completed"}],helpText:(0,o.__)("Database date field considered for Revenue and Orders reports","woocommerce")}})},35003:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var o=n(65736),r=n(55609),s=n(69307),i=n(94333),a=n(69596),c=n.n(a),l=n(9818),d=n(67221),u=n(81514);class m extends s.Component{constructor(e){super(e),this.state={isAwaitingRedirect:!1,isRedirecting:!1},this.connectJetpack=this.connectJetpack.bind(this),e.setIsPending(!1)}componentDidUpdate(e){const{createNotice:t,error:n,onError:o,isRequesting:r}=this.props;n&&n!==e.error&&(o&&o(),t("error",n)),!this.state.isAwaitingRedirect||this.state.isRedirecting||r||n||this.setState({isRedirecting:!0},(()=>{window.location=this.props.jetpackAuthUrl}))}connectJetpack(){const{onConnect:e}=this.props;e&&e(),this.setState({isAwaitingRedirect:!0})}render(){const{error:e,onSkip:t,skipText:n,onAbort:i,abortText:a}=this.props;return(0,u.jsxs)(s.Fragment,{children:[e?(0,u.jsx)(r.Button,{isPrimary:!0,onClick:()=>window.location.reload(),children:(0,o.__)("Retry","woocommerce")}):(0,u.jsx)(r.Button,{isBusy:this.state.isAwaitingRedirect,isPrimary:!0,onClick:this.connectJetpack,children:(0,o.__)("Connect","woocommerce")}),t&&(0,u.jsx)(r.Button,{onClick:t,children:n||(0,o.__)("No thanks","woocommerce")}),i&&(0,u.jsx)(r.Button,{onClick:i,children:a||(0,o.__)("Abort","woocommerce")})]})}}m.propTypes={createNotice:c().func.isRequired,error:c().string,isRequesting:c().bool,jetpackAuthUrl:c().string,onConnect:c().func,onError:c().func,onSkip:c().func,redirectUrl:c().string,skipText:c().string,setIsPending:c().func,onAbort:c().func,abortText:c().string},m.defaultProps={setIsPending:()=>{}};const p=(0,i.compose)((0,l.withSelect)(((e,t)=>{const{getJetpackAuthUrl:n,isResolving:r}=e(d.ONBOARDING_STORE_NAME),s={redirectUrl:t.redirectUrl||window.location.href,from:"woocommerce-services"},i=n(s),a=r("getJetpackAuthUrl",[s]);let c;return r||i||(c=(0,o.__)("Error requesting connection URL.","woocommerce")),i?.errors?.length&&(c=i?.errors[0]),{error:c,isRequesting:a,jetpackAuthUrl:i.url}})),(0,l.withDispatch)((e=>{const{createNotice:t}=e("core/notices");return{createNotice:t}})))(m)},27232:(e,t,n)=>{"use strict";function o(e=""){return e?e.split(":")[0]:null}function r(e,t,n=!1,o){return function(e,t=!1,n,o){const r=[];return o?((e.product_types||[]).forEach((e=>{o[e]&&o[e].product&&(t||!n.includes(o[e].slug))&&r.push(o[e])})),r):r}(t,n,o,e).map((e=>e.id||e.product))}n.d(t,{jt:()=>r,so:()=>o}),n(22629),n(92819),n(91978)},52458:(e,t,n)=>{"use strict";n.d(t,{Ox:()=>a,ae:()=>c,sg:()=>i,xX:()=>s});var o=n(67221),r=n(82625);function s(e,t){const{getItemsTotalCount:n,getItemsError:r,isResolving:s}=e(o.ITEMS_STORE_NAME);if(!t.length)return 0;const i={page:1,per_page:1,status:t,_fields:["id"]},a=n("orders",i,null),c=Boolean(r("orders",i)),l=s("getItemsTotalCount",["orders",i,null]);return c||l?null:a}function i(e){const{getSetting:t}=e(o.SETTINGS_STORE_NAME),{woocommerce_actionable_order_statuses:n=r.ex}=t("wc_admin","wcAdminSettings",{});return n}const a={status:"publish"};function c(e){const{getItemsTotalCount:t,getItemsError:n,isResolving:r}=e(o.ITEMS_STORE_NAME),s=null,i=t("products/count-low-in-stock",a,s),c=Boolean(n("products/count-low-in-stock",a)),l=r("getItemsTotalCount",["products/count-low-in-stock",a,s]);return c||l&&i===s?null:i}},68744:(e,t,n)=>{"use strict";n.d(t,{Vh:()=>i,X6:()=>r,wY:()=>s});var o=n(67221);const r=5,s={page:1,per_page:1,status:"hold",_embed:1,_fields:["id"]};function i(e){const{getReviewsTotalCount:t,getReviewsError:n,isResolving:r}=e(o.REVIEWS_STORE_NAME),i=t(s),a=Boolean(n(s)),c=r("getReviewsTotalCount",[s]);return a||c&&void 0===i?null:i}},73909:(e,t,n)=>{"use strict";n.d(t,{fs:()=>i,kS:()=>a,r7:()=>d});var o=n(92819),r=n(90820),s=n.n(r);function i(e,t){return(0,o.filter)(e,(e=>{const{is_deleted:n,date_created_gmt:o,status:r}=e;if(!n)return(!t||!o||new Date(o+"Z").getTime()>t)&&"unactioned"===r})).length}function a(e){return(0,o.filter)(e,(e=>{const{is_deleted:t}=e;return!t})).length>0}const c=(e,t,n=" ")=>{let o=e.slice(0,t);if(e.indexOf(n,t)!==t){const e=o.lastIndexOf(n);e>-1&&(o=o.slice(0,e))}return o.join("")},l=(e,t)=>{const n=document.createElement("div"),o=Array.from(e.childNodes),r=new(s());let i=0;for(let e=0;e<o.length;e++){let s=o[e].cloneNode(!0);const a=r.splitGraphemes(s.textContent);if(i+a.length<=t){n.appendChild(s),i+=a.length;continue}const d=t-i;s.hasChildNodes()?s=l(s,d):s.textContent=c(a,d),n.appendChild(s);break}return n},d=(e,t)=>{const n=document.createElement("div"),o=new(s());return n.innerHTML=e,o.splitGraphemes(n.textContent).length>t?l(n,t).innerHTML+"...":e}},46040:(e,t,n)=>{"use strict";n.d(t,{E:()=>d});var o=n(69307),r=n(65736),s=n(55609),i=n(86020),a=n(14812),c=n(46530),l=n(81514);const d=()=>{const[e,t]=(0,o.useState)(!0);return(0,o.useEffect)((()=>{const e=setTimeout((()=>{t(!1)}),3e3);return()=>{clearTimeout(e)}}),[]),e?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c.WooHeaderPageTitle,{children:(0,r.__)("Loading…","woocommerce")}),(0,l.jsx)("div",{className:"woocommerce-layout__loading",children:(0,l.jsx)(i.Spinner,{})})]}):(0,l.jsx)("div",{className:"woocommerce-layout__no-match",children:(0,l.jsx)(s.Card,{children:(0,l.jsx)(s.CardBody,{children:(0,l.jsx)(a.Text,{children:(0,r.__)("Sorry, you are not allowed to access this page.","woocommerce")})})})})}},69090:(e,t,n)=>{"use strict";n.d(t,{C:()=>i});var o=n(96483),r=n(74617),s=n(91978);const i=(e,t={})=>{const{pathname:n,search:i}=window.location,a=(0,r.getSetting)("connectNonce","");return t={"wccom-site":(0,s.O3)("siteUrl"),"wccom-back":n+i,"wccom-woo-version":(0,r.getSetting)("wcVersion"),"wccom-connect-nonce":a,...t},(0,o.addQueryArgs)(e,t)}},45333:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});var o=n(19881);const r=()=>{(0,o.init)({errorRateLimitMs:6e4})}},4174:(e,t,n)=>{"use strict";n.d(t,{a:()=>r});var o=n(9818);function r(e){const{createNotice:t}=(0,o.dispatch)("core/notices");e.error_data&&e.errors&&Object.keys(e.errors).length?Object.keys(e.errors).forEach((n=>{t("error",e.errors[n].join(" "))})):e.message&&t(e.code?"error":"success",e.message)}},9845:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>i});var o=n(25209);const r=["a","b","em","i","strong","p","br"],s=["target","href","rel","name","download"],i=e=>({__html:(0,o.sanitize)(e,{ALLOWED_TAGS:r,ALLOWED_ATTR:s})})},5797:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});const o={SET_INSTALLED_PLUGINS:"SET_INSTALLED_PLUGINS",SET_ACTIVATING_PLUGIN:"SET_ACTIVATING_PLUGIN",REMOVE_ACTIVATING_PLUGIN:"REMOVE_ACTIVATING_PLUGIN",SET_RECOMMENDED_PLUGINS:"SET_RECOMMENDED_PLUGINS",INSTALL_AND_ACTIVATE_RECOMMENDED_PLUGIN:"INSTALL_AND_ACTIVATE_RECOMMENDED_PLUGIN",SET_BLOG_POSTS:"SET_BLOG_POSTS",SET_MISC_RECOMMENDATIONS:"SET_MISC_RECOMMENDATIONS",SET_ERROR:"SET_ERROR"}},66265:(e,t,n)=>{"use strict";n.r(t),n.d(t,{activateInstalledPlugin:()=>y,handleFetchError:()=>h,installAndActivateRecommendedPlugin:()=>w,loadInstalledPluginsAfterActivation:()=>g,receiveActivatingPlugin:()=>l,receiveBlogPosts:()=>p,receiveInstalledPlugins:()=>c,receiveMiscRecommendations:()=>m,receiveRecommendedPlugins:()=>u,removeActivatingPlugin:()=>d,setError:()=>f});var o=n(23418),r=n(9818),s=n(65736),i=n(5797),a=n(94758);function c(e){return{type:i.Z.SET_INSTALLED_PLUGINS,plugins:e}}function l(e){return{type:i.Z.SET_ACTIVATING_PLUGIN,pluginSlug:e}}function d(e){return{type:i.Z.REMOVE_ACTIVATING_PLUGIN,pluginSlug:e}}function u(e,t){return{type:i.Z.SET_RECOMMENDED_PLUGINS,data:{plugins:e,category:t}}}function m(e){return{type:i.Z.SET_MISC_RECOMMENDATIONS,data:{miscRecommendations:e}}}function p(e,t){return{type:i.Z.SET_BLOG_POSTS,data:{posts:e,category:t}}}function h(e,t){const{createNotice:n}=(0,r.dispatch)("core/notices");n("error",t),console.log(e)}function f(e,t){return{type:i.Z.SET_ERROR,category:e,error:t}}function*g(e){try{const t=yield(0,o.apiFetch)({path:`${a.P}/overview/installed-plugins`});if(!t)throw new Error;yield c(t),yield d(e)}catch(e){yield h(e,(0,s.__)("There was an error loading installed extensions.","woocommerce"))}}function*y(e){const{createNotice:t}=(0,r.dispatch)("core/notices");yield l(e);try{if(!(yield(0,o.apiFetch)({path:a.P+"/overview/activate-plugin",method:"POST",data:{plugin:e}})))throw new Error;yield t("success",(0,s.__)("The extension has been successfully activated.","woocommerce")),yield g(e)}catch(t){yield h(t,(0,s.__)("There was an error trying to activate the extension.","woocommerce")),yield d(e)}return!0}function*w(e,t){return{type:i.Z.INSTALL_AND_ACTIVATE_RECOMMENDED_PLUGIN,data:{pluginSlug:e,category:t}}}},94758:(e,t,n)=>{"use strict";n.d(t,{L:()=>o,P:()=>r});const o="wc/marketing",r="/wc-admin/marketing"},85403:(e,t,n)=>{"use strict";n.d(t,{h:()=>d});var o=n(9818),r=n(23418),s=n(94758),i=n(66265),a=n(92114),c=n(59851),l=n(42438);const d=(0,o.createReduxStore)(s.L,{actions:i,selectors:a,resolvers:c,controls:r.controls,reducer:l.Z});(0,o.register)(d)},42438:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(92819),r=n(5797),s=n(91978);const{installedExtensions:i}=(0,s.O3)("marketing",{}),a={installedPlugins:i,activatingPlugins:[],recommendedPlugins:{},miscRecommendations:[],blogPosts:{},errors:{}},c=(e=a,t)=>{switch(t.type){case r.Z.SET_INSTALLED_PLUGINS:return{...e,installedPlugins:t.plugins};case r.Z.SET_ACTIVATING_PLUGIN:return{...e,activatingPlugins:[...e.activatingPlugins,t.pluginSlug]};case r.Z.REMOVE_ACTIVATING_PLUGIN:return{...e,activatingPlugins:(0,o.without)(e.activatingPlugins,t.pluginSlug)};case r.Z.SET_RECOMMENDED_PLUGINS:return{...e,recommendedPlugins:{...e.recommendedPlugins,[t.data.category]:t.data.plugins}};case r.Z.INSTALL_AND_ACTIVATE_RECOMMENDED_PLUGIN:const n=e.recommendedPlugins[t.data.category]?.filter((e=>e.product!==t.data.pluginSlug));return{...e,recommendedPlugins:{...e.recommendedPlugins,[t.data.category]:n}};case r.Z.SET_BLOG_POSTS:return{...e,blogPosts:{...e.blogPosts,[t.data.category]:t.data.posts}};case r.Z.SET_MISC_RECOMMENDATIONS:return{...e,miscRecommendations:t.data.miscRecommendations};case r.Z.SET_ERROR:return{...e,errors:{...e.errors,blogPosts:{...e.errors.blogPosts,[t.category]:t.error}}};default:return e}}},59851:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getBlogPosts:()=>l,getMiscRecommendations:()=>c,getRecommendedPlugins:()=>a});var o=n(65736),r=n(23418),s=n(66265),i=n(94758);function*a(e){try{const t=yield e?`&category=${e}`:"",n=yield(0,r.apiFetch)({path:`${i.P}/recommended?per_page=50${t}`});if(!n)throw new Error;yield(0,s.receiveRecommendedPlugins)(n,e)}catch(e){yield(0,s.handleFetchError)(e,(0,o.__)("There was an error loading recommended extensions.","woocommerce"))}}function*c(){try{const e=yield(0,r.apiFetch)({path:`${i.P}/misc-recommendations`});if(!e)throw new Error;yield(0,s.receiveMiscRecommendations)(e)}catch(e){yield(0,s.handleFetchError)(e,(0,o.__)("There was an error loading misc recommendations","woocommerce"))}}function*l(e){try{const t=yield e?`?category=${e}`:"",n=yield(0,r.apiFetch)({path:`${i.P}/knowledge-base${t}`,method:"GET"});if(!n)throw new Error;yield(0,s.receiveBlogPosts)(n,e)}catch(t){yield(0,s.setError)(e,t)}}},92114:(e,t,n)=>{"use strict";function o(e){return e.installedPlugins}function r(e){return e.activatingPlugins}function s(e,t){return e.recommendedPlugins[t]||[]}function i(e){return e.miscRecommendations}function a(e,t){return e.blogPosts[t]||[]}function c(e,t){return e.errors.blogPosts&&e.errors.blogPosts[t]}n.r(t),n.d(t,{getActivatingPlugins:()=>r,getBlogPosts:()=>a,getBlogPostsError:()=>c,getInstalledPlugins:()=>o,getMiscRecommendations:()=>i,getRecommendedPlugins:()=>s})},61535:(e,t,n)=>{"use strict";n.d(t,{Qy:()=>c,UU:()=>r,ZQ:()=>i,i5:()=>s,wg:()=>a,xm:()=>o});const o="__EXPERIMENTAL__WcAdminOrderAttributionSlots",r="order-attribution-install-banner-slotfill",s="order-attribution-install-banner",i="order-attribution-install-banner-big",a="order-attribution-install-banner-small",c="order-attribution-install-banner-header"},41938:(e,t,n)=>{"use strict";n.d(t,{Qy:()=>i.Qy,U2:()=>o.U,_P:()=>s});var o=n(54297),r=n(81514);const s=()=>(0,r.jsxs)("svg",{width:"156",height:"159",viewBox:"0 0 156 159",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("rect",{width:"156",height:"159",fill:"white"}),(0,r.jsx)("rect",{width:"156",height:"156",fill:"white"}),(0,r.jsxs)("g",{clipPath:"url(#clip0_3975_26572)",children:[(0,r.jsx)("rect",{width:"142",height:"142",transform:"translate(7 7)",fill:"white"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.0991 114.984C4.18584 87.4212 6.33794 56.3867 24.906 45.6664C34.5846 40.0785 46.813 41.1129 58.557 47.2877C58.4049 35.8334 62.3217 26.3004 70.1893 21.7581C79.375 16.4547 91.7594 19.2167 103.018 27.7644C101.3 19.4633 103.235 11.9843 108.645 8.86056C116.336 4.42016 128.137 10.4618 135.004 22.3549C141.87 34.248 141.202 47.4889 133.511 51.9293C130.493 53.6717 126.842 53.8001 123.105 52.5943C134.129 74.6404 132.449 97.8323 118.695 105.773C112.642 109.268 105.2 109.26 97.606 106.402C99.5298 123.573 94.3634 138.649 82.5332 145.48C63.9651 156.2 36.0124 142.546 20.0991 114.984Z",fill:"#F2EDFF"}),(0,r.jsx)("path",{d:"M128.714 49.074C131.36 49.074 133.785 49.7708 136 50.7838V41.1364C136 35.1926 132.613 31.8589 126.634 31.8589H29.3611C23.3874 31.8535 20 35.1872 20 41.1311V99.2724H65.7462C63.4879 102.638 61.3157 106.62 61.3157 111.283C61.3157 120.604 68.6067 128.161 77.957 128.161C87.3073 128.161 94.5983 120.604 94.5983 111.283C94.5983 106.62 92.4261 102.638 90.1678 99.2724H136V80.3582C133.785 81.3712 131.36 82.0679 128.714 82.0679C119.412 82.0679 111.869 74.8432 111.869 65.5656C111.869 56.2881 119.412 49.0633 128.714 49.0633V49.074Z",fill:"#B999FF"}),(0,r.jsx)("path",{d:"M68.268 75.1548H29.5547V79.9785H68.268V75.1548Z",fill:"#6108CE"}),(0,r.jsx)("path",{d:"M53.7505 84.8013H29.5547V89.6249H53.7505V84.8013Z",fill:"#6108CE"}),(0,r.jsx)("path",{d:"M134.864 107.13C132.799 105.495 112.05 89.6304 112.05 89.6304C112.05 89.6304 109.388 115.56 109.162 118.181C108.937 120.802 111.485 121.954 113.539 120.223C116.394 117.827 122.207 113.111 122.207 113.111C122.207 113.111 129.637 112.13 133.342 111.707C136.014 111.401 136.923 108.764 134.853 107.13H134.864Z",fill:"#5007AA"}),(0,r.jsx)("path",{d:"M68.268 41.3882H29.5547V70.3302H68.268V41.3882Z",fill:"#6108CE"}),(0,r.jsx)("path",{d:"M29.5547 70.3302C45.242 58.6068 58.3995 48.9756 68.268 41.3882V70.3302H29.5547Z",fill:"#3C087E"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_3975_26572",children:(0,r.jsx)("rect",{width:"142",height:"142",fill:"white",transform:"translate(7 7)"})})})]});n(64377);var i=n(61535)},54297:(e,t,n)=>{"use strict";n.d(t,{U:()=>f});var o=n(55609),r=n(69307),s=n(10961),i=n(85800),a=n(65736),c=n(14812),l=n(14599),d=n(10431),u=n(64377),m=n(61535),p=n(81514);const h="https://wordpress.org/plugins/woocommerce-analytics",f=({bannerImage:e=null,bannerType:t=m.ZQ,eventContext:n="analytics-overview",dismissable:f=!1,badgeText:g="",title:y="",description:w="",buttonText:v=""})=>{const{isDismissed:_,dismiss:b,shouldShowBanner:x}=(0,u.u)(),C=()=>{(0,l.recordEvent)("order_attribution_install_banner_clicked",{path:(0,d.getPath)(),context:n})},E=(0,r.useCallback)((()=>t===m.Qy?x&&_:f?x&&!_:x),[t,x,_,f])();if((0,r.useEffect)((()=>{E&&(0,l.recordEvent)("order_attribution_install_banner_viewed",{path:(0,d.getPath)(),context:n})}),[n,E]),!E)return null;if(t===m.Qy)return(0,p.jsx)(o.Button,{className:"woocommerce-order-attribution-install-header-banner",href:h,variant:"secondary",icon:s.Z,size:"default",onClick:C,target:"_blank",children:(0,a.__)("Try Order Attribution","woocommerce")});const M=t===m.wg;return(0,p.jsx)(o.Card,{size:"medium",className:"woocommerce-order-attribution-install-banner "+(M?"small":""),children:(0,p.jsxs)(o.CardBody,{className:"woocommerce-order-attribution-install-banner__body "+(M?"small":""),children:[(0,p.jsx)("div",{className:"woocommerce-order-attribution-install-banner__image_container",children:e}),(0,p.jsxs)("div",{className:"woocommerce-order-attribution-install-banner__text_container "+(M?"small":""),children:[g&&(0,p.jsx)("div",{className:"woocommerce-order-attribution-install-banner__text-badge",children:(0,p.jsx)(c.Text,{className:"woocommerce-order-attribution-install-banner__text-description",as:"p",size:"12",align:"center",children:g})}),y&&(0,p.jsx)(c.Text,{className:"woocommerce-order-attribution-install-banner__text-title",as:"p",size:"16",children:y}),w&&(0,p.jsx)(c.Text,{className:"woocommerce-order-attribution-install-banner__text-description",as:"p",size:"12",children:w}),(0,p.jsxs)("div",{children:[(0,p.jsx)(o.Button,{className:M?"small":"",href:h,variant:M?"secondary":"primary",onClick:C,icon:M?i.Z:null,iconPosition:M?"right":null,target:"_blank",children:v}),f&&(0,p.jsx)(o.Button,{variant:"tertiary",onClick:()=>b(n),children:(0,a.__)("Dismiss","woocommerce")})]})]})]})})}},64377:(e,t,n)=>{"use strict";n.d(t,{u:()=>u});var o=n(9818),r=n(69307),s=n(67221),i=n(14599),a=n(10431),c=n(74617),l=n(94758);n(85403);const d="woocommerce_order_attribution_install_banner_dismissed",u=()=>{const{updateOptions:e}=(0,o.useDispatch)(s.OPTIONS_STORE_NAME),{currentUserCan:t}=(0,s.useUser)(),{canUserInstallPlugins:n,orderAttributionInstallState:u}=(0,o.useSelect)((e=>{const{getPluginInstallState:n}=e(s.PLUGINS_STORE_NAME);return{orderAttributionInstallState:n("woocommerce-analytics"),canUserInstallPlugins:t("install_plugins")}}),[t]),{loading:m,isBannerDismissed:p,remoteVariantAssignment:h}=(0,o.useSelect)((e=>{const{getOption:t,hasFinishedResolution:n}=e(s.OPTIONS_STORE_NAME);return{loading:!n("getOption",[d]),isBannerDismissed:t(d),remoteVariantAssignment:t("woocommerce_remote_variant_assignment")}}),[]),{loadingRecommendations:f,recommendations:g}=(0,o.useSelect)((e=>{const{getMiscRecommendations:t,hasFinishedResolution:o}=e(l.L);return{loadingRecommendations:!n||!o("getMiscRecommendations"),recommendations:n?t():[]}}),[n]),y=(0,r.useMemo)((()=>{if(f||!Array.isArray(g)||0===g.length)return null;for(const e of g)if("woocommerce-analytics"===e.id)return e?.order_attribution_promotion_percentage||null;return null}),[f,g]),w=(0,r.useCallback)((()=>!(!n||m)&&(!["installed","activated"].includes(u)&&((e,t)=>{if(e=parseInt(e,10),isNaN(e))return!1;const n=(e=>{Array.isArray(e)&&0!==e.length||(e=[["9.7",100],["9.6",60],["9.5",10]]),e.sort(((e,t)=>parseFloat(t[0])-parseFloat(e[0])));for(let[t,n]of e)if((0,c.isWcVersion)(t,">="))return n=parseInt(n,10),isNaN(n)?12:n/100*120;return 12})(t);return e<=n})(h,y))),[m,n,u,h,y]);return{loading:m,isDismissed:"yes"===p,dismiss:(t="analytics-overview")=>{e({[d]:"yes"}),(0,i.recordEvent)("order_attribution_install_banner_dismissed",{path:(0,a.getPath)(),context:t})},shouldShowBanner:w()}}},95313:(e,t,n)=>{"use strict";n.d(t,{j:()=>o});const o=e=>e&&1===e.filter((e=>0===e.id.indexOf("woocommerce_payments"))).length},68388:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var o=n(81514);const r=()=>(0,o.jsx)("svg",{width:"16",height:"17",viewBox:"0 0 16 17",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.68822 12.625L1.5 13.8145L1.5 1.5L14.5 1.5L14.5 12.625L2.68822 12.625ZM3.31 14.125L15 14.125C15.5523 14.125 16 13.6773 16 13.125L16 1C16 0.447717 15.5523 0 15 0H1C0.447717 0 0 0.447716 0 1V15.5247C0 15.8173 0.161234 16.086 0.419354 16.2237C0.727111 16.3878 1.10601 16.3313 1.35252 16.0845L3.31 14.125ZM12 5.99997H4V4.49997H12V5.99997ZM4 9.99997H9V8.49997H4V9.99997Z",fill:"currentColor"})})},5142:(e,t,n)=>{"use strict";n.d(t,{x:()=>c});var o=n(65736),r=n(55609),s=n(2514),i=n(10431),a=n(81514);const c=({href:e,tooltipText:t=(0,o.__)("WooCommerce Settings","woocommerce"),isRoute:n=!1})=>(0,a.jsx)(r.Tooltip,{text:t,children:(0,a.jsx)(r.Button,{className:"woocommerce-settings-payments__back-button",icon:s.Z,onClick:()=>{n?(0,i.getHistory)().push(e):window.location.href=e}})})},4622:(e,t,n)=>{"use strict";n.d(t,{a:()=>i});var o=n(86020),r=n(47396),s=n(81514);const i=({rows:e,hasDragIcon:t=!0})=>{const n=Array.from({length:e}).map((()=>({content:(0,s.jsx)("div",{className:"list-placeholder__content"}),className:"woocommerce-item__payment-gateway-placeholder transitions-disabled",title:(0,s.jsx)("div",{className:"list-placeholder__title"}),after:(0,s.jsx)("div",{className:"list-placeholder__after"}),before:(0,s.jsxs)(s.Fragment,{children:[t&&(0,s.jsx)(r.mR,{}),(0,s.jsx)("div",{className:"list-placeholder__before"})]})})));return(0,s.jsx)(o.List,{items:n})}},47396:(e,t,n)=>{"use strict";n.d(t,{mR:()=>zt,JN:()=>Pt,TR:()=>Bt});var o=n(99196),r=n.n(o),s=n(91850);const i="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function a(e){const t=Object.prototype.toString.call(e);return"[object Window]"===t||"[object global]"===t}function c(e){return"nodeType"in e}function l(e){var t,n;return e?a(e)?e:c(e)&&null!=(t=null==(n=e.ownerDocument)?void 0:n.defaultView)?t:window:window}function d(e){const{Document:t}=l(e);return e instanceof t}function u(e){return!a(e)&&e instanceof l(e).HTMLElement}function m(e){return e instanceof l(e).SVGElement}function p(e){return e?a(e)?e.document:c(e)?d(e)?e:u(e)||m(e)?e.ownerDocument:document:document:document}const h=i?o.useLayoutEffect:o.useEffect;function f(e){const t=(0,o.useRef)(e);return h((()=>{t.current=e})),(0,o.useCallback)((function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return null==t.current?void 0:t.current(...n)}),[])}function g(e,t){void 0===t&&(t=[e]);const n=(0,o.useRef)(e);return h((()=>{n.current!==e&&(n.current=e)}),t),n}function y(e,t){const n=(0,o.useRef)();return(0,o.useMemo)((()=>{const t=e(n.current);return n.current=t,t}),[...t])}function w(e){const t=f(e),n=(0,o.useRef)(null),r=(0,o.useCallback)((e=>{e!==n.current&&(null==t||t(e,n.current)),n.current=e}),[]);return[n,r]}function v(e){const t=(0,o.useRef)();return(0,o.useEffect)((()=>{t.current=e}),[e]),t.current}let _={};function b(e,t){return(0,o.useMemo)((()=>{if(t)return t;const n=null==_[e]?0:_[e]+1;return _[e]=n,e+"-"+n}),[e,t])}function x(e){return function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return o.reduce(((t,n)=>{const o=Object.entries(n);for(const[n,r]of o){const o=t[n];null!=o&&(t[n]=o+e*r)}return t}),{...t})}}const C=x(1),E=x(-1);function M(e){if(!e)return!1;const{KeyboardEvent:t}=l(e.target);return t&&e instanceof t}function j(e){if(function(e){if(!e)return!1;const{TouchEvent:t}=l(e.target);return t&&e instanceof t}(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return function(e){return"clientX"in e&&"clientY"in e}(e)?{x:e.clientX,y:e.clientY}:null}const S=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[S.Translate.toString(e),S.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:o}=e;return t+" "+n+"ms "+o}}}),N="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function k(e){return e.matches(N)?e:e.querySelector(N)}const I={display:"none"};function T(e){let{id:t,value:n}=e;return r().createElement("div",{id:t,style:I},n)}function A(e){let{id:t,announcement:n,ariaLiveType:o="assertive"}=e;return r().createElement("div",{id:t,style:{position:"fixed",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"},role:"status","aria-live":o,"aria-atomic":!0},n)}const L=(0,o.createContext)(null),O={draggable:"\n    To pick up a draggable item, press the space bar.\n    While dragging, use the arrow keys to move the item.\n    Press space again to drop the item in its new position, or press escape to cancel.\n  "},P={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function D(e){let{announcements:t=P,container:n,hiddenTextDescribedById:i,screenReaderInstructions:a=O}=e;const{announce:c,announcement:l}=function(){const[e,t]=(0,o.useState)("");return{announce:(0,o.useCallback)((e=>{null!=e&&t(e)}),[]),announcement:e}}(),d=b("DndLiveRegion"),[u,m]=(0,o.useState)(!1);if((0,o.useEffect)((()=>{m(!0)}),[]),function(e){const t=(0,o.useContext)(L);(0,o.useEffect)((()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)}),[e,t])}((0,o.useMemo)((()=>({onDragStart(e){let{active:n}=e;c(t.onDragStart({active:n}))},onDragMove(e){let{active:n,over:o}=e;t.onDragMove&&c(t.onDragMove({active:n,over:o}))},onDragOver(e){let{active:n,over:o}=e;c(t.onDragOver({active:n,over:o}))},onDragEnd(e){let{active:n,over:o}=e;c(t.onDragEnd({active:n,over:o}))},onDragCancel(e){let{active:n,over:o}=e;c(t.onDragCancel({active:n,over:o}))}})),[c,t])),!u)return null;const p=r().createElement(r().Fragment,null,r().createElement(T,{id:i,value:a.draggable}),r().createElement(A,{id:d,announcement:l}));return n?(0,s.createPortal)(p,n):p}var R;function H(){}function Z(e,t){return(0,o.useMemo)((()=>({sensor:e,options:null!=t?t:{}})),[e,t])}!function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"}(R||(R={}));const z=Object.freeze({x:0,y:0});function B(e,t){let{data:{value:n}}=e,{data:{value:o}}=t;return n-o}function V(e,t){let{data:{value:n}}=e,{data:{value:o}}=t;return o-n}function F(e,t,n){return void 0===t&&(t=e.left),void 0===n&&(n=e.top),{x:t+.5*e.width,y:n+.5*e.height}}const U=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:o}=e;const r=F(t,t.left,t.top),s=[];for(const e of o){const{id:t}=e,o=n.get(t);if(o){const n=(i=F(o),a=r,Math.sqrt(Math.pow(i.x-a.x,2)+Math.pow(i.y-a.y,2)));s.push({id:t,data:{droppableContainer:e,value:n}})}}var i,a;return s.sort(B)};function W(e,t){const n=Math.max(t.top,e.top),o=Math.max(t.left,e.left),r=Math.min(t.left+t.width,e.left+e.width),s=Math.min(t.top+t.height,e.top+e.height),i=r-o,a=s-n;if(o<r&&n<s){const n=t.width*t.height,o=e.width*e.height,r=i*a;return Number((r/(n+o-r)).toFixed(4))}return 0}const G=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:o}=e;const r=[];for(const e of o){const{id:o}=e,s=n.get(o);if(s){const n=W(s,t);n>0&&r.push({id:o,data:{droppableContainer:e,value:n}})}}return r.sort(V)};function Y(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:z}function Q(e){return function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return o.reduce(((t,n)=>({...t,top:t.top+e*n.y,bottom:t.bottom+e*n.y,left:t.left+e*n.x,right:t.right+e*n.x})),{...t})}}const q=Q(1);const $={ignoreTransform:!1};function J(e,t){void 0===t&&(t=$);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:t,transformOrigin:o}=l(e).getComputedStyle(e);t&&(n=function(e,t,n){const o=function(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}(t);if(!o)return e;const{scaleX:r,scaleY:s,x:i,y:a}=o,c=e.left-i-(1-r)*parseFloat(n),l=e.top-a-(1-s)*parseFloat(n.slice(n.indexOf(" ")+1)),d=r?e.width/r:e.width,u=s?e.height/s:e.height;return{width:d,height:u,top:l,right:c+d,bottom:l+u,left:c}}(n,t,o))}const{top:o,left:r,width:s,height:i,bottom:a,right:c}=n;return{top:o,left:r,width:s,height:i,bottom:a,right:c}}function X(e){return J(e,{ignoreTransform:!0})}function K(e,t){const n=[];return e?function o(r){if(null!=t&&n.length>=t)return n;if(!r)return n;if(d(r)&&null!=r.scrollingElement&&!n.includes(r.scrollingElement))return n.push(r.scrollingElement),n;if(!u(r)||m(r))return n;if(n.includes(r))return n;const s=l(e).getComputedStyle(r);return r!==e&&function(e,t){void 0===t&&(t=l(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some((e=>{const o=t[e];return"string"==typeof o&&n.test(o)}))}(r,s)&&n.push(r),function(e,t){return void 0===t&&(t=l(e).getComputedStyle(e)),"fixed"===t.position}(r,s)?n:o(r.parentNode)}(e):n}function ee(e){const[t]=K(e,1);return null!=t?t:null}function te(e){return i&&e?a(e)?e:c(e)?d(e)||e===p(e).scrollingElement?window:u(e)?e:null:null:null}function ne(e){return a(e)?e.scrollX:e.scrollLeft}function oe(e){return a(e)?e.scrollY:e.scrollTop}function re(e){return{x:ne(e),y:oe(e)}}var se;function ie(e){return!(!i||!e)&&e===document.scrollingElement}function ae(e){const t={x:0,y:0},n=ie(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},o={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height};return{isTop:e.scrollTop<=t.y,isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=o.y,isRight:e.scrollLeft>=o.x,maxScroll:o,minScroll:t}}!function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"}(se||(se={}));const ce={x:.2,y:.2};function le(e,t,n,o,r){let{top:s,left:i,right:a,bottom:c}=n;void 0===o&&(o=10),void 0===r&&(r=ce);const{isTop:l,isBottom:d,isLeft:u,isRight:m}=ae(e),p={x:0,y:0},h={x:0,y:0},f=t.height*r.y,g=t.width*r.x;return!l&&s<=t.top+f?(p.y=se.Backward,h.y=o*Math.abs((t.top+f-s)/f)):!d&&c>=t.bottom-f&&(p.y=se.Forward,h.y=o*Math.abs((t.bottom-f-c)/f)),!m&&a>=t.right-g?(p.x=se.Forward,h.x=o*Math.abs((t.right-g-a)/g)):!u&&i<=t.left+g&&(p.x=se.Backward,h.x=o*Math.abs((t.left+g-i)/g)),{direction:p,speed:h}}function de(e){if(e===document.scrollingElement){const{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}const{top:t,left:n,right:o,bottom:r}=e.getBoundingClientRect();return{top:t,left:n,right:o,bottom:r,width:e.clientWidth,height:e.clientHeight}}function ue(e){return e.reduce(((e,t)=>C(e,re(t))),z)}const me=[["x",["left","right"],function(e){return e.reduce(((e,t)=>e+ne(t)),0)}],["y",["top","bottom"],function(e){return e.reduce(((e,t)=>e+oe(t)),0)}]];class pe{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const n=K(t),o=ue(n);this.rect={...e},this.width=e.width,this.height=e.height;for(const[e,t,r]of me)for(const s of t)Object.defineProperty(this,s,{get:()=>{const t=r(n),i=o[e]-t;return this.rect[s]+i},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class he{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach((e=>{var t;return null==(t=this.target)?void 0:t.removeEventListener(...e)}))},this.target=e}add(e,t,n){var o;null==(o=this.target)||o.addEventListener(e,t,n),this.listeners.push([e,t,n])}}function fe(e,t){const n=Math.abs(e.x),o=Math.abs(e.y);return"number"==typeof t?Math.sqrt(n**2+o**2)>t:"x"in t&&"y"in t?n>t.x&&o>t.y:"x"in t?n>t.x:"y"in t&&o>t.y}var ge,ye,we;function ve(e){e.preventDefault()}function _e(e){e.stopPropagation()}!function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"}(ge||(ge={})),(we=ye||(ye={})).Space="Space",we.Down="ArrowDown",we.Right="ArrowRight",we.Left="ArrowLeft",we.Up="ArrowUp",we.Esc="Escape",we.Enter="Enter";const be={start:[ye.Space,ye.Enter],cancel:[ye.Esc],end:[ye.Space,ye.Enter]},xe=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case ye.Right:return{...n,x:n.x+25};case ye.Left:return{...n,x:n.x-25};case ye.Down:return{...n,y:n.y+25};case ye.Up:return{...n,y:n.y-25}}};class Ce{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;const{event:{target:t}}=e;this.props=e,this.listeners=new he(p(t)),this.windowListeners=new he(l(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(ge.Resize,this.handleCancel),this.windowListeners.add(ge.VisibilityChange,this.handleCancel),setTimeout((()=>this.listeners.add(ge.Keydown,this.handleKeyDown)))}handleStart(){const{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&function(e,t){if(void 0===t&&(t=J),!e)return;const{top:n,left:o,bottom:r,right:s}=t(e);ee(e)&&(r<=0||s<=0||n>=window.innerHeight||o>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}(n),t(z)}handleKeyDown(e){if(M(e)){const{active:t,context:n,options:o}=this.props,{keyboardCodes:r=be,coordinateGetter:s=xe,scrollBehavior:i="smooth"}=o,{code:a}=e;if(r.end.includes(a))return void this.handleEnd(e);if(r.cancel.includes(a))return void this.handleCancel(e);const{collisionRect:c}=n.current,l=c?{x:c.left,y:c.top}:z;this.referenceCoordinates||(this.referenceCoordinates=l);const d=s(e,{active:t,context:n.current,currentCoordinates:l});if(d){const t=E(d,l),o={x:0,y:0},{scrollableAncestors:r}=n.current;for(const n of r){const r=e.code,{isTop:s,isRight:a,isLeft:c,isBottom:l,maxScroll:u,minScroll:m}=ae(n),p=de(n),h={x:Math.min(r===ye.Right?p.right-p.width/2:p.right,Math.max(r===ye.Right?p.left:p.left+p.width/2,d.x)),y:Math.min(r===ye.Down?p.bottom-p.height/2:p.bottom,Math.max(r===ye.Down?p.top:p.top+p.height/2,d.y))},f=r===ye.Right&&!a||r===ye.Left&&!c,g=r===ye.Down&&!l||r===ye.Up&&!s;if(f&&h.x!==d.x){const e=n.scrollLeft+t.x,s=r===ye.Right&&e<=u.x||r===ye.Left&&e>=m.x;if(s&&!t.y)return void n.scrollTo({left:e,behavior:i});o.x=s?n.scrollLeft-e:r===ye.Right?n.scrollLeft-u.x:n.scrollLeft-m.x,o.x&&n.scrollBy({left:-o.x,behavior:i});break}if(g&&h.y!==d.y){const e=n.scrollTop+t.y,s=r===ye.Down&&e<=u.y||r===ye.Up&&e>=m.y;if(s&&!t.x)return void n.scrollTo({top:e,behavior:i});o.y=s?n.scrollTop-e:r===ye.Down?n.scrollTop-u.y:n.scrollTop-m.y,o.y&&n.scrollBy({top:-o.y,behavior:i});break}}this.handleMove(e,C(E(d,this.referenceCoordinates),o))}}}handleMove(e,t){const{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){const{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){const{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}function Ee(e){return Boolean(e&&"distance"in e)}function Me(e){return Boolean(e&&"delay"in e)}Ce.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:o=be,onActivation:r}=t,{active:s}=n;const{code:i}=e.nativeEvent;if(o.start.includes(i)){const t=s.activatorNode.current;return!(t&&e.target!==t||(e.preventDefault(),null==r||r({event:e.nativeEvent}),0))}return!1}}];class je{constructor(e,t,n){var o;void 0===n&&(n=function(e){const{EventTarget:t}=l(e);return e instanceof t?e:p(e)}(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;const{event:r}=e,{target:s}=r;this.props=e,this.events=t,this.document=p(s),this.documentListeners=new he(this.document),this.listeners=new he(n),this.windowListeners=new he(l(s)),this.initialCoordinates=null!=(o=j(r))?o:z,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:e,props:{options:{activationConstraint:t,bypassActivationConstraint:n}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),this.windowListeners.add(ge.Resize,this.handleCancel),this.windowListeners.add(ge.DragStart,ve),this.windowListeners.add(ge.VisibilityChange,this.handleCancel),this.windowListeners.add(ge.ContextMenu,ve),this.documentListeners.add(ge.Keydown,this.handleKeydown),t){if(null!=n&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(Me(t))return void(this.timeoutId=setTimeout(this.handleStart,t.delay));if(Ee(t))return}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(ge.Click,_e,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(ge.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var t;const{activated:n,initialCoordinates:o,props:r}=this,{onMove:s,options:{activationConstraint:i}}=r;if(!o)return;const a=null!=(t=j(e))?t:z,c=E(o,a);if(!n&&i){if(Ee(i)){if(null!=i.tolerance&&fe(c,i.tolerance))return this.handleCancel();if(fe(c,i.distance))return this.handleStart()}return Me(i)&&fe(c,i.tolerance)?this.handleCancel():void 0}e.cancelable&&e.preventDefault(),s(a)}handleEnd(){const{onEnd:e}=this.props;this.detach(),e()}handleCancel(){const{onCancel:e}=this.props;this.detach(),e()}handleKeydown(e){e.code===ye.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}const Se={move:{name:"pointermove"},end:{name:"pointerup"}};class Ne extends je{constructor(e){const{event:t}=e,n=p(t.target);super(e,Se,n)}}Ne.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:o}=t;return!(!n.isPrimary||0!==n.button||(null==o||o({event:n}),0))}}];const ke={move:{name:"mousemove"},end:{name:"mouseup"}};var Ie;!function(e){e[e.RightClick=2]="RightClick"}(Ie||(Ie={}));class Te extends je{constructor(e){super(e,ke,p(e.event.target))}}Te.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:o}=t;return n.button!==Ie.RightClick&&(null==o||o({event:n}),!0)}}];const Ae={move:{name:"touchmove"},end:{name:"touchend"}};class Le extends je{constructor(e){super(e,Ae)}static setup(){return window.addEventListener(Ae.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(Ae.move.name,e)};function e(){}}}var Oe,Pe;Le.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:o}=t;const{touches:r}=n;return!(r.length>1||(null==o||o({event:n}),0))}}],function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"}(Oe||(Oe={})),function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"}(Pe||(Pe={}));const De={x:{[se.Backward]:!1,[se.Forward]:!1},y:{[se.Backward]:!1,[se.Forward]:!1}};var Re,He;!function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"}(Re||(Re={})),function(e){e.Optimized="optimized"}(He||(He={}));const Ze=new Map;function ze(e,t){return y((n=>e?n||("function"==typeof t?t(e):e):null),[t,e])}function Be(e){let{callback:t,disabled:n}=e;const r=f(t),s=(0,o.useMemo)((()=>{if(n||"undefined"==typeof window||void 0===window.ResizeObserver)return;const{ResizeObserver:e}=window;return new e(r)}),[n]);return(0,o.useEffect)((()=>()=>null==s?void 0:s.disconnect()),[s]),s}function Ve(e){return new pe(J(e),e)}function Fe(e,t,n){void 0===t&&(t=Ve);const[r,s]=(0,o.useReducer)((function(o){if(!e)return null;var r;if(!1===e.isConnected)return null!=(r=null!=o?o:n)?r:null;const s=t(e);return JSON.stringify(o)===JSON.stringify(s)?o:s}),null),i=function(e){let{callback:t,disabled:n}=e;const r=f(t),s=(0,o.useMemo)((()=>{if(n||"undefined"==typeof window||void 0===window.MutationObserver)return;const{MutationObserver:e}=window;return new e(r)}),[r,n]);return(0,o.useEffect)((()=>()=>null==s?void 0:s.disconnect()),[s]),s}({callback(t){if(e)for(const n of t){const{type:t,target:o}=n;if("childList"===t&&o instanceof HTMLElement&&o.contains(e)){s();break}}}}),a=Be({callback:s});return h((()=>{s(),e?(null==a||a.observe(e),null==i||i.observe(document.body,{childList:!0,subtree:!0})):(null==a||a.disconnect(),null==i||i.disconnect())}),[e]),r}const Ue=[];function We(e,t){void 0===t&&(t=[]);const n=(0,o.useRef)(null);return(0,o.useEffect)((()=>{n.current=null}),t),(0,o.useEffect)((()=>{const t=e!==z;t&&!n.current&&(n.current=e),!t&&n.current&&(n.current=null)}),[e]),n.current?E(e,n.current):z}function Ge(e){return(0,o.useMemo)((()=>e?function(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}(e):null),[e])}const Ye=[];const Qe=[{sensor:Ne,options:{}},{sensor:Ce,options:{}}],qe={current:{}},$e={draggable:{measure:X},droppable:{measure:X,strategy:Re.WhileDragging,frequency:He.Optimized},dragOverlay:{measure:J}};class Je extends Map{get(e){var t;return null!=e&&null!=(t=super.get(e))?t:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter((e=>{let{disabled:t}=e;return!t}))}getNodeFor(e){var t,n;return null!=(t=null==(n=this.get(e))?void 0:n.node.current)?t:void 0}}const Xe={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Je,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:H},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:$e,measureDroppableContainers:H,windowRect:null,measuringScheduled:!1},Ke={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:H,draggableNodes:new Map,over:null,measureDroppableContainers:H},et=(0,o.createContext)(Ke),tt=(0,o.createContext)(Xe);function nt(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Je}}}function ot(e,t){switch(t.type){case R.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case R.DragMove:return e.draggable.active?{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case R.DragEnd:case R.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case R.RegisterDroppable:{const{element:n}=t,{id:o}=n,r=new Je(e.droppable.containers);return r.set(o,n),{...e,droppable:{...e.droppable,containers:r}}}case R.SetDroppableDisabled:{const{id:n,key:o,disabled:r}=t,s=e.droppable.containers.get(n);if(!s||o!==s.key)return e;const i=new Je(e.droppable.containers);return i.set(n,{...s,disabled:r}),{...e,droppable:{...e.droppable,containers:i}}}case R.UnregisterDroppable:{const{id:n,key:o}=t,r=e.droppable.containers.get(n);if(!r||o!==r.key)return e;const s=new Je(e.droppable.containers);return s.delete(n),{...e,droppable:{...e.droppable,containers:s}}}default:return e}}function rt(e){let{disabled:t}=e;const{active:n,activatorEvent:r,draggableNodes:s}=(0,o.useContext)(et),i=v(r),a=v(null==n?void 0:n.id);return(0,o.useEffect)((()=>{if(!t&&!r&&i&&null!=a){if(!M(i))return;if(document.activeElement===i.target)return;const e=s.get(a);if(!e)return;const{activatorNode:t,node:n}=e;if(!t.current&&!n.current)return;requestAnimationFrame((()=>{for(const e of[t.current,n.current]){if(!e)continue;const t=k(e);if(t){t.focus();break}}}))}}),[r,t,s,a,i]),null}const st=(0,o.createContext)({...z,scaleX:1,scaleY:1});var it;!function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"}(it||(it={}));const at=(0,o.memo)((function(e){var t,n,a,c;let{id:d,accessibility:m,autoScroll:p=!0,children:f,sensors:_=Qe,collisionDetection:x=G,measuring:E,modifiers:M,...S}=e;const N=(0,o.useReducer)(ot,void 0,nt),[k,I]=N,[T,A]=function(){const[e]=(0,o.useState)((()=>new Set)),t=(0,o.useCallback)((t=>(e.add(t),()=>e.delete(t))),[e]);return[(0,o.useCallback)((t=>{let{type:n,event:o}=t;e.forEach((e=>{var t;return null==(t=e[n])?void 0:t.call(e,o)}))}),[e]),t]}(),[O,P]=(0,o.useState)(it.Uninitialized),H=O===it.Initialized,{draggable:{active:Z,nodes:B,translate:V},droppable:{containers:F}}=k,U=Z?B.get(Z):null,W=(0,o.useRef)({initial:null,translated:null}),Q=(0,o.useMemo)((()=>{var e;return null!=Z?{id:Z,data:null!=(e=null==U?void 0:U.data)?e:qe,rect:W}:null}),[Z,U]),$=(0,o.useRef)(null),[X,ne]=(0,o.useState)(null),[oe,ae]=(0,o.useState)(null),ce=g(S,Object.values(S)),de=b("DndDescribedBy",d),me=(0,o.useMemo)((()=>F.getEnabled()),[F]),he=(fe=E,(0,o.useMemo)((()=>({draggable:{...$e.draggable,...null==fe?void 0:fe.draggable},droppable:{...$e.droppable,...null==fe?void 0:fe.droppable},dragOverlay:{...$e.dragOverlay,...null==fe?void 0:fe.dragOverlay}})),[null==fe?void 0:fe.draggable,null==fe?void 0:fe.droppable,null==fe?void 0:fe.dragOverlay]));var fe;const{droppableRects:ge,measureDroppableContainers:ye,measuringScheduled:we}=function(e,t){let{dragging:n,dependencies:r,config:s}=t;const[i,a]=(0,o.useState)(null),{frequency:c,measure:l,strategy:d}=s,u=(0,o.useRef)(e),m=function(){switch(d){case Re.Always:return!1;case Re.BeforeDragging:return n;default:return!n}}(),p=g(m),h=(0,o.useCallback)((function(e){void 0===e&&(e=[]),p.current||a((t=>null===t?e:t.concat(e.filter((e=>!t.includes(e))))))}),[p]),f=(0,o.useRef)(null),w=y((t=>{if(m&&!n)return Ze;if(!t||t===Ze||u.current!==e||null!=i){const t=new Map;for(let n of e){if(!n)continue;if(i&&i.length>0&&!i.includes(n.id)&&n.rect.current){t.set(n.id,n.rect.current);continue}const e=n.node.current,o=e?new pe(l(e),e):null;n.rect.current=o,o&&t.set(n.id,o)}return t}return t}),[e,i,n,m,l]);return(0,o.useEffect)((()=>{u.current=e}),[e]),(0,o.useEffect)((()=>{m||h()}),[n,m]),(0,o.useEffect)((()=>{i&&i.length>0&&a(null)}),[JSON.stringify(i)]),(0,o.useEffect)((()=>{m||"number"!=typeof c||null!==f.current||(f.current=setTimeout((()=>{h(),f.current=null}),c))}),[c,m,h,...r]),{droppableRects:w,measureDroppableContainers:h,measuringScheduled:null!=i}}(me,{dragging:H,dependencies:[V.x,V.y],config:he.droppable}),ve=function(e,t){const n=null!==t?e.get(t):void 0,o=n?n.node.current:null;return y((e=>{var n;return null===t?null:null!=(n=null!=o?o:e)?n:null}),[o,t])}(B,Z),_e=(0,o.useMemo)((()=>oe?j(oe):null),[oe]),be=function(){const e=!1===(null==X?void 0:X.autoScrollEnabled),t="object"==typeof p?!1===p.enabled:!1===p,n=H&&!e&&!t;return"object"==typeof p?{...p,enabled:n}:{enabled:n}}(),xe=function(e,t){return ze(e,t)}(ve,he.draggable.measure);!function(e){let{activeNode:t,measure:n,initialRect:r,config:s=!0}=e;const i=(0,o.useRef)(!1),{x:a,y:c}="boolean"==typeof s?{x:s,y:s}:s;h((()=>{if(!a&&!c||!t)return void(i.current=!1);if(i.current||!r)return;const e=null==t?void 0:t.node.current;if(!e||!1===e.isConnected)return;const o=Y(n(e),r);if(a||(o.x=0),c||(o.y=0),i.current=!0,Math.abs(o.x)>0||Math.abs(o.y)>0){const t=ee(e);t&&t.scrollBy({top:o.y,left:o.x})}}),[t,a,c,r,n])}({activeNode:Z?B.get(Z):null,config:be.layoutShiftCompensation,initialRect:xe,measure:he.draggable.measure});const Ce=Fe(ve,he.draggable.measure,xe),Ee=Fe(ve?ve.parentElement:null),Me=(0,o.useRef)({activatorEvent:null,active:null,activeNode:ve,collisionRect:null,collisions:null,droppableRects:ge,draggableNodes:B,draggingNode:null,draggingNodeRect:null,droppableContainers:F,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),je=F.getNodeFor(null==(t=Me.current.over)?void 0:t.id),Se=function(e){let{measure:t}=e;const[n,r]=(0,o.useState)(null),s=Be({callback:(0,o.useCallback)((e=>{for(const{target:n}of e)if(u(n)){r((e=>{const o=t(n);return e?{...e,width:o.width,height:o.height}:o}));break}}),[t])}),i=(0,o.useCallback)((e=>{const n=function(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return u(t)?t:e}(e);null==s||s.disconnect(),n&&(null==s||s.observe(n)),r(n?t(n):null)}),[t,s]),[a,c]=w(i);return(0,o.useMemo)((()=>({nodeRef:a,rect:n,setRef:c})),[n,a,c])}({measure:he.dragOverlay.measure}),Ne=null!=(n=Se.nodeRef.current)?n:ve,ke=H?null!=(a=Se.rect)?a:Ce:null,Ie=Boolean(Se.nodeRef.current&&Se.rect),Te=Y(Ae=Ie?null:Ce,ze(Ae));var Ae;const Le=Ge(Ne?l(Ne):null),He=function(e){const t=(0,o.useRef)(e),n=y((n=>e?n&&n!==Ue&&e&&t.current&&e.parentNode===t.current.parentNode?n:K(e):Ue),[e]);return(0,o.useEffect)((()=>{t.current=e}),[e]),n}(H?null!=je?je:ve:null),Ve=function(e,t){void 0===t&&(t=J);const[n]=e,r=Ge(n?l(n):null),[s,i]=(0,o.useReducer)((function(){return e.length?e.map((e=>ie(e)?r:new pe(t(e),e))):Ye}),Ye),a=Be({callback:i});return e.length>0&&s===Ye&&i(),h((()=>{e.length?e.forEach((e=>null==a?void 0:a.observe(e))):(null==a||a.disconnect(),i())}),[e]),s}(He),Je=function(e,t){let{transform:n,...o}=t;return null!=e&&e.length?e.reduce(((e,t)=>t({transform:e,...o})),n):n}(M,{transform:{x:V.x-Te.x,y:V.y-Te.y,scaleX:1,scaleY:1},activatorEvent:oe,active:Q,activeNodeRect:Ce,containerNodeRect:Ee,draggingNodeRect:ke,over:Me.current.over,overlayNodeRect:Se.rect,scrollableAncestors:He,scrollableAncestorRects:Ve,windowRect:Le}),Xe=_e?C(_e,V):null,Ke=function(e){const[t,n]=(0,o.useState)(null),r=(0,o.useRef)(e),s=(0,o.useCallback)((e=>{const t=te(e.target);t&&n((e=>e?(e.set(t,re(t)),new Map(e)):null))}),[]);return(0,o.useEffect)((()=>{const t=r.current;if(e!==t){o(t);const i=e.map((e=>{const t=te(e);return t?(t.addEventListener("scroll",s,{passive:!0}),[t,re(t)]):null})).filter((e=>null!=e));n(i.length?new Map(i):null),r.current=e}return()=>{o(e),o(t)};function o(e){e.forEach((e=>{const t=te(e);null==t||t.removeEventListener("scroll",s)}))}}),[s,e]),(0,o.useMemo)((()=>e.length?t?Array.from(t.values()).reduce(((e,t)=>C(e,t)),z):ue(e):z),[e,t])}(He),at=We(Ke),ct=We(Ke,[Ce]),lt=C(Je,at),dt=ke?q(ke,Je):null,ut=Q&&dt?x({active:Q,collisionRect:dt,droppableRects:ge,droppableContainers:me,pointerCoordinates:Xe}):null,mt=function(e,t){if(!e||0===e.length)return null;const[n]=e;return n.id}(ut),[pt,ht]=(0,o.useState)(null),ft=function(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}(Ie?Je:C(Je,ct),null!=(c=null==pt?void 0:pt.rect)?c:null,Ce),gt=(0,o.useCallback)(((e,t)=>{let{sensor:n,options:o}=t;if(null==$.current)return;const r=B.get($.current);if(!r)return;const i=e.nativeEvent,a=new n({active:$.current,activeNode:r,event:i,options:o,context:Me,onStart(e){const t=$.current;if(null==t)return;const n=B.get(t);if(!n)return;const{onDragStart:o}=ce.current,r={active:{id:t,data:n.data,rect:W}};(0,s.unstable_batchedUpdates)((()=>{null==o||o(r),P(it.Initializing),I({type:R.DragStart,initialCoordinates:e,active:t}),T({type:"onDragStart",event:r})}))},onMove(e){I({type:R.DragMove,coordinates:e})},onEnd:c(R.DragEnd),onCancel:c(R.DragCancel)});function c(e){return async function(){const{active:t,collisions:n,over:o,scrollAdjustedTranslate:r}=Me.current;let a=null;if(t&&r){const{cancelDrop:s}=ce.current;a={activatorEvent:i,active:t,collisions:n,delta:r,over:o},e===R.DragEnd&&"function"==typeof s&&await Promise.resolve(s(a))&&(e=R.DragCancel)}$.current=null,(0,s.unstable_batchedUpdates)((()=>{I({type:e}),P(it.Uninitialized),ht(null),ne(null),ae(null);const t=e===R.DragEnd?"onDragEnd":"onDragCancel";if(a){const e=ce.current[t];null==e||e(a),T({type:t,event:a})}}))}}(0,s.unstable_batchedUpdates)((()=>{ne(a),ae(e.nativeEvent)}))}),[B]),yt=(0,o.useCallback)(((e,t)=>(n,o)=>{const r=n.nativeEvent,s=B.get(o);if(null!==$.current||!s||r.dndKit||r.defaultPrevented)return;const i={active:s};!0===e(n,t.options,i)&&(r.dndKit={capturedBy:t.sensor},$.current=o,gt(n,t))}),[B,gt]),wt=function(e,t){return(0,o.useMemo)((()=>e.reduce(((e,n)=>{const{sensor:o}=n;return[...e,...o.activators.map((e=>({eventName:e.eventName,handler:t(e.handler,n)})))]}),[])),[e,t])}(_,yt);!function(e){(0,o.useEffect)((()=>{if(!i)return;const t=e.map((e=>{let{sensor:t}=e;return null==t.setup?void 0:t.setup()}));return()=>{for(const e of t)null==e||e()}}),e.map((e=>{let{sensor:t}=e;return t})))}(_),h((()=>{Ce&&O===it.Initializing&&P(it.Initialized)}),[Ce,O]),(0,o.useEffect)((()=>{const{onDragMove:e}=ce.current,{active:t,activatorEvent:n,collisions:o,over:r}=Me.current;if(!t||!n)return;const i={active:t,activatorEvent:n,collisions:o,delta:{x:lt.x,y:lt.y},over:r};(0,s.unstable_batchedUpdates)((()=>{null==e||e(i),T({type:"onDragMove",event:i})}))}),[lt.x,lt.y]),(0,o.useEffect)((()=>{const{active:e,activatorEvent:t,collisions:n,droppableContainers:o,scrollAdjustedTranslate:r}=Me.current;if(!e||null==$.current||!t||!r)return;const{onDragOver:i}=ce.current,a=o.get(mt),c=a&&a.rect.current?{id:a.id,rect:a.rect.current,data:a.data,disabled:a.disabled}:null,l={active:e,activatorEvent:t,collisions:n,delta:{x:r.x,y:r.y},over:c};(0,s.unstable_batchedUpdates)((()=>{ht(c),null==i||i(l),T({type:"onDragOver",event:l})}))}),[mt]),h((()=>{Me.current={activatorEvent:oe,active:Q,activeNode:ve,collisionRect:dt,collisions:ut,droppableRects:ge,draggableNodes:B,draggingNode:Ne,draggingNodeRect:ke,droppableContainers:F,over:pt,scrollableAncestors:He,scrollAdjustedTranslate:lt},W.current={initial:ke,translated:dt}}),[Q,ve,ut,dt,B,Ne,ke,ge,F,pt,He,lt]),function(e){let{acceleration:t,activator:n=Oe.Pointer,canScroll:r,draggingRect:s,enabled:i,interval:a=5,order:c=Pe.TreeOrder,pointerCoordinates:l,scrollableAncestors:d,scrollableAncestorRects:u,delta:m,threshold:p}=e;const h=function(e){let{delta:t,disabled:n}=e;const o=v(t);return y((e=>{if(n||!o||!e)return De;const r=Math.sign(t.x-o.x),s=Math.sign(t.y-o.y);return{x:{[se.Backward]:e.x[se.Backward]||-1===r,[se.Forward]:e.x[se.Forward]||1===r},y:{[se.Backward]:e.y[se.Backward]||-1===s,[se.Forward]:e.y[se.Forward]||1===s}}}),[n,t,o])}({delta:m,disabled:!i}),[f,g]=function(){const e=(0,o.useRef)(null);return[(0,o.useCallback)(((t,n)=>{e.current=setInterval(t,n)}),[]),(0,o.useCallback)((()=>{null!==e.current&&(clearInterval(e.current),e.current=null)}),[])]}(),w=(0,o.useRef)({x:0,y:0}),_=(0,o.useRef)({x:0,y:0}),b=(0,o.useMemo)((()=>{switch(n){case Oe.Pointer:return l?{top:l.y,bottom:l.y,left:l.x,right:l.x}:null;case Oe.DraggableRect:return s}}),[n,s,l]),x=(0,o.useRef)(null),C=(0,o.useCallback)((()=>{const e=x.current;if(!e)return;const t=w.current.x*_.current.x,n=w.current.y*_.current.y;e.scrollBy(t,n)}),[]),E=(0,o.useMemo)((()=>c===Pe.TreeOrder?[...d].reverse():d),[c,d]);(0,o.useEffect)((()=>{if(i&&d.length&&b){for(const e of E){if(!1===(null==r?void 0:r(e)))continue;const n=d.indexOf(e),o=u[n];if(!o)continue;const{direction:s,speed:i}=le(e,o,b,t,p);for(const e of["x","y"])h[e][s[e]]||(i[e]=0,s[e]=0);if(i.x>0||i.y>0)return g(),x.current=e,f(C,a),w.current=i,void(_.current=s)}w.current={x:0,y:0},_.current={x:0,y:0},g()}else g()}),[t,C,r,g,i,a,JSON.stringify(b),JSON.stringify(h),f,d,E,u,JSON.stringify(p)])}({...be,delta:V,draggingRect:dt,pointerCoordinates:Xe,scrollableAncestors:He,scrollableAncestorRects:Ve});const vt=(0,o.useMemo)((()=>({active:Q,activeNode:ve,activeNodeRect:Ce,activatorEvent:oe,collisions:ut,containerNodeRect:Ee,dragOverlay:Se,draggableNodes:B,droppableContainers:F,droppableRects:ge,over:pt,measureDroppableContainers:ye,scrollableAncestors:He,scrollableAncestorRects:Ve,measuringConfiguration:he,measuringScheduled:we,windowRect:Le})),[Q,ve,Ce,oe,ut,Ee,Se,B,F,ge,pt,ye,He,Ve,he,we,Le]),_t=(0,o.useMemo)((()=>({activatorEvent:oe,activators:wt,active:Q,activeNodeRect:Ce,ariaDescribedById:{draggable:de},dispatch:I,draggableNodes:B,over:pt,measureDroppableContainers:ye})),[oe,wt,Q,Ce,I,de,B,pt,ye]);return r().createElement(L.Provider,{value:A},r().createElement(et.Provider,{value:_t},r().createElement(tt.Provider,{value:vt},r().createElement(st.Provider,{value:ft},f)),r().createElement(rt,{disabled:!1===(null==m?void 0:m.restoreFocus)})),r().createElement(D,{...m,hiddenTextDescribedById:de}))})),ct=(0,o.createContext)(null),lt="button",dt="Droppable";const ut={timeout:25};function mt(e,t,n){const o=e.slice();return o.splice(n<0?o.length+n:n,0,o.splice(t,1)[0]),o}function pt(e,t){return e.reduce(((e,n,o)=>{const r=t.get(n);return r&&(e[o]=r),e}),Array(e.length))}function ht(e){return null!==e&&e>=0}const ft={scaleX:1,scaleY:1},gt=e=>{var t;let{rects:n,activeNodeRect:o,activeIndex:r,overIndex:s,index:i}=e;const a=null!=(t=n[r])?t:o;if(!a)return null;const c=function(e,t,n){const o=e[t],r=e[t-1],s=e[t+1];return o&&(r||s)?n<t?r?o.left-(r.left+r.width):s.left-(o.left+o.width):s?s.left-(o.left+o.width):o.left-(r.left+r.width):0}(n,i,r);if(i===r){const e=n[s];return e?{x:r<s?e.left+e.width-(a.left+a.width):e.left-a.left,y:0,...ft}:null}return i>r&&i<=s?{x:-a.width-c,y:0,...ft}:i<r&&i>=s?{x:a.width+c,y:0,...ft}:{x:0,y:0,...ft}},yt=e=>{let{rects:t,activeIndex:n,overIndex:o,index:r}=e;const s=mt(t,o,n),i=t[r],a=s[r];return a&&i?{x:a.left-i.left,y:a.top-i.top,scaleX:a.width/i.width,scaleY:a.height/i.height}:null},wt={scaleX:1,scaleY:1},vt=e=>{var t;let{activeIndex:n,activeNodeRect:o,index:r,rects:s,overIndex:i}=e;const a=null!=(t=s[n])?t:o;if(!a)return null;if(r===n){const e=s[i];return e?{x:0,y:n<i?e.top+e.height-(a.top+a.height):e.top-a.top,...wt}:null}const c=function(e,t,n){const o=e[t],r=e[t-1],s=e[t+1];return o?n<t?r?o.top-(r.top+r.height):s?s.top-(o.top+o.height):0:s?s.top-(o.top+o.height):r?o.top-(r.top+r.height):0:0}(s,r,n);return r>n&&r<=i?{x:0,y:-a.height-c,...wt}:r<n&&r>=i?{x:0,y:a.height+c,...wt}:{x:0,y:0,...wt}},_t="Sortable",bt=r().createContext({activeIndex:-1,containerId:_t,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:yt,disabled:{draggable:!1,droppable:!1}});function xt(e){let{children:t,id:n,items:s,strategy:i=yt,disabled:a=!1}=e;const{active:c,dragOverlay:l,droppableRects:d,over:u,measureDroppableContainers:m}=(0,o.useContext)(tt),p=b(_t,n),f=Boolean(null!==l.rect),g=(0,o.useMemo)((()=>s.map((e=>"object"==typeof e&&"id"in e?e.id:e))),[s]),y=null!=c,w=c?g.indexOf(c.id):-1,v=u?g.indexOf(u.id):-1,_=(0,o.useRef)(g),x=!function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(g,_.current),C=-1!==v&&-1===w||x,E=function(e){return"boolean"==typeof e?{draggable:e,droppable:e}:e}(a);h((()=>{x&&y&&m(g)}),[x,g,y,m]),(0,o.useEffect)((()=>{_.current=g}),[g]);const M=(0,o.useMemo)((()=>({activeIndex:w,containerId:p,disabled:E,disableTransforms:C,items:g,overIndex:v,useDragOverlay:f,sortedRects:pt(g,d),strategy:i})),[w,p,E.draggable,E.droppable,C,g,v,d,f,i]);return r().createElement(bt.Provider,{value:M},t)}const Ct=e=>{let{id:t,items:n,activeIndex:o,overIndex:r}=e;return mt(n,o,r).indexOf(t)},Et=e=>{let{containerId:t,isSorting:n,wasDragging:o,index:r,items:s,newIndex:i,previousItems:a,previousContainerId:c,transition:l}=e;return!(!l||!o||a!==s&&r===i||!n&&(i===r||t!==c))},Mt={duration:200,easing:"ease"},jt="transform",St=S.Transition.toString({property:jt,duration:0,easing:"linear"}),Nt={roleDescription:"sortable"};function kt(e){let{animateLayoutChanges:t=Et,attributes:n,disabled:r,data:s,getNewIndex:i=Ct,id:a,strategy:c,resizeObserverConfig:l,transition:d=Mt}=e;const{items:u,containerId:m,activeIndex:p,disabled:f,disableTransforms:y,sortedRects:v,overIndex:_,useDragOverlay:x,strategy:C}=(0,o.useContext)(bt),E=function(e,t){var n,o;return"boolean"==typeof e?{draggable:e,droppable:!1}:{draggable:null!=(n=null==e?void 0:e.draggable)?n:t.draggable,droppable:null!=(o=null==e?void 0:e.droppable)?o:t.droppable}}(r,f),j=u.indexOf(a),N=(0,o.useMemo)((()=>({sortable:{containerId:m,index:j,items:u},...s})),[m,s,j,u]),k=(0,o.useMemo)((()=>u.slice(u.indexOf(a))),[u,a]),{rect:I,node:T,isOver:A,setNodeRef:L}=function(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:s}=e;const i=b("Droppable"),{active:a,dispatch:c,over:l,measureDroppableContainers:d}=(0,o.useContext)(et),u=(0,o.useRef)({disabled:n}),m=(0,o.useRef)(!1),p=(0,o.useRef)(null),f=(0,o.useRef)(null),{disabled:y,updateMeasurementsFor:v,timeout:_}={...ut,...s},x=g(null!=v?v:r),C=Be({callback:(0,o.useCallback)((()=>{m.current?(null!=f.current&&clearTimeout(f.current),f.current=setTimeout((()=>{d(Array.isArray(x.current)?x.current:[x.current]),f.current=null}),_)):m.current=!0}),[_]),disabled:y||!a}),E=(0,o.useCallback)(((e,t)=>{C&&(t&&(C.unobserve(t),m.current=!1),e&&C.observe(e))}),[C]),[M,j]=w(E),S=g(t);return(0,o.useEffect)((()=>{C&&M.current&&(C.disconnect(),m.current=!1,C.observe(M.current))}),[M,C]),h((()=>(c({type:R.RegisterDroppable,element:{id:r,key:i,disabled:n,node:M,rect:p,data:S}}),()=>c({type:R.UnregisterDroppable,key:i,id:r}))),[r]),(0,o.useEffect)((()=>{n!==u.current.disabled&&(c({type:R.SetDroppableDisabled,id:r,key:i,disabled:n}),u.current.disabled=n)}),[r,i,n,c]),{active:a,rect:p,isOver:(null==l?void 0:l.id)===r,node:M,over:l,setNodeRef:j}}({id:a,data:N,disabled:E.droppable,resizeObserverConfig:{updateMeasurementsFor:k,...l}}),{active:O,activatorEvent:P,activeNodeRect:D,attributes:H,setNodeRef:Z,listeners:z,isDragging:B,over:V,setActivatorNodeRef:F,transform:U}=function(e){let{id:t,data:n,disabled:r=!1,attributes:s}=e;const i=b(dt),{activators:a,activatorEvent:c,active:l,activeNodeRect:d,ariaDescribedById:u,draggableNodes:m,over:p}=(0,o.useContext)(et),{role:f=lt,roleDescription:y="draggable",tabIndex:v=0}=null!=s?s:{},_=(null==l?void 0:l.id)===t,x=(0,o.useContext)(_?st:ct),[C,E]=w(),[M,j]=w(),S=function(e,t){return(0,o.useMemo)((()=>e.reduce(((e,n)=>{let{eventName:o,handler:r}=n;return e[o]=e=>{r(e,t)},e}),{})),[e,t])}(a,t),N=g(n);return h((()=>(m.set(t,{id:t,key:i,node:C,activatorNode:M,data:N}),()=>{const e=m.get(t);e&&e.key===i&&m.delete(t)})),[m,t]),{active:l,activatorEvent:c,activeNodeRect:d,attributes:(0,o.useMemo)((()=>({role:f,tabIndex:v,"aria-disabled":r,"aria-pressed":!(!_||f!==lt)||void 0,"aria-roledescription":y,"aria-describedby":u.draggable})),[r,f,v,_,y,u.draggable]),isDragging:_,listeners:r?void 0:S,node:C,over:p,setNodeRef:E,setActivatorNodeRef:j,transform:x}}({id:a,data:N,attributes:{...Nt,...n},disabled:E.draggable}),W=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,o.useMemo)((()=>e=>{t.forEach((t=>t(e)))}),t)}(L,Z),G=Boolean(O),Y=G&&!y&&ht(p)&&ht(_),Q=!x&&B,q=Q&&Y?U:null,$=Y?null!=q?q:(null!=c?c:C)({rects:v,activeNodeRect:D,activeIndex:p,overIndex:_,index:j}):null,X=ht(p)&&ht(_)?i({id:a,items:u,activeIndex:p,overIndex:_}):j,K=null==O?void 0:O.id,ee=(0,o.useRef)({activeId:K,items:u,newIndex:X,containerId:m}),te=u!==ee.current.items,ne=t({active:O,containerId:m,isDragging:B,isSorting:G,id:a,index:j,items:u,newIndex:ee.current.newIndex,previousItems:ee.current.items,previousContainerId:ee.current.containerId,transition:d,wasDragging:null!=ee.current.activeId}),oe=function(e){let{disabled:t,index:n,node:r,rect:s}=e;const[i,a]=(0,o.useState)(null),c=(0,o.useRef)(n);return h((()=>{if(!t&&n!==c.current&&r.current){const e=s.current;if(e){const t=J(r.current,{ignoreTransform:!0}),n={x:e.left-t.left,y:e.top-t.top,scaleX:e.width/t.width,scaleY:e.height/t.height};(n.x||n.y)&&a(n)}}n!==c.current&&(c.current=n)}),[t,n,r,s]),(0,o.useEffect)((()=>{i&&a(null)}),[i]),i}({disabled:!ne,index:j,node:T,rect:I});return(0,o.useEffect)((()=>{G&&ee.current.newIndex!==X&&(ee.current.newIndex=X),m!==ee.current.containerId&&(ee.current.containerId=m),u!==ee.current.items&&(ee.current.items=u)}),[G,X,m,u]),(0,o.useEffect)((()=>{if(K===ee.current.activeId)return;if(K&&!ee.current.activeId)return void(ee.current.activeId=K);const e=setTimeout((()=>{ee.current.activeId=K}),50);return()=>clearTimeout(e)}),[K]),{active:O,activeIndex:p,attributes:H,data:N,rect:I,index:j,newIndex:X,items:u,isOver:A,isSorting:G,isDragging:B,listeners:z,node:T,overIndex:_,over:V,setNodeRef:W,setActivatorNodeRef:F,setDroppableNodeRef:L,setDraggableNodeRef:Z,transform:null!=oe?oe:$,transition:oe||te&&ee.current.newIndex===j?St:Q&&!M(P)||!d?void 0:G||ne?S.Transition.toString({...d,property:jt}):void 0}}ye.Down,ye.Right,ye.Up,ye.Left;const It=e=>{let{transform:t}=e;return{...t,y:0}},Tt=e=>{let{transform:t}=e;return{...t,x:0}};var At=n(80225),Lt=n(69307),Ot=n(81514);const Pt=({items:e,setItems:t,children:n,sorting:r="vertical",onDragStart:s=(()=>{}),onDragEnd:i=(()=>{}),className:a=""})=>{const c=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,o.useMemo)((()=>[...t].filter((e=>null!=e))),[...t])}(Z(Te,{}),Z(Le,{}),Z(Ce,{})),[l,d]=(0,Lt.useState)(!1),u="vertical"===r?vt:gt,m="vertical"===r?[Tt]:[It],p=(0,At.Z)("sortable-container",a,{"has-dragging-item":l});return(0,Ot.jsx)("div",{className:p,children:(0,Ot.jsx)(at,{sensors:c,onDragStart:e=>{d(!0),s(e)},onDragEnd:n=>{d(!1),i(n);const{active:o,over:r}=n;if(o&&r&&o.id!==r.id){const n=e.findIndex((e=>e.id===o.id)),s=e.findIndex((e=>e.id===r.id)),i=mt(e,n,s);t(i)}},collisionDetection:U,modifiers:m,children:(0,Ot.jsx)(xt,{items:e.map((e=>e.id)),strategy:u,children:n})})})};var Dt=n(59550),Rt=n(70444);const Ht=(0,Ot.jsx)(Rt.SVG,{width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,Ot.jsx)(Rt.Path,{d:"M8 7h2V5H8v2zm0 6h2v-2H8v2zm0 6h2v-2H8v2zm6-14v2h2V5h-2zm0 8h2v-2h-2v2zm0 6h2v-2h-2v2z"})}),Zt=(0,Lt.createContext)({attributes:null,listeners:null}),zt=()=>{const{attributes:e,listeners:t}=(0,Lt.useContext)(Zt);return(0,Ot.jsx)("div",{className:"drag-handle-wrapper",...e,...t,children:(0,Ot.jsx)("div",{className:"drag-handle",children:(0,Ot.jsx)(Dt.Z,{icon:Ht,size:20})})})},Bt=({id:e,className:t="",children:n,...o})=>{const{attributes:r,listeners:s,setNodeRef:i,transform:a,transition:c,isDragging:l}=kt({id:e}),d={transform:a?`translate3d(${a.x}px, ${a.y}px, 0)`:void 0,transition:c},u=(0,At.Z)("sortable-item",null!=t?t:"",l?"is-dragging":"");return(0,Ot.jsx)("div",{ref:i,style:d,className:u,...o,children:(0,Ot.jsx)(Zt.Provider,{value:{attributes:r,listeners:s},children:n})})}},44443:(e,t,n)=>{"use strict";n.d(t,{Av:()=>w,Gf:()=>d,Ir:()=>i,Kr:()=>s,NI:()=>a,Pq:()=>m,SN:()=>u,V3:()=>y,Z0:()=>g,ZA:()=>h,eP:()=>f,mz:()=>l,o0:()=>c,vA:()=>p});var o=n(74617),r=n(91978);const s=e=>!!e._incentive,i=e=>!!e&&e.promo_id.includes("-action-"),a=e=>!!e&&e.promo_id.includes("-switch-"),c=(e,t)=>!!e&&(e._dismissals.includes("all")||e._dismissals.includes(t)),l=e=>["_wc_pes_woopayments","woocommerce_payments"].includes(e),d=e=>l(e.id)&&(e.tags?.includes("woopay_eligible")||!1),u=()=>(0,o.getAdminLink)("admin.php?wcpay-connect=1&_wpnonce="+(0,r.O3)("wcpay_welcome_page_connect_nonce")+"&test_drive=true&auto_start_test_drive_onboarding=true&redirect_to_settings_page=true"),m=()=>(0,o.getAdminLink)("admin.php?wcpay-connect=1&_wpnonce="+(0,r.O3)("wcpay_welcome_page_connect_nonce")+"&wcpay-reset-account=true&redirect_to_settings_page=true"),p=()=>(0,o.getAdminLink)("admin.php?wcpay-connect=1&_wpnonce="+(0,r.O3)("wcpay_welcome_page_connect_nonce")+"&wcpay-disable-onboarding-test-mode=true&redirect_to_settings_page=true&source=wcpay-setup-live-payments"),h=e=>t=>t.find((t=>t.id===e))||null,f=e=>{const t=e.find((e=>l(e.id)));return!!t?.state?.test_mode&&!t?.state?.needs_setup},g=e=>{var t;return null!==(t=e.find((e=>l(e.id))))&&void 0!==t?t:null},y=e=>{var t;const n=e.find((e=>l(e.id)));return null!==(t=n?.onboarding?.recommended_payment_methods)&&void 0!==t?t:[]},w=e=>{const t=e.find((e=>l(e.id)));return!!t?.state?.dev_mode}},37406:(e,t,n)=>{"use strict";n.d(t,{O:()=>c});var o=n(14812),r=n(28302),s=n(65736),i=n(86020),a=n(81514);const c=({buttonText:e})=>(0,a.jsx)(o.Text,{variant:"caption",className:"woocommerce-task__caption is-tos",size:"12",lineHeight:"16px",style:{display:"block"},children:(0,r.Z)({mixedString:(0,s.sprintf)((0,s.__)('By clicking "%s," you agree to our {{tosLink}}Terms of Service{{/tosLink}} and have read our {{privacyPolicyLink}}Privacy Policy{{/privacyPolicyLink}}.',"woocommerce"),e),components:{tosLink:(0,a.jsx)(i.Link,{href:"https://wordpress.com/tos/",target:"_blank",type:"external",children:(0,a.jsx)(a.Fragment,{})}),privacyPolicyLink:(0,a.jsx)(i.Link,{href:"https://automattic.com/privacy/",target:"_blank",type:"external",children:(0,a.jsx)(a.Fragment,{})})}})})},60133:(e,t,n)=>{"use strict";n.d(t,{L:()=>s});var o=n(80225),r=n(81514);const s=({logo:e,description:t,layout:n="single",features:s,children:i})=>(0,r.jsxs)("div",{className:(0,o.Z)("woocommerce-task-shipping-recommendation__plugins-install",n),children:[e&&(0,r.jsx)("div",{className:"plugins-install__plugin-banner-image",children:(0,r.jsx)("img",{src:e.image,alt:e?.alt})}),t&&(0,r.jsx)("p",{children:t}),(0,r.jsx)("div",{className:"plugins-install__list",children:s.map(((e,t)=>(0,r.jsxs)("div",{className:"plugins-install__list-item",children:[(0,r.jsx)("div",{className:"plugins-install__list-icon",children:(0,r.jsx)("img",{src:e.icon,alt:""})}),(0,r.jsxs)("div",{children:[e.title&&(0,r.jsx)("div",{children:(0,r.jsx)("strong",{children:e.title})}),(0,r.jsx)("div",{children:e.description})]})]},t)))}),i]})},68240:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y,z:()=>g});var o=n(65736),r=n(55609),s=n(67221),i=n(69307),a=n(86020),c=n(9818),l=n(22629),d=n(92819),u=n(81514);const m=["addressLine1","addressLine2","city","countryState","postCode"],p=e=>e.replace(/\s/g,"").toLowerCase(),h=(e,t)=>n=>{const o=e?n.key.split(":"):n.label.split("—");if(o.length<=1)return!1;const r=o[1];if(r.includes("/")){const e=r.split("/");return p(e[0])===t||p(e[1])===t}if(r.includes("(")&&r.includes(")")){const e=r.replace(")","").split("(");return p(e[0])===t||p(e[1])===t}return p(r)===t};function f({getInputProps:e,setValue:t}){const n=e("countryState").value,{locale:f,hasFinishedResolution:g,countries:y,loadingCountries:w}=(0,c.useSelect)((e=>{const{getLocale:t,getCountries:o,hasFinishedResolution:r}=e(s.COUNTRIES_STORE_NAME);return{locale:t(n),countries:o(),loadingCountries:!r("getCountries"),hasFinishedResolution:r("getLocales")}})),v=(0,i.useMemo)((()=>function(e){return e.reduce(((e,t)=>{if(!t.states.length)return e.push({key:t.code,label:(0,l.decodeEntities)(t.name)}),e;const n=t.states.map((e=>({key:t.code+":"+e.code,label:(0,l.decodeEntities)(t.name)+" — "+(0,l.decodeEntities)(e.name)})));return e.push(...n),e}),[])}(y)),[y]),_=function(e,t,n){const[o,r]=(0,i.useState)(""),[s,a]=(0,i.useState)(""),c=(0,i.useRef)();return(0,i.useEffect)((()=>{if(!c.current){const n=e.find((e=>e.key===t)),i=n?n.label.split(/\u2013|\u2014|\-/):[],c=(i[0]||"").trim(),l=(i[1]||"").trim();c===o&&l===s||(r(c),a(l))}c.current=!1}),[t,e]),(0,i.useEffect)((()=>{if(void 0===c.current)return;if(!o&&!s&&t)return c.current=!0,void n("countryState","");const r=new RegExp((0,d.escapeRegExp)(o),"i"),i=o.length<3,a=s.length<3&&!!s.match(/^[\w]+$/);let l=[];o.length&&s.length?(l=e.filter((e=>r.test(i?e.key:e.label))),l.length||(l=[...e]),l.length>1&&(l=l.filter(h(a,p(s))))):o.length?l=e.filter((e=>r.test(i?e.key:e.label))):s.length&&(l=e.filter(h(a,p(s)))),1===l.length&&t!==l[0].key&&(c.current=!0,n("countryState",l[0].key))}),[o,s,e,n]),(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("input",{onChange:e=>r(e.target.value),value:o,name:"country",type:"text",className:"woocommerce-select-control__autofill-input",tabIndex:-1,autoComplete:"country"}),(0,u.jsx)("input",{onChange:e=>a(e.target.value),value:s,name:"state",type:"text",className:"woocommerce-select-control__autofill-input",tabIndex:-1,autoComplete:"address-level1"})]})}(v,n,t);return(0,i.useEffect)((()=>{f&&m.forEach((n=>{const o=n.replace(/(address)Line([0-9])/,"$1$2").toLowerCase(),r=e(n);var s;s=o,f.hasOwnProperty(s)&&f[o]?.hidden&&r.value?.length>0&&t(n,"")}))}),[n,f]),!g||w?(0,u.jsx)(r.Spinner,{}):(0,u.jsxs)("div",{className:"woocommerce-store-address-fields",children:[(0,u.jsx)(a.SelectControl,{label:(0,o.__)("Country / Region","woocommerce")+" *",required:!0,autoComplete:"new-password",getSearchExpression:e=>new RegExp("(^"+e+"| — ("+e+"))","i"),options:v,excludeSelectedOptions:!1,showAllOnFocus:!0,isSearchable:!0,...e("countryState"),controlClassName:e("countryState").className,children:_}),!f?.address_1?.hidden&&(0,u.jsx)(a.TextControl,{id:"woocommerce-store-address-form-address_1",label:f?.address_1?.label||(0,o.__)("Address","woocommerce"),autoComplete:"address-line1",...e("addressLine1")}),!f?.postcode?.hidden&&(0,u.jsx)(a.TextControl,{id:"woocommerce-store-address-form-postcode",label:f?.postcode?.label||(0,o.__)("Post code","woocommerce"),autoComplete:"postal-code",...e("postCode")}),!f?.city?.hidden&&(0,u.jsx)(a.TextControl,{id:"woocommerce-store-address-form-city",label:f?.city?.label||(0,o.__)("City","woocommerce"),...e("city"),autoComplete:"address-level2"})]})}const g=e=>(e=>{const t={};return e.countryState.trim().length||(t.countryState=(0,o.__)("Please select a country / region","woocommerce")),t})(e),y=({onComplete:e,createNotice:t,isSettingsRequesting:n,updateAndPersistSettingsForGroup:l,settings:d,buttonText:m=(0,o.__)("Continue","woocommerce"),validate:p=g})=>{const{hasFinishedResolution:h}=(0,c.useSelect)((e=>{const t=e(s.COUNTRIES_STORE_NAME);return t.getCountries(),{getLocale:t.getLocale,locales:t.getLocales(),hasFinishedResolution:t.hasFinishedResolution("getLocales")&&t.hasFinishedResolution("getCountries")}})),[y,w]=(0,i.useState)(!1);return n||!h?(0,u.jsx)(a.Spinner,{}):(0,u.jsx)(a.Form,{initialValues:{addressLine1:d?.woocommerce_store_address||"",addressLine2:d?.woocommerce_store_address_2||"",city:d?.woocommerce_store_city||"",countryState:d?.woocommerce_default_country||"",postCode:d?.woocommerce_store_postcode||""},onSubmit:async n=>{w(!0);try{await l("general",{general:{...d,woocommerce_store_address:n.addressLine1,woocommerce_store_address_2:n.addressLine2,woocommerce_default_country:n.countryState,woocommerce_store_city:n.city,woocommerce_store_postcode:n.postCode}}),w(!1),e(n)}catch(e){w(!1),t("error",(0,o.__)("There was a problem saving your store location","woocommerce"))}},validate:p,children:({getInputProps:e,handleSubmit:t,setValue:n})=>(0,u.jsxs)(i.Fragment,{children:[(0,u.jsx)(f,{getInputProps:e,setValue:n}),(0,u.jsx)(r.Button,{isPrimary:!0,onClick:t,isBusy:y,children:m})]})})}},89560:(e,t,n)=>{"use strict";n.d(t,{AO:()=>s,_9:()=>i,c7:()=>r});var o=n(74617);const r=["woocommerce-services"],s=(e,t=!0)=>{const{woocommerce_store_address:n,woocommerce_default_country:o,woocommerce_store_postcode:r}=e;return t?Boolean(n&&o&&r):Boolean(n&&o)},i=()=>{window.location.href=(0,o.getAdminLink)("admin.php?page=wc-settings&tab=tax&section=standard&wc_onboarding_active_task=tax")}},96456:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ProgressTitle:()=>It,TaskLists:()=>xt,TasksPlaceholder:()=>vt,TasksReminderBar:()=>jt,useActiveSetupTasklist:()=>Tt});var o=n(91978);const r=(0,o.O3)("onboarding"),s=()=>window?.wcAdminFeatures?.["import-products-task"]&&r?.profile?.business_choice&&"im_already_selling"===r?.profile?.business_choice;var i=n(65736),a=n(9818),c=n(67221),l=n(14599),d=n(69307),u=n(98817),m=n(76025),p=n(10431),h=n(55609),f=n(24081),g=n(80225),y=n(86020),w=n(14812),v=n(21464),_=n(81514);const b=({hasSetup:e=!1,needsSetup:t=!0,id:n,isEnabled:o=!1,isLoading:r=!1,isInstalled:s=!1,isRecommended:a=!1,hasPlugins:c,manageUrl:u=null,markConfigured:m,onSetUp:f=(()=>{}),onSetupCallback:g,setupButtonText:y=(0,i.__)("Get started","woocommerce"),externalLink:w=null})=>{const[b,x]=(0,d.useState)(!1),C="woocommerce-task-payment__action";if(r)return(0,_.jsx)(h.Spinner,{});const E=async()=>{if(f(n),(0,l.recordEvent)("tasklist_payment_setup",{selected:(0,v.br)(n)}),c||!w)return g?(x(!0),void await new Promise(g).then((()=>{x(!1)})).catch((()=>{x(!1)}))):void(0,p.updateQueryString)({id:n});window.location.href=w},M=()=>(0,_.jsx)(h.Button,{className:C,isSecondary:!0,role:"button",href:u,onClick:()=>(0,l.recordEvent)("tasklist_payment_manage",{id:n}),children:(0,i.__)("Manage","woocommerce")}),j=()=>(0,_.jsx)(h.Button,{className:C,isPrimary:a,isSecondary:!a,isBusy:b,disabled:b,onClick:()=>E(),children:y}),S=()=>(0,_.jsx)(h.Button,{className:C,isSecondary:!0,onClick:()=>m(n),children:(0,i.__)("Enable","woocommerce")});return e?c?t?s&&c?(0,_.jsx)(h.Button,{className:C,isPrimary:a,isSecondary:!a,isBusy:b,disabled:b,onClick:()=>E(),children:(0,i.__)("Finish setup","woocommerce")}):(0,_.jsx)(j,{}):o?(0,_.jsx)(M,{}):(0,_.jsx)(S,{}):o?(0,_.jsx)(M,{}):(0,_.jsx)(j,{}):o?(0,_.jsx)(M,{}):(0,_.jsx)(S,{})},x=({isRecommended:e,markConfigured:t,paymentGateway:n})=>{const{image_72x72:o,content:r,id:s,plugins:a=[],title:c,loading:l,enabled:u=!1,installed:p=!1,needsSetup:f=!0,requiredSettings:v,settingsUrl:x,is_local_partner:C,external_link:E,transaction_processors:M}=n,j=(0,w.useSlot)(`woocommerce_payment_gateway_configure_${s}`),S=(0,w.useSlot)(`woocommerce_payment_gateway_setup_${s}`),N=Boolean(j?.fills?.length)||Boolean(S?.fills?.length),k=Boolean(a.length||v.length||N||E),I=e&&f,T=(0,g.Z)("woocommerce-task-payment","woocommerce-task-card",f&&"woocommerce-task-payment-not-configured","woocommerce-task-payment-"+s);return(0,_.jsxs)(d.Fragment,{children:[(0,_.jsxs)(h.CardBody,{style:{paddingLeft:0,marginBottom:0},className:T,children:[(0,_.jsx)(h.CardMedia,{isBorderless:!0,children:(0,_.jsx)("img",{src:o,alt:c,onError:e=>e.currentTarget.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAMAAABiM0N1AAAATlBMVEUAAADz9/f0+/v29/f29vb29/f19vb09vb09PT29/fz9vb2+Pj29vb2+Pj19vb3+fn2+Pj09vb29/fDxMfj5OXW19nx8vPp6uvJys3d3t9on+F5AAAAEnRSTlMAIBDfoM/vkGDeMO+PX+6fj493pkuNAAAA9klEQVRYw+3Yyw6CMBAF0On0QUHxcXmo//+j6koaIbFwE0PSs2RxM52QNjPyofHsA34WvGtVvpkqIJ8zktILVjqm5VisZidFNRYb2IZQT1KTWmxkVd6SPm/ouAHB+3AOBJWIguGgEkERxYHCiQeFlwCKg4CkBJWgXQSNj2HemBl07xbc84Ju3aJbVlDfdf3S978FDf2MIT9oQQn6KWj//1EJ2l0Q4WIjX7UYh3mPcffvWgkqQTloIwRtqOGNWREUrSinSSpSUU5GHNcpJV1JK41aOUuW2nDWPnXDWUS96pnQanWfVVLGId/paOSbts6HjBB/jpNqnnilXjdVFKs9AAAAAElFTkSuQmCC"})}),(0,_.jsxs)("div",{className:"woocommerce-task-payment__description",children:[(0,_.jsxs)(w.Text,{as:"h3",className:"woocommerce-task-payment__title",children:[(0,_.jsx)("span",{children:c}),I&&(0,_.jsx)(y.Pill,{className:!C&&"pill-green",children:C?(0,i.__)("Local Partner","woocommerce"):(0,i.__)("Recommended","woocommerce")}),p&&f&&!!a.length&&(0,_.jsx)(m.SetupRequired,{})]}),(0,_.jsx)("div",{className:"woocommerce-task-payment__content",children:r}),M&&(0,_.jsx)("div",{className:"woocommerce-task-payment__transaction-processors_images",children:Object.keys(M).map((e=>(0,_.jsx)("img",{src:M[e],alt:e},e)))})]}),(0,_.jsx)("div",{className:"woocommerce-task-payment__footer",children:(0,_.jsx)(b,{manageUrl:x,id:s,hasSetup:k,needsSetup:f,isEnabled:u,isInstalled:p,hasPlugins:Boolean(a.length),isRecommended:e,isLoading:l,markConfigured:t,externalLink:E})})]}),(0,_.jsx)(h.CardDivider,{})]},s)},C=({heading:e,headingDescription:t,markConfigured:n,recommendation:o,paymentGateways:r,footerLink:s})=>(0,_.jsxs)(h.Card,{children:[e&&(0,_.jsxs)(h.CardHeader,{as:"h2",children:[e,t&&(0,_.jsx)("p",{className:"woocommerce-task-payment-header__description",children:t})]}),r.map((e=>{const{id:t}=e;return(0,_.jsx)(x,{isRecommended:o===t,markConfigured:n,paymentGateway:e},t)})),s&&(0,_.jsx)(h.CardFooter,{isBorderless:!0,children:s})]}),E=()=>{const e=(0,g.Z)("woocommerce-task-payment","woocommerce-task-card");return(0,_.jsxs)(d.Fragment,{children:[(0,_.jsxs)(h.CardBody,{style:{paddingLeft:0,marginBottom:0},className:e,children:[(0,_.jsx)(h.CardMedia,{isBorderless:!0,children:(0,_.jsx)("span",{className:"is-placeholder"})}),(0,_.jsxs)("div",{className:"woocommerce-task-payment__description",children:[(0,_.jsx)(w.Text,{as:"h3",className:"woocommerce-task-payment__title",children:(0,_.jsx)("span",{className:"is-placeholder"})}),(0,_.jsx)("div",{className:"woocommerce-task-payment__content",children:(0,_.jsx)("span",{className:"is-placeholder"})})]}),(0,_.jsx)("div",{className:"woocommerce-task-payment__footer",children:(0,_.jsx)("span",{className:"is-placeholder"})})]}),(0,_.jsx)(h.CardDivider,{})]})},M=()=>(0,_.jsxs)(h.Card,{"aria-hidden":"true",className:"is-loading woocommerce-payment-gateway-suggestions-list-placeholder",children:[(0,_.jsx)(h.CardHeader,{as:"h2",children:(0,_.jsx)("span",{className:"is-placeholder"})}),(0,_.jsx)(E,{}),(0,_.jsx)(E,{}),(0,_.jsx)(E,{})]});var j=n(4174),S=n(9845);const N=({markConfigured:e,paymentGateway:t})=>{const{id:n,connectionUrl:o,setupHelpText:r,settingsUrl:s,title:d,requiredSettings:u}=t,{createNotice:p}=(0,a.useDispatch)("core/notices"),{updatePaymentGateway:f}=(0,a.useDispatch)(c.PAYMENT_GATEWAYS_STORE_NAME),g=(0,w.useSlot)(`woocommerce_payment_gateway_configure_${n}`),v=Boolean(g?.fills?.length),{isUpdating:b}=(0,a.useSelect)((e=>{const{isPaymentGatewayUpdating:t}=e(c.PAYMENT_GATEWAYS_STORE_NAME);return{isUpdating:t()}})),x=t=>{f(n,{enabled:!0,settings:t}).then((t=>{t&&t.id===n&&(e(n),p("success",(0,i.sprintf)((0,i.__)("%s configured successfully","woocommerce"),d)))})).catch((()=>{p("error",(0,i.__)("There was a problem saving your payment settings","woocommerce"))}))},C=r&&(0,_.jsx)("p",{dangerouslySetInnerHTML:(0,S.ZP)(r)}),E=(0,_.jsx)(y.DynamicForm,{fields:u,isBusy:b,onSubmit:x,submitLabel:(0,i.__)("Continue","woocommerce"),validate:e=>((e,t)=>{const n={},o=e=>t.find((t=>t.id===e));for(const[t,r]of Object.entries(e)){const e=o(t),s=e.label.replace(/([A-Z][a-z]+)/g,(e=>e.toLowerCase()));r||"checkbox"===e.type||(n[t]=`Please enter your ${s}`)}return n})(e,u)});return v?(0,_.jsx)(m.WooPaymentGatewayConfigure.Slot,{fillProps:{defaultForm:E,defaultSubmit:x,defaultFields:u,markConfigured:()=>e(n),paymentGateway:t},id:n}):o?(0,_.jsxs)(_.Fragment,{children:[C,(0,_.jsx)(h.Button,{isPrimary:!0,onClick:()=>(0,l.recordEvent)("tasklist_payment_connect_start",{payment_method:n}),href:o,children:(0,i.__)("Connect","woocommerce")})]}):u.length?(0,_.jsxs)(_.Fragment,{children:[C,E]}):(0,_.jsxs)(_.Fragment,{children:[C||(0,_.jsx)("p",{children:(0,i.__)("You can manage this payment gateway’s settings by clicking the button below","woocommerce")}),(0,_.jsx)(h.Button,{isPrimary:!0,href:s,children:(0,i.__)("Get started","woocommerce")})]})},k=({markConfigured:e,paymentGateway:t})=>{const{id:n,plugins:o=[],title:r,postInstallScripts:s,installed:u}=t,p=(0,w.useSlot)(`woocommerce_payment_gateway_setup_${n}`),f=Boolean(p?.fills?.length),[g,v]=(0,d.useState)(!1);(0,d.useEffect)((()=>{(0,l.recordEvent)("payments_task_stepper_view",{payment_method:n})}),[]);const{invalidateResolutionForStoreSelector:b}=(0,a.useDispatch)(c.PAYMENT_GATEWAYS_STORE_NAME),{isOptionUpdating:x,isPaymentGatewayResolving:C,needsPluginInstall:E}=(0,a.useSelect)((e=>{const{isOptionsUpdating:t}=e(c.OPTIONS_STORE_NAME),{isResolving:n}=e(c.PAYMENT_GATEWAYS_STORE_NAME),r=e(c.PLUGINS_STORE_NAME).getActivePlugins(),s=o.filter((e=>!r.includes(e)));return{isOptionUpdating:t(),isPaymentGatewayResolving:n("getPaymentGateways"),needsPluginInstall:!!s.length}}));(0,d.useEffect)((()=>{if(!E)if(s&&s.length){const e=s.map((e=>function(e){return new Promise(((t,n)=>{document.querySelector(`#${e.handle}-js`)&&t();const o=document.createElement("script");o.src=e.src,o.id=`${e.handle}-js`,o.async=!0,o.onload=t,o.onerror=n,document.body.appendChild(o)}))}(e)));Promise.all(e).then((()=>{v(!0)}))}else v(!0)}),[s,E]);const M=(0,d.useMemo)((()=>o&&o.length?{key:"install",label:(0,i.sprintf)((0,i.__)("Install %s","woocommerce"),r),content:(0,_.jsx)(y.Plugins,{onComplete:(e,t)=>{(0,j.a)(t),b("getPaymentGateways"),(0,l.recordEvent)("tasklist_payment_install_method",{plugins:o})},onError:(e,t)=>(0,j.a)(t),autoInstall:!0,pluginSlugs:o})}:null),[]),S=(0,d.useMemo)((()=>({key:"configure",label:(0,i.sprintf)((0,i.__)("Configure your %(title)s account","woocommerce"),{title:r}),content:u?(0,_.jsx)(N,{markConfigured:e,paymentGateway:t}):null})),[u]),k=E||x||C||!g,I=(0,_.jsx)(y.Stepper,{isVertical:!0,isPending:k,currentStep:E?"install":"configure",steps:[M,S].filter(Boolean)});return(0,_.jsx)(h.Card,{className:"woocommerce-task-payment-method woocommerce-task-card",children:(0,_.jsx)(h.CardBody,{children:f?(0,_.jsx)(m.WooPaymentGatewaySetup.Slot,{fillProps:{defaultStepper:I,defaultInstallStep:M,defaultConfigureStep:S,markConfigured:()=>e(n),paymentGateway:t},id:n}):I})})},I=()=>{const e=(0,g.Z)("is-loading","woocommerce-task-payment-method","woocommerce-task-card");return(0,_.jsx)(h.Card,{"aria-hidden":"true",className:e,children:(0,_.jsx)(h.CardBody,{children:(0,_.jsx)(y.Stepper,{isVertical:!0,currentStep:"none",steps:[{key:"first",label:""},{key:"second",label:""}]})})})};var T=n(86989),A=n.n(T);const L=({paymentGateway:e,onSetupCallback:t=null})=>{const{id:n,needsSetup:r,installed:s,enabled:l,installed:d}=e,u=(0,o.O3)("isWooPayEligible"),{createNotice:p}=(0,a.useDispatch)("core/notices");return s&&null===t&&(t=()=>{!function(e,t){const n=(0,i.__)("There was an error connecting to WooPayments. Please try again or connect later in store settings.","woocommerce");A()({path:c.WC_ADMIN_NAMESPACE+"/plugins/connect-wcpay",method:"POST"}).then((e=>{window.location=e.connectUrl})).catch((()=>{e("error",n),"function"==typeof t&&t()}))}(p)}),(0,_.jsx)("div",{className:"woocommerce-wcpay-suggestion",children:(0,_.jsxs)(m.WCPayBanner,{children:[(0,_.jsx)(m.WCPayBannerBody,{textPosition:"left",actionButton:(0,_.jsx)(b,{id:n,hasSetup:!0,needsSetup:r,isEnabled:l,isRecommended:!0,isInstalled:d,hasPlugins:!0,setupButtonText:(0,i.__)("Get started","woocommerce"),onSetupCallback:t}),bannerImage:(0,_.jsx)(m.WCPayBannerImageCut,{}),isWooPayEligible:u}),(0,_.jsx)(m.WCPayBenefits,{isWooPayEligible:u}),(0,_.jsx)(m.WCPayBannerFooter,{isWooPayEligible:u})]})})};var O=n(96483);const P=()=>{(0,l.recordEvent)("tasklist_payments_wcpay_bnpl_click")},D=({paymentGateway:e})=>{const{id:t,title:n,content:o,settingsUrl:r,image:s}=e;if(!r)return null;const a=(0,O.addQueryArgs)(r,{from:"WCADMIN_PAYMENT_TASK"});return(0,_.jsxs)(h.Card,{className:"woocommerce-wcpay-bnpl-suggestion",size:"medium",children:[(0,_.jsxs)("div",{className:"woocommerce-wcpay-bnpl-suggestion__contents-container",children:[(0,_.jsx)(h.CardHeader,{as:"h2",isBorderless:!0,style:{padding:0},children:n}),(0,_.jsx)(h.CardBody,{className:"woocommerce-wcpay-bnpl-suggestion__body",style:{padding:0},children:(0,_.jsxs)("div",{className:"woocommerce-wcpay-bnpl-suggestion__contents",style:s?{}:{maxWidth:"100%"},children:[(0,_.jsx)("p",{className:"woocommerce-wcpay-bnpl-suggestion__description",children:o}),(0,_.jsx)(h.Button,{className:"woocommerce-wcpay-bnpl-suggestion__button",variant:"primary",href:a,onClick:P,children:(0,i.__)("Get started","woocommerce")})]})})]}),s&&(0,_.jsx)("img",{alt:(0,i.__)("WooPayments BNPL illustration","woocommerce"),src:s,className:"svg-background"})]},t)};var R=n(27232);const H=(e,t)=>e.recommendation_priority-t.recommendation_priority,Z=e=>1===e.plugins?.length&&"woocommerce-payments"===e.plugins[0],z=(e,t)=>e.category_other&&-1!==e.category_other.indexOf(t),B={account_name:"",account_number:"",bank_name:"",sort_code:"",iban:"",bic:""};(0,u.registerPlugin)("wc-admin-payment-gateway-setup-bacs",{render:()=>{const e=(0,a.useSelect)((e=>e(c.OPTIONS_STORE_NAME).isOptionsUpdating())),{createNotice:t}=(0,a.useDispatch)("core/notices"),{updateOptions:n}=(0,a.useDispatch)(c.OPTIONS_STORE_NAME),o=e=>{const t={};return e.account_number||e.iban||(t.account_number=t.iban=(0,i.__)("Please enter an account number or IBAN","woocommerce")),t};return(0,_.jsx)(_.Fragment,{children:(0,_.jsx)(m.WooPaymentGatewaySetup,{id:"bacs",children:({markConfigured:r})=>(0,_.jsx)(y.Form,{initialValues:B,onSubmit:e=>(async(e,o)=>{if((await n({woocommerce_bacs_settings:{enabled:"yes"},woocommerce_bacs_accounts:[e]})).success)return o(),void t("success",(0,i.__)("Direct bank transfer details added successfully","woocommerce"));t("error",(0,i.__)("There was a problem saving your payment settings","woocommerce"))})(e,r),validate:o,children:({getInputProps:t,handleSubmit:n})=>(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(y.H,{children:(0,i.__)("Add your bank details","woocommerce")}),(0,_.jsx)("p",{children:(0,i.__)("These details are required to receive payments via bank transfer","woocommerce")}),(0,_.jsxs)("div",{className:"woocommerce-task-payment-method__fields",children:[(0,_.jsx)(y.TextControl,{label:(0,i.__)("Account name","woocommerce"),required:!0,...t("account_name")}),(0,_.jsx)(y.TextControl,{label:(0,i.__)("Account number","woocommerce"),required:!0,...t("account_number")}),(0,_.jsx)(y.TextControl,{label:(0,i.__)("Bank name","woocommerce"),required:!0,...t("bank_name")}),(0,_.jsx)(y.TextControl,{label:(0,i.__)("Sort code","woocommerce"),required:!0,...t("sort_code")}),(0,_.jsx)(y.TextControl,{label:(0,i.__)("IBAN","woocommerce"),required:!0,...t("iban")}),(0,_.jsx)(y.TextControl,{label:(0,i.__)("BIC / Swift","woocommerce"),required:!0,...t("bic")})]}),(0,_.jsx)(h.Button,{isPrimary:!0,isBusy:e,onClick:n,children:(0,i.__)("Save","woocommerce")})]})})})})},scope:"woocommerce-tasks"});const V=({onComplete:e,query:t})=>{const{updatePaymentGateway:n}=(0,a.useDispatch)(c.PAYMENT_GATEWAYS_STORE_NAME),{getPaymentGateway:o,paymentGatewaySuggestions:r,installedPaymentGateways:s,isResolving:u,countryCode:m}=(0,a.useSelect)((e=>{const{getSettings:t}=e(c.SETTINGS_STORE_NAME),{general:n={}}=t("general");return{getPaymentGateway:e(c.PAYMENT_GATEWAYS_STORE_NAME).getPaymentGateway,getOption:e(c.OPTIONS_STORE_NAME).getOption,installedPaymentGateways:e(c.PAYMENT_GATEWAYS_STORE_NAME).getPaymentGateways(),isResolving:e(c.ONBOARDING_STORE_NAME).isResolving("getPaymentGatewaySuggestions"),paymentGatewaySuggestions:e(c.ONBOARDING_STORE_NAME).getPaymentGatewaySuggestions(!0),countryCode:(0,R.so)(n.woocommerce_default_country)}}),[]),g=(0,d.useMemo)((()=>((e,t)=>{const n=e.reduce(((e,t)=>(e[t.id]=t,e)),{});return t.reduce(((e,t)=>{const o=(0,v.V7)(t.id),r=n[o]?n[o]:{},s={installed:!!n[o],postInstallScripts:r.post_install_scripts,hasPlugins:!(!t.plugins||!t.plugins.length),enabled:r.enabled||!1,needsSetup:r.needs_setup,settingsUrl:r.settings_url,connectionUrl:r.connection_url,setupHelpText:r.setup_help_text,title:r.title,requiredSettings:r.required_settings_keys?r.required_settings_keys.map((e=>r.settings[e])).filter(Boolean):[],...t};return e.set(t.id,s),e}),new Map)})(s,r)),[s,r]),y=(0,d.useCallback)((async t=>{if(!g.get(t))throw`Payment gateway ${t} not found in available gateways list`;(0,l.recordEvent)("tasklist_payment_connect_method",{payment_method:t}),(t=>{t&&o(t)&&n(t,{enabled:!0}).then((()=>{e(g.get(t)?.hasPlugins?{}:{redirectPath:(0,p.getQuery)()?.task?(0,p.getNewPath)({task:(0,p.getQuery)().task},{},"/"):(0,p.getNewPath)({task:"payments"},{},"/")})}))})(t)}),[g]),w=(0,d.useMemo)((()=>Array.from(g.values()).filter((e=>e.recommendation_priority)).sort(H).map((e=>e.id)).shift()),[g]),b=(0,d.useMemo)((()=>{if(!t.id||u||!g.size)return null;const e=(0,v.V7)(t.id),n=Array.from(g.entries()).find((([t])=>(0,v.V7)(t)===e))?.[1];if(!n)throw`Current gateway ${t.id} not found in available gateways list`;return n}),[u,t,g]),x=(0,d.useMemo)((()=>((e,t)=>{for(const[,n]of e.entries())if(n.installed&&!n.needsSetup){if(Z(n))return!0;if(z(n,t))return!0}return!1})(g,m)),[m,g]),E=-1!==Array.from(g.values()).findIndex(Z),[j,S,N,T]=(0,d.useMemo)((()=>((e,t,n,o)=>Array.from(e.values()).sort(H).reduce(((e,r)=>{const[s,i,a,c]=e;return Z(r)?n&&("woocommerce_payments:bnpl"===r.id?r.installed&&!r.needsSetup&&c.push(r):r.installed&&!r.needsSetup||s.push(r)):r.is_offline?i.push(r):r.enabled||(o?((e,t)=>e.category_additional&&-1!==e.category_additional.indexOf(t))(r,t)&&a.push(r):z(r,t)&&a.push(r)),e}),[[],[],[],[]]))(g,m,E,x)),[g,m,E,x]);if((0,d.useEffect)((()=>{let e=[];b||(j.length&&e.push(j[0].id),T.length&&e.push(T[0].id),N.length&&(e=e.concat(N.map((e=>e.id)))),e.length&&(0,l.recordEvent)("tasklist_payments_options",{options:e}))}),[N,b,j,T]),t.id&&!b)return(0,_.jsx)(I,{});if(b)return(0,_.jsx)(k,{paymentGateway:b,markConfigured:y});let A=(0,i.__)("Choose a payment provider","woocommerce"),O=(0,i.__)("To start accepting online payments","woocommerce");x?(A=(0,i.__)("Additional payment options","woocommerce"),O=(0,i.__)("Give your customers additional choices in ways to pay.","woocommerce")):E&&(A=(0,i.__)("Other payment providers","woocommerce"),O=(0,i.__)("Try one of the alternative payment providers.","woocommerce"));const P=!!N.length&&(0,_.jsx)(C,{heading:A,headingDescription:O,recommendation:!E&&w,paymentGateways:N,markConfigured:y,footerLink:(0,_.jsxs)(h.Button,{href:"https://woocommerce.com/product-category/woocommerce-extensions/payment-gateways/?utm_source=payments_recommendations",target:"_blank",onClick:()=>{(0,l.recordEvent)("tasklist_payment_see_more",{})},variant:"tertiary",children:[(0,i.__)("See more","woocommerce"),(0,_.jsx)(f.Z,{size:18})]})}),B=!!S.length&&(0,_.jsx)(C,{heading:(0,i.__)("Offline payment methods","woocommerce"),recommendation:!E&&w,paymentGateways:S,markConfigured:y});return(0,_.jsxs)("div",{className:"woocommerce-task-payments",children:[!g.size&&(0,_.jsx)(M,{}),j.length?(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(L,{paymentGateway:j[0]}),P,B]}):(0,_.jsxs)(_.Fragment,{children:[P,!!T.length&&(0,_.jsx)(D,{paymentGateway:T[0]}),B]})]})};(0,u.registerPlugin)("wc-admin-onboarding-task-payments",{scope:"woocommerce-tasks",render:()=>(0,_.jsx)(m.WooOnboardingTask,{id:"payments",children:({onComplete:e,query:t})=>(0,_.jsx)(V,{onComplete:e,query:t})})});var F=n(94333),U=n(92819),W=n(28302),G=n(74617),Y=n(35003),Q=n(68240),q=n(69596),$=n.n(q),J=n(59550),X=n(70444);const K=(0,_.jsx)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,_.jsx)(X.Path,{d:"M12 3.3c-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.8s-4-8.8-8.8-8.8zm6.5 5.5h-2.6C15.4 7.3 14.8 6 14 5c2 .6 3.6 2 4.5 3.8zm.7 3.2c0 .6-.1 1.2-.2 1.8h-2.9c.1-.6.1-1.2.1-1.8s-.1-1.2-.1-1.8H19c.2.6.2 1.2.2 1.8zM12 18.7c-1-.7-1.8-1.9-2.3-3.5h4.6c-.5 1.6-1.3 2.9-2.3 3.5zm-2.6-4.9c-.1-.6-.1-1.1-.1-1.8 0-.6.1-1.2.1-1.8h5.2c.1.6.1 1.1.1 1.8s-.1 1.2-.1 1.8H9.4zM4.8 12c0-.6.1-1.2.2-1.8h2.9c-.1.6-.1 1.2-.1 1.8 0 .6.1 1.2.1 1.8H5c-.2-.6-.2-1.2-.2-1.8zM12 5.3c1 .7 1.8 1.9 2.3 3.5H9.7c.5-1.6 1.3-2.9 2.3-3.5zM10 5c-.8 1-1.4 2.3-1.8 3.8H5.5C6.4 7 8 5.6 10 5zM5.5 15.3h2.6c.4 1.5 1 2.8 1.8 3.7-1.8-.6-3.5-2-4.4-3.7zM14 19c.8-1 1.4-2.2 1.8-3.7h2.6C17.6 17 16 18.4 14 19z"})});var ee=n(17844);const te=({zone:e})=>(0,_.jsx)("div",{className:"woocommerce-shipping-rate__icon",children:e.locations?e.locations.map((e=>(0,_.jsx)(y.Flag,{size:24,code:e.code},e.code))):(0,_.jsx)(J.Z,{icon:K})}),ne=({zone:e,getInputProps:t})=>(0,_.jsxs)("label",{htmlFor:`woocommerce-shipping-rate__toggle-${e.id}`,className:"woocommerce-shipping-rate__name",children:[e.name,(0,_.jsx)(h.FormToggle,{id:`woocommerce-shipping-rate__toggle-${e.id}`,...t(`${e.id}_enabled`)})]}),oe=({zone:e,values:t,setTouched:n,setValue:o,getFormattedRate:r,renderInputPrefix:s,renderInputSuffix:a,inputProps:{className:c,...l}})=>{const u=(0,g.Z)("muriel-input-text","woocommerce-shipping-rate__control-wrapper",c);return(0,_.jsxs)(d.Fragment,{children:[!e.toggleable&&(0,_.jsx)("div",{className:"woocommerce-shipping-rate__name",children:e.name}),(!e.toggleable||t[`${e.id}_enabled`])&&(0,_.jsx)(y.TextControlWithAffixes,{label:(0,i.__)("Shipping cost","woocommerce"),required:!0,className:u,...l,onBlur:()=>{n(`${e.id}_rate`),o(`${e.id}_rate`,r(t[`${e.id}_rate`]))},prefix:s(),suffix:a(t[`${e.id}_rate`])})]})};class re extends d.Component{constructor(){super(...arguments),this.updateShippingZones=this.updateShippingZones.bind(this),this.getFormattedRate=this.getFormattedRate.bind(this),this.renderInputPrefix=this.renderInputPrefix.bind(this),this.renderInputSuffix=this.renderInputSuffix.bind(this)}getShippingMethods(e,t=null){return e&&e.methods&&Array.isArray(e.methods)?t?e.methods?e.methods.filter((e=>e.method_id===t)):[]:e.methods:[]}disableShippingMethods(e,t){t.length&&t.forEach((t=>{A()({method:"POST",path:`/wc/v3/shipping/zones/${e.id}/methods/${t.instance_id}`,data:{enabled:!1}})}))}async updateShippingZones(e){const{createNotice:t,shippingZones:n}=this.props;let o=!1,r=!1;n.forEach((t=>{0===t.id?o=t.toggleable&&e[`${t.id}_enabled`]:r=""!==e[`${t.id}_rate`]&&parseFloat(e[`${t.id}_rate`])!==parseFloat(0);const n=this.getShippingMethods(t),s=parseFloat(e[`${t.id}_rate`])===parseFloat(0)?"free_shipping":"flat_rate",i=this.getShippingMethods(t,s).length?this.getShippingMethods(t,s)[0]:null;if(!t.toggleable||e[`${t.id}_enabled`]){if(i){const e=n.filter((e=>e.instance_id!==i.instance_id));this.disableShippingMethods(t,e)}A()({method:"POST",path:i?`/wc/v3/shipping/zones/${t.id}/methods/${i.instance_id}`:`/wc/v3/shipping/zones/${t.id}/methods`,data:{method_id:s,enabled:!0,settings:{cost:e[`${t.id}_rate`]}}})}else this.disableShippingMethods(t,n)})),(0,l.recordEvent)("tasklist_shipping_set_costs",{shipping_cost:r,rest_world:o}),t("success",(0,i.__)("Your shipping rates have been updated","woocommerce")),this.props.onComplete()}renderInputPrefix(){const{symbolPosition:e,symbol:t}=this.context.getCurrencyConfig();return 0===e.indexOf("right")?null:(0,_.jsx)("span",{className:"woocommerce-shipping-rate__control-prefix",children:t})}renderInputSuffix(e){const{symbolPosition:t,symbol:n}=this.context.getCurrencyConfig();return 0===t.indexOf("right")?(0,_.jsx)("span",{className:"woocommerce-shipping-rate__control-suffix",children:n}):parseFloat(e)===parseFloat(0)?(0,_.jsx)("span",{className:"woocommerce-shipping-rate__control-suffix",children:(0,i.__)("Free shipping","woocommerce")}):null}getFormattedRate(e){const{formatDecimalString:t}=this.context,n=t(e);return e.length&&n.length?t(e):t(0)}getInitialValues(){const{formatDecimalString:e}=this.context,t={};return this.props.shippingZones.forEach((n=>{const o=this.getShippingMethods(n),r=o.length&&o[0].settings.cost?this.getFormattedRate(o[0].settings.cost.value):e(0);t[`${n.id}_rate`]=r,o.length&&o[0].enabled?t[`${n.id}_enabled`]=!0:t[`${n.id}_enabled`]=!1})),t}validate(e){const t={};return Object.keys(e).filter((e=>e.endsWith("_rate"))).forEach((n=>{e[n]<0&&(t[n]=(0,i.__)("Shipping rates can not be negative numbers.","woocommerce"))})),t}render(){const{buttonText:e,shippingZones:t}=this.props;return t.length?(0,_.jsx)(y.Form,{initialValues:this.getInitialValues(),onSubmit:this.updateShippingZones,validate:this.validate,children:({getInputProps:n,handleSubmit:o,setTouched:r,setValue:s,values:a})=>(0,_.jsxs)(d.Fragment,{children:[(0,_.jsx)("div",{className:"woocommerce-shipping-rates",children:t.map((e=>(0,_.jsxs)("div",{className:"woocommerce-shipping-rate",children:[(0,_.jsx)(te,{zone:e}),(0,_.jsxs)("div",{className:"woocommerce-shipping-rate__main",children:[e.toggleable&&(0,_.jsx)(ne,{zone:e,getInputProps:n}),(0,_.jsx)(oe,{zone:e,values:a,inputProps:n(`${e.id}_rate`),setTouched:r,setValue:s,getFormattedRate:this.getFormattedRate,renderInputPrefix:this.renderInputPrefix,renderInputSuffix:this.renderInputSuffix})]})]},e.id)))}),(0,_.jsx)(h.Button,{isPrimary:!0,onClick:o,children:e||(0,i.__)("Update","woocommerce")})]})}):null}}re.propTypes={buttonText:$().string,onComplete:$().func.isRequired,createNotice:$().func.isRequired,shippingZones:$().array},re.defaultProps={shippingZones:[]},re.contextType=ee.CurrencyContext;const se=re;var ie=n(60133);const ae=({shippingMethod:e})=>(0,_.jsx)(ie.L,{features:e.layout_column?.features||[],logo:{image:e.layout_column?.image||""}}),ce=({shippingMethod:e,children:t})=>(0,_.jsx)(ie.L,{layout:"dual",features:e.layout_row?.features||[],logo:{image:e.layout_row?.image||""},description:e.description,children:t});var le=n(37406);class de extends d.Component{constructor(e){super(e),this.initialState={isPending:!1,step:"store_location",shippingZones:[]},this.activePlugins=e.activePlugins,this.state=this.initialState,this.completeStep=this.completeStep.bind(this),this.shippingSmartDefaultsEnabled=window.wcAdminFeatures&&window.wcAdminFeatures["shipping-smart-defaults"],this.storeLocationCompleted=!1,this.shippingPartners=e.shippingPartners,this.jetpackAuthRedirectUrl=(0,G.getAdminLink)("admin.php?page=wc-admin")}componentDidMount(){this.reset()}reset(){this.setState(this.initialState)}async fetchShippingZones(){const{countryCode:e,countryName:t}=this.props,n=[],o=await A()({path:"/wc/v3/shipping/zones"});let r=!1;if(await Promise.all(o.map((async t=>{if(0===t.id)return t.methods=await A()({path:`/wc/v3/shipping/zones/${t.id}/methods`}),t.name=(0,i.__)("Rest of the world","woocommerce"),t.toggleable=!0,void n.push(t);t.locations=await A()({path:`/wc/v3/shipping/zones/${t.id}/locations`}),t.locations.find((t=>e===t.code))&&(t.methods=await A()({path:`/wc/v3/shipping/zones/${t.id}/methods`}),n.push(t),r=!0)}))),!r){const o=await A()({method:"POST",path:"/wc/v3/shipping/zones",data:{name:t}});o.locations=await A()({method:"POST",path:`/wc/v3/shipping/zones/${o.id}/locations`,data:[{code:e,type:"country"}]}),n.push(o)}n.reverse(),this.setState({isPending:!1,shippingZones:n})}componentDidUpdate(e,t){const{countryCode:n,countryName:o,settings:r}=this.props,{woocommerce_store_address:s,woocommerce_default_country:i,woocommerce_store_postcode:a}=r,{step:c}=this.state;"rates"!==c||e.countryCode===n&&e.countryName===o&&"rates"===t.step||(this.setState({isPending:!0}),o&&this.fetchShippingZones());const l=Boolean(s&&i&&a);"store_location"===c&&l&&(this.shippingSmartDefaultsEnabled&&!this.storeLocationCompleted?(this.completeStep(),this.storeLocationCompleted=!0):this.shippingSmartDefaultsEnabled||this.completeStep())}completeStep(){const{createNotice:e,onComplete:t}=this.props,{step:n}=this.state,o=this.getSteps(),r=o.findIndex((e=>e.key===n)),s=o[r+1];s?this.setState({step:s.key}):(e("success",(0,i.__)("📦 Shipping is done! Don’t worry, you can always change it later","woocommerce")),t())}getSteps(){const{countryCode:e,createNotice:t,invalidateResolutionForStoreSelector:n,isJetpackConnected:o,onComplete:r,optimisticallyCompleteTask:s,settings:a,task:c,updateAndPersistSettingsForGroup:d,shippingPartners:u}=this.props,m=u,f=m.map((e=>e.slug)),w=()=>{(0,l.recordEvent)("tasklist_shipping_label_printing",{install:!1,plugins_to_activate:f}),(0,p.getHistory)().push((0,p.getNewPath)({},"/",{})),r()},v=!o&&"US"===e;let b=[{key:"store_location",label:(0,i.__)("Set store location","woocommerce"),description:(0,i.__)("The address from which your business operates","woocommerce"),content:(0,_.jsx)(Q.Z,{createNotice:t,updateAndPersistSettingsForGroup:d,settings:a,onComplete:e=>{const t=(0,R.so)(e.countryState);(0,l.recordEvent)("tasklist_shipping_set_location",{country:t}),this.shippingSmartDefaultsEnabled&&this.completeStep()}}),visible:!0},{key:"rates",label:(0,i.__)("Set shipping costs","woocommerce"),description:(0,i.__)("Define how much customers pay to ship to different destinations","woocommerce"),content:(0,_.jsx)(se,{buttonText:f.length||v?(0,i.__)("Continue","woocommerce"):(0,i.__)("Complete task","woocommerce"),shippingZones:this.state.shippingZones,onComplete:()=>{const{id:e}=c;s(e),n(),this.completeStep()},createNotice:t}),visible:"disabled"!==a.woocommerce_ship_to_countries},{key:"label_printing",label:(0,i.__)("Enable shipping label printing","woocommerce"),description:f.includes("woocommerce-shipstation-integration")?(0,W.Z)({mixedString:(0,i.__)("We recommend using ShipStation to save time at the post office by printing your shipping labels at home. Try ShipStation free for 30 days. {{link}}Learn more{{/link}}.","woocommerce"),components:{link:(0,_.jsx)(y.Link,{href:"https://woocommerce.com/products/shipstation-integration?utm_medium=product",target:"_blank",type:"external"})}}):(0,i.__)("With WooCommerce Shipping you can save time by printing your USPS and DHL Express shipping labels at home","woocommerce"),content:(0,_.jsxs)(_.Fragment,{children:[!o&&f.includes("woocommerce-services")&&(0,_.jsx)(le.O,{buttonText:(0,i.__)("Install & enable","woocommerce")}),(0,_.jsx)(y.Plugins,{onComplete:(e,t)=>{(0,j.a)(t),(0,l.recordEvent)("tasklist_shipping_label_printing",{install:!0,plugins_to_activate:f}),this.completeStep()},onError:(e,t)=>(0,j.a)(t),onSkip:()=>{(0,l.recordEvent)("tasklist_shipping_label_printing",{install:!1,plugins_to_activate:f}),n(),(0,p.getHistory)().push((0,p.getNewPath)({},"/",{})),r()},pluginSlugs:f})]}),visible:f.length},{key:"connect",label:(0,i.__)("Connect your store","woocommerce"),description:(0,i.__)("Connect your store to WordPress.com to enable label printing","woocommerce"),content:(0,_.jsx)(Y.Z,{redirectUrl:this.jetpackAuthRedirectUrl,completeStep:this.completeStep,onConnect:()=>{(0,l.recordEvent)("tasklist_shipping_connect_store")}}),visible:v}];if(this.shippingSmartDefaultsEnabled){const e={rates:{label:(0,i.__)("Review your shipping options","woocommerce"),description:(0,i.__)("We recommend the following shipping options based on your location. You can manage your shipping options again at any time in WooCommerce Shipping settings.","woocommerce"),onClick:"rates"!==this.state.step?()=>{this.setState({step:"rates"})}:void 0,content:(0,_.jsx)(se,{buttonText:(0,i.__)("Save shipping options","woocommerce"),shippingZones:this.state.shippingZones,onComplete:()=>{const{id:e}=c;s(e),n(),this.completeStep()},createNotice:t})},label_printing:{label:(0,i.__)("Enable shipping label printing and discounted rates","woocommerce"),description:1===m.length?(x=m[0].name,C=m[0].learn_more_link,(0,W.Z)({mixedString:(0,i.sprintf)((0,i.__)("Save time and money by printing your shipping labels right from your computer with %1$s. Try %2$s for free. {{link}}Learn more{{/link}}","woocommerce"),x,x),components:{link:(0,_.jsx)(y.Link,{href:C,target:"_blank",type:"external"})}})):(0,i.__)("Save time and money by printing your shipping labels right from your computer with one of these shipping solutions.","woocommerce"),content:(0,_.jsxs)(_.Fragment,{children:[1===m.length?(0,_.jsx)(ae,{shippingMethod:m[0]}):(0,_.jsx)("div",{className:"woocommerce-task-shipping-recommendation_plugins-install-container",children:m.map((e=>{var t;const o=[e?.slug,...null!==(t=e?.dependencies)&&void 0!==t?t:[]].filter((e=>void 0!==e));return(0,_.jsx)(ce,{shippingMethod:e,children:(0,_.jsx)("div",{className:"woocommerce-task-shipping-recommendations_plugins-buttons",children:(0,_.jsx)(y.Plugins,{onComplete:e=>{(0,j.a)(e),(0,l.recordEvent)("tasklist_shipping_label_printing",{install:!0,plugins_to_activate:o}),n(),this.completeStep()},onError:(e,t)=>(0,j.a)(t),installText:(0,i.__)("Install and enable","woocommerce"),learnMoreLink:e.learn_more_link,onLearnMore:()=>{(0,l.recordEvent)("tasklist_shipping_label_printing_learn_more",{plugin:e.slug})},pluginSlugs:o,installButtonVariant:"secondary"})})},e.name)}))}),1===m.length&&void 0===m[0].slug&&(0,_.jsx)("a",{href:m[0].learn_more_link,target:"_blank",rel:"noreferrer",children:(0,_.jsx)(h.Button,{variant:"primary",children:(0,i.__)("Download","woocommerce")})}),1===m.length&&m[0].slug?(0,_.jsxs)(_.Fragment,{children:[!o&&"woocommerce-services"===m[0].slug&&(0,_.jsx)(le.O,{buttonText:(0,i.__)("Install and enable","woocommerce")}),(0,_.jsx)(y.Plugins,{onComplete:(e,t)=>{(0,j.a)(t),(0,l.recordEvent)("tasklist_shipping_label_printing",{install:!0,plugins_to_activate:f}),n(),this.completeStep()},onError:(e,t)=>(0,j.a)(t),onSkip:w,pluginSlugs:f,installText:(0,i.__)("Install and enable","woocommerce")})]}):(0,_.jsx)(h.Button,{isTertiary:!0,onClick:w,className:(0,g.Z)("woocommerce-task-shipping-recommendations_skip-button",2===m.length?"dual":""),children:(0,i.__)("No Thanks","woocommerce")})]})},store_location:{label:(0,i.__)("Set your store location","woocommerce"),description:(0,i.__)("Add your store location to help us calculate shipping rates and the best shipping options for you. You can manage your store location again at any time in WooCommerce Settings General.","woocommerce"),onClick:"store_location"!==this.state.step?()=>{this.setState({step:"store_location"})}:void 0,buttonText:(0,i.__)("Save store location","woocommerce")}};b=b.map((t=>(e.hasOwnProperty(t.key)&&(t={...t,...e[t.key]}),t.key!==this.state.step&&(t.description=""),t)))}var x,C;return(0,U.filter)(b,(e=>e.visible))}render(){const{isPending:e,step:t}=this.state,{isUpdateSettingsRequesting:n}=this.props,o=this.getSteps();return(0,_.jsx)("div",{className:"woocommerce-task-shipping",children:(0,_.jsx)(h.Card,{className:"woocommerce-task-card",children:(0,_.jsx)(h.CardBody,{children:(0,_.jsx)(y.Stepper,{isPending:e||n,isVertical:!0,currentStep:t,steps:o})})})})}}const ue=(0,F.compose)((0,a.withSelect)((e=>{const{getSettings:t,isUpdateSettingsRequesting:n}=e(c.SETTINGS_STORE_NAME),{getActivePlugins:o,isJetpackConnected:r}=e(c.PLUGINS_STORE_NAME),{getCountry:s}=e(c.COUNTRIES_STORE_NAME),{general:i={}}=t("general"),a=(0,R.so)(i.woocommerce_default_country),l=e(c.SHIPPING_METHODS_STORE_NAME).getShippingMethods(),d=a?s(a):null,u=d?d.name:null,m=o();return{countryCode:a,countryName:u,isUpdateSettingsRequesting:n("general"),settings:i,activePlugins:m,isJetpackConnected:r(),shippingPartners:l}})),(0,a.withDispatch)((e=>{const{createNotice:t}=e("core/notices"),{updateAndPersistSettingsForGroup:n}=e(c.SETTINGS_STORE_NAME),{invalidateResolutionForStoreSelector:o,optimisticallyCompleteTask:r}=e(c.ONBOARDING_STORE_NAME);return{createNotice:t,invalidateResolutionForStoreSelector:o,optimisticallyCompleteTask:r,updateAndPersistSettingsForGroup:n}})))(de);(0,u.registerPlugin)("wc-admin-onboarding-task-shipping",{scope:"woocommerce-tasks",render:()=>(0,_.jsx)(m.WooOnboardingTask,{id:"shipping",children:({onComplete:e,task:t})=>(0,_.jsx)(ue,{onComplete:e,task:t})})});const me=({description:e,imageUrl:t,installAndActivate:n=(()=>{}),onManage:o=(()=>{}),isActive:r,isBusy:s,isBuiltByWC:a,isDisabled:c,isInstalled:d,manageUrl:u,name:m,slug:p})=>(0,_.jsxs)("div",{className:"woocommerce-plugin-list__plugin",children:[t&&(0,_.jsx)("div",{className:"woocommerce-plugin-list__plugin-logo",children:(0,_.jsx)("img",{src:t,alt:(0,i.sprintf)((0,i.__)("%s logo","woocommerce"),m)})}),(0,_.jsxs)("div",{className:"woocommerce-plugin-list__plugin-text",children:[(0,_.jsxs)(w.Text,{variant:"subtitle.small",as:"h4",children:[m,a&&(0,_.jsx)(y.Pill,{children:(0,i.__)("Built by WooCommerce","woocommerce")})]}),(0,_.jsx)(w.Text,{variant:"subtitle.small",children:e})]}),(0,_.jsxs)("div",{className:"woocommerce-plugin-list__plugin-action",children:[r&&u&&(0,_.jsx)(h.Button,{disabled:c,isBusy:s,isSecondary:!0,href:(0,G.getAdminLink)(u),onClick:()=>{(0,l.recordEvent)("marketing_manage",{extension_name:p}),o(p)},children:(0,i.__)("Manage","woocommerce")}),d&&!r&&(0,_.jsx)(h.Button,{disabled:c,isBusy:s,isSecondary:!0,onClick:()=>n(p),children:(0,i.__)("Activate","woocommerce")}),!d&&(0,_.jsx)(h.Button,{disabled:c,isBusy:s,isSecondary:!0,onClick:()=>n(p),children:(0,i.__)("Get started","woocommerce")})]})]}),pe=({currentPlugin:e,installAndActivate:t=(()=>{}),onManage:n=(()=>{}),plugins:o=[],title:r})=>(0,_.jsxs)("div",{className:"woocommerce-plugin-list",children:[r&&(0,_.jsx)("div",{className:"woocommerce-plugin-list__title",children:(0,_.jsx)(w.Text,{variant:"sectionheading",as:"h3",children:r})}),o.map((o=>{const{description:r,imageUrl:s,isActive:i,isBuiltByWC:a,isInstalled:c,manageUrl:l,slug:d,name:u}=o;return(0,_.jsx)(me,{description:r,manageUrl:l,name:u,imageUrl:s,installAndActivate:t,onManage:n,isActive:i,isBuiltByWC:a,isBusy:e===d,isDisabled:!!e,isInstalled:c,slug:d},d)}))]}),he=["task-list/grow","task-list/reach"],fe=({onComplete:e})=>{const[t,n]=(0,d.useState)(null),{actionTask:o}=(0,a.useDispatch)(c.ONBOARDING_STORE_NAME),{installAndActivatePlugins:r}=(0,a.useDispatch)(c.PLUGINS_STORE_NAME),{activePlugins:s,freeExtensions:u,installedPlugins:m,isResolving:f}=(0,a.useSelect)((e=>{const{getActivePlugins:t,getInstalledPlugins:n}=e(c.PLUGINS_STORE_NAME),{getFreeExtensions:o,hasFinishedResolution:r}=e(c.ONBOARDING_STORE_NAME);return{activePlugins:t(),freeExtensions:o(),installedPlugins:n(),isResolving:!r("getFreeExtensions")}})),[g,y]=(0,d.useMemo)((()=>((e,t,n)=>{const o=[],r=[];return e.sort(((e,t)=>he.indexOf(e.key)-he.indexOf(t.key))).forEach((e=>{if(!he.includes(e.key))return;const s=[];if(e.plugins.forEach((e=>{const r=((e,t,n)=>{const{description:o,image_url:r,is_built_by_wc:s,key:i,manage_url:a,name:c}=e,l=(0,v.V7)(i);return{description:o,slug:l,imageUrl:r,isActive:t.includes(l),isInstalled:n.includes(l),isBuiltByWC:s,manageUrl:a,name:c}})(e,t,n);r.isInstalled?o.push(r):s.push(r)})),!s.length)return;const i={...e,plugins:s};r.push(i)})),[o,r]})(u,s,m)),[m,s,u]),b=t=>{n(t),o("marketing"),r([t]).then((o=>{(0,l.recordEvent)("tasklist_marketing_install",{selected_extension:t,installed_extensions:g.map((e=>e.slug)),section_order:y.map((e=>e.key)).join(", ")}),(0,j.a)(o),n(null),e({redirectPath:(0,p.getNewPath)({task:"marketing"})})})).catch((e=>{(0,j.a)(e),n(null)}))},x=()=>{o("marketing")};return f?(0,_.jsx)(h.Spinner,{}):(0,_.jsxs)("div",{className:"woocommerce-task-marketing",children:[!!g.length&&(0,_.jsxs)(h.Card,{className:"woocommerce-task-card",children:[(0,_.jsx)(h.CardHeader,{children:(0,_.jsx)(w.Text,{variant:"title.small",as:"h2",className:"woocommerce-task-card__title",children:(0,i.__)("Installed marketing extensions","woocommerce")})}),(0,_.jsx)(pe,{currentPlugin:t,installAndActivate:b,onManage:x,plugins:g})]}),!!y.length&&(0,_.jsxs)(h.Card,{className:"woocommerce-task-card",children:[(0,_.jsxs)(h.CardHeader,{children:[(0,_.jsx)(w.Text,{variant:"title.small",as:"h2",className:"woocommerce-task-card__title",children:(0,i.__)("Recommended marketing extensions","woocommerce")}),(0,_.jsx)(w.Text,{as:"span",children:(0,i.__)('We recommend adding one of the following marketing tools for your store. The extension will be installed and activated for you when you click "Get started".',"woocommerce")})]}),y.map((e=>{const{key:n,title:o,plugins:r}=e;return(0,_.jsx)(pe,{currentPlugin:t,installAndActivate:b,onManage:x,plugins:r,title:o},n)}))]})]})};(0,u.registerPlugin)("wc-admin-onboarding-task-marketing",{scope:"woocommerce-tasks",render:()=>(0,_.jsx)(m.WooOnboardingTask,{id:"marketing",children:({onComplete:e})=>(0,_.jsx)(fe,{onComplete:e})})}),n(99196);const ge=()=>({onClick:()=>{window.location=(0,G.getAdminLink)("theme-install.php?browse=block-themes")}}),ye=()=>{const{onClick:e}=ge();return(0,_.jsx)(m.WooOnboardingTaskListItem,{id:"appearance",children:({defaultTaskItem:t})=>(0,_.jsx)(t,{onClick:e})})};(0,u.registerPlugin)("wc-admin-onboarding-task-appearance",{scope:"woocommerce-tasks",render:()=>(0,_.jsx)(ye,{})});var we=n(89560);const ve=()=>(0,_.jsx)("svg",{width:"13",height:"10",viewBox:"0 0 13 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,_.jsx)("path",{d:"M12.1883 1.1814L4.7091 8.66062L1.48438 5.4359",stroke:"#4AB866",strokeWidth:"1.5"})}),_e=({name:e,logo:t,description:n,benefits:o,terms:r,actionText:s,onClick:i,isBusy:a,children:c})=>(0,_.jsxs)("div",{className:"woocommerce-tax-partner-card",children:[(0,_.jsx)("div",{className:"woocommerce-tax-partner-card__logo",children:(0,_.jsx)("img",{src:t,alt:e})}),(0,_.jsx)("div",{className:"woocommerce-tax-partner-card__description",children:n}),(0,_.jsx)("ul",{className:"woocommerce-tax-partner-card__benefits",children:o.map(((e,t)=>(0,_.jsxs)("li",{className:"woocommerce-tax-partner-card__benefit",children:[(0,_.jsx)("span",{className:"woocommerce-tax-partner-card__benefit-bullet",children:(0,_.jsx)(ve,{})}),(0,_.jsx)("span",{className:"woocommerce-tax-partner-card__benefit-text",children:e})]},t)))}),(0,_.jsxs)("div",{className:"woocommerce-tax-partner-card__action",children:[(0,_.jsx)("div",{className:"woocommerce-tax-partner-card__terms",children:r}),c||(0,_.jsx)(h.Button,{isSecondary:!0,onClick:i,isBusy:a,disabled:a,children:s})]})]}),be=()=>(0,_.jsx)(_e,{name:(0,i.__)("WooCommerce Tax","woocommerce"),logo:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHwAAABACAYAAADYphNoAAAACXBIWXMAABPiAAAT4gGV96Y5AAASgElEQVR42u1ce3RV1ZnfS8FHZw310bHMOAs7glhACAl5XJKcexMeOnXajlaWtasqau2yM221tR0UQx43yT03gYCAhocPYkxABnkoWilWqSgICkiLyquElxiEioAgJCS53/y+vc/JPffk3nNOQvrP9PzxrZ177zn7fHv/vvf+TgQRCZ/+fsjfBB9wn3zAffIB98kH3CcfcJ98wH3yAffJB9wnH3CffMB98gH3yQfcJx9wH3Cf/l4AjwRJ1IwmEcmnfnqQGqJB+lzXiDAmJd38W6NPcN0CfP6XKsxROpLEhkY1aXubGmMxUAeJjnYSX50k8cStJMqzSVQG8DyNxuL+N0DH8fdJzLMKdENNPuYaReLTnep+vlfOE0uce0MDrksnoRcQr+EK8DOLeQJv7Xo+HcLfddNG08BIiEQJeNu4MH5/R1t8Az56ncSs74Mn7EG1hvmwFtx/Bfj6NeZ6A/M0g9rw/VGMG/FbaWQEDQDPguf+38EkFlWSaF0cn5PXbK4/2aab35vXMW17gcSKcZgTfFRhXjxLPD4WY5C0aD7V4vk7QSfx+Sx+24OxEbxM0A0+mH9eB6/HnLOjrSsfYhovNI/W6ArElEAnBd+4HoA3lWfRRU/dSeLsyThIVoBWRhWQuPYKMPqlbrlfNwmfq4P055IM6vuqnni/XEC7GnetxUaEJDDCEJRE3rU46SH6DEJ22dN3kzjzZXy+cx+QeLGMxNRxUtgFnt0fG7vBypfTmgE4094nc2jYvDQSc/NIbFqKec8avKYA3fzMv8d4fa0kNuO+avBQCQFuHCF5uVtnIdMs6wna1mfwYlAMVM37wetZUQw+WhL3zHwuPyhLD6aY2AsZD4VULioBs3vft2gSA4/xyB5sKjakMkh9cM/JVJvK30V4zKfplbkkmndZtLxdbVLLhyRqh5MI50rheSvqYo2kEBXS5mJo+V82KN52rIG1wRyzr1eWDXNsNTfPs7Abc5eHiOaOoqPhPPrWZMy38EESba2GZbOBngB2TF23CNcXDZEgi0gm3WoB0TMfUSV8ShBzaT6vdfYtJLb/0cDiXPz5rCEf9gjoroBT2Si6/OCf4iCZD3o5TKI4A1JcSJusi7FquFViowVEJel02b5NceExNXMptHIWzOhTOVTMmx1NpgXW+ZlCcr7rju4F6OtJgE8RxgbPD9D9JnDmxulWt+Wg4dZnVYBfWAcWrNpiaHvDL5Smx2xm2zTj/D3/3ojriqEkUwvpUsyzWw8lrsOLhtstpPy9gM6VZdLXynMA+puJlpIlqzVqWXBPAJcjmIVP/bflD8elqgPjkVewuXnS9GbqVlObajMNgADKqANblfDwXDwebIJ2w+zNTaeLwwV0JtU8dmGUliOPRqyaBqtQCEujrMOsilAigD3RcDsAAP1dCfrP4d4MF2LGIHItber75/8bYOO66jF0Fe5r15MJajc03LoXUgELYebzaVA4i8THa+KgM+DvRm2a1l2SD2CtHERD6n+hJm9j7T5OYvF4EjOHy0Bkt+6mQaaGs/CMooL9W4y5WtW4HL7pMWySXkgLWKOchFS3zldI7ZGhdHHpUBWUYf7HrZuqa+e3dps/peqx9M5jeNbyKYkm1Rz5e/4dYF+J6zus1qWn1jZhDuUWGZNYOIf6z0KwfOakATgk/Zrygu5JVTINZ5Nemk2Bxl/Hzdfm52C2roE0A7zKoLtvMpll4YGGjz/wQdz3HEbUXjFaRuSXR1kjNI9gs3anU10E5i2KDEHPonv1UFe3ct5kM6/Yj2cqkI1sez0R7I9WYx0BKXR9cd3h3gDbvn92YecsZVmRYdJrboT5yaYlrFW80TAFndSdDZEankmBhocUQC3wUc/dDLD/GT5Ko6aIlwUZAEnhyVCAy0AnphhmxvGc5bqDW7Cbcpb0SDYN1AE2xiuRxrXrHiyadfP0oEcLqMVNvYxpsilz9vdInP5KaVfLacQf/4nUNFNavHLdo2XVXT67CT2edZhN++f7Afgz2MSaYYgUb6CvwafUgZpBVAKCr/MMOgNemkWB5w2TvmkRTNYgEjPy6DthjwFR1Kbhe42gjaN1zt9x7zWuYFv8K0euFUHSK0Myn+X7X+ypZkfsMYvmIZAtoO1FiDn2zFGCu67RENpCupYF0avQRZNkUbrmLZg23RWwTOM6iGjfR2JNHYlXIiQ4qHltKonfVatx9q0yoa/xtCkhpeELH1ZByZOQ7KkACSblgJu/TTaX1PA/Y64vSDx9BwAfLUF7wxr4pfKpnb40l068+S26iFMeXD8w4gK2VZhMLZWWbgzRdKu2O2imTbNo7mD67vL7lOAu+AkJKIVAFP1sKveW7Bm6oQS8L9WFtowmmHpvbe6ilQtejmW4F+CPsfE18mEetLI4nQLLkDZtWYnUB7nltAKawJLc3fhAuoc0Gs/5+7YVJB5BHFCVSxm6SwTbCZixyIUj6I5l10u/z8HpdMcYwlJQiaootx3ZxW+K0ujC8hsgdAOlhbgN15xOmEdzFtzpI+nd+feS2PW2qohh/is9aacRePEc+G53WQYNqUAcMgW8YOyHwHCxNU5x0nJeUzXmgmvtK/NCM881ias0PDb+UuasNcZDXbUyHKDA05DiOT9EKpYhN/mQ1ax0J+oNZ9P4pg0k5sHKRIbJqtpG3U07g/E8vixAa2cion8CliGsSpV7UwJu8pevcurnRtF7cyBkNXj2qpkItCDES4rlRsuyMNY6x014zN/hTlq47LmuHvfmS8DHON2bUHgJUawyj27m+zmy54Bv9XRlecvhKqaPoysi+XGLZJ8zob6hPtcl1WyzHMdVIwbci4bLSQsoUJ6r8lxEwnd1t3plA288B4DVo0C5dJM1snY05wZwU/rTsHoI38JJss4/IBpy4cUI8JAqffLqt+mCT+8h0bozcV8OfdTp5ji7WW1PhZKCrnz1vy96QO4JK8H8VFqpW9wJj+FcKpqJ5x36OJGP4wdJLP0fBfrUIPWPeNByQ9NjvQp4BIBDu+SBBj4f7kmAZFn0eA7UqlSw9aFbydH6O/itmXQJiU/WkVgRltWsH5hrSKnhJq8BumvBj5G3tsTrCXwI0WakVfs3KesFARruFk9YCiIzwojMIyPlWvY7BZ2WNR7h6uSezRY+2uM1iZbjJGpZ+PKk9XrLzfqZv/cO4Fpcw9lPYfKf9TQatkjjeC6SYLzTi1uwgH0GkfGlb84m8dUxpZHIex+Nhty1AAFRe+kQ6tu0rmsNurPi19Hp6hj0/bqThhtmtZKDzUxp+S51yrktppyzlFVceuW6u1lp7DyQMvjasxE+nQs4BXS9ozJYqNc1PKLM1tGkDGgp/k4BeKUm54r7Xs2hxGlsZFke3Rm9Eeb4DIl9iPKLRsqKVpWTwJjflwdoR+1tJE4dNQ5sOhJPu8x6NB8QIZjlXHpx1C0QVL+vi+TK6PwyPegedBp1iF9ZD6Ksp23mkfOpI4iXJsC0B+hyT+XvXtVwDh4KYdKD9BvptzSPuaWThmv0cJf0I8VcERVZbypFUPV2Y1wDkDnwRs/wEjhi47bwBp4+0hXwmLHxPDa9bxz1hmiea/CmeNsYVYrwDcfIXuus0jHgd7kC/leY9dtlMPl1pxjFWjjqXZOuAXCNjnXZBM12Th2kj6Oaqx8fj78/c3MNuqWWjwg6ffGk+Cad+AxR+g9kZF3ulGmYqcvUEB2ASRd/2WgAnMSkc9Wv8aFOwH/nBrZcZz69ZQDeL+piaXQj4ynLpHDDL+OnjnaTzvzt3qjStKoxzqme9TSw10y6schXdScJiy/2Qbf0CnO95wS2bjsWRAT8BKdNh7Ypv2cGN0Yt4QFeg1ugVAUq0+ja+ptx76F4g4L1qPfgB4grcqTV6MunXI5xSnyjF4WzZT/ABdyR4yWiRjy0vQRpZdN7iUEb88N8MX8N38XaIEjg+0dutQ55dl/Q2xpuO7SwF0OMcSK+nxj1IpEuQV/E1O4x1FaSSf3WLogfQZpdNwsfkq1QQVPDncDh49J5OTR39iASv5+BSPirJGnZLSpzmFZIEyJe82mNHnzht0b7lEYbXLVRucg2CHBfDjr5uVY+mK/XwN/MwSTmBagP+O5ImS1o8caSuVm9mJY5HtTnd/rZNvx9CQNufud5rhRCUcVR8Gi6Z+YtqoVJdpN0xAGv+ykJaEofAN6W6hCk81QNf1fngTQaU5wFdwB/vpoLL2+QWFasTuuq8iTY36zMxyYH3St+PIK/q96pU21ZcAMPWdMkR4sTpD1sTSpBy4sUH8zPLPjtx7n6lyUFSPdyTMzCvGwINfcu4Cn8q1mAQNR9U6XqH5sYOY+jQGsBpmIMbefjxq2vJAY45ri+vjOift01dTF8eUT50Z9z/b4IZpU7R7hhkgEDBSL5LqY8aEmvsqhp7o8QF6yT6RNr+XC3LMUaVwB0bqK8hNcgS6tpqr1rWpD6VOXTyojD8aq1/QnXUlkh3e4KuNdauuOZdL5M2U4A9D7sy7AREyP5PRegzg0pJGq8lrKXPtY1bzY1nOvxDBjuuccxn9e6pFISMET+n2L8PcZdepL2IpfSKJUMo9oXH1F81d0PXrLgx0N0yqmQZBVoS49AO4T2vepC+iPuP613PRxJHTep8musIjvF4YkJuFlL77GGx+vJNDWTsp65hwQTQJ94Xk0GxrwN6fTU+v4kPt2hTLnJtzVvZvO+dDLMero8Sz/sZE71brqVlB2txoFRdYjOVl5LfbnLloWPW6W50ROgfd+tO9bxGNbj2YRVoOBWVnLny99Owy117SfyaP/Kr5PYtlq10Ban0UQ5p9ZzDYd2x+YMpG8c+6GKWq295tZ18EazQLDZx/336yFvz+1uA4S91Ulah3Sa8/SNJL48qvg7e4rEk7fBJ2dR3+hoOuHYqOgmeG5VNS2h362Dmy4+P+AN8EeiBd6lyg42TDnVXUdDdyK/bT1LYpGKmr8nCwXd6aOzmcDwIPpp7ZjEQC3ZWkxfvrwU2gUeojn0tnkQ02vtTUk0Cr53XxU2eeeqxL68zUtITB4gI/2RerD3eeg85jX2HxkMPZZO9y571OFVIxPw+p9JwP+jKtSDgMrw0TDn70xDwPGl8WZGPUfNw2logoZ7PR82AqrKAtr724tJbHqmayXK3vRvannzVqxlqAwY/9H0oVHt/BoYuwSmBk0tRJo4mK5+2RJbSF5Yy4+ReA6+vCRDdr78KsHF9AYvVkvIfQUB2jodVuXMCaOJMRXgzOBLZfDhmbLI0GHdHN2Ljw0ahYxhdPXyMtWyzHOumKIOHiKhJBW5oHMHSAXGGhakbMp89m7ko190fRUppQDH1Gs43NsFH3sNNKytPNS1KtZtK6Ylgs4dMsUjKIfbkGWb8rnEV4tkT3oLief/q7NNudaexnW3g9het4gY9XhkRM3FCFg/srYpO5lBbiLkYCdaSM0JmqB5kHbW4MF0X8VgEkebsFDzeBFzTsGcNeNolW6PMLXkG2puBleKXhtOJY3Xk/ikOdEapaLOtz2M67avkZGyKNfoqvnwo6lahXQvLyJYtZN99lhqRc4/ONmLCFY++Dv+vcF4EQH3TTbnSOjq0Vzal5L1ualOVSrPpk0VUNYd9hcRnEyhfAFwAkxhJl2CSdrsaY2eLJUxTPm0kfSHyReR2FJveTGB54RpmYdAKxqgCzHnMXt6Ym8fkpYiX2n3klG0/v1/IPFFvaHV55xf2rODbqZtO99C8DTCeNUoSC9H3UxqkrOBBFPMpnM0bZs0jC7kOrt81Sjm7VUjvn7yUNlDMCyaFX9lSE/Rm5aw/8Gu3S5IwWJFGXT7TJjxHWuTvGpELuXVnes6GwgHwO+2OTXf8Yjknp4P0MqyIXTBC/chUDsVN7vmnPs2qOIBhOOfqvPpZLJGAuuGlmJDn8qm9XPT6MItD2COU3Ez7QZ2Kk1v+xOJJWHVnYMIfgCeuSviwZfqxqtFskCj8tu/FmdQxuw7SLz/kgG2x5cJ5UuNAGPLCvCQrjpaF6bRJLMPMOLQD2i1gFV5yjpU5FCDjmzkJWRCbaleJnTUCMMM8PtYYXXgzx0WM7q0LxtMFX+bmj/4Vxp4+HISh8ca88WSnyk3QcvK04zXfXOpCHPGolrXAAhCcWrL1VRwsB+J3Xh+C7n7bFfQDV/Kf/OJmqwNZMkWpD4A8lHzhcekHTEYV11HLRhn4/Ol7B62LLMdX8Y8vi5sufb4XkTw3wHoOZ1vxg6qvYnW6km6aXUjCjdevNxVo9E4Lqo8ey/WcyQeLyQTOv8lef8/QPjkA+6TD7hPPuA++YD75APukw+4Tz7gPvmA++QD7pMPuE8+4D75gPuA++QD7tP/R/o/Rhlh0Rwph2EAAAAASUVORK5CYII=",description:(0,i.__)("WooCommerce Tax, recommended for new stores","woocommerce"),benefits:[(0,i.__)("Real-time sales tax calculation","woocommerce"),(0,W.Z)({mixedString:(0,i.__)("{{strong}}Single{{/strong}} economic nexus compliance","woocommerce"),components:{strong:(0,_.jsx)("strong",{})}}),(0,i.__)("100% free","woocommerce")],terms:(0,_.jsx)(le.O,{buttonText:(0,i.__)("Continue setup","woocommerce")}),actionText:(0,i.__)("Continue setup","woocommerce"),onClick:()=>{(0,l.recordEvent)("tasklist_tax_select_option",{selected_option:"woocommerce-tax"}),(0,p.updateQueryString)({partner:"woocommerce-tax"})}}),xe="stripe-tax-for-woocommerce",Ce=()=>{window.location.href=(0,G.getAdminLink)("/admin.php?page=wc-settings&tab=stripe_tax_for_woocommerce")},Ee=({task:{additionalData:{stripeTaxActivated:e}={stripeTaxActivated:!1}}})=>{const{createSuccessNotice:t}=(0,a.useDispatch)("core/notices");return(0,_.jsx)(_e,{name:(0,i.__)("Stripe Tax","woocommerce"),logo:"data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHg9IjAiIHk9IjAiIHZpZXdCb3g9IjAgMCA0NjggMjIyLjUiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ2OCAyMjIuNSIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHN0eWxlPi5zdDB7ZmlsbC1ydWxlOmV2ZW5vZGQ7Y2xpcC1ydWxlOmV2ZW5vZGQ7ZmlsbDojMGEyNTQwfTwvc3R5bGU+PHBhdGggY2xhc3M9InN0MCIgZD0iTTQxNCAxMTMuNGMwLTI1LjYtMTIuNC00NS44LTM2LjEtNDUuOC0yMy44IDAtMzguMiAyMC4yLTM4LjIgNDUuNiAwIDMwLjEgMTcgNDUuMyA0MS40IDQ1LjMgMTEuOSAwIDIwLjktMi43IDI3LjctNi41di0yMGMtNi44IDMuNC0xNC42IDUuNS0yNC41IDUuNS05LjcgMC0xOC4zLTMuNC0xOS40LTE1LjJoNDguOWMwLTEuMy4yLTYuNS4yLTguOXptLTQ5LjQtOS41YzAtMTEuMyA2LjktMTYgMTMuMi0xNiA2LjEgMCAxMi42IDQuNyAxMi42IDE2aC0yNS44ek0zMDEuMSA2Ny42Yy05LjggMC0xNi4xIDQuNi0xOS42IDcuOGwtMS4zLTYuMmgtMjJ2MTE2LjZsMjUtNS4zLjEtMjguM2MzLjYgMi42IDguOSA2LjMgMTcuNyA2LjMgMTcuOSAwIDM0LjItMTQuNCAzNC4yLTQ2LjEtLjEtMjktMTYuNi00NC44LTM0LjEtNDQuOHptLTYgNjguOWMtNS45IDAtOS40LTIuMS0xMS44LTQuN2wtLjEtMzcuMWMyLjYtMi45IDYuMi00LjkgMTEuOS00LjkgOS4xIDAgMTUuNCAxMC4yIDE1LjQgMjMuMyAwIDEzLjQtNi4yIDIzLjQtMTUuNCAyMy40ek0yMjMuOCA2MS43bDI1LjEtNS40VjM2bC0yNS4xIDUuM3pNMjIzLjggNjkuM2gyNS4xdjg3LjVoLTI1LjF6TTE5Ni45IDc2LjdsLTEuNi03LjRoLTIxLjZ2ODcuNWgyNVY5Ny41YzUuOS03LjcgMTUuOS02LjMgMTktNS4ydi0yM2MtMy4yLTEuMi0xNC45LTMuNC0yMC44IDcuNHpNMTQ2LjkgNDcuNmwtMjQuNCA1LjItLjEgODAuMWMwIDE0LjggMTEuMSAyNS43IDI1LjkgMjUuNyA4LjIgMCAxNC4yLTEuNSAxNy41LTMuM1YxMzVjLTMuMiAxLjMtMTkgNS45LTE5LTguOVY5MC42aDE5VjY5LjNoLTE5bC4xLTIxLjd6TTc5LjMgOTQuN2MwLTMuOSAzLjItNS40IDguNS01LjQgNy42IDAgMTcuMiAyLjMgMjQuOCA2LjRWNzIuMmMtOC4zLTMuMy0xNi41LTQuNi0yNC44LTQuNkM2Ny41IDY3LjYgNTQgNzguMiA1NCA5NS45YzAgMjcuNiAzOCAyMy4yIDM4IDM1LjEgMCA0LjYtNCA2LjEtOS42IDYuMS04LjMgMC0xOC45LTMuNC0yNy4zLTh2MjMuOGM5LjMgNCAxOC43IDUuNyAyNy4zIDUuNyAyMC44IDAgMzUuMS0xMC4zIDM1LjEtMjguMi0uMS0yOS44LTM4LjItMjQuNS0zOC4yLTM1Ljd6Ii8+PC9zdmc+",description:(0,i.__)("Powerful global tax tool","woocommerce"),benefits:[(0,i.__)("Real-time sales tax calculation","woocommerce"),(0,i.__)("Multi-economic nexus compliance","woocommerce"),(0,i.__)("Detailed tax transaction reports","woocommerce"),(0,i.__)("Coverage in over 55 countries","woocommerce")],terms:(0,i.__)("Free to install, then pay as you go.","woocommerce"),onClick:()=>{},children:e?(0,_.jsx)(h.Button,{variant:"secondary",onClick:()=>{(0,l.recordEvent)("tasklist_tax_setup_stripe_tax_to_settings"),Ce()},children:(0,i.__)("Continue to setttings","woocommerce")}):(0,_.jsx)(y.Plugins,{installText:(0,i.__)("Install for free","woocommerce"),onClick:()=>{(0,l.recordEvent)("tasklist_tax_select_option",{selected_option:xe})},onComplete:()=>{(0,l.recordEvent)("tasklist_tax_install_plugin_success",{selected_option:xe});const{updateAndPersistSettingsForGroup:e}=(0,a.dispatch)(c.SETTINGS_STORE_NAME);e("general",{general:{woocommerce_calc_taxes:"yes"}}).then((()=>{t((0,i.__)("Stripe Tax for Woocommerce has been successfully installed. Let's configure it now.","woocommerce")),Ce()}))},onError:(e,t)=>{(0,l.recordEvent)("tasklist_tax_install_plugin_error",{selected_option:xe,errors:e}),(0,j.a)(t)},installButtonVariant:"secondary",pluginSlugs:[xe]})})},Me=({isPending:e,onManual:t})=>{const{generalSettings:n}=(0,a.useSelect)((e=>{const{getSettings:t}=e(c.SETTINGS_STORE_NAME);return{generalSettings:t("general")?.general}}));return(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(h.Button,{isPrimary:!0,disabled:e,isBusy:e,onClick:()=>{(0,l.recordEvent)("tasklist_tax_config_rates",{}),t()},children:(0,i.__)("Configure","woocommerce")}),(0,_.jsx)("p",{children:"yes"!==n?.woocommerce_calc_taxes&&(0,W.Z)({mixedString:(0,i.__)('By clicking "Configure" you\'re enabling tax rates and calculations. More info {{link}}here{{/link}}.',"woocommerce"),components:{link:(0,_.jsx)(y.Link,{href:"https://woocommerce.com/document/setting-up-taxes-in-woocommerce/?utm_medium=product#section-1",target:"_blank",type:"external",children:(0,_.jsx)(_.Fragment,{})})}})})]})},je=e=>{const t=(0,Q.z)(e);return document.getElementById("woocommerce-store-address-form-address_1")&&!e.addressLine1.trim().length&&(t.addressLine1=(0,i.__)("Please enter an address","woocommerce")),document.getElementById("woocommerce-store-address-form-postcode")&&!e.postCode.trim().length&&(t.postCode=(0,i.__)("Please enter a post code","woocommerce")),document.getElementById("woocommerce-store-address-form-city")&&!e.city.trim().length&&(t.city=(0,i.__)("Please enter a city","woocommerce")),t},Se=({nextStep:e})=>{const{createNotice:t}=(0,a.useDispatch)("core/notices"),{updateAndPersistSettingsForGroup:n}=(0,a.useDispatch)(c.SETTINGS_STORE_NAME),{generalSettings:o,isResolving:r,isUpdating:s}=(0,a.useSelect)((e=>{const{getSettings:t,hasFinishedResolution:n,isUpdateSettingsRequesting:o}=e(c.SETTINGS_STORE_NAME);return{generalSettings:t("general")?.general,isResolving:!n("getSettings",["general"]),isUpdating:o("general")}}));return(0,d.useEffect)((()=>{r||s||!(0,we.AO)(o||{},Boolean(document.getElementById("woocommerce-store-address-form-postcode")))||e()}),[r,o,s]),r?null:(0,_.jsx)(Q.Z,{validate:je,onComplete:e=>{const t=(0,R.so)(e.countryState);(0,l.recordEvent)("tasklist_tax_set_location",{country:t})},isSettingsRequesting:!1,settings:o,updateAndPersistSettingsForGroup:n,createNotice:t})},Ne=({isPending:e,onDisable:t,onAutomate:n,onManual:o})=>{const[r,s]=(0,d.useState)(0),a={isPending:e,onAutomate:n,onDisable:t,nextStep:()=>{s(r+1)},onManual:o},c=[{key:"store_location",label:(0,i.__)("Set store location","woocommerce"),description:(0,i.__)("The address from which your business operates","woocommerce"),content:(0,_.jsx)(Se,{...a})},{key:"manual_configuration",label:(0,i.__)("Configure tax rates","woocommerce"),description:(0,i.__)("Head over to the tax rate settings screen to configure your tax rates","woocommerce"),content:(0,_.jsx)(Me,{...a})}],l=c[r];return(0,_.jsx)(y.Stepper,{isVertical:!0,currentStep:l.key,steps:c})},ke=({children:e,isPending:t,onManual:n,onDisable:o})=>{const r=(0,g.Z)("woocommerce-task-card","woocommerce-tax-partners",`woocommerce-tax-partners__partners-count-${d.Children.count(e)}`);return(0,_.jsxs)(h.Card,{className:r,children:[(0,_.jsx)(h.CardHeader,{children:(0,i.__)("Choose a tax partner","woocommerce")}),(0,_.jsxs)(h.CardBody,{children:[(0,_.jsx)("div",{className:"woocommerce-tax-partners__partners",children:e}),(0,_.jsxs)("ul",{className:"woocommerce-tax-partners__other-actions",children:[(0,_.jsx)("li",{children:(0,_.jsx)(h.Button,{isTertiary:!0,disabled:t,isBusy:t,onClick:()=>{n()},children:(0,i.__)("Set up taxes manually","woocommerce")})}),(0,_.jsx)("li",{children:(0,_.jsx)(h.Button,{isTertiary:!0,disabled:t,isBusy:t,onClick:()=>{o()},children:(0,i.__)("I don’t charge sales tax","woocommerce")})})]})]})]})},Ie=({isPending:e,onAutomate:t,onManual:n,onDisable:o})=>(0,_.jsxs)("div",{className:"woocommerce-task-tax__success",children:[(0,_.jsx)("span",{className:"woocommerce-task-tax__success-icon",role:"img","aria-labelledby":"woocommerce-task-tax__success-message",children:"🎊"}),(0,_.jsx)(y.H,{id:"woocommerce-task-tax__success-message",children:(0,i.__)("Good news!","woocommerce")}),(0,_.jsx)("p",{children:(0,W.Z)({mixedString:(0,i.__)("{{strong}}WooCommerce Tax{{/strong}} can automate your sales tax calculations for you.","woocommerce"),components:{strong:(0,_.jsx)("strong",{})}})}),(0,_.jsx)(h.Button,{isPrimary:!0,isBusy:e,onClick:()=>{(0,l.recordEvent)("tasklist_tax_setup_automated_proceed",{setup_automatically:!0}),t()},children:(0,i.__)("Yes please","woocommerce")}),(0,_.jsx)(h.Button,{disabled:e,isTertiary:!0,onClick:()=>{(0,l.recordEvent)("tasklist_tax_setup_automated_proceed",{setup_automatically:!1}),n()},children:(0,i.__)("No thanks, I'll set up manually","woocommerce")}),(0,_.jsx)(h.Button,{disabled:e,isTertiary:!0,onClick:o,children:(0,i.__)("I don't charge sales tax","woocommerce")})]}),Te=({onDisable:e,onManual:t})=>(0,_.jsx)(Y.Z,{onConnect:()=>{(0,l.recordEvent)("tasklist_tax_connect_store",{connect:!0,no_tax:!1})},onSkip:()=>{(0,l.queueRecordEvent)("tasklist_tax_connect_store",{connect:!1,no_tax:!1}),t()},skipText:(0,i.__)("Set up tax rates manually","woocommerce"),onAbort:()=>e(),abortText:(0,i.__)("My business doesn't charge sales tax","woocommerce")}),Ae=e=>"object"==typeof e&&null!==e,Le=({nextStep:e,onDisable:t,onManual:n,pluginsToActivate:o})=>{const{updateOptions:r}=(0,a.useDispatch)(c.OPTIONS_STORE_NAME),{isResolving:s,tosAccepted:u}=(0,a.useSelect)((e=>{const{getOption:t,hasFinishedResolution:n}=e(c.OPTIONS_STORE_NAME),o=t("wc_connect_options");return{isResolving:!n("getOption",["woocommerce_setup_jetpack_opted_in"])||!n("getOption",["wc_connect_options"]),tosAccepted:Ae(o)&&o?.tos_accepted||"1"===t("woocommerce_setup_jetpack_opted_in")}}));return(0,d.useEffect)((()=>{u&&!o.length&&e()}),[s,e,o.length,u]),s?null:(0,_.jsxs)(_.Fragment,{children:[!u&&(0,_.jsx)(le.O,{buttonText:(0,i.__)("Install & enable","woocommerce")}),(0,_.jsx)(y.Plugins,{onComplete:(t,n)=>{(0,j.a)(n),(0,l.recordEvent)("tasklist_tax_install_extensions",{install_extensions:!0}),r({woocommerce_setup_jetpack_opted_in:!0}),e()},onError:(e,t)=>(0,j.a)(t),onSkip:()=>{(0,l.queueRecordEvent)("tasklist_tax_install_extensions",{install_extensions:!1}),n()},skipText:(0,i.__)("Set up manually","woocommerce"),onAbort:()=>t(),abortText:(0,i.__)("I don't charge sales tax","woocommerce"),pluginSlugs:o})]})},Oe=({isPending:e,onDisable:t,onAutomate:n,onManual:o})=>{const[r,s]=(0,d.useState)([]),{activePlugins:l,isResolving:u}=(0,a.useSelect)((e=>{const{getSettings:t}=e(c.SETTINGS_STORE_NAME),{hasFinishedResolution:n}=e(c.OPTIONS_STORE_NAME),{getActivePlugins:o}=e(c.PLUGINS_STORE_NAME);return{activePlugins:o(),generalSettings:t("general")?.general,isResolving:!n("getOption",["woocommerce_setup_jetpack_opted_in"])||!n("getOption",["wc_connect_options"])}})),[m,p]=(0,d.useState)(0);(0,d.useEffect)((()=>{const e=(0,U.difference)(we.c7,l);e.length<=r.length||s(e)}),[l,r.length]);const h={isPending:e,isResolving:u,onAutomate:n,onDisable:t,nextStep:()=>{p(m+1)},onManual:o,pluginsToActivate:r},f=[{key:"store_location",label:(0,i.__)("Set store location","woocommerce"),description:(0,i.__)("The address from which your business operates","woocommerce"),content:(0,_.jsx)(Se,{...h})},{key:"plugins",label:(0,i.__)("Install WooCommerce Tax","woocommerce"),description:(0,i.__)("WooCommerce Tax allows you to automate sales tax calculations","woocommerce"),content:(0,_.jsx)(Le,{...h})},{key:"connect",label:(0,i.__)("Connect your store","woocommerce"),description:(0,i.__)("Connect your store to WordPress.com to enable automated sales tax calculations","woocommerce"),content:(0,_.jsx)(Te,{...h})}],g=f[m];return(0,_.jsx)(y.Stepper,{isPending:u,isVertical:!0,currentStep:g.key,steps:f})},Pe=({isPending:e,onAutomate:t,onManual:n,onDisable:o})=>{const{generalSettings:r,isJetpackConnected:s,isResolving:i,pluginsToActivate:l}=(0,a.useSelect)((e=>{const{getSettings:t}=e(c.SETTINGS_STORE_NAME),{getActivePlugins:n,hasFinishedResolution:o}=e(c.PLUGINS_STORE_NAME),r=n();return{generalSettings:t("general").general,isJetpackConnected:e(c.PLUGINS_STORE_NAME).isJetpackConnected(),isResolving:!o("isJetpackConnected")||!e(c.SETTINGS_STORE_NAME).hasFinishedResolution("getSettings",["general"])||!o("getActivePlugins"),pluginsToActivate:(0,U.difference)(we.c7,r)}}));if(i)return(0,_.jsx)(y.Spinner,{});const d={isPending:e,onAutomate:t,onManual:n,onDisable:o};return(0,we.AO)(r||{})&&!l.length&&s?(0,_.jsx)(Ie,{...d}):(0,_.jsx)(Oe,{...d})},De=({children:e})=>(0,_.jsx)(h.Card,{className:"woocommerce-task-card",children:(0,_.jsx)(h.CardBody,{children:e})}),Re=({onComplete:e,query:t,task:n})=>{const[o,r]=(0,d.useState)(!1),{updateOptions:s}=(0,a.useDispatch)(c.OPTIONS_STORE_NAME),{createNotice:u}=(0,a.useDispatch)("core/notices"),{updateAndPersistSettingsForGroup:m}=(0,a.useDispatch)(c.SETTINGS_STORE_NAME),{generalSettings:p,isResolving:f,taxSettings:g}=(0,a.useSelect)((e=>{const{getSettings:t,hasFinishedResolution:n}=e(c.SETTINGS_STORE_NAME);return{generalSettings:t("general").general,isResolving:!n("getSettings",["general"]),taxSettings:t("tax").tax||{}}})),y=(0,d.useCallback)((async()=>{r(!0),"yes"!==p?.woocommerce_calc_taxes?(m("tax",{tax:{...g,wc_connect_taxes_enabled:"no"}}),m("general",{general:{...p,woocommerce_calc_taxes:"yes"}}).then((()=>(0,we._9)())).catch((e=>{r(!1),(0,j.a)(e)}))):(0,we._9)()}),[p,g,m]),w=(0,d.useCallback)((async()=>{r(!0);try{await Promise.all([m("tax",{tax:{...g,wc_connect_taxes_enabled:"yes"}}),m("general",{general:{...p,woocommerce_calc_taxes:"yes"}})])}catch(e){return r(!1),void u("error",(0,i.__)("There was a problem setting up automated taxes. Please try again.","woocommerce"))}u("success",(0,i.__)("You’re awesome! One less item on your to-do list ✅","woocommerce")),e()}),[u,p,e,g,m]),v=(0,d.useCallback)((()=>{r(!0),(0,l.queueRecordEvent)("tasklist_tax_connect_store",{connect:!1,no_tax:!0}),s({woocommerce_no_sales_tax:!0,woocommerce_calc_taxes:"no"}).then((()=>{window.location.href=(0,G.getAdminLink)("admin.php?page=wc-admin")}))}),[s]),b=(0,d.useMemo)((()=>{const e=(0,R.so)(p?.woocommerce_default_country)||"",{additionalData:{woocommerceTaxCountries:t=[],stripeTaxCountries:o=[],taxJarActivated:r,woocommerceTaxActivated:s,woocommerceShippingActivated:i}={}}=n;return[{id:"woocommerce-tax",card:be,component:Pe,isVisible:!r&&!s&&!i&&t.includes(e)},{id:"stripe-tax",card:Ee,isVisible:o.includes(e)}].filter((e=>e.isVisible))}),[]),{auto:x}=t;(0,d.useEffect)((()=>{"true"===x&&w()}),[x,w]),(0,d.useEffect)((()=>{t.partner||(0,l.recordEvent)("tasklist_tax_view_options",{options:b.map((e=>e.id))})}),[b,t.partner]);const C=(0,d.useMemo)((()=>t.partner&&b.find((e=>e.id===t.partner))||null),[b,t.partner]),E={isPending:o,onAutomate:w,onManual:y,onDisable:v,task:n};return f?(0,_.jsx)(h.Spinner,{}):b.length?C?(0,_.jsx)(De,{children:C.component&&(0,d.createElement)(C.component,E)}):(0,_.jsx)(ke,{...E,children:b.map((e=>e.card&&(0,d.createElement)(e.card,{key:e.id,...E})))}):(0,_.jsx)(De,{children:(0,_.jsx)(Ne,{...E})})};(0,u.registerPlugin)("wc-admin-onboarding-task-tax",{scope:"woocommerce-tasks",render:()=>(0,_.jsx)(m.WooOnboardingTask,{id:"tax",children:({onComplete:e,query:t,task:n})=>(0,_.jsx)(Re,{onComplete:e,query:t,task:n})})}),(0,u.registerPlugin)("woocommerce-admin-task-wcpay-page",{scope:"woocommerce-tasks",render:()=>(0,_.jsx)(m.WooOnboardingTask,{id:"woocommerce-payments",children:({onComplete:e,query:t})=>(0,_.jsx)(V,{onComplete:e,query:t})})});const He=()=>{const[e,t]=(0,d.useState)([]),{isResolving:n,taskLists:o}=(0,a.useSelect)((e=>({isResolving:e(c.ONBOARDING_STORE_NAME).isResolving("getTaskLists"),taskLists:e(c.ONBOARDING_STORE_NAME).getTaskLists()})));return(0,d.useEffect)((()=>{if(o&&o.length>0){const e=[];for(const t of o)for(const n of t.tasks)n.isDeprecated&&n.container&&e.push(n);t(e)}}),[o]),n?null:(0,_.jsx)(_.Fragment,{children:e.map((e=>(0,_.jsx)(m.WooOnboardingTask,{id:e.id,children:()=>e.container},e.id)))})};(0,u.registerPlugin)("wc-admin-deprecated-task-container",{scope:"woocommerce-tasks",render:()=>(0,_.jsx)(He,{})}),(0,u.registerPlugin)("woocommerce-admin-task-launch-your-store",{scope:"woocommerce-tasks",render:()=>(0,_.jsx)(m.WooOnboardingTaskListItem,{id:"launch-your-store",children:({defaultTaskItem:e,isComplete:t})=>(0,_.jsx)(e,{isClickable:!t})})}),(async()=>{s()?Promise.all([n.e(6262),n.e(5077)]).then(n.bind(n,58533)):Promise.all([n.e(6262),n.e(823)]).then(n.bind(n,78591))})(),window.wcAdminFeatures&&window.wcAdminFeatures["shipping-smart-defaults"]&&n.e(9956).then(n.bind(n,39956));var Ze=n(56592),ze=n(83518),Be=n(46530);var Ve=n(10791);var Fe=n(22629),Ue=n(69090);class We extends d.Component{constructor(e){super(e),this.state={purchaseNowButtonBusy:!1,purchaseLaterButtonBusy:!1}}onClickPurchaseNow(){const{productIds:e,onClickPurchaseNow:t}=this.props;if(this.setState({purchaseNowButtonBusy:!0}),!e.length)return;(0,l.recordEvent)("tasklist_modal_proceed_checkout",{product_ids:e,purchase_install:!0});const n=(0,Ue.C)("https://woocommerce.com/cart?utm_medium=product",{"wccom-replace-with":e.join(",")});t?t(n):window.location=n}onClickPurchaseLater(){const{productIds:e}=this.props;(0,l.recordEvent)("tasklist_modal_proceed_checkout",{product_ids:e,purchase_install:!1}),this.setState({purchaseLaterButtonBusy:!0}),this.props.onClickPurchaseLater()}onClose(){const{onClose:e,productIds:t}=this.props;(0,l.recordEvent)("tasklist_modal_proceed_checkout",{product_ids:t,purchase_install:!1}),e()}renderProducts(){const{productIds:e,productTypes:t}=this.props,{themes:n=[]}=(0,o.O3)("onboarding",{}),r=[];return e.forEach((e=>{const o=(0,U.find)(t,(t=>t.product===e));o&&r.push({title:o.label,content:o.description});const s=(0,U.find)(n,(t=>t.id===e));s&&r.push({title:(0,i.sprintf)((0,i.__)("%1$s — %2$s per year","woocommerce"),s.title,(0,Fe.decodeEntities)(s.price)),content:(0,_.jsx)("span",{dangerouslySetInnerHTML:(0,S.ZP)(s.excerpt)})})})),(0,_.jsx)(y.List,{items:r})}render(){const{purchaseNowButtonBusy:e,purchaseLaterButtonBusy:t}=this.state;return(0,_.jsxs)(h.Modal,{title:(0,i.__)("Would you like to add the following paid features to your store now?","woocommerce"),onRequestClose:()=>this.onClose(),className:"woocommerce-cart-modal",children:[this.renderProducts(),(0,_.jsx)("p",{className:"woocommerce-cart-modal__help-text",children:(0,i.__)("You won’t have access to this functionality until the extensions have been purchased and installed.","woocommerce")}),(0,_.jsxs)("div",{className:"woocommerce-cart-modal__actions",children:[(0,_.jsx)(h.Button,{isLink:!0,isBusy:t,onClick:()=>this.onClickPurchaseLater(),children:(0,i.__)("I’ll do it later","woocommerce")}),(0,_.jsx)(h.Button,{isPrimary:!0,isBusy:e,onClick:()=>this.onClickPurchaseNow(),children:(0,i.__)("Buy now","woocommerce")})]})]})}}const Ge=(0,F.compose)((0,a.withSelect)((e=>{const{getInstalledPlugins:t}=e(c.PLUGINS_STORE_NAME),{getProductTypes:n,getProfileItems:o}=e(c.ONBOARDING_STORE_NAME),r=o(),s=t(),i=n();return{profileItems:r,productIds:(0,R.jt)(i,r,!1,s),productTypes:i}})))(We),Ye={store_details:({task:e,goToTask:t})=>(0,_.jsxs)("div",{className:"woocommerce-task-header__contents-container",children:[(0,_.jsx)("img",{alt:(0,i.__)("Store location illustration","woocommerce"),src:o.vm+"images/task_list/store-details-illustration.png",className:"svg-background"}),(0,_.jsxs)("div",{className:"woocommerce-task-header__contents",children:[(0,_.jsx)("h1",{children:(0,i.__)("First, tell us about your store","woocommerce")}),(0,_.jsx)("p",{children:(0,i.__)("Get your store up and running in no time. Add your store’s address to set up shipping, tax and payments faster.","woocommerce")}),(0,_.jsx)(h.Button,{isSecondary:e.isComplete,isPrimary:!e.isComplete,onClick:t,children:(0,i.__)("Add details","woocommerce")})]})]}),"customize-store":({task:e,goToTask:t})=>{const n=(0,Ve.V)()?(0,i.__)("Use our built-in AI tools to design your store and populate it with content, or select a pre-built theme and customize it to fit your brand.","woocommerce"):(0,i.__)("Quickly create a beautiful looking store using our built-in store designer, or select a pre-built theme and customize it to fit your brand.","woocommerce");return(0,_.jsxs)("div",{className:`woocommerce-task-header__contents-container woocommerce-task-header__${e.id}`,children:[(0,_.jsx)("img",{alt:(0,i.__)("Customize your store illustration","woocommerce"),src:o.vm+"images/task_list/customize-store-illustration.svg",className:"svg-background"}),(0,_.jsxs)("div",{className:"woocommerce-task-header__contents",children:[(0,_.jsx)("h1",{children:(0,i.__)("Start customizing your store","woocommerce")}),(0,_.jsx)("p",{children:n}),(0,_.jsx)(h.Button,{isSecondary:e.isComplete,isPrimary:!e.isComplete,onClick:t,children:(0,i.__)("Start customizing","woocommerce")})]})]})},tax:({task:e,goToTask:t})=>(0,_.jsxs)("div",{className:"woocommerce-task-header__contents-container",children:[(0,_.jsx)("img",{alt:(0,i.__)("Tax illustration","woocommerce"),src:o.vm+"images/task_list/tax-illustration.svg",className:"svg-background"}),(0,_.jsxs)("div",{className:"woocommerce-task-header__contents",children:[(0,_.jsx)("h1",{children:(0,i.__)("Configure your tax settings","woocommerce")}),(0,_.jsx)("p",{children:(0,i.__)("Choose to set up your tax rates manually, or use one of our tax automation tools.","woocommerce")}),(0,_.jsx)(h.Button,{isSecondary:e.isComplete,isPrimary:!e.isComplete,onClick:t,children:(0,i.__)("Collect sales tax","woocommerce")})]})]}),shipping:({task:e,goToTask:t})=>(0,_.jsxs)("div",{className:"woocommerce-task-header__contents-container",children:[(0,_.jsx)("img",{alt:(0,i.__)("Shipping illustration","woocommerce"),src:o.vm+"images/task_list/shipping-illustration.svg",className:"svg-background"}),(0,_.jsxs)("div",{className:"woocommerce-task-header__contents",children:[(0,_.jsx)("h1",{children:(0,i.__)("Get your products shipped","woocommerce")}),(0,_.jsx)("p",{children:(0,i.__)("Choose where and how you’d like to ship your products, along with any fixed or calculated rates.","woocommerce")}),(0,_.jsx)(h.Button,{isSecondary:e.isComplete,isPrimary:!e.isComplete,onClick:t,children:(0,i.__)("Start shipping","woocommerce")})]})]}),marketing:({task:e,goToTask:t})=>(0,_.jsxs)("div",{className:"woocommerce-task-header__contents-container",children:[(0,_.jsx)("img",{alt:(0,i.__)("Marketing illustration","woocommerce"),src:o.vm+"images/task_list/sales-illustration.svg",className:"svg-background"}),(0,_.jsxs)("div",{className:"woocommerce-task-header__contents",children:[(0,_.jsx)("h1",{children:(0,i.__)("Reach more customers","woocommerce")}),(0,_.jsx)("p",{children:(0,i.__)("Start growing your business by showcasing your products on social media and Google, boost engagement with email marketing, and more!","woocommerce")}),(0,_.jsx)(h.Button,{isSecondary:e.isComplete,isPrimary:!e.isComplete,onClick:t,children:(0,i.__)("Grow your business","woocommerce")})]})]}),appearance:({task:e})=>{const{onClick:t}=ge(),n=e.title,r=e.content,s=e.actionLabel;return(0,_.jsxs)("div",{className:"woocommerce-task-header__contents-container",children:[(0,_.jsx)("img",{alt:(0,i.__)("Appearance illustration","woocommerce"),src:o.vm+"images/task_list/expand-section-illustration.png",className:"svg-background"}),(0,_.jsxs)("div",{className:"woocommerce-task-header__contents",children:[(0,_.jsx)("h1",{children:n}),(0,_.jsx)("p",{children:r}),(0,_.jsx)(h.Button,{isSecondary:e.isComplete,isPrimary:!e.isComplete,onClick:t,children:s})]})]})},payments:({task:e,goToTask:t})=>(0,_.jsxs)("div",{className:"woocommerce-task-header__contents-container",children:[(0,_.jsx)("img",{alt:(0,i.__)("Payment illustration","woocommerce"),src:o.vm+"images/task_list/payment-illustration.svg",className:"svg-background"}),(0,_.jsxs)("div",{className:"woocommerce-task-header__contents",children:[(0,_.jsx)("h1",{children:(0,i.__)("It’s time to get paid","woocommerce")}),(0,_.jsx)("p",{children:(0,i.__)("Give your customers an easy and convenient way to pay! Set up one (or more!) of our fast and secure online or in person payment methods.","woocommerce")}),(0,_.jsx)(h.Button,{isSecondary:e.isComplete,isPrimary:!e.isComplete,onClick:t,children:(0,i.__)("Get paid","woocommerce")})]})]}),products:({task:e,goToTask:t})=>{const n=s();return(0,_.jsxs)("div",{className:"woocommerce-task-header__contents-container",children:[(0,_.jsx)("img",{alt:(0,i.__)("Products illustration","woocommerce"),src:o.vm+"images/task_list/sales-section-illustration.svg",className:"svg-background"}),(0,_.jsxs)("div",{className:"woocommerce-task-header__contents",children:[(0,_.jsx)("h1",{children:n?(0,i.__)("Import your products","woocommerce"):(0,i.__)("List your products","woocommerce")}),(0,_.jsx)("p",{children:(0,i.__)("Start selling by adding products or services to your store. Choose to list products manually, or import them from a different store. ","woocommerce")}),(0,_.jsx)(h.Button,{isSecondary:e.isComplete,isPrimary:!e.isComplete,onClick:t,children:n?(0,i.__)("Import products","woocommerce"):(0,i.__)("Add products","woocommerce")})]})]})},purchase:({task:e})=>{const[t,n]=(0,d.useState)(!1),r=(0,d.useCallback)((()=>{t||(0,l.recordEvent)("tasklist_purchase_extensions"),n(!t)}),[t]);return(0,_.jsxs)("div",{className:"woocommerce-task-header__contents-container",children:[(0,_.jsx)("img",{alt:(0,i.__)("Purchase illustration","woocommerce"),src:o.vm+"images/task_list/purchase-illustration.png",className:"svg-background"}),(0,_.jsxs)("div",{className:"woocommerce-task-header__contents",children:[(0,_.jsx)("h1",{children:e.title}),(0,_.jsx)("p",{children:(0,i.__)("Good choice! You chose to add amazing new features to your store. Continue to checkout to complete your purchase.","woocommerce")}),(0,_.jsx)(h.Button,{isSecondary:e.isComplete,isPrimary:!e.isComplete,onClick:r,children:(0,i.__)("Continue","woocommerce")})]}),t&&(0,_.jsx)(Ge,{onClose:()=>r(),onClickPurchaseLater:()=>r()})]})},"woocommerce-payments":({task:e,trackClick:t})=>{const n=(0,o.O3)("wcpayWelcomePageIncentive")||window.wcpaySettings?.connectIncentive,{createNotice:r}=(0,a.useDispatch)("core/notices"),[s,l]=(0,d.useState)(!1);return(0,_.jsxs)("div",{className:"woocommerce-task-header__contents-container",children:[(0,_.jsx)("img",{alt:(0,i.__)("Payment illustration","woocommerce"),src:o.vm+"images/task_list/payment-illustration.svg",className:"svg-background"}),(0,_.jsxs)("div",{className:"woocommerce-task-header__contents",children:[(0,_.jsx)("h1",{children:(0,i.__)("It’s time to get paid","woocommerce")}),n?.task_header_content?(0,_.jsx)("p",{dangerouslySetInnerHTML:(0,S.ZP)(n.task_header_content)}):(0,_.jsx)("p",{children:(0,i.__)("Power your payments with a simple, all-in-one option. Verify your business details to start managing transactions with WooCommerce Payments.","woocommerce")}),(0,_.jsx)(h.Button,{isSecondary:e.isComplete,isPrimary:!e.isComplete,isBusy:s,disabled:s,onClick:()=>{t(),((e,t)=>{const n=(0,i.__)("There was an error connecting to WooPayments. Please try again or connect later in store settings.","woocommerce");t(!0),A()({path:c.WC_ADMIN_NAMESPACE+"/plugins/connect-wcpay",method:"POST"}).then((e=>{window.location=e.connectUrl})).catch((()=>{e("error",n),t(!1)}))})(r,l)},children:(0,i.__)("Get paid","woocommerce")})]})]})},"launch-your-store":({task:e,goToTask:t})=>(0,_.jsxs)("div",{className:`woocommerce-task-header__contents-container woocommerce-task-header__${e.id}`,children:[(0,_.jsx)("img",{alt:(0,i.__)("Launch Your Store illustration","woocommerce"),src:o.vm+"images/task_list/launch-your-store-illustration.svg",className:"svg-background"}),(0,_.jsxs)("div",{className:"woocommerce-task-header__contents",children:[(0,_.jsx)("h1",{children:(0,i.__)("Your store is ready for launch!","woocommerce")}),(0,_.jsx)("p",{children:(0,i.__)("It’s time to celebrate – you’re ready to launch your store! Woo! Hit the button to preview your store and make it public.","woocommerce")}),(0,_.jsx)(h.Button,{variant:e.isComplete?"secondary":"primary",onClick:t,children:(0,i.__)("Launch store","woocommerce")})]})]})},Qe=({showDismissModal:e,setShowDismissModal:t,hideTasks:n})=>{const o=(0,i.__)("Hide store setup tasks","woocommerce"),r=(0,i.__)("Are you sure? These tasks are required for all stores.","woocommerce"),s=(0,i.__)("Cancel","woocommerce"),a=(0,i.__)("Yes, hide store setup tasks","woocommerce");return(0,_.jsx)(_.Fragment,{children:e&&(0,_.jsx)(h.Modal,{title:o,className:"woocommerce-task-dismiss-modal",onRequestClose:()=>t(!1),children:(0,_.jsxs)("div",{className:"woocommerce-task-dismiss-modal__wrapper",children:[(0,_.jsx)("div",{className:"woocommerce-usage-modal__message",children:r}),(0,_.jsxs)("div",{className:"woocommerce-usage-modal__actions",children:[(0,_.jsx)(h.Button,{onClick:()=>t(!1),children:s}),(0,_.jsx)(h.Button,{isPrimary:!0,onClick:()=>{n("remove_card"),t(!1)},children:a})]})]})})})},qe=n.p+"dbfe730286a89feb7ce0.svg",$e=({hideTasks:e})=>(0,_.jsx)(_.Fragment,{children:(0,_.jsx)("div",{className:(0,g.Z)("woocommerce-task-dashboard__container setup-task-list"),children:(0,_.jsx)(h.Card,{size:"large",className:"woocommerce-task-card woocommerce-homescreen-card completed",children:(0,_.jsx)(h.CardHeader,{size:"medium",children:(0,_.jsxs)("div",{className:"woocommerce-task-card__header",children:[(0,_.jsx)("img",{src:qe,alt:"Completed"}),(0,_.jsx)("h2",{children:(0,i.__)("You’ve completed store setup","woocommerce")}),(0,_.jsx)(h.Button,{variant:"primary",onClick:e,children:(0,i.__)("Hide this list","woocommerce")})]})})})})}),Je="woocommerce_tasklist_experimental_progress_header_item",Xe=({children:e,order:t=1})=>(0,_.jsx)(h.Fill,{name:Je,children:n=>(0,y.createOrderedChildren)(e,t,n)});Xe.Slot=({fillProps:e})=>(0,_.jsx)(h.Slot,{name:Je,fillProps:e,children:y.sortFillsByOrder});const Ke=({id:e,hideTaskListText:t})=>{const{hideTaskList:n}=(0,a.useDispatch)(c.ONBOARDING_STORE_NAME);return(0,_.jsx)("div",{className:"woocommerce-card__menu woocommerce-card__header-item",children:(0,_.jsx)(y.EllipsisMenu,{label:(0,i.__)("Task List Options","woocommerce"),renderContent:()=>(0,_.jsx)("div",{className:"woocommerce-task-card__section-controls",children:(0,_.jsx)(h.Button,{onClick:()=>n(e),children:t||(0,i.__)("Hide this","woocommerce")})})})})},et=({taskListId:e})=>{const{loading:t,tasksCount:n,completedCount:o}=(0,a.useSelect)((t=>{const n=t(c.ONBOARDING_STORE_NAME).getTaskList(e),o=t(c.ONBOARDING_STORE_NAME).hasFinishedResolution("getTaskList",[e]),r=(0,c.getVisibleTasks)(n?.tasks||[]);return{loading:!o,tasksCount:r?.length,completedCount:r?.filter((e=>e.isComplete)).length}}));return t?null:(0,_.jsxs)("div",{className:"woocommerce-task-progress-header",children:[(0,_.jsx)(Ke,{id:e,hideTaskListText:(0,i.__)("Hide setup list","woocommerce")}),(0,_.jsx)("div",{className:"woocommerce-task-progress-header__contents",children:o!==n?(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)("p",{children:(0,i.sprintf)((0,i.__)("Follow these steps to start selling quickly. %1$d out of %2$d complete.","woocommerce"),o,n)}),(0,_.jsx)("progress",{className:"woocommerce-task-progress-header__progress-bar",max:n,value:o||.25})]}):null})]})},tt=({taskListId:e})=>{const t=(0,w.useSlot)(Je);return Boolean(t?.fills?.length)?(0,_.jsx)(Xe.Slot,{fillProps:{taskListId:e}}):(0,_.jsx)(et,{taskListId:e})},nt=({task:e,activeTaskId:t,taskIndex:n,goToTask:o,trackClick:r})=>{const{createNotice:s}=(0,a.useDispatch)("core/notices"),{dismissTask:l,undoDismissTask:u}=(0,a.useDispatch)(c.ONBOARDING_STORE_NAME),{id:p,title:h,badge:f,content:y,time:v,actionLabel:b,isComplete:x,additionalInfo:C,isDismissable:E}=e,M=(0,w.useSlot)(`woocommerce_onboarding_task_list_item_${p}`),j=Boolean(M?.fills?.length),S=(0,d.useCallback)((e=>{const a=(0,g.Z)("woocommerce-task-list__item index-"+n,{complete:x,"is-active":p===t});return(0,_.jsx)(w.TaskItem,{className:a,title:h,badge:f,completed:x,additionalInfo:C,content:y,onClick:!1===e.isClickable?void 0:t=>{if("A"!==t.target.tagName)return e.onClick?(r(),e.onClick()):void o()},onDismiss:E?()=>(l(p),void s("success",(0,i.__)("Task dismissed","woocommerce"),{actions:[{label:(0,i.__)("Undo","woocommerce"),onClick:()=>u(p)}]})):void 0,action:()=>{},actionLabel:b},p)}),[p,h,f,y,v,b,x,t]);return j?(0,_.jsx)(m.WooOnboardingTaskListItem.Slot,{id:p,fillProps:{defaultTaskItem:S,isComplete:x}}):(0,_.jsx)(S,{})};var ot=n(75606);const rt="store_setup";function st(e){if(0===e)return null;const t=Date.now()-1e3*e;return Math.round(t/c.WEEK)}const it=({hideTasks:e,customerEffortScore:t})=>{const{updateOptions:n}=(0,a.useDispatch)(c.OPTIONS_STORE_NAME),[o,r]=(0,d.useState)(!1),[s,u]=(0,d.useState)(!1),[m,p]=(0,d.useState)(NaN),[f,v]=(0,d.useState)(!1),{storeAgeInWeeks:b,cesShownForActions:x,canShowCustomerEffortScore:C}=(0,a.useSelect)((e=>{const{getOption:n,hasFinishedResolution:o}=e(c.OPTIONS_STORE_NAME);if(t){const e=n(ot.ALLOW_TRACKING_OPTION_NAME),t=n(ot.ADMIN_INSTALL_TIMESTAMP_OPTION_NAME)||0,r=n(ot.SHOWN_FOR_ACTIONS_OPTION_NAME),s=!o("getOption",[ot.SHOWN_FOR_ACTIONS_OPTION_NAME])||!o("getOption",[ot.ADMIN_INSTALL_TIMESTAMP_OPTION_NAME]);return{storeAgeInWeeks:st(t),cesShownForActions:r,canShowCustomerEffortScore:!s&&e&&!(r||[]).includes("store_setup"),loading:s}}return{}}));(0,d.useEffect)((()=>{s&&setTimeout((()=>{v(!0)}),1200)}),[s]);const E=({firstScore:e,secondScore:t,comments:o})=>{(0,l.recordEvent)("ces_feedback",{action:rt,score:e,score_second_question:null!=t?t:null,score_combined:e+(null!=t?t:0),comments:o||"",store_age:b}),n({[ot.SHOWN_FOR_ACTIONS_OPTION_NAME]:[rt,...x||[]]}),u(!0)};return(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)("div",{className:(0,g.Z)("woocommerce-task-dashboard__container setup-task-list"),children:(0,_.jsxs)(h.Card,{size:"large",className:"woocommerce-task-card woocommerce-homescreen-card completed",children:[(0,_.jsx)(h.CardHeader,{size:"medium",children:(0,_.jsxs)("div",{className:"woocommerce-task-card__header",children:[(0,_.jsx)("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDUzIiBoZWlnaHQ9IjczIiB2aWV3Qm94PSIwIDAgNDUzIDczIiBmaWxsPSJub25lIgogICAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxyZWN0IHdpZHRoPSIzLjg4NTYxIiBoZWlnaHQ9IjEyLjIxMTkiIHJ4PSIxLjk0MjgxIiB0cmFuc2Zvcm09Im1hdHJpeCgtMC44MjU5NDMgMC41NjM3NTQgMC41NjM3NTUgMC44MjU5NDIgNDA0LjA0NyA0OC41OTQpIiBmaWxsPSIjNjRDQTQzIi8+CiAgICA8cmVjdCB3aWR0aD0iMy4wNTI2NCIgaGVpZ2h0PSI5LjU5NDAxIiByeD0iMS41MjYzMiIgdHJhbnNmb3JtPSJtYXRyaXgoLTAuNjcyMTc3IDAuNzQwMzkxIDAuNzQwMzkxIDAuNjcyMTc2IDQxNy45NyAxMy40OTk4KSIgZmlsbD0iI0ZGMkQ1NSIvPgogICAgPHJlY3Qgd2lkdGg9IjMuNjQyNzYiIGhlaWdodD0iMTEuNDQ4NyIgcng9IjEuODIxMzgiIHRyYW5zZm9ybT0ibWF0cml4KC0wLjYzODIgLTAuNzY5ODcxIC0wLjc2OTg3MiAwLjYzODE5OCAzOTEuNzk1IDI0Ljk1MDQpIiBmaWxsPSIjMTE3QUM5Ii8+CiAgICA8cmVjdCB3aWR0aD0iMy44ODU2MSIgaGVpZ2h0PSIxMi4yMTE5IiByeD0iMS45NDI4IiB0cmFuc2Zvcm09Im1hdHJpeCgtMC40MDQzNzIgLTAuOTE0NTk1IC0wLjkxNDU5NSAwLjQwNDM3MSAxNzAuOTQgMTQuNjkxNCkiIGZpbGw9IiNGRjgwODUiLz4KICAgIDxyZWN0IHdpZHRoPSI1LjM0MjcxIiBoZWlnaHQ9IjE2Ljc5MTQiIHJ4PSIyLjY3MTM2IiB0cmFuc2Zvcm09Im1hdHJpeCgwLjM5MjY0IDAuOTE5NjkyIDAuOTE5NjkyIC0wLjM5MjY0MiAzMjguMTE5IDUwLjYwNTUpIiBmaWxsPSIjRkY4MDg1Ii8+CiAgICA8Y2lyY2xlIHI9IjMuNDM0MjIiIHRyYW5zZm9ybT0ibWF0cml4KC0wLjk0OTE5MyAtMC4zMTQ2OTQgLTAuMzE0Njk0IDAuOTQ5MTkzIDQzMy42OTQgNjAuNTQ0KSIgZmlsbD0iI0YwQjg0OSIvPgogICAgPGVsbGlwc2Ugcng9IjIuMjg5NDgiIHJ5PSIyLjI4OTQ4IiB0cmFuc2Zvcm09Im1hdHJpeCgtMC45NDkxOTMgLTAuMzE0Njk1IC0wLjMxNDY5MyAwLjk0OTE5NCA0NDkuOTkzIDQ0LjAwMDgpIiBmaWxsPSIjQkY1QUYyIi8+CiAgICA8ZWxsaXBzZSByeD0iMS41MjYzMiIgcnk9IjEuNTI2MzIiIHRyYW5zZm9ybT0ibWF0cml4KC0wLjk0OTE5NCAtMC4zMTQ2OTIgLTAuMzE0Njk1IDAuOTQ5MTkzIDM3My4zMzkgNjMuMzEpIiBmaWxsPSIjQkY1QUYyIi8+CiAgICA8ZWxsaXBzZSByeD0iMi4yODk0OCIgcnk9IjIuMjg5NDgiIHRyYW5zZm9ybT0ibWF0cml4KC0wLjk0OTE5NCAtMC4zMTQ2OTIgLTAuMzE0Njk1IDAuOTQ5MTkzIDE2MC43MTMgNTQuMDk3KSIgZmlsbD0iIzA5QjU4NSIvPgogICAgPHJlY3QgeD0iMzE0LjI3MyIgeT0iMTcuMjE5MiIgd2lkdGg9IjUuMzQyNzEiIGhlaWdodD0iMTYuNzkxNCIgcng9IjIuNjcxMzYiIHRyYW5zZm9ybT0icm90YXRlKC01MS43OTU4IDMxNC4yNzMgMTcuMjE5MikiIGZpbGw9IiM5ODRBOUMiLz4KICAgIDxyZWN0IHdpZHRoPSIzLjg4NTYxIiBoZWlnaHQ9IjEyLjIxMTkiIHJ4PSIxLjk0MjgiIHRyYW5zZm9ybT0ibWF0cml4KDAuNjE4NDY1IC0wLjc4NTgxMiAwLjc4NTgxIDAuNjE4NDY3IDI3LjA2MSAzNC43NDEpIiBmaWxsPSIjNjRDQTQzIi8+CiAgICA8cmVjdCB3aWR0aD0iMy42NDI3NiIgaGVpZ2h0PSIxMS40NDg3IiByeD0iMS44MjEzOCIgdHJhbnNmb3JtPSJtYXRyaXgoLTAuOTg4ODgxIC0wLjE0ODcxMSAwLjE0ODcxNCAtMC45ODg4OCAyNjcuNjAyIDI3Ljg2MykiIGZpbGw9IiNFN0MwMzciLz4KICAgIDxyZWN0IHdpZHRoPSIzLjAwNjgyIiBoZWlnaHQ9IjkuNDUiIHJ4PSIxLjUwMzQxIiB0cmFuc2Zvcm09Im1hdHJpeCgwLjIyNjk3MSAwLjk3MzkwMiAtMC45NzM5MDIgMC4yMjY5NjggMjEyLjIwNCA1MSkiIGZpbGw9IiNFN0MwMzciLz4KICAgIDxyZWN0IHdpZHRoPSIzLjg4NTYxIiBoZWlnaHQ9IjEyLjIxMTkiIHJ4PSIxLjk0MjgiIHRyYW5zZm9ybT0ibWF0cml4KDAuNzg1ODEgMC42MTg0NjggLTAuNjE4NDY1IDAuNzg1ODEyIDI2OS4zOTYgNTYuODc4OSkiIGZpbGw9IiMzMzYxQ0MiLz4KICAgIDxjaXJjbGUgY3g9IjkwLjUyNyIgY3k9IjQ1LjY5MjYiIHI9IjMuNDM0MjIiIHRyYW5zZm9ybT0icm90YXRlKC0xLjc5NTc4IDkwLjUyNyA0NS42OTI2KSIgZmlsbD0iI0YwQjg0OSIvPgogICAgPGNpcmNsZSBjeD0iNTkuODU5NiIgY3k9IjI3LjExNTgiIHI9IjIuMjg5NDgiIHRyYW5zZm9ybT0icm90YXRlKC0xLjc5NTc2IDU5Ljg1OTYgMjcuMTE1OCkiIGZpbGw9IiNCRjVBRjIiLz4KICAgIDxjaXJjbGUgY3g9IjMwNy4xMDkiIGN5PSI2MC43NjYzIiByPSIxLjUyNjMyIiB0cmFuc2Zvcm09InJvdGF0ZSgtMS43OTU3NCAzMDcuMTA5IDYwLjc2NjMpIiBmaWxsPSIjRjBDOTMwIi8+CiAgICA8Y2lyY2xlIGN4PSIzNTcuMzExIiBjeT0iMjguNTQ0NCIgcj0iMS41MjYzMiIgdHJhbnNmb3JtPSJyb3RhdGUoLTEuNzk1NzQgMzU3LjMxMSAyOC41NDQ0KSIgZmlsbD0iI0YwQzkzMCIvPgogICAgPGVsbGlwc2UgY3g9IjIzNy4yNDgiIGN5PSI0Ny4zNjc0IiByeD0iMS41MjYzMiIgcnk9IjEuNTI2MzIiIHRyYW5zZm9ybT0icm90YXRlKC0xLjc5NTc4IDIzNy4yNDggNDcuMzY3NCkiIGZpbGw9IiMzMzYxQ0MiLz4KICAgIDxjaXJjbGUgY3g9IjI5MC44NjkiIGN5PSIzOS45MzI5IiByPSIxLjkwNzkiIHRyYW5zZm9ybT0icm90YXRlKC0xLjc5NTc3IDI5MC44NjkgMzkuOTMyOSkiIGZpbGw9IiMzN0U2ODgiLz4KICAgIDxyZWN0IHdpZHRoPSIzLjg4NTYxIiBoZWlnaHQ9IjEyLjIxMTkiIHJ4PSIxLjk0MjgiIHRyYW5zZm9ybT0ibWF0cml4KDAuMzM2NzM1IC0wLjk0MTU5OSAwLjk0MTU5OSAwLjMzNjczNyAxMDguNjg0IDYwLjc1MSkiIGZpbGw9IiM2NENBNDMiLz4KICAgIDxyZWN0IHg9IjEzMS4yNTIiIHk9IjI1LjEyODIiIHdpZHRoPSIzLjg4NTYxIiBoZWlnaHQ9IjEyLjIxMTkiIHJ4PSIxLjk0MjgiIHRyYW5zZm9ybT0icm90YXRlKDUuODE4NjkgMTMxLjI1MiAyNS4xMjgyKSIgZmlsbD0iIzMzNjFDQyIvPgogICAgPGVsbGlwc2Ugcng9IjMuNDM0MjIiIHJ5PSIzLjQzNDIyIiB0cmFuc2Zvcm09Im1hdHJpeCgwLjgyNzI2MiAtMC41NjE4MTYgMC41NjE4MTEgMC44MjcyNjYgMjEuNDU2OSA2Ny43NzUxKSIgZmlsbD0iI0YwQjg0OSIvPgogICAgPGNpcmNsZSBjeD0iMTk1LjgxOSIgY3k9IjMzLjE2NTQiIHI9IjIuMjg5NDgiIHRyYW5zZm9ybT0icm90YXRlKC0zNC4xODEzIDE5NS44MTkgMzMuMTY1NCkiIGZpbGw9IiNCRjVBRjIiLz4KICAgIDxjaXJjbGUgcj0iMS41MjYzMiIgdHJhbnNmb3JtPSJtYXRyaXgoMC44MjcyNjYgLTAuNTYxODEgMC41NjE4MTggMC44MjcyNjEgNjQuMjU0IDY1Ljk3NDUpIiBmaWxsPSIjMzM2MUNDIi8+CiAgICA8ZWxsaXBzZSByeD0iMS45MDc5IiByeT0iMS45MDc5IiB0cmFuc2Zvcm09Im1hdHJpeCgwLjgyNzI2NSAtMC41NjE4MTIgMC41NjE4MTUgMC44MjcyNjMgMi41ODcyNCA0OC4zMDMxKSIgZmlsbD0iIzM3RTY4OCIvPgogICAgPGVsbGlwc2Ugcng9IjEuOTA3OSIgcnk9IjEuOTA3OSIgdHJhbnNmb3JtPSJtYXRyaXgoMC44MjcyNjUgLTAuNTYxODEyIDAuNTYxODE1IDAuODI3MjYzIDI3Ljk3NjkgMTUuNjQ5MykiIGZpbGw9IiNGMEM5MzAiLz4KICAgIDxlbGxpcHNlIGN4PSIyMzEuMzY3IiBjeT0iMjEuMzM2IiByeD0iMi4yODk0OCIgcnk9IjIuMjg5NDgiIHRyYW5zZm9ybT0icm90YXRlKC0zNC4xODEzIDIzMS4zNjcgMjEuMzM2KSIgZmlsbD0iIzA5QjU4NSIvPgogICAgPGVsbGlwc2Ugcng9IjIuMjg5NDgiIHJ5PSIyLjI4OTQ4IiB0cmFuc2Zvcm09Im1hdHJpeCgwLjgyNzI2NyAtMC41NjE4MDkgMC41NjE4MTkgMC44MjcyNiAxMDAuMTY0IDE1LjQyNzEpIiBmaWxsPSIjRkYzQjMwIi8+Cjwvc3ZnPgo=",alt:"Completed",className:"woocommerce-task-card__finished-header-image"}),(0,_.jsx)(w.Text,{size:"title",as:"h2",lineHeight:1.4,children:(0,i.__)("You’ve completed store setup","woocommerce")}),(0,_.jsx)(w.Text,{variant:"subtitle.small",as:"p",size:"13",lineHeight:"16px",className:"woocommerce-task-card__header-subtitle",children:(0,i.__)("Congratulations! Take a moment to celebrate and look out for the first sale.","woocommerce")}),(0,_.jsx)("div",{className:"woocommerce-task-card__header-menu",children:(0,_.jsx)(y.EllipsisMenu,{label:(0,i.__)("Task List Options","woocommerce"),renderContent:()=>(0,_.jsx)("div",{className:"woocommerce-task-card__section-controls",children:(0,_.jsx)(h.Button,{onClick:()=>e(),children:(0,i.__)("Hide this","woocommerce")})})})})]})}),C&&!f&&!s&&(0,_.jsx)(ot.CustomerFeedbackSimple,{label:(0,i.__)("How was your experience?","woocommerce"),onSelect:e=>{e>2?(p(e),E({firstScore:e})):(p(e),r(!0),(0,l.recordEvent)("ces_view",{action:rt,store_age:b}))}}),s&&!f&&(0,_.jsx)("div",{className:"woocommerce-task-card__header-ces-feedback",children:(0,_.jsxs)(w.Text,{variant:"subtitle.small",as:"p",size:"13",lineHeight:"16px",children:["🙌"," ",(0,i.__)("We appreciate your feedback!","woocommerce")]})})]})}),o?(0,_.jsx)(ot.CustomerFeedbackModal,{title:(0,i.__)("How was your experience?","woocommerce"),firstQuestion:(0,i.__)("The store setup is easy to complete.","woocommerce"),secondQuestion:(0,i.__)("The store setup process meets my needs.","woocommerce"),defaultScore:m,recordScoreCallback:(e,t,n)=>{r(!1),E({firstScore:e,secondScore:t,comments:n})},onCloseModal:()=>{p(NaN),r(!1)}}):null]})},at="experimental_woocommerce_tasklist_footer_item",ct=({children:e,order:t=1})=>(0,_.jsx)(h.Fill,{name:at,children:n=>(0,y.createOrderedChildren)(e,t,n)});ct.Slot=({fillProps:e})=>(0,_.jsx)(h.Slot,{name:at,fillProps:e,children:y.sortFillsByOrder});const lt=()=>{const e=(0,w.useSlot)(at);return Boolean(e?.fills?.length)?(0,_.jsx)("div",{className:"woocommerce-tasklist__footer",children:(0,_.jsx)(ct.Slot,{})}):null},dt="woocommerce_experimental_task_list_completion",ut=({children:e,order:t=1})=>(0,_.jsx)(h.Fill,{name:dt,children:n=>(0,y.createOrderedChildren)(e,t,n)});ut.Slot=({fillProps:e})=>(0,_.jsx)(h.Slot,{name:dt,fillProps:e,children:y.sortFillsByOrder});const mt=({className:e,fillProps:t})=>{const n=(0,w.useSlot)(dt);return Boolean(n?.fills?.length)?(0,_.jsx)("div",{className:(0,g.Z)("woocommerce-tasklist-completion-slot",e),children:(0,_.jsx)(ut.Slot,{fillProps:t})}):null},pt=({query:e,id:t,eventName:n,eventPrefix:o,tasks:r,keepCompletedTaskList:s,isComplete:u,displayProgressHeader:f,cesHeader:v=!0})=>{var b;const x=n?n+"_":o,{profileItems:C}=(0,a.useSelect)((e=>{const{getProfileItems:t}=e(c.ONBOARDING_STORE_NAME);return{profileItems:t()}})),{hideTaskList:E,visitedTask:M,keepCompletedTaskList:j,invalidateResolutionForStoreSelector:S}=(0,a.useDispatch)(c.ONBOARDING_STORE_NAME),N=(0,c.useUserPreferences)(),[k,I]=(0,d.useState)({}),[T,A]=(0,d.useState)(""),[L,O]=(0,d.useState)(!1),{layoutString:P}=(0,Be.useLayoutContext)(),D=(0,d.useRef)(e),R=(0,c.getVisibleTasks)(r);(0,d.useEffect)((()=>{e.task||(0,l.recordEvent)(`${x}view`,{number_tasks:R.length,store_connected:C.wccom_connected,context:P})}),[]);const H=(0,w.useSlot)(dt);(0,d.useEffect)((()=>{const{task:t}=D.current,{task:n}=e;t!==n&&(window.document.documentElement.scrollTop=0,D.current=e)}),[e]);const Z=r.filter((e=>!e.isComplete&&!e.isDismissed)),z=()=>{E(t)};let B=R.find((e=>!1===e.isComplete));B||(B=R[R.length-1]);const V=(0,w.useSlot)(`woocommerce_onboarding_task_list_header_${null!==(b=k?.task?.id)&&void 0!==b?b:B?.id}`),F=Boolean(V?.fills?.length),U=async e=>{(0,l.recordEvent)(`${x}click`,{task_name:e.id,context:P,...e?.additionalData?.wooPaymentsIncentiveId&&{woopayments_incentive_id:e.additionalData.wooPaymentsIncentiveId}}),e.isComplete||await(async e=>{const t=(e=>{const t=N.task_list_tracked_started_tasks;return t&&t[e]?t[e]:0})(e)+1,n=N.task_list_tracked_started_tasks||{};M(e),await N.updateUserPreferences({task_list_tracked_started_tasks:{...n||{},[e]:t}})})(e.id)},W=e=>{U(e).then((()=>{u||S("getTaskLists")})),e.actionUrl?(0,p.navigateTo)({url:e.actionUrl}):(0,p.navigateTo)({url:(0,p.getNewPath)({task:e.id},"/",{})})};if((0,d.useEffect)((()=>{var e;B&&(Ye[(e=B).id]||F)&&(I({task:e,goToTask:()=>W(e),trackClick:()=>U(e)}),A(e.id))}),[B]),!R.length)return(0,_.jsx)("div",{className:"woocommerce-task-dashboard__container"});const G=Boolean(H?.fills?.length);return u&&"yes"!==s?G?(0,_.jsx)(mt,{fillProps:{hideTasks:z,keepTasks:()=>{j(t)},customerEffortScore:v}}):(0,_.jsx)(_.Fragment,{children:v?(0,_.jsx)(it,{hideTasks:z,customerEffortScore:!0}):(0,_.jsx)($e,{hideTasks:z})}):(0,_.jsxs)(_.Fragment,{children:[L&&(0,_.jsx)(Qe,{showDismissModal:L,setShowDismissModal:O,hideTasks:z}),f?(0,_.jsx)(tt,{taskListId:t}):null,(0,_.jsx)("div",{className:(0,g.Z)(`woocommerce-task-dashboard__container woocommerce-task-list__${t} setup-task-list`),children:(0,_.jsxs)(h.Card,{size:"large",className:"woocommerce-task-card woocommerce-homescreen-card",children:[(0,_.jsxs)("div",{className:"woocommerce-task-card__header-container",children:[(0,_.jsx)("div",{className:"woocommerce-task-card__header",children:F?(0,_.jsx)(m.WooOnboardingTaskListHeader.Slot,{id:B?.id,fillProps:k}):k?.task&&(0,d.createElement)(Ye[k.task.id],k)}),!f&&(0,_.jsx)("div",{className:"woocommerce-card__menu woocommerce-card__header-item",children:(0,_.jsx)(y.EllipsisMenu,{className:t,label:(0,i.__)("Task List Options","woocommerce"),renderContent:({onToggle:e})=>(0,_.jsx)("div",{className:"woocommerce-task-card__section-controls",children:(0,_.jsx)(h.Button,{onClick:()=>{Z.length>0?(O(!0),e()):z()},children:(0,i.__)("Hide this","woocommerce")})})})})]}),(0,_.jsx)(w.List,{animation:"custom",children:R.map(((e,t)=>(0,_.jsx)(nt,{taskIndex:++t,activeTaskId:T,task:e,goToTask:()=>W(e),trackClick:()=>U(e)},e.id)))}),(0,_.jsx)(lt,{})]})})]})},ht=e=>{const{numTasks:t=5}=e;return(0,_.jsx)("div",{className:(0,g.Z)("woocommerce-task-dashboard__container setup-task-list"),children:(0,_.jsxs)("div",{className:"components-card is-size-large woocommerce-task-card woocommerce-homescreen-card is-loading",children:[(0,_.jsx)("div",{className:"components-card__header is-size-medium",children:(0,_.jsx)("div",{className:"woocommerce-task-card__header",children:(0,_.jsx)("div",{className:"is-placeholder",children:" "})})}),(0,_.jsx)("ul",{className:"woocommerce-experimental-list",children:Array.from(new Array(t)).map(((e,t)=>(0,_.jsxs)("li",{tabIndex:t,className:"woocommerce-experimental-list__item woocommerce-task-list__item",children:[(0,_.jsx)("div",{className:"woocommerce-task-list__item-before",children:(0,_.jsx)("div",{className:"is-placeholder"})}),(0,_.jsx)("div",{className:"woocommerce-task-list__item-text",children:(0,_.jsx)("div",{className:"components-truncate components-text is-placeholder"})})]},t)))})]})})};var ft=n(2514),gt=n(39630);const yt=({title:e})=>{const t=(0,i.__)("WooCommerce Home","woocommerce"),n=()=>{(0,l.recordEvent)("topbar_back_button",{page_name:e}),(0,p.updateQueryString)({},(0,p.getHistory)().location.pathname,{})};return(0,_.jsx)(h.Tooltip,{text:t,children:(0,_.jsx)("div",{tabIndex:0,role:"button","data-testid":"header-back-button",className:"woocommerce-layout__header-back-button",onKeyDown:({keyCode:e})=>{e!==gt.ENTER&&e!==gt.SPACE||n()},children:(0,_.jsx)(J.Z,{icon:ft.Z,onClick:n})})})},wt=({query:e,task:t})=>{const n=e.task||"";n||console.warn("No task id provided");const{invalidateResolutionForStoreSelector:o,optimisticallyCompleteTask:r}=(0,a.useDispatch)(c.ONBOARDING_STORE_NAME),s=(0,d.useCallback)((async()=>{const e=document.querySelectorAll("#adminmenu .woocommerce-task-list-remaining-tasks-badge");if(!e?.length)return;const t=await(0,a.resolveSelect)(c.ONBOARDING_STORE_NAME).getTaskList("setup");if(!t)return;const n=t.tasks.filter((e=>!e.isComplete)).length;e.forEach((e=>{e.textContent=n.toString()}))}),[]),i=(0,d.useCallback)((e=>{r(n),(0,p.getHistory)().push(e&&e.redirectPath?e.redirectPath:(0,p.getNewPath)({},"/",{})),o("getTaskLists"),s()}),[n,o,r,s]);return(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(Be.WooHeaderNavigationItem,{children:(0,_.jsx)(yt,{title:t.title})}),(0,_.jsx)(Be.WooHeaderPageTitle,{children:t.title}),(0,_.jsx)(m.WooOnboardingTask.Slot,{id:n,fillProps:{onComplete:i,query:e,task:t}})]})},vt=({numTasks:e=5,query:t})=>Boolean(t.task)?null:(0,_.jsx)("div",{className:"woocommerce-task-dashboard__container",children:(0,_.jsxs)("div",{className:"woocommerce-card woocommerce-task-card is-loading","aria-hidden":!0,children:[(0,_.jsx)("div",{className:"woocommerce-card__header",children:(0,_.jsx)("div",{className:"woocommerce-card__title-wrapper",children:(0,_.jsx)("div",{className:"woocommerce-card__title woocommerce-card__header-item",children:(0,_.jsx)("span",{className:"is-placeholder"})})})}),(0,_.jsx)("div",{className:"woocommerce-card__body",children:(0,_.jsx)("div",{className:"woocommerce-list",children:Array.from(new Array(e)).map(((e,t)=>(0,_.jsx)("div",{className:"woocommerce-list__item has-action",children:(0,_.jsxs)("div",{className:"woocommerce-list__item-inner",children:[(0,_.jsx)("div",{className:"woocommerce-list__item-before",children:(0,_.jsx)("span",{className:"is-placeholder"})}),(0,_.jsx)("div",{className:"woocommerce-list__item-text",children:(0,_.jsx)("div",{className:"woocommerce-list__item-title",children:(0,_.jsx)("span",{className:"is-placeholder"})})}),(0,_.jsx)("div",{className:"woocommerce-list__item-after",children:(0,_.jsx)("span",{className:"is-placeholder"})})]})},t)))})})]})}),_t=({isExpandable:e=!1,isExpanded:t=!1,setExpandedTask:n,task:o})=>{const{createNotice:r}=(0,a.useDispatch)("core/notices"),{layoutString:s}=(0,Be.useLayoutContext)(),{dismissTask:u,snoozeTask:h,undoDismissTask:f,undoSnoozeTask:g,visitedTask:y,invalidateResolutionForStoreSelector:v}=(0,a.useDispatch)(c.ONBOARDING_STORE_NAME),b=(0,c.useUserPreferences)(),{actionLabel:x,actionUrl:C,content:E,id:M,isComplete:j,isDismissable:S,isSnoozeable:N,time:k,title:I,badge:T,level:A,additionalInfo:L,recordViewEvent:O}=o;(0,d.useEffect)((()=>{O&&(0,l.recordEvent)("tasklist_item_view",{task_name:M,is_complete:j,context:s})}),[]);const P=(0,w.useSlot)(`woocommerce_onboarding_task_list_item_${M}`),D=Boolean(P?.fills?.length),R=(0,d.useCallback)((()=>{u(M),r("success",(0,i.__)("Task dismissed","woocommerce"),{actions:[{label:(0,i.__)("Undo","woocommerce"),onClick:()=>f(M)}]})}),[M]),H=(0,d.useCallback)((()=>{h(M),r("success",(0,i.__)("Task postponed until tomorrow","woocommerce"),{actions:[{label:(0,i.__)("Undo","woocommerce"),onClick:()=>g(M)}]})}),[M]),Z=(0,d.useCallback)((()=>{C?(0,p.navigateTo)({url:C}):(0,p.navigateTo)({url:(0,p.getNewPath)({task:M},"/",{})})}),[M,j,C]),z={expandable:e,expanded:e&&t,completed:j,onSnooze:N&&H,onDismiss:S&&R},B=(0,d.useCallback)((t=>{const o=()=>((async()=>{(0,l.recordEvent)("tasklist_click",{task_name:M,context:s}),j||await(async()=>{const e=(()=>{const e=b.task_list_tracked_started_tasks;return e&&e[M]?e[M]:0})()+1,t=b.task_list_tracked_started_tasks||{};y(M),await b.updateUserPreferences({task_list_tracked_started_tasks:{...t||{},[M]:e}})})()})().then((()=>{j||v("getTaskLists")})),t.onClick?t.onClick():Z());return(0,_.jsx)(w.TaskItem,{title:I,badge:T,content:E,additionalInfo:L,time:k,action:o,level:A,actionLabel:x,...z,...t,onClick:!e||j?o:()=>n(M)},M)}),[M,I,T,E,k,x,e,j]);return D?(0,_.jsx)(m.WooOnboardingTaskListItem.Slot,{id:M,fillProps:{defaultTaskItem:B,isComplete:j,...z}}):(0,_.jsx)(B,{onClick:o.onClick})},bt=({id:e,eventPrefix:t,tasks:n,title:o,isCollapsible:r=!1,isExpandable:s=!1,displayProgressHeader:u=!1,query:m})=>{const{profileItems:p}=(0,a.useSelect)((e=>{const{getProfileItems:t}=e(c.ONBOARDING_STORE_NAME);return{profileItems:t()}})),f=(0,d.useRef)(m),g=(0,c.getVisibleTasks)(n),{layoutString:v}=(0,Be.useLayoutContext)(),b=n.filter((e=>!e.isComplete&&!e.isDismissed)),[x,C]=(0,d.useState)(b[0]?.id);if((0,d.useEffect)((()=>{(0,l.recordEvent)(t+"view",{number_tasks:g.length,store_connected:p.wccom_connected,context:v})}),[]),(0,d.useEffect)((()=>{const{task:e}=f.current,{task:t}=m;e!==t&&(window.document.documentElement.scrollTop=0,f.current=m)}),[m]),!g.length)return(0,_.jsx)("div",{className:"woocommerce-task-dashboard__container"});const E=(0,i.sprintf)((0,i._n)("Show %d more task.","Show %d more tasks.",g.length-2,"woocommerce"),g.length-2),M=(0,i.__)("Show less","woocommerce"),j=g.map((e=>(0,_.jsx)(_t,{isExpanded:x===e.id,isExpandable:s,task:e,setExpandedTask:C},e.id)));return(0,_.jsx)(_.Fragment,{children:(0,_.jsxs)("div",{className:"woocommerce-task-dashboard__container woocommerce-task-list__"+e,children:[u?(0,_.jsx)(tt,{taskListId:e}):null,(0,_.jsxs)(h.Card,{size:"large",className:"woocommerce-task-card woocommerce-homescreen-card",children:[(0,_.jsxs)(h.CardHeader,{size:"medium",children:[(0,_.jsxs)("div",{className:"woocommerce-task-card__header",children:[(0,_.jsx)(w.Text,{size:"20",lineHeight:"28px",variant:"title.small",children:o}),(0,_.jsx)(y.Badge,{count:b.length})]}),(0,_.jsx)(Ke,{id:e})]}),r?(0,_.jsx)(w.CollapsibleList,{animation:"custom",collapseLabel:M,expandLabel:E,show:2,onCollapse:()=>(0,l.recordEvent)(t+"collapse",{}),onExpand:()=>(0,l.recordEvent)(t+"expand",{}),children:j}):(0,_.jsx)(w.List,{animation:"custom",children:j})]})]})})},xt=({query:e})=>{const{task:t}=e,{hideTaskList:n}=(0,a.useDispatch)(c.ONBOARDING_STORE_NAME),{isResolving:r,taskLists:s}=(0,a.useSelect)((e=>({isResolving:!e(c.ONBOARDING_STORE_NAME).hasFinishedResolution("getTaskLists"),taskLists:e(c.ONBOARDING_STORE_NAME).getTaskLists()}))),u=(()=>{if(!t)return null;return s.reduce(((e,t)=>[...e,...t.tasks]),[]).find((e=>e.id===t))||null})();if(t&&!u)return null;if(u)return(0,_.jsx)("div",{className:"woocommerce-task-dashboard__container",children:(0,_.jsx)(wt,{query:e,task:u})});const m="setup"===(0,o.O3)("visibleTaskListIds",[])[0]?ht:vt;return r?(0,_.jsx)(m,{query:e}):(0,_.jsx)(_.Fragment,{children:s.filter((({isVisible:e})=>e)).map((t=>{const{id:o,isHidden:r,isToggleable:s}=t,a="setup"===o?pt:bt;return(0,_.jsxs)(d.Fragment,{children:[(0,_.jsx)(a,{isExpandable:!1,query:e,...t}),s&&(0,_.jsx)(ze.z,{children:(0,_.jsx)(h.MenuGroup,{className:"woocommerce-layout__homescreen-display-options",label:(0,i.__)("Display","woocommerce"),children:(0,_.jsx)(h.MenuItem,{className:"woocommerce-layout__homescreen-extension-tasklist-toggle",icon:r?void 0:Ze.Z,isSelected:!r,role:"menuitemcheckbox",onClick:()=>(e=>{const{id:t,eventPrefix:o,isHidden:r}=e,s=!r;(0,l.recordEvent)(s?`${o}hide`:`${o}show`,{}),n(t)})(t),children:(0,i.__)("Show things to do next","woocommerce")})})})]},o)}))})};var Ct=n(66210);const Et="woocommerce_task_list_reminder_bar_hidden",Mt=({remainingCount:e,tracksProps:t})=>{const n=1===e?(0,i.__)("🎉 Almost there. Only {{strongText}}%1$d step left{{/strongText}} get your store up and running. {{setupLink}}Finish setup{{/setupLink}}","woocommerce"):(0,i.__)("🚀 You’re doing great! {{strongText}}%1$d steps left{{/strongText}} to get your store up and running. {{setupLink}}Continue setup{{/setupLink}}","woocommerce");return(0,_.jsx)("p",{children:(0,W.Z)({mixedString:(0,i.sprintf)(n,e),components:{strongText:(0,_.jsx)("strong",{}),setupLink:(0,_.jsx)(y.Link,{href:(0,G.getAdminLink)("admin.php?page=wc-admin"),onClick:()=>(0,l.recordEvent)("tasklist_reminder_bar_continue",t),type:"wp-admin",children:(0,_.jsx)(_.Fragment,{})})}})})},jt=({taskListId:e,updateBodyMargin:t})=>{const{updateOptions:n}=(0,a.useDispatch)(c.OPTIONS_STORE_NAME),{remainingCount:o,loading:r,taskListHidden:s,taskListComplete:i,reminderBarHidden:u,completedTasksCount:m}=(0,a.useSelect)((t=>{const{getTaskList:n,hasFinishedResolution:o}=t(c.ONBOARDING_STORE_NAME),{getOption:r,hasFinishedResolution:s}=t(c.OPTIONS_STORE_NAME),i=r(Et),a=n(e),l=o("getTaskList",[e]),d=s("getOption",[Et]),u=(0,c.getVisibleTasks)(a?.tasks||[]),m=u.filter((e=>e.isComplete))||[],p=l&&d;return{reminderBarHidden:"yes"===i,taskListHidden:!!p&&a?.isHidden,taskListComplete:!!p&&a?.isComplete,loading:!p,completedTasksCount:m.length,remainingCount:p?u?.length-m.length:null}})),f=(0,p.getQuery)(),g=f.page&&"wc-admin"===f.page&&!f.path,y=Boolean(f.wc_onboarding_active_task),w=r||s||i||u||0===m||g||y;(0,d.useEffect)((()=>{t()}),[w,t]);const v={completed:m,is_homescreen:!!g,is_active_task_page:y};return(0,d.useEffect)((()=>{r||w||(0,l.recordEvent)("tasklist_reminder_bar_view",v)}),[w,r]),w?null:(0,_.jsxs)("div",{className:"woocommerce-layout__header-tasks-reminder-bar",children:[(0,_.jsx)(Mt,{remainingCount:o,tracksProps:v}),(0,_.jsx)(h.Button,{isSmall:!0,onClick:()=>{n({[Et]:"yes"}),(0,l.recordEvent)("tasklist_reminder_bar_close",v)},icon:Ct.Z})]})},St="woocommerce_tasklist_experimental_progress_title_item",Nt=({children:e,order:t=1})=>(0,_.jsx)(h.Fill,{name:St,children:n=>(0,y.createOrderedChildren)(e,t,n)});Nt.Slot=({fillProps:e})=>(0,_.jsx)(h.Slot,{name:St,fillProps:e,children:y.sortFillsByOrder});const kt=({taskListId:e})=>{const{loading:t,tasksCount:n,completedCount:o,hasVisitedTasks:r}=(0,a.useSelect)((t=>{const n=t(c.ONBOARDING_STORE_NAME).getTaskList(e),o=t(c.ONBOARDING_STORE_NAME).hasFinishedResolution("getTaskList",[e]),r=(0,c.getVisibleTasks)(n?.tasks||[]);return{loading:!o,tasksCount:r?.length,completedCount:r?.filter((e=>e.isComplete)).length,hasVisitedTasks:r?.filter((e=>e.isVisited&&"store_details"!==e.id)).length>0}})),s=(0,d.useMemo)((()=>{if(!r||o===n){const e=(0,G.getSetting)("siteTitle");return e?(0,i.sprintf)((0,i.__)("Welcome to %s","woocommerce"),e):(0,i.__)("Welcome to your store","woocommerce")}return o<=3?(0,i.__)("Let’s get you started","woocommerce")+"   🚀":o>3&&o<6?(0,i.__)("You’re on the right track","woocommerce"):(0,i.__)("You’re almost there","woocommerce")}),[o,r,n]);return t?null:(0,_.jsx)("h1",{className:"woocommerce-task-progress-header__title",dangerouslySetInnerHTML:(0,S.ZP)(s)})},It=({taskListId:e})=>{const t=(0,w.useSlot)(St);return Boolean(t?.fills?.length)?(0,_.jsx)(Nt.Slot,{fillProps:{taskListId:e}}):(0,_.jsx)(kt,{taskListId:e})},Tt=()=>{const{activeSetuplist:e}=(0,a.useSelect)((e=>{const t=e(c.ONBOARDING_STORE_NAME).getTaskLists().filter((e=>"setup"===e.id&&e.isVisible));return{activeSetuplist:t.length?t[0].id:null}}));return e}},91978:(e,t,n)=>{"use strict";n.d(t,{MV:()=>d,O3:()=>c,SX:()=>l,rq:()=>m,vm:()=>u});var o=n(65736),r=n(74617);const s=["wcAdminSettings","preloadSettings"],i=(0,r.getSetting)("admin",{}),a=Object.keys(i).reduce(((e,t)=>(s.includes(t)||(e[t]=i[t]),e)),{});function c(e,t=!1,n=(e=>e)){if(s.includes(e))throw new Error((0,o.__)("Mutable settings should be accessed via data store.","woocommerce"));return n(a.hasOwnProperty(e)?a[e]:t,t)}const l=(0,r.getSetting)("adminUrl"),d=((0,r.getSetting)("countries"),(0,r.getSetting)("currency"),(0,r.getSetting)("locale")),u=((0,r.getSetting)("siteTitle"),(0,r.getSetting)("wcAssetUrl")),m=c("orderStatuses")},21464:(e,t,n)=>{"use strict";n.d(t,{V7:()=>r,br:()=>s,GG:()=>a,Jm:()=>l,DP:()=>i,p0:()=>d});var o=n(69307);function r(e){return(e||"").split(":",1)[0]}function s(e){const t=r(e);return/^woocommerce(-|_)payments$/.test(t)?"wcpay":`${t.replace(/-/g,"_")}`.split(":",1)[0]}function i(e){return e?e.substr(1).split("&").reduce(((e,t)=>{const n=t.split("="),o=n[0];let r=decodeURIComponent(n[1]);return r=isNaN(Number(r))?r:Number(r),e[o]=r,e}),{}):{}}function a(){let e="";const{page:t,path:n,post_type:o}=i(window.location.search);if(t){const o="wc-admin"===t?"home_screen":t;e=n?n.replace(/\//g,"_").substring(1):o}else o&&(e=o);return e}const c=[{name:"0-2s",max:2},{name:"2-5s",max:5},{name:"5-10s",max:10},{name:"10-15s",max:15},{name:"15-20s",max:20},{name:"20-30s",max:30},{name:"30-60s",max:60},{name:">60s"}],l=e=>{for(const t of c){if(!t.max)return t.name;if(e<1e3*t.max)return t.name}},d=e=>{(0,o.useEffect)((()=>{const t=document.documentElement.classList.contains("wp-toolbar");return document.body.classList.remove("woocommerce-admin-is-loading"),document.body.classList.add(e),document.body.classList.add("woocommerce-admin-full-screen"),document.body.classList.add("is-wp-toolbar-disabled"),t&&document.documentElement.classList.remove("wp-toolbar"),()=>{document.body.classList.remove(e),document.body.classList.remove("woocommerce-admin-full-screen"),document.body.classList.remove("is-wp-toolbar-disabled"),t&&document.documentElement.classList.add("wp-toolbar")}}))}},10791:(e,t,n)=>{"use strict";n.d(t,{V:()=>o});const o=()=>void 0!==window.wcCalypsoBridge&&window.wcCalypsoBridge.isWooExpress},79524:(e,t,n)=>{"use strict";n.d(t,{r:()=>o}),window.localStorage.getItem("xstate_inspect"),window.localStorage.getItem("xstateV5_inspect");const o=e=>({versionEnabled:undefined,xstateV5Inspector:undefined})},65382:(e,t,n)=>{"use strict";var o=n(29415),r=n(99181),s=r(o("String.prototype.indexOf"));e.exports=function(e,t){var n=o(e,!!t);return"function"==typeof n&&s(e,".prototype.")>-1?r(n):n}},99181:(e,t,n)=>{"use strict";var o=n(22213),r=n(29415),s=n(67195),i=r("%TypeError%"),a=r("%Function.prototype.apply%"),c=r("%Function.prototype.call%"),l=r("%Reflect.apply%",!0)||o.call(c,a),d=r("%Object.defineProperty%",!0),u=r("%Math.max%");if(d)try{d({},"a",{value:1})}catch(e){d=null}e.exports=function(e){if("function"!=typeof e)throw new i("a function is required");var t=l(o,c,arguments);return s(t,1+u(0,e.length-(arguments.length-1)),!0)};var m=function(){return l(o,a,arguments)};d?d(e.exports,"apply",{value:m}):e.exports.apply=m},17855:(e,t)=>{var n;!function(){"use strict";var o={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var s=typeof n;if("string"===s||"number"===s)e.push(n);else if(Array.isArray(n)){if(n.length){var i=r.apply(null,n);i&&e.push(i)}}else if("object"===s){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var a in n)o.call(n,a)&&n[a]&&e.push(a)}}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},74104:(e,t,n)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let o=0,r=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(o++,"%c"===e&&(r=o))})),t.splice(r,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(56093)(t);const{formatters:o}=e.exports;o.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},56093:(e,t,n)=>{e.exports=function(e){function t(e){let n,r,s,i=null;function a(...e){if(!a.enabled)return;const o=a,r=Number(new Date),s=r-(n||r);o.diff=s,o.prev=n,o.curr=r,n=r,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,r)=>{if("%%"===n)return"%";i++;const s=t.formatters[r];if("function"==typeof s){const t=e[i];n=s.call(o,t),e.splice(i,1),i--}return n})),t.formatArgs.call(o,e),(o.log||t.log).apply(o,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=o,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(r!==t.namespaces&&(r=t.namespaces,s=t.enabled(e)),s),set:e=>{i=e}}),"function"==typeof t.init&&t.init(a),a}function o(e,n){const o=t(this.namespace+(void 0===n?":":n)+e);return o.log=this.log,o}function r(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names.map(r),...t.skips.map(r).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const o=("string"==typeof e?e:"").split(/[\s,]+/),r=o.length;for(n=0;n<r;n++)o[n]&&("-"===(e=o[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,o;for(n=0,o=t.skips.length;n<o;n++)if(t.skips[n].test(e))return!1;for(n=0,o=t.names.length;n<o;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(48714),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},23970:(e,t,n)=>{"use strict";var o=n(42489)(),r=n(29415),s=o&&r("%Object.defineProperty%",!0);if(s)try{s({},"a",{value:1})}catch(e){s=!1}var i=r("%SyntaxError%"),a=r("%TypeError%"),c=n(97520);e.exports=function(e,t,n){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new a("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new a("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new a("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new a("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new a("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new a("`loose`, if provided, must be a boolean");var o=arguments.length>3?arguments[3]:null,r=arguments.length>4?arguments[4]:null,l=arguments.length>5?arguments[5]:null,d=arguments.length>6&&arguments[6],u=!!c&&c(e,t);if(s)s(e,t,{configurable:null===l&&u?u.configurable:!l,enumerable:null===o&&u?u.enumerable:!o,value:n,writable:null===r&&u?u.writable:!r});else{if(!d&&(o||r||l))throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=n}}},25209:function(e){e.exports=function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,n){return t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(e,n)}function n(e,o,r){return n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()?Reflect.construct:function(e,n,o){var r=[null];r.push.apply(r,n);var s=new(Function.bind.apply(e,r));return o&&t(s,o.prototype),s},n.apply(null,arguments)}function o(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var s=Object.hasOwnProperty,i=Object.setPrototypeOf,a=Object.isFrozen,c=Object.getPrototypeOf,l=Object.getOwnPropertyDescriptor,d=Object.freeze,u=Object.seal,m=Object.create,p="undefined"!=typeof Reflect&&Reflect,h=p.apply,f=p.construct;h||(h=function(e,t,n){return e.apply(t,n)}),d||(d=function(e){return e}),u||(u=function(e){return e}),f||(f=function(e,t){return n(e,o(t))});var g,y=N(Array.prototype.forEach),w=N(Array.prototype.pop),v=N(Array.prototype.push),_=N(String.prototype.toLowerCase),b=N(String.prototype.toString),x=N(String.prototype.match),C=N(String.prototype.replace),E=N(String.prototype.indexOf),M=N(String.prototype.trim),j=N(RegExp.prototype.test),S=(g=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return f(g,t)});function N(e){return function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return h(e,t,o)}}function k(e,t,n){var o;n=null!==(o=n)&&void 0!==o?o:_,i&&i(e,null);for(var r=t.length;r--;){var s=t[r];if("string"==typeof s){var c=n(s);c!==s&&(a(t)||(t[r]=c),s=c)}e[s]=!0}return e}function I(e){var t,n=m(null);for(t in e)!0===h(s,e,[t])&&(n[t]=e[t]);return n}function T(e,t){for(;null!==e;){var n=l(e,t);if(n){if(n.get)return N(n.get);if("function"==typeof n.value)return N(n.value)}e=c(e)}return function(e){return console.warn("fallback value for",e),null}}var A=d(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),L=d(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),O=d(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),P=d(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),D=d(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),R=d(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),H=d(["#text"]),Z=d(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),z=d(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),B=d(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),V=d(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),F=u(/\{\{[\w\W]*|[\w\W]*\}\}/gm),U=u(/<%[\w\W]*|[\w\W]*%>/gm),W=u(/\${[\w\W]*}/gm),G=u(/^data-[\-\w.\u00B7-\uFFFF]/),Y=u(/^aria-[\-\w]+$/),Q=u(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),q=u(/^(?:\w+script|data):/i),$=u(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),J=u(/^html$/i),X=u(/^[a-z][.\w]*(-[.\w]+)+$/i),K=function(){return"undefined"==typeof window?null:window};return function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:K(),r=function(e){return t(e)};if(r.version="2.5.7",r.removed=[],!n||!n.document||9!==n.document.nodeType)return r.isSupported=!1,r;var s=n.document,i=n.document,a=n.DocumentFragment,c=n.HTMLTemplateElement,l=n.Node,u=n.Element,m=n.NodeFilter,p=n.NamedNodeMap,h=void 0===p?n.NamedNodeMap||n.MozNamedAttrMap:p,f=n.HTMLFormElement,g=n.DOMParser,N=n.trustedTypes,ee=u.prototype,te=T(ee,"cloneNode"),ne=T(ee,"nextSibling"),oe=T(ee,"childNodes"),re=T(ee,"parentNode");if("function"==typeof c){var se=i.createElement("template");se.content&&se.content.ownerDocument&&(i=se.content.ownerDocument)}var ie=function(t,n){if("object"!==e(t)||"function"!=typeof t.createPolicy)return null;var o=null,r="data-tt-policy-suffix";n.currentScript&&n.currentScript.hasAttribute(r)&&(o=n.currentScript.getAttribute(r));var s="dompurify"+(o?"#"+o:"");try{return t.createPolicy(s,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+s+" could not be created."),null}}(N,s),ae=ie?ie.createHTML(""):"",ce=i,le=ce.implementation,de=ce.createNodeIterator,ue=ce.createDocumentFragment,me=ce.getElementsByTagName,pe=s.importNode,he={};try{he=I(i).documentMode?i.documentMode:{}}catch(e){}var fe={};r.isSupported="function"==typeof re&&le&&void 0!==le.createHTMLDocument&&9!==he;var ge,ye,we=F,ve=U,_e=W,be=G,xe=Y,Ce=q,Ee=$,Me=X,je=Q,Se=null,Ne=k({},[].concat(o(A),o(L),o(O),o(D),o(H))),ke=null,Ie=k({},[].concat(o(Z),o(z),o(B),o(V))),Te=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ae=null,Le=null,Oe=!0,Pe=!0,De=!1,Re=!0,He=!1,Ze=!0,ze=!1,Be=!1,Ve=!1,Fe=!1,Ue=!1,We=!1,Ge=!0,Ye=!1,Qe=!0,qe=!1,$e={},Je=null,Xe=k({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ke=null,et=k({},["audio","video","img","source","image","track"]),tt=null,nt=k({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ot="http://www.w3.org/1998/Math/MathML",rt="http://www.w3.org/2000/svg",st="http://www.w3.org/1999/xhtml",it=st,at=!1,ct=null,lt=k({},[ot,rt,st],b),dt=["application/xhtml+xml","text/html"],ut=null,mt=i.createElement("form"),pt=function(e){return e instanceof RegExp||e instanceof Function},ht=function(t){ut&&ut===t||(t&&"object"===e(t)||(t={}),t=I(t),ge=ge=-1===dt.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,ye="application/xhtml+xml"===ge?b:_,Se="ALLOWED_TAGS"in t?k({},t.ALLOWED_TAGS,ye):Ne,ke="ALLOWED_ATTR"in t?k({},t.ALLOWED_ATTR,ye):Ie,ct="ALLOWED_NAMESPACES"in t?k({},t.ALLOWED_NAMESPACES,b):lt,tt="ADD_URI_SAFE_ATTR"in t?k(I(nt),t.ADD_URI_SAFE_ATTR,ye):nt,Ke="ADD_DATA_URI_TAGS"in t?k(I(et),t.ADD_DATA_URI_TAGS,ye):et,Je="FORBID_CONTENTS"in t?k({},t.FORBID_CONTENTS,ye):Xe,Ae="FORBID_TAGS"in t?k({},t.FORBID_TAGS,ye):{},Le="FORBID_ATTR"in t?k({},t.FORBID_ATTR,ye):{},$e="USE_PROFILES"in t&&t.USE_PROFILES,Oe=!1!==t.ALLOW_ARIA_ATTR,Pe=!1!==t.ALLOW_DATA_ATTR,De=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Re=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,He=t.SAFE_FOR_TEMPLATES||!1,Ze=!1!==t.SAFE_FOR_XML,ze=t.WHOLE_DOCUMENT||!1,Fe=t.RETURN_DOM||!1,Ue=t.RETURN_DOM_FRAGMENT||!1,We=t.RETURN_TRUSTED_TYPE||!1,Ve=t.FORCE_BODY||!1,Ge=!1!==t.SANITIZE_DOM,Ye=t.SANITIZE_NAMED_PROPS||!1,Qe=!1!==t.KEEP_CONTENT,qe=t.IN_PLACE||!1,je=t.ALLOWED_URI_REGEXP||je,it=t.NAMESPACE||st,Te=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&pt(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Te.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&pt(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Te.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Te.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),He&&(Pe=!1),Ue&&(Fe=!0),$e&&(Se=k({},o(H)),ke=[],!0===$e.html&&(k(Se,A),k(ke,Z)),!0===$e.svg&&(k(Se,L),k(ke,z),k(ke,V)),!0===$e.svgFilters&&(k(Se,O),k(ke,z),k(ke,V)),!0===$e.mathMl&&(k(Se,D),k(ke,B),k(ke,V))),t.ADD_TAGS&&(Se===Ne&&(Se=I(Se)),k(Se,t.ADD_TAGS,ye)),t.ADD_ATTR&&(ke===Ie&&(ke=I(ke)),k(ke,t.ADD_ATTR,ye)),t.ADD_URI_SAFE_ATTR&&k(tt,t.ADD_URI_SAFE_ATTR,ye),t.FORBID_CONTENTS&&(Je===Xe&&(Je=I(Je)),k(Je,t.FORBID_CONTENTS,ye)),Qe&&(Se["#text"]=!0),ze&&k(Se,["html","head","body"]),Se.table&&(k(Se,["tbody"]),delete Ae.tbody),d&&d(t),ut=t)},ft=k({},["mi","mo","mn","ms","mtext"]),gt=k({},["annotation-xml"]),yt=k({},["title","style","font","a","script"]),wt=k({},L);k(wt,O),k(wt,P);var vt=k({},D);k(vt,R);var _t=function(e){v(r.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=ae}catch(t){e.remove()}}},bt=function(e,t){try{v(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){v(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!ke[e])if(Fe||Ue)try{_t(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},xt=function(e){var t,n;if(Ve)e="<remove></remove>"+e;else{var o=x(e,/^[\r\n\t ]+/);n=o&&o[0]}"application/xhtml+xml"===ge&&it===st&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var r=ie?ie.createHTML(e):e;if(it===st)try{t=(new g).parseFromString(r,ge)}catch(e){}if(!t||!t.documentElement){t=le.createDocument(it,"template",null);try{t.documentElement.innerHTML=at?ae:r}catch(e){}}var s=t.body||t.documentElement;return e&&n&&s.insertBefore(i.createTextNode(n),s.childNodes[0]||null),it===st?me.call(t,ze?"html":"body")[0]:ze?t.documentElement:s},Ct=function(e){return de.call(e.ownerDocument||e,e,m.SHOW_ELEMENT|m.SHOW_COMMENT|m.SHOW_TEXT|m.SHOW_PROCESSING_INSTRUCTION|m.SHOW_CDATA_SECTION,null,!1)},Et=function(e){return e instanceof f&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof h)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Mt=function(t){return"object"===e(l)?t instanceof l:t&&"object"===e(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},jt=function(e,t,n){fe[e]&&y(fe[e],(function(e){e.call(r,t,n,ut)}))},St=function(e){var t;if(jt("beforeSanitizeElements",e,null),Et(e))return _t(e),!0;if(j(/[\u0080-\uFFFF]/,e.nodeName))return _t(e),!0;var n=ye(e.nodeName);if(jt("uponSanitizeElement",e,{tagName:n,allowedTags:Se}),e.hasChildNodes()&&!Mt(e.firstElementChild)&&(!Mt(e.content)||!Mt(e.content.firstElementChild))&&j(/<[/\w]/g,e.innerHTML)&&j(/<[/\w]/g,e.textContent))return _t(e),!0;if("select"===n&&j(/<template/i,e.innerHTML))return _t(e),!0;if(7===e.nodeType)return _t(e),!0;if(Ze&&8===e.nodeType&&j(/<[/\w]/g,e.data))return _t(e),!0;if(!Se[n]||Ae[n]){if(!Ae[n]&&kt(n)){if(Te.tagNameCheck instanceof RegExp&&j(Te.tagNameCheck,n))return!1;if(Te.tagNameCheck instanceof Function&&Te.tagNameCheck(n))return!1}if(Qe&&!Je[n]){var o=re(e)||e.parentNode,s=oe(e)||e.childNodes;if(s&&o)for(var i=s.length-1;i>=0;--i){var a=te(s[i],!0);a.__removalCount=(e.__removalCount||0)+1,o.insertBefore(a,ne(e))}}return _t(e),!0}return e instanceof u&&!function(e){var t=re(e);t&&t.tagName||(t={namespaceURI:it,tagName:"template"});var n=_(e.tagName),o=_(t.tagName);return!!ct[e.namespaceURI]&&(e.namespaceURI===rt?t.namespaceURI===st?"svg"===n:t.namespaceURI===ot?"svg"===n&&("annotation-xml"===o||ft[o]):Boolean(wt[n]):e.namespaceURI===ot?t.namespaceURI===st?"math"===n:t.namespaceURI===rt?"math"===n&&gt[o]:Boolean(vt[n]):e.namespaceURI===st?!(t.namespaceURI===rt&&!gt[o])&&!(t.namespaceURI===ot&&!ft[o])&&!vt[n]&&(yt[n]||!wt[n]):!("application/xhtml+xml"!==ge||!ct[e.namespaceURI]))}(e)?(_t(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!j(/<\/no(script|embed|frames)/i,e.innerHTML)?(He&&3===e.nodeType&&(t=e.textContent,t=C(t,we," "),t=C(t,ve," "),t=C(t,_e," "),e.textContent!==t&&(v(r.removed,{element:e.cloneNode()}),e.textContent=t)),jt("afterSanitizeElements",e,null),!1):(_t(e),!0)},Nt=function(e,t,n){if(Ge&&("id"===t||"name"===t)&&(n in i||n in mt))return!1;if(Pe&&!Le[t]&&j(be,t));else if(Oe&&j(xe,t));else if(!ke[t]||Le[t]){if(!(kt(e)&&(Te.tagNameCheck instanceof RegExp&&j(Te.tagNameCheck,e)||Te.tagNameCheck instanceof Function&&Te.tagNameCheck(e))&&(Te.attributeNameCheck instanceof RegExp&&j(Te.attributeNameCheck,t)||Te.attributeNameCheck instanceof Function&&Te.attributeNameCheck(t))||"is"===t&&Te.allowCustomizedBuiltInElements&&(Te.tagNameCheck instanceof RegExp&&j(Te.tagNameCheck,n)||Te.tagNameCheck instanceof Function&&Te.tagNameCheck(n))))return!1}else if(tt[t]);else if(j(je,C(n,Ee,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==E(n,"data:")||!Ke[e])if(De&&!j(Ce,C(n,Ee,"")));else if(n)return!1;return!0},kt=function(e){return"annotation-xml"!==e&&x(e,Me)},It=function(t){var n,o,s,i;jt("beforeSanitizeAttributes",t,null);var a=t.attributes;if(a){var c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ke};for(i=a.length;i--;){var l=n=a[i],d=l.name,u=l.namespaceURI;if(o="value"===d?n.value:M(n.value),s=ye(d),c.attrName=s,c.attrValue=o,c.keepAttr=!0,c.forceKeepAttr=void 0,jt("uponSanitizeAttribute",t,c),o=c.attrValue,!c.forceKeepAttr&&(bt(d,t),c.keepAttr))if(Re||!j(/\/>/i,o)){He&&(o=C(o,we," "),o=C(o,ve," "),o=C(o,_e," "));var m=ye(t.nodeName);if(Nt(m,s,o))if(!Ye||"id"!==s&&"name"!==s||(bt(d,t),o="user-content-"+o),Ze&&j(/((--!?|])>)|<\/(style|title)/i,o))bt(d,t);else{if(ie&&"object"===e(N)&&"function"==typeof N.getAttributeType)if(u);else switch(N.getAttributeType(m,s)){case"TrustedHTML":o=ie.createHTML(o);break;case"TrustedScriptURL":o=ie.createScriptURL(o)}try{u?t.setAttributeNS(u,d,o):t.setAttribute(d,o),Et(t)?_t(t):w(r.removed)}catch(e){}}}else bt(d,t)}jt("afterSanitizeAttributes",t,null)}},Tt=function e(t){var n,o=Ct(t);for(jt("beforeSanitizeShadowDOM",t,null);n=o.nextNode();)jt("uponSanitizeShadowNode",n,null),St(n)||(n.content instanceof a&&e(n.content),It(n));jt("afterSanitizeShadowDOM",t,null)};return r.sanitize=function(t){var o,i,c,d,u,m=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((at=!t)&&(t="\x3c!--\x3e"),"string"!=typeof t&&!Mt(t)){if("function"!=typeof t.toString)throw S("toString is not a function");if("string"!=typeof(t=t.toString()))throw S("dirty is not a string, aborting")}if(!r.isSupported){if("object"===e(n.toStaticHTML)||"function"==typeof n.toStaticHTML){if("string"==typeof t)return n.toStaticHTML(t);if(Mt(t))return n.toStaticHTML(t.outerHTML)}return t}if(Be||ht(m),r.removed=[],"string"==typeof t&&(qe=!1),qe){if(t.nodeName){var p=ye(t.nodeName);if(!Se[p]||Ae[p])throw S("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof l)1===(i=(o=xt("\x3c!----\x3e")).ownerDocument.importNode(t,!0)).nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?o=i:o.appendChild(i);else{if(!Fe&&!He&&!ze&&-1===t.indexOf("<"))return ie&&We?ie.createHTML(t):t;if(!(o=xt(t)))return Fe?null:We?ae:""}o&&Ve&&_t(o.firstChild);for(var h=Ct(qe?t:o);c=h.nextNode();)3===c.nodeType&&c===d||St(c)||(c.content instanceof a&&Tt(c.content),It(c),d=c);if(d=null,qe)return t;if(Fe){if(Ue)for(u=ue.call(o.ownerDocument);o.firstChild;)u.appendChild(o.firstChild);else u=o;return(ke.shadowroot||ke.shadowrootmod)&&(u=pe.call(s,u,!0)),u}var f=ze?o.outerHTML:o.innerHTML;return ze&&Se["!doctype"]&&o.ownerDocument&&o.ownerDocument.doctype&&o.ownerDocument.doctype.name&&j(J,o.ownerDocument.doctype.name)&&(f="<!DOCTYPE "+o.ownerDocument.doctype.name+">\n"+f),He&&(f=C(f,we," "),f=C(f,ve," "),f=C(f,_e," ")),ie&&We?ie.createHTML(f):f},r.setConfig=function(e){ht(e),Be=!0},r.clearConfig=function(){ut=null,Be=!1},r.isValidAttribute=function(e,t,n){ut||ht({});var o=ye(e),r=ye(t);return Nt(o,r,n)},r.addHook=function(e,t){"function"==typeof t&&(fe[e]=fe[e]||[],v(fe[e],t))},r.removeHook=function(e){if(fe[e])return w(fe[e])},r.removeHooks=function(e){fe[e]&&(fe[e]=[])},r.removeAllHooks=function(){fe={}},r}()}()},35333:e=>{"use strict";var t=Object.prototype.toString,n=Math.max,o=function(e,t){for(var n=[],o=0;o<e.length;o+=1)n[o]=e[o];for(var r=0;r<t.length;r+=1)n[r+e.length]=t[r];return n};e.exports=function(e){var r=this;if("function"!=typeof r||"[object Function]"!==t.apply(r))throw new TypeError("Function.prototype.bind called on incompatible "+r);for(var s,i=function(e,t){for(var n=[],o=1,r=0;o<e.length;o+=1,r+=1)n[r]=e[o];return n}(arguments),a=n(0,r.length-i.length),c=[],l=0;l<a;l++)c[l]="$"+l;if(s=Function("binder","return function ("+function(e,t){for(var n="",o=0;o<e.length;o+=1)n+=e[o],o+1<e.length&&(n+=",");return n}(c)+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof s){var t=r.apply(this,o(i,arguments));return Object(t)===t?t:this}return r.apply(e,o(i,arguments))})),r.prototype){var d=function(){};d.prototype=r.prototype,s.prototype=new d,d.prototype=null}return s}},22213:(e,t,n)=>{"use strict";var o=n(35333);e.exports=Function.prototype.bind||o},29415:(e,t,n)=>{"use strict";var o,r=SyntaxError,s=Function,i=TypeError,a=function(e){try{return s('"use strict"; return ('+e+").constructor;")()}catch(e){}},c=Object.getOwnPropertyDescriptor;if(c)try{c({},"")}catch(e){c=null}var l=function(){throw new i},d=c?function(){try{return l}catch(e){try{return c(arguments,"callee").get}catch(e){return l}}}():l,u=n(38636)(),m=n(8127)(),p=Object.getPrototypeOf||(m?function(e){return e.__proto__}:null),h={},f="undefined"!=typeof Uint8Array&&p?p(Uint8Array):o,g={"%AggregateError%":"undefined"==typeof AggregateError?o:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?o:ArrayBuffer,"%ArrayIteratorPrototype%":u&&p?p([][Symbol.iterator]()):o,"%AsyncFromSyncIteratorPrototype%":o,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":"undefined"==typeof Atomics?o:Atomics,"%BigInt%":"undefined"==typeof BigInt?o:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?o:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?o:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?o:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?o:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?o:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?o:FinalizationRegistry,"%Function%":s,"%GeneratorFunction%":h,"%Int8Array%":"undefined"==typeof Int8Array?o:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?o:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?o:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":u&&p?p(p([][Symbol.iterator]())):o,"%JSON%":"object"==typeof JSON?JSON:o,"%Map%":"undefined"==typeof Map?o:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&u&&p?p((new Map)[Symbol.iterator]()):o,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?o:Promise,"%Proxy%":"undefined"==typeof Proxy?o:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?o:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?o:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&u&&p?p((new Set)[Symbol.iterator]()):o,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?o:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":u&&p?p(""[Symbol.iterator]()):o,"%Symbol%":u?Symbol:o,"%SyntaxError%":r,"%ThrowTypeError%":d,"%TypedArray%":f,"%TypeError%":i,"%Uint8Array%":"undefined"==typeof Uint8Array?o:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?o:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?o:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?o:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?o:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?o:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?o:WeakSet};if(p)try{null.error}catch(e){var y=p(p(e));g["%Error.prototype%"]=y}var w=function e(t){var n;if("%AsyncFunction%"===t)n=a("async function () {}");else if("%GeneratorFunction%"===t)n=a("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=a("async function* () {}");else if("%AsyncGenerator%"===t){var o=e("%AsyncGeneratorFunction%");o&&(n=o.prototype)}else if("%AsyncIteratorPrototype%"===t){var r=e("%AsyncGenerator%");r&&p&&(n=p(r.prototype))}return g[t]=n,n},v={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},_=n(22213),b=n(29151),x=_.call(Function.call,Array.prototype.concat),C=_.call(Function.apply,Array.prototype.splice),E=_.call(Function.call,String.prototype.replace),M=_.call(Function.call,String.prototype.slice),j=_.call(Function.call,RegExp.prototype.exec),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,N=/\\(\\)?/g,k=function(e,t){var n,o=e;if(b(v,o)&&(o="%"+(n=v[o])[0]+"%"),b(g,o)){var s=g[o];if(s===h&&(s=w(o)),void 0===s&&!t)throw new i("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:o,value:s}}throw new r("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new i('"allowMissing" argument must be a boolean');if(null===j(/^%?[^%]*%?$/,e))throw new r("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=M(e,0,1),n=M(e,-1);if("%"===t&&"%"!==n)throw new r("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new r("invalid intrinsic syntax, expected opening `%`");var o=[];return E(e,S,(function(e,t,n,r){o[o.length]=n?E(r,N,"$1"):t||e})),o}(e),o=n.length>0?n[0]:"",s=k("%"+o+"%",t),a=s.name,l=s.value,d=!1,u=s.alias;u&&(o=u[0],C(n,x([0,1],u)));for(var m=1,p=!0;m<n.length;m+=1){var h=n[m],f=M(h,0,1),y=M(h,-1);if(('"'===f||"'"===f||"`"===f||'"'===y||"'"===y||"`"===y)&&f!==y)throw new r("property names with quotes must have matching quotes");if("constructor"!==h&&p||(d=!0),b(g,a="%"+(o+="."+h)+"%"))l=g[a];else if(null!=l){if(!(h in l)){if(!t)throw new i("base intrinsic for "+e+" exists, but the property is not available.");return}if(c&&m+1>=n.length){var w=c(l,h);l=(p=!!w)&&"get"in w&&!("originalValue"in w.get)?w.get:l[h]}else p=b(l,h),l=l[h];p&&!d&&(g[a]=l)}}return l}},97520:(e,t,n)=>{"use strict";var o=n(29415)("%Object.getOwnPropertyDescriptor%",!0);if(o)try{o([],"length")}catch(e){o=null}e.exports=o},90820:e=>{e.exports&&(e.exports=function(){var e=3,t=4,n=12,o=13,r=16,s=17;function i(e,t){void 0===t&&(t=0);var n=e.charCodeAt(t);if(55296<=n&&n<=56319&&t<e.length-1){var o=n;return 56320<=(r=e.charCodeAt(t+1))&&r<=57343?1024*(o-55296)+(r-56320)+65536:o}if(56320<=n&&n<=57343&&t>=1){var r=n;return 55296<=(o=e.charCodeAt(t-1))&&o<=56319?1024*(o-55296)+(r-56320)+65536:r}return n}function a(i,a,c){var l=[i].concat(a).concat([c]),d=l[l.length-2],u=c,m=l.lastIndexOf(14);if(m>1&&l.slice(1,m).every((function(t){return t==e}))&&-1==[e,o,s].indexOf(i))return 2;var p=l.lastIndexOf(t);if(p>0&&l.slice(1,p).every((function(e){return e==t}))&&-1==[n,t].indexOf(d))return l.filter((function(e){return e==t})).length%2==1?3:4;if(0==d&&1==u)return 0;if(2==d||0==d||1==d)return 14==u&&a.every((function(t){return t==e}))?2:1;if(2==u||0==u||1==u)return 1;if(6==d&&(6==u||7==u||9==u||10==u))return 0;if(!(9!=d&&7!=d||7!=u&&8!=u))return 0;if((10==d||8==d)&&8==u)return 0;if(u==e||15==u)return 0;if(5==u)return 0;if(d==n)return 0;var h=-1!=l.indexOf(e)?l.lastIndexOf(e)-1:l.length-2;return-1!=[o,s].indexOf(l[h])&&l.slice(h+1,-1).every((function(t){return t==e}))&&14==u||15==d&&-1!=[r,s].indexOf(u)?0:-1!=a.indexOf(t)?2:d==t&&u==t?0:1}function c(i){return 1536<=i&&i<=1541||1757==i||1807==i||2274==i||3406==i||69821==i||70082<=i&&i<=70083||72250==i||72326<=i&&i<=72329||73030==i?n:13==i?0:10==i?1:0<=i&&i<=9||11<=i&&i<=12||14<=i&&i<=31||127<=i&&i<=159||173==i||1564==i||6158==i||8203==i||8206<=i&&i<=8207||8232==i||8233==i||8234<=i&&i<=8238||8288<=i&&i<=8292||8293==i||8294<=i&&i<=8303||55296<=i&&i<=57343||65279==i||65520<=i&&i<=65528||65529<=i&&i<=65531||113824<=i&&i<=113827||119155<=i&&i<=119162||917504==i||917505==i||917506<=i&&i<=917535||917632<=i&&i<=917759||918e3<=i&&i<=921599?2:768<=i&&i<=879||1155<=i&&i<=1159||1160<=i&&i<=1161||1425<=i&&i<=1469||1471==i||1473<=i&&i<=1474||1476<=i&&i<=1477||1479==i||1552<=i&&i<=1562||1611<=i&&i<=1631||1648==i||1750<=i&&i<=1756||1759<=i&&i<=1764||1767<=i&&i<=1768||1770<=i&&i<=1773||1809==i||1840<=i&&i<=1866||1958<=i&&i<=1968||2027<=i&&i<=2035||2070<=i&&i<=2073||2075<=i&&i<=2083||2085<=i&&i<=2087||2089<=i&&i<=2093||2137<=i&&i<=2139||2260<=i&&i<=2273||2275<=i&&i<=2306||2362==i||2364==i||2369<=i&&i<=2376||2381==i||2385<=i&&i<=2391||2402<=i&&i<=2403||2433==i||2492==i||2494==i||2497<=i&&i<=2500||2509==i||2519==i||2530<=i&&i<=2531||2561<=i&&i<=2562||2620==i||2625<=i&&i<=2626||2631<=i&&i<=2632||2635<=i&&i<=2637||2641==i||2672<=i&&i<=2673||2677==i||2689<=i&&i<=2690||2748==i||2753<=i&&i<=2757||2759<=i&&i<=2760||2765==i||2786<=i&&i<=2787||2810<=i&&i<=2815||2817==i||2876==i||2878==i||2879==i||2881<=i&&i<=2884||2893==i||2902==i||2903==i||2914<=i&&i<=2915||2946==i||3006==i||3008==i||3021==i||3031==i||3072==i||3134<=i&&i<=3136||3142<=i&&i<=3144||3146<=i&&i<=3149||3157<=i&&i<=3158||3170<=i&&i<=3171||3201==i||3260==i||3263==i||3266==i||3270==i||3276<=i&&i<=3277||3285<=i&&i<=3286||3298<=i&&i<=3299||3328<=i&&i<=3329||3387<=i&&i<=3388||3390==i||3393<=i&&i<=3396||3405==i||3415==i||3426<=i&&i<=3427||3530==i||3535==i||3538<=i&&i<=3540||3542==i||3551==i||3633==i||3636<=i&&i<=3642||3655<=i&&i<=3662||3761==i||3764<=i&&i<=3769||3771<=i&&i<=3772||3784<=i&&i<=3789||3864<=i&&i<=3865||3893==i||3895==i||3897==i||3953<=i&&i<=3966||3968<=i&&i<=3972||3974<=i&&i<=3975||3981<=i&&i<=3991||3993<=i&&i<=4028||4038==i||4141<=i&&i<=4144||4146<=i&&i<=4151||4153<=i&&i<=4154||4157<=i&&i<=4158||4184<=i&&i<=4185||4190<=i&&i<=4192||4209<=i&&i<=4212||4226==i||4229<=i&&i<=4230||4237==i||4253==i||4957<=i&&i<=4959||5906<=i&&i<=5908||5938<=i&&i<=5940||5970<=i&&i<=5971||6002<=i&&i<=6003||6068<=i&&i<=6069||6071<=i&&i<=6077||6086==i||6089<=i&&i<=6099||6109==i||6155<=i&&i<=6157||6277<=i&&i<=6278||6313==i||6432<=i&&i<=6434||6439<=i&&i<=6440||6450==i||6457<=i&&i<=6459||6679<=i&&i<=6680||6683==i||6742==i||6744<=i&&i<=6750||6752==i||6754==i||6757<=i&&i<=6764||6771<=i&&i<=6780||6783==i||6832<=i&&i<=6845||6846==i||6912<=i&&i<=6915||6964==i||6966<=i&&i<=6970||6972==i||6978==i||7019<=i&&i<=7027||7040<=i&&i<=7041||7074<=i&&i<=7077||7080<=i&&i<=7081||7083<=i&&i<=7085||7142==i||7144<=i&&i<=7145||7149==i||7151<=i&&i<=7153||7212<=i&&i<=7219||7222<=i&&i<=7223||7376<=i&&i<=7378||7380<=i&&i<=7392||7394<=i&&i<=7400||7405==i||7412==i||7416<=i&&i<=7417||7616<=i&&i<=7673||7675<=i&&i<=7679||8204==i||8400<=i&&i<=8412||8413<=i&&i<=8416||8417==i||8418<=i&&i<=8420||8421<=i&&i<=8432||11503<=i&&i<=11505||11647==i||11744<=i&&i<=11775||12330<=i&&i<=12333||12334<=i&&i<=12335||12441<=i&&i<=12442||42607==i||42608<=i&&i<=42610||42612<=i&&i<=42621||42654<=i&&i<=42655||42736<=i&&i<=42737||43010==i||43014==i||43019==i||43045<=i&&i<=43046||43204<=i&&i<=43205||43232<=i&&i<=43249||43302<=i&&i<=43309||43335<=i&&i<=43345||43392<=i&&i<=43394||43443==i||43446<=i&&i<=43449||43452==i||43493==i||43561<=i&&i<=43566||43569<=i&&i<=43570||43573<=i&&i<=43574||43587==i||43596==i||43644==i||43696==i||43698<=i&&i<=43700||43703<=i&&i<=43704||43710<=i&&i<=43711||43713==i||43756<=i&&i<=43757||43766==i||44005==i||44008==i||44013==i||64286==i||65024<=i&&i<=65039||65056<=i&&i<=65071||65438<=i&&i<=65439||66045==i||66272==i||66422<=i&&i<=66426||68097<=i&&i<=68099||68101<=i&&i<=68102||68108<=i&&i<=68111||68152<=i&&i<=68154||68159==i||68325<=i&&i<=68326||69633==i||69688<=i&&i<=69702||69759<=i&&i<=69761||69811<=i&&i<=69814||69817<=i&&i<=69818||69888<=i&&i<=69890||69927<=i&&i<=69931||69933<=i&&i<=69940||70003==i||70016<=i&&i<=70017||70070<=i&&i<=70078||70090<=i&&i<=70092||70191<=i&&i<=70193||70196==i||70198<=i&&i<=70199||70206==i||70367==i||70371<=i&&i<=70378||70400<=i&&i<=70401||70460==i||70462==i||70464==i||70487==i||70502<=i&&i<=70508||70512<=i&&i<=70516||70712<=i&&i<=70719||70722<=i&&i<=70724||70726==i||70832==i||70835<=i&&i<=70840||70842==i||70845==i||70847<=i&&i<=70848||70850<=i&&i<=70851||71087==i||71090<=i&&i<=71093||71100<=i&&i<=71101||71103<=i&&i<=71104||71132<=i&&i<=71133||71219<=i&&i<=71226||71229==i||71231<=i&&i<=71232||71339==i||71341==i||71344<=i&&i<=71349||71351==i||71453<=i&&i<=71455||71458<=i&&i<=71461||71463<=i&&i<=71467||72193<=i&&i<=72198||72201<=i&&i<=72202||72243<=i&&i<=72248||72251<=i&&i<=72254||72263==i||72273<=i&&i<=72278||72281<=i&&i<=72283||72330<=i&&i<=72342||72344<=i&&i<=72345||72752<=i&&i<=72758||72760<=i&&i<=72765||72767==i||72850<=i&&i<=72871||72874<=i&&i<=72880||72882<=i&&i<=72883||72885<=i&&i<=72886||73009<=i&&i<=73014||73018==i||73020<=i&&i<=73021||73023<=i&&i<=73029||73031==i||92912<=i&&i<=92916||92976<=i&&i<=92982||94095<=i&&i<=94098||113821<=i&&i<=113822||119141==i||119143<=i&&i<=119145||119150<=i&&i<=119154||119163<=i&&i<=119170||119173<=i&&i<=119179||119210<=i&&i<=119213||119362<=i&&i<=119364||121344<=i&&i<=121398||121403<=i&&i<=121452||121461==i||121476==i||121499<=i&&i<=121503||121505<=i&&i<=121519||122880<=i&&i<=122886||122888<=i&&i<=122904||122907<=i&&i<=122913||122915<=i&&i<=122916||122918<=i&&i<=122922||125136<=i&&i<=125142||125252<=i&&i<=125258||917536<=i&&i<=917631||917760<=i&&i<=917999?e:127462<=i&&i<=127487?t:2307==i||2363==i||2366<=i&&i<=2368||2377<=i&&i<=2380||2382<=i&&i<=2383||2434<=i&&i<=2435||2495<=i&&i<=2496||2503<=i&&i<=2504||2507<=i&&i<=2508||2563==i||2622<=i&&i<=2624||2691==i||2750<=i&&i<=2752||2761==i||2763<=i&&i<=2764||2818<=i&&i<=2819||2880==i||2887<=i&&i<=2888||2891<=i&&i<=2892||3007==i||3009<=i&&i<=3010||3014<=i&&i<=3016||3018<=i&&i<=3020||3073<=i&&i<=3075||3137<=i&&i<=3140||3202<=i&&i<=3203||3262==i||3264<=i&&i<=3265||3267<=i&&i<=3268||3271<=i&&i<=3272||3274<=i&&i<=3275||3330<=i&&i<=3331||3391<=i&&i<=3392||3398<=i&&i<=3400||3402<=i&&i<=3404||3458<=i&&i<=3459||3536<=i&&i<=3537||3544<=i&&i<=3550||3570<=i&&i<=3571||3635==i||3763==i||3902<=i&&i<=3903||3967==i||4145==i||4155<=i&&i<=4156||4182<=i&&i<=4183||4228==i||6070==i||6078<=i&&i<=6085||6087<=i&&i<=6088||6435<=i&&i<=6438||6441<=i&&i<=6443||6448<=i&&i<=6449||6451<=i&&i<=6456||6681<=i&&i<=6682||6741==i||6743==i||6765<=i&&i<=6770||6916==i||6965==i||6971==i||6973<=i&&i<=6977||6979<=i&&i<=6980||7042==i||7073==i||7078<=i&&i<=7079||7082==i||7143==i||7146<=i&&i<=7148||7150==i||7154<=i&&i<=7155||7204<=i&&i<=7211||7220<=i&&i<=7221||7393==i||7410<=i&&i<=7411||7415==i||43043<=i&&i<=43044||43047==i||43136<=i&&i<=43137||43188<=i&&i<=43203||43346<=i&&i<=43347||43395==i||43444<=i&&i<=43445||43450<=i&&i<=43451||43453<=i&&i<=43456||43567<=i&&i<=43568||43571<=i&&i<=43572||43597==i||43755==i||43758<=i&&i<=43759||43765==i||44003<=i&&i<=44004||44006<=i&&i<=44007||44009<=i&&i<=44010||44012==i||69632==i||69634==i||69762==i||69808<=i&&i<=69810||69815<=i&&i<=69816||69932==i||70018==i||70067<=i&&i<=70069||70079<=i&&i<=70080||70188<=i&&i<=70190||70194<=i&&i<=70195||70197==i||70368<=i&&i<=70370||70402<=i&&i<=70403||70463==i||70465<=i&&i<=70468||70471<=i&&i<=70472||70475<=i&&i<=70477||70498<=i&&i<=70499||70709<=i&&i<=70711||70720<=i&&i<=70721||70725==i||70833<=i&&i<=70834||70841==i||70843<=i&&i<=70844||70846==i||70849==i||71088<=i&&i<=71089||71096<=i&&i<=71099||71102==i||71216<=i&&i<=71218||71227<=i&&i<=71228||71230==i||71340==i||71342<=i&&i<=71343||71350==i||71456<=i&&i<=71457||71462==i||72199<=i&&i<=72200||72249==i||72279<=i&&i<=72280||72343==i||72751==i||72766==i||72873==i||72881==i||72884==i||94033<=i&&i<=94078||119142==i||119149==i?5:4352<=i&&i<=4447||43360<=i&&i<=43388?6:4448<=i&&i<=4519||55216<=i&&i<=55238?7:4520<=i&&i<=4607||55243<=i&&i<=55291?8:44032==i||44060==i||44088==i||44116==i||44144==i||44172==i||44200==i||44228==i||44256==i||44284==i||44312==i||44340==i||44368==i||44396==i||44424==i||44452==i||44480==i||44508==i||44536==i||44564==i||44592==i||44620==i||44648==i||44676==i||44704==i||44732==i||44760==i||44788==i||44816==i||44844==i||44872==i||44900==i||44928==i||44956==i||44984==i||45012==i||45040==i||45068==i||45096==i||45124==i||45152==i||45180==i||45208==i||45236==i||45264==i||45292==i||45320==i||45348==i||45376==i||45404==i||45432==i||45460==i||45488==i||45516==i||45544==i||45572==i||45600==i||45628==i||45656==i||45684==i||45712==i||45740==i||45768==i||45796==i||45824==i||45852==i||45880==i||45908==i||45936==i||45964==i||45992==i||46020==i||46048==i||46076==i||46104==i||46132==i||46160==i||46188==i||46216==i||46244==i||46272==i||46300==i||46328==i||46356==i||46384==i||46412==i||46440==i||46468==i||46496==i||46524==i||46552==i||46580==i||46608==i||46636==i||46664==i||46692==i||46720==i||46748==i||46776==i||46804==i||46832==i||46860==i||46888==i||46916==i||46944==i||46972==i||47e3==i||47028==i||47056==i||47084==i||47112==i||47140==i||47168==i||47196==i||47224==i||47252==i||47280==i||47308==i||47336==i||47364==i||47392==i||47420==i||47448==i||47476==i||47504==i||47532==i||47560==i||47588==i||47616==i||47644==i||47672==i||47700==i||47728==i||47756==i||47784==i||47812==i||47840==i||47868==i||47896==i||47924==i||47952==i||47980==i||48008==i||48036==i||48064==i||48092==i||48120==i||48148==i||48176==i||48204==i||48232==i||48260==i||48288==i||48316==i||48344==i||48372==i||48400==i||48428==i||48456==i||48484==i||48512==i||48540==i||48568==i||48596==i||48624==i||48652==i||48680==i||48708==i||48736==i||48764==i||48792==i||48820==i||48848==i||48876==i||48904==i||48932==i||48960==i||48988==i||49016==i||49044==i||49072==i||49100==i||49128==i||49156==i||49184==i||49212==i||49240==i||49268==i||49296==i||49324==i||49352==i||49380==i||49408==i||49436==i||49464==i||49492==i||49520==i||49548==i||49576==i||49604==i||49632==i||49660==i||49688==i||49716==i||49744==i||49772==i||49800==i||49828==i||49856==i||49884==i||49912==i||49940==i||49968==i||49996==i||50024==i||50052==i||50080==i||50108==i||50136==i||50164==i||50192==i||50220==i||50248==i||50276==i||50304==i||50332==i||50360==i||50388==i||50416==i||50444==i||50472==i||50500==i||50528==i||50556==i||50584==i||50612==i||50640==i||50668==i||50696==i||50724==i||50752==i||50780==i||50808==i||50836==i||50864==i||50892==i||50920==i||50948==i||50976==i||51004==i||51032==i||51060==i||51088==i||51116==i||51144==i||51172==i||51200==i||51228==i||51256==i||51284==i||51312==i||51340==i||51368==i||51396==i||51424==i||51452==i||51480==i||51508==i||51536==i||51564==i||51592==i||51620==i||51648==i||51676==i||51704==i||51732==i||51760==i||51788==i||51816==i||51844==i||51872==i||51900==i||51928==i||51956==i||51984==i||52012==i||52040==i||52068==i||52096==i||52124==i||52152==i||52180==i||52208==i||52236==i||52264==i||52292==i||52320==i||52348==i||52376==i||52404==i||52432==i||52460==i||52488==i||52516==i||52544==i||52572==i||52600==i||52628==i||52656==i||52684==i||52712==i||52740==i||52768==i||52796==i||52824==i||52852==i||52880==i||52908==i||52936==i||52964==i||52992==i||53020==i||53048==i||53076==i||53104==i||53132==i||53160==i||53188==i||53216==i||53244==i||53272==i||53300==i||53328==i||53356==i||53384==i||53412==i||53440==i||53468==i||53496==i||53524==i||53552==i||53580==i||53608==i||53636==i||53664==i||53692==i||53720==i||53748==i||53776==i||53804==i||53832==i||53860==i||53888==i||53916==i||53944==i||53972==i||54e3==i||54028==i||54056==i||54084==i||54112==i||54140==i||54168==i||54196==i||54224==i||54252==i||54280==i||54308==i||54336==i||54364==i||54392==i||54420==i||54448==i||54476==i||54504==i||54532==i||54560==i||54588==i||54616==i||54644==i||54672==i||54700==i||54728==i||54756==i||54784==i||54812==i||54840==i||54868==i||54896==i||54924==i||54952==i||54980==i||55008==i||55036==i||55064==i||55092==i||55120==i||55148==i||55176==i?9:44033<=i&&i<=44059||44061<=i&&i<=44087||44089<=i&&i<=44115||44117<=i&&i<=44143||44145<=i&&i<=44171||44173<=i&&i<=44199||44201<=i&&i<=44227||44229<=i&&i<=44255||44257<=i&&i<=44283||44285<=i&&i<=44311||44313<=i&&i<=44339||44341<=i&&i<=44367||44369<=i&&i<=44395||44397<=i&&i<=44423||44425<=i&&i<=44451||44453<=i&&i<=44479||44481<=i&&i<=44507||44509<=i&&i<=44535||44537<=i&&i<=44563||44565<=i&&i<=44591||44593<=i&&i<=44619||44621<=i&&i<=44647||44649<=i&&i<=44675||44677<=i&&i<=44703||44705<=i&&i<=44731||44733<=i&&i<=44759||44761<=i&&i<=44787||44789<=i&&i<=44815||44817<=i&&i<=44843||44845<=i&&i<=44871||44873<=i&&i<=44899||44901<=i&&i<=44927||44929<=i&&i<=44955||44957<=i&&i<=44983||44985<=i&&i<=45011||45013<=i&&i<=45039||45041<=i&&i<=45067||45069<=i&&i<=45095||45097<=i&&i<=45123||45125<=i&&i<=45151||45153<=i&&i<=45179||45181<=i&&i<=45207||45209<=i&&i<=45235||45237<=i&&i<=45263||45265<=i&&i<=45291||45293<=i&&i<=45319||45321<=i&&i<=45347||45349<=i&&i<=45375||45377<=i&&i<=45403||45405<=i&&i<=45431||45433<=i&&i<=45459||45461<=i&&i<=45487||45489<=i&&i<=45515||45517<=i&&i<=45543||45545<=i&&i<=45571||45573<=i&&i<=45599||45601<=i&&i<=45627||45629<=i&&i<=45655||45657<=i&&i<=45683||45685<=i&&i<=45711||45713<=i&&i<=45739||45741<=i&&i<=45767||45769<=i&&i<=45795||45797<=i&&i<=45823||45825<=i&&i<=45851||45853<=i&&i<=45879||45881<=i&&i<=45907||45909<=i&&i<=45935||45937<=i&&i<=45963||45965<=i&&i<=45991||45993<=i&&i<=46019||46021<=i&&i<=46047||46049<=i&&i<=46075||46077<=i&&i<=46103||46105<=i&&i<=46131||46133<=i&&i<=46159||46161<=i&&i<=46187||46189<=i&&i<=46215||46217<=i&&i<=46243||46245<=i&&i<=46271||46273<=i&&i<=46299||46301<=i&&i<=46327||46329<=i&&i<=46355||46357<=i&&i<=46383||46385<=i&&i<=46411||46413<=i&&i<=46439||46441<=i&&i<=46467||46469<=i&&i<=46495||46497<=i&&i<=46523||46525<=i&&i<=46551||46553<=i&&i<=46579||46581<=i&&i<=46607||46609<=i&&i<=46635||46637<=i&&i<=46663||46665<=i&&i<=46691||46693<=i&&i<=46719||46721<=i&&i<=46747||46749<=i&&i<=46775||46777<=i&&i<=46803||46805<=i&&i<=46831||46833<=i&&i<=46859||46861<=i&&i<=46887||46889<=i&&i<=46915||46917<=i&&i<=46943||46945<=i&&i<=46971||46973<=i&&i<=46999||47001<=i&&i<=47027||47029<=i&&i<=47055||47057<=i&&i<=47083||47085<=i&&i<=47111||47113<=i&&i<=47139||47141<=i&&i<=47167||47169<=i&&i<=47195||47197<=i&&i<=47223||47225<=i&&i<=47251||47253<=i&&i<=47279||47281<=i&&i<=47307||47309<=i&&i<=47335||47337<=i&&i<=47363||47365<=i&&i<=47391||47393<=i&&i<=47419||47421<=i&&i<=47447||47449<=i&&i<=47475||47477<=i&&i<=47503||47505<=i&&i<=47531||47533<=i&&i<=47559||47561<=i&&i<=47587||47589<=i&&i<=47615||47617<=i&&i<=47643||47645<=i&&i<=47671||47673<=i&&i<=47699||47701<=i&&i<=47727||47729<=i&&i<=47755||47757<=i&&i<=47783||47785<=i&&i<=47811||47813<=i&&i<=47839||47841<=i&&i<=47867||47869<=i&&i<=47895||47897<=i&&i<=47923||47925<=i&&i<=47951||47953<=i&&i<=47979||47981<=i&&i<=48007||48009<=i&&i<=48035||48037<=i&&i<=48063||48065<=i&&i<=48091||48093<=i&&i<=48119||48121<=i&&i<=48147||48149<=i&&i<=48175||48177<=i&&i<=48203||48205<=i&&i<=48231||48233<=i&&i<=48259||48261<=i&&i<=48287||48289<=i&&i<=48315||48317<=i&&i<=48343||48345<=i&&i<=48371||48373<=i&&i<=48399||48401<=i&&i<=48427||48429<=i&&i<=48455||48457<=i&&i<=48483||48485<=i&&i<=48511||48513<=i&&i<=48539||48541<=i&&i<=48567||48569<=i&&i<=48595||48597<=i&&i<=48623||48625<=i&&i<=48651||48653<=i&&i<=48679||48681<=i&&i<=48707||48709<=i&&i<=48735||48737<=i&&i<=48763||48765<=i&&i<=48791||48793<=i&&i<=48819||48821<=i&&i<=48847||48849<=i&&i<=48875||48877<=i&&i<=48903||48905<=i&&i<=48931||48933<=i&&i<=48959||48961<=i&&i<=48987||48989<=i&&i<=49015||49017<=i&&i<=49043||49045<=i&&i<=49071||49073<=i&&i<=49099||49101<=i&&i<=49127||49129<=i&&i<=49155||49157<=i&&i<=49183||49185<=i&&i<=49211||49213<=i&&i<=49239||49241<=i&&i<=49267||49269<=i&&i<=49295||49297<=i&&i<=49323||49325<=i&&i<=49351||49353<=i&&i<=49379||49381<=i&&i<=49407||49409<=i&&i<=49435||49437<=i&&i<=49463||49465<=i&&i<=49491||49493<=i&&i<=49519||49521<=i&&i<=49547||49549<=i&&i<=49575||49577<=i&&i<=49603||49605<=i&&i<=49631||49633<=i&&i<=49659||49661<=i&&i<=49687||49689<=i&&i<=49715||49717<=i&&i<=49743||49745<=i&&i<=49771||49773<=i&&i<=49799||49801<=i&&i<=49827||49829<=i&&i<=49855||49857<=i&&i<=49883||49885<=i&&i<=49911||49913<=i&&i<=49939||49941<=i&&i<=49967||49969<=i&&i<=49995||49997<=i&&i<=50023||50025<=i&&i<=50051||50053<=i&&i<=50079||50081<=i&&i<=50107||50109<=i&&i<=50135||50137<=i&&i<=50163||50165<=i&&i<=50191||50193<=i&&i<=50219||50221<=i&&i<=50247||50249<=i&&i<=50275||50277<=i&&i<=50303||50305<=i&&i<=50331||50333<=i&&i<=50359||50361<=i&&i<=50387||50389<=i&&i<=50415||50417<=i&&i<=50443||50445<=i&&i<=50471||50473<=i&&i<=50499||50501<=i&&i<=50527||50529<=i&&i<=50555||50557<=i&&i<=50583||50585<=i&&i<=50611||50613<=i&&i<=50639||50641<=i&&i<=50667||50669<=i&&i<=50695||50697<=i&&i<=50723||50725<=i&&i<=50751||50753<=i&&i<=50779||50781<=i&&i<=50807||50809<=i&&i<=50835||50837<=i&&i<=50863||50865<=i&&i<=50891||50893<=i&&i<=50919||50921<=i&&i<=50947||50949<=i&&i<=50975||50977<=i&&i<=51003||51005<=i&&i<=51031||51033<=i&&i<=51059||51061<=i&&i<=51087||51089<=i&&i<=51115||51117<=i&&i<=51143||51145<=i&&i<=51171||51173<=i&&i<=51199||51201<=i&&i<=51227||51229<=i&&i<=51255||51257<=i&&i<=51283||51285<=i&&i<=51311||51313<=i&&i<=51339||51341<=i&&i<=51367||51369<=i&&i<=51395||51397<=i&&i<=51423||51425<=i&&i<=51451||51453<=i&&i<=51479||51481<=i&&i<=51507||51509<=i&&i<=51535||51537<=i&&i<=51563||51565<=i&&i<=51591||51593<=i&&i<=51619||51621<=i&&i<=51647||51649<=i&&i<=51675||51677<=i&&i<=51703||51705<=i&&i<=51731||51733<=i&&i<=51759||51761<=i&&i<=51787||51789<=i&&i<=51815||51817<=i&&i<=51843||51845<=i&&i<=51871||51873<=i&&i<=51899||51901<=i&&i<=51927||51929<=i&&i<=51955||51957<=i&&i<=51983||51985<=i&&i<=52011||52013<=i&&i<=52039||52041<=i&&i<=52067||52069<=i&&i<=52095||52097<=i&&i<=52123||52125<=i&&i<=52151||52153<=i&&i<=52179||52181<=i&&i<=52207||52209<=i&&i<=52235||52237<=i&&i<=52263||52265<=i&&i<=52291||52293<=i&&i<=52319||52321<=i&&i<=52347||52349<=i&&i<=52375||52377<=i&&i<=52403||52405<=i&&i<=52431||52433<=i&&i<=52459||52461<=i&&i<=52487||52489<=i&&i<=52515||52517<=i&&i<=52543||52545<=i&&i<=52571||52573<=i&&i<=52599||52601<=i&&i<=52627||52629<=i&&i<=52655||52657<=i&&i<=52683||52685<=i&&i<=52711||52713<=i&&i<=52739||52741<=i&&i<=52767||52769<=i&&i<=52795||52797<=i&&i<=52823||52825<=i&&i<=52851||52853<=i&&i<=52879||52881<=i&&i<=52907||52909<=i&&i<=52935||52937<=i&&i<=52963||52965<=i&&i<=52991||52993<=i&&i<=53019||53021<=i&&i<=53047||53049<=i&&i<=53075||53077<=i&&i<=53103||53105<=i&&i<=53131||53133<=i&&i<=53159||53161<=i&&i<=53187||53189<=i&&i<=53215||53217<=i&&i<=53243||53245<=i&&i<=53271||53273<=i&&i<=53299||53301<=i&&i<=53327||53329<=i&&i<=53355||53357<=i&&i<=53383||53385<=i&&i<=53411||53413<=i&&i<=53439||53441<=i&&i<=53467||53469<=i&&i<=53495||53497<=i&&i<=53523||53525<=i&&i<=53551||53553<=i&&i<=53579||53581<=i&&i<=53607||53609<=i&&i<=53635||53637<=i&&i<=53663||53665<=i&&i<=53691||53693<=i&&i<=53719||53721<=i&&i<=53747||53749<=i&&i<=53775||53777<=i&&i<=53803||53805<=i&&i<=53831||53833<=i&&i<=53859||53861<=i&&i<=53887||53889<=i&&i<=53915||53917<=i&&i<=53943||53945<=i&&i<=53971||53973<=i&&i<=53999||54001<=i&&i<=54027||54029<=i&&i<=54055||54057<=i&&i<=54083||54085<=i&&i<=54111||54113<=i&&i<=54139||54141<=i&&i<=54167||54169<=i&&i<=54195||54197<=i&&i<=54223||54225<=i&&i<=54251||54253<=i&&i<=54279||54281<=i&&i<=54307||54309<=i&&i<=54335||54337<=i&&i<=54363||54365<=i&&i<=54391||54393<=i&&i<=54419||54421<=i&&i<=54447||54449<=i&&i<=54475||54477<=i&&i<=54503||54505<=i&&i<=54531||54533<=i&&i<=54559||54561<=i&&i<=54587||54589<=i&&i<=54615||54617<=i&&i<=54643||54645<=i&&i<=54671||54673<=i&&i<=54699||54701<=i&&i<=54727||54729<=i&&i<=54755||54757<=i&&i<=54783||54785<=i&&i<=54811||54813<=i&&i<=54839||54841<=i&&i<=54867||54869<=i&&i<=54895||54897<=i&&i<=54923||54925<=i&&i<=54951||54953<=i&&i<=54979||54981<=i&&i<=55007||55009<=i&&i<=55035||55037<=i&&i<=55063||55065<=i&&i<=55091||55093<=i&&i<=55119||55121<=i&&i<=55147||55149<=i&&i<=55175||55177<=i&&i<=55203?10:9757==i||9977==i||9994<=i&&i<=9997||127877==i||127938<=i&&i<=127940||127943==i||127946<=i&&i<=127948||128066<=i&&i<=128067||128070<=i&&i<=128080||128110==i||128112<=i&&i<=128120||128124==i||128129<=i&&i<=128131||128133<=i&&i<=128135||128170==i||128372<=i&&i<=128373||128378==i||128400==i||128405<=i&&i<=128406||128581<=i&&i<=128583||128587<=i&&i<=128591||128675==i||128692<=i&&i<=128694||128704==i||128716==i||129304<=i&&i<=129308||129310<=i&&i<=129311||129318==i||129328<=i&&i<=129337||129341<=i&&i<=129342||129489<=i&&i<=129501?o:127995<=i&&i<=127999?14:8205==i?15:9792==i||9794==i||9877<=i&&i<=9878||9992==i||10084==i||127752==i||127806==i||127859==i||127891==i||127908==i||127912==i||127979==i||127981==i||128139==i||128187<=i&&i<=128188||128295==i||128300==i||128488==i||128640==i||128658==i?r:128102<=i&&i<=128105?s:11}return this.nextBreak=function(e,t){if(void 0===t&&(t=0),t<0)return 0;if(t>=e.length-1)return e.length;for(var n,o,r=c(i(e,t)),s=[],l=t+1;l<e.length;l++)if(o=l-1,!(55296<=(n=e).charCodeAt(o)&&n.charCodeAt(o)<=56319&&56320<=n.charCodeAt(o+1)&&n.charCodeAt(o+1)<=57343)){var d=c(i(e,l));if(a(r,s,d))return l;s.push(d)}return e.length},this.splitGraphemes=function(e){for(var t,n=[],o=0;(t=this.nextBreak(e,o))<e.length;)n.push(e.slice(o,t)),o=t;return o<e.length&&n.push(e.slice(o)),n},this.iterateGraphemes=function(e){var t=0,n={next:function(){var n,o;return(o=this.nextBreak(e,t))<e.length?(n=e.slice(t,o),t=o,{value:n,done:!1}):t<e.length?(n=e.slice(t),t=e.length,{value:n,done:!1}):{value:void 0,done:!0}}.bind(this)};return"undefined"!=typeof Symbol&&Symbol.iterator&&(n[Symbol.iterator]=function(){return n}),n},this.countGraphemes=function(e){for(var t,n=0,o=0;(t=this.nextBreak(e,o))<e.length;)o=t,n++;return o<e.length&&n++,n},this})},46251:(e,t,n)=>{"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,o=e.onClick,a=(e.icon,e.className),c=function(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},s=Object.keys(e);for(o=0;o<s.length;o++)n=s[o],0<=t.indexOf(n)||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(o=0;o<s.length;o++)n=s[o],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,s),l=["gridicon","gridicons-cross-small",a,!1,!1,!1].filter(Boolean).join(" ");return r.default.createElement("svg",i({className:l,height:n,width:n,onClick:o},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),r.default.createElement("g",null,r.default.createElement("path",{d:"M17.705 7.705l-1.41-1.41L12 10.59 7.705 6.295l-1.41 1.41L10.59 12l-4.295 4.295 1.41 1.41L12 13.41l4.295 4.295 1.41-1.41L13.41 12l4.295-4.295z"})))};var o,r=(o=n(99196))&&o.__esModule?o:{default:o},s=["size","onClick","icon","className"];function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t,n=1;n<arguments.length;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)}},24081:(e,t,n)=>{"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,o=e.onClick,a=(e.icon,e.className),c=function(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},s=Object.keys(e);for(o=0;o<s.length;o++)n=s[o],0<=t.indexOf(n)||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(o=0;o<s.length;o++)n=s[o],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,s),l=["gridicon","gridicons-external",a,!!function(e){return 0==e%18}(n)&&"needs-offset",!1,!1].filter(Boolean).join(" ");return r.default.createElement("svg",i({className:l,height:n,width:n,onClick:o},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),r.default.createElement("g",null,r.default.createElement("path",{d:"M19 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V7a2 2 0 012-2h6v2H5v12h12v-6h2zM13 3v2h4.586l-7.793 7.793 1.414 1.414L19 6.414V11h2V3h-8z"})))};var o,r=(o=n(99196))&&o.__esModule?o:{default:o},s=["size","onClick","icon","className"];function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t,n=1;n<arguments.length;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)}},96169:(e,t,n)=>{"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,o=e.onClick,a=(e.icon,e.className),c=function(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},s=Object.keys(e);for(o=0;o<s.length;o++)n=s[o],0<=t.indexOf(n)||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(o=0;o<s.length;o++)n=s[o],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,s),l=["gridicon","gridicons-notice-outline",a,!!function(e){return 0==e%18}(n)&&"needs-offset",!1,!1].filter(Boolean).join(" ");return r.default.createElement("svg",i({className:l,height:n,width:n,onClick:o},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),r.default.createElement("g",null,r.default.createElement("path",{d:"M12 4c4.411 0 8 3.589 8 8s-3.589 8-8 8-8-3.589-8-8 3.589-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})))};var o,r=(o=n(99196))&&o.__esModule?o:{default:o},s=["size","onClick","icon","className"];function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t,n=1;n<arguments.length;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)}},32831:e=>{e.exports={iconsThatNeedOffset:["gridicons-add-outline","gridicons-add","gridicons-align-image-center","gridicons-align-image-left","gridicons-align-image-none","gridicons-align-image-right","gridicons-attachment","gridicons-bold","gridicons-bookmark-outline","gridicons-bookmark","gridicons-calendar","gridicons-cart","gridicons-create","gridicons-custom-post-type","gridicons-external","gridicons-folder","gridicons-heading","gridicons-help-outline","gridicons-help","gridicons-history","gridicons-info-outline","gridicons-info","gridicons-italic","gridicons-layout-blocks","gridicons-link-break","gridicons-link","gridicons-list-checkmark","gridicons-list-ordered","gridicons-list-unordered","gridicons-menus","gridicons-minus","gridicons-my-sites","gridicons-notice-outline","gridicons-notice","gridicons-plus-small","gridicons-plus","gridicons-popout","gridicons-posts","gridicons-scheduled","gridicons-share-ios","gridicons-star-outline","gridicons-star","gridicons-stats","gridicons-status","gridicons-thumbs-up","gridicons-textcolor","gridicons-time","gridicons-trophy","gridicons-user-circle","gridicons-reader-follow","gridicons-reader-following"],iconsThatNeedOffsetX:["gridicons-arrow-down","gridicons-arrow-up","gridicons-comment","gridicons-clear-formatting","gridicons-flag","gridicons-menu","gridicons-reader","gridicons-strikethrough"],iconsThatNeedOffsetY:["gridicons-align-center","gridicons-align-justify","gridicons-align-left","gridicons-align-right","gridicons-arrow-left","gridicons-arrow-right","gridicons-house","gridicons-indent-left","gridicons-indent-right","gridicons-minus-small","gridicons-print","gridicons-sign-out","gridicons-stats-alt","gridicons-trash","gridicons-underline","gridicons-video-camera"]}},42489:(e,t,n)=>{"use strict";var o=n(29415)("%Object.defineProperty%",!0),r=function(){if(o)try{return o({},"a",{value:1}),!0}catch(e){return!1}return!1};r.hasArrayLengthDefineBug=function(){if(!r())return null;try{return 1!==o([],"length",{value:1}).length}catch(e){return!0}},e.exports=r},8127:e=>{"use strict";var t={foo:{}},n=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!({__proto__:null}instanceof n)}},38636:(e,t,n)=>{"use strict";var o="undefined"!=typeof Symbol&&Symbol,r=n(92734);e.exports=function(){return"function"==typeof o&&"function"==typeof Symbol&&"symbol"==typeof o("foo")&&"symbol"==typeof Symbol("bar")&&r()}},92734:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var r=Object.getOwnPropertyDescriptor(e,t);if(42!==r.value||!0!==r.enumerable)return!1}return!0}},29151:(e,t,n)=>{"use strict";var o=Function.prototype.call,r=Object.prototype.hasOwnProperty,s=n(22213);e.exports=s.call(o,r)},48714:e=>{var t=1e3,n=60*t,o=60*n,r=24*o;function s(e,t,n,o){var r=t>=1.5*n;return Math.round(e/n)+" "+o+(r?"s":"")}e.exports=function(e,i){i=i||{};var a,c,l=typeof e;if("string"===l&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(s){var i=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*i;case"weeks":case"week":case"w":return 6048e5*i;case"days":case"day":case"d":return i*r;case"hours":case"hour":case"hrs":case"hr":case"h":return i*o;case"minutes":case"minute":case"mins":case"min":case"m":return i*n;case"seconds":case"second":case"secs":case"sec":case"s":return i*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return}}}}(e);if("number"===l&&isFinite(e))return i.long?(a=e,(c=Math.abs(a))>=r?s(a,c,r,"day"):c>=o?s(a,c,o,"hour"):c>=n?s(a,c,n,"minute"):c>=t?s(a,c,t,"second"):a+" ms"):function(e){var s=Math.abs(e);return s>=r?Math.round(e/r)+"d":s>=o?Math.round(e/o)+"h":s>=n?Math.round(e/n)+"m":s>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},73805:(e,t,n)=>{var o="function"==typeof Map&&Map.prototype,r=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,s=o&&r&&"function"==typeof r.get?r.get:null,i=o&&Map.prototype.forEach,a="function"==typeof Set&&Set.prototype,c=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=a&&c&&"function"==typeof c.get?c.get:null,d=a&&Set.prototype.forEach,u="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,m="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,p="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,f=Object.prototype.toString,g=Function.prototype.toString,y=String.prototype.match,w=String.prototype.slice,v=String.prototype.replace,_=String.prototype.toUpperCase,b=String.prototype.toLowerCase,x=RegExp.prototype.test,C=Array.prototype.concat,E=Array.prototype.join,M=Array.prototype.slice,j=Math.floor,S="function"==typeof BigInt?BigInt.prototype.valueOf:null,N=Object.getOwnPropertySymbols,k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,I="function"==typeof Symbol&&"object"==typeof Symbol.iterator,T="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,A=Object.prototype.propertyIsEnumerable,L=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function O(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||x.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var o=e<0?-j(-e):j(e);if(o!==e){var r=String(o),s=w.call(t,r.length+1);return v.call(r,n,"$&_")+"."+v.call(v.call(s,/([0-9]{3})/g,"$&_"),/_$/,"")}}return v.call(t,n,"$&_")}var P=n(32011),D=P.custom,R=V(D)?D:null;function H(e,t,n){var o="double"===(n.quoteStyle||t)?'"':"'";return o+e+o}function Z(e){return v.call(String(e),/"/g,"&quot;")}function z(e){return!("[object Array]"!==W(e)||T&&"object"==typeof e&&T in e)}function B(e){return!("[object RegExp]"!==W(e)||T&&"object"==typeof e&&T in e)}function V(e){if(I)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!k)return!1;try{return k.call(e),!0}catch(e){}return!1}e.exports=function e(t,o,r,a){var c=o||{};if(U(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(U(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var f=!U(c,"customInspect")||c.customInspect;if("boolean"!=typeof f&&"symbol"!==f)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(U(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(U(c,"numericSeparator")&&"boolean"!=typeof c.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var _=c.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return Y(t,c);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var x=String(t);return _?O(t,x):x}if("bigint"==typeof t){var j=String(t)+"n";return _?O(t,j):j}var N=void 0===c.depth?5:c.depth;if(void 0===r&&(r=0),r>=N&&N>0&&"object"==typeof t)return z(t)?"[Array]":"[Object]";var D,F=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=E.call(Array(e.indent+1)," ")}return{base:n,prev:E.call(Array(t+1),n)}}(c,r);if(void 0===a)a=[];else if(G(a,t)>=0)return"[Circular]";function Q(t,n,o){if(n&&(a=M.call(a)).push(n),o){var s={depth:c.depth};return U(c,"quoteStyle")&&(s.quoteStyle=c.quoteStyle),e(t,s,r+1,a)}return e(t,c,r+1,a)}if("function"==typeof t&&!B(t)){var ee=function(e){if(e.name)return e.name;var t=y.call(g.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),te=K(t,Q);return"[Function"+(ee?": "+ee:" (anonymous)")+"]"+(te.length>0?" { "+E.call(te,", ")+" }":"")}if(V(t)){var ne=I?v.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):k.call(t);return"object"!=typeof t||I?ne:q(ne)}if((D=t)&&"object"==typeof D&&("undefined"!=typeof HTMLElement&&D instanceof HTMLElement||"string"==typeof D.nodeName&&"function"==typeof D.getAttribute)){for(var oe="<"+b.call(String(t.nodeName)),re=t.attributes||[],se=0;se<re.length;se++)oe+=" "+re[se].name+"="+H(Z(re[se].value),"double",c);return oe+=">",t.childNodes&&t.childNodes.length&&(oe+="..."),oe+"</"+b.call(String(t.nodeName))+">"}if(z(t)){if(0===t.length)return"[]";var ie=K(t,Q);return F&&!function(e){for(var t=0;t<e.length;t++)if(G(e[t],"\n")>=0)return!1;return!0}(ie)?"["+X(ie,F)+"]":"[ "+E.call(ie,", ")+" ]"}if(function(e){return!("[object Error]"!==W(e)||T&&"object"==typeof e&&T in e)}(t)){var ae=K(t,Q);return"cause"in Error.prototype||!("cause"in t)||A.call(t,"cause")?0===ae.length?"["+String(t)+"]":"{ ["+String(t)+"] "+E.call(ae,", ")+" }":"{ ["+String(t)+"] "+E.call(C.call("[cause]: "+Q(t.cause),ae),", ")+" }"}if("object"==typeof t&&f){if(R&&"function"==typeof t[R]&&P)return P(t,{depth:N-r});if("symbol"!==f&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!s||!e||"object"!=typeof e)return!1;try{s.call(e);try{l.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var ce=[];return i&&i.call(t,(function(e,n){ce.push(Q(n,t,!0)+" => "+Q(e,t))})),J("Map",s.call(t),ce,F)}if(function(e){if(!l||!e||"object"!=typeof e)return!1;try{l.call(e);try{s.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var le=[];return d&&d.call(t,(function(e){le.push(Q(e,t))})),J("Set",l.call(t),le,F)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e,u);try{m.call(e,m)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return $("WeakMap");if(function(e){if(!m||!e||"object"!=typeof e)return!1;try{m.call(e,m);try{u.call(e,u)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return $("WeakSet");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{return p.call(e),!0}catch(e){}return!1}(t))return $("WeakRef");if(function(e){return!("[object Number]"!==W(e)||T&&"object"==typeof e&&T in e)}(t))return q(Q(Number(t)));if(function(e){if(!e||"object"!=typeof e||!S)return!1;try{return S.call(e),!0}catch(e){}return!1}(t))return q(Q(S.call(t)));if(function(e){return!("[object Boolean]"!==W(e)||T&&"object"==typeof e&&T in e)}(t))return q(h.call(t));if(function(e){return!("[object String]"!==W(e)||T&&"object"==typeof e&&T in e)}(t))return q(Q(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if(t===n.g)return"{ [object globalThis] }";if(!function(e){return!("[object Date]"!==W(e)||T&&"object"==typeof e&&T in e)}(t)&&!B(t)){var de=K(t,Q),ue=L?L(t)===Object.prototype:t instanceof Object||t.constructor===Object,me=t instanceof Object?"":"null prototype",pe=!ue&&T&&Object(t)===t&&T in t?w.call(W(t),8,-1):me?"Object":"",he=(ue||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(pe||me?"["+E.call(C.call([],pe||[],me||[]),": ")+"] ":"");return 0===de.length?he+"{}":F?he+"{"+X(de,F)+"}":he+"{ "+E.call(de,", ")+" }"}return String(t)};var F=Object.prototype.hasOwnProperty||function(e){return e in this};function U(e,t){return F.call(e,t)}function W(e){return f.call(e)}function G(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,o=e.length;n<o;n++)if(e[n]===t)return n;return-1}function Y(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,o="... "+n+" more character"+(n>1?"s":"");return Y(w.call(e,0,t.maxStringLength),t)+o}return H(v.call(v.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Q),"single",t)}function Q(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+_.call(t.toString(16))}function q(e){return"Object("+e+")"}function $(e){return e+" { ? }"}function J(e,t,n,o){return e+" ("+t+") {"+(o?X(n,o):E.call(n,", "))+"}"}function X(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+E.call(e,","+n)+"\n"+t.prev}function K(e,t){var n=z(e),o=[];if(n){o.length=e.length;for(var r=0;r<e.length;r++)o[r]=U(e,r)?t(e[r],e):""}var s,i="function"==typeof N?N(e):[];if(I){s={};for(var a=0;a<i.length;a++)s["$"+i[a]]=i[a]}for(var c in e)U(e,c)&&(n&&String(Number(c))===c&&c<e.length||I&&s["$"+c]instanceof Symbol||(x.call(/[^\w$]/,c)?o.push(t(c,e)+": "+t(e[c],e)):o.push(c+": "+t(e[c],e))));if("function"==typeof N)for(var l=0;l<i.length;l++)A.call(e,i[l])&&o.push("["+t(i[l])+"]: "+t(e[i[l]],e));return o}},65082:(e,t,n)=>{"use strict";var o=n(63588);function r(){}function s(){}s.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,s,i){if(i!==o){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:s,resetWarningCache:r};return n.PropTypes=n,n}},69596:(e,t,n)=>{e.exports=n(65082)()},63588:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},28913:e=>{"use strict";var t=String.prototype.replace,n=/%20/g,o="RFC3986";e.exports={default:o,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:o}},35980:(e,t,n)=>{"use strict";var o=n(32673),r=n(98949),s=n(28913);e.exports={formats:s,parse:r,stringify:o}},98949:(e,t,n)=>{"use strict";var o=n(4301),r=Object.prototype.hasOwnProperty,s=Array.isArray,i={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:o.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},a=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},c=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},l=function(e,t,n,o){if(e){var s=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,a=n.depth>0&&/(\[[^[\]]*])/.exec(s),l=a?s.slice(0,a.index):s,d=[];if(l){if(!n.plainObjects&&r.call(Object.prototype,l)&&!n.allowPrototypes)return;d.push(l)}for(var u=0;n.depth>0&&null!==(a=i.exec(s))&&u<n.depth;){if(u+=1,!n.plainObjects&&r.call(Object.prototype,a[1].slice(1,-1))&&!n.allowPrototypes)return;d.push(a[1])}return a&&d.push("["+s.slice(a.index)+"]"),function(e,t,n,o){for(var r=o?t:c(t,n),s=e.length-1;s>=0;--s){var i,a=e[s];if("[]"===a&&n.parseArrays)i=[].concat(r);else{i=n.plainObjects?Object.create(null):{};var l="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,d=parseInt(l,10);n.parseArrays||""!==l?!isNaN(d)&&a!==l&&String(d)===l&&d>=0&&n.parseArrays&&d<=n.arrayLimit?(i=[])[d]=r:"__proto__"!==l&&(i[l]=r):i={0:r}}r=i}return r}(d,t,n,o)}};e.exports=function(e,t){var n=function(e){if(!e)return i;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?i.charset:e.charset;return{allowDots:void 0===e.allowDots?i.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:i.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:i.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:i.comma,decoder:"function"==typeof e.decoder?e.decoder:i.decoder,delimiter:"string"==typeof e.delimiter||o.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:i.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:i.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var d="string"==typeof e?function(e,t){var n,l={__proto__:null},d=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,u=t.parameterLimit===1/0?void 0:t.parameterLimit,m=d.split(t.delimiter,u),p=-1,h=t.charset;if(t.charsetSentinel)for(n=0;n<m.length;++n)0===m[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===m[n]?h="utf-8":"utf8=%26%2310003%3B"===m[n]&&(h="iso-8859-1"),p=n,n=m.length);for(n=0;n<m.length;++n)if(n!==p){var f,g,y=m[n],w=y.indexOf("]="),v=-1===w?y.indexOf("="):w+1;-1===v?(f=t.decoder(y,i.decoder,h,"key"),g=t.strictNullHandling?null:""):(f=t.decoder(y.slice(0,v),i.decoder,h,"key"),g=o.maybeMap(c(y.slice(v+1),t),(function(e){return t.decoder(e,i.decoder,h,"value")}))),g&&t.interpretNumericEntities&&"iso-8859-1"===h&&(g=a(g)),y.indexOf("[]=")>-1&&(g=s(g)?[g]:g),r.call(l,f)?l[f]=o.combine(l[f],g):l[f]=g}return l}(e,n):e,u=n.plainObjects?Object.create(null):{},m=Object.keys(d),p=0;p<m.length;++p){var h=m[p],f=l(h,d[h],n,"string"==typeof e);u=o.merge(u,f,n)}return!0===n.allowSparse?u:o.compact(u)}},32673:(e,t,n)=>{"use strict";var o=n(37318),r=n(4301),s=n(28913),i=Object.prototype.hasOwnProperty,a={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},c=Array.isArray,l=Array.prototype.push,d=function(e,t){l.apply(e,c(t)?t:[t])},u=Date.prototype.toISOString,m=s.default,p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,format:m,formatter:s.formatters[m],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},h={},f=function e(t,n,s,i,a,l,u,m,f,g,y,w,v,_,b,x){for(var C,E=t,M=x,j=0,S=!1;void 0!==(M=M.get(h))&&!S;){var N=M.get(t);if(j+=1,void 0!==N){if(N===j)throw new RangeError("Cyclic object value");S=!0}void 0===M.get(h)&&(j=0)}if("function"==typeof m?E=m(n,E):E instanceof Date?E=y(E):"comma"===s&&c(E)&&(E=r.maybeMap(E,(function(e){return e instanceof Date?y(e):e}))),null===E){if(a)return u&&!_?u(n,p.encoder,b,"key",w):n;E=""}if("string"==typeof(C=E)||"number"==typeof C||"boolean"==typeof C||"symbol"==typeof C||"bigint"==typeof C||r.isBuffer(E))return u?[v(_?n:u(n,p.encoder,b,"key",w))+"="+v(u(E,p.encoder,b,"value",w))]:[v(n)+"="+v(String(E))];var k,I=[];if(void 0===E)return I;if("comma"===s&&c(E))_&&u&&(E=r.maybeMap(E,u)),k=[{value:E.length>0?E.join(",")||null:void 0}];else if(c(m))k=m;else{var T=Object.keys(E);k=f?T.sort(f):T}for(var A=i&&c(E)&&1===E.length?n+"[]":n,L=0;L<k.length;++L){var O=k[L],P="object"==typeof O&&void 0!==O.value?O.value:E[O];if(!l||null!==P){var D=c(E)?"function"==typeof s?s(A,O):A:A+(g?"."+O:"["+O+"]");x.set(t,j);var R=o();R.set(h,x),d(I,e(P,D,s,i,a,l,"comma"===s&&_&&c(E)?null:u,m,f,g,y,w,v,_,b,R))}}return I};e.exports=function(e,t){var n,r=e,l=function(e){if(!e)return p;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||p.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=s.default;if(void 0!==e.format){if(!i.call(s.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var o=s.formatters[n],r=p.filter;return("function"==typeof e.filter||c(e.filter))&&(r=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:p.addQueryPrefix,allowDots:void 0===e.allowDots?p.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:p.charsetSentinel,delimiter:void 0===e.delimiter?p.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:p.encode,encoder:"function"==typeof e.encoder?e.encoder:p.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:p.encodeValuesOnly,filter:r,format:n,formatter:o,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:p.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:p.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:p.strictNullHandling}}(t);"function"==typeof l.filter?r=(0,l.filter)("",r):c(l.filter)&&(n=l.filter);var u,m=[];if("object"!=typeof r||null===r)return"";u=t&&t.arrayFormat in a?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var h=a[u];if(t&&"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var g="comma"===h&&t&&t.commaRoundTrip;n||(n=Object.keys(r)),l.sort&&n.sort(l.sort);for(var y=o(),w=0;w<n.length;++w){var v=n[w];l.skipNulls&&null===r[v]||d(m,f(r[v],v,h,g,l.strictNullHandling,l.skipNulls,l.encode?l.encoder:null,l.filter,l.sort,l.allowDots,l.serializeDate,l.format,l.formatter,l.encodeValuesOnly,l.charset,y))}var _=m.join(l.delimiter),b=!0===l.addQueryPrefix?"?":"";return l.charsetSentinel&&("iso-8859-1"===l.charset?b+="utf8=%26%2310003%3B&":b+="utf8=%E2%9C%93&"),_.length>0?b+_:""}},4301:(e,t,n)=>{"use strict";var o=n(28913),r=Object.prototype.hasOwnProperty,s=Array.isArray,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),a=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},o=0;o<e.length;++o)void 0!==e[o]&&(n[o]=e[o]);return n};e.exports={arrayToObject:a,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],o=0;o<t.length;++o)for(var r=t[o],i=r.obj[r.prop],a=Object.keys(i),c=0;c<a.length;++c){var l=a[c],d=i[l];"object"==typeof d&&null!==d&&-1===n.indexOf(d)&&(t.push({obj:i,prop:l}),n.push(d))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(s(n)){for(var o=[],r=0;r<n.length;++r)void 0!==n[r]&&o.push(n[r]);t.obj[t.prop]=o}}}(t),e},decode:function(e,t,n){var o=e.replace(/\+/g," ");if("iso-8859-1"===n)return o.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(o)}catch(e){return o}},encode:function(e,t,n,r,s){if(0===e.length)return e;var a=e;if("symbol"==typeof e?a=Symbol.prototype.toString.call(e):"string"!=typeof e&&(a=String(e)),"iso-8859-1"===n)return escape(a).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var c="",l=0;l<a.length;++l){var d=a.charCodeAt(l);45===d||46===d||95===d||126===d||d>=48&&d<=57||d>=65&&d<=90||d>=97&&d<=122||s===o.RFC1738&&(40===d||41===d)?c+=a.charAt(l):d<128?c+=i[d]:d<2048?c+=i[192|d>>6]+i[128|63&d]:d<55296||d>=57344?c+=i[224|d>>12]+i[128|d>>6&63]+i[128|63&d]:(l+=1,d=65536+((1023&d)<<10|1023&a.charCodeAt(l)),c+=i[240|d>>18]+i[128|d>>12&63]+i[128|d>>6&63]+i[128|63&d])}return c},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(s(e)){for(var n=[],o=0;o<e.length;o+=1)n.push(t(e[o]));return n}return t(e)},merge:function e(t,n,o){if(!n)return t;if("object"!=typeof n){if(s(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(o&&(o.plainObjects||o.allowPrototypes)||!r.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var i=t;return s(t)&&!s(n)&&(i=a(t,o)),s(t)&&s(n)?(n.forEach((function(n,s){if(r.call(t,s)){var i=t[s];i&&"object"==typeof i&&n&&"object"==typeof n?t[s]=e(i,n,o):t.push(n)}else t[s]=n})),t):Object.keys(n).reduce((function(t,s){var i=n[s];return r.call(t,s)?t[s]=e(t[s],i,o):t[s]=i,t}),i)}}},83014:(e,t,n)=>{"use strict";n.d(t,{M:()=>s,lr:()=>i});var o=n(99196),r=n(70147);function s(e){let{basename:t,children:n,history:s}=e;const[i,a]=(0,o.useState)({action:s.action,location:s.location});return(0,o.useLayoutEffect)((()=>s.listen(a)),[s]),(0,o.createElement)(r.F0,{basename:t,children:n,location:i.location,navigationType:i.action,navigator:s})}function i(e){let t=(0,o.useRef)(a(e)),n=(0,r.TH)(),s=(0,o.useMemo)((()=>{let e=a(n.search);for(let n of t.current.keys())e.has(n)||t.current.getAll(n).forEach((t=>{e.append(n,t)}));return e}),[n.search]),i=(0,r.s0)();return[s,(0,o.useCallback)(((e,t)=>{i("?"+a(e),t)}),[i])]}function a(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce(((t,n)=>{let o=e[n];return t.concat(Array.isArray(o)?o.map((e=>[n,e])):[[n,o]])}),[]))}},70147:(e,t,n)=>{"use strict";var o;function r(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var o=e.indexOf("?");o>=0&&(t.search=e.substr(o),e=e.substr(0,o)),e&&(t.pathname=e)}return t}n.d(t,{AW:()=>A,F0:()=>L,Z5:()=>O,TH:()=>N,bS:()=>k,s0:()=>I,UO:()=>T}),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(o||(o={}));var s=n(99196);const i=(0,s.createContext)(null),a=(0,s.createContext)(null),c=(0,s.createContext)({outlet:null,matches:[]});function l(e,t){if(!e)throw new Error(t)}function d(e,t,n){void 0===n&&(n="/");let o=x(("string"==typeof t?r(t):t).pathname||"/",n);if(null==o)return null;let s=u(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]))?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(s);let i=null;for(let e=0;null==i&&e<s.length;++e)i=_(s[e],o);return i}function u(e,t,n,o){return void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===o&&(o=""),e.forEach(((e,r)=>{let s={relativePath:e.path||"",caseSensitive:!0===e.caseSensitive,childrenIndex:r,route:e};s.relativePath.startsWith("/")&&(s.relativePath.startsWith(o)||l(!1),s.relativePath=s.relativePath.slice(o.length));let i=C([o,s.relativePath]),a=n.concat(s);e.children&&e.children.length>0&&(!0===e.index&&l(!1),u(e.children,t,a,i)),(null!=e.path||e.index)&&t.push({path:i,score:v(i,e.index),routesMeta:a})})),t}const m=/^:\w+$/,p=3,h=2,f=1,g=10,y=-2,w=e=>"*"===e;function v(e,t){let n=e.split("/"),o=n.length;return n.some(w)&&(o+=y),t&&(o+=h),n.filter((e=>!w(e))).reduce(((e,t)=>e+(m.test(t)?p:""===t?f:g)),o)}function _(e,t){let{routesMeta:n}=e,o={},r="/",s=[];for(let e=0;e<n.length;++e){let i=n[e],a=e===n.length-1,c="/"===r?t:t.slice(r.length)||"/",l=b({path:i.relativePath,caseSensitive:i.caseSensitive,end:a},c);if(!l)return null;Object.assign(o,l.params);let d=i.route;s.push({params:o,pathname:C([r,l.pathname]),pathnameBase:E(C([r,l.pathnameBase])),route:d}),"/"!==l.pathnameBase&&(r=C([r,l.pathnameBase]))}return s}function b(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,o]=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!0);let o=[],r="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,((e,t)=>(o.push(t),"([^\\/]+)")));return e.endsWith("*")?(o.push("*"),r+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):r+=n?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(r,t?void 0:"i"),o]}(e.path,e.caseSensitive,e.end),r=t.match(n);if(!r)return null;let s=r[0],i=s.replace(/(.)\/+$/,"$1"),a=r.slice(1);return{params:o.reduce(((e,t,n)=>{if("*"===t){let e=a[n]||"";i=s.slice(0,s.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(t){return e}}(a[n]||""),e}),{}),pathname:s,pathnameBase:i,pattern:e}}function x(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=e.charAt(t.length);return n&&"/"!==n?null:e.slice(t.length)||"/"}const C=e=>e.join("/").replace(/\/\/+/g,"/"),E=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),M=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",j=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";function S(){return null!=(0,s.useContext)(a)}function N(){return S()||l(!1),(0,s.useContext)(a).location}function k(e){S()||l(!1);let{pathname:t}=N();return(0,s.useMemo)((()=>b(e,t)),[t,e])}function I(){S()||l(!1);let{basename:e,navigator:t}=(0,s.useContext)(i),{matches:n}=(0,s.useContext)(c),{pathname:o}=N(),a=JSON.stringify(n.map((e=>e.pathnameBase))),d=(0,s.useRef)(!1);return(0,s.useEffect)((()=>{d.current=!0})),(0,s.useCallback)((function(n,s){if(void 0===s&&(s={}),!d.current)return;if("number"==typeof n)return void t.go(n);let i=function(e,t,n){let o,s="string"==typeof e?r(e):e,i=""===e||""===s.pathname?"/":s.pathname;if(null==i)o=n;else{let e=t.length-1;if(i.startsWith("..")){let t=i.split("/");for(;".."===t[0];)t.shift(),e-=1;s.pathname=t.join("/")}o=e>=0?t[e]:"/"}let a=function(e,t){void 0===t&&(t="/");let{pathname:n,search:o="",hash:s=""}="string"==typeof e?r(e):e,i=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:i,search:M(o),hash:j(s)}}(s,o);return i&&"/"!==i&&i.endsWith("/")&&!a.pathname.endsWith("/")&&(a.pathname+="/"),a}(n,JSON.parse(a),o);"/"!==e&&(i.pathname=C([e,i.pathname])),(s.replace?t.replace:t.push)(i,s.state)}),[e,t,a,o])}function T(){let{matches:e}=(0,s.useContext)(c),t=e[e.length-1];return t?t.params:{}}function A(e){l(!1)}function L(e){let{basename:t="/",children:n=null,location:c,navigationType:d=o.Pop,navigator:u,static:m=!1}=e;S()&&l(!1);let p=E(t),h=(0,s.useMemo)((()=>({basename:p,navigator:u,static:m})),[p,u,m]);"string"==typeof c&&(c=r(c));let{pathname:f="/",search:g="",hash:y="",state:w=null,key:v="default"}=c,_=(0,s.useMemo)((()=>{let e=x(f,p);return null==e?null:{pathname:e,search:g,hash:y,state:w,key:v}}),[p,f,g,y,w,v]);return null==_?null:(0,s.createElement)(i.Provider,{value:h},(0,s.createElement)(a.Provider,{children:n,value:{location:_,navigationType:d}}))}function O(e){let{children:t,location:n}=e;return function(e,t){S()||l(!1);let{matches:n}=(0,s.useContext)(c),o=n[n.length-1],i=o?o.params:{},a=(o&&o.pathname,o?o.pathnameBase:"/");o&&o.route;let u,m=N();if(t){var p;let e="string"==typeof t?r(t):t;"/"===a||(null==(p=e.pathname)?void 0:p.startsWith(a))||l(!1),u=e}else u=m;let h=u.pathname||"/",f=d(e,{pathname:"/"===a?h:h.slice(a.length)||"/"});return function(e,t){return void 0===t&&(t=[]),null==e?null:e.reduceRight(((n,o,r)=>(0,s.createElement)(c.Provider,{children:void 0!==o.route.element?o.route.element:n,value:{outlet:n,matches:t.concat(e.slice(0,r+1))}})),null)}(f&&f.map((e=>Object.assign({},e,{params:Object.assign({},i,e.params),pathname:C([a,e.pathname]),pathnameBase:"/"===e.pathnameBase?a:C([a,e.pathnameBase])}))),n)}(P(t),n)}function P(e){let t=[];return s.Children.forEach(e,(e=>{if(!(0,s.isValidElement)(e))return;if(e.type===s.Fragment)return void t.push.apply(t,P(e.props.children));e.type!==A&&l(!1);let n={caseSensitive:e.props.caseSensitive,element:e.props.element,index:e.props.index,path:e.props.path};e.props.children&&(n.children=P(e.props.children)),t.push(n)})),t}},93359:(e,t,n)=>{"use strict";var o=n(99196),r=Symbol.for("react.element"),s=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,a=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,n){var o,s={},l=null,d=null;for(o in void 0!==n&&(l=""+n),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(d=t.ref),t)i.call(t,o)&&!c.hasOwnProperty(o)&&(s[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps)void 0===s[o]&&(s[o]=t[o]);return{$$typeof:r,type:e,key:l,ref:d,props:s,_owner:a.current}}t.Fragment=s,t.jsx=l,t.jsxs=l},81514:(e,t,n)=>{"use strict";e.exports=n(93359)},67195:(e,t,n)=>{"use strict";var o=n(29415),r=n(23970),s=n(42489)(),i=n(97520),a=o("%TypeError%"),c=o("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new a("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||c(t)!==t)throw new a("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],o=!0,l=!0;if("length"in e&&i){var d=i(e,"length");d&&!d.configurable&&(o=!1),d&&!d.writable&&(l=!1)}return(o||l||!n)&&(s?r(e,"length",t,!0,!0):r(e,"length",t)),e}},37318:(e,t,n)=>{"use strict";var o=n(29415),r=n(65382),s=n(73805),i=o("%TypeError%"),a=o("%WeakMap%",!0),c=o("%Map%",!0),l=r("WeakMap.prototype.get",!0),d=r("WeakMap.prototype.set",!0),u=r("WeakMap.prototype.has",!0),m=r("Map.prototype.get",!0),p=r("Map.prototype.set",!0),h=r("Map.prototype.has",!0),f=function(e,t){for(var n,o=e;null!==(n=o.next);o=n)if(n.key===t)return o.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,o={assert:function(e){if(!o.has(e))throw new i("Side channel does not contain "+s(e))},get:function(o){if(a&&o&&("object"==typeof o||"function"==typeof o)){if(e)return l(e,o)}else if(c){if(t)return m(t,o)}else if(n)return function(e,t){var n=f(e,t);return n&&n.value}(n,o)},has:function(o){if(a&&o&&("object"==typeof o||"function"==typeof o)){if(e)return u(e,o)}else if(c){if(t)return h(t,o)}else if(n)return function(e,t){return!!f(e,t)}(n,o);return!1},set:function(o,r){a&&o&&("object"==typeof o||"function"==typeof o)?(e||(e=new a),d(e,o,r)):c?(t||(t=new c),p(t,o,r)):(n||(n={key:{},next:null}),function(e,t,n){var o=f(e,t);o?o.value=n:e.next={key:t,next:e.next,value:n}}(n,o,r))}};return o}},66589:e=>{function t(e,t){if((e=e.replace(/\s+/g,""))===(t=t.replace(/\s+/g,"")))return 1;if(e.length<2||t.length<2)return 0;let n=new Map;for(let t=0;t<e.length-1;t++){const o=e.substring(t,t+2),r=n.has(o)?n.get(o)+1:1;n.set(o,r)}let o=0;for(let e=0;e<t.length-1;e++){const r=t.substring(e,e+2),s=n.has(r)?n.get(r):0;s>0&&(n.set(r,s-1),o++)}return 2*o/(e.length+t.length-2)}e.exports={compareTwoStrings:t,findBestMatch:function(e,n){if(!function(e,t){return"string"==typeof e&&!!Array.isArray(t)&&!!t.length&&!t.find((function(e){return"string"!=typeof e}))}(e,n))throw new Error("Bad arguments: First argument should be a string, second should be an array of strings");const o=[];let r=0;for(let s=0;s<n.length;s++){const i=n[s],a=t(e,i);o.push({target:i,rating:a}),a>o[r].rating&&(r=s)}return{ratings:o,bestMatch:o[r],bestMatchIndex:r}}}},75628:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});const o=n(99196).useLayoutEffect},77787:(e,t,n)=>{"use strict";var o=n(99196),r="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=o.useState,i=o.useEffect,a=o.useLayoutEffect,c=o.useDebugValue;function l(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch(e){return!0}}var d="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),o=s({inst:{value:n,getSnapshot:t}}),r=o[0].inst,d=o[1];return a((function(){r.value=n,r.getSnapshot=t,l(r)&&d({inst:r})}),[e,n,t]),i((function(){return l(r)&&d({inst:r}),e((function(){l(r)&&d({inst:r})}))}),[e]),c(n),n};t.useSyncExternalStore=void 0!==o.useSyncExternalStore?o.useSyncExternalStore:d},44659:(e,t,n)=>{"use strict";var o=n(99196),r=n(78111),s="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useSyncExternalStore,a=o.useRef,c=o.useEffect,l=o.useMemo,d=o.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,o,r){var u=a(null);if(null===u.current){var m={hasValue:!1,value:null};u.current=m}else m=u.current;u=l((function(){function e(e){if(!c){if(c=!0,i=e,e=o(e),void 0!==r&&m.hasValue){var t=m.value;if(r(t,e))return a=t}return a=e}if(t=a,s(i,e))return t;var n=o(e);return void 0!==r&&r(t,n)?t:(i=e,a=n)}var i,a,c=!1,l=void 0===n?null:n;return[function(){return e(t())},null===l?void 0:function(){return e(l())}]}),[t,n,o,r]);var p=i(e,u[0],u[1]);return c((function(){m.hasValue=!0,m.value=p}),[p]),d(p),p}},78111:(e,t,n)=>{"use strict";e.exports=n(77787)},91185:(e,t,n)=>{"use strict";e.exports=n(44659)},43073:(e,t,n)=>{"use strict";n.d(t,{E9:()=>s,p4:()=>l});var o=n(45931);const r=new WeakMap;function s(e){return{config:e,start:(t,n)=>{const{self:o,system:s}=n,i={receivers:void 0,dispose:void 0};r.set(o,i),i.dispose=e({input:t.input,system:s,self:o,sendBack:e=>{"stopped"!==o.getSnapshot().status&&o._parent&&s._relay(o,o._parent,e)},receive:e=>{i.receivers??=new Set,i.receivers.add(e)}})},transition:(e,t,n)=>{const s=r.get(n.self);return t.type===o.X?(e={...e,status:"stopped",error:void 0},s.dispose?.(),e):(s.receivers?.forEach((e=>e(t))),e)},getInitialSnapshot:(e,t)=>({status:"active",output:void 0,error:void 0,input:t}),getPersistedSnapshot:e=>e,restoreSnapshot:e=>e}}const i="xstate.promise.resolve",a="xstate.promise.reject",c=new WeakMap;function l(e){return{config:e,transition:(e,t,n)=>{if("active"!==e.status)return e;switch(t.type){case i:{const n=t.data;return{...e,status:"done",output:n,input:void 0}}case a:return{...e,status:"error",error:t.data,input:void 0};case o.X:return c.get(n.self)?.abort(),{...e,status:"stopped",input:void 0};default:return e}},start:(t,{self:n,system:o})=>{if("active"!==t.status)return;const r=new AbortController;c.set(n,r),Promise.resolve(e({input:t.input,system:o,self:n,signal:r.signal})).then((e=>{"active"===n.getSnapshot().status&&(c.delete(n),o._relay(n,n,{type:i,data:e}))}),(e=>{"active"===n.getSnapshot().status&&(c.delete(n),o._relay(n,n,{type:a,data:e}))}))},getInitialSnapshot:(e,t)=>({status:"active",output:void 0,error:void 0,input:t}),getPersistedSnapshot:e=>e,restoreSnapshot:e=>e}}},32302:(e,t,n)=>{"use strict";n.d(t,{a:()=>i,b:()=>g,c:()=>p,s:()=>h});var o=n(45931);function r(e,{machine:t,context:n},r,s){return(i,a)=>{const c=((i,a={})=>{const{systemId:c,input:l}=a;if("string"==typeof i){const d=(0,o.z)(t,i);if(!d)throw new Error(`Actor logic '${i}' not implemented in machine '${t.id}'`);const u=(0,o.A)(d,{id:a.id,parent:e.self,syncSnapshot:a.syncSnapshot,input:"function"==typeof l?l({context:n,event:r,self:e.self}):l,src:i,systemId:c});return s[u.id]=u,u}return(0,o.A)(i,{id:a.id,parent:e.self,syncSnapshot:a.syncSnapshot,input:a.input,src:i,systemId:c})})(i,a);return s[c.id]=c,e.defer((()=>{c._processingStatus!==o.T.Stopped&&c.start()})),c}}function s(e,t,n,s,{assignment:i}){if(!t.context)throw new Error("Cannot assign to undefined `context`. Ensure that `context` is defined in the machine config.");const a={},c={context:t.context,event:n.event,spawn:r(e,t,n.event,a),self:e.self,system:e.system};let l={};if("function"==typeof i)l=i(c,s);else for(const e of Object.keys(i)){const t=i[e];l[e]="function"==typeof t?t(c,s):t}const d=Object.assign({},t.context,l);return[(0,o.U)(t,{context:d,children:Object.keys(a).length?{...t.children,...a}:t.children})]}function i(e){function t(e,t){}return t.type="xstate.assign",t.assignment=e,t.resolve=s,t}function a(e,t,n,o,{event:r}){return[t,{event:"function"==typeof r?r(n,o):r}]}function c(e,{event:t}){e.defer((()=>e.emit(t)))}let l=function(e){return e.Parent="#_parent",e.Internal="#_internal",e}({});function d(e,t,n,o,{to:r,event:s,id:i,delay:a},c){const d=t.machine.implementations.delays;if("string"==typeof s)throw new Error(`Only event objects may be used with sendTo; use sendTo({ type: "${s}" }) instead`);const u="function"==typeof s?s(n,o):s;let m;if("string"==typeof a){const e=d&&d[a];m="function"==typeof e?e(n,o):e}else m="function"==typeof a?a(n,o):a;const p="function"==typeof r?r(n,o):r;let h;if("string"==typeof p){if(h=p===l.Parent?e.self._parent:p===l.Internal?e.self:p.startsWith("#_")?t.children[p.slice(2)]:c.deferredActorIds?.includes(p)?p:t.children[p],!h)throw new Error(`Unable to send event to actor '${p}' from machine '${t.machine.id}'.`)}else h=p||e.self;return[t,{to:h,event:u,id:i,delay:m}]}function u(e,t,n){"string"==typeof n.to&&(n.to=t.children[n.to])}function m(e,t){e.defer((()=>{const{to:n,event:r,delay:s,id:i}=t;"number"!=typeof s?e.system._relay(e.self,n,r.type===o.V?(0,o.W)(e.self.id,r.data):r):e.system.scheduler.schedule(e.self,n,r,s,i)}))}function p(e,t,n){function o(e,t){}return o.type="xsnapshot.sendTo",o.to=e,o.event=t,o.id=n?.id,o.delay=n?.delay,o.resolve=d,o.retryResolve=u,o.execute=m,o}function h(e,t){return p(l.Parent,e,t)}function f(e,t,n,r,{collect:s}){const l=[],d=function(e){l.push(e)};return d.assign=(...e)=>{l.push(i(...e))},d.cancel=(...e)=>{l.push((0,o.M)(...e))},d.raise=(...e)=>{l.push((0,o.O)(...e))},d.sendTo=(...e)=>{l.push(p(...e))},d.spawnChild=(...e)=>{l.push((0,o.P)(...e))},d.stopChild=(...e)=>{l.push((0,o.R)(...e))},d.emit=(...e)=>{l.push(function(e){function t(e,t){}return t.type="xstate.emit",t.event=e,t.resolve=a,t.execute=c,t}(...e))},s({context:n.context,event:n.event,enqueue:d,check:e=>(0,o.e)(e,t.context,n.event,t),self:e.self,system:e.system},r),[t,void 0,l]}function g(e){function t(e,t){}return t.type="xstate.enqueueActions",t.collect=e,t.resolve=f,t}},45931:(e,t,n)=>{"use strict";n.d(t,{$:()=>A,A:()=>D,G:()=>Y,M:()=>Z,N:()=>a,O:()=>Qe,P:()=>V,R:()=>W,S:()=>s,T:()=>L,U:()=>Fe,V:()=>d,W:()=>p,X:()=>u,a:()=>S,b:()=>ie,c:()=>I,d:()=>ce,e:()=>Q,f:()=>ae,g:()=>se,h:()=>re,i:()=>X,j:()=>fe,k:()=>Ve,l:()=>ne,m:()=>x,n:()=>Ae,o:()=>ge,p:()=>Te,q:()=>h,r:()=>De,s:()=>Ee,t:()=>E,u:()=>me,v:()=>_,w:()=>oe,x:()=>he,y:()=>Ue,z:()=>T});const o=e=>{if("undefined"==typeof window)return;const t=function(){const e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:void 0;if(e.__xstate__)return e.__xstate__}();t&&t.register(e)};class r{constructor(e){this._process=e,this._active=!1,this._current=null,this._last=null}start(){this._active=!0,this.flush()}clear(){this._current&&(this._current.next=null,this._last=this._current)}enqueue(e){const t={value:e,next:null};if(this._current)return this._last.next=t,void(this._last=t);this._current=t,this._last=t,this._active&&this.flush()}flush(){for(;this._current;){const e=this._current;this._process(e.value),this._current=e.next}this._last=null}}const s=".",i="",a="",c="*",l="xstate.init",d="xstate.error",u="xstate.stop";function m(e,t){return{type:`xstate.done.state.${e}`,output:t}}function p(e,t){return{type:`xstate.error.actor.${e}`,error:t}}function h(e){return{type:l,input:e}}function f(e){setTimeout((()=>{throw e}))}const g="function"==typeof Symbol&&Symbol.observable||"@@observable";function y(e,t){return`${e.sessionId}.${t}`}let w=0;function v(e,t){const n=b(e),o=b(t);return"string"==typeof o?"string"==typeof n&&o===n:"string"==typeof n?n in o:Object.keys(n).every((e=>e in o&&v(n[e],o[e])))}function _(e){if(j(e))return e;let t=[],n="";for(let o=0;o<e.length;o++){switch(e.charCodeAt(o)){case 92:n+=e[o+1],o++;continue;case 46:t.push(n),n="";continue}n+=e[o]}return t.push(n),t}function b(e){return(t=e)&&"object"==typeof t&&"machine"in t&&"value"in t?e.value:"string"!=typeof e?e:function(e){if(1===e.length)return e[0];const t={};let n=t;for(let t=0;t<e.length-1;t++)if(t===e.length-2)n[e[t]]=e[t+1];else{const o=n;n={},o[e[t]]=n}return t}(_(e));var t}function x(e,t){const n={},o=Object.keys(e);for(let r=0;r<o.length;r++){const s=o[r];n[s]=t(e[s],s,e,r)}return n}function C(e){return j(e)?e:[e]}function E(e){return void 0===e?[]:C(e)}function M(e,t,n,o){return"function"==typeof e?e({context:t,event:n,self:o}):e}function j(e){return Array.isArray(e)}function S(e){return C(e).map((e=>void 0===e||"string"==typeof e?{target:e}:e))}function N(e){if(void 0!==e&&e!==i)return E(e)}function k(e,t,n){const o="object"==typeof e,r=o?e:void 0;return{next:(o?e.next:e)?.bind(r),error:(o?e.error:t)?.bind(r),complete:(o?e.complete:n)?.bind(r)}}function I(e,t){return`${t}.${e}`}function T(e,t){const n=t.match(/^xstate\.invoke\.(\d+)\.(.*)/);if(!n)return e.implementations.actors[t];const[,o,r]=n,s=e.getStateNodeById(r).config.invoke;return(Array.isArray(s)?s[o]:s).src}const A=1;let L=function(e){return e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped",e}({});const O={clock:{setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e)},logger:console.log.bind(console),devTools:!1};class P{constructor(e,t){this.logic=e,this._snapshot=void 0,this.clock=void 0,this.options=void 0,this.id=void 0,this.mailbox=new r(this._process.bind(this)),this.observers=new Set,this.eventListeners=new Map,this.logger=void 0,this._processingStatus=L.NotStarted,this._parent=void 0,this._syncSnapshot=void 0,this.ref=void 0,this._actorScope=void 0,this._systemId=void 0,this.sessionId=void 0,this.system=void 0,this._doneEvent=void 0,this.src=void 0,this._deferred=[];const n={...O,...t},{clock:o,logger:s,parent:i,syncSnapshot:a,id:c,systemId:l,inspect:d}=n;this.system=i?i.system:function(e,t){const n=new Map,o=new Map,r=new WeakMap,s=new Set,i={},{clock:a,logger:c}=t,l={schedule:(e,t,n,o,r=Math.random().toString(36).slice(2))=>{const s={source:e,target:t,event:n,delay:o,id:r,startedAt:Date.now()},c=y(e,r);d._snapshot._scheduledEvents[c]=s;const l=a.setTimeout((()=>{delete i[c],delete d._snapshot._scheduledEvents[c],d._relay(e,t,n)}),o);i[c]=l},cancel:(e,t)=>{const n=y(e,t),o=i[n];delete i[n],delete d._snapshot._scheduledEvents[n],a.clearTimeout(o)},cancelAll:e=>{for(const t in d._snapshot._scheduledEvents){const n=d._snapshot._scheduledEvents[t];n.source===e&&l.cancel(e,n.id)}}},d={_snapshot:{_scheduledEvents:(t?.snapshot&&t.snapshot.scheduler)??{}},_bookId:()=>"x:"+w++,_register:(e,t)=>(n.set(e,t),e),_unregister:e=>{n.delete(e.sessionId);const t=r.get(e);void 0!==t&&(o.delete(t),r.delete(e))},get:e=>o.get(e),_set:(e,t)=>{const n=o.get(e);if(n&&n!==t)throw new Error(`Actor with system ID '${e}' already exists.`);o.set(e,t),r.set(t,e)},inspect:e=>{s.add(e)},_sendInspectionEvent:t=>{if(!s.size)return;const n={...t,rootId:e.sessionId};s.forEach((e=>e.next?.(n)))},_relay:(e,t,n)=>{d._sendInspectionEvent({type:"@xstate.event",sourceRef:e,actorRef:t,event:n}),t._send(n)},scheduler:l,getSnapshot:()=>({_scheduledEvents:{...d._snapshot._scheduledEvents}}),start:()=>{const e=d._snapshot._scheduledEvents;d._snapshot._scheduledEvents={};for(const t in e){const{source:n,target:o,event:r,delay:s,id:i}=e[t];l.schedule(n,o,r,s,i)}},_clock:a,_logger:c};return d}(this,{clock:o,logger:s}),d&&!i&&this.system.inspect(k(d)),this.sessionId=this.system._bookId(),this.id=c??this.sessionId,this.logger=t?.logger??this.system._logger,this.clock=t?.clock??this.system._clock,this._parent=i,this._syncSnapshot=a,this.options=n,this.src=n.src??e,this.ref=this,this._actorScope={self:this,id:this.id,sessionId:this.sessionId,logger:this.logger,defer:e=>{this._deferred.push(e)},system:this.system,stopChild:e=>{if(e._parent!==this)throw new Error(`Cannot stop child actor ${e.id} of ${this.id} because it is not a child`);e._stop()},emit:e=>{const t=this.eventListeners.get(e.type),n=this.eventListeners.get("*");if(!t&&!n)return;const o=new Set([...t?t.values():[],...n?n.values():[]]);for(const t of Array.from(o))t(e)}},this.send=this.send.bind(this),this.system._sendInspectionEvent({type:"@xstate.actor",actorRef:this}),l&&(this._systemId=l,this.system._set(l,this)),this._initState(t?.snapshot??t?.state),l&&"active"!==this._snapshot.status&&this.system._unregister(this)}_initState(e){try{this._snapshot=e?this.logic.restoreSnapshot?this.logic.restoreSnapshot(e,this._actorScope):e:this.logic.getInitialSnapshot(this._actorScope,this.options?.input)}catch(e){this._snapshot={status:"error",output:void 0,error:e}}}update(e,t){let n;for(this._snapshot=e;n=this._deferred.shift();)try{n()}catch(t){this._deferred.length=0,this._snapshot={...e,status:"error",error:t}}switch(this._snapshot.status){case"active":for(const t of this.observers)try{t.next?.(e)}catch(e){f(e)}break;case"done":for(const t of this.observers)try{t.next?.(e)}catch(e){f(e)}this._stopProcedure(),this._complete(),this._doneEvent={type:`xstate.done.actor.${this.id}`,output:this._snapshot.output},this._parent&&this.system._relay(this,this._parent,this._doneEvent);break;case"error":this._error(this._snapshot.error)}this.system._sendInspectionEvent({type:"@xstate.snapshot",actorRef:this,event:t,snapshot:e})}subscribe(e,t,n){const o=k(e,t,n);if(this._processingStatus!==L.Stopped)this.observers.add(o);else switch(this._snapshot.status){case"done":try{o.complete?.()}catch(e){f(e)}break;case"error":{const e=this._snapshot.error;if(o.error)try{o.error(e)}catch(e){f(e)}else f(e);break}}return{unsubscribe:()=>{this.observers.delete(o)}}}on(e,t){let n=this.eventListeners.get(e);n||(n=new Set,this.eventListeners.set(e,n));const o=t.bind(void 0);return n.add(o),{unsubscribe:()=>{n.delete(o)}}}start(){if(this._processingStatus===L.Running)return this;this._syncSnapshot&&this.subscribe({next:e=>{"active"===e.status&&this.system._relay(this,this._parent,{type:`xstate.snapshot.${this.id}`,snapshot:e})},error:()=>{}}),this.system._register(this.sessionId,this),this._systemId&&this.system._set(this._systemId,this),this._processingStatus=L.Running;const e=h(this.options.input);switch(this.system._sendInspectionEvent({type:"@xstate.event",sourceRef:this._parent,actorRef:this,event:e}),this._snapshot.status){case"done":return this.update(this._snapshot,e),this;case"error":return this._error(this._snapshot.error),this}if(this._parent||this.system.start(),this.logic.start)try{this.logic.start(this._snapshot,this._actorScope)}catch(e){return this._snapshot={...this._snapshot,status:"error",error:e},this._error(e),this}return this.update(this._snapshot,e),this.options.devTools&&this.attachDevTools(),this.mailbox.start(),this}_process(e){let t,n;try{t=this.logic.transition(this._snapshot,e,this._actorScope)}catch(e){n={err:e}}if(n){const{err:e}=n;return this._snapshot={...this._snapshot,status:"error",error:e},void this._error(e)}this.update(t,e),e.type===u&&(this._stopProcedure(),this._complete())}_stop(){return this._processingStatus===L.Stopped?this:(this.mailbox.clear(),this._processingStatus===L.NotStarted?(this._processingStatus=L.Stopped,this):(this.mailbox.enqueue({type:u}),this))}stop(){if(this._parent)throw new Error("A non-root actor cannot be stopped directly.");return this._stop()}_complete(){for(const e of this.observers)try{e.complete?.()}catch(e){f(e)}this.observers.clear()}_reportError(e){if(!this.observers.size)return void(this._parent||f(e));let t=!1;for(const n of this.observers){const o=n.error;t||=!o;try{o?.(e)}catch(e){f(e)}}this.observers.clear(),t&&f(e)}_error(e){this._stopProcedure(),this._reportError(e),this._parent&&this.system._relay(this,this._parent,p(this.id,e))}_stopProcedure(){return this._processingStatus!==L.Running||(this.system.scheduler.cancelAll(this),this.mailbox.clear(),this.mailbox=new r(this._process.bind(this)),this._processingStatus=L.Stopped,this.system._unregister(this)),this}_send(e){this._processingStatus!==L.Stopped&&this.mailbox.enqueue(e)}send(e){this.system._relay(void 0,this,e)}attachDevTools(){const{devTools:e}=this.options;e&&("function"==typeof e?e:o)(this)}toJSON(){return{xstate$$type:A,id:this.id}}getPersistedSnapshot(e){return this.logic.getPersistedSnapshot(this._snapshot,e)}[g](){return this}getSnapshot(){return this._snapshot}}function D(e,...[t]){return new P(e,t)}function R(e,t,n,o,{sendId:r}){return[t,"function"==typeof r?r(n,o):r]}function H(e,t){e.defer((()=>{e.system.scheduler.cancel(e.self,t)}))}function Z(e){function t(e,t){}return t.type="xstate.cancel",t.sendId=e,t.resolve=R,t.execute=H,t}function z(e,t,n,o,{id:r,systemId:s,src:i,input:a,syncSnapshot:c}){const l="string"==typeof i?T(t.machine,i):i,d="function"==typeof r?r(n):r;let u;return l&&(u=D(l,{id:d,src:i,parent:e.self,syncSnapshot:c,systemId:s,input:"function"==typeof a?a({context:t.context,event:n.event,self:e.self}):a})),[Fe(t,{children:{...t.children,[d]:u}}),{id:r,actorRef:u}]}function B(e,{id:t,actorRef:n}){n&&e.defer((()=>{n._processingStatus!==L.Stopped&&n.start()}))}function V(...[e,{id:t,systemId:n,input:o,syncSnapshot:r=!1}={}]){function s(e,t){}return s.type="snapshot.spawnChild",s.id=t,s.systemId=n,s.src=e,s.input=o,s.syncSnapshot=r,s.resolve=z,s.execute=B,s}function F(e,t,n,o,{actorRef:r}){const s="function"==typeof r?r(n,o):r,i="string"==typeof s?t.children[s]:s;let a=t.children;return i&&(a={...a},delete a[i.id]),[Fe(t,{children:a}),i]}function U(e,t){t&&(e.system._unregister(t),t._processingStatus===L.Running?e.defer((()=>{e.stopChild(t)})):e.stopChild(t))}function W(e){function t(e,t){}return t.type="xstate.stopChild",t.actorRef=e,t.resolve=F,t.execute=U,t}function G(e,{context:t,event:n},{guards:o}){return o.some((o=>Q(o,t,n,e)))}function Y(e){function t(e,t){return!1}return t.check=G,t.guards=e,t}function Q(e,t,n,o){const{machine:r}=o,s="function"==typeof e,i=s?e:r.implementations.guards["string"==typeof e?e:e.type];if(!s&&!i)throw new Error(`Guard '${"string"==typeof e?e:e.type}' is not implemented.'.`);if("function"!=typeof i)return Q(i,t,n,o);const a={context:t,event:n},c=s||"string"==typeof e?void 0:"params"in e?"function"==typeof e.params?e.params({context:t,event:n}):e.params:void 0;return"check"in i?i.check(o,a,i):i(a,c)}const q=e=>"atomic"===e.type||"final"===e.type;function $(e){return Object.values(e.states).filter((e=>"history"!==e.type))}function J(e,t){const n=[];if(t===e)return n;let o=e.parent;for(;o&&o!==t;)n.push(o),o=o.parent;return n}function X(e){const t=new Set(e),n=ee(t);for(const e of t)if("compound"!==e.type||n.get(e)&&n.get(e).length){if("parallel"===e.type)for(const n of $(e))if("history"!==n.type&&!t.has(n)){const e=ue(n);for(const n of e)t.add(n)}}else ue(e).forEach((e=>t.add(e)));for(const e of t){let n=e.parent;for(;n;)t.add(n),n=n.parent}return t}function K(e,t){const n=t.get(e);if(!n)return{};if("compound"===e.type){const e=n[0];if(!e)return{};if(q(e))return e.key}const o={};for(const e of n)o[e.key]=K(e,t);return o}function ee(e){const t=new Map;for(const n of e)t.has(n)||t.set(n,[]),n.parent&&(t.has(n.parent)||t.set(n.parent,[]),t.get(n.parent).push(n));return t}function te(e,t){return K(e,ee(X(t)))}function ne(e,t){return"compound"===t.type?$(t).some((t=>"final"===t.type&&e.has(t))):"parallel"===t.type?$(t).every((t=>ne(e,t))):"final"===t.type}const oe=e=>"#"===e[0];function re(e,t){return e.transitions.get(t)||[...e.transitions.keys()].filter((e=>{if(e===c)return!0;if(!e.endsWith(".*"))return!1;const n=e.split("."),o=t.split(".");for(let e=0;e<n.length;e++){const t=n[e],r=o[e];if("*"===t)return e===n.length-1;if(t!==r)return!1}return!0})).sort(((e,t)=>t.length-e.length)).flatMap((t=>e.transitions.get(t)))}function se(e){const t=e.config.after;return t?Object.keys(t).flatMap(((n,o)=>{const r=t[n],s="string"==typeof r?{target:r}:r,i=Number.isNaN(+n)?n:+n,a=((t,n)=>{const o={type:`xstate.after.${t}.${e.id}`};const r=o.type;return e.entry.push(Qe(o,{id:r,delay:t})),e.exit.push(Z(r)),r})(i);return E(s).map((e=>({...e,event:a,delay:i})))})).map((t=>{const{delay:n}=t;return{...ie(e,t.event,t),delay:n}})):[]}function ie(e,t,n){const o=N(n.target),r=n.reenter??!1,i=function(e,t){if(void 0!==t)return t.map((t=>{if("string"!=typeof t)return t;if(oe(t))return e.machine.getStateNodeById(t);const n=t[0]===s;if(n&&!e.parent)return he(e,t.slice(1));const o=n?e.key+t:t;if(!e.parent)throw new Error(`Invalid target: "${t}" is not a valid target from the root node. Did you mean ".${t}"?`);try{return he(e.parent,o)}catch(t){throw new Error(`Invalid transition definition for state node '${e.id}':\n${t.message}`)}}))}(e,o),a={...n,actions:E(n.actions),guard:n.guard,target:i,source:e,reenter:r,eventType:t,toJSON:()=>({...a,source:`#${e.id}`,target:i?i.map((e=>`#${e.id}`)):void 0})};return a}function ae(e){const t=new Map;if(e.config.on)for(const n of Object.keys(e.config.on)){if(n===a)throw new Error('Null events ("") cannot be specified as a transition key. Use `always: { ... }` instead.');const o=e.config.on[n];t.set(n,S(o).map((t=>ie(e,n,t))))}if(e.config.onDone){const n=`xstate.done.state.${e.id}`;t.set(n,S(e.config.onDone).map((t=>ie(e,n,t))))}for(const n of e.invoke){if(n.onDone){const o=`xstate.done.actor.${n.id}`;t.set(o,S(n.onDone).map((t=>ie(e,o,t))))}if(n.onError){const o=`xstate.error.actor.${n.id}`;t.set(o,S(n.onError).map((t=>ie(e,o,t))))}if(n.onSnapshot){const o=`xstate.snapshot.${n.id}`;t.set(o,S(n.onSnapshot).map((t=>ie(e,o,t))))}}for(const n of e.after){let e=t.get(n.eventType);e||(e=[],t.set(n.eventType,e)),e.push(n)}return t}function ce(e,t){const n="string"==typeof t?e.states[t]:t?e.states[t.target]:void 0;if(!n&&t)throw new Error(`Initial state node "${t}" not found on parent state node #${e.id}`);const o={source:e,actions:t&&"string"!=typeof t?E(t.actions):[],eventType:null,reenter:!1,target:n?[n]:[],toJSON:()=>({...o,source:`#${e.id}`,target:n?[`#${n.id}`]:[]})};return o}function le(e){const t=N(e.config.target);return t?{target:t.map((t=>"string"==typeof t?he(e.parent,t):t))}:e.parent.initial}function de(e){return"history"===e.type}function ue(e){const t=me(e);for(const n of t)for(const o of J(n,e))t.add(o);return t}function me(e){const t=new Set;return function e(n){if(!t.has(n))if(t.add(n),"compound"===n.type)e(n.initial.target[0]);else if("parallel"===n.type)for(const t of $(n))e(t)}(e),t}function pe(e,t){if(oe(t))return e.machine.getStateNodeById(t);if(!e.states)throw new Error(`Unable to retrieve child state '${t}' from '${e.id}'; no child states exist.`);const n=e.states[t];if(!n)throw new Error(`Child state '${t}' does not exist on '${e.id}'`);return n}function he(e,t){if("string"==typeof t&&oe(t))try{return e.machine.getStateNodeById(t)}catch(e){}const n=_(t).slice();let o=e;for(;n.length;){const e=n.shift();if(!e.length)break;o=pe(o,e)}return o}function fe(e,t){if("string"==typeof t){const n=e.states[t];if(!n)throw new Error(`State '${t}' does not exist on '${e.id}'`);return[e,n]}const n=Object.keys(t),o=n.map((t=>pe(e,t))).filter(Boolean);return[e.machine.root,e].concat(o,n.reduce(((n,o)=>{const r=pe(e,o);if(!r)return n;const s=fe(r,t[o]);return n.concat(s)}),[]))}function ge(e,t,n,o){return"string"==typeof t?function(e,t,n,o){const r=pe(e,t).next(n,o);return r&&r.length?r:e.next(n,o)}(e,t,n,o):1===Object.keys(t).length?function(e,t,n,o){const r=Object.keys(t),s=ge(pe(e,r[0]),t[r[0]],n,o);return s&&s.length?s:e.next(n,o)}(e,t,n,o):function(e,t,n,o){const r=[];for(const s of Object.keys(t)){const i=t[s];if(!i)continue;const a=ge(pe(e,s),i,n,o);a&&r.push(...a)}return r.length?r:e.next(n,o)}(e,t,n,o)}function ye(e){return Object.keys(e.states).map((t=>e.states[t])).filter((e=>"history"===e.type))}function we(e,t){let n=e;for(;n.parent&&n.parent!==t;)n=n.parent;return n.parent===t}function ve(e,t){const n=new Set(e),o=new Set(t);for(const e of n)if(o.has(e))return!0;for(const e of o)if(n.has(e))return!0;return!1}function _e(e,t,n){const o=new Set;for(const r of e){let e=!1;const s=new Set;for(const i of o)if(ve(Ce([r],t,n),Ce([i],t,n))){if(!we(r.source,i.source)){e=!0;break}s.add(i)}if(!e){for(const e of s)o.delete(e);o.add(r)}}return Array.from(o)}function be(e,t){if(!e.target)return[];const n=new Set;for(const o of e.target)if(de(o))if(t[o.id])for(const e of t[o.id])n.add(e);else for(const e of be(le(o),t))n.add(e);else n.add(o);return[...n]}function xe(e,t){const n=be(e,t);if(!n)return;if(!e.reenter&&n.every((t=>t===e.source||we(t,e.source))))return e.source;return function(e){const[t,...n]=e;for(const e of J(t,void 0))if(n.every((t=>we(t,e))))return e}(n.concat(e.source))||(e.reenter?void 0:e.source.machine.root)}function Ce(e,t,n){const o=new Set;for(const r of e)if(r.target?.length){const e=xe(r,n);r.reenter&&r.source===e&&o.add(e);for(const n of t)we(n,e)&&o.add(n)}return[...o]}function Ee(e,t,n,o,r,s){if(!e.length)return t;const i=new Set(t._nodes);let a=t.historyValue;const c=_e(e,i,a);let l=t;r||([l,a]=function(e,t,n,o,r,s,i){let a=e;const c=Ce(o,r,s);let l;c.sort(((e,t)=>t.order-e.order));for(const e of c)for(const t of ye(e)){let n;n="deep"===t.history?t=>q(t)&&we(t,e):t=>t.parent===e,l??={...s},l[t.id]=Array.from(r).filter(n)}for(const e of c)a=Te(a,t,n,[...e.exit,...e.invoke.map((e=>W(e.id)))],i),r.delete(e);return[a,l||s]}(l,o,n,c,i,a,s)),l=Te(l,o,n,c.flatMap((e=>e.actions)),s),l=function(e,t,n,o,r,s,i,a){let c=e;const l=new Set,d=new Set;(function(e,t,n,o){for(const r of e){const e=xe(r,t);for(const s of r.target||[])de(s)||r.source===s&&r.source===e&&!r.reenter||(o.add(s),n.add(s)),je(s,t,n,o);const s=be(r,t);for(const i of s){const s=J(i,e);"parallel"===e?.type&&s.push(e),Se(o,t,n,s,!r.source.parent&&r.reenter?void 0:e)}}})(o,i,d,l),a&&d.add(e.machine.root);const u=new Set;for(const e of[...l].sort(((e,t)=>e.order-t.order))){r.add(e);const o=[];o.push(...e.entry);for(const t of e.invoke)o.push(V(t.src,{...t,syncSnapshot:!!t.onSnapshot}));if(d.has(e)){const t=e.initial.actions;o.push(...t)}if(c=Te(c,t,n,o,s,e.invoke.map((e=>e.id))),"final"===e.type){const o=e.parent;let i="parallel"===o?.type?o:o?.parent,a=i||e;for("compound"===o?.type&&s.push(m(o.id,void 0!==e.output?M(e.output,c.context,t,n.self):void 0));"parallel"===i?.type&&!u.has(i)&&ne(r,i);)u.add(i),s.push(m(i.id)),a=i,i=i.parent;if(i)continue;c=Fe(c,{status:"done",output:Me(c,t,n,c.machine.root,a)})}}return c}(l,o,n,c,i,s,a,r);const d=[...i];"done"===l.status&&(l=Te(l,o,n,d.sort(((e,t)=>t.order-e.order)).flatMap((e=>e.exit)),s));try{return a===t.historyValue&&function(e,t){if(e.length!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0}(t._nodes,i)?l:Fe(l,{_nodes:d,historyValue:a})}catch(e){throw e}}function Me(e,t,n,o,r){if(void 0===o.output)return;const s=m(r.id,void 0!==r.output&&r.parent?M(r.output,e.context,t,n.self):void 0);return M(o.output,e.context,s,n.self)}function je(e,t,n,o){if(de(e))if(t[e.id]){const r=t[e.id];for(const e of r)o.add(e),je(e,t,n,o);for(const s of r)Ne(s,e.parent,o,t,n)}else{const r=le(e);for(const s of r.target)o.add(s),r===e.parent?.initial&&n.add(e.parent),je(s,t,n,o);for(const s of r.target)Ne(s,e.parent,o,t,n)}else if("compound"===e.type){const[r]=e.initial.target;de(r)||(o.add(r),n.add(r)),je(r,t,n,o),Ne(r,e,o,t,n)}else if("parallel"===e.type)for(const r of $(e).filter((e=>!de(e))))[...o].some((e=>we(e,r)))||(de(r)||(o.add(r),n.add(r)),je(r,t,n,o))}function Se(e,t,n,o,r){for(const s of o)if(r&&!we(s,r)||e.add(s),"parallel"===s.type)for(const o of $(s).filter((e=>!de(e))))[...e].some((e=>we(e,o)))||(e.add(o),je(o,t,n,e))}function Ne(e,t,n,o,r){Se(n,o,r,J(e,t))}let ke=!1;function Ie(e,t,n,o,r,s){const{machine:i}=e;let a=e;for(const c of o){const l="function"==typeof c,d=l?c:i.implementations.actions["string"==typeof c?c:c.type];if(!d)continue;const u={context:a.context,event:t,self:n.self,system:n.system},m=l||"string"==typeof c?void 0:"params"in c?"function"==typeof c.params?c.params({context:a.context,event:t}):c.params:void 0;function p(){n.system._sendInspectionEvent({type:"@xstate.action",actorRef:n.self,action:{type:"string"==typeof c?c:"object"==typeof c?c.type:c.name||"(anonymous)",params:m}});try{ke=d,d(u,m)}finally{ke=!1}}if(!("resolve"in d)){n.self._processingStatus===L.Running?p():n.defer((()=>{p()}));continue}const h=d,[f,g,y]=h.resolve(n,a,u,m,d,r);a=f,"retryResolve"in h&&s?.push([h,g]),"execute"in h&&(n.self._processingStatus===L.Running?h.execute(n,g):n.defer(h.execute.bind(null,n,g))),y&&(a=Ie(a,t,n,y,r,s))}return a}function Te(e,t,n,o,r,s){const i=s?[]:void 0,a=Ie(e,t,n,o,{internalQueue:r,deferredActorIds:s},i);return i?.forEach((([e,t])=>{e.retryResolve(n,a,t)})),a}function Ae(e,t,n,o=[]){let r=e;const s=[];function i(e,t,o){n.system._sendInspectionEvent({type:"@xstate.microstep",actorRef:n.self,event:t,snapshot:e,_transitions:o}),s.push(e)}if(t.type===u)return r=Fe(Le(r,t,n),{status:"stopped"}),i(r,t,[]),{snapshot:r,microstates:s};let a=t;if(a.type!==l){const t=a,c=function(e){return e.type.startsWith("xstate.error.actor")}(t),l=Oe(t,r);if(c&&!l.length)return r=Fe(e,{status:"error",error:t.error}),i(r,t,[]),{snapshot:r,microstates:s};r=Ee(l,e,n,a,!1,o),i(r,t,l)}let c=!0;for(;"active"===r.status;){let e=c?Pe(r,a):[];const t=e.length?r:void 0;if(!e.length){if(!o.length)break;a=o.shift(),e=Oe(a,r)}r=Ee(e,r,n,a,!1,o),c=r!==t,i(r,a,e)}return"active"!==r.status&&Le(r,a,n),{snapshot:r,microstates:s}}function Le(e,t,n){return Te(e,t,n,Object.values(e.children).map((e=>W(e))),[])}function Oe(e,t){return t.machine.getTransitionData(t,e)}function Pe(e,t){const n=new Set,o=e._nodes.filter(q);for(const r of o)e:for(const o of[r].concat(J(r,void 0)))if(o.always)for(const r of o.always)if(void 0===r.guard||Q(r.guard,e.context,t,e)){n.add(r);break e}return _e(Array.from(n),new Set(e._nodes),e.historyValue)}function De(e,t){return te(e,[...X(fe(e,t))])}const Re=function(e){return v(e,this.value)},He=function(e){return this.tags.has(e)},Ze=function(e){const t=this.machine.getTransitionData(this,e);return!!t?.length&&t.some((e=>void 0!==e.target||e.actions.length))},ze=function(){const{_nodes:e,tags:t,machine:n,getMeta:o,toJSON:r,can:s,hasTag:i,matches:a,...c}=this;return{...c,tags:Array.from(t)}},Be=function(){return this._nodes.reduce(((e,t)=>(void 0!==t.meta&&(e[t.id]=t.meta),e)),{})};function Ve(e,t){return{status:e.status,output:e.output,error:e.error,machine:t,context:e.context,_nodes:e._nodes,value:te(t.root,e._nodes),tags:new Set(e._nodes.flatMap((e=>e.tags))),children:e.children,historyValue:e.historyValue||{},matches:Re,hasTag:He,can:Ze,getMeta:Be,toJSON:ze}}function Fe(e,t={}){return Ve({...e,...t},e.machine)}function Ue(e,t){const{_nodes:n,tags:o,machine:r,children:s,context:i,can:a,hasTag:c,matches:l,getMeta:d,toJSON:u,...m}=e,p={};for(const e in s){const n=s[e];p[e]={snapshot:n.getPersistedSnapshot(t),src:n.src,systemId:n._systemId,syncSnapshot:n._syncSnapshot}}return{...m,context:We(i),children:p}}function We(e){let t;for(const n in e){const o=e[n];if(o&&"object"==typeof o)if("sessionId"in o&&"send"in o&&"ref"in o)t??=Array.isArray(e)?e.slice():{...e},t[n]={xstate$$type:A,id:o.id};else{const r=We(o);r!==o&&(t??=Array.isArray(e)?e.slice():{...e},t[n]=r)}}return t??e}function Ge(e,t,n,o,{event:r,id:s,delay:i},{internalQueue:a}){const c=t.machine.implementations.delays;if("string"==typeof r)throw new Error(`Only event objects may be used with raise; use raise({ type: "${r}" }) instead`);const l="function"==typeof r?r(n,o):r;let d;if("string"==typeof i){const e=c&&c[i];d="function"==typeof e?e(n,o):e}else d="function"==typeof i?i(n,o):i;return"number"!=typeof d&&a.push(l),[t,{event:l,id:s,delay:d}]}function Ye(e,t){const{event:n,delay:o,id:r}=t;"number"!=typeof o||e.defer((()=>{const t=e.self;e.system.scheduler.schedule(t,t,n,o,r)}))}function Qe(e,t){function n(e,t){}return n.type="xstate.raise",n.event=e,n.id=t?.id,n.delay=t?.delay,n.resolve=Ge,n.execute=Ye,n}},60369:(e,t,n)=>{"use strict";n.d(t,{C8:()=>u,ZD:()=>p,cY:()=>m}),n(43073);var o=n(45931),r=n(32302);const s=new WeakMap;function i(e,t,n){let o=s.get(e);return o?t in o||(o[t]=n()):(o={[t]:n()},s.set(e,o)),o[t]}const a={},c=e=>"string"==typeof e?{type:e}:"function"==typeof e?"resolve"in e?{type:e.type}:{type:e.name}:e;class l{constructor(e,t){if(this.config=e,this.key=void 0,this.id=void 0,this.type=void 0,this.path=void 0,this.states=void 0,this.history=void 0,this.entry=void 0,this.exit=void 0,this.parent=void 0,this.machine=void 0,this.meta=void 0,this.output=void 0,this.order=-1,this.description=void 0,this.tags=[],this.transitions=void 0,this.always=void 0,this.parent=t._parent,this.key=t._key,this.machine=t._machine,this.path=this.parent?this.parent.path.concat(this.key):[],this.id=this.config.id||[this.machine.id,...this.path].join(o.S),this.type=this.config.type||(this.config.states&&Object.keys(this.config.states).length?"compound":this.config.history?"history":"atomic"),this.description=this.config.description,this.order=this.machine.idMap.size,this.machine.idMap.set(this.id,this),this.states=this.config.states?(0,o.m)(this.config.states,((e,t)=>new l(e,{_parent:this,_key:t,_machine:this.machine}))):a,"compound"===this.type&&!this.config.initial)throw new Error(`No initial state specified for compound state node "#${this.id}". Try adding { initial: "${Object.keys(this.states)[0]}" } to the state config.`);this.history=!0===this.config.history?"shallow":this.config.history||!1,this.entry=(0,o.t)(this.config.entry).slice(),this.exit=(0,o.t)(this.config.exit).slice(),this.meta=this.config.meta,this.output="final"!==this.type&&this.parent?void 0:this.config.output,this.tags=(0,o.t)(e.tags).slice()}_initialize(){this.transitions=(0,o.f)(this),this.config.always&&(this.always=(0,o.a)(this.config.always).map((e=>(0,o.b)(this,o.N,e)))),Object.keys(this.states).forEach((e=>{this.states[e]._initialize()}))}get definition(){return{id:this.id,key:this.key,version:this.machine.version,type:this.type,initial:this.initial?{target:this.initial.target,source:this,actions:this.initial.actions.map(c),eventType:null,reenter:!1,toJSON:()=>({target:this.initial.target.map((e=>`#${e.id}`)),source:`#${this.id}`,actions:this.initial.actions.map(c),eventType:null})}:void 0,history:this.history,states:(0,o.m)(this.states,(e=>e.definition)),on:this.on,transitions:[...this.transitions.values()].flat().map((e=>({...e,actions:e.actions.map(c)}))),entry:this.entry.map(c),exit:this.exit.map(c),meta:this.meta,order:this.order||-1,output:this.output,invoke:this.invoke,description:this.description,tags:this.tags}}toJSON(){return this.definition}get invoke(){return i(this,"invoke",(()=>(0,o.t)(this.config.invoke).map(((e,t)=>{const{src:n,systemId:r}=e,s=e.id??(0,o.c)(this.id,t),i="string"==typeof n?n:`xstate.invoke.${(0,o.c)(this.id,t)}`;return{...e,src:i,id:s,systemId:r,toJSON(){const{onDone:t,onError:n,...o}=e;return{...o,type:"xstate.invoke",src:i,id:s}}}}))))}get on(){return i(this,"on",(()=>[...this.transitions].flatMap((([e,t])=>t.map((t=>[e,t])))).reduce(((e,[t,n])=>(e[t]=e[t]||[],e[t].push(n),e)),{})))}get after(){return i(this,"delayedTransitions",(()=>(0,o.g)(this)))}get initial(){return i(this,"initial",(()=>(0,o.d)(this,this.config.initial)))}next(e,t){const n=t.type,r=[];let s;const a=i(this,`candidates-${n}`,(()=>(0,o.h)(this,n)));for(const i of a){const{guard:a}=i,c=e.context;let l=!1;try{l=!a||(0,o.e)(a,c,t,e)}catch(e){const t="string"==typeof a?a:"object"==typeof a?a.type:void 0;throw new Error(`Unable to evaluate guard ${t?`'${t}' `:""}in transition for event '${n}' in state node '${this.id}':\n${e.message}`)}if(l){r.push(...i.actions),s=i;break}}return s?[s]:void 0}get events(){return i(this,"events",(()=>{const{states:e}=this,t=new Set(this.ownEvents);if(e)for(const n of Object.keys(e)){const o=e[n];if(o.states)for(const e of o.events)t.add(`${e}`)}return Array.from(t)}))}get ownEvents(){const e=new Set([...this.transitions.keys()].filter((e=>this.transitions.get(e).some((e=>!(!e.target&&!e.actions.length&&!e.reenter))))));return Array.from(e)}}class d{constructor(e,t){this.config=e,this.version=void 0,this.schemas=void 0,this.implementations=void 0,this.__xstatenode=!0,this.idMap=new Map,this.root=void 0,this.id=void 0,this.states=void 0,this.events=void 0,this.__TResolvedTypesMeta=void 0,this.id=e.id||"(machine)",this.implementations={actors:t?.actors??{},actions:t?.actions??{},delays:t?.delays??{},guards:t?.guards??{}},this.version=this.config.version,this.schemas=this.config.schemas,this.transition=this.transition.bind(this),this.getInitialSnapshot=this.getInitialSnapshot.bind(this),this.getPersistedSnapshot=this.getPersistedSnapshot.bind(this),this.restoreSnapshot=this.restoreSnapshot.bind(this),this.start=this.start.bind(this),this.root=new l(e,{_key:this.id,_machine:this}),this.root._initialize(),this.states=this.root.states,this.events=this.root.events}provide(e){const{actions:t,guards:n,actors:o,delays:r}=this.implementations;return new d(this.config,{actions:{...t,...e.actions},guards:{...n,...e.guards},actors:{...o,...e.actors},delays:{...r,...e.delays}})}resolveState(e){const t=(0,o.r)(this.root,e.value),n=(0,o.i)((0,o.j)(this.root,t));return(0,o.k)({_nodes:[...n],context:e.context||{},children:{},status:(0,o.l)(n,this.root)?"done":e.status||"active",output:e.output,error:e.error,historyValue:e.historyValue},this)}transition(e,t,n){return(0,o.n)(e,t,n).snapshot}microstep(e,t,n){return(0,o.n)(e,t,n).microstates}getTransitionData(e,t){return(0,o.o)(this.root,e.value,e,t)||[]}getPreInitialState(e,t,n){const{context:s}=this.config,i=(0,o.k)({context:"function"!=typeof s&&s?s:{},_nodes:[this.root],children:{},status:"active"},this);if("function"==typeof s){const a=({spawn:e,event:t,self:n})=>s({spawn:e,input:t.input,self:n});return(0,o.p)(i,t,e,[(0,r.a)(a)],n)}return i}getInitialSnapshot(e,t){const n=(0,o.q)(t),r=[],s=this.getPreInitialState(e,n,r),i=(0,o.s)([{target:[...(0,o.u)(this.root)],source:this.root,reenter:!0,actions:[],eventType:null,toJSON:null}],s,e,n,!0,r),{snapshot:a}=(0,o.n)(i,n,e,r);return a}start(e){Object.values(e.children).forEach((e=>{"active"===e.getSnapshot().status&&e.start()}))}getStateNodeById(e){const t=(0,o.v)(e),n=t.slice(1),r=(0,o.w)(t[0])?t[0].slice(1):t[0],s=this.idMap.get(r);if(!s)throw new Error(`Child state node '#${r}' does not exist on machine '${this.id}'`);return(0,o.x)(s,n)}get definition(){return this.root.definition}toJSON(){return this.definition}getPersistedSnapshot(e,t){return(0,o.y)(e,t)}restoreSnapshot(e,t){const n={},r=e.children;Object.keys(r).forEach((e=>{const s=r[e],i=s.snapshot,a=s.src,c="string"==typeof a?(0,o.z)(this,a):a;if(!c)return;const l=(0,o.A)(c,{id:e,parent:t.self,syncSnapshot:s.syncSnapshot,snapshot:i,src:a,systemId:s.systemId});n[e]=l}));const s=(0,o.k)({...e,children:n,_nodes:Array.from((0,o.i)((0,o.j)(this.root,e.value)))},this);let i=new Set;return function e(t,n){if(!i.has(t)){i.add(t);for(let r in t){const s=t[r];if(s&&"object"==typeof s){if("xstate$$type"in s&&s.xstate$$type===o.$){t[r]=n[s.id];continue}e(s,n)}}}}(s.context,n),s}}function u(e,t){return new d(e,t)}function m({schemas:e,actors:t,actions:n,guards:o,delays:r}){return{createMachine:s=>u({...s,schemas:e},{actors:t,actions:n,guards:o,delays:r})}}function p(e,t){const n=(0,o.t)(t);if(!n.includes(e.type)){const t=1===n.length?`type "${n[0]}"`:`one of types "${n.join('", "')}"`;throw new Error(`Expected event ${JSON.stringify(e)} to have ${t}`)}}},99196:e=>{"use strict";e.exports=window.React},91850:e=>{"use strict";e.exports=window.ReactDOM},92819:e=>{"use strict";e.exports=window.lodash},76292:e=>{"use strict";e.exports=window.moment},46530:e=>{"use strict";e.exports=window.wc.adminLayout},86020:e=>{"use strict";e.exports=window.wc.components},49742:e=>{"use strict";e.exports=window.wc.csvExport},17844:e=>{"use strict";e.exports=window.wc.currency},75606:e=>{"use strict";e.exports=window.wc.customerEffortScore},67221:e=>{"use strict";e.exports=window.wc.data},81921:e=>{"use strict";e.exports=window.wc.date},14812:e=>{"use strict";e.exports=window.wc.experimental},73516:e=>{"use strict";e.exports=window.wc.explat},10431:e=>{"use strict";e.exports=window.wc.navigation},81595:e=>{"use strict";e.exports=window.wc.number},51393:e=>{"use strict";e.exports=window.wc.productEditor},19881:e=>{"use strict";e.exports=window.wc.remoteLogging},14599:e=>{"use strict";e.exports=window.wc.tracks},74617:e=>{"use strict";e.exports=window.wc.wcSettings},25158:e=>{"use strict";e.exports=window.wp.a11y},86989:e=>{"use strict";e.exports=window.wp.apiFetch},11313:e=>{"use strict";e.exports=window.wp.blob},52175:e=>{"use strict";e.exports=window.wp.blockEditor},97800:e=>{"use strict";e.exports=window.wp.blockLibrary},4981:e=>{"use strict";e.exports=window.wp.blocks},55609:e=>{"use strict";e.exports=window.wp.components},94333:e=>{"use strict";e.exports=window.wp.compose},37798:e=>{"use strict";e.exports=window.wp.coreData},9818:e=>{"use strict";e.exports=window.wp.data},23418:e=>{"use strict";e.exports=window.wp.dataControls},69771:e=>{"use strict";e.exports=window.wp.date},37180:e=>{"use strict";e.exports=window.wp.deprecated},45904:e=>{"use strict";e.exports=window.wp.dom},12238:e=>{"use strict";e.exports=window.wp.editor},69307:e=>{"use strict";e.exports=window.wp.element},92694:e=>{"use strict";e.exports=window.wp.hooks},22629:e=>{"use strict";e.exports=window.wp.htmlEntities},65736:e=>{"use strict";e.exports=window.wp.i18n},24705:e=>{"use strict";e.exports=window.wp.keyboardShortcuts},39630:e=>{"use strict";e.exports=window.wp.keycodes},58141:e=>{"use strict";e.exports=window.wp.mediaUtils},53961:e=>{"use strict";e.exports=window.wp.notices},98817:e=>{"use strict";e.exports=window.wp.plugins},55815:e=>{"use strict";e.exports=window.wp.preferences},70444:e=>{"use strict";e.exports=window.wp.primitives},74776:e=>{"use strict";e.exports=window.wp.privateApis},86802:e=>{"use strict";e.exports=window.wp.router},96483:e=>{"use strict";e.exports=window.wp.url},32011:()=>{},66143:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(29511);function r(e,t,n){return(t=(0,o.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},91238:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(85976);function r(e,t){if("object"!==(0,o.Z)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==(0,o.Z)(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}},29511:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(85976),r=n(91238);function s(e){var t=(0,r.Z)(e,"string");return"symbol"===(0,o.Z)(t)?t:String(t)}},85976:(e,t,n)=>{"use strict";function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}n.d(t,{Z:()=>o})},80225:(e,t,n)=>{"use strict";function o(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=o(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}n.d(t,{Z:()=>r});const r=function(){for(var e,t,n=0,r="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=o(e))&&(r&&(r+=" "),r+=t);return r}}},s={};function i(e){var t=s[e];if(void 0!==t)return t.exports;var n=s[e]={exports:{}};return r[e].call(n.exports,n,n.exports,i),n.exports}i.m=r,i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var r=Object.create(null);i.r(r);var s={};e=e||[null,t({}),t([]),t(t)];for(var a=2&o&&n;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>s[e]=()=>n[e]));return s.default=()=>n,i.d(r,s),r},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((t,n)=>(i.f[n](e,t),t)),[])),i.u=e=>"chunks/"+({185:"analytics-report-categories",318:"settings-payments-woocommerce-payments",727:"leaderboards",925:"customize-store",1402:"settings-payments-methods",1828:"core-profiler",2397:"dashboard-charts",2502:"analytics-report-stock",2624:"store-performance",2953:"analytics-settings",3307:"edit-product-page",3576:"analytics-report-orders",3700:"analytics-report-customers",3994:"analytics-report-revenue",4011:"analytics-report-coupons",4854:"analytics-report-downloads",4882:"multichannel-marketing",5396:"payment-recommendations",5502:"homescreen",5712:"settings-payments-main",6125:"shipping-recommendations",6732:"activity-panels-help",6824:"analytics-report-products",7387:"product-page",7844:"activity-panels-setup",8219:"launch-store",8534:"settings-payments-offline",8544:"analytics-report",8597:"store-alerts",8851:"activity-panels-inbox",8960:"customizable-dashboard",9360:"wcpay-payment-welcome-page",9456:"analytics-report-variations",9669:"marketplace",9792:"analytics-report-taxes",9966:"dashboard"}[e]||e)+".js?ver="+{185:"07a7029a69b89da65024",318:"73fb5f0c90224c06f090",363:"3d753b0f818e252f388a",374:"c6d65f479cd252b29818",727:"513c81882d0014fde820",823:"fd5737946a0c3c705946",925:"36fe64ee76fe8426d357",1149:"79115b9a63aec13b10bb",1402:"a14f516b6196fca31a82",1828:"6cff1891a0c526b8e7c9",2397:"f5522d7a910eb9fa154d",2502:"0f0743a58291ce2c8f1c",2557:"9743c826a679a5b2f454",2624:"8045b8a8d7fba21a0d41",2953:"19cd9894f2d4e8b311ca",3307:"a0bdac4959df5fdb7dce",3576:"481fcfb3eb24394aa884",3700:"bb8d2e69029dfd73a8ea",3994:"cf323b1a6760dc4d7f1c",4011:"5e3d3e482ec184fbeeab",4397:"87d9b2edd445930701d7",4457:"5a3497aefcca4e69c121",4854:"ceb85fe792cfc74d59f8",4882:"bad2a23827375cea900d",5077:"f3faff0217dad9aca4f1",5396:"e90eb1a712c9c3c96a83",5479:"b873ab538b233baae9dd",5502:"1ec6c2f92e2242e1054a",5712:"a7b9e98656d80064194a",6125:"4d08960f7f1cce5c5b14",6262:"601fe5196b4a9d0a642d",6688:"fdb855eb8861c3ea5a3f",6732:"559dc51c855ae62f7088",6824:"a9affca395af706c87c8",6916:"034d3c2e5f43737eba9e",6990:"0b183aee176181c80f96",7387:"a6cb0a7d911db61adb8b",7726:"566b5744408a79c2cc9a",7844:"c844e7adee2f19b643f4",7926:"d238d58fc04ec740af54",7983:"98841549e9ed523b4d3b",8219:"a8bbf1d4e7d28fdbb0de",8443:"e55ca5206f711e18c0ce",8534:"258c5df41b590cade1f7",8544:"26f2b4cbd187b2145cb5",8597:"f329aa423c2f33577d08",8851:"8fbb7c71366d3c644627",8960:"f76e89c4d8f4e59ce880",9360:"d2516f8e03cc4f4b0ee2",9371:"1f7bd7fb58801480ca13",9456:"218d9a7f8b307f9b860e",9669:"c8173724cbb9d82585ba",9792:"73d8777cec17104219e3",9956:"0fe0d645e4ee52292aae",9966:"3fddedfda567fc45ad4a"}[e],i.miniCssF=e=>"chunks/"+e+".style.css?ver="+{185:"e18292b89d0d65594698",318:"622b48f69db23658b36d",727:"9944f07038cfcf4c557f",823:"c9ded390715fe2152e3f",925:"d644ec1ce155817f8313",1402:"ec29127b70affb4b08cf",1828:"9240f5bc03b5ef51954a",2397:"b491bf7240b9adf8c188",2502:"776819c89b5c86485e64",2624:"52c6ec2b343f9e0b91e2",2953:"58c5e13021299f432de8",3307:"66dbcf109b478ee333fc",3576:"b627dad947e1bdb0781c",3700:"776819c89b5c86485e64",3994:"b627dad947e1bdb0781c",4011:"776819c89b5c86485e64",4457:"cf27a4e2eba0691db8be",4854:"776819c89b5c86485e64",4882:"cbaa2b274dfd79cd6e30",5077:"4cf32095f267ef8be347",5712:"fc28fccaa55df96bda9b",6125:"d3321ebc2e5be822cb2d",6732:"08abeb3d8724447da769",6824:"e18292b89d0d65594698",6916:"84ff1f60b293b2d19542",7387:"66dbcf109b478ee333fc",8219:"e849b0942b2960449203",8534:"600ec5ff78164341f171",8544:"334ee745e0724668c16d",8597:"1a0ef7160a89435a3a20",8851:"7ac669c717c4eb7f1a0d",9360:"00e3d71a99e8c2846a47",9456:"776819c89b5c86485e64",9669:"bf44213103800dec2f0d",9792:"776819c89b5c86485e64",9966:"446ab6e8145e03e7e07c"}[e],i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n={},o="__wcAdmin_webpackJsonp:",i.l=(e,t,r,s)=>{if(n[e])n[e].push(t);else{var a,c;if(void 0!==r)for(var l=document.getElementsByTagName("script"),d=0;d<l.length;d++){var u=l[d];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==o+r){a=u;break}}a||(c=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,i.nc&&a.setAttribute("nonce",i.nc),a.setAttribute("data-webpack",o+r),a.src=e),n[e]=[t];var m=(t,o)=>{a.onerror=a.onload=null,clearTimeout(p);var r=n[e];if(delete n[e],a.parentNode&&a.parentNode.removeChild(a),r&&r.forEach((e=>e(o))),t)return t(o)},p=setTimeout(m.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=m.bind(null,a.onerror),a.onload=m.bind(null,a.onload),c&&document.head.appendChild(a)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;i.g.importScripts&&(e=i.g.location+"");var t=i.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var o=n.length-1;o>-1&&!e;)e=n[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=e+"../"})(),(()=>{if("undefined"!=typeof document){var e={2143:0,2343:0};i.f.miniCss=(t,n)=>{e[t]?n.push(e[t]):0!==e[t]&&{185:1,318:1,727:1,823:1,925:1,1402:1,1828:1,2397:1,2502:1,2624:1,2953:1,3307:1,3576:1,3700:1,3994:1,4011:1,4457:1,4854:1,4882:1,5077:1,5712:1,6125:1,6732:1,6824:1,6916:1,7387:1,8219:1,8534:1,8544:1,8597:1,8851:1,9360:1,9456:1,9669:1,9792:1,9966:1}[t]&&n.push(e[t]=(e=>new Promise(((t,n)=>{var o=i.miniCssF(e),r=i.p+o;if(((e,t)=>{for(var n=document.getElementsByTagName("link"),o=0;o<n.length;o++){var r=(i=n[o]).getAttribute("data-href")||i.getAttribute("href");if("stylesheet"===i.rel&&(r===e||r===t))return i}var s=document.getElementsByTagName("style");for(o=0;o<s.length;o++){var i;if((r=(i=s[o]).getAttribute("data-href"))===e||r===t)return i}})(o,r))return t();((e,t,n,o,r)=>{var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onerror=s.onload=n=>{if(s.onerror=s.onload=null,"load"===n.type)o();else{var i=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.href||t,c=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");c.code="CSS_CHUNK_LOAD_FAILED",c.type=i,c.request=a,s.parentNode&&s.parentNode.removeChild(s),r(c)}},s.href=t,document.head.appendChild(s)})(e,r,0,t,n)})))(t).then((()=>{e[t]=0}),(n=>{throw delete e[t],n})))}}})(),(()=>{var e={2143:0,2343:0};i.f.j=(t,n)=>{var o=i.o(e,t)?e[t]:void 0;if(0!==o)if(o)n.push(o[2]);else{var r=new Promise(((n,r)=>o=e[t]=[n,r]));n.push(o[2]=r);var s=i.p+i.u(t),a=new Error;i.l(s,(n=>{if(i.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var r=n&&("load"===n.type?"missing":n.type),s=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+r+": "+s+")",a.name="ChunkLoadError",a.type=r,a.request=s,o[1](a)}}),"chunk-"+t,t)}};var t=(t,n)=>{var o,r,[s,a,c]=n,l=0;if(s.some((t=>0!==e[t]))){for(o in a)i.o(a,o)&&(i.m[o]=a[o]);c&&c(i)}for(t&&t(n);l<s.length;l++)r=s[l],i.o(e,r)&&e[r]&&e[r][0](),e[r]=0},n=globalThis.webpackChunk_wcAdmin_webpackJsonp=globalThis.webpackChunk_wcAdmin_webpackJsonp||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var a={};(()=>{"use strict";i.r(a);var e=i(53961),t=i(69307),n=i(75606),o=i(67221),r=i(74104),s=i.n(r),c=i(45333),l=i(91978),d=i(55609),u=i(94333),m=i(9818),p=i(70147),h=i(83014),f=i(99196),g=i(69596),y=i.n(g),w=i(92819),v=i(10431),_=i(14599);window.wc.notices;var b=i(98817),x=i(46530),C=i(35980),E=i(92694),M=i(65736),j=i(86020),S=i(19805);const N="features";function k(e){const t=function(e){const t=(0,l.O3)(N);return t&&t[e]}(e);return Boolean(t?.is_enabled)}var I=i(46040),T=i(81514);const A=(0,t.lazy)((()=>Promise.all([i.e(7726),i.e(3307)]).then(i.bind(i,86541)))),L=(0,t.lazy)((()=>Promise.all([i.e(7726),i.e(7387)]).then(i.bind(i,31098)))),O=(0,t.lazy)((()=>i.e(8544).then(i.bind(i,72881)))),P=(0,t.lazy)((()=>i.e(2953).then(i.bind(i,48088)))),D=(0,t.lazy)((()=>i.e(9966).then(i.bind(i,37345)))),R=(0,t.lazy)((()=>Promise.all([i.e(5479),i.e(6990),i.e(4397),i.e(4457),i.e(5502)]).then(i.bind(i,61019)))),H=(0,t.lazy)((()=>i.e(4882).then(i.bind(i,57591)))),Z=(0,t.lazy)((()=>Promise.all([i.e(6916),i.e(9669)]).then(i.bind(i,32813)))),z=(0,t.lazy)((()=>Promise.all([i.e(6688),i.e(1828)]).then(i.bind(i,14311)))),B=(0,t.lazy)((()=>i.e(9360).then(i.bind(i,75856)))),V=(0,t.lazy)((()=>Promise.all([i.e(9371),i.e(6688),i.e(374),i.e(6916),i.e(925)]).then(i.bind(i,52278)))),F=(0,t.lazy)((()=>i.e(8219).then(i.bind(i,85339)))),U="woocommerce_admin_pages_list",W=()=>{const e=[],t=[["",(0,l.O3)("woocommerceTranslation")]];if(e.push({container:R,path:"/",breadcrumbs:[...t,(0,M.__)("Home","woocommerce")],wpOpenMenu:"toplevel_page_woocommerce",navArgs:{id:"woocommerce-home"},capability:"manage_woocommerce"}),window.wcAdminFeatures.analytics&&(e.push({container:D,path:"/analytics/overview",breadcrumbs:[...t,["/analytics/overview",(0,M.__)("Analytics","woocommerce")],(0,M.__)("Overview","woocommerce")],wpOpenMenu:"toplevel_page_wc-admin-path--analytics-overview",navArgs:{id:"woocommerce-analytics-overview"},capability:"view_woocommerce_reports"}),e.push({container:P,path:"/analytics/settings",breadcrumbs:[...t,["/analytics/revenue",(0,M.__)("Analytics","woocommerce")],(0,M.__)("Settings","woocommerce")],wpOpenMenu:"toplevel_page_wc-admin-path--analytics-overview",navArgs:{id:"woocommerce-analytics-settings"},capability:"view_woocommerce_reports"}),e.push({container:O,path:"/customers",breadcrumbs:[...t,(0,M.__)("Customers","woocommerce")],wpOpenMenu:"toplevel_page_woocommerce",navArgs:{id:"woocommerce-analytics-customers"},capability:"view_woocommerce_reports"}),e.push({container:O,path:"/analytics/:report",breadcrumbs:({match:e})=>{const n=(0,w.find)((0,S.Z)(),{report:e.params.report});return n?[...t,["/analytics/revenue",(0,M.__)("Analytics","woocommerce")],n.title]:[]},wpOpenMenu:"toplevel_page_wc-admin-path--analytics-overview",capability:"view_woocommerce_reports"})),window.wcAdminFeatures.marketing&&e.push({container:H,path:"/marketing",breadcrumbs:[...t,["/marketing",(0,M.__)("Marketing","woocommerce")],(0,M.__)("Overview","woocommerce")],wpOpenMenu:"toplevel_page_woocommerce-marketing",navArgs:{id:"woocommerce-marketing-overview"},capability:"view_woocommerce_reports"}),k("marketplace")&&e.push({container:Z,layout:{header:!1},path:"/extensions",breadcrumbs:[["/extensions",(0,M.__)("Extensions","woocommerce")],(0,M.__)("Extensions","woocommerce")],wpOpenMenu:"toplevel_page_woocommerce",capability:"manage_woocommerce",navArgs:{id:"woocommerce-marketplace"}}),k("product_block_editor")){const t={container:L,layout:{header:!1},wpOpenMenu:"menu-posts-product",capability:"manage_woocommerce"};e.push({...t,path:"/add-product",breadcrumbs:[["/add-product",(0,M.__)("Product","woocommerce")],(0,M.__)("Add New Product","woocommerce")],navArgs:{id:"woocommerce-add-product"}}),e.push({...t,path:"/product/:productId",breadcrumbs:[["/edit-product",(0,M.__)("Product","woocommerce")],(0,M.__)("Edit Product","woocommerce")],navArgs:{id:"woocommerce-edit-product"}})}e.push({container:A,layout:{header:!1},path:"/product/:productId/variation/:variationId",breadcrumbs:[["/edit-product",(0,M.__)("Product","woocommerce")],(0,M.__)("Edit Product Variation","woocommerce")],navArgs:{id:"woocommerce-edit-product"},wpOpenMenu:"menu-posts-product",capability:"edit_products"}),window.wcAdminFeatures.onboarding&&e.push({container:z,path:"/setup-wizard",breadcrumbs:[...t,(0,M.__)("Profiler","woocommerce")],capability:"manage_woocommerce",layout:{header:!1,footer:!1,showNotices:!0,showStoreAlerts:!1,showPluginArea:!1}}),window.wcAdminFeatures["core-profiler"]&&e.push({container:z,path:"/profiler",breadcrumbs:[...t,(0,M.__)("Profiler","woocommerce")],capability:"manage_woocommerce"}),window.wcAdminFeatures["customize-store"]&&e.push({container:V,path:"/customize-store/*",breadcrumbs:[...t,(0,M.__)("Customize Your Store","woocommerce")],layout:{header:!1,footer:!0,showNotices:!0,showStoreAlerts:!1,showPluginArea:!1},capability:"manage_woocommerce"}),window.wcAdminFeatures["launch-your-store"]&&e.push({container:F,path:"/launch-your-store/*",breadcrumbs:[...t,(0,M.__)("Launch Your Store","woocommerce")],layout:{header:!1,footer:!0,showNotices:!0,showStoreAlerts:!1,showPluginArea:!1},capability:"manage_woocommerce"}),window.wcAdminFeatures["wc-pay-welcome-page"]&&e.push({container:B,path:"/wc-pay-welcome-page",breadcrumbs:[["/wc-pay-welcome-page",(0,M.__)("WooPayments","woocommerce")],(0,M.__)("WooPayments","woocommerce")],navArgs:{id:"woocommerce-wc-pay-welcome-page"},wpOpenMenu:"toplevel_page_woocommerce-wc-pay-welcome-page",capability:"manage_woocommerce"});const n=(0,E.applyFilters)(U,e);return n.push({container:I.E,path:"*",breadcrumbs:[...t,(0,M.__)("Not allowed","woocommerce")],wpOpenMenu:"toplevel_page_woocommerce"}),n},G=({...e})=>{const n=function(e){const t=(0,f.useRef)();return(0,f.useEffect)((()=>{t.current=e}),[e]),t.current}(e);(0,f.useEffect)((()=>{window.document.documentElement.scrollTop=0,window.document.body.classList.remove("woocommerce-admin-is-loading")}),[]),(0,f.useEffect)((()=>{if(n){const t=(0,w.omit)(n.query,"chartType","filter","paged"),o=(0,w.omit)(e.query,"chartType","filter","paged");n.query.paged>1&&!(0,w.isEqual)(t,o)&&(0,v.getHistory)().replace((0,v.getNewPath)({paged:1})),n.match.url!==e.match.url&&(window.document.documentElement.scrollTop=0)}}),[e,n]);const{page:o,match:r,query:s}=e,{url:i,params:a}=r;return window.wpNavMenuUrlUpdate(s),window.wpNavMenuClassChange(o,i),(0,T.jsx)(t.Suspense,{fallback:o.fallback?(0,T.jsx)(o.fallback,{}):(0,T.jsx)("div",{className:"woocommerce-layout__loading",children:(0,T.jsx)(j.Spinner,{})}),children:(0,T.jsx)(o.container,{params:a,path:i,pathMatch:o.path,query:s})})};window.wpNavMenuUrlUpdate=function(e){const t=(0,v.getPersistedQuery)(e),n=(0,v.getQueryExcludedScreens)(),o=document.querySelectorAll("#adminmenu a");Array.from(o).forEach((e=>function(e,t,n){if((0,v.isWCAdmin)(e.href)){const o=(0,w.last)(e.href.split("?")),r=(0,C.parse)(o),s=r.path||"homescreen",i=(0,v.getScreenFromPath)(s),a=n.includes(i),c="admin.php?"+(0,C.stringify)(Object.assign(r,a?{}:t));e.href=c,e.onclick=e=>{e.preventDefault(),(0,v.getHistory)().push(c)}}}(e,t,n)))},window.wpNavMenuClassChange=function(e,t){const n=document.querySelector("#adminmenu");Array.from(n.getElementsByClassName("current")).forEach((function(e){e.classList.remove("current")})),Array.from(n.querySelectorAll(".wp-has-current-submenu")).forEach((function(e){e.classList.remove("wp-has-current-submenu"),e.classList.remove("wp-menu-open"),e.classList.remove("selected"),e.classList.add("wp-not-current-submenu"),e.classList.add("menu-top")}));const o="/"===t?"admin.php?page=wc-admin":"admin.php?page=wc-admin&path="+encodeURIComponent(t);let r="/"===t?`li > a[href$="${o}"], li > a[href*="${o}?"]`:`li > a[href*="${o}"]`;const s=e.navArgs?.parentPath;s&&(r+=`, li > a[href*="${"/"===s?"admin.php?page=wc-admin":"admin.php?page=wc-admin&path="+encodeURIComponent(s)}"]`);const i=n.querySelectorAll(r);if(Array.from(i).forEach((function(e){e.parentElement.classList.add("current")})),e.wpOpenMenu){const t=n.querySelector("#"+e.wpOpenMenu);t&&(t.classList.remove("wp-not-current-submenu"),t.classList.add("wp-has-current-submenu"),t.classList.add("wp-menu-open"),t.classList.add("current"))}document.querySelector("#wpwrap").classList.remove("wp-responsive-open")};var Y=i(80225),Q=i(22629),q=i(74617),$=i(14812);function J(){return window.innerHeight+window.scrollY>=document.body.scrollHeight}function X(){const[e,n]=(0,t.useState)(!1),[o,r]=(0,t.useState)(J()),s=(0,t.useRef)(null);return(0,t.useEffect)((()=>{const e=()=>{n(window.pageYOffset>20),r(J())},t=()=>{s.current=window.requestAnimationFrame(e)};return window.addEventListener("scroll",t),window.addEventListener("resize",t),()=>{window.removeEventListener("scroll",t),window.removeEventListener("resize",t),window.cancelAnimationFrame(s.current)}}),[]),{isScrolled:e,atBottom:o,atTop:!e}}var K=i(96456);const ee=({onClose:e})=>(0,T.jsx)(j.TourKit,{config:{placement:"bottom",options:{effects:{arrowIndicator:!0,autoScroll:{behavior:"auto",block:"center"},liveResize:{mutation:!0,resize:!0,rootElementSelector:"#wpwrap"}},popperModifiers:[{name:"auto",enabled:!0,phase:"beforeWrite",requires:["computeStyles"]},{name:"offset",options:{offset:()=>[52,16]}}],classNames:"woocommerce-lys-homescreen-status-tour-kit"},steps:[{referenceElements:{desktop:"#wp-admin-bar-woocommerce-site-visibility-badge"},meta:{name:"set-your-store-visibility",heading:(0,M.__)("Set your store’s visibility","woocommerce"),descriptions:{desktop:(0,t.createInterpolateElement)((0,M.__)('Launch your store only when you’re ready to by switching between "Coming soon" and "Live" modes. Build excitement by creating a custom page visitors will see before you’re ready to go live. <link>Discover more</link>',"woocommerce"),{link:(0,T.jsx)("a",{href:"https://woocommerce.com/document/configuring-woocommerce-settings/coming-soon-mode/",target:"_blank",rel:"noreferrer"})})}}}],closeHandler:e}}),te=()=>{const{showTour:e,setShowTour:t,onClose:n,shouldTourBeShown:r}=(()=>{const[e,t]=(0,f.useState)(!0),n=(0,m.useSelect)((e=>"yes"===e(o.OPTIONS_STORE_NAME).getOption("woocommerce_show_lys_tour"))),r=(0,m.useSelect)((e=>{const t=e("core").getCurrentUser();return!t||"yes"===t.meta.woocommerce_launch_your_store_tour_hidden})),{launch_your_store_tour_hidden:s,updateUserPreferences:i}=(0,o.useUserPreferences)();return{onClose:()=>{i({launch_your_store_tour_hidden:"yes"})},shouldTourBeShown:n&&!(r||"yes"===s),showTour:e,setShowTour:t}})();return(0,T.jsx)("div",{className:"woocommerce-lys-status",children:r&&e&&(0,T.jsx)(ee,{onClose:()=>{n(),t(!1)}})})},ne=({enabled:e}={enabled:!0})=>{const{isLoading:t,launchYourStoreEnabled:n,comingSoon:r,storePagesOnly:s,privateLink:i,shareKey:a}=(0,m.useSelect)((t=>{if(!e)return{isLoading:!1,comingSoon:null,storePagesOnly:null,privateLink:null,shareKey:null,launchYourStoreEnabled:null};const{hasFinishedResolution:n,getOption:r}=t(o.OPTIONS_STORE_NAME);return{isLoading:!(n("getOption",["woocommerce_coming_soon"])||n("getOption",["woocommerce_store_pages_only"])||n("getOption",["woocommerce_private_link"])||n("getOption",["woocommerce_share_key"])),comingSoon:r("woocommerce_coming_soon"),storePagesOnly:r("woocommerce_store_pages_only"),privateLink:r("woocommerce_private_link"),shareKey:r("woocommerce_share_key"),launchYourStoreEnabled:window.wcAdminFeatures["launch-your-store"]}}));return{isLoading:t,comingSoon:r,storePagesOnly:s,privateLink:i,shareKey:a,launchYourStoreEnabled:n}},oe="__EXPERIMENTAL__WcAdminSettingsSlots",{Slot:re}=(0,d.createSlotFill)(oe),se=(0,q.getAdminLink)("site-editor.php?postType=wp_template&postId=woocommerce/woocommerce//coming-soon&canvas=edit"),ie=({formRef:e,saveButtonRef:n,currentSetting:o})=>{var r;const[s,i]=(0,t.useState)(null),[a,c]=(0,t.useState)(!1),l=null!==(r=o?.woocommerce_coming_soon)&&void 0!==r?r:"no";(0,t.useEffect)((()=>{const t=e.current,n=e=>{const n=new FormData(t);"no"===l&&"yes"===n.get("woocommerce_coming_soon")&&(e.preventDefault(),c(!0),i(e))};return t&&t.addEventListener("submit",n),()=>{t&&t.removeEventListener("submit",n)}}),[o,e]);const u=()=>{i(null),c(!1),n.current&&n.current.classList.remove("is-busy")};return a?(0,T.jsxs)(d.Modal,{title:(0,M.__)("Confirm switch to ‘Coming soon’ mode","woocommerce"),onRequestClose:u,size:"medium",className:"site-visibility-settings-confirmation-modal",children:[(0,T.jsx)("div",{className:"site-visibility-settings-confirmation-modal__content",children:(0,M.__)("Are you sure you want to switch from live to coming soon mode? Your site will not be visible, and customers won’t be able to make purchases during this time.","woocommerce")}),(0,T.jsx)("div",{className:"divider-container",children:(0,T.jsx)("hr",{})}),(0,T.jsxs)("div",{className:"site-visibility-settings-confirmation-modal__buttons",children:[(0,T.jsx)(d.Button,{variant:"primary",isBusy:!1,onClick:()=>{if(s){if(n.current&&e.current){const t=document.createElement("input");t.type="hidden",t.name=n.current.name||"save",t.value=n.current.value||(0,M.__)("Save changes","woocommerce"),e.current.appendChild(t)}s.target.submit(),i(null)}c(!1)},children:(0,M.__)("Switch","woocommerce")}),(0,T.jsx)(d.Button,{variant:"tertiary",onClick:u,children:(0,M.__)("Cancel","woocommerce")})]})]}):null},{Fill:ae}=(0,d.createSlotFill)(oe),ce=()=>{const e=window?.wcSettings?.admin?.siteVisibilitySettings||{},n=e?.woocommerce_share_key,[o,r]=(0,t.useState)(e?.woocommerce_coming_soon||"no"),[s,i]=(0,t.useState)(e?.woocommerce_store_pages_only||"no"),[a,c]=(0,t.useState)(e?.woocommerce_private_link||"no"),l=(0,t.useRef)(null),m=(0,t.useRef)(null);(0,t.useEffect)((()=>{const e=document.getElementsByClassName("woocommerce-save-button")[0];e&&(m.current=e);const t=document.querySelector("#mainform");t&&(l.current=t)}),[]),(0,t.useEffect)((()=>{const t=e.woocommerce_coming_soon,n=e.woocommerce_store_pages_only,r=e.woocommerce_private_link||"no",i=o,c=s,l=a,d=document.getElementsByClassName("woocommerce-save-button")[0];d&&(d.disabled=t===i&&n===c&&r===l)}),[o,s,a]);const p=(0,M.__)("Copy link","woocommerce"),h=(0,M.__)("Copied!","woocommerce"),[f,g]=(0,t.useState)(p),y=()=>{const e=window?.wcSettings,t=e?.homeUrl,o=new URL(t);if("yes"===s){const t=e?.admin?.siteVisibilitySettings?.shop_permalink;t&&(o.href=t)}const r=new URLSearchParams(o.search);return r.set("woo-share",n),o.search=r.toString(),o.toString()},w=(0,u.useCopyToClipboard)(y,(()=>{g(h),setTimeout((()=>{g(p)}),2e3)}));return(0,T.jsxs)("div",{className:"site-visibility-settings-slotfill",children:[(0,T.jsx)("input",{type:"hidden",value:o,name:"woocommerce_coming_soon"}),(0,T.jsx)("input",{type:"hidden",value:s,name:"woocommerce_store_pages_only"}),(0,T.jsx)("input",{type:"hidden",value:a,name:"woocommerce_private_link"}),(0,T.jsx)("h2",{children:(0,M.__)("Site visibility","woocommerce")}),(0,T.jsx)("p",{className:"site-visibility-settings-slotfill-description",children:(0,t.createInterpolateElement)((0,M.__)("Manage how your site appears to visitors. <a>Learn more</a>","woocommerce"),{a:(0,t.createElement)("a",{target:"_blank",rel:"noreferrer",href:"https://woocommerce.com/document/configuring-woocommerce-settings/coming-soon-mode/"})})}),(0,T.jsxs)("div",{className:"site-visibility-settings-slotfill-section",children:[(0,T.jsx)(d.RadioControl,{onChange:()=>{r("yes"),(0,_.recordEvent)("site_visibility_toggle",{status:"coming_soon"})},options:[{label:(0,M.__)("Coming soon","woocommerce"),value:"yes"}],selected:o}),(0,T.jsx)("p",{className:"site-visibility-settings-slotfill-section-description",children:(0,q.getSetting)("currentThemeIsFSETheme")?(0,t.createInterpolateElement)((0,M.__)("Your site is hidden from visitors behind a “Coming soon” landing page until it’s ready for viewing. You can customize your “Coming soon” landing page via the <a>Editor</a>.","woocommerce"),{a:(0,t.createElement)("a",{target:"_blank",href:se})}):(0,M.__)("Your site is hidden from visitors behind a “Coming soon” landing page until it’s ready for viewing.","woocommerce")}),(0,T.jsxs)("div",{className:(0,Y.Z)("site-visibility-settings-slotfill-section-content",{"is-hidden":"yes"!==o}),children:[(0,T.jsx)(d.ToggleControl,{label:(0,T.jsxs)(T.Fragment,{children:[(0,M.__)("Apply to store pages only","woocommerce"),(0,T.jsx)("p",{children:(0,M.__)("Display a “coming soon” message on your store pages — the rest of your site will remain visible.","woocommerce")})]}),checked:"yes"===s,onChange:e=>{i("yes"===s?"no":"yes"),(0,_.recordEvent)("site_visibility_restrict_store_pages_only_toggle",{enabled:e})}}),(0,T.jsx)(d.ToggleControl,{label:(0,T.jsxs)(T.Fragment,{children:[(0,M.__)("Share your site with a private link","woocommerce"),(0,T.jsx)("p",{children:(0,M.__)("Share your site with anyone using a private link.","woocommerce")})]}),checked:"yes"===a,onChange:e=>{c("yes"===a?"no":"yes"),(0,_.recordEvent)("site_visibility_share_private_link_toggle",{enabled:e})}})]}),"yes"===o&&"yes"===a&&(0,T.jsxs)("div",{className:"site-visibility-settings-slotfill-private-link",children:[(0,T.jsx)("input",{value:y(),readOnly:!0}),(0,T.jsx)(d.Button,{ref:w,variant:"link",onClick:()=>{(0,_.recordEvent)("site_visibility_private_link_copy")},children:f})]})]}),(0,T.jsxs)("div",{className:"site-visibility-settings-slotfill-section",children:[(0,T.jsx)(d.RadioControl,{onChange:()=>{r("no"),(0,_.recordEvent)("site_visibility_toggle",{status:"live"})},options:[{label:(0,M.__)("Live","woocommerce"),value:"no"}],selected:o}),(0,T.jsx)("p",{className:"site-visibility-settings-slotfill-section-description",children:(0,M.__)("Your entire site is visible to everyone.","woocommerce")})]}),l.current&&m.current?(0,T.jsx)(ie,{saveButtonRef:m,formRef:l,currentSetting:e}):null]})},le=()=>(0,T.jsx)(ae,{children:(0,T.jsx)(ce,{})});var de=i(41938);const ue=({sections:e,isEmbedded:n=!1,query:o})=>{const r=(0,t.useRef)(null),s=(0,K.useActiveSetupTasklist)(),i=(0,q.getSetting)("siteTitle",""),a=(e=>{let t;return t=e.length>2&&Array.isArray(e[1])&&["admin.php?page=wc-settings","admin.php?page=wc-reports","admin.php?page=wc-status"].includes(e[1][0])?e[1][1]:e[e.length-1],t})(e),{isScrolled:c}=X();let l=null;const d=(0,Y.Z)("woocommerce-layout__header",{"is-scrolled":c}),u=(0,$.useSlot)(x.WC_HEADER_PAGE_TITLE_SLOT_NAME),m=Boolean(u?.fills?.length),p=(0,$.useSlot)(x.WC_HEADER_SLOT_NAME),h=p?.fills,f=()=>{clearTimeout(l),l=setTimeout((function(){const e=document.querySelector("#wpbody");e&&r.current&&(e.style.marginTop=`${r.current.clientHeight}px`)}),200)};(0,t.useLayoutEffect)((()=>(f(),window.addEventListener("resize",f),()=>{window.removeEventListener("resize",f);const e=document.querySelector("#wpbody");e&&(e.style.marginTop=null)})),[h]),(0,t.useEffect)((()=>{if(!n){const t=e.map((e=>Array.isArray(e)?e[1]:e)).reverse().join(" &lsaquo; "),n=(0,Q.decodeEntities)((0,M.sprintf)((0,M.__)("%1$s &lsaquo; %2$s &#8212; WooCommerce","woocommerce"),t,i));document.title!==n&&(document.title=n)}}),[n,e,i]);const g=(0,v.isWCAdmin)()&&"homescreen"===(0,v.getScreenFromPath)()&&!o.task,{isLoading:y,launchYourStoreEnabled:w}=ne({enabled:g}),_=g&&w&&!y,b=(0,v.isWCAdmin)()&&"/analytics/overview"===(0,v.getPath)(),C=Boolean(window.wcAdminFeatures?.["reactify-classic-payments-settings"]&&"wc-settings"===o?.page&&"checkout"===o?.tab),E=Boolean(s&&!C);return(0,T.jsxs)("div",{className:d,ref:r,children:[E&&(0,T.jsx)(K.TasksReminderBar,{updateBodyMargin:f,taskListId:s}),(0,T.jsxs)("div",{className:"woocommerce-layout__header-wrapper",children:[(0,T.jsx)(x.WooHeaderNavigationItem.Slot,{fillProps:{isEmbedded:n,query:o}}),(0,T.jsx)($.Text,{className:"woocommerce-layout__header-heading "+(_?"":"woocommerce-layout__header-left-align"),as:"h1",children:(0,Q.decodeEntities)(m?(0,T.jsx)(x.WooHeaderPageTitle.Slot,{fillProps:{isEmbedded:n,query:o}}):a)}),_&&(0,T.jsx)(te,{}),b&&(0,T.jsx)(de.U2,{bannerType:de.Qy,eventContext:"analytics-overview-header"}),(0,T.jsx)(x.WooHeaderItem.Slot,{fillProps:{isEmbedded:n,query:o}})]})]})},me=()=>{const e=(0,$.useSlot)(x.WC_FOOTER_SLOT_NAME),t=Boolean(e?.fills?.length),{atBottom:n}=X();return t?(0,T.jsx)("div",{className:(0,Y.Z)("woocommerce-layout__footer",{"at-bottom":n}),children:(0,T.jsx)(x.WooFooterItem.Slot,{})}):null};class pe extends t.Component{render(){return(0,T.jsx)("div",{id:"woocommerce-layout__notice-list",className:"woocommerce-layout__notice-list"})}}const he=pe;var fe=Object.defineProperty,ge={};((e,t)=>{for(var n in t)fe(e,n,{get:t[n],enumerable:!0})})(ge,{assign:()=>qe,colors:()=>Ge,createStringInterpolator:()=>Ve,skipAnimation:()=>Ye,to:()=>Fe,willAdvance:()=>Qe});var ye=Le(),we=e=>ke(e,ye),ve=Le();we.write=e=>ke(e,ve);var _e=Le();we.onStart=e=>ke(e,_e);var be=Le();we.onFrame=e=>ke(e,be);var xe=Le();we.onFinish=e=>ke(e,xe);var Ce=[];we.setTimeout=(e,t)=>{const n=we.now()+t,o=()=>{const e=Ce.findIndex((e=>e.cancel==o));~e&&Ce.splice(e,1),Se-=~e?1:0},r={time:n,handler:e,cancel:o};return Ce.splice(Ee(n),0,r),Se+=1,Ie(),r};var Ee=e=>~(~Ce.findIndex((t=>t.time>e))||~Ce.length);we.cancel=e=>{_e.delete(e),be.delete(e),xe.delete(e),ye.delete(e),ve.delete(e)},we.sync=e=>{Ne=!0,we.batchedUpdates(e),Ne=!1},we.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function o(...e){t=e,we.onStart(n)}return o.handler=e,o.cancel=()=>{_e.delete(n),t=null},o};var Me="undefined"!=typeof window?window.requestAnimationFrame:()=>{};we.use=e=>Me=e,we.now="undefined"!=typeof performance?()=>performance.now():Date.now,we.batchedUpdates=e=>e(),we.catch=console.error,we.frameLoop="always",we.advance=()=>{"demand"!==we.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):Ae()};var je=-1,Se=0,Ne=!1;function ke(e,t){Ne?(t.delete(e),e(0)):(t.add(e),Ie())}function Ie(){je<0&&(je=0,"demand"!==we.frameLoop&&Me(Te))}function Te(){~je&&(Me(Te),we.batchedUpdates(Ae))}function Ae(){const e=je;je=we.now();const t=Ee(je);t&&(Oe(Ce.splice(0,t),(e=>e.handler())),Se-=t),Se?(_e.flush(),ye.flush(e?Math.min(64,je-e):16.667),be.flush(),ve.flush(),xe.flush()):je=-1}function Le(){let e=new Set,t=e;return{add(n){Se+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>(Se-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,Se-=t.size,Oe(t,(t=>t(n)&&e.add(t))),Se+=e.size,t=e)}}}function Oe(e,t){e.forEach((e=>{try{t(e)}catch(e){we.catch(e)}}))}function Pe(){}var De={arr:Array.isArray,obj:e=>!!e&&"Object"===e.constructor.name,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e};function Re(e,t){if(De.arr(e)){if(!De.arr(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return e===t}var He=(e,t)=>e.forEach(t);function Ze(e,t,n){if(De.arr(e))for(let o=0;o<e.length;o++)t.call(n,e[o],`${o}`);else for(const o in e)e.hasOwnProperty(o)&&t.call(n,e[o],o)}var ze=e=>De.und(e)?[]:De.arr(e)?e:[e];function Be(e,t){if(e.size){const n=Array.from(e);e.clear(),He(n,t)}}var Ve,Fe,Ue=(e,...t)=>Be(e,(e=>e(...t))),We=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),Ge=null,Ye=!1,Qe=Pe,qe=e=>{e.to&&(Fe=e.to),e.now&&(we.now=e.now),void 0!==e.colors&&(Ge=e.colors),null!=e.skipAnimation&&(Ye=e.skipAnimation),e.createStringInterpolator&&(Ve=e.createStringInterpolator),e.requestAnimationFrame&&we.use(e.requestAnimationFrame),e.batchedUpdates&&(we.batchedUpdates=e.batchedUpdates),e.willAdvance&&(Qe=e.willAdvance),e.frameLoop&&(we.frameLoop=e.frameLoop)},$e=new Set,Je=[],Xe=[],Ke=0,et={get idle(){return!$e.size&&!Je.length},start(e){Ke>e.priority?($e.add(e),we.onStart(tt)):(nt(e),we(rt))},advance:rt,sort(e){if(Ke)we.onFrame((()=>et.sort(e)));else{const t=Je.indexOf(e);~t&&(Je.splice(t,1),ot(e))}},clear(){Je=[],$e.clear()}};function tt(){$e.forEach(nt),$e.clear(),we(rt)}function nt(e){Je.includes(e)||ot(e)}function ot(e){Je.splice(function(t,n){const o=t.findIndex((t=>t.priority>e.priority));return o<0?t.length:o}(Je),0,e)}function rt(e){const t=Xe;for(let n=0;n<Je.length;n++){const o=Je[n];Ke=o.priority,o.idle||(Qe(o),o.advance(e),o.idle||t.push(o))}return Ke=0,(Xe=Je).length=0,(Je=t).length>0}var st="[-+]?\\d*\\.?\\d+",it=st+"%";function at(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var ct=new RegExp("rgb"+at(st,st,st)),lt=new RegExp("rgba"+at(st,st,st,st)),dt=new RegExp("hsl"+at(st,it,it)),ut=new RegExp("hsla"+at(st,it,it,st)),mt=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,pt=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ht=/^#([0-9a-fA-F]{6})$/,ft=/^#([0-9a-fA-F]{8})$/;function gt(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function yt(e,t,n){const o=n<.5?n*(1+t):n+t-n*t,r=2*n-o,s=gt(r,o,e+1/3),i=gt(r,o,e),a=gt(r,o,e-1/3);return Math.round(255*s)<<24|Math.round(255*i)<<16|Math.round(255*a)<<8}function wt(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function vt(e){return(parseFloat(e)%360+360)%360/360}function _t(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function bt(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function xt(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=ht.exec(e))?parseInt(t[1]+"ff",16)>>>0:Ge&&void 0!==Ge[e]?Ge[e]:(t=ct.exec(e))?(wt(t[1])<<24|wt(t[2])<<16|wt(t[3])<<8|255)>>>0:(t=lt.exec(e))?(wt(t[1])<<24|wt(t[2])<<16|wt(t[3])<<8|_t(t[4]))>>>0:(t=mt.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=ft.exec(e))?parseInt(t[1],16)>>>0:(t=pt.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=dt.exec(e))?(255|yt(vt(t[1]),bt(t[2]),bt(t[3])))>>>0:(t=ut.exec(e))?(yt(vt(t[1]),bt(t[2]),bt(t[3]))|_t(t[4]))>>>0:null}(e);return null===t?e:(t=t||0,`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`)}var Ct=(e,t,n)=>{if(De.fun(e))return e;if(De.arr(e))return Ct({range:e,output:t,extrapolate:n});if(De.str(e.output[0]))return Ve(e);const o=e,r=o.output,s=o.range||[0,1],i=o.extrapolateLeft||o.extrapolate||"extend",a=o.extrapolateRight||o.extrapolate||"extend",c=o.easing||(e=>e);return e=>{const t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,s);return function(e,t,n,o,r,s,i,a,c){let l=c?c(e):e;if(l<t){if("identity"===i)return l;"clamp"===i&&(l=t)}if(l>n){if("identity"===a)return l;"clamp"===a&&(l=n)}return o===r?o:t===n?e<=t?o:r:(t===-1/0?l=-l:n===1/0?l-=t:l=(l-t)/(n-t),l=s(l),o===-1/0?l=-l:r===1/0?l+=o:l=l*(r-o)+o,l)}(e,s[t],s[t+1],r[t],r[t+1],c,i,a,o.map)}},Et=1.70158,Mt=1.525*Et,jt=Et+1,St=2*Math.PI/3,Nt=2*Math.PI/4.5,kt=e=>{const t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},It={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>0===e?0:Math.pow(2,10*e-10),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>jt*e*e*e-Et*e*e,easeOutBack:e=>1+jt*Math.pow(e-1,3)+Et*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*(7.189819*e-Mt)/2:(Math.pow(2*e-2,2)*((Mt+1)*(2*e-2)+Mt)+2)/2,easeInElastic:e=>0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*St),easeOutElastic:e=>0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*St)+1,easeInOutElastic:e=>0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*Nt)/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*Nt)/2+1,easeInBounce:e=>1-kt(1-e),easeOutBounce:kt,easeInOutBounce:e=>e<.5?(1-kt(1-2*e))/2:(1+kt(2*e-1))/2,steps:(e,t="end")=>n=>{const o=(n="end"===t?Math.min(n,.999):Math.max(n,.001))*e;return 0,1,r=("end"===t?Math.floor(o):Math.ceil(o))/e,Math.min(Math.max(r,0),1);var r}},Tt=Symbol.for("FluidValue.get"),At=Symbol.for("FluidValue.observers"),Lt=e=>Boolean(e&&e[Tt]),Ot=e=>e&&e[Tt]?e[Tt]():e,Pt=e=>e[At]||null;function Dt(e,t){const n=e[At];n&&n.forEach((e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)}))}var Rt=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");Ht(this,e)}},Ht=(e,t)=>Vt(e,Tt,t);function Zt(e,t){if(e[Tt]){let n=e[At];n||Vt(e,At,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function zt(e,t){const n=e[At];if(n&&n.has(t)){const o=n.size-1;o?n.delete(t):e[At]=null,e.observerRemoved&&e.observerRemoved(o,t)}}var Bt,Vt=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),Ft=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Ut=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Wt=new RegExp(`(${Ft.source})(%|[a-z]+)`,"i"),Gt=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,Yt=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,Qt=e=>{const[t,n]=qt(e);if(!t||We())return e;const o=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(o)return o.trim();if(n&&n.startsWith("--")){return window.getComputedStyle(document.documentElement).getPropertyValue(n)||e}return n&&Yt.test(n)?Qt(n):n||e},qt=e=>{const t=Yt.exec(e);if(!t)return[,];const[,n,o]=t;return[n,o]},$t=(e,t,n,o,r)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(o)}, ${r})`,Jt=e=>{Bt||(Bt=Ge?new RegExp(`(${Object.keys(Ge).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map((e=>Ot(e).replace(Yt,Qt).replace(Ut,xt).replace(Bt,xt))),n=t.map((e=>e.match(Ft).map(Number))),o=n[0].map(((e,t)=>n.map((e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})))).map((t=>Ct({...e,output:t})));return e=>{const n=!Wt.test(t[0])&&t.find((e=>Wt.test(e)))?.replace(Ft,"");let r=0;return t[0].replace(Ft,(()=>`${o[r++](e)}${n||""}`)).replace(Gt,$t)}},Xt="react-spring: ",Kt=e=>{const t=e;let n=!1;if("function"!=typeof t)throw new TypeError(`${Xt}once requires a function parameter`);return(...e)=>{n||(t(...e),n=!0)}},en=Kt(console.warn),tn=Kt(console.warn);function nn(e){return De.str(e)&&("#"==e[0]||/\d/.test(e)||!We()&&Yt.test(e)||e in(Ge||{}))}var on=We()?f.useEffect:f.useLayoutEffect,rn=()=>{const e=(0,f.useRef)(!1);return on((()=>(e.current=!0,()=>{e.current=!1})),[]),e};function sn(){const e=(0,f.useState)()[1],t=rn();return()=>{t.current&&e(Math.random())}}var an=e=>(0,f.useEffect)(e,cn),cn=[],ln=Symbol.for("Animated:node"),dn=e=>e&&e[ln],un=(e,t)=>{return n=e,o=ln,r=t,Object.defineProperty(n,o,{value:r,writable:!0,configurable:!0});var n,o,r},mn=e=>e&&e[ln]&&e[ln].getPayload(),pn=class{constructor(){un(this,this)}getPayload(){return this.payload||[]}},hn=class extends pn{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,De.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new hn(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return De.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,De.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},fn=class extends hn{constructor(e){super(0),this._string=null,this._toString=Ct({output:[e,e]})}static create(e){return new fn(e)}getValue(){const e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(De.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=Ct({output:[this.getValue(),e]})),this._value=0,super.reset()}},gn={dependencies:null},yn=class extends pn{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return Ze(this.source,((n,o)=>{var r;(r=n)&&r[ln]===r?t[o]=n.getValue(e):Lt(n)?t[o]=Ot(n):e||(t[o]=n)})),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&He(this.payload,(e=>e.reset()))}_makePayload(e){if(e){const t=new Set;return Ze(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){gn.dependencies&&Lt(e)&&gn.dependencies.add(e);const t=mn(e);t&&He(t,(e=>this.add(e)))}},wn=class extends yn{constructor(e){super(e)}static create(e){return new wn(e)}getValue(){return this.source.map((e=>e.getValue()))}setValue(e){const t=this.getPayload();return e.length==t.length?t.map(((t,n)=>t.setValue(e[n]))).some(Boolean):(super.setValue(e.map(vn)),!0)}};function vn(e){return(nn(e)?fn:hn).create(e)}function _n(e){const t=dn(e);return t?t.constructor:De.arr(e)?wn:nn(e)?fn:hn}var bn=(e,t)=>{const n=!De.fun(e)||e.prototype&&e.prototype.isReactComponent;return(0,f.forwardRef)(((o,r)=>{const s=(0,f.useRef)(null),i=n&&(0,f.useCallback)((e=>{s.current=function(e,t){return e&&(De.fun(e)?e(t):e.current=t),t}(r,e)}),[r]),[a,c]=function(e,t){const n=new Set;return gn.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)}),e=new yn(e),gn.dependencies=null,[e,n]}(o,t),l=sn(),d=()=>{const e=s.current;n&&!e||!1===(!!e&&t.applyAnimatedValues(e,a.getValue(!0)))&&l()},u=new xn(d,c),m=(0,f.useRef)();on((()=>(m.current=u,He(c,(e=>Zt(e,u))),()=>{m.current&&(He(m.current.deps,(e=>zt(e,m.current))),we.cancel(m.current.update))}))),(0,f.useEffect)(d,[]),an((()=>()=>{const e=m.current;He(e.deps,(t=>zt(t,e)))}));const p=t.getComponentProps(a.getValue());return f.createElement(e,{...p,ref:i})}))},xn=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&we.write(this.update)}},Cn=Symbol.for("AnimatedComponent"),En=e=>De.str(e)?e:e&&De.str(e.displayName)?e.displayName:De.fun(e)&&e.name||null;function Mn(e,...t){return De.fun(e)?e(...t):e}var jn=(e,t)=>!0===e||!!(t&&e&&(De.fun(e)?e(t):ze(e).includes(t))),Sn=(e,t)=>De.obj(e)?t&&e[t]:e,Nn=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,kn=e=>e,In=(e,t=kn)=>{let n=Tn;e.default&&!0!==e.default&&(e=e.default,n=Object.keys(e));const o={};for(const r of n){const n=t(e[r],r);De.und(n)||(o[r]=n)}return o},Tn=["config","onProps","onStart","onChange","onPause","onResume","onRest"],An={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function Ln(e){const t=function(e){const t={};let n=0;if(Ze(e,((e,o)=>{An[o]||(t[o]=e,n++)})),n)return t}(e);if(t){const n={to:t};return Ze(e,((e,o)=>o in t||(n[o]=e))),n}return{...e}}function On(e){return e=Ot(e),De.arr(e)?e.map(On):nn(e)?ge.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function Pn(e){return De.fun(e)||De.arr(e)&&De.obj(e[0])}function Dn(e,t){e.ref?.delete(e),t?.delete(e)}var Rn={tension:170,friction:26,mass:1,damping:1,easing:It.linear,clamp:!1},Hn=class{constructor(){this.velocity=0,Object.assign(this,Rn)}};function Zn(e,t){if(De.und(t.decay)){const n=!De.und(t.tension)||!De.und(t.friction);!n&&De.und(t.frequency)&&De.und(t.damping)&&De.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}var zn=[],Bn=class{constructor(){this.changed=!1,this.values=zn,this.toValues=null,this.fromValues=zn,this.config=new Hn,this.immediate=!1}};function Vn(e,{key:t,props:n,defaultProps:o,state:r,actions:s}){return new Promise(((i,a)=>{let c,l,d=jn(n.cancel??o?.cancel,t);if(d)p();else{De.und(n.pause)||(r.paused=jn(n.pause,t));let e=o?.pause;!0!==e&&(e=r.paused||jn(e,t)),c=Mn(n.delay||0,t),e?(r.resumeQueue.add(m),s.pause()):(s.resume(),m())}function u(){r.resumeQueue.add(m),r.timeouts.delete(l),l.cancel(),c=l.time-we.now()}function m(){c>0&&!ge.skipAnimation?(r.delayed=!0,l=we.setTimeout(p,c),r.pauseQueue.add(u),r.timeouts.add(l)):p()}function p(){r.delayed&&(r.delayed=!1),r.pauseQueue.delete(u),r.timeouts.delete(l),e<=(r.cancelId||0)&&(d=!0);try{s.start({...n,callId:e,cancel:d},i)}catch(e){a(e)}}}))}var Fn=(e,t)=>1==t.length?t[0]:t.some((e=>e.cancelled))?Gn(e.get()):t.every((e=>e.noop))?Un(e.get()):Wn(e.get(),t.every((e=>e.finished))),Un=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),Wn=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),Gn=e=>({value:e,cancelled:!0,finished:!1});function Yn(e,t,n,o){const{callId:r,parentId:s,onRest:i}=t,{asyncTo:a,promise:c}=n;return s||e!==a||t.reset?n.promise=(async()=>{n.asyncId=r,n.asyncTo=e;const l=In(t,((e,t)=>"onRest"===t?void 0:e));let d,u;const m=new Promise(((e,t)=>(d=e,u=t))),p=e=>{const t=r<=(n.cancelId||0)&&Gn(o)||r!==n.asyncId&&Wn(o,!1);if(t)throw e.result=t,u(e),e},h=(e,t)=>{const s=new qn,i=new $n;return(async()=>{if(ge.skipAnimation)throw Qn(n),i.result=Wn(o,!1),u(i),i;p(s);const a=De.obj(e)?{...e}:{...t,to:e};a.parentId=r,Ze(l,((e,t)=>{De.und(a[t])&&(a[t]=e)}));const c=await o.start(a);return p(s),n.paused&&await new Promise((e=>{n.resumeQueue.add(e)})),c})()};let f;if(ge.skipAnimation)return Qn(n),Wn(o,!1);try{let t;t=De.arr(e)?(async e=>{for(const t of e)await h(t)})(e):Promise.resolve(e(h,o.stop.bind(o))),await Promise.all([t.then(d),m]),f=Wn(o.get(),!0,!1)}catch(e){if(e instanceof qn)f=e.result;else{if(!(e instanceof $n))throw e;f=e.result}}finally{r==n.asyncId&&(n.asyncId=s,n.asyncTo=s?a:void 0,n.promise=s?c:void 0)}return De.fun(i)&&we.batchedUpdates((()=>{i(f,o,o.item)})),f})():c}function Qn(e,t){Be(e.timeouts,(e=>e.cancel())),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var qn=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},$n=class extends Error{constructor(){super("SkipAnimationSignal")}},Jn=e=>e instanceof Kn,Xn=1,Kn=class extends Rt{constructor(){super(...arguments),this.id=Xn++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=dn(this);return e&&e.getValue()}to(...e){return ge.to(this,e)}interpolate(...e){return en(`${Xt}The "interpolate" function is deprecated in v9 (use "to" instead)`),ge.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){Dt(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||et.sort(this),Dt(this,{type:"priority",parent:this,priority:e})}},eo=Symbol.for("SpringPhase"),to=e=>(1&e[eo])>0,no=e=>(2&e[eo])>0,oo=e=>(4&e[eo])>0,ro=(e,t)=>t?e[eo]|=3:e[eo]&=-3,so=(e,t)=>t?e[eo]|=4:e[eo]&=-5,io=class extends Kn{constructor(e,t){if(super(),this.animation=new Bn,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!De.und(e)||!De.und(t)){const n=De.obj(e)?{...e}:{...t,from:e};De.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(no(this)||this._state.asyncTo)||oo(this)}get goal(){return Ot(this.animation.to)}get velocity(){const e=dn(this);return e instanceof hn?e.lastVelocity||0:e.getPayload().map((e=>e.lastVelocity||0))}get hasAnimated(){return to(this)}get isAnimating(){return no(this)}get isPaused(){return oo(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1;const o=this.animation;let{toValues:r}=o;const{config:s}=o,i=mn(o.to);!i&&Lt(o.to)&&(r=ze(Ot(o.to))),o.values.forEach(((a,c)=>{if(a.done)return;const l=a.constructor==fn?1:i?i[c].lastPosition:r[c];let d=o.immediate,u=l;if(!d){if(u=a.lastPosition,s.tension<=0)return void(a.done=!0);let t=a.elapsedTime+=e;const n=o.fromValues[c],r=null!=a.v0?a.v0:a.v0=De.arr(s.velocity)?s.velocity[c]:s.velocity;let i;const m=s.precision||(n==l?.005:Math.min(1,.001*Math.abs(l-n)));if(De.und(s.duration))if(s.decay){const e=!0===s.decay?.998:s.decay,o=Math.exp(-(1-e)*t);u=n+r/(1-e)*(1-o),d=Math.abs(a.lastPosition-u)<=m,i=r*o}else{i=null==a.lastVelocity?r:a.lastVelocity;const t=s.restVelocity||m/10,o=s.clamp?0:s.bounce,c=!De.und(o),p=n==l?a.v0>0:n<l;let h,f=!1;const g=1,y=Math.ceil(e/g);for(let e=0;e<y&&(h=Math.abs(i)>t,h||(d=Math.abs(l-u)<=m,!d));++e)c&&(f=u==l||u>l==p,f&&(i=-i*o,u=l)),i+=(1e-6*-s.tension*(u-l)+.001*-s.friction*i)/s.mass*g,u+=i*g}else{let o=1;s.duration>0&&(this._memoizedDuration!==s.duration&&(this._memoizedDuration=s.duration,a.durationProgress>0&&(a.elapsedTime=s.duration*a.durationProgress,t=a.elapsedTime+=e)),o=(s.progress||0)+t/this._memoizedDuration,o=o>1?1:o<0?0:o,a.durationProgress=o),u=n+s.easing(o)*(l-n),i=(u-a.lastPosition)/e,d=1==o}a.lastVelocity=i,Number.isNaN(u)&&(console.warn("Got NaN while animating:",this),d=!0)}i&&!i[c].done&&(d=!1),d?a.done=!0:t=!1,a.setValue(u,s.round)&&(n=!0)}));const a=dn(this),c=a.getValue();if(t){const e=Ot(o.to);c===e&&!n||s.decay?n&&s.decay&&this._onChange(c):(a.setValue(e),this._onChange(e)),this._stop()}else n&&this._onChange(c)}set(e){return we.batchedUpdates((()=>{this._stop(),this._focus(e),this._set(e)})),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(no(this)){const{to:e,config:t}=this.animation;we.batchedUpdates((()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()}))}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return De.und(e)?(n=this.queue||[],this.queue=[]):n=[De.obj(e)?e:{...t,to:e}],Promise.all(n.map((e=>this._update(e)))).then((e=>Fn(this,e)))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),Qn(this._state,e&&this._lastCallId),we.batchedUpdates((()=>this._stop(t,e))),this}reset(){this._update({reset:!0})}eventObserved(e){"change"==e.type?this._start():"priority"==e.type&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||"";let{to:n,from:o}=e;n=De.obj(n)?n[t]:n,(null==n||Pn(n))&&(n=void 0),o=De.obj(o)?o[t]:o,null==o&&(o=void 0);const r={to:n,from:o};return to(this)||(e.reverse&&([n,o]=[o,n]),o=Ot(o),De.und(o)?dn(this)||this._set(n):this._set(o)),r}_update({...e},t){const{key:n,defaultProps:o}=this;e.default&&Object.assign(o,In(e,((e,t)=>/^on/.test(t)?Sn(e,n):e))),po(this,e,"onProps"),ho(this,"onProps",e,this);const r=this._prepareNode(e);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const s=this._state;return Vn(++this._lastCallId,{key:n,props:e,defaultProps:o,state:s,actions:{pause:()=>{oo(this)||(so(this,!0),Ue(s.pauseQueue),ho(this,"onPause",Wn(this,ao(this,this.animation.to)),this))},resume:()=>{oo(this)&&(so(this,!1),no(this)&&this._resume(),Ue(s.resumeQueue),ho(this,"onResume",Wn(this,ao(this,this.animation.to)),this))},start:this._merge.bind(this,r)}}).then((n=>{if(e.loop&&n.finished&&(!t||!n.noop)){const t=co(e);if(t)return this._update(t,!0)}return n}))}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(Gn(this));const o=!De.und(e.to),r=!De.und(e.from);if(o||r){if(!(t.callId>this._lastToId))return n(Gn(this));this._lastToId=t.callId}const{key:s,defaultProps:i,animation:a}=this,{to:c,from:l}=a;let{to:d=c,from:u=l}=e;!r||o||t.default&&!De.und(d)||(d=u),t.reverse&&([d,u]=[u,d]);const m=!Re(u,l);m&&(a.from=u),u=Ot(u);const p=!Re(d,c);p&&this._focus(d);const h=Pn(t.to),{config:f}=a,{decay:g,velocity:y}=f;(o||r)&&(f.velocity=0),t.config&&!h&&function(e,t,n){n&&(Zn(n={...n},t),t={...n,...t}),Zn(e,t),Object.assign(e,t);for(const t in Rn)null==e[t]&&(e[t]=Rn[t]);let{frequency:o,damping:r}=e;const{mass:s}=e;De.und(o)||(o<.01&&(o=.01),r<0&&(r=0),e.tension=Math.pow(2*Math.PI/o,2)*s,e.friction=4*Math.PI*r*s/o)}(f,Mn(t.config,s),t.config!==i.config?Mn(i.config,s):void 0);let w=dn(this);if(!w||De.und(d))return n(Wn(this,!0));const v=De.und(t.reset)?r&&!t.default:!De.und(u)&&jn(t.reset,s),_=v?u:this.get(),b=On(d),x=De.num(b)||De.arr(b)||nn(b),C=!h&&(!x||jn(i.immediate||t.immediate,s));if(p){const e=_n(d);if(e!==w.constructor){if(!C)throw Error(`Cannot animate between ${w.constructor.name} and ${e.name}, as the "to" prop suggests`);w=this._set(b)}}const E=w.constructor;let M=Lt(d),j=!1;if(!M){const e=v||!to(this)&&m;(p||e)&&(j=Re(On(_),b),M=!j),(Re(a.immediate,C)||C)&&Re(f.decay,g)&&Re(f.velocity,y)||(M=!0)}if(j&&no(this)&&(a.changed&&!v?M=!0:M||this._stop(c)),!h&&((M||Lt(c))&&(a.values=w.getPayload(),a.toValues=Lt(d)?null:E==fn?[1]:ze(b)),a.immediate!=C&&(a.immediate=C,C||v||this._set(c)),M)){const{onRest:e}=a;He(mo,(e=>po(this,t,e)));const o=Wn(this,ao(this,c));Ue(this._pendingCalls,o),this._pendingCalls.add(n),a.changed&&we.batchedUpdates((()=>{a.changed=!v,e?.(o,this),v?Mn(i.onRest,o):a.onStart?.(o,this)}))}v&&this._set(_),h?n(Yn(t.to,t,this._state,this)):M?this._start():no(this)&&!p?this._pendingCalls.add(n):n(Un(_))}_focus(e){const t=this.animation;e!==t.to&&(Pt(this)&&this._detach(),t.to=e,Pt(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;Lt(t)&&(Zt(t,this),Jn(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;Lt(e)&&zt(e,this)}_set(e,t=!0){const n=Ot(e);if(!De.und(n)){const e=dn(this);if(!e||!Re(n,e.getValue())){const o=_n(n);e&&e.constructor==o?e.setValue(n):un(this,o.create(n)),e&&we.batchedUpdates((()=>{this._onChange(n,t)}))}}return dn(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,ho(this,"onStart",Wn(this,ao(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),Mn(this.animation.onChange,e,this)),Mn(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;dn(this).reset(Ot(e.to)),e.immediate||(e.fromValues=e.values.map((e=>e.lastPosition))),no(this)||(ro(this,!0),oo(this)||this._resume())}_resume(){ge.skipAnimation?this.finish():et.start(this)}_stop(e,t){if(no(this)){ro(this,!1);const n=this.animation;He(n.values,(e=>{e.done=!0})),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),Dt(this,{type:"idle",parent:this});const o=t?Gn(this.get()):Wn(this.get(),ao(this,e??n.to));Ue(this._pendingCalls,o),n.changed&&(n.changed=!1,ho(this,"onRest",o,this))}}};function ao(e,t){const n=On(t);return Re(On(e.get()),n)}function co(e,t=e.loop,n=e.to){const o=Mn(t);if(o){const r=!0!==o&&Ln(o),s=(r||e).reverse,i=!r||r.reset;return lo({...e,loop:t,default:!1,pause:void 0,to:!s||Pn(n)?n:void 0,from:i?e.from:void 0,reset:i,...r})}}function lo(e){const{to:t,from:n}=e=Ln(e),o=new Set;return De.obj(t)&&uo(t,o),De.obj(n)&&uo(n,o),e.keys=o.size?Array.from(o):null,e}function uo(e,t){Ze(e,((e,n)=>null!=e&&t.add(n)))}var mo=["onStart","onRest","onChange","onPause","onResume"];function po(e,t,n){e.animation[n]=t[n]!==Nn(t,n)?Sn(t[n],e.key):void 0}function ho(e,t,...n){e.animation[t]?.(...n),e.defaultProps[t]?.(...n)}var fo=["onStart","onChange","onRest"],go=1,yo=class{constructor(e,t){this.id=go++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start({default:!0,...e})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every((e=>e.idle&&!e.isDelayed&&!e.isPaused))}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each(((t,n)=>e[n]=t.get())),e}set(e){for(const t in e){const n=e[t];De.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(lo(e)),this}start(e){let{queue:t}=this;return e?t=ze(e).map(lo):this.queue=[],this._flush?this._flush(this,t):(xo(this,t),function(e,t){return Promise.all(t.map((t=>wo(e,t)))).then((t=>Fn(e,t)))}(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;He(ze(t),(t=>n[t].stop(!!e)))}else Qn(this._state,this._lastAsyncId),this.each((t=>t.stop(!!e)));return this}pause(e){if(De.und(e))this.start({pause:!0});else{const t=this.springs;He(ze(e),(e=>t[e].pause()))}return this}resume(e){if(De.und(e))this.start({pause:!1});else{const t=this.springs;He(ze(e),(e=>t[e].resume()))}return this}each(e){Ze(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:n}=this._events,o=this._active.size>0,r=this._changed.size>0;(o&&!this._started||r&&!this._started)&&(this._started=!0,Be(e,(([e,t])=>{t.value=this.get(),e(t,this,this._item)})));const s=!o&&this._started,i=r||s&&n.size?this.get():null;r&&t.size&&Be(t,(([e,t])=>{t.value=i,e(t,this,this._item)})),s&&(this._started=!1,Be(n,(([e,t])=>{t.value=i,e(t,this,this._item)})))}eventObserved(e){if("change"==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if("idle"!=e.type)return;this._active.delete(e.parent)}we.onFrame(this._onFrame)}};async function wo(e,t,n){const{keys:o,to:r,from:s,loop:i,onRest:a,onResolve:c}=t,l=De.obj(t.default)&&t.default;i&&(t.loop=!1),!1===r&&(t.to=null),!1===s&&(t.from=null);const d=De.arr(r)||De.fun(r)?r:void 0;d?(t.to=void 0,t.onRest=void 0,l&&(l.onRest=void 0)):He(fo,(n=>{const o=t[n];if(De.fun(o)){const r=e._events[n];t[n]=({finished:e,cancelled:t})=>{const n=r.get(o);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):r.set(o,{value:null,finished:e||!1,cancelled:t||!1})},l&&(l[n]=t[n])}}));const u=e._state;t.pause===!u.paused?(u.paused=t.pause,Ue(t.pause?u.pauseQueue:u.resumeQueue)):u.paused&&(t.pause=!0);const m=(o||Object.keys(e.springs)).map((n=>e.springs[n].start(t))),p=!0===t.cancel||!0===Nn(t,"cancel");(d||p&&u.asyncId)&&m.push(Vn(++e._lastAsyncId,{props:t,state:u,actions:{pause:Pe,resume:Pe,start(t,n){p?(Qn(u,e._lastAsyncId),n(Gn(e))):(t.onRest=a,n(Yn(d,t,u,e)))}}})),u.paused&&await new Promise((e=>{u.resumeQueue.add(e)}));const h=Fn(e,await Promise.all(m));if(i&&h.finished&&(!n||!h.noop)){const n=co(t,i,r);if(n)return xo(e,[n]),wo(e,n,!0)}return c&&we.batchedUpdates((()=>c(h,e,e.item))),h}function vo(e,t){const n={...e.springs};return t&&He(ze(t),(e=>{De.und(e.keys)&&(e=lo(e)),De.obj(e.to)||(e={...e,to:void 0}),bo(n,e,(e=>_o(e)))})),function(e,t){Ze(t,((t,n)=>{e.springs[n]||(e.springs[n]=t,Zt(t,e))}))}(e,n),n}function _o(e,t){const n=new io;return n.key=e,t&&Zt(n,t),n}function bo(e,t,n){t.keys&&He(t.keys,(o=>{(e[o]||(e[o]=n(o)))._prepareNode(t)}))}function xo(e,t){He(t,(t=>{bo(e.springs,t,(t=>_o(t,e)))}))}var Co,Eo,Mo=({children:e,...t})=>{const n=(0,f.useContext)(jo),o=t.pause||!!n.pause,r=t.immediate||!!n.immediate;t=function(e,t){const[n]=(0,f.useState)((()=>({inputs:t,result:e()}))),o=(0,f.useRef)(),r=o.current;let s=r;return s?Boolean(t&&s.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,s.inputs))||(s={inputs:t,result:e()}):s=n,(0,f.useEffect)((()=>{o.current=s,r==n&&(n.inputs=n.result=void 0)}),[s]),s.result}((()=>({pause:o,immediate:r})),[o,r]);const{Provider:s}=jo;return f.createElement(s,{value:t},e)},jo=(Co=Mo,Eo={},Object.assign(Co,f.createContext(Eo)),Co.Provider._context=Co,Co.Consumer._context=Co,Co);Mo.Provider=jo.Provider,Mo.Consumer=jo.Consumer;var So=()=>{const e=[],t=function(t){tn(`${Xt}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`);const o=[];return He(e,((e,r)=>{if(De.und(t))o.push(e.start());else{const s=n(t,e,r);s&&o.push(e.start(s))}})),o};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){const n=e.indexOf(t);~n&&e.splice(n,1)},t.pause=function(){return He(e,(e=>e.pause(...arguments))),this},t.resume=function(){return He(e,(e=>e.resume(...arguments))),this},t.set=function(t){He(e,((e,n)=>{const o=De.fun(t)?t(n,e):t;o&&e.set(o)}))},t.start=function(t){const n=[];return He(e,((e,o)=>{if(De.und(t))n.push(e.start());else{const r=this._getProps(t,e,o);r&&n.push(e.start(r))}})),n},t.stop=function(){return He(e,(e=>e.stop(...arguments))),this},t.update=function(t){return He(e,((e,n)=>e.update(this._getProps(t,e,n)))),this};const n=function(e,t,n){return De.fun(e)?e(n,t):e};return t._getProps=n,t};var No=1,ko=class extends Kn{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=Ct(...t);const n=this._get(),o=_n(n);un(this,o.create(n))}advance(e){const t=this._get();Re(t,this.get())||(dn(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&To(this._active)&&Ao(this)}_get(){const e=De.arr(this.source)?this.source.map(Ot):ze(Ot(this.source));return this.calc(...e)}_start(){this.idle&&!To(this._active)&&(this.idle=!1,He(mn(this),(e=>{e.done=!1})),ge.skipAnimation?(we.batchedUpdates((()=>this.advance())),Ao(this)):et.start(this))}_attach(){let e=1;He(ze(this.source),(t=>{Lt(t)&&Zt(t,this),Jn(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))})),this.priority=e,this._start()}_detach(){He(ze(this.source),(e=>{Lt(e)&&zt(e,this)})),this._active.clear(),Ao(this)}eventObserved(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=ze(this.source).reduce(((e,t)=>Math.max(e,(Jn(t)?t.priority:0)+1)),0))}};function Io(e){return!1!==e.idle}function To(e){return!e.size||Array.from(e).every(Io)}function Ao(e){e.idle||(e.idle=!0,He(mn(e),(e=>{e.done=!0})),Dt(e,{type:"idle",parent:e}))}ge.assign({createStringInterpolator:Jt,to:(e,t)=>new ko(e,t)}),et.advance;var Lo=i(91850),Oo=/^--/;function Po(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||Oo.test(e)||Ro.hasOwnProperty(e)&&Ro[e]?(""+t).trim():t+"px"}var Do={},Ro={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ho=["Webkit","Ms","Moz","O"];Ro=Object.keys(Ro).reduce(((e,t)=>(Ho.forEach((n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t])),e)),Ro);var Zo=/^(matrix|translate|scale|rotate|skew)/,zo=/^(translate)/,Bo=/^(rotate|skew)/,Vo=(e,t)=>De.num(e)&&0!==e?e+t:e,Fo=(e,t)=>De.arr(e)?e.every((e=>Fo(e,t))):De.num(e)?e===t:parseFloat(e)===t,Uo=class extends yn{constructor({x:e,y:t,z:n,...o}){const r=[],s=[];(e||t||n)&&(r.push([e||0,t||0,n||0]),s.push((e=>[`translate3d(${e.map((e=>Vo(e,"px"))).join(",")})`,Fo(e,0)]))),Ze(o,((e,t)=>{if("transform"===t)r.push([e||""]),s.push((e=>[e,""===e]));else if(Zo.test(t)){if(delete o[t],De.und(e))return;const n=zo.test(t)?"px":Bo.test(t)?"deg":"";r.push(ze(e)),s.push("rotate3d"===t?([e,t,o,r])=>[`rotate3d(${e},${t},${o},${Vo(r,n)})`,Fo(r,0)]:e=>[`${t}(${e.map((e=>Vo(e,n))).join(",")})`,Fo(e,t.startsWith("scale")?1:0)])}})),r.length&&(o.transform=new Wo(r,s)),super(o)}},Wo=class extends Rt{constructor(e,t){super(),this.inputs=e,this.transforms=t,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return He(this.inputs,((n,o)=>{const r=Ot(n[0]),[s,i]=this.transforms[o](De.arr(r)?r:n.map(Ot));e+=" "+s,t=t&&i})),t?"none":e}observerAdded(e){1==e&&He(this.inputs,(e=>He(e,(e=>Lt(e)&&Zt(e,this)))))}observerRemoved(e){0==e&&He(this.inputs,(e=>He(e,(e=>Lt(e)&&zt(e,this)))))}eventObserved(e){"change"==e.type&&(this._value=null),Dt(this,e)}};ge.assign({batchedUpdates:Lo.unstable_batchedUpdates,createStringInterpolator:Jt,colors:{transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}});var Go=((e,{applyAnimatedValues:t=(()=>!1),createAnimatedStyle:n=(e=>new yn(e)),getComponentProps:o=(e=>e)}={})=>{const r={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:o},s=e=>{const t=En(e)||"Anonymous";return(e=De.str(e)?s[e]||(s[e]=bn(e,r)):e[Cn]||(e[Cn]=bn(e,r))).displayName=`Animated(${t})`,e};return Ze(e,((t,n)=>{De.arr(e)&&(n=En(t)),s[n]=s(t)})),{animated:s}})(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,{style:o,children:r,scrollTop:s,scrollLeft:i,viewBox:a,...c}=t,l=Object.values(c),d=Object.keys(c).map((t=>n||e.hasAttribute(t)?t:Do[t]||(Do[t]=t.replace(/([A-Z])/g,(e=>"-"+e.toLowerCase())))));void 0!==r&&(e.textContent=r);for(const t in o)if(o.hasOwnProperty(t)){const n=Po(t,o[t]);Oo.test(t)?e.style.setProperty(t,n):e.style[t]=n}d.forEach(((t,n)=>{e.setAttribute(t,l[n])})),void 0!==s&&(e.scrollTop=s),void 0!==i&&(e.scrollLeft=i),void 0!==a&&e.setAttribute("viewBox",a)},createAnimatedStyle:e=>new Uo(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),Yo=Go.animated,Qo=i(25158);const qo=window.wp.warning;var $o=i.n(qo);const Jo=(0,t.forwardRef)((function({className:e,children:n,spokenMessage:o=n,politeness:r="polite",actions:s=[],onRemove:i=w.noop,icon:a=null,explicitDismiss:c=!1,onDismiss:l=null,__unstableHTML:u=!1},m){function p(e){e&&e.preventDefault&&e.preventDefault(),l(),i()}l=l||w.noop,function(e,n){const o="string"==typeof e?e:(0,t.renderToString)(e);(0,t.useEffect)((()=>{o&&(0,Qo.speak)(o,n)}),[o,n])}(o,r),(0,t.useEffect)((()=>{const e=setTimeout((()=>{c||(l(),i())}),1e4);return()=>clearTimeout(e)}),[c,l,i]);const h=(0,Y.Z)(e,"components-snackbar",{"components-snackbar-explicit-dismiss":!!c});s&&s.length>1&&(!0===globalThis.SCRIPT_DEBUG&&$o()("Snackbar can only have 1 action, use Notice if your message require many messages"),s=[s[0]]);const f=(0,Y.Z)("components-snackbar__content",{"components-snackbar__content-with-icon":!!a});return!0===u&&(n=(0,T.jsx)(t.RawHTML,{children:n})),(0,T.jsx)("div",{ref:m,className:h,onClick:c?w.noop:p,tabIndex:"0",role:c?"":"button",onKeyPress:c?w.noop:p,"aria-label":c?"":(0,M.__)("Dismiss this notice","woocommerce"),children:(0,T.jsxs)("div",{className:f,children:[a&&(0,T.jsx)("div",{className:"components-snackbar__icon",children:a}),n,s.map((({label:e,onClick:t,url:n},o)=>(0,T.jsx)(d.Button,{href:n,isTertiary:!0,onClick:e=>function(e,t){e.stopPropagation(),i(),t&&t(e)}(e,t),className:"components-snackbar__action",children:e},o))),c&&(0,T.jsx)("span",{role:"button","aria-label":"Dismiss this notice",tabIndex:"0",className:"components-snackbar__dismiss-button",onClick:p,onKeyPress:p,children:"✕"})]})})})),Xo=function({notices:e,className:n,children:o,onRemove:r=w.noop,onRemove2:s=w.noop}){const i=(0,u.useReducedMotion)(),[a]=(0,t.useState)((()=>new WeakMap)),c=function(e,t,n){const o=De.fun(t)&&t,{reset:r,sort:s,trail:i=0,expires:a=!0,exitBeforeEnter:c=!1,onDestroyed:l,ref:d,config:u}=o?o():t,m=(0,f.useMemo)((()=>o||3==arguments.length?So():void 0),[]),p=ze(e),h=[],g=(0,f.useRef)(null),y=r?null:g.current;on((()=>{g.current=h})),an((()=>(He(h,(e=>{m?.add(e.ctrl),e.ctrl.ref=m})),()=>{He(g.current,(e=>{e.expired&&clearTimeout(e.expirationId),Dn(e.ctrl,m),e.ctrl.stop(!0)}))})));const w=function(e,{key:t,keys:n=t},o){if(null===n){const t=new Set;return e.map((e=>{const n=o&&o.find((n=>n.item===e&&"leave"!==n.phase&&!t.has(n)));return n?(t.add(n),n.key):No++}))}return De.und(n)?e:De.fun(n)?e.map(n):ze(n)}(p,o?o():t,y),v=r&&g.current||[];on((()=>He(v,(({ctrl:e,item:t,key:n})=>{Dn(e,m),Mn(l,t,n)}))));const _=[];if(y&&He(y,((e,t)=>{e.expired?(clearTimeout(e.expirationId),v.push(e)):~(t=_[t]=w.indexOf(e.key))&&(h[t]=e)})),He(p,((e,t)=>{h[t]||(h[t]={key:w[t],item:e,phase:"mount",ctrl:new yo},h[t].ctrl.item=e)})),_.length){let e=-1;const{leave:n}=o?o():t;He(_,((t,o)=>{const r=y[o];~t?(e=h.indexOf(r),h[e]={...r,item:p[t]}):n&&h.splice(++e,0,r)}))}De.fun(s)&&h.sort(((e,t)=>s(e.item,t.item)));let b=-i;const x=sn(),C=In(t),E=new Map,M=(0,f.useRef)(new Map),j=(0,f.useRef)(!1);He(h,((e,n)=>{const r=e.key,s=e.phase,l=o?o():t;let m,p;const h=Mn(l.delay||0,r);if("mount"==s)m=l.enter,p="enter";else{const e=w.indexOf(r)<0;if("leave"!=s)if(e)m=l.leave,p="leave";else{if(!(m=l.update))return;p="update"}else{if(e)return;m=l.enter,p="enter"}}if(m=Mn(m,e.item,n),m=De.obj(m)?Ln(m):{to:m},!m.config){const t=u||C.config;m.config=Mn(t,e.item,n,p)}b+=i;const f={...C,delay:h+b,ref:d,immediate:l.immediate,reset:!1,...m};if("enter"==p&&De.und(f.from)){const r=o?o():t,s=De.und(r.initial)||y?r.from:r.initial;f.from=Mn(s,e.item,n)}const{onResolve:v}=f;f.onResolve=e=>{Mn(v,e);const t=g.current,n=t.find((e=>e.key===r));if(n&&(!e.cancelled||"update"==n.phase)&&n.ctrl.idle){const e=t.every((e=>e.ctrl.idle));if("leave"==n.phase){const t=Mn(a,n.item);if(!1!==t){const o=!0===t?0:t;if(n.expired=!0,!e&&o>0)return void(o<=2147483647&&(n.expirationId=setTimeout(x,o)))}}e&&t.some((e=>e.expired))&&(M.current.delete(n),c&&(j.current=!0),x())}};const _=vo(e.ctrl,f);"leave"===p&&c?M.current.set(e,{phase:p,springs:_,payload:f}):E.set(e,{phase:p,springs:_,payload:f})}));const S=(0,f.useContext)(Mo),N=function(e){const t=(0,f.useRef)();return(0,f.useEffect)((()=>{t.current=e})),t.current}(S),k=S!==N&&function(e){for(const t in e)return!0;return!1}(S);on((()=>{k&&He(h,(e=>{e.ctrl.start({default:S})}))}),[S]),He(E,((e,t)=>{if(M.current.size){const e=h.findIndex((e=>e.key===t.key));h.splice(e,1)}})),on((()=>{He(M.current.size?M.current:E,(({phase:e,payload:t},n)=>{const{ctrl:o}=n;n.phase=e,m?.add(o),k&&"enter"==e&&o.start({default:S}),t&&(function(e,t){t&&e.ref!==t&&(e.ref?.delete(e),t.add(e),e.ref=t)}(o,t.ref),!o.ref&&!m||j.current?(o.start(t),j.current&&(j.current=!1)):o.update(t))}))}),r?void 0:n);const I=e=>f.createElement(f.Fragment,null,h.map(((t,n)=>{const{springs:o}=E.get(t)||t.ctrl,r=e({...o},t.item,t,n);return r&&r.type?f.createElement(r.type,{...r.props,key:De.str(t.key)||De.num(t.key)?t.key:t.ctrl.id,ref:r.ref}):r})));return m?[I,m]:I}(e,{keys:e=>e.id,from:{opacity:0,height:0},enter:e=>async t=>await t({opacity:1,height:a.get(e).offsetHeight}),leave:()=>async e=>{await e({opacity:0}),await e({height:0})},immediate:i});n=(0,Y.Z)("components-snackbar-list",n);const l=e=>()=>{r(e.id),s(e.id)};return(0,T.jsxs)("div",{className:n,children:[o,c(((e,t)=>(0,T.jsx)(Yo.div,{style:e,children:(0,T.jsx)("div",{className:"components-snackbar-list__notice-container",ref:e=>e&&a.set(t,e),children:(0,T.jsx)(Jo,{...(0,w.omit)(t,["content"]),onRemove:l(t),children:t.content})})})))]})},Ko="woocommerce_admin_transient_notices_queue",er="woocommerce_admin_queued_notice_filter";function tr(e){const{removeNotice:n}=(0,m.useDispatch)("core/notices"),{createNotice:r,removeNotice:s}=(0,m.useDispatch)("core/notices2"),{updateOptions:i}=(0,m.useDispatch)(o.OPTIONS_STORE_NAME),{currentUser:a={},notices:c=[],notices2:l=[],noticesQueue:d={}}=(0,m.useSelect)((e=>({currentUser:e(o.USER_STORE_NAME).getCurrentUser(),notices:e("core/notices").getNotices(),notices2:e("core/notices2").getNotices(),noticesQueue:e(o.OPTIONS_STORE_NAME).getOption(Ko)})));(0,t.useEffect)((()=>{Object.values(d).filter((e=>e.user_id===a.id||!e.user_id)).forEach((e=>{const t=(0,E.applyFilters)(er,e);r(t.status,t.content,{onDismiss:()=>{(e=>{const t={...d};delete t[e],i({[Ko]:t})})(t.id)},...t.options||{}})}))}),[]);const{className:u}=e,p=(0,Y.Z)("woocommerce-transient-notices","components-notices__snackbar",u),h=c.concat(l);return(0,T.jsx)(x.WooFooterItem,{children:(0,T.jsx)(Xo,{notices:h,className:p,onRemove:n,onRemove2:s})})}tr.propTypes={className:y().string,notices:y().array};var nr=i(59550),or=i(82211),rr=i(85800);const sr=()=>(0,T.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,T.jsx)("mask",{id:"mask0_2915:6733",maskUnits:"userSpaceOnUse",x:"4",y:"3",width:"16",height:"18",children:(0,T.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 3.5H13.5L13.9 5.5H19.5V15.5H12.5L12.1 13.5H6.5V20.5H4.5V3.5ZM12.26 7.5L11.86 5.5H6.5V11.5H13.74L14.14 13.5H17.5V7.5H12.26Z",fill:"white"})}),(0,T.jsx)("g",{mask:"url(#mask0_2915:6733)",children:(0,T.jsx)("rect",{width:"24",height:"24",fill:"#50575E"})})]});var ir=i(73909);const ar={page:1,per_page:o.QUERY_DEFAULTS.pageSize,status:"unactioned",type:o.QUERY_DEFAULTS.noteTypes,orderby:"date",order:"desc"};function cr(e){const{getNotes:t,getNotesError:n,isResolving:r}=e(o.NOTES_STORE_NAME),{getCurrentUser:s}=e(o.USER_STORE_NAME),i=s(),a=parseInt(i&&i.woocommerce_meta&&i.woocommerce_meta.activity_panel_inbox_last_read,10);if(!a)return null;t(ar);const c=Boolean(n("getNotes",[ar])),l=r("getNotes",[ar]);if(c||l)return null;const d=t(ar);return(0,ir.fs)(d,a)>0}const lr=({icon:e,title:t,name:n,unread:o,selected:r,isPanelOpen:s,onTabClick:i})=>{const a=(0,Y.Z)("woocommerce-layout__activity-panel-tab",{"is-active":s&&r,"has-unread":o}),c=`activity-panel-tab-${n}`;return(0,T.jsxs)(d.Button,{role:"tab",className:a,"aria-selected":r,"aria-controls":`activity-panel-${n}`,id:c,"data-testid":c,onClick:()=>{i(n)},children:[e,t," ",o&&(0,T.jsx)("span",{className:"screen-reader-text",children:(0,M.__)("unread activity","woocommerce")})]},c)},dr=({tabs:e,onTabClick:n,selectedTab:o,tabOpen:r=!1})=>{const[{tabOpen:s,currentTab:i},a]=(0,t.useState)({tabOpen:r,currentTab:o});return(0,t.useEffect)((()=>{a({tabOpen:r,currentTab:o})}),[r,o]),(0,T.jsx)(d.NavigableMenu,{role:"tablist",orientation:"horizontal",className:"woocommerce-layout__activity-panel-tabs",children:e&&e.map(((e,t)=>{if(e.component){const{component:n,options:o}=e;return(0,T.jsx)(n,{...o},t)}return(0,T.jsx)(lr,{index:t,isPanelOpen:s,selected:i===e.name,...e,onTabClick:()=>{const t=i!==e.name&&""!==i||!s;t&&i===e.name||(0,_.recordEvent)("activity_panel_open",{tab:e.name}),a({tabOpen:t,currentTab:e.name}),n(e,t)}},t)}))})},ur=({setupTasksComplete:e,setupCompletePercent:t})=>(0,T.jsxs)("svg",{className:"woocommerce-layout__activity-panel-tab-icon setup-progress",viewBox:"0 0 25 25",children:[(0,T.jsx)("path",{className:"setup-progress-ring",d:"M 12.476 23.237 C 18.369 23.237 23.146 18.414 23.146 12.464 C 23.146 6.512 18.369 1.687 12.476 1.687 C 6.581 1.687 1.803 6.512 1.803 12.464 C 1.803 18.414 6.581 23.237 12.476 23.237 Z"}),(0,T.jsx)("path",{className:"setup-progress-slice",transform:"matrix(-0.034188, 0, 0, 0.034134, 38.373184, -8.278505)",d:"M 522 607 A 237 237 0 0 1 759 370 L 759 607 Z",fill:e>0?"currentColor":"white"}),(0,T.jsx)("path",{className:"setup-progress-slice",transform:"matrix(-0.034188, 0, 0, -0.034134, 38.368454, 33.13131)",d:"M 522 607 A 237 237 0 0 1 759 370 L 759 607 Z",fill:t>=50?"currentColor":"white"}),(0,T.jsx)("path",{className:"setup-progress-slice",transform:"matrix(0.034188, 0, 0, -0.034134, -13.500516, 33.133827)",d:"M 522 607 A 237 237 0 0 1 759 370 L 759 607 Z",fill:t>=75?"currentColor":"white"}),(0,T.jsx)("path",{className:"setup-progress-slice",transform:"matrix(0.034188, 0, 0, 0.034134, -13.495783, -8.281025)",d:"M 522 607 A 237 237 0 0 1 759 370 L 759 607 Z",fill:"white"})]});var mr=i(83518),pr=i(45904);const hr=["button","submit"];const fr=({content:e,isPanelOpen:n,isPanelSwitching:o,currentTab:r,tab:s,closePanel:i,clearPanel:a})=>{const c="woocommerce-layout__activity-panel-wrapper",l=function(e="firstElement"){const n=(0,t.useRef)(e);return(0,t.useEffect)((()=>{n.current=e}),[e]),(0,t.useCallback)((e=>{if(!e||!1===n.current)return;if(e.contains(e.ownerDocument.activeElement))return;let t=e;if("firstElement"===n.current){const n=pr.focus.tabbable.find(e)[0];n&&(t=n)}t.focus()}),[])}(),d=(0,t.useRef)(null),u=function(e){const n=(0,t.useRef)(e);(0,t.useEffect)((()=>{n.current=e}),[e]);const o=(0,t.useRef)(!1),r=(0,t.useRef)(),s=(0,t.useCallback)((()=>{clearTimeout(r.current)}),[]);(0,t.useEffect)((()=>()=>s()),[]),(0,t.useEffect)((()=>{e||s()}),[e,s]);const i=(0,t.useCallback)((e=>{const{type:t,target:n}=e;(0,w.includes)(["mouseup","touchend"],t)?o.current=!1:function(e){if(!(e instanceof window.HTMLElement))return!1;switch(e.nodeName){case"A":case"BUTTON":return!0;case"INPUT":return(0,w.includes)(hr,e.type)}return!1}(n)&&(o.current=!0)}),[]),a=(0,t.useCallback)((e=>{e.persist(),o.current||(r.current=setTimeout((()=>{document.hasFocus()?"function"==typeof n.current&&n.current(e):e.preventDefault()}),0))}),[]);return{onFocus:s,onMouseDown:i,onMouseUp:i,onTouchStart:i,onTouchEnd:i,onBlur:a}}((e=>{const t=e.relatedTarget&&(e.relatedTarget.closest(".woocommerce-inbox-dismiss-confirmation_modal")||e.relatedTarget.closest(".components-snackbar__action"));n&&!t&&i()})),m=(0,t.useCallback)((e=>{d.current=e,l(e)}),[]);if(!s)return(0,T.jsx)("div",{className:c});if(!e)return null;const p=(0,Y.Z)(c,{"is-open":n,"is-switching":o});return(0,T.jsx)("div",{className:p,tabIndex:0,role:"tabpanel","aria-label":s.title,onTransitionEnd:e=>{e&&"transform"===e.propertyName&&(a(),d.current&&n&&s&&l(d.current))},...u,ref:m,children:(0,T.jsx)("div",{className:"woocommerce-layout__activity-panel-content",id:"activity-panel-"+r,children:(0,T.jsx)(t.Suspense,{fallback:(0,T.jsx)(j.Spinner,{}),children:e})},"activity-panel-"+r)})};var gr=i(52458),yr=i(68744),wr=i(32381),vr=i(21464),_r=i(68388);const br=(0,t.lazy)((()=>Promise.all([i.e(6990),i.e(6732)]).then(i.bind(i,30655)))),xr=(0,t.lazy)((()=>Promise.all([i.e(5479),i.e(8851)]).then(i.bind(i,60201)))),Cr=(0,t.lazy)((()=>i.e(7844).then(i.bind(i,59325)))),Er=({isEmbedded:e,query:r})=>{const s="wc-admin"===r.page&&!r.path,[i,a]=(0,t.useState)(""),[c,d]=(0,t.useState)(!1),[u,p]=(0,t.useState)(!1),[h,f]=(0,t.useState)(!1),{fills:g}=(0,$.useSlot)(wr.$Q),y=Boolean(g?.length),b=(0,K.useActiveSetupTasklist)(),{comingSoon:C}=ne({enabled:s}),E=()=>{d(!0),p(!1)},S=()=>{u||(d(!1),f(!1),a(""))};(0,t.useEffect)((()=>(0,v.addHistoryListener)((()=>{E(),S()}))),[]);const N=(0,x.useExtendLayout)("activity-panel"),k=(e,t)=>{let n={};if("wc-admin"===r.page&&"appearance"===r.task){const{getTaskLists:r}=e(o.ONBOARDING_STORE_NAME),s=r().reduce(((e,t)=>[...e,...t.tasks]),[]).find((e=>"appearance"===e.id));n={set_notice:t("woocommerce_demo_store_notice")?"Y":"N",create_homepage:!0===s?.additionalData?.hasHomepage?"Y":"N",upload_logo:s?.additionalData?.themeMods?.custom_logo?"Y":"N"}}return n};function I(e,t,n){const o=(0,gr.sg)(e),r=!!t&&(0,gr.xX)(e,o)>0,s=!!t&&(0,yr.Vh)(e),i=!!t&&(0,gr.ae)(e);return n>0||r||s||i||y}const{hasUnreadNotes:A,hasAbbreviatedNotifications:L,thingsToDoNextCount:O,requestingTaskListOptions:P,setupTaskListComplete:D,setupTaskListHidden:R,setupTasksCompleteCount:H,setupTasksCount:Z,previewSiteBtnTrackData:z}=(0,m.useSelect)((e=>{const{getOption:t}=e(o.OPTIONS_STORE_NAME),{getTask:n,getTaskList:s,hasFinishedResolution:i}=e(o.ONBOARDING_STORE_NAME),a=b&&s(b),c=!a||a.isHidden,l=(0,o.getVisibleTasks)(a?.tasks||[]),d=(u=s("extended"))&&u.tasks.length&&!u.isHidden?u.tasks.filter((e=>e.canView&&!e.isComplete&&!e.isDismissed)).length:0;var u;return{hasUnreadNotes:cr(e),hasAbbreviatedNotifications:I(e,c,d),thingsToDoNextCount:d,requestingTaskListOptions:!i("getTaskLists"),setupTaskListComplete:a?.isComplete,setupTaskListHidden:c,setupTasksCount:l.length,setupTasksCompleteCount:l.filter((e=>e.isComplete)).length,isCompletedTask:Boolean(r.task&&n(r.task)?.isComplete),previewSiteBtnTrackData:k(e,t)}})),{showCesModal:B}=(0,m.useDispatch)(n.STORE_KEY),{currentUserCan:V}=(0,o.useUser)(),F=()=>{const[e]=function(e){var t;const n=e?.startsWith("/")?1:0,o=e?.endsWith("/")?-1:void 0;return null!==(t=e?.slice(n,o)?.split("/"))&&void 0!==t?t:[]}(r.path);return"add-product"===e||"product"===e},U=()=>{const t=(0,vr.DP)(window.location.search);return e&&/post-new\.php$/.test(window.location.pathname)&&"product"===t?.post_type},W=()=>r.task&&!r.path&&(!0===P||!1===R&&!1===D),G=()=>{const t={name:"activity",title:(0,M.__)("Activity","woocommerce"),icon:(0,T.jsx)(sr,{}),unread:A||L,visible:(e||!s)&&!W()&&!F()&&V("manage_woocommerce")},n={name:"feedback",title:(0,M.__)("Feedback","woocommerce"),icon:(0,T.jsx)(_r.A,{}),onClick:()=>{a("feedback"),p(!0),B({action:"product_feedback",title:(0,M.__)("How's your experience with the product editor?","woocommerce"),firstQuestion:(0,M.__)("The product editing screen is easy to use","woocommerce"),secondQuestion:(0,M.__)("The product editing screen's functionality meets my needs","woocommerce")},{onRecordScore:()=>{a(""),p(!1)},onCloseModal:()=>{a(""),p(!1)}},{type:"snackbar",icon:(0,T.jsx)("span",{children:"🌟"})})},visible:U()},o={name:"setup",title:(0,M.__)("Finish setup","woocommerce"),icon:(0,T.jsx)(ur,{setupTasksComplete:H,setupCompletePercent:Math.ceil(H/Z*100)}),visible:V("manage_woocommerce")&&!P&&!D&&!R&&!s&&!F()},i={name:"help",icon:(0,T.jsx)(nr.Z,{icon:or.Z}),visible:V("manage_woocommerce")&&(s&&!e||W())},c={component:mr.T,visible:V("manage_woocommerce")&&!e&&s&&!W()};return[t,n,o,{name:"previewSite",title:(0,M.__)("Preview site","woocommerce"),icon:(0,T.jsx)(nr.Z,{icon:rr.Z}),visible:s&&"appearance"===r.task,onClick:()=>(window.open((0,l.O3)("siteUrl")),(0,_.recordEvent)("wcadmin_tasklist_previewsite",z),null)},{name:"previewStore",title:"yes"===C&&(0,M.__)("Preview store","woocommerce")||(0,M.__)("View store","woocommerce"),visible:s&&"appearance"!==r.task,onClick:()=>(window.open((0,l.O3)("shopUrl")),(0,_.recordEvent)("wcadmin_previewstore_click"),null)},c,i].filter((e=>e.visible))},Y=G(),Q=(0,w.uniqueId)("activity-panel-header_");return(0,T.jsx)(x.LayoutContextProvider,{value:N,children:(0,T.jsxs)("div",{children:[(0,T.jsx)(j.H,{id:Q,className:"screen-reader-text",children:(0,M.__)("Store Activity","woocommerce")}),(0,T.jsxs)(j.Section,{component:"aside",id:"woocommerce-activity-panel",className:"woocommerce-layout__activity-panel","aria-labelledby":Q,children:[(0,T.jsx)(dr,{tabs:Y,tabOpen:u,selectedTab:i,onTabClick:(e,t)=>{e.onClick?e.onClick():(({name:e},t)=>{const n=e!==i&&""!==i&&t&&u;c||(a(e),p(t),f(n))})(e,t)}}),(0,T.jsx)(fr,{currentTab:!0,isPanelOpen:u,isPanelSwitching:h,tab:(0,w.find)(G(),{name:i}),content:(e=>{const{task:t}=r;switch(e){case"activity":return(0,T.jsx)(xr,{hasAbbreviatedNotifications:L,thingsToDoNextCount:O});case"help":return(0,T.jsx)(br,{taskName:t});case"setup":return(0,T.jsx)(Cr,{query:r});default:return null}})(i),closePanel:()=>E(),clearPanel:()=>S()})]})]})})};(0,b.registerPlugin)("activity-panel-header-item",{render:()=>(0,T.jsx)(x.WooHeaderItem,{order:20,children:({isEmbedded:e,query:t})=>window.wcAdminFeatures["activity-panels"]?(0,T.jsx)(Er,{isEmbedded:e,query:t}):null}),scope:"woocommerce-admin"});var Mr=i(46251);const jr="android",Sr=()=>(0,T.jsxs)("svg",{width:"37",height:"37",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,T.jsx)("rect",{width:"64",height:"64",rx:"12",fill:"#873EFF"}),(0,T.jsxs)("g",{clipPath:"url(#clip0_578_2937)",children:[(0,T.jsx)("path",{d:"M13.068 38.3129C14.5525 38.3129 15.7438 37.5723 16.6418 35.8688L18.6395 32.0916V35.2948C18.6395 37.1834 19.8491 38.3129 21.7185 38.3129C23.1847 38.3129 24.266 37.6649 25.3107 35.8688L29.9109 28.0181C30.9189 26.2961 30.2041 25 27.9865 25C26.7952 25 26.0255 25.3888 25.329 26.7035L22.1584 32.7211V27.37C22.1584 25.7777 21.407 25 20.0141 25C18.9144 25 18.0347 25.4814 17.3566 26.8146L14.3692 32.7211V27.4256C14.3692 25.7221 13.6728 25 11.9867 25H8.54111C7.23986 25 6.58008 25.611 6.58008 26.7405C6.58008 27.87 7.27652 28.518 8.54111 28.518H9.95232V35.2763C9.95232 37.1834 11.2169 38.3129 13.068 38.3129Z",fill:"white"}),(0,T.jsx)("path",{d:"M36.6384 25C32.8813 25 30.0039 27.8329 30.0039 31.6657C30.0039 35.4985 32.8996 38.3129 36.6384 38.3129C40.3772 38.3129 43.2363 35.48 43.2546 31.6657C43.2546 27.8329 40.3772 25 36.6384 25ZM36.6384 34.2209C35.2272 34.2209 34.2559 33.147 34.2559 31.6657C34.2559 30.1844 35.2272 29.092 36.6384 29.092C38.0496 29.092 39.021 30.1844 39.021 31.6657C39.021 33.147 38.068 34.2209 36.6384 34.2209Z",fill:"white"}),(0,T.jsx)("path",{d:"M50.8096 25C47.0708 25 44.1934 27.8329 44.1934 31.6657C44.1934 35.4985 47.0708 38.3129 50.8096 38.3129C54.5483 38.3129 57.4257 35.48 57.4257 31.6657C57.4257 27.8514 54.5483 25 50.8096 25ZM50.8096 34.2209C49.38 34.2209 48.4453 33.147 48.4453 31.6657C48.4453 30.1844 49.3983 29.092 50.8096 29.092C52.2208 29.092 53.1921 30.1844 53.1921 31.6657C53.1921 33.147 52.2208 34.2209 50.8096 34.2209Z",fill:"white"})]}),(0,T.jsx)("defs",{children:(0,T.jsx)("clipPath",{id:"clip0_578_2937",children:(0,T.jsx)("rect",{width:"50.8402",height:"13.3314",fill:"white",transform:"translate(6.58008 25)"})})})]}),Nr="wcadmin_mobile_android_banner_click",kr="woocommerce-layout__show-app-banner",Ir=({onInstall:e,onDismiss:n})=>{const[o,r]=(0,t.useState)(!1),s=(/iPhone|iPad|iPod/i.test(window.navigator.userAgent)?"ios":/Android/i.test(window.navigator.userAgent)?jr:"unknown")===jr&&!o;return(0,t.useEffect)((()=>{const e=document.getElementsByClassName("woocommerce-layout")[0];return s&&e&&e.classList.add(kr),()=>{e&&e.classList.remove(kr)}}),[s]),s?(0,T.jsxs)("div",{className:"woocommerce-mobile-app-banner",children:[(0,T.jsx)(nr.Z,{icon:(0,T.jsx)(Mr.Z,{"data-testid":"dismiss-btn"}),onClick:()=>{n(),r(!0),(0,_.recordEvent)(Nr,{action:"dismiss"})}}),(0,T.jsx)(Sr,{}),(0,T.jsxs)("div",{className:"woocommerce-mobile-app-banner__description",children:[(0,T.jsx)("p",{className:"woocommerce-mobile-app-banner__description__text",children:(0,M.__)("Run your store from anywhere","woocommerce")}),(0,T.jsx)("p",{className:"woocommerce-mobile-app-banner__description__text",children:(0,M.__)("Download the WooCommerce app","woocommerce")})]}),(0,T.jsx)(d.Button,{href:"https://play.google.com/store/apps/details?id=com.woocommerce.android",isSecondary:!0,onClick:()=>{e(),r(!0),(0,_.recordEvent)(Nr,{action:"install"})},children:(0,M.__)("Install","woocommerce")})]}):null};(0,b.registerPlugin)("mobile-banner-header-item",{render:()=>{const{updateUserPreferences:e,...t}=(0,o.useUserPreferences)(),n=()=>{e({android_app_banner_dismissed:"yes"})};return"yes"===t.android_app_banner_dismissed?null:(0,T.jsx)(x.WooHeaderItem,{children:(0,T.jsx)(Ir,{onDismiss:n,onInstall:n})})},scope:"woocommerce-admin"});const Tr=(0,t.lazy)((()=>Promise.all([i.e(5479),i.e(6990),i.e(4397),i.e(4457),i.e(8597)]).then(i.bind(i,68628))));class Ar extends t.Component{render(){const{children:e,showStoreAlerts:n=!0,showNotices:o=!0}=this.props;return(0,T.jsxs)("div",{className:"woocommerce-layout__primary",id:"woocommerce-layout__primary",children:[window.wcAdminFeatures["store-alerts"]&&n&&(0,T.jsx)(t.Suspense,{fallback:null,children:(0,T.jsx)(Tr,{})}),o&&(0,T.jsx)(he,{}),e]})}}const Lr=({children:e})=>{const t=(0,p.TH)(),n=(0,p.bS)(t.pathname),o={params:(0,p.UO)(),url:n.pathname};return f.Children.toArray(e).map((e=>(0,f.cloneElement)(e,{...e.props,location:t,match:o})))};function Or({activePlugins:e,installedPlugins:o,isEmbedded:r,isJetpackConnected:s,location:i,match:a,page:c}){!function(e){(0,t.useEffect)((()=>{if(!e.path)return;const t=`woocommerce-admin-page_${"/"===(n=e.path)?"_home":n.replace(/:[a-zA-Z?]+/g,(function(e){return(t=e,t.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))).replace(":","");var t})).replace(/\//g,"_")}`;var n;return document.body.classList.add(t),()=>{document.body.classList.remove(t)}}),[e.path])}(c),(0,t.useEffect)((()=>{(0,n.triggerExitPageCesSurvey)()}),[]),(0,t.useEffect)((()=>{!function(){if(r){const e=document.location.pathname+document.location.search;return void(0,_.recordPageView)(e,{is_embedded:!0})}const{pathname:t}=i;if(!t)return;let n=t.substring(1).replace(/\//g,"_");0===n.length&&(n="home_screen"),(0,_.recordPageView)(n,{jetpack_installed:o.includes("jetpack"),jetpack_active:e.includes("jetpack"),jetpack_connected:s})}(),setTimeout((()=>{(0,n.triggerExitPageCesSurvey)()}),0)}),[i?.pathname]);const{breadcrumbs:l,layout:u={header:!0,footer:!0}}=c,{header:m=!0,footer:p=!0,showPluginArea:h=!0}=u,f=(0,v.getQuery)();(0,t.useEffect)((()=>{const e=document.getElementById("wpbody");m?e?.classList.remove("no-header"):e?.classList.add("no-header")}),[m]);const g=f.page&&"wc-admin"===f.page&&!f.path&&!f.task;return(0,t.useEffect)((()=>{const e="yes"===window.sessionStorage.getItem("lysWaiting");g&&e&&(0,v.navigateTo)({url:(0,v.getNewPath)({},"/launch-your-store")})}),[g]),(0,T.jsx)(x.LayoutContextProvider,{value:(0,x.getLayoutContextValue)([c?.navArgs?.id?.toLowerCase()||"page"]),children:(0,T.jsxs)(d.SlotFillProvider,{children:[(0,T.jsxs)("div",{className:"woocommerce-layout",children:[m&&(0,T.jsx)(ue,{sections:(0,w.isFunction)(l)?l({match:a}):l,isEmbedded:r,query:f}),(0,T.jsx)(tr,{}),!r&&(0,T.jsx)(Ar,{showNotices:c?.layout?.showNotices,showStoreAlerts:c?.layout?.showStoreAlerts,children:(0,T.jsx)("div",{className:"woocommerce-layout__main",children:(0,T.jsx)(G,{page:c,match:a,query:f})})}),p&&(0,T.jsx)(me,{}),(0,T.jsx)(n.CustomerEffortScoreModalContainer,{})]}),h&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(b.PluginArea,{scope:"woocommerce-admin"}),(0,T.jsx)(b.PluginArea,{scope:"woocommerce-tasks"})]})]})})}Or.propTypes={isEmbedded:y().bool,page:y().shape({container:y().oneOfType([y().func,y().object]),path:y().string,breadcrumbs:y().oneOfType([y().func,y().arrayOf(y().oneOfType([y().arrayOf(y().string),y().string]))]).isRequired,wpOpenMenu:y().string}).isRequired};const Pr=(0,l.O3)("dataEndpoints"),Dr=(0,u.compose)((0,o.withPluginsHydration)({...(0,l.O3)("plugins",{}),jetpackStatus:Pr&&Pr.jetpackStatus||!1}),(0,m.withSelect)(((e,{isEmbedded:t})=>{if(t)return;const{getActivePlugins:n,getInstalledPlugins:r,isJetpackConnected:s}=e(o.PLUGINS_STORE_NAME);return{activePlugins:n(),isJetpackConnected:s(),installedPlugins:r()}})))((e=>e.isEmbedded?(0,T.jsx)(Or,{...e}):(0,T.jsx)(Lr,{children:(0,T.jsx)(Or,{...e})}))),Rr=(0,u.compose)(window.wcSettings.admin?(0,o.withOptionsHydration)({...(0,l.O3)("preloadOptions",{})}):w.identity)((()=>{const{currentUserCan:e}=(0,o.useUser)(),t=function(){const[e,t]=(0,f.useState)(W);return(0,f.useEffect)((()=>{const e=`woocommerce/woocommerce/watch_${U}`;return(0,E.addAction)("hookAdded",e,(e=>{e===U&&(0,E.didFilter)(U)>0&&t(W())})),()=>{(0,E.removeAction)("hookAdded",e)}}),[]),e}(),n=document.location.pathname,r=n.substring(0,n.lastIndexOf("/"));return(0,T.jsx)(h.M,{history:(0,v.getHistory)(),children:(0,T.jsx)(p.Z5,{basename:r,children:t.filter((t=>!t.capability||e(t.capability))).map((e=>(0,T.jsx)(p.AW,{path:e.path,exact:!0,element:(0,T.jsx)(Dr,{page:e})},e.path)))})})})),Hr=(0,u.compose)((0,l.O3)("preloadOptions")?(0,o.withOptionsHydration)({...(0,l.O3)("preloadOptions")}):w.identity)((()=>(0,T.jsx)(Dr,{page:{breadcrumbs:(0,l.O3)("embedBreadcrumbs",[])},isEmbedded:!0}))),Zr="woocommerce_show_marketplace_suggestions",zr=({children:e})=>{const{currentUserCan:t}=(0,o.useUser)(),n=(0,m.useSelect)((e=>{const{getOption:t,hasFinishedResolution:n}=e(o.OPTIONS_STORE_NAME),r=n("getOption",[Zr]),s="no"!==t(Zr);return r&&s}));return t("install_plugins")&&n?(0,T.jsx)(T.Fragment,{children:e}):null},Br=(0,t.lazy)((()=>i.e(5396).then(i.bind(i,53797)))),Vr=(0,t.lazy)((()=>window.wcAdminFeatures["shipping-smart-defaults"]?i.e(6125).then(i.bind(i,75426)):i.e(6125).then(i.bind(i,98293)))),Fr="woocommerce_store_address",Ur="woocommerce_store_city",Wr="woocommerce_store_postcode",Gr=e=>{const t=document.querySelector(e);return!!t&&t.value.length>0},Yr=()=>{const{isLoading:e,show:n}=(()=>{const{hasFilledStoreAddress:e,isLoading:t}=(0,m.useSelect)((e=>{const{hasFinishedResolution:t,getOption:n}=e(o.OPTIONS_STORE_NAME);return{isLoading:!t("getOption",[Fr])||!t("getOption",[Ur])||!t("getOption",[Wr]),hasFilledStoreAddress:""!==n(Fr)&&""!==n(Ur)&&""!==n(Wr)}}));return{isLoading:t,show:!t&&!e}})(),[r,s]=(0,t.useState)(!1),i={steps:[{referenceElements:{desktop:"#store_address-description + table.form-table"},meta:{name:"store-location-tour-step-1",heading:"Add your store location",descriptions:{desktop:(0,M.__)('Add your store location details to help us configure shipping, taxes, currency and more in a fully automated way. Once done, click on the "Save" button at the end of the form.',"woocommerce")},primaryButton:{text:(0,M.__)("Got it","woocommerce")}}}],placement:"bottom-start",options:{effects:{liveResize:{mutation:!0,resize:!0},spotlight:{styles:{inset:"0px auto auto -8px",paddingInline:"8px"},interactivity:{enabled:!0}}}},closeHandler:(e,t,n)=>{const o={address_1:Gr("input#woocommerce_store_address"),address_2:Gr("input#woocommerce_store_address_2"),city:Gr("input#woocommerce_store_city"),postcode:Gr("input#woocommerce_store_postcode")};(0,_.recordEvent)("settings_store_address_tour_dismiss",{source:n,fields_filled:o}),s(!0)}};return r||e||!n?null:(0,T.jsx)(j.TourKit,{config:i})},Qr=[({page:e,tab:n,section:o})=>"wc-settings"!==e||"checkout"!==n||o&&"main"!==o||window.wcAdminFeatures?.["reactify-classic-payments-settings"]?null:(0,T.jsx)(zr,{children:(0,T.jsx)(t.Suspense,{fallback:null,children:(0,T.jsx)(Br,{})})}),({page:e,tab:n,section:o,zone_id:r})=>"wc-settings"!==e||"shipping"!==n||Boolean(o)||Boolean(r)?null:(0,T.jsx)(zr,{children:(0,T.jsx)(t.Suspense,{fallback:null,children:(0,T.jsx)(Vr,{})})}),({page:e,tab:t,tutorial:n})=>"wc-settings"!==e||"general"!==t&&void 0!==t?null:n?(0,T.jsx)(Yr,{}):null],qr=()=>{(0,t.useEffect)((()=>{(0,n.triggerExitPageCesSurvey)()}),[]);const e=(0,C.parse)(location.search.substring(1));let o={page:"",tab:""};void 0!==e.page&&(o=e);const r=(0,E.applyFilters)("woocommerce_admin_embedded_layout_components",Qr,o);return(0,T.jsx)(x.LayoutContextProvider,{value:(0,x.getLayoutContextValue)(["page"]),children:(0,T.jsx)("div",{className:"woocommerce-embedded-layout__primary",id:"woocommerce-embedded-layout__primary",children:r.map(((e,t)=>(0,T.jsx)(e,{...o},t)))})})};var $r=i(28302),Jr=i(7637);const{Fill:Xr}=(0,d.createSlotFill)(oe),Kr=()=>(0,T.jsx)(d.Button,{href:"https://woocommerce.com/document/setting-up-taxes-in-woocommerce/",target:"_blank",children:(0,M.__)("Learn more","woocommerce")}),es=()=>{const[n,o]=(0,t.useState)(!1),[r,s]=(0,t.useState)("yes"===document.forms.mainform.elements.woocommerce_prices_include_tax?.value?"incl":"excl"),[i,a]=(0,t.useState)(window.jQuery("#woocommerce_tax_display_shop").val()),[c,l]=(0,t.useState)(window.jQuery("#woocommerce_tax_display_cart").val()),{createNotice:u}=(0,m.useDispatch)(e.store),p=()=>{window.jQuery("#woocommerce_tax_display_shop").val(r).trigger("change"),window.jQuery("#woocommerce_tax_display_cart").val(r).trigger("change"),u("success",(0,M.__)("Recommended settings applied.","woocommerce")),(0,_.recordEvent)("tax_settings_conflict_recommended_settings_clicked")},h=()=>(0,T.jsx)(d.Button,{variant:"primary",onClick:p,children:(0,M.__)("Use recommended settings","woocommerce")});(0,t.useEffect)((()=>{document.querySelectorAll("input[name='woocommerce_prices_include_tax']").forEach((e=>{e.addEventListener("change",(()=>s("yes"===document.forms.mainform.elements.woocommerce_prices_include_tax.value?"incl":"excl")))}))}),[]),(0,t.useEffect)((()=>{window.jQuery("#woocommerce_tax_display_shop").on("click change",(()=>a(document.getElementById("woocommerce_tax_display_shop").value)))}),[]),(0,t.useEffect)((()=>{window.jQuery("#woocommerce_tax_display_cart").on("click change",(()=>l(document.getElementById("woocommerce_tax_display_cart").value)))}),[]);const[f,g]=(0,t.useState)(!1);return(0,t.useEffect)((()=>{i===r&&c===r?g(!1):(g(!0),(0,_.recordEvent)("tax_settings_conflict",{main:r,shop:i,cart:c}))}),[c,i,r]),!f||n?(0,T.jsx)(Xr,{}):(0,T.jsx)(Xr,{children:(0,T.jsx)("div",{className:"woocommerce_tax_settings_conflict_error",children:(0,T.jsx)(d.Card,{children:(0,T.jsxs)(d.CardBody,{className:"woocommerce_tax_settings_conflict_error_card_body",children:[(0,T.jsx)("div",{children:(0,T.jsx)("img",{className:"woocommerce_tax_settings_conflict_error_card_body__warning_icon",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTguNTc0NjUgMy4yMTYzNUwxLjUxNjMyIDE0Ljk5OTdDMS4zNzA3OSAxNS4yNTE3IDEuMjkzNzkgMTUuNTM3NCAxLjI5Mjk4IDE1LjgyODRDMS4yOTIxNiAxNi4xMTk1IDEuMzY3NTYgMTYuNDA1NiAxLjUxMTY3IDE2LjY1ODVDMS42NTU3OSAxNi45MTEzIDEuODYzNTkgMTcuMTIyIDIuMTE0NDEgMTcuMjY5NkMyLjM2NTIzIDE3LjQxNzEgMi42NTAzMiAxNy40OTY1IDIuOTQxMzIgMTcuNDk5N0gxNy4wNThDMTcuMzQ5IDE3LjQ5NjUgMTcuNjM0MSAxNy40MTcxIDE3Ljg4NDkgMTcuMjY5NkMxOC4xMzU3IDE3LjEyMiAxOC4zNDM1IDE2LjkxMTMgMTguNDg3NiAxNi42NTg1QzE4LjYzMTcgMTYuNDA1NiAxOC43MDcxIDE2LjExOTUgMTguNzA2MyAxNS44Mjg0QzE4LjcwNTUgMTUuNTM3NCAxOC42Mjg1IDE1LjI1MTcgMTguNDgzIDE0Ljk5OTdMMTEuNDI0NyAzLjIxNjM1QzExLjI3NjEgMi45NzE0NCAxMS4wNjY5IDIuNzY4OTUgMTAuODE3MyAyLjYyODQyQzEwLjU2NzcgMi40ODc4OSAxMC4yODYxIDIuNDE0MDYgOS45OTk2NSAyLjQxNDA2QzkuNzEzMjEgMi40MTQwNiA5LjQzMTU5IDIuNDg3ODkgOS4xODE5OSAyLjYyODQyQzguOTMyMzggMi43Njg5NSA4LjcyMzIxIDIuOTcxNDQgOC41NzQ2NSAzLjIxNjM1VjMuMjE2MzVaIiBzdHJva2U9IiNFNjUwNTQiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+CjxwYXRoIGQ9Ik0xMCA3LjVWMTAuODMzMyIgc3Ryb2tlPSIjRTY1MDU0IiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8cGF0aCBkPSJNMTAgMTQuMTY4SDEwLjAwODMiIHN0cm9rZT0iI0U2NTA1NCIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==",alt:"Warning Icon"})}),(0,T.jsxs)("div",{children:[(0,T.jsx)("div",{className:"woocommerce_tax_settings_conflict_error_card_body__body_text",children:(0,T.jsx)("p",{style:{fontSize:13},children:(0,$r.Z)({mixedString:(0,M.__)("{{b}}Inconsistent tax settings:{{/b}} To avoid possible rounding errors, prices should be entered and displayed consistently in all locations either including, or excluding taxes.","woocommerce"),components:{b:(0,T.jsx)("b",{})}})})}),(0,T.jsxs)("div",{className:"woocommerce_tax_settings_conflict_error_card_body__buttons",children:[(0,T.jsx)(h,{})," ",(0,T.jsx)(Kr,{})]})]}),(0,T.jsx)("div",{children:(0,T.jsx)(d.Button,{className:"woocommerce_tax_settings_conflict_error_card_body__close_icon",onClick:()=>{o(!0),(0,_.recordEvent)("tax_settings_conflict_dismissed")},children:(0,T.jsx)(nr.Z,{icon:Jr.Z})})})]})})})})};var ts=i(76025),ns=i(95313);const os=()=>{(0,_.recordEvent)("settings_payments_banner_connect_click")},rs=()=>{const e=(0,q.getAdminLink)("admin.php?wcpay-connect=1&_wpnonce="+(0,l.O3)("wcpay_welcome_page_connect_nonce")),t=(0,l.O3)("isWooPayEligible");return(0,T.jsxs)(ts.WCPayBanner,{children:[(0,T.jsx)(ts.WCPayBannerBody,{textPosition:"right",actionButton:(0,T.jsx)(d.Button,{href:e,isPrimary:!0,onClick:os,children:(0,M.__)("Get started","woocommerce")}),isWooPayEligible:t}),(0,T.jsx)(ts.WCPayBannerFooter,{isWooPayEligible:t})]})},ss=()=>(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)("h2",{children:(0,M.__)("Payment Methods","woocommerce")}),(0,T.jsx)("div",{id:"payment_gateways_options-description",children:(0,T.jsx)("p",{children:(0,M.__)("Installed payment methods are listed below and can be sorted to control their display order on the frontend.","woocommerce")})})]}),is=()=>{const{hasFinishedResolution:e,shouldShowBanner:t}=(()=>{const{installedPaymentGateways:e,paymentGatewaySuggestions:t,hasFinishedResolution:n}=(0,m.useSelect)((e=>({installedPaymentGateways:e(o.PAYMENT_GATEWAYS_STORE_NAME).getPaymentGateways(),paymentGatewaySuggestions:e(o.ONBOARDING_STORE_NAME).getPaymentGatewaySuggestions(),hasFinishedResolution:e(o.ONBOARDING_STORE_NAME).hasFinishedResolution("getPaymentGatewaySuggestions")&&e(o.PAYMENT_GATEWAYS_STORE_NAME).hasFinishedResolution("getPaymentGateways")})),[]),r=e.some((e=>"woocommerce_payments"===e.id)),s=e.find((e=>"woocommerce_payments"===e.id&&!1===e.enabled));return{hasFinishedResolution:n,shouldShowBanner:(0,ns.j)(t)&&r&&s}})();return e&&t?(0,T.jsx)(rs,{}):(0,T.jsx)(ss,{})},{Fill:as}=(0,d.createSlotFill)(oe),cs=()=>(0,T.jsx)(as,{children:(0,T.jsx)(is,{})});var ls=i(86989),ds=i.n(ls),us=i(27363),ms=i(60369),ps=i(32302),hs=i(43073);const fs=({isOpen:e,isImporting:t,onClose:n,onConfirm:o,overwrittenItems:r})=>e?(0,T.jsxs)(d.Modal,{title:(0,M.__)("Your configuration will be overridden","woocommerce"),onRequestClose:n,className:"woocommerce-blueprint-overwrite-modal",children:[(0,T.jsx)("p",{className:"woocommerce-blueprint-overwrite-modal__description",children:(0,M.__)("Importing the file will overwrite the current configuration for the following items in WooCommerce Settings:","woocommerce")}),(0,T.jsx)("ul",{className:"woocommerce-blueprint-overwrite-modal__list",children:r.map((e=>(0,T.jsx)("li",{children:e},e)))}),(0,T.jsxs)("div",{className:"woocommerce-blueprint-overwrite-modal__actions",children:[(0,T.jsx)(d.Button,{className:"woocommerce-blueprint-overwrite-modal__actions-cancel",variant:"tertiary",onClick:n,children:(0,M.__)("Cancel","woocommerce")}),(0,T.jsx)(d.Button,{className:(0,Y.Z)("woocommerce-blueprint-overwrite-modal__actions-import",{"is-importing":t}),variant:"primary",onClick:o,children:t?(0,T.jsx)(d.Spinner,{}):(0,M.__)("Import","woocommerce")})]})]}):null,gs=(0,ms.cY)({types:{},actions:{reportSuccess:(0,ps.b)((({event:e,enqueue:t})=>{(0,ms.ZD)(e,"xstate.done.actor.0.fileUpload.uploading"),t.assign({process_nonce:e.output.process_nonce,reference:e.output.reference,settings_to_overwrite:e.output.settings_to_overwrite})})),reportError:({event:e})=>"ERROR"===e.type?(0,ps.a)({error:e.error}):"xstate.error.actor.0.fileUpload.uploading"===e.type||"xstate.error.actor.0.fileUpload.importer"===e.type?(0,ps.a)({error:e.output}):void 0},actors:{uploader:(0,hs.p4)((({input:e})=>(async e=>{const t=new FormData;if(t.append("file",e),!window?.wcSettings?.admin?.blueprint_upload_nonce)throw new Error("Blueprint upload nonce not found");t.append("blueprint_upload_nonce",window.wcSettings.admin.blueprint_upload_nonce);const n=await ds()({path:"wc-admin/blueprint/queue",method:"POST",body:t});var o;if(n.error_type)throw new Error(null!==(o=n.errors?.[0])&&void 0!==o?o:"Unknown error");return n})(e.file))),importer:(0,hs.p4)((({input:e})=>(async(e,t)=>{const{processed:n,message:o}=await ds()({path:"/wc-admin/blueprint/process",method:"POST",data:{reference:t,process_nonce:e}});if(!n)throw new Error(o);(0,m.dispatch)("core/notices").createSuccessNotice(`${(0,M.__)("Your Blueprint has been imported!","woocommerce")}`)})(e.process_nonce,e.reference)))},guards:{hasSettingsToOverwrite:({context:e})=>Boolean(e.settings_to_overwrite&&e.settings_to_overwrite.length>0)}}).createMachine({id:"fileUpload",initial:"idle",context:()=>({}),states:{idle:{on:{UPLOAD:{target:"uploading",actions:(0,ps.a)({file:({event:e})=>e.file,error:()=>{}})},ERROR:{target:"error",actions:(0,ps.a)({error:({event:e})=>e?.error})}}},uploading:{invoke:{src:"uploader",input:({event:e})=>((0,ms.ZD)(e,"UPLOAD"),{file:e.file}),onDone:{target:"success",actions:"reportSuccess"},onError:{target:"error",actions:(0,ps.a)({error:({event:e})=>e?.error})}}},error:{entry:"reportError",always:{target:"idle"}},success:{on:{DISMISS:{actions:(0,ps.a)({error:()=>{},file:()=>{}}),target:"idle"},IMPORT:[{target:"overrideModal"}]}},overrideModal:{on:{CONFIRM_IMPORT:{target:"importing"},DISMISS_OVERWRITE_MODAL:{target:"success"}}},importing:{invoke:{src:"importer",input:({context:e})=>({process_nonce:e.process_nonce,reference:e.reference}),onDone:{target:"importSuccess"},onError:{target:"error"}}},importSuccess:{}}}),ys=()=>{const[e,t]=(0,us.eO)(gs);return(0,T.jsxs)(T.Fragment,{children:[e.context.error&&(0,T.jsx)("div",{className:"blueprint-upload-dropzone-error",children:(0,T.jsx)(d.Notice,{status:"error",isDismissible:!1,children:e.context.error.message})}),(e.matches("idle")||e.matches("error"))&&(0,T.jsx)("div",{className:"blueprint-upload-form",children:(0,T.jsx)(d.FormFileUpload,{className:"blueprint-upload-field",accept:"application/json, application/zip",multiple:!1,onChange:e=>{const n=e.target.files?.[0];n&&t({type:"UPLOAD",file:n})},children:(0,T.jsxs)("div",{className:"blueprint-upload-dropzone",children:[(0,T.jsx)("img",{className:"blueprint-upload-dropzone-icon",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTkiIGhlaWdodD0iMzciIHZpZXdCb3g9IjAgMCA1OSAzNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00Mi41MDkyIDM2Ljc3MTlMNDIuNTA5NSAzNi43NzE0SDQ5Ljc1MDlWMzYuNzYyMkM0OS44NTEzIDM2Ljc2NzYgNDkuOTUyMSAzNi43NzA4IDUwLjA1MzMgMzYuNzcxOUg1MC4yMDU4QzU0Ljk2MDYgMzYuNzIxIDU4LjgwMjQgMzEuOTE1MyA1OC44MDI0IDI1Ljk5NDRDNTguODAyNCAyMC4wNDIgNTQuOTE5NCAxNS4yMTY1IDUwLjEyOTYgMTUuMjE2NUM0OC4zNDM2IDE1LjIxNjUgNDYuNjgzOCAxNS44ODc0IDQ1LjMwNDMgMTcuMDM3M0M0My41MDM5IDcuMzU5IDM3LjMzNjggMC4yMjg1MTYgMzAuMDA1NyAwLjIyODUxNkMyMy43MDc0IDAuMjI4NTE2IDE4LjI2ODEgNS40OTE2MiAxNS43MTkgMTMuMTExOEMxNC4xNzkyIDExLjk2MzggMTIuMzc2NyAxMS4zMDM3IDEwLjQ1MDEgMTEuMzAzN0M0Ljc4Nzg3IDExLjMwMzcgMC4xOTc3NTQgMTcuMDA1IDAuMTk3NzU0IDI0LjAzOEMwLjE5Nzc1NCAzMC45MTMyIDQuNTg0MjUgMzYuNTE1OCAxMC4wNzA3IDM2Ljc2MzdWMzYuNzcxNEgxMC4zMjlMMTAuMzczNiAzNi43NzE5SDEwLjUyNjZMMTAuNTcxMSAzNi43NzE0SDE3LjUwMkwxNy41MDIyIDM2Ljc3MTlIMjMuODU0NkwyNi44NDc3IDI4LjE5NjFMMjAuMjM4NiAyOS44MTUyTDI5LjUwMDggMjAuNTUyTDM4Ljc2MzEgMjkuODE1MkwzMi4xNTM5IDI4LjE5NjFMMzUuMTQ3IDM2Ljc3MTlINDIuNTA5MloiIGZpbGw9IiNGMEYwRjAiLz4KPC9zdmc+Cg==",alt:"Upload"}),(0,T.jsx)("p",{className:"blueprint-upload-dropzone-text",children:(0,M.__)("Upload a .zip or .json file","woocommerce")}),(0,T.jsx)(d.DropZone,{onFilesDrop:e=>{e.length>1&&t({type:"ERROR",error:new Error("Only one file can be uploaded at a time")}),t({type:"UPLOAD",file:e[0]})}})]})})}),e.matches("uploading")&&(0,T.jsx)("div",{className:"blueprint-upload-form",children:(0,T.jsxs)("div",{className:"blueprint-upload-dropzone-uploading",children:[(0,T.jsx)(d.Spinner,{className:"blueprint-upload-dropzone-spinner"}),(0,T.jsx)("p",{className:"blueprint-upload-dropzone-text",children:(0,M.__)("Uploading your file…","woocommerce")})]})}),(e.matches("success")||e.matches("importSuccess")||e.matches("overrideModal"))&&(0,T.jsx)("div",{className:"blueprint-upload-dropzone-success",children:(0,T.jsxs)("p",{className:"blueprint-upload-dropzone-text",children:[(0,T.jsx)("span",{className:"blueprint-upload-dropzone-text-file-name",children:e.context.file?.name}),(0,T.jsx)(d.Button,{icon:(0,T.jsx)(d.Icon,{icon:Jr.Z}),onClick:()=>t({type:"DISMISS"})})]})}),(e.matches("success")||e.matches("overrideModal"))&&(0,T.jsx)(d.Button,{className:"woocommerce-blueprint-import-button",variant:"primary",onClick:()=>{t({type:"IMPORT"})},children:(0,M.__)("Import","woocommerce")}),(e.matches("importing")||e.matches("overrideModal"))&&(0,T.jsx)(fs,{isOpen:!0,isImporting:e.matches("importing"),onClose:()=>t({type:"DISMISS_OVERWRITE_MODAL"}),onConfirm:()=>t({type:"CONFIRM_IMPORT"}),overwrittenItems:e.context.settings_to_overwrite||[]})]})},{Fill:ws}=(0,d.createSlotFill)(oe),vs=()=>{const[e,n]=(0,t.useState)(!0),[o,r]=(0,t.useState)(!1),[s,i]=(0,t.useState)(null),a=window.wcSettings?.admin?.blueprint_step_groups||[],[c,l]=(0,t.useState)(a.reduce(((e,t)=>(e[t.id]=t.items.reduce(((e,t)=>(e[t.id]=!0,e)),{}),e)),{}));return(0,t.useEffect)((()=>{const e=document.getElementsByClassName("woocommerce-save-button")[0];e&&(e.style.display="none")})),(0,T.jsxs)("div",{className:"blueprint-settings-slotfill",children:[s&&(0,T.jsx)(d.Notice,{status:"error",onRemove:()=>{i(null)},isDismissible:!0,children:s}),(0,T.jsx)("h3",{children:"Import Blueprint"}),(0,T.jsx)("p",{children:(0,t.createInterpolateElement)((0,M.__)("Import your blueprint schema to ease the setup process for your store or allow teams to apply each others’ changes. You can import only one Blueprint at the time. Want to know more? <docLink/>","woocommerce"),{docLink:(0,T.jsx)("a",{href:"#tba",className:"woocommerce-admin-inline-documentation-link",children:(0,M.__)("Check our documentation","woocommerce")})})}),(0,T.jsx)(ys,{}),(0,T.jsx)("p",{}),(0,T.jsx)("h3",{children:(0,M.__)("Export Blueprint","woocommerce")}),(0,T.jsx)("p",{className:"export-intro",children:(0,t.createInterpolateElement)((0,M.__)("Export your blueprint schema. Select the options you want to export, then click on “Export”. Want to know more? <docLink/> ","woocommerce"),{docLink:(0,T.jsx)("a",{href:"#tba",className:"woocommerce-admin-inline-documentation-link",children:(0,M.__)("Check our documentation","woocommerce")})})}),a.map(((e,t)=>(0,T.jsx)(j.CollapsibleContent,{toggleText:e.label,initialCollapsed:t>0,hintText:e.description,children:e.items.map((t=>(0,T.jsx)(d.ToggleControl,{label:t.label,checked:c[e.id][t.id],onChange:()=>{var n,o;n=e.id,o=t.id,l((e=>({...e,[n]:{...e[n],[o]:!e[n][o]}})))},help:t.description},t.id)))},t))),(0,T.jsx)("div",{id:"download-link-container"}),(0,T.jsx)("h4",{children:(0,M.__)("Options","woocommerce")}),(0,T.jsxs)("div",{children:[(0,T.jsx)("input",{type:"checkbox",id:"export-as-zip",name:"export-as-zip",value:"yes",checked:o,onChange:()=>{r(!o)}}),(0,T.jsx)("label",{htmlFor:"export-as-zip",children:(0,M.__)("Export as a zip (Experimental)","woocommerce")})]}),(0,T.jsx)("br",{}),(0,T.jsx)(d.Button,{variant:"primary",onClick:()=>{(async e=>{n(!1);const t=document.getElementById("download-link-container");t.innerHTML="";try{const n=await ds()({path:"/wc-admin/blueprint/export",method:"POST",data:{steps:e,export_as_zip:o}}),r=document.createElement("a");r.innerHTML="Click here in case download does not start automatically";let s=null;"zip"===n.type?(r.href=n.data,r.target="_blank"):(s=window.URL.createObjectURL(new Blob([JSON.stringify(n.data,null,2)])),r.href=s,r.setAttribute("download","woo-blueprint.json")),t.appendChild(r),r.click(),s&&window.URL.revokeObjectURL(s)}catch(e){i(e.message)}n(!0)})(Object.entries(c).reduce(((e,[t,n])=>(e[t]=Object.keys(n).filter((e=>n[e])),e)),{}))},disabled:!e,isBusy:!e,children:(0,M.__)("Export","woocommerce")})]})},_s=()=>(0,T.jsx)(ws,{children:(0,T.jsx)(vs,{})});var bs=i(54297),xs=i(61535);const{Slot:Cs,Fill:Es}=(0,d.createSlotFill)(xs.xm),Ms=()=>(0,T.jsx)(Es,{children:(0,T.jsx)(bs.U,{eventContext:"order-editor-order-attribution-metabox",bannerType:xs.wg,description:(0,M.__)("View all of your orders in our new Order Attribution extension.","woocommerce"),buttonText:(0,M.__)("Install the extension","woocommerce")})}),js={woocommerce_email_base_color:"baseColor",woocommerce_email_background_color:"bgColor",woocommerce_email_body_background_color:"bodyBgColor",woocommerce_email_text_color:"bodyTextColor",woocommerce_email_footer_text_color:"footerTextColor"},Ss=(e,t)=>{const n=document.getElementById(e);n.value=t,n.dispatchEvent(new Event("change"))},Ns=e=>document.getElementById(e).value,ks=e=>{for(const[t,n]of Object.entries(js))Ss(t,e[n])},Is=e=>{for(const[t,n]of Object.entries(js))if(document.getElementById(t).value!==e[n])return!0;return!1},Ts=({defaultColors:e,hasThemeJson:n})=>{const[o,r]=(0,t.useState)(Is(e)),[s,i]=(0,t.useState)(!1),[a]=(0,t.useState)((()=>{const e={};for(const[t,n]of Object.entries(js))e[n]=Ns(t);return e})()),c=()=>{r(Is(e)),i(Is(a))};return(0,t.useEffect)((()=>((e=>{for(const t of Object.keys(js)){const n=jQuery(`#${t}`);n.length&&n.on("change",e)}})(c),()=>{(e=>{for(const t of Object.keys(js)){const n=jQuery(`#${t}`);n.length&&n.off("change",e)}})(c)}))),(0,T.jsxs)(T.Fragment,{children:[!o&&(0,T.jsx)("span",{className:"wc-settings-email-color-palette-message",children:n?(0,M.__)("Synced with theme.","woocommerce"):(0,M.__)("Using default values.","woocommerce")}),o&&(0,T.jsx)(d.Button,{variant:"secondary",onClick:()=>{ks(e),r(!1),i(Is(a))},children:n?(0,M.__)("Sync with theme","woocommerce"):(0,M.__)("Reset","woocommerce")}),s&&(0,T.jsx)(d.Button,{variant:"tertiary",onClick:()=>{ks(a),r(Is(e)),i(!1)},children:(0,M.__)("Undo changes","woocommerce")})]})},{Fill:As}=(0,d.createSlotFill)(oe),Ls=({defaultColors:e,hasThemeJson:t})=>(0,T.jsx)(As,{children:(0,T.jsx)(Ts,{defaultColors:e,hasThemeJson:t})}),Os=(e,t)=>{let n=window.wp.media.frames?.img_select;n||(n=window.wp.media({library:{type:"image"}}),n.on("select",(()=>{if(!n)return;const o=n.state().get("selection");o&&o.each((n=>{const o=n.attributes.url,r=document.getElementById(e);r.value=o,r.dispatchEvent(new Event("change")),t(o)}))}))),n.open()},Ps=({inputId:e,imageUrl:t,setImageUrl:n})=>(0,T.jsxs)("div",{className:"wc-settings-email-image-url-existing-image",children:[(0,T.jsx)("div",{children:(0,T.jsx)("button",{onClick:()=>Os(e,n),className:"wc-settings-email-image-url-select-image",type:"button",children:(0,T.jsx)("img",{src:t,className:"wc-settings-email-image-url-image-preview",alt:(0,M.__)("Image preview","woocommerce")})})}),(0,T.jsx)(d.Button,{variant:"secondary",onClick:()=>Os(e,n),children:(0,M.__)("Change image","woocommerce")})," ",(0,T.jsx)(d.Button,{variant:"tertiary",onClick:()=>((e,t)=>{const n=document.getElementById(e);n.value="",n.dispatchEvent(new Event("change")),t("")})(e,n),children:(0,M.__)("Remove","woocommerce")})]}),Ds=({inputId:e,setImageUrl:t})=>(0,T.jsx)("div",{className:"wc-settings-email-image-url-new-image",children:(0,T.jsx)("button",{onClick:()=>Os(e,t),className:"wc-settings-email-image-url-select-image",type:"button",children:(0,T.jsx)("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMS43MTk3IDQuNDY5NjZMNi40Njk2NyA5LjcxOTY2TDcuNTMwMzMgMTAuNzgwM0wxMS41IDYuODEwNjVMMTEuNSAxOC41SDUuNUw1LjUgMTVINFYxOC41VjIwSDUuNUgxMS41SDEzSDE4LjVIMjBWMTguNVYxNUgxOC41VjE4LjVIMTNMMTMgNi43MDAzN0wxNy40OTQzIDEwLjgwMzlMMTguNTA1NyA5LjY5NjEzTDEyLjc1NTcgNC40NDYxM0wxMi4yMjY0IDMuOTYyODlMMTEuNzE5NyA0LjQ2OTY2WiIgZmlsbD0iIzk0OTQ5NCIvPgo8L3N2Zz4K",width:"24",height:"24",alt:(0,M.__)("Image upload icon","woocommerce"),className:"wc-settings-email-image-url-new-image-icon"})})}),{Fill:Rs}=(0,d.createSlotFill)(oe),Hs=({inputId:e,initImageUrl:n})=>{const[o,r]=(0,t.useState)(n),s=""!==o;return(0,T.jsxs)(Rs,{children:[!s&&(0,T.jsx)(Ds,{inputId:e,setImageUrl:r}),s&&(0,T.jsx)(Ps,{inputId:e,imageUrl:o,setImageUrl:r})]})},Zs="desktop",zs="mobile",Bs=({deviceType:e,setDeviceType:t})=>{const n=e===Zs,o=e===zs;return(0,T.jsxs)("div",{className:"wc-settings-email-preview-device-type",children:[(0,T.jsx)("button",{className:n?"active":"",onClick:()=>t(Zs),title:(0,M.__)("Email preview on desktop","woocommerce"),type:"button",children:(0,T.jsx)("img",{src:n?"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KCTxwYXRoIGQ9Ik00Ljk3MjY2IDhDNC45NzI2NiA3LjMwOTY0IDUuNTMyMyA2Ljc1IDYuMjIyNjYgNi43NUgxNy43NzgyQzE4LjQ2ODYgNi43NSAxOS4wMjgyIDcuMzA5NjQgMTkuMDI4MiA4VjE2LjM2MTFINC45NzI2NlY4WiIgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjEuNSIvPgoJPHBhdGggZD0iTTIgMTcuNUMyIDE2LjY3MTYgMi42NzE1NyAxNiAzLjUgMTZIMjAuNUMyMS4zMjg0IDE2IDIyIDE2LjY3MTYgMjIgMTcuNUgyWiIgZmlsbD0iI2ZmZiIvPgo8L3N2Zz4K":"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KCTxwYXRoIGQ9Ik00Ljk3MjY2IDhDNC45NzI2NiA3LjMwOTY0IDUuNTMyMyA2Ljc1IDYuMjIyNjYgNi43NUgxNy43NzgyQzE4LjQ2ODYgNi43NSAxOS4wMjgyIDcuMzA5NjQgMTkuMDI4MiA4VjE2LjM2MTFINC45NzI2NlY4WiIgc3Ryb2tlPSIjMWUxZTFlIiBzdHJva2Utd2lkdGg9IjEuNSIvPgoJPHBhdGggZD0iTTIgMTcuNUMyIDE2LjY3MTYgMi42NzE1NyAxNiAzLjUgMTZIMjAuNUMyMS4zMjg0IDE2IDIyIDE2LjY3MTYgMjIgMTcuNUgyWiIgZmlsbD0iIzFlMWUxZSIvPgo8L3N2Zz4K",alt:(0,M.__)("Desktop icon","woocommerce")})}),(0,T.jsx)("button",{className:o?"active":"",onClick:()=>t(zs),title:(0,M.__)("Mobile preview on desktop","woocommerce"),type:"button",children:(0,T.jsx)("img",{src:o?"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KCTxyZWN0IHg9IjcuNzUiIHk9IjQuNzUiIHdpZHRoPSI4LjUiIGhlaWdodD0iMTQuNSIgcng9IjEuMjUiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiLz4KCTxyZWN0IHg9IjExIiB5PSIxNiIgd2lkdGg9IjIiIGhlaWdodD0iMS41IiBmaWxsPSIjZmZmIi8+Cjwvc3ZnPgo=":"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KCTxyZWN0IHg9IjcuNzUiIHk9IjQuNzUiIHdpZHRoPSI4LjUiIGhlaWdodD0iMTQuNSIgcng9IjEuMjUiIHN0cm9rZT0iIzFlMWUxZSIgc3Ryb2tlLXdpZHRoPSIxLjUiLz4KCTxyZWN0IHg9IjExIiB5PSIxNiIgd2lkdGg9IjIiIGhlaWdodD0iMS41IiBmaWxsPSIjMWUxZTFlIi8+Cjwvc3ZnPgo=",alt:(0,M.__)("Mobile icon","woocommerce")})})]})},Vs=()=>(0,l.O3)("email_preview_nonce"),Fs=({emailType:e})=>{const[n,o]=(0,t.useState)(""),[r,s]=(0,t.useState)(""),[i,a]=(0,t.useState)(""),c=(0,t.useRef)(null),l=Vs(),d=(0,t.useCallback)((async()=>{try{const t=await ds()({path:`wc-admin-email/settings/email/preview-subject?type=${e}&nonce=${l}`});a(t.subject),c.current&&c.current.dispatchEvent(new Event("subject-updated"))}catch(e){a("")}}),[e,l,c]);return(0,t.useEffect)((()=>{const e=document.getElementById("woocommerce_email_from_name"),t=document.getElementById("woocommerce_email_from_address");if(!e||!t)return;o(e.value||""),s(t.value||"");const n=e=>{const t=e.target;o(t.value||"")},r=e=>{const t=e.target;s(t.value||"")};return e.addEventListener("change",n),t.addEventListener("change",r),()=>{e&&t&&(e.removeEventListener("change",n),t.removeEventListener("change",r))}}),[]),(0,t.useEffect)((()=>{d()}),[d]),(0,t.useEffect)((()=>{if(c.current=document.querySelector('[id^="woocommerce_"][id$="_subject"]'),c.current)return c.current.addEventListener("transient-saved",d),()=>{c.current&&c.current.removeEventListener("transient-saved",d)}}),[d]),(0,T.jsxs)("div",{className:"wc-settings-email-preview-header",children:[(0,T.jsx)("h3",{className:"wc-settings-email-preview-header-subject",children:i}),(0,T.jsxs)("div",{className:"wc-settings-email-preview-header-data",children:[(0,T.jsx)("div",{className:"wc-settings-email-preview-header-icon",children:(0,T.jsx)("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KCTxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNy4yNSAxNi40MzcxQzYuMTY0NDUgMTUuMjc1NSA1LjUgMTMuNzE1MyA1LjUgMTJDNS41IDguNDEwMTUgOC40MTAxNSA1LjUgMTIgNS41QzE1LjU4OTkgNS41IDE4LjUgOC40MTAxNSAxOC41IDEyQzE4LjUgMTMuNzE1MyAxNy44MzU2IDE1LjI3NTUgMTYuNzUgMTYuNDM3MVYxNkMxNi43NSAxNC40ODEyIDE1LjUxODggMTMuMjUgMTQgMTMuMjVIMTBDOC40ODEyMiAxMy4yNSA3LjI1IDE0LjQ4MTIgNy4yNSAxNlYxNi40MzcxWk04Ljc1IDE3LjYzMDRDOS43MDYwNiAxOC4xODM1IDEwLjgxNjEgMTguNSAxMiAxOC41QzEzLjE4MzkgMTguNSAxNC4yOTM5IDE4LjE4MzUgMTUuMjUgMTcuNjMwNFYxNkMxNS4yNSAxNS4zMDk2IDE0LjY5MDQgMTQuNzUgMTQgMTQuNzVIMTBDOS4zMDk2NCAxNC43NSA4Ljc1IDE1LjMwOTYgOC43NSAxNlYxNy42MzA0Wk00IDEyQzQgNy41ODE3MiA3LjU4MTcyIDQgMTIgNEMxNi40MTgzIDQgMjAgNy41ODE3MiAyMCAxMkMyMCAxNi40MTgzIDE2LjQxODMgMjAgMTIgMjBDNy41ODE3MiAyMCA0IDE2LjQxODMgNCAxMlpNMTQgMTBDMTQgMTEuMTA0NiAxMy4xMDQ2IDEyIDEyIDEyQzEwLjg5NTQgMTIgMTAgMTEuMTA0NiAxMCAxMEMxMCA4Ljg5NTQzIDEwLjg5NTQgOCAxMiA4QzEzLjEwNDYgOCAxNCA4Ljg5NTQzIDE0IDEwWiIgZmlsbD0iIzg1MjZGRiIvPgo8L3N2Zz4K",alt:(0,M.__)("Avatar icon","woocommerce")})}),(0,T.jsxs)("div",{className:"wc-settings-email-preview-header-sender",children:[n,(0,T.jsxs)("span",{children:["<",r,">"]})]})]})]})},Us=({src:e,setIsLoading:n,settingsIds:o})=>{const[r,s]=(0,t.useState)(0),i=Vs();return(0,t.useEffect)((()=>{const e=async e=>{const t=e.target,o=t.id,r=t.value;n(!0);try{await ds()({path:`wc-admin-email/settings/email/save-transient?nonce=${i}`,method:"POST",data:{key:o,value:r}})}finally{t.dispatchEvent(new Event("transient-saved")),s((e=>e+1))}},t={};return o.forEach((n=>{t[n]=(0,w.debounce)(e,400);const o=jQuery(`#${n}`);o.length&&o.on("change",t[n])})),()=>{o.forEach((e=>{const n=jQuery(`#${e}`);n.length&&n.off("change",t[e])}))}}),[i,n,o,s]),(0,T.jsx)("iframe",{src:`${e}&hash=${r}`,title:(0,M.__)("Email preview frame","woocommerce"),onLoad:()=>n(!1)})};var Ws=i(56592),Gs=i(70444);const Ys=(0,T.jsx)(Gs.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24",children:(0,T.jsx)(Gs.Path,{d:"M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1.13 9.38l.35-6.46H8.52l.35 6.46h2.26zm-.09 3.36c.24-.23.37-.55.37-.96 0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35-.82.12-1.07.35-.37.55-.37.97c0 .41.13.73.38.96.26.23.61.34 1.06.34s.8-.11 1.05-.34z"})});var Qs=i(51393);const qs=({type:e})=>{const[n,o]=(0,t.useState)(!1),[r,s]=(0,t.useState)(""),[i,a]=(0,t.useState)(!1),[c,l]=(0,t.useState)(""),[u,m]=(0,t.useState)(""),p=Vs();return(0,T.jsxs)("div",{className:"wc-settings-email-preview-send",children:[(0,T.jsx)(d.Button,{variant:"secondary",onClick:()=>o(!0),children:(0,M.__)("Send a test email","woocommerce")}),n&&(0,T.jsxs)(d.Modal,{title:(0,M.__)("Send a test email","woocommerce"),onRequestClose:()=>{o(!1),a(!1)},className:"wc-settings-email-preview-send-modal",children:[(0,T.jsx)("p",{children:(0,M.__)("Send yourself a test email to check how your email looks in different email apps.","woocommerce")}),(0,T.jsx)(d.TextControl,{label:(0,M.__)("Send to","woocommerce"),type:"email",value:r,placeholder:(0,M.__)("Enter an email","woocommerce"),onChange:s}),c&&(0,T.jsxs)("div",{className:`wc-settings-email-preview-send-modal-notice wc-settings-email-preview-send-modal-notice-${u}`,children:[(0,T.jsx)(nr.Z,{icon:"success"===u?Ws.Z:Ys}),(0,T.jsx)("span",{children:c})]}),(0,T.jsxs)("div",{className:"wc-settings-email-preview-send-modal-buttons",children:[(0,T.jsx)(d.Button,{variant:"tertiary",onClick:()=>o(!1),children:(0,M.__)("Cancel","woocommerce")}),(0,T.jsx)(d.Button,{variant:"primary",onClick:async()=>{a(!0),l("");try{const t=await ds()({path:`wc-admin-email/settings/email/send-preview?nonce=${p}`,method:"POST",data:{email:r,type:e}});l(t.message),m("success")}catch(e){l(e.message),m("error")}a(!1)},isBusy:i,disabled:!(0,Qs.isValidEmail)(r)||i,children:i?(0,M.__)("Sending…","woocommerce"):(0,M.__)("Send test email","woocommerce")})]})]})]})},$s=({emailTypes:e,emailType:t,setEmailType:n})=>(0,T.jsx)("div",{className:"wc-settings-email-preview-type wc-settings-prevent-change-event",children:(0,T.jsx)(d.SelectControl,{onChange:n,options:e,value:t,"aria-label":(0,M.__)("Email preview type","woocommerce")})}),{Fill:Js}=(0,d.createSlotFill)(oe),Xs=(document.getElementById("adminmenu")?.clientWidth||160)+666+684+40,Ks=({emailTypes:e,previewUrl:n,settingsIds:o})=>{const[r,s]=(0,t.useState)(Zs),i=1===e.length,[a,c]=(0,t.useState)(i?e[0].value:"WC_Email_Customer_Processing_Order"),[l,u]=(0,t.useState)(!1),[m,p]=(0,t.useState)(!i&&window.innerWidth>Xs),h=`${n}&type=${a}`;return(0,t.useEffect)((()=>{if(i)return;const e=(0,w.debounce)((()=>{p(window.innerWidth>Xs)}),400);return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[i]),(0,T.jsx)(Js,{children:(0,T.jsxs)("div",{className:"wc-settings-email-preview-container "+(m?"wc-settings-email-preview-container-floating":""),children:[(0,T.jsxs)("div",{className:"wc-settings-email-preview-controls",children:[!i&&(0,T.jsx)($s,{emailTypes:e,emailType:a,setEmailType:e=>{u(!0),c(e)}}),(0,T.jsx)("div",{className:"wc-settings-email-preview-spinner",children:l&&(0,T.jsx)(d.Spinner,{})}),(0,T.jsx)("div",{style:{flexGrow:1}}),(0,T.jsx)(Bs,{deviceType:r,setDeviceType:s}),(0,T.jsx)(qs,{type:a})]}),(0,T.jsxs)("div",{className:`wc-settings-email-preview wc-settings-email-preview-${r}`,children:[(0,T.jsx)(Fs,{emailType:a}),(0,T.jsx)(Us,{src:h,setIsLoading:u,settingsIds:o})]})]})})},ei=s()("wc-admin:client");function ti(e,t){let n=parseInt(e.slice(1,3),16),o=parseInt(e.slice(3,5),16),r=parseInt(e.slice(5,7),16);return n=Math.floor(255*(1-t)+t*n),o=Math.floor(255*(1-t)+t*o),r=Math.floor(255*(1-t)+t*r),"#"+n.toString(16).padStart(2,"0")+o.toString(16).padStart(2,"0")+r.toString(16).padStart(2,"0")}i(79524);var ni=i(72471),oi=i(5142);const ri=["activity-panel-header-item"];let si=!1;const ii=({title:e,backLink:t,description:n,hasButton:o,buttonLabel:r,onButtonClick:s})=>(si||((0,b.getPlugins)("woocommerce-admin").forEach((e=>{ri.includes(e.name)&&(0,b.unregisterPlugin)(e.name)})),(0,b.registerPlugin)("settings-payments-offline-header",{render:()=>(0,T.jsxs)(T.Fragment,{children:[t&&(0,T.jsx)(x.WooHeaderNavigationItem,{children:(0,T.jsx)(oi.x,{href:t,title:e})}),(0,T.jsx)(x.WooHeaderPageTitle,{children:(0,T.jsx)("span",{className:"woocommerce-settings-payments-header__title",children:e})}),o&&(0,T.jsx)(x.WooHeaderItem,{children:(0,T.jsx)(d.Button,{variant:"primary",onClick:s,isBusy:!1,disabled:!1,children:r})}),n&&(0,T.jsx)(x.WooHeaderItem,{children:(0,T.jsx)("div",{className:"woocommerce-settings-payments-header__description",children:n})})]}),scope:"woocommerce-admin"}),si=!0),null);var ai=i(4622),ci=i(44443);const li=(0,t.lazy)((()=>Promise.all([i.e(1149),i.e(5712)]).then(i.bind(i,83777)))),di=(0,t.lazy)((()=>i.e(1402).then(i.bind(i,89543)))),ui=(0,t.lazy)((()=>i.e(8534).then(i.bind(i,17743)))),mi=(0,t.lazy)((()=>i.e(318).then(i.bind(i,20946)))),pi=e=>{const t=document.querySelector(".woo-nav-tab-wrapper");t&&(t.style.display=e)},hi=()=>{const e=(0,p.TH)();return(0,t.useEffect)((()=>{""===e.pathname&&pi("block")}),[e]),(0,T.jsx)(T.Fragment,{children:(0,T.jsx)(t.Suspense,{fallback:(0,T.jsx)(T.Fragment,{children:(0,T.jsxs)("div",{className:"settings-payments-main__container",children:[(0,T.jsxs)("div",{className:"settings-payment-gateways",children:[(0,T.jsxs)("div",{className:"settings-payment-gateways__header",children:[(0,T.jsx)("div",{className:"settings-payment-gateways__header-title",children:(0,M.__)("Payment providers","woocommerce")}),(0,T.jsx)("div",{className:"settings-payment-gateways__header-select-container",children:(0,T.jsx)(d.SelectControl,{className:"woocommerce-select-control__country",prefix:(0,M.__)("Business location :","woocommerce"),placeholder:"",label:"",options:[],onChange:()=>{}})})]}),(0,T.jsx)(ai.a,{rows:5})]}),(0,T.jsx)("div",{className:"other-payment-gateways",children:(0,T.jsxs)("div",{className:"other-payment-gateways__header",children:[(0,T.jsxs)("div",{className:"other-payment-gateways__header__title",children:[(0,T.jsx)("span",{children:(0,M.__)("Other payment options","woocommerce")}),(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)("div",{className:"other-payment-gateways__header__title__image-placeholder"}),(0,T.jsx)("div",{className:"other-payment-gateways__header__title__image-placeholder"}),(0,T.jsx)("div",{className:"other-payment-gateways__header__title__image-placeholder"})]})]}),(0,T.jsx)(d.Button,{variant:"link",onClick:()=>{},"aria-expanded":!1,children:(0,T.jsx)(ni.Z,{icon:"chevron-down"})})]})})]})}),children:(0,T.jsx)(li,{})})})},fi=()=>{const e=(0,p.TH)(),[n,r]=(0,t.useState)({}),[s,i]=(0,t.useState)(!1),{providers:a}=(0,m.useSelect)((e=>({isFetching:e(o.PAYMENT_SETTINGS_STORE_NAME).isFetching(),providers:e(o.PAYMENT_SETTINGS_STORE_NAME).getPaymentProviders()||[]})),[]),c=(0,ci.Z0)(a),l=(0,t.useCallback)((()=>{(0,_.recordEvent)("wcpay_settings_payment_methods_continue",{selected_payment_methods:Object.keys(n).filter((e=>n[e])).join(", "),deselected_payment_methods:Object.keys(n).filter((e=>!n[e])).join(", ")}),i(!0);const e=c?.onboarding?._links.onboard.href||(0,ci.SN)();window.location.href=e+"&capabilities="+encodeURIComponent(JSON.stringify(n))}),[n,c]);return(0,t.useEffect)((()=>{window.scrollTo(0,0),"/payment-methods"===e.pathname&&(pi("none"),(0,_.recordEvent)("wcpay_settings_payment_methods_pageview"))}),[e]),(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)("div",{className:"woocommerce-layout__header woocommerce-recommended-payment-methods",children:(0,T.jsxs)("div",{className:"woocommerce-layout__header-wrapper",children:[(0,T.jsx)(oi.x,{href:(0,v.getNewPath)({},""),title:(0,M.__)("Return to gateways","woocommerce"),isRoute:!0}),(0,T.jsx)("h1",{className:"components-truncate components-text woocommerce-layout__header-heading woocommerce-layout__header-left-align",children:(0,T.jsx)("span",{className:"woocommerce-settings-payments-header__title",children:(0,M.__)("Choose your payment methods","woocommerce")})}),(0,T.jsx)(d.Button,{className:"components-button is-primary",onClick:l,isBusy:s,disabled:s,children:(0,M.__)("Continue","woocommerce")}),(0,T.jsx)("div",{className:"woocommerce-settings-payments-header__description",children:(0,M.__)("Select which payment methods you'd like to offer to your shoppers. You can update these here at any time.","woocommerce")})]})}),(0,T.jsx)(t.Suspense,{fallback:(0,T.jsx)(T.Fragment,{children:(0,T.jsx)("div",{className:"settings-payments-recommended__container",children:(0,T.jsx)("div",{className:"settings-payment-gateways",children:(0,T.jsx)(ai.a,{rows:3,hasDragIcon:!1})})})}),children:(0,T.jsx)(di,{paymentMethodsState:n,setPaymentMethodsState:r})})]})},gi=()=>(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(ii,{title:(0,M.__)("WooCommerce Settings","woocommerce")}),(0,T.jsx)(h.M,{history:(0,v.getHistory)(),children:(0,T.jsxs)(p.Z5,{children:[(0,T.jsx)(p.AW,{path:"/",element:(0,T.jsx)(hi,{})}),(0,T.jsx)(p.AW,{path:"/payment-methods",element:(0,T.jsx)(fi,{})})]})})]}),yi=()=>(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(ii,{title:(0,M.__)("Take offline payments","woocommerce"),backLink:(0,q.getAdminLink)("admin.php?page=wc-settings&tab=checkout")}),(0,T.jsx)(t.Suspense,{fallback:(0,T.jsx)(T.Fragment,{children:(0,T.jsx)("div",{className:"settings-payments-offline__container",children:(0,T.jsxs)("div",{className:"settings-payment-gateways",children:[(0,T.jsx)("div",{className:"settings-payment-gateways__header",children:(0,T.jsx)("div",{className:"settings-payment-gateways__header-title",children:(0,M.__)("Payment methods","woocommerce")})}),(0,T.jsx)(ai.a,{rows:3})]})})}),children:(0,T.jsx)(ui,{})})]}),wi=()=>(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(ii,{title:(0,M.__)("WooCommerce Settings","woocommerce")}),(0,T.jsx)(t.Suspense,{fallback:(0,T.jsx)("div",{children:"Loading WooPayments settings..."}),children:(0,T.jsx)(mi,{})})]});var vi=i(66143),_i=i(19881);class bi extends f.Component{constructor(e){super(e),(0,vi.Z)(this,"handleRefresh",(()=>{window.location.reload()})),(0,vi.Z)(this,"handleOpenSupport",(()=>{window.open("https://wordpress.org/support/plugin/woocommerce/","_blank")})),this.state={hasError:!1,error:null,errorInfo:null}}static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,t){this.setState({errorInfo:t}),(0,_.bumpStat)("error","unhandled-js-error-during-render");const n=t.componentStack.trim().split("\n").slice(0,10).map((e=>e.trim()));(0,_i.captureException)(e,{severity:"critical",extra:{componentStack:n}})}render(){return this.state.hasError?(0,T.jsxs)("div",{className:"woocommerce-global-error-boundary",children:[(0,T.jsx)("h1",{className:"woocommerce-global-error-boundary__heading",children:(0,M.__)("Oops, something went wrong","woocommerce")}),(0,T.jsx)("p",{className:"woocommerce-global-error-boundary__subheading",children:(0,M.__)("We’re sorry for the inconvenience. Please try reloading the page, or you can get support from the community forums.","woocommerce")}),(0,T.jsxs)("div",{className:"woocommerce-global-error-boundary__actions",children:[(0,T.jsx)(d.Button,{variant:"secondary",onClick:this.handleOpenSupport,children:(0,M.__)("Get Support","woocommerce")}),(0,T.jsx)(d.Button,{variant:"primary",onClick:this.handleRefresh,children:(0,M.__)("Reload Page","woocommerce")})]}),(0,T.jsxs)("details",{className:"woocommerce-global-error-boundary__details",children:[(0,T.jsx)("summary",{children:(0,M.__)("Click for error details","woocommerce")}),(0,T.jsxs)("div",{className:"woocommerce-global-error-boundary__details-content",children:[(0,T.jsx)("strong",{className:"woocommerce-global-error-boundary__error",children:this.state.error&&this.state.error.toString()}),(0,T.jsx)("p",{children:this.state.errorInfo&&this.state.errorInfo.componentStack})]})]})]}):this.props.children}}(0,c.k)();const xi=s()("wc-admin:client"),Ci=document.getElementById("root"),Ei=document.getElementById("woocommerce-embedded-root"),Mi="wc_admin",ji=(0,l.O3)("currentUserData");if((()=>{const e=window.getComputedStyle(document.body).getPropertyValue("--wp-admin-theme-color").trim();document.documentElement.style.setProperty("--wp-admin-theme-color-background-04",ti(e,.04)),document.documentElement.style.setProperty("--wp-admin-theme-color-background-25",ti(e,.25))})(),Ci){let e=(0,o.withSettingsHydration)(Mi,window.wcSettings.admin)(Rr);const n=!!window.wcSettings.admin&&window.wcSettings.admin.preloadSettings;n&&n.general&&(e=(0,o.withSettingsHydration)("general",{general:n.general})(e)),ji&&(e=(0,o.withCurrentUserHydration)(ji)(e)),(0,t.createRoot)(Ci).render((0,T.jsx)(bi,{children:(0,T.jsx)(e,{})}))}else Ei&&((e,n,r)=>{try{((e,n,r)=>{let s=(0,o.withSettingsHydration)(r,window.wcSettings?.admin)(Hr);n&&(s=(0,o.withCurrentUserHydration)(n)(s)),(0,t.createRoot)(e).render((0,T.jsx)(s,{}))})(e,n,r),e.classList.remove("is-embed-loading");const s=document.getElementById("wpbody-content");if(!s)return ei("WP Body content element not found"),!1;const i=(e=>e.querySelector(".wrap.woocommerce")||document.querySelector("#wpbody-content > .woocommerce")||e.querySelector(".wrap")||(ei("Wrap element not found"),null))(s);return!!i&&(((e,n)=>{const o=document.createElement("div");(0,t.createRoot)(e.insertBefore(o,n)).render((0,T.jsx)("div",{className:"woocommerce-layout",children:(0,T.jsx)(Ar,{})}))})(s,i),((e,n)=>{const o=document.createElement("div");(0,t.createRoot)(e.insertBefore(o,n.nextSibling)).render((0,T.jsx)(qr,{}))})(s,i),(()=>{[{id:"wc_payments_settings_slotfill",scope:"woocommerce-payments-settings"},{id:"wc_tax_settings_slotfill",scope:"woocommerce-tax-settings"},{id:"wc_settings_slotfill",scope:"woocommerce-settings"},{id:"wc_settings_site_visibility_slotfill",scope:"woocommerce-site-visibility-settings"},{id:"wc_settings_blueprint_slotfill",scope:"woocommerce-blueprint-settings"},{id:"wc_settings_email_preview_slotfill",scope:"woocommerce-email-preview-settings"},{id:"wc_settings_email_image_url_slotfill",scope:"woocommerce-email-image-url-settings"},{id:"wc_settings_email_color_palette_slotfill",scope:"woocommerce-email-color-palette-settings"}].forEach((e=>{const n=document.getElementById(e.id);n&&(0,t.createRoot)(n).render((0,T.jsx)(T.Fragment,{children:(0,T.jsxs)(d.SlotFillProvider,{children:[(0,T.jsx)(re,{}),(0,T.jsx)(b.PluginArea,{scope:e.scope})]})}))})),(0,b.registerPlugin)("woocommerce-admin-tax-settings-conflict-warning",{scope:"woocommerce-tax-settings",render:es}),(0,b.registerPlugin)("woocommerce-admin-paymentsgateways-settings-banner",{scope:"woocommerce-payments-settings",render:cs});const e=window.wcAdminFeatures;!0===e?.["launch-your-store"]&&(0,b.registerPlugin)("woocommerce-admin-site-visibility-settings-slotfill",{scope:"woocommerce-site-visibility-settings",render:le}),!0===e?.blueprint&&(0,b.registerPlugin)("woocommerce-admin-blueprint-settings-slotfill",{scope:"woocommerce-blueprint-settings",render:_s}),(()=>{const e=document.getElementById(xs.UU);e&&(0,t.createRoot)(e).render((0,T.jsx)(T.Fragment,{children:(0,T.jsxs)(d.SlotFillProvider,{children:[(0,T.jsx)(Cs,{}),(0,T.jsx)(b.PluginArea,{scope:xs.i5})]})}))})(),(0,b.registerPlugin)("woocommerce-admin-order-editor-order-attribution-install-banner-slotfill",{scope:xs.i5,render:Ms}),k("email_improvements")&&((()=>{const e=document.getElementById("wc_settings_email_color_palette_slotfill"),t=e?.getAttribute("data-default-colors");let n={};try{const{base_color_default:e,bg_color_default:o,body_bg_color_default:r,body_text_color_default:s,footer_text_color_default:i}=JSON.parse(t||"");n={baseColor:e,bgColor:o,bodyBgColor:r,bodyTextColor:s,footerTextColor:i}}catch(e){}const o=null!==e?.getAttribute("data-has-theme-json");(0,b.registerPlugin)("woocommerce-admin-settings-email-color-palette",{scope:"woocommerce-email-color-palette-settings",render:()=>(0,T.jsx)(Ls,{defaultColors:n,hasThemeJson:o})})})(),(()=>{const e=document.getElementById("wc_settings_email_image_url_slotfill"),t=e?.getAttribute("data-image-url")||"",n=e?.getAttribute("data-id")||"";(0,b.registerPlugin)("woocommerce-admin-settings-email-image-url",{scope:"woocommerce-email-image-url-settings",render:()=>(0,T.jsx)(Hs,{inputId:n,initImageUrl:t})})})(),(()=>{const e=document.getElementById("wc_settings_email_preview_slotfill");if(!e)return null;const t=e.getAttribute("data-preview-url");if(!t)return null;const n=e.getAttribute("data-email-types");let o=[];try{o=JSON.parse(n||"")}catch(e){}const r=e.getAttribute("data-email-settings-ids");let s=[];try{s=JSON.parse(r||"")}catch(e){}(0,b.registerPlugin)("woocommerce-admin-settings-email-preview",{scope:"woocommerce-email-preview-settings",render:()=>(0,T.jsx)(Ks,{settingsIds:s,emailTypes:o,previewUrl:t})})})())})(),!0)}catch(e){console.error("Failed to initialize embedded layout:",e)}})(Ei,ji,Mi);window.wcAdminFeatures&&!0===window.wcAdminFeatures["customer-effort-score-tracks"]&&function(){const e=Ci||Ei;e?(0,t.createRoot)(e.insertBefore(document.createElement("div"),null)).render((0,T.jsx)(n.CustomerEffortScoreTracksContainer,{})):xi("Customer Effort Score Tracks root not found")}(),window.wcAdminFeatures&&!0===window.wcAdminFeatures["reactify-classic-payments-settings"]&&function(){const e=document.getElementById("experimental_wc_settings_payments_main"),n=document.getElementById("experimental_wc_settings_payments_offline"),o=document.getElementById("experimental_wc_settings_payments_woocommerce_payments");e&&(0,t.createRoot)(e.insertBefore(document.createElement("div"),null)).render((0,T.jsx)(gi,{})),n&&(0,t.createRoot)(n.insertBefore(document.createElement("div"),null)).render((0,T.jsx)(yi,{})),o&&(0,t.createRoot)(o.insertBefore(document.createElement("div"),null)).render((0,T.jsx)(wi,{}))}()})(),(window.wc=window.wc||{}).app=a})();