diff --git a/assets/albuns-DjaerArZ.png b/assets/albuns-DjaerArZ.png new file mode 100644 index 0000000..b87c5dc Binary files /dev/null and b/assets/albuns-DjaerArZ.png differ diff --git a/assets/index-Bj59aNL5.js b/assets/index-Bj59aNL5.js new file mode 100644 index 0000000..caa481f --- /dev/null +++ b/assets/index-Bj59aNL5.js @@ -0,0 +1,425 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.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 s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(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=n(i);fetch(i.href,o)}})();function ap(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var pc={exports:{}},mo={},hc={exports:{}},T={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Br=Symbol.for("react.element"),up=Symbol.for("react.portal"),cp=Symbol.for("react.fragment"),fp=Symbol.for("react.strict_mode"),dp=Symbol.for("react.profiler"),pp=Symbol.for("react.provider"),hp=Symbol.for("react.context"),gp=Symbol.for("react.forward_ref"),mp=Symbol.for("react.suspense"),yp=Symbol.for("react.memo"),vp=Symbol.for("react.lazy"),Ca=Symbol.iterator;function wp(e){return e===null||typeof e!="object"?null:(e=Ca&&e[Ca]||e["@@iterator"],typeof e=="function"?e:null)}var gc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},mc=Object.assign,yc={};function Kn(e,t,n){this.props=e,this.context=t,this.refs=yc,this.updater=n||gc}Kn.prototype.isReactComponent={};Kn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=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,e,t,"setState")};Kn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function vc(){}vc.prototype=Kn.prototype;function El(e,t,n){this.props=e,this.context=t,this.refs=yc,this.updater=n||gc}var Pl=El.prototype=new vc;Pl.constructor=El;mc(Pl,Kn.prototype);Pl.isPureReactComponent=!0;var Ea=Array.isArray,wc=Object.prototype.hasOwnProperty,Nl={current:null},Sc={key:!0,ref:!0,__self:!0,__source:!0};function xc(e,t,n){var r,i={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)wc.call(t,r)&&!Sc.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(l===1)i.children=n;else if(1>>1,Q=P[D];if(0>>1;Di(xt,j))Pei(at,xt)?(P[D]=at,P[Pe]=j,D=Pe):(P[D]=xt,P[Ve]=j,D=Ve);else if(Pei(at,j))P[D]=at,P[Pe]=j,D=Pe;else break e}}return L}function i(P,L){var j=P.sortIndex-L.sortIndex;return j!==0?j:P.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,l=s.now();e.unstable_now=function(){return s.now()-l}}var a=[],u=[],f=1,p=null,c=3,m=!1,v=!1,w=!1,_=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function g(P){for(var L=n(u);L!==null;){if(L.callback===null)r(u);else if(L.startTime<=P)r(u),L.sortIndex=L.expirationTime,t(a,L);else break;L=n(u)}}function y(P){if(w=!1,g(P),!v)if(n(a)!==null)v=!0,Ze(x);else{var L=n(u);L!==null&&be(y,L.startTime-P)}}function x(P,L){v=!1,w&&(w=!1,h(N),N=-1),m=!0;var j=c;try{for(g(L),p=n(a);p!==null&&(!(p.expirationTime>L)||P&&!U());){var D=p.callback;if(typeof D=="function"){p.callback=null,c=p.priorityLevel;var Q=D(p.expirationTime<=L);L=e.unstable_now(),typeof Q=="function"?p.callback=Q:p===n(a)&&r(a),g(L)}else r(a);p=n(a)}if(p!==null)var Bt=!0;else{var Ve=n(u);Ve!==null&&be(y,Ve.startTime-L),Bt=!1}return Bt}finally{p=null,c=j,m=!1}}var k=!1,S=null,N=-1,I=5,$=-1;function U(){return!(e.unstable_now()-$P||125D?(P.sortIndex=j,t(u,P),n(a)===null&&P===n(u)&&(w?(h(N),N=-1):w=!0,be(y,j-D))):(P.sortIndex=Q,t(a,P),v||m||(v=!0,Ze(x))),P},e.unstable_shouldYield=U,e.unstable_wrapCallback=function(P){var L=c;return function(){var j=c;c=L;try{return P.apply(this,arguments)}finally{c=j}}}})(Nc);Pc.exports=Nc;var $p=Pc.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var jp=H,$e=$p;function E(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ss=Object.prototype.hasOwnProperty,Rp=/^[: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]*$/,Na={},_a={};function Ap(e){return Ss.call(_a,e)?!0:Ss.call(Na,e)?!1:Rp.test(e)?_a[e]=!0:(Na[e]=!0,!1)}function zp(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Ip(e,t,n,r){if(t===null||typeof t>"u"||zp(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ve(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var ue={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ue[e]=new ve(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ue[t]=new ve(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ue[e]=new ve(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ue[e]=new ve(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ue[e]=new ve(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ue[e]=new ve(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ue[e]=new ve(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ue[e]=new ve(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ue[e]=new ve(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ol=/[\-:]([a-z])/g;function Ll(e){return e[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(e){var t=e.replace(Ol,Ll);ue[t]=new ve(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Ol,Ll);ue[t]=new ve(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Ol,Ll);ue[t]=new ve(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ue[e]=new ve(e,1,!1,e.toLowerCase(),null,!1,!1)});ue.xlinkHref=new ve("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ue[e]=new ve(e,1,!1,e.toLowerCase(),null,!0,!0)});function $l(e,t,n,r){var i=ue.hasOwnProperty(t)?ue[t]:null;(i!==null?i.type!==0:r||!(2l||i[s]!==o[l]){var a=` +`+i[s].replace(" at new "," at ");return e.displayName&&a.includes("")&&(a=a.replace("",e.displayName)),a}while(1<=s&&0<=l);break}}}finally{Qo=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ar(e):""}function Tp(e){switch(e.tag){case 5:return ar(e.type);case 16:return ar("Lazy");case 13:return ar("Suspense");case 19:return ar("SuspenseList");case 0:case 2:case 15:return e=Bo(e.type,!1),e;case 11:return e=Bo(e.type.render,!1),e;case 1:return e=Bo(e.type,!0),e;default:return""}}function Es(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case mn:return"Fragment";case gn:return"Portal";case xs:return"Profiler";case jl:return"StrictMode";case ks:return"Suspense";case Cs:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Lc:return(e.displayName||"Context")+".Consumer";case Oc:return(e._context.displayName||"Context")+".Provider";case Rl:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Al:return t=e.displayName||null,t!==null?t:Es(e.type)||"Memo";case Pt:t=e._payload,e=e._init;try{return Es(e(t))}catch{}}return null}function Fp(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Es(t);case 8:return t===jl?"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 t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Mt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function jc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Dp(e){var t=jc(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ei(e){e._valueTracker||(e._valueTracker=Dp(e))}function Rc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=jc(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ii(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Ps(e,t){var n=t.checked;return Z({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function La(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Mt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Ac(e,t){t=t.checked,t!=null&&$l(e,"checked",t,!1)}function Ns(e,t){Ac(e,t);var n=Mt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?_s(e,t.type,n):t.hasOwnProperty("defaultValue")&&_s(e,t.type,Mt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function $a(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function _s(e,t,n){(t!=="number"||Ii(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ur=Array.isArray;function On(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=ti.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Pr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var pr={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},Mp=["Webkit","ms","Moz","O"];Object.keys(pr).forEach(function(e){Mp.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pr[t]=pr[e]})});function Fc(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||pr.hasOwnProperty(e)&&pr[e]?(""+t).trim():t+"px"}function Dc(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Fc(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Up=Z({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 $s(e,t){if(t){if(Up[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(E(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(E(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(E(61))}if(t.style!=null&&typeof t.style!="object")throw Error(E(62))}}function js(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Rs=null;function zl(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var As=null,Ln=null,$n=null;function Aa(e){if(e=Gr(e)){if(typeof As!="function")throw Error(E(280));var t=e.stateNode;t&&(t=xo(t),As(e.stateNode,e.type,t))}}function Mc(e){Ln?$n?$n.push(e):$n=[e]:Ln=e}function Uc(){if(Ln){var e=Ln,t=$n;if($n=Ln=null,Aa(e),t)for(e=0;e>>=0,e===0?32:31-(Zp(e)/bp|0)|0}var ni=64,ri=4194304;function cr(e){switch(e&-e){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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Mi(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var l=s&~i;l!==0?r=cr(l):(o&=s,o!==0&&(r=cr(o)))}else s=n&~i,s!==0?r=cr(s):o!==0&&(r=cr(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Wr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ke(t),e[t]=n}function nh(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=gr),Ha=" ",Qa=!1;function lf(e,t){switch(e){case"keyup":return $h.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function af(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var yn=!1;function Rh(e,t){switch(e){case"compositionend":return af(t);case"keypress":return t.which!==32?null:(Qa=!0,Ha);case"textInput":return e=t.data,e===Ha&&Qa?null:e;default:return null}}function Ah(e,t){if(yn)return e==="compositionend"||!Hl&&lf(e,t)?(e=of(),xi=Ml=Lt=null,yn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ga(n)}}function df(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?df(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function pf(){for(var e=window,t=Ii();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ii(e.document)}return t}function Ql(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Hh(e){var t=pf(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&df(n.ownerDocument.documentElement,n)){if(r!==null&&Ql(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Ya(n,o);var s=Ya(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,vn=null,Ms=null,yr=null,Us=!1;function Ja(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Us||vn==null||vn!==Ii(r)||(r=vn,"selectionStart"in r&&Ql(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}),yr&&jr(yr,r)||(yr=r,r=Hi(Ms,"onSelect"),0xn||(e.current=Ks[xn],Ks[xn]=null,xn--)}function B(e,t){xn++,Ks[xn]=e.current,e.current=t}var Ut={},pe=Ht(Ut),ke=Ht(!1),rn=Ut;function In(e,t){var n=e.type.contextTypes;if(!n)return Ut;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ce(e){return e=e.childContextTypes,e!=null}function Bi(){G(ke),G(pe)}function nu(e,t,n){if(pe.current!==Ut)throw Error(E(168));B(pe,t),B(ke,n)}function kf(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(E(108,Fp(e)||"Unknown",i));return Z({},n,r)}function Wi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ut,rn=pe.current,B(pe,e),B(ke,ke.current),!0}function ru(e,t,n){var r=e.stateNode;if(!r)throw Error(E(169));n?(e=kf(e,t,rn),r.__reactInternalMemoizedMergedChildContext=e,G(ke),G(pe),B(pe,e)):G(ke),B(ke,n)}var ft=null,ko=!1,is=!1;function Cf(e){ft===null?ft=[e]:ft.push(e)}function eg(e){ko=!0,Cf(e)}function Qt(){if(!is&&ft!==null){is=!0;var e=0,t=V;try{var n=ft;for(V=1;e>=s,i-=s,dt=1<<32-Ke(t)+i|n<N?(I=S,S=null):I=S.sibling;var $=c(h,S,g[N],y);if($===null){S===null&&(S=I);break}e&&S&&$.alternate===null&&t(h,S),d=o($,d,N),k===null?x=$:k.sibling=$,k=$,S=I}if(N===g.length)return n(h,S),Y&&Kt(h,N),x;if(S===null){for(;NN?(I=S,S=null):I=S.sibling;var U=c(h,S,$.value,y);if(U===null){S===null&&(S=I);break}e&&S&&U.alternate===null&&t(h,S),d=o(U,d,N),k===null?x=U:k.sibling=U,k=U,S=I}if($.done)return n(h,S),Y&&Kt(h,N),x;if(S===null){for(;!$.done;N++,$=g.next())$=p(h,$.value,y),$!==null&&(d=o($,d,N),k===null?x=$:k.sibling=$,k=$);return Y&&Kt(h,N),x}for(S=r(h,S);!$.done;N++,$=g.next())$=m(S,h,N,$.value,y),$!==null&&(e&&$.alternate!==null&&S.delete($.key===null?N:$.key),d=o($,d,N),k===null?x=$:k.sibling=$,k=$);return e&&S.forEach(function(St){return t(h,St)}),Y&&Kt(h,N),x}function _(h,d,g,y){if(typeof g=="object"&&g!==null&&g.type===mn&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case qr:e:{for(var x=g.key,k=d;k!==null;){if(k.key===x){if(x=g.type,x===mn){if(k.tag===7){n(h,k.sibling),d=i(k,g.props.children),d.return=h,h=d;break e}}else if(k.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===Pt&&su(x)===k.type){n(h,k.sibling),d=i(k,g.props),d.ref=rr(h,k,g),d.return=h,h=d;break e}n(h,k);break}else t(h,k);k=k.sibling}g.type===mn?(d=qt(g.props.children,h.mode,y,g.key),d.return=h,h=d):(y=Li(g.type,g.key,g.props,null,h.mode,y),y.ref=rr(h,d,g),y.return=h,h=y)}return s(h);case gn:e:{for(k=g.key;d!==null;){if(d.key===k)if(d.tag===4&&d.stateNode.containerInfo===g.containerInfo&&d.stateNode.implementation===g.implementation){n(h,d.sibling),d=i(d,g.children||[]),d.return=h,h=d;break e}else{n(h,d);break}else t(h,d);d=d.sibling}d=ds(g,h.mode,y),d.return=h,h=d}return s(h);case Pt:return k=g._init,_(h,d,k(g._payload),y)}if(ur(g))return v(h,d,g,y);if(bn(g))return w(h,d,g,y);ci(h,g)}return typeof g=="string"&&g!==""||typeof g=="number"?(g=""+g,d!==null&&d.tag===6?(n(h,d.sibling),d=i(d,g),d.return=h,h=d):(n(h,d),d=fs(g,h.mode,y),d.return=h,h=d),s(h)):n(h,d)}return _}var Fn=_f(!0),Of=_f(!1),Yi=Ht(null),Ji=null,En=null,Gl=null;function Yl(){Gl=En=Ji=null}function Jl(e){var t=Yi.current;G(Yi),e._currentValue=t}function Js(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Rn(e,t){Ji=e,Gl=En=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Se=!0),e.firstContext=null)}function De(e){var t=e._currentValue;if(Gl!==e)if(e={context:e,memoizedValue:t,next:null},En===null){if(Ji===null)throw Error(E(308));En=e,Ji.dependencies={lanes:0,firstContext:e}}else En=En.next=e;return t}var Jt=null;function Xl(e){Jt===null?Jt=[e]:Jt.push(e)}function Lf(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Xl(t)):(n.next=i.next,i.next=n),t.interleaved=n,yt(e,r)}function yt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Nt=!1;function Zl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function $f(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ht(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function It(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,F&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,yt(e,n)}return i=r.interleaved,i===null?(t.next=t,Xl(r)):(t.next=i.next,i.next=t),r.interleaved=t,yt(e,n)}function Ci(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Tl(e,n)}}function lu(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=s:o=o.next=s,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Xi(e,t,n,r){var i=e.updateQueue;Nt=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,l=i.shared.pending;if(l!==null){i.shared.pending=null;var a=l,u=a.next;a.next=null,s===null?o=u:s.next=u,s=a;var f=e.alternate;f!==null&&(f=f.updateQueue,l=f.lastBaseUpdate,l!==s&&(l===null?f.firstBaseUpdate=u:l.next=u,f.lastBaseUpdate=a))}if(o!==null){var p=i.baseState;s=0,f=u=a=null,l=o;do{var c=l.lane,m=l.eventTime;if((r&c)===c){f!==null&&(f=f.next={eventTime:m,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var v=e,w=l;switch(c=t,m=n,w.tag){case 1:if(v=w.payload,typeof v=="function"){p=v.call(m,p,c);break e}p=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=w.payload,c=typeof v=="function"?v.call(m,p,c):v,c==null)break e;p=Z({},p,c);break e;case 2:Nt=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,c=i.effects,c===null?i.effects=[l]:c.push(l))}else m={eventTime:m,lane:c,tag:l.tag,payload:l.payload,callback:l.callback,next:null},f===null?(u=f=m,a=p):f=f.next=m,s|=c;if(l=l.next,l===null){if(l=i.shared.pending,l===null)break;c=l,l=c.next,c.next=null,i.lastBaseUpdate=c,i.shared.pending=null}}while(!0);if(f===null&&(a=p),i.baseState=a,i.firstBaseUpdate=u,i.lastBaseUpdate=f,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);ln|=s,e.lanes=s,e.memoizedState=p}}function au(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=ss.transition;ss.transition={};try{e(!1),t()}finally{V=n,ss.transition=r}}function Gf(){return Me().memoizedState}function ig(e,t,n){var r=Ft(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Yf(e))Jf(t,n);else if(n=Lf(e,t,n,r),n!==null){var i=me();Ge(n,e,r,i),Xf(n,t,r)}}function og(e,t,n){var r=Ft(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Yf(e))Jf(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,l=o(s,n);if(i.hasEagerState=!0,i.eagerState=l,Je(l,s)){var a=t.interleaved;a===null?(i.next=i,Xl(t)):(i.next=a.next,a.next=i),t.interleaved=i;return}}catch{}finally{}n=Lf(e,t,i,r),n!==null&&(i=me(),Ge(n,e,r,i),Xf(n,t,r))}}function Yf(e){var t=e.alternate;return e===X||t!==null&&t===X}function Jf(e,t){vr=bi=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Xf(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Tl(e,n)}}var qi={readContext:De,useCallback:ce,useContext:ce,useEffect:ce,useImperativeHandle:ce,useInsertionEffect:ce,useLayoutEffect:ce,useMemo:ce,useReducer:ce,useRef:ce,useState:ce,useDebugValue:ce,useDeferredValue:ce,useTransition:ce,useMutableSource:ce,useSyncExternalStore:ce,useId:ce,unstable_isNewReconciler:!1},sg={readContext:De,useCallback:function(e,t){return et().memoizedState=[e,t===void 0?null:t],e},useContext:De,useEffect:cu,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Pi(4194308,4,Hf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Pi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Pi(4,2,e,t)},useMemo:function(e,t){var n=et();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=et();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ig.bind(null,X,e),[r.memoizedState,e]},useRef:function(e){var t=et();return e={current:e},t.memoizedState=e},useState:uu,useDebugValue:oa,useDeferredValue:function(e){return et().memoizedState=e},useTransition:function(){var e=uu(!1),t=e[0];return e=rg.bind(null,e[1]),et().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=X,i=et();if(Y){if(n===void 0)throw Error(E(407));n=n()}else{if(n=t(),se===null)throw Error(E(349));sn&30||zf(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,cu(Tf.bind(null,r,o,e),[e]),r.flags|=2048,Mr(9,If.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=et(),t=se.identifierPrefix;if(Y){var n=pt,r=dt;n=(r&~(1<<32-Ke(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Fr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[nt]=t,e[zr]=r,sd(e,t,!1,!1),t.stateNode=e;e:{switch(s=js(n,r),n){case"dialog":W("cancel",e),W("close",e),i=r;break;case"iframe":case"object":case"embed":W("load",e),i=r;break;case"video":case"audio":for(i=0;iUn&&(t.flags|=128,r=!0,ir(o,!1),t.lanes=4194304)}else{if(!r)if(e=Zi(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ir(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!Y)return fe(t),null}else 2*q()-o.renderingStartTime>Un&&n!==1073741824&&(t.flags|=128,r=!0,ir(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=q(),t.sibling=null,n=J.current,B(J,r?n&1|2:n&1),t):(fe(t),null);case 22:case 23:return fa(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?_e&1073741824&&(fe(t),t.subtreeFlags&6&&(t.flags|=8192)):fe(t),null;case 24:return null;case 25:return null}throw Error(E(156,t.tag))}function hg(e,t){switch(Wl(t),t.tag){case 1:return Ce(t.type)&&Bi(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Dn(),G(ke),G(pe),ea(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return ql(t),null;case 13:if(G(J),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(E(340));Tn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return G(J),null;case 4:return Dn(),null;case 10:return Jl(t.type._context),null;case 22:case 23:return fa(),null;case 24:return null;default:return null}}var di=!1,de=!1,gg=typeof WeakSet=="function"?WeakSet:Set,O=null;function Pn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){b(e,t,r)}else n.current=null}function il(e,t,n){try{n()}catch(r){b(e,t,r)}}var xu=!1;function mg(e,t){if(Vs=Ui,e=pf(),Ql(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,l=-1,a=-1,u=0,f=0,p=e,c=null;t:for(;;){for(var m;p!==n||i!==0&&p.nodeType!==3||(l=s+i),p!==o||r!==0&&p.nodeType!==3||(a=s+r),p.nodeType===3&&(s+=p.nodeValue.length),(m=p.firstChild)!==null;)c=p,p=m;for(;;){if(p===e)break t;if(c===n&&++u===i&&(l=s),c===o&&++f===r&&(a=s),(m=p.nextSibling)!==null)break;p=c,c=p.parentNode}p=m}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Hs={focusedElem:e,selectionRange:n},Ui=!1,O=t;O!==null;)if(t=O,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,O=e;else for(;O!==null;){t=O;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var w=v.memoizedProps,_=v.memoizedState,h=t.stateNode,d=h.getSnapshotBeforeUpdate(t.elementType===t.type?w:Qe(t.type,w),_);h.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var g=t.stateNode.containerInfo;g.nodeType===1?g.textContent="":g.nodeType===9&&g.documentElement&&g.removeChild(g.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(E(163))}}catch(y){b(t,t.return,y)}if(e=t.sibling,e!==null){e.return=t.return,O=e;break}O=t.return}return v=xu,xu=!1,v}function wr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&il(t,n,o)}i=i.next}while(i!==r)}}function Po(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ol(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function ud(e){var t=e.alternate;t!==null&&(e.alternate=null,ud(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[nt],delete t[zr],delete t[Ws],delete t[bh],delete t[qh])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function cd(e){return e.tag===5||e.tag===3||e.tag===4}function ku(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||cd(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function sl(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Qi));else if(r!==4&&(e=e.child,e!==null))for(sl(e,t,n),e=e.sibling;e!==null;)sl(e,t,n),e=e.sibling}function ll(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(ll(e,t,n),e=e.sibling;e!==null;)ll(e,t,n),e=e.sibling}var le=null,Be=!1;function Ct(e,t,n){for(n=n.child;n!==null;)fd(e,t,n),n=n.sibling}function fd(e,t,n){if(it&&typeof it.onCommitFiberUnmount=="function")try{it.onCommitFiberUnmount(yo,n)}catch{}switch(n.tag){case 5:de||Pn(n,t);case 6:var r=le,i=Be;le=null,Ct(e,t,n),le=r,Be=i,le!==null&&(Be?(e=le,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):le.removeChild(n.stateNode));break;case 18:le!==null&&(Be?(e=le,n=n.stateNode,e.nodeType===8?rs(e.parentNode,n):e.nodeType===1&&rs(e,n),Lr(e)):rs(le,n.stateNode));break;case 4:r=le,i=Be,le=n.stateNode.containerInfo,Be=!0,Ct(e,t,n),le=r,Be=i;break;case 0:case 11:case 14:case 15:if(!de&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&il(n,t,s),i=i.next}while(i!==r)}Ct(e,t,n);break;case 1:if(!de&&(Pn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){b(n,t,l)}Ct(e,t,n);break;case 21:Ct(e,t,n);break;case 22:n.mode&1?(de=(r=de)||n.memoizedState!==null,Ct(e,t,n),de=r):Ct(e,t,n);break;default:Ct(e,t,n)}}function Cu(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new gg),t.forEach(function(r){var i=Pg.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function He(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~o}if(r=i,r=q()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*vg(r/1960))-r,10e?16:e,$t===null)var r=!1;else{if(e=$t,$t=null,no=0,F&6)throw Error(E(331));var i=F;for(F|=4,O=e.current;O!==null;){var o=O,s=o.child;if(O.flags&16){var l=o.deletions;if(l!==null){for(var a=0;aq()-ua?bt(e,0):aa|=n),Ee(e,t)}function wd(e,t){t===0&&(e.mode&1?(t=ri,ri<<=1,!(ri&130023424)&&(ri=4194304)):t=1);var n=me();e=yt(e,t),e!==null&&(Wr(e,t,n),Ee(e,n))}function Eg(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),wd(e,n)}function Pg(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(E(314))}r!==null&&r.delete(t),wd(e,n)}var Sd;Sd=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ke.current)Se=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Se=!1,dg(e,t,n);Se=!!(e.flags&131072)}else Se=!1,Y&&t.flags&1048576&&Ef(t,Gi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ni(e,t),e=t.pendingProps;var i=In(t,pe.current);Rn(t,n),i=na(null,t,r,e,i,n);var o=ra();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ce(r)?(o=!0,Wi(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Zl(t),i.updater=Eo,t.stateNode=i,i._reactInternals=t,Zs(t,r,e,n),t=el(null,t,r,!0,o,n)):(t.tag=0,Y&&o&&Bl(t),ge(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ni(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=_g(r),e=Qe(r,e),i){case 0:t=qs(null,t,r,e,n);break e;case 1:t=vu(null,t,r,e,n);break e;case 11:t=mu(null,t,r,e,n);break e;case 14:t=yu(null,t,r,Qe(r.type,e),n);break e}throw Error(E(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Qe(r,i),qs(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Qe(r,i),vu(e,t,r,i,n);case 3:e:{if(rd(t),e===null)throw Error(E(387));r=t.pendingProps,o=t.memoizedState,i=o.element,$f(e,t),Xi(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Mn(Error(E(423)),t),t=wu(e,t,r,n,i);break e}else if(r!==i){i=Mn(Error(E(424)),t),t=wu(e,t,r,n,i);break e}else for(Oe=zt(t.stateNode.containerInfo.firstChild),Le=t,Y=!0,We=null,n=Of(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Tn(),r===i){t=vt(e,t,n);break e}ge(e,t,r,n)}t=t.child}return t;case 5:return jf(t),e===null&&Ys(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,Qs(r,i)?s=null:o!==null&&Qs(r,o)&&(t.flags|=32),nd(e,t),ge(e,t,s,n),t.child;case 6:return e===null&&Ys(t),null;case 13:return id(e,t,n);case 4:return bl(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Fn(t,null,r,n):ge(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Qe(r,i),mu(e,t,r,i,n);case 7:return ge(e,t,t.pendingProps,n),t.child;case 8:return ge(e,t,t.pendingProps.children,n),t.child;case 12:return ge(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,B(Yi,r._currentValue),r._currentValue=s,o!==null)if(Je(o.value,s)){if(o.children===i.children&&!ke.current){t=vt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var l=o.dependencies;if(l!==null){s=o.child;for(var a=l.firstContext;a!==null;){if(a.context===r){if(o.tag===1){a=ht(-1,n&-n),a.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var f=u.pending;f===null?a.next=a:(a.next=f.next,f.next=a),u.pending=a}}o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Js(o.return,n,t),l.lanes|=n;break}a=a.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(E(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),Js(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}ge(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Rn(t,n),i=De(i),r=r(i),t.flags|=1,ge(e,t,r,n),t.child;case 14:return r=t.type,i=Qe(r,t.pendingProps),i=Qe(r.type,i),yu(e,t,r,i,n);case 15:return ed(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Qe(r,i),Ni(e,t),t.tag=1,Ce(r)?(e=!0,Wi(t)):e=!1,Rn(t,n),Zf(t,r,i),Zs(t,r,i,n),el(null,t,r,!0,e,n);case 19:return od(e,t,n);case 22:return td(e,t,n)}throw Error(E(156,t.tag))};function xd(e,t){return Gc(e,t)}function Ng(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ie(e,t,n,r){return new Ng(e,t,n,r)}function pa(e){return e=e.prototype,!(!e||!e.isReactComponent)}function _g(e){if(typeof e=="function")return pa(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Rl)return 11;if(e===Al)return 14}return 2}function Dt(e,t){var n=e.alternate;return n===null?(n=Ie(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Li(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")pa(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case mn:return qt(n.children,i,o,t);case jl:s=8,i|=8;break;case xs:return e=Ie(12,n,t,i|2),e.elementType=xs,e.lanes=o,e;case ks:return e=Ie(13,n,t,i),e.elementType=ks,e.lanes=o,e;case Cs:return e=Ie(19,n,t,i),e.elementType=Cs,e.lanes=o,e;case $c:return _o(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Oc:s=10;break e;case Lc:s=9;break e;case Rl:s=11;break e;case Al:s=14;break e;case Pt:s=16,r=null;break e}throw Error(E(130,e==null?e:typeof e,""))}return t=Ie(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function qt(e,t,n,r){return e=Ie(7,e,r,t),e.lanes=n,e}function _o(e,t,n,r){return e=Ie(22,e,r,t),e.elementType=$c,e.lanes=n,e.stateNode={isHidden:!1},e}function fs(e,t,n){return e=Ie(6,e,null,t),e.lanes=n,e}function ds(e,t,n){return t=Ie(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Og(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ko(0),this.expirationTimes=Ko(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ko(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function ha(e,t,n,r,i,o,s,l,a){return e=new Og(e,t,n,l,a),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Ie(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Zl(o),e}function Lg(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Pd)}catch(e){console.error(e)}}Pd(),Ec.exports=je;var zg=Ec.exports,Nd,ju=zg;Nd=ju.createRoot,ju.hydrateRoot;const Ig=(...e)=>{console!=null&&console.warn&&(en(e[0])&&(e[0]=`react-i18next:: ${e[0]}`),console.warn(...e))},Ru={},dl=(...e)=>{en(e[0])&&Ru[e[0]]||(en(e[0])&&(Ru[e[0]]=new Date),Ig(...e))},_d=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},Au=(e,t,n)=>{e.loadNamespaces(t,_d(e,n))},zu=(e,t,n,r)=>{en(n)&&(n=[n]),n.forEach(i=>{e.options.ns.indexOf(i)<0&&e.options.ns.push(i)}),e.loadLanguages(t,_d(e,r))},Tg=(e,t,n={})=>!t.languages||!t.languages.length?(dl("i18n.languages were undefined or empty",t.languages),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(r,i)=>{var o;if(((o=n.bindI18n)==null?void 0:o.indexOf("languageChanging"))>-1&&r.services.backendConnector.backend&&r.isLanguageChangingTo&&!i(r.isLanguageChangingTo,e))return!1}}),en=e=>typeof e=="string",Fg=e=>typeof e=="object"&&e!==null,Dg=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Mg={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},Ug=e=>Mg[e],Vg=e=>e.replace(Dg,Ug);let pl={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:Vg};const Hg=(e={})=>{pl={...pl,...e}},Qg=()=>pl;let Od;const Bg=e=>{Od=e},Wg=()=>Od,Kg={type:"3rdParty",init(e){Hg(e.options.react),Bg(e)}},Gg=H.createContext();class Yg{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const Jg=(e,t)=>{const n=H.useRef();return H.useEffect(()=>{n.current=e},[e,t]),n.current},Ld=(e,t,n,r)=>e.getFixedT(t,n,r),Xg=(e,t,n,r)=>H.useCallback(Ld(e,t,n,r),[e,t,n,r]),Jn=(e,t={})=>{var y,x,k,S;const{i18n:n}=t,{i18n:r,defaultNS:i}=H.useContext(Gg)||{},o=n||r||Wg();if(o&&!o.reportNamespaces&&(o.reportNamespaces=new Yg),!o){dl("You will need to pass in an i18next instance by using initReactI18next");const N=($,U)=>en(U)?U:Fg(U)&&en(U.defaultValue)?U.defaultValue:Array.isArray($)?$[$.length-1]:$,I=[N,{},!1];return I.t=N,I.i18n={},I.ready=!1,I}(y=o.options.react)!=null&&y.wait&&dl("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const s={...Qg(),...o.options.react,...t},{useSuspense:l,keyPrefix:a}=s;let u=i||((x=o.options)==null?void 0:x.defaultNS);u=en(u)?[u]:u||["translation"],(S=(k=o.reportNamespaces).addUsedNamespaces)==null||S.call(k,u);const f=(o.isInitialized||o.initializedStoreOnce)&&u.every(N=>Tg(N,o,s)),p=Xg(o,t.lng||null,s.nsMode==="fallback"?u:u[0],a),c=()=>p,m=()=>Ld(o,t.lng||null,s.nsMode==="fallback"?u:u[0],a),[v,w]=H.useState(c);let _=u.join();t.lng&&(_=`${t.lng}${_}`);const h=Jg(_),d=H.useRef(!0);H.useEffect(()=>{const{bindI18n:N,bindI18nStore:I}=s;d.current=!0,!f&&!l&&(t.lng?zu(o,t.lng,u,()=>{d.current&&w(m)}):Au(o,u,()=>{d.current&&w(m)})),f&&h&&h!==_&&d.current&&w(m);const $=()=>{d.current&&w(m)};return N&&(o==null||o.on(N,$)),I&&(o==null||o.store.on(I,$)),()=>{d.current=!1,o&&(N==null||N.split(" ").forEach(U=>o.off(U,$))),I&&o&&I.split(" ").forEach(U=>o.store.off(U,$))}},[o,_]),H.useEffect(()=>{d.current&&f&&w(c)},[o,a,f]);const g=[v,o,f];if(g.t=v,g.i18n=o,g.ready=f,f||!f&&!l)return g;throw new Promise(N=>{t.lng?zu(o,t.lng,u,()=>N()):Au(o,u,()=>N())})};var xe=function(){return xe=Object.assign||function(t){for(var n,r=1,i=arguments.length;r0?oe(Xn,--Ue):0,Hn--,ee===10&&(Hn=1,Ao--),ee}function Ye(){return ee=Ue2||gl(ee)>3?"":" "}function sm(e,t){for(;--t&&Ye()&&!(ee<48||ee>102||ee>57&&ee<65||ee>70&&ee<97););return Io(e,ji()+(t<6&&tn()==32&&Ye()==32))}function ml(e){for(;Ye();)switch(ee){case e:return Ue;case 34:case 39:e!==34&&e!==39&&ml(ee);break;case 40:e===41&&ml(e);break;case 92:Ye();break}return Ue}function lm(e,t){for(;Ye()&&e+ee!==57;)if(e+ee===84&&tn()===47)break;return"/*"+Io(t,Ue-1)+"*"+wa(e===47?e:Ye())}function am(e){for(;!gl(tn());)Ye();return Io(e,Ue)}function um(e){return im(Ri("",null,null,null,[""],e=rm(e),0,[0],e))}function Ri(e,t,n,r,i,o,s,l,a){for(var u=0,f=0,p=s,c=0,m=0,v=0,w=1,_=1,h=1,d=0,g="",y=i,x=o,k=r,S=g;_;)switch(v=d,d=Ye()){case 40:if(v!=108&&oe(S,p-1)==58){$i(S+=z(ps(d),"&","&\f"),"&\f",Rd(u?l[u-1]:0))!=-1&&(h=-1);break}case 34:case 39:case 91:S+=ps(d);break;case 9:case 10:case 13:case 32:S+=om(v);break;case 92:S+=sm(ji()-1,7);continue;case 47:switch(tn()){case 42:case 47:dr(cm(lm(Ye(),ji()),t,n,a),a);break;default:S+="/"}break;case 123*w:l[u++]=tt(S)*h;case 125*w:case 59:case 0:switch(d){case 0:case 125:_=0;case 59+f:h==-1&&(S=z(S,/\f/g,"")),m>0&&tt(S)-p&&dr(m>32?Fu(S+";",r,n,p-1,a):Fu(z(S," ","")+";",r,n,p-2,a),a);break;case 59:S+=";";default:if(dr(k=Tu(S,t,n,u,f,i,l,g,y=[],x=[],p,o),o),d===123)if(f===0)Ri(S,t,k,k,y,o,p,l,x);else switch(c===99&&oe(S,3)===110?100:c){case 100:case 108:case 109:case 115:Ri(e,k,k,r&&dr(Tu(e,k,k,0,0,i,l,g,i,y=[],p,x),x),i,x,p,l,r?y:x);break;default:Ri(S,k,k,k,[""],x,0,l,x)}}u=f=m=0,w=h=1,g=S="",p=s;break;case 58:p=1+tt(S),m=v;default:if(w<1){if(d==123)--w;else if(d==125&&w++==0&&nm()==125)continue}switch(S+=wa(d),d*w){case 38:h=f>0?1:(S+="\f",-1);break;case 44:l[u++]=(tt(S)-1)*h,h=1;break;case 64:tn()===45&&(S+=ps(Ye())),c=tn(),f=p=tt(g=S+=am(ji())),d++;break;case 45:v===45&&tt(S)==2&&(w=0)}}return o}function Tu(e,t,n,r,i,o,s,l,a,u,f,p){for(var c=i-1,m=i===0?o:[""],v=zd(m),w=0,_=0,h=0;w0?m[d]+" "+g:z(g,/&\f/g,m[d])))&&(a[h++]=y);return zo(e,t,n,i===0?Ro:l,a,u,f,p)}function cm(e,t,n,r){return zo(e,t,n,$d,wa(tm()),Vn(e,2,-2),0,r)}function Fu(e,t,n,r,i){return zo(e,t,n,va,Vn(e,0,r),Vn(e,r+1,-1),r,i)}function Td(e,t,n){switch(qg(e,t)){case 5103:return M+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return M+e+e;case 4789:return kr+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return M+e+kr+e+K+e+e;case 5936:switch(oe(e,t+11)){case 114:return M+e+K+z(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return M+e+K+z(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return M+e+K+z(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return M+e+K+e+e;case 6165:return M+e+K+"flex-"+e+e;case 5187:return M+e+z(e,/(\w+).+(:[^]+)/,M+"box-$1$2"+K+"flex-$1$2")+e;case 5443:return M+e+K+"flex-item-"+z(e,/flex-|-self/g,"")+(ct(e,/flex-|baseline/)?"":K+"grid-row-"+z(e,/flex-|-self/g,""))+e;case 4675:return M+e+K+"flex-line-pack"+z(e,/align-content|flex-|-self/g,"")+e;case 5548:return M+e+K+z(e,"shrink","negative")+e;case 5292:return M+e+K+z(e,"basis","preferred-size")+e;case 6060:return M+"box-"+z(e,"-grow","")+M+e+K+z(e,"grow","positive")+e;case 4554:return M+z(e,/([^-])(transform)/g,"$1"+M+"$2")+e;case 6187:return z(z(z(e,/(zoom-|grab)/,M+"$1"),/(image-set)/,M+"$1"),e,"")+e;case 5495:case 3959:return z(e,/(image-set\([^]*)/,M+"$1$`$1");case 4968:return z(z(e,/(.+:)(flex-)?(.*)/,M+"box-pack:$3"+K+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+M+e+e;case 4200:if(!ct(e,/flex-|baseline/))return K+"grid-column-align"+Vn(e,t)+e;break;case 2592:case 3360:return K+z(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,i){return t=i,ct(r.props,/grid-\w+-end/)})?~$i(e+(n=n[t].value),"span",0)?e:K+z(e,"-start","")+e+K+"grid-row-span:"+(~$i(n,"span",0)?ct(n,/\d+/):+ct(n,/\d+/)-+ct(e,/\d+/))+";":K+z(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return ct(r.props,/grid-\w+-start/)})?e:K+z(z(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return z(e,/(.+)-inline(.+)/,M+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(tt(e)-1-t>6)switch(oe(e,t+1)){case 109:if(oe(e,t+4)!==45)break;case 102:return z(e,/(.+:)(.+)-([^]+)/,"$1"+M+"$2-$3$1"+kr+(oe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~$i(e,"stretch",0)?Td(z(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return z(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,i,o,s,l,a,u){return K+i+":"+o+u+(s?K+i+"-span:"+(l?a:+a-+o)+u:"")+e});case 4949:if(oe(e,t+6)===121)return z(e,":",":"+M)+e;break;case 6444:switch(oe(e,oe(e,14)===45?18:11)){case 120:return z(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+M+(oe(e,14)===45?"inline-":"")+"box$3$1"+M+"$2$3$1"+K+"$2box$3")+e;case 100:return z(e,":",":"+K)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return z(e,"scroll-","scroll-snap-")+e}return e}function oo(e,t){for(var n="",r=0;r-1&&!e.return)switch(e.type){case va:e.return=Td(e.value,e.length,n);return;case jd:return oo([Et(e,{value:z(e.value,"@","@"+M)})],r);case Ro:if(e.length)return em(n=e.props,function(i){switch(ct(i,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":dn(Et(e,{props:[z(i,/:(read-\w+)/,":"+kr+"$1")]})),dn(Et(e,{props:[i]})),hl(e,{props:Iu(n,r)});break;case"::placeholder":dn(Et(e,{props:[z(i,/:(plac\w+)/,":"+M+"input-$1")]})),dn(Et(e,{props:[z(i,/:(plac\w+)/,":"+kr+"$1")]})),dn(Et(e,{props:[z(i,/:(plac\w+)/,K+"input-$1")]})),dn(Et(e,{props:[i]})),hl(e,{props:Iu(n,r)});break}return""})}}var gm={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Ne={},Qn=typeof process<"u"&&Ne!==void 0&&(Ne.REACT_APP_SC_ATTR||Ne.SC_ATTR)||"data-styled",Fd="active",Dd="data-styled-version",To="6.1.13",Sa=`/*!sc*/ +`,so=typeof window<"u"&&"HTMLElement"in window,mm=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&Ne!==void 0&&Ne.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&Ne.REACT_APP_SC_DISABLE_SPEEDY!==""?Ne.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&Ne.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&Ne!==void 0&&Ne.SC_DISABLE_SPEEDY!==void 0&&Ne.SC_DISABLE_SPEEDY!==""&&Ne.SC_DISABLE_SPEEDY!=="false"&&Ne.SC_DISABLE_SPEEDY),Fo=Object.freeze([]),Bn=Object.freeze({});function ym(e,t,n){return n===void 0&&(n=Bn),e.theme!==n.theme&&e.theme||t||n.theme}var Md=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),vm=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,wm=/(^-|-$)/g;function Du(e){return e.replace(vm,"-").replace(wm,"")}var Sm=/(a)(d)/gi,gi=52,Mu=function(e){return String.fromCharCode(e+(e>25?39:97))};function yl(e){var t,n="";for(t=Math.abs(e);t>gi;t=t/gi|0)n=Mu(t%gi)+n;return(Mu(t%gi)+n).replace(Sm,"$1-$2")}var hs,Ud=5381,_n=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Vd=function(e){return _n(Ud,e)};function Hd(e){return yl(Vd(e)>>>0)}function xm(e){return e.displayName||e.name||"Component"}function gs(e){return typeof e=="string"&&!0}var Qd=typeof Symbol=="function"&&Symbol.for,Bd=Qd?Symbol.for("react.memo"):60115,km=Qd?Symbol.for("react.forward_ref"):60112,Cm={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Em={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Wd={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Pm=((hs={})[km]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},hs[Bd]=Wd,hs);function Uu(e){return("type"in(t=e)&&t.type.$$typeof)===Bd?Wd:"$$typeof"in e?Pm[e.$$typeof]:Cm;var t}var Nm=Object.defineProperty,_m=Object.getOwnPropertyNames,Vu=Object.getOwnPropertySymbols,Om=Object.getOwnPropertyDescriptor,Lm=Object.getPrototypeOf,Hu=Object.prototype;function Kd(e,t,n){if(typeof t!="string"){if(Hu){var r=Lm(t);r&&r!==Hu&&Kd(e,r,n)}var i=_m(t);Vu&&(i=i.concat(Vu(t)));for(var o=Uu(e),s=Uu(t),l=0;l0?" Args: ".concat(t.join(", ")):""))}var $m=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var n=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,i=r.length,o=i;t>=o;)if((o<<=1)<0)throw Jr(16,"".concat(t));this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var s=i;s=this.length||this.groupSizes[t]===0)return n;for(var r=this.groupSizes[t],i=this.indexOfGroup(t),o=i+r,s=i;s=0){var r=document.createTextNode(n);return this.element.insertBefore(r,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t0&&(_+="".concat(h,","))}),a+="".concat(v).concat(w,'{content:"').concat(_,'"}').concat(Sa)},f=0;f0?".".concat(t):c},f=a.slice();f.push(function(c){c.type===Ro&&c.value.includes("&")&&(c.props[0]=c.props[0].replace(Vm,n).replace(r,u))}),s.prefix&&f.push(hm),f.push(fm);var p=function(c,m,v,w){m===void 0&&(m=""),v===void 0&&(v=""),w===void 0&&(w="&"),t=w,n=m,r=new RegExp("\\".concat(n,"\\b"),"g");var _=c.replace(Hm,""),h=um(v||m?"".concat(v," ").concat(m," { ").concat(_," }"):_);s.namespace&&(h=Jd(h,s.namespace));var d=[];return oo(h,dm(f.concat(pm(function(g){return d.push(g)})))),d};return p.hash=a.length?a.reduce(function(c,m){return m.name||Jr(15),_n(c,m.name)},Ud).toString():"",p}var Bm=new Yd,Sl=Qm(),Xd=Te.createContext({shouldForwardProp:void 0,styleSheet:Bm,stylis:Sl});Xd.Consumer;Te.createContext(void 0);function Wu(){return H.useContext(Xd)}var Zd=function(){function e(t,n){var r=this;this.inject=function(i,o){o===void 0&&(o=Sl);var s=r.name+o.hash;i.hasNameForId(r.id,s)||i.insertRules(r.id,s,o(r.rules,s,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,ka(this,function(){throw Jr(12,String(r.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Sl),this.name+t.hash},e}(),Wm=function(e){return e>="A"&&e<="Z"};function Ku(e){for(var t="",n=0;n>>0);if(!n.hasNameForId(this.componentId,s)){var l=r(o,".".concat(s),void 0,this.componentId);n.insertRules(this.componentId,s,l)}i=Zt(i,s),this.staticRulesId=s}else{for(var a=_n(this.baseHash,r.hash),u="",f=0;f>>0);n.hasNameForId(this.componentId,m)||n.insertRules(this.componentId,m,r(u,".".concat(m),void 0,this.componentId)),i=Zt(i,m)}}return i},e}(),ep=Te.createContext(void 0);ep.Consumer;var ms={};function Jm(e,t,n){var r=xa(e),i=e,o=!gs(e),s=t.attrs,l=s===void 0?Fo:s,a=t.componentId,u=a===void 0?function(y,x){var k=typeof y!="string"?"sc":Du(y);ms[k]=(ms[k]||0)+1;var S="".concat(k,"-").concat(Hd(To+k+ms[k]));return x?"".concat(x,"-").concat(S):S}(t.displayName,t.parentComponentId):a,f=t.displayName,p=f===void 0?function(y){return gs(y)?"styled.".concat(y):"Styled(".concat(xm(y),")")}(e):f,c=t.displayName&&t.componentId?"".concat(Du(t.displayName),"-").concat(t.componentId):t.componentId||u,m=r&&i.attrs?i.attrs.concat(l).filter(Boolean):l,v=t.shouldForwardProp;if(r&&i.shouldForwardProp){var w=i.shouldForwardProp;if(t.shouldForwardProp){var _=t.shouldForwardProp;v=function(y,x){return w(y,x)&&_(y,x)}}else v=w}var h=new Ym(n,c,r?i.componentStyle:void 0);function d(y,x){return function(k,S,N){var I=k.attrs,$=k.componentStyle,U=k.defaultProps,St=k.foldedComponentIds,st=k.styledComponentId,Xe=k.target,lt=Te.useContext(ep),Ze=Wu(),be=k.shouldForwardProp||Ze.shouldForwardProp,P=ym(S,lt,U)||Bn,L=function(xt,Pe,at){for(var Zn,Wt=xe(xe({},Pe),{className:void 0,theme:at}),Uo=0;UoC.jsx("svg",{fill:e,xmlns:"http://www.w3.org/2000/svg",width:t,height:n,viewBox:"0 0 500 500",children:C.jsx("path",{id:"POSTERFY_1",d:"M450.876,287.337v47.721H398.4v50.9H353.868v49.312H302.979v47.721H198.021V435.272H147.132V385.96H102.6v-50.9H50.124V287.337H4.006V83.728H54.9V36.007H209.153V85.319h82.694V36.007H446.105V83.728h50.889V287.337H450.876ZM250.5,150.7A106.547,106.547,0,1,0,357.019,257.249,106.533,106.533,0,0,0,250.5,150.7Zm0,186.082a76.534,76.534,0,1,1,76.514-76.534A76.524,76.524,0,0,1,250.5,336.784Zm0-132.058a55.525,55.525,0,1,0,55.51,55.524A55.517,55.517,0,0,0,250.5,204.726Zm0.795,76.248A21.474,21.474,0,1,1,272.764,259.5,21.471,21.471,0,0,1,251.3,280.974Z"})});function ao(){return ao=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}var bm=["cdnSuffix","cdnUrl","countryCode","style","svg"],qm="https://cdn.jsdelivr.net/gh/lipis/flag-icons/flags/4x3/",e1="svg",t1=127397,rp=function(t){var n=t.cdnSuffix,r=n===void 0?e1:n,i=t.cdnUrl,o=i===void 0?qm:i,s=t.countryCode,l=t.style,a=t.svg,u=a===void 0?!1:a,f=Zm(t,bm);if(typeof s!="string")return null;if(u){var p=""+o+s.toLowerCase()+"."+r;return H.createElement("img",Object.assign({},f,{src:p,style:ao({display:"inline-block",width:"1em",height:"1em",verticalAlign:"middle"},l)}))}var c=s.toUpperCase().replace(/./g,function(m){return String.fromCodePoint(m.charCodeAt(0)+t1)});return H.createElement("span",Object.assign({role:"img"},f,{style:ao({display:"inline-block",fontSize:"1em",lineHeight:"1em",verticalAlign:"middle"},l)}),c)};const n1=R.div` + display: ${({isVisible:e})=>e?"flex":"none"}; + flex-direction: column; + position: fixed; + right: calc(10% - 10px); + gap: 2px; + top: 10%; + background-color: #000000c3; + padding: 10px; + border-radius: 10px; + z-index: 1000; +`,ys=R(rp)` + width: 70px; + height: 70px; + + &:hover { + transform: scale(1.1); + transition: transform 0.3s; + } +`,r1=R(rp)` + position: fixed; + height: 70px; + right: 10%; + border-radius: 5px; + overflow: hidden; + + &:hover { + transform: scale(1.1); + transition: transform 0.3s; + } +`,i1=R.div` + width: 0; + height: 0; + border-left: 15px solid transparent; + border-right: 15px solid transparent; + border-bottom: 15px solid #000000c3; + position: fixed; + right: calc(10%); + top: 8%; +`;function o1(){const[e,t]=H.useState(!1),{i18n:n}=Jn();H.useEffect(()=>{const o=localStorage.getItem("language");o&&n.changeLanguage(o)},[n]);const r=()=>{t(!e)},i=o=>{n.changeLanguage(o),localStorage.setItem("language",o),t(!1)};return C.jsxs(C.Fragment,{children:[C.jsx(r1,{countryCode:n.language==="pt"?"BR":n.language==="en"?"US":n.language==="es"?"ES":"US",style:{width:"2em",height:"2em"},svg:!0,onClick:r}),C.jsxs(n1,{isVisible:e,children:[C.jsx(i1,{}),C.jsx(ys,{countryCode:"BR",style:{width:"2em",height:"2em"},onClick:()=>i("pt"),svg:!0}),C.jsx(ys,{countryCode:"US",style:{width:"2em",height:"2em"},onClick:()=>i("en"),svg:!0}),C.jsx(ys,{countryCode:"ES",style:{width:"2em",height:"2em"},onClick:()=>i("es"),svg:!0})]})]})}const s1=R.div` + background-color: var(--backgroundColor); + display: flex; + width: 100%; + flex-direction: row; + padding-inline: 10%; + align-items: center; + padding-block: 15px; + position: fixed; + z-index: 10; + top: 0; + + @media (max-width: 768px) { + padding-inline: 40px; + } +`,l1=R.h1` + font-weight: bolder; + margin-left: 20px; + font-size: 1.3em; + color: var(--PosterfyGreen); + margin-right: auto; +`,a1=R.hr` + position: fixed; + top: 69px; + background-color: white; + opacity: 0.1; + height: 1px; + width: 100%; +`;function u1(){return C.jsxs(C.Fragment,{children:[C.jsxs(s1,{children:[C.jsx(Do,{color:"#01b755",width:"40px"}),C.jsx(l1,{children:"Posterfy"}),C.jsx(o1,{})]}),C.jsx(a1,{})]})}const c1="/posterfy/assets/albuns-DjaerArZ.png",f1=R.div` + margin-top: 200px; + width: 80%; + display: flex; + overflow: hidden; + margin-inline: auto; +`,d1=R.div` + width: 100%; + max-width: 100%; + display: flex; + justify-content: center; + flex-direction: column; + align-items: center; +`,p1=R.div` + width: 100%; + max-width: 100%; + display: flex; + justify-content: center; + flex-direction: column; + align-items: end; + padding-left: auto; + + @media (max-width: 900px) { + display: none; + } +`,h1=R.h1` + font-size: 3.5em; + margin-right: auto; + margin-bottom: 5px; +`,Ju=R.p` + font-size: 1em; + opacity: 0.5; + width: 80%; + font-weight: 500; + margin-right: auto; + margin-block: 2px; + + + @media (max-width: 900px) { + width: 90%; + } +`,g1=R.div` + display: flex; + width: 80%; + justify-content: center; + align-items: center; + margin-inline: auto; +`,m1=R.img` + display: flex; + margin-inline: auto; + margin-block: 100px; + width: 100%; +`;function y1(){const{t:e}=Jn();return C.jsxs(C.Fragment,{children:[C.jsxs(f1,{children:[C.jsxs(d1,{children:[C.jsx(h1,{children:"Posterfy"}),C.jsx(Ju,{children:e("paragraphHero1")}),C.jsx(Ju,{children:e("paragraphHero2")})]}),C.jsx(p1,{style:{opacity:.1},children:C.jsx(Do,{color:"white",width:"180px"})})]}),C.jsx(g1,{children:C.jsx(m1,{src:c1})})]})}const v1=R.h2` + font-size: 2em; + width: 80%; + font-weight: bolder; + color: var(--PosterfyGreen); + margin-inline: auto; +`,w1=R.h3` + font-size: 1.35em; + opacity: .5; + font-weight: bolder; + color: white; + width: 80%; + margin-inline: auto; + margin-block: 10px; +`;function kl({text:e,type:t}){return C.jsx(C.Fragment,{children:t==1?C.jsx(v1,{children:e}):C.jsx(w1,{children:e})})}const S1=R.div` + width: 80%; + display: flex; + flex-direction: row; + justify-content: space-between; + margin-inline: auto; +`,x1=R.h3` + color: white; + font-size: 3em; + font-weight: bolder; + white-space: pre-line; +`,k1=R.p` + color: white; + font-size: 1.2em; + font-weight: 600; + opacity: .5; + white-space: pre-line; + padding-left: auto; + width: 60%; + height: min-content; + padding-top: auto; + margin-top: auto; + margin-left: auto; + margin-bottom: 20px; + + @media (max-width: 1000px) { + display: none; + } +`,Xu=R.div` + display: flex; +`;function C1({title:e,paragraph:t}){return C.jsxs(S1,{children:[C.jsx(Xu,{children:C.jsx(x1,{children:e})}),C.jsx(Xu,{children:C.jsx(k1,{children:t})})]})}var ip={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Zu=Te.createContext&&Te.createContext(ip),E1=["attr","size","title"];function P1(e,t){if(e==null)return{};var n=N1(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function N1(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function uo(){return uo=Object.assign?Object.assign.bind():function(e){for(var t=1;tTe.createElement(t.tag,co({key:n},t.attr),op(t.child)))}function Xr(e){return t=>Te.createElement($1,uo({attr:co({},e.attr)},t),op(e.child))}function $1(e){var t=n=>{var{attr:r,size:i,title:o}=e,s=P1(e,E1),l=i||n.size||"1em",a;return n.className&&(a=n.className),e.className&&(a=(a?a+" ":"")+e.className),Te.createElement("svg",uo({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,s,{className:a,style:co(co({color:e.color||n.color},n.style),e.style),height:l,width:l,xmlns:"http://www.w3.org/2000/svg"}),o&&Te.createElement("title",null,o),e.children)};return Zu!==void 0?Te.createElement(Zu.Consumer,null,n=>t(n)):t(ip)}function j1(e){return Xr({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"},child:[]}]})(e)}function R1(e){return Xr({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"},child:[]}]})(e)}function A1(e){return Xr({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m476.59 227.05-.16-.07L49.35 49.84A23.56 23.56 0 0 0 27.14 52 24.65 24.65 0 0 0 16 72.59v113.29a24 24 0 0 0 19.52 23.57l232.93 43.07a4 4 0 0 1 0 7.86L35.53 303.45A24 24 0 0 0 16 327v113.31A23.57 23.57 0 0 0 26.59 460a23.94 23.94 0 0 0 13.22 4 24.55 24.55 0 0 0 9.52-1.93L476.4 285.94l.19-.09a32 32 0 0 0 0-58.8z"},child:[]}]})(e)}const z1=R.div` + width: 100%; +`,I1=R.div` + background-color: rgba(255, 255, 255, 0.05); + width: 80%; + margin-inline: auto; + height: 50px; + margin-block: 20px; + border-radius: 15px; + display: flex; + flex-direction: row; + align-items: center; + + @media (max-width: 900px) { + width: 90%; + } +`,T1=R(R1)` + font-size: 1.35em; + opacity: .25; + margin-inline: 15px; +`,F1=R(A1)` + font-size: 1.35em; + opacity: .25; + margin-inline: 15px; + cursor: pointer; + transition: all 0.5s; + + &:hover, &:focus{ + opacity: 1 !important; + } +`,D1=R.span` + width: 1px; + height: 70%; + opacity: 0.1; + background-color: white; +`,M1=R.input` + background-color: transparent; + text-decoration: none; + border: none; + margin-left: 15px; + font-size: 1.2em; + font-weight: 600; + outline: none; + opacity: 0.77; + width: 100%; +`;function U1({onSearch:e}){const{t}=Jn(),[n,r]=H.useState(""),i=o=>{o.key==="Enter"&&e(n)};return C.jsx(z1,{children:C.jsxs(I1,{children:[C.jsx(T1,{}),C.jsx(D1,{}),C.jsx(M1,{placeholder:t("SearchPlaceholder"),value:n,onChange:o=>r(o.target.value),onKeyDown:i}),C.jsx(F1,{onClick:()=>e(n)})]})})}const V1=Xm` + 0% { transform: scale(1); } + 50% { transform: scale(1.15); } + 100% { transform: scale(1); } +`,H1=R.div` + background-color: var(--backgroundColor); + width: 100vw; + height: 100vh; + display: flex; + justify-content: center; + align-items: center; +`,Q1=R.div` + animation: ${V1} 1.2s infinite; +`;function B1(){return C.jsx(H1,{children:C.jsx(Q1,{children:C.jsx(Do,{color:"white",width:"180px"})})})}const W1=R.div` + width: 100%; + padding-block: 50px; + background-color: rgba(255, 255, 255, 0.025); + display: flex; + flex-direction: row; + align-items: center; + margin-top: 100px; + + @media (max-width: 600px) { + flex-direction: column; + padding-block: 25px; + } +`,K1=R.div` + width: 80px; + animation: rotation 5s linear infinite; + opacity: 0.25; + margin-left: 180px; + + @keyframes rotation { + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } + } + + @media (max-width: 900px) { + margin-left: 40px; + } + + @media (max-width: 600px) { + margin-inline: auto; + margin-block: 35px; + } +`,G1=R.p` + white-space: pre-line; + font-weight: bolder; + margin-left: 50px; + font-size: 1em; + opacity: 0.5; + + @media (max-width: 600px) { + margin-left: 0px; + } +`,Y1=R.div` + width: 100%; + display: flex; + justify-content: end; + + @media (max-width: 600px) { + justify-content: center; + } +`,J1=R(j1)` + font-size: 2.5em; + cursor: pointer; + padding: auto; + margin-right: 180px; + + @media (max-width: 900px) { + margin-right: 40px; + } + + @media (max-width: 600px) { + margin-right: 0px; + margin-top: 25px; + } +`,qu=R.a` + text-decoration: none; + color: var(--PosterfyGreen); +`;function X1(){const{t:e}=Jn();return C.jsxs(W1,{children:[C.jsx(K1,{children:C.jsx(Do,{color:"white",width:"80px"})}),C.jsxs(G1,{children:[e("MadeBy")," ",C.jsx(qu,{href:"https://github.com/avictormorais",target:"blank",children:"Victor"})]}),C.jsx(Y1,{children:C.jsx(qu,{href:"https://github.com/avictormorais/posterfy",target:"blank",children:C.jsx(J1,{})})})]})}const Z1=R.div` + width: min-content; + padding: 10px; + border-radius: 10px; + position: relative; + overflow: hidden; + cursor: pointer; + min-width: 150px; + + ::before { + content: ""; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + border-radius: 10px; + background-color: rgba(255, 255, 255, 0); + transition: background-color 0.3s; + } + + :hover::before { + background-color: rgba(255, 255, 255, 0.05); + } +`,b1=R.img` + width: 150px; + height: auto; + border-radius: 10px; +`,q1=R.h3` + font-weight: 600; + color: white; + font-size: 0.8em; + margin-top: 10px; + padding-right: 20px; +`,e0=R.p` + font-weight: 500; + color: white; + font-size: 0.75em; + margin-top: 5px; + opacity: 0.5; +`;function t0({title:e,artist:t,cover:n,id:r,onClick:i}){return C.jsxs(Z1,{onClick:()=>i(r),children:[C.jsx(b1,{src:n}),C.jsx(q1,{children:e}),C.jsx(e0,{children:t})]})}const n0=R.div` + width: 78%; + display: grid; + grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); + margin: 0 auto; + padding: 0; + box-sizing: border-box; + gap: 15px; + + @media (max-width: 650px) { + display: flex; + overflow-x: scroll; + } +`;function ec({query:e,onclick:t}){const[n,r]=H.useState([]),[i,o]=H.useState("");return H.useEffect(()=>{(async()=>{const f=await(await fetch("https://accounts.spotify.com/api/token",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Authorization:`Basic ${btoa("f4cecfcee6bb4476a132ecef4b321cde:eca60833bc674b718879e122402968fc")}`},body:"grant_type=client_credentials"})).json();o(f.access_token)})()},[]),H.useEffect(()=>{(async()=>{if(i)try{let l;if(e?l=await fetch(`https://api.spotify.com/v1/search?q=${encodeURIComponent(e)}&type=album`,{headers:{Authorization:`Bearer ${i}`}}):l=await fetch("https://api.spotify.com/v1/browse/new-releases?offset=0&limit=14&locale=en-US",{headers:{Authorization:`Bearer ${i}`}}),!l.ok){const f=await l.text();throw new Error(`Erro na API: ${f}`)}const a=await l.json(),u=a.albums.items;r(u.map(f=>{var p,c;return{id:f.id,title:f.name,artist:(p=f.artists[0])==null?void 0:p.name,cover:(c=f.images[0])==null?void 0:c.url}}))}catch(l){console.error(l)}})()},[e,i]),C.jsx(n0,{children:n.map(s=>C.jsx(t0,{onClick:()=>t(s.id),cover:s.cover,title:s.title,artist:s.artist,id:s.id},s.id))})}function r0(e){return Xr({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 294.1L383 167c9.4-9.4 24.6-9.4 33.9 0s9.3 24.6 0 34L273 345c-9.1 9.1-23.7 9.3-33.1.7L95 201.1c-4.7-4.7-7-10.9-7-17s2.3-12.3 7-17c9.4-9.4 24.6-9.4 33.9 0l127.1 127z"},child:[]}]})(e)}function i0(e){return Xr({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M294.1 256L167 129c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.3 34 0L345 239c9.1 9.1 9.3 23.7.7 33.1L201.1 417c-4.7 4.7-10.9 7-17 7s-12.3-2.3-17-7c-9.4-9.4-9.4-24.6 0-33.9l127-127.1z"},child:[]}]})(e)}const o0=R.div` + width: 100%; + display: flex; + flex-direction: row; + align-items: center; + cursor: pointer; + opacity: 0.5; + margin-top: 15px; +`,s0=R(i0)` + font-size: 2em; +`,l0=R(r0)` + font-size: 2em; +`,a0=R.h2` + font-size: 1.1em; + font-weight: 600; + margin-left: 10px; +`,u0=R.hr` + opacity: 0.15; + margin: 5px; +`,c0=R.p` + font-size: 1em; + font-weight: 400; + opacity: 0.5; + margin-block: 10px; + margin-inline: 10px; +`;function sr({q:e,a:t}){const[n,r]=H.useState(!1);function i(){r(!n)}return C.jsxs(C.Fragment,{children:[C.jsxs(o0,{onClick:i,children:[n?C.jsx(l0,{}):C.jsx(s0,{}),C.jsx(a0,{children:e})]}),C.jsx(u0,{}),n&&C.jsx(c0,{children:t})]})}const f0=R.div` + width: 100%; + margin-inline: auto; + display: flex; + flex-direction: column; + margin-top: 50px; +`,d0=R.div` + width: 80%; + margin-inline: auto; + display: flex; + flex-direction: column; +`;function p0(){const{t:e}=Jn();return C.jsxs(f0,{children:[C.jsx(kl,{text:"Faq",type:1}),C.jsxs(d0,{children:[C.jsx(sr,{q:e("FAQ_HowItWorks_Question"),a:e("FAQ_HowItWorks_Answer")}),C.jsx(sr,{q:e("FAQ_Affiliation_Question"),a:e("FAQ_Affiliation_Answer")}),C.jsx(sr,{q:e("FAQ_AlbumSearch_Question"),a:e("FAQ_AlbumSearch_Answer")}),C.jsx(sr,{q:e("FAQ_SaveData_Question"),a:e("FAQ_SaveData_Answer")}),C.jsx(sr,{q:e("FAQ_ReportIssue_Question"),a:e("FAQ_ReportIssue_Answer")})]})]})}function tc(e){console.log(e)}function h0(){const{t:e}=Jn(),[t,n]=H.useState(!0),[r,i]=H.useState("");H.useEffect(()=>{const s=setTimeout(()=>{n(!1)},1500);return()=>clearTimeout(s)},[]);const o=s=>{i(s)};return C.jsx(C.Fragment,{children:t?C.jsx(B1,{}):C.jsxs(C.Fragment,{children:[C.jsx(u1,{}),C.jsx(y1,{}),C.jsx(kl,{text:e("anchorArt"),type:1}),C.jsx(C1,{title:e("ArtTitle"),paragraph:e("ArtParagraph")}),C.jsx(U1,{onSearch:o}),r&&C.jsx(ec,{query:r,onclick:tc}),C.jsxs("div",{style:{display:r?"none":"block"},children:[C.jsx(kl,{text:e("TryTrend"),type:2}),C.jsx(ec,{onclick:tc})]}),C.jsx(p0,{}),C.jsx(X1,{})]})})}const A=e=>typeof e=="string",lr=()=>{let e,t;const n=new Promise((r,i)=>{e=r,t=i});return n.resolve=e,n.reject=t,n},nc=e=>e==null?"":""+e,g0=(e,t,n)=>{e.forEach(r=>{t[r]&&(n[r]=t[r])})},m0=/###/g,rc=e=>e&&e.indexOf("###")>-1?e.replace(m0,"."):e,ic=e=>!e||A(e),Cr=(e,t,n)=>{const r=A(t)?t.split("."):t;let i=0;for(;i{const{obj:r,k:i}=Cr(e,t,Object);if(r!==void 0||t.length===1){r[i]=n;return}let o=t[t.length-1],s=t.slice(0,t.length-1),l=Cr(e,s,Object);for(;l.obj===void 0&&s.length;)o=`${s[s.length-1]}.${o}`,s=s.slice(0,s.length-1),l=Cr(e,s,Object),l&&l.obj&&typeof l.obj[`${l.k}.${o}`]<"u"&&(l.obj=void 0);l.obj[`${l.k}.${o}`]=n},y0=(e,t,n,r)=>{const{obj:i,k:o}=Cr(e,t,Object);i[o]=i[o]||[],i[o].push(n)},fo=(e,t)=>{const{obj:n,k:r}=Cr(e,t);if(n)return n[r]},v0=(e,t,n)=>{const r=fo(e,n);return r!==void 0?r:fo(t,n)},sp=(e,t,n)=>{for(const r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?A(e[r])||e[r]instanceof String||A(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):sp(e[r],t[r],n):e[r]=t[r]);return e},pn=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var w0={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const S0=e=>A(e)?e.replace(/[&<>"'\/]/g,t=>w0[t]):e;class x0{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const r=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,r),this.regExpQueue.push(t),r}}const k0=[" ",",","?","!",";"],C0=new x0(20),E0=(e,t,n)=>{t=t||"",n=n||"";const r=k0.filter(s=>t.indexOf(s)<0&&n.indexOf(s)<0);if(r.length===0)return!0;const i=C0.getRegExp(`(${r.map(s=>s==="?"?"\\?":s).join("|")})`);let o=!i.test(e);if(!o){const s=e.indexOf(n);s>0&&!i.test(e.substring(0,s))&&(o=!0)}return o},Cl=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const r=t.split(n);let i=e;for(let o=0;o-1&&ae&&e.replace("_","-"),P0={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class ho{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||P0,this.options=n,this.debug=n.debug}log(){for(var t=arguments.length,n=new Array(t),r=0;r{this.observers[r]||(this.observers[r]=new Map);const i=this.observers[r].get(n)||0;this.observers[r].set(n,i+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}emit(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i{let[l,a]=s;for(let u=0;u{let[l,a]=s;for(let u=0;u1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,s=i.ignoreJSONStructure!==void 0?i.ignoreJSONStructure:this.options.ignoreJSONStructure;let l;t.indexOf(".")>-1?l=t.split("."):(l=[t,n],r&&(Array.isArray(r)?l.push(...r):A(r)&&o?l.push(...r.split(o)):l.push(r)));const a=fo(this.data,l);return!a&&!n&&!r&&t.indexOf(".")>-1&&(t=l[0],n=l[1],r=l.slice(2).join(".")),a||!s||!A(r)?a:Cl(this.data&&this.data[t]&&this.data[t][n],r,o)}addResource(t,n,r,i){let o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const s=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator;let l=[t,n];r&&(l=l.concat(s?r.split(s):r)),t.indexOf(".")>-1&&(l=t.split("."),i=n,n=l[1]),this.addNamespaces(n),oc(this.data,l,i),o.silent||this.emit("added",t,n,r,i)}addResources(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const o in r)(A(r[o])||Array.isArray(r[o]))&&this.addResource(t,n,o,r[o],{silent:!0});i.silent||this.emit("added",t,n,r)}addResourceBundle(t,n,r,i,o){let s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},l=[t,n];t.indexOf(".")>-1&&(l=t.split("."),i=r,r=n,n=l[1]),this.addNamespaces(n);let a=fo(this.data,l)||{};s.skipCopy||(r=JSON.parse(JSON.stringify(r))),i?sp(a,r,o):a={...a,...r},oc(this.data,l,a),s.silent||this.emit("added",t,n,r)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,n)}:this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(i=>n[i]&&Object.keys(n[i]).length>0)}toJSON(){return this.data}}var lp={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach(o=>{this.processors[o]&&(t=this.processors[o].process(t,n,r,i))}),t}};const lc={};class go extends Mo{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),g0(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=rt.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const r=this.resolve(t,n);return r&&r.res!==void 0}extractFromKey(t,n){let r=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const i=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let o=n.ns||this.options.defaultNS||[];const s=r&&t.indexOf(r)>-1,l=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!E0(t,r,i);if(s&&!l){const a=t.match(this.interpolator.nestingRegexp);if(a&&a.length>0)return{key:t,namespaces:o};const u=t.split(r);(r!==i||r===i&&this.options.ns.indexOf(u[0])>-1)&&(o=u.shift()),t=u.join(i)}return A(o)&&(o=[o]),{key:t,namespaces:o}}translate(t,n,r){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const i=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,o=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:s,namespaces:l}=this.extractFromKey(t[t.length-1],n),a=l[l.length-1],u=n.lng||this.language,f=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u&&u.toLowerCase()==="cimode"){if(f){const y=n.nsSeparator||this.options.nsSeparator;return i?{res:`${a}${y}${s}`,usedKey:s,exactUsedKey:s,usedLng:u,usedNS:a,usedParams:this.getUsedParamsDetails(n)}:`${a}${y}${s}`}return i?{res:s,usedKey:s,exactUsedKey:s,usedLng:u,usedNS:a,usedParams:this.getUsedParamsDetails(n)}:s}const p=this.resolve(t,n);let c=p&&p.res;const m=p&&p.usedKey||s,v=p&&p.exactUsedKey||s,w=Object.prototype.toString.apply(c),_=["[object Number]","[object Function]","[object RegExp]"],h=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,d=!this.i18nFormat||this.i18nFormat.handleAsObject,g=!A(c)&&typeof c!="boolean"&&typeof c!="number";if(d&&c&&g&&_.indexOf(w)<0&&!(A(h)&&Array.isArray(c))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const y=this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,c,{...n,ns:l}):`key '${s} (${this.language})' returned an object instead of string.`;return i?(p.res=y,p.usedParams=this.getUsedParamsDetails(n),p):y}if(o){const y=Array.isArray(c),x=y?[]:{},k=y?v:m;for(const S in c)if(Object.prototype.hasOwnProperty.call(c,S)){const N=`${k}${o}${S}`;x[S]=this.translate(N,{...n,joinArrays:!1,ns:l}),x[S]===N&&(x[S]=c[S])}c=x}}else if(d&&A(h)&&Array.isArray(c))c=c.join(h),c&&(c=this.extendTranslation(c,t,n,r));else{let y=!1,x=!1;const k=n.count!==void 0&&!A(n.count),S=go.hasDefaultValue(n),N=k?this.pluralResolver.getSuffix(u,n.count,n):"",I=n.ordinal&&k?this.pluralResolver.getSuffix(u,n.count,{ordinal:!1}):"",$=k&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),U=$&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${N}`]||n[`defaultValue${I}`]||n.defaultValue;!this.isValidLookup(c)&&S&&(y=!0,c=U),this.isValidLookup(c)||(x=!0,c=s);const st=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&x?void 0:c,Xe=S&&U!==c&&this.options.updateMissing;if(x||y||Xe){if(this.logger.log(Xe?"updateKey":"missingKey",u,a,s,Xe?U:c),o){const P=this.resolve(s,{...n,keySeparator:!1});P&&P.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 lt=[];const Ze=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&Ze&&Ze[0])for(let P=0;P{const D=S&&j!==c?j:st;this.options.missingKeyHandler?this.options.missingKeyHandler(P,a,L,D,Xe,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(P,a,L,D,Xe,n),this.emit("missingKey",P,a,L,c)};this.options.saveMissing&&(this.options.saveMissingPlurals&&k?lt.forEach(P=>{const L=this.pluralResolver.getSuffixes(P,n);$&&n[`defaultValue${this.options.pluralSeparator}zero`]&&L.indexOf(`${this.options.pluralSeparator}zero`)<0&&L.push(`${this.options.pluralSeparator}zero`),L.forEach(j=>{be([P],s+j,n[`defaultValue${j}`]||U)})}):be(lt,s,U))}c=this.extendTranslation(c,t,n,p,r),x&&c===s&&this.options.appendNamespaceToMissingKey&&(c=`${a}:${s}`),(x||y)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?c=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${a}:${s}`:s,y?c:void 0):c=this.options.parseMissingKeyHandler(c))}return i?(p.res=c,p.usedParams=this.getUsedParamsDetails(n),p):c}extendTranslation(t,n,r,i,o){var s=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...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 u=A(t)&&(r&&r.interpolation&&r.interpolation.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let f;if(u){const c=t.match(this.interpolator.nestingRegexp);f=c&&c.length}let p=r.replace&&!A(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(p={...this.options.interpolation.defaultVariables,...p}),t=this.interpolator.interpolate(t,p,r.lng||this.language||i.usedLng,r),u){const c=t.match(this.interpolator.nestingRegexp),m=c&&c.length;f1&&arguments[1]!==void 0?arguments[1]:{},r,i,o,s,l;return A(t)&&(t=[t]),t.forEach(a=>{if(this.isValidLookup(r))return;const u=this.extractFromKey(a,n),f=u.key;i=f;let p=u.namespaces;this.options.fallbackNS&&(p=p.concat(this.options.fallbackNS));const c=n.count!==void 0&&!A(n.count),m=c&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),v=n.context!==void 0&&(A(n.context)||typeof n.context=="number")&&n.context!=="",w=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);p.forEach(_=>{this.isValidLookup(r)||(l=_,!lc[`${w[0]}-${_}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(l)&&(lc[`${w[0]}-${_}`]=!0,this.logger.warn(`key "${i}" for languages "${w.join(", ")}" won't get resolved as namespace "${l}" 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!!!")),w.forEach(h=>{if(this.isValidLookup(r))return;s=h;const d=[f];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(d,f,h,_,n);else{let y;c&&(y=this.pluralResolver.getSuffix(h,n.count,n));const x=`${this.options.pluralSeparator}zero`,k=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(c&&(d.push(f+y),n.ordinal&&y.indexOf(k)===0&&d.push(f+y.replace(k,this.options.pluralSeparator)),m&&d.push(f+x)),v){const S=`${f}${this.options.contextSeparator}${n.context}`;d.push(S),c&&(d.push(S+y),n.ordinal&&y.indexOf(k)===0&&d.push(S+y.replace(k,this.options.pluralSeparator)),m&&d.push(S+x))}}let g;for(;g=d.pop();)this.isValidLookup(r)||(o=g,r=this.getResource(h,_,g,n))}))})}),{res:r,usedKey:i,exactUsedKey:o,usedLng:s,usedNS:l}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,n,r,i):this.resourceStore.getResource(t,n,r,i)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=t.replace&&!A(t.replace);let i=r?t.replace:t;if(r&&typeof t.count<"u"&&(i.count=t.count),this.options.interpolation.defaultVariables&&(i={...this.options.interpolation.defaultVariables,...i}),!r){i={...i};for(const o of n)delete i[o]}return i}static hasDefaultValue(t){const n="defaultValue";for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&n===r.substring(0,n.length)&&t[r]!==void 0)return!0;return!1}}const vs=e=>e.charAt(0).toUpperCase()+e.slice(1);class ac{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=rt.create("languageUtils")}getScriptPartFromCode(t){if(t=po(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=po(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(A(t)&&t.indexOf("-")>-1){if(typeof Intl<"u"&&typeof Intl.getCanonicalLocales<"u")try{let i=Intl.getCanonicalLocales(t)[0];if(i&&this.options.lowerCaseLng&&(i=i.toLowerCase()),i)return i}catch{}const n=["hans","hant","latn","cyrl","cans","mong","arab"];let r=t.split("-");return this.options.lowerCaseLng?r=r.map(i=>i.toLowerCase()):r.length===2?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=vs(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()),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=vs(r[1].toLowerCase())),n.indexOf(r[2].toLowerCase())>-1&&(r[2]=vs(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(r=>{if(n)return;const i=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(i))&&(n=i)}),!n&&this.options.supportedLngs&&t.forEach(r=>{if(n)return;const i=this.getLanguagePartFromCode(r);if(this.isSupportedCode(i))return n=i;n=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})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),A(t)&&(t=[t]),Array.isArray(t))return t;if(!n)return t.default||[];let r=t[n];return r||(r=t[this.getScriptPartFromCode(n)]),r||(r=t[this.formatLanguageCode(n)]),r||(r=t[this.getLanguagePartFromCode(n)]),r||(r=t.default),r||[]}toResolveHierarchy(t,n){const r=this.getFallbackCodes(n||this.options.fallbackLng||[],t),i=[],o=s=>{s&&(this.isSupportedCode(s)?i.push(s):this.logger.warn(`rejecting language code not found in supportedLngs: ${s}`))};return A(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&o(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&o(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&o(this.getLanguagePartFromCode(t))):A(t)&&o(this.formatLanguageCode(t)),r.forEach(s=>{i.indexOf(s)<0&&o(this.formatLanguageCode(s))}),i}}let N0=[{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}],_0={1:e=>+(e>1),2:e=>+(e!=1),3:e=>0,4:e=>e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,5:e=>e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5,6:e=>e==1?0:e>=2&&e<=4?1:2,7:e=>e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,8:e=>e==1?0:e==2?1:e!=8&&e!=11?2:3,9:e=>+(e>=2),10:e=>e==1?0:e==2?1:e<7?2:e<11?3:4,11:e=>e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3,12:e=>+(e%10!=1||e%100==11),13:e=>+(e!==0),14:e=>e==1?0:e==2?1:e==3?2:3,15:e=>e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2,16:e=>e%10==1&&e%100!=11?0:e!==0?1:2,17:e=>e==1||e%10==1&&e%100!=11?0:1,18:e=>e==0?0:e==1?1:2,19:e=>e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3,20:e=>e==1?0:e==0||e%100>0&&e%100<20?1:2,21:e=>e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0,22:e=>e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3};const O0=["v1","v2","v3"],L0=["v4"],uc={zero:0,one:1,two:2,few:3,many:4,other:5},$0=()=>{const e={};return N0.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:_0[t.fc]}})}),e};class j0{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=rt.create("pluralResolver"),(!this.options.compatibilityJSON||L0.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=$0(),this.pluralRulesCache={}}addRule(t,n){this.rules[t]=n}clearCache(){this.pluralRulesCache={}}getRule(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{const r=po(t==="dev"?"en":t),i=n.ordinal?"ordinal":"cardinal",o=JSON.stringify({cleanedCode:r,type:i});if(o in this.pluralRulesCache)return this.pluralRulesCache[o];const s=new Intl.PluralRules(r,{type:i});return this.pluralRulesCache[o]=s,s}catch{return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.length>1}getPluralFormsOfKey(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,r).map(i=>`${n}${i}`)}getSuffixes(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((i,o)=>uc[i]-uc[o]).map(i=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${i}`):r.numbers.map(i=>this.getSuffix(t,i,n)):[]}getSuffix(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const i=this.getRule(t,r);return i?this.shouldUseIntlApi()?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${i.select(n)}`:this.getSuffixRetroCompatible(i,n):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,n){const r=t.noAbs?t.plurals(n):t.plurals(Math.abs(n));let i=t.numbers[r];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.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&&t.numbers.length===2&&t.numbers[0]===1?o():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}shouldUseIntlApi(){return!O0.includes(this.options.compatibilityJSON)}}const cc=function(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,o=v0(e,t,n);return!o&&i&&A(n)&&(o=Cl(e,n,r),o===void 0&&(o=Cl(t,n,r))),o},ws=e=>e.replace(/\$/g,"$$$$");class R0{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=rt.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(n=>n),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:n,escapeValue:r,useRawValueToEscape:i,prefix:o,prefixEscaped:s,suffix:l,suffixEscaped:a,formatSeparator:u,unescapeSuffix:f,unescapePrefix:p,nestingPrefix:c,nestingPrefixEscaped:m,nestingSuffix:v,nestingSuffixEscaped:w,nestingOptionsSeparator:_,maxReplaces:h,alwaysFormat:d}=t.interpolation;this.escape=n!==void 0?n:S0,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=i!==void 0?i:!1,this.prefix=o?pn(o):s||"{{",this.suffix=l?pn(l):a||"}}",this.formatSeparator=u||",",this.unescapePrefix=f?"":p||"-",this.unescapeSuffix=this.unescapePrefix?"":f||"",this.nestingPrefix=c?pn(c):m||pn("$t("),this.nestingSuffix=v?pn(v):w||pn(")"),this.nestingOptionsSeparator=_||",",this.maxReplaces=h||1e3,this.alwaysFormat=d!==void 0?d:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,r)=>n&&n.source===r?(n.lastIndex=0,n):new RegExp(r,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,n,r,i){let o,s,l;const a=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=m=>{if(m.indexOf(this.formatSeparator)<0){const h=cc(n,a,m,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(h,void 0,r,{...i,...n,interpolationkey:m}):h}const v=m.split(this.formatSeparator),w=v.shift().trim(),_=v.join(this.formatSeparator).trim();return this.format(cc(n,a,w,this.options.keySeparator,this.options.ignoreJSONStructure),_,r,{...i,...n,interpolationkey:w})};this.resetRegExp();const f=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,p=i&&i.interpolation&&i.interpolation.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:m=>ws(m)},{regex:this.regexp,safeValue:m=>this.escapeValue?ws(this.escape(m)):ws(m)}].forEach(m=>{for(l=0;o=m.regex.exec(t);){const v=o[1].trim();if(s=u(v),s===void 0)if(typeof f=="function"){const _=f(t,o,i);s=A(_)?_:""}else if(i&&Object.prototype.hasOwnProperty.call(i,v))s="";else if(p){s=o[0];continue}else this.logger.warn(`missed to pass in variable ${v} for interpolating ${t}`),s="";else!A(s)&&!this.useRawValueToEscape&&(s=nc(s));const w=m.safeValue(s);if(t=t.replace(o[0],w),p?(m.regex.lastIndex+=s.length,m.regex.lastIndex-=o[0].length):m.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),t}nest(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i,o,s;const l=(a,u)=>{const f=this.nestingOptionsSeparator;if(a.indexOf(f)<0)return a;const p=a.split(new RegExp(`${f}[ ]*{`));let c=`{${p[1]}`;a=p[0],c=this.interpolate(c,s);const m=c.match(/'/g),v=c.match(/"/g);(m&&m.length%2===0&&!v||v.length%2!==0)&&(c=c.replace(/'/g,'"'));try{s=JSON.parse(c),u&&(s={...u,...s})}catch(w){return this.logger.warn(`failed parsing options string in nesting for key ${a}`,w),`${a}${f}${c}`}return s.defaultValue&&s.defaultValue.indexOf(this.prefix)>-1&&delete s.defaultValue,a};for(;i=this.nestingRegexp.exec(t);){let a=[];s={...r},s=s.replace&&!A(s.replace)?s.replace:s,s.applyPostProcessor=!1,delete s.defaultValue;let u=!1;if(i[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(i[1])){const f=i[1].split(this.formatSeparator).map(p=>p.trim());i[1]=f.shift(),a=f,u=!0}if(o=n(l.call(this,i[1].trim(),s),s),o&&i[0]===t&&!A(o))return o;A(o)||(o=nc(o)),o||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${t}`),o=""),u&&(o=a.reduce((f,p)=>this.format(f,p,r.lng,{...r,interpolationkey:i[1].trim()}),o.trim())),t=t.replace(i[0],o),this.regexp.lastIndex=0}return t}}const A0=e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const i=r[1].substring(0,r[1].length-1);t==="currency"&&i.indexOf(":")<0?n.currency||(n.currency=i.trim()):t==="relativetime"&&i.indexOf(":")<0?n.range||(n.range=i.trim()):i.split(";").forEach(s=>{if(s){const[l,...a]=s.split(":"),u=a.join(":").trim().replace(/^'+|'+$/g,""),f=l.trim();n[f]||(n[f]=u),u==="false"&&(n[f]=!1),u==="true"&&(n[f]=!0),isNaN(u)||(n[f]=parseInt(u,10))}})}return{formatName:t,formatOptions:n}},hn=e=>{const t={};return(n,r,i)=>{let o=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(o={...o,[i.interpolationkey]:void 0});const s=r+JSON.stringify(o);let l=t[s];return l||(l=e(po(r),i),t[s]=l),l(n)}};class z0{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=rt.create("formatter"),this.options=t,this.formats={number:hn((n,r)=>{const i=new Intl.NumberFormat(n,{...r});return o=>i.format(o)}),currency:hn((n,r)=>{const i=new Intl.NumberFormat(n,{...r,style:"currency"});return o=>i.format(o)}),datetime:hn((n,r)=>{const i=new Intl.DateTimeFormat(n,{...r});return o=>i.format(o)}),relativetime:hn((n,r)=>{const i=new Intl.RelativeTimeFormat(n,{...r});return o=>i.format(o,r.range||"day")}),list:hn((n,r)=>{const i=new Intl.ListFormat(n,{...r});return o=>i.format(o)})},this.init(t)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=n.interpolation.formatSeparator||","}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=hn(n)}format(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=n.split(this.formatSeparator);if(o.length>1&&o[0].indexOf("(")>1&&o[0].indexOf(")")<0&&o.find(l=>l.indexOf(")")>-1)){const l=o.findIndex(a=>a.indexOf(")")>-1);o[0]=[o[0],...o.splice(1,l)].join(this.formatSeparator)}return o.reduce((l,a)=>{const{formatName:u,formatOptions:f}=A0(a);if(this.formats[u]){let p=l;try{const c=i&&i.formatParams&&i.formatParams[i.interpolationkey]||{},m=c.locale||c.lng||i.locale||i.lng||r;p=this.formats[u](l,m,{...f,...i,...c})}catch(c){this.logger.warn(c)}return p}else this.logger.warn(`there was no format function for ${u}`);return l},t)}}const I0=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class T0 extends Mo{constructor(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=i,this.logger=rt.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(t,n,r,i){const o={},s={},l={},a={};return t.forEach(u=>{let f=!0;n.forEach(p=>{const c=`${u}|${p}`;!r.reload&&this.store.hasResourceBundle(u,p)?this.state[c]=2:this.state[c]<0||(this.state[c]===1?s[c]===void 0&&(s[c]=!0):(this.state[c]=1,f=!1,s[c]===void 0&&(s[c]=!0),o[c]===void 0&&(o[c]=!0),a[p]===void 0&&(a[p]=!0)))}),f||(l[u]=!0)}),(Object.keys(o).length||Object.keys(s).length)&&this.queue.push({pending:s,pendingCount:Object.keys(s).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(o),pending:Object.keys(s),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(a)}}loaded(t,n,r){const i=t.split("|"),o=i[0],s=i[1];n&&this.emit("failedLoading",o,s,n),!n&&r&&this.store.addResourceBundle(o,s,r,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2,n&&r&&(this.state[t]=0);const l={};this.queue.forEach(a=>{y0(a.loaded,[o],s),I0(a,t),n&&a.errors.push(n),a.pendingCount===0&&!a.done&&(Object.keys(a.loaded).forEach(u=>{l[u]||(l[u]={});const f=a.loaded[u];f.length&&f.forEach(p=>{l[u][p]===void 0&&(l[u][p]=!0)})}),a.done=!0,a.errors.length?a.callback(a.errors):a.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(a=>!a.done)}read(t,n,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,s=arguments.length>5?arguments[5]:void 0;if(!t.length)return s(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:r,tried:i,wait:o,callback:s});return}this.readingCalls++;const l=(u,f)=>{if(this.readingCalls--,this.waitingReads.length>0){const p=this.waitingReads.shift();this.read(p.lng,p.ns,p.fcName,p.tried,p.wait,p.callback)}if(u&&f&&i{this.read.call(this,t,n,r,i+1,o*2,s)},o);return}s(u,f)},a=this.backend[r].bind(this.backend);if(a.length===2){try{const u=a(t,n);u&&typeof u.then=="function"?u.then(f=>l(null,f)).catch(l):l(null,u)}catch(u){l(u)}return}return a(t,n,l)}prepareLoading(t,n){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();A(t)&&(t=this.languageUtils.toResolveHierarchy(t)),A(n)&&(n=[n]);const o=this.queueLoad(t,n,r,i);if(!o.toLoad.length)return o.pending.length||i(),null;o.toLoad.forEach(s=>{this.loadOne(s)})}load(t,n,r){this.prepareLoading(t,n,{},r)}reload(t,n,r){this.prepareLoading(t,n,{reload:!0},r)}loadOne(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const r=t.split("|"),i=r[0],o=r[1];this.read(i,o,"read",void 0,void 0,(s,l)=>{s&&this.logger.warn(`${n}loading namespace ${o} for language ${i} failed`,s),!s&&l&&this.logger.log(`${n}loaded namespace ${o} for language ${i}`,l),this.loaded(t,s,l)})}saveMissing(t,n,r,i,o){let s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${r}" as the namespace "${n}" 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 a={...s,isUpdate:o},u=this.backend.create.bind(this.backend);if(u.length<6)try{let f;u.length===5?f=u(t,n,r,i,a):f=u(t,n,r,i),f&&typeof f.then=="function"?f.then(p=>l(null,p)).catch(l):l(null,f)}catch(f){l(f)}else u(t,n,r,i,l,a)}!t||!t[0]||this.store.addResource(t[0],n,r,i)}}}const fc=()=>({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:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),A(e[1])&&(t.defaultValue=e[1]),A(e[2])&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const n=e[3]||e[2];Object.keys(n).forEach(r=>{t[r]=n[r]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),dc=e=>(A(e.ns)&&(e.ns=[e.ns]),A(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),A(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),yi=()=>{},F0=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})};class Qr extends Mo{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=dc(t),this.services={},this.logger=rt,this.modules={external:[]},F0(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(){var t=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof n=="function"&&(r=n,n={}),!n.defaultNS&&n.defaultNS!==!1&&n.ns&&(A(n.ns)?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const i=fc();this.options={...i,...this.options,...dc(n)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...i.interpolation,...this.options.interpolation}),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);const o=f=>f?typeof f=="function"?new f:f:null;if(!this.options.isClone){this.modules.logger?rt.init(o(this.modules.logger),this.options):rt.init(null,this.options);let f;this.modules.formatter?f=this.modules.formatter:typeof Intl<"u"&&(f=z0);const p=new ac(this.options);this.store=new sc(this.options.resources,this.options);const c=this.services;c.logger=rt,c.resourceStore=this.store,c.languageUtils=p,c.pluralResolver=new j0(p,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),f&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(c.formatter=o(f),c.formatter.init(c,this.options),this.options.interpolation.format=c.formatter.format.bind(c.formatter)),c.interpolator=new R0(this.options),c.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},c.backendConnector=new T0(o(this.modules.backend),c.resourceStore,c,this.options),c.backendConnector.on("*",function(m){for(var v=arguments.length,w=new Array(v>1?v-1:0),_=1;_1?v-1:0),_=1;_{m.init&&m.init(this)})}if(this.format=this.options.interpolation.format,r||(r=yi),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const f=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);f.length>0&&f[0]!=="dev"&&(this.options.lng=f[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(f=>{this[f]=function(){return t.store[f](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(f=>{this[f]=function(){return t.store[f](...arguments),t}});const a=lr(),u=()=>{const f=(p,c)=>{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),a.resolve(c),r(p,c)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return f(null,this.t.bind(this));this.changeLanguage(this.options.lng,f)};return this.options.resources||!this.options.initImmediate?u():setTimeout(u,0),a}loadResources(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:yi;const i=A(t)?t:this.language;if(typeof t=="function"&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if(i&&i.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const o=[],s=l=>{if(!l||l==="cimode")return;this.services.languageUtils.toResolveHierarchy(l).forEach(u=>{u!=="cimode"&&o.indexOf(u)<0&&o.push(u)})};i?s(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(a=>s(a)),this.options.preload&&this.options.preload.forEach(l=>s(l)),this.services.backendConnector.load(o,this.options.ns,l=>{!l&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(l)})}else r(null)}reloadResources(t,n,r){const i=lr();return typeof t=="function"&&(r=t,t=void 0),typeof n=="function"&&(r=n,n=void 0),t||(t=this.languages),n||(n=this.options.ns),r||(r=yi),this.services.backendConnector.reload(t,n,o=>{i.resolve(),r(o)}),i}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&lp.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let n=0;n-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(t,n){var r=this;this.isLanguageChangingTo=t;const i=lr();this.emit("languageChanging",t);const o=a=>{this.language=a,this.languages=this.services.languageUtils.toResolveHierarchy(a),this.resolvedLanguage=void 0,this.setResolvedLanguage(a)},s=(a,u)=>{u?(o(u),this.translator.changeLanguage(u),this.isLanguageChangingTo=void 0,this.emit("languageChanged",u),this.logger.log("languageChanged",u)):this.isLanguageChangingTo=void 0,i.resolve(function(){return r.t(...arguments)}),n&&n(a,function(){return r.t(...arguments)})},l=a=>{!t&&!a&&this.services.languageDetector&&(a=[]);const u=A(a)?a:this.services.languageUtils.getBestMatchFromCodes(a);u&&(this.language||o(u),this.translator.language||this.translator.changeLanguage(u),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(u)),this.loadResources(u,f=>{s(f,u)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?l(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(t),i}getFixedT(t,n,r){var i=this;const o=function(s,l){let a;if(typeof l!="object"){for(var u=arguments.length,f=new Array(u>2?u-2:0),p=2;p`${a.keyPrefix}${c}${v}`):m=a.keyPrefix?`${a.keyPrefix}${c}${s}`:s,i.t(m,a)};return A(t)?o.lng=t:o.lngs=t,o.ns=n,o.keyPrefix=r,o}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let n=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=n.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 s=(l,a)=>{const u=this.services.backendConnector.state[`${l}|${a}`];return u===-1||u===0||u===2};if(n.precheck){const l=n.precheck(this,s);if(l!==void 0)return l}return!!(this.hasResourceBundle(r,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||s(r,t)&&(!i||s(o,t)))}loadNamespaces(t,n){const r=lr();return this.options.ns?(A(t)&&(t=[t]),t.forEach(i=>{this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}),this.loadResources(i=>{r.resolve(),n&&n(i)}),r):(n&&n(),Promise.resolve())}loadLanguages(t,n){const r=lr();A(t)&&(t=[t]);const i=this.options.preload||[],o=t.filter(s=>i.indexOf(s)<0&&this.services.languageUtils.isSupportedCode(s));return o.length?(this.options.preload=i.concat(o),this.loadResources(s=>{r.resolve(),n&&n(s)}),r):(n&&n(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const n=["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 ac(fc());return n.indexOf(r.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new Qr(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:yi;const r=t.forkResourceStore;r&&delete t.forkResourceStore;const i={...this.options,...t,isClone:!0},o=new Qr(i);return(t.debug!==void 0||t.prefix!==void 0)&&(o.logger=o.logger.clone(t)),["store","services","language"].forEach(l=>{o[l]=this[l]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},r&&(o.store=new sc(this.store.data,i),o.services.resourceStore=o.store),o.translator=new go(o.services,i),o.translator.on("*",function(l){for(var a=arguments.length,u=new Array(a>1?a-1:0),f=1;f + + + + + + + + + Posterfy + + + + +
+ + diff --git a/vite.svg b/vite.svg new file mode 100644 index 0000000..e7b8dfb --- /dev/null +++ b/vite.svg @@ -0,0 +1 @@ + \ No newline at end of file