From 2e62b1802a9d7b13d496c64f3d7663ea83a8e770 Mon Sep 17 00:00:00 2001 From: HarelM Date: Sun, 4 May 2025 04:40:44 +0000 Subject: [PATCH] deploy: 4f52df7c3b5d4b52d46ed2d995ca106d1e1e6702 --- .../{index-DXSkBE4g.js => index-DLBoRPQN.js} | 294 +++++++++--------- ...-DXSkBE4g.js.map => index-DLBoRPQN.js.map} | 2 +- index.html | 2 +- 3 files changed, 145 insertions(+), 153 deletions(-) rename assets/{index-DXSkBE4g.js => index-DLBoRPQN.js} (55%) rename assets/{index-DXSkBE4g.js.map => index-DLBoRPQN.js.map} (63%) diff --git a/assets/index-DXSkBE4g.js b/assets/index-DLBoRPQN.js similarity index 55% rename from assets/index-DXSkBE4g.js rename to assets/index-DLBoRPQN.js index 1b4e6ade..0e59e4d3 100644 --- a/assets/index-DXSkBE4g.js +++ b/assets/index-DLBoRPQN.js @@ -1,4 +1,4 @@ -var RW=Object.defineProperty;var DW=(n,e,t)=>e in n?RW(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var Pn=(n,e,t)=>DW(n,typeof e!="symbol"?e+"":e,t);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const l of s.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function t(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=t(i);fetch(i.href,s)}})();function hl(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function j6(n){if(Object.prototype.hasOwnProperty.call(n,"__esModule"))return n;var e=n.default;if(typeof e=="function"){var t=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(n).forEach(function(r){var i=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:function(){return n[r]}})}),t}var v3={exports:{}},av={},C3={exports:{}},cs={},s8;function FW(){if(s8)return cs;s8=1;/** +var QW=Object.defineProperty;var YW=(n,e,t)=>e in n?QW(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var Pn=(n,e,t)=>YW(n,typeof e!="symbol"?e+"":e,t);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const l of s.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function t(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=t(i);fetch(i.href,s)}})();function dl(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function Z6(n){if(Object.prototype.hasOwnProperty.call(n,"__esModule"))return n;var e=n.default;if(typeof e=="function"){var t=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(n).forEach(function(r){var i=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:function(){return n[r]}})}),t}var S3={exports:{}},uv={},E3={exports:{}},hs={},d8;function qW(){if(d8)return hs;d8=1;/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ var RW=Object.defineProperty;var DW=(n,e,t)=>e in n?RW(n,e,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var n=Symbol.for("react.element"),e=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),o=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),v=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),B=Symbol.iterator;function k(Fe){return Fe===null||typeof Fe!="object"?null:(Fe=B&&Fe[B]||Fe["@@iterator"],typeof Fe=="function"?Fe:null)}var P={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},U=Object.assign,N={};function W(Fe,Ze,_t){this.props=Fe,this.context=Ze,this.refs=N,this.updater=_t||P}W.prototype.isReactComponent={},W.prototype.setState=function(Fe,Ze){if(typeof Fe!="object"&&typeof Fe!="function"&&Fe!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,Fe,Ze,"setState")},W.prototype.forceUpdate=function(Fe){this.updater.enqueueForceUpdate(this,Fe,"forceUpdate")};function V(){}V.prototype=W.prototype;function $(Fe,Ze,_t){this.props=Fe,this.context=Ze,this.refs=N,this.updater=_t||P}var oe=$.prototype=new V;oe.constructor=$,U(oe,W.prototype),oe.isPureReactComponent=!0;var te=Array.isArray,q=Object.prototype.hasOwnProperty,ne={current:null},G={key:!0,ref:!0,__self:!0,__source:!0};function ie(Fe,Ze,_t){var Qt,gt={},Ut=null,Pt=null;if(Ze!=null)for(Qt in Ze.ref!==void 0&&(Pt=Ze.ref),Ze.key!==void 0&&(Ut=""+Ze.key),Ze)q.call(Ze,Qt)&&!G.hasOwnProperty(Qt)&&(gt[Qt]=Ze[Qt]);var ze=arguments.length-2;if(ze===1)gt.children=_t;else if(1e in n?RW(n,e,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var l8;function LW(){if(l8)return av;l8=1;var n=Ra(),e=Symbol.for("react.element"),t=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function l(o,f,v){var x,B={},k=null,P=null;v!==void 0&&(k=""+v),f.key!==void 0&&(k=""+f.key),f.ref!==void 0&&(P=f.ref);for(x in f)r.call(f,x)&&!s.hasOwnProperty(x)&&(B[x]=f[x]);if(o&&o.defaultProps)for(x in f=o.defaultProps,f)B[x]===void 0&&(B[x]=f[x]);return{$$typeof:e,type:o,key:k,ref:P,props:B,_owner:i.current}}return av.Fragment=t,av.jsx=l,av.jsxs=l,av}var A8;function UW(){return A8||(A8=1,v3.exports=LW()),v3.exports}var Ae=UW(),Ai=Ra();const Jn=hl(Ai);var bD={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},OE=Jn.createContext&&Jn.createContext(bD),zW=["attr","size","title"];function NW(n,e){if(n==null)return{};var t=WW(n,e),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(n);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(n,r)&&(t[r]=n[r])}return t}function WW(n,e){if(n==null)return{};var t={};for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){if(e.indexOf(r)>=0)continue;t[r]=n[r]}return t}function kb(){return kb=Object.assign?Object.assign.bind():function(n){for(var e=1;eJn.createElement(e.tag,Pb({key:t},e.attr),xD(e.child)))}function eA(n){return e=>Jn.createElement(YW,kb({attr:Pb({},n.attr)},e),xD(n.child))}function YW(n){var e=t=>{var{attr:r,size:i,title:s}=n,l=NW(n,zW),o=i||t.size||"1em",f;return t.className&&(f=t.className),n.className&&(f=(f?f+" ":"")+n.className),Jn.createElement("svg",kb({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,r,l,{className:f,style:Pb(Pb({color:n.color||t.color},t.style),n.style),height:o,width:o,xmlns:"http://www.w3.org/2000/svg"}),s&&Jn.createElement("title",null,s),n.children)};return OE!==void 0?Jn.createElement(OE.Consumer,null,t=>e(t)):e(bD)}var O_={},_3={exports:{}},ld={},b3={exports:{}},x3={};/** + */var p8;function VW(){if(p8)return uv;p8=1;var n=Da(),e=Symbol.for("react.element"),t=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function l(o,p,v){var x,B={},k=null,P=null;v!==void 0&&(k=""+v),p.key!==void 0&&(k=""+p.key),p.ref!==void 0&&(P=p.ref);for(x in p)r.call(p,x)&&!s.hasOwnProperty(x)&&(B[x]=p[x]);if(o&&o.defaultProps)for(x in p=o.defaultProps,p)B[x]===void 0&&(B[x]=p[x]);return{$$typeof:e,type:o,key:k,ref:P,props:B,_owner:i.current}}return uv.Fragment=t,uv.jsx=l,uv.jsxs=l,uv}var m8;function HW(){return m8||(m8=1,S3.exports=VW()),S3.exports}var Ae=HW(),Ai=Da();const Zn=dl(Ai);var ID={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},DE=Zn.createContext&&Zn.createContext(ID),$W=["attr","size","title"];function ZW(n,e){if(n==null)return{};var t=XW(n,e),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(n);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(n,r)&&(t[r]=n[r])}return t}function XW(n,e){if(n==null)return{};var t={};for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){if(e.indexOf(r)>=0)continue;t[r]=n[r]}return t}function Db(){return Db=Object.assign?Object.assign.bind():function(n){for(var e=1;eZn.createElement(e.tag,Fb({key:t},e.attr),TD(e.child)))}function eA(n){return e=>Zn.createElement(nj,Db({attr:Fb({},n.attr)},e),TD(n.child))}function nj(n){var e=t=>{var{attr:r,size:i,title:s}=n,l=ZW(n,$W),o=i||t.size||"1em",p;return t.className&&(p=t.className),n.className&&(p=(p?p+" ":"")+n.className),Zn.createElement("svg",Db({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,r,l,{className:p,style:Fb(Fb({color:n.color||t.color},t.style),n.style),height:o,width:o,xmlns:"http://www.w3.org/2000/svg"}),s&&Zn.createElement("title",null,s),n.children)};return DE!==void 0?Zn.createElement(DE.Consumer,null,t=>e(t)):e(ID)}var P_={},B3={exports:{}},ud={},O3={exports:{}},I3={};/** * @license React * scheduler.production.min.js * @@ -22,7 +22,7 @@ var RW=Object.defineProperty;var DW=(n,e,t)=>e in n?RW(n,e,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var c8;function qW(){return c8||(c8=1,function(n){function e(Ve,je){var Se=Ve.length;Ve.push(je);e:for(;0>>1,Ze=Ve[Fe];if(0>>1;Fe<_t;){var Qt=2*(Fe+1)-1,gt=Ve[Qt],Ut=Qt+1,Pt=Ve[Ut];if(0>i(gt,Se))Uti(Pt,gt)?(Ve[Fe]=Pt,Ve[Ut]=Se,Fe=Ut):(Ve[Fe]=gt,Ve[Qt]=Se,Fe=Qt);else if(Uti(Pt,Se))Ve[Fe]=Pt,Ve[Ut]=Se,Fe=Ut;else break e}}return je}function i(Ve,je){var Se=Ve.sortIndex-je.sortIndex;return Se!==0?Se:Ve.id-je.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;n.unstable_now=function(){return s.now()}}else{var l=Date,o=l.now();n.unstable_now=function(){return l.now()-o}}var f=[],v=[],x=1,B=null,k=3,P=!1,U=!1,N=!1,W=typeof setTimeout=="function"?setTimeout:null,V=typeof clearTimeout=="function"?clearTimeout:null,$=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function oe(Ve){for(var je=t(v);je!==null;){if(je.callback===null)r(v);else if(je.startTime<=Ve)r(v),je.sortIndex=je.expirationTime,e(f,je);else break;je=t(v)}}function te(Ve){if(N=!1,oe(Ve),!U)if(t(f)!==null)U=!0,pt(q);else{var je=t(v);je!==null&&Je(te,je.startTime-Ve)}}function q(Ve,je){U=!1,N&&(N=!1,V(ie),ie=-1),P=!0;var Se=k;try{for(oe(je),B=t(f);B!==null&&(!(B.expirationTime>je)||Ve&&!Ee());){var Fe=B.callback;if(typeof Fe=="function"){B.callback=null,k=B.priorityLevel;var Ze=Fe(B.expirationTime<=je);je=n.unstable_now(),typeof Ze=="function"?B.callback=Ze:B===t(f)&&r(f),oe(je)}else r(f);B=t(f)}if(B!==null)var _t=!0;else{var Qt=t(v);Qt!==null&&Je(te,Qt.startTime-je),_t=!1}return _t}finally{B=null,k=Se,P=!1}}var ne=!1,G=null,ie=-1,de=5,fe=-1;function Ee(){return!(n.unstable_now()-feVe||125Fe?(Ve.sortIndex=Se,e(v,Ve),t(f)===null&&Ve===t(v)&&(N?(V(ie),ie=-1):N=!0,Je(te,Se-Fe))):(Ve.sortIndex=Ze,e(f,Ve),U||P||(U=!0,pt(q))),Ve},n.unstable_shouldYield=Ee,n.unstable_wrapCallback=function(Ve){var je=k;return function(){var Se=k;k=je;try{return Ve.apply(this,arguments)}finally{k=Se}}}}(x3)),x3}var h8;function VW(){return h8||(h8=1,b3.exports=qW()),b3.exports}/** + */var y8;function rj(){return y8||(y8=1,function(n){function e(Ke,je){var Pe=Ke.length;Ke.push(je);e:for(;0>>1,Xe=Ke[Le];if(0>>1;Lei(mt,Pe))Uti(kt,mt)?(Ke[Le]=kt,Ke[Ut]=Pe,Le=Ut):(Ke[Le]=mt,Ke[Gt]=Pe,Le=Gt);else if(Uti(kt,Pe))Ke[Le]=kt,Ke[Ut]=Pe,Le=Ut;else break e}}return je}function i(Ke,je){var Pe=Ke.sortIndex-je.sortIndex;return Pe!==0?Pe:Ke.id-je.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;n.unstable_now=function(){return s.now()}}else{var l=Date,o=l.now();n.unstable_now=function(){return l.now()-o}}var p=[],v=[],x=1,B=null,k=3,P=!1,D=!1,N=!1,W=typeof setTimeout=="function"?setTimeout:null,V=typeof clearTimeout=="function"?clearTimeout:null,$=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function ie(Ke){for(var je=t(v);je!==null;){if(je.callback===null)r(v);else if(je.startTime<=Ke)r(v),je.sortIndex=je.expirationTime,e(p,je);else break;je=t(v)}}function ne(Ke){if(N=!1,ie(Ke),!D)if(t(p)!==null)D=!0,vt(q);else{var je=t(v);je!==null&&Je(ne,je.startTime-Ke)}}function q(Ke,je){D=!1,N&&(N=!1,V(oe),oe=-1),P=!0;var Pe=k;try{for(ie(je),B=t(p);B!==null&&(!(B.expirationTime>je)||Ke&&!Me());){var Le=B.callback;if(typeof Le=="function"){B.callback=null,k=B.priorityLevel;var Xe=Le(B.expirationTime<=je);je=n.unstable_now(),typeof Xe=="function"?B.callback=Xe:B===t(p)&&r(p),ie(je)}else r(p);B=t(p)}if(B!==null)var Ct=!0;else{var Gt=t(v);Gt!==null&&Je(ne,Gt.startTime-je),Ct=!1}return Ct}finally{B=null,k=Pe,P=!1}}var te=!1,G=null,oe=-1,fe=5,he=-1;function Me(){return!(n.unstable_now()-heKe||125Le?(Ke.sortIndex=Pe,e(v,Ke),t(p)===null&&Ke===t(v)&&(N?(V(oe),oe=-1):N=!0,Je(ne,Pe-Le))):(Ke.sortIndex=Xe,e(p,Ke),D||P||(D=!0,vt(q))),Ke},n.unstable_shouldYield=Me,n.unstable_wrapCallback=function(Ke){var je=k;return function(){var Pe=k;k=je;try{return Ke.apply(this,arguments)}finally{k=Pe}}}}(I3)),I3}var v8;function ij(){return v8||(v8=1,O3.exports=rj()),O3.exports}/** * @license React * react-dom.production.min.js * @@ -30,52 +30,52 @@ var RW=Object.defineProperty;var DW=(n,e,t)=>e in n?RW(n,e,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var d8;function HW(){if(d8)return ld;d8=1;var n=Ra(),e=VW();function t(m){for(var _="https://reactjs.org/docs/error-decoder.html?invariant="+m,D=1;D"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f=Object.prototype.hasOwnProperty,v=/^[: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]*$/,x={},B={};function k(m){return f.call(B,m)?!0:f.call(x,m)?!1:v.test(m)?B[m]=!0:(x[m]=!0,!1)}function P(m,_,D,Q){if(D!==null&&D.type===0)return!1;switch(typeof _){case"function":case"symbol":return!0;case"boolean":return Q?!1:D!==null?!D.acceptsBooleans:(m=m.toLowerCase().slice(0,5),m!=="data-"&&m!=="aria-");default:return!1}}function U(m,_,D,Q){if(_===null||typeof _>"u"||P(m,_,D,Q))return!0;if(Q)return!1;if(D!==null)switch(D.type){case 3:return!_;case 4:return _===!1;case 5:return isNaN(_);case 6:return isNaN(_)||1>_}return!1}function N(m,_,D,Q,le,ye,tt){this.acceptsBooleans=_===2||_===3||_===4,this.attributeName=Q,this.attributeNamespace=le,this.mustUseProperty=D,this.propertyName=m,this.type=_,this.sanitizeURL=ye,this.removeEmptyString=tt}var W={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(m){W[m]=new N(m,0,!1,m,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(m){var _=m[0];W[_]=new N(_,1,!1,m[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(m){W[m]=new N(m,2,!1,m.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(m){W[m]=new N(m,2,!1,m,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(m){W[m]=new N(m,3,!1,m.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(m){W[m]=new N(m,3,!0,m,null,!1,!1)}),["capture","download"].forEach(function(m){W[m]=new N(m,4,!1,m,null,!1,!1)}),["cols","rows","size","span"].forEach(function(m){W[m]=new N(m,6,!1,m,null,!1,!1)}),["rowSpan","start"].forEach(function(m){W[m]=new N(m,5,!1,m.toLowerCase(),null,!1,!1)});var V=/[\-:]([a-z])/g;function $(m){return m[1].toUpperCase()}"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(m){var _=m.replace(V,$);W[_]=new N(_,1,!1,m,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(m){var _=m.replace(V,$);W[_]=new N(_,1,!1,m,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(m){var _=m.replace(V,$);W[_]=new N(_,1,!1,m,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(m){W[m]=new N(m,1,!1,m.toLowerCase(),null,!1,!1)}),W.xlinkHref=new N("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(m){W[m]=new N(m,1,!1,m.toLowerCase(),null,!0,!0)});function oe(m,_,D,Q){var le=W.hasOwnProperty(_)?W[_]:null;(le!==null?le.type!==0:Q||!(2<_.length)||_[0]!=="o"&&_[0]!=="O"||_[1]!=="n"&&_[1]!=="N")&&(U(_,D,le,Q)&&(D=null),Q||le===null?k(_)&&(D===null?m.removeAttribute(_):m.setAttribute(_,""+D)):le.mustUseProperty?m[le.propertyName]=D===null?le.type===3?!1:"":D:(_=le.attributeName,Q=le.attributeNamespace,D===null?m.removeAttribute(_):(le=le.type,D=le===3||le===4&&D===!0?"":""+D,Q?m.setAttributeNS(Q,_,D):m.setAttribute(_,D))))}var te=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,q=Symbol.for("react.element"),ne=Symbol.for("react.portal"),G=Symbol.for("react.fragment"),ie=Symbol.for("react.strict_mode"),de=Symbol.for("react.profiler"),fe=Symbol.for("react.provider"),Ee=Symbol.for("react.context"),me=Symbol.for("react.forward_ref"),Me=Symbol.for("react.suspense"),Le=Symbol.for("react.suspense_list"),xe=Symbol.for("react.memo"),pt=Symbol.for("react.lazy"),Je=Symbol.for("react.offscreen"),Ve=Symbol.iterator;function je(m){return m===null||typeof m!="object"?null:(m=Ve&&m[Ve]||m["@@iterator"],typeof m=="function"?m:null)}var Se=Object.assign,Fe;function Ze(m){if(Fe===void 0)try{throw Error()}catch(D){var _=D.stack.trim().match(/\n( *(at )?)/);Fe=_&&_[1]||""}return` -`+Fe+m}var _t=!1;function Qt(m,_){if(!m||_t)return"";_t=!0;var D=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(_)if(_=function(){throw Error()},Object.defineProperty(_.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(_,[])}catch(Sn){var Q=Sn}Reflect.construct(m,[],_)}else{try{_.call()}catch(Sn){Q=Sn}m.call(_.prototype)}else{try{throw Error()}catch(Sn){Q=Sn}m()}}catch(Sn){if(Sn&&Q&&typeof Sn.stack=="string"){for(var le=Sn.stack.split(` -`),ye=Q.stack.split(` -`),tt=le.length-1,Ot=ye.length-1;1<=tt&&0<=Ot&&le[tt]!==ye[Ot];)Ot--;for(;1<=tt&&0<=Ot;tt--,Ot--)if(le[tt]!==ye[Ot]){if(tt!==1||Ot!==1)do if(tt--,Ot--,0>Ot||le[tt]!==ye[Ot]){var jt=` -`+le[tt].replace(" at new "," at ");return m.displayName&&jt.includes("")&&(jt=jt.replace("",m.displayName)),jt}while(1<=tt&&0<=Ot);break}}}finally{_t=!1,Error.prepareStackTrace=D}return(m=m?m.displayName||m.name:"")?Ze(m):""}function gt(m){switch(m.tag){case 5:return Ze(m.type);case 16:return Ze("Lazy");case 13:return Ze("Suspense");case 19:return Ze("SuspenseList");case 0:case 2:case 15:return m=Qt(m.type,!1),m;case 11:return m=Qt(m.type.render,!1),m;case 1:return m=Qt(m.type,!0),m;default:return""}}function Ut(m){if(m==null)return null;if(typeof m=="function")return m.displayName||m.name||null;if(typeof m=="string")return m;switch(m){case G:return"Fragment";case ne:return"Portal";case de:return"Profiler";case ie:return"StrictMode";case Me:return"Suspense";case Le:return"SuspenseList"}if(typeof m=="object")switch(m.$$typeof){case Ee:return(m.displayName||"Context")+".Consumer";case fe:return(m._context.displayName||"Context")+".Provider";case me:var _=m.render;return m=m.displayName,m||(m=_.displayName||_.name||"",m=m!==""?"ForwardRef("+m+")":"ForwardRef"),m;case xe:return _=m.displayName||null,_!==null?_:Ut(m.type)||"Memo";case pt:_=m._payload,m=m._init;try{return Ut(m(_))}catch{}}return null}function Pt(m){var _=m.type;switch(m.tag){case 24:return"Cache";case 9:return(_.displayName||"Context")+".Consumer";case 10:return(_._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return m=_.render,m=m.displayName||m.name||"",_.displayName||(m!==""?"ForwardRef("+m+")":"ForwardRef");case 7:return"Fragment";case 5:return _;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ut(_);case 8:return _===ie?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof _=="function")return _.displayName||_.name||null;if(typeof _=="string")return _}return null}function ze(m){switch(typeof m){case"boolean":case"number":case"string":case"undefined":return m;case"object":return m;default:return""}}function Ke(m){var _=m.type;return(m=m.nodeName)&&m.toLowerCase()==="input"&&(_==="checkbox"||_==="radio")}function Oe(m){var _=Ke(m)?"checked":"value",D=Object.getOwnPropertyDescriptor(m.constructor.prototype,_),Q=""+m[_];if(!m.hasOwnProperty(_)&&typeof D<"u"&&typeof D.get=="function"&&typeof D.set=="function"){var le=D.get,ye=D.set;return Object.defineProperty(m,_,{configurable:!0,get:function(){return le.call(this)},set:function(tt){Q=""+tt,ye.call(this,tt)}}),Object.defineProperty(m,_,{enumerable:D.enumerable}),{getValue:function(){return Q},setValue:function(tt){Q=""+tt},stopTracking:function(){m._valueTracker=null,delete m[_]}}}}function it(m){m._valueTracker||(m._valueTracker=Oe(m))}function Ct(m){if(!m)return!1;var _=m._valueTracker;if(!_)return!0;var D=_.getValue(),Q="";return m&&(Q=Ke(m)?m.checked?"true":"false":m.value),m=Q,m!==D?(_.setValue(m),!0):!1}function dt(m){if(m=m||(typeof document<"u"?document:void 0),typeof m>"u")return null;try{return m.activeElement||m.body}catch{return m.body}}function Dt(m,_){var D=_.checked;return Se({},_,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:D??m._wrapperState.initialChecked})}function $t(m,_){var D=_.defaultValue==null?"":_.defaultValue,Q=_.checked!=null?_.checked:_.defaultChecked;D=ze(_.value!=null?_.value:D),m._wrapperState={initialChecked:Q,initialValue:D,controlled:_.type==="checkbox"||_.type==="radio"?_.checked!=null:_.value!=null}}function Rt(m,_){_=_.checked,_!=null&&oe(m,"checked",_,!1)}function bn(m,_){Rt(m,_);var D=ze(_.value),Q=_.type;if(D!=null)Q==="number"?(D===0&&m.value===""||m.value!=D)&&(m.value=""+D):m.value!==""+D&&(m.value=""+D);else if(Q==="submit"||Q==="reset"){m.removeAttribute("value");return}_.hasOwnProperty("value")?rn(m,_.type,D):_.hasOwnProperty("defaultValue")&&rn(m,_.type,ze(_.defaultValue)),_.checked==null&&_.defaultChecked!=null&&(m.defaultChecked=!!_.defaultChecked)}function Yn(m,_,D){if(_.hasOwnProperty("value")||_.hasOwnProperty("defaultValue")){var Q=_.type;if(!(Q!=="submit"&&Q!=="reset"||_.value!==void 0&&_.value!==null))return;_=""+m._wrapperState.initialValue,D||_===m.value||(m.value=_),m.defaultValue=_}D=m.name,D!==""&&(m.name=""),m.defaultChecked=!!m._wrapperState.initialChecked,D!==""&&(m.name=D)}function rn(m,_,D){(_!=="number"||dt(m.ownerDocument)!==m)&&(D==null?m.defaultValue=""+m._wrapperState.initialValue:m.defaultValue!==""+D&&(m.defaultValue=""+D))}var er=Array.isArray;function Tn(m,_,D,Q){if(m=m.options,_){_={};for(var le=0;le"+_.valueOf().toString()+"",_=ce.firstChild;m.firstChild;)m.removeChild(m.firstChild);for(;_.firstChild;)m.appendChild(_.firstChild)}});function nt(m,_){if(_){var D=m.firstChild;if(D&&D===m.lastChild&&D.nodeType===3){D.nodeValue=_;return}}m.textContent=_}var wt={animationIterationCount:!0,aspectRatio:!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},qt=["Webkit","ms","Moz","O"];Object.keys(wt).forEach(function(m){qt.forEach(function(_){_=_+m.charAt(0).toUpperCase()+m.substring(1),wt[_]=wt[m]})});function Jt(m,_,D){return _==null||typeof _=="boolean"||_===""?"":D||typeof _!="number"||_===0||wt.hasOwnProperty(m)&&wt[m]?(""+_).trim():_+"px"}function $n(m,_){m=m.style;for(var D in _)if(_.hasOwnProperty(D)){var Q=D.indexOf("--")===0,le=Jt(D,_[D],Q);D==="float"&&(D="cssFloat"),Q?m.setProperty(D,le):m[D]=le}}var Xe=Se({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 ae(m,_){if(_){if(Xe[m]&&(_.children!=null||_.dangerouslySetInnerHTML!=null))throw Error(t(137,m));if(_.dangerouslySetInnerHTML!=null){if(_.children!=null)throw Error(t(60));if(typeof _.dangerouslySetInnerHTML!="object"||!("__html"in _.dangerouslySetInnerHTML))throw Error(t(61))}if(_.style!=null&&typeof _.style!="object")throw Error(t(62))}}function ve(m,_){if(m.indexOf("-")===-1)return typeof _.is=="string";switch(m){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}}var p=null;function We(m){return m=m.target||m.srcElement||window,m.correspondingUseElement&&(m=m.correspondingUseElement),m.nodeType===3?m.parentNode:m}var Be=null,rt=null,ut=null;function ot(m){if(m=Po(m)){if(typeof Be!="function")throw Error(t(280));var _=m.stateNode;_&&(_=ps(_),Be(m.stateNode,m.type,_))}}function zt(m){rt?ut?ut.push(m):ut=[m]:rt=m}function Gt(){if(rt){var m=rt,_=ut;if(ut=rt=null,ot(m),_)for(m=0;m<_.length;m++)ot(_[m])}}function Nt(m,_){return m(_)}function nn(){}var Rn=!1;function Dn(m,_,D){if(Rn)return m(_,D);Rn=!0;try{return Nt(m,_,D)}finally{Rn=!1,(rt!==null||ut!==null)&&(nn(),Gt())}}function pr(m,_){var D=m.stateNode;if(D===null)return null;var Q=ps(D);if(Q===null)return null;D=Q[_];e:switch(_){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(Q=!Q.disabled)||(m=m.type,Q=!(m==="button"||m==="input"||m==="select"||m==="textarea")),m=!Q;break e;default:m=!1}if(m)return null;if(D&&typeof D!="function")throw Error(t(231,_,typeof D));return D}var Tr=!1;if(o)try{var Xt={};Object.defineProperty(Xt,"passive",{get:function(){Tr=!0}}),window.addEventListener("test",Xt,Xt),window.removeEventListener("test",Xt,Xt)}catch{Tr=!1}function _r(m,_,D,Q,le,ye,tt,Ot,jt){var Sn=Array.prototype.slice.call(arguments,3);try{_.apply(D,Sn)}catch(ar){this.onError(ar)}}var Gr=!1,Si=null,Fr=!1,yn=null,Ar={onError:function(m){Gr=!0,Si=m}};function Pr(m,_,D,Q,le,ye,tt,Ot,jt){Gr=!1,Si=null,_r.apply(Ar,arguments)}function vs(m,_,D,Q,le,ye,tt,Ot,jt){if(Pr.apply(this,arguments),Gr){if(Gr){var Sn=Si;Gr=!1,Si=null}else throw Error(t(198));Fr||(Fr=!0,yn=Sn)}}function Ao(m){var _=m,D=m;if(m.alternate)for(;_.return;)_=_.return;else{m=_;do _=m,(_.flags&4098)!==0&&(D=_.return),m=_.return;while(m)}return _.tag===3?D:null}function ui(m){if(m.tag===13){var _=m.memoizedState;if(_===null&&(m=m.alternate,m!==null&&(_=m.memoizedState)),_!==null)return _.dehydrated}return null}function $r(m){if(Ao(m)!==m)throw Error(t(188))}function Cs(m){var _=m.alternate;if(!_){if(_=Ao(m),_===null)throw Error(t(188));return _!==m?null:m}for(var D=m,Q=_;;){var le=D.return;if(le===null)break;var ye=le.alternate;if(ye===null){if(Q=le.return,Q!==null){D=Q;continue}break}if(le.child===ye.child){for(ye=le.child;ye;){if(ye===D)return $r(le),m;if(ye===Q)return $r(le),_;ye=ye.sibling}throw Error(t(188))}if(D.return!==Q.return)D=le,Q=ye;else{for(var tt=!1,Ot=le.child;Ot;){if(Ot===D){tt=!0,D=le,Q=ye;break}if(Ot===Q){tt=!0,Q=le,D=ye;break}Ot=Ot.sibling}if(!tt){for(Ot=ye.child;Ot;){if(Ot===D){tt=!0,D=ye,Q=le;break}if(Ot===Q){tt=!0,Q=ye,D=le;break}Ot=Ot.sibling}if(!tt)throw Error(t(189))}}if(D.alternate!==Q)throw Error(t(190))}if(D.tag!==3)throw Error(t(188));return D.stateNode.current===D?m:_}function ds(m){return m=Cs(m),m!==null?Xa(m):null}function Xa(m){if(m.tag===5||m.tag===6)return m;for(m=m.child;m!==null;){var _=Xa(m);if(_!==null)return _;m=m.sibling}return null}var sa=e.unstable_scheduleCallback,Wo=e.unstable_cancelCallback,Uo=e.unstable_shouldYield,So=e.unstable_requestPaint,pi=e.unstable_now,tA=e.unstable_getCurrentPriorityLevel,_l=e.unstable_ImmediatePriority,Ni=e.unstable_UserBlockingPriority,Mr=e.unstable_NormalPriority,Da=e.unstable_LowPriority,_s=e.unstable_IdlePriority,Rs=null,qe=null;function xt(m){if(qe&&typeof qe.onCommitFiberRoot=="function")try{qe.onCommitFiberRoot(Rs,m,void 0,(m.current.flags&128)===128)}catch{}}var xn=Math.clz32?Math.clz32:dr,qn=Math.log,dn=Math.LN2;function dr(m){return m>>>=0,m===0?32:31-(qn(m)/dn|0)|0}var Wi=64,Co=4194304;function as(m){switch(m&-m){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return m&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return m&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return m}}function fa(m,_){var D=m.pendingLanes;if(D===0)return 0;var Q=0,le=m.suspendedLanes,ye=m.pingedLanes,tt=D&268435455;if(tt!==0){var Ot=tt&~le;Ot!==0?Q=as(Ot):(ye&=tt,ye!==0&&(Q=as(ye)))}else tt=D&~le,tt!==0?Q=as(tt):ye!==0&&(Q=as(ye));if(Q===0)return 0;if(_!==0&&_!==Q&&(_&le)===0&&(le=Q&-Q,ye=_&-_,le>=ye||le===16&&(ye&4194240)!==0))return _;if((Q&4)!==0&&(Q|=D&16),_=m.entangledLanes,_!==0)for(m=m.entanglements,_&=Q;0<_;)D=31-xn(_),le=1<D;D++)_.push(m);return _}function Ea(m,_,D){m.pendingLanes|=_,_!==536870912&&(m.suspendedLanes=0,m.pingedLanes=0),m=m.eventTimes,_=31-xn(_),m[_]=D}function _c(m,_){var D=m.pendingLanes&~_;m.pendingLanes=_,m.suspendedLanes=0,m.pingedLanes=0,m.expiredLanes&=_,m.mutableReadLanes&=_,m.entangledLanes&=_,_=m.entanglements;var Q=m.eventTimes;for(m=m.expirationTimes;0=zl),yh=" ",nf=!1;function vu(m,_){switch(m){case"keyup":return Ua.indexOf(_.keyCode)!==-1;case"keydown":return _.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Mc(m){return m=m.detail,typeof m=="object"&&"data"in m?m.data:null}var wc=!1;function Vc(m,_){switch(m){case"compositionend":return Mc(_);case"keypress":return _.which!==32?null:(nf=!0,yh);case"textInput":return m=_.data,m===yh&&nf?null:m;default:return null}}function _d(m,_){if(wc)return m==="compositionend"||!qh&&vu(m,_)?(m=Eo(),$i=ni=Or=null,wc=!1,m):null;switch(m){case"paste":return null;case"keypress":if(!(_.ctrlKey||_.altKey||_.metaKey)||_.ctrlKey&&_.altKey){if(_.char&&1<_.char.length)return _.char;if(_.which)return String.fromCharCode(_.which)}return null;case"compositionend":return Vh&&_.locale!=="ko"?null:_.data;default:return null}}var Sp={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 Hc(m){var _=m&&m.nodeName&&m.nodeName.toLowerCase();return _==="input"?!!Sp[m.type]:_==="textarea"}function XA(m,_,D,Q){zt(Q),_=Oc(_,"onChange"),0<_.length&&(D=new Ds("onChange","change",null,D,Q),m.push({event:D,listeners:_}))}var za=null,el=null;function rf(m){Ch(m,0)}function Hh(m){var _=ri(m);if(Ct(_))return m}function jf(m,_){if(m==="change")return _}var Zi=!1;if(o){var aA;if(o){var bd="oninput"in document;if(!bd){var Gf=document.createElement("div");Gf.setAttribute("oninput","return;"),bd=typeof Gf.oninput=="function"}aA=bd}else aA=!1;Zi=aA&&(!document.documentMode||9=_)return{node:D,offset:_-m};m=Q}e:{for(;D;){if(D.nextSibling){D=D.nextSibling;break e}D=D.parentNode}D=void 0}D=Ei(D)}}function Zo(m,_){return m&&_?m===_?!0:m&&m.nodeType===3?!1:_&&_.nodeType===3?Zo(m,_.parentNode):"contains"in m?m.contains(_):m.compareDocumentPosition?!!(m.compareDocumentPosition(_)&16):!1:!1}function As(){for(var m=window,_=dt();_ instanceof m.HTMLIFrameElement;){try{var D=typeof _.contentWindow.location.href=="string"}catch{D=!1}if(D)m=_.contentWindow;else break;_=dt(m.document)}return _}function $c(m){var _=m&&m.nodeName&&m.nodeName.toLowerCase();return _&&(_==="input"&&(m.type==="text"||m.type==="search"||m.type==="tel"||m.type==="url"||m.type==="password")||_==="textarea"||m.contentEditable==="true")}function Vf(m){var _=As(),D=m.focusedElem,Q=m.selectionRange;if(_!==D&&D&&D.ownerDocument&&Zo(D.ownerDocument.documentElement,D)){if(Q!==null&&$c(D)){if(_=Q.start,m=Q.end,m===void 0&&(m=_),"selectionStart"in D)D.selectionStart=_,D.selectionEnd=Math.min(m,D.value.length);else if(m=(_=D.ownerDocument||document)&&_.defaultView||window,m.getSelection){m=m.getSelection();var le=D.textContent.length,ye=Math.min(Q.start,le);Q=Q.end===void 0?ye:Math.min(Q.end,le),!m.extend&&ye>Q&&(le=Q,Q=ye,ye=le),le=po(D,ye);var tt=po(D,Q);le&&tt&&(m.rangeCount!==1||m.anchorNode!==le.node||m.anchorOffset!==le.offset||m.focusNode!==tt.node||m.focusOffset!==tt.offset)&&(_=_.createRange(),_.setStart(le.node,le.offset),m.removeAllRanges(),ye>Q?(m.addRange(_),m.extend(tt.node,tt.offset)):(_.setEnd(tt.node,tt.offset),m.addRange(_)))}}for(_=[],m=D;m=m.parentNode;)m.nodeType===1&&_.push({element:m,left:m.scrollLeft,top:m.scrollTop});for(typeof D.focus=="function"&&D.focus(),D=0;D<_.length;D++)m=_[D],m.element.scrollLeft=m.left,m.element.scrollTop=m.top}}var fl=o&&"documentMode"in document&&11>=document.documentMode,Cu=null,_u=null,tl=null,BA=!1;function Zc(m,_,D){var Q=D.window===D?D.document:D.nodeType===9?D:D.ownerDocument;BA||Cu==null||Cu!==dt(Q)||(Q=Cu,"selectionStart"in Q&&$c(Q)?Q={start:Q.selectionStart,end:Q.selectionEnd}:(Q=(Q.ownerDocument&&Q.ownerDocument.defaultView||window).getSelection(),Q={anchorNode:Q.anchorNode,anchorOffset:Q.anchorOffset,focusNode:Q.focusNode,focusOffset:Q.focusOffset}),tl&&Kr(tl,Q)||(tl=Q,Q=Oc(_u,"onSelect"),0Wa||(m.current=Na[Wa],Na[Wa]=null,Wa--)}function Ko(m,_){Wa++,Na[Wa]=m.current,m.current=_}var wl={},rl=Bs(wl),Sl=Bs(!1),El=wl;function th(m,_){var D=m.type.contextTypes;if(!D)return wl;var Q=m.stateNode;if(Q&&Q.__reactInternalMemoizedUnmaskedChildContext===_)return Q.__reactInternalMemoizedMaskedChildContext;var le={},ye;for(ye in D)le[ye]=_[ye];return Q&&(m=m.stateNode,m.__reactInternalMemoizedUnmaskedChildContext=_,m.__reactInternalMemoizedMaskedChildContext=le),le}function Bl(m){return m=m.childContextTypes,m!=null}function TA(){Fs(Sl),Fs(rl)}function ju(m,_,D){if(rl.current!==wl)throw Error(t(168));Ko(rl,_),Ko(Sl,D)}function xr(m,_,D){var Q=m.stateNode;if(_=_.childContextTypes,typeof Q.getChildContext!="function")return D;Q=Q.getChildContext();for(var le in Q)if(!(le in _))throw Error(t(108,Pt(m)||"Unknown",le));return Se({},D,Q)}function AA(m){return m=(m=m.stateNode)&&m.__reactInternalMemoizedMergedChildContext||wl,El=rl.current,Ko(rl,m),Ko(Sl,Sl.current),!0}function Bd(m,_,D){var Q=m.stateNode;if(!Q)throw Error(t(169));D?(m=xr(m,_,El),Q.__reactInternalMemoizedMergedChildContext=m,Fs(Sl),Fs(rl),Ko(rl,m)):Fs(Sl),Ko(Sl,D)}var Ol=null,nh=!1,Su=!1;function kA(m){Ol===null?Ol=[m]:Ol.push(m)}function Fi(m){nh=!0,kA(m)}function Gu(){if(!Su&&Ol!==null){Su=!0;var m=0,_=di;try{var D=Ol;for(di=1;m>=tt,le-=tt,ru=1<<32-xn(_)+le|D<Ki?(yA=Ti,Ti=null):yA=Ti.sibling;var gs=rr(cn,Ti,fn[Ki],vr);if(gs===null){Ti===null&&(Ti=yA);break}m&&Ti&&gs.alternate===null&&_(cn,Ti),Zt=ye(gs,Zt,Ki),Di===null?gi=gs:Di.sibling=gs,Di=gs,Ti=yA}if(Ki===fn.length)return D(cn,Ti),Ms&&ih(cn,Ki),gi;if(Ti===null){for(;KiKi?(yA=Ti,Ti=null):yA=Ti.sibling;var Fd=rr(cn,Ti,gs.value,vr);if(Fd===null){Ti===null&&(Ti=yA);break}m&&Ti&&Fd.alternate===null&&_(cn,Ti),Zt=ye(Fd,Zt,Ki),Di===null?gi=Fd:Di.sibling=Fd,Di=Fd,Ti=yA}if(gs.done)return D(cn,Ti),Ms&&ih(cn,Ki),gi;if(Ti===null){for(;!gs.done;Ki++,gs=fn.next())gs=cr(cn,gs.value,vr),gs!==null&&(Zt=ye(gs,Zt,Ki),Di===null?gi=gs:Di.sibling=gs,Di=gs);return Ms&&ih(cn,Ki),gi}for(Ti=Q(cn,Ti);!gs.done;Ki++,gs=fn.next())gs=Ur(Ti,cn,Ki,gs.value,vr),gs!==null&&(m&&gs.alternate!==null&&Ti.delete(gs.key===null?Ki:gs.key),Zt=ye(gs,Zt,Ki),Di===null?gi=gs:Di.sibling=gs,Di=gs);return m&&Ti.forEach(function(n1){return _(cn,n1)}),Ms&&ih(cn,Ki),gi}function Rl(cn,Zt,fn,vr){if(typeof fn=="object"&&fn!==null&&fn.type===G&&fn.key===null&&(fn=fn.props.children),typeof fn=="object"&&fn!==null){switch(fn.$$typeof){case q:e:{for(var gi=fn.key,Di=Zt;Di!==null;){if(Di.key===gi){if(gi=fn.type,gi===G){if(Di.tag===7){D(cn,Di.sibling),Zt=le(Di,fn.props.children),Zt.return=cn,cn=Zt;break e}}else if(Di.elementType===gi||typeof gi=="object"&&gi!==null&&gi.$$typeof===pt&&oh(gi)===Di.type){D(cn,Di.sibling),Zt=le(Di,fn.props),Zt.ref=Jh(cn,Di,fn),Zt.return=cn,cn=Zt;break e}D(cn,Di);break}else _(cn,Di);Di=Di.sibling}fn.type===G?(Zt=kh(fn.props.children,cn.mode,vr,fn.key),Zt.return=cn,cn=Zt):(vr=tp(fn.type,fn.key,fn.props,null,cn.mode,vr),vr.ref=Jh(cn,Zt,fn),vr.return=cn,cn=vr)}return tt(cn);case ne:e:{for(Di=fn.key;Zt!==null;){if(Zt.key===Di)if(Zt.tag===4&&Zt.stateNode.containerInfo===fn.containerInfo&&Zt.stateNode.implementation===fn.implementation){D(cn,Zt.sibling),Zt=le(Zt,fn.children||[]),Zt.return=cn,cn=Zt;break e}else{D(cn,Zt);break}else _(cn,Zt);Zt=Zt.sibling}Zt=Rp(fn,cn.mode,vr),Zt.return=cn,cn=Zt}return tt(cn);case pt:return Di=fn._init,Rl(cn,Zt,Di(fn._payload),vr)}if(er(fn))return ei(cn,Zt,fn,vr);if(je(fn))return ai(cn,Zt,fn,vr);Yl(cn,fn)}return typeof fn=="string"&&fn!==""||typeof fn=="number"?(fn=""+fn,Zt!==null&&Zt.tag===6?(D(cn,Zt.sibling),Zt=le(Zt,fn),Zt.return=cn,cn=Zt):(D(cn,Zt),Zt=Kp(fn,cn.mode,vr),Zt.return=cn,cn=Zt),tt(cn)):D(cn,Zt)}return Rl}var ji=Bu(!0),Os=Bu(!1),sh=Bs(null),il=null,Ou=null,PA=null;function ou(){PA=Ou=il=null}function ea(m){var _=sh.current;Fs(sh),m._currentValue=_}function Ys(m,_,D){for(;m!==null;){var Q=m.alternate;if((m.childLanes&_)!==_?(m.childLanes|=_,Q!==null&&(Q.childLanes|=_)):Q!==null&&(Q.childLanes&_)!==_&&(Q.childLanes|=_),m===D)break;m=m.return}}function su(m,_){il=m,PA=Ou=null,m=m.dependencies,m!==null&&m.firstContext!==null&&((m.lanes&_)!==0&&(kl=!0),m.firstContext=null)}function hA(m){var _=m._currentValue;if(PA!==m)if(m={context:m,memoizedValue:_,next:null},Ou===null){if(il===null)throw Error(t(308));Ou=m,il.dependencies={lanes:0,firstContext:m}}else Ou=Ou.next=m;return _}var au=null;function KA(m){au===null?au=[m]:au.push(m)}function Kc(m,_,D,Q){var le=_.interleaved;return le===null?(D.next=D,KA(_)):(D.next=le.next,le.next=D),_.interleaved=D,lu(m,Q)}function lu(m,_){m.lanes|=_;var D=m.alternate;for(D!==null&&(D.lanes|=_),D=m,m=m.return;m!==null;)m.childLanes|=_,D=m.alternate,D!==null&&(D.childLanes|=_),D=m,m=m.return;return D.tag===3?D.stateNode:null}var ol=!1;function Mh(m){m.updateQueue={baseState:m.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function uc(m,_){m=m.updateQueue,_.updateQueue===m&&(_.updateQueue={baseState:m.baseState,firstBaseUpdate:m.firstBaseUpdate,lastBaseUpdate:m.lastBaseUpdate,shared:m.shared,effects:m.effects})}function Au(m,_){return{eventTime:m,lane:_,tag:0,payload:null,callback:null,next:null}}function Il(m,_,D){var Q=m.updateQueue;if(Q===null)return null;if(Q=Q.shared,(bi&2)!==0){var le=Q.pending;return le===null?_.next=_:(_.next=le.next,le.next=_),Q.pending=_,lu(m,D)}return le=Q.interleaved,le===null?(_.next=_,KA(Q)):(_.next=le.next,le.next=_),Q.interleaved=_,lu(m,D)}function O(m,_,D){if(_=_.updateQueue,_!==null&&(_=_.shared,(D&4194240)!==0)){var Q=_.lanes;Q&=m.pendingLanes,D|=Q,_.lanes=D,Ws(m,D)}}function a(m,_){var D=m.updateQueue,Q=m.alternate;if(Q!==null&&(Q=Q.updateQueue,D===Q)){var le=null,ye=null;if(D=D.firstBaseUpdate,D!==null){do{var tt={eventTime:D.eventTime,lane:D.lane,tag:D.tag,payload:D.payload,callback:D.callback,next:null};ye===null?le=ye=tt:ye=ye.next=tt,D=D.next}while(D!==null);ye===null?le=ye=_:ye=ye.next=_}else le=ye=_;D={baseState:Q.baseState,firstBaseUpdate:le,lastBaseUpdate:ye,shared:Q.shared,effects:Q.effects},m.updateQueue=D;return}m=D.lastBaseUpdate,m===null?D.firstBaseUpdate=_:m.next=_,D.lastBaseUpdate=_}function c(m,_,D,Q){var le=m.updateQueue;ol=!1;var ye=le.firstBaseUpdate,tt=le.lastBaseUpdate,Ot=le.shared.pending;if(Ot!==null){le.shared.pending=null;var jt=Ot,Sn=jt.next;jt.next=null,tt===null?ye=Sn:tt.next=Sn,tt=jt;var ar=m.alternate;ar!==null&&(ar=ar.updateQueue,Ot=ar.lastBaseUpdate,Ot!==tt&&(Ot===null?ar.firstBaseUpdate=Sn:Ot.next=Sn,ar.lastBaseUpdate=jt))}if(ye!==null){var cr=le.baseState;tt=0,ar=Sn=jt=null,Ot=ye;do{var rr=Ot.lane,Ur=Ot.eventTime;if((Q&rr)===rr){ar!==null&&(ar=ar.next={eventTime:Ur,lane:0,tag:Ot.tag,payload:Ot.payload,callback:Ot.callback,next:null});e:{var ei=m,ai=Ot;switch(rr=_,Ur=D,ai.tag){case 1:if(ei=ai.payload,typeof ei=="function"){cr=ei.call(Ur,cr,rr);break e}cr=ei;break e;case 3:ei.flags=ei.flags&-65537|128;case 0:if(ei=ai.payload,rr=typeof ei=="function"?ei.call(Ur,cr,rr):ei,rr==null)break e;cr=Se({},cr,rr);break e;case 2:ol=!0}}Ot.callback!==null&&Ot.lane!==0&&(m.flags|=64,rr=le.effects,rr===null?le.effects=[Ot]:rr.push(Ot))}else Ur={eventTime:Ur,lane:rr,tag:Ot.tag,payload:Ot.payload,callback:Ot.callback,next:null},ar===null?(Sn=ar=Ur,jt=cr):ar=ar.next=Ur,tt|=rr;if(Ot=Ot.next,Ot===null){if(Ot=le.shared.pending,Ot===null)break;rr=Ot,Ot=rr.next,rr.next=null,le.lastBaseUpdate=rr,le.shared.pending=null}}while(!0);if(ar===null&&(jt=cr),le.baseState=jt,le.firstBaseUpdate=Sn,le.lastBaseUpdate=ar,_=le.shared.interleaved,_!==null){le=_;do tt|=le.lane,le=le.next;while(le!==_)}else ye===null&&(le.shared.lanes=0);gA|=tt,m.lanes=tt,m.memoizedState=cr}}function C(m,_,D){if(m=_.effects,_.effects=null,m!==null)for(_=0;_D?D:4,m(!0);var Q=bt.transition;bt.transition={};try{m(!1),_()}finally{di=D,bt.transition=Q}}function Ss(){return Er().memoizedState}function Ep(m,_,D){var Q=gf(m);if(D={lane:Q,action:D,hasEagerState:!1,eagerState:null,next:null},lf(m))$l(_,D);else if(D=Kc(m,_,D,Q),D!==null){var le=Hu();Th(D,m,Q,le),FA(D,_,Q)}}function hc(m,_,D){var Q=gf(m),le={lane:Q,action:D,hasEagerState:!1,eagerState:null,next:null};if(lf(m))$l(_,le);else{var ye=m.alternate;if(m.lanes===0&&(ye===null||ye.lanes===0)&&(ye=_.lastRenderedReducer,ye!==null))try{var tt=_.lastRenderedState,Ot=ye(tt,D);if(le.hasEagerState=!0,le.eagerState=Ot,An(Ot,tt)){var jt=_.interleaved;jt===null?(le.next=le,KA(_)):(le.next=jt.next,jt.next=le),_.interleaved=le;return}}catch{}finally{}D=Kc(m,_,le,Q),D!==null&&(le=Hu(),Th(D,m,Q,le),FA(D,_,Q))}}function lf(m){var _=m.alternate;return m===St||_!==null&&_===St}function $l(m,_){sn=Lt=!0;var D=m.pending;D===null?_.next=_:(_.next=D.next,D.next=_),m.pending=_}function FA(m,_,D){if((D&4194240)!==0){var Q=_.lanes;Q&=m.pendingLanes,D|=Q,_.lanes=D,Ws(m,D)}}var ed={readContext:hA,useCallback:Cn,useContext:Cn,useEffect:Cn,useImperativeHandle:Cn,useInsertionEffect:Cn,useLayoutEffect:Cn,useMemo:Cn,useReducer:Cn,useRef:Cn,useState:Cn,useDebugValue:Cn,useDeferredValue:Cn,useTransition:Cn,useMutableSource:Cn,useSyncExternalStore:Cn,useId:Cn,unstable_isNewReconciler:!1},uu={readContext:hA,useCallback:function(m,_){return kn().memoizedState=[m,_===void 0?null:_],m},useContext:hA,useEffect:DA,useImperativeHandle:function(m,_,D){return D=D!=null?D.concat([m]):null,RA(4194308,4,dA.bind(null,_,m),D)},useLayoutEffect:function(m,_){return RA(4194308,4,m,_)},useInsertionEffect:function(m,_){return RA(4,2,m,_)},useMemo:function(m,_){var D=kn();return _=_===void 0?null:_,m=m(),D.memoizedState=[m,_],m},useReducer:function(m,_,D){var Q=kn();return _=D!==void 0?D(_):_,Q.memoizedState=Q.baseState=_,m={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:m,lastRenderedState:_},Q.queue=m,m=m.dispatch=Ep.bind(null,St,m),[Q.memoizedState,m]},useRef:function(m){var _=kn();return m={current:m},_.memoizedState=m},useState:Ca,useDebugValue:Hl,useDeferredValue:function(m){return kn().memoizedState=m},useTransition:function(){var m=Ca(!1),_=m[0];return m=na.bind(null,m[1]),kn().memoizedState=m,[_,m]},useMutableSource:function(){},useSyncExternalStore:function(m,_,D){var Q=St,le=kn();if(Ms){if(D===void 0)throw Error(t(407));D=D()}else{if(D=_(),os===null)throw Error(t(349));(Bt&30)!==0||ws(Q,_,D)}le.memoizedState=D;var ye={value:D,getSnapshot:_};return le.queue=ye,DA(qi.bind(null,Q,ye,m),[m]),Q.flags|=2048,ta(9,to.bind(null,Q,ye,D,_),void 0,null),D},useId:function(){var m=kn(),_=os.identifierPrefix;if(Ms){var D=iu,Q=ru;D=(Q&~(1<<32-xn(Q)-1)).toString(32)+D,_=":"+_+"R"+D,D=an++,0<\/script>",m=m.removeChild(m.firstChild)):typeof Q.is=="string"?m=tt.createElement(D,{is:Q.is}):(m=tt.createElement(D),D==="select"&&(tt=m,Q.multiple?tt.multiple=!0:Q.size&&(tt.size=Q.size))):m=tt.createElementNS(m,D),m[wu]=_,m[pl]=Q,_a(m,_,!1,!1),_.stateNode=m;e:{switch(tt=ve(D,Q),D){case"dialog":Go("cancel",m),Go("close",m),le=Q;break;case"iframe":case"object":case"embed":Go("load",m),le=Q;break;case"video":case"audio":for(le=0;leOh&&(_.flags|=128,Q=!0,Xf(ye,!1),_.lanes=4194304)}else{if(!Q)if(m=$e(tt),m!==null){if(_.flags|=128,Q=!0,D=m.updateQueue,D!==null&&(_.updateQueue=D,_.flags|=4),Xf(ye,!0),ye.tail===null&&ye.tailMode==="hidden"&&!tt.alternate&&!Ms)return mA(_),null}else 2*pi()-ye.renderingStartTime>Oh&&D!==1073741824&&(_.flags|=128,Q=!0,Xf(ye,!1),_.lanes=4194304);ye.isBackwards?(tt.sibling=_.child,_.child=tt):(D=ye.last,D!==null?D.sibling=tt:_.child=tt,ye.last=tt)}return ye.tail!==null?(_=ye.tail,ye.rendering=_,ye.tail=_.sibling,ye.renderingStartTime=pi(),_.sibling=null,D=Ge.current,Ko(Ge,Q?D&1|2:D&1),_):(mA(_),null);case 22:case 23:return Zm(),Q=_.memoizedState!==null,m!==null&&m.memoizedState!==null!==Q&&(_.flags|=8192),Q&&(_.mode&1)!==0?(ms&1073741824)!==0&&(mA(_),_.subtreeFlags&6&&(_.flags|=8192)):mA(_),null;case 24:return null;case 25:return null}throw Error(t(156,_.tag))}function u(m,_){switch(Qo(_),_.tag){case 1:return Bl(_.type)&&TA(),m=_.flags,m&65536?(_.flags=m&-65537|128,_):null;case 3:return ge(),Fs(Sl),Fs(rl),ct(),m=_.flags,(m&65536)!==0&&(m&128)===0?(_.flags=m&-65537|128,_):null;case 5:return ke(_),null;case 13:if(Fs(Ge),m=_.memoizedState,m!==null&&m.dehydrated!==null){if(_.alternate===null)throw Error(t(340));Eu()}return m=_.flags,m&65536?(_.flags=m&-65537|128,_):null;case 19:return Fs(Ge),null;case 4:return ge(),null;case 10:return ea(_.type._context),null;case 22:case 23:return Zm(),null;case 24:return null;default:return null}}var g=!1,E=!1,S=typeof WeakSet=="function"?WeakSet:Set,K=null;function Z(m,_){var D=m.ref;if(D!==null)if(typeof D=="function")try{D(null)}catch(Q){qa(m,_,Q)}else D.current=null}function ue(m,_,D){try{D()}catch(Q){qa(m,_,Q)}}var _e=!1;function Pe(m,_){if(xu=Ie,m=As(),$c(m)){if("selectionStart"in m)var D={start:m.selectionStart,end:m.selectionEnd};else e:{D=(D=m.ownerDocument)&&D.defaultView||window;var Q=D.getSelection&&D.getSelection();if(Q&&Q.rangeCount!==0){D=Q.anchorNode;var le=Q.anchorOffset,ye=Q.focusNode;Q=Q.focusOffset;try{D.nodeType,ye.nodeType}catch{D=null;break e}var tt=0,Ot=-1,jt=-1,Sn=0,ar=0,cr=m,rr=null;t:for(;;){for(var Ur;cr!==D||le!==0&&cr.nodeType!==3||(Ot=tt+le),cr!==ye||Q!==0&&cr.nodeType!==3||(jt=tt+Q),cr.nodeType===3&&(tt+=cr.nodeValue.length),(Ur=cr.firstChild)!==null;)rr=cr,cr=Ur;for(;;){if(cr===m)break t;if(rr===D&&++Sn===le&&(Ot=tt),rr===ye&&++ar===Q&&(jt=tt),(Ur=cr.nextSibling)!==null)break;cr=rr,rr=cr.parentNode}cr=Ur}D=Ot===-1||jt===-1?null:{start:Ot,end:jt}}else D=null}D=D||{start:0,end:0}}else D=null;for(Xs={focusedElem:m,selectionRange:D},Ie=!1,K=_;K!==null;)if(_=K,m=_.child,(_.subtreeFlags&1028)!==0&&m!==null)m.return=_,K=m;else for(;K!==null;){_=K;try{var ei=_.alternate;if((_.flags&1024)!==0)switch(_.tag){case 0:case 11:case 15:break;case 1:if(ei!==null){var ai=ei.memoizedProps,Rl=ei.memoizedState,cn=_.stateNode,Zt=cn.getSnapshotBeforeUpdate(_.elementType===_.type?ai:Tl(_.type,ai),Rl);cn.__reactInternalSnapshotBeforeUpdate=Zt}break;case 3:var fn=_.stateNode.containerInfo;fn.nodeType===1?fn.textContent="":fn.nodeType===9&&fn.documentElement&&fn.removeChild(fn.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(t(163))}}catch(vr){qa(_,_.return,vr)}if(m=_.sibling,m!==null){m.return=_.return,K=m;break}K=_.return}return ei=_e,_e=!1,ei}function Ne(m,_,D){var Q=_.updateQueue;if(Q=Q!==null?Q.lastEffect:null,Q!==null){var le=Q=Q.next;do{if((le.tag&m)===m){var ye=le.destroy;le.destroy=void 0,ye!==void 0&&ue(_,D,ye)}le=le.next}while(le!==Q)}}function mt(m,_){if(_=_.updateQueue,_=_!==null?_.lastEffect:null,_!==null){var D=_=_.next;do{if((D.tag&m)===m){var Q=D.create;D.destroy=Q()}D=D.next}while(D!==_)}}function Mt(m){var _=m.ref;if(_!==null){var D=m.stateNode;switch(m.tag){case 5:m=D;break;default:m=D}typeof _=="function"?_(m):_.current=m}}function tn(m){var _=m.alternate;_!==null&&(m.alternate=null,tn(_)),m.child=null,m.deletions=null,m.sibling=null,m.tag===5&&(_=m.stateNode,_!==null&&(delete _[wu],delete _[pl],delete _[Ed],delete _[at],delete _[bh])),m.stateNode=null,m.return=null,m.dependencies=null,m.memoizedProps=null,m.memoizedState=null,m.pendingProps=null,m.stateNode=null,m.updateQueue=null}function Yt(m){return m.tag===5||m.tag===3||m.tag===4}function wn(m){e:for(;;){for(;m.sibling===null;){if(m.return===null||Yt(m.return))return null;m=m.return}for(m.sibling.return=m.return,m=m.sibling;m.tag!==5&&m.tag!==6&&m.tag!==18;){if(m.flags&2||m.child===null||m.tag===4)continue e;m.child.return=m,m=m.child}if(!(m.flags&2))return m.stateNode}}function Fn(m,_,D){var Q=m.tag;if(Q===5||Q===6)m=m.stateNode,_?D.nodeType===8?D.parentNode.insertBefore(m,_):D.insertBefore(m,_):(D.nodeType===8?(_=D.parentNode,_.insertBefore(m,D)):(_=D,_.appendChild(m)),D=D._reactRootContainer,D!=null||_.onclick!==null||(_.onclick=fs));else if(Q!==4&&(m=m.child,m!==null))for(Fn(m,_,D),m=m.sibling;m!==null;)Fn(m,_,D),m=m.sibling}function Zn(m,_,D){var Q=m.tag;if(Q===5||Q===6)m=m.stateNode,_?D.insertBefore(m,_):D.appendChild(m);else if(Q!==4&&(m=m.child,m!==null))for(Zn(m,_,D),m=m.sibling;m!==null;)Zn(m,_,D),m=m.sibling}var Xn=null,gr=!1;function ur(m,_,D){for(D=D.child;D!==null;)Rr(m,_,D),D=D.sibling}function Rr(m,_,D){if(qe&&typeof qe.onCommitFiberUnmount=="function")try{qe.onCommitFiberUnmount(Rs,D)}catch{}switch(D.tag){case 5:E||Z(D,_);case 6:var Q=Xn,le=gr;Xn=null,ur(m,_,D),Xn=Q,gr=le,Xn!==null&&(gr?(m=Xn,D=D.stateNode,m.nodeType===8?m.parentNode.removeChild(D):m.removeChild(D)):Xn.removeChild(D.stateNode));break;case 18:Xn!==null&&(gr?(m=Xn,D=D.stateNode,m.nodeType===8?Xh(m.parentNode,D):m.nodeType===1&&Xh(m,D),no(m)):Xh(Xn,D.stateNode));break;case 4:Q=Xn,le=gr,Xn=D.stateNode.containerInfo,gr=!0,ur(m,_,D),Xn=Q,gr=le;break;case 0:case 11:case 14:case 15:if(!E&&(Q=D.updateQueue,Q!==null&&(Q=Q.lastEffect,Q!==null))){le=Q=Q.next;do{var ye=le,tt=ye.destroy;ye=ye.tag,tt!==void 0&&((ye&2)!==0||(ye&4)!==0)&&ue(D,_,tt),le=le.next}while(le!==Q)}ur(m,_,D);break;case 1:if(!E&&(Z(D,_),Q=D.stateNode,typeof Q.componentWillUnmount=="function"))try{Q.props=D.memoizedProps,Q.state=D.memoizedState,Q.componentWillUnmount()}catch(Ot){qa(D,_,Ot)}ur(m,_,D);break;case 21:ur(m,_,D);break;case 22:D.mode&1?(E=(Q=E)||D.memoizedState!==null,ur(m,_,D),E=Q):ur(m,_,D);break;default:ur(m,_,D)}}function ii(m){var _=m.updateQueue;if(_!==null){m.updateQueue=null;var D=m.stateNode;D===null&&(D=m.stateNode=new S),_.forEach(function(Q){var le=qy.bind(null,m,Q);D.has(Q)||(D.add(Q),Q.then(le,le))})}}function kr(m,_){var D=_.deletions;if(D!==null)for(var Q=0;Qle&&(le=tt),Q&=~ye}if(Q=le,Q=pi()-Q,Q=(120>Q?120:480>Q?480:1080>Q?1080:1920>Q?1920:3e3>Q?3e3:4320>Q?4320:1960*LA(Q/1960))-Q,10m?16:m,mf===null)var Q=!1;else{if(m=mf,mf=null,Vu=0,(bi&6)!==0)throw Error(t(331));var le=bi;for(bi|=4,K=m.current;K!==null;){var ye=K,tt=ye.child;if((K.flags&16)!==0){var Ot=ye.deletions;if(Ot!==null){for(var jt=0;jtpi()-kd?ep(m,0):Fc|=D),fc(m,_)}function n0(m,_){_===0&&((m.mode&1)===0?_=1:(_=Co,Co<<=1,(Co&130023424)===0&&(Co=4194304)));var D=Hu();m=lu(m,_),m!==null&&(Ea(m,_,D),fc(m,D))}function Yy(m){var _=m.memoizedState,D=0;_!==null&&(D=_.retryLane),n0(m,D)}function qy(m,_){var D=0;switch(m.tag){case 13:var Q=m.stateNode,le=m.memoizedState;le!==null&&(D=le.retryLane);break;case 19:Q=m.stateNode;break;default:throw Error(t(314))}Q!==null&&Q.delete(_),n0(m,D)}var Vg;Vg=function(m,_,D){if(m!==null)if(m.memoizedProps!==_.pendingProps||Sl.current)kl=!0;else{if((m.lanes&D)===0&&(_.flags&128)===0)return kl=!1,ad(m,_,D);kl=(m.flags&131072)!==0}else kl=!1,Ms&&(_.flags&1048576)!==0&&af(_,uA,_.index);switch(_.lanes=0,_.tag){case 2:var Q=_.type;pf(m,_),m=_.pendingProps;var le=th(_,rl.current);su(_,D),le=sr(null,_,Q,m,le,D);var ye=Hn();return _.flags|=1,typeof le=="object"&&le!==null&&typeof le.render=="function"&&le.$$typeof===void 0?(_.tag=1,_.memoizedState=null,_.updateQueue=null,Bl(Q)?(ye=!0,AA(_)):ye=!1,_.memoizedState=le.state!==null&&le.state!==void 0?le.state:null,Mh(_),le.updater=wh,_.stateNode=le,le._reactInternals=_,Hf(_,Q,m,D),_=rd(null,_,Q,!0,ye,D)):(_.tag=0,Ms&&ye&&jl(_),fA(null,_,le,D),_=_.child),_;case 16:Q=_.elementType;e:{switch(pf(m,_),m=_.pendingProps,le=Q._init,Q=le(Q._payload),_.type=Q,le=_.tag=Zg(Q),m=Tl(Q,m),le){case 0:_=Eh(null,_,Q,m,D);break e;case 1:_=ku(null,_,Q,m,D);break e;case 11:_=Ym(null,_,Q,m,D);break e;case 14:_=Op(null,_,Q,Tl(Q.type,m),D);break e}throw Error(t(306,Q,""))}return _;case 0:return Q=_.type,le=_.pendingProps,le=_.elementType===Q?le:Tl(Q,le),Eh(m,_,Q,le,D);case 1:return Q=_.type,le=_.pendingProps,le=_.elementType===Q?le:Tl(Q,le),ku(m,_,Q,le,D);case 3:e:{if(id(_),m===null)throw Error(t(387));Q=_.pendingProps,ye=_.memoizedState,le=ye.element,uc(m,_),c(_,Q,null,D);var tt=_.memoizedState;if(Q=tt.element,ye.isDehydrated)if(ye={element:Q,isDehydrated:!1,cache:tt.cache,pendingSuspenseBoundaries:tt.pendingSuspenseBoundaries,transitions:tt.transitions},_.updateQueue.baseState=ye,_.memoizedState=ye,_.flags&256){le=nd(Error(t(423)),_),_=Ia(m,_,Q,D,le);break e}else if(Q!==le){le=nd(Error(t(424)),_),_=Ia(m,_,Q,D,le);break e}else for(la=Ac(_.stateNode.containerInfo.firstChild),ga=_,Ms=!0,Gl=null,D=Os(_,null,Q,D),_.child=D;D;)D.flags=D.flags&-3|4096,D=D.sibling;else{if(Eu(),Q===le){_=pA(m,_,D);break e}fA(m,_,Q,D)}_=_.child}return _;case 5:return Te(_),m===null&&ml(_),Q=_.type,le=_.pendingProps,ye=m!==null?m.memoizedProps:null,tt=le.children,Nu(Q,le)?tt=null:ye!==null&&Nu(Q,ye)&&(_.flags|=32),Zf(m,_),fA(m,_,tt,D),_.child;case 6:return m===null&&ml(_),null;case 13:return df(m,_,D);case 4:return se(_,_.stateNode.containerInfo),Q=_.pendingProps,m===null?_.child=ji(_,null,Q,D):fA(m,_,Q,D),_.child;case 11:return Q=_.type,le=_.pendingProps,le=_.elementType===Q?le:Tl(Q,le),Ym(m,_,Q,le,D);case 7:return fA(m,_,_.pendingProps,D),_.child;case 8:return fA(m,_,_.pendingProps.children,D),_.child;case 12:return fA(m,_,_.pendingProps.children,D),_.child;case 10:e:{if(Q=_.type._context,le=_.pendingProps,ye=_.memoizedProps,tt=le.value,Ko(sh,Q._currentValue),Q._currentValue=tt,ye!==null)if(An(ye.value,tt)){if(ye.children===le.children&&!Sl.current){_=pA(m,_,D);break e}}else for(ye=_.child,ye!==null&&(ye.return=_);ye!==null;){var Ot=ye.dependencies;if(Ot!==null){tt=ye.child;for(var jt=Ot.firstContext;jt!==null;){if(jt.context===Q){if(ye.tag===1){jt=Au(-1,D&-D),jt.tag=2;var Sn=ye.updateQueue;if(Sn!==null){Sn=Sn.shared;var ar=Sn.pending;ar===null?jt.next=jt:(jt.next=ar.next,ar.next=jt),Sn.pending=jt}}ye.lanes|=D,jt=ye.alternate,jt!==null&&(jt.lanes|=D),Ys(ye.return,D,_),Ot.lanes|=D;break}jt=jt.next}}else if(ye.tag===10)tt=ye.type===_.type?null:ye.child;else if(ye.tag===18){if(tt=ye.return,tt===null)throw Error(t(341));tt.lanes|=D,Ot=tt.alternate,Ot!==null&&(Ot.lanes|=D),Ys(tt,D,_),tt=ye.sibling}else tt=ye.child;if(tt!==null)tt.return=ye;else for(tt=ye;tt!==null;){if(tt===_){tt=null;break}if(ye=tt.sibling,ye!==null){ye.return=tt.return,tt=ye;break}tt=tt.return}ye=tt}fA(m,_,le.children,D),_=_.child}return _;case 9:return le=_.type,Q=_.pendingProps.children,su(_,D),le=hA(le),Q=Q(le),_.flags|=1,fA(m,_,Q,D),_.child;case 14:return Q=_.type,le=Tl(Q,_.pendingProps),le=Tl(Q.type,le),Op(m,_,Q,le,D);case 15:return qo(m,_,_.type,_.pendingProps,D);case 17:return Q=_.type,le=_.pendingProps,le=_.elementType===Q?le:Tl(Q,le),pf(m,_),_.tag=1,Bl(Q)?(m=!0,AA(_)):m=!1,su(_,D),td(_,Q,le),Hf(_,Q,le,D),rd(null,_,Q,!0,m,D);case 19:return Dc(m,_,D);case 22:return Ip(m,_,D)}throw Error(t(156,_.tag))};function Hg(m,_){return sa(m,_)}function $g(m,_,D,Q){this.tag=m,this.key=D,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=_,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=Q,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function xa(m,_,D,Q){return new $g(m,_,D,Q)}function Pp(m){return m=m.prototype,!(!m||!m.isReactComponent)}function Zg(m){if(typeof m=="function")return Pp(m)?1:0;if(m!=null){if(m=m.$$typeof,m===me)return 11;if(m===xe)return 14}return 2}function zA(m,_){var D=m.alternate;return D===null?(D=xa(m.tag,_,m.key,m.mode),D.elementType=m.elementType,D.type=m.type,D.stateNode=m.stateNode,D.alternate=m,m.alternate=D):(D.pendingProps=_,D.type=m.type,D.flags=0,D.subtreeFlags=0,D.deletions=null),D.flags=m.flags&14680064,D.childLanes=m.childLanes,D.lanes=m.lanes,D.child=m.child,D.memoizedProps=m.memoizedProps,D.memoizedState=m.memoizedState,D.updateQueue=m.updateQueue,_=m.dependencies,D.dependencies=_===null?null:{lanes:_.lanes,firstContext:_.firstContext},D.sibling=m.sibling,D.index=m.index,D.ref=m.ref,D}function tp(m,_,D,Q,le,ye){var tt=2;if(Q=m,typeof m=="function")Pp(m)&&(tt=1);else if(typeof m=="string")tt=5;else e:switch(m){case G:return kh(D.children,le,ye,_);case ie:tt=8,le|=8;break;case de:return m=xa(12,D,_,le|2),m.elementType=de,m.lanes=ye,m;case Me:return m=xa(13,D,_,le),m.elementType=Me,m.lanes=ye,m;case Le:return m=xa(19,D,_,le),m.elementType=Le,m.lanes=ye,m;case Je:return Dd(D,le,ye,_);default:if(typeof m=="object"&&m!==null)switch(m.$$typeof){case fe:tt=10;break e;case Ee:tt=9;break e;case me:tt=11;break e;case xe:tt=14;break e;case pt:tt=16,Q=null;break e}throw Error(t(130,m==null?m:typeof m,""))}return _=xa(tt,D,_,le),_.elementType=m,_.type=Q,_.lanes=ye,_}function kh(m,_,D,Q){return m=xa(7,m,Q,_),m.lanes=D,m}function Dd(m,_,D,Q){return m=xa(22,m,Q,_),m.elementType=Je,m.lanes=D,m.stateNode={isHidden:!1},m}function Kp(m,_,D){return m=xa(6,m,null,_),m.lanes=D,m}function Rp(m,_,D){return _=xa(4,m.children!==null?m.children:[],m.key,_),_.lanes=D,_.stateNode={containerInfo:m.containerInfo,pendingChildren:null,implementation:m.implementation},_}function Vy(m,_,D,Q,le){this.tag=_,this.containerInfo=m,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=pa(0),this.expirationTimes=pa(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pa(0),this.identifierPrefix=Q,this.onRecoverableError=le,this.mutableSourceEagerHydrationData=null}function q0(m,_,D,Q,le,ye,tt,Ot,jt){return m=new Vy(m,_,D,Ot,jt),_===1?(_=1,ye===!0&&(_|=8)):_=0,ye=xa(3,null,null,_),m.current=ye,ye.stateNode=m,ye.memoizedState={element:Q,isDehydrated:D,cache:null,transitions:null,pendingSuspenseBoundaries:null},Mh(ye),m}function Xg(m,_,D){var Q=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}return n(),_3.exports=HW(),_3.exports}var p8;function $W(){if(p8)return O_;p8=1;var n=TC();return O_.createRoot=n.createRoot,O_.hydrateRoot=n.hydrateRoot,O_}var ZW=$W();const XW="modulepreload",JW=function(n){return"/maputnik/"+n},m8={},u1=function(e,t,r){let i=Promise.resolve();if(t&&t.length>0){let l=function(v){return Promise.all(v.map(x=>Promise.resolve(x).then(B=>({status:"fulfilled",value:B}),B=>({status:"rejected",reason:B}))))};document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),f=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));i=l(t.map(v=>{if(v=JW(v),v in m8)return;m8[v]=!0;const x=v.endsWith(".css"),B=x?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${v}"]${B}`))return;const k=document.createElement("link");if(k.rel=x?"stylesheet":XW,x||(k.as="script"),k.crossOrigin="",k.href=v,f&&k.setAttribute("nonce",f),document.head.appendChild(k),x)return new Promise((P,U)=>{k.addEventListener("load",P),k.addEventListener("error",()=>U(new Error(`Unable to preload CSS for ${v}`)))})}))}function s(l){const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=l,window.dispatchEvent(o),!o.defaultPrevented)throw l}return i.then(l=>{for(const o of l||[])o.status==="rejected"&&s(o.reason);return e().catch(s)})},ej=(n,e,t)=>{const r=n[e];return r?typeof r=="function"?r():Promise.resolve(r):new Promise((i,s)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(s.bind(null,new Error("Unknown variable dynamic import: "+e+(e.split("/").length!==t?". Note that variables only represent file names one level deep.":""))))})},wo=n=>typeof n=="string",lv=()=>{let n,e;const t=new Promise((r,i)=>{n=r,e=i});return t.resolve=n,t.reject=e,t},g8=n=>n==null?"":""+n,tj=(n,e,t)=>{n.forEach(r=>{e[r]&&(t[r]=e[r])})},nj=/###/g,y8=n=>n&&n.indexOf("###")>-1?n.replace(nj,"."):n,v8=n=>!n||wo(n),Nv=(n,e,t)=>{const r=wo(e)?e.split("."):e;let i=0;for(;i{const{obj:r,k:i}=Nv(n,e,Object);if(r!==void 0||e.length===1){r[i]=t;return}let s=e[e.length-1],l=e.slice(0,e.length-1),o=Nv(n,l,Object);for(;o.obj===void 0&&l.length;)s=`${l[l.length-1]}.${s}`,l=l.slice(0,l.length-1),o=Nv(n,l,Object),o!=null&&o.obj&&typeof o.obj[`${o.k}.${s}`]<"u"&&(o.obj=void 0);o.obj[`${o.k}.${s}`]=t},rj=(n,e,t,r)=>{const{obj:i,k:s}=Nv(n,e,Object);i[s]=i[s]||[],i[s].push(t)},Kb=(n,e)=>{const{obj:t,k:r}=Nv(n,e);if(t&&Object.prototype.hasOwnProperty.call(t,r))return t[r]},ij=(n,e,t)=>{const r=Kb(n,t);return r!==void 0?r:Kb(e,t)},MD=(n,e,t)=>{for(const r in e)r!=="__proto__"&&r!=="constructor"&&(r in n?wo(n[r])||n[r]instanceof String||wo(e[r])||e[r]instanceof String?t&&(n[r]=e[r]):MD(n[r],e[r],t):n[r]=e[r]);return n},c1=n=>n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var oj={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const sj=n=>wo(n)?n.replace(/[&<>"'\/]/g,e=>oj[e]):n;class aj{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(t!==void 0)return t;const r=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,r),this.regExpQueue.push(e),r}}const lj=[" ",",","?","!",";"],Aj=new aj(20),uj=(n,e,t)=>{e=e||"",t=t||"";const r=lj.filter(l=>e.indexOf(l)<0&&t.indexOf(l)<0);if(r.length===0)return!0;const i=Aj.getRegExp(`(${r.map(l=>l==="?"?"\\?":l).join("|")})`);let s=!i.test(n);if(!s){const l=n.indexOf(t);l>0&&!i.test(n.substring(0,l))&&(s=!0)}return s},IE=function(n,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!n)return;if(n[e])return Object.prototype.hasOwnProperty.call(n,e)?n[e]:void 0;const r=e.split(t);let i=n;for(let s=0;s-1&&fn==null?void 0:n.replace("_","-"),cj={type:"logger",log(n){this.output("log",n)},warn(n){this.output("warn",n)},error(n){this.output("error",n)},output(n,e){var t,r;(r=(t=console==null?void 0:console[n])==null?void 0:t.apply)==null||r.call(t,console,e)}};class Db{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||cj,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=new Array(e),r=0;r{this.observers[r]||(this.observers[r]=new Map);const i=this.observers[r].get(t)||0;this.observers[r].set(t,i+1)}),this}off(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e].delete(t)}}emit(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i{let[o,f]=l;for(let v=0;v{let[o,f]=l;for(let v=0;v1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,r){var v,x;let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const s=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,l=i.ignoreJSONStructure!==void 0?i.ignoreJSONStructure:this.options.ignoreJSONStructure;let o;e.indexOf(".")>-1?o=e.split("."):(o=[e,t],r&&(Array.isArray(r)?o.push(...r):wo(r)&&s?o.push(...r.split(s)):o.push(r)));const f=Kb(this.data,o);return!f&&!t&&!r&&e.indexOf(".")>-1&&(e=o[0],t=o[1],r=o.slice(2).join(".")),f||!l||!wo(r)?f:IE((x=(v=this.data)==null?void 0:v[e])==null?void 0:x[t],r,s)}addResource(e,t,r,i){let s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const l=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator;let o=[e,t];r&&(o=o.concat(l?r.split(l):r)),e.indexOf(".")>-1&&(o=e.split("."),i=t,t=o[1]),this.addNamespaces(t),C8(this.data,o,i),s.silent||this.emit("added",e,t,r,i)}addResources(e,t,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const s in r)(wo(r[s])||Array.isArray(r[s]))&&this.addResource(e,t,s,r[s],{silent:!0});i.silent||this.emit("added",e,t,r)}addResourceBundle(e,t,r,i,s){let l=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},o=[e,t];e.indexOf(".")>-1&&(o=e.split("."),i=r,r=t,t=o[1]),this.addNamespaces(t);let f=Kb(this.data,o)||{};l.skipCopy||(r=JSON.parse(JSON.stringify(r))),i?MD(f,r,s):f={...f,...r},C8(this.data,o,f),l.silent||this.emit("added",e,t,r)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return this.getResource(e,t)!==void 0}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(i=>t[i]&&Object.keys(t[i]).length>0)}toJSON(){return this.data}}var wD={processors:{},addPostProcessor(n){this.processors[n.name]=n},handle(n,e,t,r,i){return n.forEach(s=>{var l;e=((l=this.processors[s])==null?void 0:l.process(e,t,r,i))??e}),e}};const b8={},x8=n=>!wo(n)&&typeof n!="boolean"&&typeof n!="number";class Fb extends U2{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),tj(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Qp.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(e==null)return!1;const r=this.resolve(e,t);return(r==null?void 0:r.res)!==void 0}extractFromKey(e,t){let r=t.nsSeparator!==void 0?t.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const i=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator;let s=t.ns||this.options.defaultNS||[];const l=r&&e.indexOf(r)>-1,o=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!uj(e,r,i);if(l&&!o){const f=e.match(this.interpolator.nestingRegexp);if(f&&f.length>0)return{key:e,namespaces:wo(s)?[s]:s};const v=e.split(r);(r!==i||r===i&&this.options.ns.indexOf(v[0])>-1)&&(s=v.shift()),e=v.join(i)}return{key:e,namespaces:wo(s)?[s]:s}}translate(e,t,r){if(typeof t!="object"&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),typeof options=="object"&&(t={...t}),t||(t={}),e==null)return"";Array.isArray(e)||(e=[String(e)]);const i=t.returnDetails!==void 0?t.returnDetails:this.options.returnDetails,s=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator,{key:l,namespaces:o}=this.extractFromKey(e[e.length-1],t),f=o[o.length-1],v=t.lng||this.language,x=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if((v==null?void 0:v.toLowerCase())==="cimode"){if(x){const Ee=t.nsSeparator||this.options.nsSeparator;return i?{res:`${f}${Ee}${l}`,usedKey:l,exactUsedKey:l,usedLng:v,usedNS:f,usedParams:this.getUsedParamsDetails(t)}:`${f}${Ee}${l}`}return i?{res:l,usedKey:l,exactUsedKey:l,usedLng:v,usedNS:f,usedParams:this.getUsedParamsDetails(t)}:l}const B=this.resolve(e,t);let k=B==null?void 0:B.res;const P=(B==null?void 0:B.usedKey)||l,U=(B==null?void 0:B.exactUsedKey)||l,N=["[object Number]","[object Function]","[object RegExp]"],W=t.joinArrays!==void 0?t.joinArrays:this.options.joinArrays,V=!this.i18nFormat||this.i18nFormat.handleAsObject,$=t.count!==void 0&&!wo(t.count),oe=Fb.hasDefaultValue(t),te=$?this.pluralResolver.getSuffix(v,t.count,t):"",q=t.ordinal&&$?this.pluralResolver.getSuffix(v,t.count,{ordinal:!1}):"",ne=$&&!t.ordinal&&t.count===0,G=ne&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${te}`]||t[`defaultValue${q}`]||t.defaultValue;let ie=k;V&&!k&&oe&&(ie=G);const de=x8(ie),fe=Object.prototype.toString.apply(ie);if(V&&ie&&de&&N.indexOf(fe)<0&&!(wo(W)&&Array.isArray(ie))){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const Ee=this.options.returnedObjectHandler?this.options.returnedObjectHandler(P,ie,{...t,ns:o}):`key '${l} (${this.language})' returned an object instead of string.`;return i?(B.res=Ee,B.usedParams=this.getUsedParamsDetails(t),B):Ee}if(s){const Ee=Array.isArray(ie),me=Ee?[]:{},Me=Ee?U:P;for(const Le in ie)if(Object.prototype.hasOwnProperty.call(ie,Le)){const xe=`${Me}${s}${Le}`;oe&&!k?me[Le]=this.translate(xe,{...t,defaultValue:x8(G)?G[Le]:void 0,joinArrays:!1,ns:o}):me[Le]=this.translate(xe,{...t,joinArrays:!1,ns:o}),me[Le]===xe&&(me[Le]=ie[Le])}k=me}}else if(V&&wo(W)&&Array.isArray(k))k=k.join(W),k&&(k=this.extendTranslation(k,e,t,r));else{let Ee=!1,me=!1;!this.isValidLookup(k)&&oe&&(Ee=!0,k=G),this.isValidLookup(k)||(me=!0,k=l);const Le=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&me?void 0:k,xe=oe&&G!==k&&this.options.updateMissing;if(me||Ee||xe){if(this.logger.log(xe?"updateKey":"missingKey",v,f,l,xe?G:k),s){const je=this.resolve(l,{...t,keySeparator:!1});je&&je.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let pt=[];const Je=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if(this.options.saveMissingTo==="fallback"&&Je&&Je[0])for(let je=0;je{var _t;const Ze=oe&&Fe!==k?Fe:Le;this.options.missingKeyHandler?this.options.missingKeyHandler(je,f,Se,Ze,xe,t):(_t=this.backendConnector)!=null&&_t.saveMissing&&this.backendConnector.saveMissing(je,f,Se,Ze,xe,t),this.emit("missingKey",je,f,Se,k)};this.options.saveMissing&&(this.options.saveMissingPlurals&&$?pt.forEach(je=>{const Se=this.pluralResolver.getSuffixes(je,t);ne&&t[`defaultValue${this.options.pluralSeparator}zero`]&&Se.indexOf(`${this.options.pluralSeparator}zero`)<0&&Se.push(`${this.options.pluralSeparator}zero`),Se.forEach(Fe=>{Ve([je],l+Fe,t[`defaultValue${Fe}`]||G)})}):Ve(pt,l,G))}k=this.extendTranslation(k,e,t,B,r),me&&k===l&&this.options.appendNamespaceToMissingKey&&(k=`${f}:${l}`),(me||Ee)&&this.options.parseMissingKeyHandler&&(k=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${f}:${l}`:l,Ee?k:void 0))}return i?(B.res=k,B.usedParams=this.getUsedParamsDetails(t),B):k}extendTranslation(e,t,r,i,s){var v,x;var l=this;if((v=this.i18nFormat)!=null&&v.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const B=wo(e)&&(((x=r==null?void 0:r.interpolation)==null?void 0:x.skipOnVariables)!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let k;if(B){const U=e.match(this.interpolator.nestingRegexp);k=U&&U.length}let P=r.replace&&!wo(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(P={...this.options.interpolation.defaultVariables,...P}),e=this.interpolator.interpolate(e,P,r.lng||this.language||i.usedLng,r),B){const U=e.match(this.interpolator.nestingRegexp),N=U&&U.length;k1&&arguments[1]!==void 0?arguments[1]:{},r,i,s,l,o;return wo(e)&&(e=[e]),e.forEach(f=>{if(this.isValidLookup(r))return;const v=this.extractFromKey(f,t),x=v.key;i=x;let B=v.namespaces;this.options.fallbackNS&&(B=B.concat(this.options.fallbackNS));const k=t.count!==void 0&&!wo(t.count),P=k&&!t.ordinal&&t.count===0,U=t.context!==void 0&&(wo(t.context)||typeof t.context=="number")&&t.context!=="",N=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);B.forEach(W=>{var V,$;this.isValidLookup(r)||(o=W,!b8[`${N[0]}-${W}`]&&((V=this.utils)!=null&&V.hasLoadedNamespace)&&!(($=this.utils)!=null&&$.hasLoadedNamespace(o))&&(b8[`${N[0]}-${W}`]=!0,this.logger.warn(`key "${i}" for languages "${N.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),N.forEach(oe=>{var ne;if(this.isValidLookup(r))return;l=oe;const te=[x];if((ne=this.i18nFormat)!=null&&ne.addLookupKeys)this.i18nFormat.addLookupKeys(te,x,oe,W,t);else{let G;k&&(G=this.pluralResolver.getSuffix(oe,t.count,t));const ie=`${this.options.pluralSeparator}zero`,de=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(k&&(te.push(x+G),t.ordinal&&G.indexOf(de)===0&&te.push(x+G.replace(de,this.options.pluralSeparator)),P&&te.push(x+ie)),U){const fe=`${x}${this.options.contextSeparator}${t.context}`;te.push(fe),k&&(te.push(fe+G),t.ordinal&&G.indexOf(de)===0&&te.push(fe+G.replace(de,this.options.pluralSeparator)),P&&te.push(fe+ie))}}let q;for(;q=te.pop();)this.isValidLookup(r)||(s=q,r=this.getResource(oe,W,q,t))}))})}),{res:r,usedKey:i,exactUsedKey:s,usedLng:l,usedNS:o}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,t,r){var s;let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return(s=this.i18nFormat)!=null&&s.getResource?this.i18nFormat.getResource(e,t,r,i):this.resourceStore.getResource(e,t,r,i)}getUsedParamsDetails(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=e.replace&&!wo(e.replace);let i=r?e.replace:e;if(r&&typeof e.count<"u"&&(i.count=e.count),this.options.interpolation.defaultVariables&&(i={...this.options.interpolation.defaultVariables,...i}),!r){i={...i};for(const s of t)delete i[s]}return i}static hasDefaultValue(e){const t="defaultValue";for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t===r.substring(0,t.length)&&e[r]!==void 0)return!0;return!1}}class M8{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Qp.create("languageUtils")}getScriptPartFromCode(e){if(e=Rb(e),!e||e.indexOf("-")<0)return null;const t=e.split("-");return t.length===2||(t.pop(),t[t.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(e=Rb(e),!e||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(wo(e)&&e.indexOf("-")>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch{}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(r=>{if(t)return;const i=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(i))&&(t=i)}),!t&&this.options.supportedLngs&&e.forEach(r=>{if(t)return;const i=this.getScriptPartFromCode(r);if(this.isSupportedCode(i))return t=i;const s=this.getLanguagePartFromCode(r);if(this.isSupportedCode(s))return t=s;t=this.options.supportedLngs.find(l=>{if(l===s)return l;if(!(l.indexOf("-")<0&&s.indexOf("-")<0)&&(l.indexOf("-")>0&&s.indexOf("-")<0&&l.substring(0,l.indexOf("-"))===s||l.indexOf(s)===0&&s.length>1))return l})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if(typeof e=="function"&&(e=e(t)),wo(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let r=e[t];return r||(r=e[this.getScriptPartFromCode(t)]),r||(r=e[this.formatLanguageCode(t)]),r||(r=e[this.getLanguagePartFromCode(t)]),r||(r=e.default),r||[]}toResolveHierarchy(e,t){const r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),i=[],s=l=>{l&&(this.isSupportedCode(l)?i.push(l):this.logger.warn(`rejecting language code not found in supportedLngs: ${l}`))};return wo(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(e))):wo(e)&&s(this.formatLanguageCode(e)),r.forEach(l=>{i.indexOf(l)<0&&s(this.formatLanguageCode(l))}),i}}const w8={zero:0,one:1,two:2,few:3,many:4,other:5},S8={select:n=>n===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class hj{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=Qp.create("pluralResolver"),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=Rb(e==="dev"?"en":e),i=t.ordinal?"ordinal":"cardinal",s=JSON.stringify({cleanedCode:r,type:i});if(s in this.pluralRulesCache)return this.pluralRulesCache[s];let l;try{l=new Intl.PluralRules(r,{type:i})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),S8;if(!e.match(/-|_/))return S8;const f=this.languageUtils.getLanguagePartFromCode(e);l=this.getRule(f,t)}return this.pluralRulesCache[s]=l,l}needsPlural(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=this.getRule(e,t);return r||(r=this.getRule("dev",t)),(r==null?void 0:r.resolvedOptions().pluralCategories.length)>1}getPluralFormsOfKey(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(e,r).map(i=>`${t}${i}`)}getSuffixes(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=this.getRule(e,t);return r||(r=this.getRule("dev",t)),r?r.resolvedOptions().pluralCategories.sort((i,s)=>w8[i]-w8[s]).map(i=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${i}`):[]}getSuffix(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const i=this.getRule(e,r);return i?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${i.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,r))}}const E8=function(n,e,t){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,s=ij(n,e,t);return!s&&i&&wo(t)&&(s=IE(n,t,r),s===void 0&&(s=IE(e,t,r))),s},M3=n=>n.replace(/\$/g,"$$$$");class dj{constructor(){var t;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Qp.create("interpolator"),this.options=e,this.format=((t=e==null?void 0:e.interpolation)==null?void 0:t.format)||(r=>r),this.init(e)}init(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:r,useRawValueToEscape:i,prefix:s,prefixEscaped:l,suffix:o,suffixEscaped:f,formatSeparator:v,unescapeSuffix:x,unescapePrefix:B,nestingPrefix:k,nestingPrefixEscaped:P,nestingSuffix:U,nestingSuffixEscaped:N,nestingOptionsSeparator:W,maxReplaces:V,alwaysFormat:$}=e.interpolation;this.escape=t!==void 0?t:sj,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=i!==void 0?i:!1,this.prefix=s?c1(s):l||"{{",this.suffix=o?c1(o):f||"}}",this.formatSeparator=v||",",this.unescapePrefix=x?"":B||"-",this.unescapeSuffix=this.unescapePrefix?"":x||"",this.nestingPrefix=k?c1(k):P||c1("$t("),this.nestingSuffix=U?c1(U):N||c1(")"),this.nestingOptionsSeparator=W||",",this.maxReplaces=V||1e3,this.alwaysFormat=$!==void 0?$:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(t,r)=>(t==null?void 0:t.source)===r?(t.lastIndex=0,t):new RegExp(r,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,r,i){var P;let s,l,o;const f=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},v=U=>{if(U.indexOf(this.formatSeparator)<0){const $=E8(t,f,U,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format($,void 0,r,{...i,...t,interpolationkey:U}):$}const N=U.split(this.formatSeparator),W=N.shift().trim(),V=N.join(this.formatSeparator).trim();return this.format(E8(t,f,W,this.options.keySeparator,this.options.ignoreJSONStructure),V,r,{...i,...t,interpolationkey:W})};this.resetRegExp();const x=(i==null?void 0:i.missingInterpolationHandler)||this.options.missingInterpolationHandler,B=((P=i==null?void 0:i.interpolation)==null?void 0:P.skipOnVariables)!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:U=>M3(U)},{regex:this.regexp,safeValue:U=>this.escapeValue?M3(this.escape(U)):M3(U)}].forEach(U=>{for(o=0;s=U.regex.exec(e);){const N=s[1].trim();if(l=v(N),l===void 0)if(typeof x=="function"){const V=x(e,s,i);l=wo(V)?V:""}else if(i&&Object.prototype.hasOwnProperty.call(i,N))l="";else if(B){l=s[0];continue}else this.logger.warn(`missed to pass in variable ${N} for interpolating ${e}`),l="";else!wo(l)&&!this.useRawValueToEscape&&(l=g8(l));const W=U.safeValue(l);if(e=e.replace(s[0],W),B?(U.regex.lastIndex+=l.length,U.regex.lastIndex-=s[0].length):U.regex.lastIndex=0,o++,o>=this.maxReplaces)break}}),e}nest(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i,s,l;const o=(f,v)=>{const x=this.nestingOptionsSeparator;if(f.indexOf(x)<0)return f;const B=f.split(new RegExp(`${x}[ ]*{`));let k=`{${B[1]}`;f=B[0],k=this.interpolate(k,l);const P=k.match(/'/g),U=k.match(/"/g);(((P==null?void 0:P.length)??0)%2===0&&!U||U.length%2!==0)&&(k=k.replace(/'/g,'"'));try{l=JSON.parse(k),v&&(l={...v,...l})}catch(N){return this.logger.warn(`failed parsing options string in nesting for key ${f}`,N),`${f}${x}${k}`}return l.defaultValue&&l.defaultValue.indexOf(this.prefix)>-1&&delete l.defaultValue,f};for(;i=this.nestingRegexp.exec(e);){let f=[];l={...r},l=l.replace&&!wo(l.replace)?l.replace:l,l.applyPostProcessor=!1,delete l.defaultValue;let v=!1;if(i[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(i[1])){const x=i[1].split(this.formatSeparator).map(B=>B.trim());i[1]=x.shift(),f=x,v=!0}if(s=t(o.call(this,i[1].trim(),l),l),s&&i[0]===e&&!wo(s))return s;wo(s)||(s=g8(s)),s||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${e}`),s=""),v&&(s=f.reduce((x,B)=>this.format(x,B,r.lng,{...r,interpolationkey:i[1].trim()}),s.trim())),e=e.replace(i[0],s),this.regexp.lastIndex=0}return e}}const fj=n=>{let e=n.toLowerCase().trim();const t={};if(n.indexOf("(")>-1){const r=n.split("(");e=r[0].toLowerCase().trim();const i=r[1].substring(0,r[1].length-1);e==="currency"&&i.indexOf(":")<0?t.currency||(t.currency=i.trim()):e==="relativetime"&&i.indexOf(":")<0?t.range||(t.range=i.trim()):i.split(";").forEach(l=>{if(l){const[o,...f]=l.split(":"),v=f.join(":").trim().replace(/^'+|'+$/g,""),x=o.trim();t[x]||(t[x]=v),v==="false"&&(t[x]=!1),v==="true"&&(t[x]=!0),isNaN(v)||(t[x]=parseInt(v,10))}})}return{formatName:e,formatOptions:t}},h1=n=>{const e={};return(t,r,i)=>{let s=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(s={...s,[i.interpolationkey]:void 0});const l=r+JSON.stringify(s);let o=e[l];return o||(o=n(Rb(r),i),e[l]=o),o(t)}};class pj{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Qp.create("formatter"),this.options=e,this.formats={number:h1((t,r)=>{const i=new Intl.NumberFormat(t,{...r});return s=>i.format(s)}),currency:h1((t,r)=>{const i=new Intl.NumberFormat(t,{...r,style:"currency"});return s=>i.format(s)}),datetime:h1((t,r)=>{const i=new Intl.DateTimeFormat(t,{...r});return s=>i.format(s)}),relativetime:h1((t,r)=>{const i=new Intl.RelativeTimeFormat(t,{...r});return s=>i.format(s,r.range||"day")}),list:h1((t,r)=>{const i=new Intl.ListFormat(t,{...r});return s=>i.format(s)})},this.init(e)}init(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=t.interpolation.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=h1(t)}format(e,t,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const s=t.split(this.formatSeparator);if(s.length>1&&s[0].indexOf("(")>1&&s[0].indexOf(")")<0&&s.find(o=>o.indexOf(")")>-1)){const o=s.findIndex(f=>f.indexOf(")")>-1);s[0]=[s[0],...s.splice(1,o)].join(this.formatSeparator)}return s.reduce((o,f)=>{var B;const{formatName:v,formatOptions:x}=fj(f);if(this.formats[v]){let k=o;try{const P=((B=i==null?void 0:i.formatParams)==null?void 0:B[i.interpolationkey])||{},U=P.locale||P.lng||i.locale||i.lng||r;k=this.formats[v](o,U,{...x,...i,...P})}catch(P){this.logger.warn(P)}return k}else this.logger.warn(`there was no format function for ${v}`);return o},e)}}const mj=(n,e)=>{n.pending[e]!==void 0&&(delete n.pending[e],n.pendingCount--)};class gj extends U2{constructor(e,t,r){var s,l;let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=r,this.languageUtils=r.languageUtils,this.options=i,this.logger=Qp.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=i.maxParallelReads||10,this.readingCalls=0,this.maxRetries=i.maxRetries>=0?i.maxRetries:5,this.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,this.state={},this.queue=[],(l=(s=this.backend)==null?void 0:s.init)==null||l.call(s,r,i.backend,i)}queueLoad(e,t,r,i){const s={},l={},o={},f={};return e.forEach(v=>{let x=!0;t.forEach(B=>{const k=`${v}|${B}`;!r.reload&&this.store.hasResourceBundle(v,B)?this.state[k]=2:this.state[k]<0||(this.state[k]===1?l[k]===void 0&&(l[k]=!0):(this.state[k]=1,x=!1,l[k]===void 0&&(l[k]=!0),s[k]===void 0&&(s[k]=!0),f[B]===void 0&&(f[B]=!0)))}),x||(o[v]=!0)}),(Object.keys(s).length||Object.keys(l).length)&&this.queue.push({pending:l,pendingCount:Object.keys(l).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(s),pending:Object.keys(l),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(f)}}loaded(e,t,r){const i=e.split("|"),s=i[0],l=i[1];t&&this.emit("failedLoading",s,l,t),!t&&r&&this.store.addResourceBundle(s,l,r,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&r&&(this.state[e]=0);const o={};this.queue.forEach(f=>{rj(f.loaded,[s],l),mj(f,e),t&&f.errors.push(t),f.pendingCount===0&&!f.done&&(Object.keys(f.loaded).forEach(v=>{o[v]||(o[v]={});const x=f.loaded[v];x.length&&x.forEach(B=>{o[v][B]===void 0&&(o[v][B]=!0)})}),f.done=!0,f.errors.length?f.callback(f.errors):f.callback())}),this.emit("loaded",o),this.queue=this.queue.filter(f=>!f.done)}read(e,t,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,l=arguments.length>5?arguments[5]:void 0;if(!e.length)return l(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:r,tried:i,wait:s,callback:l});return}this.readingCalls++;const o=(v,x)=>{if(this.readingCalls--,this.waitingReads.length>0){const B=this.waitingReads.shift();this.read(B.lng,B.ns,B.fcName,B.tried,B.wait,B.callback)}if(v&&x&&i{this.read.call(this,e,t,r,i+1,s*2,l)},s);return}l(v,x)},f=this.backend[r].bind(this.backend);if(f.length===2){try{const v=f(e,t);v&&typeof v.then=="function"?v.then(x=>o(null,x)).catch(o):o(null,v)}catch(v){o(v)}return}return f(e,t,o)}prepareLoading(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();wo(e)&&(e=this.languageUtils.toResolveHierarchy(e)),wo(t)&&(t=[t]);const s=this.queueLoad(e,t,r,i);if(!s.toLoad.length)return s.pending.length||i(),null;s.toLoad.forEach(l=>{this.loadOne(l)})}load(e,t,r){this.prepareLoading(e,t,{},r)}reload(e,t,r){this.prepareLoading(e,t,{reload:!0},r)}loadOne(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const r=e.split("|"),i=r[0],s=r[1];this.read(i,s,"read",void 0,void 0,(l,o)=>{l&&this.logger.warn(`${t}loading namespace ${s} for language ${i} failed`,l),!l&&o&&this.logger.log(`${t}loaded namespace ${s} for language ${i}`,o),this.loaded(e,l,o)})}saveMissing(e,t,r,i,s){var f,v,x,B,k;let l=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if((v=(f=this.services)==null?void 0:f.utils)!=null&&v.hasLoadedNamespace&&!((B=(x=this.services)==null?void 0:x.utils)!=null&&B.hasLoadedNamespace(t))){this.logger.warn(`did not save key "${r}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if((k=this.backend)!=null&&k.create){const P={...l,isUpdate:s},U=this.backend.create.bind(this.backend);if(U.length<6)try{let N;U.length===5?N=U(e,t,r,i,P):N=U(e,t,r,i),N&&typeof N.then=="function"?N.then(W=>o(null,W)).catch(o):o(null,N)}catch(N){o(N)}else U(e,t,r,i,o,P)}!e||!e[0]||this.store.addResource(e[0],t,r,i)}}}const B8=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:n=>{let e={};if(typeof n[1]=="object"&&(e=n[1]),wo(n[1])&&(e.defaultValue=n[1]),wo(n[2])&&(e.tDescription=n[2]),typeof n[2]=="object"||typeof n[3]=="object"){const t=n[3]||n[2];Object.keys(t).forEach(r=>{e[r]=t[r]})}return e},interpolation:{escapeValue:!0,format:n=>n,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),O8=n=>{var e,t;return wo(n.ns)&&(n.ns=[n.ns]),wo(n.fallbackLng)&&(n.fallbackLng=[n.fallbackLng]),wo(n.fallbackNS)&&(n.fallbackNS=[n.fallbackNS]),((t=(e=n.supportedLngs)==null?void 0:e.indexOf)==null?void 0:t.call(e,"cimode"))<0&&(n.supportedLngs=n.supportedLngs.concat(["cimode"])),typeof n.initImmediate=="boolean"&&(n.initAsync=n.initImmediate),n},I_=()=>{},yj=n=>{Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach(t=>{typeof n[t]=="function"&&(n[t]=n[t].bind(n))})};class eC extends U2{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(super(),this.options=O8(e),this.services={},this.logger=Qp,this.modules={external:[]},yj(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(){var e=this;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof t=="function"&&(r=t,t={}),t.defaultNS==null&&t.ns&&(wo(t.ns)?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const i=B8();this.options={...i,...this.options,...O8(t)},this.options.interpolation={...i.interpolation,...this.options.interpolation},t.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=t.keySeparator),t.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=t.nsSeparator);const s=x=>x?typeof x=="function"?new x:x:null;if(!this.options.isClone){this.modules.logger?Qp.init(s(this.modules.logger),this.options):Qp.init(null,this.options);let x;this.modules.formatter?x=this.modules.formatter:x=pj;const B=new M8(this.options);this.store=new _8(this.options.resources,this.options);const k=this.services;k.logger=Qp,k.resourceStore=this.store,k.languageUtils=B,k.pluralResolver=new hj(B,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),x&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(k.formatter=s(x),k.formatter.init(k,this.options),this.options.interpolation.format=k.formatter.format.bind(k.formatter)),k.interpolator=new dj(this.options),k.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},k.backendConnector=new gj(s(this.modules.backend),k.resourceStore,k,this.options),k.backendConnector.on("*",function(P){for(var U=arguments.length,N=new Array(U>1?U-1:0),W=1;W1?U-1:0),W=1;W{P.init&&P.init(this)})}if(this.format=this.options.interpolation.format,r||(r=I_),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const x=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);x.length>0&&x[0]!=="dev"&&(this.options.lng=x[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(x=>{this[x]=function(){return e.store[x](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(x=>{this[x]=function(){return e.store[x](...arguments),e}});const f=lv(),v=()=>{const x=(B,k)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),f.resolve(k),r(B,k)};if(this.languages&&!this.isInitialized)return x(null,this.t.bind(this));this.changeLanguage(this.options.lng,x)};return this.options.resources||!this.options.initAsync?v():setTimeout(v,0),f}loadResources(e){var s,l;let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:I_;const i=wo(e)?e:this.language;if(typeof e=="function"&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if((i==null?void 0:i.toLowerCase())==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const o=[],f=v=>{if(!v||v==="cimode")return;this.services.languageUtils.toResolveHierarchy(v).forEach(B=>{B!=="cimode"&&o.indexOf(B)<0&&o.push(B)})};i?f(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(x=>f(x)),(l=(s=this.options.preload)==null?void 0:s.forEach)==null||l.call(s,v=>f(v)),this.services.backendConnector.load(o,this.options.ns,v=>{!v&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(v)})}else r(null)}reloadResources(e,t,r){const i=lv();return typeof e=="function"&&(r=e,e=void 0),typeof t=="function"&&(r=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),r||(r=I_),this.services.backendConnector.reload(e,t,s=>{i.resolve(),r(s)}),i}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return e.type==="backend"&&(this.modules.backend=e),(e.type==="logger"||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type==="languageDetector"&&(this.modules.languageDetector=e),e.type==="i18nFormat"&&(this.modules.i18nFormat=e),e.type==="postProcessor"&&wD.addPostProcessor(e),e.type==="formatter"&&(this.modules.formatter=e),e.type==="3rdParty"&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!(["cimode","dev"].indexOf(e)>-1)){for(let t=0;t-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}!this.resolvedLanguage&&this.languages.indexOf(e)<0&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.indexOf(e)<0&&this.languages.unshift(e))}}changeLanguage(e,t){var r=this;this.isLanguageChangingTo=e;const i=lv();this.emit("languageChanging",e);const s=f=>{this.language=f,this.languages=this.services.languageUtils.toResolveHierarchy(f),this.resolvedLanguage=void 0,this.setResolvedLanguage(f)},l=(f,v)=>{v?this.isLanguageChangingTo===e&&(s(v),this.translator.changeLanguage(v),this.isLanguageChangingTo=void 0,this.emit("languageChanged",v),this.logger.log("languageChanged",v)):this.isLanguageChangingTo=void 0,i.resolve(function(){return r.t(...arguments)}),t&&t(f,function(){return r.t(...arguments)})},o=f=>{var B,k;!e&&!f&&this.services.languageDetector&&(f=[]);const v=wo(f)?f:f&&f[0],x=this.store.hasLanguageSomeTranslations(v)?v:this.services.languageUtils.getBestMatchFromCodes(wo(f)?[f]:f);x&&(this.language||s(x),this.translator.language||this.translator.changeLanguage(x),(k=(B=this.services.languageDetector)==null?void 0:B.cacheUserLanguage)==null||k.call(B,x)),this.loadResources(x,P=>{l(P,x)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?o(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(o):this.services.languageDetector.detect(o):o(e),i}getFixedT(e,t,r){var i=this;const s=function(l,o){let f;if(typeof o!="object"){for(var v=arguments.length,x=new Array(v>2?v-2:0),B=2;B`${f.keyPrefix}${k}${U}`):P=f.keyPrefix?`${f.keyPrefix}${k}${l}`:l,i.t(P,f)};return wo(e)?s.lng=e:s.lngs=e,s.ns=t,s.keyPrefix=r,s}t(){var i;for(var e=arguments.length,t=new Array(e),r=0;r1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=t.lng||this.resolvedLanguage||this.languages[0],i=this.options?this.options.fallbackLng:!1,s=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const l=(o,f)=>{const v=this.services.backendConnector.state[`${o}|${f}`];return v===-1||v===0||v===2};if(t.precheck){const o=t.precheck(this,l);if(o!==void 0)return o}return!!(this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||l(r,e)&&(!i||l(s,e)))}loadNamespaces(e,t){const r=lv();return this.options.ns?(wo(e)&&(e=[e]),e.forEach(i=>{this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}),this.loadResources(i=>{r.resolve(),t&&t(i)}),r):(t&&t(),Promise.resolve())}loadLanguages(e,t){const r=lv();wo(e)&&(e=[e]);const i=this.options.preload||[],s=e.filter(l=>i.indexOf(l)<0&&this.services.languageUtils.isSupportedCode(l));return s.length?(this.options.preload=i.concat(s),this.loadResources(l=>{r.resolve(),t&&t(l)}),r):(t&&t(),Promise.resolve())}dir(e){var i,s;if(e||(e=this.resolvedLanguage||(((i=this.languages)==null?void 0:i.length)>0?this.languages[0]:this.language)),!e)return"rtl";const t=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=((s=this.services)==null?void 0:s.languageUtils)||new M8(B8());return t.indexOf(r.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new eC(e,t)}cloneInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:I_;const r=e.forkResourceStore;r&&delete e.forkResourceStore;const i={...this.options,...e,isClone:!0},s=new eC(i);if((e.debug!==void 0||e.prefix!==void 0)&&(s.logger=s.logger.clone(e)),["store","services","language"].forEach(o=>{s[o]=this[o]}),s.services={...this.services},s.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},r){const o=Object.keys(this.store.data).reduce((f,v)=>(f[v]={...this.store.data[v]},Object.keys(f[v]).reduce((x,B)=>(x[B]={...f[v][B]},x),{})),{});s.store=new _8(o,i),s.services.resourceStore=s.store}return s.translator=new Fb(s.services,i),s.translator.on("*",function(o){for(var f=arguments.length,v=new Array(f>1?f-1:0),x=1;x{if(e)for(const t in e)n[t]===void 0&&(n[t]=e[t])}),n}function bj(n){return typeof n!="string"?!1:[/<\s*script.*?>/i,/<\s*\/\s*script\s*>/i,/<\s*img.*?on\w+\s*=/i,/<\s*\w+\s*on\w+\s*=.*?>/i,/javascript\s*:/i,/vbscript\s*:/i,/expression\s*\(/i,/eval\s*\(/i,/alert\s*\(/i,/document\.cookie/i,/document\.write\s*\(/i,/window\.location/i,/innerHTML/i].some(t=>t.test(n))}const I8=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,xj=function(n,e){const r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{path:"/"},i=encodeURIComponent(e);let s=`${n}=${i}`;if(r.maxAge>0){const l=r.maxAge-0;if(Number.isNaN(l))throw new Error("maxAge should be a Number");s+=`; Max-Age=${Math.floor(l)}`}if(r.domain){if(!I8.test(r.domain))throw new TypeError("option domain is invalid");s+=`; Domain=${r.domain}`}if(r.path){if(!I8.test(r.path))throw new TypeError("option path is invalid");s+=`; Path=${r.path}`}if(r.expires){if(typeof r.expires.toUTCString!="function")throw new TypeError("option expires is invalid");s+=`; Expires=${r.expires.toUTCString()}`}if(r.httpOnly&&(s+="; HttpOnly"),r.secure&&(s+="; Secure"),r.sameSite)switch(typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite){case!0:s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"strict":s+="; SameSite=Strict";break;case"none":s+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return s},T8={create(n,e,t,r){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};t&&(i.expires=new Date,i.expires.setTime(i.expires.getTime()+t*60*1e3)),r&&(i.domain=r),document.cookie=xj(n,encodeURIComponent(e),i)},read(n){const e=`${n}=`,t=document.cookie.split(";");for(let r=0;r-1&&(i=window.location.hash.substring(window.location.hash.indexOf("?")));const l=i.substring(1).split("&");for(let o=0;o0&&l[o].substring(0,f)===e&&(t=l[o].substring(f+1))}}return t}};let d1=null;const k8=()=>{if(d1!==null)return d1;try{if(d1=typeof window<"u"&&window.localStorage!==null,!d1)return!1;const n="i18next.translate.boo";window.localStorage.setItem(n,"foo"),window.localStorage.removeItem(n)}catch{d1=!1}return d1};var Sj={name:"localStorage",lookup(n){let{lookupLocalStorage:e}=n;if(e&&k8())return window.localStorage.getItem(e)||void 0},cacheUserLanguage(n,e){let{lookupLocalStorage:t}=e;t&&k8()&&window.localStorage.setItem(t,n)}};let f1=null;const P8=()=>{if(f1!==null)return f1;try{if(f1=typeof window<"u"&&window.sessionStorage!==null,!f1)return!1;const n="i18next.translate.boo";window.sessionStorage.setItem(n,"foo"),window.sessionStorage.removeItem(n)}catch{f1=!1}return f1};var Ej={name:"sessionStorage",lookup(n){let{lookupSessionStorage:e}=n;if(e&&P8())return window.sessionStorage.getItem(e)||void 0},cacheUserLanguage(n,e){let{lookupSessionStorage:t}=e;t&&P8()&&window.sessionStorage.setItem(t,n)}},Bj={name:"navigator",lookup(n){const e=[];if(typeof navigator<"u"){const{languages:t,userLanguage:r,language:i}=navigator;if(t)for(let s=0;s0?e:void 0}},Oj={name:"htmlTag",lookup(n){let{htmlTag:e}=n,t;const r=e||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(t=r.getAttribute("lang")),t}},Ij={name:"path",lookup(n){var i;let{lookupFromPathIndex:e}=n;if(typeof window>"u")return;const t=window.location.pathname.match(/\/([a-zA-Z-]*)/g);return Array.isArray(t)?(i=t[typeof e=="number"?e:0])==null?void 0:i.replace("/",""):void 0}},Tj={name:"subdomain",lookup(n){var i,s;let{lookupFromSubdomainIndex:e}=n;const t=typeof e=="number"?e+1:1,r=typeof window<"u"&&((s=(i=window.location)==null?void 0:i.hostname)==null?void 0:s.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i));if(r)return r[t]}};let SD=!1;try{document.cookie,SD=!0}catch{}const ED=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];SD||ED.splice(1,1);const kj=()=>({order:ED,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:n=>n});class BD{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(e,t)}init(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{languageUtils:{}},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=e,this.options=_j(t,this.options||{},kj()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=i=>i.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=r,this.addDetector(Mj),this.addDetector(wj),this.addDetector(Sj),this.addDetector(Ej),this.addDetector(Bj),this.addDetector(Oj),this.addDetector(Ij),this.addDetector(Tj)}addDetector(e){return this.detectors[e.name]=e,this}detect(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.order,t=[];return e.forEach(r=>{if(this.detectors[r]){let i=this.detectors[r].lookup(this.options);i&&typeof i=="string"&&(i=[i]),i&&(t=t.concat(i))}}),t=t.filter(r=>r!=null&&!bj(r)).map(r=>this.options.convertDetectedLanguage(r)),this.services&&this.services.languageUtils&&this.services.languageUtils.getBestMatchFromCodes?t:t.length>0?t[0]:null}cacheUserLanguage(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.options.caches;t&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||t.forEach(r=>{this.detectors[r]&&this.detectors[r].cacheUserLanguage(e,this.options)}))}}BD.type="languageDetector";var Pj=function(e){return{type:"backend",init:function(r,i,s){},read:function(r,i,s){if(typeof e=="function"){if(e.length<3){try{var l=e(r,i);l&&typeof l.then=="function"?l.then(function(o){return s(null,o&&o.default||o)}).catch(s):s(null,l)}catch(o){s(o)}return}e(r,i,s);return}s(null,e&&e[r]&&e[r][i])}}},w3,K8;function Kj(){return K8||(K8=1,w3={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}),w3}var Rj=Kj();const Dj=hl(Rj);var Fj=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function R8(n){var e={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},t=n.match(/<\/?([^\s]+?)[/\s>]/);if(t&&(e.name=t[1],(Dj[t[1]]||n.charAt(n.length-2)==="/")&&(e.voidElement=!0),e.name.startsWith("!--"))){var r=n.indexOf("-->");return{type:"comment",comment:r!==-1?n.slice(4,r):""}}for(var i=new RegExp(Fj),s=null;(s=i.exec(n))!==null;)if(s[0].trim())if(s[1]){var l=s[1].trim(),o=[l,""];l.indexOf("=")>-1&&(o=l.split("=")),e.attrs[o[0]]=o[1],i.lastIndex--}else s[2]&&(e.attrs[s[2]]=s[3].trim().substring(1,s[3].length-1));return e}var Lj=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,Uj=/^\s*$/,zj=Object.create(null);function OD(n,e){switch(e.type){case"text":return n+e.content;case"tag":return n+="<"+e.name+(e.attrs?function(t){var r=[];for(var i in t)r.push(i+'="'+t[i]+'"');return r.length?" "+r.join(" "):""}(e.attrs):"")+(e.voidElement?"/>":">"),e.voidElement?n:n+e.children.reduce(OD,"")+"";case"comment":return n+""}}var Nj={parse:function(n,e){e||(e={}),e.components||(e.components=zj);var t,r=[],i=[],s=-1,l=!1;if(n.indexOf("<")!==0){var o=n.indexOf("<");r.push({type:"text",content:o===-1?n:n.substring(0,o)})}return n.replace(Lj,function(f,v){if(l){if(f!=="")return;l=!1}var x,B=f.charAt(1)!=="/",k=f.startsWith("");return{type:"comment",comment:r!==-1?n.slice(4,r):""}}for(var i=new RegExp(qj),s=null;(s=i.exec(n))!==null;)if(s[0].trim())if(s[1]){var l=s[1].trim(),o=[l,""];l.indexOf("=")>-1&&(o=l.split("=")),e.attrs[o[0]]=o[1],i.lastIndex--}else s[2]&&(e.attrs[s[2]]=s[3].trim().substring(1,s[3].length-1));return e}var Vj=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,Hj=/^\s*$/,$j=Object.create(null);function FD(n,e){switch(e.type){case"text":return n+e.content;case"tag":return n+="<"+e.name+(e.attrs?function(t){var r=[];for(var i in t)r.push(i+'="'+t[i]+'"');return r.length?" "+r.join(" "):""}(e.attrs):"")+(e.voidElement?"/>":">"),e.voidElement?n:n+e.children.reduce(FD,"")+"";case"comment":return n+""}}var Zj={parse:function(n,e){e||(e={}),e.components||(e.components=$j);var t,r=[],i=[],s=-1,l=!1;if(n.indexOf("<")!==0){var o=n.indexOf("<");r.push({type:"text",content:o===-1?n:n.substring(0,o)})}return n.replace(Vj,function(p,v){if(l){if(p!=="")return;l=!1}var x,B=p.charAt(1)!=="/",k=p.startsWith("