From 987c3cd31e38ea107d25c8974265999313cf0a27 Mon Sep 17 00:00:00 2001 From: HarelM Date: Wed, 21 Aug 2024 04:18:41 +0000 Subject: [PATCH] deploy: 6a0d2e8ee52d7d48fab9128d6376387b8986176c --- .../{index-C-Mqn3ew.js => index-BuFp18Vq.js} | 120 +++++++++--------- ...-C-Mqn3ew.js.map => index-BuFp18Vq.js.map} | 2 +- assets/translation-DoS3tcPI.js | 2 + assets/translation-DoS3tcPI.js.map | 1 + index.html | 2 +- 5 files changed, 65 insertions(+), 62 deletions(-) rename assets/{index-C-Mqn3ew.js => index-BuFp18Vq.js} (95%) rename assets/{index-C-Mqn3ew.js.map => index-BuFp18Vq.js.map} (64%) create mode 100644 assets/translation-DoS3tcPI.js create mode 100644 assets/translation-DoS3tcPI.js.map diff --git a/assets/index-C-Mqn3ew.js b/assets/index-BuFp18Vq.js similarity index 95% rename from assets/index-C-Mqn3ew.js rename to assets/index-BuFp18Vq.js index b5001d71..96b351f2 100644 --- a/assets/index-C-Mqn3ew.js +++ b/assets/index-BuFp18Vq.js @@ -4,7 +4,7 @@ function __vite__mapDeps(indexes) { } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -var Gq=Object.defineProperty;var $q=(n,e,t)=>e in n?Gq(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var sn=(n,e,t)=>($q(n,typeof e!="symbol"?e+"":e,t),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 o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function t(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=t(i);fetch(i.href,o)}})();var Dh=typeof globalThis<"u"?globalThis:typeof window<"u"||typeof window<"u"?window:typeof self<"u"?self:{};function ma(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function QB(n){if(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 rF={exports:{}},P5={},iF={exports:{}},Bo={};/** +var Gq=Object.defineProperty;var $q=(n,e,t)=>e in n?Gq(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var sn=(n,e,t)=>($q(n,typeof e!="symbol"?e+"":e,t),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 o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function t(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=t(i);fetch(i.href,o)}})();var Dh=typeof globalThis<"u"?globalThis:typeof window<"u"||typeof window<"u"?window:typeof self<"u"?self:{};function ma(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function YB(n){if(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 rF={exports:{}},P5={},iF={exports:{}},Bo={};/** * @license React * react.production.min.js * @@ -12,7 +12,7 @@ var Gq=Object.defineProperty;var $q=(n,e,t)=>e in n?Gq(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 Bb=Symbol.for("react.element"),Qq=Symbol.for("react.portal"),Yq=Symbol.for("react.fragment"),qq=Symbol.for("react.strict_mode"),Vq=Symbol.for("react.profiler"),Hq=Symbol.for("react.provider"),Zq=Symbol.for("react.context"),Xq=Symbol.for("react.forward_ref"),Jq=Symbol.for("react.suspense"),eV=Symbol.for("react.memo"),tV=Symbol.for("react.lazy"),zk=Symbol.iterator;function nV(n){return n===null||typeof n!="object"?null:(n=zk&&n[zk]||n["@@iterator"],typeof n=="function"?n:null)}var oF={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},aF=Object.assign,sF={};function xv(n,e,t){this.props=n,this.context=e,this.refs=sF,this.updater=t||oF}xv.prototype.isReactComponent={};xv.prototype.setState=function(n,e){if(typeof n!="object"&&typeof n!="function"&&n!=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,n,e,"setState")};xv.prototype.forceUpdate=function(n){this.updater.enqueueForceUpdate(this,n,"forceUpdate")};function lF(){}lF.prototype=xv.prototype;function YB(n,e,t){this.props=n,this.context=e,this.refs=sF,this.updater=t||oF}var qB=YB.prototype=new lF;qB.constructor=YB;aF(qB,xv.prototype);qB.isPureReactComponent=!0;var jk=Array.isArray,uF=Object.prototype.hasOwnProperty,VB={current:null},AF={key:!0,ref:!0,__self:!0,__source:!0};function cF(n,e,t){var r,i={},o=null,a=null;if(e!=null)for(r in e.ref!==void 0&&(a=e.ref),e.key!==void 0&&(o=""+e.key),e)uF.call(e,r)&&!AF.hasOwnProperty(r)&&(i[r]=e[r]);var s=arguments.length-2;if(s===1)i.children=t;else if(1e in n?Gq(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 sV=Wn,lV=Symbol.for("react.element"),uV=Symbol.for("react.fragment"),AV=Object.prototype.hasOwnProperty,cV=sV.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,dV={key:!0,ref:!0,__self:!0,__source:!0};function dF(n,e,t){var r,i={},o=null,a=null;t!==void 0&&(o=""+t),e.key!==void 0&&(o=""+e.key),e.ref!==void 0&&(a=e.ref);for(r in e)AV.call(e,r)&&!dV.hasOwnProperty(r)&&(i[r]=e[r]);if(n&&n.defaultProps)for(r in e=n.defaultProps,e)i[r]===void 0&&(i[r]=e[r]);return{$$typeof:lV,type:n,key:o,ref:a,props:i,_owner:cV.current}}P5.Fragment=uV;P5.jsx=dF;P5.jsxs=dF;rF.exports=P5;var G=rF.exports,hF={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},VE=Mn.createContext&&Mn.createContext(hF),hV=["attr","size","title"];function fV(n,e){if(n==null)return{};var t=pV(n,e),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(n,r)&&(t[r]=n[r])}return t}function pV(n,e){if(n==null)return{};var t={},r=Object.keys(n),i,o;for(o=0;o=0)&&(t[i]=n[i]);return t}function T3(){return T3=Object.assign?Object.assign.bind():function(n){for(var e=1;eMn.createElement(e.tag,K3({key:t},e.attr),fF(e.child)))}function Xs(n){return e=>Mn.createElement(vV,T3({attr:K3({},n.attr)},e),fF(n.child))}function vV(n){var e=t=>{var{attr:r,size:i,title:o}=n,a=fV(n,hV),s=i||t.size||"1em",d;return t.className&&(d=t.className),n.className&&(d=(d?d+" ":"")+n.className),Mn.createElement("svg",T3({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,r,a,{className:d,style:K3(K3({color:n.color||t.color},t.style),n.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),o&&Mn.createElement("title",null,o),n.children)};return VE!==void 0?Mn.createElement(VE.Consumer,null,t=>e(t)):e(hF)}var pF={exports:{}},od={},mF={exports:{}},gF={};/** + */var sV=Wn,lV=Symbol.for("react.element"),uV=Symbol.for("react.fragment"),AV=Object.prototype.hasOwnProperty,cV=sV.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,dV={key:!0,ref:!0,__self:!0,__source:!0};function dF(n,e,t){var r,i={},o=null,a=null;t!==void 0&&(o=""+t),e.key!==void 0&&(o=""+e.key),e.ref!==void 0&&(a=e.ref);for(r in e)AV.call(e,r)&&!dV.hasOwnProperty(r)&&(i[r]=e[r]);if(n&&n.defaultProps)for(r in e=n.defaultProps,e)i[r]===void 0&&(i[r]=e[r]);return{$$typeof:lV,type:n,key:o,ref:a,props:i,_owner:cV.current}}P5.Fragment=uV;P5.jsx=dF;P5.jsxs=dF;rF.exports=P5;var G=rF.exports,hF={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},HE=Mn.createContext&&Mn.createContext(hF),hV=["attr","size","title"];function fV(n,e){if(n==null)return{};var t=pV(n,e),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(n,r)&&(t[r]=n[r])}return t}function pV(n,e){if(n==null)return{};var t={},r=Object.keys(n),i,o;for(o=0;o=0)&&(t[i]=n[i]);return t}function T3(){return T3=Object.assign?Object.assign.bind():function(n){for(var e=1;eMn.createElement(e.tag,K3({key:t},e.attr),fF(e.child)))}function Xs(n){return e=>Mn.createElement(vV,T3({attr:K3({},n.attr)},e),fF(n.child))}function vV(n){var e=t=>{var{attr:r,size:i,title:o}=n,a=fV(n,hV),s=i||t.size||"1em",d;return t.className&&(d=t.className),n.className&&(d=(d?d+" ":"")+n.className),Mn.createElement("svg",T3({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,r,a,{className:d,style:K3(K3({color:n.color||t.color},t.style),n.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),o&&Mn.createElement("title",null,o),n.children)};return HE!==void 0?Mn.createElement(HE.Consumer,null,t=>e(t)):e(hF)}var pF={exports:{}},od={},mF={exports:{}},gF={};/** * @license React * scheduler.production.min.js * @@ -36,28 +36,28 @@ var Gq=Object.defineProperty;var $q=(n,e,t)=>e in n?Gq(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 yF=Wn,id=CV;function Yn(n){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+n,t=1;t"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),HE=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]*$/,Gk={},$k={};function bV(n){return HE.call($k,n)?!0:HE.call(Gk,n)?!1:_V.test(n)?$k[n]=!0:(Gk[n]=!0,!1)}function xV(n,e,t,r){if(t!==null&&t.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(n=n.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-");default:return!1}}function wV(n,e,t,r){if(e===null||typeof e>"u"||xV(n,e,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function QA(n,e,t,r,i,o,a){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=t,this.propertyName=n,this.type=e,this.sanitizeURL=o,this.removeEmptyString=a}var Nu={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){Nu[n]=new QA(n,0,!1,n,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var e=n[0];Nu[e]=new QA(e,1,!1,n[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(n){Nu[n]=new QA(n,2,!1,n.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){Nu[n]=new QA(n,2,!1,n,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(n){Nu[n]=new QA(n,3,!1,n.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(n){Nu[n]=new QA(n,3,!0,n,null,!1,!1)});["capture","download"].forEach(function(n){Nu[n]=new QA(n,4,!1,n,null,!1,!1)});["cols","rows","size","span"].forEach(function(n){Nu[n]=new QA(n,6,!1,n,null,!1,!1)});["rowSpan","start"].forEach(function(n){Nu[n]=new QA(n,5,!1,n.toLowerCase(),null,!1,!1)});var ZB=/[\-:]([a-z])/g;function XB(n){return n[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(n){var e=n.replace(ZB,XB);Nu[e]=new QA(e,1,!1,n,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n){var e=n.replace(ZB,XB);Nu[e]=new QA(e,1,!1,n,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(n){var e=n.replace(ZB,XB);Nu[e]=new QA(e,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(n){Nu[n]=new QA(n,1,!1,n.toLowerCase(),null,!1,!1)});Nu.xlinkHref=new QA("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(n){Nu[n]=new QA(n,1,!1,n.toLowerCase(),null,!0,!0)});function JB(n,e,t,r){var i=Nu.hasOwnProperty(e)?Nu[e]:null;(i!==null?i.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ZE=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]*$/,$k={},Qk={};function bV(n){return ZE.call(Qk,n)?!0:ZE.call($k,n)?!1:_V.test(n)?Qk[n]=!0:($k[n]=!0,!1)}function xV(n,e,t,r){if(t!==null&&t.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(n=n.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-");default:return!1}}function wV(n,e,t,r){if(e===null||typeof e>"u"||xV(n,e,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function QA(n,e,t,r,i,o,a){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=t,this.propertyName=n,this.type=e,this.sanitizeURL=o,this.removeEmptyString=a}var Nu={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){Nu[n]=new QA(n,0,!1,n,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var e=n[0];Nu[e]=new QA(e,1,!1,n[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(n){Nu[n]=new QA(n,2,!1,n.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){Nu[n]=new QA(n,2,!1,n,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(n){Nu[n]=new QA(n,3,!1,n.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(n){Nu[n]=new QA(n,3,!0,n,null,!1,!1)});["capture","download"].forEach(function(n){Nu[n]=new QA(n,4,!1,n,null,!1,!1)});["cols","rows","size","span"].forEach(function(n){Nu[n]=new QA(n,6,!1,n,null,!1,!1)});["rowSpan","start"].forEach(function(n){Nu[n]=new QA(n,5,!1,n.toLowerCase(),null,!1,!1)});var XB=/[\-:]([a-z])/g;function JB(n){return n[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(n){var e=n.replace(XB,JB);Nu[e]=new QA(e,1,!1,n,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n){var e=n.replace(XB,JB);Nu[e]=new QA(e,1,!1,n,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(n){var e=n.replace(XB,JB);Nu[e]=new QA(e,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(n){Nu[n]=new QA(n,1,!1,n.toLowerCase(),null,!1,!1)});Nu.xlinkHref=new QA("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(n){Nu[n]=new QA(n,1,!1,n.toLowerCase(),null,!0,!0)});function e7(n,e,t,r){var i=Nu.hasOwnProperty(e)?Nu[e]:null;(i!==null?i.type!==0:r||!(2s||i[a]!==o[s]){var d=` -`+i[a].replace(" at new "," at ");return n.displayName&&d.includes("")&&(d=d.replace("",n.displayName)),d}while(1<=a&&0<=s);break}}}finally{YM=!1,Error.prepareStackTrace=t}return(n=n?n.displayName||n.name:"")?$C(n):""}function MV(n){switch(n.tag){case 5:return $C(n.type);case 16:return $C("Lazy");case 13:return $C("Suspense");case 19:return $C("SuspenseList");case 0:case 2:case 15:return n=qM(n.type,!1),n;case 11:return n=qM(n.type.render,!1),n;case 1:return n=qM(n.type,!0),n;default:return""}}function e6(n){if(n==null)return null;if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case iy:return"Fragment";case ry:return"Portal";case ZE:return"Profiler";case e7:return"StrictMode";case XE:return"Suspense";case JE:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case _F:return(n.displayName||"Context")+".Consumer";case CF:return(n._context.displayName||"Context")+".Provider";case t7:var e=n.render;return n=n.displayName,n||(n=e.displayName||e.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case n7:return e=n.displayName||null,e!==null?e:e6(n.type)||"Memo";case Bm:e=n._payload,n=n._init;try{return e6(n(e))}catch{}}return null}function SV(n){var e=n.type;switch(n.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return n=e.render,n=n.displayName||n.name||"",e.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return e6(e);case 8:return e===e7?"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 e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function s0(n){switch(typeof n){case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function xF(n){var e=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function EV(n){var e=xF(n)?"checked":"value",t=Object.getOwnPropertyDescriptor(n.constructor.prototype,e),r=""+n[e];if(!n.hasOwnProperty(e)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var i=t.get,o=t.set;return Object.defineProperty(n,e,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(n,e,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){n._valueTracker=null,delete n[e]}}}}function r2(n){n._valueTracker||(n._valueTracker=EV(n))}function wF(n){if(!n)return!1;var e=n._valueTracker;if(!e)return!0;var t=e.getValue(),r="";return n&&(r=xF(n)?n.checked?"true":"false":n.value),n=r,n!==t?(e.setValue(n),!0):!1}function P3(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}function t6(n,e){var t=e.checked;return Zs({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??n._wrapperState.initialChecked})}function Yk(n,e){var t=e.defaultValue==null?"":e.defaultValue,r=e.checked!=null?e.checked:e.defaultChecked;t=s0(e.value!=null?e.value:t),n._wrapperState={initialChecked:r,initialValue:t,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function MF(n,e){e=e.checked,e!=null&&JB(n,"checked",e,!1)}function n6(n,e){MF(n,e);var t=s0(e.value),r=e.type;if(t!=null)r==="number"?(t===0&&n.value===""||n.value!=t)&&(n.value=""+t):n.value!==""+t&&(n.value=""+t);else if(r==="submit"||r==="reset"){n.removeAttribute("value");return}e.hasOwnProperty("value")?r6(n,e.type,t):e.hasOwnProperty("defaultValue")&&r6(n,e.type,s0(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(n.defaultChecked=!!e.defaultChecked)}function qk(n,e,t){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var r=e.type;if(!(r!=="submit"&&r!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+n._wrapperState.initialValue,t||e===n.value||(n.value=e),n.defaultValue=e}t=n.name,t!==""&&(n.name=""),n.defaultChecked=!!n._wrapperState.initialChecked,t!==""&&(n.name=t)}function r6(n,e,t){(e!=="number"||P3(n.ownerDocument)!==n)&&(t==null?n.defaultValue=""+n._wrapperState.initialValue:n.defaultValue!==""+t&&(n.defaultValue=""+t))}var QC=Array.isArray;function Oy(n,e,t,r){if(n=n.options,e){e={};for(var i=0;i"+e.valueOf().toString()+"",e=i2.firstChild;n.firstChild;)n.removeChild(n.firstChild);for(;e.firstChild;)n.appendChild(e.firstChild)}});function D_(n,e){if(e){var t=n.firstChild;if(t&&t===n.lastChild&&t.nodeType===3){t.nodeValue=e;return}}n.textContent=e}var s_={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},OV=["Webkit","ms","Moz","O"];Object.keys(s_).forEach(function(n){OV.forEach(function(e){e=e+n.charAt(0).toUpperCase()+n.substring(1),s_[e]=s_[n]})});function BF(n,e,t){return e==null||typeof e=="boolean"||e===""?"":t||typeof e!="number"||e===0||s_.hasOwnProperty(n)&&s_[n]?(""+e).trim():e+"px"}function IF(n,e){n=n.style;for(var t in e)if(e.hasOwnProperty(t)){var r=t.indexOf("--")===0,i=BF(t,e[t],r);t==="float"&&(t="cssFloat"),r?n.setProperty(t,i):n[t]=i}}var BV=Zs({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 a6(n,e){if(e){if(BV[n]&&(e.children!=null||e.dangerouslySetInnerHTML!=null))throw Error(Yn(137,n));if(e.dangerouslySetInnerHTML!=null){if(e.children!=null)throw Error(Yn(60));if(typeof e.dangerouslySetInnerHTML!="object"||!("__html"in e.dangerouslySetInnerHTML))throw Error(Yn(61))}if(e.style!=null&&typeof e.style!="object")throw Error(Yn(62))}}function s6(n,e){if(n.indexOf("-")===-1)return typeof e.is=="string";switch(n){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 l6=null;function r7(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var u6=null,By=null,Iy=null;function Zk(n){if(n=Tb(n)){if(typeof u6!="function")throw Error(Yn(280));var e=n.stateNode;e&&(e=R5(e),u6(n.stateNode,n.type,e))}}function kF(n){By?Iy?Iy.push(n):Iy=[n]:By=n}function TF(){if(By){var n=By,e=Iy;if(Iy=By=null,Zk(n),e)for(n=0;n>>=0,n===0?32:31-(zV(n)/jV|0)|0}var o2=64,a2=4194304;function YC(n){switch(n&-n){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 n&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return n&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return n}}function U3(n,e){var t=n.pendingLanes;if(t===0)return 0;var r=0,i=n.suspendedLanes,o=n.pingedLanes,a=t&268435455;if(a!==0){var s=a&~i;s!==0?r=YC(s):(o&=a,o!==0&&(r=YC(o)))}else a=t&~i,a!==0?r=YC(a):o!==0&&(r=YC(o));if(r===0)return 0;if(e!==0&&e!==r&&!(e&i)&&(i=r&-r,o=e&-e,i>=o||i===16&&(o&4194240)!==0))return e;if(r&4&&(r|=t&16),e=n.entangledLanes,e!==0)for(n=n.entanglements,e&=r;0t;t++)e.push(n);return e}function Ib(n,e,t){n.pendingLanes|=e,e!==536870912&&(n.suspendedLanes=0,n.pingedLanes=0),n=n.eventTimes,e=31-Th(e),n[e]=t}function $V(n,e){var t=n.pendingLanes&~e;n.pendingLanes=e,n.suspendedLanes=0,n.pingedLanes=0,n.expiredLanes&=e,n.mutableReadLanes&=e,n.entangledLanes&=e,e=n.entanglements;var r=n.eventTimes;for(n=n.expirationTimes;0=u_),a9=" ",s9=!1;function XF(n,e){switch(n){case"keyup":return vH.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function JF(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var oy=!1;function _H(n,e){switch(n){case"compositionend":return JF(e);case"keypress":return e.which!==32?null:(s9=!0,a9);case"textInput":return n=e.data,n===a9&&s9?null:n;default:return null}}function bH(n,e){if(oy)return n==="compositionend"||!c7&&XF(n,e)?(n=HF(),s3=l7=Um=null,oy=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=e)return{node:t,offset:e-n};n=r}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=c9(t)}}function rU(n,e){return n&&e?n===e?!0:n&&n.nodeType===3?!1:e&&e.nodeType===3?rU(n,e.parentNode):"contains"in n?n.contains(e):n.compareDocumentPosition?!!(n.compareDocumentPosition(e)&16):!1:!1}function iU(){for(var n=window,e=P3();e instanceof n.HTMLIFrameElement;){try{var t=typeof e.contentWindow.location.href=="string"}catch{t=!1}if(t)n=e.contentWindow;else break;e=P3(n.document)}return e}function d7(n){var e=n&&n.nodeName&&n.nodeName.toLowerCase();return e&&(e==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||e==="textarea"||n.contentEditable==="true")}function kH(n){var e=iU(),t=n.focusedElem,r=n.selectionRange;if(e!==t&&t&&t.ownerDocument&&rU(t.ownerDocument.documentElement,t)){if(r!==null&&d7(t)){if(e=r.start,n=r.end,n===void 0&&(n=e),"selectionStart"in t)t.selectionStart=e,t.selectionEnd=Math.min(n,t.value.length);else if(n=(e=t.ownerDocument||document)&&e.defaultView||window,n.getSelection){n=n.getSelection();var i=t.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!n.extend&&o>r&&(i=r,r=o,o=i),i=d9(t,o);var a=d9(t,r);i&&a&&(n.rangeCount!==1||n.anchorNode!==i.node||n.anchorOffset!==i.offset||n.focusNode!==a.node||n.focusOffset!==a.offset)&&(e=e.createRange(),e.setStart(i.node,i.offset),n.removeAllRanges(),o>r?(n.addRange(e),n.extend(a.node,a.offset)):(e.setEnd(a.node,a.offset),n.addRange(e)))}}for(e=[],n=t;n=n.parentNode;)n.nodeType===1&&e.push({element:n,left:n.scrollLeft,top:n.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t=document.documentMode,ay=null,p6=null,c_=null,m6=!1;function h9(n,e,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;m6||ay==null||ay!==P3(r)||(r=ay,"selectionStart"in r&&d7(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),c_&&N_(c_,r)||(c_=r,r=j3(p6,"onSelect"),0uy||(n.current=b6[uy],b6[uy]=null,uy--)}function ns(n,e){uy++,b6[uy]=n.current,n.current=e}var l0={},gA=h0(l0),wc=h0(!1),E1=l0;function ov(n,e){var t=n.type.contextTypes;if(!t)return l0;var r=n.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in t)i[o]=e[o];return r&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=e,n.__reactInternalMemoizedMaskedChildContext=i),i}function Mc(n){return n=n.childContextTypes,n!=null}function W3(){_s(wc),_s(gA)}function C9(n,e,t){if(gA.current!==l0)throw Error(Yn(168));ns(gA,e),ns(wc,t)}function hU(n,e,t){var r=n.stateNode;if(e=e.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var i in r)if(!(i in e))throw Error(Yn(108,SV(n)||"Unknown",i));return Zs({},t,r)}function G3(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||l0,E1=gA.current,ns(gA,n),ns(wc,wc.current),!0}function _9(n,e,t){var r=n.stateNode;if(!r)throw Error(Yn(169));t?(n=hU(n,e,E1),r.__reactInternalMemoizedMergedChildContext=n,_s(wc),_s(gA),ns(gA,n)):_s(wc),ns(wc,t)}var Kp=null,z5=!1,lS=!1;function fU(n){Kp===null?Kp=[n]:Kp.push(n)}function WH(n){z5=!0,fU(n)}function f0(){if(!lS&&Kp!==null){lS=!0;var n=0,e=Ba;try{var t=Kp;for(Ba=1;n>=a,i-=a,Rp=1<<32-Th(e)+i|t<oe?(Ce=X,X=null):Ce=X.sibling;var we=E(Q,X,Z[oe],ae);if(we===null){X===null&&(X=Ce);break}n&&X&&we.alternate===null&&e(Q,X),N=o(we,N,oe),fe===null?pe=we:fe.sibling=we,fe=we,X=Ce}if(oe===Z.length)return t(Q,X),Ks&&V0(Q,oe),pe;if(X===null){for(;oeoe?(Ce=X,X=null):Ce=X.sibling;var Te=E(Q,X,we.value,ae);if(Te===null){X===null&&(X=Ce);break}n&&X&&Te.alternate===null&&e(Q,X),N=o(Te,N,oe),fe===null?pe=Te:fe.sibling=Te,fe=Te,X=Ce}if(we.done)return t(Q,X),Ks&&V0(Q,oe),pe;if(X===null){for(;!we.done;oe++,we=Z.next())we=O(Q,we.value,ae),we!==null&&(N=o(we,N,oe),fe===null?pe=we:fe.sibling=we,fe=we);return Ks&&V0(Q,oe),pe}for(X=r(Q,X);!we.done;oe++,we=Z.next())we=P(X,Q,oe,we.value,ae),we!==null&&(n&&we.alternate!==null&&X.delete(we.key===null?oe:we.key),N=o(we,N,oe),fe===null?pe=we:fe.sibling=we,fe=we);return n&&X.forEach(function(Pe){return e(Q,Pe)}),Ks&&V0(Q,oe),pe}function H(Q,N,Z,ae){if(typeof Z=="object"&&Z!==null&&Z.type===iy&&Z.key===null&&(Z=Z.props.children),typeof Z=="object"&&Z!==null){switch(Z.$$typeof){case n2:e:{for(var pe=Z.key,fe=N;fe!==null;){if(fe.key===pe){if(pe=Z.type,pe===iy){if(fe.tag===7){t(Q,fe.sibling),N=i(fe,Z.props.children),N.return=Q,Q=N;break e}}else if(fe.elementType===pe||typeof pe=="object"&&pe!==null&&pe.$$typeof===Bm&&O9(pe)===fe.type){t(Q,fe.sibling),N=i(fe,Z.props),N.ref=wC(Q,fe,Z),N.return=Q,Q=N;break e}t(Q,fe);break}else e(Q,fe);fe=fe.sibling}Z.type===iy?(N=v1(Z.props.children,Q.mode,ae,Z.key),N.return=Q,Q=N):(ae=p3(Z.type,Z.key,Z.props,null,Q.mode,ae),ae.ref=wC(Q,N,Z),ae.return=Q,Q=ae)}return a(Q);case ry:e:{for(fe=Z.key;N!==null;){if(N.key===fe)if(N.tag===4&&N.stateNode.containerInfo===Z.containerInfo&&N.stateNode.implementation===Z.implementation){t(Q,N.sibling),N=i(N,Z.children||[]),N.return=Q,Q=N;break e}else{t(Q,N);break}else e(Q,N);N=N.sibling}N=mS(Z,Q.mode,ae),N.return=Q,Q=N}return a(Q);case Bm:return fe=Z._init,H(Q,N,fe(Z._payload),ae)}if(QC(Z))return L(Q,N,Z,ae);if(vC(Z))return $(Q,N,Z,ae);h2(Q,Z)}return typeof Z=="string"&&Z!==""||typeof Z=="number"?(Z=""+Z,N!==null&&N.tag===6?(t(Q,N.sibling),N=i(N,Z),N.return=Q,Q=N):(t(Q,N),N=pS(Z,Q.mode,ae),N.return=Q,Q=N),a(Q)):t(Q,N)}return H}var sv=bU(!0),xU=bU(!1),Kb={},zf=h0(Kb),Q_=h0(Kb),Y_=h0(Kb);function A1(n){if(n===Kb)throw Error(Yn(174));return n}function _7(n,e){switch(ns(Y_,e),ns(Q_,n),ns(zf,Kb),n=e.nodeType,n){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:o6(null,"");break;default:n=n===8?e.parentNode:e,e=n.namespaceURI||null,n=n.tagName,e=o6(e,n)}_s(zf),ns(zf,e)}function lv(){_s(zf),_s(Q_),_s(Y_)}function wU(n){A1(Y_.current);var e=A1(zf.current),t=o6(e,n.type);e!==t&&(ns(Q_,n),ns(zf,t))}function b7(n){Q_.current===n&&(_s(zf),_s(Q_))}var Ys=h0(0);function H3(n){for(var e=n;e!==null;){if(e.tag===13){var t=e.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||t.data==="$?"||t.data==="$!"))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if(e.flags&128)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break;for(;e.sibling===null;){if(e.return===null||e.return===n)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var uS=[];function x7(){for(var n=0;nt?t:4,n(!0);var r=AS.transition;AS.transition={};try{n(!1),e()}finally{Ba=t,AS.transition=r}}function zU(){return Gd().memoizedState}function YH(n,e,t){var r=Xm(n);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},jU(n))NU(e,t);else if(t=yU(n,e,t,r),t!==null){var i=WA();Kh(t,n,r,i),WU(t,e,r)}}function qH(n,e,t){var r=Xm(n),i={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(jU(n))NU(e,i);else{var o=n.alternate;if(n.lanes===0&&(o===null||o.lanes===0)&&(o=e.lastRenderedReducer,o!==null))try{var a=e.lastRenderedState,s=o(a,t);if(i.hasEagerState=!0,i.eagerState=s,Lh(s,a)){var d=e.interleaved;d===null?(i.next=i,v7(e)):(i.next=d.next,d.next=i),e.interleaved=i;return}}catch{}finally{}t=yU(n,e,i,r),t!==null&&(i=WA(),Kh(t,n,r,i),WU(t,e,r))}}function jU(n){var e=n.alternate;return n===Hs||e!==null&&e===Hs}function NU(n,e){d_=Z3=!0;var t=n.pending;t===null?e.next=e:(e.next=t.next,t.next=e),n.pending=e}function WU(n,e,t){if(t&4194240){var r=e.lanes;r&=n.pendingLanes,t|=r,e.lanes=t,o7(n,t)}}var X3={readContext:Wd,useCallback:cA,useContext:cA,useEffect:cA,useImperativeHandle:cA,useInsertionEffect:cA,useLayoutEffect:cA,useMemo:cA,useReducer:cA,useRef:cA,useState:cA,useDebugValue:cA,useDeferredValue:cA,useTransition:cA,useMutableSource:cA,useSyncExternalStore:cA,useId:cA,unstable_isNewReconciler:!1},VH={readContext:Wd,useCallback:function(n,e){return wf().memoizedState=[n,e===void 0?null:e],n},useContext:Wd,useEffect:I9,useImperativeHandle:function(n,e,t){return t=t!=null?t.concat([n]):null,c3(4194308,4,LU.bind(null,e,n),t)},useLayoutEffect:function(n,e){return c3(4194308,4,n,e)},useInsertionEffect:function(n,e){return c3(4,2,n,e)},useMemo:function(n,e){var t=wf();return e=e===void 0?null:e,n=n(),t.memoizedState=[n,e],n},useReducer:function(n,e,t){var r=wf();return e=t!==void 0?t(e):e,r.memoizedState=r.baseState=e,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:e},r.queue=n,n=n.dispatch=YH.bind(null,Hs,n),[r.memoizedState,n]},useRef:function(n){var e=wf();return n={current:n},e.memoizedState=n},useState:B9,useDebugValue:O7,useDeferredValue:function(n){return wf().memoizedState=n},useTransition:function(){var n=B9(!1),e=n[0];return n=QH.bind(null,n[1]),wf().memoizedState=n,[e,n]},useMutableSource:function(){},useSyncExternalStore:function(n,e,t){var r=Hs,i=wf();if(Ks){if(t===void 0)throw Error(Yn(407));t=t()}else{if(t=e(),bu===null)throw Error(Yn(349));B1&30||EU(r,e,t)}i.memoizedState=t;var o={value:t,getSnapshot:e};return i.queue=o,I9(BU.bind(null,r,o,n),[n]),r.flags|=2048,H_(9,OU.bind(null,r,o,t,e),void 0,null),t},useId:function(){var n=wf(),e=bu.identifierPrefix;if(Ks){var t=zp,r=Rp;t=(r&~(1<<32-Th(r)-1)).toString(32)+t,e=":"+e+"R"+t,t=q_++,0")&&(d=d.replace("",n.displayName)),d}while(1<=a&&0<=s);break}}}finally{YM=!1,Error.prepareStackTrace=t}return(n=n?n.displayName||n.name:"")?$C(n):""}function MV(n){switch(n.tag){case 5:return $C(n.type);case 16:return $C("Lazy");case 13:return $C("Suspense");case 19:return $C("SuspenseList");case 0:case 2:case 15:return n=qM(n.type,!1),n;case 11:return n=qM(n.type.render,!1),n;case 1:return n=qM(n.type,!0),n;default:return""}}function t6(n){if(n==null)return null;if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case iy:return"Fragment";case ry:return"Portal";case XE:return"Profiler";case t7:return"StrictMode";case JE:return"Suspense";case e6:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case _F:return(n.displayName||"Context")+".Consumer";case CF:return(n._context.displayName||"Context")+".Provider";case n7:var e=n.render;return n=n.displayName,n||(n=e.displayName||e.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case r7:return e=n.displayName||null,e!==null?e:t6(n.type)||"Memo";case Bm:e=n._payload,n=n._init;try{return t6(n(e))}catch{}}return null}function SV(n){var e=n.type;switch(n.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return n=e.render,n=n.displayName||n.name||"",e.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return t6(e);case 8:return e===t7?"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 e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function s0(n){switch(typeof n){case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function xF(n){var e=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function EV(n){var e=xF(n)?"checked":"value",t=Object.getOwnPropertyDescriptor(n.constructor.prototype,e),r=""+n[e];if(!n.hasOwnProperty(e)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var i=t.get,o=t.set;return Object.defineProperty(n,e,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(n,e,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){n._valueTracker=null,delete n[e]}}}}function r2(n){n._valueTracker||(n._valueTracker=EV(n))}function wF(n){if(!n)return!1;var e=n._valueTracker;if(!e)return!0;var t=e.getValue(),r="";return n&&(r=xF(n)?n.checked?"true":"false":n.value),n=r,n!==t?(e.setValue(n),!0):!1}function P3(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}function n6(n,e){var t=e.checked;return Zs({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??n._wrapperState.initialChecked})}function qk(n,e){var t=e.defaultValue==null?"":e.defaultValue,r=e.checked!=null?e.checked:e.defaultChecked;t=s0(e.value!=null?e.value:t),n._wrapperState={initialChecked:r,initialValue:t,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function MF(n,e){e=e.checked,e!=null&&e7(n,"checked",e,!1)}function r6(n,e){MF(n,e);var t=s0(e.value),r=e.type;if(t!=null)r==="number"?(t===0&&n.value===""||n.value!=t)&&(n.value=""+t):n.value!==""+t&&(n.value=""+t);else if(r==="submit"||r==="reset"){n.removeAttribute("value");return}e.hasOwnProperty("value")?i6(n,e.type,t):e.hasOwnProperty("defaultValue")&&i6(n,e.type,s0(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(n.defaultChecked=!!e.defaultChecked)}function Vk(n,e,t){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var r=e.type;if(!(r!=="submit"&&r!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+n._wrapperState.initialValue,t||e===n.value||(n.value=e),n.defaultValue=e}t=n.name,t!==""&&(n.name=""),n.defaultChecked=!!n._wrapperState.initialChecked,t!==""&&(n.name=t)}function i6(n,e,t){(e!=="number"||P3(n.ownerDocument)!==n)&&(t==null?n.defaultValue=""+n._wrapperState.initialValue:n.defaultValue!==""+t&&(n.defaultValue=""+t))}var QC=Array.isArray;function Oy(n,e,t,r){if(n=n.options,e){e={};for(var i=0;i"+e.valueOf().toString()+"",e=i2.firstChild;n.firstChild;)n.removeChild(n.firstChild);for(;e.firstChild;)n.appendChild(e.firstChild)}});function D_(n,e){if(e){var t=n.firstChild;if(t&&t===n.lastChild&&t.nodeType===3){t.nodeValue=e;return}}n.textContent=e}var s_={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},OV=["Webkit","ms","Moz","O"];Object.keys(s_).forEach(function(n){OV.forEach(function(e){e=e+n.charAt(0).toUpperCase()+n.substring(1),s_[e]=s_[n]})});function BF(n,e,t){return e==null||typeof e=="boolean"||e===""?"":t||typeof e!="number"||e===0||s_.hasOwnProperty(n)&&s_[n]?(""+e).trim():e+"px"}function IF(n,e){n=n.style;for(var t in e)if(e.hasOwnProperty(t)){var r=t.indexOf("--")===0,i=BF(t,e[t],r);t==="float"&&(t="cssFloat"),r?n.setProperty(t,i):n[t]=i}}var BV=Zs({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 s6(n,e){if(e){if(BV[n]&&(e.children!=null||e.dangerouslySetInnerHTML!=null))throw Error(Yn(137,n));if(e.dangerouslySetInnerHTML!=null){if(e.children!=null)throw Error(Yn(60));if(typeof e.dangerouslySetInnerHTML!="object"||!("__html"in e.dangerouslySetInnerHTML))throw Error(Yn(61))}if(e.style!=null&&typeof e.style!="object")throw Error(Yn(62))}}function l6(n,e){if(n.indexOf("-")===-1)return typeof e.is=="string";switch(n){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 u6=null;function i7(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var A6=null,By=null,Iy=null;function Xk(n){if(n=Tb(n)){if(typeof A6!="function")throw Error(Yn(280));var e=n.stateNode;e&&(e=R5(e),A6(n.stateNode,n.type,e))}}function kF(n){By?Iy?Iy.push(n):Iy=[n]:By=n}function TF(){if(By){var n=By,e=Iy;if(Iy=By=null,Xk(n),e)for(n=0;n>>=0,n===0?32:31-(zV(n)/jV|0)|0}var o2=64,a2=4194304;function YC(n){switch(n&-n){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 n&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return n&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return n}}function U3(n,e){var t=n.pendingLanes;if(t===0)return 0;var r=0,i=n.suspendedLanes,o=n.pingedLanes,a=t&268435455;if(a!==0){var s=a&~i;s!==0?r=YC(s):(o&=a,o!==0&&(r=YC(o)))}else a=t&~i,a!==0?r=YC(a):o!==0&&(r=YC(o));if(r===0)return 0;if(e!==0&&e!==r&&!(e&i)&&(i=r&-r,o=e&-e,i>=o||i===16&&(o&4194240)!==0))return e;if(r&4&&(r|=t&16),e=n.entangledLanes,e!==0)for(n=n.entanglements,e&=r;0t;t++)e.push(n);return e}function Ib(n,e,t){n.pendingLanes|=e,e!==536870912&&(n.suspendedLanes=0,n.pingedLanes=0),n=n.eventTimes,e=31-Th(e),n[e]=t}function $V(n,e){var t=n.pendingLanes&~e;n.pendingLanes=e,n.suspendedLanes=0,n.pingedLanes=0,n.expiredLanes&=e,n.mutableReadLanes&=e,n.entangledLanes&=e,e=n.entanglements;var r=n.eventTimes;for(n=n.expirationTimes;0=u_),s9=" ",l9=!1;function XF(n,e){switch(n){case"keyup":return vH.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function JF(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var oy=!1;function _H(n,e){switch(n){case"compositionend":return JF(e);case"keypress":return e.which!==32?null:(l9=!0,s9);case"textInput":return n=e.data,n===s9&&l9?null:n;default:return null}}function bH(n,e){if(oy)return n==="compositionend"||!d7&&XF(n,e)?(n=HF(),s3=u7=Um=null,oy=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=e)return{node:t,offset:e-n};n=r}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=d9(t)}}function rU(n,e){return n&&e?n===e?!0:n&&n.nodeType===3?!1:e&&e.nodeType===3?rU(n,e.parentNode):"contains"in n?n.contains(e):n.compareDocumentPosition?!!(n.compareDocumentPosition(e)&16):!1:!1}function iU(){for(var n=window,e=P3();e instanceof n.HTMLIFrameElement;){try{var t=typeof e.contentWindow.location.href=="string"}catch{t=!1}if(t)n=e.contentWindow;else break;e=P3(n.document)}return e}function h7(n){var e=n&&n.nodeName&&n.nodeName.toLowerCase();return e&&(e==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||e==="textarea"||n.contentEditable==="true")}function kH(n){var e=iU(),t=n.focusedElem,r=n.selectionRange;if(e!==t&&t&&t.ownerDocument&&rU(t.ownerDocument.documentElement,t)){if(r!==null&&h7(t)){if(e=r.start,n=r.end,n===void 0&&(n=e),"selectionStart"in t)t.selectionStart=e,t.selectionEnd=Math.min(n,t.value.length);else if(n=(e=t.ownerDocument||document)&&e.defaultView||window,n.getSelection){n=n.getSelection();var i=t.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!n.extend&&o>r&&(i=r,r=o,o=i),i=h9(t,o);var a=h9(t,r);i&&a&&(n.rangeCount!==1||n.anchorNode!==i.node||n.anchorOffset!==i.offset||n.focusNode!==a.node||n.focusOffset!==a.offset)&&(e=e.createRange(),e.setStart(i.node,i.offset),n.removeAllRanges(),o>r?(n.addRange(e),n.extend(a.node,a.offset)):(e.setEnd(a.node,a.offset),n.addRange(e)))}}for(e=[],n=t;n=n.parentNode;)n.nodeType===1&&e.push({element:n,left:n.scrollLeft,top:n.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t=document.documentMode,ay=null,m6=null,c_=null,g6=!1;function f9(n,e,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;g6||ay==null||ay!==P3(r)||(r=ay,"selectionStart"in r&&h7(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),c_&&N_(c_,r)||(c_=r,r=j3(m6,"onSelect"),0uy||(n.current=x6[uy],x6[uy]=null,uy--)}function ns(n,e){uy++,x6[uy]=n.current,n.current=e}var l0={},gA=h0(l0),wc=h0(!1),E1=l0;function ov(n,e){var t=n.type.contextTypes;if(!t)return l0;var r=n.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in t)i[o]=e[o];return r&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=e,n.__reactInternalMemoizedMaskedChildContext=i),i}function Mc(n){return n=n.childContextTypes,n!=null}function W3(){_s(wc),_s(gA)}function _9(n,e,t){if(gA.current!==l0)throw Error(Yn(168));ns(gA,e),ns(wc,t)}function hU(n,e,t){var r=n.stateNode;if(e=e.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var i in r)if(!(i in e))throw Error(Yn(108,SV(n)||"Unknown",i));return Zs({},t,r)}function G3(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||l0,E1=gA.current,ns(gA,n),ns(wc,wc.current),!0}function b9(n,e,t){var r=n.stateNode;if(!r)throw Error(Yn(169));t?(n=hU(n,e,E1),r.__reactInternalMemoizedMergedChildContext=n,_s(wc),_s(gA),ns(gA,n)):_s(wc),ns(wc,t)}var Kp=null,z5=!1,lS=!1;function fU(n){Kp===null?Kp=[n]:Kp.push(n)}function WH(n){z5=!0,fU(n)}function f0(){if(!lS&&Kp!==null){lS=!0;var n=0,e=Ba;try{var t=Kp;for(Ba=1;n>=a,i-=a,Rp=1<<32-Th(e)+i|t<oe?(Ce=X,X=null):Ce=X.sibling;var we=E(Q,X,Z[oe],ae);if(we===null){X===null&&(X=Ce);break}n&&X&&we.alternate===null&&e(Q,X),N=o(we,N,oe),fe===null?pe=we:fe.sibling=we,fe=we,X=Ce}if(oe===Z.length)return t(Q,X),Ks&&V0(Q,oe),pe;if(X===null){for(;oeoe?(Ce=X,X=null):Ce=X.sibling;var Te=E(Q,X,we.value,ae);if(Te===null){X===null&&(X=Ce);break}n&&X&&Te.alternate===null&&e(Q,X),N=o(Te,N,oe),fe===null?pe=Te:fe.sibling=Te,fe=Te,X=Ce}if(we.done)return t(Q,X),Ks&&V0(Q,oe),pe;if(X===null){for(;!we.done;oe++,we=Z.next())we=O(Q,we.value,ae),we!==null&&(N=o(we,N,oe),fe===null?pe=we:fe.sibling=we,fe=we);return Ks&&V0(Q,oe),pe}for(X=r(Q,X);!we.done;oe++,we=Z.next())we=P(X,Q,oe,we.value,ae),we!==null&&(n&&we.alternate!==null&&X.delete(we.key===null?oe:we.key),N=o(we,N,oe),fe===null?pe=we:fe.sibling=we,fe=we);return n&&X.forEach(function(Pe){return e(Q,Pe)}),Ks&&V0(Q,oe),pe}function H(Q,N,Z,ae){if(typeof Z=="object"&&Z!==null&&Z.type===iy&&Z.key===null&&(Z=Z.props.children),typeof Z=="object"&&Z!==null){switch(Z.$$typeof){case n2:e:{for(var pe=Z.key,fe=N;fe!==null;){if(fe.key===pe){if(pe=Z.type,pe===iy){if(fe.tag===7){t(Q,fe.sibling),N=i(fe,Z.props.children),N.return=Q,Q=N;break e}}else if(fe.elementType===pe||typeof pe=="object"&&pe!==null&&pe.$$typeof===Bm&&B9(pe)===fe.type){t(Q,fe.sibling),N=i(fe,Z.props),N.ref=wC(Q,fe,Z),N.return=Q,Q=N;break e}t(Q,fe);break}else e(Q,fe);fe=fe.sibling}Z.type===iy?(N=v1(Z.props.children,Q.mode,ae,Z.key),N.return=Q,Q=N):(ae=p3(Z.type,Z.key,Z.props,null,Q.mode,ae),ae.ref=wC(Q,N,Z),ae.return=Q,Q=ae)}return a(Q);case ry:e:{for(fe=Z.key;N!==null;){if(N.key===fe)if(N.tag===4&&N.stateNode.containerInfo===Z.containerInfo&&N.stateNode.implementation===Z.implementation){t(Q,N.sibling),N=i(N,Z.children||[]),N.return=Q,Q=N;break e}else{t(Q,N);break}else e(Q,N);N=N.sibling}N=mS(Z,Q.mode,ae),N.return=Q,Q=N}return a(Q);case Bm:return fe=Z._init,H(Q,N,fe(Z._payload),ae)}if(QC(Z))return L(Q,N,Z,ae);if(vC(Z))return $(Q,N,Z,ae);h2(Q,Z)}return typeof Z=="string"&&Z!==""||typeof Z=="number"?(Z=""+Z,N!==null&&N.tag===6?(t(Q,N.sibling),N=i(N,Z),N.return=Q,Q=N):(t(Q,N),N=pS(Z,Q.mode,ae),N.return=Q,Q=N),a(Q)):t(Q,N)}return H}var sv=bU(!0),xU=bU(!1),Kb={},zf=h0(Kb),Q_=h0(Kb),Y_=h0(Kb);function A1(n){if(n===Kb)throw Error(Yn(174));return n}function b7(n,e){switch(ns(Y_,e),ns(Q_,n),ns(zf,Kb),n=e.nodeType,n){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:a6(null,"");break;default:n=n===8?e.parentNode:e,e=n.namespaceURI||null,n=n.tagName,e=a6(e,n)}_s(zf),ns(zf,e)}function lv(){_s(zf),_s(Q_),_s(Y_)}function wU(n){A1(Y_.current);var e=A1(zf.current),t=a6(e,n.type);e!==t&&(ns(Q_,n),ns(zf,t))}function x7(n){Q_.current===n&&(_s(zf),_s(Q_))}var Ys=h0(0);function H3(n){for(var e=n;e!==null;){if(e.tag===13){var t=e.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||t.data==="$?"||t.data==="$!"))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if(e.flags&128)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break;for(;e.sibling===null;){if(e.return===null||e.return===n)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var uS=[];function w7(){for(var n=0;nt?t:4,n(!0);var r=AS.transition;AS.transition={};try{n(!1),e()}finally{Ba=t,AS.transition=r}}function zU(){return Gd().memoizedState}function YH(n,e,t){var r=Xm(n);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},jU(n))NU(e,t);else if(t=yU(n,e,t,r),t!==null){var i=WA();Kh(t,n,r,i),WU(t,e,r)}}function qH(n,e,t){var r=Xm(n),i={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(jU(n))NU(e,i);else{var o=n.alternate;if(n.lanes===0&&(o===null||o.lanes===0)&&(o=e.lastRenderedReducer,o!==null))try{var a=e.lastRenderedState,s=o(a,t);if(i.hasEagerState=!0,i.eagerState=s,Lh(s,a)){var d=e.interleaved;d===null?(i.next=i,C7(e)):(i.next=d.next,d.next=i),e.interleaved=i;return}}catch{}finally{}t=yU(n,e,i,r),t!==null&&(i=WA(),Kh(t,n,r,i),WU(t,e,r))}}function jU(n){var e=n.alternate;return n===Hs||e!==null&&e===Hs}function NU(n,e){d_=Z3=!0;var t=n.pending;t===null?e.next=e:(e.next=t.next,t.next=e),n.pending=e}function WU(n,e,t){if(t&4194240){var r=e.lanes;r&=n.pendingLanes,t|=r,e.lanes=t,a7(n,t)}}var X3={readContext:Wd,useCallback:cA,useContext:cA,useEffect:cA,useImperativeHandle:cA,useInsertionEffect:cA,useLayoutEffect:cA,useMemo:cA,useReducer:cA,useRef:cA,useState:cA,useDebugValue:cA,useDeferredValue:cA,useTransition:cA,useMutableSource:cA,useSyncExternalStore:cA,useId:cA,unstable_isNewReconciler:!1},VH={readContext:Wd,useCallback:function(n,e){return wf().memoizedState=[n,e===void 0?null:e],n},useContext:Wd,useEffect:k9,useImperativeHandle:function(n,e,t){return t=t!=null?t.concat([n]):null,c3(4194308,4,LU.bind(null,e,n),t)},useLayoutEffect:function(n,e){return c3(4194308,4,n,e)},useInsertionEffect:function(n,e){return c3(4,2,n,e)},useMemo:function(n,e){var t=wf();return e=e===void 0?null:e,n=n(),t.memoizedState=[n,e],n},useReducer:function(n,e,t){var r=wf();return e=t!==void 0?t(e):e,r.memoizedState=r.baseState=e,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:e},r.queue=n,n=n.dispatch=YH.bind(null,Hs,n),[r.memoizedState,n]},useRef:function(n){var e=wf();return n={current:n},e.memoizedState=n},useState:I9,useDebugValue:B7,useDeferredValue:function(n){return wf().memoizedState=n},useTransition:function(){var n=I9(!1),e=n[0];return n=QH.bind(null,n[1]),wf().memoizedState=n,[e,n]},useMutableSource:function(){},useSyncExternalStore:function(n,e,t){var r=Hs,i=wf();if(Ks){if(t===void 0)throw Error(Yn(407));t=t()}else{if(t=e(),bu===null)throw Error(Yn(349));B1&30||EU(r,e,t)}i.memoizedState=t;var o={value:t,getSnapshot:e};return i.queue=o,k9(BU.bind(null,r,o,n),[n]),r.flags|=2048,H_(9,OU.bind(null,r,o,t,e),void 0,null),t},useId:function(){var n=wf(),e=bu.identifierPrefix;if(Ks){var t=zp,r=Rp;t=(r&~(1<<32-Th(r)-1)).toString(32)+t,e=":"+e+"R"+t,t=q_++,0<\/script>",n=n.removeChild(n.firstChild)):typeof r.is=="string"?n=a.createElement(t,{is:r.is}):(n=a.createElement(t),t==="select"&&(a=n,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):n=a.createElementNS(n,t),n[Tf]=e,n[$_]=r,XU(n,e,!1,!1),e.stateNode=n;e:{switch(a=s6(t,r),t){case"dialog":ps("cancel",n),ps("close",n),i=r;break;case"iframe":case"object":case"embed":ps("load",n),i=r;break;case"video":case"audio":for(i=0;iAv&&(e.flags|=128,r=!0,MC(o,!1),e.lanes=4194304)}else{if(!r)if(n=H3(a),n!==null){if(e.flags|=128,r=!0,t=n.updateQueue,t!==null&&(e.updateQueue=t,e.flags|=4),MC(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!Ks)return dA(e),null}else 2*Cl()-o.renderingStartTime>Av&&t!==1073741824&&(e.flags|=128,r=!0,MC(o,!1),e.lanes=4194304);o.isBackwards?(a.sibling=e.child,e.child=a):(t=o.last,t!==null?t.sibling=a:e.child=a,o.last=a)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=Cl(),e.sibling=null,t=Ys.current,ns(Ys,r?t&1|2:t&1),e):(dA(e),null);case 22:case 23:return P7(),r=e.memoizedState!==null,n!==null&&n.memoizedState!==null!==r&&(e.flags|=8192),r&&e.mode&1?Yc&1073741824&&(dA(e),e.subtreeFlags&6&&(e.flags|=8192)):dA(e),null;case 24:return null;case 25:return null}throw Error(Yn(156,e.tag))}function rZ(n,e){switch(f7(e),e.tag){case 1:return Mc(e.type)&&W3(),n=e.flags,n&65536?(e.flags=n&-65537|128,e):null;case 3:return lv(),_s(wc),_s(gA),x7(),n=e.flags,n&65536&&!(n&128)?(e.flags=n&-65537|128,e):null;case 5:return b7(e),null;case 13:if(_s(Ys),n=e.memoizedState,n!==null&&n.dehydrated!==null){if(e.alternate===null)throw Error(Yn(340));av()}return n=e.flags,n&65536?(e.flags=n&-65537|128,e):null;case 19:return _s(Ys),null;case 4:return lv(),null;case 10:return y7(e.type._context),null;case 22:case 23:return P7(),null;case 24:return null;default:return null}}var p2=!1,mA=!1,iZ=typeof WeakSet=="function"?WeakSet:Set,Kr=null;function hy(n,e){var t=n.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){ol(n,e,r)}else t.current=null}function P6(n,e,t){try{t()}catch(r){ol(n,e,r)}}var R9=!1;function oZ(n,e){if(g6=R3,n=iU(),d7(n)){if("selectionStart"in n)var t={start:n.selectionStart,end:n.selectionEnd};else e:{t=(t=n.ownerDocument)&&t.defaultView||window;var r=t.getSelection&&t.getSelection();if(r&&r.rangeCount!==0){t=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{t.nodeType,o.nodeType}catch{t=null;break e}var a=0,s=-1,d=-1,f=0,C=0,O=n,E=null;t:for(;;){for(var P;O!==t||i!==0&&O.nodeType!==3||(s=a+i),O!==o||r!==0&&O.nodeType!==3||(d=a+r),O.nodeType===3&&(a+=O.nodeValue.length),(P=O.firstChild)!==null;)E=O,O=P;for(;;){if(O===n)break t;if(E===t&&++f===i&&(s=a),E===o&&++C===r&&(d=a),(P=O.nextSibling)!==null)break;O=E,E=O.parentNode}O=P}t=s===-1||d===-1?null:{start:s,end:d}}else t=null}t=t||{start:0,end:0}}else t=null;for(y6={focusedElem:n,selectionRange:t},R3=!1,Kr=e;Kr!==null;)if(e=Kr,n=e.child,(e.subtreeFlags&1028)!==0&&n!==null)n.return=e,Kr=n;else for(;Kr!==null;){e=Kr;try{var L=e.alternate;if(e.flags&1024)switch(e.tag){case 0:case 11:case 15:break;case 1:if(L!==null){var $=L.memoizedProps,H=L.memoizedState,Q=e.stateNode,N=Q.getSnapshotBeforeUpdate(e.elementType===e.type?$:Mh(e.type,$),H);Q.__reactInternalSnapshotBeforeUpdate=N}break;case 3:var Z=e.stateNode.containerInfo;Z.nodeType===1?Z.textContent="":Z.nodeType===9&&Z.documentElement&&Z.removeChild(Z.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Yn(163))}}catch(ae){ol(e,e.return,ae)}if(n=e.sibling,n!==null){n.return=e.return,Kr=n;break}Kr=e.return}return L=R9,R9=!1,L}function h_(n,e,t){var r=e.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&n)===n){var o=i.destroy;i.destroy=void 0,o!==void 0&&P6(e,t,o)}i=i.next}while(i!==r)}}function W5(n,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var t=e=e.next;do{if((t.tag&n)===n){var r=t.create;t.destroy=r()}t=t.next}while(t!==e)}}function L6(n){var e=n.ref;if(e!==null){var t=n.stateNode;switch(n.tag){case 5:n=t;break;default:n=t}typeof e=="function"?e(n):e.current=n}}function tR(n){var e=n.alternate;e!==null&&(n.alternate=null,tR(e)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(e=n.stateNode,e!==null&&(delete e[Tf],delete e[$_],delete e[_6],delete e[jH],delete e[NH])),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}function nR(n){return n.tag===5||n.tag===3||n.tag===4}function z9(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||nR(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function D6(n,e,t){var r=n.tag;if(r===5||r===6)n=n.stateNode,e?t.nodeType===8?t.parentNode.insertBefore(n,e):t.insertBefore(n,e):(t.nodeType===8?(e=t.parentNode,e.insertBefore(n,t)):(e=t,e.appendChild(n)),t=t._reactRootContainer,t!=null||e.onclick!==null||(e.onclick=N3));else if(r!==4&&(n=n.child,n!==null))for(D6(n,e,t),n=n.sibling;n!==null;)D6(n,e,t),n=n.sibling}function F6(n,e,t){var r=n.tag;if(r===5||r===6)n=n.stateNode,e?t.insertBefore(n,e):t.appendChild(n);else if(r!==4&&(n=n.child,n!==null))for(F6(n,e,t),n=n.sibling;n!==null;)F6(n,e,t),n=n.sibling}var Uu=null,Oh=!1;function Cm(n,e,t){for(t=t.child;t!==null;)rR(n,e,t),t=t.sibling}function rR(n,e,t){if(Rf&&typeof Rf.onCommitFiberUnmount=="function")try{Rf.onCommitFiberUnmount(L5,t)}catch{}switch(t.tag){case 5:mA||hy(t,e);case 6:var r=Uu,i=Oh;Uu=null,Cm(n,e,t),Uu=r,Oh=i,Uu!==null&&(Oh?(n=Uu,t=t.stateNode,n.nodeType===8?n.parentNode.removeChild(t):n.removeChild(t)):Uu.removeChild(t.stateNode));break;case 18:Uu!==null&&(Oh?(n=Uu,t=t.stateNode,n.nodeType===8?sS(n.parentNode,t):n.nodeType===1&&sS(n,t),z_(n)):sS(Uu,t.stateNode));break;case 4:r=Uu,i=Oh,Uu=t.stateNode.containerInfo,Oh=!0,Cm(n,e,t),Uu=r,Oh=i;break;case 0:case 11:case 14:case 15:if(!mA&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,a!==void 0&&(o&2||o&4)&&P6(t,e,a),i=i.next}while(i!==r)}Cm(n,e,t);break;case 1:if(!mA&&(hy(t,e),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(s){ol(t,e,s)}Cm(n,e,t);break;case 21:Cm(n,e,t);break;case 22:t.mode&1?(mA=(r=mA)||t.memoizedState!==null,Cm(n,e,t),mA=r):Cm(n,e,t);break;default:Cm(n,e,t)}}function j9(n){var e=n.updateQueue;if(e!==null){n.updateQueue=null;var t=n.stateNode;t===null&&(t=n.stateNode=new iZ),e.forEach(function(r){var i=fZ.bind(null,n,r);t.has(r)||(t.add(r),r.then(i,i))})}}function _h(n,e){var t=e.deletions;if(t!==null)for(var r=0;ri&&(i=a),r&=~o}if(r=i,r=Cl()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*sZ(r/1960))-r,10n?16:n,Rm===null)var r=!1;else{if(n=Rm,Rm=null,t4=0,Vo&6)throw Error(Yn(331));var i=Vo;for(Vo|=4,Kr=n.current;Kr!==null;){var o=Kr,a=o.child;if(Kr.flags&16){var s=o.deletions;if(s!==null){for(var d=0;dCl()-T7?y1(n,0):k7|=t),Sc(n,e)}function cR(n,e){e===0&&(n.mode&1?(e=a2,a2<<=1,!(a2&130023424)&&(a2=4194304)):e=1);var t=WA();n=Vp(n,e),n!==null&&(Ib(n,e,t),Sc(n,t))}function hZ(n){var e=n.memoizedState,t=0;e!==null&&(t=e.retryLane),cR(n,t)}function fZ(n,e){var t=0;switch(n.tag){case 13:var r=n.stateNode,i=n.memoizedState;i!==null&&(t=i.retryLane);break;case 19:r=n.stateNode;break;default:throw Error(Yn(314))}r!==null&&r.delete(e),cR(n,t)}var dR;dR=function(n,e,t){if(n!==null)if(n.memoizedProps!==e.pendingProps||wc.current)xc=!0;else{if(!(n.lanes&t)&&!(e.flags&128))return xc=!1,tZ(n,e,t);xc=!!(n.flags&131072)}else xc=!1,Ks&&e.flags&1048576&&pU(e,Q3,e.index);switch(e.lanes=0,e.tag){case 2:var r=e.type;d3(n,e),n=e.pendingProps;var i=ov(e,gA.current);Ty(e,t),i=M7(null,e,r,n,i,t);var o=S7();return e.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,Mc(r)?(o=!0,G3(e)):o=!1,e.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,C7(e),i.updater=j5,e.stateNode=i,i._reactInternals=e,E6(e,r,n,t),e=I6(null,e,r,!0,o,t)):(e.tag=0,Ks&&o&&h7(e),RA(null,e,i,t),e=e.child),e;case 16:r=e.elementType;e:{switch(d3(n,e),n=e.pendingProps,i=r._init,r=i(r._payload),e.type=r,i=e.tag=mZ(r),n=Mh(r,n),i){case 0:e=B6(null,e,r,n,t);break e;case 1:e=D9(null,e,r,n,t);break e;case 11:e=P9(null,e,r,n,t);break e;case 14:e=L9(null,e,r,Mh(r.type,n),t);break e}throw Error(Yn(306,r,""))}return e;case 0:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:Mh(r,i),B6(n,e,r,i,t);case 1:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:Mh(r,i),D9(n,e,r,i,t);case 3:e:{if(VU(e),n===null)throw Error(Yn(387));r=e.pendingProps,o=e.memoizedState,i=o.element,vU(n,e),V3(e,r,null,t);var a=e.memoizedState;if(r=a.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},e.updateQueue.baseState=o,e.memoizedState=o,e.flags&256){i=uv(Error(Yn(423)),e),e=F9(n,e,r,t,i);break e}else if(r!==i){i=uv(Error(Yn(424)),e),e=F9(n,e,r,t,i);break e}else for(Xc=Vm(e.stateNode.containerInfo.firstChild),td=e,Ks=!0,Ih=null,t=xU(e,null,r,t),e.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(av(),r===i){e=Hp(n,e,t);break e}RA(n,e,r,t)}e=e.child}return e;case 5:return wU(e),n===null&&w6(e),r=e.type,i=e.pendingProps,o=n!==null?n.memoizedProps:null,a=i.children,v6(r,i)?a=null:o!==null&&v6(r,o)&&(e.flags|=32),qU(n,e),RA(n,e,a,t),e.child;case 6:return n===null&&w6(e),null;case 13:return HU(n,e,t);case 4:return _7(e,e.stateNode.containerInfo),r=e.pendingProps,n===null?e.child=sv(e,null,r,t):RA(n,e,r,t),e.child;case 11:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:Mh(r,i),P9(n,e,r,i,t);case 7:return RA(n,e,e.pendingProps,t),e.child;case 8:return RA(n,e,e.pendingProps.children,t),e.child;case 12:return RA(n,e,e.pendingProps.children,t),e.child;case 10:e:{if(r=e.type._context,i=e.pendingProps,o=e.memoizedProps,a=i.value,ns(Y3,r._currentValue),r._currentValue=a,o!==null)if(Lh(o.value,a)){if(o.children===i.children&&!wc.current){e=Hp(n,e,t);break e}}else for(o=e.child,o!==null&&(o.return=e);o!==null;){var s=o.dependencies;if(s!==null){a=o.child;for(var d=s.firstContext;d!==null;){if(d.context===r){if(o.tag===1){d=jp(-1,t&-t),d.tag=2;var f=o.updateQueue;if(f!==null){f=f.shared;var C=f.pending;C===null?d.next=d:(d.next=C.next,C.next=d),f.pending=d}}o.lanes|=t,d=o.alternate,d!==null&&(d.lanes|=t),M6(o.return,t,e),s.lanes|=t;break}d=d.next}}else if(o.tag===10)a=o.type===e.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error(Yn(341));a.lanes|=t,s=a.alternate,s!==null&&(s.lanes|=t),M6(a,t,e),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===e){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}RA(n,e,i.children,t),e=e.child}return e;case 9:return i=e.type,r=e.pendingProps.children,Ty(e,t),i=Wd(i),r=r(i),e.flags|=1,RA(n,e,r,t),e.child;case 14:return r=e.type,i=Mh(r,e.pendingProps),i=Mh(r.type,i),L9(n,e,r,i,t);case 15:return QU(n,e,e.type,e.pendingProps,t);case 17:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:Mh(r,i),d3(n,e),e.tag=1,Mc(r)?(n=!0,G3(e)):n=!1,Ty(e,t),_U(e,r,i),E6(e,r,i,t),I6(null,e,r,!0,n,t);case 19:return ZU(n,e,t);case 22:return YU(n,e,t)}throw Error(Yn(156,e.tag))};function hR(n,e){return RF(n,e)}function pZ(n,e,t,r){this.tag=n,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Fd(n,e,t,r){return new pZ(n,e,t,r)}function D7(n){return n=n.prototype,!(!n||!n.isReactComponent)}function mZ(n){if(typeof n=="function")return D7(n)?1:0;if(n!=null){if(n=n.$$typeof,n===t7)return 11;if(n===n7)return 14}return 2}function Jm(n,e){var t=n.alternate;return t===null?(t=Fd(n.tag,e,n.key,n.mode),t.elementType=n.elementType,t.type=n.type,t.stateNode=n.stateNode,t.alternate=n,n.alternate=t):(t.pendingProps=e,t.type=n.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=n.flags&14680064,t.childLanes=n.childLanes,t.lanes=n.lanes,t.child=n.child,t.memoizedProps=n.memoizedProps,t.memoizedState=n.memoizedState,t.updateQueue=n.updateQueue,e=n.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},t.sibling=n.sibling,t.index=n.index,t.ref=n.ref,t}function p3(n,e,t,r,i,o){var a=2;if(r=n,typeof n=="function")D7(n)&&(a=1);else if(typeof n=="string")a=5;else e:switch(n){case iy:return v1(t.children,i,o,e);case e7:a=8,i|=8;break;case ZE:return n=Fd(12,t,e,i|2),n.elementType=ZE,n.lanes=o,n;case XE:return n=Fd(13,t,e,i),n.elementType=XE,n.lanes=o,n;case JE:return n=Fd(19,t,e,i),n.elementType=JE,n.lanes=o,n;case bF:return $5(t,i,o,e);default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case CF:a=10;break e;case _F:a=9;break e;case t7:a=11;break e;case n7:a=14;break e;case Bm:a=16,r=null;break e}throw Error(Yn(130,n==null?n:typeof n,""))}return e=Fd(a,t,e,i),e.elementType=n,e.type=r,e.lanes=o,e}function v1(n,e,t,r){return n=Fd(7,n,r,e),n.lanes=t,n}function $5(n,e,t,r){return n=Fd(22,n,r,e),n.elementType=bF,n.lanes=t,n.stateNode={isHidden:!1},n}function pS(n,e,t){return n=Fd(6,n,null,e),n.lanes=t,n}function mS(n,e,t){return e=Fd(4,n.children!==null?n.children:[],n.key,e),e.lanes=t,e.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},e}function gZ(n,e,t,r,i){this.tag=e,this.containerInfo=n,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=HM(0),this.expirationTimes=HM(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=HM(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function F7(n,e,t,r,i,o,a,s,d){return n=new gZ(n,e,t,s,d),e===1?(e=1,o===!0&&(e|=8)):e=0,o=Fd(3,null,null,e),n.current=o,o.stateNode=n,o.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},C7(o),n}function yZ(n,e,t){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(gR)}catch(n){console.error(n)}}gR(),pF.exports=od;var p0=pF.exports;const xZ=ma(p0);var yR,V9=p0;yR=V9.createRoot,V9.hydrateRoot;const wZ="modulepreload",MZ=function(n){return"/maputnik/"+n},H9={},Z9=function(e,t,r){let i=Promise.resolve();if(t&&t.length>0){const o=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),s=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));i=Promise.all(t.map(d=>{if(d=MZ(d),d in H9)return;H9[d]=!0;const f=d.endsWith(".css"),C=f?'[rel="stylesheet"]':"";if(!!r)for(let P=o.length-1;P>=0;P--){const L=o[P];if(L.href===d&&(!f||L.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${d}"]${C}`))return;const E=document.createElement("link");if(E.rel=f?"stylesheet":wZ,f||(E.as="script",E.crossOrigin=""),E.href=d,s&&E.setAttribute("nonce",s),document.head.appendChild(E),f)return new Promise((P,L)=>{E.addEventListener("load",P),E.addEventListener("error",()=>L(new Error(`Unable to preload CSS for ${d}`)))})}))}return i.then(()=>e()).catch(o=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o})},SZ=(n,e)=>{const t=n[e];return t?typeof t=="function"?t():Promise.resolve(t):new Promise((r,i)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(i.bind(null,new Error("Unknown variable dynamic import: "+e)))})},EZ={type:"logger",log(n){this.output("log",n)},warn(n){this.output("warn",n)},error(n){this.output("error",n)},output(n,e){console&&console[n]&&console[n].apply(console,e)}};class i4{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||EZ,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[s,d]=a;for(let f=0;f{let[s,d]=a;for(let f=0;f{n=r,e=i});return t.resolve=n,t.reject=e,t}function X9(n){return n==null?"":""+n}function OZ(n,e,t){n.forEach(r=>{e[r]&&(t[r]=e[r])})}const BZ=/###/g;function m_(n,e,t){function r(s){return s&&s.indexOf("###")>-1?s.replace(BZ,"."):s}function i(){return!n||typeof n=="string"}const o=typeof e!="string"?e:e.split(".");let a=0;for(;a":">",'"':""","'":"'","/":"/"};function KZ(n){return typeof n=="string"?n.replace(/[&<>"'\/]/g,e=>TZ[e]):n}class PZ{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 LZ=[" ",",","?","!",";"],DZ=new PZ(20);function FZ(n,e,t){e=e||"",t=t||"";const r=LZ.filter(a=>e.indexOf(a)<0&&t.indexOf(a)<0);if(r.length===0)return!0;const i=DZ.getRegExp(`(${r.map(a=>a==="?"?"\\?":a).join("|")})`);let o=!i.test(n);if(!o){const a=n.indexOf(t);a>0&&!i.test(n.substring(0,a))&&(o=!0)}return o}function N6(n,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!n)return;if(n[e])return n[e];const r=e.split(t);let i=n;for(let o=0;o-1&&d0?n.replace("_","-"):n}class eT extends H5{constructor(e){let t=arguments.length>1&&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){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,a=i.ignoreJSONStructure!==void 0?i.ignoreJSONStructure:this.options.ignoreJSONStructure;let s;e.indexOf(".")>-1?s=e.split("."):(s=[e,t],r&&(Array.isArray(r)?s.push(...r):typeof r=="string"&&o?s.push(...r.split(o)):s.push(r)));const d=o4(this.data,s);return!d&&!t&&!r&&e.indexOf(".")>-1&&(e=s[0],t=s[1],r=s.slice(2).join(".")),d||!a||typeof r!="string"?d:N6(this.data&&this.data[e]&&this.data[e][t],r,o)}addResource(e,t,r,i){let o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const a=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator;let s=[e,t];r&&(s=s.concat(a?r.split(a):r)),e.indexOf(".")>-1&&(s=e.split("."),i=t,t=s[1]),this.addNamespaces(t),J9(this.data,s,i),o.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 o in r)(typeof r[o]=="string"||Array.isArray(r[o]))&&this.addResource(e,t,o,r[o],{silent:!0});i.silent||this.emit("added",e,t,r)}addResourceBundle(e,t,r,i,o){let a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},s=[e,t];e.indexOf(".")>-1&&(s=e.split("."),i=r,r=t,t=s[1]),this.addNamespaces(t);let d=o4(this.data,s)||{};a.skipCopy||(r=JSON.parse(JSON.stringify(r))),i?vR(d,r,o):d={...d,...r},J9(this.data,s,d),a.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.options.compatibilityAPI==="v1"?{...this.getResource(e,t)}: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 CR={processors:{},addPostProcessor(n){this.processors[n.name]=n},handle(n,e,t,r,i){return n.forEach(o=>{this.processors[o]&&(e=this.processors[o].process(e,t,r,i))}),e}};const tT={};class s4 extends H5{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),OZ(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Df.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&&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 o=t.ns||this.options.defaultNS||[];const a=r&&e.indexOf(r)>-1,s=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!FZ(e,r,i);if(a&&!s){const d=e.match(this.interpolator.nestingRegexp);if(d&&d.length>0)return{key:e,namespaces:o};const f=e.split(r);(r!==i||r===i&&this.options.ns.indexOf(f[0])>-1)&&(o=f.shift()),e=f.join(i)}return typeof o=="string"&&(o=[o]),{key:e,namespaces:o}}translate(e,t,r){if(typeof t!="object"&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),typeof t=="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,o=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator,{key:a,namespaces:s}=this.extractFromKey(e[e.length-1],t),d=s[s.length-1],f=t.lng||this.language,C=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(f&&f.toLowerCase()==="cimode"){if(C){const ae=t.nsSeparator||this.options.nsSeparator;return i?{res:`${d}${ae}${a}`,usedKey:a,exactUsedKey:a,usedLng:f,usedNS:d,usedParams:this.getUsedParamsDetails(t)}:`${d}${ae}${a}`}return i?{res:a,usedKey:a,exactUsedKey:a,usedLng:f,usedNS:d,usedParams:this.getUsedParamsDetails(t)}:a}const O=this.resolve(e,t);let E=O&&O.res;const P=O&&O.usedKey||a,L=O&&O.exactUsedKey||a,$=Object.prototype.toString.apply(E),H=["[object Number]","[object Function]","[object RegExp]"],Q=t.joinArrays!==void 0?t.joinArrays:this.options.joinArrays,N=!this.i18nFormat||this.i18nFormat.handleAsObject;if(N&&E&&(typeof E!="string"&&typeof E!="boolean"&&typeof E!="number")&&H.indexOf($)<0&&!(typeof Q=="string"&&Array.isArray(E))){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const ae=this.options.returnedObjectHandler?this.options.returnedObjectHandler(P,E,{...t,ns:s}):`key '${a} (${this.language})' returned an object instead of string.`;return i?(O.res=ae,O.usedParams=this.getUsedParamsDetails(t),O):ae}if(o){const ae=Array.isArray(E),pe=ae?[]:{},fe=ae?L:P;for(const X in E)if(Object.prototype.hasOwnProperty.call(E,X)){const oe=`${fe}${o}${X}`;pe[X]=this.translate(oe,{...t,joinArrays:!1,ns:s}),pe[X]===oe&&(pe[X]=E[X])}E=pe}}else if(N&&typeof Q=="string"&&Array.isArray(E))E=E.join(Q),E&&(E=this.extendTranslation(E,e,t,r));else{let ae=!1,pe=!1;const fe=t.count!==void 0&&typeof t.count!="string",X=s4.hasDefaultValue(t),oe=fe?this.pluralResolver.getSuffix(f,t.count,t):"",Ce=t.ordinal&&fe?this.pluralResolver.getSuffix(f,t.count,{ordinal:!1}):"",we=fe&&!t.ordinal&&t.count===0&&this.pluralResolver.shouldUseIntlApi(),Te=we&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${oe}`]||t[`defaultValue${Ce}`]||t.defaultValue;!this.isValidLookup(E)&&X&&(ae=!0,E=Te),this.isValidLookup(E)||(pe=!0,E=a);const he=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&pe?void 0:E,$e=X&&Te!==E&&this.options.updateMissing;if(pe||ae||$e){if(this.logger.log($e?"updateKey":"missingKey",f,d,a,$e?Te:E),o){const st=this.resolve(a,{...t,keySeparator:!1});st&&st.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 ye=[];const gt=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if(this.options.saveMissingTo==="fallback"&>&>[0])for(let st=0;st{const Ve=X&&Re!==E?Re:he;this.options.missingKeyHandler?this.options.missingKeyHandler(st,d,ft,Ve,$e,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(st,d,ft,Ve,$e,t),this.emit("missingKey",st,d,ft,E)};this.options.saveMissing&&(this.options.saveMissingPlurals&&fe?ye.forEach(st=>{const ft=this.pluralResolver.getSuffixes(st,t);we&&t[`defaultValue${this.options.pluralSeparator}zero`]&&ft.indexOf(`${this.options.pluralSeparator}zero`)<0&&ft.push(`${this.options.pluralSeparator}zero`),ft.forEach(Re=>{yt([st],a+Re,t[`defaultValue${Re}`]||Te)})}):yt(ye,a,Te))}E=this.extendTranslation(E,e,t,O,r),pe&&E===a&&this.options.appendNamespaceToMissingKey&&(E=`${d}:${a}`),(pe||ae)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?E=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${d}:${a}`:a,ae?E:void 0):E=this.options.parseMissingKeyHandler(E))}return i?(O.res=E,O.usedParams=this.getUsedParamsDetails(t),O):E}extendTranslation(e,t,r,i,o){var a=this;if(this.i18nFormat&&this.i18nFormat.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 f=typeof e=="string"&&(r&&r.interpolation&&r.interpolation.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let C;if(f){const E=e.match(this.interpolator.nestingRegexp);C=E&&E.length}let O=r.replace&&typeof r.replace!="string"?r.replace:r;if(this.options.interpolation.defaultVariables&&(O={...this.options.interpolation.defaultVariables,...O}),e=this.interpolator.interpolate(e,O,r.lng||this.language||i.usedLng,r),f){const E=e.match(this.interpolator.nestingRegexp),P=E&&E.length;C1&&arguments[1]!==void 0?arguments[1]:{},r,i,o,a,s;return typeof e=="string"&&(e=[e]),e.forEach(d=>{if(this.isValidLookup(r))return;const f=this.extractFromKey(d,t),C=f.key;i=C;let O=f.namespaces;this.options.fallbackNS&&(O=O.concat(this.options.fallbackNS));const E=t.count!==void 0&&typeof t.count!="string",P=E&&!t.ordinal&&t.count===0&&this.pluralResolver.shouldUseIntlApi(),L=t.context!==void 0&&(typeof t.context=="string"||typeof t.context=="number")&&t.context!=="",$=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);O.forEach(H=>{this.isValidLookup(r)||(s=H,!tT[`${$[0]}-${H}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(s)&&(tT[`${$[0]}-${H}`]=!0,this.logger.warn(`key "${i}" for languages "${$.join(", ")}" won't get resolved as namespace "${s}" 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!!!")),$.forEach(Q=>{if(this.isValidLookup(r))return;a=Q;const N=[C];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(N,C,Q,H,t);else{let ae;E&&(ae=this.pluralResolver.getSuffix(Q,t.count,t));const pe=`${this.options.pluralSeparator}zero`,fe=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(E&&(N.push(C+ae),t.ordinal&&ae.indexOf(fe)===0&&N.push(C+ae.replace(fe,this.options.pluralSeparator)),P&&N.push(C+pe)),L){const X=`${C}${this.options.contextSeparator}${t.context}`;N.push(X),E&&(N.push(X+ae),t.ordinal&&ae.indexOf(fe)===0&&N.push(X+ae.replace(fe,this.options.pluralSeparator)),P&&N.push(X+pe))}}let Z;for(;Z=N.pop();)this.isValidLookup(r)||(o=Z,r=this.getResource(Q,H,Z,t))}))})}),{res:r,usedKey:i,exactUsedKey:o,usedLng:a,usedNS:s}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,t,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.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&&typeof e.replace!="string";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 o of t)delete i[o]}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}}function gS(n){return n.charAt(0).toUpperCase()+n.slice(1)}class nT{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Df.create("languageUtils")}getScriptPartFromCode(e){if(e=a4(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=a4(e),!e||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(typeof e=="string"&&e.indexOf("-")>-1){const t=["hans","hant","latn","cyrl","cans","mong","arab"];let r=e.split("-");return this.options.lowerCaseLng?r=r.map(i=>i.toLowerCase()):r.length===2?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),t.indexOf(r[1].toLowerCase())>-1&&(r[1]=gS(r[1].toLowerCase()))):r.length===3&&(r[0]=r[0].toLowerCase(),r[1].length===2&&(r[1]=r[1].toUpperCase()),r[0]!=="sgn"&&r[2].length===2&&(r[2]=r[2].toUpperCase()),t.indexOf(r[1].toLowerCase())>-1&&(r[1]=gS(r[1].toLowerCase())),t.indexOf(r[2].toLowerCase())>-1&&(r[2]=gS(r[2].toLowerCase()))),r.join("-")}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.getLanguagePartFromCode(r);if(this.isSupportedCode(i))return t=i;t=this.options.supportedLngs.find(o=>{if(o===i)return o;if(!(o.indexOf("-")<0&&i.indexOf("-")<0)&&(o.indexOf("-")>0&&i.indexOf("-")<0&&o.substring(0,o.indexOf("-"))===i||o.indexOf(i)===0&&i.length>1))return o})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if(typeof e=="function"&&(e=e(t)),typeof e=="string"&&(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=[],o=a=>{a&&(this.isSupportedCode(a)?i.push(a):this.logger.warn(`rejecting language code not found in supportedLngs: ${a}`))};return typeof e=="string"&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&o(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&o(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&o(this.getLanguagePartFromCode(e))):typeof e=="string"&&o(this.formatLanguageCode(e)),r.forEach(a=>{i.indexOf(a)<0&&o(this.formatLanguageCode(a))}),i}}let UZ=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],RZ={1:function(n){return+(n>1)},2:function(n){return+(n!=1)},3:function(n){return 0},4:function(n){return n%10==1&&n%100!=11?0:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?1:2},5:function(n){return n==0?0:n==1?1:n==2?2:n%100>=3&&n%100<=10?3:n%100>=11?4:5},6:function(n){return n==1?0:n>=2&&n<=4?1:2},7:function(n){return n==1?0:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?1:2},8:function(n){return n==1?0:n==2?1:n!=8&&n!=11?2:3},9:function(n){return+(n>=2)},10:function(n){return n==1?0:n==2?1:n<7?2:n<11?3:4},11:function(n){return n==1||n==11?0:n==2||n==12?1:n>2&&n<20?2:3},12:function(n){return+(n%10!=1||n%100==11)},13:function(n){return+(n!==0)},14:function(n){return n==1?0:n==2?1:n==3?2:3},15:function(n){return n%10==1&&n%100!=11?0:n%10>=2&&(n%100<10||n%100>=20)?1:2},16:function(n){return n%10==1&&n%100!=11?0:n!==0?1:2},17:function(n){return n==1||n%10==1&&n%100!=11?0:1},18:function(n){return n==0?0:n==1?1:2},19:function(n){return n==1?0:n==0||n%100>1&&n%100<11?1:n%100>10&&n%100<20?2:3},20:function(n){return n==1?0:n==0||n%100>0&&n%100<20?1:2},21:function(n){return n%100==1?1:n%100==2?2:n%100==3||n%100==4?3:0},22:function(n){return n==1?0:n==2?1:(n<0||n>10)&&n%10==0?2:3}};const zZ=["v1","v2","v3"],jZ=["v4"],rT={zero:0,one:1,two:2,few:3,many:4,other:5};function NZ(){const n={};return UZ.forEach(e=>{e.lngs.forEach(t=>{n[t]={numbers:e.nr,plurals:RZ[e.fc]}})}),n}class WZ{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=Df.create("pluralResolver"),(!this.options.compatibilityJSON||jZ.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=NZ()}addRule(e,t){this.rules[e]=t}getRule(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(a4(e==="dev"?"en":e),{type:t.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(e,t);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.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]:{};const r=this.getRule(e,t);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((i,o)=>rT[i]-rT[o]).map(i=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${i}`):r.numbers.map(i=>this.getSuffix(e,i,t)):[]}getSuffix(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const i=this.getRule(e,r);return i?this.shouldUseIntlApi()?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${i.select(t)}`:this.getSuffixRetroCompatible(i,t):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,t){const r=e.noAbs?e.plurals(t):e.plurals(Math.abs(t));let i=e.numbers[r];this.options.simplifyPluralSuffix&&e.numbers.length===2&&e.numbers[0]===1&&(i===2?i="plural":i===1&&(i=""));const o=()=>this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString();return this.options.compatibilityJSON==="v1"?i===1?"":typeof i=="number"?`_plural_${i.toString()}`:o():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&e.numbers.length===2&&e.numbers[0]===1?o():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}shouldUseIntlApi(){return!zZ.includes(this.options.compatibilityJSON)}}function iT(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,o=kZ(n,e,t);return!o&&i&&typeof t=="string"&&(o=N6(n,t,r),o===void 0&&(o=N6(e,t,r))),o}class GZ{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Df.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(t=>t),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:o,prefixEscaped:a,suffix:s,suffixEscaped:d,formatSeparator:f,unescapeSuffix:C,unescapePrefix:O,nestingPrefix:E,nestingPrefixEscaped:P,nestingSuffix:L,nestingSuffixEscaped:$,nestingOptionsSeparator:H,maxReplaces:Q,alwaysFormat:N}=e.interpolation;this.escape=t!==void 0?t:KZ,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=i!==void 0?i:!1,this.prefix=o?kg(o):a||"{{",this.suffix=s?kg(s):d||"}}",this.formatSeparator=f||",",this.unescapePrefix=C?"":O||"-",this.unescapeSuffix=this.unescapePrefix?"":C||"",this.nestingPrefix=E?kg(E):P||kg("$t("),this.nestingSuffix=L?kg(L):$||kg(")"),this.nestingOptionsSeparator=H||",",this.maxReplaces=Q||1e3,this.alwaysFormat=N!==void 0?N:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(t,r)=>t&&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){let o,a,s;const d=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function f(L){return L.replace(/\$/g,"$$$$")}const C=L=>{if(L.indexOf(this.formatSeparator)<0){const N=iT(t,d,L,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(N,void 0,r,{...i,...t,interpolationkey:L}):N}const $=L.split(this.formatSeparator),H=$.shift().trim(),Q=$.join(this.formatSeparator).trim();return this.format(iT(t,d,H,this.options.keySeparator,this.options.ignoreJSONStructure),Q,r,{...i,...t,interpolationkey:H})};this.resetRegExp();const O=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,E=i&&i.interpolation&&i.interpolation.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:L=>f(L)},{regex:this.regexp,safeValue:L=>this.escapeValue?f(this.escape(L)):f(L)}].forEach(L=>{for(s=0;o=L.regex.exec(e);){const $=o[1].trim();if(a=C($),a===void 0)if(typeof O=="function"){const Q=O(e,o,i);a=typeof Q=="string"?Q:""}else if(i&&Object.prototype.hasOwnProperty.call(i,$))a="";else if(E){a=o[0];continue}else this.logger.warn(`missed to pass in variable ${$} for interpolating ${e}`),a="";else typeof a!="string"&&!this.useRawValueToEscape&&(a=X9(a));const H=L.safeValue(a);if(e=e.replace(o[0],H),E?(L.regex.lastIndex+=a.length,L.regex.lastIndex-=o[0].length):L.regex.lastIndex=0,s++,s>=this.maxReplaces)break}}),e}nest(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i,o,a;function s(d,f){const C=this.nestingOptionsSeparator;if(d.indexOf(C)<0)return d;const O=d.split(new RegExp(`${C}[ ]*{`));let E=`{${O[1]}`;d=O[0],E=this.interpolate(E,a);const P=E.match(/'/g),L=E.match(/"/g);(P&&P.length%2===0&&!L||L.length%2!==0)&&(E=E.replace(/'/g,'"'));try{a=JSON.parse(E),f&&(a={...f,...a})}catch($){return this.logger.warn(`failed parsing options string in nesting for key ${d}`,$),`${d}${C}${E}`}return a.defaultValue&&a.defaultValue.indexOf(this.prefix)>-1&&delete a.defaultValue,d}for(;i=this.nestingRegexp.exec(e);){let d=[];a={...r},a=a.replace&&typeof a.replace!="string"?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let f=!1;if(i[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(i[1])){const C=i[1].split(this.formatSeparator).map(O=>O.trim());i[1]=C.shift(),d=C,f=!0}if(o=t(s.call(this,i[1].trim(),a),a),o&&i[0]===e&&typeof o!="string")return o;typeof o!="string"&&(o=X9(o)),o||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${e}`),o=""),f&&(o=d.reduce((C,O)=>this.format(C,O,r.lng,{...r,interpolationkey:i[1].trim()}),o.trim())),e=e.replace(i[0],o),this.regexp.lastIndex=0}return e}}function $Z(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(a=>{if(a){const[s,...d]=a.split(":"),f=d.join(":").trim().replace(/^'+|'+$/g,""),C=s.trim();t[C]||(t[C]=f),f==="false"&&(t[C]=!1),f==="true"&&(t[C]=!0),isNaN(f)||(t[C]=parseInt(f,10))}})}return{formatName:e,formatOptions:t}}function Tg(n){const e={};return function(r,i,o){const a=i+JSON.stringify(o);let s=e[a];return s||(s=n(a4(i),o),e[a]=s),s(r)}}class QZ{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Df.create("formatter"),this.options=e,this.formats={number:Tg((t,r)=>{const i=new Intl.NumberFormat(t,{...r});return o=>i.format(o)}),currency:Tg((t,r)=>{const i=new Intl.NumberFormat(t,{...r,style:"currency"});return o=>i.format(o)}),datetime:Tg((t,r)=>{const i=new Intl.DateTimeFormat(t,{...r});return o=>i.format(o)}),relativetime:Tg((t,r)=>{const i=new Intl.RelativeTimeFormat(t,{...r});return o=>i.format(o,r.range||"day")}),list:Tg((t,r)=>{const i=new Intl.ListFormat(t,{...r});return o=>i.format(o)})},this.init(e)}init(e){const r=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=Tg(t)}format(e,t,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return t.split(this.formatSeparator).reduce((s,d)=>{const{formatName:f,formatOptions:C}=$Z(d);if(this.formats[f]){let O=s;try{const E=i&&i.formatParams&&i.formatParams[i.interpolationkey]||{},P=E.locale||E.lng||i.locale||i.lng||r;O=this.formats[f](s,P,{...C,...i,...E})}catch(E){this.logger.warn(E)}return O}else this.logger.warn(`there was no format function for ${f}`);return s},e)}}function YZ(n,e){n.pending[e]!==void 0&&(delete n.pending[e],n.pendingCount--)}class qZ extends H5{constructor(e,t,r){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=Df.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=[],this.backend&&this.backend.init&&this.backend.init(r,i.backend,i)}queueLoad(e,t,r,i){const o={},a={},s={},d={};return e.forEach(f=>{let C=!0;t.forEach(O=>{const E=`${f}|${O}`;!r.reload&&this.store.hasResourceBundle(f,O)?this.state[E]=2:this.state[E]<0||(this.state[E]===1?a[E]===void 0&&(a[E]=!0):(this.state[E]=1,C=!1,a[E]===void 0&&(a[E]=!0),o[E]===void 0&&(o[E]=!0),d[O]===void 0&&(d[O]=!0)))}),C||(s[f]=!0)}),(Object.keys(o).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(o),pending:Object.keys(a),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(d)}}loaded(e,t,r){const i=e.split("|"),o=i[0],a=i[1];t&&this.emit("failedLoading",o,a,t),r&&this.store.addResourceBundle(o,a,r,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2;const s={};this.queue.forEach(d=>{IZ(d.loaded,[o],a),YZ(d,e),t&&d.errors.push(t),d.pendingCount===0&&!d.done&&(Object.keys(d.loaded).forEach(f=>{s[f]||(s[f]={});const C=d.loaded[f];C.length&&C.forEach(O=>{s[f][O]===void 0&&(s[f][O]=!0)})}),d.done=!0,d.errors.length?d.callback(d.errors):d.callback())}),this.emit("loaded",s),this.queue=this.queue.filter(d=>!d.done)}read(e,t,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:r,tried:i,wait:o,callback:a});return}this.readingCalls++;const s=(f,C)=>{if(this.readingCalls--,this.waitingReads.length>0){const O=this.waitingReads.shift();this.read(O.lng,O.ns,O.fcName,O.tried,O.wait,O.callback)}if(f&&C&&i{this.read.call(this,e,t,r,i+1,o*2,a)},o);return}a(f,C)},d=this.backend[r].bind(this.backend);if(d.length===2){try{const f=d(e,t);f&&typeof f.then=="function"?f.then(C=>s(null,C)).catch(s):s(null,f)}catch(f){s(f)}return}return d(e,t,s)}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();typeof e=="string"&&(e=this.languageUtils.toResolveHierarchy(e)),typeof t=="string"&&(t=[t]);const o=this.queueLoad(e,t,r,i);if(!o.toLoad.length)return o.pending.length||i(),null;o.toLoad.forEach(a=>{this.loadOne(a)})}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],o=r[1];this.read(i,o,"read",void 0,void 0,(a,s)=>{a&&this.logger.warn(`${t}loading namespace ${o} for language ${i} failed`,a),!a&&s&&this.logger.log(`${t}loaded namespace ${o} for language ${i}`,s),this.loaded(e,a,s)})}saveMissing(e,t,r,i,o){let a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.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(this.backend&&this.backend.create){const d={...a,isUpdate:o},f=this.backend.create.bind(this.backend);if(f.length<6)try{let C;f.length===5?C=f(e,t,r,i,d):C=f(e,t,r,i),C&&typeof C.then=="function"?C.then(O=>s(null,O)).catch(s):s(null,C)}catch(C){s(C)}else f(e,t,r,i,s,d)}!e||!e[0]||this.store.addResource(e[0],t,r,i)}}}function oT(){return{debug:!1,initImmediate:!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:function(e){let t={};if(typeof e[1]=="object"&&(t=e[1]),typeof e[1]=="string"&&(t.defaultValue=e[1]),typeof e[2]=="string"&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const r=e[3]||e[2];Object.keys(r).forEach(i=>{t[i]=r[i]})}return t},interpolation:{escapeValue:!0,format:n=>n,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function aT(n){return typeof n.ns=="string"&&(n.ns=[n.ns]),typeof n.fallbackLng=="string"&&(n.fallbackLng=[n.fallbackLng]),typeof n.fallbackNS=="string"&&(n.fallbackNS=[n.fallbackNS]),n.supportedLngs&&n.supportedLngs.indexOf("cimode")<0&&(n.supportedLngs=n.supportedLngs.concat(["cimode"])),n}function y2(){}function VZ(n){Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach(t=>{typeof n[t]=="function"&&(n[t]=n[t].bind(n))})}class X_ extends H5{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(super(),this.options=aT(e),this.services={},this.logger=Df,this.modules={external:[]},VZ(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)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&&t.defaultNS!==!1&&t.ns&&(typeof t.ns=="string"?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const i=oT();this.options={...i,...this.options,...aT(t)},this.options.compatibilityAPI!=="v1"&&(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);function o(C){return C?typeof C=="function"?new C:C:null}if(!this.options.isClone){this.modules.logger?Df.init(o(this.modules.logger),this.options):Df.init(null,this.options);let C;this.modules.formatter?C=this.modules.formatter:typeof Intl<"u"&&(C=QZ);const O=new nT(this.options);this.store=new eT(this.options.resources,this.options);const E=this.services;E.logger=Df,E.resourceStore=this.store,E.languageUtils=O,E.pluralResolver=new WZ(O,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),C&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(E.formatter=o(C),E.formatter.init(E,this.options),this.options.interpolation.format=E.formatter.format.bind(E.formatter)),E.interpolator=new GZ(this.options),E.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},E.backendConnector=new qZ(o(this.modules.backend),E.resourceStore,E,this.options),E.backendConnector.on("*",function(P){for(var L=arguments.length,$=new Array(L>1?L-1:0),H=1;H1?L-1:0),H=1;H{P.init&&P.init(this)})}if(this.format=this.options.interpolation.format,r||(r=y2),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const C=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);C.length>0&&C[0]!=="dev"&&(this.options.lng=C[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(C=>{this[C]=function(){return e.store[C](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(C=>{this[C]=function(){return e.store[C](...arguments),e}});const d=EC(),f=()=>{const C=(O,E)=>{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),d.resolve(E),r(O,E)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return C(null,this.t.bind(this));this.changeLanguage(this.options.lng,C)};return this.options.resources||!this.options.initImmediate?f():setTimeout(f,0),d}loadResources(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:y2;const i=typeof e=="string"?e:this.language;if(typeof e=="function"&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(i&&i.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const o=[],a=s=>{if(!s||s==="cimode")return;this.services.languageUtils.toResolveHierarchy(s).forEach(f=>{f!=="cimode"&&o.indexOf(f)<0&&o.push(f)})};i?a(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(d=>a(d)),this.options.preload&&this.options.preload.forEach(s=>a(s)),this.services.backendConnector.load(o,this.options.ns,s=>{!s&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(s)})}else r(null)}reloadResources(e,t,r){const i=EC();return e||(e=this.languages),t||(t=this.options.ns),r||(r=y2),this.services.backendConnector.reload(e,t,o=>{i.resolve(),r(o)}),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"&&CR.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}}}changeLanguage(e,t){var r=this;this.isLanguageChangingTo=e;const i=EC();this.emit("languageChanging",e);const o=d=>{this.language=d,this.languages=this.services.languageUtils.toResolveHierarchy(d),this.resolvedLanguage=void 0,this.setResolvedLanguage(d)},a=(d,f)=>{f?(o(f),this.translator.changeLanguage(f),this.isLanguageChangingTo=void 0,this.emit("languageChanged",f),this.logger.log("languageChanged",f)):this.isLanguageChangingTo=void 0,i.resolve(function(){return r.t(...arguments)}),t&&t(d,function(){return r.t(...arguments)})},s=d=>{!e&&!d&&this.services.languageDetector&&(d=[]);const f=typeof d=="string"?d:this.services.languageUtils.getBestMatchFromCodes(d);f&&(this.language||o(f),this.translator.language||this.translator.changeLanguage(f),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(f)),this.loadResources(f,C=>{a(C,f)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?s(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(s):this.services.languageDetector.detect(s):s(e),i}getFixedT(e,t,r){var i=this;const o=function(a,s){let d;if(typeof s!="object"){for(var f=arguments.length,C=new Array(f>2?f-2:0),O=2;O`${d.keyPrefix}${E}${L}`):P=d.keyPrefix?`${d.keyPrefix}${E}${a}`:a,i.t(P,d)};return typeof e=="string"?o.lng=e:o.lngs=e,o.ns=t,o.keyPrefix=r,o}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&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,o=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const a=(s,d)=>{const f=this.services.backendConnector.state[`${s}|${d}`];return f===-1||f===2};if(t.precheck){const s=t.precheck(this,a);if(s!==void 0)return s}return!!(this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(r,e)&&(!i||a(o,e)))}loadNamespaces(e,t){const r=EC();return this.options.ns?(typeof e=="string"&&(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=EC();typeof e=="string"&&(e=[e]);const i=this.options.preload||[],o=e.filter(a=>i.indexOf(a)<0&&this.services.languageUtils.isSupportedCode(a));return o.length?(this.options.preload=i.concat(o),this.loadResources(a=>{r.resolve(),t&&t(a)}),r):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.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=this.services&&this.services.languageUtils||new nT(oT());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 X_(e,t)}cloneInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:y2;const r=e.forkResourceStore;r&&delete e.forkResourceStore;const i={...this.options,...e,isClone:!0},o=new X_(i);return(e.debug!==void 0||e.prefix!==void 0)&&(o.logger=o.logger.clone(e)),["store","services","language"].forEach(s=>{o[s]=this[s]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},r&&(o.store=new eT(this.store.data,i),o.services.resourceStore=o.store),o.translator=new s4(o.services,i),o.translator.on("*",function(s){for(var d=arguments.length,f=new Array(d>1?d-1:0),C=1;C{if(e)for(const t in e)n[t]===void 0&&(n[t]=e[t])}),n}const sT=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,JZ=(n,e,t)=>{const r=t||{};r.path=r.path||"/";const i=encodeURIComponent(e);let o=`${n}=${i}`;if(r.maxAge>0){const a=r.maxAge-0;if(Number.isNaN(a))throw new Error("maxAge should be a Number");o+=`; Max-Age=${Math.floor(a)}`}if(r.domain){if(!sT.test(r.domain))throw new TypeError("option domain is invalid");o+=`; Domain=${r.domain}`}if(r.path){if(!sT.test(r.path))throw new TypeError("option path is invalid");o+=`; Path=${r.path}`}if(r.expires){if(typeof r.expires.toUTCString!="function")throw new TypeError("option expires is invalid");o+=`; Expires=${r.expires.toUTCString()}`}if(r.httpOnly&&(o+="; HttpOnly"),r.secure&&(o+="; Secure"),r.sameSite)switch(typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite){case!0:o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"strict":o+="; SameSite=Strict";break;case"none":o+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return o},lT={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=JZ(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 a=i.substring(1).split("&");for(let s=0;s0&&a[s].substring(0,d)===e&&(t=a[s].substring(d+1))}}return t}};let OC=null;const uT=()=>{if(OC!==null)return OC;try{OC=window!=="undefined"&&window.localStorage!==null;const n="i18next.translate.boo";window.localStorage.setItem(n,"foo"),window.localStorage.removeItem(n)}catch{OC=!1}return OC};var nX={name:"localStorage",lookup(n){let{lookupLocalStorage:e}=n;if(e&&uT())return window.localStorage.getItem(e)||void 0},cacheUserLanguage(n,e){let{lookupLocalStorage:t}=e;t&&uT()&&window.localStorage.setItem(t,n)}};let BC=null;const AT=()=>{if(BC!==null)return BC;try{BC=window!=="undefined"&&window.sessionStorage!==null;const n="i18next.translate.boo";window.sessionStorage.setItem(n,"foo"),window.sessionStorage.removeItem(n)}catch{BC=!1}return BC};var rX={name:"sessionStorage",lookup(n){let{lookupSessionStorage:e}=n;if(e&&AT())return window.sessionStorage.getItem(e)||void 0},cacheUserLanguage(n,e){let{lookupSessionStorage:t}=e;t&&AT()&&window.sessionStorage.setItem(t,n)}},iX={name:"navigator",lookup(n){const e=[];if(typeof navigator<"u"){const{languages:t,userLanguage:r,language:i}=navigator;if(t)for(let o=0;o0?e:void 0}},oX={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}},aX={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}},sX={name:"subdomain",lookup(n){var i,o;let{lookupFromSubdomainIndex:e}=n;const t=typeof e=="number"?e+1:1,r=typeof window<"u"&&((o=(i=window.location)==null?void 0:i.hostname)==null?void 0:o.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i));if(r)return r[t]}};function lX(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:n=>n}}class _R{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(e,t)}init(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=e||{languageUtils:{}},this.options=XZ(t,this.options||{},lX()),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(eX),this.addDetector(tX),this.addDetector(nX),this.addDetector(rX),this.addDetector(iX),this.addDetector(oX),this.addDetector(aX),this.addDetector(sX)}addDetector(e){return this.detectors[e.name]=e,this}detect(e){e||(e=this.options.order);let 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.map(r=>this.options.convertDetectedLanguage(r)),this.services.languageUtils.getBestMatchFromCodes?t:t.length>0?t[0]:null}cacheUserLanguage(e,t){t||(t=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)}))}}_R.type="languageDetector";var uX=function(e){return{type:"backend",init:function(r,i,o){},read:function(r,i,o){if(typeof e=="function"){if(e.length<3){try{var a=e(r,i);a&&typeof a.then=="function"?a.then(function(s){return o(null,s&&s.default||s)}).catch(o):o(null,a)}catch(s){o(s)}return}e(r,i,o);return}o(null,e&&e[r]&&e[r][i])}}},AX={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};const cX=ma(AX);var dX=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function cT(n){var e={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},t=n.match(/<\/?([^\s]+?)[/\s>]/);if(t&&(e.name=t[1],(cX[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(dX),o=null;(o=i.exec(n))!==null;)if(o[0].trim())if(o[1]){var a=o[1].trim(),s=[a,""];a.indexOf("=")>-1&&(s=a.split("=")),e.attrs[s[0]]=s[1],i.lastIndex--}else o[2]&&(e.attrs[o[2]]=o[3].trim().substring(1,o[3].length-1));return e}var hX=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,fX=/^\s*$/,pX=Object.create(null);function bR(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(bR,"")+"";case"comment":return n+""}}var mX={parse:function(n,e){e||(e={}),e.components||(e.components=pX);var t,r=[],i=[],o=-1,a=!1;if(n.indexOf("<")!==0){var s=n.indexOf("<");r.push({type:"text",content:s===-1?n:n.substring(0,s)})}return n.replace(hX,function(d,f){if(a){if(d!=="")return;a=!1}var C,O=d.charAt(1)!=="/",E=d.startsWith("");return{type:"comment",comment:r!==-1?n.slice(4,r):""}}for(var i=new RegExp(dX),o=null;(o=i.exec(n))!==null;)if(o[0].trim())if(o[1]){var a=o[1].trim(),s=[a,""];a.indexOf("=")>-1&&(s=a.split("=")),e.attrs[s[0]]=s[1],i.lastIndex--}else o[2]&&(e.attrs[o[2]]=o[3].trim().substring(1,o[3].length-1));return e}var hX=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,fX=/^\s*$/,pX=Object.create(null);function bR(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(bR,"")+"";case"comment":return n+""}}var mX={parse:function(n,e){e||(e={}),e.components||(e.components=pX);var t,r=[],i=[],o=-1,a=!1;if(n.indexOf("<")!==0){var s=n.indexOf("<");r.push({type:"text",content:s===-1?n:n.substring(0,s)})}return n.replace(hX,function(d,f){if(a){if(d!=="")return;a=!1}var C,O=d.charAt(1)!=="/",E=d.startsWith("