@alma/widgets 2.4.0 → 2.5.0

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.
@@ -1,2 +1,2 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).Alma={})}(this,function(e){var t=function(e){try{return!!e()}catch(e){return!0}},n=!t(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}),r=Function.prototype,o=r.call,a=n&&r.bind.bind(o,o),i=n?function(e){return e&&a(e)}:function(e){return e&&function(){return o.apply(e,arguments)}},l=Math.ceil,u=Math.floor,s=function(e){var t=+e;return t!=t||0===t?0:(t>0?u:l)(t)},c="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function f(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function d(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}},n.exports),n.exports}var p,m,h=function(e){return e&&e.Math==Math&&e},y=h("object"==typeof globalThis&&globalThis)||h("object"==typeof window&&window)||h("object"==typeof self&&self)||h("object"==typeof c&&c)||function(){return this}()||Function("return this")(),g=Object.defineProperty,v=function(e,t){try{g(y,e,{value:t,configurable:!0,writable:!0})}catch(n){y[e]=t}return t},b=y["__core-js_shared__"]||v("__core-js_shared__",{}),E=d(function(e){(e.exports=function(e,t){return b[e]||(b[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.22.1",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),w=y.TypeError,S=function(e){if(null==e)throw w("Can't call method on "+e);return e},_=y.Object,C=function(e){return _(S(e))},O=i({}.hasOwnProperty),k=Object.hasOwn||function(e,t){return O(C(e),t)},T=0,P=Math.random(),N=i(1..toString),x=function(e){return"Symbol("+(void 0===e?"":e)+")_"+N(++T+P,36)},A=function(e){return"function"==typeof e},R=function(e){return A(e)?e:void 0},L=function(e,t){return arguments.length<2?R(y[e]):y[e]&&y[e][t]},I=L("navigator","userAgent")||"",M=y.process,D=y.Deno,F=M&&M.versions||D&&D.version,j=F&&F.v8;j&&(m=(p=j.split("."))[0]>0&&p[0]<4?1:+(p[0]+p[1])),!m&&I&&(!(p=I.match(/Edge\/(\d+)/))||p[1]>=74)&&(p=I.match(/Chrome\/(\d+)/))&&(m=+p[1]);var U=m,z=!!Object.getOwnPropertySymbols&&!t(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&U&&U<41}),V=z&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,G=E("wks"),$=y.Symbol,W=$&&$.for,B=V?$:$&&$.withoutSetter||x,H=function(e){if(!k(G,e)||!z&&"string"!=typeof G[e]){var t="Symbol."+e;G[e]=z&&k($,e)?$[e]:V&&W?W(t):B(t)}return G[e]},q={};q[H("toStringTag")]="z";var Q="[object z]"===String(q),X=i({}.toString),K=i("".slice),Y=function(e){return K(X(e),8,-1)},Z=H("toStringTag"),J=y.Object,ee="Arguments"==Y(function(){return arguments}()),te=Q?Y:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=J(e),Z))?n:ee?Y(t):"Object"==(r=Y(t))&&A(t.callee)?"Arguments":r},ne=y.String,re=function(e){if("Symbol"===te(e))throw TypeError("Cannot convert a Symbol value to a string");return ne(e)},oe=i("".charAt),ae=i("".charCodeAt),ie=i("".slice),le=function(e){return function(t,n){var r,o,a=re(S(t)),i=s(n),l=a.length;return i<0||i>=l?e?"":void 0:(r=ae(a,i))<55296||r>56319||i+1===l||(o=ae(a,i+1))<56320||o>57343?e?oe(a,i):r:e?ie(a,i,i+2):o-56320+(r-55296<<10)+65536}},ue={codeAt:le(!1),charAt:le(!0)},se=i(Function.toString);A(b.inspectSource)||(b.inspectSource=function(e){return se(e)});var ce,fe,de,pe=b.inspectSource,me=y.WeakMap,he=A(me)&&/native code/.test(pe(me)),ye=function(e){return"object"==typeof e?null!==e:A(e)},ge=!t(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),ve=y.document,be=ye(ve)&&ye(ve.createElement),Ee=function(e){return be?ve.createElement(e):{}},we=!ge&&!t(function(){return 7!=Object.defineProperty(Ee("div"),"a",{get:function(){return 7}}).a}),Se=ge&&t(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),_e=y.String,Ce=y.TypeError,Oe=function(e){if(ye(e))return e;throw Ce(_e(e)+" is not an object")},ke=Function.prototype.call,Te=n?ke.bind(ke):function(){return ke.apply(ke,arguments)},Pe=i({}.isPrototypeOf),Ne=y.Object,xe=V?function(e){return"symbol"==typeof e}:function(e){var t=L("Symbol");return A(t)&&Pe(t.prototype,Ne(e))},Ae=y.String,Re=function(e){try{return Ae(e)}catch(e){return"Object"}},Le=y.TypeError,Ie=function(e){if(A(e))return e;throw Le(Re(e)+" is not a function")},Me=function(e,t){var n=e[t];return null==n?void 0:Ie(n)},De=y.TypeError,Fe=y.TypeError,je=H("toPrimitive"),Ue=function(e){var t=function(e,t){if(!ye(e)||xe(e))return e;var n,r=Me(e,je);if(r){if(void 0===t&&(t="default"),n=Te(r,e,t),!ye(n)||xe(n))return n;throw Fe("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&A(n=e.toString)&&!ye(r=Te(n,e)))return r;if(A(n=e.valueOf)&&!ye(r=Te(n,e)))return r;if("string"!==t&&A(n=e.toString)&&!ye(r=Te(n,e)))return r;throw De("Can't convert object to primitive value")}(e,t)}(e,"string");return xe(t)?t:t+""},ze=y.TypeError,Ve=Object.defineProperty,Ge=Object.getOwnPropertyDescriptor,$e={f:ge?Se?function(e,t,n){if(Oe(e),t=Ue(t),Oe(n),"function"==typeof e&&"prototype"===t&&"value"in n&&"writable"in n&&!n.writable){var r=Ge(e,t);r&&r.writable&&(e[t]=n.value,n={configurable:"configurable"in n?n.configurable:r.configurable,enumerable:"enumerable"in n?n.enumerable:r.enumerable,writable:!1})}return Ve(e,t,n)}:Ve:function(e,t,n){if(Oe(e),t=Ue(t),Oe(n),we)try{return Ve(e,t,n)}catch(e){}if("get"in n||"set"in n)throw ze("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},We=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Be=ge?function(e,t,n){return $e.f(e,t,We(1,n))}:function(e,t,n){return e[t]=n,e},He=E("keys"),qe=function(e){return He[e]||(He[e]=x(e))},Qe={},Xe=y.TypeError;if(he||b.state){var Ke=b.state||(b.state=new(0,y.WeakMap)),Ye=i(Ke.get),Ze=i(Ke.has),Je=i(Ke.set);ce=function(e,t){if(Ze(Ke,e))throw new Xe("Object already initialized");return t.facade=e,Je(Ke,e,t),t},fe=function(e){return Ye(Ke,e)||{}},de=function(e){return Ze(Ke,e)}}else{var et=qe("state");Qe[et]=!0,ce=function(e,t){if(k(e,et))throw new Xe("Object already initialized");return t.facade=e,Be(e,et,t),t},fe=function(e){return k(e,et)?e[et]:{}},de=function(e){return k(e,et)}}var tt,nt={set:ce,get:fe,has:de,enforce:function(e){return de(e)?fe(e):ce(e,{})},getterFor:function(e){return function(t){var n;if(!ye(t)||(n=fe(t)).type!==e)throw Xe("Incompatible receiver, "+e+" required");return n}}},rt={}.propertyIsEnumerable,ot=Object.getOwnPropertyDescriptor,at={f:ot&&!rt.call({1:2},1)?function(e){var t=ot(this,e);return!!t&&t.enumerable}:rt},it=y.Object,lt=i("".split),ut=t(function(){return!it("z").propertyIsEnumerable(0)})?function(e){return"String"==Y(e)?lt(e,""):it(e)}:it,st=function(e){return ut(S(e))},ct=Object.getOwnPropertyDescriptor,ft={f:ge?ct:function(e,t){if(e=st(e),t=Ue(t),we)try{return ct(e,t)}catch(e){}if(k(e,t))return We(!Te(at.f,e,t),e[t])}},dt=Function.prototype,pt=ge&&Object.getOwnPropertyDescriptor,mt=k(dt,"name"),ht={EXISTS:mt,PROPER:mt&&"something"===function(){}.name,CONFIGURABLE:mt&&(!ge||ge&&pt(dt,"name").configurable)},yt=d(function(e){var t=ht.CONFIGURABLE,n=nt.get,r=nt.enforce,o=String(String).split("String");(e.exports=function(e,n,a,i){var l,u=!!i&&!!i.unsafe,s=!!i&&!!i.enumerable,c=!!i&&!!i.noTargetGet,f=i&&void 0!==i.name?i.name:n;A(a)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!k(a,"name")||t&&a.name!==f)&&Be(a,"name",f),(l=r(a)).source||(l.source=o.join("string"==typeof f?f:""))),e!==y?(u?!c&&e[n]&&(s=!0):delete e[n],s?e[n]=a:Be(e,n,a)):s?e[n]=a:v(n,a)})(Function.prototype,"toString",function(){return A(this)&&n(this).source||pe(this)})}),gt=Math.max,vt=Math.min,bt=Math.min,Et=function(e){return(t=e.length)>0?bt(s(t),9007199254740991):0;var t},wt=function(e){return function(t,n,r){var o,a=st(t),i=Et(a),l=function(e,t){var n=s(e);return n<0?gt(n+t,0):vt(n,t)}(r,i);if(e&&n!=n){for(;i>l;)if((o=a[l++])!=o)return!0}else for(;i>l;l++)if((e||l in a)&&a[l]===n)return e||l||0;return!e&&-1}},St=(wt(!0),wt(!1)),_t=i([].push),Ct=function(e,t){var n,r=st(e),o=0,a=[];for(n in r)!k(Qe,n)&&k(r,n)&&_t(a,n);for(;t.length>o;)k(r,n=t[o++])&&(~St(a,n)||_t(a,n));return a},Ot=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],kt=Ot.concat("length","prototype"),Tt={f:Object.getOwnPropertyNames||function(e){return Ct(e,kt)}},Pt={f:Object.getOwnPropertySymbols},Nt=i([].concat),xt=L("Reflect","ownKeys")||function(e){var t=Tt.f(Oe(e)),n=Pt.f;return n?Nt(t,n(e)):t},At=function(e,t,n){for(var r=xt(t),o=$e.f,a=ft.f,i=0;i<r.length;i++){var l=r[i];k(e,l)||n&&k(n,l)||o(e,l,a(t,l))}},Rt=/#|\.prototype\./,Lt=function(e,n){var r=Mt[It(e)];return r==Ft||r!=Dt&&(A(n)?t(n):!!n)},It=Lt.normalize=function(e){return String(e).replace(Rt,".").toLowerCase()},Mt=Lt.data={},Dt=Lt.NATIVE="N",Ft=Lt.POLYFILL="P",jt=Lt,Ut=ft.f,zt=function(e,t){var n,r,o,a,i,l=e.target,u=e.global,s=e.stat;if(n=u?y:s?y[l]||v(l,{}):(y[l]||{}).prototype)for(r in t){if(a=t[r],o=e.noTargetGet?(i=Ut(n,r))&&i.value:n[r],!jt(u?r:l+(s?".":"#")+r,e.forced)&&void 0!==o){if(typeof a==typeof o)continue;At(a,o)}(e.sham||o&&o.sham)&&Be(a,"sham",!0),yt(n,r,a,e)}},Vt=Object.keys||function(e){return Ct(e,Ot)},Gt={f:ge&&!Se?Object.defineProperties:function(e,t){Oe(e);for(var n,r=st(t),o=Vt(t),a=o.length,i=0;a>i;)$e.f(e,n=o[i++],r[n]);return e}},$t=L("document","documentElement"),Wt=qe("IE_PROTO"),Bt=function(){},Ht=function(e){return"<script>"+e+"<\/script>"},qt=function(e){e.write(Ht("")),e.close();var t=e.parentWindow.Object;return e=null,t},Qt=function(){try{tt=new ActiveXObject("htmlfile")}catch(e){}var e,t;Qt="undefined"!=typeof document?document.domain&&tt?qt(tt):((t=Ee("iframe")).style.display="none",$t.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Ht("document.F=Object")),e.close(),e.F):qt(tt);for(var n=Ot.length;n--;)delete Qt.prototype[Ot[n]];return Qt()};Qe[Wt]=!0;var Xt,Kt,Yt,Zt=Object.create||function(e,t){var n;return null!==e?(Bt.prototype=Oe(e),n=new Bt,Bt.prototype=null,n[Wt]=e):n=Qt(),void 0===t?n:Gt.f(n,t)},Jt=!t(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),en=qe("IE_PROTO"),tn=y.Object,nn=tn.prototype,rn=Jt?tn.getPrototypeOf:function(e){var t=C(e);if(k(t,en))return t[en];var n=t.constructor;return A(n)&&t instanceof n?n.prototype:t instanceof tn?nn:null},on=H("iterator"),an=!1;[].keys&&("next"in(Yt=[].keys())?(Kt=rn(rn(Yt)))!==Object.prototype&&(Xt=Kt):an=!0),(null==Xt||t(function(){var e={};return Xt[on].call(e)!==e}))&&(Xt={}),A(Xt[on])||yt(Xt,on,function(){return this});var ln={IteratorPrototype:Xt,BUGGY_SAFARI_ITERATORS:an},un=$e.f,sn=H("toStringTag"),cn=function(e,t,n){e&&!n&&(e=e.prototype),e&&!k(e,sn)&&un(e,sn,{configurable:!0,value:t})},fn={},dn=ln.IteratorPrototype,pn=function(){return this},mn=y.String,hn=y.TypeError,yn=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=i(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return Oe(n),function(e){if("object"==typeof e||A(e))return e;throw hn("Can't set "+mn(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),gn=ln.IteratorPrototype,vn=ln.BUGGY_SAFARI_ITERATORS,bn=H("iterator"),En=function(){return this},wn=ue.charAt,Sn=nt.set,_n=nt.getterFor("String Iterator");!function(e,t,n,r,o,a,i){!function(e,t,n,r){e.prototype=Zt(dn,{next:We(1,function(){var e,t=_n(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=wn(n,r),t.index+=e.length,{value:e,done:!1})})}),cn(e,"String Iterator",!1),fn["String Iterator"]=pn}(n);var l,u,s,c=function(e){if(void 0===e&&p)return p;if(!vn&&e in f)return f[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},f=e.prototype,d=f[bn]||f["@@iterator"]||void 0,p=!vn&&d||c(void 0);if(void(d&&(l=rn(d.call(new e)))!==Object.prototype&&l.next&&(rn(l)!==gn&&(yn?yn(l,gn):A(l[bn])||yt(l,bn,En)),cn(l,"String Iterator",!0))))if(void(u={values:c("values"),keys:c("keys"),entries:c("entries")}))for(s in u)(vn||!(s in f))&&yt(f,s,u[s]);else zt({target:"String",proto:!0,forced:vn||!1},u);f[bn]!==p&&yt(f,bn,p,{name:void 0}),fn.String=p}(String,0,function(e){Sn(this,{type:"String Iterator",string:re(e),index:0})});var Cn=i(i.bind),On=function(e,t){return Ie(e),void 0===t?e:n?Cn(e,t):function(){return e.apply(t,arguments)}},kn=function(e,t,n,r){try{return r?t(Oe(n)[0],n[1]):t(n)}catch(t){!function(e,t,n){var r;Oe(e);try{if(!(r=Me(e,"return")))throw n;r=Te(r,e)}catch(e){r=e}throw n}(e,0,t)}},Tn=H("iterator"),Pn=Array.prototype,Nn=function(e){return void 0!==e&&(fn.Array===e||Pn[Tn]===e)},xn=function(){},An=[],Rn=L("Reflect","construct"),Ln=/^\s*(?:class|function)\b/,In=i(Ln.exec),Mn=!Ln.exec(xn),Dn=function(e){if(!A(e))return!1;try{return Rn(xn,An,e),!0}catch(e){return!1}},Fn=function(e){if(!A(e))return!1;switch(te(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Mn||!!In(Ln,pe(e))}catch(e){return!0}};Fn.sham=!0;var jn=!Rn||t(function(){var e;return Dn(Dn.call)||!Dn(Object)||!Dn(function(){e=!0})||e})?Fn:Dn,Un=function(e,t,n){var r=Ue(t);r in e?$e.f(e,r,We(0,n)):e[r]=n},zn=H("iterator"),Vn=function(e){if(null!=e)return Me(e,zn)||Me(e,"@@iterator")||fn[te(e)]},Gn=y.TypeError,$n=function(e,t){var n=arguments.length<2?Vn(e):t;if(Ie(n))return Oe(Te(n,e));throw Gn(Re(e)+" is not iterable")},Wn=y.Array,Bn=H("iterator"),Hn=!1;try{var qn=0,Qn={next:function(){return{done:!!qn++}},return:function(){Hn=!0}};Qn[Bn]=function(){return this},Array.from(Qn,function(){throw 2})}catch(e){}var Xn,Kn,Yn,Zn,Jn=!function(e,t){if(!Hn)return!1;var n=!1;try{var r={};r[Bn]=function(){return{next:function(){return{done:n=!0}}}},Array.from(r)}catch(e){}return n}();function er(e){return Number((e/100).toFixed(2))}zt({target:"Array",stat:!0,forced:Jn},{from:function(e){var t=C(e),n=jn(this),r=arguments.length,o=r>1?arguments[1]:void 0,a=void 0!==o;a&&(o=On(o,r>2?arguments[2]:void 0));var i,l,u,s,c,f,d=Vn(t),p=0;if(!d||this==Wn&&Nn(d))for(i=Et(t),l=n?new this(i):Wn(i);i>p;p++)f=a?o(t[p],p):t[p],Un(l,p,f);else for(c=(s=$n(t,d)).next,l=n?new this:[];!(u=Te(c,s)).done;p++)f=a?kn(s,o,[u.value,p],!0):u.value,Un(l,p,f);return l.length=p,l}}),function(e){e.PaymentPlans="PaymentPlans",e.Modal="Modal"}(Xn||(Xn={})),function(e){e.PENDING="pending",e.SUCCESS="success",e.FAILED="failed"}(Kn||(Kn={})),function(e){e.en="en",e.fr="fr",e.de="de",e.it="it",e.es="es",e.nl="nl",e["nl-NL"]="nl-NL",e["nl-BE"]="nl-BE"}(Yn||(Yn={})),"function"!=typeof(Zn=window.Element.prototype).matches&&(Zn.matches=Zn.msMatchesSelector||Zn.mozMatchesSelector||Zn.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=0;t[n]&&t[n]!==this;)++n;return Boolean(t[n])}),"function"!=typeof Zn.closest&&(Zn.closest=function(e){for(var t=this;t&&1===t.nodeType;){if(t.matches(e))return t;t=t.parentNode}return null}),"".trim||(String.prototype.trim=function(){return this.replace(/^[\s]+|[\s]+$/g,"")}),function(e){e.DOMException||((DOMException=function(e){this.message=e}).prototype=new Error);var t,n,r=/[\11\12\14\15\40]/,o=0,a=function(e,t){if(""===t)throw new DOMException("Failed to execute '"+e+"' on 'DOMTokenList': The token provided must not be empty.");if(-1!==(o=t.search(r)))throw new DOMException("Failed to execute '"+e+"' on 'DOMTokenList': The token provided ('"+t[o]+"') contains HTML space characters, which are not valid in tokens.")};"function"!=typeof DOMTokenList&&function(e){var t=e.document,n=e.Object,o=n.prototype.hasOwnProperty,i=n.defineProperty,l=0,u=0,s=function(){if(!l)throw TypeError("Illegal constructor")};function c(){var t=e.event,n=t.propertyName;if(!u&&("className"===n||"classList"===n&&!i)){var o=t.srcElement,a=o[" uCLp"],l=""+o[n],s=l.trim().split(r),c=o["classList"===n?" uCL":"classList"],f=a.length;e:for(var d=0,p=a.length=s.length,m=0;d!==p;++d){for(var h=0;h!==d;++h)if(s[h]===s[d]){m++;continue e}c[d-m]=s[d]}for(var y=p-m;y<f;++y)delete c[y];if("classList"!==n)return;u=1,o.classList=c,o.className=l,u=0,c.length=s.length-m}}function f(e){if(!e||!("innerHTML"in e))throw TypeError("Illegal invocation");e.detachEvent("onpropertychange",c),l=1;try{var t=function(){};t.prototype=new s}finally{l=0}var n=t.prototype,o=new t;e:for(var a=e.className.trim().split(r),f=0,d=a.length,p=0;f!==d;++f){for(var m=0;m!==f;++m)if(a[m]===a[f]){p++;continue e}this[f-p]=a[f]}n.length=d-p,n.value=e.className,n[" uCL"]=e,i?(i(e,"classList",{enumerable:1,get:function(){return o},configurable:0,set:function(t){u=1,e.className=n.value=t+="",u=0;var a=t.trim().split(r),i=n.length;e:for(var l=0,s=n.length=a.length,c=0;l!==s;++l){for(var f=0;f!==l;++f)if(a[f]===a[l]){c++;continue e}o[l-c]=a[l]}for(var d=s-c;d<i;++d)delete o[d]}}),i(e," uCLp",{enumerable:0,configurable:0,writeable:0,value:t.prototype}),i(n," uCL",{enumerable:0,configurable:0,writeable:0,value:e})):(e.classList=o,e[" uCL"]=o,e[" uCLp"]=t.prototype),e.attachEvent("onpropertychange",c)}s.prototype.toString=s.prototype.toLocaleString=function(){return this.value},s.prototype.add=function(){e:for(var e=0,t=arguments.length,n="",r=this[" uCL"],o=r[" uCLp"];e!==t;++e){a("add",n=arguments[e]+"");for(var i=0,l=o.length,s=n;i!==l;++i){if(this[i]===n)continue e;s+=" "+this[i]}this[l]=n,o.length+=1,o.value=s}u=1,r.className=o.value,u=0},s.prototype.remove=function(){for(var e=0,t=arguments.length,n="",r=this[" uCL"],o=r[" uCLp"];e!==t;++e){a("remove",n=arguments[e]+"");for(var i=0,l=o.length,s="",c=0;i!==l;++i)c?this[i-1]=this[i]:this[i]!==n?s+=this[i]+" ":c=1;c&&(delete this[l],o.length-=1,o.value=s)}u=1,r.className=o.value,u=0},e.DOMTokenList=s;try{e.Object.defineProperty(e.Element.prototype,"classList",{enumerable:1,get:function(e){return o.call(this,"classList")||f(this),this.classList},configurable:0,set:function(e){this.className=e}})}catch(n){e[" uCL"]=f,t.documentElement.firstChild.appendChild(t.createElement("style")).styleSheet.cssText='_*{x-uCLp:expression(!this.hasOwnProperty("classList")&&window[" uCL"](this))}[class]{x-uCLp/**/:expression(!this.hasOwnProperty("classList")&&window[" uCL"](this))}'}}(e),t=e.DOMTokenList.prototype,n=e.document.createElement("div").classList,t.item||(t.item=function(e){return function(e){return void 0===e?null:e}(this[e])}),t.toggle&&!1===n.toggle("a",0)||(t.toggle=function(e){if(arguments.length>1)return this[arguments[1]?"add":"remove"](e),!!arguments[1];var t=this.value;return this.remove(t),t===this.value&&(this.add(e),!0)}),t.replace&&"boolean"==typeof n.replace("a","b")||(t.replace=function(e,t){a("replace",e),a("replace",t);var n=this.value;return this.remove(e),this.value!==n&&(this.add(t),!0)}),t.contains||(t.contains=function(e){for(var t=0,n=this.length;t!==n;++t)if(this[t]===e)return!0;return!1}),t.forEach||(t.forEach=function(e){if(1===arguments.length)for(var t=0,n=this.length;t!==n;++t)e(this[t],t,this);else{t=0,n=this.length;for(var r=arguments[1];t!==n;++t)e.call(r,this[t],t,this)}}),t.entries||(t.entries=function(){var e=this;return{next:function(){return 0<e.length?{value:[0,e[0]],done:!1}:{done:!0}}}}),t.values||(t.values=function(){var e=this;return{next:function(){return 0<e.length?{value:e[0],done:!1}:{done:!0}}}}),t.keys||(t.keys=function(){var e=this;return{next:function(){return 0<e.length?{value:0,done:!1}:{done:!0}}}})}(window);var tr=Object.getOwnPropertySymbols,nr=Object.prototype.hasOwnProperty,rr=Object.prototype.propertyIsEnumerable;function or(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var ar=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,r,o=or(e),a=1;a<arguments.length;a++){for(var i in n=Object(arguments[a]))nr.call(n,i)&&(o[i]=n[i]);if(tr){r=tr(n);for(var l=0;l<r.length;l++)rr.call(n,r[l])&&(o[r[l]]=n[r[l]])}}return o},ir=d(function(e,t){var n=60103,r=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var o=60109,a=60110,i=60112;t.Suspense=60113;var l=60115,u=60116;if("function"==typeof Symbol&&Symbol.for){var s=Symbol.for;n=s("react.element"),r=s("react.portal"),t.Fragment=s("react.fragment"),t.StrictMode=s("react.strict_mode"),t.Profiler=s("react.profiler"),o=s("react.provider"),a=s("react.context"),i=s("react.forward_ref"),t.Suspense=s("react.suspense"),l=s("react.memo"),u=s("react.lazy")}var c="function"==typeof Symbol&&Symbol.iterator;function f(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},p={};function m(e,t,n){this.props=e,this.context=t,this.refs=p,this.updater=n||d}function h(){}function y(e,t,n){this.props=e,this.context=t,this.refs=p,this.updater=n||d}m.prototype.isReactComponent={},m.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(f(85));this.updater.enqueueSetState(this,e,t,"setState")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},h.prototype=m.prototype;var g=y.prototype=new h;g.constructor=y,ar(g,m.prototype),g.isPureReactComponent=!0;var v={current:null},b=Object.prototype.hasOwnProperty,E={key:!0,ref:!0,__self:!0,__source:!0};function w(e,t,r){var o,a={},i=null,l=null;if(null!=t)for(o in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(i=""+t.key),t)b.call(t,o)&&!E.hasOwnProperty(o)&&(a[o]=t[o]);var u=arguments.length-2;if(1===u)a.children=r;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];a.children=s}if(e&&e.defaultProps)for(o in u=e.defaultProps)void 0===a[o]&&(a[o]=u[o]);return{$$typeof:n,type:e,key:i,ref:l,props:a,_owner:v.current}}function S(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var _=/\/+/g;function C(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}(""+e.key):t.toString(36)}function O(e,t,o){if(null==e)return e;var a=[],i=0;return function e(t,o,a,i,l){var u=typeof t;"undefined"!==u&&"boolean"!==u||(t=null);var s=!1;if(null===t)s=!0;else switch(u){case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case n:case r:s=!0}}if(s)return l=l(s=t),t=""===i?"."+C(s,0):i,Array.isArray(l)?(a="",null!=t&&(a=t.replace(_,"$&/")+"/"),e(l,o,a,"",function(e){return e})):null!=l&&(S(l)&&(l=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(l,a+(!l.key||s&&s.key===l.key?"":(""+l.key).replace(_,"$&/")+"/")+t)),o.push(l)),1;if(s=0,i=""===i?".":i+":",Array.isArray(t))for(var d=0;d<t.length;d++){var p=i+C(u=t[d],d);s+=e(u,o,a,p,l)}else if("function"==typeof(p=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=c&&e[c]||e["@@iterator"])?e:null}(t)))for(t=p.call(t),d=0;!(u=t.next()).done;)s+=e(u=u.value,o,a,p=i+C(u,d++),l);else if("object"===u)throw o=""+t,Error(f(31,"[object Object]"===o?"object with keys {"+Object.keys(t).join(", ")+"}":o));return s}(e,a,"","",function(e){return t.call(o,e,i++)}),a}function k(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then(function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)},function(t){0===e._status&&(e._status=2,e._result=t)})}if(1===e._status)return e._result;throw e._result}var T={current:null};function P(){var e=T.current;if(null===e)throw Error(f(321));return e}var N={ReactCurrentDispatcher:T,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:v,IsSomeRendererActing:{current:!1},assign:ar};t.Children={map:O,forEach:function(e,t,n){O(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return O(e,function(){t++}),t},toArray:function(e){return O(e,function(e){return e})||[]},only:function(e){if(!S(e))throw Error(f(143));return e}},t.Component=m,t.PureComponent=y,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=N,t.cloneElement=function(e,t,r){if(null==e)throw Error(f(267,e));var o=ar({},e.props),a=e.key,i=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,l=v.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(s in t)b.call(t,s)&&!E.hasOwnProperty(s)&&(o[s]=void 0===t[s]&&void 0!==u?u[s]:t[s])}var s=arguments.length-2;if(1===s)o.children=r;else if(1<s){u=Array(s);for(var c=0;c<s;c++)u[c]=arguments[c+2];o.children=u}return{$$typeof:n,type:e.type,key:a,ref:i,props:o,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:a,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:o,_context:e},e.Consumer=e},t.createElement=w,t.createFactory=function(e){var t=w.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:i,render:e}},t.isValidElement=S,t.lazy=function(e){return{$$typeof:u,_payload:{_status:-1,_result:e},_init:k}},t.memo=function(e,t){return{$$typeof:l,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return P().useCallback(e,t)},t.useContext=function(e,t){return P().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return P().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return P().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return P().useLayoutEffect(e,t)},t.useMemo=function(e,t){return P().useMemo(e,t)},t.useReducer=function(e,t,n){return P().useReducer(e,t,n)},t.useRef=function(e){return P().useRef(e)},t.useState=function(e){return P().useState(e)},t.version="17.0.2"}),lr=(d(function(e,t){}),d(function(e){e.exports=ir})),ur=function(e,t){return(ur=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function sr(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ur(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var cr=function(){return(cr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function fr(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function dr(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}var pr="function"==typeof Symbol&&Symbol.for,mr=pr?Symbol.for("react.element"):60103,hr=pr?Symbol.for("react.portal"):60106,yr=pr?Symbol.for("react.fragment"):60107,gr=pr?Symbol.for("react.strict_mode"):60108,vr=pr?Symbol.for("react.profiler"):60114,br=pr?Symbol.for("react.provider"):60109,Er=pr?Symbol.for("react.context"):60110,wr=pr?Symbol.for("react.async_mode"):60111,Sr=pr?Symbol.for("react.concurrent_mode"):60111,_r=pr?Symbol.for("react.forward_ref"):60112,Cr=pr?Symbol.for("react.suspense"):60113,Or=pr?Symbol.for("react.suspense_list"):60120,kr=pr?Symbol.for("react.memo"):60115,Tr=pr?Symbol.for("react.lazy"):60116,Pr=pr?Symbol.for("react.block"):60121,Nr=pr?Symbol.for("react.fundamental"):60117,xr=pr?Symbol.for("react.responder"):60118,Ar=pr?Symbol.for("react.scope"):60119;function Rr(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case mr:switch(e=e.type){case wr:case Sr:case yr:case vr:case gr:case Cr:return e;default:switch(e=e&&e.$$typeof){case Er:case _r:case Tr:case kr:case br:return e;default:return t}}case hr:return t}}}function Lr(e){return Rr(e)===Sr}var Ir,Mr,Dr,Fr={AsyncMode:wr,ConcurrentMode:Sr,ContextConsumer:Er,ContextProvider:br,Element:mr,ForwardRef:_r,Fragment:yr,Lazy:Tr,Memo:kr,Portal:hr,Profiler:vr,StrictMode:gr,Suspense:Cr,isAsyncMode:function(e){return Lr(e)||Rr(e)===wr},isConcurrentMode:Lr,isContextConsumer:function(e){return Rr(e)===Er},isContextProvider:function(e){return Rr(e)===br},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===mr},isForwardRef:function(e){return Rr(e)===_r},isFragment:function(e){return Rr(e)===yr},isLazy:function(e){return Rr(e)===Tr},isMemo:function(e){return Rr(e)===kr},isPortal:function(e){return Rr(e)===hr},isProfiler:function(e){return Rr(e)===vr},isStrictMode:function(e){return Rr(e)===gr},isSuspense:function(e){return Rr(e)===Cr},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===yr||e===Sr||e===vr||e===gr||e===Cr||e===Or||"object"==typeof e&&null!==e&&(e.$$typeof===Tr||e.$$typeof===kr||e.$$typeof===br||e.$$typeof===Er||e.$$typeof===_r||e.$$typeof===Nr||e.$$typeof===xr||e.$$typeof===Ar||e.$$typeof===Pr)},typeOf:Rr};function jr(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}function Ur(e){return e.type===Mr.literal}function zr(e){return e.type===Mr.argument}function Vr(e){return e.type===Mr.number}function Gr(e){return e.type===Mr.date}function $r(e){return e.type===Mr.time}function Wr(e){return e.type===Mr.select}function Br(e){return e.type===Mr.plural}function Hr(e){return e.type===Mr.pound}function qr(e){return e.type===Mr.tag}function Qr(e){return!(!e||"object"!=typeof e||e.type!==Dr.number)}function Xr(e){return!(!e||"object"!=typeof e||e.type!==Dr.dateTime)}d(function(e,t){}),d(function(e){e.exports=Fr}),function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(Ir||(Ir={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(Mr||(Mr={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(Dr||(Dr={}));var Kr=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Yr=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Zr(e){var t={};return e.replace(Yr,function(e){var n=e.length;switch(e[0]){case"G":t.era=4===n?"long":5===n?"narrow":"short";break;case"y":t.year=2===n?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===n?"short":5===n?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var Jr,eo=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,to=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,no=/^(@+)?(\+|#+)?[rs]?$/g,ro=/(\*)(0+)|(#+)(0+)|(0+)/g,oo=/^(0+)$/;function ao(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(no,function(e,n,r){return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""}),t}function io(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function lo(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!oo.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function uo(e){return io(e)||{}}function so(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n];switch(o.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=o.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=cr(cr(cr({},t),{notation:"scientific"}),o.options.reduce(function(e,t){return cr(cr({},e),uo(t))},{}));continue;case"engineering":t=cr(cr(cr({},t),{notation:"engineering"}),o.options.reduce(function(e,t){return cr(cr({},e),uo(t))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(o.options[0]);continue;case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(ro,function(e,n,r,o,a,i){if(n)t.minimumIntegerDigits=r.length;else{if(o&&a)throw new Error("We currently do not support maximum integer digits");if(i)throw new Error("We currently do not support exact integer digits")}return""});continue}if(oo.test(o.stem))t.minimumIntegerDigits=o.stem.length;else if(to.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(to,function(e,n,r,o,a,i){return"*"===r?t.minimumFractionDigits=n.length:o&&"#"===o[0]?t.maximumFractionDigits=o.length:a&&i?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+i.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""});var a=o.options[0];"w"===a?t=cr(cr({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=cr(cr({},t),ao(a)))}else if(no.test(o.stem))t=cr(cr({},t),ao(o.stem));else{var i=io(o.stem);i&&(t=cr(cr({},t),i));var l=lo(o.stem);l&&(t=cr(cr({},t),l))}}return t}var co=new RegExp("^".concat(Kr.source,"*")),fo=new RegExp("".concat(Kr.source,"*$"));function po(e,t){return{start:e,end:t}}var mo=!!String.prototype.startsWith,ho=!!String.fromCodePoint,yo=!!Object.fromEntries,go=!!String.prototype.codePointAt,vo=!!String.prototype.trimStart,bo=!!String.prototype.trimEnd,Eo=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},wo=!0;try{wo="a"===(null===(Jr=No("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Jr?void 0:Jr[0])}catch(e){wo=!1}var So,_o=mo?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Co=ho?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",o=e.length,a=0;o>a;){if((n=e[a++])>1114111)throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},Oo=yo?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n];t[o[0]]=o[1]}return t},ko=go?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||t>=n)){var r,o=e.charCodeAt(t);return o<55296||o>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?o:r-56320+(o-55296<<10)+65536}},To=vo?function(e){return e.trimStart()}:function(e){return e.replace(co,"")},Po=bo?function(e){return e.trimEnd()}:function(e){return e.replace(fo,"")};function No(e,t){return new RegExp(e,t)}if(wo){var xo=No("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");So=function(e,t){var n;return xo.lastIndex=t,null!==(n=xo.exec(e)[1])&&void 0!==n?n:""}}else So=function(e,t){for(var n=[];;){var r=ko(e,t);if(void 0===r||Io(r)||Mo(r))break;n.push(r),t+=r>=65536?2:1}return Co.apply(void 0,n)};var Ao=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var o=this.char();if(123===o){if((a=this.parseArgument(e,n)).err)return a;r.push(a.val)}else{if(125===o&&e>0)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(Ir.UNMATCHED_CLOSING_TAG,po(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Ro(this.peek()||0)){if((a=this.parseTag(e,t)).err)return a;r.push(a.val)}else{var a;if((a=this.parseLiteral(e,t)).err)return a;r.push(a.val)}}else{var i=this.clonePosition();this.bump(),r.push({type:Mr.pound,location:po(i,this.clonePosition())})}}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Mr.literal,value:"<".concat(r,"/>"),location:po(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;var a=o.val,i=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Ro(this.char()))return this.error(Ir.INVALID_TAG,po(i,this.clonePosition()));var l=this.clonePosition();return r!==this.parseTagName()?this.error(Ir.UNMATCHED_CLOSING_TAG,po(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Mr.tag,value:r,children:a,location:po(n,this.clonePosition())},err:null}:this.error(Ir.INVALID_TAG,po(i,this.clonePosition())))}return this.error(Ir.UNCLOSED_TAG,po(n,this.clonePosition()))}return this.error(Ir.INVALID_TAG,po(n,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&Lo(this.char());)this.bump();return this.message.slice(e,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var o=this.tryParseQuote(t);if(o)r+=o;else{var a=this.tryParseUnquoted(e,t);if(a)r+=a;else{var i=this.tryParseLeftAngleBracket();if(!i)break;r+=i}}}var l=po(n,this.clonePosition());return{val:{type:Mr.literal,value:r,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Ro(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return Co.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&e>0?null:(this.bump(),Co(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Ir.EXPECT_ARGUMENT_CLOSING_BRACE,po(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Ir.EMPTY_ARGUMENT,po(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(Ir.MALFORMED_ARGUMENT,po(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Ir.EXPECT_ARGUMENT_CLOSING_BRACE,po(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Mr.argument,value:r,location:po(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Ir.EXPECT_ARGUMENT_CLOSING_BRACE,po(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(Ir.MALFORMED_ARGUMENT,po(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=So(this.message,t);return this.bumpTo(t+n.length),{value:n,location:po(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var o,a=this.clonePosition(),i=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(i){case"":return this.error(Ir.EXPECT_ARGUMENT_TYPE,po(a,l));case"number":case"date":case"time":this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var s=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(d=Po(y.val)).length)return this.error(Ir.EXPECT_ARGUMENT_STYLE,po(this.clonePosition(),this.clonePosition()));u={style:d,styleLocation:po(s,this.clonePosition())}}if((g=this.tryParseArgumentClose(r)).err)return g;var c=po(r,this.clonePosition());if(u&&_o(null==u?void 0:u.style,"::",0)){var f=To(u.style.slice(2));if("number"===i)return(y=this.parseNumberSkeletonFromString(f,u.styleLocation)).err?y:{val:{type:Mr.number,value:n,location:c,style:y.val},err:null};if(0===f.length)return this.error(Ir.EXPECT_DATE_TIME_SKELETON,c);var d={type:Dr.dateTime,pattern:f,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Zr(f):{}};return{val:{type:"date"===i?Mr.date:Mr.time,value:n,location:c,style:d},err:null}}return{val:{type:"number"===i?Mr.number:"date"===i?Mr.date:Mr.time,value:n,location:c,style:null!==(o=null==u?void 0:u.style)&&void 0!==o?o:null},err:null};case"plural":case"selectordinal":case"select":var p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Ir.EXPECT_SELECT_ARGUMENT_OPTIONS,po(p,cr({},p)));this.bumpSpace();var m=this.parseIdentifierIfPossible(),h=0;if("select"!==i&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(Ir.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,po(this.clonePosition(),this.clonePosition()));var y;if(this.bumpSpace(),(y=this.tryParseDecimalInteger(Ir.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Ir.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return y;this.bumpSpace(),m=this.parseIdentifierIfPossible(),h=y.val}var g,v=this.tryParsePluralOrSelectOptions(e,i,t,m);if(v.err)return v;if((g=this.tryParseArgumentClose(r)).err)return g;var b=po(r,this.clonePosition());return"select"===i?{val:{type:Mr.select,value:n,options:Oo(v.val),location:b},err:null}:{val:{type:Mr.plural,value:n,options:Oo(v.val),offset:h,pluralType:"plural"===i?"cardinal":"ordinal",location:b},err:null};default:return this.error(Ir.INVALID_ARGUMENT_TYPE,po(a,l))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Ir.EXPECT_ARGUMENT_CLOSING_BRACE,po(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Ir.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,po(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,r=e.split(eo).filter(function(e){return e.length>0});n<r.length;n++){var o=r[n].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var a=o[0],i=o.slice(1),l=0,u=i;l<u.length;l++)if(0===u[l].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:i})}return t}(e)}catch(e){return this.error(Ir.INVALID_NUMBER_SKELETON,t)}return{val:{type:Dr.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?so(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var o,a=!1,i=[],l=new Set,u=r.value,s=r.location;;){if(0===u.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var f=this.tryParseDecimalInteger(Ir.EXPECT_PLURAL_ARGUMENT_SELECTOR,Ir.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;s=po(c,this.clonePosition()),u=this.message.slice(c.offset,this.offset())}if(l.has(u))return this.error("select"===t?Ir.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Ir.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,s);"other"===u&&(a=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Ir.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Ir.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,po(this.clonePosition(),this.clonePosition()));var p=this.parseMessage(e+1,t,n);if(p.err)return p;var m=this.tryParseArgumentClose(d);if(m.err)return m;i.push([u,{value:p.val,location:po(d,this.clonePosition())}]),l.add(u),this.bumpSpace(),u=(o=this.parseIdentifierIfPossible()).value,s=o.location}return 0===i.length?this.error("select"===t?Ir.EXPECT_SELECT_ARGUMENT_SELECTOR:Ir.EXPECT_PLURAL_ARGUMENT_SELECTOR,po(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(Ir.MISSING_OTHER_CLAUSE,po(this.clonePosition(),this.clonePosition())):{val:i,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,a=0;!this.isEOF();){var i=this.char();if(!(i>=48&&i<=57))break;o=!0,a=10*a+(i-48),this.bump()}var l=po(r,this.clonePosition());return o?Eo(a*=n)?{val:a,err:null}:this.error(t,l):this.error(e,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=ko(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(_o(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),n=this.message.indexOf(e,t);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Io(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),n=this.message.charCodeAt(t+(e>=65536?2:1));return null!=n?n:null},e}();function Ro(e){return e>=97&&e<=122||e>=65&&e<=90}function Lo(e){return 45===e||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Io(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function Mo(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function Do(e,t){void 0===t&&(t={}),t=cr({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new Ao(e,t).parse();if(n.err){var r=SyntaxError(Ir[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return(null==t?void 0:t.captureLocation)||function e(t){t.forEach(function(t){if(delete t.location,Wr(t)||Br(t))for(var n in t.options)delete t.options[n].location,e(t.options[n].value);else Vr(t)&&Qr(t.style)||(Gr(t)||$r(t))&&Xr(t.style)?delete t.style.location:qr(t)&&e(t.children)})}(n.val),n.val}function Fo(e,t){return(t&&t.strategy?t.strategy:Vo)(e,{cache:t&&t.cache?t.cache:Bo,serializer:t&&t.serializer?t.serializer:Go})}function jo(e,t,n,r){var o,a=null==(o=r)||"number"==typeof o||"boolean"==typeof o?r:n(r),i=t.get(a);return void 0===i&&(i=e.call(this,r),t.set(a,i)),i}function Uo(e,t,n){var r=Array.prototype.slice.call(arguments,3),o=n(r),a=t.get(o);return void 0===a&&(a=e.apply(this,r),t.set(o,a)),a}function zo(e,t,n,r,o){return n.bind(t,e,r,o)}function Vo(e,t){return zo(e,this,1===e.length?jo:Uo,t.cache.create(),t.serializer)}var Go=function(){return JSON.stringify(arguments)};function $o(){this.cache=Object.create(null)}$o.prototype.get=function(e){return this.cache[e]},$o.prototype.set=function(e,t){this.cache[e]=t};var Wo,Bo={create:function(){return new $o}},Ho={variadic:function(e,t){return zo(e,this,Uo,t.cache.create(),t.serializer)},monadic:function(e,t){return zo(e,this,jo,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(Wo||(Wo={}));var qo,Qo=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.code=n,o.originalMessage=r,o}return sr(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Xo=function(e){function t(t,n,r,o){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),Wo.INVALID_VALUE,o)||this}return sr(t,e),t}(Qo),Ko=function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),Wo.INVALID_VALUE,r)||this}return sr(t,e),t}(Qo),Yo=function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),Wo.MISSING_VALUE,n)||this}return sr(t,e),t}(Qo);function Zo(e){return"function"==typeof e}function Jo(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(qo||(qo={}));var ea,ta=function(){function e(t,n,r,o){var a,i,l,u=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=u.formatToParts(e);if(1===t.length)return t[0].value;var n=t.reduce(function(e,t){return e.length&&t.type===qo.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return function e(t,n,r,o,a,i,l){if(1===t.length&&Ur(t[0]))return[{type:qo.literal,value:t[0].value}];for(var u=[],s=0,c=t;s<c.length;s++){var f=c[s];if(Ur(f))u.push({type:qo.literal,value:f.value});else if(Hr(f))"number"==typeof i&&u.push({type:qo.literal,value:r.getNumberFormat(n).format(i)});else{var d=f.value;if(!a||!(d in a))throw new Yo(d,l);var p=a[d];if(zr(f))p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),u.push({type:"string"==typeof p?qo.literal:qo.object,value:p});else if(Gr(f)){var m="string"==typeof f.style?o.date[f.style]:Xr(f.style)?f.style.parsedOptions:void 0;u.push({type:qo.literal,value:r.getDateTimeFormat(n,m).format(p)})}else if($r(f))m="string"==typeof f.style?o.time[f.style]:Xr(f.style)?f.style.parsedOptions:o.time.medium,u.push({type:qo.literal,value:r.getDateTimeFormat(n,m).format(p)});else if(Vr(f))(m="string"==typeof f.style?o.number[f.style]:Qr(f.style)?f.style.parsedOptions:void 0)&&m.scale&&(p*=m.scale||1),u.push({type:qo.literal,value:r.getNumberFormat(n,m).format(p)});else{if(qr(f)){var h=f.children,y=f.value,g=a[y];if(!Zo(g))throw new Ko(y,"function",l);var v=g(e(h,n,r,o,a,i).map(function(e){return e.value}));Array.isArray(v)||(v=[v]),u.push.apply(u,v.map(function(e){return{type:"string"==typeof e?qo.literal:qo.object,value:e}}))}if(Wr(f)){if(!(b=f.options[p]||f.options.other))throw new Xo(f.value,p,Object.keys(f.options),l);u.push.apply(u,e(b.value,n,r,o,a))}else if(Br(f)){var b;if(!(b=f.options["=".concat(p)])){if(!Intl.PluralRules)throw new Qo('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Wo.MISSING_INTL_API,l);var E=r.getPluralRules(n,{type:f.pluralType}).select(p-(f.offset||0));b=f.options[E]||f.options.other}if(!b)throw new Xo(f.value,p,Object.keys(f.options),l);u.push.apply(u,e(b.value,n,r,o,a,p-(f.offset||0)))}}}}return(w=u).length<2?w:w.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===qo.literal&&t.type===qo.literal?n.value+=t.value:e.push(t),e},[]);var w}(u.ast,u.locales,u.formatters,u.formats,e,void 0,u.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(u.locales)[0]}},this.getAst=function(){return u.ast},"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{ignoreTag:null==o?void 0:o.ignoreTag})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(i=e.formats,(l=r)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=l[t])?cr(cr(cr({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=cr(cr({},n[t]),r[t]||{}),e},{})):n),e},cr({},i)):i),this.locales=n,this.formatters=o&&o.formatters||(void 0===(a=this.formatterCache)&&(a={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Fo(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,dr([void 0],t,!1)))},{cache:Jo(a.number),strategy:Ho.variadic}),getDateTimeFormat:Fo(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,dr([void 0],t,!1)))},{cache:Jo(a.dateTime),strategy:Ho.variadic}),getPluralRules:Fo(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,dr([void 0],t,!1)))},{cache:Jo(a.pluralRules),strategy:Ho.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.__parse=Do,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();!function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"}(ea||(ea={}));var na=function(e){function t(n,r,o){var a=this,i=o?o instanceof Error?o:new Error(String(o)):void 0;return(a=e.call(this,"[@formatjs/intl Error ".concat(n,"] ").concat(r," \n").concat(i?"\n".concat(i.message,"\n").concat(i.stack):""))||this).code=n,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(a,t),a}return sr(t,e),t}(Error),ra=function(e){function t(t,n){return e.call(this,ea.UNSUPPORTED_FORMATTER,t,n)||this}return sr(t,e),t}(na),oa=function(e){function t(t,n){return e.call(this,ea.INVALID_CONFIG,t,n)||this}return sr(t,e),t}(na),aa=function(e){function t(t,n){return e.call(this,ea.MISSING_DATA,t,n)||this}return sr(t,e),t}(na),ia=function(e){function t(t,n,r){return e.call(this,ea.FORMAT_ERROR,"".concat(t," \nLocale: ").concat(n,"\n"),r)||this}return sr(t,e),t}(na),la=function(e){function t(t,n,r,o){var a=e.call(this,"".concat(t," \nMessageID: ").concat(null==r?void 0:r.id,"\nDefault Message: ").concat(null==r?void 0:r.defaultMessage,"\nDescription: ").concat(null==r?void 0:r.description," \n"),n,o)||this;return a.descriptor=r,a}return sr(t,e),t}(ia),ua=function(e){function t(t,n){var r=e.call(this,ea.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(n,'", using ').concat(t.defaultMessage?"default message":"id"," as fallback."))||this;return r.descriptor=t,r}return sr(t,e),t}(na);function sa(e,t,n){return void 0===n&&(n={}),t.reduce(function(t,r){return r in e?t[r]=e[r]:r in n&&(t[r]=n[r]),t},{})}var ca={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){},onWarn:function(e){}};function fa(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function da(e,t,n,r){var o,a=e&&e[t];if(a&&(o=a[n]),o)return o;r(new ra("No ".concat(t," format named: ").concat(n)))}function pa(e,t){return Object.keys(e).reduce(function(n,r){return n[r]=cr({timeZone:t},e[r]),n},{})}function ma(e,t){return Object.keys(cr(cr({},e),t)).reduce(function(n,r){return n[r]=cr(cr({},e[r]||{}),t[r]||{}),n},{})}function ha(e,t){if(!t)return e;var n=ta.formats;return cr(cr(cr({},n),e),{date:ma(pa(n.date,t),pa(e.date||{},t)),time:ma(pa(n.time,t),pa(e.time||{},t))})}function ya(e,t,n,r,o){var a=e.locale,i=e.formats,l=e.messages,u=e.defaultLocale,s=e.defaultFormats,c=e.fallbackOnEmptyString,f=e.onError,d=e.timeZone,p=e.defaultRichTextElements;void 0===n&&(n={id:""});var m=n.id,h=n.defaultMessage;jr(!!m,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var y=String(m),g=l&&Object.prototype.hasOwnProperty.call(l,y)&&l[y];if(Array.isArray(g)&&1===g.length&&g[0].type===Mr.literal)return g[0].value;if(!r&&g&&"string"==typeof g&&!p)return g.replace(/'\{(.*?)\}'/gi,"{$1}");if(r=cr(cr({},p),r||{}),i=ha(i,d),s=ha(s,d),!g){if(!1===c&&""===g)return g;if((!h||a&&a.toLowerCase()!==u.toLowerCase())&&f(new ua(n,a)),h)try{return t.getMessageFormat(h,u,s,o).format(r)}catch(e){return f(new la('Error formatting default message for: "'.concat(y,'", rendering default message verbatim'),a,n,e)),"string"==typeof h?h:y}return y}try{return t.getMessageFormat(g,a,i,cr({formatters:t},o||{})).format(r)}catch(e){f(new la('Error formatting message: "'.concat(y,'", using ').concat(h?"default message":"id"," as fallback."),a,n,e))}if(h)try{return t.getMessageFormat(h,u,s,o).format(r)}catch(e){f(new la('Error formatting the default message for: "'.concat(y,'", rendering message verbatim'),a,n,e))}return"string"==typeof g?g:"string"==typeof h?h:y}var ga=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem"];function va(e,t,n,r){var o=e.locale,a=e.formats,i=e.onError,l=e.timeZone;void 0===r&&(r={});var u=r.format,s=cr(cr({},l&&{timeZone:l}),u&&da(a,t,u,i)),c=sa(r,ga,s);return"time"!==t||c.hour||c.minute||c.second||c.timeStyle||c.dateStyle||(c=cr(cr({},c),{hour:"numeric",minute:"numeric"})),n(o,c)}function ba(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],a=n[1],i=void 0===a?{}:a,l="string"==typeof o?new Date(o||0):o;try{return va(e,"date",t,i).format(l)}catch(t){e.onError(new na(ea.FORMAT_ERROR,"Error formatting date.",t))}return String(l)}function Ea(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],a=n[1],i=void 0===a?{}:a,l="string"==typeof o?new Date(o||0):o;try{return va(e,"time",t,i).format(l)}catch(t){e.onError(new na(ea.FORMAT_ERROR,"Error formatting time.",t))}return String(l)}function wa(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],a=n[1],i=n[2],l=void 0===i?{}:i,u=e.timeZone,s=e.locale,c=e.onError,f=sa(l,ga,u?{timeZone:u}:{});try{return t(s,f).formatRange(o,a)}catch(e){c(new na(ea.FORMAT_ERROR,"Error formatting date time range.",e))}return String(o)}function Sa(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],a=n[1],i=void 0===a?{}:a,l="string"==typeof o?new Date(o||0):o;try{return va(e,"date",t,i).formatToParts(l)}catch(t){e.onError(new na(ea.FORMAT_ERROR,"Error formatting date.",t))}return[]}function _a(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],a=n[1],i=void 0===a?{}:a,l="string"==typeof o?new Date(o||0):o;try{return va(e,"time",t,i).formatToParts(l)}catch(t){e.onError(new na(ea.FORMAT_ERROR,"Error formatting time.",t))}return[]}var Ca=["localeMatcher","style","type","fallback"];function Oa(e,t,n,r){var o=e.locale,a=e.onError;Intl.DisplayNames||a(new Qo('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',Wo.MISSING_INTL_API));var i=sa(r,Ca);try{return t(o,i).of(n)}catch(e){a(new na(ea.FORMAT_ERROR,"Error formatting display name.",e))}}var ka=["localeMatcher","type","style"],Ta=Date.now();function Pa(e,t,n,r){void 0===r&&(r={});var o=Na(e,t,n,r).reduce(function(e,t){var n=t.value;return"string"!=typeof n?e.push(n):"string"==typeof e[e.length-1]?e[e.length-1]+=n:e.push(n),e},[]);return 1===o.length?o[0]:o}function Na(e,t,n,r){var o=e.locale,a=e.onError;void 0===r&&(r={}),Intl.ListFormat||a(new Qo('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',Wo.MISSING_INTL_API));var i=sa(r,ka);try{var l={},u=n.map(function(e,t){if("object"==typeof e){var n=function(e){return"".concat(Ta,"_").concat(e,"_").concat(Ta)}(t);return l[n]=e,n}return String(e)});return t(o,i).formatToParts(u).map(function(e){return"literal"===e.type?e:cr(cr({},e),{value:l[e.value]||e.value})})}catch(e){a(new na(ea.FORMAT_ERROR,"Error formatting list.",e))}return n}var xa=["localeMatcher","type"];function Aa(e,t,n,r){var o=e.locale,a=e.onError;void 0===r&&(r={}),Intl.PluralRules||a(new Qo('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Wo.MISSING_INTL_API));var i=sa(r,xa);try{return t(o,i).select(n)}catch(e){a(new ia("Error formatting plural.",o,e))}return"other"}var Ra=["numeric","style"];function La(e,t,n,r,o){void 0===o&&(o={}),r||(r="second"),Intl.RelativeTimeFormat||e.onError(new Qo('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',Wo.MISSING_INTL_API));try{return function(e,t,n){var r=e.locale;void 0===n&&(n={});var o=n.format,a=!!o&&da(e.formats,"relative",o,e.onError)||{};return t(r,sa(n,Ra,a))}(e,t,o).format(n,r)}catch(t){e.onError(new ia("Error formatting relative time.",e.locale,t))}return String(n)}var Ia=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function Ma(e,t,n){var r=e.locale;void 0===n&&(n={});var o=n.format,a=o&&da(e.formats,"number",o,e.onError)||{};return t(r,sa(n,Ia,a))}function Da(e,t,n,r){void 0===r&&(r={});try{return Ma(e,t,r).format(n)}catch(t){e.onError(new na(ea.FORMAT_ERROR,"Error formatting number.",t))}return String(n)}function Fa(e,t,n,r){void 0===r&&(r={});try{return Ma(e,t,r).formatToParts(n)}catch(t){e.onError(new na(ea.FORMAT_ERROR,"Error formatting number.",t))}return[]}function ja(e){jr(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var Ua=cr(cr({},ca),{textComponent:lr.Fragment});function za(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),o=n.length;if(r.length!==o)return!1;for(var a=0;a<o;a++){var i=n[a];if(e[i]!==t[i]||!Object.prototype.hasOwnProperty.call(t,i))return!1}return!0}var Va,Ga,$a=lr.createContext(null),Wa=$a.Provider,Ba=$a;function Ha(){var e=lr.useContext(Ba);return ja(e),e}function qa(e){var t=function(t){var n=Ha(),r=t.value,o=t.children,a=fr(t,["value","children"]),i=n[e](r,a);return"function"==typeof o?o(i):lr.createElement(n.textComponent||lr.Fragment,null,i)};return t.displayName=Va[e],t}function Qa(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}function Xa(e){return e?Object.keys(e).reduce(function(t,n){var r,o=e[n];return t[n]=Zo(o)?(r=o,function(e){return r(lr.Children.toArray(e))}):o,t},{}):e}!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(Va||(Va={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}(Ga||(Ga={}));var Ka=function(e,t,n,r){for(var o=[],a=4;a<arguments.length;a++)o[a-4]=arguments[a];var i=Xa(r),l=ya.apply(void 0,dr([e,t,n,i],o,!1));return Array.isArray(l)?lr.Children.toArray(l):l},Ya=function(e,t){var n=e.defaultRichTextElements,r=fr(e,["defaultRichTextElements"]),o=Xa(n),a=function(e,t){var n=function(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,n=Intl.ListFormat,r=Intl.DisplayNames,o=Fo(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,dr([void 0],t,!1)))},{cache:fa(e.dateTime),strategy:Ho.variadic}),a=Fo(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,dr([void 0],t,!1)))},{cache:fa(e.number),strategy:Ho.variadic}),i=Fo(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,dr([void 0],t,!1)))},{cache:fa(e.pluralRules),strategy:Ho.variadic});return{getDateTimeFormat:o,getNumberFormat:a,getMessageFormat:Fo(function(e,t,n,r){return new ta(e,t,n,cr({formatters:{getNumberFormat:a,getDateTimeFormat:o,getPluralRules:i}},r||{}))},{cache:fa(e.message),strategy:Ho.variadic}),getRelativeTimeFormat:Fo(function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new(t.bind.apply(t,dr([void 0],e,!1)))},{cache:fa(e.relativeTime),strategy:Ho.variadic}),getPluralRules:i,getListFormat:Fo(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,dr([void 0],e,!1)))},{cache:fa(e.list),strategy:Ho.variadic}),getDisplayNames:Fo(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(r.bind.apply(r,dr([void 0],e,!1)))},{cache:fa(e.displayNames),strategy:Ho.variadic})}}(t),r=cr(cr({},ca),e),o=r.locale,a=r.defaultLocale,i=r.onError;return o?!Intl.NumberFormat.supportedLocalesOf(o).length&&i?i(new aa('Missing locale data for locale: "'.concat(o,'" in Intl.NumberFormat. Using default locale: "').concat(a,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(o).length&&i&&i(new aa('Missing locale data for locale: "'.concat(o,'" in Intl.DateTimeFormat. Using default locale: "').concat(a,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(i&&i(new oa('"locale" was not configured, using "'.concat(a,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),r.locale=r.defaultLocale||"en"),function(e){var t;e.onWarn&&e.defaultRichTextElements&&"string"==typeof((t=e.messages||{})?t[Object.keys(t)[0]]:void 0)&&e.onWarn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution')}(r),cr(cr({},r),{formatters:n,formatNumber:Da.bind(null,r,n.getNumberFormat),formatNumberToParts:Fa.bind(null,r,n.getNumberFormat),formatRelativeTime:La.bind(null,r,n.getRelativeTimeFormat),formatDate:ba.bind(null,r,n.getDateTimeFormat),formatDateToParts:Sa.bind(null,r,n.getDateTimeFormat),formatTime:Ea.bind(null,r,n.getDateTimeFormat),formatDateTimeRange:wa.bind(null,r,n.getDateTimeFormat),formatTimeToParts:_a.bind(null,r,n.getDateTimeFormat),formatPlural:Aa.bind(null,r,n.getPluralRules),formatMessage:ya.bind(null,r,n),$t:ya.bind(null,r,n),formatList:Pa.bind(null,r,n.getListFormat),formatListToParts:Na.bind(null,r,n.getListFormat),formatDisplayName:Oa.bind(null,r,n.getDisplayNames)})}(cr(cr(cr({},Ua),r),{defaultRichTextElements:o}),t);return cr(cr({},a),{formatMessage:Ka.bind(null,{locale:a.locale,timeZone:a.timeZone,fallbackOnEmptyString:a.fallbackOnEmptyString,formats:a.formats,defaultLocale:a.defaultLocale,defaultFormats:a.defaultFormats,messages:a.messages,onError:a.onError,defaultRichTextElements:o},a.formatters)})},Za=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cache={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},t.state={cache:t.cache,intl:Ya(Qa(t.props),t.cache),prevConfig:Qa(t.props)},t}return sr(t,e),t.getDerivedStateFromProps=function(e,t){var n=t.prevConfig,r=t.cache,o=Qa(e);return za(n,o)?null:{intl:Ya(o,r),prevConfig:o}},t.prototype.render=function(){return ja(this.state.intl),lr.createElement(Wa,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=Ua,t}(lr.PureComponent);function Ja(e){var t=Ha(),n=t.textComponent,r=e.children,o=e.tagName,a=void 0===o?void 0===n?lr.Fragment:n:o,i=(0,t.formatMessage)({id:e.id,description:e.description,defaultMessage:e.defaultMessage},e.values,{ignoreTag:e.ignoreTag});return"function"==typeof r?r(Array.isArray(i)?i:[i]):a?lr.createElement(a,null,lr.Children.toArray(i)):lr.createElement(lr.Fragment,null,i)}Ja.displayName="FormattedMessage";var ei=lr.memo(Ja,function(e,t){var n=e.values,r=fr(e,["values"]),o=t.values,a=fr(t,["values"]);return za(o,n)&&za(r,a)});ei.displayName="MemoizedFormattedMessage";var ti=qa("formatDate"),ni=(qa("formatTime"),qa("formatNumber")),ri=(qa("formatList"),qa("formatDisplayName"),{"eligibility-modal.bullet-1":"Wählen Sie an der Kasse <strong>Alma</strong> .","eligibility-modal.bullet-2":"Füllen Sie die <strong>angeforderten</strong> Informationen aus.","eligibility-modal.bullet-3":"Die Bestätigung Ihrer Zahlung <strong>sofort</strong> !","eligibility-modal.cost":"Davon Kosten","eligibility-modal.credit-commitment":"Ein Kredit verpflichtet Sie und muss zurückgezahlt werden. Prüfen Sie Ihre Rückzahlungsfähigkeit, bevor Sie sich verpflichten.","eligibility-modal.credit-cost":"Davon Kreditkosten","eligibility-modal.credit-cost-amount":"{creditCost} (APR {TAEG})","eligibility-modal.no-eligibility":"Ups, die Simulation scheint nicht funktioniert zu haben.","eligibility-modal.title":"<highlighted>Bezahlen Sie in Raten</highlighted> oder später per Kreditkarte mit Alma.","eligibility-modal.total":"Insgesamt","installments.today":"Heutzutage","payment-plan-strings.day-abbreviation":"J{numberOfDeferredDays}","payment-plan-strings.default-message":"Bezahlen Sie in Raten mit Alma","payment-plan-strings.deferred":"{totalAmount} zu zahlen am {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Bis zu {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"Ab {minAmount}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} dann {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} dann {numberOfRemainingInstallments} x {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} x {totalAmount}","payment-plan-strings.no-fee":"(gebührenfrei)"}),oi={"eligibility-modal.bullet-1":"Choose <strong>Alma</strong> at checkout.","eligibility-modal.bullet-2":"Fill in the <strong>information</strong> requested.","eligibility-modal.bullet-3":"Validation of your payment <strong>instantaneous</strong>!","eligibility-modal.cost":"Of which costs","eligibility-modal.credit-commitment":"A loan commits you and must be repaid. Check your ability to repay before committing yourself.","eligibility-modal.credit-cost":"Of which cost of credit","eligibility-modal.credit-cost-amount":"{creditCost} (APR {TAEG})","eligibility-modal.no-eligibility":"Oops, looks like the simulation didn't work.","eligibility-modal.title":"<highlighted>Pay in installments</highlighted> or later by credit card with Alma.","eligibility-modal.total":"Total","installments.today":"Today","payment-plan-strings.day-abbreviation":"T{numberOfDeferredDays}","payment-plan-strings.default-message":"Pay in installments with Alma","payment-plan-strings.deferred":"{totalAmount} to be paid on {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Until {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"From {minAmount}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} then {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} then {numberOfRemainingInstallments} x {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} x {totalAmount}","payment-plan-strings.no-fee":"(free of charge)"},ai={"eligibility-modal.bullet-1":"Elige <strong>Alma</strong> como método de pago.","eligibility-modal.bullet-2":"Completa la <strong>información</strong> solicitada.","eligibility-modal.bullet-3":"¡Validación <strong>inmediata</strong> de tu pago!","eligibility-modal.cost":"Gastos (incl. en el total)","eligibility-modal.credit-commitment":"Un préstamo te compromete y debe ser devuelto. Comprueba tu capacidad financiera antes de comprometerte.","eligibility-modal.credit-cost":"Coste de crédito (incl. en el total)","eligibility-modal.credit-cost-amount":"{creditCost} (TAE {TAEG})","eligibility-modal.no-eligibility":"Uy, parece que la simulación no ha funcionado.","eligibility-modal.title":"<highlighted>Paga a plazos</highlighted> o más adelante con tu tarjeta, a través de Alma.","eligibility-modal.total":"Total","installments.today":"Hoy","payment-plan-strings.day-abbreviation":"D{numberOfDeferredDays}","payment-plan-strings.default-message":"Pagar a plazos con Alma","payment-plan-strings.deferred":"{totalAmount} a pagar el {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Hasta {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"Desde {minAmount}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} hoy, después {numberOfRemainingInstallments} mensualidad de {othersInstallmentAmount}} other {{firstInstallmentAmount} hoy, después {numberOfRemainingInstallments} mensualidades de {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} plazos de {totalAmount}","payment-plan-strings.no-fee":"(sin intereses)"},ii={"eligibility-modal.bullet-1":"Choisissez <strong>Alma</strong> au moment du paiement.","eligibility-modal.bullet-2":"Renseignez les <strong>informations</strong> demandées.","eligibility-modal.bullet-3":"La validation de votre paiement <strong>instantanée</strong> !","eligibility-modal.cost":"Dont frais","eligibility-modal.credit-commitment":"Un crédit vous engage et doit être remboursé. Vérifiez vos capacités de remboursement avant de vous engager.","eligibility-modal.credit-cost":"Dont coût du crédit","eligibility-modal.credit-cost-amount":"{creditCost} (TAEG {TAEG})","eligibility-modal.no-eligibility":"Oups, il semblerait que la simulation n'aie pas fonctionné.","eligibility-modal.title":"<highlighted>Payez en plusieurs fois</highlighted> ou plus tard par carte bancaire avec Alma.","eligibility-modal.total":"Total","installments.today":"Aujourd'hui","payment-plan-strings.day-abbreviation":"J{numberOfDeferredDays}","payment-plan-strings.default-message":"Payez en plusieurs fois avec Alma","payment-plan-strings.deferred":"{totalAmount} à payer le {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Jusqu'à {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"À partir de {minAmount}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} puis {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} puis {numberOfRemainingInstallments} x {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} x {totalAmount}","payment-plan-strings.no-fee":"(sans frais)"},li={"eligibility-modal.bullet-1":"Scegli <strong>Alma</strong> alla cassa.","eligibility-modal.bullet-2":"Compila le informazioni <strong></strong> richieste.","eligibility-modal.bullet-3":"Convalida del tuo pagamento <strong>istantanea</strong>!","eligibility-modal.cost":"Di cui commissioni","eligibility-modal.credit-commitment":"Un pagamento rateale ti impegna e deve essere ripagato. Verifica la tua capacità di rimborso prima di impegnarti.","eligibility-modal.credit-cost":"Di cui commissioni","eligibility-modal.credit-cost-amount":"{creditCost} (TAEG {TAEG})","eligibility-modal.no-eligibility":"Ops, sembra che la simulazione non abbia funzionato.","eligibility-modal.title":"<highlighted>Paga a rate</highlighted> e posticipa il pagamento con Alma, senza interessi.","eligibility-modal.total":"Totale","installments.today":"Oggi","payment-plan-strings.day-abbreviation":"G{numberOfDeferredDays}","payment-plan-strings.default-message":"Paga a rate con Alma","payment-plan-strings.deferred":"{totalAmount} da pagare il {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Disponibile fino a {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"Pagamento rateale disponibile a partire da {minAmount}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {Oggi paghi {firstInstallmentAmount} poi tra {numberOfRemainingInstallments} mese {othersInstallmentAmount}} other {Oggi paghi {firstInstallmentAmount} poi {numberOfRemainingInstallments} rate mensili di {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"In {installmentsCount} rate mensili di {totalAmount}","payment-plan-strings.no-fee":"(senza interessi)"},ui={"eligibility-modal.bullet-1":"Kies <strong>Alma</strong> bij het afrekenen.","eligibility-modal.bullet-2":"Vul de <strong>gevraagde informatie</strong> in.","eligibility-modal.bullet-3":"Onmiddelijke validatie van uw betaling ","eligibility-modal.cost":"Waarvan kosten","eligibility-modal.credit-commitment":"Een lening bindt je en moet worden terugbetaald. Ga na of u kunt terugbetalen voordat u zich vastlegt.","eligibility-modal.credit-cost":"Waarvan kosten van krediet","eligibility-modal.credit-cost-amount":"{creditCost} (APR {TAEG})","eligibility-modal.no-eligibility":"Oeps, het lijkt erop dat de simulatie niet werkte.","eligibility-modal.title":"<highlighted>Betaal in termijnen</highlighted> of later per credit card met Alma.","eligibility-modal.total":"Totaal","installments.today":"Tegenwoordig","payment-plan-strings.day-abbreviation":"J{numberOfDeferredDays}","payment-plan-strings.default-message":"Betaal in termijnen met Alma","payment-plan-strings.deferred":"{totalAmount} te betalen op {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Tot {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"Van {minAmount}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} dan {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} dan {numberOfRemainingInstallments} x {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} x {totalAmount}","payment-plan-strings.no-fee":"(gratis)"},si=function(e){switch(e){case Yn.fr:return ii;case Yn.en:return oi;case Yn.es:return ai;case Yn.it:return li;case Yn.de:return ri;case Yn.nl:case Yn["nl-BE"]:case Yn["nl-NL"]:return ui;default:return oi}},ci=function(e){var t=e.children,n=e.locale;return lr.createElement(Za,{messages:si(n),locale:n,defaultLocale:"en"},t)},fi=d(function(e,t){var n,r,o,a;if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var l=Date,u=l.now();t.unstable_now=function(){return l.now()-u}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var s=null,c=null,f=function(){if(null!==s)try{var e=t.unstable_now();s(!0,e),s=null}catch(e){throw setTimeout(f,0),e}};n=function(e){null!==s?setTimeout(n,0,e):(s=e,setTimeout(f,0))},r=function(e,t){c=setTimeout(e,t)},o=function(){clearTimeout(c)},t.unstable_shouldYield=function(){return!1},a=t.unstable_forceFrameRate=function(){}}else{var d=window.setTimeout,p=window.clearTimeout;if("undefined"!=typeof console){var m=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof m&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var h=!1,y=null,g=-1,v=5,b=0;t.unstable_shouldYield=function(){return t.unstable_now()>=b},a=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):v=0<e?Math.floor(1e3/e):5};var E=new MessageChannel,w=E.port2;E.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();b=e+v;try{y(!0,e)?w.postMessage(null):(h=!1,y=null)}catch(e){throw w.postMessage(null),e}}else h=!1},n=function(e){y=e,h||(h=!0,w.postMessage(null))},r=function(e,n){g=d(function(){e(t.unstable_now())},n)},o=function(){p(g),g=-1}}function S(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<O(o,t)))break e;e[r]=t,e[n]=o,n=r}}function _(e){return void 0===(e=e[0])?null:e}function C(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var a=2*(r+1)-1,i=e[a],l=a+1,u=e[l];if(void 0!==i&&0>O(i,n))void 0!==u&&0>O(u,i)?(e[r]=u,e[l]=n,r=l):(e[r]=i,e[a]=n,r=a);else{if(!(void 0!==u&&0>O(u,n)))break e;e[r]=u,e[l]=n,r=l}}}return t}return null}function O(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var k=[],T=[],P=1,N=null,x=3,A=!1,R=!1,L=!1;function I(e){for(var t=_(T);null!==t;){if(null===t.callback)C(T);else{if(!(t.startTime<=e))break;C(T),t.sortIndex=t.expirationTime,S(k,t)}t=_(T)}}function M(e){if(L=!1,I(e),!R)if(null!==_(k))R=!0,n(D);else{var t=_(T);null!==t&&r(M,t.startTime-e)}}function D(e,n){R=!1,L&&(L=!1,o()),A=!0;var a=x;try{for(I(n),N=_(k);null!==N&&(!(N.expirationTime>n)||e&&!t.unstable_shouldYield());){var i=N.callback;if("function"==typeof i){N.callback=null,x=N.priorityLevel;var l=i(N.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?N.callback=l:N===_(k)&&C(k),I(n)}else C(k);N=_(k)}if(null!==N)var u=!0;else{var s=_(T);null!==s&&r(M,s.startTime-n),u=!1}return u}finally{N=null,x=a,A=!1}}var F=a;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){R||A||(R=!0,n(D))},t.unstable_getCurrentPriorityLevel=function(){return x},t.unstable_getFirstCallbackNode=function(){return _(k)},t.unstable_next=function(e){switch(x){case 1:case 2:case 3:var t=3;break;default:t=x}var n=x;x=t;try{return e()}finally{x=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=F,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=x;x=e;try{return t()}finally{x=n}},t.unstable_scheduleCallback=function(e,a,i){var l=t.unstable_now();switch(i="object"==typeof i&&null!==i&&"number"==typeof(i=i.delay)&&0<i?l+i:l,e){case 1:var u=-1;break;case 2:u=250;break;case 5:u=1073741823;break;case 4:u=1e4;break;default:u=5e3}return e={id:P++,callback:a,priorityLevel:e,startTime:i,expirationTime:u=i+u,sortIndex:-1},i>l?(e.sortIndex=i,S(T,e),null===_(k)&&e===_(T)&&(L?o():L=!0,r(M,i-l))):(e.sortIndex=u,S(k,e),R||A||(R=!0,n(D))),e},t.unstable_wrapCallback=function(e){var t=x;return function(){var n=x;x=t;try{return e.apply(this,arguments)}finally{x=n}}}}),di=(d(function(e,t){}),d(function(e){e.exports=fi}));function pi(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!lr)throw Error(pi(227));var mi=new Set,hi={};function yi(e,t){gi(e,t),gi(e+"Capture",t)}function gi(e,t){for(hi[e]=t,e=0;e<t.length;e++)mi.add(t[e])}var vi=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),bi=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Ei=Object.prototype.hasOwnProperty,wi={},Si={};function _i(e,t,n,r,o,a,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var Ci={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ci[e]=new _i(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ci[t]=new _i(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ci[e]=new _i(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ci[e]=new _i(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Ci[e]=new _i(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){Ci[e]=new _i(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){Ci[e]=new _i(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){Ci[e]=new _i(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){Ci[e]=new _i(e,5,!1,e.toLowerCase(),null,!1,!1)});var Oi=/[\-:]([a-z])/g;function ki(e){return e[1].toUpperCase()}function Ti(e,t,n,r){var o=Ci.hasOwnProperty(t)?Ci[t]:null;(null!==o?0===o.type:!r&&2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1]))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!Ei.call(Si,e)||!Ei.call(wi,e)&&(bi.test(e)?Si[e]=!0:(wi[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Oi,ki);Ci[t]=new _i(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Oi,ki);Ci[t]=new _i(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Oi,ki);Ci[t]=new _i(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){Ci[e]=new _i(e,1,!1,e.toLowerCase(),null,!1,!1)}),Ci.xlinkHref=new _i("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){Ci[e]=new _i(e,1,!1,e.toLowerCase(),null,!0,!0)});var Pi=lr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ni=60103,xi=60106,Ai=60107,Ri=60108,Li=60114,Ii=60109,Mi=60110,Di=60112,Fi=60113,ji=60120,Ui=60115,zi=60116,Vi=60121,Gi=60128,$i=60129,Wi=60130,Bi=60131;if("function"==typeof Symbol&&Symbol.for){var Hi=Symbol.for;Ni=Hi("react.element"),xi=Hi("react.portal"),Ai=Hi("react.fragment"),Ri=Hi("react.strict_mode"),Li=Hi("react.profiler"),Ii=Hi("react.provider"),Mi=Hi("react.context"),Di=Hi("react.forward_ref"),Fi=Hi("react.suspense"),ji=Hi("react.suspense_list"),Ui=Hi("react.memo"),zi=Hi("react.lazy"),Vi=Hi("react.block"),Hi("react.scope"),Gi=Hi("react.opaque.id"),$i=Hi("react.debug_trace_mode"),Wi=Hi("react.offscreen"),Bi=Hi("react.legacy_hidden")}var qi,Qi="function"==typeof Symbol&&Symbol.iterator;function Xi(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Qi&&e[Qi]||e["@@iterator"])?e:null}function Ki(e){if(void 0===qi)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);qi=t&&t[1]||""}return"\n"+qi+e}var Yi=!1;function Zi(e,t){if(!e||Yi)return"";Yi=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(e){if(e&&r&&"string"==typeof e.stack){for(var o=e.stack.split("\n"),a=r.stack.split("\n"),i=o.length-1,l=a.length-1;1<=i&&0<=l&&o[i]!==a[l];)l--;for(;1<=i&&0<=l;i--,l--)if(o[i]!==a[l]){if(1!==i||1!==l)do{if(i--,0>--l||o[i]!==a[l])return"\n"+o[i].replace(" at new "," at ")}while(1<=i&&0<=l);break}}}finally{Yi=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ki(e):""}function Ji(e){switch(e.tag){case 5:return Ki(e.type);case 16:return Ki("Lazy");case 13:return Ki("Suspense");case 19:return Ki("SuspenseList");case 0:case 2:case 15:return Zi(e.type,!1);case 11:return Zi(e.type.render,!1);case 22:return Zi(e.type._render,!1);case 1:return Zi(e.type,!0);default:return""}}function el(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case Ai:return"Fragment";case xi:return"Portal";case Li:return"Profiler";case Ri:return"StrictMode";case Fi:return"Suspense";case ji:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case Mi:return(e.displayName||"Context")+".Consumer";case Ii:return(e._context.displayName||"Context")+".Provider";case Di:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case Ui:return el(e.type);case Vi:return el(e._render);case zi:t=e._payload,e=e._init;try{return el(e(t))}catch(e){}}return null}function tl(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function nl(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function rl(e){e._valueTracker||(e._valueTracker=function(e){var t=nl(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function ol(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=nl(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function al(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function il(e,t){var n=t.checked;return ar({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ll(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=tl(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function ul(e,t){null!=(t=t.checked)&&Ti(e,"checked",t,!1)}function sl(e,t){ul(e,t);var n=tl(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?fl(e,t.type,n):t.hasOwnProperty("defaultValue")&&fl(e,t.type,tl(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function cl(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(("submit"===r||"reset"===r)&&null==t.value)return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function fl(e,t,n){"number"===t&&al(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function dl(e,t){return e=ar({children:void 0},t),(t=function(e){var t="";return lr.Children.forEach(e,function(e){null!=e&&(t+=e)}),t}(t.children))&&(e.children=t),e}function pl(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+tl(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function ml(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(pi(91));return ar({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function hl(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(pi(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(pi(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:tl(n)}}function yl(e,t){var n=tl(t.value),r=tl(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function gl(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var vl="http://www.w3.org/1999/xhtml";function bl(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function El(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?bl(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var wl,Sl=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n)})}:e}(function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((wl=wl||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=wl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function _l(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var Cl={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ol=["Webkit","ms","Moz","O"];function kl(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Cl.hasOwnProperty(e)&&Cl[e]?(""+t).trim():t+"px"}function Tl(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=kl(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(Cl).forEach(function(e){Ol.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Cl[t]=Cl[e]})});var Pl=ar({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Nl(e,t){if(t){if(Pl[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(pi(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(pi(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(pi(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(pi(62))}}function xl(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Al(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Rl=null,Ll=null,Il=null;function Ml(e){if(e=tf(e)){if("function"!=typeof Rl)throw Error(pi(280));var t=e.stateNode;t&&(t=rf(t),Rl(e.stateNode,e.type,t))}}function Dl(e){Ll?Il?Il.push(e):Il=[e]:Ll=e}function Fl(){if(Ll){var e=Ll,t=Il;if(Il=Ll=null,Ml(e),t)for(e=0;e<t.length;e++)Ml(t[e])}}function jl(e,t){return e(t)}function Ul(e,t,n,r,o){return e(t,n,r,o)}function zl(){}var Vl=jl,Gl=!1,$l=!1;function Wl(){null===Ll&&null===Il||(zl(),Fl())}function Bl(e,t){var n=e.stateNode;if(null===n)return null;var r=rf(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(pi(231,t,typeof n));return n}var Hl=!1;if(vi)try{var ql={};Object.defineProperty(ql,"passive",{get:function(){Hl=!0}}),window.addEventListener("test",ql,ql),window.removeEventListener("test",ql,ql)}catch(e){Hl=!1}function Ql(e,t,n,r,o,a,i,l,u){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(e){this.onError(e)}}var Xl=!1,Kl=null,Yl=!1,Zl=null,Jl={onError:function(e){Xl=!0,Kl=e}};function eu(e,t,n,r,o,a,i,l,u){Xl=!1,Kl=null,Ql.apply(Jl,arguments)}function tu(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function nu(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function ru(e){if(tu(e)!==e)throw Error(pi(188))}function ou(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=tu(e)))throw Error(pi(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return ru(o),e;if(a===r)return ru(o),t;a=a.sibling}throw Error(pi(188))}if(n.return!==r.return)n=o,r=a;else{for(var i=!1,l=o.child;l;){if(l===n){i=!0,n=o,r=a;break}if(l===r){i=!0,r=o,n=a;break}l=l.sibling}if(!i){for(l=a.child;l;){if(l===n){i=!0,n=a,r=o;break}if(l===r){i=!0,r=a,n=o;break}l=l.sibling}if(!i)throw Error(pi(189))}}if(n.alternate!==r)throw Error(pi(190))}if(3!==n.tag)throw Error(pi(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}var au,iu,lu,uu,su=!1,cu=[],fu=null,du=null,pu=null,mu=new Map,hu=new Map,yu=[],gu="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function vu(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:o,targetContainers:[r]}}function bu(e,t){switch(e){case"focusin":case"focusout":fu=null;break;case"dragenter":case"dragleave":du=null;break;case"mouseover":case"mouseout":pu=null;break;case"pointerover":case"pointerout":mu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":hu.delete(t.pointerId)}}function Eu(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e=vu(t,n,r,o,a),null!==t&&null!==(t=tf(t))&&iu(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function wu(e){var t=ef(e.target);if(null!==t){var n=tu(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=nu(n)))return e.blockedOn=t,void uu(e.lanePriority,function(){di.unstable_runWithPriority(e.priority,function(){lu(n)})})}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Su(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=ns(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=tf(n))&&iu(t),e.blockedOn=n,!1;t.shift()}return!0}function _u(e,t,n){Su(e)&&n.delete(t)}function Cu(){for(su=!1;0<cu.length;){var e=cu[0];if(null!==e.blockedOn){null!==(e=tf(e.blockedOn))&&au(e);break}for(var t=e.targetContainers;0<t.length;){var n=ns(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&cu.shift()}null!==fu&&Su(fu)&&(fu=null),null!==du&&Su(du)&&(du=null),null!==pu&&Su(pu)&&(pu=null),mu.forEach(_u),hu.forEach(_u)}function Ou(e,t){e.blockedOn===t&&(e.blockedOn=null,su||(su=!0,di.unstable_scheduleCallback(di.unstable_NormalPriority,Cu)))}function ku(e){function t(t){return Ou(t,e)}if(0<cu.length){Ou(cu[0],e);for(var n=1;n<cu.length;n++){var r=cu[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==fu&&Ou(fu,e),null!==du&&Ou(du,e),null!==pu&&Ou(pu,e),mu.forEach(t),hu.forEach(t),n=0;n<yu.length;n++)(r=yu[n]).blockedOn===e&&(r.blockedOn=null);for(;0<yu.length&&null===(n=yu[0]).blockedOn;)wu(n),null===n.blockedOn&&yu.shift()}function Tu(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Pu={animationend:Tu("Animation","AnimationEnd"),animationiteration:Tu("Animation","AnimationIteration"),animationstart:Tu("Animation","AnimationStart"),transitionend:Tu("Transition","TransitionEnd")},Nu={},xu={};function Au(e){if(Nu[e])return Nu[e];if(!Pu[e])return e;var t,n=Pu[e];for(t in n)if(n.hasOwnProperty(t)&&t in xu)return Nu[e]=n[t];return e}vi&&(xu=document.createElement("div").style,"AnimationEvent"in window||(delete Pu.animationend.animation,delete Pu.animationiteration.animation,delete Pu.animationstart.animation),"TransitionEvent"in window||delete Pu.transitionend.transition);var Ru=Au("animationend"),Lu=Au("animationiteration"),Iu=Au("animationstart"),Mu=Au("transitionend"),Du=new Map,Fu=new Map,ju=["abort","abort",Ru,"animationEnd",Lu,"animationIteration",Iu,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Mu,"transitionEnd","waiting","waiting"];function Uu(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];o="on"+(o[0].toUpperCase()+o.slice(1)),Fu.set(r,t),Du.set(r,o),yi(o,[r])}}(0,di.unstable_now)();var zu=8;function Vu(e){if(0!=(1&e))return zu=15,1;if(0!=(2&e))return zu=14,2;if(0!=(4&e))return zu=13,4;var t=24&e;return 0!==t?(zu=12,t):0!=(32&e)?(zu=11,32):0!=(t=192&e)?(zu=10,t):0!=(256&e)?(zu=9,256):0!=(t=3584&e)?(zu=8,t):0!=(4096&e)?(zu=7,4096):0!=(t=4186112&e)?(zu=6,t):0!=(t=62914560&e)?(zu=5,t):67108864&e?(zu=4,67108864):0!=(134217728&e)?(zu=3,134217728):0!=(t=805306368&e)?(zu=2,t):0!=(1073741824&e)?(zu=1,1073741824):(zu=8,e)}function Gu(e,t){var n=e.pendingLanes;if(0===n)return zu=0;var r=0,o=0,a=e.expiredLanes,i=e.suspendedLanes,l=e.pingedLanes;if(0!==a)r=a,o=zu=15;else if(0!=(a=134217727&n)){var u=a&~i;0!==u?(r=Vu(u),o=zu):0!=(l&=a)&&(r=Vu(l),o=zu)}else 0!=(a=n&~i)?(r=Vu(a),o=zu):0!==l&&(r=Vu(l),o=zu);if(0===r)return 0;if(r=n&((0>(r=31-qu(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&i)){if(Vu(t),o<=zu)return t;zu=o}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)r|=e[n=31-qu(t)],t&=~(o=1<<n);return r}function $u(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Wu(e){return e&-e}function Bu(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Hu(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-qu(t)]=n}var qu=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Qu(e)/Xu|0)|0},Qu=Math.log,Xu=Math.LN2,Ku=di.unstable_UserBlockingPriority,Yu=di.unstable_runWithPriority,Zu=!0;function Ju(e,t,n,r){Gl||zl();var o=ts,a=Gl;Gl=!0;try{Ul(o,e,t,n,r)}finally{(Gl=a)||Wl()}}function es(e,t,n,r){Yu(Ku,ts.bind(null,e,t,n,r))}function ts(e,t,n,r){var o;if(Zu)if((o=0==(4&t))&&0<cu.length&&-1<gu.indexOf(e))e=vu(null,e,t,n,r),cu.push(e);else{var a=ns(e,t,n,r);if(null===a)o&&bu(e,r);else{if(o){if(-1<gu.indexOf(e))return e=vu(a,e,t,n,r),void cu.push(e);if(function(e,t,n,r,o){switch(t){case"focusin":return fu=Eu(fu,e,t,n,r,o),!0;case"dragenter":return du=Eu(du,e,t,n,r,o),!0;case"mouseover":return pu=Eu(pu,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return mu.set(a,Eu(mu.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return hu.set(a=o.pointerId,Eu(hu.get(a)||null,e,t,n,r,o)),!0}return!1}(a,e,t,n,r))return;bu(e,r)}Lc(e,t,r,null,n)}}}function ns(e,t,n,r){var o=Al(r);if(null!==(o=ef(o))){var a=tu(o);if(null===a)o=null;else{var i=a.tag;if(13===i){if(null!==(o=nu(a)))return o;o=null}else if(3===i){if(a.stateNode.hydrate)return 3===a.tag?a.stateNode.containerInfo:null;o=null}else a!==o&&(o=null)}}return Lc(e,t,r,o,n),null}var rs=null,os=null,as=null;function is(){if(as)return as;var e,t,n=os,r=n.length,o="value"in rs?rs.value:rs.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return as=o.slice(e,1<t?1-t:void 0)}function ls(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function us(){return!0}function ss(){return!1}function cs(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(this[i]=(t=e[i])?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?us:ss,this.isPropagationStopped=ss,this}return ar(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=us)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=us)},persist:function(){},isPersistent:us}),t}var fs,ds,ps,ms={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},hs=cs(ms),ys=ar({},ms,{view:0,detail:0}),gs=cs(ys),vs=ar({},ys,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ns,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ps&&(ps&&"mousemove"===e.type?(fs=e.screenX-ps.screenX,ds=e.screenY-ps.screenY):ds=fs=0,ps=e),fs)},movementY:function(e){return"movementY"in e?e.movementY:ds}}),bs=cs(vs),Es=cs(ar({},vs,{dataTransfer:0})),ws=cs(ar({},ys,{relatedTarget:0})),Ss=cs(ar({},ms,{animationName:0,elapsedTime:0,pseudoElement:0})),_s=cs(ar({},ms,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),Cs=cs(ar({},ms,{data:0})),Os={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ks={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Ts={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ps(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Ts[e])&&!!t[e]}function Ns(){return Ps}var xs=cs(ar({},ys,{key:function(e){if(e.key){var t=Os[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=ls(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?ks[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ns,charCode:function(e){return"keypress"===e.type?ls(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?ls(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),As=cs(ar({},vs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Rs=cs(ar({},ys,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ns})),Ls=cs(ar({},ms,{propertyName:0,elapsedTime:0,pseudoElement:0})),Is=cs(ar({},vs,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),Ms=[9,13,27,32],Ds=vi&&"CompositionEvent"in window,Fs=null;vi&&"documentMode"in document&&(Fs=document.documentMode);var js=vi&&"TextEvent"in window&&!Fs,Us=vi&&(!Ds||Fs&&8<Fs&&11>=Fs),zs=String.fromCharCode(32),Vs=!1;function Gs(e,t){switch(e){case"keyup":return-1!==Ms.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function $s(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Ws=!1,Bs={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Hs(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Bs[e.type]:"textarea"===t}function qs(e,t,n,r){Dl(r),0<(t=Mc(t,"onChange")).length&&(n=new hs("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Qs=null,Xs=null;function Ks(e){Tc(e,0)}function Ys(e){if(ol(nf(e)))return e}function Zs(e,t){if("change"===e)return t}var Js=!1;if(vi){var ec;if(vi){var tc="oninput"in document;if(!tc){var nc=document.createElement("div");nc.setAttribute("oninput","return;"),tc="function"==typeof nc.oninput}ec=tc}else ec=!1;Js=ec&&(!document.documentMode||9<document.documentMode)}function rc(){Qs&&(Qs.detachEvent("onpropertychange",oc),Xs=Qs=null)}function oc(e){if("value"===e.propertyName&&Ys(Xs)){var t=[];if(qs(t,Xs,e,Al(e)),e=Ks,Gl)e(t);else{Gl=!0;try{jl(e,t)}finally{Gl=!1,Wl()}}}}function ac(e,t,n){"focusin"===e?(rc(),Xs=n,(Qs=t).attachEvent("onpropertychange",oc)):"focusout"===e&&rc()}function ic(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Ys(Xs)}function lc(e,t){if("click"===e)return Ys(t)}function uc(e,t){if("input"===e||"change"===e)return Ys(t)}var sc="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},cc=Object.prototype.hasOwnProperty;function fc(e,t){if(sc(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!cc.call(t,n[r])||!sc(e[n[r]],t[n[r]]))return!1;return!0}function dc(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function pc(e,t){var n,r=dc(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=dc(r)}}function mc(){for(var e=window,t=al();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=al((e=t.contentWindow).document)}return t}function hc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var yc=vi&&"documentMode"in document&&11>=document.documentMode,gc=null,vc=null,bc=null,Ec=!1;function wc(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Ec||null==gc||gc!==al(r)||(r="selectionStart"in(r=gc)&&hc(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},bc&&fc(bc,r)||(bc=r,0<(r=Mc(vc,"onSelect")).length&&(t=new hs("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gc)))}Uu("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Uu("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Uu(ju,2);for(var Sc="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),_c=0;_c<Sc.length;_c++)Fu.set(Sc[_c],0);gi("onMouseEnter",["mouseout","mouseover"]),gi("onMouseLeave",["mouseout","mouseover"]),gi("onPointerEnter",["pointerout","pointerover"]),gi("onPointerLeave",["pointerout","pointerover"]),yi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),yi("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),yi("onBeforeInput",["compositionend","keypress","textInput","paste"]),yi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),yi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),yi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Cc="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Oc=new Set("cancel close invalid load scroll toggle".split(" ").concat(Cc));function kc(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,i,l,u){if(eu.apply(this,arguments),Xl){if(!Xl)throw Error(pi(198));var s=Kl;Xl=!1,Kl=null,Yl||(Yl=!0,Zl=s)}}(r,t,void 0,e),e.currentTarget=null}function Tc(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],u=l.instance,s=l.currentTarget;if(l=l.listener,u!==a&&o.isPropagationStopped())break e;kc(o,l,s),a=u}else for(i=0;i<r.length;i++){if(u=(l=r[i]).instance,s=l.currentTarget,l=l.listener,u!==a&&o.isPropagationStopped())break e;kc(o,l,s),a=u}}}if(Yl)throw e=Zl,Yl=!1,Zl=null,e}function Pc(e,t){var n=of(t),r=e+"__bubble";n.has(r)||(Rc(t,e,2,!1),n.add(r))}var Nc="_reactListening"+Math.random().toString(36).slice(2);function xc(e){e[Nc]||(e[Nc]=!0,mi.forEach(function(t){Oc.has(t)||Ac(t,!1,e,null),Ac(t,!0,e,null)}))}function Ac(e,t,n,r){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,a=n;if("selectionchange"===e&&9!==n.nodeType&&(a=n.ownerDocument),null!==r&&!t&&Oc.has(e)){if("scroll"!==e)return;o|=2,a=r}var i=of(a),l=e+"__"+(t?"capture":"bubble");i.has(l)||(t&&(o|=4),Rc(a,e,o,t),i.add(l))}function Rc(e,t,n,r){var o=Fu.get(t);switch(void 0===o?2:o){case 0:o=Ju;break;case 1:o=es;break;default:o=ts}n=o.bind(null,t,n,e),o=void 0,!Hl||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),e.addEventListener(t,n,r?void 0===o||{capture:!0,passive:o}:void 0!==o&&{passive:o})}function Lc(e,t,n,r,o){var a=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===i)for(i=r.return;null!==i;){var u=i.tag;if((3===u||4===u)&&((u=i.stateNode.containerInfo)===o||8===u.nodeType&&u.parentNode===o))return;i=i.return}for(;null!==l;){if(null===(i=ef(l)))return;if(5===(u=i.tag)||6===u){r=a=i;continue e}l=l.parentNode}}r=r.return}!function(e,t,n){if($l)return e();$l=!0;try{Vl(e,void 0,void 0)}finally{$l=!1,Wl()}}(function(){var r=a,o=Al(n),i=[];e:{var l=Du.get(e);if(void 0!==l){var u=hs,s=e;switch(e){case"keypress":if(0===ls(n))break e;case"keydown":case"keyup":u=xs;break;case"focusin":s="focus",u=ws;break;case"focusout":s="blur",u=ws;break;case"beforeblur":case"afterblur":u=ws;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=bs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=Es;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=Rs;break;case Ru:case Lu:case Iu:u=Ss;break;case Mu:u=Ls;break;case"scroll":u=gs;break;case"wheel":u=Is;break;case"copy":case"cut":case"paste":u=_s;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=As}var c=0!=(4&t),f=!c&&"scroll"===e,d=c?null!==l?l+"Capture":null:l;c=[];for(var p,m=r;null!==m;){var h=(p=m).stateNode;if(5===p.tag&&null!==h&&(p=h,null!==d&&null!=(h=Bl(m,d))&&c.push(Ic(m,h,p))),f)break;m=m.return}0<c.length&&(l=new u(l,s,null,n,o),i.push({event:l,listeners:c}))}}if(0==(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||0!=(16&t)||!(s=n.relatedTarget||n.fromElement)||!ef(s)&&!s[Zc])&&(u||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,u?(u=r,null!==(s=(s=n.relatedTarget||n.toElement)?ef(s):null)&&(s!==(f=tu(s))||5!==s.tag&&6!==s.tag)&&(s=null)):(u=null,s=r),u!==s)){if(c=bs,h="onMouseLeave",d="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(c=As,h="onPointerLeave",d="onPointerEnter",m="pointer"),f=null==u?l:nf(u),p=null==s?l:nf(s),(l=new c(h,m+"leave",u,n,o)).target=f,l.relatedTarget=p,h=null,ef(o)===r&&((c=new c(d,m+"enter",s,n,o)).target=p,c.relatedTarget=f,h=c),f=h,u&&s)e:{for(d=s,m=0,p=c=u;p;p=Dc(p))m++;for(p=0,h=d;h;h=Dc(h))p++;for(;0<m-p;)c=Dc(c),m--;for(;0<p-m;)d=Dc(d),p--;for(;m--;){if(c===d||null!==d&&c===d.alternate)break e;c=Dc(c),d=Dc(d)}c=null}else c=null;null!==u&&Fc(i,l,u,c,!1),null!==s&&null!==f&&Fc(i,f,s,c,!0)}if("select"===(u=(l=r?nf(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===u&&"file"===l.type)var y=Zs;else if(Hs(l))if(Js)y=uc;else{y=ic;var g=ac}else(u=l.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(y=lc);switch(y&&(y=y(e,r))?qs(i,y,n,o):(g&&g(e,l,r),"focusout"===e&&(g=l._wrapperState)&&g.controlled&&"number"===l.type&&fl(l,"number",l.value)),g=r?nf(r):window,e){case"focusin":(Hs(g)||"true"===g.contentEditable)&&(gc=g,vc=r,bc=null);break;case"focusout":bc=vc=gc=null;break;case"mousedown":Ec=!0;break;case"contextmenu":case"mouseup":case"dragend":Ec=!1,wc(i,n,o);break;case"selectionchange":if(yc)break;case"keydown":case"keyup":wc(i,n,o)}var v;if(Ds)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Ws?Gs(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Us&&"ko"!==n.locale&&(Ws||"onCompositionStart"!==b?"onCompositionEnd"===b&&Ws&&(v=is()):(os="value"in(rs=o)?rs.value:rs.textContent,Ws=!0)),0<(g=Mc(r,b)).length&&(b=new Cs(b,e,null,n,o),i.push({event:b,listeners:g}),(v||null!==(v=$s(n)))&&(b.data=v))),(v=js?function(e,t){switch(e){case"compositionend":return $s(t);case"keypress":return 32!==t.which?null:(Vs=!0,zs);case"textInput":return(e=t.data)===zs&&Vs?null:e;default:return null}}(e,n):function(e,t){if(Ws)return"compositionend"===e||!Ds&&Gs(e,t)?(e=is(),as=os=rs=null,Ws=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Us&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))&&0<(r=Mc(r,"onBeforeInput")).length&&(o=new Cs("onBeforeInput","beforeinput",null,n,o),i.push({event:o,listeners:r}),o.data=v)}Tc(i,t)})}function Ic(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Mc(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;5===o.tag&&null!==a&&(o=a,null!=(a=Bl(e,n))&&r.unshift(Ic(e,a,o)),null!=(a=Bl(e,t))&&r.push(Ic(e,a,o))),e=e.return}return r}function Dc(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Fc(e,t,n,r,o){for(var a=t._reactName,i=[];null!==n&&n!==r;){var l=n,u=l.alternate,s=l.stateNode;if(null!==u&&u===r)break;5===l.tag&&null!==s&&(l=s,o?null!=(u=Bl(n,a))&&i.unshift(Ic(n,u,l)):o||null!=(u=Bl(n,a))&&i.push(Ic(n,u,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}function jc(){}var Uc=null,zc=null;function Vc(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Gc(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var $c="function"==typeof setTimeout?setTimeout:void 0,Wc="function"==typeof clearTimeout?clearTimeout:void 0;function Bc(e){(1===e.nodeType||9===e.nodeType&&null!=(e=e.body))&&(e.textContent="")}function Hc(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function qc(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Qc=0,Xc=Math.random().toString(36).slice(2),Kc="__reactFiber$"+Xc,Yc="__reactProps$"+Xc,Zc="__reactContainer$"+Xc,Jc="__reactEvents$"+Xc;function ef(e){var t=e[Kc];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Zc]||n[Kc]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=qc(e);null!==e;){if(n=e[Kc])return n;e=qc(e)}return t}n=(e=n).parentNode}return null}function tf(e){return!(e=e[Kc]||e[Zc])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function nf(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(pi(33))}function rf(e){return e[Yc]||null}function of(e){var t=e[Jc];return void 0===t&&(t=e[Jc]=new Set),t}var af=[],lf=-1;function uf(e){return{current:e}}function sf(e){0>lf||(e.current=af[lf],af[lf]=null,lf--)}function cf(e,t){lf++,af[lf]=e.current,e.current=t}var ff={},df=uf(ff),pf=uf(!1),mf=ff;function hf(e,t){var n=e.type.contextTypes;if(!n)return ff;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function yf(e){return null!=e.childContextTypes}function gf(){sf(pf),sf(df)}function vf(e,t,n){if(df.current!==ff)throw Error(pi(168));cf(df,t),cf(pf,n)}function bf(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(pi(108,el(t)||"Unknown",o));return ar({},n,r)}function Ef(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ff,mf=df.current,cf(df,e),cf(pf,pf.current),!0}function wf(e,t,n){var r=e.stateNode;if(!r)throw Error(pi(169));n?(e=bf(e,t,mf),r.__reactInternalMemoizedMergedChildContext=e,sf(pf),sf(df),cf(df,e)):sf(pf),cf(pf,n)}var Sf=null,_f=null,Cf=di.unstable_runWithPriority,Of=di.unstable_scheduleCallback,kf=di.unstable_cancelCallback,Tf=di.unstable_shouldYield,Pf=di.unstable_requestPaint,Nf=di.unstable_now,xf=di.unstable_getCurrentPriorityLevel,Af=di.unstable_ImmediatePriority,Rf=di.unstable_UserBlockingPriority,Lf=di.unstable_NormalPriority,If=di.unstable_LowPriority,Mf=di.unstable_IdlePriority,Df={},Ff=void 0!==Pf?Pf:function(){},jf=null,Uf=null,zf=!1,Vf=Nf(),Gf=1e4>Vf?Nf:function(){return Nf()-Vf};function $f(){switch(xf()){case Af:return 99;case Rf:return 98;case Lf:return 97;case If:return 96;case Mf:return 95;default:throw Error(pi(332))}}function Wf(e){switch(e){case 99:return Af;case 98:return Rf;case 97:return Lf;case 96:return If;case 95:return Mf;default:throw Error(pi(332))}}function Bf(e,t){return e=Wf(e),Cf(e,t)}function Hf(e,t,n){return e=Wf(e),Of(e,t,n)}function qf(){if(null!==Uf){var e=Uf;Uf=null,kf(e)}Qf()}function Qf(){if(!zf&&null!==jf){zf=!0;var e=0;try{var t=jf;Bf(99,function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}}),jf=null}catch(t){throw null!==jf&&(jf=jf.slice(e+1)),Of(Af,qf),t}finally{zf=!1}}}var Xf=Pi.ReactCurrentBatchConfig;function Kf(e,t){if(e&&e.defaultProps){for(var n in t=ar({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Yf=uf(null),Zf=null,Jf=null,ed=null;function td(){ed=Jf=Zf=null}function nd(e){var t=Yf.current;sf(Yf),e.type._context._currentValue=t}function rd(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function od(e,t){Zf=e,ed=Jf=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Mp=!0),e.firstContext=null)}function ad(e,t){if(ed!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(ed=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Jf){if(null===Zf)throw Error(pi(308));Jf=t,Zf.dependencies={lanes:0,firstContext:t,responders:null}}else Jf=Jf.next=t;return e._currentValue}var id=!1;function ld(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function ud(e,t){t.updateQueue===(e=e.updateQueue)&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function sd(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function cd(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function fd(e,t){var n=e.updateQueue,r=e.alternate;if(null===r||n!==(r=r.updateQueue))null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t;else{var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?o=a=i:a=a.next=i,n=n.next}while(null!==n);null===a?o=a=t:a=a.next=t}else o=a=t;e.updateQueue=n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,effects:r.effects}}}function dd(e,t,n,r){var o=e.updateQueue;id=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var u=l,s=u.next;u.next=null,null===i?a=s:i.next=s,i=u;var c=e.alternate;if(null!==c){var f=(c=c.updateQueue).lastBaseUpdate;f!==i&&(null===f?c.firstBaseUpdate=s:f.next=s,c.lastBaseUpdate=u)}}if(null!==a){for(f=o.baseState,i=0,c=s=u=null;;){var d=a.eventTime;if((r&(l=a.lane))===l){null!==c&&(c=c.next={eventTime:d,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var p=e,m=a;switch(l=t,d=n,m.tag){case 1:if("function"==typeof(p=m.payload)){f=p.call(d,f,l);break e}f=p;break e;case 3:p.flags=-4097&p.flags|64;case 0:if(null==(l="function"==typeof(p=m.payload)?p.call(d,f,l):p))break e;f=ar({},f,l);break e;case 2:id=!0}}null!==a.callback&&(e.flags|=32,null===(l=o.effects)?o.effects=[a]:l.push(a))}else d={eventTime:d,lane:l,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===c?(s=c=d,u=f):c=c.next=d,i|=l;if(null===(a=a.next)){if(null===(l=o.shared.pending))break;a=l.next,l.next=null,o.lastBaseUpdate=l,o.shared.pending=null}}null===c&&(u=f),o.baseState=u,o.firstBaseUpdate=s,o.lastBaseUpdate=c,Im|=i,e.lanes=i,e.memoizedState=f}}function pd(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(pi(191,o));o.call(r)}}}var md=(new lr.Component).refs;function hd(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:ar({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var yd={isMounted:function(e){return!!(e=e._reactInternals)&&tu(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=rh(),o=oh(e),a=sd(r,o);a.payload=t,null!=n&&(a.callback=n),cd(e,a),ah(e,o,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=rh(),o=oh(e),a=sd(r,o);a.tag=1,a.payload=t,null!=n&&(a.callback=n),cd(e,a),ah(e,o,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=rh(),r=oh(e),o=sd(n,r);o.tag=2,null!=t&&(o.callback=t),cd(e,o),ah(e,r,n)}};function gd(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!(t.prototype&&t.prototype.isPureReactComponent&&fc(n,r)&&fc(o,a))}function vd(e,t,n){var r=!1,o=ff,a=t.contextType;return"object"==typeof a&&null!==a?a=ad(a):(o=yf(t)?mf:df.current,a=(r=null!=(r=t.contextTypes))?hf(e,o):ff),t=new t(n,a),e.memoizedState=null!=t.state?t.state:null,t.updater=yd,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function bd(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&yd.enqueueReplaceState(t,t.state,null)}function Ed(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=md,ld(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=ad(a):(a=yf(t)?mf:df.current,o.context=hf(e,a)),dd(e,n,o,r),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(hd(e,t,a,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&yd.enqueueReplaceState(o,o.state,null),dd(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4)}var wd=Array.isArray;function Sd(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(pi(309));var r=n.stateNode}if(!r)throw Error(pi(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=r.refs;t===md&&(t=r.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!=typeof e)throw Error(pi(284));if(!n._owner)throw Error(pi(290,e))}return e}function _d(e,t){if("textarea"!==e.type)throw Error(pi(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Cd(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)e.set(null!==t.key?t.key:t.index,t),t=t.sibling;return e}function o(e,t){return(e=Fh(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function i(t){return e&&null===t.alternate&&(t.flags=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Vh(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function u(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=Sd(e,t,n),r.return=e,r):((r=jh(n.type,n.key,n.props,null,e.mode,r)).ref=Sd(e,t,n),r.return=e,r)}function s(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Gh(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function c(e,t,n,r,a){return null===t||7!==t.tag?((t=Uh(n,e.mode,r,a)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Vh(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case Ni:return(n=jh(t.type,t.key,t.props,null,e.mode,n)).ref=Sd(e,null,t),n.return=e,n;case xi:return(t=Gh(t,e.mode,n)).return=e,t}if(wd(t)||Xi(t))return(t=Uh(t,e.mode,n,null)).return=e,t;_d(e,t)}return null}function d(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case Ni:return n.key===o?n.type===Ai?c(e,t,n.props.children,r,o):u(e,t,n,r):null;case xi:return n.key===o?s(e,t,n,r):null}if(wd(n)||Xi(n))return null!==o?null:c(e,t,n,r,null);_d(e,n)}return null}function p(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case Ni:return e=e.get(null===r.key?n:r.key)||null,r.type===Ai?c(t,e,r.props.children,o,r.key):u(t,e,r,o);case xi:return s(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(wd(r)||Xi(r))return c(t,e=e.get(n)||null,r,o,null);_d(t,r)}return null}function m(o,i,l,u){for(var s=null,c=null,m=i,h=i=0,y=null;null!==m&&h<l.length;h++){m.index>h?(y=m,m=null):y=m.sibling;var g=d(o,m,l[h],u);if(null===g){null===m&&(m=y);break}e&&m&&null===g.alternate&&t(o,m),i=a(g,i,h),null===c?s=g:c.sibling=g,c=g,m=y}if(h===l.length)return n(o,m),s;if(null===m){for(;h<l.length;h++)null!==(m=f(o,l[h],u))&&(i=a(m,i,h),null===c?s=m:c.sibling=m,c=m);return s}for(m=r(o,m);h<l.length;h++)null!==(y=p(m,o,h,l[h],u))&&(e&&null!==y.alternate&&m.delete(null===y.key?h:y.key),i=a(y,i,h),null===c?s=y:c.sibling=y,c=y);return e&&m.forEach(function(e){return t(o,e)}),s}function h(o,i,l,u){var s=Xi(l);if("function"!=typeof s)throw Error(pi(150));if(null==(l=s.call(l)))throw Error(pi(151));for(var c=s=null,m=i,h=i=0,y=null,g=l.next();null!==m&&!g.done;h++,g=l.next()){m.index>h?(y=m,m=null):y=m.sibling;var v=d(o,m,g.value,u);if(null===v){null===m&&(m=y);break}e&&m&&null===v.alternate&&t(o,m),i=a(v,i,h),null===c?s=v:c.sibling=v,c=v,m=y}if(g.done)return n(o,m),s;if(null===m){for(;!g.done;h++,g=l.next())null!==(g=f(o,g.value,u))&&(i=a(g,i,h),null===c?s=g:c.sibling=g,c=g);return s}for(m=r(o,m);!g.done;h++,g=l.next())null!==(g=p(m,o,h,g.value,u))&&(e&&null!==g.alternate&&m.delete(null===g.key?h:g.key),i=a(g,i,h),null===c?s=g:c.sibling=g,c=g);return e&&m.forEach(function(e){return t(o,e)}),s}return function(e,r,a,l){var u="object"==typeof a&&null!==a&&a.type===Ai&&null===a.key;u&&(a=a.props.children);var s="object"==typeof a&&null!==a;if(s)switch(a.$$typeof){case Ni:e:{for(s=a.key,u=r;null!==u;){if(u.key===s){switch(u.tag){case 7:if(a.type===Ai){n(e,u.sibling),(r=o(u,a.props.children)).return=e,e=r;break e}break;default:if(u.elementType===a.type){n(e,u.sibling),(r=o(u,a.props)).ref=Sd(e,u,a),r.return=e,e=r;break e}}n(e,u);break}t(e,u),u=u.sibling}a.type===Ai?((r=Uh(a.props.children,e.mode,l,a.key)).return=e,e=r):((l=jh(a.type,a.key,a.props,null,e.mode,l)).ref=Sd(e,r,a),l.return=e,e=l)}return i(e);case xi:e:{for(u=a.key;null!==r;){if(r.key===u){if(4===r.tag&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(e,r.sibling),(r=o(r,a.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Gh(a,e.mode,l)).return=e,e=r}return i(e)}if("string"==typeof a||"number"==typeof a)return a=""+a,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,a)).return=e,e=r):(n(e,r),(r=Vh(a,e.mode,l)).return=e,e=r),i(e);if(wd(a))return m(e,r,a,l);if(Xi(a))return h(e,r,a,l);if(s&&_d(e,a),void 0===a&&!u)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(pi(152,el(e.type)||"Component"))}return n(e,r)}}var Od=Cd(!0),kd=Cd(!1),Td={},Pd=uf(Td),Nd=uf(Td),xd=uf(Td);function Ad(e){if(e===Td)throw Error(pi(174));return e}function Rd(e,t){switch(cf(xd,t),cf(Nd,e),cf(Pd,Td),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:El(null,"");break;default:t=El(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}sf(Pd),cf(Pd,t)}function Ld(){sf(Pd),sf(Nd),sf(xd)}function Id(e){Ad(xd.current);var t=Ad(Pd.current),n=El(t,e.type);t!==n&&(cf(Nd,e),cf(Pd,n))}function Md(e){Nd.current===e&&(sf(Pd),sf(Nd))}var Dd=uf(0);function Fd(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var jd=null,Ud=null,zd=!1;function Vd(e,t){var n=Mh(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Gd(e,t){switch(e.tag){case 5:return null!==(t=1!==t.nodeType||e.type.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function $d(e){if(zd){var t=Ud;if(t){var n=t;if(!Gd(e,t)){if(!(t=Hc(n.nextSibling))||!Gd(e,t))return e.flags=-1025&e.flags|2,zd=!1,void(jd=e);Vd(jd,n)}jd=e,Ud=Hc(t.firstChild)}else e.flags=-1025&e.flags|2,zd=!1,jd=e}}function Wd(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;jd=e}function Bd(e){if(e!==jd)return!1;if(!zd)return Wd(e),zd=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Gc(t,e.memoizedProps))for(t=Ud;t;)Vd(e,t),t=Hc(t.nextSibling);if(Wd(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(pi(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Ud=Hc(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Ud=null}}else Ud=jd?Hc(e.stateNode.nextSibling):null;return!0}function Hd(){Ud=jd=null,zd=!1}var qd=[];function Qd(){for(var e=0;e<qd.length;e++)qd[e]._workInProgressVersionPrimary=null;qd.length=0}var Xd=Pi.ReactCurrentDispatcher,Kd=Pi.ReactCurrentBatchConfig,Yd=0,Zd=null,Jd=null,ep=null,tp=!1,np=!1;function rp(){throw Error(pi(321))}function op(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sc(e[n],t[n]))return!1;return!0}function ap(e,t,n,r,o,a){if(Yd=a,Zd=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Xd.current=null===e||null===e.memoizedState?Ap:Rp,e=n(r,o),np){a=0;do{if(np=!1,!(25>a))throw Error(pi(301));a+=1,ep=Jd=null,t.updateQueue=null,Xd.current=Lp,e=n(r,o)}while(np)}if(Xd.current=xp,t=null!==Jd&&null!==Jd.next,Yd=0,ep=Jd=Zd=null,tp=!1,t)throw Error(pi(300));return e}function ip(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ep?Zd.memoizedState=ep=e:ep=ep.next=e,ep}function lp(){if(null===Jd){var e=Zd.alternate;e=null!==e?e.memoizedState:null}else e=Jd.next;var t=null===ep?Zd.memoizedState:ep.next;if(null!==t)ep=t,Jd=e;else{if(null===e)throw Error(pi(310));e={memoizedState:(Jd=e).memoizedState,baseState:Jd.baseState,baseQueue:Jd.baseQueue,queue:Jd.queue,next:null},null===ep?Zd.memoizedState=ep=e:ep=ep.next=e}return ep}function up(e,t){return"function"==typeof t?t(e):t}function sp(e){var t=lp(),n=t.queue;if(null===n)throw Error(pi(311));n.lastRenderedReducer=e;var r=Jd,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var i=o.next;o.next=a.next,a.next=i}r.baseQueue=o=a,n.pending=null}if(null!==o){r=r.baseState;var l=i=a=null,u=o=o.next;do{var s=u.lane;if((Yd&s)===s)null!==l&&(l=l.next={lane:0,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null}),r=u.eagerReducer===e?u.eagerState:e(r,u.action);else{var c={lane:s,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null};null===l?(i=l=c,a=r):l=l.next=c,Zd.lanes|=s,Im|=s}u=u.next}while(null!==u&&u!==o);null===l?a=r:l.next=i,sc(r,t.memoizedState)||(Mp=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function cp(e){var t=lp(),n=t.queue;if(null===n)throw Error(pi(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var i=o=o.next;do{a=e(a,i.action),i=i.next}while(i!==o);sc(a,t.memoizedState)||(Mp=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function fp(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionPrimary;if(null!==o?e=o===r:(e=(Yd&(e=e.mutableReadLanes))===e)&&(t._workInProgressVersionPrimary=r,qd.push(t)),e)return n(t._source);throw qd.push(t),Error(pi(350))}function dp(e,t,n,r){var o=km;if(null===o)throw Error(pi(349));var a=t._getVersion,i=a(t._source),l=Xd.current,u=l.useState(function(){return fp(o,t,n)}),s=u[1],c=u[0];u=ep;var f=e.memoizedState,d=f.refs,p=d.getSnapshot,m=f.source;f=f.subscribe;var h=Zd;return e.memoizedState={refs:d,source:t,subscribe:r},l.useEffect(function(){d.getSnapshot=n,d.setSnapshot=s;var e=a(t._source);if(!sc(i,e)){e=n(t._source),sc(c,e)||(s(e),e=oh(h),o.mutableReadLanes|=e&o.pendingLanes),o.entangledLanes|=e=o.mutableReadLanes;for(var r=o.entanglements,l=e;0<l;){var u=31-qu(l),f=1<<u;r[u]|=e,l&=~f}}},[n,t,r]),l.useEffect(function(){return r(t._source,function(){var e=d.getSnapshot,n=d.setSnapshot;try{n(e(t._source));var r=oh(h);o.mutableReadLanes|=r&o.pendingLanes}catch(e){n(function(){throw e})}})},[t,r]),sc(p,n)&&sc(m,t)&&sc(f,r)||((e={pending:null,dispatch:null,lastRenderedReducer:up,lastRenderedState:c}).dispatch=s=Np.bind(null,Zd,e),u.queue=e,u.baseQueue=null,c=fp(o,t,n),u.memoizedState=u.baseState=c),c}function pp(e,t,n){return dp(lp(),e,t,n)}function mp(e){var t=ip();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:up,lastRenderedState:e}).dispatch=Np.bind(null,Zd,e),[t.memoizedState,e]}function hp(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Zd.updateQueue)?(Zd.updateQueue=t={lastEffect:null},t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function yp(e){return ip().memoizedState={current:e}}function gp(){return lp().memoizedState}function vp(e,t,n,r){var o=ip();Zd.flags|=e,o.memoizedState=hp(1|t,n,void 0,void 0===r?null:r)}function bp(e,t,n,r){var o=lp();r=void 0===r?null:r;var a=void 0;if(null!==Jd){var i=Jd.memoizedState;if(a=i.destroy,null!==r&&op(r,i.deps))return void hp(t,n,a,r)}Zd.flags|=e,o.memoizedState=hp(1|t,n,a,r)}function Ep(e,t){return vp(516,4,e,t)}function wp(e,t){return bp(516,4,e,t)}function Sp(e,t){return bp(4,2,e,t)}function _p(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Cp(e,t,n){return n=null!=n?n.concat([e]):null,bp(4,2,_p.bind(null,t,e),n)}function Op(){}function kp(e,t){var n=lp();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&op(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Tp(e,t){var n=lp();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&op(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Pp(e,t){var n=$f();Bf(98>n?98:n,function(){e(!0)}),Bf(97<n?97:n,function(){var n=Kd.transition;Kd.transition=1;try{e(!1),t()}finally{Kd.transition=n}})}function Np(e,t,n){var r=rh(),o=oh(e),a={lane:o,action:n,eagerReducer:null,eagerState:null,next:null},i=t.pending;if(null===i?a.next=a:(a.next=i.next,i.next=a),t.pending=a,i=e.alternate,e===Zd||null!==i&&i===Zd)np=tp=!0;else{if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var l=t.lastRenderedState,u=i(l,n);if(a.eagerReducer=i,a.eagerState=u,sc(u,l))return}catch(e){}ah(e,o,r)}}var xp={readContext:ad,useCallback:rp,useContext:rp,useEffect:rp,useImperativeHandle:rp,useLayoutEffect:rp,useMemo:rp,useReducer:rp,useRef:rp,useState:rp,useDebugValue:rp,useDeferredValue:rp,useTransition:rp,useMutableSource:rp,useOpaqueIdentifier:rp,unstable_isNewReconciler:!1},Ap={readContext:ad,useCallback:function(e,t){return ip().memoizedState=[e,void 0===t?null:t],e},useContext:ad,useEffect:Ep,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,vp(4,2,_p.bind(null,t,e),n)},useLayoutEffect:function(e,t){return vp(4,2,e,t)},useMemo:function(e,t){var n=ip();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ip();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Np.bind(null,Zd,e),[r.memoizedState,e]},useRef:yp,useState:mp,useDebugValue:Op,useDeferredValue:function(e){var t=mp(e),n=t[0],r=t[1];return Ep(function(){var t=Kd.transition;Kd.transition=1;try{r(e)}finally{Kd.transition=t}},[e]),n},useTransition:function(){var e=mp(!1),t=e[0];return yp(e=Pp.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=ip();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},dp(r,e,t,n)},useOpaqueIdentifier:function(){if(zd){var e=!1,t=function(e){return{$$typeof:Gi,toString:e,valueOf:e}}(function(){throw e||(e=!0,n("r:"+(Qc++).toString(36))),Error(pi(355))}),n=mp(t)[1];return 0==(2&Zd.mode)&&(Zd.flags|=516,hp(5,function(){n("r:"+(Qc++).toString(36))},void 0,null)),t}return mp(t="r:"+(Qc++).toString(36)),t},unstable_isNewReconciler:!1},Rp={readContext:ad,useCallback:kp,useContext:ad,useEffect:wp,useImperativeHandle:Cp,useLayoutEffect:Sp,useMemo:Tp,useReducer:sp,useRef:gp,useState:function(){return sp(up)},useDebugValue:Op,useDeferredValue:function(e){var t=sp(up),n=t[0],r=t[1];return wp(function(){var t=Kd.transition;Kd.transition=1;try{r(e)}finally{Kd.transition=t}},[e]),n},useTransition:function(){var e=sp(up)[0];return[gp().current,e]},useMutableSource:pp,useOpaqueIdentifier:function(){return sp(up)[0]},unstable_isNewReconciler:!1},Lp={readContext:ad,useCallback:kp,useContext:ad,useEffect:wp,useImperativeHandle:Cp,useLayoutEffect:Sp,useMemo:Tp,useReducer:cp,useRef:gp,useState:function(){return cp(up)},useDebugValue:Op,useDeferredValue:function(e){var t=cp(up),n=t[0],r=t[1];return wp(function(){var t=Kd.transition;Kd.transition=1;try{r(e)}finally{Kd.transition=t}},[e]),n},useTransition:function(){var e=cp(up)[0];return[gp().current,e]},useMutableSource:pp,useOpaqueIdentifier:function(){return cp(up)[0]},unstable_isNewReconciler:!1},Ip=Pi.ReactCurrentOwner,Mp=!1;function Dp(e,t,n,r){t.child=null===e?kd(t,null,n,r):Od(t,e.child,n,r)}function Fp(e,t,n,r,o){n=n.render;var a=t.ref;return od(t,o),r=ap(e,t,n,r,a,o),null===e||Mp?(t.flags|=1,Dp(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,tm(e,t,o))}function jp(e,t,n,r,o,a){if(null===e){var i=n.type;return"function"!=typeof i||Dh(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=jh(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Up(e,t,i,r,o,a))}return i=e.child,0==(o&a)&&(n=null!==(n=n.compare)?n:fc)(o=i.memoizedProps,r)&&e.ref===t.ref?tm(e,t,a):(t.flags|=1,(e=Fh(i,r)).ref=t.ref,e.return=t,t.child=e)}function Up(e,t,n,r,o,a){if(null!==e&&fc(e.memoizedProps,r)&&e.ref===t.ref){if(Mp=!1,0==(a&o))return t.lanes=e.lanes,tm(e,t,a);0!=(16384&e.flags)&&(Mp=!0)}return Gp(e,t,n,r,a)}function zp(e,t,n){var r=t.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0==(4&t.mode))t.memoizedState={baseLanes:0},ph(0,n);else{if(0==(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},ph(0,e),null;t.memoizedState={baseLanes:0},ph(0,null!==a?a.baseLanes:n)}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,ph(0,r);return Dp(e,t,o,n),t.child}function Vp(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Gp(e,t,n,r,o){var a=yf(n)?mf:df.current;return a=hf(t,a),od(t,o),n=ap(e,t,n,r,a,o),null===e||Mp?(t.flags|=1,Dp(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,tm(e,t,o))}function $p(e,t,n,r,o){if(yf(n)){var a=!0;Ef(t)}else a=!1;if(od(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),vd(t,n,r),Ed(t,n,r,o),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var u=i.context,s=n.contextType;s="object"==typeof s&&null!==s?ad(s):hf(t,s=yf(n)?mf:df.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;f||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||u!==s)&&bd(t,i,r,s),id=!1;var d=t.memoizedState;i.state=d,dd(t,r,i,o),u=t.memoizedState,l!==r||d!==u||pf.current||id?("function"==typeof c&&(hd(t,n,c,r),u=t.memoizedState),(l=id||gd(t,n,l,r,d,u,s))?(f||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4)):("function"==typeof i.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=u),i.props=r,i.state=u,i.context=s,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4),r=!1)}else{i=t.stateNode,ud(e,t),l=t.memoizedProps,s=t.type===t.elementType?l:Kf(t.type,l),i.props=s,f=t.pendingProps,d=i.context,u="object"==typeof(u=n.contextType)&&null!==u?ad(u):hf(t,u=yf(n)?mf:df.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==f||d!==u)&&bd(t,i,r,u),id=!1,i.state=d=t.memoizedState,dd(t,r,i,o);var m=t.memoizedState;l!==f||d!==m||pf.current||id?("function"==typeof p&&(hd(t,n,p,r),m=t.memoizedState),(s=id||gd(t,n,s,r,d,m,u))?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,m,u),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,m,u)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=m),i.props=r,i.state=m,i.context=u,r=s):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),r=!1)}return Wp(e,t,n,r,a,o)}function Wp(e,t,n,r,o,a){Vp(e,t);var i=0!=(64&t.flags);if(!r&&!i)return o&&wf(t,n,!1),tm(e,t,a);r=t.stateNode,Ip.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Od(t,e.child,null,a),t.child=Od(t,null,l,a)):Dp(e,t,l,a),t.memoizedState=r.state,o&&wf(t,n,!0),t.child}function Bp(e){var t=e.stateNode;t.pendingContext?vf(0,t.pendingContext,t.pendingContext!==t.context):t.context&&vf(0,t.context,!1),Rd(e,t.containerInfo)}var Hp,qp,Qp,Xp={dehydrated:null,retryLane:0};function Kp(e,t,n){var r,o=t.pendingProps,a=Dd.current,i=!1;return(r=0!=(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(i=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(a|=1),cf(Dd,1&a),null===e?(void 0!==o.fallback&&$d(t),e=o.children,a=o.fallback,i?(e=Yp(t,e,a,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Xp,e):"number"==typeof o.unstable_expectedLoadTime?(e=Yp(t,e,a,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Xp,t.lanes=33554432,e):((n=zh({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):i?(o=function(e,t,n,r,o){var a=t.mode,i=e.child;e=i.sibling;var l={mode:"hidden",children:n};return 0==(2&a)&&t.child!==i?((n=t.child).childLanes=0,n.pendingProps=l,null!==(i=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=i,i.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Fh(i,l),null!==e?r=Fh(e,r):(r=Uh(r,a,o,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}(e,t,o.children,o.fallback,n),(i=t.child).memoizedState=null===(a=e.child.memoizedState)?{baseLanes:n}:{baseLanes:a.baseLanes|n},i.childLanes=e.childLanes&~n,t.memoizedState=Xp,o):(n=function(e,t,n,r){var o=e.child;return e=o.sibling,n=Fh(o,{mode:"visible",children:n}),0==(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}(e,t,o.children,n),t.memoizedState=null,n)}function Yp(e,t,n,r){var o=e.mode,a=e.child;return t={mode:"hidden",children:t},0==(2&o)&&null!==a?(a.childLanes=0,a.pendingProps=t):a=zh(t,o,0,null),n=Uh(n,o,r,null),a.return=e,n.return=e,a.sibling=n,e.child=a,n}function Zp(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),rd(e.return,t)}function Jp(e,t,n,r,o,a){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,lastEffect:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o,i.lastEffect=a)}function em(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(Dp(e,t,r.children,n),0!=(2&(r=Dd.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!=(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Zp(e,n);else if(19===e.tag)Zp(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(cf(Dd,r),0==(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Fd(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Jp(t,!1,o,n,a,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Fd(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Jp(t,!0,n,null,a,t.lastEffect);break;case"together":Jp(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function tm(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Im|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(pi(153));if(null!==t.child){for(n=Fh(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)(n=n.sibling=Fh(e=e.sibling,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function nm(e,t){if(!zd)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function rm(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return yf(t.type)&&gf(),null;case 3:return Ld(),sf(pf),sf(df),Qd(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Bd(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:Md(t);var o=Ad(xd.current);if(n=t.type,null!==e&&null!=t.stateNode)qp(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(pi(166));return null}if(e=Ad(Pd.current),Bd(t)){n=t.type;var a=t.memoizedProps;switch((r=t.stateNode)[Kc]=t,r[Yc]=a,n){case"dialog":Pc("cancel",r),Pc("close",r);break;case"iframe":case"object":case"embed":Pc("load",r);break;case"video":case"audio":for(e=0;e<Cc.length;e++)Pc(Cc[e],r);break;case"source":Pc("error",r);break;case"img":case"image":case"link":Pc("error",r),Pc("load",r);break;case"details":Pc("toggle",r);break;case"input":ll(r,a),Pc("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Pc("invalid",r);break;case"textarea":hl(r,a),Pc("invalid",r)}for(var i in Nl(n,a),e=null,a)a.hasOwnProperty(i)&&(o=a[i],"children"===i?"string"==typeof o?r.textContent!==o&&(e=["children",o]):"number"==typeof o&&r.textContent!==""+o&&(e=["children",""+o]):hi.hasOwnProperty(i)&&null!=o&&"onScroll"===i&&Pc("scroll",r));switch(n){case"input":rl(r),cl(r,a,!0);break;case"textarea":rl(r),gl(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=jc)}t.updateQueue=r=e,null!==r&&(t.flags|=4)}else{switch(i=9===o.nodeType?o:o.ownerDocument,e===vl&&(e=bl(n)),e===vl?"script"===n?((e=i.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),"select"===n&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Kc]=t,e[Yc]=r,Hp(e,t),t.stateNode=e,i=xl(n,r),n){case"dialog":Pc("cancel",e),Pc("close",e),o=r;break;case"iframe":case"object":case"embed":Pc("load",e),o=r;break;case"video":case"audio":for(o=0;o<Cc.length;o++)Pc(Cc[o],e);o=r;break;case"source":Pc("error",e),o=r;break;case"img":case"image":case"link":Pc("error",e),Pc("load",e),o=r;break;case"details":Pc("toggle",e),o=r;break;case"input":ll(e,r),o=il(e,r),Pc("invalid",e);break;case"option":o=dl(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=ar({},r,{value:void 0}),Pc("invalid",e);break;case"textarea":hl(e,r),o=ml(e,r),Pc("invalid",e);break;default:o=r}Nl(n,o);var l=o;for(a in l)if(l.hasOwnProperty(a)){var u=l[a];"style"===a?Tl(e,u):"dangerouslySetInnerHTML"===a?null!=(u=u?u.__html:void 0)&&Sl(e,u):"children"===a?"string"==typeof u?("textarea"!==n||""!==u)&&_l(e,u):"number"==typeof u&&_l(e,""+u):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(hi.hasOwnProperty(a)?null!=u&&"onScroll"===a&&Pc("scroll",e):null!=u&&Ti(e,a,u,i))}switch(n){case"input":rl(e),cl(e,r,!1);break;case"textarea":rl(e),gl(e);break;case"option":null!=r.value&&e.setAttribute("value",""+tl(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?pl(e,!!r.multiple,a,!1):null!=r.defaultValue&&pl(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=jc)}Vc(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Qp(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(pi(166));n=Ad(xd.current),Ad(Pd.current),Bd(t)?(n=t.memoizedProps,(r=t.stateNode)[Kc]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Kc]=t,t.stateNode=r)}return null;case 13:return sf(Dd),r=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Bd(t):n=null!==e.memoizedState,r&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Dd.current)?0===Am&&(Am=3):(0!==Am&&3!==Am||(Am=4),null===km||0==(134217727&Im)&&0==(134217727&Mm)||sh(km,Pm))),(r||n)&&(t.flags|=4),null);case 4:return Ld(),null===e&&xc(t.stateNode.containerInfo),null;case 10:return nd(t),null;case 17:return yf(t.type)&&gf(),null;case 19:if(sf(Dd),null===(r=t.memoizedState))return null;if(a=0!=(64&t.flags),null===(i=r.rendering))if(a)nm(r,!1);else{if(0!==Am||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(i=Fd(e))){for(t.flags|=64,nm(r,!1),null!==(a=i.updateQueue)&&(t.updateQueue=a,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=2,a.nextEffect=null,a.firstEffect=null,a.lastEffect=null,null===(i=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=i.childLanes,a.lanes=i.lanes,a.child=i.child,a.memoizedProps=i.memoizedProps,a.memoizedState=i.memoizedState,a.updateQueue=i.updateQueue,a.type=i.type,a.dependencies=null===(e=i.dependencies)?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return cf(Dd,1&Dd.current|2),t.child}e=e.sibling}null!==r.tail&&Gf()>Um&&(t.flags|=64,a=!0,nm(r,!1),t.lanes=33554432)}else{if(!a)if(null!==(e=Fd(i))){if(t.flags|=64,a=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),nm(r,!0),null===r.tail&&"hidden"===r.tailMode&&!i.alternate&&!zd)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Gf()-r.renderingStartTime>Um&&1073741824!==n&&(t.flags|=64,a=!0,nm(r,!1),t.lanes=33554432);r.isBackwards?(i.sibling=t.child,t.child=i):(null!==(n=r.last)?n.sibling=i:t.child=i,r.last=i)}return null!==r.tail?(r.rendering=n=r.tail,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Gf(),n.sibling=null,t=Dd.current,cf(Dd,a?1&t|2:1&t),n):null;case 23:case 24:return mh(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(pi(156,t.tag))}function om(e){switch(e.tag){case 1:yf(e.type)&&gf();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Ld(),sf(pf),sf(df),Qd(),0!=(64&(t=e.flags)))throw Error(pi(285));return e.flags=-4097&t|64,e;case 5:return Md(e),null;case 13:return sf(Dd),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return sf(Dd),null;case 4:return Ld(),null;case 10:return nd(e),null;case 23:case 24:return mh(),null;default:return null}}function am(e,t){try{var n="",r=t;do{n+=Ji(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o}}function im(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}Hp=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},qp=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Ad(Pd.current);var a,i=null;switch(n){case"input":o=il(e,o),r=il(e,r),i=[];break;case"option":o=dl(e,o),r=dl(e,r),i=[];break;case"select":o=ar({},o,{value:void 0}),r=ar({},r,{value:void 0}),i=[];break;case"textarea":o=ml(e,o),r=ml(e,r),i=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=jc)}for(s in Nl(n,r),n=null,o)if(!r.hasOwnProperty(s)&&o.hasOwnProperty(s)&&null!=o[s])if("style"===s){var l=o[s];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(hi.hasOwnProperty(s)?i||(i=[]):(i=i||[]).push(s,null));for(s in r){var u=r[s];if(l=null!=o?o[s]:void 0,r.hasOwnProperty(s)&&u!==l&&(null!=u||null!=l))if("style"===s)if(l){for(a in l)!l.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in u)u.hasOwnProperty(a)&&l[a]!==u[a]&&(n||(n={}),n[a]=u[a])}else n||(i||(i=[]),i.push(s,n)),n=u;else"dangerouslySetInnerHTML"===s?(l=l?l.__html:void 0,null!=(u=u?u.__html:void 0)&&l!==u&&(i=i||[]).push(s,u)):"children"===s?"string"!=typeof u&&"number"!=typeof u||(i=i||[]).push(s,""+u):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(hi.hasOwnProperty(s)?(null!=u&&"onScroll"===s&&Pc("scroll",e),i||l===u||(i=[])):"object"==typeof u&&null!==u&&u.$$typeof===Gi?u.toString():(i=i||[]).push(s,u))}n&&(i=i||[]).push("style",n);var s=i;(t.updateQueue=s)&&(t.flags|=4)}},Qp=function(e,t,n,r){n!==r&&(t.flags|=4)};var lm="function"==typeof WeakMap?WeakMap:Map;function um(e,t,n){(n=sd(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){$m||($m=!0,Wm=r),im(0,t)},n}function sm(e,t,n){(n=sd(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return im(0,t),r(o)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Bm?Bm=new Set([this]):Bm.add(this),im(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var cm="function"==typeof WeakSet?WeakSet:Set;function fm(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Ah(e,t)}else t.current=null}function dm(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Kf(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Bc(t.stateNode.containerInfo));case 5:case 6:case 4:case 17:return}throw Error(pi(163))}function pm(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var o=e;r=o.next,0!=(4&(o=o.tag))&&0!=(1&o)&&(Ph(n,e),Th(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Kf(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&pd(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}pd(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Vc(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&ku(n)))));case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(pi(163))}function mm(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var o=n.memoizedProps.style;o=null!=o&&o.hasOwnProperty("display")?o.display:null,r.style.display=kl("display",o)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function hm(e,t){if(_f&&"function"==typeof _f.onCommitFiberUnmount)try{_f.onCommitFiberUnmount(Sf,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,o=r.destroy;if(r=r.tag,void 0!==o)if(0!=(4&r))Ph(t,n);else{r=t;try{o()}catch(e){Ah(r,e)}}n=n.next}while(n!==e)}break;case 1:if(fm(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Ah(t,e)}break;case 5:fm(t);break;case 4:bm(e,t)}}function ym(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function gm(e){return 5===e.tag||3===e.tag||4===e.tag}function vm(e){e:{for(var t=e.return;null!==t;){if(gm(t))break e;t=t.return}throw Error(pi(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(pi(161))}16&n.flags&&(_l(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||gm(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?function e(t,n,r){var o=t.tag,a=5===o||6===o;if(a)t=a?t.stateNode:t.stateNode.instance,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode).insertBefore(t,r):(n=r).appendChild(t),null!==(r=r._reactRootContainer)&&void 0!==r||null!==n.onclick||(n.onclick=jc));else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t):function e(t,n,r){var o=t.tag,a=5===o||6===o;if(a)t=a?t.stateNode:t.stateNode.instance,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t)}function bm(e,t){for(var n,r,o=t,a=!1;;){if(!a){a=o.return;e:for(;;){if(null===a)throw Error(pi(160));switch(n=a.stateNode,a.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}a=a.return}a=!0}if(5===o.tag||6===o.tag){e:for(var i=e,l=o,u=l;;)if(hm(i,u),null!==u.child&&4!==u.tag)u.child.return=u,u=u.child;else{if(u===l)break e;for(;null===u.sibling;){if(null===u.return||u.return===l)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}r?(l=o.stateNode,8===(i=n).nodeType?i.parentNode.removeChild(l):i.removeChild(l)):n.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){n=o.stateNode.containerInfo,r=!0,o.child.return=o,o=o.child;continue}}else if(hm(e,o),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(a=!1)}o.sibling.return=o.return,o=o.sibling}}function Em(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3==(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var o=null!==e?e.memoizedProps:r;e=t.type;var a=t.updateQueue;if(t.updateQueue=null,null!==a){for(n[Yc]=r,"input"===e&&"radio"===r.type&&null!=r.name&&ul(n,r),xl(e,o),t=xl(e,r),o=0;o<a.length;o+=2){var i=a[o],l=a[o+1];"style"===i?Tl(n,l):"dangerouslySetInnerHTML"===i?Sl(n,l):"children"===i?_l(n,l):Ti(n,i,l,t)}switch(e){case"input":sl(n,r);break;case"textarea":yl(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(a=r.value)?pl(n,!!r.multiple,a,!1):e!==!!r.multiple&&(null!=r.defaultValue?pl(n,!!r.multiple,r.defaultValue,!0):pl(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(pi(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,ku(n.containerInfo)));case 12:return;case 13:return null!==t.memoizedState&&(jm=Gf(),mm(t.child,!0)),void wm(t);case 19:return void wm(t);case 17:return;case 23:case 24:return void mm(t,null!==t.memoizedState)}throw Error(pi(163))}function wm(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new cm),t.forEach(function(t){var r=Lh.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}var Sm=Math.ceil,_m=Pi.ReactCurrentDispatcher,Cm=Pi.ReactCurrentOwner,Om=0,km=null,Tm=null,Pm=0,Nm=0,xm=uf(0),Am=0,Rm=null,Lm=0,Im=0,Mm=0,Dm=0,Fm=null,jm=0,Um=Infinity;function zm(){Um=Gf()+500}var Vm,Gm=null,$m=!1,Wm=null,Bm=null,Hm=!1,qm=null,Qm=90,Xm=[],Km=[],Ym=null,Zm=0,Jm=null,eh=-1,th=0,nh=0;function rh(){return 0!=(48&Om)?Gf():-1!==eh?eh:eh=Gf()}function oh(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===$f()?1:2;if(0===th&&(th=Lm),0!==Xf.transition){0!==nh&&(nh=null!==Fm?Fm.pendingLanes:0),e=th;var t=4186112&~nh;return 0==(t&=-t)&&0==(t=(e=4186112&~e)&-e)&&(t=8192),t}return e=$f(),function e(t,n){switch(t){case 15:return 1;case 14:return 2;case 12:return 0===(t=Wu(24&~n))?e(10,n):t;case 10:return 0===(t=Wu(192&~n))?e(8,n):t;case 8:return 0===(t=Wu(3584&~n))&&0===(t=Wu(4186112&~n))&&(t=512),t;case 2:return 0===(n=Wu(805306368&~n))&&(n=268435456),n}throw Error(pi(358,t))}(0!=(4&Om)&&98===e?12:e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),th)}function ah(e,t,n){if(50<Zm)throw Zm=0,Jm=null,Error(pi(185));if(null===(e=ih(e,t)))return null;Hu(e,t,n),e===km&&(Mm|=t,4===Am&&sh(e,Pm));var r=$f();1===t?0!=(8&Om)&&0==(48&Om)?ch(e):(lh(e,n),0===Om&&(zm(),qf())):(0==(4&Om)||98!==r&&99!==r||(null===Ym?Ym=new Set([e]):Ym.add(e)),lh(e,n)),Fm=e}function ih(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function lh(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,a=e.expirationTimes,i=e.pendingLanes;0<i;){var l=31-qu(i),u=1<<l,s=a[l];-1===s?0!=(u&r)&&0==(u&o)||(s=t,Vu(u),a[l]=10<=zu?s+250:6<=zu?s+5e3:-1):s<=t&&(e.expiredLanes|=u),i&=~u}if(r=Gu(e,e===km?Pm:0),t=zu,0===r)null!==n&&(n!==Df&&kf(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Df&&kf(n)}15===t?(n=ch.bind(null,e),null===jf?(jf=[n],Uf=Of(Af,Qf)):jf.push(n),n=Df):n=14===t?Hf(99,ch.bind(null,e)):Hf(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(pi(358,e))}}(t),uh.bind(null,e)),e.callbackPriority=t,e.callbackNode=n}}function uh(e){if(eh=-1,nh=th=0,0!=(48&Om))throw Error(pi(327));var t=e.callbackNode;if(kh()&&e.callbackNode!==t)return null;var n=Gu(e,e===km?Pm:0);if(0===n)return null;var r=n,o=Om;Om|=16;var a=gh();for(km===e&&Pm===r||(zm(),hh(e,r));;)try{Eh();break}catch(t){yh(e,t)}if(td(),_m.current=a,Om=o,null!==Tm?r=0:(km=null,Pm=0,r=Am),0!=(Lm&Mm))hh(e,0);else if(0!==r){if(2===r&&(Om|=64,e.hydrate&&(e.hydrate=!1,Bc(e.containerInfo)),0!==(n=$u(e))&&(r=vh(e,n))),1===r)throw t=Rm,hh(e,0),sh(e,n),lh(e,Gf()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(pi(345));case 2:_h(e);break;case 3:if(sh(e,n),(62914560&n)===n&&10<(r=jm+500-Gf())){if(0!==Gu(e,0))break;if(((o=e.suspendedLanes)&n)!==n){rh(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=$c(_h.bind(null,e),r);break}_h(e);break;case 4:if(sh(e,n),(4186112&n)===n)break;for(r=e.eventTimes,o=-1;0<n;){var i=31-qu(n);a=1<<i,(i=r[i])>o&&(o=i),n&=~a}if(n=o,10<(n=(120>(n=Gf()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Sm(n/1960))-n)){e.timeoutHandle=$c(_h.bind(null,e),n);break}_h(e);break;case 5:_h(e);break;default:throw Error(pi(329))}}return lh(e,Gf()),e.callbackNode===t?uh.bind(null,e):null}function sh(e,t){for(t&=~Dm,e.suspendedLanes|=t&=~Mm,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-qu(t),r=1<<n;e[n]=-1,t&=~r}}function ch(e){if(0!=(48&Om))throw Error(pi(327));if(kh(),e===km&&0!=(e.expiredLanes&Pm)){var t=Pm,n=vh(e,t);0!=(Lm&Mm)&&(n=vh(e,t=Gu(e,t)))}else n=vh(e,t=Gu(e,0));if(0!==e.tag&&2===n&&(Om|=64,e.hydrate&&(e.hydrate=!1,Bc(e.containerInfo)),0!==(t=$u(e))&&(n=vh(e,t))),1===n)throw n=Rm,hh(e,0),sh(e,t),lh(e,Gf()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,_h(e),lh(e,Gf()),null}function fh(e,t){var n=Om;Om|=1;try{return e(t)}finally{0===(Om=n)&&(zm(),qf())}}function dh(e,t){var n=Om;Om&=-2,Om|=8;try{return e(t)}finally{0===(Om=n)&&(zm(),qf())}}function ph(e,t){cf(xm,Nm),Nm|=t,Lm|=t}function mh(){Nm=xm.current,sf(xm)}function hh(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Wc(n)),null!==Tm)for(n=Tm.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&gf();break;case 3:Ld(),sf(pf),sf(df),Qd();break;case 5:Md(r);break;case 4:Ld();break;case 13:case 19:sf(Dd);break;case 10:nd(r);break;case 23:case 24:mh()}n=n.return}km=e,Tm=Fh(e.current,null),Pm=Nm=Lm=t,Am=0,Rm=null,Dm=Mm=Im=0}function yh(e,t){for(;;){var n=Tm;try{if(td(),Xd.current=xp,tp){for(var r=Zd.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}tp=!1}if(Yd=0,ep=Jd=Zd=null,np=!1,Cm.current=null,null===n||null===n.return){Am=1,Rm=t,Tm=null;break}e:{var a=e,i=n.return,l=n,u=t;if(t=Pm,l.flags|=2048,l.firstEffect=l.lastEffect=null,null!==u&&"object"==typeof u&&"function"==typeof u.then){var s=u;if(0==(2&l.mode)){var c=l.alternate;c?(l.updateQueue=c.updateQueue,l.memoizedState=c.memoizedState,l.lanes=c.lanes):(l.updateQueue=null,l.memoizedState=null)}var f=0!=(1&Dd.current),d=i;do{var p;if(p=13===d.tag){var m=d.memoizedState;if(null!==m)p=null!==m.dehydrated;else{var h=d.memoizedProps;p=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!f)}}if(p){var y=d.updateQueue;if(null===y){var g=new Set;g.add(s),d.updateQueue=g}else y.add(s);if(0==(2&d.mode)){if(d.flags|=64,l.flags|=16384,l.flags&=-2981,1===l.tag)if(null===l.alternate)l.tag=17;else{var v=sd(-1,1);v.tag=2,cd(l,v)}l.lanes|=1;break e}u=void 0,l=t;var b=a.pingCache;if(null===b?(b=a.pingCache=new lm,u=new Set,b.set(s,u)):void 0===(u=b.get(s))&&(u=new Set,b.set(s,u)),!u.has(l)){u.add(l);var E=Rh.bind(null,a,s,l);s.then(E,E)}d.flags|=4096,d.lanes=t;break e}d=d.return}while(null!==d);u=Error((el(l.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Am&&(Am=2),u=am(u,l),d=i;do{switch(d.tag){case 3:a=u,d.flags|=4096,d.lanes|=t&=-t,fd(d,um(0,a,t));break e;case 1:a=u;var w=d.stateNode;if(0==(64&d.flags)&&("function"==typeof d.type.getDerivedStateFromError||null!==w&&"function"==typeof w.componentDidCatch&&(null===Bm||!Bm.has(w)))){d.flags|=4096,d.lanes|=t&=-t,fd(d,sm(d,a,t));break e}}d=d.return}while(null!==d)}Sh(n)}catch(e){t=e,Tm===n&&null!==n&&(Tm=n=n.return);continue}break}}function gh(){var e=_m.current;return _m.current=xp,null===e?xp:e}function vh(e,t){var n=Om;Om|=16;var r=gh();for(km===e&&Pm===t||hh(e,t);;)try{bh();break}catch(t){yh(e,t)}if(td(),Om=n,_m.current=r,null!==Tm)throw Error(pi(261));return km=null,Pm=0,Am}function bh(){for(;null!==Tm;)wh(Tm)}function Eh(){for(;null!==Tm&&!Tf();)wh(Tm)}function wh(e){var t=Vm(e.alternate,e,Nm);e.memoizedProps=e.pendingProps,null===t?Sh(e):Tm=t,Cm.current=null}function Sh(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=rm(n,t,Nm)))return void(Tm=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&Nm)||0==(4&n.mode)){for(var r=0,o=n.child;null!==o;)r|=o.lanes|o.childLanes,o=o.sibling;n.childLanes=r}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=om(t)))return n.flags&=2047,void(Tm=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(Tm=t);Tm=t=e}while(null!==t);0===Am&&(Am=5)}function _h(e){var t=$f();return Bf(99,Ch.bind(null,e,t)),null}function Ch(e,t){do{kh()}while(null!==qm);if(0!=(48&Om))throw Error(pi(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(pi(177));e.callbackNode=null;var r=n.lanes|n.childLanes,o=r,a=e.pendingLanes&~o;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=o,e.mutableReadLanes&=o,e.entangledLanes&=o,o=e.entanglements;for(var i=e.eventTimes,l=e.expirationTimes;0<a;){var u=31-qu(a),s=1<<u;o[u]=0,i[u]=-1,l[u]=-1,a&=~s}if(null!==Ym&&0==(24&r)&&Ym.has(e)&&Ym.delete(e),e===km&&(Tm=km=null,Pm=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(o=Om,Om|=32,Cm.current=null,Uc=Zu,hc(i=mc())){if("selectionStart"in i)l={start:i.selectionStart,end:i.selectionEnd};else if((s=(l=(l=i.ownerDocument)&&l.defaultView||window).getSelection&&l.getSelection())&&0!==s.rangeCount){l=s.anchorNode,a=s.anchorOffset,u=s.focusNode,s=s.focusOffset;var c=0,f=-1,d=-1,p=0,m=0,h=i,y=null;e:for(;;){for(var g;h!==l||0!==a&&3!==h.nodeType||(f=c+a),h!==u||0!==s&&3!==h.nodeType||(d=c+s),3===h.nodeType&&(c+=h.nodeValue.length),null!==(g=h.firstChild);)y=h,h=g;for(;;){if(h===i)break e;if(y===l&&++p===a&&(f=c),y===u&&++m===s&&(d=c),null!==(g=h.nextSibling))break;y=(h=y).parentNode}h=g}l=-1===f||-1===d?null:{start:f,end:d}}else l=null;l=l||{start:0,end:0}}else l=null;zc={focusedElem:i,selectionRange:l},Zu=!1,Gm=r;do{try{Oh()}catch(e){if(null===Gm)throw Error(pi(330));Ah(Gm,e),Gm=Gm.nextEffect}}while(null!==Gm);Gm=r;do{try{for(i=e;null!==Gm;){var v=Gm.flags;if(16&v&&_l(Gm.stateNode,""),128&v){var b=Gm.alternate;if(null!==b){var E=b.ref;null!==E&&("function"==typeof E?E(null):E.current=null)}}switch(1038&v){case 2:vm(Gm),Gm.flags&=-3;break;case 6:vm(Gm),Gm.flags&=-3,Em(Gm.alternate,Gm);break;case 1024:Gm.flags&=-1025;break;case 1028:Gm.flags&=-1025,Em(Gm.alternate,Gm);break;case 4:Em(Gm.alternate,Gm);break;case 8:bm(i,l=Gm);var w=l.alternate;ym(l),null!==w&&ym(w)}Gm=Gm.nextEffect}}catch(e){if(null===Gm)throw Error(pi(330));Ah(Gm,e),Gm=Gm.nextEffect}}while(null!==Gm);if(E=zc,b=mc(),i=E.selectionRange,b!==(v=E.focusedElem)&&v&&v.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(v.ownerDocument.documentElement,v)){null!==i&&hc(v)&&(b=i.start,void 0===(E=i.end)&&(E=b),"selectionStart"in v?(v.selectionStart=b,v.selectionEnd=Math.min(E,v.value.length)):(E=(b=v.ownerDocument||document)&&b.defaultView||window).getSelection&&(E=E.getSelection(),l=v.textContent.length,w=Math.min(i.start,l),i=void 0===i.end?w:Math.min(i.end,l),!E.extend&&w>i&&(l=i,i=w,w=l),l=pc(v,w),a=pc(v,i),l&&a&&(1!==E.rangeCount||E.anchorNode!==l.node||E.anchorOffset!==l.offset||E.focusNode!==a.node||E.focusOffset!==a.offset)&&((b=b.createRange()).setStart(l.node,l.offset),E.removeAllRanges(),w>i?(E.addRange(b),E.extend(a.node,a.offset)):(b.setEnd(a.node,a.offset),E.addRange(b))))),b=[];for(E=v;E=E.parentNode;)1===E.nodeType&&b.push({element:E,left:E.scrollLeft,top:E.scrollTop});for("function"==typeof v.focus&&v.focus(),v=0;v<b.length;v++)(E=b[v]).element.scrollLeft=E.left,E.element.scrollTop=E.top}Zu=!!Uc,zc=Uc=null,e.current=n,Gm=r;do{try{for(v=e;null!==Gm;){var S=Gm.flags;if(36&S&&pm(v,Gm.alternate,Gm),128&S){b=void 0;var _=Gm.ref;if(null!==_){var C=Gm.stateNode;switch(Gm.tag){case 5:b=C;break;default:b=C}"function"==typeof _?_(b):_.current=b}}Gm=Gm.nextEffect}}catch(e){if(null===Gm)throw Error(pi(330));Ah(Gm,e),Gm=Gm.nextEffect}}while(null!==Gm);Gm=null,Ff(),Om=o}else e.current=n;if(Hm)Hm=!1,qm=e,Qm=t;else for(Gm=r;null!==Gm;)t=Gm.nextEffect,Gm.nextEffect=null,8&Gm.flags&&((S=Gm).sibling=null,S.stateNode=null),Gm=t;if(0===(r=e.pendingLanes)&&(Bm=null),1===r?e===Jm?Zm++:(Zm=0,Jm=e):Zm=0,n=n.stateNode,_f&&"function"==typeof _f.onCommitFiberRoot)try{_f.onCommitFiberRoot(Sf,n,void 0,64==(64&n.current.flags))}catch(e){}if(lh(e,Gf()),$m)throw $m=!1,e=Wm,Wm=null,e;return 0!=(8&Om)||qf(),null}function Oh(){for(;null!==Gm;){var e=Gm.flags;0!=(256&e)&&dm(Gm.alternate,Gm),0==(512&e)||Hm||(Hm=!0,Hf(97,function(){return kh(),null})),Gm=Gm.nextEffect}}function kh(){if(90!==Qm){var e=97<Qm?97:Qm;return Qm=90,Bf(e,Nh)}return!1}function Th(e,t){Xm.push(t,e),Hm||(Hm=!0,Hf(97,function(){return kh(),null}))}function Ph(e,t){Km.push(t,e),Hm||(Hm=!0,Hf(97,function(){return kh(),null}))}function Nh(){if(null===qm)return!1;var e=qm;if(qm=null,0!=(48&Om))throw Error(pi(331));var t=Om;Om|=32;var n=Km;Km=[];for(var r=0;r<n.length;r+=2){var o=n[r],a=n[r+1],i=o.destroy;if(o.destroy=void 0,"function"==typeof i)try{i()}catch(e){if(null===a)throw Error(pi(330));Ah(a,e)}}for(n=Xm,Xm=[],r=0;r<n.length;r+=2){o=n[r],a=n[r+1];try{var l=o.create;o.destroy=l()}catch(e){if(null===a)throw Error(pi(330));Ah(a,e)}}for(l=e.current.firstEffect;null!==l;)e=l.nextEffect,l.nextEffect=null,8&l.flags&&(l.sibling=null,l.stateNode=null),l=e;return Om=t,qf(),!0}function xh(e,t,n){cd(e,t=um(0,t=am(n,t),1)),t=rh(),null!==(e=ih(e,1))&&(Hu(e,1,t),lh(e,t))}function Ah(e,t){if(3===e.tag)xh(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){xh(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Bm||!Bm.has(r))){var o=sm(n,e=am(t,e),1);if(cd(n,o),o=rh(),null!==(n=ih(n,1)))Hu(n,1,o),lh(n,o);else if("function"==typeof r.componentDidCatch&&(null===Bm||!Bm.has(r)))try{r.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function Rh(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=rh(),e.pingedLanes|=e.suspendedLanes&n,km===e&&(Pm&n)===n&&(4===Am||3===Am&&(62914560&Pm)===Pm&&500>Gf()-jm?hh(e,0):Dm|=n),lh(e,t)}function Lh(e,t){var n=e.stateNode;null!==n&&n.delete(t),0==(t=0)&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===$f()?1:2:(0===th&&(th=Lm),0===(t=Wu(62914560&~th))&&(t=4194304))),n=rh(),null!==(e=ih(e,t))&&(Hu(e,t,n),lh(e,n))}function Ih(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Mh(e,t,n,r){return new Ih(e,t,n,r)}function Dh(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Fh(e,t){var n=e.alternate;return null===n?((n=Mh(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,n.dependencies=null===(t=e.dependencies)?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function jh(e,t,n,r,o,a){var i=2;if(r=e,"function"==typeof e)Dh(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case Ai:return Uh(n.children,o,a,t);case $i:i=8,o|=16;break;case Ri:i=8,o|=1;break;case Li:return(e=Mh(12,n,t,8|o)).elementType=Li,e.type=Li,e.lanes=a,e;case Fi:return(e=Mh(13,n,t,o)).type=Fi,e.elementType=Fi,e.lanes=a,e;case ji:return(e=Mh(19,n,t,o)).elementType=ji,e.lanes=a,e;case Wi:return zh(n,o,a,t);case Bi:return(e=Mh(24,n,t,o)).elementType=Bi,e.lanes=a,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Ii:i=10;break e;case Mi:i=9;break e;case Di:i=11;break e;case Ui:i=14;break e;case zi:i=16,r=null;break e;case Vi:i=22;break e}throw Error(pi(130,null==e?e:typeof e,""))}return(t=Mh(i,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Uh(e,t,n,r){return(e=Mh(7,e,r,t)).lanes=n,e}function zh(e,t,n,r){return(e=Mh(23,e,r,t)).elementType=Wi,e.lanes=n,e}function Vh(e,t,n){return(e=Mh(6,e,null,t)).lanes=n,e}function Gh(e,t,n){return(t=Mh(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function $h(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Bu(0),this.expirationTimes=Bu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Bu(0),this.mutableSourceEagerHydrationData=null}function Wh(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:xi,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Bh(e,t,n,r){var o=t.current,a=rh(),i=oh(o);e:if(n){t:{if(tu(n=n._reactInternals)!==n||1!==n.tag)throw Error(pi(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(yf(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(pi(171))}if(1===n.tag){var u=n.type;if(yf(u)){n=bf(n,u,l);break e}}n=l}else n=ff;return null===t.context?t.context=n:t.pendingContext=n,(t=sd(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),cd(o,t),ah(o,i,a),i}function Hh(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function qh(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Qh(e,t){qh(e,t),(e=e.alternate)&&qh(e,t)}function Xh(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new $h(e,t,null!=n&&!0===n.hydrate),t=Mh(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,ld(t),e[Zc]=n.current,xc(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var o=(t=r[e])._getVersion;o=o(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,o]:n.mutableSourceEagerHydrationData.push(t,o)}this._internalRoot=n}function Kh(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Yh(e,t,n,r,o){var a=n._reactRootContainer;if(a){var i=a._internalRoot;if("function"==typeof o){var l=o;o=function(){var e=Hh(i);l.call(e)}}Bh(t,i,e,o)}else{if(a=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Xh(e,0,t?{hydrate:!0}:void 0)}(n,r),i=a._internalRoot,"function"==typeof o){var u=o;o=function(){var e=Hh(i);u.call(e)}}dh(function(){Bh(t,i,e,o)})}return Hh(i)}function Zh(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Kh(t))throw Error(pi(200));return Wh(e,t,null,n)}Vm=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||pf.current)Mp=!0;else{if(0==(n&r)){switch(Mp=!1,t.tag){case 3:Bp(t),Hd();break;case 5:Id(t);break;case 1:yf(t.type)&&Ef(t);break;case 4:Rd(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;cf(Yf,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?Kp(e,t,n):(cf(Dd,1&Dd.current),null!==(t=tm(e,t,n))?t.sibling:null);cf(Dd,1&Dd.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return em(e,t,n);t.flags|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),cf(Dd,Dd.current),r)break;return null;case 23:case 24:return t.lanes=0,zp(e,t,n)}return tm(e,t,n)}Mp=0!=(16384&e.flags)}else Mp=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=hf(t,df.current),od(t,n),o=ap(null,t,r,e,o,n),t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,yf(r)){var a=!0;Ef(t)}else a=!1;t.memoizedState=null!=o.state?o.state:null,ld(t);var i=r.getDerivedStateFromProps;"function"==typeof i&&hd(t,r,i,e),o.updater=yd,t.stateNode=o,o._reactInternals=t,Ed(t,r,e,n),t=Wp(null,t,r,!0,a,n)}else t.tag=0,Dp(null,t,o,n),t=t.child;return t;case 16:o=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=(a=o._init)(o._payload),t.type=o,a=t.tag=function(e){if("function"==typeof e)return Dh(e)?1:0;if(null!=e){if((e=e.$$typeof)===Di)return 11;if(e===Ui)return 14}return 2}(o),e=Kf(o,e),a){case 0:t=Gp(null,t,o,e,n);break e;case 1:t=$p(null,t,o,e,n);break e;case 11:t=Fp(null,t,o,e,n);break e;case 14:t=jp(null,t,o,Kf(o.type,e),r,n);break e}throw Error(pi(306,o,""))}return t;case 0:return o=t.pendingProps,Gp(e,t,r=t.type,o=t.elementType===r?o:Kf(r,o),n);case 1:return o=t.pendingProps,$p(e,t,r=t.type,o=t.elementType===r?o:Kf(r,o),n);case 3:if(Bp(t),r=t.updateQueue,null===e||null===r)throw Error(pi(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,ud(e,t),dd(t,r,null,n),(r=t.memoizedState.element)===o)Hd(),t=tm(e,t,n);else{if((a=(o=t.stateNode).hydrate)&&(Ud=Hc(t.stateNode.containerInfo.firstChild),jd=t,a=zd=!0),a){if(null!=(e=o.mutableSourceEagerHydrationData))for(o=0;o<e.length;o+=2)(a=e[o])._workInProgressVersionPrimary=e[o+1],qd.push(a);for(n=kd(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Dp(e,t,r,n),Hd();t=t.child}return t;case 5:return Id(t),null===e&&$d(t),a=null!==e?e.memoizedProps:null,i=(o=t.pendingProps).children,Gc(r=t.type,o)?i=null:null!==a&&Gc(r,a)&&(t.flags|=16),Vp(e,t),Dp(e,t,i,n),t.child;case 6:return null===e&&$d(t),null;case 13:return Kp(e,t,n);case 4:return Rd(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Od(t,null,r,n):Dp(e,t,r,n),t.child;case 11:return o=t.pendingProps,Fp(e,t,r=t.type,o=t.elementType===r?o:Kf(r,o),n);case 7:return Dp(e,t,t.pendingProps,n),t.child;case 8:case 12:return Dp(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,i=t.memoizedProps,a=(o=t.pendingProps).value;var l=t.type._context;if(cf(Yf,l._currentValue),l._currentValue=a,null!==i)if(0==(a=sc(l=i.value,a)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,a):1073741823))){if(i.children===o.children&&!pf.current){t=tm(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var u=l.dependencies;if(null!==u){i=l.child;for(var s=u.firstContext;null!==s;){if(s.context===r&&0!=(s.observedBits&a)){1===l.tag&&((s=sd(-1,n&-n)).tag=2,cd(l,s)),l.lanes|=n,null!==(s=l.alternate)&&(s.lanes|=n),rd(l.return,n),u.lanes|=n;break}s=s.next}}else i=10===l.tag&&l.type===t.type?null:l.child;if(null!==i)i.return=l;else for(i=l;null!==i;){if(i===t){i=null;break}if(null!==(l=i.sibling)){l.return=i.return,i=l;break}i=i.return}l=i}Dp(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(a=t.pendingProps).children,od(t,n),r=r(o=ad(o,a.unstable_observedBits)),t.flags|=1,Dp(e,t,r,n),t.child;case 14:return a=Kf(o=t.type,t.pendingProps),jp(e,t,o,a=Kf(o.type,a),r,n);case 15:return Up(e,t,t.type,t.pendingProps,r,n);case 17:return o=t.pendingProps,o=t.elementType===(r=t.type)?o:Kf(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,yf(r)?(e=!0,Ef(t)):e=!1,od(t,n),vd(t,r,o),Ed(t,r,o,n),Wp(null,t,r,!0,e,n);case 19:return em(e,t,n);case 23:case 24:return zp(e,t,n)}throw Error(pi(156,t.tag))},Xh.prototype.render=function(e){Bh(e,this._internalRoot,null,null)},Xh.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Bh(null,e,null,function(){t[Zc]=null})},au=function(e){13===e.tag&&(ah(e,4,rh()),Qh(e,4))},iu=function(e){13===e.tag&&(ah(e,67108864,rh()),Qh(e,67108864))},lu=function(e){if(13===e.tag){var t=rh(),n=oh(e);ah(e,n,t),Qh(e,n)}},uu=function(e,t){return t()},Rl=function(e,t,n){switch(t){case"input":if(sl(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=rf(r);if(!o)throw Error(pi(90));ol(r),sl(r,o)}}}break;case"textarea":yl(e,n);break;case"select":null!=(t=n.value)&&pl(e,!!n.multiple,t,!1)}},jl=fh,Ul=function(e,t,n,r,o){var a=Om;Om|=4;try{return Bf(98,e.bind(null,t,n,r,o))}finally{0===(Om=a)&&(zm(),qf())}},zl=function(){0==(49&Om)&&(function(){if(null!==Ym){var e=Ym;Ym=null,e.forEach(function(e){e.expiredLanes|=24&e.pendingLanes,lh(e,Gf())})}qf()}(),kh())},Vl=function(e,t){var n=Om;Om|=2;try{return e(t)}finally{0===(Om=n)&&(zm(),qf())}};var Jh={Events:[tf,nf,rf,Dl,Fl,kh,{current:!1}]},ey={findFiberByHostInstance:ef,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},ty={bundleType:ey.bundleType,version:ey.version,rendererPackageName:ey.rendererPackageName,rendererConfig:ey.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Pi.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=ou(e))?null:e.stateNode},findFiberByHostInstance:ey.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ny=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ny.isDisabled&&ny.supportsFiber)try{Sf=ny.inject(ty),_f=ny}catch(e){}}var ry={__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Jh,createPortal:Zh,findDOMNode:function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(pi(188));throw Error(pi(268,Object.keys(e)))}return null===(e=ou(t))?null:e.stateNode},flushSync:function(e,t){var n=Om;if(0!=(48&n))return e(t);Om|=1;try{if(e)return Bf(99,e.bind(null,t))}finally{Om=n,qf()}},hydrate:function(e,t,n){if(!Kh(t))throw Error(pi(200));return Yh(null,e,t,!0,n)},render:function(e,t,n){if(!Kh(t))throw Error(pi(200));return Yh(null,e,t,!1,n)},unmountComponentAtNode:function(e){if(!Kh(e))throw Error(pi(40));return!!e._reactRootContainer&&(dh(function(){Yh(null,null,e,!1,function(){e._reactRootContainer=null,e[Zc]=null})}),!0)},unstable_batchedUpdates:fh,unstable_createPortal:function(e,t){return Zh(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},unstable_renderSubtreeIntoContainer:function(e,t,n,r){if(!Kh(n))throw Error(pi(200));if(null==e||void 0===e._reactInternals)throw Error(pi(38));return Yh(e,t,n,!1,r)},version:"17.0.2"},oy=0,ay={__interactionsRef:null,__subscriberRef:null,unstable_clear:function(e){return e()},unstable_getCurrent:function(){return null},unstable_getThreadID:function(){return++oy},unstable_subscribe:function(){},unstable_trace:function(e,t,n){return n()},unstable_unsubscribe:function(){},unstable_wrap:function(e){return e}},iy=(d(function(e,t){}),d(function(e){e.exports=ay}),d(function(e,t){}),d(function(e){!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=ry}));function ly(){return(ly=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var uy=function(e,t){return!!e.eligible&&!!t&&e.purchase_amount>=(null==t?void 0:t.minAmount)&&e.purchase_amount<=(null==t?void 0:t.maxAmount)},sy=function(e,t,n){var r,o,a,i=t.domain,l=t.merchantId,u=lr.useState([]),s=u[0],c=u[1],f=lr.useState(Kn.PENDING),d=f[0],p=f[1],m=null==n?void 0:n.map(function(e){return{installments_count:e.installmentsCount,deferred_days:null==e?void 0:e.deferredDays,deferred_months:null==e?void 0:e.deferredMonths}});return lr.useEffect(function(){d===Kn.PENDING&&function(e,t,n){void 0===e&&(e="");try{return Promise.resolve(fetch(e,{method:"POST",headers:ly({"Content-Type":"application/json"},n),body:JSON.stringify(t)})).then(function(e){return e.json()})}catch(e){return Promise.reject(e)}}(i+"/v2/payments/eligibility",{purchase_amount:e,queries:m},{Authorization:"Alma-Merchant-Auth "+l}).then(function(e){c(e),p(Kn.SUCCESS)}).catch(function(){p(Kn.FAILED)})},[d]),[(r=s,o=n,a=r.filter(function(e){return!(1===e.installments_count&&0===e.deferred_days&&0===e.deferred_months)}),o?a.map(function(e){var t=30*(e.deferred_months?e.deferred_months:0)+(e.deferred_days?e.deferred_days:0),n=o.find(function(n){return e.installments_count===n.installmentsCount&&t===30*(n.deferredMonths?n.deferredMonths:0)+(n.deferredDays?n.deferredDays:0)});return ly({},e,{eligible:uy(e,n)},function(e,t){var n,r=null==(n=e.constraints)?void 0:n.purchase_amount;return r&&t?{minAmount:Math.max(t.minAmount,null==r?void 0:r.minimum),maxAmount:Math.min(t.maxAmount,null==r?void 0:r.maximum)}:null!=t?t:{}}(e,n))}):a),d]},cy=d(function(e){!function(){var t={}.hasOwnProperty;function n(){for(var e=[],r=0;r<arguments.length;r++){var o=arguments[r];if(o){var a=typeof o;if("string"===a||"number"===a)e.push(o);else if(Array.isArray(o)){if(o.length){var i=n.apply(null,o);i&&e.push(i)}}else if("object"===a)if(o.toString===Object.prototype.toString)for(var l in o)t.call(o,l)&&o[l]&&e.push(l);else e.push(o.toString())}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n}()}),fy=function(e){return lr.createElement("div",{className:cy("_31lrj",e.className),"data-testid":"loader"},lr.createElement("div",{className:"_2p94X"},"a"),lr.createElement("div",{className:"_1k0PM"}))},dy="function"==typeof Symbol&&Symbol.for,py=dy?Symbol.for("react.element"):60103,my=dy?Symbol.for("react.portal"):60106,hy=dy?Symbol.for("react.fragment"):60107,yy=dy?Symbol.for("react.strict_mode"):60108,gy=dy?Symbol.for("react.profiler"):60114,vy=dy?Symbol.for("react.provider"):60109,by=dy?Symbol.for("react.context"):60110,Ey=dy?Symbol.for("react.async_mode"):60111,wy=dy?Symbol.for("react.concurrent_mode"):60111,Sy=dy?Symbol.for("react.forward_ref"):60112,_y=dy?Symbol.for("react.suspense"):60113,Cy=dy?Symbol.for("react.suspense_list"):60120,Oy=dy?Symbol.for("react.memo"):60115,ky=dy?Symbol.for("react.lazy"):60116,Ty=dy?Symbol.for("react.block"):60121,Py=dy?Symbol.for("react.fundamental"):60117,Ny=dy?Symbol.for("react.responder"):60118,xy=dy?Symbol.for("react.scope"):60119;function Ay(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case py:switch(e=e.type){case Ey:case wy:case hy:case gy:case yy:case _y:return e;default:switch(e=e&&e.$$typeof){case by:case Sy:case ky:case Oy:case vy:return e;default:return t}}case my:return t}}}function Ry(e){return Ay(e)===wy}var Ly={AsyncMode:Ey,ConcurrentMode:wy,ContextConsumer:by,ContextProvider:vy,Element:py,ForwardRef:Sy,Fragment:hy,Lazy:ky,Memo:Oy,Portal:my,Profiler:gy,StrictMode:yy,Suspense:_y,isAsyncMode:function(e){return Ry(e)||Ay(e)===Ey},isConcurrentMode:Ry,isContextConsumer:function(e){return Ay(e)===by},isContextProvider:function(e){return Ay(e)===vy},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===py},isForwardRef:function(e){return Ay(e)===Sy},isFragment:function(e){return Ay(e)===hy},isLazy:function(e){return Ay(e)===ky},isMemo:function(e){return Ay(e)===Oy},isPortal:function(e){return Ay(e)===my},isProfiler:function(e){return Ay(e)===gy},isStrictMode:function(e){return Ay(e)===yy},isSuspense:function(e){return Ay(e)===_y},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===hy||e===wy||e===gy||e===yy||e===_y||e===Cy||"object"==typeof e&&null!==e&&(e.$$typeof===ky||e.$$typeof===Oy||e.$$typeof===vy||e.$$typeof===by||e.$$typeof===Sy||e.$$typeof===Py||e.$$typeof===Ny||e.$$typeof===xy||e.$$typeof===Ty)},typeOf:Ay};function Iy(){}function My(){}d(function(e,t){}),d(function(e){e.exports=Ly}),My.resetWarningCache=Iy;var Dy=d(function(e){e.exports=function(){function e(e,t,n,r,o,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:My,resetWarningCache:Iy};return n.PropTypes=n,n}()}),Fy=d(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){return[].slice.call(t.querySelectorAll("*"),0).reduce(function(t,n){return t.concat(n.shadowRoot?e(n.shadowRoot):[n])},[]).filter(o)};var n=/input|select|textarea|button|object/;function r(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var n=window.getComputedStyle(e);return t?"visible"!==n.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0:"none"==n.getPropertyValue("display")}catch(e){return console.warn("Failed to inspect element style"),!1}}function o(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var o=isNaN(t);return(o||t>=0)&&function(e,t){var o=e.nodeName.toLowerCase();return(n.test(o)&&!e.disabled||"a"===o&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),r(t))return!1;t=t.parentNode}return!0}(e)}(e,!o)}e.exports=t.default}),jy=d(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){o=[]},t.log=function(){},t.handleBlur=l,t.handleFocus=u,t.markForFocusLater=function(){o.push(document.activeElement)},t.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==o.length&&(t=o.pop()).focus({preventScroll:e}))}catch(e){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},t.popWithoutFocus=function(){o.length>0&&o.pop()},t.setupScopedFocus=function(e){a=e,window.addEventListener?(window.addEventListener("blur",l,!1),document.addEventListener("focus",u,!0)):(window.attachEvent("onBlur",l),document.attachEvent("onFocus",u))},t.teardownScopedFocus=function(){a=null,window.addEventListener?(window.removeEventListener("blur",l),document.removeEventListener("focus",u)):(window.detachEvent("onBlur",l),document.detachEvent("onFocus",u))};var n,r=(n=Fy)&&n.__esModule?n:{default:n},o=[],a=null,i=!1;function l(){i=!0}function u(){if(i){if(i=!1,!a)return;setTimeout(function(){a.contains(document.activeElement)||((0,r.default)(a)[0]||a).focus()},0)}}}),Uy=d(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,r.default)(e);if(n.length){var o=void 0,a=t.shiftKey,i=n[0],l=n[n.length-1],u=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return t.activeElement.shadowRoot?e(t.activeElement.shadowRoot):t.activeElement}();if(e===u){if(!a)return;o=l}if(l!==u||a||(o=i),i===u&&a&&(o=l),o)return t.preventDefault(),void o.focus();var s=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null!=s&&"Chrome"!=s[1]&&null==/\biPod\b|\biPad\b/g.exec(navigator.userAgent)){var c=n.indexOf(u);if(c>-1&&(c+=a?-1:1),void 0===(o=n[c]))return t.preventDefault(),void(o=a?l:i).focus();t.preventDefault(),o.focus()}}else t.preventDefault()};var n,r=(n=Fy)&&n.__esModule?n:{default:n};e.exports=t.default}),zy=function(){},Vy=d(function(e){var t,n;n={canUseDOM:t=!("undefined"==typeof window||!window.document||!window.document.createElement),canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen},e.exports?e.exports=n:window.ExecutionEnvironment=n}),Gy=d(function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=t.SafeNodeList=t.SafeHTMLCollection=void 0;var r=((n=Vy)&&n.__esModule?n:{default:n}).default,o=r.canUseDOM?window.HTMLElement:{};t.SafeHTMLCollection=r.canUseDOM?window.HTMLCollection:{},t.SafeNodeList=r.canUseDOM?window.NodeList:{},t.canUseDOM=r.canUseDOM,t.default=o}),$y=d(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){o&&(o.removeAttribute?o.removeAttribute("aria-hidden"):null!=o.length?o.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(o).forEach(function(e){return e.removeAttribute("aria-hidden")})),o=null},t.log=function(){},t.assertNodeList=a,t.setElement=function(e){var t=e;if("string"==typeof t&&Gy.canUseDOM){var n=document.querySelectorAll(t);a(n,t),t=n}return o=t||o},t.validateElement=i,t.hide=function(e){var t=!0,n=!1,r=void 0;try{for(var o,a=i(e)[Symbol.iterator]();!(t=(o=a.next()).done);t=!0)o.value.setAttribute("aria-hidden","true")}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}},t.show=function(e){var t=!0,n=!1,r=void 0;try{for(var o,a=i(e)[Symbol.iterator]();!(t=(o=a.next()).done);t=!0)o.value.removeAttribute("aria-hidden")}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}},t.documentNotReadyOrSSRTesting=function(){o=null};var n,r=(n=zy)&&n.__esModule?n:{default:n},o=null;function a(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function i(e){var t=e||o;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,r.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}}),Wy=d(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){var e=document.getElementsByTagName("html")[0];for(var t in n)o(e,n[t]);var a=document.body;for(var i in r)o(a,r[i]);n={},r={}},t.log=function(){};var n={},r={};function o(e,t){e.classList.remove(t)}t.add=function(e,t){return o=e.classList,a="html"==e.nodeName.toLowerCase()?n:r,void t.split(" ").forEach(function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(a,e),o.add(e)});var o,a},t.remove=function(e,t){return o=e.classList,a="html"==e.nodeName.toLowerCase()?n:r,void t.split(" ").forEach(function(e){!function(e,t){e[t]&&(e[t]-=1)}(a,e),0===a[e]&&o.remove(e)});var o,a}}),By=d(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.log=function(){console.log("portalOpenInstances ----------"),console.log(r.openInstances.length),r.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")},t.resetState=function(){r=new n};var n=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)&&(t.openInstances.push(e),t.emit("register"))},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n&&(t.openInstances.splice(n,1),t.emit("deregister"))},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach(function(n){return n(e,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},r=new n;t.default=r}),Hy=(d(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){for(var e=[o,a],t=0;t<e.length;t++){var n=e[t];n&&n.parentNode&&n.parentNode.removeChild(n)}o=a=null,i=[]},t.log=function(){console.log("bodyTrap ----------"),console.log(i.length);for(var e=[o,a],t=0;t<e.length;t++){var n=e[t]||{};console.log(n.nodeName,n.className,n.id)}console.log("edn bodyTrap ----------")};var n,r=(n=By)&&n.__esModule?n:{default:n},o=void 0,a=void 0,i=[];function l(){0!==i.length&&i[i.length-1].focusContent()}r.default.subscribe(function(e,t){o||a||((o=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),o.style.position="absolute",o.style.opacity="0",o.setAttribute("tabindex","0"),o.addEventListener("focus",l),(a=o.cloneNode()).addEventListener("focus",l)),(i=t).length>0?(document.body.firstChild!==o&&document.body.insertBefore(o,document.body.firstChild),document.body.lastChild!==a&&document.body.appendChild(a)):(o.parentElement&&o.parentElement.removeChild(o),a.parentElement&&a.parentElement.removeChild(a))})}),d(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=p(Dy),i=d(jy),l=p(Uy),u=d($y),s=d(Wy),c=p(Gy),f=p(By);function d(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function p(e){return e&&e.__esModule?e:{default:e}}var m={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},h=0,y=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setOverlayRef=function(e){n.overlay=e,n.props.overlayRef&&n.props.overlayRef(e)},n.setContentRef=function(e){n.content=e,n.props.contentRef&&n.props.contentRef(e)},n.afterClose=function(){var e=n.props,t=e.appElement,r=e.ariaHideApp,o=e.htmlOpenClassName,a=e.bodyOpenClassName;a&&s.remove(document.body,a),o&&s.remove(document.getElementsByTagName("html")[0],o),r&&h>0&&0==(h-=1)&&u.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(i.returnFocus(n.props.preventScroll),i.teardownScopedFocus()):i.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),f.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(i.setupScopedFocus(n.node),i.markForFocusLater()),n.setState({isOpen:!0},function(){n.openAnimationFrame=requestAnimationFrame(function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})})}))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())})},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){9===e.keyCode&&(0,l.default)(n.content,e),n.props.shouldCloseOnEsc&&27===e.keyCode&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var o="object"===(void 0===t?"undefined":r(t))?t:{base:m[e],afterOpen:m[e]+"--after-open",beforeClose:m[e]+"--before-close"},a=o.base;return n.state.afterOpen&&(a=a+" "+o.afterOpen),n.state.beforeClose&&(a=a+" "+o.beforeClose),"string"==typeof t&&t?a+" "+t:a},n.attributesFromObject=function(e,t){return Object.keys(t).reduce(function(n,r){return n[e+"-"+r]=t[r],n},{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,r=e.htmlOpenClassName,o=e.bodyOpenClassName;o&&s.add(document.body,o),r&&s.add(document.getElementsByTagName("html")[0],r),n&&(h+=1,u.hide(t)),f.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,r=e.className,o=e.overlayClassName,a=e.defaultStyles,i=e.children,l=r?{}:a.content,u=o?{}:a.overlay;if(this.shouldBeClosed())return null;var s={ref:this.setOverlayRef,className:this.buildClassName("overlay",o),style:n({},u,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},c=n({id:t,ref:this.setContentRef,style:n({},l,this.props.style.content),className:this.buildClassName("content",r),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",n({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),f=this.props.contentElement(c,i);return this.props.overlayElement(s,f)}}]),t}(lr.Component);y.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},y.propTypes={isOpen:a.default.bool.isRequired,defaultStyles:a.default.shape({content:a.default.object,overlay:a.default.object}),style:a.default.shape({content:a.default.object,overlay:a.default.object}),className:a.default.oneOfType([a.default.string,a.default.object]),overlayClassName:a.default.oneOfType([a.default.string,a.default.object]),bodyOpenClassName:a.default.string,htmlOpenClassName:a.default.string,ariaHideApp:a.default.bool,appElement:a.default.oneOfType([a.default.instanceOf(c.default),a.default.instanceOf(Gy.SafeHTMLCollection),a.default.instanceOf(Gy.SafeNodeList),a.default.arrayOf(a.default.instanceOf(c.default))]),onAfterOpen:a.default.func,onAfterClose:a.default.func,onRequestClose:a.default.func,closeTimeoutMS:a.default.number,shouldFocusAfterRender:a.default.bool,shouldCloseOnOverlayClick:a.default.bool,shouldReturnFocusAfterClose:a.default.bool,preventScroll:a.default.bool,role:a.default.string,contentLabel:a.default.string,aria:a.default.object,data:a.default.object,children:a.default.node,shouldCloseOnEsc:a.default.bool,overlayRef:a.default.func,contentRef:a.default.func,id:a.default.string,overlayElement:a.default.func,contentElement:a.default.func,testId:a.default.string},t.default=y,e.exports=t.default}));function qy(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function Qy(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function Xy(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}qy.__suppressDeprecationWarning=!0,Qy.__suppressDeprecationWarning=!0,Xy.__suppressDeprecationWarning=!0;var Ky=d(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.bodyOpenClassName=t.portalClassName=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=c(lr),a=c(iy),i=c(Dy),l=c(Hy),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}($y),s=c(Gy);function c(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var p=t.portalClassName="ReactModalPortal",m=t.bodyOpenClassName="ReactModal__Body--open",h=Gy.canUseDOM&&void 0!==a.default.createPortal,y=function(e){return document.createElement(e)},g=function(){return h?a.default.createPortal:a.default.unstable_renderSubtreeIntoContainer};function v(e){return e()}var b=function(e){function t(){var e,r,i;f(this,t);for(var u=arguments.length,s=Array(u),c=0;c<u;c++)s[c]=arguments[c];return r=i=d(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),i.removePortal=function(){!h&&a.default.unmountComponentAtNode(i.node);var e=v(i.props.parentSelector);e&&e.contains(i.node)?e.removeChild(i.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},i.portalRef=function(e){i.portal=e},i.renderPortal=function(e){var r=g()(i,o.default.createElement(l.default,n({defaultStyles:t.defaultStyles},e)),i.node);i.portalRef(r)},d(i,r)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentDidMount",value:function(){Gy.canUseDOM&&(h||(this.node=y("div")),this.node.className=this.props.portalClassName,v(this.props.parentSelector).appendChild(this.node),!h&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:v(e.parentSelector),nextParent:v(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(e,t,n){if(Gy.canUseDOM){var r=this.props,o=r.isOpen,a=r.portalClassName;e.portalClassName!==a&&(this.node.className=a);var i=n.prevParent,l=n.nextParent;l!==i&&(i.removeChild(this.node),l.appendChild(this.node)),(e.isOpen||o)&&!h&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(Gy.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);n?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-t)):this.removePortal()}}},{key:"render",value:function(){return Gy.canUseDOM&&h?(!this.node&&h&&(this.node=y("div")),g()(o.default.createElement(l.default,n({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){u.setElement(e)}}]),t}(lr.Component);b.propTypes={isOpen:i.default.bool.isRequired,style:i.default.shape({content:i.default.object,overlay:i.default.object}),portalClassName:i.default.string,bodyOpenClassName:i.default.string,htmlOpenClassName:i.default.string,className:i.default.oneOfType([i.default.string,i.default.shape({base:i.default.string.isRequired,afterOpen:i.default.string.isRequired,beforeClose:i.default.string.isRequired})]),overlayClassName:i.default.oneOfType([i.default.string,i.default.shape({base:i.default.string.isRequired,afterOpen:i.default.string.isRequired,beforeClose:i.default.string.isRequired})]),appElement:i.default.oneOfType([i.default.instanceOf(s.default),i.default.instanceOf(Gy.SafeHTMLCollection),i.default.instanceOf(Gy.SafeNodeList),i.default.arrayOf(i.default.instanceOf(s.default))]),onAfterOpen:i.default.func,onRequestClose:i.default.func,closeTimeoutMS:i.default.number,ariaHideApp:i.default.bool,shouldFocusAfterRender:i.default.bool,shouldCloseOnOverlayClick:i.default.bool,shouldReturnFocusAfterClose:i.default.bool,preventScroll:i.default.bool,parentSelector:i.default.func,aria:i.default.object,data:i.default.object,role:i.default.string,contentLabel:i.default.string,shouldCloseOnEsc:i.default.bool,overlayRef:i.default.func,contentRef:i.default.func,id:i.default.string,overlayElement:i.default.func,contentElement:i.default.func},b.defaultProps={isOpen:!1,portalClassName:p,bodyOpenClassName:m,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return o.default.createElement("div",e,t)},contentElement:function(e,t){return o.default.createElement("div",e,t)}},b.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},function(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,r=null,o=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?o="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==n||null!==r||null!==o)throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+(e.displayName||e.name)+" uses "+("function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()")+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==r?"\n "+r:"")+(null!==o?"\n "+o:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks");if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=qy,t.componentWillReceiveProps=Qy),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=Xy;var a=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){a.call(this,e,t,this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n)}}}(b),t.default=b}),Yy=f(d(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n,r=(n=Ky)&&n.__esModule?n:{default:n};t.default=r.default,e.exports=t.default})),Zy=d(function(e){!function(t){var n,r,o=!1;function a(e){if("undefined"!=typeof document&&!o){var t=document.documentElement;r=window.pageYOffset,t.style.width=document.documentElement.scrollHeight>window.innerHeight?"calc(100% - "+function(){if(void 0!==n)return n;var e=document.documentElement,t=document.createElement("div");return t.setAttribute("style","width:99px;height:99px;position:absolute;top:-9999px;overflow:scroll;"),e.appendChild(t),n=t.offsetWidth-t.clientWidth,e.removeChild(t),n}()+"px)":"100%",t.style.position="fixed",t.style.top=-r+"px",t.style.overflow="hidden",o=!0}}function i(){if("undefined"!=typeof document&&o){var e=document.documentElement;e.style.width="",e.style.position="",e.style.top="",e.style.overflow="",window.scroll(0,r),o=!1}}e.exports={on:a,off:i,toggle:function(){o?i():a()}}}()});function Jy(e){var t=e.color;return lr.createElement("svg",{className:e.className,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},lr.createElement("path",{d:"M12.5964 11.404L9.41445 8.22205L12.5964 5.04007C12.7732 4.86329 12.7732 4.50974 12.5964 4.33296L11.8893 3.62585C11.6904 3.42698 11.359 3.44908 11.1822 3.62585L8.00023 6.80783L4.81825 3.62585C4.61938 3.42698 4.28792 3.44908 4.11114 3.62585L3.40404 4.33296C3.20516 4.53183 3.20516 4.84119 3.40404 5.04007L6.58602 8.22205L3.40404 11.404C3.20516 11.6029 3.20517 11.9123 3.40404 12.1111L4.11115 12.8182C4.28792 12.995 4.61938 13.0171 4.81825 12.8182L8.00023 9.63626L11.1822 12.8182C11.359 12.995 11.6904 13.0171 11.8893 12.8182L12.5964 12.1111C12.7732 11.9344 12.7732 11.5808 12.5964 11.404Z",fill:void 0===t?"#fff":t}))}var eg="alma-eligibility-modal",tg={leftSide:eg+"-left-side",rightSide:eg+"-right-side",title:eg+"-title",info:eg+"-info",infoMessage:eg+"-info-message",eligibilityOptions:eg+"-eligibility-options",activeOption:eg+"-active-option",closeButton:eg+"-close-button",scheduleDetails:eg+"-schedule-details",scheduleTotal:eg+"-schedule-total",scheduleCredit:eg+"-schedule-credit"},ng=["children","isOpen","onClose","className","contentClassName","scrollable"],rg=function(e){var t,n=e.children,r=e.isOpen,o=e.onClose,a=e.className,i=e.contentClassName,l=e.scrollable,u=void 0!==l&&l,s=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(o[n]=e[n]);return o}(e,ng);return Yy.setAppElement("body"),lr.createElement(Yy,Object.assign({className:cy("_D8SjB",a),overlayClassName:"_1yxCb",onAfterOpen:function(){Zy.on()},onAfterClose:function(){Zy.off()},onRequestClose:o,isOpen:r,shouldCloseOnOverlayClick:!0,shouldCloseOnEsc:!0},s),lr.createElement("div",{className:"_12LLh"},lr.createElement("button",{onClick:o,className:cy("_3YRro",tg.closeButton),"data-testid":"modal-close-button"},lr.createElement(Jy,null))),lr.createElement("div",{className:cy("_ocM9x",i,(t={},t._1GP2F=u,t))},n))},og=d(function(e,t){var n;"undefined"!=typeof self&&self,e.exports=(n=lr,function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=8)}([function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(1)),a=r(n(9)),i=r(n(2)),l=n(11),u=r(n(3)),s=r(n(7)),c=function(e){if(e)return Object.keys(e).reduce(function(t,n){return t[(0,i.default)(n)]=e[n],t},{})},f=function(){var e=o.default.useRef(!1);return o.default.useEffect(function(){e.current=!0},[]),e.current};t.default=function(e,t,n){var r=function(e){var t=o.default.useContext(s.default),n=function(){return c(e)||c(t)},r=o.default.useState(n),a=r[0],i=r[1];return o.default.useEffect(function(){var e=n();(0,l.shallowEqualObjects)(a,e)||i(e)},[e,t]),a}(t),i=function(e){var t=function(){return function(e){return e.query||(0,u.default)(e)}(e)},n=o.default.useState(t),r=n[0],a=n[1];return o.default.useEffect(function(){var e=t();r!==e&&a(e)},[e]),r}(e);if(!i)throw new Error("Invalid or missing MediaQuery!");var d=function(e,t){var n=function(){return(0,a.default)(e,t||{},!!t)},r=o.default.useState(n),i=r[0],l=r[1],u=f();return o.default.useEffect(function(){if(u){var e=n();return l(e),function(){e&&e.dispose()}}},[e,t]),i}(i,r),p=function(e){var t=o.default.useState(e.matches),n=t[0],r=t[1];return o.default.useEffect(function(){var t=function(){r(e.matches)};return e.addListener(t),t(),function(){e.removeListener(t)}},[e]),n}(d),m=f();return o.default.useEffect(function(){m&&n&&n(p)},[p]),o.default.useEffect(function(){return function(){d&&d.dispose()}},[]),p}},function(e,t){e.exports=n},function(e,t,n){function r(e){return"-"+e.toLowerCase()}Object.defineProperty(t,"__esModule",{value:!0});var o=/[A-Z]/g,a=/^ms-/,i={};t.default=function(e){if(i.hasOwnProperty(e))return i[e];var t=e.replace(o,r);return i[e]=a.test(t)?"-"+t:t}},function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2)),a=r(n(12));t.default=function(e){var t=[];return Object.keys(a.default.all).forEach(function(n){var r=e[n];null!=r&&t.push(function(e,t){var n=(0,o.default)(e);return"number"==typeof t&&(t="".concat(t,"px")),!0===t?n:!1===t?"not ".concat(n):"(".concat(n,": ").concat(t,")")}(n,r))}),t.join(" and ")}},function(e,t,n){e.exports=n(14)},function(e,t,n){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t){e.exports=Function.call.bind(Object.prototype.hasOwnProperty)},function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(1)).default.createContext(void 0);t.default=o},function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Context=t.toQuery=t.useMediaQuery=t.default=void 0;var o=r(n(0));t.useMediaQuery=o.default;var a=r(n(18));t.default=a.default;var i=r(n(3));t.toQuery=i.default;var l=r(n(7));t.Context=l.default},function(e,t,n){function r(e,t,n){function r(e){i.matches=e.matches,i.media=e.media}var i=this;if(a&&!n){var l=a.call(window,e);this.matches=l.matches,this.media=l.media,l.addListener(r)}else this.matches=o(e,t),this.media=e;this.addListener=function(e){l&&l.addListener(e)},this.removeListener=function(e){l&&l.removeListener(e)},this.dispose=function(){l&&l.removeListener(r)}}var o=n(10).match,a="undefined"!=typeof window?window.matchMedia:null;e.exports=function(e,t,n){return new r(e,t,n)}},function(e,t,n){function r(e){return e.split(",").map(function(e){var t=(e=e.trim()).match(l),n=t[1],r=t[2],o=t[3]||"",a={};return a.inverse=!!n&&"not"===n.toLowerCase(),a.type=r?r.toLowerCase():"all",o=o.match(/\([^\)]+\)/g)||[],a.expressions=o.map(function(e){var t=e.match(u),n=t[1].toLowerCase().match(s);return{modifier:n[1],feature:n[2],value:t[2]}}),a})}function o(e){var t,n=Number(e);return n||(n=(t=e.match(/^(\d+)\s*\/\s*(\d+)$/))[1]/t[2]),n}function a(e){var t=parseFloat(e);switch(String(e).match(f)[1]){case"dpcm":return t/2.54;case"dppx":return 96*t;default:return t}}function i(e){var t=parseFloat(e);switch(String(e).match(c)[1]){case"em":case"rem":return 16*t;case"cm":return 96*t/2.54;case"mm":return 96*t/2.54/10;case"in":return 96*t;case"pt":return 72*t;case"pc":return 72*t/12;default:return t}}t.match=function(e,t){return r(e).some(function(e){var n=e.inverse,r="all"===e.type||t.type===e.type;if(r&&n||!r&&!n)return!1;var l=e.expressions.every(function(e){var n=e.feature,r=e.modifier,l=e.value,u=t[n];if(!u)return!1;switch(n){case"orientation":case"scan":return u.toLowerCase()===l.toLowerCase();case"width":case"height":case"device-width":case"device-height":l=i(l),u=i(u);break;case"resolution":l=a(l),u=a(u);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":l=o(l),u=o(u);break;case"grid":case"color":case"color-index":case"monochrome":l=parseInt(l,10)||1,u=parseInt(u,10)||0}switch(r){case"min":return u>=l;case"max":return u<=l;default:return u===l}});return l&&!n||!l&&n})},t.parse=r;var l=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,u=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,s=/^(?:(min|max)-)?(.+)/,c=/(em|rem|px|cm|mm|in|pt|pc)?$/,f=/(dpi|dpcm|dppx)?$/},function(e,t,n){function r(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),o=n.length;if(r.length!==o)return!1;for(var a=0;a<o;a++){var i=n[a];if(e[i]!==t[i]||!Object.prototype.hasOwnProperty.call(t,i))return!1}return!0}function o(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=e.length;if(t.length!==n)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"shallowEqualArrays",function(){return o}),n.d(t,"shallowEqualObjects",function(){return r})},function(e,t,n){var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=a(n(13)),l=i.default.oneOfType([i.default.string,i.default.number]),u={all:i.default.bool,grid:i.default.bool,aural:i.default.bool,braille:i.default.bool,handheld:i.default.bool,print:i.default.bool,projection:i.default.bool,screen:i.default.bool,tty:i.default.bool,tv:i.default.bool,embossed:i.default.bool},s={orientation:i.default.oneOf(["portrait","landscape"]),scan:i.default.oneOf(["progressive","interlace"]),aspectRatio:i.default.string,deviceAspectRatio:i.default.string,height:l,deviceHeight:l,width:l,deviceWidth:l,color:i.default.bool,colorIndex:i.default.bool,monochrome:i.default.bool,resolution:l,type:Object.keys(u)},c=o(s,["type"]),f=r({minAspectRatio:i.default.string,maxAspectRatio:i.default.string,minDeviceAspectRatio:i.default.string,maxDeviceAspectRatio:i.default.string,minHeight:l,maxHeight:l,minDeviceHeight:l,maxDeviceHeight:l,minWidth:l,maxWidth:l,minDeviceWidth:l,maxDeviceWidth:l,minColor:i.default.number,maxColor:i.default.number,minColorIndex:i.default.number,maxColorIndex:i.default.number,minMonochrome:i.default.number,maxMonochrome:i.default.number,minResolution:l,maxResolution:l},c),d=r(r({},u),f);t.default={all:d,types:u,matchers:s,features:f}},function(e,t,n){var r=n(4);e.exports=n(15)(r.isElement,!0)},function(e,t,n){!function(){function e(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:var n=e.type;switch(n){case f:case d:case i:case u:case l:case m:return n;default:var r=n&&n.$$typeof;switch(r){case c:case p:case g:case y:case s:return r;default:return t}}case a:return t}}}function n(t){return e(t)===d}var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,l=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,s=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,m=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,y=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,E=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119,S=d,_=c,C=s,O=o,k=p,T=i,P=g,N=y,x=a,A=u,R=l,L=m,I=!1;t.AsyncMode=f,t.ConcurrentMode=S,t.ContextConsumer=_,t.ContextProvider=C,t.Element=O,t.ForwardRef=k,t.Fragment=T,t.Lazy=P,t.Memo=N,t.Portal=x,t.Profiler=A,t.StrictMode=R,t.Suspense=L,t.isAsyncMode=function(t){return I||(I=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),n(t)||e(t)===f},t.isConcurrentMode=n,t.isContextConsumer=function(t){return e(t)===c},t.isContextProvider=function(t){return e(t)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(t){return e(t)===p},t.isFragment=function(t){return e(t)===i},t.isLazy=function(t){return e(t)===g},t.isMemo=function(t){return e(t)===y},t.isPortal=function(t){return e(t)===a},t.isProfiler=function(t){return e(t)===u},t.isStrictMode=function(t){return e(t)===l},t.isSuspense=function(t){return e(t)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===u||e===l||e===m||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===y||e.$$typeof===s||e.$$typeof===c||e.$$typeof===p||e.$$typeof===b||e.$$typeof===E||e.$$typeof===w||e.$$typeof===v)},t.typeOf=e}()},function(e,t,n){function r(){return null}var o,a=n(4),i=n(16),l=n(5),u=n(6),s=n(17);o=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}},e.exports=function(e,t){function n(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function c(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function f(e){function n(n,i,u,s,f,d,p){if(s=s||E,d=d||u,p!==l){if(t){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}if("undefined"!=typeof console){var h=s+":"+u;!r[h]&&a<3&&(o("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+s+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),r[h]=!0,a++)}}return null==i[u]?n?new c(null===i[u]?"The "+f+" `"+d+"` is marked as required in `"+s+"`, but its value is `null`.":"The "+f+" `"+d+"` is marked as required in `"+s+"`, but its value is `undefined`."):null:e(i,u,s,f,d)}var r={},a=0,i=n.bind(null,!1);return i.isRequired=n.bind(null,!0),i}function d(e){return f(function(t,n,r,o,a,i){var l=t[n];return h(l)!==e?new c("Invalid "+o+" `"+a+"` of type `"+y(l)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null})}function p(e,t,n,r,o){return new c((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function m(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(m);if(null===t||e(t))return!0;var n=function(e){var t=e&&(v&&e[v]||e[b]);if("function"==typeof t)return t}(t);if(!n)return!1;var r,o=n.call(t);if(n!==t.entries){for(;!(r=o.next()).done;)if(!m(r.value))return!1}else for(;!(r=o.next()).done;){var a=r.value;if(a&&!m(a[1]))return!1}return!0;default:return!1}}function h(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function y(e){if(null==e)return""+e;var t=h(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function g(e){var t=y(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}var v="function"==typeof Symbol&&Symbol.iterator,b="@@iterator",E="<<anonymous>>",w={array:d("array"),bigint:d("bigint"),bool:d("boolean"),func:d("function"),number:d("number"),object:d("object"),string:d("string"),symbol:d("symbol"),any:f(r),arrayOf:function(e){return f(function(t,n,r,o,a){if("function"!=typeof e)return new c("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var i=t[n];if(!Array.isArray(i))return new c("Invalid "+o+" `"+a+"` of type `"+h(i)+"` supplied to `"+r+"`, expected an array.");for(var u=0;u<i.length;u++){var s=e(i,u,r,o,a+"["+u+"]",l);if(s instanceof Error)return s}return null})},element:f(function(t,n,r,o,a){var i=t[n];return e(i)?null:new c("Invalid "+o+" `"+a+"` of type `"+h(i)+"` supplied to `"+r+"`, expected a single ReactElement.")}),elementType:f(function(e,t,n,r,o){var i=e[t];return a.isValidElementType(i)?null:new c("Invalid "+r+" `"+o+"` of type `"+h(i)+"` supplied to `"+n+"`, expected a single ReactElement type.")}),instanceOf:function(e){return f(function(t,n,r,o,a){var i;return t[n]instanceof e?null:new c("Invalid "+o+" `"+a+"` of type `"+((i=t[n]).constructor&&i.constructor.name?i.constructor.name:E)+"` supplied to `"+r+"`, expected instance of `"+(e.name||E)+"`.")})},node:f(function(e,t,n,r,o){return m(e[t])?null:new c("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")}),objectOf:function(e){return f(function(t,n,r,o,a){if("function"!=typeof e)return new c("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var i=t[n],s=h(i);if("object"!==s)return new c("Invalid "+o+" `"+a+"` of type `"+s+"` supplied to `"+r+"`, expected an object.");for(var f in i)if(u(i,f)){var d=e(i,f,r,o,a+"."+f,l);if(d instanceof Error)return d}return null})},oneOf:function(e){function t(t,r,o,a,i){for(var l=t[r],u=0;u<e.length;u++)if(n(l,e[u]))return null;var s=JSON.stringify(e,function(e,t){return"symbol"===y(t)?String(t):t});return new c("Invalid "+a+" `"+i+"` of value `"+String(l)+"` supplied to `"+o+"`, expected one of "+s+".")}return Array.isArray(e)?f(t):(o(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),r)},oneOfType:function(e){if(!Array.isArray(e))return o("Invalid argument supplied to oneOfType, expected an instance of array."),r;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+g(n)+" at index "+t+"."),r}return f(function(t,n,r,o,a){for(var i=[],s=0;s<e.length;s++){var f=(0,e[s])(t,n,r,o,a,l);if(null==f)return null;f.data&&u(f.data,"expectedType")&&i.push(f.data.expectedType)}return new c("Invalid "+o+" `"+a+"` supplied to `"+r+"`"+(i.length>0?", expected one of type ["+i.join(", ")+"]":"")+".")})},shape:function(e){return f(function(t,n,r,o,a){var i=t[n],u=h(i);if("object"!==u)return new c("Invalid "+o+" `"+a+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");for(var s in e){var f=e[s];if("function"!=typeof f)return p(r,o,a,s,y(f));var d=f(i,s,r,o,a+"."+s,l);if(d)return d}return null})},exact:function(e){return f(function(t,n,r,o,a){var s=t[n],f=h(s);if("object"!==f)return new c("Invalid "+o+" `"+a+"` of type `"+f+"` supplied to `"+r+"`, expected `object`.");var d=i({},t[n],e);for(var m in d){var g=e[m];if(u(e,m)&&"function"!=typeof g)return p(r,o,a,m,y(g));if(!g)return new c("Invalid "+o+" `"+a+"` key `"+m+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var v=g(s,m,r,o,a+"."+m,l);if(v)return v}return null})}};return c.prototype=Error.prototype,w.checkPropTypes=s,w.resetWarningCache=s.resetWarningCache,w.PropTypes=w,w}},function(e,t,n){function r(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var o=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,l,u=r(e),s=1;s<arguments.length;s++){for(var c in n=Object(arguments[s]))a.call(n,c)&&(u[c]=n[c]);if(o){l=o(n);for(var f=0;f<l.length;f++)i.call(n,l[f])&&(u[l[f]]=n[l[f]])}}return u}},function(e,t,n){function r(e,t,n,r,u){for(var s in e)if(l(e,s)){var c;try{if("function"!=typeof e[s]){var f=Error((r||"React class")+": "+n+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw f.name="Invariant Violation",f}c=e[s](t,s,r,n,null,a)}catch(e){c=e}if(!c||c instanceof Error||o((r||"React class")+": type specification of "+n+" `"+s+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof c+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),c instanceof Error&&!(c.message in i)){i[c.message]=!0;var d=u?u():"";o("Failed "+n+" type: "+c.message+(null!=d?d:""))}}}var o=function(){},a=n(5),i={},l=n(6);o=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}},r.resetWarningCache=function(){i={}},e.exports=r},function(e,t,n){var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=o(n(0));t.default=function(e){var t=e.children,n=e.device,o=e.onChange,i=r(e,["children","device","onChange"]),l=(0,a.default)(i,n,o);return"function"==typeof t?t(l):l?t:null}}]))});function ag(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function ig(e){ag(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}function lg(e){ag(1,arguments);var t=ig(e);return t.setHours(0,0,0,0),t}function ug(e,t){ag(2,arguments);var n=lg(e),r=lg(t);return n.getTime()===r.getTime()}function sg(e){return ag(1,arguments),1e3*e}var cg=function(e){var t=e.installments_count,n=e.deferred_days+30*e.deferred_months;return 1===t?lr.createElement(ei,{id:"payment-plan-strings.day-abbreviation",defaultMessage:"J{numberOfDeferredDays}",values:{numberOfDeferredDays:n>0?"+"+n:""}}):t+"x"},fg=function(e){var t;if(null!=(t=e.payment_plan)&&t.every(function(e){return 0===e.customer_fee&&0===e.customer_interest}))return lr.createElement(lr.Fragment,null," ",lr.createElement(ei,{id:"payment-plan-strings.no-fee",defaultMessage:"(sans frais)"}))},dg=function(e){var t=e.eligibilityPlans,n=e.currentPlanIndex,r=e.setCurrentPlanIndex;return lr.createElement("div",{className:cy("_1l2Oa",tg.eligibilityOptions)},t.map(function(e,t){var o;return lr.createElement("button",{key:t,className:cy((o={},o[cy("_3rue7",tg.activeOption)]=t===n,o)),onClick:function(){return r(t)}},cg(e))}))},pg=function(e){var t=e.currentPlan,n=t&&er(t.purchase_amount+t.customer_total_cost_amount),r=t?er(t.customer_total_cost_amount):0,o=(null==t?void 0:t.annual_interest_rate)&&t.annual_interest_rate/1e4,a=er(t?t.customer_total_cost_amount:0),i=t&&t.installments_count>4,l=Ha();return lr.createElement("div",{className:cy("_MPKjS",tg.scheduleDetails),"data-testid":"modal-installments-element"},lr.createElement("div",{className:cy("_1A7Qv","_14Ejo",tg.scheduleTotal)},lr.createElement("span",null,lr.createElement(ei,{id:"eligibility-modal.total",defaultMessage:"Total"})),lr.createElement("span",null,lr.createElement(ni,{value:n,style:"currency",currency:"EUR"}))),lr.createElement("div",{className:cy("_1A7Qv","_1ZIgu",tg.scheduleCredit)},lr.createElement("span",null,lr.createElement(ei,i?{id:"eligibility-modal.credit-cost",defaultMessage:"Dont coût du crédit"}:{id:"eligibility-modal.cost",defaultMessage:"Dont frais"})),lr.createElement("span",null,i?lr.createElement(ei,{id:"eligibility-modal.credit-cost-amount",defaultMessage:"{creditCost} (TAEG {TAEG})",values:{creditCost:l.formatNumber(r,{style:"currency",currency:"EUR"}),TAEG:l.formatNumber(null!=o?o:0,{style:"percent",maximumFractionDigits:2})}}):lr.createElement(ni,{value:a,style:"currency",currency:"EUR"}))),((null==t?void 0:t.payment_plan)||[]).map(function(e,t){return lr.createElement("div",{className:"_1A7Qv",key:t},lr.createElement("span",null,function(e){return ag(1,arguments),ug(e,Date.now())}(1e3*e.due_date)?lr.createElement(ei,{id:"installments.today",defaultMessage:"Aujourd'hui"}):lr.createElement(ti,{value:1e3*e.due_date,day:"numeric",month:"long",year:"numeric"})),lr.createElement("span",null,lr.createElement(ni,{value:er(e.total_amount),style:"currency",currency:"EUR"})))}),i&&lr.createElement("p",{className:"_1BUr8"},lr.createElement(ei,{id:"eligibility-modal.credit-commitment",defaultMessage:"Un crédit vous engage et doit être remboursé. Vérifiez vos capacités de remboursement\n avant de vous engager."})))},mg=function(){return lr.createElement("div",{className:cy("_180ro",tg.info),"data-testid":"modal-info-element"},lr.createElement("div",{className:"_1HqCO"},lr.createElement("div",{className:"_3B8wx"},"1"),lr.createElement("div",{className:tg.infoMessage},lr.createElement(ei,{id:"eligibility-modal.bullet-1",defaultMessage:"Choisissez <strong>Alma</strong> au moment du paiement.",values:{strong:function(){return lr.createElement("strong",null,[].slice.call(arguments))}}}))),lr.createElement("div",{className:"_1HqCO"},lr.createElement("div",{className:"_3B8wx"},"2"),lr.createElement("div",{className:tg.infoMessage},lr.createElement(ei,{id:"eligibility-modal.bullet-2",defaultMessage:"Renseignez les <strong>informations</strong> demandées.",values:{strong:function(){return lr.createElement("strong",null,[].slice.call(arguments))}}}))),lr.createElement("div",{className:"_1HqCO"},lr.createElement("div",{className:"_3B8wx"},"3"),lr.createElement("div",{className:tg.infoMessage},lr.createElement(ei,{id:"eligibility-modal.bullet-3",defaultMessage:"La validation de votre paiement <strong>instantanée</strong> !",values:{strong:function(){return lr.createElement("strong",null,[].slice.call(arguments))}}}))))};function hg(e){var t=e.color,n=void 0===t?"#00425D":t,r=e.underlineColor,o=void 0===r?"#00425D":r;return lr.createElement("svg",{className:e.className,width:"35",height:"23",viewBox:"0 0 40 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},lr.createElement("path",{d:"M6.38546 10.1313V10.029H4.92542C4.23835 10.029 3.72877 10.0972 3.39668 10.2337C3.07605 10.3587 2.91573 10.6374 2.91573 11.0695C2.91573 11.7177 3.37378 12.0418 4.28988 12.0418C5.05711 12.0418 5.59532 11.8826 5.9045 11.5642C6.22514 11.2344 6.38546 10.7568 6.38546 10.1313ZM3.72304 13.9182C2.64663 13.9182 1.85076 13.6567 1.33546 13.1335C0.820153 12.599 0.5625 11.911 0.5625 11.0695C0.5625 10.0574 0.894586 9.32958 1.55876 8.88606C2.22293 8.43118 3.23636 8.20374 4.59906 8.20374H6.38546V7.82846C6.38546 6.98693 5.84725 6.56616 4.77083 6.56616C3.80893 6.56616 3.27644 6.93007 3.17338 7.65788H0.768622C0.848781 6.78223 1.21522 6.04873 1.86794 5.45738C2.52066 4.86603 3.50547 4.57036 4.82236 4.57036C6.1278 4.57036 7.11261 4.86035 7.77678 5.44032C8.44095 6.0203 8.77304 6.83909 8.77304 7.89669V13.7135H6.60875V12.7241C6.09345 13.5202 5.13155 13.9182 3.72304 13.9182Z",fill:n}),lr.createElement("path",{d:"M14.2554 11.6324V13.6965C14.0149 13.7306 13.763 13.7476 13.4996 13.7476C12.5492 13.7476 11.8736 13.5486 11.4728 13.1506C11.072 12.7412 10.8716 12.0873 10.8716 11.1889V0.919922H13.3107V11.0183C13.3107 11.2344 13.3508 11.3936 13.4309 11.496C13.5111 11.5983 13.6771 11.6495 13.929 11.6495C13.9863 11.6495 14.0493 11.6495 14.118 11.6495C14.1982 11.6381 14.244 11.6324 14.2554 11.6324Z",fill:n}),lr.createElement("path",{d:"M23.8943 8.63019V13.7135H21.4552V8.40844C21.4552 7.23711 20.9742 6.65145 20.0123 6.65145C19.4512 6.65145 19.0161 6.82203 18.7069 7.16319C18.4092 7.50436 18.2603 7.9763 18.2603 8.57902V13.7135H15.8212V4.77506H18.0714V5.86678C18.5409 5.0025 19.4054 4.57036 20.6651 4.57036C21.856 4.57036 22.7263 4.99113 23.2759 5.83266C24.0432 4.99113 25.0394 4.57036 26.2647 4.57036C27.3182 4.57036 28.1255 4.89446 28.6867 5.54267C29.2478 6.19088 29.5283 7.05516 29.5283 8.13551V13.7135H27.0892V8.40844C27.0892 7.23711 26.6083 6.65145 25.6464 6.65145C25.0738 6.65145 24.6386 6.82772 24.3409 7.18025C24.0432 7.52141 23.8943 8.00473 23.8943 8.63019Z",fill:n}),lr.createElement("path",{d:"M37.0321 10.1313V10.029H35.572C34.885 10.029 34.3754 10.0972 34.0433 10.2337C33.7227 10.3587 33.5623 10.6374 33.5623 11.0695C33.5623 11.7177 34.0204 12.0418 34.9365 12.0418C35.7037 12.0418 36.2419 11.8826 36.5511 11.5642C36.8717 11.2344 37.0321 10.7568 37.0321 10.1313ZM34.3696 13.9182C33.2932 13.9182 32.4974 13.6567 31.9821 13.1335C31.4668 12.599 31.2091 11.911 31.2091 11.0695C31.2091 10.0574 31.5412 9.32958 32.2054 8.88606C32.8695 8.43118 33.883 8.20374 35.2457 8.20374H37.0321V7.82846C37.0321 6.98693 36.4939 6.56616 35.4174 6.56616C34.4555 6.56616 33.923 6.93007 33.82 7.65788H31.4152C31.4954 6.78223 31.8618 6.04873 32.5145 5.45738C33.1673 4.86603 34.1521 4.57036 35.469 4.57036C36.7744 4.57036 37.7592 4.86035 38.4234 5.44032C39.0876 6.0203 39.4196 6.83909 39.4196 7.89669V13.7135H37.2554V12.7241C36.7401 13.5202 35.7781 13.9182 34.3696 13.9182Z",fill:n}),lr.createElement("rect",{y:"20",width:"40",height:"3",fill:o}))}var yg,gg,vg,bg=function(){return lr.createElement("div",{className:"_3Oyv_"},lr.createElement(hg,{underlineColor:"#FF414D"}))},Eg=function(){return lr.createElement("div",{className:cy("_3ERx-",tg.title),"data-testid":"modal-title-element"},lr.createElement(ei,{id:"eligibility-modal.title",defaultMessage:"<highlighted>Payez en plusieurs fois</highlighted> ou plus tard par carte bancaire avec Alma.",values:{highlighted:function(){return lr.createElement("span",null,[].slice.call(arguments))}}}))},wg=function(e){var t=e.children;return lr.createElement("div",{className:"_21g6u","data-testid":"modal-container"},lr.createElement("div",{className:cy(["_3zaP5","_2SBRC",tg.leftSide])},lr.createElement(Eg,null),lr.createElement(mg,null),lr.createElement(bg,null)),lr.createElement("div",{className:cy("_3zaP5",tg.rightSide)},t))},Sg=function(e){var t=e.children;return lr.createElement("div",{className:"_2G7Ch","data-testid":"modal-container"},lr.createElement(Eg,null),t,lr.createElement(mg,null),lr.createElement(bg,null))},_g=function(e){var t=e.onClose,n=e.eligibilityPlans,r=e.status,o=lr.useState(e.initialPlanIndex||0),a=o[0],i=o[1],l=og.useMediaQuery({minWidth:800})?wg:Sg,u=n.filter(function(e){return e.eligible}),s=u[a];return lr.createElement(rg,{onClose:t,ariaHideApp:!1,scrollable:!0,isOpen:!0},lr.createElement(l,Object.assign({},{eligibilityPlans:u,currentPlanIndex:a,setCurrentPlanIndex:i,currentPlan:s,status:r}),r===Kn.PENDING&&lr.createElement("div",{className:"_2oTJq"},lr.createElement(fy,null)),r===Kn.SUCCESS&&0===u.length&&lr.createElement("div",{className:"_17qNJ"},lr.createElement(ei,{id:"eligibility-modal.no-eligibility",defaultMessage:"Oups, il semblerait que la simulation n'aie pas fonctionné."})),r===Kn.SUCCESS&&u.length>=1&&lr.createElement(lr.Fragment,null,lr.createElement(dg,{eligibilityPlans:u,currentPlanIndex:a,setCurrentPlanIndex:i}),lr.createElement(pg,{currentPlan:s}))))},Cg=function(e){var t=e.onClose,n=sy(e.purchaseAmount,e.apiData,e.configPlans);return lr.createElement(_g,{initialPlanIndex:0,onClose:t,eligibilityPlans:n[0],status:n[1]})},Og=function(e){return lr.createElement("div",{className:cy("_2SwwZ",e.className),"data-testid":"loader"},lr.createElement("div",{className:"_2qODo"}),lr.createElement("div",{className:"_2YO01"}))},kg="alma-payment-plans",Tg={container:kg+"-container",eligibilityLine:kg+"-eligibility-line",eligibilityOptions:kg+"-eligibility-options",notEligibleOption:kg+"-not-eligible-option",paymentInfo:kg+"-payment-info",activeOption:kg+"-active-option"},Pg=function(e){var t,n,r,o,a=e.transitionDelay,i=e.hideIfNotEligible,l=e.suggestedPaymentPlan,u=sy(e.purchaseAmount,e.apiData,e.configPlans),s=u[0],c=u[1],f=s.filter(function(e){return e.eligible}),d=function(e){var t=e.suggestedPaymentPlan,n=e.eligibilityPlans,r=Array.isArray(t)?t:[t],o=function(e){var t=r[e],o=n.findIndex(function(e){return e.installments_count===t&&e.eligible});if(-1!==o)return{v:o}};for(var a in r){var i=o(a);if("object"==typeof i)return i.v}return 0}({eligibilityPlans:s,suggestedPaymentPlan:null!=l?l:0}),p=void 0!==l,m=void 0!==a,h=lr.useState(!1),y=h[0],g=h[1],v=s.reduce(function(e,t,n){return t.eligible?[].concat(e,[n]):e},[]),b=function(e,t){var n=lr.useState(0),r=n[0],o=n[1],a=lr.useState(!0),i=a[0],l=a[1];return lr.useEffect(function(){var n=!0;return 0!==e.length&&(!e.includes(r)&&i&&o(e[0]),setTimeout(function(){i&&n&&o(e[e.includes(r)?(e.indexOf(r)+1)%e.length:0])},t)),function(){n=!1}},[e,r]),{current:r,onHover:function(e){o(e),l(!1)},onLeave:function(){l(!0)}}}(v,m?null!=a?a:5500:p?31536e6:5500),E=b.current,w=b.onHover,S=b.onLeave;return lr.useEffect(function(){c===Kn.SUCCESS&&p&&(w(d),S())},[c]),c===Kn.PENDING?lr.createElement("div",{className:cy("_TSkFv","_1ZDMS")},lr.createElement(Og,null)):i&&0===f.length||0===s.length||c===Kn.FAILED?null:lr.createElement(lr.Fragment,null,lr.createElement("div",{onClick:function(e){e.preventDefault(),f.length>0&&g(!0)},className:cy("_TSkFv",(t={},t._UksZa=f.length>0,t["_1lr-q"]=0===f.length,t),Tg.container),"data-testid":"widget-button"},lr.createElement("div",{className:cy("_bMClc",Tg.eligibilityLine)},lr.createElement(hg,{className:"_LJ4nZ"}),lr.createElement("div",{className:cy("_17c_S",Tg.eligibilityOptions)},s.map(function(e,t){var n;return lr.createElement("div",{key:t,onMouseEnter:function(){return w(t)},onMouseOut:S,className:cy("_2Kqjn",(n={},n[cy("_3dG_J",Tg.activeOption)]=E===t,n[cy("_3O1bg",Tg.notEligibleOption)]=!e.eligible,n))},cg(e))}))),lr.createElement("div",{className:cy("_25GrF",(n={},n[cy("_3O1bg",Tg.notEligibleOption)]=s[E]&&!s[E].eligible,n),Tg.paymentInfo)},0!==s.length&&function(e){var t=e.installments_count,n=e.minAmount,r=void 0===n?0:n,o=e.maxAmount,a=void 0===o?0:o,i=e.payment_plan,l=e.deferred_days+30*e.deferred_months;if(!e.eligible)return lr.createElement(ei,e.purchase_amount>a?{id:"payment-plan-strings.ineligible-greater-than-max",defaultMessage:"Jusqu'à {maxAmount}",values:{maxAmount:lr.createElement(ni,{value:er(a),style:"currency",currency:"EUR"})}}:{id:"payment-plan-strings.ineligible-lower-than-min",defaultMessage:"À partir de {minAmount}",values:{minAmount:lr.createElement(ni,{value:er(r),style:"currency",currency:"EUR"})}});if(!i)throw Error("No payment plan provided for payment in "+t+" installments. Please contact us if you see this error.");if(0!==l&&1===t)return lr.createElement(lr.Fragment,null,lr.createElement(ei,{id:"payment-plan-strings.deferred",defaultMessage:"{totalAmount} à payer le {dueDate}",values:{totalAmount:lr.createElement(ni,{value:er(i[0].total_amount),style:"currency",currency:"EUR"}),dueDate:lr.createElement(ti,{value:sg(i[0].due_date),day:"numeric",month:"long",year:"numeric"})}}),fg(e));if(t>0){var u=null==i?void 0:i.every(function(e,t){return 0===t||e.total_amount===i[0].total_amount});return lr.createElement(lr.Fragment,null,lr.createElement(ei,u?{id:"payment-plan-strings.multiple-installments-same-amount",defaultMessage:"{installmentsCount} x {totalAmount}",values:{totalAmount:lr.createElement(ni,{value:er(i[0].total_amount),style:"currency",currency:"EUR"}),installmentsCount:t}}:{id:"payment-plan-strings.multiple-installments",defaultMessage:"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} puis {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} puis {numberOfRemainingInstallments} x {othersInstallmentAmount}}}",values:{firstInstallmentAmount:lr.createElement(ni,{value:er(i[0].total_amount),style:"currency",currency:"EUR"}),numberOfRemainingInstallments:t-1,othersInstallmentAmount:lr.createElement(ni,{value:er(i[1].total_amount),style:"currency",currency:"EUR"})}}),fg(e))}return lr.createElement(ei,{id:"payment-plan-strings.default-message",defaultMessage:"Payez en plusieurs fois avec Alma"})}(s[E]))),y&&lr.createElement(_g,{initialPlanIndex:(r=E,o=v.findIndex(function(e){return e===r}),-1===o?0:o),onClose:function(){return g(!1)},eligibilityPlans:f,status:c}))},Ng=function(){function e(e){this.apiData=e}return e.prototype.add=function(e,t){var n=this,r=document.querySelector(t.container);if(r&&iy.unmountComponentAtNode(r),e===Xn.PaymentPlans){var o=t.container,a=t.locale;r&&iy.render(lr.createElement(ci,{locale:void 0===a?Yn.en:a},lr.createElement(Pg,{purchaseAmount:t.purchaseAmount,apiData:this.apiData,configPlans:t.plans,transitionDelay:t.transitionDelay,hideIfNotEligible:t.hideIfNotEligible,suggestedPaymentPlan:t.suggestedPaymentPlan})),document.querySelector(o))}if(e===Xn.Modal){var i,l=t.container,u=t.clickableSelector,s=t.purchaseAmount,c=t.plans,f=t.locale,d=void 0===f?Yn.en:f,p=function(){return r&&iy.unmountComponentAtNode(r)},m=function(){iy.render(lr.createElement(ci,{locale:d},lr.createElement(Cg,{purchaseAmount:s,apiData:n.apiData,configPlans:c,onClose:p})),document.querySelector(l))};return u&&(null==(i=document.querySelector(u))||i.addEventListener("click",m,!1)),{open:m,close:p}}},e}();(yg=e.ApiMode||(e.ApiMode={})).LIVE="https://api.getalma.eu",yg.TEST="https://api.sandbox.getalma.eu",(gg=e.Widgets||(e.Widgets={})).initialize=function(e,t){return new Ng({domain:t,merchantId:e})},gg.PaymentPlans=Xn.PaymentPlans,gg.Modal=Xn.Modal,(vg=e.Utils||(e.Utils={})).priceToCents=function(e){return Math.round(100*e)},vg.priceFromCents=er,vg.formatCents=function(e){return String(er(e)).replace(".",",")}});
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).Alma={})}(this,function(e){var t=function(e){try{return!!e()}catch(e){return!0}},n=!t(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}),r=Function.prototype,o=r.call,a=n&&r.bind.bind(o,o),i=n?function(e){return e&&a(e)}:function(e){return e&&function(){return o.apply(e,arguments)}},l=Math.ceil,u=Math.floor,s=function(e){var t=+e;return t!=t||0===t?0:(t>0?u:l)(t)},c="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function f(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function d(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}},n.exports),n.exports}var p,m,h=function(e){return e&&e.Math==Math&&e},y=h("object"==typeof globalThis&&globalThis)||h("object"==typeof window&&window)||h("object"==typeof self&&self)||h("object"==typeof c&&c)||function(){return this}()||Function("return this")(),g=Object.defineProperty,v=function(e,t){try{g(y,e,{value:t,configurable:!0,writable:!0})}catch(n){y[e]=t}return t},b=y["__core-js_shared__"]||v("__core-js_shared__",{}),E=d(function(e){(e.exports=function(e,t){return b[e]||(b[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.22.1",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),w=y.TypeError,S=function(e){if(null==e)throw w("Can't call method on "+e);return e},_=y.Object,C=function(e){return _(S(e))},O=i({}.hasOwnProperty),k=Object.hasOwn||function(e,t){return O(C(e),t)},T=0,P=Math.random(),N=i(1..toString),x=function(e){return"Symbol("+(void 0===e?"":e)+")_"+N(++T+P,36)},A=function(e){return"function"==typeof e},R=function(e){return A(e)?e:void 0},L=function(e,t){return arguments.length<2?R(y[e]):y[e]&&y[e][t]},I=L("navigator","userAgent")||"",M=y.process,D=y.Deno,F=M&&M.versions||D&&D.version,j=F&&F.v8;j&&(m=(p=j.split("."))[0]>0&&p[0]<4?1:+(p[0]+p[1])),!m&&I&&(!(p=I.match(/Edge\/(\d+)/))||p[1]>=74)&&(p=I.match(/Chrome\/(\d+)/))&&(m=+p[1]);var U=m,z=!!Object.getOwnPropertySymbols&&!t(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&U&&U<41}),V=z&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,G=E("wks"),$=y.Symbol,W=$&&$.for,B=V?$:$&&$.withoutSetter||x,H=function(e){if(!k(G,e)||!z&&"string"!=typeof G[e]){var t="Symbol."+e;G[e]=z&&k($,e)?$[e]:V&&W?W(t):B(t)}return G[e]},q={};q[H("toStringTag")]="z";var Q="[object z]"===String(q),X=i({}.toString),K=i("".slice),Y=function(e){return K(X(e),8,-1)},Z=H("toStringTag"),J=y.Object,ee="Arguments"==Y(function(){return arguments}()),te=Q?Y:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=J(e),Z))?n:ee?Y(t):"Object"==(r=Y(t))&&A(t.callee)?"Arguments":r},ne=y.String,re=function(e){if("Symbol"===te(e))throw TypeError("Cannot convert a Symbol value to a string");return ne(e)},oe=i("".charAt),ae=i("".charCodeAt),ie=i("".slice),le=function(e){return function(t,n){var r,o,a=re(S(t)),i=s(n),l=a.length;return i<0||i>=l?e?"":void 0:(r=ae(a,i))<55296||r>56319||i+1===l||(o=ae(a,i+1))<56320||o>57343?e?oe(a,i):r:e?ie(a,i,i+2):o-56320+(r-55296<<10)+65536}},ue={codeAt:le(!1),charAt:le(!0)},se=i(Function.toString);A(b.inspectSource)||(b.inspectSource=function(e){return se(e)});var ce,fe,de,pe=b.inspectSource,me=y.WeakMap,he=A(me)&&/native code/.test(pe(me)),ye=function(e){return"object"==typeof e?null!==e:A(e)},ge=!t(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),ve=y.document,be=ye(ve)&&ye(ve.createElement),Ee=function(e){return be?ve.createElement(e):{}},we=!ge&&!t(function(){return 7!=Object.defineProperty(Ee("div"),"a",{get:function(){return 7}}).a}),Se=ge&&t(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),_e=y.String,Ce=y.TypeError,Oe=function(e){if(ye(e))return e;throw Ce(_e(e)+" is not an object")},ke=Function.prototype.call,Te=n?ke.bind(ke):function(){return ke.apply(ke,arguments)},Pe=i({}.isPrototypeOf),Ne=y.Object,xe=V?function(e){return"symbol"==typeof e}:function(e){var t=L("Symbol");return A(t)&&Pe(t.prototype,Ne(e))},Ae=y.String,Re=function(e){try{return Ae(e)}catch(e){return"Object"}},Le=y.TypeError,Ie=function(e){if(A(e))return e;throw Le(Re(e)+" is not a function")},Me=function(e,t){var n=e[t];return null==n?void 0:Ie(n)},De=y.TypeError,Fe=y.TypeError,je=H("toPrimitive"),Ue=function(e){var t=function(e,t){if(!ye(e)||xe(e))return e;var n,r=Me(e,je);if(r){if(void 0===t&&(t="default"),n=Te(r,e,t),!ye(n)||xe(n))return n;throw Fe("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&A(n=e.toString)&&!ye(r=Te(n,e)))return r;if(A(n=e.valueOf)&&!ye(r=Te(n,e)))return r;if("string"!==t&&A(n=e.toString)&&!ye(r=Te(n,e)))return r;throw De("Can't convert object to primitive value")}(e,t)}(e,"string");return xe(t)?t:t+""},ze=y.TypeError,Ve=Object.defineProperty,Ge=Object.getOwnPropertyDescriptor,$e={f:ge?Se?function(e,t,n){if(Oe(e),t=Ue(t),Oe(n),"function"==typeof e&&"prototype"===t&&"value"in n&&"writable"in n&&!n.writable){var r=Ge(e,t);r&&r.writable&&(e[t]=n.value,n={configurable:"configurable"in n?n.configurable:r.configurable,enumerable:"enumerable"in n?n.enumerable:r.enumerable,writable:!1})}return Ve(e,t,n)}:Ve:function(e,t,n){if(Oe(e),t=Ue(t),Oe(n),we)try{return Ve(e,t,n)}catch(e){}if("get"in n||"set"in n)throw ze("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},We=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Be=ge?function(e,t,n){return $e.f(e,t,We(1,n))}:function(e,t,n){return e[t]=n,e},He=E("keys"),qe=function(e){return He[e]||(He[e]=x(e))},Qe={},Xe=y.TypeError;if(he||b.state){var Ke=b.state||(b.state=new(0,y.WeakMap)),Ye=i(Ke.get),Ze=i(Ke.has),Je=i(Ke.set);ce=function(e,t){if(Ze(Ke,e))throw new Xe("Object already initialized");return t.facade=e,Je(Ke,e,t),t},fe=function(e){return Ye(Ke,e)||{}},de=function(e){return Ze(Ke,e)}}else{var et=qe("state");Qe[et]=!0,ce=function(e,t){if(k(e,et))throw new Xe("Object already initialized");return t.facade=e,Be(e,et,t),t},fe=function(e){return k(e,et)?e[et]:{}},de=function(e){return k(e,et)}}var tt,nt={set:ce,get:fe,has:de,enforce:function(e){return de(e)?fe(e):ce(e,{})},getterFor:function(e){return function(t){var n;if(!ye(t)||(n=fe(t)).type!==e)throw Xe("Incompatible receiver, "+e+" required");return n}}},rt={}.propertyIsEnumerable,ot=Object.getOwnPropertyDescriptor,at={f:ot&&!rt.call({1:2},1)?function(e){var t=ot(this,e);return!!t&&t.enumerable}:rt},it=y.Object,lt=i("".split),ut=t(function(){return!it("z").propertyIsEnumerable(0)})?function(e){return"String"==Y(e)?lt(e,""):it(e)}:it,st=function(e){return ut(S(e))},ct=Object.getOwnPropertyDescriptor,ft={f:ge?ct:function(e,t){if(e=st(e),t=Ue(t),we)try{return ct(e,t)}catch(e){}if(k(e,t))return We(!Te(at.f,e,t),e[t])}},dt=Function.prototype,pt=ge&&Object.getOwnPropertyDescriptor,mt=k(dt,"name"),ht={EXISTS:mt,PROPER:mt&&"something"===function(){}.name,CONFIGURABLE:mt&&(!ge||ge&&pt(dt,"name").configurable)},yt=d(function(e){var t=ht.CONFIGURABLE,n=nt.get,r=nt.enforce,o=String(String).split("String");(e.exports=function(e,n,a,i){var l,u=!!i&&!!i.unsafe,s=!!i&&!!i.enumerable,c=!!i&&!!i.noTargetGet,f=i&&void 0!==i.name?i.name:n;A(a)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!k(a,"name")||t&&a.name!==f)&&Be(a,"name",f),(l=r(a)).source||(l.source=o.join("string"==typeof f?f:""))),e!==y?(u?!c&&e[n]&&(s=!0):delete e[n],s?e[n]=a:Be(e,n,a)):s?e[n]=a:v(n,a)})(Function.prototype,"toString",function(){return A(this)&&n(this).source||pe(this)})}),gt=Math.max,vt=Math.min,bt=Math.min,Et=function(e){return(t=e.length)>0?bt(s(t),9007199254740991):0;var t},wt=function(e){return function(t,n,r){var o,a=st(t),i=Et(a),l=function(e,t){var n=s(e);return n<0?gt(n+t,0):vt(n,t)}(r,i);if(e&&n!=n){for(;i>l;)if((o=a[l++])!=o)return!0}else for(;i>l;l++)if((e||l in a)&&a[l]===n)return e||l||0;return!e&&-1}},St=(wt(!0),wt(!1)),_t=i([].push),Ct=function(e,t){var n,r=st(e),o=0,a=[];for(n in r)!k(Qe,n)&&k(r,n)&&_t(a,n);for(;t.length>o;)k(r,n=t[o++])&&(~St(a,n)||_t(a,n));return a},Ot=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],kt=Ot.concat("length","prototype"),Tt={f:Object.getOwnPropertyNames||function(e){return Ct(e,kt)}},Pt={f:Object.getOwnPropertySymbols},Nt=i([].concat),xt=L("Reflect","ownKeys")||function(e){var t=Tt.f(Oe(e)),n=Pt.f;return n?Nt(t,n(e)):t},At=function(e,t,n){for(var r=xt(t),o=$e.f,a=ft.f,i=0;i<r.length;i++){var l=r[i];k(e,l)||n&&k(n,l)||o(e,l,a(t,l))}},Rt=/#|\.prototype\./,Lt=function(e,n){var r=Mt[It(e)];return r==Ft||r!=Dt&&(A(n)?t(n):!!n)},It=Lt.normalize=function(e){return String(e).replace(Rt,".").toLowerCase()},Mt=Lt.data={},Dt=Lt.NATIVE="N",Ft=Lt.POLYFILL="P",jt=Lt,Ut=ft.f,zt=function(e,t){var n,r,o,a,i,l=e.target,u=e.global,s=e.stat;if(n=u?y:s?y[l]||v(l,{}):(y[l]||{}).prototype)for(r in t){if(a=t[r],o=e.noTargetGet?(i=Ut(n,r))&&i.value:n[r],!jt(u?r:l+(s?".":"#")+r,e.forced)&&void 0!==o){if(typeof a==typeof o)continue;At(a,o)}(e.sham||o&&o.sham)&&Be(a,"sham",!0),yt(n,r,a,e)}},Vt=Object.keys||function(e){return Ct(e,Ot)},Gt={f:ge&&!Se?Object.defineProperties:function(e,t){Oe(e);for(var n,r=st(t),o=Vt(t),a=o.length,i=0;a>i;)$e.f(e,n=o[i++],r[n]);return e}},$t=L("document","documentElement"),Wt=qe("IE_PROTO"),Bt=function(){},Ht=function(e){return"<script>"+e+"<\/script>"},qt=function(e){e.write(Ht("")),e.close();var t=e.parentWindow.Object;return e=null,t},Qt=function(){try{tt=new ActiveXObject("htmlfile")}catch(e){}var e,t;Qt="undefined"!=typeof document?document.domain&&tt?qt(tt):((t=Ee("iframe")).style.display="none",$t.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Ht("document.F=Object")),e.close(),e.F):qt(tt);for(var n=Ot.length;n--;)delete Qt.prototype[Ot[n]];return Qt()};Qe[Wt]=!0;var Xt,Kt,Yt,Zt=Object.create||function(e,t){var n;return null!==e?(Bt.prototype=Oe(e),n=new Bt,Bt.prototype=null,n[Wt]=e):n=Qt(),void 0===t?n:Gt.f(n,t)},Jt=!t(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),en=qe("IE_PROTO"),tn=y.Object,nn=tn.prototype,rn=Jt?tn.getPrototypeOf:function(e){var t=C(e);if(k(t,en))return t[en];var n=t.constructor;return A(n)&&t instanceof n?n.prototype:t instanceof tn?nn:null},on=H("iterator"),an=!1;[].keys&&("next"in(Yt=[].keys())?(Kt=rn(rn(Yt)))!==Object.prototype&&(Xt=Kt):an=!0),(null==Xt||t(function(){var e={};return Xt[on].call(e)!==e}))&&(Xt={}),A(Xt[on])||yt(Xt,on,function(){return this});var ln={IteratorPrototype:Xt,BUGGY_SAFARI_ITERATORS:an},un=$e.f,sn=H("toStringTag"),cn=function(e,t,n){e&&!n&&(e=e.prototype),e&&!k(e,sn)&&un(e,sn,{configurable:!0,value:t})},fn={},dn=ln.IteratorPrototype,pn=function(){return this},mn=y.String,hn=y.TypeError,yn=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=i(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return Oe(n),function(e){if("object"==typeof e||A(e))return e;throw hn("Can't set "+mn(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),gn=ln.IteratorPrototype,vn=ln.BUGGY_SAFARI_ITERATORS,bn=H("iterator"),En=function(){return this},wn=ue.charAt,Sn=nt.set,_n=nt.getterFor("String Iterator");!function(e,t,n,r,o,a,i){!function(e,t,n,r){e.prototype=Zt(dn,{next:We(1,function(){var e,t=_n(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=wn(n,r),t.index+=e.length,{value:e,done:!1})})}),cn(e,"String Iterator",!1),fn["String Iterator"]=pn}(n);var l,u,s,c=function(e){if(void 0===e&&p)return p;if(!vn&&e in f)return f[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},f=e.prototype,d=f[bn]||f["@@iterator"]||void 0,p=!vn&&d||c(void 0);if(void(d&&(l=rn(d.call(new e)))!==Object.prototype&&l.next&&(rn(l)!==gn&&(yn?yn(l,gn):A(l[bn])||yt(l,bn,En)),cn(l,"String Iterator",!0))))if(void(u={values:c("values"),keys:c("keys"),entries:c("entries")}))for(s in u)(vn||!(s in f))&&yt(f,s,u[s]);else zt({target:"String",proto:!0,forced:vn||!1},u);f[bn]!==p&&yt(f,bn,p,{name:void 0}),fn.String=p}(String,0,function(e){Sn(this,{type:"String Iterator",string:re(e),index:0})});var Cn=i(i.bind),On=function(e,t){return Ie(e),void 0===t?e:n?Cn(e,t):function(){return e.apply(t,arguments)}},kn=function(e,t,n,r){try{return r?t(Oe(n)[0],n[1]):t(n)}catch(t){!function(e,t,n){var r;Oe(e);try{if(!(r=Me(e,"return")))throw n;r=Te(r,e)}catch(e){r=e}throw n}(e,0,t)}},Tn=H("iterator"),Pn=Array.prototype,Nn=function(e){return void 0!==e&&(fn.Array===e||Pn[Tn]===e)},xn=function(){},An=[],Rn=L("Reflect","construct"),Ln=/^\s*(?:class|function)\b/,In=i(Ln.exec),Mn=!Ln.exec(xn),Dn=function(e){if(!A(e))return!1;try{return Rn(xn,An,e),!0}catch(e){return!1}},Fn=function(e){if(!A(e))return!1;switch(te(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Mn||!!In(Ln,pe(e))}catch(e){return!0}};Fn.sham=!0;var jn=!Rn||t(function(){var e;return Dn(Dn.call)||!Dn(Object)||!Dn(function(){e=!0})||e})?Fn:Dn,Un=function(e,t,n){var r=Ue(t);r in e?$e.f(e,r,We(0,n)):e[r]=n},zn=H("iterator"),Vn=function(e){if(null!=e)return Me(e,zn)||Me(e,"@@iterator")||fn[te(e)]},Gn=y.TypeError,$n=function(e,t){var n=arguments.length<2?Vn(e):t;if(Ie(n))return Oe(Te(n,e));throw Gn(Re(e)+" is not iterable")},Wn=y.Array,Bn=H("iterator"),Hn=!1;try{var qn=0,Qn={next:function(){return{done:!!qn++}},return:function(){Hn=!0}};Qn[Bn]=function(){return this},Array.from(Qn,function(){throw 2})}catch(e){}var Xn,Kn,Yn,Zn,Jn=!function(e,t){if(!Hn)return!1;var n=!1;try{var r={};r[Bn]=function(){return{next:function(){return{done:n=!0}}}},Array.from(r)}catch(e){}return n}();function er(e){return Number((e/100).toFixed(2))}zt({target:"Array",stat:!0,forced:Jn},{from:function(e){var t=C(e),n=jn(this),r=arguments.length,o=r>1?arguments[1]:void 0,a=void 0!==o;a&&(o=On(o,r>2?arguments[2]:void 0));var i,l,u,s,c,f,d=Vn(t),p=0;if(!d||this==Wn&&Nn(d))for(i=Et(t),l=n?new this(i):Wn(i);i>p;p++)f=a?o(t[p],p):t[p],Un(l,p,f);else for(c=(s=$n(t,d)).next,l=n?new this:[];!(u=Te(c,s)).done;p++)f=a?kn(s,o,[u.value,p],!0):u.value,Un(l,p,f);return l.length=p,l}}),function(e){e.PaymentPlans="PaymentPlans",e.Modal="Modal"}(Xn||(Xn={})),function(e){e.PENDING="pending",e.SUCCESS="success",e.FAILED="failed"}(Kn||(Kn={})),function(e){e.en="en",e.fr="fr",e.de="de",e.it="it",e.es="es",e.nl="nl",e["nl-NL"]="nl-NL",e["nl-BE"]="nl-BE"}(Yn||(Yn={})),"function"!=typeof(Zn=window.Element.prototype).matches&&(Zn.matches=Zn.msMatchesSelector||Zn.mozMatchesSelector||Zn.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=0;t[n]&&t[n]!==this;)++n;return Boolean(t[n])}),"function"!=typeof Zn.closest&&(Zn.closest=function(e){for(var t=this;t&&1===t.nodeType;){if(t.matches(e))return t;t=t.parentNode}return null}),"".trim||(String.prototype.trim=function(){return this.replace(/^[\s]+|[\s]+$/g,"")}),function(e){e.DOMException||((DOMException=function(e){this.message=e}).prototype=new Error);var t,n,r=/[\11\12\14\15\40]/,o=0,a=function(e,t){if(""===t)throw new DOMException("Failed to execute '"+e+"' on 'DOMTokenList': The token provided must not be empty.");if(-1!==(o=t.search(r)))throw new DOMException("Failed to execute '"+e+"' on 'DOMTokenList': The token provided ('"+t[o]+"') contains HTML space characters, which are not valid in tokens.")};"function"!=typeof DOMTokenList&&function(e){var t=e.document,n=e.Object,o=n.prototype.hasOwnProperty,i=n.defineProperty,l=0,u=0,s=function(){if(!l)throw TypeError("Illegal constructor")};function c(){var t=e.event,n=t.propertyName;if(!u&&("className"===n||"classList"===n&&!i)){var o=t.srcElement,a=o[" uCLp"],l=""+o[n],s=l.trim().split(r),c=o["classList"===n?" uCL":"classList"],f=a.length;e:for(var d=0,p=a.length=s.length,m=0;d!==p;++d){for(var h=0;h!==d;++h)if(s[h]===s[d]){m++;continue e}c[d-m]=s[d]}for(var y=p-m;y<f;++y)delete c[y];if("classList"!==n)return;u=1,o.classList=c,o.className=l,u=0,c.length=s.length-m}}function f(e){if(!e||!("innerHTML"in e))throw TypeError("Illegal invocation");e.detachEvent("onpropertychange",c),l=1;try{var t=function(){};t.prototype=new s}finally{l=0}var n=t.prototype,o=new t;e:for(var a=e.className.trim().split(r),f=0,d=a.length,p=0;f!==d;++f){for(var m=0;m!==f;++m)if(a[m]===a[f]){p++;continue e}this[f-p]=a[f]}n.length=d-p,n.value=e.className,n[" uCL"]=e,i?(i(e,"classList",{enumerable:1,get:function(){return o},configurable:0,set:function(t){u=1,e.className=n.value=t+="",u=0;var a=t.trim().split(r),i=n.length;e:for(var l=0,s=n.length=a.length,c=0;l!==s;++l){for(var f=0;f!==l;++f)if(a[f]===a[l]){c++;continue e}o[l-c]=a[l]}for(var d=s-c;d<i;++d)delete o[d]}}),i(e," uCLp",{enumerable:0,configurable:0,writeable:0,value:t.prototype}),i(n," uCL",{enumerable:0,configurable:0,writeable:0,value:e})):(e.classList=o,e[" uCL"]=o,e[" uCLp"]=t.prototype),e.attachEvent("onpropertychange",c)}s.prototype.toString=s.prototype.toLocaleString=function(){return this.value},s.prototype.add=function(){e:for(var e=0,t=arguments.length,n="",r=this[" uCL"],o=r[" uCLp"];e!==t;++e){a("add",n=arguments[e]+"");for(var i=0,l=o.length,s=n;i!==l;++i){if(this[i]===n)continue e;s+=" "+this[i]}this[l]=n,o.length+=1,o.value=s}u=1,r.className=o.value,u=0},s.prototype.remove=function(){for(var e=0,t=arguments.length,n="",r=this[" uCL"],o=r[" uCLp"];e!==t;++e){a("remove",n=arguments[e]+"");for(var i=0,l=o.length,s="",c=0;i!==l;++i)c?this[i-1]=this[i]:this[i]!==n?s+=this[i]+" ":c=1;c&&(delete this[l],o.length-=1,o.value=s)}u=1,r.className=o.value,u=0},e.DOMTokenList=s;try{e.Object.defineProperty(e.Element.prototype,"classList",{enumerable:1,get:function(e){return o.call(this,"classList")||f(this),this.classList},configurable:0,set:function(e){this.className=e}})}catch(n){e[" uCL"]=f,t.documentElement.firstChild.appendChild(t.createElement("style")).styleSheet.cssText='_*{x-uCLp:expression(!this.hasOwnProperty("classList")&&window[" uCL"](this))}[class]{x-uCLp/**/:expression(!this.hasOwnProperty("classList")&&window[" uCL"](this))}'}}(e),t=e.DOMTokenList.prototype,n=e.document.createElement("div").classList,t.item||(t.item=function(e){return function(e){return void 0===e?null:e}(this[e])}),t.toggle&&!1===n.toggle("a",0)||(t.toggle=function(e){if(arguments.length>1)return this[arguments[1]?"add":"remove"](e),!!arguments[1];var t=this.value;return this.remove(t),t===this.value&&(this.add(e),!0)}),t.replace&&"boolean"==typeof n.replace("a","b")||(t.replace=function(e,t){a("replace",e),a("replace",t);var n=this.value;return this.remove(e),this.value!==n&&(this.add(t),!0)}),t.contains||(t.contains=function(e){for(var t=0,n=this.length;t!==n;++t)if(this[t]===e)return!0;return!1}),t.forEach||(t.forEach=function(e){if(1===arguments.length)for(var t=0,n=this.length;t!==n;++t)e(this[t],t,this);else{t=0,n=this.length;for(var r=arguments[1];t!==n;++t)e.call(r,this[t],t,this)}}),t.entries||(t.entries=function(){var e=this;return{next:function(){return 0<e.length?{value:[0,e[0]],done:!1}:{done:!0}}}}),t.values||(t.values=function(){var e=this;return{next:function(){return 0<e.length?{value:e[0],done:!1}:{done:!0}}}}),t.keys||(t.keys=function(){var e=this;return{next:function(){return 0<e.length?{value:0,done:!1}:{done:!0}}}})}(window);var tr=Object.getOwnPropertySymbols,nr=Object.prototype.hasOwnProperty,rr=Object.prototype.propertyIsEnumerable;function or(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var ar=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,r,o=or(e),a=1;a<arguments.length;a++){for(var i in n=Object(arguments[a]))nr.call(n,i)&&(o[i]=n[i]);if(tr){r=tr(n);for(var l=0;l<r.length;l++)rr.call(n,r[l])&&(o[r[l]]=n[r[l]])}}return o},ir=d(function(e,t){var n=60103,r=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var o=60109,a=60110,i=60112;t.Suspense=60113;var l=60115,u=60116;if("function"==typeof Symbol&&Symbol.for){var s=Symbol.for;n=s("react.element"),r=s("react.portal"),t.Fragment=s("react.fragment"),t.StrictMode=s("react.strict_mode"),t.Profiler=s("react.profiler"),o=s("react.provider"),a=s("react.context"),i=s("react.forward_ref"),t.Suspense=s("react.suspense"),l=s("react.memo"),u=s("react.lazy")}var c="function"==typeof Symbol&&Symbol.iterator;function f(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},p={};function m(e,t,n){this.props=e,this.context=t,this.refs=p,this.updater=n||d}function h(){}function y(e,t,n){this.props=e,this.context=t,this.refs=p,this.updater=n||d}m.prototype.isReactComponent={},m.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(f(85));this.updater.enqueueSetState(this,e,t,"setState")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},h.prototype=m.prototype;var g=y.prototype=new h;g.constructor=y,ar(g,m.prototype),g.isPureReactComponent=!0;var v={current:null},b=Object.prototype.hasOwnProperty,E={key:!0,ref:!0,__self:!0,__source:!0};function w(e,t,r){var o,a={},i=null,l=null;if(null!=t)for(o in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(i=""+t.key),t)b.call(t,o)&&!E.hasOwnProperty(o)&&(a[o]=t[o]);var u=arguments.length-2;if(1===u)a.children=r;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];a.children=s}if(e&&e.defaultProps)for(o in u=e.defaultProps)void 0===a[o]&&(a[o]=u[o]);return{$$typeof:n,type:e,key:i,ref:l,props:a,_owner:v.current}}function S(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var _=/\/+/g;function C(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}(""+e.key):t.toString(36)}function O(e,t,o){if(null==e)return e;var a=[],i=0;return function e(t,o,a,i,l){var u=typeof t;"undefined"!==u&&"boolean"!==u||(t=null);var s=!1;if(null===t)s=!0;else switch(u){case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case n:case r:s=!0}}if(s)return l=l(s=t),t=""===i?"."+C(s,0):i,Array.isArray(l)?(a="",null!=t&&(a=t.replace(_,"$&/")+"/"),e(l,o,a,"",function(e){return e})):null!=l&&(S(l)&&(l=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(l,a+(!l.key||s&&s.key===l.key?"":(""+l.key).replace(_,"$&/")+"/")+t)),o.push(l)),1;if(s=0,i=""===i?".":i+":",Array.isArray(t))for(var d=0;d<t.length;d++){var p=i+C(u=t[d],d);s+=e(u,o,a,p,l)}else if("function"==typeof(p=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=c&&e[c]||e["@@iterator"])?e:null}(t)))for(t=p.call(t),d=0;!(u=t.next()).done;)s+=e(u=u.value,o,a,p=i+C(u,d++),l);else if("object"===u)throw o=""+t,Error(f(31,"[object Object]"===o?"object with keys {"+Object.keys(t).join(", ")+"}":o));return s}(e,a,"","",function(e){return t.call(o,e,i++)}),a}function k(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then(function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)},function(t){0===e._status&&(e._status=2,e._result=t)})}if(1===e._status)return e._result;throw e._result}var T={current:null};function P(){var e=T.current;if(null===e)throw Error(f(321));return e}var N={ReactCurrentDispatcher:T,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:v,IsSomeRendererActing:{current:!1},assign:ar};t.Children={map:O,forEach:function(e,t,n){O(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return O(e,function(){t++}),t},toArray:function(e){return O(e,function(e){return e})||[]},only:function(e){if(!S(e))throw Error(f(143));return e}},t.Component=m,t.PureComponent=y,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=N,t.cloneElement=function(e,t,r){if(null==e)throw Error(f(267,e));var o=ar({},e.props),a=e.key,i=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,l=v.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(s in t)b.call(t,s)&&!E.hasOwnProperty(s)&&(o[s]=void 0===t[s]&&void 0!==u?u[s]:t[s])}var s=arguments.length-2;if(1===s)o.children=r;else if(1<s){u=Array(s);for(var c=0;c<s;c++)u[c]=arguments[c+2];o.children=u}return{$$typeof:n,type:e.type,key:a,ref:i,props:o,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:a,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:o,_context:e},e.Consumer=e},t.createElement=w,t.createFactory=function(e){var t=w.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:i,render:e}},t.isValidElement=S,t.lazy=function(e){return{$$typeof:u,_payload:{_status:-1,_result:e},_init:k}},t.memo=function(e,t){return{$$typeof:l,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return P().useCallback(e,t)},t.useContext=function(e,t){return P().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return P().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return P().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return P().useLayoutEffect(e,t)},t.useMemo=function(e,t){return P().useMemo(e,t)},t.useReducer=function(e,t,n){return P().useReducer(e,t,n)},t.useRef=function(e){return P().useRef(e)},t.useState=function(e){return P().useState(e)},t.version="17.0.2"}),lr=(d(function(e,t){}),d(function(e){e.exports=ir})),ur=function(e,t){return(ur=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function sr(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ur(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var cr=function(){return(cr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function fr(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function dr(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}var pr="function"==typeof Symbol&&Symbol.for,mr=pr?Symbol.for("react.element"):60103,hr=pr?Symbol.for("react.portal"):60106,yr=pr?Symbol.for("react.fragment"):60107,gr=pr?Symbol.for("react.strict_mode"):60108,vr=pr?Symbol.for("react.profiler"):60114,br=pr?Symbol.for("react.provider"):60109,Er=pr?Symbol.for("react.context"):60110,wr=pr?Symbol.for("react.async_mode"):60111,Sr=pr?Symbol.for("react.concurrent_mode"):60111,_r=pr?Symbol.for("react.forward_ref"):60112,Cr=pr?Symbol.for("react.suspense"):60113,Or=pr?Symbol.for("react.suspense_list"):60120,kr=pr?Symbol.for("react.memo"):60115,Tr=pr?Symbol.for("react.lazy"):60116,Pr=pr?Symbol.for("react.block"):60121,Nr=pr?Symbol.for("react.fundamental"):60117,xr=pr?Symbol.for("react.responder"):60118,Ar=pr?Symbol.for("react.scope"):60119;function Rr(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case mr:switch(e=e.type){case wr:case Sr:case yr:case vr:case gr:case Cr:return e;default:switch(e=e&&e.$$typeof){case Er:case _r:case Tr:case kr:case br:return e;default:return t}}case hr:return t}}}function Lr(e){return Rr(e)===Sr}var Ir,Mr,Dr,Fr={AsyncMode:wr,ConcurrentMode:Sr,ContextConsumer:Er,ContextProvider:br,Element:mr,ForwardRef:_r,Fragment:yr,Lazy:Tr,Memo:kr,Portal:hr,Profiler:vr,StrictMode:gr,Suspense:Cr,isAsyncMode:function(e){return Lr(e)||Rr(e)===wr},isConcurrentMode:Lr,isContextConsumer:function(e){return Rr(e)===Er},isContextProvider:function(e){return Rr(e)===br},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===mr},isForwardRef:function(e){return Rr(e)===_r},isFragment:function(e){return Rr(e)===yr},isLazy:function(e){return Rr(e)===Tr},isMemo:function(e){return Rr(e)===kr},isPortal:function(e){return Rr(e)===hr},isProfiler:function(e){return Rr(e)===vr},isStrictMode:function(e){return Rr(e)===gr},isSuspense:function(e){return Rr(e)===Cr},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===yr||e===Sr||e===vr||e===gr||e===Cr||e===Or||"object"==typeof e&&null!==e&&(e.$$typeof===Tr||e.$$typeof===kr||e.$$typeof===br||e.$$typeof===Er||e.$$typeof===_r||e.$$typeof===Nr||e.$$typeof===xr||e.$$typeof===Ar||e.$$typeof===Pr)},typeOf:Rr};function jr(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}function Ur(e){return e.type===Mr.literal}function zr(e){return e.type===Mr.argument}function Vr(e){return e.type===Mr.number}function Gr(e){return e.type===Mr.date}function $r(e){return e.type===Mr.time}function Wr(e){return e.type===Mr.select}function Br(e){return e.type===Mr.plural}function Hr(e){return e.type===Mr.pound}function qr(e){return e.type===Mr.tag}function Qr(e){return!(!e||"object"!=typeof e||e.type!==Dr.number)}function Xr(e){return!(!e||"object"!=typeof e||e.type!==Dr.dateTime)}d(function(e,t){}),d(function(e){e.exports=Fr}),function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(Ir||(Ir={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(Mr||(Mr={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(Dr||(Dr={}));var Kr=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Yr=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Zr(e){var t={};return e.replace(Yr,function(e){var n=e.length;switch(e[0]){case"G":t.era=4===n?"long":5===n?"narrow":"short";break;case"y":t.year=2===n?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===n?"short":5===n?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var Jr,eo=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,to=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,no=/^(@+)?(\+|#+)?[rs]?$/g,ro=/(\*)(0+)|(#+)(0+)|(0+)/g,oo=/^(0+)$/;function ao(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(no,function(e,n,r){return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""}),t}function io(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function lo(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!oo.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function uo(e){return io(e)||{}}function so(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n];switch(o.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=o.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=cr(cr(cr({},t),{notation:"scientific"}),o.options.reduce(function(e,t){return cr(cr({},e),uo(t))},{}));continue;case"engineering":t=cr(cr(cr({},t),{notation:"engineering"}),o.options.reduce(function(e,t){return cr(cr({},e),uo(t))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(o.options[0]);continue;case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(ro,function(e,n,r,o,a,i){if(n)t.minimumIntegerDigits=r.length;else{if(o&&a)throw new Error("We currently do not support maximum integer digits");if(i)throw new Error("We currently do not support exact integer digits")}return""});continue}if(oo.test(o.stem))t.minimumIntegerDigits=o.stem.length;else if(to.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(to,function(e,n,r,o,a,i){return"*"===r?t.minimumFractionDigits=n.length:o&&"#"===o[0]?t.maximumFractionDigits=o.length:a&&i?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+i.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""});var a=o.options[0];"w"===a?t=cr(cr({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=cr(cr({},t),ao(a)))}else if(no.test(o.stem))t=cr(cr({},t),ao(o.stem));else{var i=io(o.stem);i&&(t=cr(cr({},t),i));var l=lo(o.stem);l&&(t=cr(cr({},t),l))}}return t}var co=new RegExp("^".concat(Kr.source,"*")),fo=new RegExp("".concat(Kr.source,"*$"));function po(e,t){return{start:e,end:t}}var mo=!!String.prototype.startsWith,ho=!!String.fromCodePoint,yo=!!Object.fromEntries,go=!!String.prototype.codePointAt,vo=!!String.prototype.trimStart,bo=!!String.prototype.trimEnd,Eo=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},wo=!0;try{wo="a"===(null===(Jr=No("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Jr?void 0:Jr[0])}catch(e){wo=!1}var So,_o=mo?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Co=ho?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",o=e.length,a=0;o>a;){if((n=e[a++])>1114111)throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},Oo=yo?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n];t[o[0]]=o[1]}return t},ko=go?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||t>=n)){var r,o=e.charCodeAt(t);return o<55296||o>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?o:r-56320+(o-55296<<10)+65536}},To=vo?function(e){return e.trimStart()}:function(e){return e.replace(co,"")},Po=bo?function(e){return e.trimEnd()}:function(e){return e.replace(fo,"")};function No(e,t){return new RegExp(e,t)}if(wo){var xo=No("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");So=function(e,t){var n;return xo.lastIndex=t,null!==(n=xo.exec(e)[1])&&void 0!==n?n:""}}else So=function(e,t){for(var n=[];;){var r=ko(e,t);if(void 0===r||Io(r)||Mo(r))break;n.push(r),t+=r>=65536?2:1}return Co.apply(void 0,n)};var Ao=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var o=this.char();if(123===o){if((a=this.parseArgument(e,n)).err)return a;r.push(a.val)}else{if(125===o&&e>0)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(Ir.UNMATCHED_CLOSING_TAG,po(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Ro(this.peek()||0)){if((a=this.parseTag(e,t)).err)return a;r.push(a.val)}else{var a;if((a=this.parseLiteral(e,t)).err)return a;r.push(a.val)}}else{var i=this.clonePosition();this.bump(),r.push({type:Mr.pound,location:po(i,this.clonePosition())})}}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Mr.literal,value:"<".concat(r,"/>"),location:po(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;var a=o.val,i=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Ro(this.char()))return this.error(Ir.INVALID_TAG,po(i,this.clonePosition()));var l=this.clonePosition();return r!==this.parseTagName()?this.error(Ir.UNMATCHED_CLOSING_TAG,po(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Mr.tag,value:r,children:a,location:po(n,this.clonePosition())},err:null}:this.error(Ir.INVALID_TAG,po(i,this.clonePosition())))}return this.error(Ir.UNCLOSED_TAG,po(n,this.clonePosition()))}return this.error(Ir.INVALID_TAG,po(n,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&Lo(this.char());)this.bump();return this.message.slice(e,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var o=this.tryParseQuote(t);if(o)r+=o;else{var a=this.tryParseUnquoted(e,t);if(a)r+=a;else{var i=this.tryParseLeftAngleBracket();if(!i)break;r+=i}}}var l=po(n,this.clonePosition());return{val:{type:Mr.literal,value:r,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Ro(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return Co.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&e>0?null:(this.bump(),Co(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Ir.EXPECT_ARGUMENT_CLOSING_BRACE,po(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Ir.EMPTY_ARGUMENT,po(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(Ir.MALFORMED_ARGUMENT,po(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Ir.EXPECT_ARGUMENT_CLOSING_BRACE,po(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Mr.argument,value:r,location:po(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Ir.EXPECT_ARGUMENT_CLOSING_BRACE,po(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(Ir.MALFORMED_ARGUMENT,po(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=So(this.message,t);return this.bumpTo(t+n.length),{value:n,location:po(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var o,a=this.clonePosition(),i=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(i){case"":return this.error(Ir.EXPECT_ARGUMENT_TYPE,po(a,l));case"number":case"date":case"time":this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var s=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(d=Po(y.val)).length)return this.error(Ir.EXPECT_ARGUMENT_STYLE,po(this.clonePosition(),this.clonePosition()));u={style:d,styleLocation:po(s,this.clonePosition())}}if((g=this.tryParseArgumentClose(r)).err)return g;var c=po(r,this.clonePosition());if(u&&_o(null==u?void 0:u.style,"::",0)){var f=To(u.style.slice(2));if("number"===i)return(y=this.parseNumberSkeletonFromString(f,u.styleLocation)).err?y:{val:{type:Mr.number,value:n,location:c,style:y.val},err:null};if(0===f.length)return this.error(Ir.EXPECT_DATE_TIME_SKELETON,c);var d={type:Dr.dateTime,pattern:f,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Zr(f):{}};return{val:{type:"date"===i?Mr.date:Mr.time,value:n,location:c,style:d},err:null}}return{val:{type:"number"===i?Mr.number:"date"===i?Mr.date:Mr.time,value:n,location:c,style:null!==(o=null==u?void 0:u.style)&&void 0!==o?o:null},err:null};case"plural":case"selectordinal":case"select":var p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Ir.EXPECT_SELECT_ARGUMENT_OPTIONS,po(p,cr({},p)));this.bumpSpace();var m=this.parseIdentifierIfPossible(),h=0;if("select"!==i&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(Ir.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,po(this.clonePosition(),this.clonePosition()));var y;if(this.bumpSpace(),(y=this.tryParseDecimalInteger(Ir.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Ir.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return y;this.bumpSpace(),m=this.parseIdentifierIfPossible(),h=y.val}var g,v=this.tryParsePluralOrSelectOptions(e,i,t,m);if(v.err)return v;if((g=this.tryParseArgumentClose(r)).err)return g;var b=po(r,this.clonePosition());return"select"===i?{val:{type:Mr.select,value:n,options:Oo(v.val),location:b},err:null}:{val:{type:Mr.plural,value:n,options:Oo(v.val),offset:h,pluralType:"plural"===i?"cardinal":"ordinal",location:b},err:null};default:return this.error(Ir.INVALID_ARGUMENT_TYPE,po(a,l))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Ir.EXPECT_ARGUMENT_CLOSING_BRACE,po(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Ir.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,po(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,r=e.split(eo).filter(function(e){return e.length>0});n<r.length;n++){var o=r[n].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var a=o[0],i=o.slice(1),l=0,u=i;l<u.length;l++)if(0===u[l].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:i})}return t}(e)}catch(e){return this.error(Ir.INVALID_NUMBER_SKELETON,t)}return{val:{type:Dr.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?so(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var o,a=!1,i=[],l=new Set,u=r.value,s=r.location;;){if(0===u.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var f=this.tryParseDecimalInteger(Ir.EXPECT_PLURAL_ARGUMENT_SELECTOR,Ir.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;s=po(c,this.clonePosition()),u=this.message.slice(c.offset,this.offset())}if(l.has(u))return this.error("select"===t?Ir.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Ir.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,s);"other"===u&&(a=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Ir.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Ir.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,po(this.clonePosition(),this.clonePosition()));var p=this.parseMessage(e+1,t,n);if(p.err)return p;var m=this.tryParseArgumentClose(d);if(m.err)return m;i.push([u,{value:p.val,location:po(d,this.clonePosition())}]),l.add(u),this.bumpSpace(),u=(o=this.parseIdentifierIfPossible()).value,s=o.location}return 0===i.length?this.error("select"===t?Ir.EXPECT_SELECT_ARGUMENT_SELECTOR:Ir.EXPECT_PLURAL_ARGUMENT_SELECTOR,po(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(Ir.MISSING_OTHER_CLAUSE,po(this.clonePosition(),this.clonePosition())):{val:i,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,a=0;!this.isEOF();){var i=this.char();if(!(i>=48&&i<=57))break;o=!0,a=10*a+(i-48),this.bump()}var l=po(r,this.clonePosition());return o?Eo(a*=n)?{val:a,err:null}:this.error(t,l):this.error(e,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=ko(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(_o(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),n=this.message.indexOf(e,t);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Io(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),n=this.message.charCodeAt(t+(e>=65536?2:1));return null!=n?n:null},e}();function Ro(e){return e>=97&&e<=122||e>=65&&e<=90}function Lo(e){return 45===e||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Io(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function Mo(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function Do(e,t){void 0===t&&(t={}),t=cr({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new Ao(e,t).parse();if(n.err){var r=SyntaxError(Ir[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return(null==t?void 0:t.captureLocation)||function e(t){t.forEach(function(t){if(delete t.location,Wr(t)||Br(t))for(var n in t.options)delete t.options[n].location,e(t.options[n].value);else Vr(t)&&Qr(t.style)||(Gr(t)||$r(t))&&Xr(t.style)?delete t.style.location:qr(t)&&e(t.children)})}(n.val),n.val}function Fo(e,t){return(t&&t.strategy?t.strategy:Vo)(e,{cache:t&&t.cache?t.cache:Bo,serializer:t&&t.serializer?t.serializer:Go})}function jo(e,t,n,r){var o,a=null==(o=r)||"number"==typeof o||"boolean"==typeof o?r:n(r),i=t.get(a);return void 0===i&&(i=e.call(this,r),t.set(a,i)),i}function Uo(e,t,n){var r=Array.prototype.slice.call(arguments,3),o=n(r),a=t.get(o);return void 0===a&&(a=e.apply(this,r),t.set(o,a)),a}function zo(e,t,n,r,o){return n.bind(t,e,r,o)}function Vo(e,t){return zo(e,this,1===e.length?jo:Uo,t.cache.create(),t.serializer)}var Go=function(){return JSON.stringify(arguments)};function $o(){this.cache=Object.create(null)}$o.prototype.get=function(e){return this.cache[e]},$o.prototype.set=function(e,t){this.cache[e]=t};var Wo,Bo={create:function(){return new $o}},Ho={variadic:function(e,t){return zo(e,this,Uo,t.cache.create(),t.serializer)},monadic:function(e,t){return zo(e,this,jo,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(Wo||(Wo={}));var qo,Qo=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.code=n,o.originalMessage=r,o}return sr(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Xo=function(e){function t(t,n,r,o){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),Wo.INVALID_VALUE,o)||this}return sr(t,e),t}(Qo),Ko=function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),Wo.INVALID_VALUE,r)||this}return sr(t,e),t}(Qo),Yo=function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),Wo.MISSING_VALUE,n)||this}return sr(t,e),t}(Qo);function Zo(e){return"function"==typeof e}function Jo(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(qo||(qo={}));var ea,ta=function(){function e(t,n,r,o){var a,i,l,u=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=u.formatToParts(e);if(1===t.length)return t[0].value;var n=t.reduce(function(e,t){return e.length&&t.type===qo.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return function e(t,n,r,o,a,i,l){if(1===t.length&&Ur(t[0]))return[{type:qo.literal,value:t[0].value}];for(var u=[],s=0,c=t;s<c.length;s++){var f=c[s];if(Ur(f))u.push({type:qo.literal,value:f.value});else if(Hr(f))"number"==typeof i&&u.push({type:qo.literal,value:r.getNumberFormat(n).format(i)});else{var d=f.value;if(!a||!(d in a))throw new Yo(d,l);var p=a[d];if(zr(f))p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),u.push({type:"string"==typeof p?qo.literal:qo.object,value:p});else if(Gr(f)){var m="string"==typeof f.style?o.date[f.style]:Xr(f.style)?f.style.parsedOptions:void 0;u.push({type:qo.literal,value:r.getDateTimeFormat(n,m).format(p)})}else if($r(f))m="string"==typeof f.style?o.time[f.style]:Xr(f.style)?f.style.parsedOptions:o.time.medium,u.push({type:qo.literal,value:r.getDateTimeFormat(n,m).format(p)});else if(Vr(f))(m="string"==typeof f.style?o.number[f.style]:Qr(f.style)?f.style.parsedOptions:void 0)&&m.scale&&(p*=m.scale||1),u.push({type:qo.literal,value:r.getNumberFormat(n,m).format(p)});else{if(qr(f)){var h=f.children,y=f.value,g=a[y];if(!Zo(g))throw new Ko(y,"function",l);var v=g(e(h,n,r,o,a,i).map(function(e){return e.value}));Array.isArray(v)||(v=[v]),u.push.apply(u,v.map(function(e){return{type:"string"==typeof e?qo.literal:qo.object,value:e}}))}if(Wr(f)){if(!(b=f.options[p]||f.options.other))throw new Xo(f.value,p,Object.keys(f.options),l);u.push.apply(u,e(b.value,n,r,o,a))}else if(Br(f)){var b;if(!(b=f.options["=".concat(p)])){if(!Intl.PluralRules)throw new Qo('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Wo.MISSING_INTL_API,l);var E=r.getPluralRules(n,{type:f.pluralType}).select(p-(f.offset||0));b=f.options[E]||f.options.other}if(!b)throw new Xo(f.value,p,Object.keys(f.options),l);u.push.apply(u,e(b.value,n,r,o,a,p-(f.offset||0)))}}}}return(w=u).length<2?w:w.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===qo.literal&&t.type===qo.literal?n.value+=t.value:e.push(t),e},[]);var w}(u.ast,u.locales,u.formatters,u.formats,e,void 0,u.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(u.locales)[0]}},this.getAst=function(){return u.ast},"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{ignoreTag:null==o?void 0:o.ignoreTag})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(i=e.formats,(l=r)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=l[t])?cr(cr(cr({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=cr(cr({},n[t]),r[t]||{}),e},{})):n),e},cr({},i)):i),this.locales=n,this.formatters=o&&o.formatters||(void 0===(a=this.formatterCache)&&(a={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Fo(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,dr([void 0],t,!1)))},{cache:Jo(a.number),strategy:Ho.variadic}),getDateTimeFormat:Fo(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,dr([void 0],t,!1)))},{cache:Jo(a.dateTime),strategy:Ho.variadic}),getPluralRules:Fo(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,dr([void 0],t,!1)))},{cache:Jo(a.pluralRules),strategy:Ho.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.__parse=Do,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();!function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"}(ea||(ea={}));var na=function(e){function t(n,r,o){var a=this,i=o?o instanceof Error?o:new Error(String(o)):void 0;return(a=e.call(this,"[@formatjs/intl Error ".concat(n,"] ").concat(r," \n").concat(i?"\n".concat(i.message,"\n").concat(i.stack):""))||this).code=n,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(a,t),a}return sr(t,e),t}(Error),ra=function(e){function t(t,n){return e.call(this,ea.UNSUPPORTED_FORMATTER,t,n)||this}return sr(t,e),t}(na),oa=function(e){function t(t,n){return e.call(this,ea.INVALID_CONFIG,t,n)||this}return sr(t,e),t}(na),aa=function(e){function t(t,n){return e.call(this,ea.MISSING_DATA,t,n)||this}return sr(t,e),t}(na),ia=function(e){function t(t,n,r){return e.call(this,ea.FORMAT_ERROR,"".concat(t," \nLocale: ").concat(n,"\n"),r)||this}return sr(t,e),t}(na),la=function(e){function t(t,n,r,o){var a=e.call(this,"".concat(t," \nMessageID: ").concat(null==r?void 0:r.id,"\nDefault Message: ").concat(null==r?void 0:r.defaultMessage,"\nDescription: ").concat(null==r?void 0:r.description," \n"),n,o)||this;return a.descriptor=r,a}return sr(t,e),t}(ia),ua=function(e){function t(t,n){var r=e.call(this,ea.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(n,'", using ').concat(t.defaultMessage?"default message":"id"," as fallback."))||this;return r.descriptor=t,r}return sr(t,e),t}(na);function sa(e,t,n){return void 0===n&&(n={}),t.reduce(function(t,r){return r in e?t[r]=e[r]:r in n&&(t[r]=n[r]),t},{})}var ca={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){},onWarn:function(e){}};function fa(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function da(e,t,n,r){var o,a=e&&e[t];if(a&&(o=a[n]),o)return o;r(new ra("No ".concat(t," format named: ").concat(n)))}function pa(e,t){return Object.keys(e).reduce(function(n,r){return n[r]=cr({timeZone:t},e[r]),n},{})}function ma(e,t){return Object.keys(cr(cr({},e),t)).reduce(function(n,r){return n[r]=cr(cr({},e[r]||{}),t[r]||{}),n},{})}function ha(e,t){if(!t)return e;var n=ta.formats;return cr(cr(cr({},n),e),{date:ma(pa(n.date,t),pa(e.date||{},t)),time:ma(pa(n.time,t),pa(e.time||{},t))})}function ya(e,t,n,r,o){var a=e.locale,i=e.formats,l=e.messages,u=e.defaultLocale,s=e.defaultFormats,c=e.fallbackOnEmptyString,f=e.onError,d=e.timeZone,p=e.defaultRichTextElements;void 0===n&&(n={id:""});var m=n.id,h=n.defaultMessage;jr(!!m,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var y=String(m),g=l&&Object.prototype.hasOwnProperty.call(l,y)&&l[y];if(Array.isArray(g)&&1===g.length&&g[0].type===Mr.literal)return g[0].value;if(!r&&g&&"string"==typeof g&&!p)return g.replace(/'\{(.*?)\}'/gi,"{$1}");if(r=cr(cr({},p),r||{}),i=ha(i,d),s=ha(s,d),!g){if(!1===c&&""===g)return g;if((!h||a&&a.toLowerCase()!==u.toLowerCase())&&f(new ua(n,a)),h)try{return t.getMessageFormat(h,u,s,o).format(r)}catch(e){return f(new la('Error formatting default message for: "'.concat(y,'", rendering default message verbatim'),a,n,e)),"string"==typeof h?h:y}return y}try{return t.getMessageFormat(g,a,i,cr({formatters:t},o||{})).format(r)}catch(e){f(new la('Error formatting message: "'.concat(y,'", using ').concat(h?"default message":"id"," as fallback."),a,n,e))}if(h)try{return t.getMessageFormat(h,u,s,o).format(r)}catch(e){f(new la('Error formatting the default message for: "'.concat(y,'", rendering message verbatim'),a,n,e))}return"string"==typeof g?g:"string"==typeof h?h:y}var ga=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem"];function va(e,t,n,r){var o=e.locale,a=e.formats,i=e.onError,l=e.timeZone;void 0===r&&(r={});var u=r.format,s=cr(cr({},l&&{timeZone:l}),u&&da(a,t,u,i)),c=sa(r,ga,s);return"time"!==t||c.hour||c.minute||c.second||c.timeStyle||c.dateStyle||(c=cr(cr({},c),{hour:"numeric",minute:"numeric"})),n(o,c)}function ba(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],a=n[1],i=void 0===a?{}:a,l="string"==typeof o?new Date(o||0):o;try{return va(e,"date",t,i).format(l)}catch(t){e.onError(new na(ea.FORMAT_ERROR,"Error formatting date.",t))}return String(l)}function Ea(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],a=n[1],i=void 0===a?{}:a,l="string"==typeof o?new Date(o||0):o;try{return va(e,"time",t,i).format(l)}catch(t){e.onError(new na(ea.FORMAT_ERROR,"Error formatting time.",t))}return String(l)}function wa(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],a=n[1],i=n[2],l=void 0===i?{}:i,u=e.timeZone,s=e.locale,c=e.onError,f=sa(l,ga,u?{timeZone:u}:{});try{return t(s,f).formatRange(o,a)}catch(e){c(new na(ea.FORMAT_ERROR,"Error formatting date time range.",e))}return String(o)}function Sa(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],a=n[1],i=void 0===a?{}:a,l="string"==typeof o?new Date(o||0):o;try{return va(e,"date",t,i).formatToParts(l)}catch(t){e.onError(new na(ea.FORMAT_ERROR,"Error formatting date.",t))}return[]}function _a(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],a=n[1],i=void 0===a?{}:a,l="string"==typeof o?new Date(o||0):o;try{return va(e,"time",t,i).formatToParts(l)}catch(t){e.onError(new na(ea.FORMAT_ERROR,"Error formatting time.",t))}return[]}var Ca=["localeMatcher","style","type","fallback"];function Oa(e,t,n,r){var o=e.locale,a=e.onError;Intl.DisplayNames||a(new Qo('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',Wo.MISSING_INTL_API));var i=sa(r,Ca);try{return t(o,i).of(n)}catch(e){a(new na(ea.FORMAT_ERROR,"Error formatting display name.",e))}}var ka=["localeMatcher","type","style"],Ta=Date.now();function Pa(e,t,n,r){void 0===r&&(r={});var o=Na(e,t,n,r).reduce(function(e,t){var n=t.value;return"string"!=typeof n?e.push(n):"string"==typeof e[e.length-1]?e[e.length-1]+=n:e.push(n),e},[]);return 1===o.length?o[0]:o}function Na(e,t,n,r){var o=e.locale,a=e.onError;void 0===r&&(r={}),Intl.ListFormat||a(new Qo('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',Wo.MISSING_INTL_API));var i=sa(r,ka);try{var l={},u=n.map(function(e,t){if("object"==typeof e){var n=function(e){return"".concat(Ta,"_").concat(e,"_").concat(Ta)}(t);return l[n]=e,n}return String(e)});return t(o,i).formatToParts(u).map(function(e){return"literal"===e.type?e:cr(cr({},e),{value:l[e.value]||e.value})})}catch(e){a(new na(ea.FORMAT_ERROR,"Error formatting list.",e))}return n}var xa=["localeMatcher","type"];function Aa(e,t,n,r){var o=e.locale,a=e.onError;void 0===r&&(r={}),Intl.PluralRules||a(new Qo('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Wo.MISSING_INTL_API));var i=sa(r,xa);try{return t(o,i).select(n)}catch(e){a(new ia("Error formatting plural.",o,e))}return"other"}var Ra=["numeric","style"];function La(e,t,n,r,o){void 0===o&&(o={}),r||(r="second"),Intl.RelativeTimeFormat||e.onError(new Qo('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',Wo.MISSING_INTL_API));try{return function(e,t,n){var r=e.locale;void 0===n&&(n={});var o=n.format,a=!!o&&da(e.formats,"relative",o,e.onError)||{};return t(r,sa(n,Ra,a))}(e,t,o).format(n,r)}catch(t){e.onError(new ia("Error formatting relative time.",e.locale,t))}return String(n)}var Ia=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function Ma(e,t,n){var r=e.locale;void 0===n&&(n={});var o=n.format,a=o&&da(e.formats,"number",o,e.onError)||{};return t(r,sa(n,Ia,a))}function Da(e,t,n,r){void 0===r&&(r={});try{return Ma(e,t,r).format(n)}catch(t){e.onError(new na(ea.FORMAT_ERROR,"Error formatting number.",t))}return String(n)}function Fa(e,t,n,r){void 0===r&&(r={});try{return Ma(e,t,r).formatToParts(n)}catch(t){e.onError(new na(ea.FORMAT_ERROR,"Error formatting number.",t))}return[]}function ja(e){jr(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var Ua=cr(cr({},ca),{textComponent:lr.Fragment});function za(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),o=n.length;if(r.length!==o)return!1;for(var a=0;a<o;a++){var i=n[a];if(e[i]!==t[i]||!Object.prototype.hasOwnProperty.call(t,i))return!1}return!0}var Va,Ga,$a=lr.createContext(null),Wa=$a.Provider,Ba=$a;function Ha(){var e=lr.useContext(Ba);return ja(e),e}function qa(e){var t=function(t){var n=Ha(),r=t.value,o=t.children,a=fr(t,["value","children"]),i=n[e](r,a);return"function"==typeof o?o(i):lr.createElement(n.textComponent||lr.Fragment,null,i)};return t.displayName=Va[e],t}function Qa(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}function Xa(e){return e?Object.keys(e).reduce(function(t,n){var r,o=e[n];return t[n]=Zo(o)?(r=o,function(e){return r(lr.Children.toArray(e))}):o,t},{}):e}!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(Va||(Va={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}(Ga||(Ga={}));var Ka=function(e,t,n,r){for(var o=[],a=4;a<arguments.length;a++)o[a-4]=arguments[a];var i=Xa(r),l=ya.apply(void 0,dr([e,t,n,i],o,!1));return Array.isArray(l)?lr.Children.toArray(l):l},Ya=function(e,t){var n=e.defaultRichTextElements,r=fr(e,["defaultRichTextElements"]),o=Xa(n),a=function(e,t){var n=function(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,n=Intl.ListFormat,r=Intl.DisplayNames,o=Fo(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,dr([void 0],t,!1)))},{cache:fa(e.dateTime),strategy:Ho.variadic}),a=Fo(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,dr([void 0],t,!1)))},{cache:fa(e.number),strategy:Ho.variadic}),i=Fo(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,dr([void 0],t,!1)))},{cache:fa(e.pluralRules),strategy:Ho.variadic});return{getDateTimeFormat:o,getNumberFormat:a,getMessageFormat:Fo(function(e,t,n,r){return new ta(e,t,n,cr({formatters:{getNumberFormat:a,getDateTimeFormat:o,getPluralRules:i}},r||{}))},{cache:fa(e.message),strategy:Ho.variadic}),getRelativeTimeFormat:Fo(function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new(t.bind.apply(t,dr([void 0],e,!1)))},{cache:fa(e.relativeTime),strategy:Ho.variadic}),getPluralRules:i,getListFormat:Fo(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,dr([void 0],e,!1)))},{cache:fa(e.list),strategy:Ho.variadic}),getDisplayNames:Fo(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(r.bind.apply(r,dr([void 0],e,!1)))},{cache:fa(e.displayNames),strategy:Ho.variadic})}}(t),r=cr(cr({},ca),e),o=r.locale,a=r.defaultLocale,i=r.onError;return o?!Intl.NumberFormat.supportedLocalesOf(o).length&&i?i(new aa('Missing locale data for locale: "'.concat(o,'" in Intl.NumberFormat. Using default locale: "').concat(a,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(o).length&&i&&i(new aa('Missing locale data for locale: "'.concat(o,'" in Intl.DateTimeFormat. Using default locale: "').concat(a,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(i&&i(new oa('"locale" was not configured, using "'.concat(a,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),r.locale=r.defaultLocale||"en"),function(e){var t;e.onWarn&&e.defaultRichTextElements&&"string"==typeof((t=e.messages||{})?t[Object.keys(t)[0]]:void 0)&&e.onWarn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution')}(r),cr(cr({},r),{formatters:n,formatNumber:Da.bind(null,r,n.getNumberFormat),formatNumberToParts:Fa.bind(null,r,n.getNumberFormat),formatRelativeTime:La.bind(null,r,n.getRelativeTimeFormat),formatDate:ba.bind(null,r,n.getDateTimeFormat),formatDateToParts:Sa.bind(null,r,n.getDateTimeFormat),formatTime:Ea.bind(null,r,n.getDateTimeFormat),formatDateTimeRange:wa.bind(null,r,n.getDateTimeFormat),formatTimeToParts:_a.bind(null,r,n.getDateTimeFormat),formatPlural:Aa.bind(null,r,n.getPluralRules),formatMessage:ya.bind(null,r,n),$t:ya.bind(null,r,n),formatList:Pa.bind(null,r,n.getListFormat),formatListToParts:Na.bind(null,r,n.getListFormat),formatDisplayName:Oa.bind(null,r,n.getDisplayNames)})}(cr(cr(cr({},Ua),r),{defaultRichTextElements:o}),t);return cr(cr({},a),{formatMessage:Ka.bind(null,{locale:a.locale,timeZone:a.timeZone,fallbackOnEmptyString:a.fallbackOnEmptyString,formats:a.formats,defaultLocale:a.defaultLocale,defaultFormats:a.defaultFormats,messages:a.messages,onError:a.onError,defaultRichTextElements:o},a.formatters)})},Za=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cache={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},t.state={cache:t.cache,intl:Ya(Qa(t.props),t.cache),prevConfig:Qa(t.props)},t}return sr(t,e),t.getDerivedStateFromProps=function(e,t){var n=t.prevConfig,r=t.cache,o=Qa(e);return za(n,o)?null:{intl:Ya(o,r),prevConfig:o}},t.prototype.render=function(){return ja(this.state.intl),lr.createElement(Wa,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=Ua,t}(lr.PureComponent);function Ja(e){var t=Ha(),n=t.textComponent,r=e.children,o=e.tagName,a=void 0===o?void 0===n?lr.Fragment:n:o,i=(0,t.formatMessage)({id:e.id,description:e.description,defaultMessage:e.defaultMessage},e.values,{ignoreTag:e.ignoreTag});return"function"==typeof r?r(Array.isArray(i)?i:[i]):a?lr.createElement(a,null,lr.Children.toArray(i)):lr.createElement(lr.Fragment,null,i)}Ja.displayName="FormattedMessage";var ei=lr.memo(Ja,function(e,t){var n=e.values,r=fr(e,["values"]),o=t.values,a=fr(t,["values"]);return za(o,n)&&za(r,a)});ei.displayName="MemoizedFormattedMessage";var ti=qa("formatDate"),ni=(qa("formatTime"),qa("formatNumber")),ri=(qa("formatList"),qa("formatDisplayName"),{"eligibility-modal.bullet-1":"Wählen Sie an der Kasse <strong>Alma</strong> .","eligibility-modal.bullet-2":"Füllen Sie die <strong>angeforderten</strong> Informationen aus.","eligibility-modal.bullet-3":"Die Bestätigung Ihrer Zahlung <strong>sofort</strong> !","eligibility-modal.cost":"Davon Kosten","eligibility-modal.credit-commitment":"Ein Kredit verpflichtet Sie und muss zurückgezahlt werden. Prüfen Sie Ihre Rückzahlungsfähigkeit, bevor Sie sich verpflichten.","eligibility-modal.credit-cost":"Davon Kreditkosten","eligibility-modal.credit-cost-amount":"{creditCost} (APR {TAEG})","eligibility-modal.no-eligibility":"Ups, die Simulation hat anscheinend nicht funktioniert.","eligibility-modal.title":"<highlighted>Bezahlen Sie in Raten</highlighted> per Kreditkarte mit Alma.","eligibility-modal.title-deferred":"<highlighted>Bezahlen Sie in Raten</highlighted> oder später per Kreditkarte mit Alma.","eligibility-modal.total":"Insgesamt","installments.today":"Heutzutage","payment-plan-strings.day-abbreviation":"J{numberOfDeferredDays}","payment-plan-strings.default-message":"Bezahlen Sie in Raten mit Alma","payment-plan-strings.deferred":"{totalAmount} zu zahlen am {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Bis zu {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"Ab {minAmount}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} dann {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} dann {numberOfRemainingInstallments} x {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} x {totalAmount}","payment-plan-strings.no-fee":"(gebührenfrei)"}),oi={"eligibility-modal.bullet-1":"Choose <strong>Alma</strong> at checkout.","eligibility-modal.bullet-2":"Fill in the <strong>information</strong> requested.","eligibility-modal.bullet-3":"Validation of your payment <strong>instantaneous</strong>!","eligibility-modal.cost":"Of which costs","eligibility-modal.credit-commitment":"A loan commits you and must be repaid. Check your ability to repay before committing yourself.","eligibility-modal.credit-cost":"Of which cost of credit","eligibility-modal.credit-cost-amount":"{creditCost} (APR {TAEG})","eligibility-modal.no-eligibility":"Oops, looks like the simulation didn't work.","eligibility-modal.title":"<highlighted>Pay in installments</highlighted> by credit card with Alma.","eligibility-modal.title-deferred":"<highlighted>Pay in installments</highlighted> or later by credit card with Alma.","eligibility-modal.total":"Total","installments.today":"Today","payment-plan-strings.day-abbreviation":"T{numberOfDeferredDays}","payment-plan-strings.default-message":"Pay in installments with Alma","payment-plan-strings.deferred":"{totalAmount} to be paid on {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Until {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"From {minAmount}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} then {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} then {numberOfRemainingInstallments} x {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} x {totalAmount}","payment-plan-strings.no-fee":"(free of charge)"},ai={"eligibility-modal.bullet-1":"Elige <strong>Alma</strong> como método de pago.","eligibility-modal.bullet-2":"Completa la <strong>información</strong> solicitada.","eligibility-modal.bullet-3":"¡Validación <strong>inmediata</strong> de tu pago!","eligibility-modal.cost":"Gastos (incl. en el total)","eligibility-modal.credit-commitment":"Un préstamo te compromete y debe ser devuelto. Comprueba tu capacidad financiera antes de comprometerte.","eligibility-modal.credit-cost":"Coste de crédito (incl. en el total)","eligibility-modal.credit-cost-amount":"{creditCost} (TAE {TAEG})","eligibility-modal.no-eligibility":"Uy, parece que la simulación no ha funcionado.","eligibility-modal.title":"<highlighted>Paga a plazos</highlighted> con tarjeta de crédito con Alma.","eligibility-modal.title-deferred":"<highlighted>Paga a plazos</highlighted> o más adelante con tu tarjeta, a través de Alma.","eligibility-modal.total":"Total","installments.today":"Hoy","payment-plan-strings.day-abbreviation":"D{numberOfDeferredDays}","payment-plan-strings.default-message":"Pagar a plazos con Alma","payment-plan-strings.deferred":"{totalAmount} a pagar el {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Hasta {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"Desde {minAmount}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} hoy, después {numberOfRemainingInstallments} mensualidad de {othersInstallmentAmount}} other {{firstInstallmentAmount} hoy, después {numberOfRemainingInstallments} mensualidades de {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} plazos de {totalAmount}","payment-plan-strings.no-fee":"(sin intereses)"},ii={"eligibility-modal.bullet-1":"Choisissez <strong>Alma</strong> au moment du paiement.","eligibility-modal.bullet-2":"Renseignez les <strong>informations</strong> demandées.","eligibility-modal.bullet-3":"La validation de votre paiement <strong>instantanée</strong> !","eligibility-modal.cost":"Dont frais","eligibility-modal.credit-commitment":"Un crédit vous engage et doit être remboursé. Vérifiez vos capacités de remboursement avant de vous engager.","eligibility-modal.credit-cost":"Dont coût du crédit","eligibility-modal.credit-cost-amount":"{creditCost} (TAEG {TAEG})","eligibility-modal.no-eligibility":"Oups, il semblerait que la simulation n'ait pas fonctionné.","eligibility-modal.title":"<highlighted>Payez en plusieurs fois</highlighted> par carte bancaire avec Alma.","eligibility-modal.title-deferred":"<highlighted>Payez en plusieurs fois</highlighted> ou plus tard par carte bancaire avec Alma.","eligibility-modal.total":"Total","installments.today":"Aujourd'hui","payment-plan-strings.day-abbreviation":"J{numberOfDeferredDays}","payment-plan-strings.default-message":"Payez en plusieurs fois avec Alma","payment-plan-strings.deferred":"{totalAmount} à payer le {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Jusqu'à {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"À partir de {minAmount}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} puis {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} puis {numberOfRemainingInstallments} x {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} x {totalAmount}","payment-plan-strings.no-fee":"(sans frais)"},li={"eligibility-modal.bullet-1":"Scegli <strong>Alma</strong> alla cassa.","eligibility-modal.bullet-2":"Compila le informazioni <strong></strong> richieste.","eligibility-modal.bullet-3":"Convalida del tuo pagamento <strong>istantanea</strong>!","eligibility-modal.cost":"Di cui commissioni","eligibility-modal.credit-commitment":"Un pagamento rateale ti impegna e deve essere ripagato. Verifica la tua capacità di rimborso prima di impegnarti.","eligibility-modal.credit-cost":"Di cui commissioni","eligibility-modal.credit-cost-amount":"{creditCost} (TAEG {TAEG})","eligibility-modal.no-eligibility":"Ops, sembra che la simulazione non abbia funzionato.","eligibility-modal.title":"<highlighted>Paga a rate</highlighted> con carta di credito con Alma.","eligibility-modal.title-deferred":"<highlighted>Paga a rate</highlighted> e posticipa il pagamento con Alma, senza interessi.","eligibility-modal.total":"Totale","installments.today":"Oggi","payment-plan-strings.day-abbreviation":"G{numberOfDeferredDays}","payment-plan-strings.default-message":"Paga a rate con Alma","payment-plan-strings.deferred":"{totalAmount} da pagare il {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Disponibile fino a {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"Pagamento rateale disponibile a partire da {minAmount}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {Oggi paghi {firstInstallmentAmount} poi tra {numberOfRemainingInstallments} mese {othersInstallmentAmount}} other {Oggi paghi {firstInstallmentAmount} poi {numberOfRemainingInstallments} rate mensili di {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"In {installmentsCount} rate mensili di {totalAmount}","payment-plan-strings.no-fee":"(senza interessi)"},ui={"eligibility-modal.bullet-1":"Kies <strong>Alma</strong> bij het afrekenen.","eligibility-modal.bullet-2":"Vul de <strong>gevraagde informatie</strong> in.","eligibility-modal.bullet-3":"Onmiddelijke validatie van uw betaling ","eligibility-modal.cost":"Waarvan kosten","eligibility-modal.credit-commitment":"Een lening bindt je en moet worden terugbetaald. Ga na of u kunt terugbetalen voordat u zich vastlegt.","eligibility-modal.credit-cost":"Waarvan kosten van krediet","eligibility-modal.credit-cost-amount":"{creditCost} (APR {TAEG})","eligibility-modal.no-eligibility":"Oeps, het lijkt erop dat de simulatie niet werkte.","eligibility-modal.title":"<highlighted>Betaal in termijnen</highlighted> met kredietkaart bij Alma.","eligibility-modal.title-deferred":"<highlighted>Betaal in termijnen</highlighted> of later per credit card met Alma.","eligibility-modal.total":"Totaal","installments.today":"Tegenwoordig","payment-plan-strings.day-abbreviation":"J{numberOfDeferredDays}","payment-plan-strings.default-message":"Betaal in termijnen met Alma","payment-plan-strings.deferred":"{totalAmount} te betalen op {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Tot {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"Van {minAmount}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} dan {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} dan {numberOfRemainingInstallments} x {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} x {totalAmount}","payment-plan-strings.no-fee":"(gratis)"},si=function(e){switch(e){case Yn.fr:return ii;case Yn.en:return oi;case Yn.es:return ai;case Yn.it:return li;case Yn.de:return ri;case Yn.nl:case Yn["nl-BE"]:case Yn["nl-NL"]:return ui;default:return oi}},ci=function(e){var t=e.children,n=e.locale;return lr.createElement(Za,{messages:si(n),locale:n,defaultLocale:"en"},t)},fi=d(function(e,t){var n,r,o,a;if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var l=Date,u=l.now();t.unstable_now=function(){return l.now()-u}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var s=null,c=null,f=function(){if(null!==s)try{var e=t.unstable_now();s(!0,e),s=null}catch(e){throw setTimeout(f,0),e}};n=function(e){null!==s?setTimeout(n,0,e):(s=e,setTimeout(f,0))},r=function(e,t){c=setTimeout(e,t)},o=function(){clearTimeout(c)},t.unstable_shouldYield=function(){return!1},a=t.unstable_forceFrameRate=function(){}}else{var d=window.setTimeout,p=window.clearTimeout;if("undefined"!=typeof console){var m=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof m&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var h=!1,y=null,g=-1,v=5,b=0;t.unstable_shouldYield=function(){return t.unstable_now()>=b},a=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):v=0<e?Math.floor(1e3/e):5};var E=new MessageChannel,w=E.port2;E.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();b=e+v;try{y(!0,e)?w.postMessage(null):(h=!1,y=null)}catch(e){throw w.postMessage(null),e}}else h=!1},n=function(e){y=e,h||(h=!0,w.postMessage(null))},r=function(e,n){g=d(function(){e(t.unstable_now())},n)},o=function(){p(g),g=-1}}function S(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<O(o,t)))break e;e[r]=t,e[n]=o,n=r}}function _(e){return void 0===(e=e[0])?null:e}function C(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var a=2*(r+1)-1,i=e[a],l=a+1,u=e[l];if(void 0!==i&&0>O(i,n))void 0!==u&&0>O(u,i)?(e[r]=u,e[l]=n,r=l):(e[r]=i,e[a]=n,r=a);else{if(!(void 0!==u&&0>O(u,n)))break e;e[r]=u,e[l]=n,r=l}}}return t}return null}function O(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var k=[],T=[],P=1,N=null,x=3,A=!1,R=!1,L=!1;function I(e){for(var t=_(T);null!==t;){if(null===t.callback)C(T);else{if(!(t.startTime<=e))break;C(T),t.sortIndex=t.expirationTime,S(k,t)}t=_(T)}}function M(e){if(L=!1,I(e),!R)if(null!==_(k))R=!0,n(D);else{var t=_(T);null!==t&&r(M,t.startTime-e)}}function D(e,n){R=!1,L&&(L=!1,o()),A=!0;var a=x;try{for(I(n),N=_(k);null!==N&&(!(N.expirationTime>n)||e&&!t.unstable_shouldYield());){var i=N.callback;if("function"==typeof i){N.callback=null,x=N.priorityLevel;var l=i(N.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?N.callback=l:N===_(k)&&C(k),I(n)}else C(k);N=_(k)}if(null!==N)var u=!0;else{var s=_(T);null!==s&&r(M,s.startTime-n),u=!1}return u}finally{N=null,x=a,A=!1}}var F=a;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){R||A||(R=!0,n(D))},t.unstable_getCurrentPriorityLevel=function(){return x},t.unstable_getFirstCallbackNode=function(){return _(k)},t.unstable_next=function(e){switch(x){case 1:case 2:case 3:var t=3;break;default:t=x}var n=x;x=t;try{return e()}finally{x=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=F,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=x;x=e;try{return t()}finally{x=n}},t.unstable_scheduleCallback=function(e,a,i){var l=t.unstable_now();switch(i="object"==typeof i&&null!==i&&"number"==typeof(i=i.delay)&&0<i?l+i:l,e){case 1:var u=-1;break;case 2:u=250;break;case 5:u=1073741823;break;case 4:u=1e4;break;default:u=5e3}return e={id:P++,callback:a,priorityLevel:e,startTime:i,expirationTime:u=i+u,sortIndex:-1},i>l?(e.sortIndex=i,S(T,e),null===_(k)&&e===_(T)&&(L?o():L=!0,r(M,i-l))):(e.sortIndex=u,S(k,e),R||A||(R=!0,n(D))),e},t.unstable_wrapCallback=function(e){var t=x;return function(){var n=x;x=t;try{return e.apply(this,arguments)}finally{x=n}}}}),di=(d(function(e,t){}),d(function(e){e.exports=fi}));function pi(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!lr)throw Error(pi(227));var mi=new Set,hi={};function yi(e,t){gi(e,t),gi(e+"Capture",t)}function gi(e,t){for(hi[e]=t,e=0;e<t.length;e++)mi.add(t[e])}var vi=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),bi=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Ei=Object.prototype.hasOwnProperty,wi={},Si={};function _i(e,t,n,r,o,a,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var Ci={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ci[e]=new _i(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ci[t]=new _i(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ci[e]=new _i(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ci[e]=new _i(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Ci[e]=new _i(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){Ci[e]=new _i(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){Ci[e]=new _i(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){Ci[e]=new _i(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){Ci[e]=new _i(e,5,!1,e.toLowerCase(),null,!1,!1)});var Oi=/[\-:]([a-z])/g;function ki(e){return e[1].toUpperCase()}function Ti(e,t,n,r){var o=Ci.hasOwnProperty(t)?Ci[t]:null;(null!==o?0===o.type:!r&&2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1]))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!Ei.call(Si,e)||!Ei.call(wi,e)&&(bi.test(e)?Si[e]=!0:(wi[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Oi,ki);Ci[t]=new _i(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Oi,ki);Ci[t]=new _i(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Oi,ki);Ci[t]=new _i(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){Ci[e]=new _i(e,1,!1,e.toLowerCase(),null,!1,!1)}),Ci.xlinkHref=new _i("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){Ci[e]=new _i(e,1,!1,e.toLowerCase(),null,!0,!0)});var Pi=lr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ni=60103,xi=60106,Ai=60107,Ri=60108,Li=60114,Ii=60109,Mi=60110,Di=60112,Fi=60113,ji=60120,Ui=60115,zi=60116,Vi=60121,Gi=60128,$i=60129,Wi=60130,Bi=60131;if("function"==typeof Symbol&&Symbol.for){var Hi=Symbol.for;Ni=Hi("react.element"),xi=Hi("react.portal"),Ai=Hi("react.fragment"),Ri=Hi("react.strict_mode"),Li=Hi("react.profiler"),Ii=Hi("react.provider"),Mi=Hi("react.context"),Di=Hi("react.forward_ref"),Fi=Hi("react.suspense"),ji=Hi("react.suspense_list"),Ui=Hi("react.memo"),zi=Hi("react.lazy"),Vi=Hi("react.block"),Hi("react.scope"),Gi=Hi("react.opaque.id"),$i=Hi("react.debug_trace_mode"),Wi=Hi("react.offscreen"),Bi=Hi("react.legacy_hidden")}var qi,Qi="function"==typeof Symbol&&Symbol.iterator;function Xi(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Qi&&e[Qi]||e["@@iterator"])?e:null}function Ki(e){if(void 0===qi)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);qi=t&&t[1]||""}return"\n"+qi+e}var Yi=!1;function Zi(e,t){if(!e||Yi)return"";Yi=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(e){if(e&&r&&"string"==typeof e.stack){for(var o=e.stack.split("\n"),a=r.stack.split("\n"),i=o.length-1,l=a.length-1;1<=i&&0<=l&&o[i]!==a[l];)l--;for(;1<=i&&0<=l;i--,l--)if(o[i]!==a[l]){if(1!==i||1!==l)do{if(i--,0>--l||o[i]!==a[l])return"\n"+o[i].replace(" at new "," at ")}while(1<=i&&0<=l);break}}}finally{Yi=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ki(e):""}function Ji(e){switch(e.tag){case 5:return Ki(e.type);case 16:return Ki("Lazy");case 13:return Ki("Suspense");case 19:return Ki("SuspenseList");case 0:case 2:case 15:return Zi(e.type,!1);case 11:return Zi(e.type.render,!1);case 22:return Zi(e.type._render,!1);case 1:return Zi(e.type,!0);default:return""}}function el(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case Ai:return"Fragment";case xi:return"Portal";case Li:return"Profiler";case Ri:return"StrictMode";case Fi:return"Suspense";case ji:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case Mi:return(e.displayName||"Context")+".Consumer";case Ii:return(e._context.displayName||"Context")+".Provider";case Di:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case Ui:return el(e.type);case Vi:return el(e._render);case zi:t=e._payload,e=e._init;try{return el(e(t))}catch(e){}}return null}function tl(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function nl(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function rl(e){e._valueTracker||(e._valueTracker=function(e){var t=nl(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function ol(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=nl(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function al(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function il(e,t){var n=t.checked;return ar({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ll(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=tl(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function ul(e,t){null!=(t=t.checked)&&Ti(e,"checked",t,!1)}function sl(e,t){ul(e,t);var n=tl(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?fl(e,t.type,n):t.hasOwnProperty("defaultValue")&&fl(e,t.type,tl(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function cl(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(("submit"===r||"reset"===r)&&null==t.value)return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function fl(e,t,n){"number"===t&&al(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function dl(e,t){return e=ar({children:void 0},t),(t=function(e){var t="";return lr.Children.forEach(e,function(e){null!=e&&(t+=e)}),t}(t.children))&&(e.children=t),e}function pl(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+tl(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function ml(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(pi(91));return ar({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function hl(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(pi(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(pi(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:tl(n)}}function yl(e,t){var n=tl(t.value),r=tl(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function gl(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var vl="http://www.w3.org/1999/xhtml";function bl(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function El(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?bl(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var wl,Sl=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n)})}:e}(function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((wl=wl||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=wl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function _l(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var Cl={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ol=["Webkit","ms","Moz","O"];function kl(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Cl.hasOwnProperty(e)&&Cl[e]?(""+t).trim():t+"px"}function Tl(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=kl(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(Cl).forEach(function(e){Ol.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Cl[t]=Cl[e]})});var Pl=ar({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Nl(e,t){if(t){if(Pl[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(pi(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(pi(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(pi(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(pi(62))}}function xl(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Al(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Rl=null,Ll=null,Il=null;function Ml(e){if(e=tf(e)){if("function"!=typeof Rl)throw Error(pi(280));var t=e.stateNode;t&&(t=rf(t),Rl(e.stateNode,e.type,t))}}function Dl(e){Ll?Il?Il.push(e):Il=[e]:Ll=e}function Fl(){if(Ll){var e=Ll,t=Il;if(Il=Ll=null,Ml(e),t)for(e=0;e<t.length;e++)Ml(t[e])}}function jl(e,t){return e(t)}function Ul(e,t,n,r,o){return e(t,n,r,o)}function zl(){}var Vl=jl,Gl=!1,$l=!1;function Wl(){null===Ll&&null===Il||(zl(),Fl())}function Bl(e,t){var n=e.stateNode;if(null===n)return null;var r=rf(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(pi(231,t,typeof n));return n}var Hl=!1;if(vi)try{var ql={};Object.defineProperty(ql,"passive",{get:function(){Hl=!0}}),window.addEventListener("test",ql,ql),window.removeEventListener("test",ql,ql)}catch(e){Hl=!1}function Ql(e,t,n,r,o,a,i,l,u){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(e){this.onError(e)}}var Xl=!1,Kl=null,Yl=!1,Zl=null,Jl={onError:function(e){Xl=!0,Kl=e}};function eu(e,t,n,r,o,a,i,l,u){Xl=!1,Kl=null,Ql.apply(Jl,arguments)}function tu(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function nu(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function ru(e){if(tu(e)!==e)throw Error(pi(188))}function ou(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=tu(e)))throw Error(pi(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return ru(o),e;if(a===r)return ru(o),t;a=a.sibling}throw Error(pi(188))}if(n.return!==r.return)n=o,r=a;else{for(var i=!1,l=o.child;l;){if(l===n){i=!0,n=o,r=a;break}if(l===r){i=!0,r=o,n=a;break}l=l.sibling}if(!i){for(l=a.child;l;){if(l===n){i=!0,n=a,r=o;break}if(l===r){i=!0,r=a,n=o;break}l=l.sibling}if(!i)throw Error(pi(189))}}if(n.alternate!==r)throw Error(pi(190))}if(3!==n.tag)throw Error(pi(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}var au,iu,lu,uu,su=!1,cu=[],fu=null,du=null,pu=null,mu=new Map,hu=new Map,yu=[],gu="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function vu(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:o,targetContainers:[r]}}function bu(e,t){switch(e){case"focusin":case"focusout":fu=null;break;case"dragenter":case"dragleave":du=null;break;case"mouseover":case"mouseout":pu=null;break;case"pointerover":case"pointerout":mu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":hu.delete(t.pointerId)}}function Eu(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e=vu(t,n,r,o,a),null!==t&&null!==(t=tf(t))&&iu(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function wu(e){var t=ef(e.target);if(null!==t){var n=tu(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=nu(n)))return e.blockedOn=t,void uu(e.lanePriority,function(){di.unstable_runWithPriority(e.priority,function(){lu(n)})})}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Su(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=ns(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=tf(n))&&iu(t),e.blockedOn=n,!1;t.shift()}return!0}function _u(e,t,n){Su(e)&&n.delete(t)}function Cu(){for(su=!1;0<cu.length;){var e=cu[0];if(null!==e.blockedOn){null!==(e=tf(e.blockedOn))&&au(e);break}for(var t=e.targetContainers;0<t.length;){var n=ns(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&cu.shift()}null!==fu&&Su(fu)&&(fu=null),null!==du&&Su(du)&&(du=null),null!==pu&&Su(pu)&&(pu=null),mu.forEach(_u),hu.forEach(_u)}function Ou(e,t){e.blockedOn===t&&(e.blockedOn=null,su||(su=!0,di.unstable_scheduleCallback(di.unstable_NormalPriority,Cu)))}function ku(e){function t(t){return Ou(t,e)}if(0<cu.length){Ou(cu[0],e);for(var n=1;n<cu.length;n++){var r=cu[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==fu&&Ou(fu,e),null!==du&&Ou(du,e),null!==pu&&Ou(pu,e),mu.forEach(t),hu.forEach(t),n=0;n<yu.length;n++)(r=yu[n]).blockedOn===e&&(r.blockedOn=null);for(;0<yu.length&&null===(n=yu[0]).blockedOn;)wu(n),null===n.blockedOn&&yu.shift()}function Tu(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Pu={animationend:Tu("Animation","AnimationEnd"),animationiteration:Tu("Animation","AnimationIteration"),animationstart:Tu("Animation","AnimationStart"),transitionend:Tu("Transition","TransitionEnd")},Nu={},xu={};function Au(e){if(Nu[e])return Nu[e];if(!Pu[e])return e;var t,n=Pu[e];for(t in n)if(n.hasOwnProperty(t)&&t in xu)return Nu[e]=n[t];return e}vi&&(xu=document.createElement("div").style,"AnimationEvent"in window||(delete Pu.animationend.animation,delete Pu.animationiteration.animation,delete Pu.animationstart.animation),"TransitionEvent"in window||delete Pu.transitionend.transition);var Ru=Au("animationend"),Lu=Au("animationiteration"),Iu=Au("animationstart"),Mu=Au("transitionend"),Du=new Map,Fu=new Map,ju=["abort","abort",Ru,"animationEnd",Lu,"animationIteration",Iu,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Mu,"transitionEnd","waiting","waiting"];function Uu(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];o="on"+(o[0].toUpperCase()+o.slice(1)),Fu.set(r,t),Du.set(r,o),yi(o,[r])}}(0,di.unstable_now)();var zu=8;function Vu(e){if(0!=(1&e))return zu=15,1;if(0!=(2&e))return zu=14,2;if(0!=(4&e))return zu=13,4;var t=24&e;return 0!==t?(zu=12,t):0!=(32&e)?(zu=11,32):0!=(t=192&e)?(zu=10,t):0!=(256&e)?(zu=9,256):0!=(t=3584&e)?(zu=8,t):0!=(4096&e)?(zu=7,4096):0!=(t=4186112&e)?(zu=6,t):0!=(t=62914560&e)?(zu=5,t):67108864&e?(zu=4,67108864):0!=(134217728&e)?(zu=3,134217728):0!=(t=805306368&e)?(zu=2,t):0!=(1073741824&e)?(zu=1,1073741824):(zu=8,e)}function Gu(e,t){var n=e.pendingLanes;if(0===n)return zu=0;var r=0,o=0,a=e.expiredLanes,i=e.suspendedLanes,l=e.pingedLanes;if(0!==a)r=a,o=zu=15;else if(0!=(a=134217727&n)){var u=a&~i;0!==u?(r=Vu(u),o=zu):0!=(l&=a)&&(r=Vu(l),o=zu)}else 0!=(a=n&~i)?(r=Vu(a),o=zu):0!==l&&(r=Vu(l),o=zu);if(0===r)return 0;if(r=n&((0>(r=31-qu(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&i)){if(Vu(t),o<=zu)return t;zu=o}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)r|=e[n=31-qu(t)],t&=~(o=1<<n);return r}function $u(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Wu(e){return e&-e}function Bu(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Hu(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-qu(t)]=n}var qu=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Qu(e)/Xu|0)|0},Qu=Math.log,Xu=Math.LN2,Ku=di.unstable_UserBlockingPriority,Yu=di.unstable_runWithPriority,Zu=!0;function Ju(e,t,n,r){Gl||zl();var o=ts,a=Gl;Gl=!0;try{Ul(o,e,t,n,r)}finally{(Gl=a)||Wl()}}function es(e,t,n,r){Yu(Ku,ts.bind(null,e,t,n,r))}function ts(e,t,n,r){var o;if(Zu)if((o=0==(4&t))&&0<cu.length&&-1<gu.indexOf(e))e=vu(null,e,t,n,r),cu.push(e);else{var a=ns(e,t,n,r);if(null===a)o&&bu(e,r);else{if(o){if(-1<gu.indexOf(e))return e=vu(a,e,t,n,r),void cu.push(e);if(function(e,t,n,r,o){switch(t){case"focusin":return fu=Eu(fu,e,t,n,r,o),!0;case"dragenter":return du=Eu(du,e,t,n,r,o),!0;case"mouseover":return pu=Eu(pu,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return mu.set(a,Eu(mu.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return hu.set(a=o.pointerId,Eu(hu.get(a)||null,e,t,n,r,o)),!0}return!1}(a,e,t,n,r))return;bu(e,r)}Lc(e,t,r,null,n)}}}function ns(e,t,n,r){var o=Al(r);if(null!==(o=ef(o))){var a=tu(o);if(null===a)o=null;else{var i=a.tag;if(13===i){if(null!==(o=nu(a)))return o;o=null}else if(3===i){if(a.stateNode.hydrate)return 3===a.tag?a.stateNode.containerInfo:null;o=null}else a!==o&&(o=null)}}return Lc(e,t,r,o,n),null}var rs=null,os=null,as=null;function is(){if(as)return as;var e,t,n=os,r=n.length,o="value"in rs?rs.value:rs.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return as=o.slice(e,1<t?1-t:void 0)}function ls(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function us(){return!0}function ss(){return!1}function cs(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(this[i]=(t=e[i])?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?us:ss,this.isPropagationStopped=ss,this}return ar(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=us)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=us)},persist:function(){},isPersistent:us}),t}var fs,ds,ps,ms={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},hs=cs(ms),ys=ar({},ms,{view:0,detail:0}),gs=cs(ys),vs=ar({},ys,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ns,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ps&&(ps&&"mousemove"===e.type?(fs=e.screenX-ps.screenX,ds=e.screenY-ps.screenY):ds=fs=0,ps=e),fs)},movementY:function(e){return"movementY"in e?e.movementY:ds}}),bs=cs(vs),Es=cs(ar({},vs,{dataTransfer:0})),ws=cs(ar({},ys,{relatedTarget:0})),Ss=cs(ar({},ms,{animationName:0,elapsedTime:0,pseudoElement:0})),_s=cs(ar({},ms,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),Cs=cs(ar({},ms,{data:0})),Os={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ks={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Ts={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ps(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Ts[e])&&!!t[e]}function Ns(){return Ps}var xs=cs(ar({},ys,{key:function(e){if(e.key){var t=Os[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=ls(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?ks[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ns,charCode:function(e){return"keypress"===e.type?ls(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?ls(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),As=cs(ar({},vs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Rs=cs(ar({},ys,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ns})),Ls=cs(ar({},ms,{propertyName:0,elapsedTime:0,pseudoElement:0})),Is=cs(ar({},vs,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),Ms=[9,13,27,32],Ds=vi&&"CompositionEvent"in window,Fs=null;vi&&"documentMode"in document&&(Fs=document.documentMode);var js=vi&&"TextEvent"in window&&!Fs,Us=vi&&(!Ds||Fs&&8<Fs&&11>=Fs),zs=String.fromCharCode(32),Vs=!1;function Gs(e,t){switch(e){case"keyup":return-1!==Ms.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function $s(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Ws=!1,Bs={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Hs(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Bs[e.type]:"textarea"===t}function qs(e,t,n,r){Dl(r),0<(t=Mc(t,"onChange")).length&&(n=new hs("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Qs=null,Xs=null;function Ks(e){Tc(e,0)}function Ys(e){if(ol(nf(e)))return e}function Zs(e,t){if("change"===e)return t}var Js=!1;if(vi){var ec;if(vi){var tc="oninput"in document;if(!tc){var nc=document.createElement("div");nc.setAttribute("oninput","return;"),tc="function"==typeof nc.oninput}ec=tc}else ec=!1;Js=ec&&(!document.documentMode||9<document.documentMode)}function rc(){Qs&&(Qs.detachEvent("onpropertychange",oc),Xs=Qs=null)}function oc(e){if("value"===e.propertyName&&Ys(Xs)){var t=[];if(qs(t,Xs,e,Al(e)),e=Ks,Gl)e(t);else{Gl=!0;try{jl(e,t)}finally{Gl=!1,Wl()}}}}function ac(e,t,n){"focusin"===e?(rc(),Xs=n,(Qs=t).attachEvent("onpropertychange",oc)):"focusout"===e&&rc()}function ic(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Ys(Xs)}function lc(e,t){if("click"===e)return Ys(t)}function uc(e,t){if("input"===e||"change"===e)return Ys(t)}var sc="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},cc=Object.prototype.hasOwnProperty;function fc(e,t){if(sc(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!cc.call(t,n[r])||!sc(e[n[r]],t[n[r]]))return!1;return!0}function dc(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function pc(e,t){var n,r=dc(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=dc(r)}}function mc(){for(var e=window,t=al();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=al((e=t.contentWindow).document)}return t}function hc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var yc=vi&&"documentMode"in document&&11>=document.documentMode,gc=null,vc=null,bc=null,Ec=!1;function wc(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Ec||null==gc||gc!==al(r)||(r="selectionStart"in(r=gc)&&hc(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},bc&&fc(bc,r)||(bc=r,0<(r=Mc(vc,"onSelect")).length&&(t=new hs("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gc)))}Uu("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Uu("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Uu(ju,2);for(var Sc="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),_c=0;_c<Sc.length;_c++)Fu.set(Sc[_c],0);gi("onMouseEnter",["mouseout","mouseover"]),gi("onMouseLeave",["mouseout","mouseover"]),gi("onPointerEnter",["pointerout","pointerover"]),gi("onPointerLeave",["pointerout","pointerover"]),yi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),yi("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),yi("onBeforeInput",["compositionend","keypress","textInput","paste"]),yi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),yi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),yi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Cc="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Oc=new Set("cancel close invalid load scroll toggle".split(" ").concat(Cc));function kc(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,i,l,u){if(eu.apply(this,arguments),Xl){if(!Xl)throw Error(pi(198));var s=Kl;Xl=!1,Kl=null,Yl||(Yl=!0,Zl=s)}}(r,t,void 0,e),e.currentTarget=null}function Tc(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],u=l.instance,s=l.currentTarget;if(l=l.listener,u!==a&&o.isPropagationStopped())break e;kc(o,l,s),a=u}else for(i=0;i<r.length;i++){if(u=(l=r[i]).instance,s=l.currentTarget,l=l.listener,u!==a&&o.isPropagationStopped())break e;kc(o,l,s),a=u}}}if(Yl)throw e=Zl,Yl=!1,Zl=null,e}function Pc(e,t){var n=of(t),r=e+"__bubble";n.has(r)||(Rc(t,e,2,!1),n.add(r))}var Nc="_reactListening"+Math.random().toString(36).slice(2);function xc(e){e[Nc]||(e[Nc]=!0,mi.forEach(function(t){Oc.has(t)||Ac(t,!1,e,null),Ac(t,!0,e,null)}))}function Ac(e,t,n,r){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,a=n;if("selectionchange"===e&&9!==n.nodeType&&(a=n.ownerDocument),null!==r&&!t&&Oc.has(e)){if("scroll"!==e)return;o|=2,a=r}var i=of(a),l=e+"__"+(t?"capture":"bubble");i.has(l)||(t&&(o|=4),Rc(a,e,o,t),i.add(l))}function Rc(e,t,n,r){var o=Fu.get(t);switch(void 0===o?2:o){case 0:o=Ju;break;case 1:o=es;break;default:o=ts}n=o.bind(null,t,n,e),o=void 0,!Hl||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),e.addEventListener(t,n,r?void 0===o||{capture:!0,passive:o}:void 0!==o&&{passive:o})}function Lc(e,t,n,r,o){var a=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===i)for(i=r.return;null!==i;){var u=i.tag;if((3===u||4===u)&&((u=i.stateNode.containerInfo)===o||8===u.nodeType&&u.parentNode===o))return;i=i.return}for(;null!==l;){if(null===(i=ef(l)))return;if(5===(u=i.tag)||6===u){r=a=i;continue e}l=l.parentNode}}r=r.return}!function(e,t,n){if($l)return e();$l=!0;try{Vl(e,void 0,void 0)}finally{$l=!1,Wl()}}(function(){var r=a,o=Al(n),i=[];e:{var l=Du.get(e);if(void 0!==l){var u=hs,s=e;switch(e){case"keypress":if(0===ls(n))break e;case"keydown":case"keyup":u=xs;break;case"focusin":s="focus",u=ws;break;case"focusout":s="blur",u=ws;break;case"beforeblur":case"afterblur":u=ws;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=bs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=Es;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=Rs;break;case Ru:case Lu:case Iu:u=Ss;break;case Mu:u=Ls;break;case"scroll":u=gs;break;case"wheel":u=Is;break;case"copy":case"cut":case"paste":u=_s;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=As}var c=0!=(4&t),f=!c&&"scroll"===e,d=c?null!==l?l+"Capture":null:l;c=[];for(var p,m=r;null!==m;){var h=(p=m).stateNode;if(5===p.tag&&null!==h&&(p=h,null!==d&&null!=(h=Bl(m,d))&&c.push(Ic(m,h,p))),f)break;m=m.return}0<c.length&&(l=new u(l,s,null,n,o),i.push({event:l,listeners:c}))}}if(0==(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||0!=(16&t)||!(s=n.relatedTarget||n.fromElement)||!ef(s)&&!s[Zc])&&(u||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,u?(u=r,null!==(s=(s=n.relatedTarget||n.toElement)?ef(s):null)&&(s!==(f=tu(s))||5!==s.tag&&6!==s.tag)&&(s=null)):(u=null,s=r),u!==s)){if(c=bs,h="onMouseLeave",d="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(c=As,h="onPointerLeave",d="onPointerEnter",m="pointer"),f=null==u?l:nf(u),p=null==s?l:nf(s),(l=new c(h,m+"leave",u,n,o)).target=f,l.relatedTarget=p,h=null,ef(o)===r&&((c=new c(d,m+"enter",s,n,o)).target=p,c.relatedTarget=f,h=c),f=h,u&&s)e:{for(d=s,m=0,p=c=u;p;p=Dc(p))m++;for(p=0,h=d;h;h=Dc(h))p++;for(;0<m-p;)c=Dc(c),m--;for(;0<p-m;)d=Dc(d),p--;for(;m--;){if(c===d||null!==d&&c===d.alternate)break e;c=Dc(c),d=Dc(d)}c=null}else c=null;null!==u&&Fc(i,l,u,c,!1),null!==s&&null!==f&&Fc(i,f,s,c,!0)}if("select"===(u=(l=r?nf(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===u&&"file"===l.type)var y=Zs;else if(Hs(l))if(Js)y=uc;else{y=ic;var g=ac}else(u=l.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(y=lc);switch(y&&(y=y(e,r))?qs(i,y,n,o):(g&&g(e,l,r),"focusout"===e&&(g=l._wrapperState)&&g.controlled&&"number"===l.type&&fl(l,"number",l.value)),g=r?nf(r):window,e){case"focusin":(Hs(g)||"true"===g.contentEditable)&&(gc=g,vc=r,bc=null);break;case"focusout":bc=vc=gc=null;break;case"mousedown":Ec=!0;break;case"contextmenu":case"mouseup":case"dragend":Ec=!1,wc(i,n,o);break;case"selectionchange":if(yc)break;case"keydown":case"keyup":wc(i,n,o)}var v;if(Ds)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Ws?Gs(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Us&&"ko"!==n.locale&&(Ws||"onCompositionStart"!==b?"onCompositionEnd"===b&&Ws&&(v=is()):(os="value"in(rs=o)?rs.value:rs.textContent,Ws=!0)),0<(g=Mc(r,b)).length&&(b=new Cs(b,e,null,n,o),i.push({event:b,listeners:g}),(v||null!==(v=$s(n)))&&(b.data=v))),(v=js?function(e,t){switch(e){case"compositionend":return $s(t);case"keypress":return 32!==t.which?null:(Vs=!0,zs);case"textInput":return(e=t.data)===zs&&Vs?null:e;default:return null}}(e,n):function(e,t){if(Ws)return"compositionend"===e||!Ds&&Gs(e,t)?(e=is(),as=os=rs=null,Ws=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Us&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))&&0<(r=Mc(r,"onBeforeInput")).length&&(o=new Cs("onBeforeInput","beforeinput",null,n,o),i.push({event:o,listeners:r}),o.data=v)}Tc(i,t)})}function Ic(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Mc(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;5===o.tag&&null!==a&&(o=a,null!=(a=Bl(e,n))&&r.unshift(Ic(e,a,o)),null!=(a=Bl(e,t))&&r.push(Ic(e,a,o))),e=e.return}return r}function Dc(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Fc(e,t,n,r,o){for(var a=t._reactName,i=[];null!==n&&n!==r;){var l=n,u=l.alternate,s=l.stateNode;if(null!==u&&u===r)break;5===l.tag&&null!==s&&(l=s,o?null!=(u=Bl(n,a))&&i.unshift(Ic(n,u,l)):o||null!=(u=Bl(n,a))&&i.push(Ic(n,u,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}function jc(){}var Uc=null,zc=null;function Vc(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Gc(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var $c="function"==typeof setTimeout?setTimeout:void 0,Wc="function"==typeof clearTimeout?clearTimeout:void 0;function Bc(e){(1===e.nodeType||9===e.nodeType&&null!=(e=e.body))&&(e.textContent="")}function Hc(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function qc(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Qc=0,Xc=Math.random().toString(36).slice(2),Kc="__reactFiber$"+Xc,Yc="__reactProps$"+Xc,Zc="__reactContainer$"+Xc,Jc="__reactEvents$"+Xc;function ef(e){var t=e[Kc];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Zc]||n[Kc]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=qc(e);null!==e;){if(n=e[Kc])return n;e=qc(e)}return t}n=(e=n).parentNode}return null}function tf(e){return!(e=e[Kc]||e[Zc])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function nf(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(pi(33))}function rf(e){return e[Yc]||null}function of(e){var t=e[Jc];return void 0===t&&(t=e[Jc]=new Set),t}var af=[],lf=-1;function uf(e){return{current:e}}function sf(e){0>lf||(e.current=af[lf],af[lf]=null,lf--)}function cf(e,t){lf++,af[lf]=e.current,e.current=t}var ff={},df=uf(ff),pf=uf(!1),mf=ff;function hf(e,t){var n=e.type.contextTypes;if(!n)return ff;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function yf(e){return null!=e.childContextTypes}function gf(){sf(pf),sf(df)}function vf(e,t,n){if(df.current!==ff)throw Error(pi(168));cf(df,t),cf(pf,n)}function bf(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(pi(108,el(t)||"Unknown",o));return ar({},n,r)}function Ef(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ff,mf=df.current,cf(df,e),cf(pf,pf.current),!0}function wf(e,t,n){var r=e.stateNode;if(!r)throw Error(pi(169));n?(e=bf(e,t,mf),r.__reactInternalMemoizedMergedChildContext=e,sf(pf),sf(df),cf(df,e)):sf(pf),cf(pf,n)}var Sf=null,_f=null,Cf=di.unstable_runWithPriority,Of=di.unstable_scheduleCallback,kf=di.unstable_cancelCallback,Tf=di.unstable_shouldYield,Pf=di.unstable_requestPaint,Nf=di.unstable_now,xf=di.unstable_getCurrentPriorityLevel,Af=di.unstable_ImmediatePriority,Rf=di.unstable_UserBlockingPriority,Lf=di.unstable_NormalPriority,If=di.unstable_LowPriority,Mf=di.unstable_IdlePriority,Df={},Ff=void 0!==Pf?Pf:function(){},jf=null,Uf=null,zf=!1,Vf=Nf(),Gf=1e4>Vf?Nf:function(){return Nf()-Vf};function $f(){switch(xf()){case Af:return 99;case Rf:return 98;case Lf:return 97;case If:return 96;case Mf:return 95;default:throw Error(pi(332))}}function Wf(e){switch(e){case 99:return Af;case 98:return Rf;case 97:return Lf;case 96:return If;case 95:return Mf;default:throw Error(pi(332))}}function Bf(e,t){return e=Wf(e),Cf(e,t)}function Hf(e,t,n){return e=Wf(e),Of(e,t,n)}function qf(){if(null!==Uf){var e=Uf;Uf=null,kf(e)}Qf()}function Qf(){if(!zf&&null!==jf){zf=!0;var e=0;try{var t=jf;Bf(99,function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}}),jf=null}catch(t){throw null!==jf&&(jf=jf.slice(e+1)),Of(Af,qf),t}finally{zf=!1}}}var Xf=Pi.ReactCurrentBatchConfig;function Kf(e,t){if(e&&e.defaultProps){for(var n in t=ar({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Yf=uf(null),Zf=null,Jf=null,ed=null;function td(){ed=Jf=Zf=null}function nd(e){var t=Yf.current;sf(Yf),e.type._context._currentValue=t}function rd(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function od(e,t){Zf=e,ed=Jf=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Mp=!0),e.firstContext=null)}function ad(e,t){if(ed!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(ed=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Jf){if(null===Zf)throw Error(pi(308));Jf=t,Zf.dependencies={lanes:0,firstContext:t,responders:null}}else Jf=Jf.next=t;return e._currentValue}var id=!1;function ld(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function ud(e,t){t.updateQueue===(e=e.updateQueue)&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function sd(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function cd(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function fd(e,t){var n=e.updateQueue,r=e.alternate;if(null===r||n!==(r=r.updateQueue))null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t;else{var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?o=a=i:a=a.next=i,n=n.next}while(null!==n);null===a?o=a=t:a=a.next=t}else o=a=t;e.updateQueue=n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,effects:r.effects}}}function dd(e,t,n,r){var o=e.updateQueue;id=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var u=l,s=u.next;u.next=null,null===i?a=s:i.next=s,i=u;var c=e.alternate;if(null!==c){var f=(c=c.updateQueue).lastBaseUpdate;f!==i&&(null===f?c.firstBaseUpdate=s:f.next=s,c.lastBaseUpdate=u)}}if(null!==a){for(f=o.baseState,i=0,c=s=u=null;;){var d=a.eventTime;if((r&(l=a.lane))===l){null!==c&&(c=c.next={eventTime:d,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var p=e,m=a;switch(l=t,d=n,m.tag){case 1:if("function"==typeof(p=m.payload)){f=p.call(d,f,l);break e}f=p;break e;case 3:p.flags=-4097&p.flags|64;case 0:if(null==(l="function"==typeof(p=m.payload)?p.call(d,f,l):p))break e;f=ar({},f,l);break e;case 2:id=!0}}null!==a.callback&&(e.flags|=32,null===(l=o.effects)?o.effects=[a]:l.push(a))}else d={eventTime:d,lane:l,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===c?(s=c=d,u=f):c=c.next=d,i|=l;if(null===(a=a.next)){if(null===(l=o.shared.pending))break;a=l.next,l.next=null,o.lastBaseUpdate=l,o.shared.pending=null}}null===c&&(u=f),o.baseState=u,o.firstBaseUpdate=s,o.lastBaseUpdate=c,Im|=i,e.lanes=i,e.memoizedState=f}}function pd(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(pi(191,o));o.call(r)}}}var md=(new lr.Component).refs;function hd(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:ar({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var yd={isMounted:function(e){return!!(e=e._reactInternals)&&tu(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=rh(),o=oh(e),a=sd(r,o);a.payload=t,null!=n&&(a.callback=n),cd(e,a),ah(e,o,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=rh(),o=oh(e),a=sd(r,o);a.tag=1,a.payload=t,null!=n&&(a.callback=n),cd(e,a),ah(e,o,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=rh(),r=oh(e),o=sd(n,r);o.tag=2,null!=t&&(o.callback=t),cd(e,o),ah(e,r,n)}};function gd(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!(t.prototype&&t.prototype.isPureReactComponent&&fc(n,r)&&fc(o,a))}function vd(e,t,n){var r=!1,o=ff,a=t.contextType;return"object"==typeof a&&null!==a?a=ad(a):(o=yf(t)?mf:df.current,a=(r=null!=(r=t.contextTypes))?hf(e,o):ff),t=new t(n,a),e.memoizedState=null!=t.state?t.state:null,t.updater=yd,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function bd(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&yd.enqueueReplaceState(t,t.state,null)}function Ed(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=md,ld(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=ad(a):(a=yf(t)?mf:df.current,o.context=hf(e,a)),dd(e,n,o,r),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(hd(e,t,a,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&yd.enqueueReplaceState(o,o.state,null),dd(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4)}var wd=Array.isArray;function Sd(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(pi(309));var r=n.stateNode}if(!r)throw Error(pi(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=r.refs;t===md&&(t=r.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!=typeof e)throw Error(pi(284));if(!n._owner)throw Error(pi(290,e))}return e}function _d(e,t){if("textarea"!==e.type)throw Error(pi(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Cd(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)e.set(null!==t.key?t.key:t.index,t),t=t.sibling;return e}function o(e,t){return(e=Fh(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function i(t){return e&&null===t.alternate&&(t.flags=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Vh(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function u(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=Sd(e,t,n),r.return=e,r):((r=jh(n.type,n.key,n.props,null,e.mode,r)).ref=Sd(e,t,n),r.return=e,r)}function s(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Gh(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function c(e,t,n,r,a){return null===t||7!==t.tag?((t=Uh(n,e.mode,r,a)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Vh(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case Ni:return(n=jh(t.type,t.key,t.props,null,e.mode,n)).ref=Sd(e,null,t),n.return=e,n;case xi:return(t=Gh(t,e.mode,n)).return=e,t}if(wd(t)||Xi(t))return(t=Uh(t,e.mode,n,null)).return=e,t;_d(e,t)}return null}function d(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case Ni:return n.key===o?n.type===Ai?c(e,t,n.props.children,r,o):u(e,t,n,r):null;case xi:return n.key===o?s(e,t,n,r):null}if(wd(n)||Xi(n))return null!==o?null:c(e,t,n,r,null);_d(e,n)}return null}function p(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case Ni:return e=e.get(null===r.key?n:r.key)||null,r.type===Ai?c(t,e,r.props.children,o,r.key):u(t,e,r,o);case xi:return s(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(wd(r)||Xi(r))return c(t,e=e.get(n)||null,r,o,null);_d(t,r)}return null}function m(o,i,l,u){for(var s=null,c=null,m=i,h=i=0,y=null;null!==m&&h<l.length;h++){m.index>h?(y=m,m=null):y=m.sibling;var g=d(o,m,l[h],u);if(null===g){null===m&&(m=y);break}e&&m&&null===g.alternate&&t(o,m),i=a(g,i,h),null===c?s=g:c.sibling=g,c=g,m=y}if(h===l.length)return n(o,m),s;if(null===m){for(;h<l.length;h++)null!==(m=f(o,l[h],u))&&(i=a(m,i,h),null===c?s=m:c.sibling=m,c=m);return s}for(m=r(o,m);h<l.length;h++)null!==(y=p(m,o,h,l[h],u))&&(e&&null!==y.alternate&&m.delete(null===y.key?h:y.key),i=a(y,i,h),null===c?s=y:c.sibling=y,c=y);return e&&m.forEach(function(e){return t(o,e)}),s}function h(o,i,l,u){var s=Xi(l);if("function"!=typeof s)throw Error(pi(150));if(null==(l=s.call(l)))throw Error(pi(151));for(var c=s=null,m=i,h=i=0,y=null,g=l.next();null!==m&&!g.done;h++,g=l.next()){m.index>h?(y=m,m=null):y=m.sibling;var v=d(o,m,g.value,u);if(null===v){null===m&&(m=y);break}e&&m&&null===v.alternate&&t(o,m),i=a(v,i,h),null===c?s=v:c.sibling=v,c=v,m=y}if(g.done)return n(o,m),s;if(null===m){for(;!g.done;h++,g=l.next())null!==(g=f(o,g.value,u))&&(i=a(g,i,h),null===c?s=g:c.sibling=g,c=g);return s}for(m=r(o,m);!g.done;h++,g=l.next())null!==(g=p(m,o,h,g.value,u))&&(e&&null!==g.alternate&&m.delete(null===g.key?h:g.key),i=a(g,i,h),null===c?s=g:c.sibling=g,c=g);return e&&m.forEach(function(e){return t(o,e)}),s}return function(e,r,a,l){var u="object"==typeof a&&null!==a&&a.type===Ai&&null===a.key;u&&(a=a.props.children);var s="object"==typeof a&&null!==a;if(s)switch(a.$$typeof){case Ni:e:{for(s=a.key,u=r;null!==u;){if(u.key===s){switch(u.tag){case 7:if(a.type===Ai){n(e,u.sibling),(r=o(u,a.props.children)).return=e,e=r;break e}break;default:if(u.elementType===a.type){n(e,u.sibling),(r=o(u,a.props)).ref=Sd(e,u,a),r.return=e,e=r;break e}}n(e,u);break}t(e,u),u=u.sibling}a.type===Ai?((r=Uh(a.props.children,e.mode,l,a.key)).return=e,e=r):((l=jh(a.type,a.key,a.props,null,e.mode,l)).ref=Sd(e,r,a),l.return=e,e=l)}return i(e);case xi:e:{for(u=a.key;null!==r;){if(r.key===u){if(4===r.tag&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(e,r.sibling),(r=o(r,a.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Gh(a,e.mode,l)).return=e,e=r}return i(e)}if("string"==typeof a||"number"==typeof a)return a=""+a,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,a)).return=e,e=r):(n(e,r),(r=Vh(a,e.mode,l)).return=e,e=r),i(e);if(wd(a))return m(e,r,a,l);if(Xi(a))return h(e,r,a,l);if(s&&_d(e,a),void 0===a&&!u)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(pi(152,el(e.type)||"Component"))}return n(e,r)}}var Od=Cd(!0),kd=Cd(!1),Td={},Pd=uf(Td),Nd=uf(Td),xd=uf(Td);function Ad(e){if(e===Td)throw Error(pi(174));return e}function Rd(e,t){switch(cf(xd,t),cf(Nd,e),cf(Pd,Td),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:El(null,"");break;default:t=El(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}sf(Pd),cf(Pd,t)}function Ld(){sf(Pd),sf(Nd),sf(xd)}function Id(e){Ad(xd.current);var t=Ad(Pd.current),n=El(t,e.type);t!==n&&(cf(Nd,e),cf(Pd,n))}function Md(e){Nd.current===e&&(sf(Pd),sf(Nd))}var Dd=uf(0);function Fd(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var jd=null,Ud=null,zd=!1;function Vd(e,t){var n=Mh(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Gd(e,t){switch(e.tag){case 5:return null!==(t=1!==t.nodeType||e.type.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function $d(e){if(zd){var t=Ud;if(t){var n=t;if(!Gd(e,t)){if(!(t=Hc(n.nextSibling))||!Gd(e,t))return e.flags=-1025&e.flags|2,zd=!1,void(jd=e);Vd(jd,n)}jd=e,Ud=Hc(t.firstChild)}else e.flags=-1025&e.flags|2,zd=!1,jd=e}}function Wd(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;jd=e}function Bd(e){if(e!==jd)return!1;if(!zd)return Wd(e),zd=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Gc(t,e.memoizedProps))for(t=Ud;t;)Vd(e,t),t=Hc(t.nextSibling);if(Wd(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(pi(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Ud=Hc(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Ud=null}}else Ud=jd?Hc(e.stateNode.nextSibling):null;return!0}function Hd(){Ud=jd=null,zd=!1}var qd=[];function Qd(){for(var e=0;e<qd.length;e++)qd[e]._workInProgressVersionPrimary=null;qd.length=0}var Xd=Pi.ReactCurrentDispatcher,Kd=Pi.ReactCurrentBatchConfig,Yd=0,Zd=null,Jd=null,ep=null,tp=!1,np=!1;function rp(){throw Error(pi(321))}function op(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sc(e[n],t[n]))return!1;return!0}function ap(e,t,n,r,o,a){if(Yd=a,Zd=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Xd.current=null===e||null===e.memoizedState?Ap:Rp,e=n(r,o),np){a=0;do{if(np=!1,!(25>a))throw Error(pi(301));a+=1,ep=Jd=null,t.updateQueue=null,Xd.current=Lp,e=n(r,o)}while(np)}if(Xd.current=xp,t=null!==Jd&&null!==Jd.next,Yd=0,ep=Jd=Zd=null,tp=!1,t)throw Error(pi(300));return e}function ip(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ep?Zd.memoizedState=ep=e:ep=ep.next=e,ep}function lp(){if(null===Jd){var e=Zd.alternate;e=null!==e?e.memoizedState:null}else e=Jd.next;var t=null===ep?Zd.memoizedState:ep.next;if(null!==t)ep=t,Jd=e;else{if(null===e)throw Error(pi(310));e={memoizedState:(Jd=e).memoizedState,baseState:Jd.baseState,baseQueue:Jd.baseQueue,queue:Jd.queue,next:null},null===ep?Zd.memoizedState=ep=e:ep=ep.next=e}return ep}function up(e,t){return"function"==typeof t?t(e):t}function sp(e){var t=lp(),n=t.queue;if(null===n)throw Error(pi(311));n.lastRenderedReducer=e;var r=Jd,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var i=o.next;o.next=a.next,a.next=i}r.baseQueue=o=a,n.pending=null}if(null!==o){r=r.baseState;var l=i=a=null,u=o=o.next;do{var s=u.lane;if((Yd&s)===s)null!==l&&(l=l.next={lane:0,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null}),r=u.eagerReducer===e?u.eagerState:e(r,u.action);else{var c={lane:s,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null};null===l?(i=l=c,a=r):l=l.next=c,Zd.lanes|=s,Im|=s}u=u.next}while(null!==u&&u!==o);null===l?a=r:l.next=i,sc(r,t.memoizedState)||(Mp=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function cp(e){var t=lp(),n=t.queue;if(null===n)throw Error(pi(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var i=o=o.next;do{a=e(a,i.action),i=i.next}while(i!==o);sc(a,t.memoizedState)||(Mp=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function fp(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionPrimary;if(null!==o?e=o===r:(e=(Yd&(e=e.mutableReadLanes))===e)&&(t._workInProgressVersionPrimary=r,qd.push(t)),e)return n(t._source);throw qd.push(t),Error(pi(350))}function dp(e,t,n,r){var o=km;if(null===o)throw Error(pi(349));var a=t._getVersion,i=a(t._source),l=Xd.current,u=l.useState(function(){return fp(o,t,n)}),s=u[1],c=u[0];u=ep;var f=e.memoizedState,d=f.refs,p=d.getSnapshot,m=f.source;f=f.subscribe;var h=Zd;return e.memoizedState={refs:d,source:t,subscribe:r},l.useEffect(function(){d.getSnapshot=n,d.setSnapshot=s;var e=a(t._source);if(!sc(i,e)){e=n(t._source),sc(c,e)||(s(e),e=oh(h),o.mutableReadLanes|=e&o.pendingLanes),o.entangledLanes|=e=o.mutableReadLanes;for(var r=o.entanglements,l=e;0<l;){var u=31-qu(l),f=1<<u;r[u]|=e,l&=~f}}},[n,t,r]),l.useEffect(function(){return r(t._source,function(){var e=d.getSnapshot,n=d.setSnapshot;try{n(e(t._source));var r=oh(h);o.mutableReadLanes|=r&o.pendingLanes}catch(e){n(function(){throw e})}})},[t,r]),sc(p,n)&&sc(m,t)&&sc(f,r)||((e={pending:null,dispatch:null,lastRenderedReducer:up,lastRenderedState:c}).dispatch=s=Np.bind(null,Zd,e),u.queue=e,u.baseQueue=null,c=fp(o,t,n),u.memoizedState=u.baseState=c),c}function pp(e,t,n){return dp(lp(),e,t,n)}function mp(e){var t=ip();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:up,lastRenderedState:e}).dispatch=Np.bind(null,Zd,e),[t.memoizedState,e]}function hp(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Zd.updateQueue)?(Zd.updateQueue=t={lastEffect:null},t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function yp(e){return ip().memoizedState={current:e}}function gp(){return lp().memoizedState}function vp(e,t,n,r){var o=ip();Zd.flags|=e,o.memoizedState=hp(1|t,n,void 0,void 0===r?null:r)}function bp(e,t,n,r){var o=lp();r=void 0===r?null:r;var a=void 0;if(null!==Jd){var i=Jd.memoizedState;if(a=i.destroy,null!==r&&op(r,i.deps))return void hp(t,n,a,r)}Zd.flags|=e,o.memoizedState=hp(1|t,n,a,r)}function Ep(e,t){return vp(516,4,e,t)}function wp(e,t){return bp(516,4,e,t)}function Sp(e,t){return bp(4,2,e,t)}function _p(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Cp(e,t,n){return n=null!=n?n.concat([e]):null,bp(4,2,_p.bind(null,t,e),n)}function Op(){}function kp(e,t){var n=lp();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&op(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Tp(e,t){var n=lp();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&op(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Pp(e,t){var n=$f();Bf(98>n?98:n,function(){e(!0)}),Bf(97<n?97:n,function(){var n=Kd.transition;Kd.transition=1;try{e(!1),t()}finally{Kd.transition=n}})}function Np(e,t,n){var r=rh(),o=oh(e),a={lane:o,action:n,eagerReducer:null,eagerState:null,next:null},i=t.pending;if(null===i?a.next=a:(a.next=i.next,i.next=a),t.pending=a,i=e.alternate,e===Zd||null!==i&&i===Zd)np=tp=!0;else{if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var l=t.lastRenderedState,u=i(l,n);if(a.eagerReducer=i,a.eagerState=u,sc(u,l))return}catch(e){}ah(e,o,r)}}var xp={readContext:ad,useCallback:rp,useContext:rp,useEffect:rp,useImperativeHandle:rp,useLayoutEffect:rp,useMemo:rp,useReducer:rp,useRef:rp,useState:rp,useDebugValue:rp,useDeferredValue:rp,useTransition:rp,useMutableSource:rp,useOpaqueIdentifier:rp,unstable_isNewReconciler:!1},Ap={readContext:ad,useCallback:function(e,t){return ip().memoizedState=[e,void 0===t?null:t],e},useContext:ad,useEffect:Ep,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,vp(4,2,_p.bind(null,t,e),n)},useLayoutEffect:function(e,t){return vp(4,2,e,t)},useMemo:function(e,t){var n=ip();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ip();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Np.bind(null,Zd,e),[r.memoizedState,e]},useRef:yp,useState:mp,useDebugValue:Op,useDeferredValue:function(e){var t=mp(e),n=t[0],r=t[1];return Ep(function(){var t=Kd.transition;Kd.transition=1;try{r(e)}finally{Kd.transition=t}},[e]),n},useTransition:function(){var e=mp(!1),t=e[0];return yp(e=Pp.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=ip();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},dp(r,e,t,n)},useOpaqueIdentifier:function(){if(zd){var e=!1,t=function(e){return{$$typeof:Gi,toString:e,valueOf:e}}(function(){throw e||(e=!0,n("r:"+(Qc++).toString(36))),Error(pi(355))}),n=mp(t)[1];return 0==(2&Zd.mode)&&(Zd.flags|=516,hp(5,function(){n("r:"+(Qc++).toString(36))},void 0,null)),t}return mp(t="r:"+(Qc++).toString(36)),t},unstable_isNewReconciler:!1},Rp={readContext:ad,useCallback:kp,useContext:ad,useEffect:wp,useImperativeHandle:Cp,useLayoutEffect:Sp,useMemo:Tp,useReducer:sp,useRef:gp,useState:function(){return sp(up)},useDebugValue:Op,useDeferredValue:function(e){var t=sp(up),n=t[0],r=t[1];return wp(function(){var t=Kd.transition;Kd.transition=1;try{r(e)}finally{Kd.transition=t}},[e]),n},useTransition:function(){var e=sp(up)[0];return[gp().current,e]},useMutableSource:pp,useOpaqueIdentifier:function(){return sp(up)[0]},unstable_isNewReconciler:!1},Lp={readContext:ad,useCallback:kp,useContext:ad,useEffect:wp,useImperativeHandle:Cp,useLayoutEffect:Sp,useMemo:Tp,useReducer:cp,useRef:gp,useState:function(){return cp(up)},useDebugValue:Op,useDeferredValue:function(e){var t=cp(up),n=t[0],r=t[1];return wp(function(){var t=Kd.transition;Kd.transition=1;try{r(e)}finally{Kd.transition=t}},[e]),n},useTransition:function(){var e=cp(up)[0];return[gp().current,e]},useMutableSource:pp,useOpaqueIdentifier:function(){return cp(up)[0]},unstable_isNewReconciler:!1},Ip=Pi.ReactCurrentOwner,Mp=!1;function Dp(e,t,n,r){t.child=null===e?kd(t,null,n,r):Od(t,e.child,n,r)}function Fp(e,t,n,r,o){n=n.render;var a=t.ref;return od(t,o),r=ap(e,t,n,r,a,o),null===e||Mp?(t.flags|=1,Dp(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,tm(e,t,o))}function jp(e,t,n,r,o,a){if(null===e){var i=n.type;return"function"!=typeof i||Dh(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=jh(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Up(e,t,i,r,o,a))}return i=e.child,0==(o&a)&&(n=null!==(n=n.compare)?n:fc)(o=i.memoizedProps,r)&&e.ref===t.ref?tm(e,t,a):(t.flags|=1,(e=Fh(i,r)).ref=t.ref,e.return=t,t.child=e)}function Up(e,t,n,r,o,a){if(null!==e&&fc(e.memoizedProps,r)&&e.ref===t.ref){if(Mp=!1,0==(a&o))return t.lanes=e.lanes,tm(e,t,a);0!=(16384&e.flags)&&(Mp=!0)}return Gp(e,t,n,r,a)}function zp(e,t,n){var r=t.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0==(4&t.mode))t.memoizedState={baseLanes:0},ph(0,n);else{if(0==(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},ph(0,e),null;t.memoizedState={baseLanes:0},ph(0,null!==a?a.baseLanes:n)}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,ph(0,r);return Dp(e,t,o,n),t.child}function Vp(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Gp(e,t,n,r,o){var a=yf(n)?mf:df.current;return a=hf(t,a),od(t,o),n=ap(e,t,n,r,a,o),null===e||Mp?(t.flags|=1,Dp(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,tm(e,t,o))}function $p(e,t,n,r,o){if(yf(n)){var a=!0;Ef(t)}else a=!1;if(od(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),vd(t,n,r),Ed(t,n,r,o),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var u=i.context,s=n.contextType;s="object"==typeof s&&null!==s?ad(s):hf(t,s=yf(n)?mf:df.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;f||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||u!==s)&&bd(t,i,r,s),id=!1;var d=t.memoizedState;i.state=d,dd(t,r,i,o),u=t.memoizedState,l!==r||d!==u||pf.current||id?("function"==typeof c&&(hd(t,n,c,r),u=t.memoizedState),(l=id||gd(t,n,l,r,d,u,s))?(f||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4)):("function"==typeof i.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=u),i.props=r,i.state=u,i.context=s,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4),r=!1)}else{i=t.stateNode,ud(e,t),l=t.memoizedProps,s=t.type===t.elementType?l:Kf(t.type,l),i.props=s,f=t.pendingProps,d=i.context,u="object"==typeof(u=n.contextType)&&null!==u?ad(u):hf(t,u=yf(n)?mf:df.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==f||d!==u)&&bd(t,i,r,u),id=!1,i.state=d=t.memoizedState,dd(t,r,i,o);var m=t.memoizedState;l!==f||d!==m||pf.current||id?("function"==typeof p&&(hd(t,n,p,r),m=t.memoizedState),(s=id||gd(t,n,s,r,d,m,u))?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,m,u),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,m,u)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=m),i.props=r,i.state=m,i.context=u,r=s):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),r=!1)}return Wp(e,t,n,r,a,o)}function Wp(e,t,n,r,o,a){Vp(e,t);var i=0!=(64&t.flags);if(!r&&!i)return o&&wf(t,n,!1),tm(e,t,a);r=t.stateNode,Ip.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Od(t,e.child,null,a),t.child=Od(t,null,l,a)):Dp(e,t,l,a),t.memoizedState=r.state,o&&wf(t,n,!0),t.child}function Bp(e){var t=e.stateNode;t.pendingContext?vf(0,t.pendingContext,t.pendingContext!==t.context):t.context&&vf(0,t.context,!1),Rd(e,t.containerInfo)}var Hp,qp,Qp,Xp={dehydrated:null,retryLane:0};function Kp(e,t,n){var r,o=t.pendingProps,a=Dd.current,i=!1;return(r=0!=(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(i=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(a|=1),cf(Dd,1&a),null===e?(void 0!==o.fallback&&$d(t),e=o.children,a=o.fallback,i?(e=Yp(t,e,a,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Xp,e):"number"==typeof o.unstable_expectedLoadTime?(e=Yp(t,e,a,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Xp,t.lanes=33554432,e):((n=zh({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):i?(o=function(e,t,n,r,o){var a=t.mode,i=e.child;e=i.sibling;var l={mode:"hidden",children:n};return 0==(2&a)&&t.child!==i?((n=t.child).childLanes=0,n.pendingProps=l,null!==(i=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=i,i.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Fh(i,l),null!==e?r=Fh(e,r):(r=Uh(r,a,o,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}(e,t,o.children,o.fallback,n),(i=t.child).memoizedState=null===(a=e.child.memoizedState)?{baseLanes:n}:{baseLanes:a.baseLanes|n},i.childLanes=e.childLanes&~n,t.memoizedState=Xp,o):(n=function(e,t,n,r){var o=e.child;return e=o.sibling,n=Fh(o,{mode:"visible",children:n}),0==(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}(e,t,o.children,n),t.memoizedState=null,n)}function Yp(e,t,n,r){var o=e.mode,a=e.child;return t={mode:"hidden",children:t},0==(2&o)&&null!==a?(a.childLanes=0,a.pendingProps=t):a=zh(t,o,0,null),n=Uh(n,o,r,null),a.return=e,n.return=e,a.sibling=n,e.child=a,n}function Zp(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),rd(e.return,t)}function Jp(e,t,n,r,o,a){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,lastEffect:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o,i.lastEffect=a)}function em(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(Dp(e,t,r.children,n),0!=(2&(r=Dd.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!=(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Zp(e,n);else if(19===e.tag)Zp(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(cf(Dd,r),0==(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Fd(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Jp(t,!1,o,n,a,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Fd(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Jp(t,!0,n,null,a,t.lastEffect);break;case"together":Jp(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function tm(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Im|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(pi(153));if(null!==t.child){for(n=Fh(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)(n=n.sibling=Fh(e=e.sibling,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function nm(e,t){if(!zd)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function rm(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return yf(t.type)&&gf(),null;case 3:return Ld(),sf(pf),sf(df),Qd(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Bd(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:Md(t);var o=Ad(xd.current);if(n=t.type,null!==e&&null!=t.stateNode)qp(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(pi(166));return null}if(e=Ad(Pd.current),Bd(t)){n=t.type;var a=t.memoizedProps;switch((r=t.stateNode)[Kc]=t,r[Yc]=a,n){case"dialog":Pc("cancel",r),Pc("close",r);break;case"iframe":case"object":case"embed":Pc("load",r);break;case"video":case"audio":for(e=0;e<Cc.length;e++)Pc(Cc[e],r);break;case"source":Pc("error",r);break;case"img":case"image":case"link":Pc("error",r),Pc("load",r);break;case"details":Pc("toggle",r);break;case"input":ll(r,a),Pc("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Pc("invalid",r);break;case"textarea":hl(r,a),Pc("invalid",r)}for(var i in Nl(n,a),e=null,a)a.hasOwnProperty(i)&&(o=a[i],"children"===i?"string"==typeof o?r.textContent!==o&&(e=["children",o]):"number"==typeof o&&r.textContent!==""+o&&(e=["children",""+o]):hi.hasOwnProperty(i)&&null!=o&&"onScroll"===i&&Pc("scroll",r));switch(n){case"input":rl(r),cl(r,a,!0);break;case"textarea":rl(r),gl(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=jc)}t.updateQueue=r=e,null!==r&&(t.flags|=4)}else{switch(i=9===o.nodeType?o:o.ownerDocument,e===vl&&(e=bl(n)),e===vl?"script"===n?((e=i.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),"select"===n&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Kc]=t,e[Yc]=r,Hp(e,t),t.stateNode=e,i=xl(n,r),n){case"dialog":Pc("cancel",e),Pc("close",e),o=r;break;case"iframe":case"object":case"embed":Pc("load",e),o=r;break;case"video":case"audio":for(o=0;o<Cc.length;o++)Pc(Cc[o],e);o=r;break;case"source":Pc("error",e),o=r;break;case"img":case"image":case"link":Pc("error",e),Pc("load",e),o=r;break;case"details":Pc("toggle",e),o=r;break;case"input":ll(e,r),o=il(e,r),Pc("invalid",e);break;case"option":o=dl(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=ar({},r,{value:void 0}),Pc("invalid",e);break;case"textarea":hl(e,r),o=ml(e,r),Pc("invalid",e);break;default:o=r}Nl(n,o);var l=o;for(a in l)if(l.hasOwnProperty(a)){var u=l[a];"style"===a?Tl(e,u):"dangerouslySetInnerHTML"===a?null!=(u=u?u.__html:void 0)&&Sl(e,u):"children"===a?"string"==typeof u?("textarea"!==n||""!==u)&&_l(e,u):"number"==typeof u&&_l(e,""+u):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(hi.hasOwnProperty(a)?null!=u&&"onScroll"===a&&Pc("scroll",e):null!=u&&Ti(e,a,u,i))}switch(n){case"input":rl(e),cl(e,r,!1);break;case"textarea":rl(e),gl(e);break;case"option":null!=r.value&&e.setAttribute("value",""+tl(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?pl(e,!!r.multiple,a,!1):null!=r.defaultValue&&pl(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=jc)}Vc(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Qp(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(pi(166));n=Ad(xd.current),Ad(Pd.current),Bd(t)?(n=t.memoizedProps,(r=t.stateNode)[Kc]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Kc]=t,t.stateNode=r)}return null;case 13:return sf(Dd),r=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Bd(t):n=null!==e.memoizedState,r&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Dd.current)?0===Am&&(Am=3):(0!==Am&&3!==Am||(Am=4),null===km||0==(134217727&Im)&&0==(134217727&Mm)||sh(km,Pm))),(r||n)&&(t.flags|=4),null);case 4:return Ld(),null===e&&xc(t.stateNode.containerInfo),null;case 10:return nd(t),null;case 17:return yf(t.type)&&gf(),null;case 19:if(sf(Dd),null===(r=t.memoizedState))return null;if(a=0!=(64&t.flags),null===(i=r.rendering))if(a)nm(r,!1);else{if(0!==Am||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(i=Fd(e))){for(t.flags|=64,nm(r,!1),null!==(a=i.updateQueue)&&(t.updateQueue=a,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=2,a.nextEffect=null,a.firstEffect=null,a.lastEffect=null,null===(i=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=i.childLanes,a.lanes=i.lanes,a.child=i.child,a.memoizedProps=i.memoizedProps,a.memoizedState=i.memoizedState,a.updateQueue=i.updateQueue,a.type=i.type,a.dependencies=null===(e=i.dependencies)?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return cf(Dd,1&Dd.current|2),t.child}e=e.sibling}null!==r.tail&&Gf()>Um&&(t.flags|=64,a=!0,nm(r,!1),t.lanes=33554432)}else{if(!a)if(null!==(e=Fd(i))){if(t.flags|=64,a=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),nm(r,!0),null===r.tail&&"hidden"===r.tailMode&&!i.alternate&&!zd)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Gf()-r.renderingStartTime>Um&&1073741824!==n&&(t.flags|=64,a=!0,nm(r,!1),t.lanes=33554432);r.isBackwards?(i.sibling=t.child,t.child=i):(null!==(n=r.last)?n.sibling=i:t.child=i,r.last=i)}return null!==r.tail?(r.rendering=n=r.tail,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Gf(),n.sibling=null,t=Dd.current,cf(Dd,a?1&t|2:1&t),n):null;case 23:case 24:return mh(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(pi(156,t.tag))}function om(e){switch(e.tag){case 1:yf(e.type)&&gf();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Ld(),sf(pf),sf(df),Qd(),0!=(64&(t=e.flags)))throw Error(pi(285));return e.flags=-4097&t|64,e;case 5:return Md(e),null;case 13:return sf(Dd),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return sf(Dd),null;case 4:return Ld(),null;case 10:return nd(e),null;case 23:case 24:return mh(),null;default:return null}}function am(e,t){try{var n="",r=t;do{n+=Ji(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o}}function im(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}Hp=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},qp=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Ad(Pd.current);var a,i=null;switch(n){case"input":o=il(e,o),r=il(e,r),i=[];break;case"option":o=dl(e,o),r=dl(e,r),i=[];break;case"select":o=ar({},o,{value:void 0}),r=ar({},r,{value:void 0}),i=[];break;case"textarea":o=ml(e,o),r=ml(e,r),i=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=jc)}for(s in Nl(n,r),n=null,o)if(!r.hasOwnProperty(s)&&o.hasOwnProperty(s)&&null!=o[s])if("style"===s){var l=o[s];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(hi.hasOwnProperty(s)?i||(i=[]):(i=i||[]).push(s,null));for(s in r){var u=r[s];if(l=null!=o?o[s]:void 0,r.hasOwnProperty(s)&&u!==l&&(null!=u||null!=l))if("style"===s)if(l){for(a in l)!l.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in u)u.hasOwnProperty(a)&&l[a]!==u[a]&&(n||(n={}),n[a]=u[a])}else n||(i||(i=[]),i.push(s,n)),n=u;else"dangerouslySetInnerHTML"===s?(l=l?l.__html:void 0,null!=(u=u?u.__html:void 0)&&l!==u&&(i=i||[]).push(s,u)):"children"===s?"string"!=typeof u&&"number"!=typeof u||(i=i||[]).push(s,""+u):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(hi.hasOwnProperty(s)?(null!=u&&"onScroll"===s&&Pc("scroll",e),i||l===u||(i=[])):"object"==typeof u&&null!==u&&u.$$typeof===Gi?u.toString():(i=i||[]).push(s,u))}n&&(i=i||[]).push("style",n);var s=i;(t.updateQueue=s)&&(t.flags|=4)}},Qp=function(e,t,n,r){n!==r&&(t.flags|=4)};var lm="function"==typeof WeakMap?WeakMap:Map;function um(e,t,n){(n=sd(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){$m||($m=!0,Wm=r),im(0,t)},n}function sm(e,t,n){(n=sd(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return im(0,t),r(o)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Bm?Bm=new Set([this]):Bm.add(this),im(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var cm="function"==typeof WeakSet?WeakSet:Set;function fm(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Ah(e,t)}else t.current=null}function dm(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Kf(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Bc(t.stateNode.containerInfo));case 5:case 6:case 4:case 17:return}throw Error(pi(163))}function pm(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var o=e;r=o.next,0!=(4&(o=o.tag))&&0!=(1&o)&&(Ph(n,e),Th(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Kf(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&pd(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}pd(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Vc(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&ku(n)))));case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(pi(163))}function mm(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var o=n.memoizedProps.style;o=null!=o&&o.hasOwnProperty("display")?o.display:null,r.style.display=kl("display",o)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function hm(e,t){if(_f&&"function"==typeof _f.onCommitFiberUnmount)try{_f.onCommitFiberUnmount(Sf,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,o=r.destroy;if(r=r.tag,void 0!==o)if(0!=(4&r))Ph(t,n);else{r=t;try{o()}catch(e){Ah(r,e)}}n=n.next}while(n!==e)}break;case 1:if(fm(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Ah(t,e)}break;case 5:fm(t);break;case 4:bm(e,t)}}function ym(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function gm(e){return 5===e.tag||3===e.tag||4===e.tag}function vm(e){e:{for(var t=e.return;null!==t;){if(gm(t))break e;t=t.return}throw Error(pi(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(pi(161))}16&n.flags&&(_l(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||gm(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?function e(t,n,r){var o=t.tag,a=5===o||6===o;if(a)t=a?t.stateNode:t.stateNode.instance,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode).insertBefore(t,r):(n=r).appendChild(t),null!==(r=r._reactRootContainer)&&void 0!==r||null!==n.onclick||(n.onclick=jc));else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t):function e(t,n,r){var o=t.tag,a=5===o||6===o;if(a)t=a?t.stateNode:t.stateNode.instance,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t)}function bm(e,t){for(var n,r,o=t,a=!1;;){if(!a){a=o.return;e:for(;;){if(null===a)throw Error(pi(160));switch(n=a.stateNode,a.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}a=a.return}a=!0}if(5===o.tag||6===o.tag){e:for(var i=e,l=o,u=l;;)if(hm(i,u),null!==u.child&&4!==u.tag)u.child.return=u,u=u.child;else{if(u===l)break e;for(;null===u.sibling;){if(null===u.return||u.return===l)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}r?(l=o.stateNode,8===(i=n).nodeType?i.parentNode.removeChild(l):i.removeChild(l)):n.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){n=o.stateNode.containerInfo,r=!0,o.child.return=o,o=o.child;continue}}else if(hm(e,o),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(a=!1)}o.sibling.return=o.return,o=o.sibling}}function Em(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3==(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var o=null!==e?e.memoizedProps:r;e=t.type;var a=t.updateQueue;if(t.updateQueue=null,null!==a){for(n[Yc]=r,"input"===e&&"radio"===r.type&&null!=r.name&&ul(n,r),xl(e,o),t=xl(e,r),o=0;o<a.length;o+=2){var i=a[o],l=a[o+1];"style"===i?Tl(n,l):"dangerouslySetInnerHTML"===i?Sl(n,l):"children"===i?_l(n,l):Ti(n,i,l,t)}switch(e){case"input":sl(n,r);break;case"textarea":yl(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(a=r.value)?pl(n,!!r.multiple,a,!1):e!==!!r.multiple&&(null!=r.defaultValue?pl(n,!!r.multiple,r.defaultValue,!0):pl(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(pi(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,ku(n.containerInfo)));case 12:return;case 13:return null!==t.memoizedState&&(jm=Gf(),mm(t.child,!0)),void wm(t);case 19:return void wm(t);case 17:return;case 23:case 24:return void mm(t,null!==t.memoizedState)}throw Error(pi(163))}function wm(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new cm),t.forEach(function(t){var r=Lh.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}var Sm=Math.ceil,_m=Pi.ReactCurrentDispatcher,Cm=Pi.ReactCurrentOwner,Om=0,km=null,Tm=null,Pm=0,Nm=0,xm=uf(0),Am=0,Rm=null,Lm=0,Im=0,Mm=0,Dm=0,Fm=null,jm=0,Um=Infinity;function zm(){Um=Gf()+500}var Vm,Gm=null,$m=!1,Wm=null,Bm=null,Hm=!1,qm=null,Qm=90,Xm=[],Km=[],Ym=null,Zm=0,Jm=null,eh=-1,th=0,nh=0;function rh(){return 0!=(48&Om)?Gf():-1!==eh?eh:eh=Gf()}function oh(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===$f()?1:2;if(0===th&&(th=Lm),0!==Xf.transition){0!==nh&&(nh=null!==Fm?Fm.pendingLanes:0),e=th;var t=4186112&~nh;return 0==(t&=-t)&&0==(t=(e=4186112&~e)&-e)&&(t=8192),t}return e=$f(),function e(t,n){switch(t){case 15:return 1;case 14:return 2;case 12:return 0===(t=Wu(24&~n))?e(10,n):t;case 10:return 0===(t=Wu(192&~n))?e(8,n):t;case 8:return 0===(t=Wu(3584&~n))&&0===(t=Wu(4186112&~n))&&(t=512),t;case 2:return 0===(n=Wu(805306368&~n))&&(n=268435456),n}throw Error(pi(358,t))}(0!=(4&Om)&&98===e?12:e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),th)}function ah(e,t,n){if(50<Zm)throw Zm=0,Jm=null,Error(pi(185));if(null===(e=ih(e,t)))return null;Hu(e,t,n),e===km&&(Mm|=t,4===Am&&sh(e,Pm));var r=$f();1===t?0!=(8&Om)&&0==(48&Om)?ch(e):(lh(e,n),0===Om&&(zm(),qf())):(0==(4&Om)||98!==r&&99!==r||(null===Ym?Ym=new Set([e]):Ym.add(e)),lh(e,n)),Fm=e}function ih(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function lh(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,a=e.expirationTimes,i=e.pendingLanes;0<i;){var l=31-qu(i),u=1<<l,s=a[l];-1===s?0!=(u&r)&&0==(u&o)||(s=t,Vu(u),a[l]=10<=zu?s+250:6<=zu?s+5e3:-1):s<=t&&(e.expiredLanes|=u),i&=~u}if(r=Gu(e,e===km?Pm:0),t=zu,0===r)null!==n&&(n!==Df&&kf(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Df&&kf(n)}15===t?(n=ch.bind(null,e),null===jf?(jf=[n],Uf=Of(Af,Qf)):jf.push(n),n=Df):n=14===t?Hf(99,ch.bind(null,e)):Hf(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(pi(358,e))}}(t),uh.bind(null,e)),e.callbackPriority=t,e.callbackNode=n}}function uh(e){if(eh=-1,nh=th=0,0!=(48&Om))throw Error(pi(327));var t=e.callbackNode;if(kh()&&e.callbackNode!==t)return null;var n=Gu(e,e===km?Pm:0);if(0===n)return null;var r=n,o=Om;Om|=16;var a=gh();for(km===e&&Pm===r||(zm(),hh(e,r));;)try{Eh();break}catch(t){yh(e,t)}if(td(),_m.current=a,Om=o,null!==Tm?r=0:(km=null,Pm=0,r=Am),0!=(Lm&Mm))hh(e,0);else if(0!==r){if(2===r&&(Om|=64,e.hydrate&&(e.hydrate=!1,Bc(e.containerInfo)),0!==(n=$u(e))&&(r=vh(e,n))),1===r)throw t=Rm,hh(e,0),sh(e,n),lh(e,Gf()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(pi(345));case 2:_h(e);break;case 3:if(sh(e,n),(62914560&n)===n&&10<(r=jm+500-Gf())){if(0!==Gu(e,0))break;if(((o=e.suspendedLanes)&n)!==n){rh(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=$c(_h.bind(null,e),r);break}_h(e);break;case 4:if(sh(e,n),(4186112&n)===n)break;for(r=e.eventTimes,o=-1;0<n;){var i=31-qu(n);a=1<<i,(i=r[i])>o&&(o=i),n&=~a}if(n=o,10<(n=(120>(n=Gf()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Sm(n/1960))-n)){e.timeoutHandle=$c(_h.bind(null,e),n);break}_h(e);break;case 5:_h(e);break;default:throw Error(pi(329))}}return lh(e,Gf()),e.callbackNode===t?uh.bind(null,e):null}function sh(e,t){for(t&=~Dm,e.suspendedLanes|=t&=~Mm,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-qu(t),r=1<<n;e[n]=-1,t&=~r}}function ch(e){if(0!=(48&Om))throw Error(pi(327));if(kh(),e===km&&0!=(e.expiredLanes&Pm)){var t=Pm,n=vh(e,t);0!=(Lm&Mm)&&(n=vh(e,t=Gu(e,t)))}else n=vh(e,t=Gu(e,0));if(0!==e.tag&&2===n&&(Om|=64,e.hydrate&&(e.hydrate=!1,Bc(e.containerInfo)),0!==(t=$u(e))&&(n=vh(e,t))),1===n)throw n=Rm,hh(e,0),sh(e,t),lh(e,Gf()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,_h(e),lh(e,Gf()),null}function fh(e,t){var n=Om;Om|=1;try{return e(t)}finally{0===(Om=n)&&(zm(),qf())}}function dh(e,t){var n=Om;Om&=-2,Om|=8;try{return e(t)}finally{0===(Om=n)&&(zm(),qf())}}function ph(e,t){cf(xm,Nm),Nm|=t,Lm|=t}function mh(){Nm=xm.current,sf(xm)}function hh(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Wc(n)),null!==Tm)for(n=Tm.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&gf();break;case 3:Ld(),sf(pf),sf(df),Qd();break;case 5:Md(r);break;case 4:Ld();break;case 13:case 19:sf(Dd);break;case 10:nd(r);break;case 23:case 24:mh()}n=n.return}km=e,Tm=Fh(e.current,null),Pm=Nm=Lm=t,Am=0,Rm=null,Dm=Mm=Im=0}function yh(e,t){for(;;){var n=Tm;try{if(td(),Xd.current=xp,tp){for(var r=Zd.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}tp=!1}if(Yd=0,ep=Jd=Zd=null,np=!1,Cm.current=null,null===n||null===n.return){Am=1,Rm=t,Tm=null;break}e:{var a=e,i=n.return,l=n,u=t;if(t=Pm,l.flags|=2048,l.firstEffect=l.lastEffect=null,null!==u&&"object"==typeof u&&"function"==typeof u.then){var s=u;if(0==(2&l.mode)){var c=l.alternate;c?(l.updateQueue=c.updateQueue,l.memoizedState=c.memoizedState,l.lanes=c.lanes):(l.updateQueue=null,l.memoizedState=null)}var f=0!=(1&Dd.current),d=i;do{var p;if(p=13===d.tag){var m=d.memoizedState;if(null!==m)p=null!==m.dehydrated;else{var h=d.memoizedProps;p=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!f)}}if(p){var y=d.updateQueue;if(null===y){var g=new Set;g.add(s),d.updateQueue=g}else y.add(s);if(0==(2&d.mode)){if(d.flags|=64,l.flags|=16384,l.flags&=-2981,1===l.tag)if(null===l.alternate)l.tag=17;else{var v=sd(-1,1);v.tag=2,cd(l,v)}l.lanes|=1;break e}u=void 0,l=t;var b=a.pingCache;if(null===b?(b=a.pingCache=new lm,u=new Set,b.set(s,u)):void 0===(u=b.get(s))&&(u=new Set,b.set(s,u)),!u.has(l)){u.add(l);var E=Rh.bind(null,a,s,l);s.then(E,E)}d.flags|=4096,d.lanes=t;break e}d=d.return}while(null!==d);u=Error((el(l.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Am&&(Am=2),u=am(u,l),d=i;do{switch(d.tag){case 3:a=u,d.flags|=4096,d.lanes|=t&=-t,fd(d,um(0,a,t));break e;case 1:a=u;var w=d.stateNode;if(0==(64&d.flags)&&("function"==typeof d.type.getDerivedStateFromError||null!==w&&"function"==typeof w.componentDidCatch&&(null===Bm||!Bm.has(w)))){d.flags|=4096,d.lanes|=t&=-t,fd(d,sm(d,a,t));break e}}d=d.return}while(null!==d)}Sh(n)}catch(e){t=e,Tm===n&&null!==n&&(Tm=n=n.return);continue}break}}function gh(){var e=_m.current;return _m.current=xp,null===e?xp:e}function vh(e,t){var n=Om;Om|=16;var r=gh();for(km===e&&Pm===t||hh(e,t);;)try{bh();break}catch(t){yh(e,t)}if(td(),Om=n,_m.current=r,null!==Tm)throw Error(pi(261));return km=null,Pm=0,Am}function bh(){for(;null!==Tm;)wh(Tm)}function Eh(){for(;null!==Tm&&!Tf();)wh(Tm)}function wh(e){var t=Vm(e.alternate,e,Nm);e.memoizedProps=e.pendingProps,null===t?Sh(e):Tm=t,Cm.current=null}function Sh(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=rm(n,t,Nm)))return void(Tm=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&Nm)||0==(4&n.mode)){for(var r=0,o=n.child;null!==o;)r|=o.lanes|o.childLanes,o=o.sibling;n.childLanes=r}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=om(t)))return n.flags&=2047,void(Tm=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(Tm=t);Tm=t=e}while(null!==t);0===Am&&(Am=5)}function _h(e){var t=$f();return Bf(99,Ch.bind(null,e,t)),null}function Ch(e,t){do{kh()}while(null!==qm);if(0!=(48&Om))throw Error(pi(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(pi(177));e.callbackNode=null;var r=n.lanes|n.childLanes,o=r,a=e.pendingLanes&~o;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=o,e.mutableReadLanes&=o,e.entangledLanes&=o,o=e.entanglements;for(var i=e.eventTimes,l=e.expirationTimes;0<a;){var u=31-qu(a),s=1<<u;o[u]=0,i[u]=-1,l[u]=-1,a&=~s}if(null!==Ym&&0==(24&r)&&Ym.has(e)&&Ym.delete(e),e===km&&(Tm=km=null,Pm=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(o=Om,Om|=32,Cm.current=null,Uc=Zu,hc(i=mc())){if("selectionStart"in i)l={start:i.selectionStart,end:i.selectionEnd};else if((s=(l=(l=i.ownerDocument)&&l.defaultView||window).getSelection&&l.getSelection())&&0!==s.rangeCount){l=s.anchorNode,a=s.anchorOffset,u=s.focusNode,s=s.focusOffset;var c=0,f=-1,d=-1,p=0,m=0,h=i,y=null;e:for(;;){for(var g;h!==l||0!==a&&3!==h.nodeType||(f=c+a),h!==u||0!==s&&3!==h.nodeType||(d=c+s),3===h.nodeType&&(c+=h.nodeValue.length),null!==(g=h.firstChild);)y=h,h=g;for(;;){if(h===i)break e;if(y===l&&++p===a&&(f=c),y===u&&++m===s&&(d=c),null!==(g=h.nextSibling))break;y=(h=y).parentNode}h=g}l=-1===f||-1===d?null:{start:f,end:d}}else l=null;l=l||{start:0,end:0}}else l=null;zc={focusedElem:i,selectionRange:l},Zu=!1,Gm=r;do{try{Oh()}catch(e){if(null===Gm)throw Error(pi(330));Ah(Gm,e),Gm=Gm.nextEffect}}while(null!==Gm);Gm=r;do{try{for(i=e;null!==Gm;){var v=Gm.flags;if(16&v&&_l(Gm.stateNode,""),128&v){var b=Gm.alternate;if(null!==b){var E=b.ref;null!==E&&("function"==typeof E?E(null):E.current=null)}}switch(1038&v){case 2:vm(Gm),Gm.flags&=-3;break;case 6:vm(Gm),Gm.flags&=-3,Em(Gm.alternate,Gm);break;case 1024:Gm.flags&=-1025;break;case 1028:Gm.flags&=-1025,Em(Gm.alternate,Gm);break;case 4:Em(Gm.alternate,Gm);break;case 8:bm(i,l=Gm);var w=l.alternate;ym(l),null!==w&&ym(w)}Gm=Gm.nextEffect}}catch(e){if(null===Gm)throw Error(pi(330));Ah(Gm,e),Gm=Gm.nextEffect}}while(null!==Gm);if(E=zc,b=mc(),i=E.selectionRange,b!==(v=E.focusedElem)&&v&&v.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(v.ownerDocument.documentElement,v)){null!==i&&hc(v)&&(b=i.start,void 0===(E=i.end)&&(E=b),"selectionStart"in v?(v.selectionStart=b,v.selectionEnd=Math.min(E,v.value.length)):(E=(b=v.ownerDocument||document)&&b.defaultView||window).getSelection&&(E=E.getSelection(),l=v.textContent.length,w=Math.min(i.start,l),i=void 0===i.end?w:Math.min(i.end,l),!E.extend&&w>i&&(l=i,i=w,w=l),l=pc(v,w),a=pc(v,i),l&&a&&(1!==E.rangeCount||E.anchorNode!==l.node||E.anchorOffset!==l.offset||E.focusNode!==a.node||E.focusOffset!==a.offset)&&((b=b.createRange()).setStart(l.node,l.offset),E.removeAllRanges(),w>i?(E.addRange(b),E.extend(a.node,a.offset)):(b.setEnd(a.node,a.offset),E.addRange(b))))),b=[];for(E=v;E=E.parentNode;)1===E.nodeType&&b.push({element:E,left:E.scrollLeft,top:E.scrollTop});for("function"==typeof v.focus&&v.focus(),v=0;v<b.length;v++)(E=b[v]).element.scrollLeft=E.left,E.element.scrollTop=E.top}Zu=!!Uc,zc=Uc=null,e.current=n,Gm=r;do{try{for(v=e;null!==Gm;){var S=Gm.flags;if(36&S&&pm(v,Gm.alternate,Gm),128&S){b=void 0;var _=Gm.ref;if(null!==_){var C=Gm.stateNode;switch(Gm.tag){case 5:b=C;break;default:b=C}"function"==typeof _?_(b):_.current=b}}Gm=Gm.nextEffect}}catch(e){if(null===Gm)throw Error(pi(330));Ah(Gm,e),Gm=Gm.nextEffect}}while(null!==Gm);Gm=null,Ff(),Om=o}else e.current=n;if(Hm)Hm=!1,qm=e,Qm=t;else for(Gm=r;null!==Gm;)t=Gm.nextEffect,Gm.nextEffect=null,8&Gm.flags&&((S=Gm).sibling=null,S.stateNode=null),Gm=t;if(0===(r=e.pendingLanes)&&(Bm=null),1===r?e===Jm?Zm++:(Zm=0,Jm=e):Zm=0,n=n.stateNode,_f&&"function"==typeof _f.onCommitFiberRoot)try{_f.onCommitFiberRoot(Sf,n,void 0,64==(64&n.current.flags))}catch(e){}if(lh(e,Gf()),$m)throw $m=!1,e=Wm,Wm=null,e;return 0!=(8&Om)||qf(),null}function Oh(){for(;null!==Gm;){var e=Gm.flags;0!=(256&e)&&dm(Gm.alternate,Gm),0==(512&e)||Hm||(Hm=!0,Hf(97,function(){return kh(),null})),Gm=Gm.nextEffect}}function kh(){if(90!==Qm){var e=97<Qm?97:Qm;return Qm=90,Bf(e,Nh)}return!1}function Th(e,t){Xm.push(t,e),Hm||(Hm=!0,Hf(97,function(){return kh(),null}))}function Ph(e,t){Km.push(t,e),Hm||(Hm=!0,Hf(97,function(){return kh(),null}))}function Nh(){if(null===qm)return!1;var e=qm;if(qm=null,0!=(48&Om))throw Error(pi(331));var t=Om;Om|=32;var n=Km;Km=[];for(var r=0;r<n.length;r+=2){var o=n[r],a=n[r+1],i=o.destroy;if(o.destroy=void 0,"function"==typeof i)try{i()}catch(e){if(null===a)throw Error(pi(330));Ah(a,e)}}for(n=Xm,Xm=[],r=0;r<n.length;r+=2){o=n[r],a=n[r+1];try{var l=o.create;o.destroy=l()}catch(e){if(null===a)throw Error(pi(330));Ah(a,e)}}for(l=e.current.firstEffect;null!==l;)e=l.nextEffect,l.nextEffect=null,8&l.flags&&(l.sibling=null,l.stateNode=null),l=e;return Om=t,qf(),!0}function xh(e,t,n){cd(e,t=um(0,t=am(n,t),1)),t=rh(),null!==(e=ih(e,1))&&(Hu(e,1,t),lh(e,t))}function Ah(e,t){if(3===e.tag)xh(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){xh(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Bm||!Bm.has(r))){var o=sm(n,e=am(t,e),1);if(cd(n,o),o=rh(),null!==(n=ih(n,1)))Hu(n,1,o),lh(n,o);else if("function"==typeof r.componentDidCatch&&(null===Bm||!Bm.has(r)))try{r.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function Rh(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=rh(),e.pingedLanes|=e.suspendedLanes&n,km===e&&(Pm&n)===n&&(4===Am||3===Am&&(62914560&Pm)===Pm&&500>Gf()-jm?hh(e,0):Dm|=n),lh(e,t)}function Lh(e,t){var n=e.stateNode;null!==n&&n.delete(t),0==(t=0)&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===$f()?1:2:(0===th&&(th=Lm),0===(t=Wu(62914560&~th))&&(t=4194304))),n=rh(),null!==(e=ih(e,t))&&(Hu(e,t,n),lh(e,n))}function Ih(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Mh(e,t,n,r){return new Ih(e,t,n,r)}function Dh(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Fh(e,t){var n=e.alternate;return null===n?((n=Mh(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,n.dependencies=null===(t=e.dependencies)?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function jh(e,t,n,r,o,a){var i=2;if(r=e,"function"==typeof e)Dh(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case Ai:return Uh(n.children,o,a,t);case $i:i=8,o|=16;break;case Ri:i=8,o|=1;break;case Li:return(e=Mh(12,n,t,8|o)).elementType=Li,e.type=Li,e.lanes=a,e;case Fi:return(e=Mh(13,n,t,o)).type=Fi,e.elementType=Fi,e.lanes=a,e;case ji:return(e=Mh(19,n,t,o)).elementType=ji,e.lanes=a,e;case Wi:return zh(n,o,a,t);case Bi:return(e=Mh(24,n,t,o)).elementType=Bi,e.lanes=a,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Ii:i=10;break e;case Mi:i=9;break e;case Di:i=11;break e;case Ui:i=14;break e;case zi:i=16,r=null;break e;case Vi:i=22;break e}throw Error(pi(130,null==e?e:typeof e,""))}return(t=Mh(i,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Uh(e,t,n,r){return(e=Mh(7,e,r,t)).lanes=n,e}function zh(e,t,n,r){return(e=Mh(23,e,r,t)).elementType=Wi,e.lanes=n,e}function Vh(e,t,n){return(e=Mh(6,e,null,t)).lanes=n,e}function Gh(e,t,n){return(t=Mh(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function $h(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Bu(0),this.expirationTimes=Bu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Bu(0),this.mutableSourceEagerHydrationData=null}function Wh(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:xi,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Bh(e,t,n,r){var o=t.current,a=rh(),i=oh(o);e:if(n){t:{if(tu(n=n._reactInternals)!==n||1!==n.tag)throw Error(pi(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(yf(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(pi(171))}if(1===n.tag){var u=n.type;if(yf(u)){n=bf(n,u,l);break e}}n=l}else n=ff;return null===t.context?t.context=n:t.pendingContext=n,(t=sd(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),cd(o,t),ah(o,i,a),i}function Hh(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function qh(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Qh(e,t){qh(e,t),(e=e.alternate)&&qh(e,t)}function Xh(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new $h(e,t,null!=n&&!0===n.hydrate),t=Mh(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,ld(t),e[Zc]=n.current,xc(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var o=(t=r[e])._getVersion;o=o(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,o]:n.mutableSourceEagerHydrationData.push(t,o)}this._internalRoot=n}function Kh(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Yh(e,t,n,r,o){var a=n._reactRootContainer;if(a){var i=a._internalRoot;if("function"==typeof o){var l=o;o=function(){var e=Hh(i);l.call(e)}}Bh(t,i,e,o)}else{if(a=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Xh(e,0,t?{hydrate:!0}:void 0)}(n,r),i=a._internalRoot,"function"==typeof o){var u=o;o=function(){var e=Hh(i);u.call(e)}}dh(function(){Bh(t,i,e,o)})}return Hh(i)}function Zh(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Kh(t))throw Error(pi(200));return Wh(e,t,null,n)}Vm=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||pf.current)Mp=!0;else{if(0==(n&r)){switch(Mp=!1,t.tag){case 3:Bp(t),Hd();break;case 5:Id(t);break;case 1:yf(t.type)&&Ef(t);break;case 4:Rd(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;cf(Yf,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?Kp(e,t,n):(cf(Dd,1&Dd.current),null!==(t=tm(e,t,n))?t.sibling:null);cf(Dd,1&Dd.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return em(e,t,n);t.flags|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),cf(Dd,Dd.current),r)break;return null;case 23:case 24:return t.lanes=0,zp(e,t,n)}return tm(e,t,n)}Mp=0!=(16384&e.flags)}else Mp=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=hf(t,df.current),od(t,n),o=ap(null,t,r,e,o,n),t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,yf(r)){var a=!0;Ef(t)}else a=!1;t.memoizedState=null!=o.state?o.state:null,ld(t);var i=r.getDerivedStateFromProps;"function"==typeof i&&hd(t,r,i,e),o.updater=yd,t.stateNode=o,o._reactInternals=t,Ed(t,r,e,n),t=Wp(null,t,r,!0,a,n)}else t.tag=0,Dp(null,t,o,n),t=t.child;return t;case 16:o=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=(a=o._init)(o._payload),t.type=o,a=t.tag=function(e){if("function"==typeof e)return Dh(e)?1:0;if(null!=e){if((e=e.$$typeof)===Di)return 11;if(e===Ui)return 14}return 2}(o),e=Kf(o,e),a){case 0:t=Gp(null,t,o,e,n);break e;case 1:t=$p(null,t,o,e,n);break e;case 11:t=Fp(null,t,o,e,n);break e;case 14:t=jp(null,t,o,Kf(o.type,e),r,n);break e}throw Error(pi(306,o,""))}return t;case 0:return o=t.pendingProps,Gp(e,t,r=t.type,o=t.elementType===r?o:Kf(r,o),n);case 1:return o=t.pendingProps,$p(e,t,r=t.type,o=t.elementType===r?o:Kf(r,o),n);case 3:if(Bp(t),r=t.updateQueue,null===e||null===r)throw Error(pi(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,ud(e,t),dd(t,r,null,n),(r=t.memoizedState.element)===o)Hd(),t=tm(e,t,n);else{if((a=(o=t.stateNode).hydrate)&&(Ud=Hc(t.stateNode.containerInfo.firstChild),jd=t,a=zd=!0),a){if(null!=(e=o.mutableSourceEagerHydrationData))for(o=0;o<e.length;o+=2)(a=e[o])._workInProgressVersionPrimary=e[o+1],qd.push(a);for(n=kd(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Dp(e,t,r,n),Hd();t=t.child}return t;case 5:return Id(t),null===e&&$d(t),a=null!==e?e.memoizedProps:null,i=(o=t.pendingProps).children,Gc(r=t.type,o)?i=null:null!==a&&Gc(r,a)&&(t.flags|=16),Vp(e,t),Dp(e,t,i,n),t.child;case 6:return null===e&&$d(t),null;case 13:return Kp(e,t,n);case 4:return Rd(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Od(t,null,r,n):Dp(e,t,r,n),t.child;case 11:return o=t.pendingProps,Fp(e,t,r=t.type,o=t.elementType===r?o:Kf(r,o),n);case 7:return Dp(e,t,t.pendingProps,n),t.child;case 8:case 12:return Dp(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,i=t.memoizedProps,a=(o=t.pendingProps).value;var l=t.type._context;if(cf(Yf,l._currentValue),l._currentValue=a,null!==i)if(0==(a=sc(l=i.value,a)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,a):1073741823))){if(i.children===o.children&&!pf.current){t=tm(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var u=l.dependencies;if(null!==u){i=l.child;for(var s=u.firstContext;null!==s;){if(s.context===r&&0!=(s.observedBits&a)){1===l.tag&&((s=sd(-1,n&-n)).tag=2,cd(l,s)),l.lanes|=n,null!==(s=l.alternate)&&(s.lanes|=n),rd(l.return,n),u.lanes|=n;break}s=s.next}}else i=10===l.tag&&l.type===t.type?null:l.child;if(null!==i)i.return=l;else for(i=l;null!==i;){if(i===t){i=null;break}if(null!==(l=i.sibling)){l.return=i.return,i=l;break}i=i.return}l=i}Dp(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(a=t.pendingProps).children,od(t,n),r=r(o=ad(o,a.unstable_observedBits)),t.flags|=1,Dp(e,t,r,n),t.child;case 14:return a=Kf(o=t.type,t.pendingProps),jp(e,t,o,a=Kf(o.type,a),r,n);case 15:return Up(e,t,t.type,t.pendingProps,r,n);case 17:return o=t.pendingProps,o=t.elementType===(r=t.type)?o:Kf(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,yf(r)?(e=!0,Ef(t)):e=!1,od(t,n),vd(t,r,o),Ed(t,r,o,n),Wp(null,t,r,!0,e,n);case 19:return em(e,t,n);case 23:case 24:return zp(e,t,n)}throw Error(pi(156,t.tag))},Xh.prototype.render=function(e){Bh(e,this._internalRoot,null,null)},Xh.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Bh(null,e,null,function(){t[Zc]=null})},au=function(e){13===e.tag&&(ah(e,4,rh()),Qh(e,4))},iu=function(e){13===e.tag&&(ah(e,67108864,rh()),Qh(e,67108864))},lu=function(e){if(13===e.tag){var t=rh(),n=oh(e);ah(e,n,t),Qh(e,n)}},uu=function(e,t){return t()},Rl=function(e,t,n){switch(t){case"input":if(sl(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=rf(r);if(!o)throw Error(pi(90));ol(r),sl(r,o)}}}break;case"textarea":yl(e,n);break;case"select":null!=(t=n.value)&&pl(e,!!n.multiple,t,!1)}},jl=fh,Ul=function(e,t,n,r,o){var a=Om;Om|=4;try{return Bf(98,e.bind(null,t,n,r,o))}finally{0===(Om=a)&&(zm(),qf())}},zl=function(){0==(49&Om)&&(function(){if(null!==Ym){var e=Ym;Ym=null,e.forEach(function(e){e.expiredLanes|=24&e.pendingLanes,lh(e,Gf())})}qf()}(),kh())},Vl=function(e,t){var n=Om;Om|=2;try{return e(t)}finally{0===(Om=n)&&(zm(),qf())}};var Jh={Events:[tf,nf,rf,Dl,Fl,kh,{current:!1}]},ey={findFiberByHostInstance:ef,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},ty={bundleType:ey.bundleType,version:ey.version,rendererPackageName:ey.rendererPackageName,rendererConfig:ey.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Pi.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=ou(e))?null:e.stateNode},findFiberByHostInstance:ey.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ny=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ny.isDisabled&&ny.supportsFiber)try{Sf=ny.inject(ty),_f=ny}catch(e){}}var ry={__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Jh,createPortal:Zh,findDOMNode:function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(pi(188));throw Error(pi(268,Object.keys(e)))}return null===(e=ou(t))?null:e.stateNode},flushSync:function(e,t){var n=Om;if(0!=(48&n))return e(t);Om|=1;try{if(e)return Bf(99,e.bind(null,t))}finally{Om=n,qf()}},hydrate:function(e,t,n){if(!Kh(t))throw Error(pi(200));return Yh(null,e,t,!0,n)},render:function(e,t,n){if(!Kh(t))throw Error(pi(200));return Yh(null,e,t,!1,n)},unmountComponentAtNode:function(e){if(!Kh(e))throw Error(pi(40));return!!e._reactRootContainer&&(dh(function(){Yh(null,null,e,!1,function(){e._reactRootContainer=null,e[Zc]=null})}),!0)},unstable_batchedUpdates:fh,unstable_createPortal:function(e,t){return Zh(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},unstable_renderSubtreeIntoContainer:function(e,t,n,r){if(!Kh(n))throw Error(pi(200));if(null==e||void 0===e._reactInternals)throw Error(pi(38));return Yh(e,t,n,!1,r)},version:"17.0.2"},oy=0,ay={__interactionsRef:null,__subscriberRef:null,unstable_clear:function(e){return e()},unstable_getCurrent:function(){return null},unstable_getThreadID:function(){return++oy},unstable_subscribe:function(){},unstable_trace:function(e,t,n){return n()},unstable_unsubscribe:function(){},unstable_wrap:function(e){return e}},iy=(d(function(e,t){}),d(function(e){e.exports=ay}),d(function(e,t){}),d(function(e){!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=ry}));function ly(){return(ly=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var uy=function(e,t){return!!e.eligible&&!!t&&e.purchase_amount>=(null==t?void 0:t.minAmount)&&e.purchase_amount<=(null==t?void 0:t.maxAmount)},sy=function(e,t,n){var r,o,a,i=t.domain,l=t.merchantId,u=lr.useState([]),s=u[0],c=u[1],f=lr.useState(Kn.PENDING),d=f[0],p=f[1],m=null==n?void 0:n.map(function(e){return{installments_count:e.installmentsCount,deferred_days:null==e?void 0:e.deferredDays,deferred_months:null==e?void 0:e.deferredMonths}});return lr.useEffect(function(){d===Kn.PENDING&&function(e,t,n){void 0===e&&(e="");try{return Promise.resolve(fetch(e,{method:"POST",headers:ly({"Content-Type":"application/json"},n),body:JSON.stringify(t)})).then(function(e){return e.json()})}catch(e){return Promise.reject(e)}}(i+"/v2/payments/eligibility",{purchase_amount:e,queries:m},{Authorization:"Alma-Merchant-Auth "+l}).then(function(e){c(e),p(Kn.SUCCESS)}).catch(function(){p(Kn.FAILED)})},[d]),[(r=s,o=n,a=r.filter(function(e){return!(1===e.installments_count&&0===e.deferred_days&&0===e.deferred_months)}),o?a.map(function(e){var t=30*(e.deferred_months?e.deferred_months:0)+(e.deferred_days?e.deferred_days:0),n=o.find(function(n){return e.installments_count===n.installmentsCount&&t===30*(n.deferredMonths?n.deferredMonths:0)+(n.deferredDays?n.deferredDays:0)});return ly({},e,{eligible:uy(e,n)},function(e,t){var n,r=null==(n=e.constraints)?void 0:n.purchase_amount;return r&&t?{minAmount:Math.max(t.minAmount,null==r?void 0:r.minimum),maxAmount:Math.min(t.maxAmount,null==r?void 0:r.maximum)}:null!=t?t:{}}(e,n))}):a),d]},cy=d(function(e){!function(){var t={}.hasOwnProperty;function n(){for(var e=[],r=0;r<arguments.length;r++){var o=arguments[r];if(o){var a=typeof o;if("string"===a||"number"===a)e.push(o);else if(Array.isArray(o)){if(o.length){var i=n.apply(null,o);i&&e.push(i)}}else if("object"===a)if(o.toString===Object.prototype.toString)for(var l in o)t.call(o,l)&&o[l]&&e.push(l);else e.push(o.toString())}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n}()}),fy=function(e){return lr.createElement("div",{className:cy("_31lrj",e.className),"data-testid":"loader"},lr.createElement("div",{className:"_2p94X"},"a"),lr.createElement("div",{className:"_1k0PM"}))},dy="function"==typeof Symbol&&Symbol.for,py=dy?Symbol.for("react.element"):60103,my=dy?Symbol.for("react.portal"):60106,hy=dy?Symbol.for("react.fragment"):60107,yy=dy?Symbol.for("react.strict_mode"):60108,gy=dy?Symbol.for("react.profiler"):60114,vy=dy?Symbol.for("react.provider"):60109,by=dy?Symbol.for("react.context"):60110,Ey=dy?Symbol.for("react.async_mode"):60111,wy=dy?Symbol.for("react.concurrent_mode"):60111,Sy=dy?Symbol.for("react.forward_ref"):60112,_y=dy?Symbol.for("react.suspense"):60113,Cy=dy?Symbol.for("react.suspense_list"):60120,Oy=dy?Symbol.for("react.memo"):60115,ky=dy?Symbol.for("react.lazy"):60116,Ty=dy?Symbol.for("react.block"):60121,Py=dy?Symbol.for("react.fundamental"):60117,Ny=dy?Symbol.for("react.responder"):60118,xy=dy?Symbol.for("react.scope"):60119;function Ay(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case py:switch(e=e.type){case Ey:case wy:case hy:case gy:case yy:case _y:return e;default:switch(e=e&&e.$$typeof){case by:case Sy:case ky:case Oy:case vy:return e;default:return t}}case my:return t}}}function Ry(e){return Ay(e)===wy}var Ly={AsyncMode:Ey,ConcurrentMode:wy,ContextConsumer:by,ContextProvider:vy,Element:py,ForwardRef:Sy,Fragment:hy,Lazy:ky,Memo:Oy,Portal:my,Profiler:gy,StrictMode:yy,Suspense:_y,isAsyncMode:function(e){return Ry(e)||Ay(e)===Ey},isConcurrentMode:Ry,isContextConsumer:function(e){return Ay(e)===by},isContextProvider:function(e){return Ay(e)===vy},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===py},isForwardRef:function(e){return Ay(e)===Sy},isFragment:function(e){return Ay(e)===hy},isLazy:function(e){return Ay(e)===ky},isMemo:function(e){return Ay(e)===Oy},isPortal:function(e){return Ay(e)===my},isProfiler:function(e){return Ay(e)===gy},isStrictMode:function(e){return Ay(e)===yy},isSuspense:function(e){return Ay(e)===_y},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===hy||e===wy||e===gy||e===yy||e===_y||e===Cy||"object"==typeof e&&null!==e&&(e.$$typeof===ky||e.$$typeof===Oy||e.$$typeof===vy||e.$$typeof===by||e.$$typeof===Sy||e.$$typeof===Py||e.$$typeof===Ny||e.$$typeof===xy||e.$$typeof===Ty)},typeOf:Ay};function Iy(){}function My(){}d(function(e,t){}),d(function(e){e.exports=Ly}),My.resetWarningCache=Iy;var Dy=d(function(e){e.exports=function(){function e(e,t,n,r,o,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:My,resetWarningCache:Iy};return n.PropTypes=n,n}()}),Fy=d(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){return[].slice.call(t.querySelectorAll("*"),0).reduce(function(t,n){return t.concat(n.shadowRoot?e(n.shadowRoot):[n])},[]).filter(o)};var n=/input|select|textarea|button|object/;function r(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var n=window.getComputedStyle(e);return t?"visible"!==n.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0:"none"==n.getPropertyValue("display")}catch(e){return console.warn("Failed to inspect element style"),!1}}function o(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var o=isNaN(t);return(o||t>=0)&&function(e,t){var o=e.nodeName.toLowerCase();return(n.test(o)&&!e.disabled||"a"===o&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),r(t))return!1;t=t.parentNode}return!0}(e)}(e,!o)}e.exports=t.default}),jy=d(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){o=[]},t.log=function(){},t.handleBlur=l,t.handleFocus=u,t.markForFocusLater=function(){o.push(document.activeElement)},t.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==o.length&&(t=o.pop()).focus({preventScroll:e}))}catch(e){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},t.popWithoutFocus=function(){o.length>0&&o.pop()},t.setupScopedFocus=function(e){a=e,window.addEventListener?(window.addEventListener("blur",l,!1),document.addEventListener("focus",u,!0)):(window.attachEvent("onBlur",l),document.attachEvent("onFocus",u))},t.teardownScopedFocus=function(){a=null,window.addEventListener?(window.removeEventListener("blur",l),document.removeEventListener("focus",u)):(window.detachEvent("onBlur",l),document.detachEvent("onFocus",u))};var n,r=(n=Fy)&&n.__esModule?n:{default:n},o=[],a=null,i=!1;function l(){i=!0}function u(){if(i){if(i=!1,!a)return;setTimeout(function(){a.contains(document.activeElement)||((0,r.default)(a)[0]||a).focus()},0)}}}),Uy=d(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,r.default)(e);if(n.length){var o=void 0,a=t.shiftKey,i=n[0],l=n[n.length-1],u=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return t.activeElement.shadowRoot?e(t.activeElement.shadowRoot):t.activeElement}();if(e===u){if(!a)return;o=l}if(l!==u||a||(o=i),i===u&&a&&(o=l),o)return t.preventDefault(),void o.focus();var s=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null!=s&&"Chrome"!=s[1]&&null==/\biPod\b|\biPad\b/g.exec(navigator.userAgent)){var c=n.indexOf(u);if(c>-1&&(c+=a?-1:1),void 0===(o=n[c]))return t.preventDefault(),void(o=a?l:i).focus();t.preventDefault(),o.focus()}}else t.preventDefault()};var n,r=(n=Fy)&&n.__esModule?n:{default:n};e.exports=t.default}),zy=function(){},Vy=d(function(e){var t,n;n={canUseDOM:t=!("undefined"==typeof window||!window.document||!window.document.createElement),canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen},e.exports?e.exports=n:window.ExecutionEnvironment=n}),Gy=d(function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=t.SafeNodeList=t.SafeHTMLCollection=void 0;var r=((n=Vy)&&n.__esModule?n:{default:n}).default,o=r.canUseDOM?window.HTMLElement:{};t.SafeHTMLCollection=r.canUseDOM?window.HTMLCollection:{},t.SafeNodeList=r.canUseDOM?window.NodeList:{},t.canUseDOM=r.canUseDOM,t.default=o}),$y=d(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){o&&(o.removeAttribute?o.removeAttribute("aria-hidden"):null!=o.length?o.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(o).forEach(function(e){return e.removeAttribute("aria-hidden")})),o=null},t.log=function(){},t.assertNodeList=a,t.setElement=function(e){var t=e;if("string"==typeof t&&Gy.canUseDOM){var n=document.querySelectorAll(t);a(n,t),t=n}return o=t||o},t.validateElement=i,t.hide=function(e){var t=!0,n=!1,r=void 0;try{for(var o,a=i(e)[Symbol.iterator]();!(t=(o=a.next()).done);t=!0)o.value.setAttribute("aria-hidden","true")}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}},t.show=function(e){var t=!0,n=!1,r=void 0;try{for(var o,a=i(e)[Symbol.iterator]();!(t=(o=a.next()).done);t=!0)o.value.removeAttribute("aria-hidden")}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}},t.documentNotReadyOrSSRTesting=function(){o=null};var n,r=(n=zy)&&n.__esModule?n:{default:n},o=null;function a(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function i(e){var t=e||o;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,r.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}}),Wy=d(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){var e=document.getElementsByTagName("html")[0];for(var t in n)o(e,n[t]);var a=document.body;for(var i in r)o(a,r[i]);n={},r={}},t.log=function(){};var n={},r={};function o(e,t){e.classList.remove(t)}t.add=function(e,t){return o=e.classList,a="html"==e.nodeName.toLowerCase()?n:r,void t.split(" ").forEach(function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(a,e),o.add(e)});var o,a},t.remove=function(e,t){return o=e.classList,a="html"==e.nodeName.toLowerCase()?n:r,void t.split(" ").forEach(function(e){!function(e,t){e[t]&&(e[t]-=1)}(a,e),0===a[e]&&o.remove(e)});var o,a}}),By=d(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.log=function(){console.log("portalOpenInstances ----------"),console.log(r.openInstances.length),r.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")},t.resetState=function(){r=new n};var n=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)&&(t.openInstances.push(e),t.emit("register"))},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n&&(t.openInstances.splice(n,1),t.emit("deregister"))},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach(function(n){return n(e,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},r=new n;t.default=r}),Hy=(d(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){for(var e=[o,a],t=0;t<e.length;t++){var n=e[t];n&&n.parentNode&&n.parentNode.removeChild(n)}o=a=null,i=[]},t.log=function(){console.log("bodyTrap ----------"),console.log(i.length);for(var e=[o,a],t=0;t<e.length;t++){var n=e[t]||{};console.log(n.nodeName,n.className,n.id)}console.log("edn bodyTrap ----------")};var n,r=(n=By)&&n.__esModule?n:{default:n},o=void 0,a=void 0,i=[];function l(){0!==i.length&&i[i.length-1].focusContent()}r.default.subscribe(function(e,t){o||a||((o=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),o.style.position="absolute",o.style.opacity="0",o.setAttribute("tabindex","0"),o.addEventListener("focus",l),(a=o.cloneNode()).addEventListener("focus",l)),(i=t).length>0?(document.body.firstChild!==o&&document.body.insertBefore(o,document.body.firstChild),document.body.lastChild!==a&&document.body.appendChild(a)):(o.parentElement&&o.parentElement.removeChild(o),a.parentElement&&a.parentElement.removeChild(a))})}),d(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=p(Dy),i=d(jy),l=p(Uy),u=d($y),s=d(Wy),c=p(Gy),f=p(By);function d(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function p(e){return e&&e.__esModule?e:{default:e}}var m={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},h=0,y=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setOverlayRef=function(e){n.overlay=e,n.props.overlayRef&&n.props.overlayRef(e)},n.setContentRef=function(e){n.content=e,n.props.contentRef&&n.props.contentRef(e)},n.afterClose=function(){var e=n.props,t=e.appElement,r=e.ariaHideApp,o=e.htmlOpenClassName,a=e.bodyOpenClassName;a&&s.remove(document.body,a),o&&s.remove(document.getElementsByTagName("html")[0],o),r&&h>0&&0==(h-=1)&&u.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(i.returnFocus(n.props.preventScroll),i.teardownScopedFocus()):i.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),f.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(i.setupScopedFocus(n.node),i.markForFocusLater()),n.setState({isOpen:!0},function(){n.openAnimationFrame=requestAnimationFrame(function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})})}))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())})},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){9===e.keyCode&&(0,l.default)(n.content,e),n.props.shouldCloseOnEsc&&27===e.keyCode&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var o="object"===(void 0===t?"undefined":r(t))?t:{base:m[e],afterOpen:m[e]+"--after-open",beforeClose:m[e]+"--before-close"},a=o.base;return n.state.afterOpen&&(a=a+" "+o.afterOpen),n.state.beforeClose&&(a=a+" "+o.beforeClose),"string"==typeof t&&t?a+" "+t:a},n.attributesFromObject=function(e,t){return Object.keys(t).reduce(function(n,r){return n[e+"-"+r]=t[r],n},{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,r=e.htmlOpenClassName,o=e.bodyOpenClassName;o&&s.add(document.body,o),r&&s.add(document.getElementsByTagName("html")[0],r),n&&(h+=1,u.hide(t)),f.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,r=e.className,o=e.overlayClassName,a=e.defaultStyles,i=e.children,l=r?{}:a.content,u=o?{}:a.overlay;if(this.shouldBeClosed())return null;var s={ref:this.setOverlayRef,className:this.buildClassName("overlay",o),style:n({},u,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},c=n({id:t,ref:this.setContentRef,style:n({},l,this.props.style.content),className:this.buildClassName("content",r),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",n({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),f=this.props.contentElement(c,i);return this.props.overlayElement(s,f)}}]),t}(lr.Component);y.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},y.propTypes={isOpen:a.default.bool.isRequired,defaultStyles:a.default.shape({content:a.default.object,overlay:a.default.object}),style:a.default.shape({content:a.default.object,overlay:a.default.object}),className:a.default.oneOfType([a.default.string,a.default.object]),overlayClassName:a.default.oneOfType([a.default.string,a.default.object]),bodyOpenClassName:a.default.string,htmlOpenClassName:a.default.string,ariaHideApp:a.default.bool,appElement:a.default.oneOfType([a.default.instanceOf(c.default),a.default.instanceOf(Gy.SafeHTMLCollection),a.default.instanceOf(Gy.SafeNodeList),a.default.arrayOf(a.default.instanceOf(c.default))]),onAfterOpen:a.default.func,onAfterClose:a.default.func,onRequestClose:a.default.func,closeTimeoutMS:a.default.number,shouldFocusAfterRender:a.default.bool,shouldCloseOnOverlayClick:a.default.bool,shouldReturnFocusAfterClose:a.default.bool,preventScroll:a.default.bool,role:a.default.string,contentLabel:a.default.string,aria:a.default.object,data:a.default.object,children:a.default.node,shouldCloseOnEsc:a.default.bool,overlayRef:a.default.func,contentRef:a.default.func,id:a.default.string,overlayElement:a.default.func,contentElement:a.default.func,testId:a.default.string},t.default=y,e.exports=t.default}));function qy(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function Qy(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function Xy(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}qy.__suppressDeprecationWarning=!0,Qy.__suppressDeprecationWarning=!0,Xy.__suppressDeprecationWarning=!0;var Ky=d(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.bodyOpenClassName=t.portalClassName=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=c(lr),a=c(iy),i=c(Dy),l=c(Hy),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}($y),s=c(Gy);function c(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var p=t.portalClassName="ReactModalPortal",m=t.bodyOpenClassName="ReactModal__Body--open",h=Gy.canUseDOM&&void 0!==a.default.createPortal,y=function(e){return document.createElement(e)},g=function(){return h?a.default.createPortal:a.default.unstable_renderSubtreeIntoContainer};function v(e){return e()}var b=function(e){function t(){var e,r,i;f(this,t);for(var u=arguments.length,s=Array(u),c=0;c<u;c++)s[c]=arguments[c];return r=i=d(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),i.removePortal=function(){!h&&a.default.unmountComponentAtNode(i.node);var e=v(i.props.parentSelector);e&&e.contains(i.node)?e.removeChild(i.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},i.portalRef=function(e){i.portal=e},i.renderPortal=function(e){var r=g()(i,o.default.createElement(l.default,n({defaultStyles:t.defaultStyles},e)),i.node);i.portalRef(r)},d(i,r)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentDidMount",value:function(){Gy.canUseDOM&&(h||(this.node=y("div")),this.node.className=this.props.portalClassName,v(this.props.parentSelector).appendChild(this.node),!h&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:v(e.parentSelector),nextParent:v(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(e,t,n){if(Gy.canUseDOM){var r=this.props,o=r.isOpen,a=r.portalClassName;e.portalClassName!==a&&(this.node.className=a);var i=n.prevParent,l=n.nextParent;l!==i&&(i.removeChild(this.node),l.appendChild(this.node)),(e.isOpen||o)&&!h&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(Gy.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);n?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-t)):this.removePortal()}}},{key:"render",value:function(){return Gy.canUseDOM&&h?(!this.node&&h&&(this.node=y("div")),g()(o.default.createElement(l.default,n({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){u.setElement(e)}}]),t}(lr.Component);b.propTypes={isOpen:i.default.bool.isRequired,style:i.default.shape({content:i.default.object,overlay:i.default.object}),portalClassName:i.default.string,bodyOpenClassName:i.default.string,htmlOpenClassName:i.default.string,className:i.default.oneOfType([i.default.string,i.default.shape({base:i.default.string.isRequired,afterOpen:i.default.string.isRequired,beforeClose:i.default.string.isRequired})]),overlayClassName:i.default.oneOfType([i.default.string,i.default.shape({base:i.default.string.isRequired,afterOpen:i.default.string.isRequired,beforeClose:i.default.string.isRequired})]),appElement:i.default.oneOfType([i.default.instanceOf(s.default),i.default.instanceOf(Gy.SafeHTMLCollection),i.default.instanceOf(Gy.SafeNodeList),i.default.arrayOf(i.default.instanceOf(s.default))]),onAfterOpen:i.default.func,onRequestClose:i.default.func,closeTimeoutMS:i.default.number,ariaHideApp:i.default.bool,shouldFocusAfterRender:i.default.bool,shouldCloseOnOverlayClick:i.default.bool,shouldReturnFocusAfterClose:i.default.bool,preventScroll:i.default.bool,parentSelector:i.default.func,aria:i.default.object,data:i.default.object,role:i.default.string,contentLabel:i.default.string,shouldCloseOnEsc:i.default.bool,overlayRef:i.default.func,contentRef:i.default.func,id:i.default.string,overlayElement:i.default.func,contentElement:i.default.func},b.defaultProps={isOpen:!1,portalClassName:p,bodyOpenClassName:m,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return o.default.createElement("div",e,t)},contentElement:function(e,t){return o.default.createElement("div",e,t)}},b.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},function(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,r=null,o=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?o="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==n||null!==r||null!==o)throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+(e.displayName||e.name)+" uses "+("function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()")+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==r?"\n "+r:"")+(null!==o?"\n "+o:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks");if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=qy,t.componentWillReceiveProps=Qy),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=Xy;var a=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){a.call(this,e,t,this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n)}}}(b),t.default=b}),Yy=f(d(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n,r=(n=Ky)&&n.__esModule?n:{default:n};t.default=r.default,e.exports=t.default})),Zy=d(function(e){!function(t){var n,r,o=!1;function a(e){if("undefined"!=typeof document&&!o){var t=document.documentElement;r=window.pageYOffset,t.style.width=document.documentElement.scrollHeight>window.innerHeight?"calc(100% - "+function(){if(void 0!==n)return n;var e=document.documentElement,t=document.createElement("div");return t.setAttribute("style","width:99px;height:99px;position:absolute;top:-9999px;overflow:scroll;"),e.appendChild(t),n=t.offsetWidth-t.clientWidth,e.removeChild(t),n}()+"px)":"100%",t.style.position="fixed",t.style.top=-r+"px",t.style.overflow="hidden",o=!0}}function i(){if("undefined"!=typeof document&&o){var e=document.documentElement;e.style.width="",e.style.position="",e.style.top="",e.style.overflow="",window.scroll(0,r),o=!1}}e.exports={on:a,off:i,toggle:function(){o?i():a()}}}()});function Jy(e){var t=e.color;return lr.createElement("svg",{className:e.className,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},lr.createElement("path",{d:"M12.5964 11.404L9.41445 8.22205L12.5964 5.04007C12.7732 4.86329 12.7732 4.50974 12.5964 4.33296L11.8893 3.62585C11.6904 3.42698 11.359 3.44908 11.1822 3.62585L8.00023 6.80783L4.81825 3.62585C4.61938 3.42698 4.28792 3.44908 4.11114 3.62585L3.40404 4.33296C3.20516 4.53183 3.20516 4.84119 3.40404 5.04007L6.58602 8.22205L3.40404 11.404C3.20516 11.6029 3.20517 11.9123 3.40404 12.1111L4.11115 12.8182C4.28792 12.995 4.61938 13.0171 4.81825 12.8182L8.00023 9.63626L11.1822 12.8182C11.359 12.995 11.6904 13.0171 11.8893 12.8182L12.5964 12.1111C12.7732 11.9344 12.7732 11.5808 12.5964 11.404Z",fill:void 0===t?"#fff":t}))}var eg="alma-eligibility-modal",tg={leftSide:eg+"-left-side",rightSide:eg+"-right-side",title:eg+"-title",info:eg+"-info",infoMessage:eg+"-info-message",eligibilityOptions:eg+"-eligibility-options",activeOption:eg+"-active-option",closeButton:eg+"-close-button",scheduleDetails:eg+"-schedule-details",scheduleTotal:eg+"-schedule-total",scheduleCredit:eg+"-schedule-credit"},ng=["children","isOpen","onClose","className","contentClassName","scrollable"],rg=function(e){var t,n=e.children,r=e.isOpen,o=e.onClose,a=e.className,i=e.contentClassName,l=e.scrollable,u=void 0!==l&&l,s=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(o[n]=e[n]);return o}(e,ng);return Yy.setAppElement("body"),lr.createElement(Yy,Object.assign({className:cy("_D8SjB",a),overlayClassName:"_1yxCb",onAfterOpen:function(){Zy.on()},onAfterClose:function(){Zy.off()},onRequestClose:o,isOpen:r,shouldCloseOnOverlayClick:!0,shouldCloseOnEsc:!0},s),lr.createElement("div",{className:"_12LLh"},lr.createElement("button",{onClick:o,className:cy("_3YRro",tg.closeButton),"data-testid":"modal-close-button"},lr.createElement(Jy,null))),lr.createElement("div",{className:cy("_ocM9x",i,(t={},t._1GP2F=u,t))},n))},og=d(function(e,t){var n;"undefined"!=typeof self&&self,e.exports=(n=lr,function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=8)}([function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(1)),a=r(n(9)),i=r(n(2)),l=n(11),u=r(n(3)),s=r(n(7)),c=function(e){if(e)return Object.keys(e).reduce(function(t,n){return t[(0,i.default)(n)]=e[n],t},{})},f=function(){var e=o.default.useRef(!1);return o.default.useEffect(function(){e.current=!0},[]),e.current};t.default=function(e,t,n){var r=function(e){var t=o.default.useContext(s.default),n=function(){return c(e)||c(t)},r=o.default.useState(n),a=r[0],i=r[1];return o.default.useEffect(function(){var e=n();(0,l.shallowEqualObjects)(a,e)||i(e)},[e,t]),a}(t),i=function(e){var t=function(){return function(e){return e.query||(0,u.default)(e)}(e)},n=o.default.useState(t),r=n[0],a=n[1];return o.default.useEffect(function(){var e=t();r!==e&&a(e)},[e]),r}(e);if(!i)throw new Error("Invalid or missing MediaQuery!");var d=function(e,t){var n=function(){return(0,a.default)(e,t||{},!!t)},r=o.default.useState(n),i=r[0],l=r[1],u=f();return o.default.useEffect(function(){if(u){var e=n();return l(e),function(){e&&e.dispose()}}},[e,t]),i}(i,r),p=function(e){var t=o.default.useState(e.matches),n=t[0],r=t[1];return o.default.useEffect(function(){var t=function(){r(e.matches)};return e.addListener(t),t(),function(){e.removeListener(t)}},[e]),n}(d),m=f();return o.default.useEffect(function(){m&&n&&n(p)},[p]),o.default.useEffect(function(){return function(){d&&d.dispose()}},[]),p}},function(e,t){e.exports=n},function(e,t,n){function r(e){return"-"+e.toLowerCase()}Object.defineProperty(t,"__esModule",{value:!0});var o=/[A-Z]/g,a=/^ms-/,i={};t.default=function(e){if(i.hasOwnProperty(e))return i[e];var t=e.replace(o,r);return i[e]=a.test(t)?"-"+t:t}},function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2)),a=r(n(12));t.default=function(e){var t=[];return Object.keys(a.default.all).forEach(function(n){var r=e[n];null!=r&&t.push(function(e,t){var n=(0,o.default)(e);return"number"==typeof t&&(t="".concat(t,"px")),!0===t?n:!1===t?"not ".concat(n):"(".concat(n,": ").concat(t,")")}(n,r))}),t.join(" and ")}},function(e,t,n){e.exports=n(14)},function(e,t,n){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t){e.exports=Function.call.bind(Object.prototype.hasOwnProperty)},function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(1)).default.createContext(void 0);t.default=o},function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Context=t.toQuery=t.useMediaQuery=t.default=void 0;var o=r(n(0));t.useMediaQuery=o.default;var a=r(n(18));t.default=a.default;var i=r(n(3));t.toQuery=i.default;var l=r(n(7));t.Context=l.default},function(e,t,n){function r(e,t,n){function r(e){i.matches=e.matches,i.media=e.media}var i=this;if(a&&!n){var l=a.call(window,e);this.matches=l.matches,this.media=l.media,l.addListener(r)}else this.matches=o(e,t),this.media=e;this.addListener=function(e){l&&l.addListener(e)},this.removeListener=function(e){l&&l.removeListener(e)},this.dispose=function(){l&&l.removeListener(r)}}var o=n(10).match,a="undefined"!=typeof window?window.matchMedia:null;e.exports=function(e,t,n){return new r(e,t,n)}},function(e,t,n){function r(e){return e.split(",").map(function(e){var t=(e=e.trim()).match(l),n=t[1],r=t[2],o=t[3]||"",a={};return a.inverse=!!n&&"not"===n.toLowerCase(),a.type=r?r.toLowerCase():"all",o=o.match(/\([^\)]+\)/g)||[],a.expressions=o.map(function(e){var t=e.match(u),n=t[1].toLowerCase().match(s);return{modifier:n[1],feature:n[2],value:t[2]}}),a})}function o(e){var t,n=Number(e);return n||(n=(t=e.match(/^(\d+)\s*\/\s*(\d+)$/))[1]/t[2]),n}function a(e){var t=parseFloat(e);switch(String(e).match(f)[1]){case"dpcm":return t/2.54;case"dppx":return 96*t;default:return t}}function i(e){var t=parseFloat(e);switch(String(e).match(c)[1]){case"em":case"rem":return 16*t;case"cm":return 96*t/2.54;case"mm":return 96*t/2.54/10;case"in":return 96*t;case"pt":return 72*t;case"pc":return 72*t/12;default:return t}}t.match=function(e,t){return r(e).some(function(e){var n=e.inverse,r="all"===e.type||t.type===e.type;if(r&&n||!r&&!n)return!1;var l=e.expressions.every(function(e){var n=e.feature,r=e.modifier,l=e.value,u=t[n];if(!u)return!1;switch(n){case"orientation":case"scan":return u.toLowerCase()===l.toLowerCase();case"width":case"height":case"device-width":case"device-height":l=i(l),u=i(u);break;case"resolution":l=a(l),u=a(u);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":l=o(l),u=o(u);break;case"grid":case"color":case"color-index":case"monochrome":l=parseInt(l,10)||1,u=parseInt(u,10)||0}switch(r){case"min":return u>=l;case"max":return u<=l;default:return u===l}});return l&&!n||!l&&n})},t.parse=r;var l=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,u=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,s=/^(?:(min|max)-)?(.+)/,c=/(em|rem|px|cm|mm|in|pt|pc)?$/,f=/(dpi|dpcm|dppx)?$/},function(e,t,n){function r(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),o=n.length;if(r.length!==o)return!1;for(var a=0;a<o;a++){var i=n[a];if(e[i]!==t[i]||!Object.prototype.hasOwnProperty.call(t,i))return!1}return!0}function o(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=e.length;if(t.length!==n)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"shallowEqualArrays",function(){return o}),n.d(t,"shallowEqualObjects",function(){return r})},function(e,t,n){var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=a(n(13)),l=i.default.oneOfType([i.default.string,i.default.number]),u={all:i.default.bool,grid:i.default.bool,aural:i.default.bool,braille:i.default.bool,handheld:i.default.bool,print:i.default.bool,projection:i.default.bool,screen:i.default.bool,tty:i.default.bool,tv:i.default.bool,embossed:i.default.bool},s={orientation:i.default.oneOf(["portrait","landscape"]),scan:i.default.oneOf(["progressive","interlace"]),aspectRatio:i.default.string,deviceAspectRatio:i.default.string,height:l,deviceHeight:l,width:l,deviceWidth:l,color:i.default.bool,colorIndex:i.default.bool,monochrome:i.default.bool,resolution:l,type:Object.keys(u)},c=o(s,["type"]),f=r({minAspectRatio:i.default.string,maxAspectRatio:i.default.string,minDeviceAspectRatio:i.default.string,maxDeviceAspectRatio:i.default.string,minHeight:l,maxHeight:l,minDeviceHeight:l,maxDeviceHeight:l,minWidth:l,maxWidth:l,minDeviceWidth:l,maxDeviceWidth:l,minColor:i.default.number,maxColor:i.default.number,minColorIndex:i.default.number,maxColorIndex:i.default.number,minMonochrome:i.default.number,maxMonochrome:i.default.number,minResolution:l,maxResolution:l},c),d=r(r({},u),f);t.default={all:d,types:u,matchers:s,features:f}},function(e,t,n){var r=n(4);e.exports=n(15)(r.isElement,!0)},function(e,t,n){!function(){function e(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:var n=e.type;switch(n){case f:case d:case i:case u:case l:case m:return n;default:var r=n&&n.$$typeof;switch(r){case c:case p:case g:case y:case s:return r;default:return t}}case a:return t}}}function n(t){return e(t)===d}var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,l=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,s=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,m=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,y=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,E=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119,S=d,_=c,C=s,O=o,k=p,T=i,P=g,N=y,x=a,A=u,R=l,L=m,I=!1;t.AsyncMode=f,t.ConcurrentMode=S,t.ContextConsumer=_,t.ContextProvider=C,t.Element=O,t.ForwardRef=k,t.Fragment=T,t.Lazy=P,t.Memo=N,t.Portal=x,t.Profiler=A,t.StrictMode=R,t.Suspense=L,t.isAsyncMode=function(t){return I||(I=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),n(t)||e(t)===f},t.isConcurrentMode=n,t.isContextConsumer=function(t){return e(t)===c},t.isContextProvider=function(t){return e(t)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(t){return e(t)===p},t.isFragment=function(t){return e(t)===i},t.isLazy=function(t){return e(t)===g},t.isMemo=function(t){return e(t)===y},t.isPortal=function(t){return e(t)===a},t.isProfiler=function(t){return e(t)===u},t.isStrictMode=function(t){return e(t)===l},t.isSuspense=function(t){return e(t)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===u||e===l||e===m||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===y||e.$$typeof===s||e.$$typeof===c||e.$$typeof===p||e.$$typeof===b||e.$$typeof===E||e.$$typeof===w||e.$$typeof===v)},t.typeOf=e}()},function(e,t,n){function r(){return null}var o,a=n(4),i=n(16),l=n(5),u=n(6),s=n(17);o=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}},e.exports=function(e,t){function n(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function c(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function f(e){function n(n,i,u,s,f,d,p){if(s=s||E,d=d||u,p!==l){if(t){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}if("undefined"!=typeof console){var h=s+":"+u;!r[h]&&a<3&&(o("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+s+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),r[h]=!0,a++)}}return null==i[u]?n?new c(null===i[u]?"The "+f+" `"+d+"` is marked as required in `"+s+"`, but its value is `null`.":"The "+f+" `"+d+"` is marked as required in `"+s+"`, but its value is `undefined`."):null:e(i,u,s,f,d)}var r={},a=0,i=n.bind(null,!1);return i.isRequired=n.bind(null,!0),i}function d(e){return f(function(t,n,r,o,a,i){var l=t[n];return h(l)!==e?new c("Invalid "+o+" `"+a+"` of type `"+y(l)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null})}function p(e,t,n,r,o){return new c((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function m(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(m);if(null===t||e(t))return!0;var n=function(e){var t=e&&(v&&e[v]||e[b]);if("function"==typeof t)return t}(t);if(!n)return!1;var r,o=n.call(t);if(n!==t.entries){for(;!(r=o.next()).done;)if(!m(r.value))return!1}else for(;!(r=o.next()).done;){var a=r.value;if(a&&!m(a[1]))return!1}return!0;default:return!1}}function h(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function y(e){if(null==e)return""+e;var t=h(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function g(e){var t=y(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}var v="function"==typeof Symbol&&Symbol.iterator,b="@@iterator",E="<<anonymous>>",w={array:d("array"),bigint:d("bigint"),bool:d("boolean"),func:d("function"),number:d("number"),object:d("object"),string:d("string"),symbol:d("symbol"),any:f(r),arrayOf:function(e){return f(function(t,n,r,o,a){if("function"!=typeof e)return new c("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var i=t[n];if(!Array.isArray(i))return new c("Invalid "+o+" `"+a+"` of type `"+h(i)+"` supplied to `"+r+"`, expected an array.");for(var u=0;u<i.length;u++){var s=e(i,u,r,o,a+"["+u+"]",l);if(s instanceof Error)return s}return null})},element:f(function(t,n,r,o,a){var i=t[n];return e(i)?null:new c("Invalid "+o+" `"+a+"` of type `"+h(i)+"` supplied to `"+r+"`, expected a single ReactElement.")}),elementType:f(function(e,t,n,r,o){var i=e[t];return a.isValidElementType(i)?null:new c("Invalid "+r+" `"+o+"` of type `"+h(i)+"` supplied to `"+n+"`, expected a single ReactElement type.")}),instanceOf:function(e){return f(function(t,n,r,o,a){var i;return t[n]instanceof e?null:new c("Invalid "+o+" `"+a+"` of type `"+((i=t[n]).constructor&&i.constructor.name?i.constructor.name:E)+"` supplied to `"+r+"`, expected instance of `"+(e.name||E)+"`.")})},node:f(function(e,t,n,r,o){return m(e[t])?null:new c("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")}),objectOf:function(e){return f(function(t,n,r,o,a){if("function"!=typeof e)return new c("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var i=t[n],s=h(i);if("object"!==s)return new c("Invalid "+o+" `"+a+"` of type `"+s+"` supplied to `"+r+"`, expected an object.");for(var f in i)if(u(i,f)){var d=e(i,f,r,o,a+"."+f,l);if(d instanceof Error)return d}return null})},oneOf:function(e){function t(t,r,o,a,i){for(var l=t[r],u=0;u<e.length;u++)if(n(l,e[u]))return null;var s=JSON.stringify(e,function(e,t){return"symbol"===y(t)?String(t):t});return new c("Invalid "+a+" `"+i+"` of value `"+String(l)+"` supplied to `"+o+"`, expected one of "+s+".")}return Array.isArray(e)?f(t):(o(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),r)},oneOfType:function(e){if(!Array.isArray(e))return o("Invalid argument supplied to oneOfType, expected an instance of array."),r;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+g(n)+" at index "+t+"."),r}return f(function(t,n,r,o,a){for(var i=[],s=0;s<e.length;s++){var f=(0,e[s])(t,n,r,o,a,l);if(null==f)return null;f.data&&u(f.data,"expectedType")&&i.push(f.data.expectedType)}return new c("Invalid "+o+" `"+a+"` supplied to `"+r+"`"+(i.length>0?", expected one of type ["+i.join(", ")+"]":"")+".")})},shape:function(e){return f(function(t,n,r,o,a){var i=t[n],u=h(i);if("object"!==u)return new c("Invalid "+o+" `"+a+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");for(var s in e){var f=e[s];if("function"!=typeof f)return p(r,o,a,s,y(f));var d=f(i,s,r,o,a+"."+s,l);if(d)return d}return null})},exact:function(e){return f(function(t,n,r,o,a){var s=t[n],f=h(s);if("object"!==f)return new c("Invalid "+o+" `"+a+"` of type `"+f+"` supplied to `"+r+"`, expected `object`.");var d=i({},t[n],e);for(var m in d){var g=e[m];if(u(e,m)&&"function"!=typeof g)return p(r,o,a,m,y(g));if(!g)return new c("Invalid "+o+" `"+a+"` key `"+m+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var v=g(s,m,r,o,a+"."+m,l);if(v)return v}return null})}};return c.prototype=Error.prototype,w.checkPropTypes=s,w.resetWarningCache=s.resetWarningCache,w.PropTypes=w,w}},function(e,t,n){function r(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var o=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,l,u=r(e),s=1;s<arguments.length;s++){for(var c in n=Object(arguments[s]))a.call(n,c)&&(u[c]=n[c]);if(o){l=o(n);for(var f=0;f<l.length;f++)i.call(n,l[f])&&(u[l[f]]=n[l[f]])}}return u}},function(e,t,n){function r(e,t,n,r,u){for(var s in e)if(l(e,s)){var c;try{if("function"!=typeof e[s]){var f=Error((r||"React class")+": "+n+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw f.name="Invariant Violation",f}c=e[s](t,s,r,n,null,a)}catch(e){c=e}if(!c||c instanceof Error||o((r||"React class")+": type specification of "+n+" `"+s+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof c+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),c instanceof Error&&!(c.message in i)){i[c.message]=!0;var d=u?u():"";o("Failed "+n+" type: "+c.message+(null!=d?d:""))}}}var o=function(){},a=n(5),i={},l=n(6);o=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}},r.resetWarningCache=function(){i={}},e.exports=r},function(e,t,n){var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=o(n(0));t.default=function(e){var t=e.children,n=e.device,o=e.onChange,i=r(e,["children","device","onChange"]),l=(0,a.default)(i,n,o);return"function"==typeof t?t(l):l?t:null}}]))});function ag(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function ig(e){ag(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}function lg(e){ag(1,arguments);var t=ig(e);return t.setHours(0,0,0,0),t}function ug(e,t){ag(2,arguments);var n=lg(e),r=lg(t);return n.getTime()===r.getTime()}function sg(e){return ag(1,arguments),1e3*e}var cg=function(e){var t=e.installments_count,n=e.deferred_days+30*e.deferred_months;return 1===t?lr.createElement(ei,{id:"payment-plan-strings.day-abbreviation",defaultMessage:"J{numberOfDeferredDays}",values:{numberOfDeferredDays:n>0?"+"+n:""}}):t+"x"},fg=function(e){var t;if(null!=(t=e.payment_plan)&&t.every(function(e){return 0===e.customer_fee&&0===e.customer_interest}))return lr.createElement(lr.Fragment,null," ",lr.createElement(ei,{id:"payment-plan-strings.no-fee",defaultMessage:"(sans frais)"}))},dg=function(e){var t=e.eligibilityPlans,n=e.currentPlanIndex,r=e.setCurrentPlanIndex;return lr.createElement("div",{className:cy("_1l2Oa",tg.eligibilityOptions)},t.map(function(e,t){var o;return lr.createElement("button",{key:t,className:cy((o={},o[cy("_3rue7",tg.activeOption)]=t===n,o)),onClick:function(){return r(t)}},cg(e))}))},pg=function(e){var t=e.currentPlan,n=t&&er(t.purchase_amount+t.customer_total_cost_amount),r=t?er(t.customer_total_cost_amount):0,o=(null==t?void 0:t.annual_interest_rate)&&t.annual_interest_rate/1e4,a=er(t?t.customer_total_cost_amount:0),i=t&&t.installments_count>4,l=Ha();return lr.createElement("div",{className:cy("_MPKjS",tg.scheduleDetails),"data-testid":"modal-installments-element"},lr.createElement("div",{className:cy("_1A7Qv","_14Ejo",tg.scheduleTotal)},lr.createElement("span",null,lr.createElement(ei,{id:"eligibility-modal.total",defaultMessage:"Total"})),lr.createElement("span",null,lr.createElement(ni,{value:n,style:"currency",currency:"EUR"}))),lr.createElement("div",{className:cy("_1A7Qv","_1ZIgu",tg.scheduleCredit)},lr.createElement("span",null,lr.createElement(ei,i?{id:"eligibility-modal.credit-cost",defaultMessage:"Dont coût du crédit"}:{id:"eligibility-modal.cost",defaultMessage:"Dont frais"})),lr.createElement("span",null,i?lr.createElement(ei,{id:"eligibility-modal.credit-cost-amount",defaultMessage:"{creditCost} (TAEG {TAEG})",values:{creditCost:l.formatNumber(r,{style:"currency",currency:"EUR"}),TAEG:l.formatNumber(null!=o?o:0,{style:"percent",maximumFractionDigits:2})}}):lr.createElement(ni,{value:a,style:"currency",currency:"EUR"}))),((null==t?void 0:t.payment_plan)||[]).map(function(e,t){return lr.createElement("div",{className:"_1A7Qv",key:t},lr.createElement("span",null,function(e){return ag(1,arguments),ug(e,Date.now())}(1e3*e.due_date)?lr.createElement(ei,{id:"installments.today",defaultMessage:"Aujourd'hui"}):lr.createElement(ti,{value:1e3*e.due_date,day:"numeric",month:"long",year:"numeric"})),lr.createElement("span",null,lr.createElement(ni,{value:er(e.total_amount),style:"currency",currency:"EUR"})))}),i&&lr.createElement("p",{className:"_1BUr8"},lr.createElement(ei,{id:"eligibility-modal.credit-commitment",defaultMessage:"Un crédit vous engage et doit être remboursé. Vérifiez vos capacités de remboursement\n avant de vous engager."})))},mg=function(){return lr.createElement("div",{className:cy("_180ro",tg.info),"data-testid":"modal-info-element"},lr.createElement("div",{className:"_1HqCO"},lr.createElement("div",{className:"_3B8wx"},"1"),lr.createElement("div",{className:tg.infoMessage},lr.createElement(ei,{id:"eligibility-modal.bullet-1",defaultMessage:"Choisissez <strong>Alma</strong> au moment du paiement.",values:{strong:function(){return lr.createElement("strong",null,[].slice.call(arguments))}}}))),lr.createElement("div",{className:"_1HqCO"},lr.createElement("div",{className:"_3B8wx"},"2"),lr.createElement("div",{className:tg.infoMessage},lr.createElement(ei,{id:"eligibility-modal.bullet-2",defaultMessage:"Renseignez les <strong>informations</strong> demandées.",values:{strong:function(){return lr.createElement("strong",null,[].slice.call(arguments))}}}))),lr.createElement("div",{className:"_1HqCO"},lr.createElement("div",{className:"_3B8wx"},"3"),lr.createElement("div",{className:tg.infoMessage},lr.createElement(ei,{id:"eligibility-modal.bullet-3",defaultMessage:"La validation de votre paiement <strong>instantanée</strong> !",values:{strong:function(){return lr.createElement("strong",null,[].slice.call(arguments))}}}))))};function hg(e){var t=e.color,n=void 0===t?"#00425D":t,r=e.underlineColor,o=void 0===r?"#00425D":r;return lr.createElement("svg",{className:e.className,width:"35",height:"23",viewBox:"0 0 40 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},lr.createElement("path",{d:"M6.38546 10.1313V10.029H4.92542C4.23835 10.029 3.72877 10.0972 3.39668 10.2337C3.07605 10.3587 2.91573 10.6374 2.91573 11.0695C2.91573 11.7177 3.37378 12.0418 4.28988 12.0418C5.05711 12.0418 5.59532 11.8826 5.9045 11.5642C6.22514 11.2344 6.38546 10.7568 6.38546 10.1313ZM3.72304 13.9182C2.64663 13.9182 1.85076 13.6567 1.33546 13.1335C0.820153 12.599 0.5625 11.911 0.5625 11.0695C0.5625 10.0574 0.894586 9.32958 1.55876 8.88606C2.22293 8.43118 3.23636 8.20374 4.59906 8.20374H6.38546V7.82846C6.38546 6.98693 5.84725 6.56616 4.77083 6.56616C3.80893 6.56616 3.27644 6.93007 3.17338 7.65788H0.768622C0.848781 6.78223 1.21522 6.04873 1.86794 5.45738C2.52066 4.86603 3.50547 4.57036 4.82236 4.57036C6.1278 4.57036 7.11261 4.86035 7.77678 5.44032C8.44095 6.0203 8.77304 6.83909 8.77304 7.89669V13.7135H6.60875V12.7241C6.09345 13.5202 5.13155 13.9182 3.72304 13.9182Z",fill:n}),lr.createElement("path",{d:"M14.2554 11.6324V13.6965C14.0149 13.7306 13.763 13.7476 13.4996 13.7476C12.5492 13.7476 11.8736 13.5486 11.4728 13.1506C11.072 12.7412 10.8716 12.0873 10.8716 11.1889V0.919922H13.3107V11.0183C13.3107 11.2344 13.3508 11.3936 13.4309 11.496C13.5111 11.5983 13.6771 11.6495 13.929 11.6495C13.9863 11.6495 14.0493 11.6495 14.118 11.6495C14.1982 11.6381 14.244 11.6324 14.2554 11.6324Z",fill:n}),lr.createElement("path",{d:"M23.8943 8.63019V13.7135H21.4552V8.40844C21.4552 7.23711 20.9742 6.65145 20.0123 6.65145C19.4512 6.65145 19.0161 6.82203 18.7069 7.16319C18.4092 7.50436 18.2603 7.9763 18.2603 8.57902V13.7135H15.8212V4.77506H18.0714V5.86678C18.5409 5.0025 19.4054 4.57036 20.6651 4.57036C21.856 4.57036 22.7263 4.99113 23.2759 5.83266C24.0432 4.99113 25.0394 4.57036 26.2647 4.57036C27.3182 4.57036 28.1255 4.89446 28.6867 5.54267C29.2478 6.19088 29.5283 7.05516 29.5283 8.13551V13.7135H27.0892V8.40844C27.0892 7.23711 26.6083 6.65145 25.6464 6.65145C25.0738 6.65145 24.6386 6.82772 24.3409 7.18025C24.0432 7.52141 23.8943 8.00473 23.8943 8.63019Z",fill:n}),lr.createElement("path",{d:"M37.0321 10.1313V10.029H35.572C34.885 10.029 34.3754 10.0972 34.0433 10.2337C33.7227 10.3587 33.5623 10.6374 33.5623 11.0695C33.5623 11.7177 34.0204 12.0418 34.9365 12.0418C35.7037 12.0418 36.2419 11.8826 36.5511 11.5642C36.8717 11.2344 37.0321 10.7568 37.0321 10.1313ZM34.3696 13.9182C33.2932 13.9182 32.4974 13.6567 31.9821 13.1335C31.4668 12.599 31.2091 11.911 31.2091 11.0695C31.2091 10.0574 31.5412 9.32958 32.2054 8.88606C32.8695 8.43118 33.883 8.20374 35.2457 8.20374H37.0321V7.82846C37.0321 6.98693 36.4939 6.56616 35.4174 6.56616C34.4555 6.56616 33.923 6.93007 33.82 7.65788H31.4152C31.4954 6.78223 31.8618 6.04873 32.5145 5.45738C33.1673 4.86603 34.1521 4.57036 35.469 4.57036C36.7744 4.57036 37.7592 4.86035 38.4234 5.44032C39.0876 6.0203 39.4196 6.83909 39.4196 7.89669V13.7135H37.2554V12.7241C36.7401 13.5202 35.7781 13.9182 34.3696 13.9182Z",fill:n}),lr.createElement("rect",{y:"20",width:"40",height:"3",fill:o}))}var yg,gg,vg,bg=function(){return lr.createElement("div",{className:"_3Oyv_"},lr.createElement(hg,{underlineColor:"#FF414D"}))},Eg=function(e){var t=e.isSomePlanDeferred;return lr.createElement("div",{className:cy("_3ERx-",tg.title),"data-testid":"modal-title-element"},lr.createElement(ei,t?{id:"eligibility-modal.title-deferred",defaultMessage:"<highlighted>Payez en plusieurs fois</highlighted> ou plus tard par carte bancaire avec Alma.",values:{highlighted:function(){return lr.createElement("span",null,[].slice.call(arguments))}}}:{id:"eligibility-modal.title",defaultMessage:"<highlighted>Payez en plusieurs fois</highlighted> par carte bancaire avec Alma.",values:{highlighted:function(){return lr.createElement("span",null,[].slice.call(arguments))}}}))},wg=function(e){var t=e.children,n=e.isSomePlanDeferred;return lr.createElement("div",{className:"_21g6u","data-testid":"modal-container"},lr.createElement("div",{className:cy(["_3zaP5","_2SBRC",tg.leftSide])},lr.createElement(Eg,{isSomePlanDeferred:n}),lr.createElement(mg,null),lr.createElement(bg,null)),lr.createElement("div",{className:cy("_3zaP5",tg.rightSide)},t))},Sg=function(e){var t=e.children;return lr.createElement("div",{className:"_2G7Ch","data-testid":"modal-container"},lr.createElement(Eg,{isSomePlanDeferred:e.isSomePlanDeferred}),t,lr.createElement(mg,null),lr.createElement(bg,null))},_g=function(e){var t=e.onClose,n=e.eligibilityPlans,r=e.status,o=lr.useState(e.initialPlanIndex||0),a=o[0],i=o[1],l=og.useMediaQuery({minWidth:800})?wg:Sg,u=n.filter(function(e){return e.eligible}),s=u[a],c=n.some(function(e){return e.deferred_days>0||e.deferred_months>0});return lr.createElement(rg,{onClose:t,ariaHideApp:!1,scrollable:!0,isOpen:!0},lr.createElement(l,{isSomePlanDeferred:c},r===Kn.PENDING&&lr.createElement("div",{className:"_2oTJq"},lr.createElement(fy,null)),r===Kn.SUCCESS&&0===u.length&&lr.createElement("div",{className:"_17qNJ"},lr.createElement(ei,{id:"eligibility-modal.no-eligibility",defaultMessage:"Oups, il semblerait que la simulation n'ait pas fonctionné."})),r===Kn.SUCCESS&&u.length>=1&&lr.createElement(lr.Fragment,null,lr.createElement(dg,{eligibilityPlans:u,currentPlanIndex:a,setCurrentPlanIndex:i}),lr.createElement(pg,{currentPlan:s}))))},Cg=function(e){var t=e.onClose,n=sy(e.purchaseAmount,e.apiData,e.configPlans);return lr.createElement(_g,{initialPlanIndex:0,onClose:t,eligibilityPlans:n[0],status:n[1]})},Og=function(e){return lr.createElement("div",{className:cy("_2SwwZ",e.className),"data-testid":"loader"},lr.createElement("div",{className:"_2qODo"}),lr.createElement("div",{className:"_2YO01"}))},kg="alma-payment-plans",Tg={container:kg+"-container",eligibilityLine:kg+"-eligibility-line",eligibilityOptions:kg+"-eligibility-options",notEligibleOption:kg+"-not-eligible-option",paymentInfo:kg+"-payment-info",activeOption:kg+"-active-option"},Pg=function(e){var t,n,r,o,a=e.transitionDelay,i=e.hideIfNotEligible,l=e.suggestedPaymentPlan,u=sy(e.purchaseAmount,e.apiData,e.configPlans),s=u[0],c=u[1],f=s.filter(function(e){return e.eligible}),d=function(e){var t=e.suggestedPaymentPlan,n=e.eligibilityPlans,r=Array.isArray(t)?t:[t],o=function(e){var t=r[e],o=n.findIndex(function(e){return e.installments_count===t&&e.eligible});if(-1!==o)return{v:o}};for(var a in r){var i=o(a);if("object"==typeof i)return i.v}return 0}({eligibilityPlans:s,suggestedPaymentPlan:null!=l?l:0}),p=void 0!==l,m=void 0!==a,h=lr.useState(!1),y=h[0],g=h[1],v=s.reduce(function(e,t,n){return t.eligible?[].concat(e,[n]):e},[]),b=function(e,t){var n=lr.useState(0),r=n[0],o=n[1],a=lr.useState(!0),i=a[0],l=a[1];return lr.useEffect(function(){var n=!0;return 0!==e.length&&(!e.includes(r)&&i&&o(e[0]),setTimeout(function(){i&&n&&o(e[e.includes(r)?(e.indexOf(r)+1)%e.length:0])},t)),function(){n=!1}},[e,r]),{current:r,onHover:function(e){o(e),l(!1)},onLeave:function(){l(!0)}}}(v,m?null!=a?a:5500:p?31536e6:5500),E=b.current,w=b.onHover,S=b.onLeave;return lr.useEffect(function(){c===Kn.SUCCESS&&p&&(w(d),S())},[c]),c===Kn.PENDING?lr.createElement("div",{className:cy("_TSkFv","_1ZDMS")},lr.createElement(Og,null)):i&&0===f.length||0===s.length||c===Kn.FAILED?null:lr.createElement(lr.Fragment,null,lr.createElement("div",{onClick:function(e){e.preventDefault(),f.length>0&&g(!0)},className:cy("_TSkFv",(t={},t._UksZa=f.length>0,t["_1lr-q"]=0===f.length,t),Tg.container),"data-testid":"widget-button"},lr.createElement("div",{className:cy("_bMClc",Tg.eligibilityLine)},lr.createElement(hg,{className:"_LJ4nZ"}),lr.createElement("div",{className:cy("_17c_S",Tg.eligibilityOptions)},s.map(function(e,t){var n;return lr.createElement("div",{key:t,onMouseEnter:function(){return w(t)},onMouseOut:S,className:cy("_2Kqjn",(n={},n[cy("_3dG_J",Tg.activeOption)]=E===t,n[cy("_3O1bg",Tg.notEligibleOption)]=!e.eligible,n))},cg(e))}))),lr.createElement("div",{className:cy("_25GrF",(n={},n[cy("_3O1bg",Tg.notEligibleOption)]=s[E]&&!s[E].eligible,n),Tg.paymentInfo)},0!==s.length&&function(e){var t=e.installments_count,n=e.minAmount,r=void 0===n?0:n,o=e.maxAmount,a=void 0===o?0:o,i=e.payment_plan,l=e.deferred_days+30*e.deferred_months;if(!e.eligible)return lr.createElement(ei,e.purchase_amount>a?{id:"payment-plan-strings.ineligible-greater-than-max",defaultMessage:"Jusqu'à {maxAmount}",values:{maxAmount:lr.createElement(ni,{value:er(a),style:"currency",currency:"EUR"})}}:{id:"payment-plan-strings.ineligible-lower-than-min",defaultMessage:"À partir de {minAmount}",values:{minAmount:lr.createElement(ni,{value:er(r),style:"currency",currency:"EUR"})}});if(!i)throw Error("No payment plan provided for payment in "+t+" installments. Please contact us if you see this error.");if(0!==l&&1===t)return lr.createElement(lr.Fragment,null,lr.createElement(ei,{id:"payment-plan-strings.deferred",defaultMessage:"{totalAmount} à payer le {dueDate}",values:{totalAmount:lr.createElement(ni,{value:er(i[0].total_amount),style:"currency",currency:"EUR"}),dueDate:lr.createElement(ti,{value:sg(i[0].due_date),day:"numeric",month:"long",year:"numeric"})}}),fg(e));if(t>0){var u=null==i?void 0:i.every(function(e,t){return 0===t||e.total_amount===i[0].total_amount});return lr.createElement(lr.Fragment,null,lr.createElement(ei,u?{id:"payment-plan-strings.multiple-installments-same-amount",defaultMessage:"{installmentsCount} x {totalAmount}",values:{totalAmount:lr.createElement(ni,{value:er(i[0].total_amount),style:"currency",currency:"EUR"}),installmentsCount:t}}:{id:"payment-plan-strings.multiple-installments",defaultMessage:"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} puis {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} puis {numberOfRemainingInstallments} x {othersInstallmentAmount}}}",values:{firstInstallmentAmount:lr.createElement(ni,{value:er(i[0].total_amount),style:"currency",currency:"EUR"}),numberOfRemainingInstallments:t-1,othersInstallmentAmount:lr.createElement(ni,{value:er(i[1].total_amount),style:"currency",currency:"EUR"})}}),fg(e))}return lr.createElement(ei,{id:"payment-plan-strings.default-message",defaultMessage:"Payez en plusieurs fois avec Alma"})}(s[E]))),y&&lr.createElement(_g,{initialPlanIndex:(r=E,o=v.findIndex(function(e){return e===r}),-1===o?0:o),onClose:function(){return g(!1)},eligibilityPlans:f,status:c}))},Ng=function(){function e(e){this.apiData=e}return e.prototype.add=function(e,t){var n=this,r=document.querySelector(t.container);if(r&&iy.unmountComponentAtNode(r),e===Xn.PaymentPlans){var o=t.container,a=t.locale;r&&iy.render(lr.createElement(ci,{locale:void 0===a?Yn.en:a},lr.createElement(Pg,{purchaseAmount:t.purchaseAmount,apiData:this.apiData,configPlans:t.plans,transitionDelay:t.transitionDelay,hideIfNotEligible:t.hideIfNotEligible,suggestedPaymentPlan:t.suggestedPaymentPlan})),document.querySelector(o))}if(e===Xn.Modal){var i,l=t.container,u=t.clickableSelector,s=t.purchaseAmount,c=t.plans,f=t.locale,d=void 0===f?Yn.en:f,p=function(){return r&&iy.unmountComponentAtNode(r)},m=function(){iy.render(lr.createElement(ci,{locale:d},lr.createElement(Cg,{purchaseAmount:s,apiData:n.apiData,configPlans:c,onClose:p})),document.querySelector(l))};return u&&(null==(i=document.querySelector(u))||i.addEventListener("click",m,!1)),{open:m,close:p}}},e}();(yg=e.ApiMode||(e.ApiMode={})).LIVE="https://api.getalma.eu",yg.TEST="https://api.sandbox.getalma.eu",(gg=e.Widgets||(e.Widgets={})).initialize=function(e,t){return new Ng({domain:t,merchantId:e})},gg.PaymentPlans=Xn.PaymentPlans,gg.Modal=Xn.Modal,(vg=e.Utils||(e.Utils={})).priceToCents=function(e){return Math.round(100*e)},vg.priceFromCents=er,vg.formatCents=function(e){return String(er(e)).replace(".",",")}});
2
2
  //# sourceMappingURL=widgets.umd.js.map