@alma/widgets 2.1.0 → 2.2.2

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=Math.ceil,n=Math.floor,r=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)},o=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},a=function(e){return function(t,n){var a,i,l=String(o(t)),u=r(n),s=l.length;return u<0||u>=s?e?"":void 0:(a=l.charCodeAt(u))<55296||a>56319||u+1===s||(i=l.charCodeAt(u+1))<56320||i>57343?e?l.charAt(u):a:e?l.slice(u,u+2):i-56320+(a-55296<<10)+65536}},i={codeAt:a(!1),charAt:a(!0)},l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function u(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function s(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 c=function(e){return e&&e.Math==Math&&e},f=c("object"==typeof globalThis&&globalThis)||c("object"==typeof window&&window)||c("object"==typeof self&&self)||c("object"==typeof l&&l)||function(){return this}()||Function("return this")(),d=function(e){try{return!!e()}catch(e){return!0}},p=!d(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),m=function(e){return"object"==typeof e?null!==e:"function"==typeof e},h=f.document,g=m(h)&&m(h.createElement),y=function(e){return g?h.createElement(e):{}},v=!p&&!d(function(){return 7!=Object.defineProperty(y("div"),"a",{get:function(){return 7}}).a}),b=function(e){if(!m(e))throw TypeError(String(e)+" is not an object");return e},E=function(e,t){if(!m(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!m(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!m(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!m(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},w=Object.defineProperty,_={f:p?w:function(e,t,n){if(b(e),t=E(t,!0),b(n),v)try{return w(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},S=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},C=p?function(e,t,n){return _.f(e,t,S(1,n))}:function(e,t,n){return e[t]=n,e},k=function(e,t){try{C(f,e,t)}catch(n){f[e]=t}return t},T=f["__core-js_shared__"]||k("__core-js_shared__",{}),O=Function.toString;"function"!=typeof T.inspectSource&&(T.inspectSource=function(e){return O.call(e)});var P,N,A,L=T.inspectSource,x=f.WeakMap,R="function"==typeof x&&/native code/.test(L(x)),M={}.hasOwnProperty,I=function(e,t){return M.call(e,t)},D=s(function(e){(e.exports=function(e,t){return T[e]||(T[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.8.1",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})}),F=0,U=Math.random(),j=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++F+U).toString(36)},z=D("keys"),V=function(e){return z[e]||(z[e]=j(e))},G={};if(R){var B=T.state||(T.state=new(0,f.WeakMap)),W=B.get,H=B.has,$=B.set;P=function(e,t){return t.facade=e,$.call(B,e,t),t},N=function(e){return W.call(B,e)||{}},A=function(e){return H.call(B,e)}}else{var q=V("state");G[q]=!0,P=function(e,t){return t.facade=e,C(e,q,t),t},N=function(e){return I(e,q)?e[q]:{}},A=function(e){return I(e,q)}}var Q,X,K,Y={set:P,get:N,has:A,enforce:function(e){return A(e)?N(e):P(e,{})},getterFor:function(e){return function(t){var n;if(!m(t)||(n=N(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},Z={}.propertyIsEnumerable,J=Object.getOwnPropertyDescriptor,ee={f:J&&!Z.call({1:2},1)?function(e){var t=J(this,e);return!!t&&t.enumerable}:Z},te={}.toString,ne=function(e){return te.call(e).slice(8,-1)},re="".split,oe=d(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==ne(e)?re.call(e,""):Object(e)}:Object,ae=function(e){return oe(o(e))},ie=Object.getOwnPropertyDescriptor,le={f:p?ie:function(e,t){if(e=ae(e),t=E(t,!0),v)try{return ie(e,t)}catch(e){}if(I(e,t))return S(!ee.f.call(e,t),e[t])}},ue=s(function(e){var t=Y.get,n=Y.enforce,r=String(String).split("String");(e.exports=function(e,t,o,a){var i,l=!!a&&!!a.unsafe,u=!!a&&!!a.enumerable,s=!!a&&!!a.noTargetGet;"function"==typeof o&&("string"!=typeof t||I(o,"name")||C(o,"name",t),(i=n(o)).source||(i.source=r.join("string"==typeof t?t:""))),e!==f?(l?!s&&e[t]&&(u=!0):delete e[t],u?e[t]=o:C(e,t,o)):u?e[t]=o:k(t,o)})(Function.prototype,"toString",function(){return"function"==typeof this&&t(this).source||L(this)})}),se=f,ce=function(e){return"function"==typeof e?e:void 0},fe=function(e,t){return arguments.length<2?ce(se[e])||ce(f[e]):se[e]&&se[e][t]||f[e]&&f[e][t]},de=Math.min,pe=function(e){return e>0?de(r(e),9007199254740991):0},me=Math.max,he=Math.min,ge=function(e){return function(t,n,o){var a,i=ae(t),l=pe(i.length),u=function(e,t){var n=r(e);return n<0?me(n+t,0):he(n,t)}(o,l);if(e&&n!=n){for(;l>u;)if((a=i[u++])!=a)return!0}else for(;l>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},ye=(ge(!0),ge(!1)),ve=function(e,t){var n,r=ae(e),o=0,a=[];for(n in r)!I(G,n)&&I(r,n)&&a.push(n);for(;t.length>o;)I(r,n=t[o++])&&(~ye(a,n)||a.push(n));return a},be=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ee=be.concat("length","prototype"),we={f:Object.getOwnPropertyNames||function(e){return ve(e,Ee)}},_e={f:Object.getOwnPropertySymbols},Se=fe("Reflect","ownKeys")||function(e){var t=we.f(b(e)),n=_e.f;return n?t.concat(n(e)):t},Ce=function(e,t){for(var n=Se(t),r=_.f,o=le.f,a=0;a<n.length;a++){var i=n[a];I(e,i)||r(e,i,o(t,i))}},ke=/#|\.prototype\./,Te=function(e,t){var n=Pe[Oe(e)];return n==Ae||n!=Ne&&("function"==typeof t?d(t):!!t)},Oe=Te.normalize=function(e){return String(e).replace(ke,".").toLowerCase()},Pe=Te.data={},Ne=Te.NATIVE="N",Ae=Te.POLYFILL="P",Le=Te,xe=le.f,Re=function(e,t){var n,r,o,a,i,l=e.target,u=e.global,s=e.stat;if(n=u?f:s?f[l]||k(l,{}):(f[l]||{}).prototype)for(r in t){if(a=t[r],o=e.noTargetGet?(i=xe(n,r))&&i.value:n[r],!Le(u?r:l+(s?".":"#")+r,e.forced)&&void 0!==o){if(typeof a==typeof o)continue;Ce(a,o)}(e.sham||o&&o.sham)&&C(a,"sham",!0),ue(n,r,a,e)}},Me=function(e){return Object(o(e))},Ie=!d(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),De=V("IE_PROTO"),Fe=Object.prototype,Ue=Ie?Object.getPrototypeOf:function(e){return e=Me(e),I(e,De)?e[De]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Fe:null},je=!!Object.getOwnPropertySymbols&&!d(function(){return!String(Symbol())}),ze=je&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ve=D("wks"),Ge=f.Symbol,Be=ze?Ge:Ge&&Ge.withoutSetter||j,We=function(e){return I(Ve,e)||(Ve[e]=je&&I(Ge,e)?Ge[e]:Be("Symbol."+e)),Ve[e]},He=We("iterator"),$e=!1;[].keys&&("next"in(K=[].keys())?(X=Ue(Ue(K)))!==Object.prototype&&(Q=X):$e=!0),null==Q&&(Q={}),I(Q,He)||C(Q,He,function(){return this});var qe,Qe={IteratorPrototype:Q,BUGGY_SAFARI_ITERATORS:$e},Xe=Object.keys||function(e){return ve(e,be)},Ke=p?Object.defineProperties:function(e,t){b(e);for(var n,r=Xe(t),o=r.length,a=0;o>a;)_.f(e,n=r[a++],t[n]);return e},Ye=fe("document","documentElement"),Ze=V("IE_PROTO"),Je=function(){},et=function(e){return"<script>"+e+"<\/script>"},tt=function(){try{qe=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;tt=qe?function(e){e.write(et("")),e.close();var t=e.parentWindow.Object;return e=null,t}(qe):((t=y("iframe")).style.display="none",Ye.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(et("document.F=Object")),e.close(),e.F);for(var n=be.length;n--;)delete tt.prototype[be[n]];return tt()};G[Ze]=!0;var nt=Object.create||function(e,t){var n;return null!==e?(Je.prototype=b(e),n=new Je,Je.prototype=null,n[Ze]=e):n=tt(),void 0===t?n:Ke(n,t)},rt=_.f,ot=We("toStringTag"),at=function(e,t,n){e&&!I(e=n?e:e.prototype,ot)&&rt(e,ot,{configurable:!0,value:t})},it={},lt=Qe.IteratorPrototype,ut=function(){return this},st=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return b(n),function(e){if(!m(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype")}(r),t?e.call(n,r):n.__proto__=r,n}}():void 0),ct=Qe.IteratorPrototype,ft=Qe.BUGGY_SAFARI_ITERATORS,dt=We("iterator"),pt=function(){return this},mt=i.charAt,ht=Y.set,gt=Y.getterFor("String Iterator");!function(e,t,n,r,o,a,i){!function(e,t,n){e.prototype=nt(lt,{next:S(1,function(){var e,t=gt(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=mt(n,r),t.index+=e.length,{value:e,done:!1})})}),at(e,"String Iterator",!1),it["String Iterator"]=ut}(n);var l,u,s,c=function(e){if(void 0===e&&p)return p;if(!ft&&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[dt]||f["@@iterator"]||void 0,p=!ft&&d||c(void 0);if(d&&(l=Ue(d.call(new e)),ct!==Object.prototype&&l.next&&(Ue(l)!==ct&&(st?st(l,ct):"function"!=typeof l[dt]&&C(l,dt,pt)),at(l,"String Iterator",!0))),f[dt]!==p&&C(f,dt,p),void(it.String=p))if(void(u={values:c("values"),keys:c("keys"),entries:c("entries")}))for(s in u)(ft||!(s in f))&&ue(f,s,u[s]);else Re({target:"String",proto:!0,forced:ft||!1},u)}(String,0,function(e){ht(this,{type:"String Iterator",string:String(e),index:0})});var yt=function(e,t,n){if(function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function")}(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}},vt=function(e,t,n,r){try{return r?t(b(n)[0],n[1]):t(n)}catch(t){throw function(e){var t=e.return;void 0!==t&&b(t.call(e))}(e),t}},bt=We("iterator"),Et=Array.prototype,wt=function(e){return void 0!==e&&(it.Array===e||Et[bt]===e)},_t=function(e,t,n){var r=E(t);r in e?_.f(e,r,S(0,n)):e[r]=n},St={};St[We("toStringTag")]="z";var Ct="[object z]"===String(St),kt=We("toStringTag"),Tt="Arguments"==ne(function(){return arguments}()),Ot=Ct?ne: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=Object(e),kt))?n:Tt?ne(t):"Object"==(r=ne(t))&&"function"==typeof t.callee?"Arguments":r},Pt=We("iterator"),Nt=function(e){if(null!=e)return e[Pt]||e["@@iterator"]||it[Ot(e)]},At=We("iterator"),Lt=!1;try{var xt=0,Rt={next:function(){return{done:!!xt++}},return:function(){Lt=!0}};Rt[At]=function(){return this},Array.from(Rt,function(){throw 2})}catch(e){}var Mt,It,Dt,Ft,Ut=!function(e,t){if(!Lt)return!1;var n=!1;try{var r={};r[At]=function(){return{next:function(){return{done:n=!0}}}},Array.from(r)}catch(e){}return n}();function jt(e){return Number((e/100).toFixed(2))}Re({target:"Array",stat:!0,forced:Ut},{from:function(e){var t,n,r,o,a,i,l=Me(e),u="function"==typeof this?this:Array,s=arguments.length,c=s>1?arguments[1]:void 0,f=void 0!==c,d=Nt(l),p=0;if(f&&(c=yt(c,s>2?arguments[2]:void 0,2)),null==d||u==Array&&wt(d))for(n=new u(t=pe(l.length));t>p;p++)i=f?c(l[p],p):l[p],_t(n,p,i);else for(a=(o=d.call(l)).next,n=new u;!(r=a.call(o)).done;p++)i=f?vt(o,c,[r.value,p],!0):r.value,_t(n,p,i);return n.length=p,n}}),function(e){e.PaymentPlans="PaymentPlans"}(Mt||(Mt={})),function(e){e.PENDING="pending",e.SUCCESS="success",e.FAILED="failed"}(It||(It={})),function(e){e.en="en",e.fr="fr",e.de="de",e.it="it",e.es="es",e["nl-NL"]="nl-NL",e["nl-BE"]="nl-BE"}(Dt||(Dt={})),"function"!=typeof(Ft=window.Element.prototype).matches&&(Ft.matches=Ft.msMatchesSelector||Ft.mozMatchesSelector||Ft.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 Ft.closest&&(Ft.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 g=p-m;g<f;++g)delete c[g];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 zt=Object.getOwnPropertySymbols,Vt=Object.prototype.hasOwnProperty,Gt=Object.prototype.propertyIsEnumerable;function Bt(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var Wt=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=Bt(e),a=1;a<arguments.length;a++){for(var i in n=Object(arguments[a]))Vt.call(n,i)&&(o[i]=n[i]);if(zt){r=zt(n);for(var l=0;l<r.length;l++)Gt.call(n,r[l])&&(o[r[l]]=n[r[l]])}}return o},Ht=s(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 g(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 y=g.prototype=new h;y.constructor=g,Wt(y,m.prototype),y.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 _(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var S=/\/+/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 k(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(S,"$&/")+"/"),e(l,o,a,"",function(e){return e})):null!=l&&(_(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(S,"$&/")+"/")+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 T(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 O={current:null};function P(){var e=O.current;if(null===e)throw Error(f(321));return e}var N={ReactCurrentDispatcher:O,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:v,IsSomeRendererActing:{current:!1},assign:Wt};t.Children={map:k,forEach:function(e,t,n){k(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return k(e,function(){t++}),t},toArray:function(e){return k(e,function(e){return e})||[]},only:function(e){if(!_(e))throw Error(f(143));return e}},t.Component=m,t.PureComponent=g,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=N,t.cloneElement=function(e,t,r){if(null==e)throw Error(f(267,e));var o=Wt({},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=_,t.lazy=function(e){return{$$typeof:u,_payload:{_status:-1,_result:e},_init:T}},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"}),$t=(s(function(e,t){}),s(function(e){e.exports=Ht})),qt=function(e,t){return(qt=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)},Qt=function(){return(Qt=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 Xt(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 Kt(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 Yt="function"==typeof Symbol&&Symbol.for,Zt=Yt?Symbol.for("react.element"):60103,Jt=Yt?Symbol.for("react.portal"):60106,en=Yt?Symbol.for("react.fragment"):60107,tn=Yt?Symbol.for("react.strict_mode"):60108,nn=Yt?Symbol.for("react.profiler"):60114,rn=Yt?Symbol.for("react.provider"):60109,on=Yt?Symbol.for("react.context"):60110,an=Yt?Symbol.for("react.async_mode"):60111,ln=Yt?Symbol.for("react.concurrent_mode"):60111,un=Yt?Symbol.for("react.forward_ref"):60112,sn=Yt?Symbol.for("react.suspense"):60113,cn=Yt?Symbol.for("react.suspense_list"):60120,fn=Yt?Symbol.for("react.memo"):60115,dn=Yt?Symbol.for("react.lazy"):60116,pn=Yt?Symbol.for("react.block"):60121,mn=Yt?Symbol.for("react.fundamental"):60117,hn=Yt?Symbol.for("react.responder"):60118,gn=Yt?Symbol.for("react.scope"):60119;function yn(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Zt:switch(e=e.type){case an:case ln:case en:case nn:case tn:case sn:return e;default:switch(e=e&&e.$$typeof){case on:case un:case dn:case fn:case rn:return e;default:return t}}case Jt:return t}}}function vn(e){return yn(e)===ln}var bn={AsyncMode:an,ConcurrentMode:ln,ContextConsumer:on,ContextProvider:rn,Element:Zt,ForwardRef:un,Fragment:en,Lazy:dn,Memo:fn,Portal:Jt,Profiler:nn,StrictMode:tn,Suspense:sn,isAsyncMode:function(e){return vn(e)||yn(e)===an},isConcurrentMode:vn,isContextConsumer:function(e){return yn(e)===on},isContextProvider:function(e){return yn(e)===rn},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Zt},isForwardRef:function(e){return yn(e)===un},isFragment:function(e){return yn(e)===en},isLazy:function(e){return yn(e)===dn},isMemo:function(e){return yn(e)===fn},isPortal:function(e){return yn(e)===Jt},isProfiler:function(e){return yn(e)===nn},isStrictMode:function(e){return yn(e)===tn},isSuspense:function(e){return yn(e)===sn},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===en||e===ln||e===nn||e===tn||e===sn||e===cn||"object"==typeof e&&null!==e&&(e.$$typeof===dn||e.$$typeof===fn||e.$$typeof===rn||e.$$typeof===on||e.$$typeof===un||e.$$typeof===mn||e.$$typeof===hn||e.$$typeof===gn||e.$$typeof===pn)},typeOf:yn};function En(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}s(function(e,t){}),s(function(e){e.exports=bn});var wn=function(e,t){return(wn=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 _n(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}wn(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Sn=function(){return(Sn=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 Cn(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 kn=function(e,t){return(kn=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 Tn(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}kn(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var On=function(){return(On=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 Pn(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 Nn,An,Ln,xn=function(){return(xn=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 Rn(e){return e.type===An.literal}function Mn(e){return e.type===An.argument}function In(e){return e.type===An.number}function Dn(e){return e.type===An.date}function Fn(e){return e.type===An.time}function Un(e){return e.type===An.select}function jn(e){return e.type===An.plural}function zn(e){return e.type===An.pound}function Vn(e){return e.type===An.tag}function Gn(e){return!(!e||"object"!=typeof e||e.type!==Ln.number)}function Bn(e){return!(!e||"object"!=typeof e||e.type!==Ln.dateTime)}!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"}(Nn||(Nn={})),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"}(An||(An={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(Ln||(Ln={}));var Wn=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Hn=/(?:[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 $n(e){var t={};return e.replace(Hn,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 qn,Qn=function(){return(Qn=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)},Xn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Kn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Yn=/^(@+)?(\+|#+)?[rs]?$/g,Zn=/(\*)(0+)|(#+)(0+)|(0+)/g,Jn=/^(0+)$/;function er(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Yn,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 tr(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 nr(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)),!Jn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function rr(e){return tr(e)||{}}function or(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=Qn(Qn(Qn({},t),{notation:"scientific"}),o.options.reduce(function(e,t){return Qn(Qn({},e),rr(t))},{}));continue;case"engineering":t=Qn(Qn(Qn({},t),{notation:"engineering"}),o.options.reduce(function(e,t){return Qn(Qn({},e),rr(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(Zn,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(Jn.test(o.stem))t.minimumIntegerDigits=o.stem.length;else if(Kn.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(Kn,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=Qn(Qn({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=Qn(Qn({},t),er(a)))}else if(Yn.test(o.stem))t=Qn(Qn({},t),er(o.stem));else{var i=tr(o.stem);i&&(t=Qn(Qn({},t),i));var l=nr(o.stem);l&&(t=Qn(Qn({},t),l))}}return t}var ar=new RegExp("^"+Wn.source+"*"),ir=new RegExp(Wn.source+"*$");function lr(e,t){return{start:e,end:t}}var ur=!!String.prototype.startsWith,sr=!!String.fromCodePoint,cr=!!Object.fromEntries,fr=!!String.prototype.codePointAt,dr=!!String.prototype.trimStart,pr=!!String.prototype.trimEnd,mr=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},hr=!0;try{hr="a"===(null===(qn=Sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===qn?void 0:qn[0])}catch(e){hr=!1}var gr,yr=ur?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},vr=sr?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},br=cr?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},Er=fr?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}},wr=dr?function(e){return e.trimStart()}:function(e){return e.replace(ar,"")},_r=pr?function(e){return e.trimEnd()}:function(e){return e.replace(ir,"")};function Sr(e,t){return new RegExp(e,t)}if(hr){var Cr=Sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");gr=function(e,t){var n;return Cr.lastIndex=t,null!==(n=Cr.exec(e)[1])&&void 0!==n?n:""}}else gr=function(e,t){for(var n=[];;){var r=Er(e,t);if(void 0===r||Pr(r)||Nr(r))break;n.push(r),t+=r>=65536?2:1}return vr.apply(void 0,n)};var kr=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var o=this.char();if(123===o){if((a=this.parseArgument(e,n)).err)return a;r.push(a.val)}else{if(125===o&&e>0)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(Nn.UNMATCHED_CLOSING_TAG,lr(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Tr(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:An.pound,location:lr(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:An.literal,value:"<"+r+"/>",location:lr(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()||!Tr(this.char()))return this.error(Nn.INVALID_TAG,lr(i,this.clonePosition()));var l=this.clonePosition();return r!==this.parseTagName()?this.error(Nn.UNMATCHED_CLOSING_TAG,lr(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:An.tag,value:r,children:a,location:lr(n,this.clonePosition())},err:null}:this.error(Nn.INVALID_TAG,lr(i,this.clonePosition())))}return this.error(Nn.UNCLOSED_TAG,lr(n,this.clonePosition()))}return this.error(Nn.INVALID_TAG,lr(n,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&Or(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=lr(n,this.clonePosition());return{val:{type:An.literal,value:r,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Tr(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 vr.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(),vr(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Nn.EXPECT_ARGUMENT_CLOSING_BRACE,lr(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Nn.EMPTY_ARGUMENT,lr(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(Nn.MALFORMED_ARGUMENT,lr(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Nn.EXPECT_ARGUMENT_CLOSING_BRACE,lr(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:An.argument,value:r,location:lr(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Nn.EXPECT_ARGUMENT_CLOSING_BRACE,lr(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(Nn.MALFORMED_ARGUMENT,lr(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=gr(this.message,t);return this.bumpTo(t+n.length),{value:n,location:lr(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(Nn.EXPECT_ARGUMENT_TYPE,lr(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===(d=_r(g.val)).length)return this.error(Nn.EXPECT_ARGUMENT_STYLE,lr(this.clonePosition(),this.clonePosition()));u={style:d,styleLocation:lr(s,this.clonePosition())}}if((y=this.tryParseArgumentClose(r)).err)return y;var c=lr(r,this.clonePosition());if(u&&yr(null==u?void 0:u.style,"::",0)){var f=wr(u.style.slice(2));if("number"===i)return(g=this.parseNumberSkeletonFromString(f,u.styleLocation)).err?g:{val:{type:An.number,value:n,location:c,style:g.val},err:null};if(0===f.length)return this.error(Nn.EXPECT_DATE_TIME_SKELETON,c);var d={type:Ln.dateTime,pattern:f,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?$n(f):{}};return{val:{type:"date"===i?An.date:An.time,value:n,location:c,style:d},err:null}}return{val:{type:"number"===i?An.number:"date"===i?An.date:An.time,value:n,location:c,style:null!==(o=null==u?void 0:u.style)&&void 0!==o?o:null},err:null};case"plural":case"selectordinal":case"select":var p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Nn.EXPECT_SELECT_ARGUMENT_OPTIONS,lr(p,xn({},p)));this.bumpSpace();var m=this.parseIdentifierIfPossible(),h=0;if("select"!==i&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(Nn.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,lr(this.clonePosition(),this.clonePosition()));var g;if(this.bumpSpace(),(g=this.tryParseDecimalInteger(Nn.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Nn.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return g;this.bumpSpace(),m=this.parseIdentifierIfPossible(),h=g.val}var y,v=this.tryParsePluralOrSelectOptions(e,i,t,m);if(v.err)return v;if((y=this.tryParseArgumentClose(r)).err)return y;var b=lr(r,this.clonePosition());return"select"===i?{val:{type:An.select,value:n,options:br(v.val),location:b},err:null}:{val:{type:An.plural,value:n,options:br(v.val),offset:h,pluralType:"plural"===i?"cardinal":"ordinal",location:b},err:null};default:return this.error(Nn.INVALID_ARGUMENT_TYPE,lr(a,l))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Nn.EXPECT_ARGUMENT_CLOSING_BRACE,lr(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(Nn.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,lr(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(Xn).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(Nn.INVALID_NUMBER_SKELETON,t)}return{val:{type:Ln.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?or(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(Nn.EXPECT_PLURAL_ARGUMENT_SELECTOR,Nn.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;s=lr(c,this.clonePosition()),u=this.message.slice(c.offset,this.offset())}if(l.has(u))return this.error("select"===t?Nn.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Nn.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,s);"other"===u&&(a=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Nn.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Nn.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,lr(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:lr(d,this.clonePosition())}]),l.add(u),this.bumpSpace(),u=(o=this.parseIdentifierIfPossible()).value,s=o.location}return 0===i.length?this.error("select"===t?Nn.EXPECT_SELECT_ARGUMENT_SELECTOR:Nn.EXPECT_PLURAL_ARGUMENT_SELECTOR,lr(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(Nn.MISSING_OTHER_CLAUSE,lr(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=lr(r,this.clonePosition());return o?mr(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=Er(this.message,e);if(void 0===t)throw Error("Offset "+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(yr(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 "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Pr(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 Tr(e){return e>=97&&e<=122||e>=65&&e<=90}function Or(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 Pr(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function Nr(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 Ar(e,t){void 0===t&&(t={}),t=xn({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new kr(e,t).parse();if(n.err){var r=SyntaxError(Nn[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,Un(t)||jn(t))for(var n in t.options)delete t.options[n].location,e(t.options[n].value);else In(t)&&Gn(t.style)||(Dn(t)||Fn(t))&&Bn(t.style)?delete t.style.location:Vn(t)&&e(t.children)})}(n.val),n.val}function Lr(e,t){return(t&&t.strategy?t.strategy:Ir)(e,{cache:t&&t.cache?t.cache:jr,serializer:t&&t.serializer?t.serializer:Dr})}function xr(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 Rr(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 Mr(e,t,n,r,o){return n.bind(t,e,r,o)}function Ir(e,t){return Mr(e,this,1===e.length?xr:Rr,t.cache.create(),t.serializer)}var Dr=function(){return JSON.stringify(arguments)};function Fr(){this.cache=Object.create(null)}Fr.prototype.get=function(e){return this.cache[e]},Fr.prototype.set=function(e,t){this.cache[e]=t};var Ur,jr={create:function(){return new Fr}},zr={variadic:function(e,t){return Mr(e,this,Rr,t.cache.create(),t.serializer)},monadic:function(e,t){return Mr(e,this,xr,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(Ur||(Ur={}));var Vr,Gr=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.code=n,o.originalMessage=r,o}return Tn(t,e),t.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},t}(Error),Br=function(e){function t(t,n,r,o){return e.call(this,'Invalid values for "'+t+'": "'+n+'". Options are "'+Object.keys(r).join('", "')+'"',Ur.INVALID_VALUE,o)||this}return Tn(t,e),t}(Gr),Wr=function(e){function t(t,n,r){return e.call(this,'Value for "'+t+'" must be of type '+n,Ur.INVALID_VALUE,r)||this}return Tn(t,e),t}(Gr),Hr=function(e){function t(t,n){return e.call(this,'The intl string context variable "'+t+'" was not provided to the string "'+n+'"',Ur.MISSING_VALUE,n)||this}return Tn(t,e),t}(Gr);function $r(e){return"function"==typeof e}function qr(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"}(Vr||(Vr={}));var Qr,Xr=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===Vr.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&&Rn(t[0]))return[{type:Vr.literal,value:t[0].value}];for(var u=[],s=0,c=t;s<c.length;s++){var f=c[s];if(Rn(f))u.push({type:Vr.literal,value:f.value});else if(zn(f))"number"==typeof i&&u.push({type:Vr.literal,value:r.getNumberFormat(n).format(i)});else{var d=f.value;if(!a||!(d in a))throw new Hr(d,l);var p=a[d];if(Mn(f))p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),u.push({type:"string"==typeof p?Vr.literal:Vr.object,value:p});else if(Dn(f)){var m="string"==typeof f.style?o.date[f.style]:Bn(f.style)?f.style.parsedOptions:void 0;u.push({type:Vr.literal,value:r.getDateTimeFormat(n,m).format(p)})}else if(Fn(f))m="string"==typeof f.style?o.time[f.style]:Bn(f.style)?f.style.parsedOptions:void 0,u.push({type:Vr.literal,value:r.getDateTimeFormat(n,m).format(p)});else if(In(f))(m="string"==typeof f.style?o.number[f.style]:Gn(f.style)?f.style.parsedOptions:void 0)&&m.scale&&(p*=m.scale||1),u.push({type:Vr.literal,value:r.getNumberFormat(n,m).format(p)});else{if(Vn(f)){var h=f.children,g=f.value,y=a[g];if(!$r(y))throw new Wr(g,"function",l);var v=y(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?Vr.literal:Vr.object,value:e}}))}if(Un(f)){if(!(b=f.options[p]||f.options.other))throw new Br(f.value,p,Object.keys(f.options),l);u.push.apply(u,e(b.value,n,r,o,a))}else if(jn(f)){var b;if(!(b=f.options["="+p])){if(!Intl.PluralRules)throw new Gr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Ur.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 Br(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===Vr.literal&&t.type===Vr.literal?n.value+=t.value:e.push(t),e},[]);var w}(u.ast,u.locales,u.formatters,u.formats,e,void 0,u.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(u.locales)[0]}},this.getAst=function(){return u.ast},"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{ignoreTag:null==o?void 0:o.ignoreTag})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(i=e.formats,(l=r)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=l[t])?On(On(On({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=On(On({},n[t]),r[t]||{}),e},{})):n),e},On({},i)):i),this.locales=n,this.formatters=o&&o.formatters||(void 0===(a=this.formatterCache)&&(a={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Lr(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Pn([void 0],t)))},{cache:qr(a.number),strategy:zr.variadic}),getDateTimeFormat:Lr(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Pn([void 0],t)))},{cache:qr(a.dateTime),strategy:zr.variadic}),getPluralRules:Lr(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Pn([void 0],t)))},{cache:qr(a.pluralRules),strategy:zr.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.__parse=Ar,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"}(Qr||(Qr={}));var Kr=function(e){function t(n,r,o){var a=e.call(this,"[@formatjs/intl Error "+n+"] "+r+" \n"+(o?"\n"+o.message+"\n"+o.stack:""))||this;return a.code=n,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(a,t),a}return _n(t,e),t}(Error),Yr=function(e){function t(t,n){return e.call(this,Qr.UNSUPPORTED_FORMATTER,t,n)||this}return _n(t,e),t}(Kr),Zr=function(e){function t(t,n){return e.call(this,Qr.INVALID_CONFIG,t,n)||this}return _n(t,e),t}(Kr),Jr=function(e){function t(t,n){return e.call(this,Qr.MISSING_DATA,t,n)||this}return _n(t,e),t}(Kr),eo=function(e){function t(t,n,r,o){var a=e.call(this,Qr.FORMAT_ERROR,t+" \nLocale: "+n+"\nMessageID: "+(null==r?void 0:r.id)+"\nDefault Message: "+(null==r?void 0:r.defaultMessage)+"\nDescription: "+(null==r?void 0:r.description)+" \n",o)||this;return a.descriptor=r,a}return _n(t,e),t}(Kr),to=function(e){function t(t,n){var r=e.call(this,Qr.MISSING_TRANSLATION,'Missing message: "'+t.id+'" for locale "'+n+'", using '+(t.defaultMessage?"default message":"id")+" as fallback.")||this;return r.descriptor=t,r}return _n(t,e),t}(Kr);function no(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 ro={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},onError:function(e){}};function oo(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function ao(e,t,n,r){var o,a=e&&e[t];if(a&&(o=a[n]),o)return o;r(new Yr("No "+t+" format named: "+n))}function io(e,t){return Object.keys(e).reduce(function(n,r){return n[r]=Sn({timeZone:t},e[r]),n},{})}function lo(e,t){return Object.keys(Sn(Sn({},e),t)).reduce(function(n,r){return n[r]=Sn(Sn({},e[r]||{}),t[r]||{}),n},{})}function uo(e,t){if(!t)return e;var n=Xr.formats;return Sn(Sn(Sn({},n),e),{date:lo(io(n.date,t),io(e.date||{},t)),time:lo(io(n.time,t),io(e.time||{},t))})}function so(e,t,n,r,o){var a=e.locale,i=e.formats,l=e.messages,u=e.defaultLocale,s=e.defaultFormats,c=e.onError,f=e.timeZone,d=e.defaultRichTextElements;void 0===n&&(n={id:""});var p=n.id,m=n.defaultMessage;En(!!p,"[@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 h=String(p),g=l&&Object.prototype.hasOwnProperty.call(l,h)&&l[h];if(Array.isArray(g)&&1===g.length&&g[0].type===An.literal)return g[0].value;if(!r&&g&&"string"==typeof g&&!d)return g.replace(/'\{(.*?)\}'/gi,"{$1}");if(r=Sn(Sn({},d),r||{}),i=uo(i,f),s=uo(s,f),!g){if((!m||a&&a.toLowerCase()!==u.toLowerCase())&&c(new to(n,a)),m)try{return t.getMessageFormat(m,u,s,o).format(r)}catch(e){return c(new eo('Error formatting default message for: "'+h+'", rendering default message verbatim',a,n,e)),"string"==typeof m?m:h}return h}try{return t.getMessageFormat(g,a,i,Sn({formatters:t},o||{})).format(r)}catch(e){c(new eo('Error formatting message: "'+h+'", using '+(m?"default message":"id")+" as fallback.",a,n,e))}if(m)try{return t.getMessageFormat(m,u,s,o).format(r)}catch(e){c(new eo('Error formatting the default message for: "'+h+'", rendering message verbatim',a,n,e))}return"string"==typeof g?g:"string"==typeof m?m:h}var co=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem"];function fo(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=Sn(Sn({},l&&{timeZone:l}),u&&ao(a,t,u,i)),c=no(r,co,s);return"time"!==t||c.hour||c.minute||c.second||c.timeStyle||c.dateStyle||(c=Sn(Sn({},c),{hour:"numeric",minute:"numeric"})),n(o,c)}function po(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 fo(e,"date",t,i).format(l)}catch(t){e.onError(new Kr(Qr.FORMAT_ERROR,"Error formatting date.",t))}return String(l)}function mo(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 fo(e,"time",t,i).format(l)}catch(t){e.onError(new Kr(Qr.FORMAT_ERROR,"Error formatting time.",t))}return String(l)}function ho(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=no(l,co,u?{timeZone:u}:{});try{return t(s,f).formatRange(o,a)}catch(e){c(new Kr(Qr.FORMAT_ERROR,"Error formatting date time range.",e))}return String(o)}function go(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 fo(e,"date",t,i).formatToParts(l)}catch(t){e.onError(new Kr(Qr.FORMAT_ERROR,"Error formatting date.",t))}return[]}function yo(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 fo(e,"time",t,i).formatToParts(l)}catch(t){e.onError(new Kr(Qr.FORMAT_ERROR,"Error formatting time.",t))}return[]}var vo=["localeMatcher","style","type","fallback"];function bo(e,t,n,r){var o=e.locale,a=e.onError;Intl.DisplayNames||a(new Gr('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',Ur.MISSING_INTL_API));var i=no(r,vo);try{return t(o,i).of(n)}catch(e){a(new Kr(Qr.FORMAT_ERROR,"Error formatting display name.",e))}}var Eo=["localeMatcher","type","style"],wo=Date.now();function _o(e,t,n,r){void 0===r&&(r={});var o=So(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 So(e,t,n,r){var o=e.locale,a=e.onError;void 0===r&&(r={}),Intl.ListFormat||a(new Gr('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',Ur.MISSING_INTL_API));var i=no(r,Eo);try{var l={},u=n.map(function(e,t){if("object"==typeof e){var n=function(e){return wo+"_"+e+"_"+wo}(t);return l[n]=e,n}return String(e)});return t(o,i).formatToParts(u).map(function(e){return"literal"===e.type?e:Sn(Sn({},e),{value:l[e.value]||e.value})})}catch(e){a(new Kr(Qr.FORMAT_ERROR,"Error formatting list.",e))}return n}var Co=["localeMatcher","type"];function ko(e,t,n,r){var o=e.locale,a=e.onError;void 0===r&&(r={}),Intl.PluralRules||a(new Gr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Ur.MISSING_INTL_API));var i=no(r,Co);try{return t(o,i).select(n)}catch(e){a(new eo("Error formatting plural.",e))}return"other"}var To=["numeric","style"];function Oo(e,t,n,r,o){void 0===o&&(o={}),r||(r="second"),Intl.RelativeTimeFormat||e.onError(new Gr('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',Ur.MISSING_INTL_API));try{return function(e,t,n){var r=e.locale;void 0===n&&(n={});var o=n.format,a=!!o&&ao(e.formats,"relative",o,e.onError)||{};return t(r,no(n,To,a))}(e,t,o).format(n,r)}catch(t){e.onError(new eo("Error formatting relative time.",t))}return String(n)}var Po=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function No(e,t,n){var r=e.locale;void 0===n&&(n={});var o=n.format,a=o&&ao(e.formats,"number",o,e.onError)||{};return t(r,no(n,Po,a))}function Ao(e,t,n,r){void 0===r&&(r={});try{return No(e,t,r).format(n)}catch(t){e.onError(new Kr(Qr.FORMAT_ERROR,"Error formatting number.",t))}return String(n)}function Lo(e,t,n,r){void 0===r&&(r={});try{return No(e,t,r).formatToParts(n)}catch(t){e.onError(new Kr(Qr.FORMAT_ERROR,"Error formatting number.",t))}return[]}function xo(e){En(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var Ro=Qt(Qt({},ro),{textComponent:$t.Fragment});function Mo(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 Io,Do,Fo=$t.createContext(null),Uo=Fo.Provider,jo=Fo;function zo(){var e=$t.useContext(jo);return xo(e),e}function Vo(e){var t=function(t){var n=zo(),r=t.value,o=t.children,a=Xt(t,["value","children"]),i=n[e](r,a);return"function"==typeof o?o(i):$t.createElement(n.textComponent||$t.Fragment,null,i)};return t.displayName=Io[e],t}function Go(e){return{locale:e.locale,timeZone:e.timeZone,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}function Bo(e){return e?Object.keys(e).reduce(function(t,n){var r,o=e[n];return t[n]=$r(o)?(r=o,function(e){return r($t.Children.toArray(e))}):o,t},{}):e}!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(Io||(Io={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}(Do||(Do={}));var Wo=function(e,t,n,r){for(var o=[],a=4;a<arguments.length;a++)o[a-4]=arguments[a];var i=Bo(r),l=so.apply(void 0,Kt([e,t,n,i],o));return Array.isArray(l)?$t.Children.toArray(l):l},Ho=function(e,t){var n=e.defaultRichTextElements,r=Xt(e,["defaultRichTextElements"]),o=Bo(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=Lr(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Cn([void 0],t)))},{cache:oo(e.dateTime),strategy:zr.variadic}),a=Lr(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Cn([void 0],t)))},{cache:oo(e.number),strategy:zr.variadic}),i=Lr(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Cn([void 0],t)))},{cache:oo(e.pluralRules),strategy:zr.variadic});return{getDateTimeFormat:o,getNumberFormat:a,getMessageFormat:Lr(function(e,t,n,r){return new Xr(e,t,n,Sn({formatters:{getNumberFormat:a,getDateTimeFormat:o,getPluralRules:i}},r||{}))},{cache:oo(e.message),strategy:zr.variadic}),getRelativeTimeFormat:Lr(function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new(t.bind.apply(t,Cn([void 0],e)))},{cache:oo(e.relativeTime),strategy:zr.variadic}),getPluralRules:i,getListFormat:Lr(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,Cn([void 0],e)))},{cache:oo(e.list),strategy:zr.variadic}),getDisplayNames:Lr(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(r.bind.apply(r,Cn([void 0],e)))},{cache:oo(e.displayNames),strategy:zr.variadic})}}(t),r=Sn(Sn({},ro),e),o=r.locale,a=r.defaultLocale,i=r.onError;return o?!Intl.NumberFormat.supportedLocalesOf(o).length&&i?i(new Jr('Missing locale data for locale: "'+o+'" in Intl.NumberFormat. Using default locale: "'+a+'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')):!Intl.DateTimeFormat.supportedLocalesOf(o).length&&i&&i(new Jr('Missing locale data for locale: "'+o+'" in Intl.DateTimeFormat. Using default locale: "'+a+'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')):(i&&i(new Zr('"locale" was not configured, using "'+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.defaultRichTextElements&&"string"==typeof((t=e.messages||{})?t[Object.keys(t)[0]]:void 0)&&console.warn('[@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),Sn(Sn({},r),{formatters:n,formatNumber:Ao.bind(null,r,n.getNumberFormat),formatNumberToParts:Lo.bind(null,r,n.getNumberFormat),formatRelativeTime:Oo.bind(null,r,n.getRelativeTimeFormat),formatDate:po.bind(null,r,n.getDateTimeFormat),formatDateToParts:go.bind(null,r,n.getDateTimeFormat),formatTime:mo.bind(null,r,n.getDateTimeFormat),formatDateTimeRange:ho.bind(null,r,n.getDateTimeFormat),formatTimeToParts:yo.bind(null,r,n.getDateTimeFormat),formatPlural:ko.bind(null,r,n.getPluralRules),formatMessage:so.bind(null,r,n),formatList:_o.bind(null,r,n.getListFormat),formatListToParts:So.bind(null,r,n.getListFormat),formatDisplayName:bo.bind(null,r,n.getDisplayNames)})}(Qt(Qt(Qt({},Ro),r),{defaultRichTextElements:o}),t);return Qt(Qt({},a),{formatMessage:Wo.bind(null,{locale:a.locale,timeZone:a.timeZone,formats:a.formats,defaultLocale:a.defaultLocale,defaultFormats:a.defaultFormats,messages:a.messages,onError:a.onError,defaultRichTextElements:o},a.formatters)})},$o=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:Ho(Go(t.props),t.cache),prevConfig:Go(t.props)},t}return function(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}qt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.getDerivedStateFromProps=function(e,t){var n=t.prevConfig,r=t.cache,o=Go(e);return Mo(n,o)?null:{intl:Ho(o,r),prevConfig:o}},t.prototype.render=function(){return xo(this.state.intl),$t.createElement(Uo,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=Ro,t}($t.PureComponent);function qo(e){var t=zo(),n=t.textComponent,r=e.children,o=e.tagName,a=void 0===o?void 0===n?$t.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?$t.createElement(a,null,$t.Children.toArray(i)):$t.createElement($t.Fragment,null,i)}qo.displayName="FormattedMessage";var Qo=$t.memo(qo,function(e,t){var n=e.values,r=Xt(e,["values"]),o=t.values,a=Xt(t,["values"]);return Mo(o,n)&&Mo(r,a)});Qo.displayName="MemoizedFormattedMessage";var Xo=Vo("formatDate"),Ko=(Vo("formatTime"),Vo("formatNumber")),Yo=(Vo("formatList"),Vo("formatDisplayName"),{"eligibility-modal.bullet-1":"Wählen Sie an der Kasse <strong>Alma</strong> .","eligibility-modal.bullet-2":"Füllen Sie die <strong>angeforderten</strong> Informationen aus.","eligibility-modal.bullet-3":"Die Bestätigung Ihrer Zahlung <strong>sofort</strong> !","eligibility-modal.cost":"Davon Kosten","eligibility-modal.credit-commitment":"Ein Kredit verpflichtet Sie und muss zurückgezahlt werden. Prüfen Sie Ihre Rückzahlungsfähigkeit, bevor Sie sich verpflichten.","eligibility-modal.credit-cost":"Davon Kreditkosten","eligibility-modal.credit-cost-amount":"{creditCost} (APR {TAEG})","eligibility-modal.title":"<highlighted>Bezahlen Sie in Raten</highlighted> oder später per Kreditkarte mit Alma.","eligibility-modal.total":"Insgesamt","installments.today":"Heutzutage","payment-plan-strings.day-abbreviation":"J{numberOfDeferredDays}","payment-plan-strings.default-message":"Bezahlen Sie in Raten mit Alma","payment-plan-strings.deferred":"{totalAmount} zu zahlen am {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Bis zu {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"Ab {minAmount}","payment-plan-strings.multiple-installments":"{firstInstallmentAmount} dann {numberOfRemainingInstallments, plural, one {# Monatsrate} other {# Monatsraten}} von {othersInstallmentAmount}"}),Zo={"eligibility-modal.bullet-1":"Choose <strong>Alma</strong> at checkout.","eligibility-modal.bullet-2":"Fill in the <strong>information</strong> requested.","eligibility-modal.bullet-3":"Validation of your payment <strong>instantaneous</strong>!","eligibility-modal.cost":"Of which costs","eligibility-modal.credit-commitment":"A loan commits you and must be repaid. Check your ability to repay before committing yourself.","eligibility-modal.credit-cost":"Of which cost of credit","eligibility-modal.credit-cost-amount":"{creditCost} (APR {TAEG})","eligibility-modal.title":"<highlighted>Pay in installments</highlighted> or later by credit card with Alma.","eligibility-modal.total":"Total","installments.today":"Today","payment-plan-strings.day-abbreviation":"T{numberOfDeferredDays}","payment-plan-strings.default-message":"Pay in installments with Alma","payment-plan-strings.deferred":"{totalAmount} to be paid on {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Until {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"From {minAmount}","payment-plan-strings.multiple-installments":"{firstInstallmentAmount} then {numberOfRemainingInstallments, plural, one {# monthly installment} other {# monthly installment}} of {othersInstallmentAmount}"},Jo={"eligibility-modal.bullet-1":"Elige <strong>Alma</strong> en el momento de la compra.","eligibility-modal.bullet-2":"Renseignez les <strong>informations</strong> demandées.","eligibility-modal.bullet-3":"¡Validación de su pago <strong>instantánea</strong>!","eligibility-modal.cost":"De los cuales, los costes","eligibility-modal.credit-commitment":"Un préstamo te compromete y debe ser devuelto. Comprueba tu capacidad de repago antes de comprometerte.","eligibility-modal.credit-cost":"De los cuales el coste del crédito","eligibility-modal.credit-cost-amount":"{creditCost} (TAE {TAEG})","eligibility-modal.title":"<highlighted>Paga a plazos</highlighted> o posteriormente con tarjeta de crédito con Alma.","eligibility-modal.total":"Total","installments.today":"Hoy","payment-plan-strings.day-abbreviation":"J{numberOfDeferredDays}","payment-plan-strings.default-message":"Pagar a plazos con Alma","payment-plan-strings.deferred":"{totalAmount} a pagar en {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Hasta que {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"De {minAmount}","payment-plan-strings.multiple-installments":"{firstInstallmentAmount} entonces {numberOfRemainingInstallments, plural, one {# ¡facturación mensual} other {# ¡facturación mensual de}} de {othersInstallmentAmount}"},ea={"eligibility-modal.bullet-1":"Choisissez <strong>Alma</strong> au moment du paiement.","eligibility-modal.bullet-2":"Renseignez les <strong>informations</strong> demandées.","eligibility-modal.bullet-3":"La validation de votre paiement <strong>instantanée</strong> !","eligibility-modal.cost":"Dont frais","eligibility-modal.credit-commitment":"Un crédit vous engage et doit être remboursé. Vérifiez vos capacités de remboursement avant de vous engager.","eligibility-modal.credit-cost":"Dont coût du crédit","eligibility-modal.credit-cost-amount":"{creditCost} (TAEG {TAEG})","eligibility-modal.title":"<highlighted>Payez en plusieurs fois</highlighted> ou plus tard par carte bancaire avec Alma.","eligibility-modal.total":"Total","installments.today":"Aujourd'hui","payment-plan-strings.day-abbreviation":"J{numberOfDeferredDays}","payment-plan-strings.default-message":"Payez en plusieurs fois avec Alma","payment-plan-strings.deferred":"{totalAmount} à payer le {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Jusqu'à {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"À partir de {minAmount}","payment-plan-strings.multiple-installments":"{firstInstallmentAmount} puis {numberOfRemainingInstallments, plural, one {# mensualité} other {# mensualités}} de {othersInstallmentAmount}"},ta={"eligibility-modal.bullet-1":"Scegliete <strong>Alma</strong> alla cassa.","eligibility-modal.bullet-2":"Compila le informazioni <strong></strong> richieste.","eligibility-modal.bullet-3":"Convalida del vostro pagamento <strong>istantaneo</strong>!","eligibility-modal.cost":"Di cui costi","eligibility-modal.credit-commitment":"Un prestito ti impegna e deve essere ripagato. Controllate la vostra capacità di rimborso prima di impegnarvi.","eligibility-modal.credit-cost":"Di cui costo del credito","eligibility-modal.credit-cost-amount":"{creditCost} (APR {TAEG})","eligibility-modal.title":"<highlighted>Paga a rate</highlighted> o successivamente con carta di credito con Alma.","eligibility-modal.total":"Totale","installments.today":"Oggi","payment-plan-strings.day-abbreviation":"J{numberOfDeferredDays}","payment-plan-strings.default-message":"Paga a rate con Alma","payment-plan-strings.deferred":"{totalAmount} da pagare su {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Fino a {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"Da {minAmount}","payment-plan-strings.multiple-installments":"{firstInstallmentAmount} allora {numberOfRemainingInstallments, plural, one {# rate mensili} other {# rate mensili}} di {othersInstallmentAmount}"},na={"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":"Validatie van uw betaling <strong>onmiddellijk</strong>!","eligibility-modal.cost":"Waarvan kosten","eligibility-modal.credit-commitment":"Een lening bindt je en moet worden terugbetaald. Ga na of u kunt terugbetalen voordat u zich vastlegt.","eligibility-modal.credit-cost":"Waarvan kosten van krediet","eligibility-modal.credit-cost-amount":"{creditCost} (APR {TAEG})","eligibility-modal.title":"<highlighted>Betaal in termijnen</highlighted> of later per credit card met Alma.","eligibility-modal.total":"Totaal","installments.today":"Tegenwoordig","payment-plan-strings.day-abbreviation":"J{numberOfDeferredDays}","payment-plan-strings.default-message":"Betaal in termijnen met Alma","payment-plan-strings.deferred":"{totalAmount} te betalen op {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Tot {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"Van {minAmount}","payment-plan-strings.multiple-installments":"{firstInstallmentAmount} dan {numberOfRemainingInstallments, plural, one {# maandelijkse termijnen} other {# maandelijkse termijnen}} van {othersInstallmentAmount}"},ra={"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":"Validatie van uw betaling <strong>onmiddellijk</strong>!","eligibility-modal.cost":"Waarvan kosten","eligibility-modal.credit-commitment":"Een lening bindt je en moet worden terugbetaald. Ga na of u kunt terugbetalen voordat u zich vastlegt.","eligibility-modal.credit-cost":"Waarvan kosten van krediet","eligibility-modal.credit-cost-amount":"{creditCost} (APR {TAEG})","eligibility-modal.title":"<highlighted>Betaal in termijnen</highlighted> of later per credit card met Alma.","eligibility-modal.total":"Totaal","installments.today":"Tegenwoordig","payment-plan-strings.day-abbreviation":"J{numberOfDeferredDays}","payment-plan-strings.default-message":"Betaal in termijnen met Alma","payment-plan-strings.deferred":"{totalAmount} te betalen op {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Tot {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"Van {minAmount}","payment-plan-strings.multiple-installments":"{firstInstallmentAmount} dan {numberOfRemainingInstallments, plural, one {# maandelijkse termijnen} other {# maandelijkse termijnen}} van {othersInstallmentAmount}"},oa=function(e){switch(e){case Dt.fr:return ea;case Dt.en:return Zo;case Dt.es:return Jo;case Dt.it:return ta;case Dt.de:return Yo;case Dt["nl-BE"]:return na;case Dt["nl-NL"]:return ra;default:return Zo}},aa=function(e){var t=e.children,n=e.locale;return $t.createElement($o,{messages:oa(n),locale:n,defaultLocale:"en"},t)},ia=s(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,g=null,y=-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!==g){var e=t.unstable_now();b=e+v;try{g(!0,e)?w.postMessage(null):(h=!1,g=null)}catch(e){throw w.postMessage(null),e}}else h=!1},n=function(e){g=e,h||(h=!0,w.postMessage(null))},r=function(e,n){y=d(function(){e(t.unstable_now())},n)},o=function(){p(y),y=-1}}function _(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<k(o,t)))break e;e[r]=t,e[n]=o,n=r}}function S(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>k(i,n))void 0!==u&&0>k(u,i)?(e[r]=u,e[l]=n,r=l):(e[r]=i,e[a]=n,r=a);else{if(!(void 0!==u&&0>k(u,n)))break e;e[r]=u,e[l]=n,r=l}}}return t}return null}function k(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var T=[],O=[],P=1,N=null,A=3,L=!1,x=!1,R=!1;function M(e){for(var t=S(O);null!==t;){if(null===t.callback)C(O);else{if(!(t.startTime<=e))break;C(O),t.sortIndex=t.expirationTime,_(T,t)}t=S(O)}}function I(e){if(R=!1,M(e),!x)if(null!==S(T))x=!0,n(D);else{var t=S(O);null!==t&&r(I,t.startTime-e)}}function D(e,n){x=!1,R&&(R=!1,o()),L=!0;var a=A;try{for(M(n),N=S(T);null!==N&&(!(N.expirationTime>n)||e&&!t.unstable_shouldYield());){var i=N.callback;if("function"==typeof i){N.callback=null,A=N.priorityLevel;var l=i(N.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?N.callback=l:N===S(T)&&C(T),M(n)}else C(T);N=S(T)}if(null!==N)var u=!0;else{var s=S(O);null!==s&&r(I,s.startTime-n),u=!1}return u}finally{N=null,A=a,L=!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(){x||L||(x=!0,n(D))},t.unstable_getCurrentPriorityLevel=function(){return A},t.unstable_getFirstCallbackNode=function(){return S(T)},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,_(O,e),null===S(T)&&e===S(O)&&(R?o():R=!0,r(I,i-l))):(e.sortIndex=u,_(T,e),x||L||(x=!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}}}}),la=(s(function(e,t){}),s(function(e){e.exports=ia}));function ua(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(!$t)throw Error(ua(227));var sa=new Set,ca={};function fa(e,t){da(e,t),da(e+"Capture",t)}function da(e,t){for(ca[e]=t,e=0;e<t.length;e++)sa.add(t[e])}var pa=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),ma=/^[: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]*$/,ha=Object.prototype.hasOwnProperty,ga={},ya={};function va(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 ba={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ba[e]=new va(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ba[t]=new va(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){ba[e]=new va(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ba[e]=new va(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){ba[e]=new va(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){ba[e]=new va(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){ba[e]=new va(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){ba[e]=new va(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){ba[e]=new va(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ea=/[\-:]([a-z])/g;function wa(e){return e[1].toUpperCase()}function _a(e,t,n,r){var o=ba.hasOwnProperty(t)?ba[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!!ha.call(ya,e)||!ha.call(ga,e)&&(ma.test(e)?ya[e]=!0:(ga[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(Ea,wa);ba[t]=new va(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(Ea,wa);ba[t]=new va(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(Ea,wa);ba[t]=new va(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){ba[e]=new va(e,1,!1,e.toLowerCase(),null,!1,!1)}),ba.xlinkHref=new va("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){ba[e]=new va(e,1,!1,e.toLowerCase(),null,!0,!0)});var Sa=$t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ca=60103,ka=60106,Ta=60107,Oa=60108,Pa=60114,Na=60109,Aa=60110,La=60112,xa=60113,Ra=60120,Ma=60115,Ia=60116,Da=60121,Fa=60128,Ua=60129,ja=60130,za=60131;if("function"==typeof Symbol&&Symbol.for){var Va=Symbol.for;Ca=Va("react.element"),ka=Va("react.portal"),Ta=Va("react.fragment"),Oa=Va("react.strict_mode"),Pa=Va("react.profiler"),Na=Va("react.provider"),Aa=Va("react.context"),La=Va("react.forward_ref"),xa=Va("react.suspense"),Ra=Va("react.suspense_list"),Ma=Va("react.memo"),Ia=Va("react.lazy"),Da=Va("react.block"),Va("react.scope"),Fa=Va("react.opaque.id"),Ua=Va("react.debug_trace_mode"),ja=Va("react.offscreen"),za=Va("react.legacy_hidden")}var Ga,Ba="function"==typeof Symbol&&Symbol.iterator;function Wa(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Ba&&e[Ba]||e["@@iterator"])?e:null}function Ha(e){if(void 0===Ga)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Ga=t&&t[1]||""}return"\n"+Ga+e}var $a=!1;function qa(e,t){if(!e||$a)return"";$a=!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{$a=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ha(e):""}function Qa(e){switch(e.tag){case 5:return Ha(e.type);case 16:return Ha("Lazy");case 13:return Ha("Suspense");case 19:return Ha("SuspenseList");case 0:case 2:case 15:return qa(e.type,!1);case 11:return qa(e.type.render,!1);case 22:return qa(e.type._render,!1);case 1:return qa(e.type,!0);default:return""}}function Xa(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 Ta:return"Fragment";case ka:return"Portal";case Pa:return"Profiler";case Oa:return"StrictMode";case xa:return"Suspense";case Ra:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case Aa:return(e.displayName||"Context")+".Consumer";case Na:return(e._context.displayName||"Context")+".Provider";case La:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case Ma:return Xa(e.type);case Da:return Xa(e._render);case Ia:t=e._payload,e=e._init;try{return Xa(e(t))}catch(e){}}return null}function Ka(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Ya(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Za(e){e._valueTracker||(e._valueTracker=function(e){var t=Ya(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 Ja(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ya(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function ei(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 ti(e,t){var n=t.checked;return Wt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ni(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Ka(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 ri(e,t){null!=(t=t.checked)&&_a(e,"checked",t,!1)}function oi(e,t){ri(e,t);var n=Ka(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")?ii(e,t.type,n):t.hasOwnProperty("defaultValue")&&ii(e,t.type,Ka(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ai(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 ii(e,t,n){"number"===t&&ei(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function li(e,t){return e=Wt({children:void 0},t),(t=function(e){var t="";return $t.Children.forEach(e,function(e){null!=e&&(t+=e)}),t}(t.children))&&(e.children=t),e}function ui(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=""+Ka(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 si(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(ua(91));return Wt({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ci(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(ua(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(ua(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Ka(n)}}function fi(e,t){var n=Ka(t.value),r=Ka(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 di(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var pi="http://www.w3.org/1999/xhtml";function mi(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 hi(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?mi(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var gi,yi=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((gi=gi||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=gi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function vi(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 bi={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},Ei=["Webkit","ms","Moz","O"];function wi(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||bi.hasOwnProperty(e)&&bi[e]?(""+t).trim():t+"px"}function _i(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=wi(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(bi).forEach(function(e){Ei.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),bi[t]=bi[e]})});var Si=Wt({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 Ci(e,t){if(t){if(Si[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(ua(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(ua(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(ua(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(ua(62))}}function ki(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 Ti(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Oi=null,Pi=null,Ni=null;function Ai(e){if(e=Ks(e)){if("function"!=typeof Oi)throw Error(ua(280));var t=e.stateNode;t&&(t=Zs(t),Oi(e.stateNode,e.type,t))}}function Li(e){Pi?Ni?Ni.push(e):Ni=[e]:Pi=e}function xi(){if(Pi){var e=Pi,t=Ni;if(Ni=Pi=null,Ai(e),t)for(e=0;e<t.length;e++)Ai(t[e])}}function Ri(e,t){return e(t)}function Mi(e,t,n,r,o){return e(t,n,r,o)}function Ii(){}var Di=Ri,Fi=!1,Ui=!1;function ji(){null===Pi&&null===Ni||(Ii(),xi())}function zi(e,t){var n=e.stateNode;if(null===n)return null;var r=Zs(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(ua(231,t,typeof n));return n}var Vi=!1;if(pa)try{var Gi={};Object.defineProperty(Gi,"passive",{get:function(){Vi=!0}}),window.addEventListener("test",Gi,Gi),window.removeEventListener("test",Gi,Gi)}catch(e){Vi=!1}function Bi(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 Wi=!1,Hi=null,$i=!1,qi=null,Qi={onError:function(e){Wi=!0,Hi=e}};function Xi(e,t,n,r,o,a,i,l,u){Wi=!1,Hi=null,Bi.apply(Qi,arguments)}function Ki(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 Yi(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 Zi(e){if(Ki(e)!==e)throw Error(ua(188))}function Ji(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ki(e)))throw Error(ua(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 Zi(o),e;if(a===r)return Zi(o),t;a=a.sibling}throw Error(ua(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(ua(189))}}if(n.alternate!==r)throw Error(ua(190))}if(3!==n.tag)throw Error(ua(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 el,tl,nl,rl,ol=!1,al=[],il=null,ll=null,ul=null,sl=new Map,cl=new Map,fl=[],dl="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 pl(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:o,targetContainers:[r]}}function ml(e,t){switch(e){case"focusin":case"focusout":il=null;break;case"dragenter":case"dragleave":ll=null;break;case"mouseover":case"mouseout":ul=null;break;case"pointerover":case"pointerout":sl.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":cl.delete(t.pointerId)}}function hl(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e=pl(t,n,r,o,a),null!==t&&null!==(t=Ks(t))&&tl(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function gl(e){var t=Xs(e.target);if(null!==t){var n=Ki(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Yi(n)))return e.blockedOn=t,void rl(e.lanePriority,function(){la.unstable_runWithPriority(e.priority,function(){nl(n)})})}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function yl(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Yl(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=Ks(n))&&tl(t),e.blockedOn=n,!1;t.shift()}return!0}function vl(e,t,n){yl(e)&&n.delete(t)}function bl(){for(ol=!1;0<al.length;){var e=al[0];if(null!==e.blockedOn){null!==(e=Ks(e.blockedOn))&&el(e);break}for(var t=e.targetContainers;0<t.length;){var n=Yl(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&al.shift()}null!==il&&yl(il)&&(il=null),null!==ll&&yl(ll)&&(ll=null),null!==ul&&yl(ul)&&(ul=null),sl.forEach(vl),cl.forEach(vl)}function El(e,t){e.blockedOn===t&&(e.blockedOn=null,ol||(ol=!0,la.unstable_scheduleCallback(la.unstable_NormalPriority,bl)))}function wl(e){function t(t){return El(t,e)}if(0<al.length){El(al[0],e);for(var n=1;n<al.length;n++){var r=al[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==il&&El(il,e),null!==ll&&El(ll,e),null!==ul&&El(ul,e),sl.forEach(t),cl.forEach(t),n=0;n<fl.length;n++)(r=fl[n]).blockedOn===e&&(r.blockedOn=null);for(;0<fl.length&&null===(n=fl[0]).blockedOn;)gl(n),null===n.blockedOn&&fl.shift()}function _l(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Sl={animationend:_l("Animation","AnimationEnd"),animationiteration:_l("Animation","AnimationIteration"),animationstart:_l("Animation","AnimationStart"),transitionend:_l("Transition","TransitionEnd")},Cl={},kl={};function Tl(e){if(Cl[e])return Cl[e];if(!Sl[e])return e;var t,n=Sl[e];for(t in n)if(n.hasOwnProperty(t)&&t in kl)return Cl[e]=n[t];return e}pa&&(kl=document.createElement("div").style,"AnimationEvent"in window||(delete Sl.animationend.animation,delete Sl.animationiteration.animation,delete Sl.animationstart.animation),"TransitionEvent"in window||delete Sl.transitionend.transition);var Ol=Tl("animationend"),Pl=Tl("animationiteration"),Nl=Tl("animationstart"),Al=Tl("transitionend"),Ll=new Map,xl=new Map,Rl=["abort","abort",Ol,"animationEnd",Pl,"animationIteration",Nl,"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",Al,"transitionEnd","waiting","waiting"];function Ml(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)),xl.set(r,t),Ll.set(r,o),fa(o,[r])}}(0,la.unstable_now)();var Il=8;function Dl(e){if(0!=(1&e))return Il=15,1;if(0!=(2&e))return Il=14,2;if(0!=(4&e))return Il=13,4;var t=24&e;return 0!==t?(Il=12,t):0!=(32&e)?(Il=11,32):0!=(t=192&e)?(Il=10,t):0!=(256&e)?(Il=9,256):0!=(t=3584&e)?(Il=8,t):0!=(4096&e)?(Il=7,4096):0!=(t=4186112&e)?(Il=6,t):0!=(t=62914560&e)?(Il=5,t):67108864&e?(Il=4,67108864):0!=(134217728&e)?(Il=3,134217728):0!=(t=805306368&e)?(Il=2,t):0!=(1073741824&e)?(Il=1,1073741824):(Il=8,e)}function Fl(e,t){var n=e.pendingLanes;if(0===n)return Il=0;var r=0,o=0,a=e.expiredLanes,i=e.suspendedLanes,l=e.pingedLanes;if(0!==a)r=a,o=Il=15;else if(0!=(a=134217727&n)){var u=a&~i;0!==u?(r=Dl(u),o=Il):0!=(l&=a)&&(r=Dl(l),o=Il)}else 0!=(a=n&~i)?(r=Dl(a),o=Il):0!==l&&(r=Dl(l),o=Il);if(0===r)return 0;if(r=n&((0>(r=31-Gl(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&i)){if(Dl(t),o<=Il)return t;Il=o}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)r|=e[n=31-Gl(t)],t&=~(o=1<<n);return r}function Ul(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function jl(e){return e&-e}function zl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Vl(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Gl(t)]=n}var Gl=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Bl(e)/Wl|0)|0},Bl=Math.log,Wl=Math.LN2,Hl=la.unstable_UserBlockingPriority,$l=la.unstable_runWithPriority,ql=!0;function Ql(e,t,n,r){Fi||Ii();var o=Kl,a=Fi;Fi=!0;try{Mi(o,e,t,n,r)}finally{(Fi=a)||ji()}}function Xl(e,t,n,r){$l(Hl,Kl.bind(null,e,t,n,r))}function Kl(e,t,n,r){var o;if(ql)if((o=0==(4&t))&&0<al.length&&-1<dl.indexOf(e))e=pl(null,e,t,n,r),al.push(e);else{var a=Yl(e,t,n,r);if(null===a)o&&ml(e,r);else{if(o){if(-1<dl.indexOf(e))return e=pl(a,e,t,n,r),void al.push(e);if(function(e,t,n,r,o){switch(t){case"focusin":return il=hl(il,e,t,n,r,o),!0;case"dragenter":return ll=hl(ll,e,t,n,r,o),!0;case"mouseover":return ul=hl(ul,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return sl.set(a,hl(sl.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return cl.set(a=o.pointerId,hl(cl.get(a)||null,e,t,n,r,o)),!0}return!1}(a,e,t,n,r))return;ml(e,r)}Ps(e,t,r,null,n)}}}function Yl(e,t,n,r){var o=Ti(r);if(null!==(o=Xs(o))){var a=Ki(o);if(null===a)o=null;else{var i=a.tag;if(13===i){if(null!==(o=Yi(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 Ps(e,t,r,o,n),null}var Zl=null,Jl=null,eu=null;function tu(){if(eu)return eu;var e,t,n=Jl,r=n.length,o="value"in Zl?Zl.value:Zl.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 eu=o.slice(e,1<t?1-t:void 0)}function nu(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 ru(){return!0}function ou(){return!1}function au(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)?ru:ou,this.isPropagationStopped=ou,this}return Wt(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=ru)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=ru)},persist:function(){},isPersistent:ru}),t}var iu,lu,uu,su={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cu=au(su),fu=Wt({},su,{view:0,detail:0}),du=au(fu),pu=Wt({},fu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cu,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!==uu&&(uu&&"mousemove"===e.type?(iu=e.screenX-uu.screenX,lu=e.screenY-uu.screenY):lu=iu=0,uu=e),iu)},movementY:function(e){return"movementY"in e?e.movementY:lu}}),mu=au(pu),hu=au(Wt({},pu,{dataTransfer:0})),gu=au(Wt({},fu,{relatedTarget:0})),yu=au(Wt({},su,{animationName:0,elapsedTime:0,pseudoElement:0})),vu=au(Wt({},su,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),bu=au(Wt({},su,{data:0})),Eu={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wu={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"},_u={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Su(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=_u[e])&&!!t[e]}function Cu(){return Su}var ku=au(Wt({},fu,{key:function(e){if(e.key){var t=Eu[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=nu(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?wu[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cu,charCode:function(e){return"keypress"===e.type?nu(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?nu(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),Tu=au(Wt({},pu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Ou=au(Wt({},fu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cu})),Pu=au(Wt({},su,{propertyName:0,elapsedTime:0,pseudoElement:0})),Nu=au(Wt({},pu,{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})),Au=[9,13,27,32],Lu=pa&&"CompositionEvent"in window,xu=null;pa&&"documentMode"in document&&(xu=document.documentMode);var Ru=pa&&"TextEvent"in window&&!xu,Mu=pa&&(!Lu||xu&&8<xu&&11>=xu),Iu=String.fromCharCode(32),Du=!1;function Fu(e,t){switch(e){case"keyup":return-1!==Au.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Uu(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var ju=!1,zu={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 Vu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!zu[e.type]:"textarea"===t}function Gu(e,t,n,r){Li(r),0<(t=As(t,"onChange")).length&&(n=new cu("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Bu=null,Wu=null;function Hu(e){_s(e,0)}function $u(e){if(Ja(Ys(e)))return e}function qu(e,t){if("change"===e)return t}var Qu=!1;if(pa){var Xu;if(pa){var Ku="oninput"in document;if(!Ku){var Yu=document.createElement("div");Yu.setAttribute("oninput","return;"),Ku="function"==typeof Yu.oninput}Xu=Ku}else Xu=!1;Qu=Xu&&(!document.documentMode||9<document.documentMode)}function Zu(){Bu&&(Bu.detachEvent("onpropertychange",Ju),Wu=Bu=null)}function Ju(e){if("value"===e.propertyName&&$u(Wu)){var t=[];if(Gu(t,Wu,e,Ti(e)),e=Hu,Fi)e(t);else{Fi=!0;try{Ri(e,t)}finally{Fi=!1,ji()}}}}function es(e,t,n){"focusin"===e?(Zu(),Wu=n,(Bu=t).attachEvent("onpropertychange",Ju)):"focusout"===e&&Zu()}function ts(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return $u(Wu)}function ns(e,t){if("click"===e)return $u(t)}function rs(e,t){if("input"===e||"change"===e)return $u(t)}var os="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},as=Object.prototype.hasOwnProperty;function is(e,t){if(os(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(!as.call(t,n[r])||!os(e[n[r]],t[n[r]]))return!1;return!0}function ls(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function us(e,t){var n,r=ls(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=ls(r)}}function ss(){for(var e=window,t=ei();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=ei((e=t.contentWindow).document)}return t}function cs(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 fs=pa&&"documentMode"in document&&11>=document.documentMode,ds=null,ps=null,ms=null,hs=!1;function gs(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;hs||null==ds||ds!==ei(r)||(r="selectionStart"in(r=ds)&&cs(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},ms&&is(ms,r)||(ms=r,0<(r=As(ps,"onSelect")).length&&(t=new cu("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=ds)))}Ml("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),Ml("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),Ml(Rl,2);for(var ys="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),vs=0;vs<ys.length;vs++)xl.set(ys[vs],0);da("onMouseEnter",["mouseout","mouseover"]),da("onMouseLeave",["mouseout","mouseover"]),da("onPointerEnter",["pointerout","pointerover"]),da("onPointerLeave",["pointerout","pointerover"]),fa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),fa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),fa("onBeforeInput",["compositionend","keypress","textInput","paste"]),fa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),fa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),fa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var bs="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Es=new Set("cancel close invalid load scroll toggle".split(" ").concat(bs));function ws(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,i,l,u){if(Xi.apply(this,arguments),Wi){if(!Wi)throw Error(ua(198));var s=Hi;Wi=!1,Hi=null,$i||($i=!0,qi=s)}}(r,t,void 0,e),e.currentTarget=null}function _s(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;ws(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;ws(o,l,s),a=u}}}if($i)throw e=qi,$i=!1,qi=null,e}function Ss(e,t){var n=Js(t),r=e+"__bubble";n.has(r)||(Os(t,e,2,!1),n.add(r))}var Cs="_reactListening"+Math.random().toString(36).slice(2);function ks(e){e[Cs]||(e[Cs]=!0,sa.forEach(function(t){Es.has(t)||Ts(t,!1,e,null),Ts(t,!0,e,null)}))}function Ts(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&&Es.has(e)){if("scroll"!==e)return;o|=2,a=r}var i=Js(a),l=e+"__"+(t?"capture":"bubble");i.has(l)||(t&&(o|=4),Os(a,e,o,t),i.add(l))}function Os(e,t,n,r){var o=xl.get(t);switch(void 0===o?2:o){case 0:o=Ql;break;case 1:o=Xl;break;default:o=Kl}n=o.bind(null,t,n,e),o=void 0,!Vi||"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 Ps(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=Xs(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(Ui)return e();Ui=!0;try{Di(e,void 0,void 0)}finally{Ui=!1,ji()}}(function(){var r=a,o=Ti(n),i=[];e:{var l=Ll.get(e);if(void 0!==l){var u=cu,s=e;switch(e){case"keypress":if(0===nu(n))break e;case"keydown":case"keyup":u=ku;break;case"focusin":s="focus",u=gu;break;case"focusout":s="blur",u=gu;break;case"beforeblur":case"afterblur":u=gu;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=mu;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=hu;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=Ou;break;case Ol:case Pl:case Nl:u=yu;break;case Al:u=Pu;break;case"scroll":u=du;break;case"wheel":u=Nu;break;case"copy":case"cut":case"paste":u=vu;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=Tu}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=zi(m,d))&&c.push(Ns(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)||!Xs(s)&&!s[qs])&&(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)?Xs(s):null)&&(s!==(f=Ki(s))||5!==s.tag&&6!==s.tag)&&(s=null)):(u=null,s=r),u!==s)){if(c=mu,h="onMouseLeave",d="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(c=Tu,h="onPointerLeave",d="onPointerEnter",m="pointer"),f=null==u?l:Ys(u),p=null==s?l:Ys(s),(l=new c(h,m+"leave",u,n,o)).target=f,l.relatedTarget=p,h=null,Xs(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=Ls(p))m++;for(p=0,h=d;h;h=Ls(h))p++;for(;0<m-p;)c=Ls(c),m--;for(;0<p-m;)d=Ls(d),p--;for(;m--;){if(c===d||null!==d&&c===d.alternate)break e;c=Ls(c),d=Ls(d)}c=null}else c=null;null!==u&&xs(i,l,u,c,!1),null!==s&&null!==f&&xs(i,f,s,c,!0)}if("select"===(u=(l=r?Ys(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===u&&"file"===l.type)var g=qu;else if(Vu(l))if(Qu)g=rs;else{g=ts;var y=es}else(u=l.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(g=ns);switch(g&&(g=g(e,r))?Gu(i,g,n,o):(y&&y(e,l,r),"focusout"===e&&(y=l._wrapperState)&&y.controlled&&"number"===l.type&&ii(l,"number",l.value)),y=r?Ys(r):window,e){case"focusin":(Vu(y)||"true"===y.contentEditable)&&(ds=y,ps=r,ms=null);break;case"focusout":ms=ps=ds=null;break;case"mousedown":hs=!0;break;case"contextmenu":case"mouseup":case"dragend":hs=!1,gs(i,n,o);break;case"selectionchange":if(fs)break;case"keydown":case"keyup":gs(i,n,o)}var v;if(Lu)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 ju?Fu(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Mu&&"ko"!==n.locale&&(ju||"onCompositionStart"!==b?"onCompositionEnd"===b&&ju&&(v=tu()):(Jl="value"in(Zl=o)?Zl.value:Zl.textContent,ju=!0)),0<(y=As(r,b)).length&&(b=new bu(b,e,null,n,o),i.push({event:b,listeners:y}),(v||null!==(v=Uu(n)))&&(b.data=v))),(v=Ru?function(e,t){switch(e){case"compositionend":return Uu(t);case"keypress":return 32!==t.which?null:(Du=!0,Iu);case"textInput":return(e=t.data)===Iu&&Du?null:e;default:return null}}(e,n):function(e,t){if(ju)return"compositionend"===e||!Lu&&Fu(e,t)?(e=tu(),eu=Jl=Zl=null,ju=!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 Mu&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))&&0<(r=As(r,"onBeforeInput")).length&&(o=new bu("onBeforeInput","beforeinput",null,n,o),i.push({event:o,listeners:r}),o.data=v)}_s(i,t)})}function Ns(e,t,n){return{instance:e,listener:t,currentTarget:n}}function As(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=zi(e,n))&&r.unshift(Ns(e,a,o)),null!=(a=zi(e,t))&&r.push(Ns(e,a,o))),e=e.return}return r}function Ls(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function xs(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=zi(n,a))&&i.unshift(Ns(n,u,l)):o||null!=(u=zi(n,a))&&i.push(Ns(n,u,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}function Rs(){}var Ms=null,Is=null;function Ds(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Fs(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 Us="function"==typeof setTimeout?setTimeout:void 0,js="function"==typeof clearTimeout?clearTimeout:void 0;function zs(e){(1===e.nodeType||9===e.nodeType&&null!=(e=e.body))&&(e.textContent="")}function Vs(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Gs(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 Bs=0,Ws=Math.random().toString(36).slice(2),Hs="__reactFiber$"+Ws,$s="__reactProps$"+Ws,qs="__reactContainer$"+Ws,Qs="__reactEvents$"+Ws;function Xs(e){var t=e[Hs];if(t)return t;for(var n=e.parentNode;n;){if(t=n[qs]||n[Hs]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Gs(e);null!==e;){if(n=e[Hs])return n;e=Gs(e)}return t}n=(e=n).parentNode}return null}function Ks(e){return!(e=e[Hs]||e[qs])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Ys(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(ua(33))}function Zs(e){return e[$s]||null}function Js(e){var t=e[Qs];return void 0===t&&(t=e[Qs]=new Set),t}var ec=[],tc=-1;function nc(e){return{current:e}}function rc(e){0>tc||(e.current=ec[tc],ec[tc]=null,tc--)}function oc(e,t){tc++,ec[tc]=e.current,e.current=t}var ac={},ic=nc(ac),lc=nc(!1),uc=ac;function sc(e,t){var n=e.type.contextTypes;if(!n)return ac;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 cc(e){return null!=e.childContextTypes}function fc(){rc(lc),rc(ic)}function dc(e,t,n){if(ic.current!==ac)throw Error(ua(168));oc(ic,t),oc(lc,n)}function pc(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(ua(108,Xa(t)||"Unknown",o));return Wt({},n,r)}function mc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ac,uc=ic.current,oc(ic,e),oc(lc,lc.current),!0}function hc(e,t,n){var r=e.stateNode;if(!r)throw Error(ua(169));n?(e=pc(e,t,uc),r.__reactInternalMemoizedMergedChildContext=e,rc(lc),rc(ic),oc(ic,e)):rc(lc),oc(lc,n)}var gc=null,yc=null,vc=la.unstable_runWithPriority,bc=la.unstable_scheduleCallback,Ec=la.unstable_cancelCallback,wc=la.unstable_shouldYield,_c=la.unstable_requestPaint,Sc=la.unstable_now,Cc=la.unstable_getCurrentPriorityLevel,kc=la.unstable_ImmediatePriority,Tc=la.unstable_UserBlockingPriority,Oc=la.unstable_NormalPriority,Pc=la.unstable_LowPriority,Nc=la.unstable_IdlePriority,Ac={},Lc=void 0!==_c?_c:function(){},xc=null,Rc=null,Mc=!1,Ic=Sc(),Dc=1e4>Ic?Sc:function(){return Sc()-Ic};function Fc(){switch(Cc()){case kc:return 99;case Tc:return 98;case Oc:return 97;case Pc:return 96;case Nc:return 95;default:throw Error(ua(332))}}function Uc(e){switch(e){case 99:return kc;case 98:return Tc;case 97:return Oc;case 96:return Pc;case 95:return Nc;default:throw Error(ua(332))}}function jc(e,t){return e=Uc(e),vc(e,t)}function zc(e,t,n){return e=Uc(e),bc(e,t,n)}function Vc(){if(null!==Rc){var e=Rc;Rc=null,Ec(e)}Gc()}function Gc(){if(!Mc&&null!==xc){Mc=!0;var e=0;try{var t=xc;jc(99,function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}}),xc=null}catch(t){throw null!==xc&&(xc=xc.slice(e+1)),bc(kc,Vc),t}finally{Mc=!1}}}var Bc=Sa.ReactCurrentBatchConfig;function Wc(e,t){if(e&&e.defaultProps){for(var n in t=Wt({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Hc=nc(null),$c=null,qc=null,Qc=null;function Xc(){Qc=qc=$c=null}function Kc(e){var t=Hc.current;rc(Hc),e.type._context._currentValue=t}function Yc(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 Zc(e,t){$c=e,Qc=qc=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Ad=!0),e.firstContext=null)}function Jc(e,t){if(Qc!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(Qc=e,t=1073741823),t={context:e,observedBits:t,next:null},null===qc){if(null===$c)throw Error(ua(308));qc=t,$c.dependencies={lanes:0,firstContext:t,responders:null}}else qc=qc.next=t;return e._currentValue}var ef=!1;function tf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function nf(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 rf(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function of(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 af(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 lf(e,t,n,r){var o=e.updateQueue;ef=!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=Wt({},f,l);break e;case 2:ef=!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,Np|=i,e.lanes=i,e.memoizedState=f}}function uf(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(ua(191,o));o.call(r)}}}var sf=(new $t.Component).refs;function cf(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:Wt({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var ff={isMounted:function(e){return!!(e=e._reactInternals)&&Ki(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Zp(),o=Jp(e),a=rf(r,o);a.payload=t,null!=n&&(a.callback=n),of(e,a),em(e,o,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Zp(),o=Jp(e),a=rf(r,o);a.tag=1,a.payload=t,null!=n&&(a.callback=n),of(e,a),em(e,o,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Zp(),r=Jp(e),o=rf(n,r);o.tag=2,null!=t&&(o.callback=t),of(e,o),em(e,r,n)}};function df(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!(t.prototype&&t.prototype.isPureReactComponent&&is(n,r)&&is(o,a))}function pf(e,t,n){var r=!1,o=ac,a=t.contextType;return"object"==typeof a&&null!==a?a=Jc(a):(o=cc(t)?uc:ic.current,a=(r=null!=(r=t.contextTypes))?sc(e,o):ac),t=new t(n,a),e.memoizedState=null!=t.state?t.state:null,t.updater=ff,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function mf(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&&ff.enqueueReplaceState(t,t.state,null)}function hf(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=sf,tf(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=Jc(a):(a=cc(t)?uc:ic.current,o.context=sc(e,a)),lf(e,n,o,r),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(cf(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&&ff.enqueueReplaceState(o,o.state,null),lf(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4)}var gf=Array.isArray;function yf(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(ua(309));var r=n.stateNode}if(!r)throw Error(ua(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===sf&&(t=r.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!=typeof e)throw Error(ua(284));if(!n._owner)throw Error(ua(290,e))}return e}function vf(e,t){if("textarea"!==e.type)throw Error(ua(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function bf(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=xm(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=Dm(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=yf(e,t,n),r.return=e,r):((r=Rm(n.type,n.key,n.props,null,e.mode,r)).ref=yf(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=Fm(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=Mm(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=Dm(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case Ca:return(n=Rm(t.type,t.key,t.props,null,e.mode,n)).ref=yf(e,null,t),n.return=e,n;case ka:return(t=Fm(t,e.mode,n)).return=e,t}if(gf(t)||Wa(t))return(t=Mm(t,e.mode,n,null)).return=e,t;vf(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 Ca:return n.key===o?n.type===Ta?c(e,t,n.props.children,r,o):u(e,t,n,r):null;case ka:return n.key===o?s(e,t,n,r):null}if(gf(n)||Wa(n))return null!==o?null:c(e,t,n,r,null);vf(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 Ca:return e=e.get(null===r.key?n:r.key)||null,r.type===Ta?c(t,e,r.props.children,o,r.key):u(t,e,r,o);case ka:return s(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(gf(r)||Wa(r))return c(t,e=e.get(n)||null,r,o,null);vf(t,r)}return null}function m(o,i,l,u){for(var s=null,c=null,m=i,h=i=0,g=null;null!==m&&h<l.length;h++){m.index>h?(g=m,m=null):g=m.sibling;var y=d(o,m,l[h],u);if(null===y){null===m&&(m=g);break}e&&m&&null===y.alternate&&t(o,m),i=a(y,i,h),null===c?s=y:c.sibling=y,c=y,m=g}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!==(g=p(m,o,h,l[h],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}function h(o,i,l,u){var s=Wa(l);if("function"!=typeof s)throw Error(ua(150));if(null==(l=s.call(l)))throw Error(ua(151));for(var c=s=null,m=i,h=i=0,g=null,y=l.next();null!==m&&!y.done;h++,y=l.next()){m.index>h?(g=m,m=null):g=m.sibling;var v=d(o,m,y.value,u);if(null===v){null===m&&(m=g);break}e&&m&&null===v.alternate&&t(o,m),i=a(v,i,h),null===c?s=v:c.sibling=v,c=v,m=g}if(y.done)return n(o,m),s;if(null===m){for(;!y.done;h++,y=l.next())null!==(y=f(o,y.value,u))&&(i=a(y,i,h),null===c?s=y:c.sibling=y,c=y);return s}for(m=r(o,m);!y.done;h++,y=l.next())null!==(y=p(m,o,h,y.value,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}return function(e,r,a,l){var u="object"==typeof a&&null!==a&&a.type===Ta&&null===a.key;u&&(a=a.props.children);var s="object"==typeof a&&null!==a;if(s)switch(a.$$typeof){case Ca:e:{for(s=a.key,u=r;null!==u;){if(u.key===s){switch(u.tag){case 7:if(a.type===Ta){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=yf(e,u,a),r.return=e,e=r;break e}}n(e,u);break}t(e,u),u=u.sibling}a.type===Ta?((r=Mm(a.props.children,e.mode,l,a.key)).return=e,e=r):((l=Rm(a.type,a.key,a.props,null,e.mode,l)).ref=yf(e,r,a),l.return=e,e=l)}return i(e);case ka: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=Fm(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=Dm(a,e.mode,l)).return=e,e=r),i(e);if(gf(a))return m(e,r,a,l);if(Wa(a))return h(e,r,a,l);if(s&&vf(e,a),void 0===a&&!u)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(ua(152,Xa(e.type)||"Component"))}return n(e,r)}}var Ef=bf(!0),wf=bf(!1),_f={},Sf=nc(_f),Cf=nc(_f),kf=nc(_f);function Tf(e){if(e===_f)throw Error(ua(174));return e}function Of(e,t){switch(oc(kf,t),oc(Cf,e),oc(Sf,_f),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:hi(null,"");break;default:t=hi(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}rc(Sf),oc(Sf,t)}function Pf(){rc(Sf),rc(Cf),rc(kf)}function Nf(e){Tf(kf.current);var t=Tf(Sf.current),n=hi(t,e.type);t!==n&&(oc(Cf,e),oc(Sf,n))}function Af(e){Cf.current===e&&(rc(Sf),rc(Cf))}var Lf=nc(0);function xf(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 Rf=null,Mf=null,If=!1;function Df(e,t){var n=Am(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 Ff(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 Uf(e){if(If){var t=Mf;if(t){var n=t;if(!Ff(e,t)){if(!(t=Vs(n.nextSibling))||!Ff(e,t))return e.flags=-1025&e.flags|2,If=!1,void(Rf=e);Df(Rf,n)}Rf=e,Mf=Vs(t.firstChild)}else e.flags=-1025&e.flags|2,If=!1,Rf=e}}function jf(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Rf=e}function zf(e){if(e!==Rf)return!1;if(!If)return jf(e),If=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Fs(t,e.memoizedProps))for(t=Mf;t;)Df(e,t),t=Vs(t.nextSibling);if(jf(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(ua(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Mf=Vs(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Mf=null}}else Mf=Rf?Vs(e.stateNode.nextSibling):null;return!0}function Vf(){Mf=Rf=null,If=!1}var Gf=[];function Bf(){for(var e=0;e<Gf.length;e++)Gf[e]._workInProgressVersionPrimary=null;Gf.length=0}var Wf=Sa.ReactCurrentDispatcher,Hf=Sa.ReactCurrentBatchConfig,$f=0,qf=null,Qf=null,Xf=null,Kf=!1,Yf=!1;function Zf(){throw Error(ua(321))}function Jf(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!os(e[n],t[n]))return!1;return!0}function ed(e,t,n,r,o,a){if($f=a,qf=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Wf.current=null===e||null===e.memoizedState?Td:Od,e=n(r,o),Yf){a=0;do{if(Yf=!1,!(25>a))throw Error(ua(301));a+=1,Xf=Qf=null,t.updateQueue=null,Wf.current=Pd,e=n(r,o)}while(Yf)}if(Wf.current=kd,t=null!==Qf&&null!==Qf.next,$f=0,Xf=Qf=qf=null,Kf=!1,t)throw Error(ua(300));return e}function td(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Xf?qf.memoizedState=Xf=e:Xf=Xf.next=e,Xf}function nd(){if(null===Qf){var e=qf.alternate;e=null!==e?e.memoizedState:null}else e=Qf.next;var t=null===Xf?qf.memoizedState:Xf.next;if(null!==t)Xf=t,Qf=e;else{if(null===e)throw Error(ua(310));e={memoizedState:(Qf=e).memoizedState,baseState:Qf.baseState,baseQueue:Qf.baseQueue,queue:Qf.queue,next:null},null===Xf?qf.memoizedState=Xf=e:Xf=Xf.next=e}return Xf}function rd(e,t){return"function"==typeof t?t(e):t}function od(e){var t=nd(),n=t.queue;if(null===n)throw Error(ua(311));n.lastRenderedReducer=e;var r=Qf,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(($f&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,qf.lanes|=s,Np|=s}u=u.next}while(null!==u&&u!==o);null===l?a=r:l.next=i,os(r,t.memoizedState)||(Ad=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function ad(e){var t=nd(),n=t.queue;if(null===n)throw Error(ua(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);os(a,t.memoizedState)||(Ad=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function id(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionPrimary;if(null!==o?e=o===r:(e=($f&(e=e.mutableReadLanes))===e)&&(t._workInProgressVersionPrimary=r,Gf.push(t)),e)return n(t._source);throw Gf.push(t),Error(ua(350))}function ld(e,t,n,r){var o=wp;if(null===o)throw Error(ua(349));var a=t._getVersion,i=a(t._source),l=Wf.current,u=l.useState(function(){return id(o,t,n)}),s=u[1],c=u[0];u=Xf;var f=e.memoizedState,d=f.refs,p=d.getSnapshot,m=f.source;f=f.subscribe;var h=qf;return e.memoizedState={refs:d,source:t,subscribe:r},l.useEffect(function(){d.getSnapshot=n,d.setSnapshot=s;var e=a(t._source);if(!os(i,e)){e=n(t._source),os(c,e)||(s(e),e=Jp(h),o.mutableReadLanes|=e&o.pendingLanes),o.entangledLanes|=e=o.mutableReadLanes;for(var r=o.entanglements,l=e;0<l;){var u=31-Gl(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=Jp(h);o.mutableReadLanes|=r&o.pendingLanes}catch(e){n(function(){throw e})}})},[t,r]),os(p,n)&&os(m,t)&&os(f,r)||((e={pending:null,dispatch:null,lastRenderedReducer:rd,lastRenderedState:c}).dispatch=s=Cd.bind(null,qf,e),u.queue=e,u.baseQueue=null,c=id(o,t,n),u.memoizedState=u.baseState=c),c}function ud(e,t,n){return ld(nd(),e,t,n)}function sd(e){var t=td();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:rd,lastRenderedState:e}).dispatch=Cd.bind(null,qf,e),[t.memoizedState,e]}function cd(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=qf.updateQueue)?(qf.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 fd(e){return td().memoizedState={current:e}}function dd(){return nd().memoizedState}function pd(e,t,n,r){var o=td();qf.flags|=e,o.memoizedState=cd(1|t,n,void 0,void 0===r?null:r)}function md(e,t,n,r){var o=nd();r=void 0===r?null:r;var a=void 0;if(null!==Qf){var i=Qf.memoizedState;if(a=i.destroy,null!==r&&Jf(r,i.deps))return void cd(t,n,a,r)}qf.flags|=e,o.memoizedState=cd(1|t,n,a,r)}function hd(e,t){return pd(516,4,e,t)}function gd(e,t){return md(516,4,e,t)}function yd(e,t){return md(4,2,e,t)}function vd(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 bd(e,t,n){return n=null!=n?n.concat([e]):null,md(4,2,vd.bind(null,t,e),n)}function Ed(){}function wd(e,t){var n=nd();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Jf(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function _d(e,t){var n=nd();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Jf(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Sd(e,t){var n=Fc();jc(98>n?98:n,function(){e(!0)}),jc(97<n?97:n,function(){var n=Hf.transition;Hf.transition=1;try{e(!1),t()}finally{Hf.transition=n}})}function Cd(e,t,n){var r=Zp(),o=Jp(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===qf||null!==i&&i===qf)Yf=Kf=!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,os(u,l))return}catch(e){}em(e,o,r)}}var kd={readContext:Jc,useCallback:Zf,useContext:Zf,useEffect:Zf,useImperativeHandle:Zf,useLayoutEffect:Zf,useMemo:Zf,useReducer:Zf,useRef:Zf,useState:Zf,useDebugValue:Zf,useDeferredValue:Zf,useTransition:Zf,useMutableSource:Zf,useOpaqueIdentifier:Zf,unstable_isNewReconciler:!1},Td={readContext:Jc,useCallback:function(e,t){return td().memoizedState=[e,void 0===t?null:t],e},useContext:Jc,useEffect:hd,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,pd(4,2,vd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return pd(4,2,e,t)},useMemo:function(e,t){var n=td();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=td();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=Cd.bind(null,qf,e),[r.memoizedState,e]},useRef:fd,useState:sd,useDebugValue:Ed,useDeferredValue:function(e){var t=sd(e),n=t[0],r=t[1];return hd(function(){var t=Hf.transition;Hf.transition=1;try{r(e)}finally{Hf.transition=t}},[e]),n},useTransition:function(){var e=sd(!1),t=e[0];return fd(e=Sd.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=td();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},ld(r,e,t,n)},useOpaqueIdentifier:function(){if(If){var e=!1,t=function(e){return{$$typeof:Fa,toString:e,valueOf:e}}(function(){throw e||(e=!0,n("r:"+(Bs++).toString(36))),Error(ua(355))}),n=sd(t)[1];return 0==(2&qf.mode)&&(qf.flags|=516,cd(5,function(){n("r:"+(Bs++).toString(36))},void 0,null)),t}return sd(t="r:"+(Bs++).toString(36)),t},unstable_isNewReconciler:!1},Od={readContext:Jc,useCallback:wd,useContext:Jc,useEffect:gd,useImperativeHandle:bd,useLayoutEffect:yd,useMemo:_d,useReducer:od,useRef:dd,useState:function(){return od(rd)},useDebugValue:Ed,useDeferredValue:function(e){var t=od(rd),n=t[0],r=t[1];return gd(function(){var t=Hf.transition;Hf.transition=1;try{r(e)}finally{Hf.transition=t}},[e]),n},useTransition:function(){var e=od(rd)[0];return[dd().current,e]},useMutableSource:ud,useOpaqueIdentifier:function(){return od(rd)[0]},unstable_isNewReconciler:!1},Pd={readContext:Jc,useCallback:wd,useContext:Jc,useEffect:gd,useImperativeHandle:bd,useLayoutEffect:yd,useMemo:_d,useReducer:ad,useRef:dd,useState:function(){return ad(rd)},useDebugValue:Ed,useDeferredValue:function(e){var t=ad(rd),n=t[0],r=t[1];return gd(function(){var t=Hf.transition;Hf.transition=1;try{r(e)}finally{Hf.transition=t}},[e]),n},useTransition:function(){var e=ad(rd)[0];return[dd().current,e]},useMutableSource:ud,useOpaqueIdentifier:function(){return ad(rd)[0]},unstable_isNewReconciler:!1},Nd=Sa.ReactCurrentOwner,Ad=!1;function Ld(e,t,n,r){t.child=null===e?wf(t,null,n,r):Ef(t,e.child,n,r)}function xd(e,t,n,r,o){n=n.render;var a=t.ref;return Zc(t,o),r=ed(e,t,n,r,a,o),null===e||Ad?(t.flags|=1,Ld(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,Kd(e,t,o))}function Rd(e,t,n,r,o,a){if(null===e){var i=n.type;return"function"!=typeof i||Lm(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Rm(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Md(e,t,i,r,o,a))}return i=e.child,0==(o&a)&&(n=null!==(n=n.compare)?n:is)(o=i.memoizedProps,r)&&e.ref===t.ref?Kd(e,t,a):(t.flags|=1,(e=xm(i,r)).ref=t.ref,e.return=t,t.child=e)}function Md(e,t,n,r,o,a){if(null!==e&&is(e.memoizedProps,r)&&e.ref===t.ref){if(Ad=!1,0==(a&o))return t.lanes=e.lanes,Kd(e,t,a);0!=(16384&e.flags)&&(Ad=!0)}return Fd(e,t,n,r,a)}function Id(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},um(0,n);else{if(0==(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},um(0,e),null;t.memoizedState={baseLanes:0},um(0,null!==a?a.baseLanes:n)}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,um(0,r);return Ld(e,t,o,n),t.child}function Dd(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Fd(e,t,n,r,o){var a=cc(n)?uc:ic.current;return a=sc(t,a),Zc(t,o),n=ed(e,t,n,r,a,o),null===e||Ad?(t.flags|=1,Ld(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,Kd(e,t,o))}function Ud(e,t,n,r,o){if(cc(n)){var a=!0;mc(t)}else a=!1;if(Zc(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),pf(t,n,r),hf(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?Jc(s):sc(t,s=cc(n)?uc:ic.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)&&mf(t,i,r,s),ef=!1;var d=t.memoizedState;i.state=d,lf(t,r,i,o),u=t.memoizedState,l!==r||d!==u||lc.current||ef?("function"==typeof c&&(cf(t,n,c,r),u=t.memoizedState),(l=ef||df(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,nf(e,t),l=t.memoizedProps,s=t.type===t.elementType?l:Wc(t.type,l),i.props=s,f=t.pendingProps,d=i.context,u="object"==typeof(u=n.contextType)&&null!==u?Jc(u):sc(t,u=cc(n)?uc:ic.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)&&mf(t,i,r,u),ef=!1,i.state=d=t.memoizedState,lf(t,r,i,o);var m=t.memoizedState;l!==f||d!==m||lc.current||ef?("function"==typeof p&&(cf(t,n,p,r),m=t.memoizedState),(s=ef||df(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 jd(e,t,n,r,a,o)}function jd(e,t,n,r,o,a){Dd(e,t);var i=0!=(64&t.flags);if(!r&&!i)return o&&hc(t,n,!1),Kd(e,t,a);r=t.stateNode,Nd.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Ef(t,e.child,null,a),t.child=Ef(t,null,l,a)):Ld(e,t,l,a),t.memoizedState=r.state,o&&hc(t,n,!0),t.child}function zd(e){var t=e.stateNode;t.pendingContext?dc(0,t.pendingContext,t.pendingContext!==t.context):t.context&&dc(0,t.context,!1),Of(e,t.containerInfo)}var Vd,Gd,Bd,Wd={dehydrated:null,retryLane:0};function Hd(e,t,n){var r,o=t.pendingProps,a=Lf.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),oc(Lf,1&a),null===e?(void 0!==o.fallback&&Uf(t),e=o.children,a=o.fallback,i?(e=$d(t,e,a,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Wd,e):"number"==typeof o.unstable_expectedLoadTime?(e=$d(t,e,a,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Wd,t.lanes=33554432,e):((n=Im({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=xm(i,l),null!==e?r=xm(e,r):(r=Mm(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=Wd,o):(n=function(e,t,n,r){var o=e.child;return e=o.sibling,n=xm(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 $d(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=Im(t,o,0,null),n=Mm(n,o,r,null),a.return=e,n.return=e,a.sibling=n,e.child=a,n}function qd(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),Yc(e.return,t)}function Qd(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 Xd(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(Ld(e,t,r.children,n),0!=(2&(r=Lf.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&&qd(e,n);else if(19===e.tag)qd(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(oc(Lf,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===xf(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Qd(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===xf(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Qd(t,!0,n,null,a,t.lastEffect);break;case"together":Qd(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Kd(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Np|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(ua(153));if(null!==t.child){for(n=xm(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)(n=n.sibling=xm(e=e.sibling,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function Yd(e,t){if(!If)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 Zd(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 cc(t.type)&&fc(),null;case 3:return Pf(),rc(lc),rc(ic),Bf(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(zf(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:Af(t);var o=Tf(kf.current);if(n=t.type,null!==e&&null!=t.stateNode)Gd(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(ua(166));return null}if(e=Tf(Sf.current),zf(t)){n=t.type;var a=t.memoizedProps;switch((r=t.stateNode)[Hs]=t,r[$s]=a,n){case"dialog":Ss("cancel",r),Ss("close",r);break;case"iframe":case"object":case"embed":Ss("load",r);break;case"video":case"audio":for(e=0;e<bs.length;e++)Ss(bs[e],r);break;case"source":Ss("error",r);break;case"img":case"image":case"link":Ss("error",r),Ss("load",r);break;case"details":Ss("toggle",r);break;case"input":ni(r,a),Ss("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Ss("invalid",r);break;case"textarea":ci(r,a),Ss("invalid",r)}for(var i in Ci(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]):ca.hasOwnProperty(i)&&null!=o&&"onScroll"===i&&Ss("scroll",r));switch(n){case"input":Za(r),ai(r,a,!0);break;case"textarea":Za(r),di(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=Rs)}t.updateQueue=r=e,null!==r&&(t.flags|=4)}else{switch(i=9===o.nodeType?o:o.ownerDocument,e===pi&&(e=mi(n)),e===pi?"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[Hs]=t,e[$s]=r,Vd(e,t),t.stateNode=e,i=ki(n,r),n){case"dialog":Ss("cancel",e),Ss("close",e),o=r;break;case"iframe":case"object":case"embed":Ss("load",e),o=r;break;case"video":case"audio":for(o=0;o<bs.length;o++)Ss(bs[o],e);o=r;break;case"source":Ss("error",e),o=r;break;case"img":case"image":case"link":Ss("error",e),Ss("load",e),o=r;break;case"details":Ss("toggle",e),o=r;break;case"input":ni(e,r),o=ti(e,r),Ss("invalid",e);break;case"option":o=li(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=Wt({},r,{value:void 0}),Ss("invalid",e);break;case"textarea":ci(e,r),o=si(e,r),Ss("invalid",e);break;default:o=r}Ci(n,o);var l=o;for(a in l)if(l.hasOwnProperty(a)){var u=l[a];"style"===a?_i(e,u):"dangerouslySetInnerHTML"===a?null!=(u=u?u.__html:void 0)&&yi(e,u):"children"===a?"string"==typeof u?("textarea"!==n||""!==u)&&vi(e,u):"number"==typeof u&&vi(e,""+u):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(ca.hasOwnProperty(a)?null!=u&&"onScroll"===a&&Ss("scroll",e):null!=u&&_a(e,a,u,i))}switch(n){case"input":Za(e),ai(e,r,!1);break;case"textarea":Za(e),di(e);break;case"option":null!=r.value&&e.setAttribute("value",""+Ka(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ui(e,!!r.multiple,a,!1):null!=r.defaultValue&&ui(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Rs)}Ds(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Bd(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(ua(166));n=Tf(kf.current),Tf(Sf.current),zf(t)?(n=t.memoizedProps,(r=t.stateNode)[Hs]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Hs]=t,t.stateNode=r)}return null;case 13:return rc(Lf),r=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&zf(t):n=null!==e.memoizedState,r&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Lf.current)?0===Tp&&(Tp=3):(0!==Tp&&3!==Tp||(Tp=4),null===wp||0==(134217727&Np)&&0==(134217727&Ap)||om(wp,Sp))),(r||n)&&(t.flags|=4),null);case 4:return Pf(),null===e&&ks(t.stateNode.containerInfo),null;case 10:return Kc(t),null;case 17:return cc(t.type)&&fc(),null;case 19:if(rc(Lf),null===(r=t.memoizedState))return null;if(a=0!=(64&t.flags),null===(i=r.rendering))if(a)Yd(r,!1);else{if(0!==Tp||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(i=xf(e))){for(t.flags|=64,Yd(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 oc(Lf,1&Lf.current|2),t.child}e=e.sibling}null!==r.tail&&Dc()>Mp&&(t.flags|=64,a=!0,Yd(r,!1),t.lanes=33554432)}else{if(!a)if(null!==(e=xf(i))){if(t.flags|=64,a=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Yd(r,!0),null===r.tail&&"hidden"===r.tailMode&&!i.alternate&&!If)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Dc()-r.renderingStartTime>Mp&&1073741824!==n&&(t.flags|=64,a=!0,Yd(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=Dc(),n.sibling=null,t=Lf.current,oc(Lf,a?1&t|2:1&t),n):null;case 23:case 24:return sm(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(ua(156,t.tag))}function Jd(e){switch(e.tag){case 1:cc(e.type)&&fc();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Pf(),rc(lc),rc(ic),Bf(),0!=(64&(t=e.flags)))throw Error(ua(285));return e.flags=-4097&t|64,e;case 5:return Af(e),null;case 13:return rc(Lf),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return rc(Lf),null;case 4:return Pf(),null;case 10:return Kc(e),null;case 23:case 24:return sm(),null;default:return null}}function ep(e,t){try{var n="",r=t;do{n+=Qa(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 tp(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}Vd=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}},Gd=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Tf(Sf.current);var a,i=null;switch(n){case"input":o=ti(e,o),r=ti(e,r),i=[];break;case"option":o=li(e,o),r=li(e,r),i=[];break;case"select":o=Wt({},o,{value:void 0}),r=Wt({},r,{value:void 0}),i=[];break;case"textarea":o=si(e,o),r=si(e,r),i=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Rs)}for(s in Ci(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&&(ca.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&&(ca.hasOwnProperty(s)?(null!=u&&"onScroll"===s&&Ss("scroll",e),i||l===u||(i=[])):"object"==typeof u&&null!==u&&u.$$typeof===Fa?u.toString():(i=i||[]).push(s,u))}n&&(i=i||[]).push("style",n);var s=i;(t.updateQueue=s)&&(t.flags|=4)}},Bd=function(e,t,n,r){n!==r&&(t.flags|=4)};var np="function"==typeof WeakMap?WeakMap:Map;function rp(e,t,n){(n=rf(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Up||(Up=!0,jp=r),tp(0,t)},n}function op(e,t,n){(n=rf(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return tp(0,t),r(o)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===zp?zp=new Set([this]):zp.add(this),tp(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var ap="function"==typeof WeakSet?WeakSet:Set;function ip(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Tm(e,t)}else t.current=null}function lp(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:Wc(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&zs(t.stateNode.containerInfo));case 5:case 6:case 4:case 17:return}throw Error(ua(163))}function up(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)&&(Sm(n,e),_m(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:Wc(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&uf(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}uf(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Ds(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&&wl(n)))));case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(ua(163))}function sp(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=wi("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 cp(e,t){if(yc&&"function"==typeof yc.onCommitFiberUnmount)try{yc.onCommitFiberUnmount(gc,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))Sm(t,n);else{r=t;try{o()}catch(e){Tm(r,e)}}n=n.next}while(n!==e)}break;case 1:if(ip(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Tm(t,e)}break;case 5:ip(t);break;case 4:mp(e,t)}}function fp(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 dp(e){return 5===e.tag||3===e.tag||4===e.tag}function pp(e){e:{for(var t=e.return;null!==t;){if(dp(t))break e;t=t.return}throw Error(ua(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(ua(161))}16&n.flags&&(vi(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||dp(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=Rs));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 mp(e,t){for(var n,r,o=t,a=!1;;){if(!a){a=o.return;e:for(;;){if(null===a)throw Error(ua(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(cp(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(cp(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 hp(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[$s]=r,"input"===e&&"radio"===r.type&&null!=r.name&&ri(n,r),ki(e,o),t=ki(e,r),o=0;o<a.length;o+=2){var i=a[o],l=a[o+1];"style"===i?_i(n,l):"dangerouslySetInnerHTML"===i?yi(n,l):"children"===i?vi(n,l):_a(n,i,l,t)}switch(e){case"input":oi(n,r);break;case"textarea":fi(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(a=r.value)?ui(n,!!r.multiple,a,!1):e!==!!r.multiple&&(null!=r.defaultValue?ui(n,!!r.multiple,r.defaultValue,!0):ui(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(ua(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,wl(n.containerInfo)));case 12:return;case 13:return null!==t.memoizedState&&(Rp=Dc(),sp(t.child,!0)),void gp(t);case 19:return void gp(t);case 17:return;case 23:case 24:return void sp(t,null!==t.memoizedState)}throw Error(ua(163))}function gp(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new ap),t.forEach(function(t){var r=Pm.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}var yp=Math.ceil,vp=Sa.ReactCurrentDispatcher,bp=Sa.ReactCurrentOwner,Ep=0,wp=null,_p=null,Sp=0,Cp=0,kp=nc(0),Tp=0,Op=null,Pp=0,Np=0,Ap=0,Lp=0,xp=null,Rp=0,Mp=Infinity;function Ip(){Mp=Dc()+500}var Dp,Fp=null,Up=!1,jp=null,zp=null,Vp=!1,Gp=null,Bp=90,Wp=[],Hp=[],$p=null,qp=0,Qp=null,Xp=-1,Kp=0,Yp=0;function Zp(){return 0!=(48&Ep)?Dc():-1!==Xp?Xp:Xp=Dc()}function Jp(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===Fc()?1:2;if(0===Kp&&(Kp=Pp),0!==Bc.transition){0!==Yp&&(Yp=null!==xp?xp.pendingLanes:0),e=Kp;var t=4186112&~Yp;return 0==(t&=-t)&&0==(t=(e=4186112&~e)&-e)&&(t=8192),t}return e=Fc(),function e(t,n){switch(t){case 15:return 1;case 14:return 2;case 12:return 0===(t=jl(24&~n))?e(10,n):t;case 10:return 0===(t=jl(192&~n))?e(8,n):t;case 8:return 0===(t=jl(3584&~n))&&0===(t=jl(4186112&~n))&&(t=512),t;case 2:return 0===(n=jl(805306368&~n))&&(n=268435456),n}throw Error(ua(358,t))}(0!=(4&Ep)&&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),Kp)}function em(e,t,n){if(50<qp)throw qp=0,Qp=null,Error(ua(185));if(null===(e=tm(e,t)))return null;Vl(e,t,n),e===wp&&(Ap|=t,4===Tp&&om(e,Sp));var r=Fc();1===t?0!=(8&Ep)&&0==(48&Ep)?am(e):(nm(e,n),0===Ep&&(Ip(),Vc())):(0==(4&Ep)||98!==r&&99!==r||(null===$p?$p=new Set([e]):$p.add(e)),nm(e,n)),xp=e}function tm(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 nm(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,a=e.expirationTimes,i=e.pendingLanes;0<i;){var l=31-Gl(i),u=1<<l,s=a[l];-1===s?0!=(u&r)&&0==(u&o)||(s=t,Dl(u),a[l]=10<=Il?s+250:6<=Il?s+5e3:-1):s<=t&&(e.expiredLanes|=u),i&=~u}if(r=Fl(e,e===wp?Sp:0),t=Il,0===r)null!==n&&(n!==Ac&&Ec(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Ac&&Ec(n)}15===t?(n=am.bind(null,e),null===xc?(xc=[n],Rc=bc(kc,Gc)):xc.push(n),n=Ac):n=14===t?zc(99,am.bind(null,e)):zc(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(ua(358,e))}}(t),rm.bind(null,e)),e.callbackPriority=t,e.callbackNode=n}}function rm(e){if(Xp=-1,Yp=Kp=0,0!=(48&Ep))throw Error(ua(327));var t=e.callbackNode;if(wm()&&e.callbackNode!==t)return null;var n=Fl(e,e===wp?Sp:0);if(0===n)return null;var r=n,o=Ep;Ep|=16;var a=dm();for(wp===e&&Sp===r||(Ip(),cm(e,r));;)try{hm();break}catch(t){fm(e,t)}if(Xc(),vp.current=a,Ep=o,null!==_p?r=0:(wp=null,Sp=0,r=Tp),0!=(Pp&Ap))cm(e,0);else if(0!==r){if(2===r&&(Ep|=64,e.hydrate&&(e.hydrate=!1,zs(e.containerInfo)),0!==(n=Ul(e))&&(r=pm(e,n))),1===r)throw t=Op,cm(e,0),om(e,n),nm(e,Dc()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(ua(345));case 2:vm(e);break;case 3:if(om(e,n),(62914560&n)===n&&10<(r=Rp+500-Dc())){if(0!==Fl(e,0))break;if(((o=e.suspendedLanes)&n)!==n){Zp(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Us(vm.bind(null,e),r);break}vm(e);break;case 4:if(om(e,n),(4186112&n)===n)break;for(r=e.eventTimes,o=-1;0<n;){var i=31-Gl(n);a=1<<i,(i=r[i])>o&&(o=i),n&=~a}if(n=o,10<(n=(120>(n=Dc()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*yp(n/1960))-n)){e.timeoutHandle=Us(vm.bind(null,e),n);break}vm(e);break;case 5:vm(e);break;default:throw Error(ua(329))}}return nm(e,Dc()),e.callbackNode===t?rm.bind(null,e):null}function om(e,t){for(t&=~Lp,e.suspendedLanes|=t&=~Ap,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Gl(t),r=1<<n;e[n]=-1,t&=~r}}function am(e){if(0!=(48&Ep))throw Error(ua(327));if(wm(),e===wp&&0!=(e.expiredLanes&Sp)){var t=Sp,n=pm(e,t);0!=(Pp&Ap)&&(n=pm(e,t=Fl(e,t)))}else n=pm(e,t=Fl(e,0));if(0!==e.tag&&2===n&&(Ep|=64,e.hydrate&&(e.hydrate=!1,zs(e.containerInfo)),0!==(t=Ul(e))&&(n=pm(e,t))),1===n)throw n=Op,cm(e,0),om(e,t),nm(e,Dc()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,vm(e),nm(e,Dc()),null}function im(e,t){var n=Ep;Ep|=1;try{return e(t)}finally{0===(Ep=n)&&(Ip(),Vc())}}function lm(e,t){var n=Ep;Ep&=-2,Ep|=8;try{return e(t)}finally{0===(Ep=n)&&(Ip(),Vc())}}function um(e,t){oc(kp,Cp),Cp|=t,Pp|=t}function sm(){Cp=kp.current,rc(kp)}function cm(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,js(n)),null!==_p)for(n=_p.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&fc();break;case 3:Pf(),rc(lc),rc(ic),Bf();break;case 5:Af(r);break;case 4:Pf();break;case 13:case 19:rc(Lf);break;case 10:Kc(r);break;case 23:case 24:sm()}n=n.return}wp=e,_p=xm(e.current,null),Sp=Cp=Pp=t,Tp=0,Op=null,Lp=Ap=Np=0}function fm(e,t){for(;;){var n=_p;try{if(Xc(),Wf.current=kd,Kf){for(var r=qf.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}Kf=!1}if($f=0,Xf=Qf=qf=null,Yf=!1,bp.current=null,null===n||null===n.return){Tp=1,Op=t,_p=null;break}e:{var a=e,i=n.return,l=n,u=t;if(t=Sp,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&Lf.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 g=d.updateQueue;if(null===g){var y=new Set;y.add(s),d.updateQueue=y}else g.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=rf(-1,1);v.tag=2,of(l,v)}l.lanes|=1;break e}u=void 0,l=t;var b=a.pingCache;if(null===b?(b=a.pingCache=new np,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=Om.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((Xa(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!==Tp&&(Tp=2),u=ep(u,l),d=i;do{switch(d.tag){case 3:a=u,d.flags|=4096,d.lanes|=t&=-t,af(d,rp(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===zp||!zp.has(w)))){d.flags|=4096,d.lanes|=t&=-t,af(d,op(d,a,t));break e}}d=d.return}while(null!==d)}ym(n)}catch(e){t=e,_p===n&&null!==n&&(_p=n=n.return);continue}break}}function dm(){var e=vp.current;return vp.current=kd,null===e?kd:e}function pm(e,t){var n=Ep;Ep|=16;var r=dm();for(wp===e&&Sp===t||cm(e,t);;)try{mm();break}catch(t){fm(e,t)}if(Xc(),Ep=n,vp.current=r,null!==_p)throw Error(ua(261));return wp=null,Sp=0,Tp}function mm(){for(;null!==_p;)gm(_p)}function hm(){for(;null!==_p&&!wc();)gm(_p)}function gm(e){var t=Dp(e.alternate,e,Cp);e.memoizedProps=e.pendingProps,null===t?ym(e):_p=t,bp.current=null}function ym(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=Zd(n,t,Cp)))return void(_p=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&Cp)||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=Jd(t)))return n.flags&=2047,void(_p=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(_p=t);_p=t=e}while(null!==t);0===Tp&&(Tp=5)}function vm(e){var t=Fc();return jc(99,bm.bind(null,e,t)),null}function bm(e,t){do{wm()}while(null!==Gp);if(0!=(48&Ep))throw Error(ua(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(ua(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-Gl(a),s=1<<u;o[u]=0,i[u]=-1,l[u]=-1,a&=~s}if(null!==$p&&0==(24&r)&&$p.has(e)&&$p.delete(e),e===wp&&(_p=wp=null,Sp=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(o=Ep,Ep|=32,bp.current=null,Ms=ql,cs(i=ss())){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,g=null;e:for(;;){for(var y;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!==(y=h.firstChild);)g=h,h=y;for(;;){if(h===i)break e;if(g===l&&++p===a&&(f=c),g===u&&++m===s&&(d=c),null!==(y=h.nextSibling))break;g=(h=g).parentNode}h=y}l=-1===f||-1===d?null:{start:f,end:d}}else l=null;l=l||{start:0,end:0}}else l=null;Is={focusedElem:i,selectionRange:l},ql=!1,Fp=r;do{try{Em()}catch(e){if(null===Fp)throw Error(ua(330));Tm(Fp,e),Fp=Fp.nextEffect}}while(null!==Fp);Fp=r;do{try{for(i=e;null!==Fp;){var v=Fp.flags;if(16&v&&vi(Fp.stateNode,""),128&v){var b=Fp.alternate;if(null!==b){var E=b.ref;null!==E&&("function"==typeof E?E(null):E.current=null)}}switch(1038&v){case 2:pp(Fp),Fp.flags&=-3;break;case 6:pp(Fp),Fp.flags&=-3,hp(Fp.alternate,Fp);break;case 1024:Fp.flags&=-1025;break;case 1028:Fp.flags&=-1025,hp(Fp.alternate,Fp);break;case 4:hp(Fp.alternate,Fp);break;case 8:mp(i,l=Fp);var w=l.alternate;fp(l),null!==w&&fp(w)}Fp=Fp.nextEffect}}catch(e){if(null===Fp)throw Error(ua(330));Tm(Fp,e),Fp=Fp.nextEffect}}while(null!==Fp);if(E=Is,b=ss(),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&&cs(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=us(v,w),a=us(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}ql=!!Ms,Is=Ms=null,e.current=n,Fp=r;do{try{for(v=e;null!==Fp;){var _=Fp.flags;if(36&_&&up(v,Fp.alternate,Fp),128&_){b=void 0;var S=Fp.ref;if(null!==S){var C=Fp.stateNode;switch(Fp.tag){case 5:b=C;break;default:b=C}"function"==typeof S?S(b):S.current=b}}Fp=Fp.nextEffect}}catch(e){if(null===Fp)throw Error(ua(330));Tm(Fp,e),Fp=Fp.nextEffect}}while(null!==Fp);Fp=null,Lc(),Ep=o}else e.current=n;if(Vp)Vp=!1,Gp=e,Bp=t;else for(Fp=r;null!==Fp;)t=Fp.nextEffect,Fp.nextEffect=null,8&Fp.flags&&((_=Fp).sibling=null,_.stateNode=null),Fp=t;if(0===(r=e.pendingLanes)&&(zp=null),1===r?e===Qp?qp++:(qp=0,Qp=e):qp=0,n=n.stateNode,yc&&"function"==typeof yc.onCommitFiberRoot)try{yc.onCommitFiberRoot(gc,n,void 0,64==(64&n.current.flags))}catch(e){}if(nm(e,Dc()),Up)throw Up=!1,e=jp,jp=null,e;return 0!=(8&Ep)||Vc(),null}function Em(){for(;null!==Fp;){var e=Fp.flags;0!=(256&e)&&lp(Fp.alternate,Fp),0==(512&e)||Vp||(Vp=!0,zc(97,function(){return wm(),null})),Fp=Fp.nextEffect}}function wm(){if(90!==Bp){var e=97<Bp?97:Bp;return Bp=90,jc(e,Cm)}return!1}function _m(e,t){Wp.push(t,e),Vp||(Vp=!0,zc(97,function(){return wm(),null}))}function Sm(e,t){Hp.push(t,e),Vp||(Vp=!0,zc(97,function(){return wm(),null}))}function Cm(){if(null===Gp)return!1;var e=Gp;if(Gp=null,0!=(48&Ep))throw Error(ua(331));var t=Ep;Ep|=32;var n=Hp;Hp=[];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(ua(330));Tm(a,e)}}for(n=Wp,Wp=[],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(ua(330));Tm(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 Ep=t,Vc(),!0}function km(e,t,n){of(e,t=rp(0,t=ep(n,t),1)),t=Zp(),null!==(e=tm(e,1))&&(Vl(e,1,t),nm(e,t))}function Tm(e,t){if(3===e.tag)km(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){km(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===zp||!zp.has(r))){var o=op(n,e=ep(t,e),1);if(of(n,o),o=Zp(),null!==(n=tm(n,1)))Vl(n,1,o),nm(n,o);else if("function"==typeof r.componentDidCatch&&(null===zp||!zp.has(r)))try{r.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function Om(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=Zp(),e.pingedLanes|=e.suspendedLanes&n,wp===e&&(Sp&n)===n&&(4===Tp||3===Tp&&(62914560&Sp)===Sp&&500>Dc()-Rp?cm(e,0):Lp|=n),nm(e,t)}function Pm(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===Fc()?1:2:(0===Kp&&(Kp=Pp),0===(t=jl(62914560&~Kp))&&(t=4194304))),n=Zp(),null!==(e=tm(e,t))&&(Vl(e,t,n),nm(e,n))}function Nm(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 Am(e,t,n,r){return new Nm(e,t,n,r)}function Lm(e){return!(!(e=e.prototype)||!e.isReactComponent)}function xm(e,t){var n=e.alternate;return null===n?((n=Am(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 Rm(e,t,n,r,o,a){var i=2;if(r=e,"function"==typeof e)Lm(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case Ta:return Mm(n.children,o,a,t);case Ua:i=8,o|=16;break;case Oa:i=8,o|=1;break;case Pa:return(e=Am(12,n,t,8|o)).elementType=Pa,e.type=Pa,e.lanes=a,e;case xa:return(e=Am(13,n,t,o)).type=xa,e.elementType=xa,e.lanes=a,e;case Ra:return(e=Am(19,n,t,o)).elementType=Ra,e.lanes=a,e;case ja:return Im(n,o,a,t);case za:return(e=Am(24,n,t,o)).elementType=za,e.lanes=a,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Na:i=10;break e;case Aa:i=9;break e;case La:i=11;break e;case Ma:i=14;break e;case Ia:i=16,r=null;break e;case Da:i=22;break e}throw Error(ua(130,null==e?e:typeof e,""))}return(t=Am(i,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Mm(e,t,n,r){return(e=Am(7,e,r,t)).lanes=n,e}function Im(e,t,n,r){return(e=Am(23,e,r,t)).elementType=ja,e.lanes=n,e}function Dm(e,t,n){return(e=Am(6,e,null,t)).lanes=n,e}function Fm(e,t,n){return(t=Am(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Um(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=zl(0),this.expirationTimes=zl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zl(0),this.mutableSourceEagerHydrationData=null}function jm(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:ka,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function zm(e,t,n,r){var o=t.current,a=Zp(),i=Jp(o);e:if(n){t:{if(Ki(n=n._reactInternals)!==n||1!==n.tag)throw Error(ua(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(cc(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(ua(171))}if(1===n.tag){var u=n.type;if(cc(u)){n=pc(n,u,l);break e}}n=l}else n=ac;return null===t.context?t.context=n:t.pendingContext=n,(t=rf(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),of(o,t),em(o,i,a),i}function Vm(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Gm(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Bm(e,t){Gm(e,t),(e=e.alternate)&&Gm(e,t)}function Wm(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Um(e,t,null!=n&&!0===n.hydrate),t=Am(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,tf(t),e[qs]=n.current,ks(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 Hm(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function $m(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=Vm(i);l.call(e)}}zm(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 Wm(e,0,t?{hydrate:!0}:void 0)}(n,r),i=a._internalRoot,"function"==typeof o){var u=o;o=function(){var e=Vm(i);u.call(e)}}lm(function(){zm(t,i,e,o)})}return Vm(i)}function qm(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Hm(t))throw Error(ua(200));return jm(e,t,null,n)}Dp=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||lc.current)Ad=!0;else{if(0==(n&r)){switch(Ad=!1,t.tag){case 3:zd(t),Vf();break;case 5:Nf(t);break;case 1:cc(t.type)&&mc(t);break;case 4:Of(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;oc(Hc,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?Hd(e,t,n):(oc(Lf,1&Lf.current),null!==(t=Kd(e,t,n))?t.sibling:null);oc(Lf,1&Lf.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return Xd(e,t,n);t.flags|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),oc(Lf,Lf.current),r)break;return null;case 23:case 24:return t.lanes=0,Id(e,t,n)}return Kd(e,t,n)}Ad=0!=(16384&e.flags)}else Ad=!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=sc(t,ic.current),Zc(t,n),o=ed(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,cc(r)){var a=!0;mc(t)}else a=!1;t.memoizedState=null!=o.state?o.state:null,tf(t);var i=r.getDerivedStateFromProps;"function"==typeof i&&cf(t,r,i,e),o.updater=ff,t.stateNode=o,o._reactInternals=t,hf(t,r,e,n),t=jd(null,t,r,!0,a,n)}else t.tag=0,Ld(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 Lm(e)?1:0;if(null!=e){if((e=e.$$typeof)===La)return 11;if(e===Ma)return 14}return 2}(o),e=Wc(o,e),a){case 0:t=Fd(null,t,o,e,n);break e;case 1:t=Ud(null,t,o,e,n);break e;case 11:t=xd(null,t,o,e,n);break e;case 14:t=Rd(null,t,o,Wc(o.type,e),r,n);break e}throw Error(ua(306,o,""))}return t;case 0:return o=t.pendingProps,Fd(e,t,r=t.type,o=t.elementType===r?o:Wc(r,o),n);case 1:return o=t.pendingProps,Ud(e,t,r=t.type,o=t.elementType===r?o:Wc(r,o),n);case 3:if(zd(t),r=t.updateQueue,null===e||null===r)throw Error(ua(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,nf(e,t),lf(t,r,null,n),(r=t.memoizedState.element)===o)Vf(),t=Kd(e,t,n);else{if((a=(o=t.stateNode).hydrate)&&(Mf=Vs(t.stateNode.containerInfo.firstChild),Rf=t,a=If=!0),a){if(null!=(e=o.mutableSourceEagerHydrationData))for(o=0;o<e.length;o+=2)(a=e[o])._workInProgressVersionPrimary=e[o+1],Gf.push(a);for(n=wf(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Ld(e,t,r,n),Vf();t=t.child}return t;case 5:return Nf(t),null===e&&Uf(t),a=null!==e?e.memoizedProps:null,i=(o=t.pendingProps).children,Fs(r=t.type,o)?i=null:null!==a&&Fs(r,a)&&(t.flags|=16),Dd(e,t),Ld(e,t,i,n),t.child;case 6:return null===e&&Uf(t),null;case 13:return Hd(e,t,n);case 4:return Of(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ef(t,null,r,n):Ld(e,t,r,n),t.child;case 11:return o=t.pendingProps,xd(e,t,r=t.type,o=t.elementType===r?o:Wc(r,o),n);case 7:return Ld(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ld(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(oc(Hc,l._currentValue),l._currentValue=a,null!==i)if(0==(a=os(l=i.value,a)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,a):1073741823))){if(i.children===o.children&&!lc.current){t=Kd(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=rf(-1,n&-n)).tag=2,of(l,s)),l.lanes|=n,null!==(s=l.alternate)&&(s.lanes|=n),Yc(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}Ld(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(a=t.pendingProps).children,Zc(t,n),r=r(o=Jc(o,a.unstable_observedBits)),t.flags|=1,Ld(e,t,r,n),t.child;case 14:return a=Wc(o=t.type,t.pendingProps),Rd(e,t,o,a=Wc(o.type,a),r,n);case 15:return Md(e,t,t.type,t.pendingProps,r,n);case 17:return o=t.pendingProps,o=t.elementType===(r=t.type)?o:Wc(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,cc(r)?(e=!0,mc(t)):e=!1,Zc(t,n),pf(t,r,o),hf(t,r,o,n),jd(null,t,r,!0,e,n);case 19:return Xd(e,t,n);case 23:case 24:return Id(e,t,n)}throw Error(ua(156,t.tag))},Wm.prototype.render=function(e){zm(e,this._internalRoot,null,null)},Wm.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;zm(null,e,null,function(){t[qs]=null})},el=function(e){13===e.tag&&(em(e,4,Zp()),Bm(e,4))},tl=function(e){13===e.tag&&(em(e,67108864,Zp()),Bm(e,67108864))},nl=function(e){if(13===e.tag){var t=Zp(),n=Jp(e);em(e,n,t),Bm(e,n)}},rl=function(e,t){return t()},Oi=function(e,t,n){switch(t){case"input":if(oi(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=Zs(r);if(!o)throw Error(ua(90));Ja(r),oi(r,o)}}}break;case"textarea":fi(e,n);break;case"select":null!=(t=n.value)&&ui(e,!!n.multiple,t,!1)}},Ri=im,Mi=function(e,t,n,r,o){var a=Ep;Ep|=4;try{return jc(98,e.bind(null,t,n,r,o))}finally{0===(Ep=a)&&(Ip(),Vc())}},Ii=function(){0==(49&Ep)&&(function(){if(null!==$p){var e=$p;$p=null,e.forEach(function(e){e.expiredLanes|=24&e.pendingLanes,nm(e,Dc())})}Vc()}(),wm())},Di=function(e,t){var n=Ep;Ep|=2;try{return e(t)}finally{0===(Ep=n)&&(Ip(),Vc())}};var Qm={Events:[Ks,Ys,Zs,Li,xi,wm,{current:!1}]},Xm={findFiberByHostInstance:Xs,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},Km={bundleType:Xm.bundleType,version:Xm.version,rendererPackageName:Xm.rendererPackageName,rendererConfig:Xm.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Sa.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ji(e))?null:e.stateNode},findFiberByHostInstance:Xm.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var Ym=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ym.isDisabled&&Ym.supportsFiber)try{gc=Ym.inject(Km),yc=Ym}catch(e){}}var Zm={__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Qm,createPortal:qm,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(ua(188));throw Error(ua(268,Object.keys(e)))}return null===(e=Ji(t))?null:e.stateNode},flushSync:function(e,t){var n=Ep;if(0!=(48&n))return e(t);Ep|=1;try{if(e)return jc(99,e.bind(null,t))}finally{Ep=n,Vc()}},hydrate:function(e,t,n){if(!Hm(t))throw Error(ua(200));return $m(null,e,t,!0,n)},render:function(e,t,n){if(!Hm(t))throw Error(ua(200));return $m(null,e,t,!1,n)},unmountComponentAtNode:function(e){if(!Hm(e))throw Error(ua(40));return!!e._reactRootContainer&&(lm(function(){$m(null,null,e,!1,function(){e._reactRootContainer=null,e[qs]=null})}),!0)},unstable_batchedUpdates:im,unstable_createPortal:function(e,t){return qm(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},unstable_renderSubtreeIntoContainer:function(e,t,n,r){if(!Hm(n))throw Error(ua(200));if(null==e||void 0===e._reactInternals)throw Error(ua(38));return $m(e,t,n,!1,r)},version:"17.0.2"},Jm=0,eh={__interactionsRef:null,__subscriberRef:null,unstable_clear:function(e){return e()},unstable_getCurrent:function(){return null},unstable_getThreadID:function(){return++Jm},unstable_subscribe:function(){},unstable_trace:function(e,t,n){return n()},unstable_unsubscribe:function(){},unstable_wrap:function(e){return e}},th=(s(function(e,t){}),s(function(e){e.exports=eh}),s(function(e,t){}),s(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=Zm}));function nh(e){var t=e.color,n=void 0===t?"#00425D":t,r=e.underlineColor,o=void 0===r?"#00425D":r;return $t.createElement("svg",{className:e.className,width:"40",height:"23",viewBox:"0 0 40 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},$t.createElement("path",{d:"M6.38546 10.1313V10.029H4.92542C4.23835 10.029 3.72877 10.0972 3.39668 10.2337C3.07605 10.3587 2.91573 10.6374 2.91573 11.0695C2.91573 11.7177 3.37378 12.0418 4.28988 12.0418C5.05711 12.0418 5.59532 11.8826 5.9045 11.5642C6.22514 11.2344 6.38546 10.7568 6.38546 10.1313ZM3.72304 13.9182C2.64663 13.9182 1.85076 13.6567 1.33546 13.1335C0.820153 12.599 0.5625 11.911 0.5625 11.0695C0.5625 10.0574 0.894586 9.32958 1.55876 8.88606C2.22293 8.43118 3.23636 8.20374 4.59906 8.20374H6.38546V7.82846C6.38546 6.98693 5.84725 6.56616 4.77083 6.56616C3.80893 6.56616 3.27644 6.93007 3.17338 7.65788H0.768622C0.848781 6.78223 1.21522 6.04873 1.86794 5.45738C2.52066 4.86603 3.50547 4.57036 4.82236 4.57036C6.1278 4.57036 7.11261 4.86035 7.77678 5.44032C8.44095 6.0203 8.77304 6.83909 8.77304 7.89669V13.7135H6.60875V12.7241C6.09345 13.5202 5.13155 13.9182 3.72304 13.9182Z",fill:n}),$t.createElement("path",{d:"M14.2554 11.6324V13.6965C14.0149 13.7306 13.763 13.7476 13.4996 13.7476C12.5492 13.7476 11.8736 13.5486 11.4728 13.1506C11.072 12.7412 10.8716 12.0873 10.8716 11.1889V0.919922H13.3107V11.0183C13.3107 11.2344 13.3508 11.3936 13.4309 11.496C13.5111 11.5983 13.6771 11.6495 13.929 11.6495C13.9863 11.6495 14.0493 11.6495 14.118 11.6495C14.1982 11.6381 14.244 11.6324 14.2554 11.6324Z",fill:n}),$t.createElement("path",{d:"M23.8943 8.63019V13.7135H21.4552V8.40844C21.4552 7.23711 20.9742 6.65145 20.0123 6.65145C19.4512 6.65145 19.0161 6.82203 18.7069 7.16319C18.4092 7.50436 18.2603 7.9763 18.2603 8.57902V13.7135H15.8212V4.77506H18.0714V5.86678C18.5409 5.0025 19.4054 4.57036 20.6651 4.57036C21.856 4.57036 22.7263 4.99113 23.2759 5.83266C24.0432 4.99113 25.0394 4.57036 26.2647 4.57036C27.3182 4.57036 28.1255 4.89446 28.6867 5.54267C29.2478 6.19088 29.5283 7.05516 29.5283 8.13551V13.7135H27.0892V8.40844C27.0892 7.23711 26.6083 6.65145 25.6464 6.65145C25.0738 6.65145 24.6386 6.82772 24.3409 7.18025C24.0432 7.52141 23.8943 8.00473 23.8943 8.63019Z",fill:n}),$t.createElement("path",{d:"M37.0321 10.1313V10.029H35.572C34.885 10.029 34.3754 10.0972 34.0433 10.2337C33.7227 10.3587 33.5623 10.6374 33.5623 11.0695C33.5623 11.7177 34.0204 12.0418 34.9365 12.0418C35.7037 12.0418 36.2419 11.8826 36.5511 11.5642C36.8717 11.2344 37.0321 10.7568 37.0321 10.1313ZM34.3696 13.9182C33.2932 13.9182 32.4974 13.6567 31.9821 13.1335C31.4668 12.599 31.2091 11.911 31.2091 11.0695C31.2091 10.0574 31.5412 9.32958 32.2054 8.88606C32.8695 8.43118 33.883 8.20374 35.2457 8.20374H37.0321V7.82846C37.0321 6.98693 36.4939 6.56616 35.4174 6.56616C34.4555 6.56616 33.923 6.93007 33.82 7.65788H31.4152C31.4954 6.78223 31.8618 6.04873 32.5145 5.45738C33.1673 4.86603 34.1521 4.57036 35.469 4.57036C36.7744 4.57036 37.7592 4.86035 38.4234 5.44032C39.0876 6.0203 39.4196 6.83909 39.4196 7.89669V13.7135H37.2554V12.7241C36.7401 13.5202 35.7781 13.9182 34.3696 13.9182Z",fill:n}),$t.createElement("rect",{y:"20",width:"40",height:"3",fill:o}))}var rh=s(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)&&o.length){var i=n.apply(null,o);i&&e.push(i)}else if("object"===a)for(var l in o)t.call(o,l)&&o[l]&&e.push(l)}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n}()}),oh=function(e){return $t.createElement("div",{className:rh("_2SwwZ",e.className),"data-testid":"loader"},$t.createElement("div",{className:"_2qODo"}),$t.createElement("div",{className:"_2YO01"}))};function ah(){return(ah=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ih(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function lh(e){ih(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 uh(e){ih(1,arguments);var t=lh(e);return t.setHours(0,0,0,0),t}function sh(e,t){ih(2,arguments);var n=uh(e),r=uh(t);return n.getTime()===r.getTime()}function ch(e){return ih(1,arguments),1e3*e}var fh=function(e){var t=e.installments_count,n=e.deferred_days+30*e.deferred_months;return 1===t?$t.createElement(Qo,{id:"payment-plan-strings.day-abbreviation",defaultMessage:"J{numberOfDeferredDays}",values:{numberOfDeferredDays:n>0?"+"+n:""}}):t+"x"};function dh(){}function ph(){}Function.call.bind(Object.prototype.hasOwnProperty),ph.resetWarningCache=dh;var mh=s(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,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:ph,resetWarningCache:dh};return n.PropTypes=n,n}()}),hh=s(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return[].slice.call(e.querySelectorAll("*"),0).filter(o)};var n=/input|select|textarea|button|object/;function r(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var n=window.getComputedStyle(e);return t?"visible"!==n.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0:"none"==n.getPropertyValue("display")}catch(e){return console.warn("Failed to inspect element style"),!1}}function o(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var o=isNaN(t);return(o||t>=0)&&function(e,t){var o=e.nodeName.toLowerCase();return(n.test(o)&&!e.disabled||"a"===o&&e.href||t)&&function(e){for(var t=e;t&&t!==document.body;){if(r(t))return!1;t=t.parentNode}return!0}(e)}(e,!o)}e.exports=t.default}),gh=s(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=hh)&&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)}}}),yh=s(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];if(e===document.activeElement){if(!a)return;o=l}if(l!==document.activeElement||a||(o=i),i===document.activeElement&&a&&(o=l),o)return t.preventDefault(),void o.focus();var u=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null!=u&&"Chrome"!=u[1]&&null==/\biPod\b|\biPad\b/g.exec(navigator.userAgent)){var s=n.indexOf(document.activeElement);if(s>-1&&(s+=a?-1:1),void 0===(o=n[s]))return t.preventDefault(),void(o=a?l:i).focus();t.preventDefault(),o.focus()}}else t.preventDefault()};var n,r=(n=hh)&&n.__esModule?n:{default:n};e.exports=t.default}),vh=function(){},bh=s(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}),Eh=s(function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=t.SafeNodeList=t.SafeHTMLCollection=void 0;var r=((n=bh)&&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}),wh=s(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&&Eh.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=vh)&&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(" ")),[])}}),_h=s(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}}),Sh=s(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}),Ch=(s(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=Sh)&&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))})}),s(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(mh),i=d(gh),l=p(yh),u=d(wh),s=d(_h),c=p(Eh),f=p(Sh);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,g=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}($t.Component);g.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},g.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(Eh.SafeHTMLCollection),a.default.instanceOf(Eh.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=g,e.exports=t.default}));function kh(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function Th(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function Oh(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}}kh.__suppressDeprecationWarning=!0,Th.__suppressDeprecationWarning=!0,Oh.__suppressDeprecationWarning=!0;var Ph=s(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($t),a=c(th),i=c(mh),l=c(Ch),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}(wh),s=c(Eh);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=Eh.canUseDOM&&void 0!==a.default.createPortal,g=function(e){return document.createElement(e)},y=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=y()(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(){Eh.canUseDOM&&(h||(this.node=g("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(Eh.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(Eh.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 Eh.canUseDOM&&h?(!this.node&&h&&(this.node=g("div")),y()(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}($t.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(Eh.SafeHTMLCollection),i.default.instanceOf(Eh.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=kh,t.componentWillReceiveProps=Th),"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=Oh;var a=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){a.call(this,e,t,this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n)}}}(b),t.default=b}),Nh=u(s(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n,r=(n=Ph)&&n.__esModule?n:{default:n};t.default=r.default,e.exports=t.default})),Ah=s(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 Lh(e){var t=e.color;return $t.createElement("svg",{className:e.className,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},$t.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 xh,Rh,Mh,Ih=function(e){var t,n=e.children,r=e.isOpen,o=e.onClose,a=e.className,i=e.contentClassName,l=e.scrollable,u=void 0!==l&&l,s=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(o[n]=e[n]);return o}(e,["children","isOpen","onClose","className","contentClassName","scrollable"]);return Nh.setAppElement("body"),$t.createElement(Nh,Object.assign({className:rh("_D8SjB",a),overlayClassName:"_1yxCb",onAfterOpen:function(){Ah.on()},onAfterClose:function(){Ah.off()},onRequestClose:o,isOpen:r,shouldCloseOnOverlayClick:!0,shouldCloseOnEsc:!0},s),$t.createElement("div",{className:"_12LLh"},$t.createElement("button",{onClick:o,className:"_3YRro","data-testid":"modal-close-button"},$t.createElement(Lh,null))),$t.createElement("div",{className:rh("_ocM9x",i,(t={},t._1GP2F=u,t))},n))},Dh=function(e){var t=e.isOpen,n=e.onClose,r=e.eligibilityPlans,o=zo(),a=$t.useState(0),i=a[0],l=a[1],u=r[i],s=u&&jt(u.purchase_amount+u.customer_total_cost_amount),c=u?jt(u.customer_total_cost_amount):0,f=(null==u?void 0:u.annual_interest_rate)&&u.annual_interest_rate/1e4,d=jt(u?u.customer_total_cost_amount:0),p=u&&u.installments_count>4;return $t.createElement(Ih,{isOpen:t,onClose:n,scrollable:!0,ariaHideApp:!1},$t.createElement("div",{className:"_tUqYt"},$t.createElement("div",{className:"_2xmiY","data-testid":"modal-title-element"},$t.createElement(Qo,{id:"eligibility-modal.title",defaultMessage:"<highlighted>Payez en plusieurs fois</highlighted> ou plus tard par carte bancaire avec Alma.",values:{highlighted:function(){return $t.createElement("span",null,[].slice.call(arguments))}}})),$t.createElement("div",{className:"_3Iopr"},r.map(function(e,t){var n;return $t.createElement("button",{key:t,className:rh((n={},n._Hak_D=t===i,n)),onClick:function(){return l(t)}},fh(e))})),$t.createElement("div",{className:"_2Qzr7","data-testid":"modal-installments-element"},$t.createElement("div",{className:rh("_jPe3S","_naxaQ")},$t.createElement("span",null,$t.createElement(Qo,{id:"eligibility-modal.total",defaultMessage:"Total"})),$t.createElement("span",null,$t.createElement(Ko,{value:s,style:"currency",currency:"EUR"}))),$t.createElement("div",{className:rh("_jPe3S","_YJM5O")},$t.createElement("span",null,$t.createElement(Qo,p?{id:"eligibility-modal.credit-cost",defaultMessage:"Dont coût du crédit"}:{id:"eligibility-modal.cost",defaultMessage:"Dont frais"})),$t.createElement("span",null,p?$t.createElement(Qo,{id:"eligibility-modal.credit-cost-amount",defaultMessage:"{creditCost} (TAEG {TAEG})",values:{creditCost:o.formatNumber(c,{style:"currency",currency:"EUR"}),TAEG:o.formatNumber(null!=f?f:0,{style:"percent",maximumFractionDigits:2})}}):$t.createElement(Ko,{value:d,style:"currency",currency:"EUR"}))),((null==u?void 0:u.payment_plan)||[]).map(function(e,t){return $t.createElement("div",{className:"_jPe3S",key:t},$t.createElement("span",null,function(e){return ih(1,arguments),sh(e,Date.now())}(1e3*e.due_date)?$t.createElement(Qo,{id:"installments.today",defaultMessage:"Aujourd'hui"}):$t.createElement(Xo,{value:1e3*e.due_date,day:"numeric",month:"long",year:"numeric"})),$t.createElement("span",null,$t.createElement(Ko,{value:jt(e.total_amount),style:"currency",currency:"EUR"})))}),p&&$t.createElement("p",{className:"_3iZif"},$t.createElement(Qo,{id:"eligibility-modal.credit-commitment",defaultMessage:"Un crédit vous engage et doit être remboursé. Vérifiez vos capacités de remboursement\n avant de vous engager."}))),$t.createElement("div",{className:"_1v5LL","data-testid":"modal-info-element"},$t.createElement("div",{className:"_8qF-d"},$t.createElement("div",{className:"_3iUVQ"},"1"),$t.createElement("div",null,$t.createElement(Qo,{id:"eligibility-modal.bullet-1",defaultMessage:"Choisissez <strong>Alma</strong> au moment du paiement.",values:{strong:function(){return $t.createElement("strong",null,[].slice.call(arguments))}}}))),$t.createElement("div",{className:"_8qF-d"},$t.createElement("div",{className:"_3iUVQ"},"2"),$t.createElement("div",null,$t.createElement(Qo,{id:"eligibility-modal.bullet-2",defaultMessage:"Renseignez les <strong>informations</strong> demandées.",values:{strong:function(){return $t.createElement("strong",null,[].slice.call(arguments))}}}))),$t.createElement("div",{className:"_8qF-d"},$t.createElement("div",{className:"_3iUVQ"},"3"),$t.createElement("div",null,$t.createElement(Qo,{id:"eligibility-modal.bullet-3",defaultMessage:"La validation de votre paiement <strong>instantanée</strong> !",values:{strong:function(){return $t.createElement("strong",null,[].slice.call(arguments))}}})))),$t.createElement("div",{className:"_HqglP"},$t.createElement(nh,{underlineColor:"#FF414D"}))))},Fh=function(e){var t,n,r,o,a,i,l,u,s=e.transitionDelay,c=e.hideIfNotEligible,f=function(e,t,n){var r,o,a,i=t.domain,l=t.merchantId,u=$t.useState([]),s=u[0],c=u[1],f=$t.useState(It.PENDING),d=f[0],p=f[1],m=null==n?void 0:n.map(function(e){return{installments_count:e.installmentsCount}});return $t.useEffect(function(){d===It.PENDING&&function(e,t,n){void 0===e&&(e="");try{return Promise.resolve(fetch(e,{method:"POST",headers:ah({"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){p(It.SUCCESS),c(e)}).catch(function(){p(It.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 ah({},e,{eligible:!!n&&e.purchase_amount>=(null==n?void 0:n.minAmount)&&e.purchase_amount<=(null==n?void 0:n.maxAmount),minAmount:null==n?void 0:n.minAmount,maxAmount:null==n?void 0:n.maxAmount})}):a),d]}(e.purchaseAmount,e.apiData,e.configPlans),d=f[0],p=f[1],m=d.filter(function(e){return!0===e.eligible}),h=$t.useState(!1),g=h[0],y=h[1],v=function(e,t){var n=$t.useState(0),r=n[0],o=n[1],a=$t.useState(!0),i=a[0],l=a[1];return $t.useEffect(function(){var n=!0;return 0!==e.length&&(!e.includes(r)&&i&&o(e[0]),setTimeout(function(){i&&n&&o(e[e.includes(r)?(e.indexOf(r)+1)%e.length:0])},t)),function(){n=!1}},[e,r]),{current:r,onHover:function(e){o(e),l(!1)},onLeave:function(){l(!0)}}}(d.map(function(e,t){if(e.eligible)return t}).filter(function(e){return void 0!==e}),s||5500),b=v.current,E=v.onHover,w=v.onLeave;return p===It.PENDING?$t.createElement("div",{className:rh("_1ShhM","_OaY-w")},$t.createElement(oh,null)):c&&0==m.length||0===d.length||p===It.FAILED?null:$t.createElement($t.Fragment,null,$t.createElement("button",{onClick:function(){m.length>0&&y(!0)},className:"_1ShhM",style:{cursor:m.length>0?"pointer":"initial"},"data-testid":"widget-button"},$t.createElement("div",{className:"_Q7H0F"},$t.createElement(nh,{className:"_1pqvZ"}),$t.createElement("div",{className:"_3PxP3"},d.map(function(e,t){var n;return $t.createElement("div",{onMouseOver:function(){return E(t)},onMouseOut:function(){return w()},key:t,className:rh("_1Pf7z",(n={},n._3aD09=b===t,n._3BUl_=!e.eligible,n))},fh(e))}))),$t.createElement("div",{className:rh("_2TfhX",(t={},t._3BUl_=d[b]&&!d[b].eligible,t))},0!==d.length&&(r=(n=d[b]).installments_count,o=n.purchase_amount,i=void 0===(a=n.minAmount)?0:a,u=void 0===(l=n.maxAmount)?0:l,$t.createElement(Qo,n.eligible?0!==n.deferred_days+30*n.deferred_months&&1===r?{id:"payment-plan-strings.deferred",defaultMessage:"{totalAmount} à payer le {dueDate}",values:{totalAmount:$t.createElement(Ko,{value:jt(n.payment_plan[0].total_amount),style:"currency",currency:"EUR"}),dueDate:$t.createElement(Xo,{value:ch(n.payment_plan[0].due_date),day:"numeric",month:"long",year:"numeric"})}}:r>0?{id:"payment-plan-strings.multiple-installments",defaultMessage:"{firstInstallmentAmount} puis {numberOfRemainingInstallments, plural, one {# mensualité} other {# mensualités}} de {othersInstallmentAmount}",values:{firstInstallmentAmount:$t.createElement(Ko,{value:jt(n.payment_plan[0].total_amount),style:"currency",currency:"EUR"}),numberOfRemainingInstallments:r-1,othersInstallmentAmount:$t.createElement(Ko,{value:jt(n.payment_plan[1].total_amount),style:"currency",currency:"EUR"})}}:{id:"payment-plan-strings.default-message",defaultMessage:"Payez en plusieurs fois avec Alma"}:o>u?{id:"payment-plan-strings.ineligible-greater-than-max",defaultMessage:"Jusqu'à {maxAmount}",values:{maxAmount:$t.createElement(Ko,{value:jt(u),style:"currency",currency:"EUR"})}}:{id:"payment-plan-strings.ineligible-lower-than-min",defaultMessage:"À partir de {minAmount}",values:{minAmount:$t.createElement(Ko,{value:jt(i),style:"currency",currency:"EUR"})}})))),$t.createElement(Dh,{isOpen:g,onClose:function(){return y(!1)},eligibilityPlans:d.filter(function(e){return e.eligible})}))},Uh=function(){function e(e){this.apiData=e}return e.prototype.add=function(e,t){if(e===Mt.PaymentPlans){var n=t.container,r=t.locale;th.render($t.createElement(aa,{locale:void 0===r?Dt.en:r},$t.createElement(Fh,{purchaseAmount:t.purchaseAmount,apiData:this.apiData,configPlans:t.plans,transitionDelay:t.transitionDelay,hideIfNotEligible:t.hideIfNotEligible})),document.querySelector(n))}},e}();(xh=e.ApiMode||(e.ApiMode={})).LIVE="https://api.getalma.eu",xh.TEST="https://api.sandbox.getalma.eu",(Rh=e.Widgets||(e.Widgets={})).initialize=function(e,t){return new Uh({domain:t,merchantId:e})},Rh.PaymentPlans=Mt.PaymentPlans,(Mh=e.Utils||(e.Utils={})).priceToCents=function(e){return Math.round(100*e)},Mh.priceFromCents=jt,Mh.formatCents=function(e){return String(jt(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=Math.ceil,n=Math.floor,r=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)},o=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},a=function(e){return function(t,n){var a,i,l=String(o(t)),u=r(n),s=l.length;return u<0||u>=s?e?"":void 0:(a=l.charCodeAt(u))<55296||a>56319||u+1===s||(i=l.charCodeAt(u+1))<56320||i>57343?e?l.charAt(u):a:e?l.slice(u,u+2):i-56320+(a-55296<<10)+65536}},i={codeAt:a(!1),charAt:a(!0)},l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function u(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function s(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 c=function(e){return e&&e.Math==Math&&e},f=c("object"==typeof globalThis&&globalThis)||c("object"==typeof window&&window)||c("object"==typeof self&&self)||c("object"==typeof l&&l)||function(){return this}()||Function("return this")(),d=function(e){try{return!!e()}catch(e){return!0}},p=!d(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),m=function(e){return"object"==typeof e?null!==e:"function"==typeof e},h=f.document,g=m(h)&&m(h.createElement),y=function(e){return g?h.createElement(e):{}},v=!p&&!d(function(){return 7!=Object.defineProperty(y("div"),"a",{get:function(){return 7}}).a}),b=function(e){if(!m(e))throw TypeError(String(e)+" is not an object");return e},E=function(e,t){if(!m(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!m(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!m(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!m(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},w=Object.defineProperty,_={f:p?w:function(e,t,n){if(b(e),t=E(t,!0),b(n),v)try{return w(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},S=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},C=p?function(e,t,n){return _.f(e,t,S(1,n))}:function(e,t,n){return e[t]=n,e},k=function(e,t){try{C(f,e,t)}catch(n){f[e]=t}return t},T=f["__core-js_shared__"]||k("__core-js_shared__",{}),O=Function.toString;"function"!=typeof T.inspectSource&&(T.inspectSource=function(e){return O.call(e)});var P,N,A,L=T.inspectSource,x=f.WeakMap,R="function"==typeof x&&/native code/.test(L(x)),M={}.hasOwnProperty,I=function(e,t){return M.call(e,t)},D=s(function(e){(e.exports=function(e,t){return T[e]||(T[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.8.1",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})}),F=0,U=Math.random(),j=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++F+U).toString(36)},z=D("keys"),V=function(e){return z[e]||(z[e]=j(e))},G={};if(R){var B=T.state||(T.state=new(0,f.WeakMap)),W=B.get,H=B.has,$=B.set;P=function(e,t){return t.facade=e,$.call(B,e,t),t},N=function(e){return W.call(B,e)||{}},A=function(e){return H.call(B,e)}}else{var q=V("state");G[q]=!0,P=function(e,t){return t.facade=e,C(e,q,t),t},N=function(e){return I(e,q)?e[q]:{}},A=function(e){return I(e,q)}}var Q,X,K,Y={set:P,get:N,has:A,enforce:function(e){return A(e)?N(e):P(e,{})},getterFor:function(e){return function(t){var n;if(!m(t)||(n=N(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},Z={}.propertyIsEnumerable,J=Object.getOwnPropertyDescriptor,ee={f:J&&!Z.call({1:2},1)?function(e){var t=J(this,e);return!!t&&t.enumerable}:Z},te={}.toString,ne=function(e){return te.call(e).slice(8,-1)},re="".split,oe=d(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==ne(e)?re.call(e,""):Object(e)}:Object,ae=function(e){return oe(o(e))},ie=Object.getOwnPropertyDescriptor,le={f:p?ie:function(e,t){if(e=ae(e),t=E(t,!0),v)try{return ie(e,t)}catch(e){}if(I(e,t))return S(!ee.f.call(e,t),e[t])}},ue=s(function(e){var t=Y.get,n=Y.enforce,r=String(String).split("String");(e.exports=function(e,t,o,a){var i,l=!!a&&!!a.unsafe,u=!!a&&!!a.enumerable,s=!!a&&!!a.noTargetGet;"function"==typeof o&&("string"!=typeof t||I(o,"name")||C(o,"name",t),(i=n(o)).source||(i.source=r.join("string"==typeof t?t:""))),e!==f?(l?!s&&e[t]&&(u=!0):delete e[t],u?e[t]=o:C(e,t,o)):u?e[t]=o:k(t,o)})(Function.prototype,"toString",function(){return"function"==typeof this&&t(this).source||L(this)})}),se=f,ce=function(e){return"function"==typeof e?e:void 0},fe=function(e,t){return arguments.length<2?ce(se[e])||ce(f[e]):se[e]&&se[e][t]||f[e]&&f[e][t]},de=Math.min,pe=function(e){return e>0?de(r(e),9007199254740991):0},me=Math.max,he=Math.min,ge=function(e){return function(t,n,o){var a,i=ae(t),l=pe(i.length),u=function(e,t){var n=r(e);return n<0?me(n+t,0):he(n,t)}(o,l);if(e&&n!=n){for(;l>u;)if((a=i[u++])!=a)return!0}else for(;l>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},ye=(ge(!0),ge(!1)),ve=function(e,t){var n,r=ae(e),o=0,a=[];for(n in r)!I(G,n)&&I(r,n)&&a.push(n);for(;t.length>o;)I(r,n=t[o++])&&(~ye(a,n)||a.push(n));return a},be=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ee=be.concat("length","prototype"),we={f:Object.getOwnPropertyNames||function(e){return ve(e,Ee)}},_e={f:Object.getOwnPropertySymbols},Se=fe("Reflect","ownKeys")||function(e){var t=we.f(b(e)),n=_e.f;return n?t.concat(n(e)):t},Ce=function(e,t){for(var n=Se(t),r=_.f,o=le.f,a=0;a<n.length;a++){var i=n[a];I(e,i)||r(e,i,o(t,i))}},ke=/#|\.prototype\./,Te=function(e,t){var n=Pe[Oe(e)];return n==Ae||n!=Ne&&("function"==typeof t?d(t):!!t)},Oe=Te.normalize=function(e){return String(e).replace(ke,".").toLowerCase()},Pe=Te.data={},Ne=Te.NATIVE="N",Ae=Te.POLYFILL="P",Le=Te,xe=le.f,Re=function(e,t){var n,r,o,a,i,l=e.target,u=e.global,s=e.stat;if(n=u?f:s?f[l]||k(l,{}):(f[l]||{}).prototype)for(r in t){if(a=t[r],o=e.noTargetGet?(i=xe(n,r))&&i.value:n[r],!Le(u?r:l+(s?".":"#")+r,e.forced)&&void 0!==o){if(typeof a==typeof o)continue;Ce(a,o)}(e.sham||o&&o.sham)&&C(a,"sham",!0),ue(n,r,a,e)}},Me=function(e){return Object(o(e))},Ie=!d(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),De=V("IE_PROTO"),Fe=Object.prototype,Ue=Ie?Object.getPrototypeOf:function(e){return e=Me(e),I(e,De)?e[De]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Fe:null},je=!!Object.getOwnPropertySymbols&&!d(function(){return!String(Symbol())}),ze=je&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ve=D("wks"),Ge=f.Symbol,Be=ze?Ge:Ge&&Ge.withoutSetter||j,We=function(e){return I(Ve,e)||(Ve[e]=je&&I(Ge,e)?Ge[e]:Be("Symbol."+e)),Ve[e]},He=We("iterator"),$e=!1;[].keys&&("next"in(K=[].keys())?(X=Ue(Ue(K)))!==Object.prototype&&(Q=X):$e=!0),null==Q&&(Q={}),I(Q,He)||C(Q,He,function(){return this});var qe,Qe={IteratorPrototype:Q,BUGGY_SAFARI_ITERATORS:$e},Xe=Object.keys||function(e){return ve(e,be)},Ke=p?Object.defineProperties:function(e,t){b(e);for(var n,r=Xe(t),o=r.length,a=0;o>a;)_.f(e,n=r[a++],t[n]);return e},Ye=fe("document","documentElement"),Ze=V("IE_PROTO"),Je=function(){},et=function(e){return"<script>"+e+"<\/script>"},tt=function(){try{qe=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;tt=qe?function(e){e.write(et("")),e.close();var t=e.parentWindow.Object;return e=null,t}(qe):((t=y("iframe")).style.display="none",Ye.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(et("document.F=Object")),e.close(),e.F);for(var n=be.length;n--;)delete tt.prototype[be[n]];return tt()};G[Ze]=!0;var nt=Object.create||function(e,t){var n;return null!==e?(Je.prototype=b(e),n=new Je,Je.prototype=null,n[Ze]=e):n=tt(),void 0===t?n:Ke(n,t)},rt=_.f,ot=We("toStringTag"),at=function(e,t,n){e&&!I(e=n?e:e.prototype,ot)&&rt(e,ot,{configurable:!0,value:t})},it={},lt=Qe.IteratorPrototype,ut=function(){return this},st=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return b(n),function(e){if(!m(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype")}(r),t?e.call(n,r):n.__proto__=r,n}}():void 0),ct=Qe.IteratorPrototype,ft=Qe.BUGGY_SAFARI_ITERATORS,dt=We("iterator"),pt=function(){return this},mt=i.charAt,ht=Y.set,gt=Y.getterFor("String Iterator");!function(e,t,n,r,o,a,i){!function(e,t,n){e.prototype=nt(lt,{next:S(1,function(){var e,t=gt(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=mt(n,r),t.index+=e.length,{value:e,done:!1})})}),at(e,"String Iterator",!1),it["String Iterator"]=ut}(n);var l,u,s,c=function(e){if(void 0===e&&p)return p;if(!ft&&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[dt]||f["@@iterator"]||void 0,p=!ft&&d||c(void 0);if(d&&(l=Ue(d.call(new e)),ct!==Object.prototype&&l.next&&(Ue(l)!==ct&&(st?st(l,ct):"function"!=typeof l[dt]&&C(l,dt,pt)),at(l,"String Iterator",!0))),f[dt]!==p&&C(f,dt,p),void(it.String=p))if(void(u={values:c("values"),keys:c("keys"),entries:c("entries")}))for(s in u)(ft||!(s in f))&&ue(f,s,u[s]);else Re({target:"String",proto:!0,forced:ft||!1},u)}(String,0,function(e){ht(this,{type:"String Iterator",string:String(e),index:0})});var yt=function(e,t,n){if(function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function")}(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}},vt=function(e,t,n,r){try{return r?t(b(n)[0],n[1]):t(n)}catch(t){throw function(e){var t=e.return;void 0!==t&&b(t.call(e))}(e),t}},bt=We("iterator"),Et=Array.prototype,wt=function(e){return void 0!==e&&(it.Array===e||Et[bt]===e)},_t=function(e,t,n){var r=E(t);r in e?_.f(e,r,S(0,n)):e[r]=n},St={};St[We("toStringTag")]="z";var Ct="[object z]"===String(St),kt=We("toStringTag"),Tt="Arguments"==ne(function(){return arguments}()),Ot=Ct?ne: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=Object(e),kt))?n:Tt?ne(t):"Object"==(r=ne(t))&&"function"==typeof t.callee?"Arguments":r},Pt=We("iterator"),Nt=function(e){if(null!=e)return e[Pt]||e["@@iterator"]||it[Ot(e)]},At=We("iterator"),Lt=!1;try{var xt=0,Rt={next:function(){return{done:!!xt++}},return:function(){Lt=!0}};Rt[At]=function(){return this},Array.from(Rt,function(){throw 2})}catch(e){}var Mt,It,Dt,Ft,Ut=!function(e,t){if(!Lt)return!1;var n=!1;try{var r={};r[At]=function(){return{next:function(){return{done:n=!0}}}},Array.from(r)}catch(e){}return n}();function jt(e){return Number((e/100).toFixed(2))}Re({target:"Array",stat:!0,forced:Ut},{from:function(e){var t,n,r,o,a,i,l=Me(e),u="function"==typeof this?this:Array,s=arguments.length,c=s>1?arguments[1]:void 0,f=void 0!==c,d=Nt(l),p=0;if(f&&(c=yt(c,s>2?arguments[2]:void 0,2)),null==d||u==Array&&wt(d))for(n=new u(t=pe(l.length));t>p;p++)i=f?c(l[p],p):l[p],_t(n,p,i);else for(a=(o=d.call(l)).next,n=new u;!(r=a.call(o)).done;p++)i=f?vt(o,c,[r.value,p],!0):r.value,_t(n,p,i);return n.length=p,n}}),function(e){e.PaymentPlans="PaymentPlans"}(Mt||(Mt={})),function(e){e.PENDING="pending",e.SUCCESS="success",e.FAILED="failed"}(It||(It={})),function(e){e.en="en",e.fr="fr",e.de="de",e.it="it",e.es="es",e["nl-NL"]="nl-NL",e["nl-BE"]="nl-BE"}(Dt||(Dt={})),"function"!=typeof(Ft=window.Element.prototype).matches&&(Ft.matches=Ft.msMatchesSelector||Ft.mozMatchesSelector||Ft.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 Ft.closest&&(Ft.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 g=p-m;g<f;++g)delete c[g];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 zt=Object.getOwnPropertySymbols,Vt=Object.prototype.hasOwnProperty,Gt=Object.prototype.propertyIsEnumerable;function Bt(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var Wt=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=Bt(e),a=1;a<arguments.length;a++){for(var i in n=Object(arguments[a]))Vt.call(n,i)&&(o[i]=n[i]);if(zt){r=zt(n);for(var l=0;l<r.length;l++)Gt.call(n,r[l])&&(o[r[l]]=n[r[l]])}}return o},Ht=s(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 g(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 y=g.prototype=new h;y.constructor=g,Wt(y,m.prototype),y.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 _(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var S=/\/+/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 k(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(S,"$&/")+"/"),e(l,o,a,"",function(e){return e})):null!=l&&(_(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(S,"$&/")+"/")+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 T(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 O={current:null};function P(){var e=O.current;if(null===e)throw Error(f(321));return e}var N={ReactCurrentDispatcher:O,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:v,IsSomeRendererActing:{current:!1},assign:Wt};t.Children={map:k,forEach:function(e,t,n){k(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return k(e,function(){t++}),t},toArray:function(e){return k(e,function(e){return e})||[]},only:function(e){if(!_(e))throw Error(f(143));return e}},t.Component=m,t.PureComponent=g,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=N,t.cloneElement=function(e,t,r){if(null==e)throw Error(f(267,e));var o=Wt({},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=_,t.lazy=function(e){return{$$typeof:u,_payload:{_status:-1,_result:e},_init:T}},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"}),$t=(s(function(e,t){}),s(function(e){e.exports=Ht})),qt=function(e,t){return(qt=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)},Qt=function(){return(Qt=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 Xt(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 Kt(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 Yt="function"==typeof Symbol&&Symbol.for,Zt=Yt?Symbol.for("react.element"):60103,Jt=Yt?Symbol.for("react.portal"):60106,en=Yt?Symbol.for("react.fragment"):60107,tn=Yt?Symbol.for("react.strict_mode"):60108,nn=Yt?Symbol.for("react.profiler"):60114,rn=Yt?Symbol.for("react.provider"):60109,on=Yt?Symbol.for("react.context"):60110,an=Yt?Symbol.for("react.async_mode"):60111,ln=Yt?Symbol.for("react.concurrent_mode"):60111,un=Yt?Symbol.for("react.forward_ref"):60112,sn=Yt?Symbol.for("react.suspense"):60113,cn=Yt?Symbol.for("react.suspense_list"):60120,fn=Yt?Symbol.for("react.memo"):60115,dn=Yt?Symbol.for("react.lazy"):60116,pn=Yt?Symbol.for("react.block"):60121,mn=Yt?Symbol.for("react.fundamental"):60117,hn=Yt?Symbol.for("react.responder"):60118,gn=Yt?Symbol.for("react.scope"):60119;function yn(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Zt:switch(e=e.type){case an:case ln:case en:case nn:case tn:case sn:return e;default:switch(e=e&&e.$$typeof){case on:case un:case dn:case fn:case rn:return e;default:return t}}case Jt:return t}}}function vn(e){return yn(e)===ln}var bn={AsyncMode:an,ConcurrentMode:ln,ContextConsumer:on,ContextProvider:rn,Element:Zt,ForwardRef:un,Fragment:en,Lazy:dn,Memo:fn,Portal:Jt,Profiler:nn,StrictMode:tn,Suspense:sn,isAsyncMode:function(e){return vn(e)||yn(e)===an},isConcurrentMode:vn,isContextConsumer:function(e){return yn(e)===on},isContextProvider:function(e){return yn(e)===rn},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Zt},isForwardRef:function(e){return yn(e)===un},isFragment:function(e){return yn(e)===en},isLazy:function(e){return yn(e)===dn},isMemo:function(e){return yn(e)===fn},isPortal:function(e){return yn(e)===Jt},isProfiler:function(e){return yn(e)===nn},isStrictMode:function(e){return yn(e)===tn},isSuspense:function(e){return yn(e)===sn},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===en||e===ln||e===nn||e===tn||e===sn||e===cn||"object"==typeof e&&null!==e&&(e.$$typeof===dn||e.$$typeof===fn||e.$$typeof===rn||e.$$typeof===on||e.$$typeof===un||e.$$typeof===mn||e.$$typeof===hn||e.$$typeof===gn||e.$$typeof===pn)},typeOf:yn};function En(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}s(function(e,t){}),s(function(e){e.exports=bn});var wn=function(e,t){return(wn=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 _n(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}wn(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Sn=function(){return(Sn=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 Cn(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 kn=function(e,t){return(kn=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 Tn(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}kn(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var On=function(){return(On=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 Pn(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 Nn,An,Ln,xn=function(){return(xn=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 Rn(e){return e.type===An.literal}function Mn(e){return e.type===An.argument}function In(e){return e.type===An.number}function Dn(e){return e.type===An.date}function Fn(e){return e.type===An.time}function Un(e){return e.type===An.select}function jn(e){return e.type===An.plural}function zn(e){return e.type===An.pound}function Vn(e){return e.type===An.tag}function Gn(e){return!(!e||"object"!=typeof e||e.type!==Ln.number)}function Bn(e){return!(!e||"object"!=typeof e||e.type!==Ln.dateTime)}!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"}(Nn||(Nn={})),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"}(An||(An={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(Ln||(Ln={}));var Wn=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Hn=/(?:[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 $n(e){var t={};return e.replace(Hn,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 qn,Qn=function(){return(Qn=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)},Xn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Kn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Yn=/^(@+)?(\+|#+)?[rs]?$/g,Zn=/(\*)(0+)|(#+)(0+)|(0+)/g,Jn=/^(0+)$/;function er(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Yn,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 tr(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 nr(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)),!Jn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function rr(e){return tr(e)||{}}function or(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=Qn(Qn(Qn({},t),{notation:"scientific"}),o.options.reduce(function(e,t){return Qn(Qn({},e),rr(t))},{}));continue;case"engineering":t=Qn(Qn(Qn({},t),{notation:"engineering"}),o.options.reduce(function(e,t){return Qn(Qn({},e),rr(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(Zn,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(Jn.test(o.stem))t.minimumIntegerDigits=o.stem.length;else if(Kn.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(Kn,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=Qn(Qn({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=Qn(Qn({},t),er(a)))}else if(Yn.test(o.stem))t=Qn(Qn({},t),er(o.stem));else{var i=tr(o.stem);i&&(t=Qn(Qn({},t),i));var l=nr(o.stem);l&&(t=Qn(Qn({},t),l))}}return t}var ar=new RegExp("^"+Wn.source+"*"),ir=new RegExp(Wn.source+"*$");function lr(e,t){return{start:e,end:t}}var ur=!!String.prototype.startsWith,sr=!!String.fromCodePoint,cr=!!Object.fromEntries,fr=!!String.prototype.codePointAt,dr=!!String.prototype.trimStart,pr=!!String.prototype.trimEnd,mr=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},hr=!0;try{hr="a"===(null===(qn=Sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===qn?void 0:qn[0])}catch(e){hr=!1}var gr,yr=ur?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},vr=sr?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},br=cr?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},Er=fr?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}},wr=dr?function(e){return e.trimStart()}:function(e){return e.replace(ar,"")},_r=pr?function(e){return e.trimEnd()}:function(e){return e.replace(ir,"")};function Sr(e,t){return new RegExp(e,t)}if(hr){var Cr=Sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");gr=function(e,t){var n;return Cr.lastIndex=t,null!==(n=Cr.exec(e)[1])&&void 0!==n?n:""}}else gr=function(e,t){for(var n=[];;){var r=Er(e,t);if(void 0===r||Pr(r)||Nr(r))break;n.push(r),t+=r>=65536?2:1}return vr.apply(void 0,n)};var kr=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var o=this.char();if(123===o){if((a=this.parseArgument(e,n)).err)return a;r.push(a.val)}else{if(125===o&&e>0)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(Nn.UNMATCHED_CLOSING_TAG,lr(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Tr(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:An.pound,location:lr(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:An.literal,value:"<"+r+"/>",location:lr(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()||!Tr(this.char()))return this.error(Nn.INVALID_TAG,lr(i,this.clonePosition()));var l=this.clonePosition();return r!==this.parseTagName()?this.error(Nn.UNMATCHED_CLOSING_TAG,lr(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:An.tag,value:r,children:a,location:lr(n,this.clonePosition())},err:null}:this.error(Nn.INVALID_TAG,lr(i,this.clonePosition())))}return this.error(Nn.UNCLOSED_TAG,lr(n,this.clonePosition()))}return this.error(Nn.INVALID_TAG,lr(n,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&Or(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=lr(n,this.clonePosition());return{val:{type:An.literal,value:r,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Tr(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 vr.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(),vr(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Nn.EXPECT_ARGUMENT_CLOSING_BRACE,lr(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Nn.EMPTY_ARGUMENT,lr(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(Nn.MALFORMED_ARGUMENT,lr(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Nn.EXPECT_ARGUMENT_CLOSING_BRACE,lr(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:An.argument,value:r,location:lr(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Nn.EXPECT_ARGUMENT_CLOSING_BRACE,lr(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(Nn.MALFORMED_ARGUMENT,lr(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=gr(this.message,t);return this.bumpTo(t+n.length),{value:n,location:lr(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(Nn.EXPECT_ARGUMENT_TYPE,lr(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===(d=_r(g.val)).length)return this.error(Nn.EXPECT_ARGUMENT_STYLE,lr(this.clonePosition(),this.clonePosition()));u={style:d,styleLocation:lr(s,this.clonePosition())}}if((y=this.tryParseArgumentClose(r)).err)return y;var c=lr(r,this.clonePosition());if(u&&yr(null==u?void 0:u.style,"::",0)){var f=wr(u.style.slice(2));if("number"===i)return(g=this.parseNumberSkeletonFromString(f,u.styleLocation)).err?g:{val:{type:An.number,value:n,location:c,style:g.val},err:null};if(0===f.length)return this.error(Nn.EXPECT_DATE_TIME_SKELETON,c);var d={type:Ln.dateTime,pattern:f,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?$n(f):{}};return{val:{type:"date"===i?An.date:An.time,value:n,location:c,style:d},err:null}}return{val:{type:"number"===i?An.number:"date"===i?An.date:An.time,value:n,location:c,style:null!==(o=null==u?void 0:u.style)&&void 0!==o?o:null},err:null};case"plural":case"selectordinal":case"select":var p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Nn.EXPECT_SELECT_ARGUMENT_OPTIONS,lr(p,xn({},p)));this.bumpSpace();var m=this.parseIdentifierIfPossible(),h=0;if("select"!==i&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(Nn.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,lr(this.clonePosition(),this.clonePosition()));var g;if(this.bumpSpace(),(g=this.tryParseDecimalInteger(Nn.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Nn.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return g;this.bumpSpace(),m=this.parseIdentifierIfPossible(),h=g.val}var y,v=this.tryParsePluralOrSelectOptions(e,i,t,m);if(v.err)return v;if((y=this.tryParseArgumentClose(r)).err)return y;var b=lr(r,this.clonePosition());return"select"===i?{val:{type:An.select,value:n,options:br(v.val),location:b},err:null}:{val:{type:An.plural,value:n,options:br(v.val),offset:h,pluralType:"plural"===i?"cardinal":"ordinal",location:b},err:null};default:return this.error(Nn.INVALID_ARGUMENT_TYPE,lr(a,l))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Nn.EXPECT_ARGUMENT_CLOSING_BRACE,lr(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(Nn.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,lr(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(Xn).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(Nn.INVALID_NUMBER_SKELETON,t)}return{val:{type:Ln.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?or(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(Nn.EXPECT_PLURAL_ARGUMENT_SELECTOR,Nn.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;s=lr(c,this.clonePosition()),u=this.message.slice(c.offset,this.offset())}if(l.has(u))return this.error("select"===t?Nn.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Nn.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,s);"other"===u&&(a=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Nn.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Nn.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,lr(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:lr(d,this.clonePosition())}]),l.add(u),this.bumpSpace(),u=(o=this.parseIdentifierIfPossible()).value,s=o.location}return 0===i.length?this.error("select"===t?Nn.EXPECT_SELECT_ARGUMENT_SELECTOR:Nn.EXPECT_PLURAL_ARGUMENT_SELECTOR,lr(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(Nn.MISSING_OTHER_CLAUSE,lr(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=lr(r,this.clonePosition());return o?mr(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=Er(this.message,e);if(void 0===t)throw Error("Offset "+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(yr(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 "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Pr(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 Tr(e){return e>=97&&e<=122||e>=65&&e<=90}function Or(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 Pr(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function Nr(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 Ar(e,t){void 0===t&&(t={}),t=xn({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new kr(e,t).parse();if(n.err){var r=SyntaxError(Nn[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,Un(t)||jn(t))for(var n in t.options)delete t.options[n].location,e(t.options[n].value);else In(t)&&Gn(t.style)||(Dn(t)||Fn(t))&&Bn(t.style)?delete t.style.location:Vn(t)&&e(t.children)})}(n.val),n.val}function Lr(e,t){return(t&&t.strategy?t.strategy:Ir)(e,{cache:t&&t.cache?t.cache:jr,serializer:t&&t.serializer?t.serializer:Dr})}function xr(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 Rr(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 Mr(e,t,n,r,o){return n.bind(t,e,r,o)}function Ir(e,t){return Mr(e,this,1===e.length?xr:Rr,t.cache.create(),t.serializer)}var Dr=function(){return JSON.stringify(arguments)};function Fr(){this.cache=Object.create(null)}Fr.prototype.get=function(e){return this.cache[e]},Fr.prototype.set=function(e,t){this.cache[e]=t};var Ur,jr={create:function(){return new Fr}},zr={variadic:function(e,t){return Mr(e,this,Rr,t.cache.create(),t.serializer)},monadic:function(e,t){return Mr(e,this,xr,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(Ur||(Ur={}));var Vr,Gr=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.code=n,o.originalMessage=r,o}return Tn(t,e),t.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},t}(Error),Br=function(e){function t(t,n,r,o){return e.call(this,'Invalid values for "'+t+'": "'+n+'". Options are "'+Object.keys(r).join('", "')+'"',Ur.INVALID_VALUE,o)||this}return Tn(t,e),t}(Gr),Wr=function(e){function t(t,n,r){return e.call(this,'Value for "'+t+'" must be of type '+n,Ur.INVALID_VALUE,r)||this}return Tn(t,e),t}(Gr),Hr=function(e){function t(t,n){return e.call(this,'The intl string context variable "'+t+'" was not provided to the string "'+n+'"',Ur.MISSING_VALUE,n)||this}return Tn(t,e),t}(Gr);function $r(e){return"function"==typeof e}function qr(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"}(Vr||(Vr={}));var Qr,Xr=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===Vr.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&&Rn(t[0]))return[{type:Vr.literal,value:t[0].value}];for(var u=[],s=0,c=t;s<c.length;s++){var f=c[s];if(Rn(f))u.push({type:Vr.literal,value:f.value});else if(zn(f))"number"==typeof i&&u.push({type:Vr.literal,value:r.getNumberFormat(n).format(i)});else{var d=f.value;if(!a||!(d in a))throw new Hr(d,l);var p=a[d];if(Mn(f))p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),u.push({type:"string"==typeof p?Vr.literal:Vr.object,value:p});else if(Dn(f)){var m="string"==typeof f.style?o.date[f.style]:Bn(f.style)?f.style.parsedOptions:void 0;u.push({type:Vr.literal,value:r.getDateTimeFormat(n,m).format(p)})}else if(Fn(f))m="string"==typeof f.style?o.time[f.style]:Bn(f.style)?f.style.parsedOptions:void 0,u.push({type:Vr.literal,value:r.getDateTimeFormat(n,m).format(p)});else if(In(f))(m="string"==typeof f.style?o.number[f.style]:Gn(f.style)?f.style.parsedOptions:void 0)&&m.scale&&(p*=m.scale||1),u.push({type:Vr.literal,value:r.getNumberFormat(n,m).format(p)});else{if(Vn(f)){var h=f.children,g=f.value,y=a[g];if(!$r(y))throw new Wr(g,"function",l);var v=y(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?Vr.literal:Vr.object,value:e}}))}if(Un(f)){if(!(b=f.options[p]||f.options.other))throw new Br(f.value,p,Object.keys(f.options),l);u.push.apply(u,e(b.value,n,r,o,a))}else if(jn(f)){var b;if(!(b=f.options["="+p])){if(!Intl.PluralRules)throw new Gr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Ur.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 Br(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===Vr.literal&&t.type===Vr.literal?n.value+=t.value:e.push(t),e},[]);var w}(u.ast,u.locales,u.formatters,u.formats,e,void 0,u.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(u.locales)[0]}},this.getAst=function(){return u.ast},"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{ignoreTag:null==o?void 0:o.ignoreTag})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(i=e.formats,(l=r)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=l[t])?On(On(On({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=On(On({},n[t]),r[t]||{}),e},{})):n),e},On({},i)):i),this.locales=n,this.formatters=o&&o.formatters||(void 0===(a=this.formatterCache)&&(a={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Lr(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Pn([void 0],t)))},{cache:qr(a.number),strategy:zr.variadic}),getDateTimeFormat:Lr(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Pn([void 0],t)))},{cache:qr(a.dateTime),strategy:zr.variadic}),getPluralRules:Lr(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Pn([void 0],t)))},{cache:qr(a.pluralRules),strategy:zr.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.__parse=Ar,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"}(Qr||(Qr={}));var Kr=function(e){function t(n,r,o){var a=e.call(this,"[@formatjs/intl Error "+n+"] "+r+" \n"+(o?"\n"+o.message+"\n"+o.stack:""))||this;return a.code=n,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(a,t),a}return _n(t,e),t}(Error),Yr=function(e){function t(t,n){return e.call(this,Qr.UNSUPPORTED_FORMATTER,t,n)||this}return _n(t,e),t}(Kr),Zr=function(e){function t(t,n){return e.call(this,Qr.INVALID_CONFIG,t,n)||this}return _n(t,e),t}(Kr),Jr=function(e){function t(t,n){return e.call(this,Qr.MISSING_DATA,t,n)||this}return _n(t,e),t}(Kr),eo=function(e){function t(t,n,r,o){var a=e.call(this,Qr.FORMAT_ERROR,t+" \nLocale: "+n+"\nMessageID: "+(null==r?void 0:r.id)+"\nDefault Message: "+(null==r?void 0:r.defaultMessage)+"\nDescription: "+(null==r?void 0:r.description)+" \n",o)||this;return a.descriptor=r,a}return _n(t,e),t}(Kr),to=function(e){function t(t,n){var r=e.call(this,Qr.MISSING_TRANSLATION,'Missing message: "'+t.id+'" for locale "'+n+'", using '+(t.defaultMessage?"default message":"id")+" as fallback.")||this;return r.descriptor=t,r}return _n(t,e),t}(Kr);function no(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 ro={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},onError:function(e){}};function oo(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function ao(e,t,n,r){var o,a=e&&e[t];if(a&&(o=a[n]),o)return o;r(new Yr("No "+t+" format named: "+n))}function io(e,t){return Object.keys(e).reduce(function(n,r){return n[r]=Sn({timeZone:t},e[r]),n},{})}function lo(e,t){return Object.keys(Sn(Sn({},e),t)).reduce(function(n,r){return n[r]=Sn(Sn({},e[r]||{}),t[r]||{}),n},{})}function uo(e,t){if(!t)return e;var n=Xr.formats;return Sn(Sn(Sn({},n),e),{date:lo(io(n.date,t),io(e.date||{},t)),time:lo(io(n.time,t),io(e.time||{},t))})}function so(e,t,n,r,o){var a=e.locale,i=e.formats,l=e.messages,u=e.defaultLocale,s=e.defaultFormats,c=e.onError,f=e.timeZone,d=e.defaultRichTextElements;void 0===n&&(n={id:""});var p=n.id,m=n.defaultMessage;En(!!p,"[@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 h=String(p),g=l&&Object.prototype.hasOwnProperty.call(l,h)&&l[h];if(Array.isArray(g)&&1===g.length&&g[0].type===An.literal)return g[0].value;if(!r&&g&&"string"==typeof g&&!d)return g.replace(/'\{(.*?)\}'/gi,"{$1}");if(r=Sn(Sn({},d),r||{}),i=uo(i,f),s=uo(s,f),!g){if((!m||a&&a.toLowerCase()!==u.toLowerCase())&&c(new to(n,a)),m)try{return t.getMessageFormat(m,u,s,o).format(r)}catch(e){return c(new eo('Error formatting default message for: "'+h+'", rendering default message verbatim',a,n,e)),"string"==typeof m?m:h}return h}try{return t.getMessageFormat(g,a,i,Sn({formatters:t},o||{})).format(r)}catch(e){c(new eo('Error formatting message: "'+h+'", using '+(m?"default message":"id")+" as fallback.",a,n,e))}if(m)try{return t.getMessageFormat(m,u,s,o).format(r)}catch(e){c(new eo('Error formatting the default message for: "'+h+'", rendering message verbatim',a,n,e))}return"string"==typeof g?g:"string"==typeof m?m:h}var co=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem"];function fo(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=Sn(Sn({},l&&{timeZone:l}),u&&ao(a,t,u,i)),c=no(r,co,s);return"time"!==t||c.hour||c.minute||c.second||c.timeStyle||c.dateStyle||(c=Sn(Sn({},c),{hour:"numeric",minute:"numeric"})),n(o,c)}function po(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 fo(e,"date",t,i).format(l)}catch(t){e.onError(new Kr(Qr.FORMAT_ERROR,"Error formatting date.",t))}return String(l)}function mo(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 fo(e,"time",t,i).format(l)}catch(t){e.onError(new Kr(Qr.FORMAT_ERROR,"Error formatting time.",t))}return String(l)}function ho(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=no(l,co,u?{timeZone:u}:{});try{return t(s,f).formatRange(o,a)}catch(e){c(new Kr(Qr.FORMAT_ERROR,"Error formatting date time range.",e))}return String(o)}function go(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 fo(e,"date",t,i).formatToParts(l)}catch(t){e.onError(new Kr(Qr.FORMAT_ERROR,"Error formatting date.",t))}return[]}function yo(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 fo(e,"time",t,i).formatToParts(l)}catch(t){e.onError(new Kr(Qr.FORMAT_ERROR,"Error formatting time.",t))}return[]}var vo=["localeMatcher","style","type","fallback"];function bo(e,t,n,r){var o=e.locale,a=e.onError;Intl.DisplayNames||a(new Gr('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',Ur.MISSING_INTL_API));var i=no(r,vo);try{return t(o,i).of(n)}catch(e){a(new Kr(Qr.FORMAT_ERROR,"Error formatting display name.",e))}}var Eo=["localeMatcher","type","style"],wo=Date.now();function _o(e,t,n,r){void 0===r&&(r={});var o=So(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 So(e,t,n,r){var o=e.locale,a=e.onError;void 0===r&&(r={}),Intl.ListFormat||a(new Gr('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',Ur.MISSING_INTL_API));var i=no(r,Eo);try{var l={},u=n.map(function(e,t){if("object"==typeof e){var n=function(e){return wo+"_"+e+"_"+wo}(t);return l[n]=e,n}return String(e)});return t(o,i).formatToParts(u).map(function(e){return"literal"===e.type?e:Sn(Sn({},e),{value:l[e.value]||e.value})})}catch(e){a(new Kr(Qr.FORMAT_ERROR,"Error formatting list.",e))}return n}var Co=["localeMatcher","type"];function ko(e,t,n,r){var o=e.locale,a=e.onError;void 0===r&&(r={}),Intl.PluralRules||a(new Gr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Ur.MISSING_INTL_API));var i=no(r,Co);try{return t(o,i).select(n)}catch(e){a(new eo("Error formatting plural.",e))}return"other"}var To=["numeric","style"];function Oo(e,t,n,r,o){void 0===o&&(o={}),r||(r="second"),Intl.RelativeTimeFormat||e.onError(new Gr('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',Ur.MISSING_INTL_API));try{return function(e,t,n){var r=e.locale;void 0===n&&(n={});var o=n.format,a=!!o&&ao(e.formats,"relative",o,e.onError)||{};return t(r,no(n,To,a))}(e,t,o).format(n,r)}catch(t){e.onError(new eo("Error formatting relative time.",t))}return String(n)}var Po=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function No(e,t,n){var r=e.locale;void 0===n&&(n={});var o=n.format,a=o&&ao(e.formats,"number",o,e.onError)||{};return t(r,no(n,Po,a))}function Ao(e,t,n,r){void 0===r&&(r={});try{return No(e,t,r).format(n)}catch(t){e.onError(new Kr(Qr.FORMAT_ERROR,"Error formatting number.",t))}return String(n)}function Lo(e,t,n,r){void 0===r&&(r={});try{return No(e,t,r).formatToParts(n)}catch(t){e.onError(new Kr(Qr.FORMAT_ERROR,"Error formatting number.",t))}return[]}function xo(e){En(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var Ro=Qt(Qt({},ro),{textComponent:$t.Fragment});function Mo(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 Io,Do,Fo=$t.createContext(null),Uo=Fo.Provider,jo=Fo;function zo(){var e=$t.useContext(jo);return xo(e),e}function Vo(e){var t=function(t){var n=zo(),r=t.value,o=t.children,a=Xt(t,["value","children"]),i=n[e](r,a);return"function"==typeof o?o(i):$t.createElement(n.textComponent||$t.Fragment,null,i)};return t.displayName=Io[e],t}function Go(e){return{locale:e.locale,timeZone:e.timeZone,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}function Bo(e){return e?Object.keys(e).reduce(function(t,n){var r,o=e[n];return t[n]=$r(o)?(r=o,function(e){return r($t.Children.toArray(e))}):o,t},{}):e}!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(Io||(Io={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}(Do||(Do={}));var Wo=function(e,t,n,r){for(var o=[],a=4;a<arguments.length;a++)o[a-4]=arguments[a];var i=Bo(r),l=so.apply(void 0,Kt([e,t,n,i],o));return Array.isArray(l)?$t.Children.toArray(l):l},Ho=function(e,t){var n=e.defaultRichTextElements,r=Xt(e,["defaultRichTextElements"]),o=Bo(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=Lr(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Cn([void 0],t)))},{cache:oo(e.dateTime),strategy:zr.variadic}),a=Lr(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Cn([void 0],t)))},{cache:oo(e.number),strategy:zr.variadic}),i=Lr(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Cn([void 0],t)))},{cache:oo(e.pluralRules),strategy:zr.variadic});return{getDateTimeFormat:o,getNumberFormat:a,getMessageFormat:Lr(function(e,t,n,r){return new Xr(e,t,n,Sn({formatters:{getNumberFormat:a,getDateTimeFormat:o,getPluralRules:i}},r||{}))},{cache:oo(e.message),strategy:zr.variadic}),getRelativeTimeFormat:Lr(function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new(t.bind.apply(t,Cn([void 0],e)))},{cache:oo(e.relativeTime),strategy:zr.variadic}),getPluralRules:i,getListFormat:Lr(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,Cn([void 0],e)))},{cache:oo(e.list),strategy:zr.variadic}),getDisplayNames:Lr(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(r.bind.apply(r,Cn([void 0],e)))},{cache:oo(e.displayNames),strategy:zr.variadic})}}(t),r=Sn(Sn({},ro),e),o=r.locale,a=r.defaultLocale,i=r.onError;return o?!Intl.NumberFormat.supportedLocalesOf(o).length&&i?i(new Jr('Missing locale data for locale: "'+o+'" in Intl.NumberFormat. Using default locale: "'+a+'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')):!Intl.DateTimeFormat.supportedLocalesOf(o).length&&i&&i(new Jr('Missing locale data for locale: "'+o+'" in Intl.DateTimeFormat. Using default locale: "'+a+'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')):(i&&i(new Zr('"locale" was not configured, using "'+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.defaultRichTextElements&&"string"==typeof((t=e.messages||{})?t[Object.keys(t)[0]]:void 0)&&console.warn('[@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),Sn(Sn({},r),{formatters:n,formatNumber:Ao.bind(null,r,n.getNumberFormat),formatNumberToParts:Lo.bind(null,r,n.getNumberFormat),formatRelativeTime:Oo.bind(null,r,n.getRelativeTimeFormat),formatDate:po.bind(null,r,n.getDateTimeFormat),formatDateToParts:go.bind(null,r,n.getDateTimeFormat),formatTime:mo.bind(null,r,n.getDateTimeFormat),formatDateTimeRange:ho.bind(null,r,n.getDateTimeFormat),formatTimeToParts:yo.bind(null,r,n.getDateTimeFormat),formatPlural:ko.bind(null,r,n.getPluralRules),formatMessage:so.bind(null,r,n),formatList:_o.bind(null,r,n.getListFormat),formatListToParts:So.bind(null,r,n.getListFormat),formatDisplayName:bo.bind(null,r,n.getDisplayNames)})}(Qt(Qt(Qt({},Ro),r),{defaultRichTextElements:o}),t);return Qt(Qt({},a),{formatMessage:Wo.bind(null,{locale:a.locale,timeZone:a.timeZone,formats:a.formats,defaultLocale:a.defaultLocale,defaultFormats:a.defaultFormats,messages:a.messages,onError:a.onError,defaultRichTextElements:o},a.formatters)})},$o=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:Ho(Go(t.props),t.cache),prevConfig:Go(t.props)},t}return function(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}qt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.getDerivedStateFromProps=function(e,t){var n=t.prevConfig,r=t.cache,o=Go(e);return Mo(n,o)?null:{intl:Ho(o,r),prevConfig:o}},t.prototype.render=function(){return xo(this.state.intl),$t.createElement(Uo,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=Ro,t}($t.PureComponent);function qo(e){var t=zo(),n=t.textComponent,r=e.children,o=e.tagName,a=void 0===o?void 0===n?$t.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?$t.createElement(a,null,$t.Children.toArray(i)):$t.createElement($t.Fragment,null,i)}qo.displayName="FormattedMessage";var Qo=$t.memo(qo,function(e,t){var n=e.values,r=Xt(e,["values"]),o=t.values,a=Xt(t,["values"]);return Mo(o,n)&&Mo(r,a)});Qo.displayName="MemoizedFormattedMessage";var Xo=Vo("formatDate"),Ko=(Vo("formatTime"),Vo("formatNumber")),Yo=(Vo("formatList"),Vo("formatDisplayName"),{"eligibility-modal.bullet-1":"Wählen Sie an der Kasse <strong>Alma</strong> .","eligibility-modal.bullet-2":"Füllen Sie die <strong>angeforderten</strong> Informationen aus.","eligibility-modal.bullet-3":"Die Bestätigung Ihrer Zahlung <strong>sofort</strong> !","eligibility-modal.cost":"Davon Kosten","eligibility-modal.credit-commitment":"Ein Kredit verpflichtet Sie und muss zurückgezahlt werden. Prüfen Sie Ihre Rückzahlungsfähigkeit, bevor Sie sich verpflichten.","eligibility-modal.credit-cost":"Davon Kreditkosten","eligibility-modal.credit-cost-amount":"{creditCost} (APR {TAEG})","eligibility-modal.title":"<highlighted>Bezahlen Sie in Raten</highlighted> oder später per Kreditkarte mit Alma.","eligibility-modal.total":"Insgesamt","installments.today":"Heutzutage","payment-plan-strings.day-abbreviation":"J{numberOfDeferredDays}","payment-plan-strings.default-message":"Bezahlen Sie in Raten mit Alma","payment-plan-strings.deferred":"{totalAmount} zu zahlen am {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Bis zu {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"Ab {minAmount}","payment-plan-strings.multiple-installments":"{firstInstallmentAmount} dann {numberOfRemainingInstallments, plural, one {# Monatsrate} other {# Monatsraten}} von {othersInstallmentAmount}"}),Zo={"eligibility-modal.bullet-1":"Choose <strong>Alma</strong> at checkout.","eligibility-modal.bullet-2":"Fill in the <strong>information</strong> requested.","eligibility-modal.bullet-3":"Validation of your payment <strong>instantaneous</strong>!","eligibility-modal.cost":"Of which costs","eligibility-modal.credit-commitment":"A loan commits you and must be repaid. Check your ability to repay before committing yourself.","eligibility-modal.credit-cost":"Of which cost of credit","eligibility-modal.credit-cost-amount":"{creditCost} (APR {TAEG})","eligibility-modal.title":"<highlighted>Pay in installments</highlighted> or later by credit card with Alma.","eligibility-modal.total":"Total","installments.today":"Today","payment-plan-strings.day-abbreviation":"T{numberOfDeferredDays}","payment-plan-strings.default-message":"Pay in installments with Alma","payment-plan-strings.deferred":"{totalAmount} to be paid on {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Until {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"From {minAmount}","payment-plan-strings.multiple-installments":"{firstInstallmentAmount} then {numberOfRemainingInstallments, plural, one {# monthly installment} other {# monthly installment}} of {othersInstallmentAmount}"},Jo={"eligibility-modal.bullet-1":"Elige <strong>Alma</strong> en el momento de la compra.","eligibility-modal.bullet-2":"Renseignez les <strong>informations</strong> demandées.","eligibility-modal.bullet-3":"¡Validación de su pago <strong>instantánea</strong>!","eligibility-modal.cost":"De los cuales, los costes","eligibility-modal.credit-commitment":"Un préstamo te compromete y debe ser devuelto. Comprueba tu capacidad de repago antes de comprometerte.","eligibility-modal.credit-cost":"De los cuales el coste del crédito","eligibility-modal.credit-cost-amount":"{creditCost} (TAE {TAEG})","eligibility-modal.title":"<highlighted>Paga a plazos</highlighted> o posteriormente con tarjeta de crédito con Alma.","eligibility-modal.total":"Total","installments.today":"Hoy","payment-plan-strings.day-abbreviation":"J{numberOfDeferredDays}","payment-plan-strings.default-message":"Pagar a plazos con Alma","payment-plan-strings.deferred":"{totalAmount} a pagar en {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Hasta que {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"De {minAmount}","payment-plan-strings.multiple-installments":"{firstInstallmentAmount} entonces {numberOfRemainingInstallments, plural, one {# ¡facturación mensual} other {# ¡facturación mensual de}} de {othersInstallmentAmount}"},ea={"eligibility-modal.bullet-1":"Choisissez <strong>Alma</strong> au moment du paiement.","eligibility-modal.bullet-2":"Renseignez les <strong>informations</strong> demandées.","eligibility-modal.bullet-3":"La validation de votre paiement <strong>instantanée</strong> !","eligibility-modal.cost":"Dont frais","eligibility-modal.credit-commitment":"Un crédit vous engage et doit être remboursé. Vérifiez vos capacités de remboursement avant de vous engager.","eligibility-modal.credit-cost":"Dont coût du crédit","eligibility-modal.credit-cost-amount":"{creditCost} (TAEG {TAEG})","eligibility-modal.title":"<highlighted>Payez en plusieurs fois</highlighted> ou plus tard par carte bancaire avec Alma.","eligibility-modal.total":"Total","installments.today":"Aujourd'hui","payment-plan-strings.day-abbreviation":"J{numberOfDeferredDays}","payment-plan-strings.default-message":"Payez en plusieurs fois avec Alma","payment-plan-strings.deferred":"{totalAmount} à payer le {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Jusqu'à {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"À partir de {minAmount}","payment-plan-strings.multiple-installments":"{firstInstallmentAmount} puis {numberOfRemainingInstallments, plural, one {# mensualité} other {# mensualités}} de {othersInstallmentAmount}"},ta={"eligibility-modal.bullet-1":"Scegliete <strong>Alma</strong> alla cassa.","eligibility-modal.bullet-2":"Compila le informazioni <strong></strong> richieste.","eligibility-modal.bullet-3":"Convalida del vostro pagamento <strong>istantaneo</strong>!","eligibility-modal.cost":"Di cui costi","eligibility-modal.credit-commitment":"Un prestito ti impegna e deve essere ripagato. Controllate la vostra capacità di rimborso prima di impegnarvi.","eligibility-modal.credit-cost":"Di cui costo del credito","eligibility-modal.credit-cost-amount":"{creditCost} (APR {TAEG})","eligibility-modal.title":"<highlighted>Paga a rate</highlighted> o successivamente con carta di credito con Alma.","eligibility-modal.total":"Totale","installments.today":"Oggi","payment-plan-strings.day-abbreviation":"J{numberOfDeferredDays}","payment-plan-strings.default-message":"Paga a rate con Alma","payment-plan-strings.deferred":"{totalAmount} da pagare su {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Fino a {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"Da {minAmount}","payment-plan-strings.multiple-installments":"{firstInstallmentAmount} allora {numberOfRemainingInstallments, plural, one {# rate mensili} other {# rate mensili}} di {othersInstallmentAmount}"},na={"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":"Validatie van uw betaling <strong>onmiddellijk</strong>!","eligibility-modal.cost":"Waarvan kosten","eligibility-modal.credit-commitment":"Een lening bindt je en moet worden terugbetaald. Ga na of u kunt terugbetalen voordat u zich vastlegt.","eligibility-modal.credit-cost":"Waarvan kosten van krediet","eligibility-modal.credit-cost-amount":"{creditCost} (APR {TAEG})","eligibility-modal.title":"<highlighted>Betaal in termijnen</highlighted> of later per credit card met Alma.","eligibility-modal.total":"Totaal","installments.today":"Tegenwoordig","payment-plan-strings.day-abbreviation":"J{numberOfDeferredDays}","payment-plan-strings.default-message":"Betaal in termijnen met Alma","payment-plan-strings.deferred":"{totalAmount} te betalen op {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Tot {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"Van {minAmount}","payment-plan-strings.multiple-installments":"{firstInstallmentAmount} dan {numberOfRemainingInstallments, plural, one {# maandelijkse termijnen} other {# maandelijkse termijnen}} van {othersInstallmentAmount}"},ra={"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":"Validatie van uw betaling <strong>onmiddellijk</strong>!","eligibility-modal.cost":"Waarvan kosten","eligibility-modal.credit-commitment":"Een lening bindt je en moet worden terugbetaald. Ga na of u kunt terugbetalen voordat u zich vastlegt.","eligibility-modal.credit-cost":"Waarvan kosten van krediet","eligibility-modal.credit-cost-amount":"{creditCost} (APR {TAEG})","eligibility-modal.title":"<highlighted>Betaal in termijnen</highlighted> of later per credit card met Alma.","eligibility-modal.total":"Totaal","installments.today":"Tegenwoordig","payment-plan-strings.day-abbreviation":"J{numberOfDeferredDays}","payment-plan-strings.default-message":"Betaal in termijnen met Alma","payment-plan-strings.deferred":"{totalAmount} te betalen op {dueDate}","payment-plan-strings.ineligible-greater-than-max":"Tot {maxAmount}","payment-plan-strings.ineligible-lower-than-min":"Van {minAmount}","payment-plan-strings.multiple-installments":"{firstInstallmentAmount} dan {numberOfRemainingInstallments, plural, one {# maandelijkse termijnen} other {# maandelijkse termijnen}} van {othersInstallmentAmount}"},oa=function(e){switch(e){case Dt.fr:return ea;case Dt.en:return Zo;case Dt.es:return Jo;case Dt.it:return ta;case Dt.de:return Yo;case Dt["nl-BE"]:return na;case Dt["nl-NL"]:return ra;default:return Zo}},aa=function(e){var t=e.children,n=e.locale;return $t.createElement($o,{messages:oa(n),locale:n,defaultLocale:"en"},t)},ia=s(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,g=null,y=-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!==g){var e=t.unstable_now();b=e+v;try{g(!0,e)?w.postMessage(null):(h=!1,g=null)}catch(e){throw w.postMessage(null),e}}else h=!1},n=function(e){g=e,h||(h=!0,w.postMessage(null))},r=function(e,n){y=d(function(){e(t.unstable_now())},n)},o=function(){p(y),y=-1}}function _(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<k(o,t)))break e;e[r]=t,e[n]=o,n=r}}function S(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>k(i,n))void 0!==u&&0>k(u,i)?(e[r]=u,e[l]=n,r=l):(e[r]=i,e[a]=n,r=a);else{if(!(void 0!==u&&0>k(u,n)))break e;e[r]=u,e[l]=n,r=l}}}return t}return null}function k(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var T=[],O=[],P=1,N=null,A=3,L=!1,x=!1,R=!1;function M(e){for(var t=S(O);null!==t;){if(null===t.callback)C(O);else{if(!(t.startTime<=e))break;C(O),t.sortIndex=t.expirationTime,_(T,t)}t=S(O)}}function I(e){if(R=!1,M(e),!x)if(null!==S(T))x=!0,n(D);else{var t=S(O);null!==t&&r(I,t.startTime-e)}}function D(e,n){x=!1,R&&(R=!1,o()),L=!0;var a=A;try{for(M(n),N=S(T);null!==N&&(!(N.expirationTime>n)||e&&!t.unstable_shouldYield());){var i=N.callback;if("function"==typeof i){N.callback=null,A=N.priorityLevel;var l=i(N.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?N.callback=l:N===S(T)&&C(T),M(n)}else C(T);N=S(T)}if(null!==N)var u=!0;else{var s=S(O);null!==s&&r(I,s.startTime-n),u=!1}return u}finally{N=null,A=a,L=!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(){x||L||(x=!0,n(D))},t.unstable_getCurrentPriorityLevel=function(){return A},t.unstable_getFirstCallbackNode=function(){return S(T)},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,_(O,e),null===S(T)&&e===S(O)&&(R?o():R=!0,r(I,i-l))):(e.sortIndex=u,_(T,e),x||L||(x=!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}}}}),la=(s(function(e,t){}),s(function(e){e.exports=ia}));function ua(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(!$t)throw Error(ua(227));var sa=new Set,ca={};function fa(e,t){da(e,t),da(e+"Capture",t)}function da(e,t){for(ca[e]=t,e=0;e<t.length;e++)sa.add(t[e])}var pa=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),ma=/^[: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]*$/,ha=Object.prototype.hasOwnProperty,ga={},ya={};function va(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 ba={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ba[e]=new va(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ba[t]=new va(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){ba[e]=new va(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ba[e]=new va(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){ba[e]=new va(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){ba[e]=new va(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){ba[e]=new va(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){ba[e]=new va(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){ba[e]=new va(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ea=/[\-:]([a-z])/g;function wa(e){return e[1].toUpperCase()}function _a(e,t,n,r){var o=ba.hasOwnProperty(t)?ba[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!!ha.call(ya,e)||!ha.call(ga,e)&&(ma.test(e)?ya[e]=!0:(ga[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(Ea,wa);ba[t]=new va(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(Ea,wa);ba[t]=new va(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(Ea,wa);ba[t]=new va(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){ba[e]=new va(e,1,!1,e.toLowerCase(),null,!1,!1)}),ba.xlinkHref=new va("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){ba[e]=new va(e,1,!1,e.toLowerCase(),null,!0,!0)});var Sa=$t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ca=60103,ka=60106,Ta=60107,Oa=60108,Pa=60114,Na=60109,Aa=60110,La=60112,xa=60113,Ra=60120,Ma=60115,Ia=60116,Da=60121,Fa=60128,Ua=60129,ja=60130,za=60131;if("function"==typeof Symbol&&Symbol.for){var Va=Symbol.for;Ca=Va("react.element"),ka=Va("react.portal"),Ta=Va("react.fragment"),Oa=Va("react.strict_mode"),Pa=Va("react.profiler"),Na=Va("react.provider"),Aa=Va("react.context"),La=Va("react.forward_ref"),xa=Va("react.suspense"),Ra=Va("react.suspense_list"),Ma=Va("react.memo"),Ia=Va("react.lazy"),Da=Va("react.block"),Va("react.scope"),Fa=Va("react.opaque.id"),Ua=Va("react.debug_trace_mode"),ja=Va("react.offscreen"),za=Va("react.legacy_hidden")}var Ga,Ba="function"==typeof Symbol&&Symbol.iterator;function Wa(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Ba&&e[Ba]||e["@@iterator"])?e:null}function Ha(e){if(void 0===Ga)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Ga=t&&t[1]||""}return"\n"+Ga+e}var $a=!1;function qa(e,t){if(!e||$a)return"";$a=!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{$a=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ha(e):""}function Qa(e){switch(e.tag){case 5:return Ha(e.type);case 16:return Ha("Lazy");case 13:return Ha("Suspense");case 19:return Ha("SuspenseList");case 0:case 2:case 15:return qa(e.type,!1);case 11:return qa(e.type.render,!1);case 22:return qa(e.type._render,!1);case 1:return qa(e.type,!0);default:return""}}function Xa(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 Ta:return"Fragment";case ka:return"Portal";case Pa:return"Profiler";case Oa:return"StrictMode";case xa:return"Suspense";case Ra:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case Aa:return(e.displayName||"Context")+".Consumer";case Na:return(e._context.displayName||"Context")+".Provider";case La:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case Ma:return Xa(e.type);case Da:return Xa(e._render);case Ia:t=e._payload,e=e._init;try{return Xa(e(t))}catch(e){}}return null}function Ka(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Ya(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Za(e){e._valueTracker||(e._valueTracker=function(e){var t=Ya(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 Ja(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ya(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function ei(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 ti(e,t){var n=t.checked;return Wt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ni(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Ka(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 ri(e,t){null!=(t=t.checked)&&_a(e,"checked",t,!1)}function oi(e,t){ri(e,t);var n=Ka(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")?ii(e,t.type,n):t.hasOwnProperty("defaultValue")&&ii(e,t.type,Ka(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ai(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 ii(e,t,n){"number"===t&&ei(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function li(e,t){return e=Wt({children:void 0},t),(t=function(e){var t="";return $t.Children.forEach(e,function(e){null!=e&&(t+=e)}),t}(t.children))&&(e.children=t),e}function ui(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=""+Ka(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 si(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(ua(91));return Wt({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ci(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(ua(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(ua(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Ka(n)}}function fi(e,t){var n=Ka(t.value),r=Ka(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 di(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var pi="http://www.w3.org/1999/xhtml";function mi(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 hi(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?mi(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var gi,yi=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((gi=gi||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=gi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function vi(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 bi={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},Ei=["Webkit","ms","Moz","O"];function wi(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||bi.hasOwnProperty(e)&&bi[e]?(""+t).trim():t+"px"}function _i(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=wi(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(bi).forEach(function(e){Ei.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),bi[t]=bi[e]})});var Si=Wt({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 Ci(e,t){if(t){if(Si[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(ua(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(ua(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(ua(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(ua(62))}}function ki(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 Ti(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Oi=null,Pi=null,Ni=null;function Ai(e){if(e=Ks(e)){if("function"!=typeof Oi)throw Error(ua(280));var t=e.stateNode;t&&(t=Zs(t),Oi(e.stateNode,e.type,t))}}function Li(e){Pi?Ni?Ni.push(e):Ni=[e]:Pi=e}function xi(){if(Pi){var e=Pi,t=Ni;if(Ni=Pi=null,Ai(e),t)for(e=0;e<t.length;e++)Ai(t[e])}}function Ri(e,t){return e(t)}function Mi(e,t,n,r,o){return e(t,n,r,o)}function Ii(){}var Di=Ri,Fi=!1,Ui=!1;function ji(){null===Pi&&null===Ni||(Ii(),xi())}function zi(e,t){var n=e.stateNode;if(null===n)return null;var r=Zs(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(ua(231,t,typeof n));return n}var Vi=!1;if(pa)try{var Gi={};Object.defineProperty(Gi,"passive",{get:function(){Vi=!0}}),window.addEventListener("test",Gi,Gi),window.removeEventListener("test",Gi,Gi)}catch(e){Vi=!1}function Bi(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 Wi=!1,Hi=null,$i=!1,qi=null,Qi={onError:function(e){Wi=!0,Hi=e}};function Xi(e,t,n,r,o,a,i,l,u){Wi=!1,Hi=null,Bi.apply(Qi,arguments)}function Ki(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 Yi(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 Zi(e){if(Ki(e)!==e)throw Error(ua(188))}function Ji(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ki(e)))throw Error(ua(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 Zi(o),e;if(a===r)return Zi(o),t;a=a.sibling}throw Error(ua(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(ua(189))}}if(n.alternate!==r)throw Error(ua(190))}if(3!==n.tag)throw Error(ua(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 el,tl,nl,rl,ol=!1,al=[],il=null,ll=null,ul=null,sl=new Map,cl=new Map,fl=[],dl="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 pl(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:o,targetContainers:[r]}}function ml(e,t){switch(e){case"focusin":case"focusout":il=null;break;case"dragenter":case"dragleave":ll=null;break;case"mouseover":case"mouseout":ul=null;break;case"pointerover":case"pointerout":sl.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":cl.delete(t.pointerId)}}function hl(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e=pl(t,n,r,o,a),null!==t&&null!==(t=Ks(t))&&tl(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function gl(e){var t=Xs(e.target);if(null!==t){var n=Ki(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Yi(n)))return e.blockedOn=t,void rl(e.lanePriority,function(){la.unstable_runWithPriority(e.priority,function(){nl(n)})})}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function yl(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Yl(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=Ks(n))&&tl(t),e.blockedOn=n,!1;t.shift()}return!0}function vl(e,t,n){yl(e)&&n.delete(t)}function bl(){for(ol=!1;0<al.length;){var e=al[0];if(null!==e.blockedOn){null!==(e=Ks(e.blockedOn))&&el(e);break}for(var t=e.targetContainers;0<t.length;){var n=Yl(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&al.shift()}null!==il&&yl(il)&&(il=null),null!==ll&&yl(ll)&&(ll=null),null!==ul&&yl(ul)&&(ul=null),sl.forEach(vl),cl.forEach(vl)}function El(e,t){e.blockedOn===t&&(e.blockedOn=null,ol||(ol=!0,la.unstable_scheduleCallback(la.unstable_NormalPriority,bl)))}function wl(e){function t(t){return El(t,e)}if(0<al.length){El(al[0],e);for(var n=1;n<al.length;n++){var r=al[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==il&&El(il,e),null!==ll&&El(ll,e),null!==ul&&El(ul,e),sl.forEach(t),cl.forEach(t),n=0;n<fl.length;n++)(r=fl[n]).blockedOn===e&&(r.blockedOn=null);for(;0<fl.length&&null===(n=fl[0]).blockedOn;)gl(n),null===n.blockedOn&&fl.shift()}function _l(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Sl={animationend:_l("Animation","AnimationEnd"),animationiteration:_l("Animation","AnimationIteration"),animationstart:_l("Animation","AnimationStart"),transitionend:_l("Transition","TransitionEnd")},Cl={},kl={};function Tl(e){if(Cl[e])return Cl[e];if(!Sl[e])return e;var t,n=Sl[e];for(t in n)if(n.hasOwnProperty(t)&&t in kl)return Cl[e]=n[t];return e}pa&&(kl=document.createElement("div").style,"AnimationEvent"in window||(delete Sl.animationend.animation,delete Sl.animationiteration.animation,delete Sl.animationstart.animation),"TransitionEvent"in window||delete Sl.transitionend.transition);var Ol=Tl("animationend"),Pl=Tl("animationiteration"),Nl=Tl("animationstart"),Al=Tl("transitionend"),Ll=new Map,xl=new Map,Rl=["abort","abort",Ol,"animationEnd",Pl,"animationIteration",Nl,"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",Al,"transitionEnd","waiting","waiting"];function Ml(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)),xl.set(r,t),Ll.set(r,o),fa(o,[r])}}(0,la.unstable_now)();var Il=8;function Dl(e){if(0!=(1&e))return Il=15,1;if(0!=(2&e))return Il=14,2;if(0!=(4&e))return Il=13,4;var t=24&e;return 0!==t?(Il=12,t):0!=(32&e)?(Il=11,32):0!=(t=192&e)?(Il=10,t):0!=(256&e)?(Il=9,256):0!=(t=3584&e)?(Il=8,t):0!=(4096&e)?(Il=7,4096):0!=(t=4186112&e)?(Il=6,t):0!=(t=62914560&e)?(Il=5,t):67108864&e?(Il=4,67108864):0!=(134217728&e)?(Il=3,134217728):0!=(t=805306368&e)?(Il=2,t):0!=(1073741824&e)?(Il=1,1073741824):(Il=8,e)}function Fl(e,t){var n=e.pendingLanes;if(0===n)return Il=0;var r=0,o=0,a=e.expiredLanes,i=e.suspendedLanes,l=e.pingedLanes;if(0!==a)r=a,o=Il=15;else if(0!=(a=134217727&n)){var u=a&~i;0!==u?(r=Dl(u),o=Il):0!=(l&=a)&&(r=Dl(l),o=Il)}else 0!=(a=n&~i)?(r=Dl(a),o=Il):0!==l&&(r=Dl(l),o=Il);if(0===r)return 0;if(r=n&((0>(r=31-Gl(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&i)){if(Dl(t),o<=Il)return t;Il=o}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)r|=e[n=31-Gl(t)],t&=~(o=1<<n);return r}function Ul(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function jl(e){return e&-e}function zl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Vl(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Gl(t)]=n}var Gl=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Bl(e)/Wl|0)|0},Bl=Math.log,Wl=Math.LN2,Hl=la.unstable_UserBlockingPriority,$l=la.unstable_runWithPriority,ql=!0;function Ql(e,t,n,r){Fi||Ii();var o=Kl,a=Fi;Fi=!0;try{Mi(o,e,t,n,r)}finally{(Fi=a)||ji()}}function Xl(e,t,n,r){$l(Hl,Kl.bind(null,e,t,n,r))}function Kl(e,t,n,r){var o;if(ql)if((o=0==(4&t))&&0<al.length&&-1<dl.indexOf(e))e=pl(null,e,t,n,r),al.push(e);else{var a=Yl(e,t,n,r);if(null===a)o&&ml(e,r);else{if(o){if(-1<dl.indexOf(e))return e=pl(a,e,t,n,r),void al.push(e);if(function(e,t,n,r,o){switch(t){case"focusin":return il=hl(il,e,t,n,r,o),!0;case"dragenter":return ll=hl(ll,e,t,n,r,o),!0;case"mouseover":return ul=hl(ul,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return sl.set(a,hl(sl.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return cl.set(a=o.pointerId,hl(cl.get(a)||null,e,t,n,r,o)),!0}return!1}(a,e,t,n,r))return;ml(e,r)}Ps(e,t,r,null,n)}}}function Yl(e,t,n,r){var o=Ti(r);if(null!==(o=Xs(o))){var a=Ki(o);if(null===a)o=null;else{var i=a.tag;if(13===i){if(null!==(o=Yi(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 Ps(e,t,r,o,n),null}var Zl=null,Jl=null,eu=null;function tu(){if(eu)return eu;var e,t,n=Jl,r=n.length,o="value"in Zl?Zl.value:Zl.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 eu=o.slice(e,1<t?1-t:void 0)}function nu(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 ru(){return!0}function ou(){return!1}function au(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)?ru:ou,this.isPropagationStopped=ou,this}return Wt(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=ru)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=ru)},persist:function(){},isPersistent:ru}),t}var iu,lu,uu,su={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cu=au(su),fu=Wt({},su,{view:0,detail:0}),du=au(fu),pu=Wt({},fu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cu,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!==uu&&(uu&&"mousemove"===e.type?(iu=e.screenX-uu.screenX,lu=e.screenY-uu.screenY):lu=iu=0,uu=e),iu)},movementY:function(e){return"movementY"in e?e.movementY:lu}}),mu=au(pu),hu=au(Wt({},pu,{dataTransfer:0})),gu=au(Wt({},fu,{relatedTarget:0})),yu=au(Wt({},su,{animationName:0,elapsedTime:0,pseudoElement:0})),vu=au(Wt({},su,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),bu=au(Wt({},su,{data:0})),Eu={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wu={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"},_u={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Su(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=_u[e])&&!!t[e]}function Cu(){return Su}var ku=au(Wt({},fu,{key:function(e){if(e.key){var t=Eu[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=nu(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?wu[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cu,charCode:function(e){return"keypress"===e.type?nu(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?nu(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),Tu=au(Wt({},pu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Ou=au(Wt({},fu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cu})),Pu=au(Wt({},su,{propertyName:0,elapsedTime:0,pseudoElement:0})),Nu=au(Wt({},pu,{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})),Au=[9,13,27,32],Lu=pa&&"CompositionEvent"in window,xu=null;pa&&"documentMode"in document&&(xu=document.documentMode);var Ru=pa&&"TextEvent"in window&&!xu,Mu=pa&&(!Lu||xu&&8<xu&&11>=xu),Iu=String.fromCharCode(32),Du=!1;function Fu(e,t){switch(e){case"keyup":return-1!==Au.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Uu(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var ju=!1,zu={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 Vu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!zu[e.type]:"textarea"===t}function Gu(e,t,n,r){Li(r),0<(t=As(t,"onChange")).length&&(n=new cu("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Bu=null,Wu=null;function Hu(e){_s(e,0)}function $u(e){if(Ja(Ys(e)))return e}function qu(e,t){if("change"===e)return t}var Qu=!1;if(pa){var Xu;if(pa){var Ku="oninput"in document;if(!Ku){var Yu=document.createElement("div");Yu.setAttribute("oninput","return;"),Ku="function"==typeof Yu.oninput}Xu=Ku}else Xu=!1;Qu=Xu&&(!document.documentMode||9<document.documentMode)}function Zu(){Bu&&(Bu.detachEvent("onpropertychange",Ju),Wu=Bu=null)}function Ju(e){if("value"===e.propertyName&&$u(Wu)){var t=[];if(Gu(t,Wu,e,Ti(e)),e=Hu,Fi)e(t);else{Fi=!0;try{Ri(e,t)}finally{Fi=!1,ji()}}}}function es(e,t,n){"focusin"===e?(Zu(),Wu=n,(Bu=t).attachEvent("onpropertychange",Ju)):"focusout"===e&&Zu()}function ts(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return $u(Wu)}function ns(e,t){if("click"===e)return $u(t)}function rs(e,t){if("input"===e||"change"===e)return $u(t)}var os="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},as=Object.prototype.hasOwnProperty;function is(e,t){if(os(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(!as.call(t,n[r])||!os(e[n[r]],t[n[r]]))return!1;return!0}function ls(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function us(e,t){var n,r=ls(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=ls(r)}}function ss(){for(var e=window,t=ei();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=ei((e=t.contentWindow).document)}return t}function cs(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 fs=pa&&"documentMode"in document&&11>=document.documentMode,ds=null,ps=null,ms=null,hs=!1;function gs(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;hs||null==ds||ds!==ei(r)||(r="selectionStart"in(r=ds)&&cs(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},ms&&is(ms,r)||(ms=r,0<(r=As(ps,"onSelect")).length&&(t=new cu("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=ds)))}Ml("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),Ml("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),Ml(Rl,2);for(var ys="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),vs=0;vs<ys.length;vs++)xl.set(ys[vs],0);da("onMouseEnter",["mouseout","mouseover"]),da("onMouseLeave",["mouseout","mouseover"]),da("onPointerEnter",["pointerout","pointerover"]),da("onPointerLeave",["pointerout","pointerover"]),fa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),fa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),fa("onBeforeInput",["compositionend","keypress","textInput","paste"]),fa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),fa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),fa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var bs="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Es=new Set("cancel close invalid load scroll toggle".split(" ").concat(bs));function ws(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,i,l,u){if(Xi.apply(this,arguments),Wi){if(!Wi)throw Error(ua(198));var s=Hi;Wi=!1,Hi=null,$i||($i=!0,qi=s)}}(r,t,void 0,e),e.currentTarget=null}function _s(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;ws(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;ws(o,l,s),a=u}}}if($i)throw e=qi,$i=!1,qi=null,e}function Ss(e,t){var n=Js(t),r=e+"__bubble";n.has(r)||(Os(t,e,2,!1),n.add(r))}var Cs="_reactListening"+Math.random().toString(36).slice(2);function ks(e){e[Cs]||(e[Cs]=!0,sa.forEach(function(t){Es.has(t)||Ts(t,!1,e,null),Ts(t,!0,e,null)}))}function Ts(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&&Es.has(e)){if("scroll"!==e)return;o|=2,a=r}var i=Js(a),l=e+"__"+(t?"capture":"bubble");i.has(l)||(t&&(o|=4),Os(a,e,o,t),i.add(l))}function Os(e,t,n,r){var o=xl.get(t);switch(void 0===o?2:o){case 0:o=Ql;break;case 1:o=Xl;break;default:o=Kl}n=o.bind(null,t,n,e),o=void 0,!Vi||"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 Ps(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=Xs(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(Ui)return e();Ui=!0;try{Di(e,void 0,void 0)}finally{Ui=!1,ji()}}(function(){var r=a,o=Ti(n),i=[];e:{var l=Ll.get(e);if(void 0!==l){var u=cu,s=e;switch(e){case"keypress":if(0===nu(n))break e;case"keydown":case"keyup":u=ku;break;case"focusin":s="focus",u=gu;break;case"focusout":s="blur",u=gu;break;case"beforeblur":case"afterblur":u=gu;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=mu;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=hu;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=Ou;break;case Ol:case Pl:case Nl:u=yu;break;case Al:u=Pu;break;case"scroll":u=du;break;case"wheel":u=Nu;break;case"copy":case"cut":case"paste":u=vu;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=Tu}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=zi(m,d))&&c.push(Ns(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)||!Xs(s)&&!s[qs])&&(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)?Xs(s):null)&&(s!==(f=Ki(s))||5!==s.tag&&6!==s.tag)&&(s=null)):(u=null,s=r),u!==s)){if(c=mu,h="onMouseLeave",d="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(c=Tu,h="onPointerLeave",d="onPointerEnter",m="pointer"),f=null==u?l:Ys(u),p=null==s?l:Ys(s),(l=new c(h,m+"leave",u,n,o)).target=f,l.relatedTarget=p,h=null,Xs(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=Ls(p))m++;for(p=0,h=d;h;h=Ls(h))p++;for(;0<m-p;)c=Ls(c),m--;for(;0<p-m;)d=Ls(d),p--;for(;m--;){if(c===d||null!==d&&c===d.alternate)break e;c=Ls(c),d=Ls(d)}c=null}else c=null;null!==u&&xs(i,l,u,c,!1),null!==s&&null!==f&&xs(i,f,s,c,!0)}if("select"===(u=(l=r?Ys(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===u&&"file"===l.type)var g=qu;else if(Vu(l))if(Qu)g=rs;else{g=ts;var y=es}else(u=l.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(g=ns);switch(g&&(g=g(e,r))?Gu(i,g,n,o):(y&&y(e,l,r),"focusout"===e&&(y=l._wrapperState)&&y.controlled&&"number"===l.type&&ii(l,"number",l.value)),y=r?Ys(r):window,e){case"focusin":(Vu(y)||"true"===y.contentEditable)&&(ds=y,ps=r,ms=null);break;case"focusout":ms=ps=ds=null;break;case"mousedown":hs=!0;break;case"contextmenu":case"mouseup":case"dragend":hs=!1,gs(i,n,o);break;case"selectionchange":if(fs)break;case"keydown":case"keyup":gs(i,n,o)}var v;if(Lu)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 ju?Fu(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Mu&&"ko"!==n.locale&&(ju||"onCompositionStart"!==b?"onCompositionEnd"===b&&ju&&(v=tu()):(Jl="value"in(Zl=o)?Zl.value:Zl.textContent,ju=!0)),0<(y=As(r,b)).length&&(b=new bu(b,e,null,n,o),i.push({event:b,listeners:y}),(v||null!==(v=Uu(n)))&&(b.data=v))),(v=Ru?function(e,t){switch(e){case"compositionend":return Uu(t);case"keypress":return 32!==t.which?null:(Du=!0,Iu);case"textInput":return(e=t.data)===Iu&&Du?null:e;default:return null}}(e,n):function(e,t){if(ju)return"compositionend"===e||!Lu&&Fu(e,t)?(e=tu(),eu=Jl=Zl=null,ju=!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 Mu&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))&&0<(r=As(r,"onBeforeInput")).length&&(o=new bu("onBeforeInput","beforeinput",null,n,o),i.push({event:o,listeners:r}),o.data=v)}_s(i,t)})}function Ns(e,t,n){return{instance:e,listener:t,currentTarget:n}}function As(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=zi(e,n))&&r.unshift(Ns(e,a,o)),null!=(a=zi(e,t))&&r.push(Ns(e,a,o))),e=e.return}return r}function Ls(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function xs(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=zi(n,a))&&i.unshift(Ns(n,u,l)):o||null!=(u=zi(n,a))&&i.push(Ns(n,u,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}function Rs(){}var Ms=null,Is=null;function Ds(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Fs(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 Us="function"==typeof setTimeout?setTimeout:void 0,js="function"==typeof clearTimeout?clearTimeout:void 0;function zs(e){(1===e.nodeType||9===e.nodeType&&null!=(e=e.body))&&(e.textContent="")}function Vs(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Gs(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 Bs=0,Ws=Math.random().toString(36).slice(2),Hs="__reactFiber$"+Ws,$s="__reactProps$"+Ws,qs="__reactContainer$"+Ws,Qs="__reactEvents$"+Ws;function Xs(e){var t=e[Hs];if(t)return t;for(var n=e.parentNode;n;){if(t=n[qs]||n[Hs]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Gs(e);null!==e;){if(n=e[Hs])return n;e=Gs(e)}return t}n=(e=n).parentNode}return null}function Ks(e){return!(e=e[Hs]||e[qs])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Ys(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(ua(33))}function Zs(e){return e[$s]||null}function Js(e){var t=e[Qs];return void 0===t&&(t=e[Qs]=new Set),t}var ec=[],tc=-1;function nc(e){return{current:e}}function rc(e){0>tc||(e.current=ec[tc],ec[tc]=null,tc--)}function oc(e,t){tc++,ec[tc]=e.current,e.current=t}var ac={},ic=nc(ac),lc=nc(!1),uc=ac;function sc(e,t){var n=e.type.contextTypes;if(!n)return ac;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 cc(e){return null!=e.childContextTypes}function fc(){rc(lc),rc(ic)}function dc(e,t,n){if(ic.current!==ac)throw Error(ua(168));oc(ic,t),oc(lc,n)}function pc(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(ua(108,Xa(t)||"Unknown",o));return Wt({},n,r)}function mc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ac,uc=ic.current,oc(ic,e),oc(lc,lc.current),!0}function hc(e,t,n){var r=e.stateNode;if(!r)throw Error(ua(169));n?(e=pc(e,t,uc),r.__reactInternalMemoizedMergedChildContext=e,rc(lc),rc(ic),oc(ic,e)):rc(lc),oc(lc,n)}var gc=null,yc=null,vc=la.unstable_runWithPriority,bc=la.unstable_scheduleCallback,Ec=la.unstable_cancelCallback,wc=la.unstable_shouldYield,_c=la.unstable_requestPaint,Sc=la.unstable_now,Cc=la.unstable_getCurrentPriorityLevel,kc=la.unstable_ImmediatePriority,Tc=la.unstable_UserBlockingPriority,Oc=la.unstable_NormalPriority,Pc=la.unstable_LowPriority,Nc=la.unstable_IdlePriority,Ac={},Lc=void 0!==_c?_c:function(){},xc=null,Rc=null,Mc=!1,Ic=Sc(),Dc=1e4>Ic?Sc:function(){return Sc()-Ic};function Fc(){switch(Cc()){case kc:return 99;case Tc:return 98;case Oc:return 97;case Pc:return 96;case Nc:return 95;default:throw Error(ua(332))}}function Uc(e){switch(e){case 99:return kc;case 98:return Tc;case 97:return Oc;case 96:return Pc;case 95:return Nc;default:throw Error(ua(332))}}function jc(e,t){return e=Uc(e),vc(e,t)}function zc(e,t,n){return e=Uc(e),bc(e,t,n)}function Vc(){if(null!==Rc){var e=Rc;Rc=null,Ec(e)}Gc()}function Gc(){if(!Mc&&null!==xc){Mc=!0;var e=0;try{var t=xc;jc(99,function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}}),xc=null}catch(t){throw null!==xc&&(xc=xc.slice(e+1)),bc(kc,Vc),t}finally{Mc=!1}}}var Bc=Sa.ReactCurrentBatchConfig;function Wc(e,t){if(e&&e.defaultProps){for(var n in t=Wt({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Hc=nc(null),$c=null,qc=null,Qc=null;function Xc(){Qc=qc=$c=null}function Kc(e){var t=Hc.current;rc(Hc),e.type._context._currentValue=t}function Yc(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 Zc(e,t){$c=e,Qc=qc=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Ad=!0),e.firstContext=null)}function Jc(e,t){if(Qc!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(Qc=e,t=1073741823),t={context:e,observedBits:t,next:null},null===qc){if(null===$c)throw Error(ua(308));qc=t,$c.dependencies={lanes:0,firstContext:t,responders:null}}else qc=qc.next=t;return e._currentValue}var ef=!1;function tf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function nf(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 rf(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function of(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 af(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 lf(e,t,n,r){var o=e.updateQueue;ef=!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=Wt({},f,l);break e;case 2:ef=!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,Np|=i,e.lanes=i,e.memoizedState=f}}function uf(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(ua(191,o));o.call(r)}}}var sf=(new $t.Component).refs;function cf(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:Wt({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var ff={isMounted:function(e){return!!(e=e._reactInternals)&&Ki(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Zp(),o=Jp(e),a=rf(r,o);a.payload=t,null!=n&&(a.callback=n),of(e,a),em(e,o,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Zp(),o=Jp(e),a=rf(r,o);a.tag=1,a.payload=t,null!=n&&(a.callback=n),of(e,a),em(e,o,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Zp(),r=Jp(e),o=rf(n,r);o.tag=2,null!=t&&(o.callback=t),of(e,o),em(e,r,n)}};function df(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!(t.prototype&&t.prototype.isPureReactComponent&&is(n,r)&&is(o,a))}function pf(e,t,n){var r=!1,o=ac,a=t.contextType;return"object"==typeof a&&null!==a?a=Jc(a):(o=cc(t)?uc:ic.current,a=(r=null!=(r=t.contextTypes))?sc(e,o):ac),t=new t(n,a),e.memoizedState=null!=t.state?t.state:null,t.updater=ff,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function mf(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&&ff.enqueueReplaceState(t,t.state,null)}function hf(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=sf,tf(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=Jc(a):(a=cc(t)?uc:ic.current,o.context=sc(e,a)),lf(e,n,o,r),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(cf(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&&ff.enqueueReplaceState(o,o.state,null),lf(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4)}var gf=Array.isArray;function yf(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(ua(309));var r=n.stateNode}if(!r)throw Error(ua(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===sf&&(t=r.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!=typeof e)throw Error(ua(284));if(!n._owner)throw Error(ua(290,e))}return e}function vf(e,t){if("textarea"!==e.type)throw Error(ua(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function bf(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=xm(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=Dm(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=yf(e,t,n),r.return=e,r):((r=Rm(n.type,n.key,n.props,null,e.mode,r)).ref=yf(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=Fm(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=Mm(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=Dm(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case Ca:return(n=Rm(t.type,t.key,t.props,null,e.mode,n)).ref=yf(e,null,t),n.return=e,n;case ka:return(t=Fm(t,e.mode,n)).return=e,t}if(gf(t)||Wa(t))return(t=Mm(t,e.mode,n,null)).return=e,t;vf(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 Ca:return n.key===o?n.type===Ta?c(e,t,n.props.children,r,o):u(e,t,n,r):null;case ka:return n.key===o?s(e,t,n,r):null}if(gf(n)||Wa(n))return null!==o?null:c(e,t,n,r,null);vf(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 Ca:return e=e.get(null===r.key?n:r.key)||null,r.type===Ta?c(t,e,r.props.children,o,r.key):u(t,e,r,o);case ka:return s(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(gf(r)||Wa(r))return c(t,e=e.get(n)||null,r,o,null);vf(t,r)}return null}function m(o,i,l,u){for(var s=null,c=null,m=i,h=i=0,g=null;null!==m&&h<l.length;h++){m.index>h?(g=m,m=null):g=m.sibling;var y=d(o,m,l[h],u);if(null===y){null===m&&(m=g);break}e&&m&&null===y.alternate&&t(o,m),i=a(y,i,h),null===c?s=y:c.sibling=y,c=y,m=g}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!==(g=p(m,o,h,l[h],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}function h(o,i,l,u){var s=Wa(l);if("function"!=typeof s)throw Error(ua(150));if(null==(l=s.call(l)))throw Error(ua(151));for(var c=s=null,m=i,h=i=0,g=null,y=l.next();null!==m&&!y.done;h++,y=l.next()){m.index>h?(g=m,m=null):g=m.sibling;var v=d(o,m,y.value,u);if(null===v){null===m&&(m=g);break}e&&m&&null===v.alternate&&t(o,m),i=a(v,i,h),null===c?s=v:c.sibling=v,c=v,m=g}if(y.done)return n(o,m),s;if(null===m){for(;!y.done;h++,y=l.next())null!==(y=f(o,y.value,u))&&(i=a(y,i,h),null===c?s=y:c.sibling=y,c=y);return s}for(m=r(o,m);!y.done;h++,y=l.next())null!==(y=p(m,o,h,y.value,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}return function(e,r,a,l){var u="object"==typeof a&&null!==a&&a.type===Ta&&null===a.key;u&&(a=a.props.children);var s="object"==typeof a&&null!==a;if(s)switch(a.$$typeof){case Ca:e:{for(s=a.key,u=r;null!==u;){if(u.key===s){switch(u.tag){case 7:if(a.type===Ta){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=yf(e,u,a),r.return=e,e=r;break e}}n(e,u);break}t(e,u),u=u.sibling}a.type===Ta?((r=Mm(a.props.children,e.mode,l,a.key)).return=e,e=r):((l=Rm(a.type,a.key,a.props,null,e.mode,l)).ref=yf(e,r,a),l.return=e,e=l)}return i(e);case ka: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=Fm(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=Dm(a,e.mode,l)).return=e,e=r),i(e);if(gf(a))return m(e,r,a,l);if(Wa(a))return h(e,r,a,l);if(s&&vf(e,a),void 0===a&&!u)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(ua(152,Xa(e.type)||"Component"))}return n(e,r)}}var Ef=bf(!0),wf=bf(!1),_f={},Sf=nc(_f),Cf=nc(_f),kf=nc(_f);function Tf(e){if(e===_f)throw Error(ua(174));return e}function Of(e,t){switch(oc(kf,t),oc(Cf,e),oc(Sf,_f),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:hi(null,"");break;default:t=hi(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}rc(Sf),oc(Sf,t)}function Pf(){rc(Sf),rc(Cf),rc(kf)}function Nf(e){Tf(kf.current);var t=Tf(Sf.current),n=hi(t,e.type);t!==n&&(oc(Cf,e),oc(Sf,n))}function Af(e){Cf.current===e&&(rc(Sf),rc(Cf))}var Lf=nc(0);function xf(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 Rf=null,Mf=null,If=!1;function Df(e,t){var n=Am(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 Ff(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 Uf(e){if(If){var t=Mf;if(t){var n=t;if(!Ff(e,t)){if(!(t=Vs(n.nextSibling))||!Ff(e,t))return e.flags=-1025&e.flags|2,If=!1,void(Rf=e);Df(Rf,n)}Rf=e,Mf=Vs(t.firstChild)}else e.flags=-1025&e.flags|2,If=!1,Rf=e}}function jf(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Rf=e}function zf(e){if(e!==Rf)return!1;if(!If)return jf(e),If=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Fs(t,e.memoizedProps))for(t=Mf;t;)Df(e,t),t=Vs(t.nextSibling);if(jf(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(ua(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Mf=Vs(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Mf=null}}else Mf=Rf?Vs(e.stateNode.nextSibling):null;return!0}function Vf(){Mf=Rf=null,If=!1}var Gf=[];function Bf(){for(var e=0;e<Gf.length;e++)Gf[e]._workInProgressVersionPrimary=null;Gf.length=0}var Wf=Sa.ReactCurrentDispatcher,Hf=Sa.ReactCurrentBatchConfig,$f=0,qf=null,Qf=null,Xf=null,Kf=!1,Yf=!1;function Zf(){throw Error(ua(321))}function Jf(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!os(e[n],t[n]))return!1;return!0}function ed(e,t,n,r,o,a){if($f=a,qf=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Wf.current=null===e||null===e.memoizedState?Td:Od,e=n(r,o),Yf){a=0;do{if(Yf=!1,!(25>a))throw Error(ua(301));a+=1,Xf=Qf=null,t.updateQueue=null,Wf.current=Pd,e=n(r,o)}while(Yf)}if(Wf.current=kd,t=null!==Qf&&null!==Qf.next,$f=0,Xf=Qf=qf=null,Kf=!1,t)throw Error(ua(300));return e}function td(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Xf?qf.memoizedState=Xf=e:Xf=Xf.next=e,Xf}function nd(){if(null===Qf){var e=qf.alternate;e=null!==e?e.memoizedState:null}else e=Qf.next;var t=null===Xf?qf.memoizedState:Xf.next;if(null!==t)Xf=t,Qf=e;else{if(null===e)throw Error(ua(310));e={memoizedState:(Qf=e).memoizedState,baseState:Qf.baseState,baseQueue:Qf.baseQueue,queue:Qf.queue,next:null},null===Xf?qf.memoizedState=Xf=e:Xf=Xf.next=e}return Xf}function rd(e,t){return"function"==typeof t?t(e):t}function od(e){var t=nd(),n=t.queue;if(null===n)throw Error(ua(311));n.lastRenderedReducer=e;var r=Qf,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(($f&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,qf.lanes|=s,Np|=s}u=u.next}while(null!==u&&u!==o);null===l?a=r:l.next=i,os(r,t.memoizedState)||(Ad=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function ad(e){var t=nd(),n=t.queue;if(null===n)throw Error(ua(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);os(a,t.memoizedState)||(Ad=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function id(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionPrimary;if(null!==o?e=o===r:(e=($f&(e=e.mutableReadLanes))===e)&&(t._workInProgressVersionPrimary=r,Gf.push(t)),e)return n(t._source);throw Gf.push(t),Error(ua(350))}function ld(e,t,n,r){var o=wp;if(null===o)throw Error(ua(349));var a=t._getVersion,i=a(t._source),l=Wf.current,u=l.useState(function(){return id(o,t,n)}),s=u[1],c=u[0];u=Xf;var f=e.memoizedState,d=f.refs,p=d.getSnapshot,m=f.source;f=f.subscribe;var h=qf;return e.memoizedState={refs:d,source:t,subscribe:r},l.useEffect(function(){d.getSnapshot=n,d.setSnapshot=s;var e=a(t._source);if(!os(i,e)){e=n(t._source),os(c,e)||(s(e),e=Jp(h),o.mutableReadLanes|=e&o.pendingLanes),o.entangledLanes|=e=o.mutableReadLanes;for(var r=o.entanglements,l=e;0<l;){var u=31-Gl(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=Jp(h);o.mutableReadLanes|=r&o.pendingLanes}catch(e){n(function(){throw e})}})},[t,r]),os(p,n)&&os(m,t)&&os(f,r)||((e={pending:null,dispatch:null,lastRenderedReducer:rd,lastRenderedState:c}).dispatch=s=Cd.bind(null,qf,e),u.queue=e,u.baseQueue=null,c=id(o,t,n),u.memoizedState=u.baseState=c),c}function ud(e,t,n){return ld(nd(),e,t,n)}function sd(e){var t=td();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:rd,lastRenderedState:e}).dispatch=Cd.bind(null,qf,e),[t.memoizedState,e]}function cd(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=qf.updateQueue)?(qf.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 fd(e){return td().memoizedState={current:e}}function dd(){return nd().memoizedState}function pd(e,t,n,r){var o=td();qf.flags|=e,o.memoizedState=cd(1|t,n,void 0,void 0===r?null:r)}function md(e,t,n,r){var o=nd();r=void 0===r?null:r;var a=void 0;if(null!==Qf){var i=Qf.memoizedState;if(a=i.destroy,null!==r&&Jf(r,i.deps))return void cd(t,n,a,r)}qf.flags|=e,o.memoizedState=cd(1|t,n,a,r)}function hd(e,t){return pd(516,4,e,t)}function gd(e,t){return md(516,4,e,t)}function yd(e,t){return md(4,2,e,t)}function vd(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 bd(e,t,n){return n=null!=n?n.concat([e]):null,md(4,2,vd.bind(null,t,e),n)}function Ed(){}function wd(e,t){var n=nd();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Jf(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function _d(e,t){var n=nd();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Jf(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Sd(e,t){var n=Fc();jc(98>n?98:n,function(){e(!0)}),jc(97<n?97:n,function(){var n=Hf.transition;Hf.transition=1;try{e(!1),t()}finally{Hf.transition=n}})}function Cd(e,t,n){var r=Zp(),o=Jp(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===qf||null!==i&&i===qf)Yf=Kf=!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,os(u,l))return}catch(e){}em(e,o,r)}}var kd={readContext:Jc,useCallback:Zf,useContext:Zf,useEffect:Zf,useImperativeHandle:Zf,useLayoutEffect:Zf,useMemo:Zf,useReducer:Zf,useRef:Zf,useState:Zf,useDebugValue:Zf,useDeferredValue:Zf,useTransition:Zf,useMutableSource:Zf,useOpaqueIdentifier:Zf,unstable_isNewReconciler:!1},Td={readContext:Jc,useCallback:function(e,t){return td().memoizedState=[e,void 0===t?null:t],e},useContext:Jc,useEffect:hd,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,pd(4,2,vd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return pd(4,2,e,t)},useMemo:function(e,t){var n=td();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=td();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=Cd.bind(null,qf,e),[r.memoizedState,e]},useRef:fd,useState:sd,useDebugValue:Ed,useDeferredValue:function(e){var t=sd(e),n=t[0],r=t[1];return hd(function(){var t=Hf.transition;Hf.transition=1;try{r(e)}finally{Hf.transition=t}},[e]),n},useTransition:function(){var e=sd(!1),t=e[0];return fd(e=Sd.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=td();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},ld(r,e,t,n)},useOpaqueIdentifier:function(){if(If){var e=!1,t=function(e){return{$$typeof:Fa,toString:e,valueOf:e}}(function(){throw e||(e=!0,n("r:"+(Bs++).toString(36))),Error(ua(355))}),n=sd(t)[1];return 0==(2&qf.mode)&&(qf.flags|=516,cd(5,function(){n("r:"+(Bs++).toString(36))},void 0,null)),t}return sd(t="r:"+(Bs++).toString(36)),t},unstable_isNewReconciler:!1},Od={readContext:Jc,useCallback:wd,useContext:Jc,useEffect:gd,useImperativeHandle:bd,useLayoutEffect:yd,useMemo:_d,useReducer:od,useRef:dd,useState:function(){return od(rd)},useDebugValue:Ed,useDeferredValue:function(e){var t=od(rd),n=t[0],r=t[1];return gd(function(){var t=Hf.transition;Hf.transition=1;try{r(e)}finally{Hf.transition=t}},[e]),n},useTransition:function(){var e=od(rd)[0];return[dd().current,e]},useMutableSource:ud,useOpaqueIdentifier:function(){return od(rd)[0]},unstable_isNewReconciler:!1},Pd={readContext:Jc,useCallback:wd,useContext:Jc,useEffect:gd,useImperativeHandle:bd,useLayoutEffect:yd,useMemo:_d,useReducer:ad,useRef:dd,useState:function(){return ad(rd)},useDebugValue:Ed,useDeferredValue:function(e){var t=ad(rd),n=t[0],r=t[1];return gd(function(){var t=Hf.transition;Hf.transition=1;try{r(e)}finally{Hf.transition=t}},[e]),n},useTransition:function(){var e=ad(rd)[0];return[dd().current,e]},useMutableSource:ud,useOpaqueIdentifier:function(){return ad(rd)[0]},unstable_isNewReconciler:!1},Nd=Sa.ReactCurrentOwner,Ad=!1;function Ld(e,t,n,r){t.child=null===e?wf(t,null,n,r):Ef(t,e.child,n,r)}function xd(e,t,n,r,o){n=n.render;var a=t.ref;return Zc(t,o),r=ed(e,t,n,r,a,o),null===e||Ad?(t.flags|=1,Ld(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,Kd(e,t,o))}function Rd(e,t,n,r,o,a){if(null===e){var i=n.type;return"function"!=typeof i||Lm(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Rm(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Md(e,t,i,r,o,a))}return i=e.child,0==(o&a)&&(n=null!==(n=n.compare)?n:is)(o=i.memoizedProps,r)&&e.ref===t.ref?Kd(e,t,a):(t.flags|=1,(e=xm(i,r)).ref=t.ref,e.return=t,t.child=e)}function Md(e,t,n,r,o,a){if(null!==e&&is(e.memoizedProps,r)&&e.ref===t.ref){if(Ad=!1,0==(a&o))return t.lanes=e.lanes,Kd(e,t,a);0!=(16384&e.flags)&&(Ad=!0)}return Fd(e,t,n,r,a)}function Id(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},um(0,n);else{if(0==(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},um(0,e),null;t.memoizedState={baseLanes:0},um(0,null!==a?a.baseLanes:n)}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,um(0,r);return Ld(e,t,o,n),t.child}function Dd(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Fd(e,t,n,r,o){var a=cc(n)?uc:ic.current;return a=sc(t,a),Zc(t,o),n=ed(e,t,n,r,a,o),null===e||Ad?(t.flags|=1,Ld(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,Kd(e,t,o))}function Ud(e,t,n,r,o){if(cc(n)){var a=!0;mc(t)}else a=!1;if(Zc(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),pf(t,n,r),hf(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?Jc(s):sc(t,s=cc(n)?uc:ic.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)&&mf(t,i,r,s),ef=!1;var d=t.memoizedState;i.state=d,lf(t,r,i,o),u=t.memoizedState,l!==r||d!==u||lc.current||ef?("function"==typeof c&&(cf(t,n,c,r),u=t.memoizedState),(l=ef||df(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,nf(e,t),l=t.memoizedProps,s=t.type===t.elementType?l:Wc(t.type,l),i.props=s,f=t.pendingProps,d=i.context,u="object"==typeof(u=n.contextType)&&null!==u?Jc(u):sc(t,u=cc(n)?uc:ic.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)&&mf(t,i,r,u),ef=!1,i.state=d=t.memoizedState,lf(t,r,i,o);var m=t.memoizedState;l!==f||d!==m||lc.current||ef?("function"==typeof p&&(cf(t,n,p,r),m=t.memoizedState),(s=ef||df(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 jd(e,t,n,r,a,o)}function jd(e,t,n,r,o,a){Dd(e,t);var i=0!=(64&t.flags);if(!r&&!i)return o&&hc(t,n,!1),Kd(e,t,a);r=t.stateNode,Nd.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Ef(t,e.child,null,a),t.child=Ef(t,null,l,a)):Ld(e,t,l,a),t.memoizedState=r.state,o&&hc(t,n,!0),t.child}function zd(e){var t=e.stateNode;t.pendingContext?dc(0,t.pendingContext,t.pendingContext!==t.context):t.context&&dc(0,t.context,!1),Of(e,t.containerInfo)}var Vd,Gd,Bd,Wd={dehydrated:null,retryLane:0};function Hd(e,t,n){var r,o=t.pendingProps,a=Lf.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),oc(Lf,1&a),null===e?(void 0!==o.fallback&&Uf(t),e=o.children,a=o.fallback,i?(e=$d(t,e,a,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Wd,e):"number"==typeof o.unstable_expectedLoadTime?(e=$d(t,e,a,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Wd,t.lanes=33554432,e):((n=Im({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=xm(i,l),null!==e?r=xm(e,r):(r=Mm(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=Wd,o):(n=function(e,t,n,r){var o=e.child;return e=o.sibling,n=xm(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 $d(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=Im(t,o,0,null),n=Mm(n,o,r,null),a.return=e,n.return=e,a.sibling=n,e.child=a,n}function qd(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),Yc(e.return,t)}function Qd(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 Xd(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(Ld(e,t,r.children,n),0!=(2&(r=Lf.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&&qd(e,n);else if(19===e.tag)qd(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(oc(Lf,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===xf(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Qd(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===xf(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Qd(t,!0,n,null,a,t.lastEffect);break;case"together":Qd(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Kd(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Np|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(ua(153));if(null!==t.child){for(n=xm(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)(n=n.sibling=xm(e=e.sibling,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function Yd(e,t){if(!If)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 Zd(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 cc(t.type)&&fc(),null;case 3:return Pf(),rc(lc),rc(ic),Bf(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(zf(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:Af(t);var o=Tf(kf.current);if(n=t.type,null!==e&&null!=t.stateNode)Gd(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(ua(166));return null}if(e=Tf(Sf.current),zf(t)){n=t.type;var a=t.memoizedProps;switch((r=t.stateNode)[Hs]=t,r[$s]=a,n){case"dialog":Ss("cancel",r),Ss("close",r);break;case"iframe":case"object":case"embed":Ss("load",r);break;case"video":case"audio":for(e=0;e<bs.length;e++)Ss(bs[e],r);break;case"source":Ss("error",r);break;case"img":case"image":case"link":Ss("error",r),Ss("load",r);break;case"details":Ss("toggle",r);break;case"input":ni(r,a),Ss("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Ss("invalid",r);break;case"textarea":ci(r,a),Ss("invalid",r)}for(var i in Ci(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]):ca.hasOwnProperty(i)&&null!=o&&"onScroll"===i&&Ss("scroll",r));switch(n){case"input":Za(r),ai(r,a,!0);break;case"textarea":Za(r),di(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=Rs)}t.updateQueue=r=e,null!==r&&(t.flags|=4)}else{switch(i=9===o.nodeType?o:o.ownerDocument,e===pi&&(e=mi(n)),e===pi?"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[Hs]=t,e[$s]=r,Vd(e,t),t.stateNode=e,i=ki(n,r),n){case"dialog":Ss("cancel",e),Ss("close",e),o=r;break;case"iframe":case"object":case"embed":Ss("load",e),o=r;break;case"video":case"audio":for(o=0;o<bs.length;o++)Ss(bs[o],e);o=r;break;case"source":Ss("error",e),o=r;break;case"img":case"image":case"link":Ss("error",e),Ss("load",e),o=r;break;case"details":Ss("toggle",e),o=r;break;case"input":ni(e,r),o=ti(e,r),Ss("invalid",e);break;case"option":o=li(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=Wt({},r,{value:void 0}),Ss("invalid",e);break;case"textarea":ci(e,r),o=si(e,r),Ss("invalid",e);break;default:o=r}Ci(n,o);var l=o;for(a in l)if(l.hasOwnProperty(a)){var u=l[a];"style"===a?_i(e,u):"dangerouslySetInnerHTML"===a?null!=(u=u?u.__html:void 0)&&yi(e,u):"children"===a?"string"==typeof u?("textarea"!==n||""!==u)&&vi(e,u):"number"==typeof u&&vi(e,""+u):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(ca.hasOwnProperty(a)?null!=u&&"onScroll"===a&&Ss("scroll",e):null!=u&&_a(e,a,u,i))}switch(n){case"input":Za(e),ai(e,r,!1);break;case"textarea":Za(e),di(e);break;case"option":null!=r.value&&e.setAttribute("value",""+Ka(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ui(e,!!r.multiple,a,!1):null!=r.defaultValue&&ui(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Rs)}Ds(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Bd(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(ua(166));n=Tf(kf.current),Tf(Sf.current),zf(t)?(n=t.memoizedProps,(r=t.stateNode)[Hs]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Hs]=t,t.stateNode=r)}return null;case 13:return rc(Lf),r=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&zf(t):n=null!==e.memoizedState,r&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Lf.current)?0===Tp&&(Tp=3):(0!==Tp&&3!==Tp||(Tp=4),null===wp||0==(134217727&Np)&&0==(134217727&Ap)||om(wp,Sp))),(r||n)&&(t.flags|=4),null);case 4:return Pf(),null===e&&ks(t.stateNode.containerInfo),null;case 10:return Kc(t),null;case 17:return cc(t.type)&&fc(),null;case 19:if(rc(Lf),null===(r=t.memoizedState))return null;if(a=0!=(64&t.flags),null===(i=r.rendering))if(a)Yd(r,!1);else{if(0!==Tp||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(i=xf(e))){for(t.flags|=64,Yd(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 oc(Lf,1&Lf.current|2),t.child}e=e.sibling}null!==r.tail&&Dc()>Mp&&(t.flags|=64,a=!0,Yd(r,!1),t.lanes=33554432)}else{if(!a)if(null!==(e=xf(i))){if(t.flags|=64,a=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Yd(r,!0),null===r.tail&&"hidden"===r.tailMode&&!i.alternate&&!If)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Dc()-r.renderingStartTime>Mp&&1073741824!==n&&(t.flags|=64,a=!0,Yd(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=Dc(),n.sibling=null,t=Lf.current,oc(Lf,a?1&t|2:1&t),n):null;case 23:case 24:return sm(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(ua(156,t.tag))}function Jd(e){switch(e.tag){case 1:cc(e.type)&&fc();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Pf(),rc(lc),rc(ic),Bf(),0!=(64&(t=e.flags)))throw Error(ua(285));return e.flags=-4097&t|64,e;case 5:return Af(e),null;case 13:return rc(Lf),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return rc(Lf),null;case 4:return Pf(),null;case 10:return Kc(e),null;case 23:case 24:return sm(),null;default:return null}}function ep(e,t){try{var n="",r=t;do{n+=Qa(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 tp(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}Vd=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}},Gd=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Tf(Sf.current);var a,i=null;switch(n){case"input":o=ti(e,o),r=ti(e,r),i=[];break;case"option":o=li(e,o),r=li(e,r),i=[];break;case"select":o=Wt({},o,{value:void 0}),r=Wt({},r,{value:void 0}),i=[];break;case"textarea":o=si(e,o),r=si(e,r),i=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Rs)}for(s in Ci(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&&(ca.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&&(ca.hasOwnProperty(s)?(null!=u&&"onScroll"===s&&Ss("scroll",e),i||l===u||(i=[])):"object"==typeof u&&null!==u&&u.$$typeof===Fa?u.toString():(i=i||[]).push(s,u))}n&&(i=i||[]).push("style",n);var s=i;(t.updateQueue=s)&&(t.flags|=4)}},Bd=function(e,t,n,r){n!==r&&(t.flags|=4)};var np="function"==typeof WeakMap?WeakMap:Map;function rp(e,t,n){(n=rf(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Up||(Up=!0,jp=r),tp(0,t)},n}function op(e,t,n){(n=rf(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return tp(0,t),r(o)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===zp?zp=new Set([this]):zp.add(this),tp(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var ap="function"==typeof WeakSet?WeakSet:Set;function ip(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Tm(e,t)}else t.current=null}function lp(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:Wc(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&zs(t.stateNode.containerInfo));case 5:case 6:case 4:case 17:return}throw Error(ua(163))}function up(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)&&(Sm(n,e),_m(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:Wc(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&uf(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}uf(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Ds(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&&wl(n)))));case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(ua(163))}function sp(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=wi("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 cp(e,t){if(yc&&"function"==typeof yc.onCommitFiberUnmount)try{yc.onCommitFiberUnmount(gc,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))Sm(t,n);else{r=t;try{o()}catch(e){Tm(r,e)}}n=n.next}while(n!==e)}break;case 1:if(ip(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Tm(t,e)}break;case 5:ip(t);break;case 4:mp(e,t)}}function fp(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 dp(e){return 5===e.tag||3===e.tag||4===e.tag}function pp(e){e:{for(var t=e.return;null!==t;){if(dp(t))break e;t=t.return}throw Error(ua(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(ua(161))}16&n.flags&&(vi(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||dp(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=Rs));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 mp(e,t){for(var n,r,o=t,a=!1;;){if(!a){a=o.return;e:for(;;){if(null===a)throw Error(ua(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(cp(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(cp(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 hp(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[$s]=r,"input"===e&&"radio"===r.type&&null!=r.name&&ri(n,r),ki(e,o),t=ki(e,r),o=0;o<a.length;o+=2){var i=a[o],l=a[o+1];"style"===i?_i(n,l):"dangerouslySetInnerHTML"===i?yi(n,l):"children"===i?vi(n,l):_a(n,i,l,t)}switch(e){case"input":oi(n,r);break;case"textarea":fi(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(a=r.value)?ui(n,!!r.multiple,a,!1):e!==!!r.multiple&&(null!=r.defaultValue?ui(n,!!r.multiple,r.defaultValue,!0):ui(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(ua(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,wl(n.containerInfo)));case 12:return;case 13:return null!==t.memoizedState&&(Rp=Dc(),sp(t.child,!0)),void gp(t);case 19:return void gp(t);case 17:return;case 23:case 24:return void sp(t,null!==t.memoizedState)}throw Error(ua(163))}function gp(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new ap),t.forEach(function(t){var r=Pm.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}var yp=Math.ceil,vp=Sa.ReactCurrentDispatcher,bp=Sa.ReactCurrentOwner,Ep=0,wp=null,_p=null,Sp=0,Cp=0,kp=nc(0),Tp=0,Op=null,Pp=0,Np=0,Ap=0,Lp=0,xp=null,Rp=0,Mp=Infinity;function Ip(){Mp=Dc()+500}var Dp,Fp=null,Up=!1,jp=null,zp=null,Vp=!1,Gp=null,Bp=90,Wp=[],Hp=[],$p=null,qp=0,Qp=null,Xp=-1,Kp=0,Yp=0;function Zp(){return 0!=(48&Ep)?Dc():-1!==Xp?Xp:Xp=Dc()}function Jp(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===Fc()?1:2;if(0===Kp&&(Kp=Pp),0!==Bc.transition){0!==Yp&&(Yp=null!==xp?xp.pendingLanes:0),e=Kp;var t=4186112&~Yp;return 0==(t&=-t)&&0==(t=(e=4186112&~e)&-e)&&(t=8192),t}return e=Fc(),function e(t,n){switch(t){case 15:return 1;case 14:return 2;case 12:return 0===(t=jl(24&~n))?e(10,n):t;case 10:return 0===(t=jl(192&~n))?e(8,n):t;case 8:return 0===(t=jl(3584&~n))&&0===(t=jl(4186112&~n))&&(t=512),t;case 2:return 0===(n=jl(805306368&~n))&&(n=268435456),n}throw Error(ua(358,t))}(0!=(4&Ep)&&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),Kp)}function em(e,t,n){if(50<qp)throw qp=0,Qp=null,Error(ua(185));if(null===(e=tm(e,t)))return null;Vl(e,t,n),e===wp&&(Ap|=t,4===Tp&&om(e,Sp));var r=Fc();1===t?0!=(8&Ep)&&0==(48&Ep)?am(e):(nm(e,n),0===Ep&&(Ip(),Vc())):(0==(4&Ep)||98!==r&&99!==r||(null===$p?$p=new Set([e]):$p.add(e)),nm(e,n)),xp=e}function tm(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 nm(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,a=e.expirationTimes,i=e.pendingLanes;0<i;){var l=31-Gl(i),u=1<<l,s=a[l];-1===s?0!=(u&r)&&0==(u&o)||(s=t,Dl(u),a[l]=10<=Il?s+250:6<=Il?s+5e3:-1):s<=t&&(e.expiredLanes|=u),i&=~u}if(r=Fl(e,e===wp?Sp:0),t=Il,0===r)null!==n&&(n!==Ac&&Ec(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Ac&&Ec(n)}15===t?(n=am.bind(null,e),null===xc?(xc=[n],Rc=bc(kc,Gc)):xc.push(n),n=Ac):n=14===t?zc(99,am.bind(null,e)):zc(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(ua(358,e))}}(t),rm.bind(null,e)),e.callbackPriority=t,e.callbackNode=n}}function rm(e){if(Xp=-1,Yp=Kp=0,0!=(48&Ep))throw Error(ua(327));var t=e.callbackNode;if(wm()&&e.callbackNode!==t)return null;var n=Fl(e,e===wp?Sp:0);if(0===n)return null;var r=n,o=Ep;Ep|=16;var a=dm();for(wp===e&&Sp===r||(Ip(),cm(e,r));;)try{hm();break}catch(t){fm(e,t)}if(Xc(),vp.current=a,Ep=o,null!==_p?r=0:(wp=null,Sp=0,r=Tp),0!=(Pp&Ap))cm(e,0);else if(0!==r){if(2===r&&(Ep|=64,e.hydrate&&(e.hydrate=!1,zs(e.containerInfo)),0!==(n=Ul(e))&&(r=pm(e,n))),1===r)throw t=Op,cm(e,0),om(e,n),nm(e,Dc()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(ua(345));case 2:vm(e);break;case 3:if(om(e,n),(62914560&n)===n&&10<(r=Rp+500-Dc())){if(0!==Fl(e,0))break;if(((o=e.suspendedLanes)&n)!==n){Zp(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Us(vm.bind(null,e),r);break}vm(e);break;case 4:if(om(e,n),(4186112&n)===n)break;for(r=e.eventTimes,o=-1;0<n;){var i=31-Gl(n);a=1<<i,(i=r[i])>o&&(o=i),n&=~a}if(n=o,10<(n=(120>(n=Dc()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*yp(n/1960))-n)){e.timeoutHandle=Us(vm.bind(null,e),n);break}vm(e);break;case 5:vm(e);break;default:throw Error(ua(329))}}return nm(e,Dc()),e.callbackNode===t?rm.bind(null,e):null}function om(e,t){for(t&=~Lp,e.suspendedLanes|=t&=~Ap,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Gl(t),r=1<<n;e[n]=-1,t&=~r}}function am(e){if(0!=(48&Ep))throw Error(ua(327));if(wm(),e===wp&&0!=(e.expiredLanes&Sp)){var t=Sp,n=pm(e,t);0!=(Pp&Ap)&&(n=pm(e,t=Fl(e,t)))}else n=pm(e,t=Fl(e,0));if(0!==e.tag&&2===n&&(Ep|=64,e.hydrate&&(e.hydrate=!1,zs(e.containerInfo)),0!==(t=Ul(e))&&(n=pm(e,t))),1===n)throw n=Op,cm(e,0),om(e,t),nm(e,Dc()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,vm(e),nm(e,Dc()),null}function im(e,t){var n=Ep;Ep|=1;try{return e(t)}finally{0===(Ep=n)&&(Ip(),Vc())}}function lm(e,t){var n=Ep;Ep&=-2,Ep|=8;try{return e(t)}finally{0===(Ep=n)&&(Ip(),Vc())}}function um(e,t){oc(kp,Cp),Cp|=t,Pp|=t}function sm(){Cp=kp.current,rc(kp)}function cm(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,js(n)),null!==_p)for(n=_p.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&fc();break;case 3:Pf(),rc(lc),rc(ic),Bf();break;case 5:Af(r);break;case 4:Pf();break;case 13:case 19:rc(Lf);break;case 10:Kc(r);break;case 23:case 24:sm()}n=n.return}wp=e,_p=xm(e.current,null),Sp=Cp=Pp=t,Tp=0,Op=null,Lp=Ap=Np=0}function fm(e,t){for(;;){var n=_p;try{if(Xc(),Wf.current=kd,Kf){for(var r=qf.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}Kf=!1}if($f=0,Xf=Qf=qf=null,Yf=!1,bp.current=null,null===n||null===n.return){Tp=1,Op=t,_p=null;break}e:{var a=e,i=n.return,l=n,u=t;if(t=Sp,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&Lf.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 g=d.updateQueue;if(null===g){var y=new Set;y.add(s),d.updateQueue=y}else g.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=rf(-1,1);v.tag=2,of(l,v)}l.lanes|=1;break e}u=void 0,l=t;var b=a.pingCache;if(null===b?(b=a.pingCache=new np,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=Om.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((Xa(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!==Tp&&(Tp=2),u=ep(u,l),d=i;do{switch(d.tag){case 3:a=u,d.flags|=4096,d.lanes|=t&=-t,af(d,rp(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===zp||!zp.has(w)))){d.flags|=4096,d.lanes|=t&=-t,af(d,op(d,a,t));break e}}d=d.return}while(null!==d)}ym(n)}catch(e){t=e,_p===n&&null!==n&&(_p=n=n.return);continue}break}}function dm(){var e=vp.current;return vp.current=kd,null===e?kd:e}function pm(e,t){var n=Ep;Ep|=16;var r=dm();for(wp===e&&Sp===t||cm(e,t);;)try{mm();break}catch(t){fm(e,t)}if(Xc(),Ep=n,vp.current=r,null!==_p)throw Error(ua(261));return wp=null,Sp=0,Tp}function mm(){for(;null!==_p;)gm(_p)}function hm(){for(;null!==_p&&!wc();)gm(_p)}function gm(e){var t=Dp(e.alternate,e,Cp);e.memoizedProps=e.pendingProps,null===t?ym(e):_p=t,bp.current=null}function ym(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=Zd(n,t,Cp)))return void(_p=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&Cp)||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=Jd(t)))return n.flags&=2047,void(_p=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(_p=t);_p=t=e}while(null!==t);0===Tp&&(Tp=5)}function vm(e){var t=Fc();return jc(99,bm.bind(null,e,t)),null}function bm(e,t){do{wm()}while(null!==Gp);if(0!=(48&Ep))throw Error(ua(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(ua(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-Gl(a),s=1<<u;o[u]=0,i[u]=-1,l[u]=-1,a&=~s}if(null!==$p&&0==(24&r)&&$p.has(e)&&$p.delete(e),e===wp&&(_p=wp=null,Sp=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(o=Ep,Ep|=32,bp.current=null,Ms=ql,cs(i=ss())){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,g=null;e:for(;;){for(var y;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!==(y=h.firstChild);)g=h,h=y;for(;;){if(h===i)break e;if(g===l&&++p===a&&(f=c),g===u&&++m===s&&(d=c),null!==(y=h.nextSibling))break;g=(h=g).parentNode}h=y}l=-1===f||-1===d?null:{start:f,end:d}}else l=null;l=l||{start:0,end:0}}else l=null;Is={focusedElem:i,selectionRange:l},ql=!1,Fp=r;do{try{Em()}catch(e){if(null===Fp)throw Error(ua(330));Tm(Fp,e),Fp=Fp.nextEffect}}while(null!==Fp);Fp=r;do{try{for(i=e;null!==Fp;){var v=Fp.flags;if(16&v&&vi(Fp.stateNode,""),128&v){var b=Fp.alternate;if(null!==b){var E=b.ref;null!==E&&("function"==typeof E?E(null):E.current=null)}}switch(1038&v){case 2:pp(Fp),Fp.flags&=-3;break;case 6:pp(Fp),Fp.flags&=-3,hp(Fp.alternate,Fp);break;case 1024:Fp.flags&=-1025;break;case 1028:Fp.flags&=-1025,hp(Fp.alternate,Fp);break;case 4:hp(Fp.alternate,Fp);break;case 8:mp(i,l=Fp);var w=l.alternate;fp(l),null!==w&&fp(w)}Fp=Fp.nextEffect}}catch(e){if(null===Fp)throw Error(ua(330));Tm(Fp,e),Fp=Fp.nextEffect}}while(null!==Fp);if(E=Is,b=ss(),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&&cs(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=us(v,w),a=us(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}ql=!!Ms,Is=Ms=null,e.current=n,Fp=r;do{try{for(v=e;null!==Fp;){var _=Fp.flags;if(36&_&&up(v,Fp.alternate,Fp),128&_){b=void 0;var S=Fp.ref;if(null!==S){var C=Fp.stateNode;switch(Fp.tag){case 5:b=C;break;default:b=C}"function"==typeof S?S(b):S.current=b}}Fp=Fp.nextEffect}}catch(e){if(null===Fp)throw Error(ua(330));Tm(Fp,e),Fp=Fp.nextEffect}}while(null!==Fp);Fp=null,Lc(),Ep=o}else e.current=n;if(Vp)Vp=!1,Gp=e,Bp=t;else for(Fp=r;null!==Fp;)t=Fp.nextEffect,Fp.nextEffect=null,8&Fp.flags&&((_=Fp).sibling=null,_.stateNode=null),Fp=t;if(0===(r=e.pendingLanes)&&(zp=null),1===r?e===Qp?qp++:(qp=0,Qp=e):qp=0,n=n.stateNode,yc&&"function"==typeof yc.onCommitFiberRoot)try{yc.onCommitFiberRoot(gc,n,void 0,64==(64&n.current.flags))}catch(e){}if(nm(e,Dc()),Up)throw Up=!1,e=jp,jp=null,e;return 0!=(8&Ep)||Vc(),null}function Em(){for(;null!==Fp;){var e=Fp.flags;0!=(256&e)&&lp(Fp.alternate,Fp),0==(512&e)||Vp||(Vp=!0,zc(97,function(){return wm(),null})),Fp=Fp.nextEffect}}function wm(){if(90!==Bp){var e=97<Bp?97:Bp;return Bp=90,jc(e,Cm)}return!1}function _m(e,t){Wp.push(t,e),Vp||(Vp=!0,zc(97,function(){return wm(),null}))}function Sm(e,t){Hp.push(t,e),Vp||(Vp=!0,zc(97,function(){return wm(),null}))}function Cm(){if(null===Gp)return!1;var e=Gp;if(Gp=null,0!=(48&Ep))throw Error(ua(331));var t=Ep;Ep|=32;var n=Hp;Hp=[];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(ua(330));Tm(a,e)}}for(n=Wp,Wp=[],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(ua(330));Tm(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 Ep=t,Vc(),!0}function km(e,t,n){of(e,t=rp(0,t=ep(n,t),1)),t=Zp(),null!==(e=tm(e,1))&&(Vl(e,1,t),nm(e,t))}function Tm(e,t){if(3===e.tag)km(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){km(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===zp||!zp.has(r))){var o=op(n,e=ep(t,e),1);if(of(n,o),o=Zp(),null!==(n=tm(n,1)))Vl(n,1,o),nm(n,o);else if("function"==typeof r.componentDidCatch&&(null===zp||!zp.has(r)))try{r.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function Om(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=Zp(),e.pingedLanes|=e.suspendedLanes&n,wp===e&&(Sp&n)===n&&(4===Tp||3===Tp&&(62914560&Sp)===Sp&&500>Dc()-Rp?cm(e,0):Lp|=n),nm(e,t)}function Pm(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===Fc()?1:2:(0===Kp&&(Kp=Pp),0===(t=jl(62914560&~Kp))&&(t=4194304))),n=Zp(),null!==(e=tm(e,t))&&(Vl(e,t,n),nm(e,n))}function Nm(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 Am(e,t,n,r){return new Nm(e,t,n,r)}function Lm(e){return!(!(e=e.prototype)||!e.isReactComponent)}function xm(e,t){var n=e.alternate;return null===n?((n=Am(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 Rm(e,t,n,r,o,a){var i=2;if(r=e,"function"==typeof e)Lm(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case Ta:return Mm(n.children,o,a,t);case Ua:i=8,o|=16;break;case Oa:i=8,o|=1;break;case Pa:return(e=Am(12,n,t,8|o)).elementType=Pa,e.type=Pa,e.lanes=a,e;case xa:return(e=Am(13,n,t,o)).type=xa,e.elementType=xa,e.lanes=a,e;case Ra:return(e=Am(19,n,t,o)).elementType=Ra,e.lanes=a,e;case ja:return Im(n,o,a,t);case za:return(e=Am(24,n,t,o)).elementType=za,e.lanes=a,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Na:i=10;break e;case Aa:i=9;break e;case La:i=11;break e;case Ma:i=14;break e;case Ia:i=16,r=null;break e;case Da:i=22;break e}throw Error(ua(130,null==e?e:typeof e,""))}return(t=Am(i,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Mm(e,t,n,r){return(e=Am(7,e,r,t)).lanes=n,e}function Im(e,t,n,r){return(e=Am(23,e,r,t)).elementType=ja,e.lanes=n,e}function Dm(e,t,n){return(e=Am(6,e,null,t)).lanes=n,e}function Fm(e,t,n){return(t=Am(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Um(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=zl(0),this.expirationTimes=zl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zl(0),this.mutableSourceEagerHydrationData=null}function jm(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:ka,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function zm(e,t,n,r){var o=t.current,a=Zp(),i=Jp(o);e:if(n){t:{if(Ki(n=n._reactInternals)!==n||1!==n.tag)throw Error(ua(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(cc(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(ua(171))}if(1===n.tag){var u=n.type;if(cc(u)){n=pc(n,u,l);break e}}n=l}else n=ac;return null===t.context?t.context=n:t.pendingContext=n,(t=rf(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),of(o,t),em(o,i,a),i}function Vm(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Gm(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Bm(e,t){Gm(e,t),(e=e.alternate)&&Gm(e,t)}function Wm(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Um(e,t,null!=n&&!0===n.hydrate),t=Am(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,tf(t),e[qs]=n.current,ks(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 Hm(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function $m(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=Vm(i);l.call(e)}}zm(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 Wm(e,0,t?{hydrate:!0}:void 0)}(n,r),i=a._internalRoot,"function"==typeof o){var u=o;o=function(){var e=Vm(i);u.call(e)}}lm(function(){zm(t,i,e,o)})}return Vm(i)}function qm(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Hm(t))throw Error(ua(200));return jm(e,t,null,n)}Dp=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||lc.current)Ad=!0;else{if(0==(n&r)){switch(Ad=!1,t.tag){case 3:zd(t),Vf();break;case 5:Nf(t);break;case 1:cc(t.type)&&mc(t);break;case 4:Of(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;oc(Hc,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?Hd(e,t,n):(oc(Lf,1&Lf.current),null!==(t=Kd(e,t,n))?t.sibling:null);oc(Lf,1&Lf.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return Xd(e,t,n);t.flags|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),oc(Lf,Lf.current),r)break;return null;case 23:case 24:return t.lanes=0,Id(e,t,n)}return Kd(e,t,n)}Ad=0!=(16384&e.flags)}else Ad=!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=sc(t,ic.current),Zc(t,n),o=ed(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,cc(r)){var a=!0;mc(t)}else a=!1;t.memoizedState=null!=o.state?o.state:null,tf(t);var i=r.getDerivedStateFromProps;"function"==typeof i&&cf(t,r,i,e),o.updater=ff,t.stateNode=o,o._reactInternals=t,hf(t,r,e,n),t=jd(null,t,r,!0,a,n)}else t.tag=0,Ld(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 Lm(e)?1:0;if(null!=e){if((e=e.$$typeof)===La)return 11;if(e===Ma)return 14}return 2}(o),e=Wc(o,e),a){case 0:t=Fd(null,t,o,e,n);break e;case 1:t=Ud(null,t,o,e,n);break e;case 11:t=xd(null,t,o,e,n);break e;case 14:t=Rd(null,t,o,Wc(o.type,e),r,n);break e}throw Error(ua(306,o,""))}return t;case 0:return o=t.pendingProps,Fd(e,t,r=t.type,o=t.elementType===r?o:Wc(r,o),n);case 1:return o=t.pendingProps,Ud(e,t,r=t.type,o=t.elementType===r?o:Wc(r,o),n);case 3:if(zd(t),r=t.updateQueue,null===e||null===r)throw Error(ua(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,nf(e,t),lf(t,r,null,n),(r=t.memoizedState.element)===o)Vf(),t=Kd(e,t,n);else{if((a=(o=t.stateNode).hydrate)&&(Mf=Vs(t.stateNode.containerInfo.firstChild),Rf=t,a=If=!0),a){if(null!=(e=o.mutableSourceEagerHydrationData))for(o=0;o<e.length;o+=2)(a=e[o])._workInProgressVersionPrimary=e[o+1],Gf.push(a);for(n=wf(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Ld(e,t,r,n),Vf();t=t.child}return t;case 5:return Nf(t),null===e&&Uf(t),a=null!==e?e.memoizedProps:null,i=(o=t.pendingProps).children,Fs(r=t.type,o)?i=null:null!==a&&Fs(r,a)&&(t.flags|=16),Dd(e,t),Ld(e,t,i,n),t.child;case 6:return null===e&&Uf(t),null;case 13:return Hd(e,t,n);case 4:return Of(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ef(t,null,r,n):Ld(e,t,r,n),t.child;case 11:return o=t.pendingProps,xd(e,t,r=t.type,o=t.elementType===r?o:Wc(r,o),n);case 7:return Ld(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ld(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(oc(Hc,l._currentValue),l._currentValue=a,null!==i)if(0==(a=os(l=i.value,a)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,a):1073741823))){if(i.children===o.children&&!lc.current){t=Kd(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=rf(-1,n&-n)).tag=2,of(l,s)),l.lanes|=n,null!==(s=l.alternate)&&(s.lanes|=n),Yc(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}Ld(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(a=t.pendingProps).children,Zc(t,n),r=r(o=Jc(o,a.unstable_observedBits)),t.flags|=1,Ld(e,t,r,n),t.child;case 14:return a=Wc(o=t.type,t.pendingProps),Rd(e,t,o,a=Wc(o.type,a),r,n);case 15:return Md(e,t,t.type,t.pendingProps,r,n);case 17:return o=t.pendingProps,o=t.elementType===(r=t.type)?o:Wc(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,cc(r)?(e=!0,mc(t)):e=!1,Zc(t,n),pf(t,r,o),hf(t,r,o,n),jd(null,t,r,!0,e,n);case 19:return Xd(e,t,n);case 23:case 24:return Id(e,t,n)}throw Error(ua(156,t.tag))},Wm.prototype.render=function(e){zm(e,this._internalRoot,null,null)},Wm.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;zm(null,e,null,function(){t[qs]=null})},el=function(e){13===e.tag&&(em(e,4,Zp()),Bm(e,4))},tl=function(e){13===e.tag&&(em(e,67108864,Zp()),Bm(e,67108864))},nl=function(e){if(13===e.tag){var t=Zp(),n=Jp(e);em(e,n,t),Bm(e,n)}},rl=function(e,t){return t()},Oi=function(e,t,n){switch(t){case"input":if(oi(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=Zs(r);if(!o)throw Error(ua(90));Ja(r),oi(r,o)}}}break;case"textarea":fi(e,n);break;case"select":null!=(t=n.value)&&ui(e,!!n.multiple,t,!1)}},Ri=im,Mi=function(e,t,n,r,o){var a=Ep;Ep|=4;try{return jc(98,e.bind(null,t,n,r,o))}finally{0===(Ep=a)&&(Ip(),Vc())}},Ii=function(){0==(49&Ep)&&(function(){if(null!==$p){var e=$p;$p=null,e.forEach(function(e){e.expiredLanes|=24&e.pendingLanes,nm(e,Dc())})}Vc()}(),wm())},Di=function(e,t){var n=Ep;Ep|=2;try{return e(t)}finally{0===(Ep=n)&&(Ip(),Vc())}};var Qm={Events:[Ks,Ys,Zs,Li,xi,wm,{current:!1}]},Xm={findFiberByHostInstance:Xs,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},Km={bundleType:Xm.bundleType,version:Xm.version,rendererPackageName:Xm.rendererPackageName,rendererConfig:Xm.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Sa.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ji(e))?null:e.stateNode},findFiberByHostInstance:Xm.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var Ym=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ym.isDisabled&&Ym.supportsFiber)try{gc=Ym.inject(Km),yc=Ym}catch(e){}}var Zm={__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Qm,createPortal:qm,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(ua(188));throw Error(ua(268,Object.keys(e)))}return null===(e=Ji(t))?null:e.stateNode},flushSync:function(e,t){var n=Ep;if(0!=(48&n))return e(t);Ep|=1;try{if(e)return jc(99,e.bind(null,t))}finally{Ep=n,Vc()}},hydrate:function(e,t,n){if(!Hm(t))throw Error(ua(200));return $m(null,e,t,!0,n)},render:function(e,t,n){if(!Hm(t))throw Error(ua(200));return $m(null,e,t,!1,n)},unmountComponentAtNode:function(e){if(!Hm(e))throw Error(ua(40));return!!e._reactRootContainer&&(lm(function(){$m(null,null,e,!1,function(){e._reactRootContainer=null,e[qs]=null})}),!0)},unstable_batchedUpdates:im,unstable_createPortal:function(e,t){return qm(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},unstable_renderSubtreeIntoContainer:function(e,t,n,r){if(!Hm(n))throw Error(ua(200));if(null==e||void 0===e._reactInternals)throw Error(ua(38));return $m(e,t,n,!1,r)},version:"17.0.2"},Jm=0,eh={__interactionsRef:null,__subscriberRef:null,unstable_clear:function(e){return e()},unstable_getCurrent:function(){return null},unstable_getThreadID:function(){return++Jm},unstable_subscribe:function(){},unstable_trace:function(e,t,n){return n()},unstable_unsubscribe:function(){},unstable_wrap:function(e){return e}},th=(s(function(e,t){}),s(function(e){e.exports=eh}),s(function(e,t){}),s(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=Zm}));function nh(e){var t=e.color,n=void 0===t?"#00425D":t,r=e.underlineColor,o=void 0===r?"#00425D":r;return $t.createElement("svg",{className:e.className,width:"40",height:"23",viewBox:"0 0 40 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},$t.createElement("path",{d:"M6.38546 10.1313V10.029H4.92542C4.23835 10.029 3.72877 10.0972 3.39668 10.2337C3.07605 10.3587 2.91573 10.6374 2.91573 11.0695C2.91573 11.7177 3.37378 12.0418 4.28988 12.0418C5.05711 12.0418 5.59532 11.8826 5.9045 11.5642C6.22514 11.2344 6.38546 10.7568 6.38546 10.1313ZM3.72304 13.9182C2.64663 13.9182 1.85076 13.6567 1.33546 13.1335C0.820153 12.599 0.5625 11.911 0.5625 11.0695C0.5625 10.0574 0.894586 9.32958 1.55876 8.88606C2.22293 8.43118 3.23636 8.20374 4.59906 8.20374H6.38546V7.82846C6.38546 6.98693 5.84725 6.56616 4.77083 6.56616C3.80893 6.56616 3.27644 6.93007 3.17338 7.65788H0.768622C0.848781 6.78223 1.21522 6.04873 1.86794 5.45738C2.52066 4.86603 3.50547 4.57036 4.82236 4.57036C6.1278 4.57036 7.11261 4.86035 7.77678 5.44032C8.44095 6.0203 8.77304 6.83909 8.77304 7.89669V13.7135H6.60875V12.7241C6.09345 13.5202 5.13155 13.9182 3.72304 13.9182Z",fill:n}),$t.createElement("path",{d:"M14.2554 11.6324V13.6965C14.0149 13.7306 13.763 13.7476 13.4996 13.7476C12.5492 13.7476 11.8736 13.5486 11.4728 13.1506C11.072 12.7412 10.8716 12.0873 10.8716 11.1889V0.919922H13.3107V11.0183C13.3107 11.2344 13.3508 11.3936 13.4309 11.496C13.5111 11.5983 13.6771 11.6495 13.929 11.6495C13.9863 11.6495 14.0493 11.6495 14.118 11.6495C14.1982 11.6381 14.244 11.6324 14.2554 11.6324Z",fill:n}),$t.createElement("path",{d:"M23.8943 8.63019V13.7135H21.4552V8.40844C21.4552 7.23711 20.9742 6.65145 20.0123 6.65145C19.4512 6.65145 19.0161 6.82203 18.7069 7.16319C18.4092 7.50436 18.2603 7.9763 18.2603 8.57902V13.7135H15.8212V4.77506H18.0714V5.86678C18.5409 5.0025 19.4054 4.57036 20.6651 4.57036C21.856 4.57036 22.7263 4.99113 23.2759 5.83266C24.0432 4.99113 25.0394 4.57036 26.2647 4.57036C27.3182 4.57036 28.1255 4.89446 28.6867 5.54267C29.2478 6.19088 29.5283 7.05516 29.5283 8.13551V13.7135H27.0892V8.40844C27.0892 7.23711 26.6083 6.65145 25.6464 6.65145C25.0738 6.65145 24.6386 6.82772 24.3409 7.18025C24.0432 7.52141 23.8943 8.00473 23.8943 8.63019Z",fill:n}),$t.createElement("path",{d:"M37.0321 10.1313V10.029H35.572C34.885 10.029 34.3754 10.0972 34.0433 10.2337C33.7227 10.3587 33.5623 10.6374 33.5623 11.0695C33.5623 11.7177 34.0204 12.0418 34.9365 12.0418C35.7037 12.0418 36.2419 11.8826 36.5511 11.5642C36.8717 11.2344 37.0321 10.7568 37.0321 10.1313ZM34.3696 13.9182C33.2932 13.9182 32.4974 13.6567 31.9821 13.1335C31.4668 12.599 31.2091 11.911 31.2091 11.0695C31.2091 10.0574 31.5412 9.32958 32.2054 8.88606C32.8695 8.43118 33.883 8.20374 35.2457 8.20374H37.0321V7.82846C37.0321 6.98693 36.4939 6.56616 35.4174 6.56616C34.4555 6.56616 33.923 6.93007 33.82 7.65788H31.4152C31.4954 6.78223 31.8618 6.04873 32.5145 5.45738C33.1673 4.86603 34.1521 4.57036 35.469 4.57036C36.7744 4.57036 37.7592 4.86035 38.4234 5.44032C39.0876 6.0203 39.4196 6.83909 39.4196 7.89669V13.7135H37.2554V12.7241C36.7401 13.5202 35.7781 13.9182 34.3696 13.9182Z",fill:n}),$t.createElement("rect",{y:"20",width:"40",height:"3",fill:o}))}var rh=s(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)&&o.length){var i=n.apply(null,o);i&&e.push(i)}else if("object"===a)for(var l in o)t.call(o,l)&&o[l]&&e.push(l)}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n}()}),oh=function(e){return $t.createElement("div",{className:rh("_2SwwZ",e.className),"data-testid":"loader"},$t.createElement("div",{className:"_2qODo"}),$t.createElement("div",{className:"_2YO01"}))};function ah(){return(ah=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ih(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function lh(e){ih(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 uh(e){ih(1,arguments);var t=lh(e);return t.setHours(0,0,0,0),t}function sh(e,t){ih(2,arguments);var n=uh(e),r=uh(t);return n.getTime()===r.getTime()}function ch(e){return ih(1,arguments),1e3*e}var fh=function(e){var t=e.installments_count,n=e.deferred_days+30*e.deferred_months;return 1===t?$t.createElement(Qo,{id:"payment-plan-strings.day-abbreviation",defaultMessage:"J{numberOfDeferredDays}",values:{numberOfDeferredDays:n>0?"+"+n:""}}):t+"x"};function dh(){}function ph(){}Function.call.bind(Object.prototype.hasOwnProperty),ph.resetWarningCache=dh;var mh=s(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,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:ph,resetWarningCache:dh};return n.PropTypes=n,n}()}),hh=s(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return[].slice.call(e.querySelectorAll("*"),0).filter(o)};var n=/input|select|textarea|button|object/;function r(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var n=window.getComputedStyle(e);return t?"visible"!==n.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0:"none"==n.getPropertyValue("display")}catch(e){return console.warn("Failed to inspect element style"),!1}}function o(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var o=isNaN(t);return(o||t>=0)&&function(e,t){var o=e.nodeName.toLowerCase();return(n.test(o)&&!e.disabled||"a"===o&&e.href||t)&&function(e){for(var t=e;t&&t!==document.body;){if(r(t))return!1;t=t.parentNode}return!0}(e)}(e,!o)}e.exports=t.default}),gh=s(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=hh)&&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)}}}),yh=s(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];if(e===document.activeElement){if(!a)return;o=l}if(l!==document.activeElement||a||(o=i),i===document.activeElement&&a&&(o=l),o)return t.preventDefault(),void o.focus();var u=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null!=u&&"Chrome"!=u[1]&&null==/\biPod\b|\biPad\b/g.exec(navigator.userAgent)){var s=n.indexOf(document.activeElement);if(s>-1&&(s+=a?-1:1),void 0===(o=n[s]))return t.preventDefault(),void(o=a?l:i).focus();t.preventDefault(),o.focus()}}else t.preventDefault()};var n,r=(n=hh)&&n.__esModule?n:{default:n};e.exports=t.default}),vh=function(){},bh=s(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}),Eh=s(function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=t.SafeNodeList=t.SafeHTMLCollection=void 0;var r=((n=bh)&&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}),wh=s(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&&Eh.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=vh)&&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(" ")),[])}}),_h=s(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}}),Sh=s(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}),Ch=(s(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=Sh)&&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))})}),s(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(mh),i=d(gh),l=p(yh),u=d(wh),s=d(_h),c=p(Eh),f=p(Sh);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,g=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}($t.Component);g.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},g.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(Eh.SafeHTMLCollection),a.default.instanceOf(Eh.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=g,e.exports=t.default}));function kh(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function Th(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function Oh(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}}kh.__suppressDeprecationWarning=!0,Th.__suppressDeprecationWarning=!0,Oh.__suppressDeprecationWarning=!0;var Ph=s(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($t),a=c(th),i=c(mh),l=c(Ch),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}(wh),s=c(Eh);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=Eh.canUseDOM&&void 0!==a.default.createPortal,g=function(e){return document.createElement(e)},y=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=y()(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(){Eh.canUseDOM&&(h||(this.node=g("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(Eh.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(Eh.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 Eh.canUseDOM&&h?(!this.node&&h&&(this.node=g("div")),y()(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}($t.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(Eh.SafeHTMLCollection),i.default.instanceOf(Eh.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=kh,t.componentWillReceiveProps=Th),"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=Oh;var a=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){a.call(this,e,t,this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n)}}}(b),t.default=b}),Nh=u(s(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n,r=(n=Ph)&&n.__esModule?n:{default:n};t.default=r.default,e.exports=t.default})),Ah=s(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 Lh(e){var t=e.color;return $t.createElement("svg",{className:e.className,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},$t.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 xh,Rh,Mh,Ih=function(e){var t,n=e.children,r=e.isOpen,o=e.onClose,a=e.className,i=e.contentClassName,l=e.scrollable,u=void 0!==l&&l,s=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(o[n]=e[n]);return o}(e,["children","isOpen","onClose","className","contentClassName","scrollable"]);return Nh.setAppElement("body"),$t.createElement(Nh,Object.assign({className:rh("_D8SjB",a),overlayClassName:"_1yxCb",onAfterOpen:function(){Ah.on()},onAfterClose:function(){Ah.off()},onRequestClose:o,isOpen:r,shouldCloseOnOverlayClick:!0,shouldCloseOnEsc:!0},s),$t.createElement("div",{className:"_12LLh"},$t.createElement("button",{onClick:o,className:"_3YRro","data-testid":"modal-close-button"},$t.createElement(Lh,null))),$t.createElement("div",{className:rh("_ocM9x",i,(t={},t._1GP2F=u,t))},n))},Dh=function(e){var t=e.isOpen,n=e.onClose,r=e.eligibilityPlans,o=zo(),a=$t.useState(0),i=a[0],l=a[1],u=r[i],s=u&&jt(u.purchase_amount+u.customer_total_cost_amount),c=u?jt(u.customer_total_cost_amount):0,f=(null==u?void 0:u.annual_interest_rate)&&u.annual_interest_rate/1e4,d=jt(u?u.customer_total_cost_amount:0),p=u&&u.installments_count>4;return $t.createElement(Ih,{isOpen:t,onClose:n,scrollable:!0,ariaHideApp:!1},$t.createElement("div",{className:"_tUqYt"},$t.createElement("div",{className:"_2xmiY","data-testid":"modal-title-element"},$t.createElement(Qo,{id:"eligibility-modal.title",defaultMessage:"<highlighted>Payez en plusieurs fois</highlighted> ou plus tard par carte bancaire avec Alma.",values:{highlighted:function(){return $t.createElement("span",null,[].slice.call(arguments))}}})),$t.createElement("div",{className:"_3Iopr"},r.map(function(e,t){var n;return $t.createElement("button",{key:t,className:rh((n={},n._Hak_D=t===i,n)),onClick:function(){return l(t)}},fh(e))})),$t.createElement("div",{className:"_2Qzr7","data-testid":"modal-installments-element"},$t.createElement("div",{className:rh("_jPe3S","_naxaQ")},$t.createElement("span",null,$t.createElement(Qo,{id:"eligibility-modal.total",defaultMessage:"Total"})),$t.createElement("span",null,$t.createElement(Ko,{value:s,style:"currency",currency:"EUR"}))),$t.createElement("div",{className:rh("_jPe3S","_YJM5O")},$t.createElement("span",null,$t.createElement(Qo,p?{id:"eligibility-modal.credit-cost",defaultMessage:"Dont coût du crédit"}:{id:"eligibility-modal.cost",defaultMessage:"Dont frais"})),$t.createElement("span",null,p?$t.createElement(Qo,{id:"eligibility-modal.credit-cost-amount",defaultMessage:"{creditCost} (TAEG {TAEG})",values:{creditCost:o.formatNumber(c,{style:"currency",currency:"EUR"}),TAEG:o.formatNumber(null!=f?f:0,{style:"percent",maximumFractionDigits:2})}}):$t.createElement(Ko,{value:d,style:"currency",currency:"EUR"}))),((null==u?void 0:u.payment_plan)||[]).map(function(e,t){return $t.createElement("div",{className:"_jPe3S",key:t},$t.createElement("span",null,function(e){return ih(1,arguments),sh(e,Date.now())}(1e3*e.due_date)?$t.createElement(Qo,{id:"installments.today",defaultMessage:"Aujourd'hui"}):$t.createElement(Xo,{value:1e3*e.due_date,day:"numeric",month:"long",year:"numeric"})),$t.createElement("span",null,$t.createElement(Ko,{value:jt(e.total_amount),style:"currency",currency:"EUR"})))}),p&&$t.createElement("p",{className:"_3iZif"},$t.createElement(Qo,{id:"eligibility-modal.credit-commitment",defaultMessage:"Un crédit vous engage et doit être remboursé. Vérifiez vos capacités de remboursement\n avant de vous engager."}))),$t.createElement("div",{className:"_1v5LL","data-testid":"modal-info-element"},$t.createElement("div",{className:"_8qF-d"},$t.createElement("div",{className:"_3iUVQ"},"1"),$t.createElement("div",null,$t.createElement(Qo,{id:"eligibility-modal.bullet-1",defaultMessage:"Choisissez <strong>Alma</strong> au moment du paiement.",values:{strong:function(){return $t.createElement("strong",null,[].slice.call(arguments))}}}))),$t.createElement("div",{className:"_8qF-d"},$t.createElement("div",{className:"_3iUVQ"},"2"),$t.createElement("div",null,$t.createElement(Qo,{id:"eligibility-modal.bullet-2",defaultMessage:"Renseignez les <strong>informations</strong> demandées.",values:{strong:function(){return $t.createElement("strong",null,[].slice.call(arguments))}}}))),$t.createElement("div",{className:"_8qF-d"},$t.createElement("div",{className:"_3iUVQ"},"3"),$t.createElement("div",null,$t.createElement(Qo,{id:"eligibility-modal.bullet-3",defaultMessage:"La validation de votre paiement <strong>instantanée</strong> !",values:{strong:function(){return $t.createElement("strong",null,[].slice.call(arguments))}}})))),$t.createElement("div",{className:"_HqglP"},$t.createElement(nh,{underlineColor:"#FF414D"})),$t.createElement("div",{className:"_BgGo9"})))},Fh=function(e){var t,n,r,o,a,i,l,u,s=e.transitionDelay,c=e.hideIfNotEligible,f=function(e,t,n){var r,o,a,i=t.domain,l=t.merchantId,u=$t.useState([]),s=u[0],c=u[1],f=$t.useState(It.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 $t.useEffect(function(){d===It.PENDING&&function(e,t,n){void 0===e&&(e="");try{return Promise.resolve(fetch(e,{method:"POST",headers:ah({"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){p(It.SUCCESS),c(e)}).catch(function(){p(It.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 ah({},e,{eligible:!!n&&e.purchase_amount>=(null==n?void 0:n.minAmount)&&e.purchase_amount<=(null==n?void 0:n.maxAmount),minAmount:null==n?void 0:n.minAmount,maxAmount:null==n?void 0:n.maxAmount})}):a),d]}(e.purchaseAmount,e.apiData,e.configPlans),d=f[0],p=f[1],m=d.filter(function(e){return!0===e.eligible}),h=$t.useState(!1),g=h[0],y=h[1],v=function(e,t){var n=$t.useState(0),r=n[0],o=n[1],a=$t.useState(!0),i=a[0],l=a[1];return $t.useEffect(function(){var n=!0;return 0!==e.length&&(!e.includes(r)&&i&&o(e[0]),setTimeout(function(){i&&n&&o(e[e.includes(r)?(e.indexOf(r)+1)%e.length:0])},t)),function(){n=!1}},[e,r]),{current:r,onHover:function(e){o(e),l(!1)},onLeave:function(){l(!0)}}}(d.map(function(e,t){if(e.eligible)return t}).filter(function(e){return void 0!==e}),s||5500),b=v.current,E=v.onHover,w=v.onLeave;return p===It.PENDING?$t.createElement("div",{className:rh("_1ShhM","_OaY-w")},$t.createElement(oh,null)):c&&0==m.length||0===d.length||p===It.FAILED?null:$t.createElement($t.Fragment,null,$t.createElement("button",{onClick:function(){m.length>0&&y(!0)},className:"_1ShhM",style:{cursor:m.length>0?"pointer":"initial"},"data-testid":"widget-button"},$t.createElement("div",{className:"_Q7H0F"},$t.createElement(nh,{className:"_1pqvZ"}),$t.createElement("div",{className:"_3PxP3"},d.map(function(e,t){var n;return $t.createElement("div",{onMouseOver:function(){return E(t)},onMouseOut:function(){return w()},key:t,className:rh("_1Pf7z",(n={},n._3aD09=b===t,n._3BUl_=!e.eligible,n))},fh(e))}))),$t.createElement("div",{className:rh("_2TfhX",(t={},t._3BUl_=d[b]&&!d[b].eligible,t))},0!==d.length&&(r=(n=d[b]).installments_count,o=n.purchase_amount,i=void 0===(a=n.minAmount)?0:a,u=void 0===(l=n.maxAmount)?0:l,$t.createElement(Qo,n.eligible?0!==n.deferred_days+30*n.deferred_months&&1===r?{id:"payment-plan-strings.deferred",defaultMessage:"{totalAmount} à payer le {dueDate}",values:{totalAmount:$t.createElement(Ko,{value:jt(n.payment_plan[0].total_amount),style:"currency",currency:"EUR"}),dueDate:$t.createElement(Xo,{value:ch(n.payment_plan[0].due_date),day:"numeric",month:"long",year:"numeric"})}}:r>0?{id:"payment-plan-strings.multiple-installments",defaultMessage:"{firstInstallmentAmount} puis {numberOfRemainingInstallments, plural, one {# mensualité} other {# mensualités}} de {othersInstallmentAmount}",values:{firstInstallmentAmount:$t.createElement(Ko,{value:jt(n.payment_plan[0].total_amount),style:"currency",currency:"EUR"}),numberOfRemainingInstallments:r-1,othersInstallmentAmount:$t.createElement(Ko,{value:jt(n.payment_plan[1].total_amount),style:"currency",currency:"EUR"})}}:{id:"payment-plan-strings.default-message",defaultMessage:"Payez en plusieurs fois avec Alma"}:o>u?{id:"payment-plan-strings.ineligible-greater-than-max",defaultMessage:"Jusqu'à {maxAmount}",values:{maxAmount:$t.createElement(Ko,{value:jt(u),style:"currency",currency:"EUR"})}}:{id:"payment-plan-strings.ineligible-lower-than-min",defaultMessage:"À partir de {minAmount}",values:{minAmount:$t.createElement(Ko,{value:jt(i),style:"currency",currency:"EUR"})}})))),$t.createElement(Dh,{isOpen:g,onClose:function(){return y(!1)},eligibilityPlans:d.filter(function(e){return e.eligible})}))},Uh=function(){function e(e){this.apiData=e}return e.prototype.add=function(e,t){if(e===Mt.PaymentPlans){var n=t.container,r=t.purchaseAmount,o=t.plans,a=t.transitionDelay,i=t.hideIfNotEligible,l=t.locale,u=void 0===l?Dt.en:l,s=document.querySelector(n);s&&(th.unmountComponentAtNode(s),th.render($t.createElement(aa,{locale:u},$t.createElement(Fh,{purchaseAmount:r,apiData:this.apiData,configPlans:o,transitionDelay:a,hideIfNotEligible:i})),document.querySelector(n)))}},e}();(xh=e.ApiMode||(e.ApiMode={})).LIVE="https://api.getalma.eu",xh.TEST="https://api.sandbox.getalma.eu",(Rh=e.Widgets||(e.Widgets={})).initialize=function(e,t){return new Uh({domain:t,merchantId:e})},Rh.PaymentPlans=Mt.PaymentPlans,(Mh=e.Utils||(e.Utils={})).priceToCents=function(e){return Math.round(100*e)},Mh.priceFromCents=jt,Mh.formatCents=function(e){return String(jt(e)).replace(".",",")}});
2
2
  //# sourceMappingURL=widgets.umd.js.map