@aws-amplify/ui-vue 2.3.0 → 2.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/dist/components/alias-control.vue.d.ts +6 -0
  2. package/dist/components/alias-control.vue.d.ts.map +1 -1
  3. package/dist/components/authenticator-force-new-password-form-fields.vue.d.ts.map +1 -1
  4. package/dist/components/authenticator-sign-up-form-fields.vue.d.ts.map +1 -1
  5. package/dist/components/confirm-reset-password.vue.d.ts.map +1 -1
  6. package/dist/components/confirm-sign-in.vue.d.ts.map +1 -1
  7. package/dist/components/confirm-sign-up.vue.d.ts.map +1 -1
  8. package/dist/components/confirm-verify-user.vue.d.ts.map +1 -1
  9. package/dist/components/force-new-password.vue.d.ts.map +1 -1
  10. package/dist/components/index.d.ts +2 -1
  11. package/dist/components/index.d.ts.map +1 -1
  12. package/dist/components/primitives/base-form-field.vue.d.ts +21 -0
  13. package/dist/components/primitives/base-form-field.vue.d.ts.map +1 -0
  14. package/dist/components/primitives/base-form-fields.vue.d.ts +11 -0
  15. package/dist/components/primitives/base-form-fields.vue.d.ts.map +1 -0
  16. package/dist/components/reset-password.vue.d.ts.map +1 -1
  17. package/dist/components/setup-totp.vue.d.ts.map +1 -1
  18. package/dist/components/sign-in.vue.d.ts.map +1 -1
  19. package/dist/components/sign-up.vue.d.ts.map +1 -1
  20. package/dist/composables/useUtils.d.ts +1 -15
  21. package/dist/composables/useUtils.d.ts.map +1 -1
  22. package/dist/index.cjs +29 -29
  23. package/dist/index.d.ts +2 -2
  24. package/dist/index.d.ts.map +1 -1
  25. package/dist/index.js +2389 -2849
  26. package/dist/types/index.d.ts +2 -3
  27. package/dist/types/index.d.ts.map +1 -1
  28. package/package.json +7 -2
  29. package/dist/components/primitives/base-box.vue.d.ts +0 -3
  30. package/dist/components/primitives/base-box.vue.d.ts.map +0 -1
  31. package/dist/components/user-name-alias.vue.d.ts +0 -55
  32. package/dist/components/user-name-alias.vue.d.ts.map +0 -1
package/dist/index.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";var yl=Object.defineProperty,bl=Object.defineProperties;var Cl=Object.getOwnPropertyDescriptors;var Za=Object.getOwnPropertySymbols;var wl=Object.prototype.hasOwnProperty,Sl=Object.prototype.propertyIsEnumerable;var Xa=(e,t,r)=>t in e?yl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Mt=(e,t)=>{for(var r in t||(t={}))wl.call(t,r)&&Xa(e,r,t[r]);if(Za)for(var r of Za(t))Sl.call(t,r)&&Xa(e,r,t[r]);return e},on=(e,t)=>bl(e,Cl(t));Object.defineProperty(exports,"__esModule",{value:!0});exports[Symbol.toStringTag]="Module";var n=require("vue"),me=require("aws-amplify");const We=n.defineComponent({setup(e){let t=n.useSlots();return(r,a)=>n.renderSlot(r.$slots,"fieldSetI",n.mergeProps(r.$attrs,{slotData:n.unref(t).default&&n.unref(t).default()}),()=>[n.createElementVNode("fieldset",n.mergeProps(r.$attrs,{"data-amplify-fieldset":""}),[n.renderSlot(r.$slots,"default")],16)])}}),$e=n.defineComponent({props:{type:null,fullWidth:{type:[Boolean,String]},size:null,variation:null,fontWeight:null},setup(e){const{type:t,fullWidth:r,size:a,variation:o,fontWeight:i}=e;return(s,l)=>n.renderSlot(s.$slots,"buttont",n.normalizeProps(n.guardReactiveProps(s.$attrs)),()=>[n.createElementVNode("button",n.mergeProps({class:"amplify-button",type:t,style:{fontWeight:i},"data-fullwidth":r,"data-size":a,"data-fontWeight":i,"data-variation":o},s.$attrs,{"data-amplify-button":""}),[n.renderSlot(s.$slots,"default")],16)])}}),_l={key:0,class:"amplify-flex amplify-alert","data-variation":"error",style:{"align-items":"center","justify-content":"space-between"},role:"alert"},xl={class:"amplify-flex",style:{"align-items":"center"}},El=n.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",class:"amplify-icon",viewBox:"0 0 24 24",fill:"currentColor"},[n.createElementVNode("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"})],-1),Al=n.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",class:"amplify-icon",viewBox:"0 0 24 24",fill:"currentColor"},[n.createElementVNode("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})],-1),Ke={setup(e){const t=n.ref(!0);function r(){t.value=!1}return(a,o)=>{const i=$e;return t.value?(n.openBlock(),n.createElementBlock("div",_l,[n.createElementVNode("div",xl,[El,n.createElementVNode("div",null,[n.renderSlot(a.$slots,"default")])]),n.createVNode(i,{class:"amplify-field-group__control","data-fullwidth":"false","data-variation":"link",type:"button",onClick:r},{default:n.withCtx(()=>[Al]),_:1})])):n.createCommentVNode("",!0)}}};var zt=(e,t)=>{const r=e.__vccOpts||e;for(const[a,o]of t)r[a]=o;return r};const Il={};function kl(e,t){return n.openBlock(),n.createElementBlock("div",null,[n.renderSlot(e.$slots,"default")])}var Ee=zt(Il,[["render",kl]]);const qe=n.defineComponent({setup(e){let t=n.useSlots();return(r,a)=>n.renderSlot(r.$slots,"formt",n.mergeProps(r.$attrs,{slotData:n.unref(t).default&&n.unref(t).default()}),()=>[n.createElementVNode("form",n.mergeProps({"data-amplify-form":""},r.$attrs),[n.renderSlot(r.$slots,"default")],16)])}}),Ye=n.defineComponent({setup(e){let t=n.useSlots();return(r,a)=>n.renderSlot(r.$slots,"footert",n.mergeProps(r.$attrs,{slotData:n.unref(t).default&&n.unref(t).default()}),()=>[n.createElementVNode("footer",n.normalizeProps(n.guardReactiveProps(r.$attrs)),[n.renderSlot(r.$slots,"default")],16)])}});function Pl(e){return n.getCurrentScope()?(n.onScopeDispose(e),!0):!1}function Oe(e){let t=0,r,a;const o=()=>{t-=1,a&&t<=0&&(a.stop(),r=void 0,a=void 0)};return(...i)=>(t+=1,r||(a=n.effectScope(!0),r=a.run(()=>e(...i))),Pl(o),r)}var ir=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Nl(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach(function(r){var a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:function(){return e[r]}})}),t}function Tl(e,t,r,a){for(var o=e.length,i=r+(a?1:-1);a?i--:++i<o;)if(t(e[i],i,e))return i;return-1}var $l=Tl;function Bl(e){return e!==e}var Fl=Bl;function Dl(e,t,r){for(var a=r-1,o=e.length;++a<o;)if(e[a]===t)return a;return-1}var Rl=Dl,Ol=$l,Vl=Fl,Ul=Rl;function Ml(e,t,r){return t===t?Ul(e,t,r):Ol(e,Vl,r)}var zl=Ml,Ll=typeof ir=="object"&&ir&&ir.Object===Object&&ir,Ja=Ll,jl=Ja,Gl=typeof self=="object"&&self&&self.Object===Object&&self,Hl=jl||Gl||Function("return this")(),Ze=Hl,Wl=Ze,Kl=Wl.Symbol,sr=Kl,Qa=sr,eo=Object.prototype,ql=eo.hasOwnProperty,Yl=eo.toString,Lt=Qa?Qa.toStringTag:void 0;function Zl(e){var t=ql.call(e,Lt),r=e[Lt];try{e[Lt]=void 0;var a=!0}catch{}var o=Yl.call(e);return a&&(t?e[Lt]=r:delete e[Lt]),o}var Xl=Zl,Jl=Object.prototype,Ql=Jl.toString;function eu(e){return Ql.call(e)}var tu=eu,to=sr,ru=Xl,nu=tu,au="[object Null]",ou="[object Undefined]",ro=to?to.toStringTag:void 0;function iu(e){return e==null?e===void 0?ou:au:ro&&ro in Object(e)?ru(e):nu(e)}var ct=iu;function su(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Xe=su,lu=ct,uu=Xe,cu="[object AsyncFunction]",du="[object Function]",fu="[object GeneratorFunction]",vu="[object Proxy]";function pu(e){if(!uu(e))return!1;var t=lu(e);return t==du||t==fu||t==cu||t==vu}var sn=pu,mu=9007199254740991;function hu(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=mu}var ln=hu,gu=sn,yu=ln;function bu(e){return e!=null&&yu(e.length)&&!gu(e)}var pt=bu,Cu=Array.isArray,Le=Cu;function wu(e){return e!=null&&typeof e=="object"}var ot=wu,Su=ct,_u=Le,xu=ot,Eu="[object String]";function Au(e){return typeof e=="string"||!_u(e)&&xu(e)&&Su(e)==Eu}var Iu=Au,ku=/\s/;function Pu(e){for(var t=e.length;t--&&ku.test(e.charAt(t)););return t}var Nu=Pu,Tu=Nu,$u=/^\s+/;function Bu(e){return e&&e.slice(0,Tu(e)+1).replace($u,"")}var Fu=Bu,Du=ct,Ru=ot,Ou="[object Symbol]";function Vu(e){return typeof e=="symbol"||Ru(e)&&Du(e)==Ou}var lr=Vu,Uu=Fu,no=Xe,Mu=lr,ao=0/0,zu=/^[-+]0x[0-9a-f]+$/i,Lu=/^0b[01]+$/i,ju=/^0o[0-7]+$/i,Gu=parseInt;function Hu(e){if(typeof e=="number")return e;if(Mu(e))return ao;if(no(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=no(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Uu(e);var r=Lu.test(e);return r||ju.test(e)?Gu(e.slice(2),r?2:8):zu.test(e)?ao:+e}var Wu=Hu,Ku=Wu,oo=1/0,qu=17976931348623157e292;function Yu(e){if(!e)return e===0?e:0;if(e=Ku(e),e===oo||e===-oo){var t=e<0?-1:1;return t*qu}return e===e?e:0}var Zu=Yu,Xu=Zu;function Ju(e){var t=Xu(e),r=t%1;return t===t?r?t-r:t:0}var Qu=Ju;function ec(e,t){for(var r=-1,a=e==null?0:e.length,o=Array(a);++r<a;)o[r]=t(e[r],r,e);return o}var un=ec,tc=un;function rc(e,t){return tc(t,function(r){return e[r]})}var nc=rc;function ac(e,t){for(var r=-1,a=Array(e);++r<e;)a[r]=t(r);return a}var oc=ac,ic=ct,sc=ot,lc="[object Arguments]";function uc(e){return sc(e)&&ic(e)==lc}var cc=uc,io=cc,dc=ot,so=Object.prototype,fc=so.hasOwnProperty,vc=so.propertyIsEnumerable,pc=io(function(){return arguments}())?io:function(e){return dc(e)&&fc.call(e,"callee")&&!vc.call(e,"callee")},ur=pc,mt={exports:{}};function mc(){return!1}var hc=mc;(function(e,t){var r=Ze,a=hc,o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,s=i&&i.exports===o,l=s?r.Buffer:void 0,u=l?l.isBuffer:void 0,d=u||a;e.exports=d})(mt,mt.exports);var gc=9007199254740991,yc=/^(?:0|[1-9]\d*)$/;function bc(e,t){var r=typeof e;return t=t==null?gc:t,!!t&&(r=="number"||r!="symbol"&&yc.test(e))&&e>-1&&e%1==0&&e<t}var cr=bc,Cc=ct,wc=ln,Sc=ot,_c="[object Arguments]",xc="[object Array]",Ec="[object Boolean]",Ac="[object Date]",Ic="[object Error]",kc="[object Function]",Pc="[object Map]",Nc="[object Number]",Tc="[object Object]",$c="[object RegExp]",Bc="[object Set]",Fc="[object String]",Dc="[object WeakMap]",Rc="[object ArrayBuffer]",Oc="[object DataView]",Vc="[object Float32Array]",Uc="[object Float64Array]",Mc="[object Int8Array]",zc="[object Int16Array]",Lc="[object Int32Array]",jc="[object Uint8Array]",Gc="[object Uint8ClampedArray]",Hc="[object Uint16Array]",Wc="[object Uint32Array]",he={};he[Vc]=he[Uc]=he[Mc]=he[zc]=he[Lc]=he[jc]=he[Gc]=he[Hc]=he[Wc]=!0;he[_c]=he[xc]=he[Rc]=he[Ec]=he[Oc]=he[Ac]=he[Ic]=he[kc]=he[Pc]=he[Nc]=he[Tc]=he[$c]=he[Bc]=he[Fc]=he[Dc]=!1;function Kc(e){return Sc(e)&&wc(e.length)&&!!he[Cc(e)]}var qc=Kc;function Yc(e){return function(t){return e(t)}}var Zc=Yc,cn={exports:{}};(function(e,t){var r=Ja,a=t&&!t.nodeType&&t,o=a&&!0&&e&&!e.nodeType&&e,i=o&&o.exports===a,s=i&&r.process,l=function(){try{var u=o&&o.require&&o.require("util").types;return u||s&&s.binding&&s.binding("util")}catch{}}();e.exports=l})(cn,cn.exports);var Xc=qc,Jc=Zc,lo=cn.exports,uo=lo&&lo.isTypedArray,Qc=uo?Jc(uo):Xc,dr=Qc,ed=oc,td=ur,rd=Le,nd=mt.exports,ad=cr,od=dr,id=Object.prototype,sd=id.hasOwnProperty;function ld(e,t){var r=rd(e),a=!r&&td(e),o=!r&&!a&&nd(e),i=!r&&!a&&!o&&od(e),s=r||a||o||i,l=s?ed(e.length,String):[],u=l.length;for(var d in e)(t||sd.call(e,d))&&!(s&&(d=="length"||o&&(d=="offset"||d=="parent")||i&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||ad(d,u)))&&l.push(d);return l}var co=ld,ud=Object.prototype;function cd(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||ud;return e===r}var fr=cd;function dd(e,t){return function(r){return e(t(r))}}var fo=dd,fd=fo,vd=fd(Object.keys,Object),pd=vd,md=fr,hd=pd,gd=Object.prototype,yd=gd.hasOwnProperty;function bd(e){if(!md(e))return hd(e);var t=[];for(var r in Object(e))yd.call(e,r)&&r!="constructor"&&t.push(r);return t}var vo=bd,Cd=co,wd=vo,Sd=pt;function _d(e){return Sd(e)?Cd(e):wd(e)}var dn=_d,xd=nc,Ed=dn;function Ad(e){return e==null?[]:xd(e,Ed(e))}var Id=Ad,kd=zl,Pd=pt,Nd=Iu,Td=Qu,$d=Id,Bd=Math.max;function Fd(e,t,r,a){e=Pd(e)?e:$d(e),r=r&&!a?Td(r):0;var o=e.length;return r<0&&(r=Bd(o+r,0)),Nd(e)?r<=o&&e.indexOf(t,r)>-1:!!o&&kd(e,t,r)>-1}var Dd=Fd;/*! *****************************************************************************
1
+ "use strict";var Ru=Object.defineProperty,Du=Object.defineProperties;var Ou=Object.getOwnPropertyDescriptors;var oo=Object.getOwnPropertySymbols;var Uu=Object.prototype.hasOwnProperty,Vu=Object.prototype.propertyIsEnumerable;var io=(e,t,r)=>t in e?Ru(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,kt=(e,t)=>{for(var r in t||(t={}))Uu.call(t,r)&&io(e,r,t[r]);if(oo)for(var r of oo(t))Vu.call(t,r)&&io(e,r,t[r]);return e},fn=(e,t)=>Du(e,Ou(t));Object.defineProperty(exports,"__esModule",{value:!0});exports[Symbol.toStringTag]="Module";var a=require("vue"),ae=require("aws-amplify");const Re=a.defineComponent({setup(e){let t=a.useSlots();return(r,n)=>a.renderSlot(r.$slots,"fieldSetI",a.mergeProps(r.$attrs,{slotData:a.unref(t).default&&a.unref(t).default()}),()=>[a.createElementVNode("fieldset",a.mergeProps(r.$attrs,{"data-amplify-fieldset":""}),[a.renderSlot(r.$slots,"default")],16)])}}),we=a.defineComponent({props:{type:null,fullWidth:{type:[Boolean,String]},size:null,variation:null,fontWeight:null},setup(e){const{type:t,fullWidth:r,size:n,variation:o,fontWeight:i}=e;return(s,u)=>a.renderSlot(s.$slots,"buttont",a.normalizeProps(a.guardReactiveProps(s.$attrs)),()=>[a.createElementVNode("button",a.mergeProps({class:"amplify-button",type:t,style:{fontWeight:i},"data-fullwidth":r,"data-size":n,"data-fontWeight":i,"data-variation":o},s.$attrs,{"data-amplify-button":""}),[a.renderSlot(s.$slots,"default")],16)])}}),Mu={key:0,class:"amplify-flex amplify-alert","data-variation":"error",style:{"align-items":"center","justify-content":"space-between"},role:"alert"},Lu={class:"amplify-flex",style:{"align-items":"center"}},zu=a.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",class:"amplify-icon",viewBox:"0 0 24 24",fill:"currentColor"},[a.createElementVNode("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"})],-1),ju=a.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",class:"amplify-icon",viewBox:"0 0 24 24",fill:"currentColor"},[a.createElementVNode("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})],-1),De={setup(e){const t=a.ref(!0);function r(){t.value=!1}return(n,o)=>{const i=we;return t.value?(a.openBlock(),a.createElementBlock("div",Mu,[a.createElementVNode("div",Lu,[zu,a.createElementVNode("div",null,[a.renderSlot(n.$slots,"default")])]),a.createVNode(i,{class:"amplify-field-group__control","data-fullwidth":"false","data-variation":"link",type:"button",onClick:r},{default:a.withCtx(()=>[ju]),_:1})])):a.createCommentVNode("",!0)}}};var or=(e,t)=>{const r=e.__vccOpts||e;for(const[n,o]of t)r[n]=o;return r};const Gu={};function Wu(e,t){return a.openBlock(),a.createElementBlock("div",null,[a.renderSlot(e.$slots,"default")])}var he=or(Gu,[["render",Wu]]);const Oe=a.defineComponent({setup(e){let t=a.useSlots();return(r,n)=>a.renderSlot(r.$slots,"formt",a.mergeProps(r.$attrs,{slotData:a.unref(t).default&&a.unref(t).default()}),()=>[a.createElementVNode("form",a.mergeProps({"data-amplify-form":""},r.$attrs),[a.renderSlot(r.$slots,"default")],16)])}}),Ue=a.defineComponent({setup(e){let t=a.useSlots();return(r,n)=>a.renderSlot(r.$slots,"footert",a.mergeProps(r.$attrs,{slotData:a.unref(t).default&&a.unref(t).default()}),()=>[a.createElementVNode("footer",a.normalizeProps(a.guardReactiveProps(r.$attrs)),[a.renderSlot(r.$slots,"default")],16)])}});function Hu(e){return a.getCurrentScope()?(a.onScopeDispose(e),!0):!1}function $e(e){let t=0,r,n;const o=()=>{t-=1,n&&t<=0&&(n.stop(),r=void 0,n=void 0)};return(...i)=>(t+=1,r||(n=a.effectScope(!0),r=n.run(()=>e(...i))),Hu(o),r)}var ir=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Ku(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach(function(r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}),t}var qu=typeof ir=="object"&&ir&&ir.Object===Object&&ir,so=qu,Yu=so,Zu=typeof self=="object"&&self&&self.Object===Object&&self,Xu=Yu||Zu||Function("return this")(),Ve=Xu,Ju=Ve,Qu=Ju.Symbol,Nt=Qu,uo=Nt,lo=Object.prototype,el=lo.hasOwnProperty,tl=lo.toString,Bt=uo?uo.toStringTag:void 0;function rl(e){var t=el.call(e,Bt),r=e[Bt];try{e[Bt]=void 0;var n=!0}catch{}var o=tl.call(e);return n&&(t?e[Bt]=r:delete e[Bt]),o}var nl=rl,al=Object.prototype,ol=al.toString;function il(e){return ol.call(e)}var sl=il,co=Nt,ul=nl,ll=sl,cl="[object Null]",dl="[object Undefined]",fo=co?co.toStringTag:void 0;function fl(e){return e==null?e===void 0?dl:cl:fo&&fo in Object(e)?ul(e):ll(e)}var ot=fl;function vl(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Me=vl,pl=ot,ml=Me,hl="[object AsyncFunction]",gl="[object Function]",yl="[object GeneratorFunction]",bl="[object Proxy]";function Cl(e){if(!ml(e))return!1;var t=pl(e);return t==gl||t==yl||t==hl||t==bl}var vn=Cl,Sl=9007199254740991;function wl(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Sl}var pn=wl,_l=vn,xl=pn;function El(e){return e!=null&&xl(e.length)&&!_l(e)}var Ft=El,Al=Array.isArray,Ne=Al;function Il(e){return e!=null&&typeof e=="object"}var He=Il,$l=ot,Tl=He,Pl="[object Symbol]";function kl(e){return typeof e=="symbol"||Tl(e)&&$l(e)==Pl}var mn=kl;function Nl(e,t){for(var r=-1,n=e==null?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}var vo=Nl;function Bl(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var Fl=Bl,Rl=ot,Dl=He,Ol="[object Arguments]";function Ul(e){return Dl(e)&&Rl(e)==Ol}var Vl=Ul,po=Vl,Ml=He,mo=Object.prototype,Ll=mo.hasOwnProperty,zl=mo.propertyIsEnumerable,jl=po(function(){return arguments}())?po:function(e){return Ml(e)&&Ll.call(e,"callee")&&!zl.call(e,"callee")},sr=jl,rt={exports:{}};function Gl(){return!1}var Wl=Gl;(function(e,t){var r=Ve,n=Wl,o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,s=i&&i.exports===o,u=s?r.Buffer:void 0,l=u?u.isBuffer:void 0,d=l||n;e.exports=d})(rt,rt.exports);var Hl=9007199254740991,Kl=/^(?:0|[1-9]\d*)$/;function ql(e,t){var r=typeof e;return t=t==null?Hl:t,!!t&&(r=="number"||r!="symbol"&&Kl.test(e))&&e>-1&&e%1==0&&e<t}var ur=ql,Yl=ot,Zl=pn,Xl=He,Jl="[object Arguments]",Ql="[object Array]",ec="[object Boolean]",tc="[object Date]",rc="[object Error]",nc="[object Function]",ac="[object Map]",oc="[object Number]",ic="[object Object]",sc="[object RegExp]",uc="[object Set]",lc="[object String]",cc="[object WeakMap]",dc="[object ArrayBuffer]",fc="[object DataView]",vc="[object Float32Array]",pc="[object Float64Array]",mc="[object Int8Array]",hc="[object Int16Array]",gc="[object Int32Array]",yc="[object Uint8Array]",bc="[object Uint8ClampedArray]",Cc="[object Uint16Array]",Sc="[object Uint32Array]",oe={};oe[vc]=oe[pc]=oe[mc]=oe[hc]=oe[gc]=oe[yc]=oe[bc]=oe[Cc]=oe[Sc]=!0;oe[Jl]=oe[Ql]=oe[dc]=oe[ec]=oe[fc]=oe[tc]=oe[rc]=oe[nc]=oe[ac]=oe[oc]=oe[ic]=oe[sc]=oe[uc]=oe[lc]=oe[cc]=!1;function wc(e){return Xl(e)&&Zl(e.length)&&!!oe[Yl(e)]}var _c=wc;function xc(e){return function(t){return e(t)}}var hn=xc,Rt={exports:{}};(function(e,t){var r=so,n=t&&!t.nodeType&&t,o=n&&!0&&e&&!e.nodeType&&e,i=o&&o.exports===n,s=i&&r.process,u=function(){try{var l=o&&o.require&&o.require("util").types;return l||s&&s.binding&&s.binding("util")}catch{}}();e.exports=u})(Rt,Rt.exports);var Ec=_c,Ac=hn,ho=Rt.exports,go=ho&&ho.isTypedArray,Ic=go?Ac(go):Ec,lr=Ic,$c=Fl,Tc=sr,Pc=Ne,kc=rt.exports,Nc=ur,Bc=lr,Fc=Object.prototype,Rc=Fc.hasOwnProperty;function Dc(e,t){var r=Pc(e),n=!r&&Tc(e),o=!r&&!n&&kc(e),i=!r&&!n&&!o&&Bc(e),s=r||n||o||i,u=s?$c(e.length,String):[],l=u.length;for(var d in e)(t||Rc.call(e,d))&&!(s&&(d=="length"||o&&(d=="offset"||d=="parent")||i&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||Nc(d,l)))&&u.push(d);return u}var yo=Dc,Oc=Object.prototype;function Uc(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Oc;return e===r}var cr=Uc;function Vc(e,t){return function(r){return e(t(r))}}var bo=Vc,Mc=bo,Lc=Mc(Object.keys,Object),zc=Lc,jc=cr,Gc=zc,Wc=Object.prototype,Hc=Wc.hasOwnProperty;function Kc(e){if(!jc(e))return Gc(e);var t=[];for(var r in Object(e))Hc.call(e,r)&&r!="constructor"&&t.push(r);return t}var Co=Kc,qc=yo,Yc=Co,Zc=Ft;function Xc(e){return Zc(e)?qc(e):Yc(e)}var dr=Xc;function Jc(){this.__data__=[],this.size=0}var Qc=Jc;function ed(e,t){return e===t||e!==e&&t!==t}var Dt=ed,td=Dt;function rd(e,t){for(var r=e.length;r--;)if(td(e[r][0],t))return r;return-1}var fr=rd,nd=fr,ad=Array.prototype,od=ad.splice;function id(e){var t=this.__data__,r=nd(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():od.call(t,r,1),--this.size,!0}var sd=id,ud=fr;function ld(e){var t=this.__data__,r=ud(t,e);return r<0?void 0:t[r][1]}var cd=ld,dd=fr;function fd(e){return dd(this.__data__,e)>-1}var vd=fd,pd=fr;function md(e,t){var r=this.__data__,n=pd(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var hd=md,gd=Qc,yd=sd,bd=cd,Cd=vd,Sd=hd;function it(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}it.prototype.clear=gd;it.prototype.delete=yd;it.prototype.get=bd;it.prototype.has=Cd;it.prototype.set=Sd;var vr=it,wd=vr;function _d(){this.__data__=new wd,this.size=0}var xd=_d;function Ed(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}var Ad=Ed;function Id(e){return this.__data__.get(e)}var $d=Id;function Td(e){return this.__data__.has(e)}var Pd=Td,kd=Ve,Nd=kd["__core-js_shared__"],Bd=Nd,gn=Bd,So=function(){var e=/[^.]+$/.exec(gn&&gn.keys&&gn.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Fd(e){return!!So&&So in e}var Rd=Fd,Dd=Function.prototype,Od=Dd.toString;function Ud(e){if(e!=null){try{return Od.call(e)}catch{}try{return e+""}catch{}}return""}var wo=Ud,Vd=vn,Md=Rd,Ld=Me,zd=wo,jd=/[\\^$.*+?()[\]{}|]/g,Gd=/^\[object .+?Constructor\]$/,Wd=Function.prototype,Hd=Object.prototype,Kd=Wd.toString,qd=Hd.hasOwnProperty,Yd=RegExp("^"+Kd.call(qd).replace(jd,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Zd(e){if(!Ld(e)||Md(e))return!1;var t=Vd(e)?Yd:Gd;return t.test(zd(e))}var Xd=Zd;function Jd(e,t){return e==null?void 0:e[t]}var Qd=Jd,ef=Xd,tf=Qd;function rf(e,t){var r=tf(e,t);return ef(r)?r:void 0}var nt=rf,nf=nt,af=Ve,of=nf(af,"Map"),yn=of,sf=nt,uf=sf(Object,"create"),pr=uf,_o=pr;function lf(){this.__data__=_o?_o(null):{},this.size=0}var cf=lf;function df(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var ff=df,vf=pr,pf="__lodash_hash_undefined__",mf=Object.prototype,hf=mf.hasOwnProperty;function gf(e){var t=this.__data__;if(vf){var r=t[e];return r===pf?void 0:r}return hf.call(t,e)?t[e]:void 0}var yf=gf,bf=pr,Cf=Object.prototype,Sf=Cf.hasOwnProperty;function wf(e){var t=this.__data__;return bf?t[e]!==void 0:Sf.call(t,e)}var _f=wf,xf=pr,Ef="__lodash_hash_undefined__";function Af(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=xf&&t===void 0?Ef:t,this}var If=Af,$f=cf,Tf=ff,Pf=yf,kf=_f,Nf=If;function st(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}st.prototype.clear=$f;st.prototype.delete=Tf;st.prototype.get=Pf;st.prototype.has=kf;st.prototype.set=Nf;var Bf=st,xo=Bf,Ff=vr,Rf=yn;function Df(){this.size=0,this.__data__={hash:new xo,map:new(Rf||Ff),string:new xo}}var Of=Df;function Uf(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Vf=Uf,Mf=Vf;function Lf(e,t){var r=e.__data__;return Mf(t)?r[typeof t=="string"?"string":"hash"]:r.map}var mr=Lf,zf=mr;function jf(e){var t=zf(this,e).delete(e);return this.size-=t?1:0,t}var Gf=jf,Wf=mr;function Hf(e){return Wf(this,e).get(e)}var Kf=Hf,qf=mr;function Yf(e){return qf(this,e).has(e)}var Zf=Yf,Xf=mr;function Jf(e,t){var r=Xf(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}var Qf=Jf,ev=Of,tv=Gf,rv=Kf,nv=Zf,av=Qf;function ut(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}ut.prototype.clear=ev;ut.prototype.delete=tv;ut.prototype.get=rv;ut.prototype.has=nv;ut.prototype.set=av;var bn=ut,ov=vr,iv=yn,sv=bn,uv=200;function lv(e,t){var r=this.__data__;if(r instanceof ov){var n=r.__data__;if(!iv||n.length<uv-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new sv(n)}return r.set(e,t),this.size=r.size,this}var cv=lv,dv=vr,fv=xd,vv=Ad,pv=$d,mv=Pd,hv=cv;function lt(e){var t=this.__data__=new dv(e);this.size=t.size}lt.prototype.clear=fv;lt.prototype.delete=vv;lt.prototype.get=pv;lt.prototype.has=mv;lt.prototype.set=hv;var hr=lt;function gv(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var yv=gv,bv=nt,Cv=function(){try{var e=bv(Object,"defineProperty");return e({},"",{}),e}catch{}}(),Eo=Cv,Ao=Eo;function Sv(e,t,r){t=="__proto__"&&Ao?Ao(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var Cn=Sv,wv=Cn,_v=Dt,xv=Object.prototype,Ev=xv.hasOwnProperty;function Av(e,t,r){var n=e[t];(!(Ev.call(e,t)&&_v(n,r))||r===void 0&&!(t in e))&&wv(e,t,r)}var Sn=Av,Iv=Sn,$v=Cn;function Tv(e,t,r,n){var o=!r;r||(r={});for(var i=-1,s=t.length;++i<s;){var u=t[i],l=n?n(r[u],e[u],u,r,e):void 0;l===void 0&&(l=e[u]),o?$v(r,u,l):Iv(r,u,l)}return r}var Ot=Tv,Pv=Ot,kv=dr;function Nv(e,t){return e&&Pv(t,kv(t),e)}var Bv=Nv;function Fv(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var Rv=Fv,Dv=Me,Ov=cr,Uv=Rv,Vv=Object.prototype,Mv=Vv.hasOwnProperty;function Lv(e){if(!Dv(e))return Uv(e);var t=Ov(e),r=[];for(var n in e)n=="constructor"&&(t||!Mv.call(e,n))||r.push(n);return r}var zv=Lv,jv=yo,Gv=zv,Wv=Ft;function Hv(e){return Wv(e)?jv(e,!0):Gv(e)}var Ut=Hv,Kv=Ot,qv=Ut;function Yv(e,t){return e&&Kv(t,qv(t),e)}var Zv=Yv,gr={exports:{}};(function(e,t){var r=Ve,n=t&&!t.nodeType&&t,o=n&&!0&&e&&!e.nodeType&&e,i=o&&o.exports===n,s=i?r.Buffer:void 0,u=s?s.allocUnsafe:void 0;function l(d,c){if(c)return d.slice();var v=d.length,f=u?u(v):new d.constructor(v);return d.copy(f),f}e.exports=l})(gr,gr.exports);function Xv(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var Io=Xv;function Jv(e,t){for(var r=-1,n=e==null?0:e.length,o=0,i=[];++r<n;){var s=e[r];t(s,r,e)&&(i[o++]=s)}return i}var Qv=Jv;function ep(){return[]}var $o=ep,tp=Qv,rp=$o,np=Object.prototype,ap=np.propertyIsEnumerable,To=Object.getOwnPropertySymbols,op=To?function(e){return e==null?[]:(e=Object(e),tp(To(e),function(t){return ap.call(e,t)}))}:rp,wn=op,ip=Ot,sp=wn;function up(e,t){return ip(e,sp(e),t)}var lp=up;function cp(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}var Po=cp,dp=bo,fp=dp(Object.getPrototypeOf,Object),_n=fp,vp=Po,pp=_n,mp=wn,hp=$o,gp=Object.getOwnPropertySymbols,yp=gp?function(e){for(var t=[];e;)vp(t,mp(e)),e=pp(e);return t}:hp,ko=yp,bp=Ot,Cp=ko;function Sp(e,t){return bp(e,Cp(e),t)}var wp=Sp,_p=Po,xp=Ne;function Ep(e,t,r){var n=t(e);return xp(e)?n:_p(n,r(e))}var No=Ep,Ap=No,Ip=wn,$p=dr;function Tp(e){return Ap(e,$p,Ip)}var Bo=Tp,Pp=No,kp=ko,Np=Ut;function Bp(e){return Pp(e,Np,kp)}var Fo=Bp,Fp=nt,Rp=Ve,Dp=Fp(Rp,"DataView"),Op=Dp,Up=nt,Vp=Ve,Mp=Up(Vp,"Promise"),Lp=Mp,zp=nt,jp=Ve,Gp=zp(jp,"Set"),Wp=Gp,Hp=nt,Kp=Ve,qp=Hp(Kp,"WeakMap"),Yp=qp,xn=Op,En=yn,An=Lp,In=Wp,$n=Yp,Ro=ot,ct=wo,Do="[object Map]",Zp="[object Object]",Oo="[object Promise]",Uo="[object Set]",Vo="[object WeakMap]",Mo="[object DataView]",Xp=ct(xn),Jp=ct(En),Qp=ct(An),em=ct(In),tm=ct($n),at=Ro;(xn&&at(new xn(new ArrayBuffer(1)))!=Mo||En&&at(new En)!=Do||An&&at(An.resolve())!=Oo||In&&at(new In)!=Uo||$n&&at(new $n)!=Vo)&&(at=function(e){var t=Ro(e),r=t==Zp?e.constructor:void 0,n=r?ct(r):"";if(n)switch(n){case Xp:return Mo;case Jp:return Do;case Qp:return Oo;case em:return Uo;case tm:return Vo}return t});var Vt=at,rm=Object.prototype,nm=rm.hasOwnProperty;function am(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&nm.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var om=am,im=Ve,sm=im.Uint8Array,Lo=sm,zo=Lo;function um(e){var t=new e.constructor(e.byteLength);return new zo(t).set(new zo(e)),t}var Tn=um,lm=Tn;function cm(e,t){var r=t?lm(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var dm=cm,fm=/\w*$/;function vm(e){var t=new e.constructor(e.source,fm.exec(e));return t.lastIndex=e.lastIndex,t}var pm=vm,jo=Nt,Go=jo?jo.prototype:void 0,Wo=Go?Go.valueOf:void 0;function mm(e){return Wo?Object(Wo.call(e)):{}}var hm=mm,gm=Tn;function ym(e,t){var r=t?gm(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var Ho=ym,bm=Tn,Cm=dm,Sm=pm,wm=hm,_m=Ho,xm="[object Boolean]",Em="[object Date]",Am="[object Map]",Im="[object Number]",$m="[object RegExp]",Tm="[object Set]",Pm="[object String]",km="[object Symbol]",Nm="[object ArrayBuffer]",Bm="[object DataView]",Fm="[object Float32Array]",Rm="[object Float64Array]",Dm="[object Int8Array]",Om="[object Int16Array]",Um="[object Int32Array]",Vm="[object Uint8Array]",Mm="[object Uint8ClampedArray]",Lm="[object Uint16Array]",zm="[object Uint32Array]";function jm(e,t,r){var n=e.constructor;switch(t){case Nm:return bm(e);case xm:case Em:return new n(+e);case Bm:return Cm(e,r);case Fm:case Rm:case Dm:case Om:case Um:case Vm:case Mm:case Lm:case zm:return _m(e,r);case Am:return new n;case Im:case Pm:return new n(e);case $m:return Sm(e);case Tm:return new n;case km:return wm(e)}}var Gm=jm,Wm=Me,Ko=Object.create,Hm=function(){function e(){}return function(t){if(!Wm(t))return{};if(Ko)return Ko(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}(),Km=Hm,qm=Km,Ym=_n,Zm=cr;function Xm(e){return typeof e.constructor=="function"&&!Zm(e)?qm(Ym(e)):{}}var qo=Xm,Jm=Vt,Qm=He,eh="[object Map]";function th(e){return Qm(e)&&Jm(e)==eh}var rh=th,nh=rh,ah=hn,Yo=Rt.exports,Zo=Yo&&Yo.isMap,oh=Zo?ah(Zo):nh,ih=oh,sh=Vt,uh=He,lh="[object Set]";function ch(e){return uh(e)&&sh(e)==lh}var dh=ch,fh=dh,vh=hn,Xo=Rt.exports,Jo=Xo&&Xo.isSet,ph=Jo?vh(Jo):fh,mh=ph,hh=hr,gh=yv,yh=Sn,bh=Bv,Ch=Zv,Sh=gr.exports,wh=Io,_h=lp,xh=wp,Eh=Bo,Ah=Fo,Ih=Vt,$h=om,Th=Gm,Ph=qo,kh=Ne,Nh=rt.exports,Bh=ih,Fh=Me,Rh=mh,Dh=dr,Oh=Ut,Uh=1,Vh=2,Mh=4,Qo="[object Arguments]",Lh="[object Array]",zh="[object Boolean]",jh="[object Date]",Gh="[object Error]",ei="[object Function]",Wh="[object GeneratorFunction]",Hh="[object Map]",Kh="[object Number]",ti="[object Object]",qh="[object RegExp]",Yh="[object Set]",Zh="[object String]",Xh="[object Symbol]",Jh="[object WeakMap]",Qh="[object ArrayBuffer]",eg="[object DataView]",tg="[object Float32Array]",rg="[object Float64Array]",ng="[object Int8Array]",ag="[object Int16Array]",og="[object Int32Array]",ig="[object Uint8Array]",sg="[object Uint8ClampedArray]",ug="[object Uint16Array]",lg="[object Uint32Array]",ne={};ne[Qo]=ne[Lh]=ne[Qh]=ne[eg]=ne[zh]=ne[jh]=ne[tg]=ne[rg]=ne[ng]=ne[ag]=ne[og]=ne[Hh]=ne[Kh]=ne[ti]=ne[qh]=ne[Yh]=ne[Zh]=ne[Xh]=ne[ig]=ne[sg]=ne[ug]=ne[lg]=!0;ne[Gh]=ne[ei]=ne[Jh]=!1;function yr(e,t,r,n,o,i){var s,u=t&Uh,l=t&Vh,d=t&Mh;if(r&&(s=o?r(e,n,o,i):r(e)),s!==void 0)return s;if(!Fh(e))return e;var c=kh(e);if(c){if(s=$h(e),!u)return wh(e,s)}else{var v=Ih(e),f=v==ei||v==Wh;if(Nh(e))return Sh(e,u);if(v==ti||v==Qo||f&&!o){if(s=l||f?{}:Ph(e),!u)return l?xh(e,Ch(s,e)):_h(e,bh(s,e))}else{if(!ne[v])return o?e:{};s=Th(e,v,u)}}i||(i=new hh);var m=i.get(e);if(m)return m;i.set(e,s),Rh(e)?e.forEach(function(p){s.add(yr(p,t,r,p,e,i))}):Bh(e)&&e.forEach(function(p,y){s.set(y,yr(p,t,r,y,e,i))});var g=d?l?Ah:Eh:l?Oh:Dh,h=c?void 0:g(e);return gh(h||e,function(p,y){h&&(y=p,p=e[y]),yh(s,y,yr(p,t,r,y,e,i))}),s}var cg=yr,dg=cg,fg=1,vg=4;function pg(e){return dg(e,fg|vg)}var mg=pg;/*! *****************************************************************************
2
2
  Copyright (c) Microsoft Corporation.
3
3
 
4
4
  Permission to use, copy, modify, and/or distribute this software for any
@@ -11,10 +11,10 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11
11
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
12
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
13
  PERFORMANCE OF THIS SOFTWARE.
14
- ***************************************************************************** */var N=function(){return N=Object.assign||function(t){for(var r,a=1,o=arguments.length;a<o;a++){r=arguments[a];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},N.apply(this,arguments)};function fn(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(r[a[o]]=e[a[o]]);return r}function J(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],a=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&a>=e.length&&(e=void 0),{value:e&&e[a++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function se(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var a=r.call(e),o,i=[],s;try{for(;(t===void 0||t-- >0)&&!(o=a.next()).done;)i.push(o.value)}catch(l){s={error:l}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(s)throw s.error}}return i}function we(e,t,r){if(r||arguments.length===2)for(var a=0,o=t.length,i;a<o;a++)(i||!(a in t))&&(i||(i=Array.prototype.slice.call(t,0,a)),i[a]=t[a]);return e.concat(i||Array.prototype.slice.call(t))}var po=".",mo={},vn="xstate.guard",Rd="",ht=!0,pn;function ye(e){return Object.keys(e)}function mn(e,t,r){r===void 0&&(r=po);var a=jt(e,r),o=jt(t,r);return Q(o)?Q(a)?o===a:!1:Q(a)?a in o:ye(a).every(function(i){return i in o?mn(a[i],o[i]):!1})}function ho(e){try{return Q(e)||typeof e=="number"?"".concat(e):e.type}catch{throw new Error("Events must be strings or objects with a string event.type property.")}}function hn(e,t){try{return yt(e)?e:e.toString().split(t)}catch{throw new Error("'".concat(e,"' is not a valid state path."))}}function Od(e){return typeof e=="object"&&"value"in e&&"context"in e&&"event"in e&&"_event"in e}function jt(e,t){if(Od(e))return e.value;if(yt(e))return vr(e);if(typeof e!="string")return e;var r=hn(e,t);return vr(r)}function vr(e){if(e.length===1)return e[0];for(var t={},r=t,a=0;a<e.length-1;a++)a===e.length-2?r[e[a]]=e[a+1]:(r[e[a]]={},r=r[e[a]]);return t}function Gt(e,t){for(var r={},a=ye(e),o=0;o<a.length;o++){var i=a[o];r[i]=t(e[i],i,e,o)}return r}function go(e,t,r){var a,o,i={};try{for(var s=J(ye(e)),l=s.next();!l.done;l=s.next()){var u=l.value,d=e[u];!r(d)||(i[u]=t(d,u,e))}}catch(c){a={error:c}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(a)throw a.error}}return i}var Vd=function(e){return function(t){var r,a,o=t;try{for(var i=J(e),s=i.next();!s.done;s=i.next()){var l=s.value;o=o[l]}}catch(u){r={error:u}}finally{try{s&&!s.done&&(a=i.return)&&a.call(i)}finally{if(r)throw r.error}}return o}};function Ud(e,t){return function(r){var a,o,i=r;try{for(var s=J(e),l=s.next();!l.done;l=s.next()){var u=l.value;i=i[t][u]}}catch(d){a={error:d}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(a)throw a.error}}return i}}function pr(e){if(!e)return[[]];if(Q(e))return[[e]];var t=be(ye(e).map(function(r){var a=e[r];return typeof a!="string"&&(!a||!Object.keys(a).length)?[[r]]:pr(e[r]).map(function(o){return[r].concat(o)})}));return t}function be(e){var t;return(t=[]).concat.apply(t,we([],se(e),!1))}function yo(e){return yt(e)?e:[e]}function je(e){return e===void 0?[]:yo(e)}function mr(e,t,r){var a,o;if(le(e))return e(t,r.data);var i={};try{for(var s=J(Object.keys(e)),l=s.next();!l.done;l=s.next()){var u=l.value,d=e[u];le(d)?i[u]=d(t,r.data):i[u]=d}}catch(c){a={error:c}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(a)throw a.error}}return i}function Md(e){return/^(done|error)\./.test(e)}function bo(e){return!!(e instanceof Promise||e!==null&&(le(e)||typeof e=="object")&&le(e.then))}function zd(e){return e!==null&&typeof e=="object"&&"transition"in e&&typeof e.transition=="function"}function Co(e,t){var r,a,o=se([[],[]],2),i=o[0],s=o[1];try{for(var l=J(e),u=l.next();!u.done;u=l.next()){var d=u.value;t(d)?i.push(d):s.push(d)}}catch(c){r={error:c}}finally{try{u&&!u.done&&(a=l.return)&&a.call(l)}finally{if(r)throw r.error}}return[i,s]}function wo(e,t){return Gt(e.states,function(r,a){if(!!r){var o=(Q(t)?void 0:t[a])||(r?r.current:void 0);if(!!o)return{current:o,states:wo(r,o)}}})}function Ld(e,t){return{current:t,states:wo(e,t)}}function So(e,t,r,a){var o=e&&r.reduce(function(i,s){var l,u,d=s.assignment,c={state:a,action:s,_event:t},v={};if(le(d))v=d(i,t.data,c);else try{for(var f=J(ye(d)),p=f.next();!p.done;p=f.next()){var m=p.value,y=d[m];v[m]=le(y)?y(i,t.data,c):y}}catch(C){l={error:C}}finally{try{p&&!p.done&&(u=f.return)&&u.call(f)}finally{if(l)throw l.error}}return Object.assign({},i,v)},e);return o}var gt=function(){};function yt(e){return Array.isArray(e)}function le(e){return typeof e=="function"}function Q(e){return typeof e=="string"}function _o(e,t){if(!!e)return Q(e)?{type:vn,name:e,predicate:t?t[e]:void 0}:le(e)?{type:vn,name:e.name,predicate:e}:e}function jd(e){try{return"subscribe"in e&&le(e.subscribe)}catch{return!1}}var xo=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),bt=(pn={},pn[xo]=function(){return this},pn);function rt(e){try{return"__xstatenode"in e}catch{return!1}}function Gd(e){return!!e&&typeof e.send=="function"}var Hd=function(){var e=0;return function(){return e++,e.toString(16)}}();function gn(e,t){return Q(e)||typeof e=="number"?N({type:e},t):e}function Pe(e,t){if(!Q(e)&&"$$type"in e&&e.$$type==="scxml")return e;var r=gn(e);return N({name:r.type,data:r,$$type:"scxml",type:"external"},t)}function Ct(e,t){var r=yo(t).map(function(a){return typeof a=="undefined"||typeof a=="string"||rt(a)?{target:a,event:e}:N(N({},a),{event:e})});return r}function Wd(e){if(!(e===void 0||e===Rd))return je(e)}function Eo(e,t,r,a,o){var i=e.options.guards,s={state:o,cond:t,_event:a};if(t.type===vn)return((i==null?void 0:i[t.name])||t.predicate)(r,a.data,s);var l=i[t.type];if(!l)throw new Error("Guard '".concat(t.type,"' is not implemented on machine '").concat(e.id,"'."));return l(r,a.data,s)}function Ao(e){return typeof e=="string"?{type:e}:e}function Io(e,t,r){if(typeof e=="object")return e;var a=function(){};return{next:e,error:t||a,complete:r||a}}function hr(e,t){return"".concat(e,":invocation[").concat(t,"]")}var de;(function(e){e.Start="xstate.start",e.Stop="xstate.stop",e.Raise="xstate.raise",e.Send="xstate.send",e.Cancel="xstate.cancel",e.NullEvent="",e.Assign="xstate.assign",e.After="xstate.after",e.DoneState="done.state",e.DoneInvoke="done.invoke",e.Log="xstate.log",e.Init="xstate.init",e.Invoke="xstate.invoke",e.ErrorExecution="error.execution",e.ErrorCommunication="error.communication",e.ErrorPlatform="error.platform",e.ErrorCustom="xstate.error",e.Update="xstate.update",e.Pure="xstate.pure",e.Choose="xstate.choose"})(de||(de={}));var wt;(function(e){e.Parent="#_parent",e.Internal="#_internal"})(wt||(wt={}));var yn=de.Start,bn=de.Stop,gr=de.Raise,yr=de.Send,ko=de.Cancel,Kd=de.NullEvent,Cn=de.Assign;de.After;de.DoneState;var Po=de.Log,qd=de.Init,wn=de.Invoke;de.ErrorExecution;var No=de.ErrorPlatform,Yd=de.ErrorCustom,Sn=de.Update,Zd=de.Choose,Xd=de.Pure,br=Pe({type:qd});function _n(e,t){return t&&t[e]||void 0}function Ht(e,t){var r;if(Q(e)||typeof e=="number"){var a=_n(e,t);le(a)?r={type:e,exec:a}:a?r=a:r={type:e,exec:void 0}}else if(le(e))r={type:e.name||e.toString(),exec:e};else{var a=_n(e.type,t);if(le(a))r=N(N({},e),{exec:a});else if(a){var o=a.type||e.type;r=N(N(N({},a),e),{type:o})}else r=e}return r}var Cr=function(e,t){if(!e)return[];var r=yt(e)?e:[e];return r.map(function(a){return Ht(a,t)})};function xn(e){var t=Ht(e);return N(N({id:Q(e)?e:t.id},t),{type:t.type})}function Jd(e){return Q(e)?{type:gr,event:e}:wr(e,{to:wt.Internal})}function Qd(e){return{type:gr,_event:Pe(e.event)}}function wr(e,t){return{to:t?t.to:void 0,type:yr,event:le(e)?e:gn(e),delay:t?t.delay:void 0,id:t&&t.id!==void 0?t.id:le(e)?e.name:ho(e)}}function ef(e,t,r,a){var o={_event:r},i=Pe(le(e.event)?e.event(t,r.data,o):e.event),s;if(Q(e.delay)){var l=a&&a[e.delay];s=le(l)?l(t,r.data,o):l}else s=le(e.delay)?e.delay(t,r.data,o):e.delay;var u=le(e.to)?e.to(t,r.data,o):e.to;return N(N({},e),{to:u,_event:i,event:i.data,delay:s})}function tf(e,t){return wr(e,N(N({},t),{to:wt.Parent}))}function ne(){return tf(Sn)}var rf=function(e,t,r){return N(N({},e),{value:Q(e.expr)?e.expr:e.expr(t,r.data,{_event:r})})},nf=function(e){return{type:ko,sendId:e}};function af(e){var t=xn(e);return{type:de.Start,activity:t,exec:void 0}}function of(e){var t=le(e)?e:xn(e);return{type:de.Stop,activity:t,exec:void 0}}function sf(e,t,r){var a=le(e.activity)?e.activity(t,r.data):e.activity,o=typeof a=="string"?{id:a}:a,i={type:de.Stop,activity:o};return i}var Je=function(e){return{type:Cn,assignment:e}};function lf(e,t){var r=t?"#".concat(t):"";return"".concat(de.After,"(").concat(e,")").concat(r)}function Sr(e,t){var r="".concat(de.DoneState,".").concat(e),a={type:r,data:t};return a.toString=function(){return r},a}function _r(e,t){var r="".concat(de.DoneInvoke,".").concat(e),a={type:r,data:t};return a.toString=function(){return r},a}function Wt(e,t){var r="".concat(de.ErrorPlatform,".").concat(e),a={type:r,data:t};return a.toString=function(){return r},a}function uf(e,t){return wr(function(r,a){return a},N(N({},t),{to:e}))}function En(e,t,r,a,o,i){i===void 0&&(i=!1);var s=se(i?[[],o]:Co(o,function(f){return f.type===Cn}),2),l=s[0],u=s[1],d=l.length?So(r,a,l,t):r,c=i?[r]:void 0,v=be(u.map(function(f){var p;switch(f.type){case gr:return Qd(f);case yr:var m=ef(f,d,a,e.options.delays);return m;case Po:return rf(f,d,a);case Zd:{var y=f,C=(p=y.conds.find(function($){var F=_o($.cond,e.options.guards);return!F||Eo(e,F,d,a,t)}))===null||p===void 0?void 0:p.actions;if(!C)return[];var b=se(En(e,t,d,a,Cr(je(C),e.options.actions),i),2),g=b[0],w=b[1];return d=w,c==null||c.push(d),g}case Xd:{var C=f.get(d,a.data);if(!C)return[];var _=se(En(e,t,d,a,Cr(je(C),e.options.actions),i),2),E=_[0],k=_[1];return d=k,c==null||c.push(d),E}case bn:return sf(f,d,a);case Cn:{d=So(d,a,[f],t),c==null||c.push(d);break}default:var S=Ht(f,e.options.actions),I=S.exec;if(I&&c){var x=c.length-1;S=N(N({},S),{exec:function($){for(var F=[],R=1;R<arguments.length;R++)F[R-1]=arguments[R];I.apply(void 0,we([c[x]],se(F),!1))}})}return S}}).filter(function(f){return!!f}));return[v,d]}var xr=function(e){return e.type==="atomic"||e.type==="final"};function St(e){return ye(e.states).map(function(t){return e.states[t]})}function To(e){var t=[e];return xr(e)?t:t.concat(be(St(e).map(To)))}function _t(e,t){var r,a,o,i,s,l,u,d,c=new Set(e),v=An(c),f=new Set(t);try{for(var p=J(f),m=p.next();!m.done;m=p.next())for(var y=m.value,C=y.parent;C&&!f.has(C);)f.add(C),C=C.parent}catch(x){r={error:x}}finally{try{m&&!m.done&&(a=p.return)&&a.call(p)}finally{if(r)throw r.error}}var b=An(f);try{for(var g=J(f),w=g.next();!w.done;w=g.next()){var y=w.value;if(y.type==="compound"&&(!b.get(y)||!b.get(y).length))v.get(y)?v.get(y).forEach(function($){return f.add($)}):y.initialStateNodes.forEach(function($){return f.add($)});else if(y.type==="parallel")try{for(var _=(s=void 0,J(St(y))),E=_.next();!E.done;E=_.next()){var k=E.value;k.type!=="history"&&(f.has(k)||(f.add(k),v.get(k)?v.get(k).forEach(function($){return f.add($)}):k.initialStateNodes.forEach(function($){return f.add($)})))}}catch($){s={error:$}}finally{try{E&&!E.done&&(l=_.return)&&l.call(_)}finally{if(s)throw s.error}}}}catch(x){o={error:x}}finally{try{w&&!w.done&&(i=g.return)&&i.call(g)}finally{if(o)throw o.error}}try{for(var S=J(f),I=S.next();!I.done;I=S.next())for(var y=I.value,C=y.parent;C&&!f.has(C);)f.add(C),C=C.parent}catch(x){u={error:x}}finally{try{I&&!I.done&&(d=S.return)&&d.call(S)}finally{if(u)throw u.error}}return f}function $o(e,t){var r=t.get(e);if(!r)return{};if(e.type==="compound"){var a=r[0];if(a){if(xr(a))return a.key}else return{}}var o={};return r.forEach(function(i){o[i.key]=$o(i,t)}),o}function An(e){var t,r,a=new Map;try{for(var o=J(e),i=o.next();!i.done;i=o.next()){var s=i.value;a.has(s)||a.set(s,[]),s.parent&&(a.has(s.parent)||a.set(s.parent,[]),a.get(s.parent).push(s))}}catch(l){t={error:l}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return a}function cf(e,t){var r=_t([e],t);return $o(e,An(r))}function Er(e,t){return Array.isArray(e)?e.some(function(r){return r===t}):e instanceof Set?e.has(t):!1}function df(e){return we([],se(new Set(be(we([],se(e.map(function(t){return t.ownEvents})),!1)))),!1)}function Kt(e,t){return t.type==="compound"?St(t).some(function(r){return r.type==="final"&&Er(e,r)}):t.type==="parallel"?St(t).every(function(r){return Kt(e,r)}):!1}function ff(e){return e===void 0&&(e=[]),e.reduce(function(t,r){return r.meta!==void 0&&(t[r.id]=r.meta),t},{})}function Bo(e){return new Set(be(e.map(function(t){return t.tags})))}function Fo(e,t){if(e===t)return!0;if(e===void 0||t===void 0)return!1;if(Q(e)||Q(t))return e===t;var r=ye(e),a=ye(t);return r.length===a.length&&r.every(function(o){return Fo(e[o],t[o])})}function vf(e){return Q(e)?!1:"value"in e&&"history"in e}function pf(e,t){var r=e.exec,a=N(N({},e),{exec:r!==void 0?function(){return r(t.context,t.event,{action:e,state:t,_event:t._event})}:void 0});return a}var it=function(){function e(t){var r=this,a;this.actions=[],this.activities=mo,this.meta={},this.events=[],this.value=t.value,this.context=t.context,this._event=t._event,this._sessionid=t._sessionid,this.event=this._event.data,this.historyValue=t.historyValue,this.history=t.history,this.actions=t.actions||[],this.activities=t.activities||mo,this.meta=ff(t.configuration),this.events=t.events||[],this.matches=this.matches.bind(this),this.toStrings=this.toStrings.bind(this),this.configuration=t.configuration,this.transitions=t.transitions,this.children=t.children,this.done=!!t.done,this.tags=(a=Array.isArray(t.tags)?new Set(t.tags):t.tags)!==null&&a!==void 0?a:new Set,this.machine=t.machine,Object.defineProperty(this,"nextEvents",{get:function(){return df(r.configuration)}})}return e.from=function(t,r){if(t instanceof e)return t.context!==r?new e({value:t.value,context:r,_event:t._event,_sessionid:null,historyValue:t.historyValue,history:t.history,actions:[],activities:t.activities,meta:{},events:[],configuration:[],transitions:[],children:{}}):t;var a=br;return new e({value:t,context:r,_event:a,_sessionid:null,historyValue:void 0,history:void 0,actions:[],activities:void 0,meta:void 0,events:[],configuration:[],transitions:[],children:{}})},e.create=function(t){return new e(t)},e.inert=function(t,r){if(t instanceof e){if(!t.actions.length)return t;var a=br;return new e({value:t.value,context:r,_event:a,_sessionid:null,historyValue:t.historyValue,history:t.history,activities:t.activities,configuration:t.configuration,transitions:[],children:{}})}return e.from(t,r)},e.prototype.toStrings=function(t,r){var a=this;if(t===void 0&&(t=this.value),r===void 0&&(r="."),Q(t))return[t];var o=ye(t);return o.concat.apply(o,we([],se(o.map(function(i){return a.toStrings(t[i],r).map(function(s){return i+r+s})})),!1))},e.prototype.toJSON=function(){var t=this;t.configuration,t.transitions;var r=t.tags;t.machine;var a=fn(t,["configuration","transitions","tags","machine"]);return N(N({},a),{tags:Array.from(r)})},e.prototype.matches=function(t){return mn(t,this.value)},e.prototype.hasTag=function(t){return this.tags.has(t)},e.prototype.can=function(t){var r;gt(!!this.machine);var a=(r=this.machine)===null||r===void 0?void 0:r.getTransitionData(this,t);return!!(a==null?void 0:a.transitions.length)&&a.transitions.some(function(o){return o.target!==void 0||o.actions.length})},e}(),Ar=[],qt=function(e,t){Ar.push(e);var r=t(e);return Ar.pop(),r},mf=function(e){return e(Ar[Ar.length-1])};function Do(e){return N({id:e,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},getSnapshot:function(){},toJSON:function(){return{id:e}}},bt)}function hf(e,t,r,a){var o,i=Ao(e.src),s=(o=t==null?void 0:t.options.services)===null||o===void 0?void 0:o[i.type],l=e.data?mr(e.data,r,a):void 0,u=s?Ro(s,e.id,l):Do(e.id);return u.meta=e,u}function Ro(e,t,r){var a=Do(t);if(a.deferred=!0,rt(e)){var o=a.state=qt(void 0,function(){return(r?e.withContext(r):e).initialState});a.getSnapshot=function(){return o}}return a}function gf(e){try{return typeof e.send=="function"}catch{return!1}}function yf(e){return gf(e)&&"id"in e}function bf(e){return N(N({subscribe:function(){return{unsubscribe:function(){}}},id:"anonymous",getSnapshot:function(){}},bt),e)}function Cf(e){if(typeof e=="string"){var t={type:e};return t.toString=function(){return e},t}return e}function Ir(e){return N(N({type:wn},e),{toJSON:function(){e.onDone,e.onError;var t=fn(e,["onDone","onError"]);return N(N({},t),{type:wn,src:Cf(e.src)})}})}var xt="",In="#",Yt="*",Et={},At=function(e){return e[0]===In},wf=function(){return{actions:{},guards:{},services:{},activities:{},delays:{}}},Sf=function(e,t,r){var a=r.slice(0,-1).some(function(i){return!("cond"in i)&&!("in"in i)&&(Q(i.target)||rt(i.target))}),o=t===xt?"the transient event":"event '".concat(t,"'");gt(!a,"One or more transitions for ".concat(o," on state '").concat(e.id,"' are unreachable. ")+"Make sure that the default transition is the last one defined.")},_f=function(){function e(t,r,a){var o=this;a===void 0&&(a="context"in t?t.context:void 0);var i;this.config=t,this._context=a,this.order=-1,this.__xstatenode=!0,this.__cache={events:void 0,relativeValue:new Map,initialStateValue:void 0,initialState:void 0,on:void 0,transitions:void 0,candidates:{},delayedTransitions:void 0},this.idMap={},this.tags=[],this.options=Object.assign(wf(),r),this.parent=this.options._parent,this.key=this.config.key||this.options._key||this.config.id||"(machine)",this.machine=this.parent?this.parent.machine:this,this.path=this.parent?this.parent.path.concat(this.key):[],this.delimiter=this.config.delimiter||(this.parent?this.parent.delimiter:po),this.id=this.config.id||we([this.machine.key],se(this.path),!1).join(this.delimiter),this.version=this.parent?this.parent.version:this.config.version,this.type=this.config.type||(this.config.parallel?"parallel":this.config.states&&ye(this.config.states).length?"compound":this.config.history?"history":"atomic"),this.schema=this.parent?this.machine.schema:(i=this.config.schema)!==null&&i!==void 0?i:{},this.description=this.config.description,this.initial=this.config.initial,this.states=this.config.states?Gt(this.config.states,function(u,d){var c,v=new e(u,{_parent:o,_key:d});return Object.assign(o.idMap,N((c={},c[v.id]=v,c),v.idMap)),v}):Et;var s=0;function l(u){var d,c;u.order=s++;try{for(var v=J(St(u)),f=v.next();!f.done;f=v.next()){var p=f.value;l(p)}}catch(m){d={error:m}}finally{try{f&&!f.done&&(c=v.return)&&c.call(v)}finally{if(d)throw d.error}}}l(this),this.history=this.config.history===!0?"shallow":this.config.history||!1,this._transient=!!this.config.always||(this.config.on?Array.isArray(this.config.on)?this.config.on.some(function(u){var d=u.event;return d===xt}):xt in this.config.on:!1),this.strict=!!this.config.strict,this.onEntry=je(this.config.entry||this.config.onEntry).map(function(u){return Ht(u)}),this.onExit=je(this.config.exit||this.config.onExit).map(function(u){return Ht(u)}),this.meta=this.config.meta,this.doneData=this.type==="final"?this.config.data:void 0,this.invoke=je(this.config.invoke).map(function(u,d){var c,v;if(rt(u)){var f=hr(o.id,d);return o.machine.options.services=N((c={},c[f]=u,c),o.machine.options.services),Ir({src:f,id:f})}else if(Q(u.src)){var f=u.id||hr(o.id,d);return Ir(N(N({},u),{id:f,src:u.src}))}else if(rt(u.src)||le(u.src)){var f=u.id||hr(o.id,d);return o.machine.options.services=N((v={},v[f]=u.src,v),o.machine.options.services),Ir(N(N({id:f},u),{src:f}))}else{var p=u.src;return Ir(N(N({id:hr(o.id,d)},u),{src:p}))}}),this.activities=je(this.config.activities).concat(this.invoke).map(function(u){return xn(u)}),this.transition=this.transition.bind(this),this.tags=je(this.config.tags)}return e.prototype._init=function(){this.__cache.transitions||To(this).forEach(function(t){return t.on})},e.prototype.withConfig=function(t,r){var a=this.options,o=a.actions,i=a.activities,s=a.guards,l=a.services,u=a.delays;return new e(this.config,{actions:N(N({},o),t.actions),activities:N(N({},i),t.activities),guards:N(N({},s),t.guards),services:N(N({},l),t.services),delays:N(N({},u),t.delays)},r!=null?r:this.context)},e.prototype.withContext=function(t){return new e(this.config,this.options,t)},Object.defineProperty(e.prototype,"context",{get:function(){return le(this._context)?this._context():this._context},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"definition",{get:function(){return{id:this.id,key:this.key,version:this.version,context:this.context,type:this.type,initial:this.initial,history:this.history,states:Gt(this.states,function(t){return t.definition}),on:this.on,transitions:this.transitions,entry:this.onEntry,exit:this.onExit,activities:this.activities||[],meta:this.meta,order:this.order||-1,data:this.doneData,invoke:this.invoke,description:this.description,tags:this.tags}},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return this.definition},Object.defineProperty(e.prototype,"on",{get:function(){if(this.__cache.on)return this.__cache.on;var t=this.transitions;return this.__cache.on=t.reduce(function(r,a){return r[a.eventType]=r[a.eventType]||[],r[a.eventType].push(a),r},{})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"after",{get:function(){return this.__cache.delayedTransitions||(this.__cache.delayedTransitions=this.getDelayedTransitions(),this.__cache.delayedTransitions)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"transitions",{get:function(){return this.__cache.transitions||(this.__cache.transitions=this.formatTransitions(),this.__cache.transitions)},enumerable:!1,configurable:!0}),e.prototype.getCandidates=function(t){if(this.__cache.candidates[t])return this.__cache.candidates[t];var r=t===xt,a=this.transitions.filter(function(o){var i=o.eventType===t;return r?i:i||o.eventType===Yt});return this.__cache.candidates[t]=a,a},e.prototype.getDelayedTransitions=function(){var t=this,r=this.config.after;if(!r)return[];var a=function(i,s){var l=le(i)?"".concat(t.id,":delay[").concat(s,"]"):i,u=lf(l,t.id);return t.onEntry.push(wr(u,{delay:i})),t.onExit.push(nf(u)),u},o=yt(r)?r.map(function(i,s){var l=a(i.delay,s);return N(N({},i),{event:l})}):be(ye(r).map(function(i,s){var l=r[i],u=Q(l)?{target:l}:l,d=isNaN(+i)?i:+i,c=a(d,s);return je(u).map(function(v){return N(N({},v),{event:c,delay:d})})}));return o.map(function(i){var s=i.delay;return N(N({},t.formatTransition(i)),{delay:s})})},e.prototype.getStateNodes=function(t){var r,a=this;if(!t)return[];var o=t instanceof it?t.value:jt(t,this.delimiter);if(Q(o)){var i=this.getStateNode(o).initial;return i!==void 0?this.getStateNodes((r={},r[o]=i,r)):[this,this.states[o]]}var s=ye(o),l=[this];return l.push.apply(l,we([],se(be(s.map(function(u){return a.getStateNode(u).getStateNodes(o[u])}))),!1)),l},e.prototype.handles=function(t){var r=ho(t);return this.events.includes(r)},e.prototype.resolveState=function(t){var r=Array.from(_t([],this.getStateNodes(t.value)));return new it(N(N({},t),{value:this.resolve(t.value),configuration:r,done:Kt(r,this),tags:Bo(r)}))},e.prototype.transitionLeafNode=function(t,r,a){var o=this.getStateNode(t),i=o.next(r,a);return!i||!i.transitions.length?this.next(r,a):i},e.prototype.transitionCompoundNode=function(t,r,a){var o=ye(t),i=this.getStateNode(o[0]),s=i._transition(t[o[0]],r,a);return!s||!s.transitions.length?this.next(r,a):s},e.prototype.transitionParallelNode=function(t,r,a){var o,i,s={};try{for(var l=J(ye(t)),u=l.next();!u.done;u=l.next()){var d=u.value,c=t[d];if(!!c){var v=this.getStateNode(d),f=v._transition(c,r,a);f&&(s[d]=f)}}}catch(g){o={error:g}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(o)throw o.error}}var p=ye(s).map(function(g){return s[g]}),m=be(p.map(function(g){return g.transitions})),y=p.some(function(g){return g.transitions.length>0});if(!y)return this.next(r,a);var C=be(p.map(function(g){return g.entrySet})),b=be(ye(s).map(function(g){return s[g].configuration}));return{transitions:m,entrySet:C,exitSet:be(p.map(function(g){return g.exitSet})),configuration:b,source:r,actions:be(ye(s).map(function(g){return s[g].actions}))}},e.prototype._transition=function(t,r,a){return Q(t)?this.transitionLeafNode(t,r,a):ye(t).length===1?this.transitionCompoundNode(t,r,a):this.transitionParallelNode(t,r,a)},e.prototype.getTransitionData=function(t,r){return this._transition(t.value,t,Pe(r))},e.prototype.next=function(t,r){var a,o,i=this,s=r.name,l=[],u=[],d;try{for(var c=J(this.getCandidates(s)),v=c.next();!v.done;v=c.next()){var f=v.value,p=f.cond,m=f.in,y=t.context,C=m?Q(m)&&At(m)?t.matches(jt(this.getStateNodeById(m).path,this.delimiter)):mn(jt(m,this.delimiter),Vd(this.path.slice(0,-2))(t.value)):!0,b=!1;try{b=!p||Eo(this.machine,p,y,r,t)}catch(E){throw new Error("Unable to evaluate guard '".concat(p.name||p.type,"' in transition for event '").concat(s,"' in state node '").concat(this.id,`':
15
- `).concat(E.message))}if(b&&C){f.target!==void 0&&(u=f.target),l.push.apply(l,we([],se(f.actions),!1)),d=f;break}}}catch(E){a={error:E}}finally{try{v&&!v.done&&(o=c.return)&&o.call(c)}finally{if(a)throw a.error}}if(!!d){if(!u.length)return{transitions:[d],entrySet:[],exitSet:[],configuration:t.value?[this]:[],source:t,actions:l};var g=be(u.map(function(E){return i.getRelativeStateNodes(E,t.historyValue)})),w=!!d.internal,_=w?[]:be(g.map(function(E){return i.nodesFromChild(E)}));return{transitions:[d],entrySet:_,exitSet:w?[]:[this],configuration:g,source:t,actions:l}}},e.prototype.nodesFromChild=function(t){if(t.escapes(this))return[];for(var r=[],a=t;a&&a!==this;)r.push(a),a=a.parent;return r.push(this),r},e.prototype.escapes=function(t){if(this===t)return!1;for(var r=this.parent;r;){if(r===t)return!1;r=r.parent}return!0},e.prototype.getActions=function(t,r,a,o){var i,s,l,u,d=_t([],o?this.getStateNodes(o.value):[this]),c=t.configuration.length?_t(d,t.configuration):d;try{for(var v=J(c),f=v.next();!f.done;f=v.next()){var p=f.value;Er(d,p)||t.entrySet.push(p)}}catch(S){i={error:S}}finally{try{f&&!f.done&&(s=v.return)&&s.call(v)}finally{if(i)throw i.error}}try{for(var m=J(d),y=m.next();!y.done;y=m.next()){var p=y.value;(!Er(c,p)||Er(t.exitSet,p.parent))&&t.exitSet.push(p)}}catch(S){l={error:S}}finally{try{y&&!y.done&&(u=m.return)&&u.call(m)}finally{if(l)throw l.error}}var C=be(t.entrySet.map(function(S){var I=[];if(S.type!=="final")return I;var x=S.parent;if(!x.parent)return I;I.push(Sr(S.id,S.doneData),Sr(x.id,S.doneData?mr(S.doneData,r,a):void 0));var $=x.parent;return $.type==="parallel"&&St($).every(function(F){return Kt(t.configuration,F)})&&I.push(Sr($.id)),I}));t.exitSet.sort(function(S,I){return I.order-S.order}),t.entrySet.sort(function(S,I){return S.order-I.order});var b=new Set(t.entrySet),g=new Set(t.exitSet),w=se([be(Array.from(b).map(function(S){return we(we([],se(S.activities.map(function(I){return af(I)})),!1),se(S.onEntry),!1)})).concat(C.map(Jd)),be(Array.from(g).map(function(S){return we(we([],se(S.onExit),!1),se(S.activities.map(function(I){return of(I)})),!1)}))],2),_=w[0],E=w[1],k=Cr(E.concat(t.actions).concat(_),this.machine.options.actions);return k},e.prototype.transition=function(t,r,a){t===void 0&&(t=this.initialState);var o=Pe(r),i;if(t instanceof it)i=a===void 0?t:this.resolveState(it.from(t,a));else{var s=Q(t)?this.resolve(vr(this.getResolvedPath(t))):this.resolve(t),l=a!=null?a:this.machine.context;i=this.resolveState(it.from(s,l))}if(!ht&&o.name===Yt)throw new Error("An event cannot have the wildcard type ('".concat(Yt,"')"));if(this.strict&&!this.events.includes(o.name)&&!Md(o.name))throw new Error("Machine '".concat(this.id,"' does not accept event '").concat(o.name,"'"));var u=this._transition(i.value,i,o)||{transitions:[],configuration:[],entrySet:[],exitSet:[],source:i,actions:[]},d=_t([],this.getStateNodes(i.value)),c=u.configuration.length?_t(d,u.configuration):d;return u.configuration=we([],se(c),!1),this.resolveTransition(u,i,o)},e.prototype.resolveRaisedTransition=function(t,r,a){var o,i=t.actions;return t=this.transition(t,r),t._event=a,t.event=a.data,(o=t.actions).unshift.apply(o,we([],se(i),!1)),t},e.prototype.resolveTransition=function(t,r,a,o){var i,s,l=this;a===void 0&&(a=br),o===void 0&&(o=this.machine.context);var u=t.configuration,d=!r||t.transitions.length>0,c=d?cf(this.machine,u):void 0,v=r?r.historyValue?r.historyValue:t.source?this.machine.historyValue(r.value):void 0:void 0,f=r?r.context:o,p=this.getActions(t,f,a,r),m=r?N({},r.activities):{};try{for(var y=J(p),C=y.next();!C.done;C=y.next()){var b=C.value;b.type===yn?m[b.activity.id||b.activity.type]=b:b.type===bn&&(m[b.activity.id||b.activity.type]=!1)}}catch(H){i={error:H}}finally{try{C&&!C.done&&(s=y.return)&&s.call(y)}finally{if(i)throw i.error}}var g=se(En(this,r,f,a,p,this.machine.config.preserveActionOrder),2),w=g[0],_=g[1],E=se(Co(w,function(H){return H.type===gr||H.type===yr&&H.to===wt.Internal}),2),k=E[0],S=E[1],I=w.filter(function(H){var Z;return H.type===yn&&((Z=H.activity)===null||Z===void 0?void 0:Z.type)===wn}),x=I.reduce(function(H,Z){return H[Z.activity.id]=hf(Z.activity,l.machine,_,a),H},r?N({},r.children):{}),$=c?t.configuration:r?r.configuration:[],F=Kt($,this),R=new it({value:c||r.value,context:_,_event:a,_sessionid:r?r._sessionid:null,historyValue:c?v?Ld(v,c):void 0:r?r.historyValue:void 0,history:!c||t.source?r:void 0,actions:c?S:[],activities:c?m:r?r.activities:{},events:[],configuration:$,transitions:t.transitions,children:x,done:F,tags:r==null?void 0:r.tags,machine:this}),B=f!==_;R.changed=a.name===Sn||B;var U=R.history;U&&delete U.history;var L=!F&&(this._transient||u.some(function(H){return H._transient}));if(!d&&(!L||a.name===xt))return R;var j=R;if(!F)for(L&&(j=this.resolveRaisedTransition(j,{type:Kd},a));k.length;){var z=k.shift();j=this.resolveRaisedTransition(j,z._event,a)}var Y=j.changed||(U?!!j.actions.length||B||typeof U.value!=typeof j.value||!Fo(j.value,U.value):void 0);return j.changed=Y,j.history=U,j.tags=Bo(j.configuration),j},e.prototype.getStateNode=function(t){if(At(t))return this.machine.getStateNodeById(t);if(!this.states)throw new Error("Unable to retrieve child state '".concat(t,"' from '").concat(this.id,"'; no child states exist."));var r=this.states[t];if(!r)throw new Error("Child state '".concat(t,"' does not exist on '").concat(this.id,"'"));return r},e.prototype.getStateNodeById=function(t){var r=At(t)?t.slice(In.length):t;if(r===this.id)return this;var a=this.machine.idMap[r];if(!a)throw new Error("Child state node '#".concat(r,"' does not exist on machine '").concat(this.id,"'"));return a},e.prototype.getStateNodeByPath=function(t){if(typeof t=="string"&&At(t))try{return this.getStateNodeById(t.slice(1))}catch{}for(var r=hn(t,this.delimiter).slice(),a=this;r.length;){var o=r.shift();if(!o.length)break;a=a.getStateNode(o)}return a},e.prototype.resolve=function(t){var r,a=this;if(!t)return this.initialStateValue||Et;switch(this.type){case"parallel":return Gt(this.initialStateValue,function(i,s){return i?a.getStateNode(s).resolve(t[s]||i):Et});case"compound":if(Q(t)){var o=this.getStateNode(t);return o.type==="parallel"||o.type==="compound"?(r={},r[t]=o.initialStateValue,r):t}return ye(t).length?Gt(t,function(i,s){return i?a.getStateNode(s).resolve(i):Et}):this.initialStateValue||{};default:return t||Et}},e.prototype.getResolvedPath=function(t){if(At(t)){var r=this.machine.idMap[t.slice(In.length)];if(!r)throw new Error("Unable to find state node '".concat(t,"'"));return r.path}return hn(t,this.delimiter)},Object.defineProperty(e.prototype,"initialStateValue",{get:function(){var t;if(this.__cache.initialStateValue)return this.__cache.initialStateValue;var r;if(this.type==="parallel")r=go(this.states,function(a){return a.initialStateValue||Et},function(a){return a.type!=="history"});else if(this.initial!==void 0){if(!this.states[this.initial])throw new Error("Initial state '".concat(this.initial,"' not found on '").concat(this.key,"'"));r=xr(this.states[this.initial])?this.initial:(t={},t[this.initial]=this.states[this.initial].initialStateValue,t)}else r={};return this.__cache.initialStateValue=r,this.__cache.initialStateValue},enumerable:!1,configurable:!0}),e.prototype.getInitialState=function(t,r){var a=this.getStateNodes(t);return this.resolveTransition({configuration:a,entrySet:a,exitSet:[],transitions:[],source:void 0,actions:[]},void 0,void 0,r)},Object.defineProperty(e.prototype,"initialState",{get:function(){this._init();var t=this.initialStateValue;if(!t)throw new Error("Cannot retrieve initial state from simple state '".concat(this.id,"'."));return this.getInitialState(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"target",{get:function(){var t;if(this.type==="history"){var r=this.config;Q(r.target)?t=At(r.target)?vr(this.machine.getStateNodeById(r.target).path.slice(this.path.length-1)):r.target:t=r.target}return t},enumerable:!1,configurable:!0}),e.prototype.getRelativeStateNodes=function(t,r,a){return a===void 0&&(a=!0),a?t.type==="history"?t.resolveHistory(r):t.initialStateNodes:[t]},Object.defineProperty(e.prototype,"initialStateNodes",{get:function(){var t=this;if(xr(this))return[this];if(this.type==="compound"&&!this.initial)return ht||gt(!1,"Compound state node '".concat(this.id,"' has no initial state.")),[this];var r=pr(this.initialStateValue);return be(r.map(function(a){return t.getFromRelativePath(a)}))},enumerable:!1,configurable:!0}),e.prototype.getFromRelativePath=function(t){if(!t.length)return[this];var r=se(t),a=r[0],o=r.slice(1);if(!this.states)throw new Error("Cannot retrieve subPath '".concat(a,"' from node with no states"));var i=this.getStateNode(a);if(i.type==="history")return i.resolveHistory();if(!this.states[a])throw new Error("Child state '".concat(a,"' does not exist on '").concat(this.id,"'"));return this.states[a].getFromRelativePath(o)},e.prototype.historyValue=function(t){if(!!ye(this.states).length)return{current:t||this.initialStateValue,states:go(this.states,function(r,a){if(!t)return r.historyValue();var o=Q(t)?void 0:t[a];return r.historyValue(o||r.initialStateValue)},function(r){return!r.history})}},e.prototype.resolveHistory=function(t){var r=this;if(this.type!=="history")return[this];var a=this.parent;if(!t){var o=this.target;return o?be(pr(o).map(function(s){return a.getFromRelativePath(s)})):a.initialStateNodes}var i=Ud(a.path,"states")(t).current;return Q(i)?[a.getStateNode(i)]:be(pr(i).map(function(s){return r.history==="deep"?a.getFromRelativePath(s):[a.states[s[0]]]}))},Object.defineProperty(e.prototype,"stateIds",{get:function(){var t=this,r=be(ye(this.states).map(function(a){return t.states[a].stateIds}));return[this.id].concat(r)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"events",{get:function(){var t,r,a,o;if(this.__cache.events)return this.__cache.events;var i=this.states,s=new Set(this.ownEvents);if(i)try{for(var l=J(ye(i)),u=l.next();!u.done;u=l.next()){var d=u.value,c=i[d];if(c.states)try{for(var v=(a=void 0,J(c.events)),f=v.next();!f.done;f=v.next()){var p=f.value;s.add("".concat(p))}}catch(m){a={error:m}}finally{try{f&&!f.done&&(o=v.return)&&o.call(v)}finally{if(a)throw a.error}}}}catch(m){t={error:m}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}return this.__cache.events=Array.from(s)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ownEvents",{get:function(){var t=new Set(this.transitions.filter(function(r){return!(!r.target&&!r.actions.length&&r.internal)}).map(function(r){return r.eventType}));return Array.from(t)},enumerable:!1,configurable:!0}),e.prototype.resolveTarget=function(t){var r=this;if(t!==void 0)return t.map(function(a){if(!Q(a))return a;var o=a[0]===r.delimiter;if(o&&!r.parent)return r.getStateNodeByPath(a.slice(1));var i=o?r.key+a:a;if(r.parent)try{var s=r.parent.getStateNodeByPath(i);return s}catch(l){throw new Error("Invalid transition definition for state node '".concat(r.id,`':
16
- `).concat(l.message))}else return r.getStateNodeByPath(i)})},e.prototype.formatTransition=function(t){var r=this,a=Wd(t.target),o="internal"in t?t.internal:a?a.some(function(u){return Q(u)&&u[0]===r.delimiter}):!0,i=this.machine.options.guards,s=this.resolveTarget(a),l=N(N({},t),{actions:Cr(je(t.actions)),cond:_o(t.cond,i),target:s,source:this,internal:o,eventType:t.event,toJSON:function(){return N(N({},l),{target:l.target?l.target.map(function(u){return"#".concat(u.id)}):void 0,source:"#".concat(r.id)})}});return l},e.prototype.formatTransitions=function(){var t,r,a=this,o;if(!this.config.on)o=[];else if(Array.isArray(this.config.on))o=this.config.on;else{var i=this.config.on,s=Yt,l=i[s],u=l===void 0?[]:l,d=fn(i,[typeof s=="symbol"?s:s+""]);o=be(ye(d).map(function(g){!ht&&g===xt&&gt(!1,"Empty string transition configs (e.g., `{ on: { '': ... }}`) for transient transitions are deprecated. Specify the transition in the `{ always: ... }` property instead. "+'Please check the `on` configuration for "#'.concat(a.id,'".'));var w=Ct(g,d[g]);return ht||Sf(a,g,w),w}).concat(Ct(Yt,u)))}var c=this.config.always?Ct("",this.config.always):[],v=this.config.onDone?Ct(String(Sr(this.id)),this.config.onDone):[];ht||gt(!(this.config.onDone&&!this.parent),'Root nodes cannot have an ".onDone" transition. Please check the config of "'.concat(this.id,'".'));var f=be(this.invoke.map(function(g){var w=[];return g.onDone&&w.push.apply(w,we([],se(Ct(String(_r(g.id)),g.onDone)),!1)),g.onError&&w.push.apply(w,we([],se(Ct(String(Wt(g.id)),g.onError)),!1)),w})),p=this.after,m=be(we(we(we(we([],se(v),!1),se(f),!1),se(o),!1),se(c),!1).map(function(g){return je(g).map(function(w){return a.formatTransition(w)})}));try{for(var y=J(p),C=y.next();!C.done;C=y.next()){var b=C.value;m.push(b)}}catch(g){t={error:g}}finally{try{C&&!C.done&&(r=y.return)&&r.call(y)}finally{if(t)throw t.error}}return m},e}();function Zt(e,t){return new _f(e,t)}var xf={deferEvents:!1},Oo=function(){function e(t){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=N(N({},xf),t)}return e.prototype.initialize=function(t){if(this.initialized=!0,t){if(!this.options.deferEvents){this.schedule(t);return}this.process(t)}this.flushEvents()},e.prototype.schedule=function(t){if(!this.initialized||this.processingEvent){this.queue.push(t);return}if(this.queue.length!==0)throw new Error("Event queue should be empty when it is not processing events");this.process(t),this.flushEvents()},e.prototype.clear=function(){this.queue=[]},e.prototype.flushEvents=function(){for(var t=this.queue.shift();t;)this.process(t),t=this.queue.shift()},e.prototype.process=function(t){this.processingEvent=!0;try{t()}catch(r){throw this.clear(),r}finally{this.processingEvent=!1}},e}(),kn=new Map,Ef=0,kr={bookId:function(){return"x:".concat(Ef++)},register:function(e,t){return kn.set(e,t),e},get:function(e){return kn.get(e)},free:function(e){kn.delete(e)}};function Pn(){if(typeof globalThis!="undefined")return globalThis;if(typeof self!="undefined")return self;if(typeof window!="undefined")return window;if(typeof global!="undefined")return global}function Af(){var e=Pn();if(e&&"__xstate__"in e)return e.__xstate__}function If(e){if(!!Pn()){var t=Af();t&&t.register(e)}}function kf(e,t){t===void 0&&(t={});var r=e.initialState,a=new Set,o=[],i=!1,s=function(){if(!i){for(i=!0;o.length>0;){var d=o.shift();r=e.transition(r,d,u),a.forEach(function(c){return c.next(r)})}i=!1}},l=bf({id:t.id,send:function(d){o.push(d),s()},getSnapshot:function(){return r},subscribe:function(d,c,v){var f=Io(d,c,v);return a.add(f),f.next(r),{unsubscribe:function(){a.delete(f)}}}}),u={parent:t.parent,self:l,id:t.id||"anonymous",observers:a};return r=e.start?e.start(u):r,l}var Nn={sync:!1,autoForward:!1},Be;(function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"})(Be||(Be={}));var Pf=function(){function e(t,r){var a=this;r===void 0&&(r=e.defaultOptions),this.machine=t,this.scheduler=new Oo,this.delayedEventsMap={},this.listeners=new Set,this.contextListeners=new Set,this.stopListeners=new Set,this.doneListeners=new Set,this.eventListeners=new Set,this.sendListeners=new Set,this.initialized=!1,this.status=Be.NotStarted,this.children=new Map,this.forwardTo=new Set,this.init=this.start,this.send=function(c,v){if(yt(c))return a.batch(c),a.state;var f=Pe(gn(c,v));if(a.status===Be.Stopped)return a.state;if(a.status!==Be.Running&&!a.options.deferEvents)throw new Error('Event "'.concat(f.name,'" was sent to uninitialized service "').concat(a.machine.id,`". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.
17
- Event: `).concat(JSON.stringify(f.data)));return a.scheduler.schedule(function(){a.forward(f);var p=a.nextState(f);a.update(p,f)}),a._state},this.sendTo=function(c,v){var f=a.parent&&(v===wt.Parent||a.parent.id===v),p=f?a.parent:Q(v)?a.children.get(v)||kr.get(v):Gd(v)?v:void 0;if(!p){if(!f)throw new Error("Unable to send event to child '".concat(v,"' from service '").concat(a.id,"'."));return}"machine"in p?p.send(N(N({},c),{name:c.name===Yd?"".concat(Wt(a.id)):c.name,origin:a.sessionId})):p.send(c.data)};var o=N(N({},e.defaultOptions),r),i=o.clock,s=o.logger,l=o.parent,u=o.id,d=u!==void 0?u:t.id;this.id=d,this.logger=s,this.clock=i,this.parent=l,this.options=o,this.scheduler=new Oo({deferEvents:this.options.deferEvents}),this.sessionId=kr.bookId()}return Object.defineProperty(e.prototype,"initialState",{get:function(){var t=this;return this._initialState?this._initialState:qt(this,function(){return t._initialState=t.machine.initialState,t._initialState})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),e.prototype.execute=function(t,r){var a,o;try{for(var i=J(t.actions),s=i.next();!s.done;s=i.next()){var l=s.value;this.exec(l,t,r)}}catch(u){a={error:u}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(a)throw a.error}}},e.prototype.update=function(t,r){var a,o,i,s,l,u,d,c,v=this;if(t._sessionid=this.sessionId,this._state=t,this.options.execute&&this.execute(this.state),this.children.forEach(function(x){v.state.children[x.id]=x}),this.devTools&&this.devTools.send(r.data,t),t.event)try{for(var f=J(this.eventListeners),p=f.next();!p.done;p=f.next()){var m=p.value;m(t.event)}}catch(x){a={error:x}}finally{try{p&&!p.done&&(o=f.return)&&o.call(f)}finally{if(a)throw a.error}}try{for(var y=J(this.listeners),C=y.next();!C.done;C=y.next()){var m=C.value;m(t,t.event)}}catch(x){i={error:x}}finally{try{C&&!C.done&&(s=y.return)&&s.call(y)}finally{if(i)throw i.error}}try{for(var b=J(this.contextListeners),g=b.next();!g.done;g=b.next()){var w=g.value;w(this.state.context,this.state.history?this.state.history.context:void 0)}}catch(x){l={error:x}}finally{try{g&&!g.done&&(u=b.return)&&u.call(b)}finally{if(l)throw l.error}}var _=Kt(t.configuration||[],this.machine);if(this.state.configuration&&_){var E=t.configuration.find(function(x){return x.type==="final"&&x.parent===v.machine}),k=E&&E.doneData?mr(E.doneData,t.context,r):void 0;try{for(var S=J(this.doneListeners),I=S.next();!I.done;I=S.next()){var m=I.value;m(_r(this.id,k))}}catch(x){d={error:x}}finally{try{I&&!I.done&&(c=S.return)&&c.call(S)}finally{if(d)throw d.error}}this.stop()}},e.prototype.onTransition=function(t){return this.listeners.add(t),this.status===Be.Running&&t(this.state,this.state.event),this},e.prototype.subscribe=function(t,r,a){var o=this;if(!t)return{unsubscribe:function(){}};var i,s=a;return typeof t=="function"?i=t:(i=t.next.bind(t),s=t.complete.bind(t)),this.listeners.add(i),this.status===Be.Running&&i(this.state),s&&this.onDone(s),{unsubscribe:function(){i&&o.listeners.delete(i),s&&o.doneListeners.delete(s)}}},e.prototype.onEvent=function(t){return this.eventListeners.add(t),this},e.prototype.onSend=function(t){return this.sendListeners.add(t),this},e.prototype.onChange=function(t){return this.contextListeners.add(t),this},e.prototype.onStop=function(t){return this.stopListeners.add(t),this},e.prototype.onDone=function(t){return this.doneListeners.add(t),this},e.prototype.off=function(t){return this.listeners.delete(t),this.eventListeners.delete(t),this.sendListeners.delete(t),this.stopListeners.delete(t),this.doneListeners.delete(t),this.contextListeners.delete(t),this},e.prototype.start=function(t){var r=this;if(this.status===Be.Running)return this;kr.register(this.sessionId,this),this.initialized=!0,this.status=Be.Running;var a=t===void 0?this.initialState:qt(this,function(){return vf(t)?r.machine.resolveState(t):r.machine.resolveState(it.from(t,r.machine.context))});return this.options.devTools&&this.attachDev(),this.scheduler.initialize(function(){r.update(a,br)}),this},e.prototype.stop=function(){var t,r,a,o,i,s,l,u,d,c,v=this;try{for(var f=J(this.listeners),p=f.next();!p.done;p=f.next()){var m=p.value;this.listeners.delete(m)}}catch(I){t={error:I}}finally{try{p&&!p.done&&(r=f.return)&&r.call(f)}finally{if(t)throw t.error}}try{for(var y=J(this.stopListeners),C=y.next();!C.done;C=y.next()){var m=C.value;m(),this.stopListeners.delete(m)}}catch(I){a={error:I}}finally{try{C&&!C.done&&(o=y.return)&&o.call(y)}finally{if(a)throw a.error}}try{for(var b=J(this.contextListeners),g=b.next();!g.done;g=b.next()){var m=g.value;this.contextListeners.delete(m)}}catch(I){i={error:I}}finally{try{g&&!g.done&&(s=b.return)&&s.call(b)}finally{if(i)throw i.error}}try{for(var w=J(this.doneListeners),_=w.next();!_.done;_=w.next()){var m=_.value;this.doneListeners.delete(m)}}catch(I){l={error:I}}finally{try{_&&!_.done&&(u=w.return)&&u.call(w)}finally{if(l)throw l.error}}if(!this.initialized)return this;this.state.configuration.forEach(function(I){var x,$;try{for(var F=J(I.definition.exit),R=F.next();!R.done;R=F.next()){var B=R.value;v.exec(B,v.state)}}catch(U){x={error:U}}finally{try{R&&!R.done&&($=F.return)&&$.call(F)}finally{if(x)throw x.error}}}),this.children.forEach(function(I){le(I.stop)&&I.stop()});try{for(var E=J(ye(this.delayedEventsMap)),k=E.next();!k.done;k=E.next()){var S=k.value;this.clock.clearTimeout(this.delayedEventsMap[S])}}catch(I){d={error:I}}finally{try{k&&!k.done&&(c=E.return)&&c.call(E)}finally{if(d)throw d.error}}return this.scheduler.clear(),this.initialized=!1,this.status=Be.Stopped,kr.free(this.sessionId),this},e.prototype.batch=function(t){var r=this;if(!(this.status===Be.NotStarted&&this.options.deferEvents)){if(this.status!==Be.Running)throw new Error("".concat(t.length,' event(s) were sent to uninitialized service "').concat(this.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.'))}this.scheduler.schedule(function(){var a,o,i=r.state,s=!1,l=[],u=function(f){var p=Pe(f);r.forward(p),i=qt(r,function(){return r.machine.transition(i,p)}),l.push.apply(l,we([],se(i.actions.map(function(m){return pf(m,i)})),!1)),s=s||!!i.changed};try{for(var d=J(t),c=d.next();!c.done;c=d.next()){var v=c.value;u(v)}}catch(f){a={error:f}}finally{try{c&&!c.done&&(o=d.return)&&o.call(d)}finally{if(a)throw a.error}}i.changed=s,i.actions=l,r.update(i,Pe(t[t.length-1]))})},e.prototype.sender=function(t){return this.send.bind(this,t)},e.prototype.nextState=function(t){var r=this,a=Pe(t);if(a.name.indexOf(No)===0&&!this.state.nextEvents.some(function(i){return i.indexOf(No)===0}))throw a.data.data;var o=qt(this,function(){return r.machine.transition(r.state,a)});return o},e.prototype.forward=function(t){var r,a;try{for(var o=J(this.forwardTo),i=o.next();!i.done;i=o.next()){var s=i.value,l=this.children.get(s);if(!l)throw new Error("Unable to forward event '".concat(t,"' from interpreter '").concat(this.id,"' to nonexistant child '").concat(s,"'."));l.send(t)}}catch(u){r={error:u}}finally{try{i&&!i.done&&(a=o.return)&&a.call(o)}finally{if(r)throw r.error}}},e.prototype.defer=function(t){var r=this;this.delayedEventsMap[t.id]=this.clock.setTimeout(function(){t.to?r.sendTo(t._event,t.to):r.send(t._event)},t.delay)},e.prototype.cancel=function(t){this.clock.clearTimeout(this.delayedEventsMap[t]),delete this.delayedEventsMap[t]},e.prototype.exec=function(t,r,a){a===void 0&&(a=this.machine.options.actions);var o=r.context,i=r._event,s=t.exec||_n(t.type,a),l=le(s)?s:s?s.exec:t.exec;if(l)try{return l(o,i.data,{action:t,state:this.state,_event:i})}catch(_){throw this.parent&&this.parent.send({type:"xstate.error",data:_}),_}switch(t.type){case yr:var u=t;if(typeof u.delay=="number"){this.defer(u);return}else u.to?this.sendTo(u._event,u.to):this.send(u._event);break;case ko:this.cancel(t.sendId);break;case yn:{if(this.status!==Be.Running)return;var d=t.activity;if(!this.state.activities[d.id||d.type])break;if(d.type===de.Invoke){var c=Ao(d.src),v=this.machine.options.services?this.machine.options.services[c.type]:void 0,f=d.id,p=d.data,m="autoForward"in d?d.autoForward:!!d.forward;if(!v)return;var y=p?mr(p,o,i):void 0;if(typeof v=="string")return;var C=le(v)?v(o,i.data,{data:y,src:c,meta:d.meta}):v;if(!C)return;var b=void 0;rt(C)&&(C=y?C.withContext(y):C,b={autoForward:m}),this.spawn(C,f,b)}else this.spawnActivity(d);break}case bn:{this.stopChild(t.activity.id);break}case Po:var g=t.label,w=t.value;g?this.logger(g,w):this.logger(w);break}},e.prototype.removeChild=function(t){var r;this.children.delete(t),this.forwardTo.delete(t),(r=this.state)===null||r===void 0||delete r.children[t]},e.prototype.stopChild=function(t){var r=this.children.get(t);!r||(this.removeChild(t),le(r.stop)&&r.stop())},e.prototype.spawn=function(t,r,a){if(bo(t))return this.spawnPromise(Promise.resolve(t),r);if(le(t))return this.spawnCallback(t,r);if(yf(t))return this.spawnActor(t,r);if(jd(t))return this.spawnObservable(t,r);if(rt(t))return this.spawnMachine(t,N(N({},a),{id:r}));if(zd(t))return this.spawnBehavior(t,r);throw new Error('Unable to spawn entity "'.concat(r,'" of type "').concat(typeof t,'".'))},e.prototype.spawnMachine=function(t,r){var a=this;r===void 0&&(r={});var o=new e(t,N(N({},this.options),{parent:this,id:r.id||t.id})),i=N(N({},Nn),r);i.sync&&o.onTransition(function(l){a.send(Sn,{state:l,id:o.id})});var s=o;return this.children.set(o.id,s),i.autoForward&&this.forwardTo.add(o.id),o.onDone(function(l){a.removeChild(o.id),a.send(Pe(l,{origin:o.id}))}).start(),s},e.prototype.spawnBehavior=function(t,r){var a=kf(t,{id:r,parent:this});return this.children.set(r,a),a},e.prototype.spawnPromise=function(t,r){var a=this,o=!1,i;t.then(function(l){o||(i=l,a.removeChild(r),a.send(Pe(_r(r,l),{origin:r})))},function(l){if(!o){a.removeChild(r);var u=Wt(r,l);try{a.send(Pe(u,{origin:r}))}catch{a.devTools&&a.devTools.send(u,a.state),a.machine.strict&&a.stop()}}});var s=N({id:r,send:function(){},subscribe:function(l,u,d){var c=Io(l,u,d),v=!1;return t.then(function(f){v||(c.next(f),!v&&c.complete())},function(f){v||c.error(f)}),{unsubscribe:function(){return v=!0}}},stop:function(){o=!0},toJSON:function(){return{id:r}},getSnapshot:function(){return i}},bt);return this.children.set(r,s),s},e.prototype.spawnCallback=function(t,r){var a=this,o=!1,i=new Set,s=new Set,l,u=function(v){l=v,s.forEach(function(f){return f(v)}),!o&&a.send(Pe(v,{origin:r}))},d;try{d=t(u,function(v){i.add(v)})}catch(v){this.send(Wt(r,v))}if(bo(d))return this.spawnPromise(d,r);var c=N({id:r,send:function(v){return i.forEach(function(f){return f(v)})},subscribe:function(v){return s.add(v),{unsubscribe:function(){s.delete(v)}}},stop:function(){o=!0,le(d)&&d()},toJSON:function(){return{id:r}},getSnapshot:function(){return l}},bt);return this.children.set(r,c),c},e.prototype.spawnObservable=function(t,r){var a=this,o,i=t.subscribe(function(l){o=l,a.send(Pe(l,{origin:r}))},function(l){a.removeChild(r),a.send(Pe(Wt(r,l),{origin:r}))},function(){a.removeChild(r),a.send(Pe(_r(r),{origin:r}))}),s=N({id:r,send:function(){},subscribe:function(l,u,d){return t.subscribe(l,u,d)},stop:function(){return i.unsubscribe()},getSnapshot:function(){return o},toJSON:function(){return{id:r}}},bt);return this.children.set(r,s),s},e.prototype.spawnActor=function(t,r){return this.children.set(r,t),t},e.prototype.spawnActivity=function(t){var r=this.machine.options&&this.machine.options.activities?this.machine.options.activities[t.type]:void 0;if(!!r){var a=r(this.state.context,t);this.spawnEffect(t.id,a)}},e.prototype.spawnEffect=function(t,r){this.children.set(t,N({id:t,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},stop:r||void 0,getSnapshot:function(){},toJSON:function(){return{id:t}}},bt))},e.prototype.attachDev=function(){var t=Pn();if(this.options.devTools&&t){if(t.__REDUX_DEVTOOLS_EXTENSION__){var r=typeof this.options.devTools=="object"?this.options.devTools:void 0;this.devTools=t.__REDUX_DEVTOOLS_EXTENSION__.connect(N(N({name:this.id,autoPause:!0,stateSanitizer:function(a){return{value:a.value,context:a.context,actions:a.actions}}},r),{features:N({jump:!1,skip:!1},r?r.features:void 0)}),this.machine),this.devTools.init(this.state)}If(this)}},e.prototype.toJSON=function(){return{id:this.id}},e.prototype[xo]=function(){return this},e.prototype.getSnapshot=function(){return this.status===Be.NotStarted?this.initialState:this._state},e.defaultOptions=function(t){return{execute:!0,deferEvents:!0,clock:{setTimeout:function(r,a){return setTimeout(r,a)},clearTimeout:function(r){return clearTimeout(r)}},logger:t.console.log.bind(console),devTools:!1}}(typeof self!="undefined"?self:global),e.interpret=Vo,e}(),Nf=function(e){return Q(e)?N(N({},Nn),{name:e}):N(N(N({},Nn),{name:Hd()}),e)};function Pr(e,t){var r=Nf(t);return mf(function(a){if(!ht){var o=rt(e)||le(e);gt(!!a||o,'Attempted to spawn an Actor (ID: "'.concat(rt(e)?e.id:"undefined",'") outside of a service. This will have no effect.'))}return a?a.spawn(e,r.name,r):Ro(e,r.name)})}function Vo(e,t){var r=new Pf(e,t);return r}var ie={},Tn={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});/*! *****************************************************************************
14
+ ***************************************************************************** */var $=function(){return $=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},$.apply(this,arguments)};function Pn(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function K(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Q(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),o,i=[],s;try{for(;(t===void 0||t-- >0)&&!(o=n.next()).done;)i.push(o.value)}catch(u){s={error:u}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return i}function ce(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}var ri=".",ni={},kn="xstate.guard",hg="",dt=!0,Nn;function se(e){return Object.keys(e)}function Bn(e,t,r){r===void 0&&(r=ri);var n=Mt(e,r),o=Mt(t,r);return q(o)?q(n)?o===n:!1:q(n)?n in o:se(n).every(function(i){return i in o?Bn(n[i],o[i]):!1})}function ai(e){try{return q(e)||typeof e=="number"?"".concat(e):e.type}catch{throw new Error("Events must be strings or objects with a string event.type property.")}}function Fn(e,t){try{return vt(e)?e:e.toString().split(t)}catch{throw new Error("'".concat(e,"' is not a valid state path."))}}function gg(e){return typeof e=="object"&&"value"in e&&"context"in e&&"event"in e&&"_event"in e}function Mt(e,t){if(gg(e))return e.value;if(vt(e))return br(e);if(typeof e!="string")return e;var r=Fn(e,t);return br(r)}function br(e){if(e.length===1)return e[0];for(var t={},r=t,n=0;n<e.length-1;n++)n===e.length-2?r[e[n]]=e[n+1]:(r[e[n]]={},r=r[e[n]]);return t}function Lt(e,t){for(var r={},n=se(e),o=0;o<n.length;o++){var i=n[o];r[i]=t(e[i],i,e,o)}return r}function oi(e,t,r){var n,o,i={};try{for(var s=K(se(e)),u=s.next();!u.done;u=s.next()){var l=u.value,d=e[l];!r(d)||(i[l]=t(d,l,e))}}catch(c){n={error:c}}finally{try{u&&!u.done&&(o=s.return)&&o.call(s)}finally{if(n)throw n.error}}return i}var yg=function(e){return function(t){var r,n,o=t;try{for(var i=K(e),s=i.next();!s.done;s=i.next()){var u=s.value;o=o[u]}}catch(l){r={error:l}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return o}};function bg(e,t){return function(r){var n,o,i=r;try{for(var s=K(e),u=s.next();!u.done;u=s.next()){var l=u.value;i=i[t][l]}}catch(d){n={error:d}}finally{try{u&&!u.done&&(o=s.return)&&o.call(s)}finally{if(n)throw n.error}}return i}}function Cr(e){if(!e)return[[]];if(q(e))return[[e]];var t=ue(se(e).map(function(r){var n=e[r];return typeof n!="string"&&(!n||!Object.keys(n).length)?[[r]]:Cr(e[r]).map(function(o){return[r].concat(o)})}));return t}function ue(e){var t;return(t=[]).concat.apply(t,ce([],Q(e),!1))}function ii(e){return vt(e)?e:[e]}function Be(e){return e===void 0?[]:ii(e)}function Sr(e,t,r){var n,o;if(ee(e))return e(t,r.data);var i={};try{for(var s=K(Object.keys(e)),u=s.next();!u.done;u=s.next()){var l=u.value,d=e[l];ee(d)?i[l]=d(t,r.data):i[l]=d}}catch(c){n={error:c}}finally{try{u&&!u.done&&(o=s.return)&&o.call(s)}finally{if(n)throw n.error}}return i}function Cg(e){return/^(done|error)\./.test(e)}function si(e){return!!(e instanceof Promise||e!==null&&(ee(e)||typeof e=="object")&&ee(e.then))}function Sg(e){return e!==null&&typeof e=="object"&&"transition"in e&&typeof e.transition=="function"}function ui(e,t){var r,n,o=Q([[],[]],2),i=o[0],s=o[1];try{for(var u=K(e),l=u.next();!l.done;l=u.next()){var d=l.value;t(d)?i.push(d):s.push(d)}}catch(c){r={error:c}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}return[i,s]}function li(e,t){return Lt(e.states,function(r,n){if(!!r){var o=(q(t)?void 0:t[n])||(r?r.current:void 0);if(!!o)return{current:o,states:li(r,o)}}})}function wg(e,t){return{current:t,states:li(e,t)}}function ci(e,t,r,n){var o=e&&r.reduce(function(i,s){var u,l,d=s.assignment,c={state:n,action:s,_event:t},v={};if(ee(d))v=d(i,t.data,c);else try{for(var f=K(se(d)),m=f.next();!m.done;m=f.next()){var g=m.value,h=d[g];v[g]=ee(h)?h(i,t.data,c):h}}catch(p){u={error:p}}finally{try{m&&!m.done&&(l=f.return)&&l.call(f)}finally{if(u)throw u.error}}return Object.assign({},i,v)},e);return o}var ft=function(){};function vt(e){return Array.isArray(e)}function ee(e){return typeof e=="function"}function q(e){return typeof e=="string"}function di(e,t){if(!!e)return q(e)?{type:kn,name:e,predicate:t?t[e]:void 0}:ee(e)?{type:kn,name:e.name,predicate:e}:e}function _g(e){try{return"subscribe"in e&&ee(e.subscribe)}catch{return!1}}var fi=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),pt=(Nn={},Nn[fi]=function(){return this},Nn);function Ke(e){try{return"__xstatenode"in e}catch{return!1}}function xg(e){return!!e&&typeof e.send=="function"}var Eg=function(){var e=0;return function(){return e++,e.toString(16)}}();function Rn(e,t){return q(e)||typeof e=="number"?$({type:e},t):e}function ye(e,t){if(!q(e)&&"$$type"in e&&e.$$type==="scxml")return e;var r=Rn(e);return $({name:r.type,data:r,$$type:"scxml",type:"external"},t)}function mt(e,t){var r=ii(t).map(function(n){return typeof n=="undefined"||typeof n=="string"||Ke(n)?{target:n,event:e}:$($({},n),{event:e})});return r}function Ag(e){if(!(e===void 0||e===hg))return Be(e)}function vi(e,t,r,n,o){var i=e.options.guards,s={state:o,cond:t,_event:n};if(t.type===kn)return((i==null?void 0:i[t.name])||t.predicate)(r,n.data,s);var u=i[t.type];if(!u)throw new Error("Guard '".concat(t.type,"' is not implemented on machine '").concat(e.id,"'."));return u(r,n.data,s)}function pi(e){return typeof e=="string"?{type:e}:e}function mi(e,t,r){if(typeof e=="object")return e;var n=function(){};return{next:e,error:t||n,complete:r||n}}function wr(e,t){return"".concat(e,":invocation[").concat(t,"]")}var te;(function(e){e.Start="xstate.start",e.Stop="xstate.stop",e.Raise="xstate.raise",e.Send="xstate.send",e.Cancel="xstate.cancel",e.NullEvent="",e.Assign="xstate.assign",e.After="xstate.after",e.DoneState="done.state",e.DoneInvoke="done.invoke",e.Log="xstate.log",e.Init="xstate.init",e.Invoke="xstate.invoke",e.ErrorExecution="error.execution",e.ErrorCommunication="error.communication",e.ErrorPlatform="error.platform",e.ErrorCustom="xstate.error",e.Update="xstate.update",e.Pure="xstate.pure",e.Choose="xstate.choose"})(te||(te={}));var ht;(function(e){e.Parent="#_parent",e.Internal="#_internal"})(ht||(ht={}));var Dn=te.Start,On=te.Stop,_r=te.Raise,xr=te.Send,hi=te.Cancel,Ig=te.NullEvent,Un=te.Assign;te.After;te.DoneState;var gi=te.Log,$g=te.Init,Vn=te.Invoke;te.ErrorExecution;var yi=te.ErrorPlatform,Tg=te.ErrorCustom,Mn=te.Update,Pg=te.Choose,kg=te.Pure,Er=ye({type:$g});function Ln(e,t){return t&&t[e]||void 0}function zt(e,t){var r;if(q(e)||typeof e=="number"){var n=Ln(e,t);ee(n)?r={type:e,exec:n}:n?r=n:r={type:e,exec:void 0}}else if(ee(e))r={type:e.name||e.toString(),exec:e};else{var n=Ln(e.type,t);if(ee(n))r=$($({},e),{exec:n});else if(n){var o=n.type||e.type;r=$($($({},n),e),{type:o})}else r=e}return r}var Ar=function(e,t){if(!e)return[];var r=vt(e)?e:[e];return r.map(function(n){return zt(n,t)})};function zn(e){var t=zt(e);return $($({id:q(e)?e:t.id},t),{type:t.type})}function Ng(e){return q(e)?{type:_r,event:e}:Ir(e,{to:ht.Internal})}function Bg(e){return{type:_r,_event:ye(e.event)}}function Ir(e,t){return{to:t?t.to:void 0,type:xr,event:ee(e)?e:Rn(e),delay:t?t.delay:void 0,id:t&&t.id!==void 0?t.id:ee(e)?e.name:ai(e)}}function Fg(e,t,r,n){var o={_event:r},i=ye(ee(e.event)?e.event(t,r.data,o):e.event),s;if(q(e.delay)){var u=n&&n[e.delay];s=ee(u)?u(t,r.data,o):u}else s=ee(e.delay)?e.delay(t,r.data,o):e.delay;var l=ee(e.to)?e.to(t,r.data,o):e.to;return $($({},e),{to:l,_event:i,event:i.data,delay:s})}function Rg(e,t){return Ir(e,$($({},t),{to:ht.Parent}))}function X(){return Rg(Mn)}var Dg=function(e,t,r){return $($({},e),{value:q(e.expr)?e.expr:e.expr(t,r.data,{_event:r})})},Og=function(e){return{type:hi,sendId:e}};function Ug(e){var t=zn(e);return{type:te.Start,activity:t,exec:void 0}}function Vg(e){var t=ee(e)?e:zn(e);return{type:te.Stop,activity:t,exec:void 0}}function Mg(e,t,r){var n=ee(e.activity)?e.activity(t,r.data):e.activity,o=typeof n=="string"?{id:n}:n,i={type:te.Stop,activity:o};return i}var Le=function(e){return{type:Un,assignment:e}};function Lg(e,t){var r=t?"#".concat(t):"";return"".concat(te.After,"(").concat(e,")").concat(r)}function $r(e,t){var r="".concat(te.DoneState,".").concat(e),n={type:r,data:t};return n.toString=function(){return r},n}function Tr(e,t){var r="".concat(te.DoneInvoke,".").concat(e),n={type:r,data:t};return n.toString=function(){return r},n}function jt(e,t){var r="".concat(te.ErrorPlatform,".").concat(e),n={type:r,data:t};return n.toString=function(){return r},n}function zg(e,t){return Ir(function(r,n){return n},$($({},t),{to:e}))}function jn(e,t,r,n,o,i){i===void 0&&(i=!1);var s=Q(i?[[],o]:ui(o,function(f){return f.type===Un}),2),u=s[0],l=s[1],d=u.length?ci(r,n,u,t):r,c=i?[r]:void 0,v=ue(l.map(function(f){var m;switch(f.type){case _r:return Bg(f);case xr:var g=Fg(f,d,n,e.options.delays);return g;case gi:return Dg(f,d,n);case Pg:{var h=f,p=(m=h.conds.find(function(B){var U=di(B.cond,e.options.guards);return!U||vi(e,U,d,n,t)}))===null||m===void 0?void 0:m.actions;if(!p)return[];var y=Q(jn(e,t,d,n,Ar(Be(p),e.options.actions),i),2),C=y[0],S=y[1];return d=S,c==null||c.push(d),C}case kg:{var p=f.get(d,n.data);if(!p)return[];var w=Q(jn(e,t,d,n,Ar(Be(p),e.options.actions),i),2),x=w[0],A=w[1];return d=A,c==null||c.push(d),x}case On:return Mg(f,d,n);case Un:{d=ci(d,n,[f],t),c==null||c.push(d);break}default:var E=zt(f,e.options.actions),I=E.exec;if(I&&c){var T=c.length-1;E=$($({},E),{exec:function(B){for(var U=[],O=1;O<arguments.length;O++)U[O-1]=arguments[O];I.apply(void 0,ce([c[T]],Q(U),!1))}})}return E}}).filter(function(f){return!!f}));return[v,d]}var Pr=function(e){return e.type==="atomic"||e.type==="final"};function gt(e){return se(e.states).map(function(t){return e.states[t]})}function bi(e){var t=[e];return Pr(e)?t:t.concat(ue(gt(e).map(bi)))}function yt(e,t){var r,n,o,i,s,u,l,d,c=new Set(e),v=Gn(c),f=new Set(t);try{for(var m=K(f),g=m.next();!g.done;g=m.next())for(var h=g.value,p=h.parent;p&&!f.has(p);)f.add(p),p=p.parent}catch(T){r={error:T}}finally{try{g&&!g.done&&(n=m.return)&&n.call(m)}finally{if(r)throw r.error}}var y=Gn(f);try{for(var C=K(f),S=C.next();!S.done;S=C.next()){var h=S.value;if(h.type==="compound"&&(!y.get(h)||!y.get(h).length))v.get(h)?v.get(h).forEach(function(B){return f.add(B)}):h.initialStateNodes.forEach(function(B){return f.add(B)});else if(h.type==="parallel")try{for(var w=(s=void 0,K(gt(h))),x=w.next();!x.done;x=w.next()){var A=x.value;A.type!=="history"&&(f.has(A)||(f.add(A),v.get(A)?v.get(A).forEach(function(B){return f.add(B)}):A.initialStateNodes.forEach(function(B){return f.add(B)})))}}catch(B){s={error:B}}finally{try{x&&!x.done&&(u=w.return)&&u.call(w)}finally{if(s)throw s.error}}}}catch(T){o={error:T}}finally{try{S&&!S.done&&(i=C.return)&&i.call(C)}finally{if(o)throw o.error}}try{for(var E=K(f),I=E.next();!I.done;I=E.next())for(var h=I.value,p=h.parent;p&&!f.has(p);)f.add(p),p=p.parent}catch(T){l={error:T}}finally{try{I&&!I.done&&(d=E.return)&&d.call(E)}finally{if(l)throw l.error}}return f}function Ci(e,t){var r=t.get(e);if(!r)return{};if(e.type==="compound"){var n=r[0];if(n){if(Pr(n))return n.key}else return{}}var o={};return r.forEach(function(i){o[i.key]=Ci(i,t)}),o}function Gn(e){var t,r,n=new Map;try{for(var o=K(e),i=o.next();!i.done;i=o.next()){var s=i.value;n.has(s)||n.set(s,[]),s.parent&&(n.has(s.parent)||n.set(s.parent,[]),n.get(s.parent).push(s))}}catch(u){t={error:u}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return n}function jg(e,t){var r=yt([e],t);return Ci(e,Gn(r))}function kr(e,t){return Array.isArray(e)?e.some(function(r){return r===t}):e instanceof Set?e.has(t):!1}function Gg(e){return ce([],Q(new Set(ue(ce([],Q(e.map(function(t){return t.ownEvents})),!1)))),!1)}function Gt(e,t){return t.type==="compound"?gt(t).some(function(r){return r.type==="final"&&kr(e,r)}):t.type==="parallel"?gt(t).every(function(r){return Gt(e,r)}):!1}function Wg(e){return e===void 0&&(e=[]),e.reduce(function(t,r){return r.meta!==void 0&&(t[r.id]=r.meta),t},{})}function Si(e){return new Set(ue(e.map(function(t){return t.tags})))}function wi(e,t){if(e===t)return!0;if(e===void 0||t===void 0)return!1;if(q(e)||q(t))return e===t;var r=se(e),n=se(t);return r.length===n.length&&r.every(function(o){return wi(e[o],t[o])})}function Hg(e){return q(e)?!1:"value"in e&&"history"in e}function Kg(e,t){var r=e.exec,n=$($({},e),{exec:r!==void 0?function(){return r(t.context,t.event,{action:e,state:t,_event:t._event})}:void 0});return n}var Xe=function(){function e(t){var r=this,n;this.actions=[],this.activities=ni,this.meta={},this.events=[],this.value=t.value,this.context=t.context,this._event=t._event,this._sessionid=t._sessionid,this.event=this._event.data,this.historyValue=t.historyValue,this.history=t.history,this.actions=t.actions||[],this.activities=t.activities||ni,this.meta=Wg(t.configuration),this.events=t.events||[],this.matches=this.matches.bind(this),this.toStrings=this.toStrings.bind(this),this.configuration=t.configuration,this.transitions=t.transitions,this.children=t.children,this.done=!!t.done,this.tags=(n=Array.isArray(t.tags)?new Set(t.tags):t.tags)!==null&&n!==void 0?n:new Set,this.machine=t.machine,Object.defineProperty(this,"nextEvents",{get:function(){return Gg(r.configuration)}})}return e.from=function(t,r){if(t instanceof e)return t.context!==r?new e({value:t.value,context:r,_event:t._event,_sessionid:null,historyValue:t.historyValue,history:t.history,actions:[],activities:t.activities,meta:{},events:[],configuration:[],transitions:[],children:{}}):t;var n=Er;return new e({value:t,context:r,_event:n,_sessionid:null,historyValue:void 0,history:void 0,actions:[],activities:void 0,meta:void 0,events:[],configuration:[],transitions:[],children:{}})},e.create=function(t){return new e(t)},e.inert=function(t,r){if(t instanceof e){if(!t.actions.length)return t;var n=Er;return new e({value:t.value,context:r,_event:n,_sessionid:null,historyValue:t.historyValue,history:t.history,activities:t.activities,configuration:t.configuration,transitions:[],children:{}})}return e.from(t,r)},e.prototype.toStrings=function(t,r){var n=this;if(t===void 0&&(t=this.value),r===void 0&&(r="."),q(t))return[t];var o=se(t);return o.concat.apply(o,ce([],Q(o.map(function(i){return n.toStrings(t[i],r).map(function(s){return i+r+s})})),!1))},e.prototype.toJSON=function(){var t=this;t.configuration,t.transitions;var r=t.tags;t.machine;var n=Pn(t,["configuration","transitions","tags","machine"]);return $($({},n),{tags:Array.from(r)})},e.prototype.matches=function(t){return Bn(t,this.value)},e.prototype.hasTag=function(t){return this.tags.has(t)},e.prototype.can=function(t){var r;ft(!!this.machine);var n=(r=this.machine)===null||r===void 0?void 0:r.getTransitionData(this,t);return!!(n==null?void 0:n.transitions.length)&&n.transitions.some(function(o){return o.target!==void 0||o.actions.length})},e}(),Nr=[],Wt=function(e,t){Nr.push(e);var r=t(e);return Nr.pop(),r},qg=function(e){return e(Nr[Nr.length-1])};function _i(e){return $({id:e,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},getSnapshot:function(){},toJSON:function(){return{id:e}}},pt)}function Yg(e,t,r,n){var o,i=pi(e.src),s=(o=t==null?void 0:t.options.services)===null||o===void 0?void 0:o[i.type],u=e.data?Sr(e.data,r,n):void 0,l=s?xi(s,e.id,u):_i(e.id);return l.meta=e,l}function xi(e,t,r){var n=_i(t);if(n.deferred=!0,Ke(e)){var o=n.state=Wt(void 0,function(){return(r?e.withContext(r):e).initialState});n.getSnapshot=function(){return o}}return n}function Zg(e){try{return typeof e.send=="function"}catch{return!1}}function Xg(e){return Zg(e)&&"id"in e}function Jg(e){return $($({subscribe:function(){return{unsubscribe:function(){}}},id:"anonymous",getSnapshot:function(){}},pt),e)}function Qg(e){if(typeof e=="string"){var t={type:e};return t.toString=function(){return e},t}return e}function Br(e){return $($({type:Vn},e),{toJSON:function(){e.onDone,e.onError;var t=Pn(e,["onDone","onError"]);return $($({},t),{type:Vn,src:Qg(e.src)})}})}var bt="",Wn="#",Ht="*",Ct={},St=function(e){return e[0]===Wn},e0=function(){return{actions:{},guards:{},services:{},activities:{},delays:{}}},t0=function(e,t,r){var n=r.slice(0,-1).some(function(i){return!("cond"in i)&&!("in"in i)&&(q(i.target)||Ke(i.target))}),o=t===bt?"the transient event":"event '".concat(t,"'");ft(!n,"One or more transitions for ".concat(o," on state '").concat(e.id,"' are unreachable. ")+"Make sure that the default transition is the last one defined.")},r0=function(){function e(t,r,n){var o=this;n===void 0&&(n="context"in t?t.context:void 0);var i;this.config=t,this._context=n,this.order=-1,this.__xstatenode=!0,this.__cache={events:void 0,relativeValue:new Map,initialStateValue:void 0,initialState:void 0,on:void 0,transitions:void 0,candidates:{},delayedTransitions:void 0},this.idMap={},this.tags=[],this.options=Object.assign(e0(),r),this.parent=this.options._parent,this.key=this.config.key||this.options._key||this.config.id||"(machine)",this.machine=this.parent?this.parent.machine:this,this.path=this.parent?this.parent.path.concat(this.key):[],this.delimiter=this.config.delimiter||(this.parent?this.parent.delimiter:ri),this.id=this.config.id||ce([this.machine.key],Q(this.path),!1).join(this.delimiter),this.version=this.parent?this.parent.version:this.config.version,this.type=this.config.type||(this.config.parallel?"parallel":this.config.states&&se(this.config.states).length?"compound":this.config.history?"history":"atomic"),this.schema=this.parent?this.machine.schema:(i=this.config.schema)!==null&&i!==void 0?i:{},this.description=this.config.description,this.initial=this.config.initial,this.states=this.config.states?Lt(this.config.states,function(l,d){var c,v=new e(l,{_parent:o,_key:d});return Object.assign(o.idMap,$((c={},c[v.id]=v,c),v.idMap)),v}):Ct;var s=0;function u(l){var d,c;l.order=s++;try{for(var v=K(gt(l)),f=v.next();!f.done;f=v.next()){var m=f.value;u(m)}}catch(g){d={error:g}}finally{try{f&&!f.done&&(c=v.return)&&c.call(v)}finally{if(d)throw d.error}}}u(this),this.history=this.config.history===!0?"shallow":this.config.history||!1,this._transient=!!this.config.always||(this.config.on?Array.isArray(this.config.on)?this.config.on.some(function(l){var d=l.event;return d===bt}):bt in this.config.on:!1),this.strict=!!this.config.strict,this.onEntry=Be(this.config.entry||this.config.onEntry).map(function(l){return zt(l)}),this.onExit=Be(this.config.exit||this.config.onExit).map(function(l){return zt(l)}),this.meta=this.config.meta,this.doneData=this.type==="final"?this.config.data:void 0,this.invoke=Be(this.config.invoke).map(function(l,d){var c,v;if(Ke(l)){var f=wr(o.id,d);return o.machine.options.services=$((c={},c[f]=l,c),o.machine.options.services),Br({src:f,id:f})}else if(q(l.src)){var f=l.id||wr(o.id,d);return Br($($({},l),{id:f,src:l.src}))}else if(Ke(l.src)||ee(l.src)){var f=l.id||wr(o.id,d);return o.machine.options.services=$((v={},v[f]=l.src,v),o.machine.options.services),Br($($({id:f},l),{src:f}))}else{var m=l.src;return Br($($({id:wr(o.id,d)},l),{src:m}))}}),this.activities=Be(this.config.activities).concat(this.invoke).map(function(l){return zn(l)}),this.transition=this.transition.bind(this),this.tags=Be(this.config.tags)}return e.prototype._init=function(){this.__cache.transitions||bi(this).forEach(function(t){return t.on})},e.prototype.withConfig=function(t,r){var n=this.options,o=n.actions,i=n.activities,s=n.guards,u=n.services,l=n.delays;return new e(this.config,{actions:$($({},o),t.actions),activities:$($({},i),t.activities),guards:$($({},s),t.guards),services:$($({},u),t.services),delays:$($({},l),t.delays)},r!=null?r:this.context)},e.prototype.withContext=function(t){return new e(this.config,this.options,t)},Object.defineProperty(e.prototype,"context",{get:function(){return ee(this._context)?this._context():this._context},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"definition",{get:function(){return{id:this.id,key:this.key,version:this.version,context:this.context,type:this.type,initial:this.initial,history:this.history,states:Lt(this.states,function(t){return t.definition}),on:this.on,transitions:this.transitions,entry:this.onEntry,exit:this.onExit,activities:this.activities||[],meta:this.meta,order:this.order||-1,data:this.doneData,invoke:this.invoke,description:this.description,tags:this.tags}},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return this.definition},Object.defineProperty(e.prototype,"on",{get:function(){if(this.__cache.on)return this.__cache.on;var t=this.transitions;return this.__cache.on=t.reduce(function(r,n){return r[n.eventType]=r[n.eventType]||[],r[n.eventType].push(n),r},{})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"after",{get:function(){return this.__cache.delayedTransitions||(this.__cache.delayedTransitions=this.getDelayedTransitions(),this.__cache.delayedTransitions)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"transitions",{get:function(){return this.__cache.transitions||(this.__cache.transitions=this.formatTransitions(),this.__cache.transitions)},enumerable:!1,configurable:!0}),e.prototype.getCandidates=function(t){if(this.__cache.candidates[t])return this.__cache.candidates[t];var r=t===bt,n=this.transitions.filter(function(o){var i=o.eventType===t;return r?i:i||o.eventType===Ht});return this.__cache.candidates[t]=n,n},e.prototype.getDelayedTransitions=function(){var t=this,r=this.config.after;if(!r)return[];var n=function(i,s){var u=ee(i)?"".concat(t.id,":delay[").concat(s,"]"):i,l=Lg(u,t.id);return t.onEntry.push(Ir(l,{delay:i})),t.onExit.push(Og(l)),l},o=vt(r)?r.map(function(i,s){var u=n(i.delay,s);return $($({},i),{event:u})}):ue(se(r).map(function(i,s){var u=r[i],l=q(u)?{target:u}:u,d=isNaN(+i)?i:+i,c=n(d,s);return Be(l).map(function(v){return $($({},v),{event:c,delay:d})})}));return o.map(function(i){var s=i.delay;return $($({},t.formatTransition(i)),{delay:s})})},e.prototype.getStateNodes=function(t){var r,n=this;if(!t)return[];var o=t instanceof Xe?t.value:Mt(t,this.delimiter);if(q(o)){var i=this.getStateNode(o).initial;return i!==void 0?this.getStateNodes((r={},r[o]=i,r)):[this,this.states[o]]}var s=se(o),u=[this];return u.push.apply(u,ce([],Q(ue(s.map(function(l){return n.getStateNode(l).getStateNodes(o[l])}))),!1)),u},e.prototype.handles=function(t){var r=ai(t);return this.events.includes(r)},e.prototype.resolveState=function(t){var r=Array.from(yt([],this.getStateNodes(t.value)));return new Xe($($({},t),{value:this.resolve(t.value),configuration:r,done:Gt(r,this),tags:Si(r)}))},e.prototype.transitionLeafNode=function(t,r,n){var o=this.getStateNode(t),i=o.next(r,n);return!i||!i.transitions.length?this.next(r,n):i},e.prototype.transitionCompoundNode=function(t,r,n){var o=se(t),i=this.getStateNode(o[0]),s=i._transition(t[o[0]],r,n);return!s||!s.transitions.length?this.next(r,n):s},e.prototype.transitionParallelNode=function(t,r,n){var o,i,s={};try{for(var u=K(se(t)),l=u.next();!l.done;l=u.next()){var d=l.value,c=t[d];if(!!c){var v=this.getStateNode(d),f=v._transition(c,r,n);f&&(s[d]=f)}}}catch(C){o={error:C}}finally{try{l&&!l.done&&(i=u.return)&&i.call(u)}finally{if(o)throw o.error}}var m=se(s).map(function(C){return s[C]}),g=ue(m.map(function(C){return C.transitions})),h=m.some(function(C){return C.transitions.length>0});if(!h)return this.next(r,n);var p=ue(m.map(function(C){return C.entrySet})),y=ue(se(s).map(function(C){return s[C].configuration}));return{transitions:g,entrySet:p,exitSet:ue(m.map(function(C){return C.exitSet})),configuration:y,source:r,actions:ue(se(s).map(function(C){return s[C].actions}))}},e.prototype._transition=function(t,r,n){return q(t)?this.transitionLeafNode(t,r,n):se(t).length===1?this.transitionCompoundNode(t,r,n):this.transitionParallelNode(t,r,n)},e.prototype.getTransitionData=function(t,r){return this._transition(t.value,t,ye(r))},e.prototype.next=function(t,r){var n,o,i=this,s=r.name,u=[],l=[],d;try{for(var c=K(this.getCandidates(s)),v=c.next();!v.done;v=c.next()){var f=v.value,m=f.cond,g=f.in,h=t.context,p=g?q(g)&&St(g)?t.matches(Mt(this.getStateNodeById(g).path,this.delimiter)):Bn(Mt(g,this.delimiter),yg(this.path.slice(0,-2))(t.value)):!0,y=!1;try{y=!m||vi(this.machine,m,h,r,t)}catch(x){throw new Error("Unable to evaluate guard '".concat(m.name||m.type,"' in transition for event '").concat(s,"' in state node '").concat(this.id,`':
15
+ `).concat(x.message))}if(y&&p){f.target!==void 0&&(l=f.target),u.push.apply(u,ce([],Q(f.actions),!1)),d=f;break}}}catch(x){n={error:x}}finally{try{v&&!v.done&&(o=c.return)&&o.call(c)}finally{if(n)throw n.error}}if(!!d){if(!l.length)return{transitions:[d],entrySet:[],exitSet:[],configuration:t.value?[this]:[],source:t,actions:u};var C=ue(l.map(function(x){return i.getRelativeStateNodes(x,t.historyValue)})),S=!!d.internal,w=S?[]:ue(C.map(function(x){return i.nodesFromChild(x)}));return{transitions:[d],entrySet:w,exitSet:S?[]:[this],configuration:C,source:t,actions:u}}},e.prototype.nodesFromChild=function(t){if(t.escapes(this))return[];for(var r=[],n=t;n&&n!==this;)r.push(n),n=n.parent;return r.push(this),r},e.prototype.escapes=function(t){if(this===t)return!1;for(var r=this.parent;r;){if(r===t)return!1;r=r.parent}return!0},e.prototype.getActions=function(t,r,n,o){var i,s,u,l,d=yt([],o?this.getStateNodes(o.value):[this]),c=t.configuration.length?yt(d,t.configuration):d;try{for(var v=K(c),f=v.next();!f.done;f=v.next()){var m=f.value;kr(d,m)||t.entrySet.push(m)}}catch(E){i={error:E}}finally{try{f&&!f.done&&(s=v.return)&&s.call(v)}finally{if(i)throw i.error}}try{for(var g=K(d),h=g.next();!h.done;h=g.next()){var m=h.value;(!kr(c,m)||kr(t.exitSet,m.parent))&&t.exitSet.push(m)}}catch(E){u={error:E}}finally{try{h&&!h.done&&(l=g.return)&&l.call(g)}finally{if(u)throw u.error}}var p=ue(t.entrySet.map(function(E){var I=[];if(E.type!=="final")return I;var T=E.parent;if(!T.parent)return I;I.push($r(E.id,E.doneData),$r(T.id,E.doneData?Sr(E.doneData,r,n):void 0));var B=T.parent;return B.type==="parallel"&&gt(B).every(function(U){return Gt(t.configuration,U)})&&I.push($r(B.id)),I}));t.exitSet.sort(function(E,I){return I.order-E.order}),t.entrySet.sort(function(E,I){return E.order-I.order});var y=new Set(t.entrySet),C=new Set(t.exitSet),S=Q([ue(Array.from(y).map(function(E){return ce(ce([],Q(E.activities.map(function(I){return Ug(I)})),!1),Q(E.onEntry),!1)})).concat(p.map(Ng)),ue(Array.from(C).map(function(E){return ce(ce([],Q(E.onExit),!1),Q(E.activities.map(function(I){return Vg(I)})),!1)}))],2),w=S[0],x=S[1],A=Ar(x.concat(t.actions).concat(w),this.machine.options.actions);return A},e.prototype.transition=function(t,r,n){t===void 0&&(t=this.initialState);var o=ye(r),i;if(t instanceof Xe)i=n===void 0?t:this.resolveState(Xe.from(t,n));else{var s=q(t)?this.resolve(br(this.getResolvedPath(t))):this.resolve(t),u=n!=null?n:this.machine.context;i=this.resolveState(Xe.from(s,u))}if(!dt&&o.name===Ht)throw new Error("An event cannot have the wildcard type ('".concat(Ht,"')"));if(this.strict&&!this.events.includes(o.name)&&!Cg(o.name))throw new Error("Machine '".concat(this.id,"' does not accept event '").concat(o.name,"'"));var l=this._transition(i.value,i,o)||{transitions:[],configuration:[],entrySet:[],exitSet:[],source:i,actions:[]},d=yt([],this.getStateNodes(i.value)),c=l.configuration.length?yt(d,l.configuration):d;return l.configuration=ce([],Q(c),!1),this.resolveTransition(l,i,o)},e.prototype.resolveRaisedTransition=function(t,r,n){var o,i=t.actions;return t=this.transition(t,r),t._event=n,t.event=n.data,(o=t.actions).unshift.apply(o,ce([],Q(i),!1)),t},e.prototype.resolveTransition=function(t,r,n,o){var i,s,u=this;n===void 0&&(n=Er),o===void 0&&(o=this.machine.context);var l=t.configuration,d=!r||t.transitions.length>0,c=d?jg(this.machine,l):void 0,v=r?r.historyValue?r.historyValue:t.source?this.machine.historyValue(r.value):void 0:void 0,f=r?r.context:o,m=this.getActions(t,f,n,r),g=r?$({},r.activities):{};try{for(var h=K(m),p=h.next();!p.done;p=h.next()){var y=p.value;y.type===Dn?g[y.activity.id||y.activity.type]=y:y.type===On&&(g[y.activity.id||y.activity.type]=!1)}}catch(pe){i={error:pe}}finally{try{p&&!p.done&&(s=h.return)&&s.call(h)}finally{if(i)throw i.error}}var C=Q(jn(this,r,f,n,m,this.machine.config.preserveActionOrder),2),S=C[0],w=C[1],x=Q(ui(S,function(pe){return pe.type===_r||pe.type===xr&&pe.to===ht.Internal}),2),A=x[0],E=x[1],I=S.filter(function(pe){var Fe;return pe.type===Dn&&((Fe=pe.activity)===null||Fe===void 0?void 0:Fe.type)===Vn}),T=I.reduce(function(pe,Fe){return pe[Fe.activity.id]=Yg(Fe.activity,u.machine,w,n),pe},r?$({},r.children):{}),B=c?t.configuration:r?r.configuration:[],U=Gt(B,this),O=new Xe({value:c||r.value,context:w,_event:n,_sessionid:r?r._sessionid:null,historyValue:c?v?wg(v,c):void 0:r?r.historyValue:void 0,history:!c||t.source?r:void 0,actions:c?E:[],activities:c?g:r?r.activities:{},events:[],configuration:B,transitions:t.transitions,children:T,done:U,tags:r==null?void 0:r.tags,machine:this}),L=f!==w;O.changed=n.name===Mn||L;var W=O.history;W&&delete W.history;var be=!U&&(this._transient||l.some(function(pe){return pe._transient}));if(!d&&(!be||n.name===bt))return O;var ve=O;if(!U)for(be&&(ve=this.resolveRaisedTransition(ve,{type:Ig},n));A.length;){var Ye=A.shift();ve=this.resolveRaisedTransition(ve,Ye._event,n)}var Ze=ve.changed||(W?!!ve.actions.length||L||typeof W.value!=typeof ve.value||!wi(ve.value,W.value):void 0);return ve.changed=Ze,ve.history=W,ve.tags=Si(ve.configuration),ve},e.prototype.getStateNode=function(t){if(St(t))return this.machine.getStateNodeById(t);if(!this.states)throw new Error("Unable to retrieve child state '".concat(t,"' from '").concat(this.id,"'; no child states exist."));var r=this.states[t];if(!r)throw new Error("Child state '".concat(t,"' does not exist on '").concat(this.id,"'"));return r},e.prototype.getStateNodeById=function(t){var r=St(t)?t.slice(Wn.length):t;if(r===this.id)return this;var n=this.machine.idMap[r];if(!n)throw new Error("Child state node '#".concat(r,"' does not exist on machine '").concat(this.id,"'"));return n},e.prototype.getStateNodeByPath=function(t){if(typeof t=="string"&&St(t))try{return this.getStateNodeById(t.slice(1))}catch{}for(var r=Fn(t,this.delimiter).slice(),n=this;r.length;){var o=r.shift();if(!o.length)break;n=n.getStateNode(o)}return n},e.prototype.resolve=function(t){var r,n=this;if(!t)return this.initialStateValue||Ct;switch(this.type){case"parallel":return Lt(this.initialStateValue,function(i,s){return i?n.getStateNode(s).resolve(t[s]||i):Ct});case"compound":if(q(t)){var o=this.getStateNode(t);return o.type==="parallel"||o.type==="compound"?(r={},r[t]=o.initialStateValue,r):t}return se(t).length?Lt(t,function(i,s){return i?n.getStateNode(s).resolve(i):Ct}):this.initialStateValue||{};default:return t||Ct}},e.prototype.getResolvedPath=function(t){if(St(t)){var r=this.machine.idMap[t.slice(Wn.length)];if(!r)throw new Error("Unable to find state node '".concat(t,"'"));return r.path}return Fn(t,this.delimiter)},Object.defineProperty(e.prototype,"initialStateValue",{get:function(){var t;if(this.__cache.initialStateValue)return this.__cache.initialStateValue;var r;if(this.type==="parallel")r=oi(this.states,function(n){return n.initialStateValue||Ct},function(n){return n.type!=="history"});else if(this.initial!==void 0){if(!this.states[this.initial])throw new Error("Initial state '".concat(this.initial,"' not found on '").concat(this.key,"'"));r=Pr(this.states[this.initial])?this.initial:(t={},t[this.initial]=this.states[this.initial].initialStateValue,t)}else r={};return this.__cache.initialStateValue=r,this.__cache.initialStateValue},enumerable:!1,configurable:!0}),e.prototype.getInitialState=function(t,r){var n=this.getStateNodes(t);return this.resolveTransition({configuration:n,entrySet:n,exitSet:[],transitions:[],source:void 0,actions:[]},void 0,void 0,r)},Object.defineProperty(e.prototype,"initialState",{get:function(){this._init();var t=this.initialStateValue;if(!t)throw new Error("Cannot retrieve initial state from simple state '".concat(this.id,"'."));return this.getInitialState(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"target",{get:function(){var t;if(this.type==="history"){var r=this.config;q(r.target)?t=St(r.target)?br(this.machine.getStateNodeById(r.target).path.slice(this.path.length-1)):r.target:t=r.target}return t},enumerable:!1,configurable:!0}),e.prototype.getRelativeStateNodes=function(t,r,n){return n===void 0&&(n=!0),n?t.type==="history"?t.resolveHistory(r):t.initialStateNodes:[t]},Object.defineProperty(e.prototype,"initialStateNodes",{get:function(){var t=this;if(Pr(this))return[this];if(this.type==="compound"&&!this.initial)return dt||ft(!1,"Compound state node '".concat(this.id,"' has no initial state.")),[this];var r=Cr(this.initialStateValue);return ue(r.map(function(n){return t.getFromRelativePath(n)}))},enumerable:!1,configurable:!0}),e.prototype.getFromRelativePath=function(t){if(!t.length)return[this];var r=Q(t),n=r[0],o=r.slice(1);if(!this.states)throw new Error("Cannot retrieve subPath '".concat(n,"' from node with no states"));var i=this.getStateNode(n);if(i.type==="history")return i.resolveHistory();if(!this.states[n])throw new Error("Child state '".concat(n,"' does not exist on '").concat(this.id,"'"));return this.states[n].getFromRelativePath(o)},e.prototype.historyValue=function(t){if(!!se(this.states).length)return{current:t||this.initialStateValue,states:oi(this.states,function(r,n){if(!t)return r.historyValue();var o=q(t)?void 0:t[n];return r.historyValue(o||r.initialStateValue)},function(r){return!r.history})}},e.prototype.resolveHistory=function(t){var r=this;if(this.type!=="history")return[this];var n=this.parent;if(!t){var o=this.target;return o?ue(Cr(o).map(function(s){return n.getFromRelativePath(s)})):n.initialStateNodes}var i=bg(n.path,"states")(t).current;return q(i)?[n.getStateNode(i)]:ue(Cr(i).map(function(s){return r.history==="deep"?n.getFromRelativePath(s):[n.states[s[0]]]}))},Object.defineProperty(e.prototype,"stateIds",{get:function(){var t=this,r=ue(se(this.states).map(function(n){return t.states[n].stateIds}));return[this.id].concat(r)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"events",{get:function(){var t,r,n,o;if(this.__cache.events)return this.__cache.events;var i=this.states,s=new Set(this.ownEvents);if(i)try{for(var u=K(se(i)),l=u.next();!l.done;l=u.next()){var d=l.value,c=i[d];if(c.states)try{for(var v=(n=void 0,K(c.events)),f=v.next();!f.done;f=v.next()){var m=f.value;s.add("".concat(m))}}catch(g){n={error:g}}finally{try{f&&!f.done&&(o=v.return)&&o.call(v)}finally{if(n)throw n.error}}}}catch(g){t={error:g}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}return this.__cache.events=Array.from(s)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ownEvents",{get:function(){var t=new Set(this.transitions.filter(function(r){return!(!r.target&&!r.actions.length&&r.internal)}).map(function(r){return r.eventType}));return Array.from(t)},enumerable:!1,configurable:!0}),e.prototype.resolveTarget=function(t){var r=this;if(t!==void 0)return t.map(function(n){if(!q(n))return n;var o=n[0]===r.delimiter;if(o&&!r.parent)return r.getStateNodeByPath(n.slice(1));var i=o?r.key+n:n;if(r.parent)try{var s=r.parent.getStateNodeByPath(i);return s}catch(u){throw new Error("Invalid transition definition for state node '".concat(r.id,`':
16
+ `).concat(u.message))}else return r.getStateNodeByPath(i)})},e.prototype.formatTransition=function(t){var r=this,n=Ag(t.target),o="internal"in t?t.internal:n?n.some(function(l){return q(l)&&l[0]===r.delimiter}):!0,i=this.machine.options.guards,s=this.resolveTarget(n),u=$($({},t),{actions:Ar(Be(t.actions)),cond:di(t.cond,i),target:s,source:this,internal:o,eventType:t.event,toJSON:function(){return $($({},u),{target:u.target?u.target.map(function(l){return"#".concat(l.id)}):void 0,source:"#".concat(r.id)})}});return u},e.prototype.formatTransitions=function(){var t,r,n=this,o;if(!this.config.on)o=[];else if(Array.isArray(this.config.on))o=this.config.on;else{var i=this.config.on,s=Ht,u=i[s],l=u===void 0?[]:u,d=Pn(i,[typeof s=="symbol"?s:s+""]);o=ue(se(d).map(function(C){!dt&&C===bt&&ft(!1,"Empty string transition configs (e.g., `{ on: { '': ... }}`) for transient transitions are deprecated. Specify the transition in the `{ always: ... }` property instead. "+'Please check the `on` configuration for "#'.concat(n.id,'".'));var S=mt(C,d[C]);return dt||t0(n,C,S),S}).concat(mt(Ht,l)))}var c=this.config.always?mt("",this.config.always):[],v=this.config.onDone?mt(String($r(this.id)),this.config.onDone):[];dt||ft(!(this.config.onDone&&!this.parent),'Root nodes cannot have an ".onDone" transition. Please check the config of "'.concat(this.id,'".'));var f=ue(this.invoke.map(function(C){var S=[];return C.onDone&&S.push.apply(S,ce([],Q(mt(String(Tr(C.id)),C.onDone)),!1)),C.onError&&S.push.apply(S,ce([],Q(mt(String(jt(C.id)),C.onError)),!1)),S})),m=this.after,g=ue(ce(ce(ce(ce([],Q(v),!1),Q(f),!1),Q(o),!1),Q(c),!1).map(function(C){return Be(C).map(function(S){return n.formatTransition(S)})}));try{for(var h=K(m),p=h.next();!p.done;p=h.next()){var y=p.value;g.push(y)}}catch(C){t={error:C}}finally{try{p&&!p.done&&(r=h.return)&&r.call(h)}finally{if(t)throw t.error}}return g},e}();function Kt(e,t){return new r0(e,t)}var n0={deferEvents:!1},Ei=function(){function e(t){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=$($({},n0),t)}return e.prototype.initialize=function(t){if(this.initialized=!0,t){if(!this.options.deferEvents){this.schedule(t);return}this.process(t)}this.flushEvents()},e.prototype.schedule=function(t){if(!this.initialized||this.processingEvent){this.queue.push(t);return}if(this.queue.length!==0)throw new Error("Event queue should be empty when it is not processing events");this.process(t),this.flushEvents()},e.prototype.clear=function(){this.queue=[]},e.prototype.flushEvents=function(){for(var t=this.queue.shift();t;)this.process(t),t=this.queue.shift()},e.prototype.process=function(t){this.processingEvent=!0;try{t()}catch(r){throw this.clear(),r}finally{this.processingEvent=!1}},e}(),Hn=new Map,a0=0,Fr={bookId:function(){return"x:".concat(a0++)},register:function(e,t){return Hn.set(e,t),e},get:function(e){return Hn.get(e)},free:function(e){Hn.delete(e)}};function Kn(){if(typeof globalThis!="undefined")return globalThis;if(typeof self!="undefined")return self;if(typeof window!="undefined")return window;if(typeof global!="undefined")return global}function o0(){var e=Kn();if(e&&"__xstate__"in e)return e.__xstate__}function i0(e){if(!!Kn()){var t=o0();t&&t.register(e)}}function s0(e,t){t===void 0&&(t={});var r=e.initialState,n=new Set,o=[],i=!1,s=function(){if(!i){for(i=!0;o.length>0;){var d=o.shift();r=e.transition(r,d,l),n.forEach(function(c){return c.next(r)})}i=!1}},u=Jg({id:t.id,send:function(d){o.push(d),s()},getSnapshot:function(){return r},subscribe:function(d,c,v){var f=mi(d,c,v);return n.add(f),f.next(r),{unsubscribe:function(){n.delete(f)}}}}),l={parent:t.parent,self:u,id:t.id||"anonymous",observers:n};return r=e.start?e.start(l):r,u}var qn={sync:!1,autoForward:!1},_e;(function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"})(_e||(_e={}));var u0=function(){function e(t,r){var n=this;r===void 0&&(r=e.defaultOptions),this.machine=t,this.scheduler=new Ei,this.delayedEventsMap={},this.listeners=new Set,this.contextListeners=new Set,this.stopListeners=new Set,this.doneListeners=new Set,this.eventListeners=new Set,this.sendListeners=new Set,this.initialized=!1,this.status=_e.NotStarted,this.children=new Map,this.forwardTo=new Set,this.init=this.start,this.send=function(c,v){if(vt(c))return n.batch(c),n.state;var f=ye(Rn(c,v));if(n.status===_e.Stopped)return n.state;if(n.status!==_e.Running&&!n.options.deferEvents)throw new Error('Event "'.concat(f.name,'" was sent to uninitialized service "').concat(n.machine.id,`". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.
17
+ Event: `).concat(JSON.stringify(f.data)));return n.scheduler.schedule(function(){n.forward(f);var m=n.nextState(f);n.update(m,f)}),n._state},this.sendTo=function(c,v){var f=n.parent&&(v===ht.Parent||n.parent.id===v),m=f?n.parent:q(v)?n.children.get(v)||Fr.get(v):xg(v)?v:void 0;if(!m){if(!f)throw new Error("Unable to send event to child '".concat(v,"' from service '").concat(n.id,"'."));return}"machine"in m?m.send($($({},c),{name:c.name===Tg?"".concat(jt(n.id)):c.name,origin:n.sessionId})):m.send(c.data)};var o=$($({},e.defaultOptions),r),i=o.clock,s=o.logger,u=o.parent,l=o.id,d=l!==void 0?l:t.id;this.id=d,this.logger=s,this.clock=i,this.parent=u,this.options=o,this.scheduler=new Ei({deferEvents:this.options.deferEvents}),this.sessionId=Fr.bookId()}return Object.defineProperty(e.prototype,"initialState",{get:function(){var t=this;return this._initialState?this._initialState:Wt(this,function(){return t._initialState=t.machine.initialState,t._initialState})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),e.prototype.execute=function(t,r){var n,o;try{for(var i=K(t.actions),s=i.next();!s.done;s=i.next()){var u=s.value;this.exec(u,t,r)}}catch(l){n={error:l}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}},e.prototype.update=function(t,r){var n,o,i,s,u,l,d,c,v=this;if(t._sessionid=this.sessionId,this._state=t,this.options.execute&&this.execute(this.state),this.children.forEach(function(T){v.state.children[T.id]=T}),this.devTools&&this.devTools.send(r.data,t),t.event)try{for(var f=K(this.eventListeners),m=f.next();!m.done;m=f.next()){var g=m.value;g(t.event)}}catch(T){n={error:T}}finally{try{m&&!m.done&&(o=f.return)&&o.call(f)}finally{if(n)throw n.error}}try{for(var h=K(this.listeners),p=h.next();!p.done;p=h.next()){var g=p.value;g(t,t.event)}}catch(T){i={error:T}}finally{try{p&&!p.done&&(s=h.return)&&s.call(h)}finally{if(i)throw i.error}}try{for(var y=K(this.contextListeners),C=y.next();!C.done;C=y.next()){var S=C.value;S(this.state.context,this.state.history?this.state.history.context:void 0)}}catch(T){u={error:T}}finally{try{C&&!C.done&&(l=y.return)&&l.call(y)}finally{if(u)throw u.error}}var w=Gt(t.configuration||[],this.machine);if(this.state.configuration&&w){var x=t.configuration.find(function(T){return T.type==="final"&&T.parent===v.machine}),A=x&&x.doneData?Sr(x.doneData,t.context,r):void 0;try{for(var E=K(this.doneListeners),I=E.next();!I.done;I=E.next()){var g=I.value;g(Tr(this.id,A))}}catch(T){d={error:T}}finally{try{I&&!I.done&&(c=E.return)&&c.call(E)}finally{if(d)throw d.error}}this.stop()}},e.prototype.onTransition=function(t){return this.listeners.add(t),this.status===_e.Running&&t(this.state,this.state.event),this},e.prototype.subscribe=function(t,r,n){var o=this;if(!t)return{unsubscribe:function(){}};var i,s=n;return typeof t=="function"?i=t:(i=t.next.bind(t),s=t.complete.bind(t)),this.listeners.add(i),this.status===_e.Running&&i(this.state),s&&this.onDone(s),{unsubscribe:function(){i&&o.listeners.delete(i),s&&o.doneListeners.delete(s)}}},e.prototype.onEvent=function(t){return this.eventListeners.add(t),this},e.prototype.onSend=function(t){return this.sendListeners.add(t),this},e.prototype.onChange=function(t){return this.contextListeners.add(t),this},e.prototype.onStop=function(t){return this.stopListeners.add(t),this},e.prototype.onDone=function(t){return this.doneListeners.add(t),this},e.prototype.off=function(t){return this.listeners.delete(t),this.eventListeners.delete(t),this.sendListeners.delete(t),this.stopListeners.delete(t),this.doneListeners.delete(t),this.contextListeners.delete(t),this},e.prototype.start=function(t){var r=this;if(this.status===_e.Running)return this;Fr.register(this.sessionId,this),this.initialized=!0,this.status=_e.Running;var n=t===void 0?this.initialState:Wt(this,function(){return Hg(t)?r.machine.resolveState(t):r.machine.resolveState(Xe.from(t,r.machine.context))});return this.options.devTools&&this.attachDev(),this.scheduler.initialize(function(){r.update(n,Er)}),this},e.prototype.stop=function(){var t,r,n,o,i,s,u,l,d,c,v=this;try{for(var f=K(this.listeners),m=f.next();!m.done;m=f.next()){var g=m.value;this.listeners.delete(g)}}catch(I){t={error:I}}finally{try{m&&!m.done&&(r=f.return)&&r.call(f)}finally{if(t)throw t.error}}try{for(var h=K(this.stopListeners),p=h.next();!p.done;p=h.next()){var g=p.value;g(),this.stopListeners.delete(g)}}catch(I){n={error:I}}finally{try{p&&!p.done&&(o=h.return)&&o.call(h)}finally{if(n)throw n.error}}try{for(var y=K(this.contextListeners),C=y.next();!C.done;C=y.next()){var g=C.value;this.contextListeners.delete(g)}}catch(I){i={error:I}}finally{try{C&&!C.done&&(s=y.return)&&s.call(y)}finally{if(i)throw i.error}}try{for(var S=K(this.doneListeners),w=S.next();!w.done;w=S.next()){var g=w.value;this.doneListeners.delete(g)}}catch(I){u={error:I}}finally{try{w&&!w.done&&(l=S.return)&&l.call(S)}finally{if(u)throw u.error}}if(!this.initialized)return this;this.state.configuration.forEach(function(I){var T,B;try{for(var U=K(I.definition.exit),O=U.next();!O.done;O=U.next()){var L=O.value;v.exec(L,v.state)}}catch(W){T={error:W}}finally{try{O&&!O.done&&(B=U.return)&&B.call(U)}finally{if(T)throw T.error}}}),this.children.forEach(function(I){ee(I.stop)&&I.stop()});try{for(var x=K(se(this.delayedEventsMap)),A=x.next();!A.done;A=x.next()){var E=A.value;this.clock.clearTimeout(this.delayedEventsMap[E])}}catch(I){d={error:I}}finally{try{A&&!A.done&&(c=x.return)&&c.call(x)}finally{if(d)throw d.error}}return this.scheduler.clear(),this.initialized=!1,this.status=_e.Stopped,Fr.free(this.sessionId),this},e.prototype.batch=function(t){var r=this;if(!(this.status===_e.NotStarted&&this.options.deferEvents)){if(this.status!==_e.Running)throw new Error("".concat(t.length,' event(s) were sent to uninitialized service "').concat(this.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.'))}this.scheduler.schedule(function(){var n,o,i=r.state,s=!1,u=[],l=function(f){var m=ye(f);r.forward(m),i=Wt(r,function(){return r.machine.transition(i,m)}),u.push.apply(u,ce([],Q(i.actions.map(function(g){return Kg(g,i)})),!1)),s=s||!!i.changed};try{for(var d=K(t),c=d.next();!c.done;c=d.next()){var v=c.value;l(v)}}catch(f){n={error:f}}finally{try{c&&!c.done&&(o=d.return)&&o.call(d)}finally{if(n)throw n.error}}i.changed=s,i.actions=u,r.update(i,ye(t[t.length-1]))})},e.prototype.sender=function(t){return this.send.bind(this,t)},e.prototype.nextState=function(t){var r=this,n=ye(t);if(n.name.indexOf(yi)===0&&!this.state.nextEvents.some(function(i){return i.indexOf(yi)===0}))throw n.data.data;var o=Wt(this,function(){return r.machine.transition(r.state,n)});return o},e.prototype.forward=function(t){var r,n;try{for(var o=K(this.forwardTo),i=o.next();!i.done;i=o.next()){var s=i.value,u=this.children.get(s);if(!u)throw new Error("Unable to forward event '".concat(t,"' from interpreter '").concat(this.id,"' to nonexistant child '").concat(s,"'."));u.send(t)}}catch(l){r={error:l}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}},e.prototype.defer=function(t){var r=this;this.delayedEventsMap[t.id]=this.clock.setTimeout(function(){t.to?r.sendTo(t._event,t.to):r.send(t._event)},t.delay)},e.prototype.cancel=function(t){this.clock.clearTimeout(this.delayedEventsMap[t]),delete this.delayedEventsMap[t]},e.prototype.exec=function(t,r,n){n===void 0&&(n=this.machine.options.actions);var o=r.context,i=r._event,s=t.exec||Ln(t.type,n),u=ee(s)?s:s?s.exec:t.exec;if(u)try{return u(o,i.data,{action:t,state:this.state,_event:i})}catch(w){throw this.parent&&this.parent.send({type:"xstate.error",data:w}),w}switch(t.type){case xr:var l=t;if(typeof l.delay=="number"){this.defer(l);return}else l.to?this.sendTo(l._event,l.to):this.send(l._event);break;case hi:this.cancel(t.sendId);break;case Dn:{if(this.status!==_e.Running)return;var d=t.activity;if(!this.state.activities[d.id||d.type])break;if(d.type===te.Invoke){var c=pi(d.src),v=this.machine.options.services?this.machine.options.services[c.type]:void 0,f=d.id,m=d.data,g="autoForward"in d?d.autoForward:!!d.forward;if(!v)return;var h=m?Sr(m,o,i):void 0;if(typeof v=="string")return;var p=ee(v)?v(o,i.data,{data:h,src:c,meta:d.meta}):v;if(!p)return;var y=void 0;Ke(p)&&(p=h?p.withContext(h):p,y={autoForward:g}),this.spawn(p,f,y)}else this.spawnActivity(d);break}case On:{this.stopChild(t.activity.id);break}case gi:var C=t.label,S=t.value;C?this.logger(C,S):this.logger(S);break}},e.prototype.removeChild=function(t){var r;this.children.delete(t),this.forwardTo.delete(t),(r=this.state)===null||r===void 0||delete r.children[t]},e.prototype.stopChild=function(t){var r=this.children.get(t);!r||(this.removeChild(t),ee(r.stop)&&r.stop())},e.prototype.spawn=function(t,r,n){if(si(t))return this.spawnPromise(Promise.resolve(t),r);if(ee(t))return this.spawnCallback(t,r);if(Xg(t))return this.spawnActor(t,r);if(_g(t))return this.spawnObservable(t,r);if(Ke(t))return this.spawnMachine(t,$($({},n),{id:r}));if(Sg(t))return this.spawnBehavior(t,r);throw new Error('Unable to spawn entity "'.concat(r,'" of type "').concat(typeof t,'".'))},e.prototype.spawnMachine=function(t,r){var n=this;r===void 0&&(r={});var o=new e(t,$($({},this.options),{parent:this,id:r.id||t.id})),i=$($({},qn),r);i.sync&&o.onTransition(function(u){n.send(Mn,{state:u,id:o.id})});var s=o;return this.children.set(o.id,s),i.autoForward&&this.forwardTo.add(o.id),o.onDone(function(u){n.removeChild(o.id),n.send(ye(u,{origin:o.id}))}).start(),s},e.prototype.spawnBehavior=function(t,r){var n=s0(t,{id:r,parent:this});return this.children.set(r,n),n},e.prototype.spawnPromise=function(t,r){var n=this,o=!1,i;t.then(function(u){o||(i=u,n.removeChild(r),n.send(ye(Tr(r,u),{origin:r})))},function(u){if(!o){n.removeChild(r);var l=jt(r,u);try{n.send(ye(l,{origin:r}))}catch{n.devTools&&n.devTools.send(l,n.state),n.machine.strict&&n.stop()}}});var s=$({id:r,send:function(){},subscribe:function(u,l,d){var c=mi(u,l,d),v=!1;return t.then(function(f){v||(c.next(f),!v&&c.complete())},function(f){v||c.error(f)}),{unsubscribe:function(){return v=!0}}},stop:function(){o=!0},toJSON:function(){return{id:r}},getSnapshot:function(){return i}},pt);return this.children.set(r,s),s},e.prototype.spawnCallback=function(t,r){var n=this,o=!1,i=new Set,s=new Set,u,l=function(v){u=v,s.forEach(function(f){return f(v)}),!o&&n.send(ye(v,{origin:r}))},d;try{d=t(l,function(v){i.add(v)})}catch(v){this.send(jt(r,v))}if(si(d))return this.spawnPromise(d,r);var c=$({id:r,send:function(v){return i.forEach(function(f){return f(v)})},subscribe:function(v){return s.add(v),{unsubscribe:function(){s.delete(v)}}},stop:function(){o=!0,ee(d)&&d()},toJSON:function(){return{id:r}},getSnapshot:function(){return u}},pt);return this.children.set(r,c),c},e.prototype.spawnObservable=function(t,r){var n=this,o,i=t.subscribe(function(u){o=u,n.send(ye(u,{origin:r}))},function(u){n.removeChild(r),n.send(ye(jt(r,u),{origin:r}))},function(){n.removeChild(r),n.send(ye(Tr(r),{origin:r}))}),s=$({id:r,send:function(){},subscribe:function(u,l,d){return t.subscribe(u,l,d)},stop:function(){return i.unsubscribe()},getSnapshot:function(){return o},toJSON:function(){return{id:r}}},pt);return this.children.set(r,s),s},e.prototype.spawnActor=function(t,r){return this.children.set(r,t),t},e.prototype.spawnActivity=function(t){var r=this.machine.options&&this.machine.options.activities?this.machine.options.activities[t.type]:void 0;if(!!r){var n=r(this.state.context,t);this.spawnEffect(t.id,n)}},e.prototype.spawnEffect=function(t,r){this.children.set(t,$({id:t,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},stop:r||void 0,getSnapshot:function(){},toJSON:function(){return{id:t}}},pt))},e.prototype.attachDev=function(){var t=Kn();if(this.options.devTools&&t){if(t.__REDUX_DEVTOOLS_EXTENSION__){var r=typeof this.options.devTools=="object"?this.options.devTools:void 0;this.devTools=t.__REDUX_DEVTOOLS_EXTENSION__.connect($($({name:this.id,autoPause:!0,stateSanitizer:function(n){return{value:n.value,context:n.context,actions:n.actions}}},r),{features:$({jump:!1,skip:!1},r?r.features:void 0)}),this.machine),this.devTools.init(this.state)}i0(this)}},e.prototype.toJSON=function(){return{id:this.id}},e.prototype[fi]=function(){return this},e.prototype.getSnapshot=function(){return this.status===_e.NotStarted?this.initialState:this._state},e.defaultOptions=function(t){return{execute:!0,deferEvents:!0,clock:{setTimeout:function(r,n){return setTimeout(r,n)},clearTimeout:function(r){return clearTimeout(r)}},logger:t.console.log.bind(console),devTools:!1}}(typeof self!="undefined"?self:global),e.interpret=Ai,e}(),l0=function(e){return q(e)?$($({},qn),{name:e}):$($($({},qn),{name:Eg()}),e)};function Rr(e,t){var r=l0(t);return qg(function(n){if(!dt){var o=Ke(e)||ee(e);ft(!!n||o,'Attempted to spawn an Actor (ID: "'.concat(Ke(e)?e.id:"undefined",'") outside of a service. This will have no effect.'))}return n?n.spawn(e,r.name,r):xi(e,r.name)})}function Ai(e,t){var r=new u0(e,t);return r}var J={},Yn={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});/*! *****************************************************************************
18
18
  Copyright (c) Microsoft Corporation.
19
19
 
20
20
  Permission to use, copy, modify, and/or distribute this software for any
@@ -27,7 +27,7 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
27
27
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
28
28
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
29
29
  PERFORMANCE OF THIS SOFTWARE.
30
- ***************************************************************************** */e.__assign=function(){return e.__assign=Object.assign||function(s){for(var l,u=1,d=arguments.length;u<d;u++){l=arguments[u];for(var c in l)Object.prototype.hasOwnProperty.call(l,c)&&(s[c]=l[c])}return s},e.__assign.apply(this,arguments)};function t(i,s){var l={};for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&s.indexOf(u)<0&&(l[u]=i[u]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,u=Object.getOwnPropertySymbols(i);d<u.length;d++)s.indexOf(u[d])<0&&Object.prototype.propertyIsEnumerable.call(i,u[d])&&(l[u[d]]=i[u[d]]);return l}function r(i){var s=typeof Symbol=="function"&&Symbol.iterator,l=s&&i[s],u=0;if(l)return l.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")}function a(i,s){var l=typeof Symbol=="function"&&i[Symbol.iterator];if(!l)return i;var u=l.call(i),d,c=[],v;try{for(;(s===void 0||s-- >0)&&!(d=u.next()).done;)c.push(d.value)}catch(f){v={error:f}}finally{try{d&&!d.done&&(l=u.return)&&l.call(u)}finally{if(v)throw v.error}}return c}function o(i,s,l){if(l||arguments.length===2)for(var u=0,d=s.length,c;u<d;u++)(c||!(u in s))&&(c||(c=Array.prototype.slice.call(s,0,u)),c[u]=s[u]);return i.concat(c||Array.prototype.slice.call(s))}e.__read=a,e.__rest=t,e.__spreadArray=o,e.__values=r})(Tn);var Nr={};Object.defineProperty(Nr,"__esModule",{value:!0});var Tf=!0;Nr.IS_PRODUCTION=Tf;var Uo={},It={};Object.defineProperty(It,"__esModule",{value:!0});var $f=".",Bf={},Ff="xstate.guard",Df="";It.DEFAULT_GUARD_TYPE=Ff;It.EMPTY_ACTIVITY_MAP=Bf;It.STATE_DELIMITER=$f;It.TARGETLESS_KEY=Df;(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Tn,r=It,a=Nr,o;function i(h){return Object.keys(h)}function s(h,D,O){O===void 0&&(O=r.STATE_DELIMITER);var V=c(h,O),W=c(D,O);return U(W)?U(V)?W===V:!1:U(V)?V in W:i(V).every(function(K){return K in W?s(V[K],W[K]):!1})}function l(h){try{return U(h)||typeof h=="number"?"".concat(h):h.type}catch{throw new Error("Events must be strings or objects with a string event.type property.")}}function u(h,D){try{return R(h)?h:h.toString().split(D)}catch{throw new Error("'".concat(h,"' is not a valid state path."))}}function d(h){return typeof h=="object"&&"value"in h&&"context"in h&&"event"in h&&"_event"in h}function c(h,D){if(d(h))return h.value;if(R(h))return v(h);if(typeof h!="string")return h;var O=u(h,D);return v(O)}function v(h){if(h.length===1)return h[0];for(var D={},O=D,V=0;V<h.length-1;V++)V===h.length-2?O[h[V]]=h[V+1]:(O[h[V]]={},O=O[h[V]]);return D}function f(h,D){for(var O={},V=i(h),W=0;W<V.length;W++){var K=V[W];O[K]=D(h[K],K,h,W)}return O}function p(h,D,O){var V,W,K={};try{for(var re=t.__values(i(h)),X=re.next();!X.done;X=re.next()){var Ce=X.value,Se=h[Ce];!O(Se)||(K[Ce]=D(Se,Ce,h))}}catch(ze){V={error:ze}}finally{try{X&&!X.done&&(W=re.return)&&W.call(re)}finally{if(V)throw V.error}}return K}var m=function(h){return function(D){var O,V,W=D;try{for(var K=t.__values(h),re=K.next();!re.done;re=K.next()){var X=re.value;W=W[X]}}catch(Ce){O={error:Ce}}finally{try{re&&!re.done&&(V=K.return)&&V.call(K)}finally{if(O)throw O.error}}return W}};function y(h,D){return function(O){var V,W,K=O;try{for(var re=t.__values(h),X=re.next();!X.done;X=re.next()){var Ce=X.value;K=K[D][Ce]}}catch(Se){V={error:Se}}finally{try{X&&!X.done&&(W=re.return)&&W.call(re)}finally{if(V)throw V.error}}return K}}function C(h){if(!h)return[[]];if(U(h))return[[h]];var D=b(i(h).map(function(O){var V=h[O];return typeof V!="string"&&(!V||!Object.keys(V).length)?[[O]]:C(h[O]).map(function(W){return[O].concat(W)})}));return D}function b(h){var D;return(D=[]).concat.apply(D,t.__spreadArray([],t.__read(h),!1))}function g(h){return R(h)?h:[h]}function w(h){return h===void 0?[]:g(h)}function _(h,D,O){var V,W;if(B(h))return h(D,O.data);var K={};try{for(var re=t.__values(Object.keys(h)),X=re.next();!X.done;X=re.next()){var Ce=X.value,Se=h[Ce];B(Se)?K[Ce]=Se(D,O.data):K[Ce]=Se}}catch(ze){V={error:ze}}finally{try{X&&!X.done&&(W=re.return)&&W.call(re)}finally{if(V)throw V.error}}return K}function E(h){return/^(done|error)\./.test(h)}function k(h){return!!(h instanceof Promise||h!==null&&(B(h)||typeof h=="object")&&B(h.then))}function S(h){return h!==null&&typeof h=="object"&&"transition"in h&&typeof h.transition=="function"}function I(h,D){var O,V,W=t.__read([[],[]],2),K=W[0],re=W[1];try{for(var X=t.__values(h),Ce=X.next();!Ce.done;Ce=X.next()){var Se=Ce.value;D(Se)?K.push(Se):re.push(Se)}}catch(ze){O={error:ze}}finally{try{Ce&&!Ce.done&&(V=X.return)&&V.call(X)}finally{if(O)throw O.error}}return[K,re]}function x(h,D){return f(h.states,function(O,V){if(!!O){var W=(U(D)?void 0:D[V])||(O?O.current:void 0);if(!!W)return{current:W,states:x(O,W)}}})}function $(h,D){return{current:D,states:x(h,D)}}function F(h,D,O,V){a.IS_PRODUCTION||e.warn(!!h,"Attempting to update undefined context");var W=h&&O.reduce(function(K,re){var X,Ce,Se=re.assignment,ze={state:V,action:re,_event:D},M={};if(B(Se))M=Se(K,D.data,ze);else try{for(var G=t.__values(i(Se)),tt=G.next();!tt.done;tt=G.next()){var or=tt.value,an=Se[or];M[or]=B(an)?an(K,D.data,ze):an}}catch(gl){X={error:gl}}finally{try{tt&&!tt.done&&(Ce=G.return)&&Ce.call(G)}finally{if(X)throw X.error}}return Object.assign({},K,M)},h);return W}e.warn=function(){},a.IS_PRODUCTION||(e.warn=function(h,D){var O=h instanceof Error?h:void 0;if(!(!O&&h)&&console!==void 0){var V=["Warning: ".concat(D)];O&&V.push(O),console.warn.apply(console,V)}});function R(h){return Array.isArray(h)}function B(h){return typeof h=="function"}function U(h){return typeof h=="string"}function L(h,D){if(!!h)return U(h)?{type:r.DEFAULT_GUARD_TYPE,name:h,predicate:D?D[h]:void 0}:B(h)?{type:r.DEFAULT_GUARD_TYPE,name:h.name,predicate:h}:h}function j(h){try{return"subscribe"in h&&B(h.subscribe)}catch{return!1}}var z=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Y=(o={},o[z]=function(){return this},o);function H(h){try{return"__xstatenode"in h}catch{return!1}}function Z(h){return!!h&&typeof h.send=="function"}var oe=function(){var h=0;return function(){return h++,h.toString(16)}}();function ae(h,D){return U(h)||typeof h=="number"?t.__assign({type:h},D):h}function te(h,D){if(!U(h)&&"$$type"in h&&h.$$type==="scxml")return h;var O=ae(h);return t.__assign({name:O.type,data:O,$$type:"scxml",type:"external"},D)}function ve(h,D){var O=g(D).map(function(V){return typeof V=="undefined"||typeof V=="string"||H(V)?{target:V,event:h}:t.__assign(t.__assign({},V),{event:h})});return O}function pe(h){if(!(h===void 0||h===r.TARGETLESS_KEY))return w(h)}function P(h,D,O){if(!a.IS_PRODUCTION){var V=h.stack?" Stacktrace was '".concat(h.stack,"'"):"";if(h===D)console.error("Missing onError handler for invocation '".concat(O,"', error was '").concat(h,"'.").concat(V));else{var W=D.stack?" Stacktrace was '".concat(D.stack,"'"):"";console.error("Missing onError handler and/or unhandled exception/promise rejection for invocation '".concat(O,"'. ")+"Original error: '".concat(h,"'. ").concat(V," Current error is '").concat(D,"'.").concat(W))}}}function ce(h,D,O,V,W){var K=h.options.guards,re={state:W,cond:D,_event:V};if(D.type===r.DEFAULT_GUARD_TYPE)return((K==null?void 0:K[D.name])||D.predicate)(O,V.data,re);var X=K[D.type];if(!X)throw new Error("Guard '".concat(D.type,"' is not implemented on machine '").concat(h.id,"'."));return X(O,V.data,re)}function xe(h){return typeof h=="string"?{type:h}:h}function Te(h,D,O){if(typeof h=="object")return h;var V=function(){};return{next:h,error:D||V,complete:O||V}}function Fe(h,D){return"".concat(h,":invocation[").concat(D,"]")}e.createInvokeId=Fe,e.evaluateGuard=ce,e.flatten=b,e.getEventType=l,e.interopSymbols=Y,e.isActor=Z,e.isArray=R,e.isBehavior=S,e.isBuiltInEvent=E,e.isFunction=B,e.isMachine=H,e.isObservable=j,e.isPromiseLike=k,e.isStateLike=d,e.isString=U,e.keys=i,e.mapContext=_,e.mapFilterValues=p,e.mapValues=f,e.matchesState=s,e.nestedPath=y,e.normalizeTarget=pe,e.partition=I,e.path=m,e.pathToStateValue=v,e.reportUnhandledExceptionOnInvocation=P,e.symbolObservable=z,e.toArray=w,e.toArrayStrict=g,e.toEventObject=ae,e.toGuard=L,e.toInvokeSource=xe,e.toObserver=Te,e.toSCXMLEvent=te,e.toStatePath=u,e.toStatePaths=C,e.toStateValue=c,e.toTransitionConfigArray=ve,e.uniqueId=oe,e.updateContext=F,e.updateHistoryStates=x,e.updateHistoryValue=$})(Uo);var $n={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.Start="xstate.start",t.Stop="xstate.stop",t.Raise="xstate.raise",t.Send="xstate.send",t.Cancel="xstate.cancel",t.NullEvent="",t.Assign="xstate.assign",t.After="xstate.after",t.DoneState="done.state",t.DoneInvoke="done.invoke",t.Log="xstate.log",t.Init="xstate.init",t.Invoke="xstate.invoke",t.ErrorExecution="error.execution",t.ErrorCommunication="error.communication",t.ErrorPlatform="error.platform",t.ErrorCustom="xstate.error",t.Update="xstate.update",t.Pure="xstate.pure",t.Choose="xstate.choose"}(e.ActionTypes||(e.ActionTypes={})),function(t){t.Parent="#_parent",t.Internal="#_internal"}(e.SpecialTargets||(e.SpecialTargets={}))})($n);var _e={};Object.defineProperty(_e,"__esModule",{value:!0});var Ae=$n,Rf=Ae.ActionTypes.Start,Of=Ae.ActionTypes.Stop,Vf=Ae.ActionTypes.Raise,Uf=Ae.ActionTypes.Send,Mf=Ae.ActionTypes.Cancel,zf=Ae.ActionTypes.NullEvent,Lf=Ae.ActionTypes.Assign,jf=Ae.ActionTypes.After,Gf=Ae.ActionTypes.DoneState,Hf=Ae.ActionTypes.Log,Wf=Ae.ActionTypes.Init,Kf=Ae.ActionTypes.Invoke,qf=Ae.ActionTypes.ErrorExecution,Yf=Ae.ActionTypes.ErrorPlatform,Zf=Ae.ActionTypes.ErrorCustom,Xf=Ae.ActionTypes.Update,Jf=Ae.ActionTypes.Choose,Qf=Ae.ActionTypes.Pure;_e.after=jf;_e.assign=Lf;_e.cancel=Mf;_e.choose=Jf;_e.doneState=Gf;_e.error=Zf;_e.errorExecution=qf;_e.errorPlatform=Yf;_e.init=Wf;_e.invoke=Kf;_e.log=Hf;_e.nullEvent=zf;_e.pure=Qf;_e.raise=Vf;_e.send=Uf;_e.start=Rf;_e.stop=Of;_e.update=Xf;Object.defineProperty(ie,"__esModule",{value:!0});var fe=Tn,ev=Nr,ee=Uo,Ve=$n,Ie=_e,tv=ee.toSCXMLEvent({type:Ie.init});function Bn(e,t){return t&&t[e]||void 0}function Tr(e,t){var r;if(ee.isString(e)||typeof e=="number"){var a=Bn(e,t);ee.isFunction(a)?r={type:e,exec:a}:a?r=a:r={type:e,exec:void 0}}else if(ee.isFunction(e))r={type:e.name||e.toString(),exec:e};else{var a=Bn(e.type,t);if(ee.isFunction(a))r=fe.__assign(fe.__assign({},e),{exec:a});else if(a){var o=a.type||e.type;r=fe.__assign(fe.__assign(fe.__assign({},a),e),{type:o})}else r=e}return r}var Fn=function(e,t){if(!e)return[];var r=ee.isArray(e)?e:[e];return r.map(function(a){return Tr(a,t)})};function Dn(e){var t=Tr(e);return fe.__assign(fe.__assign({id:ee.isString(e)?e:t.id},t),{type:t.type})}function rv(e){return ee.isString(e)?{type:Ie.raise,event:e}:kt(e,{to:Ve.SpecialTargets.Internal})}function Mo(e){return{type:Ie.raise,_event:ee.toSCXMLEvent(e.event)}}function kt(e,t){return{to:t?t.to:void 0,type:Ie.send,event:ee.isFunction(e)?e:ee.toEventObject(e),delay:t?t.delay:void 0,id:t&&t.id!==void 0?t.id:ee.isFunction(e)?e.name:ee.getEventType(e)}}function zo(e,t,r,a){var o={_event:r},i=ee.toSCXMLEvent(ee.isFunction(e.event)?e.event(t,r.data,o):e.event),s;if(ee.isString(e.delay)){var l=a&&a[e.delay];s=ee.isFunction(l)?l(t,r.data,o):l}else s=ee.isFunction(e.delay)?e.delay(t,r.data,o):e.delay;var u=ee.isFunction(e.to)?e.to(t,r.data,o):e.to;return fe.__assign(fe.__assign({},e),{to:u,_event:i,event:i.data,delay:s})}function Rn(e,t){return kt(e,fe.__assign(fe.__assign({},t),{to:Ve.SpecialTargets.Parent}))}function nv(e,t,r){return kt(t,fe.__assign(fe.__assign({},r),{to:e}))}function av(){return Rn(Ie.update)}function ov(e,t){return kt(e,fe.__assign(fe.__assign({},t),{to:function(r,a,o){var i=o._event;return i.origin}}))}var iv=function(e,t){return{context:e,event:t}};function sv(e,t){return e===void 0&&(e=iv),{type:Ie.log,label:t,expr:e}}var Lo=function(e,t,r){return fe.__assign(fe.__assign({},e),{value:ee.isString(e.expr)?e.expr:e.expr(t,r.data,{_event:r})})},lv=function(e){return{type:Ie.cancel,sendId:e}};function uv(e){var t=Dn(e);return{type:Ve.ActionTypes.Start,activity:t,exec:void 0}}function cv(e){var t=ee.isFunction(e)?e:Dn(e);return{type:Ve.ActionTypes.Stop,activity:t,exec:void 0}}function jo(e,t,r){var a=ee.isFunction(e.activity)?e.activity(t,r.data):e.activity,o=typeof a=="string"?{id:a}:a,i={type:Ve.ActionTypes.Stop,activity:o};return i}var dv=function(e){return{type:Ie.assign,assignment:e}};function fv(e,t){var r=t?"#".concat(t):"";return"".concat(Ve.ActionTypes.After,"(").concat(e,")").concat(r)}function vv(e,t){var r="".concat(Ve.ActionTypes.DoneState,".").concat(e),a={type:r,data:t};return a.toString=function(){return r},a}function pv(e,t){var r="".concat(Ve.ActionTypes.DoneInvoke,".").concat(e),a={type:r,data:t};return a.toString=function(){return r},a}function mv(e,t){var r="".concat(Ve.ActionTypes.ErrorPlatform,".").concat(e),a={type:r,data:t};return a.toString=function(){return r},a}function hv(e){return{type:Ve.ActionTypes.Pure,get:e}}function gv(e,t){return kt(function(r,a){return a},fe.__assign(fe.__assign({},t),{to:e}))}function yv(e,t){return Rn(function(r,a,o){return{type:Ie.error,data:ee.isFunction(e)?e(r,a,o):e}},fe.__assign(fe.__assign({},t),{to:Ve.SpecialTargets.Parent}))}function bv(e){return{type:Ve.ActionTypes.Choose,conds:e}}function On(e,t,r,a,o,i){i===void 0&&(i=!1);var s=fe.__read(i?[[],o]:ee.partition(o,function(f){return f.type===Ie.assign}),2),l=s[0],u=s[1],d=l.length?ee.updateContext(r,a,l,t):r,c=i?[r]:void 0,v=ee.flatten(u.map(function(f){var p;switch(f.type){case Ie.raise:return Mo(f);case Ie.send:var m=zo(f,d,a,e.options.delays);return ev.IS_PRODUCTION||ee.warn(!ee.isString(f.delay)||typeof m.delay=="number","No delay reference for delay expression '".concat(f.delay,"' was found on machine '").concat(e.id,"'")),m;case Ie.log:return Lo(f,d,a);case Ie.choose:{var y=f,C=(p=y.conds.find(function($){var F=ee.toGuard($.cond,e.options.guards);return!F||ee.evaluateGuard(e,F,d,a,t)}))===null||p===void 0?void 0:p.actions;if(!C)return[];var b=fe.__read(On(e,t,d,a,Fn(ee.toArray(C),e.options.actions),i),2),g=b[0],w=b[1];return d=w,c==null||c.push(d),g}case Ie.pure:{var C=f.get(d,a.data);if(!C)return[];var _=fe.__read(On(e,t,d,a,Fn(ee.toArray(C),e.options.actions),i),2),E=_[0],k=_[1];return d=k,c==null||c.push(d),E}case Ie.stop:return jo(f,d,a);case Ie.assign:{d=ee.updateContext(d,a,[f],t),c==null||c.push(d);break}default:var S=Tr(f,e.options.actions),I=S.exec;if(I&&c){var x=c.length-1;S=fe.__assign(fe.__assign({},S),{exec:function($){for(var F=[],R=1;R<arguments.length;R++)F[R-1]=arguments[R];I.apply(void 0,fe.__spreadArray([c[x]],fe.__read(F),!1))}})}return S}}).filter(function(f){return!!f}));return[v,d]}ie.after=fv;var ge=ie.assign=dv;ie.cancel=lv;ie.choose=bv;ie.done=vv;ie.doneInvoke=pv;ie.error=mv;ie.escalate=yv;ie.forwardTo=gv;ie.getActionFunction=Bn;ie.initEvent=tv;ie.log=sv;ie.pure=hv;ie.raise=rv;ie.resolveActions=On;ie.resolveLog=Lo;ie.resolveRaise=Mo;ie.resolveSend=zo;ie.resolveStop=jo;ie.respond=ov;ie.send=kt;ie.sendParent=Rn;ie.sendTo=nv;ie.sendUpdate=av;ie.start=uv;var Cv=ie.stop=cv;ie.toActionObject=Tr;ie.toActionObjects=Fn;ie.toActivityDefinition=Dn;var wv=Le,Sv=lr,_v=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,xv=/^\w*$/;function Ev(e,t){if(wv(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Sv(e)?!0:xv.test(e)||!_v.test(e)||t!=null&&e in Object(t)}var Vn=Ev,Av=Ze,Iv=Av["__core-js_shared__"],kv=Iv,Un=kv,Go=function(){var e=/[^.]+$/.exec(Un&&Un.keys&&Un.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Pv(e){return!!Go&&Go in e}var Nv=Pv,Tv=Function.prototype,$v=Tv.toString;function Bv(e){if(e!=null){try{return $v.call(e)}catch{}try{return e+""}catch{}}return""}var Ho=Bv,Fv=sn,Dv=Nv,Rv=Xe,Ov=Ho,Vv=/[\\^$.*+?()[\]{}|]/g,Uv=/^\[object .+?Constructor\]$/,Mv=Function.prototype,zv=Object.prototype,Lv=Mv.toString,jv=zv.hasOwnProperty,Gv=RegExp("^"+Lv.call(jv).replace(Vv,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Hv(e){if(!Rv(e)||Dv(e))return!1;var t=Fv(e)?Gv:Uv;return t.test(Ov(e))}var Wv=Hv;function Kv(e,t){return e==null?void 0:e[t]}var qv=Kv,Yv=Wv,Zv=qv;function Xv(e,t){var r=Zv(e,t);return Yv(r)?r:void 0}var dt=Xv,Jv=dt,Qv=Jv(Object,"create"),$r=Qv,Wo=$r;function ep(){this.__data__=Wo?Wo(null):{},this.size=0}var tp=ep;function rp(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var np=rp,ap=$r,op="__lodash_hash_undefined__",ip=Object.prototype,sp=ip.hasOwnProperty;function lp(e){var t=this.__data__;if(ap){var r=t[e];return r===op?void 0:r}return sp.call(t,e)?t[e]:void 0}var up=lp,cp=$r,dp=Object.prototype,fp=dp.hasOwnProperty;function vp(e){var t=this.__data__;return cp?t[e]!==void 0:fp.call(t,e)}var pp=vp,mp=$r,hp="__lodash_hash_undefined__";function gp(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=mp&&t===void 0?hp:t,this}var yp=gp,bp=tp,Cp=np,wp=up,Sp=pp,_p=yp;function Pt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var a=e[t];this.set(a[0],a[1])}}Pt.prototype.clear=bp;Pt.prototype.delete=Cp;Pt.prototype.get=wp;Pt.prototype.has=Sp;Pt.prototype.set=_p;var xp=Pt;function Ep(){this.__data__=[],this.size=0}var Ap=Ep;function Ip(e,t){return e===t||e!==e&&t!==t}var Xt=Ip,kp=Xt;function Pp(e,t){for(var r=e.length;r--;)if(kp(e[r][0],t))return r;return-1}var Br=Pp,Np=Br,Tp=Array.prototype,$p=Tp.splice;function Bp(e){var t=this.__data__,r=Np(t,e);if(r<0)return!1;var a=t.length-1;return r==a?t.pop():$p.call(t,r,1),--this.size,!0}var Fp=Bp,Dp=Br;function Rp(e){var t=this.__data__,r=Dp(t,e);return r<0?void 0:t[r][1]}var Op=Rp,Vp=Br;function Up(e){return Vp(this.__data__,e)>-1}var Mp=Up,zp=Br;function Lp(e,t){var r=this.__data__,a=zp(r,e);return a<0?(++this.size,r.push([e,t])):r[a][1]=t,this}var jp=Lp,Gp=Ap,Hp=Fp,Wp=Op,Kp=Mp,qp=jp;function Nt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var a=e[t];this.set(a[0],a[1])}}Nt.prototype.clear=Gp;Nt.prototype.delete=Hp;Nt.prototype.get=Wp;Nt.prototype.has=Kp;Nt.prototype.set=qp;var Fr=Nt,Yp=dt,Zp=Ze,Xp=Yp(Zp,"Map"),Mn=Xp,Ko=xp,Jp=Fr,Qp=Mn;function em(){this.size=0,this.__data__={hash:new Ko,map:new(Qp||Jp),string:new Ko}}var tm=em;function rm(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var nm=rm,am=nm;function om(e,t){var r=e.__data__;return am(t)?r[typeof t=="string"?"string":"hash"]:r.map}var Dr=om,im=Dr;function sm(e){var t=im(this,e).delete(e);return this.size-=t?1:0,t}var lm=sm,um=Dr;function cm(e){return um(this,e).get(e)}var dm=cm,fm=Dr;function vm(e){return fm(this,e).has(e)}var pm=vm,mm=Dr;function hm(e,t){var r=mm(this,e),a=r.size;return r.set(e,t),this.size+=r.size==a?0:1,this}var gm=hm,ym=tm,bm=lm,Cm=dm,wm=pm,Sm=gm;function Tt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var a=e[t];this.set(a[0],a[1])}}Tt.prototype.clear=ym;Tt.prototype.delete=bm;Tt.prototype.get=Cm;Tt.prototype.has=wm;Tt.prototype.set=Sm;var zn=Tt,qo=zn,_m="Expected a function";function Ln(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(_m);var r=function(){var a=arguments,o=t?t.apply(this,a):a[0],i=r.cache;if(i.has(o))return i.get(o);var s=e.apply(this,a);return r.cache=i.set(o,s)||i,s};return r.cache=new(Ln.Cache||qo),r}Ln.Cache=qo;var xm=Ln,Em=xm,Am=500;function Im(e){var t=Em(e,function(a){return r.size===Am&&r.clear(),a}),r=t.cache;return t}var km=Im,Pm=km,Nm=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Tm=/\\(\\)?/g,$m=Pm(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Nm,function(r,a,o,i){t.push(o?i.replace(Tm,"$1"):a||r)}),t}),Bm=$m,Yo=sr,Fm=un,Dm=Le,Rm=lr,Om=1/0,Zo=Yo?Yo.prototype:void 0,Xo=Zo?Zo.toString:void 0;function Jo(e){if(typeof e=="string")return e;if(Dm(e))return Fm(e,Jo)+"";if(Rm(e))return Xo?Xo.call(e):"";var t=e+"";return t=="0"&&1/e==-Om?"-0":t}var Vm=Jo,Um=Vm;function Mm(e){return e==null?"":Um(e)}var jn=Mm,zm=Le,Lm=Vn,jm=Bm,Gm=jn;function Hm(e,t){return zm(e)?e:Lm(e,t)?[e]:jm(Gm(e))}var Rr=Hm,Wm=lr,Km=1/0;function qm(e){if(typeof e=="string"||Wm(e))return e;var t=e+"";return t=="0"&&1/e==-Km?"-0":t}var Jt=qm,Ym=Rr,Zm=Jt;function Xm(e,t){t=Ym(t,e);for(var r=0,a=t.length;e!=null&&r<a;)e=e[Zm(t[r++])];return r&&r==a?e:void 0}var Gn=Xm,Jm=Gn;function Qm(e,t,r){var a=e==null?void 0:Jm(e,t);return a===void 0?r:a}var Ue=Qm,eh=dt,th=Ze,rh=eh(th,"DataView"),nh=rh,ah=dt,oh=Ze,ih=ah(oh,"Promise"),sh=ih,lh=dt,uh=Ze,ch=lh(uh,"Set"),dh=ch,fh=dt,vh=Ze,ph=fh(vh,"WeakMap"),mh=ph,Hn=nh,Wn=Mn,Kn=sh,qn=dh,Yn=mh,Qo=ct,$t=Ho,ei="[object Map]",hh="[object Object]",ti="[object Promise]",ri="[object Set]",ni="[object WeakMap]",ai="[object DataView]",gh=$t(Hn),yh=$t(Wn),bh=$t(Kn),Ch=$t(qn),wh=$t(Yn),ft=Qo;(Hn&&ft(new Hn(new ArrayBuffer(1)))!=ai||Wn&&ft(new Wn)!=ei||Kn&&ft(Kn.resolve())!=ti||qn&&ft(new qn)!=ri||Yn&&ft(new Yn)!=ni)&&(ft=function(e){var t=Qo(e),r=t==hh?e.constructor:void 0,a=r?$t(r):"";if(a)switch(a){case gh:return ai;case yh:return ei;case bh:return ti;case Ch:return ri;case wh:return ni}return t});var oi=ft,Sh=vo,_h=oi,xh=ur,Eh=Le,Ah=pt,Ih=mt.exports,kh=fr,Ph=dr,Nh="[object Map]",Th="[object Set]",$h=Object.prototype,Bh=$h.hasOwnProperty;function Fh(e){if(e==null)return!0;if(Ah(e)&&(Eh(e)||typeof e=="string"||typeof e.splice=="function"||Ih(e)||Ph(e)||xh(e)))return!e.length;var t=_h(e);if(t==Nh||t==Th)return!e.size;if(kh(e))return!Sh(e).length;for(var r in e)if(Bh.call(e,r))return!1;return!0}var Zn=Fh,Dh=Fr;function Rh(){this.__data__=new Dh,this.size=0}var Oh=Rh;function Vh(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}var Uh=Vh;function Mh(e){return this.__data__.get(e)}var zh=Mh;function Lh(e){return this.__data__.has(e)}var jh=Lh,Gh=Fr,Hh=Mn,Wh=zn,Kh=200;function qh(e,t){var r=this.__data__;if(r instanceof Gh){var a=r.__data__;if(!Hh||a.length<Kh-1)return a.push([e,t]),this.size=++r.size,this;r=this.__data__=new Wh(a)}return r.set(e,t),this.size=r.size,this}var Yh=qh,Zh=Fr,Xh=Oh,Jh=Uh,Qh=zh,eg=jh,tg=Yh;function Bt(e){var t=this.__data__=new Zh(e);this.size=t.size}Bt.prototype.clear=Xh;Bt.prototype.delete=Jh;Bt.prototype.get=Qh;Bt.prototype.has=eg;Bt.prototype.set=tg;var Xn=Bt,rg=dt,ng=function(){try{var e=rg(Object,"defineProperty");return e({},"",{}),e}catch{}}(),ii=ng,si=ii;function ag(e,t,r){t=="__proto__"&&si?si(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var Jn=ag,og=Jn,ig=Xt;function sg(e,t,r){(r!==void 0&&!ig(e[t],r)||r===void 0&&!(t in e))&&og(e,t,r)}var li=sg;function lg(e){return function(t,r,a){for(var o=-1,i=Object(t),s=a(t),l=s.length;l--;){var u=s[e?l:++o];if(r(i[u],u,i)===!1)break}return t}}var ug=lg,cg=ug,dg=cg(),fg=dg,Qn={exports:{}};(function(e,t){var r=Ze,a=t&&!t.nodeType&&t,o=a&&!0&&e&&!e.nodeType&&e,i=o&&o.exports===a,s=i?r.Buffer:void 0,l=s?s.allocUnsafe:void 0;function u(d,c){if(c)return d.slice();var v=d.length,f=l?l(v):new d.constructor(v);return d.copy(f),f}e.exports=u})(Qn,Qn.exports);var vg=Ze,pg=vg.Uint8Array,ui=pg,ci=ui;function mg(e){var t=new e.constructor(e.byteLength);return new ci(t).set(new ci(e)),t}var hg=mg,gg=hg;function yg(e,t){var r=t?gg(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var bg=yg;function Cg(e,t){var r=-1,a=e.length;for(t||(t=Array(a));++r<a;)t[r]=e[r];return t}var wg=Cg,Sg=Xe,di=Object.create,_g=function(){function e(){}return function(t){if(!Sg(t))return{};if(di)return di(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}(),xg=_g,Eg=fo,Ag=Eg(Object.getPrototypeOf,Object),ea=Ag,Ig=xg,kg=ea,Pg=fr;function Ng(e){return typeof e.constructor=="function"&&!Pg(e)?Ig(kg(e)):{}}var Tg=Ng,$g=pt,Bg=ot;function Fg(e){return Bg(e)&&$g(e)}var Dg=Fg,Rg=ct,Og=ea,Vg=ot,Ug="[object Object]",Mg=Function.prototype,zg=Object.prototype,fi=Mg.toString,Lg=zg.hasOwnProperty,jg=fi.call(Object);function Gg(e){if(!Vg(e)||Rg(e)!=Ug)return!1;var t=Og(e);if(t===null)return!0;var r=Lg.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&fi.call(r)==jg}var Hg=Gg;function Wg(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var vi=Wg,Kg=Jn,qg=Xt,Yg=Object.prototype,Zg=Yg.hasOwnProperty;function Xg(e,t,r){var a=e[t];(!(Zg.call(e,t)&&qg(a,r))||r===void 0&&!(t in e))&&Kg(e,t,r)}var pi=Xg,Jg=pi,Qg=Jn;function e0(e,t,r,a){var o=!r;r||(r={});for(var i=-1,s=t.length;++i<s;){var l=t[i],u=a?a(r[l],e[l],l,r,e):void 0;u===void 0&&(u=e[l]),o?Qg(r,l,u):Jg(r,l,u)}return r}var t0=e0;function r0(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var n0=r0,a0=Xe,o0=fr,i0=n0,s0=Object.prototype,l0=s0.hasOwnProperty;function u0(e){if(!a0(e))return i0(e);var t=o0(e),r=[];for(var a in e)a=="constructor"&&(t||!l0.call(e,a))||r.push(a);return r}var c0=u0,d0=co,f0=c0,v0=pt;function p0(e){return v0(e)?d0(e,!0):f0(e)}var ta=p0,m0=t0,h0=ta;function g0(e){return m0(e,h0(e))}var y0=g0,mi=li,b0=Qn.exports,C0=bg,w0=wg,S0=Tg,hi=ur,gi=Le,_0=Dg,x0=mt.exports,E0=sn,A0=Xe,I0=Hg,k0=dr,yi=vi,P0=y0;function N0(e,t,r,a,o,i,s){var l=yi(e,r),u=yi(t,r),d=s.get(u);if(d){mi(e,r,d);return}var c=i?i(l,u,r+"",e,t,s):void 0,v=c===void 0;if(v){var f=gi(u),p=!f&&x0(u),m=!f&&!p&&k0(u);c=u,f||p||m?gi(l)?c=l:_0(l)?c=w0(l):p?(v=!1,c=b0(u,!0)):m?(v=!1,c=C0(u,!0)):c=[]:I0(u)||hi(u)?(c=l,hi(l)?c=P0(l):(!A0(l)||E0(l))&&(c=S0(u))):v=!1}v&&(s.set(u,c),o(c,u,a,i,s),s.delete(u)),mi(e,r,c)}var T0=N0,$0=Xn,B0=li,F0=fg,D0=T0,R0=Xe,O0=ta,V0=vi;function bi(e,t,r,a,o){e!==t&&F0(t,function(i,s){if(o||(o=new $0),R0(i))D0(e,t,s,r,bi,a,o);else{var l=a?a(V0(e,s),i,s+"",e,t,o):void 0;l===void 0&&(l=i),B0(e,s,l)}},O0)}var U0=bi;function M0(e){return e}var ra=M0;function z0(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}var L0=z0,j0=L0,Ci=Math.max;function G0(e,t,r){return t=Ci(t===void 0?e.length-1:t,0),function(){for(var a=arguments,o=-1,i=Ci(a.length-t,0),s=Array(i);++o<i;)s[o]=a[t+o];o=-1;for(var l=Array(t+1);++o<t;)l[o]=a[o];return l[t]=r(s),j0(e,this,l)}}var H0=G0;function W0(e){return function(){return e}}var K0=W0,q0=K0,wi=ii,Y0=ra,Z0=wi?function(e,t){return wi(e,"toString",{configurable:!0,enumerable:!1,value:q0(t),writable:!0})}:Y0,X0=Z0,J0=800,Q0=16,ey=Date.now;function ty(e){var t=0,r=0;return function(){var a=ey(),o=Q0-(a-r);if(r=a,o>0){if(++t>=J0)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var ry=ty,ny=X0,ay=ry,oy=ay(ny),iy=oy,sy=ra,ly=H0,uy=iy;function cy(e,t){return uy(ly(e,t,sy),e+"")}var dy=cy,fy=Xt,vy=pt,py=cr,my=Xe;function hy(e,t,r){if(!my(r))return!1;var a=typeof t;return(a=="number"?vy(r)&&py(t,r.length):a=="string"&&t in r)?fy(r[t],e):!1}var gy=hy,yy=dy,by=gy;function Cy(e){return yy(function(t,r){var a=-1,o=r.length,i=o>1?r[o-1]:void 0,s=o>2?r[2]:void 0;for(i=e.length>3&&typeof i=="function"?(o--,i):void 0,s&&by(r[0],r[1],s)&&(i=o<3?void 0:i,o=1),t=Object(t);++a<o;){var l=r[a];l&&e(t,l,a,i)}return t})}var wy=Cy,Sy=U0,_y=wy,xy=_y(function(e,t,r){Sy(e,t,r)}),Ey=xy,Ay="__lodash_hash_undefined__";function Iy(e){return this.__data__.set(e,Ay),this}var ky=Iy;function Py(e){return this.__data__.has(e)}var Ny=Py,Ty=zn,$y=ky,By=Ny;function Or(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new Ty;++t<r;)this.add(e[t])}Or.prototype.add=Or.prototype.push=$y;Or.prototype.has=By;var Fy=Or;function Dy(e,t){for(var r=-1,a=e==null?0:e.length;++r<a;)if(t(e[r],r,e))return!0;return!1}var Ry=Dy;function Oy(e,t){return e.has(t)}var Vy=Oy,Uy=Fy,My=Ry,zy=Vy,Ly=1,jy=2;function Gy(e,t,r,a,o,i){var s=r&Ly,l=e.length,u=t.length;if(l!=u&&!(s&&u>l))return!1;var d=i.get(e),c=i.get(t);if(d&&c)return d==t&&c==e;var v=-1,f=!0,p=r&jy?new Uy:void 0;for(i.set(e,t),i.set(t,e);++v<l;){var m=e[v],y=t[v];if(a)var C=s?a(y,m,v,t,e,i):a(m,y,v,e,t,i);if(C!==void 0){if(C)continue;f=!1;break}if(p){if(!My(t,function(b,g){if(!zy(p,g)&&(m===b||o(m,b,r,a,i)))return p.push(g)})){f=!1;break}}else if(!(m===y||o(m,y,r,a,i))){f=!1;break}}return i.delete(e),i.delete(t),f}var Si=Gy;function Hy(e){var t=-1,r=Array(e.size);return e.forEach(function(a,o){r[++t]=[o,a]}),r}var Wy=Hy;function Ky(e){var t=-1,r=Array(e.size);return e.forEach(function(a){r[++t]=a}),r}var qy=Ky,_i=sr,xi=ui,Yy=Xt,Zy=Si,Xy=Wy,Jy=qy,Qy=1,e1=2,t1="[object Boolean]",r1="[object Date]",n1="[object Error]",a1="[object Map]",o1="[object Number]",i1="[object RegExp]",s1="[object Set]",l1="[object String]",u1="[object Symbol]",c1="[object ArrayBuffer]",d1="[object DataView]",Ei=_i?_i.prototype:void 0,na=Ei?Ei.valueOf:void 0;function f1(e,t,r,a,o,i,s){switch(r){case d1:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case c1:return!(e.byteLength!=t.byteLength||!i(new xi(e),new xi(t)));case t1:case r1:case o1:return Yy(+e,+t);case n1:return e.name==t.name&&e.message==t.message;case i1:case l1:return e==t+"";case a1:var l=Xy;case s1:var u=a&Qy;if(l||(l=Jy),e.size!=t.size&&!u)return!1;var d=s.get(e);if(d)return d==t;a|=e1,s.set(e,t);var c=Zy(l(e),l(t),a,o,i,s);return s.delete(e),c;case u1:if(na)return na.call(e)==na.call(t)}return!1}var v1=f1;function p1(e,t){for(var r=-1,a=t.length,o=e.length;++r<a;)e[o+r]=t[r];return e}var Ai=p1,m1=Ai,h1=Le;function g1(e,t,r){var a=t(e);return h1(e)?a:m1(a,r(e))}var Ii=g1;function y1(e,t){for(var r=-1,a=e==null?0:e.length,o=0,i=[];++r<a;){var s=e[r];t(s,r,e)&&(i[o++]=s)}return i}var b1=y1;function C1(){return[]}var ki=C1,w1=b1,S1=ki,_1=Object.prototype,x1=_1.propertyIsEnumerable,Pi=Object.getOwnPropertySymbols,E1=Pi?function(e){return e==null?[]:(e=Object(e),w1(Pi(e),function(t){return x1.call(e,t)}))}:S1,Ni=E1,A1=Ii,I1=Ni,k1=dn;function P1(e){return A1(e,k1,I1)}var N1=P1,Ti=N1,T1=1,$1=Object.prototype,B1=$1.hasOwnProperty;function F1(e,t,r,a,o,i){var s=r&T1,l=Ti(e),u=l.length,d=Ti(t),c=d.length;if(u!=c&&!s)return!1;for(var v=u;v--;){var f=l[v];if(!(s?f in t:B1.call(t,f)))return!1}var p=i.get(e),m=i.get(t);if(p&&m)return p==t&&m==e;var y=!0;i.set(e,t),i.set(t,e);for(var C=s;++v<u;){f=l[v];var b=e[f],g=t[f];if(a)var w=s?a(g,b,f,t,e,i):a(b,g,f,e,t,i);if(!(w===void 0?b===g||o(b,g,r,a,i):w)){y=!1;break}C||(C=f=="constructor")}if(y&&!C){var _=e.constructor,E=t.constructor;_!=E&&"constructor"in e&&"constructor"in t&&!(typeof _=="function"&&_ instanceof _&&typeof E=="function"&&E instanceof E)&&(y=!1)}return i.delete(e),i.delete(t),y}var D1=F1,aa=Xn,R1=Si,O1=v1,V1=D1,$i=oi,Bi=Le,Fi=mt.exports,U1=dr,M1=1,Di="[object Arguments]",Ri="[object Array]",Vr="[object Object]",z1=Object.prototype,Oi=z1.hasOwnProperty;function L1(e,t,r,a,o,i){var s=Bi(e),l=Bi(t),u=s?Ri:$i(e),d=l?Ri:$i(t);u=u==Di?Vr:u,d=d==Di?Vr:d;var c=u==Vr,v=d==Vr,f=u==d;if(f&&Fi(e)){if(!Fi(t))return!1;s=!0,c=!1}if(f&&!c)return i||(i=new aa),s||U1(e)?R1(e,t,r,a,o,i):O1(e,t,u,r,a,o,i);if(!(r&M1)){var p=c&&Oi.call(e,"__wrapped__"),m=v&&Oi.call(t,"__wrapped__");if(p||m){var y=p?e.value():e,C=m?t.value():t;return i||(i=new aa),o(y,C,r,a,i)}}return f?(i||(i=new aa),V1(e,t,r,a,o,i)):!1}var j1=L1,G1=j1,Vi=ot;function Ui(e,t,r,a,o){return e===t?!0:e==null||t==null||!Vi(e)&&!Vi(t)?e!==e&&t!==t:G1(e,t,r,a,Ui,o)}var Mi=Ui,H1=Xn,W1=Mi,K1=1,q1=2;function Y1(e,t,r,a){var o=r.length,i=o,s=!a;if(e==null)return!i;for(e=Object(e);o--;){var l=r[o];if(s&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++o<i;){l=r[o];var u=l[0],d=e[u],c=l[1];if(s&&l[2]){if(d===void 0&&!(u in e))return!1}else{var v=new H1;if(a)var f=a(d,c,u,e,t,v);if(!(f===void 0?W1(c,d,K1|q1,a,v):f))return!1}}return!0}var Z1=Y1,X1=Xe;function J1(e){return e===e&&!X1(e)}var zi=J1,Q1=zi,eb=dn;function tb(e){for(var t=eb(e),r=t.length;r--;){var a=t[r],o=e[a];t[r]=[a,o,Q1(o)]}return t}var rb=tb;function nb(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}var Li=nb,ab=Z1,ob=rb,ib=Li;function sb(e){var t=ob(e);return t.length==1&&t[0][2]?ib(t[0][0],t[0][1]):function(r){return r===e||ab(r,e,t)}}var lb=sb;function ub(e,t){return e!=null&&t in Object(e)}var cb=ub,db=Rr,fb=ur,vb=Le,pb=cr,mb=ln,hb=Jt;function gb(e,t,r){t=db(t,e);for(var a=-1,o=t.length,i=!1;++a<o;){var s=hb(t[a]);if(!(i=e!=null&&r(e,s)))break;e=e[s]}return i||++a!=o?i:(o=e==null?0:e.length,!!o&&mb(o)&&pb(s,o)&&(vb(e)||fb(e)))}var yb=gb,bb=cb,Cb=yb;function wb(e,t){return e!=null&&Cb(e,t,bb)}var Sb=wb,_b=Mi,xb=Ue,Eb=Sb,Ab=Vn,Ib=zi,kb=Li,Pb=Jt,Nb=1,Tb=2;function $b(e,t){return Ab(e)&&Ib(t)?kb(Pb(e),t):function(r){var a=xb(r,e);return a===void 0&&a===t?Eb(r,e):_b(t,a,Nb|Tb)}}var Bb=$b;function Fb(e){return function(t){return t==null?void 0:t[e]}}var Db=Fb,Rb=Gn;function Ob(e){return function(t){return Rb(t,e)}}var Vb=Ob,Ub=Db,Mb=Vb,zb=Vn,Lb=Jt;function jb(e){return zb(e)?Ub(Lb(e)):Mb(e)}var Gb=jb,Hb=lb,Wb=Bb,Kb=ra,qb=Le,Yb=Gb;function Zb(e){return typeof e=="function"?e:e==null?Kb:typeof e=="object"?qb(e)?Wb(e[0],e[1]):Hb(e):Yb(e)}var Xb=Zb,Jb=pi,Qb=Rr,eC=cr,ji=Xe,tC=Jt;function rC(e,t,r,a){if(!ji(e))return e;t=Qb(t,e);for(var o=-1,i=t.length,s=i-1,l=e;l!=null&&++o<i;){var u=tC(t[o]),d=r;if(u==="__proto__"||u==="constructor"||u==="prototype")return e;if(o!=s){var c=l[u];d=a?a(c,u,l):void 0,d===void 0&&(d=ji(c)?c:eC(t[o+1])?[]:{})}Jb(l,u,d),l=l[u]}return e}var nC=rC,aC=Gn,oC=nC,iC=Rr;function sC(e,t,r){for(var a=-1,o=t.length,i={};++a<o;){var s=t[a],l=aC(e,s);r(l,s)&&oC(i,iC(s,e),l)}return i}var lC=sC,uC=Ai,cC=ea,dC=Ni,fC=ki,vC=Object.getOwnPropertySymbols,pC=vC?function(e){for(var t=[];e;)uC(t,dC(e)),e=cC(e);return t}:fC,mC=pC,hC=Ii,gC=mC,yC=ta;function bC(e){return hC(e,yC,gC)}var CC=bC,wC=un,SC=Xb,_C=lC,xC=CC;function EC(e,t){if(e==null)return{};var r=wC(xC(e),function(a){return[a]});return t=SC(t),_C(e,r,function(a,o){return t(a,o[0])})}var AC=EC;/*! *****************************************************************************
30
+ ***************************************************************************** */e.__assign=function(){return e.__assign=Object.assign||function(s){for(var u,l=1,d=arguments.length;l<d;l++){u=arguments[l];for(var c in u)Object.prototype.hasOwnProperty.call(u,c)&&(s[c]=u[c])}return s},e.__assign.apply(this,arguments)};function t(i,s){var u={};for(var l in i)Object.prototype.hasOwnProperty.call(i,l)&&s.indexOf(l)<0&&(u[l]=i[l]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,l=Object.getOwnPropertySymbols(i);d<l.length;d++)s.indexOf(l[d])<0&&Object.prototype.propertyIsEnumerable.call(i,l[d])&&(u[l[d]]=i[l[d]]);return u}function r(i){var s=typeof Symbol=="function"&&Symbol.iterator,u=s&&i[s],l=0;if(u)return u.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&l>=i.length&&(i=void 0),{value:i&&i[l++],done:!i}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")}function n(i,s){var u=typeof Symbol=="function"&&i[Symbol.iterator];if(!u)return i;var l=u.call(i),d,c=[],v;try{for(;(s===void 0||s-- >0)&&!(d=l.next()).done;)c.push(d.value)}catch(f){v={error:f}}finally{try{d&&!d.done&&(u=l.return)&&u.call(l)}finally{if(v)throw v.error}}return c}function o(i,s,u){if(u||arguments.length===2)for(var l=0,d=s.length,c;l<d;l++)(c||!(l in s))&&(c||(c=Array.prototype.slice.call(s,0,l)),c[l]=s[l]);return i.concat(c||Array.prototype.slice.call(s))}e.__read=n,e.__rest=t,e.__spreadArray=o,e.__values=r})(Yn);var Dr={};Object.defineProperty(Dr,"__esModule",{value:!0});var c0=!0;Dr.IS_PRODUCTION=c0;var Ii={},wt={};Object.defineProperty(wt,"__esModule",{value:!0});var d0=".",f0={},v0="xstate.guard",p0="";wt.DEFAULT_GUARD_TYPE=v0;wt.EMPTY_ACTIVITY_MAP=f0;wt.STATE_DELIMITER=d0;wt.TARGETLESS_KEY=p0;(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Yn,r=wt,n=Dr,o;function i(b){return Object.keys(b)}function s(b,k,F){F===void 0&&(F=r.STATE_DELIMITER);var N=c(b,F),z=c(k,F);return W(z)?W(N)?z===N:!1:W(N)?N in z:i(N).every(function(j){return j in z?s(N[j],z[j]):!1})}function u(b){try{return W(b)||typeof b=="number"?"".concat(b):b.type}catch{throw new Error("Events must be strings or objects with a string event.type property.")}}function l(b,k){try{return O(b)?b:b.toString().split(k)}catch{throw new Error("'".concat(b,"' is not a valid state path."))}}function d(b){return typeof b=="object"&&"value"in b&&"context"in b&&"event"in b&&"_event"in b}function c(b,k){if(d(b))return b.value;if(O(b))return v(b);if(typeof b!="string")return b;var F=l(b,k);return v(F)}function v(b){if(b.length===1)return b[0];for(var k={},F=k,N=0;N<b.length-1;N++)N===b.length-2?F[b[N]]=b[N+1]:(F[b[N]]={},F=F[b[N]]);return k}function f(b,k){for(var F={},N=i(b),z=0;z<N.length;z++){var j=N[z];F[j]=k(b[j],j,b,z)}return F}function m(b,k,F){var N,z,j={};try{for(var Z=t.__values(i(b)),H=Z.next();!H.done;H=Z.next()){var le=H.value,de=b[le];!F(de)||(j[le]=k(de,le,b))}}catch(ke){N={error:ke}}finally{try{H&&!H.done&&(z=Z.return)&&z.call(Z)}finally{if(N)throw N.error}}return j}var g=function(b){return function(k){var F,N,z=k;try{for(var j=t.__values(b),Z=j.next();!Z.done;Z=j.next()){var H=Z.value;z=z[H]}}catch(le){F={error:le}}finally{try{Z&&!Z.done&&(N=j.return)&&N.call(j)}finally{if(F)throw F.error}}return z}};function h(b,k){return function(F){var N,z,j=F;try{for(var Z=t.__values(b),H=Z.next();!H.done;H=Z.next()){var le=H.value;j=j[k][le]}}catch(de){N={error:de}}finally{try{H&&!H.done&&(z=Z.return)&&z.call(Z)}finally{if(N)throw N.error}}return j}}function p(b){if(!b)return[[]];if(W(b))return[[b]];var k=y(i(b).map(function(F){var N=b[F];return typeof N!="string"&&(!N||!Object.keys(N).length)?[[F]]:p(b[F]).map(function(z){return[F].concat(z)})}));return k}function y(b){var k;return(k=[]).concat.apply(k,t.__spreadArray([],t.__read(b),!1))}function C(b){return O(b)?b:[b]}function S(b){return b===void 0?[]:C(b)}function w(b,k,F){var N,z;if(L(b))return b(k,F.data);var j={};try{for(var Z=t.__values(Object.keys(b)),H=Z.next();!H.done;H=Z.next()){var le=H.value,de=b[le];L(de)?j[le]=de(k,F.data):j[le]=de}}catch(ke){N={error:ke}}finally{try{H&&!H.done&&(z=Z.return)&&z.call(Z)}finally{if(N)throw N.error}}return j}function x(b){return/^(done|error)\./.test(b)}function A(b){return!!(b instanceof Promise||b!==null&&(L(b)||typeof b=="object")&&L(b.then))}function E(b){return b!==null&&typeof b=="object"&&"transition"in b&&typeof b.transition=="function"}function I(b,k){var F,N,z=t.__read([[],[]],2),j=z[0],Z=z[1];try{for(var H=t.__values(b),le=H.next();!le.done;le=H.next()){var de=le.value;k(de)?j.push(de):Z.push(de)}}catch(ke){F={error:ke}}finally{try{le&&!le.done&&(N=H.return)&&N.call(H)}finally{if(F)throw F.error}}return[j,Z]}function T(b,k){return f(b.states,function(F,N){if(!!F){var z=(W(k)?void 0:k[N])||(F?F.current:void 0);if(!!z)return{current:z,states:T(F,z)}}})}function B(b,k){return{current:k,states:T(b,k)}}function U(b,k,F,N){n.IS_PRODUCTION||e.warn(!!b,"Attempting to update undefined context");var z=b&&F.reduce(function(j,Z){var H,le,de=Z.assignment,ke={state:N,action:Z,_event:k},D={};if(L(de))D=de(j,k.data,ke);else try{for(var V=t.__values(i(de)),We=V.next();!We.done;We=V.next()){var ar=We.value,dn=de[ar];D[ar]=L(dn)?dn(j,k.data,ke):dn}}catch(Fu){H={error:Fu}}finally{try{We&&!We.done&&(le=V.return)&&le.call(V)}finally{if(H)throw H.error}}return Object.assign({},j,D)},b);return z}e.warn=function(){},n.IS_PRODUCTION||(e.warn=function(b,k){var F=b instanceof Error?b:void 0;if(!(!F&&b)&&console!==void 0){var N=["Warning: ".concat(k)];F&&N.push(F),console.warn.apply(console,N)}});function O(b){return Array.isArray(b)}function L(b){return typeof b=="function"}function W(b){return typeof b=="string"}function be(b,k){if(!!b)return W(b)?{type:r.DEFAULT_GUARD_TYPE,name:b,predicate:k?k[b]:void 0}:L(b)?{type:r.DEFAULT_GUARD_TYPE,name:b.name,predicate:b}:b}function ve(b){try{return"subscribe"in b&&L(b.subscribe)}catch{return!1}}var Ye=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ze=(o={},o[Ye]=function(){return this},o);function pe(b){try{return"__xstatenode"in b}catch{return!1}}function Fe(b){return!!b&&typeof b.send=="function"}var ln=function(){var b=0;return function(){return b++,b.toString(16)}}();function Qt(b,k){return W(b)||typeof b=="number"?t.__assign({type:b},k):b}function er(b,k){if(!W(b)&&"$$type"in b&&b.$$type==="scxml")return b;var F=Qt(b);return t.__assign({name:F.type,data:F,$$type:"scxml",type:"external"},k)}function tr(b,k){var F=C(k).map(function(N){return typeof N=="undefined"||typeof N=="string"||pe(N)?{target:N,event:b}:t.__assign(t.__assign({},N),{event:b})});return F}function Pt(b){if(!(b===void 0||b===r.TARGETLESS_KEY))return S(b)}function P(b,k,F){if(!n.IS_PRODUCTION){var N=b.stack?" Stacktrace was '".concat(b.stack,"'"):"";if(b===k)console.error("Missing onError handler for invocation '".concat(F,"', error was '").concat(b,"'.").concat(N));else{var z=k.stack?" Stacktrace was '".concat(k.stack,"'"):"";console.error("Missing onError handler and/or unhandled exception/promise rejection for invocation '".concat(F,"'. ")+"Original error: '".concat(b,"'. ").concat(N," Current error is '").concat(k,"'.").concat(z))}}}function Se(b,k,F,N,z){var j=b.options.guards,Z={state:z,cond:k,_event:N};if(k.type===r.DEFAULT_GUARD_TYPE)return((j==null?void 0:j[k.name])||k.predicate)(F,N.data,Z);var H=j[k.type];if(!H)throw new Error("Guard '".concat(k.type,"' is not implemented on machine '").concat(b.id,"'."));return H(F,N.data,Z)}function rr(b){return typeof b=="string"?{type:b}:b}function cn(b,k,F){if(typeof b=="object")return b;var N=function(){};return{next:b,error:k||N,complete:F||N}}function nr(b,k){return"".concat(b,":invocation[").concat(k,"]")}e.createInvokeId=nr,e.evaluateGuard=Se,e.flatten=y,e.getEventType=u,e.interopSymbols=Ze,e.isActor=Fe,e.isArray=O,e.isBehavior=E,e.isBuiltInEvent=x,e.isFunction=L,e.isMachine=pe,e.isObservable=ve,e.isPromiseLike=A,e.isStateLike=d,e.isString=W,e.keys=i,e.mapContext=w,e.mapFilterValues=m,e.mapValues=f,e.matchesState=s,e.nestedPath=h,e.normalizeTarget=Pt,e.partition=I,e.path=g,e.pathToStateValue=v,e.reportUnhandledExceptionOnInvocation=P,e.symbolObservable=Ye,e.toArray=S,e.toArrayStrict=C,e.toEventObject=Qt,e.toGuard=be,e.toInvokeSource=rr,e.toObserver=cn,e.toSCXMLEvent=er,e.toStatePath=l,e.toStatePaths=p,e.toStateValue=c,e.toTransitionConfigArray=tr,e.uniqueId=ln,e.updateContext=U,e.updateHistoryStates=T,e.updateHistoryValue=B})(Ii);var Zn={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.Start="xstate.start",t.Stop="xstate.stop",t.Raise="xstate.raise",t.Send="xstate.send",t.Cancel="xstate.cancel",t.NullEvent="",t.Assign="xstate.assign",t.After="xstate.after",t.DoneState="done.state",t.DoneInvoke="done.invoke",t.Log="xstate.log",t.Init="xstate.init",t.Invoke="xstate.invoke",t.ErrorExecution="error.execution",t.ErrorCommunication="error.communication",t.ErrorPlatform="error.platform",t.ErrorCustom="xstate.error",t.Update="xstate.update",t.Pure="xstate.pure",t.Choose="xstate.choose"}(e.ActionTypes||(e.ActionTypes={})),function(t){t.Parent="#_parent",t.Internal="#_internal"}(e.SpecialTargets||(e.SpecialTargets={}))})(Zn);var fe={};Object.defineProperty(fe,"__esModule",{value:!0});var me=Zn,m0=me.ActionTypes.Start,h0=me.ActionTypes.Stop,g0=me.ActionTypes.Raise,y0=me.ActionTypes.Send,b0=me.ActionTypes.Cancel,C0=me.ActionTypes.NullEvent,S0=me.ActionTypes.Assign,w0=me.ActionTypes.After,_0=me.ActionTypes.DoneState,x0=me.ActionTypes.Log,E0=me.ActionTypes.Init,A0=me.ActionTypes.Invoke,I0=me.ActionTypes.ErrorExecution,$0=me.ActionTypes.ErrorPlatform,T0=me.ActionTypes.ErrorCustom,P0=me.ActionTypes.Update,k0=me.ActionTypes.Choose,N0=me.ActionTypes.Pure;fe.after=w0;fe.assign=S0;fe.cancel=b0;fe.choose=k0;fe.doneState=_0;fe.error=T0;fe.errorExecution=I0;fe.errorPlatform=$0;fe.init=E0;fe.invoke=A0;fe.log=x0;fe.nullEvent=C0;fe.pure=N0;fe.raise=g0;fe.send=y0;fe.start=m0;fe.stop=h0;fe.update=P0;Object.defineProperty(J,"__esModule",{value:!0});var re=Yn,B0=Dr,Y=Ii,Te=Zn,ge=fe,F0=Y.toSCXMLEvent({type:ge.init});function Xn(e,t){return t&&t[e]||void 0}function Or(e,t){var r;if(Y.isString(e)||typeof e=="number"){var n=Xn(e,t);Y.isFunction(n)?r={type:e,exec:n}:n?r=n:r={type:e,exec:void 0}}else if(Y.isFunction(e))r={type:e.name||e.toString(),exec:e};else{var n=Xn(e.type,t);if(Y.isFunction(n))r=re.__assign(re.__assign({},e),{exec:n});else if(n){var o=n.type||e.type;r=re.__assign(re.__assign(re.__assign({},n),e),{type:o})}else r=e}return r}var Jn=function(e,t){if(!e)return[];var r=Y.isArray(e)?e:[e];return r.map(function(n){return Or(n,t)})};function Qn(e){var t=Or(e);return re.__assign(re.__assign({id:Y.isString(e)?e:t.id},t),{type:t.type})}function R0(e){return Y.isString(e)?{type:ge.raise,event:e}:_t(e,{to:Te.SpecialTargets.Internal})}function $i(e){return{type:ge.raise,_event:Y.toSCXMLEvent(e.event)}}function _t(e,t){return{to:t?t.to:void 0,type:ge.send,event:Y.isFunction(e)?e:Y.toEventObject(e),delay:t?t.delay:void 0,id:t&&t.id!==void 0?t.id:Y.isFunction(e)?e.name:Y.getEventType(e)}}function Ti(e,t,r,n){var o={_event:r},i=Y.toSCXMLEvent(Y.isFunction(e.event)?e.event(t,r.data,o):e.event),s;if(Y.isString(e.delay)){var u=n&&n[e.delay];s=Y.isFunction(u)?u(t,r.data,o):u}else s=Y.isFunction(e.delay)?e.delay(t,r.data,o):e.delay;var l=Y.isFunction(e.to)?e.to(t,r.data,o):e.to;return re.__assign(re.__assign({},e),{to:l,_event:i,event:i.data,delay:s})}function ea(e,t){return _t(e,re.__assign(re.__assign({},t),{to:Te.SpecialTargets.Parent}))}function D0(e,t,r){return _t(t,re.__assign(re.__assign({},r),{to:e}))}function O0(){return ea(ge.update)}function U0(e,t){return _t(e,re.__assign(re.__assign({},t),{to:function(r,n,o){var i=o._event;return i.origin}}))}var V0=function(e,t){return{context:e,event:t}};function M0(e,t){return e===void 0&&(e=V0),{type:ge.log,label:t,expr:e}}var Pi=function(e,t,r){return re.__assign(re.__assign({},e),{value:Y.isString(e.expr)?e.expr:e.expr(t,r.data,{_event:r})})},L0=function(e){return{type:ge.cancel,sendId:e}};function z0(e){var t=Qn(e);return{type:Te.ActionTypes.Start,activity:t,exec:void 0}}function j0(e){var t=Y.isFunction(e)?e:Qn(e);return{type:Te.ActionTypes.Stop,activity:t,exec:void 0}}function ki(e,t,r){var n=Y.isFunction(e.activity)?e.activity(t,r.data):e.activity,o=typeof n=="string"?{id:n}:n,i={type:Te.ActionTypes.Stop,activity:o};return i}var G0=function(e){return{type:ge.assign,assignment:e}};function W0(e,t){var r=t?"#".concat(t):"";return"".concat(Te.ActionTypes.After,"(").concat(e,")").concat(r)}function H0(e,t){var r="".concat(Te.ActionTypes.DoneState,".").concat(e),n={type:r,data:t};return n.toString=function(){return r},n}function K0(e,t){var r="".concat(Te.ActionTypes.DoneInvoke,".").concat(e),n={type:r,data:t};return n.toString=function(){return r},n}function q0(e,t){var r="".concat(Te.ActionTypes.ErrorPlatform,".").concat(e),n={type:r,data:t};return n.toString=function(){return r},n}function Y0(e){return{type:Te.ActionTypes.Pure,get:e}}function Z0(e,t){return _t(function(r,n){return n},re.__assign(re.__assign({},t),{to:e}))}function X0(e,t){return ea(function(r,n,o){return{type:ge.error,data:Y.isFunction(e)?e(r,n,o):e}},re.__assign(re.__assign({},t),{to:Te.SpecialTargets.Parent}))}function J0(e){return{type:Te.ActionTypes.Choose,conds:e}}function ta(e,t,r,n,o,i){i===void 0&&(i=!1);var s=re.__read(i?[[],o]:Y.partition(o,function(f){return f.type===ge.assign}),2),u=s[0],l=s[1],d=u.length?Y.updateContext(r,n,u,t):r,c=i?[r]:void 0,v=Y.flatten(l.map(function(f){var m;switch(f.type){case ge.raise:return $i(f);case ge.send:var g=Ti(f,d,n,e.options.delays);return B0.IS_PRODUCTION||Y.warn(!Y.isString(f.delay)||typeof g.delay=="number","No delay reference for delay expression '".concat(f.delay,"' was found on machine '").concat(e.id,"'")),g;case ge.log:return Pi(f,d,n);case ge.choose:{var h=f,p=(m=h.conds.find(function(B){var U=Y.toGuard(B.cond,e.options.guards);return!U||Y.evaluateGuard(e,U,d,n,t)}))===null||m===void 0?void 0:m.actions;if(!p)return[];var y=re.__read(ta(e,t,d,n,Jn(Y.toArray(p),e.options.actions),i),2),C=y[0],S=y[1];return d=S,c==null||c.push(d),C}case ge.pure:{var p=f.get(d,n.data);if(!p)return[];var w=re.__read(ta(e,t,d,n,Jn(Y.toArray(p),e.options.actions),i),2),x=w[0],A=w[1];return d=A,c==null||c.push(d),x}case ge.stop:return ki(f,d,n);case ge.assign:{d=Y.updateContext(d,n,[f],t),c==null||c.push(d);break}default:var E=Or(f,e.options.actions),I=E.exec;if(I&&c){var T=c.length-1;E=re.__assign(re.__assign({},E),{exec:function(B){for(var U=[],O=1;O<arguments.length;O++)U[O-1]=arguments[O];I.apply(void 0,re.__spreadArray([c[T]],re.__read(U),!1))}})}return E}}).filter(function(f){return!!f}));return[v,d]}J.after=W0;var ie=J.assign=G0;J.cancel=L0;J.choose=J0;J.done=H0;J.doneInvoke=K0;J.error=q0;J.escalate=X0;J.forwardTo=Z0;J.getActionFunction=Xn;J.initEvent=F0;J.log=M0;J.pure=Y0;J.raise=R0;J.resolveActions=ta;J.resolveLog=Pi;J.resolveRaise=$i;J.resolveSend=Ti;J.resolveStop=ki;J.respond=U0;J.send=_t;J.sendParent=ea;J.sendTo=D0;J.sendUpdate=O0;J.start=z0;var Q0=J.stop=j0;J.toActionObject=Or;J.toActionObjects=Jn;J.toActivityDefinition=Qn;var ey=Ne,ty=mn,ry=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ny=/^\w*$/;function ay(e,t){if(ey(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||ty(e)?!0:ny.test(e)||!ry.test(e)||t!=null&&e in Object(t)}var ra=ay,Ni=bn,oy="Expected a function";function na(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(oy);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var s=e.apply(this,n);return r.cache=i.set(o,s)||i,s};return r.cache=new(na.Cache||Ni),r}na.Cache=Ni;var iy=na,sy=iy,uy=500;function ly(e){var t=sy(e,function(n){return r.size===uy&&r.clear(),n}),r=t.cache;return t}var cy=ly,dy=cy,fy=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,vy=/\\(\\)?/g,py=dy(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(fy,function(r,n,o,i){t.push(o?i.replace(vy,"$1"):n||r)}),t}),my=py,Bi=Nt,hy=vo,gy=Ne,yy=mn,by=1/0,Fi=Bi?Bi.prototype:void 0,Ri=Fi?Fi.toString:void 0;function Di(e){if(typeof e=="string")return e;if(gy(e))return hy(e,Di)+"";if(yy(e))return Ri?Ri.call(e):"";var t=e+"";return t=="0"&&1/e==-by?"-0":t}var Cy=Di,Sy=Cy;function wy(e){return e==null?"":Sy(e)}var aa=wy,_y=Ne,xy=ra,Ey=my,Ay=aa;function Iy(e,t){return _y(e)?e:xy(e,t)?[e]:Ey(Ay(e))}var Ur=Iy,$y=mn,Ty=1/0;function Py(e){if(typeof e=="string"||$y(e))return e;var t=e+"";return t=="0"&&1/e==-Ty?"-0":t}var qt=Py,ky=Ur,Ny=qt;function By(e,t){t=ky(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[Ny(t[r++])];return r&&r==n?e:void 0}var oa=By,Fy=oa;function Ry(e,t,r){var n=e==null?void 0:Fy(e,t);return n===void 0?r:n}var Pe=Ry,Dy=Co,Oy=Vt,Uy=sr,Vy=Ne,My=Ft,Ly=rt.exports,zy=cr,jy=lr,Gy="[object Map]",Wy="[object Set]",Hy=Object.prototype,Ky=Hy.hasOwnProperty;function qy(e){if(e==null)return!0;if(My(e)&&(Vy(e)||typeof e=="string"||typeof e.splice=="function"||Ly(e)||jy(e)||Uy(e)))return!e.length;var t=Oy(e);if(t==Gy||t==Wy)return!e.size;if(zy(e))return!Dy(e).length;for(var r in e)if(Ky.call(e,r))return!1;return!0}var ia=qy,Yy=Cn,Zy=Dt;function Xy(e,t,r){(r!==void 0&&!Zy(e[t],r)||r===void 0&&!(t in e))&&Yy(e,t,r)}var Oi=Xy;function Jy(e){return function(t,r,n){for(var o=-1,i=Object(t),s=n(t),u=s.length;u--;){var l=s[e?u:++o];if(r(i[l],l,i)===!1)break}return t}}var Qy=Jy,e1=Qy,t1=e1(),r1=t1,n1=Ft,a1=He;function o1(e){return a1(e)&&n1(e)}var i1=o1,s1=ot,u1=_n,l1=He,c1="[object Object]",d1=Function.prototype,f1=Object.prototype,Ui=d1.toString,v1=f1.hasOwnProperty,p1=Ui.call(Object);function m1(e){if(!l1(e)||s1(e)!=c1)return!1;var t=u1(e);if(t===null)return!0;var r=v1.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&Ui.call(r)==p1}var h1=m1;function g1(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var Vi=g1,y1=Ot,b1=Ut;function C1(e){return y1(e,b1(e))}var S1=C1,Mi=Oi,w1=gr.exports,_1=Ho,x1=Io,E1=qo,Li=sr,zi=Ne,A1=i1,I1=rt.exports,$1=vn,T1=Me,P1=h1,k1=lr,ji=Vi,N1=S1;function B1(e,t,r,n,o,i,s){var u=ji(e,r),l=ji(t,r),d=s.get(l);if(d){Mi(e,r,d);return}var c=i?i(u,l,r+"",e,t,s):void 0,v=c===void 0;if(v){var f=zi(l),m=!f&&I1(l),g=!f&&!m&&k1(l);c=l,f||m||g?zi(u)?c=u:A1(u)?c=x1(u):m?(v=!1,c=w1(l,!0)):g?(v=!1,c=_1(l,!0)):c=[]:P1(l)||Li(l)?(c=u,Li(u)?c=N1(u):(!T1(u)||$1(u))&&(c=E1(l))):v=!1}v&&(s.set(l,c),o(c,l,n,i,s),s.delete(l)),Mi(e,r,c)}var F1=B1,R1=hr,D1=Oi,O1=r1,U1=F1,V1=Me,M1=Ut,L1=Vi;function Gi(e,t,r,n,o){e!==t&&O1(t,function(i,s){if(o||(o=new R1),V1(i))U1(e,t,s,r,Gi,n,o);else{var u=n?n(L1(e,s),i,s+"",e,t,o):void 0;u===void 0&&(u=i),D1(e,s,u)}},M1)}var z1=Gi;function j1(e){return e}var sa=j1;function G1(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}var W1=G1,H1=W1,Wi=Math.max;function K1(e,t,r){return t=Wi(t===void 0?e.length-1:t,0),function(){for(var n=arguments,o=-1,i=Wi(n.length-t,0),s=Array(i);++o<i;)s[o]=n[t+o];o=-1;for(var u=Array(t+1);++o<t;)u[o]=n[o];return u[t]=r(s),H1(e,this,u)}}var q1=K1;function Y1(e){return function(){return e}}var Z1=Y1,X1=Z1,Hi=Eo,J1=sa,Q1=Hi?function(e,t){return Hi(e,"toString",{configurable:!0,enumerable:!1,value:X1(t),writable:!0})}:J1,eb=Q1,tb=800,rb=16,nb=Date.now;function ab(e){var t=0,r=0;return function(){var n=nb(),o=rb-(n-r);if(r=n,o>0){if(++t>=tb)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var ob=ab,ib=eb,sb=ob,ub=sb(ib),lb=ub,cb=sa,db=q1,fb=lb;function vb(e,t){return fb(db(e,t,cb),e+"")}var pb=vb,mb=Dt,hb=Ft,gb=ur,yb=Me;function bb(e,t,r){if(!yb(r))return!1;var n=typeof t;return(n=="number"?hb(r)&&gb(t,r.length):n=="string"&&t in r)?mb(r[t],e):!1}var Cb=bb,Sb=pb,wb=Cb;function _b(e){return Sb(function(t,r){var n=-1,o=r.length,i=o>1?r[o-1]:void 0,s=o>2?r[2]:void 0;for(i=e.length>3&&typeof i=="function"?(o--,i):void 0,s&&wb(r[0],r[1],s)&&(i=o<3?void 0:i,o=1),t=Object(t);++n<o;){var u=r[n];u&&e(t,u,n,i)}return t})}var xb=_b,Eb=z1,Ab=xb,Ib=Ab(function(e,t,r){Eb(e,t,r)}),$b=Ib,Tb="__lodash_hash_undefined__";function Pb(e){return this.__data__.set(e,Tb),this}var kb=Pb;function Nb(e){return this.__data__.has(e)}var Bb=Nb,Fb=bn,Rb=kb,Db=Bb;function Vr(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new Fb;++t<r;)this.add(e[t])}Vr.prototype.add=Vr.prototype.push=Rb;Vr.prototype.has=Db;var Ob=Vr;function Ub(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}var Vb=Ub;function Mb(e,t){return e.has(t)}var Lb=Mb,zb=Ob,jb=Vb,Gb=Lb,Wb=1,Hb=2;function Kb(e,t,r,n,o,i){var s=r&Wb,u=e.length,l=t.length;if(u!=l&&!(s&&l>u))return!1;var d=i.get(e),c=i.get(t);if(d&&c)return d==t&&c==e;var v=-1,f=!0,m=r&Hb?new zb:void 0;for(i.set(e,t),i.set(t,e);++v<u;){var g=e[v],h=t[v];if(n)var p=s?n(h,g,v,t,e,i):n(g,h,v,e,t,i);if(p!==void 0){if(p)continue;f=!1;break}if(m){if(!jb(t,function(y,C){if(!Gb(m,C)&&(g===y||o(g,y,r,n,i)))return m.push(C)})){f=!1;break}}else if(!(g===h||o(g,h,r,n,i))){f=!1;break}}return i.delete(e),i.delete(t),f}var Ki=Kb;function qb(e){var t=-1,r=Array(e.size);return e.forEach(function(n,o){r[++t]=[o,n]}),r}var Yb=qb;function Zb(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var Xb=Zb,qi=Nt,Yi=Lo,Jb=Dt,Qb=Ki,eC=Yb,tC=Xb,rC=1,nC=2,aC="[object Boolean]",oC="[object Date]",iC="[object Error]",sC="[object Map]",uC="[object Number]",lC="[object RegExp]",cC="[object Set]",dC="[object String]",fC="[object Symbol]",vC="[object ArrayBuffer]",pC="[object DataView]",Zi=qi?qi.prototype:void 0,ua=Zi?Zi.valueOf:void 0;function mC(e,t,r,n,o,i,s){switch(r){case pC:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case vC:return!(e.byteLength!=t.byteLength||!i(new Yi(e),new Yi(t)));case aC:case oC:case uC:return Jb(+e,+t);case iC:return e.name==t.name&&e.message==t.message;case lC:case dC:return e==t+"";case sC:var u=eC;case cC:var l=n&rC;if(u||(u=tC),e.size!=t.size&&!l)return!1;var d=s.get(e);if(d)return d==t;n|=nC,s.set(e,t);var c=Qb(u(e),u(t),n,o,i,s);return s.delete(e),c;case fC:if(ua)return ua.call(e)==ua.call(t)}return!1}var hC=mC,Xi=Bo,gC=1,yC=Object.prototype,bC=yC.hasOwnProperty;function CC(e,t,r,n,o,i){var s=r&gC,u=Xi(e),l=u.length,d=Xi(t),c=d.length;if(l!=c&&!s)return!1;for(var v=l;v--;){var f=u[v];if(!(s?f in t:bC.call(t,f)))return!1}var m=i.get(e),g=i.get(t);if(m&&g)return m==t&&g==e;var h=!0;i.set(e,t),i.set(t,e);for(var p=s;++v<l;){f=u[v];var y=e[f],C=t[f];if(n)var S=s?n(C,y,f,t,e,i):n(y,C,f,e,t,i);if(!(S===void 0?y===C||o(y,C,r,n,i):S)){h=!1;break}p||(p=f=="constructor")}if(h&&!p){var w=e.constructor,x=t.constructor;w!=x&&"constructor"in e&&"constructor"in t&&!(typeof w=="function"&&w instanceof w&&typeof x=="function"&&x instanceof x)&&(h=!1)}return i.delete(e),i.delete(t),h}var SC=CC,la=hr,wC=Ki,_C=hC,xC=SC,Ji=Vt,Qi=Ne,es=rt.exports,EC=lr,AC=1,ts="[object Arguments]",rs="[object Array]",Mr="[object Object]",IC=Object.prototype,ns=IC.hasOwnProperty;function $C(e,t,r,n,o,i){var s=Qi(e),u=Qi(t),l=s?rs:Ji(e),d=u?rs:Ji(t);l=l==ts?Mr:l,d=d==ts?Mr:d;var c=l==Mr,v=d==Mr,f=l==d;if(f&&es(e)){if(!es(t))return!1;s=!0,c=!1}if(f&&!c)return i||(i=new la),s||EC(e)?wC(e,t,r,n,o,i):_C(e,t,l,r,n,o,i);if(!(r&AC)){var m=c&&ns.call(e,"__wrapped__"),g=v&&ns.call(t,"__wrapped__");if(m||g){var h=m?e.value():e,p=g?t.value():t;return i||(i=new la),o(h,p,r,n,i)}}return f?(i||(i=new la),xC(e,t,r,n,o,i)):!1}var TC=$C,PC=TC,as=He;function os(e,t,r,n,o){return e===t?!0:e==null||t==null||!as(e)&&!as(t)?e!==e&&t!==t:PC(e,t,r,n,os,o)}var is=os,kC=hr,NC=is,BC=1,FC=2;function RC(e,t,r,n){var o=r.length,i=o,s=!n;if(e==null)return!i;for(e=Object(e);o--;){var u=r[o];if(s&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++o<i;){u=r[o];var l=u[0],d=e[l],c=u[1];if(s&&u[2]){if(d===void 0&&!(l in e))return!1}else{var v=new kC;if(n)var f=n(d,c,l,e,t,v);if(!(f===void 0?NC(c,d,BC|FC,n,v):f))return!1}}return!0}var DC=RC,OC=Me;function UC(e){return e===e&&!OC(e)}var ss=UC,VC=ss,MC=dr;function LC(e){for(var t=MC(e),r=t.length;r--;){var n=t[r],o=e[n];t[r]=[n,o,VC(o)]}return t}var zC=LC;function jC(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}var us=jC,GC=DC,WC=zC,HC=us;function KC(e){var t=WC(e);return t.length==1&&t[0][2]?HC(t[0][0],t[0][1]):function(r){return r===e||GC(r,e,t)}}var qC=KC;function YC(e,t){return e!=null&&t in Object(e)}var ZC=YC,XC=Ur,JC=sr,QC=Ne,eS=ur,tS=pn,rS=qt;function nS(e,t,r){t=XC(t,e);for(var n=-1,o=t.length,i=!1;++n<o;){var s=rS(t[n]);if(!(i=e!=null&&r(e,s)))break;e=e[s]}return i||++n!=o?i:(o=e==null?0:e.length,!!o&&tS(o)&&eS(s,o)&&(QC(e)||JC(e)))}var aS=nS,oS=ZC,iS=aS;function sS(e,t){return e!=null&&iS(e,t,oS)}var uS=sS,lS=is,cS=Pe,dS=uS,fS=ra,vS=ss,pS=us,mS=qt,hS=1,gS=2;function yS(e,t){return fS(e)&&vS(t)?pS(mS(e),t):function(r){var n=cS(r,e);return n===void 0&&n===t?dS(r,e):lS(t,n,hS|gS)}}var bS=yS;function CS(e){return function(t){return t==null?void 0:t[e]}}var SS=CS,wS=oa;function _S(e){return function(t){return wS(t,e)}}var xS=_S,ES=SS,AS=xS,IS=ra,$S=qt;function TS(e){return IS(e)?ES($S(e)):AS(e)}var PS=TS,kS=qC,NS=bS,BS=sa,FS=Ne,RS=PS;function DS(e){return typeof e=="function"?e:e==null?BS:typeof e=="object"?FS(e)?NS(e[0],e[1]):kS(e):RS(e)}var OS=DS,US=Sn,VS=Ur,MS=ur,ls=Me,LS=qt;function zS(e,t,r,n){if(!ls(e))return e;t=VS(t,e);for(var o=-1,i=t.length,s=i-1,u=e;u!=null&&++o<i;){var l=LS(t[o]),d=r;if(l==="__proto__"||l==="constructor"||l==="prototype")return e;if(o!=s){var c=u[l];d=n?n(c,l,u):void 0,d===void 0&&(d=ls(c)?c:MS(t[o+1])?[]:{})}US(u,l,d),u=u[l]}return e}var jS=zS,GS=oa,WS=jS,HS=Ur;function KS(e,t,r){for(var n=-1,o=t.length,i={};++n<o;){var s=t[n],u=GS(e,s);r(u,s)&&WS(i,HS(s,e),u)}return i}var qS=KS,YS=vo,ZS=OS,XS=qS,JS=Fo;function QS(e,t){if(e==null)return{};var r=YS(JS(e),function(n){return[n]});return t=ZS(t),XS(e,r,function(n,o){return t(n,o[0])})}var ew=QS;/*! *****************************************************************************
31
31
  Copyright (c) Microsoft Corporation.
32
32
 
33
33
  Permission to use, copy, modify, and/or distribute this software for any
@@ -40,7 +40,7 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
40
40
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
41
41
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
42
42
  PERFORMANCE OF THIS SOFTWARE.
43
- ***************************************************************************** */var nt=function(){return nt=Object.assign||function(t){for(var r,a=1,o=arguments.length;a<o;a++){r=arguments[a];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},nt.apply(this,arguments)};/*! *****************************************************************************
43
+ ***************************************************************************** */var qe=function(){return qe=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},qe.apply(this,arguments)};/*! *****************************************************************************
44
44
  Copyright (c) Microsoft Corporation.
45
45
 
46
46
  Permission to use, copy, modify, and/or distribute this software for any
@@ -53,7 +53,7 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
53
53
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
54
54
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
55
55
  PERFORMANCE OF THIS SOFTWARE.
56
- ***************************************************************************** */var oa=function(){return oa=Object.assign||function(t){for(var r,a=1,o=arguments.length;a<o;a++){r=arguments[a];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},oa.apply(this,arguments)};function IC(e){return e.toLowerCase()}var kC=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],PC=/[^A-Z0-9]+/gi;function NC(e,t){t===void 0&&(t={});for(var r=t.splitRegexp,a=r===void 0?kC:r,o=t.stripRegexp,i=o===void 0?PC:o,s=t.transform,l=s===void 0?IC:s,u=t.delimiter,d=u===void 0?" ":u,c=Gi(Gi(e,a,"$1\0$2"),i,"\0"),v=0,f=c.length;c.charAt(v)==="\0";)v++;for(;c.charAt(f-1)==="\0";)f--;return c.slice(v,f).split("\0").map(l).join(d)}function Gi(e,t,r){return t instanceof RegExp?e.replace(t,r):t.reduce(function(a,o){return a.replace(o,r)},e)}function ia(e,t){var r=e.charAt(0),a=e.substr(1).toLowerCase();return t>0&&r>="0"&&r<="9"?"_"+r+a:""+r.toUpperCase()+a}function Hi(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}function Wi(e,t){return t===void 0&&(t={}),NC(e,oa({delimiter:"",transform:ia},t))}function Ki(e,t){return t===0?e.toLowerCase():ia(e,t)}function TC(e,t){return t===0?e.toLowerCase():Hi(e)}function $C(e,t){return t===void 0&&(t={}),Wi(e,nt({transform:Ki},t))}/*! *****************************************************************************
56
+ ***************************************************************************** */var ca=function(){return ca=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},ca.apply(this,arguments)};function tw(e){return e.toLowerCase()}var rw=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],nw=/[^A-Z0-9]+/gi;function aw(e,t){t===void 0&&(t={});for(var r=t.splitRegexp,n=r===void 0?rw:r,o=t.stripRegexp,i=o===void 0?nw:o,s=t.transform,u=s===void 0?tw:s,l=t.delimiter,d=l===void 0?" ":l,c=cs(cs(e,n,"$1\0$2"),i,"\0"),v=0,f=c.length;c.charAt(v)==="\0";)v++;for(;c.charAt(f-1)==="\0";)f--;return c.slice(v,f).split("\0").map(u).join(d)}function cs(e,t,r){return t instanceof RegExp?e.replace(t,r):t.reduce(function(n,o){return n.replace(o,r)},e)}function da(e,t){var r=e.charAt(0),n=e.substr(1).toLowerCase();return t>0&&r>="0"&&r<="9"?"_"+r+n:""+r.toUpperCase()+n}function ds(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}function fs(e,t){return t===void 0&&(t={}),aw(e,ca({delimiter:"",transform:da},t))}function vs(e,t){return t===0?e.toLowerCase():da(e,t)}function ow(e,t){return t===0?e.toLowerCase():ds(e)}function iw(e,t){return t===void 0&&(t={}),fs(e,qe({transform:vs},t))}/*! *****************************************************************************
57
57
  Copyright (c) Microsoft Corporation.
58
58
 
59
59
  Permission to use, copy, modify, and/or distribute this software for any
@@ -66,7 +66,7 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
66
66
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
67
67
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
68
68
  PERFORMANCE OF THIS SOFTWARE.
69
- ***************************************************************************** */var sa=function(){return sa=Object.assign||function(t){for(var r,a=1,o=arguments.length;a<o;a++){r=arguments[a];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},sa.apply(this,arguments)};function BC(e){return e.toLowerCase()}var FC=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],DC=/[^A-Z0-9]+/gi;function RC(e,t){t===void 0&&(t={});for(var r=t.splitRegexp,a=r===void 0?FC:r,o=t.stripRegexp,i=o===void 0?DC:o,s=t.transform,l=s===void 0?BC:s,u=t.delimiter,d=u===void 0?" ":u,c=qi(qi(e,a,"$1\0$2"),i,"\0"),v=0,f=c.length;c.charAt(v)==="\0";)v++;for(;c.charAt(f-1)==="\0";)f--;return c.slice(v,f).split("\0").map(l).join(d)}function qi(e,t,r){return t instanceof RegExp?e.replace(t,r):t.reduce(function(a,o){return a.replace(o,r)},e)}function OC(e){return e.charAt(0).toUpperCase()+e.substr(1)}function Yi(e){return OC(e.toLowerCase())}function Zi(e,t){return t===void 0&&(t={}),RC(e,sa({delimiter:" ",transform:Yi},t))}function VC(e){return e.toLowerCase()}var UC=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],MC=/[^A-Z0-9]+/gi;function la(e,t){t===void 0&&(t={});for(var r=t.splitRegexp,a=r===void 0?UC:r,o=t.stripRegexp,i=o===void 0?MC:o,s=t.transform,l=s===void 0?VC:s,u=t.delimiter,d=u===void 0?" ":u,c=Xi(Xi(e,a,"$1\0$2"),i,"\0"),v=0,f=c.length;c.charAt(v)==="\0";)v++;for(;c.charAt(f-1)==="\0";)f--;return c.slice(v,f).split("\0").map(l).join(d)}function Xi(e,t,r){return t instanceof RegExp?e.replace(t,r):t.reduce(function(a,o){return a.replace(o,r)},e)}function zC(e){return e.toUpperCase()}function LC(e,t){return t===void 0&&(t={}),la(e,nt({delimiter:"_",transform:zC},t))}/*! *****************************************************************************
69
+ ***************************************************************************** */var fa=function(){return fa=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},fa.apply(this,arguments)};function sw(e){return e.toLowerCase()}var uw=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],lw=/[^A-Z0-9]+/gi;function cw(e,t){t===void 0&&(t={});for(var r=t.splitRegexp,n=r===void 0?uw:r,o=t.stripRegexp,i=o===void 0?lw:o,s=t.transform,u=s===void 0?sw:s,l=t.delimiter,d=l===void 0?" ":l,c=ps(ps(e,n,"$1\0$2"),i,"\0"),v=0,f=c.length;c.charAt(v)==="\0";)v++;for(;c.charAt(f-1)==="\0";)f--;return c.slice(v,f).split("\0").map(u).join(d)}function ps(e,t,r){return t instanceof RegExp?e.replace(t,r):t.reduce(function(n,o){return n.replace(o,r)},e)}function dw(e){return e.charAt(0).toUpperCase()+e.substr(1)}function ms(e){return dw(e.toLowerCase())}function hs(e,t){return t===void 0&&(t={}),cw(e,fa({delimiter:" ",transform:ms},t))}function fw(e){return e.toLowerCase()}var vw=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],pw=/[^A-Z0-9]+/gi;function va(e,t){t===void 0&&(t={});for(var r=t.splitRegexp,n=r===void 0?vw:r,o=t.stripRegexp,i=o===void 0?pw:o,s=t.transform,u=s===void 0?fw:s,l=t.delimiter,d=l===void 0?" ":l,c=gs(gs(e,n,"$1\0$2"),i,"\0"),v=0,f=c.length;c.charAt(v)==="\0";)v++;for(;c.charAt(f-1)==="\0";)f--;return c.slice(v,f).split("\0").map(u).join(d)}function gs(e,t,r){return t instanceof RegExp?e.replace(t,r):t.reduce(function(n,o){return n.replace(o,r)},e)}function mw(e){return e.toUpperCase()}function hw(e,t){return t===void 0&&(t={}),va(e,qe({delimiter:"_",transform:mw},t))}/*! *****************************************************************************
70
70
  Copyright (c) Microsoft Corporation.
71
71
 
72
72
  Permission to use, copy, modify, and/or distribute this software for any
@@ -79,46 +79,46 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
79
79
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
80
80
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
81
81
  PERFORMANCE OF THIS SOFTWARE.
82
- ***************************************************************************** */var ua=function(){return ua=Object.assign||function(t){for(var r,a=1,o=arguments.length;a<o;a++){r=arguments[a];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},ua.apply(this,arguments)};function jC(e){return e.toLowerCase()}var GC=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],HC=/[^A-Z0-9]+/gi;function WC(e,t){t===void 0&&(t={});for(var r=t.splitRegexp,a=r===void 0?GC:r,o=t.stripRegexp,i=o===void 0?HC:o,s=t.transform,l=s===void 0?jC:s,u=t.delimiter,d=u===void 0?" ":u,c=Ji(Ji(e,a,"$1\0$2"),i,"\0"),v=0,f=c.length;c.charAt(v)==="\0";)v++;for(;c.charAt(f-1)==="\0";)f--;return c.slice(v,f).split("\0").map(l).join(d)}function Ji(e,t,r){return t instanceof RegExp?e.replace(t,r):t.reduce(function(a,o){return a.replace(o,r)},e)}function Ur(e,t){return t===void 0&&(t={}),WC(e,ua({delimiter:"."},t))}function KC(e,t){return t===void 0&&(t={}),Zi(e,nt({delimiter:"-"},t))}function qC(e,t){return t===void 0&&(t={}),Ur(e,nt({delimiter:"-"},t))}function YC(e,t){return t===void 0&&(t={}),Ur(e,nt({delimiter:"/"},t))}function ZC(e){return e.charAt(0).toUpperCase()+e.substr(1)}function Qi(e,t){var r=e.toLowerCase();return t===0?ZC(r):r}function XC(e,t){return t===void 0&&(t={}),la(e,nt({delimiter:" ",transform:Qi},t))}function JC(e,t){return t===void 0&&(t={}),Ur(e,nt({delimiter:"_"},t))}var QC=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",camelCaseTransform:Ki,camelCaseTransformMerge:TC,camelCase:$C,capitalCaseTransform:Yi,capitalCase:Zi,constantCase:LC,dotCase:Ur,headerCase:KC,noCase:la,paramCase:qC,pascalCaseTransform:ia,pascalCaseTransformMerge:Hi,pascalCase:Wi,pathCase:YC,sentenceCaseTransform:Qi,sentenceCase:XC,snakeCase:JC}),ew=Nl(QC);const Mr=ew,tw=function(e,t,r){return Object.keys(e||{}).reduce((a,o)=>{let i=e[o];return t(a,i,o,e)},r)},ca=function(e,t){Object.keys(e||{}).forEach(r=>{let a=e[r];t(a,r)})},rw=function(e){return Object.assign(new e.constructor,e)},zr=function(e){if(e==null||typeof e!="object")return e;if(e instanceof Array)return e.reduce((t,r,a)=>(t[a]=zr(r),t),[]);if(e instanceof Object)return Object.keys(e||{}).reduce((t,r)=>(t[r]=zr(e[r]),t),{})},es=function(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")},nw=function(e){return typeof e=="string"||e instanceof String},aw=function(e){return Array.isArray(e)},ow=function(e){return[Object,Array].includes((e||{}).constructor)&&!Object.entries(e||{}).length};function iw(e){if(typeof e!="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]")return!1;if(Object.getPrototypeOf(e)===null)return!0;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}const sw=function(e,t){if(typeof t!="function")throw"filter is not a function";return typeof e=="undefined"?[]:e.filter(t)},lw=function(){let e=Array.prototype.slice.call(arguments);return e.unshift({}),Object.assign(...e)},uw=function(e,...t){var r=new Set(t);for(let a=e.length-1;a>=0;a--)r.has(e[a])&&e.splice(a,1)},cw=function(e){return e?e[0].toUpperCase()+e.substr(1):""},ts=function(e,t){return es(t)?Object.keys(t).every(r=>ts(e[r],t[r])):e==t},dw=function(e){let t=zr(e);return a=>ts(a,t)},fw={transform:Mr.camelCaseTransformMerge},vw=function(e,t){return(r,a)=>e(r,Object.assign({},fw,t,a))};var rs={each:ca,forEach:ca,forIn:ca,keys:Object.keys,clone:rw,cloneDeep:zr,extend:Object.assign,isString:nw,isArray:aw,isObject:es,isPlainObject:iw,isEmpty:ow,filter:sw,reduce:tw,assign:lw,upperFirst:cw,camelCase:vw(Mr.camelCase),snakeCase:Mr.snakeCase,kebabCase:Mr.paramCase,pull:uw,matches:dw},Lr=rs;function ns(e,t,r){if(e==null)return{};var a,o,i,s,l,u,d=e[0]||{},c=1,v=e.length;for(r=r||[],typeof d!="object"&&(d={});c<v;c++)if((l=e[c])!=null){for(s in l)if(!!l.hasOwnProperty(s)&&s!=="__proto__"&&(a=d[s],i=l[s],d!==i))if(i&&(Lr.isPlainObject(i)||(o=Lr.isArray(i)))){o?(o=!1,u=a&&Lr.isArray(a)?a:[]):u=a&&Lr.isPlainObject(a)?a:{};var f=r.slice(0);f.push(s),d[s]=ns([u,i],t,f)}else i!==void 0&&(a!=null&&typeof t=="function"&&t({target:d,copy:l,path:r,key:s}),d[s]=i)}return d}var pw=ns,as=rs;function os(e,t){t=t||[];for(var r in e)e.hasOwnProperty(r)&&(as.isPlainObject(e[r])&&"value"in e[r]?t.push(e[r]):as.isPlainObject(e[r])&&os(e[r],t));return t}var is=os;function mw(e,t,r,a){var o=-1,i=e==null?0:e.length;for(a&&i&&(r=e[++o]);++o<i;)r=t(r,e[o],o,e);return r}var hw=mw;function gw(e){return function(t){return e==null?void 0:e[t]}}var yw=gw,bw=yw,Cw={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},ww=bw(Cw),Sw=ww,_w=Sw,xw=jn,Ew=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Aw="\\u0300-\\u036f",Iw="\\ufe20-\\ufe2f",kw="\\u20d0-\\u20ff",Pw=Aw+Iw+kw,Nw="["+Pw+"]",Tw=RegExp(Nw,"g");function $w(e){return e=xw(e),e&&e.replace(Ew,_w).replace(Tw,"")}var Bw=$w,Fw=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function Dw(e){return e.match(Fw)||[]}var Rw=Dw,Ow=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function Vw(e){return Ow.test(e)}var Uw=Vw,ss="\\ud800-\\udfff",Mw="\\u0300-\\u036f",zw="\\ufe20-\\ufe2f",Lw="\\u20d0-\\u20ff",jw=Mw+zw+Lw,ls="\\u2700-\\u27bf",us="a-z\\xdf-\\xf6\\xf8-\\xff",Gw="\\xac\\xb1\\xd7\\xf7",Hw="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Ww="\\u2000-\\u206f",Kw=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",cs="A-Z\\xc0-\\xd6\\xd8-\\xde",qw="\\ufe0e\\ufe0f",ds=Gw+Hw+Ww+Kw,fs="['\u2019]",vs="["+ds+"]",Yw="["+jw+"]",ps="\\d+",Zw="["+ls+"]",ms="["+us+"]",hs="[^"+ss+ds+ps+ls+us+cs+"]",Xw="\\ud83c[\\udffb-\\udfff]",Jw="(?:"+Yw+"|"+Xw+")",Qw="[^"+ss+"]",gs="(?:\\ud83c[\\udde6-\\uddff]){2}",ys="[\\ud800-\\udbff][\\udc00-\\udfff]",Ft="["+cs+"]",eS="\\u200d",bs="(?:"+ms+"|"+hs+")",tS="(?:"+Ft+"|"+hs+")",Cs="(?:"+fs+"(?:d|ll|m|re|s|t|ve))?",ws="(?:"+fs+"(?:D|LL|M|RE|S|T|VE))?",Ss=Jw+"?",_s="["+qw+"]?",rS="(?:"+eS+"(?:"+[Qw,gs,ys].join("|")+")"+_s+Ss+")*",nS="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",aS="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",oS=_s+Ss+rS,iS="(?:"+[Zw,gs,ys].join("|")+")"+oS,sS=RegExp([Ft+"?"+ms+"+"+Cs+"(?="+[vs,Ft,"$"].join("|")+")",tS+"+"+ws+"(?="+[vs,Ft+bs,"$"].join("|")+")",Ft+"?"+bs+"+"+Cs,Ft+"+"+ws,aS,nS,ps,iS].join("|"),"g");function lS(e){return e.match(sS)||[]}var uS=lS,cS=Rw,dS=Uw,fS=jn,vS=uS;function pS(e,t,r){return e=fS(e),t=r?void 0:t,t===void 0?dS(e)?vS(e):cS(e):e.match(t)||[]}var mS=pS,hS=hw,gS=Bw,yS=mS,bS="['\u2019]",CS=RegExp(bS,"g");function wS(e){return function(t){return hS(yS(gS(t).replace(CS,"")),e,"")}}var SS=wS,_S=SS,xS=_S(function(e,t,r){return e+(r?"-":"")+t.toLowerCase()}),ES=xS;const AS={opening_character:"{",closing_character:"}",separator:"."};var IS=AS;const kS=IS;function PS(e={}){const t=Object.assign({},kS,e);return new RegExp("\\"+t.opening_character+"([^"+t.closing_character+"]+)\\"+t.closing_character,"g")}var NS=PS;const TS=NS;function xs(e,t={}){const r=t instanceof RegExp?t:TS(t);if(typeof e=="string")return r.test(e);if(typeof e=="object"){let a=!1;for(const o in e)if(e.hasOwnProperty(o)){const i=e[o];if(xs(i,t)){a=!0;break}}return a}return!1}var $S=xs,BS=Object.defineProperty,FS=Object.defineProperties,DS=Object.getOwnPropertyDescriptors,jr=Object.getOwnPropertySymbols,Es=Object.prototype.hasOwnProperty,As=Object.prototype.propertyIsEnumerable,Is=(e,t,r)=>t in e?BS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ue=(e,t)=>{for(var r in t||(t={}))Es.call(t,r)&&Is(e,r,t[r]);if(jr)for(var r of jr(t))As.call(t,r)&&Is(e,r,t[r]);return e},Qt=(e,t)=>FS(e,DS(t)),ks=(e,t)=>{var r={};for(var a in e)Es.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&jr)for(var a of jr(e))t.indexOf(a)<0&&As.call(e,a)&&(r[a]=e[a]);return r},RS=(e,t)=>()=>(e&&(t=e(e=0)),t),q=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),A=RS(()=>{}),OS=q((e,t)=>{A(),t.exports={alignItems:{value:"center"},justifyContent:{value:"space-between"},color:{value:"{colors.font.primary.value}"},backgroundColor:{value:"{colors.background.tertiary.value}"},paddingBlock:{value:"{space.small.value}"},paddingInline:{value:"{space.medium.value}"},icon:{size:{value:"{fontSizes.xl.value}"}},heading:{fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.bold.value}"}},info:{color:{value:"{colors.font.info.value}"},backgroundColor:{value:"{colors.background.info.value}"}},error:{color:{value:"{colors.font.error.value}"},backgroundColor:{value:"{colors.background.error.value}"}},warning:{color:{value:"{colors.font.warning.value}"},backgroundColor:{value:"{colors.background.warning.value}"}},success:{color:{value:"{colors.font.success.value}"},backgroundColor:{value:"{colors.background.success.value}"}}}}),VS=q((e,t)=>{A(),t.exports={maxWidth:{value:"60rem"},modal:{width:{value:"{space.relative.full}"},height:{value:"{space.relative.full}"},backgroundColor:{value:"{colors.overlay.50.value}"},top:{value:"{space.zero}"},left:{value:"{space.zero}"}},container:{widthMax:{value:"30rem"}},router:{borderWidth:{value:"{borderWidths.small.value}"},borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},backgroundColor:{value:"{colors.background.primary.value}"},boxShadow:{value:"{shadows.medium.value}"}},footer:{paddingBottom:{value:"{space.medium.value}"}},form:{padding:{value:"{space.xl.value}"}},state:{inactive:{backgroundColor:{value:"{colors.background.secondary.value}"}}},orContainer:{color:{value:"{colors.neutral.80.value}"},orLine:{backgroundColor:{value:"{colors.background.primary.value}"}}}}}),US=q((e,t)=>{A(),t.exports={color:{value:"{colors.font.primary.value}"},lineHeight:{value:1},fontWeight:{value:"{fontWeights.semibold.value}"},fontSize:{value:"{fontSizes.small.value}"},textAlign:{value:"center"},paddingVertical:{value:"{space.xs.value}"},paddingHorizontal:{value:"{space.small.value}"},backgroundColor:{value:"{colors.background.tertiary.value}"},borderRadius:{value:"{radii.xl.value}"},info:{color:{value:"{colors.font.info.value}"},backgroundColor:{value:"{colors.background.info.value}"}},warning:{color:{value:"{colors.font.warning.value}"},backgroundColor:{value:"{colors.background.warning.value}"}},success:{color:{value:"{colors.font.success.value}"},backgroundColor:{value:"{colors.background.success.value}"}},error:{color:{value:"{colors.font.error.value}"},backgroundColor:{value:"{colors.background.error.value}"}},small:{fontSize:{value:"{fontSizes.xs.value}"},paddingVertical:{value:"{space.xxs.value}"},paddingHorizontal:{value:"{space.xs.value}"}},large:{fontSize:{value:"{fontSizes.medium.value}"},paddingVertical:{value:"{space.small.value}"},paddingHorizontal:{value:"{space.medium.value}"}}}}),MS=q((e,t)=>{A(),t.exports={fontWeight:{value:"{fontWeights.bold.value}"},transitionDuration:{value:"{components.fieldcontrol.transitionDuration.value}"},fontSize:{value:"{components.fieldcontrol.fontSize.value}"},lineHeight:{value:"{components.fieldcontrol.lineHeight.value}"},paddingBlockStart:{value:"{components.fieldcontrol.paddingBlockStart.value}"},paddingBlockEnd:{value:"{components.fieldcontrol.paddingBlockEnd.value}"},paddingInlineStart:{value:"{components.fieldcontrol.paddingInlineStart.value}"},paddingInlineEnd:{value:"{components.fieldcontrol.paddingInlineEnd.value}"},borderColor:{value:"{components.fieldcontrol.borderColor.value}"},borderWidth:{value:"{components.fieldcontrol.borderWidth.value}"},borderStyle:{value:"{components.fieldcontrol.borderStyle.value}"},borderRadius:{value:"{components.fieldcontrol.borderRadius.value}"},color:{value:"{colors.font.primary.value}"},_hover:{color:{value:"{colors.font.focus.value}"},backgroundColor:{value:"{colors.brand.primary.10.value}"},borderColor:{value:"{colors.brand.primary.60.value}"}},_focus:{color:{value:"{colors.font.focus.value}"},backgroundColor:{value:"{colors.brand.primary.10.value}"},borderColor:{value:"{colors.border.focus.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"}},_active:{color:{value:"{colors.font.active.value}"},backgroundColor:{value:"{colors.brand.primary.20.value}"},borderColor:{value:"{colors.brand.primary.100.value}"}},_loading:{color:{value:"{colors.font.disabled.value}"},backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.tertiary.value}"}},_disabled:{color:{value:"{colors.font.disabled.value}"},backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.tertiary.value}"}},primary:{borderColor:{value:"transparent"},borderWidth:{value:"{borderWidths.small.value}"},borderStyle:{value:"solid"},backgroundColor:{value:"{colors.brand.primary.80.value}"},color:{value:"{colors.font.inverse.value}"},_disabled:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.background.disabled.value}"},color:{value:"{colors.font.disabled.value}"}},_loading:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.background.disabled.value}"},color:{value:"{colors.font.disabled.value}"}},_hover:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.90.value}"},color:{value:"{colors.font.inverse.value}"}},_focus:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.90.value}"},color:{value:"{colors.font.inverse.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"}},_active:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.100.value}"},color:{value:"{colors.font.inverse.value}"}}},menu:{borderWidth:{value:0},backgroundColor:{value:"transparent"},justifyContent:{value:"start"},_hover:{color:{value:"{colors.font.inverse.value}"},backgroundColor:{value:"{colors.brand.primary.80.value}"}},_focus:{color:{value:"{colors.font.inverse.value}"},backgroundColor:{value:"{colors.brand.primary.80.value}"}},_active:{color:{value:"{colors.font.inverse.value}"},backgroundColor:{value:"{colors.brand.primary.90.value}"}},_disabled:{color:{value:"{colors.font.disabled.value}"}}},link:{borderWidth:{value:0},borderColor:{value:"transparent"},backgroundColor:{value:"transparent"},color:{value:"{colors.font.interactive.value}"},_hover:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.10.value}"},color:{value:"{colors.font.hover.value}"}},_focus:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.10.value}"},color:{value:"{colors.font.focus.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"}},_active:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.20.value}"},color:{value:"{colors.font.active.value}"}},_disabled:{borderColor:{value:"transparent"},backgroundColor:{value:"transparent"},color:{value:"{colors.font.disabled.value}"}},_loading:{borderColor:{value:"transparent"},backgroundColor:{value:"transparent"},color:{value:"{colors.font.disabled.value}"}}},small:{fontSize:{value:"{components.fieldcontrol.small.fontSize.value}"},paddingBlockStart:{value:"{components.fieldcontrol.small.paddingBlockStart.value}"},paddingBlockEnd:{value:"{components.fieldcontrol.small.paddingBlockEnd.value}"},paddingInlineStart:{value:"{components.fieldcontrol.small.paddingInlineStart.value}"},paddingInlineEnd:{value:"{components.fieldcontrol.small.paddingInlineEnd.value}"}},large:{fontSize:{value:"{components.fieldcontrol.large.fontSize.value}"},paddingBlockStart:{value:"{components.fieldcontrol.large.paddingBlockStart.value}"},paddingBlockEnd:{value:"{components.fieldcontrol.large.paddingBlockEnd.value}"},paddingInlineStart:{value:"{components.fieldcontrol.large.paddingInlineStart.value}"},paddingInlineEnd:{value:"{components.fieldcontrol.large.paddingInlineEnd.value}"}},loaderWrapper:{alignItems:{value:"center"},gap:{value:"{space.xs.value}"}}}}),zS=q((e,t)=>{A(),t.exports={backgroundColor:{value:"{colors.background.primary.value}"},borderRadius:{value:"{radii.xs.value}"},borderWidth:{value:"0"},borderStyle:{value:"solid"},borderColor:{value:"transparent"},boxShadow:{value:"none"},padding:{value:"{space.medium.value}"},outlined:{backgroundColor:{value:"{components.card.backgroundColor.value}"},borderRadius:{value:"{radii.xs.value}"},borderWidth:{value:"{borderWidths.small.value}"},borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},boxShadow:{value:"{components.card.boxShadow.value}"}},elevated:{backgroundColor:{value:"{components.card.backgroundColor.value}"},borderRadius:{value:"{radii.xs.value}"},borderWidth:{value:"0"},borderStyle:{value:"solid"},borderColor:{value:"transparent"},boxShadow:{value:"{shadows.medium.value}"}}}}),LS=q((e,t)=>{A(),t.exports={cursor:{value:"pointer"},alignItems:{value:"center"},_disabled:{cursor:{value:"not-allowed"}},button:{position:{value:"relative"},alignItems:{value:"center"},justifyContent:{value:"center"},color:{value:"{colors.white.value}"},before:{width:{value:"100%"},height:{value:"100%"},borderWidth:{value:"{borderWidths.medium.value}"},borderRadius:{value:"20%"},borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"}},_focus:{outlineColor:{value:"{colors.transparent.value}"},outlineStyle:{value:"solid"},outlineWidth:{value:"{outlineWidths.medium.value}"},outlineOffset:{value:"{outlineOffsets.medium.value}"},borderColor:{value:"{colors.transparent.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"2px",color:"{colors.border.focus.value}"}}},_disabled:{borderColor:{value:"{colors.border.disabled.value}"}},_error:{borderColor:{value:"{colors.border.error.value}"},_focus:{borderColor:{value:"{colors.transparent.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"2px",color:"{colors.border.error.value}"}}}}},icon:{backgroundColor:{value:"{colors.brand.primary.80.value}"},borderRadius:{value:"20%"},opacity:{value:"{opacities.0.value}"},transform:{value:"scale(0)"},transitionProperty:{value:"all"},transitionDuration:{value:"{time.short.value}"},transitionTimingFunction:{value:"ease-in-out"},_checked:{opacity:{value:"{opacities.100.value}"},transform:{value:"scale(1)"},_disabled:{backgroundColor:{value:"{colors.background.disabled.value}"}}}},label:{_disabled:{color:{value:"{colors.font.disabled.value}"}}}}}),jS=q((e,t)=>{A(),t.exports={alignItems:{value:"flex-start"},alignContent:{value:"center"},flexDirection:{value:"column"},justifyContent:{value:"center"}}}),GS=q((e,t)=>{A(),t.exports={fontSize:{value:"{font.sizes.xs.value}"},gap:{value:"{space.relative.medium.value}"},svg:{path:{fill:{value:"{colors.font.primary}"}}},toolTip:{bottom:{value:"{space.large}"},color:{value:"{colors.teal.100}"},fontSize:{value:"{font.sizes.xxs}"}}}}),HS=q((e,t)=>{A(),t.exports={height:{value:"100%"}}}),WS=q((e,t)=>{A(),t.exports={borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},borderWidth:{value:"{borderWidths.medium.value}"},label:{color:{value:"{colors.font.tertiary.value}"},paddingInline:{value:"{space.medium.value}"},fontSize:{value:"{fontSizes.small.value}"},backgroundColor:{value:"{colors.background.primary.value}"}},small:{borderWidth:{value:"{borderWidths.small.value}"}},large:{borderWidth:{value:"{borderWidths.large.value}"}},opacity:{value:"{opacities.60.value}"}}}),KS=q((e,t)=>{A(),t.exports={display:{value:"block"},backgroundColor:{value:"{colors.white.value}"},borderRadius:{value:"{radii.medium.value}"},boxShadow:{value:"{shadows.large.value}"},width:{value:"100%"},item:{marginTop:{value:"1px"},boxShadow:{value:"{shadows.small.value}"},borderBottomLeftRadius:{value:"{radii.medium.value}"},borderBottomRightRadius:{value:"{radii.medium.value}"},borderTopLeftRadius:{value:"{radii.medium.value}"},borderTopRightRadius:{value:"{radii.medium.value}"},borderStartStartRadius:{value:"{radii.medium.value}"},borderStartEndRadius:{value:"{radii.medium.value}"},borderEndStartRadius:{value:"{radii.medium.value}"},borderEndEndRadius:{value:"{radii.medium.value}"},_focus:{boxShadow:{value:{offsetX:"0",offsetY:"0",blurRadius:"0",spreadRadius:"2px",color:"{colors.border.focus.value}"}}}},header:{boxShadow:{value:{offsetX:"0",offsetY:"1px",blurRadius:"0",color:"{colors.overlay.20.value}"}}},trigger:{minHeight:{value:"3rem"},paddingInlineStart:{value:"{space.large.value}"},paddingInlineEnd:{value:"{space.large.value}"},alignItems:{value:"center"},justifyContent:{value:"space-between"},_hover:{backgroundColor:{value:"{colors.overlay.10.value}"}}},content:{paddingInlineStart:{value:"{space.large.value}"},paddingInlineEnd:{value:"{space.large.value}"},text:{color:{value:"{colors.font.secondary.value}"},paddingBlockStart:{value:"{space.medium.value}"},paddingBlockEnd:{value:"{space.medium.value}"}},_open:{animationDuration:{value:"{time.medium.value}"},animationTimingFunction:{value:"cubic-bezier(0.87, 0, 0.13, 1)"}},_closed:{animationDuration:{value:"{time.medium.value}"},animationTimingFunction:{value:"cubic-bezier(0.87, 0, 0.13, 1)"}}},icon:{transitionDuration:{value:"{time.medium.value}"},transitionTimingFunction:{value:"cubic-bezier(0.87, 0, 0.13, 1)"}}}}),qS=q((e,t)=>{A(),t.exports={gap:{value:"{space.xs.value}"},fontSize:{value:"{fontSizes.medium.value}"},small:{gap:{value:"{space.xxxs.value}"},fontSize:{value:"{fontSizes.small.value}"}},large:{gap:{value:"{space.small.value}"},fontSize:{value:"{fontSizes.large.value}"}},label:{color:{value:"{colors.font.secondary.value}"}}}}),YS=q((e,t)=>{A(),t.exports={borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},borderWidth:{value:"{borderWidths.small.value}"},borderRadius:{value:"{radii.small.value}"},color:{value:"{colors.font.primary.value}"},paddingBlockStart:{value:"{space.xs.value}"},paddingBlockEnd:{value:"{space.xs.value}"},paddingInlineStart:{value:"{space.medium.value}"},paddingInlineEnd:{value:"{space.medium.value}"},fontSize:{value:"{components.field.fontSize.value}"},lineHeight:{value:"{lineHeights.medium.value}"},transitionDuration:{value:"{time.medium.value}"},outlineColor:{value:"{colors.transparent.value}"},outlineStyle:{value:"solid"},outlineWidth:{value:"{outlineWidths.medium.value}"},outlineOffset:{value:"{outlineOffsets.medium.value}"},small:{fontSize:{value:"{components.field.small.fontSize.value}"},paddingBlockStart:{value:"{space.xxs.value}"},paddingBlockEnd:{value:"{space.xxs.value}"},paddingInlineStart:{value:"{space.small.value}"},paddingInlineEnd:{value:"{space.small.value}"}},large:{fontSize:{value:"{components.field.large.fontSize.value}"},paddingBlockStart:{value:"{space.xs.value}"},paddingBlockEnd:{value:"{space.xs.value}"},paddingInlineStart:{value:"{space.medium.value}"},paddingInlineEnd:{value:"{space.medium.value}"}},quiet:{borderStyle:{value:"none"},borderBlockEnd:{value:"{borderWidths.small.value} solid {colors.border.primary.value}"},borderInlineStart:{value:"none"},borderInlineEnd:{value:"none"},borderBlockStart:{value:"none"},borderRadius:{value:"0"},_focus:{borderBlockEndColor:{value:"{colors.border.focus.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"1px",color:"{colors.border.focus.value}"}}},_error:{borderBlockEndColor:{value:"{colors.border.error.value}"},_focus:{boxShadow:{value:{offsetX:"0px",offsetY:"1px",color:"{colors.border.error.value}"}}}}},_focus:{borderColor:{value:"{colors.border.focus.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"1px",color:"{colors.border.focus.value}"}}},_disabled:{color:{value:"{colors.font.disabled.value}"},cursor:{value:"not-allowed"},borderColor:{value:"{colors.transparent.value}"},backgroundColor:{value:"{colors.background.disabled.value}"}},_error:{borderColor:{value:"{colors.border.error.value}"},_focus:{boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"1px",color:"{colors.border.error.value}"}}}}}}),ZS=q((e,t)=>{A(),t.exports={gap:{value:0},vertical:{alignItems:{value:"center"}},outer:{alignItems:{value:"center"}}}}),XS=q((e,t)=>{A(),t.exports={error:{color:{value:"{colors.font.error.value}"},fontSize:{value:"{fontSizes.small.value}"}},description:{color:{value:"{colors.font.secondary.value}"},fontStyle:{value:"italic"},fontSize:{value:"{fontSizes.small.value}"}}}}),JS=q((e,t)=>{A(),t.exports={gap:{value:"{space.medium.value}"},justifyContent:{value:"normal"},alignItems:{value:"stretch"},alignContent:{value:"normal"},flexWrap:{value:"nowrap"}}}),QS=q((e,t)=>{A(),t.exports={color:{value:"{colors.font.primary.value}"},lineHeight:{value:"{lineHeights.small.value}"},1:{fontSize:{value:"{fontSizes.xxxxl.value}"},fontWeight:{value:"{fontWeights.light.value}"}},2:{fontSize:{value:"{fontSizes.xxxl.value}"},fontWeight:{value:"{fontWeights.normal.value}"}},3:{fontSize:{value:"{fontSizes.xxl.value}"},fontWeight:{value:"{fontWeights.medium.value}"}},4:{fontSize:{value:"{fontSizes.xl.value}"},fontWeight:{value:"{fontWeights.semibold.value}"}},5:{fontSize:{value:"{fontSizes.large.value}"},fontWeight:{value:"{fontWeights.bold.value}"}},6:{fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.extrabold.value}"}}}}),e_=q((e,t)=>{A(),t.exports={lineHeight:{value:1},height:{value:"1em"}}}),t_=q((e,t)=>{A(),t.exports={maxWidth:{value:"100%"},height:{value:"auto"},objectFit:{value:"initial"},objectPosition:{value:"initial"}}}),r_=q((e,t)=>{A(),t.exports={active:{color:{value:"{colors.font.active.value}"}},color:{value:"{colors.font.interactive.value}"},focus:{color:{value:"{colors.font.focus.value}"}},hover:{color:{value:"{colors.font.hover.value}"}},large:{fontSize:{value:"{fontSizes.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"}},visited:{color:{value:"{colors.font.interactive.value}"}}}}),n_=q((e,t)=>{A(),t.exports={width:{value:"{fontSizes.medium.value}"},height:{value:"{fontSizes.medium.value}"},strokeEmpty:{value:"{colors.neutral.20.value}"},strokeFilled:{value:"{colors.brand.primary.80.value}"},strokeLinecap:{value:"round"},animationDuration:{value:"1s"},small:{width:{value:"{fontSizes.small.value}"},height:{value:"{fontSizes.small.value}"}},large:{width:{value:"{fontSizes.large.value}"},height:{value:"{fontSizes.large.value}"}},linear:{width:{value:"100%"},minWidth:{value:"5rem"},height:{value:"{fontSizes.medium.value}"},strokeWidth:{value:"{fontSizes.medium.value}"},strokeFilled:{value:"{colors.brand.primary.80.value}"},strokeEmpty:{value:"{colors.neutral.20.value}"},strokeLinecap:{value:"round"},animationDuration:{value:"1s"},small:{height:{value:"{fontSizes.small.value}"},strokeWidth:{value:"{fontSizes.small.value}"}},large:{height:{value:"{fontSizes.large.value}"},strokeWidth:{value:"{fontSizes.large.value}"}}}}}),a_=q((e,t)=>{A(),t.exports={backgroundColor:{value:"{colors.white.value}"},borderRadius:{value:"{radii.medium.value}"},borderWidth:{value:"{borderWidths.small.value}"},borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},boxShadow:{value:"{shadows.large.value}"},flexDirection:{value:"column"},gap:{value:0},maxWidth:{value:"30rem"},minWidth:{value:"14rem"},small:{width:{value:"{fontSizes.medium.value}"},height:{value:"{fontSizes.medium.value}"}},large:{width:{value:"{fontSizes.xxxl.value}"},height:{value:"{fontSizes.xxxl.value}"}},item:{minHeight:{value:"2.5rem"},paddingInlineStart:{value:"{space.medium.value}"},paddingInlineEnd:{value:"{space.medium.value}"}}}}),o_=q((e,t)=>{A(),t.exports={current:{alignItems:{value:"center"},justifyContent:{value:"center"},color:{value:"{colors.white.value}"},fontSize:{value:"{fontSizes.small.value}"},backgroundColor:{value:"{colors.overlay.40.value}"}},button:{color:{value:"{colors.font.primary.value}"},paddingInlineStart:{value:"{space.xxs.value}"},paddingInlineEnd:{value:"{space.xxs.value}"},transitionProperty:{value:"background-color"},transitionDuration:{value:"{time.medium.value}"},hover:{backgroundColor:{value:"{colors.overlay.10.value}"},color:{value:"{colors.font.primary.value}"}},disabled:{color:{value:"{colors.font.disabled.value}"}}},ellipsis:{alignItems:{value:"baseline"},justifyContent:{value:"center"},paddingInlineStart:{value:"{space.xs.value}"},paddingInlineEnd:{value:"{space.xs.value}"}},itemContainer:{marginLeft:{value:"{space.xxxs.value}"},marginRight:{value:"{space.xxxs.value}"}},itemShared:{height:{value:"{fontSizes.xxl.value}"},minWidth:{value:"{fontSizes.xxl.value}"},borderRadius:{value:"{fontSizes.medium.value}"}}}}),i_=q((e,t)=>{A(),t.exports={}}),s_=q((e,t)=>{A(),t.exports={borderRadius:{value:"{radii.small.value}"},transitionDuration:{value:"{time.long.value}"},startColor:{value:"{colors.background.secondary.value}"},endColor:{value:"{colors.background.tertiary.value}"},small:{height:{value:"{space.small.value}"}},default:{height:{value:"{space.medium.value}"}},large:{height:{value:"{space.large.value}"}}}}),l_=q((e,t)=>{A(),t.exports={alignItems:{value:"center"},justifyContent:{value:"flex-start"},gap:{value:"inherit"},_disabled:{cursor:{value:"not-allowed"}},button:{alignItems:{value:"center"},justifyContent:{value:"center"},width:{value:"{fontSizes.medium.value}"},height:{value:"{fontSizes.medium.value}"},boxSizing:{value:"border-box"},borderWidth:{value:"{borderWidths.medium.value}"},borderStyle:{value:"solid"},borderRadius:{value:"50%"},borderColor:{value:"{colors.border.primary.value}"},color:{value:"{colors.white.value}"},backgroundColor:{value:"{colors.white.value}"},transitionProperty:{value:"all"},transitionDuration:{value:"{time.medium.value}"},outlineColor:{value:"{colors.transparent.value}"},outlineStyle:{value:"solid"},outlineWidth:{value:"{outlineWidths.medium.value}"},outlineOffset:{value:"{outlineOffsets.medium.value}"},padding:{value:"{borderWidths.medium.value}"},small:{width:{value:"{fontSizes.small.value}"},height:{value:"{fontSizes.small.value}"}},large:{width:{value:"{fontSizes.large.value}"},height:{value:"{fontSizes.large.value}"}},_checked:{color:{value:"{colors.brand.primary.80.value}"},_disabled:{color:{value:"{colors.background.disabled.value}"}}},_focus:{borderColor:{value:"{colors.border.focus.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"}},_error:{borderColor:{value:"{colors.border.error.value}"},_focus:{boxShadow:{value:"{components.fieldcontrol._error._focus.boxShadow.value}"}}},_disabled:{borderColor:{value:"{colors.border.disabled.value}"},backgroundColor:{value:"{colors.background.primary.value}"}}},label:{_disabled:{color:{value:"{colors.font.disabled.value}"}}}}}),u_=q((e,t)=>{A(),t.exports={large:{size:{value:"{fontSizes.xxxl.value}"}},default:{size:{value:"{fontSizes.xl.value}"}},small:{size:{value:"{fontSizes.small.value}"}},filled:{color:{value:"{colors.brand.secondary.80.value}"}},empty:{color:{value:"{colors.background.tertiary.value}"}}}}),c_=q((e,t)=>{A(),t.exports={paddingInlineEnd:{value:"{space.xxl.value}"},wrapper:{flex:{value:"1"},display:{value:"block"},position:{value:"relative"},cursor:{value:"pointer"}},iconWrapper:{alignItems:{value:"center"},position:{value:"absolute"},top:{value:"50%"},right:{value:"{space.medium.value}"},transform:{value:"translateY(-50%)"},pointerEvents:{value:"none"}},option:{backgroundColor:{value:"{colors.background.primary.value}"}},whiteSpace:{value:"nowrap"},minWidth:{value:"6.5rem"},small:{minWidth:{value:"5.5rem"}},large:{minWidth:{value:"7.5rem"}}}}),d_=q((e,t)=>{A(),t.exports={flexDirection:{value:"column"}}}),f_=q((e,t)=>{A(),t.exports={paddingBlock:{value:"{space.xs.value}"},track:{backgroundColor:{value:"{colors.background.tertiary.value}"},borderRadius:{value:"9999px"},height:{value:"0.375rem"},minWidth:{value:"10rem"}},range:{backgroundColor:{value:"{colors.brand.primary.80.value}"},borderRadius:{value:"9999px"},_disabled:{backgroundColor:{value:"{colors.background.disabled.value}"}}},thumb:{width:{value:"1.25rem"},height:{value:"1.25rem"},backgroundColor:{value:"{colors.background.primary.value}"},boxShadow:{value:"{shadows.small.value}"},borderRadius:{value:"50%"},borderWidth:{value:"{borderWidths.small.value}"},borderColor:{value:"{colors.border.primary.value}"},borderStyle:{value:"solid"},_disabled:{backgroundColor:{value:"{colors.background.disabled.value}"},borderColor:{value:"transparent"},boxShadow:{value:"none"}},_hover:{backgroundColor:{value:"{colors.background.primary.value}"},borderColor:{value:"{colors.border.focus.value}"}},_focus:{boxShadow:{value:{offsetX:"0",offsetY:"0",blurRadius:"0",spreadRadius:"3px",color:"{colors.border.focus.value}"}}}},small:{track:{height:{value:"0.25rem"}},thumb:{width:{value:"1rem"},height:{value:"1rem"}}},large:{track:{height:{value:"0.625rem"}},thumb:{width:{value:"1.5rem"},height:{value:"1.5rem"}}}}}),v_=q((e,t)=>{A(),t.exports={flexDirection:{value:"column"},input:{textAlign:{value:"center"}}}}),p_=q((e,t)=>{A(),t.exports={disabled:{opacity:{value:"{opacities.60.value}"}},focused:{shadow:{value:"{shadows.small.value}"}},large:{fontSize:{value:"{fontSizes.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"}},label:{padding:{value:"{space.xs.value}"}},thumb:{backgroundColor:{value:"{colors.background.primary.value}"},borderColor:{value:"{colors.border.tertiary.value}"},borderRadius:{value:"{radii.xxxl.value}"},checked:{transform:{value:"{transforms.slideX.medium.value}"}},transition:{duration:{value:"{time.medium.value}"}},width:{value:"{space.relative.medium.value}"}},track:{backgroundColor:{value:"{colors.background.tertiary.value}"},borderRadius:{value:"{radii.xxxl.value}"},checked:{backgroundColor:{value:"{colors.brand.primary.60.value}"}},height:{value:"{space.relative.medium.value}"},padding:{value:"{outlineWidths.medium.value}"},transition:{duration:{value:"{time.short.value}"}},width:{value:"{space.relative.xl.value}"}}}}),m_=q((e,t)=>{A(),t.exports={borderCollapse:{value:"collapse"},display:{value:"table"},width:{value:"100%"},head:{display:{value:"table-header-group"},verticalAlign:{value:"middle"}},body:{display:{value:"table-row-group"},verticalAlign:{value:"middle"}},foot:{display:{value:"table-footer-group"},verticalAlign:{value:"middle"}},row:{display:{value:"table-row"},verticalAlign:{value:"middle"},hover:{backgroundColor:{value:"{colors.background.tertiary.value}"}},striped:{backgroundColor:{value:"{colors.background.secondary.value}"}}},header:{borderColor:{value:"{colors.border.tertiary.value}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.small.value}"},color:{value:"{colors.font.primary.value}"},display:{value:"table-cell"},fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.bold.value}"},padding:{value:"{space.medium.value}"},verticalAlign:{value:"middle"},large:{fontSize:{value:"{fontSizes.large.value}"},padding:{value:"{space.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"},padding:{value:"{space.xs.value}"}}},data:{borderColor:{value:"{colors.border.tertiary.value}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.small.value}"},color:{value:"{colors.font.primary.value}"},display:{value:"table-cell"},fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.normal.value}"},padding:{value:"{space.medium.value}"},verticalAlign:{value:"middle"},large:{fontSize:{value:"{fontSizes.large.value}"},padding:{value:"{space.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"},padding:{value:"{space.xs.value}"}}},caption:{captionSide:{value:"bottom"},color:{value:"{colors.font.primary.value}"},display:{value:"table-caption"},fontSize:{value:"{fontSizes.medium.value}"},textAlign:{value:"center"},wordBreak:{value:"break-all"},large:{fontSize:{value:"{fontSizes.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"}}}}}),h_=q((e,t)=>{A(),t.exports={backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.secondary.value}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.medium.value}"},gap:{value:"0"},item:{backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.secondary.value}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.medium.value}"},color:{value:"{colors.font.secondary.value}"},fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.bold.value}"},paddingVertical:{value:"{space.small.value}"},paddingHorizontal:{value:"{space.medium.value}"},textAlign:{value:"center"},transitionDuration:{value:"{time.medium.value}"},_hover:{color:{value:"{colors.font.hover.value}"}},_focus:{color:{value:"{colors.font.focus.value}"}},_active:{color:{value:"{colors.font.interactive.value}"},borderColor:{value:"{colors.font.interactive.value}"},backgroundColor:{value:"transparent"}},_disabled:{color:{value:"{colors.font.disabled.value}"},backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.tertiary.value}"}}}}}),g_=q((e,t)=>{A(),t.exports={color:{value:"{colors.font.primary.value}"},primary:{color:{value:"{colors.font.primary.value}"}},secondary:{color:{value:"{colors.font.secondary.value}"}},tertiary:{color:{value:"{colors.font.tertiary.value}"}},error:{color:{value:"{colors.font.error.value}"}},warning:{color:{value:"{colors.font.warning.value}"}},success:{color:{value:"{colors.font.success.value}"}},info:{color:{value:"{colors.font.info.value}"}}}}),y_=q((e,t)=>{A(),t.exports={borderColor:{value:"{colors.border.primary.value}"},color:{value:"{colors.overlay.50.value}"},_hover:{backgroundColor:{value:"{colors.overlay.10.value}"}},_focus:{borderColor:{value:"{colors.border.focus.value}"},color:{value:"{colors.overlay.50.value}"}},_active:{backgroundColor:{value:"{colors.transparent.value}"}},_disabled:{backgroundColor:{value:"{colors.transparent.value}"},borderColor:{value:"{colors.border.secondary.value}"},color:{value:"{colors.font.disabled.value}"}},_pressed:{color:{value:"{colors.font.primary.value}"},backgroundColor:{value:"{colors.overlay.20.value}"},_hover:{backgroundColor:{value:"{colors.overlay.30.value}"}}},primary:{backgroundColor:{value:"{colors.transparent.value}"},borderWidth:{value:"{borderWidths.small.value}"},_focus:{borderColor:{value:"{colors.border.focus.value}"},backgroundColor:{value:"{colors.transparent.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"},color:{value:"{colors.overlay.50.value}"}},_hover:{backgroundColor:{value:"{colors.overlay.10.value}"},color:{value:"{colors.overlay.50.value}"}},_disabled:{backgroundColor:{value:"{colors.background.tertiary.value}"},color:{value:"{colors.font.disabled.value}"}},_pressed:{backgroundColor:{value:"{colors.brand.primary.80.value}"},borderColor:{value:"{colors.brand.primary.80.value}"},color:{value:"{colors.white.value}"},_focus:{backgroundColor:{value:"{colors.border.focus.value}"},borderColor:{value:"{colors.border.focus.value}"}},_hover:{borderColor:{value:"{colors.brand.primary.60.value}"},backgroundColor:{value:"{colors.brand.primary.60.value}"}}}},link:{color:{value:"{colors.overlay.50.value}"},_hover:{backgroundColor:{value:"{colors.transparent.value}"},color:{value:"{colors.overlay.50.value}"}},_focus:{backgroundColor:{value:"{colors.transparent.value}"},color:{value:"{colors.overlay.50.value}"}},_disabled:{color:{value:"{colors.font.disabled.value}"}},_pressed:{backgroundColor:{value:"{colors.transparent.value}"},color:{value:"{colors.overlay.90.value}"},_hover:{backgroundColor:{value:"{colors.transparent.value}"}}}}}}),b_=q((e,t)=>{A(),t.exports={alignItems:{value:"center"},alignContent:{value:"center"},justifyContent:{value:"flex-start"}}}),C_=q((e,t)=>{A(),t.exports={alert:OS(),authenticator:VS(),badge:US(),button:MS(),card:zS(),checkbox:LS(),checkboxfield:jS(),copy:GS(),countrycodeselect:HS(),divider:WS(),expander:KS(),field:qS(),fieldcontrol:YS(),fieldgroup:ZS(),fieldmessages:XS(),flex:JS(),heading:QS(),icon:e_(),image:t_(),link:r_(),loader:n_(),menu:a_(),pagination:o_(),phonenumberfield:i_(),placeholder:s_(),radio:l_(),rating:u_(),select:c_(),selectfield:d_(),sliderfield:f_(),stepperfield:v_(),switchfield:p_(),table:m_(),tabs:h_(),text:g_(),togglebutton:y_(),togglebuttongroup:b_()}});A();A();A();A();var Me=e=>{var t;return(t=e.context.actorRef)==null?void 0:t.getSnapshot()},er=e=>{var t;return(t=Me(e))==null?void 0:t.context};A();A();A();A();A();var Ps=(e=>(e.SMS_MFA="SMS_MFA",e.SOFTWARE_TOKEN_MFA="SOFTWARE_TOKEN_MFA",e.NEW_PASSWORD_REQUIRED="NEW_PASSWORD_REQUIRED",e.RESET_REQUIRED="RESET_REQUIRED",e.MFA_SETUP="MFA_SETUP",e))(Ps||{}),Ns=(e=>(e.Apple="SignInWithApple",e.Amazon="LoginWithAmazon",e.Facebook="Facebook",e.Google="Google",e))(Ns||{});A();A();var da=["username","email","phone_number"];A();A();A();A();A();A();A();var ke={birthdate:{label:"Birthdate",placeholder:"Birthdate",type:"date",autocomplete:"bday"},confirmation_code:{label:"Confirmation Code",placeholder:"Code",type:"number",autocomplete:"one-time-code"},email:{label:"Email",type:"email",placeholder:"Email",autocomplete:"username"},family_name:{label:"Family Name",placeholder:"Family Name",type:"text",autocomplete:"family-name"},given_name:{label:"Given Name",placeholder:"Given Name",type:"text",autocomplete:"given-name"},middle_name:{label:"Middle Name",placeholder:"Middle Name",type:"text",autocomplete:"additional-name"},name:{label:"Name",placeholder:"Name",type:"text",autocomplete:"name"},nickname:{label:"Nickname",placeholder:"Nickname",type:"text",autocomplete:"tel"},password:{label:"Password",placeholder:"Password",type:"password",autocomplete:"password"},phone_number:{label:"Phone Number",placeholder:"Phone",type:"tel",autocomplete:"tel"},preferred_username:{label:"Preferred Username",placeholder:"Preferred Username",type:"text"},profile:{label:"Profile",placeholder:"Profile",type:"url",autocomplete:"url"},website:{label:"Website",placeholder:"Website",type:"url",autocomplete:"url"},username:{label:"Username",type:"text",placeholder:"Username",autocomplete:"username"}},Qe=e=>{let t=new FormData(e.target);return Object.fromEntries(t)},w_=(e,t)=>{let r=[];return e&&(r=Object.keys(e).reduce((a,o)=>{var i;return a.push([o,(i=e[o])==null?void 0:i.order]),a},[]).sort((a,o)=>a[1]-o[1]).filter(a=>a[1]!==void 0).map(a=>a[0])),Array.from(new Set([...r,...t]))},Ts=(e,t)=>{var r,a,o,i,s;let l=(r=e.config)==null?void 0:r.loginMechanisms,u=(o=(a=e.actorRef)==null?void 0:a.context)==null?void 0:o.validationError.username;if(da.includes(t))return{label:ke[t].label,type:ke[t].type,error:u};let d="text",c=l.filter(v=>Dd(da,v)).map(v=>{var f,p;return(p=(f=ke[v])==null?void 0:f.label)!=null?p:ke.username.label}).join(" or ");return l.length===1&&(d=(s=(i=ke[l[0]])==null?void 0:i.type)!=null?s:"text"),{label:c,type:d,error:u}};A();var S_=e=>{let t=r=>a=>e({type:r,data:a});return{resendCode:t("RESEND"),signOut:t("SIGN_OUT"),submitForm:t("SUBMIT"),updateForm:t("CHANGE"),updateBlur:t("BLUR"),toFederatedSignIn:t("FEDERATED_SIGN_IN"),toResetPassword:t("RESET_PASSWORD"),toSignIn:t("SIGN_IN"),toSignUp:t("SIGN_UP"),skipVerification:t("SKIP")}},__=e=>{var t,r;let a=(t=e.context)==null?void 0:t.user,o=Me(e),i=er(e),s=i==null?void 0:i.remoteError,l=ue({},i==null?void 0:i.validationError),u=i==null?void 0:i.codeDeliveryDetails,d=Object.keys(l).length>0,c=e.hasTag("pending")||((r=Me(e))==null?void 0:r.hasTag("pending")),v=(()=>{switch(!0){case e.matches("idle"):return"idle";case e.matches("setup"):return"setup";case e.matches("signOut"):return"signOut";case e.matches("authenticated"):return"authenticated";case(o==null?void 0:o.matches("confirmSignUp")):return"confirmSignUp";case(o==null?void 0:o.matches("confirmSignIn")):return"confirmSignIn";case(o==null?void 0:o.matches("setupTOTP")):return"setupTOTP";case(o==null?void 0:o.matches("signIn")):return"signIn";case(o==null?void 0:o.matches("signUp")):return"signUp";case(o==null?void 0:o.matches("forceNewPassword")):return"forceNewPassword";case(o==null?void 0:o.matches("resetPassword")):return"resetPassword";case(o==null?void 0:o.matches("confirmResetPassword")):return"confirmResetPassword";case(o==null?void 0:o.matches("verifyUser")):return"verifyUser";case(o==null?void 0:o.matches("confirmVerifyUser")):return"confirmVerifyUser";default:return console.debug("Cannot infer `route` from Authenticator state:",e.value),null}})();return{error:s,hasValidationErrors:d,isPending:c,route:v,user:a,validationErrors:l,codeDeliveryDetails:u}},$s=({send:e,state:t})=>{let r=S_(e),a=__(t);return ue(ue({},r),a)};A();var x_=e=>me.Hub.listen("auth",t=>{switch(t.payload.event){case"signOut":e("SIGN_OUT");break}});A();A();var Bs=["+1","+7","+20","+27","+30","+31","+32","+33","+34","+36","+39","+40","+41","+43","+44","+45","+46","+47","+48","+49","+51","+52","+53","+54","+55","+56","+57","+58","+60","+61","+62","+63","+64","+65","+66","+81","+82","+84","+86","+90","+91","+92","+93","+94","+95","+98","+212","+213","+216","+218","+220","+221","+222","+223","+224","+225","+226","+227","+228","+229","+230","+231","+232","+233","+234","+235","+236","+237","+238","+239","+240","+241","+242","+243","+244","+245","+246","+248","+249","+250","+251","+252","+253","+254","+255","+256","+257","+258","+260","+261","+262","+263","+264","+265","+266","+267","+268","+269","+290","+291","+297","+298","+299","+345","+350","+351","+352","+353","+354","+355","+356","+357","+358","+359","+370","+371","+372","+373","+374","+375","+376","+377","+378","+379","+380","+381","+382","+385","+386","+387","+389","+420","+421","+423","+500","+501","+502","+503","+504","+505","+506","+507","+508","+509","+537","+590","+591","+593","+594","+595","+596","+597","+598","+599","+670","+672","+673","+674","+675","+676","+677","+678","+679","+680","+681","+682","+683","+685","+686","+687","+688","+689","+690","+691","+692","+850","+852","+853","+855","+856","+872","+880","+886","+960","+961","+962","+963","+964","+965","+966","+967","+968","+970","+971","+972","+973","+974","+975","+976","+977","+992","+993","+994","+995","+996","+998"];A();A();A();A();var E_={"Account recovery requires verified contact information":"Zur\xFCcksetzen des Account ben\xF6tigt einen verifizierten Account","An account with the given email already exists.":"Ein Account mit dieser Email existiert bereits.","Back to Sign In":"Zur\xFCck zur Anmeldung","Change Password":"Passwort \xE4ndern",Code:"Code",Confirm:"Best\xE4tigen","Confirm Password":"Passwort best\xE4tigen","Confirm a Code":"Code best\xE4tigen","Confirm Sign In":"Anmeldung best\xE4tigen","Confirm Sign Up":"Registrierung best\xE4tigen","Confirm SMS Code":"SMS-Code best\xE4tigen","Confirm TOTP Code":"TOTP-Code best\xE4tigen","Confirmation Code":"Best\xE4tigungs-Code","Create a new account":"Einen neuen Account erstellen","Create account":"Hier registrieren","Create Account":"Account erstellen","Creating Account":"Account wird erstellt",Email:"Email","Enter your code":"Geben Sie Ihren Code ein","Enter your password":"Geben Sie Ihr Passwort ein","Enter your username":"Geben Sie Ihren Benutzernamen ein","Enter your phone number":"Geben Sie Ihre Telefonnummer ein","Enter your email":"Geben Sie ihre Email ein","Forgot your password?":"Passwort vergessen? ","Forgot Password":"Passwort vergessen","Hide password":"Passwort verbergen","Have an account? ":"Schon registriert? ","Incorrect username or password":"Falscher Benutzername oder falsches Passwort","Invalid password format":"Ung\xFCltiges Passwort-Format","Invalid phone number format":"Ung\xFCltiges Telefonummern-Format. Benutze eine Nummer im Format: +12345678900","Lost your code? ":"Code verloren? ","New Password":"Neues Passwort","No account? ":"Kein Account? ",or:"oder",Password:"Passwort","Password attempts exceeded":"Die maximale Anzahl der fehlerhaften Anmeldeversuche wurde erreicht","Phone Number":"Telefonnummer","Resend Code":"Code erneut senden","Reset password":"Passwort zur\xFCcksetzen","Reset your password":"Zur\xFCcksetzen des Passworts","Send Code":"Code senden","Sign in":"Anmelden","Sign In":"Anmelden","Sign in to your account":"Melden Sie sich mit Ihrem Account an","Sign Out":"Abmelden","Sign Up":"Registrieren",Skip:"\xDCberspringen",Submit:"Abschicken","User already exists":"Dieser Benutzer existiert bereits","User does not exist":"Dieser Benutzer existiert nicht",Username:"Benutzername","Username cannot be empty":"Benutzername darf nicht leer sein",Verify:"Verifizieren","Verify Contact":"Kontakt verifizieren"};A();var A_={"Account recovery requires verified contact information":"Account recovery requires verified contact information","Back to Sign In":"Back to Sign In","Change Password":"Change Password",Changing:"Changing",Code:"Code",Confirm:"Confirm","Confirm Password":"Confirm Password","Confirm Sign Up":"Confirm Sign Up","Confirm SMS Code":"Confirm SMS Code","Confirm TOTP Code":"Confirm TOTP Code","Confirmation Code":"Confirmation Code",Confirming:"Confirming","Create Account":"Create Account","Creating Account":"Creating Account",Email:"Email","Enter your code":"Enter your code","Enter your username":"Enter your username","Enter your phone number":"Enter your phone number","Enter your email":"Enter your email","Forgot your password?":"Forgot your password?","Hide password":"Hide password",Loading:"Loading",Username:"Username","New password":"New password",Password:"Password","Phone Number":"Phone Number","Resend Code":"Resend Code","Reset your password":"Reset your password","Reset your Password":"Reset your Password","Send Code":"Send Code","Send code":"Send code",Sending:"Sending","Setup TOTP":"Setup TOTP","Show password":"Show password","Sign in":"Sign in","Sign In":"Sign In","Sign In with Amazon":"Sign In with Amazon","Sign In with Apple":"Sign In with Apple","Sign In with Facebook":"Sign In with Facebook","Sign In with Google":"Sign In with Google","Sign in to your account":"Sign in to your account","Create a new account":"Create a new account","Signing in":"Signing in",Skip:"Skip",Submit:"Submit",Submitting:"Submitting","Verify Contact":"Verify Contact",Verify:"Verify"};A();var I_={"Account recovery requires verified contact information":"La recuperaci\xF3n de la cuenta requiere informaci\xF3n de contacto verificada","Back to Sign In":"Volver a inicio de sesi\xF3n","Change Password":"Cambiar contrase\xF1a",Changing:"Cambiando",Code:"C\xF3digo",Confirm:"Confirmar","Confirm a Code":"Confirmar un c\xF3digo","Confirm Password":"Confirmar contrase\xF1a","Confirm Sign In":"Confirmar inicio de sesi\xF3n","Confirm Sign Up":"Confirmar registro","Confirm TOTP Code":"Confirmar c\xF3digo TOTP","Confirmation Code":"C\xF3digo de confirmaci\xF3n",Confirming:"Confirmando","Create a new account":"Crear una cuenta nueva","Creating Account":"Creando cuenta",Email:"Email","Forgot Password":"Olvid\xE9 mi contrase\xF1a","Incorrect username or password":"Nombre de usuario o contrase\xF1a incorrecta","Invalid password format":"Formato de contrase\xF1a inv\xE1lido","Invalid phone number format":"Formato de n\xFAmero de tel\xE9fono inv\xE1lido","Forgot your password?":"\xBFOlvid\xF3 su contrase\xF1a?","Hide password":"Ocultar contrase\xF1a","Loading...":"Cargando...","New Password":"Nueva contrase\xF1a",or:"o",Password:"Contrase\xF1a","Phone Number":"N\xFAmero de tel\xE9fono","Resend a Code":"Reenviar un c\xF3digo","Reset your password":"Restablecer su contrase\xF1a","Reset your Password":"Restablecer su Contrase\xF1a","Resend Code":"Reenviar c\xF3digo","Send Code":"Enviar c\xF3digo",Sending:"Enviando","Setup TOTP":"Configurar TOTP","Show password":"Mostrar contrase\xF1a","Sign in":"Iniciar sesi\xF3n","Sign In":"Iniciar Sesi\xF3n","Sign In with Amazon":"Iniciar Sesi\xF3n con Amazon","Sign In with Apple":"Iniciar Sesi\xF3n con Apple","Sign In with Facebook":"Iniciar Sesi\xF3n con Facebook","Sign In with Google":"Iniciar Sesi\xF3n con Google","Sign in to your account":"Iniciar sesi\xF3n en tu cuenta","Sign Out":"Cerrar sesi\xF3n","Sign Up":"Crear cuenta","Signing in":"Iniciando sesi\xF3n",Skip:"Omitir",Submit:"Enviar","User already exists":"El usuario ya existe","User does not exist":"El usuario no existe",Username:"Nombre de usuario","Username cannot be empty":"El nombre de usuario no puede estar vac\xEDo",Verify:"Verificar","Verify Contact":"Verificar contacto"};A();var k_={"Account recovery requires verified contact information":"La r\xE9cup\xE9ration du compte n\xE9cessite des informations de contact v\xE9rifi\xE9es","An account with the given email already exists.":"Un utilisateur avec cette adresse email existe d\xE9j\xE0.","Back to Sign In":"Retour \xE0 la connexion",Change:"Modifier","Change Password":"Modifier le mot de passe",Code:"Code",Confirm:"Confirmer","Confirm a Code":"Confirmer un code","Confirm Password":"Confirmez le mot de passe","Confirm Sign In":"Confirmer la connexion","Confirm Sign Up":"Confirmer l'inscription","Confirm SMS Code":"Confirmer le code SMS","Confirm TOTP Code":"Confirmer le code TOTP","Confirmation Code":"Code de confirmation","Create a new account":"Cr\xE9er un nouveau compte","Create account":"Cr\xE9er un compte","Create Account":"Cr\xE9er un compte",Email:"Email","Enter your code":"Saisissez cotre code de confirmation","Enter your email":"Saisissez votre adresse email","Enter your password":"Saisissez votre mot de passe","Enter your phone number":"Saisissez votre num\xE9ro de t\xE9l\xE9phone","Enter your username":"Saisissez votre nom d'utilisateur","Forgot Password":"Mot de passe oubli\xE9","Forgot your password?":"Mot de passe oubli\xE9 ? ","Have an account? ":"D\xE9j\xE0 un compte ? ",Hello:"Bonjour","Incorrect username or password":"Identifiant ou mot de passe incorrect","Invalid password format":"Format de mot de passe invalide","Invalid phone number format":"Format de num\xE9ro de t\xE9l\xE9phone invalide. Veuillez utiliser un format +12345678900","Loading...":"Chargement...","Lost your code? ":"Vous avez perdu votre code ? ","Network error":"Erreur r\xE9seau","New Password":"Nouveau mot de passe","No account? ":"Pas de compte ? ",or:"ou",Password:"Mot de passe","Phone Number":"Num\xE9ro de t\xE9l\xE9phone","Resend a Code":"Renvoyer un code","Resend Code":"Renvoyer le code","Reset password":"R\xE9initialisez votre mot de passe","Reset your password":"R\xE9initialisez votre mot de passe",Send:"Envoyer","Send Code":"M'envoyer un code","Sign in":"Se connecter","Sign In":"Se connecter","Sign in to your account":"Connexion \xE0 votre compte","Sign In with Amazon":"Se connecter avec Amazon","Sign In with AWS":"Se connecter avec AWS","Sign In with Facebook":"Se connecter avec Facebook","Sign In with Google":"Se connecter avec Google","Sign Out":"D\xE9connexion","Sign Up":"S'inscrire",Skip:"Passer",SMS:"SMS",Submit:"Soumettre","User already exists":"L'utilisateur existe d\xE9j\xE0","User does not exist":"L'utilisateur n'existe pas",Username:"Nom d'utilisateur","Username cannot be empty":"Le nom d'utilisateur doit \xEAtre renseign\xE9","Username/client id combination not found.":"L'utilisateur n'existe pas",Verify:"V\xE9rifier","Verify Contact":"V\xE9rifier le contact"};A();var P_={"Account recovery requires verified contact information":"Il ripristino dell'account richiede informazioni di contatto verificate","An account with the given email already exists.":"Questa email \xE8 gi\xE0 utilizzata da un'altro account.","Back to Sign In":"Torna alla schermata di accesso","Change Password":"Cambia la password",Code:"Codice",Confirm:"Conferma","Confirm a Code":"Conferma un codice","Confirm Password":"Conferma la password","Confirm Sign In":"Conferma l'accesso","Confirm Sign Up":"Conferma registrazione","Confirmation Code":"Codice di verifica","Create a new account":"Crea un nuovo account","Create account":"Crea account","Create Account":"Crea Account",Email:"Email","Enter your password":"Inserisci la tua password","Enter your username":"Inserisci il tuo nome utente","Forgot Password":"Password dimenticata","Forgot your password?":"Password dimenticata?","Have an account? ":"Gi\xE0 registrato?","Incorrect username or password":"Nome utente o password errati","Invalid password format":"Formato della password non valido","Invalid phone number format":"Formato del numero di telefono non valido","Lost your code?":"Codice smarrito?","New Password":"Nuova password",or:"o","No account? ":"Non hai un account?",Password:"Password","Password attempts exceeded":"Il numero massimo di tentativi di accesso falliti \xE8 stato raggiunto","Phone Number":"Numero di telefono","Resend Code":"Rispedisci codice","Reset password":"Reimposta password","Reset your password":"Reimposta la tua password","Send Code":"Invia codice","Sign in":"Accesso","Sign In":"Accesso","Sign in to your account":"Accedi al tuo account","Sign Out":"Esci","Sign Up":"Registrati",Skip:"Salta",Submit:"Invia","User already exists":"Utente gi\xE0 esistente","User does not exist":"Utente inesistente",Username:"Nome utente","Username cannot be empty":"Il nome utente non pu\xF2 essere vuoto",Verify:"Verifica","Verify Contact":"Verifica contatto"};A();var N_={"Account recovery requires verified contact information":"\u30A2\u30AB\u30A6\u30F3\u30C8\u306E\u5FA9\u65E7\u306B\u306F\u78BA\u8A8D\u6E08\u307F\u306E\u9023\u7D61\u5148\u304C\u5FC5\u8981\u3067\u3059","An account with the given email already exists.":"\u5165\u529B\u3055\u308C\u305F\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u306E\u30A2\u30AB\u30A6\u30F3\u30C8\u304C\u65E2\u306B\u5B58\u5728\u3057\u307E\u3059","Back to Sign In":"\u30B5\u30A4\u30F3\u30A4\u30F3\u306B\u623B\u308B","Change Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5909\u3048\u308B ",Code:"\u30B3\u30FC\u30C9",Confirm:"\u78BA\u5B9A","Confirm a Code":"\u30B3\u30FC\u30C9\u3092\u78BA\u8A8D","Confirm Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u306E\u78BA\u8A8D","Confirm Sign In":"\u30B5\u30A4\u30F3\u30A4\u30F3\u3059\u308B","Confirm Sign Up":"\u767B\u9332\u3059\u308B","Confirmation Code":"\u78BA\u8A8D\u30B3\u30FC\u30C9","Create a new account":"\u65B0\u3057\u3044\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B","Create account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B ","Create Account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B",Email:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9","Enter your password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5165\u529B ","Enter your username":"\u30E6\u30FC\u30B6\u30FC\u540D\u3092\u5165\u529B ","Forgot Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5FD8\u308C\u305F ","Forgot your password?":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5FD8\u308C\u307E\u3057\u305F\u304B\uFF1F ","Have an account? ":"\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u6301\u3063\u3066\u3044\u307E\u3059\u304B\uFF1F","Incorrect username or password":"\u30E6\u30FC\u30B6\u30FC\u540D\u304B\u30D1\u30B9\u30EF\u30FC\u30C9\u304C\u7570\u306A\u308A\u307E\u3059 ","Invalid password format":"\u30D1\u30B9\u30EF\u30FC\u30C9\u306E\u5F62\u5F0F\u304C\u7121\u52B9\u3067\u3059 ","Invalid phone number format":`\u4E0D\u6B63\u306A\u96FB\u8A71\u756A\u53F7\u306E\u5F62\u5F0F\u3067\u3059\u3002
83
- +12345678900 \u306E\u5F62\u5F0F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044`,"Lost your code? ":"\u30B3\u30FC\u30C9\u3092\u5931\u304F\u3057\u307E\u3057\u305F\u304B\uFF1F","New Password":"\u65B0\u3057\u3044\u30D1\u30B9\u30EF\u30FC\u30C9","No account? ":"\u30A2\u30AB\u30A6\u30F3\u30C8\u304C\u7121\u3044\u3068\u304D ",or:"\u53C8\u306F",Password:"\u30D1\u30B9\u30EF\u30FC\u30C9 ","Password attempts exceeded":"\u30B5\u30A4\u30F3\u30A4\u30F3\u306E\u8A66\u884C\u56DE\u6570\u304C\u4E0A\u9650\u306B\u9054\u3057\u307E\u3057\u305F","Phone Number":"\u96FB\u8A71\u756A\u53F7","Resend Code":"\u30B3\u30FC\u30C9\u3092\u518D\u9001\u4FE1","Reset password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8 ","Reset your password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8\u3059\u308B","Send Code":"\u30B3\u30FC\u30C9\u3092\u9001\u4FE1","Sign in":"\u30B5\u30A4\u30F3\u30A4\u30F3","Sign In":"\u30B5\u30A4\u30F3\u30A4\u30F3 ","Sign in to your account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u306B\u30B5\u30A4\u30F3\u30A4\u30F3 ","Sign In with Amazon":"Amazon\u3067\u30B5\u30A4\u30F3\u30A4\u30F3","Sign In with Facebook":"Facebook\u3067\u30B5\u30A4\u30F3\u30A4\u30F3","Sign In with Google":"Google\u3067\u30B5\u30A4\u30F3\u30A4\u30F3","Sign Out":"\u30B5\u30A4\u30F3\u30A2\u30A6\u30C8 ","Sign Up":"\u767B\u9332 ",Skip:"\u30B9\u30AD\u30C3\u30D7",Submit:"\u9001\u4FE1","User already exists":"\u65E2\u306B\u30E6\u30FC\u30B6\u30FC\u304C\u5B58\u5728\u3057\u3066\u3044\u307E\u3059 ","User does not exist":"\u30E6\u30FC\u30B6\u30FC\u304C\u5B58\u5728\u3057\u307E\u305B\u3093 ",Username:"\u30E6\u30FC\u30B6\u30FC\u540D ","Username cannot be empty":"\u30E6\u30FC\u30B6\u30FC\u540D\u306F\u5165\u529B\u5FC5\u9808\u3067\u3059",Verify:"\u78BA\u8A8D","Verify Contact":"\u9023\u7D61\u5148\u3092\u78BA\u8A8D"};A();var T_={"Back to Sign In":"\uB85C\uADF8\uC778\uC73C\uB85C \uB3CC\uC544\uAC00\uAE30",Birthdate:"\uC0DD\uB144\uC6D4\uC77C","Change Password":"\uBE44\uBC00\uBC88\uD638 \uBCC0\uACBD\uD558\uAE30",Changing:"\uBCC0\uACBD\uC911",Code:"\uCF54\uB4DC","Confirm Password":"\uBE44\uBC00\uBC88\uD638 \uC7AC\uD655\uC778","Reset your Password":"\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815","Confirm Sign Up":"\uD68C\uC6D0\uAC00\uC785 \uD655\uC778","Confirm SMS Code":"\uD734\uB300\uD3F0 \uBCF8\uC778 \uD655\uC778","Confirm TOTP Code":"TOTP \uC778\uC99D\uBC88\uD638 \uD655\uC778",Confirm:"\uD655\uC778","Confirmation Code":"\uC778\uC99D\uBC88\uD638",Confirming:"\uD655\uC778\uC911","Create Account":"\uD68C\uC6D0\uAC00\uC785","Creating Account":"\uD68C\uC6D0\uAC00\uC785\uC911",Email:"\uC774\uBA54\uC77C","Enter your code":"\uC778\uC99D\uBC88\uD638\uB97C \uC785\uB825\uD574\uC8FC\uC138\uC694","Enter your username":"\uC544\uC774\uB514\uB97C \uC785\uB825\uD574\uC8FC\uC138\uC694","Family Name":"\uC131","Given Name":"\uC774\uB984","Forgot your password?":"\uBE44\uBC00\uBC88\uD638\uB97C \uC78A\uC73C\uC168\uB098\uC694?","Hide password":"\uBE44\uBC00\uBC88\uD638 \uC228\uAE30\uAE30",Loading:"\uB85C\uB529\uC911",Username:"\uC544\uC774\uB514",Name:"\uC131\uD568",Nickname:"\uB2C9\uB124\uC784","New password":"\uC0C8 \uBE44\uBC00\uBC88\uD638",Password:"\uBE44\uBC00\uBC88\uD638","Phone Number":"\uC804\uD654\uBC88\uD638","Preferred Username":"\uB2C9\uB124\uC784",Profile:"\uD504\uB85C\uD544","Resend Code":"\uC778\uC99D\uBC88\uD638 \uC7AC\uC804\uC1A1","Reset your password":"\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815","Reset Password":"\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815","Send code":"\uC778\uC99D\uCF54\uB4DC \uBCF4\uB0B4\uAE30",Sending:"\uC804\uC1A1\uC911","Setup TOTP":"TOTP \uC124\uC815\uD558\uAE30","Show password":"\uBE44\uBC00\uBC88\uD638 \uBCF4\uC774\uAE30","Sign in":"\uB85C\uADF8\uC778","Sign In":"\uB85C\uADF8\uC778","Sign In with Amazon":"Amazon \uB85C\uADF8\uC778","Sign In with Apple":"Apple \uB85C\uADF8\uC778","Sign In with Facebook":"Facebook \uB85C\uADF8\uC778","Sign In with Google":"Google \uB85C\uADF8\uC778","Sign in to your account":"\uB85C\uADF8\uC778","Create a new account":"\uD68C\uC6D0\uAC00\uC785","Signing in":"\uB85C\uADF8\uC778\uC911",Skip:"\uB2E4\uC74C\uC5D0 \uD558\uAE30",Submit:"\uD655\uC778",Submitting:"\uD655\uC778\uC911","Verify Contact":"\uC5F0\uB77D\uCC98 \uD655\uC778","Account recovery requires verified contact information":"\uACC4\uC815 \uBCF5\uAD6C\uB97C \uC704\uD574 \uC5F0\uB77D\uCC98 \uD655\uC778\uC774 \uD544\uC694\uD569\uB2C8\uB2E4",Verify:"\uC778\uC99D",Website:"\uC6F9\uC0AC\uC774\uD2B8"};A();var $_={"Back to Sign In":"Terug naar inloggen","Change Password":"Wachtwoord wijzigen",Changing:"Wordt aangepast",Code:"Code","Confirm Password":"Bevestig Wachtwoord","Reset your Password":"Wachtwoord resetten","Confirm Sign Up":"Bevestig inschrijving","Confirm SMS Code":"Bevestig SMS Code","Confirm TOTP Code":"Bevestig TOTP Code",Confirm:"Bevestig","Confirmation Code":"Bevestigingscode",Confirming:"Bevestigen","Create Account":"Account aanmaken","Creating Account":"Account wordt aangemaakt",Email:"E-mail","Enter your code":"Vul je code in","Enter your username":"Vul je gebruikersnaam in","Enter your phone number":"Vul je telefoonnummer in","Enter your email":"Vul je e-mail in","Forgot your password?":"Wachtwoord vergeten? ","Hide password":"Verberg wachtwoord",Loading:"Laden",Username:"Gebruikersnaam","New password":"Nieuw wachtwoord",Password:"Wachtwoord","Phone Number":"Telefoonnummer","Resend Code":"Verstuur code nogmaals","Reset your password":"Reset je wachtwoord","Send Code":"Verstuur Code","Send code":"Verstuur code",Sending:"Versturen","Setup TOTP":"TOTP Instellingen","Show password":"Toon wachtwoord","Sign in":"Inloggen","Sign In":"Inloggen","Sign In with Amazon":"Inloggen met Amazon","Sign In with Apple":"Inloggen met Apple","Sign In with Facebook":"Inloggen met Facebook","Sign In with Google":"Inloggen met Google","Sign in to your account":"Inloggen op je account","Create a new account":"Nieuw account aanmaken","Signing in":"Inloggen",Skip:"Overslaan",Submit:"Versturen",Submitting:"Wordt verstuurd","Verify Contact":"Verifieer Contact","Account recovery requires verified contact information":"Accountherstel vereist geverifieerde contactgegevens",Verify:"Verifieer"};A();var B_={"Back to Sign In":"Powr\xF3t do logowania",Birthdate:"Data urodzenia","Change Password":"Zmie\u0144 has\u0142o",Changing:"Zmienianie",Code:"Kod","Confirm Password":"Potwierd\u017A Has\u0142o","Reset your Password":"Zresetuj swoje has\u0142o","Confirm Sign Up":"Potwierd\u017A rejestracj\u0119","Confirm SMS Code":"Potwierd\u017A kod SMS","Confirm TOTP Code":"Potwierd\u017A has\u0142o jednorazowe",Confirm:"Potwierd\u017A","Confirmation Code":"Kod potwierdzenia",Confirming:"Potwierdzanie","Create Account":"Utw\xF3rz konto","Creating Account":"Tworzenie konta",Email:"E-mail","Enter your code":"Wprowad\u017A sw\xF3j kod","Enter your username":"Wprowad\u017A swoj\u0105 nazw\u0119 u\u017Cytkownika","Family Name":"Nazwisko","Given Name":"Pierwsze imi\u0119","Forgot your password?":"Zapomnia\u0142e\u015B has\u0142a? ","Hide password":"Ukryj has\u0142o",Loading:"\u0141adowanie",Username:"Nazwa u\u017Cytkownika","Middle Name":"Drugie imi\u0119",Name:"Imi\u0119 i nazwisko",Nickname:"Pseudonim","New password":"Nowe has\u0142o",Password:"Has\u0142o","Phone Number":"Numer telefonu","Preferred Username":"Preferowana nazwa u\u017Cytkownika",Profile:"Profil","Resend Code":"Wy\u015Blij kod ponownie","Reset your password":"Zresetuj swoje has\u0142o","Send Code":"Zresetuj has\u0142o","Send code":"Wy\u015Blij kod",Sending:"Wysy\u0142anie","Setup TOTP":"Konfiguruj TOTP","Show password":"Poka\u017C has\u0142o","Sign in":"Zaloguj","Sign In":"Logowanie","Sign In with Amazon":"Zaloguj z Amazon","Sign In with Apple":"Zaloguj z Apple","Sign In with Facebook":"Zaloguj z Facebook","Sign In with Google":"Zaloguj z Google","Sign in to your account":"Zaloguj si\u0119 na swoje konto","Create a new account":"Utw\xF3rz nowe konto","Signing in":"Logowanie",Skip:"Pomi\u0144",Submit:"Wy\u015Blij",Submitting:"Wysy\u0142anie","Verify Contact":"Weryfikacja danych kontaktowych","Account recovery requires verified contact information":"Odzyskanie konta wymaga zweryfikowanych danych kontaktowych",Verify:"Zweryfikuj",Website:"Strona internetowa"};A();var F_={"Back to Sign In":"Voltar para Entrar","Change Password":"Mudar senha",Changing:"Mudando",Code:"C\xF3digo","Confirm Password":"Confirme a Senha","Reset your Password":"Redefina sua senha","Confirm Sign Up":"Confirmar inscri\xE7\xE3o","Confirm SMS Code":"Confirme o c\xF3digo SMS","Confirm TOTP Code":"Confirme o c\xF3digo TOTP",Confirm:"confirme","Confirmation Code":"C\xF3digo de confirma\xE7\xE3o",Confirming:"Confirmando","Create Account":"Criar Conta","Creating Account":"Criando conta",Email:"O email","Enter your code":"Insira seu c\xF3digo","Enter your username":"entre com seu nome de usu\xE1rio","Enter your phone number":"Digite seu n\xFAmero de telefone","Enter your email":"Digite seu e-mail","Forgot your password?":"Esqueceu sua senha? ","Hide password":"Esconder a senha",Loading:"Carregando",Username:"Nome do usu\xE1rio","New password":"Nova Senha",Password:"Senha","Phone Number":"N\xFAmero de telefone","Resend Code":"Reenviar c\xF3digo","Reset your password":"Redefina sua senha","Send Code":"Enviar c\xF3digo","Send code":"Enviar c\xF3digo",Sending:"Enviando","Setup TOTP":"Configurar TOTP","Show password":"Mostrar senha","Sign In":"Entrar","Sign in":"Entrar","Sign In with Amazon":"Entrar com a Amazon","Sign In with Apple":"Entrar com a Apple","Sign In with Facebook":"Entrar com o Facebook","Sign In with Google":"Fa\xE7a login no Google","Sign in to your account":"Fa\xE7a login em sua conta","Create a new account":"Criar uma nova conta","Signing in":"Entrando",Skip:"Pular",Submit:"Enviar",Submitting:"Enviando","Verify Contact":"Verificar contato","Account recovery requires verified contact information":"A recupera\xE7\xE3o da conta requer informa\xE7\xF5es de contato verificadas",Verify:"Verificar"};A();var D_={"Account recovery requires verified contact information":"\u8D26\u6237\u6062\u590D\u9700\u8981\u9A8C\u8BC1\u8FC7\u7684\u8054\u7CFB\u65B9\u5F0F","Back to Sign In":"\u56DE\u5230\u767B\u5F55","Change Password":"\u66F4\u6539\u5BC6\u7801",Code:"\u786E\u8BA4\u7801",Confirm:"\u786E\u8BA4","Confirm a Code":"\u786E\u8BA4\u7801","Confirm Password":"\u786E\u8BA4\u5BC6\u7801","Confirm Sign In":"\u786E\u8BA4\u767B\u5F55","Confirm Sign Up":"\u786E\u8BA4\u6CE8\u518C",Email:"\u90AE\u7BB1","Forgot Password":"\u5FD8\u8BB0\u5BC6\u7801","Incorrect username or password":"\u7528\u6237\u540D\u6216\u5BC6\u7801\u9519\u8BEF","Invalid password format":"\u5BC6\u7801\u683C\u5F0F\u9519\u8BEF","Invalid phone number format":"\u7535\u8BDD\u683C\u5F0F\u9519\u8BEF\uFF0C\u8BF7\u4F7F\u7528\u683C\u5F0F +12345678900","New Password":"\u65B0\u5BC6\u7801",or:"\u6216\u8005",Password:"\u5BC6\u7801","Phone Number":"\u7535\u8BDD","Resend a Code":"\u91CD\u53D1\u786E\u8BA4\u7801","Send Code":"\u53D1\u9001\u786E\u8BA4\u7801","Sign In":"\u767B\u5F55","Sign Out":"\u9000\u51FA","Sign Up":"\u6CE8\u518C",Skip:"\u8DF3\u8FC7",Submit:"\u63D0\u4EA4","User already exists":"\u7528\u6237\u5DF2\u7ECF\u5B58\u5728","User does not exist":"\u7528\u6237\u4E0D\u5B58\u5728",Username:"\u7528\u6237\u540D",Verify:"\u9A8C\u8BC1","Verify Contact":"\u9A8C\u8BC1\u8054\u7CFB\u65B9\u5F0F"};A();var R_={"Account recovery requires verified contact information":"F\xF6r att \xE5terst\xE4lla kontot beh\xF6ver du ett verifierat konto","An account with the given email already exists.":"Det finns redan ett konto med denna e-postadress","Back to Sign In":"Tillbaka till inloggningen","Change Password":"Byt l\xF6senord","Confirm Password":"Bekr\xE4fta l\xF6senord",Code:"Kod",Confirm:"Bekr\xE4fta","Confirm a Code":"Bekr\xE4fta koden","Confirm Sign In":"Bekr\xE4fta inloggning","Confirm Sign Up":"Bekr\xE4fta registrering","Confirmation Code":"Verifikationskod","Create a new account":"Skapa ett nytt konto","Create account":"Skapa konto","Create Account":"Skapa konto",Email:"E-post","Enter your password":"Ange ditt l\xF6senord","Enter your username":"Ange ditt anv\xE4ndarnamn","Forgot Password":"Gl\xF6mt l\xF6senordet","Forgot your password?":"Gl\xF6mt ditt l\xF6senord? ","Have an account? ":"Redan registrerad? ","Incorrect username or password":"Felaktigt anv\xE4ndarnamn eller l\xF6senord","Invalid password format":"Ogiltigt l\xF6senordsformat","Invalid phone number format":"Ogiltigt format f\xF6r telefonnummer","Lost your code? ":"F\xF6rlorat koden? ","New Password":"Nytt l\xF6senord","No account? ":"Inget konto? ",or:"eller",Password:"L\xF6senord","Password attempts exceeded":"Maximalt antal felaktiga inloggningsf\xF6rs\xF6k har uppn\xE5tts","Phone Number":"Telefonnummer","Resend Code":"Skicka koden igen","Reset password":"\xC5terst\xE4ll l\xF6senord","Reset your password":"\xC5terst\xE4ll ditt l\xF6senord","Send code":"Skicka kod","Sign in":"Logga in","Sign In":"Logga in","Sign in to your account":"Logga in till ditt konto","Sign Out":"Logga ut","Sign Up":"Registrering","We Emailed You":"Vi har skickat e-post till dig","Enter your code":"Skriv din kod",Skip:"Hoppa \xF6ver",Submit:"Skicka","User already exists":"Anv\xE4ndaren finns redan","User does not exist":"Anv\xE4ndaren finns inte",Username:"Anv\xE4ndarnamn","Username cannot be empty":"Anv\xE4ndarnamnet kan inte vara tomt",Verify:"Verifiera","Verify Contact":"Verifiera kontakt"};A();var O_={"Account recovery requires verified contact information":"Pemulihan akun memerlukan informasi kontak terverifikasi","An account with the given email already exists.":"Akun dengan email tersebut sudah terdaftar.","Attempt limit exceeded, please try after some time.":"Batas percobaan terlampaui, mohon coba lagi setelah beberapa waktu.","Back to Sign In":"Kembali ke Masuk","Cannot reset password for the user as there is no registered/verified email or phone_number":"Tidak dapat mengatur ulang kata sandi karena tidak ada email terdaftar / terverifikasi atau nomor telepon",Change:"Ubah","Change Password":"Ubah kata sandi",Code:"Kode",Confirm:"Konfirmasi","Confirm a Code":"Konfirmasi kode","Confirm Password":"Konfirmasi kata sandi","Confirmation Code":"Kode Konfirmasi","Create a new account":"Buat akun baru","Create account":"Buat akun","Create Account":"Buat Akun","Creating Account":"Membuat Akun",Confirming:"Mengkonfirmasi",Email:"Email","Enter your code":"Masukkan kode anda","Enter your email":"Masukkan email anda","Enter your password":"Masukkan kata sandi anda","Enter your phone number":"Masukkan nomor telepon anda","Enter your username":"Masukkan nama akun anda","Forgot Password":"Lupa kata sandi","Forgot your password?":"Lupa kata sandi? ","Have an account? ":"Sudah punya akun? ",Hello:"Halo","Incorrect username or password.":"Nama akun atau kata sandi salah.","Invalid phone number format":"Nomor telepon tidak sesuai dengan format.","Invalid verification code provided, please try again.":"Kode verifikasi tidak sesuai, mohon coba lagi.","It may take a minute to arrive.":"Mungkin perlu beberapa waktu untuk tiba.","Lost your code? ":"Kode anda hilang?",Name:"Nama","Network error":"Galat jaringan","New password":"Kata sandi baru","No account? ":"Tidak ada akun?",or:"atau",Password:"Kata sandi","Password did not conform with policy: Password not long enough":"Kata sandi tidak sesuai dengan aturan: Kata sandi kurang panjang","Phone Number":"Nomor telepon","Resend a Code":"Renvoyer un code","Resend Code":"Kirim ulang kodenya","Reset password":"Ubah kata sandi anda","Reset your password":"Ubah kata sandi anda",Send:"Kirim","Send Code":"Kirim Kode","Send code":"Kirim kode",Sending:"Mengirim","Sign in":"Masuk","Sign In":"Masuk","Sign in to your account":"Masuk akun anda","Sign In with Amazon":"Masuk dengan Amazon","Sign In with AWS":"Masuk dengan AWS","Sign In with Facebook":"Masuk dengan Facebook","Sign In with Google":"Masuk dengan Google","Sign Up with Amazon":"Daftar dengan Amazon","Sign Up with AWS":"Daftar dengan AWS","Sign Up with Facebook":"Daftar dengan Facebook","Sign Up with Google":"Daftar dengan Google","Signing in":"Memasuki",Skip:"Lewati",SMS:"SMS",Submit:"Ajukan",Submitting:"Mengajukan","User is disabled.":"Akun dinonaktifkan.","User already exists":"Akun sudah terdaftar","User does not exist.":"Akun tidak terdaftar.",Username:"Nama akun","Username cannot be empty":"Nama akun tidak boleh kosong","Username/client id combination not found.":"Nama akun atau id tidak ditemukan.",Verify:"Verifikasi","Verify Contact":"Verifikasi Kontak","We Emailed You":"Kami mengirimkanmu email","Your code is on the way. To log in, enter the code we emailed to":"Kode anda dalam pengiriman. Untuk masuk, masukkan kode yang kami emailkan ke","Your code is on the way. To log in, enter the code we texted to":"Kode anda dalam pengiriman. Untuk masuk, masukkan kode yang kami tuliskan ke","Your passwords must match":"Kata sandi harus sama"};A();var V_={"Account recovery requires verified contact information":"Hesap kurtarma, do\u011Frulanm\u0131\u015F ileti\u015Fim bilgilerini gerektirir","An account with the given email already exists.":"Bu e-postaya ait zaten bir hesap var.","Back to Sign In":"Oturum A\xE7maya Geri D\xF6n","Change Password":"\u015Eifreyi De\u011Fi\u015Ftir",Changing:"De\u011Fi\u015Ftiriliyor",Code:"Kod",Confirm:"Do\u011Frula","Confirm Password":"\u015Eifreyi Do\u011Frula","Confirm Sign In":"Oturum A\xE7may\u0131 Do\u011Frula","Confirm Sign Up":"Kay\u0131t \u0130\u015Flemini Do\u011Frula","Confirm SMS Code":"SMS Kodunu Do\u011Frula","Confirm TOTP Code":"Tek Kullan\u0131ml\u0131k \u015Eifreyi Do\u011Frula","Confirmation Code":"Do\u011Frulama Kodu",Confirming:"Do\u011Frulan\u0131yor","Create Account":"Hesap Olu\u015Ftur","Creating Account":"Hesap Olu\u015Fturuluyor",Email:"E-posta","Enter your code":"Kodu girin","Enter your username":"Kullan\u0131c\u0131 ad\u0131n\u0131z\u0131 girin","Enter your phone number":"Telefon numaran\u0131z\u0131 girin","Enter your email":"E-posta adresinizi girin","Forgot your password?":"\u015Eifrenizi mi unuttunuz?","Hide password":"\u015Eifreyi gizle","Have an account? ":"Hesab\u0131n\u0131z var m\u0131? ","Incorrect username or password":"Yanl\u0131\u015F kullan\u0131c\u0131 ad\u0131 ya da \u015Fifre","Invalid password format":"Ge\xE7ersiz parola format\u0131","Invalid phone number format":"Ge\xE7ersiz telefon numaras\u0131 format\u0131","Lost your code? ":"Kodu mu kaybettiniz? ",Loading:"Y\xFCkleniyor","New password":"Yeni \u015Fifre","No account? ":"Hesab\u0131n\u0131z yok mu? ",or:"veya",Password:"\u015Eifre","Password attempts exceeded":"Maksimum oturum a\xE7ma giri\u015Fimi a\u015F\u0131ld\u0131","Phone Number":"Telefon Numaras\u0131","Resend Code":"Kodu Yeniden G\xF6nder","Reset your password":"\u015Eifrenizi s\u0131f\u0131rlay\u0131n","Reset your Password":"\u015Eifrenizi S\u0131f\u0131rlay\u0131n","Send Code":"Kod G\xF6nder","Send code":"Kod g\xF6nder",Sending:"G\xF6nderiliyor","Setup TOTP":"Tek kullan\u0131ml\u0131k \u015Fifre kurulumu yap","Show password":"\u015Eifreyi g\xF6ster","Sign in":"Oturum a\xE7","Sign In":"Oturum A\xE7","Sign In with Amazon":"Amazon ile Oturum A\xE7","Sign In with Apple":"Apple ile Oturum A\xE7","Sign In with Facebook":"Facebook ile Oturum A\xE7","Sign In with Google":"Google ile Oturum A\xE7","Sign in to your account":"Hesab\u0131n\u0131zda oturum a\xE7\u0131n","Create a new account":"Yeni bir hesap olu\u015Ftur","Signing in":"Oturum a\xE7\u0131l\u0131yor","Sign Out":"\xC7\u0131k\u0131\u015F yap","Sign Up":"Kay\u0131t Ol",Skip:"Atla",Submit:"G\xF6nder",Submitting:"G\xF6nderiliyor","User already exists":"Bu kullan\u0131c\u0131 zaten var","User does not exist":"B\xF6yle bir kullan\u0131c\u0131 mevcut de\u011Fil",Username:"Kullan\u0131c\u0131 ad\u0131","Username cannot be empty":"Kullan\u0131c\u0131 ad\u0131 bo\u015F olamaz","Verify Contact":"Ki\u015Fiyi Do\u011Frula",Verify:"Do\u011Frula"};A();var U_={BACK_SIGN_IN:"Back to Sign In",BIRTHDATE:"Birthdate",CHANGE_PASSWORD:"Change Password",CHANGING_PASSWORD:"Changing",CODE:"Code",CONFIRM_PASSWORD:"Confirm Password",CONFIRM_RESET_PASSWORD_HEADING:"Reset your Password",CONFIRM_SIGNUP_HEADING:"Confirm Sign Up",CONFIRM_SMS:"Confirm SMS Code",CONFIRM_TOTP:"Confirm TOTP Code",CONFIRM:"Confirm",CONFIRMATION_CODE:"Confirmation Code",CONFIRMING:"Confirming",CREATE_ACCOUNT:"Create Account",CREATING_ACCOUNT:"Creating Account",EMAIL_ADDRESS:"Email",ENTER_CODE:"Enter your code",ENTER_USERNAME:"Enter your username",FAMILY_NAME:"Family Name",GIVEN_NAME:"Given Name",FORGOT_YOUR_PASSWORD:"Forgot your password?",FORGOT_YOUR_PASSWORD_LEGACY:"Forgot your password? ",HIDE_PASSWORD:"Hide password",LOADING:"Loading",LOGIN_NAME:"Username",MIDDLE_NAME:"Middle Name",NAME:"Name",NICKNAME:"Nickname",NEW_PASSWORD:"New password",PASSWORD:"Password",PHONE_NUMBER:"Phone Number",PREFERRED_USERNAME:"Preferred Username",PROFILE:"Profile",RESEND_CODE:"Resend Code",RESET_PASSWORD_HEADING:"Reset your password",RESET_PASSWORD:"Reset Password",SEND_CODE:"Send code",SENDING:"Sending",SETUP_TOTP:"Setup TOTP",SHOW_PASSWORD:"Show password",SIGN_IN_BUTTON:"Sign in",SIGN_IN_TAB:"Sign In",SIGN_IN_WITH_AMAZON:"Sign In with Amazon",SIGN_IN_WITH_APPLE:"Sign In with Apple",SIGN_IN_WITH_FACEBOOK:"Sign In with Facebook",SIGN_IN_WITH_GOOGLE:"Sign In with Google",SIGN_IN:"Sign in to your account",SIGN_UP_BUTTON:"Create a new account",SIGNING_IN_BUTTON:"Signing in",SKIP:"Skip",SUBMIT:"Submit",SUBMITTING:"Submitting",VERIFY_CONTACT:"Verify Contact",VERIFY_HEADING:"Account recovery requires verified contact information",VERIFY:"Verify",WEBSITE:"Website"},M_=ue({},E_),z_=ue({},A_),L_=ue({},I_),j_=ue({},k_),G_=ue({},P_),H_=ue({},N_),W_=ue({},T_),K_=ue({},$_),q_=ue({},B_),Y_=ue({},F_),Z_=ue({},D_),X_=ue({},R_),J_=ue({},O_),Q_=ue({},V_),e3=ue({},U_);ue({},e3);function T(e){return me.I18n.get(e)}function t3(e){return me.I18n.get(e)!==e}var r3={de:M_,en:z_,es:L_,fr:j_,id:J_,it:G_,ja:H_,kr:W_,nl:K_,pl:q_,pt:Y_,zh:Z_,sv:X_,tr:Q_};A();A();A();var Gr=e=>Cv(e),n3=ge({attributeToVerify:e=>{}}),a3=ge({challengeName:e=>{}}),o3=ge({requiredAttributes:e=>{}}),fa=ge({remoteError:e=>""}),va=ge({formValues:e=>({})}),pa=ge({touched:e=>({})}),i3=ge({unverifiedAttributes:e=>{}}),s3=ge({username:e=>{}}),ma=ge({validationError:e=>({})}),l3=ge({challengeName:(e,t)=>{var r;return(r=t.data)==null?void 0:r.challengeName}}),u3=ge({requiredAttributes:(e,t)=>{var r,a;return(a=(r=t.data)==null?void 0:r.challengeParam)==null?void 0:a.requiredAttributes}}),c3=ge({redirectIntent:e=>"confirmPasswordReset"}),d3=ge({redirectIntent:e=>"confirmSignUp"}),Fs=ge({authAttributes:(e,t)=>{var r,a;let[o]=e.loginMechanisms,i=(r=e.formValues[o])!=null?r:e.formValues.username,s=(a=e.formValues)==null?void 0:a.password;return{username:i,password:s}}}),ha=ge({validationError:(e,t)=>t.data}),ga=ge({remoteError:(e,t)=>{var r;return t.data.name==="NoUserPoolError"?"Configuration error (see console) \u2013 please contact the administrator":((r=t.data)==null?void 0:r.message)||t.data}}),f3=ge({unverifiedAttributes:(e,t)=>t.data.unverified}),Ds=ge({user:(e,t)=>t.data.user||t.data}),v3=ge({username:(e,t)=>e.formValues.username}),p3=ge({codeDeliveryDetails:(e,t)=>t.data.codeDeliveryDetails}),m3=ge({authAttributes:(e,t)=>({username:e.formValues.username})}),ya=ge({formValues:(e,t)=>{let{name:r,value:a}=t.data;return Qt(ue({},e.formValues),{[r]:a})}}),ba=ge({formValues:(e,t)=>ue(ue({},e.formValues),t.data)}),Ca=ge({touched:(e,t)=>{let{name:r}=t.data;return Qt(ue({},e.touched),{[`${r}`]:!0})}}),Rs=ge({formValues:(e,t)=>{var r;let[a="username"]=e.loginMechanisms;if(!e.formValues.phone_number&&a!=="phone_number")return e.formValues;let{formValues:o,country_code:i}=e,s=o.phone_number?"phone_number":"username",l=`${(r=o.country_code)!=null?r:i}${o[s]}`.replace(/[^A-Z0-9+]/gi,""),u=Qt(ue({},o),{[s]:l});return delete u.country_code,u}});A();A();A();var wa=async(e,t,r,a)=>{let o=await Promise.all(a.map(s=>s(e,t,r))),i=Ey({},...o);return Zn(i)?Promise.resolve():Promise.reject(i)};A();var Sa={async getAmplifyConfig(){return me.Amplify.configure()},async getCurrentUser(){return me.Auth.currentAuthenticatedUser()},async handleSignUp(e){return me.Auth.signUp(e)},async handleSignIn({username:e,password:t}){return me.Auth.signIn(e,t)},async handleConfirmSignIn({user:e,code:t,mfaType:r}){return me.Auth.confirmSignIn(e,t,r)},async handleConfirmSignUp({username:e,code:t}){return await me.Auth.confirmSignUp(e,t)},async handleForgotPasswordSubmit({username:e,code:t,password:r}){return me.Auth.forgotPasswordSubmit(e,t,r)},async handleForgotPassword(e){return me.Auth.forgotPassword(e)},async validateCustomSignUp(e,t){},async validateFormPassword(e,t,r){let{password:a}=e,{password:o}=t;if(!o||!r)return null;let i=[],s=+(r==null?void 0:r.passwordPolicyMinLength);a.length<s&&i.push(`Password must have at least ${s} characters`);let l=r==null?void 0:r.passwordPolicyCharacters;return l==null||l.forEach(u=>{switch(u){case"REQUIRES_LOWERCASE":/[a-z]/.test(a)||i.push("Password must have lower case letters");break;case"REQUIRES_UPPERCASE":/[A-Z]/.test(a)||i.push("Password must have upper case letters");break;case"REQUIRES_NUMBERS":/[0-9]/.test(a)||i.push("Password must have numbers");break;case"REQUIRES_SYMBOLS":/[\W]/.test(a)||i.push("Password must have special characters");break}}),i.length!==0?{password:i}:null},async validateConfirmPassword(e,t){let{password:r,confirm_password:a}=e,{confirm_password:o,password:i}=t;if(!r&&!a)return null;if((r||a)&&r!==a&&(o&&i||(r==null?void 0:r.length)>=6&&(a==null?void 0:a.length)>=6))return{confirm_password:"Your passwords must match"}},async validatePreferredUsername(e,t){}};function h3({services:e}){return Zt({initial:"init",id:"signInActor",states:{init:{always:[{target:"signIn"}]},signIn:{initial:"edit",exit:["clearFormValues","clearTouched"],states:{edit:{entry:ne(),on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},FEDERATED_SIGN_IN:"federatedSignIn"}},federatedSignIn:{tags:["pending"],entry:[ne(),"clearError"],invoke:{src:"federatedSignIn",onError:{actions:"setRemoteError"}}},submit:{tags:["pending"],entry:["parsePhoneNumber","clearError",ne()],invoke:{src:"signIn",onDone:[{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldForceChangePassword",actions:["setUser","setChallengeName","setRequiredAttributes"],target:"#signInActor.forceNewPassword"},{actions:"setUser",target:"verifying"}],onError:[{cond:"shouldRedirectToConfirmSignUp",actions:["setCredentials","setConfirmSignUpIntent"],target:"rejected"},{cond:"shouldRedirectToConfirmResetPassword",actions:["setUsernameAuthAttributes","setConfirmResetPasswordIntent"],target:"rejected"},{actions:"setRemoteError",target:"edit"}]}},verifying:{tags:["pending"],entry:["clearError",ne()],invoke:{src:"checkVerifiedContact",onDone:[{cond:"shouldRequestVerification",target:"#signInActor.verifyUser",actions:"setUnverifiedAttributes"},{target:"resolved"}],onError:{actions:"setRemoteError",target:"edit"}}},resolved:{always:"#signInActor.resolved"},rejected:{always:"#signInActor.rejected"}}},confirmSignIn:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:ne(),on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:["clearError",ne()],invoke:{src:"confirmSignIn",onDone:{target:"#signInActor.resolved",actions:["setUser","clearChallengeName","clearRequiredAttributes"]},onError:{target:"edit",actions:"setRemoteError"}}}}},forceNewPassword:{type:"parallel",exit:["clearFormValues","clearError","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateFields",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:ne()},invalid:{entry:ne()}},on:{SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submit:{initial:"idle",entry:"clearError",states:{idle:{entry:ne(),on:{SUBMIT:{actions:"handleSubmit",target:"validate"}}},validate:{entry:ne(),invoke:{src:"validateFields",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},pending:{tags:["pending"],entry:[ne(),"clearError"],invoke:{src:"forceNewPassword",onDone:[{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{target:"resolved",actions:["setUser","setCredentials"]}],onError:{target:"idle",actions:"setRemoteError"}}},resolved:{type:"final",always:"#signInActor.resolved"}}}}},setupTOTP:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:ne(),on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:[ne(),"clearError"],invoke:{src:"verifyTotpToken",onDone:{actions:["setUser","clearChallengeName","clearRequiredAttributes"],target:"#signInActor.resolved"},onError:{actions:"setRemoteError",target:"edit"}}}}},verifyUser:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:ne(),on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SKIP:"#signInActor.resolved",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:"clearError",invoke:{src:"verifyUser",onDone:{target:"#signInActor.confirmVerifyUser"},onError:{actions:"setRemoteError",target:"edit"}}}}},confirmVerifyUser:{initial:"edit",exit:["clearFormValues","clearError","clearUnverifiedAttributes","clearAttributeToVerify","clearTouched"],states:{edit:{entry:ne(),on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SKIP:"#signInActor.resolved",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:"clearError",invoke:{src:"confirmVerifyUser",onDone:{target:"#signInActor.resolved"},onError:{actions:"setRemoteError",target:"edit"}}}}},resolved:{type:"final",data:t=>({user:t.user})},rejected:{type:"final",data:(t,r)=>({intent:t.redirectIntent,authAttributes:t.authAttributes})}}},{actions:{clearAttributeToVerify:n3,clearChallengeName:a3,clearRequiredAttributes:o3,clearError:fa,clearFormValues:va,clearTouched:pa,clearUnverifiedAttributes:i3,clearValidationError:ma,handleInput:ya,handleSubmit:ba,handleBlur:Ca,parsePhoneNumber:Rs,setChallengeName:l3,setConfirmResetPasswordIntent:c3,setConfirmSignUpIntent:d3,setRequiredAttributes:u3,setCredentials:Fs,setFieldErrors:ha,setRemoteError:ga,setUnverifiedAttributes:f3,setUser:Ds,setUsernameAuthAttributes:m3},guards:{shouldConfirmSignIn:(t,r)=>{let a=Ue(r,"data.challengeName");return["SMS_MFA","SOFTWARE_TOKEN_MFA"].includes(a)},shouldRedirectToConfirmSignUp:(t,r)=>r.data.code==="UserNotConfirmedException",shouldRedirectToConfirmResetPassword:(t,r)=>r.data.code==="PasswordResetRequiredException",shouldSetupTOTP:(t,r)=>Ue(r,"data.challengeName")==="MFA_SETUP",shouldForceChangePassword:(t,r)=>Ue(r,"data.challengeName")==="NEW_PASSWORD_REQUIRED",shouldRequestVerification:(t,r)=>{let{unverified:a,verified:o}=r.data;return Zn(o)&&!Zn(a)}},services:{async signIn(t){let{username:r,password:a}=t.formValues;return await e.handleSignIn({username:r,password:a})},async confirmSignIn(t,r){let{challengeName:a,user:o}=t,{confirmation_code:i}=t.formValues,s;return(a==="SMS_MFA"||a==="SOFTWARE_TOKEN_MFA")&&(s=a),await e.handleConfirmSignIn({user:o,code:i,mfaType:s}),await me.Auth.currentAuthenticatedUser()},async forceNewPassword(t,r){let{user:a,formValues:o}=t,i=o,{password:s,confirm_password:l,phone_number:u,country_code:d}=i,c=ks(i,["password","confirm_password","phone_number","country_code"]),v;return u&&(v=`${d}${u}`.replace(/[^A-Z0-9+]/gi,""),c=Qt(ue({},c),{phone_number:v})),me.Auth.completeNewPassword(a,s,c)},async verifyTotpToken(t,r){let{user:a}=t,{confirmation_code:o}=t.formValues;return me.Auth.verifyTotpToken(a,o)},async federatedSignIn(t,r){let{provider:a}=r.data;return await me.Auth.federatedSignIn({provider:a})},async checkVerifiedContact(t,r){let{user:a}=t;return await me.Auth.verifiedContact(a)},async verifyUser(t,r){let{unverifiedAttr:a}=t.formValues,o=await me.Auth.verifyCurrentUserAttribute(a);return t.attributeToVerify=a,o},async confirmVerifyUser(t,r){let{attributeToVerify:a}=t,{confirmation_code:o}=t.formValues;return await me.Auth.verifyCurrentUserAttributeSubmit(a,o)},async validateFields(t,r){return wa(t.formValues,t.touched,t.passwordSettings,[Sa.validateConfirmPassword])}}})}A();var g3=Zt({initial:"pending",id:"signOutActor",states:{pending:{tags:["pending"],invoke:{src:"signOut",onDone:"resolved",onError:"rejected"}},resolved:{type:"final"},rejected:{type:"final"}}},{services:{signOut:()=>me.Auth.signOut()}});A();function y3({services:e}){return Zt({id:"resetPasswordActor",initial:"init",states:{init:{always:[{target:"confirmResetPassword",cond:"shouldAutoConfirmReset"},{target:"resetPassword"}]},resetPassword:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:ne(),on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"}}},submit:{tags:["pending"],entry:[ne(),"setUsername","clearError"],invoke:{src:"resetPassword",onDone:{target:"#resetPasswordActor.confirmResetPassword"},onError:{actions:["setRemoteError"],target:"edit"}}}}},confirmResetPassword:{type:"parallel",exit:["clearFormValues","clearError","clearUsername","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateFields",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:ne()},invalid:{entry:ne()}},on:{CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submission:{initial:"idle",states:{idle:{entry:ne(),on:{SUBMIT:{actions:"handleSubmit",target:"validate"},RESEND:"resendCode",CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"}}},validate:{entry:ne(),invoke:{src:"validateFields",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},resendCode:{tags:["pending"],entry:["clearError",ne()],invoke:{src:"resetPassword",onDone:{target:"idle"},onError:{actions:"setRemoteError",target:"idle"}}},pending:{tags:["pending"],entry:["clearError",ne()],invoke:{src:"confirmResetPassword",onDone:{actions:"clearUsername",target:"#resetPasswordActor.resolved"},onError:{actions:"setRemoteError",target:"idle"}}}}}}},resolved:{type:"final"}}},{actions:{clearError:fa,clearFormValues:va,clearTouched:pa,clearUsername:s3,clearValidationError:ma,handleInput:ya,handleSubmit:ba,handleBlur:Ca,setFieldErrors:ha,setRemoteError:ga,setUsername:v3},guards:{shouldAutoConfirmReset:(t,r)=>!!(t.intent&&t.intent==="confirmPasswordReset")},services:{async resetPassword(t){var r,a;let o=(a=(r=t.formValues)==null?void 0:r.username)!=null?a:t.username;return e.handleForgotPassword(o)},async confirmResetPassword(t){let{username:r}=t,{confirmation_code:a,password:o}=t.formValues;return e.handleForgotPasswordSubmit({username:r,code:a,password:o})},async validateFields(t,r){return wa(t.formValues,t.touched,t.passwordSettings,[Sa.validateConfirmPassword])}}})}A();function b3({services:e}){return Zt({id:"signUpActor",initial:"init",states:{init:{always:[{target:"confirmSignUp",cond:"shouldInitConfirmSignUp"},{target:"signUp"}]},signUp:{type:"parallel",exit:["clearError","clearFormValues","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateSignUp",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:ne()},invalid:{entry:ne()}},on:{CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submission:{initial:"idle",states:{idle:{entry:ne(),on:{SUBMIT:{actions:"handleSubmit",target:"validate"},FEDERATED_SIGN_IN:"federatedSignIn"}},federatedSignIn:{tags:["pending"],entry:[ne(),"clearError"],invoke:{src:"federatedSignIn",onDone:"#signUpActor.resolved",onError:{actions:"setRemoteError"}}},validate:{entry:ne(),invoke:{src:"validateSignUp",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},pending:{tags:["pending"],entry:["parsePhoneNumber",ne(),"clearError"],invoke:{src:"signUp",onDone:[{cond:"shouldSkipConfirm",target:"skipConfirm",actions:["setUser"]},{target:"resolved",actions:["setUser","setCredentials","setCodeDeliveryDetails"]}],onError:{target:"idle",actions:"setRemoteError"}}},skipConfirm:{invoke:{src:"signIn",onDone:{target:"#signUpActor.resolved",actions:"setUser"},onError:{target:"idle",actions:"setRemoteError"}}},resolved:{type:"final",always:"#signUpActor.confirmSignUp"}}}}},confirmSignUp:{initial:"edit",states:{edit:{entry:ne(),on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"},RESEND:"resend"}},resend:{tags:["pending"],entry:ne(),invoke:{src:"resendConfirmationCode",onDone:{target:"edit"},onError:[{target:"#signUpActor.resolved",actions:"setUser",cond:"isUserAlreadyConfirmed"},{target:"edit",actions:"setRemoteError"}]}},submit:{tags:["pending"],entry:[ne(),"clearError"],invoke:{src:"confirmSignUp",onDone:{target:"#signUpActor.resolved",actions:["setUser"]},onError:{target:"edit",actions:"setRemoteError"}}}}},resolved:{type:"final",data:(t,r)=>{let{username:a,password:o}=t.authAttributes;return{user:Ue(r,"data.user")||t.user,authAttributes:{username:a,password:o}}}}}},{guards:{isUserAlreadyConfirmed:(t,r)=>r.data.message==="User is already confirmed.",shouldInitConfirmSignUp:t=>t.intent&&t.intent==="confirmSignUp",shouldSkipConfirm:(t,r)=>r.data.userConfirmed},actions:{clearError:fa,clearFormValues:va,clearTouched:pa,clearValidationError:ma,handleInput:ya,handleSubmit:ba,handleBlur:Ca,parsePhoneNumber:Rs,setCredentials:Fs,setFieldErrors:ha,setRemoteError:ga,setCodeDeliveryDetails:p3,setUser:Ds},services:{async signIn(t,r){let{user:a,authAttributes:o,formValues:i}=t,s=Ue(a,"username")||Ue(o,"username"),l=Ue(i,"password");return await me.Auth.signIn(s,l)},async confirmSignUp(t,r){let{user:a,authAttributes:o,formValues:i}=t,{confirmation_code:s}=i,l=Ue(a,"username")||Ue(o,"username"),{password:u}=o;return await e.handleConfirmSignUp({username:l,code:s}),await me.Auth.signIn(l,u)},async resendConfirmationCode(t,r){let{user:a,authAttributes:o}=t,i=Ue(a,"username")||Ue(o,"username");return me.Auth.resendSignUp(i)},async federatedSignIn(t,r){let{provider:a}=r.data;return await me.Auth.federatedSignIn({provider:a})},async signUp(t,r){let{formValues:a,loginMechanisms:o}=t,[i="username"]=o,{[i]:s,password:l}=a,u=AC(a,(d,c)=>{switch(c){case"address":case"birthdate":case"email":case"family_name":case"gender":case"given_name":case"locale":case"middle_name":case"name":case"nickname":case"phone_number":case"picture":case"preferred_username":case"profile":case"updated_at":case"website":case"zoneinfo":return!0;default:return c.startsWith("custom:")}});return await e.handleSignUp({username:s,password:l,attributes:u})},async validateSignUp(t,r){return wa(t.formValues,t.touched,t.passwordSettings,[e.validateFormPassword,e.validateConfirmPassword,e.validatePreferredUsername,e.validateCustomSignUp])}}})}var Os="+1";function C3(){return Zt({id:"authenticator",initial:"idle",context:{user:void 0,config:{},services:{},actorRef:void 0},states:{idle:{on:{INIT:{target:"setup",actions:"configure"}}},setup:{invoke:[{src:(e,t)=>e.services.getCurrentUser(),onDone:{actions:"setUser",target:"authenticated"},onError:[{target:"signUp",cond:e=>e.config.initialState==="signUp"},{target:"resetPassword",cond:e=>e.config.initialState==="resetPassword"},{target:"signIn"}]},{src:(e,t)=>e.services.getAmplifyConfig(),onDone:{actions:"applyAmplifyConfig"}}]},signIn:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignInActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:Gr("signInActor")}},on:{SIGN_UP:"signUp",RESET_PASSWORD:"resetPassword","done.invoke.signInActor":[{target:"signUp",actions:"setActorDoneData",cond:"shouldRedirectToSignUp"},{target:"resetPassword",actions:"setActorDoneData",cond:"shouldRedirectToResetPassword"},{target:"authenticated",actions:"setActorDoneData"}]}},signUp:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignUpActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:Gr("signUpActor")}},on:{SIGN_IN:"signIn","done.invoke.signUpActor":{target:"setup",actions:"setActorDoneData"}}},resetPassword:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnResetPasswordActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:Gr("resetPasswordActor")}},on:{SIGN_IN:"signIn","done.invoke.resetPasswordActor":{target:"signIn",actions:"setActorDoneData"}}},signOut:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignOutActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:[Gr("signOutActor"),"clearUser"]}},on:{"done.invoke.signOutActor":"signIn"}},authenticated:{on:{SIGN_OUT:"signOut"}}},on:{CHANGE:{actions:"forwardToActor"},BLUR:{actions:"forwardToActor"},SUBMIT:{actions:"forwardToActor"},FEDERATED_SIGN_IN:{actions:"forwardToActor"},RESEND:{actions:"forwardToActor"},SIGN_OUT:{actions:"forwardToActor"},SIGN_IN:{actions:"forwardToActor"},SKIP:{actions:"forwardToActor"}}},{actions:{forwardToActor:uf(e=>e.actorRef),setUser:Je({user:(e,t)=>t.data}),setActorDoneData:Je({actorDoneData:(e,t)=>{var r,a;return{authAttributes:ue({},(r=t.data)==null?void 0:r.authAttributes),intent:(a=t.data)==null?void 0:a.intent}},user:(e,t)=>{var r;return(r=t.data)==null?void 0:r.user}}),clearUser:Je({user:void 0}),clearActorDoneData:Je({actorDoneData:void 0}),applyAmplifyConfig:Je({config(e,t){var r,a,o,i,s,l,u,d,c;let v=(a=(r=t.data.aws_cognito_username_attributes)==null?void 0:r.map(E=>E.toLowerCase()))!=null?a:[],f=(i=(o=t.data.aws_cognito_verification_mechanisms)==null?void 0:o.map(E=>E.toLowerCase()))!=null?i:[],p=(l=(s=t.data.aws_cognito_signup_attributes)==null?void 0:s.map(E=>E.toLowerCase()))!=null?l:[],m=(d=(u=t.data.aws_cognito_social_providers)==null?void 0:u.map(E=>E.toLowerCase()))!=null?d:[],y=t.data.aws_cognito_password_protection_settings||{};v.length===0&&v.push("username");let{loginMechanisms:C,signUpAttributes:b,socialProviders:g,initialState:w,formFields:_}=e.config;return{loginMechanisms:C!=null?C:v,formFields:(c=w3(_))!=null?c:{},passwordSettings:y,signUpAttributes:b!=null?b:Array.from(new Set([...f,...p])),socialProviders:g!=null?g:m.sort(),initialState:w}}}),spawnSignInActor:Je({actorRef:(e,t)=>{var r,a,o,i,s;let{services:l}=e,u=h3({services:l}).withContext({authAttributes:(r=e.actorDoneData)==null?void 0:r.authAttributes,user:e.user,intent:(a=e.actorDoneData)==null?void 0:a.intent,country_code:Os,formValues:{},touched:{},validationError:{},loginMechanisms:(o=e.config)==null?void 0:o.loginMechanisms,socialProviders:(i=e.config)==null?void 0:i.socialProviders,formFields:(s=e.config)==null?void 0:s.formFields});return Pr(u,{name:"signInActor"})}}),spawnSignUpActor:Je({actorRef:(e,t)=>{var r,a,o,i,s,l,u;let{services:d}=e,c=b3({services:d}).withContext({authAttributes:(a=(r=e.actorDoneData)==null?void 0:r.authAttributes)!=null?a:{},country_code:Os,intent:(o=e.actorDoneData)==null?void 0:o.intent,formValues:{},touched:{},validationError:{},loginMechanisms:(i=e.config)==null?void 0:i.loginMechanisms,socialProviders:(s=e.config)==null?void 0:s.socialProviders,formFields:(l=e.config)==null?void 0:l.formFields,passwordSettings:(u=e.config)==null?void 0:u.passwordSettings});return Pr(c,{name:"signUpActor"})}}),spawnResetPasswordActor:Je({actorRef:(e,t)=>{var r,a,o,i;let{services:s}=e,l=y3({services:s}).withContext({formValues:{},touched:{},intent:(r=e.actorDoneData)==null?void 0:r.intent,username:(o=(a=e.actorDoneData)==null?void 0:a.authAttributes)==null?void 0:o.username,formFields:(i=e.config)==null?void 0:i.formFields,validationError:{}});return Pr(l,{name:"resetPasswordActor"})}}),spawnSignOutActor:Je({actorRef:e=>{let t=g3.withContext({user:e.user});return Pr(t,{name:"signOutActor"})}}),configure:Je((e,t)=>{let r=t.data,{services:a}=r,o=ks(r,["services"]);return{services:ue(ue({},Sa),a),config:o}})},guards:{shouldRedirectToSignUp:(e,t)=>{var r;return((r=t.data)==null?void 0:r.intent)?t.data.intent==="confirmSignUp":!1},shouldRedirectToResetPassword:(e,t)=>{var r;return((r=t.data)==null?void 0:r.intent)?t.data.intent==="confirmPasswordReset":!1}}})}function w3(e){return e&&Object.keys(e).forEach(t=>{Object.keys(e[t]).forEach(r=>{let a=e[t][r];a.required=a.isRequired})}),e}A();A();A();A();A();var S3={small:{value:"1px"},medium:{value:"2px"},large:{value:"3px"}};A();var _3={red:{10:{value:"hsl(0, 75%, 95%)"},20:{value:"hsl(0, 75%, 85%)"},40:{value:"hsl(0, 75%, 75%)"},60:{value:"hsl(0, 50%, 50%)"},80:{value:"hsl(0, 95%, 30%)"},90:{value:"hsl(0, 100%, 20%)"},100:{value:"hsl(0, 100%, 15%)"}},orange:{10:{value:"hsl(30, 75%, 95%)"},20:{value:"hsl(30, 75%, 85%)"},40:{value:"hsl(30, 75%, 75%)"},60:{value:"hsl(30, 50%, 50%)"},80:{value:"hsl(30, 95%, 30%)"},90:{value:"hsl(30, 100%, 20%)"},100:{value:"hsl(30, 100%, 15%)"}},yellow:{10:{value:"hsl(60, 75%, 95%)"},20:{value:"hsl(60, 75%, 85%)"},40:{value:"hsl(60, 75%, 75%)"},60:{value:"hsl(60, 50%, 50%)"},80:{value:"hsl(60, 95%, 30%)"},90:{value:"hsl(60, 100%, 20%)"},100:{value:"hsl(60, 100%, 15%)"}},green:{10:{value:"hsl(130, 60%, 95%)"},20:{value:"hsl(130, 60%, 90%)"},40:{value:"hsl(130, 44%, 63%)"},60:{value:"hsl(130, 43%, 46%)"},80:{value:"hsl(130, 33%, 37%)"},90:{value:"hsl(130, 27%, 29%)"},100:{value:"hsl(130, 22%, 23%)"}},teal:{10:{value:"hsl(190, 75%, 95%)"},20:{value:"hsl(190, 75%, 85%)"},40:{value:"hsl(190, 70%, 70%)"},60:{value:"hsl(190, 50%, 50%)"},80:{value:"hsl(190, 95%, 30%)"},90:{value:"hsl(190, 100%, 20%)"},100:{value:"hsl(190, 100%, 15%)"}},blue:{10:{value:"hsl(220, 95%, 95%)"},20:{value:"hsl(220, 85%, 85%)"},40:{value:"hsl(220, 70%, 70%)"},60:{value:"hsl(220, 50%, 50%)"},80:{value:"hsl(220, 95%, 30%)"},90:{value:"hsl(220, 100%, 20%)"},100:{value:"hsl(220, 100%, 15%)"}},purple:{10:{value:"hsl(300, 95%, 95%)"},20:{value:"hsl(300, 85%, 85%)"},40:{value:"hsl(300, 70%, 70%)"},60:{value:"hsl(300, 50%, 50%)"},80:{value:"hsl(300, 95%, 30%)"},90:{value:"hsl(300, 100%, 20%)"},100:{value:"hsl(300, 100%, 15%)"}},pink:{10:{value:"hsl(340, 95%, 95%)"},20:{value:"hsl(340, 90%, 85%)"},40:{value:"hsl(340, 70%, 70%)"},60:{value:"hsl(340, 50%, 50%)"},80:{value:"hsl(340, 95%, 30%)"},90:{value:"hsl(340, 100%, 20%)"},100:{value:"hsl(340, 100%, 15%)"}},neutral:{10:{value:"hsl(210, 5%, 98%)"},20:{value:"hsl(210, 5%, 94%)"},40:{value:"hsl(210, 5%, 87%)"},60:{value:"hsl(210, 6%, 70%)"},80:{value:"hsl(210, 10%, 40%)"},90:{value:"hsl(210, 25%, 25%)"},100:{value:"hsl(210, 50%, 10%)"}},brand:{primary:{10:{value:"{colors.teal.10.value}"},20:{value:"{colors.teal.20.value}"},40:{value:"{colors.teal.40.value}"},60:{value:"{colors.teal.60.value}"},80:{value:"{colors.teal.80.value}"},90:{value:"{colors.teal.90.value}"},100:{value:"{colors.teal.100.value}"}},secondary:{10:{value:"{colors.purple.10.value}"},20:{value:"{colors.purple.20.value}"},40:{value:"{colors.purple.40.value}"},60:{value:"{colors.purple.60.value}"},80:{value:"{colors.purple.80.value}"},90:{value:"{colors.purple.90.value}"},100:{value:"{colors.purple.100.value}"}}},font:{primary:{value:"{colors.neutral.100.value}"},secondary:{value:"{colors.neutral.90.value}"},tertiary:{value:"{colors.neutral.80.value}"},disabled:{value:"{colors.font.tertiary.value}"},inverse:{value:"{colors.white.value}"},interactive:{value:"{colors.brand.primary.80.value}"},hover:{value:"{colors.brand.primary.90.value}"},focus:{value:"{colors.brand.primary.100.value}"},active:{value:"{colors.brand.primary.100.value}"},info:{value:"{colors.blue.90.value}"},warning:{value:"{colors.orange.90.value}"},error:{value:"{colors.red.90.value}"},success:{value:"{colors.green.90.value}"}},background:{primary:{value:"{colors.white.value}"},secondary:{value:"{colors.neutral.10.value}"},tertiary:{value:"{colors.neutral.20.value}"},disabled:{value:"{colors.background.tertiary.value}"},info:{value:"{colors.blue.20.value}"},warning:{value:"{colors.orange.20.value}"},error:{value:"{colors.red.20.value}"},success:{value:"{colors.green.20.value}"}},border:{primary:{value:"{colors.neutral.60.value}"},secondary:{value:"{colors.neutral.40.value}"},tertiary:{value:"{colors.neutral.20.value}"},disabled:{value:"{colors.border.tertiary.value}"},focus:{value:"{colors.brand.primary.100.value}"},error:{value:"{colors.red.80.value}"}},shadow:{primary:{value:"hsla(210, 50%, 10%, 0.25)"},secondary:{value:"hsla(210, 50%, 10%, 0.15)"},tertiary:{value:"hsla(210, 50%, 10%, 0.05)"}},overlay:{10:{value:"hsla(0, 0%, 0%, 0.1)"},20:{value:"hsla(0, 0%, 0%, 0.2)"},30:{value:"hsla(0, 0%, 0%, 0.3)"},40:{value:"hsla(0, 0%, 0%, 0.4)"},50:{value:"hsla(0, 0%, 0%, 0.5)"},60:{value:"hsla(0, 0%, 0%, 0.6)"},70:{value:"hsla(0, 0%, 0%, 0.7)"},80:{value:"hsla(0, 0%, 0%, 0.8)"},90:{value:"hsla(0, 0%, 0%, 0.9)"}},black:{value:"hsl(0, 0%, 0%)"},white:{value:"hsl(0, 0%, 100%)"},transparent:{value:"transparent"}};A();var x3={default:{variable:{value:`'InterVariable', 'Inter var', 'Inter', -apple-system, BlinkMacSystemFont,
82
+ ***************************************************************************** */var pa=function(){return pa=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},pa.apply(this,arguments)};function gw(e){return e.toLowerCase()}var yw=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],bw=/[^A-Z0-9]+/gi;function Cw(e,t){t===void 0&&(t={});for(var r=t.splitRegexp,n=r===void 0?yw:r,o=t.stripRegexp,i=o===void 0?bw:o,s=t.transform,u=s===void 0?gw:s,l=t.delimiter,d=l===void 0?" ":l,c=ys(ys(e,n,"$1\0$2"),i,"\0"),v=0,f=c.length;c.charAt(v)==="\0";)v++;for(;c.charAt(f-1)==="\0";)f--;return c.slice(v,f).split("\0").map(u).join(d)}function ys(e,t,r){return t instanceof RegExp?e.replace(t,r):t.reduce(function(n,o){return n.replace(o,r)},e)}function Lr(e,t){return t===void 0&&(t={}),Cw(e,pa({delimiter:"."},t))}function Sw(e,t){return t===void 0&&(t={}),hs(e,qe({delimiter:"-"},t))}function ww(e,t){return t===void 0&&(t={}),Lr(e,qe({delimiter:"-"},t))}function _w(e,t){return t===void 0&&(t={}),Lr(e,qe({delimiter:"/"},t))}function xw(e){return e.charAt(0).toUpperCase()+e.substr(1)}function bs(e,t){var r=e.toLowerCase();return t===0?xw(r):r}function Ew(e,t){return t===void 0&&(t={}),va(e,qe({delimiter:" ",transform:bs},t))}function Aw(e,t){return t===void 0&&(t={}),Lr(e,qe({delimiter:"_"},t))}var Iw=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",camelCaseTransform:vs,camelCaseTransformMerge:ow,camelCase:iw,capitalCaseTransform:ms,capitalCase:hs,constantCase:hw,dotCase:Lr,headerCase:Sw,noCase:va,paramCase:ww,pascalCaseTransform:da,pascalCaseTransformMerge:ds,pascalCase:fs,pathCase:_w,sentenceCaseTransform:bs,sentenceCase:Ew,snakeCase:Aw}),$w=Ku(Iw);const zr=$w,Tw=function(e,t,r){return Object.keys(e||{}).reduce((n,o)=>{let i=e[o];return t(n,i,o,e)},r)},ma=function(e,t){Object.keys(e||{}).forEach(r=>{let n=e[r];t(n,r)})},Pw=function(e){return Object.assign(new e.constructor,e)},jr=function(e){if(e==null||typeof e!="object")return e;if(e instanceof Array)return e.reduce((t,r,n)=>(t[n]=jr(r),t),[]);if(e instanceof Object)return Object.keys(e||{}).reduce((t,r)=>(t[r]=jr(e[r]),t),{})},Cs=function(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")},kw=function(e){return typeof e=="string"||e instanceof String},Nw=function(e){return Array.isArray(e)},Bw=function(e){return[Object,Array].includes((e||{}).constructor)&&!Object.entries(e||{}).length};function Fw(e){if(typeof e!="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]")return!1;if(Object.getPrototypeOf(e)===null)return!0;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}const Rw=function(e,t){if(typeof t!="function")throw"filter is not a function";return typeof e=="undefined"?[]:e.filter(t)},Dw=function(){let e=Array.prototype.slice.call(arguments);return e.unshift({}),Object.assign(...e)},Ow=function(e,...t){var r=new Set(t);for(let n=e.length-1;n>=0;n--)r.has(e[n])&&e.splice(n,1)},Uw=function(e){return e?e[0].toUpperCase()+e.substr(1):""},Ss=function(e,t){return Cs(t)?Object.keys(t).every(r=>Ss(e[r],t[r])):e==t},Vw=function(e){let t=jr(e);return n=>Ss(n,t)},Mw={transform:zr.camelCaseTransformMerge},Lw=function(e,t){return(r,n)=>e(r,Object.assign({},Mw,t,n))};var ws={each:ma,forEach:ma,forIn:ma,keys:Object.keys,clone:Pw,cloneDeep:jr,extend:Object.assign,isString:kw,isArray:Nw,isObject:Cs,isPlainObject:Fw,isEmpty:Bw,filter:Rw,reduce:Tw,assign:Dw,upperFirst:Uw,camelCase:Lw(zr.camelCase),snakeCase:zr.snakeCase,kebabCase:zr.paramCase,pull:Ow,matches:Vw},Gr=ws;function _s(e,t,r){if(e==null)return{};var n,o,i,s,u,l,d=e[0]||{},c=1,v=e.length;for(r=r||[],typeof d!="object"&&(d={});c<v;c++)if((u=e[c])!=null){for(s in u)if(!!u.hasOwnProperty(s)&&s!=="__proto__"&&(n=d[s],i=u[s],d!==i))if(i&&(Gr.isPlainObject(i)||(o=Gr.isArray(i)))){o?(o=!1,l=n&&Gr.isArray(n)?n:[]):l=n&&Gr.isPlainObject(n)?n:{};var f=r.slice(0);f.push(s),d[s]=_s([l,i],t,f)}else i!==void 0&&(n!=null&&typeof t=="function"&&t({target:d,copy:u,path:r,key:s}),d[s]=i)}return d}var zw=_s,xs=ws;function Es(e,t){t=t||[];for(var r in e)e.hasOwnProperty(r)&&(xs.isPlainObject(e[r])&&"value"in e[r]?t.push(e[r]):xs.isPlainObject(e[r])&&Es(e[r],t));return t}var As=Es;function jw(e,t,r,n){var o=-1,i=e==null?0:e.length;for(n&&i&&(r=e[++o]);++o<i;)r=t(r,e[o],o,e);return r}var Gw=jw;function Ww(e){return function(t){return e==null?void 0:e[t]}}var Hw=Ww,Kw=Hw,qw={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Yw=Kw(qw),Zw=Yw,Xw=Zw,Jw=aa,Qw=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,e_="\\u0300-\\u036f",t_="\\ufe20-\\ufe2f",r_="\\u20d0-\\u20ff",n_=e_+t_+r_,a_="["+n_+"]",o_=RegExp(a_,"g");function i_(e){return e=Jw(e),e&&e.replace(Qw,Xw).replace(o_,"")}var s_=i_,u_=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function l_(e){return e.match(u_)||[]}var c_=l_,d_=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function f_(e){return d_.test(e)}var v_=f_,Is="\\ud800-\\udfff",p_="\\u0300-\\u036f",m_="\\ufe20-\\ufe2f",h_="\\u20d0-\\u20ff",g_=p_+m_+h_,$s="\\u2700-\\u27bf",Ts="a-z\\xdf-\\xf6\\xf8-\\xff",y_="\\xac\\xb1\\xd7\\xf7",b_="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",C_="\\u2000-\\u206f",S_=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ps="A-Z\\xc0-\\xd6\\xd8-\\xde",w_="\\ufe0e\\ufe0f",ks=y_+b_+C_+S_,Ns="['\u2019]",Bs="["+ks+"]",__="["+g_+"]",Fs="\\d+",x_="["+$s+"]",Rs="["+Ts+"]",Ds="[^"+Is+ks+Fs+$s+Ts+Ps+"]",E_="\\ud83c[\\udffb-\\udfff]",A_="(?:"+__+"|"+E_+")",I_="[^"+Is+"]",Os="(?:\\ud83c[\\udde6-\\uddff]){2}",Us="[\\ud800-\\udbff][\\udc00-\\udfff]",xt="["+Ps+"]",$_="\\u200d",Vs="(?:"+Rs+"|"+Ds+")",T_="(?:"+xt+"|"+Ds+")",Ms="(?:"+Ns+"(?:d|ll|m|re|s|t|ve))?",Ls="(?:"+Ns+"(?:D|LL|M|RE|S|T|VE))?",zs=A_+"?",js="["+w_+"]?",P_="(?:"+$_+"(?:"+[I_,Os,Us].join("|")+")"+js+zs+")*",k_="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",N_="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",B_=js+zs+P_,F_="(?:"+[x_,Os,Us].join("|")+")"+B_,R_=RegExp([xt+"?"+Rs+"+"+Ms+"(?="+[Bs,xt,"$"].join("|")+")",T_+"+"+Ls+"(?="+[Bs,xt+Vs,"$"].join("|")+")",xt+"?"+Vs+"+"+Ms,xt+"+"+Ls,N_,k_,Fs,F_].join("|"),"g");function D_(e){return e.match(R_)||[]}var O_=D_,U_=c_,V_=v_,M_=aa,L_=O_;function z_(e,t,r){return e=M_(e),t=r?void 0:t,t===void 0?V_(e)?L_(e):U_(e):e.match(t)||[]}var j_=z_,G_=Gw,W_=s_,H_=j_,K_="['\u2019]",q_=RegExp(K_,"g");function Y_(e){return function(t){return G_(H_(W_(t).replace(q_,"")),e,"")}}var Z_=Y_,X_=Z_,J_=X_(function(e,t,r){return e+(r?"-":"")+t.toLowerCase()}),Q_=J_;const e3={opening_character:"{",closing_character:"}",separator:"."};var t3=e3;const r3=t3;function n3(e={}){const t=Object.assign({},r3,e);return new RegExp("\\"+t.opening_character+"([^"+t.closing_character+"]+)\\"+t.closing_character,"g")}var a3=n3;const o3=a3;function Gs(e,t={}){const r=t instanceof RegExp?t:o3(t);if(typeof e=="string")return r.test(e);if(typeof e=="object"){let n=!1;for(const o in e)if(e.hasOwnProperty(o)){const i=e[o];if(Gs(i,t)){n=!0;break}}return n}return!1}var i3=Gs,s3=Object.defineProperty,u3=Object.defineProperties,l3=Object.getOwnPropertyDescriptors,Wr=Object.getOwnPropertySymbols,Ws=Object.prototype.hasOwnProperty,Hs=Object.prototype.propertyIsEnumerable,Ks=(e,t,r)=>t in e?s3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,M=(e,t)=>{for(var r in t||(t={}))Ws.call(t,r)&&Ks(e,r,t[r]);if(Wr)for(var r of Wr(t))Hs.call(t,r)&&Ks(e,r,t[r]);return e},Ce=(e,t)=>u3(e,l3(t)),qs=(e,t)=>{var r={};for(var n in e)Ws.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Wr)for(var n of Wr(e))t.indexOf(n)<0&&Hs.call(e,n)&&(r[n]=e[n]);return r},c3=(e,t)=>()=>(e&&(t=e(e=0)),t),G=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),_=c3(()=>{}),d3=G((e,t)=>{_(),t.exports={alignItems:{value:"center"},justifyContent:{value:"space-between"},color:{value:"{colors.font.primary.value}"},backgroundColor:{value:"{colors.background.tertiary.value}"},paddingBlock:{value:"{space.small.value}"},paddingInline:{value:"{space.medium.value}"},icon:{size:{value:"{fontSizes.xl.value}"}},heading:{fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.bold.value}"}},info:{color:{value:"{colors.font.info.value}"},backgroundColor:{value:"{colors.background.info.value}"}},error:{color:{value:"{colors.font.error.value}"},backgroundColor:{value:"{colors.background.error.value}"}},warning:{color:{value:"{colors.font.warning.value}"},backgroundColor:{value:"{colors.background.warning.value}"}},success:{color:{value:"{colors.font.success.value}"},backgroundColor:{value:"{colors.background.success.value}"}}}}),f3=G((e,t)=>{_(),t.exports={maxWidth:{value:"60rem"},modal:{width:{value:"{space.relative.full}"},height:{value:"{space.relative.full}"},backgroundColor:{value:"{colors.overlay.50.value}"},top:{value:"{space.zero}"},left:{value:"{space.zero}"}},container:{widthMax:{value:"30rem"}},router:{borderWidth:{value:"{borderWidths.small.value}"},borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},backgroundColor:{value:"{colors.background.primary.value}"},boxShadow:{value:"{shadows.medium.value}"}},footer:{paddingBottom:{value:"{space.medium.value}"}},form:{padding:{value:"{space.xl.value}"}},state:{inactive:{backgroundColor:{value:"{colors.background.secondary.value}"}}},orContainer:{color:{value:"{colors.neutral.80.value}"},orLine:{backgroundColor:{value:"{colors.background.primary.value}"}}}}}),v3=G((e,t)=>{_(),t.exports={color:{value:"{colors.font.primary.value}"},lineHeight:{value:1},fontWeight:{value:"{fontWeights.semibold.value}"},fontSize:{value:"{fontSizes.small.value}"},textAlign:{value:"center"},paddingVertical:{value:"{space.xs.value}"},paddingHorizontal:{value:"{space.small.value}"},backgroundColor:{value:"{colors.background.tertiary.value}"},borderRadius:{value:"{radii.xl.value}"},info:{color:{value:"{colors.font.info.value}"},backgroundColor:{value:"{colors.background.info.value}"}},warning:{color:{value:"{colors.font.warning.value}"},backgroundColor:{value:"{colors.background.warning.value}"}},success:{color:{value:"{colors.font.success.value}"},backgroundColor:{value:"{colors.background.success.value}"}},error:{color:{value:"{colors.font.error.value}"},backgroundColor:{value:"{colors.background.error.value}"}},small:{fontSize:{value:"{fontSizes.xs.value}"},paddingVertical:{value:"{space.xxs.value}"},paddingHorizontal:{value:"{space.xs.value}"}},large:{fontSize:{value:"{fontSizes.medium.value}"},paddingVertical:{value:"{space.small.value}"},paddingHorizontal:{value:"{space.medium.value}"}}}}),p3=G((e,t)=>{_(),t.exports={fontWeight:{value:"{fontWeights.bold.value}"},transitionDuration:{value:"{components.fieldcontrol.transitionDuration.value}"},fontSize:{value:"{components.fieldcontrol.fontSize.value}"},lineHeight:{value:"{components.fieldcontrol.lineHeight.value}"},paddingBlockStart:{value:"{components.fieldcontrol.paddingBlockStart.value}"},paddingBlockEnd:{value:"{components.fieldcontrol.paddingBlockEnd.value}"},paddingInlineStart:{value:"{components.fieldcontrol.paddingInlineStart.value}"},paddingInlineEnd:{value:"{components.fieldcontrol.paddingInlineEnd.value}"},borderColor:{value:"{components.fieldcontrol.borderColor.value}"},borderWidth:{value:"{components.fieldcontrol.borderWidth.value}"},borderStyle:{value:"{components.fieldcontrol.borderStyle.value}"},borderRadius:{value:"{components.fieldcontrol.borderRadius.value}"},color:{value:"{colors.font.primary.value}"},_hover:{color:{value:"{colors.font.focus.value}"},backgroundColor:{value:"{colors.brand.primary.10.value}"},borderColor:{value:"{colors.brand.primary.60.value}"}},_focus:{color:{value:"{colors.font.focus.value}"},backgroundColor:{value:"{colors.brand.primary.10.value}"},borderColor:{value:"{colors.border.focus.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"}},_active:{color:{value:"{colors.font.active.value}"},backgroundColor:{value:"{colors.brand.primary.20.value}"},borderColor:{value:"{colors.brand.primary.100.value}"}},_loading:{color:{value:"{colors.font.disabled.value}"},backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.tertiary.value}"}},_disabled:{color:{value:"{colors.font.disabled.value}"},backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.tertiary.value}"}},primary:{borderColor:{value:"transparent"},borderWidth:{value:"{borderWidths.small.value}"},borderStyle:{value:"solid"},backgroundColor:{value:"{colors.brand.primary.80.value}"},color:{value:"{colors.font.inverse.value}"},_disabled:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.background.disabled.value}"},color:{value:"{colors.font.disabled.value}"}},_loading:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.background.disabled.value}"},color:{value:"{colors.font.disabled.value}"}},_hover:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.90.value}"},color:{value:"{colors.font.inverse.value}"}},_focus:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.90.value}"},color:{value:"{colors.font.inverse.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"}},_active:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.100.value}"},color:{value:"{colors.font.inverse.value}"}}},menu:{borderWidth:{value:0},backgroundColor:{value:"transparent"},justifyContent:{value:"start"},_hover:{color:{value:"{colors.font.inverse.value}"},backgroundColor:{value:"{colors.brand.primary.80.value}"}},_focus:{color:{value:"{colors.font.inverse.value}"},backgroundColor:{value:"{colors.brand.primary.80.value}"}},_active:{color:{value:"{colors.font.inverse.value}"},backgroundColor:{value:"{colors.brand.primary.90.value}"}},_disabled:{color:{value:"{colors.font.disabled.value}"}}},link:{borderWidth:{value:0},borderColor:{value:"transparent"},backgroundColor:{value:"transparent"},color:{value:"{colors.font.interactive.value}"},_hover:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.10.value}"},color:{value:"{colors.font.hover.value}"}},_focus:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.10.value}"},color:{value:"{colors.font.focus.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"}},_active:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.20.value}"},color:{value:"{colors.font.active.value}"}},_disabled:{borderColor:{value:"transparent"},backgroundColor:{value:"transparent"},color:{value:"{colors.font.disabled.value}"}},_loading:{borderColor:{value:"transparent"},backgroundColor:{value:"transparent"},color:{value:"{colors.font.disabled.value}"}}},small:{fontSize:{value:"{components.fieldcontrol.small.fontSize.value}"},paddingBlockStart:{value:"{components.fieldcontrol.small.paddingBlockStart.value}"},paddingBlockEnd:{value:"{components.fieldcontrol.small.paddingBlockEnd.value}"},paddingInlineStart:{value:"{components.fieldcontrol.small.paddingInlineStart.value}"},paddingInlineEnd:{value:"{components.fieldcontrol.small.paddingInlineEnd.value}"}},large:{fontSize:{value:"{components.fieldcontrol.large.fontSize.value}"},paddingBlockStart:{value:"{components.fieldcontrol.large.paddingBlockStart.value}"},paddingBlockEnd:{value:"{components.fieldcontrol.large.paddingBlockEnd.value}"},paddingInlineStart:{value:"{components.fieldcontrol.large.paddingInlineStart.value}"},paddingInlineEnd:{value:"{components.fieldcontrol.large.paddingInlineEnd.value}"}},loaderWrapper:{alignItems:{value:"center"},gap:{value:"{space.xs.value}"}}}}),m3=G((e,t)=>{_(),t.exports={backgroundColor:{value:"{colors.background.primary.value}"},borderRadius:{value:"{radii.xs.value}"},borderWidth:{value:"0"},borderStyle:{value:"solid"},borderColor:{value:"transparent"},boxShadow:{value:"none"},padding:{value:"{space.medium.value}"},outlined:{backgroundColor:{value:"{components.card.backgroundColor.value}"},borderRadius:{value:"{radii.xs.value}"},borderWidth:{value:"{borderWidths.small.value}"},borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},boxShadow:{value:"{components.card.boxShadow.value}"}},elevated:{backgroundColor:{value:"{components.card.backgroundColor.value}"},borderRadius:{value:"{radii.xs.value}"},borderWidth:{value:"0"},borderStyle:{value:"solid"},borderColor:{value:"transparent"},boxShadow:{value:"{shadows.medium.value}"}}}}),h3=G((e,t)=>{_(),t.exports={cursor:{value:"pointer"},alignItems:{value:"center"},_disabled:{cursor:{value:"not-allowed"}},button:{position:{value:"relative"},alignItems:{value:"center"},justifyContent:{value:"center"},color:{value:"{colors.white.value}"},before:{width:{value:"100%"},height:{value:"100%"},borderWidth:{value:"{borderWidths.medium.value}"},borderRadius:{value:"20%"},borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"}},_focus:{outlineColor:{value:"{colors.transparent.value}"},outlineStyle:{value:"solid"},outlineWidth:{value:"{outlineWidths.medium.value}"},outlineOffset:{value:"{outlineOffsets.medium.value}"},borderColor:{value:"{colors.transparent.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"2px",color:"{colors.border.focus.value}"}}},_disabled:{borderColor:{value:"{colors.border.disabled.value}"}},_error:{borderColor:{value:"{colors.border.error.value}"},_focus:{borderColor:{value:"{colors.transparent.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"2px",color:"{colors.border.error.value}"}}}}},icon:{backgroundColor:{value:"{colors.brand.primary.80.value}"},borderRadius:{value:"20%"},opacity:{value:"{opacities.0.value}"},transform:{value:"scale(0)"},transitionProperty:{value:"all"},transitionDuration:{value:"{time.short.value}"},transitionTimingFunction:{value:"ease-in-out"},_checked:{opacity:{value:"{opacities.100.value}"},transform:{value:"scale(1)"},_disabled:{backgroundColor:{value:"{colors.background.disabled.value}"}}}},label:{_disabled:{color:{value:"{colors.font.disabled.value}"}}}}}),g3=G((e,t)=>{_(),t.exports={alignItems:{value:"flex-start"},alignContent:{value:"center"},flexDirection:{value:"column"},justifyContent:{value:"center"}}}),y3=G((e,t)=>{_(),t.exports={fontSize:{value:"{font.sizes.xs.value}"},gap:{value:"{space.relative.medium.value}"},svg:{path:{fill:{value:"{colors.font.primary}"}}},toolTip:{bottom:{value:"{space.large}"},color:{value:"{colors.teal.100}"},fontSize:{value:"{font.sizes.xxs}"}}}}),b3=G((e,t)=>{_(),t.exports={height:{value:"100%"}}}),C3=G((e,t)=>{_(),t.exports={borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},borderWidth:{value:"{borderWidths.medium.value}"},label:{color:{value:"{colors.font.tertiary.value}"},paddingInline:{value:"{space.medium.value}"},fontSize:{value:"{fontSizes.small.value}"},backgroundColor:{value:"{colors.background.primary.value}"}},small:{borderWidth:{value:"{borderWidths.small.value}"}},large:{borderWidth:{value:"{borderWidths.large.value}"}},opacity:{value:"{opacities.60.value}"}}}),S3=G((e,t)=>{_(),t.exports={display:{value:"block"},backgroundColor:{value:"{colors.white.value}"},borderRadius:{value:"{radii.medium.value}"},boxShadow:{value:"{shadows.large.value}"},width:{value:"100%"},item:{marginTop:{value:"1px"},boxShadow:{value:"{shadows.small.value}"},borderBottomLeftRadius:{value:"{radii.medium.value}"},borderBottomRightRadius:{value:"{radii.medium.value}"},borderTopLeftRadius:{value:"{radii.medium.value}"},borderTopRightRadius:{value:"{radii.medium.value}"},borderStartStartRadius:{value:"{radii.medium.value}"},borderStartEndRadius:{value:"{radii.medium.value}"},borderEndStartRadius:{value:"{radii.medium.value}"},borderEndEndRadius:{value:"{radii.medium.value}"},_focus:{boxShadow:{value:{offsetX:"0",offsetY:"0",blurRadius:"0",spreadRadius:"2px",color:"{colors.border.focus.value}"}}}},header:{boxShadow:{value:{offsetX:"0",offsetY:"1px",blurRadius:"0",color:"{colors.overlay.20.value}"}}},trigger:{minHeight:{value:"3rem"},paddingInlineStart:{value:"{space.large.value}"},paddingInlineEnd:{value:"{space.large.value}"},alignItems:{value:"center"},justifyContent:{value:"space-between"},_hover:{backgroundColor:{value:"{colors.overlay.10.value}"}}},content:{paddingInlineStart:{value:"{space.large.value}"},paddingInlineEnd:{value:"{space.large.value}"},text:{color:{value:"{colors.font.secondary.value}"},paddingBlockStart:{value:"{space.medium.value}"},paddingBlockEnd:{value:"{space.medium.value}"}},_open:{animationDuration:{value:"{time.medium.value}"},animationTimingFunction:{value:"cubic-bezier(0.87, 0, 0.13, 1)"}},_closed:{animationDuration:{value:"{time.medium.value}"},animationTimingFunction:{value:"cubic-bezier(0.87, 0, 0.13, 1)"}}},icon:{transitionDuration:{value:"{time.medium.value}"},transitionTimingFunction:{value:"cubic-bezier(0.87, 0, 0.13, 1)"}}}}),w3=G((e,t)=>{_(),t.exports={gap:{value:"{space.xs.value}"},fontSize:{value:"{fontSizes.medium.value}"},small:{gap:{value:"{space.xxxs.value}"},fontSize:{value:"{fontSizes.small.value}"}},large:{gap:{value:"{space.small.value}"},fontSize:{value:"{fontSizes.large.value}"}},label:{color:{value:"{colors.font.secondary.value}"}}}}),_3=G((e,t)=>{_(),t.exports={borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},borderWidth:{value:"{borderWidths.small.value}"},borderRadius:{value:"{radii.small.value}"},color:{value:"{colors.font.primary.value}"},paddingBlockStart:{value:"{space.xs.value}"},paddingBlockEnd:{value:"{space.xs.value}"},paddingInlineStart:{value:"{space.medium.value}"},paddingInlineEnd:{value:"{space.medium.value}"},fontSize:{value:"{components.field.fontSize.value}"},lineHeight:{value:"{lineHeights.medium.value}"},transitionDuration:{value:"{time.medium.value}"},outlineColor:{value:"{colors.transparent.value}"},outlineStyle:{value:"solid"},outlineWidth:{value:"{outlineWidths.medium.value}"},outlineOffset:{value:"{outlineOffsets.medium.value}"},small:{fontSize:{value:"{components.field.small.fontSize.value}"},paddingBlockStart:{value:"{space.xxs.value}"},paddingBlockEnd:{value:"{space.xxs.value}"},paddingInlineStart:{value:"{space.small.value}"},paddingInlineEnd:{value:"{space.small.value}"}},large:{fontSize:{value:"{components.field.large.fontSize.value}"},paddingBlockStart:{value:"{space.xs.value}"},paddingBlockEnd:{value:"{space.xs.value}"},paddingInlineStart:{value:"{space.medium.value}"},paddingInlineEnd:{value:"{space.medium.value}"}},quiet:{borderStyle:{value:"none"},borderBlockEnd:{value:"{borderWidths.small.value} solid {colors.border.primary.value}"},borderInlineStart:{value:"none"},borderInlineEnd:{value:"none"},borderBlockStart:{value:"none"},borderRadius:{value:"0"},_focus:{borderBlockEndColor:{value:"{colors.border.focus.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"1px",color:"{colors.border.focus.value}"}}},_error:{borderBlockEndColor:{value:"{colors.border.error.value}"},_focus:{boxShadow:{value:{offsetX:"0px",offsetY:"1px",color:"{colors.border.error.value}"}}}}},_focus:{borderColor:{value:"{colors.border.focus.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"1px",color:"{colors.border.focus.value}"}}},_disabled:{color:{value:"{colors.font.disabled.value}"},cursor:{value:"not-allowed"},borderColor:{value:"{colors.transparent.value}"},backgroundColor:{value:"{colors.background.disabled.value}"}},_error:{borderColor:{value:"{colors.border.error.value}"},_focus:{boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"1px",color:"{colors.border.error.value}"}}}}}}),x3=G((e,t)=>{_(),t.exports={gap:{value:0},vertical:{alignItems:{value:"center"}},outer:{alignItems:{value:"center"}}}}),E3=G((e,t)=>{_(),t.exports={error:{color:{value:"{colors.font.error.value}"},fontSize:{value:"{fontSizes.small.value}"}},description:{color:{value:"{colors.font.secondary.value}"},fontStyle:{value:"italic"},fontSize:{value:"{fontSizes.small.value}"}}}}),A3=G((e,t)=>{_(),t.exports={gap:{value:"{space.medium.value}"},justifyContent:{value:"normal"},alignItems:{value:"stretch"},alignContent:{value:"normal"},flexWrap:{value:"nowrap"}}}),I3=G((e,t)=>{_(),t.exports={color:{value:"{colors.font.primary.value}"},lineHeight:{value:"{lineHeights.small.value}"},1:{fontSize:{value:"{fontSizes.xxxxl.value}"},fontWeight:{value:"{fontWeights.light.value}"}},2:{fontSize:{value:"{fontSizes.xxxl.value}"},fontWeight:{value:"{fontWeights.normal.value}"}},3:{fontSize:{value:"{fontSizes.xxl.value}"},fontWeight:{value:"{fontWeights.medium.value}"}},4:{fontSize:{value:"{fontSizes.xl.value}"},fontWeight:{value:"{fontWeights.semibold.value}"}},5:{fontSize:{value:"{fontSizes.large.value}"},fontWeight:{value:"{fontWeights.bold.value}"}},6:{fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.extrabold.value}"}}}}),$3=G((e,t)=>{_(),t.exports={lineHeight:{value:1},height:{value:"1em"}}}),T3=G((e,t)=>{_(),t.exports={maxWidth:{value:"100%"},height:{value:"auto"},objectFit:{value:"initial"},objectPosition:{value:"initial"}}}),P3=G((e,t)=>{_(),t.exports={active:{color:{value:"{colors.font.active.value}"}},color:{value:"{colors.font.interactive.value}"},focus:{color:{value:"{colors.font.focus.value}"}},hover:{color:{value:"{colors.font.hover.value}"}},large:{fontSize:{value:"{fontSizes.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"}},visited:{color:{value:"{colors.font.interactive.value}"}}}}),k3=G((e,t)=>{_(),t.exports={width:{value:"{fontSizes.medium.value}"},height:{value:"{fontSizes.medium.value}"},strokeEmpty:{value:"{colors.neutral.20.value}"},strokeFilled:{value:"{colors.brand.primary.80.value}"},strokeLinecap:{value:"round"},animationDuration:{value:"1s"},small:{width:{value:"{fontSizes.small.value}"},height:{value:"{fontSizes.small.value}"}},large:{width:{value:"{fontSizes.large.value}"},height:{value:"{fontSizes.large.value}"}},linear:{width:{value:"100%"},minWidth:{value:"5rem"},height:{value:"{fontSizes.medium.value}"},strokeWidth:{value:"{fontSizes.medium.value}"},strokeFilled:{value:"{colors.brand.primary.80.value}"},strokeEmpty:{value:"{colors.neutral.20.value}"},strokeLinecap:{value:"round"},animationDuration:{value:"1s"},small:{height:{value:"{fontSizes.small.value}"},strokeWidth:{value:"{fontSizes.small.value}"}},large:{height:{value:"{fontSizes.large.value}"},strokeWidth:{value:"{fontSizes.large.value}"}}}}}),N3=G((e,t)=>{_(),t.exports={backgroundColor:{value:"{colors.white.value}"},borderRadius:{value:"{radii.medium.value}"},borderWidth:{value:"{borderWidths.small.value}"},borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},boxShadow:{value:"{shadows.large.value}"},flexDirection:{value:"column"},gap:{value:0},maxWidth:{value:"30rem"},minWidth:{value:"14rem"},small:{width:{value:"{fontSizes.medium.value}"},height:{value:"{fontSizes.medium.value}"}},large:{width:{value:"{fontSizes.xxxl.value}"},height:{value:"{fontSizes.xxxl.value}"}},item:{minHeight:{value:"2.5rem"},paddingInlineStart:{value:"{space.medium.value}"},paddingInlineEnd:{value:"{space.medium.value}"}}}}),B3=G((e,t)=>{_(),t.exports={current:{alignItems:{value:"center"},justifyContent:{value:"center"},color:{value:"{colors.white.value}"},fontSize:{value:"{fontSizes.small.value}"},backgroundColor:{value:"{colors.overlay.40.value}"}},button:{color:{value:"{colors.font.primary.value}"},paddingInlineStart:{value:"{space.xxs.value}"},paddingInlineEnd:{value:"{space.xxs.value}"},transitionProperty:{value:"background-color"},transitionDuration:{value:"{time.medium.value}"},hover:{backgroundColor:{value:"{colors.overlay.10.value}"},color:{value:"{colors.font.primary.value}"}},disabled:{color:{value:"{colors.font.disabled.value}"}}},ellipsis:{alignItems:{value:"baseline"},justifyContent:{value:"center"},paddingInlineStart:{value:"{space.xs.value}"},paddingInlineEnd:{value:"{space.xs.value}"}},itemContainer:{marginLeft:{value:"{space.xxxs.value}"},marginRight:{value:"{space.xxxs.value}"}},itemShared:{height:{value:"{fontSizes.xxl.value}"},minWidth:{value:"{fontSizes.xxl.value}"},borderRadius:{value:"{fontSizes.medium.value}"}}}}),F3=G((e,t)=>{_(),t.exports={}}),R3=G((e,t)=>{_(),t.exports={borderRadius:{value:"{radii.small.value}"},transitionDuration:{value:"{time.long.value}"},startColor:{value:"{colors.background.secondary.value}"},endColor:{value:"{colors.background.tertiary.value}"},small:{height:{value:"{space.small.value}"}},default:{height:{value:"{space.medium.value}"}},large:{height:{value:"{space.large.value}"}}}}),D3=G((e,t)=>{_(),t.exports={alignItems:{value:"center"},justifyContent:{value:"flex-start"},gap:{value:"inherit"},_disabled:{cursor:{value:"not-allowed"}},button:{alignItems:{value:"center"},justifyContent:{value:"center"},width:{value:"{fontSizes.medium.value}"},height:{value:"{fontSizes.medium.value}"},boxSizing:{value:"border-box"},borderWidth:{value:"{borderWidths.medium.value}"},borderStyle:{value:"solid"},borderRadius:{value:"50%"},borderColor:{value:"{colors.border.primary.value}"},color:{value:"{colors.white.value}"},backgroundColor:{value:"{colors.white.value}"},transitionProperty:{value:"all"},transitionDuration:{value:"{time.medium.value}"},outlineColor:{value:"{colors.transparent.value}"},outlineStyle:{value:"solid"},outlineWidth:{value:"{outlineWidths.medium.value}"},outlineOffset:{value:"{outlineOffsets.medium.value}"},padding:{value:"{borderWidths.medium.value}"},small:{width:{value:"{fontSizes.small.value}"},height:{value:"{fontSizes.small.value}"}},large:{width:{value:"{fontSizes.large.value}"},height:{value:"{fontSizes.large.value}"}},_checked:{color:{value:"{colors.brand.primary.80.value}"},_disabled:{color:{value:"{colors.background.disabled.value}"}}},_focus:{borderColor:{value:"{colors.border.focus.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"}},_error:{borderColor:{value:"{colors.border.error.value}"},_focus:{boxShadow:{value:"{components.fieldcontrol._error._focus.boxShadow.value}"}}},_disabled:{borderColor:{value:"{colors.border.disabled.value}"},backgroundColor:{value:"{colors.background.primary.value}"}}},label:{_disabled:{color:{value:"{colors.font.disabled.value}"}}}}}),O3=G((e,t)=>{_(),t.exports={large:{size:{value:"{fontSizes.xxxl.value}"}},default:{size:{value:"{fontSizes.xl.value}"}},small:{size:{value:"{fontSizes.small.value}"}},filled:{color:{value:"{colors.brand.secondary.80.value}"}},empty:{color:{value:"{colors.background.tertiary.value}"}}}}),U3=G((e,t)=>{_(),t.exports={paddingInlineEnd:{value:"{space.xxl.value}"},wrapper:{flex:{value:"1"},display:{value:"block"},position:{value:"relative"},cursor:{value:"pointer"}},iconWrapper:{alignItems:{value:"center"},position:{value:"absolute"},top:{value:"50%"},right:{value:"{space.medium.value}"},transform:{value:"translateY(-50%)"},pointerEvents:{value:"none"}},option:{backgroundColor:{value:"{colors.background.primary.value}"}},whiteSpace:{value:"nowrap"},minWidth:{value:"6.5rem"},small:{minWidth:{value:"5.5rem"}},large:{minWidth:{value:"7.5rem"}}}}),V3=G((e,t)=>{_(),t.exports={flexDirection:{value:"column"}}}),M3=G((e,t)=>{_(),t.exports={paddingBlock:{value:"{space.xs.value}"},track:{backgroundColor:{value:"{colors.background.tertiary.value}"},borderRadius:{value:"9999px"},height:{value:"0.375rem"},minWidth:{value:"10rem"}},range:{backgroundColor:{value:"{colors.brand.primary.80.value}"},borderRadius:{value:"9999px"},_disabled:{backgroundColor:{value:"{colors.background.disabled.value}"}}},thumb:{width:{value:"1.25rem"},height:{value:"1.25rem"},backgroundColor:{value:"{colors.background.primary.value}"},boxShadow:{value:"{shadows.small.value}"},borderRadius:{value:"50%"},borderWidth:{value:"{borderWidths.small.value}"},borderColor:{value:"{colors.border.primary.value}"},borderStyle:{value:"solid"},_disabled:{backgroundColor:{value:"{colors.background.disabled.value}"},borderColor:{value:"transparent"},boxShadow:{value:"none"}},_hover:{backgroundColor:{value:"{colors.background.primary.value}"},borderColor:{value:"{colors.border.focus.value}"}},_focus:{boxShadow:{value:{offsetX:"0",offsetY:"0",blurRadius:"0",spreadRadius:"3px",color:"{colors.border.focus.value}"}}}},small:{track:{height:{value:"0.25rem"}},thumb:{width:{value:"1rem"},height:{value:"1rem"}}},large:{track:{height:{value:"0.625rem"}},thumb:{width:{value:"1.5rem"},height:{value:"1.5rem"}}}}}),L3=G((e,t)=>{_(),t.exports={flexDirection:{value:"column"},input:{textAlign:{value:"center"}}}}),z3=G((e,t)=>{_(),t.exports={disabled:{opacity:{value:"{opacities.60.value}"}},focused:{shadow:{value:"{shadows.small.value}"}},large:{fontSize:{value:"{fontSizes.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"}},label:{padding:{value:"{space.xs.value}"}},thumb:{backgroundColor:{value:"{colors.background.primary.value}"},borderColor:{value:"{colors.border.tertiary.value}"},borderRadius:{value:"{radii.xxxl.value}"},checked:{transform:{value:"{transforms.slideX.medium.value}"}},transition:{duration:{value:"{time.medium.value}"}},width:{value:"{space.relative.medium.value}"}},track:{backgroundColor:{value:"{colors.background.tertiary.value}"},borderRadius:{value:"{radii.xxxl.value}"},checked:{backgroundColor:{value:"{colors.brand.primary.60.value}"}},height:{value:"{space.relative.medium.value}"},padding:{value:"{outlineWidths.medium.value}"},transition:{duration:{value:"{time.short.value}"}},width:{value:"{space.relative.xl.value}"}}}}),j3=G((e,t)=>{_(),t.exports={borderCollapse:{value:"collapse"},display:{value:"table"},width:{value:"100%"},head:{display:{value:"table-header-group"},verticalAlign:{value:"middle"}},body:{display:{value:"table-row-group"},verticalAlign:{value:"middle"}},foot:{display:{value:"table-footer-group"},verticalAlign:{value:"middle"}},row:{display:{value:"table-row"},verticalAlign:{value:"middle"},hover:{backgroundColor:{value:"{colors.background.tertiary.value}"}},striped:{backgroundColor:{value:"{colors.background.secondary.value}"}}},header:{borderColor:{value:"{colors.border.tertiary.value}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.small.value}"},color:{value:"{colors.font.primary.value}"},display:{value:"table-cell"},fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.bold.value}"},padding:{value:"{space.medium.value}"},verticalAlign:{value:"middle"},large:{fontSize:{value:"{fontSizes.large.value}"},padding:{value:"{space.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"},padding:{value:"{space.xs.value}"}}},data:{borderColor:{value:"{colors.border.tertiary.value}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.small.value}"},color:{value:"{colors.font.primary.value}"},display:{value:"table-cell"},fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.normal.value}"},padding:{value:"{space.medium.value}"},verticalAlign:{value:"middle"},large:{fontSize:{value:"{fontSizes.large.value}"},padding:{value:"{space.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"},padding:{value:"{space.xs.value}"}}},caption:{captionSide:{value:"bottom"},color:{value:"{colors.font.primary.value}"},display:{value:"table-caption"},fontSize:{value:"{fontSizes.medium.value}"},textAlign:{value:"center"},wordBreak:{value:"break-all"},large:{fontSize:{value:"{fontSizes.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"}}}}}),G3=G((e,t)=>{_(),t.exports={backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.secondary.value}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.medium.value}"},gap:{value:"0"},item:{backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.secondary.value}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.medium.value}"},color:{value:"{colors.font.secondary.value}"},fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.bold.value}"},paddingVertical:{value:"{space.small.value}"},paddingHorizontal:{value:"{space.medium.value}"},textAlign:{value:"center"},transitionDuration:{value:"{time.medium.value}"},_hover:{color:{value:"{colors.font.hover.value}"}},_focus:{color:{value:"{colors.font.focus.value}"}},_active:{color:{value:"{colors.font.interactive.value}"},borderColor:{value:"{colors.font.interactive.value}"},backgroundColor:{value:"transparent"}},_disabled:{color:{value:"{colors.font.disabled.value}"},backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.tertiary.value}"}}}}}),W3=G((e,t)=>{_(),t.exports={color:{value:"{colors.font.primary.value}"},primary:{color:{value:"{colors.font.primary.value}"}},secondary:{color:{value:"{colors.font.secondary.value}"}},tertiary:{color:{value:"{colors.font.tertiary.value}"}},error:{color:{value:"{colors.font.error.value}"}},warning:{color:{value:"{colors.font.warning.value}"}},success:{color:{value:"{colors.font.success.value}"}},info:{color:{value:"{colors.font.info.value}"}}}}),H3=G((e,t)=>{_(),t.exports={borderColor:{value:"{colors.border.primary.value}"},color:{value:"{colors.overlay.50.value}"},_hover:{backgroundColor:{value:"{colors.overlay.10.value}"}},_focus:{borderColor:{value:"{colors.border.focus.value}"},color:{value:"{colors.overlay.50.value}"}},_active:{backgroundColor:{value:"{colors.transparent.value}"}},_disabled:{backgroundColor:{value:"{colors.transparent.value}"},borderColor:{value:"{colors.border.secondary.value}"},color:{value:"{colors.font.disabled.value}"}},_pressed:{color:{value:"{colors.font.primary.value}"},backgroundColor:{value:"{colors.overlay.20.value}"},_hover:{backgroundColor:{value:"{colors.overlay.30.value}"}}},primary:{backgroundColor:{value:"{colors.transparent.value}"},borderWidth:{value:"{borderWidths.small.value}"},_focus:{borderColor:{value:"{colors.border.focus.value}"},backgroundColor:{value:"{colors.transparent.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"},color:{value:"{colors.overlay.50.value}"}},_hover:{backgroundColor:{value:"{colors.overlay.10.value}"},color:{value:"{colors.overlay.50.value}"}},_disabled:{backgroundColor:{value:"{colors.background.tertiary.value}"},color:{value:"{colors.font.disabled.value}"}},_pressed:{backgroundColor:{value:"{colors.brand.primary.80.value}"},borderColor:{value:"{colors.brand.primary.80.value}"},color:{value:"{colors.white.value}"},_focus:{backgroundColor:{value:"{colors.border.focus.value}"},borderColor:{value:"{colors.border.focus.value}"}},_hover:{borderColor:{value:"{colors.brand.primary.60.value}"},backgroundColor:{value:"{colors.brand.primary.60.value}"}}}},link:{color:{value:"{colors.overlay.50.value}"},_hover:{backgroundColor:{value:"{colors.transparent.value}"},color:{value:"{colors.overlay.50.value}"}},_focus:{backgroundColor:{value:"{colors.transparent.value}"},color:{value:"{colors.overlay.50.value}"}},_disabled:{color:{value:"{colors.font.disabled.value}"}},_pressed:{backgroundColor:{value:"{colors.transparent.value}"},color:{value:"{colors.overlay.90.value}"},_hover:{backgroundColor:{value:"{colors.transparent.value}"}}}}}}),K3=G((e,t)=>{_(),t.exports={alignItems:{value:"center"},alignContent:{value:"center"},justifyContent:{value:"flex-start"}}}),q3=G((e,t)=>{_(),t.exports={alert:d3(),authenticator:f3(),badge:v3(),button:p3(),card:m3(),checkbox:h3(),checkboxfield:g3(),copy:y3(),countrycodeselect:b3(),divider:C3(),expander:S3(),field:w3(),fieldcontrol:_3(),fieldgroup:x3(),fieldmessages:E3(),flex:A3(),heading:I3(),icon:$3(),image:T3(),link:P3(),loader:k3(),menu:N3(),pagination:B3(),phonenumberfield:F3(),placeholder:R3(),radio:D3(),rating:O3(),select:U3(),selectfield:V3(),sliderfield:M3(),stepperfield:L3(),switchfield:z3(),table:j3(),tabs:G3(),text:W3(),togglebutton:H3(),togglebuttongroup:K3()}});_();_();_();_();var xe=e=>{var t;return(t=e.context.actorRef)==null?void 0:t.getSnapshot()},ha=e=>{var t;return(t=xe(e))==null?void 0:t.context};_();_();_();_();_();var Ys=(e=>(e.SMS_MFA="SMS_MFA",e.SOFTWARE_TOKEN_MFA="SOFTWARE_TOKEN_MFA",e.NEW_PASSWORD_REQUIRED="NEW_PASSWORD_REQUIRED",e.RESET_REQUIRED="RESET_REQUIRED",e.MFA_SETUP="MFA_SETUP",e))(Ys||{}),Zs=(e=>(e.Apple="SignInWithApple",e.Amazon="LoginWithAmazon",e.Facebook="Facebook",e.Google="Google",e))(Zs||{});_();_();var Y3=["birthdate","email","family_name","given_name","middle_name","name","nickname","phone_number","preferred_username","profile","website"],Z3=["username","email","phone_number"],X3=[...Z3,...Y3,"confirmation_code","password","confirm_password"];_();_();_();_();_();_();var ga=e=>{var t;let r=(t=e==null?void 0:e.context.config)==null?void 0:t.loginMechanisms,[n]=r!=null?r:["username"];return n};_();var J3=e=>{let t=r=>n=>e({type:r,data:n});return{resendCode:t("RESEND"),signOut:t("SIGN_OUT"),submitForm:t("SUBMIT"),updateForm:t("CHANGE"),updateBlur:t("BLUR"),toFederatedSignIn:t("FEDERATED_SIGN_IN"),toResetPassword:t("RESET_PASSWORD"),toSignIn:t("SIGN_IN"),toSignUp:t("SIGN_UP"),skipVerification:t("SKIP")}},Q3=e=>{var t,r;let n=(t=e.context)==null?void 0:t.user,o=xe(e),i=ha(e),s=i==null?void 0:i.remoteError,u=M({},i==null?void 0:i.validationError),l=i==null?void 0:i.codeDeliveryDetails,d=Object.keys(u).length>0,c=e.hasTag("pending")||((r=xe(e))==null?void 0:r.hasTag("pending")),v=(()=>{switch(!0){case e.matches("idle"):return"idle";case e.matches("setup"):return"setup";case e.matches("signOut"):return"signOut";case e.matches("authenticated"):return"authenticated";case(o==null?void 0:o.matches("confirmSignUp")):return"confirmSignUp";case(o==null?void 0:o.matches("confirmSignIn")):return"confirmSignIn";case(o==null?void 0:o.matches("setupTOTP")):return"setupTOTP";case(o==null?void 0:o.matches("signIn")):return"signIn";case(o==null?void 0:o.matches("signUp")):return"signUp";case(o==null?void 0:o.matches("forceNewPassword")):return"forceNewPassword";case(o==null?void 0:o.matches("resetPassword")):return"resetPassword";case(o==null?void 0:o.matches("confirmResetPassword")):return"confirmResetPassword";case(o==null?void 0:o.matches("verifyUser")):return"verifyUser";case(o==null?void 0:o.matches("confirmVerifyUser")):return"confirmVerifyUser";default:return console.debug("Cannot infer `route` from Authenticator state:",e.value),null}})();return{error:s,hasValidationErrors:d,isPending:c,route:v,user:n,validationErrors:u,codeDeliveryDetails:l}},Xs=({send:e,state:t})=>{let r=J3(e),n=Q3(t);return M(M({},r),n)};_();_();_();var e2=["+1","+7","+20","+27","+30","+31","+32","+33","+34","+36","+39","+40","+41","+43","+44","+45","+46","+47","+48","+49","+51","+52","+53","+54","+55","+56","+57","+58","+60","+61","+62","+63","+64","+65","+66","+81","+82","+84","+86","+90","+91","+92","+93","+94","+95","+98","+212","+213","+216","+218","+220","+221","+222","+223","+224","+225","+226","+227","+228","+229","+230","+231","+232","+233","+234","+235","+236","+237","+238","+239","+240","+241","+242","+243","+244","+245","+246","+248","+249","+250","+251","+252","+253","+254","+255","+256","+257","+258","+260","+261","+262","+263","+264","+265","+266","+267","+268","+269","+290","+291","+297","+298","+299","+345","+350","+351","+352","+353","+354","+355","+356","+357","+358","+359","+370","+371","+372","+373","+374","+375","+376","+377","+378","+379","+380","+381","+382","+385","+386","+387","+389","+420","+421","+423","+500","+501","+502","+503","+504","+505","+506","+507","+508","+509","+537","+590","+591","+593","+594","+595","+596","+597","+598","+599","+670","+672","+673","+674","+675","+676","+677","+678","+679","+680","+681","+682","+683","+685","+686","+687","+688","+689","+690","+691","+692","+850","+852","+853","+855","+856","+872","+880","+886","+960","+961","+962","+963","+964","+965","+966","+967","+968","+970","+971","+972","+973","+974","+975","+976","+977","+992","+993","+994","+995","+996","+998"];_();_();_();_();var t2={"Account recovery requires verified contact information":"Zur\xFCcksetzen des Account ben\xF6tigt einen verifizierten Account","An account with the given email already exists.":"Ein Account mit dieser Email existiert bereits.","Back to Sign In":"Zur\xFCck zur Anmeldung","Change Password":"Passwort \xE4ndern",Code:"Code",Confirm:"Best\xE4tigen","Confirm Password":"Passwort best\xE4tigen","Confirm a Code":"Code best\xE4tigen","Confirm Sign In":"Anmeldung best\xE4tigen","Confirm Sign Up":"Registrierung best\xE4tigen","Confirm SMS Code":"SMS-Code best\xE4tigen","Confirm TOTP Code":"TOTP-Code best\xE4tigen","Confirmation Code":"Best\xE4tigungs-Code","Create a new account":"Einen neuen Account erstellen","Create account":"Hier registrieren","Create Account":"Account erstellen","Creating Account":"Account wird erstellt",Email:"Email","Enter your code":"Geben Sie Ihren Code ein","Enter your password":"Geben Sie Ihr Passwort ein","Enter your username":"Geben Sie Ihren Benutzernamen ein","Enter your phone number":"Geben Sie Ihre Telefonnummer ein","Enter your email":"Geben Sie ihre Email ein","Forgot your password?":"Passwort vergessen? ","Forgot Password":"Passwort vergessen","Hide password":"Passwort verbergen","Have an account? ":"Schon registriert? ","Incorrect username or password":"Falscher Benutzername oder falsches Passwort","Invalid password format":"Ung\xFCltiges Passwort-Format","Invalid phone number format":"Ung\xFCltiges Telefonummern-Format. Benutze eine Nummer im Format: +12345678900","Lost your code? ":"Code verloren? ","New Password":"Neues Passwort","No account? ":"Kein Account? ",or:"oder",Password:"Passwort","Password attempts exceeded":"Die maximale Anzahl der fehlerhaften Anmeldeversuche wurde erreicht","Phone Number":"Telefonnummer","Resend Code":"Code erneut senden","Reset password":"Passwort zur\xFCcksetzen","Reset your password":"Zur\xFCcksetzen des Passworts","Send Code":"Code senden","Sign in":"Anmelden","Sign In":"Anmelden","Sign in to your account":"Melden Sie sich mit Ihrem Account an","Sign Out":"Abmelden","Sign Up":"Registrieren",Skip:"\xDCberspringen",Submit:"Abschicken","User already exists":"Dieser Benutzer existiert bereits","User does not exist":"Dieser Benutzer existiert nicht",Username:"Benutzername","Username cannot be empty":"Benutzername darf nicht leer sein",Verify:"Verifizieren","Verify Contact":"Kontakt verifizieren"};_();var r2={"Account recovery requires verified contact information":"Account recovery requires verified contact information","Back to Sign In":"Back to Sign In","Change Password":"Change Password",Changing:"Changing",Code:"Code",Confirm:"Confirm","Confirm Password":"Confirm Password","Confirm Sign Up":"Confirm Sign Up","Confirm SMS Code":"Confirm SMS Code","Confirm TOTP Code":"Confirm TOTP Code","Confirmation Code":"Confirmation Code",Confirming:"Confirming","Create Account":"Create Account","Creating Account":"Creating Account",Email:"Email","Enter your code":"Enter your code","Enter your username":"Enter your username","Enter your phone number":"Enter your phone number","Enter your email":"Enter your email","Forgot your password?":"Forgot your password?","Hide password":"Hide password",Loading:"Loading",Username:"Username","New password":"New password",Password:"Password","Phone Number":"Phone Number","Resend Code":"Resend Code","Reset your password":"Reset your password","Reset your Password":"Reset your Password","Send Code":"Send Code","Send code":"Send code",Sending:"Sending","Setup TOTP":"Setup TOTP","Show password":"Show password","Sign in":"Sign in","Sign In":"Sign In","Sign In with Amazon":"Sign In with Amazon","Sign In with Apple":"Sign In with Apple","Sign In with Facebook":"Sign In with Facebook","Sign In with Google":"Sign In with Google","Sign in to your account":"Sign in to your account","Create a new account":"Create a new account","Signing in":"Signing in",Skip:"Skip",Submit:"Submit",Submitting:"Submitting","Verify Contact":"Verify Contact",Verify:"Verify"};_();var n2={"Account recovery requires verified contact information":"La recuperaci\xF3n de la cuenta requiere informaci\xF3n de contacto verificada","Back to Sign In":"Volver a inicio de sesi\xF3n","Change Password":"Cambiar contrase\xF1a",Changing:"Cambiando",Code:"C\xF3digo",Confirm:"Confirmar","Confirm a Code":"Confirmar un c\xF3digo","Confirm Password":"Confirmar contrase\xF1a","Confirm Sign In":"Confirmar inicio de sesi\xF3n","Confirm Sign Up":"Confirmar registro","Confirm TOTP Code":"Confirmar c\xF3digo TOTP","Confirmation Code":"C\xF3digo de confirmaci\xF3n",Confirming:"Confirmando","Create a new account":"Crear una cuenta nueva","Creating Account":"Creando cuenta",Email:"Email","Forgot Password":"Olvid\xE9 mi contrase\xF1a","Incorrect username or password":"Nombre de usuario o contrase\xF1a incorrecta","Invalid password format":"Formato de contrase\xF1a inv\xE1lido","Invalid phone number format":"Formato de n\xFAmero de tel\xE9fono inv\xE1lido","Forgot your password?":"\xBFOlvid\xF3 su contrase\xF1a?","Hide password":"Ocultar contrase\xF1a","Loading...":"Cargando...","New Password":"Nueva contrase\xF1a",or:"o",Password:"Contrase\xF1a","Phone Number":"N\xFAmero de tel\xE9fono","Resend a Code":"Reenviar un c\xF3digo","Reset your password":"Restablecer su contrase\xF1a","Reset your Password":"Restablecer su Contrase\xF1a","Resend Code":"Reenviar c\xF3digo","Send Code":"Enviar c\xF3digo",Sending:"Enviando","Setup TOTP":"Configurar TOTP","Show password":"Mostrar contrase\xF1a","Sign in":"Iniciar sesi\xF3n","Sign In":"Iniciar Sesi\xF3n","Sign In with Amazon":"Iniciar Sesi\xF3n con Amazon","Sign In with Apple":"Iniciar Sesi\xF3n con Apple","Sign In with Facebook":"Iniciar Sesi\xF3n con Facebook","Sign In with Google":"Iniciar Sesi\xF3n con Google","Sign in to your account":"Iniciar sesi\xF3n en tu cuenta","Sign Out":"Cerrar sesi\xF3n","Sign Up":"Crear cuenta","Signing in":"Iniciando sesi\xF3n",Skip:"Omitir",Submit:"Enviar","User already exists":"El usuario ya existe","User does not exist":"El usuario no existe",Username:"Nombre de usuario","Username cannot be empty":"El nombre de usuario no puede estar vac\xEDo",Verify:"Verificar","Verify Contact":"Verificar contacto"};_();var a2={"Account recovery requires verified contact information":"La r\xE9cup\xE9ration du compte n\xE9cessite des informations de contact v\xE9rifi\xE9es","An account with the given email already exists.":"Un utilisateur avec cette adresse email existe d\xE9j\xE0.","Back to Sign In":"Retour \xE0 la connexion",Change:"Modifier","Change Password":"Modifier le mot de passe",Code:"Code",Confirm:"Confirmer","Confirm a Code":"Confirmer un code","Confirm Password":"Confirmez le mot de passe","Confirm Sign In":"Confirmer la connexion","Confirm Sign Up":"Confirmer l'inscription","Confirm SMS Code":"Confirmer le code SMS","Confirm TOTP Code":"Confirmer le code TOTP","Confirmation Code":"Code de confirmation","Create a new account":"Cr\xE9er un nouveau compte","Create account":"Cr\xE9er un compte","Create Account":"Cr\xE9er un compte",Email:"Email","Enter your code":"Saisissez cotre code de confirmation","Enter your email":"Saisissez votre adresse email","Enter your password":"Saisissez votre mot de passe","Enter your phone number":"Saisissez votre num\xE9ro de t\xE9l\xE9phone","Enter your username":"Saisissez votre nom d'utilisateur","Forgot Password":"Mot de passe oubli\xE9","Forgot your password?":"Mot de passe oubli\xE9 ? ","Have an account? ":"D\xE9j\xE0 un compte ? ",Hello:"Bonjour","Incorrect username or password":"Identifiant ou mot de passe incorrect","Invalid password format":"Format de mot de passe invalide","Invalid phone number format":"Format de num\xE9ro de t\xE9l\xE9phone invalide. Veuillez utiliser un format +12345678900","Loading...":"Chargement...","Lost your code? ":"Vous avez perdu votre code ? ","Network error":"Erreur r\xE9seau","New Password":"Nouveau mot de passe","No account? ":"Pas de compte ? ",or:"ou",Password:"Mot de passe","Phone Number":"Num\xE9ro de t\xE9l\xE9phone","Resend a Code":"Renvoyer un code","Resend Code":"Renvoyer le code","Reset password":"R\xE9initialisez votre mot de passe","Reset your password":"R\xE9initialisez votre mot de passe",Send:"Envoyer","Send Code":"M'envoyer un code","Sign in":"Se connecter","Sign In":"Se connecter","Sign in to your account":"Connexion \xE0 votre compte","Sign In with Amazon":"Se connecter avec Amazon","Sign In with AWS":"Se connecter avec AWS","Sign In with Facebook":"Se connecter avec Facebook","Sign In with Google":"Se connecter avec Google","Sign Out":"D\xE9connexion","Sign Up":"S'inscrire",Skip:"Passer",SMS:"SMS",Submit:"Soumettre","User already exists":"L'utilisateur existe d\xE9j\xE0","User does not exist":"L'utilisateur n'existe pas",Username:"Nom d'utilisateur","Username cannot be empty":"Le nom d'utilisateur doit \xEAtre renseign\xE9","Username/client id combination not found.":"L'utilisateur n'existe pas",Verify:"V\xE9rifier","Verify Contact":"V\xE9rifier le contact"};_();var o2={"Account recovery requires verified contact information":"Il ripristino dell'account richiede informazioni di contatto verificate","An account with the given email already exists.":"Questa email \xE8 gi\xE0 utilizzata da un'altro account.","Back to Sign In":"Torna alla schermata di accesso","Change Password":"Cambia la password",Code:"Codice",Confirm:"Conferma","Confirm a Code":"Conferma un codice","Confirm Password":"Conferma la password","Confirm Sign In":"Conferma l'accesso","Confirm Sign Up":"Conferma registrazione","Confirmation Code":"Codice di verifica","Create a new account":"Crea un nuovo account","Create account":"Crea account","Create Account":"Crea Account",Email:"Email","Enter your password":"Inserisci la tua password","Enter your username":"Inserisci il tuo nome utente","Forgot Password":"Password dimenticata","Forgot your password?":"Password dimenticata?","Have an account? ":"Gi\xE0 registrato?","Incorrect username or password":"Nome utente o password errati","Invalid password format":"Formato della password non valido","Invalid phone number format":"Formato del numero di telefono non valido","Lost your code?":"Codice smarrito?","New Password":"Nuova password",or:"o","No account? ":"Non hai un account?",Password:"Password","Password attempts exceeded":"Il numero massimo di tentativi di accesso falliti \xE8 stato raggiunto","Phone Number":"Numero di telefono","Resend Code":"Rispedisci codice","Reset password":"Reimposta password","Reset your password":"Reimposta la tua password","Send Code":"Invia codice","Sign in":"Accesso","Sign In":"Accesso","Sign in to your account":"Accedi al tuo account","Sign Out":"Esci","Sign Up":"Registrati",Skip:"Salta",Submit:"Invia","User already exists":"Utente gi\xE0 esistente","User does not exist":"Utente inesistente",Username:"Nome utente","Username cannot be empty":"Il nome utente non pu\xF2 essere vuoto",Verify:"Verifica","Verify Contact":"Verifica contatto"};_();var i2={"Account recovery requires verified contact information":"\u30A2\u30AB\u30A6\u30F3\u30C8\u306E\u5FA9\u65E7\u306B\u306F\u78BA\u8A8D\u6E08\u307F\u306E\u9023\u7D61\u5148\u304C\u5FC5\u8981\u3067\u3059","An account with the given email already exists.":"\u5165\u529B\u3055\u308C\u305F\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u306E\u30A2\u30AB\u30A6\u30F3\u30C8\u304C\u65E2\u306B\u5B58\u5728\u3057\u307E\u3059","Back to Sign In":"\u30B5\u30A4\u30F3\u30A4\u30F3\u306B\u623B\u308B","Change Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5909\u3048\u308B ",Code:"\u30B3\u30FC\u30C9",Confirm:"\u78BA\u5B9A","Confirm a Code":"\u30B3\u30FC\u30C9\u3092\u78BA\u8A8D","Confirm Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u306E\u78BA\u8A8D","Confirm Sign In":"\u30B5\u30A4\u30F3\u30A4\u30F3\u3059\u308B","Confirm Sign Up":"\u767B\u9332\u3059\u308B","Confirmation Code":"\u78BA\u8A8D\u30B3\u30FC\u30C9","Create a new account":"\u65B0\u3057\u3044\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B","Create account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B ","Create Account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B",Email:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9","Enter your password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5165\u529B ","Enter your username":"\u30E6\u30FC\u30B6\u30FC\u540D\u3092\u5165\u529B ","Forgot Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5FD8\u308C\u305F ","Forgot your password?":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5FD8\u308C\u307E\u3057\u305F\u304B\uFF1F ","Have an account? ":"\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u6301\u3063\u3066\u3044\u307E\u3059\u304B\uFF1F","Incorrect username or password":"\u30E6\u30FC\u30B6\u30FC\u540D\u304B\u30D1\u30B9\u30EF\u30FC\u30C9\u304C\u7570\u306A\u308A\u307E\u3059 ","Invalid password format":"\u30D1\u30B9\u30EF\u30FC\u30C9\u306E\u5F62\u5F0F\u304C\u7121\u52B9\u3067\u3059 ","Invalid phone number format":`\u4E0D\u6B63\u306A\u96FB\u8A71\u756A\u53F7\u306E\u5F62\u5F0F\u3067\u3059\u3002
83
+ +12345678900 \u306E\u5F62\u5F0F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044`,"Lost your code? ":"\u30B3\u30FC\u30C9\u3092\u5931\u304F\u3057\u307E\u3057\u305F\u304B\uFF1F","New Password":"\u65B0\u3057\u3044\u30D1\u30B9\u30EF\u30FC\u30C9","No account? ":"\u30A2\u30AB\u30A6\u30F3\u30C8\u304C\u7121\u3044\u3068\u304D ",or:"\u53C8\u306F",Password:"\u30D1\u30B9\u30EF\u30FC\u30C9 ","Password attempts exceeded":"\u30B5\u30A4\u30F3\u30A4\u30F3\u306E\u8A66\u884C\u56DE\u6570\u304C\u4E0A\u9650\u306B\u9054\u3057\u307E\u3057\u305F","Phone Number":"\u96FB\u8A71\u756A\u53F7","Resend Code":"\u30B3\u30FC\u30C9\u3092\u518D\u9001\u4FE1","Reset password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8 ","Reset your password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8\u3059\u308B","Send Code":"\u30B3\u30FC\u30C9\u3092\u9001\u4FE1","Sign in":"\u30B5\u30A4\u30F3\u30A4\u30F3","Sign In":"\u30B5\u30A4\u30F3\u30A4\u30F3 ","Sign in to your account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u306B\u30B5\u30A4\u30F3\u30A4\u30F3 ","Sign In with Amazon":"Amazon\u3067\u30B5\u30A4\u30F3\u30A4\u30F3","Sign In with Facebook":"Facebook\u3067\u30B5\u30A4\u30F3\u30A4\u30F3","Sign In with Google":"Google\u3067\u30B5\u30A4\u30F3\u30A4\u30F3","Sign Out":"\u30B5\u30A4\u30F3\u30A2\u30A6\u30C8 ","Sign Up":"\u767B\u9332 ",Skip:"\u30B9\u30AD\u30C3\u30D7",Submit:"\u9001\u4FE1","User already exists":"\u65E2\u306B\u30E6\u30FC\u30B6\u30FC\u304C\u5B58\u5728\u3057\u3066\u3044\u307E\u3059 ","User does not exist":"\u30E6\u30FC\u30B6\u30FC\u304C\u5B58\u5728\u3057\u307E\u305B\u3093 ",Username:"\u30E6\u30FC\u30B6\u30FC\u540D ","Username cannot be empty":"\u30E6\u30FC\u30B6\u30FC\u540D\u306F\u5165\u529B\u5FC5\u9808\u3067\u3059",Verify:"\u78BA\u8A8D","Verify Contact":"\u9023\u7D61\u5148\u3092\u78BA\u8A8D"};_();var s2={"Back to Sign In":"\uB85C\uADF8\uC778\uC73C\uB85C \uB3CC\uC544\uAC00\uAE30",Birthdate:"\uC0DD\uB144\uC6D4\uC77C","Change Password":"\uBE44\uBC00\uBC88\uD638 \uBCC0\uACBD\uD558\uAE30",Changing:"\uBCC0\uACBD\uC911",Code:"\uCF54\uB4DC","Confirm Password":"\uBE44\uBC00\uBC88\uD638 \uC7AC\uD655\uC778","Reset your Password":"\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815","Confirm Sign Up":"\uD68C\uC6D0\uAC00\uC785 \uD655\uC778","Confirm SMS Code":"\uD734\uB300\uD3F0 \uBCF8\uC778 \uD655\uC778","Confirm TOTP Code":"TOTP \uC778\uC99D\uBC88\uD638 \uD655\uC778",Confirm:"\uD655\uC778","Confirmation Code":"\uC778\uC99D\uBC88\uD638",Confirming:"\uD655\uC778\uC911","Create Account":"\uD68C\uC6D0\uAC00\uC785","Creating Account":"\uD68C\uC6D0\uAC00\uC785\uC911",Email:"\uC774\uBA54\uC77C","Enter your code":"\uC778\uC99D\uBC88\uD638\uB97C \uC785\uB825\uD574\uC8FC\uC138\uC694","Enter your username":"\uC544\uC774\uB514\uB97C \uC785\uB825\uD574\uC8FC\uC138\uC694","Family Name":"\uC131","Given Name":"\uC774\uB984","Forgot your password?":"\uBE44\uBC00\uBC88\uD638\uB97C \uC78A\uC73C\uC168\uB098\uC694?","Hide password":"\uBE44\uBC00\uBC88\uD638 \uC228\uAE30\uAE30",Loading:"\uB85C\uB529\uC911",Username:"\uC544\uC774\uB514",Name:"\uC131\uD568",Nickname:"\uB2C9\uB124\uC784","New password":"\uC0C8 \uBE44\uBC00\uBC88\uD638",Password:"\uBE44\uBC00\uBC88\uD638","Phone Number":"\uC804\uD654\uBC88\uD638","Preferred Username":"\uB2C9\uB124\uC784",Profile:"\uD504\uB85C\uD544","Resend Code":"\uC778\uC99D\uBC88\uD638 \uC7AC\uC804\uC1A1","Reset your password":"\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815","Reset Password":"\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815","Send code":"\uC778\uC99D\uCF54\uB4DC \uBCF4\uB0B4\uAE30",Sending:"\uC804\uC1A1\uC911","Setup TOTP":"TOTP \uC124\uC815\uD558\uAE30","Show password":"\uBE44\uBC00\uBC88\uD638 \uBCF4\uC774\uAE30","Sign in":"\uB85C\uADF8\uC778","Sign In":"\uB85C\uADF8\uC778","Sign In with Amazon":"Amazon \uB85C\uADF8\uC778","Sign In with Apple":"Apple \uB85C\uADF8\uC778","Sign In with Facebook":"Facebook \uB85C\uADF8\uC778","Sign In with Google":"Google \uB85C\uADF8\uC778","Sign in to your account":"\uB85C\uADF8\uC778","Create a new account":"\uD68C\uC6D0\uAC00\uC785","Signing in":"\uB85C\uADF8\uC778\uC911",Skip:"\uB2E4\uC74C\uC5D0 \uD558\uAE30",Submit:"\uD655\uC778",Submitting:"\uD655\uC778\uC911","Verify Contact":"\uC5F0\uB77D\uCC98 \uD655\uC778","Account recovery requires verified contact information":"\uACC4\uC815 \uBCF5\uAD6C\uB97C \uC704\uD574 \uC5F0\uB77D\uCC98 \uD655\uC778\uC774 \uD544\uC694\uD569\uB2C8\uB2E4",Verify:"\uC778\uC99D",Website:"\uC6F9\uC0AC\uC774\uD2B8"};_();var u2={"Back to Sign In":"Terug naar inloggen","Change Password":"Wachtwoord wijzigen",Changing:"Wordt aangepast",Code:"Code","Confirm Password":"Bevestig Wachtwoord","Reset your Password":"Wachtwoord resetten","Confirm Sign Up":"Bevestig inschrijving","Confirm SMS Code":"Bevestig SMS Code","Confirm TOTP Code":"Bevestig TOTP Code",Confirm:"Bevestig","Confirmation Code":"Bevestigingscode",Confirming:"Bevestigen","Create Account":"Account aanmaken","Creating Account":"Account wordt aangemaakt",Email:"E-mail","Enter your code":"Vul je code in","Enter your username":"Vul je gebruikersnaam in","Enter your phone number":"Vul je telefoonnummer in","Enter your email":"Vul je e-mail in","Forgot your password?":"Wachtwoord vergeten? ","Hide password":"Verberg wachtwoord",Loading:"Laden",Username:"Gebruikersnaam","New password":"Nieuw wachtwoord",Password:"Wachtwoord","Phone Number":"Telefoonnummer","Resend Code":"Verstuur code nogmaals","Reset your password":"Reset je wachtwoord","Send Code":"Verstuur Code","Send code":"Verstuur code",Sending:"Versturen","Setup TOTP":"TOTP Instellingen","Show password":"Toon wachtwoord","Sign in":"Inloggen","Sign In":"Inloggen","Sign In with Amazon":"Inloggen met Amazon","Sign In with Apple":"Inloggen met Apple","Sign In with Facebook":"Inloggen met Facebook","Sign In with Google":"Inloggen met Google","Sign in to your account":"Inloggen op je account","Create a new account":"Nieuw account aanmaken","Signing in":"Inloggen",Skip:"Overslaan",Submit:"Versturen",Submitting:"Wordt verstuurd","Verify Contact":"Verifieer Contact","Account recovery requires verified contact information":"Accountherstel vereist geverifieerde contactgegevens",Verify:"Verifieer"};_();var l2={"Back to Sign In":"Powr\xF3t do logowania",Birthdate:"Data urodzenia","Change Password":"Zmie\u0144 has\u0142o",Changing:"Zmienianie",Code:"Kod","Confirm Password":"Potwierd\u017A Has\u0142o","Reset your Password":"Zresetuj swoje has\u0142o","Confirm Sign Up":"Potwierd\u017A rejestracj\u0119","Confirm SMS Code":"Potwierd\u017A kod SMS","Confirm TOTP Code":"Potwierd\u017A has\u0142o jednorazowe",Confirm:"Potwierd\u017A","Confirmation Code":"Kod potwierdzenia",Confirming:"Potwierdzanie","Create Account":"Utw\xF3rz konto","Creating Account":"Tworzenie konta",Email:"E-mail","Enter your code":"Wprowad\u017A sw\xF3j kod","Enter your username":"Wprowad\u017A swoj\u0105 nazw\u0119 u\u017Cytkownika","Family Name":"Nazwisko","Given Name":"Pierwsze imi\u0119","Forgot your password?":"Zapomnia\u0142e\u015B has\u0142a? ","Hide password":"Ukryj has\u0142o",Loading:"\u0141adowanie",Username:"Nazwa u\u017Cytkownika","Middle Name":"Drugie imi\u0119",Name:"Imi\u0119 i nazwisko",Nickname:"Pseudonim","New password":"Nowe has\u0142o",Password:"Has\u0142o","Phone Number":"Numer telefonu","Preferred Username":"Preferowana nazwa u\u017Cytkownika",Profile:"Profil","Resend Code":"Wy\u015Blij kod ponownie","Reset your password":"Zresetuj swoje has\u0142o","Send Code":"Zresetuj has\u0142o","Send code":"Wy\u015Blij kod",Sending:"Wysy\u0142anie","Setup TOTP":"Konfiguruj TOTP","Show password":"Poka\u017C has\u0142o","Sign in":"Zaloguj","Sign In":"Logowanie","Sign In with Amazon":"Zaloguj z Amazon","Sign In with Apple":"Zaloguj z Apple","Sign In with Facebook":"Zaloguj z Facebook","Sign In with Google":"Zaloguj z Google","Sign in to your account":"Zaloguj si\u0119 na swoje konto","Create a new account":"Utw\xF3rz nowe konto","Signing in":"Logowanie",Skip:"Pomi\u0144",Submit:"Wy\u015Blij",Submitting:"Wysy\u0142anie","Verify Contact":"Weryfikacja danych kontaktowych","Account recovery requires verified contact information":"Odzyskanie konta wymaga zweryfikowanych danych kontaktowych",Verify:"Zweryfikuj",Website:"Strona internetowa"};_();var c2={"Back to Sign In":"Voltar para Entrar","Change Password":"Mudar senha",Changing:"Mudando",Code:"C\xF3digo","Confirm Password":"Confirme a Senha","Reset your Password":"Redefina sua senha","Confirm Sign Up":"Confirmar inscri\xE7\xE3o","Confirm SMS Code":"Confirme o c\xF3digo SMS","Confirm TOTP Code":"Confirme o c\xF3digo TOTP",Confirm:"confirme","Confirmation Code":"C\xF3digo de confirma\xE7\xE3o",Confirming:"Confirmando","Create Account":"Criar Conta","Creating Account":"Criando conta",Email:"O email","Enter your code":"Insira seu c\xF3digo","Enter your username":"entre com seu nome de usu\xE1rio","Enter your phone number":"Digite seu n\xFAmero de telefone","Enter your email":"Digite seu e-mail","Forgot your password?":"Esqueceu sua senha? ","Hide password":"Esconder a senha",Loading:"Carregando",Username:"Nome do usu\xE1rio","New password":"Nova Senha",Password:"Senha","Phone Number":"N\xFAmero de telefone","Resend Code":"Reenviar c\xF3digo","Reset your password":"Redefina sua senha","Send Code":"Enviar c\xF3digo","Send code":"Enviar c\xF3digo",Sending:"Enviando","Setup TOTP":"Configurar TOTP","Show password":"Mostrar senha","Sign In":"Entrar","Sign in":"Entrar","Sign In with Amazon":"Entrar com a Amazon","Sign In with Apple":"Entrar com a Apple","Sign In with Facebook":"Entrar com o Facebook","Sign In with Google":"Fa\xE7a login no Google","Sign in to your account":"Fa\xE7a login em sua conta","Create a new account":"Criar uma nova conta","Signing in":"Entrando",Skip:"Pular",Submit:"Enviar",Submitting:"Enviando","Verify Contact":"Verificar contato","Account recovery requires verified contact information":"A recupera\xE7\xE3o da conta requer informa\xE7\xF5es de contato verificadas",Verify:"Verificar"};_();var d2={"Account recovery requires verified contact information":"\u8D26\u6237\u6062\u590D\u9700\u8981\u9A8C\u8BC1\u8FC7\u7684\u8054\u7CFB\u65B9\u5F0F","Back to Sign In":"\u56DE\u5230\u767B\u5F55","Change Password":"\u66F4\u6539\u5BC6\u7801",Code:"\u786E\u8BA4\u7801",Confirm:"\u786E\u8BA4","Confirm a Code":"\u786E\u8BA4\u7801","Confirm Password":"\u786E\u8BA4\u5BC6\u7801","Confirm Sign In":"\u786E\u8BA4\u767B\u5F55","Confirm Sign Up":"\u786E\u8BA4\u6CE8\u518C",Email:"\u90AE\u7BB1","Forgot Password":"\u5FD8\u8BB0\u5BC6\u7801","Incorrect username or password":"\u7528\u6237\u540D\u6216\u5BC6\u7801\u9519\u8BEF","Invalid password format":"\u5BC6\u7801\u683C\u5F0F\u9519\u8BEF","Invalid phone number format":"\u7535\u8BDD\u683C\u5F0F\u9519\u8BEF\uFF0C\u8BF7\u4F7F\u7528\u683C\u5F0F +12345678900","New Password":"\u65B0\u5BC6\u7801",or:"\u6216\u8005",Password:"\u5BC6\u7801","Phone Number":"\u7535\u8BDD","Resend a Code":"\u91CD\u53D1\u786E\u8BA4\u7801","Send Code":"\u53D1\u9001\u786E\u8BA4\u7801","Sign In":"\u767B\u5F55","Sign Out":"\u9000\u51FA","Sign Up":"\u6CE8\u518C",Skip:"\u8DF3\u8FC7",Submit:"\u63D0\u4EA4","User already exists":"\u7528\u6237\u5DF2\u7ECF\u5B58\u5728","User does not exist":"\u7528\u6237\u4E0D\u5B58\u5728",Username:"\u7528\u6237\u540D",Verify:"\u9A8C\u8BC1","Verify Contact":"\u9A8C\u8BC1\u8054\u7CFB\u65B9\u5F0F"};_();var f2={"Account recovery requires verified contact information":"F\xF6r att \xE5terst\xE4lla kontot beh\xF6ver du ett verifierat konto","An account with the given email already exists.":"Det finns redan ett konto med denna e-postadress","Back to Sign In":"Tillbaka till inloggningen","Change Password":"Byt l\xF6senord","Confirm Password":"Bekr\xE4fta l\xF6senord",Code:"Kod",Confirm:"Bekr\xE4fta","Confirm a Code":"Bekr\xE4fta koden","Confirm Sign In":"Bekr\xE4fta inloggning","Confirm Sign Up":"Bekr\xE4fta registrering","Confirmation Code":"Verifikationskod","Create a new account":"Skapa ett nytt konto","Create account":"Skapa konto","Create Account":"Skapa konto",Email:"E-post","Enter your password":"Ange ditt l\xF6senord","Enter your username":"Ange ditt anv\xE4ndarnamn","Forgot Password":"Gl\xF6mt l\xF6senordet","Forgot your password?":"Gl\xF6mt ditt l\xF6senord? ","Have an account? ":"Redan registrerad? ","Incorrect username or password":"Felaktigt anv\xE4ndarnamn eller l\xF6senord","Invalid password format":"Ogiltigt l\xF6senordsformat","Invalid phone number format":"Ogiltigt format f\xF6r telefonnummer","Lost your code? ":"F\xF6rlorat koden? ","New Password":"Nytt l\xF6senord","No account? ":"Inget konto? ",or:"eller",Password:"L\xF6senord","Password attempts exceeded":"Maximalt antal felaktiga inloggningsf\xF6rs\xF6k har uppn\xE5tts","Phone Number":"Telefonnummer","Resend Code":"Skicka koden igen","Reset password":"\xC5terst\xE4ll l\xF6senord","Reset your password":"\xC5terst\xE4ll ditt l\xF6senord","Send code":"Skicka kod","Sign in":"Logga in","Sign In":"Logga in","Sign in to your account":"Logga in till ditt konto","Sign Out":"Logga ut","Sign Up":"Registrering","We Emailed You":"Vi har skickat e-post till dig","Enter your code":"Skriv din kod",Skip:"Hoppa \xF6ver",Submit:"Skicka","User already exists":"Anv\xE4ndaren finns redan","User does not exist":"Anv\xE4ndaren finns inte",Username:"Anv\xE4ndarnamn","Username cannot be empty":"Anv\xE4ndarnamnet kan inte vara tomt",Verify:"Verifiera","Verify Contact":"Verifiera kontakt"};_();var v2={"Account recovery requires verified contact information":"Pemulihan akun memerlukan informasi kontak terverifikasi","An account with the given email already exists.":"Akun dengan email tersebut sudah terdaftar.","Attempt limit exceeded, please try after some time.":"Batas percobaan terlampaui, mohon coba lagi setelah beberapa waktu.","Back to Sign In":"Kembali ke Masuk","Cannot reset password for the user as there is no registered/verified email or phone_number":"Tidak dapat mengatur ulang kata sandi karena tidak ada email terdaftar / terverifikasi atau nomor telepon",Change:"Ubah","Change Password":"Ubah kata sandi",Code:"Kode",Confirm:"Konfirmasi","Confirm a Code":"Konfirmasi kode","Confirm Password":"Konfirmasi kata sandi","Confirmation Code":"Kode Konfirmasi","Create a new account":"Buat akun baru","Create account":"Buat akun","Create Account":"Buat Akun","Creating Account":"Membuat Akun",Confirming:"Mengkonfirmasi",Email:"Email","Enter your code":"Masukkan kode anda","Enter your email":"Masukkan email anda","Enter your password":"Masukkan kata sandi anda","Enter your phone number":"Masukkan nomor telepon anda","Enter your username":"Masukkan nama akun anda","Forgot Password":"Lupa kata sandi","Forgot your password?":"Lupa kata sandi? ","Have an account? ":"Sudah punya akun? ",Hello:"Halo","Incorrect username or password.":"Nama akun atau kata sandi salah.","Invalid phone number format":"Nomor telepon tidak sesuai dengan format.","Invalid verification code provided, please try again.":"Kode verifikasi tidak sesuai, mohon coba lagi.","It may take a minute to arrive.":"Mungkin perlu beberapa waktu untuk tiba.","Lost your code? ":"Kode anda hilang?",Name:"Nama","Network error":"Galat jaringan","New password":"Kata sandi baru","No account? ":"Tidak ada akun?",or:"atau",Password:"Kata sandi","Password did not conform with policy: Password not long enough":"Kata sandi tidak sesuai dengan aturan: Kata sandi kurang panjang","Phone Number":"Nomor telepon","Resend a Code":"Renvoyer un code","Resend Code":"Kirim ulang kodenya","Reset password":"Ubah kata sandi anda","Reset your password":"Ubah kata sandi anda",Send:"Kirim","Send Code":"Kirim Kode","Send code":"Kirim kode",Sending:"Mengirim","Sign in":"Masuk","Sign In":"Masuk","Sign in to your account":"Masuk akun anda","Sign In with Amazon":"Masuk dengan Amazon","Sign In with AWS":"Masuk dengan AWS","Sign In with Facebook":"Masuk dengan Facebook","Sign In with Google":"Masuk dengan Google","Sign Up with Amazon":"Daftar dengan Amazon","Sign Up with AWS":"Daftar dengan AWS","Sign Up with Facebook":"Daftar dengan Facebook","Sign Up with Google":"Daftar dengan Google","Signing in":"Memasuki",Skip:"Lewati",SMS:"SMS",Submit:"Ajukan",Submitting:"Mengajukan","User is disabled.":"Akun dinonaktifkan.","User already exists":"Akun sudah terdaftar","User does not exist.":"Akun tidak terdaftar.",Username:"Nama akun","Username cannot be empty":"Nama akun tidak boleh kosong","Username/client id combination not found.":"Nama akun atau id tidak ditemukan.",Verify:"Verifikasi","Verify Contact":"Verifikasi Kontak","We Emailed You":"Kami mengirimkanmu email","Your code is on the way. To log in, enter the code we emailed to":"Kode anda dalam pengiriman. Untuk masuk, masukkan kode yang kami emailkan ke","Your code is on the way. To log in, enter the code we texted to":"Kode anda dalam pengiriman. Untuk masuk, masukkan kode yang kami tuliskan ke","Your passwords must match":"Kata sandi harus sama"};_();var p2={"Account recovery requires verified contact information":"Hesap kurtarma, do\u011Frulanm\u0131\u015F ileti\u015Fim bilgilerini gerektirir","An account with the given email already exists.":"Bu e-postaya ait zaten bir hesap var.","Back to Sign In":"Oturum A\xE7maya Geri D\xF6n","Change Password":"\u015Eifreyi De\u011Fi\u015Ftir",Changing:"De\u011Fi\u015Ftiriliyor",Code:"Kod",Confirm:"Do\u011Frula","Confirm Password":"\u015Eifreyi Do\u011Frula","Confirm Sign In":"Oturum A\xE7may\u0131 Do\u011Frula","Confirm Sign Up":"Kay\u0131t \u0130\u015Flemini Do\u011Frula","Confirm SMS Code":"SMS Kodunu Do\u011Frula","Confirm TOTP Code":"Tek Kullan\u0131ml\u0131k \u015Eifreyi Do\u011Frula","Confirmation Code":"Do\u011Frulama Kodu",Confirming:"Do\u011Frulan\u0131yor","Create Account":"Hesap Olu\u015Ftur","Creating Account":"Hesap Olu\u015Fturuluyor",Email:"E-posta","Enter your code":"Kodu girin","Enter your username":"Kullan\u0131c\u0131 ad\u0131n\u0131z\u0131 girin","Enter your phone number":"Telefon numaran\u0131z\u0131 girin","Enter your email":"E-posta adresinizi girin","Forgot your password?":"\u015Eifrenizi mi unuttunuz?","Hide password":"\u015Eifreyi gizle","Have an account? ":"Hesab\u0131n\u0131z var m\u0131? ","Incorrect username or password":"Yanl\u0131\u015F kullan\u0131c\u0131 ad\u0131 ya da \u015Fifre","Invalid password format":"Ge\xE7ersiz parola format\u0131","Invalid phone number format":"Ge\xE7ersiz telefon numaras\u0131 format\u0131","Lost your code? ":"Kodu mu kaybettiniz? ",Loading:"Y\xFCkleniyor","New password":"Yeni \u015Fifre","No account? ":"Hesab\u0131n\u0131z yok mu? ",or:"veya",Password:"\u015Eifre","Password attempts exceeded":"Maksimum oturum a\xE7ma giri\u015Fimi a\u015F\u0131ld\u0131","Phone Number":"Telefon Numaras\u0131","Resend Code":"Kodu Yeniden G\xF6nder","Reset your password":"\u015Eifrenizi s\u0131f\u0131rlay\u0131n","Reset your Password":"\u015Eifrenizi S\u0131f\u0131rlay\u0131n","Send Code":"Kod G\xF6nder","Send code":"Kod g\xF6nder",Sending:"G\xF6nderiliyor","Setup TOTP":"Tek kullan\u0131ml\u0131k \u015Fifre kurulumu yap","Show password":"\u015Eifreyi g\xF6ster","Sign in":"Oturum a\xE7","Sign In":"Oturum A\xE7","Sign In with Amazon":"Amazon ile Oturum A\xE7","Sign In with Apple":"Apple ile Oturum A\xE7","Sign In with Facebook":"Facebook ile Oturum A\xE7","Sign In with Google":"Google ile Oturum A\xE7","Sign in to your account":"Hesab\u0131n\u0131zda oturum a\xE7\u0131n","Create a new account":"Yeni bir hesap olu\u015Ftur","Signing in":"Oturum a\xE7\u0131l\u0131yor","Sign Out":"\xC7\u0131k\u0131\u015F yap","Sign Up":"Kay\u0131t Ol",Skip:"Atla",Submit:"G\xF6nder",Submitting:"G\xF6nderiliyor","User already exists":"Bu kullan\u0131c\u0131 zaten var","User does not exist":"B\xF6yle bir kullan\u0131c\u0131 mevcut de\u011Fil",Username:"Kullan\u0131c\u0131 ad\u0131","Username cannot be empty":"Kullan\u0131c\u0131 ad\u0131 bo\u015F olamaz","Verify Contact":"Ki\u015Fiyi Do\u011Frula",Verify:"Do\u011Frula"};_();var m2={BACK_SIGN_IN:"Back to Sign In",BIRTHDATE:"Birthdate",CHANGE_PASSWORD:"Change Password",CHANGING_PASSWORD:"Changing",CODE:"Code",CONFIRM_PASSWORD:"Confirm Password",CONFIRM_RESET_PASSWORD_HEADING:"Reset your Password",CONFIRM_SIGNUP_HEADING:"Confirm Sign Up",CONFIRM_SMS:"Confirm SMS Code",CONFIRM_TOTP:"Confirm TOTP Code",CONFIRM:"Confirm",CONFIRMATION_CODE:"Confirmation Code",CONFIRMING:"Confirming",CREATE_ACCOUNT:"Create Account",CREATING_ACCOUNT:"Creating Account",EMAIL_ADDRESS:"Email",ENTER_CODE:"Enter your code",ENTER_USERNAME:"Enter your username",FAMILY_NAME:"Family Name",GIVEN_NAME:"Given Name",FORGOT_YOUR_PASSWORD:"Forgot your password?",FORGOT_YOUR_PASSWORD_LEGACY:"Forgot your password? ",HIDE_PASSWORD:"Hide password",LOADING:"Loading",LOGIN_NAME:"Username",MIDDLE_NAME:"Middle Name",NAME:"Name",NICKNAME:"Nickname",NEW_PASSWORD:"New password",PASSWORD:"Password",PHONE_NUMBER:"Phone Number",PREFERRED_USERNAME:"Preferred Username",PROFILE:"Profile",RESEND_CODE:"Resend Code",RESET_PASSWORD_HEADING:"Reset your password",RESET_PASSWORD:"Reset Password",SEND_CODE:"Send code",SENDING:"Sending",SETUP_TOTP:"Setup TOTP",SHOW_PASSWORD:"Show password",SIGN_IN_BUTTON:"Sign in",SIGN_IN_TAB:"Sign In",SIGN_IN_WITH_AMAZON:"Sign In with Amazon",SIGN_IN_WITH_APPLE:"Sign In with Apple",SIGN_IN_WITH_FACEBOOK:"Sign In with Facebook",SIGN_IN_WITH_GOOGLE:"Sign In with Google",SIGN_IN:"Sign in to your account",SIGN_UP_BUTTON:"Create a new account",SIGNING_IN_BUTTON:"Signing in",SKIP:"Skip",SUBMIT:"Submit",SUBMITTING:"Submitting",VERIFY_CONTACT:"Verify Contact",VERIFY_HEADING:"Account recovery requires verified contact information",VERIFY:"Verify",WEBSITE:"Website"},h2=M({},t2),g2=M({},r2),y2=M({},n2),b2=M({},a2),C2=M({},o2),S2=M({},i2),w2=M({},s2),_2=M({},u2),x2=M({},l2),E2=M({},c2),A2=M({},d2),I2=M({},f2),$2=M({},v2),T2=M({},p2),P2=M({},m2);M({},P2);function R(e){return ae.I18n.get(e)}function k2(e){return ae.I18n.get(e)!==e}var N2={de:h2,en:g2,es:y2,fr:b2,id:$2,it:C2,ja:S2,kr:w2,nl:_2,pl:x2,pt:E2,zh:A2,sv:I2,tr:T2},ya={birthdate:{label:"Birthdate",labelHidden:!0,placeholder:"Birthdate",type:"date",autocomplete:"bday",isRequired:!0},confirmation_code:{label:"Confirmation Code",labelHidden:!0,placeholder:"Code",type:"number",autocomplete:"one-time-code",isRequired:!0},confirm_password:{label:"Confirm Password",labelHidden:!0,placeholder:"Confirm Password",type:"password",autocomplete:"new-password",isRequired:!0},email:{label:"Email",labelHidden:!0,placeholder:"Email",type:"email",autocomplete:"username",isRequired:!0},family_name:{label:"Family Name",labelHidden:!0,placeholder:"Family Name",type:"text",autocomplete:"family-name",isRequired:!0},given_name:{label:"Given Name",labelHidden:!0,placeholder:"Given Name",type:"text",autocomplete:"given-name",isRequired:!0},middle_name:{label:"Middle Name",labelHidden:!0,placeholder:"Middle Name",type:"text",autocomplete:"additional-name",isRequired:!0},name:{label:"Name",labelHidden:!0,placeholder:"Name",type:"text",autocomplete:"name",isRequired:!0},nickname:{label:"Nickname",labelHidden:!0,placeholder:"Nickname",type:"text",autocomplete:"tel",isRequired:!0},password:{label:"Password",labelHidden:!0,placeholder:"Password",type:"password",autocomplete:"new-password",isRequired:!0},phone_number:{label:"Phone Number",labelHidden:!0,placeholder:"Phone",type:"tel",autocomplete:"tel",dialCode:"+1",dialCodeList:e2,isRequired:!0},preferred_username:{label:"Preferred Username",labelHidden:!0,placeholder:"Preferred Username",type:"text",isRequired:!0},profile:{label:"Profile",labelHidden:!0,placeholder:"Profile",type:"url",autocomplete:"url",isRequired:!0},website:{label:"Website",labelHidden:!0,placeholder:"Website",type:"url",autocomplete:"url",isRequired:!0},username:{label:"Username",labelHidden:!0,placeholder:"Username",type:"text",autocomplete:"username",isRequired:!0}};_();var ze=e=>{let t=new FormData(e.target);return Object.fromEntries(t)},Js=e=>X3.includes(e),B2=e=>Array.isArray(e),F2=e=>e?B2(e)?e:[e]:null;_();var R2=e=>ae.Hub.listen("auth",t=>{switch(t.payload.event){case"signOut":e("SIGN_OUT");break}});_();_();_();var Je=(e,t)=>{let{country_code:r}=ha(e),n=ya[t],{type:o}=n;return o==="tel"&&(n=Ce(M({},n),{dialCode:r})),n},ba=e=>{let t=ga(e);return Ce(M({},Je(e,t)),{autocomplete:"username"})},Hr=e=>({confirmation_code:Ce(M({},Je(e,"confirmation_code")),{label:"Code *",placeholder:"Code"})}),D2=e=>({username:M({},ba(e)),password:Ce(M({},Je(e,"password")),{autocomplete:"current-password"})}),O2=e=>{let{loginMechanisms:t,signUpAttributes:r}=e.context.config,n=ga(e),o=Array.from(new Set([...t,"password","confirm_password",...r])),i={};for(let s of o)if(Js(s)){let u=s===n?ba(e):Je(e,s);i[s]=M({},u)}else console.debug(`Authenticator does not have a default implementation for ${s}. Customize SignUp FormFields to add your own.`);return i},U2=e=>({confirmation_code:Ce(M({},Je(e,"confirmation_code")),{placeholder:"Enter your code"})}),V2=e=>{let t=ga(e),{label:r}=ya[t];return{username:Ce(M({},ba(e)),{label:`Enter your ${r.toLowerCase()}`,placeholder:`Enter your ${r.toLowerCase()}`})}},M2=e=>Ce(M({},Hr(e)),{password:Ce(M({},Je(e,"password")),{label:"New Password",placeholder:"New Password"}),confirm_password:Ce(M({},Je(e,"confirm_password")),{label:"Confirm Password",placeholder:"Confirm Password"})}),L2=e=>{let t=xe(e),{requiredAttributes:r}=t.context,n=Array.from(new Set(["password","confirm_password",...r])),o={};for(let i of n)Js(i)?o[i]=M({},Je(e,i)):console.debug(`Authenticator does not have a default implementation for ${i}. Customize ForceNewPassword FormFields to add your own.`);return o},z2={signIn:D2,signUp:O2,confirmSignUp:U2,confirmSignIn:Hr,forceNewPassword:L2,resetPassword:V2,confirmResetPassword:M2,confirmVerifyUser:Hr,setupTOTP:Hr};_();var j2=e=>{let t=M({},e);for(let[r,n]of Object.entries(e)){let{label:o,placeholder:i}=n;t[r]=Ce(M({},n),{label:o?R(o):void 0,placeholder:i?R(i):void 0})}return t},G2=e=>Object.entries(e).sort((t,r)=>{let n=t[1].order||Number.MAX_VALUE,o=r[1].order||Number.MAX_VALUE;return n-o}).filter(t=>t[1]!==void 0),W2=(e,t={})=>{let r=mg(e);return Object.keys(t).forEach(n=>{r[n]=M(M({},r[n]),t[n])}),r},H2=(e,t)=>{let r=z2[e](t);return j2(r)},K2=(e,t)=>{var r,n;let o=H2(e,t),i=((n=(r=xe(t).context)==null?void 0:r.formFields)==null?void 0:n[e])||{};return W2(o,i)},q2=(e,t)=>{let r=K2(e,t);return G2(r)};_();_();_();var Kr=e=>Q0(e),Y2=ie({attributeToVerify:e=>{}}),Z2=ie({challengeName:e=>{}}),X2=ie({requiredAttributes:e=>{}}),Ca=ie({remoteError:e=>""}),Sa=ie({formValues:e=>({})}),wa=ie({touched:e=>({})}),J2=ie({unverifiedAttributes:e=>{}}),Q2=ie({username:e=>{}}),_a=ie({validationError:e=>({})}),ex=ie({challengeName:(e,t)=>{var r;return(r=t.data)==null?void 0:r.challengeName}}),tx=ie({requiredAttributes:(e,t)=>{var r,n;return(n=(r=t.data)==null?void 0:r.challengeParam)==null?void 0:n.requiredAttributes}}),rx=ie({redirectIntent:e=>"confirmPasswordReset"}),nx=ie({redirectIntent:e=>"confirmSignUp"}),Qs=ie({authAttributes:(e,t)=>{var r,n;let[o]=e.loginMechanisms,i=(r=e.formValues[o])!=null?r:e.formValues.username,s=(n=e.formValues)==null?void 0:n.password;return{username:i,password:s}}}),xa=ie({validationError:(e,t)=>t.data}),Ea=ie({remoteError:(e,t)=>{var r;return t.data.name==="NoUserPoolError"?"Configuration error (see console) \u2013 please contact the administrator":((r=t.data)==null?void 0:r.message)||t.data}}),ax=ie({unverifiedAttributes:(e,t)=>t.data.unverified}),eu=ie({user:(e,t)=>t.data.user||t.data}),ox=ie({username:(e,t)=>e.formValues.username}),ix=ie({codeDeliveryDetails:(e,t)=>t.data.codeDeliveryDetails}),sx=ie({authAttributes:(e,t)=>({username:e.formValues.username})}),Aa=ie({formValues:(e,t)=>{let{name:r,value:n}=t.data;return Ce(M({},e.formValues),{[r]:n})}}),Ia=ie({formValues:(e,t)=>M(M({},e.formValues),t.data)}),$a=ie({touched:(e,t)=>{let{name:r}=t.data;return Ce(M({},e.touched),{[`${r}`]:!0})}}),tu=ie({formValues:(e,t)=>{var r;let[n="username"]=e.loginMechanisms;if(!e.formValues.phone_number&&n!=="phone_number")return e.formValues;let{formValues:o,country_code:i}=e,s=o.phone_number?"phone_number":"username",u=`${(r=o.country_code)!=null?r:i}${o[s]}`.replace(/[^A-Z0-9+]/gi,""),l=Ce(M({},o),{[s]:u});return delete l.country_code,l}});_();_();_();var Ta=async(e,t,r,n)=>{let o=await Promise.all(n.map(s=>s(e,t,r))),i=$b({},...o);return ia(i)?Promise.resolve():Promise.reject(i)};_();var Pa={async getAmplifyConfig(){return ae.Amplify.configure()},async getCurrentUser(){return ae.Auth.currentAuthenticatedUser()},async handleSignUp(e){return ae.Auth.signUp(e)},async handleSignIn({username:e,password:t}){return ae.Auth.signIn(e,t)},async handleConfirmSignIn({user:e,code:t,mfaType:r}){return ae.Auth.confirmSignIn(e,t,r)},async handleConfirmSignUp({username:e,code:t}){return await ae.Auth.confirmSignUp(e,t)},async handleForgotPasswordSubmit({username:e,code:t,password:r}){return ae.Auth.forgotPasswordSubmit(e,t,r)},async handleForgotPassword(e){return ae.Auth.forgotPassword(e)},async validateCustomSignUp(e,t){},async validateFormPassword(e,t,r){let{password:n}=e,{password:o}=t;if(!o||!r)return null;let i=[],s=+(r==null?void 0:r.passwordPolicyMinLength);n.length<s&&i.push(`Password must have at least ${s} characters`);let u=r==null?void 0:r.passwordPolicyCharacters;return u==null||u.forEach(l=>{switch(l){case"REQUIRES_LOWERCASE":/[a-z]/.test(n)||i.push("Password must have lower case letters");break;case"REQUIRES_UPPERCASE":/[A-Z]/.test(n)||i.push("Password must have upper case letters");break;case"REQUIRES_NUMBERS":/[0-9]/.test(n)||i.push("Password must have numbers");break;case"REQUIRES_SYMBOLS":/[\W]/.test(n)||i.push("Password must have special characters");break}}),i.length!==0?{password:i}:null},async validateConfirmPassword(e,t){let{password:r,confirm_password:n}=e,{confirm_password:o,password:i}=t;if(!r&&!n)return null;if((r||n)&&r!==n&&(o&&i||(r==null?void 0:r.length)>=6&&(n==null?void 0:n.length)>=6))return{confirm_password:"Your passwords must match"}},async validatePreferredUsername(e,t){}};function ux({services:e}){return Kt({initial:"init",id:"signInActor",states:{init:{always:[{target:"signIn"}]},signIn:{initial:"edit",exit:["clearFormValues","clearTouched"],states:{edit:{entry:X(),on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},FEDERATED_SIGN_IN:"federatedSignIn"}},federatedSignIn:{tags:["pending"],entry:[X(),"clearError"],invoke:{src:"federatedSignIn",onError:{actions:"setRemoteError"}}},submit:{tags:["pending"],entry:["parsePhoneNumber","clearError",X()],invoke:{src:"signIn",onDone:[{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldForceChangePassword",actions:["setUser","setChallengeName","setRequiredAttributes"],target:"#signInActor.forceNewPassword"},{actions:"setUser",target:"verifying"}],onError:[{cond:"shouldRedirectToConfirmSignUp",actions:["setCredentials","setConfirmSignUpIntent"],target:"rejected"},{cond:"shouldRedirectToConfirmResetPassword",actions:["setUsernameAuthAttributes","setConfirmResetPasswordIntent"],target:"rejected"},{actions:"setRemoteError",target:"edit"}]}},verifying:{tags:["pending"],entry:["clearError",X()],invoke:{src:"checkVerifiedContact",onDone:[{cond:"shouldRequestVerification",target:"#signInActor.verifyUser",actions:"setUnverifiedAttributes"},{target:"resolved"}],onError:{actions:"setRemoteError",target:"edit"}}},resolved:{always:"#signInActor.resolved"},rejected:{always:"#signInActor.rejected"}}},confirmSignIn:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:X(),on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:["clearError",X()],invoke:{src:"confirmSignIn",onDone:{target:"#signInActor.resolved",actions:["setUser","clearChallengeName","clearRequiredAttributes"]},onError:{target:"edit",actions:"setRemoteError"}}}}},forceNewPassword:{type:"parallel",exit:["clearFormValues","clearError","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateFields",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:X()},invalid:{entry:X()}},on:{SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submit:{initial:"idle",entry:"clearError",states:{idle:{entry:X(),on:{SUBMIT:{actions:"handleSubmit",target:"validate"}}},validate:{entry:X(),invoke:{src:"validateFields",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},pending:{tags:["pending"],entry:[X(),"clearError"],invoke:{src:"forceNewPassword",onDone:[{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{target:"resolved",actions:["setUser","setCredentials"]}],onError:{target:"idle",actions:"setRemoteError"}}},resolved:{type:"final",always:"#signInActor.resolved"}}}}},setupTOTP:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:X(),on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:[X(),"clearError"],invoke:{src:"verifyTotpToken",onDone:{actions:["setUser","clearChallengeName","clearRequiredAttributes"],target:"#signInActor.resolved"},onError:{actions:"setRemoteError",target:"edit"}}}}},verifyUser:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:X(),on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SKIP:"#signInActor.resolved",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:"clearError",invoke:{src:"verifyUser",onDone:{target:"#signInActor.confirmVerifyUser"},onError:{actions:"setRemoteError",target:"edit"}}}}},confirmVerifyUser:{initial:"edit",exit:["clearFormValues","clearError","clearUnverifiedAttributes","clearAttributeToVerify","clearTouched"],states:{edit:{entry:X(),on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SKIP:"#signInActor.resolved",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:"clearError",invoke:{src:"confirmVerifyUser",onDone:{target:"#signInActor.resolved"},onError:{actions:"setRemoteError",target:"edit"}}}}},resolved:{type:"final",data:t=>({user:t.user})},rejected:{type:"final",data:(t,r)=>({intent:t.redirectIntent,authAttributes:t.authAttributes})}}},{actions:{clearAttributeToVerify:Y2,clearChallengeName:Z2,clearRequiredAttributes:X2,clearError:Ca,clearFormValues:Sa,clearTouched:wa,clearUnverifiedAttributes:J2,clearValidationError:_a,handleInput:Aa,handleSubmit:Ia,handleBlur:$a,parsePhoneNumber:tu,setChallengeName:ex,setConfirmResetPasswordIntent:rx,setConfirmSignUpIntent:nx,setRequiredAttributes:tx,setCredentials:Qs,setFieldErrors:xa,setRemoteError:Ea,setUnverifiedAttributes:ax,setUser:eu,setUsernameAuthAttributes:sx},guards:{shouldConfirmSignIn:(t,r)=>{let n=Pe(r,"data.challengeName");return["SMS_MFA","SOFTWARE_TOKEN_MFA"].includes(n)},shouldRedirectToConfirmSignUp:(t,r)=>r.data.code==="UserNotConfirmedException",shouldRedirectToConfirmResetPassword:(t,r)=>r.data.code==="PasswordResetRequiredException",shouldSetupTOTP:(t,r)=>Pe(r,"data.challengeName")==="MFA_SETUP",shouldForceChangePassword:(t,r)=>Pe(r,"data.challengeName")==="NEW_PASSWORD_REQUIRED",shouldRequestVerification:(t,r)=>{let{unverified:n,verified:o}=r.data;return ia(o)&&!ia(n)}},services:{async signIn(t){let{username:r,password:n}=t.formValues;return await e.handleSignIn({username:r,password:n})},async confirmSignIn(t,r){let{challengeName:n,user:o}=t,{confirmation_code:i}=t.formValues,s;return(n==="SMS_MFA"||n==="SOFTWARE_TOKEN_MFA")&&(s=n),await e.handleConfirmSignIn({user:o,code:i,mfaType:s}),await ae.Auth.currentAuthenticatedUser()},async forceNewPassword(t,r){let{user:n,formValues:o}=t,i=o,{password:s,confirm_password:u,phone_number:l,country_code:d}=i,c=qs(i,["password","confirm_password","phone_number","country_code"]),v;return l&&(v=`${d}${l}`.replace(/[^A-Z0-9+]/gi,""),c=Ce(M({},c),{phone_number:v})),ae.Auth.completeNewPassword(n,s,c)},async verifyTotpToken(t,r){let{user:n}=t,{confirmation_code:o}=t.formValues;return ae.Auth.verifyTotpToken(n,o)},async federatedSignIn(t,r){let{provider:n}=r.data;return await ae.Auth.federatedSignIn({provider:n})},async checkVerifiedContact(t,r){let{user:n}=t;return await ae.Auth.verifiedContact(n)},async verifyUser(t,r){let{unverifiedAttr:n}=t.formValues,o=await ae.Auth.verifyCurrentUserAttribute(n);return t.attributeToVerify=n,o},async confirmVerifyUser(t,r){let{attributeToVerify:n}=t,{confirmation_code:o}=t.formValues;return await ae.Auth.verifyCurrentUserAttributeSubmit(n,o)},async validateFields(t,r){return Ta(t.formValues,t.touched,t.passwordSettings,[Pa.validateConfirmPassword])}}})}_();var lx=Kt({initial:"pending",id:"signOutActor",states:{pending:{tags:["pending"],invoke:{src:"signOut",onDone:"resolved",onError:"rejected"}},resolved:{type:"final"},rejected:{type:"final"}}},{services:{signOut:()=>ae.Auth.signOut()}});_();function cx({services:e}){return Kt({id:"resetPasswordActor",initial:"init",states:{init:{always:[{target:"confirmResetPassword",cond:"shouldAutoConfirmReset"},{target:"resetPassword"}]},resetPassword:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:X(),on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"}}},submit:{tags:["pending"],entry:[X(),"setUsername","clearError"],invoke:{src:"resetPassword",onDone:{target:"#resetPasswordActor.confirmResetPassword"},onError:{actions:["setRemoteError"],target:"edit"}}}}},confirmResetPassword:{type:"parallel",exit:["clearFormValues","clearError","clearUsername","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateFields",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:X()},invalid:{entry:X()}},on:{CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submission:{initial:"idle",states:{idle:{entry:X(),on:{SUBMIT:{actions:"handleSubmit",target:"validate"},RESEND:"resendCode",CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"}}},validate:{entry:X(),invoke:{src:"validateFields",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},resendCode:{tags:["pending"],entry:["clearError",X()],invoke:{src:"resetPassword",onDone:{target:"idle"},onError:{actions:"setRemoteError",target:"idle"}}},pending:{tags:["pending"],entry:["clearError",X()],invoke:{src:"confirmResetPassword",onDone:{actions:"clearUsername",target:"#resetPasswordActor.resolved"},onError:{actions:"setRemoteError",target:"idle"}}}}}}},resolved:{type:"final"}}},{actions:{clearError:Ca,clearFormValues:Sa,clearTouched:wa,clearUsername:Q2,clearValidationError:_a,handleInput:Aa,handleSubmit:Ia,handleBlur:$a,setFieldErrors:xa,setRemoteError:Ea,setUsername:ox},guards:{shouldAutoConfirmReset:(t,r)=>!!(t.intent&&t.intent==="confirmPasswordReset")},services:{async resetPassword(t){var r,n;let o=(n=(r=t.formValues)==null?void 0:r.username)!=null?n:t.username;return e.handleForgotPassword(o)},async confirmResetPassword(t){let{username:r}=t,{confirmation_code:n,password:o}=t.formValues;return e.handleForgotPasswordSubmit({username:r,code:n,password:o})},async validateFields(t,r){return Ta(t.formValues,t.touched,t.passwordSettings,[Pa.validateConfirmPassword])}}})}_();function dx({services:e}){return Kt({id:"signUpActor",initial:"init",states:{init:{always:[{target:"confirmSignUp",cond:"shouldInitConfirmSignUp"},{target:"signUp"}]},signUp:{type:"parallel",exit:["clearError","clearFormValues","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateSignUp",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:X()},invalid:{entry:X()}},on:{CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submission:{initial:"idle",states:{idle:{entry:X(),on:{SUBMIT:{actions:"handleSubmit",target:"validate"},FEDERATED_SIGN_IN:"federatedSignIn"}},federatedSignIn:{tags:["pending"],entry:[X(),"clearError"],invoke:{src:"federatedSignIn",onDone:"#signUpActor.resolved",onError:{actions:"setRemoteError"}}},validate:{entry:X(),invoke:{src:"validateSignUp",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},pending:{tags:["pending"],entry:["parsePhoneNumber",X(),"clearError"],invoke:{src:"signUp",onDone:[{cond:"shouldSkipConfirm",target:"skipConfirm",actions:["setUser"]},{target:"resolved",actions:["setUser","setCredentials","setCodeDeliveryDetails"]}],onError:{target:"idle",actions:"setRemoteError"}}},skipConfirm:{invoke:{src:"signIn",onDone:{target:"#signUpActor.resolved",actions:"setUser"},onError:{target:"idle",actions:"setRemoteError"}}},resolved:{type:"final",always:"#signUpActor.confirmSignUp"}}}}},confirmSignUp:{initial:"edit",states:{edit:{entry:X(),on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"},RESEND:"resend"}},resend:{tags:["pending"],entry:X(),invoke:{src:"resendConfirmationCode",onDone:{target:"edit"},onError:[{target:"#signUpActor.resolved",actions:"setUser",cond:"isUserAlreadyConfirmed"},{target:"edit",actions:"setRemoteError"}]}},submit:{tags:["pending"],entry:[X(),"clearError"],invoke:{src:"confirmSignUp",onDone:{target:"#signUpActor.resolved",actions:["setUser"]},onError:{target:"edit",actions:"setRemoteError"}}}}},resolved:{type:"final",data:(t,r)=>{let{username:n,password:o}=t.authAttributes;return{user:Pe(r,"data.user")||t.user,authAttributes:{username:n,password:o}}}}}},{guards:{isUserAlreadyConfirmed:(t,r)=>r.data.message==="User is already confirmed.",shouldInitConfirmSignUp:t=>t.intent&&t.intent==="confirmSignUp",shouldSkipConfirm:(t,r)=>r.data.userConfirmed},actions:{clearError:Ca,clearFormValues:Sa,clearTouched:wa,clearValidationError:_a,handleInput:Aa,handleSubmit:Ia,handleBlur:$a,parsePhoneNumber:tu,setCredentials:Qs,setFieldErrors:xa,setRemoteError:Ea,setCodeDeliveryDetails:ix,setUser:eu},services:{async signIn(t,r){let{user:n,authAttributes:o,formValues:i}=t,s=Pe(n,"username")||Pe(o,"username"),u=Pe(i,"password");return await ae.Auth.signIn(s,u)},async confirmSignUp(t,r){let{user:n,authAttributes:o,formValues:i}=t,{confirmation_code:s}=i,u=Pe(n,"username")||Pe(o,"username"),{password:l}=o;return await e.handleConfirmSignUp({username:u,code:s}),await ae.Auth.signIn(u,l)},async resendConfirmationCode(t,r){let{user:n,authAttributes:o}=t,i=Pe(n,"username")||Pe(o,"username");return ae.Auth.resendSignUp(i)},async federatedSignIn(t,r){let{provider:n}=r.data;return await ae.Auth.federatedSignIn({provider:n})},async signUp(t,r){let{formValues:n,loginMechanisms:o}=t,[i="username"]=o,{[i]:s,password:u}=n,l=ew(n,(d,c)=>{switch(c){case"address":case"birthdate":case"email":case"family_name":case"gender":case"given_name":case"locale":case"middle_name":case"name":case"nickname":case"phone_number":case"picture":case"preferred_username":case"profile":case"updated_at":case"website":case"zoneinfo":return!0;default:return c.startsWith("custom:")}});return await e.handleSignUp({username:s,password:u,attributes:l})},async validateSignUp(t,r){return Ta(t.formValues,t.touched,t.passwordSettings,[e.validateFormPassword,e.validateConfirmPassword,e.validatePreferredUsername,e.validateCustomSignUp])}}})}var ru="+1";function fx(){return Kt({id:"authenticator",initial:"idle",context:{user:void 0,config:{},services:{},actorRef:void 0},states:{idle:{on:{INIT:{target:"setup",actions:"configure"}}},setup:{invoke:[{src:(e,t)=>e.services.getCurrentUser(),onDone:{actions:"setUser",target:"authenticated"},onError:[{target:"signUp",cond:e=>e.config.initialState==="signUp"},{target:"resetPassword",cond:e=>e.config.initialState==="resetPassword"},{target:"signIn"}]},{src:(e,t)=>e.services.getAmplifyConfig(),onDone:{actions:"applyAmplifyConfig"}}]},signIn:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignInActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:Kr("signInActor")}},on:{SIGN_UP:"signUp",RESET_PASSWORD:"resetPassword","done.invoke.signInActor":[{target:"signUp",actions:"setActorDoneData",cond:"shouldRedirectToSignUp"},{target:"resetPassword",actions:"setActorDoneData",cond:"shouldRedirectToResetPassword"},{target:"authenticated",actions:"setActorDoneData"}]}},signUp:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignUpActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:Kr("signUpActor")}},on:{SIGN_IN:"signIn","done.invoke.signUpActor":{target:"setup",actions:"setActorDoneData"}}},resetPassword:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnResetPasswordActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:Kr("resetPasswordActor")}},on:{SIGN_IN:"signIn","done.invoke.resetPasswordActor":{target:"signIn",actions:"setActorDoneData"}}},signOut:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignOutActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:[Kr("signOutActor"),"clearUser"]}},on:{"done.invoke.signOutActor":"signIn"}},authenticated:{on:{SIGN_OUT:"signOut"}}},on:{CHANGE:{actions:"forwardToActor"},BLUR:{actions:"forwardToActor"},SUBMIT:{actions:"forwardToActor"},FEDERATED_SIGN_IN:{actions:"forwardToActor"},RESEND:{actions:"forwardToActor"},SIGN_OUT:{actions:"forwardToActor"},SIGN_IN:{actions:"forwardToActor"},SKIP:{actions:"forwardToActor"}}},{actions:{forwardToActor:zg(e=>e.actorRef),setUser:Le({user:(e,t)=>t.data}),setActorDoneData:Le({actorDoneData:(e,t)=>{var r,n;return{authAttributes:M({},(r=t.data)==null?void 0:r.authAttributes),intent:(n=t.data)==null?void 0:n.intent}},user:(e,t)=>{var r;return(r=t.data)==null?void 0:r.user}}),clearUser:Le({user:void 0}),clearActorDoneData:Le({actorDoneData:void 0}),applyAmplifyConfig:Le({config(e,t){var r,n,o,i,s,u,l,d,c;let v=(n=(r=t.data.aws_cognito_username_attributes)==null?void 0:r.map(x=>x.toLowerCase()))!=null?n:[],f=(i=(o=t.data.aws_cognito_verification_mechanisms)==null?void 0:o.map(x=>x.toLowerCase()))!=null?i:[],m=(u=(s=t.data.aws_cognito_signup_attributes)==null?void 0:s.map(x=>x.toLowerCase()))!=null?u:[],g=(d=(l=t.data.aws_cognito_social_providers)==null?void 0:l.map(x=>x.toLowerCase()))!=null?d:[],h=t.data.aws_cognito_password_protection_settings||{};v.length===0&&v.push("username");let{loginMechanisms:p,signUpAttributes:y,socialProviders:C,initialState:S,formFields:w}=e.config;return{loginMechanisms:p!=null?p:v,formFields:(c=vx(w))!=null?c:{},passwordSettings:h,signUpAttributes:y!=null?y:Array.from(new Set([...f,...m])),socialProviders:C!=null?C:g.sort(),initialState:S}}}),spawnSignInActor:Le({actorRef:(e,t)=>{var r,n,o,i,s;let{services:u}=e,l=ux({services:u}).withContext({authAttributes:(r=e.actorDoneData)==null?void 0:r.authAttributes,user:e.user,intent:(n=e.actorDoneData)==null?void 0:n.intent,country_code:ru,formValues:{},touched:{},validationError:{},loginMechanisms:(o=e.config)==null?void 0:o.loginMechanisms,socialProviders:(i=e.config)==null?void 0:i.socialProviders,formFields:(s=e.config)==null?void 0:s.formFields});return Rr(l,{name:"signInActor"})}}),spawnSignUpActor:Le({actorRef:(e,t)=>{var r,n,o,i,s,u,l;let{services:d}=e,c=dx({services:d}).withContext({authAttributes:(n=(r=e.actorDoneData)==null?void 0:r.authAttributes)!=null?n:{},country_code:ru,intent:(o=e.actorDoneData)==null?void 0:o.intent,formValues:{},touched:{},validationError:{},loginMechanisms:(i=e.config)==null?void 0:i.loginMechanisms,socialProviders:(s=e.config)==null?void 0:s.socialProviders,formFields:(u=e.config)==null?void 0:u.formFields,passwordSettings:(l=e.config)==null?void 0:l.passwordSettings});return Rr(c,{name:"signUpActor"})}}),spawnResetPasswordActor:Le({actorRef:(e,t)=>{var r,n,o,i;let{services:s}=e,u=cx({services:s}).withContext({formValues:{},touched:{},intent:(r=e.actorDoneData)==null?void 0:r.intent,username:(o=(n=e.actorDoneData)==null?void 0:n.authAttributes)==null?void 0:o.username,formFields:(i=e.config)==null?void 0:i.formFields,validationError:{}});return Rr(u,{name:"resetPasswordActor"})}}),spawnSignOutActor:Le({actorRef:e=>{let t=lx.withContext({user:e.user});return Rr(t,{name:"signOutActor"})}}),configure:Le((e,t)=>{let r=t.data,{services:n}=r,o=qs(r,["services"]);return{services:M(M({},Pa),n),config:o}})},guards:{shouldRedirectToSignUp:(e,t)=>{var r;return((r=t.data)==null?void 0:r.intent)?t.data.intent==="confirmSignUp":!1},shouldRedirectToResetPassword:(e,t)=>{var r;return((r=t.data)==null?void 0:r.intent)?t.data.intent==="confirmPasswordReset":!1}}})}function vx(e){return e&&Object.keys(e).forEach(t=>{Object.keys(e[t]).forEach(r=>{let n=e[t][r];n.required=n.isRequired})}),e}_();_();_();_();_();var px={small:{value:"1px"},medium:{value:"2px"},large:{value:"3px"}};_();var mx={red:{10:{value:"hsl(0, 75%, 95%)"},20:{value:"hsl(0, 75%, 85%)"},40:{value:"hsl(0, 75%, 75%)"},60:{value:"hsl(0, 50%, 50%)"},80:{value:"hsl(0, 95%, 30%)"},90:{value:"hsl(0, 100%, 20%)"},100:{value:"hsl(0, 100%, 15%)"}},orange:{10:{value:"hsl(30, 75%, 95%)"},20:{value:"hsl(30, 75%, 85%)"},40:{value:"hsl(30, 75%, 75%)"},60:{value:"hsl(30, 50%, 50%)"},80:{value:"hsl(30, 95%, 30%)"},90:{value:"hsl(30, 100%, 20%)"},100:{value:"hsl(30, 100%, 15%)"}},yellow:{10:{value:"hsl(60, 75%, 95%)"},20:{value:"hsl(60, 75%, 85%)"},40:{value:"hsl(60, 75%, 75%)"},60:{value:"hsl(60, 50%, 50%)"},80:{value:"hsl(60, 95%, 30%)"},90:{value:"hsl(60, 100%, 20%)"},100:{value:"hsl(60, 100%, 15%)"}},green:{10:{value:"hsl(130, 60%, 95%)"},20:{value:"hsl(130, 60%, 90%)"},40:{value:"hsl(130, 44%, 63%)"},60:{value:"hsl(130, 43%, 46%)"},80:{value:"hsl(130, 33%, 37%)"},90:{value:"hsl(130, 27%, 29%)"},100:{value:"hsl(130, 22%, 23%)"}},teal:{10:{value:"hsl(190, 75%, 95%)"},20:{value:"hsl(190, 75%, 85%)"},40:{value:"hsl(190, 70%, 70%)"},60:{value:"hsl(190, 50%, 50%)"},80:{value:"hsl(190, 95%, 30%)"},90:{value:"hsl(190, 100%, 20%)"},100:{value:"hsl(190, 100%, 15%)"}},blue:{10:{value:"hsl(220, 95%, 95%)"},20:{value:"hsl(220, 85%, 85%)"},40:{value:"hsl(220, 70%, 70%)"},60:{value:"hsl(220, 50%, 50%)"},80:{value:"hsl(220, 95%, 30%)"},90:{value:"hsl(220, 100%, 20%)"},100:{value:"hsl(220, 100%, 15%)"}},purple:{10:{value:"hsl(300, 95%, 95%)"},20:{value:"hsl(300, 85%, 85%)"},40:{value:"hsl(300, 70%, 70%)"},60:{value:"hsl(300, 50%, 50%)"},80:{value:"hsl(300, 95%, 30%)"},90:{value:"hsl(300, 100%, 20%)"},100:{value:"hsl(300, 100%, 15%)"}},pink:{10:{value:"hsl(340, 95%, 95%)"},20:{value:"hsl(340, 90%, 85%)"},40:{value:"hsl(340, 70%, 70%)"},60:{value:"hsl(340, 50%, 50%)"},80:{value:"hsl(340, 95%, 30%)"},90:{value:"hsl(340, 100%, 20%)"},100:{value:"hsl(340, 100%, 15%)"}},neutral:{10:{value:"hsl(210, 5%, 98%)"},20:{value:"hsl(210, 5%, 94%)"},40:{value:"hsl(210, 5%, 87%)"},60:{value:"hsl(210, 6%, 70%)"},80:{value:"hsl(210, 10%, 40%)"},90:{value:"hsl(210, 25%, 25%)"},100:{value:"hsl(210, 50%, 10%)"}},brand:{primary:{10:{value:"{colors.teal.10.value}"},20:{value:"{colors.teal.20.value}"},40:{value:"{colors.teal.40.value}"},60:{value:"{colors.teal.60.value}"},80:{value:"{colors.teal.80.value}"},90:{value:"{colors.teal.90.value}"},100:{value:"{colors.teal.100.value}"}},secondary:{10:{value:"{colors.purple.10.value}"},20:{value:"{colors.purple.20.value}"},40:{value:"{colors.purple.40.value}"},60:{value:"{colors.purple.60.value}"},80:{value:"{colors.purple.80.value}"},90:{value:"{colors.purple.90.value}"},100:{value:"{colors.purple.100.value}"}}},font:{primary:{value:"{colors.neutral.100.value}"},secondary:{value:"{colors.neutral.90.value}"},tertiary:{value:"{colors.neutral.80.value}"},disabled:{value:"{colors.font.tertiary.value}"},inverse:{value:"{colors.white.value}"},interactive:{value:"{colors.brand.primary.80.value}"},hover:{value:"{colors.brand.primary.90.value}"},focus:{value:"{colors.brand.primary.100.value}"},active:{value:"{colors.brand.primary.100.value}"},info:{value:"{colors.blue.90.value}"},warning:{value:"{colors.orange.90.value}"},error:{value:"{colors.red.90.value}"},success:{value:"{colors.green.90.value}"}},background:{primary:{value:"{colors.white.value}"},secondary:{value:"{colors.neutral.10.value}"},tertiary:{value:"{colors.neutral.20.value}"},disabled:{value:"{colors.background.tertiary.value}"},info:{value:"{colors.blue.20.value}"},warning:{value:"{colors.orange.20.value}"},error:{value:"{colors.red.20.value}"},success:{value:"{colors.green.20.value}"}},border:{primary:{value:"{colors.neutral.60.value}"},secondary:{value:"{colors.neutral.40.value}"},tertiary:{value:"{colors.neutral.20.value}"},disabled:{value:"{colors.border.tertiary.value}"},focus:{value:"{colors.brand.primary.100.value}"},error:{value:"{colors.red.80.value}"}},shadow:{primary:{value:"hsla(210, 50%, 10%, 0.25)"},secondary:{value:"hsla(210, 50%, 10%, 0.15)"},tertiary:{value:"hsla(210, 50%, 10%, 0.05)"}},overlay:{10:{value:"hsla(0, 0%, 0%, 0.1)"},20:{value:"hsla(0, 0%, 0%, 0.2)"},30:{value:"hsla(0, 0%, 0%, 0.3)"},40:{value:"hsla(0, 0%, 0%, 0.4)"},50:{value:"hsla(0, 0%, 0%, 0.5)"},60:{value:"hsla(0, 0%, 0%, 0.6)"},70:{value:"hsla(0, 0%, 0%, 0.7)"},80:{value:"hsla(0, 0%, 0%, 0.8)"},90:{value:"hsla(0, 0%, 0%, 0.9)"}},black:{value:"hsl(0, 0%, 0%)"},white:{value:"hsl(0, 0%, 100%)"},transparent:{value:"transparent"}};_();var hx={default:{variable:{value:`'InterVariable', 'Inter var', 'Inter', -apple-system, BlinkMacSystemFont,
84
84
  'Helvetica Neue', 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans',
85
85
  sans-serif`},static:{value:`'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue',
86
- 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif`}}};A();var E3={xxxs:{value:"0.375rem"},xxs:{value:"0.5rem"},xs:{value:"0.75rem"},small:{value:"0.875rem"},medium:{value:"1rem"},large:{value:"1.25rem"},xl:{value:"1.5rem"},xxl:{value:"2rem"},xxxl:{value:"2.5rem"},xxxxl:{value:"3rem"}};A();var A3={hairline:{value:100},thin:{value:200},light:{value:300},normal:{value:400},medium:{value:500},semibold:{value:600},bold:{value:700},extrabold:{value:800},black:{value:900}};A();var I3={small:{value:"1.25"},medium:{value:"1.5"},large:{value:"2"}};A();var k3={0:{value:"0"},10:{value:"0.1"},20:{value:"0.2"},30:{value:"0.3"},40:{value:"0.4"},50:{value:"0.5"},60:{value:"0.6"},70:{value:"0.7"},80:{value:"0.8"},90:{value:"0.9"},100:{value:"1"}};A();var P3={small:{value:"1px"},medium:{value:"2px"},large:{value:"3px"}};A();var N3={small:{value:"1px"},medium:{value:"2px"},large:{value:"3px"}};A();var T3={xs:{value:"0.125rem"},small:{value:"0.25rem"},medium:{value:"0.5rem"},large:{value:"1rem"},xl:{value:"2rem"},xxl:{value:"4rem"},xxxl:{value:"8rem"}};A();var $3={small:{value:{offsetX:"0px",offsetY:"2px",blurRadius:"4px",color:"{colors.shadow.tertiary.value}"}},medium:{value:{offsetX:"0px",offsetY:"2px",blurRadius:"6px",color:"{colors.shadow.secondary.value}"}},large:{value:{offsetX:"0px",offsetY:"4px",blurRadius:"12px",color:"{colors.shadow.primary.value}"}}};A();var B3={zero:{value:"0"},xxxs:{value:"0.25rem"},xxs:{value:"0.375rem"},xs:{value:"0.5rem"},small:{value:"0.75rem"},medium:{value:"1rem"},large:{value:"1.5rem"},xl:{value:"2.0rem"},xxl:{value:"3.0rem"},xxxl:{value:"4.5rem"},relative:{xxxs:{value:"0.25em"},xxs:{value:"0.375em"},xs:{value:"0.5em"},small:{value:"0.75em"},medium:{value:"1em"},large:{value:"1.5em"},xl:{value:"2.0em"},xxl:{value:"3.0em"},xxxl:{value:"4.5em"},full:{value:"100%"}}};A();var F3={short:{value:"100ms"},medium:{value:"250ms"},long:{value:"500ms"}};A();var D3={slideX:{small:{value:"translateX(0.5em)"},medium:{value:"translateX(1em)"},large:{value:"translateX(2em)"}}},R3={components:C_(),borderWidths:S3,colors:_3,fonts:x3,fontSizes:E3,fontWeights:A3,lineHeights:I3,opacities:k3,outlineOffsets:P3,outlineWidths:N3,radii:T3,shadows:$3,space:B3,time:F3,transforms:D3};A();var O3={values:{base:0,small:480,medium:768,large:992,xl:1280,xxl:1536},defaultBreakpoint:"base"},Vs={tokens:R3,breakpoints:O3,name:"default-theme"};A();var V3="amplify";function Dt(e){if($S(e)){let t=e.replace(/\{|\}/g,"").replace(".value","").split(".");return`var(--${Us({path:t})})`}return e}function U3(e){let{value:t}=e;if(typeof t=="string")return Dt(t);if(typeof t=="object"&&"offsetX"in t){let{offsetX:r="",offsetY:a="",blurRadius:o="",spreadRadius:i="",color:s=""}=t;return[Dt(r),Dt(a),Dt(o),Dt(i),Dt(s)].join(" ")}return t}function Us({path:e=[]}){return`${ES([V3,...e].join(" "))}`}function M3(e,t){let r=`--${Us({path:t})}`,{value:a}=e;return{name:r,path:t,value:U3(e),original:a,toString:()=>`var(${r})`}}function _a(e,t=[]){let r={};if(e.hasOwnProperty("value"))return M3(e,t);for(let a in e)e.hasOwnProperty(a)&&(r[a]=_a(e[a],t.concat(a)));return r}function z3(e,t=Vs){let r=pw([{},t,e]),a=_a(r.tokens),{breakpoints:o,name:i}=r,s=`[data-amplify-theme="${i}"] {
87
- `+is(a).map(u=>`${u.name}: ${u.value};`).join(`
86
+ 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif`}}};_();var gx={xxxs:{value:"0.375rem"},xxs:{value:"0.5rem"},xs:{value:"0.75rem"},small:{value:"0.875rem"},medium:{value:"1rem"},large:{value:"1.25rem"},xl:{value:"1.5rem"},xxl:{value:"2rem"},xxxl:{value:"2.5rem"},xxxxl:{value:"3rem"}};_();var yx={hairline:{value:100},thin:{value:200},light:{value:300},normal:{value:400},medium:{value:500},semibold:{value:600},bold:{value:700},extrabold:{value:800},black:{value:900}};_();var bx={small:{value:"1.25"},medium:{value:"1.5"},large:{value:"2"}};_();var Cx={0:{value:"0"},10:{value:"0.1"},20:{value:"0.2"},30:{value:"0.3"},40:{value:"0.4"},50:{value:"0.5"},60:{value:"0.6"},70:{value:"0.7"},80:{value:"0.8"},90:{value:"0.9"},100:{value:"1"}};_();var Sx={small:{value:"1px"},medium:{value:"2px"},large:{value:"3px"}};_();var wx={small:{value:"1px"},medium:{value:"2px"},large:{value:"3px"}};_();var _x={xs:{value:"0.125rem"},small:{value:"0.25rem"},medium:{value:"0.5rem"},large:{value:"1rem"},xl:{value:"2rem"},xxl:{value:"4rem"},xxxl:{value:"8rem"}};_();var xx={small:{value:{offsetX:"0px",offsetY:"2px",blurRadius:"4px",color:"{colors.shadow.tertiary.value}"}},medium:{value:{offsetX:"0px",offsetY:"2px",blurRadius:"6px",color:"{colors.shadow.secondary.value}"}},large:{value:{offsetX:"0px",offsetY:"4px",blurRadius:"12px",color:"{colors.shadow.primary.value}"}}};_();var Ex={zero:{value:"0"},xxxs:{value:"0.25rem"},xxs:{value:"0.375rem"},xs:{value:"0.5rem"},small:{value:"0.75rem"},medium:{value:"1rem"},large:{value:"1.5rem"},xl:{value:"2.0rem"},xxl:{value:"3.0rem"},xxxl:{value:"4.5rem"},relative:{xxxs:{value:"0.25em"},xxs:{value:"0.375em"},xs:{value:"0.5em"},small:{value:"0.75em"},medium:{value:"1em"},large:{value:"1.5em"},xl:{value:"2.0em"},xxl:{value:"3.0em"},xxxl:{value:"4.5em"},full:{value:"100%"}}};_();var Ax={short:{value:"100ms"},medium:{value:"250ms"},long:{value:"500ms"}};_();var Ix={slideX:{small:{value:"translateX(0.5em)"},medium:{value:"translateX(1em)"},large:{value:"translateX(2em)"}}},$x={components:q3(),borderWidths:px,colors:mx,fonts:hx,fontSizes:gx,fontWeights:yx,lineHeights:bx,opacities:Cx,outlineOffsets:Sx,outlineWidths:wx,radii:_x,shadows:xx,space:Ex,time:Ax,transforms:Ix};_();var Tx={values:{base:0,small:480,medium:768,large:992,xl:1280,xxl:1536},defaultBreakpoint:"base"},nu={tokens:$x,breakpoints:Tx,name:"default-theme"};_();var Px="amplify";function Et(e){if(i3(e)){let t=e.replace(/\{|\}/g,"").replace(".value","").split(".");return`var(--${au({path:t})})`}return e}function kx(e){let{value:t}=e;if(typeof t=="string")return Et(t);if(typeof t=="object"&&"offsetX"in t){let{offsetX:r="",offsetY:n="",blurRadius:o="",spreadRadius:i="",color:s=""}=t;return[Et(r),Et(n),Et(o),Et(i),Et(s)].join(" ")}return t}function au({path:e=[]}){return`${Q_([Px,...e].join(" "))}`}function Nx(e,t){let r=`--${au({path:t})}`,{value:n}=e;return{name:r,path:t,value:kx(e),original:n,toString:()=>`var(${r})`}}function ka(e,t=[]){let r={};if(e.hasOwnProperty("value"))return Nx(e,t);for(let n in e)e.hasOwnProperty(n)&&(r[n]=ka(e[n],t.concat(n)));return r}function Bx(e,t=nu){let r=zw([{},t,e]),n=ka(r.tokens),{breakpoints:o,name:i}=r,s=`[data-amplify-theme="${i}"] {
87
+ `+As(n).map(l=>`${l.name}: ${l.value};`).join(`
88
88
  `)+`
89
89
  }
90
- `,l=[];return r.overrides&&(l=r.overrides.map(u=>{let d=_a(u.tokens),c=is(d).map(v=>`${v.name}: ${v.value};`).join(`
91
- `);return"selector"in u&&(s+=`
92
- ${u.selector} {
90
+ `,u=[];return r.overrides&&(u=r.overrides.map(l=>{let d=ka(l.tokens),c=As(d).map(v=>`${v.name}: ${v.value};`).join(`
91
+ `);return"selector"in l&&(s+=`
92
+ ${l.selector} {
93
93
  ${c}
94
94
  }
95
- `),"mediaQuery"in u&&(s+=`
96
- @media (${u.mediaQuery}) {
95
+ `),"mediaQuery"in l&&(s+=`
96
+ @media (${l.mediaQuery}) {
97
97
  [data-amplify-theme="${i}"] {
98
98
  ${c}
99
99
  }
100
100
  }
101
- `),"breakpoint"in u&&(s+=`
102
- @media (min-width: ${r.breakpoints.values[u.breakpoint]}px) {
101
+ `),"breakpoint"in l&&(s+=`
102
+ @media (min-width: ${r.breakpoints.values[l.breakpoint]}px) {
103
103
  [data-amplify-theme="${i}"] {
104
104
  ${c}
105
105
  }
106
106
  }
107
- `),"colorMode"in u&&(s+=`
108
- @media (prefers-color-scheme: ${u.colorMode}) {
107
+ `),"colorMode"in l&&(s+=`
108
+ @media (prefers-color-scheme: ${l.colorMode}) {
109
109
  [data-amplify-theme="${i}"][data-amplify-color-mode="system"] {
110
110
  ${c}
111
111
  }
112
112
  }
113
113
  `,s+=`
114
- [data-amplify-theme="${i}"][data-amplify-color-mode="${u.colorMode}"] {
114
+ [data-amplify-theme="${i}"][data-amplify-color-mode="${l.colorMode}"] {
115
115
  ${c}
116
116
  }
117
- `),Qt(ue({},u),{tokens:d})})),{tokens:a,breakpoints:o,name:i,cssText:s,overrides:l}}A();A();z3({name:"default-theme"},Vs);const L3=e=>(e==null?void 0:e.length)===1&&e[0]==="username"?[...da]:e,Ms={error:"",hasValidationErrors:!1,isPending:!1,route:"",user:"",validationErrors:{val:""},codeDeliveryDetails:{val:""},change:e=>null,updateForm:e=>null,updateBlur:e=>null,resend:e=>null,resendCode:e=>null,signOut:e=>null,federatedSignIn:e=>null,toFederatedSignIn:e=>null,resetPassword:e=>null,toResetPassword:e=>null,signIn:e=>null,toSignIn:e=>null,signUp:e=>null,toSignUp:e=>null,skip:e=>null,skipVerification:e=>null,submit:e=>null,submitForm:e=>null},vt=(e,t,r,a=!1)=>{var i,s,l,u;const o=r==null?void 0:r[e];return{labelHidden:(i=o==null?void 0:o.labelHidden)!=null?i:a,required:(s=o==null?void 0:o.required)!=null?s:!0,label:(l=o==null?void 0:o.label)!=null?l:T(t),placeholder:(u=o==null?void 0:o.placeholder)!=null?u:T(t)}},j3={},G3={"data-amplify-label":""};function H3(e,t){return n.openBlock(),n.createElementBlock("label",G3,[n.renderSlot(e.$slots,"default")])}var Ge=zt(j3,[["render",H3]]);const He=n.defineComponent({emits:["update:modelValue"],setup(e,{emit:t}){const r=a=>{t("update:modelValue",a.target.value)};return(a,o)=>(n.openBlock(),n.createElementBlock("input",{onChange:o[0]||(o[0]=i=>r(i)),"data-amplify-input":""},null,32))}}),W3=["aria-label"],K3={key:0,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",class:"amplify-icon"},q3=n.createElementVNode("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"},null,-1),Y3=[q3],Z3={key:1,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",class:"amplify-icon"},X3=n.createElementVNode("path",{d:"M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z",fill:"none"},null,-1),J3=n.createElementVNode("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"},null,-1),Q3=[X3,J3];function e2(e){var g;const t=e,r=T("Show password"),a=T("Hide password"),o=n.ref("password"),i=n.ref(r),s=Math.floor(Math.random()*999999),{name:l,label:u,autocomplete:d,ariainvalid:c,labelHidden:v,placeholder:f,required:p}=n.toRefs(t);let m=n.ref("");function y(){i.value=i.value===r?a:r,o.value=o.value==="password"?"text":"password"}const C=T((g=f==null?void 0:f.value)!=null?g:u.value),b=T(u.value);return(w,_)=>{const E=Ge,k=He,S=Ee;return n.openBlock(),n.createBlock(S,{class:"amplify-flex amplify-field amplify-textfield amplify-passwordfield",style:{"flex-direction":"column"}},{default:n.withCtx(()=>{var I;return[n.createVNode(E,{class:n.normalizeClass(["amplify-label",{"amplify-visually-hidden":(I=n.unref(v))!=null?I:!0}]),for:"amplify-field-"+n.unref(s)},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(b)),1)]),_:1},8,["class","for"]),n.createVNode(S,{class:"amplify-flex amplify-field-group"},{default:n.withCtx(()=>{var x;return[n.createVNode(k,n.mergeProps(w.$attrs,{modelValue:n.unref(m),"onUpdate:modelValue":_[0]||(_[0]=$=>n.isRef(m)?m.value=$:m=$),class:"amplify-input amplify-field-group__control","aria-invalid":n.unref(c),id:"amplify-field-"+n.unref(s),"data-amplify-password":"true",name:n.unref(l),autocomplete:n.unref(d),required:(x=n.unref(p))!=null?x:!0,placeholder:n.unref(C),type:o.value}),null,16,["modelValue","aria-invalid","id","name","autocomplete","required","placeholder","type"]),n.createVNode(S,{class:"amplify-field-group__outer-end"},{default:n.withCtx(()=>[n.createElementVNode("button",{"aria-label":i.value,class:"amplify-button amplify-field-group__control amplify-field__show-password","data-fullwidth":"false",type:"button",onClick:y},[o.value==="password"?(n.openBlock(),n.createElementBlock("svg",K3,Y3)):(n.openBlock(),n.createElementBlock("svg",Z3,Q3))],8,W3)]),_:1})]}),_:1})]}),_:1})}}const t2={inheritAttrs:!1},at=n.defineComponent(on(Mt({},t2),{props:{name:null,label:null,autocomplete:null,ariainvalid:{type:Boolean},labelHidden:{type:Boolean,default:!0},placeholder:null,required:{type:Boolean,default:!0}},setup:e2})),r2=["value","selected"],zs=n.defineComponent({props:{selectValue:{default:""},options:null},emits:["update:selectValue"],setup(e,{emit:t}){const{options:r,selectValue:a}=e,o=i=>{t("update:selectValue",i.target.value)};return(i,s)=>(n.openBlock(),n.createElementBlock("select",{onChange:s[0]||(s[0]=l=>o(l))},[(n.openBlock(),n.createElementBlock(n.Fragment,null,n.renderList(r,(l,u)=>n.createElementVNode("option",{key:u,value:l,selected:l==a?!0:void 0},n.toDisplayString(l),9,r2)),64))],32))}});var Hr=globalThis&&globalThis.__assign||function(){return Hr=Object.assign||function(e){for(var t,r=1,a=arguments.length;r<a;r++){t=arguments[r];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Hr.apply(this,arguments)},n2=globalThis&&globalThis.__rest||function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(r[a[o]]=e[a[o]]);return r};function a2(e,t,r){if(typeof e=="object")return e;var a=function(){};return{next:e,error:t||a,complete:r||a}}function o2(e,t,r){t===void 0&&(t={});var a=typeof e=="function"?e():e,o=t.context,i=t.guards,s=t.actions,l=t.activities,u=t.services,d=t.delays,c=t.state,v=n2(t,["context","guards","actions","activities","services","delays","state"]),f={context:o,guards:i,actions:s,activities:l,services:u,delays:d},p=a.withConfig(f,function(){return Hr(Hr({},a.context),o)}),m=Vo(p,v).start(c?it.create(c):void 0),y;return n.onMounted(function(){r&&(y=m.subscribe(a2(r)))}),n.onBeforeUnmount(function(){m.stop(),y==null||y.unsubscribe()}),m}function i2(e){return"state"in e}var Ls=function(){};function s2(e){return"getSnapshot"in e?e.getSnapshot():i2(e)?e.state:void 0}function js(e,t){t===void 0&&(t=s2);var r=n.isRef(e)?e:n.shallowRef(e),a=n.shallowRef(t(r.value)),o=function(i){r.value.send(i)};return n.watch(r,function(i,s,l){a.value=t(i);var u=i.subscribe({next:function(d){return a.value=d},error:Ls,complete:Ls}).unsubscribe;l(function(){return u()})},{immediate:!0}),{state:a,send:o}}const xa=n.ref();let Wr=n.reactive(on(Mt({},Ms),{send:"",state:""}));const Ne=e=>(e&&(xa.value=e),js(xa.value)),l2=()=>(Gs(),n.watchEffect(()=>{Gs()}),Wr),De=l2;function Gs(){if(!xa.value)return;const{state:e,send:t}=Ne(),r=$s({send:t,state:e.value});for(const a of Object.keys(Ms))Wr[a]=r[a];Wr.send=t,Wr.state=e}const u2=n.createTextVNode(n.toDisplayString("Country Code")),c2=n.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",class:"amplify-icon",viewBox:"0 0 24 24","data-size":"large",fill:"currentColor"},[n.createElementVNode("path",{d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})],-1),Kr=n.defineComponent({props:{userNameAlias:{type:Boolean,default:!1},userName:{default:""},disabled:{type:Boolean},labelHidden:{type:Boolean,default:!0},label:null,placeholder:null,required:{type:Boolean,default:!0},dialCode:null,dialCodeList:null},setup(e){var _,E,k,S,I;const{userNameAlias:t,userName:r,disabled:a,placeholder:o,required:i,label:s,dialCode:l,dialCodeList:u}=e,{state:d}=Ne(),{value:{context:c}}=d,v=n.computed(()=>er(d.value)),f=l!=null?l:v.value.country_code;let p=n.ref("");r&&(p=n.computed(()=>r));const m=n.computed(()=>u!=null?u:Bs),[y]=L3((_=c==null?void 0:c.config)==null?void 0:_.loginMechanisms);let C=y,b=(k=(E=ke[y])==null?void 0:E.label)!=null?k:ke.username.label,g=(I=(S=ke[C])==null?void 0:S.type)!=null?I:ke.username.label;if(t){const x=Ts(c);b=x.label||ke.username.label,g=x.type,C="username"}const w=T(o!=null?o:b);return b=T(s!=null?s:b),(x,$)=>{const F=Ge,R=zs,B=Ee,U=He;return n.openBlock(),n.createBlock(B,{class:"amplify-flex amplify-field amplify-textfield amplify-phonenumberfield",style:{"flex-direction":"column"}},{default:n.withCtx(()=>{var L;return[n.createVNode(F,n.mergeProps({class:["amplify-label",{"amplify-visually-hidden":(L=e.labelHidden)!=null?L:!0}],for:"amplify-field-601d"},x.$attrs),{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(b)),1)]),_:1},16,["class"]),n.createVNode(B,{class:"amplify-flex amplify-field-group"},{default:n.withCtx(()=>[n.createVNode(B,{class:"amplify-field-group__outer-start"},{default:n.withCtx(()=>[n.unref(g)==="tel"?(n.openBlock(),n.createBlock(B,{key:0,class:"amplify-flex amplify-field amplify-selectfield amplify-countrycodeselect",style:{"flex-direction":"column"}},{default:n.withCtx(()=>[n.createVNode(F,{class:"amplify-label amplify-visually-hidden",for:"amplify-field-1177"},{default:n.withCtx(()=>[u2]),_:1}),n.createVNode(B,{class:"amplify-select__wrapper"},{default:n.withCtx(()=>[n.createVNode(R,{class:"amplify-select amplify-field-group__control",id:"amplify-field-1177","aria-label":"Country code",name:"country_code",options:n.unref(m),selectValue:n.unref(f)},null,8,["options","selectValue"]),n.createVNode(B,{class:"amplify-flex amplify-select__icon-wrapper",style:{"align-items":"center","justify-content":"center"}},{default:n.withCtx(()=>[c2]),_:1})]),_:1})]),_:1})):n.createCommentVNode("",!0)]),_:1}),n.createVNode(B,{class:"amplify-field-group__field-wrapper"},{default:n.withCtx(()=>[n.createVNode(U,{class:"amplify-input amplify-field-group__control",id:"amplify-field-601d","aria-invalid":"false",textValue:n.unref(p),autocomplete:"username",placeholder:n.unref(w),required:i!=null?i:!0,name:n.unref(C),disabled:a,type:n.unref(g)},null,8,["textValue","placeholder","required","name","type"])]),_:1})]),_:1})]}),_:1})}}}),qr=n.defineComponent({props:{provider:String},setup(e){const{provider:t}=e,{send:r}=Ne(),a=o=>{r({type:"FEDERATED_SIGN_IN",data:{provider:t}})};return(o,i)=>{const s=Ee,l=$e;return n.openBlock(),n.createBlock(l,{class:"amplify-field-group__control federated-sign-in-button","data-fullwidth":"false",style:{"font-weight":"normal"},type:"button",onClick:a},{default:n.withCtx(()=>[n.createVNode(s,{class:"amplify-flex federated-sign-in-button-row",style:{"flex-direction":"row","justify-content":"center","align-items":"center"}},{default:n.withCtx(()=>[n.renderSlot(o.$slots,"default")]),_:3})]),_:3})}}}),d2=n.createElementVNode("svg",{"aria-label":"Amazon icon",class:"amplify-icon federated-sign-in-icon",viewBox:"0 0 248 268"},[n.createElementVNode("path",{d:"M139.056521,147.024612 C133.548808,156.744524 124.782731,162.726926 115.087401,162.726926 C101.790721,162.726926 93.9937779,152.612964 93.9937779,137.68681 C93.9937779,108.224571 120.447551,102.879017 145.533369,102.879017 L145.533369,110.365976 C145.533369,123.831358 145.876354,135.063787 139.056521,147.024612 M207.206992,162.579655 C209.400505,165.692256 209.887066,169.437725 207.063416,171.770186 C199.996315,177.653081 187.429476,188.590967 180.513926,194.716661 L180.46208,194.621133 C178.176838,196.663031 174.862638,196.810303 172.27828,195.445057 C160.780281,185.9162 158.686473,181.494078 152.405048,172.403055 C133.405233,191.751331 119.909143,197.534719 95.309886,197.534719 C66.1281801,197.534719 43.4791563,179.599451 43.4791563,143.669212 C43.4791563,115.616003 58.6782107,96.5105248 80.4019706,87.1727225 C99.2063636,78.9096034 125.464714,77.4528107 145.533369,75.1641337 L145.533369,70.694248 C145.533369,62.4749122 146.167493,52.7510201 141.297893,45.6541312 C137.110277,39.2856386 129.018206,36.6586354 121.859376,36.6586354 C108.658413,36.6586354 96.9171331,43.4171982 94.0416364,57.4199213 C93.4593582,60.532522 91.1701278,63.5933787 88.003492,63.7406501 L54.4387473,60.1424518 C51.6150972,59.5095829 48.4484614,57.2248862 49.2740201,52.8982915 C56.9712583,12.2553679 93.7983558,0 126.732964,0 C143.587124,0 165.606011,4.47386604 178.902691,17.2148315 C195.760839,32.917146 194.149604,53.8694866 194.149604,76.6726704 L194.149604,130.542157 C194.149604,146.734049 200.87372,153.830938 207.206992,162.579655 Z M233.826346,208.038962 C230.467669,203.683255 211.550709,205.9821 203.056405,206.998432 C200.470662,207.321077 200.076227,205.042397 202.406981,203.404973 C217.475208,192.664928 242.201125,195.766353 245.081698,199.363845 C247.966255,202.981502 244.336653,228.071183 230.172839,240.049379 C228.001452,241.888455 225.929671,240.904388 226.89783,238.468418 C230.077218,230.430525 237.204944,212.418868 233.826346,208.038962 Z M126.768855,264 C74.0234043,264 42.0764048,241.955028 17.7852554,217.541992 C12.9733903,212.705982 6.71799208,206.295994 3.31151296,200.690918 C1.90227474,198.372135 5.59096074,195.021875 8.0442063,196.84375 C38.2390146,219.267578 82.1011654,239.538304 125.529506,239.538304 C154.819967,239.538304 191.046475,227.469543 220.66851,214.867659 C225.146771,212.966167 225.146771,219.180222 224.511585,221.060516 C224.183264,222.03242 209.514625,236.221149 189.247207,247.047411 C170.304273,257.166172 146.397132,264 126.768855,264 Z",fill:"#FF9900"})],-1),f2={class:"amplify-text",style:{"align-self":"center"}},v2=n.createElementVNode("svg",{"aria-label":"Apple icon",class:"amplify-icon federated-sign-in-icon",fill:"#000",preserveAspectRatio:"xMidYMid",stroke:"#000",strokeWidth:"0",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},[n.createElementVNode("path",{d:"M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-105.1-305c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z"})],-1),p2={class:"amplify-text",style:{"align-self":"center"}},m2=n.createElementVNode("svg",{"aria-label":"Facebook icon",class:"amplify-icon federated-sign-in-icon",viewBox:"0 0 279 538"},[n.createElementVNode("path",{d:"M82.3409742,538 L82.3409742,292.936652 L0,292.936652 L0,196.990154 L82.2410458,196.990154 L82.2410458,126.4295 C82.2410458,44.575144 132.205229,0 205.252865,0 C240.227794,0 270.306232,2.59855099 279,3.79788222 L279,89.2502322 L228.536175,89.2502322 C188.964542,89.2502322 181.270057,108.139699 181.270057,135.824262 L181.270057,196.89021 L276.202006,196.89021 L263.810888,292.836708 L181.16913,292.836708 L181.16913,538 L82.3409742,538 Z",fill:"#1877F2"})],-1),h2={class:"amplify-text",style:{"align-self":"center"}},g2=n.createElementVNode("svg",{"aria-label":"Google icon",class:"amplify-icon federated-sign-in-icon",viewBox:"0 0 256 262",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},[n.createElementVNode("path",{d:"M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622 38.755 30.023 2.685.268c24.659-22.774 38.875-56.282 38.875-96.027",fill:"#4285F4"}),n.createElementVNode("path",{d:"M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055-34.523 0-63.824-22.773-74.269-54.25l-1.531.13-40.298 31.187-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1",fill:"#34A853"}),n.createElementVNode("path",{d:"M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82 0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602l42.356-32.782",fill:"#FBBC05"}),n.createElementVNode("path",{d:"M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0 79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251",fill:"#EB4335"})],-1),y2={class:"amplify-text",style:{"align-self":"center"}},b2=n.createElementVNode("hr",{class:"amplify-divider amplify-divider--label","aria-orientation":"horizontal","data-size":"small","data-label":"or"},null,-1),Yr=n.defineComponent({setup(e){var b;const{state:t}=Ne(),r=Oe(De),{route:a}=r(),{value:{context:o}}=t,i=(b=o==null?void 0:o.config)==null?void 0:b.socialProviders,s=i==null?void 0:i.includes("amazon"),l=i==null?void 0:i.includes("apple"),u=i==null?void 0:i.includes("facebook"),d=i==null?void 0:i.includes("google"),c=u||d||s||l,v=a==="signUp"?"Up":"In",f=n.computed(()=>Ns),p=n.computed(()=>T(`Sign ${v} with Amazon`)),m=n.computed(()=>T(`Sign ${v} with Apple`)),y=n.computed(()=>T(`Sign ${v} with Facebook`)),C=n.computed(()=>T(`Sign ${v} with Google`));return(g,w)=>{const _=Ee;return n.unref(c)?(n.openBlock(),n.createBlock(_,{key:0,class:"amplify-flex federated-sign-in-container",style:{"flex-direction":"column",padding:"0 0 1rem 0"}},{default:n.withCtx(()=>[n.unref(s)?(n.openBlock(),n.createBlock(qr,{key:0,provider:n.unref(f).Amazon},{default:n.withCtx(()=>[d2,n.createElementVNode("p",f2,n.toDisplayString(n.unref(p)),1)]),_:1},8,["provider"])):n.createCommentVNode("",!0),n.unref(l)?(n.openBlock(),n.createBlock(qr,{key:1,provider:n.unref(f).Apple},{default:n.withCtx(()=>[v2,n.createElementVNode("p",p2,n.toDisplayString(n.unref(m)),1)]),_:1},8,["provider"])):n.createCommentVNode("",!0),n.unref(u)?(n.openBlock(),n.createBlock(qr,{key:2,provider:n.unref(f).Facebook},{default:n.withCtx(()=>[m2,n.createElementVNode("p",h2,n.toDisplayString(n.unref(y)),1)]),_:1},8,["provider"])):n.createCommentVNode("",!0),n.unref(d)?(n.openBlock(),n.createBlock(qr,{key:3,provider:n.unref(f).Google},{default:n.withCtx(()=>[g2,n.createElementVNode("p",y2,n.toDisplayString(n.unref(C)),1)]),_:1},8,["provider"])):n.createCommentVNode("",!0),b2]),_:1})):n.createCommentVNode("",!0)}}}),C2={"data-amplify-footer":""},Ea=n.defineComponent({emits:["signInSubmit","forgotPasswordClicked","createAccountClicked"],setup(e,{emit:t}){var k,S,I;const a=Oe(De)(),o=n.useAttrs(),i=n.computed(()=>T("Password")),s=n.computed(()=>t3("Forgot your password? ")?T("Forgot your password? "):T("Forgot your password?")),l=n.computed(()=>T("Sign in")),u=n.computed(()=>T("Signing in")),{state:d,send:c}=Ne(),v=n.computed(()=>Me(d.value)),{value:{context:f}}=d,p=(S=(k=f==null?void 0:f.config)==null?void 0:k.formFields)==null?void 0:S.signIn,m=p==null?void 0:p.username;let y=(I=f.config)==null?void 0:I.loginMechanisms,C;C=Array.from(new Set([...y]));const b=C.shift(),g=x=>{const{name:$,value:F}=x.target;c({type:"CHANGE",data:{name:$,value:F}})},w=x=>{(o==null?void 0:o.onSignInSubmit)?t("signInSubmit",x):_(x)},_=x=>{a.submitForm(Qe(x))},E=()=>{(o==null?void 0:o.onForgotPasswordClicked)?t("forgotPasswordClicked"):c({type:"RESET_PASSWORD"})};return(x,$)=>{const F=We,R=Ke,B=$e,U=Ee,L=qe,j=Ye;return n.renderSlot(x.$slots,"signInSlotI",n.normalizeProps(n.guardReactiveProps(x.$attrs)),()=>[n.renderSlot(x.$slots,"header"),n.createVNode(U,n.normalizeProps(n.guardReactiveProps(x.$attrs)),{default:n.withCtx(()=>[n.createVNode(L,{"data-amplify-authenticator-signin":"",onInput:g,onSubmit:n.withModifiers(w,["prevent"]),method:"post"},{formt:n.withCtx(({slotData:z})=>[n.renderSlot(x.$slots,"form",{info:z,onSignInSubmit:w,onInput:g,onForgotPasswordClicked:E})]),default:n.withCtx(()=>[n.createVNode(Yr),n.createVNode(U,{class:"amplify-flex",style:{"flex-direction":"column"}},{default:n.withCtx(()=>[n.createVNode(F,{disabled:n.unref(v).matches("signIn.submit"),class:"amplify-flex",style:{"flex-direction":"column"}},{fieldSetI:n.withCtx(({slotData:z})=>[n.renderSlot(x.$slots,"signin-fields",{info:z})]),default:n.withCtx(()=>{var z,Y,H,Z,oe,ae;return[n.createVNode(Kr,{userNameAlias:!0,"label-hidden":(z=n.unref(m))==null?void 0:z.labelHidden,userName:n.unref(b),placeholder:(Y=n.unref(m))==null?void 0:Y.placeholder,required:(H=n.unref(m))==null?void 0:H.required,label:(Z=n.unref(m))==null?void 0:Z.label,dialCode:(oe=n.unref(m))==null?void 0:oe.dialCode,dialCodeList:(ae=n.unref(m))==null?void 0:ae.dialCodeList},null,8,["label-hidden","userName","placeholder","required","label","dialCode","dialCodeList"]),n.createVNode(at,n.mergeProps(n.unref(vt)("password",n.unref(i),n.unref(p),!0),{name:"password",autocomplete:"current-password",ariainvalid:!1}),null,16)]}),_:3},8,["disabled"]),n.unref(v).context.remoteError?(n.openBlock(),n.createBlock(R,{key:0},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(T)(n.unref(v).context.remoteError)),1)]),_:1})):n.createCommentVNode("",!0),n.createVNode(B,{disabled:n.unref(v).matches("signIn.submit"),class:"amplify-field-group__control",fullwidth:!0,"data-loading":"false",variation:"primary",style:{"border-radius":"0x","font-weight":"normal"}},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(v).matches("signIn.submit")?n.unref(u):n.unref(l)),1)]),_:1},8,["disabled"])]),_:3})]),_:3},8,["onSubmit"])]),_:3},16),n.createVNode(j,null,{default:n.withCtx(()=>[n.renderSlot(x.$slots,"footer",{},()=>[n.createElementVNode("div",C2,[n.createVNode(B,{onClick:E,class:"amplify-field-group__control","data-fullwidth":"true","data-size":"small","data-variation":"link",style:{"font-weight":"normal"},type:"button"},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(s)),1)]),_:1})])])]),_:3})])}}}),w2=n.createTextVNode(n.toDisplayString("Country Code")),S2=n.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg","data-size":"large",fill:"currentColor",viewBox:"0 0 24 24",class:"amplify-icon"},[n.createElementVNode("path",{d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})],-1),Hs=n.defineComponent({props:{label:{default:"Username"},name:{default:"username"},placeholder:{default:""},autocomplete:{default:""},labelHidden:{type:Boolean,default:!1},required:{type:Boolean,default:!0},dialCode:null,dialCodeList:null},setup(e){const{label:t,name:r,placeholder:a,autocomplete:o,labelHidden:i,required:s,dialCode:l,dialCodeList:u}=e,d=Math.floor(Math.random()*999999),c=Math.floor(Math.random()*999999),{state:v,send:f}=Ne(),p=n.computed(()=>ke),m=n.computed(()=>er(v.value)),y=l!=null?l:m.value.country_code,C=n.computed(()=>u!=null?u:Bs);n.onMounted(()=>{var g;((g=p.value[r])==null?void 0:g.type)==="tel"&&f({type:"CHANGE",data:{name:"country_code",value:y}})});const b=n.computed(()=>{var g;return o||((g=ke[r])==null?void 0:g.autocomplete)||r});return(g,w)=>{const _=Ge,E=zs,k=Ee,S=He;return n.openBlock(),n.createBlock(k,{class:"amplify-flex amplify-field amplify-textfield amplify-phonenumberfield",style:{"flex-direction":"column"}},{default:n.withCtx(()=>[n.createVNode(_,n.mergeProps({for:"amplify-field-"+n.unref(d),class:["amplify-label",{"sr-only":i}]},g.$attrs),{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(t))]),_:1},16,["for","class"]),n.createVNode(k,{class:"amplify-flex amplify-field-group"},{default:n.withCtx(()=>[n.createVNode(k,{class:"amplify-field-group__outer-start"},{default:n.withCtx(()=>[r==="phone_number"?(n.openBlock(),n.createBlock(k,{key:0,class:"amplify-flex amplify-field amplify-selectfield amplify-countrycodeselect",style:{"flex-direction":"column"}},{default:n.withCtx(()=>[n.createVNode(_,n.mergeProps({for:"amplify-field-"+n.unref(c),class:"amplify-label amplify-visually-hidden"},g.$attrs),{default:n.withCtx(()=>[w2]),_:1},16,["for"]),n.createVNode(k,{class:"amplify-select__wrapper"},{default:n.withCtx(()=>[n.createVNode(E,{class:"amplify-select amplify-field-group__control",id:"amplify-field-"+n.unref(c),autocomplete:"tel-country-code","aria-label":"country code",name:"country_code",options:n.unref(C),"select-value":n.unref(y)},null,8,["id","options","select-value"]),n.createVNode(k,{class:"amplify-flex amplify-select__icon-wrapper",style:{"align-items":"center","justify-content":"center"}},{default:n.withCtx(()=>[S2]),_:1})]),_:1})]),_:1})):n.createCommentVNode("",!0)]),_:1}),n.createVNode(k,{class:"amplify-field-group__field-wrapper"},{default:n.withCtx(()=>{var I,x;return[n.createVNode(S,{class:"amplify-input amplify-field-group__control","aria-invalid":"false",id:"amplify-field-"+n.unref(d),autocomplete:n.unref(b),name:r,required:s!=null?s:!0,type:(x=(I=n.unref(p)[r])==null?void 0:I.type)!=null?x:"text",placeholder:a},null,8,["id","autocomplete","required","type"])]}),_:1})]),_:1})]),_:1})}}}),_2={key:0,"data-amplify-sign-up-errors":""},x2={key:0,role:"alert","data-variation":"error",class:"amplify-text"},Aa=n.defineComponent({setup(e){var w,_,E,k;const{state:t}=Ne(),{value:{context:r}}=t,a=(_=(w=r==null?void 0:r.config)==null?void 0:w.formFields)==null?void 0:_.signUp,o=Oe(De),{validationErrors:i}=n.toRefs(o()),s=o(),l=n.computed(()=>ke),u=n.computed(()=>T("Password")),d=n.computed(()=>T("Confirm Password"));let c,v=(E=r.config)==null?void 0:E.loginMechanisms,f=(k=r.config)==null?void 0:k.signUpAttributes;c=Array.from(new Set([...v,...f])),c=c.filter(S=>{const I=!!ke[S];return I||console.debug(`Authenticator does not have a default implementation for ${S}. Customize the authenticator sign-up-fields slot to add your own.`),I});function p(S){const{name:I}=S.target;s.updateBlur({name:I})}const m=c.shift(),y=a==null?void 0:a[m],b=[...[m,"password","confirm_password"],...c],g=w_(a,b);return(S,I)=>(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(n.unref(g),(x,$)=>{var F,R,B,U,L,j,z,Y,H,Z,oe,ae,te,ve,pe,P,ce,xe,Te,Fe;return n.openBlock(),n.createElementBlock(n.Fragment,{key:$},[x===n.unref(m)?(n.openBlock(),n.createBlock(Kr,{key:0,"label-hidden":(F=n.unref(y))==null?void 0:F.labelHidden,userName:n.unref(m),placeholder:(R=n.unref(y))==null?void 0:R.placeholder,required:(B=n.unref(y))==null?void 0:B.required,label:(U=n.unref(y))==null?void 0:U.label,dialCode:(L=n.unref(y))==null?void 0:L.dialCode,dialCodeList:(j=n.unref(y))==null?void 0:j.dialCodeList},null,8,["label-hidden","userName","placeholder","required","label","dialCode","dialCodeList"])):x==="password"?(n.openBlock(),n.createElementBlock(n.Fragment,{key:1},[n.createVNode(at,n.mergeProps({name:"password"},n.unref(vt)("password",n.unref(u),n.unref(a),!0),{autocomplete:"new-password",ariainvalid:!!n.unref(i).confirm_password,onBlur:p}),null,16,["ariainvalid"]),n.unref(i).password?(n.openBlock(),n.createElementBlock("div",_2,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(n.unref(i).password,(h,D)=>(n.openBlock(),n.createElementBlock("p",{key:D,role:"alert","data-variation":"error",class:"amplify-text"},n.toDisplayString(n.unref(T)(h)),1))),128))])):n.createCommentVNode("",!0)],64)):x==="confirm_password"?(n.openBlock(),n.createElementBlock(n.Fragment,{key:2},[n.createVNode(at,n.mergeProps({name:"confirm_password"},n.unref(vt)("confirm_password",n.unref(d),n.unref(a),!0),{autocomplete:"new-password",ariainvalid:!!n.unref(i).confirm_password,onBlur:p}),null,16,["ariainvalid"]),n.unref(i).confirm_password?(n.openBlock(),n.createElementBlock("p",x2,n.toDisplayString(n.unref(T)(n.unref(i).confirm_password)),1)):n.createCommentVNode("",!0)],64)):(n.openBlock(),n.createBlock(Hs,{key:3,label:n.unref(T)((H=(Y=(z=n.unref(a))==null?void 0:z[x])==null?void 0:Y.label)!=null?H:n.unref(l)[x].label),"label-hidden":(oe=(Z=n.unref(a))==null?void 0:Z[x])==null?void 0:oe.labelHidden,required:(te=(ae=n.unref(a))==null?void 0:ae[x])==null?void 0:te.required,name:x,placeholder:n.unref(T)((P=(pe=(ve=n.unref(a))==null?void 0:ve[x])==null?void 0:pe.placeholder)!=null?P:n.unref(l)[x].label),dialCode:(xe=(ce=n.unref(a))==null?void 0:ce[x])==null?void 0:xe.dialCode,dialCodeList:(Fe=(Te=n.unref(a))==null?void 0:Te[x])==null?void 0:Fe.dialCodeList},null,8,["label","label-hidden","required","name","placeholder","dialCode","dialCodeList"]))],64)}),128))}}),Ia=n.defineComponent({emits:["signUpSubmit"],setup(e,{emit:t}){const r=Oe(De),a=r(),o=r(),{hasValidationErrors:i,isPending:s,error:l}=n.toRefs(a),u=n.useAttrs(),d=n.computed(()=>T("Create Account")),c=p=>{let{checked:m,name:y,type:C,value:b}=p.target;C==="checkbox"&&!m&&(b=void 0),o.updateForm({name:y,value:b})},v=p=>{(u==null?void 0:u.onSignUpSubmit)?t("signUpSubmit",p):f(p)},f=p=>{o.submitForm(Qe(p))};return(p,m)=>{const y=We,C=Ke,b=$e,g=Ee,w=qe,_=Ye;return n.renderSlot(p.$slots,"signUpSlotI",n.normalizeProps(n.guardReactiveProps(p.$attrs)),()=>[n.renderSlot(p.$slots,"header"),n.createVNode(g,n.normalizeProps(n.guardReactiveProps(p.$attrs)),{default:n.withCtx(()=>[n.createVNode(w,{onInput:c,onSubmit:n.withModifiers(v,["prevent"])},{default:n.withCtx(()=>[n.createVNode(Yr),n.createVNode(g,{class:"amplify-flex",style:{"flex-direction":"column"}},{default:n.withCtx(()=>[n.createVNode(y,{class:"amplify-flex",style:{"flex-direction":"column"},disabled:n.unref(s)},{fieldSetI:n.withCtx(({slotData:E})=>[n.renderSlot(p.$slots,"signup-fields",{info:E})]),default:n.withCtx(()=>[n.createVNode(Aa)]),_:3},8,["disabled"]),n.unref(l)?(n.openBlock(),n.createBlock(C,{key:0},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(T)(n.unref(l))),1)]),_:1})):n.createCommentVNode("",!0),n.createVNode(b,{class:"amplify-field-group__control","data-fullwidth":"true","data-loading":"false","data-variation":"primary",style:{"border-radius":"0px","font-weight":"normal"},disabled:n.unref(s)||n.unref(i)},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(d)),1)]),_:1},8,["disabled"])]),_:3})]),_:3},8,["onSubmit"])]),_:3},16),n.createVNode(_,null,{default:n.withCtx(()=>[n.renderSlot(p.$slots,"footer")]),_:3})])}}}),E2=n.defineComponent({props:{label:null,id:null,active:{type:Boolean,default:!1}},setup(e){const t=e,{id:r,label:a}=t,{active:o}=n.toRefs(t);return(i,s)=>{const l=Ee;return n.openBlock(),n.createBlock(l,{tabindex:n.unref(o)?0:-1,"data-state":n.unref(o)?"active":"inactive","aria-selected":n.unref(o)?"true":"false","aria-controls":`radix-id-${n.unref(r)}-8-content-0`,id:`radix-id-${n.unref(r)}-8-trigger-0`,"data-orientation":"horizontal",role:"tab",class:"amplify-tabs-item","data-spacing":"equal","data-radix-collection-item":""},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(a)),1)]),_:1},8,["tabindex","data-state","aria-selected","aria-controls","id"])}}}),A2={};function I2(e,t){const r=Ee;return n.openBlock(),n.createBlock(r,{tabindex:"0","aria-orientation":"horizontal","data-orientation":"horizontal",role:"tablist",style:{outline:"none"}},{default:n.withCtx(()=>[n.createVNode(r,{class:"amplify-flex amplify-tabs","data-indicator-position":"top",style:{gap:"0px","justify-content":"center"}},{default:n.withCtx(()=>[n.renderSlot(e.$slots,"default")]),_:3})]),_:3})}var k2=zt(A2,[["render",I2]]);const st=n.defineComponent({props:{level:{type:Number,default:1}},inheritAttrs:!1,setup(e,{slots:t,attrs:r}){var i,s;const a=t.default?t.default():[],o=t.headingI?t.headingI():[];if(((s=(i=o[0])==null?void 0:i.children)==null?void 0:s.length)===0)o[0].children=[n.h(`h${e.level}`,Mt({},r),[a])];else return()=>n.h(`h${e.level}`,Mt({"data-amplify-heading":""},r),[o[0]?n.h(o[0].children[0]):n.h(a[0])]);return()=>o}}),P2={};function N2(e,t){return n.renderSlot(e.$slots,"textI",n.normalizeProps(n.guardReactiveProps(e.$attrs)),()=>[n.createElementVNode("span",n.mergeProps(e.$attrs,{"data-amplify-text":""}),[n.renderSlot(e.$slots,"default")],16)])}var Ws=zt(P2,[["render",N2]]);const ka=n.defineComponent({emits:["confirmSignUpSubmit","lostCodeClicked"],setup(e,{emit:t}){var U,L,j;const r=n.useAttrs(),a=Oe(De),{isPending:o,error:i,codeDeliveryDetails:s}=n.toRefs(a()),{submitForm:l,updateForm:u,resendCode:d}=a(),{state:c}=Ne(),{value:{context:v}}=c,f=(L=(U=v==null?void 0:v.config)==null?void 0:U.formFields)==null?void 0:L.confirmSignUp,p=n.computed(()=>{var z,Y;return((z=s.value)==null?void 0:z.DeliveryMedium)==="EMAIL"?T("We Emailed You"):((Y=s.value)==null?void 0:Y.DeliveryMedium)==="SMS"?T("We Texted You"):T("We Sent A Code")}),m=n.computed(()=>T("Enter your code")),y=n.computed(()=>T("Confirmation Code")),C=n.computed(()=>T("Resend Code")),b=n.computed(()=>T("Confirm")),g=T("Your code is on the way. To log in, enter the code we emailed to"),w=T("Your code is on the way. To log in, enter the code we texted to"),_=T("Your code is on the way. To log in, enter the code we sent you. It may take a minute to arrive."),E=T("It may take a minute to arrive."),k=n.computed(()=>{var z,Y,H,Z;return((z=s.value)==null?void 0:z.DeliveryMedium)==="EMAIL"?`${g} ${(Y=s.value)==null?void 0:Y.Destination}. ${E}`:((H=s.value)==null?void 0:H.DeliveryMedium)==="SMS"?`${w} ${(Z=s.value)==null?void 0:Z.Destination}. ${E}`:T(`${_}`)}),S=f==null?void 0:f.confirmation_code,I=(j=S==null?void 0:S.label)!=null?j:y,x=S==null?void 0:S.labelHidden,$=z=>{const{name:Y,value:H}=z.target;u({name:Y,value:H})},F=z=>{(r==null?void 0:r.onConfirmSignUpSubmit)?t("confirmSignUpSubmit",z):R(z)},R=z=>{l(Qe(z))},B=()=>{(r==null?void 0:r.onLostCodeClicked)?t("lostCodeClicked"):d()};return(z,Y)=>{const H=st,Z=Ws,oe=Ge,ae=He,te=Ee,ve=We,pe=Ke,P=$e,ce=Ye,xe=qe;return n.renderSlot(z.$slots,"confirmSignUpSlotI",n.normalizeProps(n.guardReactiveProps(z.$attrs)),()=>[n.createVNode(te,n.normalizeProps(n.guardReactiveProps(z.$attrs)),{default:n.withCtx(()=>[n.createVNode(xe,{onInput:$,onSubmit:n.withModifiers(F,["prevent"])},{default:n.withCtx(()=>[n.createVNode(te,{class:"amplify-flex",style:{"flex-direction":"column"}},{default:n.withCtx(()=>[n.renderSlot(z.$slots,"header",{},()=>[n.createVNode(H,{class:"amplify-heading",style:{"font-size":"1.5rem"},level:3},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(p)),1)]),_:1})]),n.createVNode(Z,{style:{"margin-bottom":"1rem"}},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(k)),1)]),_:1}),n.createVNode(ve,{class:"amplify-flex",style:{"flex-direction":"column"},disabled:n.unref(o)},{default:n.withCtx(()=>[n.createVNode(te,{class:"amplify-flex amplify-field amplify-textfield",style:{"flex-direction":"column"}},{default:n.withCtx(()=>{var Te;return[n.createVNode(oe,{class:n.normalizeClass(["amplify-label",{"amplify-visually-hidden":(Te=n.unref(x))!=null?Te:!0}]),for:"amplify-field-124b"},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(I)),1)]),_:1},8,["class"]),n.createVNode(te,{class:"amplify-flex"},{default:n.withCtx(()=>{var Fe,h,D,O;return[n.createVNode(ae,{placeholder:(h=(Fe=n.unref(S))==null?void 0:Fe.placeholder)!=null?h:n.unref(m),required:(O=(D=n.unref(S))==null?void 0:D.required)!=null?O:!0,class:"amplify-input amplify-field-group__control",id:"amplify-field-124b","aria-invalid":"false",autocomplete:"one-time-code",name:"confirmation_code",type:"number"},null,8,["placeholder","required"])]}),_:1})]}),_:1})]),_:1},8,["disabled"]),n.createVNode(ce,{class:"amplify-flex",style:{"flex-direction":"column","align-items":"unset"}},{default:n.withCtx(()=>[n.unref(i)?(n.openBlock(),n.createBlock(pe,{key:0},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(T)(n.unref(i))),1)]),_:1})):n.createCommentVNode("",!0),n.createVNode(P,{class:"amplify-field-group__control","data-fullwidth":"false","data-loading":"false","data-variation":"primary",type:"submit",style:{"font-weight":"normal"},disabled:n.unref(o)},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(b)),1)]),_:1},8,["disabled"]),n.createVNode(P,{class:"amplify-field-group__control","data-fullwidth":"false","data-variation":"default",style:{"font-weight":"normal"},type:"button",onClick:n.withModifiers(B,["prevent"])},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(C)),1)]),_:1},8,["onClick"]),n.renderSlot(z.$slots,"footer",{onConfirmSignUpSubmit:F,onLostCodeClicked:B})]),_:3})]),_:3})]),_:3},8,["onSubmit"])]),_:3},16)])}}}),Pa=n.defineComponent({emits:["confirmSignInSubmit","backToSignInClicked"],setup(e,{emit:t}){var S,I,x;const r=n.useAttrs(),{state:a,send:o}=Ne(),{value:{context:i}}=a,s=(I=(S=i==null?void 0:i.config)==null?void 0:S.formFields)==null?void 0:I.confirmSignIn,l=s==null?void 0:s.confirmation_code,d=Oe(De)(),c=n.computed(()=>Me(a.value)),v=c.value.context.challengeName;let f="SMS";v===Ps.SOFTWARE_TOKEN_MFA&&(f="TOTP");const p=`Confirm ${f} Code`,m=n.computed(()=>T("Back to Sign In")),y=n.computed(()=>T("Confirm")),C=n.computed(()=>T("Code")),b=(x=l==null?void 0:l.label)!=null?x:T("Code *"),g=l==null?void 0:l.labelHidden,w=$=>{const{name:F,value:R}=$.target;o({type:"CHANGE",data:{name:F,value:R}})},_=$=>{(r==null?void 0:r.onConfirmSignInSubmit)?t("confirmSignInSubmit",$):E($)},E=$=>{d.submitForm(Qe($))},k=()=>{(r==null?void 0:r.onBackToSignInClicked)?t("backToSignInClicked"):o({type:"SIGN_IN"})};return($,F)=>{const R=st,B=Ge,U=He,L=Ee,j=Ke,z=$e,Y=Ye,H=We,Z=qe;return n.renderSlot($.$slots,"confirmSignInSlotI",n.normalizeProps(n.guardReactiveProps($.$attrs)),()=>[n.createVNode(L,n.normalizeProps(n.guardReactiveProps($.$attrs)),{default:n.withCtx(()=>[n.createVNode(Z,{"data-amplify-authenticator-confirmsignin":"",onInput:w,onSubmit:n.withModifiers(_,["prevent"])},{default:n.withCtx(()=>[n.createVNode(H,{class:"amplify-flex",style:{"flex-direction":"column"},disabled:n.unref(c).matches("confirmSignIn.pending")},{default:n.withCtx(()=>[n.renderSlot($.$slots,"header",{},()=>[n.createVNode(R,{level:3,class:"amplify-heading"},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(p))]),_:1})]),n.createVNode(L,{class:"amplify-flex",style:{"flex-direction":"column"}},{default:n.withCtx(()=>[n.createVNode(L,{class:"amplify-flex amplify-field amplify-textfield",style:{"flex-direction":"column"}},{default:n.withCtx(()=>{var oe;return[n.createVNode(B,{class:n.normalizeClass(["amplify-label",{"amplify-visually-hidden":(oe=n.unref(g))!=null?oe:!0}]),for:"amplify-field-51ee"},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(b)),1)]),_:1},8,["class"]),n.createVNode(L,{class:"amplify-flex",style:{"flex-direction":"column"}},{default:n.withCtx(()=>{var ae,te,ve,pe;return[n.createVNode(U,{placeholder:(te=(ae=n.unref(l))==null?void 0:ae.placeholder)!=null?te:n.unref(C),required:(pe=(ve=n.unref(l))==null?void 0:ve.required)!=null?pe:!0,class:"amplify-input amplify-field-group__control",id:"amplify-field-51ee","aria-invalid":"false",name:"confirmation_code",autocomplete:"one-time-code",type:"number"},null,8,["placeholder","required"])]}),_:1})]}),_:1})]),_:1}),n.createVNode(Y,{class:"amplify-flex",style:{"flex-direction":"column"}},{default:n.withCtx(()=>{var oe,ae;return[((ae=(oe=n.unref(c))==null?void 0:oe.context)==null?void 0:ae.remoteError)?(n.openBlock(),n.createBlock(j,{key:0},{default:n.withCtx(()=>{var te,ve;return[n.createTextVNode(n.toDisplayString(n.unref(T)((ve=(te=n.unref(c))==null?void 0:te.context)==null?void 0:ve.remoteError)),1)]}),_:1})):n.createCommentVNode("",!0),n.createVNode(z,{class:"amplify-field-group__control","data-fullwidth":"false","data-loading":"false","data-variation":"primary",style:{"font-weight":"normal"},disabled:n.unref(c).matches("confirmSignIn.pending")},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(y)),1)]),_:1},8,["disabled"]),n.createVNode(z,{class:"amplify-field-group__control","data-fullwidth":"false","data-size":"small","data-variation":"link",style:{"font-weight":"normal"},type:"button",onClick:n.withModifiers(k,["prevent"])},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(m)),1)]),_:1},8,["onClick"]),n.renderSlot($.$slots,"footer",{onBackToSignInClicked:k,onConfirmSignInSubmit:_})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}});var tr={},T2=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},Ks={},Re={};let Na;const $2=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];Re.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return t*4+17};Re.getSymbolTotalCodewords=function(t){return $2[t]};Re.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};Re.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');Na=t};Re.isKanjiModeEnabled=function(){return typeof Na!="undefined"};Re.toSJIS=function(t){return Na(t)};var Zr={};(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(r){if(typeof r!="string")throw new Error("Param is not a string");switch(r.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+r)}}e.isValid=function(a){return a&&typeof a.bit!="undefined"&&a.bit>=0&&a.bit<4},e.from=function(a,o){if(e.isValid(a))return a;try{return t(a)}catch{return o}}})(Zr);function qs(){this.buffer=[],this.length=0}qs.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)==1},put:function(e,t){for(let r=0;r<t;r++)this.putBit((e>>>t-r-1&1)==1)},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var B2=qs;function rr(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}rr.prototype.set=function(e,t,r,a){const o=e*this.size+t;this.data[o]=r,a&&(this.reservedBit[o]=!0)};rr.prototype.get=function(e,t){return this.data[e*this.size+t]};rr.prototype.xor=function(e,t,r){this.data[e*this.size+t]^=r};rr.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var F2=rr,Ys={};(function(e){const t=Re.getSymbolSize;e.getRowColCoords=function(a){if(a===1)return[];const o=Math.floor(a/7)+2,i=t(a),s=i===145?26:Math.ceil((i-13)/(2*o-2))*2,l=[i-7];for(let u=1;u<o-1;u++)l[u]=l[u-1]-s;return l.push(6),l.reverse()},e.getPositions=function(a){const o=[],i=e.getRowColCoords(a),s=i.length;for(let l=0;l<s;l++)for(let u=0;u<s;u++)l===0&&u===0||l===0&&u===s-1||l===s-1&&u===0||o.push([i[l],i[u]]);return o}})(Ys);var Zs={};const D2=Re.getSymbolSize,Xs=7;Zs.getPositions=function(t){const r=D2(t);return[[0,0],[r-Xs,0],[0,r-Xs]]};var Js={};(function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(o){return o!=null&&o!==""&&!isNaN(o)&&o>=0&&o<=7},e.from=function(o){return e.isValid(o)?parseInt(o,10):void 0},e.getPenaltyN1=function(o){const i=o.size;let s=0,l=0,u=0,d=null,c=null;for(let v=0;v<i;v++){l=u=0,d=c=null;for(let f=0;f<i;f++){let p=o.get(v,f);p===d?l++:(l>=5&&(s+=t.N1+(l-5)),d=p,l=1),p=o.get(f,v),p===c?u++:(u>=5&&(s+=t.N1+(u-5)),c=p,u=1)}l>=5&&(s+=t.N1+(l-5)),u>=5&&(s+=t.N1+(u-5))}return s},e.getPenaltyN2=function(o){const i=o.size;let s=0;for(let l=0;l<i-1;l++)for(let u=0;u<i-1;u++){const d=o.get(l,u)+o.get(l,u+1)+o.get(l+1,u)+o.get(l+1,u+1);(d===4||d===0)&&s++}return s*t.N2},e.getPenaltyN3=function(o){const i=o.size;let s=0,l=0,u=0;for(let d=0;d<i;d++){l=u=0;for(let c=0;c<i;c++)l=l<<1&2047|o.get(d,c),c>=10&&(l===1488||l===93)&&s++,u=u<<1&2047|o.get(c,d),c>=10&&(u===1488||u===93)&&s++}return s*t.N3},e.getPenaltyN4=function(o){let i=0;const s=o.data.length;for(let u=0;u<s;u++)i+=o.data[u];return Math.abs(Math.ceil(i*100/s/5)-10)*t.N4};function r(a,o,i){switch(a){case e.Patterns.PATTERN000:return(o+i)%2==0;case e.Patterns.PATTERN001:return o%2==0;case e.Patterns.PATTERN010:return i%3==0;case e.Patterns.PATTERN011:return(o+i)%3==0;case e.Patterns.PATTERN100:return(Math.floor(o/2)+Math.floor(i/3))%2==0;case e.Patterns.PATTERN101:return o*i%2+o*i%3==0;case e.Patterns.PATTERN110:return(o*i%2+o*i%3)%2==0;case e.Patterns.PATTERN111:return(o*i%3+(o+i)%2)%2==0;default:throw new Error("bad maskPattern:"+a)}}e.applyMask=function(o,i){const s=i.size;for(let l=0;l<s;l++)for(let u=0;u<s;u++)i.isReserved(u,l)||i.xor(u,l,r(o,u,l))},e.getBestMask=function(o,i){const s=Object.keys(e.Patterns).length;let l=0,u=1/0;for(let d=0;d<s;d++){i(d),e.applyMask(d,o);const c=e.getPenaltyN1(o)+e.getPenaltyN2(o)+e.getPenaltyN3(o)+e.getPenaltyN4(o);e.applyMask(d,o),c<u&&(u=c,l=d)}return l}})(Js);var Xr={};const lt=Zr,Jr=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],Qr=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];Xr.getBlocksCount=function(t,r){switch(r){case lt.L:return Jr[(t-1)*4+0];case lt.M:return Jr[(t-1)*4+1];case lt.Q:return Jr[(t-1)*4+2];case lt.H:return Jr[(t-1)*4+3];default:return}};Xr.getTotalCodewordsCount=function(t,r){switch(r){case lt.L:return Qr[(t-1)*4+0];case lt.M:return Qr[(t-1)*4+1];case lt.Q:return Qr[(t-1)*4+2];case lt.H:return Qr[(t-1)*4+3];default:return}};var Qs={},en={};const nr=new Uint8Array(512),tn=new Uint8Array(256);(function(){let t=1;for(let r=0;r<255;r++)nr[r]=t,tn[t]=r,t<<=1,t&256&&(t^=285);for(let r=255;r<512;r++)nr[r]=nr[r-255]})();en.log=function(t){if(t<1)throw new Error("log("+t+")");return tn[t]};en.exp=function(t){return nr[t]};en.mul=function(t,r){return t===0||r===0?0:nr[tn[t]+tn[r]]};(function(e){const t=en;e.mul=function(a,o){const i=new Uint8Array(a.length+o.length-1);for(let s=0;s<a.length;s++)for(let l=0;l<o.length;l++)i[s+l]^=t.mul(a[s],o[l]);return i},e.mod=function(a,o){let i=new Uint8Array(a);for(;i.length-o.length>=0;){const s=i[0];for(let u=0;u<o.length;u++)i[u]^=t.mul(o[u],s);let l=0;for(;l<i.length&&i[l]===0;)l++;i=i.slice(l)}return i},e.generateECPolynomial=function(a){let o=new Uint8Array([1]);for(let i=0;i<a;i++)o=e.mul(o,new Uint8Array([1,t.exp(i)]));return o}})(Qs);const el=Qs;function Ta(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}Ta.prototype.initialize=function(t){this.degree=t,this.genPoly=el.generateECPolynomial(this.degree)};Ta.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");const r=new Uint8Array(t.length+this.degree);r.set(t);const a=el.mod(r,this.genPoly),o=this.degree-a.length;if(o>0){const i=new Uint8Array(this.degree);return i.set(a,o),i}return a};var R2=Ta,tl={},ut={},$a={};$a.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var et={};const rl="[0-9]+",O2="[A-Z $%*+\\-./:]+";let ar="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";ar=ar.replace(/u/g,"\\u");const V2="(?:(?![A-Z0-9 $%*+\\-./:]|"+ar+`)(?:.|[\r
118
- ]))+`;et.KANJI=new RegExp(ar,"g");et.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");et.BYTE=new RegExp(V2,"g");et.NUMERIC=new RegExp(rl,"g");et.ALPHANUMERIC=new RegExp(O2,"g");const U2=new RegExp("^"+ar+"$"),M2=new RegExp("^"+rl+"$"),z2=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");et.testKanji=function(t){return U2.test(t)};et.testNumeric=function(t){return M2.test(t)};et.testAlphanumeric=function(t){return z2.test(t)};(function(e){const t=$a,r=et;e.NUMERIC={id:"Numeric",bit:1<<0,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:1<<1,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:1<<2,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:1<<3,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(i,s){if(!i.ccBits)throw new Error("Invalid mode: "+i);if(!t.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?i.ccBits[0]:s<27?i.ccBits[1]:i.ccBits[2]},e.getBestModeForData=function(i){return r.testNumeric(i)?e.NUMERIC:r.testAlphanumeric(i)?e.ALPHANUMERIC:r.testKanji(i)?e.KANJI:e.BYTE},e.toString=function(i){if(i&&i.id)return i.id;throw new Error("Invalid mode")},e.isValid=function(i){return i&&i.bit&&i.ccBits};function a(o){if(typeof o!="string")throw new Error("Param is not a string");switch(o.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+o)}}e.from=function(i,s){if(e.isValid(i))return i;try{return a(i)}catch{return s}}})(ut);(function(e){const t=Re,r=Xr,a=Zr,o=ut,i=$a,s=1<<12|1<<11|1<<10|1<<9|1<<8|1<<5|1<<2|1<<0,l=t.getBCHDigit(s);function u(f,p,m){for(let y=1;y<=40;y++)if(p<=e.getCapacity(y,m,f))return y}function d(f,p){return o.getCharCountIndicator(f,p)+4}function c(f,p){let m=0;return f.forEach(function(y){m+=d(y.mode,p)+y.getBitsLength()}),m}function v(f,p){for(let m=1;m<=40;m++)if(c(f,m)<=e.getCapacity(m,p,o.MIXED))return m}e.from=function(p,m){return i.isValid(p)?parseInt(p,10):m},e.getCapacity=function(p,m,y){if(!i.isValid(p))throw new Error("Invalid QR Code version");typeof y=="undefined"&&(y=o.BYTE);const C=t.getSymbolTotalCodewords(p),b=r.getTotalCodewordsCount(p,m),g=(C-b)*8;if(y===o.MIXED)return g;const w=g-d(y,p);switch(y){case o.NUMERIC:return Math.floor(w/10*3);case o.ALPHANUMERIC:return Math.floor(w/11*2);case o.KANJI:return Math.floor(w/13);case o.BYTE:default:return Math.floor(w/8)}},e.getBestVersionForData=function(p,m){let y;const C=a.from(m,a.M);if(Array.isArray(p)){if(p.length>1)return v(p,C);if(p.length===0)return 1;y=p[0]}else y=p;return u(y.mode,y.getLength(),C)},e.getEncodedBits=function(p){if(!i.isValid(p)||p<7)throw new Error("Invalid QR Code version");let m=p<<12;for(;t.getBCHDigit(m)-l>=0;)m^=s<<t.getBCHDigit(m)-l;return p<<12|m}})(tl);var nl={};const Ba=Re,al=1<<10|1<<8|1<<5|1<<4|1<<2|1<<1|1<<0,L2=1<<14|1<<12|1<<10|1<<4|1<<1,ol=Ba.getBCHDigit(al);nl.getEncodedBits=function(t,r){const a=t.bit<<3|r;let o=a<<10;for(;Ba.getBCHDigit(o)-ol>=0;)o^=al<<Ba.getBCHDigit(o)-ol;return(a<<10|o)^L2};var il={};const j2=ut;function Rt(e){this.mode=j2.NUMERIC,this.data=e.toString()}Rt.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)};Rt.prototype.getLength=function(){return this.data.length};Rt.prototype.getBitsLength=function(){return Rt.getBitsLength(this.data.length)};Rt.prototype.write=function(t){let r,a,o;for(r=0;r+3<=this.data.length;r+=3)a=this.data.substr(r,3),o=parseInt(a,10),t.put(o,10);const i=this.data.length-r;i>0&&(a=this.data.substr(r),o=parseInt(a,10),t.put(o,i*3+1))};var G2=Rt;const H2=ut,Fa=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function Ot(e){this.mode=H2.ALPHANUMERIC,this.data=e}Ot.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};Ot.prototype.getLength=function(){return this.data.length};Ot.prototype.getBitsLength=function(){return Ot.getBitsLength(this.data.length)};Ot.prototype.write=function(t){let r;for(r=0;r+2<=this.data.length;r+=2){let a=Fa.indexOf(this.data[r])*45;a+=Fa.indexOf(this.data[r+1]),t.put(a,11)}this.data.length%2&&t.put(Fa.indexOf(this.data[r]),6)};var W2=Ot,K2=function(t){for(var r=[],a=t.length,o=0;o<a;o++){var i=t.charCodeAt(o);if(i>=55296&&i<=56319&&a>o+1){var s=t.charCodeAt(o+1);s>=56320&&s<=57343&&(i=(i-55296)*1024+s-56320+65536,o+=1)}if(i<128){r.push(i);continue}if(i<2048){r.push(i>>6|192),r.push(i&63|128);continue}if(i<55296||i>=57344&&i<65536){r.push(i>>12|224),r.push(i>>6&63|128),r.push(i&63|128);continue}if(i>=65536&&i<=1114111){r.push(i>>18|240),r.push(i>>12&63|128),r.push(i>>6&63|128),r.push(i&63|128);continue}r.push(239,191,189)}return new Uint8Array(r).buffer};const q2=K2,Y2=ut;function Vt(e){this.mode=Y2.BYTE,this.data=new Uint8Array(q2(e))}Vt.getBitsLength=function(t){return t*8};Vt.prototype.getLength=function(){return this.data.length};Vt.prototype.getBitsLength=function(){return Vt.getBitsLength(this.data.length)};Vt.prototype.write=function(e){for(let t=0,r=this.data.length;t<r;t++)e.put(this.data[t],8)};var Z2=Vt;const X2=ut,J2=Re;function Ut(e){this.mode=X2.KANJI,this.data=e}Ut.getBitsLength=function(t){return t*13};Ut.prototype.getLength=function(){return this.data.length};Ut.prototype.getBitsLength=function(){return Ut.getBitsLength(this.data.length)};Ut.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let r=J2.toSJIS(this.data[t]);if(r>=33088&&r<=40956)r-=33088;else if(r>=57408&&r<=60351)r-=49472;else throw new Error("Invalid SJIS character: "+this.data[t]+`
119
- Make sure your charset is UTF-8`);r=(r>>>8&255)*192+(r&255),e.put(r,13)}};var Q2=Ut,sl={exports:{}};(function(e){var t={single_source_shortest_paths:function(r,a,o){var i={},s={};s[a]=0;var l=t.PriorityQueue.make();l.push(a,0);for(var u,d,c,v,f,p,m,y,C;!l.empty();){u=l.pop(),d=u.value,v=u.cost,f=r[d]||{};for(c in f)f.hasOwnProperty(c)&&(p=f[c],m=v+p,y=s[c],C=typeof s[c]=="undefined",(C||y>m)&&(s[c]=m,l.push(c,m),i[c]=d))}if(typeof o!="undefined"&&typeof s[o]=="undefined"){var b=["Could not find a path from ",a," to ",o,"."].join("");throw new Error(b)}return i},extract_shortest_path_from_predecessor_list:function(r,a){for(var o=[],i=a;i;)o.push(i),i=r[i];return o.reverse(),o},find_path:function(r,a,o){var i=t.single_source_shortest_paths(r,a,o);return t.extract_shortest_path_from_predecessor_list(i,o)},PriorityQueue:{make:function(r){var a=t.PriorityQueue,o={},i;r=r||{};for(i in a)a.hasOwnProperty(i)&&(o[i]=a[i]);return o.queue=[],o.sorter=r.sorter||a.default_sorter,o},default_sorter:function(r,a){return r.cost-a.cost},push:function(r,a){var o={value:r,cost:a};this.queue.push(o),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t})(sl);(function(e){const t=ut,r=G2,a=W2,o=Z2,i=Q2,s=et,l=Re,u=sl.exports;function d(b){return unescape(encodeURIComponent(b)).length}function c(b,g,w){const _=[];let E;for(;(E=b.exec(w))!==null;)_.push({data:E[0],index:E.index,mode:g,length:E[0].length});return _}function v(b){const g=c(s.NUMERIC,t.NUMERIC,b),w=c(s.ALPHANUMERIC,t.ALPHANUMERIC,b);let _,E;return l.isKanjiModeEnabled()?(_=c(s.BYTE,t.BYTE,b),E=c(s.KANJI,t.KANJI,b)):(_=c(s.BYTE_KANJI,t.BYTE,b),E=[]),g.concat(w,_,E).sort(function(S,I){return S.index-I.index}).map(function(S){return{data:S.data,mode:S.mode,length:S.length}})}function f(b,g){switch(g){case t.NUMERIC:return r.getBitsLength(b);case t.ALPHANUMERIC:return a.getBitsLength(b);case t.KANJI:return i.getBitsLength(b);case t.BYTE:return o.getBitsLength(b)}}function p(b){return b.reduce(function(g,w){const _=g.length-1>=0?g[g.length-1]:null;return _&&_.mode===w.mode?(g[g.length-1].data+=w.data,g):(g.push(w),g)},[])}function m(b){const g=[];for(let w=0;w<b.length;w++){const _=b[w];switch(_.mode){case t.NUMERIC:g.push([_,{data:_.data,mode:t.ALPHANUMERIC,length:_.length},{data:_.data,mode:t.BYTE,length:_.length}]);break;case t.ALPHANUMERIC:g.push([_,{data:_.data,mode:t.BYTE,length:_.length}]);break;case t.KANJI:g.push([_,{data:_.data,mode:t.BYTE,length:d(_.data)}]);break;case t.BYTE:g.push([{data:_.data,mode:t.BYTE,length:d(_.data)}])}}return g}function y(b,g){const w={},_={start:{}};let E=["start"];for(let k=0;k<b.length;k++){const S=b[k],I=[];for(let x=0;x<S.length;x++){const $=S[x],F=""+k+x;I.push(F),w[F]={node:$,lastCount:0},_[F]={};for(let R=0;R<E.length;R++){const B=E[R];w[B]&&w[B].node.mode===$.mode?(_[B][F]=f(w[B].lastCount+$.length,$.mode)-f(w[B].lastCount,$.mode),w[B].lastCount+=$.length):(w[B]&&(w[B].lastCount=$.length),_[B][F]=f($.length,$.mode)+4+t.getCharCountIndicator($.mode,g))}}E=I}for(let k=0;k<E.length;k++)_[E[k]].end=0;return{map:_,table:w}}function C(b,g){let w;const _=t.getBestModeForData(b);if(w=t.from(g,_),w!==t.BYTE&&w.bit<_.bit)throw new Error('"'+b+'" cannot be encoded with mode '+t.toString(w)+`.
120
- Suggested mode is: `+t.toString(_));switch(w===t.KANJI&&!l.isKanjiModeEnabled()&&(w=t.BYTE),w){case t.NUMERIC:return new r(b);case t.ALPHANUMERIC:return new a(b);case t.KANJI:return new i(b);case t.BYTE:return new o(b)}}e.fromArray=function(g){return g.reduce(function(w,_){return typeof _=="string"?w.push(C(_,null)):_.data&&w.push(C(_.data,_.mode)),w},[])},e.fromString=function(g,w){const _=v(g,l.isKanjiModeEnabled()),E=m(_),k=y(E,w),S=u.find_path(k.map,"start","end"),I=[];for(let x=1;x<S.length-1;x++)I.push(k.table[S[x]].node);return e.fromArray(p(I))},e.rawSplit=function(g){return e.fromArray(v(g,l.isKanjiModeEnabled()))}})(il);const rn=Re,Da=Zr,ex=B2,tx=F2,rx=Ys,nx=Zs,Ra=Js,Oa=Xr,ax=R2,nn=tl,ox=nl,ix=ut,Va=il;function sx(e,t){const r=e.size,a=nx.getPositions(t);for(let o=0;o<a.length;o++){const i=a[o][0],s=a[o][1];for(let l=-1;l<=7;l++)if(!(i+l<=-1||r<=i+l))for(let u=-1;u<=7;u++)s+u<=-1||r<=s+u||(l>=0&&l<=6&&(u===0||u===6)||u>=0&&u<=6&&(l===0||l===6)||l>=2&&l<=4&&u>=2&&u<=4?e.set(i+l,s+u,!0,!0):e.set(i+l,s+u,!1,!0))}}function lx(e){const t=e.size;for(let r=8;r<t-8;r++){const a=r%2==0;e.set(r,6,a,!0),e.set(6,r,a,!0)}}function ux(e,t){const r=rx.getPositions(t);for(let a=0;a<r.length;a++){const o=r[a][0],i=r[a][1];for(let s=-2;s<=2;s++)for(let l=-2;l<=2;l++)s===-2||s===2||l===-2||l===2||s===0&&l===0?e.set(o+s,i+l,!0,!0):e.set(o+s,i+l,!1,!0)}}function cx(e,t){const r=e.size,a=nn.getEncodedBits(t);let o,i,s;for(let l=0;l<18;l++)o=Math.floor(l/3),i=l%3+r-8-3,s=(a>>l&1)==1,e.set(o,i,s,!0),e.set(i,o,s,!0)}function Ua(e,t,r){const a=e.size,o=ox.getEncodedBits(t,r);let i,s;for(i=0;i<15;i++)s=(o>>i&1)==1,i<6?e.set(i,8,s,!0):i<8?e.set(i+1,8,s,!0):e.set(a-15+i,8,s,!0),i<8?e.set(8,a-i-1,s,!0):i<9?e.set(8,15-i-1+1,s,!0):e.set(8,15-i-1,s,!0);e.set(a-8,8,1,!0)}function dx(e,t){const r=e.size;let a=-1,o=r-1,i=7,s=0;for(let l=r-1;l>0;l-=2)for(l===6&&l--;;){for(let u=0;u<2;u++)if(!e.isReserved(o,l-u)){let d=!1;s<t.length&&(d=(t[s]>>>i&1)==1),e.set(o,l-u,d),i--,i===-1&&(s++,i=7)}if(o+=a,o<0||r<=o){o-=a,a=-a;break}}}function fx(e,t,r){const a=new ex;r.forEach(function(u){a.put(u.mode.bit,4),a.put(u.getLength(),ix.getCharCountIndicator(u.mode,e)),u.write(a)});const o=rn.getSymbolTotalCodewords(e),i=Oa.getTotalCodewordsCount(e,t),s=(o-i)*8;for(a.getLengthInBits()+4<=s&&a.put(0,4);a.getLengthInBits()%8!=0;)a.putBit(0);const l=(s-a.getLengthInBits())/8;for(let u=0;u<l;u++)a.put(u%2?17:236,8);return vx(a,e,t)}function vx(e,t,r){const a=rn.getSymbolTotalCodewords(t),o=Oa.getTotalCodewordsCount(t,r),i=a-o,s=Oa.getBlocksCount(t,r),l=a%s,u=s-l,d=Math.floor(a/s),c=Math.floor(i/s),v=c+1,f=d-c,p=new ax(f);let m=0;const y=new Array(s),C=new Array(s);let b=0;const g=new Uint8Array(e.buffer);for(let S=0;S<s;S++){const I=S<u?c:v;y[S]=g.slice(m,m+I),C[S]=p.encode(y[S]),m+=I,b=Math.max(b,I)}const w=new Uint8Array(a);let _=0,E,k;for(E=0;E<b;E++)for(k=0;k<s;k++)E<y[k].length&&(w[_++]=y[k][E]);for(E=0;E<f;E++)for(k=0;k<s;k++)w[_++]=C[k][E];return w}function px(e,t,r,a){let o;if(Array.isArray(e))o=Va.fromArray(e);else if(typeof e=="string"){let d=t;if(!d){const c=Va.rawSplit(e);d=nn.getBestVersionForData(c,r)}o=Va.fromString(e,d||40)}else throw new Error("Invalid data");const i=nn.getBestVersionForData(o,r);if(!i)throw new Error("The amount of data is too big to be stored in a QR Code");if(!t)t=i;else if(t<i)throw new Error(`
117
+ `),Ce(M({},l),{tokens:d})})),{tokens:n,breakpoints:o,name:i,cssText:s,overrides:u}}_();_();Bx({name:"default-theme"},nu);var qr=globalThis&&globalThis.__assign||function(){return qr=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},qr.apply(this,arguments)},Fx=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};function Rx(e,t,r){if(typeof e=="object")return e;var n=function(){};return{next:e,error:t||n,complete:r||n}}function Dx(e,t,r){t===void 0&&(t={});var n=typeof e=="function"?e():e,o=t.context,i=t.guards,s=t.actions,u=t.activities,l=t.services,d=t.delays,c=t.state,v=Fx(t,["context","guards","actions","activities","services","delays","state"]),f={context:o,guards:i,actions:s,activities:u,services:l,delays:d},m=n.withConfig(f,function(){return qr(qr({},n.context),o)}),g=Ai(m,v).start(c?Xe.create(c):void 0),h;return a.onMounted(function(){r&&(h=g.subscribe(Rx(r)))}),a.onBeforeUnmount(function(){g.stop(),h==null||h.unsubscribe()}),g}function Ox(e){return"state"in e}var ou=function(){};function Ux(e){return"getSnapshot"in e?e.getSnapshot():Ox(e)?e.state:void 0}function iu(e,t){t===void 0&&(t=Ux);var r=a.isRef(e)?e:a.shallowRef(e),n=a.shallowRef(t(r.value)),o=function(i){r.value.send(i)};return a.watch(r,function(i,s,u){n.value=t(i);var l=i.subscribe({next:function(d){return n.value=d},error:ou,complete:ou}).unsubscribe;u(function(){return l()})},{immediate:!0}),{state:n,send:o}}const su={error:"",hasValidationErrors:!1,isPending:!1,route:"",user:"",validationErrors:{val:""},codeDeliveryDetails:{val:""},change:e=>null,updateForm:e=>null,updateBlur:e=>null,resend:e=>null,resendCode:e=>null,signOut:e=>null,federatedSignIn:e=>null,toFederatedSignIn:e=>null,resetPassword:e=>null,toResetPassword:e=>null,signIn:e=>null,toSignIn:e=>null,signUp:e=>null,toSignUp:e=>null,skip:e=>null,skipVerification:e=>null,submit:e=>null,submitForm:e=>null},Na=a.ref();let Yr=a.reactive(fn(kt({},su),{send:"",state:""}));const Ee=e=>(e&&(Na.value=e),iu(Na.value)),Vx=()=>(uu(),a.watchEffect(()=>{uu()}),Yr),Ae=Vx;function uu(){if(!Na.value)return;const{state:e,send:t}=Ee(),r=Xs({send:t,state:e.value});for(const n of Object.keys(su))Yr[n]=r[n];Yr.send=t,Yr.state=e}const Zr=a.defineComponent({props:{provider:String},setup(e){const{provider:t}=e,{send:r}=Ee(),n=o=>{r({type:"FEDERATED_SIGN_IN",data:{provider:t}})};return(o,i)=>{const s=he,u=we;return a.openBlock(),a.createBlock(u,{class:"amplify-field-group__control federated-sign-in-button","data-fullwidth":"false",style:{"font-weight":"normal"},type:"button",onClick:n},{default:a.withCtx(()=>[a.createVNode(s,{class:"amplify-flex federated-sign-in-button-row",style:{"flex-direction":"row","justify-content":"center","align-items":"center"}},{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3})]),_:3})}}}),Mx=a.createElementVNode("svg",{"aria-label":"Amazon icon",class:"amplify-icon federated-sign-in-icon",viewBox:"0 0 248 268"},[a.createElementVNode("path",{d:"M139.056521,147.024612 C133.548808,156.744524 124.782731,162.726926 115.087401,162.726926 C101.790721,162.726926 93.9937779,152.612964 93.9937779,137.68681 C93.9937779,108.224571 120.447551,102.879017 145.533369,102.879017 L145.533369,110.365976 C145.533369,123.831358 145.876354,135.063787 139.056521,147.024612 M207.206992,162.579655 C209.400505,165.692256 209.887066,169.437725 207.063416,171.770186 C199.996315,177.653081 187.429476,188.590967 180.513926,194.716661 L180.46208,194.621133 C178.176838,196.663031 174.862638,196.810303 172.27828,195.445057 C160.780281,185.9162 158.686473,181.494078 152.405048,172.403055 C133.405233,191.751331 119.909143,197.534719 95.309886,197.534719 C66.1281801,197.534719 43.4791563,179.599451 43.4791563,143.669212 C43.4791563,115.616003 58.6782107,96.5105248 80.4019706,87.1727225 C99.2063636,78.9096034 125.464714,77.4528107 145.533369,75.1641337 L145.533369,70.694248 C145.533369,62.4749122 146.167493,52.7510201 141.297893,45.6541312 C137.110277,39.2856386 129.018206,36.6586354 121.859376,36.6586354 C108.658413,36.6586354 96.9171331,43.4171982 94.0416364,57.4199213 C93.4593582,60.532522 91.1701278,63.5933787 88.003492,63.7406501 L54.4387473,60.1424518 C51.6150972,59.5095829 48.4484614,57.2248862 49.2740201,52.8982915 C56.9712583,12.2553679 93.7983558,0 126.732964,0 C143.587124,0 165.606011,4.47386604 178.902691,17.2148315 C195.760839,32.917146 194.149604,53.8694866 194.149604,76.6726704 L194.149604,130.542157 C194.149604,146.734049 200.87372,153.830938 207.206992,162.579655 Z M233.826346,208.038962 C230.467669,203.683255 211.550709,205.9821 203.056405,206.998432 C200.470662,207.321077 200.076227,205.042397 202.406981,203.404973 C217.475208,192.664928 242.201125,195.766353 245.081698,199.363845 C247.966255,202.981502 244.336653,228.071183 230.172839,240.049379 C228.001452,241.888455 225.929671,240.904388 226.89783,238.468418 C230.077218,230.430525 237.204944,212.418868 233.826346,208.038962 Z M126.768855,264 C74.0234043,264 42.0764048,241.955028 17.7852554,217.541992 C12.9733903,212.705982 6.71799208,206.295994 3.31151296,200.690918 C1.90227474,198.372135 5.59096074,195.021875 8.0442063,196.84375 C38.2390146,219.267578 82.1011654,239.538304 125.529506,239.538304 C154.819967,239.538304 191.046475,227.469543 220.66851,214.867659 C225.146771,212.966167 225.146771,219.180222 224.511585,221.060516 C224.183264,222.03242 209.514625,236.221149 189.247207,247.047411 C170.304273,257.166172 146.397132,264 126.768855,264 Z",fill:"#FF9900"})],-1),Lx={class:"amplify-text",style:{"align-self":"center"}},zx=a.createElementVNode("svg",{"aria-label":"Apple icon",class:"amplify-icon federated-sign-in-icon",fill:"#000",preserveAspectRatio:"xMidYMid",stroke:"#000",strokeWidth:"0",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},[a.createElementVNode("path",{d:"M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-105.1-305c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z"})],-1),jx={class:"amplify-text",style:{"align-self":"center"}},Gx=a.createElementVNode("svg",{"aria-label":"Facebook icon",class:"amplify-icon federated-sign-in-icon",viewBox:"0 0 279 538"},[a.createElementVNode("path",{d:"M82.3409742,538 L82.3409742,292.936652 L0,292.936652 L0,196.990154 L82.2410458,196.990154 L82.2410458,126.4295 C82.2410458,44.575144 132.205229,0 205.252865,0 C240.227794,0 270.306232,2.59855099 279,3.79788222 L279,89.2502322 L228.536175,89.2502322 C188.964542,89.2502322 181.270057,108.139699 181.270057,135.824262 L181.270057,196.89021 L276.202006,196.89021 L263.810888,292.836708 L181.16913,292.836708 L181.16913,538 L82.3409742,538 Z",fill:"#1877F2"})],-1),Wx={class:"amplify-text",style:{"align-self":"center"}},Hx=a.createElementVNode("svg",{"aria-label":"Google icon",class:"amplify-icon federated-sign-in-icon",viewBox:"0 0 256 262",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},[a.createElementVNode("path",{d:"M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622 38.755 30.023 2.685.268c24.659-22.774 38.875-56.282 38.875-96.027",fill:"#4285F4"}),a.createElementVNode("path",{d:"M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055-34.523 0-63.824-22.773-74.269-54.25l-1.531.13-40.298 31.187-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1",fill:"#34A853"}),a.createElementVNode("path",{d:"M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82 0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602l42.356-32.782",fill:"#FBBC05"}),a.createElementVNode("path",{d:"M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0 79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251",fill:"#EB4335"})],-1),Kx={class:"amplify-text",style:{"align-self":"center"}},qx=a.createElementVNode("hr",{class:"amplify-divider amplify-divider--label","aria-orientation":"horizontal","data-size":"small","data-label":"or"},null,-1),Xr=a.defineComponent({setup(e){var y;const{state:t}=Ee(),r=$e(Ae),{route:n}=r(),{value:{context:o}}=t,i=(y=o==null?void 0:o.config)==null?void 0:y.socialProviders,s=i==null?void 0:i.includes("amazon"),u=i==null?void 0:i.includes("apple"),l=i==null?void 0:i.includes("facebook"),d=i==null?void 0:i.includes("google"),c=l||d||s||u,v=n==="signUp"?"Up":"In",f=a.computed(()=>Zs),m=a.computed(()=>R(`Sign ${v} with Amazon`)),g=a.computed(()=>R(`Sign ${v} with Apple`)),h=a.computed(()=>R(`Sign ${v} with Facebook`)),p=a.computed(()=>R(`Sign ${v} with Google`));return(C,S)=>{const w=he;return a.unref(c)?(a.openBlock(),a.createBlock(w,{key:0,class:"amplify-flex federated-sign-in-container",style:{"flex-direction":"column",padding:"0 0 1rem 0"}},{default:a.withCtx(()=>[a.unref(s)?(a.openBlock(),a.createBlock(Zr,{key:0,provider:a.unref(f).Amazon},{default:a.withCtx(()=>[Mx,a.createElementVNode("p",Lx,a.toDisplayString(a.unref(m)),1)]),_:1},8,["provider"])):a.createCommentVNode("",!0),a.unref(u)?(a.openBlock(),a.createBlock(Zr,{key:1,provider:a.unref(f).Apple},{default:a.withCtx(()=>[zx,a.createElementVNode("p",jx,a.toDisplayString(a.unref(g)),1)]),_:1},8,["provider"])):a.createCommentVNode("",!0),a.unref(l)?(a.openBlock(),a.createBlock(Zr,{key:2,provider:a.unref(f).Facebook},{default:a.withCtx(()=>[Gx,a.createElementVNode("p",Wx,a.toDisplayString(a.unref(h)),1)]),_:1},8,["provider"])):a.createCommentVNode("",!0),a.unref(d)?(a.openBlock(),a.createBlock(Zr,{key:3,provider:a.unref(f).Google},{default:a.withCtx(()=>[Hx,a.createElementVNode("p",Kx,a.toDisplayString(a.unref(p)),1)]),_:1},8,["provider"])):a.createCommentVNode("",!0),qx]),_:1})):a.createCommentVNode("",!0)}}}),Yx={},Zx={"data-amplify-label":""};function Xx(e,t){return a.openBlock(),a.createElementBlock("label",Zx,[a.renderSlot(e.$slots,"default")])}var Jr=or(Yx,[["render",Xx]]);const Qr=a.defineComponent({emits:["update:modelValue"],setup(e,{emit:t}){const r=n=>{t("update:modelValue",n.target.value)};return(n,o)=>(a.openBlock(),a.createElementBlock("input",{onChange:o[0]||(o[0]=i=>r(i)),"data-amplify-input":""},null,32))}}),Jx=["aria-label"],Qx={key:0,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",class:"amplify-icon"},eE=a.createElementVNode("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"},null,-1),tE=[eE],rE={key:1,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",class:"amplify-icon"},nE=a.createElementVNode("path",{d:"M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z",fill:"none"},null,-1),aE=a.createElementVNode("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"},null,-1),oE=[nE,aE];function iE(e){var C;const t=e,r=R("Show password"),n=R("Hide password"),o=a.ref("password"),i=a.ref(r),s=Math.floor(Math.random()*999999),{name:u,label:l,autocomplete:d,ariainvalid:c,labelHidden:v,placeholder:f,required:m}=a.toRefs(t);let g=a.ref("");function h(){i.value=i.value===r?n:r,o.value=o.value==="password"?"text":"password"}const p=R((C=f==null?void 0:f.value)!=null?C:l.value),y=R(l.value);return(S,w)=>{const x=Jr,A=Qr,E=he;return a.openBlock(),a.createBlock(E,{class:"amplify-flex amplify-field amplify-textfield amplify-passwordfield",style:{"flex-direction":"column"}},{default:a.withCtx(()=>{var I;return[a.createVNode(x,{class:a.normalizeClass(["amplify-label",{"amplify-visually-hidden":(I=a.unref(v))!=null?I:!0}]),for:"amplify-field-"+a.unref(s)},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(y)),1)]),_:1},8,["class","for"]),a.createVNode(E,{class:"amplify-flex amplify-field-group"},{default:a.withCtx(()=>{var T;return[a.createVNode(A,a.mergeProps(S.$attrs,{modelValue:a.unref(g),"onUpdate:modelValue":w[0]||(w[0]=B=>a.isRef(g)?g.value=B:g=B),class:"amplify-input amplify-field-group__control","aria-invalid":a.unref(c),id:"amplify-field-"+a.unref(s),"data-amplify-password":"true",name:a.unref(u),autocomplete:a.unref(d),required:(T=a.unref(m))!=null?T:!0,placeholder:a.unref(p),type:o.value}),null,16,["modelValue","aria-invalid","id","name","autocomplete","required","placeholder","type"]),a.createVNode(E,{class:"amplify-field-group__outer-end"},{default:a.withCtx(()=>[a.createElementVNode("button",{"aria-label":i.value,class:"amplify-button amplify-field-group__control amplify-field__show-password","data-fullwidth":"false",type:"button",onClick:h},[o.value==="password"?(a.openBlock(),a.createElementBlock("svg",Qx,tE)):(a.openBlock(),a.createElementBlock("svg",rE,oE))],8,Jx)]),_:1})]}),_:1})]}),_:1})}}const sE={inheritAttrs:!1},Ba=a.defineComponent(fn(kt({},sE),{props:{name:null,label:null,autocomplete:null,ariainvalid:{type:Boolean},labelHidden:{type:Boolean,default:!0},placeholder:null,required:{type:Boolean,default:!0}},setup:iE})),uE=["value","selected"],lE=a.defineComponent({props:{selectValue:{default:""},options:null},emits:["update:selectValue"],setup(e,{emit:t}){const{options:r,selectValue:n}=e,o=i=>{t("update:selectValue",i.target.value)};return(i,s)=>(a.openBlock(),a.createElementBlock("select",{onChange:s[0]||(s[0]=u=>o(u))},[(a.openBlock(),a.createElementBlock(a.Fragment,null,a.renderList(r,(u,l)=>a.createElementVNode("option",{key:l,value:u,selected:u==n?!0:void 0},a.toDisplayString(u),9,uE)),64))],32))}}),cE=a.createTextVNode(a.toDisplayString("Country Code")),dE=a.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg","data-size":"large",fill:"currentColor",viewBox:"0 0 24 24",class:"amplify-icon"},[a.createElementVNode("path",{d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})],-1),fE=a.defineComponent({props:{label:{default:"Username"},name:{default:"username"},placeholder:{default:""},autocomplete:{default:""},labelHidden:{type:Boolean,default:!1},required:{type:Boolean,default:!0},dialCode:null,dialCodeList:null,type:{default:"text"}},setup(e){const{label:t,name:r,placeholder:n,autocomplete:o,labelHidden:i,required:s,dialCode:u,dialCodeList:l}=e,d=Math.floor(Math.random()*999999),c=Math.floor(Math.random()*999999);return(v,f)=>{const m=Jr,g=lE,h=he,p=Qr;return a.openBlock(),a.createBlock(h,{class:"amplify-flex amplify-field amplify-textfield amplify-phonenumberfield",style:{"flex-direction":"column"}},{default:a.withCtx(()=>[a.createVNode(m,a.mergeProps({for:"amplify-field-"+a.unref(d),class:["amplify-label",{"sr-only":i}]},v.$attrs),{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t))]),_:1},16,["for","class"]),a.createVNode(h,{class:"amplify-flex amplify-field-group"},{default:a.withCtx(()=>[a.createVNode(h,{class:"amplify-field-group__outer-start"},{default:a.withCtx(()=>[e.type==="tel"?(a.openBlock(),a.createBlock(h,{key:0,class:"amplify-flex amplify-field amplify-selectfield amplify-countrycodeselect",style:{"flex-direction":"column"}},{default:a.withCtx(()=>[a.createVNode(m,a.mergeProps({for:"amplify-field-"+a.unref(c),class:"amplify-label amplify-visually-hidden"},v.$attrs),{default:a.withCtx(()=>[cE]),_:1},16,["for"]),a.createVNode(h,{class:"amplify-select__wrapper"},{default:a.withCtx(()=>[a.createVNode(g,{class:"amplify-select amplify-field-group__control",id:"amplify-field-"+a.unref(c),autocomplete:"tel-country-code","aria-label":"country code",name:"country_code",options:l,"select-value":u},null,8,["id"]),a.createVNode(h,{class:"amplify-flex amplify-select__icon-wrapper",style:{"align-items":"center","justify-content":"center"}},{default:a.withCtx(()=>[dE]),_:1})]),_:1})]),_:1})):a.createCommentVNode("",!0)]),_:1}),a.createVNode(h,{class:"amplify-field-group__field-wrapper"},{default:a.withCtx(()=>[a.createVNode(p,{class:"amplify-input amplify-field-group__control","aria-invalid":"false",id:"amplify-field-"+a.unref(d),autocomplete:o,name:r,required:s!=null?s:!0,type:e.type,placeholder:n},null,8,["id","required","type"])]),_:1})]),_:1})]),_:1})}}}),vE={key:2},lu=a.defineComponent({props:{name:{default:""},formField:{default:()=>({})}},setup(e){const t=e,{name:r,formField:n}=a.toRefs(t),o=$e(Ae),{validationErrors:i}=a.toRefs(o()),{type:s}=n.value,u=a.computed(()=>F2(i.value[r.value])),l=s==="password";return(d,c)=>{var v;return a.openBlock(),a.createElementBlock(a.Fragment,null,[l?(a.openBlock(),a.createBlock(Ba,{key:0,name:a.unref(r),label:a.unref(n).label,placeholder:a.unref(n).placeholder,required:a.unref(n).isRequired,"label-hidden":a.unref(n).labelHidden,autocomplete:a.unref(n).autocomplete,ariainvalid:!!a.unref(i)[a.unref(r)]},null,8,["name","label","placeholder","required","label-hidden","autocomplete","ariainvalid"])):(a.openBlock(),a.createBlock(fE,{key:1,name:a.unref(r),label:a.unref(n).label,placeholder:a.unref(n).placeholder,required:a.unref(n).isRequired,"label-hidden":a.unref(n).labelHidden,autocomplete:a.unref(n).autocomplete,"dial-code":a.unref(n).dialCode,"dial-code-list":a.unref(n).dialCodeList,type:a.unref(n).type},null,8,["name","label","placeholder","required","label-hidden","autocomplete","dial-code","dial-code-list","type"])),((v=a.unref(u))==null?void 0:v.length)>0?(a.openBlock(),a.createElementBlock("div",vE,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(a.unref(u),(f,m)=>(a.openBlock(),a.createElementBlock("p",{key:m,role:"alert","data-variation":"error",class:"amplify-text"},a.toDisplayString(a.unref(R)(f)),1))),128))])):a.createCommentVNode("",!0)],64)}}}),je=a.defineComponent({props:{route:null},setup(e){const t=e,{route:r}=a.toRefs(t),{state:n}=Ee();let o=[];return a.onBeforeMount(()=>{o=q2(r.value,n.value)}),(i,s)=>(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(a.unref(o),([u,l])=>(a.openBlock(),a.createBlock(lu,{name:u,key:u,formField:l},null,8,["name","formField"]))),128))}}),pE=a.createElementVNode("legend",{class:"amplify-visually-hidden"},"Sign in",-1),mE={"data-amplify-footer":""},Fa=a.defineComponent({emits:["signInSubmit","forgotPasswordClicked","createAccountClicked"],setup(e,{emit:t}){const n=$e(Ae)(),o=a.useAttrs(),i=a.computed(()=>k2("Forgot your password? ")?R("Forgot your password? "):R("Forgot your password?")),s=a.computed(()=>R("Sign in")),u=a.computed(()=>R("Signing in")),{state:l,send:d}=Ee(),c=a.computed(()=>xe(l.value)),v=h=>{const{name:p,value:y}=h.target;d({type:"CHANGE",data:{name:p,value:y}})},f=h=>{(o==null?void 0:o.onSignInSubmit)?t("signInSubmit",h):m(h)},m=h=>{n.submitForm(ze(h))},g=()=>{(o==null?void 0:o.onForgotPasswordClicked)?t("forgotPasswordClicked"):d({type:"RESET_PASSWORD"})};return(h,p)=>{const y=Re,C=De,S=we,w=he,x=Oe,A=Ue;return a.renderSlot(h.$slots,"signInSlotI",a.normalizeProps(a.guardReactiveProps(h.$attrs)),()=>[a.renderSlot(h.$slots,"header"),a.createVNode(w,a.normalizeProps(a.guardReactiveProps(h.$attrs)),{default:a.withCtx(()=>[a.createVNode(x,{"data-amplify-authenticator-signin":"",onInput:v,onSubmit:a.withModifiers(f,["prevent"]),method:"post"},{formt:a.withCtx(({slotData:E})=>[a.renderSlot(h.$slots,"form",{info:E,onSignInSubmit:f,onInput:v,onForgotPasswordClicked:g})]),default:a.withCtx(()=>[a.createVNode(Xr),a.createVNode(w,{class:"amplify-flex",style:{"flex-direction":"column"}},{default:a.withCtx(()=>[a.createVNode(y,{disabled:a.unref(c).matches("signIn.submit"),class:"amplify-flex",style:{"flex-direction":"column"}},{fieldSetI:a.withCtx(({slotData:E})=>[a.renderSlot(h.$slots,"signin-fields",{info:E})]),default:a.withCtx(()=>[pE,a.createVNode(je,{route:"signIn"})]),_:3},8,["disabled"]),a.unref(c).context.remoteError?(a.openBlock(),a.createBlock(C,{key:0},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(R)(a.unref(c).context.remoteError)),1)]),_:1})):a.createCommentVNode("",!0),a.createVNode(S,{disabled:a.unref(c).matches("signIn.submit"),class:"amplify-field-group__control",fullwidth:!0,"data-loading":"false",variation:"primary",style:{"border-radius":"0x","font-weight":"normal"}},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(c).matches("signIn.submit")?a.unref(u):a.unref(s)),1)]),_:1},8,["disabled"])]),_:3})]),_:3},8,["onSubmit"])]),_:3},16),a.createVNode(A,null,{default:a.withCtx(()=>[a.renderSlot(h.$slots,"footer",{},()=>[a.createElementVNode("div",mE,[a.createVNode(S,{onClick:g,class:"amplify-field-group__control","data-fullwidth":"true","data-size":"small","data-variation":"link",style:{"font-weight":"normal"},type:"button"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(i)),1)]),_:1})])])]),_:3})])}}}),Ra=a.defineComponent({setup(e){return(t,r)=>(a.openBlock(),a.createBlock(je,{route:"signUp"}))}}),Da=a.defineComponent({emits:["signUpSubmit"],setup(e,{emit:t}){const r=$e(Ae),n=r(),o=r(),{hasValidationErrors:i,isPending:s,error:u}=a.toRefs(n),l=a.useAttrs(),d=a.computed(()=>R("Create Account")),c=g=>{let{checked:h,name:p,type:y,value:C}=g.target;y==="checkbox"&&!h&&(C=void 0),o.updateForm({name:p,value:C})};function v(g){const{name:h}=g.target;o.updateBlur({name:h})}const f=g=>{(l==null?void 0:l.onSignUpSubmit)?t("signUpSubmit",g):m(g)},m=g=>{o.submitForm(ze(g))};return(g,h)=>{const p=Re,y=De,C=we,S=he,w=Oe,x=Ue;return a.renderSlot(g.$slots,"signUpSlotI",a.normalizeProps(a.guardReactiveProps(g.$attrs)),()=>[a.renderSlot(g.$slots,"header"),a.createVNode(S,a.normalizeProps(a.guardReactiveProps(g.$attrs)),{default:a.withCtx(()=>[a.createVNode(w,{onInput:c,onBlurCapture:v,onSubmit:a.withModifiers(f,["prevent"])},{default:a.withCtx(()=>[a.createVNode(Xr),a.createVNode(S,{class:"amplify-flex",style:{"flex-direction":"column"}},{default:a.withCtx(()=>[a.createVNode(p,{class:"amplify-flex",style:{"flex-direction":"column"},disabled:a.unref(s)},{fieldSetI:a.withCtx(({slotData:A})=>[a.renderSlot(g.$slots,"signup-fields",{info:A})]),default:a.withCtx(()=>[a.createVNode(Ra)]),_:3},8,["disabled"]),a.unref(u)?(a.openBlock(),a.createBlock(y,{key:0},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(R)(a.unref(u))),1)]),_:1})):a.createCommentVNode("",!0),a.createVNode(C,{class:"amplify-field-group__control","data-fullwidth":"true","data-loading":"false","data-variation":"primary",style:{"border-radius":"0px","font-weight":"normal"},disabled:a.unref(s)||a.unref(i)},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(d)),1)]),_:1},8,["disabled"])]),_:3})]),_:3},8,["onSubmit"])]),_:3},16),a.createVNode(x,null,{default:a.withCtx(()=>[a.renderSlot(g.$slots,"footer")]),_:3})])}}}),hE=a.defineComponent({props:{label:null,id:null,active:{type:Boolean,default:!1}},setup(e){const t=e,{id:r,label:n}=t,{active:o}=a.toRefs(t);return(i,s)=>{const u=he;return a.openBlock(),a.createBlock(u,{tabindex:a.unref(o)?0:-1,"data-state":a.unref(o)?"active":"inactive","aria-selected":a.unref(o)?"true":"false","aria-controls":`radix-id-${a.unref(r)}-8-content-0`,id:`radix-id-${a.unref(r)}-8-trigger-0`,"data-orientation":"horizontal",role:"tab",class:"amplify-tabs-item","data-spacing":"equal","data-radix-collection-item":""},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(n)),1)]),_:1},8,["tabindex","data-state","aria-selected","aria-controls","id"])}}}),gE={};function yE(e,t){const r=he;return a.openBlock(),a.createBlock(r,{tabindex:"0","aria-orientation":"horizontal","data-orientation":"horizontal",role:"tablist",style:{outline:"none"}},{default:a.withCtx(()=>[a.createVNode(r,{class:"amplify-flex amplify-tabs","data-indicator-position":"top",style:{gap:"0px","justify-content":"center"}},{default:a.withCtx(()=>[a.renderSlot(e.$slots,"default")]),_:3})]),_:3})}var bE=or(gE,[["render",yE]]);const Qe=a.defineComponent({props:{level:{type:Number,default:1}},inheritAttrs:!1,setup(e,{slots:t,attrs:r}){var i,s;const n=t.default?t.default():[],o=t.headingI?t.headingI():[];if(((s=(i=o[0])==null?void 0:i.children)==null?void 0:s.length)===0)o[0].children=[a.h(`h${e.level}`,kt({},r),[n])];else return()=>a.h(`h${e.level}`,kt({"data-amplify-heading":""},r),[o[0]?a.h(o[0].children[0]):a.h(n[0])]);return()=>o}}),CE={};function SE(e,t){return a.renderSlot(e.$slots,"textI",a.normalizeProps(a.guardReactiveProps(e.$attrs)),()=>[a.createElementVNode("span",a.mergeProps(e.$attrs,{"data-amplify-text":""}),[a.renderSlot(e.$slots,"default")],16)])}var cu=or(CE,[["render",SE]]);const Oa=a.defineComponent({emits:["confirmSignUpSubmit","lostCodeClicked"],setup(e,{emit:t}){const r=a.useAttrs(),n=$e(Ae),{isPending:o,error:i,codeDeliveryDetails:s}=a.toRefs(n()),{submitForm:u,updateForm:l,resendCode:d}=n();Ee();const c=a.computed(()=>{var A,E;return((A=s.value)==null?void 0:A.DeliveryMedium)==="EMAIL"?R("We Emailed You"):((E=s.value)==null?void 0:E.DeliveryMedium)==="SMS"?R("We Texted You"):R("We Sent A Code")}),v=a.computed(()=>R("Resend Code")),f=a.computed(()=>R("Confirm")),m=R("Your code is on the way. To log in, enter the code we emailed to"),g=R("Your code is on the way. To log in, enter the code we texted to"),h=R("Your code is on the way. To log in, enter the code we sent you. It may take a minute to arrive."),p=R("It may take a minute to arrive."),y=a.computed(()=>{var A,E,I,T;return((A=s.value)==null?void 0:A.DeliveryMedium)==="EMAIL"?`${m} ${(E=s.value)==null?void 0:E.Destination}. ${p}`:((I=s.value)==null?void 0:I.DeliveryMedium)==="SMS"?`${g} ${(T=s.value)==null?void 0:T.Destination}. ${p}`:R(`${h}`)}),C=A=>{const{name:E,value:I}=A.target;l({name:E,value:I})},S=A=>{(r==null?void 0:r.onConfirmSignUpSubmit)?t("confirmSignUpSubmit",A):w(A)},w=A=>{u(ze(A))},x=()=>{(r==null?void 0:r.onLostCodeClicked)?t("lostCodeClicked"):d()};return(A,E)=>{const I=Qe,T=cu,B=Re,U=De,O=we,L=Ue,W=he,be=Oe;return a.renderSlot(A.$slots,"confirmSignUpSlotI",a.normalizeProps(a.guardReactiveProps(A.$attrs)),()=>[a.createVNode(W,a.normalizeProps(a.guardReactiveProps(A.$attrs)),{default:a.withCtx(()=>[a.createVNode(be,{onInput:C,onSubmit:a.withModifiers(S,["prevent"])},{default:a.withCtx(()=>[a.createVNode(W,{class:"amplify-flex",style:{"flex-direction":"column"}},{default:a.withCtx(()=>[a.renderSlot(A.$slots,"header",{},()=>[a.createVNode(I,{class:"amplify-heading",style:{"font-size":"1.5rem"},level:3},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(c)),1)]),_:1})]),a.createVNode(T,{style:{"margin-bottom":"1rem"}},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(y)),1)]),_:1}),a.createVNode(B,{class:"amplify-flex",style:{"flex-direction":"column"},disabled:a.unref(o)},{default:a.withCtx(()=>[a.createVNode(je,{route:"confirmSignUp"})]),_:1},8,["disabled"]),a.createVNode(L,{class:"amplify-flex",style:{"flex-direction":"column","align-items":"unset"}},{default:a.withCtx(()=>[a.unref(i)?(a.openBlock(),a.createBlock(U,{key:0},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(R)(a.unref(i))),1)]),_:1})):a.createCommentVNode("",!0),a.createVNode(O,{class:"amplify-field-group__control","data-fullwidth":"false","data-loading":"false","data-variation":"primary",type:"submit",style:{"font-weight":"normal"},disabled:a.unref(o)},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(f)),1)]),_:1},8,["disabled"]),a.createVNode(O,{class:"amplify-field-group__control","data-fullwidth":"false","data-variation":"default",style:{"font-weight":"normal"},type:"button",onClick:a.withModifiers(x,["prevent"])},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(v)),1)]),_:1},8,["onClick"]),a.renderSlot(A.$slots,"footer",{onConfirmSignUpSubmit:S,onLostCodeClicked:x})]),_:3})]),_:3})]),_:3},8,["onSubmit"])]),_:3},16)])}}}),Ua=a.defineComponent({emits:["confirmSignInSubmit","backToSignInClicked"],setup(e,{emit:t}){const r=a.useAttrs(),{state:n,send:o}=Ee(),s=$e(Ae)(),u=a.computed(()=>xe(n.value)),l=u.value.context.challengeName;let d="SMS";l===Ys.SOFTWARE_TOKEN_MFA&&(d="TOTP");const c=`Confirm ${d} Code`,v=a.computed(()=>R("Back to Sign In")),f=a.computed(()=>R("Confirm")),m=y=>{const{name:C,value:S}=y.target;o({type:"CHANGE",data:{name:C,value:S}})},g=y=>{(r==null?void 0:r.onConfirmSignInSubmit)?t("confirmSignInSubmit",y):h(y)},h=y=>{s.submitForm(ze(y))},p=()=>{(r==null?void 0:r.onBackToSignInClicked)?t("backToSignInClicked"):o({type:"SIGN_IN"})};return(y,C)=>{const S=Qe,w=he,x=De,A=we,E=Ue,I=Re,T=Oe;return a.renderSlot(y.$slots,"confirmSignInSlotI",a.normalizeProps(a.guardReactiveProps(y.$attrs)),()=>[a.createVNode(w,a.normalizeProps(a.guardReactiveProps(y.$attrs)),{default:a.withCtx(()=>[a.createVNode(T,{"data-amplify-authenticator-confirmsignin":"",onInput:m,onSubmit:a.withModifiers(g,["prevent"])},{default:a.withCtx(()=>[a.createVNode(I,{class:"amplify-flex",style:{"flex-direction":"column"},disabled:a.unref(u).matches("confirmSignIn.pending")},{default:a.withCtx(()=>[a.renderSlot(y.$slots,"header",{},()=>[a.createVNode(S,{level:3,class:"amplify-heading"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(c))]),_:1})]),a.createVNode(w,{class:"amplify-flex",style:{"flex-direction":"column"}},{default:a.withCtx(()=>[a.createVNode(je,{route:"confirmSignIn"})]),_:1}),a.createVNode(E,{class:"amplify-flex",style:{"flex-direction":"column"}},{default:a.withCtx(()=>{var B,U;return[((U=(B=a.unref(u))==null?void 0:B.context)==null?void 0:U.remoteError)?(a.openBlock(),a.createBlock(x,{key:0},{default:a.withCtx(()=>{var O,L;return[a.createTextVNode(a.toDisplayString(a.unref(R)((L=(O=a.unref(u))==null?void 0:O.context)==null?void 0:L.remoteError)),1)]}),_:1})):a.createCommentVNode("",!0),a.createVNode(A,{class:"amplify-field-group__control","data-fullwidth":"false","data-loading":"false","data-variation":"primary",style:{"font-weight":"normal"},disabled:a.unref(u).matches("confirmSignIn.pending")},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(f)),1)]),_:1},8,["disabled"]),a.createVNode(A,{class:"amplify-field-group__control","data-fullwidth":"false","data-size":"small","data-variation":"link",style:{"font-weight":"normal"},type:"button",onClick:a.withModifiers(p,["prevent"])},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(v)),1)]),_:1},8,["onClick"]),a.renderSlot(y.$slots,"footer",{onBackToSignInClicked:p,onConfirmSignInSubmit:g})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}});var Yt={},wE=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},du={},Ie={};let Va;const _E=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];Ie.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return t*4+17};Ie.getSymbolTotalCodewords=function(t){return _E[t]};Ie.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};Ie.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');Va=t};Ie.isKanjiModeEnabled=function(){return typeof Va!="undefined"};Ie.toSJIS=function(t){return Va(t)};var en={};(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(r){if(typeof r!="string")throw new Error("Param is not a string");switch(r.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+r)}}e.isValid=function(n){return n&&typeof n.bit!="undefined"&&n.bit>=0&&n.bit<4},e.from=function(n,o){if(e.isValid(n))return n;try{return t(n)}catch{return o}}})(en);function fu(){this.buffer=[],this.length=0}fu.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)==1},put:function(e,t){for(let r=0;r<t;r++)this.putBit((e>>>t-r-1&1)==1)},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var xE=fu;function Zt(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}Zt.prototype.set=function(e,t,r,n){const o=e*this.size+t;this.data[o]=r,n&&(this.reservedBit[o]=!0)};Zt.prototype.get=function(e,t){return this.data[e*this.size+t]};Zt.prototype.xor=function(e,t,r){this.data[e*this.size+t]^=r};Zt.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var EE=Zt,vu={};(function(e){const t=Ie.getSymbolSize;e.getRowColCoords=function(n){if(n===1)return[];const o=Math.floor(n/7)+2,i=t(n),s=i===145?26:Math.ceil((i-13)/(2*o-2))*2,u=[i-7];for(let l=1;l<o-1;l++)u[l]=u[l-1]-s;return u.push(6),u.reverse()},e.getPositions=function(n){const o=[],i=e.getRowColCoords(n),s=i.length;for(let u=0;u<s;u++)for(let l=0;l<s;l++)u===0&&l===0||u===0&&l===s-1||u===s-1&&l===0||o.push([i[u],i[l]]);return o}})(vu);var pu={};const AE=Ie.getSymbolSize,mu=7;pu.getPositions=function(t){const r=AE(t);return[[0,0],[r-mu,0],[0,r-mu]]};var hu={};(function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(o){return o!=null&&o!==""&&!isNaN(o)&&o>=0&&o<=7},e.from=function(o){return e.isValid(o)?parseInt(o,10):void 0},e.getPenaltyN1=function(o){const i=o.size;let s=0,u=0,l=0,d=null,c=null;for(let v=0;v<i;v++){u=l=0,d=c=null;for(let f=0;f<i;f++){let m=o.get(v,f);m===d?u++:(u>=5&&(s+=t.N1+(u-5)),d=m,u=1),m=o.get(f,v),m===c?l++:(l>=5&&(s+=t.N1+(l-5)),c=m,l=1)}u>=5&&(s+=t.N1+(u-5)),l>=5&&(s+=t.N1+(l-5))}return s},e.getPenaltyN2=function(o){const i=o.size;let s=0;for(let u=0;u<i-1;u++)for(let l=0;l<i-1;l++){const d=o.get(u,l)+o.get(u,l+1)+o.get(u+1,l)+o.get(u+1,l+1);(d===4||d===0)&&s++}return s*t.N2},e.getPenaltyN3=function(o){const i=o.size;let s=0,u=0,l=0;for(let d=0;d<i;d++){u=l=0;for(let c=0;c<i;c++)u=u<<1&2047|o.get(d,c),c>=10&&(u===1488||u===93)&&s++,l=l<<1&2047|o.get(c,d),c>=10&&(l===1488||l===93)&&s++}return s*t.N3},e.getPenaltyN4=function(o){let i=0;const s=o.data.length;for(let l=0;l<s;l++)i+=o.data[l];return Math.abs(Math.ceil(i*100/s/5)-10)*t.N4};function r(n,o,i){switch(n){case e.Patterns.PATTERN000:return(o+i)%2==0;case e.Patterns.PATTERN001:return o%2==0;case e.Patterns.PATTERN010:return i%3==0;case e.Patterns.PATTERN011:return(o+i)%3==0;case e.Patterns.PATTERN100:return(Math.floor(o/2)+Math.floor(i/3))%2==0;case e.Patterns.PATTERN101:return o*i%2+o*i%3==0;case e.Patterns.PATTERN110:return(o*i%2+o*i%3)%2==0;case e.Patterns.PATTERN111:return(o*i%3+(o+i)%2)%2==0;default:throw new Error("bad maskPattern:"+n)}}e.applyMask=function(o,i){const s=i.size;for(let u=0;u<s;u++)for(let l=0;l<s;l++)i.isReserved(l,u)||i.xor(l,u,r(o,l,u))},e.getBestMask=function(o,i){const s=Object.keys(e.Patterns).length;let u=0,l=1/0;for(let d=0;d<s;d++){i(d),e.applyMask(d,o);const c=e.getPenaltyN1(o)+e.getPenaltyN2(o)+e.getPenaltyN3(o)+e.getPenaltyN4(o);e.applyMask(d,o),c<l&&(l=c,u=d)}return u}})(hu);var tn={};const et=en,rn=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],nn=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];tn.getBlocksCount=function(t,r){switch(r){case et.L:return rn[(t-1)*4+0];case et.M:return rn[(t-1)*4+1];case et.Q:return rn[(t-1)*4+2];case et.H:return rn[(t-1)*4+3];default:return}};tn.getTotalCodewordsCount=function(t,r){switch(r){case et.L:return nn[(t-1)*4+0];case et.M:return nn[(t-1)*4+1];case et.Q:return nn[(t-1)*4+2];case et.H:return nn[(t-1)*4+3];default:return}};var gu={},an={};const Xt=new Uint8Array(512),on=new Uint8Array(256);(function(){let t=1;for(let r=0;r<255;r++)Xt[r]=t,on[t]=r,t<<=1,t&256&&(t^=285);for(let r=255;r<512;r++)Xt[r]=Xt[r-255]})();an.log=function(t){if(t<1)throw new Error("log("+t+")");return on[t]};an.exp=function(t){return Xt[t]};an.mul=function(t,r){return t===0||r===0?0:Xt[on[t]+on[r]]};(function(e){const t=an;e.mul=function(n,o){const i=new Uint8Array(n.length+o.length-1);for(let s=0;s<n.length;s++)for(let u=0;u<o.length;u++)i[s+u]^=t.mul(n[s],o[u]);return i},e.mod=function(n,o){let i=new Uint8Array(n);for(;i.length-o.length>=0;){const s=i[0];for(let l=0;l<o.length;l++)i[l]^=t.mul(o[l],s);let u=0;for(;u<i.length&&i[u]===0;)u++;i=i.slice(u)}return i},e.generateECPolynomial=function(n){let o=new Uint8Array([1]);for(let i=0;i<n;i++)o=e.mul(o,new Uint8Array([1,t.exp(i)]));return o}})(gu);const yu=gu;function Ma(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}Ma.prototype.initialize=function(t){this.degree=t,this.genPoly=yu.generateECPolynomial(this.degree)};Ma.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");const r=new Uint8Array(t.length+this.degree);r.set(t);const n=yu.mod(r,this.genPoly),o=this.degree-n.length;if(o>0){const i=new Uint8Array(this.degree);return i.set(n,o),i}return n};var IE=Ma,bu={},tt={},La={};La.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var Ge={};const Cu="[0-9]+",$E="[A-Z $%*+\\-./:]+";let Jt="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";Jt=Jt.replace(/u/g,"\\u");const TE="(?:(?![A-Z0-9 $%*+\\-./:]|"+Jt+`)(?:.|[\r
118
+ ]))+`;Ge.KANJI=new RegExp(Jt,"g");Ge.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");Ge.BYTE=new RegExp(TE,"g");Ge.NUMERIC=new RegExp(Cu,"g");Ge.ALPHANUMERIC=new RegExp($E,"g");const PE=new RegExp("^"+Jt+"$"),kE=new RegExp("^"+Cu+"$"),NE=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");Ge.testKanji=function(t){return PE.test(t)};Ge.testNumeric=function(t){return kE.test(t)};Ge.testAlphanumeric=function(t){return NE.test(t)};(function(e){const t=La,r=Ge;e.NUMERIC={id:"Numeric",bit:1<<0,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:1<<1,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:1<<2,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:1<<3,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(i,s){if(!i.ccBits)throw new Error("Invalid mode: "+i);if(!t.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?i.ccBits[0]:s<27?i.ccBits[1]:i.ccBits[2]},e.getBestModeForData=function(i){return r.testNumeric(i)?e.NUMERIC:r.testAlphanumeric(i)?e.ALPHANUMERIC:r.testKanji(i)?e.KANJI:e.BYTE},e.toString=function(i){if(i&&i.id)return i.id;throw new Error("Invalid mode")},e.isValid=function(i){return i&&i.bit&&i.ccBits};function n(o){if(typeof o!="string")throw new Error("Param is not a string");switch(o.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+o)}}e.from=function(i,s){if(e.isValid(i))return i;try{return n(i)}catch{return s}}})(tt);(function(e){const t=Ie,r=tn,n=en,o=tt,i=La,s=1<<12|1<<11|1<<10|1<<9|1<<8|1<<5|1<<2|1<<0,u=t.getBCHDigit(s);function l(f,m,g){for(let h=1;h<=40;h++)if(m<=e.getCapacity(h,g,f))return h}function d(f,m){return o.getCharCountIndicator(f,m)+4}function c(f,m){let g=0;return f.forEach(function(h){g+=d(h.mode,m)+h.getBitsLength()}),g}function v(f,m){for(let g=1;g<=40;g++)if(c(f,g)<=e.getCapacity(g,m,o.MIXED))return g}e.from=function(m,g){return i.isValid(m)?parseInt(m,10):g},e.getCapacity=function(m,g,h){if(!i.isValid(m))throw new Error("Invalid QR Code version");typeof h=="undefined"&&(h=o.BYTE);const p=t.getSymbolTotalCodewords(m),y=r.getTotalCodewordsCount(m,g),C=(p-y)*8;if(h===o.MIXED)return C;const S=C-d(h,m);switch(h){case o.NUMERIC:return Math.floor(S/10*3);case o.ALPHANUMERIC:return Math.floor(S/11*2);case o.KANJI:return Math.floor(S/13);case o.BYTE:default:return Math.floor(S/8)}},e.getBestVersionForData=function(m,g){let h;const p=n.from(g,n.M);if(Array.isArray(m)){if(m.length>1)return v(m,p);if(m.length===0)return 1;h=m[0]}else h=m;return l(h.mode,h.getLength(),p)},e.getEncodedBits=function(m){if(!i.isValid(m)||m<7)throw new Error("Invalid QR Code version");let g=m<<12;for(;t.getBCHDigit(g)-u>=0;)g^=s<<t.getBCHDigit(g)-u;return m<<12|g}})(bu);var Su={};const za=Ie,wu=1<<10|1<<8|1<<5|1<<4|1<<2|1<<1|1<<0,BE=1<<14|1<<12|1<<10|1<<4|1<<1,_u=za.getBCHDigit(wu);Su.getEncodedBits=function(t,r){const n=t.bit<<3|r;let o=n<<10;for(;za.getBCHDigit(o)-_u>=0;)o^=wu<<za.getBCHDigit(o)-_u;return(n<<10|o)^BE};var xu={};const FE=tt;function At(e){this.mode=FE.NUMERIC,this.data=e.toString()}At.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)};At.prototype.getLength=function(){return this.data.length};At.prototype.getBitsLength=function(){return At.getBitsLength(this.data.length)};At.prototype.write=function(t){let r,n,o;for(r=0;r+3<=this.data.length;r+=3)n=this.data.substr(r,3),o=parseInt(n,10),t.put(o,10);const i=this.data.length-r;i>0&&(n=this.data.substr(r),o=parseInt(n,10),t.put(o,i*3+1))};var RE=At;const DE=tt,ja=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function It(e){this.mode=DE.ALPHANUMERIC,this.data=e}It.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};It.prototype.getLength=function(){return this.data.length};It.prototype.getBitsLength=function(){return It.getBitsLength(this.data.length)};It.prototype.write=function(t){let r;for(r=0;r+2<=this.data.length;r+=2){let n=ja.indexOf(this.data[r])*45;n+=ja.indexOf(this.data[r+1]),t.put(n,11)}this.data.length%2&&t.put(ja.indexOf(this.data[r]),6)};var OE=It,UE=function(t){for(var r=[],n=t.length,o=0;o<n;o++){var i=t.charCodeAt(o);if(i>=55296&&i<=56319&&n>o+1){var s=t.charCodeAt(o+1);s>=56320&&s<=57343&&(i=(i-55296)*1024+s-56320+65536,o+=1)}if(i<128){r.push(i);continue}if(i<2048){r.push(i>>6|192),r.push(i&63|128);continue}if(i<55296||i>=57344&&i<65536){r.push(i>>12|224),r.push(i>>6&63|128),r.push(i&63|128);continue}if(i>=65536&&i<=1114111){r.push(i>>18|240),r.push(i>>12&63|128),r.push(i>>6&63|128),r.push(i&63|128);continue}r.push(239,191,189)}return new Uint8Array(r).buffer};const VE=UE,ME=tt;function $t(e){this.mode=ME.BYTE,this.data=new Uint8Array(VE(e))}$t.getBitsLength=function(t){return t*8};$t.prototype.getLength=function(){return this.data.length};$t.prototype.getBitsLength=function(){return $t.getBitsLength(this.data.length)};$t.prototype.write=function(e){for(let t=0,r=this.data.length;t<r;t++)e.put(this.data[t],8)};var LE=$t;const zE=tt,jE=Ie;function Tt(e){this.mode=zE.KANJI,this.data=e}Tt.getBitsLength=function(t){return t*13};Tt.prototype.getLength=function(){return this.data.length};Tt.prototype.getBitsLength=function(){return Tt.getBitsLength(this.data.length)};Tt.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let r=jE.toSJIS(this.data[t]);if(r>=33088&&r<=40956)r-=33088;else if(r>=57408&&r<=60351)r-=49472;else throw new Error("Invalid SJIS character: "+this.data[t]+`
119
+ Make sure your charset is UTF-8`);r=(r>>>8&255)*192+(r&255),e.put(r,13)}};var GE=Tt,Eu={exports:{}};(function(e){var t={single_source_shortest_paths:function(r,n,o){var i={},s={};s[n]=0;var u=t.PriorityQueue.make();u.push(n,0);for(var l,d,c,v,f,m,g,h,p;!u.empty();){l=u.pop(),d=l.value,v=l.cost,f=r[d]||{};for(c in f)f.hasOwnProperty(c)&&(m=f[c],g=v+m,h=s[c],p=typeof s[c]=="undefined",(p||h>g)&&(s[c]=g,u.push(c,g),i[c]=d))}if(typeof o!="undefined"&&typeof s[o]=="undefined"){var y=["Could not find a path from ",n," to ",o,"."].join("");throw new Error(y)}return i},extract_shortest_path_from_predecessor_list:function(r,n){for(var o=[],i=n;i;)o.push(i),i=r[i];return o.reverse(),o},find_path:function(r,n,o){var i=t.single_source_shortest_paths(r,n,o);return t.extract_shortest_path_from_predecessor_list(i,o)},PriorityQueue:{make:function(r){var n=t.PriorityQueue,o={},i;r=r||{};for(i in n)n.hasOwnProperty(i)&&(o[i]=n[i]);return o.queue=[],o.sorter=r.sorter||n.default_sorter,o},default_sorter:function(r,n){return r.cost-n.cost},push:function(r,n){var o={value:r,cost:n};this.queue.push(o),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t})(Eu);(function(e){const t=tt,r=RE,n=OE,o=LE,i=GE,s=Ge,u=Ie,l=Eu.exports;function d(y){return unescape(encodeURIComponent(y)).length}function c(y,C,S){const w=[];let x;for(;(x=y.exec(S))!==null;)w.push({data:x[0],index:x.index,mode:C,length:x[0].length});return w}function v(y){const C=c(s.NUMERIC,t.NUMERIC,y),S=c(s.ALPHANUMERIC,t.ALPHANUMERIC,y);let w,x;return u.isKanjiModeEnabled()?(w=c(s.BYTE,t.BYTE,y),x=c(s.KANJI,t.KANJI,y)):(w=c(s.BYTE_KANJI,t.BYTE,y),x=[]),C.concat(S,w,x).sort(function(E,I){return E.index-I.index}).map(function(E){return{data:E.data,mode:E.mode,length:E.length}})}function f(y,C){switch(C){case t.NUMERIC:return r.getBitsLength(y);case t.ALPHANUMERIC:return n.getBitsLength(y);case t.KANJI:return i.getBitsLength(y);case t.BYTE:return o.getBitsLength(y)}}function m(y){return y.reduce(function(C,S){const w=C.length-1>=0?C[C.length-1]:null;return w&&w.mode===S.mode?(C[C.length-1].data+=S.data,C):(C.push(S),C)},[])}function g(y){const C=[];for(let S=0;S<y.length;S++){const w=y[S];switch(w.mode){case t.NUMERIC:C.push([w,{data:w.data,mode:t.ALPHANUMERIC,length:w.length},{data:w.data,mode:t.BYTE,length:w.length}]);break;case t.ALPHANUMERIC:C.push([w,{data:w.data,mode:t.BYTE,length:w.length}]);break;case t.KANJI:C.push([w,{data:w.data,mode:t.BYTE,length:d(w.data)}]);break;case t.BYTE:C.push([{data:w.data,mode:t.BYTE,length:d(w.data)}])}}return C}function h(y,C){const S={},w={start:{}};let x=["start"];for(let A=0;A<y.length;A++){const E=y[A],I=[];for(let T=0;T<E.length;T++){const B=E[T],U=""+A+T;I.push(U),S[U]={node:B,lastCount:0},w[U]={};for(let O=0;O<x.length;O++){const L=x[O];S[L]&&S[L].node.mode===B.mode?(w[L][U]=f(S[L].lastCount+B.length,B.mode)-f(S[L].lastCount,B.mode),S[L].lastCount+=B.length):(S[L]&&(S[L].lastCount=B.length),w[L][U]=f(B.length,B.mode)+4+t.getCharCountIndicator(B.mode,C))}}x=I}for(let A=0;A<x.length;A++)w[x[A]].end=0;return{map:w,table:S}}function p(y,C){let S;const w=t.getBestModeForData(y);if(S=t.from(C,w),S!==t.BYTE&&S.bit<w.bit)throw new Error('"'+y+'" cannot be encoded with mode '+t.toString(S)+`.
120
+ Suggested mode is: `+t.toString(w));switch(S===t.KANJI&&!u.isKanjiModeEnabled()&&(S=t.BYTE),S){case t.NUMERIC:return new r(y);case t.ALPHANUMERIC:return new n(y);case t.KANJI:return new i(y);case t.BYTE:return new o(y)}}e.fromArray=function(C){return C.reduce(function(S,w){return typeof w=="string"?S.push(p(w,null)):w.data&&S.push(p(w.data,w.mode)),S},[])},e.fromString=function(C,S){const w=v(C,u.isKanjiModeEnabled()),x=g(w),A=h(x,S),E=l.find_path(A.map,"start","end"),I=[];for(let T=1;T<E.length-1;T++)I.push(A.table[E[T]].node);return e.fromArray(m(I))},e.rawSplit=function(C){return e.fromArray(v(C,u.isKanjiModeEnabled()))}})(xu);const sn=Ie,Ga=en,WE=xE,HE=EE,KE=vu,qE=pu,Wa=hu,Ha=tn,YE=IE,un=bu,ZE=Su,XE=tt,Ka=xu;function JE(e,t){const r=e.size,n=qE.getPositions(t);for(let o=0;o<n.length;o++){const i=n[o][0],s=n[o][1];for(let u=-1;u<=7;u++)if(!(i+u<=-1||r<=i+u))for(let l=-1;l<=7;l++)s+l<=-1||r<=s+l||(u>=0&&u<=6&&(l===0||l===6)||l>=0&&l<=6&&(u===0||u===6)||u>=2&&u<=4&&l>=2&&l<=4?e.set(i+u,s+l,!0,!0):e.set(i+u,s+l,!1,!0))}}function QE(e){const t=e.size;for(let r=8;r<t-8;r++){const n=r%2==0;e.set(r,6,n,!0),e.set(6,r,n,!0)}}function eA(e,t){const r=KE.getPositions(t);for(let n=0;n<r.length;n++){const o=r[n][0],i=r[n][1];for(let s=-2;s<=2;s++)for(let u=-2;u<=2;u++)s===-2||s===2||u===-2||u===2||s===0&&u===0?e.set(o+s,i+u,!0,!0):e.set(o+s,i+u,!1,!0)}}function tA(e,t){const r=e.size,n=un.getEncodedBits(t);let o,i,s;for(let u=0;u<18;u++)o=Math.floor(u/3),i=u%3+r-8-3,s=(n>>u&1)==1,e.set(o,i,s,!0),e.set(i,o,s,!0)}function qa(e,t,r){const n=e.size,o=ZE.getEncodedBits(t,r);let i,s;for(i=0;i<15;i++)s=(o>>i&1)==1,i<6?e.set(i,8,s,!0):i<8?e.set(i+1,8,s,!0):e.set(n-15+i,8,s,!0),i<8?e.set(8,n-i-1,s,!0):i<9?e.set(8,15-i-1+1,s,!0):e.set(8,15-i-1,s,!0);e.set(n-8,8,1,!0)}function rA(e,t){const r=e.size;let n=-1,o=r-1,i=7,s=0;for(let u=r-1;u>0;u-=2)for(u===6&&u--;;){for(let l=0;l<2;l++)if(!e.isReserved(o,u-l)){let d=!1;s<t.length&&(d=(t[s]>>>i&1)==1),e.set(o,u-l,d),i--,i===-1&&(s++,i=7)}if(o+=n,o<0||r<=o){o-=n,n=-n;break}}}function nA(e,t,r){const n=new WE;r.forEach(function(l){n.put(l.mode.bit,4),n.put(l.getLength(),XE.getCharCountIndicator(l.mode,e)),l.write(n)});const o=sn.getSymbolTotalCodewords(e),i=Ha.getTotalCodewordsCount(e,t),s=(o-i)*8;for(n.getLengthInBits()+4<=s&&n.put(0,4);n.getLengthInBits()%8!=0;)n.putBit(0);const u=(s-n.getLengthInBits())/8;for(let l=0;l<u;l++)n.put(l%2?17:236,8);return aA(n,e,t)}function aA(e,t,r){const n=sn.getSymbolTotalCodewords(t),o=Ha.getTotalCodewordsCount(t,r),i=n-o,s=Ha.getBlocksCount(t,r),u=n%s,l=s-u,d=Math.floor(n/s),c=Math.floor(i/s),v=c+1,f=d-c,m=new YE(f);let g=0;const h=new Array(s),p=new Array(s);let y=0;const C=new Uint8Array(e.buffer);for(let E=0;E<s;E++){const I=E<l?c:v;h[E]=C.slice(g,g+I),p[E]=m.encode(h[E]),g+=I,y=Math.max(y,I)}const S=new Uint8Array(n);let w=0,x,A;for(x=0;x<y;x++)for(A=0;A<s;A++)x<h[A].length&&(S[w++]=h[A][x]);for(x=0;x<f;x++)for(A=0;A<s;A++)S[w++]=p[A][x];return S}function oA(e,t,r,n){let o;if(Array.isArray(e))o=Ka.fromArray(e);else if(typeof e=="string"){let d=t;if(!d){const c=Ka.rawSplit(e);d=un.getBestVersionForData(c,r)}o=Ka.fromString(e,d||40)}else throw new Error("Invalid data");const i=un.getBestVersionForData(o,r);if(!i)throw new Error("The amount of data is too big to be stored in a QR Code");if(!t)t=i;else if(t<i)throw new Error(`
121
121
  The chosen QR Code version cannot contain this amount of data.
122
122
  Minimum version required to store current data is: `+i+`.
123
- `);const s=fx(t,r,o),l=rn.getSymbolSize(t),u=new tx(l);return sx(u,t),lx(u),ux(u,t),Ua(u,r,0),t>=7&&cx(u,t),dx(u,s),isNaN(a)&&(a=Ra.getBestMask(u,Ua.bind(null,u,r))),Ra.applyMask(a,u),Ua(u,r,a),{modules:u,version:t,errorCorrectionLevel:r,maskPattern:a,segments:o}}Ks.create=function(t,r){if(typeof t=="undefined"||t==="")throw new Error("No input text");let a=Da.M,o,i;return typeof r!="undefined"&&(a=Da.from(r.errorCorrectionLevel,Da.M),o=nn.from(r.version),i=Ra.from(r.maskPattern),r.toSJISFunc&&rn.setToSJISFunction(r.toSJISFunc)),px(t,o,a,i)};var ll={},Ma={};(function(e){function t(r){if(typeof r=="number"&&(r=r.toString()),typeof r!="string")throw new Error("Color should be defined as hex string");let a=r.slice().replace("#","").split("");if(a.length<3||a.length===5||a.length>8)throw new Error("Invalid hex color: "+r);(a.length===3||a.length===4)&&(a=Array.prototype.concat.apply([],a.map(function(i){return[i,i]}))),a.length===6&&a.push("F","F");const o=parseInt(a.join(""),16);return{r:o>>24&255,g:o>>16&255,b:o>>8&255,a:o&255,hex:"#"+a.slice(0,6).join("")}}e.getOptions=function(a){a||(a={}),a.color||(a.color={});const o=typeof a.margin=="undefined"||a.margin===null||a.margin<0?4:a.margin,i=a.width&&a.width>=21?a.width:void 0,s=a.scale||4;return{width:i,scale:i?4:s,margin:o,color:{dark:t(a.color.dark||"#000000ff"),light:t(a.color.light||"#ffffffff")},type:a.type,rendererOpts:a.rendererOpts||{}}},e.getScale=function(a,o){return o.width&&o.width>=a+o.margin*2?o.width/(a+o.margin*2):o.scale},e.getImageWidth=function(a,o){const i=e.getScale(a,o);return Math.floor((a+o.margin*2)*i)},e.qrToImageData=function(a,o,i){const s=o.modules.size,l=o.modules.data,u=e.getScale(s,i),d=Math.floor((s+i.margin*2)*u),c=i.margin*u,v=[i.color.light,i.color.dark];for(let f=0;f<d;f++)for(let p=0;p<d;p++){let m=(f*d+p)*4,y=i.color.light;if(f>=c&&p>=c&&f<d-c&&p<d-c){const C=Math.floor((f-c)/u),b=Math.floor((p-c)/u);y=v[l[C*s+b]?1:0]}a[m++]=y.r,a[m++]=y.g,a[m++]=y.b,a[m]=y.a}}})(Ma);(function(e){const t=Ma;function r(o,i,s){o.clearRect(0,0,i.width,i.height),i.style||(i.style={}),i.height=s,i.width=s,i.style.height=s+"px",i.style.width=s+"px"}function a(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}e.render=function(i,s,l){let u=l,d=s;typeof u=="undefined"&&(!s||!s.getContext)&&(u=s,s=void 0),s||(d=a()),u=t.getOptions(u);const c=t.getImageWidth(i.modules.size,u),v=d.getContext("2d"),f=v.createImageData(c,c);return t.qrToImageData(f.data,i,u),r(v,d,c),v.putImageData(f,0,0),d},e.renderToDataURL=function(i,s,l){let u=l;typeof u=="undefined"&&(!s||!s.getContext)&&(u=s,s=void 0),u||(u={});const d=e.render(i,s,u),c=u.type||"image/png",v=u.rendererOpts||{};return d.toDataURL(c,v.quality)}})(ll);var ul={};const mx=Ma;function cl(e,t){const r=e.a/255,a=t+'="'+e.hex+'"';return r<1?a+" "+t+'-opacity="'+r.toFixed(2).slice(1)+'"':a}function za(e,t,r){let a=e+t;return typeof r!="undefined"&&(a+=" "+r),a}function hx(e,t,r){let a="",o=0,i=!1,s=0;for(let l=0;l<e.length;l++){const u=Math.floor(l%t),d=Math.floor(l/t);!u&&!i&&(i=!0),e[l]?(s++,l>0&&u>0&&e[l-1]||(a+=i?za("M",u+r,.5+d+r):za("m",o,0),o=0,i=!1),u+1<t&&e[l+1]||(a+=za("h",s),s=0)):o++}return a}ul.render=function(t,r,a){const o=mx.getOptions(r),i=t.modules.size,s=t.modules.data,l=i+o.margin*2,u=o.color.light.a?"<path "+cl(o.color.light,"fill")+' d="M0 0h'+l+"v"+l+'H0z"/>':"",d="<path "+cl(o.color.dark,"stroke")+' d="'+hx(s,i,o.margin)+'"/>',c='viewBox="0 0 '+l+" "+l+'"',v=o.width?'width="'+o.width+'" height="'+o.width+'" ':"",f='<svg xmlns="http://www.w3.org/2000/svg" '+v+c+' shape-rendering="crispEdges">'+u+d+`</svg>
124
- `;return typeof a=="function"&&a(null,f),f};const gx=T2,La=Ks,dl=ll,yx=ul;function ja(e,t,r,a,o){const i=[].slice.call(arguments,1),s=i.length,l=typeof i[s-1]=="function";if(!l&&!gx())throw new Error("Callback required as last argument");if(l){if(s<2)throw new Error("Too few arguments provided");s===2?(o=r,r=t,t=a=void 0):s===3&&(t.getContext&&typeof o=="undefined"?(o=a,a=void 0):(o=a,a=r,r=t,t=void 0))}else{if(s<1)throw new Error("Too few arguments provided");return s===1?(r=t,t=a=void 0):s===2&&!t.getContext&&(a=r,r=t,t=void 0),new Promise(function(u,d){try{const c=La.create(r,a);u(e(c,t,a))}catch(c){d(c)}})}try{const u=La.create(r,a);o(null,e(u,t,a))}catch(u){o(u)}}tr.create=La.create;tr.toCanvas=ja.bind(null,dl.render);tr.toDataURL=ja.bind(null,dl.renderToDataURL);tr.toString=ja.bind(null,function(e,t,r){return yx.render(e,r)});const bx={key:0},Cx=n.createTextVNode(" Setup TOTP "),wx=["src"],Sx={"data-amplify-copy-tooltip":""},_x=n.createElementVNode("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[n.createElementVNode("path",{d:"M16 1H4C2.9 1 2 1.9 2 3V17H4V3H16V1ZM15 5H8C6.9 5 6.01 5.9 6.01 7L6 21C6 22.1 6.89 23 7.99 23H19C20.1 23 21 22.1 21 21V11L15 5ZM8 21V7H14V12H19V21H8Z"})],-1),xx=n.defineComponent({emits:["confirmSetupTOTPSubmit","backToSignInClicked"],setup(e,{emit:t}){var x,$,F;const a=Oe(De)(),o=n.useAttrs(),{state:i,send:s}=Ne(),{value:{context:l}}=i,u=($=(x=l==null?void 0:l.config)==null?void 0:x.formFields)==null?void 0:$.setupTOTP,d=u==null?void 0:u.QR,c=u==null?void 0:u.confirmation_code,v=n.computed(()=>Me(i.value));let f=n.reactive({qrCodeImageSource:"",isLoading:!0}),p=n.ref(""),m=n.ref(T("COPY"));function y(){navigator.clipboard.writeText(p.value),m.value=T("COPIED")}n.onMounted(async()=>{var U,L;const R=new me.Logger("SetupTOTP-logger"),{user:B}=v.value.context;if(!!B)try{p.value=await me.Auth.setupTOTP(B);const j=(U=d==null?void 0:d.totpIssuer)!=null?U:"AWSCognito",z=(L=d==null?void 0:d.totpUsername)!=null?L:B.username,Y=`otpauth://totp/${j}:${z}?secret=${p.value}&issuer=${j}`;f.qrCodeImageSource=await tr.toDataURL(Y)}catch(j){R.error(j)}finally{f.isLoading=!1}});const C=n.computed(()=>T("Back to Sign In")),b=n.computed(()=>T("Confirm")),g=n.computed(()=>T("Code")),w=(F=c==null?void 0:c.label)!=null?F:T("Code *"),_=c==null?void 0:c.labelHidden,E=R=>{const{name:B,value:U}=R.target;s({type:"CHANGE",data:{name:B,value:U}})},k=R=>{(o==null?void 0:o.onConfirmSetupTOTPSubmit)?t("confirmSetupTOTPSubmit",R):S(R)},S=R=>{a.submitForm(Qe(R))},I=()=>{(o==null?void 0:o.onBackToSignInClicked)?t("backToSignInClicked"):s({type:"SIGN_IN"})};return(R,B)=>{const U=st,L=Ee,j=Ge,z=He,Y=Ke,H=$e,Z=Ye,oe=We,ae=qe;return n.renderSlot(R.$slots,"confirmSetupTOTPI",n.normalizeProps(n.guardReactiveProps(R.$attrs)),()=>[n.createVNode(L,n.normalizeProps(n.guardReactiveProps(R.$attrs)),{default:n.withCtx(()=>[n.createVNode(ae,{"data-amplify-authenticator-setup-totp":"",onInput:E,onSubmit:n.withModifiers(k,["prevent"])},{default:n.withCtx(()=>[n.createVNode(oe,{class:"amplify-flex",style:{"flex-direction":"column"},disabled:n.unref(v).matches("confirmSignIn.pending")},{default:n.withCtx(()=>[n.unref(f).isLoading?(n.openBlock(),n.createElementBlock("p",bx,"Loading...")):(n.openBlock(),n.createBlock(L,{key:1,class:"amplify-flex",style:{"flex-direction":"column"}},{default:n.withCtx(()=>[n.renderSlot(R.$slots,"header",{},()=>[n.createVNode(U,{class:"amplify-heading",level:3},{default:n.withCtx(()=>[Cx]),_:1})]),n.createVNode(L,{class:"amplify-flex",style:{"flex-direction":"column"}},{default:n.withCtx(()=>[n.createElementVNode("img",{class:"amplify-image","data-amplify-qrcode":"",src:n.unref(f).qrCodeImageSource,alt:"qr code",width:"228",height:"228"},null,8,wx),n.createVNode(L,{class:"amplify-flex","data-amplify-copy":""},{default:n.withCtx(()=>[n.createElementVNode("div",null,n.toDisplayString(n.unref(p)),1),n.createVNode(L,{"data-amplify-copy-svg":"",onClick:y},{default:n.withCtx(()=>[n.createElementVNode("div",Sx,n.toDisplayString(n.unref(m)),1),_x]),_:1})]),_:1}),n.createVNode(L,{class:"amplify-flex amplify-field amplify-textfield",style:{"flex-direction":"column"}},{default:n.withCtx(()=>{var te;return[n.createVNode(j,{class:n.normalizeClass(["amplify-label",{"amplify-visually-hidden":(te=n.unref(_))!=null?te:!0}]),for:"amplify-field-45d1"},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(w)),1)]),_:1},8,["class"]),n.createVNode(L,{class:"amplify-flex"},{default:n.withCtx(()=>{var ve,pe,P,ce;return[n.createVNode(z,{placeholder:(pe=(ve=n.unref(c))==null?void 0:ve.placeholder)!=null?pe:n.unref(g),required:(ce=(P=n.unref(c))==null?void 0:P.required)!=null?ce:!0,class:"amplify-input amplify-field-group__control",id:"amplify-field-45d1","aria-invalid":"false",name:"confirmation_code",autocomplete:"one-time-code",type:"number"},null,8,["placeholder","required"])]}),_:1})]}),_:1})]),_:1}),n.createVNode(Z,{class:"amplify-flex",style:{"flex-direction":"column"}},{default:n.withCtx(()=>{var te;return[((te=n.unref(v).context)==null?void 0:te.remoteError)?(n.openBlock(),n.createBlock(Y,{key:0},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(T)(n.unref(v).context.remoteError)),1)]),_:1})):n.createCommentVNode("",!0),n.createVNode(H,{class:"amplify-field-group__control","data-fullwidth":"false","data-loading":"false","data-variation":"primary",type:"submit",style:{"font-weight":"normal"},disabled:n.unref(v).matches("confirmSignIn.pending")},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(b)),1)]),_:1},8,["disabled"]),n.createVNode(H,{class:"amplify-field-group__control","data-fullwidth":"false","data-size":"small","data-variation":"link",style:{"font-weight":"normal"},type:"button",onClick:n.withModifiers(I,["prevent"])},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(C)),1)]),_:1},8,["onClick"]),n.renderSlot(R.$slots,"footer",{onBackToSignInClicked:I,onSetupTOTPSubmit:k})]}),_:3})]),_:3}))]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),Ex={},Ax={"data-amplify-box":""};function Ix(e,t){return n.openBlock(),n.createElementBlock("div",Ax,[n.renderSlot(e.$slots,"default")])}var fl=zt(Ex,[["render",Ix]]);const Ga=n.defineComponent({setup(e){var l,u;const{state:t}=Ne(),r=n.computed(()=>Me(t.value)),a=n.computed(()=>ke),{value:{context:o}}=t,i=(u=(l=o==null?void 0:o.config)==null?void 0:l.formFields)==null?void 0:u.forceNewPassword;let s=r.value.context.requiredAttributes;return s=s==null?void 0:s.filter(d=>{const c=!!ke[d];return c||console.debug(`Authenticator does not have a default implementation for ${d}. Customize the authenticator force-new-password-fields slot to add your own.`),c}),(d,c)=>(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(n.unref(s),(v,f)=>{var p,m,y,C,b,g,w,_,E,k,S,I,x,$;return n.openBlock(),n.createBlock(Hs,{key:f,label:n.unref(T)((y=(m=(p=n.unref(i))==null?void 0:p[v])==null?void 0:m.label)!=null?y:n.unref(a)[v].label),"label-hidden":(b=(C=n.unref(i))==null?void 0:C[v])==null?void 0:b.labelHidden,required:(w=(g=n.unref(i))==null?void 0:g[v])==null?void 0:w.required,name:v,placeholder:n.unref(T)((k=(E=(_=n.unref(i))==null?void 0:_[v])==null?void 0:E.placeholder)!=null?k:n.unref(a)[v].label),dialCode:(I=(S=n.unref(i))==null?void 0:S[v])==null?void 0:I.dialCode,dialCodeList:($=(x=n.unref(i))==null?void 0:x[v])==null?void 0:$.dialCodeList},null,8,["label","label-hidden","required","name","placeholder","dialCode","dialCodeList"])}),128))}}),Ha=n.defineComponent({emits:["haveAccountClicked","forceNewPasswordSubmit"],setup(e,{emit:t}){var E,k;const r=n.useAttrs(),{state:a,send:o}=Ne(),{value:{context:i}}=a,s=(k=(E=i==null?void 0:i.config)==null?void 0:E.formFields)==null?void 0:k.forceNewPassword,u=Oe(De)(),d=n.computed(()=>Me(a.value)),c=n.computed(()=>er(a.value)),v=n.computed(()=>T("Change Password")),f=n.computed(()=>T("Changing")),p=n.computed(()=>T("Back to Sign In")),m=n.computed(()=>T("Password")),y=n.computed(()=>T("Confirm Password")),C=()=>{(r==null?void 0:r.onHaveAccountClicked)?t("haveAccountClicked"):o({type:"SIGN_IN"})},b=S=>{(r==null?void 0:r.onForceNewPasswordSubmit)?t("forceNewPasswordSubmit",S):g(S)},g=S=>{u.submitForm(Qe(S))},w=S=>{const{name:I,value:x}=S.target;o({type:"CHANGE",data:{name:I,value:x}})};function _(S){const{name:I}=S.target;u.updateBlur({name:I})}return(S,I)=>{const x=st,$=Ee,F=fl,R=Ke,B=$e,U=Ye,L=We,j=qe;return n.renderSlot(S.$slots,"forceNewPasswordI",n.normalizeProps(n.guardReactiveProps(S.$attrs)),()=>[n.createVNode($,n.normalizeProps(n.guardReactiveProps(S.$attrs)),{default:n.withCtx(()=>[n.createVNode(j,{"data-amplify-authenticator-forcenewpassword":"",onInput:w,onSubmit:n.withModifiers(b,["prevent"])},{default:n.withCtx(()=>[n.createVNode(L,{class:"amplify-flex",style:{"flex-direction":"column"},disabled:n.unref(d).matches("forceNewPassword.pending")},{default:n.withCtx(()=>[n.renderSlot(S.$slots,"header",{},()=>[n.createVNode(x,{level:3,class:"amplify-heading"},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(v)),1)]),_:1})]),n.createVNode($,{class:"amplify-flex",style:{"flex-direction":"column"}},{default:n.withCtx(()=>[n.createVNode(at,n.mergeProps(n.unref(vt)("password",n.unref(m),n.unref(s),!0),{name:"password",autocomplete:"new-password",ariainvalid:!!n.unref(c).validationError.confirm_password,onBlur:_}),null,16,["ariainvalid"]),n.createVNode(at,n.mergeProps(n.unref(vt)("confirm_password",n.unref(y),n.unref(s),!0),{name:"confirm_password",autocomplete:"new-password",ariainvalid:!!n.unref(c).validationError.confirm_password,onBlur:_}),null,16,["ariainvalid"]),n.renderSlot(S.$slots,"force-new-password-form-fields",{},()=>[n.createVNode(Ga)])]),_:3}),n.createVNode(U,{class:"amplify-flex",style:{"flex-direction":"column"}},{default:n.withCtx(()=>[n.unref(c).validationError.confirm_password?(n.openBlock(),n.createBlock(F,{key:0,"data-ui-error":"",role:"alert","data-variation":"error",class:"amplify-text"},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(T)(n.unref(c).validationError.confirm_password)),1)]),_:1})):n.createCommentVNode("",!0),n.unref(d).context.remoteError?(n.openBlock(),n.createBlock(R,{key:1,"data-ui-error":""},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(T)(n.unref(d).context.remoteError)),1)]),_:1})):n.createCommentVNode("",!0),n.createVNode(B,{class:"amplify-field-group__control","data-fullwidth":"false","data-loading":"false","data-variation":"primary",style:{"font-weight":"normal"},disabled:n.unref(d).matches("signUp.submit")},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(d).matches("forceNewPassword.pending")?n.unref(f)+"\u2026":n.unref(v)),1)]),_:1},8,["disabled"]),n.createVNode(B,{class:"amplify-field-group__control","data-fullwidth":"false","data-size":"small","data-variation":"link",style:{"font-weight":"normal"},type:"button",onClick:n.withModifiers(C,["prevent"])},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(p)),1)]),_:1},8,["onClick"]),n.renderSlot(S.$slots,"footer",{onHaveAccountClicked:C,onForceNewPasswordSubmit:b})]),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),Wa=n.defineComponent({emits:["resetPasswordSubmit","backToSignInClicked"],setup(e,{emit:t}){var S,I,x,$;const r=n.useAttrs(),a=Oe(De),{state:o,send:i,submitForm:s}=a(),{error:l,isPending:u}=n.toRefs(a()),d=(x=(I=(S=o.context)==null?void 0:S.config)==null?void 0:I.formFields)==null?void 0:x.resetPassword,c=d==null?void 0:d.username,{label:v}=Ts(o.context),f=`Enter your ${v.toLowerCase()}`,p=n.computed(()=>T("Back to Sign In")),m=n.computed(()=>T("Reset your password")),y=n.computed(()=>T("Send Code")),C=n.computed(()=>T(f)),b=($=c==null?void 0:c.label)!=null?$:f,g=c==null?void 0:c.labelHidden,w=F=>{(r==null?void 0:r.onResetPasswordSubmit)?t("resetPasswordSubmit",F):_(F)},_=F=>{s(Qe(F))},E=F=>{const{name:R,value:B}=F.target;i({type:"CHANGE",data:{name:R,value:B}})},k=()=>{(r==null?void 0:r.onBackToSignInClicked)?t("backToSignInClicked"):i({type:"SIGN_IN"})};return(F,R)=>{const B=st,U=Ge,L=He,j=Ee,z=We,Y=Ke,H=$e,Z=Ye,oe=qe;return n.renderSlot(F.$slots,"resetPasswordSlotI",n.normalizeProps(n.guardReactiveProps(F.$attrs)),()=>[n.createVNode(oe,n.mergeProps(F.$attrs,{"data-amplify-authenticator-resetpassword":"",onInput:E,onSubmit:n.withModifiers(w,["prevent"])}),{default:n.withCtx(()=>[n.createVNode(j,{class:"amplify-flex",style:{"flex-direction":"column"}},{default:n.withCtx(()=>[n.renderSlot(F.$slots,"header",{},()=>[n.createVNode(B,{class:"amplify-heading",level:3},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(m)),1)]),_:1})]),n.createVNode(z,{class:"amplify-flex",style:{"flex-direction":"column"},disabled:n.unref(u)},{default:n.withCtx(()=>[n.createVNode(j,{class:"amplify-flex amplify-field amplify-textfield",style:{"flex-direction":"column"}},{default:n.withCtx(()=>{var ae;return[n.createVNode(U,{class:n.normalizeClass(["amplify-label",{"amplify-visually-hidden":(ae=n.unref(g))!=null?ae:!0}]),for:"amplify-field-7dce"},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(b)),1)]),_:1},8,["class"]),n.createVNode(j,{class:"amplify-flex"},{default:n.withCtx(()=>{var te,ve,pe,P;return[n.createVNode(L,{placeholder:(ve=(te=n.unref(c))==null?void 0:te.placeholder)!=null?ve:n.unref(C),required:(P=(pe=n.unref(c))==null?void 0:pe.required)!=null?P:!0,class:"amplify-input amplify-field-group__control",id:"amplify-field-7dce","aria-invalid":"false",name:"username",autocomplete:"username",type:"username"},null,8,["placeholder","required"])]}),_:1})]}),_:1})]),_:1},8,["disabled"]),n.createVNode(Z,{class:"amplify-flex",style:{"flex-direction":"column","align-items":"unset"}},{default:n.withCtx(()=>[n.unref(l)?(n.openBlock(),n.createBlock(Y,{key:0},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(T)(n.unref(l))),1)]),_:1})):n.createCommentVNode("",!0),n.createVNode(H,{class:"amplify-field-group__control","data-fullwidth":"false","data-variation":"primary",type:"submit",style:{"font-weight":"normal"},disabled:n.unref(u)},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(y)),1)]),_:1},8,["disabled"]),n.createVNode(H,{class:"amplify-field-group__control","data-fullwidth":"false","data-size":"small","data-variation":"link",style:{"font-weight":"normal"},type:"button",onClick:n.withModifiers(k,["prevent"])},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(p)),1)]),_:1},8,["onClick"]),n.renderSlot(F.$slots,"footer",{onBackToSignInClicked:k,onResetPasswordSubmit:w})]),_:3})]),_:3})]),_:3},16,["onSubmit"])])}}}),Ka=n.defineComponent({emits:["confirmResetPasswordSubmit","backToSignInClicked"],setup(e,{emit:t}){var $,F,R;const{state:r,send:a}=Ne(),{value:{context:o}}=r,i=(F=($=o==null?void 0:o.config)==null?void 0:$.formFields)==null?void 0:F.confirmResetPassword,s=i==null?void 0:i.confirmation_code,u=Oe(De)(),d=n.useAttrs(),c=n.computed(()=>Me(r.value)),v=n.computed(()=>er(r.value)),f=n.computed(()=>T("Resend Code")),p=n.computed(()=>T("Confirmation Code")),m=n.computed(()=>T("Reset your Password")),y=n.computed(()=>T("Submit")),C=n.computed(()=>T("Code")),b=n.computed(()=>T("New password")),g=n.computed(()=>T("Confirm Password")),w=(R=s==null?void 0:s.label)!=null?R:p,_=s==null?void 0:s.labelHidden,E=B=>{(d==null?void 0:d.onConfirmResetPasswordSubmit)?t("confirmResetPasswordSubmit",B):k(B)},k=B=>{u.submitForm(Qe(B))},S=()=>{a({type:"RESEND"})},I=B=>{const{name:U,value:L}=B.target;a({type:"CHANGE",data:{name:U,value:L}})};function x(B){const{name:U}=B.target;u.updateBlur({name:U})}return(B,U)=>{const L=st,j=Ge,z=He,Y=Ee,H=fl,Z=Ke,oe=$e,ae=Ye,te=We,ve=qe;return n.renderSlot(B.$slots,"confirmResetPasswordSlotI",n.normalizeProps(n.guardReactiveProps(B.$attrs)),()=>[n.createVNode(Y,n.normalizeProps(n.guardReactiveProps(B.$attrs)),{default:n.withCtx(()=>[n.createVNode(ve,{"data-amplify-authenticator-confirmResetpassword":"",onInput:I,onSubmit:n.withModifiers(E,["prevent"])},{default:n.withCtx(()=>[n.createVNode(te,{class:"amplify-flex",style:{"flex-direction":"column"},disabled:n.unref(c).matches("confirmResetPassword.pending")},{default:n.withCtx(()=>[n.renderSlot(B.$slots,"header",{},()=>[n.createVNode(L,{class:"amplify-heading",level:3},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(m)),1)]),_:1})]),n.createVNode(Y,{class:"amplify-flex",style:{"flex-direction":"column"}},{default:n.withCtx(()=>{var pe,P;return[n.createVNode(Y,{class:"amplify-flex amplify-field amplify-textfield",style:{"flex-direction":"column"}},{default:n.withCtx(()=>{var ce;return[n.createVNode(j,{class:n.normalizeClass(["amplify-label",{"amplify-visually-hidden":(ce=n.unref(_))!=null?ce:!0}]),for:"amplify-field-d653"},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(w)),1)]),_:1},8,["class"]),n.createVNode(Y,{class:"amplify-flex"},{default:n.withCtx(()=>{var xe,Te,Fe,h;return[n.createVNode(z,{placeholder:(Te=(xe=n.unref(s))==null?void 0:xe.placeholder)!=null?Te:n.unref(C),required:(h=(Fe=n.unref(s))==null?void 0:Fe.required)!=null?h:!0,class:"amplify-input amplify-field-group__control",id:"amplify-field-d653","aria-invalid":"false",autocomplete:"one-time-code",name:"confirmation_code",type:"number"},null,8,["placeholder","required"])]}),_:1})]}),_:1}),n.createVNode(at,n.mergeProps(n.unref(vt)("password",n.unref(b),n.unref(i),!0),{name:"password",autocomplete:"current-password",ariainvalid:!!((pe=n.unref(v).validationError)==null?void 0:pe.confirm_password),onBlur:x}),null,16,["ariainvalid"]),n.createVNode(at,n.mergeProps(n.unref(vt)("confirm_password",n.unref(g),n.unref(i),!0),{name:"confirm_password",autocomplete:"new-password",ariainvalid:!!((P=n.unref(v).validationError)==null?void 0:P.confirm_password),onBlur:x}),null,16,["ariainvalid"])]}),_:1}),n.createVNode(ae,{class:"amplify-flex",style:{"flex-direction":"column"}},{default:n.withCtx(()=>{var pe,P,ce;return[((pe=n.unref(v).validationError)==null?void 0:pe.confirm_password)?(n.openBlock(),n.createBlock(H,{key:0,"data-ui-error":"","data-variation":"error",role:"alert",class:"amplify-text"},{default:n.withCtx(()=>{var xe;return[n.createTextVNode(n.toDisplayString(n.unref(T)((xe=n.unref(v).validationError)==null?void 0:xe.confirm_password)),1)]}),_:1})):n.createCommentVNode("",!0),((ce=(P=n.unref(c))==null?void 0:P.context)==null?void 0:ce.remoteError)?(n.openBlock(),n.createBlock(Z,{key:1},{default:n.withCtx(()=>{var xe,Te;return[n.createTextVNode(n.toDisplayString(n.unref(T)((Te=(xe=n.unref(c))==null?void 0:xe.context)==null?void 0:Te.remoteError)),1)]}),_:1})):n.createCommentVNode("",!0),n.createVNode(oe,{class:"amplify-field-group__control","data-fullwidth":"false","data-variation":"primary",type:"submit",style:{"font-weight":"normal"},disabled:n.unref(c).matches("confirmResetPassword.pending")},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(y)),1)]),_:1},8,["disabled"]),n.createVNode(oe,{class:"amplify-field-group__control","data-fullwidth":"false","data-size":"small","data-variation":"link",type:"button",onClick:n.withModifiers(S,["prevent"]),style:{"font-weight":"normal"}},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(f)),1)]),_:1},8,["onClick"]),n.renderSlot(B.$slots,"footer",{onConfirmResetPasswordSubmit:E,onLostYourCodeClicked:S})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),qa=n.defineComponent({emits:["verifyUserSubmit","skipClicked"],setup(e,{emit:t}){const a=Oe(De)(),o=n.useAttrs(),{state:i,send:s}=Ne(),l=n.computed(()=>Me(i.value)),u=l.value.context.unverifiedAttributes,d=n.computed(()=>T("Account recovery requires verified contact information")),c=n.computed(()=>T("Skip")),v=n.computed(()=>T("Verify")),f=n.computed(()=>T("Verify Contact")),p=b=>{const{name:g,value:w}=b.target;s({type:"CHANGE",data:{name:g,value:w}})},m=b=>{(o==null?void 0:o.onVerifyUserSubmit)?t("verifyUserSubmit",b):y(b)},y=b=>{a.submitForm(Qe(b))},C=()=>{(o==null?void 0:o.onSkipClicked)?t("skipClicked"):s("SKIP")};return(b,g)=>{const w=st,_=Ge,E=He,k=Ws,S=Ee,I=Ke,x=$e,$=Ye,F=We,R=qe;return n.renderSlot(b.$slots,"verifyUserSlotI",{},()=>[n.createVNode(S,null,{default:n.withCtx(()=>[n.createVNode(R,{onInput:p,onSubmit:n.withModifiers(m,["prevent"])},{default:n.withCtx(()=>[n.createVNode(F,{disabled:n.unref(l).matches("verifyUser.pending"),class:"amplify-flex",style:{"flex-direction":"column"}},{default:n.withCtx(()=>[n.renderSlot(b.$slots,"header",{},()=>[n.createVNode(w,{class:"amplify-heading",level:3},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(d)),1)]),_:1})]),n.createVNode(S,{class:"amplify-flex amplify-field amplify-radiogroupfield",style:{"flex-direction":"column"}},{default:n.withCtx(()=>[n.createVNode(_,{class:"amplify-visually-hidden amplify-label",id:"amplify-field-493c"},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(f)),1)]),_:1}),n.createVNode(S,{class:"amplify-flex amplify-field amplify-radiogroupfield",style:{"flex-direction":"column"},"aria-labelledby":"amplify-field-493c"},{default:n.withCtx(()=>[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(n.unref(u),(B,U)=>(n.openBlock(),n.createBlock(_,{class:"amplify-flex amplify-radio","data-amplify-verify-label":"",id:"verify",key:B},{default:n.withCtx(()=>[n.createVNode(E,{class:"amplify-input amplify-field-group__control amplify-visually-hidden amplify-radio__input","aria-invalid":"false","data-amplify-verify-input":"",id:"verify",name:"unverifiedAttr",type:"radio",value:U},null,8,["value"]),n.createVNode(k,{class:"amplify-flex amplify-radio__button","aria-hidden":"true"}),n.createVNode(k,{class:"amplify-text amplify-radio__label"},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(ke)[U].label),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1}),n.createVNode($,{class:"amplify-flex",style:{"flex-direction":"column"}},{default:n.withCtx(()=>{var B,U;return[((U=(B=n.unref(l))==null?void 0:B.context)==null?void 0:U.remoteError)?(n.openBlock(),n.createBlock(I,{key:0},{default:n.withCtx(()=>{var L;return[n.createTextVNode(n.toDisplayString(n.unref(T)((L=n.unref(l))==null?void 0:L.context.remoteError)),1)]}),_:1})):n.createCommentVNode("",!0),n.createVNode(x,{class:"amplify-field-group__control","data-fullwidth":"false","data-variation":"primary",type:"submit",style:{"font-weight":"normal"},disabled:n.unref(l).matches("verifyUser.pending")},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(v)),1)]),_:1},8,["disabled"]),n.createVNode(x,{class:"amplify-field-group__control","data-fullwidth":"false","data-size":"small","data-variation":"link",style:{"font-weight":"normal"},type:"button",onClick:n.withModifiers(C,["prevent"])},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(c)),1)]),_:1},8,["onClick"]),n.renderSlot(b.$slots,"footer",{onSkipClicked:C,onVerifyUserSubmit:m})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3})])}}}),Ya=n.defineComponent({emits:["confirmVerifyUserSubmit","skipClicked"],setup(e,{emit:t}){var k,S,I;const a=Oe(De)(),o=n.useAttrs(),{state:i,send:s}=Ne(),{value:{context:l}}=i,u=(S=(k=l==null?void 0:l.config)==null?void 0:k.formFields)==null?void 0:S.confirmVerifyUser,d=u==null?void 0:u.confirmation_code,c=n.computed(()=>Me(i.value)),v=n.computed(()=>T("Account recovery requires verified contact information")),f=n.computed(()=>T("Skip"));n.computed(()=>T("Verify"));const p=n.computed(()=>T("Confirmation Code")),m=n.computed(()=>T("Code")),y=n.computed(()=>T("Submit")),C=(I=d==null?void 0:d.label)!=null?I:p.value,b=d==null?void 0:d.labelHidden,g=x=>{const{name:$,value:F}=x.target;s({type:"CHANGE",data:{name:$,value:F}})},w=x=>{(o==null?void 0:o.onConfirmVerifyUserSubmit)?t("confirmVerifyUserSubmit",x):_(x)},_=x=>{a.submitForm(Qe(x))},E=()=>{(o==null?void 0:o.onSkipClicked)?t("skipClicked"):s({type:"SKIP"})};return(x,$)=>{const F=st,R=Ge,B=He,U=Ee,L=Ke,j=$e,z=Ye,Y=We,H=qe;return n.renderSlot(x.$slots,"confirmVerifyUserSlotI",n.normalizeProps(n.guardReactiveProps(x.$attrs)),()=>[n.createVNode(U,n.normalizeProps(n.guardReactiveProps(x.$attrs)),{default:n.withCtx(()=>[n.createVNode(H,{onInput:g,onSubmit:n.withModifiers(w,["prevent"])},{default:n.withCtx(()=>[n.createVNode(Y,{class:"amplify-flex",style:{"flex-direction":"column"},disabled:n.unref(c).matches("confirmVerifyUser.pending")},{default:n.withCtx(()=>[n.renderSlot(x.$slots,"header",{},()=>[n.createVNode(F,{level:3,class:"amplify-heading"},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(v)),1)]),_:1})]),n.createVNode(U,{class:"amplify-flex",style:{"flex-direction":"column"}},{default:n.withCtx(()=>[n.createVNode(U,{class:"amplify-flex amplify-field amplify-textfield",style:{"flex-direction":"column"}},{default:n.withCtx(()=>{var Z;return[n.createVNode(R,{class:n.normalizeClass(["amplify-label",{"amplify-visually-hidden":(Z=n.unref(b))!=null?Z:!0}]),for:"amplify-field-c34b"},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(C)),1)]),_:1},8,["class"]),n.createVNode(U,{class:"amplify-flex"},{default:n.withCtx(()=>{var oe,ae,te,ve;return[n.createVNode(B,{placeholder:(ae=(oe=n.unref(d))==null?void 0:oe.placeholder)!=null?ae:n.unref(m),required:(ve=(te=n.unref(d))==null?void 0:te.required)!=null?ve:!0,class:"amplify-input amplify-field-group__control",id:"amplify-field-c34b","aria-invalid":"false",autocomplete:"one-time-code",name:"confirmation_code",type:"number"},null,8,["placeholder","required"])]}),_:1})]}),_:1})]),_:1}),n.createVNode(z,{class:"amplify-flex",style:{"flex-direction":"column"}},{default:n.withCtx(()=>{var Z,oe;return[((oe=(Z=n.unref(c))==null?void 0:Z.context)==null?void 0:oe.remoteError)?(n.openBlock(),n.createBlock(L,{key:0},{default:n.withCtx(()=>{var ae;return[n.createTextVNode(n.toDisplayString(n.unref(T)((ae=n.unref(c))==null?void 0:ae.context.remoteError)),1)]}),_:1})):n.createCommentVNode("",!0),n.createVNode(j,{class:"amplify-field-group__control","data-fullwidth":"false","data-variation":"primary",type:"submit",style:{"font-weight":"normal"},disabled:n.unref(c).matches("confirmVerifyUser.pending")},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(y)),1)]),_:1},8,["disabled"]),n.createVNode(j,{class:"amplify-field-group__control","data-fullwidth":"false","data-size":"small","data-variation":"link",style:{"font-weight":"normal"},type:"button",onClick:n.withModifiers(E,["prevent"])},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(f)),1)]),_:1},8,["onClick"]),n.renderSlot(x.$slots,"footer",{onSkipClicked:E,onConfirmVerifyUserSubmit:w})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),kx={"data-amplify-container":""},Px=["data-amplify-router-content"],Nx={key:1,"data-amplify-router-content":""},vl=n.defineComponent({props:{hideSignUp:{type:Boolean},initialState:null,loginMechanisms:null,services:null,signUpAttributes:null,variation:{default:"default"},socialProviders:null,formFields:null},emits:["signInSubmit","confirmSignUpSubmit","resetPasswordSubmit","confirmResetPasswordSubmit","confirmSignInSubmit","mSetupTOTPSubmit","forceNewPasswordSubmit","signUpSubmit","verifyUserSubmit","confirmVerifyUserSubmit"],setup(e,{emit:t}){const{initialState:r,loginMechanisms:a,variation:o,services:i,signUpAttributes:s,socialProviders:l,hideSignUp:u,formFields:d}=e,c=n.useAttrs(),v=C3(),f=o2(v);let p;const{state:m,send:y}=js(f);Ne(f),n.onMounted(()=>{p=x_(y),y({type:"INIT",data:{initialState:r,loginMechanisms:a,socialProviders:l,signUpAttributes:s,services:i,formFields:d}})}),n.onUnmounted(()=>{p&&p()});const C=n.computed(()=>Me(m.value)),b=n.ref(),g=n.ref(),w=n.ref(),_=n.ref(),E=n.ref(),k=n.ref(),S=n.ref(),I=n.ref(),x=n.ref(),$=n.ref(),F=n.computed(()=>T("Create Account")),R=n.computed(()=>T("Sign In")),B=P=>{var ce;(c==null?void 0:c.onSignInSubmit)?t("signInSubmit",P):(ce=b.value)==null||ce.submit(P)},U=P=>{(c==null?void 0:c.onConfirmSignUpSubmit)?t("confirmSignUpSubmit",P):w.value.submit(P)},L=P=>{(c==null?void 0:c.onResetPasswordSubmit)?t("resetPasswordSubmit",P):S.value.submit(P)},j=P=>{(c==null?void 0:c.onConfirmResetPasswordSubmit)?t("confirmResetPasswordSubmit",P):I.value.submit(P)},z=P=>{(c==null?void 0:c.onConfirmSignInSubmit)?t("confirmSignInSubmit",P):_.value.submit(P)},Y=P=>{(c==null?void 0:c.onForceNewPasswordSubmit)?t("mSetupTOTPSubmit",P):E.value.submit(P)},H=P=>{(c==null?void 0:c.onForceNewPasswordSubmit)?t("forceNewPasswordSubmit",P):k.value.submit(P)},Z=P=>{(c==null?void 0:c.onSignUpSubmit)?t("signUpSubmit",P):g.value.submit()},oe=P=>{(c==null?void 0:c.onVerifyUserSubmit)?t("verifyUserSubmit",P):x.value.submit(P)},ae=P=>{(c==null?void 0:c.onConfirmVerifyUserSubmit)?t("confirmVerifyUserSubmit",P):$.value.submit(P)},te=n.ref(null),ve=n.ref();n.watch(()=>m.value.context,()=>{const{user:P,signOut:ce}=$s({send:y,state:m.value});te.value=P,ve.value=ce});const pe=n.computed(()=>{var P,ce;return((P=C.value)==null?void 0:P.matches("signIn"))||((ce=C.value)==null?void 0:ce.matches("signUp"))});return(P,ce)=>{var Fe,h,D,O,V,W,K,re,X,Ce,Se,ze;const xe=E2,Te=k2;return n.openBlock(),n.createElementBlock(n.Fragment,null,[((Fe=n.unref(m))==null?void 0:Fe.matches("authenticated"))?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("div",n.mergeProps({key:0},P.$attrs,{"data-amplify-authenticator":"","data-variation":o}),[n.createElementVNode("div",kx,[n.renderSlot(P.$slots,"header"),n.createElementVNode("div",{"data-amplify-router":"","data-amplify-router-content":n.unref(pe)?void 0:""},[n.unref(pe)&&!u?(n.openBlock(),n.createBlock(Te,{key:0},{default:n.withCtx(()=>{var M,G;return[n.createVNode(xe,{active:(M=n.unref(C))==null?void 0:M.matches("signIn"),id:44472,label:n.unref(R),onClick:ce[0]||(ce[0]=tt=>n.unref(y)("SIGN_IN"))},null,8,["active","label"]),n.createVNode(xe,{active:(G=n.unref(C))==null?void 0:G.matches("signUp"),id:44471,label:n.unref(F),onClick:ce[1]||(ce[1]=tt=>n.unref(y)("SIGN_UP"))},null,8,["active","label"])]}),_:1})):n.createCommentVNode("",!0),n.unref(pe)?(n.openBlock(),n.createElementBlock("div",Nx,[((h=n.unref(C))==null?void 0:h.matches("signIn"))?(n.openBlock(),n.createBlock(Ea,{key:0,onSignInSubmit:B,ref:(M,G)=>{G.signInComponent=M,b.value=M}},{signInSlotI:n.withCtx(()=>[n.renderSlot(P.$slots,"sign-in")]),form:n.withCtx(({info:M,onSignInSubmit:G,onForgotPasswordClicked:tt,onInput:or})=>[n.renderSlot(P.$slots,"sign-in-form",{info:M,onInput:or,onSignInSubmit:G,onForgotPasswordClicked:tt})]),header:n.withCtx(()=>[n.renderSlot(P.$slots,"sign-in-header")]),footer:n.withCtx(()=>[n.renderSlot(P.$slots,"sign-in-footer")]),_:3},512)):n.createCommentVNode("",!0),((D=n.unref(C))==null?void 0:D.matches("signUp"))&&!u?(n.openBlock(),n.createBlock(Ia,{key:1,onSignUpSubmit:Z,ref:(M,G)=>{G.signUpComponent=M,g.value=M}},{signUpSlotI:n.withCtx(()=>[n.renderSlot(P.$slots,"sign-up")]),header:n.withCtx(()=>[n.renderSlot(P.$slots,"sign-up-header")]),"signup-fields":n.withCtx(({info:M})=>[n.renderSlot(P.$slots,"sign-up-fields",{info:M})]),footer:n.withCtx(()=>[n.renderSlot(P.$slots,"sign-up-footer")]),_:3},512)):n.createCommentVNode("",!0)])):n.createCommentVNode("",!0),((O=n.unref(C))==null?void 0:O.matches("confirmSignUp"))?(n.openBlock(),n.createBlock(ka,{key:2,onConfirmSignUpSubmit:U,ref:(M,G)=>{G.confirmSignUpComponent=M,w.value=M}},{confirmSignUpSlotI:n.withCtx(()=>[n.renderSlot(P.$slots,"confirm-sign-up")]),header:n.withCtx(()=>[n.renderSlot(P.$slots,"confirm-sign-up-header")]),footer:n.withCtx(({onConfirmSignUpSubmit:M,onLostCodeClicked:G})=>[n.renderSlot(P.$slots,"confirm-sign-up-footer",{onConfirmSignUpSubmit:M,onLostCodeClicked:G})]),_:3},512)):n.createCommentVNode("",!0),((V=n.unref(C))==null?void 0:V.matches("resetPassword"))?(n.openBlock(),n.createBlock(Wa,{key:3,onResetPasswordSubmit:L,ref:(M,G)=>{G.resetPasswordComponent=M,S.value=M}},{resetPasswordSlotI:n.withCtx(()=>[n.renderSlot(P.$slots,"reset-password")]),header:n.withCtx(()=>[n.renderSlot(P.$slots,"reset-password-header")]),footer:n.withCtx(({onResetPasswordSubmit:M,onBackToSignInClicked:G})=>[n.renderSlot(P.$slots,"reset-password-footer",{onResetPasswordSubmit:M,onBackToSignInClicked:G})]),_:3},512)):n.createCommentVNode("",!0),((W=n.unref(C))==null?void 0:W.matches("confirmResetPassword"))?(n.openBlock(),n.createBlock(Ka,{key:4,onConfirmResetPasswordSubmit:j,ref:(M,G)=>{G.confirmResetPasswordComponent=M,I.value=M}},{confirmResetPasswordSlotI:n.withCtx(()=>[n.renderSlot(P.$slots,"confirm-reset-password")]),header:n.withCtx(()=>[n.renderSlot(P.$slots,"confirm-reset-password-header")]),footer:n.withCtx(({onConfirmResetPasswordSubmit:M,onLostYourCodeClicked:G})=>[n.renderSlot(P.$slots,"confirm-reset-password-footer",{onConfirmResetPasswordSubmit:M,onLostYourCodeClicked:G})]),_:3},512)):n.createCommentVNode("",!0),((K=n.unref(C))==null?void 0:K.matches("confirmSignIn"))?(n.openBlock(),n.createBlock(Pa,{key:5,onConfirmSignInSubmit:z,ref:(M,G)=>{G.confirmSignInComponent=M,_.value=M}},{confirmSignInSlotI:n.withCtx(()=>[n.renderSlot(P.$slots,"confirm-sign-in")]),header:n.withCtx(()=>[n.renderSlot(P.$slots,"confirm-sign-in-header")]),footer:n.withCtx(({onConfirmSignInSubmit:M,onBackToSignInClicked:G})=>[n.renderSlot(P.$slots,"confirm-sign-in-footer",{onConfirmSignInSubmit:M,onBackToSignInClicked:G})]),_:3},512)):n.createCommentVNode("",!0),((re=n.unref(C))==null?void 0:re.matches("setupTOTP"))?(n.openBlock(),n.createBlock(xx,{key:6,onConfirmSetupTotpSubmit:Y,ref:(M,G)=>{G.confirmSetupTOTPComponent=M,E.value=M}},{confirmSetupTOTPI:n.withCtx(()=>[n.renderSlot(P.$slots,"setup-totp")]),header:n.withCtx(()=>[n.renderSlot(P.$slots,"setup-totp-header")]),footer:n.withCtx(({onSetupTOTPSubmit:M,onBackToSignInClicked:G})=>[n.renderSlot(P.$slots,"setup-totp-footer",{onSetupTOTPSubmit:M,onBackToSignInClicked:G})]),_:3},512)):n.createCommentVNode("",!0),((X=n.unref(C))==null?void 0:X.matches("forceNewPassword"))?(n.openBlock(),n.createBlock(Ha,{key:7,onForceNewPasswordSubmit:H,ref:(M,G)=>{G.forceNewPasswordComponent=M,k.value=M}},{forceNewPasswordI:n.withCtx(()=>[n.renderSlot(P.$slots,"force-new-password")]),header:n.withCtx(()=>[n.renderSlot(P.$slots,"force-new-password-header")]),"force-new-password-form-fields":n.withCtx(()=>[n.renderSlot(P.$slots,"force-new-password-form-fields")]),footer:n.withCtx(({onHaveAccountClicked:M,onForceNewPasswordSubmit:G})=>[n.renderSlot(P.$slots,"force-new-password-footer",{onForceNewPasswordSubmit:G,onBackToSignInClicked:M})]),_:3},512)):n.createCommentVNode("",!0),((Ce=n.unref(C))==null?void 0:Ce.matches("verifyUser"))?(n.openBlock(),n.createBlock(qa,{key:8,onVerifyUserSubmit:oe,ref:(M,G)=>{G.verifyUserComponent=M,x.value=M}},{verifyUserSlotI:n.withCtx(()=>[n.renderSlot(P.$slots,"verify-user")]),header:n.withCtx(()=>[n.renderSlot(P.$slots,"verify-user-header")]),footer:n.withCtx(({onVerifyUserSubmit:M,onSkipClicked:G})=>[n.renderSlot(P.$slots,"verify-user-footer",{onVerifyUserSubmit:M,onSkipClicked:G})]),_:3},512)):n.createCommentVNode("",!0),((Se=n.unref(C))==null?void 0:Se.matches("confirmVerifyUser"))?(n.openBlock(),n.createBlock(Ya,{key:9,onConfirmVerifyUserSubmit:ae,ref:(M,G)=>{G.confirmVerifyUserComponent=M,$.value=M}},{confirmVerifyUserSlotI:n.withCtx(()=>[n.renderSlot(P.$slots,"confirm-verify-user")]),header:n.withCtx(()=>[n.renderSlot(P.$slots,"confirm-verify-user-header")]),footer:n.withCtx(({onConfirmVerifyUserSubmit:M,onSkipClicked:G})=>[n.renderSlot(P.$slots,"confirm-verify-user-footer",{onConfirmVerifyUserSubmit:M,onSkipClicked:G})]),_:3},512)):n.createCommentVNode("",!0)],8,Px),n.renderSlot(P.$slots,"footer")])],16)),((ze=n.unref(m))==null?void 0:ze.matches("authenticated"))?n.renderSlot(P.$slots,"default",{key:1,user:te.value,state:n.unref(m),signOut:ve.value,send:n.unref(y)}):n.createCommentVNode("",!0)],64)}}}),pl=n.defineComponent({props:{info:{type:Object}},setup(e){return()=>e.info}}),ml=n.defineComponent({props:{label:{default:""},id:{default:""},autocomplete:{default:""},placeholder:{default:""},required:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},name:{default:""},type:{default:"text"},hideLabel:{type:Boolean,default:!0}},setup(e){const t=e,{label:r,id:a,autocomplete:o,placeholder:i,required:s,name:l,type:u}=n.toRefs(t);return(d,c)=>{const v=Ge,f=He,p=Ee;return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createVNode(v,{class:n.normalizeClass(["amplify-label",{"amplify-visually-hidden":e.hideLabel}]),for:n.unref(a)},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(r)),1)]),_:1},8,["class","for"]),n.createVNode(p,{class:"amplify-field-group__field-wrapper"},{default:n.withCtx(()=>[n.createVNode(f,{class:"amplify-input amplify-field-group__control",id:n.unref(a),"aria-invalid":"false",autocomplete:n.unref(o),placeholder:n.unref(i),required:n.unref(s),name:n.unref(l),disabled:e.disabled,type:n.unref(u)},null,8,["id","autocomplete","placeholder","required","name","disabled","type"])]),_:1})],64)}}}),Tx={class:"amplify-flex amplify-field amplify-checkboxfield"},$x={class:"amplify-flex amplify-checkbox"},Bx={class:"amplify-visually-hidden"},Fx=["data-error","data-checked"],Dx=["data-checked"],Rx=n.createElementVNode("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"},null,-1),Ox=[Rx],Vx=n.createElementVNode("span",{class:"amplify-text amplify-checkbox__label"}," I agree with the Terms & Conditions",-1),Ux={key:0,class:"amplify-text amplify-field__error-message"},hl=n.defineComponent({props:{errorMessage:{default:""}},setup(e){const t=e,r=n.ref(!1),{errorMessage:a}=n.toRefs(t);return(o,i)=>(n.openBlock(),n.createElementBlock("div",Tx,[n.createElementVNode("label",$x,[n.createElementVNode("span",Bx,[n.createElementVNode("input",{onClick:i[0]||(i[0]=s=>r.value=!r.value),class:"amplify-input amplify-field-group__control amplify-checkbox__input","aria-invalid":"false",type:"checkbox",name:"acknowledgement",value:"yes"})]),n.createElementVNode("span",{class:"amplify-flex amplify-checkbox__button","aria-hidden":"true","data-focus":"false","data-error":!r.value,"data-checked":r.value},[(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",class:"amplify-icon amplify-checkbox__icon",viewBox:"0 0 24 24",fill:"currentColor","data-checked":r.value},Ox,8,Dx))],8,Fx),Vx]),r.value?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("p",Ux,n.toDisplayString(n.unref(a)),1))]))}});var Mx={install:e=>{e.component("SignIn",Ea),e.component("SignUp",Ia),e.component("FederatedSignIn",Yr),e.component("Authenticator",vl),e.component("RenderInfo",pl),e.component("PasswordControl",at),e.component("UserNameAlias",Kr),e.component("ForceNewPassword",Ha),e.component("ResetPassword",Wa),e.component("ConfirmResetPassword",Ka),e.component("ConfirmSignUp",ka),e.component("ConfirmSignIn",Pa),e.component("VerifyUser",qa),e.component("ConfirmVerifyUser",Ya),e.component("AmplifyTextField",ml),e.component("AmplifyCheckBox",hl),e.component("AmplifyButton",$e),e.component("AuthenticatorSignUpFormFields",Aa),e.component("AuthenticatorForceNewPasswordFormFields",Ga)}};exports.AmplifyButton=$e;exports.AmplifyCheckBox=hl;exports.AmplifyTextField=ml;exports.Authenticator=vl;exports.AuthenticatorForceNewPasswordFormFields=Ga;exports.AuthenticatorSignUpFormFields=Aa;exports.ConfirmResetPassword=Ka;exports.ConfirmSignIn=Pa;exports.ConfirmSignUp=ka;exports.ConfirmVerifyUser=Ya;exports.FederatedSignIn=Yr;exports.ForceNewPassword=Ha;exports.PasswordControl=at;exports.RenderInfo=pl;exports.ResetPassword=Wa;exports.SignIn=Ea;exports.SignUp=Ia;exports.UserNameAlias=Kr;exports.VerifyUser=qa;exports.default=Mx;exports.translations=r3;exports.useAuthenticator=De;
123
+ `);const s=nA(t,r,o),u=sn.getSymbolSize(t),l=new HE(u);return JE(l,t),QE(l),eA(l,t),qa(l,r,0),t>=7&&tA(l,t),rA(l,s),isNaN(n)&&(n=Wa.getBestMask(l,qa.bind(null,l,r))),Wa.applyMask(n,l),qa(l,r,n),{modules:l,version:t,errorCorrectionLevel:r,maskPattern:n,segments:o}}du.create=function(t,r){if(typeof t=="undefined"||t==="")throw new Error("No input text");let n=Ga.M,o,i;return typeof r!="undefined"&&(n=Ga.from(r.errorCorrectionLevel,Ga.M),o=un.from(r.version),i=Wa.from(r.maskPattern),r.toSJISFunc&&sn.setToSJISFunction(r.toSJISFunc)),oA(t,o,n,i)};var Au={},Ya={};(function(e){function t(r){if(typeof r=="number"&&(r=r.toString()),typeof r!="string")throw new Error("Color should be defined as hex string");let n=r.slice().replace("#","").split("");if(n.length<3||n.length===5||n.length>8)throw new Error("Invalid hex color: "+r);(n.length===3||n.length===4)&&(n=Array.prototype.concat.apply([],n.map(function(i){return[i,i]}))),n.length===6&&n.push("F","F");const o=parseInt(n.join(""),16);return{r:o>>24&255,g:o>>16&255,b:o>>8&255,a:o&255,hex:"#"+n.slice(0,6).join("")}}e.getOptions=function(n){n||(n={}),n.color||(n.color={});const o=typeof n.margin=="undefined"||n.margin===null||n.margin<0?4:n.margin,i=n.width&&n.width>=21?n.width:void 0,s=n.scale||4;return{width:i,scale:i?4:s,margin:o,color:{dark:t(n.color.dark||"#000000ff"),light:t(n.color.light||"#ffffffff")},type:n.type,rendererOpts:n.rendererOpts||{}}},e.getScale=function(n,o){return o.width&&o.width>=n+o.margin*2?o.width/(n+o.margin*2):o.scale},e.getImageWidth=function(n,o){const i=e.getScale(n,o);return Math.floor((n+o.margin*2)*i)},e.qrToImageData=function(n,o,i){const s=o.modules.size,u=o.modules.data,l=e.getScale(s,i),d=Math.floor((s+i.margin*2)*l),c=i.margin*l,v=[i.color.light,i.color.dark];for(let f=0;f<d;f++)for(let m=0;m<d;m++){let g=(f*d+m)*4,h=i.color.light;if(f>=c&&m>=c&&f<d-c&&m<d-c){const p=Math.floor((f-c)/l),y=Math.floor((m-c)/l);h=v[u[p*s+y]?1:0]}n[g++]=h.r,n[g++]=h.g,n[g++]=h.b,n[g]=h.a}}})(Ya);(function(e){const t=Ya;function r(o,i,s){o.clearRect(0,0,i.width,i.height),i.style||(i.style={}),i.height=s,i.width=s,i.style.height=s+"px",i.style.width=s+"px"}function n(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}e.render=function(i,s,u){let l=u,d=s;typeof l=="undefined"&&(!s||!s.getContext)&&(l=s,s=void 0),s||(d=n()),l=t.getOptions(l);const c=t.getImageWidth(i.modules.size,l),v=d.getContext("2d"),f=v.createImageData(c,c);return t.qrToImageData(f.data,i,l),r(v,d,c),v.putImageData(f,0,0),d},e.renderToDataURL=function(i,s,u){let l=u;typeof l=="undefined"&&(!s||!s.getContext)&&(l=s,s=void 0),l||(l={});const d=e.render(i,s,l),c=l.type||"image/png",v=l.rendererOpts||{};return d.toDataURL(c,v.quality)}})(Au);var Iu={};const iA=Ya;function $u(e,t){const r=e.a/255,n=t+'="'+e.hex+'"';return r<1?n+" "+t+'-opacity="'+r.toFixed(2).slice(1)+'"':n}function Za(e,t,r){let n=e+t;return typeof r!="undefined"&&(n+=" "+r),n}function sA(e,t,r){let n="",o=0,i=!1,s=0;for(let u=0;u<e.length;u++){const l=Math.floor(u%t),d=Math.floor(u/t);!l&&!i&&(i=!0),e[u]?(s++,u>0&&l>0&&e[u-1]||(n+=i?Za("M",l+r,.5+d+r):Za("m",o,0),o=0,i=!1),l+1<t&&e[u+1]||(n+=Za("h",s),s=0)):o++}return n}Iu.render=function(t,r,n){const o=iA.getOptions(r),i=t.modules.size,s=t.modules.data,u=i+o.margin*2,l=o.color.light.a?"<path "+$u(o.color.light,"fill")+' d="M0 0h'+u+"v"+u+'H0z"/>':"",d="<path "+$u(o.color.dark,"stroke")+' d="'+sA(s,i,o.margin)+'"/>',c='viewBox="0 0 '+u+" "+u+'"',v=o.width?'width="'+o.width+'" height="'+o.width+'" ':"",f='<svg xmlns="http://www.w3.org/2000/svg" '+v+c+' shape-rendering="crispEdges">'+l+d+`</svg>
124
+ `;return typeof n=="function"&&n(null,f),f};const uA=wE,Xa=du,Tu=Au,lA=Iu;function Ja(e,t,r,n,o){const i=[].slice.call(arguments,1),s=i.length,u=typeof i[s-1]=="function";if(!u&&!uA())throw new Error("Callback required as last argument");if(u){if(s<2)throw new Error("Too few arguments provided");s===2?(o=r,r=t,t=n=void 0):s===3&&(t.getContext&&typeof o=="undefined"?(o=n,n=void 0):(o=n,n=r,r=t,t=void 0))}else{if(s<1)throw new Error("Too few arguments provided");return s===1?(r=t,t=n=void 0):s===2&&!t.getContext&&(n=r,r=t,t=void 0),new Promise(function(l,d){try{const c=Xa.create(r,n);l(e(c,t,n))}catch(c){d(c)}})}try{const l=Xa.create(r,n);o(null,e(l,t,n))}catch(l){o(l)}}Yt.create=Xa.create;Yt.toCanvas=Ja.bind(null,Tu.render);Yt.toDataURL=Ja.bind(null,Tu.renderToDataURL);Yt.toString=Ja.bind(null,function(e,t,r){return lA.render(e,r)});const cA={key:0},dA=a.createTextVNode(" Setup TOTP "),fA=["src"],vA={"data-amplify-copy-tooltip":""},pA=a.createElementVNode("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[a.createElementVNode("path",{d:"M16 1H4C2.9 1 2 1.9 2 3V17H4V3H16V1ZM15 5H8C6.9 5 6.01 5.9 6.01 7L6 21C6 22.1 6.89 23 7.99 23H19C20.1 23 21 22.1 21 21V11L15 5ZM8 21V7H14V12H19V21H8Z"})],-1),mA=a.defineComponent({emits:["confirmSetupTOTPSubmit","backToSignInClicked"],setup(e,{emit:t}){var A,E,I;const n=$e(Ae)(),o=a.useAttrs(),{state:i,send:s}=Ee(),{value:{context:u}}=i,l=(E=(A=u==null?void 0:u.config)==null?void 0:A.formFields)==null?void 0:E.setupTOTP,d=l==null?void 0:l.QR,c=l==null?void 0:l.confirmation_code,v=a.computed(()=>xe(i.value));let f=a.reactive({qrCodeImageSource:"",isLoading:!0}),m=a.ref(""),g=a.ref(R("COPY"));function h(){navigator.clipboard.writeText(m.value),g.value=R("COPIED")}a.onMounted(async()=>{var U,O;const T=new ae.Logger("SetupTOTP-logger"),{user:B}=v.value.context;if(!!B)try{m.value=await ae.Auth.setupTOTP(B);const L=(U=d==null?void 0:d.totpIssuer)!=null?U:"AWSCognito",W=(O=d==null?void 0:d.totpUsername)!=null?O:B.username,be=`otpauth://totp/${L}:${W}?secret=${m.value}&issuer=${L}`;f.qrCodeImageSource=await Yt.toDataURL(be)}catch(L){T.error(L)}finally{f.isLoading=!1}});const p=a.computed(()=>R("Back to Sign In")),y=a.computed(()=>R("Confirm"));a.computed(()=>R("Code")),(I=c==null?void 0:c.label)!=null||R("Code *"),c==null||c.labelHidden;const C=T=>{const{name:B,value:U}=T.target;s({type:"CHANGE",data:{name:B,value:U}})},S=T=>{(o==null?void 0:o.onConfirmSetupTOTPSubmit)?t("confirmSetupTOTPSubmit",T):w(T)},w=T=>{n.submitForm(ze(T))},x=()=>{(o==null?void 0:o.onBackToSignInClicked)?t("backToSignInClicked"):s({type:"SIGN_IN"})};return(T,B)=>{const U=Qe,O=he,L=De,W=we,be=Ue,ve=Re,Ye=Oe;return a.renderSlot(T.$slots,"confirmSetupTOTPI",a.normalizeProps(a.guardReactiveProps(T.$attrs)),()=>[a.createVNode(O,a.normalizeProps(a.guardReactiveProps(T.$attrs)),{default:a.withCtx(()=>[a.createVNode(Ye,{"data-amplify-authenticator-setup-totp":"",onInput:C,onSubmit:a.withModifiers(S,["prevent"])},{default:a.withCtx(()=>[a.createVNode(ve,{class:"amplify-flex",style:{"flex-direction":"column"},disabled:a.unref(v).matches("confirmSignIn.pending")},{default:a.withCtx(()=>[a.unref(f).isLoading?(a.openBlock(),a.createElementBlock("p",cA,"Loading...")):(a.openBlock(),a.createBlock(O,{key:1,class:"amplify-flex",style:{"flex-direction":"column"}},{default:a.withCtx(()=>[a.renderSlot(T.$slots,"header",{},()=>[a.createVNode(U,{class:"amplify-heading",level:3},{default:a.withCtx(()=>[dA]),_:1})]),a.createVNode(O,{class:"amplify-flex",style:{"flex-direction":"column"}},{default:a.withCtx(()=>[a.createElementVNode("img",{class:"amplify-image","data-amplify-qrcode":"",src:a.unref(f).qrCodeImageSource,alt:"qr code",width:"228",height:"228"},null,8,fA),a.createVNode(O,{class:"amplify-flex","data-amplify-copy":""},{default:a.withCtx(()=>[a.createElementVNode("div",null,a.toDisplayString(a.unref(m)),1),a.createVNode(O,{"data-amplify-copy-svg":"",onClick:h},{default:a.withCtx(()=>[a.createElementVNode("div",vA,a.toDisplayString(a.unref(g)),1),pA]),_:1})]),_:1}),a.createVNode(je,{route:"setupTOTP"})]),_:1}),a.createVNode(be,{class:"amplify-flex",style:{"flex-direction":"column"}},{default:a.withCtx(()=>{var Ze;return[((Ze=a.unref(v).context)==null?void 0:Ze.remoteError)?(a.openBlock(),a.createBlock(L,{key:0},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(R)(a.unref(v).context.remoteError)),1)]),_:1})):a.createCommentVNode("",!0),a.createVNode(W,{class:"amplify-field-group__control","data-fullwidth":"false","data-loading":"false","data-variation":"primary",type:"submit",style:{"font-weight":"normal"},disabled:a.unref(v).matches("confirmSignIn.pending")},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(y)),1)]),_:1},8,["disabled"]),a.createVNode(W,{class:"amplify-field-group__control","data-fullwidth":"false","data-size":"small","data-variation":"link",style:{"font-weight":"normal"},type:"button",onClick:a.withModifiers(x,["prevent"])},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(p)),1)]),_:1},8,["onClick"]),a.renderSlot(T.$slots,"footer",{onBackToSignInClicked:x,onSetupTOTPSubmit:S})]}),_:3})]),_:3}))]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),Qa=a.defineComponent({setup(e){return(t,r)=>(a.openBlock(),a.createBlock(je,{route:"forceNewPassword"}))}}),eo=a.defineComponent({emits:["haveAccountClicked","forceNewPasswordSubmit"],setup(e,{emit:t}){const r=a.useAttrs(),{state:n,send:o}=Ee(),s=$e(Ae)(),u=a.computed(()=>xe(n.value)),l=a.computed(()=>R("Change Password")),d=a.computed(()=>R("Changing")),c=a.computed(()=>R("Back to Sign In")),v=()=>{(r==null?void 0:r.onHaveAccountClicked)?t("haveAccountClicked"):o({type:"SIGN_IN"})},f=p=>{(r==null?void 0:r.onForceNewPasswordSubmit)?t("forceNewPasswordSubmit",p):m(p)},m=p=>{s.submitForm(ze(p))},g=p=>{const{name:y,value:C}=p.target;o({type:"CHANGE",data:{name:y,value:C}})};function h(p){const{name:y}=p.target;s.updateBlur({name:y})}return(p,y)=>{const C=Qe,S=he,w=De,x=we,A=Ue,E=Re,I=Oe;return a.renderSlot(p.$slots,"forceNewPasswordI",a.normalizeProps(a.guardReactiveProps(p.$attrs)),()=>[a.createVNode(S,a.normalizeProps(a.guardReactiveProps(p.$attrs)),{default:a.withCtx(()=>[a.createVNode(I,{"data-amplify-authenticator-forcenewpassword":"",onInput:g,onBlur:h,onSubmit:a.withModifiers(f,["prevent"])},{default:a.withCtx(()=>[a.createVNode(E,{class:"amplify-flex",style:{"flex-direction":"column"},disabled:a.unref(u).matches("forceNewPassword.pending")},{default:a.withCtx(()=>[a.renderSlot(p.$slots,"header",{},()=>[a.createVNode(C,{level:3,class:"amplify-heading"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(l)),1)]),_:1})]),a.createVNode(S,{class:"amplify-flex",style:{"flex-direction":"column"}},{default:a.withCtx(()=>[a.renderSlot(p.$slots,"force-new-password-form-fields",{},()=>[a.createVNode(Qa)])]),_:3}),a.createVNode(A,{class:"amplify-flex",style:{"flex-direction":"column"}},{default:a.withCtx(()=>[a.unref(u).context.remoteError?(a.openBlock(),a.createBlock(w,{key:0,"data-ui-error":""},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(R)(a.unref(u).context.remoteError)),1)]),_:1})):a.createCommentVNode("",!0),a.createVNode(x,{class:"amplify-field-group__control","data-fullwidth":"false","data-loading":"false","data-variation":"primary",style:{"font-weight":"normal"},disabled:a.unref(u).matches("signUp.submit")},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(u).matches("forceNewPassword.pending")?a.unref(d)+"\u2026":a.unref(l)),1)]),_:1},8,["disabled"]),a.createVNode(x,{class:"amplify-field-group__control","data-fullwidth":"false","data-size":"small","data-variation":"link",style:{"font-weight":"normal"},type:"button",onClick:a.withModifiers(v,["prevent"])},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(c)),1)]),_:1},8,["onClick"]),a.renderSlot(p.$slots,"footer",{onHaveAccountClicked:v,onForceNewPasswordSubmit:f})]),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),to=a.defineComponent({emits:["resetPasswordSubmit","backToSignInClicked"],setup(e,{emit:t}){const r=a.useAttrs(),n=$e(Ae),{state:o,send:i,submitForm:s}=n(),{error:u,isPending:l}=a.toRefs(n()),d=a.computed(()=>R("Back to Sign In")),c=a.computed(()=>R("Reset your password")),v=a.computed(()=>R("Send Code")),f=p=>{(r==null?void 0:r.onResetPasswordSubmit)?t("resetPasswordSubmit",p):m(p)},m=p=>{s(ze(p))},g=p=>{const{name:y,value:C}=p.target;i({type:"CHANGE",data:{name:y,value:C}})},h=()=>{(r==null?void 0:r.onBackToSignInClicked)?t("backToSignInClicked"):i({type:"SIGN_IN"})};return(p,y)=>{const C=Qe,S=Re,w=De,x=we,A=Ue,E=he,I=Oe;return a.renderSlot(p.$slots,"resetPasswordSlotI",a.normalizeProps(a.guardReactiveProps(p.$attrs)),()=>[a.createVNode(I,a.mergeProps(p.$attrs,{"data-amplify-authenticator-resetpassword":"",onInput:g,onSubmit:a.withModifiers(f,["prevent"])}),{default:a.withCtx(()=>[a.createVNode(E,{class:"amplify-flex",style:{"flex-direction":"column"}},{default:a.withCtx(()=>[a.renderSlot(p.$slots,"header",{},()=>[a.createVNode(C,{class:"amplify-heading",level:3},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(c)),1)]),_:1})]),a.createVNode(S,{class:"amplify-flex",style:{"flex-direction":"column"},disabled:a.unref(l)},{default:a.withCtx(()=>[a.createVNode(je,{route:"resetPassword"})]),_:1},8,["disabled"]),a.createVNode(A,{class:"amplify-flex",style:{"flex-direction":"column","align-items":"unset"}},{default:a.withCtx(()=>[a.unref(u)?(a.openBlock(),a.createBlock(w,{key:0},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(R)(a.unref(u))),1)]),_:1})):a.createCommentVNode("",!0),a.createVNode(x,{class:"amplify-field-group__control","data-fullwidth":"false","data-variation":"primary",type:"submit",style:{"font-weight":"normal"},disabled:a.unref(l)},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(v)),1)]),_:1},8,["disabled"]),a.createVNode(x,{class:"amplify-field-group__control","data-fullwidth":"false","data-size":"small","data-variation":"link",style:{"font-weight":"normal"},type:"button",onClick:a.withModifiers(h,["prevent"])},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(d)),1)]),_:1},8,["onClick"]),a.renderSlot(p.$slots,"footer",{onBackToSignInClicked:h,onResetPasswordSubmit:f})]),_:3})]),_:3})]),_:3},16,["onSubmit"])])}}}),ro=a.defineComponent({emits:["confirmResetPasswordSubmit","backToSignInClicked"],setup(e,{emit:t}){const{state:r,send:n}=Ee(),i=$e(Ae)(),s=a.useAttrs(),u=a.computed(()=>xe(r.value));a.computed(()=>ha(r.value));const l=a.computed(()=>R("Resend Code")),d=a.computed(()=>R("Reset your Password")),c=a.computed(()=>R("Submit")),v=p=>{(s==null?void 0:s.onConfirmResetPasswordSubmit)?t("confirmResetPasswordSubmit",p):f(p)},f=p=>{i.submitForm(ze(p))},m=()=>{n({type:"RESEND"})},g=p=>{const{name:y,value:C}=p.target;n({type:"CHANGE",data:{name:y,value:C}})};function h(p){const{name:y}=p.target;i.updateBlur({name:y})}return(p,y)=>{const C=Qe,S=he,w=De,x=we,A=Ue,E=Re,I=Oe;return a.renderSlot(p.$slots,"confirmResetPasswordSlotI",a.normalizeProps(a.guardReactiveProps(p.$attrs)),()=>[a.createVNode(S,a.normalizeProps(a.guardReactiveProps(p.$attrs)),{default:a.withCtx(()=>[a.createVNode(I,{"data-amplify-authenticator-confirmResetpassword":"",onInput:g,onBlurCapture:h,onSubmit:a.withModifiers(v,["prevent"])},{default:a.withCtx(()=>[a.createVNode(E,{class:"amplify-flex",style:{"flex-direction":"column"},disabled:a.unref(u).matches("confirmResetPassword.pending")},{default:a.withCtx(()=>[a.renderSlot(p.$slots,"header",{},()=>[a.createVNode(C,{class:"amplify-heading",level:3},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(d)),1)]),_:1})]),a.createVNode(S,{class:"amplify-flex",style:{"flex-direction":"column"}},{default:a.withCtx(()=>[a.createVNode(je,{route:"confirmResetPassword"})]),_:1}),a.createVNode(A,{class:"amplify-flex",style:{"flex-direction":"column"}},{default:a.withCtx(()=>{var T,B;return[((B=(T=a.unref(u))==null?void 0:T.context)==null?void 0:B.remoteError)?(a.openBlock(),a.createBlock(w,{key:0},{default:a.withCtx(()=>{var U,O;return[a.createTextVNode(a.toDisplayString(a.unref(R)((O=(U=a.unref(u))==null?void 0:U.context)==null?void 0:O.remoteError)),1)]}),_:1})):a.createCommentVNode("",!0),a.createVNode(x,{class:"amplify-field-group__control","data-fullwidth":"false","data-variation":"primary",type:"submit",style:{"font-weight":"normal"},disabled:a.unref(u).matches("confirmResetPassword.pending")},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(c)),1)]),_:1},8,["disabled"]),a.createVNode(x,{class:"amplify-field-group__control","data-fullwidth":"false","data-size":"small","data-variation":"link",type:"button",onClick:a.withModifiers(m,["prevent"]),style:{"font-weight":"normal"}},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(l)),1)]),_:1},8,["onClick"]),a.renderSlot(p.$slots,"footer",{onConfirmResetPasswordSubmit:v,onLostYourCodeClicked:m})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),no=a.defineComponent({emits:["verifyUserSubmit","skipClicked"],setup(e,{emit:t}){const n=$e(Ae)(),o=a.useAttrs(),{state:i,send:s}=Ee(),u=a.computed(()=>xe(i.value)),l=u.value.context.unverifiedAttributes,d=a.computed(()=>R("Account recovery requires verified contact information")),c=a.computed(()=>R("Skip")),v=a.computed(()=>R("Verify")),f=a.computed(()=>R("Verify Contact")),m=y=>{const{name:C,value:S}=y.target;s({type:"CHANGE",data:{name:C,value:S}})},g=y=>{(o==null?void 0:o.onVerifyUserSubmit)?t("verifyUserSubmit",y):h(y)},h=y=>{n.submitForm(ze(y))},p=()=>{(o==null?void 0:o.onSkipClicked)?t("skipClicked"):s("SKIP")};return(y,C)=>{const S=Qe,w=Jr,x=Qr,A=cu,E=he,I=De,T=we,B=Ue,U=Re,O=Oe;return a.renderSlot(y.$slots,"verifyUserSlotI",{},()=>[a.createVNode(E,null,{default:a.withCtx(()=>[a.createVNode(O,{onInput:m,onSubmit:a.withModifiers(g,["prevent"])},{default:a.withCtx(()=>[a.createVNode(U,{disabled:a.unref(u).matches("verifyUser.pending"),class:"amplify-flex",style:{"flex-direction":"column"}},{default:a.withCtx(()=>[a.renderSlot(y.$slots,"header",{},()=>[a.createVNode(S,{class:"amplify-heading",level:3},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(d)),1)]),_:1})]),a.createVNode(E,{class:"amplify-flex amplify-field amplify-radiogroupfield",style:{"flex-direction":"column"}},{default:a.withCtx(()=>[a.createVNode(w,{class:"amplify-visually-hidden amplify-label",id:"amplify-field-493c"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(f)),1)]),_:1}),a.createVNode(E,{class:"amplify-flex amplify-field amplify-radiogroupfield",style:{"flex-direction":"column"},"aria-labelledby":"amplify-field-493c"},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(a.unref(l),(L,W)=>(a.openBlock(),a.createBlock(w,{class:"amplify-flex amplify-radio","data-amplify-verify-label":"",id:"verify",key:L},{default:a.withCtx(()=>[a.createVNode(x,{class:"amplify-input amplify-field-group__control amplify-visually-hidden amplify-radio__input","aria-invalid":"false","data-amplify-verify-input":"",id:"verify",name:"unverifiedAttr",type:"radio",value:W},null,8,["value"]),a.createVNode(A,{class:"amplify-flex amplify-radio__button","aria-hidden":"true"}),a.createVNode(A,{class:"amplify-text amplify-radio__label"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(ya)[W].label),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1}),a.createVNode(B,{class:"amplify-flex",style:{"flex-direction":"column"}},{default:a.withCtx(()=>{var L,W;return[((W=(L=a.unref(u))==null?void 0:L.context)==null?void 0:W.remoteError)?(a.openBlock(),a.createBlock(I,{key:0},{default:a.withCtx(()=>{var be;return[a.createTextVNode(a.toDisplayString(a.unref(R)((be=a.unref(u))==null?void 0:be.context.remoteError)),1)]}),_:1})):a.createCommentVNode("",!0),a.createVNode(T,{class:"amplify-field-group__control","data-fullwidth":"false","data-variation":"primary",type:"submit",style:{"font-weight":"normal"},disabled:a.unref(u).matches("verifyUser.pending")},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(v)),1)]),_:1},8,["disabled"]),a.createVNode(T,{class:"amplify-field-group__control","data-fullwidth":"false","data-size":"small","data-variation":"link",style:{"font-weight":"normal"},type:"button",onClick:a.withModifiers(p,["prevent"])},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(c)),1)]),_:1},8,["onClick"]),a.renderSlot(y.$slots,"footer",{onSkipClicked:p,onVerifyUserSubmit:g})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3})])}}}),ao=a.defineComponent({emits:["confirmVerifyUserSubmit","skipClicked"],setup(e,{emit:t}){const n=$e(Ae)(),o=a.useAttrs(),{state:i,send:s}=Ee(),u=a.computed(()=>xe(i.value)),l=a.computed(()=>R("Account recovery requires verified contact information")),d=a.computed(()=>R("Skip")),c=a.computed(()=>R("Submit")),v=h=>{const{name:p,value:y}=h.target;s({type:"CHANGE",data:{name:p,value:y}})},f=h=>{(o==null?void 0:o.onConfirmVerifyUserSubmit)?t("confirmVerifyUserSubmit",h):m(h)},m=h=>{n.submitForm(ze(h))},g=()=>{(o==null?void 0:o.onSkipClicked)?t("skipClicked"):s({type:"SKIP"})};return(h,p)=>{const y=Qe,C=he,S=De,w=we,x=Ue,A=Re,E=Oe;return a.renderSlot(h.$slots,"confirmVerifyUserSlotI",a.normalizeProps(a.guardReactiveProps(h.$attrs)),()=>[a.createVNode(C,a.normalizeProps(a.guardReactiveProps(h.$attrs)),{default:a.withCtx(()=>[a.createVNode(E,{onInput:v,onSubmit:a.withModifiers(f,["prevent"])},{default:a.withCtx(()=>[a.createVNode(A,{class:"amplify-flex",style:{"flex-direction":"column"},disabled:a.unref(u).matches("confirmVerifyUser.pending")},{default:a.withCtx(()=>[a.renderSlot(h.$slots,"header",{},()=>[a.createVNode(y,{level:3,class:"amplify-heading"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(l)),1)]),_:1})]),a.createVNode(C,{class:"amplify-flex",style:{"flex-direction":"column"}},{default:a.withCtx(()=>[a.createVNode(je,{route:"confirmVerifyUser"})]),_:1}),a.createVNode(x,{class:"amplify-flex",style:{"flex-direction":"column"}},{default:a.withCtx(()=>{var I,T;return[((T=(I=a.unref(u))==null?void 0:I.context)==null?void 0:T.remoteError)?(a.openBlock(),a.createBlock(S,{key:0},{default:a.withCtx(()=>{var B;return[a.createTextVNode(a.toDisplayString(a.unref(R)((B=a.unref(u))==null?void 0:B.context.remoteError)),1)]}),_:1})):a.createCommentVNode("",!0),a.createVNode(w,{class:"amplify-field-group__control","data-fullwidth":"false","data-variation":"primary",type:"submit",style:{"font-weight":"normal"},disabled:a.unref(u).matches("confirmVerifyUser.pending")},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(c)),1)]),_:1},8,["disabled"]),a.createVNode(w,{class:"amplify-field-group__control","data-fullwidth":"false","data-size":"small","data-variation":"link",style:{"font-weight":"normal"},type:"button",onClick:a.withModifiers(g,["prevent"])},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(d)),1)]),_:1},8,["onClick"]),a.renderSlot(h.$slots,"footer",{onSkipClicked:g,onConfirmVerifyUserSubmit:f})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),hA={"data-amplify-container":""},gA=["data-amplify-router-content"],yA={key:1,"data-amplify-router-content":""},Pu=a.defineComponent({props:{hideSignUp:{type:Boolean},initialState:null,loginMechanisms:null,services:null,signUpAttributes:null,variation:{default:"default"},socialProviders:null,formFields:null},emits:["signInSubmit","confirmSignUpSubmit","resetPasswordSubmit","confirmResetPasswordSubmit","confirmSignInSubmit","mSetupTOTPSubmit","forceNewPasswordSubmit","signUpSubmit","verifyUserSubmit","confirmVerifyUserSubmit"],setup(e,{emit:t}){const{initialState:r,loginMechanisms:n,variation:o,services:i,signUpAttributes:s,socialProviders:u,hideSignUp:l,formFields:d}=e,c=a.useAttrs(),v=fx(),f=Dx(v);let m;const{state:g,send:h}=iu(f);Ee(f),a.onMounted(()=>{m=R2(h),h({type:"INIT",data:{initialState:r,loginMechanisms:n,socialProviders:u,signUpAttributes:s,services:i,formFields:d}})}),a.onUnmounted(()=>{m&&m()});const p=a.computed(()=>xe(g.value)),y=a.ref(),C=a.ref(),S=a.ref(),w=a.ref(),x=a.ref(),A=a.ref(),E=a.ref(),I=a.ref(),T=a.ref(),B=a.ref(),U=a.computed(()=>R("Create Account")),O=a.computed(()=>R("Sign In")),L=P=>{var Se;(c==null?void 0:c.onSignInSubmit)?t("signInSubmit",P):(Se=y.value)==null||Se.submit(P)},W=P=>{(c==null?void 0:c.onConfirmSignUpSubmit)?t("confirmSignUpSubmit",P):S.value.submit(P)},be=P=>{(c==null?void 0:c.onResetPasswordSubmit)?t("resetPasswordSubmit",P):E.value.submit(P)},ve=P=>{(c==null?void 0:c.onConfirmResetPasswordSubmit)?t("confirmResetPasswordSubmit",P):I.value.submit(P)},Ye=P=>{(c==null?void 0:c.onConfirmSignInSubmit)?t("confirmSignInSubmit",P):w.value.submit(P)},Ze=P=>{(c==null?void 0:c.onForceNewPasswordSubmit)?t("mSetupTOTPSubmit",P):x.value.submit(P)},pe=P=>{(c==null?void 0:c.onForceNewPasswordSubmit)?t("forceNewPasswordSubmit",P):A.value.submit(P)},Fe=P=>{(c==null?void 0:c.onSignUpSubmit)?t("signUpSubmit",P):C.value.submit()},ln=P=>{(c==null?void 0:c.onVerifyUserSubmit)?t("verifyUserSubmit",P):T.value.submit(P)},Qt=P=>{(c==null?void 0:c.onConfirmVerifyUserSubmit)?t("confirmVerifyUserSubmit",P):B.value.submit(P)},er=a.ref(null),tr=a.ref();a.watch(()=>g.value.context,()=>{const{user:P,signOut:Se}=Xs({send:h,state:g.value});er.value=P,tr.value=Se});const Pt=a.computed(()=>{var P,Se;return((P=p.value)==null?void 0:P.matches("signIn"))||((Se=p.value)==null?void 0:Se.matches("signUp"))});return(P,Se)=>{var nr,b,k,F,N,z,j,Z,H,le,de,ke;const rr=hE,cn=bE;return a.openBlock(),a.createElementBlock(a.Fragment,null,[((nr=a.unref(g))==null?void 0:nr.matches("authenticated"))?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("div",a.mergeProps({key:0},P.$attrs,{"data-amplify-authenticator":"","data-variation":o}),[a.createElementVNode("div",hA,[a.renderSlot(P.$slots,"header"),a.createElementVNode("div",{"data-amplify-router":"","data-amplify-router-content":a.unref(Pt)?void 0:""},[a.unref(Pt)&&!l?(a.openBlock(),a.createBlock(cn,{key:0},{default:a.withCtx(()=>{var D,V;return[a.createVNode(rr,{active:(D=a.unref(p))==null?void 0:D.matches("signIn"),id:44472,label:a.unref(O),onClick:Se[0]||(Se[0]=We=>a.unref(h)("SIGN_IN"))},null,8,["active","label"]),a.createVNode(rr,{active:(V=a.unref(p))==null?void 0:V.matches("signUp"),id:44471,label:a.unref(U),onClick:Se[1]||(Se[1]=We=>a.unref(h)("SIGN_UP"))},null,8,["active","label"])]}),_:1})):a.createCommentVNode("",!0),a.unref(Pt)?(a.openBlock(),a.createElementBlock("div",yA,[((b=a.unref(p))==null?void 0:b.matches("signIn"))?(a.openBlock(),a.createBlock(Fa,{key:0,onSignInSubmit:L,ref:(D,V)=>{V.signInComponent=D,y.value=D}},{signInSlotI:a.withCtx(()=>[a.renderSlot(P.$slots,"sign-in")]),form:a.withCtx(({info:D,onSignInSubmit:V,onForgotPasswordClicked:We,onInput:ar})=>[a.renderSlot(P.$slots,"sign-in-form",{info:D,onInput:ar,onSignInSubmit:V,onForgotPasswordClicked:We})]),header:a.withCtx(()=>[a.renderSlot(P.$slots,"sign-in-header")]),footer:a.withCtx(()=>[a.renderSlot(P.$slots,"sign-in-footer")]),_:3},512)):a.createCommentVNode("",!0),((k=a.unref(p))==null?void 0:k.matches("signUp"))&&!l?(a.openBlock(),a.createBlock(Da,{key:1,onSignUpSubmit:Fe,ref:(D,V)=>{V.signUpComponent=D,C.value=D}},{signUpSlotI:a.withCtx(()=>[a.renderSlot(P.$slots,"sign-up")]),header:a.withCtx(()=>[a.renderSlot(P.$slots,"sign-up-header")]),"signup-fields":a.withCtx(({info:D})=>[a.renderSlot(P.$slots,"sign-up-fields",{info:D})]),footer:a.withCtx(()=>[a.renderSlot(P.$slots,"sign-up-footer")]),_:3},512)):a.createCommentVNode("",!0)])):a.createCommentVNode("",!0),((F=a.unref(p))==null?void 0:F.matches("confirmSignUp"))?(a.openBlock(),a.createBlock(Oa,{key:2,onConfirmSignUpSubmit:W,ref:(D,V)=>{V.confirmSignUpComponent=D,S.value=D}},{confirmSignUpSlotI:a.withCtx(()=>[a.renderSlot(P.$slots,"confirm-sign-up")]),header:a.withCtx(()=>[a.renderSlot(P.$slots,"confirm-sign-up-header")]),footer:a.withCtx(({onConfirmSignUpSubmit:D,onLostCodeClicked:V})=>[a.renderSlot(P.$slots,"confirm-sign-up-footer",{onConfirmSignUpSubmit:D,onLostCodeClicked:V})]),_:3},512)):a.createCommentVNode("",!0),((N=a.unref(p))==null?void 0:N.matches("resetPassword"))?(a.openBlock(),a.createBlock(to,{key:3,onResetPasswordSubmit:be,ref:(D,V)=>{V.resetPasswordComponent=D,E.value=D}},{resetPasswordSlotI:a.withCtx(()=>[a.renderSlot(P.$slots,"reset-password")]),header:a.withCtx(()=>[a.renderSlot(P.$slots,"reset-password-header")]),footer:a.withCtx(({onResetPasswordSubmit:D,onBackToSignInClicked:V})=>[a.renderSlot(P.$slots,"reset-password-footer",{onResetPasswordSubmit:D,onBackToSignInClicked:V})]),_:3},512)):a.createCommentVNode("",!0),((z=a.unref(p))==null?void 0:z.matches("confirmResetPassword"))?(a.openBlock(),a.createBlock(ro,{key:4,onConfirmResetPasswordSubmit:ve,ref:(D,V)=>{V.confirmResetPasswordComponent=D,I.value=D}},{confirmResetPasswordSlotI:a.withCtx(()=>[a.renderSlot(P.$slots,"confirm-reset-password")]),header:a.withCtx(()=>[a.renderSlot(P.$slots,"confirm-reset-password-header")]),footer:a.withCtx(({onConfirmResetPasswordSubmit:D,onLostYourCodeClicked:V})=>[a.renderSlot(P.$slots,"confirm-reset-password-footer",{onConfirmResetPasswordSubmit:D,onLostYourCodeClicked:V})]),_:3},512)):a.createCommentVNode("",!0),((j=a.unref(p))==null?void 0:j.matches("confirmSignIn"))?(a.openBlock(),a.createBlock(Ua,{key:5,onConfirmSignInSubmit:Ye,ref:(D,V)=>{V.confirmSignInComponent=D,w.value=D}},{confirmSignInSlotI:a.withCtx(()=>[a.renderSlot(P.$slots,"confirm-sign-in")]),header:a.withCtx(()=>[a.renderSlot(P.$slots,"confirm-sign-in-header")]),footer:a.withCtx(({onConfirmSignInSubmit:D,onBackToSignInClicked:V})=>[a.renderSlot(P.$slots,"confirm-sign-in-footer",{onConfirmSignInSubmit:D,onBackToSignInClicked:V})]),_:3},512)):a.createCommentVNode("",!0),((Z=a.unref(p))==null?void 0:Z.matches("setupTOTP"))?(a.openBlock(),a.createBlock(mA,{key:6,onConfirmSetupTotpSubmit:Ze,ref:(D,V)=>{V.confirmSetupTOTPComponent=D,x.value=D}},{confirmSetupTOTPI:a.withCtx(()=>[a.renderSlot(P.$slots,"setup-totp")]),header:a.withCtx(()=>[a.renderSlot(P.$slots,"setup-totp-header")]),footer:a.withCtx(({onSetupTOTPSubmit:D,onBackToSignInClicked:V})=>[a.renderSlot(P.$slots,"setup-totp-footer",{onSetupTOTPSubmit:D,onBackToSignInClicked:V})]),_:3},512)):a.createCommentVNode("",!0),((H=a.unref(p))==null?void 0:H.matches("forceNewPassword"))?(a.openBlock(),a.createBlock(eo,{key:7,onForceNewPasswordSubmit:pe,ref:(D,V)=>{V.forceNewPasswordComponent=D,A.value=D}},{forceNewPasswordI:a.withCtx(()=>[a.renderSlot(P.$slots,"force-new-password")]),header:a.withCtx(()=>[a.renderSlot(P.$slots,"force-new-password-header")]),"force-new-password-form-fields":a.withCtx(()=>[a.renderSlot(P.$slots,"force-new-password-form-fields")]),footer:a.withCtx(({onHaveAccountClicked:D,onForceNewPasswordSubmit:V})=>[a.renderSlot(P.$slots,"force-new-password-footer",{onForceNewPasswordSubmit:V,onBackToSignInClicked:D})]),_:3},512)):a.createCommentVNode("",!0),((le=a.unref(p))==null?void 0:le.matches("verifyUser"))?(a.openBlock(),a.createBlock(no,{key:8,onVerifyUserSubmit:ln,ref:(D,V)=>{V.verifyUserComponent=D,T.value=D}},{verifyUserSlotI:a.withCtx(()=>[a.renderSlot(P.$slots,"verify-user")]),header:a.withCtx(()=>[a.renderSlot(P.$slots,"verify-user-header")]),footer:a.withCtx(({onVerifyUserSubmit:D,onSkipClicked:V})=>[a.renderSlot(P.$slots,"verify-user-footer",{onVerifyUserSubmit:D,onSkipClicked:V})]),_:3},512)):a.createCommentVNode("",!0),((de=a.unref(p))==null?void 0:de.matches("confirmVerifyUser"))?(a.openBlock(),a.createBlock(ao,{key:9,onConfirmVerifyUserSubmit:Qt,ref:(D,V)=>{V.confirmVerifyUserComponent=D,B.value=D}},{confirmVerifyUserSlotI:a.withCtx(()=>[a.renderSlot(P.$slots,"confirm-verify-user")]),header:a.withCtx(()=>[a.renderSlot(P.$slots,"confirm-verify-user-header")]),footer:a.withCtx(({onConfirmVerifyUserSubmit:D,onSkipClicked:V})=>[a.renderSlot(P.$slots,"confirm-verify-user-footer",{onConfirmVerifyUserSubmit:D,onSkipClicked:V})]),_:3},512)):a.createCommentVNode("",!0)],8,gA),a.renderSlot(P.$slots,"footer")])],16)),((ke=a.unref(g))==null?void 0:ke.matches("authenticated"))?a.renderSlot(P.$slots,"default",{key:1,user:er.value,state:a.unref(g),signOut:tr.value,send:a.unref(h)}):a.createCommentVNode("",!0)],64)}}}),ku=a.defineComponent({props:{info:{type:Object}},setup(e){return()=>e.info}}),Nu=a.defineComponent({props:{label:{default:""},id:{default:""},autocomplete:{default:""},placeholder:{default:""},required:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},name:{default:""},type:{default:"text"},hideLabel:{type:Boolean,default:!0}},setup(e){const t=e,{label:r,id:n,autocomplete:o,placeholder:i,required:s,name:u,type:l}=a.toRefs(t);return(d,c)=>{const v=Jr,f=Qr,m=he;return a.openBlock(),a.createElementBlock(a.Fragment,null,[a.createVNode(v,{class:a.normalizeClass(["amplify-label",{"amplify-visually-hidden":e.hideLabel}]),for:a.unref(n)},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(r)),1)]),_:1},8,["class","for"]),a.createVNode(m,{class:"amplify-field-group__field-wrapper"},{default:a.withCtx(()=>[a.createVNode(f,{class:"amplify-input amplify-field-group__control",id:a.unref(n),"aria-invalid":"false",autocomplete:a.unref(o),placeholder:a.unref(i),required:a.unref(s),name:a.unref(u),disabled:e.disabled,type:a.unref(l)},null,8,["id","autocomplete","placeholder","required","name","disabled","type"])]),_:1})],64)}}}),bA={class:"amplify-flex amplify-field amplify-checkboxfield"},CA={class:"amplify-flex amplify-checkbox"},SA={class:"amplify-visually-hidden"},wA=["data-error","data-checked"],_A=["data-checked"],xA=a.createElementVNode("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"},null,-1),EA=[xA],AA=a.createElementVNode("span",{class:"amplify-text amplify-checkbox__label"}," I agree with the Terms & Conditions",-1),IA={key:0,class:"amplify-text amplify-field__error-message"},Bu=a.defineComponent({props:{errorMessage:{default:""}},setup(e){const t=e,r=a.ref(!1),{errorMessage:n}=a.toRefs(t);return(o,i)=>(a.openBlock(),a.createElementBlock("div",bA,[a.createElementVNode("label",CA,[a.createElementVNode("span",SA,[a.createElementVNode("input",{onClick:i[0]||(i[0]=s=>r.value=!r.value),class:"amplify-input amplify-field-group__control amplify-checkbox__input","aria-invalid":"false",type:"checkbox",name:"acknowledgement",value:"yes"})]),a.createElementVNode("span",{class:"amplify-flex amplify-checkbox__button","aria-hidden":"true","data-focus":"false","data-error":!r.value,"data-checked":r.value},[(a.openBlock(),a.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",class:"amplify-icon amplify-checkbox__icon",viewBox:"0 0 24 24",fill:"currentColor","data-checked":r.value},EA,8,_A))],8,wA),AA]),r.value?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("p",IA,a.toDisplayString(a.unref(n)),1))]))}});var $A={install:e=>{e.component("SignIn",Fa),e.component("SignUp",Da),e.component("FederatedSignIn",Xr),e.component("Authenticator",Pu),e.component("RenderInfo",ku),e.component("PasswordControl",Ba),e.component("ForceNewPassword",eo),e.component("ResetPassword",to),e.component("ConfirmResetPassword",ro),e.component("ConfirmSignUp",Oa),e.component("ConfirmSignIn",Ua),e.component("VerifyUser",no),e.component("ConfirmVerifyUser",ao),e.component("AmplifyTextField",Nu),e.component("AmplifyCheckBox",Bu),e.component("AmplifyButton",we),e.component("BaseFormField",lu),e.component("BaseFormFields",je),e.component("AuthenticatorSignUpFormFields",Ra),e.component("AuthenticatorForceNewPasswordFormFields",Qa)}};exports.AmplifyButton=we;exports.AmplifyCheckBox=Bu;exports.AmplifyTextField=Nu;exports.Authenticator=Pu;exports.AuthenticatorForceNewPasswordFormFields=Qa;exports.AuthenticatorSignUpFormFields=Ra;exports.ConfirmResetPassword=ro;exports.ConfirmSignIn=Ua;exports.ConfirmSignUp=Oa;exports.ConfirmVerifyUser=ao;exports.FederatedSignIn=Xr;exports.ForceNewPassword=eo;exports.PasswordControl=Ba;exports.RenderInfo=ku;exports.ResetPassword=to;exports.SignIn=Fa;exports.SignUp=Da;exports.VerifyUser=no;exports.default=$A;exports.translations=N2;exports.useAuthenticator=Ae;