@alma/widgets 3.0.5 → 3.1.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=Math.trunc||function(e){var t=+e;return(t>0?u:l)(t)},c=function(e){var t=+e;return t!=t||0===t?0:s(t)},f="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function d(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function p(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 m,h,y=function(e){return e&&e.Math==Math&&e},g=y("object"==typeof globalThis&&globalThis)||y("object"==typeof window&&window)||y("object"==typeof self&&self)||y("object"==typeof f&&f)||function(){return this}()||Function("return this")(),v=Object.defineProperty,b=function(e,t){try{v(g,e,{value:t,configurable:!0,writable:!0})}catch(n){g[e]=t}return t},E=g["__core-js_shared__"]||b("__core-js_shared__",{}),w=p(function(e){(e.exports=function(e,t){return E[e]||(E[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.22.8",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.8/LICENSE",source:"https://github.com/zloirock/core-js"})}),S=TypeError,_=function(e){if(null==e)throw S("Can't call method on "+e);return e},C=Object,O=function(e){return C(_(e))},k=i({}.hasOwnProperty),T=Object.hasOwn||function(e,t){return k(O(e),t)},P=0,x=Math.random(),A=i(1..toString),N=function(e){return"Symbol("+(void 0===e?"":e)+")_"+A(++P+x,36)},L=function(e){return"function"==typeof e},R=function(e){return L(e)?e:void 0},M=function(e,t){return arguments.length<2?R(g[e]):g[e]&&g[e][t]},I=M("navigator","userAgent")||"",D=g.process,F=g.Deno,H=D&&D.versions||F&&F.version,j=H&&H.v8;j&&(h=(m=j.split("."))[0]>0&&m[0]<4?1:+(m[0]+m[1])),!h&&I&&(!(m=I.match(/Edge\/(\d+)/))||m[1]>=74)&&(m=I.match(/Chrome\/(\d+)/))&&(h=+m[1]);var B=h,U=!!Object.getOwnPropertySymbols&&!t(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&B&&B<41}),z=U&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,G=w("wks"),V=g.Symbol,W=V&&V.for,$=z?V:V&&V.withoutSetter||N,q=function(e){if(!T(G,e)||!U&&"string"!=typeof G[e]){var t="Symbol."+e;G[e]=U&&T(V,e)?V[e]:z&&W?W(t):$(t)}return G[e]},Q={};Q[q("toStringTag")]="z";var K="[object z]"===String(Q),Y=i({}.toString),X=i("".slice),Z=function(e){return X(Y(e),8,-1)},J=q("toStringTag"),ee=Object,te="Arguments"==Z(function(){return arguments}()),ne=K?Z: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=ee(e),J))?n:te?Z(t):"Object"==(r=Z(t))&&L(t.callee)?"Arguments":r},re=String,oe=function(e){if("Symbol"===ne(e))throw TypeError("Cannot convert a Symbol value to a string");return re(e)},ae=i("".charAt),ie=i("".charCodeAt),le=i("".slice),ue=function(e){return function(t,n){var r,o,a=oe(_(t)),i=c(n),l=a.length;return i<0||i>=l?e?"":void 0:(r=ie(a,i))<55296||r>56319||i+1===l||(o=ie(a,i+1))<56320||o>57343?e?ae(a,i):r:e?le(a,i,i+2):o-56320+(r-55296<<10)+65536}},se={codeAt:ue(!1),charAt:ue(!0)},ce=i(Function.toString);L(E.inspectSource)||(E.inspectSource=function(e){return ce(e)});var fe,de,pe,me=E.inspectSource,he=g.WeakMap,ye=L(he)&&/native code/.test(me(he)),ge=function(e){return"object"==typeof e?null!==e:L(e)},ve=!t(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),be=g.document,Ee=ge(be)&&ge(be.createElement),we=function(e){return Ee?be.createElement(e):{}},Se=!ve&&!t(function(){return 7!=Object.defineProperty(we("div"),"a",{get:function(){return 7}}).a}),_e=ve&&t(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),Ce=String,Oe=TypeError,ke=function(e){if(ge(e))return e;throw Oe(Ce(e)+" is not an object")},Te=Function.prototype.call,Pe=n?Te.bind(Te):function(){return Te.apply(Te,arguments)},xe=i({}.isPrototypeOf),Ae=Object,Ne=z?function(e){return"symbol"==typeof e}:function(e){var t=M("Symbol");return L(t)&&xe(t.prototype,Ae(e))},Le=String,Re=function(e){try{return Le(e)}catch(e){return"Object"}},Me=TypeError,Ie=function(e){if(L(e))return e;throw Me(Re(e)+" is not a function")},De=function(e,t){var n=e[t];return null==n?void 0:Ie(n)},Fe=TypeError,He=TypeError,je=q("toPrimitive"),Be=function(e){var t=function(e,t){if(!ge(e)||Ne(e))return e;var n,r=De(e,je);if(r){if(void 0===t&&(t="default"),n=Pe(r,e,t),!ge(n)||Ne(n))return n;throw He("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&L(n=e.toString)&&!ge(r=Pe(n,e)))return r;if(L(n=e.valueOf)&&!ge(r=Pe(n,e)))return r;if("string"!==t&&L(n=e.toString)&&!ge(r=Pe(n,e)))return r;throw Fe("Can't convert object to primitive value")}(e,t)}(e,"string");return Ne(t)?t:t+""},Ue=TypeError,ze=Object.defineProperty,Ge=Object.getOwnPropertyDescriptor,Ve={f:ve?_e?function(e,t,n){if(ke(e),t=Be(t),ke(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 ze(e,t,n)}:ze:function(e,t,n){if(ke(e),t=Be(t),ke(n),Se)try{return ze(e,t,n)}catch(e){}if("get"in n||"set"in n)throw Ue("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}},$e=ve?function(e,t,n){return Ve.f(e,t,We(1,n))}:function(e,t,n){return e[t]=n,e},qe=w("keys"),Qe=function(e){return qe[e]||(qe[e]=N(e))},Ke={},Ye=g.TypeError;if(ye||E.state){var Xe=E.state||(E.state=new(0,g.WeakMap)),Ze=i(Xe.get),Je=i(Xe.has),et=i(Xe.set);fe=function(e,t){if(Je(Xe,e))throw new Ye("Object already initialized");return t.facade=e,et(Xe,e,t),t},de=function(e){return Ze(Xe,e)||{}},pe=function(e){return Je(Xe,e)}}else{var tt=Qe("state");Ke[tt]=!0,fe=function(e,t){if(T(e,tt))throw new Ye("Object already initialized");return t.facade=e,$e(e,tt,t),t},de=function(e){return T(e,tt)?e[tt]:{}},pe=function(e){return T(e,tt)}}var nt,rt={set:fe,get:de,has:pe,enforce:function(e){return pe(e)?de(e):fe(e,{})},getterFor:function(e){return function(t){var n;if(!ge(t)||(n=de(t)).type!==e)throw Ye("Incompatible receiver, "+e+" required");return n}}},ot={}.propertyIsEnumerable,at=Object.getOwnPropertyDescriptor,it={f:at&&!ot.call({1:2},1)?function(e){var t=at(this,e);return!!t&&t.enumerable}:ot},lt=Object,ut=i("".split),st=t(function(){return!lt("z").propertyIsEnumerable(0)})?function(e){return"String"==Z(e)?ut(e,""):lt(e)}:lt,ct=function(e){return st(_(e))},ft=Object.getOwnPropertyDescriptor,dt={f:ve?ft:function(e,t){if(e=ct(e),t=Be(t),Se)try{return ft(e,t)}catch(e){}if(T(e,t))return We(!Pe(it.f,e,t),e[t])}},pt=Function.prototype,mt=ve&&Object.getOwnPropertyDescriptor,ht=T(pt,"name"),yt={EXISTS:ht,PROPER:ht&&"something"===function(){}.name,CONFIGURABLE:ht&&(!ve||ve&&mt(pt,"name").configurable)},gt=p(function(e){var n=yt.CONFIGURABLE,r=rt.enforce,o=rt.get,a=Object.defineProperty,i=ve&&!t(function(){return 8!==a(function(){},"length",{value:8}).length}),l=String(String).split("String"),u=e.exports=function(e,t,o){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),o&&o.getter&&(t="get "+t),o&&o.setter&&(t="set "+t),(!T(e,"name")||n&&e.name!==t)&&a(e,"name",{value:t,configurable:!0}),i&&o&&T(o,"arity")&&e.length!==o.arity&&a(e,"length",{value:o.arity});try{o&&T(o,"constructor")&&o.constructor?ve&&a(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var u=r(e);return T(u,"source")||(u.source=l.join("string"==typeof t?t:"")),e};Function.prototype.toString=u(function(){return L(this)&&o(this).source||me(this)},"toString")}),vt=function(e,t,n,r){r||(r={});var o=r.enumerable,a=void 0!==r.name?r.name:t;return L(n)&&gt(n,a,r),r.global?o?e[t]=n:b(t,n):(r.unsafe?e[t]&&(o=!0):delete e[t],o?e[t]=n:$e(e,t,n)),e},bt=Math.max,Et=Math.min,wt=Math.min,St=function(e){return(t=e.length)>0?wt(c(t),9007199254740991):0;var t},_t=function(e){return function(t,n,r){var o,a=ct(t),i=St(a),l=function(e,t){var n=c(e);return n<0?bt(n+t,0):Et(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}},Ct=(_t(!0),_t(!1)),Ot=i([].push),kt=function(e,t){var n,r=ct(e),o=0,a=[];for(n in r)!T(Ke,n)&&T(r,n)&&Ot(a,n);for(;t.length>o;)T(r,n=t[o++])&&(~Ct(a,n)||Ot(a,n));return a},Tt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Pt=Tt.concat("length","prototype"),xt={f:Object.getOwnPropertyNames||function(e){return kt(e,Pt)}},At={f:Object.getOwnPropertySymbols},Nt=i([].concat),Lt=M("Reflect","ownKeys")||function(e){var t=xt.f(ke(e)),n=At.f;return n?Nt(t,n(e)):t},Rt=function(e,t,n){for(var r=Lt(t),o=Ve.f,a=dt.f,i=0;i<r.length;i++){var l=r[i];T(e,l)||n&&T(n,l)||o(e,l,a(t,l))}},Mt=/#|\.prototype\./,It=function(e,n){var r=Ft[Dt(e)];return r==jt||r!=Ht&&(L(n)?t(n):!!n)},Dt=It.normalize=function(e){return String(e).replace(Mt,".").toLowerCase()},Ft=It.data={},Ht=It.NATIVE="N",jt=It.POLYFILL="P",Bt=It,Ut=dt.f,zt=function(e,t){var n,r,o,a,i,l=e.target,u=e.global,s=e.stat;if(n=u?g:s?g[l]||b(l,{}):(g[l]||{}).prototype)for(r in t){if(a=t[r],o=e.dontCallGetSet?(i=Ut(n,r))&&i.value:n[r],!Bt(u?r:l+(s?".":"#")+r,e.forced)&&void 0!==o){if(typeof a==typeof o)continue;Rt(a,o)}(e.sham||o&&o.sham)&&$e(a,"sham",!0),vt(n,r,a,e)}},Gt=Object.keys||function(e){return kt(e,Tt)},Vt={f:ve&&!_e?Object.defineProperties:function(e,t){ke(e);for(var n,r=ct(t),o=Gt(t),a=o.length,i=0;a>i;)Ve.f(e,n=o[i++],r[n]);return e}},Wt=M("document","documentElement"),$t=Qe("IE_PROTO"),qt=function(){},Qt=function(e){return"<script>"+e+"<\/script>"},Kt=function(e){e.write(Qt("")),e.close();var t=e.parentWindow.Object;return e=null,t},Yt=function(){try{nt=new ActiveXObject("htmlfile")}catch(e){}var e,t;Yt="undefined"!=typeof document?document.domain&&nt?Kt(nt):((t=we("iframe")).style.display="none",Wt.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Qt("document.F=Object")),e.close(),e.F):Kt(nt);for(var n=Tt.length;n--;)delete Yt.prototype[Tt[n]];return Yt()};Ke[$t]=!0;var Xt,Zt,Jt,en=Object.create||function(e,t){var n;return null!==e?(qt.prototype=ke(e),n=new qt,qt.prototype=null,n[$t]=e):n=Yt(),void 0===t?n:Vt.f(n,t)},tn=!t(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),nn=Qe("IE_PROTO"),rn=Object,on=rn.prototype,an=tn?rn.getPrototypeOf:function(e){var t=O(e);if(T(t,nn))return t[nn];var n=t.constructor;return L(n)&&t instanceof n?n.prototype:t instanceof rn?on:null},ln=q("iterator"),un=!1;[].keys&&("next"in(Jt=[].keys())?(Zt=an(an(Jt)))!==Object.prototype&&(Xt=Zt):un=!0),(null==Xt||t(function(){var e={};return Xt[ln].call(e)!==e}))&&(Xt={}),L(Xt[ln])||vt(Xt,ln,function(){return this});var sn={IteratorPrototype:Xt,BUGGY_SAFARI_ITERATORS:un},cn=Ve.f,fn=q("toStringTag"),dn=function(e,t,n){e&&!n&&(e=e.prototype),e&&!T(e,fn)&&cn(e,fn,{configurable:!0,value:t})},pn={},mn=sn.IteratorPrototype,hn=function(){return this},yn=String,gn=TypeError,vn=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 ke(n),function(e){if("object"==typeof e||L(e))return e;throw gn("Can't set "+yn(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),bn=sn.IteratorPrototype,En=sn.BUGGY_SAFARI_ITERATORS,wn=q("iterator"),Sn=function(){return this},_n=se.charAt,Cn=rt.set,On=rt.getterFor("String Iterator");!function(e,t,n,r,o,a,i){!function(e,t,n,r){e.prototype=en(mn,{next:We(1,function(){var e,t=On(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=_n(n,r),t.index+=e.length,{value:e,done:!1})})}),dn(e,"String Iterator",!1),pn["String Iterator"]=hn}(n);var l,u,s,c=function(e){if(void 0===e&&p)return p;if(!En&&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[wn]||f["@@iterator"]||void 0,p=!En&&d||c(void 0);if(void(d&&(l=an(d.call(new e)))!==Object.prototype&&l.next&&(an(l)!==bn&&(vn?vn(l,bn):L(l[wn])||vt(l,wn,Sn)),dn(l,"String Iterator",!0))))if(void(u={values:c("values"),keys:c("keys"),entries:c("entries")}))for(s in u)(En||!(s in f))&&vt(f,s,u[s]);else zt({target:"String",proto:!0,forced:En||!1},u);f[wn]!==p&&vt(f,wn,p,{name:void 0}),pn.String=p}(String,0,function(e){Cn(this,{type:"String Iterator",string:oe(e),index:0})});var kn=i(i.bind),Tn=function(e,t){return Ie(e),void 0===t?e:n?kn(e,t):function(){return e.apply(t,arguments)}},Pn=function(e,t,n,r){try{return r?t(ke(n)[0],n[1]):t(n)}catch(t){!function(e,t,n){var r;ke(e);try{if(!(r=De(e,"return")))throw n;r=Pe(r,e)}catch(e){r=e}throw n}(e,0,t)}},xn=q("iterator"),An=Array.prototype,Nn=function(e){return void 0!==e&&(pn.Array===e||An[xn]===e)},Ln=function(){},Rn=[],Mn=M("Reflect","construct"),In=/^\s*(?:class|function)\b/,Dn=i(In.exec),Fn=!In.exec(Ln),Hn=function(e){if(!L(e))return!1;try{return Mn(Ln,Rn,e),!0}catch(e){return!1}},jn=function(e){if(!L(e))return!1;switch(ne(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Fn||!!Dn(In,me(e))}catch(e){return!0}};jn.sham=!0;var Bn=!Mn||t(function(){var e;return Hn(Hn.call)||!Hn(Object)||!Hn(function(){e=!0})||e})?jn:Hn,Un=function(e,t,n){var r=Be(t);r in e?Ve.f(e,r,We(0,n)):e[r]=n},zn=q("iterator"),Gn=function(e){if(null!=e)return De(e,zn)||De(e,"@@iterator")||pn[ne(e)]},Vn=TypeError,Wn=function(e,t){var n=arguments.length<2?Gn(e):t;if(Ie(n))return ke(Pe(n,e));throw Vn(Re(e)+" is not iterable")},$n=Array,qn=q("iterator"),Qn=!1;try{var Kn=0,Yn={next:function(){return{done:!!Kn++}},return:function(){Qn=!0}};Yn[qn]=function(){return this},Array.from(Yn,function(){throw 2})}catch(e){}var Xn,Zn,Jn,er,tr=!function(e,t){if(!Qn)return!1;var n=!1;try{var r={};r[qn]=function(){return{next:function(){return{done:n=!0}}}},Array.from(r)}catch(e){}return n}();function nr(e){return Number((e/100).toFixed(2))}zt({target:"Array",stat:!0,forced:tr},{from:function(e){var t=O(e),n=Bn(this),r=arguments.length,o=r>1?arguments[1]:void 0,a=void 0!==o;a&&(o=Tn(o,r>2?arguments[2]:void 0));var i,l,u,s,c,f,d=Gn(t),p=0;if(!d||this===$n&&Nn(d))for(i=St(t),l=n?new this(i):$n(i);i>p;p++)f=a?o(t[p],p):t[p],Un(l,p,f);else for(c=(s=Wn(t,d)).next,l=n?new this:[];!(u=Pe(c,s)).done;p++)f=a?Pn(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"}(Zn||(Zn={})),function(e){e.en="en",e["fr-FR"]="fr-FR",e.fr="fr",e["de-DE"]="de-DE",e.de="de",e.it="it",e["it-IT"]="it-IT",e.es="es",e["es-ES"]="es-ES",e.pt="pt",e["pt-PT"]="pt-PT",e.nl="nl",e["nl-NL"]="nl-NL",e["nl-BE"]="nl-BE"}(Jn||(Jn={})),"function"!=typeof(er=window.Element.prototype).matches&&(er.matches=er.msMatchesSelector||er.mozMatchesSelector||er.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 er.closest&&(er.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 rr=Object.getOwnPropertySymbols,or=Object.prototype.hasOwnProperty,ar=Object.prototype.propertyIsEnumerable;function ir(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var lr=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=ir(e),a=1;a<arguments.length;a++){for(var i in n=Object(arguments[a]))or.call(n,i)&&(o[i]=n[i]);if(rr){r=rr(n);for(var l=0;l<r.length;l++)ar.call(n,r[l])&&(o[r[l]]=n[r[l]])}}return o},ur=p(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,lr(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 x={ReactCurrentDispatcher:T,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:v,IsSomeRendererActing:{current:!1},assign:lr};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=x,t.cloneElement=function(e,t,r){if(null==e)throw Error(f(267,e));var o=lr({},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"}),sr=(p(function(e,t){}),p(function(e){e.exports=ur})),cr=function(e,t){return(cr=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 fr(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}cr(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var dr=function(){return(dr=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 pr(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 mr(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 hr="function"==typeof Symbol&&Symbol.for,yr=hr?Symbol.for("react.element"):60103,gr=hr?Symbol.for("react.portal"):60106,vr=hr?Symbol.for("react.fragment"):60107,br=hr?Symbol.for("react.strict_mode"):60108,Er=hr?Symbol.for("react.profiler"):60114,wr=hr?Symbol.for("react.provider"):60109,Sr=hr?Symbol.for("react.context"):60110,_r=hr?Symbol.for("react.async_mode"):60111,Cr=hr?Symbol.for("react.concurrent_mode"):60111,Or=hr?Symbol.for("react.forward_ref"):60112,kr=hr?Symbol.for("react.suspense"):60113,Tr=hr?Symbol.for("react.suspense_list"):60120,Pr=hr?Symbol.for("react.memo"):60115,xr=hr?Symbol.for("react.lazy"):60116,Ar=hr?Symbol.for("react.block"):60121,Nr=hr?Symbol.for("react.fundamental"):60117,Lr=hr?Symbol.for("react.responder"):60118,Rr=hr?Symbol.for("react.scope"):60119;function Mr(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case yr:switch(e=e.type){case _r:case Cr:case vr:case Er:case br:case kr:return e;default:switch(e=e&&e.$$typeof){case Sr:case Or:case xr:case Pr:case wr:return e;default:return t}}case gr:return t}}}function Ir(e){return Mr(e)===Cr}var Dr,Fr,Hr,jr={AsyncMode:_r,ConcurrentMode:Cr,ContextConsumer:Sr,ContextProvider:wr,Element:yr,ForwardRef:Or,Fragment:vr,Lazy:xr,Memo:Pr,Portal:gr,Profiler:Er,StrictMode:br,Suspense:kr,isAsyncMode:function(e){return Ir(e)||Mr(e)===_r},isConcurrentMode:Ir,isContextConsumer:function(e){return Mr(e)===Sr},isContextProvider:function(e){return Mr(e)===wr},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===yr},isForwardRef:function(e){return Mr(e)===Or},isFragment:function(e){return Mr(e)===vr},isLazy:function(e){return Mr(e)===xr},isMemo:function(e){return Mr(e)===Pr},isPortal:function(e){return Mr(e)===gr},isProfiler:function(e){return Mr(e)===Er},isStrictMode:function(e){return Mr(e)===br},isSuspense:function(e){return Mr(e)===kr},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===vr||e===Cr||e===Er||e===br||e===kr||e===Tr||"object"==typeof e&&null!==e&&(e.$$typeof===xr||e.$$typeof===Pr||e.$$typeof===wr||e.$$typeof===Sr||e.$$typeof===Or||e.$$typeof===Nr||e.$$typeof===Lr||e.$$typeof===Rr||e.$$typeof===Ar)},typeOf:Mr};function Br(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}function Ur(e){return e.type===Fr.literal}function zr(e){return e.type===Fr.argument}function Gr(e){return e.type===Fr.number}function Vr(e){return e.type===Fr.date}function Wr(e){return e.type===Fr.time}function $r(e){return e.type===Fr.select}function qr(e){return e.type===Fr.plural}function Qr(e){return e.type===Fr.pound}function Kr(e){return e.type===Fr.tag}function Yr(e){return!(!e||"object"!=typeof e||e.type!==Hr.number)}function Xr(e){return!(!e||"object"!=typeof e||e.type!==Hr.dateTime)}p(function(e,t){}),p(function(e){e.exports=jr}),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"}(Dr||(Dr={})),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"}(Fr||(Fr={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(Hr||(Hr={}));var Zr=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Jr=/(?:[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 eo(e){var t={};return e.replace(Jr,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 to=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,no=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ro=/^(@+)?(\+|#+)?[rs]?$/g,oo=/(\*)(0+)|(#+)(0+)|(0+)/g,ao=/^(0+)$/;function io(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(ro,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 lo(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 uo(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)),!ao.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function so(e){return lo(e)||{}}function co(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=dr(dr(dr({},t),{notation:"scientific"}),o.options.reduce(function(e,t){return dr(dr({},e),so(t))},{}));continue;case"engineering":t=dr(dr(dr({},t),{notation:"engineering"}),o.options.reduce(function(e,t){return dr(dr({},e),so(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(oo,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(ao.test(o.stem))t.minimumIntegerDigits=o.stem.length;else if(no.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(no,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=dr(dr({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=dr(dr({},t),io(a)))}else if(ro.test(o.stem))t=dr(dr({},t),io(o.stem));else{var i=lo(o.stem);i&&(t=dr(dr({},t),i));var l=uo(o.stem);l&&(t=dr(dr({},t),l))}}return t}var fo,po={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function mo(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(po[n||""]||po[r||""]||po["".concat(r,"-001")]||po["001"])[0]}var ho=new RegExp("^".concat(Zr.source,"*")),yo=new RegExp("".concat(Zr.source,"*$"));function go(e,t){return{start:e,end:t}}var vo=!!String.prototype.startsWith,bo=!!String.fromCodePoint,Eo=!!Object.fromEntries,wo=!!String.prototype.codePointAt,So=!!String.prototype.trimStart,_o=!!String.prototype.trimEnd,Co=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Oo=!0;try{Oo="a"===(null===(fo=Ro("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===fo?void 0:fo[0])}catch(e){Oo=!1}var ko,To=vo?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Po=bo?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},xo=Eo?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},Ao=wo?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}},No=So?function(e){return e.trimStart()}:function(e){return e.replace(ho,"")},Lo=_o?function(e){return e.trimEnd()}:function(e){return e.replace(yo,"")};function Ro(e,t){return new RegExp(e,t)}if(Oo){var Mo=Ro("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");ko=function(e,t){var n;return Mo.lastIndex=t,null!==(n=Mo.exec(e)[1])&&void 0!==n?n:""}}else ko=function(e,t){for(var n=[];;){var r=Ao(e,t);if(void 0===r||Ho(r)||jo(r))break;n.push(r),t+=r>=65536?2:1}return Po.apply(void 0,n)};var Io=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.locale=t.locale,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(Dr.UNMATCHED_CLOSING_TAG,go(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Do(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:Fr.pound,location:go(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:Fr.literal,value:"<".concat(r,"/>"),location:go(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()||!Do(this.char()))return this.error(Dr.INVALID_TAG,go(i,this.clonePosition()));var l=this.clonePosition();return r!==this.parseTagName()?this.error(Dr.UNMATCHED_CLOSING_TAG,go(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Fr.tag,value:r,children:a,location:go(n,this.clonePosition())},err:null}:this.error(Dr.INVALID_TAG,go(i,this.clonePosition())))}return this.error(Dr.UNCLOSED_TAG,go(n,this.clonePosition()))}return this.error(Dr.INVALID_TAG,go(n,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&Fo(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=go(n,this.clonePosition());return{val:{type:Fr.literal,value:r,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Do(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 Po.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(),Po(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Dr.EXPECT_ARGUMENT_CLOSING_BRACE,go(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Dr.EMPTY_ARGUMENT,go(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(Dr.MALFORMED_ARGUMENT,go(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Dr.EXPECT_ARGUMENT_CLOSING_BRACE,go(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Fr.argument,value:r,location:go(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Dr.EXPECT_ARGUMENT_CLOSING_BRACE,go(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(Dr.MALFORMED_ARGUMENT,go(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=ko(this.message,t);return this.bumpTo(t+n.length),{value:n,location:go(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(Dr.EXPECT_ARGUMENT_TYPE,go(a,l));case"number":case"date":case"time":this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var s=this.clonePosition();if((g=this.parseSimpleArgStyleIfPossible()).err)return g;if(0===(p=Lo(g.val)).length)return this.error(Dr.EXPECT_ARGUMENT_STYLE,go(this.clonePosition(),this.clonePosition()));u={style:p,styleLocation:go(s,this.clonePosition())}}if((v=this.tryParseArgumentClose(r)).err)return v;var c=go(r,this.clonePosition());if(u&&To(null==u?void 0:u.style,"::",0)){var f=No(u.style.slice(2));if("number"===i)return(g=this.parseNumberSkeletonFromString(f,u.styleLocation)).err?g:{val:{type:Fr.number,value:n,location:c,style:g.val},err:null};if(0===f.length)return this.error(Dr.EXPECT_DATE_TIME_SKELETON,c);var d=f;this.locale&&(d=function(e,t){for(var n="",r=0;r<e.length;r++){var o=e.charAt(r);if("j"===o){for(var a=0;r+1<e.length&&e.charAt(r+1)===o;)a++,r++;var i=1+(1&a),l=a<2?1:3+(a>>1),u=mo(t);for("H"!=u&&"k"!=u||(l=0);l-- >0;)n+="a";for(;i-- >0;)n=u+n}else n+="J"===o?"H":o}return n}(f,this.locale));var p={type:Hr.dateTime,pattern:d,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?eo(d):{}};return{val:{type:"date"===i?Fr.date:Fr.time,value:n,location:c,style:p},err:null}}return{val:{type:"number"===i?Fr.number:"date"===i?Fr.date:Fr.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 m=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Dr.EXPECT_SELECT_ARGUMENT_OPTIONS,go(m,dr({},m)));this.bumpSpace();var h=this.parseIdentifierIfPossible(),y=0;if("select"!==i&&"offset"===h.value){if(!this.bumpIf(":"))return this.error(Dr.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,go(this.clonePosition(),this.clonePosition()));var g;if(this.bumpSpace(),(g=this.tryParseDecimalInteger(Dr.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Dr.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return g;this.bumpSpace(),h=this.parseIdentifierIfPossible(),y=g.val}var v,b=this.tryParsePluralOrSelectOptions(e,i,t,h);if(b.err)return b;if((v=this.tryParseArgumentClose(r)).err)return v;var E=go(r,this.clonePosition());return"select"===i?{val:{type:Fr.select,value:n,options:xo(b.val),location:E},err:null}:{val:{type:Fr.plural,value:n,options:xo(b.val),offset:y,pluralType:"plural"===i?"cardinal":"ordinal",location:E},err:null};default:return this.error(Dr.INVALID_ARGUMENT_TYPE,go(a,l))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Dr.EXPECT_ARGUMENT_CLOSING_BRACE,go(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(Dr.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,go(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(to).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(Dr.INVALID_NUMBER_SKELETON,t)}return{val:{type:Hr.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?co(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(Dr.EXPECT_PLURAL_ARGUMENT_SELECTOR,Dr.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;s=go(c,this.clonePosition()),u=this.message.slice(c.offset,this.offset())}if(l.has(u))return this.error("select"===t?Dr.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Dr.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,s);"other"===u&&(a=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Dr.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Dr.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,go(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:go(d,this.clonePosition())}]),l.add(u),this.bumpSpace(),u=(o=this.parseIdentifierIfPossible()).value,s=o.location}return 0===i.length?this.error("select"===t?Dr.EXPECT_SELECT_ARGUMENT_SELECTOR:Dr.EXPECT_PLURAL_ARGUMENT_SELECTOR,go(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(Dr.MISSING_OTHER_CLAUSE,go(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=go(r,this.clonePosition());return o?Co(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=Ao(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(To(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()&&Ho(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 Do(e){return e>=97&&e<=122||e>=65&&e<=90}function Fo(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 Ho(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function jo(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 Bo(e,t){void 0===t&&(t={}),t=dr({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new Io(e,t).parse();if(n.err){var r=SyntaxError(Dr[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,$r(t)||qr(t))for(var n in t.options)delete t.options[n].location,e(t.options[n].value);else Gr(t)&&Yr(t.style)||(Vr(t)||Wr(t))&&Xr(t.style)?delete t.style.location:Kr(t)&&e(t.children)})}(n.val),n.val}function Uo(e,t){return(t&&t.strategy?t.strategy:Wo)(e,{cache:t&&t.cache?t.cache:Ko,serializer:t&&t.serializer?t.serializer:$o})}function zo(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 Go(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 Vo(e,t,n,r,o){return n.bind(t,e,r,o)}function Wo(e,t){return Vo(e,this,1===e.length?zo:Go,t.cache.create(),t.serializer)}var $o=function(){return JSON.stringify(arguments)};function qo(){this.cache=Object.create(null)}qo.prototype.get=function(e){return this.cache[e]},qo.prototype.set=function(e,t){this.cache[e]=t};var Qo,Ko={create:function(){return new qo}},Yo={variadic:function(e,t){return Vo(e,this,Go,t.cache.create(),t.serializer)},monadic:function(e,t){return Vo(e,this,zo,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(Qo||(Qo={}));var Xo,Zo=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.code=n,o.originalMessage=r,o}return fr(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Jo=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('", "'),'"'),Qo.INVALID_VALUE,o)||this}return fr(t,e),t}(Zo),ea=function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),Qo.INVALID_VALUE,r)||this}return fr(t,e),t}(Zo),ta=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,'"'),Qo.MISSING_VALUE,n)||this}return fr(t,e),t}(Zo);function na(e){return"function"==typeof e}function ra(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"}(Xo||(Xo={}));var oa,aa=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===Xo.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:Xo.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:Xo.literal,value:f.value});else if(Qr(f))"number"==typeof i&&u.push({type:Xo.literal,value:r.getNumberFormat(n).format(i)});else{var d=f.value;if(!a||!(d in a))throw new ta(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?Xo.literal:Xo.object,value:p});else if(Vr(f)){var m="string"==typeof f.style?o.date[f.style]:Xr(f.style)?f.style.parsedOptions:void 0;u.push({type:Xo.literal,value:r.getDateTimeFormat(n,m).format(p)})}else if(Wr(f))m="string"==typeof f.style?o.time[f.style]:Xr(f.style)?f.style.parsedOptions:o.time.medium,u.push({type:Xo.literal,value:r.getDateTimeFormat(n,m).format(p)});else if(Gr(f))(m="string"==typeof f.style?o.number[f.style]:Yr(f.style)?f.style.parsedOptions:void 0)&&m.scale&&(p*=m.scale||1),u.push({type:Xo.literal,value:r.getNumberFormat(n,m).format(p)});else{if(Kr(f)){var h=f.children,y=f.value,g=a[y];if(!na(g))throw new ea(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?Xo.literal:Xo.object,value:e}}))}if($r(f)){if(!(b=f.options[p]||f.options.other))throw new Jo(f.value,p,Object.keys(f.options),l);u.push.apply(u,e(b.value,n,r,o,a))}else if(qr(f)){var b;if(!(b=f.options["=".concat(p)])){if(!Intl.PluralRules)throw new Zo('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Qo.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 Jo(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===Xo.literal&&t.type===Xo.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:u.resolvedLocale.toString()}},this.getAst=function(){return u.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),"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,locale:this.resolvedLocale})}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])?dr(dr(dr({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=dr(dr({},n[t]),r[t]||{}),e},{})):n),e},dr({},i)):i),this.formatters=o&&o.formatters||(void 0===(a=this.formatterCache)&&(a={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Uo(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,mr([void 0],t,!1)))},{cache:ra(a.number),strategy:Yo.variadic}),getDateTimeFormat:Uo(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,mr([void 0],t,!1)))},{cache:ra(a.dateTime),strategy:Yo.variadic}),getPluralRules:Uo(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,mr([void 0],t,!1)))},{cache:ra(a.pluralRules),strategy:Yo.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.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},e.__parse=Bo,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"}(oa||(oa={}));var ia=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 fr(t,e),t}(Error),la=function(e){function t(t,n){return e.call(this,oa.UNSUPPORTED_FORMATTER,t,n)||this}return fr(t,e),t}(ia),ua=function(e){function t(t,n){return e.call(this,oa.INVALID_CONFIG,t,n)||this}return fr(t,e),t}(ia),sa=function(e){function t(t,n){return e.call(this,oa.MISSING_DATA,t,n)||this}return fr(t,e),t}(ia),ca=function(e){function t(t,n,r){return e.call(this,oa.FORMAT_ERROR,"".concat(t," \nLocale: ").concat(n,"\n"),r)||this}return fr(t,e),t}(ia),fa=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 fr(t,e),t}(ca),da=function(e){function t(t,n){var r=e.call(this,oa.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 fr(t,e),t}(ia);function pa(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 ma={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){},onWarn:function(e){}};function ha(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function ya(e,t,n,r){var o,a=e&&e[t];if(a&&(o=a[n]),o)return o;r(new la("No ".concat(t," format named: ").concat(n)))}function ga(e,t){return Object.keys(e).reduce(function(n,r){return n[r]=dr({timeZone:t},e[r]),n},{})}function va(e,t){return Object.keys(dr(dr({},e),t)).reduce(function(n,r){return n[r]=dr(dr({},e[r]||{}),t[r]||{}),n},{})}function ba(e,t){if(!t)return e;var n=aa.formats;return dr(dr(dr({},n),e),{date:va(ga(n.date,t),ga(e.date||{},t)),time:va(ga(n.time,t),ga(e.time||{},t))})}function Ea(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;Br(!!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===Fr.literal)return g[0].value;if(!r&&g&&"string"==typeof g&&!p)return g.replace(/'\{(.*?)\}'/gi,"{$1}");if(r=dr(dr({},p),r||{}),i=ba(i,d),s=ba(s,d),!g){if(!1===c&&""===g)return g;if((!h||a&&a.toLowerCase()!==u.toLowerCase())&&f(new da(n,a)),h)try{return t.getMessageFormat(h,u,s,o).format(r)}catch(e){return f(new fa('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,dr({formatters:t},o||{})).format(r)}catch(e){f(new fa('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 fa('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 wa=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem"];function Sa(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=dr(dr({},l&&{timeZone:l}),u&&ya(a,t,u,i)),c=pa(r,wa,s);return"time"!==t||c.hour||c.minute||c.second||c.timeStyle||c.dateStyle||(c=dr(dr({},c),{hour:"numeric",minute:"numeric"})),n(o,c)}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 Sa(e,"date",t,i).format(l)}catch(t){e.onError(new ia(oa.FORMAT_ERROR,"Error formatting date.",t))}return String(l)}function Ca(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 Sa(e,"time",t,i).format(l)}catch(t){e.onError(new ia(oa.FORMAT_ERROR,"Error formatting time.",t))}return String(l)}function Oa(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=pa(l,wa,u?{timeZone:u}:{});try{return t(s,f).formatRange(o,a)}catch(e){c(new ia(oa.FORMAT_ERROR,"Error formatting date time range.",e))}return String(o)}function ka(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 Sa(e,"date",t,i).formatToParts(l)}catch(t){e.onError(new ia(oa.FORMAT_ERROR,"Error formatting date.",t))}return[]}function Ta(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 Sa(e,"time",t,i).formatToParts(l)}catch(t){e.onError(new ia(oa.FORMAT_ERROR,"Error formatting time.",t))}return[]}var Pa=["localeMatcher","style","type","fallback"];function xa(e,t,n,r){var o=e.locale,a=e.onError;Intl.DisplayNames||a(new Zo('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',Qo.MISSING_INTL_API));var i=pa(r,Pa);try{return t(o,i).of(n)}catch(e){a(new ia(oa.FORMAT_ERROR,"Error formatting display name.",e))}}var Aa=["localeMatcher","type","style"],Na=Date.now();function La(e,t,n,r){void 0===r&&(r={});var o=Ra(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 Ra(e,t,n,r){var o=e.locale,a=e.onError;void 0===r&&(r={}),Intl.ListFormat||a(new Zo('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',Qo.MISSING_INTL_API));var i=pa(r,Aa);try{var l={},u=n.map(function(e,t){if("object"==typeof e){var n=function(e){return"".concat(Na,"_").concat(e,"_").concat(Na)}(t);return l[n]=e,n}return String(e)});return t(o,i).formatToParts(u).map(function(e){return"literal"===e.type?e:dr(dr({},e),{value:l[e.value]||e.value})})}catch(e){a(new ia(oa.FORMAT_ERROR,"Error formatting list.",e))}return n}var Ma=["localeMatcher","type"];function Ia(e,t,n,r){var o=e.locale,a=e.onError;void 0===r&&(r={}),Intl.PluralRules||a(new Zo('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Qo.MISSING_INTL_API));var i=pa(r,Ma);try{return t(o,i).select(n)}catch(e){a(new ca("Error formatting plural.",o,e))}return"other"}var Da=["numeric","style"];function Fa(e,t,n,r,o){void 0===o&&(o={}),r||(r="second"),Intl.RelativeTimeFormat||e.onError(new Zo('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',Qo.MISSING_INTL_API));try{return function(e,t,n){var r=e.locale;void 0===n&&(n={});var o=n.format,a=!!o&&ya(e.formats,"relative",o,e.onError)||{};return t(r,pa(n,Da,a))}(e,t,o).format(n,r)}catch(t){e.onError(new ca("Error formatting relative time.",e.locale,t))}return String(n)}var Ha=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function ja(e,t,n){var r=e.locale;void 0===n&&(n={});var o=n.format,a=o&&ya(e.formats,"number",o,e.onError)||{};return t(r,pa(n,Ha,a))}function Ba(e,t,n,r){void 0===r&&(r={});try{return ja(e,t,r).format(n)}catch(t){e.onError(new ia(oa.FORMAT_ERROR,"Error formatting number.",t))}return String(n)}function Ua(e,t,n,r){void 0===r&&(r={});try{return ja(e,t,r).formatToParts(n)}catch(t){e.onError(new ia(oa.FORMAT_ERROR,"Error formatting number.",t))}return[]}function za(e){Br(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var Ga=dr(dr({},ma),{textComponent:sr.Fragment});function Va(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 Wa,$a,qa=sr.createContext(null),Qa=qa.Provider,Ka=qa;function Ya(){var e=sr.useContext(Ka);return za(e),e}function Xa(e){var t=function(t){var n=Ya(),r=t.value,o=t.children,a=pr(t,["value","children"]),i=n[e](r,a);return"function"==typeof o?o(i):sr.createElement(n.textComponent||sr.Fragment,null,i)};return t.displayName=Wa[e],t}function Za(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 Ja(e){return e?Object.keys(e).reduce(function(t,n){var r,o=e[n];return t[n]=na(o)?(r=o,function(e){return r(sr.Children.toArray(e))}):o,t},{}):e}!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(Wa||(Wa={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}($a||($a={}));var ei=function(e,t,n,r){for(var o=[],a=4;a<arguments.length;a++)o[a-4]=arguments[a];var i=Ja(r),l=Ea.apply(void 0,mr([e,t,n,i],o,!1));return Array.isArray(l)?sr.Children.toArray(l):l},ti=function(e,t){var n=e.defaultRichTextElements,r=pr(e,["defaultRichTextElements"]),o=Ja(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=Uo(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,mr([void 0],t,!1)))},{cache:ha(e.dateTime),strategy:Yo.variadic}),a=Uo(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,mr([void 0],t,!1)))},{cache:ha(e.number),strategy:Yo.variadic}),i=Uo(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,mr([void 0],t,!1)))},{cache:ha(e.pluralRules),strategy:Yo.variadic});return{getDateTimeFormat:o,getNumberFormat:a,getMessageFormat:Uo(function(e,t,n,r){return new aa(e,t,n,dr({formatters:{getNumberFormat:a,getDateTimeFormat:o,getPluralRules:i}},r||{}))},{cache:ha(e.message),strategy:Yo.variadic}),getRelativeTimeFormat:Uo(function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new(t.bind.apply(t,mr([void 0],e,!1)))},{cache:ha(e.relativeTime),strategy:Yo.variadic}),getPluralRules:i,getListFormat:Uo(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,mr([void 0],e,!1)))},{cache:ha(e.list),strategy:Yo.variadic}),getDisplayNames:Uo(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(r.bind.apply(r,mr([void 0],e,!1)))},{cache:ha(e.displayNames),strategy:Yo.variadic})}}(t),r=dr(dr({},ma),e),o=r.locale,a=r.defaultLocale,i=r.onError;return o?!Intl.NumberFormat.supportedLocalesOf(o).length&&i?i(new sa('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 sa('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 ua('"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),dr(dr({},r),{formatters:n,formatNumber:Ba.bind(null,r,n.getNumberFormat),formatNumberToParts:Ua.bind(null,r,n.getNumberFormat),formatRelativeTime:Fa.bind(null,r,n.getRelativeTimeFormat),formatDate:_a.bind(null,r,n.getDateTimeFormat),formatDateToParts:ka.bind(null,r,n.getDateTimeFormat),formatTime:Ca.bind(null,r,n.getDateTimeFormat),formatDateTimeRange:Oa.bind(null,r,n.getDateTimeFormat),formatTimeToParts:Ta.bind(null,r,n.getDateTimeFormat),formatPlural:Ia.bind(null,r,n.getPluralRules),formatMessage:Ea.bind(null,r,n),$t:Ea.bind(null,r,n),formatList:La.bind(null,r,n.getListFormat),formatListToParts:Ra.bind(null,r,n.getListFormat),formatDisplayName:xa.bind(null,r,n.getDisplayNames)})}(dr(dr(dr({},Ga),r),{defaultRichTextElements:o}),t);return dr(dr({},a),{formatMessage:ei.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)})},ni=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:ti(Za(t.props),t.cache),prevConfig:Za(t.props)},t}return fr(t,e),t.getDerivedStateFromProps=function(e,t){var n=t.prevConfig,r=t.cache,o=Za(e);return Va(n,o)?null:{intl:ti(o,r),prevConfig:o}},t.prototype.render=function(){return za(this.state.intl),sr.createElement(Qa,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=Ga,t}(sr.PureComponent);function ri(e){var t=Ya(),n=t.textComponent,r=e.children,o=e.tagName,a=void 0===o?void 0===n?sr.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?sr.createElement(a,null,sr.Children.toArray(i)):sr.createElement(sr.Fragment,null,i)}ri.displayName="FormattedMessage";var oi=sr.memo(ri,function(e,t){var n=e.values,r=pr(e,["values"]),o=t.values,a=pr(t,["values"]);return Va(o,n)&&Va(r,a)});oi.displayName="MemoizedFormattedMessage";var ai=Xa("formatDate"),ii=(Xa("formatTime"),Xa("formatNumber")),li=(Xa("formatList"),Xa("formatDisplayName"),{"credit-features.credit-cost-display":"{creditCost} (APR {taegPercentage})","credit-features.information":"Ein Kredit verpflichtet Sie und muss zurückgezahlt werden. Prüfen Sie Ihre Rückzahlungsfähigkeit, bevor Sie sich verpflichten.","credit-features.total-credit-cost":"Davon Kreditkosten","eligibility-modal.bullet-1":"Wählen Sie <strong>Alma</strong> bei der Bezahlung.","eligibility-modal.bullet-2":"Füllen Sie die <strong>angeforderten</strong> Informationen aus.","eligibility-modal.bullet-3":"Ihre Zahlung wird <strong>sofort</strong> bestätigt!","eligibility-modal.no-eligibility":"Ups, die Simulation hat anscheinend nicht funktioniert.","eligibility-modal.title-deferred-plan":"Bezahlen Sie mit Alma in Raten oder später per Kreditkarte.","eligibility-modal.title-normal":"Bezahlen Sie mit Alma in mehreren Raten per Kreditkarte.","installments.today":"Heute","installments.total-amount":"Gesamtsumme","installments.total-fees":"Davon Kosten (inkl. MwSt.)","payment-plan-strings.day-abbreviation":"T{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)"}),ui={"credit-features.credit-cost-display":"{creditCost} (APR {taegPercentage})","credit-features.information":"A loan commits you and must be repaid. Check your ability to repay before committing yourself.","credit-features.total-credit-cost":"Of which cost of credit","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":"The validation of your payment is <strong>instantaneous</strong> !","eligibility-modal.no-eligibility":"Oops, looks like the simulation didn't work.","eligibility-modal.title-deferred-plan":"Pay in installments or later by credit card with Alma.","eligibility-modal.title-normal":"Pay in installments by credit card with Alma.","installments.today":"Today","installments.total-amount":"Total","installments.total-fees":"Of which costs (incl. VAT)","payment-plan-strings.day-abbreviation":"D{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)"},si={"credit-features.credit-cost-display":"{creditCost} (TAE {taegPercentage})","credit-features.information":"Un préstamo te compromete y debe ser devuelto. Comprueba tu capacidad financiera antes de comprometerte.","credit-features.total-credit-cost":"Coste de crédito (incl. en el total)","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":"¡La validación de tu pago es <strong>instantánea</strong> !","eligibility-modal.no-eligibility":"Uy, parece que la simulación no ha funcionado.","eligibility-modal.title-deferred-plan":"Pague a plazos o posteriormente con tarjeta de crédito con Alma.","eligibility-modal.title-normal":"Pagar a plazos con tarjeta de crédito con Alma.","installments.today":"Hoy","installments.total-amount":"Total","installments.total-fees":"De los cuales, costes (IVA incluido)","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)"},ci={"credit-features.credit-cost-display":"{creditCost} (TAEG {taegPercentage})","credit-features.information":"Un crédit vous engage et doit être remboursé. Vérifiez vos capacités de remboursement avant de vous engager.","credit-features.total-credit-cost":"Dont coût du crédit","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 est <strong>instantanée</strong> !","eligibility-modal.no-eligibility":"Oups, il semblerait que la simulation n'ait pas fonctionné.","eligibility-modal.title-deferred-plan":"Payez en plusieurs fois ou plus tard par carte bancaire avec Alma.","eligibility-modal.title-normal":"Payez en plusieurs fois par carte bancaire avec Alma.","installments.today":"Aujourd'hui","installments.total-amount":"Total","installments.total-fees":"Dont frais (TTC)","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)"},fi={"credit-features.credit-cost-display":"{creditCost} (TAEG {taegPercentage})","credit-features.information":"Un pagamento rateale ti impegna e deve essere ripagato. Verifica la tua capacità di rimborso prima di impegnarti.","credit-features.total-credit-cost":"Di cui commissioni","eligibility-modal.bullet-1":"Scegli <strong>Alma</strong> alla cassa.","eligibility-modal.bullet-2":"Compila le informazioni <strong></strong> richieste.","eligibility-modal.bullet-3":"La convalida del pagamento è <strong>istantanea</strong>!","eligibility-modal.no-eligibility":"Ops, sembra che qualcosa non abbia funzionato.","eligibility-modal.title-deferred-plan":"Pagate a rate o in seguito con carta di credito con Alma.","eligibility-modal.title-normal":"Pagamenti rateali con carta di credito con Alma.","installments.today":"Oggi","installments.total-amount":"Totale","installments.total-fees":"Di cui costi (IVA inclusa)","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)"},di={"credit-features.credit-cost-display":"{creditCost} (gemiddeld rente percentage {taegPercentage})","credit-features.information":"Een lening bindt je en moet worden terugbetaald. Ga na of u kunt terugbetalen voordat u zich vastlegt.","credit-features.total-credit-cost":"Waarvan kosten van krediet","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":"De validatie van uw betaling is <strong>onmiddellijk</strong> !","eligibility-modal.no-eligibility":"Oeps, het lijkt erop dat de simulatie niet werkte.","eligibility-modal.title-deferred-plan":"Betaal in termijnen of later per creditcard met Alma.","eligibility-modal.title-normal":"Betaal in termijnen met een creditcard bij Alma.","installments.today":"Tegenwoordig","installments.total-amount":"Totaal","installments.total-fees":"Waarvan kosten (incl. BTW)","payment-plan-strings.day-abbreviation":"D{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":"(zonder kosten)"},pi={"credit-features.credit-cost-display":"{creditCost} (TAEG {taegPercentage})","credit-features.information":"Um crédito é um compromisso e deve ser reembolsado. Verifique a sua capacidade de pagar antes de se comprometer.","credit-features.total-credit-cost":"Incluindo custo do crédito","eligibility-modal.bullet-1":"Escolha a <strong>Alma</strong> no checkout.","eligibility-modal.bullet-2":"Preencha os <strong>dados</strong> solicitados.","eligibility-modal.bullet-3":"A validação do seu pagamento é <strong>instantaneamente</strong> !","eligibility-modal.no-eligibility":"Ups, parece que a simulação não funcionou.","eligibility-modal.title-deferred-plan":"Pagar em prestações ou mais tarde por cartão de crédito com Alma.","eligibility-modal.title-normal":"Pagar em prestações por cartão de crédito com Alma.","installments.today":"Hoje","installments.total-amount":"Total","installments.total-fees":"Dos quais custos (incl. IVA)","payment-plan-strings.day-abbreviation":"D{numberOfDeferredDays}","payment-plan-strings.default-message":"Pague em prestações através da Alma","payment-plan-strings.deferred":"{totalAmount} a pagar em {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Até {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"A partir de {minAmount}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} depois {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} depois {numberOfRemainingInstallments} x {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} x {totalAmount}","payment-plan-strings.no-fee":"(sem encargos)"},mi=function(e){switch(e.slice(0,2)){case Jn.fr:return ci;case Jn.es:return si;case Jn.it:return fi;case Jn.de:return li;case Jn.pt:return pi;case Jn.nl:return di;case Jn.en:default:return ui}},hi=function(e){var t=e.children,n=e.locale;return sr.createElement(ni,{messages:mi(n),locale:n,defaultLocale:"en"},t)},yi=p(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,x=null,A=3,N=!1,L=!1,R=!1;function M(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 I(e){if(R=!1,M(e),!L)if(null!==_(k))L=!0,n(D);else{var t=_(T);null!==t&&r(I,t.startTime-e)}}function D(e,n){L=!1,R&&(R=!1,o()),N=!0;var a=A;try{for(M(n),x=_(k);null!==x&&(!(x.expirationTime>n)||e&&!t.unstable_shouldYield());){var i=x.callback;if("function"==typeof i){x.callback=null,A=x.priorityLevel;var l=i(x.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?x.callback=l:x===_(k)&&C(k),M(n)}else C(k);x=_(k)}if(null!==x)var u=!0;else{var s=_(T);null!==s&&r(I,s.startTime-n),u=!1}return u}finally{x=null,A=a,N=!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(){L||N||(L=!0,n(D))},t.unstable_getCurrentPriorityLevel=function(){return A},t.unstable_getFirstCallbackNode=function(){return _(k)},t.unstable_next=function(e){switch(A){case 1:case 2:case 3:var t=3;break;default:t=A}var n=A;A=t;try{return e()}finally{A=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=A;A=e;try{return t()}finally{A=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)&&(R?o():R=!0,r(I,i-l))):(e.sortIndex=u,S(k,e),L||N||(L=!0,n(D))),e},t.unstable_wrapCallback=function(e){var t=A;return function(){var n=A;A=t;try{return e.apply(this,arguments)}finally{A=n}}}}),gi=(p(function(e,t){}),p(function(e){e.exports=yi}));function vi(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(!sr)throw Error(vi(227));var bi=new Set,Ei={};function wi(e,t){Si(e,t),Si(e+"Capture",t)}function Si(e,t){for(Ei[e]=t,e=0;e<t.length;e++)bi.add(t[e])}var _i=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),Ci=/^[: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]*$/,Oi=Object.prototype.hasOwnProperty,ki={},Ti={};function Pi(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 xi={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){xi[e]=new Pi(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];xi[t]=new Pi(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){xi[e]=new Pi(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){xi[e]=new Pi(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){xi[e]=new Pi(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){xi[e]=new Pi(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){xi[e]=new Pi(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){xi[e]=new Pi(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){xi[e]=new Pi(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ai=/[\-:]([a-z])/g;function Ni(e){return e[1].toUpperCase()}function Li(e,t,n,r){var o=xi.hasOwnProperty(t)?xi[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!!Oi.call(Ti,e)||!Oi.call(ki,e)&&(Ci.test(e)?Ti[e]=!0:(ki[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(Ai,Ni);xi[t]=new Pi(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(Ai,Ni);xi[t]=new Pi(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(Ai,Ni);xi[t]=new Pi(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){xi[e]=new Pi(e,1,!1,e.toLowerCase(),null,!1,!1)}),xi.xlinkHref=new Pi("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){xi[e]=new Pi(e,1,!1,e.toLowerCase(),null,!0,!0)});var Ri=sr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Mi=60103,Ii=60106,Di=60107,Fi=60108,Hi=60114,ji=60109,Bi=60110,Ui=60112,zi=60113,Gi=60120,Vi=60115,Wi=60116,$i=60121,qi=60128,Qi=60129,Ki=60130,Yi=60131;if("function"==typeof Symbol&&Symbol.for){var Xi=Symbol.for;Mi=Xi("react.element"),Ii=Xi("react.portal"),Di=Xi("react.fragment"),Fi=Xi("react.strict_mode"),Hi=Xi("react.profiler"),ji=Xi("react.provider"),Bi=Xi("react.context"),Ui=Xi("react.forward_ref"),zi=Xi("react.suspense"),Gi=Xi("react.suspense_list"),Vi=Xi("react.memo"),Wi=Xi("react.lazy"),$i=Xi("react.block"),Xi("react.scope"),qi=Xi("react.opaque.id"),Qi=Xi("react.debug_trace_mode"),Ki=Xi("react.offscreen"),Yi=Xi("react.legacy_hidden")}var Zi,Ji="function"==typeof Symbol&&Symbol.iterator;function el(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Ji&&e[Ji]||e["@@iterator"])?e:null}function tl(e){if(void 0===Zi)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Zi=t&&t[1]||""}return"\n"+Zi+e}var nl=!1;function rl(e,t){if(!e||nl)return"";nl=!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{nl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?tl(e):""}function ol(e){switch(e.tag){case 5:return tl(e.type);case 16:return tl("Lazy");case 13:return tl("Suspense");case 19:return tl("SuspenseList");case 0:case 2:case 15:return rl(e.type,!1);case 11:return rl(e.type.render,!1);case 22:return rl(e.type._render,!1);case 1:return rl(e.type,!0);default:return""}}function al(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 Di:return"Fragment";case Ii:return"Portal";case Hi:return"Profiler";case Fi:return"StrictMode";case zi:return"Suspense";case Gi:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case Bi:return(e.displayName||"Context")+".Consumer";case ji:return(e._context.displayName||"Context")+".Provider";case Ui:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case Vi:return al(e.type);case $i:return al(e._render);case Wi:t=e._payload,e=e._init;try{return al(e(t))}catch(e){}}return null}function il(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function ll(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function ul(e){e._valueTracker||(e._valueTracker=function(e){var t=ll(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 sl(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ll(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function cl(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 fl(e,t){var n=t.checked;return lr({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function dl(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=il(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 pl(e,t){null!=(t=t.checked)&&Li(e,"checked",t,!1)}function ml(e,t){pl(e,t);var n=il(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")?yl(e,t.type,n):t.hasOwnProperty("defaultValue")&&yl(e,t.type,il(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function hl(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 yl(e,t,n){"number"===t&&cl(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function gl(e,t){return e=lr({children:void 0},t),(t=function(e){var t="";return sr.Children.forEach(e,function(e){null!=e&&(t+=e)}),t}(t.children))&&(e.children=t),e}function vl(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=""+il(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 bl(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(vi(91));return lr({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function El(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(vi(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(vi(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:il(n)}}function wl(e,t){var n=il(t.value),r=il(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 Sl(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var _l="http://www.w3.org/1999/xhtml";function Cl(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 Ol(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Cl(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var kl,Tl=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((kl=kl||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=kl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Pl(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 xl={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},Al=["Webkit","ms","Moz","O"];function Nl(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||xl.hasOwnProperty(e)&&xl[e]?(""+t).trim():t+"px"}function Ll(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=Nl(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(xl).forEach(function(e){Al.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),xl[t]=xl[e]})});var Rl=lr({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 Ml(e,t){if(t){if(Rl[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(vi(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(vi(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(vi(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(vi(62))}}function Il(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 Dl(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Fl=null,Hl=null,jl=null;function Bl(e){if(e=lf(e)){if("function"!=typeof Fl)throw Error(vi(280));var t=e.stateNode;t&&(t=sf(t),Fl(e.stateNode,e.type,t))}}function Ul(e){Hl?jl?jl.push(e):jl=[e]:Hl=e}function zl(){if(Hl){var e=Hl,t=jl;if(jl=Hl=null,Bl(e),t)for(e=0;e<t.length;e++)Bl(t[e])}}function Gl(e,t){return e(t)}function Vl(e,t,n,r,o){return e(t,n,r,o)}function Wl(){}var $l=Gl,ql=!1,Ql=!1;function Kl(){null===Hl&&null===jl||(Wl(),zl())}function Yl(e,t){var n=e.stateNode;if(null===n)return null;var r=sf(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(vi(231,t,typeof n));return n}var Xl=!1;if(_i)try{var Zl={};Object.defineProperty(Zl,"passive",{get:function(){Xl=!0}}),window.addEventListener("test",Zl,Zl),window.removeEventListener("test",Zl,Zl)}catch(e){Xl=!1}function Jl(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 eu=!1,tu=null,nu=!1,ru=null,ou={onError:function(e){eu=!0,tu=e}};function au(e,t,n,r,o,a,i,l,u){eu=!1,tu=null,Jl.apply(ou,arguments)}function iu(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 lu(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 uu(e){if(iu(e)!==e)throw Error(vi(188))}function su(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=iu(e)))throw Error(vi(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 uu(o),e;if(a===r)return uu(o),t;a=a.sibling}throw Error(vi(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(vi(189))}}if(n.alternate!==r)throw Error(vi(190))}if(3!==n.tag)throw Error(vi(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 cu,fu,du,pu,mu=!1,hu=[],yu=null,gu=null,vu=null,bu=new Map,Eu=new Map,wu=[],Su="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 _u(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:o,targetContainers:[r]}}function Cu(e,t){switch(e){case"focusin":case"focusout":yu=null;break;case"dragenter":case"dragleave":gu=null;break;case"mouseover":case"mouseout":vu=null;break;case"pointerover":case"pointerout":bu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Eu.delete(t.pointerId)}}function Ou(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e=_u(t,n,r,o,a),null!==t&&null!==(t=lf(t))&&fu(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function ku(e){var t=af(e.target);if(null!==t){var n=iu(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=lu(n)))return e.blockedOn=t,void pu(e.lanePriority,function(){gi.unstable_runWithPriority(e.priority,function(){du(n)})})}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Tu(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=ls(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=lf(n))&&fu(t),e.blockedOn=n,!1;t.shift()}return!0}function Pu(e,t,n){Tu(e)&&n.delete(t)}function xu(){for(mu=!1;0<hu.length;){var e=hu[0];if(null!==e.blockedOn){null!==(e=lf(e.blockedOn))&&cu(e);break}for(var t=e.targetContainers;0<t.length;){var n=ls(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&hu.shift()}null!==yu&&Tu(yu)&&(yu=null),null!==gu&&Tu(gu)&&(gu=null),null!==vu&&Tu(vu)&&(vu=null),bu.forEach(Pu),Eu.forEach(Pu)}function Au(e,t){e.blockedOn===t&&(e.blockedOn=null,mu||(mu=!0,gi.unstable_scheduleCallback(gi.unstable_NormalPriority,xu)))}function Nu(e){function t(t){return Au(t,e)}if(0<hu.length){Au(hu[0],e);for(var n=1;n<hu.length;n++){var r=hu[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==yu&&Au(yu,e),null!==gu&&Au(gu,e),null!==vu&&Au(vu,e),bu.forEach(t),Eu.forEach(t),n=0;n<wu.length;n++)(r=wu[n]).blockedOn===e&&(r.blockedOn=null);for(;0<wu.length&&null===(n=wu[0]).blockedOn;)ku(n),null===n.blockedOn&&wu.shift()}function Lu(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ru={animationend:Lu("Animation","AnimationEnd"),animationiteration:Lu("Animation","AnimationIteration"),animationstart:Lu("Animation","AnimationStart"),transitionend:Lu("Transition","TransitionEnd")},Mu={},Iu={};function Du(e){if(Mu[e])return Mu[e];if(!Ru[e])return e;var t,n=Ru[e];for(t in n)if(n.hasOwnProperty(t)&&t in Iu)return Mu[e]=n[t];return e}_i&&(Iu=document.createElement("div").style,"AnimationEvent"in window||(delete Ru.animationend.animation,delete Ru.animationiteration.animation,delete Ru.animationstart.animation),"TransitionEvent"in window||delete Ru.transitionend.transition);var Fu=Du("animationend"),Hu=Du("animationiteration"),ju=Du("animationstart"),Bu=Du("transitionend"),Uu=new Map,zu=new Map,Gu=["abort","abort",Fu,"animationEnd",Hu,"animationIteration",ju,"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",Bu,"transitionEnd","waiting","waiting"];function Vu(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)),zu.set(r,t),Uu.set(r,o),wi(o,[r])}}(0,gi.unstable_now)();var Wu=8;function $u(e){if(0!=(1&e))return Wu=15,1;if(0!=(2&e))return Wu=14,2;if(0!=(4&e))return Wu=13,4;var t=24&e;return 0!==t?(Wu=12,t):0!=(32&e)?(Wu=11,32):0!=(t=192&e)?(Wu=10,t):0!=(256&e)?(Wu=9,256):0!=(t=3584&e)?(Wu=8,t):0!=(4096&e)?(Wu=7,4096):0!=(t=4186112&e)?(Wu=6,t):0!=(t=62914560&e)?(Wu=5,t):67108864&e?(Wu=4,67108864):0!=(134217728&e)?(Wu=3,134217728):0!=(t=805306368&e)?(Wu=2,t):0!=(1073741824&e)?(Wu=1,1073741824):(Wu=8,e)}function qu(e,t){var n=e.pendingLanes;if(0===n)return Wu=0;var r=0,o=0,a=e.expiredLanes,i=e.suspendedLanes,l=e.pingedLanes;if(0!==a)r=a,o=Wu=15;else if(0!=(a=134217727&n)){var u=a&~i;0!==u?(r=$u(u),o=Wu):0!=(l&=a)&&(r=$u(l),o=Wu)}else 0!=(a=n&~i)?(r=$u(a),o=Wu):0!==l&&(r=$u(l),o=Wu);if(0===r)return 0;if(r=n&((0>(r=31-Zu(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&i)){if($u(t),o<=Wu)return t;Wu=o}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)r|=e[n=31-Zu(t)],t&=~(o=1<<n);return r}function Qu(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Ku(e){return e&-e}function Yu(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Xu(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Zu(t)]=n}var Zu=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Ju(e)/es|0)|0},Ju=Math.log,es=Math.LN2,ts=gi.unstable_UserBlockingPriority,ns=gi.unstable_runWithPriority,rs=!0;function os(e,t,n,r){ql||Wl();var o=is,a=ql;ql=!0;try{Vl(o,e,t,n,r)}finally{(ql=a)||Kl()}}function as(e,t,n,r){ns(ts,is.bind(null,e,t,n,r))}function is(e,t,n,r){var o;if(rs)if((o=0==(4&t))&&0<hu.length&&-1<Su.indexOf(e))e=_u(null,e,t,n,r),hu.push(e);else{var a=ls(e,t,n,r);if(null===a)o&&Cu(e,r);else{if(o){if(-1<Su.indexOf(e))return e=_u(a,e,t,n,r),void hu.push(e);if(function(e,t,n,r,o){switch(t){case"focusin":return yu=Ou(yu,e,t,n,r,o),!0;case"dragenter":return gu=Ou(gu,e,t,n,r,o),!0;case"mouseover":return vu=Ou(vu,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return bu.set(a,Ou(bu.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return Eu.set(a=o.pointerId,Ou(Eu.get(a)||null,e,t,n,r,o)),!0}return!1}(a,e,t,n,r))return;Cu(e,r)}Hc(e,t,r,null,n)}}}function ls(e,t,n,r){var o=Dl(r);if(null!==(o=af(o))){var a=iu(o);if(null===a)o=null;else{var i=a.tag;if(13===i){if(null!==(o=lu(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 Hc(e,t,r,o,n),null}var us=null,ss=null,cs=null;function fs(){if(cs)return cs;var e,t,n=ss,r=n.length,o="value"in us?us.value:us.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 cs=o.slice(e,1<t?1-t:void 0)}function ds(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 ps(){return!0}function ms(){return!1}function hs(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)?ps:ms,this.isPropagationStopped=ms,this}return lr(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=ps)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=ps)},persist:function(){},isPersistent:ps}),t}var ys,gs,vs,bs={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Es=hs(bs),ws=lr({},bs,{view:0,detail:0}),Ss=hs(ws),_s=lr({},ws,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ms,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!==vs&&(vs&&"mousemove"===e.type?(ys=e.screenX-vs.screenX,gs=e.screenY-vs.screenY):gs=ys=0,vs=e),ys)},movementY:function(e){return"movementY"in e?e.movementY:gs}}),Cs=hs(_s),Os=hs(lr({},_s,{dataTransfer:0})),ks=hs(lr({},ws,{relatedTarget:0})),Ts=hs(lr({},bs,{animationName:0,elapsedTime:0,pseudoElement:0})),Ps=hs(lr({},bs,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),xs=hs(lr({},bs,{data:0})),As={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ns={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"},Ls={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Rs(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Ls[e])&&!!t[e]}function Ms(){return Rs}var Is=hs(lr({},ws,{key:function(e){if(e.key){var t=As[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=ds(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Ns[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ms,charCode:function(e){return"keypress"===e.type?ds(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?ds(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),Ds=hs(lr({},_s,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Fs=hs(lr({},ws,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ms})),Hs=hs(lr({},bs,{propertyName:0,elapsedTime:0,pseudoElement:0})),js=hs(lr({},_s,{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})),Bs=[9,13,27,32],Us=_i&&"CompositionEvent"in window,zs=null;_i&&"documentMode"in document&&(zs=document.documentMode);var Gs=_i&&"TextEvent"in window&&!zs,Vs=_i&&(!Us||zs&&8<zs&&11>=zs),Ws=String.fromCharCode(32),$s=!1;function qs(e,t){switch(e){case"keyup":return-1!==Bs.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Qs(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Ks=!1,Ys={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 Xs(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Ys[e.type]:"textarea"===t}function Zs(e,t,n,r){Ul(r),0<(t=Bc(t,"onChange")).length&&(n=new Es("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Js=null,ec=null;function tc(e){Lc(e,0)}function nc(e){if(sl(uf(e)))return e}function rc(e,t){if("change"===e)return t}var oc=!1;if(_i){var ac;if(_i){var ic="oninput"in document;if(!ic){var lc=document.createElement("div");lc.setAttribute("oninput","return;"),ic="function"==typeof lc.oninput}ac=ic}else ac=!1;oc=ac&&(!document.documentMode||9<document.documentMode)}function uc(){Js&&(Js.detachEvent("onpropertychange",sc),ec=Js=null)}function sc(e){if("value"===e.propertyName&&nc(ec)){var t=[];if(Zs(t,ec,e,Dl(e)),e=tc,ql)e(t);else{ql=!0;try{Gl(e,t)}finally{ql=!1,Kl()}}}}function cc(e,t,n){"focusin"===e?(uc(),ec=n,(Js=t).attachEvent("onpropertychange",sc)):"focusout"===e&&uc()}function fc(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return nc(ec)}function dc(e,t){if("click"===e)return nc(t)}function pc(e,t){if("input"===e||"change"===e)return nc(t)}var mc="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},hc=Object.prototype.hasOwnProperty;function yc(e,t){if(mc(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(!hc.call(t,n[r])||!mc(e[n[r]],t[n[r]]))return!1;return!0}function gc(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function vc(e,t){var n,r=gc(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=gc(r)}}function bc(){for(var e=window,t=cl();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=cl((e=t.contentWindow).document)}return t}function Ec(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 wc=_i&&"documentMode"in document&&11>=document.documentMode,Sc=null,_c=null,Cc=null,Oc=!1;function kc(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Oc||null==Sc||Sc!==cl(r)||(r="selectionStart"in(r=Sc)&&Ec(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},Cc&&yc(Cc,r)||(Cc=r,0<(r=Bc(_c,"onSelect")).length&&(t=new Es("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Sc)))}Vu("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),Vu("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),Vu(Gu,2);for(var Tc="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Pc=0;Pc<Tc.length;Pc++)zu.set(Tc[Pc],0);Si("onMouseEnter",["mouseout","mouseover"]),Si("onMouseLeave",["mouseout","mouseover"]),Si("onPointerEnter",["pointerout","pointerover"]),Si("onPointerLeave",["pointerout","pointerover"]),wi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),wi("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),wi("onBeforeInput",["compositionend","keypress","textInput","paste"]),wi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),wi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),wi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var xc="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ac=new Set("cancel close invalid load scroll toggle".split(" ").concat(xc));function Nc(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,i,l,u){if(au.apply(this,arguments),eu){if(!eu)throw Error(vi(198));var s=tu;eu=!1,tu=null,nu||(nu=!0,ru=s)}}(r,t,void 0,e),e.currentTarget=null}function Lc(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;Nc(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;Nc(o,l,s),a=u}}}if(nu)throw e=ru,nu=!1,ru=null,e}function Rc(e,t){var n=cf(t),r=e+"__bubble";n.has(r)||(Fc(t,e,2,!1),n.add(r))}var Mc="_reactListening"+Math.random().toString(36).slice(2);function Ic(e){e[Mc]||(e[Mc]=!0,bi.forEach(function(t){Ac.has(t)||Dc(t,!1,e,null),Dc(t,!0,e,null)}))}function Dc(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&&Ac.has(e)){if("scroll"!==e)return;o|=2,a=r}var i=cf(a),l=e+"__"+(t?"capture":"bubble");i.has(l)||(t&&(o|=4),Fc(a,e,o,t),i.add(l))}function Fc(e,t,n,r){var o=zu.get(t);switch(void 0===o?2:o){case 0:o=os;break;case 1:o=as;break;default:o=is}n=o.bind(null,t,n,e),o=void 0,!Xl||"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 Hc(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=af(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(Ql)return e();Ql=!0;try{$l(e,void 0,void 0)}finally{Ql=!1,Kl()}}(function(){var r=a,o=Dl(n),i=[];e:{var l=Uu.get(e);if(void 0!==l){var u=Es,s=e;switch(e){case"keypress":if(0===ds(n))break e;case"keydown":case"keyup":u=Is;break;case"focusin":s="focus",u=ks;break;case"focusout":s="blur",u=ks;break;case"beforeblur":case"afterblur":u=ks;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=Cs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=Os;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=Fs;break;case Fu:case Hu:case ju:u=Ts;break;case Bu:u=Hs;break;case"scroll":u=Ss;break;case"wheel":u=js;break;case"copy":case"cut":case"paste":u=Ps;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=Ds}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=Yl(m,d))&&c.push(jc(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)||!af(s)&&!s[rf])&&(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)?af(s):null)&&(s!==(f=iu(s))||5!==s.tag&&6!==s.tag)&&(s=null)):(u=null,s=r),u!==s)){if(c=Cs,h="onMouseLeave",d="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(c=Ds,h="onPointerLeave",d="onPointerEnter",m="pointer"),f=null==u?l:uf(u),p=null==s?l:uf(s),(l=new c(h,m+"leave",u,n,o)).target=f,l.relatedTarget=p,h=null,af(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=Uc(p))m++;for(p=0,h=d;h;h=Uc(h))p++;for(;0<m-p;)c=Uc(c),m--;for(;0<p-m;)d=Uc(d),p--;for(;m--;){if(c===d||null!==d&&c===d.alternate)break e;c=Uc(c),d=Uc(d)}c=null}else c=null;null!==u&&zc(i,l,u,c,!1),null!==s&&null!==f&&zc(i,f,s,c,!0)}if("select"===(u=(l=r?uf(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===u&&"file"===l.type)var y=rc;else if(Xs(l))if(oc)y=pc;else{y=fc;var g=cc}else(u=l.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(y=dc);switch(y&&(y=y(e,r))?Zs(i,y,n,o):(g&&g(e,l,r),"focusout"===e&&(g=l._wrapperState)&&g.controlled&&"number"===l.type&&yl(l,"number",l.value)),g=r?uf(r):window,e){case"focusin":(Xs(g)||"true"===g.contentEditable)&&(Sc=g,_c=r,Cc=null);break;case"focusout":Cc=_c=Sc=null;break;case"mousedown":Oc=!0;break;case"contextmenu":case"mouseup":case"dragend":Oc=!1,kc(i,n,o);break;case"selectionchange":if(wc)break;case"keydown":case"keyup":kc(i,n,o)}var v;if(Us)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 Ks?qs(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Vs&&"ko"!==n.locale&&(Ks||"onCompositionStart"!==b?"onCompositionEnd"===b&&Ks&&(v=fs()):(ss="value"in(us=o)?us.value:us.textContent,Ks=!0)),0<(g=Bc(r,b)).length&&(b=new xs(b,e,null,n,o),i.push({event:b,listeners:g}),(v||null!==(v=Qs(n)))&&(b.data=v))),(v=Gs?function(e,t){switch(e){case"compositionend":return Qs(t);case"keypress":return 32!==t.which?null:($s=!0,Ws);case"textInput":return(e=t.data)===Ws&&$s?null:e;default:return null}}(e,n):function(e,t){if(Ks)return"compositionend"===e||!Us&&qs(e,t)?(e=fs(),cs=ss=us=null,Ks=!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 Vs&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))&&0<(r=Bc(r,"onBeforeInput")).length&&(o=new xs("onBeforeInput","beforeinput",null,n,o),i.push({event:o,listeners:r}),o.data=v)}Lc(i,t)})}function jc(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Bc(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=Yl(e,n))&&r.unshift(jc(e,a,o)),null!=(a=Yl(e,t))&&r.push(jc(e,a,o))),e=e.return}return r}function Uc(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function zc(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=Yl(n,a))&&i.unshift(jc(n,u,l)):o||null!=(u=Yl(n,a))&&i.push(jc(n,u,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}function Gc(){}var Vc=null,Wc=null;function $c(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function qc(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 Qc="function"==typeof setTimeout?setTimeout:void 0,Kc="function"==typeof clearTimeout?clearTimeout:void 0;function Yc(e){(1===e.nodeType||9===e.nodeType&&null!=(e=e.body))&&(e.textContent="")}function Xc(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Zc(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 Jc=0,ef=Math.random().toString(36).slice(2),tf="__reactFiber$"+ef,nf="__reactProps$"+ef,rf="__reactContainer$"+ef,of="__reactEvents$"+ef;function af(e){var t=e[tf];if(t)return t;for(var n=e.parentNode;n;){if(t=n[rf]||n[tf]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Zc(e);null!==e;){if(n=e[tf])return n;e=Zc(e)}return t}n=(e=n).parentNode}return null}function lf(e){return!(e=e[tf]||e[rf])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function uf(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(vi(33))}function sf(e){return e[nf]||null}function cf(e){var t=e[of];return void 0===t&&(t=e[of]=new Set),t}var ff=[],df=-1;function pf(e){return{current:e}}function mf(e){0>df||(e.current=ff[df],ff[df]=null,df--)}function hf(e,t){df++,ff[df]=e.current,e.current=t}var yf={},gf=pf(yf),vf=pf(!1),bf=yf;function Ef(e,t){var n=e.type.contextTypes;if(!n)return yf;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 wf(e){return null!=e.childContextTypes}function Sf(){mf(vf),mf(gf)}function _f(e,t,n){if(gf.current!==yf)throw Error(vi(168));hf(gf,t),hf(vf,n)}function Cf(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(vi(108,al(t)||"Unknown",o));return lr({},n,r)}function Of(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||yf,bf=gf.current,hf(gf,e),hf(vf,vf.current),!0}function kf(e,t,n){var r=e.stateNode;if(!r)throw Error(vi(169));n?(e=Cf(e,t,bf),r.__reactInternalMemoizedMergedChildContext=e,mf(vf),mf(gf),hf(gf,e)):mf(vf),hf(vf,n)}var Tf=null,Pf=null,xf=gi.unstable_runWithPriority,Af=gi.unstable_scheduleCallback,Nf=gi.unstable_cancelCallback,Lf=gi.unstable_shouldYield,Rf=gi.unstable_requestPaint,Mf=gi.unstable_now,If=gi.unstable_getCurrentPriorityLevel,Df=gi.unstable_ImmediatePriority,Ff=gi.unstable_UserBlockingPriority,Hf=gi.unstable_NormalPriority,jf=gi.unstable_LowPriority,Bf=gi.unstable_IdlePriority,Uf={},zf=void 0!==Rf?Rf:function(){},Gf=null,Vf=null,Wf=!1,$f=Mf(),qf=1e4>$f?Mf:function(){return Mf()-$f};function Qf(){switch(If()){case Df:return 99;case Ff:return 98;case Hf:return 97;case jf:return 96;case Bf:return 95;default:throw Error(vi(332))}}function Kf(e){switch(e){case 99:return Df;case 98:return Ff;case 97:return Hf;case 96:return jf;case 95:return Bf;default:throw Error(vi(332))}}function Yf(e,t){return e=Kf(e),xf(e,t)}function Xf(e,t,n){return e=Kf(e),Af(e,t,n)}function Zf(){if(null!==Vf){var e=Vf;Vf=null,Nf(e)}Jf()}function Jf(){if(!Wf&&null!==Gf){Wf=!0;var e=0;try{var t=Gf;Yf(99,function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}}),Gf=null}catch(t){throw null!==Gf&&(Gf=Gf.slice(e+1)),Af(Df,Zf),t}finally{Wf=!1}}}var ed=Ri.ReactCurrentBatchConfig;function td(e,t){if(e&&e.defaultProps){for(var n in t=lr({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var nd=pf(null),rd=null,od=null,ad=null;function id(){ad=od=rd=null}function ld(e){var t=nd.current;mf(nd),e.type._context._currentValue=t}function ud(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 sd(e,t){rd=e,ad=od=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Bp=!0),e.firstContext=null)}function cd(e,t){if(ad!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(ad=e,t=1073741823),t={context:e,observedBits:t,next:null},null===od){if(null===rd)throw Error(vi(308));od=t,rd.dependencies={lanes:0,firstContext:t,responders:null}}else od=od.next=t;return e._currentValue}var fd=!1;function dd(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function pd(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 md(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function hd(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 yd(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 gd(e,t,n,r){var o=e.updateQueue;fd=!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=lr({},f,l);break e;case 2:fd=!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,jm|=i,e.lanes=i,e.memoizedState=f}}function vd(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(vi(191,o));o.call(r)}}}var bd=(new sr.Component).refs;function Ed(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:lr({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var wd={isMounted:function(e){return!!(e=e._reactInternals)&&iu(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=uh(),o=sh(e),a=md(r,o);a.payload=t,null!=n&&(a.callback=n),hd(e,a),ch(e,o,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=uh(),o=sh(e),a=md(r,o);a.tag=1,a.payload=t,null!=n&&(a.callback=n),hd(e,a),ch(e,o,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=uh(),r=sh(e),o=md(n,r);o.tag=2,null!=t&&(o.callback=t),hd(e,o),ch(e,r,n)}};function Sd(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!(t.prototype&&t.prototype.isPureReactComponent&&yc(n,r)&&yc(o,a))}function _d(e,t,n){var r=!1,o=yf,a=t.contextType;return"object"==typeof a&&null!==a?a=cd(a):(o=wf(t)?bf:gf.current,a=(r=null!=(r=t.contextTypes))?Ef(e,o):yf),t=new t(n,a),e.memoizedState=null!=t.state?t.state:null,t.updater=wd,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function Cd(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&&wd.enqueueReplaceState(t,t.state,null)}function Od(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=bd,dd(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=cd(a):(a=wf(t)?bf:gf.current,o.context=Ef(e,a)),gd(e,n,o,r),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(Ed(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&&wd.enqueueReplaceState(o,o.state,null),gd(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4)}var kd=Array.isArray;function Td(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(vi(309));var r=n.stateNode}if(!r)throw Error(vi(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===bd&&(t=r.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!=typeof e)throw Error(vi(284));if(!n._owner)throw Error(vi(290,e))}return e}function Pd(e,t){if("textarea"!==e.type)throw Error(vi(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function xd(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=zh(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=$h(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=Td(e,t,n),r.return=e,r):((r=Gh(n.type,n.key,n.props,null,e.mode,r)).ref=Td(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=qh(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=Vh(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=$h(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case Mi:return(n=Gh(t.type,t.key,t.props,null,e.mode,n)).ref=Td(e,null,t),n.return=e,n;case Ii:return(t=qh(t,e.mode,n)).return=e,t}if(kd(t)||el(t))return(t=Vh(t,e.mode,n,null)).return=e,t;Pd(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 Mi:return n.key===o?n.type===Di?c(e,t,n.props.children,r,o):u(e,t,n,r):null;case Ii:return n.key===o?s(e,t,n,r):null}if(kd(n)||el(n))return null!==o?null:c(e,t,n,r,null);Pd(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 Mi:return e=e.get(null===r.key?n:r.key)||null,r.type===Di?c(t,e,r.props.children,o,r.key):u(t,e,r,o);case Ii:return s(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(kd(r)||el(r))return c(t,e=e.get(n)||null,r,o,null);Pd(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=el(l);if("function"!=typeof s)throw Error(vi(150));if(null==(l=s.call(l)))throw Error(vi(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===Di&&null===a.key;u&&(a=a.props.children);var s="object"==typeof a&&null!==a;if(s)switch(a.$$typeof){case Mi:e:{for(s=a.key,u=r;null!==u;){if(u.key===s){switch(u.tag){case 7:if(a.type===Di){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=Td(e,u,a),r.return=e,e=r;break e}}n(e,u);break}t(e,u),u=u.sibling}a.type===Di?((r=Vh(a.props.children,e.mode,l,a.key)).return=e,e=r):((l=Gh(a.type,a.key,a.props,null,e.mode,l)).ref=Td(e,r,a),l.return=e,e=l)}return i(e);case Ii: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=qh(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=$h(a,e.mode,l)).return=e,e=r),i(e);if(kd(a))return m(e,r,a,l);if(el(a))return h(e,r,a,l);if(s&&Pd(e,a),void 0===a&&!u)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(vi(152,al(e.type)||"Component"))}return n(e,r)}}var Ad=xd(!0),Nd=xd(!1),Ld={},Rd=pf(Ld),Md=pf(Ld),Id=pf(Ld);function Dd(e){if(e===Ld)throw Error(vi(174));return e}function Fd(e,t){switch(hf(Id,t),hf(Md,e),hf(Rd,Ld),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ol(null,"");break;default:t=Ol(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}mf(Rd),hf(Rd,t)}function Hd(){mf(Rd),mf(Md),mf(Id)}function jd(e){Dd(Id.current);var t=Dd(Rd.current),n=Ol(t,e.type);t!==n&&(hf(Md,e),hf(Rd,n))}function Bd(e){Md.current===e&&(mf(Rd),mf(Md))}var Ud=pf(0);function zd(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 Gd=null,Vd=null,Wd=!1;function $d(e,t){var n=Bh(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 qd(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 Qd(e){if(Wd){var t=Vd;if(t){var n=t;if(!qd(e,t)){if(!(t=Xc(n.nextSibling))||!qd(e,t))return e.flags=-1025&e.flags|2,Wd=!1,void(Gd=e);$d(Gd,n)}Gd=e,Vd=Xc(t.firstChild)}else e.flags=-1025&e.flags|2,Wd=!1,Gd=e}}function Kd(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Gd=e}function Yd(e){if(e!==Gd)return!1;if(!Wd)return Kd(e),Wd=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!qc(t,e.memoizedProps))for(t=Vd;t;)$d(e,t),t=Xc(t.nextSibling);if(Kd(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(vi(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Vd=Xc(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Vd=null}}else Vd=Gd?Xc(e.stateNode.nextSibling):null;return!0}function Xd(){Vd=Gd=null,Wd=!1}var Zd=[];function Jd(){for(var e=0;e<Zd.length;e++)Zd[e]._workInProgressVersionPrimary=null;Zd.length=0}var ep=Ri.ReactCurrentDispatcher,tp=Ri.ReactCurrentBatchConfig,np=0,rp=null,op=null,ap=null,ip=!1,lp=!1;function up(){throw Error(vi(321))}function sp(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!mc(e[n],t[n]))return!1;return!0}function cp(e,t,n,r,o,a){if(np=a,rp=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ep.current=null===e||null===e.memoizedState?Dp:Fp,e=n(r,o),lp){a=0;do{if(lp=!1,!(25>a))throw Error(vi(301));a+=1,ap=op=null,t.updateQueue=null,ep.current=Hp,e=n(r,o)}while(lp)}if(ep.current=Ip,t=null!==op&&null!==op.next,np=0,ap=op=rp=null,ip=!1,t)throw Error(vi(300));return e}function fp(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ap?rp.memoizedState=ap=e:ap=ap.next=e,ap}function dp(){if(null===op){var e=rp.alternate;e=null!==e?e.memoizedState:null}else e=op.next;var t=null===ap?rp.memoizedState:ap.next;if(null!==t)ap=t,op=e;else{if(null===e)throw Error(vi(310));e={memoizedState:(op=e).memoizedState,baseState:op.baseState,baseQueue:op.baseQueue,queue:op.queue,next:null},null===ap?rp.memoizedState=ap=e:ap=ap.next=e}return ap}function pp(e,t){return"function"==typeof t?t(e):t}function mp(e){var t=dp(),n=t.queue;if(null===n)throw Error(vi(311));n.lastRenderedReducer=e;var r=op,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((np&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,rp.lanes|=s,jm|=s}u=u.next}while(null!==u&&u!==o);null===l?a=r:l.next=i,mc(r,t.memoizedState)||(Bp=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function hp(e){var t=dp(),n=t.queue;if(null===n)throw Error(vi(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);mc(a,t.memoizedState)||(Bp=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function yp(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionPrimary;if(null!==o?e=o===r:(e=(np&(e=e.mutableReadLanes))===e)&&(t._workInProgressVersionPrimary=r,Zd.push(t)),e)return n(t._source);throw Zd.push(t),Error(vi(350))}function gp(e,t,n,r){var o=Nm;if(null===o)throw Error(vi(349));var a=t._getVersion,i=a(t._source),l=ep.current,u=l.useState(function(){return yp(o,t,n)}),s=u[1],c=u[0];u=ap;var f=e.memoizedState,d=f.refs,p=d.getSnapshot,m=f.source;f=f.subscribe;var h=rp;return e.memoizedState={refs:d,source:t,subscribe:r},l.useEffect(function(){d.getSnapshot=n,d.setSnapshot=s;var e=a(t._source);if(!mc(i,e)){e=n(t._source),mc(c,e)||(s(e),e=sh(h),o.mutableReadLanes|=e&o.pendingLanes),o.entangledLanes|=e=o.mutableReadLanes;for(var r=o.entanglements,l=e;0<l;){var u=31-Zu(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=sh(h);o.mutableReadLanes|=r&o.pendingLanes}catch(e){n(function(){throw e})}})},[t,r]),mc(p,n)&&mc(m,t)&&mc(f,r)||((e={pending:null,dispatch:null,lastRenderedReducer:pp,lastRenderedState:c}).dispatch=s=Mp.bind(null,rp,e),u.queue=e,u.baseQueue=null,c=yp(o,t,n),u.memoizedState=u.baseState=c),c}function vp(e,t,n){return gp(dp(),e,t,n)}function bp(e){var t=fp();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:pp,lastRenderedState:e}).dispatch=Mp.bind(null,rp,e),[t.memoizedState,e]}function Ep(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=rp.updateQueue)?(rp.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 wp(e){return fp().memoizedState={current:e}}function Sp(){return dp().memoizedState}function _p(e,t,n,r){var o=fp();rp.flags|=e,o.memoizedState=Ep(1|t,n,void 0,void 0===r?null:r)}function Cp(e,t,n,r){var o=dp();r=void 0===r?null:r;var a=void 0;if(null!==op){var i=op.memoizedState;if(a=i.destroy,null!==r&&sp(r,i.deps))return void Ep(t,n,a,r)}rp.flags|=e,o.memoizedState=Ep(1|t,n,a,r)}function Op(e,t){return _p(516,4,e,t)}function kp(e,t){return Cp(516,4,e,t)}function Tp(e,t){return Cp(4,2,e,t)}function Pp(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 xp(e,t,n){return n=null!=n?n.concat([e]):null,Cp(4,2,Pp.bind(null,t,e),n)}function Ap(){}function Np(e,t){var n=dp();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&sp(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Lp(e,t){var n=dp();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&sp(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Rp(e,t){var n=Qf();Yf(98>n?98:n,function(){e(!0)}),Yf(97<n?97:n,function(){var n=tp.transition;tp.transition=1;try{e(!1),t()}finally{tp.transition=n}})}function Mp(e,t,n){var r=uh(),o=sh(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===rp||null!==i&&i===rp)lp=ip=!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,mc(u,l))return}catch(e){}ch(e,o,r)}}var Ip={readContext:cd,useCallback:up,useContext:up,useEffect:up,useImperativeHandle:up,useLayoutEffect:up,useMemo:up,useReducer:up,useRef:up,useState:up,useDebugValue:up,useDeferredValue:up,useTransition:up,useMutableSource:up,useOpaqueIdentifier:up,unstable_isNewReconciler:!1},Dp={readContext:cd,useCallback:function(e,t){return fp().memoizedState=[e,void 0===t?null:t],e},useContext:cd,useEffect:Op,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,_p(4,2,Pp.bind(null,t,e),n)},useLayoutEffect:function(e,t){return _p(4,2,e,t)},useMemo:function(e,t){var n=fp();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=fp();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=Mp.bind(null,rp,e),[r.memoizedState,e]},useRef:wp,useState:bp,useDebugValue:Ap,useDeferredValue:function(e){var t=bp(e),n=t[0],r=t[1];return Op(function(){var t=tp.transition;tp.transition=1;try{r(e)}finally{tp.transition=t}},[e]),n},useTransition:function(){var e=bp(!1),t=e[0];return wp(e=Rp.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=fp();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},gp(r,e,t,n)},useOpaqueIdentifier:function(){if(Wd){var e=!1,t=function(e){return{$$typeof:qi,toString:e,valueOf:e}}(function(){throw e||(e=!0,n("r:"+(Jc++).toString(36))),Error(vi(355))}),n=bp(t)[1];return 0==(2&rp.mode)&&(rp.flags|=516,Ep(5,function(){n("r:"+(Jc++).toString(36))},void 0,null)),t}return bp(t="r:"+(Jc++).toString(36)),t},unstable_isNewReconciler:!1},Fp={readContext:cd,useCallback:Np,useContext:cd,useEffect:kp,useImperativeHandle:xp,useLayoutEffect:Tp,useMemo:Lp,useReducer:mp,useRef:Sp,useState:function(){return mp(pp)},useDebugValue:Ap,useDeferredValue:function(e){var t=mp(pp),n=t[0],r=t[1];return kp(function(){var t=tp.transition;tp.transition=1;try{r(e)}finally{tp.transition=t}},[e]),n},useTransition:function(){var e=mp(pp)[0];return[Sp().current,e]},useMutableSource:vp,useOpaqueIdentifier:function(){return mp(pp)[0]},unstable_isNewReconciler:!1},Hp={readContext:cd,useCallback:Np,useContext:cd,useEffect:kp,useImperativeHandle:xp,useLayoutEffect:Tp,useMemo:Lp,useReducer:hp,useRef:Sp,useState:function(){return hp(pp)},useDebugValue:Ap,useDeferredValue:function(e){var t=hp(pp),n=t[0],r=t[1];return kp(function(){var t=tp.transition;tp.transition=1;try{r(e)}finally{tp.transition=t}},[e]),n},useTransition:function(){var e=hp(pp)[0];return[Sp().current,e]},useMutableSource:vp,useOpaqueIdentifier:function(){return hp(pp)[0]},unstable_isNewReconciler:!1},jp=Ri.ReactCurrentOwner,Bp=!1;function Up(e,t,n,r){t.child=null===e?Nd(t,null,n,r):Ad(t,e.child,n,r)}function zp(e,t,n,r,o){n=n.render;var a=t.ref;return sd(t,o),r=cp(e,t,n,r,a,o),null===e||Bp?(t.flags|=1,Up(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,im(e,t,o))}function Gp(e,t,n,r,o,a){if(null===e){var i=n.type;return"function"!=typeof i||Uh(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Gh(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Vp(e,t,i,r,o,a))}return i=e.child,0==(o&a)&&(n=null!==(n=n.compare)?n:yc)(o=i.memoizedProps,r)&&e.ref===t.ref?im(e,t,a):(t.flags|=1,(e=zh(i,r)).ref=t.ref,e.return=t,t.child=e)}function Vp(e,t,n,r,o,a){if(null!==e&&yc(e.memoizedProps,r)&&e.ref===t.ref){if(Bp=!1,0==(a&o))return t.lanes=e.lanes,im(e,t,a);0!=(16384&e.flags)&&(Bp=!0)}return qp(e,t,n,r,a)}function Wp(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},vh(0,n);else{if(0==(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},vh(0,e),null;t.memoizedState={baseLanes:0},vh(0,null!==a?a.baseLanes:n)}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,vh(0,r);return Up(e,t,o,n),t.child}function $p(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function qp(e,t,n,r,o){var a=wf(n)?bf:gf.current;return a=Ef(t,a),sd(t,o),n=cp(e,t,n,r,a,o),null===e||Bp?(t.flags|=1,Up(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,im(e,t,o))}function Qp(e,t,n,r,o){if(wf(n)){var a=!0;Of(t)}else a=!1;if(sd(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),_d(t,n,r),Od(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?cd(s):Ef(t,s=wf(n)?bf:gf.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)&&Cd(t,i,r,s),fd=!1;var d=t.memoizedState;i.state=d,gd(t,r,i,o),u=t.memoizedState,l!==r||d!==u||vf.current||fd?("function"==typeof c&&(Ed(t,n,c,r),u=t.memoizedState),(l=fd||Sd(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,pd(e,t),l=t.memoizedProps,s=t.type===t.elementType?l:td(t.type,l),i.props=s,f=t.pendingProps,d=i.context,u="object"==typeof(u=n.contextType)&&null!==u?cd(u):Ef(t,u=wf(n)?bf:gf.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)&&Cd(t,i,r,u),fd=!1,i.state=d=t.memoizedState,gd(t,r,i,o);var m=t.memoizedState;l!==f||d!==m||vf.current||fd?("function"==typeof p&&(Ed(t,n,p,r),m=t.memoizedState),(s=fd||Sd(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 Kp(e,t,n,r,a,o)}function Kp(e,t,n,r,o,a){$p(e,t);var i=0!=(64&t.flags);if(!r&&!i)return o&&kf(t,n,!1),im(e,t,a);r=t.stateNode,jp.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Ad(t,e.child,null,a),t.child=Ad(t,null,l,a)):Up(e,t,l,a),t.memoizedState=r.state,o&&kf(t,n,!0),t.child}function Yp(e){var t=e.stateNode;t.pendingContext?_f(0,t.pendingContext,t.pendingContext!==t.context):t.context&&_f(0,t.context,!1),Fd(e,t.containerInfo)}var Xp,Zp,Jp,em={dehydrated:null,retryLane:0};function tm(e,t,n){var r,o=t.pendingProps,a=Ud.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),hf(Ud,1&a),null===e?(void 0!==o.fallback&&Qd(t),e=o.children,a=o.fallback,i?(e=nm(t,e,a,n),t.child.memoizedState={baseLanes:n},t.memoizedState=em,e):"number"==typeof o.unstable_expectedLoadTime?(e=nm(t,e,a,n),t.child.memoizedState={baseLanes:n},t.memoizedState=em,t.lanes=33554432,e):((n=Wh({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=zh(i,l),null!==e?r=zh(e,r):(r=Vh(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=em,o):(n=function(e,t,n,r){var o=e.child;return e=o.sibling,n=zh(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 nm(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=Wh(t,o,0,null),n=Vh(n,o,r,null),a.return=e,n.return=e,a.sibling=n,e.child=a,n}function rm(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),ud(e.return,t)}function om(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 am(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(Up(e,t,r.children,n),0!=(2&(r=Ud.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&&rm(e,n);else if(19===e.tag)rm(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(hf(Ud,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===zd(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),om(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===zd(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}om(t,!0,n,null,a,t.lastEffect);break;case"together":om(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function im(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),jm|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(vi(153));if(null!==t.child){for(n=zh(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)(n=n.sibling=zh(e=e.sibling,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function lm(e,t){if(!Wd)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 um(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 wf(t.type)&&Sf(),null;case 3:return Hd(),mf(vf),mf(gf),Jd(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Yd(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:Bd(t);var o=Dd(Id.current);if(n=t.type,null!==e&&null!=t.stateNode)Zp(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(vi(166));return null}if(e=Dd(Rd.current),Yd(t)){n=t.type;var a=t.memoizedProps;switch((r=t.stateNode)[tf]=t,r[nf]=a,n){case"dialog":Rc("cancel",r),Rc("close",r);break;case"iframe":case"object":case"embed":Rc("load",r);break;case"video":case"audio":for(e=0;e<xc.length;e++)Rc(xc[e],r);break;case"source":Rc("error",r);break;case"img":case"image":case"link":Rc("error",r),Rc("load",r);break;case"details":Rc("toggle",r);break;case"input":dl(r,a),Rc("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Rc("invalid",r);break;case"textarea":El(r,a),Rc("invalid",r)}for(var i in Ml(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]):Ei.hasOwnProperty(i)&&null!=o&&"onScroll"===i&&Rc("scroll",r));switch(n){case"input":ul(r),hl(r,a,!0);break;case"textarea":ul(r),Sl(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=Gc)}t.updateQueue=r=e,null!==r&&(t.flags|=4)}else{switch(i=9===o.nodeType?o:o.ownerDocument,e===_l&&(e=Cl(n)),e===_l?"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[tf]=t,e[nf]=r,Xp(e,t),t.stateNode=e,i=Il(n,r),n){case"dialog":Rc("cancel",e),Rc("close",e),o=r;break;case"iframe":case"object":case"embed":Rc("load",e),o=r;break;case"video":case"audio":for(o=0;o<xc.length;o++)Rc(xc[o],e);o=r;break;case"source":Rc("error",e),o=r;break;case"img":case"image":case"link":Rc("error",e),Rc("load",e),o=r;break;case"details":Rc("toggle",e),o=r;break;case"input":dl(e,r),o=fl(e,r),Rc("invalid",e);break;case"option":o=gl(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=lr({},r,{value:void 0}),Rc("invalid",e);break;case"textarea":El(e,r),o=bl(e,r),Rc("invalid",e);break;default:o=r}Ml(n,o);var l=o;for(a in l)if(l.hasOwnProperty(a)){var u=l[a];"style"===a?Ll(e,u):"dangerouslySetInnerHTML"===a?null!=(u=u?u.__html:void 0)&&Tl(e,u):"children"===a?"string"==typeof u?("textarea"!==n||""!==u)&&Pl(e,u):"number"==typeof u&&Pl(e,""+u):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(Ei.hasOwnProperty(a)?null!=u&&"onScroll"===a&&Rc("scroll",e):null!=u&&Li(e,a,u,i))}switch(n){case"input":ul(e),hl(e,r,!1);break;case"textarea":ul(e),Sl(e);break;case"option":null!=r.value&&e.setAttribute("value",""+il(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?vl(e,!!r.multiple,a,!1):null!=r.defaultValue&&vl(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Gc)}$c(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Jp(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(vi(166));n=Dd(Id.current),Dd(Rd.current),Yd(t)?(n=t.memoizedProps,(r=t.stateNode)[tf]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[tf]=t,t.stateNode=r)}return null;case 13:return mf(Ud),r=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Yd(t):n=null!==e.memoizedState,r&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Ud.current)?0===Dm&&(Dm=3):(0!==Dm&&3!==Dm||(Dm=4),null===Nm||0==(134217727&jm)&&0==(134217727&Bm)||mh(Nm,Rm))),(r||n)&&(t.flags|=4),null);case 4:return Hd(),null===e&&Ic(t.stateNode.containerInfo),null;case 10:return ld(t),null;case 17:return wf(t.type)&&Sf(),null;case 19:if(mf(Ud),null===(r=t.memoizedState))return null;if(a=0!=(64&t.flags),null===(i=r.rendering))if(a)lm(r,!1);else{if(0!==Dm||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(i=zd(e))){for(t.flags|=64,lm(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 hf(Ud,1&Ud.current|2),t.child}e=e.sibling}null!==r.tail&&qf()>Vm&&(t.flags|=64,a=!0,lm(r,!1),t.lanes=33554432)}else{if(!a)if(null!==(e=zd(i))){if(t.flags|=64,a=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),lm(r,!0),null===r.tail&&"hidden"===r.tailMode&&!i.alternate&&!Wd)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*qf()-r.renderingStartTime>Vm&&1073741824!==n&&(t.flags|=64,a=!0,lm(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=qf(),n.sibling=null,t=Ud.current,hf(Ud,a?1&t|2:1&t),n):null;case 23:case 24:return bh(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(vi(156,t.tag))}function sm(e){switch(e.tag){case 1:wf(e.type)&&Sf();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Hd(),mf(vf),mf(gf),Jd(),0!=(64&(t=e.flags)))throw Error(vi(285));return e.flags=-4097&t|64,e;case 5:return Bd(e),null;case 13:return mf(Ud),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return mf(Ud),null;case 4:return Hd(),null;case 10:return ld(e),null;case 23:case 24:return bh(),null;default:return null}}function cm(e,t){try{var n="",r=t;do{n+=ol(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 fm(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}Xp=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}},Zp=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Dd(Rd.current);var a,i=null;switch(n){case"input":o=fl(e,o),r=fl(e,r),i=[];break;case"option":o=gl(e,o),r=gl(e,r),i=[];break;case"select":o=lr({},o,{value:void 0}),r=lr({},r,{value:void 0}),i=[];break;case"textarea":o=bl(e,o),r=bl(e,r),i=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Gc)}for(s in Ml(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&&(Ei.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&&(Ei.hasOwnProperty(s)?(null!=u&&"onScroll"===s&&Rc("scroll",e),i||l===u||(i=[])):"object"==typeof u&&null!==u&&u.$$typeof===qi?u.toString():(i=i||[]).push(s,u))}n&&(i=i||[]).push("style",n);var s=i;(t.updateQueue=s)&&(t.flags|=4)}},Jp=function(e,t,n,r){n!==r&&(t.flags|=4)};var dm="function"==typeof WeakMap?WeakMap:Map;function pm(e,t,n){(n=md(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Qm||(Qm=!0,Km=r),fm(0,t)},n}function mm(e,t,n){(n=md(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return fm(0,t),r(o)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Ym?Ym=new Set([this]):Ym.add(this),fm(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var hm="function"==typeof WeakSet?WeakSet:Set;function ym(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Dh(e,t)}else t.current=null}function gm(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:td(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Yc(t.stateNode.containerInfo));case 5:case 6:case 4:case 17:return}throw Error(vi(163))}function vm(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)&&(Rh(n,e),Lh(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:td(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&vd(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}vd(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&$c(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&&Nu(n)))));case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(vi(163))}function bm(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=Nl("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 Em(e,t){if(Pf&&"function"==typeof Pf.onCommitFiberUnmount)try{Pf.onCommitFiberUnmount(Tf,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))Rh(t,n);else{r=t;try{o()}catch(e){Dh(r,e)}}n=n.next}while(n!==e)}break;case 1:if(ym(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Dh(t,e)}break;case 5:ym(t);break;case 4:Cm(e,t)}}function wm(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 Sm(e){return 5===e.tag||3===e.tag||4===e.tag}function _m(e){e:{for(var t=e.return;null!==t;){if(Sm(t))break e;t=t.return}throw Error(vi(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(vi(161))}16&n.flags&&(Pl(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Sm(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=Gc));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 Cm(e,t){for(var n,r,o=t,a=!1;;){if(!a){a=o.return;e:for(;;){if(null===a)throw Error(vi(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(Em(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(Em(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 Om(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[nf]=r,"input"===e&&"radio"===r.type&&null!=r.name&&pl(n,r),Il(e,o),t=Il(e,r),o=0;o<a.length;o+=2){var i=a[o],l=a[o+1];"style"===i?Ll(n,l):"dangerouslySetInnerHTML"===i?Tl(n,l):"children"===i?Pl(n,l):Li(n,i,l,t)}switch(e){case"input":ml(n,r);break;case"textarea":wl(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(a=r.value)?vl(n,!!r.multiple,a,!1):e!==!!r.multiple&&(null!=r.defaultValue?vl(n,!!r.multiple,r.defaultValue,!0):vl(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(vi(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,Nu(n.containerInfo)));case 12:return;case 13:return null!==t.memoizedState&&(Gm=qf(),bm(t.child,!0)),void km(t);case 19:return void km(t);case 17:return;case 23:case 24:return void bm(t,null!==t.memoizedState)}throw Error(vi(163))}function km(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new hm),t.forEach(function(t){var r=Hh.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}var Tm=Math.ceil,Pm=Ri.ReactCurrentDispatcher,xm=Ri.ReactCurrentOwner,Am=0,Nm=null,Lm=null,Rm=0,Mm=0,Im=pf(0),Dm=0,Fm=null,Hm=0,jm=0,Bm=0,Um=0,zm=null,Gm=0,Vm=Infinity;function Wm(){Vm=qf()+500}var $m,qm=null,Qm=!1,Km=null,Ym=null,Xm=!1,Zm=null,Jm=90,eh=[],th=[],nh=null,rh=0,oh=null,ah=-1,ih=0,lh=0;function uh(){return 0!=(48&Am)?qf():-1!==ah?ah:ah=qf()}function sh(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===Qf()?1:2;if(0===ih&&(ih=Hm),0!==ed.transition){0!==lh&&(lh=null!==zm?zm.pendingLanes:0),e=ih;var t=4186112&~lh;return 0==(t&=-t)&&0==(t=(e=4186112&~e)&-e)&&(t=8192),t}return e=Qf(),function e(t,n){switch(t){case 15:return 1;case 14:return 2;case 12:return 0===(t=Ku(24&~n))?e(10,n):t;case 10:return 0===(t=Ku(192&~n))?e(8,n):t;case 8:return 0===(t=Ku(3584&~n))&&0===(t=Ku(4186112&~n))&&(t=512),t;case 2:return 0===(n=Ku(805306368&~n))&&(n=268435456),n}throw Error(vi(358,t))}(0!=(4&Am)&&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),ih)}function ch(e,t,n){if(50<rh)throw rh=0,oh=null,Error(vi(185));if(null===(e=fh(e,t)))return null;Xu(e,t,n),e===Nm&&(Bm|=t,4===Dm&&mh(e,Rm));var r=Qf();1===t?0!=(8&Am)&&0==(48&Am)?hh(e):(dh(e,n),0===Am&&(Wm(),Zf())):(0==(4&Am)||98!==r&&99!==r||(null===nh?nh=new Set([e]):nh.add(e)),dh(e,n)),zm=e}function fh(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 dh(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,a=e.expirationTimes,i=e.pendingLanes;0<i;){var l=31-Zu(i),u=1<<l,s=a[l];-1===s?0!=(u&r)&&0==(u&o)||(s=t,$u(u),a[l]=10<=Wu?s+250:6<=Wu?s+5e3:-1):s<=t&&(e.expiredLanes|=u),i&=~u}if(r=qu(e,e===Nm?Rm:0),t=Wu,0===r)null!==n&&(n!==Uf&&Nf(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Uf&&Nf(n)}15===t?(n=hh.bind(null,e),null===Gf?(Gf=[n],Vf=Af(Df,Jf)):Gf.push(n),n=Uf):n=14===t?Xf(99,hh.bind(null,e)):Xf(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(vi(358,e))}}(t),ph.bind(null,e)),e.callbackPriority=t,e.callbackNode=n}}function ph(e){if(ah=-1,lh=ih=0,0!=(48&Am))throw Error(vi(327));var t=e.callbackNode;if(Nh()&&e.callbackNode!==t)return null;var n=qu(e,e===Nm?Rm:0);if(0===n)return null;var r=n,o=Am;Am|=16;var a=Sh();for(Nm===e&&Rm===r||(Wm(),Eh(e,r));;)try{Oh();break}catch(t){wh(e,t)}if(id(),Pm.current=a,Am=o,null!==Lm?r=0:(Nm=null,Rm=0,r=Dm),0!=(Hm&Bm))Eh(e,0);else if(0!==r){if(2===r&&(Am|=64,e.hydrate&&(e.hydrate=!1,Yc(e.containerInfo)),0!==(n=Qu(e))&&(r=_h(e,n))),1===r)throw t=Fm,Eh(e,0),mh(e,n),dh(e,qf()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(vi(345));case 2:Ph(e);break;case 3:if(mh(e,n),(62914560&n)===n&&10<(r=Gm+500-qf())){if(0!==qu(e,0))break;if(((o=e.suspendedLanes)&n)!==n){uh(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Qc(Ph.bind(null,e),r);break}Ph(e);break;case 4:if(mh(e,n),(4186112&n)===n)break;for(r=e.eventTimes,o=-1;0<n;){var i=31-Zu(n);a=1<<i,(i=r[i])>o&&(o=i),n&=~a}if(n=o,10<(n=(120>(n=qf()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Tm(n/1960))-n)){e.timeoutHandle=Qc(Ph.bind(null,e),n);break}Ph(e);break;case 5:Ph(e);break;default:throw Error(vi(329))}}return dh(e,qf()),e.callbackNode===t?ph.bind(null,e):null}function mh(e,t){for(t&=~Um,e.suspendedLanes|=t&=~Bm,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Zu(t),r=1<<n;e[n]=-1,t&=~r}}function hh(e){if(0!=(48&Am))throw Error(vi(327));if(Nh(),e===Nm&&0!=(e.expiredLanes&Rm)){var t=Rm,n=_h(e,t);0!=(Hm&Bm)&&(n=_h(e,t=qu(e,t)))}else n=_h(e,t=qu(e,0));if(0!==e.tag&&2===n&&(Am|=64,e.hydrate&&(e.hydrate=!1,Yc(e.containerInfo)),0!==(t=Qu(e))&&(n=_h(e,t))),1===n)throw n=Fm,Eh(e,0),mh(e,t),dh(e,qf()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Ph(e),dh(e,qf()),null}function yh(e,t){var n=Am;Am|=1;try{return e(t)}finally{0===(Am=n)&&(Wm(),Zf())}}function gh(e,t){var n=Am;Am&=-2,Am|=8;try{return e(t)}finally{0===(Am=n)&&(Wm(),Zf())}}function vh(e,t){hf(Im,Mm),Mm|=t,Hm|=t}function bh(){Mm=Im.current,mf(Im)}function Eh(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Kc(n)),null!==Lm)for(n=Lm.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&Sf();break;case 3:Hd(),mf(vf),mf(gf),Jd();break;case 5:Bd(r);break;case 4:Hd();break;case 13:case 19:mf(Ud);break;case 10:ld(r);break;case 23:case 24:bh()}n=n.return}Nm=e,Lm=zh(e.current,null),Rm=Mm=Hm=t,Dm=0,Fm=null,Um=Bm=jm=0}function wh(e,t){for(;;){var n=Lm;try{if(id(),ep.current=Ip,ip){for(var r=rp.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ip=!1}if(np=0,ap=op=rp=null,lp=!1,xm.current=null,null===n||null===n.return){Dm=1,Fm=t,Lm=null;break}e:{var a=e,i=n.return,l=n,u=t;if(t=Rm,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&Ud.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=md(-1,1);v.tag=2,hd(l,v)}l.lanes|=1;break e}u=void 0,l=t;var b=a.pingCache;if(null===b?(b=a.pingCache=new dm,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=Fh.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((al(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!==Dm&&(Dm=2),u=cm(u,l),d=i;do{switch(d.tag){case 3:a=u,d.flags|=4096,d.lanes|=t&=-t,yd(d,pm(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===Ym||!Ym.has(w)))){d.flags|=4096,d.lanes|=t&=-t,yd(d,mm(d,a,t));break e}}d=d.return}while(null!==d)}Th(n)}catch(e){t=e,Lm===n&&null!==n&&(Lm=n=n.return);continue}break}}function Sh(){var e=Pm.current;return Pm.current=Ip,null===e?Ip:e}function _h(e,t){var n=Am;Am|=16;var r=Sh();for(Nm===e&&Rm===t||Eh(e,t);;)try{Ch();break}catch(t){wh(e,t)}if(id(),Am=n,Pm.current=r,null!==Lm)throw Error(vi(261));return Nm=null,Rm=0,Dm}function Ch(){for(;null!==Lm;)kh(Lm)}function Oh(){for(;null!==Lm&&!Lf();)kh(Lm)}function kh(e){var t=$m(e.alternate,e,Mm);e.memoizedProps=e.pendingProps,null===t?Th(e):Lm=t,xm.current=null}function Th(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=um(n,t,Mm)))return void(Lm=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&Mm)||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=sm(t)))return n.flags&=2047,void(Lm=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(Lm=t);Lm=t=e}while(null!==t);0===Dm&&(Dm=5)}function Ph(e){var t=Qf();return Yf(99,xh.bind(null,e,t)),null}function xh(e,t){do{Nh()}while(null!==Zm);if(0!=(48&Am))throw Error(vi(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(vi(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-Zu(a),s=1<<u;o[u]=0,i[u]=-1,l[u]=-1,a&=~s}if(null!==nh&&0==(24&r)&&nh.has(e)&&nh.delete(e),e===Nm&&(Lm=Nm=null,Rm=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(o=Am,Am|=32,xm.current=null,Vc=rs,Ec(i=bc())){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;Wc={focusedElem:i,selectionRange:l},rs=!1,qm=r;do{try{Ah()}catch(e){if(null===qm)throw Error(vi(330));Dh(qm,e),qm=qm.nextEffect}}while(null!==qm);qm=r;do{try{for(i=e;null!==qm;){var v=qm.flags;if(16&v&&Pl(qm.stateNode,""),128&v){var b=qm.alternate;if(null!==b){var E=b.ref;null!==E&&("function"==typeof E?E(null):E.current=null)}}switch(1038&v){case 2:_m(qm),qm.flags&=-3;break;case 6:_m(qm),qm.flags&=-3,Om(qm.alternate,qm);break;case 1024:qm.flags&=-1025;break;case 1028:qm.flags&=-1025,Om(qm.alternate,qm);break;case 4:Om(qm.alternate,qm);break;case 8:Cm(i,l=qm);var w=l.alternate;wm(l),null!==w&&wm(w)}qm=qm.nextEffect}}catch(e){if(null===qm)throw Error(vi(330));Dh(qm,e),qm=qm.nextEffect}}while(null!==qm);if(E=Wc,b=bc(),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&&Ec(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=vc(v,w),a=vc(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}rs=!!Vc,Wc=Vc=null,e.current=n,qm=r;do{try{for(v=e;null!==qm;){var S=qm.flags;if(36&S&&vm(v,qm.alternate,qm),128&S){b=void 0;var _=qm.ref;if(null!==_){var C=qm.stateNode;switch(qm.tag){case 5:b=C;break;default:b=C}"function"==typeof _?_(b):_.current=b}}qm=qm.nextEffect}}catch(e){if(null===qm)throw Error(vi(330));Dh(qm,e),qm=qm.nextEffect}}while(null!==qm);qm=null,zf(),Am=o}else e.current=n;if(Xm)Xm=!1,Zm=e,Jm=t;else for(qm=r;null!==qm;)t=qm.nextEffect,qm.nextEffect=null,8&qm.flags&&((S=qm).sibling=null,S.stateNode=null),qm=t;if(0===(r=e.pendingLanes)&&(Ym=null),1===r?e===oh?rh++:(rh=0,oh=e):rh=0,n=n.stateNode,Pf&&"function"==typeof Pf.onCommitFiberRoot)try{Pf.onCommitFiberRoot(Tf,n,void 0,64==(64&n.current.flags))}catch(e){}if(dh(e,qf()),Qm)throw Qm=!1,e=Km,Km=null,e;return 0!=(8&Am)||Zf(),null}function Ah(){for(;null!==qm;){var e=qm.flags;0!=(256&e)&&gm(qm.alternate,qm),0==(512&e)||Xm||(Xm=!0,Xf(97,function(){return Nh(),null})),qm=qm.nextEffect}}function Nh(){if(90!==Jm){var e=97<Jm?97:Jm;return Jm=90,Yf(e,Mh)}return!1}function Lh(e,t){eh.push(t,e),Xm||(Xm=!0,Xf(97,function(){return Nh(),null}))}function Rh(e,t){th.push(t,e),Xm||(Xm=!0,Xf(97,function(){return Nh(),null}))}function Mh(){if(null===Zm)return!1;var e=Zm;if(Zm=null,0!=(48&Am))throw Error(vi(331));var t=Am;Am|=32;var n=th;th=[];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(vi(330));Dh(a,e)}}for(n=eh,eh=[],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(vi(330));Dh(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 Am=t,Zf(),!0}function Ih(e,t,n){hd(e,t=pm(0,t=cm(n,t),1)),t=uh(),null!==(e=fh(e,1))&&(Xu(e,1,t),dh(e,t))}function Dh(e,t){if(3===e.tag)Ih(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Ih(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Ym||!Ym.has(r))){var o=mm(n,e=cm(t,e),1);if(hd(n,o),o=uh(),null!==(n=fh(n,1)))Xu(n,1,o),dh(n,o);else if("function"==typeof r.componentDidCatch&&(null===Ym||!Ym.has(r)))try{r.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function Fh(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=uh(),e.pingedLanes|=e.suspendedLanes&n,Nm===e&&(Rm&n)===n&&(4===Dm||3===Dm&&(62914560&Rm)===Rm&&500>qf()-Gm?Eh(e,0):Um|=n),dh(e,t)}function Hh(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===Qf()?1:2:(0===ih&&(ih=Hm),0===(t=Ku(62914560&~ih))&&(t=4194304))),n=uh(),null!==(e=fh(e,t))&&(Xu(e,t,n),dh(e,n))}function jh(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 Bh(e,t,n,r){return new jh(e,t,n,r)}function Uh(e){return!(!(e=e.prototype)||!e.isReactComponent)}function zh(e,t){var n=e.alternate;return null===n?((n=Bh(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 Gh(e,t,n,r,o,a){var i=2;if(r=e,"function"==typeof e)Uh(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case Di:return Vh(n.children,o,a,t);case Qi:i=8,o|=16;break;case Fi:i=8,o|=1;break;case Hi:return(e=Bh(12,n,t,8|o)).elementType=Hi,e.type=Hi,e.lanes=a,e;case zi:return(e=Bh(13,n,t,o)).type=zi,e.elementType=zi,e.lanes=a,e;case Gi:return(e=Bh(19,n,t,o)).elementType=Gi,e.lanes=a,e;case Ki:return Wh(n,o,a,t);case Yi:return(e=Bh(24,n,t,o)).elementType=Yi,e.lanes=a,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case ji:i=10;break e;case Bi:i=9;break e;case Ui:i=11;break e;case Vi:i=14;break e;case Wi:i=16,r=null;break e;case $i:i=22;break e}throw Error(vi(130,null==e?e:typeof e,""))}return(t=Bh(i,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Vh(e,t,n,r){return(e=Bh(7,e,r,t)).lanes=n,e}function Wh(e,t,n,r){return(e=Bh(23,e,r,t)).elementType=Ki,e.lanes=n,e}function $h(e,t,n){return(e=Bh(6,e,null,t)).lanes=n,e}function qh(e,t,n){return(t=Bh(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Qh(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=Yu(0),this.expirationTimes=Yu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Yu(0),this.mutableSourceEagerHydrationData=null}function Kh(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Ii,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Yh(e,t,n,r){var o=t.current,a=uh(),i=sh(o);e:if(n){t:{if(iu(n=n._reactInternals)!==n||1!==n.tag)throw Error(vi(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(wf(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(vi(171))}if(1===n.tag){var u=n.type;if(wf(u)){n=Cf(n,u,l);break e}}n=l}else n=yf;return null===t.context?t.context=n:t.pendingContext=n,(t=md(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),hd(o,t),ch(o,i,a),i}function Xh(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Zh(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Jh(e,t){Zh(e,t),(e=e.alternate)&&Zh(e,t)}function ey(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Qh(e,t,null!=n&&!0===n.hydrate),t=Bh(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,dd(t),e[rf]=n.current,Ic(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 ty(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ny(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=Xh(i);l.call(e)}}Yh(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 ey(e,0,t?{hydrate:!0}:void 0)}(n,r),i=a._internalRoot,"function"==typeof o){var u=o;o=function(){var e=Xh(i);u.call(e)}}gh(function(){Yh(t,i,e,o)})}return Xh(i)}function ry(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!ty(t))throw Error(vi(200));return Kh(e,t,null,n)}$m=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||vf.current)Bp=!0;else{if(0==(n&r)){switch(Bp=!1,t.tag){case 3:Yp(t),Xd();break;case 5:jd(t);break;case 1:wf(t.type)&&Of(t);break;case 4:Fd(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;hf(nd,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?tm(e,t,n):(hf(Ud,1&Ud.current),null!==(t=im(e,t,n))?t.sibling:null);hf(Ud,1&Ud.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return am(e,t,n);t.flags|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),hf(Ud,Ud.current),r)break;return null;case 23:case 24:return t.lanes=0,Wp(e,t,n)}return im(e,t,n)}Bp=0!=(16384&e.flags)}else Bp=!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=Ef(t,gf.current),sd(t,n),o=cp(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,wf(r)){var a=!0;Of(t)}else a=!1;t.memoizedState=null!=o.state?o.state:null,dd(t);var i=r.getDerivedStateFromProps;"function"==typeof i&&Ed(t,r,i,e),o.updater=wd,t.stateNode=o,o._reactInternals=t,Od(t,r,e,n),t=Kp(null,t,r,!0,a,n)}else t.tag=0,Up(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 Uh(e)?1:0;if(null!=e){if((e=e.$$typeof)===Ui)return 11;if(e===Vi)return 14}return 2}(o),e=td(o,e),a){case 0:t=qp(null,t,o,e,n);break e;case 1:t=Qp(null,t,o,e,n);break e;case 11:t=zp(null,t,o,e,n);break e;case 14:t=Gp(null,t,o,td(o.type,e),r,n);break e}throw Error(vi(306,o,""))}return t;case 0:return o=t.pendingProps,qp(e,t,r=t.type,o=t.elementType===r?o:td(r,o),n);case 1:return o=t.pendingProps,Qp(e,t,r=t.type,o=t.elementType===r?o:td(r,o),n);case 3:if(Yp(t),r=t.updateQueue,null===e||null===r)throw Error(vi(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,pd(e,t),gd(t,r,null,n),(r=t.memoizedState.element)===o)Xd(),t=im(e,t,n);else{if((a=(o=t.stateNode).hydrate)&&(Vd=Xc(t.stateNode.containerInfo.firstChild),Gd=t,a=Wd=!0),a){if(null!=(e=o.mutableSourceEagerHydrationData))for(o=0;o<e.length;o+=2)(a=e[o])._workInProgressVersionPrimary=e[o+1],Zd.push(a);for(n=Nd(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Up(e,t,r,n),Xd();t=t.child}return t;case 5:return jd(t),null===e&&Qd(t),a=null!==e?e.memoizedProps:null,i=(o=t.pendingProps).children,qc(r=t.type,o)?i=null:null!==a&&qc(r,a)&&(t.flags|=16),$p(e,t),Up(e,t,i,n),t.child;case 6:return null===e&&Qd(t),null;case 13:return tm(e,t,n);case 4:return Fd(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ad(t,null,r,n):Up(e,t,r,n),t.child;case 11:return o=t.pendingProps,zp(e,t,r=t.type,o=t.elementType===r?o:td(r,o),n);case 7:return Up(e,t,t.pendingProps,n),t.child;case 8:case 12:return Up(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(hf(nd,l._currentValue),l._currentValue=a,null!==i)if(0==(a=mc(l=i.value,a)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,a):1073741823))){if(i.children===o.children&&!vf.current){t=im(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=md(-1,n&-n)).tag=2,hd(l,s)),l.lanes|=n,null!==(s=l.alternate)&&(s.lanes|=n),ud(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}Up(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(a=t.pendingProps).children,sd(t,n),r=r(o=cd(o,a.unstable_observedBits)),t.flags|=1,Up(e,t,r,n),t.child;case 14:return a=td(o=t.type,t.pendingProps),Gp(e,t,o,a=td(o.type,a),r,n);case 15:return Vp(e,t,t.type,t.pendingProps,r,n);case 17:return o=t.pendingProps,o=t.elementType===(r=t.type)?o:td(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,wf(r)?(e=!0,Of(t)):e=!1,sd(t,n),_d(t,r,o),Od(t,r,o,n),Kp(null,t,r,!0,e,n);case 19:return am(e,t,n);case 23:case 24:return Wp(e,t,n)}throw Error(vi(156,t.tag))},ey.prototype.render=function(e){Yh(e,this._internalRoot,null,null)},ey.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Yh(null,e,null,function(){t[rf]=null})},cu=function(e){13===e.tag&&(ch(e,4,uh()),Jh(e,4))},fu=function(e){13===e.tag&&(ch(e,67108864,uh()),Jh(e,67108864))},du=function(e){if(13===e.tag){var t=uh(),n=sh(e);ch(e,n,t),Jh(e,n)}},pu=function(e,t){return t()},Fl=function(e,t,n){switch(t){case"input":if(ml(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=sf(r);if(!o)throw Error(vi(90));sl(r),ml(r,o)}}}break;case"textarea":wl(e,n);break;case"select":null!=(t=n.value)&&vl(e,!!n.multiple,t,!1)}},Gl=yh,Vl=function(e,t,n,r,o){var a=Am;Am|=4;try{return Yf(98,e.bind(null,t,n,r,o))}finally{0===(Am=a)&&(Wm(),Zf())}},Wl=function(){0==(49&Am)&&(function(){if(null!==nh){var e=nh;nh=null,e.forEach(function(e){e.expiredLanes|=24&e.pendingLanes,dh(e,qf())})}Zf()}(),Nh())},$l=function(e,t){var n=Am;Am|=2;try{return e(t)}finally{0===(Am=n)&&(Wm(),Zf())}};var oy={Events:[lf,uf,sf,Ul,zl,Nh,{current:!1}]},ay={findFiberByHostInstance:af,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},iy={bundleType:ay.bundleType,version:ay.version,rendererPackageName:ay.rendererPackageName,rendererConfig:ay.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Ri.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=su(e))?null:e.stateNode},findFiberByHostInstance:ay.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ly=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ly.isDisabled&&ly.supportsFiber)try{Tf=ly.inject(iy),Pf=ly}catch(e){}}var uy={__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:oy,createPortal:ry,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(vi(188));throw Error(vi(268,Object.keys(e)))}return null===(e=su(t))?null:e.stateNode},flushSync:function(e,t){var n=Am;if(0!=(48&n))return e(t);Am|=1;try{if(e)return Yf(99,e.bind(null,t))}finally{Am=n,Zf()}},hydrate:function(e,t,n){if(!ty(t))throw Error(vi(200));return ny(null,e,t,!0,n)},render:function(e,t,n){if(!ty(t))throw Error(vi(200));return ny(null,e,t,!1,n)},unmountComponentAtNode:function(e){if(!ty(e))throw Error(vi(40));return!!e._reactRootContainer&&(gh(function(){ny(null,null,e,!1,function(){e._reactRootContainer=null,e[rf]=null})}),!0)},unstable_batchedUpdates:yh,unstable_createPortal:function(e,t){return ry(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},unstable_renderSubtreeIntoContainer:function(e,t,n,r){if(!ty(n))throw Error(vi(200));if(null==e||void 0===e._reactInternals)throw Error(vi(38));return ny(e,t,n,!1,r)},version:"17.0.2"},sy=0,cy={__interactionsRef:null,__subscriberRef:null,unstable_clear:function(e){return e()},unstable_getCurrent:function(){return null},unstable_getThreadID:function(){return++sy},unstable_subscribe:function(){},unstable_trace:function(e,t,n){return n()},unstable_unsubscribe:function(){},unstable_wrap:function(e){return e}},fy=(p(function(e,t){}),p(function(e){e.exports=cy}),p(function(e,t){}),p(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=uy}));function dy(){return(dy=Object.assign?Object.assign.bind():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)}function py(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}var my=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)},hy=function(e,t,n){var r,o,a,i=t.domain,l=t.merchantId,u=sr.useState([]),s=u[0],c=u[1],f=sr.useState(Zn.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 sr.useEffect(function(){d===Zn.PENDING&&function(e,t,n){void 0===e&&(e="");try{return Promise.resolve(fetch(e,{method:"POST",headers:dy({"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(Zn.SUCCESS)}).catch(function(){p(Zn.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 dy({},e,{eligible:my(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]},yy=p(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}()}),gy="alma-eligibility-modal",vy={desktopModal:gy+"-desktop-modal",mobileModal:gy+"-mobile-modal",leftSide:gy+"-left-side",bullet:gy+"-bullet",rightSide:gy+"-right-side",title:gy+"-title",info:gy+"-info",infoMessage:gy+"-info-message",eligibilityOptions:gy+"-eligibility-options",activeOption:gy+"-active-option",closeButton:gy+"-close-button",scheduleDetails:gy+"-schedule-details",scheduleTotal:gy+"-schedule-total",scheduleCredit:gy+"-schedule-credit",cardContainer:gy+"-card-logos",summary:gy+"-summary"},by=function(e){var t=e.currentPlan,n=Ya(),r=nr(t.purchase_amount+t.customer_total_cost_amount),o=nr(t.customer_total_cost_amount),a=(null==t?void 0:t.annual_interest_rate)&&t.annual_interest_rate/1e4||0,i=nr(t.customer_total_cost_amount),l=t.installments_count>4;return sr.createElement("div",{className:yy("_GTTk7",vy.summary),"data-testid":"modal-summary"},sr.createElement("div",{className:yy("_34s2g",vy.scheduleTotal)},sr.createElement(oi,{tagName:"div",id:"installments.total-amount",defaultMessage:"Total"}),sr.createElement(ii,{value:r||0,style:"currency",currency:"EUR"})),sr.createElement("div",{className:yy("_W7qIA",vy.scheduleCredit)},l?sr.createElement(sr.Fragment,null,sr.createElement(oi,{id:"credit-features.total-credit-cost",defaultMessage:"Dont coût du crédit"}),sr.createElement("span",{className:"_24KmE"},sr.createElement(oi,{id:"credit-features.credit-cost-display",defaultMessage:"{creditCost} (TAEG {taegPercentage})",values:{creditCost:n.formatNumber(o,{style:"currency",currency:"EUR"}),taegPercentage:n.formatNumber(a,{style:"percent",maximumFractionDigits:2})}}))):sr.createElement(sr.Fragment,null,sr.createElement(oi,{id:"installments.total-fees",defaultMessage:"Dont frais (TTC)",tagName:"div"}),sr.createElement("div",null,sr.createElement(ii,{value:i,style:"currency",currency:"EUR"})))))},Ey=function(e){return sr.createElement("div",{className:yy("_31lrj",e.className),"data-testid":"loader"},sr.createElement("svg",{width:"120",height:"134",viewBox:"0 0 120 134",fill:"none",xmlns:"http://www.w3.org/2000/svg"},sr.createElement("path",{d:"M83.8164 41.0325C79.1708 22.8241 69.3458 17 59.9939 17C50.642 17 40.8171 22.8241 36.1715 41.0325L16 117H35.8804C39.119 104.311 49.1016 97.2436 59.9939 97.2436C70.8863 97.2436 80.8689 104.324 84.1075 117H104L83.8164 41.0325ZM59.9939 79.5428C53.6623 79.5428 47.925 82.0552 43.6918 86.1283L55.0936 41.9207C56.1853 37.6953 57.7985 36.3503 60.0061 36.3503C62.2136 36.3503 63.8269 37.6953 64.9185 41.9207L76.3082 86.1283C72.075 82.0552 66.3256 79.5428 59.9939 79.5428Z",fill:"#FA5022"})))},wy="function"==typeof Symbol&&Symbol.for,Sy=wy?Symbol.for("react.element"):60103,_y=wy?Symbol.for("react.portal"):60106,Cy=wy?Symbol.for("react.fragment"):60107,Oy=wy?Symbol.for("react.strict_mode"):60108,ky=wy?Symbol.for("react.profiler"):60114,Ty=wy?Symbol.for("react.provider"):60109,Py=wy?Symbol.for("react.context"):60110,xy=wy?Symbol.for("react.async_mode"):60111,Ay=wy?Symbol.for("react.concurrent_mode"):60111,Ny=wy?Symbol.for("react.forward_ref"):60112,Ly=wy?Symbol.for("react.suspense"):60113,Ry=wy?Symbol.for("react.suspense_list"):60120,My=wy?Symbol.for("react.memo"):60115,Iy=wy?Symbol.for("react.lazy"):60116,Dy=wy?Symbol.for("react.block"):60121,Fy=wy?Symbol.for("react.fundamental"):60117,Hy=wy?Symbol.for("react.responder"):60118,jy=wy?Symbol.for("react.scope"):60119;function By(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Sy:switch(e=e.type){case xy:case Ay:case Cy:case ky:case Oy:case Ly:return e;default:switch(e=e&&e.$$typeof){case Py:case Ny:case Iy:case My:case Ty:return e;default:return t}}case _y:return t}}}function Uy(e){return By(e)===Ay}var zy={AsyncMode:xy,ConcurrentMode:Ay,ContextConsumer:Py,ContextProvider:Ty,Element:Sy,ForwardRef:Ny,Fragment:Cy,Lazy:Iy,Memo:My,Portal:_y,Profiler:ky,StrictMode:Oy,Suspense:Ly,isAsyncMode:function(e){return Uy(e)||By(e)===xy},isConcurrentMode:Uy,isContextConsumer:function(e){return By(e)===Py},isContextProvider:function(e){return By(e)===Ty},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Sy},isForwardRef:function(e){return By(e)===Ny},isFragment:function(e){return By(e)===Cy},isLazy:function(e){return By(e)===Iy},isMemo:function(e){return By(e)===My},isPortal:function(e){return By(e)===_y},isProfiler:function(e){return By(e)===ky},isStrictMode:function(e){return By(e)===Oy},isSuspense:function(e){return By(e)===Ly},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===Cy||e===Ay||e===ky||e===Oy||e===Ly||e===Ry||"object"==typeof e&&null!==e&&(e.$$typeof===Iy||e.$$typeof===My||e.$$typeof===Ty||e.$$typeof===Py||e.$$typeof===Ny||e.$$typeof===Fy||e.$$typeof===Hy||e.$$typeof===jy||e.$$typeof===Dy)},typeOf:By};function Gy(){}function Vy(){}p(function(e,t){}),p(function(e){e.exports=zy}),Vy.resetWarningCache=Gy;var Wy=p(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:Vy,resetWarningCache:Gy};return n.PropTypes=n,n}()}),$y=p(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|iframe/;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}),qy=p(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=$y)&&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)}}}),Qy=p(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=$y)&&n.__esModule?n:{default:n};e.exports=t.default}),Ky=function(){},Yy=p(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}),Xy=p(function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=t.SafeNodeList=t.SafeHTMLCollection=void 0;var r=((n=Yy)&&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}),Zy=p(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&&Xy.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=Ky)&&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(" ")),[])}}),Jy=p(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}}),eg=p(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}),tg=(p(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=eg)&&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))})}),p(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(Wy),i=d(qy),l=p(Qy),u=d(Zy),s=d(Jy),c=p(Xy),f=p(eg);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}(sr.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(Xy.SafeHTMLCollection),a.default.instanceOf(Xy.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 ng(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function rg(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function og(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}}ng.__suppressDeprecationWarning=!0,rg.__suppressDeprecationWarning=!0,og.__suppressDeprecationWarning=!0;var ag=p(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(sr),a=c(fy),i=c(Wy),l=c(tg),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}(Zy),s=c(Xy);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=Xy.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(){Xy.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(Xy.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(Xy.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 Xy.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}(sr.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(Xy.SafeHTMLCollection),i.default.instanceOf(Xy.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=ng,t.componentWillReceiveProps=rg),"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=og;var a=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){a.call(this,e,t,this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n)}}}(b),t.default=b}),ig=d(p(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n,r=(n=ag)&&n.__esModule?n:{default:n};t.default=r.default,e.exports=t.default})),lg=p(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 ug(e){var t=e.color;return sr.createElement("svg",{className:e.className,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},sr.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 sg=["children","isOpen","onClose","className","contentClassName","scrollable"],cg=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=py(e,sg);return ig.setAppElement("body"),sr.createElement(ig,Object.assign({className:yy("_D8SjB",a),overlayClassName:"_1yxCb",onAfterOpen:function(){lg.on()},onAfterClose:function(){lg.off()},onRequestClose:o,isOpen:r,shouldCloseOnOverlayClick:!0,shouldCloseOnEsc:!0},s),sr.createElement("div",{className:"_12LLh"},sr.createElement("button",{onClick:o,className:yy("_3YRro",vy.closeButton),"data-testid":"modal-close-button"},sr.createElement(ug,null))),sr.createElement("div",{className:yy("_ocM9x",i,(t={},t._1GP2F=u,t))},n))},fg=p(function(e,t){var n;n=e=>(()=>{var t={"./node_modules/css-mediaquery/index.js":(e,t)=>{t.match=function(e,t){return l(e).some(function(e){var n=e.inverse,r="all"===e.type||t.type===e.type;if(r&&n||!r&&!n)return!1;var o=e.expressions.every(function(e){var n=e.feature,r=e.modifier,o=e.value,a=t[n];if(!a)return!1;switch(n){case"orientation":case"scan":return a.toLowerCase()===o.toLowerCase();case"width":case"height":case"device-width":case"device-height":o=c(o),a=c(a);break;case"resolution":o=s(o),a=s(a);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":o=u(o),a=u(a);break;case"grid":case"color":case"color-index":case"monochrome":o=parseInt(o,10)||1,a=parseInt(a,10)||0}switch(r){case"min":return a>=o;case"max":return a<=o;default:return a===o}});return o&&!n||!o&&n})},t.parse=l;var n=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,r=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,o=/^(?:(min|max)-)?(.+)/,a=/(em|rem|px|cm|mm|in|pt|pc)?$/,i=/(dpi|dpcm|dppx)?$/;function l(e){return e.split(",").map(function(e){var t=(e=e.trim()).match(n),a=t[1],i=t[2],l=t[3]||"",u={};return u.inverse=!!a&&"not"===a.toLowerCase(),u.type=i?i.toLowerCase():"all",l=l.match(/\([^\)]+\)/g)||[],u.expressions=l.map(function(e){var t=e.match(r),n=t[1].toLowerCase().match(o);return{modifier:n[1],feature:n[2],value:t[2]}}),u})}function u(e){var t,n=Number(e);return n||(n=(t=e.match(/^(\d+)\s*\/\s*(\d+)$/))[1]/t[2]),n}function s(e){var t=parseFloat(e);switch(String(e).match(i)[1]){case"dpcm":return t/2.54;case"dppx":return 96*t;default:return t}}function c(e){var t=parseFloat(e);switch(String(e).match(a)[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}}},"./node_modules/hyphenate-style-name/index.js":(e,t,n)=>{n.r(t),n.d(t,{default:()=>l});var r=/[A-Z]/g,o=/^ms-/,a={};function i(e){return"-"+e.toLowerCase()}const l=function(e){if(a.hasOwnProperty(e))return a[e];var t=e.replace(r,i);return a[e]=o.test(t)?"-"+t:t}},"./node_modules/matchmediaquery/index.js":(e,t,n)=>{var r=n("./node_modules/css-mediaquery/index.js").match,o="undefined"!=typeof window?window.matchMedia:null;function a(e,t,n){var a=this;if(o&&!n){var i=o.call(window,e);this.matches=i.matches,this.media=i.media,i.addListener(l)}else this.matches=r(e,t),this.media=e;function l(e){a.matches=e.matches,a.media=e.media}this.addListener=function(e){i&&i.addListener(e)},this.removeListener=function(e){i&&i.removeListener(e)},this.dispose=function(){i&&i.removeListener(l)}}e.exports=function(e,t,n){return new a(e,t,n)}},"./node_modules/object-assign/index.js":e=>{var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}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,a){for(var i,l,u=o(e),s=1;s<arguments.length;s++){for(var c in i=Object(arguments[s]))n.call(i,c)&&(u[c]=i[c]);if(t){l=t(i);for(var f=0;f<l.length;f++)r.call(i,l[f])&&(u[l[f]]=i[l[f]])}}return u}},"./node_modules/prop-types/checkPropTypes.js":(e,t,n)=>{var r,o=n("./node_modules/prop-types/lib/ReactPropTypesSecret.js"),a={},i=n("./node_modules/prop-types/lib/has.js");function l(e,t,n,l,u){for(var s in e)if(i(e,s)){var c;try{if("function"!=typeof e[s]){var f=Error((l||"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,l,n,null,o)}catch(e){c=e}if(!c||c instanceof Error||r((l||"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 a)){a[c.message]=!0;var d=u?u():"";r("Failed "+n+" type: "+c.message+(null!=d?d:""))}}}r=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}},l.resetWarningCache=function(){a={}},e.exports=l},"./node_modules/prop-types/factoryWithTypeCheckers.js":(e,t,n)=>{var r,o=n("./node_modules/react-is/index.js"),a=n("./node_modules/object-assign/index.js"),i=n("./node_modules/prop-types/lib/ReactPropTypesSecret.js"),l=n("./node_modules/prop-types/lib/has.js"),u=n("./node_modules/prop-types/checkPropTypes.js");function s(){return null}r=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}},e.exports=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator,c={array:m("array"),bigint:m("bigint"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:p(s),arrayOf:function(e){return p(function(t,n,r,o,a){if("function"!=typeof e)return new d("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var l=t[n];if(!Array.isArray(l))return new d("Invalid "+o+" `"+a+"` of type `"+g(l)+"` supplied to `"+r+"`, expected an array.");for(var u=0;u<l.length;u++){var s=e(l,u,r,o,a+"["+u+"]",i);if(s instanceof Error)return s}return null})},element:p(function(t,n,r,o,a){var i=t[n];return e(i)?null:new d("Invalid "+o+" `"+a+"` of type `"+g(i)+"` supplied to `"+r+"`, expected a single ReactElement.")}),elementType:p(function(e,t,n,r,a){var i=e[t];return o.isValidElementType(i)?null:new d("Invalid "+r+" `"+a+"` of type `"+g(i)+"` supplied to `"+n+"`, expected a single ReactElement type.")}),instanceOf:function(e){return p(function(t,n,r,o,a){var i;return t[n]instanceof e?null:new d("Invalid "+o+" `"+a+"` of type `"+((i=t[n]).constructor&&i.constructor.name?i.constructor.name:"<<anonymous>>")+"` supplied to `"+r+"`, expected instance of `"+(e.name||"<<anonymous>>")+"`.")})},node:p(function(e,t,n,r,o){return y(e[t])?null:new d("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")}),objectOf:function(e){return p(function(t,n,r,o,a){if("function"!=typeof e)return new d("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var u=t[n],s=g(u);if("object"!==s)return new d("Invalid "+o+" `"+a+"` of type `"+s+"` supplied to `"+r+"`, expected an object.");for(var c in u)if(l(u,c)){var f=e(u,c,r,o,a+"."+c,i);if(f instanceof Error)return f}return null})},oneOf:function(e){if(!Array.isArray(e))return r(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."),s;function t(t,n,r,o,a){for(var i=t[n],l=0;l<e.length;l++)if(f(i,e[l]))return null;var u=JSON.stringify(e,function(e,t){return"symbol"===v(t)?String(t):t});return new d("Invalid "+o+" `"+a+"` of value `"+String(i)+"` supplied to `"+r+"`, expected one of "+u+".")}return p(t)},oneOfType:function(e){if(!Array.isArray(e))return r("Invalid argument supplied to oneOfType, expected an instance of array."),s;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return r("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+b(n)+" at index "+t+"."),s}return p(function(t,n,r,o,a){for(var u=[],s=0;s<e.length;s++){var c=(0,e[s])(t,n,r,o,a,i);if(null==c)return null;c.data&&l(c.data,"expectedType")&&u.push(c.data.expectedType)}return new d("Invalid "+o+" `"+a+"` supplied to `"+r+"`"+(u.length>0?", expected one of type ["+u.join(", ")+"]":"")+".")})},shape:function(e){return p(function(t,n,r,o,a){var l=t[n],u=g(l);if("object"!==u)return new d("Invalid "+o+" `"+a+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");for(var s in e){var c=e[s];if("function"!=typeof c)return h(r,o,a,s,v(c));var f=c(l,s,r,o,a+"."+s,i);if(f)return f}return null})},exact:function(e){return p(function(t,n,r,o,u){var s=t[n],c=g(s);if("object"!==c)return new d("Invalid "+o+" `"+u+"` of type `"+c+"` supplied to `"+r+"`, expected `object`.");var f=a({},t[n],e);for(var p in f){var m=e[p];if(l(e,p)&&"function"!=typeof m)return h(r,o,u,p,v(m));if(!m)return new d("Invalid "+o+" `"+u+"` key `"+p+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var y=m(s,p,r,o,u+"."+p,i);if(y)return y}return null})}};function f(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function d(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function p(e){var n={},o=0;function a(a,l,u,s,c,f,p){if(s=s||"<<anonymous>>",f=f||u,p!==i){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;!n[h]&&o<3&&(r("You are manually calling a React.PropTypes validation function for the `"+f+"` 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."),n[h]=!0,o++)}}return null==l[u]?a?new d(null===l[u]?"The "+c+" `"+f+"` is marked as required in `"+s+"`, but its value is `null`.":"The "+c+" `"+f+"` is marked as required in `"+s+"`, but its value is `undefined`."):null:e(l,u,s,c,f)}var l=a.bind(null,!1);return l.isRequired=a.bind(null,!0),l}function m(e){return p(function(t,n,r,o,a,i){var l=t[n];return g(l)!==e?new d("Invalid "+o+" `"+a+"` of type `"+v(l)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null})}function h(e,t,n,r,o){return new d((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function y(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(y);if(null===t||e(t))return!0;var r=function(e){var t=e&&(n&&e[n]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!r)return!1;var o,a=r.call(t);if(r!==t.entries){for(;!(o=a.next()).done;)if(!y(o.value))return!1}else for(;!(o=a.next()).done;){var i=o.value;if(i&&!y(i[1]))return!1}return!0;default:return!1}}function g(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 v(e){if(null==e)return""+e;var t=g(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function b(e){var t=v(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return d.prototype=Error.prototype,c.checkPropTypes=u,c.resetWarningCache=u.resetWarningCache,c.PropTypes=c,c}},"./node_modules/prop-types/index.js":(e,t,n)=>{var r=n("./node_modules/react-is/index.js");e.exports=n("./node_modules/prop-types/factoryWithTypeCheckers.js")(r.isElement,!0)},"./node_modules/prop-types/lib/ReactPropTypesSecret.js":e=>{e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},"./node_modules/prop-types/lib/has.js":e=>{e.exports=Function.call.bind(Object.prototype.hasOwnProperty)},"./node_modules/react-is/cjs/react-is.development.js":(e,t)=>{!function(){var e="function"==typeof Symbol&&Symbol.for,n=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:var p=e.type;switch(p){case s:case c:case o:case i:case a:case d:return p;default:var y=p&&p.$$typeof;switch(y){case u:case f:case h:case m:case l:return y;default:return t}}case r:return t}}}var w=c,S=u,_=l,C=n,O=f,k=o,T=h,P=m,x=r,A=i,N=a,L=d,R=!1;function M(e){return E(e)===c}t.AsyncMode=s,t.ConcurrentMode=w,t.ContextConsumer=S,t.ContextProvider=_,t.Element=C,t.ForwardRef=O,t.Fragment=k,t.Lazy=T,t.Memo=P,t.Portal=x,t.Profiler=A,t.StrictMode=N,t.Suspense=L,t.isAsyncMode=function(e){return R||(R=!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.")),M(e)||E(e)===s},t.isConcurrentMode=M,t.isContextConsumer=function(e){return E(e)===u},t.isContextProvider=function(e){return E(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return E(e)===f},t.isFragment=function(e){return E(e)===o},t.isLazy=function(e){return E(e)===h},t.isMemo=function(e){return E(e)===m},t.isPortal=function(e){return E(e)===r},t.isProfiler=function(e){return E(e)===i},t.isStrictMode=function(e){return E(e)===a},t.isSuspense=function(e){return E(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===i||e===a||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===f||e.$$typeof===g||e.$$typeof===v||e.$$typeof===b||e.$$typeof===y)},t.typeOf=E}()},"./node_modules/react-is/index.js":(e,t,n)=>{e.exports=n("./node_modules/react-is/cjs/react-is.development.js")},"./node_modules/shallow-equal/dist/index.esm.js":(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}n.r(t),n.d(t,{shallowEqualArrays:()=>o,shallowEqualObjects:()=>r})},"./src/Component.ts":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("./src/useMediaQuery.ts"));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}},"./src/Context.ts":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});var r=(0,n("react").createContext)(void 0);t.default=r},"./src/index.ts":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("./src/useMediaQuery.ts"));t.useMediaQuery=o.default;var a=r(n("./src/Component.ts"));t.default=a.default;var i=r(n("./src/toQuery.ts"));t.toQuery=i.default;var l=r(n("./src/Context.ts"));t.Context=l.default},"./src/mediaQuery.ts":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("./node_modules/prop-types/index.js")),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}},"./src/toQuery.ts":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("./node_modules/hyphenate-style-name/index.js")),a=r(n("./src/mediaQuery.ts"));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 ")}},"./src/useMediaQuery.ts":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=n("react"),a=r(n("./node_modules/matchmediaquery/index.js")),i=r(n("./node_modules/hyphenate-style-name/index.js")),l=n("./node_modules/shallow-equal/dist/index.esm.js"),u=r(n("./src/toQuery.ts")),s=r(n("./src/Context.ts")),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=(0,o.useRef)(!1);return(0,o.useEffect)(function(){e.current=!0},[]),e.current};t.default=function(e,t,n){var r=function(e){var t=(0,o.useContext)(s.default),n=function(){return c(e)||c(t)},r=(0,o.useState)(n),a=r[0],i=r[1];return(0,o.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=(0,o.useState)(t),r=n[0],a=n[1];return(0,o.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=(0,o.useState)(n),i=r[0],l=r[1],u=f();return(0,o.useEffect)(function(){if(u){var e=n();return l(e),function(){e&&e.dispose()}}},[e,t]),i}(i,r),p=function(e){var t=(0,o.useState)(e.matches),n=t[0],r=t[1];return(0,o.useEffect)(function(){var t=function(e){r(e.matches)};return e.addListener(t),r(e.matches),function(){e.removeListener(t)}},[e]),n}(d),m=f();return(0,o.useEffect)(function(){m&&n&&n(p)},[p]),(0,o.useEffect)(function(){return function(){d&&d.dispose()}},[]),p}},react:t=>{t.exports=e}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var a=n[e]={exports:{}};return t[e].call(a.exports,a,a.exports,r),a.exports}return r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r("./src/index.ts")})(),e.exports=n(sr)});function dg(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function pg(e){dg(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 mg(e){dg(1,arguments);var t=pg(e);return t.setHours(0,0,0,0),t}function hg(e,t){dg(2,arguments);var n=mg(e),r=mg(t);return n.getTime()===r.getTime()}function yg(e){return dg(1,arguments),1e3*e}var gg,vg,bg,Eg=function(e){var t=e.installments_count,n=e.deferred_days+30*e.deferred_months;return 1===t?sr.createElement(oi,{id:"payment-plan-strings.day-abbreviation",defaultMessage:"J{numberOfDeferredDays}",values:{numberOfDeferredDays:n>0?"+"+n:""}}):t+"x"},wg=function(e){var t;if(null!=(t=e.payment_plan)&&t.every(function(e){return 0===e.customer_fee&&0===e.customer_interest}))return sr.createElement(sr.Fragment,null," ",sr.createElement(oi,{id:"payment-plan-strings.no-fee",defaultMessage:"(sans frais)"}))},Sg=function(e){var t=e.eligibilityPlans,n=e.currentPlanIndex,r=e.setCurrentPlanIndex;return sr.createElement("div",{className:yy("_1l2Oa",vy.eligibilityOptions)},t.map(function(e,t){var o;return sr.createElement("button",{key:t,className:yy((o={},o[yy("_3rue7",vy.activeOption)]=t===n,o)),onClick:function(){return r(t)}},Eg(e))}))},_g=function(e){var t,n,r=e.installment,o=e.index;return sr.createElement("div",{className:"_z2Uiv","data-testid":"installment-"+o},sr.createElement("div",{className:"_2lJQy"},sr.createElement("div",{className:yy("_1Z9wr",(t={},t._2Nmkl=0===o,t))}),function(e){return dg(1,arguments),hg(e,Date.now())}(1e3*r.due_date)?sr.createElement(oi,{id:"installments.today",defaultMessage:"Aujourd'hui",tagName:"strong"}):sr.createElement(ai,{value:1e3*r.due_date,day:"numeric",month:"long",year:"numeric"})),sr.createElement("div",{className:yy((n={},n["_ezY-3"]=0===o,n))},sr.createElement(ii,{value:r.total_amount/100,style:"currency",currency:"EUR"})))},Cg=function(e){var t=e.currentPlan,n=t.installments_count>4;return sr.createElement(sr.Fragment,null,sr.createElement("div",{className:yy("_MPKjS",vy.scheduleDetails),"data-testid":"modal-installments-element"},((null==t?void 0:t.payment_plan)||[]).map(function(e,t){return sr.createElement(_g,{key:1e3*e.due_date,installment:e,index:t})}),n&&sr.createElement("div",{className:"_3a7er"},sr.createElement(oi,{id:"credit-features.information",defaultMessage:"Un crédit vous engage et doit être remboursé. Vérifiez vos capacités de remboursement avant de vous engager."}))))},Og=["color"],kg=function(e){var t=e.color,n=void 0===t?"#FA5022":t,r=py(e,Og);return sr.createElement("svg",Object.assign({width:"50",height:"25",viewBox:"0 0 360 109",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),sr.createElement("path",{d:"M333.24 28.3462V38.4459C327.504 31.1018 319.176 26.5132 309.288 26.5132C290.208 26.5132 275.424 43.5497 275.424 64.5757C275.424 85.6018 290.208 102.638 309.288 102.638C319.872 102.638 328.668 97.3908 334.416 89.1241V100.817H352.668V28.3462H333.24ZM314.028 84.4876C303.42 84.4876 294.828 75.574 294.828 64.5757C294.828 53.5775 303.42 44.6639 314.028 44.6639C324.636 44.6639 333.228 53.5775 333.228 64.5757C333.228 75.574 324.636 84.4876 314.028 84.4876ZM109.5 8.23073H128.916V100.805H109.5V8.23073ZM151.248 59.7356C151.248 39.8117 163.5 26.5252 180.468 26.5252C191.004 26.5252 199.332 31.1976 204.348 39.1648C209.376 31.1976 217.692 26.5252 228.228 26.5252C245.196 26.5252 257.448 39.8117 257.448 59.7356V100.817H238.032V57.639C238.032 49.8635 232.872 44.7957 226.044 44.7957C219.216 44.7957 214.056 49.8755 214.056 57.639V100.817H194.64V57.639C194.64 49.8635 189.48 44.7957 182.652 44.7957C175.824 44.7957 170.664 49.8755 170.664 57.639V100.817H151.248V59.7356ZM74.34 29.101C69.744 11.9088 60.0241 6.40967 50.772 6.40967C41.5201 6.40967 31.8 11.9088 27.204 29.101L7.24805 100.829H26.916C30.12 88.8485 39.996 82.1753 50.772 82.1753C61.548 82.1753 71.424 88.8605 74.6281 100.829H94.3081L74.34 29.101ZM50.772 65.4623C44.508 65.4623 38.8321 67.8345 34.6441 71.6803L45.924 29.9397C47.0041 25.9501 48.6001 24.6802 50.784 24.6802C52.9681 24.6802 54.5641 25.9501 55.6441 29.9397L66.912 71.6803C62.724 67.8345 57.036 65.4623 50.772 65.4623Z",fill:n}))},Tg=function(){return sr.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"16",viewBox:"0 0 24 16"},sr.createElement("defs",null,sr.createElement("linearGradient",{id:"cardamex",x1:"10.914%",x2:"87.432%",y1:"86.279%",y2:"15.035%"},sr.createElement("stop",{offset:"0%",stopColor:"#3FA9F5"}),sr.createElement("stop",{offset:"100%",stopColor:"#0071BC"}))),sr.createElement("g",{fill:"none",fillRule:"evenodd"},sr.createElement("path",{fill:"url(#cardamex)",fillRule:"nonzero",d:"M22.559 16H1.379C.627 16 0 15.392 0 14.662V1.338C0 .608.627 0 1.379 0H22.62C23.373 0 24 .608 24 1.338v13.324c-.063.73-.627 1.338-1.441 1.338z"}),sr.createElement("g",{fill:"#FFF"},sr.createElement("path",{d:"M10.115 8.711L8.889 6.044H7.295v3.852L5.517 6.044H4.17l-1.778 4.03h1.103l.368-.889h2.023l.368.89h2.084V7.11l1.349 2.963h.92l1.348-2.904v2.904h.98v-4.03H11.28l-1.165 2.667zm-5.272-.474H4.23l.613-1.422v.06l.613 1.362h-.613z"}),sr.createElement("path",{fillRule:"nonzero",d:"M19.372 7.94l.735-.77 1.042-1.185h-1.287L18.697 7.23l-1.164-1.245h-3.985v3.97h3.923l1.226-1.303 1.165 1.304h1.287L20.107 8.71l-.735-.77zM16.92 9.186h-2.33v-.77h2.268v-.77H14.59v-.712h2.33L18.084 8 16.92 9.185z"}))))},Pg=function(){return sr.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"16",viewBox:"0 0 24 16"},sr.createElement("g",{fill:"none",fillRule:"nonzero"},sr.createElement("path",{fill:"#FCFCFC",d:"M22.684 16H1.38C.627 16 0 15.39 0 14.656V1.344C0 .61.627 0 1.379 0H22.62C23.373 0 24 .61 24 1.344v13.374c0 .671-.564 1.282-1.316 1.282z"})," ",sr.createElement("path",{fill:"#005098",d:"M8.889 10.726l.948-5.393h1.482l-.949 5.393zM15.704 5.452a3.658 3.658 0 0 0-1.304-.237c-1.481 0-2.489.71-2.489 1.778 0 .77.711 1.185 1.304 1.481.592.237.77.415.77.652 0 .355-.474.533-.889.533-.592 0-.889-.059-1.363-.296l-.177-.06-.178 1.186c.355.178 1.007.296 1.659.296 1.54 0 2.548-.71 2.548-1.837 0-.592-.415-1.067-1.244-1.481-.534-.237-.83-.415-.83-.652 0-.237.237-.474.83-.474.474 0 .83.118 1.126.178l.118.059.119-1.126M19.496 5.333H18.37c-.355 0-.592.119-.77.474l-2.193 4.919h1.541s.237-.652.296-.83h1.897c.059.178.178.83.178.83h1.362l-1.185-5.393zM17.66 8.77l.593-1.481s.118-.296.178-.533l.118.474s.296 1.303.356 1.54h-1.245zM7.644 5.333L6.222 9.007l-.178-.77C5.748 7.348 4.92 6.459 4.03 5.985l1.303 4.682h1.541l2.311-5.393h-1.54"}),sr.createElement("path",{fill:"#F6A500",d:"M4.919 5.333h-2.37v.119c1.836.474 3.08 1.54 3.555 2.844L5.57 5.807c-.118-.414-.355-.474-.651-.474"}),sr.createElement("path",{fill:"#0A5296",d:"M23.937 3.23H0V1.316C0 .598.627 0 1.379 0H22.62C23.373 0 24 .598 24 1.316V3.23h-.063z"}),sr.createElement("path",{fill:"#F4A428",d:"M.063 13H24v1.8c0 .655-.625 1.2-1.375 1.2H1.375C.625 16 0 15.455 0 14.8V13h.063z"})))},xg=function(){return sr.createElement("svg",{width:"24px",height:"16px",viewBox:"0 0 24 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},sr.createElement("g",{id:"Parcours-1C-B",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},sr.createElement("g",{id:"mobile-1C-Paiement-V1",transform:"translate(-269.000000, -313.000000)"},sr.createElement("g",{id:"mastercard",transform:"translate(269.000000, 313.000000)"},sr.createElement("rect",{id:"Rectangle",fill:"#FFFFFF",x:"0",y:"0",width:"24",height:"16",rx:"1"}),sr.createElement("g",{id:"Group-6",transform:"translate(4.000000, 3.000000)"},sr.createElement("circle",{id:"Oval-4-Copy",fill:"#EA001B",cx:"5.05263158",cy:"5.05263158",r:"5.05263158"}),sr.createElement("circle",{id:"Oval-4",fillOpacity:"0.25",fill:"#F79F1A",cx:"10.9473684",cy:"5.05263158",r:"5.05263158"}),sr.createElement("circle",{id:"Oval-4-Copy-2",fillOpacity:"0.9",fill:"#F79F1A",cx:"10.9473684",cy:"5.05263158",r:"5.05263158"}),sr.createElement("circle",{id:"Oval-4-Copy-3",fillOpacity:"0.3",fill:"#EA001B",cx:"5.05263158",cy:"5.05263158",r:"5.05263158"}))))))},Ag=function(){return sr.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"16",viewBox:"0 0 24 16"},sr.createElement("defs",null,sr.createElement("linearGradient",{id:"cardcb",x1:"5.842%",x2:"95.393%",y1:"81.753%",y2:"17.344%"},sr.createElement("stop",{offset:"0%",stopColor:"#39B54A"})," ",sr.createElement("stop",{offset:"100%",stopColor:"#0A5296"}))),sr.createElement("g",{fill:"none",fillRule:"nonzero"},sr.createElement("path",{fill:"url(#cardcb)",d:"M22.621 16H1.38C.627 16 0 15.392 0 14.662V1.338C0 .608.627 0 1.379 0H22.62C23.373 0 24 .608 24 1.338v13.324c-.063.73-.627 1.338-1.379 1.338z"}),sr.createElement("g",{fill:"#FFF"},sr.createElement("path",{d:"M19.094 4.03h-6.437V8h6.498c1.165 0 2.084-.889 2.084-2.015-.06-1.066-.98-1.955-2.145-1.955zM19.094 8.593h-6.437v3.97h6.498c1.165 0 2.084-.889 2.084-2.015-.06-1.067-.98-1.955-2.145-1.955zM7.017 8.06h4.966c-.245-2.371-2.391-4.267-4.966-4.267-2.758 0-5.027 2.074-5.027 4.681s2.269 4.682 5.027 4.682c2.698 0 4.904-2.015 5.027-4.563H7.017v-.534z"}))))},Ng={cardContainer:"_1N3yO"},Lg=function(e){var t=Array.from(new Set(e.cards));return sr.createElement("div",{"data-testid":"card-logos",className:yy(Ng.cardContainer,vy.cardContainer)},t.map(function(e){return sr.createElement("div",{key:e,className:Ng.card,"data-testid":"card-logo-"+e},"cb"===e&&sr.createElement(Ag,null),"amex"===e&&sr.createElement(Tg,null),"mastercard"===e&&sr.createElement(xg,null),"visa"===e&&sr.createElement(Pg,null))}))},Rg=function(){return sr.createElement("div",{className:yy("_180ro",vy.info),"data-testid":"modal-info-element"},sr.createElement("div",{className:"_1HqCO"},sr.createElement("div",{className:yy("_3B8wx",vy.bullet)},"1"),sr.createElement("div",{className:vy.infoMessage},sr.createElement(oi,{id:"eligibility-modal.bullet-1",defaultMessage:"Choisissez <strong>Alma</strong> au moment du paiement.",values:{strong:function(){return sr.createElement("strong",null,[].slice.call(arguments))}}}))),sr.createElement("div",{className:"_1HqCO"},sr.createElement("div",{className:yy("_3B8wx",vy.bullet)},"2"),sr.createElement("div",{className:vy.infoMessage},sr.createElement(oi,{id:"eligibility-modal.bullet-2",defaultMessage:"Renseignez les <strong>informations</strong> demandées.",values:{strong:function(){return sr.createElement("strong",null,[].slice.call(arguments))}}}))),sr.createElement("div",{className:"_1HqCO"},sr.createElement("div",{className:yy("_3B8wx",vy.bullet)},"3"),sr.createElement("div",{className:vy.infoMessage},sr.createElement(oi,{id:"eligibility-modal.bullet-3",defaultMessage:"La validation de votre paiement est <strong>instantanée</strong> !",values:{strong:function(){return sr.createElement("strong",null,[].slice.call(arguments))}}}))))},Mg=function(e){var t=e.isSomePlanDeferred;return sr.createElement("div",{className:yy("_3ERx-",vy.title),"data-testid":"modal-title-element"},sr.createElement(oi,t?{id:"eligibility-modal.title-deferred-plan",defaultMessage:"Payez en plusieurs fois ou plus tard par carte bancaire avec Alma."}:{id:"eligibility-modal.title-normal",defaultMessage:"Payez en plusieurs fois par carte bancaire avec Alma."}))},Ig=function(e){var t=e.children,n=e.isSomePlanDeferred,r=e.cards;return sr.createElement("div",{className:yy("_21g6u",vy.desktopModal),"data-testid":"modal-container"},sr.createElement("aside",{className:yy(["_3zaP5","_2SBRC",vy.leftSide])},sr.createElement(Mg,{isSomePlanDeferred:n}),sr.createElement(Rg,null),r&&sr.createElement(Lg,{cards:r}),sr.createElement(kg,{className:"_xW3wt",width:"75"})),sr.createElement("div",{className:yy("_3zaP5",vy.rightSide)},t))},Dg=function(e){var t=e.children,n=e.isSomePlanDeferred,r=e.cards;return sr.createElement("div",{className:yy("_2G7Ch",vy.mobileModal),"data-testid":"modal-container"},sr.createElement(Mg,{isSomePlanDeferred:n}),t,sr.createElement(Rg,null),r&&sr.createElement(Lg,{cards:r}),sr.createElement(kg,{className:"_2779r",width:"75"}))},Fg=function(e){var t=e.onClose,n=e.eligibilityPlans,r=e.status,o=e.cards,a=sr.useState(e.initialPlanIndex||0),i=a[0],l=a[1],u=fg.useMediaQuery({minWidth:800})?Ig:Dg,s=n.filter(function(e){return e.eligible}),c=s[i],f=n.some(function(e){return e.deferred_days>0||e.deferred_months>0});return sr.createElement(cg,{onClose:t,ariaHideApp:!1,scrollable:!0,isOpen:!0},sr.createElement(u,{isSomePlanDeferred:f,cards:o},r===Zn.PENDING&&sr.createElement("div",{className:"_2oTJq"},sr.createElement(Ey,null)),r===Zn.SUCCESS&&0===s.length&&sr.createElement("div",{className:"_17qNJ"},sr.createElement(oi,{id:"eligibility-modal.no-eligibility",defaultMessage:"Oups, il semblerait que la simulation n'ait pas fonctionné."})),r===Zn.SUCCESS&&s.length>=1&&sr.createElement(sr.Fragment,null,sr.createElement(Sg,{eligibilityPlans:s,currentPlanIndex:i,setCurrentPlanIndex:l}),sr.createElement("div",{className:"_2u9rj"},sr.createElement("div",{className:"_VRdAU"}),sr.createElement(Cg,{currentPlan:c}),sr.createElement(by,{currentPlan:c})))))},Hg=function(e){var t=e.onClose,n=e.cards,r=hy(e.purchaseAmount,e.apiData,e.configPlans);return sr.createElement(Fg,{initialPlanIndex:0,onClose:t,eligibilityPlans:r[0],status:r[1],cards:n})},jg=function(e){return sr.createElement("div",{className:yy("_2SwwZ",e.className),"data-testid":"loader"},sr.createElement("div",{className:"_2qODo"}),sr.createElement("div",{className:"_2YO01"}))},Bg="alma-payment-plans",Ug={container:Bg+"-container",eligibilityLine:Bg+"-eligibility-line",eligibilityOptions:Bg+"-eligibility-options",notEligibleOption:Bg+"-not-eligible-option",paymentInfo:Bg+"-payment-info",activeOption:Bg+"-active-option"},zg=function(e){var t,n,r,o,a=e.hideIfNotEligible,i=e.monochrome,l=e.suggestedPaymentPlan,u=e.cards,s=e.transitionDelay,c=e.hideBorder,f=void 0!==c&&c,d=hy(e.purchaseAmount,e.apiData,e.configPlans),p=d[0],m=d[1],h=p.filter(function(e){return e.eligible}),y=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:p,suggestedPaymentPlan:null!=l?l:0}),g=void 0!==l,v=void 0!==s,b=sr.useState(!1),E=b[0],w=b[1],S=p.reduce(function(e,t,n){return t.eligible?[].concat(e,[n]):e},[]),_=function(e,t){var n=sr.useState(0),r=n[0],o=n[1],a=sr.useState(!0),i=a[0],l=a[1];return sr.useEffect(function(){var n,a=!0;return 0!==e.length&&(!e.includes(r)&&i&&o(e[0]),n=setTimeout(function(){i&&a&&o(e[e.includes(r)?(e.indexOf(r)+1)%e.length:0])},t)),function(){a=!1,clearTimeout(n)}},[e,r]),{current:r,onHover:function(e){o(e),l(!1)},onLeave:function(){l(!0)}}}(S,v?null!=s?s:5500:g?31536e6:5500),C=_.current,O=_.onHover,k=_.onLeave;return sr.useEffect(function(){m===Zn.SUCCESS&&g&&(O(y),k())},[m]),m===Zn.PENDING?sr.createElement("div",{className:yy("_TSkFv","_1ZDMS")},sr.createElement(jg,null)):a&&0===h.length||0===p.length||m===Zn.FAILED?null:sr.createElement(sr.Fragment,null,sr.createElement("div",{onClick:function(e){e.preventDefault(),h.length>0&&w(!0)},className:yy("_TSkFv",(t={},t._UksZa=h.length>0,t["_1lr-q"]=0===h.length,t._3_qcn=f,t),Ug.container),"data-testid":"widget-button"},sr.createElement("div",{className:yy("_bMClc",Ug.eligibilityLine)},sr.createElement(kg,{className:"_LJ4nZ",color:i?"var(--off-black)":void 0}),sr.createElement("div",{className:yy("_17c_S",Ug.eligibilityOptions)},p.map(function(e,t){var n,r=t===C;return sr.createElement("div",{key:t,onMouseEnter:function(){return O(t)},onTouchStart:function(){return O(t)},onMouseOut:k,onTouchEnd:k,className:yy("_2Kqjn",(n={},n[yy("_3dG_J",Ug.activeOption)]=r,n._2hx83=i&&r,n[yy("_3O1bg",Ug.notEligibleOption)]=!e.eligible,n))},Eg(e))}))),sr.createElement("div",{className:yy("_25GrF",(n={},n[yy("_3O1bg",Ug.notEligibleOption)]=p[C]&&!p[C].eligible,n),Ug.paymentInfo)},0!==p.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 sr.createElement(oi,e.purchase_amount>a?{id:"payment-plan-strings.ineligible-greater-than-max",defaultMessage:"Jusqu'à {maxAmount}",values:{maxAmount:sr.createElement(ii,{value:nr(a),style:"currency",currency:"EUR"})}}:{id:"payment-plan-strings.ineligible-lower-than-min",defaultMessage:"À partir de {minAmount}",values:{minAmount:sr.createElement(ii,{value:nr(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 sr.createElement(sr.Fragment,null,sr.createElement(oi,{id:"payment-plan-strings.deferred",defaultMessage:"{totalAmount} à payer le {dueDate}",values:{totalAmount:sr.createElement(ii,{value:nr(i[0].total_amount),style:"currency",currency:"EUR"}),dueDate:sr.createElement(ai,{value:yg(i[0].due_date),day:"numeric",month:"long",year:"numeric"})}}),wg(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 sr.createElement(sr.Fragment,null,sr.createElement(oi,u?{id:"payment-plan-strings.multiple-installments-same-amount",defaultMessage:"{installmentsCount} x {totalAmount}",values:{totalAmount:sr.createElement(ii,{value:nr(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:sr.createElement(ii,{value:nr(i[0].total_amount),style:"currency",currency:"EUR"}),numberOfRemainingInstallments:t-1,othersInstallmentAmount:sr.createElement(ii,{value:nr(i[1].total_amount),style:"currency",currency:"EUR"})}}),wg(e))}return sr.createElement(oi,{id:"payment-plan-strings.default-message",defaultMessage:"Payez en plusieurs fois avec Alma"})}(p[C]))),E&&sr.createElement(Fg,{initialPlanIndex:(r=C,o=S.findIndex(function(e){return e===r}),-1===o?0:o),onClose:function(){return w(!1)},eligibilityPlans:h,status:m,cards:u}))},Gg=function(){function e(e){this.apiData=e}return e.prototype.add=function(e,t){var n=this,r=document.querySelector(t.container);if(r&&fy.unmountComponentAtNode(r),e===Xn.PaymentPlans){var o=t.container,a=t.hideBorder,i=t.monochrome,l=t.locale;r&&fy.render(sr.createElement(hi,{locale:void 0===l?Jn.en:l},sr.createElement(zg,{apiData:this.apiData,configPlans:t.plans,hideIfNotEligible:t.hideIfNotEligible,monochrome:void 0===i||i,purchaseAmount:t.purchaseAmount,suggestedPaymentPlan:t.suggestedPaymentPlan,cards:t.cards,transitionDelay:t.transitionDelay,hideBorder:void 0!==a&&a})),document.querySelector(o))}if(e===Xn.Modal){var u,s=t.container,c=t.clickableSelector,f=t.purchaseAmount,d=t.plans,p=t.locale,m=void 0===p?Jn.en:p,h=t.cards,y=function(){return r&&fy.unmountComponentAtNode(r)},g=function(){fy.render(sr.createElement(hi,{locale:m},sr.createElement(Hg,{purchaseAmount:f,apiData:n.apiData,configPlans:d,onClose:y,cards:h})),document.querySelector(s))};return c&&(null==(u=document.querySelector(c))||u.addEventListener("click",g,!1)),{open:g,close:y}}},e}();(gg=e.ApiMode||(e.ApiMode={})).LIVE="https://api.getalma.eu",gg.TEST="https://api.sandbox.getalma.eu",(vg=e.Widgets||(e.Widgets={})).initialize=function(e,t){return new Gg({domain:t,merchantId:e})},vg.PaymentPlans=Xn.PaymentPlans,vg.Modal=Xn.Modal,(bg=e.Utils||(e.Utils={})).priceToCents=function(e){return Math.round(100*e)},bg.priceFromCents=nr,bg.formatCents=function(e){return String(nr(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=Math.trunc||function(e){var t=+e;return(t>0?u:l)(t)},c=function(e){var t=+e;return t!=t||0===t?0:s(t)},f="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function d(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function p(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 m,h,y=function(e){return e&&e.Math==Math&&e},g=y("object"==typeof globalThis&&globalThis)||y("object"==typeof window&&window)||y("object"==typeof self&&self)||y("object"==typeof f&&f)||function(){return this}()||Function("return this")(),v=Object.defineProperty,b=function(e,t){try{v(g,e,{value:t,configurable:!0,writable:!0})}catch(n){g[e]=t}return t},E=g["__core-js_shared__"]||b("__core-js_shared__",{}),w=p(function(e){(e.exports=function(e,t){return E[e]||(E[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.22.8",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.8/LICENSE",source:"https://github.com/zloirock/core-js"})}),S=TypeError,_=function(e){if(null==e)throw S("Can't call method on "+e);return e},C=Object,O=function(e){return C(_(e))},k=i({}.hasOwnProperty),T=Object.hasOwn||function(e,t){return k(O(e),t)},P=0,x=Math.random(),A=i(1..toString),N=function(e){return"Symbol("+(void 0===e?"":e)+")_"+A(++P+x,36)},L=function(e){return"function"==typeof e},R=function(e){return L(e)?e:void 0},M=function(e,t){return arguments.length<2?R(g[e]):g[e]&&g[e][t]},I=M("navigator","userAgent")||"",D=g.process,F=g.Deno,H=D&&D.versions||F&&F.version,B=H&&H.v8;B&&(h=(m=B.split("."))[0]>0&&m[0]<4?1:+(m[0]+m[1])),!h&&I&&(!(m=I.match(/Edge\/(\d+)/))||m[1]>=74)&&(m=I.match(/Chrome\/(\d+)/))&&(h=+m[1]);var j=h,U=!!Object.getOwnPropertySymbols&&!t(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&j&&j<41}),z=U&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,G=w("wks"),V=g.Symbol,W=V&&V.for,$=z?V:V&&V.withoutSetter||N,q=function(e){if(!T(G,e)||!U&&"string"!=typeof G[e]){var t="Symbol."+e;G[e]=U&&T(V,e)?V[e]:z&&W?W(t):$(t)}return G[e]},Q={};Q[q("toStringTag")]="z";var K="[object z]"===String(Q),Y=i({}.toString),X=i("".slice),Z=function(e){return X(Y(e),8,-1)},J=q("toStringTag"),ee=Object,te="Arguments"==Z(function(){return arguments}()),ne=K?Z: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=ee(e),J))?n:te?Z(t):"Object"==(r=Z(t))&&L(t.callee)?"Arguments":r},re=String,oe=function(e){if("Symbol"===ne(e))throw TypeError("Cannot convert a Symbol value to a string");return re(e)},ae=i("".charAt),ie=i("".charCodeAt),le=i("".slice),ue=function(e){return function(t,n){var r,o,a=oe(_(t)),i=c(n),l=a.length;return i<0||i>=l?e?"":void 0:(r=ie(a,i))<55296||r>56319||i+1===l||(o=ie(a,i+1))<56320||o>57343?e?ae(a,i):r:e?le(a,i,i+2):o-56320+(r-55296<<10)+65536}},se={codeAt:ue(!1),charAt:ue(!0)},ce=i(Function.toString);L(E.inspectSource)||(E.inspectSource=function(e){return ce(e)});var fe,de,pe,me=E.inspectSource,he=g.WeakMap,ye=L(he)&&/native code/.test(me(he)),ge=function(e){return"object"==typeof e?null!==e:L(e)},ve=!t(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),be=g.document,Ee=ge(be)&&ge(be.createElement),we=function(e){return Ee?be.createElement(e):{}},Se=!ve&&!t(function(){return 7!=Object.defineProperty(we("div"),"a",{get:function(){return 7}}).a}),_e=ve&&t(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),Ce=String,Oe=TypeError,ke=function(e){if(ge(e))return e;throw Oe(Ce(e)+" is not an object")},Te=Function.prototype.call,Pe=n?Te.bind(Te):function(){return Te.apply(Te,arguments)},xe=i({}.isPrototypeOf),Ae=Object,Ne=z?function(e){return"symbol"==typeof e}:function(e){var t=M("Symbol");return L(t)&&xe(t.prototype,Ae(e))},Le=String,Re=function(e){try{return Le(e)}catch(e){return"Object"}},Me=TypeError,Ie=function(e){if(L(e))return e;throw Me(Re(e)+" is not a function")},De=function(e,t){var n=e[t];return null==n?void 0:Ie(n)},Fe=TypeError,He=TypeError,Be=q("toPrimitive"),je=function(e){var t=function(e,t){if(!ge(e)||Ne(e))return e;var n,r=De(e,Be);if(r){if(void 0===t&&(t="default"),n=Pe(r,e,t),!ge(n)||Ne(n))return n;throw He("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&L(n=e.toString)&&!ge(r=Pe(n,e)))return r;if(L(n=e.valueOf)&&!ge(r=Pe(n,e)))return r;if("string"!==t&&L(n=e.toString)&&!ge(r=Pe(n,e)))return r;throw Fe("Can't convert object to primitive value")}(e,t)}(e,"string");return Ne(t)?t:t+""},Ue=TypeError,ze=Object.defineProperty,Ge=Object.getOwnPropertyDescriptor,Ve={f:ve?_e?function(e,t,n){if(ke(e),t=je(t),ke(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 ze(e,t,n)}:ze:function(e,t,n){if(ke(e),t=je(t),ke(n),Se)try{return ze(e,t,n)}catch(e){}if("get"in n||"set"in n)throw Ue("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}},$e=ve?function(e,t,n){return Ve.f(e,t,We(1,n))}:function(e,t,n){return e[t]=n,e},qe=w("keys"),Qe=function(e){return qe[e]||(qe[e]=N(e))},Ke={},Ye=g.TypeError;if(ye||E.state){var Xe=E.state||(E.state=new(0,g.WeakMap)),Ze=i(Xe.get),Je=i(Xe.has),et=i(Xe.set);fe=function(e,t){if(Je(Xe,e))throw new Ye("Object already initialized");return t.facade=e,et(Xe,e,t),t},de=function(e){return Ze(Xe,e)||{}},pe=function(e){return Je(Xe,e)}}else{var tt=Qe("state");Ke[tt]=!0,fe=function(e,t){if(T(e,tt))throw new Ye("Object already initialized");return t.facade=e,$e(e,tt,t),t},de=function(e){return T(e,tt)?e[tt]:{}},pe=function(e){return T(e,tt)}}var nt,rt={set:fe,get:de,has:pe,enforce:function(e){return pe(e)?de(e):fe(e,{})},getterFor:function(e){return function(t){var n;if(!ge(t)||(n=de(t)).type!==e)throw Ye("Incompatible receiver, "+e+" required");return n}}},ot={}.propertyIsEnumerable,at=Object.getOwnPropertyDescriptor,it={f:at&&!ot.call({1:2},1)?function(e){var t=at(this,e);return!!t&&t.enumerable}:ot},lt=Object,ut=i("".split),st=t(function(){return!lt("z").propertyIsEnumerable(0)})?function(e){return"String"==Z(e)?ut(e,""):lt(e)}:lt,ct=function(e){return st(_(e))},ft=Object.getOwnPropertyDescriptor,dt={f:ve?ft:function(e,t){if(e=ct(e),t=je(t),Se)try{return ft(e,t)}catch(e){}if(T(e,t))return We(!Pe(it.f,e,t),e[t])}},pt=Function.prototype,mt=ve&&Object.getOwnPropertyDescriptor,ht=T(pt,"name"),yt={EXISTS:ht,PROPER:ht&&"something"===function(){}.name,CONFIGURABLE:ht&&(!ve||ve&&mt(pt,"name").configurable)},gt=p(function(e){var n=yt.CONFIGURABLE,r=rt.enforce,o=rt.get,a=Object.defineProperty,i=ve&&!t(function(){return 8!==a(function(){},"length",{value:8}).length}),l=String(String).split("String"),u=e.exports=function(e,t,o){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),o&&o.getter&&(t="get "+t),o&&o.setter&&(t="set "+t),(!T(e,"name")||n&&e.name!==t)&&a(e,"name",{value:t,configurable:!0}),i&&o&&T(o,"arity")&&e.length!==o.arity&&a(e,"length",{value:o.arity});try{o&&T(o,"constructor")&&o.constructor?ve&&a(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var u=r(e);return T(u,"source")||(u.source=l.join("string"==typeof t?t:"")),e};Function.prototype.toString=u(function(){return L(this)&&o(this).source||me(this)},"toString")}),vt=function(e,t,n,r){r||(r={});var o=r.enumerable,a=void 0!==r.name?r.name:t;return L(n)&&gt(n,a,r),r.global?o?e[t]=n:b(t,n):(r.unsafe?e[t]&&(o=!0):delete e[t],o?e[t]=n:$e(e,t,n)),e},bt=Math.max,Et=Math.min,wt=Math.min,St=function(e){return(t=e.length)>0?wt(c(t),9007199254740991):0;var t},_t=function(e){return function(t,n,r){var o,a=ct(t),i=St(a),l=function(e,t){var n=c(e);return n<0?bt(n+t,0):Et(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}},Ct=(_t(!0),_t(!1)),Ot=i([].push),kt=function(e,t){var n,r=ct(e),o=0,a=[];for(n in r)!T(Ke,n)&&T(r,n)&&Ot(a,n);for(;t.length>o;)T(r,n=t[o++])&&(~Ct(a,n)||Ot(a,n));return a},Tt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Pt=Tt.concat("length","prototype"),xt={f:Object.getOwnPropertyNames||function(e){return kt(e,Pt)}},At={f:Object.getOwnPropertySymbols},Nt=i([].concat),Lt=M("Reflect","ownKeys")||function(e){var t=xt.f(ke(e)),n=At.f;return n?Nt(t,n(e)):t},Rt=function(e,t,n){for(var r=Lt(t),o=Ve.f,a=dt.f,i=0;i<r.length;i++){var l=r[i];T(e,l)||n&&T(n,l)||o(e,l,a(t,l))}},Mt=/#|\.prototype\./,It=function(e,n){var r=Ft[Dt(e)];return r==Bt||r!=Ht&&(L(n)?t(n):!!n)},Dt=It.normalize=function(e){return String(e).replace(Mt,".").toLowerCase()},Ft=It.data={},Ht=It.NATIVE="N",Bt=It.POLYFILL="P",jt=It,Ut=dt.f,zt=function(e,t){var n,r,o,a,i,l=e.target,u=e.global,s=e.stat;if(n=u?g:s?g[l]||b(l,{}):(g[l]||{}).prototype)for(r in t){if(a=t[r],o=e.dontCallGetSet?(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;Rt(a,o)}(e.sham||o&&o.sham)&&$e(a,"sham",!0),vt(n,r,a,e)}},Gt=Object.keys||function(e){return kt(e,Tt)},Vt={f:ve&&!_e?Object.defineProperties:function(e,t){ke(e);for(var n,r=ct(t),o=Gt(t),a=o.length,i=0;a>i;)Ve.f(e,n=o[i++],r[n]);return e}},Wt=M("document","documentElement"),$t=Qe("IE_PROTO"),qt=function(){},Qt=function(e){return"<script>"+e+"<\/script>"},Kt=function(e){e.write(Qt("")),e.close();var t=e.parentWindow.Object;return e=null,t},Yt=function(){try{nt=new ActiveXObject("htmlfile")}catch(e){}var e,t;Yt="undefined"!=typeof document?document.domain&&nt?Kt(nt):((t=we("iframe")).style.display="none",Wt.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Qt("document.F=Object")),e.close(),e.F):Kt(nt);for(var n=Tt.length;n--;)delete Yt.prototype[Tt[n]];return Yt()};Ke[$t]=!0;var Xt,Zt,Jt,en=Object.create||function(e,t){var n;return null!==e?(qt.prototype=ke(e),n=new qt,qt.prototype=null,n[$t]=e):n=Yt(),void 0===t?n:Vt.f(n,t)},tn=!t(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),nn=Qe("IE_PROTO"),rn=Object,on=rn.prototype,an=tn?rn.getPrototypeOf:function(e){var t=O(e);if(T(t,nn))return t[nn];var n=t.constructor;return L(n)&&t instanceof n?n.prototype:t instanceof rn?on:null},ln=q("iterator"),un=!1;[].keys&&("next"in(Jt=[].keys())?(Zt=an(an(Jt)))!==Object.prototype&&(Xt=Zt):un=!0),(null==Xt||t(function(){var e={};return Xt[ln].call(e)!==e}))&&(Xt={}),L(Xt[ln])||vt(Xt,ln,function(){return this});var sn={IteratorPrototype:Xt,BUGGY_SAFARI_ITERATORS:un},cn=Ve.f,fn=q("toStringTag"),dn=function(e,t,n){e&&!n&&(e=e.prototype),e&&!T(e,fn)&&cn(e,fn,{configurable:!0,value:t})},pn={},mn=sn.IteratorPrototype,hn=function(){return this},yn=String,gn=TypeError,vn=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 ke(n),function(e){if("object"==typeof e||L(e))return e;throw gn("Can't set "+yn(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),bn=sn.IteratorPrototype,En=sn.BUGGY_SAFARI_ITERATORS,wn=q("iterator"),Sn=function(){return this},_n=se.charAt,Cn=rt.set,On=rt.getterFor("String Iterator");!function(e,t,n,r,o,a,i){!function(e,t,n,r){e.prototype=en(mn,{next:We(1,function(){var e,t=On(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=_n(n,r),t.index+=e.length,{value:e,done:!1})})}),dn(e,"String Iterator",!1),pn["String Iterator"]=hn}(n);var l,u,s,c=function(e){if(void 0===e&&p)return p;if(!En&&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[wn]||f["@@iterator"]||void 0,p=!En&&d||c(void 0);if(void(d&&(l=an(d.call(new e)))!==Object.prototype&&l.next&&(an(l)!==bn&&(vn?vn(l,bn):L(l[wn])||vt(l,wn,Sn)),dn(l,"String Iterator",!0))))if(void(u={values:c("values"),keys:c("keys"),entries:c("entries")}))for(s in u)(En||!(s in f))&&vt(f,s,u[s]);else zt({target:"String",proto:!0,forced:En||!1},u);f[wn]!==p&&vt(f,wn,p,{name:void 0}),pn.String=p}(String,0,function(e){Cn(this,{type:"String Iterator",string:oe(e),index:0})});var kn=i(i.bind),Tn=function(e,t){return Ie(e),void 0===t?e:n?kn(e,t):function(){return e.apply(t,arguments)}},Pn=function(e,t,n,r){try{return r?t(ke(n)[0],n[1]):t(n)}catch(t){!function(e,t,n){var r;ke(e);try{if(!(r=De(e,"return")))throw n;r=Pe(r,e)}catch(e){r=e}throw n}(e,0,t)}},xn=q("iterator"),An=Array.prototype,Nn=function(e){return void 0!==e&&(pn.Array===e||An[xn]===e)},Ln=function(){},Rn=[],Mn=M("Reflect","construct"),In=/^\s*(?:class|function)\b/,Dn=i(In.exec),Fn=!In.exec(Ln),Hn=function(e){if(!L(e))return!1;try{return Mn(Ln,Rn,e),!0}catch(e){return!1}},Bn=function(e){if(!L(e))return!1;switch(ne(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Fn||!!Dn(In,me(e))}catch(e){return!0}};Bn.sham=!0;var jn=!Mn||t(function(){var e;return Hn(Hn.call)||!Hn(Object)||!Hn(function(){e=!0})||e})?Bn:Hn,Un=function(e,t,n){var r=je(t);r in e?Ve.f(e,r,We(0,n)):e[r]=n},zn=q("iterator"),Gn=function(e){if(null!=e)return De(e,zn)||De(e,"@@iterator")||pn[ne(e)]},Vn=TypeError,Wn=function(e,t){var n=arguments.length<2?Gn(e):t;if(Ie(n))return ke(Pe(n,e));throw Vn(Re(e)+" is not iterable")},$n=Array,qn=q("iterator"),Qn=!1;try{var Kn=0,Yn={next:function(){return{done:!!Kn++}},return:function(){Qn=!0}};Yn[qn]=function(){return this},Array.from(Yn,function(){throw 2})}catch(e){}var Xn,Zn,Jn,er,tr=!function(e,t){if(!Qn)return!1;var n=!1;try{var r={};r[qn]=function(){return{next:function(){return{done:n=!0}}}},Array.from(r)}catch(e){}return n}();function nr(e){return Number((e/100).toFixed(2))}zt({target:"Array",stat:!0,forced:tr},{from:function(e){var t=O(e),n=jn(this),r=arguments.length,o=r>1?arguments[1]:void 0,a=void 0!==o;a&&(o=Tn(o,r>2?arguments[2]:void 0));var i,l,u,s,c,f,d=Gn(t),p=0;if(!d||this===$n&&Nn(d))for(i=St(t),l=n?new this(i):$n(i);i>p;p++)f=a?o(t[p],p):t[p],Un(l,p,f);else for(c=(s=Wn(t,d)).next,l=n?new this:[];!(u=Pe(c,s)).done;p++)f=a?Pn(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"}(Zn||(Zn={})),function(e){e.en="en",e["fr-FR"]="fr-FR",e.fr="fr",e["de-DE"]="de-DE",e.de="de",e.it="it",e["it-IT"]="it-IT",e.es="es",e["es-ES"]="es-ES",e.pt="pt",e["pt-PT"]="pt-PT",e.nl="nl",e["nl-NL"]="nl-NL",e["nl-BE"]="nl-BE"}(Jn||(Jn={})),"function"!=typeof(er=window.Element.prototype).matches&&(er.matches=er.msMatchesSelector||er.mozMatchesSelector||er.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 er.closest&&(er.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 rr=Object.getOwnPropertySymbols,or=Object.prototype.hasOwnProperty,ar=Object.prototype.propertyIsEnumerable;function ir(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var lr=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=ir(e),a=1;a<arguments.length;a++){for(var i in n=Object(arguments[a]))or.call(n,i)&&(o[i]=n[i]);if(rr){r=rr(n);for(var l=0;l<r.length;l++)ar.call(n,r[l])&&(o[r[l]]=n[r[l]])}}return o},ur=p(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,lr(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 x={ReactCurrentDispatcher:T,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:v,IsSomeRendererActing:{current:!1},assign:lr};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=x,t.cloneElement=function(e,t,r){if(null==e)throw Error(f(267,e));var o=lr({},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"}),sr=(p(function(e,t){}),p(function(e){e.exports=ur})),cr=function(e,t){return(cr=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 fr(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}cr(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var dr=function(){return(dr=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 pr(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 mr(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 hr="function"==typeof Symbol&&Symbol.for,yr=hr?Symbol.for("react.element"):60103,gr=hr?Symbol.for("react.portal"):60106,vr=hr?Symbol.for("react.fragment"):60107,br=hr?Symbol.for("react.strict_mode"):60108,Er=hr?Symbol.for("react.profiler"):60114,wr=hr?Symbol.for("react.provider"):60109,Sr=hr?Symbol.for("react.context"):60110,_r=hr?Symbol.for("react.async_mode"):60111,Cr=hr?Symbol.for("react.concurrent_mode"):60111,Or=hr?Symbol.for("react.forward_ref"):60112,kr=hr?Symbol.for("react.suspense"):60113,Tr=hr?Symbol.for("react.suspense_list"):60120,Pr=hr?Symbol.for("react.memo"):60115,xr=hr?Symbol.for("react.lazy"):60116,Ar=hr?Symbol.for("react.block"):60121,Nr=hr?Symbol.for("react.fundamental"):60117,Lr=hr?Symbol.for("react.responder"):60118,Rr=hr?Symbol.for("react.scope"):60119;function Mr(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case yr:switch(e=e.type){case _r:case Cr:case vr:case Er:case br:case kr:return e;default:switch(e=e&&e.$$typeof){case Sr:case Or:case xr:case Pr:case wr:return e;default:return t}}case gr:return t}}}function Ir(e){return Mr(e)===Cr}var Dr,Fr,Hr,Br={AsyncMode:_r,ConcurrentMode:Cr,ContextConsumer:Sr,ContextProvider:wr,Element:yr,ForwardRef:Or,Fragment:vr,Lazy:xr,Memo:Pr,Portal:gr,Profiler:Er,StrictMode:br,Suspense:kr,isAsyncMode:function(e){return Ir(e)||Mr(e)===_r},isConcurrentMode:Ir,isContextConsumer:function(e){return Mr(e)===Sr},isContextProvider:function(e){return Mr(e)===wr},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===yr},isForwardRef:function(e){return Mr(e)===Or},isFragment:function(e){return Mr(e)===vr},isLazy:function(e){return Mr(e)===xr},isMemo:function(e){return Mr(e)===Pr},isPortal:function(e){return Mr(e)===gr},isProfiler:function(e){return Mr(e)===Er},isStrictMode:function(e){return Mr(e)===br},isSuspense:function(e){return Mr(e)===kr},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===vr||e===Cr||e===Er||e===br||e===kr||e===Tr||"object"==typeof e&&null!==e&&(e.$$typeof===xr||e.$$typeof===Pr||e.$$typeof===wr||e.$$typeof===Sr||e.$$typeof===Or||e.$$typeof===Nr||e.$$typeof===Lr||e.$$typeof===Rr||e.$$typeof===Ar)},typeOf:Mr};function jr(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}function Ur(e){return e.type===Fr.literal}function zr(e){return e.type===Fr.argument}function Gr(e){return e.type===Fr.number}function Vr(e){return e.type===Fr.date}function Wr(e){return e.type===Fr.time}function $r(e){return e.type===Fr.select}function qr(e){return e.type===Fr.plural}function Qr(e){return e.type===Fr.pound}function Kr(e){return e.type===Fr.tag}function Yr(e){return!(!e||"object"!=typeof e||e.type!==Hr.number)}function Xr(e){return!(!e||"object"!=typeof e||e.type!==Hr.dateTime)}p(function(e,t){}),p(function(e){e.exports=Br}),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"}(Dr||(Dr={})),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"}(Fr||(Fr={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(Hr||(Hr={}));var Zr=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Jr=/(?:[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 eo(e){var t={};return e.replace(Jr,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 to=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,no=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ro=/^(@+)?(\+|#+)?[rs]?$/g,oo=/(\*)(0+)|(#+)(0+)|(0+)/g,ao=/^(0+)$/;function io(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(ro,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 lo(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 uo(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)),!ao.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function so(e){return lo(e)||{}}function co(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=dr(dr(dr({},t),{notation:"scientific"}),o.options.reduce(function(e,t){return dr(dr({},e),so(t))},{}));continue;case"engineering":t=dr(dr(dr({},t),{notation:"engineering"}),o.options.reduce(function(e,t){return dr(dr({},e),so(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(oo,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(ao.test(o.stem))t.minimumIntegerDigits=o.stem.length;else if(no.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(no,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=dr(dr({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=dr(dr({},t),io(a)))}else if(ro.test(o.stem))t=dr(dr({},t),io(o.stem));else{var i=lo(o.stem);i&&(t=dr(dr({},t),i));var l=uo(o.stem);l&&(t=dr(dr({},t),l))}}return t}var fo,po={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function mo(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(po[n||""]||po[r||""]||po["".concat(r,"-001")]||po["001"])[0]}var ho=new RegExp("^".concat(Zr.source,"*")),yo=new RegExp("".concat(Zr.source,"*$"));function go(e,t){return{start:e,end:t}}var vo=!!String.prototype.startsWith,bo=!!String.fromCodePoint,Eo=!!Object.fromEntries,wo=!!String.prototype.codePointAt,So=!!String.prototype.trimStart,_o=!!String.prototype.trimEnd,Co=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Oo=!0;try{Oo="a"===(null===(fo=Ro("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===fo?void 0:fo[0])}catch(e){Oo=!1}var ko,To=vo?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Po=bo?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},xo=Eo?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},Ao=wo?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}},No=So?function(e){return e.trimStart()}:function(e){return e.replace(ho,"")},Lo=_o?function(e){return e.trimEnd()}:function(e){return e.replace(yo,"")};function Ro(e,t){return new RegExp(e,t)}if(Oo){var Mo=Ro("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");ko=function(e,t){var n;return Mo.lastIndex=t,null!==(n=Mo.exec(e)[1])&&void 0!==n?n:""}}else ko=function(e,t){for(var n=[];;){var r=Ao(e,t);if(void 0===r||Ho(r)||Bo(r))break;n.push(r),t+=r>=65536?2:1}return Po.apply(void 0,n)};var Io=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.locale=t.locale,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(Dr.UNMATCHED_CLOSING_TAG,go(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Do(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:Fr.pound,location:go(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:Fr.literal,value:"<".concat(r,"/>"),location:go(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()||!Do(this.char()))return this.error(Dr.INVALID_TAG,go(i,this.clonePosition()));var l=this.clonePosition();return r!==this.parseTagName()?this.error(Dr.UNMATCHED_CLOSING_TAG,go(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Fr.tag,value:r,children:a,location:go(n,this.clonePosition())},err:null}:this.error(Dr.INVALID_TAG,go(i,this.clonePosition())))}return this.error(Dr.UNCLOSED_TAG,go(n,this.clonePosition()))}return this.error(Dr.INVALID_TAG,go(n,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&Fo(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=go(n,this.clonePosition());return{val:{type:Fr.literal,value:r,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Do(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 Po.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(),Po(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Dr.EXPECT_ARGUMENT_CLOSING_BRACE,go(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Dr.EMPTY_ARGUMENT,go(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(Dr.MALFORMED_ARGUMENT,go(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Dr.EXPECT_ARGUMENT_CLOSING_BRACE,go(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Fr.argument,value:r,location:go(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Dr.EXPECT_ARGUMENT_CLOSING_BRACE,go(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(Dr.MALFORMED_ARGUMENT,go(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=ko(this.message,t);return this.bumpTo(t+n.length),{value:n,location:go(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(Dr.EXPECT_ARGUMENT_TYPE,go(a,l));case"number":case"date":case"time":this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var s=this.clonePosition();if((g=this.parseSimpleArgStyleIfPossible()).err)return g;if(0===(p=Lo(g.val)).length)return this.error(Dr.EXPECT_ARGUMENT_STYLE,go(this.clonePosition(),this.clonePosition()));u={style:p,styleLocation:go(s,this.clonePosition())}}if((v=this.tryParseArgumentClose(r)).err)return v;var c=go(r,this.clonePosition());if(u&&To(null==u?void 0:u.style,"::",0)){var f=No(u.style.slice(2));if("number"===i)return(g=this.parseNumberSkeletonFromString(f,u.styleLocation)).err?g:{val:{type:Fr.number,value:n,location:c,style:g.val},err:null};if(0===f.length)return this.error(Dr.EXPECT_DATE_TIME_SKELETON,c);var d=f;this.locale&&(d=function(e,t){for(var n="",r=0;r<e.length;r++){var o=e.charAt(r);if("j"===o){for(var a=0;r+1<e.length&&e.charAt(r+1)===o;)a++,r++;var i=1+(1&a),l=a<2?1:3+(a>>1),u=mo(t);for("H"!=u&&"k"!=u||(l=0);l-- >0;)n+="a";for(;i-- >0;)n=u+n}else n+="J"===o?"H":o}return n}(f,this.locale));var p={type:Hr.dateTime,pattern:d,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?eo(d):{}};return{val:{type:"date"===i?Fr.date:Fr.time,value:n,location:c,style:p},err:null}}return{val:{type:"number"===i?Fr.number:"date"===i?Fr.date:Fr.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 m=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Dr.EXPECT_SELECT_ARGUMENT_OPTIONS,go(m,dr({},m)));this.bumpSpace();var h=this.parseIdentifierIfPossible(),y=0;if("select"!==i&&"offset"===h.value){if(!this.bumpIf(":"))return this.error(Dr.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,go(this.clonePosition(),this.clonePosition()));var g;if(this.bumpSpace(),(g=this.tryParseDecimalInteger(Dr.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Dr.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return g;this.bumpSpace(),h=this.parseIdentifierIfPossible(),y=g.val}var v,b=this.tryParsePluralOrSelectOptions(e,i,t,h);if(b.err)return b;if((v=this.tryParseArgumentClose(r)).err)return v;var E=go(r,this.clonePosition());return"select"===i?{val:{type:Fr.select,value:n,options:xo(b.val),location:E},err:null}:{val:{type:Fr.plural,value:n,options:xo(b.val),offset:y,pluralType:"plural"===i?"cardinal":"ordinal",location:E},err:null};default:return this.error(Dr.INVALID_ARGUMENT_TYPE,go(a,l))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Dr.EXPECT_ARGUMENT_CLOSING_BRACE,go(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(Dr.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,go(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(to).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(Dr.INVALID_NUMBER_SKELETON,t)}return{val:{type:Hr.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?co(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(Dr.EXPECT_PLURAL_ARGUMENT_SELECTOR,Dr.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;s=go(c,this.clonePosition()),u=this.message.slice(c.offset,this.offset())}if(l.has(u))return this.error("select"===t?Dr.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Dr.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,s);"other"===u&&(a=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Dr.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Dr.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,go(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:go(d,this.clonePosition())}]),l.add(u),this.bumpSpace(),u=(o=this.parseIdentifierIfPossible()).value,s=o.location}return 0===i.length?this.error("select"===t?Dr.EXPECT_SELECT_ARGUMENT_SELECTOR:Dr.EXPECT_PLURAL_ARGUMENT_SELECTOR,go(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(Dr.MISSING_OTHER_CLAUSE,go(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=go(r,this.clonePosition());return o?Co(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=Ao(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(To(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()&&Ho(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 Do(e){return e>=97&&e<=122||e>=65&&e<=90}function Fo(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 Ho(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function Bo(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 jo(e,t){void 0===t&&(t={}),t=dr({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new Io(e,t).parse();if(n.err){var r=SyntaxError(Dr[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,$r(t)||qr(t))for(var n in t.options)delete t.options[n].location,e(t.options[n].value);else Gr(t)&&Yr(t.style)||(Vr(t)||Wr(t))&&Xr(t.style)?delete t.style.location:Kr(t)&&e(t.children)})}(n.val),n.val}function Uo(e,t){return(t&&t.strategy?t.strategy:Wo)(e,{cache:t&&t.cache?t.cache:Ko,serializer:t&&t.serializer?t.serializer:$o})}function zo(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 Go(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 Vo(e,t,n,r,o){return n.bind(t,e,r,o)}function Wo(e,t){return Vo(e,this,1===e.length?zo:Go,t.cache.create(),t.serializer)}var $o=function(){return JSON.stringify(arguments)};function qo(){this.cache=Object.create(null)}qo.prototype.get=function(e){return this.cache[e]},qo.prototype.set=function(e,t){this.cache[e]=t};var Qo,Ko={create:function(){return new qo}},Yo={variadic:function(e,t){return Vo(e,this,Go,t.cache.create(),t.serializer)},monadic:function(e,t){return Vo(e,this,zo,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(Qo||(Qo={}));var Xo,Zo=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.code=n,o.originalMessage=r,o}return fr(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Jo=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('", "'),'"'),Qo.INVALID_VALUE,o)||this}return fr(t,e),t}(Zo),ea=function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),Qo.INVALID_VALUE,r)||this}return fr(t,e),t}(Zo),ta=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,'"'),Qo.MISSING_VALUE,n)||this}return fr(t,e),t}(Zo);function na(e){return"function"==typeof e}function ra(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"}(Xo||(Xo={}));var oa,aa=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===Xo.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:Xo.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:Xo.literal,value:f.value});else if(Qr(f))"number"==typeof i&&u.push({type:Xo.literal,value:r.getNumberFormat(n).format(i)});else{var d=f.value;if(!a||!(d in a))throw new ta(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?Xo.literal:Xo.object,value:p});else if(Vr(f)){var m="string"==typeof f.style?o.date[f.style]:Xr(f.style)?f.style.parsedOptions:void 0;u.push({type:Xo.literal,value:r.getDateTimeFormat(n,m).format(p)})}else if(Wr(f))m="string"==typeof f.style?o.time[f.style]:Xr(f.style)?f.style.parsedOptions:o.time.medium,u.push({type:Xo.literal,value:r.getDateTimeFormat(n,m).format(p)});else if(Gr(f))(m="string"==typeof f.style?o.number[f.style]:Yr(f.style)?f.style.parsedOptions:void 0)&&m.scale&&(p*=m.scale||1),u.push({type:Xo.literal,value:r.getNumberFormat(n,m).format(p)});else{if(Kr(f)){var h=f.children,y=f.value,g=a[y];if(!na(g))throw new ea(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?Xo.literal:Xo.object,value:e}}))}if($r(f)){if(!(b=f.options[p]||f.options.other))throw new Jo(f.value,p,Object.keys(f.options),l);u.push.apply(u,e(b.value,n,r,o,a))}else if(qr(f)){var b;if(!(b=f.options["=".concat(p)])){if(!Intl.PluralRules)throw new Zo('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Qo.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 Jo(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===Xo.literal&&t.type===Xo.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:u.resolvedLocale.toString()}},this.getAst=function(){return u.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),"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,locale:this.resolvedLocale})}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])?dr(dr(dr({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=dr(dr({},n[t]),r[t]||{}),e},{})):n),e},dr({},i)):i),this.formatters=o&&o.formatters||(void 0===(a=this.formatterCache)&&(a={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Uo(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,mr([void 0],t,!1)))},{cache:ra(a.number),strategy:Yo.variadic}),getDateTimeFormat:Uo(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,mr([void 0],t,!1)))},{cache:ra(a.dateTime),strategy:Yo.variadic}),getPluralRules:Uo(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,mr([void 0],t,!1)))},{cache:ra(a.pluralRules),strategy:Yo.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.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},e.__parse=jo,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"}(oa||(oa={}));var ia=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 fr(t,e),t}(Error),la=function(e){function t(t,n){return e.call(this,oa.UNSUPPORTED_FORMATTER,t,n)||this}return fr(t,e),t}(ia),ua=function(e){function t(t,n){return e.call(this,oa.INVALID_CONFIG,t,n)||this}return fr(t,e),t}(ia),sa=function(e){function t(t,n){return e.call(this,oa.MISSING_DATA,t,n)||this}return fr(t,e),t}(ia),ca=function(e){function t(t,n,r){return e.call(this,oa.FORMAT_ERROR,"".concat(t," \nLocale: ").concat(n,"\n"),r)||this}return fr(t,e),t}(ia),fa=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 fr(t,e),t}(ca),da=function(e){function t(t,n){var r=e.call(this,oa.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 fr(t,e),t}(ia);function pa(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 ma={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){},onWarn:function(e){}};function ha(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function ya(e,t,n,r){var o,a=e&&e[t];if(a&&(o=a[n]),o)return o;r(new la("No ".concat(t," format named: ").concat(n)))}function ga(e,t){return Object.keys(e).reduce(function(n,r){return n[r]=dr({timeZone:t},e[r]),n},{})}function va(e,t){return Object.keys(dr(dr({},e),t)).reduce(function(n,r){return n[r]=dr(dr({},e[r]||{}),t[r]||{}),n},{})}function ba(e,t){if(!t)return e;var n=aa.formats;return dr(dr(dr({},n),e),{date:va(ga(n.date,t),ga(e.date||{},t)),time:va(ga(n.time,t),ga(e.time||{},t))})}function Ea(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===Fr.literal)return g[0].value;if(!r&&g&&"string"==typeof g&&!p)return g.replace(/'\{(.*?)\}'/gi,"{$1}");if(r=dr(dr({},p),r||{}),i=ba(i,d),s=ba(s,d),!g){if(!1===c&&""===g)return g;if((!h||a&&a.toLowerCase()!==u.toLowerCase())&&f(new da(n,a)),h)try{return t.getMessageFormat(h,u,s,o).format(r)}catch(e){return f(new fa('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,dr({formatters:t},o||{})).format(r)}catch(e){f(new fa('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 fa('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 wa=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem"];function Sa(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=dr(dr({},l&&{timeZone:l}),u&&ya(a,t,u,i)),c=pa(r,wa,s);return"time"!==t||c.hour||c.minute||c.second||c.timeStyle||c.dateStyle||(c=dr(dr({},c),{hour:"numeric",minute:"numeric"})),n(o,c)}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 Sa(e,"date",t,i).format(l)}catch(t){e.onError(new ia(oa.FORMAT_ERROR,"Error formatting date.",t))}return String(l)}function Ca(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 Sa(e,"time",t,i).format(l)}catch(t){e.onError(new ia(oa.FORMAT_ERROR,"Error formatting time.",t))}return String(l)}function Oa(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=pa(l,wa,u?{timeZone:u}:{});try{return t(s,f).formatRange(o,a)}catch(e){c(new ia(oa.FORMAT_ERROR,"Error formatting date time range.",e))}return String(o)}function ka(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 Sa(e,"date",t,i).formatToParts(l)}catch(t){e.onError(new ia(oa.FORMAT_ERROR,"Error formatting date.",t))}return[]}function Ta(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 Sa(e,"time",t,i).formatToParts(l)}catch(t){e.onError(new ia(oa.FORMAT_ERROR,"Error formatting time.",t))}return[]}var Pa=["localeMatcher","style","type","fallback"];function xa(e,t,n,r){var o=e.locale,a=e.onError;Intl.DisplayNames||a(new Zo('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',Qo.MISSING_INTL_API));var i=pa(r,Pa);try{return t(o,i).of(n)}catch(e){a(new ia(oa.FORMAT_ERROR,"Error formatting display name.",e))}}var Aa=["localeMatcher","type","style"],Na=Date.now();function La(e,t,n,r){void 0===r&&(r={});var o=Ra(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 Ra(e,t,n,r){var o=e.locale,a=e.onError;void 0===r&&(r={}),Intl.ListFormat||a(new Zo('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',Qo.MISSING_INTL_API));var i=pa(r,Aa);try{var l={},u=n.map(function(e,t){if("object"==typeof e){var n=function(e){return"".concat(Na,"_").concat(e,"_").concat(Na)}(t);return l[n]=e,n}return String(e)});return t(o,i).formatToParts(u).map(function(e){return"literal"===e.type?e:dr(dr({},e),{value:l[e.value]||e.value})})}catch(e){a(new ia(oa.FORMAT_ERROR,"Error formatting list.",e))}return n}var Ma=["localeMatcher","type"];function Ia(e,t,n,r){var o=e.locale,a=e.onError;void 0===r&&(r={}),Intl.PluralRules||a(new Zo('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Qo.MISSING_INTL_API));var i=pa(r,Ma);try{return t(o,i).select(n)}catch(e){a(new ca("Error formatting plural.",o,e))}return"other"}var Da=["numeric","style"];function Fa(e,t,n,r,o){void 0===o&&(o={}),r||(r="second"),Intl.RelativeTimeFormat||e.onError(new Zo('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',Qo.MISSING_INTL_API));try{return function(e,t,n){var r=e.locale;void 0===n&&(n={});var o=n.format,a=!!o&&ya(e.formats,"relative",o,e.onError)||{};return t(r,pa(n,Da,a))}(e,t,o).format(n,r)}catch(t){e.onError(new ca("Error formatting relative time.",e.locale,t))}return String(n)}var Ha=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function Ba(e,t,n){var r=e.locale;void 0===n&&(n={});var o=n.format,a=o&&ya(e.formats,"number",o,e.onError)||{};return t(r,pa(n,Ha,a))}function ja(e,t,n,r){void 0===r&&(r={});try{return Ba(e,t,r).format(n)}catch(t){e.onError(new ia(oa.FORMAT_ERROR,"Error formatting number.",t))}return String(n)}function Ua(e,t,n,r){void 0===r&&(r={});try{return Ba(e,t,r).formatToParts(n)}catch(t){e.onError(new ia(oa.FORMAT_ERROR,"Error formatting number.",t))}return[]}function za(e){jr(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var Ga=dr(dr({},ma),{textComponent:sr.Fragment});function Va(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 Wa,$a,qa=sr.createContext(null),Qa=qa.Provider,Ka=qa;function Ya(){var e=sr.useContext(Ka);return za(e),e}function Xa(e){var t=function(t){var n=Ya(),r=t.value,o=t.children,a=pr(t,["value","children"]),i=n[e](r,a);return"function"==typeof o?o(i):sr.createElement(n.textComponent||sr.Fragment,null,i)};return t.displayName=Wa[e],t}function Za(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 Ja(e){return e?Object.keys(e).reduce(function(t,n){var r,o=e[n];return t[n]=na(o)?(r=o,function(e){return r(sr.Children.toArray(e))}):o,t},{}):e}!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(Wa||(Wa={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}($a||($a={}));var ei=function(e,t,n,r){for(var o=[],a=4;a<arguments.length;a++)o[a-4]=arguments[a];var i=Ja(r),l=Ea.apply(void 0,mr([e,t,n,i],o,!1));return Array.isArray(l)?sr.Children.toArray(l):l},ti=function(e,t){var n=e.defaultRichTextElements,r=pr(e,["defaultRichTextElements"]),o=Ja(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=Uo(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,mr([void 0],t,!1)))},{cache:ha(e.dateTime),strategy:Yo.variadic}),a=Uo(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,mr([void 0],t,!1)))},{cache:ha(e.number),strategy:Yo.variadic}),i=Uo(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,mr([void 0],t,!1)))},{cache:ha(e.pluralRules),strategy:Yo.variadic});return{getDateTimeFormat:o,getNumberFormat:a,getMessageFormat:Uo(function(e,t,n,r){return new aa(e,t,n,dr({formatters:{getNumberFormat:a,getDateTimeFormat:o,getPluralRules:i}},r||{}))},{cache:ha(e.message),strategy:Yo.variadic}),getRelativeTimeFormat:Uo(function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new(t.bind.apply(t,mr([void 0],e,!1)))},{cache:ha(e.relativeTime),strategy:Yo.variadic}),getPluralRules:i,getListFormat:Uo(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,mr([void 0],e,!1)))},{cache:ha(e.list),strategy:Yo.variadic}),getDisplayNames:Uo(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(r.bind.apply(r,mr([void 0],e,!1)))},{cache:ha(e.displayNames),strategy:Yo.variadic})}}(t),r=dr(dr({},ma),e),o=r.locale,a=r.defaultLocale,i=r.onError;return o?!Intl.NumberFormat.supportedLocalesOf(o).length&&i?i(new sa('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 sa('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 ua('"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),dr(dr({},r),{formatters:n,formatNumber:ja.bind(null,r,n.getNumberFormat),formatNumberToParts:Ua.bind(null,r,n.getNumberFormat),formatRelativeTime:Fa.bind(null,r,n.getRelativeTimeFormat),formatDate:_a.bind(null,r,n.getDateTimeFormat),formatDateToParts:ka.bind(null,r,n.getDateTimeFormat),formatTime:Ca.bind(null,r,n.getDateTimeFormat),formatDateTimeRange:Oa.bind(null,r,n.getDateTimeFormat),formatTimeToParts:Ta.bind(null,r,n.getDateTimeFormat),formatPlural:Ia.bind(null,r,n.getPluralRules),formatMessage:Ea.bind(null,r,n),$t:Ea.bind(null,r,n),formatList:La.bind(null,r,n.getListFormat),formatListToParts:Ra.bind(null,r,n.getListFormat),formatDisplayName:xa.bind(null,r,n.getDisplayNames)})}(dr(dr(dr({},Ga),r),{defaultRichTextElements:o}),t);return dr(dr({},a),{formatMessage:ei.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)})},ni=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:ti(Za(t.props),t.cache),prevConfig:Za(t.props)},t}return fr(t,e),t.getDerivedStateFromProps=function(e,t){var n=t.prevConfig,r=t.cache,o=Za(e);return Va(n,o)?null:{intl:ti(o,r),prevConfig:o}},t.prototype.render=function(){return za(this.state.intl),sr.createElement(Qa,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=Ga,t}(sr.PureComponent);function ri(e){var t=Ya(),n=t.textComponent,r=e.children,o=e.tagName,a=void 0===o?void 0===n?sr.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?sr.createElement(a,null,sr.Children.toArray(i)):sr.createElement(sr.Fragment,null,i)}ri.displayName="FormattedMessage";var oi=sr.memo(ri,function(e,t){var n=e.values,r=pr(e,["values"]),o=t.values,a=pr(t,["values"]);return Va(o,n)&&Va(r,a)});oi.displayName="MemoizedFormattedMessage";var ai=Xa("formatDate"),ii=(Xa("formatTime"),Xa("formatNumber")),li=(Xa("formatList"),Xa("formatDisplayName"),{"credit-features.credit-cost-display":"{creditCost} (APR {taegPercentage})","credit-features.information":"Ein Kredit verpflichtet Sie und muss zurückgezahlt werden. Prüfen Sie Ihre Rückzahlungsfähigkeit, bevor Sie sich verpflichten.","credit-features.total-credit-cost":"Davon Kreditkosten","eligibility-modal.bullet-1":"Wählen Sie <strong>Alma</strong> bei der Bezahlung.","eligibility-modal.bullet-2":"Füllen Sie die <strong>angeforderten</strong> Informationen aus.","eligibility-modal.bullet-3":"Ihre Zahlung wird <strong>sofort</strong> bestätigt!","eligibility-modal.no-eligibility":"Ups, die Simulation hat anscheinend nicht funktioniert.","eligibility-modal.title-deferred-plan":"Bezahlen Sie mit Alma in Raten oder später per Kreditkarte.","eligibility-modal.title-normal":"Bezahlen Sie mit Alma in mehreren Raten per Kreditkarte.","installments.today":"Heute","installments.total-amount":"Gesamtsumme","installments.total-fees":"Davon Kosten (inkl. MwSt.)","payment-plan-strings.day-abbreviation":"T{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)"}),ui={"credit-features.credit-cost-display":"{creditCost} (APR {taegPercentage})","credit-features.information":"A loan commits you and must be repaid. Check your ability to repay before committing yourself.","credit-features.total-credit-cost":"Of which cost of credit","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":"The validation of your payment is <strong>instantaneous</strong> !","eligibility-modal.no-eligibility":"Oops, looks like the simulation didn't work.","eligibility-modal.title-deferred-plan":"Pay in installments or later by credit card with Alma.","eligibility-modal.title-normal":"Pay in installments by credit card with Alma.","installments.today":"Today","installments.total-amount":"Total","installments.total-fees":"Of which costs (incl. VAT)","payment-plan-strings.day-abbreviation":"D{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)"},si={"credit-features.credit-cost-display":"{creditCost} (TAE {taegPercentage})","credit-features.information":"Un préstamo te compromete y debe ser devuelto. Comprueba tu capacidad financiera antes de comprometerte.","credit-features.total-credit-cost":"Coste de crédito (incl. en el total)","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":"¡La validación de tu pago es <strong>instantánea</strong> !","eligibility-modal.no-eligibility":"Uy, parece que la simulación no ha funcionado.","eligibility-modal.title-deferred-plan":"Pague a plazos o posteriormente con tarjeta de crédito con Alma.","eligibility-modal.title-normal":"Pagar a plazos con tarjeta de crédito con Alma.","installments.today":"Hoy","installments.total-amount":"Total","installments.total-fees":"De los cuales, costes (IVA incluido)","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)"},ci={"credit-features.credit-cost-display":"{creditCost} (TAEG {taegPercentage})","credit-features.information":"Un crédit vous engage et doit être remboursé. Vérifiez vos capacités de remboursement avant de vous engager.","credit-features.total-credit-cost":"Dont coût du crédit","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 est <strong>instantanée</strong> !","eligibility-modal.no-eligibility":"Oups, il semblerait que la simulation n'ait pas fonctionné.","eligibility-modal.title-deferred-plan":"Payez en plusieurs fois ou plus tard par carte bancaire avec Alma.","eligibility-modal.title-normal":"Payez en plusieurs fois par carte bancaire avec Alma.","installments.today":"Aujourd'hui","installments.total-amount":"Total","installments.total-fees":"Dont frais (TTC)","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)"},fi={"credit-features.credit-cost-display":"{creditCost} (TAEG {taegPercentage})","credit-features.information":"Un pagamento rateale ti impegna e deve essere ripagato. Verifica la tua capacità di rimborso prima di impegnarti.","credit-features.total-credit-cost":"Di cui commissioni","eligibility-modal.bullet-1":"Scegli <strong>Alma</strong> alla cassa.","eligibility-modal.bullet-2":"Compila le informazioni <strong></strong> richieste.","eligibility-modal.bullet-3":"La convalida del pagamento è <strong>istantanea</strong>!","eligibility-modal.no-eligibility":"Ops, sembra che qualcosa non abbia funzionato.","eligibility-modal.title-deferred-plan":"Pagate a rate o in seguito con carta di credito con Alma.","eligibility-modal.title-normal":"Pagamenti rateali con carta di credito con Alma.","installments.today":"Oggi","installments.total-amount":"Totale","installments.total-fees":"Di cui costi (IVA inclusa)","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)"},di={"credit-features.credit-cost-display":"{creditCost} (gemiddeld rente percentage {taegPercentage})","credit-features.information":"Een lening bindt je en moet worden terugbetaald. Ga na of u kunt terugbetalen voordat u zich vastlegt.","credit-features.total-credit-cost":"Waarvan kosten van krediet","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":"De validatie van uw betaling is <strong>onmiddellijk</strong> !","eligibility-modal.no-eligibility":"Oeps, het lijkt erop dat de simulatie niet werkte.","eligibility-modal.title-deferred-plan":"Betaal in termijnen of later per creditcard met Alma.","eligibility-modal.title-normal":"Betaal in termijnen met een creditcard bij Alma.","installments.today":"Tegenwoordig","installments.total-amount":"Totaal","installments.total-fees":"Waarvan kosten (incl. BTW)","payment-plan-strings.day-abbreviation":"D{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":"(zonder kosten)"},pi={"credit-features.credit-cost-display":"{creditCost} (TAEG {taegPercentage})","credit-features.information":"Um crédito é um compromisso e deve ser reembolsado. Verifique a sua capacidade de pagar antes de se comprometer.","credit-features.total-credit-cost":"Incluindo custo do crédito","eligibility-modal.bullet-1":"Escolha a <strong>Alma</strong> no checkout.","eligibility-modal.bullet-2":"Preencha os <strong>dados</strong> solicitados.","eligibility-modal.bullet-3":"A validação do seu pagamento é <strong>instantaneamente</strong> !","eligibility-modal.no-eligibility":"Ups, parece que a simulação não funcionou.","eligibility-modal.title-deferred-plan":"Pagar em prestações ou mais tarde por cartão de crédito com Alma.","eligibility-modal.title-normal":"Pagar em prestações por cartão de crédito com Alma.","installments.today":"Hoje","installments.total-amount":"Total","installments.total-fees":"Dos quais custos (incl. IVA)","payment-plan-strings.day-abbreviation":"D{numberOfDeferredDays}","payment-plan-strings.default-message":"Pague em prestações através da Alma","payment-plan-strings.deferred":"{totalAmount} a pagar em {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Até {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"A partir de {minAmount}","payment-plan-strings.multiple-installments":"{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} depois {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} depois {numberOfRemainingInstallments} x {othersInstallmentAmount}}}","payment-plan-strings.multiple-installments-same-amount":"{installmentsCount} x {totalAmount}","payment-plan-strings.no-fee":"(sem encargos)"},mi=function(e){switch(e.slice(0,2)){case Jn.fr:return ci;case Jn.es:return si;case Jn.it:return fi;case Jn.de:return li;case Jn.pt:return pi;case Jn.nl:return di;case Jn.en:default:return ui}},hi=function(e){var t=e.children,n=e.locale;return sr.createElement(ni,{messages:mi(n),locale:n,defaultLocale:"en"},t)},yi=p(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,x=null,A=3,N=!1,L=!1,R=!1;function M(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 I(e){if(R=!1,M(e),!L)if(null!==_(k))L=!0,n(D);else{var t=_(T);null!==t&&r(I,t.startTime-e)}}function D(e,n){L=!1,R&&(R=!1,o()),N=!0;var a=A;try{for(M(n),x=_(k);null!==x&&(!(x.expirationTime>n)||e&&!t.unstable_shouldYield());){var i=x.callback;if("function"==typeof i){x.callback=null,A=x.priorityLevel;var l=i(x.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?x.callback=l:x===_(k)&&C(k),M(n)}else C(k);x=_(k)}if(null!==x)var u=!0;else{var s=_(T);null!==s&&r(I,s.startTime-n),u=!1}return u}finally{x=null,A=a,N=!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(){L||N||(L=!0,n(D))},t.unstable_getCurrentPriorityLevel=function(){return A},t.unstable_getFirstCallbackNode=function(){return _(k)},t.unstable_next=function(e){switch(A){case 1:case 2:case 3:var t=3;break;default:t=A}var n=A;A=t;try{return e()}finally{A=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=A;A=e;try{return t()}finally{A=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)&&(R?o():R=!0,r(I,i-l))):(e.sortIndex=u,S(k,e),L||N||(L=!0,n(D))),e},t.unstable_wrapCallback=function(e){var t=A;return function(){var n=A;A=t;try{return e.apply(this,arguments)}finally{A=n}}}}),gi=(p(function(e,t){}),p(function(e){e.exports=yi}));function vi(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(!sr)throw Error(vi(227));var bi=new Set,Ei={};function wi(e,t){Si(e,t),Si(e+"Capture",t)}function Si(e,t){for(Ei[e]=t,e=0;e<t.length;e++)bi.add(t[e])}var _i=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),Ci=/^[: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]*$/,Oi=Object.prototype.hasOwnProperty,ki={},Ti={};function Pi(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 xi={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){xi[e]=new Pi(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];xi[t]=new Pi(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){xi[e]=new Pi(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){xi[e]=new Pi(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){xi[e]=new Pi(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){xi[e]=new Pi(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){xi[e]=new Pi(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){xi[e]=new Pi(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){xi[e]=new Pi(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ai=/[\-:]([a-z])/g;function Ni(e){return e[1].toUpperCase()}function Li(e,t,n,r){var o=xi.hasOwnProperty(t)?xi[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!!Oi.call(Ti,e)||!Oi.call(ki,e)&&(Ci.test(e)?Ti[e]=!0:(ki[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(Ai,Ni);xi[t]=new Pi(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(Ai,Ni);xi[t]=new Pi(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(Ai,Ni);xi[t]=new Pi(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){xi[e]=new Pi(e,1,!1,e.toLowerCase(),null,!1,!1)}),xi.xlinkHref=new Pi("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){xi[e]=new Pi(e,1,!1,e.toLowerCase(),null,!0,!0)});var Ri=sr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Mi=60103,Ii=60106,Di=60107,Fi=60108,Hi=60114,Bi=60109,ji=60110,Ui=60112,zi=60113,Gi=60120,Vi=60115,Wi=60116,$i=60121,qi=60128,Qi=60129,Ki=60130,Yi=60131;if("function"==typeof Symbol&&Symbol.for){var Xi=Symbol.for;Mi=Xi("react.element"),Ii=Xi("react.portal"),Di=Xi("react.fragment"),Fi=Xi("react.strict_mode"),Hi=Xi("react.profiler"),Bi=Xi("react.provider"),ji=Xi("react.context"),Ui=Xi("react.forward_ref"),zi=Xi("react.suspense"),Gi=Xi("react.suspense_list"),Vi=Xi("react.memo"),Wi=Xi("react.lazy"),$i=Xi("react.block"),Xi("react.scope"),qi=Xi("react.opaque.id"),Qi=Xi("react.debug_trace_mode"),Ki=Xi("react.offscreen"),Yi=Xi("react.legacy_hidden")}var Zi,Ji="function"==typeof Symbol&&Symbol.iterator;function el(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Ji&&e[Ji]||e["@@iterator"])?e:null}function tl(e){if(void 0===Zi)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Zi=t&&t[1]||""}return"\n"+Zi+e}var nl=!1;function rl(e,t){if(!e||nl)return"";nl=!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{nl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?tl(e):""}function ol(e){switch(e.tag){case 5:return tl(e.type);case 16:return tl("Lazy");case 13:return tl("Suspense");case 19:return tl("SuspenseList");case 0:case 2:case 15:return rl(e.type,!1);case 11:return rl(e.type.render,!1);case 22:return rl(e.type._render,!1);case 1:return rl(e.type,!0);default:return""}}function al(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 Di:return"Fragment";case Ii:return"Portal";case Hi:return"Profiler";case Fi:return"StrictMode";case zi:return"Suspense";case Gi:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ji:return(e.displayName||"Context")+".Consumer";case Bi:return(e._context.displayName||"Context")+".Provider";case Ui:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case Vi:return al(e.type);case $i:return al(e._render);case Wi:t=e._payload,e=e._init;try{return al(e(t))}catch(e){}}return null}function il(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function ll(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function ul(e){e._valueTracker||(e._valueTracker=function(e){var t=ll(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 sl(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ll(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function cl(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 fl(e,t){var n=t.checked;return lr({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function dl(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=il(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 pl(e,t){null!=(t=t.checked)&&Li(e,"checked",t,!1)}function ml(e,t){pl(e,t);var n=il(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")?yl(e,t.type,n):t.hasOwnProperty("defaultValue")&&yl(e,t.type,il(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function hl(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 yl(e,t,n){"number"===t&&cl(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function gl(e,t){return e=lr({children:void 0},t),(t=function(e){var t="";return sr.Children.forEach(e,function(e){null!=e&&(t+=e)}),t}(t.children))&&(e.children=t),e}function vl(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=""+il(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 bl(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(vi(91));return lr({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function El(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(vi(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(vi(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:il(n)}}function wl(e,t){var n=il(t.value),r=il(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 Sl(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var _l="http://www.w3.org/1999/xhtml";function Cl(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 Ol(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Cl(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var kl,Tl=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((kl=kl||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=kl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Pl(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 xl={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},Al=["Webkit","ms","Moz","O"];function Nl(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||xl.hasOwnProperty(e)&&xl[e]?(""+t).trim():t+"px"}function Ll(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=Nl(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(xl).forEach(function(e){Al.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),xl[t]=xl[e]})});var Rl=lr({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 Ml(e,t){if(t){if(Rl[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(vi(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(vi(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(vi(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(vi(62))}}function Il(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 Dl(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Fl=null,Hl=null,Bl=null;function jl(e){if(e=lf(e)){if("function"!=typeof Fl)throw Error(vi(280));var t=e.stateNode;t&&(t=sf(t),Fl(e.stateNode,e.type,t))}}function Ul(e){Hl?Bl?Bl.push(e):Bl=[e]:Hl=e}function zl(){if(Hl){var e=Hl,t=Bl;if(Bl=Hl=null,jl(e),t)for(e=0;e<t.length;e++)jl(t[e])}}function Gl(e,t){return e(t)}function Vl(e,t,n,r,o){return e(t,n,r,o)}function Wl(){}var $l=Gl,ql=!1,Ql=!1;function Kl(){null===Hl&&null===Bl||(Wl(),zl())}function Yl(e,t){var n=e.stateNode;if(null===n)return null;var r=sf(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(vi(231,t,typeof n));return n}var Xl=!1;if(_i)try{var Zl={};Object.defineProperty(Zl,"passive",{get:function(){Xl=!0}}),window.addEventListener("test",Zl,Zl),window.removeEventListener("test",Zl,Zl)}catch(e){Xl=!1}function Jl(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 eu=!1,tu=null,nu=!1,ru=null,ou={onError:function(e){eu=!0,tu=e}};function au(e,t,n,r,o,a,i,l,u){eu=!1,tu=null,Jl.apply(ou,arguments)}function iu(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 lu(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 uu(e){if(iu(e)!==e)throw Error(vi(188))}function su(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=iu(e)))throw Error(vi(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 uu(o),e;if(a===r)return uu(o),t;a=a.sibling}throw Error(vi(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(vi(189))}}if(n.alternate!==r)throw Error(vi(190))}if(3!==n.tag)throw Error(vi(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 cu,fu,du,pu,mu=!1,hu=[],yu=null,gu=null,vu=null,bu=new Map,Eu=new Map,wu=[],Su="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 _u(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:o,targetContainers:[r]}}function Cu(e,t){switch(e){case"focusin":case"focusout":yu=null;break;case"dragenter":case"dragleave":gu=null;break;case"mouseover":case"mouseout":vu=null;break;case"pointerover":case"pointerout":bu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Eu.delete(t.pointerId)}}function Ou(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e=_u(t,n,r,o,a),null!==t&&null!==(t=lf(t))&&fu(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function ku(e){var t=af(e.target);if(null!==t){var n=iu(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=lu(n)))return e.blockedOn=t,void pu(e.lanePriority,function(){gi.unstable_runWithPriority(e.priority,function(){du(n)})})}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Tu(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=ls(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=lf(n))&&fu(t),e.blockedOn=n,!1;t.shift()}return!0}function Pu(e,t,n){Tu(e)&&n.delete(t)}function xu(){for(mu=!1;0<hu.length;){var e=hu[0];if(null!==e.blockedOn){null!==(e=lf(e.blockedOn))&&cu(e);break}for(var t=e.targetContainers;0<t.length;){var n=ls(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&hu.shift()}null!==yu&&Tu(yu)&&(yu=null),null!==gu&&Tu(gu)&&(gu=null),null!==vu&&Tu(vu)&&(vu=null),bu.forEach(Pu),Eu.forEach(Pu)}function Au(e,t){e.blockedOn===t&&(e.blockedOn=null,mu||(mu=!0,gi.unstable_scheduleCallback(gi.unstable_NormalPriority,xu)))}function Nu(e){function t(t){return Au(t,e)}if(0<hu.length){Au(hu[0],e);for(var n=1;n<hu.length;n++){var r=hu[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==yu&&Au(yu,e),null!==gu&&Au(gu,e),null!==vu&&Au(vu,e),bu.forEach(t),Eu.forEach(t),n=0;n<wu.length;n++)(r=wu[n]).blockedOn===e&&(r.blockedOn=null);for(;0<wu.length&&null===(n=wu[0]).blockedOn;)ku(n),null===n.blockedOn&&wu.shift()}function Lu(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ru={animationend:Lu("Animation","AnimationEnd"),animationiteration:Lu("Animation","AnimationIteration"),animationstart:Lu("Animation","AnimationStart"),transitionend:Lu("Transition","TransitionEnd")},Mu={},Iu={};function Du(e){if(Mu[e])return Mu[e];if(!Ru[e])return e;var t,n=Ru[e];for(t in n)if(n.hasOwnProperty(t)&&t in Iu)return Mu[e]=n[t];return e}_i&&(Iu=document.createElement("div").style,"AnimationEvent"in window||(delete Ru.animationend.animation,delete Ru.animationiteration.animation,delete Ru.animationstart.animation),"TransitionEvent"in window||delete Ru.transitionend.transition);var Fu=Du("animationend"),Hu=Du("animationiteration"),Bu=Du("animationstart"),ju=Du("transitionend"),Uu=new Map,zu=new Map,Gu=["abort","abort",Fu,"animationEnd",Hu,"animationIteration",Bu,"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",ju,"transitionEnd","waiting","waiting"];function Vu(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)),zu.set(r,t),Uu.set(r,o),wi(o,[r])}}(0,gi.unstable_now)();var Wu=8;function $u(e){if(0!=(1&e))return Wu=15,1;if(0!=(2&e))return Wu=14,2;if(0!=(4&e))return Wu=13,4;var t=24&e;return 0!==t?(Wu=12,t):0!=(32&e)?(Wu=11,32):0!=(t=192&e)?(Wu=10,t):0!=(256&e)?(Wu=9,256):0!=(t=3584&e)?(Wu=8,t):0!=(4096&e)?(Wu=7,4096):0!=(t=4186112&e)?(Wu=6,t):0!=(t=62914560&e)?(Wu=5,t):67108864&e?(Wu=4,67108864):0!=(134217728&e)?(Wu=3,134217728):0!=(t=805306368&e)?(Wu=2,t):0!=(1073741824&e)?(Wu=1,1073741824):(Wu=8,e)}function qu(e,t){var n=e.pendingLanes;if(0===n)return Wu=0;var r=0,o=0,a=e.expiredLanes,i=e.suspendedLanes,l=e.pingedLanes;if(0!==a)r=a,o=Wu=15;else if(0!=(a=134217727&n)){var u=a&~i;0!==u?(r=$u(u),o=Wu):0!=(l&=a)&&(r=$u(l),o=Wu)}else 0!=(a=n&~i)?(r=$u(a),o=Wu):0!==l&&(r=$u(l),o=Wu);if(0===r)return 0;if(r=n&((0>(r=31-Zu(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&i)){if($u(t),o<=Wu)return t;Wu=o}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)r|=e[n=31-Zu(t)],t&=~(o=1<<n);return r}function Qu(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Ku(e){return e&-e}function Yu(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Xu(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Zu(t)]=n}var Zu=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Ju(e)/es|0)|0},Ju=Math.log,es=Math.LN2,ts=gi.unstable_UserBlockingPriority,ns=gi.unstable_runWithPriority,rs=!0;function os(e,t,n,r){ql||Wl();var o=is,a=ql;ql=!0;try{Vl(o,e,t,n,r)}finally{(ql=a)||Kl()}}function as(e,t,n,r){ns(ts,is.bind(null,e,t,n,r))}function is(e,t,n,r){var o;if(rs)if((o=0==(4&t))&&0<hu.length&&-1<Su.indexOf(e))e=_u(null,e,t,n,r),hu.push(e);else{var a=ls(e,t,n,r);if(null===a)o&&Cu(e,r);else{if(o){if(-1<Su.indexOf(e))return e=_u(a,e,t,n,r),void hu.push(e);if(function(e,t,n,r,o){switch(t){case"focusin":return yu=Ou(yu,e,t,n,r,o),!0;case"dragenter":return gu=Ou(gu,e,t,n,r,o),!0;case"mouseover":return vu=Ou(vu,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return bu.set(a,Ou(bu.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return Eu.set(a=o.pointerId,Ou(Eu.get(a)||null,e,t,n,r,o)),!0}return!1}(a,e,t,n,r))return;Cu(e,r)}Hc(e,t,r,null,n)}}}function ls(e,t,n,r){var o=Dl(r);if(null!==(o=af(o))){var a=iu(o);if(null===a)o=null;else{var i=a.tag;if(13===i){if(null!==(o=lu(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 Hc(e,t,r,o,n),null}var us=null,ss=null,cs=null;function fs(){if(cs)return cs;var e,t,n=ss,r=n.length,o="value"in us?us.value:us.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 cs=o.slice(e,1<t?1-t:void 0)}function ds(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 ps(){return!0}function ms(){return!1}function hs(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)?ps:ms,this.isPropagationStopped=ms,this}return lr(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=ps)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=ps)},persist:function(){},isPersistent:ps}),t}var ys,gs,vs,bs={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Es=hs(bs),ws=lr({},bs,{view:0,detail:0}),Ss=hs(ws),_s=lr({},ws,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ms,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!==vs&&(vs&&"mousemove"===e.type?(ys=e.screenX-vs.screenX,gs=e.screenY-vs.screenY):gs=ys=0,vs=e),ys)},movementY:function(e){return"movementY"in e?e.movementY:gs}}),Cs=hs(_s),Os=hs(lr({},_s,{dataTransfer:0})),ks=hs(lr({},ws,{relatedTarget:0})),Ts=hs(lr({},bs,{animationName:0,elapsedTime:0,pseudoElement:0})),Ps=hs(lr({},bs,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),xs=hs(lr({},bs,{data:0})),As={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ns={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"},Ls={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Rs(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Ls[e])&&!!t[e]}function Ms(){return Rs}var Is=hs(lr({},ws,{key:function(e){if(e.key){var t=As[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=ds(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Ns[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ms,charCode:function(e){return"keypress"===e.type?ds(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?ds(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),Ds=hs(lr({},_s,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Fs=hs(lr({},ws,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ms})),Hs=hs(lr({},bs,{propertyName:0,elapsedTime:0,pseudoElement:0})),Bs=hs(lr({},_s,{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})),js=[9,13,27,32],Us=_i&&"CompositionEvent"in window,zs=null;_i&&"documentMode"in document&&(zs=document.documentMode);var Gs=_i&&"TextEvent"in window&&!zs,Vs=_i&&(!Us||zs&&8<zs&&11>=zs),Ws=String.fromCharCode(32),$s=!1;function qs(e,t){switch(e){case"keyup":return-1!==js.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Qs(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Ks=!1,Ys={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 Xs(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Ys[e.type]:"textarea"===t}function Zs(e,t,n,r){Ul(r),0<(t=jc(t,"onChange")).length&&(n=new Es("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Js=null,ec=null;function tc(e){Lc(e,0)}function nc(e){if(sl(uf(e)))return e}function rc(e,t){if("change"===e)return t}var oc=!1;if(_i){var ac;if(_i){var ic="oninput"in document;if(!ic){var lc=document.createElement("div");lc.setAttribute("oninput","return;"),ic="function"==typeof lc.oninput}ac=ic}else ac=!1;oc=ac&&(!document.documentMode||9<document.documentMode)}function uc(){Js&&(Js.detachEvent("onpropertychange",sc),ec=Js=null)}function sc(e){if("value"===e.propertyName&&nc(ec)){var t=[];if(Zs(t,ec,e,Dl(e)),e=tc,ql)e(t);else{ql=!0;try{Gl(e,t)}finally{ql=!1,Kl()}}}}function cc(e,t,n){"focusin"===e?(uc(),ec=n,(Js=t).attachEvent("onpropertychange",sc)):"focusout"===e&&uc()}function fc(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return nc(ec)}function dc(e,t){if("click"===e)return nc(t)}function pc(e,t){if("input"===e||"change"===e)return nc(t)}var mc="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},hc=Object.prototype.hasOwnProperty;function yc(e,t){if(mc(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(!hc.call(t,n[r])||!mc(e[n[r]],t[n[r]]))return!1;return!0}function gc(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function vc(e,t){var n,r=gc(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=gc(r)}}function bc(){for(var e=window,t=cl();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=cl((e=t.contentWindow).document)}return t}function Ec(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 wc=_i&&"documentMode"in document&&11>=document.documentMode,Sc=null,_c=null,Cc=null,Oc=!1;function kc(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Oc||null==Sc||Sc!==cl(r)||(r="selectionStart"in(r=Sc)&&Ec(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},Cc&&yc(Cc,r)||(Cc=r,0<(r=jc(_c,"onSelect")).length&&(t=new Es("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Sc)))}Vu("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),Vu("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),Vu(Gu,2);for(var Tc="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Pc=0;Pc<Tc.length;Pc++)zu.set(Tc[Pc],0);Si("onMouseEnter",["mouseout","mouseover"]),Si("onMouseLeave",["mouseout","mouseover"]),Si("onPointerEnter",["pointerout","pointerover"]),Si("onPointerLeave",["pointerout","pointerover"]),wi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),wi("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),wi("onBeforeInput",["compositionend","keypress","textInput","paste"]),wi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),wi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),wi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var xc="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ac=new Set("cancel close invalid load scroll toggle".split(" ").concat(xc));function Nc(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,i,l,u){if(au.apply(this,arguments),eu){if(!eu)throw Error(vi(198));var s=tu;eu=!1,tu=null,nu||(nu=!0,ru=s)}}(r,t,void 0,e),e.currentTarget=null}function Lc(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;Nc(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;Nc(o,l,s),a=u}}}if(nu)throw e=ru,nu=!1,ru=null,e}function Rc(e,t){var n=cf(t),r=e+"__bubble";n.has(r)||(Fc(t,e,2,!1),n.add(r))}var Mc="_reactListening"+Math.random().toString(36).slice(2);function Ic(e){e[Mc]||(e[Mc]=!0,bi.forEach(function(t){Ac.has(t)||Dc(t,!1,e,null),Dc(t,!0,e,null)}))}function Dc(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&&Ac.has(e)){if("scroll"!==e)return;o|=2,a=r}var i=cf(a),l=e+"__"+(t?"capture":"bubble");i.has(l)||(t&&(o|=4),Fc(a,e,o,t),i.add(l))}function Fc(e,t,n,r){var o=zu.get(t);switch(void 0===o?2:o){case 0:o=os;break;case 1:o=as;break;default:o=is}n=o.bind(null,t,n,e),o=void 0,!Xl||"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 Hc(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=af(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(Ql)return e();Ql=!0;try{$l(e,void 0,void 0)}finally{Ql=!1,Kl()}}(function(){var r=a,o=Dl(n),i=[];e:{var l=Uu.get(e);if(void 0!==l){var u=Es,s=e;switch(e){case"keypress":if(0===ds(n))break e;case"keydown":case"keyup":u=Is;break;case"focusin":s="focus",u=ks;break;case"focusout":s="blur",u=ks;break;case"beforeblur":case"afterblur":u=ks;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=Cs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=Os;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=Fs;break;case Fu:case Hu:case Bu:u=Ts;break;case ju:u=Hs;break;case"scroll":u=Ss;break;case"wheel":u=Bs;break;case"copy":case"cut":case"paste":u=Ps;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=Ds}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=Yl(m,d))&&c.push(Bc(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)||!af(s)&&!s[rf])&&(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)?af(s):null)&&(s!==(f=iu(s))||5!==s.tag&&6!==s.tag)&&(s=null)):(u=null,s=r),u!==s)){if(c=Cs,h="onMouseLeave",d="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(c=Ds,h="onPointerLeave",d="onPointerEnter",m="pointer"),f=null==u?l:uf(u),p=null==s?l:uf(s),(l=new c(h,m+"leave",u,n,o)).target=f,l.relatedTarget=p,h=null,af(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=Uc(p))m++;for(p=0,h=d;h;h=Uc(h))p++;for(;0<m-p;)c=Uc(c),m--;for(;0<p-m;)d=Uc(d),p--;for(;m--;){if(c===d||null!==d&&c===d.alternate)break e;c=Uc(c),d=Uc(d)}c=null}else c=null;null!==u&&zc(i,l,u,c,!1),null!==s&&null!==f&&zc(i,f,s,c,!0)}if("select"===(u=(l=r?uf(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===u&&"file"===l.type)var y=rc;else if(Xs(l))if(oc)y=pc;else{y=fc;var g=cc}else(u=l.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(y=dc);switch(y&&(y=y(e,r))?Zs(i,y,n,o):(g&&g(e,l,r),"focusout"===e&&(g=l._wrapperState)&&g.controlled&&"number"===l.type&&yl(l,"number",l.value)),g=r?uf(r):window,e){case"focusin":(Xs(g)||"true"===g.contentEditable)&&(Sc=g,_c=r,Cc=null);break;case"focusout":Cc=_c=Sc=null;break;case"mousedown":Oc=!0;break;case"contextmenu":case"mouseup":case"dragend":Oc=!1,kc(i,n,o);break;case"selectionchange":if(wc)break;case"keydown":case"keyup":kc(i,n,o)}var v;if(Us)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 Ks?qs(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Vs&&"ko"!==n.locale&&(Ks||"onCompositionStart"!==b?"onCompositionEnd"===b&&Ks&&(v=fs()):(ss="value"in(us=o)?us.value:us.textContent,Ks=!0)),0<(g=jc(r,b)).length&&(b=new xs(b,e,null,n,o),i.push({event:b,listeners:g}),(v||null!==(v=Qs(n)))&&(b.data=v))),(v=Gs?function(e,t){switch(e){case"compositionend":return Qs(t);case"keypress":return 32!==t.which?null:($s=!0,Ws);case"textInput":return(e=t.data)===Ws&&$s?null:e;default:return null}}(e,n):function(e,t){if(Ks)return"compositionend"===e||!Us&&qs(e,t)?(e=fs(),cs=ss=us=null,Ks=!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 Vs&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))&&0<(r=jc(r,"onBeforeInput")).length&&(o=new xs("onBeforeInput","beforeinput",null,n,o),i.push({event:o,listeners:r}),o.data=v)}Lc(i,t)})}function Bc(e,t,n){return{instance:e,listener:t,currentTarget:n}}function jc(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=Yl(e,n))&&r.unshift(Bc(e,a,o)),null!=(a=Yl(e,t))&&r.push(Bc(e,a,o))),e=e.return}return r}function Uc(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function zc(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=Yl(n,a))&&i.unshift(Bc(n,u,l)):o||null!=(u=Yl(n,a))&&i.push(Bc(n,u,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}function Gc(){}var Vc=null,Wc=null;function $c(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function qc(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 Qc="function"==typeof setTimeout?setTimeout:void 0,Kc="function"==typeof clearTimeout?clearTimeout:void 0;function Yc(e){(1===e.nodeType||9===e.nodeType&&null!=(e=e.body))&&(e.textContent="")}function Xc(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Zc(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 Jc=0,ef=Math.random().toString(36).slice(2),tf="__reactFiber$"+ef,nf="__reactProps$"+ef,rf="__reactContainer$"+ef,of="__reactEvents$"+ef;function af(e){var t=e[tf];if(t)return t;for(var n=e.parentNode;n;){if(t=n[rf]||n[tf]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Zc(e);null!==e;){if(n=e[tf])return n;e=Zc(e)}return t}n=(e=n).parentNode}return null}function lf(e){return!(e=e[tf]||e[rf])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function uf(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(vi(33))}function sf(e){return e[nf]||null}function cf(e){var t=e[of];return void 0===t&&(t=e[of]=new Set),t}var ff=[],df=-1;function pf(e){return{current:e}}function mf(e){0>df||(e.current=ff[df],ff[df]=null,df--)}function hf(e,t){df++,ff[df]=e.current,e.current=t}var yf={},gf=pf(yf),vf=pf(!1),bf=yf;function Ef(e,t){var n=e.type.contextTypes;if(!n)return yf;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 wf(e){return null!=e.childContextTypes}function Sf(){mf(vf),mf(gf)}function _f(e,t,n){if(gf.current!==yf)throw Error(vi(168));hf(gf,t),hf(vf,n)}function Cf(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(vi(108,al(t)||"Unknown",o));return lr({},n,r)}function Of(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||yf,bf=gf.current,hf(gf,e),hf(vf,vf.current),!0}function kf(e,t,n){var r=e.stateNode;if(!r)throw Error(vi(169));n?(e=Cf(e,t,bf),r.__reactInternalMemoizedMergedChildContext=e,mf(vf),mf(gf),hf(gf,e)):mf(vf),hf(vf,n)}var Tf=null,Pf=null,xf=gi.unstable_runWithPriority,Af=gi.unstable_scheduleCallback,Nf=gi.unstable_cancelCallback,Lf=gi.unstable_shouldYield,Rf=gi.unstable_requestPaint,Mf=gi.unstable_now,If=gi.unstable_getCurrentPriorityLevel,Df=gi.unstable_ImmediatePriority,Ff=gi.unstable_UserBlockingPriority,Hf=gi.unstable_NormalPriority,Bf=gi.unstable_LowPriority,jf=gi.unstable_IdlePriority,Uf={},zf=void 0!==Rf?Rf:function(){},Gf=null,Vf=null,Wf=!1,$f=Mf(),qf=1e4>$f?Mf:function(){return Mf()-$f};function Qf(){switch(If()){case Df:return 99;case Ff:return 98;case Hf:return 97;case Bf:return 96;case jf:return 95;default:throw Error(vi(332))}}function Kf(e){switch(e){case 99:return Df;case 98:return Ff;case 97:return Hf;case 96:return Bf;case 95:return jf;default:throw Error(vi(332))}}function Yf(e,t){return e=Kf(e),xf(e,t)}function Xf(e,t,n){return e=Kf(e),Af(e,t,n)}function Zf(){if(null!==Vf){var e=Vf;Vf=null,Nf(e)}Jf()}function Jf(){if(!Wf&&null!==Gf){Wf=!0;var e=0;try{var t=Gf;Yf(99,function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}}),Gf=null}catch(t){throw null!==Gf&&(Gf=Gf.slice(e+1)),Af(Df,Zf),t}finally{Wf=!1}}}var ed=Ri.ReactCurrentBatchConfig;function td(e,t){if(e&&e.defaultProps){for(var n in t=lr({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var nd=pf(null),rd=null,od=null,ad=null;function id(){ad=od=rd=null}function ld(e){var t=nd.current;mf(nd),e.type._context._currentValue=t}function ud(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 sd(e,t){rd=e,ad=od=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(jp=!0),e.firstContext=null)}function cd(e,t){if(ad!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(ad=e,t=1073741823),t={context:e,observedBits:t,next:null},null===od){if(null===rd)throw Error(vi(308));od=t,rd.dependencies={lanes:0,firstContext:t,responders:null}}else od=od.next=t;return e._currentValue}var fd=!1;function dd(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function pd(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 md(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function hd(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 yd(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 gd(e,t,n,r){var o=e.updateQueue;fd=!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=lr({},f,l);break e;case 2:fd=!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,Bm|=i,e.lanes=i,e.memoizedState=f}}function vd(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(vi(191,o));o.call(r)}}}var bd=(new sr.Component).refs;function Ed(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:lr({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var wd={isMounted:function(e){return!!(e=e._reactInternals)&&iu(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=uh(),o=sh(e),a=md(r,o);a.payload=t,null!=n&&(a.callback=n),hd(e,a),ch(e,o,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=uh(),o=sh(e),a=md(r,o);a.tag=1,a.payload=t,null!=n&&(a.callback=n),hd(e,a),ch(e,o,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=uh(),r=sh(e),o=md(n,r);o.tag=2,null!=t&&(o.callback=t),hd(e,o),ch(e,r,n)}};function Sd(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!(t.prototype&&t.prototype.isPureReactComponent&&yc(n,r)&&yc(o,a))}function _d(e,t,n){var r=!1,o=yf,a=t.contextType;return"object"==typeof a&&null!==a?a=cd(a):(o=wf(t)?bf:gf.current,a=(r=null!=(r=t.contextTypes))?Ef(e,o):yf),t=new t(n,a),e.memoizedState=null!=t.state?t.state:null,t.updater=wd,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function Cd(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&&wd.enqueueReplaceState(t,t.state,null)}function Od(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=bd,dd(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=cd(a):(a=wf(t)?bf:gf.current,o.context=Ef(e,a)),gd(e,n,o,r),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(Ed(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&&wd.enqueueReplaceState(o,o.state,null),gd(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4)}var kd=Array.isArray;function Td(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(vi(309));var r=n.stateNode}if(!r)throw Error(vi(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===bd&&(t=r.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!=typeof e)throw Error(vi(284));if(!n._owner)throw Error(vi(290,e))}return e}function Pd(e,t){if("textarea"!==e.type)throw Error(vi(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function xd(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=zh(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=$h(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=Td(e,t,n),r.return=e,r):((r=Gh(n.type,n.key,n.props,null,e.mode,r)).ref=Td(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=qh(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=Vh(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=$h(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case Mi:return(n=Gh(t.type,t.key,t.props,null,e.mode,n)).ref=Td(e,null,t),n.return=e,n;case Ii:return(t=qh(t,e.mode,n)).return=e,t}if(kd(t)||el(t))return(t=Vh(t,e.mode,n,null)).return=e,t;Pd(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 Mi:return n.key===o?n.type===Di?c(e,t,n.props.children,r,o):u(e,t,n,r):null;case Ii:return n.key===o?s(e,t,n,r):null}if(kd(n)||el(n))return null!==o?null:c(e,t,n,r,null);Pd(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 Mi:return e=e.get(null===r.key?n:r.key)||null,r.type===Di?c(t,e,r.props.children,o,r.key):u(t,e,r,o);case Ii:return s(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(kd(r)||el(r))return c(t,e=e.get(n)||null,r,o,null);Pd(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=el(l);if("function"!=typeof s)throw Error(vi(150));if(null==(l=s.call(l)))throw Error(vi(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===Di&&null===a.key;u&&(a=a.props.children);var s="object"==typeof a&&null!==a;if(s)switch(a.$$typeof){case Mi:e:{for(s=a.key,u=r;null!==u;){if(u.key===s){switch(u.tag){case 7:if(a.type===Di){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=Td(e,u,a),r.return=e,e=r;break e}}n(e,u);break}t(e,u),u=u.sibling}a.type===Di?((r=Vh(a.props.children,e.mode,l,a.key)).return=e,e=r):((l=Gh(a.type,a.key,a.props,null,e.mode,l)).ref=Td(e,r,a),l.return=e,e=l)}return i(e);case Ii: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=qh(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=$h(a,e.mode,l)).return=e,e=r),i(e);if(kd(a))return m(e,r,a,l);if(el(a))return h(e,r,a,l);if(s&&Pd(e,a),void 0===a&&!u)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(vi(152,al(e.type)||"Component"))}return n(e,r)}}var Ad=xd(!0),Nd=xd(!1),Ld={},Rd=pf(Ld),Md=pf(Ld),Id=pf(Ld);function Dd(e){if(e===Ld)throw Error(vi(174));return e}function Fd(e,t){switch(hf(Id,t),hf(Md,e),hf(Rd,Ld),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ol(null,"");break;default:t=Ol(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}mf(Rd),hf(Rd,t)}function Hd(){mf(Rd),mf(Md),mf(Id)}function Bd(e){Dd(Id.current);var t=Dd(Rd.current),n=Ol(t,e.type);t!==n&&(hf(Md,e),hf(Rd,n))}function jd(e){Md.current===e&&(mf(Rd),mf(Md))}var Ud=pf(0);function zd(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 Gd=null,Vd=null,Wd=!1;function $d(e,t){var n=jh(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 qd(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 Qd(e){if(Wd){var t=Vd;if(t){var n=t;if(!qd(e,t)){if(!(t=Xc(n.nextSibling))||!qd(e,t))return e.flags=-1025&e.flags|2,Wd=!1,void(Gd=e);$d(Gd,n)}Gd=e,Vd=Xc(t.firstChild)}else e.flags=-1025&e.flags|2,Wd=!1,Gd=e}}function Kd(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Gd=e}function Yd(e){if(e!==Gd)return!1;if(!Wd)return Kd(e),Wd=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!qc(t,e.memoizedProps))for(t=Vd;t;)$d(e,t),t=Xc(t.nextSibling);if(Kd(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(vi(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Vd=Xc(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Vd=null}}else Vd=Gd?Xc(e.stateNode.nextSibling):null;return!0}function Xd(){Vd=Gd=null,Wd=!1}var Zd=[];function Jd(){for(var e=0;e<Zd.length;e++)Zd[e]._workInProgressVersionPrimary=null;Zd.length=0}var ep=Ri.ReactCurrentDispatcher,tp=Ri.ReactCurrentBatchConfig,np=0,rp=null,op=null,ap=null,ip=!1,lp=!1;function up(){throw Error(vi(321))}function sp(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!mc(e[n],t[n]))return!1;return!0}function cp(e,t,n,r,o,a){if(np=a,rp=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ep.current=null===e||null===e.memoizedState?Dp:Fp,e=n(r,o),lp){a=0;do{if(lp=!1,!(25>a))throw Error(vi(301));a+=1,ap=op=null,t.updateQueue=null,ep.current=Hp,e=n(r,o)}while(lp)}if(ep.current=Ip,t=null!==op&&null!==op.next,np=0,ap=op=rp=null,ip=!1,t)throw Error(vi(300));return e}function fp(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ap?rp.memoizedState=ap=e:ap=ap.next=e,ap}function dp(){if(null===op){var e=rp.alternate;e=null!==e?e.memoizedState:null}else e=op.next;var t=null===ap?rp.memoizedState:ap.next;if(null!==t)ap=t,op=e;else{if(null===e)throw Error(vi(310));e={memoizedState:(op=e).memoizedState,baseState:op.baseState,baseQueue:op.baseQueue,queue:op.queue,next:null},null===ap?rp.memoizedState=ap=e:ap=ap.next=e}return ap}function pp(e,t){return"function"==typeof t?t(e):t}function mp(e){var t=dp(),n=t.queue;if(null===n)throw Error(vi(311));n.lastRenderedReducer=e;var r=op,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((np&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,rp.lanes|=s,Bm|=s}u=u.next}while(null!==u&&u!==o);null===l?a=r:l.next=i,mc(r,t.memoizedState)||(jp=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function hp(e){var t=dp(),n=t.queue;if(null===n)throw Error(vi(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);mc(a,t.memoizedState)||(jp=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function yp(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionPrimary;if(null!==o?e=o===r:(e=(np&(e=e.mutableReadLanes))===e)&&(t._workInProgressVersionPrimary=r,Zd.push(t)),e)return n(t._source);throw Zd.push(t),Error(vi(350))}function gp(e,t,n,r){var o=Nm;if(null===o)throw Error(vi(349));var a=t._getVersion,i=a(t._source),l=ep.current,u=l.useState(function(){return yp(o,t,n)}),s=u[1],c=u[0];u=ap;var f=e.memoizedState,d=f.refs,p=d.getSnapshot,m=f.source;f=f.subscribe;var h=rp;return e.memoizedState={refs:d,source:t,subscribe:r},l.useEffect(function(){d.getSnapshot=n,d.setSnapshot=s;var e=a(t._source);if(!mc(i,e)){e=n(t._source),mc(c,e)||(s(e),e=sh(h),o.mutableReadLanes|=e&o.pendingLanes),o.entangledLanes|=e=o.mutableReadLanes;for(var r=o.entanglements,l=e;0<l;){var u=31-Zu(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=sh(h);o.mutableReadLanes|=r&o.pendingLanes}catch(e){n(function(){throw e})}})},[t,r]),mc(p,n)&&mc(m,t)&&mc(f,r)||((e={pending:null,dispatch:null,lastRenderedReducer:pp,lastRenderedState:c}).dispatch=s=Mp.bind(null,rp,e),u.queue=e,u.baseQueue=null,c=yp(o,t,n),u.memoizedState=u.baseState=c),c}function vp(e,t,n){return gp(dp(),e,t,n)}function bp(e){var t=fp();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:pp,lastRenderedState:e}).dispatch=Mp.bind(null,rp,e),[t.memoizedState,e]}function Ep(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=rp.updateQueue)?(rp.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 wp(e){return fp().memoizedState={current:e}}function Sp(){return dp().memoizedState}function _p(e,t,n,r){var o=fp();rp.flags|=e,o.memoizedState=Ep(1|t,n,void 0,void 0===r?null:r)}function Cp(e,t,n,r){var o=dp();r=void 0===r?null:r;var a=void 0;if(null!==op){var i=op.memoizedState;if(a=i.destroy,null!==r&&sp(r,i.deps))return void Ep(t,n,a,r)}rp.flags|=e,o.memoizedState=Ep(1|t,n,a,r)}function Op(e,t){return _p(516,4,e,t)}function kp(e,t){return Cp(516,4,e,t)}function Tp(e,t){return Cp(4,2,e,t)}function Pp(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 xp(e,t,n){return n=null!=n?n.concat([e]):null,Cp(4,2,Pp.bind(null,t,e),n)}function Ap(){}function Np(e,t){var n=dp();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&sp(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Lp(e,t){var n=dp();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&sp(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Rp(e,t){var n=Qf();Yf(98>n?98:n,function(){e(!0)}),Yf(97<n?97:n,function(){var n=tp.transition;tp.transition=1;try{e(!1),t()}finally{tp.transition=n}})}function Mp(e,t,n){var r=uh(),o=sh(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===rp||null!==i&&i===rp)lp=ip=!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,mc(u,l))return}catch(e){}ch(e,o,r)}}var Ip={readContext:cd,useCallback:up,useContext:up,useEffect:up,useImperativeHandle:up,useLayoutEffect:up,useMemo:up,useReducer:up,useRef:up,useState:up,useDebugValue:up,useDeferredValue:up,useTransition:up,useMutableSource:up,useOpaqueIdentifier:up,unstable_isNewReconciler:!1},Dp={readContext:cd,useCallback:function(e,t){return fp().memoizedState=[e,void 0===t?null:t],e},useContext:cd,useEffect:Op,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,_p(4,2,Pp.bind(null,t,e),n)},useLayoutEffect:function(e,t){return _p(4,2,e,t)},useMemo:function(e,t){var n=fp();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=fp();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=Mp.bind(null,rp,e),[r.memoizedState,e]},useRef:wp,useState:bp,useDebugValue:Ap,useDeferredValue:function(e){var t=bp(e),n=t[0],r=t[1];return Op(function(){var t=tp.transition;tp.transition=1;try{r(e)}finally{tp.transition=t}},[e]),n},useTransition:function(){var e=bp(!1),t=e[0];return wp(e=Rp.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=fp();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},gp(r,e,t,n)},useOpaqueIdentifier:function(){if(Wd){var e=!1,t=function(e){return{$$typeof:qi,toString:e,valueOf:e}}(function(){throw e||(e=!0,n("r:"+(Jc++).toString(36))),Error(vi(355))}),n=bp(t)[1];return 0==(2&rp.mode)&&(rp.flags|=516,Ep(5,function(){n("r:"+(Jc++).toString(36))},void 0,null)),t}return bp(t="r:"+(Jc++).toString(36)),t},unstable_isNewReconciler:!1},Fp={readContext:cd,useCallback:Np,useContext:cd,useEffect:kp,useImperativeHandle:xp,useLayoutEffect:Tp,useMemo:Lp,useReducer:mp,useRef:Sp,useState:function(){return mp(pp)},useDebugValue:Ap,useDeferredValue:function(e){var t=mp(pp),n=t[0],r=t[1];return kp(function(){var t=tp.transition;tp.transition=1;try{r(e)}finally{tp.transition=t}},[e]),n},useTransition:function(){var e=mp(pp)[0];return[Sp().current,e]},useMutableSource:vp,useOpaqueIdentifier:function(){return mp(pp)[0]},unstable_isNewReconciler:!1},Hp={readContext:cd,useCallback:Np,useContext:cd,useEffect:kp,useImperativeHandle:xp,useLayoutEffect:Tp,useMemo:Lp,useReducer:hp,useRef:Sp,useState:function(){return hp(pp)},useDebugValue:Ap,useDeferredValue:function(e){var t=hp(pp),n=t[0],r=t[1];return kp(function(){var t=tp.transition;tp.transition=1;try{r(e)}finally{tp.transition=t}},[e]),n},useTransition:function(){var e=hp(pp)[0];return[Sp().current,e]},useMutableSource:vp,useOpaqueIdentifier:function(){return hp(pp)[0]},unstable_isNewReconciler:!1},Bp=Ri.ReactCurrentOwner,jp=!1;function Up(e,t,n,r){t.child=null===e?Nd(t,null,n,r):Ad(t,e.child,n,r)}function zp(e,t,n,r,o){n=n.render;var a=t.ref;return sd(t,o),r=cp(e,t,n,r,a,o),null===e||jp?(t.flags|=1,Up(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,im(e,t,o))}function Gp(e,t,n,r,o,a){if(null===e){var i=n.type;return"function"!=typeof i||Uh(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Gh(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Vp(e,t,i,r,o,a))}return i=e.child,0==(o&a)&&(n=null!==(n=n.compare)?n:yc)(o=i.memoizedProps,r)&&e.ref===t.ref?im(e,t,a):(t.flags|=1,(e=zh(i,r)).ref=t.ref,e.return=t,t.child=e)}function Vp(e,t,n,r,o,a){if(null!==e&&yc(e.memoizedProps,r)&&e.ref===t.ref){if(jp=!1,0==(a&o))return t.lanes=e.lanes,im(e,t,a);0!=(16384&e.flags)&&(jp=!0)}return qp(e,t,n,r,a)}function Wp(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},vh(0,n);else{if(0==(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},vh(0,e),null;t.memoizedState={baseLanes:0},vh(0,null!==a?a.baseLanes:n)}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,vh(0,r);return Up(e,t,o,n),t.child}function $p(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function qp(e,t,n,r,o){var a=wf(n)?bf:gf.current;return a=Ef(t,a),sd(t,o),n=cp(e,t,n,r,a,o),null===e||jp?(t.flags|=1,Up(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,im(e,t,o))}function Qp(e,t,n,r,o){if(wf(n)){var a=!0;Of(t)}else a=!1;if(sd(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),_d(t,n,r),Od(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?cd(s):Ef(t,s=wf(n)?bf:gf.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)&&Cd(t,i,r,s),fd=!1;var d=t.memoizedState;i.state=d,gd(t,r,i,o),u=t.memoizedState,l!==r||d!==u||vf.current||fd?("function"==typeof c&&(Ed(t,n,c,r),u=t.memoizedState),(l=fd||Sd(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,pd(e,t),l=t.memoizedProps,s=t.type===t.elementType?l:td(t.type,l),i.props=s,f=t.pendingProps,d=i.context,u="object"==typeof(u=n.contextType)&&null!==u?cd(u):Ef(t,u=wf(n)?bf:gf.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)&&Cd(t,i,r,u),fd=!1,i.state=d=t.memoizedState,gd(t,r,i,o);var m=t.memoizedState;l!==f||d!==m||vf.current||fd?("function"==typeof p&&(Ed(t,n,p,r),m=t.memoizedState),(s=fd||Sd(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 Kp(e,t,n,r,a,o)}function Kp(e,t,n,r,o,a){$p(e,t);var i=0!=(64&t.flags);if(!r&&!i)return o&&kf(t,n,!1),im(e,t,a);r=t.stateNode,Bp.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Ad(t,e.child,null,a),t.child=Ad(t,null,l,a)):Up(e,t,l,a),t.memoizedState=r.state,o&&kf(t,n,!0),t.child}function Yp(e){var t=e.stateNode;t.pendingContext?_f(0,t.pendingContext,t.pendingContext!==t.context):t.context&&_f(0,t.context,!1),Fd(e,t.containerInfo)}var Xp,Zp,Jp,em={dehydrated:null,retryLane:0};function tm(e,t,n){var r,o=t.pendingProps,a=Ud.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),hf(Ud,1&a),null===e?(void 0!==o.fallback&&Qd(t),e=o.children,a=o.fallback,i?(e=nm(t,e,a,n),t.child.memoizedState={baseLanes:n},t.memoizedState=em,e):"number"==typeof o.unstable_expectedLoadTime?(e=nm(t,e,a,n),t.child.memoizedState={baseLanes:n},t.memoizedState=em,t.lanes=33554432,e):((n=Wh({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=zh(i,l),null!==e?r=zh(e,r):(r=Vh(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=em,o):(n=function(e,t,n,r){var o=e.child;return e=o.sibling,n=zh(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 nm(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=Wh(t,o,0,null),n=Vh(n,o,r,null),a.return=e,n.return=e,a.sibling=n,e.child=a,n}function rm(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),ud(e.return,t)}function om(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 am(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(Up(e,t,r.children,n),0!=(2&(r=Ud.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&&rm(e,n);else if(19===e.tag)rm(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(hf(Ud,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===zd(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),om(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===zd(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}om(t,!0,n,null,a,t.lastEffect);break;case"together":om(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function im(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Bm|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(vi(153));if(null!==t.child){for(n=zh(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)(n=n.sibling=zh(e=e.sibling,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function lm(e,t){if(!Wd)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 um(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 wf(t.type)&&Sf(),null;case 3:return Hd(),mf(vf),mf(gf),Jd(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Yd(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:jd(t);var o=Dd(Id.current);if(n=t.type,null!==e&&null!=t.stateNode)Zp(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(vi(166));return null}if(e=Dd(Rd.current),Yd(t)){n=t.type;var a=t.memoizedProps;switch((r=t.stateNode)[tf]=t,r[nf]=a,n){case"dialog":Rc("cancel",r),Rc("close",r);break;case"iframe":case"object":case"embed":Rc("load",r);break;case"video":case"audio":for(e=0;e<xc.length;e++)Rc(xc[e],r);break;case"source":Rc("error",r);break;case"img":case"image":case"link":Rc("error",r),Rc("load",r);break;case"details":Rc("toggle",r);break;case"input":dl(r,a),Rc("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Rc("invalid",r);break;case"textarea":El(r,a),Rc("invalid",r)}for(var i in Ml(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]):Ei.hasOwnProperty(i)&&null!=o&&"onScroll"===i&&Rc("scroll",r));switch(n){case"input":ul(r),hl(r,a,!0);break;case"textarea":ul(r),Sl(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=Gc)}t.updateQueue=r=e,null!==r&&(t.flags|=4)}else{switch(i=9===o.nodeType?o:o.ownerDocument,e===_l&&(e=Cl(n)),e===_l?"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[tf]=t,e[nf]=r,Xp(e,t),t.stateNode=e,i=Il(n,r),n){case"dialog":Rc("cancel",e),Rc("close",e),o=r;break;case"iframe":case"object":case"embed":Rc("load",e),o=r;break;case"video":case"audio":for(o=0;o<xc.length;o++)Rc(xc[o],e);o=r;break;case"source":Rc("error",e),o=r;break;case"img":case"image":case"link":Rc("error",e),Rc("load",e),o=r;break;case"details":Rc("toggle",e),o=r;break;case"input":dl(e,r),o=fl(e,r),Rc("invalid",e);break;case"option":o=gl(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=lr({},r,{value:void 0}),Rc("invalid",e);break;case"textarea":El(e,r),o=bl(e,r),Rc("invalid",e);break;default:o=r}Ml(n,o);var l=o;for(a in l)if(l.hasOwnProperty(a)){var u=l[a];"style"===a?Ll(e,u):"dangerouslySetInnerHTML"===a?null!=(u=u?u.__html:void 0)&&Tl(e,u):"children"===a?"string"==typeof u?("textarea"!==n||""!==u)&&Pl(e,u):"number"==typeof u&&Pl(e,""+u):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(Ei.hasOwnProperty(a)?null!=u&&"onScroll"===a&&Rc("scroll",e):null!=u&&Li(e,a,u,i))}switch(n){case"input":ul(e),hl(e,r,!1);break;case"textarea":ul(e),Sl(e);break;case"option":null!=r.value&&e.setAttribute("value",""+il(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?vl(e,!!r.multiple,a,!1):null!=r.defaultValue&&vl(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Gc)}$c(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Jp(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(vi(166));n=Dd(Id.current),Dd(Rd.current),Yd(t)?(n=t.memoizedProps,(r=t.stateNode)[tf]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[tf]=t,t.stateNode=r)}return null;case 13:return mf(Ud),r=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Yd(t):n=null!==e.memoizedState,r&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Ud.current)?0===Dm&&(Dm=3):(0!==Dm&&3!==Dm||(Dm=4),null===Nm||0==(134217727&Bm)&&0==(134217727&jm)||mh(Nm,Rm))),(r||n)&&(t.flags|=4),null);case 4:return Hd(),null===e&&Ic(t.stateNode.containerInfo),null;case 10:return ld(t),null;case 17:return wf(t.type)&&Sf(),null;case 19:if(mf(Ud),null===(r=t.memoizedState))return null;if(a=0!=(64&t.flags),null===(i=r.rendering))if(a)lm(r,!1);else{if(0!==Dm||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(i=zd(e))){for(t.flags|=64,lm(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 hf(Ud,1&Ud.current|2),t.child}e=e.sibling}null!==r.tail&&qf()>Vm&&(t.flags|=64,a=!0,lm(r,!1),t.lanes=33554432)}else{if(!a)if(null!==(e=zd(i))){if(t.flags|=64,a=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),lm(r,!0),null===r.tail&&"hidden"===r.tailMode&&!i.alternate&&!Wd)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*qf()-r.renderingStartTime>Vm&&1073741824!==n&&(t.flags|=64,a=!0,lm(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=qf(),n.sibling=null,t=Ud.current,hf(Ud,a?1&t|2:1&t),n):null;case 23:case 24:return bh(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(vi(156,t.tag))}function sm(e){switch(e.tag){case 1:wf(e.type)&&Sf();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Hd(),mf(vf),mf(gf),Jd(),0!=(64&(t=e.flags)))throw Error(vi(285));return e.flags=-4097&t|64,e;case 5:return jd(e),null;case 13:return mf(Ud),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return mf(Ud),null;case 4:return Hd(),null;case 10:return ld(e),null;case 23:case 24:return bh(),null;default:return null}}function cm(e,t){try{var n="",r=t;do{n+=ol(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 fm(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}Xp=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}},Zp=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Dd(Rd.current);var a,i=null;switch(n){case"input":o=fl(e,o),r=fl(e,r),i=[];break;case"option":o=gl(e,o),r=gl(e,r),i=[];break;case"select":o=lr({},o,{value:void 0}),r=lr({},r,{value:void 0}),i=[];break;case"textarea":o=bl(e,o),r=bl(e,r),i=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Gc)}for(s in Ml(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&&(Ei.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&&(Ei.hasOwnProperty(s)?(null!=u&&"onScroll"===s&&Rc("scroll",e),i||l===u||(i=[])):"object"==typeof u&&null!==u&&u.$$typeof===qi?u.toString():(i=i||[]).push(s,u))}n&&(i=i||[]).push("style",n);var s=i;(t.updateQueue=s)&&(t.flags|=4)}},Jp=function(e,t,n,r){n!==r&&(t.flags|=4)};var dm="function"==typeof WeakMap?WeakMap:Map;function pm(e,t,n){(n=md(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Qm||(Qm=!0,Km=r),fm(0,t)},n}function mm(e,t,n){(n=md(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return fm(0,t),r(o)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Ym?Ym=new Set([this]):Ym.add(this),fm(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var hm="function"==typeof WeakSet?WeakSet:Set;function ym(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Dh(e,t)}else t.current=null}function gm(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:td(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Yc(t.stateNode.containerInfo));case 5:case 6:case 4:case 17:return}throw Error(vi(163))}function vm(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)&&(Rh(n,e),Lh(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:td(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&vd(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}vd(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&$c(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&&Nu(n)))));case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(vi(163))}function bm(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=Nl("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 Em(e,t){if(Pf&&"function"==typeof Pf.onCommitFiberUnmount)try{Pf.onCommitFiberUnmount(Tf,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))Rh(t,n);else{r=t;try{o()}catch(e){Dh(r,e)}}n=n.next}while(n!==e)}break;case 1:if(ym(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Dh(t,e)}break;case 5:ym(t);break;case 4:Cm(e,t)}}function wm(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 Sm(e){return 5===e.tag||3===e.tag||4===e.tag}function _m(e){e:{for(var t=e.return;null!==t;){if(Sm(t))break e;t=t.return}throw Error(vi(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(vi(161))}16&n.flags&&(Pl(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Sm(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=Gc));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 Cm(e,t){for(var n,r,o=t,a=!1;;){if(!a){a=o.return;e:for(;;){if(null===a)throw Error(vi(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(Em(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(Em(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 Om(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[nf]=r,"input"===e&&"radio"===r.type&&null!=r.name&&pl(n,r),Il(e,o),t=Il(e,r),o=0;o<a.length;o+=2){var i=a[o],l=a[o+1];"style"===i?Ll(n,l):"dangerouslySetInnerHTML"===i?Tl(n,l):"children"===i?Pl(n,l):Li(n,i,l,t)}switch(e){case"input":ml(n,r);break;case"textarea":wl(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(a=r.value)?vl(n,!!r.multiple,a,!1):e!==!!r.multiple&&(null!=r.defaultValue?vl(n,!!r.multiple,r.defaultValue,!0):vl(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(vi(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,Nu(n.containerInfo)));case 12:return;case 13:return null!==t.memoizedState&&(Gm=qf(),bm(t.child,!0)),void km(t);case 19:return void km(t);case 17:return;case 23:case 24:return void bm(t,null!==t.memoizedState)}throw Error(vi(163))}function km(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new hm),t.forEach(function(t){var r=Hh.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}var Tm=Math.ceil,Pm=Ri.ReactCurrentDispatcher,xm=Ri.ReactCurrentOwner,Am=0,Nm=null,Lm=null,Rm=0,Mm=0,Im=pf(0),Dm=0,Fm=null,Hm=0,Bm=0,jm=0,Um=0,zm=null,Gm=0,Vm=Infinity;function Wm(){Vm=qf()+500}var $m,qm=null,Qm=!1,Km=null,Ym=null,Xm=!1,Zm=null,Jm=90,eh=[],th=[],nh=null,rh=0,oh=null,ah=-1,ih=0,lh=0;function uh(){return 0!=(48&Am)?qf():-1!==ah?ah:ah=qf()}function sh(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===Qf()?1:2;if(0===ih&&(ih=Hm),0!==ed.transition){0!==lh&&(lh=null!==zm?zm.pendingLanes:0),e=ih;var t=4186112&~lh;return 0==(t&=-t)&&0==(t=(e=4186112&~e)&-e)&&(t=8192),t}return e=Qf(),function e(t,n){switch(t){case 15:return 1;case 14:return 2;case 12:return 0===(t=Ku(24&~n))?e(10,n):t;case 10:return 0===(t=Ku(192&~n))?e(8,n):t;case 8:return 0===(t=Ku(3584&~n))&&0===(t=Ku(4186112&~n))&&(t=512),t;case 2:return 0===(n=Ku(805306368&~n))&&(n=268435456),n}throw Error(vi(358,t))}(0!=(4&Am)&&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),ih)}function ch(e,t,n){if(50<rh)throw rh=0,oh=null,Error(vi(185));if(null===(e=fh(e,t)))return null;Xu(e,t,n),e===Nm&&(jm|=t,4===Dm&&mh(e,Rm));var r=Qf();1===t?0!=(8&Am)&&0==(48&Am)?hh(e):(dh(e,n),0===Am&&(Wm(),Zf())):(0==(4&Am)||98!==r&&99!==r||(null===nh?nh=new Set([e]):nh.add(e)),dh(e,n)),zm=e}function fh(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 dh(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,a=e.expirationTimes,i=e.pendingLanes;0<i;){var l=31-Zu(i),u=1<<l,s=a[l];-1===s?0!=(u&r)&&0==(u&o)||(s=t,$u(u),a[l]=10<=Wu?s+250:6<=Wu?s+5e3:-1):s<=t&&(e.expiredLanes|=u),i&=~u}if(r=qu(e,e===Nm?Rm:0),t=Wu,0===r)null!==n&&(n!==Uf&&Nf(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Uf&&Nf(n)}15===t?(n=hh.bind(null,e),null===Gf?(Gf=[n],Vf=Af(Df,Jf)):Gf.push(n),n=Uf):n=14===t?Xf(99,hh.bind(null,e)):Xf(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(vi(358,e))}}(t),ph.bind(null,e)),e.callbackPriority=t,e.callbackNode=n}}function ph(e){if(ah=-1,lh=ih=0,0!=(48&Am))throw Error(vi(327));var t=e.callbackNode;if(Nh()&&e.callbackNode!==t)return null;var n=qu(e,e===Nm?Rm:0);if(0===n)return null;var r=n,o=Am;Am|=16;var a=Sh();for(Nm===e&&Rm===r||(Wm(),Eh(e,r));;)try{Oh();break}catch(t){wh(e,t)}if(id(),Pm.current=a,Am=o,null!==Lm?r=0:(Nm=null,Rm=0,r=Dm),0!=(Hm&jm))Eh(e,0);else if(0!==r){if(2===r&&(Am|=64,e.hydrate&&(e.hydrate=!1,Yc(e.containerInfo)),0!==(n=Qu(e))&&(r=_h(e,n))),1===r)throw t=Fm,Eh(e,0),mh(e,n),dh(e,qf()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(vi(345));case 2:Ph(e);break;case 3:if(mh(e,n),(62914560&n)===n&&10<(r=Gm+500-qf())){if(0!==qu(e,0))break;if(((o=e.suspendedLanes)&n)!==n){uh(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Qc(Ph.bind(null,e),r);break}Ph(e);break;case 4:if(mh(e,n),(4186112&n)===n)break;for(r=e.eventTimes,o=-1;0<n;){var i=31-Zu(n);a=1<<i,(i=r[i])>o&&(o=i),n&=~a}if(n=o,10<(n=(120>(n=qf()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Tm(n/1960))-n)){e.timeoutHandle=Qc(Ph.bind(null,e),n);break}Ph(e);break;case 5:Ph(e);break;default:throw Error(vi(329))}}return dh(e,qf()),e.callbackNode===t?ph.bind(null,e):null}function mh(e,t){for(t&=~Um,e.suspendedLanes|=t&=~jm,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Zu(t),r=1<<n;e[n]=-1,t&=~r}}function hh(e){if(0!=(48&Am))throw Error(vi(327));if(Nh(),e===Nm&&0!=(e.expiredLanes&Rm)){var t=Rm,n=_h(e,t);0!=(Hm&jm)&&(n=_h(e,t=qu(e,t)))}else n=_h(e,t=qu(e,0));if(0!==e.tag&&2===n&&(Am|=64,e.hydrate&&(e.hydrate=!1,Yc(e.containerInfo)),0!==(t=Qu(e))&&(n=_h(e,t))),1===n)throw n=Fm,Eh(e,0),mh(e,t),dh(e,qf()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Ph(e),dh(e,qf()),null}function yh(e,t){var n=Am;Am|=1;try{return e(t)}finally{0===(Am=n)&&(Wm(),Zf())}}function gh(e,t){var n=Am;Am&=-2,Am|=8;try{return e(t)}finally{0===(Am=n)&&(Wm(),Zf())}}function vh(e,t){hf(Im,Mm),Mm|=t,Hm|=t}function bh(){Mm=Im.current,mf(Im)}function Eh(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Kc(n)),null!==Lm)for(n=Lm.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&Sf();break;case 3:Hd(),mf(vf),mf(gf),Jd();break;case 5:jd(r);break;case 4:Hd();break;case 13:case 19:mf(Ud);break;case 10:ld(r);break;case 23:case 24:bh()}n=n.return}Nm=e,Lm=zh(e.current,null),Rm=Mm=Hm=t,Dm=0,Fm=null,Um=jm=Bm=0}function wh(e,t){for(;;){var n=Lm;try{if(id(),ep.current=Ip,ip){for(var r=rp.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ip=!1}if(np=0,ap=op=rp=null,lp=!1,xm.current=null,null===n||null===n.return){Dm=1,Fm=t,Lm=null;break}e:{var a=e,i=n.return,l=n,u=t;if(t=Rm,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&Ud.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=md(-1,1);v.tag=2,hd(l,v)}l.lanes|=1;break e}u=void 0,l=t;var b=a.pingCache;if(null===b?(b=a.pingCache=new dm,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=Fh.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((al(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!==Dm&&(Dm=2),u=cm(u,l),d=i;do{switch(d.tag){case 3:a=u,d.flags|=4096,d.lanes|=t&=-t,yd(d,pm(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===Ym||!Ym.has(w)))){d.flags|=4096,d.lanes|=t&=-t,yd(d,mm(d,a,t));break e}}d=d.return}while(null!==d)}Th(n)}catch(e){t=e,Lm===n&&null!==n&&(Lm=n=n.return);continue}break}}function Sh(){var e=Pm.current;return Pm.current=Ip,null===e?Ip:e}function _h(e,t){var n=Am;Am|=16;var r=Sh();for(Nm===e&&Rm===t||Eh(e,t);;)try{Ch();break}catch(t){wh(e,t)}if(id(),Am=n,Pm.current=r,null!==Lm)throw Error(vi(261));return Nm=null,Rm=0,Dm}function Ch(){for(;null!==Lm;)kh(Lm)}function Oh(){for(;null!==Lm&&!Lf();)kh(Lm)}function kh(e){var t=$m(e.alternate,e,Mm);e.memoizedProps=e.pendingProps,null===t?Th(e):Lm=t,xm.current=null}function Th(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=um(n,t,Mm)))return void(Lm=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&Mm)||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=sm(t)))return n.flags&=2047,void(Lm=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(Lm=t);Lm=t=e}while(null!==t);0===Dm&&(Dm=5)}function Ph(e){var t=Qf();return Yf(99,xh.bind(null,e,t)),null}function xh(e,t){do{Nh()}while(null!==Zm);if(0!=(48&Am))throw Error(vi(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(vi(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-Zu(a),s=1<<u;o[u]=0,i[u]=-1,l[u]=-1,a&=~s}if(null!==nh&&0==(24&r)&&nh.has(e)&&nh.delete(e),e===Nm&&(Lm=Nm=null,Rm=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(o=Am,Am|=32,xm.current=null,Vc=rs,Ec(i=bc())){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;Wc={focusedElem:i,selectionRange:l},rs=!1,qm=r;do{try{Ah()}catch(e){if(null===qm)throw Error(vi(330));Dh(qm,e),qm=qm.nextEffect}}while(null!==qm);qm=r;do{try{for(i=e;null!==qm;){var v=qm.flags;if(16&v&&Pl(qm.stateNode,""),128&v){var b=qm.alternate;if(null!==b){var E=b.ref;null!==E&&("function"==typeof E?E(null):E.current=null)}}switch(1038&v){case 2:_m(qm),qm.flags&=-3;break;case 6:_m(qm),qm.flags&=-3,Om(qm.alternate,qm);break;case 1024:qm.flags&=-1025;break;case 1028:qm.flags&=-1025,Om(qm.alternate,qm);break;case 4:Om(qm.alternate,qm);break;case 8:Cm(i,l=qm);var w=l.alternate;wm(l),null!==w&&wm(w)}qm=qm.nextEffect}}catch(e){if(null===qm)throw Error(vi(330));Dh(qm,e),qm=qm.nextEffect}}while(null!==qm);if(E=Wc,b=bc(),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&&Ec(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=vc(v,w),a=vc(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}rs=!!Vc,Wc=Vc=null,e.current=n,qm=r;do{try{for(v=e;null!==qm;){var S=qm.flags;if(36&S&&vm(v,qm.alternate,qm),128&S){b=void 0;var _=qm.ref;if(null!==_){var C=qm.stateNode;switch(qm.tag){case 5:b=C;break;default:b=C}"function"==typeof _?_(b):_.current=b}}qm=qm.nextEffect}}catch(e){if(null===qm)throw Error(vi(330));Dh(qm,e),qm=qm.nextEffect}}while(null!==qm);qm=null,zf(),Am=o}else e.current=n;if(Xm)Xm=!1,Zm=e,Jm=t;else for(qm=r;null!==qm;)t=qm.nextEffect,qm.nextEffect=null,8&qm.flags&&((S=qm).sibling=null,S.stateNode=null),qm=t;if(0===(r=e.pendingLanes)&&(Ym=null),1===r?e===oh?rh++:(rh=0,oh=e):rh=0,n=n.stateNode,Pf&&"function"==typeof Pf.onCommitFiberRoot)try{Pf.onCommitFiberRoot(Tf,n,void 0,64==(64&n.current.flags))}catch(e){}if(dh(e,qf()),Qm)throw Qm=!1,e=Km,Km=null,e;return 0!=(8&Am)||Zf(),null}function Ah(){for(;null!==qm;){var e=qm.flags;0!=(256&e)&&gm(qm.alternate,qm),0==(512&e)||Xm||(Xm=!0,Xf(97,function(){return Nh(),null})),qm=qm.nextEffect}}function Nh(){if(90!==Jm){var e=97<Jm?97:Jm;return Jm=90,Yf(e,Mh)}return!1}function Lh(e,t){eh.push(t,e),Xm||(Xm=!0,Xf(97,function(){return Nh(),null}))}function Rh(e,t){th.push(t,e),Xm||(Xm=!0,Xf(97,function(){return Nh(),null}))}function Mh(){if(null===Zm)return!1;var e=Zm;if(Zm=null,0!=(48&Am))throw Error(vi(331));var t=Am;Am|=32;var n=th;th=[];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(vi(330));Dh(a,e)}}for(n=eh,eh=[],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(vi(330));Dh(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 Am=t,Zf(),!0}function Ih(e,t,n){hd(e,t=pm(0,t=cm(n,t),1)),t=uh(),null!==(e=fh(e,1))&&(Xu(e,1,t),dh(e,t))}function Dh(e,t){if(3===e.tag)Ih(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Ih(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Ym||!Ym.has(r))){var o=mm(n,e=cm(t,e),1);if(hd(n,o),o=uh(),null!==(n=fh(n,1)))Xu(n,1,o),dh(n,o);else if("function"==typeof r.componentDidCatch&&(null===Ym||!Ym.has(r)))try{r.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function Fh(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=uh(),e.pingedLanes|=e.suspendedLanes&n,Nm===e&&(Rm&n)===n&&(4===Dm||3===Dm&&(62914560&Rm)===Rm&&500>qf()-Gm?Eh(e,0):Um|=n),dh(e,t)}function Hh(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===Qf()?1:2:(0===ih&&(ih=Hm),0===(t=Ku(62914560&~ih))&&(t=4194304))),n=uh(),null!==(e=fh(e,t))&&(Xu(e,t,n),dh(e,n))}function Bh(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 jh(e,t,n,r){return new Bh(e,t,n,r)}function Uh(e){return!(!(e=e.prototype)||!e.isReactComponent)}function zh(e,t){var n=e.alternate;return null===n?((n=jh(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 Gh(e,t,n,r,o,a){var i=2;if(r=e,"function"==typeof e)Uh(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case Di:return Vh(n.children,o,a,t);case Qi:i=8,o|=16;break;case Fi:i=8,o|=1;break;case Hi:return(e=jh(12,n,t,8|o)).elementType=Hi,e.type=Hi,e.lanes=a,e;case zi:return(e=jh(13,n,t,o)).type=zi,e.elementType=zi,e.lanes=a,e;case Gi:return(e=jh(19,n,t,o)).elementType=Gi,e.lanes=a,e;case Ki:return Wh(n,o,a,t);case Yi:return(e=jh(24,n,t,o)).elementType=Yi,e.lanes=a,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Bi:i=10;break e;case ji:i=9;break e;case Ui:i=11;break e;case Vi:i=14;break e;case Wi:i=16,r=null;break e;case $i:i=22;break e}throw Error(vi(130,null==e?e:typeof e,""))}return(t=jh(i,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Vh(e,t,n,r){return(e=jh(7,e,r,t)).lanes=n,e}function Wh(e,t,n,r){return(e=jh(23,e,r,t)).elementType=Ki,e.lanes=n,e}function $h(e,t,n){return(e=jh(6,e,null,t)).lanes=n,e}function qh(e,t,n){return(t=jh(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Qh(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=Yu(0),this.expirationTimes=Yu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Yu(0),this.mutableSourceEagerHydrationData=null}function Kh(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Ii,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Yh(e,t,n,r){var o=t.current,a=uh(),i=sh(o);e:if(n){t:{if(iu(n=n._reactInternals)!==n||1!==n.tag)throw Error(vi(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(wf(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(vi(171))}if(1===n.tag){var u=n.type;if(wf(u)){n=Cf(n,u,l);break e}}n=l}else n=yf;return null===t.context?t.context=n:t.pendingContext=n,(t=md(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),hd(o,t),ch(o,i,a),i}function Xh(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Zh(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Jh(e,t){Zh(e,t),(e=e.alternate)&&Zh(e,t)}function ey(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Qh(e,t,null!=n&&!0===n.hydrate),t=jh(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,dd(t),e[rf]=n.current,Ic(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 ty(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ny(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=Xh(i);l.call(e)}}Yh(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 ey(e,0,t?{hydrate:!0}:void 0)}(n,r),i=a._internalRoot,"function"==typeof o){var u=o;o=function(){var e=Xh(i);u.call(e)}}gh(function(){Yh(t,i,e,o)})}return Xh(i)}function ry(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!ty(t))throw Error(vi(200));return Kh(e,t,null,n)}$m=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||vf.current)jp=!0;else{if(0==(n&r)){switch(jp=!1,t.tag){case 3:Yp(t),Xd();break;case 5:Bd(t);break;case 1:wf(t.type)&&Of(t);break;case 4:Fd(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;hf(nd,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?tm(e,t,n):(hf(Ud,1&Ud.current),null!==(t=im(e,t,n))?t.sibling:null);hf(Ud,1&Ud.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return am(e,t,n);t.flags|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),hf(Ud,Ud.current),r)break;return null;case 23:case 24:return t.lanes=0,Wp(e,t,n)}return im(e,t,n)}jp=0!=(16384&e.flags)}else jp=!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=Ef(t,gf.current),sd(t,n),o=cp(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,wf(r)){var a=!0;Of(t)}else a=!1;t.memoizedState=null!=o.state?o.state:null,dd(t);var i=r.getDerivedStateFromProps;"function"==typeof i&&Ed(t,r,i,e),o.updater=wd,t.stateNode=o,o._reactInternals=t,Od(t,r,e,n),t=Kp(null,t,r,!0,a,n)}else t.tag=0,Up(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 Uh(e)?1:0;if(null!=e){if((e=e.$$typeof)===Ui)return 11;if(e===Vi)return 14}return 2}(o),e=td(o,e),a){case 0:t=qp(null,t,o,e,n);break e;case 1:t=Qp(null,t,o,e,n);break e;case 11:t=zp(null,t,o,e,n);break e;case 14:t=Gp(null,t,o,td(o.type,e),r,n);break e}throw Error(vi(306,o,""))}return t;case 0:return o=t.pendingProps,qp(e,t,r=t.type,o=t.elementType===r?o:td(r,o),n);case 1:return o=t.pendingProps,Qp(e,t,r=t.type,o=t.elementType===r?o:td(r,o),n);case 3:if(Yp(t),r=t.updateQueue,null===e||null===r)throw Error(vi(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,pd(e,t),gd(t,r,null,n),(r=t.memoizedState.element)===o)Xd(),t=im(e,t,n);else{if((a=(o=t.stateNode).hydrate)&&(Vd=Xc(t.stateNode.containerInfo.firstChild),Gd=t,a=Wd=!0),a){if(null!=(e=o.mutableSourceEagerHydrationData))for(o=0;o<e.length;o+=2)(a=e[o])._workInProgressVersionPrimary=e[o+1],Zd.push(a);for(n=Nd(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Up(e,t,r,n),Xd();t=t.child}return t;case 5:return Bd(t),null===e&&Qd(t),a=null!==e?e.memoizedProps:null,i=(o=t.pendingProps).children,qc(r=t.type,o)?i=null:null!==a&&qc(r,a)&&(t.flags|=16),$p(e,t),Up(e,t,i,n),t.child;case 6:return null===e&&Qd(t),null;case 13:return tm(e,t,n);case 4:return Fd(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ad(t,null,r,n):Up(e,t,r,n),t.child;case 11:return o=t.pendingProps,zp(e,t,r=t.type,o=t.elementType===r?o:td(r,o),n);case 7:return Up(e,t,t.pendingProps,n),t.child;case 8:case 12:return Up(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(hf(nd,l._currentValue),l._currentValue=a,null!==i)if(0==(a=mc(l=i.value,a)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,a):1073741823))){if(i.children===o.children&&!vf.current){t=im(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=md(-1,n&-n)).tag=2,hd(l,s)),l.lanes|=n,null!==(s=l.alternate)&&(s.lanes|=n),ud(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}Up(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(a=t.pendingProps).children,sd(t,n),r=r(o=cd(o,a.unstable_observedBits)),t.flags|=1,Up(e,t,r,n),t.child;case 14:return a=td(o=t.type,t.pendingProps),Gp(e,t,o,a=td(o.type,a),r,n);case 15:return Vp(e,t,t.type,t.pendingProps,r,n);case 17:return o=t.pendingProps,o=t.elementType===(r=t.type)?o:td(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,wf(r)?(e=!0,Of(t)):e=!1,sd(t,n),_d(t,r,o),Od(t,r,o,n),Kp(null,t,r,!0,e,n);case 19:return am(e,t,n);case 23:case 24:return Wp(e,t,n)}throw Error(vi(156,t.tag))},ey.prototype.render=function(e){Yh(e,this._internalRoot,null,null)},ey.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Yh(null,e,null,function(){t[rf]=null})},cu=function(e){13===e.tag&&(ch(e,4,uh()),Jh(e,4))},fu=function(e){13===e.tag&&(ch(e,67108864,uh()),Jh(e,67108864))},du=function(e){if(13===e.tag){var t=uh(),n=sh(e);ch(e,n,t),Jh(e,n)}},pu=function(e,t){return t()},Fl=function(e,t,n){switch(t){case"input":if(ml(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=sf(r);if(!o)throw Error(vi(90));sl(r),ml(r,o)}}}break;case"textarea":wl(e,n);break;case"select":null!=(t=n.value)&&vl(e,!!n.multiple,t,!1)}},Gl=yh,Vl=function(e,t,n,r,o){var a=Am;Am|=4;try{return Yf(98,e.bind(null,t,n,r,o))}finally{0===(Am=a)&&(Wm(),Zf())}},Wl=function(){0==(49&Am)&&(function(){if(null!==nh){var e=nh;nh=null,e.forEach(function(e){e.expiredLanes|=24&e.pendingLanes,dh(e,qf())})}Zf()}(),Nh())},$l=function(e,t){var n=Am;Am|=2;try{return e(t)}finally{0===(Am=n)&&(Wm(),Zf())}};var oy={Events:[lf,uf,sf,Ul,zl,Nh,{current:!1}]},ay={findFiberByHostInstance:af,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},iy={bundleType:ay.bundleType,version:ay.version,rendererPackageName:ay.rendererPackageName,rendererConfig:ay.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Ri.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=su(e))?null:e.stateNode},findFiberByHostInstance:ay.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ly=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ly.isDisabled&&ly.supportsFiber)try{Tf=ly.inject(iy),Pf=ly}catch(e){}}var uy={__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:oy,createPortal:ry,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(vi(188));throw Error(vi(268,Object.keys(e)))}return null===(e=su(t))?null:e.stateNode},flushSync:function(e,t){var n=Am;if(0!=(48&n))return e(t);Am|=1;try{if(e)return Yf(99,e.bind(null,t))}finally{Am=n,Zf()}},hydrate:function(e,t,n){if(!ty(t))throw Error(vi(200));return ny(null,e,t,!0,n)},render:function(e,t,n){if(!ty(t))throw Error(vi(200));return ny(null,e,t,!1,n)},unmountComponentAtNode:function(e){if(!ty(e))throw Error(vi(40));return!!e._reactRootContainer&&(gh(function(){ny(null,null,e,!1,function(){e._reactRootContainer=null,e[rf]=null})}),!0)},unstable_batchedUpdates:yh,unstable_createPortal:function(e,t){return ry(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},unstable_renderSubtreeIntoContainer:function(e,t,n,r){if(!ty(n))throw Error(vi(200));if(null==e||void 0===e._reactInternals)throw Error(vi(38));return ny(e,t,n,!1,r)},version:"17.0.2"},sy=0,cy={__interactionsRef:null,__subscriberRef:null,unstable_clear:function(e){return e()},unstable_getCurrent:function(){return null},unstable_getThreadID:function(){return++sy},unstable_subscribe:function(){},unstable_trace:function(e,t,n){return n()},unstable_unsubscribe:function(){},unstable_wrap:function(e){return e}},fy=(p(function(e,t){}),p(function(e){e.exports=cy}),p(function(e,t){}),p(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=uy}));function dy(){return(dy=Object.assign?Object.assign.bind():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)}function py(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}var my=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)},hy=function(e,t,n,r,o){var a,i,l,u=t.domain,s=t.merchantId,c=sr.useState([]),f=c[0],d=c[1],p=sr.useState(Zn.PENDING),m=p[0],h=p[1],y=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 sr.useEffect(function(){if(m===Zn.PENDING){var t=null;r&&(t={country:r});var n=null;o&&(n={country:o}),function(e,t,n){void 0===e&&(e="");try{return Promise.resolve(fetch(e,{method:"POST",headers:dy({"Content-Type":"application/json"},n),body:JSON.stringify(t)})).then(function(e){return e.json()})}catch(e){return Promise.reject(e)}}(u+"/v2/payments/eligibility",{purchase_amount:e,queries:y,billing_address:t,shipping_address:n},{Authorization:"Alma-Merchant-Auth "+s}).then(function(e){d(e),h(Zn.SUCCESS)}).catch(function(){h(Zn.FAILED)})}},[m]),[(a=f,i=n,l=a.filter(function(e){return!(1===e.installments_count&&0===e.deferred_days&&0===e.deferred_months)}),i?l.map(function(e){var t=30*(e.deferred_months?e.deferred_months:0)+(e.deferred_days?e.deferred_days:0),n=i.find(function(n){return e.installments_count===n.installmentsCount&&t===30*(n.deferredMonths?n.deferredMonths:0)+(n.deferredDays?n.deferredDays:0)});return dy({},e,{eligible:my(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))}):l),m]},yy=p(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}()}),gy="alma-eligibility-modal",vy={desktopModal:gy+"-desktop-modal",mobileModal:gy+"-mobile-modal",leftSide:gy+"-left-side",bullet:gy+"-bullet",rightSide:gy+"-right-side",title:gy+"-title",info:gy+"-info",infoMessage:gy+"-info-message",eligibilityOptions:gy+"-eligibility-options",activeOption:gy+"-active-option",closeButton:gy+"-close-button",scheduleDetails:gy+"-schedule-details",scheduleTotal:gy+"-schedule-total",scheduleCredit:gy+"-schedule-credit",cardContainer:gy+"-card-logos",summary:gy+"-summary"},by=function(e){var t=e.currentPlan,n=Ya(),r=nr(t.purchase_amount+t.customer_total_cost_amount),o=nr(t.customer_total_cost_amount),a=(null==t?void 0:t.annual_interest_rate)&&t.annual_interest_rate/1e4||0,i=nr(t.customer_total_cost_amount),l=t.installments_count>4;return sr.createElement("div",{className:yy("_GTTk7",vy.summary),"data-testid":"modal-summary"},sr.createElement("div",{className:yy("_34s2g",vy.scheduleTotal)},sr.createElement(oi,{tagName:"div",id:"installments.total-amount",defaultMessage:"Total"}),sr.createElement(ii,{value:r||0,style:"currency",currency:"EUR"})),sr.createElement("div",{className:yy("_W7qIA",vy.scheduleCredit)},l?sr.createElement(sr.Fragment,null,sr.createElement(oi,{id:"credit-features.total-credit-cost",defaultMessage:"Dont coût du crédit"}),sr.createElement("span",{className:"_24KmE"},sr.createElement(oi,{id:"credit-features.credit-cost-display",defaultMessage:"{creditCost} (TAEG {taegPercentage})",values:{creditCost:n.formatNumber(o,{style:"currency",currency:"EUR"}),taegPercentage:n.formatNumber(a,{style:"percent",maximumFractionDigits:2})}}))):sr.createElement(sr.Fragment,null,sr.createElement(oi,{id:"installments.total-fees",defaultMessage:"Dont frais (TTC)",tagName:"div"}),sr.createElement("div",null,sr.createElement(ii,{value:i,style:"currency",currency:"EUR"})))))},Ey=function(e){return sr.createElement("div",{className:yy("_31lrj",e.className),"data-testid":"loader"},sr.createElement("svg",{width:"120",height:"134",viewBox:"0 0 120 134",fill:"none",xmlns:"http://www.w3.org/2000/svg"},sr.createElement("path",{d:"M83.8164 41.0325C79.1708 22.8241 69.3458 17 59.9939 17C50.642 17 40.8171 22.8241 36.1715 41.0325L16 117H35.8804C39.119 104.311 49.1016 97.2436 59.9939 97.2436C70.8863 97.2436 80.8689 104.324 84.1075 117H104L83.8164 41.0325ZM59.9939 79.5428C53.6623 79.5428 47.925 82.0552 43.6918 86.1283L55.0936 41.9207C56.1853 37.6953 57.7985 36.3503 60.0061 36.3503C62.2136 36.3503 63.8269 37.6953 64.9185 41.9207L76.3082 86.1283C72.075 82.0552 66.3256 79.5428 59.9939 79.5428Z",fill:"#FA5022"})))},wy="function"==typeof Symbol&&Symbol.for,Sy=wy?Symbol.for("react.element"):60103,_y=wy?Symbol.for("react.portal"):60106,Cy=wy?Symbol.for("react.fragment"):60107,Oy=wy?Symbol.for("react.strict_mode"):60108,ky=wy?Symbol.for("react.profiler"):60114,Ty=wy?Symbol.for("react.provider"):60109,Py=wy?Symbol.for("react.context"):60110,xy=wy?Symbol.for("react.async_mode"):60111,Ay=wy?Symbol.for("react.concurrent_mode"):60111,Ny=wy?Symbol.for("react.forward_ref"):60112,Ly=wy?Symbol.for("react.suspense"):60113,Ry=wy?Symbol.for("react.suspense_list"):60120,My=wy?Symbol.for("react.memo"):60115,Iy=wy?Symbol.for("react.lazy"):60116,Dy=wy?Symbol.for("react.block"):60121,Fy=wy?Symbol.for("react.fundamental"):60117,Hy=wy?Symbol.for("react.responder"):60118,By=wy?Symbol.for("react.scope"):60119;function jy(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Sy:switch(e=e.type){case xy:case Ay:case Cy:case ky:case Oy:case Ly:return e;default:switch(e=e&&e.$$typeof){case Py:case Ny:case Iy:case My:case Ty:return e;default:return t}}case _y:return t}}}function Uy(e){return jy(e)===Ay}var zy={AsyncMode:xy,ConcurrentMode:Ay,ContextConsumer:Py,ContextProvider:Ty,Element:Sy,ForwardRef:Ny,Fragment:Cy,Lazy:Iy,Memo:My,Portal:_y,Profiler:ky,StrictMode:Oy,Suspense:Ly,isAsyncMode:function(e){return Uy(e)||jy(e)===xy},isConcurrentMode:Uy,isContextConsumer:function(e){return jy(e)===Py},isContextProvider:function(e){return jy(e)===Ty},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Sy},isForwardRef:function(e){return jy(e)===Ny},isFragment:function(e){return jy(e)===Cy},isLazy:function(e){return jy(e)===Iy},isMemo:function(e){return jy(e)===My},isPortal:function(e){return jy(e)===_y},isProfiler:function(e){return jy(e)===ky},isStrictMode:function(e){return jy(e)===Oy},isSuspense:function(e){return jy(e)===Ly},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===Cy||e===Ay||e===ky||e===Oy||e===Ly||e===Ry||"object"==typeof e&&null!==e&&(e.$$typeof===Iy||e.$$typeof===My||e.$$typeof===Ty||e.$$typeof===Py||e.$$typeof===Ny||e.$$typeof===Fy||e.$$typeof===Hy||e.$$typeof===By||e.$$typeof===Dy)},typeOf:jy};function Gy(){}function Vy(){}p(function(e,t){}),p(function(e){e.exports=zy}),Vy.resetWarningCache=Gy;var Wy=p(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:Vy,resetWarningCache:Gy};return n.PropTypes=n,n}()}),$y=p(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|iframe/;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}),qy=p(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=$y)&&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)}}}),Qy=p(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=$y)&&n.__esModule?n:{default:n};e.exports=t.default}),Ky=function(){},Yy=p(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}),Xy=p(function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=t.SafeNodeList=t.SafeHTMLCollection=void 0;var r=((n=Yy)&&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}),Zy=p(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&&Xy.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=Ky)&&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(" ")),[])}}),Jy=p(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}}),eg=p(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}),tg=(p(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=eg)&&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))})}),p(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(Wy),i=d(qy),l=p(Qy),u=d(Zy),s=d(Jy),c=p(Xy),f=p(eg);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}(sr.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(Xy.SafeHTMLCollection),a.default.instanceOf(Xy.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 ng(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function rg(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function og(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}}ng.__suppressDeprecationWarning=!0,rg.__suppressDeprecationWarning=!0,og.__suppressDeprecationWarning=!0;var ag=p(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(sr),a=c(fy),i=c(Wy),l=c(tg),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}(Zy),s=c(Xy);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=Xy.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(){Xy.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(Xy.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(Xy.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 Xy.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}(sr.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(Xy.SafeHTMLCollection),i.default.instanceOf(Xy.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=ng,t.componentWillReceiveProps=rg),"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=og;var a=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){a.call(this,e,t,this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n)}}}(b),t.default=b}),ig=d(p(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n,r=(n=ag)&&n.__esModule?n:{default:n};t.default=r.default,e.exports=t.default})),lg=p(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 ug(e){var t=e.color;return sr.createElement("svg",{className:e.className,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},sr.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 sg=["children","isOpen","onClose","className","contentClassName","scrollable"],cg=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=py(e,sg);return ig.setAppElement("body"),sr.createElement(ig,Object.assign({className:yy("_D8SjB",a),overlayClassName:"_1yxCb",onAfterOpen:function(){lg.on()},onAfterClose:function(){lg.off()},onRequestClose:o,isOpen:r,shouldCloseOnOverlayClick:!0,shouldCloseOnEsc:!0},s),sr.createElement("div",{className:"_12LLh"},sr.createElement("button",{onClick:o,className:yy("_3YRro",vy.closeButton),"data-testid":"modal-close-button"},sr.createElement(ug,null))),sr.createElement("div",{className:yy("_ocM9x",i,(t={},t._1GP2F=u,t))},n))},fg=p(function(e,t){var n;n=e=>(()=>{var t={"./node_modules/css-mediaquery/index.js":(e,t)=>{t.match=function(e,t){return l(e).some(function(e){var n=e.inverse,r="all"===e.type||t.type===e.type;if(r&&n||!r&&!n)return!1;var o=e.expressions.every(function(e){var n=e.feature,r=e.modifier,o=e.value,a=t[n];if(!a)return!1;switch(n){case"orientation":case"scan":return a.toLowerCase()===o.toLowerCase();case"width":case"height":case"device-width":case"device-height":o=c(o),a=c(a);break;case"resolution":o=s(o),a=s(a);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":o=u(o),a=u(a);break;case"grid":case"color":case"color-index":case"monochrome":o=parseInt(o,10)||1,a=parseInt(a,10)||0}switch(r){case"min":return a>=o;case"max":return a<=o;default:return a===o}});return o&&!n||!o&&n})},t.parse=l;var n=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,r=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,o=/^(?:(min|max)-)?(.+)/,a=/(em|rem|px|cm|mm|in|pt|pc)?$/,i=/(dpi|dpcm|dppx)?$/;function l(e){return e.split(",").map(function(e){var t=(e=e.trim()).match(n),a=t[1],i=t[2],l=t[3]||"",u={};return u.inverse=!!a&&"not"===a.toLowerCase(),u.type=i?i.toLowerCase():"all",l=l.match(/\([^\)]+\)/g)||[],u.expressions=l.map(function(e){var t=e.match(r),n=t[1].toLowerCase().match(o);return{modifier:n[1],feature:n[2],value:t[2]}}),u})}function u(e){var t,n=Number(e);return n||(n=(t=e.match(/^(\d+)\s*\/\s*(\d+)$/))[1]/t[2]),n}function s(e){var t=parseFloat(e);switch(String(e).match(i)[1]){case"dpcm":return t/2.54;case"dppx":return 96*t;default:return t}}function c(e){var t=parseFloat(e);switch(String(e).match(a)[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}}},"./node_modules/hyphenate-style-name/index.js":(e,t,n)=>{n.r(t),n.d(t,{default:()=>l});var r=/[A-Z]/g,o=/^ms-/,a={};function i(e){return"-"+e.toLowerCase()}const l=function(e){if(a.hasOwnProperty(e))return a[e];var t=e.replace(r,i);return a[e]=o.test(t)?"-"+t:t}},"./node_modules/matchmediaquery/index.js":(e,t,n)=>{var r=n("./node_modules/css-mediaquery/index.js").match,o="undefined"!=typeof window?window.matchMedia:null;function a(e,t,n){var a=this;if(o&&!n){var i=o.call(window,e);this.matches=i.matches,this.media=i.media,i.addListener(l)}else this.matches=r(e,t),this.media=e;function l(e){a.matches=e.matches,a.media=e.media}this.addListener=function(e){i&&i.addListener(e)},this.removeListener=function(e){i&&i.removeListener(e)},this.dispose=function(){i&&i.removeListener(l)}}e.exports=function(e,t,n){return new a(e,t,n)}},"./node_modules/object-assign/index.js":e=>{var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}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,a){for(var i,l,u=o(e),s=1;s<arguments.length;s++){for(var c in i=Object(arguments[s]))n.call(i,c)&&(u[c]=i[c]);if(t){l=t(i);for(var f=0;f<l.length;f++)r.call(i,l[f])&&(u[l[f]]=i[l[f]])}}return u}},"./node_modules/prop-types/checkPropTypes.js":(e,t,n)=>{var r,o=n("./node_modules/prop-types/lib/ReactPropTypesSecret.js"),a={},i=n("./node_modules/prop-types/lib/has.js");function l(e,t,n,l,u){for(var s in e)if(i(e,s)){var c;try{if("function"!=typeof e[s]){var f=Error((l||"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,l,n,null,o)}catch(e){c=e}if(!c||c instanceof Error||r((l||"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 a)){a[c.message]=!0;var d=u?u():"";r("Failed "+n+" type: "+c.message+(null!=d?d:""))}}}r=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}},l.resetWarningCache=function(){a={}},e.exports=l},"./node_modules/prop-types/factoryWithTypeCheckers.js":(e,t,n)=>{var r,o=n("./node_modules/react-is/index.js"),a=n("./node_modules/object-assign/index.js"),i=n("./node_modules/prop-types/lib/ReactPropTypesSecret.js"),l=n("./node_modules/prop-types/lib/has.js"),u=n("./node_modules/prop-types/checkPropTypes.js");function s(){return null}r=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}},e.exports=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator,c={array:m("array"),bigint:m("bigint"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:p(s),arrayOf:function(e){return p(function(t,n,r,o,a){if("function"!=typeof e)return new d("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var l=t[n];if(!Array.isArray(l))return new d("Invalid "+o+" `"+a+"` of type `"+g(l)+"` supplied to `"+r+"`, expected an array.");for(var u=0;u<l.length;u++){var s=e(l,u,r,o,a+"["+u+"]",i);if(s instanceof Error)return s}return null})},element:p(function(t,n,r,o,a){var i=t[n];return e(i)?null:new d("Invalid "+o+" `"+a+"` of type `"+g(i)+"` supplied to `"+r+"`, expected a single ReactElement.")}),elementType:p(function(e,t,n,r,a){var i=e[t];return o.isValidElementType(i)?null:new d("Invalid "+r+" `"+a+"` of type `"+g(i)+"` supplied to `"+n+"`, expected a single ReactElement type.")}),instanceOf:function(e){return p(function(t,n,r,o,a){var i;return t[n]instanceof e?null:new d("Invalid "+o+" `"+a+"` of type `"+((i=t[n]).constructor&&i.constructor.name?i.constructor.name:"<<anonymous>>")+"` supplied to `"+r+"`, expected instance of `"+(e.name||"<<anonymous>>")+"`.")})},node:p(function(e,t,n,r,o){return y(e[t])?null:new d("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")}),objectOf:function(e){return p(function(t,n,r,o,a){if("function"!=typeof e)return new d("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var u=t[n],s=g(u);if("object"!==s)return new d("Invalid "+o+" `"+a+"` of type `"+s+"` supplied to `"+r+"`, expected an object.");for(var c in u)if(l(u,c)){var f=e(u,c,r,o,a+"."+c,i);if(f instanceof Error)return f}return null})},oneOf:function(e){if(!Array.isArray(e))return r(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."),s;function t(t,n,r,o,a){for(var i=t[n],l=0;l<e.length;l++)if(f(i,e[l]))return null;var u=JSON.stringify(e,function(e,t){return"symbol"===v(t)?String(t):t});return new d("Invalid "+o+" `"+a+"` of value `"+String(i)+"` supplied to `"+r+"`, expected one of "+u+".")}return p(t)},oneOfType:function(e){if(!Array.isArray(e))return r("Invalid argument supplied to oneOfType, expected an instance of array."),s;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return r("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+b(n)+" at index "+t+"."),s}return p(function(t,n,r,o,a){for(var u=[],s=0;s<e.length;s++){var c=(0,e[s])(t,n,r,o,a,i);if(null==c)return null;c.data&&l(c.data,"expectedType")&&u.push(c.data.expectedType)}return new d("Invalid "+o+" `"+a+"` supplied to `"+r+"`"+(u.length>0?", expected one of type ["+u.join(", ")+"]":"")+".")})},shape:function(e){return p(function(t,n,r,o,a){var l=t[n],u=g(l);if("object"!==u)return new d("Invalid "+o+" `"+a+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");for(var s in e){var c=e[s];if("function"!=typeof c)return h(r,o,a,s,v(c));var f=c(l,s,r,o,a+"."+s,i);if(f)return f}return null})},exact:function(e){return p(function(t,n,r,o,u){var s=t[n],c=g(s);if("object"!==c)return new d("Invalid "+o+" `"+u+"` of type `"+c+"` supplied to `"+r+"`, expected `object`.");var f=a({},t[n],e);for(var p in f){var m=e[p];if(l(e,p)&&"function"!=typeof m)return h(r,o,u,p,v(m));if(!m)return new d("Invalid "+o+" `"+u+"` key `"+p+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var y=m(s,p,r,o,u+"."+p,i);if(y)return y}return null})}};function f(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function d(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function p(e){var n={},o=0;function a(a,l,u,s,c,f,p){if(s=s||"<<anonymous>>",f=f||u,p!==i){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;!n[h]&&o<3&&(r("You are manually calling a React.PropTypes validation function for the `"+f+"` 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."),n[h]=!0,o++)}}return null==l[u]?a?new d(null===l[u]?"The "+c+" `"+f+"` is marked as required in `"+s+"`, but its value is `null`.":"The "+c+" `"+f+"` is marked as required in `"+s+"`, but its value is `undefined`."):null:e(l,u,s,c,f)}var l=a.bind(null,!1);return l.isRequired=a.bind(null,!0),l}function m(e){return p(function(t,n,r,o,a,i){var l=t[n];return g(l)!==e?new d("Invalid "+o+" `"+a+"` of type `"+v(l)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null})}function h(e,t,n,r,o){return new d((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function y(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(y);if(null===t||e(t))return!0;var r=function(e){var t=e&&(n&&e[n]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!r)return!1;var o,a=r.call(t);if(r!==t.entries){for(;!(o=a.next()).done;)if(!y(o.value))return!1}else for(;!(o=a.next()).done;){var i=o.value;if(i&&!y(i[1]))return!1}return!0;default:return!1}}function g(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 v(e){if(null==e)return""+e;var t=g(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function b(e){var t=v(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return d.prototype=Error.prototype,c.checkPropTypes=u,c.resetWarningCache=u.resetWarningCache,c.PropTypes=c,c}},"./node_modules/prop-types/index.js":(e,t,n)=>{var r=n("./node_modules/react-is/index.js");e.exports=n("./node_modules/prop-types/factoryWithTypeCheckers.js")(r.isElement,!0)},"./node_modules/prop-types/lib/ReactPropTypesSecret.js":e=>{e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},"./node_modules/prop-types/lib/has.js":e=>{e.exports=Function.call.bind(Object.prototype.hasOwnProperty)},"./node_modules/react-is/cjs/react-is.development.js":(e,t)=>{!function(){var e="function"==typeof Symbol&&Symbol.for,n=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:var p=e.type;switch(p){case s:case c:case o:case i:case a:case d:return p;default:var y=p&&p.$$typeof;switch(y){case u:case f:case h:case m:case l:return y;default:return t}}case r:return t}}}var w=c,S=u,_=l,C=n,O=f,k=o,T=h,P=m,x=r,A=i,N=a,L=d,R=!1;function M(e){return E(e)===c}t.AsyncMode=s,t.ConcurrentMode=w,t.ContextConsumer=S,t.ContextProvider=_,t.Element=C,t.ForwardRef=O,t.Fragment=k,t.Lazy=T,t.Memo=P,t.Portal=x,t.Profiler=A,t.StrictMode=N,t.Suspense=L,t.isAsyncMode=function(e){return R||(R=!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.")),M(e)||E(e)===s},t.isConcurrentMode=M,t.isContextConsumer=function(e){return E(e)===u},t.isContextProvider=function(e){return E(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return E(e)===f},t.isFragment=function(e){return E(e)===o},t.isLazy=function(e){return E(e)===h},t.isMemo=function(e){return E(e)===m},t.isPortal=function(e){return E(e)===r},t.isProfiler=function(e){return E(e)===i},t.isStrictMode=function(e){return E(e)===a},t.isSuspense=function(e){return E(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===i||e===a||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===f||e.$$typeof===g||e.$$typeof===v||e.$$typeof===b||e.$$typeof===y)},t.typeOf=E}()},"./node_modules/react-is/index.js":(e,t,n)=>{e.exports=n("./node_modules/react-is/cjs/react-is.development.js")},"./node_modules/shallow-equal/dist/index.esm.js":(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}n.r(t),n.d(t,{shallowEqualArrays:()=>o,shallowEqualObjects:()=>r})},"./src/Component.ts":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("./src/useMediaQuery.ts"));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}},"./src/Context.ts":(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});var r=(0,n("react").createContext)(void 0);t.default=r},"./src/index.ts":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("./src/useMediaQuery.ts"));t.useMediaQuery=o.default;var a=r(n("./src/Component.ts"));t.default=a.default;var i=r(n("./src/toQuery.ts"));t.toQuery=i.default;var l=r(n("./src/Context.ts"));t.Context=l.default},"./src/mediaQuery.ts":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("./node_modules/prop-types/index.js")),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}},"./src/toQuery.ts":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("./node_modules/hyphenate-style-name/index.js")),a=r(n("./src/mediaQuery.ts"));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 ")}},"./src/useMediaQuery.ts":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=n("react"),a=r(n("./node_modules/matchmediaquery/index.js")),i=r(n("./node_modules/hyphenate-style-name/index.js")),l=n("./node_modules/shallow-equal/dist/index.esm.js"),u=r(n("./src/toQuery.ts")),s=r(n("./src/Context.ts")),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=(0,o.useRef)(!1);return(0,o.useEffect)(function(){e.current=!0},[]),e.current};t.default=function(e,t,n){var r=function(e){var t=(0,o.useContext)(s.default),n=function(){return c(e)||c(t)},r=(0,o.useState)(n),a=r[0],i=r[1];return(0,o.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=(0,o.useState)(t),r=n[0],a=n[1];return(0,o.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=(0,o.useState)(n),i=r[0],l=r[1],u=f();return(0,o.useEffect)(function(){if(u){var e=n();return l(e),function(){e&&e.dispose()}}},[e,t]),i}(i,r),p=function(e){var t=(0,o.useState)(e.matches),n=t[0],r=t[1];return(0,o.useEffect)(function(){var t=function(e){r(e.matches)};return e.addListener(t),r(e.matches),function(){e.removeListener(t)}},[e]),n}(d),m=f();return(0,o.useEffect)(function(){m&&n&&n(p)},[p]),(0,o.useEffect)(function(){return function(){d&&d.dispose()}},[]),p}},react:t=>{t.exports=e}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var a=n[e]={exports:{}};return t[e].call(a.exports,a,a.exports,r),a.exports}return r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r("./src/index.ts")})(),e.exports=n(sr)});function dg(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function pg(e){dg(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 mg(e){dg(1,arguments);var t=pg(e);return t.setHours(0,0,0,0),t}function hg(e,t){dg(2,arguments);var n=mg(e),r=mg(t);return n.getTime()===r.getTime()}function yg(e){return dg(1,arguments),1e3*e}var gg,vg,bg,Eg=function(e){var t=e.installments_count,n=e.deferred_days+30*e.deferred_months;return 1===t?sr.createElement(oi,{id:"payment-plan-strings.day-abbreviation",defaultMessage:"J{numberOfDeferredDays}",values:{numberOfDeferredDays:n>0?"+"+n:""}}):t+"x"},wg=function(e){var t;if(null!=(t=e.payment_plan)&&t.every(function(e){return 0===e.customer_fee&&0===e.customer_interest}))return sr.createElement(sr.Fragment,null," ",sr.createElement(oi,{id:"payment-plan-strings.no-fee",defaultMessage:"(sans frais)"}))},Sg=function(e){var t=e.eligibilityPlans,n=e.currentPlanIndex,r=e.setCurrentPlanIndex;return sr.createElement("div",{className:yy("_1l2Oa",vy.eligibilityOptions)},t.map(function(e,t){var o;return sr.createElement("button",{key:t,className:yy((o={},o[yy("_3rue7",vy.activeOption)]=t===n,o)),onClick:function(){return r(t)}},Eg(e))}))},_g=function(e){var t,n,r=e.installment,o=e.index;return sr.createElement("div",{className:"_z2Uiv","data-testid":"installment-"+o},sr.createElement("div",{className:"_2lJQy"},sr.createElement("div",{className:yy("_1Z9wr",(t={},t._2Nmkl=0===o,t))}),function(e){return dg(1,arguments),hg(e,Date.now())}(1e3*r.due_date)?sr.createElement(oi,{id:"installments.today",defaultMessage:"Aujourd'hui",tagName:"strong"}):sr.createElement(ai,{value:1e3*r.due_date,day:"numeric",month:"long",year:"numeric"})),sr.createElement("div",{className:yy((n={},n["_ezY-3"]=0===o,n))},sr.createElement(ii,{value:r.total_amount/100,style:"currency",currency:"EUR"})))},Cg=function(e){var t=e.currentPlan,n=t.installments_count>4;return sr.createElement(sr.Fragment,null,sr.createElement("div",{className:yy("_MPKjS",vy.scheduleDetails),"data-testid":"modal-installments-element"},((null==t?void 0:t.payment_plan)||[]).map(function(e,t){return sr.createElement(_g,{key:1e3*e.due_date,installment:e,index:t})}),n&&sr.createElement("div",{className:"_3a7er"},sr.createElement(oi,{id:"credit-features.information",defaultMessage:"Un crédit vous engage et doit être remboursé. Vérifiez vos capacités de remboursement avant de vous engager."}))))},Og=["color"],kg=function(e){var t=e.color,n=void 0===t?"#FA5022":t,r=py(e,Og);return sr.createElement("svg",Object.assign({width:"50",height:"25",viewBox:"0 0 360 109",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),sr.createElement("path",{d:"M333.24 28.3462V38.4459C327.504 31.1018 319.176 26.5132 309.288 26.5132C290.208 26.5132 275.424 43.5497 275.424 64.5757C275.424 85.6018 290.208 102.638 309.288 102.638C319.872 102.638 328.668 97.3908 334.416 89.1241V100.817H352.668V28.3462H333.24ZM314.028 84.4876C303.42 84.4876 294.828 75.574 294.828 64.5757C294.828 53.5775 303.42 44.6639 314.028 44.6639C324.636 44.6639 333.228 53.5775 333.228 64.5757C333.228 75.574 324.636 84.4876 314.028 84.4876ZM109.5 8.23073H128.916V100.805H109.5V8.23073ZM151.248 59.7356C151.248 39.8117 163.5 26.5252 180.468 26.5252C191.004 26.5252 199.332 31.1976 204.348 39.1648C209.376 31.1976 217.692 26.5252 228.228 26.5252C245.196 26.5252 257.448 39.8117 257.448 59.7356V100.817H238.032V57.639C238.032 49.8635 232.872 44.7957 226.044 44.7957C219.216 44.7957 214.056 49.8755 214.056 57.639V100.817H194.64V57.639C194.64 49.8635 189.48 44.7957 182.652 44.7957C175.824 44.7957 170.664 49.8755 170.664 57.639V100.817H151.248V59.7356ZM74.34 29.101C69.744 11.9088 60.0241 6.40967 50.772 6.40967C41.5201 6.40967 31.8 11.9088 27.204 29.101L7.24805 100.829H26.916C30.12 88.8485 39.996 82.1753 50.772 82.1753C61.548 82.1753 71.424 88.8605 74.6281 100.829H94.3081L74.34 29.101ZM50.772 65.4623C44.508 65.4623 38.8321 67.8345 34.6441 71.6803L45.924 29.9397C47.0041 25.9501 48.6001 24.6802 50.784 24.6802C52.9681 24.6802 54.5641 25.9501 55.6441 29.9397L66.912 71.6803C62.724 67.8345 57.036 65.4623 50.772 65.4623Z",fill:n}))},Tg=function(){return sr.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"16",viewBox:"0 0 24 16"},sr.createElement("defs",null,sr.createElement("linearGradient",{id:"cardamex",x1:"10.914%",x2:"87.432%",y1:"86.279%",y2:"15.035%"},sr.createElement("stop",{offset:"0%",stopColor:"#3FA9F5"}),sr.createElement("stop",{offset:"100%",stopColor:"#0071BC"}))),sr.createElement("g",{fill:"none",fillRule:"evenodd"},sr.createElement("path",{fill:"url(#cardamex)",fillRule:"nonzero",d:"M22.559 16H1.379C.627 16 0 15.392 0 14.662V1.338C0 .608.627 0 1.379 0H22.62C23.373 0 24 .608 24 1.338v13.324c-.063.73-.627 1.338-1.441 1.338z"}),sr.createElement("g",{fill:"#FFF"},sr.createElement("path",{d:"M10.115 8.711L8.889 6.044H7.295v3.852L5.517 6.044H4.17l-1.778 4.03h1.103l.368-.889h2.023l.368.89h2.084V7.11l1.349 2.963h.92l1.348-2.904v2.904h.98v-4.03H11.28l-1.165 2.667zm-5.272-.474H4.23l.613-1.422v.06l.613 1.362h-.613z"}),sr.createElement("path",{fillRule:"nonzero",d:"M19.372 7.94l.735-.77 1.042-1.185h-1.287L18.697 7.23l-1.164-1.245h-3.985v3.97h3.923l1.226-1.303 1.165 1.304h1.287L20.107 8.71l-.735-.77zM16.92 9.186h-2.33v-.77h2.268v-.77H14.59v-.712h2.33L18.084 8 16.92 9.185z"}))))},Pg=function(){return sr.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"16",viewBox:"0 0 24 16"},sr.createElement("g",{fill:"none",fillRule:"nonzero"},sr.createElement("path",{fill:"#FCFCFC",d:"M22.684 16H1.38C.627 16 0 15.39 0 14.656V1.344C0 .61.627 0 1.379 0H22.62C23.373 0 24 .61 24 1.344v13.374c0 .671-.564 1.282-1.316 1.282z"})," ",sr.createElement("path",{fill:"#005098",d:"M8.889 10.726l.948-5.393h1.482l-.949 5.393zM15.704 5.452a3.658 3.658 0 0 0-1.304-.237c-1.481 0-2.489.71-2.489 1.778 0 .77.711 1.185 1.304 1.481.592.237.77.415.77.652 0 .355-.474.533-.889.533-.592 0-.889-.059-1.363-.296l-.177-.06-.178 1.186c.355.178 1.007.296 1.659.296 1.54 0 2.548-.71 2.548-1.837 0-.592-.415-1.067-1.244-1.481-.534-.237-.83-.415-.83-.652 0-.237.237-.474.83-.474.474 0 .83.118 1.126.178l.118.059.119-1.126M19.496 5.333H18.37c-.355 0-.592.119-.77.474l-2.193 4.919h1.541s.237-.652.296-.83h1.897c.059.178.178.83.178.83h1.362l-1.185-5.393zM17.66 8.77l.593-1.481s.118-.296.178-.533l.118.474s.296 1.303.356 1.54h-1.245zM7.644 5.333L6.222 9.007l-.178-.77C5.748 7.348 4.92 6.459 4.03 5.985l1.303 4.682h1.541l2.311-5.393h-1.54"}),sr.createElement("path",{fill:"#F6A500",d:"M4.919 5.333h-2.37v.119c1.836.474 3.08 1.54 3.555 2.844L5.57 5.807c-.118-.414-.355-.474-.651-.474"}),sr.createElement("path",{fill:"#0A5296",d:"M23.937 3.23H0V1.316C0 .598.627 0 1.379 0H22.62C23.373 0 24 .598 24 1.316V3.23h-.063z"}),sr.createElement("path",{fill:"#F4A428",d:"M.063 13H24v1.8c0 .655-.625 1.2-1.375 1.2H1.375C.625 16 0 15.455 0 14.8V13h.063z"})))},xg=function(){return sr.createElement("svg",{width:"24px",height:"16px",viewBox:"0 0 24 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},sr.createElement("g",{id:"Parcours-1C-B",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},sr.createElement("g",{id:"mobile-1C-Paiement-V1",transform:"translate(-269.000000, -313.000000)"},sr.createElement("g",{id:"mastercard",transform:"translate(269.000000, 313.000000)"},sr.createElement("rect",{id:"Rectangle",fill:"#FFFFFF",x:"0",y:"0",width:"24",height:"16",rx:"1"}),sr.createElement("g",{id:"Group-6",transform:"translate(4.000000, 3.000000)"},sr.createElement("circle",{id:"Oval-4-Copy",fill:"#EA001B",cx:"5.05263158",cy:"5.05263158",r:"5.05263158"}),sr.createElement("circle",{id:"Oval-4",fillOpacity:"0.25",fill:"#F79F1A",cx:"10.9473684",cy:"5.05263158",r:"5.05263158"}),sr.createElement("circle",{id:"Oval-4-Copy-2",fillOpacity:"0.9",fill:"#F79F1A",cx:"10.9473684",cy:"5.05263158",r:"5.05263158"}),sr.createElement("circle",{id:"Oval-4-Copy-3",fillOpacity:"0.3",fill:"#EA001B",cx:"5.05263158",cy:"5.05263158",r:"5.05263158"}))))))},Ag=function(){return sr.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"16",viewBox:"0 0 24 16"},sr.createElement("defs",null,sr.createElement("linearGradient",{id:"cardcb",x1:"5.842%",x2:"95.393%",y1:"81.753%",y2:"17.344%"},sr.createElement("stop",{offset:"0%",stopColor:"#39B54A"})," ",sr.createElement("stop",{offset:"100%",stopColor:"#0A5296"}))),sr.createElement("g",{fill:"none",fillRule:"nonzero"},sr.createElement("path",{fill:"url(#cardcb)",d:"M22.621 16H1.38C.627 16 0 15.392 0 14.662V1.338C0 .608.627 0 1.379 0H22.62C23.373 0 24 .608 24 1.338v13.324c-.063.73-.627 1.338-1.379 1.338z"}),sr.createElement("g",{fill:"#FFF"},sr.createElement("path",{d:"M19.094 4.03h-6.437V8h6.498c1.165 0 2.084-.889 2.084-2.015-.06-1.066-.98-1.955-2.145-1.955zM19.094 8.593h-6.437v3.97h6.498c1.165 0 2.084-.889 2.084-2.015-.06-1.067-.98-1.955-2.145-1.955zM7.017 8.06h4.966c-.245-2.371-2.391-4.267-4.966-4.267-2.758 0-5.027 2.074-5.027 4.681s2.269 4.682 5.027 4.682c2.698 0 4.904-2.015 5.027-4.563H7.017v-.534z"}))))},Ng={cardContainer:"_1N3yO"},Lg=function(e){var t=Array.from(new Set(e.cards));return sr.createElement("div",{"data-testid":"card-logos",className:yy(Ng.cardContainer,vy.cardContainer)},t.map(function(e){return sr.createElement("div",{key:e,className:Ng.card,"data-testid":"card-logo-"+e},"cb"===e&&sr.createElement(Ag,null),"amex"===e&&sr.createElement(Tg,null),"mastercard"===e&&sr.createElement(xg,null),"visa"===e&&sr.createElement(Pg,null))}))},Rg=function(){return sr.createElement("div",{className:yy("_180ro",vy.info),"data-testid":"modal-info-element"},sr.createElement("div",{className:"_1HqCO"},sr.createElement("div",{className:yy("_3B8wx",vy.bullet)},"1"),sr.createElement("div",{className:vy.infoMessage},sr.createElement(oi,{id:"eligibility-modal.bullet-1",defaultMessage:"Choisissez <strong>Alma</strong> au moment du paiement.",values:{strong:function(){return sr.createElement("strong",null,[].slice.call(arguments))}}}))),sr.createElement("div",{className:"_1HqCO"},sr.createElement("div",{className:yy("_3B8wx",vy.bullet)},"2"),sr.createElement("div",{className:vy.infoMessage},sr.createElement(oi,{id:"eligibility-modal.bullet-2",defaultMessage:"Renseignez les <strong>informations</strong> demandées.",values:{strong:function(){return sr.createElement("strong",null,[].slice.call(arguments))}}}))),sr.createElement("div",{className:"_1HqCO"},sr.createElement("div",{className:yy("_3B8wx",vy.bullet)},"3"),sr.createElement("div",{className:vy.infoMessage},sr.createElement(oi,{id:"eligibility-modal.bullet-3",defaultMessage:"La validation de votre paiement est <strong>instantanée</strong> !",values:{strong:function(){return sr.createElement("strong",null,[].slice.call(arguments))}}}))))},Mg=function(e){var t=e.isSomePlanDeferred;return sr.createElement("div",{className:yy("_3ERx-",vy.title),"data-testid":"modal-title-element"},sr.createElement(oi,t?{id:"eligibility-modal.title-deferred-plan",defaultMessage:"Payez en plusieurs fois ou plus tard par carte bancaire avec Alma."}:{id:"eligibility-modal.title-normal",defaultMessage:"Payez en plusieurs fois par carte bancaire avec Alma."}))},Ig=function(e){var t=e.children,n=e.isSomePlanDeferred,r=e.cards;return sr.createElement("div",{className:yy("_21g6u",vy.desktopModal),"data-testid":"modal-container"},sr.createElement("aside",{className:yy(["_3zaP5","_2SBRC",vy.leftSide])},sr.createElement(Mg,{isSomePlanDeferred:n}),sr.createElement(Rg,null),r&&sr.createElement(Lg,{cards:r}),sr.createElement(kg,{className:"_xW3wt",width:"75"})),sr.createElement("div",{className:yy("_3zaP5",vy.rightSide)},t))},Dg=function(e){var t=e.children,n=e.isSomePlanDeferred,r=e.cards;return sr.createElement("div",{className:yy("_2G7Ch",vy.mobileModal),"data-testid":"modal-container"},sr.createElement(Mg,{isSomePlanDeferred:n}),t,sr.createElement(Rg,null),r&&sr.createElement(Lg,{cards:r}),sr.createElement(kg,{className:"_2779r",width:"75"}))},Fg=function(e){var t=e.onClose,n=e.eligibilityPlans,r=e.status,o=e.cards,a=sr.useState(e.initialPlanIndex||0),i=a[0],l=a[1],u=fg.useMediaQuery({minWidth:800})?Ig:Dg,s=n.filter(function(e){return e.eligible}),c=s[i],f=n.some(function(e){return e.deferred_days>0||e.deferred_months>0});return sr.createElement(cg,{onClose:t,ariaHideApp:!1,scrollable:!0,isOpen:!0},sr.createElement(u,{isSomePlanDeferred:f,cards:o},r===Zn.PENDING&&sr.createElement("div",{className:"_2oTJq"},sr.createElement(Ey,null)),r===Zn.SUCCESS&&0===s.length&&sr.createElement("div",{className:"_17qNJ"},sr.createElement(oi,{id:"eligibility-modal.no-eligibility",defaultMessage:"Oups, il semblerait que la simulation n'ait pas fonctionné."})),r===Zn.SUCCESS&&s.length>=1&&sr.createElement(sr.Fragment,null,sr.createElement(Sg,{eligibilityPlans:s,currentPlanIndex:i,setCurrentPlanIndex:l}),sr.createElement("div",{className:"_2u9rj"},sr.createElement("div",{className:"_VRdAU"}),sr.createElement(Cg,{currentPlan:c}),sr.createElement(by,{currentPlan:c})))))},Hg=function(e){var t=e.onClose,n=e.cards,r=hy(e.purchaseAmount,e.apiData,e.configPlans,e.customerBillingCountry,e.customerShippingCountry);return sr.createElement(Fg,{initialPlanIndex:0,onClose:t,eligibilityPlans:r[0],status:r[1],cards:n})},Bg=function(e){return sr.createElement("div",{className:yy("_2SwwZ",e.className),"data-testid":"loader"},sr.createElement("div",{className:"_2qODo"}),sr.createElement("div",{className:"_2YO01"}))},jg="alma-payment-plans",Ug={container:jg+"-container",eligibilityLine:jg+"-eligibility-line",eligibilityOptions:jg+"-eligibility-options",notEligibleOption:jg+"-not-eligible-option",paymentInfo:jg+"-payment-info",activeOption:jg+"-active-option"},zg=function(e){var t,n,r,o,a=e.hideIfNotEligible,i=e.monochrome,l=e.suggestedPaymentPlan,u=e.cards,s=e.transitionDelay,c=e.hideBorder,f=void 0!==c&&c,d=hy(e.purchaseAmount,e.apiData,e.configPlans,e.customerBillingCountry,e.customerShippingCountry),p=d[0],m=d[1],h=p.filter(function(e){return e.eligible}),y=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:p,suggestedPaymentPlan:null!=l?l:0}),g=void 0!==l,v=void 0!==s,b=sr.useState(!1),E=b[0],w=b[1],S=p.reduce(function(e,t,n){return t.eligible?[].concat(e,[n]):e},[]),_=function(e,t){var n=sr.useState(0),r=n[0],o=n[1],a=sr.useState(!0),i=a[0],l=a[1];return sr.useEffect(function(){var n,a=!0;return 0!==e.length&&(!e.includes(r)&&i&&o(e[0]),n=setTimeout(function(){i&&a&&o(e[e.includes(r)?(e.indexOf(r)+1)%e.length:0])},t)),function(){a=!1,clearTimeout(n)}},[e,r]),{current:r,onHover:function(e){o(e),l(!1)},onLeave:function(){l(!0)}}}(S,v?null!=s?s:5500:g?31536e6:5500),C=_.current,O=_.onHover,k=_.onLeave;return sr.useEffect(function(){m===Zn.SUCCESS&&g&&(O(y),k())},[m]),m===Zn.PENDING?sr.createElement("div",{className:yy("_TSkFv","_1ZDMS")},sr.createElement(Bg,null)):a&&0===h.length||0===p.length||m===Zn.FAILED?null:sr.createElement(sr.Fragment,null,sr.createElement("div",{onClick:function(e){e.preventDefault(),h.length>0&&w(!0)},className:yy("_TSkFv",(t={},t._UksZa=h.length>0,t["_1lr-q"]=0===h.length,t._3_qcn=f,t),Ug.container),"data-testid":"widget-button"},sr.createElement("div",{className:yy("_bMClc",Ug.eligibilityLine)},sr.createElement(kg,{className:"_LJ4nZ",color:i?"var(--off-black)":void 0}),sr.createElement("div",{className:yy("_17c_S",Ug.eligibilityOptions)},p.map(function(e,t){var n,r=t===C;return sr.createElement("div",{key:t,onMouseEnter:function(){return O(t)},onTouchStart:function(){return O(t)},onMouseOut:k,onTouchEnd:k,className:yy("_2Kqjn",(n={},n[yy("_3dG_J",Ug.activeOption)]=r,n._2hx83=i&&r,n[yy("_3O1bg",Ug.notEligibleOption)]=!e.eligible,n))},Eg(e))}))),sr.createElement("div",{className:yy("_25GrF",(n={},n[yy("_3O1bg",Ug.notEligibleOption)]=p[C]&&!p[C].eligible,n),Ug.paymentInfo)},0!==p.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 sr.createElement(oi,e.purchase_amount>a?{id:"payment-plan-strings.ineligible-greater-than-max",defaultMessage:"Jusqu'à {maxAmount}",values:{maxAmount:sr.createElement(ii,{value:nr(a),style:"currency",currency:"EUR"})}}:{id:"payment-plan-strings.ineligible-lower-than-min",defaultMessage:"À partir de {minAmount}",values:{minAmount:sr.createElement(ii,{value:nr(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 sr.createElement(sr.Fragment,null,sr.createElement(oi,{id:"payment-plan-strings.deferred",defaultMessage:"{totalAmount} à payer le {dueDate}",values:{totalAmount:sr.createElement(ii,{value:nr(i[0].total_amount),style:"currency",currency:"EUR"}),dueDate:sr.createElement(ai,{value:yg(i[0].due_date),day:"numeric",month:"long",year:"numeric"})}}),wg(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 sr.createElement(sr.Fragment,null,sr.createElement(oi,u?{id:"payment-plan-strings.multiple-installments-same-amount",defaultMessage:"{installmentsCount} x {totalAmount}",values:{totalAmount:sr.createElement(ii,{value:nr(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:sr.createElement(ii,{value:nr(i[0].total_amount),style:"currency",currency:"EUR"}),numberOfRemainingInstallments:t-1,othersInstallmentAmount:sr.createElement(ii,{value:nr(i[1].total_amount),style:"currency",currency:"EUR"})}}),wg(e))}return sr.createElement(oi,{id:"payment-plan-strings.default-message",defaultMessage:"Payez en plusieurs fois avec Alma"})}(p[C]))),E&&sr.createElement(Fg,{initialPlanIndex:(r=C,o=S.findIndex(function(e){return e===r}),-1===o?0:o),onClose:function(){return w(!1)},eligibilityPlans:h,status:m,cards:u}))},Gg=function(){function e(e){this.apiData=e}return e.prototype.add=function(e,t){var n=this,r=document.querySelector(t.container);if(r&&fy.unmountComponentAtNode(r),e===Xn.PaymentPlans){var o=t.container,a=t.hideBorder,i=t.monochrome,l=t.locale;r&&fy.render(sr.createElement(hi,{locale:void 0===l?Jn.en:l},sr.createElement(zg,{apiData:this.apiData,configPlans:t.plans,hideIfNotEligible:t.hideIfNotEligible,monochrome:void 0===i||i,purchaseAmount:t.purchaseAmount,suggestedPaymentPlan:t.suggestedPaymentPlan,cards:t.cards,customerBillingCountry:t.customerBillingCountry,customerShippingCountry:t.customerShippingCountry,transitionDelay:t.transitionDelay,hideBorder:void 0!==a&&a})),document.querySelector(o))}if(e===Xn.Modal){var u,s=t.container,c=t.clickableSelector,f=t.purchaseAmount,d=t.plans,p=t.locale,m=void 0===p?Jn.en:p,h=t.customerBillingCountry,y=t.customerShippingCountry,g=t.cards,v=function(){return r&&fy.unmountComponentAtNode(r)},b=function(){fy.render(sr.createElement(hi,{locale:m},sr.createElement(Hg,{purchaseAmount:f,apiData:n.apiData,configPlans:d,customerBillingCountry:h,customerShippingCountry:y,onClose:v,cards:g})),document.querySelector(s))};return c&&(null==(u=document.querySelector(c))||u.addEventListener("click",b,!1)),{open:b,close:v}}},e}();(gg=e.ApiMode||(e.ApiMode={})).LIVE="https://api.getalma.eu",gg.TEST="https://api.sandbox.getalma.eu",(vg=e.Widgets||(e.Widgets={})).initialize=function(e,t){return new Gg({domain:t,merchantId:e})},vg.PaymentPlans=Xn.PaymentPlans,vg.Modal=Xn.Modal,(bg=e.Utils||(e.Utils={})).priceToCents=function(e){return Math.round(100*e)},bg.priceFromCents=nr,bg.formatCents=function(e){return String(nr(e)).replace(".",",")}});
2
2
  //# sourceMappingURL=widgets.umd.js.map