PageSourceSearch

https://emingi.netlify.app/assets/index-CDRQDOQk.js

js emingi.netlify.app collected 2026-10-03 10:41:53 UTC 645,619 bytes, 866 lines download raw bytes

vendor: 4,286 bytes, lines 1-9
1var Bw=Object.defineProperty;var Hw=(t,e,n)=>e in t?Bw(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var oe=(t,e,n)=>(Hw(t,typeof e!="symbol"?e+"":e,n),n);function K0(t,e){for(var n=0;n<e.length;n++){const r=e[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in t)){const o=Object.getOwnPropertyDescriptor(r,i);o&&Object.defineProperty(t,i,o.get?o:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const 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)}})();var Uw=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Fc(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Y0={exports:{}},zc={},q0={exports:{}},he={};/**
2 * @license React
3 * react.production.min.js
4 *
5 * Copyright (c) Facebook, Inc. and its affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var fa=Symbol.for("react.element"),Vw=Symbol.for("react.portal"),Ww=Symbol.for("react.fragment"),Kw=Symbol.for("react.strict_mode"),Yw=Symbol.for("react.profiler"),qw=Symbol.for("react.provider"),Gw=Symbol.for("react.context"),Xw=Symbol.for("react.forward_ref"),Qw=Symbol.for("react.suspense"),Jw=Symbol.for("react.memo"),Zw=Symbol.for("react.lazy"),Up=Symbol.iterator;function ek(t){return t===null||typeof t!="object"?null:(t=Up&&t[Up]||t["@@iterator"],typeof t=="function"?t:null)}var G0={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},X0=Object.assign,Q0={};function Lo(t,e,n){this.props=t,this.context=e,this.refs=Q0,this.updater=n||G0}Lo.prototype.isReactComponent={};Lo.prototype.setState=function(t,e){if(typeof t!="object"&&typeof t!="function"&&t!=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,t,e,"setState")};Lo.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function J0(){}J0.prototype=Lo.prototype;function nh(t,e,n){this.props=t,this.context=e,this.refs=Q0,this.updater=n||G0}var rh=nh.prototype=new J0;rh.constructor=nh;X0(rh,Lo.prototype);rh.isPureReactComponent=!0;var Vp=Array.isArray,Z0=Object.prototype.hasOwnProperty,ih={current:null},ev={key:!0,ref:!0,__self:!0,__source:!0};function tv(t,e,n){var r,i={},o=null,s=null;if(e!=null)for(r in e.ref!==void 0&&(s=e.ref),e.key!==void 0&&(o=""+e.key),e)Z0.call(e,r)&&!ev.hasOwnProperty(r)&&(i[r]=e[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var l=Array(a),c=0;c<a;c++)l[c]=arguments[c+2];i.children=l}if(t&&t.defaultProps)for(r in a=t.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:fa,type:t,key:o,ref:s,props:i,_owner:ih.current}}function tk(t,e){return{$$typeof:fa,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}function oh(t){return typeof t=="object"&&t!==null&&t.$$typeof===fa}function nk(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(n){return e[n]})}var Wp=/\/+/g;function Su(t,e){return typeof t=="object"&&t!==null&&t.key!=null?nk(""+t.key):e.toString(36)}function bl(t,e,n,r,i){var o=typeof t;(o==="undefined"||o==="boolean")&&(t=null);var s=!1;if(t===null)s=!0;else switch(o){case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case fa:case Vw:s=!0}}if(s)return s=t,i=i(s),t=r===""?"."+Su(s,0):r,Vp(i)?(n="",t!=null&&(n=t.replace(Wp,"$&/")+"/"),bl(i,e,
vendor: 4,473 bytes, lines 9-17
9n,"",function(c){return c})):i!=null&&(oh(i)&&(i=tk(i,n+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(Wp,"$&/")+"/")+t)),e.push(i)),1;if(s=0,r=r===""?".":r+":",Vp(t))for(var a=0;a<t.length;a++){o=t[a];var l=r+Su(o,a);s+=bl(o,e,n,l,i)}else if(l=ek(t),typeof l=="function")for(t=l.call(t),a=0;!(o=t.next()).done;)o=o.value,l=r+Su(o,a++),s+=bl(o,e,n,l,i);else if(o==="object")throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.");return s}function Oa(t,e,n){if(t==null)return t;var r=[],i=0;return bl(t,r,"","",function(o){return e.call(n,o,i++)}),r}function rk(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(n){(t._status===0||t._status===-1)&&(t._status=1,t._result=n)},function(n){(t._status===0||t._status===-1)&&(t._status=2,t._result=n)}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}var Nt={current:null},wl={transition:null},ik={ReactCurrentDispatcher:Nt,ReactCurrentBatchConfig:wl,ReactCurrentOwner:ih};function nv(){throw Error("act(...) is not supported in production builds of React.")}he.Children={map:Oa,forEach:function(t,e,n){Oa(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return Oa(t,function(){e++}),e},toArray:function(t){return Oa(t,function(e){return e})||[]},only:function(t){if(!oh(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};he.Component=Lo;he.Fragment=Ww;he.Profiler=Yw;he.PureComponent=nh;he.StrictMode=Kw;he.Suspense=Qw;he.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ik;he.act=nv;he.cloneElement=function(t,e,n){if(t==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var r=X0({},t.props),i=t.key,o=t.ref,s=t._owner;if(e!=null){if(e.ref!==void 0&&(o=e.ref,s=ih.current),e.key!==void 0&&(i=""+e.key),t.type&&t.type.defaultProps)var a=t.type.defaultProps;for(l in e)Z0.call(e,l)&&!ev.hasOwnProperty(l)&&(r[l]=e[l]===void 0&&a!==void 0?a[l]:e[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var c=0;c<l;c++)a[c]=arguments[c+2];r.children=a}return{$$typeof:fa,type:t.type,key:i,ref:o,props:r,_owner:s}};he.createContext=function(t){return t={$$typeof:Gw,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},t.Provider={$$typeof:qw,_context:t},t.Consumer=t};he.createElement=tv;he.createFactory=function(t){var e=tv.bind(null,t);return e.type=t,e};he.createRef=function(){return{current:null}};he.forwardRef=function(t){return{$$typeof:Xw,render:t}};he.isValidElement=oh;he.lazy=function(t){return{$$typeof:Zw,_payload:{_status:-1,_result:t},_init:rk}};he.memo=function(t,e){return{$$typeof:Jw,type:t,compare:e===void 0?null:e}};he.startTransition=function(t){var e=wl.transition;wl.transition={};try{t()}finally{wl.transition=e}};he.unstable_act=nv;he.useCallback=function(t,e){return Nt.current.useCallback(t,e)};he.useContext=function(t){return Nt.current.useContext(t)};he.useDebugValue=function(){};he.useDeferredValue=function(t){return Nt.current.useDeferredValue(t)};he.useEffect=function(t,e){return Nt.current.useEffect(t,e)};he.useId=function(){return Nt.current.useId()};he.useImperativeHandle=function(t,e,n){return Nt.current.useImperativeHandle(t,e,n)};he.useInsertionEffect=function(t,e){return Nt.current.useInsertionEffect(t,e)};he.useLayoutEffect=function(t,e){return Nt.current.useLayoutEffect(t,e)};he.useMemo=function(t,e){return Nt.current.useMemo(t,e)};he.useReducer=function(t,e,n){return Nt.current.useReducer(t,e,n)};he.useRef=function(t){return Nt.current.useRef(t)};he.useState=function(t){return Nt.current.useState(t)};he.useSyncExternalStore=function(t,e,n){return Nt.current.useSyncExternalStore(t,e,n)};he.useTransition=function(){return Nt.current.useTransition()};he.version="18.3.1";q0.exports=he;var A=q0.exports;const be=Fc(A),ok=K0({__proto__:null,default:be},[A]);/**
10 * @license React
11 * react-jsx-runtime.production.min.js
12 *
13 * Copyright (c) Facebook, Inc. and its affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */var sk=A,ak=Symbol.for("react.element"),lk=Symbol.for("react.fragment"),ck=Object.prototype.hasOwnProperty,uk=sk.__SECRET_INT
vendor: 4,608 bytes, lines 17-25
17ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,fk={key:!0,ref:!0,__self:!0,__source:!0};function rv(t,e,n){var r,i={},o=null,s=null;n!==void 0&&(o=""+n),e.key!==void 0&&(o=""+e.key),e.ref!==void 0&&(s=e.ref);for(r in e)ck.call(e,r)&&!fk.hasOwnProperty(r)&&(i[r]=e[r]);if(t&&t.defaultProps)for(r in e=t.defaultProps,e)i[r]===void 0&&(i[r]=e[r]);return{$$typeof:ak,type:t,key:o,ref:s,props:i,_owner:uk.current}}zc.Fragment=lk;zc.jsx=rv;zc.jsxs=rv;Y0.exports=zc;var S=Y0.exports,vf={},iv={exports:{}},tn={},ov={exports:{}},sv={};/**
18 * @license React
19 * scheduler.production.min.js
20 *
21 * Copyright (c) Facebook, Inc. and its affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */(function(t){function e(M,D){var V=M.length;M.push(D);e:for(;0<V;){var Y=V-1>>>1,z=M[Y];if(0<i(z,D))M[Y]=D,M[V]=z,V=Y;else break e}}function n(M){return M.length===0?null:M[0]}function r(M){if(M.length===0)return null;var D=M[0],V=M.pop();if(V!==D){M[0]=V;e:for(var Y=0,z=M.length,J=z>>>1;Y<J;){var ne=2*(Y+1)-1,Z=M[ne],re=ne+1,fe=M[re];if(0>i(Z,V))re<z&&0>i(fe,Z)?(M[Y]=fe,M[re]=V,Y=re):(M[Y]=Z,M[ne]=V,Y=ne);else if(re<z&&0>i(fe,V))M[Y]=fe,M[re]=V,Y=re;else break e}}return D}function i(M,D){var V=M.sortIndex-D.sortIndex;return V!==0?V:M.id-D.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;t.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();t.unstable_now=function(){return s.now()-a}}var l=[],c=[],u=1,f=null,d=3,p=!1,h=!1,m=!1,w=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(M){for(var D=n(c);D!==null;){if(D.callback===null)r(c);else if(D.startTime<=M)r(c),D.sortIndex=D.expirationTime,e(l,D);else break;D=n(c)}}function _(M){if(m=!1,v(M),!h)if(n(l)!==null)h=!0,W(C);else{var D=n(c);D!==null&&$(_,D.startTime-M)}}function C(M,D){h=!1,m&&(m=!1,g(x),x=-1),p=!0;var V=d;try{for(v(D),f=n(l);f!==null&&(!(f.expirationTime>D)||M&&!O());){var Y=f.callback;if(typeof Y=="function"){f.callback=null,d=f.priorityLevel;var z=Y(f.expirationTime<=D);D=t.unstable_now(),typeof z=="function"?f.callback=z:f===n(l)&&r(l),v(D)}else r(l);f=n(l)}if(f!==null)var J=!0;else{var ne=n(c);ne!==null&&$(_,ne.startTime-D),J=!1}return J}finally{f=null,d=V,p=!1}}var P=!1,b=null,x=-1,k=5,E=-1;function O(){return!(t.unstable_now()-E<k)}function R(){if(b!==null){var M=t.unstable_now();E=M;var D=!0;try{D=b(!0,M)}finally{D?I():(P=!1,b=null)}}else P=!1}var I;if(typeof y=="function")I=function(){y(R)};else if(typeof MessageChannel<"u"){var F=new MessageChannel,H=F.port2;F.port1.onmessage=R,I=function(){H.postMessage(null)}}else I=function(){w(R,0)};function W(M){b=M,P||(P=!0,I())}function $(M,D){x=w(function(){M(t.unstable_now())},D)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(M){M.callback=null},t.unstable_continueExecution=function(){h||p||(h=!0,W(C))},t.unstable_forceFrameRate=function(M){0>M||125<M?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):k=0<M?Math.floor(1e3/M):5},t.unstable_getCurrentPriorityLevel=function(){return d},t.unstable_getFirstCallbackNode=function(){return n(l)},t.unstable_next=function(M){switch(d){case 1:case 2:case 3:var D=3;break;default:D=d}var V=d;d=D;try{return M()}finally{d=V}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(M,D){switch(M){case 1:case 2:case 3:case 4:case 5:break;default:M=3}var V=d;d=M;try{return D()}finally{d=V}},t.unstable_scheduleCallback=function(M,D,V){var Y=t.unstable_now();switch(typeof V=="object"&&V!==null?(V=V.delay,V=typeof V=="number"&&0<V?Y+V:Y):V=Y,M){case 1:var z=-1;break;case 2:z=250;break;case 5:z=1073741823;break;case 4:z=1e4;break;default:z=5e3}return z=V+z,M={id:u++,callback:D,priorityLevel:M,startTime:V,expirationTime:z,sortIndex:-1},V>Y?(M.sortIndex=V,e(c,M),n(l)===null&&M===n(c)&&(m?(g(x),x=-1):m=!0,$(_,V-Y))):(M.sortIndex=z,e(l,M),h||p||(h=!0,W(C))),M},t.unstable_shouldYield=O,t.unstable_wrapCallback=function(M){var D=d;return function(){var V=d;d=D;try{return M.apply(this,arguments)}finally{d=V}}}})(sv);ov.exports=sv;
vendor: 4,228 bytes, lines 25-33
25var dk=ov.exports;/**
26 * @license React
27 * react-dom.production.min.js
28 *
29 * Copyright (c) Facebook, Inc. and its affiliates.
30 *
31 * This source code is licensed under the MIT license found in the
32 * LICENSE file in the root directory of this source tree.
33 */var hk=A,en=dk;function B(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var av=new Set,Ns={};function Li(t,e){xo(t,e),xo(t+"Capture",e)}function xo(t,e){for(Ns[t]=e,t=0;t<e.length;t++)av.add(e[t])}var ir=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),xf=Object.prototype.hasOwnProperty,pk=/^[: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]*$/,Kp={},Yp={};function mk(t){return xf.call(Yp,t)?!0:xf.call(Kp,t)?!1:pk.test(t)?Yp[t]=!0:(Kp[t]=!0,!1)}function gk(t,e,n,r){if(n!==null&&n.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function yk(t,e,n,r){if(e===null||typeof e>"u"||gk(t,e,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function Mt(t,e,n,r,i,o,s){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=t,this.type=e,this.sanitizeURL=o,this.removeEmptyString=s}var yt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){yt[t]=new Mt(t,0,!1,t,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];yt[e]=new Mt(e,1,!1,t[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(t){yt[t]=new Mt(t,2,!1,t.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){yt[t]=new Mt(t,2,!1,t,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(t){yt[t]=new Mt(t,3,!1,t.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(t){yt[t]=new Mt(t,3,!0,t,null,!1,!1)});["capture","download"].forEach(function(t){yt[t]=new Mt(t,4,!1,t,null,!1,!1)});["cols","rows","size","span"].forEach(function(t){yt[t]=new Mt(t,6,!1,t,null,!1,!1)});["rowSpan","start"].forEach(function(t){yt[t]=new Mt(t,5,!1,t.toLowerCase(),null,!1,!1)});var sh=/[\-:]([a-z])/g;function ah(t){return t[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
33-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(t){var e=t.replace(sh,ah);yt[e]=new Mt(e,1,!1,t,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var e=t.replace(sh,ah);yt[e]=new Mt(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(t){var e=t.replace(sh,ah);yt[e]=new Mt(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(t){yt[t]=new Mt(t,1,!1,t.toLowerCase(),null,!1,!1)});yt.xlinkHref=new Mt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(t){yt[t]=new Mt(t,1,!1,t.toLowerCase(),null,!0,!0)});function lh(t,e,n,r){var i=yt.hasOwnProperty(e)?yt[e]:null;(i!==null?i.type!==0:r||!(2<e.length)||e[0]!=="o"&&e[0]!=="O"||e[1]!=="n"&&e[1]!=="N")&&(yk(e,n,i,r)&&(n=null),r||i===null?mk(e)&&(n===null?t.removeAttribute(e):t.setAttribute(e,""+n)):i.mustUseProperty?t[i.propertyName]=n===null?i.type===3?!1:"":n:(e=i.attributeName,r=i.attributeNamespace,n===null?t.removeAttribute(e):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?t.setAttributeNS(r,e,n):t.setAttribute(e,n))))}var dr=hk.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,La=Symbol.for("react.element"),Yi=Symbol.for("react.portal"),qi=Symbol.for("react.fragment"),ch=Symbol.for("react.strict_mode"),bf=Symbol.for("react.profiler"),lv=Symbol.for("react.provider"),cv=Symbol.for("react.context"),uh=Symbol.for("react.forward_ref"),wf=Symbol.for("react.suspense"),kf=Symbol.for("react.suspense_list"),fh=Symbol.for("react.memo"),br=Symbol.for("react.lazy"),uv=Symbol.for("react.offscreen"),qp=Symbol.iterator;function $o(t){return t===null||typeof t!="object"?null:(t=qp&&t[qp]||t["@@iterator"],typeof t=="function"?t:null)}var Ye=Object.assign,_u;function is(t){if(_u===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);_u=e&&e[1]||""}return`
34`+_u+t}var Cu=!1;function Eu(t,e){if(!t||Cu)return"";Cu=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(e)if(e=function(){throw Error()},Object.defineProperty(e.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(e,[])}catch(c){var r=c}Reflect.construct(t,[],e)}else{try{e.call()}catch(c){r=c}t.call(e.prototype)}else{try{throw Error()}catch(c){r=c}t()}}catch(c){if(c&&r&&typeof c.stack=="string"){for(var i=c.stack.split(`
35`),o=r.stack.split(`
36`),s=i.length-1,a=o.length-1;1<=s&&0<=a&&i[s]!==o[a];)a--;for(;1<=s&&0<=a;s--,a--)if(i[s]!==o[a]){if(s!==1||a!==1)do if(s--,a--,0>a||i[s]!==o[a]){var l=`
37`+i[s].replace(" at new "," at ");return t.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",t.displayName)),l}while(1<=s&&0<=a);break}}}finally{Cu=!1,Error.prepareStackTrace=n}return(t=t?t.displayName||t.name:"")?is(t):""}function vk(t){switch(t.tag){case 5:return is(t.type);case 16:return is("Lazy");case 13:return is("Suspense");case 19:return is("SuspenseList");case 0:case 2:case 15:return t=Eu(t.type,!1),t;case 11:return t=Eu(t.type.render,!1),t;case 1:return t=Eu(t.type,!0),t;default:return""}}function Sf(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case qi:return"Fragment";case Yi:return"Portal";case bf:return"Profiler";case ch:return"StrictMode";case wf:return"Suspense";case kf:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case cv:return(t.displayName||"Context")+".Consumer";case lv:return(t._context.displayName||"Context")+".Provider";case uh:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case fh:return e=t.displayName||null,e!==null?e:Sf(t.type)||"Memo";case br:e=t._payload,t=t._init;try{return Sf(t(e))}catch{}}return null}function xk(t){var e=t.type;switch(t.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=e.render,t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Sf(e);case 8:return e===ch?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function $r(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function fv(t){var e=t.type;
vendor: 15,745 bytes, line 37
37return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function bk(t){var e=fv(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),r=""+t[e];if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Ra(t){t._valueTracker||(t._valueTracker=bk(t))}function dv(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),r="";return t&&(r=fv(t)?t.checked?"true":"false":t.value),t=r,t!==n?(e.setValue(t),!0):!1}function Bl(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function _f(t,e){var n=e.checked;return Ye({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??t._wrapperState.initialChecked})}function Gp(t,e){var n=e.defaultValue==null?"":e.defaultValue,r=e.checked!=null?e.checked:e.defaultChecked;n=$r(e.value!=null?e.value:n),t._wrapperState={initialChecked:r,initialValue:n,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function hv(t,e){e=e.checked,e!=null&&lh(t,"checked",e,!1)}function Cf(t,e){hv(t,e);var n=$r(e.value),r=e.type;if(n!=null)r==="number"?(n===0&&t.value===""||t.value!=n)&&(t.value=""+n):t.value!==""+n&&(t.value=""+n);else if(r==="submit"||r==="reset"){t.removeAttribute("value");return}e.hasOwnProperty("value")?Ef(t,e.type,n):e.hasOwnProperty("defaultValue")&&Ef(t,e.type,$r(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(t.defaultChecked=!!e.defaultChecked)}function Xp(t,e,n){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var r=e.type;if(!(r!=="submit"&&r!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+t._wrapperState.initialValue,n||e===t.value||(t.value=e),t.defaultValue=e}n=t.name,n!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,n!==""&&(t.name=n)}function Ef(t,e,n){(e!=="number"||Bl(t.ownerDocument)!==t)&&(n==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+n&&(t.defaultValue=""+n))}var os=Array.isArray;function co(t,e,n,r){if(t=t.options,e){e={};for(var i=0;i<n.length;i++)e["$"+n[i]]=!0;for(n=0;n<t.length;n++)i=e.hasOwnProperty("$"+t[n].value),t[n].selected!==i&&(t[n].selected=i),i&&r&&(t[n].defaultSelected=!0)}else{for(n=""+$r(n),e=null,i=0;i<t.length;i++){if(t[i].value===n){t[i].selected=!0,r&&(t[i].defaultSelected=!0);return}e!==null||t[i].disabled||(e=t[i])}e!==null&&(e.selected=!0)}}function Pf(t,e){if(e.dangerouslySetInnerHTML!=null)throw Error(B(91));return Ye({},e,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function Qp(t,e){var n=e.value;if(n==null){if(n=e.children,e=e.defaultValue,n!=null){if(e!=null)throw Error(B(92));if(os(n)){if(1<n.length)throw Error(B(93));n=n[0]}e=n}e==null&&(e=""),n=e}t._wrapperState={initialValue:$r(n)}}function pv(t,e){var n=$r(e.value),r=$r(e.defaultValue);n!=null&&(n=""+n,n!==t.value&&(t.value=n),e.defaultValue==null&&t.defaultValue!==n&&(t.defaultValue=n)),r!=null&&(t.defaultValue=""+r)}function Jp(t){var e=t.textContent;e===t._wrapperState.initialValue&&e!==""&&e!==null&&(t.value=e)}function mv(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Af(t,e){return t==null||t==="http://www.w3.org/1999/xhtml"?mv(e):t==="http://www.w3.org/2000/svg"&&e==="foreignObject"?"http://www.w3.org/1999/xhtml":t}var Na,gv=function(t){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(e,n,r,i){MSApp.execUnsafeLocalFunction(function(){return t(e,n,r,i)})}:t}(function(t,e){if(t.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in t)t.innerHTML=e;else{for(Na=Na||document.createElement("div"),Na.innerHTML="<svg>"+e.valueOf().toString()+"</svg>",e=Na.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}});function Ms(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var ps={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},wk=["Webkit","ms","Moz","O"];Object.keys(ps).forEach(function(t){wk.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),ps[e]=ps[t]})});function yv(t,e,n){return e==null||typeof e=="boolean"||e===""?"":n||typeof e!="number"||e===0||ps.hasOwnProperty(t)&&ps[t]?(""+e).trim():e+"px"}function vv(t,e){t=t.style;for(var n in e)if(e.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=yv(n,e[n],r);n==="float"&&(n="cssFloat"),r?t.setProperty(n,i):t[n]=i}}var kk=Ye({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 Tf(t,e){if(e){if(kk[t]&&(e.children!=null||e.dangerouslySetInnerHTML!=null))throw Error(B(137,t));if(e.dangerouslySetInnerHTML!=null){if(e.children!=null)throw Error(B(60));if(typeof e.dangerouslySetInnerHTML!="object"||!("__html"in e.dangerouslySetInnerHTML))throw Error(B(61))}if(e.style!=null&&typeof e.style!="object")throw Error(B(62))}}function Of(t,e){if(t.indexOf("-")===-1)return typeof e.is=="string";switch(t){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 Lf=null;function dh(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Rf=null,uo=null,fo=null;function Zp(t){if(t=pa(t)){if(typeof Rf!="function")throw Error(B(280));var e=t.stateNode;e&&(e=Vc(e),Rf(t.stateNode,t.type,e))}}function xv(t){uo?fo?fo.push(t):fo=[t]:uo=t}function bv(){if(uo){var t=uo,e=fo;if(fo=uo=null,Zp(t),e)for(t=0;t<e.length;t++)Zp(e[t])}}function wv(t,e){return t(e)}function kv(){}var Pu=!1;function Sv(t,e,n){if(Pu)return t(e,n);Pu=!0;try{return wv(t,e,n)}finally{Pu=!1,(uo!==null||fo!==null)&&(kv(),bv())}}function Ds(t,e){var n=t.stateNode;if(n===null)return null;var r=Vc(n);if(r===null)return null;n=r[e];e:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(t=t.type,r=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!r;break e;default:t=!1}if(t)return null;if(n&&typeof n!="function")throw Error(B(231,e,typeof n));return n}var Nf=!1;if(ir)try{var Bo={};Object.defineProperty(Bo,"passive",{get:function(){Nf=!0}}),window.addEventListener("test",Bo,Bo),window.removeEventListener("test",Bo,Bo)}catch{Nf=!1}function Sk(t,e,n,r,i,o,s,a,l){var c=Array.prototype.slice.call(arguments,3);try{e.apply(n,c)}catch(u){this.onError(u)}}var ms=!1,Hl=null,Ul=!1,Mf=null,_k={onError:function(t){ms=!0,Hl=t}};function Ck(t,e,n,r,i,o,s,a,l){ms=!1,Hl=null,Sk.apply(_k,arguments)}function Ek(t,e,n,r,i,o,s,a,l){if(Ck.apply(this,arguments),ms){if(ms){var c=Hl;ms=!1,Hl=null}else throw Error(B(198));Ul||(Ul=!0,Mf=c)}}function Ri(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,e.flags&4098&&(n=e.return),t=e.return;while(t)}return e.tag===3?n:null}function _v(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function em(t){if(Ri(t)!==t)throw Error(B(188))}function Pk(t){var e=t.alternate;if(!e){if(e=Ri(t),e===null)throw Error(B(188));return e!==t?null:t}for(var n=t,r=e;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return em(i),t;if(o===r)return em(i),e;o=o.sibling}throw Error(B(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,a=i.child;a;){if(a===n){s=!0,n=i,r=o;break}if(a===r){s=!0,r=i,n=o;break}a=a.sibling}if(!s){for(a=o.child;a;){if(a===n){s=!0,n=o,r=i;break}if(a===r){s=!0,r=o,n=i;break}a=a.sibling}if(!s)throw Error(B(189))}}if(n.alternate!==r)throw Error(B(190))}if(n.tag!==3)throw Error(B(188));return n.stateNode.current===n?t:e}function Cv(t){return t=Pk(t),t!==null?Ev(t):null}function Ev(t){if(t.tag===5||t.tag===6)return t;for(t=t.child;t!==null;){var e=Ev(t);if(e!==null)return e;t=t.sibling}return null}var Pv=en.unstable_scheduleCallback,tm=en.unstable_cancelCallback,Ak=en.unstable_shouldYield,Tk=en.unstable_requestPaint,Je=en.unstable_now,Ok=en.unstable_getCurrentPriorityLevel,hh=en.unstable_ImmediatePriority,Av=en.unstable_UserBlockingPriority,Vl=en.unstable_NormalPriority,Lk=en.unstable_LowPriority,Tv=en.unstable_IdlePriority,$c=null,Kn=null;function Rk(t){if(Kn&&typeof Kn.onCommitFiberRoot=="function")try{Kn.onCommitFiberRoot($c,t,void 0,(t.current.flags&128)===128)}catch{}}var An=Math.clz32?Math.clz32:Dk,Nk=Math.log,Mk=Math.LN2;function Dk(t){return t>>>=0,t===0?32:31-(Nk(t)/Mk|0)|0}var Ma=64,Da=4194304;function ss(t){switch(t&-t){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 t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function Wl(t,e){var n=t.pendingLanes;if(n===0)return 0;var r=0,i=t.suspendedLanes,o=t.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=ss(a):(o&=s,o!==0&&(r=ss(o)))}else s=n&~i,s!==0?r=ss(s):o!==0&&(r=ss(o));if(r===0)return 0;if(e!==0&&e!==r&&!(e&i)&&(i=r&-r,o=e&-e,i>=o||i===16&&(o&4194240)!==0))return e;if(r&4&&(r|=n&16),e=t.entangledLanes,e!==0)for(t=t.entanglements,e&=r;0<e;)n=31-An(e),i=1<<n,r|=t[n],e&=~i;return r}function Ik(t,e){switch(t){case 1:case 2:case 4:return e+250;case 8:case 16:case 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+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function jk(t,e){for(var n=t.suspendedLanes,r=t.pingedLanes,i=t.expirationTimes,o=t.pendingLanes;0<o;){var s=31-An(o),a=1<<s,l=i[s];l===-1?(!(a&n)||a&r)&&(i[s]=Ik(a,e)):l<=e&&(t.expiredLanes|=a),o&=~a}}function Df(t){return t=t.pendingLanes&-1073741825,t!==0?t:t&1073741824?1073741824:0}function Ov(){var t=Ma;return Ma<<=1,!(Ma&4194240)&&(Ma=64),t}function Au(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function da(t,e,n){t.pendingLanes|=e,e!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,e=31-An(e),t[e]=n}function Fk(t,e){var n=t.pendingLanes&~e;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=e,t.mutableReadLanes&=e,t.entangledLanes&=e,e=t.entanglements;var r=t.eventTimes;for(t=t.expirationTimes;0<n;){var i=31-An(n),o=1<<i;e[i]=0,r[i]=-1,t[i]=-1,n&=~o}}function ph(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var r=31-An(n),i=1<<r;i&e|t[r]&e&&(t[r]|=e),n&=~i}}var Ae=0;function Lv(t){return t&=-t,1<t?4<t?t&268435455?16:536870912:4:1}var Rv,mh,Nv,Mv,Dv,If=!1,Ia=[],Or=null,Lr=null,Rr=null,Is=new Map,js=new Map,kr=[],zk="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function nm(t,e){switch(t){case"focusin":case"focusout":Or=null;break;case"dragenter":case"dragleave":Lr=null;break;case"mouseover":case"mouseout":Rr=null;break;case"pointerover":case"pointerout":Is.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":js.delete(e.pointerId)}}function Ho(t,e,n,r,i,o){return t===null||t.nativeEvent!==o?(t={blockedOn:e,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},e!==null&&(e=pa(e),e!==null&&mh(e)),t):(t.eventSystemFlags|=r,e=t.targetContainers,i!==null&&e.indexOf(i)===-1&&e.push(i),t)}function $k(t,e,n,r,i){switch(e){case"focusin":return Or=Ho(Or,t,e,n,r,i),!0;case"dragenter":return Lr=Ho(Lr,t,e,n,r,i),!0;case"mouseover":return Rr=Ho(Rr,t,e,n,r,i),!0;case"pointerover":var o=i.pointerId;return Is.set(o,Ho(Is.get(o)||null,t,e,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,js.set(o,Ho(js.get(o)||null,t,e,n,r,i)),!0}return!1}function Iv(t){var e=si(t.target);if(e!==null){var n=Ri(e);if(n!==null){if(e=n.tag,e===13){if(e=_v(n),e!==null){t.blockedOn=e,Dv(t.priority,function(){Nv(n)});return}}else if(e===3&&n.stateNode.current.memoizedState.isDehydrated){t.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}t.blockedOn=null}function kl(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var n=jf(t.domEventName,t.eventSystemFlags,e[0],t.nativeEvent);if(n===null){n=t.nativeEvent;var r=new n.constructor(n.type,n);Lf=r,n.target.dispatchEvent(r),Lf=null}else return e=pa(n),e!==null&&mh(e),t.blockedOn=n,!1;e.shift()}return!0}function rm(t,e,n){kl(t)&&n.delete(e)}function Bk(){If=!1,Or!==null&&kl(Or)&&(Or=null),Lr!==null&&kl(Lr)&&(Lr=null),Rr!==null&&kl(Rr)&&(Rr=null),Is.forEach(rm),js.forEach(rm)}function Uo(t,e){t.blockedOn===e&&(t.blockedOn=null,If||(If=!0,en.unstable_scheduleCallback(en.unstable_NormalPriority,Bk)))}function Fs(t){function e(i){return Uo(i,t)}if(0<Ia.length){Uo(Ia[0],t);for(var n=1;n<Ia.length;n++){var r=Ia[n];r.blockedOn===t&&(r.blockedOn=null)}}for(Or!==null&&Uo(Or,t),Lr!==null&&Uo(Lr,t),Rr!==null&&Uo(Rr,t),Is.forEach(e),js.forEach(e),n=0;n<kr.length;n++)r=kr[n],r.blockedOn===t&&(r.blockedOn=null);for(;0<kr.length&&(n=kr[0],n.blockedOn===null);)Iv(n),n.blockedOn===null&&kr.shift()}var ho=dr.ReactCurrentBatchConfig,Kl=!0;function Hk(t,e,n,r){var i=Ae,o=ho.transition;ho.transition=null;try{Ae=1,gh(t,e,n,r)}finally{Ae=i,ho.transition=o}}function Uk(t,e,n,r){var i=Ae,o=ho.transition;ho.transition=null;try{Ae=4,gh(t,e,n,r)}finally{Ae=i,ho.transition=o}}function gh(t,e,n,r){if(Kl){var i=jf(t,e,n,r);if(i===null)Fu(t,e,r,Yl,n),nm(t,r);else if($k(i,t,e,n,r))r.stopPropagation();else if(nm(t,r),e&4&&-1<zk.indexOf(t)){for(;i!==null;){var o=pa(i);if(o!==null&&Rv(o),o=jf(t,e,n,r),o===null&&Fu(t,e,r,Yl,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else Fu(t,e,r,null,n)}}var Yl=null;function jf(t,e,n,r){if(Yl=null,t=dh(r),t=si(t),t!==null)if(e=Ri(t),e===null)t=null;else if(n=e.tag,n===13){if(t=_v(e),t!==null)return t;t=null}else if(n===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null);return Yl=t,null}
vendor: 10,401 bytes, line 37
37function jv(t){switch(t){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Ok()){case hh:return 1;case Av:return 4;case Vl:case Lk:return 16;case Tv:return 536870912;default:return 16}default:return 16}}var _r=null,yh=null,Sl=null;function Fv(){if(Sl)return Sl;var t,e=yh,n=e.length,r,i="value"in _r?_r.value:_r.textContent,o=i.length;for(t=0;t<n&&e[t]===i[t];t++);var s=n-t;for(r=1;r<=s&&e[n-r]===i[o-r];r++);return Sl=i.slice(t,1<r?1-r:void 0)}function _l(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function ja(){return!0}function im(){return!1}function nn(t){function e(n,r,i,o,s){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=s,this.currentTarget=null;for(var a in t)t.hasOwnProperty(a)&&(n=t[a],this[a]=n?n(o):o[a]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?ja:im,this.isPropagationStopped=im,this}return Ye(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=ja)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=ja)},persist:function(){},isPersistent:ja}),e}var Ro={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},vh=nn(Ro),ha=Ye({},Ro,{view:0,detail:0}),Vk=nn(ha),Tu,Ou,Vo,Bc=Ye({},ha,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:xh,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Vo&&(Vo&&t.type==="mousemove"?(Tu=t.screenX-Vo.screenX,Ou=t.screenY-Vo.screenY):Ou=Tu=0,Vo=t),Tu)},movementY:function(t){return"movementY"in t?t.movementY:Ou}}),om=nn(Bc),Wk=Ye({},Bc,{dataTransfer:0}),Kk=nn(Wk),Yk=Ye({},ha,{relatedTarget:0}),Lu=nn(Yk),qk=Ye({},Ro,{animationName:0,elapsedTime:0,pseudoElement:0}),Gk=nn(qk),Xk=Ye({},Ro,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Qk=nn(Xk),Jk=Ye({},Ro,{data:0}),sm=nn(Jk),Zk={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},eS={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},tS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function nS(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=tS[t])?!!e[t]:!1}function xh(){return nS}var rS=Ye({},ha,{key:function(t){if(t.key){var e=Zk[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=_l(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?eS[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:xh,charCode:function(t){return t.type==="keypress"?_l(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?_l(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),iS=nn(rS),oS=Ye({},Bc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),am=nn(oS),sS=Ye({},ha,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:xh}),aS=nn(sS),lS=Ye({},Ro,{propertyName:0,elapsedTime:0,pseudoElement:0}),cS=nn(lS),uS=Ye({},Bc,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),fS=nn(uS),dS=[9,13,27,32],bh=ir&&"CompositionEvent"in window,gs=null;ir&&"documentMode"in document&&(gs=document.documentMode);var hS=ir&&"TextEvent"in window&&!gs,zv=ir&&(!bh||gs&&8<gs&&11>=gs),lm=" ",cm=!1;function $v(t,e){switch(t){case"keyup":return dS.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bv(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Gi=!1;function pS(t,e){switch(t){case"compositionend":return Bv(e);case"keypress":return e.which!==32?null:(cm=!0,lm);case"textInput":return t=e.data,t===lm&&cm?null:t;default:return null}}function mS(t,e){if(Gi)return t==="compositionend"||!bh&&$v(t,e)?(t=Fv(),Sl=yh=_r=null,Gi=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return zv&&e.locale!=="ko"?null:e.data;default:return null}}var gS={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function um(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!gS[t.type]:e==="textarea"}function Hv(t,e,n,r){xv(r),e=ql(e,"onChange"),0<e.length&&(n=new vh("onChange","change",null,n,r),t.push({event:n,listeners:e}))}var ys=null,zs=null;function yS(t){Zv(t,0)}function Hc(t){var e=Ji(t);if(dv(e))return t}function vS(t,e){if(t==="change")return e}var Uv=!1;if(ir){var Ru;if(ir){var Nu="oninput"in document;if(!Nu){var fm=document.createElement("div");fm.setAttribute("oninput","return;"),Nu=typeof fm.oninput=="function"}Ru=Nu}else Ru=!1;Uv=Ru&&(!document.documentMode||9<document.documentMode)}function dm(){ys&&(ys.detachEvent("onpropertychange",Vv),zs=ys=null)}function Vv(t){if(t.propertyName==="value"&&Hc(zs)){var e=[];Hv(e,zs,t,dh(t)),Sv(yS,e)}}function xS(t,e,n){t==="focusin"?(dm(),ys=e,zs=n,ys.attachEvent("onpropertychange",Vv)):t==="focusout"&&dm()}function bS(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Hc(zs)}function wS(t,e){if(t==="click")return Hc(e)}function kS(t,e){if(t==="input"||t==="change")return Hc(e)}function SS(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Ln=typeof Object.is=="function"?Object.is:SS;function $s(t,e){if(Ln(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!xf.call(e,i)||!Ln(t[i],e[i]))return!1}return!0}function hm(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function pm(t,e){var n=hm(t);t=0;for(var r;n;){if(n.nodeType===3){if(r=t+n.textContent.length,t<=e&&r>=e)return{node:n,offset:e-t};t=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=hm(n)}}function Wv(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Wv(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Kv(){for(var t=window,e=Bl();e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=Bl(t.document)}return e}function wh(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function _S(t){var e=Kv(),n=t.focusedElem,r=t.selectionRange;if(e!==n&&n&&n.ownerDocument&&Wv(n.ownerDocument.documentElement,n)){if(r!==null&&wh(n)){if(e=r.start,t=r.end,t===void 0&&(t=e),"selectionStart"in n)n.selectionStart=e,n.selectionEnd=Math.min(t,n.value.length);else if(t=(e=n.ownerDocument||document)&&e.defaultView||window,t.getSelection){t=t.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!t.extend&&o>r&&(i=r,r=o,o=i),i=pm(n,o);var s=pm(n,r);i&&s&&(t.rangeCount!==1||t.anchorNode!==i.node||t.anchorOffset!==i.offset||t.focusNode!==s.node||t.focusOffset!==s.offset)&&(e=e.createRange(),e.setStart(i.node,i.offset),t.removeAllRanges(),o>r?(t.addRange(e),t.extend(s.node,s.offset)):(e.setEnd(s.node,s.offset),t.addRange(e)))}}for(e=[],t=n;t=t.parentNode;)t.nodeType===1&&e.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<e.length;n++)t=e[n],t.element.scrollLeft=t.left,t.element.scrollTop=t.top}}var CS=ir&&"documentMode"in document&&11>=document.documentMode,Xi=null,Ff=null,vs=null,zf=!1;function mm(t,e,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;zf||Xi==null||Xi!==Bl(r)||(r=Xi,"selectionStart"in r&&wh(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 4,501 bytes, line 37
37sNode:r.focusNode,focusOffset:r.focusOffset}),vs&&$s(vs,r)||(vs=r,r=ql(Ff,"onSelect"),0<r.length&&(e=new vh("onSelect","select",null,e,n),t.push({event:e,listeners:r}),e.target=Xi)))}function Fa(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var Qi={animationend:Fa("Animation","AnimationEnd"),animationiteration:Fa("Animation","AnimationIteration"),animationstart:Fa("Animation","AnimationStart"),transitionend:Fa("Transition","TransitionEnd")},Mu={},Yv={};ir&&(Yv=document.createElement("div").style,"AnimationEvent"in window||(delete Qi.animationend.animation,delete Qi.animationiteration.animation,delete Qi.animationstart.animation),"TransitionEvent"in window||delete Qi.transitionend.transition);function Uc(t){if(Mu[t])return Mu[t];if(!Qi[t])return t;var e=Qi[t],n;for(n in e)if(e.hasOwnProperty(n)&&n in Yv)return Mu[t]=e[n];return t}var qv=Uc("animationend"),Gv=Uc("animationiteration"),Xv=Uc("animationstart"),Qv=Uc("transitionend"),Jv=new Map,gm="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Kr(t,e){Jv.set(t,e),Li(e,[t])}for(var Du=0;Du<gm.length;Du++){var Iu=gm[Du],ES=Iu.toLowerCase(),PS=Iu[0].toUpperCase()+Iu.slice(1);Kr(ES,"on"+PS)}Kr(qv,"onAnimationEnd");Kr(Gv,"onAnimationIteration");Kr(Xv,"onAnimationStart");Kr("dblclick","onDoubleClick");Kr("focusin","onFocus");Kr("focusout","onBlur");Kr(Qv,"onTransitionEnd");xo("onMouseEnter",["mouseout","mouseover"]);xo("onMouseLeave",["mouseout","mouseover"]);xo("onPointerEnter",["pointerout","pointerover"]);xo("onPointerLeave",["pointerout","pointerover"]);Li("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Li("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Li("onBeforeInput",["compositionend","keypress","textInput","paste"]);Li("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Li("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Li("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var as="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),AS=new Set("cancel close invalid load scroll toggle".split(" ").concat(as));function ym(t,e,n){var r=t.type||"unknown-event";t.currentTarget=n,Ek(r,e,void 0,t),t.currentTarget=null}function Zv(t,e){e=(e&4)!==0;for(var n=0;n<t.length;n++){var r=t[n],i=r.event;r=r.listeners;e:{var o=void 0;if(e)for(var s=r.length-1;0<=s;s--){var a=r[s],l=a.instance,c=a.currentTarget;if(a=a.listener,l!==o&&i.isPropagationStopped())break e;ym(i,a,c),o=l}else for(s=0;s<r.length;s++){if(a=r[s],l=a.instance,c=a.currentTarget,a=a.listener,l!==o&&i.isPropagationStopped())break e;ym(i,a,c),o=l}}}if(Ul)throw t=Mf,Ul=!1,Mf=null,t}function Me(t,e){var n=e[Vf];n===void 0&&(n=e[Vf]=new Set);var r=t+"__bubble";n.has(r)||(e1(e,t,2,!1),n.add(r))}function ju(t,e,n){var r=0;e&&(r|=4),e1(n,t,r,e)}var za="_reactListening"+Math.random().toString(36).slice(2);function Bs(t){if(!t[za]){t[za]=!0,av.forEach(function(n){n!=="selectionchange"&&(AS.has(n)||ju(n,!1,t),ju(n,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[za]||(e[za]=!0,ju("selectionchange",!1,e))}}function e1(t,e,n,r){switch(jv(e)){case 1:var i=Hk;break;case 4:i=Uk;break;default:i=gh}n=i.bind(null,e,n,t),i=void 0,!Nf||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(i=!0),r?i!==void 0?t.addEventListener(e,n,{capture:!0,passive:i}):t.addEventListener(e,n,!0):i!==void 0?t.addEventListener(e,n,{passive:i}):t.addEventListener(e,n,!1)}function Fu(t,e,n,r,i){var o=r;if(!(e&1)&&!(e&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var a=r.stateNode.containerInfo;
vendor: 5,316 bytes, lines 37-38
37if(a===i||a.nodeType===8&&a.parentNode===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&(l=s.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;s=s.return}for(;a!==null;){if(s=si(a),s===null)return;if(l=s.tag,l===5||l===6){r=o=s;continue e}a=a.parentNode}}r=r.return}Sv(function(){var c=o,u=dh(n),f=[];e:{var d=Jv.get(t);if(d!==void 0){var p=vh,h=t;switch(t){case"keypress":if(_l(n)===0)break e;case"keydown":case"keyup":p=iS;break;case"focusin":h="focus",p=Lu;break;case"focusout":h="blur",p=Lu;break;case"beforeblur":case"afterblur":p=Lu;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=om;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=Kk;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=aS;break;case qv:case Gv:case Xv:p=Gk;break;case Qv:p=cS;break;case"scroll":p=Vk;break;case"wheel":p=fS;break;case"copy":case"cut":case"paste":p=Qk;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=am}var m=(e&4)!==0,w=!m&&t==="scroll",g=m?d!==null?d+"Capture":null:d;m=[];for(var y=c,v;y!==null;){v=y;var _=v.stateNode;if(v.tag===5&&_!==null&&(v=_,g!==null&&(_=Ds(y,g),_!=null&&m.push(Hs(y,_,v)))),w)break;y=y.return}0<m.length&&(d=new p(d,h,null,n,u),f.push({event:d,listeners:m}))}}if(!(e&7)){e:{if(d=t==="mouseover"||t==="pointerover",p=t==="mouseout"||t==="pointerout",d&&n!==Lf&&(h=n.relatedTarget||n.fromElement)&&(si(h)||h[or]))break e;if((p||d)&&(d=u.window===u?u:(d=u.ownerDocument)?d.defaultView||d.parentWindow:window,p?(h=n.relatedTarget||n.toElement,p=c,h=h?si(h):null,h!==null&&(w=Ri(h),h!==w||h.tag!==5&&h.tag!==6)&&(h=null)):(p=null,h=c),p!==h)){if(m=om,_="onMouseLeave",g="onMouseEnter",y="mouse",(t==="pointerout"||t==="pointerover")&&(m=am,_="onPointerLeave",g="onPointerEnter",y="pointer"),w=p==null?d:Ji(p),v=h==null?d:Ji(h),d=new m(_,y+"leave",p,n,u),d.target=w,d.relatedTarget=v,_=null,si(u)===c&&(m=new m(g,y+"enter",h,n,u),m.target=v,m.relatedTarget=w,_=m),w=_,p&&h)t:{for(m=p,g=h,y=0,v=m;v;v=zi(v))y++;for(v=0,_=g;_;_=zi(_))v++;for(;0<y-v;)m=zi(m),y--;for(;0<v-y;)g=zi(g),v--;for(;y--;){if(m===g||g!==null&&m===g.alternate)break t;m=zi(m),g=zi(g)}m=null}else m=null;p!==null&&vm(f,d,p,m,!1),h!==null&&w!==null&&vm(f,w,h,m,!0)}}e:{if(d=c?Ji(c):window,p=d.nodeName&&d.nodeName.toLowerCase(),p==="select"||p==="input"&&d.type==="file")var C=vS;else if(um(d))if(Uv)C=kS;else{C=bS;var P=xS}else(p=d.nodeName)&&p.toLowerCase()==="input"&&(d.type==="checkbox"||d.type==="radio")&&(C=wS);if(C&&(C=C(t,c))){Hv(f,C,n,u);break e}P&&P(t,d,c),t==="focusout"&&(P=d._wrapperState)&&P.controlled&&d.type==="number"&&Ef(d,"number",d.value)}switch(P=c?Ji(c):window,t){case"focusin":(um(P)||P.contentEditable==="true")&&(Xi=P,Ff=c,vs=null);break;case"focusout":vs=Ff=Xi=null;break;case"mousedown":zf=!0;break;case"contextmenu":case"mouseup":case"dragend":zf=!1,mm(f,n,u);break;case"selectionchange":if(CS)break;case"keydown":case"keyup":mm(f,n,u)}var b;if(bh)e:{switch(t){case"compositionstart":var x="onCompositionStart";break e;case"compositionend":x="onCompositionEnd";break e;case"compositionupdate":x="onCompositionUpdate";break e}x=void 0}else Gi?$v(t,n)&&(x="onCompositionEnd"):t==="keydown"&&n.keyCode===229&&(x="onCompositionStart");x&&(zv&&n.locale!=="ko"&&(Gi||x!=="onCompositionStart"?x==="onCompositionEnd"&&Gi&&(b=Fv()):(_r=u,yh="value"in _r?_r.value:_r.textContent,Gi=!0)),P=ql(c,x),0<P.length&&(x=new sm(x,t,null,n,u),f.push({event:x,listeners:P}),b?x.data=b:(b=Bv(n),b!==null&&(x.data=b)))),(b=hS?pS(t,n):mS(t,n))&&(c=ql(c,"onBeforeInput"),0<c.length&&(u=new sm("onBeforeInput","beforeinput",null,n,u),f.push({event:u,listeners:c}),u.data=b))}Zv(f,e)})}function Hs(t,e,n){return{instance:t,listener:e,currentTarget:n}}function ql(t,e){for(var n=e+"Capture",r=[];t!==null;){var i=t,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=Ds(t,n),o!=null&&r.unshift(Hs(t,o,i)),o=Ds(t,e),o!=null&&r.push(Hs(t,o,i))),t=t.return}return r}function zi(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5);return t||null}function vm(t,e,n,r,i){for(var o=e._reactName,s=[];n!==null&&n!==r;){var a=n,l=a.alternate,c=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&c!==null&&(a=c,i?(l=Ds(n,o),l!=null&&s.unshift(Hs(n,l,a))):i||(l=Ds(n,o),l!=null&&s.push(Hs(n,l,a)))),n=n.return}s.length!==0&&t.push({event:e,listeners:s})}var TS=/\r\n?/g,OS=/\u0000|\uFFFD/g;function xm(t){return(typeof t=="string"?t:""+t).replace(TS,`
38`).replace(OS,"")}function $a(t,e,n){if(e=xm(e),xm(t)!==e&&n)throw Error(B(425))}function Gl(){}var $f=null,Bf=null;function Hf(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var Uf=typeof setTimeout=="function"?setTimeout:void 0,LS=typeof clearTimeout=="function"?clearTimeout:void 0,bm=typeof Promise=="function"?Promise:void 0,RS=typeof queueMicrotask=="function"?queueMicrotask:typeof bm<"u"?function(t){return bm.resolve(null).then(t).cat
vendor: 4,793 bytes, line 38
38ch(NS)}:Uf;function NS(t){setTimeout(function(){throw t})}function zu(t,e){var n=e,r=0;do{var i=n.nextSibling;if(t.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){t.removeChild(i),Fs(e);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Fs(e)}function Nr(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?")break;if(e==="/$")return null}}return t}function wm(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="$"||n==="$!"||n==="$?"){if(e===0)return t;e--}else n==="/$"&&e++}t=t.previousSibling}return null}var No=Math.random().toString(36).slice(2),Un="__reactFiber$"+No,Us="__reactProps$"+No,or="__reactContainer$"+No,Vf="__reactEvents$"+No,MS="__reactListeners$"+No,DS="__reactHandles$"+No;function si(t){var e=t[Un];if(e)return e;for(var n=t.parentNode;n;){if(e=n[or]||n[Un]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=wm(t);t!==null;){if(n=t[Un])return n;t=wm(t)}return e}t=n,n=t.parentNode}return null}function pa(t){return t=t[Un]||t[or],!t||t.tag!==5&&t.tag!==6&&t.tag!==13&&t.tag!==3?null:t}function Ji(t){if(t.tag===5||t.tag===6)return t.stateNode;throw Error(B(33))}function Vc(t){return t[Us]||null}var Wf=[],Zi=-1;function Yr(t){return{current:t}}function je(t){0>Zi||(t.current=Wf[Zi],Wf[Zi]=null,Zi--)}function Re(t,e){Zi++,Wf[Zi]=t.current,t.current=e}var Br={},kt=Yr(Br),Ht=Yr(!1),bi=Br;function bo(t,e){var n=t.type.contextTypes;if(!n)return Br;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=e[o];return r&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=i),i}function Ut(t){return t=t.childContextTypes,t!=null}function Xl(){je(Ht),je(kt)}function km(t,e,n){if(kt.current!==Br)throw Error(B(168));Re(kt,e),Re(Ht,n)}function t1(t,e,n){var r=t.stateNode;if(e=e.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in e))throw Error(B(108,xk(t)||"Unknown",i));return Ye({},n,r)}function Ql(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||Br,bi=kt.current,Re(kt,t),Re(Ht,Ht.current),!0}function Sm(t,e,n){var r=t.stateNode;if(!r)throw Error(B(169));n?(t=t1(t,e,bi),r.__reactInternalMemoizedMergedChildContext=t,je(Ht),je(kt),Re(kt,t)):je(Ht),Re(Ht,n)}var Jn=null,Wc=!1,$u=!1;function n1(t){Jn===null?Jn=[t]:Jn.push(t)}function IS(t){Wc=!0,n1(t)}function qr(){if(!$u&&Jn!==null){$u=!0;var t=0,e=Ae;try{var n=Jn;for(Ae=1;t<n.length;t++){var r=n[t];do r=r(!0);while(r!==null)}Jn=null,Wc=!1}catch(i){throw Jn!==null&&(Jn=Jn.slice(t+1)),Pv(hh,qr),i}finally{Ae=e,$u=!1}}return null}var eo=[],to=0,Jl=null,Zl=0,cn=[],un=0,wi=null,er=1,tr="";function ni(t,e){eo[to++]=Zl,eo[to++]=Jl,Jl=t,Zl=e}function r1(t,e,n){cn[un++]=er,cn[un++]=tr,cn[un++]=wi,wi=t;var r=er;t=tr;var i=32-An(r)-1;r&=~(1<<i),n+=1;var o=32-An(e)+i;if(30<o){var s=i-i%5;o=(r&(1<<s)-1).toString(32),r>>=s,i-=s,er=1<<32-An(e)+i|n<<i|r,tr=o+t}else er=1<<o|n<<i|r,tr=t}function kh(t){t.return!==null&&(ni(t,1),r1(t,1,0))}function Sh(t){for(;t===Jl;)Jl=eo[--to],eo[to]=null,Zl=eo[--to],eo[to]=null;for(;t===wi;)wi=cn[--un],cn[un]=null,tr=cn[--un],cn[un]=null,er=cn[--un],cn[un]=null}var Zt=null,Xt=null,He=!1,En=null;function i1(t,e){var n=dn(5,null,null,0);n.elementType="DELETED",n.stateNode=e,n.return=t,e=t.deletions,e===null?(t.deletions=[n],t.flags|=16):e.push(n)}function _m(t,e){switch(t.tag){case 5:var n=t.type;return e=e.nodeType!==1||n.toLowerCase()!==e.nodeName.toLowerCase()?null:e,e!==null?(t.stateNode=e,Zt=t,Xt=Nr(e.firstChild),!0):!1;case 6:return e=t.pendingProps===""||e.nodeType!==3?null:e,e!==null?(t.stateNode=e,Zt=t,Xt=null,!0):!1;case 13:return e=e.nodeType!==8?null:e,e!==null?(n=wi!==null?{id:er,overflow:tr}:null,t.memoizedState={dehydrated:e,treeContext:n,retryLane:1073741824},n=dn(18,null,null,0),n.stateNode=e,n.return=t,t.child=n,Zt=t,Xt=null,!0):!1;default:return!1}}function Kf(t){return(t.mode&1)!==0&&(t.flags&128)===0}function Yf(t){if(He){var e=Xt;if(e){var n=e;if(!_m(t,e)){if(Kf(t))throw Error(B(418));e=Nr(n.nextSibling);var r=Zt;e&&_m(t,e)?i1(r,n):(t.flags=t.flags&-4097|2,He=!1,Zt=t)}}else{if(Kf(t))throw Error(B(418));t.flags=t.flags&-4097|2,He=!1,Zt=t}}}function Cm(t){for(t=t.return;t!==null&&t.tag!==5&&t.tag!==3&&t.tag!==13;)t=t.return;Zt=t}function Ba(t){if(t!==Zt)return!1;if(!He)return Cm(t),He=!0,!1;var e;if((e=t.tag!==3)&&!(e=t.tag!==5)&&(e=t.type,e=e!=="head"&&e!=="body"&&!Hf(t.type,t.memoizedProps)),e&&(e=Xt)){if(Kf(t))throw o1(),Error(B(418));for(;e;)i1(t,e),e=Nr(e.nextSibling)}if(Cm(t),t.tag===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(B(317)
vendor: 3,840 bytes, line 38
38);e:{for(t=t.nextSibling,e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="/$"){if(e===0){Xt=Nr(t.nextSibling);break e}e--}else n!=="$"&&n!=="$!"&&n!=="$?"||e++}t=t.nextSibling}Xt=null}}else Xt=Zt?Nr(t.stateNode.nextSibling):null;return!0}function o1(){for(var t=Xt;t;)t=Nr(t.nextSibling)}function wo(){Xt=Zt=null,He=!1}function _h(t){En===null?En=[t]:En.push(t)}var jS=dr.ReactCurrentBatchConfig;function Wo(t,e,n){if(t=n.ref,t!==null&&typeof t!="function"&&typeof t!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(B(309));var r=n.stateNode}if(!r)throw Error(B(147,t));var i=r,o=""+t;return e!==null&&e.ref!==null&&typeof e.ref=="function"&&e.ref._stringRef===o?e.ref:(e=function(s){var a=i.refs;s===null?delete a[o]:a[o]=s},e._stringRef=o,e)}if(typeof t!="string")throw Error(B(284));if(!n._owner)throw Error(B(290,t))}return t}function Ha(t,e){throw t=Object.prototype.toString.call(e),Error(B(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t))}function Em(t){var e=t._init;return e(t._payload)}function s1(t){function e(g,y){if(t){var v=g.deletions;v===null?(g.deletions=[y],g.flags|=16):v.push(y)}}function n(g,y){if(!t)return null;for(;y!==null;)e(g,y),y=y.sibling;return null}function r(g,y){for(g=new Map;y!==null;)y.key!==null?g.set(y.key,y):g.set(y.index,y),y=y.sibling;return g}function i(g,y){return g=jr(g,y),g.index=0,g.sibling=null,g}function o(g,y,v){return g.index=v,t?(v=g.alternate,v!==null?(v=v.index,v<y?(g.flags|=2,y):v):(g.flags|=2,y)):(g.flags|=1048576,y)}function s(g){return t&&g.alternate===null&&(g.flags|=2),g}function a(g,y,v,_){return y===null||y.tag!==6?(y=Yu(v,g.mode,_),y.return=g,y):(y=i(y,v),y.return=g,y)}function l(g,y,v,_){var C=v.type;return C===qi?u(g,y,v.props.children,_,v.key):y!==null&&(y.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===br&&Em(C)===y.type)?(_=i(y,v.props),_.ref=Wo(g,y,v),_.return=g,_):(_=Ll(v.type,v.key,v.props,null,g.mode,_),_.ref=Wo(g,y,v),_.return=g,_)}function c(g,y,v,_){return y===null||y.tag!==4||y.stateNode.containerInfo!==v.containerInfo||y.stateNode.implementation!==v.implementation?(y=qu(v,g.mode,_),y.return=g,y):(y=i(y,v.children||[]),y.return=g,y)}function u(g,y,v,_,C){return y===null||y.tag!==7?(y=mi(v,g.mode,_,C),y.return=g,y):(y=i(y,v),y.return=g,y)}function f(g,y,v){if(typeof y=="string"&&y!==""||typeof y=="number")return y=Yu(""+y,g.mode,v),y.return=g,y;if(typeof y=="object"&&y!==null){switch(y.$$typeof){case La:return v=Ll(y.type,y.key,y.props,null,g.mode,v),v.ref=Wo(g,null,y),v.return=g,v;case Yi:return y=qu(y,g.mode,v),y.return=g,y;case br:var _=y._init;return f(g,_(y._payload),v)}if(os(y)||$o(y))return y=mi(y,g.mode,v,null),y.return=g,y;Ha(g,y)}return null}function d(g,y,v,_){var C=y!==null?y.key:null;if(typeof v=="string"&&v!==""||typeof v=="number")return C!==null?null:a(g,y,""+v,_);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case La:return v.key===C?l(g,y,v,_):null;case Yi:return v.key===C?c(g,y,v,_):null;case br:return C=v._init,d(g,y,C(v._payload),_)}if(os(v)||$o(v))return C!==null?null:u(g,y,v,_,null);Ha(g,v)}return null}function p(g,y,v,_,C){if(typeof _=="string"&&_!==""||typeof _=="number")return g=g.get(v)||null,a(y,g,""+_,C);if(typeof _=="object"&&_!==null){switch(_.$$typeof){case La:return g=g.get(_.key===null?v:_.key)||null,l(y,g,_,C);case Yi:return g=g.get(_.key===null?v:_.key)||null,c(y,g,_,C);case br:var P=_._init;return p(g,y,v,P(_._payload),C)}if(os(_)||$o(_))return g=g.get(v)||null,u(y,g,_,C,null);Ha(y,_)}return null}function h(g,y,v,_){for(var C=null,P=null,b=y,x=y=0,k=null;b!==null&&x<v.length;x++){b.index>x?(k=b,b=null):k=b.sibling;var E=d(g,b,v[x],_);if(E===null){b===null&&(b=k);break}t&&b&&E.alternate===null&&e(g,b),y=o(E,y,x),P===null?C=E:P.sibling=E,P=E,b=k}if(x===v.length)return n(g,b),He&&ni(g,x),C;if(b===null){for(;x<v.length;
vendor: 2,263 bytes, line 38
38x++)b=f(g,v[x],_),b!==null&&(y=o(b,y,x),P===null?C=b:P.sibling=b,P=b);return He&&ni(g,x),C}for(b=r(g,b);x<v.length;x++)k=p(b,g,x,v[x],_),k!==null&&(t&&k.alternate!==null&&b.delete(k.key===null?x:k.key),y=o(k,y,x),P===null?C=k:P.sibling=k,P=k);return t&&b.forEach(function(O){return e(g,O)}),He&&ni(g,x),C}function m(g,y,v,_){var C=$o(v);if(typeof C!="function")throw Error(B(150));if(v=C.call(v),v==null)throw Error(B(151));for(var P=C=null,b=y,x=y=0,k=null,E=v.next();b!==null&&!E.done;x++,E=v.next()){b.index>x?(k=b,b=null):k=b.sibling;var O=d(g,b,E.value,_);if(O===null){b===null&&(b=k);break}t&&b&&O.alternate===null&&e(g,b),y=o(O,y,x),P===null?C=O:P.sibling=O,P=O,b=k}if(E.done)return n(g,b),He&&ni(g,x),C;if(b===null){for(;!E.done;x++,E=v.next())E=f(g,E.value,_),E!==null&&(y=o(E,y,x),P===null?C=E:P.sibling=E,P=E);return He&&ni(g,x),C}for(b=r(g,b);!E.done;x++,E=v.next())E=p(b,g,x,E.value,_),E!==null&&(t&&E.alternate!==null&&b.delete(E.key===null?x:E.key),y=o(E,y,x),P===null?C=E:P.sibling=E,P=E);return t&&b.forEach(function(R){return e(g,R)}),He&&ni(g,x),C}function w(g,y,v,_){if(typeof v=="object"&&v!==null&&v.type===qi&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case La:e:{for(var C=v.key,P=y;P!==null;){if(P.key===C){if(C=v.type,C===qi){if(P.tag===7){n(g,P.sibling),y=i(P,v.props.children),y.return=g,g=y;break e}}else if(P.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===br&&Em(C)===P.type){n(g,P.sibling),y=i(P,v.props),y.ref=Wo(g,P,v),y.return=g,g=y;break e}n(g,P);break}else e(g,P);P=P.sibling}v.type===qi?(y=mi(v.props.children,g.mode,_,v.key),y.return=g,g=y):(_=Ll(v.type,v.key,v.props,null,g.mode,_),_.ref=Wo(g,y,v),_.return=g,g=_)}return s(g);case Yi:e:{for(P=v.key;y!==null;){if(y.key===P)if(y.tag===4&&y.stateNode.containerInfo===v.containerInfo&&y.stateNode.implementation===v.implementation){n(g,y.sibling),y=i(y,v.children||[]),y.return=g,g=y;break e}else{n(g,y);break}else e(g,y);y=y.sibling}y=qu(v,g.mode,_),y.return=g,g=y}return s(g);case br:return P=v._init,w(g,y,P(v._payload),_)}if(os(v))return h(g,y,v,_);if($o(v))return m(g,y,v,_);Ha(g,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,y!==null&&y.tag===6?(n(g,y.sibling),y=i(y,v),y.return=g,g=y):(n(g,y),y=Yu
vendor: 4,207 bytes, line 38
38(v,g.mode,_),y.return=g,g=y),s(g)):n(g,y)}return w}var ko=s1(!0),a1=s1(!1),ec=Yr(null),tc=null,no=null,Ch=null;function Eh(){Ch=no=tc=null}function Ph(t){var e=ec.current;je(ec),t._currentValue=e}function qf(t,e,n){for(;t!==null;){var r=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,r!==null&&(r.childLanes|=e)):r!==null&&(r.childLanes&e)!==e&&(r.childLanes|=e),t===n)break;t=t.return}}function po(t,e){tc=t,Ch=no=null,t=t.dependencies,t!==null&&t.firstContext!==null&&(t.lanes&e&&(Bt=!0),t.firstContext=null)}function vn(t){var e=t._currentValue;if(Ch!==t)if(t={context:t,memoizedValue:e,next:null},no===null){if(tc===null)throw Error(B(308));no=t,tc.dependencies={lanes:0,firstContext:t}}else no=no.next=t;return e}var ai=null;function Ah(t){ai===null?ai=[t]:ai.push(t)}function l1(t,e,n,r){var i=e.interleaved;return i===null?(n.next=n,Ah(e)):(n.next=i.next,i.next=n),e.interleaved=n,sr(t,r)}function sr(t,e){t.lanes|=e;var n=t.alternate;for(n!==null&&(n.lanes|=e),n=t,t=t.return;t!==null;)t.childLanes|=e,n=t.alternate,n!==null&&(n.childLanes|=e),n=t,t=t.return;return n.tag===3?n.stateNode:null}var wr=!1;function Th(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function c1(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function rr(t,e){return{eventTime:t,lane:e,tag:0,payload:null,callback:null,next:null}}function Mr(t,e,n){var r=t.updateQueue;if(r===null)return null;if(r=r.shared,we&2){var i=r.pending;return i===null?e.next=e:(e.next=i.next,i.next=e),r.pending=e,sr(t,n)}return i=r.interleaved,i===null?(e.next=e,Ah(r)):(e.next=i.next,i.next=e),r.interleaved=e,sr(t,n)}function Cl(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194240)!==0)){var r=e.lanes;r&=t.pendingLanes,n|=r,e.lanes=n,ph(t,n)}}function Pm(t,e){var n=t.updateQueue,r=t.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=e:o=o.next=e}else i=o=e;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}function nc(t,e,n,r){var i=t.updateQueue;wr=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var l=a,c=l.next;l.next=null,s===null?o=c:s.next=c,s=l;var u=t.alternate;u!==null&&(u=u.updateQueue,a=u.lastBaseUpdate,a!==s&&(a===null?u.firstBaseUpdate=c:a.next=c,u.lastBaseUpdate=l))}if(o!==null){var f=i.baseState;s=0,u=c=l=null,a=o;do{var d=a.lane,p=a.eventTime;if((r&d)===d){u!==null&&(u=u.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var h=t,m=a;switch(d=e,p=n,m.tag){case 1:if(h=m.payload,typeof h=="function"){f=h.call(p,f,d);break e}f=h;break e;case 3:h.flags=h.flags&-65537|128;case 0:if(h=m.payload,d=typeof h=="function"?h.call(p,f,d):h,d==null)break e;f=Ye({},f,d);break e;case 2:wr=!0}}a.callback!==null&&a.lane!==0&&(t.flags|=64,d=i.effects,d===null?i.effects=[a]:d.push(a))}else p={eventTime:p,lane:d,tag:a.tag,payload:a.payload,callback:a.callback,next:null},u===null?(c=u=p,l=f):u=u.next=p,s|=d;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;d=a,a=d.next,d.next=null,i.lastBaseUpdate=d,i.shared.pending=null}}while(!0);if(u===null&&(l=f),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=u,e=i.shared.interleaved,e!==null){i=e;do s|=i.lane,i=i.next;while(i!==e)}else o===null&&(i.shared.lanes=0);Si|=s,t.lanes=s,t.memoizedState=f}}function Am(t,e,n){if(t=e.effects,e.effects=null,t!==null)for(e=0;e<t.length;e++){var r=t[e],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(B(191,i));i.call(r)}}}var ma={},Yn=Yr(ma),Vs=Yr(ma),Ws=Yr(ma);function li(t){if(t===ma)throw Error(B(174));return t}function Oh(t,e){switch(Re(Ws,e),Re(Vs,t),Re(Yn,ma),t=e.nodeType,t){case 9:case 11:e=(e
vendor: 9,504 bytes, line 38
38=e.documentElement)?e.namespaceURI:Af(null,"");break;default:t=t===8?e.parentNode:e,e=t.namespaceURI||null,t=t.tagName,e=Af(e,t)}je(Yn),Re(Yn,e)}function So(){je(Yn),je(Vs),je(Ws)}function u1(t){li(Ws.current);var e=li(Yn.current),n=Af(e,t.type);e!==n&&(Re(Vs,t),Re(Yn,n))}function Lh(t){Vs.current===t&&(je(Yn),je(Vs))}var We=Yr(0);function rc(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if(e.flags&128)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var Bu=[];function Rh(){for(var t=0;t<Bu.length;t++)Bu[t]._workInProgressVersionPrimary=null;Bu.length=0}var El=dr.ReactCurrentDispatcher,Hu=dr.ReactCurrentBatchConfig,ki=0,Ke=null,rt=null,lt=null,ic=!1,xs=!1,Ks=0,FS=0;function vt(){throw Error(B(321))}function Nh(t,e){if(e===null)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!Ln(t[n],e[n]))return!1;return!0}function Mh(t,e,n,r,i,o){if(ki=o,Ke=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,El.current=t===null||t.memoizedState===null?HS:US,t=n(r,i),xs){o=0;do{if(xs=!1,Ks=0,25<=o)throw Error(B(301));o+=1,lt=rt=null,e.updateQueue=null,El.current=VS,t=n(r,i)}while(xs)}if(El.current=oc,e=rt!==null&&rt.next!==null,ki=0,lt=rt=Ke=null,ic=!1,e)throw Error(B(300));return t}function Dh(){var t=Ks!==0;return Ks=0,t}function $n(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return lt===null?Ke.memoizedState=lt=t:lt=lt.next=t,lt}function xn(){if(rt===null){var t=Ke.alternate;t=t!==null?t.memoizedState:null}else t=rt.next;var e=lt===null?Ke.memoizedState:lt.next;if(e!==null)lt=e,rt=t;else{if(t===null)throw Error(B(310));rt=t,t={memoizedState:rt.memoizedState,baseState:rt.baseState,baseQueue:rt.baseQueue,queue:rt.queue,next:null},lt===null?Ke.memoizedState=lt=t:lt=lt.next=t}return lt}function Ys(t,e){return typeof e=="function"?e(t):e}function Uu(t){var e=xn(),n=e.queue;if(n===null)throw Error(B(311));n.lastRenderedReducer=t;var r=rt,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var a=s=null,l=null,c=o;do{var u=c.lane;if((ki&u)===u)l!==null&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:t(r,c.action);else{var f={lane:u,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};l===null?(a=l=f,s=r):l=l.next=f,Ke.lanes|=u,Si|=u}c=c.next}while(c!==null&&c!==o);l===null?s=r:l.next=a,Ln(r,e.memoizedState)||(Bt=!0),e.memoizedState=r,e.baseState=s,e.baseQueue=l,n.lastRenderedState=r}if(t=n.interleaved,t!==null){i=t;do o=i.lane,Ke.lanes|=o,Si|=o,i=i.next;while(i!==t)}else i===null&&(n.lanes=0);return[e.memoizedState,n.dispatch]}function Vu(t){var e=xn(),n=e.queue;if(n===null)throw Error(B(311));n.lastRenderedReducer=t;var r=n.dispatch,i=n.pending,o=e.memoizedState;if(i!==null){n.pending=null;var s=i=i.next;do o=t(o,s.action),s=s.next;while(s!==i);Ln(o,e.memoizedState)||(Bt=!0),e.memoizedState=o,e.baseQueue===null&&(e.baseState=o),n.lastRenderedState=o}return[o,r]}function f1(){}function d1(t,e){var n=Ke,r=xn(),i=e(),o=!Ln(r.memoizedState,i);if(o&&(r.memoizedState=i,Bt=!0),r=r.queue,Ih(m1.bind(null,n,r,t),[t]),r.getSnapshot!==e||o||lt!==null&&lt.memoizedState.tag&1){if(n.flags|=2048,qs(9,p1.bind(null,n,r,i,e),void 0,null),ut===null)throw Error(B(349));ki&30||h1(n,e,i)}return i}function h1(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},e=Ke.updateQueue,e===null?(e={lastEffect:null,stores:null},Ke.updateQueue=e,e.stores=[t]):(n=e.stores,n===null?e.stores=[t]:n.push(t))}function p1(t,e,n,r){e.value=n,e.getSnapshot=r,g1(e)&&y1(t)}function m1(t,e,n){return n(function(){g1(e)&&y1(t)})}function g1(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!Ln(t,n)}catch{return!0}}function y1(t){var e=sr(t,1);e!==null&&Tn(e,t,1,-1)}function Tm(t){var e=$n();return typeof t=="function"&&(t=t()),e.memoizedState=e.baseState=t,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ys,lastRenderedState:t},e.queue=t,t=t.dispatch=BS.bind(null,Ke,t),[e.memoizedState,t]}function qs(t,e,n,r){return t={tag:t,create:e,destroy:n,deps:r,next:null},e=Ke.updateQueue,e===null?(e={lastEffect:null,stores:null},Ke.updateQueue=e,e.lastEffect=t.next=t):(n=e.lastEffect,n===null?e.lastEffect=t.next=t:(r=n.next,n.next=t,t.next=r,e.lastEffect=t)),t}function v1(){return xn().memoizedState}function Pl(t,e,n,r){var i=$n();Ke.flags|=t,i.memoizedState=qs(1|e,n,void 0,r===void 0?null:r)}function Kc(t,e,n,r){var i=xn();r=r===void 0?null:r;var o=void 0;if(rt!==null){var s=rt.memoizedState;if(o=s.destroy,r!==null&&Nh(r,s.deps)){i.memoizedState=qs(e,n,o,r);return}}Ke.flags|=t,i.memoizedState=qs(1|e,n,o,r)}function Om(t,e){return Pl(8390656,8,t,e)}function Ih(t,e){return Kc(2048,8,t,e)}function x1(t,e){return Kc(4,2,t,e)}function b1(t,e){return Kc(4,4,t,e)}function w1(t,e){if(typeof e=="function")return t=t(),e(t),function(){e(null)};if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function k1(t,e,n){return n=n!=null?n.concat([t]):null,Kc(4,4,w1.bind(null,e,t),n)}function jh(){}function S1(t,e){var n=xn();e=e===void 0?null:e;var r=n.memoizedState;return r!==null&&e!==null&&Nh(e,r[1])?r[0]:(n.memoizedState=[t,e],t)}function _1(t,e){var n=xn();e=e===void 0?null:e;var r=n.memoizedState;return r!==null&&e!==null&&Nh(e,r[1])?r[0]:(t=t(),n.memoizedState=[t,e],t)}function C1(t,e,n){return ki&21?(Ln(n,e)||(n=Ov(),Ke.lanes|=n,Si|=n,t.baseState=!0),e):(t.baseState&&(t.baseState=!1,Bt=!0),t.memoizedState=n)}function zS(t,e){var n=Ae;Ae=n!==0&&4>n?n:4,t(!0);var r=Hu.transition;Hu.transition={};try{t(!1),e()}finally{Ae=n,Hu.transition=r}}function E1(){return xn().memoizedState}function $S(t,e,n){var r=Ir(t);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},P1(t))A1(e,n);else if(n=l1(t,e,n,r),n!==null){var i=Rt();Tn(n,t,r,i),T1(n,e,r)}}function BS(t,e,n){var r=Ir(t),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(P1(t))A1(e,i);else{var o=t.alternate;if(t.lanes===0&&(o===null||o.lanes===0)&&(o=e.lastRenderedReducer,o!==null))try{var s=e.lastRenderedState,a=o(s,n);if(i.hasEagerState=!0,i.eagerState=a,Ln(a,s)){var l=e.interleaved;l===null?(i.next=i,Ah(e)):(i.next=l.next,l.next=i),e.interleaved=i;return}}catch{}finally{}n=l1(t,e,i,r),n!==null&&(i=Rt(),Tn(n,t,r,i),T1(n,e,r))}}function P1(t){var e=t.alternate;return t===Ke||e!==null&&e===Ke}function A1(t,e){xs=ic=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function T1(t,e,n){if(n&4194240){var r=e.lanes;r&=t.pendingLanes,n|=r,e.lanes=n,ph(t,n)}}var oc={readContext:vn,useCallback:vt,useContext:vt,useEffect:vt,useImperativeHandle:vt,useInsertionEffect:vt,useLayoutEffect:vt,useMemo:vt,useReducer:vt,useRef:vt,useState:vt,useDebugValue:vt,useDeferredValue:vt,useTransition:vt,useMutableSource:vt,useSyncExternalStore:vt,useId:vt,unstable_isNewReconciler:!1},HS={readContext:vn,useCallback:function(t,e){return $n().memoizedState=[t,e===void 0?null:e],t},useContext:vn,useEffect:Om,useImperativeHandle:function(t,e,n){return n=n!=null?n.concat([t]):null,Pl(4194308,4,w1.bind(null,e,t),n)},useLayoutEffect:function(t,e){return Pl(4194308,4,t,e)},useInsertionEffect:function(t,e){return Pl(4,2,t,e)},useMemo:function(t,e){var n=$n();return e=e===void 0?null:e,t=t(),n.memoizedState=[t,e],t},useReducer:function(t,e,n){var r=$n();return e=n!==void 0?n(e):e,r.memoizedState=r.baseState=e,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:e},r.queue=t,t=t.dispatch=$S.bind(null,Ke,t),[r.memoizedState,t]},useRef:function(t){var e=$n();return t={current:t},e.memoizedState=t},useState:Tm,useDebugValue:jh,useDeferredValue:function(t){return $n().memoizedState=t},useTransition:function(){var t=Tm(!1),e=t[0];return t=zS.bind(null,t[1]),$n().memoizedState=t,[e,t]},useMutableSource:function(){},useSyncExternalStore:function(t,e,n){var r=Ke,i=$n();if(He){if(n===void 0)throw Error(B(407));n=n()}else{if(n=e(),ut===null)throw Error(B(349));ki&30||h1(r,e,n)}i.memoizedState=n;var o={value:n,getSnapshot:e};return i.queue=o,Om(m1.bind(null,r,o,t),[t]),r.flags|=2048,qs(9,p1.bind(null,r,o,n,e),void 0,null),n},useId:function(){var t=$n(),e=ut.identifierPrefix;if(He){var n=tr,r=er;n=(r&~(1<<32-An(r)-1)).toString(32)+n,e=":"+e+"R"+n,n=Ks++,0<n&&(e+="H"+n.toString(32)),e+=":"}else n=FS++,e=":"+e+"r"+n.toString(32)+":";return t.memoizedState=e},unstable_isNewReconciler:!1},US={readContext:vn,useCallback:S1,useContext:vn,useEffect:Ih,useImperativeHandle:k1,useInsertionEffect:x1,useLayoutEffect:b1,useMemo:_1,useReducer:Uu,useRef:v1,useState:function(){return Uu(Ys)},useDebugValue:jh,useDeferredValue:function(t){var e=xn();return C1(e,rt.memoizedState,t)},useTransition:function(){var t=Uu(Ys)[0],e=xn().memoizedState;return[t,e]},useMutableSource:f1,useSyncExternalStore:d1,useId:E1,unstable_isNewReconciler:!1},VS={readContext:vn,useCallback:S1,useContext:vn,useEffect:Ih,useImperativeHandle:k1,useInsertionEffect:x1,useLayoutEffect:b1,useMemo:_1,useReducer:Vu,useRef:v1,useState:function(){return Vu(Ys)},useDebugValue:jh,useDeferredValue:function(t){var e=xn();return rt===null?e.memoizedState=t:C1(e,rt.memoizedState,t)}
vendor: 5,813 bytes, lines 38-40
38,useTransition:function(){var t=Vu(Ys)[0],e=xn().memoizedState;return[t,e]},useMutableSource:f1,useSyncExternalStore:d1,useId:E1,unstable_isNewReconciler:!1};function kn(t,e){if(t&&t.defaultProps){e=Ye({},e),t=t.defaultProps;for(var n in t)e[n]===void 0&&(e[n]=t[n]);return e}return e}function Gf(t,e,n,r){e=t.memoizedState,n=n(r,e),n=n==null?e:Ye({},e,n),t.memoizedState=n,t.lanes===0&&(t.updateQueue.baseState=n)}var Yc={isMounted:function(t){return(t=t._reactInternals)?Ri(t)===t:!1},enqueueSetState:function(t,e,n){t=t._reactInternals;var r=Rt(),i=Ir(t),o=rr(r,i);o.payload=e,n!=null&&(o.callback=n),e=Mr(t,o,i),e!==null&&(Tn(e,t,i,r),Cl(e,t,i))},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var r=Rt(),i=Ir(t),o=rr(r,i);o.tag=1,o.payload=e,n!=null&&(o.callback=n),e=Mr(t,o,i),e!==null&&(Tn(e,t,i,r),Cl(e,t,i))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=Rt(),r=Ir(t),i=rr(n,r);i.tag=2,e!=null&&(i.callback=e),e=Mr(t,i,r),e!==null&&(Tn(e,t,r,n),Cl(e,t,r))}};function Lm(t,e,n,r,i,o,s){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(r,o,s):e.prototype&&e.prototype.isPureReactComponent?!$s(n,r)||!$s(i,o):!0}function O1(t,e,n){var r=!1,i=Br,o=e.contextType;return typeof o=="object"&&o!==null?o=vn(o):(i=Ut(e)?bi:kt.current,r=e.contextTypes,o=(r=r!=null)?bo(t,i):Br),e=new e(n,o),t.memoizedState=e.state!==null&&e.state!==void 0?e.state:null,e.updater=Yc,t.stateNode=e,e._reactInternals=t,r&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=i,t.__reactInternalMemoizedMaskedChildContext=o),e}function Rm(t,e,n,r){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(n,r),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(n,r),e.state!==t&&Yc.enqueueReplaceState(e,e.state,null)}function Xf(t,e,n,r){var i=t.stateNode;i.props=n,i.state=t.memoizedState,i.refs={},Th(t);var o=e.contextType;typeof o=="object"&&o!==null?i.context=vn(o):(o=Ut(e)?bi:kt.current,i.context=bo(t,o)),i.state=t.memoizedState,o=e.getDerivedStateFromProps,typeof o=="function"&&(Gf(t,e,o,n),i.state=t.memoizedState),typeof e.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(e=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),e!==i.state&&Yc.enqueueReplaceState(i,i.state,null),nc(t,n,i,r),i.state=t.memoizedState),typeof i.componentDidMount=="function"&&(t.flags|=4194308)}function _o(t,e){try{var n="",r=e;do n+=vk(r),r=r.return;while(r);var i=n}catch(o){i=`
39Error generating stack: `+o.message+`
40`+o.stack}return{value:t,source:e,stack:i,digest:null}}function Wu(t,e,n){return{value:t,source:null,stack:n??null,digest:e??null}}function Qf(t,e){try{console.error(e.value)}catch(n){setTimeout(function(){throw n})}}var WS=typeof WeakMap=="function"?WeakMap:Map;function L1(t,e,n){n=rr(-1,n),n.tag=3,n.payload={element:null};var r=e.value;return n.callback=function(){ac||(ac=!0,ad=r),Qf(t,e)},n}function R1(t,e,n){n=rr(-1,n),n.tag=3;var r=t.type.getDerivedStateFromError;if(typeof r=="function"){var i=e.value;n.payload=function(){return r(i)},n.callback=function(){Qf(t,e)}}var o=t.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Qf(t,e),typeof r!="function"&&(Dr===null?Dr=new Set([this]):Dr.add(this));var s=e.stack;this.componentDidCatch(e.value,{componentStack:s!==null?s:""})}),n}function Nm(t,e,n){var r=t.pingCache;if(r===null){r=t.pingCache=new WS;var i=new Set;r.set(e,i)}else i=r.get(e),i===void 0&&(i=new Set,r.set(e,i));i.has(n)||(i.add(n),t=o2.bind(null,t,e,n),e.then(t,t))}function Mm(t){do{var e;if((e=t.tag===13)&&(e=t.memoizedState,e=e!==null?e.dehydrated!==null:!0),e)return t;t=t.return}while(t!==null);return null}function Dm(t,e,n,r,i){return t.mode&1?(t.flags|=65536,t.lanes=i,t):(t===e?t.flags|=65536:(t.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(e=rr(-1,1),e.tag=2,Mr(n,e,1))),n.lanes|=1),t)}var KS=dr.ReactCurrentOwner,Bt=!1;function Ot(t,e,n,r){e.child=t===null?a1(e,null,n,r):ko(e,t.child,n,r)}function Im(t,e,n,r,i){n=n.render;var o=e.ref;return po(e,i),r=Mh(t,e,n,r,o,i),n=Dh(),t!==null&&!Bt?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~i,ar(t,e,i)):(He&&n&&kh(e),e.flags|=1,Ot(t,e,r,i),e.child)}function jm(t,e,n,r,i){if(t===null){var o=n.type;return typeof o=="function"&&!Wh(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(e.tag=15,e.type=o,N1(t,e,o,r,i)):(t=Ll(n.type,null,r,e,e.mode,i),t.ref=e.ref,t.return=e,e.child=t)}if(o=t.child,!(t.lanes&i)){var s=o.memoizedProps;if(n=n.compare,n=n!==null?n:$s,n(s,r)&&t.ref===e.ref)return ar(t,e,i)}return e.flags|=1,t=jr(o,r),t.ref=e.ref,t.return=e,e.child=t}function N1(t,e,n,r,i){if(t!==null){var o=t.memoizedProps;if($s(o,r)&&t.ref===e.ref)if(Bt=!1,e.pendingProps=r=o,(t.lanes&i)!==0)t.flags&131072&&(Bt=!0);else return e.lanes=t.lanes,ar(t,e,i)}return Jf(t,e,n,r,i)}function M1(t,e,n){var r=e.pendingProps,i=r.children,o=t!==null?t.memoizedState:null;if(r.mode==="hidden")if(!(e.mode&1))e.memoizedState={baseLanes:0,cachePool:null,transitions:null},Re(io,Gt),Gt|=n;else{if(!(n&1073741824))return t=o!==null?o.baseLanes|n:n,e.lanes=e.childLanes=1073741824,e.memoizedState={baseLanes:t,cachePool:null,transitions:null},e.updateQueue=null,Re(io,Gt),Gt|=t,null;e.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,Re(io,Gt),Gt|=r}else o!==null?(r=o.baseLanes|n,e.memoizedState=null):r=n,Re(io,Gt),Gt|=r;return Ot(t,e,i,n),e.child}function D1(t,e){var n=e.ref;(t===null&&n!==null||t!==null&&t.ref!==n)&&(e.flags|=512,e.flags|=2097152)}
vendor: 5,298 bytes, line 40
40function Jf(t,e,n,r,i){var o=Ut(n)?bi:kt.current;return o=bo(e,o),po(e,i),n=Mh(t,e,n,r,o,i),r=Dh(),t!==null&&!Bt?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~i,ar(t,e,i)):(He&&r&&kh(e),e.flags|=1,Ot(t,e,n,i),e.child)}function Fm(t,e,n,r,i){if(Ut(n)){var o=!0;Ql(e)}else o=!1;if(po(e,i),e.stateNode===null)Al(t,e),O1(e,n,r),Xf(e,n,r,i),r=!0;else if(t===null){var s=e.stateNode,a=e.memoizedProps;s.props=a;var l=s.context,c=n.contextType;typeof c=="object"&&c!==null?c=vn(c):(c=Ut(n)?bi:kt.current,c=bo(e,c));var u=n.getDerivedStateFromProps,f=typeof u=="function"||typeof s.getSnapshotBeforeUpdate=="function";f||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||l!==c)&&Rm(e,s,r,c),wr=!1;var d=e.memoizedState;s.state=d,nc(e,r,s,i),l=e.memoizedState,a!==r||d!==l||Ht.current||wr?(typeof u=="function"&&(Gf(e,n,u,r),l=e.memoizedState),(a=wr||Lm(e,n,a,r,d,l,c))?(f||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(e.flags|=4194308)):(typeof s.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=r,e.memoizedState=l),s.props=r,s.state=l,s.context=c,r=a):(typeof s.componentDidMount=="function"&&(e.flags|=4194308),r=!1)}else{s=e.stateNode,c1(t,e),a=e.memoizedProps,c=e.type===e.elementType?a:kn(e.type,a),s.props=c,f=e.pendingProps,d=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=vn(l):(l=Ut(n)?bi:kt.current,l=bo(e,l));var p=n.getDerivedStateFromProps;(u=typeof p=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==f||d!==l)&&Rm(e,s,r,l),wr=!1,d=e.memoizedState,s.state=d,nc(e,r,s,i);var h=e.memoizedState;a!==f||d!==h||Ht.current||wr?(typeof p=="function"&&(Gf(e,n,p,r),h=e.memoizedState),(c=wr||Lm(e,n,c,r,d,h,l)||!1)?(u||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,h,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,h,l)),typeof s.componentDidUpdate=="function"&&(e.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===t.memoizedProps&&d===t.memoizedState||(e.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===t.memoizedProps&&d===t.memoizedState||(e.flags|=1024),e.memoizedProps=r,e.memoizedState=h),s.props=r,s.state=h,s.context=l,r=c):(typeof s.componentDidUpdate!="function"||a===t.memoizedProps&&d===t.memoizedState||(e.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===t.memoizedProps&&d===t.memoizedState||(e.flags|=1024),r=!1)}return Zf(t,e,n,r,o,i)}function Zf(t,e,n,r,i,o){D1(t,e);var s=(e.flags&128)!==0;if(!r&&!s)return i&&Sm(e,n,!1),ar(t,e,o);r=e.stateNode,KS.current=e;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return e.flags|=1,t!==null&&s?(e.child=ko(e,t.child,null,o),e.child=ko(e,null,a,o)):Ot(t,e,a,o),e.memoizedState=r.state,i&&Sm(e,n,!0),e.child}function I1(t){var e=t.stateNode;e.pendingContext?km(t,e.pendingContext,e.pendingContext!==e.context):e.context&&km(t,e.context,!1),Oh(t,e.containerInfo)}function zm(t,e,n,r,i){return wo(),_h(i),e.flags|=256,Ot(t,e,n,r),e.child}var ed={dehydrated:null,treeContext:null,retryLane:0};function td(t){return{baseLanes:t,cachePool:null,transitions:null}}function j1(t,e,n){var r=e.pendingProps,i=We.current,o=!1,s=(e.flags&128)!==0,a;if((a=s)||(a=t!==null&&t.memoizedState===null?!1:(i&2)!==0),a?(o=!0,e.flags&=-129):(t===null||t.memoizedState!==null)&&(i|=1),Re(We,i&1),t===null)return Yf(e),t=e.memoizedState,t!==null&&(t=t.dehydrated,t!==null)?(e.mode&1?t.data==="$!"?e.lanes=8:e.lanes=1073741824:e.lanes=1,null):(s=r.children,t=r.fallback,o?(r=e.mode,o=e.child,s={mode:"hidden",children:s},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=s):o=Xc(s,r,0,null),t=mi(t,r,n,null),o.return=e,t.return=e,o.sibling=t,e.child=o,e.child.memoizedState=td(n),e.memoizedState=ed,t):Fh(e,s));if(i=t.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return YS(t,e,s,r,a,i,n);if(o){o=r.fallback,s=e.mode,i=t.child,a=i.sibling;var l={mode:"hidden",children:r.children};return!(s&1)&&e.child!==i?(r=e.child,r.childLanes=0,r.pendingProps=l,e.deletions=null):(r=jr(i,l),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?o=jr(a,o):(o=mi(o,s,n,null),o.flags|=2),o.return=e,r.return=e,r.sibling=o,e.child=r,r=o,o=e.child,s=t.child.memoizedState,s=s===null?td(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=t.childLanes&~n,e.memoizedState=ed,r}return o=t.child,t=o.sibling,r=jr(o,{mode:"visible",children:r.children}),!(e.mode&1)&&(r.lanes=n),r.return=e,r.sibling=null,t!==null&&(n=e.deletions,n===null?(e.deletions=[t],e.flags|=16):n.push(t)),e.child=r,e.memoizedState=null,r}function Fh(t,e){return e=Xc({mode:"visible",children:e},t.mode,0,null),e.return=t,t.child=e}function Ua(t,e,n,r){return r!==null&&_h(r),ko(e,t.child,null,n),t=Fh(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}
vendor: 7,626 bytes, line 40
40function YS(t,e,n,r,i,o,s){if(n)return e.flags&256?(e.flags&=-257,r=Wu(Error(B(422))),Ua(t,e,s,r)):e.memoizedState!==null?(e.child=t.child,e.flags|=128,null):(o=r.fallback,i=e.mode,r=Xc({mode:"visible",children:r.children},i,0,null),o=mi(o,i,s,null),o.flags|=2,r.return=e,o.return=e,r.sibling=o,e.child=r,e.mode&1&&ko(e,t.child,null,s),e.child.memoizedState=td(s),e.memoizedState=ed,o);if(!(e.mode&1))return Ua(t,e,s,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,o=Error(B(419)),r=Wu(o,r,void 0),Ua(t,e,s,r)}if(a=(s&t.childLanes)!==0,Bt||a){if(r=ut,r!==null){switch(s&-s){case 4:i=2;break;case 16:i=8;break;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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|s)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,sr(t,i),Tn(r,t,i,-1))}return Vh(),r=Wu(Error(B(421))),Ua(t,e,s,r)}return i.data==="$?"?(e.flags|=128,e.child=t.child,e=s2.bind(null,t),i._reactRetry=e,null):(t=o.treeContext,Xt=Nr(i.nextSibling),Zt=e,He=!0,En=null,t!==null&&(cn[un++]=er,cn[un++]=tr,cn[un++]=wi,er=t.id,tr=t.overflow,wi=e),e=Fh(e,r.children),e.flags|=4096,e)}function $m(t,e,n){t.lanes|=e;var r=t.alternate;r!==null&&(r.lanes|=e),qf(t.return,e,n)}function Ku(t,e,n,r,i){var o=t.memoizedState;o===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=e,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function F1(t,e,n){var r=e.pendingProps,i=r.revealOrder,o=r.tail;if(Ot(t,e,r.children,n),r=We.current,r&2)r=r&1|2,e.flags|=128;else{if(t!==null&&t.flags&128)e:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&$m(t,n,e);else if(t.tag===19)$m(t,n,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}r&=1}if(Re(We,r),!(e.mode&1))e.memoizedState=null;else switch(i){case"forwards":for(n=e.child,i=null;n!==null;)t=n.alternate,t!==null&&rc(t)===null&&(i=n),n=n.sibling;n=i,n===null?(i=e.child,e.child=null):(i=n.sibling,n.sibling=null),Ku(e,!1,i,n,o);break;case"backwards":for(n=null,i=e.child,e.child=null;i!==null;){if(t=i.alternate,t!==null&&rc(t)===null){e.child=i;break}t=i.sibling,i.sibling=n,n=i,i=t}Ku(e,!0,n,null,o);break;case"together":Ku(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function Al(t,e){!(e.mode&1)&&t!==null&&(t.alternate=null,e.alternate=null,e.flags|=2)}function ar(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),Si|=e.lanes,!(n&e.childLanes))return null;if(t!==null&&e.child!==t.child)throw Error(B(153));if(e.child!==null){for(t=e.child,n=jr(t,t.pendingProps),e.child=n,n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=jr(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function qS(t,e,n){switch(e.tag){case 3:I1(e),wo();break;case 5:u1(e);break;case 1:Ut(e.type)&&Ql(e);break;case 4:Oh(e,e.stateNode.containerInfo);break;case 10:var r=e.type._context,i=e.memoizedProps.value;Re(ec,r._currentValue),r._currentValue=i;break;case 13:if(r=e.memoizedState,r!==null)return r.dehydrated!==null?(Re(We,We.current&1),e.flags|=128,null):n&e.child.childLanes?j1(t,e,n):(Re(We,We.current&1),t=ar(t,e,n),t!==null?t.sibling:null);Re(We,We.current&1);break;case 19:if(r=(n&e.childLanes)!==0,t.flags&128){if(r)return F1(t,e,n);e.flags|=128}if(i=e.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Re(We,We.current),r)break;return null;case 22:case 23:return e.lanes=0,M1(t,e,n)}return ar(t,e,n)}var z1,nd,$1,B1;z1=function(t,e){for(var n=e.child;n!==null;){if(n.tag===5||n.tag===6)t.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};nd=function(){};$1=function(t,e,n,r){var i=t.memoizedProps;if(i!==r){t=e.stateNode,li(Yn.current);var o=null;switch(n){case"input":i=_f(t,i),r=_f(t,r),o=[];break;case"select":i=Ye({},i,{value:void 0}),r=Ye({},r,{value:void 0}),o=[];break;case"textarea":i=Pf(t,i),r=Pf(t,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(t.onclick=Gl)}Tf(n,r);var s;n=null;for(c in i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&i[c]!=null)if(c==="style"){var a=i[c];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(Ns.hasOwnProperty(c)?o||(o=[]):(o=o||[]).push(c,null));for(c in r){var l=r[c];if(a=i!=null?i[c]:void 0,r.hasOwnProperty(c)&&l!==a&&(l!=null||a!=null))if(c==="style")if(a){for(s in a)!a.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in l)l.hasOwnProperty(s)&&a[s]!==l[s]&&(n||(n={}),n[s]=l[s])}else n||(o||(o=[]),o.push(c,n)),n=l;else c==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(o=o||[]).push(c,l)):c==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(c,""+l):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(Ns.hasOwnProperty(c)?(l!=null&&c==="onScroll"&&Me("scroll",t),o||a===l||(o=[])):(o=o||[]).push(c,l))}n&&(o=o||[]).push("style",n);var c=o;(e.updateQueue=c)&&(e.flags|=4)}};B1=function(t,e,n,r){n!==r&&(e.flags|=4)};function Ko(t,e){if(!He)switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;e!==null;)e.alternate!==null&&(n=e),e=e.sibling;n===null?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:r.sibling=null}}function xt(t){var e=t.alternate!==null&&t.alternate.child===t.child,n=0,r=0;if(e)for(var i=t.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=t,i=i.sibling;else for(i=t.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=t,i=i.sibling;return t.subtreeFlags|=r,t.childLanes=n,e}function GS(t,e,n){var r=e.pendingProps;switch(Sh(e),e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return xt(e),null;case 1:return Ut(e.type)&&Xl(),xt(e),null;case 3:return r=e.stateNode,So(),je(Ht),je(kt),Rh(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(t===null||t.child===null)&&(Ba(e)?e.flags|=4:t===null||t.memoizedState.isDehydrated&&!(e.flags&256)||(e.flags|=1024,En!==null&&(ud(En),En=null))),nd(t,e),xt(e),null;case 5:Lh(e);var i=li(Ws.current);if(n=e.type,t!==null&&e.stateNode!=null)$1(t,e,n,r,i),t.ref!==e.ref&&(e.flags|=512,e.flags|=2097152);else{if(!r){if(e.stateNode===null)throw Error(B(166));return xt(e),null}if(t=li(Yn.current),Ba(e)){r=e.stateNode,n=e.type;var o=e.memoizedProps;switch(r[Un]=e,r[Us]=o,t=(e.mode&1)!==0,n){case"dialog":Me("cancel",r),Me("close",r);break;case"iframe":case"object":case"embed":Me("load",r);break;case"video":case"audio":for(i=0;i<as.length;i++)Me(as[i],r);break;case"source":Me("error",r);break;case"img":case"image":case"link":Me("error",r),Me("load",r);break;case"details":Me("toggle",r);break;case"input":Gp(r,o),Me("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},Me("invalid",r);break;case"textarea":Qp(r,o),Me("invalid",r)}Tf(n,o),i=null;for(var s in o)if(o.hasOwnProperty(s)){var a=o[s];
vendor: 30,121 bytes, line 40
40s==="children"?typeof a=="string"?r.textContent!==a&&(o.suppressHydrationWarning!==!0&&$a(r.textContent,a,t),i=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(o.suppressHydrationWarning!==!0&&$a(r.textContent,a,t),i=["children",""+a]):Ns.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&Me("scroll",r)}switch(n){case"input":Ra(r),Xp(r,o,!0);break;case"textarea":Ra(r),Jp(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=Gl)}r=i,e.updateQueue=r,r!==null&&(e.flags|=4)}else{s=i.nodeType===9?i:i.ownerDocument,t==="http://www.w3.org/1999/xhtml"&&(t=mv(n)),t==="http://www.w3.org/1999/xhtml"?n==="script"?(t=s.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):typeof r.is=="string"?t=s.createElement(n,{is:r.is}):(t=s.createElement(n),n==="select"&&(s=t,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):t=s.createElementNS(t,n),t[Un]=e,t[Us]=r,z1(t,e,!1,!1),e.stateNode=t;e:{switch(s=Of(n,r),n){case"dialog":Me("cancel",t),Me("close",t),i=r;break;case"iframe":case"object":case"embed":Me("load",t),i=r;break;case"video":case"audio":for(i=0;i<as.length;i++)Me(as[i],t);i=r;break;case"source":Me("error",t),i=r;break;case"img":case"image":case"link":Me("error",t),Me("load",t),i=r;break;case"details":Me("toggle",t),i=r;break;case"input":Gp(t,r),i=_f(t,r),Me("invalid",t);break;case"option":i=r;break;case"select":t._wrapperState={wasMultiple:!!r.multiple},i=Ye({},r,{value:void 0}),Me("invalid",t);break;case"textarea":Qp(t,r),i=Pf(t,r),Me("invalid",t);break;default:i=r}Tf(n,i),a=i;for(o in a)if(a.hasOwnProperty(o)){var l=a[o];o==="style"?vv(t,l):o==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&gv(t,l)):o==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&Ms(t,l):typeof l=="number"&&Ms(t,""+l):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Ns.hasOwnProperty(o)?l!=null&&o==="onScroll"&&Me("scroll",t):l!=null&&lh(t,o,l,s))}switch(n){case"input":Ra(t),Xp(t,r,!1);break;case"textarea":Ra(t),Jp(t);break;case"option":r.value!=null&&t.setAttribute("value",""+$r(r.value));break;case"select":t.multiple=!!r.multiple,o=r.value,o!=null?co(t,!!r.multiple,o,!1):r.defaultValue!=null&&co(t,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(t.onclick=Gl)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(e.flags|=4)}e.ref!==null&&(e.flags|=512,e.flags|=2097152)}return xt(e),null;case 6:if(t&&e.stateNode!=null)B1(t,e,t.memoizedProps,r);else{if(typeof r!="string"&&e.stateNode===null)throw Error(B(166));if(n=li(Ws.current),li(Yn.current),Ba(e)){if(r=e.stateNode,n=e.memoizedProps,r[Un]=e,(o=r.nodeValue!==n)&&(t=Zt,t!==null))switch(t.tag){case 3:$a(r.nodeValue,n,(t.mode&1)!==0);break;case 5:t.memoizedProps.suppressHydrationWarning!==!0&&$a(r.nodeValue,n,(t.mode&1)!==0)}o&&(e.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Un]=e,e.stateNode=r}return xt(e),null;case 13:if(je(We),r=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(He&&Xt!==null&&e.mode&1&&!(e.flags&128))o1(),wo(),e.flags|=98560,o=!1;else if(o=Ba(e),r!==null&&r.dehydrated!==null){if(t===null){if(!o)throw Error(B(318));if(o=e.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(B(317));o[Un]=e}else wo(),!(e.flags&128)&&(e.memoizedState=null),e.flags|=4;xt(e),o=!1}else En!==null&&(ud(En),En=null),o=!0;if(!o)return e.flags&65536?e:null}return e.flags&128?(e.lanes=n,e):(r=r!==null,r!==(t!==null&&t.memoizedState!==null)&&r&&(e.child.flags|=8192,e.mode&1&&(t===null||We.current&1?it===0&&(it=3):Vh())),e.updateQueue!==null&&(e.flags|=4),xt(e),null);case 4:return So(),nd(t,e),t===null&&Bs(e.stateNode.containerInfo),xt(e),null;case 10:return Ph(e.type._context),xt(e),null;case 17:return Ut(e.type)&&Xl(),xt(e),null;case 19:if(je(We),o=e.memoizedState,o===null)return xt(e),null;if(r=(e.flags&128)!==0,s=o.rendering,s===null)if(r)Ko(o,!1);else{if(it!==0||t!==null&&t.flags&128)for(t=e.child;t!==null;){if(s=rc(t),s!==null){for(e.flags|=128,Ko(o,!1),r=s.updateQueue,r!==null&&(e.updateQueue=r,e.flags|=4),e.subtreeFlags=0,r=n,n=e.child;n!==null;)o=n,t=r,o.flags&=14680066,s=o.alternate,s===null?(o.childLanes=0,o.lanes=t,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=s.childLanes,o.lanes=s.lanes,o.child=s.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=s.memoizedProps,o.memoizedState=s.memoizedState,o.updateQueue=s.updateQueue,o.type=s.type,t=s.dependencies,o.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),n=n.sibling;return Re(We,We.current&1|2),e.child}t=t.sibling}o.tail!==null&&Je()>Co&&(e.flags|=128,r=!0,Ko(o,!1),e.lanes=4194304)}else{if(!r)if(t=rc(s),t!==null){if(e.flags|=128,r=!0,n=t.updateQueue,n!==null&&(e.updateQueue=n,e.flags|=4),Ko(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!He)return xt(e),null}else 2*Je()-o.renderingStartTime>Co&&n!==1073741824&&(e.flags|=128,r=!0,Ko(o,!1),e.lanes=4194304);o.isBackwards?(s.sibling=e.child,e.child=s):(n=o.last,n!==null?n.sibling=s:e.child=s,o.last=s)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=Je(),e.sibling=null,n=We.current,Re(We,r?n&1|2:n&1),e):(xt(e),null);case 22:case 23:return Uh(),r=e.memoizedState!==null,t!==null&&t.memoizedState!==null!==r&&(e.flags|=8192),r&&e.mode&1?Gt&1073741824&&(xt(e),e.subtreeFlags&6&&(e.flags|=8192)):xt(e),null;case 24:return null;case 25:return null}throw Error(B(156,e.tag))}function XS(t,e){switch(Sh(e),e.tag){case 1:return Ut(e.type)&&Xl(),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return So(),je(Ht),je(kt),Rh(),t=e.flags,t&65536&&!(t&128)?(e.flags=t&-65537|128,e):null;case 5:return Lh(e),null;case 13:if(je(We),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(B(340));wo()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return je(We),null;case 4:return So(),null;case 10:return Ph(e.type._context),null;case 22:case 23:return Uh(),null;case 24:return null;default:return null}}var Va=!1,wt=!1,QS=typeof WeakSet=="function"?WeakSet:Set,q=null;function ro(t,e){var n=t.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){qe(t,e,r)}else n.current=null}function rd(t,e,n){try{n()}catch(r){qe(t,e,r)}}var Bm=!1;function JS(t,e){if($f=Kl,t=Kv(),wh(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else e:{n=(n=t.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,a=-1,l=-1,c=0,u=0,f=t,d=null;t:for(;;){for(var p;f!==n||i!==0&&f.nodeType!==3||(a=s+i),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(p=f.firstChild)!==null;)d=f,f=p;for(;;){if(f===t)break t;if(d===n&&++c===i&&(a=s),d===o&&++u===r&&(l=s),(p=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=p}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Bf={focusedElem:t,selectionRange:n},Kl=!1,q=e;q!==null;)if(e=q,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,q=t;else for(;q!==null;){e=q;try{var h=e.alternate;if(e.flags&1024)switch(e.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var m=h.memoizedProps,w=h.memoizedState,g=e.stateNode,y=g.getSnapshotBeforeUpdate(e.elementType===e.type?m:kn(e.type,m),w);g.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var v=e.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(B(163))}}catch(_){qe(e,e.return,_)}if(t=e.sibling,t!==null){t.return=e.return,q=t;break}q=e.return}return h=Bm,Bm=!1,h}function bs(t,e,n){var r=e.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&t)===t){var o=i.destroy;i.destroy=void 0,o!==void 0&&rd(e,n,o)}i=i.next}while(i!==r)}}function qc(t,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var n=e=e.next;do{if((n.tag&t)===t){var r=n.create;n.destroy=r()}n=n.next}while(n!==e)}}function id(t){var e=t.ref;if(e!==null){var n=t.stateNode;switch(t.tag){case 5:t=n;break;default:t=n}typeof e=="function"?e(t):e.current=t}}function H1(t){var e=t.alternate;e!==null&&(t.alternate=null,H1(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&(delete e[Un],delete e[Us],delete e[Vf],delete e[MS],delete e[DS])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function U1(t){return t.tag===5||t.tag===3||t.tag===4}function Hm(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||U1(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function od(t,e,n){var r=t.tag;if(r===5||r===6)t=t.stateNode,e?n.nodeType===8?n.parentNode.insertBefore(t,e):n.insertBefore(t,e):(n.nodeType===8?(e=n.parentNode,e.insertBefore(t,n)):(e=n,e.appendChild(t)),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=Gl));else if(r!==4&&(t=t.child,t!==null))for(od(t,e,n),t=t.sibling;t!==null;)od(t,e,n),t=t.sibling}function sd(t,e,n){var r=t.tag;if(r===5||r===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(r!==4&&(t=t.child,t!==null))for(sd(t,e,n),t=t.sibling;t!==null;)sd(t,e,n),t=t.sibling}var mt=null,Sn=!1;function mr(t,e,n){for(n=n.child;n!==null;)V1(t,e,n),n=n.sibling}function V1(t,e,n){if(Kn&&typeof Kn.onCommitFiberUnmount=="function")try{Kn.onCommitFiberUnmount($c,n)}catch{}switch(n.tag){case 5:wt||ro(n,e);case 6:var r=mt,i=Sn;mt=null,mr(t,e,n),mt=r,Sn=i,mt!==null&&(Sn?(t=mt,n=n.stateNode,t.nodeType===8?t.parentNode.removeChild(n):t.removeChild(n)):mt.removeChild(n.stateNode));break;case 18:mt!==null&&(Sn?(t=mt,n=n.stateNode,t.nodeType===8?zu(t.parentNode,n):t.nodeType===1&&zu(t,n),Fs(t)):zu(mt,n.stateNode));break;case 4:r=mt,i=Sn,mt=n.stateNode.containerInfo,Sn=!0,mr(t,e,n),mt=r,Sn=i;break;case 0:case 11:case 14:case 15:if(!wt&&(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)&&rd(n,e,s),i=i.next}while(i!==r)}mr(t,e,n);break;case 1:if(!wt&&(ro(n,e),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){qe(n,e,a)}mr(t,e,n);break;case 21:mr(t,e,n);break;case 22:n.mode&1?(wt=(r=wt)||n.memoizedState!==null,mr(t,e,n),wt=r):mr(t,e,n);break;default:mr(t,e,n)}}function Um(t){var e=t.updateQueue;if(e!==null){t.updateQueue=null;var n=t.stateNode;n===null&&(n=t.stateNode=new QS),e.forEach(function(r){var i=a2.bind(null,t,r);n.has(r)||(n.add(r),r.then(i,i))})}}function wn(t,e){var n=e.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=t,s=e,a=s;e:for(;a!==null;){switch(a.tag){case 5:mt=a.stateNode,Sn=!1;break e;case 3:mt=a.stateNode.containerInfo,Sn=!0;break e;case 4:mt=a.stateNode.containerInfo,Sn=!0;break e}a=a.return}if(mt===null)throw Error(B(160));V1(o,s,i),mt=null,Sn=!1;var l=i.alternate;l!==null&&(l.return=null),i.return=null}catch(c){qe(i,e,c)}}if(e.subtreeFlags&12854)for(e=e.child;e!==null;)W1(e,t),e=e.sibling}function W1(t,e){var n=t.alternate,r=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(wn(e,t),Fn(t),r&4){try{bs(3,t,t.return),qc(3,t)}catch(m){qe(t,t.return,m)}try{bs(5,t,t.return)}catch(m){qe(t,t.return,m)}}break;case 1:wn(e,t),Fn(t),r&512&&n!==null&&ro(n,n.return);break;case 5:if(wn(e,t),Fn(t),r&512&&n!==null&&ro(n,n.return),t.flags&32){var i=t.stateNode;try{Ms(i,"")}catch(m){qe(t,t.return,m)}}if(r&4&&(i=t.stateNode,i!=null)){var o=t.memoizedProps,s=n!==null?n.memoizedProps:o,a=t.type,l=t.updateQueue;if(t.updateQueue=null,l!==null)try{a==="input"&&o.type==="radio"&&o.name!=null&&hv(i,o),Of(a,s);var c=Of(a,o);for(s=0;s<l.length;s+=2){var u=l[s],f=l[s+1];u==="style"?vv(i,f):u==="dangerouslySetInnerHTML"?gv(i,f):u==="children"?Ms(i,f):lh(i,u,f,c)}switch(a){case"input":Cf(i,o);break;case"textarea":pv(i,o);break;case"select":var d=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var p=o.value;p!=null?co(i,!!o.multiple,p,!1):d!==!!o.multiple&&(o.defaultValue!=null?co(i,!!o.multiple,o.defaultValue,!0):co(i,!!o.multiple,o.multiple?[]:"",!1))}i[Us]=o}catch(m){qe(t,t.return,m)}}break;case 6:if(wn(e,t),Fn(t),r&4){if(t.stateNode===null)throw Error(B(162));i=t.stateNode,o=t.memoizedProps;try{i.nodeValue=o}catch(m){qe(t,t.return,m)}}break;case 3:if(wn(e,t),Fn(t),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Fs(e.containerInfo)}catch(m){qe(t,t.return,m)}break;case 4:wn(e,t),Fn(t);break;case 13:wn(e,t),Fn(t),i=t.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(Bh=Je())),r&4&&Um(t);break;case 22:if(u=n!==null&&n.memoizedState!==null,t.mode&1?(wt=(c=wt)||u,wn(e,t),wt=c):wn(e,t),Fn(t),r&8192){if(c=t.memoizedState!==null,(t.stateNode.isHidden=c)&&!u&&t.mode&1)for(q=t,u=t.child;u!==null;){for(f=q=u;q!==null;){switch(d=q,p=d.child,d.tag){case 0:case 11:case 14:case 15:bs(4,d,d.return);break;case 1:ro(d,d.return);var h=d.stateNode;if(typeof h.componentWillUnmount=="function"){r=d,n=d.return;try{e=r,h.props=e.memoizedProps,h.state=e.memoizedState,h.componentWillUnmount()}catch(m){qe(r,n,m)}}break;case 5:ro(d,d.return);break;case 22:if(d.memoizedState!==null){Wm(f);continue}}p!==null?(p.return=d,q=p):Wm(f)}u=u.sibling}e:for(u=null,f=t;;){if(f.tag===5){if(u===null){u=f;try{i=f.stateNode,c?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(a=f.stateNode,l=f.memoizedProps.style,s=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=yv("display",s))}catch(m){qe(t,t.return,m)}}}else if(f.tag===6){if(u===null)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(m){qe(t,t.return,m)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===t)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===t)break e;for(;f.sibling===null;){if(f.return===null||f.return===t)break e;u===f&&(u=null),f=f.return}u===f&&(u=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:wn(e,t),Fn(t),r&4&&Um(t);break;case 21:break;default:wn(e,t),Fn(t)}}function Fn(t){var e=t.flags;if(e&2){try{e:{for(var n=t.return;n!==null;){if(U1(n)){var r=n;break e}n=n.return}throw Error(B(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(Ms(i,""),r.flags&=-33);var o=Hm(t);sd(t,o,i);break;case 3:case 4:var s=r.stateNode.containerInfo,a=Hm(t);od(t,a,s);break;default:throw Error(B(161))}}catch(l){qe(t,t.return,l)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function ZS(t,e,n){q=t,K1(t)}function K1(t,e,n){for(var r=(t.mode&1)!==0;q!==null;){var i=q,o=i.child;if(i.tag===22&&r){var s=i.memoizedState!==null||Va;if(!s){var a=i.alternate,l=a!==null&&a.memoizedState!==null||wt;a=Va;var c=wt;if(Va=s,(wt=l)&&!c)for(q=i;q!==null;)s=q,l=s.child,s.tag===22&&s.memoizedState!==null?Km(i):l!==null?(l.return=s,q=l):Km(i);for(;o!==null;)q=o,K1(o),o=o.sibling;q=i,Va=a,wt=c}Vm(t)}else i.subtreeFlags&8772&&o!==null?(o.return=i,q=o):Vm(t)}}function Vm(t){for(;q!==null;){var e=q;if(e.flags&8772){var n=e.alternate;try{if(e.flags&8772)switch(e.tag){case 0:case 11:case 15:wt||qc(5,e);break;case 1:var r=e.stateNode;if(e.flags&4&&!wt)if(n===null)r.componentDidMount();else{var i=e.elementType===e.type?n.memoizedProps:kn(e.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=e.updateQueue;o!==null&&Am(e,o,r);break;case 3:var s=e.updateQueue;if(s!==null){if(n=null,e.child!==null)switch(e.child.tag){case 5:n=e.child.stateNode;break;case 1:n=e.child.stateNode}Am(e,s,n)}break;case 5:var a=e.stateNode;if(n===null&&e.flags&4){n=a;var l=e.memoizedProps;switch(e.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(e.memoizedState===null){var c=e.alternate;if(c!==null){var u=c.memoizedState;if(u!==null){var f=u.dehydrated;f!==null&&Fs(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(B(163))}wt||e.flags&512&&id(e)}catch(d){qe(e,e.return,d)}}if(e===t){q=null;break}if(n=e.sibling,n!==null){n.return=e.return,q=n;break}q=e.return}}function Wm(t){for(;q!==null;){var e=q;if(e===t){q=null;break}var n=e.sibling;if(n!==null){n.return=e.return,q=n;break}q=e.return}}function Km(t){for(;q!==null;){var e=q;try{switch(e.tag){case 0:case 11:case 15:var n=e.return;try{qc(4,e)}catch(l){qe(e,n,l)}break;case 1:var r=e.stateNode;if(typeof r.componentDidMount=="function"){var i=e.return;try{r.componentDidMount()}catch(l){qe(e,i,l)}}var o=e.return;try{id(e)}catch(l){qe(e,o,l)}break;case 5:var s=e.return;try{id(e)}catch(l){qe(e,s,l)}}}catch(l){qe(e,e.return,l)}if(e===t){q=null;break}var a=e.sibling;if(a!==null){a.return=e.return,q=a;break}q=e.return}}var e2=Math.ceil,sc=dr.ReactCurrentDispatcher,zh=dr.ReactCurrentOwner,mn=dr.ReactCurrentBatchConfig,we=0,ut=null,et=null,gt=0,Gt=0,io=Yr(0),it=0,Gs=null,Si=0,Gc=0,$h=0,ws=null,zt=null,Bh=0,Co=1/0,Qn=null,ac=!1,ad=null,Dr=null,Wa=!1,Cr=null,lc=0,ks=0,ld=null,Tl=-1,Ol=0;function Rt(){return we&6?Je():Tl!==-1?Tl:Tl=Je()}function Ir(t){return t.mode&1?we&2&&gt!==0?gt&-gt:jS.transition!==null?(Ol===0&&(Ol=Ov()),Ol):(t=Ae,t!==0||(t=window.event,t=t===void 0?16:jv(t.type)),t):1}function Tn(t,e,n,r){if(50<ks)throw ks=0,ld=null,Error(B(185));da(t,n,r),(!(we&2)||t!==ut)&&(t===ut&&(!(we&2)&&(Gc|=n),it===4&&Sr(t,gt)),Vt(t,r),n===1&&we===0&&!(e.mode&1)&&(Co=Je()+500,Wc&&qr()))}function Vt(t,e){var n=t.callbackNode;jk(t,e);var r=Wl(t,t===ut?gt:0);if(r===0)n!==null&&tm(n),t.callbackNode=null,t.callbackPriority=0;else if(e=r&-r,t.callbackPriority!==e){if(n!=null&&tm(n),e===1)t.tag===0?IS(Ym.bind(null,t)):n1(Ym.bind(null,t)),RS(function(){!(we&6)&&qr()}),n=null;else{switch(Lv(r)){case 1:n=hh;break;case 4:n=Av;break;case 16:n=Vl;break;case 536870912:n=Tv;break;default:n=Vl}n=ex(n,Y1.bind(null,t))}t.callbackPriority=e,t.callbackNode=n}}function Y1(t,e){if(Tl=-1,Ol=0,we&6)throw Error(B(327));var n=t.callbackNode;if(mo()&&t.callbackNode!==n)return null;var r=Wl(t,t===ut?gt:0);if(r===0)return null;if(r&30||r&t.expiredLanes||e)e=cc(t,r);else{e=r;var i=we;we|=2;var o=G1();(ut!==t||gt!==e)&&(Qn=null,Co=Je()+500,pi(t,e));do try{r2();break}catch(a){q1(t,a)}while(!0);Eh(),sc.current=o,we=i,et!==null?e=0:(ut=null,gt=0,e=it)}if(e!==0){if(e===2&&(i=Df(t),i!==0&&(r=i,e=cd(t,i))),e===1)throw n=Gs,pi(t,0),Sr(t,r),Vt(t,Je()),n;if(e===6)Sr(t,r);else{if(i=t.current.alternate,!(r&30)&&!t2(i)&&(e=cc(t,r),e===2&&(o=Df(t),o!==0&&(r=o,e=cd(t,o))),e===1))throw n=Gs,pi(t,0),Sr(t,r),Vt(t,Je()),n;switch(t.finishedWork=i,t.finishedLanes=r,e){case 0:case 1:throw Error(B(345));case 2:ri(t,zt,Qn);break;case 3:if(Sr(t,r),(r&130023424)===r&&(e=Bh+500-Je(),10<e)){if(Wl(t,0)!==0)break;if(i=t.suspendedLanes,(i&r)!==r){Rt(),t.pingedLanes|=t.suspendedLanes&i;break}t.timeoutHandle=Uf(ri.bind(null,t,zt,Qn),e);break}ri(t,zt,Qn);break;case 4:if(Sr(t,r),(r&4194240)===r)break;for(e=t.eventTimes,i=-1;0<r;){var s=31-An(r);o=1<<s,s=e[s],s>i&&(i=s),r&=~o}if(r=i,r=Je()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*e2(r/1960))-r,10<r){t.timeoutHandle=Uf(ri.bind(null,t,zt,Qn),r);break}ri(t,zt,Qn);break;case 5:ri(t,zt,Qn);break;default:throw Error(B(329))}}}return Vt(t,Je()),t.callbackNode===n?Y1.bind(null,t):null}function cd(t,e){var n=ws;return t.current.memoizedState.isDehydrated&&(pi(t,e).flags|=256),t=cc(t,e),t!==2&&(e=zt,zt=n,e!==null&&ud(e)),t}function ud(t){zt===null?zt=t:zt.push.apply(zt,t)}function t2(t){for(var e=t;;){if(e.flags&16384){var n=e.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!Ln(o(),i))return!1}catch{return!1}}}if(n=e.child,e.subtreeFlags&16384&&n!==null)n.return=e,e=n;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function Sr(t,e){for(e&=~$h,e&=~Gc,t.suspendedLanes|=e,t.pingedLanes&=~e,t=t.expirationTimes;0<e;){var n=31-An(e),r=1<<n;t[n]=-1,e&=~r}}function Ym(t){if(we&6)throw Error(B(327));mo();var e=Wl(t,0);if(!(e&1))return Vt(t,Je()),null;var n=cc(t,e);if(t.tag!==0&&n===2){var r=Df(t);r!==0&&(e=r,n=cd(t,r))}if(n===1)throw n=Gs,pi(t,0),Sr(t,e),Vt(t,Je()),n;if(n===6)throw Error(B(345));return t.finishedWork=t.current.alternate,t.finishedLanes=e,ri(t,zt,Qn),Vt(t,Je()),null}function Hh(t,e){var n=we;we|=1;try{return t(e)}finally{we=n,we===0&&(Co=Je()+500,Wc&&qr())}}function _i(t){Cr!==null&&Cr.tag===0&&!(we&6)&&mo();var e=we;we|=1;var n=mn.transition,r=Ae;try{if(mn.transition=null,Ae=1,t)return t()}finally{Ae=r,mn.transition=n,we=e,!(we&6)&&qr()}}function Uh(){Gt=io.current,je(io)}function pi(t,e){t.finishedWork=null,t.finishedLanes=0;var n=t.timeoutHandle;if(n!==-1&&(t.timeoutHandle=-1,LS(n)),et!==null)for(n=et.return;n!==null;){var r=n;switch(Sh(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Xl();break;case 3:So(),je(Ht),je(kt),Rh();break;case 5:Lh(r);break;case 4:So();break;case 13:je(We);break;case 19:je(We);break;case 10:Ph(r.type._context);break;case 22:case 23:Uh()}n=n.return}if(ut=t,et=t=jr(t.current,null),gt=Gt=e,it=0,Gs=null,$h=Gc=Si=0,zt=ws=null,ai!==null){for(e=0;e<ai.length;e++)if(n=ai[e],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var s=o.next;o.next=i,r.next=s}n.pending=r}ai=null}return t}function q1(t,e){do{var n=et;try{if(Eh(),El.current=oc,ic){for(var r=Ke.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}ic=!1}if(ki=0,lt=rt=Ke=null,xs=!1,Ks=0,zh.current=null,n===null||n.return===null){it=1,Gs=e,et=null;break}e:{var o=t,s=n.return,a=n,l=e;if(e=gt,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var c=l,u=a,f=u.tag;if(!(u.mode&1)&&(f===0||f===11||f===15)){var d=u.alternate;d?(u.updateQueue=d.updateQueue,u.memoizedState=d.memoizedState,u.lanes=d.lanes):(u.updateQueue=null,u.memoizedState=null)}var p=Mm(s);if(p!==null){p.flags&=-257,Dm(p,s,a,o,e),p.mode&1&&Nm(o,c,e),e=p,l=c;var h=e.updateQueue;if(h===null){var m=new Set;m.add(l),e.updateQueue=m}else h.add(l);break e}else{if(!(e&1)){Nm(o,c,e),Vh();break e}l=Error(B(426))}}else if(He&&a.mode&1){var w=Mm(s);if(w!==null){!(w.flags&65536)&&(w.flags|=256),Dm(w,s,a,o,e),_h(_o(l,a));break e}}o=l=_o(l,a),it!==4&&(it=2),ws===null?ws=[o]:ws.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,e&=-e,o.lanes|=e;var g=L1(o,l,e);Pm(o,g);break e;case 1:a=l;var y=o.type,v=o.stateNode;if(!(o.flags&128)&&(typeof y.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(Dr===null||!Dr.has(v)))){o.flags|=65536,e&=-e,o.lanes|=e;var _=R1(o,a,e);Pm(o,_);break e}}o=o.return}while(o!==null)}Q1(n)}catch(C){e=C,et===n&&n!==null&&(et=n=n.return);continue}break}while(!0)}function G1(){var t=sc.current;return sc.current=oc,t===null?oc:t}function Vh(){(it===0||it===3||it===2)&&(it=4),ut===null||!(Si&268435455)&&!(Gc&268435455)||Sr(ut,gt)}function cc(t,e){var n=we;we|=2;var r=G1();(ut!==t||gt!==e)&&(Qn=null,pi(t,e));do try{n2();break}catch(i){q1(t,i)}while(!0);if(Eh(),we=n,sc.current=r,et!==null)throw Error(B(261));return ut=null,gt=0,it}function n2(){for(;et!==null;)X1(et)}function r2(){for(;et!==null&&!Ak();)X1(et)}function X1(t){var e=Z1(t.alternate,t,Gt);t.memoizedProps=t.pendingProps,e===null?Q1(t):et=e,zh.current=null}function Q1(t){var e=t;do{var n=e.alternate;if(t=e.return,e.flags&32768){if(n=XS(n,e),n!==null){n.flags&=32767,et=n;return}if(t!==null)t.flags|=32768,t.subtreeFlags=0,t.deletions=null;else{it=6,et=null;return}}else if(n=GS(n,e,Gt),n!==null){et=n;return}if(e=e.sibling,e!==null){et=e;return}et=e=t}while(e!==null);it===0&&(it=5)}function ri(t,e,n){var r=Ae,i=mn.transition;try{mn.transition=null,Ae=1,i2(t,e,n,r)}finally{mn.transition=i,Ae=r}return null}function i2(t,e,n,r){do mo();while(Cr!==null);if(we&6)throw Error(B(327));n=t.finishedWork;var i=t.finishedLanes;if(n===null)return null;if(t.finishedWork=null,t.finishedLanes=0,n===t.current)throw Error(B(177));t.callbackNode=null,t.callbackPriority=0;var o=n.lanes|n.childLanes;if(Fk(t,o),t===ut&&(et=ut=null,gt=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Wa||(Wa=!0,ex(Vl,function(){return mo(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=mn.transition,mn.transition=null;var s=Ae;Ae=1;var a=we;we|=4,zh.current=null,JS(t,n),W1(n,t),_S(Bf),Kl=!!$f,Bf=$f=null,t.current=n,ZS(n),Tk(),we=a,Ae=s,mn.transition=o}else t.current=n;if(Wa&&(Wa=!1,Cr=t,lc=i),o=t.pendingLanes,o===0&&(Dr=null),Rk(n.stateNode),Vt(t,Je()),e!==null)for(r=t.onRecoverableError,n=0;n<e.length;n++)i=e[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(ac)throw ac=!1,t=ad,ad=null,t;return lc&1&&t.tag!==0&&mo(),o=t.pendingLanes,o&1?t===ld?ks++:(ks=0,ld=t):ks=0,qr(),null}function mo(){if(Cr!==null){var t=Lv(lc),e=mn.transition,n=Ae;try{if(mn.transition=null,Ae=16>t?16:t,Cr===null)var r=!1;else{if(t=Cr,Cr=null,lc=0,we&6)throw Error(B(331));var i=we;for(we|=4,q=t.current;q!==null;){var o=q,s=o.child;if(q.flags&16){var a=o.deletions;if(a!==null){for(var l=0;l<a.length;l++){var c=a[l];for(q=c;q!==null;){var u=q;switch(u.tag){case 0:case 11:case 15:bs(8,u,o)}var f=u.child;if(f!==null)f.return=u,q=f;else for(;q!==null;){u=q;var d=u.sibling,p=u.return;if(H1(u),u===c){q=null;break}if(d!==null){d.return=p,q=d;break}q=p}}}var h=o.alternate;if(h!==null){var m=h.child;if(m!==null){h.child=null;do{var w=m.sibling;m.sibling=null,m=w}while(m!==null)}}q=o}}if(o.subtreeFlags&2064&&s!==null)s.return=o,q=s;else e:for(;q!==null;){if(o=q,o.flags&2048)switch(o.tag){case 0:case 11:case 15:bs(9,o,o.return)}var g=o.sibling;if(g!==null){g.return=o.return,q=g;break e}q=o.return}}var y=t.current;for(q=y;q!==null;){s=q;var v=s.child;if(s.subtreeFlags&2064&&v!==null)v.return=s,q=v;else e:for(s=y;q!==null;){if(a=q,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:qc(9,a)}}catch(C){qe(a,a.return,C)}if(a===s){q=null;break e}var _=a.sibling;if(_!==null){_.return=a.return,q=_;break e}q=a.return}}if(we=i,qr(),Kn&&typeof Kn.onPostCommitFiberRoot=="function")try{Kn.onPostCommitFiberRoot($c,t)}catch{}r=!0}return r}finally{Ae=n,mn.transition=e}}return!1}function qm(t,e,n){e=_o(n,e),e=L1(t,e,1),t=Mr(t,e,1),e=Rt(),t!==null&&(da(t,1,e),Vt(t,e))}function qe(t,e,n){if(t.tag===3)qm(t,t,n);else for(;e!==null;){if(e.tag===3){qm(e,t,n);break}else if(e.tag===1){var r=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Dr===null||!Dr.has(r))){t=_o(n,t),t=R1(e,t,1),e=Mr(e,t,1),t=Rt(),e!==null&&(da(e,1,t),Vt(e,t));break}}e=e.return}}function o2(t,e,n){var r=t.pingCache;r!==null&&r.delete(e),e=Rt(),t.pingedLanes|=t.suspendedLanes&n,ut===t&&(gt&n)===n&&(it===4||it===3&&(gt&130023424)===gt&&500>Je()-Bh?pi(t,0):$h|=n),Vt(t,e)}function J1(t,e){e===0&&(t.mode&1?(e=Da,Da<<=1,!(Da&130023424)&&(Da=4194304)):e=1);var n=Rt();t=sr(t,e),t!==null&&(da(t,e,n),Vt(t,n))}function s2(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),J1(t,n)}function a2(t,e){var n=0;switch(t.tag){case 13:var r=t.stateNode,i=t.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=t.stateNode;break;default:throw Error(B(314))}r!==null&&r.delete(e),J1(t,n)}var Z1;Z1=function(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps||Ht.current)Bt=!0;else{if(!(t.lanes&n)&&!(e.flags&128))return Bt=!1,qS(t,e,n);Bt=!!(t.flags&131072)}else Bt=!1,He&&e.flags&1048576&&r1(e,Zl,e.index);switch(e.lanes=0,e.tag){case 2:var r=e.type;Al(t,e),t=e.pendingProps;var i=bo(e,kt.current);po(e,n),i=Mh(null,e,r,t,i,n);var o=Dh();return e.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,Ut(r)?(o=!0,Ql(e)):o=!1,e.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Th(e),i.updater=Yc,e.stateNode=i,i._reactInternals=e,Xf(e,r,t,n),e=Zf(null,e,r,!0,o,n)):(e.tag=0,He&&o&&kh(e),Ot(null,e,i,n),e=e.child),e;case 16:r=e.elementType;e:{switch(Al(t,e),t=e.pendingProps,i=r._init,r=i(r._payload),e.type=r,i=e.tag=c2(r),t=kn(r,t),i){case 0:e=Jf(null,e,r,t,n);break e;case 1:e=Fm(null,e,r,t,n);break e;case 11:e=Im(null,e,r,t,n);break e;case 14:e=jm(null,e,r,kn(r.type,t),n);break e}throw Error(B(306,r,""))}return e;case 0:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:kn(r,i),Jf(t,e,r,i,n);case 1:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:kn(r,i),Fm(t,e,r,i,n);case 3:e:{if(I1(e),t===null)throw Error(B(387));r=e.pendingProps,o=e.memoizedState,i=o.element,c1(t,e),nc(e,r,null,n);var s=e.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},e.updateQueue.baseState=o,e.memoizedState=o,e.flags&256){i=_o(Error(B(423)),e),e=zm(t,e,r,n,i);break e}else if(r!==i){i=_o(Error(B(424)),e),e=zm(t,e,r,n,i);break e}else for(Xt=Nr(e.stateNode.containerInfo.firstChild),Zt=e,He=!0,En=null,n=a1(e,null,r,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(wo(),r===i){e=ar(t,e,n);break e}Ot(t,e,r,n)}e=e.child}return e;case 5:return u1(e),t===null&&Yf(e),r=e.type,i=e.pendingProps,o=t!==null?t.memoizedProps:null,s=i.children,Hf(r,i)?s=null:o!==null&&Hf(r,o)&&(e.flags|=32),D1(t,e),Ot(t,e,s,n),e.child;case 6:return t===null&&Yf(e),null;case 13:return j1(t,e,n);case 4:return Oh(e,e.stateNode.containerInfo),r=e.pendingProps,t===null?e.child=ko(e,null,r,n):Ot(t,e,r,n),e.child;case 11:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:kn(r,i),Im(t,e,r,i,n);case 7:return Ot(t,e,e.pendingProps,n),e.child;case 8:return Ot(t,e,e.pendingProps.children,n),e.child;case 12:return Ot(t,e,e.pendingProps.children,n),e.child;
vendor: 2,882 bytes, line 40
40case 10:e:{if(r=e.type._context,i=e.pendingProps,o=e.memoizedProps,s=i.value,Re(ec,r._currentValue),r._currentValue=s,o!==null)if(Ln(o.value,s)){if(o.children===i.children&&!Ht.current){e=ar(t,e,n);break e}}else for(o=e.child,o!==null&&(o.return=e);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=rr(-1,n&-n),l.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var u=c.pending;u===null?l.next=l:(l.next=u.next,u.next=l),c.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),qf(o.return,n,e),a.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===e.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(B(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),qf(s,n,e),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===e){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}Ot(t,e,i.children,n),e=e.child}return e;case 9:return i=e.type,r=e.pendingProps.children,po(e,n),i=vn(i),r=r(i),e.flags|=1,Ot(t,e,r,n),e.child;case 14:return r=e.type,i=kn(r,e.pendingProps),i=kn(r.type,i),jm(t,e,r,i,n);case 15:return N1(t,e,e.type,e.pendingProps,n);case 17:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:kn(r,i),Al(t,e),e.tag=1,Ut(r)?(t=!0,Ql(e)):t=!1,po(e,n),O1(e,r,i),Xf(e,r,i,n),Zf(null,e,r,!0,t,n);case 19:return F1(t,e,n);case 22:return M1(t,e,n)}throw Error(B(156,e.tag))};function ex(t,e){return Pv(t,e)}function l2(t,e,n,r){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function dn(t,e,n,r){return new l2(t,e,n,r)}function Wh(t){return t=t.prototype,!(!t||!t.isReactComponent)}function c2(t){if(typeof t=="function")return Wh(t)?1:0;if(t!=null){if(t=t.$$typeof,t===uh)return 11;if(t===fh)return 14}return 2}function jr(t,e){var n=t.alternate;return n===null?(n=dn(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&14680064,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n}function Ll(t,e,n,r,i,o){var s=2;if(r=t,typeof t=="function")Wh(t)&&(s=1);else if(typeof t=="string")s=5;else e:switch(t){case qi:return mi(n.children,i,o,e);case ch:s=8,i|=8;break;case bf:return t=dn(12,n,e,i|2),t.elementType=bf,t.lanes=o,t;
vendor: 6,258 bytes, line 40
40case wf:return t=dn(13,n,e,i),t.elementType=wf,t.lanes=o,t;case kf:return t=dn(19,n,e,i),t.elementType=kf,t.lanes=o,t;case uv:return Xc(n,i,o,e);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case lv:s=10;break e;case cv:s=9;break e;case uh:s=11;break e;case fh:s=14;break e;case br:s=16,r=null;break e}throw Error(B(130,t==null?t:typeof t,""))}return e=dn(s,n,e,i),e.elementType=t,e.type=r,e.lanes=o,e}function mi(t,e,n,r){return t=dn(7,t,r,e),t.lanes=n,t}function Xc(t,e,n,r){return t=dn(22,t,r,e),t.elementType=uv,t.lanes=n,t.stateNode={isHidden:!1},t}function Yu(t,e,n){return t=dn(6,t,null,e),t.lanes=n,t}function qu(t,e,n){return e=dn(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function u2(t,e,n,r,i){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Au(0),this.expirationTimes=Au(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Au(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Kh(t,e,n,r,i,o,s,a,l){return t=new u2(t,e,n,a,l),e===1?(e=1,o===!0&&(e|=8)):e=0,o=dn(3,null,null,e),t.current=o,o.stateNode=t,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Th(o),t}function f2(t,e,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Yi,key:r==null?null:""+r,children:t,containerInfo:e,implementation:n}}function tx(t){if(!t)return Br;t=t._reactInternals;e:{if(Ri(t)!==t||t.tag!==1)throw Error(B(170));var e=t;do{switch(e.tag){case 3:e=e.stateNode.context;break e;case 1:if(Ut(e.type)){e=e.stateNode.__reactInternalMemoizedMergedChildContext;break e}}e=e.return}while(e!==null);throw Error(B(171))}if(t.tag===1){var n=t.type;if(Ut(n))return t1(t,n,e)}return e}function nx(t,e,n,r,i,o,s,a,l){return t=Kh(n,r,!0,t,i,o,s,a,l),t.context=tx(null),n=t.current,r=Rt(),i=Ir(n),o=rr(r,i),o.callback=e??null,Mr(n,o,i),t.current.lanes=i,da(t,i,r),Vt(t,r),t}function Qc(t,e,n,r){var i=e.current,o=Rt(),s=Ir(i);return n=tx(n),e.context===null?e.context=n:e.pendingContext=n,e=rr(o,s),e.payload={element:t},r=r===void 0?null:r,r!==null&&(e.callback=r),t=Mr(i,e,s),t!==null&&(Tn(t,i,s,o),Cl(t,i,s)),s}function uc(t){if(t=t.current,!t.child)return null;switch(t.child.tag){case 5:return t.child.stateNode;default:return t.child.stateNode}}function Gm(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var n=t.retryLane;t.retryLane=n!==0&&n<e?n:e}}function Yh(t,e){Gm(t,e),(t=t.alternate)&&Gm(t,e)}function d2(){return null}var rx=typeof reportError=="function"?reportError:function(t){console.error(t)};function qh(t){this._internalRoot=t}Jc.prototype.render=qh.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(B(409));Qc(t,e,null,null)};Jc.prototype.unmount=qh.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;_i(function(){Qc(null,t,null,null)}),e[or]=null}};function Jc(t){this._internalRoot=t}Jc.prototype.unstable_scheduleHydration=function(t){if(t){var e=Mv();t={blockedOn:null,target:t,priority:e};for(var n=0;n<kr.length&&e!==0&&e<kr[n].priority;n++);kr.splice(n,0,t),n===0&&Iv(t)}};function Gh(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function Zc(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11&&(t.nodeType!==8||t.nodeValue!==" react-mount-point-unstable "))}function Xm(){}function h2(t,e,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var c=uc(s);o.call(c)}}var s=nx(e,r,t,0,null,!1,!1,"",Xm);return t._reactRootContainer=s,t[or]=s.current,Bs(t.nodeType===8?t.parentNode:t),_i(),s}for(;i=t.lastChild;)t.removeChild(i);if(typeof r=="function"){var a=r;r=function(){var c=uc(l);a.call(c)}}var l=Kh(t,0,!1,null,null,!1,!1,"",Xm);return t._reactRootContainer=l,t[or]=l.current,Bs(t.nodeType===8?t.parentNode:t),_i(function(){Qc(e,l,n,r)}),l}function eu(t,e,n,r,i){var o=n._reactRootContainer;if(o){var s=o;if(typeof i=="function"){var a=i;i=function(){var l=uc(s);a.call(l)}}Qc(e,s,t,i)}else s=h2(n,e,t,i,r);return uc(s)}Rv=function(t){switch(t.tag){case 3:var e=t.stateNode;if(e.current.memoizedState.isDehydrated){var n=ss(e.pendingLanes);n!==0&&(ph(e,n|1),Vt(e,Je()),!(we&6)&&(Co=Je()+500,qr()))}break;case 13:_i(function(){var r=sr(t,1);if(r!==null){var i=Rt();Tn(r,t,1,i)}}),Yh(t,1)}};mh=function(t){if(t.tag===13){var e=sr(t,134217728);if(e!==null){var n=Rt();Tn(e,t,134217728,n)}Yh(t,134217728)}};Nv=function(t){if(t.tag===13){var e=Ir(t),n=sr(t,e);if(n!==null){var r=Rt();Tn(n,t,e,r)}Yh(t,e)}};Mv=function(){return Ae};Dv=function(t,e){var n=Ae;try{return Ae=t,e()}finally{Ae=n}};Rf=function(t,e,n){switch(e){case"input":if(Cf(t,n),e=n.name,n.type==="radio"&&e!=null){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+e)+'][type="radio"]'),e=0;e<n.length;e++){var r=n[e];if(r!==t&&r.form===t.form){var i=Vc(r);if(!i)throw Error(B(90));dv(r),Cf(r,i)}}}break;case"textarea":pv(t,n);break;case"select":e=n.value,e!=null&&co(t,!!n.multiple,e,!1)}};wv=Hh;kv=_i;var p2={usingClientEntryPoint:!1,Events:[pa,Ji,Vc,xv,bv,Hh]},Yo={findFiberByHostInstance:si,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},m2={bundleType:Yo.bundleType,version:Yo.version,rendererPackageName:Yo.rendererPackageName,rendererConfig:Yo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:dr.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return t=Cv(t),t===null?null:t.stateNode},findFiberByHostInstance:Yo.findFiberByHostInstance||d2,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
40if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ka=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ka.isDisabled&&Ka.supportsFiber)try{$c=Ka.inject(m2),Kn=Ka}catch{}}tn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=p2;tn.createPortal=function(t,e){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Gh(e))throw Error(B(200));return f2(t,e,null,n)};tn.createRoot=function(t,e){if(!Gh(t))throw Error(B(299));var n=!1,r="",i=rx;return e!=null&&(e.unstable_strictMode===!0&&(n=!0),e.identifierPrefix!==void 0&&(r=e.identifierPrefix),e.onRecoverableError!==void 0&&(i=e.onRecoverableError)),e=Kh(t,1,!1,null,null,n,!1,r,i),t[or]=e.current,Bs(t.nodeType===8?t.parentNode:t),new qh(e)};tn.findDOMNode=function(t){if(t==null)return null;if(t.nodeType===1)return t;var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(B(188)):(t=Object.keys(t).join(","),Error(B(268,t)));return t=Cv(e),t=t===null?null:t.stateNode,t};tn.flushSync=function(t){return _i(t)};tn.hydrate=function(t,e,n){if(!Zc(e))throw Error(B(200));return eu(null,t,e,!0,n)};tn.hydrateRoot=function(t,e,n){if(!Gh(t))throw Error(B(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",s=rx;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),e=nx(e,null,t,1,n??null,i,!1,o,s),t[or]=e.current,Bs(t),r)for(t=0;t<r.length;t++)n=r[t],i=n._getVersion,i=i(n._source),e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[n,i]:e.mutableSourceEagerHydrationData.push(n,i);return new Jc(e)};tn.render=function(t,e,n){if(!Zc(e))throw Error(B(200));return eu(null,t,e,!1,n)};tn.unmountComponentAtNode=function(t){if(!Zc(t))throw Error(B(40));return t._reactRootContainer?(_i(function(){eu(null,null,t,!1,function(){t._reactRootContainer=null,t[or]=null})}),!0):!1};tn.unstable_batchedUpdates=Hh;tn.unstable_renderSubtreeIntoContainer=function(t,e,n,r){if(!Zc(n))throw Error(B(200));if(t==null||t._reactInternals===void 0)throw Error(B(38));return eu(t,e,n,!1,r)};tn.version="18.3.1-next-f1338f8080-20240426";function ix(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ix)}catch(t){console.error(t)}}ix(),iv.exports=tn;var Xh=iv.exports;const g2=Fc(Xh),y2=K0({__proto__:null,default:g2},[Xh]);var Qm=Xh;vf.createRoot=Qm.createRoot,vf.hydrateRoot=Qm.hydrateRoot;/**
41 * @remix-run/router v1.16.1
42 *
43 * Copyright (c) Remix Software Inc.
44 *
45 * This source code is licensed under the MIT license found in the
46 * LICENSE.md file in the root directory of this source tree.
47 *
48 * @license MIT
49 */function Ve(){return Ve=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Ve.apply(this,arguments)}var Ze;(function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"})(Ze||(Ze={}));const Jm="popstate";function v2(t){t===void 0&&(t={});function e(r,i){let{pathname:o,search:s,hash:a}=r.location;return Xs("",{pathname:o,search:s,hash:a},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:ga(i)}return b2(e,n,null,t)}function pe(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function Eo(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function x2(){return Math.random().toString(36).substr(2,8)}function Zm(t,e){return{usr:t.state,key:t.key,idx:e}}function Xs(t,e,n,r){return n===void 0&&(n=null),Ve({pathname:typeof t=="string"?t:t.pathname,search:"",hash:""},typeof e=="string"?Gr(e):e,{state:n,key:e&&e.key||r||x2()})}function ga(t){let{pathname:e="/",search:n="",hash:r=""}=t;return n&&n!=="?"&&(e+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function Gr(t){let e={};if(t){let n=t.indexOf("#");n>=0&&(e.hash=t.substr(n),t=t.substr(0,n));let r=t.indexOf("?");r>=0&&(e.search=t.substr(r),t=t.substr(0,r)),t&&(e.pathname=t)}return e}function b2(t,e,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,s=i.history,a=Ze.Pop,l=null,c=u();c==null&&(c=0,s.replaceState(Ve({},s.state,{idx:c}),""));function u(){return(s.state||{idx:null}).idx}function f(){a=Ze.Pop;let w=u(),g=w==null?null:w-c;c=w,l&&l({action:a,location:m.location,delta:g})}function d(w,g){a=Ze.Push;let y=Xs(m.location,w,g);c=u()+1;let v=Zm(y,c),_=m.createHref(y);try{s.pushState(v,"",_)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;i.location.assign(_)}o&&l&&l({action:a,location:m.location,delta:1})}function p(w,g){a=Ze.Replace;let y=Xs(m.location,w,g);c=u();let v=Zm(y,c),_=m.createHref(y);s.replaceState(v,"",_),o&&l&&l({action:a,location:m.location,delta:0})}function h(w){let g=i.location.origin!=="null"?i.location.origin:i.location.href,y=typeof w=="string"?w:ga(w);return y=y.replace(/ $/,"%20"),pe(g,"No window.location.(origin|href) available to create URL for href: "+y),new URL(y,g)}let m={get action(){return a},get location(){return t(i,s)},listen(w){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(Jm,f),l=w,()=>{i.removeEventListener(Jm,f),l=null}},createHref(w){return e(i,w)},createURL:h,encodeLocation(w){let g=h(w);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:d,replace:p,go(w){return s.go(w)}};return m}var Be;(function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"})(Be||(Be={}));
vendor: 7,807 bytes, line 49
49const w2=new Set(["lazy","caseSensitive","path","id","index","children"]);function k2(t){return t.index===!0}function fd(t,e,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),t.map((i,o)=>{let s=[...n,o],a=typeof i.id=="string"?i.id:s.join("-");if(pe(i.index!==!0||!i.children,"Cannot specify children on an index route"),pe(!r[a],'Found a route id collision on id "'+a+`".  Route id's must be globally unique within Data Router usages`),k2(i)){let l=Ve({},i,e(i),{id:a});return r[a]=l,l}else{let l=Ve({},i,e(i),{id:a,children:void 0});return r[a]=l,i.children&&(l.children=fd(i.children,e,s,r)),l}})}function oo(t,e,n){n===void 0&&(n="/");let r=typeof e=="string"?Gr(e):e,i=ya(r.pathname||"/",n);if(i==null)return null;let o=ox(t);_2(o);let s=null;for(let a=0;s==null&&a<o.length;++a){let l=I2(i);s=N2(o[a],l)}return s}function S2(t,e){let{route:n,pathname:r,params:i}=t;return{id:n.id,pathname:r,params:i,data:e[n.id],handle:n.handle}}function ox(t,e,n,r){e===void 0&&(e=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(o,s,a)=>{let l={relativePath:a===void 0?o.path||"":a,caseSensitive:o.caseSensitive===!0,childrenIndex:s,route:o};l.relativePath.startsWith("/")&&(pe(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let c=Fr([r,l.relativePath]),u=n.concat(l);o.children&&o.children.length>0&&(pe(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),ox(o.children,e,u,c)),!(o.path==null&&!o.index)&&e.push({path:c,score:L2(c,o.index),routesMeta:u})};return t.forEach((o,s)=>{var a;if(o.path===""||!((a=o.path)!=null&&a.includes("?")))i(o,s);else for(let l of sx(o.path))i(o,s,l)}),e}function sx(t){let e=t.split("/");if(e.length===0)return[];let[n,...r]=e,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let s=sx(r.join("/")),a=[];return a.push(...s.map(l=>l===""?o:[o,l].join("/"))),i&&a.push(...s),a.map(l=>t.startsWith("/")&&l===""?"/":l)}function _2(t){t.sort((e,n)=>e.score!==n.score?n.score-e.score:R2(e.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const C2=/^:[\w-]+$/,E2=3,P2=2,A2=1,T2=10,O2=-2,eg=t=>t==="*";function L2(t,e){let n=t.split("/"),r=n.length;return n.some(eg)&&(r+=O2),e&&(r+=P2),n.filter(i=>!eg(i)).reduce((i,o)=>i+(C2.test(o)?E2:o===""?A2:T2),r)}function R2(t,e){return t.length===e.length&&t.slice(0,-1).every((r,i)=>r===e[i])?t[t.length-1]-e[e.length-1]:0}function N2(t,e){let{routesMeta:n}=t,r={},i="/",o=[];for(let s=0;s<n.length;++s){let a=n[s],l=s===n.length-1,c=i==="/"?e:e.slice(i.length)||"/",u=M2({path:a.relativePath,caseSensitive:a.caseSensitive,end:l},c);if(!u)return null;Object.assign(r,u.params);let f=a.route;o.push({params:r,pathname:Fr([i,u.pathname]),pathnameBase:z2(Fr([i,u.pathnameBase])),route:f}),u.pathnameBase!=="/"&&(i=Fr([i,u.pathnameBase]))}return o}function M2(t,e){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[n,r]=D2(t.path,t.caseSensitive,t.end),i=e.match(n);if(!i)return null;let o=i[0],s=o.replace(/(.)\/+$/,"$1"),a=i.slice(1);return{params:r.reduce((c,u,f)=>{let{paramName:d,isOptional:p}=u;if(d==="*"){let m=a[f]||"";s=o.slice(0,o.length-m.length).replace(/(.)\/+$/,"$1")}const h=a[f];return p&&!h?c[d]=void 0:c[d]=(h||"").replace(/%2F/g,"/"),c},{}),pathname:o,pathnameBase:s,pattern:t}}function D2(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!0),Eo(t==="*"||!t.endsWith("*")||t.endsWith("/*"),'Route path "'+t+'" will be treated as if it were '+('"'+t.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+t.replace(/\*$/,"/*")+'".'));let r=[],i="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return t.endsWith("*")?(r.push({paramName:"*"}),i+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":t!==""&&t!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,e?void 0:"i"),r]}function I2(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return Eo(!1,'The URL path "'+t+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+e+").")),t}}function ya(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let n=e.endsWith("/")?e.length-1:e.length,r=t.charAt(n);return r&&r!=="/"?null:t.slice(n)||"/"}function j2(t,e){e===void 0&&(e="/");let{pathname:n,search:r="",hash:i=""}=typeof t=="string"?Gr(t):t;return{pathname:n?n.startsWith("/")?n:F2(n,e):e,search:$2(r),hash:B2(i)}}function F2(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function Gu(t,e,n,r){return"Cannot include a '"+t+"' character in a manually specified "+("`to."+e+"` field ["+JSON.stringify(r)+"].  Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function ax(t){return t.filter((e,n)=>n===0||e.route.path&&e.route.path.length>0)}function lx(t,e){let n=ax(t);return e?n.map((r,i)=>i===t.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function cx(t,e,n,r){r===void 0&&(r=!1);let i;typeof t=="string"?i=Gr(t):(i=Ve({},t),pe(!i.pathname||!i.pathname.includes("?"),Gu("?","pathname","search",i)),pe(!i.pathname||!i.pathname.includes("#"),Gu("#","pathname","hash",i)),pe(!i.search||!i.search.includes("#"),Gu("#","search","hash",i)));let o=t===""||i.pathname==="",s=o?"/":i.pathname,a;if(s==null)a=n;else{let f=e.length-1;if(!r&&s.startsWith("..")){let d=s.split("/");for(;d[0]==="..";)d.shift(),f-=1;i.pathname=d.join("/")}a=f>=0?e[f]:"/"}let l=j2(i,a),c=s&&s!=="/"&&s.endsWith("/"),u=(o||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||u)&&(l.pathname+="/"),l}const Fr=t=>t.join("/").replace(/\/\/+/g,"/"),z2=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),$2=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,B2=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;class Qh{constructor(e,n,r,i){i===void 0&&(i=!1),this.status=e,this.statusText=n||"",this.internal=i,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function Jh(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}const ux=["post","put","patch","delete"],H2=new Set(ux),U2=["get",...ux],V2=new Set(U2),W2=new Set([301,302,303,307,308]),K2=new Set([307,308]),Xu={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Y2={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},qo={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Zh=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,q2=t=>({hasErrorBoundary:!!t.hasErrorBoundary}),fx="remix-router-transitions";function G2(t){const e=t.window?t.window:typeof window<"u"?window:void 0,n=typeof e<"u"&&typeof e.document<"u"&&typeof e.document.createElement<"u",r=!n;pe(t.routes.length>0,"You must provide a non-empty routes array to createRouter");let i;if(t.mapRouteProperties)i=t.mapRouteProperties;else if(t.detectErrorBoundary){let T=t.detectErrorBoundary;i=L=>({hasErrorBoundary:T(L)})}else i=q2;let o={},s=fd(t.routes,i,void 0,o),a,l=t.basename||"/",c=t.unstable_dataStrategy||Z2,u=Ve({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prepe
49ndBasename:!1,v7_relativeSplatPath:!1,unstable_skipActionErrorRevalidation:!1},t.future),f=null,d=new Set,p=null,h=null,m=null,w=t.hydrationData!=null,g=oo(s,t.history.location,l),y=null;if(g==null){let T=ln(404,{pathname:t.history.location.pathname}),{matches:L,route:j}=ug(s);g=L,y={[j.id]:T}}let v,_=g.some(T=>T.route.lazy),C=g.some(T=>T.route.loader);if(_)v=!1;else if(!C)v=!0;else if(u.v7_partialHydration){let T=t.hydrationData?t.hydrationData.loaderData:null,L=t.hydrationData?t.hydrationData.errors:null,j=U=>U.route.loader?typeof U.route.loader=="function"&&U.route.loader.hydrate===!0?!1:T&&T[U.route.id]!==void 0||L&&L[U.route.id]!==void 0:!0;if(L){let U=g.findIndex(G=>L[G.route.id]!==void 0);v=g.slice(0,U+1).every(j)}else v=g.every(j)}else v=t.hydrationData!=null;let P,b={historyAction:t.history.action,location:t.history.location,matches:g,initialized:v,navigation:Xu,restoreScrollPosition:t.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:t.hydrationData&&t.hydrationData.loaderData||{},actionData:t.hydrationData&&t.hydrationData.actionData||null,errors:t.hydrationData&&t.hydrationData.errors||y,fetchers:new Map,blockers:new Map},x=Ze.Pop,k=!1,E,O=!1,R=new Map,I=null,F=!1,H=!1,W=[],$=[],M=new Map,D=0,V=-1,Y=new Map,z=new Set,J=new Map,ne=new Map,Z=new Set,re=new Map,fe=new Map,ze=!1;function ee(){if(f=t.history.listen(T=>{let{action:L,location:j,delta:U}=T;if(ze){ze=!1;return}Eo(fe.size===0||U!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs.  This can also happen if you are using createHashRouter and the user manually changes the URL.");let G=zp({currentLocation:b.location,nextLocation:j,historyAction:L});if(G&&U!=null){ze=!0,t.history.go(U*-1),Ea(G,{state:"blocked",location:j,proceed(){Ea(G,{state:"proceeding",proceed:void 0,reset:void 0,location:j}),t.history.go(U)},reset(){let le=new Map(b.blockers);le.set(G,qo),ve({blockers:le})}});return}return xe(L,j)}),n){f_(e,R);let T=()=>d_(e,R);e.addEventListener("pagehide",T),I=()=>e.removeEventListener("pagehide",T)}return b.initialized||xe(Ze.Pop,b.location,{initialHydration:!0}),P}function Se(){f&&f(),I&&I(),d.clear(),E&&E.abort(),b.fetchers.forEach((T,L)=>Yt(L)),b.blockers.forEach((T,L)=>Di(L))}function Ne(T){return d.add(T),()=>d.delete(T)}function ve(T,L){L===void 0&&(L={}),b=Ve({},b,T);let j=[],U=[];u.v7_fetcherPersist&&b.fetchers.forEach((G,le)=>{G.state==="idle"&&(Z.has(le)?U.push(le):j.push(le))}),[...d].forEach(G=>G(b,{deletedFetchers:U,unstable_viewTransitionOpts:L.viewTransitionOpts,unstable_flushSync:L.flushSync===!0})),u.v7_fetcherPersist&&(j.forEach(G=>b.fetchers.delete(G)),U.forEach(G=>Yt(G)))}function ke(T,L,j){var U,G;let{flushSync:le}=j===void 0?{}:j,te=b.actionData!=null&&b.navigation.formMethod!=null&&_n(b.navigation.formMethod)&&b.navigation.state==="loading"&&((U=T.state)==null?void 0:U._isRedirect)!==!0,X;L.actionData?Object.keys(L.actionData).length>0?X=L.actionData:X=null:te?X=b.actionData:X=null;let ue=L.loaderData?lg(b.loaderData,L.loaderData,L.matches||[],L.errors):b.loaderData,ae=b.blockers;ae.size>0&&(ae=new Map(ae),ae.forEach((ie,$e)=>ae.set($e,qo)));let dt=k===!0||b.navigation.formMethod!=null&&_n(b.navigation.formMethod)&&((G=T.state)==null?void 0:G._isRedirect)!==!0;a&&(s=a,a=void 0),F||x===Ze.Pop||(x===Ze.Push?t.history.push(T,T.state):x===Ze.Replace&&t.history.replace(T,T.state));let ht;if(x===Ze.Pop){let ie=R.get(b.location.pathname);ie&&ie.has(T.pathname)?ht={currentLocation:b.location,nextLocation:T}:R.has(T.pathname)&&(ht={currentLocation:T,nextLocation:b.location})}else if(O){let ie=R.get(b.location.pathname);ie?ie.add(T.pathname):(ie=new Set([T.pathname]),R.set(b.location.pathname,ie)),ht={currentLocation:b.location,nextLocation:T}}ve(Ve({},L,{actionData:X,loaderData:ue,historyAction:x,location:T,initialized:!0,navigation:Xu,revalidation:"idle",restoreScrollPosition:Bp(T,L.matches||b.matches),preventScrollReset:dt,blockers:ae}),{viewTransitionOpts:ht,flushSync:le===!0}),x=Ze.Pop,k=!1,O=!1,F=!1,H=!1,W=[],$=[]}async function nt(T,L){if(typeof T=="number"){t.history.go(T);return}
49let j=dd(b.location,b.matches,l,u.v7_prependBasename,T,u.v7_relativeSplatPath,L==null?void 0:L.fromRouteId,L==null?void 0:L.relative),{path:U,submission:G,error:le}=tg(u.v7_normalizeFormMethod,!1,j,L),te=b.location,X=Xs(b.location,U,L&&L.state);X=Ve({},X,t.history.encodeLocation(X));let ue=L&&L.replace!=null?L.replace:void 0,ae=Ze.Push;ue===!0?ae=Ze.Replace:ue===!1||G!=null&&_n(G.formMethod)&&G.formAction===b.location.pathname+b.location.search&&(ae=Ze.Replace);let dt=L&&"preventScrollReset"in L?L.preventScrollReset===!0:void 0,ht=(L&&L.unstable_flushSync)===!0,ie=zp({currentLocation:te,nextLocation:X,historyAction:ae});if(ie){Ea(ie,{state:"blocked",location:X,proceed(){Ea(ie,{state:"proceeding",proceed:void 0,reset:void 0,location:X}),nt(T,L)},reset(){let $e=new Map(b.blockers);$e.set(ie,qo),ve({blockers:$e})}});return}return await xe(ae,X,{submission:G,pendingError:le,preventScrollReset:dt,replace:L&&L.replace,enableViewTransition:L&&L.unstable_viewTransition,flushSync:ht})}function Ue(){if(_e(),ve({revalidation:"loading"}),b.navigation.state!=="submitting"){if(b.navigation.state==="idle"){xe(b.historyAction,b.location,{startUninterruptedRevalidation:!0});return}xe(x||b.historyAction,b.navigation.location,{overrideNavigation:b.navigation})}}async function xe(T,L,j){E&&E.abort(),E=null,x=T,F=(j&&j.startUninterruptedRevalidation)===!0,Fw(b.location,b.matches),k=(j&&j.preventScrollReset)===!0,O=(j&&j.enableViewTransition)===!0;let U=a||s,G=j&&j.overrideNavigation,le=oo(U,L,l),te=(j&&j.flushSync)===!0;if(!le){let ie=ln(404,{pathname:L.pathname}),{matches:$e,route:at}=ug(U);ku(),ke(L,{matches:$e,loaderData:{},errors:{[at.id]:ie}},{flushSync:te});return}if(b.initialized&&!H&&o_(b.location,L)&&!(j&&j.submission&&_n(j.submission.formMethod))){ke(L,{matches:le},{flushSync:te});return}E=new AbortController;let X=$i(t.history,L,E.signal,j&&j.submission),ue;if(j&&j.pendingError)ue=[Ss(le).route.id,{type:Be.error,error:j.pendingError}];else if(j&&j.submission&&_n(j.submission.formMethod)){let ie=await Kt(X,L,j.submission,le,{replace:j.replace,flushSync:te});if(ie.shortCircuited)return;ue=ie.pendingActionResult,G=Qu(L,j.submission),te=!1,X=$i(t.history,X.url,X.signal)}let{shortCircuited:ae,loaderData:dt,errors:ht}=await Dt(X,L,le,G,j&&j.submission,j&&j.fetcherSubmission,j&&j.replace,j&&j.initialHydration===!0,te,ue);ae||(E=null,ke(L,Ve({matches:le},cg(ue),{loaderData:dt,errors:ht})))}async function Kt(T,L,j,U,G){G===void 0&&(G={}),_e();let le=c_(L,j);ve({navigation:le},{flushSync:G.flushSync===!0});let te,X=pd(U,L);if(!X.route.action&&!X.route.lazy)te={type:Be.error,error:ln(405,{method:T.method,pathname:L.pathname,routeId:X.route.id})};else if(te=(await Oe("action",T,[X],U))[0],T.signal.aborted)return{shortCircuited:!0};if(ui(te)){let ue;return G&&G.replace!=null?ue=G.replace:ue=og(te.response.headers.get("Location"),new URL(T.url),l)===b.location.pathname+b.location.search,await Ee(T,te,{submission:j,replace:ue}),{shortCircuited:!0}}if(ci(te))throw ln(400,{type:"defer-action"});if(fn(te)){let ue=Ss(U,X.route.id);return(G&&G.replace)!==!0&&(x=Ze.Push),{pendingActionResult:[ue.route.id,te]}}return{pendingActionResult:[X.route.id,te]}}async function Dt(T,L,j,U,G,le,te,X,ue,ae){let dt=U||Qu(L,G),ht=G||le||hg(dt),ie=a||s,[$e,at]=ng(t.history,b,j,ht,L,u.v7_partialHydration&&X===!0,u.unstable_skipActionErrorRevalidation,H,W,$,Z,J,z,ie,l,ae);if(ku(ye=>!(j&&j.some(Tt=>Tt.route.id===ye))||$e&&$e.some(Tt=>Tt.route.id===ye)),V=++D,$e.length===0&&at.length===0){let ye=Qr();return ke(L,Ve({matches:j,loaderData:{},errors:ae&&fn(ae[1])?{[ae[0]]:ae[1].error}:null},cg(ae),ye?{fetchers:new Map(b.fetchers)}:{}),{flushSync:ue}),{shortCircuited:!0}}if(!F&&(!u.v7_partialHydration||!X)){at.forEach(Tt=>{let sn=b.fetchers.get(Tt.key),pt=Go(void 0,sn?sn.data:void 0);b.fetchers.set(Tt.key,pt)});let ye;ae&&!fn(ae[1])?ye={[ae[0]]:ae[1].data}:b.actionData&&(Object.keys(b.actionData).length===0?ye=null:ye=b.actionData),ve(Ve({navigation:dt},ye!==void 0?{actionData:ye}:{},at.length>0?{fetchers:new Map(b.fetchers)}:{}),{flushSync:ue})}at.forEach(ye=>{M.has(ye.key)&&ft(ye.key),ye.controller&&M.set(ye.key,ye.controller)});let Fo=()=>at.forEach(ye=>ft(ye.key));E&&E.signal.addEventListener("abort",Fo);let{loaderResults:pr,fetcherResults:Ii}=await Mn(b.matches,j,$e,at,T);if(T.signal.aborted)return{shortCircuited:!0};E&&E.signal.removeEventListener("abort",Fo),at.forEach(ye=>M.delete(ye.key));let ji=fg([...pr,...Ii]);if(ji){if(ji.idx>=$e.length){let ye=at[ji.idx-$e.length].key;z.add(ye)}return await Ee(T,ji.result,{replace:te}),{shortCircuited:!0}}let{loaderData:Fi,errors:jn}=ag(b,j,$e,pr,ae,at,Ii,re);re.forEach((ye,Tt)=>{ye.subscribe(sn=>{(sn||ye.done)&&re.delete(Tt)})}),u.v7_partialHydration&&X&&b.errors&&Object.entries(b.errors).filter(ye=>{let[Tt]=ye;return!$e.some(sn=>sn.route.id===Tt)}
49).forEach(ye=>{let[Tt,sn]=ye;jn=Object.assign(jn||{},{[Tt]:sn})});let Pa=Qr(),Aa=At(V),Ta=Pa||Aa||at.length>0;return Ve({loaderData:Fi,errors:jn},Ta?{fetchers:new Map(b.fetchers)}:{})}function on(T,L,j,U){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");M.has(T)&&ft(T);let G=(U&&U.unstable_flushSync)===!0,le=a||s,te=dd(b.location,b.matches,l,u.v7_prependBasename,j,u.v7_relativeSplatPath,L,U==null?void 0:U.relative),X=oo(le,te,l);if(!X){Et(T,L,ln(404,{pathname:te}),{flushSync:G});return}let{path:ue,submission:ae,error:dt}=tg(u.v7_normalizeFormMethod,!0,te,U);if(dt){Et(T,L,dt,{flushSync:G});return}let ht=pd(X,ue);if(k=(U&&U.preventScrollReset)===!0,ae&&_n(ae.formMethod)){bn(T,L,ue,ht,X,G,ae);return}J.set(T,{routeId:L,path:ue}),It(T,L,ue,ht,X,G,ae)}async function bn(T,L,j,U,G,le,te){if(_e(),J.delete(T),!U.route.action&&!U.route.lazy){let pt=ln(405,{method:te.formMethod,pathname:j,routeId:L});Et(T,L,pt,{flushSync:le});return}let X=b.fetchers.get(T);Ct(T,u_(te,X),{flushSync:le});let ue=new AbortController,ae=$i(t.history,j,ue.signal,te);M.set(T,ue);let dt=D,ie=(await Oe("action",ae,[U],G))[0];if(ae.signal.aborted){M.get(T)===ue&&M.delete(T);return}if(u.v7_fetcherPersist&&Z.has(T)){if(ui(ie)||fn(ie)){Ct(T,xr(void 0));return}}else{if(ui(ie))if(M.delete(T),V>dt){Ct(T,xr(void 0));return}else return z.add(T),Ct(T,Go(te)),Ee(ae,ie,{fetcherSubmission:te});if(fn(ie)){Et(T,L,ie.error);return}}if(ci(ie))throw ln(400,{type:"defer-action"});let $e=b.navigation.location||b.location,at=$i(t.history,$e,ue.signal),Fo=a||s,pr=b.navigation.state!=="idle"?oo(Fo,b.navigation.location,l):b.matches;pe(pr,"Didn't find any matches after fetcher action");let Ii=++D;Y.set(T,Ii);let ji=Go(te,ie.data);b.fetchers.set(T,ji);let[Fi,jn]=ng(t.history,b,pr,te,$e,!1,u.unstable_skipActionErrorRevalidation,H,W,$,Z,J,z,Fo,l,[U.route.id,ie]);jn.filter(pt=>pt.key!==T).forEach(pt=>{let zo=pt.key,Hp=b.fetchers.get(zo),$w=Go(void 0,Hp?Hp.data:void 0);b.fetchers.set(zo,$w),M.has(zo)&&ft(zo),pt.controller&&M.set(zo,pt.controller)}),ve({fetchers:new Map(b.fetchers)});let Pa=()=>jn.forEach(pt=>ft(pt.key));ue.signal.addEventListener("abort",Pa);let{loaderResults:Aa,fetcherResults:Ta}=await Mn(b.matches,pr,Fi,jn,at);if(ue.signal.aborted)return;ue.signal.removeEventListener("abort",Pa),Y.delete(T),M.delete(T),jn.forEach(pt=>M.delete(pt.key));let ye=fg([...Aa,...Ta]);if(ye){if(ye.idx>=Fi.length){let pt=jn[ye.idx-Fi.length].key;z.add(pt)}return Ee(at,ye.result)}let{loaderData:Tt,errors:sn}=ag(b,b.matches,Fi,Aa,void 0,jn,Ta,re);if(b.fetchers.has(T)){let pt=xr(ie.data);b.fetchers.set(T,pt)}At(Ii),b.navigation.state==="loading"&&Ii>V?(pe(x,"Expected pending action"),E&&E.abort(),ke(b.navigation.location,{matches:pr,loaderData:Tt,errors:sn,fetchers:new Map(b.fetchers)})):(ve({errors:sn,loaderData:lg(b.loaderData,Tt,pr,sn),fetchers:new Map(b.fetchers)}),H=!1)}async function It(T,L,j,U,G,le,te){let X=b.fetchers.get(T);Ct(T,Go(te,X?X.data:void 0),{flushSync:le});let ue=new AbortController,ae=$i(t.history,j,ue.signal);M.set(T,ue);let dt=D,ie=(await Oe("loader",ae,[U],G))[0];if(ci(ie)&&(ie=await mx(ie,ae.signal,!0)||ie),M.get(T)===ue&&M.delete(T),!ae.signal.aborted){if(Z.has(T)){Ct(T,xr(void 0));return}if(ui(ie))if(V>dt){Ct(T,xr(void 0));return}else{z.add(T),await Ee(ae,ie);return}if(fn(ie)){Et(T,L,ie.error);return}pe(!ci(ie),"Unhandled fetcher deferred data"),Ct(T,xr(ie.data))}}async function Ee(T,L,j){let{submission:U,fetcherSubmission:G,replace:le}=j===void 0?{}:j;L.response.headers.has("X-Remix-Revalidate")&&(H=!0);let te=L.response.headers.get("Location");pe(te,"Expected a Location header on the redirect Response"),te=og(te,new URL(T.url),l);let X=Xs(b.location,te,{_isRedirect:!0});if(n){let $e=!1;if(L.response.headers.has("X-Remix-Reload-Document"))$e=!0;else if(Zh.test(te)){const at=t.history.createURL(te);$e=at.origin!==e.location.origin||ya(at.pathname,l)==null}if($e){le?e.location.replace(te):e.location.assign(te);return}}E=null;let ue=le===!0?Ze.Replace:Ze.Push,{formMethod:ae,formAction:dt,formEncType:ht}=b.navigation;!U&&!G&&ae&&dt&&ht&&(U=hg(b.navigation));let ie=U||G;if(K2.has(L.response.status)&&ie&&_n(ie.formMethod))await xe(ue,X,{submission:Ve({},ie,{formAction:te}),preventScrollReset:k});else{let $e=Qu(X,U);await xe(ue,X,{overrideNavigation:$e,fetcherSubmission:G,preventScrollReset:k})}}async function Oe(T,L,j,U){try{let G=await e_(c,T,L,j,U,o,i);return await Promise.all(G.map((le,te)=>{if(s_(le)){let X=le.result;return{type:Be.redirect,response:r_(X,L,j[te].route.id,U,l,u.v7_relativeSplatPath)}}return n_(le)}))}catch(G){return j.map(()=>({type:Be.error,error:G}))}}async function Mn(T,L,j,U,G){let[le,...te]=await Promise.all([j.length?Oe("loader",G,j,L):[],...U.map(X=>{if(X.matches&&X.match&&X.controller){let ue=$i(t.history,X.path,X.controller.signal);return Oe("loader",ue,[X.match],X.matches).then(ae=>ae[0])}else return Promise.resolve({type:Be.error,error:ln(404,{pathname:X.path})})})]);return await Promise.all([dg(T,j,le,le.map(()=>G.signal),!1,b.loaderData),dg(T,U.map(X=>X.match),te,U.map(X=>X.controller?X.controller.signal:null),!0)]),{loaderResults:le,fetcherResults:te}}function _e(){H=!0,W.push(...ku()),J.forEach((T,L)=>{M.has(L)&&($.push(L),ft(L))})}function Ct(T,L,j){j===void 0&&(j={}),b.fetchers.set(T,L),ve({fetchers:new Map(b.fetchers)},{flushSync:(j&&j.flushSync)===!0})}function Et(T,L,j,U){U===void 0&&(U={});let G=Ss(b.matches,L);Yt(T),ve({errors:{[G.route.id]:j},fetchers:new Map(b.fetchers)},{flushSync:(U&&U.flushSync)===!0})}function Dn(T){return u.v7_fetcherPersist&&(ne.set(T,(ne.get(T)||0)+1),Z.has(T)&&Z.delete(T)),b.fetchers.get(T)||Y2}function Yt(T){let L=b.fetchers.get(T);M.has(T)&&!(L&&L.state==="loading"&&Y.has(T))&&ft(T),J.delete(T),Y.delete(T),z.delete(T),Z.delete(T),b.fetchers.delete(T)}function In(T){if(u.v7_fetcherPersist){let L=(ne.get(T)||0)-1;L<=0?(ne.delete(T),Z.add(T)):ne.set(T,L)}else Yt(T);ve({fetchers:new Map(b.fetchers)})}function ft(T){let L=M.get(T);pe(L,"Expected fetch controller: "+T),L.abort(),M.delete(T)}function Pt(T){for(let L of T){let j=Dn(L),U=xr(j.data);b.fetchers.set(L,U)}}function Qr(){let T=[],L=!1;for(let j of z){let U=b.fetchers.get(j);pe(U,"Expected fetcher: "+j),U.state==="loading"&&(z.delete(j),T.push(j),L=!0)}return Pt(T),L}function At(T){let L=[];for(let[j,U]of Y)if(U<T){let G=b.fetchers.get(j);pe(G,"Expected fetcher: "+j),G.state==="loading"&&(ft(j),Y.delete(j),L.push(j))}return Pt(L),L.length>0}function Ca(T,L){let j=b.blockers.get(T)||qo;return fe.get(T)!==L&&fe.set(T,L),j}function Di(T){b.blockers.delete(T),fe.delete(T)}function Ea(T,L){let j=b.blockers.get(T)||qo;pe(j.state==="unblocked"&&L.state==="blocked"||j.state==="blocked"&&L.state==="blocked"||j.state==="blocked"&&L.state==="proceeding"||j.state==="blocked"&&L.state==="unblocked"||j.state==="proceeding"&&L.state==="unblocked","Invalid blocker state transition: "+j.state+" -> "+L.state);let U=new Map(b.blockers);U.set(T,L),ve({blockers:U})}function zp(T){let{currentLocation:L,nextLocation:j,historyAction:U}=T;if(fe.size===0)return;fe.size>1&&Eo(!1,"A router only supports one blocker at a time");let G=Array.from(fe.entries()),[le,te]=G[G.length-1],X=b.blockers.get(le);if(!(X&&X.state==="proceeding")&&te({currentLocation:L,nextLocation:j,historyAction:U}))return le}function ku(T){let L=[];return re.forEach((j,U)=>{(!T||T(U))&&(j.cancel(),L.push(U),re.delete(U))}),L}function jw(T,L,j){if(p=T,m=L,h=j||null,!w&&b.navigation===Xu){w=!0;let U=Bp(b.location,b.matches);U!=null&&ve({restoreScrollPosition:U})}return()=>{p=null,m=null,h=null}}function $p(T,L){return h&&h(T,L.map(U=>S2(U,b.loaderData)))||T.key}function Fw(T,L){if(p&&m){let j=$p(T,L);p[j]=m()}}function Bp(T,L){if(p){let j=$p(T,L),U=p[j];if(typeof U=="number")return U}return null}function zw(T){o={},a=fd(T,i,void 0,o)}return P={get basename(){return l},get future(){return u},get state(){return b},get routes(){return s},get window(){return e},initialize:ee,subscribe:Ne,enableScrollRestoration:jw,navigate:nt,fetch:on,revalidate:Ue,createHref:T=>t.history.createHref(T),encodeLocation:T=>t.history.encodeLocation(T),getFetcher:Dn,deleteFetcher:In,dispose:Se,getBlocker:Ca,deleteBlocker:Di,_internalFetchControllers:M,_internalActiveDeferreds:re,_internalSetRoutes:zw},P}function X2(t){return t!=null&&("formData"in t&&t.formData!=null||"body"in t&&t.body!==void 0)}function dd(t,e,n,r,i,o,s,a){let l,c;if(s){l=[];for(let f of e)if(l.push(f),f.route.id===s){c=f;break}}else l=e,c=e[e.length-1];let u=cx(i||".",lx(l,o),ya(t.pathname,n)||t.pathname,a==="path");return i==null&&(u.search=t.search,u.hash=t.hash),(i==null||i===""||i===".")&&c&&c.route.index&&!ep(u.search)&&(u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index"),r&&n!=="/"&&(u.pathname=u.pathname==="/"?n:Fr([n,u.pathname])),ga(u)}function tg(t,e,n,r){if(!r||!X2(r))return{path:n};if(r.formMethod&&!l_(r.formMethod))return{path:n,error:ln(405,{method:r.formMethod})};let i=()=>({path:n,error:ln(400,{type:"invalid-body"})}),o=r.formMethod||"get",s=t?o.toUpperCase():o.toLowerCase(),a=hx(n);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!_n(s))return i();
49let d=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((p,h)=>{let[m,w]=h;return""+p+m+"="+w+`
50`},""):String(r.body);return{path:n,submission:{formMethod:s,formAction:a,formEncType:r.formEncType,formData:void 0,json:void 0,text:d}}}else if(r.formEncType==="application/json"){if(!_n(s))return i();try{let d=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:s,formAction:a,formEncType:r.formEncType,formData:void 0,json:d,text:void 0}}}catch{return i()}}}pe(typeof FormData=="function","FormData is not available in this environment");let l,c;if(r.formData)l=hd(r.formData),c=r.formData;else if(r.body instanceof FormData)l=hd(r.body),c=r.body;else if(r.body instanceof URLSearchParams)l=r.body,c=sg(l);else if(r.body==null)l=new URLSearchParams,c=new FormData;else try{l=new URLSearchParams(r.body),c=sg(l)}catch{return i()}let u={formMethod:s,formAction:a,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:c,json:void 0,text:void 0};if(_n(u.formMethod))return{path:n,submission:u};let f=Gr(n);return e&&f.search&&ep(f.search)&&l.append("index",""),f.search="?"+l,{path:ga(f),submission:u}}function Q2(t,e){let n=t;if(e){let r=t.findIndex(i=>i.route.id===e);r>=0&&(n=t.slice(0,r))}return n}function ng(t,e,n,r,i,o,s,a,l,c,u,f,d,p,h,m){let w=m?fn(m[1])?m[1].error:m[1].data:void 0,g=t.createURL(e.location),y=t.createURL(i),v=m&&fn(m[1])?m[0]:void 0,_=v?Q2(n,v):n,C=m?m[1].statusCode:void 0,P=s&&C&&C>=400,b=_.filter((k,E)=>{let{route:O}=k;if(O.lazy)return!0;if(O.loader==null)return!1;if(o)return typeof O.loader!="function"||O.loader.hydrate?!0:e.loaderData[O.id]===void 0&&(!e.errors||e.errors[O.id]===void 0);if(J2(e.loaderData,e.matches[E],k)||l.some(F=>F===k.route.id))return!0;let R=e.matches[E],I=k;return rg(k,Ve({currentUrl:g,currentParams:R.params,nextUrl:y,nextParams:I.params},r,{actionResult:w,unstable_actionStatus:C,defaultShouldRevalidate:P?!1:a||g.pathname+g.search===y.pathname+y.search||g.search!==y.search||dx(R,I)}))}),x=[];return f.forEach((k,E)=>{if(o||!n.some(H=>H.route.id===k.routeId)||u.has(E))return;let O=oo(p,k.path,h);if(!O){x.push({key:E,routeId:k.routeId,path:k.path,matches:null,match:null,controller:null});return}let R=e.fetchers.get(E),I=pd(O,k.path),F=!1;d.has(E)?F=!1:c.includes(E)?F=!0:R&&R.state!=="idle"&&R.data===void 0?F=a:F=rg(I,Ve({currentUrl:g,currentParams:e.matches[e.matches.length-1].params,nextUrl:y,nextParams:n[n.length-1].params},r,{actionResult:w,unstable_actionStatus:C,defaultShouldRevalidate:P?!1:a})),F&&x.push({key:E,routeId:k.routeId,path:k.path,matches:O,match:I,controller:new AbortController})}),[b,x]}function J2(t,e,n){let r=!e||n.route.id!==e.route.id,i=t[n.route.id]===void 0;return r||i}function dx(t,e){let n=t.route.path;return t.pathname!==e.pathname||n!=null&&n.endsWith("*")&&t.params["*"]!==e.params["*"]}function rg(t,e){if(t.route.shouldRevalidate){let n=t.route.shouldRevalidate(e);if(typeof n=="boolean")return n}return e.defaultShouldRevalidate}async function ig(t,e,n){if(!t.lazy)return;let r=await t.lazy();if(!t.lazy)return;let i=n[t.id];pe(i,"No route found in manifest");let o={};for(let s in r){let l=i[s]!==void 0&&s!=="hasErrorBoundary";Eo(!l,'Route "'+i.id+'" has a static property "'+s+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+s+'" will be ignored.')),!l&&!w2.has(s)&&(o[s]=r[s])}Object.assign(i,o),Object.assign(i,Ve({},e(i),{lazy:void 0}))}function Z2(t){return Promise.all(t.matches.map(e=>e.resolve()))}async function e_(t,e,n,r,i,o,s,a){let l=r.reduce((f,d)=>f.add(d.route.id),new Set),c=new Set,u=await t({matches:i.map(f=>{let d=l.has(f.route.id);return Ve({},f,{shouldLoad:d,resolve:h=>(c.add(f.route.id),d?t_(e,n,f,o,s,h,a):Promise.resolve({type:Be.data,result:void 0}))})}),request:n,params:i[0].params,context:a});return i.forEach(f=>pe(c.has(f.route.id),'`match.resolve()` was not called for route id "'+f.route.id+'". You must call `match.resolve()` on every match passed to `dataStrategy` to ensure all routes are properly loaded.')),u.filter((f,d)=>l.has(i[d].route.id))}async function t_(t,e,n,r,i,o,s){let a,l,c=u=>{let f,d=new Promise((m,w)=>f=w);l=()=>f(),e.signal.addEventListener("abort",l);let p=m=>typeof u!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+t+'" [routeId: '+n.route.id+"]"))):u({request:e,params:n.params,context:s},...m!==void 0?[m]:[]),h;return o?h=o(m=>p(m)):h=(async()=>{try{return{type:"data",result:await p()}}catch(m){return{type:"error",result:m}}})(),Promise.race([h,d])};try{let u=n.route[t];if(n.route.lazy)if(u){let f,[d]=await Promise.all([c(u).catch(p=>{f=p}),ig(n.route,i,r)]);if(f!==void 0)throw f;a=d}else if(await ig(n.route,i,r),u=n.route[t],u)a=await c(u);else if(t==="action"){let f=new URL(e.url),d=f.pathname+f.search;throw ln(405,{method:e.method,pathname:d,routeId:n.route.id})}else return{type:Be.data,result:void 0};else if(u)a=await c(u);else{let f=new URL(e.url),d=f.pathname+f.search;throw ln(404,{pathname:d})}pe(a.result!==void 0,"You defined "+(t==="action"?"an action":"a loader")+" for route "+('"'+n.route.id+"\" but didn't return anything from your `"+t+"` ")+"function. Please return a value or `null`.")}catch(u){return{type:Be.error,result:u}}finally{l&&e.signal.removeEventListener("abort",l)}return a}
vendor: 10,520 bytes, lines 50-59
50async function n_(t){let{result:e,type:n,status:r}=t;if(px(e)){let s;try{let a=e.headers.get("Content-Type");a&&/\bapplication\/json\b/.test(a)?e.body==null?s=null:s=await e.json():s=await e.text()}catch(a){return{type:Be.error,error:a}}return n===Be.error?{type:Be.error,error:new Qh(e.status,e.statusText,s),statusCode:e.status,headers:e.headers}:{type:Be.data,data:s,statusCode:e.status,headers:e.headers}}if(n===Be.error)return{type:Be.error,error:e,statusCode:Jh(e)?e.status:r};if(a_(e)){var i,o;return{type:Be.deferred,deferredData:e,statusCode:(i=e.init)==null?void 0:i.status,headers:((o=e.init)==null?void 0:o.headers)&&new Headers(e.init.headers)}}return{type:Be.data,data:e,statusCode:r}}function r_(t,e,n,r,i,o){let s=t.headers.get("Location");if(pe(s,"Redirects returned/thrown from loaders/actions must have a Location header"),!Zh.test(s)){let a=r.slice(0,r.findIndex(l=>l.route.id===n)+1);s=dd(new URL(e.url),a,i,!0,s,o),t.headers.set("Location",s)}return t}function og(t,e,n){if(Zh.test(t)){let r=t,i=r.startsWith("//")?new URL(e.protocol+r):new URL(r),o=ya(i.pathname,n)!=null;if(i.origin===e.origin&&o)return i.pathname+i.search+i.hash}return t}function $i(t,e,n,r){let i=t.createURL(hx(e)).toString(),o={signal:n};if(r&&_n(r.formMethod)){let{formMethod:s,formEncType:a}=r;o.method=s.toUpperCase(),a==="application/json"?(o.headers=new Headers({"Content-Type":a}),o.body=JSON.stringify(r.json)):a==="text/plain"?o.body=r.text:a==="application/x-www-form-urlencoded"&&r.formData?o.body=hd(r.formData):o.body=r.formData}return new Request(i,o)}function hd(t){let e=new URLSearchParams;for(let[n,r]of t.entries())e.append(n,typeof r=="string"?r:r.name);return e}function sg(t){let e=new FormData;for(let[n,r]of t.entries())e.append(n,r);return e}function i_(t,e,n,r,i,o){let s={},a=null,l,c=!1,u={},f=r&&fn(r[1])?r[1].error:void 0;return n.forEach((d,p)=>{let h=e[p].route.id;if(pe(!ui(d),"Cannot handle redirect results in processLoaderData"),fn(d)){let m=d.error;f!==void 0&&(m=f,f=void 0),a=a||{};{let w=Ss(t,h);a[w.route.id]==null&&(a[w.route.id]=m)}s[h]=void 0,c||(c=!0,l=Jh(d.error)?d.error.status:500),d.headers&&(u[h]=d.headers)}else ci(d)?(i.set(h,d.deferredData),s[h]=d.deferredData.data,d.statusCode!=null&&d.statusCode!==200&&!c&&(l=d.statusCode),d.headers&&(u[h]=d.headers)):(s[h]=d.data,d.statusCode&&d.statusCode!==200&&!c&&(l=d.statusCode),d.headers&&(u[h]=d.headers))}),f!==void 0&&r&&(a={[r[0]]:f},s[r[0]]=void 0),{loaderData:s,errors:a,statusCode:l||200,loaderHeaders:u}}function ag(t,e,n,r,i,o,s,a){let{loaderData:l,errors:c}=i_(e,n,r,i,a);for(let u=0;u<o.length;u++){let{key:f,match:d,controller:p}=o[u];pe(s!==void 0&&s[u]!==void 0,"Did not find corresponding fetcher result");let h=s[u];if(!(p&&p.signal.aborted))if(fn(h)){let m=Ss(t.matches,d==null?void 0:d.route.id);c&&c[m.route.id]||(c=Ve({},c,{[m.route.id]:h.error})),t.fetchers.delete(f)}else if(ui(h))pe(!1,"Unhandled fetcher revalidation redirect");else if(ci(h))pe(!1,"Unhandled fetcher deferred data");else{let m=xr(h.data);t.fetchers.set(f,m)}}return{loaderData:l,errors:c}}function lg(t,e,n,r){let i=Ve({},e);for(let o of n){let s=o.route.id;if(e.hasOwnProperty(s)?e[s]!==void 0&&(i[s]=e[s]):t[s]!==void 0&&o.route.loader&&(i[s]=t[s]),r&&r.hasOwnProperty(s))break}return i}function cg(t){return t?fn(t[1])?{actionData:{}}:{actionData:{[t[0]]:t[1].data}}:{}}function Ss(t,e){return(e?t.slice(0,t.findIndex(r=>r.route.id===e)+1):[...t]).reverse().find(r=>r.route.hasErrorBoundary===!0)||t[0]}function ug(t){let e=t.length===1?t[0]:t.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:e}],route:e}}function ln(t,e){let{pathname:n,routeId:r,method:i,type:o}=e===void 0?{}:e,s="Unknown Server Error",a="Unknown @remix-run/router error";return t===400?(s="Bad Request",i&&n&&r?a="You made a "+i+' request to "'+n+'" but '+('did not provide a `loader` for route "'+r+'", ')+"so there is no way to handle the request.":o==="defer-action"?a="defer() is not supported in actions":o==="invalid-body"&&(a="Unable to encode submission body")):t===403?(s="Forbidden",a='Route "'+r+'" does not match URL "'+n+'"'):t===404?(s="Not Found",a='No route matches URL "'+n+'"'):t===405&&(s="Method Not Allowed",i&&n&&r?a="You made a "+i.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+r+'", ')+"so there is no way to handle the request.":i&&(a='Invalid request method "'+i.toUpperCase()+'"')),new Qh(t||500,s,new Error(a),!0)}function fg(t){for(let e=t.length-1;e>=0;e--){let n=t[e];if(ui(n))return{result:n,idx:e}}}function hx(t){let e=typeof t=="string"?Gr(t):t;return ga(Ve({},e,{hash:""}))}function o_(t,e){return t.pathname!==e.pathname||t.search!==e.search?!1:t.hash===""?e.hash!=="":t.hash===e.hash?!0:e.hash!==""}function s_(t){return px(t.result)&&W2.has(t.result.status)}function ci(t){return t.type===Be.deferred}function fn(t){return t.type===Be.error}function ui(t){return(t&&t.type)===Be.redirect}function a_(t){let e=t;return e&&typeof e=="object"&&typeof e.data=="object"&&typeof e.subscribe=="function"&&typeof e.cancel=="function"&&typeof e.resolveData=="function"}function px(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.headers=="object"&&typeof t.body<"u"}function l_(t){return V2.has(t.toLowerCase())}function _n(t){return H2.has(t.toLowerCase())}async function dg(t,e,n,r,i,o){for(let s=0;s<n.length;s++){let a=n[s],l=e[s];if(!l)continue;let c=t.find(f=>f.route.id===l.route.id),u=c!=null&&!dx(c,l)&&(o&&o[l.route.id])!==void 0;if(ci(a)&&(i||u)){let f=r[s];pe(f,"Expected an AbortSignal for revalidating fetcher deferred result"),await mx(a,f,i).then(d=>{d&&(n[s]=d||n[s])})}}}async function mx(t,e,n){if(n===void 0&&(n=!1),!await t.deferredData.resolveData(e)){if(n)try{return{type:Be.data,data:t.deferredData.unwrappedData}}catch(i){return{type:Be.error,error:i}}return{type:Be.data,data:t.deferredData.data}}}function ep(t){return new URLSearchParams(t).getAll("index").some(e=>e==="")}function pd(t,e){let n=typeof e=="string"?Gr(e).search:e.search;if(t[t.length-1].route.index&&ep(n||""))return t[t.length-1];let r=ax(t);return r[r.length-1]}function hg(t){let{formMethod:e,formAction:n,formEncType:r,text:i,formData:o,json:s}=t;if(!(!e||!n||!r)){if(i!=null)return{formMethod:e,formAction:n,formEncType:r,formData:void 0,json:void 0,text:i};if(o!=null)return{formMethod:e,formAction:n,formEncType:r,formData:o,json:void 0,text:void 0};if(s!==void 0)return{formMethod:e,formAction:n,formEncType:r,formData:void 0,json:s,text:void 0}}}function Qu(t,e){return e?{state:"loading",location:t,formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text}:{state:"loading",location:t,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function c_(t,e){return{state:"submitting",location:t,formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text}}function Go(t,e){return t?{state:"loading",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:e}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function u_(t,e){return{state:"submitting",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:e?e.data:void 0}}function xr(t){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function f_(t,e){try{let n=t.sessionStorage.getItem(fx);if(n){let r=JSON.parse(n);for(let[i,o]of Object.entries(r||{}))o&&Array.isArray(o)&&e.set(i,new Set(o||[]))}}catch{}}function d_(t,e){if(e.size>0){let n={};for(let[r,i]of e)n[r]=[...i];try{t.sessionStorage.setItem(fx,JSON.stringify(n))}catch(r){Eo(!1,"Failed to save applied view transitions in sessionStorage ("+r+").")}}}/**
51 * React Router v6.23.1
52 *
53 * Copyright (c) Remix Software Inc.
54 *
55 * This source code is licensed under the MIT license found in the
56 * LICENSE.md file in the root directory of this source tree.
57 *
58 * @license MIT
59 */function fc(){return fc=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},fc.apply(this,arguments)}const tu=A.createContext(null),gx=A.createContext(null),nu=A.createContext(null),tp=A.createContext(null),Ni=A.createContext({outlet:null,matches:[],isDataRoute:!1}),yx=A.createContext(null);function ru(){return A.useContext(tp)!=null}function np(){return ru()||pe(!1),A.useContext(tp).location}function vx(t){A.useContext(nu).static||A.useLayoutEffect(t)}function h_(){let{isDataRoute:t}=A.useContext(Ni);return t?P_():p_()}function p_(){ru()||pe(!1);let t=A.useContext(tu),{basename:e,future:n,navigator:r}=A.useContext(nu),{matches:i}=A.useContext(Ni),{pathname:o}=np(),s=JSON.stringify(lx(i,n.v7_relativeSplatPath)),a=A.useRef(!1);return vx(()=>{a.current=!0}),A.useCallback(function(c,u){if(u===void 0&&(u={}),!a.current)return;if(typeof c=="number"){r.go(c);return}let f=cx(c,JSON.parse(s),o,u.relative==="path");t==null&&e!=="/"&&(f.pathname=f.pathname==="/"?e:Fr([e,f.pathname])),(u.replace?r.replace:r.push)(f,u.state,u)},[e,r,s,o,t])}const m_=A.createContext(null);function g_(t){let e=A.useContext(Ni).outlet;return e&&A.createElement(m_.Provider,{value:t},e)}function y_(t,e,n,r){ru()||pe(!1);let{navigator:i}=A.useContext(nu),{matches:o}=A.useContext(Ni),s=o[o.length-1],a=s?s.params:{};s&&s.pathname;let l=s?s.pathnameBase:"/";s&&s.route;let c=np(),u;u=c;let f=u.pathname||"/",d=f;if(l!=="/"){let m=l.replace(/^\//,"").split("/");d="/"+f.replace(/^\//,"").split("/").slice(m.length).join("/")}let p=oo(t,{pathname:d});return k_(p&&p.map(m=>Object.assign({},m,{params:Object.assign({},a,m.params),pathname:Fr([l,i.encodeLocation?i.encodeLocation(m.pathname).pathname:m.pathname]),pathnameBase:m.pathnameBase==="/"?l:Fr([l,i.encodeLocation?i.encodeLocation(m.pathnameBase).pathname:m.pathnameBase])})),o,n,r)}function v_(){let t=E_(),e=Jh(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),n=t instanceof Error?t.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return A.createElement(A.Fragment,null,A.createElement("h2",null,"Unexpected Application 
59Error!"),A.createElement("h3",{style:{fontStyle:"italic"}},e),n?A.createElement("pre",{style:i},n):null,null)}const x_=A.createElement(v_,null);class b_ extends A.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,n){return n.location!==e.location||n.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:n.error,location:n.location,revalidation:e.revalidation||n.revalidation}}componentDidCatch(e,n){console.error("React Router caught the following error during render",e,n)}render(){return this.state.error!==void 0?A.createElement(Ni.Provider,{value:this.props.routeContext},A.createElement(yx.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function w_(t){let{routeContext:e,match:n,children:r}=t,i=A.useContext(tu);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),A.createElement(Ni.Provider,{value:e},r)}function k_(t,e,n,r){var i;if(e===void 0&&(e=[]),n===void 0&&(n=null),r===void 0&&(r=null),t==null){var o;if((o=n)!=null&&o.errors)t=n.matches;else return null}let s=t,a=(i=n)==null?void 0:i.errors;if(a!=null){let u=s.findIndex(f=>f.route.id&&(a==null?void 0:a[f.route.id])!==void 0);u>=0||pe(!1),s=s.slice(0,Math.min(s.length,u+1))}let l=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let u=0;u<s.length;u++){let f=s[u];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(c=u),f.route.id){let{loaderData:d,errors:p}=n,h=f.route.loader&&d[f.route.id]===void 0&&(!p||p[f.route.id]===void 0);if(f.route.lazy||h){l=!0,c>=0?s=s.slice(0,c+1):s=[s[0]];break}}}return s.reduceRight((u,f,d)=>{let p,h=!1,m=null,w=null;n&&(p=a&&f.route.id?a[f.route.id]:void 0,m=f.route.errorElement||x_,l&&(c<0&&d===0?(A_("route-fallback"),h=!0,w=null):c===d&&(h=!0,w=f.route.hydrateFallbackElement||null)));let g=e.concat(s.slice(0,d+1)),y=()=>{let v;return p?v=m:h?v=w:f.route.Component?v=A.createElement(f.route.Component,null):f.route.element?v=f.route.element:v=u,A.createElement(w_,{match:f,routeContext:{outlet:u,matches:g,isDataRoute:n!=null},children:v})};return n&&(f.route.ErrorBoundary||f.route.errorElement||d===0)?A.createElement(b_,{location:n.location,revalidation:n.revalidation,component:m,error:p,children:y(),routeC
vendor: 4,409 bytes, lines 59-68
59ontext:{outlet:null,matches:g,isDataRoute:!0}}):y()},null)}var xx=function(t){return t.UseBlocker="useBlocker",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t}(xx||{}),dc=function(t){return t.UseBlocker="useBlocker",t.UseLoaderData="useLoaderData",t.UseActionData="useActionData",t.UseRouteError="useRouteError",t.UseNavigation="useNavigation",t.UseRouteLoaderData="useRouteLoaderData",t.UseMatches="useMatches",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t.UseRouteId="useRouteId",t}(dc||{});function S_(t){let e=A.useContext(tu);return e||pe(!1),e}function __(t){let e=A.useContext(gx);return e||pe(!1),e}function C_(t){let e=A.useContext(Ni);return e||pe(!1),e}function bx(t){let e=C_(),n=e.matches[e.matches.length-1];return n.route.id||pe(!1),n.route.id}function E_(){var t;let e=A.useContext(yx),n=__(dc.UseRouteError),r=bx(dc.UseRouteError);return e!==void 0?e:(t=n.errors)==null?void 0:t[r]}function P_(){let{router:t}=S_(xx.UseNavigateStable),e=bx(dc.UseNavigateStable),n=A.useRef(!1);return vx(()=>{n.current=!0}),A.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?t.navigate(i):t.navigate(i,fc({fromRouteId:e},o)))},[t,e])}const pg={};function A_(t,e,n){pg[t]||(pg[t]=!0)}function T_(t){return g_(t.context)}function O_(t){let{basename:e="/",children:n=null,location:r,navigationType:i=Ze.Pop,navigator:o,static:s=!1,future:a}=t;ru()&&pe(!1);let l=e.replace(/^\/*/,"/"),c=A.useMemo(()=>({basename:l,navigator:o,static:s,future:fc({v7_relativeSplatPath:!1},a)}),[l,a,o,s]);typeof r=="string"&&(r=Gr(r));let{pathname:u="/",search:f="",hash:d="",state:p=null,key:h="default"}=r,m=A.useMemo(()=>{let w=ya(u,l);return w==null?null:{location:{pathname:w,search:f,hash:d,state:p,key:h},navigationType:i}},[l,u,f,d,p,h,i]);return m==null?null:A.createElement(nu.Provider,{value:c},A.createElement(tp.Provider,{children:n,value:m}))}new Promise(()=>{});function L_(t){let e={hasErrorBoundary:t.ErrorBoundary!=null||t.errorElement!=null};return t.Component&&Object.assign(e,{element:A.createElement(t.Component),Component:void 0}),t.HydrateFallback&&Object.assign(e,{hydrateFallbackElement:A.createElement(t.HydrateFallback),HydrateFallback:void 0}),t.ErrorBoundary&&Object.assign(e,{errorElement:A.createElement(t.ErrorBoundary),ErrorBoundary:void 0}),e}/**
60 * React Router DOM v6.23.1
61 *
62 * Copyright (c) Remix Software Inc.
63 *
64 * This source code is licensed under the MIT license found in the
65 * LICENSE.md file in the root directory of this source tree.
66 *
67 * @license MIT
68 */function hc(){return hc=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},hc.apply(this,arguments)}const R_="6";try{window.__reactRouterVersion=R_}catch{}function N_(t,e){return G2({basename:void 0,future:hc({},void 0,{v7_prependBasename:!0}),history:v2({window:void 0}),hydrationData:M_(),routes:t,mapRouteProperties:L_,unstable_dataStrategy:void 0,window:void 0}).initialize()}function M_(){var t;let e=(t=window)==null?void 0:t.__staticRouterHydrationData;return e&&e.errors&&(e=hc({},e,{errors:D_(e.errors)})),e}function D_(t){if(!t)return null;let e=Object.entries(t),n={};for(let[r,i]of e)if(i&&i.__type==="RouteErrorResponse")n[r]=new Qh(i.status,i.statusText,i.data,i.internal===!0);else if(i&&i.__type==="Error"){if(i.__subType){let o=window[i.__subType];if(typeof o=="function")try{let s=new o(i.message);s.stack="",n[r]=s}catch{}}if(n[r]==null){let o=new Error(i.message);o.stack="",n[r]=o}}else n[r]=i;return n}const I_=A.createContext({isTransitioning:!1}),j_=A.createContext(new Map),F_="startTransition",mg=ok[F_],z_="flushSync",gg=y2[z_];function $_(t){mg?mg(t):t()}function Xo(t){gg?gg(t):t()}class B_{constructor(){this.status="pending",this.promise=new Promise((e,n)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",e(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function H_(t){let{fallbackElement:e,router:n,future:r}=t,[i,o]=A.useState(n.state),[s,a]=A.useState(),[l,c]=A.useState({isTransitioning:!1}),[u,f]=A.useState(),[d,p]=A.useState(),[h,m]=A.useState(),w=A.useRef(new Map),{v7_startTransition:g}=r||{},y=A.useCallback(b=>{g?$_(b):b()},[g]),v=A.useCallback((b,x)=>{let{deletedFetchers:k,unstable_flushSync:E,unstable_viewTransitionOpts:O}=x;
68k.forEach(I=>w.current.delete(I)),b.fetchers.forEach((I,F)=>{I.data!==void 0&&w.current.set(F,I.data)});let R=n.window==null||n.window.document==null||typeof n.window.document.startViewTransition!="function";if(!O||R){E?Xo(()=>o(b)):y(()=>o(b));return}if(E){Xo(()=>{d&&(u&&u.resolve(),d.skipTransition()),c({isTransitioning:!0,flushSync:!0,currentLocation:O.currentLocation,nextLocation:O.nextLocation})});let I=n.window.document.startViewTransition(()=>{Xo(()=>o(b))});I.finished.finally(()=>{Xo(()=>{f(void 0),p(void 0),a(void 0),c({isTransitioning:!1})})}),Xo(()=>p(I));return}d?(u&&u.resolve(),d.skipTransition(),m({state:b,currentLocation:O.currentLocation,nextLocation:O.nextLocation})):(a(b),c({isTransitioning:!0,flushSync:!1,currentLocation:O.currentLocation,nextLocation:O.nextLocation}))},[n.window,d,u,w,y]);A.useLayoutEffect(()=>n.subscribe(v),[n,v]),A.useEffect(()=>{l.isTransitioning&&!l.flushSync&&f(new B_)},[l]),A.useEffect(()=>{if(u&&s&&n.window){let b=s,x=u.promise,k=n.window.document.startViewTransition(async()=>{y(()=>o(b)),await x});k.finished.finally(()=>{f(void 0),p(void 0),a(void 0),c({isTransitioning:!1})}),p(k)}},[y,s,u,n.window]),A.useEffect(()=>{u&&s&&i.location.key===s.location.key&&u.resolve()},[u,d,i.location,s]),A.useEffect(()=>{!l.isTransitioning&&h&&(a(h.state),c({isTransitioning:!0,flushSync:!1,currentLocation:h.currentLocation,nextLocation:h.nextLocation}),m(void 0))},[l.isTransitioning,h]),A.useEffect(()=>{},[]);let _=A.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:b=>n.navigate(b),push:(b,x,k)=>n.navigate(b,{state:x,preventScrollReset:k==null?void 0:k.preventScrollReset}),replace:(b,x,k)=>n.navigate(b,{replace:!0,state:x,preventScrollReset:k==null?void 0:k.preventScrollReset})}),[n]),C=n.basename||"/",P=A.useMemo(()=>({router:n,navigator:_,static:!1,basename:C}),[n,_,C]);return A.createElement(A.Fragment,null,A.createElement(tu.Provider,{value:P},A.createElement(gx.Provider,{value:i},A.createElement(j_.Provider,{value:w.current},A.createElement(I_.Provider,{value:l},A.createElement(O_,{basename:C,location:i.location,navigationType:i.historyAction,navigator:_,future:{v7_relativeSplatPath:n.future.v7_relativeSplatPath}},i.initialized||n.future.v7_partialHydration?A.createElement(U_,{routes:n.routes,future:n.future,state:i}):e))))),null)}function U_(t){let{routes:e,future:n,state:r}=t;return y_(e,void 0,r,n)}var yg;(function(t){t.UseScrollRestoration="useScrollRestoration",t.UseSubmit="useSubmit",t.UseSubmitFetcher="useSubmitFetcher",t.UseFetcher="useFetcher",t.useViewTransitionState="useViewTransitionState"})(yg||(yg={}));var vg;(function(t){t.UseFetcher="useFetcher",t.UseFetchers="useFetchers",t.UseScrollRestoration="useScrollRestoration"})(vg||(vg={}));function xg(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function K(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?xg(Object(n),!0).forEach(function(r){st(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):xg(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function pc(t){"@babel/helpers - typeof";return pc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pc(t)}function V_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function W_(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function K_(t,e,n){return e&&W_(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function st(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rp(t,e){return q_(t)||X_(t,e)||wx(t,e)||J_()}function va(t){return Y_(t)||G_(t)||wx(t)||Q_()}function Y_(t){if(Array.isArray(t))return md(t)}function q_(t){if(Array.isArray(t))return t}function G_(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function X_(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var r=[],i=!0,o=!1,s,a;try{for(n=n.call(t);!(i=(s=n.next()).done)&&(r.push(s.value),!(e&&r.length===e));i=!0);}catch(l){o=!0,a=l}finally{try{!i&&n.return!=null&&n.return()}finally{if(o)throw a}}return r}}function wx(t,e){if(t){if(typeof t=="string")return md(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return md(t,e)}}function md(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Q_(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
69In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}
69function J_(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
70In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var bg=function(){},ip={},kx={},Sx=null,_x={mark:bg,measure:bg};try{typeof window<"u"&&(ip=window),typeof document<"u"&&(kx=document),typeof MutationObserver<"u"&&(Sx=MutationObserver),typeof performance<"u"&&(_x=performance)}catch{}var Z_=ip.navigator||{},wg=Z_.userAgent,kg=wg===void 0?"":wg,Hr=ip,Fe=kx,Sg=Sx,Ya=_x;Hr.document;var hr=!!Fe.documentElement&&!!Fe.head&&typeof Fe.addEventListener=="function"&&typeof Fe.createElement=="function",Cx=~kg.indexOf("MSIE")||~kg.indexOf("Trident/"),qa,Ga,Xa,Qa,Ja,lr="___FONT_AWESOME___",gd=16,Ex="fa",Px="svg-inline--fa",Ci="data-fa-i2svg",yd="data-fa-pseudo-element",eC="data-fa-pseudo-element-pending",op="data-prefix",sp="data-icon",_g="fontawesome-i2svg",tC="async",nC=["HTML","HEAD","STYLE","SCRIPT"],Ax=function(){try{return!0}catch{return!1}}(),De="classic",Ge="sharp",ap=[De,Ge];function xa(t){return new Proxy(t,{get:function(n,r){return r in n?n[r]:n[De]}})}var Qs=xa((qa={},st(qa,De,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit",fakd:"kit","fa-kit":"kit","fa-kit-duotone":"kit"}),st(qa,Ge,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"}),qa)),Js=xa((Ga={},st(Ga,De,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),st(Ga,Ge,{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"}),Ga)),Zs=xa((Xa={},st(Xa,De,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),st(Xa,Ge,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"}),Xa)),rC=xa((Qa={},st(Qa,De,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),st(Qa,Ge,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"}),Qa)),iC=/fa(s|r|l|t|d|b|k|ss|sr|sl|st)?[\-\ ]/,Tx="fa-layers-text",oC=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,sC=xa((Ja={},st(Ja,De,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),st(Ja,Ge,{900:"fass",400:"fasr",300:"fasl",100:"fast"}),Ja)),Ox=[1,2,3,4,5,6,7,8,9,10],aC=Ox.concat([11,12,13,14,15,16,17,18,19,20]),lC=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],fi={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},ea=new Set;Object.keys(Js[De]).map(ea.add.bind(ea));Object.keys(Js[Ge]).map(ea.add.bind(ea));var cC=[].concat(ap,va(ea),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",fi.GROUP,fi.SWAP_OPACITY,fi.PRIMARY,fi.SECONDARY]).concat(Ox.map(function(t){return"".concat(t,"x")})).concat(aC.map(function(t){return"w-".concat(t)})),_s=Hr.FontAwesomeConfig||{};function uC(t){var e=Fe.querySelector("script["+t+"]");if(e)return e.getAttribute(t)}function fC(t){return t===""?!0:t==="false"?!1:t==="true"?!0:t}if(Fe&&typeof Fe.querySelector=="function"){var dC=[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]];dC.forEach(function(t){var e=rp(t,2),n=e[0],r=e[1],i=fC(uC(n));i!=null&&(_s[r]=i)})}var Lx={styleDefault:"solid",familyDefault:"classic",cssPrefix:Ex,replacementClass:Px,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};_s.familyPrefix&&(_s.cssPrefix=_s.familyPrefix);var Po=K(K({},Lx),_s);Po.autoReplaceSvg||(Po.observeMutations=!1);var Q={};
70Object.keys(Lx).forEach(function(t){Object.defineProperty(Q,t,{enumerable:!0,set:function(n){Po[t]=n,Cs.forEach(function(r){return r(Q)})},get:function(){return Po[t]}})});Object.defineProperty(Q,"familyPrefix",{enumerable:!0,set:function(e){Po.cssPrefix=e,Cs.forEach(function(n){return n(Q)})},get:function(){return Po.cssPrefix}});Hr.FontAwesomeConfig=Q;var Cs=[];function hC(t){return Cs.push(t),function(){Cs.splice(Cs.indexOf(t),1)}}var gr=gd,Vn={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function pC(t){if(!(!t||!hr)){var e=Fe.createElement("style");e.setAttribute("type","text/css"),e.innerHTML=t;for(var n=Fe.head.childNodes,r=null,i=n.length-1;i>-1;i--){var o=n[i],s=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(s)>-1&&(r=o)}return Fe.head.insertBefore(e,r),t}}var mC="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function ta(){for(var t=12,e="";t-- >0;)e+=mC[Math.random()*62|0];return e}function Mo(t){for(var e=[],n=(t||[]).length>>>0;n--;)e[n]=t[n];return e}function lp(t){return t.classList?Mo(t.classList):(t.getAttribute("class")||"").split(" ").filter(function(e){return e})}function Rx(t){return"".concat(t).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function gC(t){return Object.keys(t||{}).reduce(function(e,n){return e+"".concat(n,'="').concat(Rx(t[n]),'" ')},"").trim()}function iu(t){return Object.keys(t||{}).reduce(function(e,n){return e+"".concat(n,": ").concat(t[n].trim(),";")},"")}function cp(t){return t.size!==Vn.size||t.x!==Vn.x||t.y!==Vn.y||t.rotate!==Vn.rotate||t.flipX||t.flipY}function yC(t){var e=t.transform,n=t.containerWidth,r=t.iconWidth,i={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(e.x*32,", ").concat(e.y*32,") "),s="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),a="rotate(".concat(e.rotate," 0 0)"),l={transform:"".concat(o," ").concat(s," ").concat(a)},c={transform:"translate(".concat(r/2*-1," -256)")};return{outer:i,inner:l,path:c}}function vC(t){var e=t.transform,n=t.width,r=n===void 0?gd:n,i=t.height,o=i===void 0?gd:i,s=t.startCentered,a=s===void 0?!1:s,l="";return a&&Cx?l+="translate(".concat(e.x/gr-r/2,"em, ").concat(e.y/gr-o/2,"em) "):a?l+="translate(calc(-50% + ".concat(e.x/gr,"em), calc(-50% + ").concat(e.y/gr,"em)) "):l+="translate(".concat(e.x/gr,"em, ").concat(e.y/gr,"em) "),l+="scale(".concat(e.size/gr*(e.flipX?-1:1),", ").concat(e.size/gr*(e.flipY?-1:1),") "),l+="rotate(".concat(e.rotate,"deg) "),l}var xC=`:root, :host {
71  --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
72  --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";
73  --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";
74  --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";
75  --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";
76  --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";
77  --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";
78  --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";
79  --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";
80  --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
81}
82
83svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
84  overflow: visible;
85  box-sizing: content-box;
86}
87
88.svg-inline--fa {
89  display: var(--fa-display, inline-block);
90  height: 1em;
91  overflow: visible;
92  vertical-align: -0.125em;
93}
94.svg-inline--fa.fa-2xs {
95  vertical-align: 0.1em;
96}
97.svg-inline--fa.fa-xs {
98  vertical-align: 0em;
99}
100.svg-inline--fa.fa-sm {
101  vertical-align: -0.0714285705em;
102}
103.svg-inline--fa.fa-lg {
104  vertical-align: -0.2em;
105}
106.svg-inline--fa.fa-xl {
107  vertical-align: -0.25em;
108}
109.svg-inline--fa.fa-2xl {
110  vertical-align: -0.3125em;
111}
112.svg-inline--fa.fa-pull-left {
113  margin-right: var(--fa-pull-margin, 0.3em);
114  width: auto;
115}
116.svg-inline--fa.fa-pull-right {
117  margin-left: var(--fa-pull-margin, 0.3em);
118  width: auto;
119}
120.svg-inline--fa.fa-li {
121  width: var(--fa-li-width, 2em);
122  top: 0.25em;
123}
124.svg-inline--fa.fa-fw {
125  width: var(--fa-fw-width, 1.25em);
126}
127
128.fa-layers svg.svg-inline--fa {
129  bottom: 0;
130  left: 0;
131  margin: auto;
132  position: absolute;
133  right: 0;
134  top: 0;
135}
136
137.fa-layers-counter, .fa-layers-text {
138  display: inline-block;
139  position: absolute;
140  text-align: center;
141}
142
143.fa-layers {
144  display: inline-block;
145  height: 1em;
146  position: relative;
147  text-align: center;
148  vertical-align: -0.125em;
149  width: 1em;
150}
151.fa-layers svg.svg-inline--fa {
152  -webkit-transform-origin: center center;
153          transform-origin: center center;
154}
155
156.fa-layers-text {
157  left: 50%;
158  top: 50%;
159  -webkit-transform: translate(-50%, -50%);
160          transform: translate(-50%, -50%);
161  -webkit-transform-origin: center center;
162          transform-origin: center center;
163}
164
165.fa-layers-counter {
166  background-color: var(--fa-counter-background-color, #ff253a);
167  border-radius: var(--fa-counter-border-radius, 1em);
168  box-sizing: border-box;
169  color: var(--fa-inverse, #fff);
170  line-height: var(--fa-counter-line-height, 1);
171  max-width: var(--fa-counter-max-width, 5em);
172  min-width: var(--fa-counter-min-width, 1.5em);
173  overflow: hidden;
174  padding: var(--fa-counter-padding, 0.25em 0.5em);
175  right: var(--fa-right, 0);
176  text-overflow: ellipsis;
177  top: var(--fa-top, 0);
178  -webkit-transform: scale(var(--fa-counter-scale, 0.25));
179          transform: scale(var(--fa-counter-scale, 0.25));
180  -webkit-transform-origin: top right;
181          transform-origin: top right;
182}
183
184.fa-layers-bottom-right {
185  bottom: var(--fa-bottom, 0);
186  right: var(--fa-right, 0);
187  top: auto;
188  -webkit-transform: scale(var(--fa-layers-scale, 0.25));
189          transform: scale(var(--fa-layers-scale, 0.25));
190  -webkit-transform-origin: bottom right;
191          transform-origin: bottom right;
192}
193
194.fa-layers-bottom-left {
195  bottom: var(--fa-bottom, 0);
196  left: var(--fa-left, 0);
197  right: auto;
198  top: auto;
199  -webkit-transform: scale(var(--fa-layers-scale, 0.25));
200          transform: scale(var(--fa-layers-scale, 0.25));
201  -webkit-transform-origin: bottom left;
202          transform-origin: bottom left;
203}
204
205.fa-layers-top-right {
206  top: var(--fa-top, 0);
207  right: var(--fa-right, 0);
208  -webkit-transform: scale(var(--fa-layers-scale, 0.25));
209          transform: scale(var(--fa-layers-scale, 0.25));
210  -webkit-transform-origin: top right;
211          transform-origin: top right;
212}
213
214.fa-layers-top-left {
215  left: var(--fa-left, 0);
216  right: auto;
217  top: var(--fa-top, 0);
218  -webkit-transform: scale(var(--fa-layers-scale, 0.25));
219          transform: scale(var(--fa-layers-scale, 0.25));
220  -webkit-transform-origin: top left;
221          transform-origin: top left;
222}
223
224.fa-1x {
225  font-size: 1em;
226}
227
228.fa-2x {
229  font-size: 2em;
230}
231
232.fa-3x {
233  font-size: 3em;
234}
235
236.fa-4x {
237  font-size: 4em;
238}
239
240.fa-5x {
241  font-size: 5em;
242}
243
244.fa-6x {
245  font-size: 6em;
246}
247
248.fa-7x {
249  font-size: 7em;
250}
251
252.fa-8x {
253  font-size: 8em;
254}
255
256.fa-9x {
257  font-size: 9em;
258}
259
260.fa-10x {
261  font-size: 10em;
262}
263
264.fa-2xs {
265  font-size: 0.625em;
266  line-height: 0.1em;
267  vertical-align: 0.225em;
268}
269
270.fa-xs {
271  font-size: 0.75em;
272  line-height: 0.0833333337em;
273  vertical-align: 0.125em;
274}
275
276.fa-sm {
277  font-size: 0.875em;
278  line-height: 0.0714285718em;
279  vertical-align: 0.0535714295em;
280}
281
282.fa-lg {
283  font-size: 1.25em;
284  line-height: 0.05em;
285  vertical-align: -0.075em;
286}
287
288.fa-xl {
289  font-size: 1.5em;
290  line-height: 0.0416666682em;
291  vertical-align: -0.125em;
292}
293
294.fa-2xl {
295  font-size: 2em;
296  line-height: 0.03125em;
297  vertical-align: -0.1875em;
298}
299
300.fa-fw {
301  text-align: center;
302  width: 1.25em;
303}
304
305.fa-ul {
306  list-style-type: none;
307  margin-left: var(--fa-li-margin, 2.5em);
308  padding-left: 0;
309}
310.fa-ul > li {
311  position: relative;
312}
313
314.fa-li {
315  left: calc(var(--fa-li-width, 2em) * -1);
316  position: absolute;
317  text-align: center;
318  width: var(--fa-li-width, 2em);
319  line-height: inherit;
320}
321
322.fa-border {
323  border-color: var(--fa-border-color, #eee);
324  border-radius: var(--fa-border-radius, 0.1em);
325  border-style: var(--fa-border-style, solid);
326  border-width: var(--fa-border-width, 0.08em);
327  padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);
328}
329
330.fa-pull-left {
331  float: left;
332  margin-right: var(--fa-pull-margin, 0.3em);
333}
334
335.fa-pull-right {
336  float: right;
337  margin-left: var(--fa-pull-margin, 0.3em);
338}
339
340.fa-beat {
341  -webkit-animation-name: fa-beat;
342          animation-name: fa-beat;
343  -webkit-animation-delay: var(--fa-animation-delay, 0s);
344          animation-delay: var(--fa-animation-delay, 0s);
345  -webkit-animation-direction: var(--fa-animation-direction, normal);
346          animation-direction: var(--fa-animation-direction, normal);
347  -webkit-animation-duration: var(--fa-animation-duration, 1s);
348          animation-duration: var(--fa-animation-duration, 1s);
349  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
350          animation-iteration-count: var(--fa-animation-iteration-count, infinite);
351  -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
352          animation-timing-function: var(--fa-animation-timing, ease-in-out);
353}
354
355.fa-bounce {
356  -webkit-animation-name: fa-bounce;
357          animation-name: fa-bounce;
358  -webkit-animation-delay: var(--fa-animation-delay, 0s);
359          animation-delay: var(--fa-animation-delay, 0s);
360  -webkit-animation-direction: var(--fa-animation-direction, normal);
361          animation-direction: var(--fa-animation-direction, normal);
362  -webkit-animation-duration: var(--fa-animation-duration, 1s);
363          animation-duration: var(--fa-animation-duration, 1s);
364  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
365          animation-iteration-count: var(--fa-animation-iteration-count, infinite);
366  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
367          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
368}
369
370.fa-fade {
371  -webkit-animation-name: fa-fade;
372          animation-name: fa-fade;
373  -webkit-animation-delay: var(--fa-animation-delay, 0s);
374          animation-delay: var(--fa-animation-delay, 0s);
375  -webkit-animation-direction: var(--fa-animation-direction, normal);
376          animation-direction: var(--fa-animation-direction, normal);
377  -webkit-animation-duration: var(--fa-animation-duration, 1s);
378          animation-duration: var(--fa-animation-duration, 1s);
379  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
380          animation-iteration-count: var(--fa-animation-iteration-count, infinite);
381  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
382          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
383}
384
385.fa-beat-fade {
386  -webkit-animation-name: fa-beat-fade;
387          animation-name: fa-beat-fade;
388  -webkit-animation-delay: var(--fa-animation-delay, 0s);
389          animation-delay: var(--fa-animation-delay, 0s);
390  -webkit-animation-direction: var(--fa-animation-direction, normal);
391          animation-direction: var(--fa-animation-direction, normal);
392  -webkit-animation-duration: var(--fa-animation-duration, 1s);
393          animation-duration: var(--fa-animation-duration, 1s);
394  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
395          animation-iteration-count: var(--fa-animation-iteration-count, infinite);
396  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
397          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
398}
399
400.fa-flip {
401  -webkit-animation-name: fa-flip;
402          animation-name: fa-flip;
403  -webkit-animation-delay: var(--fa-animation-delay, 0s);
404          animation-delay: var(--fa-animation-delay, 0s);
405  -webkit-animation-direction: var(--fa-animation-direction, normal);
406          animation-direction: var(--fa-animation-direction, normal);
407  -webkit-animation-duration: var(--fa-animation-duration, 1s);
408          animation-duration: var(--fa-animation-duration, 1s);
409  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
410          animation-iteration-count: var(--fa-animation-iteration-count, infinite);
411  -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
412          animation-timing-function: var(--fa-animation-timing, ease-in-out);
413}
414
415.fa-shake {
416  -webkit-animation-name: fa-shake;
417          animation-name: fa-shake;
418  -webkit-animation-delay: var(--fa-animation-delay, 0s);
419          animation-delay: var(--fa-animation-delay, 0s);
420  -webkit-animation-direction: var(--fa-animation-direction, normal);
421          animation-direction: var(--fa-animation-direction, normal);
422  -webkit-animation-duration: var(--fa-animation-duration, 1s);
423          animation-duration: var(--fa-animation-duration, 1s);
424  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
425          animation-iteration-count: var(--fa-animation-iteration-count, infinite);
426  -webkit-animation-timing-function: var(--fa-animation-timing, linear);
427          animation-timing-function: var(--fa-animation-timing, linear);
428}
429
430.fa-spin {
431  -webkit-animation-name: fa-spin;
432          animation-name: fa-spin;
433  -webkit-animation-delay: var(--fa-animation-delay, 0s);
434          animation-delay: var(--fa-animation-delay, 0s);
435  -webkit-animation-direction: var(--fa-animation-direction, normal);
436          animation-direction: var(--fa-animation-direction, normal);
437  -webkit-animation-duration: var(--fa-animation-duration, 2s);
438          animation-duration: var(--fa-animation-duration, 2s);
439  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
440          animation-iteration-count: var(--fa-animation-iteration-count, infinite);
441  -webkit-animation-timing-function: var(--fa-animation-timing, linear);
442          animation-timing-function: var(--fa-animation-timing, linear);
443}
444
445.fa-spin-reverse {
446  --fa-animation-direction: reverse;
447}
448
449.fa-pulse,
450.fa-spin-pulse {
451  -webkit-animation-name: fa-spin;
452          animation-name: fa-spin;
453  -webkit-animation-direction: var(--fa-animation-direction, normal);
454          animation-direction: var(--fa-animation-direction, normal);
455  -webkit-animation-duration: var(--fa-animation-duration, 1s);
456          animation-duration: var(--fa-animation-duration, 1s);
457  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
458          animation-iteration-count: var(--fa-animation-iteration-count, infinite);
459  -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));
460          animation-timing-function: var(--fa-animation-timing, steps(8));
461}
462
463@media (prefers-reduced-motion: reduce) {
464  .fa-beat,
465.fa-bounce,
466.fa-fade,
467.fa-beat-fade,
468.fa-flip,
469.fa-pulse,
470.fa-shake,
471.fa-spin,
472.fa-spin-pulse {
473    -webkit-animation-delay: -1ms;
474            animation-delay: -1ms;
475    -webkit-animation-duration: 1ms;
476            animation-duration: 1ms;
477    -webkit-animation-iteration-count: 1;
478            animation-iteration-count: 1;
479    -webkit-transition-delay: 0s;
480            transition-delay: 0s;
481    -webkit-transition-duration: 0s;
482            transition-duration: 0s;
483  }
484}
485@-webkit-keyframes fa-beat {
486  0%, 90% {
487    -webkit-transform: scale(1);
488            transform: scale(1);
489  }
490  45% {
491    -webkit-transform: scale(var(--fa-beat-scale, 1.25));
492            transform: scale(var(--fa-beat-scale, 1.25));
493  }
494}
495@keyframes fa-beat {
496  0%, 90% {
497    -webkit-transform: scale(1);
498            transform: scale(1);
499  }
500  45% {
501    -webkit-transform: scale(var(--fa-beat-scale, 1.25));
502            transform: scale(var(--fa-beat-scale, 1.25));
503  }
504}
505@-webkit-keyframes fa-bounce {
506  0% {
507    -webkit-transform: scale(1, 1) translateY(0);
508            transform: scale(1, 1) translateY(0);
509  }
510  10% {
511    -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
512            transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
513  }
514  30% {
515    -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
516            transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
517  }
518  50% {
519    -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
520            transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
521  }
522  57% {
523    -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
524            transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
525  }
526  64% {
527    -webkit-transform: scale(1, 1) translateY(0);
528            transform: scale(1, 1) translateY(0);
529  }
530  100% {
531    -webkit-transform: scale(1, 1) translateY(0);
532            transform: scale(1, 1) translateY(0);
533  }
534}
535@keyframes fa-bounce {
536  0% {
537    -webkit-transform: scale(1, 1) translateY(0);
538            transform: scale(1, 1) translateY(0);
539  }
540  10% {
541    -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
542            transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
543  }
544  30% {
545    -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
546            transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
547  }
548  50% {
549    -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
550            transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
551  }
552  57% {
553    -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
554            transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
555  }
556  64% {
557    -webkit-transform: scale(1, 1) translateY(0);
558            transform: scale(1, 1) translateY(0);
559  }
560  100% {
561    -webkit-transform: scale(1, 1) translateY(0);
562            transform: scale(1, 1) translateY(0);
563  }
564}
565@-webkit-keyframes fa-fade {
566  50% {
567    opacity: var(--fa-fade-opacity, 0.4);
568  }
569}
570@keyframes fa-fade {
571  50% {
572    opacity: var(--fa-fade-opacity, 0.4);
573  }
574}
575@-webkit-keyframes fa-beat-fade {
576  0%, 100% {
577    opacity: var(--fa-beat-fade-opacity, 0.4);
578    -webkit-transform: scale(1);
579            transform: scale(1);
580  }
581  50% {
582    opacity: 1;
583    -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
584            transform: scale(var(--fa-beat-fade-scale, 1.125));
585  }
586}
587@keyframes fa-beat-fade {
588  0%, 100% {
589    opacity: var(--fa-beat-fade-opacity, 0.4);
590    -webkit-transform: scale(1);
591            transform: scale(1);
592  }
593  50% {
594    opacity: 1;
595    -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
596            transform: scale(var(--fa-beat-fade-scale, 1.125));
597  }
598}
599@-webkit-keyframes fa-flip {
600  50% {
601    -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
602            transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
603  }
604}
605@keyframes fa-flip {
606  50% {
607    -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
608            transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
609  }
610}
611@-webkit-keyframes fa-shake {
612  0% {
613    -webkit-transform: rotate(-15deg);
614            transform: rotate(-15deg);
615  }
616  4% {
617    -webkit-transform: rotate(15deg);
618            transform: rotate(15deg);
619  }
620  8%, 24% {
621    -webkit-transform: rotate(-18deg);
622            transform: rotate(-18deg);
623  }
624  12%, 28% {
625    -webkit-transform: rotate(18deg);
626            transform: rotate(18deg);
627  }
628  16% {
629    -webkit-transform: rotate(-22deg);
630            transform: rotate(-22deg);
631  }
632  20% {
633    -webkit-transform: rotate(22deg);
634            transform: rotate(22deg);
635  }
636  32% {
637    -webkit-transform: rotate(-12deg);
638            transform: rotate(-12deg);
639  }
640  36% {
641    -webkit-transform: rotate(12deg);
642            transform: rotate(12deg);
643  }
644  40%, 100% {
645    -webkit-transform: rotate(0deg);
646            transform: rotate(0deg);
647  }
648}
649@keyframes fa-shake {
650  0% {
651    -webkit-transform: rotate(-15deg);
652            transform: rotate(-15deg);
653  }
654  4% {
655    -webkit-transform: rotate(15deg);
656            transform: rotate(15deg);
657  }
658  8%, 24% {
659    -webkit-transform: rotate(-18deg);
660            transform: rotate(-18deg);
661  }
662  12%, 28% {
663    -webkit-transform: rotate(18deg);
664            transform: rotate(18deg);
665  }
666  16% {
667    -webkit-transform: rotate(-22deg);
668            transform: rotate(-22deg);
669  }
670  20% {
671    -webkit-transform: rotate(22deg);
672            transform: rotate(22deg);
673  }
674  32% {
675    -webkit-transform: rotate(-12deg);
676            transform: rotate(-12deg);
677  }
678  36% {
679    -webkit-transform: rotate(12deg);
680            transform: rotate(12deg);
681  }
682  40%, 100% {
683    -webkit-transform: rotate(0deg);
684            transform: rotate(0deg);
685  }
686}
687@-webkit-keyframes fa-spin {
688  0% {
689    -webkit-transform: rotate(0deg);
690            transform: rotate(0deg);
691  }
692  100% {
693    -webkit-transform: rotate(360deg);
694            transform: rotate(360deg);
695  }
696}
697@keyframes fa-spin {
698  0% {
699    -webkit-transform: rotate(0deg);
700            transform: rotate(0deg);
701  }
702  100% {
703    -webkit-transform: rotate(360deg);
704            transform: rotate(360deg);
705  }
706}
707.fa-rotate-90 {
708  -webkit-transform: rotate(90deg);
709          transform: rotate(90deg);
710}
711
712.fa-rotate-180 {
713  -webkit-transform: rotate(180deg);
714          transform: rotate(180deg);
715}
716
717.fa-rotate-270 {
718  -webkit-transform: rotate(270deg);
719          transform: rotate(270deg);
720}
721
722.fa-flip-horizontal {
723  -webkit-transform: scale(-1, 1);
724          transform: scale(-1, 1);
725}
726
727.fa-flip-vertical {
728  -webkit-transform: scale(1, -1);
729          transform: scale(1, -1);
730}
731
732.fa-flip-both,
733.fa-flip-horizontal.fa-flip-vertical {
734  -webkit-transform: scale(-1, -1);
735          transform: scale(-1, -1);
736}
737
738.fa-rotate-by {
739  -webkit-transform: rotate(var(--fa-rotate-angle, 0));
740          transform: rotate(var(--fa-rotate-angle, 0));
741}
742
743.fa-stack {
744  display: inline-block;
745  vertical-align: middle;
746  height: 2em;
747  position: relative;
748  width: 2.5em;
749}
750
751.fa-stack-1x,
752.fa-stack-2x {
753  bottom: 0;
754  left: 0;
755  margin: auto;
756  position: absolute;
757  right: 0;
758  top: 0;
759  z-index: var(--fa-stack-z-index, auto);
760}
761
762.svg-inline--fa.fa-stack-1x {
763  height: 1em;
764  width: 1.25em;
765}
766.svg-inline--fa.fa-stack-2x {
767  height: 2em;
768  width: 2.5em;
769}
770
771.fa-inverse {
772  color: var(--fa-inverse, #fff);
773}
774
775.sr-only,
776.fa-sr-only {
777  position: absolute;
778  width: 1px;
779  height: 1px;
780  padding: 0;
781  margin: -1px;
782  overflow: hidden;
783  clip: rect(0, 0, 0, 0);
784  white-space: nowrap;
785  border-width: 0;
786}
787
788.sr-only-focusable:not(:focus),
789.fa-sr-only-focusable:not(:focus) {
790  position: absolute;
791  width: 1px;
792  height: 1px;
793  padding: 0;
794  margin: -1px;
795  overflow: hidden;
796  clip: rect(0, 0, 0, 0);
797  white-space: nowrap;
798  border-width: 0;
799}
800
801.svg-inline--fa .fa-primary {
802  fill: var(--fa-primary-color, currentColor);
803  opacity: var(--fa-primary-opacity, 1);
804}
805
806.svg-inline--fa .fa-secondary {
807  fill: var(--fa-secondary-color, currentColor);
808  opacity: var(--fa-secondary-opacity, 0.4);
809}
810
811.svg-inline--fa.fa-swap-opacity .fa-primary {
812  opacity: var(--fa-secondary-opacity, 0.4);
813}
814
815.svg-inline--fa.fa-swap-opacity .fa-secondary {
816  opacity: var(--fa-primary-opacity, 1);
817}
818
819.svg-inline--fa mask .fa-primary,
820.svg-inline--fa mask .fa-secondary {
821  fill: black;
822}
823
824.fad.fa-inverse,
825.fa-duotone.fa-inverse {
826  color: var(--fa-inverse, #fff);
827}`;function Nx(){var t=Ex,e=Px,n=Q.cssPrefix,r=Q.replacementClass,i=xC;if(n!==t||r!==e){var o=new RegExp("\\.".concat(t,"\\-"),"g"),s=new RegExp("\\--".concat(t,"\\-"),"g"),a=new RegExp("\\.".concat(e),"g");i=i.replace(o,".".concat(n,"-")).replace(s,"--".concat(n,"-")).replace(a,".".concat(r))}return i}var Cg=!1;function Ju(){Q.autoAddCss&&!Cg&&(pC(Nx()),Cg=!0)}var bC={mixout:function(){return{dom:{css:Nx,insertCss:Ju}}},hooks:function(){return{beforeDOMElementCreation:function(){Ju()},beforeI2svg:function(){Ju()}}}},cr=Hr||{};cr[lr]||(cr[lr]={});cr[lr].styles||(cr[lr].styles={});cr[lr].hooks||(cr[lr].hooks={});cr[lr].shims||(cr[lr].shims=[]);var Pn=cr[lr],Mx=[],wC=function t(){Fe.removeEventListener("DOMContentLoaded",t),mc=1,Mx.map(function(e){return e()})},mc=!1;hr&&(mc=(Fe.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Fe.readyState),mc||Fe.addEventListener("DOMContentLoaded",wC));function kC(t){hr&&(mc?setTimeout(t,0):Mx.push(t))}function ba(t){var e=t.tag,n=t.attributes,r=n===void 0?{}:n,i=t.children,o=i===void 0?[]:i;return typeof t=="string"?Rx(t):"<".concat(e," ").concat(gC(r),">").concat(o.map(ba).join(""),"</").concat(e,">")}function Eg(t,e,n){if(t&&t[e]&&t[e][n])return{prefix:e,iconName:n,icon:t[e][n]}}var Zu=function(e,n,r,i){var o=Object.keys(e),s=o.length,a=n,l,c,u;for(r===void 0?(l=1,u=e[o[0]]):(l=0,u=r);l<s;l++)c=o[l],u=a(u,e[c],c,e);return u};function SC(t){for(var e=[],n=0,r=t.length;n<r;){var i=t.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=t.charCodeAt(n++);(o&64512)==56320?e.push(((i&1023)<<10)+(o&1023)+65536):(e.push(i),n--)}else e.push(i)}return e}function vd(t){var e=SC(t);return e.length===1?e[0].toString(16):null}function _C(t,e){var n=t.length,r=t.charCodeAt(e),i;return r>=55296&&r<=56319&&n>e+1&&(i=t.charCodeAt(e+1),i>=56320&&i<=57343)?(r-55296)*1024+i-56320+65536:r}function Pg(t){return Object.keys(t).reduce(function(e,n){var r=t[n],i=!!r.icon;return i?e[r.iconName]=r.icon:e[n]=r,e},{})}function xd(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.skipHooks,i=r===void 0?!1:r,o=Pg(e);typeof Pn.hooks.addPack=="function"&&!i?Pn.hooks.addPack(t,Pg(e)):Pn.styles[t]=K(K({},Pn.styles[t]||{}),o),t==="fas"&&xd("fa",e)}var Za,el,tl,so=Pn.styles,CC=Pn.shims,EC=(Za={},st(Za,De,Object.values(Zs[De])),st(Za,Ge,Object.values(Zs[Ge])),Za),up=null,Dx={},Ix={},jx={},Fx={},zx={},PC=(el={},st(el,De,Object.keys(Qs[De])),st(el,Ge,Object.keys(Qs[Ge])),el);function AC(t){return~cC.indexOf(t)}function TC(t,e){var n=e.split("-"),r=n[0],i=n.slice(1).join("-");return r===t&&i!==""&&!AC(i)?i:null}var $x=function(){var e=function(o){return Zu(so,function(s,a,l){return s[l]=Zu(a,o,{}),s},{})};
827Dx=e(function(i,o,s){if(o[3]&&(i[o[3]]=s),o[2]){var a=o[2].filter(function(l){return typeof l=="number"});a.forEach(function(l){i[l.toString(16)]=s})}return i}),Ix=e(function(i,o,s){if(i[s]=s,o[2]){var a=o[2].filter(function(l){return typeof l=="string"});a.forEach(function(l){i[l]=s})}return i}),zx=e(function(i,o,s){var a=o[2];return i[s]=s,a.forEach(function(l){i[l]=s}),i});var n="far"in so||Q.autoFetchSvg,r=Zu(CC,function(i,o){var s=o[0],a=o[1],l=o[2];return a==="far"&&!n&&(a="fas"),typeof s=="string"&&(i.names[s]={prefix:a,iconName:l}),typeof s=="number"&&(i.unicodes[s.toString(16)]={prefix:a,iconName:l}),i},{names:{},unicodes:{}});jx=r.names,Fx=r.unicodes,up=ou(Q.styleDefault,{family:Q.familyDefault})};hC(function(t){up=ou(t.styleDefault,{family:Q.familyDefault})});$x();function fp(t,e){return(Dx[t]||{})[e]}function OC(t,e){return(Ix[t]||{})[e]}function di(t,e){return(zx[t]||{})[e]}function Bx(t){return jx[t]||{prefix:null,iconName:null}}function LC(t){var e=Fx[t],n=fp("fas",t);return e||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function Ur(){return up}var dp=function(){return{prefix:null,iconName:null,rest:[]}};function ou(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=e.family,r=n===void 0?De:n,i=Qs[r][t],o=Js[r][t]||Js[r][i],s=t in Pn.styles?t:null;return o||s||null}var Ag=(tl={},st(tl,De,Object.keys(Zs[De])),st(tl,Ge,Object.keys(Zs[Ge])),tl);function su(t){var e,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.skipLookups,i=r===void 0?!1:r,o=(e={},st(e,De,"".concat(Q.cssPrefix,"-").concat(De)),st(e,Ge,"".concat(Q.cssPrefix,"-").concat(Ge)),e),s=null,a=De;(t.includes(o[De])||t.some(function(c){return Ag[De].includes(c)}))&&(a=De),(t.includes(o[Ge])||t.some(function(c){return Ag[Ge].includes(c)}))&&(a=Ge);var l=t.reduce(function(c,u){var f=TC(Q.cssPrefix,u);if(so[u]?(u=EC[a].includes(u)?rC[a][u]:u,s=u,c.prefix=u):PC[a].indexOf(u)>-1?(s=u,c.prefix=ou(u,{family:a})):f?c.iconName=f:u!==Q.replacementClass&&u!==o[De]&&u!==o[Ge]&&c.rest.push(u),!i&&c.prefix&&c.iconName){var d=s==="fa"?Bx(c.iconName):{},p=di(c.prefix,c.iconName);d.prefix&&(s=null),c.iconName=d.iconName||p||c.iconName,c.prefix=d.prefix||c.prefix,c.prefix==="far"&&!so.far&&so.fas&&!Q.autoFetchSvg&&(c.prefix="fas")}return c},dp());return(t.includes("fa-brands")||t.includes("fab"))&&(l.prefix="fab"),(t.includes("fa-duotone")||t.includes("fad"))&&(l.prefix="fad"),!l.prefix&&a===Ge&&(so.fass||Q.autoFetchSvg)&&(l.prefix="fass",l.iconName=di(l.prefix,l.iconName)||l.iconName),(l.prefix==="fa"||s==="fa")&&(l.prefix=Ur()||"fas"),l}var RC=function(){function t(){V_(this,t),this.definitions={}}return K_(t,[{key:"add",value:function(){for(var n=this,r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var s=i.reduce(this._pullDefinitions,{});Object.keys(s).forEach(function(a){n.definitions[a]=K(K({},n.definitions[a]||{}),s[a]),xd(a,s[a]);var l=Zs[De][a];l&&xd(l,s[a]),$x()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(n,r){var i=r.prefix&&r.iconName&&r.icon?{0:r}:r;return Object.keys(i).map(function(o){var s=i[o],a=s.prefix,l=s.iconName,c=s.icon,u=c[2];n[a]||(n[a]={}),u.length>0&&u.forEach(function(f){typeof f=="string"&&(n[a][f]=c)}),n[a][l]=c}),n}}]),t}(),Tg=[],ao={},go={},NC=Object.keys(go);function MC(t,e){var n=e.mixoutsTo;return Tg=t,ao={},Object.keys(go).forEach(function(r){NC.indexOf(r)===-1&&delete go[r]}),Tg.forEach(function(r){var i=r.mixout?r.mixout():{};
827if(Object.keys(i).forEach(function(s){typeof i[s]=="function"&&(n[s]=i[s]),pc(i[s])==="object"&&Object.keys(i[s]).forEach(function(a){n[s]||(n[s]={}),n[s][a]=i[s][a]})}),r.hooks){var o=r.hooks();Object.keys(o).forEach(function(s){ao[s]||(ao[s]=[]),ao[s].push(o[s])})}r.provides&&r.provides(go)}),n}function bd(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=ao[t]||[];return o.forEach(function(s){e=s.apply(null,[e].concat(r))}),e}function Ei(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var i=ao[t]||[];i.forEach(function(o){o.apply(null,n)})}function ur(){var t=arguments[0],e=Array.prototype.slice.call(arguments,1);return go[t]?go[t].apply(null,e):void 0}function wd(t){t.prefix==="fa"&&(t.prefix="fas");var e=t.iconName,n=t.prefix||Ur();if(e)return e=di(n,e)||e,Eg(Hx.definitions,n,e)||Eg(Pn.styles,n,e)}var Hx=new RC,DC=function(){Q.autoReplaceSvg=!1,Q.observeMutations=!1,Ei("noAuto")},IC={i2svg:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return hr?(Ei("beforeI2svg",e),ur("pseudoElements2svg",e),ur("i2svg",e)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=e.autoReplaceSvgRoot;Q.autoReplaceSvg===!1&&(Q.autoReplaceSvg=!0),Q.observeMutations=!0,kC(function(){FC({autoReplaceSvgRoot:n}),Ei("watch",e)})}},jC={icon:function(e){if(e===null)return null;if(pc(e)==="object"&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:di(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&e.length===2){var n=e[1].indexOf("fa-")===0?e[1].slice(3):e[1],r=ou(e[0]);return{prefix:r,iconName:di(r,n)||n}}if(typeof e=="string"&&(e.indexOf("".concat(Q.cssPrefix,"-"))>-1||e.match(iC))){var i=su(e.split(" "),{skipLookups:!0});return{prefix:i.prefix||Ur(),iconName:di(i.prefix,i.iconName)||i.iconName}}if(typeof e=="string"){var o=Ur();return{prefix:o,iconName:di(o,e)||e}}}},rn={noAuto:DC,config:Q,dom:IC,parse:jC,library:Hx,findIconDefinition:wd,toHtml:ba},FC=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=e.autoReplaceSvgRoot,r=n===void 0?Fe:n;(Object.keys(Pn.styles).length>0||Q.autoFetchSvg)&&hr&&Q.autoReplaceSvg&&rn.dom.i2svg({node:r})};function au(t,e){return Object.defineProperty(t,"abstract",{get:e}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map(function(r){return ba(r)})}}),Object.defineProperty(t,"node",{get:function(){if(hr){var r=Fe.createElement("div");return r.innerHTML=t.html,r.children}}}),t}function zC(t){var e=t.children,n=t.main,r=t.mask,i=t.attributes,o=t.styles,s=t.transform;if(cp(s)&&n.found&&!r.found){var a=n.width,l=n.height,c={x:a/l/2,y:.5};i.style=iu(K(K({},o),{},{"transform-origin":"".concat(c.x+s.x/16,"em ").concat(c.y+s.y/16,"em")}))}return[{tag:"svg",attributes:i,children:e}]}function $C(t){var e=t.prefix,n=t.iconName,r=t.children,i=t.attributes,o=t.symbol,s=o===!0?"".concat(e,"-").concat(Q.cssPrefix,"-").concat(n):o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:K(K({},i),{},{id:s}),children:r}]}]}function hp(t){var e=t.icons,n=e.main,r=e.mask,i=t.prefix,o=t.iconName,s=t.transform,a=t.symbol,l=t.title,c=t.maskId,u=t.titleId,f=t.extra,d=t.watchable,p=d===void 0?!1:d,h=r.found?r:n,m=h.width,w=h.height,g=i==="fak",y=[Q.replacementClass,o?"".concat(Q.cssPrefix,"-").concat(o):""].filter(function(k){return f.classes.indexOf(k)===-1}).filter(function(k){return k!==""||!!k}).concat(f.classes).join(" "),v={children:[],attributes:K(K({},f.attributes),{},{"data-prefix":i,"data-icon":o,class:y,role:f.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(m," ").concat(w)})},_=g&&!~f.classes.indexOf("fa-fw")?{width:"".concat(m/w*16*.0625,"em")}:{};p&&(v.attributes[Ci]=""),l&&(v.children.push({tag:"title",attributes:{id:v.attributes["aria-labelledby"]||"title-".concat(u||ta())},children:[l]}),delete v.attributes.title);var C=K(K({},v),{},{prefix:i,iconName:o,main:n,mask:r,maskId:c,transform:s,symbol:a,styles:K(K({},_),f.styles)}),P=r.found&&n.found?ur("generateAbstractMask",C)||{children:[],attributes:{}}:ur("generateAbstractIcon",C)||{children:[],attributes:{}},b=P.children,x=P.attributes;return C.children=b,C.attributes=x,a?$C(C):zC(C)}function Og(t){var e=t.content,n=t.width,r=t.height,i=t.transform,o=t.title,s=t.extra,a=t.watchable,l=a===void 0?!1:a,c=K(K(K({},s.attributes),o?{title:o}:{}),{},{class:s.classes.join(" ")});l&&(c[Ci]="");var u=K({},s.styles);cp(i)&&(u.transform=vC({transform:i,startCentered:!0,width:n,height:r}),u["-webkit-transform"]=u.transform);var f=iu(u);f.length>0&&(c.style=f);var d=[];return d.push({tag:"span",attributes:c,children:[e]}),o&&d.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),d}function BC(t){var e=t.content,n=t.title,r=t.extra,i=K(K(K({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),o=iu(r.styles);o.length>0&&(i.style=o);var s=[];return s.push({tag:"span",attributes:i,children:[e]}),n&&s.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),s}var ef=Pn.styles;function kd(t){var e=t[0],n=t[1],r=t.slice(4),i=rp(r,1),o=i[0],s=null;return Array.isArray(o)?s={tag:"g",attributes:{class:"".concat(Q.cssPrefix,"-").concat(fi.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Q.cssPrefix,"-").concat(fi.SECONDARY),fill:"currentColor",d:o[0]}},{tag:"path",attributes:{class:"".concat(Q.cssPrefix,"-").concat(fi.PRIMARY),fill:"currentColor",d:o[1]}}]}
827:s={tag:"path",attributes:{fill:"currentColor",d:o}},{found:!0,width:e,height:n,icon:s}}var HC={found:!1,width:512,height:512};function UC(t,e){!Ax&&!Q.showMissingIcons&&t&&console.error('Icon with name "'.concat(t,'" and prefix "').concat(e,'" is missing.'))}function Sd(t,e){var n=e;return e==="fa"&&Q.styleDefault!==null&&(e=Ur()),new Promise(function(r,i){if(ur("missingIconAbstract"),n==="fa"){var o=Bx(t)||{};t=o.iconName||t,e=o.prefix||e}if(t&&e&&ef[e]&&ef[e][t]){var s=ef[e][t];return r(kd(s))}UC(t,e),r(K(K({},HC),{},{icon:Q.showMissingIcons&&t?ur("missingIconAbstract")||{}:{}}))})}var Lg=function(){},_d=Q.measurePerformance&&Ya&&Ya.mark&&Ya.measure?Ya:{mark:Lg,measure:Lg},ls='FA "6.5.2"',VC=function(e){return _d.mark("".concat(ls," ").concat(e," begins")),function(){return Ux(e)}},Ux=function(e){_d.mark("".concat(ls," ").concat(e," ends")),_d.measure("".concat(ls," ").concat(e),"".concat(ls," ").concat(e," begins"),"".concat(ls," ").concat(e," ends"))},pp={begin:VC,end:Ux},Rl=function(){};function Rg(t){var e=t.getAttribute?t.getAttribute(Ci):null;return typeof e=="string"}function WC(t){var e=t.getAttribute?t.getAttribute(op):null,n=t.getAttribute?t.getAttribute(sp):null;return e&&n}function KC(t){return t&&t.classList&&t.classList.contains&&t.classList.contains(Q.replacementClass)}function YC(){if(Q.autoReplaceSvg===!0)return Nl.replace;var t=Nl[Q.autoReplaceSvg];return t||Nl.replace}function qC(t){return Fe.createElementNS("http://www.w3.org/2000/svg",t)}function GC(t){return Fe.createElement(t)}function Vx(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=e.ceFn,r=n===void 0?t.tag==="svg"?qC:GC:n;if(typeof t=="string")return Fe.createTextNode(t);var i=r(t.tag);Object.keys(t.attributes||[]).forEach(function(s){i.setAttribute(s,t.attributes[s])});var o=t.children||[];return o.forEach(function(s){i.appendChild(Vx(s,{ceFn:r}))}),i}function XC(t){var e=" ".concat(t.outerHTML," ");return e="".concat(e,"Font Awesome fontawesome.com "),e}var Nl={replace:function(e){var n=e[0];if(n.parentNode)if(e[1].forEach(function(i){n.parentNode.insertBefore(Vx(i),n)}),n.getAttribute(Ci)===null&&Q.keepOriginalSource){var r=Fe.createComment(XC(n));n.parentNode.replaceChild(r,n)}else n.remove()},nest:function(e){var n=e[0],r=e[1];if(~lp(n).indexOf(Q.replacementClass))return Nl.replace(e);var i=new RegExp("".concat(Q.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){var o=r[0].attributes.class.split(" ").reduce(function(a,l){return l===Q.replacementClass||l.match(i)?a.toSvg.push(l):a.toNode.push(l),a},{toNode:[],toSvg:[]});r[0].attributes.class=o.toSvg.join(" "),o.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",o.toNode.join(" "))}var s=r.map(function(a){return ba(a)}).join(`
828`);n.setAttribute(Ci,""),n.innerHTML=s}};function Ng(t){t()}function Wx(t,e){var n=typeof e=="function"?e:Rl;if(t.length===0)n();else{var r=Ng;Q.mutateApproach===tC&&(r=Hr.requestAnimationFrame||Ng),r(function(){var i=YC(),o=pp.begin("mutate");t.map(i),o(),n()})}}var mp=!1;function Kx(){mp=!0}function Cd(){mp=!1}var gc=null;function Mg(t){if(Sg&&Q.observeMutations){var e=t.treeCallback,n=e===void 0?Rl:e,r=t.nodeCallback,i=r===void 0?Rl:r,o=t.pseudoElementsCallback,s=o===void 0?Rl:o,a=t.observeMutationsRoot,l=a===void 0?Fe:a;gc=new Sg(function(c){if(!mp){var u=Ur();Mo(c).forEach(function(f){if(f.type==="childList"&&f.addedNodes.length>0&&!Rg(f.addedNodes[0])&&(Q.searchPseudoElements&&s(f.target),n(f.target)),f.type==="attributes"&&f.target.parentNode&&Q.searchPseudoElements&&s(f.target.parentNode),f.type==="attributes"&&Rg(f.target)&&~lC.indexOf(f.attributeName))if(f.attributeName==="class"&&WC(f.target)){var d=su(lp(f.target)),p=d.prefix,h=d.iconName;f.target.setAttribute(op,p||u),h&&f.target.setAttribute(sp,h)}else KC(f.target)&&i(f.target)})}}),hr&&gc.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function QC(){gc&&gc.disconnect()}function JC(t){var e=t.getAttribute("style"),n=[];return e&&(n=e.split(";").reduce(function(r,i){var o=i.split(":"),s=o[0],a=o.slice(1);return s&&a.length>0&&(r[s]=a.join(":").trim()),r},{})),n}function ZC(t){var e=t.getAttribute("data-prefix"),n=t.getAttribute("data-icon"),r=t.innerText!==void 0?t.innerText.trim():"",i=su(lp(t));return i.prefix||(i.prefix=Ur()),e&&n&&(i.prefix=e,i.iconName=n),i.iconName&&i.prefix||(i.prefix&&r.length>0&&(i.iconName=OC(i.prefix,t.innerText)||fp(i.prefix,vd(t.innerText))),!i.iconName&&Q.autoFetchSvg&&t.firstChild&&t.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=t.firstChild.data)),i}function eE(t){var e=Mo(t.attributes).reduce(function(i,o){return i.name!=="class"&&i.name!=="style"&&(i[o.name]=o.value),i},{}),n=t.getAttribute("title"),r=t.getAttribute("data-fa-title-id");return Q.autoA11y&&(n?e["aria-labelledby"]="".concat(Q.replacementClass,"-title-").concat(r||ta()):(e["aria-hidden"]="true",e.focusable="false")),e}function tE(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Vn,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function Dg(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=ZC(t),r=n.iconName,i=n.prefix,o=n.rest,s=eE(t),a=bd("parseNodeAttributes",{},t),l=e.styleParser?JC(t):[];return K({iconName:r,title:t.getAttribute("title"),titleId:t.getAttribute("data-fa-title-id"),prefix:i,transform:Vn,mask:{iconName:null,prefix:null,rest:[]}
828,maskId:null,symbol:!1,extra:{classes:o,styles:l,attributes:s}},a)}var nE=Pn.styles;function Yx(t){var e=Q.autoReplaceSvg==="nest"?Dg(t,{styleParser:!1}):Dg(t);return~e.extra.classes.indexOf(Tx)?ur("generateLayersText",t,e):ur("generateSvgReplacementMutation",t,e)}var Vr=new Set;ap.map(function(t){Vr.add("fa-".concat(t))});Object.keys(Qs[De]).map(Vr.add.bind(Vr));Object.keys(Qs[Ge]).map(Vr.add.bind(Vr));Vr=va(Vr);function Ig(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!hr)return Promise.resolve();var n=Fe.documentElement.classList,r=function(f){return n.add("".concat(_g,"-").concat(f))},i=function(f){return n.remove("".concat(_g,"-").concat(f))},o=Q.autoFetchSvg?Vr:ap.map(function(u){return"fa-".concat(u)}).concat(Object.keys(nE));o.includes("fa")||o.push("fa");var s=[".".concat(Tx,":not([").concat(Ci,"])")].concat(o.map(function(u){return".".concat(u,":not([").concat(Ci,"])")})).join(", ");if(s.length===0)return Promise.resolve();var a=[];try{a=Mo(t.querySelectorAll(s))}catch{}if(a.length>0)r("pending"),i("complete");else return Promise.resolve();var l=pp.begin("onTree"),c=a.reduce(function(u,f){try{var d=Yx(f);d&&u.push(d)}catch(p){Ax||p.name==="MissingIcon"&&console.error(p)}return u},[]);return new Promise(function(u,f){Promise.all(c).then(function(d){Wx(d,function(){r("active"),r("complete"),i("pending"),typeof e=="function"&&e(),l(),u()})}).catch(function(d){l(),f(d)})})}function rE(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;Yx(t).then(function(n){n&&Wx([n],e)})}function iE(t){return function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=(e||{}).icon?e:wd(e||{}),i=n.mask;return i&&(i=(i||{}).icon?i:wd(i||{})),t(r,K(K({},n),{},{mask:i}))}}var oE=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.transform,i=r===void 0?Vn:r,o=n.symbol,s=o===void 0?!1:o,a=n.mask,l=a===void 0?null:a,c=n.maskId,u=c===void 0?null:c,f=n.title,d=f===void 0?null:f,p=n.titleId,h=p===void 0?null:p,m=n.classes,w=m===void 0?[]:m,g=n.attributes,y=g===void 0?{}:g,v=n.styles,_=v===void 0?{}:v;if(e){var C=e.prefix,P=e.iconName,b=e.icon;return au(K({type:"icon"},e),function(){return Ei("beforeDOMElementCreation",{iconDefinition:e,params:n}),Q.autoA11y&&(d?y["aria-labelledby"]="".concat(Q.replacementClass,"-title-").concat(h||ta()):(y["aria-hidden"]="true",y.focusable="false")),hp({icons:{main:kd(b),mask:l?kd(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:C,iconName:P,transform:K(K({},Vn),i),symbol:s,title:d,maskId:u,titleId:h,extra:{attributes:y,styles:_,classes:w}})})}},sE={mixout:function(){return{icon:iE(oE)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=Ig,n.nodeCallback=rE,n}}},provides:function(e){e.i2svg=function(n){var r=n.node,i=r===void 0?Fe:r,o=n.callback,s=o===void 0?function(){}:o;return Ig(i,s)},e.generateSvgReplacementMutation=function(n,r){var i=r.iconName,o=r.title,s=r.titleId,a=r.prefix,l=r.transform,c=r.symbol,u=r.mask,f=r.maskId,d=r.extra;return new Promise(function(p,h){Promise.all([Sd(i,a),u.iconName?Sd(u.iconName,u.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(m){var w=rp(m,2),g=w[0],y=w[1];p([n,hp({icons:{main:g,mask:y},prefix:a,iconName:i,transform:l,symbol:c,maskId:f,title:o,titleId:s,extra:d,watchable:!0})])}).catch(h)})},e.generateAbstractIcon=function(n){var r=n.children,i=n.attributes,o=n.main,s=n.transform,a=n.styles,l=iu(a);l.length>0&&(i.style=l);var c;return cp(s)&&(c=ur("generateAbstractTransformGrouping",{main:o,transform:s,containerWidth:o.width,iconWidth:o.width})),r.push(c||o.icon),{children:r,attributes:i}}}},aE={mixout:function(){return{layer:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.classes,o=i===void 0?[]:i;return au({type:"layer"},function(){Ei("beforeDOMElementCreation",{assembler:n,params:r});var s=[];return n(function(a){Array.isArray(a)?a.map(function(l){s=s.concat(l.abstract)}):s=s.concat(a.abstract)}),[{tag:"span",attributes:{class:["".concat(Q.cssPrefix,"-layers")].concat(va(o)).join(" ")},children:s}]})}}}},lE={mixout:function(){return{counter:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.title,o=i===void 0?null:i,s=r.classes,a=s===void 0?[]:s,l=r.attributes,c=l===void 0?{}:l,u=r.styles,f=u===void 0?{}:u;return au({type:"counter",content:n},function(){return Ei("beforeDOMElementCreation",{content:n,params:r}),BC({content:n.toString(),title:o,extra:{attributes:c,styles:f,classes:["".concat(Q.cssPrefix,"-layers-counter")].concat(va(a))}})})}}}},cE={mixout:function(){return{text:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.transform,o=i===void 0?Vn:i,s=r.title,a=s===void 0?null:s,l=r.classes,c=l===void 0?[]:l,u=r.attributes,f=u===void 0?{}:u,d=r.styles,p=d===void 0?{}:d;return au({type:"text",content:n},function(){return Ei("beforeDOMElementCreation",{content:n,params:r}),Og({content:n,transform:K(K({},Vn),o),title:a,extra:{attributes:f,styles:p,classes:["".concat(Q.cssPrefix,"-layers-text")].concat(va(c))}})})}}},provides:function(e){e.generateLayersText=function(n,r){var i=r.title,o=r.transform,s=r.extra,a=null,l=null;if(Cx){var c=parseInt(getComputedStyle(n).fontSize,10),u=n.getBoundingClientRect();a=u.width/c,l=u.height/c}return Q.autoA11y&&!i&&(s.attributes["aria-hidden"]="true"),Promise.resolve([n,Og({content:n.innerHTML,width:a,height:l,transform:o,title:i,extra:s,watchable:!0})])}}},uE=new RegExp('"',"ug"),jg=[1105920,1112319];function fE(t){var e=t.replace(uE,""),n=_C(e,0),r=n>=jg[0]&&n<=jg[1],i=e.length===2?e[0]===e[1]:!1;return{value:vd(i?e[0]:e),isSecondary:r||i}}function Fg(t,e){var n="".concat(eC).concat(e.replace(":","-"));return new Promise(function(r,i){if(t.getAttribute(n)!==null)return r();var o=Mo(t.children),s=o.filter(function(b){return b.getAttribute(yd)===e})[0],a=Hr.getComputedStyle(t,e),l=a.getPropertyValue("font-family").match(oC),c=a.getPropertyValue("font-weight"),u=a.getPropertyValue("content");
828if(s&&!l)return t.removeChild(s),r();if(l&&u!=="none"&&u!==""){var f=a.getPropertyValue("content"),d=~["Sharp"].indexOf(l[2])?Ge:De,p=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?Js[d][l[2].toLowerCase()]:sC[d][c],h=fE(f),m=h.value,w=h.isSecondary,g=l[0].startsWith("FontAwesome"),y=fp(p,m),v=y;if(g){var _=LC(m);_.iconName&&_.prefix&&(y=_.iconName,p=_.prefix)}if(y&&!w&&(!s||s.getAttribute(op)!==p||s.getAttribute(sp)!==v)){t.setAttribute(n,v),s&&t.removeChild(s);var C=tE(),P=C.extra;P.attributes[yd]=e,Sd(y,p).then(function(b){var x=hp(K(K({},C),{},{icons:{main:b,mask:dp()},prefix:p,iconName:v,extra:P,watchable:!0})),k=Fe.createElementNS("http://www.w3.org/2000/svg","svg");e==="::before"?t.insertBefore(k,t.firstChild):t.appendChild(k),k.outerHTML=x.map(function(E){return ba(E)}).join(`
829`),t.removeAttribute(n),r()}).catch(i)}else r()}else r()})}function dE(t){return Promise.all([Fg(t,"::before"),Fg(t,"::after")])}function hE(t){return t.parentNode!==document.head&&!~nC.indexOf(t.tagName.toUpperCase())&&!t.getAttribute(yd)&&(!t.parentNode||t.parentNode.tagName!=="svg")}function zg(t){if(hr)return new Promise(function(e,n){var r=Mo(t.querySelectorAll("*")).filter(hE).map(dE),i=pp.begin("searchPseudoElements");Kx(),Promise.all(r).then(function(){i(),Cd(),e()}).catch(function(){i(),Cd(),n()})})}var pE={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=zg,n}}},provides:function(e){e.pseudoElements2svg=function(n){var r=n.node,i=r===void 0?Fe:r;Q.searchPseudoElements&&zg(i)}}},$g=!1,mE={mixout:function(){return{dom:{unwatch:function(){Kx(),$g=!0}}}},hooks:function(){return{bootstrap:function(){Mg(bd("mutationObserverCallbacks",{}))},noAuto:function(){QC()},watch:function(n){var r=n.observeMutationsRoot;$g?Cd():Mg(bd("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}},Bg=function(e){var n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e.toLowerCase().split(" ").reduce(function(r,i){var o=i.toLowerCase().split("-"),s=o[0],a=o.slice(1).join("-");if(s&&a==="h")return r.flipX=!0,r;if(s&&a==="v")return r.flipY=!0,r;if(a=parseFloat(a),isNaN(a))return r;switch(s){case"grow":r.size=r.size+a;break;case"shrink":r.size=r.size-a;break;case"left":r.x=r.x-a;break;case"right":r.x=r.x+a;break;case"up":r.y=r.y-a;break;case"down":r.y=r.y+a;break;case"rotate":r.rotate=r.rotate+a;break}return r},n)},gE={mixout:function(){return{parse:{transform:function(n){return Bg(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-transform");return i&&(n.transform=Bg(i)),n}}},provides:function(e){e.generateAbstractTransformGrouping=function(n){var r=n.main,i=n.transform,o=n.containerWidth,s=n.iconWidth,a={transform:"translate(".concat(o/2," 256)")},l="translate(".concat(i.x*32,", ").concat(i.y*32,") "),c="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),u="rotate(".concat(i.rotate," 0 0)"),f={transform:"".concat(l," ").concat(c," ").concat(u)},d={transform:"translate(".concat(s/2*-1," -256)")},p={outer:a,inner:f,path:d};return{tag:"g",attributes:K({},p.outer),children:[{tag:"g",attributes:K({},p.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:K(K({},r.icon.attributes),p.path)}]}]}}}},tf={x:0,y:0,width:"100%",height:"100%"};function Hg(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return t.attributes&&(t.attributes.fill||e)&&(t.attributes.fill="black"),t}function yE(t){return t.tag==="g"?t.children:[t]}var vE={hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-mask"),o=i?su(i.split(" ").map(function(s){return s.trim()})):dp();return o.prefix||(o.prefix=Ur()),n.mask=o,n.maskId=r.getAttribute("data-fa-mask-id"),n}}},provides:function(e){e.generateAbstractMask=function(n){var r=n.children,i=n.attributes,o=n.main,s=n.mask,a=n.maskId,l=n.transform,c=o.width,u=o.icon,f=s.width,d=s.icon,p=yC({transform:l,containerWidth:f,iconWidth:c}),h={tag:"rect",attributes:K(K({},tf),{},{fill:"white"})},m=u.children?{children:u.children.map(Hg)}:{},w={tag:"g",attributes:K({},p.inner),children:[Hg(K({tag:u.tag,attributes:K(K({},u.attributes),p.path)},m))]},g={tag:"g",attributes:K({},p.outer),children:[w]},y="mask-".concat(a||ta()),v="clip-".concat(a||ta()),_={tag:"mask",attributes:K(K({},tf),{},{id:y,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,g]},C={tag:"defs",children:[{tag:"clipPath",attributes:{id:v},children:yE(d)},_]};
829return r.push(C,{tag:"rect",attributes:K({fill:"currentColor","clip-path":"url(#".concat(v,")"),mask:"url(#".concat(y,")")},tf)}),{children:r,attributes:i}}}},xE={provides:function(e){var n=!1;Hr.matchMedia&&(n=Hr.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var r=[],i={fill:"currentColor"},o={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};r.push({tag:"path",attributes:K(K({},i),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var s=K(K({},o),{},{attributeName:"opacity"}),a={tag:"circle",attributes:K(K({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||a.children.push({tag:"animate",attributes:K(K({},o),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:K(K({},s),{},{values:"1;0;1;1;0;1;"})}),r.push(a),r.push({tag:"path",attributes:K(K({},i),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:n?[]:[{tag:"animate",attributes:K(K({},s),{},{values:"1;0;0;0;0;1;"})}]}),n||r.push({tag:"path",attributes:K(K({},i),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:K(K({},s),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},bE={hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-symbol"),o=i===null?!1:i===""?!0:i;return n.symbol=o,n}}}},wE=[bC,sE,aE,lE,cE,pE,mE,gE,vE,xE,bE];MC(wE,{mixoutsTo:rn});rn.noAuto;rn.config;rn.library;rn.dom;var Ed=rn.parse;rn.findIconDefinition;rn.toHtml;var kE=rn.icon;rn.layer;rn.text;rn.counter;var qx={exports:{}},SE="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",_E=SE,CE=_E;function Gx(){}function Xx(){}Xx.resetWarningCache=Gx;var EE=function(){function t(r,i,o,s,a,l){if(l!==CE){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}t.isRequired=t;function e(){return t}var n={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:Xx,resetWarningCache:Gx};return n.PropTypes=n,n};qx.exports=EE();var PE=qx.exports;const de=Fc(PE);function Ug(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function Hn(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};
829e%2?Ug(Object(n),!0).forEach(function(r){lo(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ug(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function yc(t){"@babel/helpers - typeof";return yc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yc(t)}function lo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function AE(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o<r.length;o++)i=r[o],!(e.indexOf(i)>=0)&&(n[i]=t[i]);return n}function TE(t,e){if(t==null)return{};var n=AE(t,e),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i<o.length;i++)r=o[i],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function Pd(t){return OE(t)||LE(t)||RE(t)||NE()}function OE(t){if(Array.isArray(t))return Ad(t)}function LE(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function RE(t,e){if(t){if(typeof t=="string")return Ad(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ad(t,e)}}function Ad(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function NE(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
830In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ME(t){var e,n=t.beat,r=t.fade,i=t.beatFade,o=t.bounce,s=t.shake,a=t.flash,l=t.spin,c=t.spinPulse,u=t.spinReverse,f=t.pulse,d=t.fixedWidth,p=t.inverse,h=t.border,m=t.listItem,w=t.flip,g=t.size,y=t.rotation,v=t.pull,_=(e={"fa-beat":n,"fa-fade":r,"fa-beat-fade":i,"fa-bounce":o,"fa-shake":s,"fa-flash":a,"fa-spin":l,"fa-spin-reverse":u,"fa-spin-pulse":c,"fa-pulse":f,"fa-fw":d,"fa-inverse":p,"fa-border":h,"fa-li":m,"fa-flip":w===!0,"fa-flip-horizontal":w==="horizontal"||w==="both","fa-flip-vertical":w==="vertical"||w==="both"},lo(e,"fa-".concat(g),typeof g<"u"&&g!==null),lo(e,"fa-rotate-".concat(y),typeof y<"u"&&y!==null&&y!==0),lo(e,"fa-pull-".concat(v),typeof v<"u"&&v!==null),lo(e,"fa-swap-opacity",t.swapOpacity),e);return Object.keys(_).map(function(C){return _[C]?C:null}).filter(function(C){return C})}function DE(t){return t=t-0,t===t}function Qx(t){return DE(t)?t:(t=t.replace(/[\-_\s]+(.)?/g,function(e,n){return n?n.toUpperCase():""}),t.substr(0,1).toLowerCase()+t.substr(1))}var IE=["style"];function jE(t){return t.charAt(0).toUpperCase()+t.slice(1)}function FE(t){return t.split(";").map(function(e){return e.trim()}).filter(function(e){return e}).reduce(function(e,n){var r=n.indexOf(":"),i=Qx(n.slice(0,r)),o=n.slice(r+1).trim();return i.startsWith("webkit")?e[jE(i)]=o:e[i]=o,e},{})}function Jx(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof e=="string")return e;var r=(e.children||[]).map(function(l){return Jx(t,l)}),i=Object.keys(e.attributes||{}).reduce(function(l,c){var u=e.attributes[c];switch(c){case"class":l.attrs.className=u,delete e.attributes.class;break;case"style":l.attrs.style=FE(u);break;default:c.indexOf("aria-")===0||c.indexOf("data-")===0?l.attrs[c.toLowerCase()]=u:l.attrs[Qx(c)]=u}return l},{attrs:{}}),o=n.style,s=o===void 0?{}:o,a=TE(n,IE);return i.attrs.style=Hn(Hn({},i.attrs.style),s),t.apply(void 0,[e.tag,Hn(Hn({},i.attrs),a)].concat(Pd(r)))}var Zx=!1;try{Zx=!0}catch{}function zE(){if(!Zx&&console&&typeof console.error=="function"){var t;(t=console).error.apply(t,arguments)}}function Vg(t){if(t&&yc(t)==="object"&&t.prefix&&t.iconName&&t.icon)return t;if(Ed.icon)return Ed.icon(t);if(t===null)return null;if(t&&yc(t)==="object"&&t.prefix&&t.iconName)return t;if(Array.isArray(t)&&t.length===2)return{prefix:t[0],iconName:t[1]};if(typeof t=="string")return{prefix:"fas",iconName:t}}function nf(t,e){return Array.isArray(e)&&e.length>0||!Array.isArray(e)&&e?lo({},t,e):{}}var Wg={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1},Ft=be.forwardRef(function(t,e){var n=Hn(Hn({},Wg),t),r=n.icon,i=n.mask,o=n.symbol,s=n.className,a=n.title,l=n.titleId,c=n.maskId,u=Vg(r),f=nf("classes",[].concat(Pd(ME(n)),Pd((s||"").split(" ")))),d=nf("transform",typeof n.transform=="string"?Ed.transform(n.transform):n.transform),p=nf("mask",Vg(i)),h=kE(u,Hn(Hn(Hn(Hn({},f),d),p),{},{symbol:o,title:a,titleId:l,maskId:c}));if(!h)return zE("Could not find icon",u),null;var m=h.abstract,w={ref:e};
vendor: 5,824 bytes, line 830
830return Object.keys(n).forEach(function(g){Wg.hasOwnProperty(g)||(w[g]=n[g])}),$E(m[0],w)});Ft.displayName="FontAwesomeIcon";Ft.propTypes={beat:de.bool,border:de.bool,beatFade:de.bool,bounce:de.bool,className:de.string,fade:de.bool,flash:de.bool,mask:de.oneOfType([de.object,de.array,de.string]),maskId:de.string,fixedWidth:de.bool,inverse:de.bool,flip:de.oneOf([!0,!1,"horizontal","vertical","both"]),icon:de.oneOfType([de.object,de.array,de.string]),listItem:de.bool,pull:de.oneOf(["right","left"]),pulse:de.bool,rotation:de.oneOf([0,90,180,270]),shake:de.bool,size:de.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:de.bool,spinPulse:de.bool,spinReverse:de.bool,symbol:de.oneOfType([de.bool,de.string]),title:de.string,titleId:de.string,transform:de.oneOfType([de.string,de.object]),swapOpacity:de.bool};var $E=Jx.bind(null,be.createElement),BE={prefix:"fas",iconName:"bars",icon:[448,512,["navicon"],"f0c9","M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"]},eb={prefix:"fas",iconName:"users",icon:[640,512,[],"f0c0","M144 0a80 80 0 1 1 0 160A80 80 0 1 1 144 0zM512 0a80 80 0 1 1 0 160A80 80 0 1 1 512 0zM0 298.7C0 239.8 47.8 192 106.7 192h42.7c15.9 0 31 3.5 44.6 9.7c-1.3 7.2-1.9 14.7-1.9 22.3c0 38.2 16.8 72.5 43.3 96c-.2 0-.4 0-.7 0H21.3C9.6 320 0 310.4 0 298.7zM405.3 320c-.2 0-.4 0-.7 0c26.6-23.5 43.3-57.8 43.3-96c0-7.6-.7-15-1.9-22.3c13.6-6.3 28.7-9.7 44.6-9.7h42.7C592.2 192 640 239.8 640 298.7c0 11.8-9.6 21.3-21.3 21.3H405.3zM224 224a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zM128 485.3C128 411.7 187.7 352 261.3 352H378.7C452.3 352 512 411.7 512 485.3c0 14.7-11.9 26.7-26.7 26.7H154.7c-14.7 0-26.7-11.9-26.7-26.7z"]},HE={prefix:"fas",iconName:"globe",icon:[512,512,[127760],"f0ac","M352 256c0 22.2-1.2 43.6-3.3 64H163.3c-2.2-20.4-3.3-41.8-3.3-64s1.2-43.6 3.3-64H348.7c2.2 20.4 3.3 41.8 3.3 64zm28.8-64H503.9c5.3 20.5 8.1 41.9 8.1 64s-2.8 43.5-8.1 64H380.8c2.1-20.6 3.2-42 3.2-64s-1.1-43.4-3.2-64zm112.6-32H376.7c-10-63.9-29.8-117.4-55.3-151.6c78.3 20.7 142 77.5 171.9 151.6zm-149.1 0H167.7c6.1-36.4 15.5-68.6 27-94.7c10.5-23.6 22.2-40.7 33.5-51.5C239.4 3.2 248.7 0 256 0s16.6 3.2 27.8 13.8c11.3 10.8 23 27.9 33.5 51.5c11.6 26 20.9 58.2 27 94.7zm-209 0H18.6C48.6 85.9 112.2 29.1 190.6 8.4C165.1 42.6 145.3 96.1 135.3 160zM8.1 192H131.2c-2.1 20.6-3.2 42-3.2 64s1.1 43.4 3.2 64H8.1C2.8 299.5 0 278.1 0 256s2.8-43.5 8.1-64zM194.7 446.6c-11.6-26-20.9-58.2-27-94.6H344.3c-6.1 36.4-15.5 68.6-27 94.6c-10.5 23.6-22.2 40.7-33.5 51.5C272.6 508.8 263.3 512 256 512s-16.6-3.2-27.8-13.8c-11.3-10.8-23-27.9-33.5-51.5zM135.3 352c10 63.9 29.8 117.4 55.3 151.6C112.2 482.9 48.6 426.1 18.6 352H135.3zm358.1 0c-30 74.1-93.6 130.9-171.9 151.6c25.5-34.2 45.2-87.7 55.3-151.6H493.4z"]},tb={prefix:"fas",iconName:"code",icon:[640,512,[],"f121","M392.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm80.6 120.1c-12.5 12.5-12.5 32.8 0 45.3L562.7 256l-89.4 89.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l112-112c12.5-12.5 12.5-32.8 0-45.3l-112-112c-12.5-12.5-32.8-12.5-45.3 0zm-306.7 0c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3l112 112c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256l89.4-89.4c12.5-12.5 12.5-32.8 0-45.3z"]},nb={prefix:"fas",iconName:"comment",icon:[512,512,[128489,61669],"f075","M512 240c0 114.9-114.6 208-256 208c-37.1 0-72.3-6.4-104.1-17.9c-11.9 8.7-31.3 20.6-54.3 30.6C73.6 471.1 44.7 480 16 480c-6.5 0-12.3-3.9-14.8-9.9c-2.5-6-1.1-12.8 3.4-17.4l0 0 0 0 0 0 0 0 .3-.3c.3-.3 .7-.7 1.3-1.4c1.1-1.2 2.8-3.1 4.9-5.7c4.1-5 9.6-12.4 15.2-21.6c10-16.6 19.5-38.4 21.4-62.9C17.7 326.8 0 285.1 0 240C0 125.1 114.6 32 256 32s256 93.1 256 208z"]},rb={prefix:"fas",iconName:"bug",icon:[512,512,[],"f188","M256 0c53 0 96 43 96 96v3.6c0 15.7-12.7 28.4-28.4 28.4H188.4c-15.7 0-28.4-12.7-28.4-28.4V96c0-53 43-96 96-96zM41.4 105.4c12.5-12.5 32.8-12.5 45.3 0l64 64c.7 .7 1.3 1.4 1.9 2.1c14.2-7.3 30.4-11.4 47.5-11.4H312c17.1 0 33.2 4.1 47.5 11.4c.6-.7 1.2-1.4 1.9-2.1l64-64c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-64 64c-.7 .7-1.4 1.3-2.1 1.9c6.2 12 10.1 25.3 11.1 39.5H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H416c0 24.6-5.5 47.8-15.4 68.6c2.2 1.3 4.2 2.9 6 4.8l64 64c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0l-63.1-63.1c-24.5 21.8-55.8 36.2-90.3 39.6V240c0-8.8-7.2-16-16-16s-16 7.2-16 16V479.2c-34.5-3.4-65.8-17.8-90.3-39.6L86.6 502.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l64-64c1.9-1.9 3.9-3.4 6-4.8C101.5 367.8 96 344.6 96 320H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H96.3c1.1-14.1 5-27.5 11.1-39.5c-.7-.6-1.4-1.2-2.1-1.9l-64-64c-12.5-12.5-12.5-32.8 0-45.3z"]},UE={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]},VE={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z"]},WE=VE,ib={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]}
vendor: 4,117 bytes, line 830
830,ob={prefix:"fas",iconName:"copyright",icon:[512,512,[169],"f1f9","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM199.4 312.6c31.2 31.2 81.9 31.2 113.1 0c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9c-50 50-131 50-181 0s-50-131 0-181s131-50 181 0c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0c-31.2-31.2-81.9-31.2-113.1 0s-31.2 81.9 0 113.1z"]},sb={prefix:"fas",iconName:"book",icon:[448,512,[128212],"f02d","M96 0C43 0 0 43 0 96V416c0 53 43 96 96 96H384h32c17.7 0 32-14.3 32-32s-14.3-32-32-32V384c17.7 0 32-14.3 32-32V32c0-17.7-14.3-32-32-32H384 96zm0 384H352v64H96c-17.7 0-32-14.3-32-32s14.3-32 32-32zm32-240c0-8.8 7.2-16 16-16H336c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16zm16 48H336c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]};const KE=(t,e,n,r)=>{var o,s,a,l;const i=[n,{code:e,...r||{}}];if((s=(o=t==null?void 0:t.services)==null?void 0:o.logger)!=null&&s.forward)return t.services.logger.forward(i,"warn","react-i18next::",!0);gi(i[0])&&(i[0]=`react-i18next:: ${i[0]}`),(l=(a=t==null?void 0:t.services)==null?void 0:a.logger)!=null&&l.warn?t.services.logger.warn(...i):console!=null&&console.warn&&console.warn(...i)},Kg={},Td=(t,e,n,r)=>{gi(n)&&Kg[n]||(gi(n)&&(Kg[n]=new Date),KE(t,e,n,r))},ab=(t,e)=>()=>{if(t.isInitialized)e();else{const n=()=>{setTimeout(()=>{t.off("initialized",n)},0),e()};t.on("initialized",n)}},Od=(t,e,n)=>{t.loadNamespaces(e,ab(t,n))},Yg=(t,e,n,r)=>{if(gi(n)&&(n=[n]),t.options.preload&&t.options.preload.indexOf(e)>-1)return Od(t,n,r);n.forEach(i=>{t.options.ns.indexOf(i)<0&&t.options.ns.push(i)}),t.loadLanguages(e,ab(t,r))},YE=(t,e,n={})=>!e.languages||!e.languages.length?(Td(e,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:e.languages}),!0):e.hasLoadedNamespace(t,{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,t))return!1}}),gi=t=>typeof t=="string",qE=t=>typeof t=="object"&&t!==null,GE=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,XE={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},QE=t=>XE[t],JE=t=>t.replace(GE,QE);let Ld={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:JE};const ZE=(t={})=>{Ld={...Ld,...t}},eP=()=>Ld;let lb;const tP=t=>{lb=t},nP=()=>lb,rP={type:"3rdParty",init(t){ZE(t.options.react),tP(t)}},iP=A.createContext();class oP{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const sP=(t,e)=>{const n=A.useRef();return A.useEffect(()=>{n.current=t},[t,e]),n.current},cb=(t,e,n,r)=>t.getFixedT(e,n,r),aP=(t,e,n,r)=>A.useCallback(cb(t,e,n,r),[t,e,n,r]),Rn=(t,e={})=>{var _,C,P,b;const{i18n:n}=e,{i18n:r,defaultNS:i}=A.useContext(iP)||{},o=n||r||nP();if(o&&!o.reportNamespaces&&(o.reportNamespaces=new oP),!o){Td(o,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const x=(E,O)=>gi(O)?O:qE(O)&&gi(O.defaultValue)?O.defaultValue:Array.isArray(E)?E[E.length-1]:E,k=[x,{},!1];return k.t=x,k.i18n={},k.ready=!1,k}(_=o.options.react)!=null&&_.wait&&Td(o,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const s={...eP(),...o.options.react,...e},{useSuspense:a,keyPrefix:l}=s;let c=t||i||((C=o.options)==null?void 0:C.defaultNS);c=gi(c)?[c]:c||["translation"],(b=(P=o.reportNamespaces).addUsedNamespaces)==null||b.call(P,c);const u=(o.isInitialized||o.initializedStoreOnce)&&c.every(x=>YE(x,o,s)),f=aP(o,e.lng||null,s.nsMode==="fallback"?c:c[0],l),d=()=>f,p=()=>
830cb(o,e.lng||null,s.nsMode==="fallback"?c:c[0],l),[h,m]=A.useState(d);let w=c.join();e.lng&&(w=`${e.lng}${w}`);const g=sP(w),y=A.useRef(!0);A.useEffect(()=>{const{bindI18n:x,bindI18nStore:k}=s;y.current=!0,!u&&!a&&(e.lng?Yg(o,e.lng,c,()=>{y.current&&m(p)}):Od(o,c,()=>{y.current&&m(p)})),u&&g&&g!==w&&y.current&&m(p);const E=()=>{y.current&&m(p)};return x&&(o==null||o.on(x,E)),k&&(o==null||o.store.on(k,E)),()=>{y.current=!1,o&&(x==null||x.split(" ").forEach(O=>o.off(O,E))),k&&o&&k.split(" ").forEach(O=>o.store.off(O,E))}},[o,w]),A.useEffect(()=>{y.current&&u&&m(d)},[o,l,u]);const v=[h,o,u];if(v.t=h,v.i18n=o,v.ready=u,u||!u&&!a)return v;throw new Promise(x=>{e.lng?Yg(o,e.lng,c,()=>x()):Od(o,c,()=>x())})};function qg(){var r;const{i18n:t}=Rn(),e=[{code:"en",name:"English"},{code:"fr",name:"Français"},{code:"es",name:"Español"},{code:"de",name:"Deutsch"},{code:"it",name:"Italiano"},{code:"pt",name:"Português"},{code:"ru",name:"Русский"},{code:"ja",name:"日本語"},{code:"zh",name:"中文"},{code:"ar",name:"العربية"},{code:"hi",name:"हिंदी"},{code:"nl",name:"Nederlands"},{code:"sw",name:"Kiswahili"}],n=i=>{t.changeLanguage(i)};return S.jsxs("div",{className:"relative group",children:[S.jsxs("button",{className:"flex items-center gap-2 px-3 py-1.5 rounded-md bg-blue-700 text-white hover:bg-blue-600 transition-colors duration-200",children:[S.jsx(Ft,{icon:HE,className:"text-sm"}),S.jsx("span",{className:"text-sm",children:((r=e.find(i=>i.code===t.language))==null?void 0:r.name)||"English"})]}),S.jsx("div",{className:"absolute right-0 mt-2 w-56 bg-white rounded-lg shadow-lg py-1 hidden group-hover:block z-50",children:e.map(i=>S.jsx("button",{onClick:()=>n(i.code),className:`w-full text-left px-4 py-2 text-sm ${t.language===i.code?"bg-blue-500 text-white":"text-gray-700 hover:bg-gray-100"} transition-colors duration-200`,children:i.name},i.code))})]})}const lP=()=>{const[t,e]=A.useState(!1),[n,r]=A.useState(!1),{t:i}=Rn(),s=np().pathname.replace(/^\//,"");return A.useEffect(()=>{const a=l=>{!l.target.closest(".help-menu")&&!l.target.closest(".help-icon")&&e(!1),!l.target.closest(".mobile-menu")&&!l.target.closest(".mobile-toggle")&&r(!1)};return window.addEventListener("mousedown",a),()=>window.removeEventListener("mousedown",a)},[]),S.jsxs("nav",{className:"fixed top-0 left-0 right-0 shadow-md z-50 bg-blue-800",children:[S.jsxs("div",{className:"flex items-center justify-between h-16 px-4 md:px-6",children:[S.jsxs("a",{href:"/",className:"text-white text-xl font-bold",children:["Emi ",S.jsx("span",{className:"font-light hidden md:inline",children:i("nav.subtitle")})]}),S.jsxs("div",{className:"hidden md:flex items-center gap-4",children:[S.jsx("a",{href:"/page-views",className:`text-white ${s==="page-views"?"underline":""}`,children:i("nav.pageViews")}),S.jsx("a",{href:"/top-africa",className:`text-white ${s==="top-africa"?"underline":""}`,children:i("nav.topAfrica")}),S.jsx(qg,{}),S.jsxs("button",{onClick:()=>e(!t),className:"help-icon text-white",children:[i("common.help")," ▼"]})]}),S.jsx("button",{className:"md:hidden text-white text-xl mobile-toggle",onClick:()=>r(!n),children:S.jsx(Ft,{icon:n?ib:BE})})]}),n&&S.jsxs("div",{className:"mobile-menu md:hidden bg-blue-700 px-4 py-3 space-y-3 text-white",children:[S.jsx("a",{href:"/page-views",className:`block ${s==="page-views"?"underline":""}`,children:i("nav.pageViews")}),S.jsx("a",{href:"/top-africa",className:`block ${s==="top-africa"?"underline":""}`,children:i("nav.topAfrica")}),S.jsx(qg,{}),S.jsxs("button",{onClick:()=>e(!t),className:"block w-full text-left",children:[i("common.help")," ▼"]})]}),t&&S.jsxs("div",{className:"help-menu absolute right-2 mt-2 rounded-xl bg-white shadow-2xl w-56",children:[S.jsxs("a",{href:"https://meta.wikimedia.org/wiki/Emi_Solution",className:"footer-link",target:"_blank",children:[S.jsx(Ft,{icon:sb})," ",i("common.documentation")]}
830),S.jsxs("a",{href:"https://github.com/kaliacad/mostvisitedarticle",className:"footer-link",target:"_blank",children:[S.jsx(Ft,{icon:tb})," ",i("common.viewSource")]}),S.jsxs("a",{href:"https://github.com/kaliacad/mostvisitedarticle/issues",className:"footer-link",target:"_blank",children:[S.jsx(Ft,{icon:rb})," ",i("common.reportIssue")]}),S.jsxs("a",{href:"https://meta.wikimedia.org/w/index.php?title=Talk:Emi_Solution&action=edit&redlink=1",className:"footer-link",target:"_blank",children:[S.jsx(Ft,{icon:nb})," ",i("common.feedback")]}),S.jsxs("a",{href:"https://github.com/kaliacad.org/",className:"footer-link",target:"_blank",children:[S.jsx(Ft,{icon:eb})," ",i("common.developedBy")]}),S.jsxs("a",{href:"https://kaliacademy.org/",className:"footer-link",target:"_blank",children:[S.jsx(Ft,{icon:ob})," ",i("common.kaliAcademy")]})]})]})};function cP(){const{t}=Rn();return S.jsx("footer",{className:"bg-white border-t md:fixed md:bottom-0 w-full",children:S.jsx("div",{className:"max-w-7xl mx-auto px-4 py-3",children:S.jsxs("div",{className:"flex flex-wrap justify-center md:justify-between gap-4 text-sm",children:[S.jsx(Bi,{href:"https://meta.wikimedia.org/wiki/Emi_Solution",icon:sb,label:t("footer.documentation")}
830),S.jsx(Bi,{href:"https://github.com/kaliacad/mostvisitedarticle",icon:tb,label:t("footer.viewSource")}),S.jsx(Bi,{href:"https://github.com/kaliacad/mostvisitedarticle/issues",icon:rb,label:t("footer.reportIssue")}),S.jsx(Bi,{href:"https://meta.wikimedia.org/w/index.php?title=Talk:Emi_Solution&action=edit&redlink=1",icon:nb,label:t("footer.feedback")}),S.jsx(Bi,{href:"https://github.com/kaliacad.org/",icon:eb,label:t("footer.developedBy")}),S.jsx(Bi,{href:"https://kaliacademy.org/",icon:ob,label:t("footer.kaliAcademy")})]})})})}function Bi({href:t,icon:e,label:n}){return S.jsxs("a",{href:t,target:"_blank",className:"flex items-center gap-2 text-gray-700 hover:text-blue-700 transition",rel:"noreferrer",children:[S.jsx(Ft,{icon:e}),S.jsx("span",{className:"hidden sm:inline",children:n})]})}function ub(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var i=t.length;for(e=0;e<i;e++)t[e]&&(n=ub(t[e]))&&(r&&(r+=" "),r+=n)}else for(n in t)t[n]&&(r&&(r+=" "),r+=n);return r}function Er(){for(var t,e,n=0,r="",i=arguments.length;n<i;n++)(t=arguments[n])&&(e=ub(t))&&(r&&(r+=" "),r+=e);return r}const na=t=>typeof t=="number"&&!isNaN(t),yi=t=>typeof t=="string",Qt=t=>typeof t=="function",Ml=t=>yi(t)||Qt(t)?t:null,Rd=t=>A.isValidElement(t)||yi(t)||Qt(t)||na(t);function uP(t,e,n){n===void 0&&(n=300);const{scrollHeight:r,style:i}=t;requestAnimationFrame(()=>{i.minHeight="initial",i.height=r+"px",i.transition=`all ${n}ms`,requestAnimationFrame(()=>{i.height="0",i.padding="0",i.margin="0",setTimeout(e,n)})})}function lu(t){let{enter:e,exit:n,appendPosition:r=!1,collapse:i=!0,collapseDuration:o=300}=t;return function(s){let{children:a,position:l,preventExitTransition:c,done:u,nodeRef:f,isIn:d,playToast:p}=s;const h=r?`${e}--${l}`:e,m=r?`${n}--${l}`:n,w=A.useRef(0);return A.useLayoutEffect(()=>{const g=f.current,y=h.split(" "),v=_=>{_.target===f.current&&(p(),g.removeEventListener("animationend",v),g.removeEventListener("animationcancel",v),w.current===0&&_.type!=="animationcancel"&&g.classList.remove(...y))};g.classList.add(...y),g.addEventListener("animationend",v),g.addEventListener("animationcancel",v)},[]),A.useEffect(()=>{const g=f.current,y=()=>{g.removeEventListener("animationend",y),i?uP(g,u,o):u()};d||(c?y():(w.current=1,g.className+=` ${m}`,g.addEventListener("animationend",y)))},[d]),be.createElement(be.Fragment,null,a)}}function Gg(t,e){return t!=null?{content:t.content,containerId:t.props.containerId,id:t.props.toastId,theme:t.props.theme,type:t.props.type,data:t.props.data||{},isLoading:t.props.isLoading,icon:t.props.icon,status:e}:{}}const Lt=new Map;let ra=[];const Nd=new Set,fP=t=>Nd.forEach(e=>e(t)),fb=()=>Lt.size>0;function db(t,e){var n;if(e)return!((n=Lt.get(e))==null||!n.isToastActive(t));let r=!1;return Lt.forEach(i=>{i.isToastActive(t)&&(r=!0)}),r}function hb(t,e){Rd(t)&&(fb()||ra.push({content:t,options:e}),Lt.forEach(n=>{n.buildToast(t,e)}))}function Xg(t,e){Lt.forEach(n=>{e!=null&&e!=null&&e.containerId?(e==null?void 0:e.containerId)===n.id&&n.toggle(t,e==null?void 0:e.id):n.toggle(t,e==null?void 0:e.id)})}function dP(t){const{subscribe:e,getSnapshot:n,setProps:r}=A.useRef(function(o){const s=o.containerId||1;return{subscribe(a){const l=function(u,f,d){let p=1,h=0,m=[],w=[],g=[],y=f;const v=new Map,_=new Set,C=()=>{g=Array.from(v.values()),_.forEach(x=>x())},P=x=>{w=x==null?[]:w.filter(k=>k!==x),C()},b=x=>{const{toastId:k,onOpen:E,updateId:O,children:R}=x.props,I=O==null;x.staleId&&v.delete(x.staleId),v.set(k,x),w=[...w,x.props.toastId].filter(F=>F!==x.staleId),C(),d(Gg(x,I?"added":"updated")),I&&Qt(E)&&E(A.isValidElement(R)&&R.props)};return{id:u,props:y,observe:x=>(_.add(x),()=>_.delete(x)),toggle:(x,k)=>{v.forEach(E=>{k!=null&&k!==E.props.toastId||Qt(E.toggle)&&E.toggle(x)})},removeToast:P,toasts:v,clearQueue:()=>{h-=m.length,m=[]},buildToast:(x,k)=>{if((z=>{let{containerId:J,toastId:ne,updateId:Z}=z;const re=J?J!==u:u!==1,fe=v.has(ne)&&Z==null;return re||fe})(k))return;const{toastId:E,updateId:O,data:R,staleId:I,delay:F}=k,H=()=>{P(E)},W=O==null;W&&h++;const $={...y,style:y.toastStyle,key:p++,...Object.fromEntries(Object.entries(k).filter(z=>{let[J,ne]=z;return ne!=null})),toastId:E,updateId:O,data:R,closeToast:H,isIn:!1,className:Ml(k.className||y.toastClassName),bodyClassName:Ml(k.bodyClassName||y.bodyClassName),progressClassName:Ml(k.progressClassName||y.progressClassName),autoClose:!k.isLoading&&(M=k.autoClose,D=y.autoClose,M===!1||na(M)&&M>0?M:D),deleteToast(){const z=v.get(E),{onClose:J,children:ne}=z.props;Qt(J)&&J(A.isValidElement(ne)&&ne.props),d(Gg(z,"removed")),v.delete(E),h--,h<0&&(h=0),m.length>0?b(m.shift()):C()}};var M,D;$.closeButton=y.closeButton,k.closeButton===!1||Rd(k.closeButton)?$.closeButton=k.closeButton:k.closeButton===!0&&($.closeButton=!Rd(y.closeButton)||y.closeButton);let V=x;A.isValidElement(x)&&!yi(x.type)?V=A.cloneElement(x,{closeToast:H,toastProps:$,data:R}):Qt(x)&&(V=x({closeToast:H,toastProps:$,data:R}));const Y={content:V,props:$,staleId:I};y.limit&&y.limit>0&&h>y.limit&&W?m.push(Y):na(F)?setTimeout(()=>{b(Y)},F):b(Y)},setProps(x){y=x},setToggle:(x,k)=>{v.get(x).toggle=k},isToastActive:x=>w.some(k=>k===x),getSnapshot:()=>y.newestOnTop?g.reverse():g}}(s,o,fP);Lt.set(s,l);const c=l.observe(a);return ra.forEach(u=>hb(u.content,u.options)),ra=[],()=>{c(),Lt.delete(s)}},setProps(a){var l;(l=Lt.get(s))==null||l.setProps(a)},getSnapshot(){var a;return(a=Lt.get(s))==null?void 0:a.getSnapshot()}}}(t)).current;r(t);const i=A.useSyncExternalStore(e,n,n);
830return{getToastToRender:function(o){if(!i)return[];const s=new Map;return i.forEach(a=>{const{position:l}=a.props;s.has(l)||s.set(l,[]),s.get(l).push(a)}),Array.from(s,a=>o(a[0],a[1]))},isToastActive:db,count:i==null?void 0:i.length}}function hP(t){const[e,n]=A.useState(!1),[r,i]=A.useState(!1),o=A.useRef(null),s=A.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:a,pauseOnHover:l,closeToast:c,onClick:u,closeOnClick:f}=t;var d,p;function h(){n(!0)}function m(){n(!1)}function w(v){const _=o.current;s.canDrag&&_&&(s.didMove=!0,e&&m(),s.delta=t.draggableDirection==="x"?v.clientX-s.start:v.clientY-s.start,s.start!==v.clientX&&(s.canCloseOnClick=!1),_.style.transform=`translate3d(${t.draggableDirection==="x"?`${s.delta}px, var(--y)`:`0, calc(${s.delta}px + var(--y))`},0)`,_.style.opacity=""+(1-Math.abs(s.delta/s.removalDistance)))}function g(){document.removeEventListener("pointermove",w),document.removeEventListener("pointerup",g);const v=o.current;if(s.canDrag&&s.didMove&&v){if(s.canDrag=!1,Math.abs(s.delta)>s.removalDistance)return i(!0),t.closeToast(),void t.collapseAll();v.style.transition="transform 0.2s, opacity 0.2s",v.style.removeProperty("transform"),v.style.removeProperty("opacity")}}(p=Lt.get((d={id:t.toastId,containerId:t.containerId,fn:n}).containerId||1))==null||p.setToggle(d.id,d.fn),A.useEffect(()=>{if(t.pauseOnFocusLoss)return document.hasFocus()||m(),window.addEventListener("focus",h),window.addEventListener("blur",m),()=>{window.removeEventListener("focus",h),window.removeEventListener("blur",m)}},[t.pauseOnFocusLoss]);const y={onPointerDown:function(v){if(t.draggable===!0||t.draggable===v.pointerType){s.didMove=!1,document.addEventListener("pointermove",w),document.addEventListener("pointerup",g);const _=o.current;s.canCloseOnClick=!0,s.canDrag=!0,_.style.transition="none",t.draggableDirection==="x"?(s.start=v.clientX,s.removalDistance=_.offsetWidth*(t.draggablePercent/100)):(s.start=v.clientY,s.removalDistance=_.offsetHeight*(t.draggablePercent===80?1.5*t.draggablePercent:t.draggablePercent)/100)}},onPointerUp:function(v){const{top:_,bottom:C,left:P,right:b}=o.current.getBoundingClientRect();v.nativeEvent.type!=="touchend"&&t.pauseOnHover&&v.clientX>=P&&v.clientX<=b&&v.clientY>=_&&v.clientY<=C?m():h()}};return a&&l&&(y.onMouseEnter=m,t.stacked||(y.onMouseLeave=h)),f&&(y.onClick=v=>{u&&u(v),s.canCloseOnClick&&c()}),{playToast:h,pauseToast:m,isRunning:e,preventExitTransition:r,toastRef:o,eventHandlers:y}}function pP(t){let{delay:e,isRunning:n,closeToast:r,type:i="default",hide:o,className:s,style:a,controlledProgress:l,progress:c,rtl:u,isIn:f,theme:d}=t;const p=o||l&&c===0,h={...a,animationDuration:`${e}ms`,animationPlayState:n?"running":"paused"};l&&(h.transform=`scaleX(${c})`);const m=Er("Toastify__progress-bar",l?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${d}`,`Toastify__progress-bar--${i}`,{"Toastify__progress-bar--rtl":u}),w=Qt(s)?s({rtl:u,type:i,defaultClassName:m}):Er(m,s),g={[l&&c>=1?"onTransitionEnd":"onAnimationEnd"]:l&&c<1?null:()=>{f&&r()}};return be.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":p},be.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${d} Toastify__progress-bar--${i}`}),be.createElement("div",{role:"progressbar","aria-hidden":p?"true":"false","aria-label":"notification timer",className:w,style:h,...g}))}let mP=1;const pb=()=>""+mP++;function gP(t){return t&&(yi(t.toastId)||na(t.toastId))?t.toastId:pb()}function Es(t,e){return hb(t,e),e.toastId}function vc(t,e){return{...e,type:e&&e.type||t,toastId:gP(e)}}function nl(t){return(e,n)=>Es(e,vc(t,n))}function me(t,e){return Es(t,vc("default",e))}me.loading=(t,e)=>Es(t,vc("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...e})),me.promise=function(t,e,n){let r,{pending:i,error:o,success:s}=e;i&&(r=yi(i)?me.loading(i,n):me.loading(i.render,{...n,...i}));const a={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},l=(u,f,d)=>{if(f==null)return void me.dismiss(r);const p={type:u,...a,...n,data:d},h=yi(f)?{render:f}:f;return r?me.update(r,{...p,...h}):me(h.render,{...p,...h}),d},c=Qt(t)?t():t;return c.then(u=>l("success",s,u)).catch(u=>l("error",o,u)),c},me.success=nl("success"),me.info=nl("info"),me.error=nl("error"),me.
830warning=nl("warning"),me.warn=me.warning,me.dark=(t,e)=>Es(t,vc("default",{theme:"dark",...e})),me.dismiss=function(t){(function(e){var n;if(fb()){if(e==null||yi(n=e)||na(n))Lt.forEach(r=>{r.removeToast(e)});else if(e&&("containerId"in e||"id"in e)){const r=Lt.get(e.containerId);r?r.removeToast(e.id):Lt.forEach(i=>{i.removeToast(e.id)})}}else ra=ra.filter(r=>e!=null&&r.options.toastId!==e)})(t)},me.clearWaitingQueue=function(t){t===void 0&&(t={}),Lt.forEach(e=>{!e.props.limit||t.containerId&&e.id!==t.containerId||e.clearQueue()})},me.isActive=db,me.update=function(t,e){e===void 0&&(e={});const n=((r,i)=>{var o;let{containerId:s}=i;return(o=Lt.get(s||1))==null?void 0:o.toasts.get(r)})(t,e);if(n){const{props:r,content:i}=n,o={delay:100,...r,...e,toastId:e.toastId||t,updateId:pb()};o.toastId!==t&&(o.staleId=t);const s=o.render||i;delete o.render,Es(s,o)}},me.done=t=>{me.update(t,{progress:1})},me.onChange=function(t){return Nd.add(t),()=>{Nd.delete(t)}},me.play=t=>Xg(!0,t),me.pause=t=>Xg(!1,t);const yP=typeof window<"u"?A.useLayoutEffect:A.useEffect,rl=t=>{let{theme:e,type:n,isLoading:r,...i}=t;return be.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:e==="colored"?"currentColor":`var(--toastify-icon-color-${n})`,...i})},rf={info:function(t){return be.createElement(rl,{...t},be.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(t){return be.createElement(rl,{...t},be.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(t){return be.createElement(rl,{...t},be.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(t){return be.createElement(rl,{...t},be.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return be.createElement("div",{className:"Toastify__spinner"})}},vP=t=>{const{isRunning:e,preventExitTransition:n,toastRef:r,eventHandlers:i,playToast:o}=hP(t),{closeButton:s,children:a,autoClose:l,onClick:c,type:u,hideProgressBar:f,closeToast:d,transition:p,position:h,className:m,style:w,bodyClassName:g,bodyStyle:y,progressClassName:v,progressStyle:_,updateId:C,role:P,progress:b,rtl:x,toastId:k,deleteToast:E,isIn:O,isLoading:R,closeOnClick:I,theme:F}=t,H=Er("Toastify__toast",`Toastify__toast-theme--${F}`,`Toastify__toast--${u}`,{"Toastify__toast--rtl":x},{"Toastify__toast--close-on-click":I}),W=Qt(m)?m({rtl:x,position:h,type:u,defaultClassName:H}):Er(H,m),$=function(Y){let{theme:z,type:J,isLoading:ne,icon:Z}=Y,re=null;const fe={theme:z,type:J};return Z===!1||(Qt(Z)?re=Z({...fe,isLoading:ne}):A.isValidElement(Z)?re=A.cloneElement(Z,fe):ne?re=rf.spinner():(ze=>ze in rf)(J)&&(re=rf[J](fe))),re}(t),M=!!b||!l,D={closeToast:d,type:u,theme:F};let V=null;return s===!1||(V=Qt(s)?s(D):A.isValidElement(s)?A.cloneElement(s,D):function(Y){let{closeToast:z,theme:J,ariaLabel:ne="close"}=Y;return be.createElement("button",{className:`Toastify__close-button Toastify__close-button--${J}`,type:"button",onClick:Z=>{Z.stopPropagation(),z(Z)},"aria-label":ne},be.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},be.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(D)),be.createElement(p,{isIn:O,done:E,position:h,preventExitTransition:n,nodeRef:r,playToast:o},be.createElement("div",{id:k,onClick:c,"data-in":O,className:W,...i,style:w,ref:r},be.createElement("div",{...O&&{role:P},className:Qt(g)?g({type:u}
830):Er("Toastify__toast-body",g),style:y},$!=null&&be.createElement("div",{className:Er("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!R})},$),be.createElement("div",null,a)),V,be.createElement(pP,{...C&&!M?{key:`pb-${C}`}:{},rtl:x,theme:F,delay:l,isRunning:e,isIn:O,closeToast:d,hide:f,type:u,style:_,className:v,controlledProgress:M,progress:b||0})))},cu=function(t,e){return e===void 0&&(e=!1),{enter:`Toastify--animate Toastify__${t}-enter`,exit:`Toastify--animate Toastify__${t}-exit`,appendPosition:e}},xP=lu(cu("bounce",!0));lu(cu("slide",!0));lu(cu("zoom"));lu(cu("flip"));const bP={position:"top-right",transition:xP,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};function wP(t){let e={...bP,...t};const n=t.stacked,[r,i]=A.useState(!0),o=A.useRef(null),{getToastToRender:s,isToastActive:a,count:l}=dP(e),{className:c,style:u,rtl:f,containerId:d}=e;function p(m){const w=Er("Toastify__toast-container",`Toastify__toast-container--${m}`,{"Toastify__toast-container--rtl":f});return Qt(c)?c({position:m,rtl:f,defaultClassName:w}):Er(w,Ml(c))}function h(){n&&(i(!0),me.play())}return yP(()=>{if(n){var m;const w=o.current.querySelectorAll('[data-in="true"]'),g=12,y=(m=e.position)==null?void 0:m.includes("top");let v=0,_=0;Array.from(w).reverse().forEach((C,P)=>{const b=C;b.classList.add("Toastify__toast--stacked"),P>0&&(b.dataset.collapsed=`${r}`),b.dataset.pos||(b.dataset.pos=y?"top":"bot");const x=v*(r?.2:1)+(r?0:g*P);b.style.setProperty("--y",`${y?x:-1*x}px`),b.style.setProperty("--g",`${g}`),b.style.setProperty("--s",""+(1-(r?_:0))),v+=b.offsetHeight,_+=.025})}},[r,l,n]),be.createElement("div",{ref:o,className:"Toastify",id:d,onMouseEnter:()=>{n&&(i(!1),me.pause())},onMouseLeave:h},s((m,w)=>{const g=w.length?{...u}:{...u,pointerEvents:"none"};return be.createElement("div",{className:p(m),style:g,key:`container-${m}`},w.map(y=>{let{content:v,props:_}=y;return be.createElement(vP,{..._,stacked:n,collapseAll:h,isIn:a(_.toastId,_.containerId),style:_.style,key:`toast-${_.key}`},v)}))}))}function kP(){const[t,e]=A.useState("");return A.useEffect(()=>{async function n(){try{const o=(await(await fetch("https://commons.wikimedia.org/w/api.php?action=query&generator=categorymembers&gcmtitle=Category:Featured_pictures_on_Wikimedia_Commons&gcmtype=file&gcmlimit=10&prop=imageinfo&iiprop=url|thumbnail&iiurlwidth=1366&format=json&origin=*")).json()).query.pages,s=Object.keys(o).map(l=>o[l].imageinfo[0].thumburl),a=s[Math.floor(Math.random()*s.length)];e(a)}catch{me.error("Error fetching the featured images",{position:"top-right",hideProgressBar:!0,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0,theme:"light",autoClose:!1})}}n()},[]),S.jsxs(S.Fragment,{children:[S.jsxs("main",{role:"main",className:" relative",children:[S.jsx(lP,{}),S.jsx("div",{className:"main-content",children:S.jsx(T_,{})}),S.jsx(cP,{}),S.jsx("div",{className:"bg-black opacity-60 -z-10  absolute top-0 left-0 w-full h-full"}),S.jsx("img",{src:t,alt:"background image",className:"absolute w-full h-full top-0 left-0 -z-20"})]}),S.jsx(wP,{})]})}var mb={exports:{}};/* @license
831Papa Parse
832v5.4.1
833https://github.com/mholt/PapaParse
834License: MIT
835*/(function(t,e){(function(n,r){t.exports=r()})(Uw,function n(){var r=typeof self<"u"?self:typeof window<"u"?window:r!==void 0?r:{},i=!r.document&&!!r.postMessage,o=r.IS_PAPA_WORKER||!1,s={},a=0,l={parse:function(x,k){var E=(k=k||{}).dynamicTyping||!1;if(b(E)&&(k.dynamicTypingFunction=E,E={}),k.dynamicTyping=E,k.transform=!!b(k.transform)&&k.transform,k.worker&&l.WORKERS_SUPPORTED){var O=function(){if(!l.WORKERS_SUPPORTED)return!1;var I=(H=r.URL||r.webkitURL||null,W=n.toString(),l.BLOB_URL||(l.BLOB_URL=H.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",W,")();"],{type:"text/javascript"})))),F=new r.Worker(I),H,W;return F.onmessage=y,F.id=a++,s[F.id]=F}();return O.userStep=k.step,O.userChunk=k.chunk,O.userComplete=k.complete,O.userError=k.error,k.step=b(k.step),k.chunk=b(k.chunk),k.complete=b(k.complete),k.error=b(k.error),delete k.worker,void O.postMessage({input:x,config:k,workerId:O.id})}var R=null;return l.NODE_STREAM_INPUT,typeof x=="string"?(x=function(I){return I.charCodeAt(0)===65279?I.slice(1):I}(x),R=k.download?new f(k):new p(k)):x.readable===!0&&b(x.read)&&b(x.on)?R=new h(k):(r.File&&x instanceof File||x instanceof Object)&&(R=new d(k)),R.stream(x)},unparse:function(x,k){var E=!1,O=!0,R=",",I=`\r
836`,F='"',H=F+F,W=!1,$=null,M=!1;(function(){if(typeof k=="object"){if(typeof k.delimiter!="string"||l.BAD_DELIMITERS.filter(function(z){return k.delimiter.indexOf(z)!==-1}).length||(R=k.delimiter),(typeof k.quotes=="boolean"||typeof k.quotes=="function"||Array.isArray(k.quotes))&&(E=k.quotes),typeof k.skipEmptyLines!="boolean"&&typeof k.skipEmptyLines!="string"||(W=k.skipEmptyLines),typeof k.newline=="string"&&(I=k.newline),typeof k.quoteChar=="string"&&(F=k.quoteChar),typeof k.header=="boolean"&&(O=k.header),Array.isArray(k.columns)){if(k.columns.length===0)throw new Error("Option columns is empty");$=k.columns}k.escapeChar!==void 0&&(H=k.escapeChar+F),(typeof k.escapeFormulae=="boolean"||k.escapeFormulae instanceof RegExp)&&(M=k.escapeFormulae instanceof RegExp?k.escapeFormulae:/^[=+\-@\t\r].*$/)}})();var D=new RegExp(w(F),"g");if(typeof x=="string"&&(x=JSON.parse(x)),Array.isArray(x)){if(!x.length||Array.isArray(x[0]))return V(null,x,W);if(typeof x[0]=="object")return V($||Object.keys(x[0]),x,W)}else if(typeof x=="object")return typeof x.data=="string"&&(x.data=JSON.parse(x.data)),Array.isArray(x.data)&&(x.fields||(x.fields=x.meta&&x.meta.fields||$),x.fields||(x.fields=Array.isArray(x.data[0])?x.fields:typeof x.data[0]=="object"?Object.keys(x.data[0]):[]),Array.isArray(x.data[0])||typeof x.data[0]=="object"||(x.data=[x.data])),V(x.fields||[],x.data||[],W);throw new Error("Unable to serialize unrecognized input");function V(z,J,ne){var Z="";typeof z=="string"&&(z=JSON.parse(z)),typeof J=="string"&&(J=JSON.parse(J));var re=Array.isArray(z)&&0<z.length,fe=!Array.isArray(J[0]);if(re&&O){for(var ze=0;ze<z.length;ze++)0<ze&&(Z+=R),Z+=Y(z[ze],ze);0<J.length&&(Z+=I)}for(var ee=0;ee<J.length;ee++){var Se=re?z.length:J[ee].length,Ne=!1,ve=re?Object.keys(J[ee]).length===0:J[ee].length===0;if(ne&&!re&&(Ne=ne==="greedy"?J[ee].join("").trim()==="":J[ee].length===1&&J[ee][0].length===0),ne==="greedy"&&re){for(var ke=[],nt=0;nt<Se;nt++){var Ue=fe?z[nt]:nt;ke.push(J[ee][Ue])}Ne=ke.join("").trim()===""}if(!Ne){for(var xe=0;xe<Se;xe++){0<xe&&!ve&&(Z+=R);var Kt=re&&fe?z[xe]:xe;Z+=Y(J[ee][Kt],xe)}ee<J.length-1&&(!ne||0<Se&&!ve)&&(Z+=I)}}return Z}function Y(z,J){if(z==null)return"";if(z.constructor===Date)return JSON.stringify(z).slice(1,25);var ne=!1;M&&typeof z=="string"&&M.test(z)&&(z="'"+z,ne=!0);var Z=z.toString().replace(D,H);return(ne=ne||E===!0||typeof E=="function"&&E(z,J)||Array.isArray(E)&&E[J]||function(re,fe){for(var ze=0;ze<fe.length;ze++)if(-1<re.indexOf(fe[ze]))return!0;return!1}
836(Z,l.BAD_DELIMITERS)||-1<Z.indexOf(R)||Z.charAt(0)===" "||Z.charAt(Z.length-1)===" ")?F+Z+F:Z}}};if(l.RECORD_SEP="�",l.UNIT_SEP="�",l.BYTE_ORDER_MARK="\uFEFF",l.BAD_DELIMITERS=["\r",`
837`,'"',l.BYTE_ORDER_MARK],l.WORKERS_SUPPORTED=!i&&!!r.Worker,l.NODE_STREAM_INPUT=1,l.LocalChunkSize=10485760,l.RemoteChunkSize=5242880,l.DefaultDelimiter=",",l.Parser=g,l.ParserHandle=m,l.NetworkStreamer=f,l.FileStreamer=d,l.StringStreamer=p,l.ReadableStreamStreamer=h,r.jQuery){var c=r.jQuery;c.fn.parse=function(x){var k=x.config||{},E=[];return this.each(function(I){if(!(c(this).prop("tagName").toUpperCase()==="INPUT"&&c(this).attr("type").toLowerCase()==="file"&&r.FileReader)||!this.files||this.files.length===0)return!0;for(var F=0;F<this.files.length;F++)E.push({file:this.files[F],inputElem:this,instanceConfig:c.extend({},k)})}),O(),this;function O(){if(E.length!==0){var I,F,H,W,$=E[0];if(b(x.before)){var M=x.before($.file,$.inputElem);if(typeof M=="object"){if(M.action==="abort")return I="AbortError",F=$.file,H=$.inputElem,W=M.reason,void(b(x.error)&&x.error({name:I},F,H,W));if(M.action==="skip")return void R();typeof M.config=="object"&&($.instanceConfig=c.extend($.instanceConfig,M.config))}else if(M==="skip")return void R()}var D=$.instanceConfig.complete;$.instanceConfig.complete=function(V){b(D)&&D(V,$.file,$.inputElem),R()},l.parse($.file,$.instanceConfig)}else b(x.complete)&&x.complete()}function R(){E.splice(0,1),O()}}}function u(x){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},(function(k){var E=C(k);E.chunkSize=parseInt(E.chunkSize),k.step||k.chunk||(E.chunkSize=null),this._handle=new m(E),(this._handle.streamer=this)._config=E}).call(this,x),this.parseChunk=function(k,E){if(this.isFirstChunk&&b(this._config.beforeFirstChunk)){var O=this._config.beforeFirstChunk(k);O!==void 0&&(k=O)}this.isFirstChunk=!1,this._halted=!1;var R=this._partialLine+k;this._partialLine="";var I=this._handle.parse(R,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var F=I.meta.cursor;this._finished||(this._partialLine=R.substring(F-this._baseIndex),this._baseIndex=F),I&&I.data&&(this._rowCount+=I.data.length);var H=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(o)r.postMessage({results:I,workerId:l.WORKER_ID,finished:H});else if(b(this._config.chunk)&&!E){if(this._config.chunk(I,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);I=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(I.data),this._completeResults.errors=this._completeResults.errors.concat(I.errors),this._completeResults.meta=I.meta),this._completed||!H||!b(this._config.complete)||I&&I.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),H||I&&I.meta.paused||this._nextChunk(),I}this._halted=!0},this._sendError=function(k){b(this._config.error)?this._config.error(k):o&&this._config.error&&r.postMessage({workerId:l.WORKER_ID,error:k,finished:!1})}}function f(x){var k;(x=x||{}).chunkSize||(x.chunkSize=l.RemoteChunkSize),u.call(this,x),this._nextChunk=i?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(E){this._input=E,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(k=new XMLHttpRequest,this._config.withCredentials&&(k.withCredentials=this._config.withCredentials),i||(k.onload=P(this._chunkLoaded,this),k.onerror=P(this._chunkError,this)),k.open(this._config.downloadRequestBody?"POST":"GET",this._input,!i),this._config.downloadRequestHeaders){var E=this._config.downloadRequestHeaders;for(var O in E)k.setRequestHeader(O,E[O])}if(this._config.chunkSize){var R=this._start+this._config.chunkSize-1;k.setRequestHeader("Range","bytes="+this._start+"-"+R)}try{k.send(this._config.downloadRequestBody)}catch(I){this._chunkError(I.message)}i&&k.status===0&&this._chunkError()}},this._chunkLoaded=function(){k.readyState===4&&(k.status<200||400<=k.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:k.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(E){var O=E.getResponseHeader("Content-Range");return O===null?-1:parseInt(O.substring(O.lastIndexOf("/")+1))}(k),this.parseChunk(k.responseText)))},this._chunkError=function(E){var O=k.statusText||E;this._sendError(new Error(O))}}function d(x){var k,E;(x=x||{}).chunkSize||(x.chunkSize=l.LocalChunkSize),u.call(this,x);var O=typeof FileReader<"u";this.stream=function(R){this._input=R,E=R.slice||R.webkitSlice||R.mozSlice,O?((k=new FileReader).onload=P(this._chunkLoaded,this),k.onerror=P(this._chunkError,this)):k=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var R=this._input;if(this._config.chunkSize){var I=Math.min(this._start+this._config.chunkSize,this._input.size);R=E.call(R,this._start,I)}var F=k.readAsText(R,this._config.encoding);O||this._chunkLoaded({target:{result:F}})},this._chunkLoaded=function(R){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(R.target.result)},this._chunkError=function(){this._sendError(k.error)}}function p(x){var k;u.call(this,x=x||{}),this.stream=function(E){return k=E,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var E,O=this._config.chunkSize;return O?(E=k.substring(0,O),k=k.substring(O)):(E=k,k=""),this._finished=!k,this.parseChunk(E)}}}function h(x){u.call(this,x=x||{});var k=[],E=!0,O=!1;this.pause=function(){u.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){u.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(R){this._input=R,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){O&&k.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),k.length?this.parseChunk(k.shift()):E=!0}
837,this._streamData=P(function(R){try{k.push(typeof R=="string"?R:R.toString(this._config.encoding)),E&&(E=!1,this._checkIsFinished(),this.parseChunk(k.shift()))}catch(I){this._streamError(I)}},this),this._streamError=P(function(R){this._streamCleanUp(),this._sendError(R)},this),this._streamEnd=P(function(){this._streamCleanUp(),O=!0,this._streamData("")},this),this._streamCleanUp=P(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function m(x){var k,E,O,R=Math.pow(2,53),I=-R,F=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,H=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,W=this,$=0,M=0,D=!1,V=!1,Y=[],z={data:[],errors:[],meta:{}};if(b(x.step)){var J=x.step;x.step=function(ee){if(z=ee,re())Z();else{if(Z(),z.data.length===0)return;$+=ee.data.length,x.preview&&$>x.preview?E.abort():(z.data=z.data[0],J(z,W))}}}function ne(ee){return x.skipEmptyLines==="greedy"?ee.join("").trim()==="":ee.length===1&&ee[0].length===0}function Z(){return z&&O&&(ze("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+l.DefaultDelimiter+"'"),O=!1),x.skipEmptyLines&&(z.data=z.data.filter(function(ee){return!ne(ee)})),re()&&function(){if(!z)return;function ee(Ne,ve){b(x.transformHeader)&&(Ne=x.transformHeader(Ne,ve)),Y.push(Ne)}if(Array.isArray(z.data[0])){for(var Se=0;re()&&Se<z.data.length;Se++)z.data[Se].forEach(ee);z.data.splice(0,1)}else z.data.forEach(ee)}(),function(){if(!z||!x.header&&!x.dynamicTyping&&!x.transform)return z;function ee(Ne,ve){var ke,nt=x.header?{}:[];for(ke=0;ke<Ne.length;ke++){var Ue=ke,xe=Ne[ke];x.header&&(Ue=ke>=Y.length?"__parsed_extra":Y[ke]),x.transform&&(xe=x.transform(xe,Ue)),xe=fe(Ue,xe),Ue==="__parsed_extra"?(nt[Ue]=nt[Ue]||[],nt[Ue].push(xe)):nt[Ue]=xe}return x.header&&(ke>Y.length?ze("FieldMismatch","TooManyFields","Too many fields: expected "+Y.length+" fields but parsed "+ke,M+ve):ke<Y.length&&ze("FieldMismatch","TooFewFields","Too few fields: expected "+Y.length+" fields but parsed "+ke,M+ve)),nt}var Se=1;return!z.data.length||Array.isArray(z.data[0])?(z.data=z.data.map(ee),Se=z.data.length):z.data=ee(z.data,0),x.header&&z.meta&&(z.meta.fields=Y),M+=Se,z}()}function re(){return x.header&&Y.length===0}function fe(ee,Se){return Ne=ee,x.dynamicTypingFunction&&x.dynamicTyping[Ne]===void 0&&(x.dynamicTyping[Ne]=x.dynamicTypingFunction(Ne)),(x.dynamicTyping[Ne]||x.dynamicTyping)===!0?Se==="true"||Se==="TRUE"||Se!=="false"&&Se!=="FALSE"&&(function(ve){if(F.test(ve)){var ke=parseFloat(ve);if(I<ke&&ke<R)return!0}return!1}(Se)?parseFloat(Se):H.test(Se)?new Date(Se):Se===""?null:Se):Se;var Ne}function ze(ee,Se,Ne,ve){var ke={type:ee,code:Se,message:Ne};ve!==void 0&&(ke.row=ve),z.errors.push(ke)}this.parse=function(ee,Se,Ne){var ve=x.quoteChar||'"';if(x.newline||(x.newline=function(Ue,xe){Ue=Ue.substring(0,1048576);var Kt=new RegExp(w(xe)+"([^]*?)"+w(xe),"gm"),Dt=(Ue=Ue.replace(Kt,"")).split("\r"),on=Ue.split(`
838`),bn=1<on.length&&on[0].length<Dt[0].length;if(Dt.length===1||bn)return`
839`;for(var It=0,Ee=0;Ee<Dt.length;Ee++)Dt[Ee][0]===`
840`&&It++;return It>=Dt.length/2?`\r
841`:"\r"}(ee,ve)),O=!1,x.delimiter)b(x.delimiter)&&(x.delimiter=x.delimiter(ee),z.meta.delimiter=x.delimiter);else{var ke=function(Ue,xe,Kt,Dt,on){var bn,It,Ee,Oe;on=on||[",","	","|",";",l.RECORD_SEP,l.UNIT_SEP];for(var Mn=0;Mn<on.length;Mn++){var _e=on[Mn],Ct=0,Et=0,Dn=0;Ee=void 0;for(var Yt=new g({comments:Dt,delimiter:_e,newline:xe,preview:10}).parse(Ue),In=0;In<Yt.data.length;In++)if(Kt&&ne(Yt.data[In]))Dn++;else{var ft=Yt.data[In].length;Et+=ft,Ee!==void 0?0<ft&&(Ct+=Math.abs(ft-Ee),Ee=ft):Ee=ft}0<Yt.data.length&&(Et/=Yt.data.length-Dn),(It===void 0||Ct<=It)&&(Oe===void 0||Oe<Et)&&1.99<Et&&(It=Ct,bn=_e,Oe=Et)}return{successful:!!(x.delimiter=bn),bestDelimiter:bn}}(ee,x.newline,x.skipEmptyLines,x.comments,x.delimitersToGuess);ke.successful?x.delimiter=ke.bestDelimiter:(O=!0,x.delimiter=l.DefaultDelimiter),z.meta.delimiter=x.delimiter}var nt=C(x);return x.preview&&x.header&&nt.preview++,k=ee,E=new g(nt),z=E.parse(k,Se,Ne),Z(),D?{meta:{paused:!0}}:z||{meta:{paused:!1}}},this.paused=function(){return D},this.pause=function(){D=!0,E.abort(),k=b(x.chunk)?"":k.substring(E.getCharIndex())},this.resume=function(){W.streamer._halted?(D=!1,W.streamer.parseChunk(k,!0)):setTimeout(W.resume,3)},this.aborted=function(){return V},this.abort=function(){V=!0,E.abort(),z.meta.aborted=!0,b(x.complete)&&x.complete(z),k=""}}function w(x){return x.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function g(x){var k,E=(x=x||{}).delimiter,O=x.newline,R=x.comments,I=x.step,F=x.preview,H=x.fastMode,W=k=x.quoteChar===void 0||x.quoteChar===null?'"':x.quoteChar;
841if(x.escapeChar!==void 0&&(W=x.escapeChar),(typeof E!="string"||-1<l.BAD_DELIMITERS.indexOf(E))&&(E=","),R===E)throw new Error("Comment character same as delimiter");R===!0?R="#":(typeof R!="string"||-1<l.BAD_DELIMITERS.indexOf(R))&&(R=!1),O!==`
842`&&O!=="\r"&&O!==`\r
843`&&(O=`
844`);var $=0,M=!1;this.parse=function(D,V,Y){if(typeof D!="string")throw new Error("Input must be a string");var z=D.length,J=E.length,ne=O.length,Z=R.length,re=b(I),fe=[],ze=[],ee=[],Se=$=0;if(!D)return Pt();if(x.header&&!V){var Ne=D.split(O)[0].split(E),ve=[],ke={},nt=!1;for(var Ue in Ne){var xe=Ne[Ue];b(x.transformHeader)&&(xe=x.transformHeader(xe,Ue));var Kt=xe,Dt=ke[xe]||0;for(0<Dt&&(nt=!0,Kt=xe+"_"+Dt),ke[xe]=Dt+1;ve.includes(Kt);)Kt=Kt+"_"+Dt;ve.push(Kt)}if(nt){var on=D.split(O);on[0]=ve.join(E),D=on.join(O)}}if(H||H!==!1&&D.indexOf(k)===-1){for(var bn=D.split(O),It=0;It<bn.length;It++){if(ee=bn[It],$+=ee.length,It!==bn.length-1)$+=O.length;else if(Y)return Pt();if(!R||ee.substring(0,Z)!==R){if(re){if(fe=[],Dn(ee.split(E)),Qr(),M)return Pt()}else Dn(ee.split(E));if(F&&F<=It)return fe=fe.slice(0,F),Pt(!0)}}return Pt()}for(var Ee=D.indexOf(E,$),Oe=D.indexOf(O,$),Mn=new RegExp(w(W)+w(k),"g"),_e=D.indexOf(k,$);;)if(D[$]!==k)if(R&&ee.length===0&&D.substring($,$+Z)===R){if(Oe===-1)return Pt();$=Oe+ne,Oe=D.indexOf(O,$),Ee=D.indexOf(E,$)}else if(Ee!==-1&&(Ee<Oe||Oe===-1))ee.push(D.substring($,Ee)),$=Ee+J,Ee=D.indexOf(E,$);else{if(Oe===-1)break;if(ee.push(D.substring($,Oe)),ft(Oe+ne),re&&(Qr(),M))return Pt();if(F&&fe.length>=F)return Pt(!0)}else for(_e=$,$++;;){if((_e=D.indexOf(k,_e+1))===-1)return Y||ze.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:fe.length,index:$}),In();if(_e===z-1)return In(D.substring($,_e).replace(Mn,k));if(k!==W||D[_e+1]!==W){if(k===W||_e===0||D[_e-1]!==W){Ee!==-1&&Ee<_e+1&&(Ee=D.indexOf(E,_e+1)),Oe!==-1&&Oe<_e+1&&(Oe=D.indexOf(O,_e+1));var Ct=Yt(Oe===-1?Ee:Math.min(Ee,Oe));if(D.substr(_e+1+Ct,J)===E){ee.push(D.substring($,_e).replace(Mn,k)),D[$=_e+1+Ct+J]!==k&&(_e=D.indexOf(k,$)),Ee=D.indexOf(E,$),Oe=D.indexOf(O,$);break}var Et=Yt(Oe);if(D.substring(_e+1+Et,_e+1+Et+ne)===O){if(ee.push(D.substring($,_e).replace(Mn,k)),ft(_e+1+Et+ne),Ee=D.indexOf(E,$),_e=D.indexOf(k,$),re&&(Qr(),M))return Pt();if(F&&fe.length>=F)return Pt(!0);break}ze.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:fe.length,index:$}),_e++}}else _e++}return In();function Dn(At){fe.push(At),Se=$}function Yt(At){var Ca=0;if(At!==-1){var Di=D.substring(_e+1,At);Di&&Di.trim()===""&&(Ca=Di.length)}return Ca}function In(At){return Y||(At===void 0&&(At=D.substring($)),ee.push(At),$=z,Dn(ee),re&&Qr()),Pt()}function ft(At){$=At,Dn(ee),ee=[],Oe=D.indexOf(O,$)}function Pt(At){return{data:fe,errors:ze,meta:{delimiter:E,linebreak:O,aborted:M,truncated:!!At,cursor:Se+(V||0)}}}function Qr(){I(Pt()),fe=[],ze=[]}},this.abort=function(){M=!0},this.getCharIndex=function(){return $}}function y(x){var k=x.data,E=s[k.workerId],O=!1;if(k.error)E.userError(k.error,k.file);else if(k.results&&k.results.data){var R={abort:function(){O=!0,v(k.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:_,resume:_};if(b(E.userStep)){for(var I=0;I<k.results.data.length&&(E.userStep({data:k.results.data[I],errors:k.results.errors,meta:k.results.meta},R),!O);I++);delete k.results}else b(E.userChunk)&&(E.userChunk(k.results,R,k.file),delete k.results)}k.finished&&!O&&v(k.workerId,k.results)}function v(x,k){var E=s[x];b(E.userComplete)&&E.userComplete(k),E.terminate(),delete s[x]}function _(){throw new Error("Not implemented.")}function C(x){if(typeof x!="object"||x===null)return x;var k=Array.isArray(x)?[]:{};for(var E in x)k[E]=C(x[E]);return k}function P(x,k){return function(){x.apply(k,arguments)}}function b(x){return typeof x=="function"}return o&&(r.onmessage=function(x){var k=x.data;if(l.WORKER_ID===void 0&&k&&(l.WORKER_ID=k.workerId),typeof k.input=="string")r.postMessage({workerId:l.WORKER_ID,results:l.parse(k.input,k.config),finished:!0});else if(r.File&&k.input instanceof File||k.input instanceof Object){var E=l.parse(k.input,k.config);E&&r.postMessage({workerId:l.WORKER_ID,results:E,finished:!0})}}),(f.prototype=Object.create(u.prototype)).constructor=f,(d.prototype=Object.create(u.prototype)).constructor=d,(p.prototype=Object.create(p.prototype)).constructor=p,(h.prototype=Object.create(u.prototype)).constructor=h,l})})(mb);var SP=mb.exports;const _P=Fc(SP),xc={Africa:[{code:"DZ",name:"Algeria"}
844,{code:"AO",name:"Angola"},{code:"BJ",name:"Benin"},{code:"BW",name:"Botswana"},{code:"BF",name:"Burkina Faso"},{code:"BI",name:"Burundi"},{code:"CV",name:"Cabo Verde"},{code:"CM",name:"Cameroon"},{code:"CF",name:"Central African Republic"},{code:"TD",name:"Chad"},{code:"KM",name:"Comoros"},{code:"CD",name:"Democratic Republic of the Congo"},{code:"DJ",name:"Djibouti"},{code:"EG",name:"Egypt"},{code:"GQ",name:"Equatorial Guinea"},{code:"ER",name:"Eritrea"},{code:"SZ",name:"Eswatini"},{code:"ET",name:"Ethiopia"},{code:"GA",name:"Gabon"},{code:"GM",name:"Gambia"},{code:"GH",name:"Ghana"},{code:"GN",name:"Guinea"},{code:"GW",name:"Guinea-Bissau"},{code:"CI",name:"Ivory Coast"},{code:"KE",name:"Kenya"},{code:"LS",name:"Lesotho"},{code:"LR",name:"Liberia"},{code:"LY",name:"Libya"},{code:"MG",name:"Madagascar"},{code:"MW",name:"Malawi"},{code:"ML",name:"Mali"},{code:"MR",name:"Mauritania"},{code:"MU",name:"Mauritius"},{code:"MA",name:"Morocco"},{code:"MZ",name:"Mozambique"},{code:"NA",name:"Namibia"},{code:"NE",name:"Niger"},{code:"NG",name:"Nigeria"},{code:"CG",name:"Republic of the Congo"},{code:"RW",name:"Rwanda"},{code:"ST",name:"Sao Tome and Principe"},{code:"SN",name:"Senegal"},{code:"SC",name:"Seychelles"},{code:"SL",name:"Sierra Leone"},{code:"SO",name:"Somalia"},{code:"ZA",name:"South Africa"},{code:"SS",name:"South Sudan"},{code:"SD",name:"Sudan"},{code:"TZ",name:"Tanzania"},{code:"TG",name:"Togo"},{code:"TN",name:"Tunisia"},{code:"UG",name:"Uganda"},{code:"ZM",name:"Zambia"},{code:"ZW",name:"Zimbabwe"}],America:[{code:"AG",name:"Antigua and Barbuda"},{code:"AR",name:"Argentina"},{code:"BS",name:"Bahamas"},{code:"BB",name:"Barbados"},{code:"BZ",name:"Belize"},{code:"BO",name:"Bolivia"},{code:"BR",name:"Brazil"},{code:"CA",name:"Canada"},{code:"CL",name:"Chile"},{code:"CO",name:"Colombia"},{code:"CR",name:"Costa Rica"},{code:"CU",name:"Cuba"},{code:"DM",name:"Dominica"},{code:"DO",name:"Dominican Republic"},{code:"EC",name:"Ecuador"},{code:"SV",name:"El Salvador"},{code:"GD",name:"Grenada"},{code:"GT",name:"Guatemala"},{code:"GY",name:"Guyana"},{code:"HT",name:"Haiti"},{code:"HN",name:"Honduras"},{code:"JM",name:"Jamaica"},{code:"MX",name:"Mexico"},{code:"NI",name:"Nicaragua"},{code:"PA",name:"Panama"},{code:"PY",name:"Paraguay"},{code:"PE",name:"Peru"},{code:"KN",name:"Saint Kitts and Nevis"},{code:"LC",name:"Saint Lucia"},{code:"VC",name:"Saint Vincent and the Grenadines"},{code:"SR",name:"Suriname"},{code:"TT",name:"Trinidad and Tobago"},{code:"US",name:"United States"},{code:"UY",name:"Uruguay"},{code:"VE",name:"Venezuela"}],Asia:[{code:"AF",name:"Afghanistan"},{code:"AM",name:"Armenia"},{code:"AZ",name:"Azerbaijan"},{code:"BH",name:"Bahrain"},{code:"BD",name:"Bangladesh"},{code:"BT",name:"Bhutan"},{code:"BN",name:"Brunei"},{code:"KH",name:"Cambodia"},{code:"CN",name:"China"},{code:"CY",name:"Cyprus"},{code:"GE",name:"Georgia"},{code:"IN",name:"India"},{code:"ID",name:"Indonesia"},{code:"IR",name:"Iran"},{code:"IQ",name:"Iraq"},{code:"IL",name:"Israel"},{code:"JP",name:"Japan"},{code:"JO",name:"Jordan"},{code:"KZ",name:"Kazakhstan"},{code:"KW",name:"Kuwait"},{code:"KG",name:"Kyrgyzstan"},{code:"LA",name:"Laos"},{code:"LB",name:"Lebanon"},{code:"MY",name:"Malaysia"},{code:"MV",name:"Maldives"},{code:"MN",name:"Mongolia"},{code:"MM",name:"Myanmar"},{code:"NP",name:"Nepal"},{code:"KP",name:"North Korea"},{code:"OM",name:"Oman"},{code:"PK",name:"Pakistan"},{code:"PS",name:"Palestine"},{code:"PH",name:"Philippines"},{code:"QA",name:"Qatar"},{code:"SA",name:"Saudi Arabia"},{code:"SG",name:"Singapore"},{code:"KR",name:"South Korea"},{code:"LK",name:"Sri Lanka"},{code:"SY",name:"Syria"},{code:"TJ",name:"Tajikistan"},{code:"TH",name:"Thailand"},{code:"TL",name:"Timor-Leste"},{code:"TR",name:"Turkey"},{code:"TM",name:"Turkmenistan"},{code:"AE",name:"United Arab Emirates"},{code:"UZ",name:"Uzbekistan"},{code:"VN",name:"Vietnam"},{code:"YE",name:"Yemen"}],Europe:[{code:"AL",name:"Albania"},{code:"AD",name:"Andorra"},{code:"AT",name:"Austria"},{code:"BY",name:"Belarus"},{code:"BE",name:"Belgium"},{code:"BA",name:"Bosnia and Herzegovina"},{code:"BG",name:"Bulgaria"},{code:"HR",name:"Croatia"},{code:"CY",name:"Cyprus"},{code:"CZ",name:"Czech Republic"},{code:"DK",name:"Denmark"},{code:"EE",name:"Estonia"},{code:"FI",name:"Finland"},{code:"FR",name:"France"},{code:"DE",name:"Germany"},{code:"GR",name:"Greece"},{code:"HU",name:"Hungary"},{code:"IS",name:"Iceland"},{code:"IE",name:"Ireland"},{code:"IT",name:"Italy"},{code:"LV",name:"Latvia"},{code:"LI",name:"Liechtenstein"},{code:"LT",name:"Lithuania"},{code:"LU",name:"Luxembourg"},{code:"MT",name:"Malta"},{code:"MD",name:"Moldova"},{code:"MC",name:"Monaco"},{code:"ME",name:"Montenegro"},{code:"NL",name:"Netherlands"},{code:"MK",name:"North Macedonia"},{code:"NO",name:"Norway"},{code:"PL",name:"Poland"},{code:"PT",name:"Portugal"},{code:"RO",name:"Romania"},{code:"RU",name:"Russia"},{code:"SM",name:"San Marino"},{code:"RS",name:"Serbia"},{code:"SK",name:"Slovakia"},{code:"SI",name:"Slovenia"},{code:"ES",name:"Spain"},{code:"SE",name:"Sweden"},{code:"CH",name:"Switzerland"},{code:"UA",name:"Ukraine"},{code:"GB",name:"United Kingdom"}],Oceania:[{code:"AU",name:"Australia"},{code:"FJ",name:"Fiji"},{code:"KI",name:"Kiribati"},{code:"MH",name:"Marshall Islands"},{code:"FM",name:"Micronesia"},{code:"NR",name:"Nauru"},{code:"NZ",name:"New Zealand"},{code:"PW",name:"Palau"},{code:"PG",name:"Papua New Guinea"},{code:"WS",name:"Samoa"}
844,{code:"SB",name:"Solomon Islands"},{code:"TO",name:"Tonga"},{code:"TV",name:"Tuvalu"},{code:"VU",name:"Vanuatu"}]},Md=be.forwardRef(({data:t,label:e,value:n,defaultValue:r,onChange:i},o)=>S.jsxs("div",{className:"select_container",children:[S.jsx("label",{htmlFor:`select_option${e}`,className:"select_label",children:e}),S.jsx("select",{ref:o,id:`select_option${e}`,className:"select_options",value:n||r||t[0]&&t[0].value,onChange:s=>i(s.target.value),children:t.map((s,a)=>S.jsx("option",{value:s.value,children:s.label??s.value},a))})]}));Md.displayName="Menu";function CP({country:t,onChangeCountry:e,defaultCountry:n,continent:r,onChangeContinent:i,defaultContinent:o}){const s=A.useRef(null),{t:a}=Rn();A.useEffect(()=>{n&&e(n)},[n]),A.useEffect(()=>{e(s.current.value)},[r]);const l=u=>{e(u)},c=u=>{i(u)};return S.jsxs("div",{className:"country_select flex max-md:flex-col",children:[S.jsx(Md,{label:a("form.continent"),className:"continent",data:Object.keys(xc).map(u=>({value:u,label:u})),value:r,onChange:c,defaultValue:o}),S.jsx(Md,{label:a("form.country"),className:"country",data:xc[r??o].map(u=>({value:u.code,label:u.name})),value:t,onChange:l,defaultValue:n,ref:s})]})}function gb(t,e){return function(){return t.apply(e,arguments)}}const{toString:EP}=Object.prototype,{getPrototypeOf:gp}=Object,uu=(t=>e=>{const n=EP.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Nn=t=>(t=t.toLowerCase(),e=>uu(e)===t),fu=t=>e=>typeof e===t,{isArray:Do}=Array,ia=fu("undefined");function PP(t){return t!==null&&!ia(t)&&t.constructor!==null&&!ia(t.constructor)&&gn(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const yb=Nn("ArrayBuffer");function AP(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&yb(t.buffer),e}const TP=fu("string"),gn=fu("function"),vb=fu("number"),du=t=>t!==null&&typeof t=="object",OP=t=>t===!0||t===!1,Dl=t=>{if(uu(t)!=="object")return!1;const e=gp(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},LP=Nn("Date"),RP=Nn("File"),NP=Nn("Blob"),MP=Nn("FileList"),DP=t=>du(t)&&gn(t.pipe),IP=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||gn(t.append)&&((e=uu(t))==="formdata"||e==="object"&&gn(t.toString)&&t.toString()==="[object FormData]"))},jP=Nn("URLSearchParams"),[FP,zP,$P,BP]=["ReadableStream","Request","Response","Headers"].map(Nn),HP=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function wa(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,i;if(typeof t!="object"&&(t=[t]),Do(t))for(r=0,i=t.length;r<i;r++)e.call(null,t[r],r,t);else{const o=n?Object.getOwnPropertyNames(t):Object.keys(t),s=o.length;let a;for(r=0;r<s;r++)a=o[r],e.call(null,t[a],a,t)}}function xb(t,e){e=e.toLowerCase();const n=Object.keys(t);let r=n.length,i;for(;r-- >0;)if(i=n[r],e===i.toLowerCase())return i;return null}const bb=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,wb=t=>!ia(t)&&t!==bb;function Dd(){const{caseless:t}=wb(this)&&this||{},e={},n=(r,i)=>{const o=t&&xb(e,i)||i;Dl(e[o])&&Dl(r)?e[o]=Dd(e[o],r):Dl(r)?e[o]=Dd({},r):Do(r)?e[o]=r.slice():e[o]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&wa(arguments[r],n);return e}const UP=(t,e,n,{allOwnKeys:r}={})=>(wa(e,(i,o)=>{n&&gn(i)?t[o]=gb(i,n):t[o]=i},{allOwnKeys:r}),t),VP=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),WP=(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},KP=(t,e,n,r)=>{let i,o,s;const a={};if(e=e||{},t==null)return e;do{for(i=Object.getOwnPropertyNames(t),o=i.length;o-- >0;)s=i[o],(!r||r(s,t,e))&&!a[s]&&(e[s]=t[s],a[s]=!0);t=n!==!1&&gp(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},YP=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return r!==-1&&r===n},qP=t=>{if(!t)return null;if(Do(t))return t;let e=t.length;if(!vb(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},GP=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&gp(Uint8Array)),XP=(t,e)=>{const r=(t&&t[Symbol.iterator]).call(t);let i;for(;
vendor: 5,004 bytes, line 844
844(i=r.next())&&!i.done;){const o=i.value;e.call(t,o[0],o[1])}},QP=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},JP=Nn("HTMLFormElement"),ZP=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Qg=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),eA=Nn("RegExp"),kb=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};wa(n,(i,o)=>{let s;(s=e(i,o,t))!==!1&&(r[o]=s||i)}),Object.defineProperties(t,r)},tA=t=>{kb(t,(e,n)=>{if(gn(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];if(gn(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},nA=(t,e)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return Do(t)?r(t):r(String(t).split(e)),n},rA=()=>{},iA=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e,of="abcdefghijklmnopqrstuvwxyz",Jg="0123456789",Sb={DIGIT:Jg,ALPHA:of,ALPHA_DIGIT:of+of.toUpperCase()+Jg},oA=(t=16,e=Sb.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n};function sA(t){return!!(t&&gn(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const aA=t=>{const e=new Array(10),n=(r,i)=>{if(du(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[i]=r;const o=Do(r)?[]:{};return wa(r,(s,a)=>{const l=n(s,i+1);!ia(l)&&(o[a]=l)}),e[i]=void 0,o}}return r};return n(t,0)},lA=Nn("AsyncFunction"),cA=t=>t&&(du(t)||gn(t))&&gn(t.then)&&gn(t.catch),N={isArray:Do,isArrayBuffer:yb,isBuffer:PP,isFormData:IP,isArrayBufferView:AP,isString:TP,isNumber:vb,isBoolean:OP,isObject:du,isPlainObject:Dl,isReadableStream:FP,isRequest:zP,isResponse:$P,isHeaders:BP,isUndefined:ia,isDate:LP,isFile:RP,isBlob:NP,isRegExp:eA,isFunction:gn,isStream:DP,isURLSearchParams:jP,isTypedArray:GP,isFileList:MP,forEach:wa,merge:Dd,extend:UP,trim:HP,stripBOM:VP,inherits:WP,toFlatObject:KP,kindOf:uu,kindOfTest:Nn,endsWith:YP,toArray:qP,forEachEntry:XP,matchAll:QP,isHTMLForm:JP,hasOwnProperty:Qg,hasOwnProp:Qg,reduceDescriptors:kb,freezeMethods:tA,toObjectSet:nA,toCamelCase:ZP,noop:rA,toFiniteNumber:iA,findKey:xb,global:bb,isContextDefined:wb,ALPHABET:Sb,generateString:oA,isSpecCompliantForm:sA,toJSONObject:aA,isAsyncFn:lA,isThenable:cA};function ce(t,e,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}N.inherits(ce,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:N.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const _b=ce.prototype,Cb={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{Cb[t]={value:t}});Object.defineProperties(ce,Cb);Object.defineProperty(_b,"isAxiosError",{value:!0});ce.from=(t,e,n,r,i,o)=>{const s=Object.create(_b);return N.toFlatObject(t,s,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),ce.call(s,t.message,e,n,r,i),s.cause=t,s.name=t.name,o&&Object.assign(s,o),s};const uA=null;function Id(t){return N.isPlainObject(t)||N.isArray(t)}function Eb(t){return N.endsWith(t,"[]")?t.slice(0,-2):t}function Zg(t,e,n){return t?t.concat(e).map(function(i,o){return i=Eb(i),!n&&o?"["+i+"]":i}).join(n?".":""):e}function fA(t){return N.isArray(t)&&!t.some(Id)}const dA=N.toFlatObject(N,{},null,function(e){return/^is[A-Z]/.test(e)});function hu(t,e,n){if(!N.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=N.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,w){return!N.isUndefined(w[m])});const r=n.metaTokens,i=n.visitor||u,o=n.dots,s=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&N.isSpecCompliantForm(e);if(!N.isFunction(i))throw new TypeError("visitor must be a function");function c(h){if(h===null)return"";if(N.isDate(h))return h.toISOString();if(!l&&N.isBlob(h))throw new ce("Blob is not supported. Use a Buffer instead.");return N.isArrayBuffer(h)||N.isTypedArray(h)?l&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function u(h,m,w){let g=h;if(h&&!w&&typeof h=="object"){if(N.endsWith(m,"{}"))m=r?m:m.slice(0,-2),h=JSON.stringify(h);else if(N.isArray(h)&&fA(h)||(N.isFileList(h)||N.endsWith(m,"[]"))&&(g=N.toArray(h)))return m=Eb(m),g.forEach(function(v,_){!(N.isUndefined(v)||v===null)&&e.append(s===!0?Zg([m],_,o):s===null?m:m+"[]",c(v))}),!1}return Id(h)?!0:(e.append(Zg(w,m,o),c(h)),!1)}const f=[],d=Object.assign(dA,{defaultVisitor:u,convertValue:c,isVisitable:Id});function p(h,m){if(!N.isUndefined(h)){if(f.indexOf(h)!==-1)throw Error("Circular reference detected in "+m.join("."));
vendor: 4,780 bytes, line 844
844f.push(h),N.forEach(h,function(g,y){(!(N.isUndefined(g)||g===null)&&i.call(e,g,N.isString(y)?y.trim():y,m,d))===!0&&p(g,m?m.concat(y):[y])}),f.pop()}}if(!N.isObject(t))throw new TypeError("data must be an object");return p(t),e}function ey(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function yp(t,e){this._pairs=[],t&&hu(t,this,e)}const Pb=yp.prototype;Pb.append=function(e,n){this._pairs.push([e,n])};Pb.toString=function(e){const n=e?function(r){return e.call(this,r,ey)}:ey;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function hA(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ab(t,e,n){if(!e)return t;const r=n&&n.encode||hA,i=n&&n.serialize;let o;if(i?o=i(e,n):o=N.isURLSearchParams(e)?e.toString():new yp(e,n).toString(r),o){const s=t.indexOf("#");s!==-1&&(t=t.slice(0,s)),t+=(t.indexOf("?")===-1?"?":"&")+o}return t}class ty{constructor(){this.handlers=[]}use(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){N.forEach(this.handlers,function(r){r!==null&&e(r)})}}const Tb={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},pA=typeof URLSearchParams<"u"?URLSearchParams:yp,mA=typeof FormData<"u"?FormData:null,gA=typeof Blob<"u"?Blob:null,yA={isBrowser:!0,classes:{URLSearchParams:pA,FormData:mA,Blob:gA},protocols:["http","https","file","blob","url","data"]},vp=typeof window<"u"&&typeof document<"u",vA=(t=>vp&&["ReactNative","NativeScript","NS"].indexOf(t)<0)(typeof navigator<"u"&&navigator.product),xA=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",bA=vp&&window.location.href||"http://localhost",wA=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:vp,hasStandardBrowserEnv:vA,hasStandardBrowserWebWorkerEnv:xA,origin:bA},Symbol.toStringTag,{value:"Module"})),On={...wA,...yA};function kA(t,e){return hu(t,new On.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,o){return On.isNode&&N.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},e))}function SA(t){return N.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function _A(t){const e={},n=Object.keys(t);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],e[o]=t[o];return e}function Ob(t){function e(n,r,i,o){let s=n[o++];if(s==="__proto__")return!0;const a=Number.isFinite(+s),l=o>=n.length;return s=!s&&N.isArray(i)?i.length:s,l?(N.hasOwnProp(i,s)?i[s]=[i[s],r]:i[s]=r,!a):((!i[s]||!N.isObject(i[s]))&&(i[s]=[]),e(n,r,i[s],o)&&N.isArray(i[s])&&(i[s]=_A(i[s])),!a)}if(N.isFormData(t)&&N.isFunction(t.entries)){const n={};return N.forEachEntry(t,(r,i)=>{e(SA(r),i,n,0)}),n}return null}function CA(t,e,n){if(N.isString(t))try{return(e||JSON.parse)(t),N.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}const ka={transitional:Tb,adapter:["xhr","http","fetch"],transformRequest:[function(e,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,o=N.isObject(e);if(o&&N.isHTMLForm(e)&&(e=new FormData(e)),N.isFormData(e))return i?JSON.stringify(Ob(e)):e;if(N.isArrayBuffer(e)||N.isBuffer(e)||N.isStream(e)||N.isFile(e)||N.isBlob(e)||N.isReadableStream(e))return e;if(N.isArrayBufferView(e))return e.buffer;if(N.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return kA(e,this.formSerializer).toString();if((a=N.isFileList(e))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return hu(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return o||i?(n.setContentType("application/json",!1),CA(e)):e}],transformResponse:[function(e){const n=this.transitional||ka.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(N.isResponse(e)||N.isReadableStream(e))return e;if(e&&N.isString(e)&&(r&&!this.responseType||i)){const s=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(a){if(s)throw a.name==="SyntaxError"?ce.from(a,ce.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:On.classes.FormData,Blob:On.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};
vendor: 7,522 bytes, lines 844-846
844N.forEach(["delete","get","head","post","put","patch"],t=>{ka.headers[t]={}});const EA=N.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),PA=t=>{const e={};let n,r,i;return t&&t.split(`
845`).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||e[n]&&EA[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},ny=Symbol("internals");function Qo(t){return t&&String(t).trim().toLowerCase()}function Il(t){return t===!1||t==null?t:N.isArray(t)?t.map(Il):String(t)}function AA(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}const TA=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function sf(t,e,n,r,i){if(N.isFunction(r))return r.call(this,e,n);if(i&&(e=n),!!N.isString(e)){if(N.isString(r))return e.indexOf(r)!==-1;if(N.isRegExp(r))return r.test(e)}}function OA(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function LA(t,e){const n=N.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(i,o,s){return this[r].call(this,e,i,o,s)},configurable:!0})})}class Wt{constructor(e){e&&this.set(e)}set(e,n,r){const i=this;function o(a,l,c){const u=Qo(l);if(!u)throw new Error("header name must be a non-empty string");const f=N.findKey(i,u);(!f||i[f]===void 0||c===!0||c===void 0&&i[f]!==!1)&&(i[f||l]=Il(a))}const s=(a,l)=>N.forEach(a,(c,u)=>o(c,u,l));if(N.isPlainObject(e)||e instanceof this.constructor)s(e,n);else if(N.isString(e)&&(e=e.trim())&&!TA(e))s(PA(e),n);else if(N.isHeaders(e))for(const[a,l]of e.entries())o(l,a,r);else e!=null&&o(n,e,r);return this}get(e,n){if(e=Qo(e),e){const r=N.findKey(this,e);if(r){const i=this[r];if(!n)return i;if(n===!0)return AA(i);if(N.isFunction(n))return n.call(this,i,r);if(N.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Qo(e),e){const r=N.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||sf(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let i=!1;function o(s){if(s=Qo(s),s){const a=N.findKey(r,s);a&&(!n||sf(r,r[a],a,n))&&(delete r[a],i=!0)}}return N.isArray(e)?e.forEach(o):o(e),i}clear(e){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const o=n[r];(!e||sf(this,this[o],o,e,!0))&&(delete this[o],i=!0)}return i}normalize(e){const n=this,r={};return N.forEach(this,(i,o)=>{const s=N.findKey(r,o);if(s){n[s]=Il(i),delete n[o];return}const a=e?OA(o):String(o).trim();a!==o&&delete n[o],n[a]=Il(i),r[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return N.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=e&&N.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(`
846`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const r=new this(e);return n.forEach(i=>r.set(i)),r}static accessor(e){const r=(this[ny]=this[ny]={accessors:{}}).accessors,i=this.prototype;function o(s){const a=Qo(s);r[a]||(LA(i,s),r[a]=!0)}return N.isArray(e)?e.forEach(o):o(e),this}}Wt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);N.reduceDescriptors(Wt.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}});N.freezeMethods(Wt);function af(t,e){const n=this||ka,r=e||n,i=Wt.from(r.headers);let o=r.data;return N.forEach(t,function(a){o=a.call(n,o,i.normalize(),e?e.status:void 0)}),i.normalize(),o}function Lb(t){return!!(t&&t.__CANCEL__)}function Io(t,e,n){ce.call(this,t??"canceled",ce.ERR_CANCELED,e,n),this.name="CanceledError"}N.inherits(Io,ce,{__CANCEL__:!0});function Rb(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new ce("Request failed with status code "+n.status,[ce.ERR_BAD_REQUEST,ce.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function RA(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function NA(t,e){t=t||10;const n=new Array(t),r=new Array(t);let i=0,o=0,s;return e=e!==void 0?e:1e3,function(l){const c=Date.now(),u=r[o];s||(s=c),n[i]=l,r[i]=c;let f=o,d=0;for(;f!==i;)d+=n[f++],f=f%t;if(i=(i+1)%t,i===o&&(o=(o+1)%t),c-s<e)return;const p=u&&c-u;return p?Math.round(d*1e3/p):void 0}}function MA(t,e){let n=0;const r=1e3/e;let i=null;return function(){const s=this===!0,a=Date.now();if(s||a-n>r)return i&&(clearTimeout(i),i=null),n=a,t.apply(null,arguments);i||(i=setTimeout(()=>(i=null,n=Date.now(),t.apply(null,arguments)),r-(a-n)))}}const bc=(t,e,n=3)=>{let r=0;const i=NA(50,250);return MA(o=>{const s=o.loaded,a=o.lengthComputable?o.total:void 0,l=s-r,c=i(l),u=s<=a;r=s;const f={loaded:s,total:a,progress:a?s/a:void 0,bytes:l,rate:c||void 0,estimated:c&&a&&u?(a-s)/c:void 0,event:o,lengthComputable:a!=null};f[e?"download":"upload"]=!0,t(f)},n)},DA=On.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(o){let s=o;return e&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(s){const a=N.isString(s)?i(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}(),IA=On.hasStandardBrowserEnv?{write(t,e,n,r,i,o){const s=[t+"="+encodeURIComponent(e)];N.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),N.isString(r)&&s.push("path="+r),N.isString(i)&&s.push("domain="+i),o===!0&&s.push("secure"),document.cookie=s.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function jA(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function FA(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function Nb(t,e){return t&&!jA(e)?FA(t,e):e}const ry=t=>t instanceof Wt?{...t}:t;function Pi(t,e){e=e||{};const n={};function r(c,u,f){return N.isPlainObject(c)&&N.isPlainObject(u)?N.merge.call({caseless:f},c,u):N.isPlainObject(u)?N.merge({},u):N.isArray(u)?u.slice():u}function i(c,u,f){if(N.isUndefined(u)){if(!N.isUndefined(c))return r(void 0,c,f)}else return r(c,u,f)}function o(c,u){if(!N.isUndefined(u))return r(void 0,u)}function s(c,u){if(N.isUndefined(u)){if(!N.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function a(c,u,f){if(f in e)return r(c,u);if(f in t)return r(void 0,c)}const l={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(c,u)=>i(ry(c),ry(u),!0)};
846return N.forEach(Object.keys(Object.assign({},t,e)),function(u){const f=l[u]||i,d=f(t[u],e[u],u);N.isUndefined(d)&&f!==a||(n[u]=d)}),n}const Mb=t=>{const e=Pi({},t);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:o,headers:s,auth:a}=e;e.headers=s=Wt.from(s),e.url=Ab(Nb(e.baseURL,e.url),t.params,t.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let l;if(N.isFormData(n)){if(On.hasStandardBrowserEnv||On.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((l=s.getContentType())!==!1){const[c,...u]=l?l.split(";").map(f=>f.trim()).filter(Boolean):[];s.setContentType([c||"multipart/form-data",...u].join("; "))}}if(On.hasStandardBrowserEnv&&(r&&N.isFunction(r)&&(r=r(e)),r||r!==!1&&DA(e.url))){const c=i&&o&&IA.read(o);c&&s.set(i,c)}return e},zA=typeof XMLHttpRequest<"u",$A=zA&&function(t){return new Promise(function(n,r){const i=Mb(t);let o=i.data;const s=Wt.from(i.headers).normalize();let{responseType:a}=i,l;function c(){i.cancelToken&&i.cancelToken.unsubscribe(l),i.signal&&i.signal.removeEventListener("abort",l)}let u=new XMLHttpRequest;u.open(i.method.toUpperCase(),i.url,!0),u.timeout=i.timeout;function f(){if(!u)return;const p=Wt.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),m={data:!a||a==="text"||a==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:p,config:t,request:u};Rb(function(g){n(g),c()},function(g){r(g),c()},m),u=null}"onloadend"in u?u.onloadend=f:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(f)},u.onabort=function(){u&&(r(new ce("Request aborted",ce.ECONNABORTED,i,u)),u=null)},u.onerror=function(){r(new ce("Network Error",ce.ERR_NETWORK,i,u)),u=null},u.ontimeout=function(){let h=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const m=i.transitional||Tb;i.timeoutErrorMessage&&(h=i.timeoutErrorMessage),r(new ce(h,m.clarifyTimeoutError?ce.ETIMEDOUT:ce.ECONNABORTED,i,u)),u=null},o===void 0&&s.setContentType(null),"setRequestHeader"in u&&N.forEach(s.toJSON(),function(h,m){u.setRequestHeader(m,h)}),N.isUndefined(i.withCredentials)||(u.withCredentials=!!i.withCredentials),a&&a!=="json"&&(u.responseType=i.responseType),typeof i.onDownloadProgress=="function"&&u.addEventListener("progress",bc(i.onDownloadProgress,!0)),typeof i.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",bc(i.onUploadProgress)),(i.cancelToken||i.signal)&&(l=p=>{u&&(r(!p||p.type?new Io(null,t,u):p),u.abort(),u=null)},i.cancelToken&&i.cancelToken.subscribe(l),i.signal&&(i.signal.aborted?l():i.signal.addEventListener("abort",l)));const d=RA(i.url);if(d&&On.protocols.indexOf(d)===-1){r(new ce("Unsupported protocol "+d+":",ce.ERR_BAD_REQUEST,t));return}u.send(o||null)})},BA=(t,e)=>{let n=new AbortController,r;const i=function(l){if(!r){r=!0,s();const c=l instanceof Error?l:this.reason;n.abort(c instanceof ce?c:new Io(c instanceof Error?c.message:c))}};let o=e&&setTimeout(()=>{i(new ce(`timeout ${e} of ms exceeded`,ce.ETIMEDOUT))},e);const s=()=>{t&&(o&&clearTimeout(o),o=null,t.forEach(l=>{l&&(l.removeEventListener?l.removeEventListener("abort",i):l.unsubscribe(i))}),t=null)};t.forEach(l=>l&&l.addEventListener&&l.addEventListener("abort",i));const{signal:a}=n;return a.unsubscribe=s,[a,()=>{o&&clearTimeout(o),o=null}]},HA=function*(t,e){let n=t.byteLength;if(!e||n<e){yield t;return}let r=0,i;for(;r<n;)i=r+e,yield t.slice(r,i),r=i},UA=async function*(t,e,n){for await(const r of t)yield*HA(ArrayBuffer.isView(r)?r:await n(String(r)),e)},iy=(t,e,n,r,i)=>{const o=UA(t,e,i);let s=0;return new ReadableStream({type:"bytes",async pull(a){const{done:l,value:c}=await o.next();if(l){a.close(),r();return}let u=c.byteLength;n&&n(s+=u),a.enqueue(new Uint8Array(c))},cancel(a){return r(a),o.return()}},{highWaterMark:2})},oy=(t,e)=>{const n=t!=null;return r=>setTimeout(()=>e({lengthComputable:n,total:t,loaded:r}))},pu=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Db=pu&&typeof ReadableStream=="function",jd=pu&&(typeof TextEncoder=="function"?(t=>e=>t.encode(e))(new TextEncoder):async t=>new Uint8Array(await new Response(t).arrayBuffer())),VA=Db&&(()=>{let t=!1;
846const e=new Request(On.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e})(),sy=64*1024,Fd=Db&&!!(()=>{try{return N.isReadableStream(new Response("").body)}catch{}})(),wc={stream:Fd&&(t=>t.body)};pu&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!wc[e]&&(wc[e]=N.isFunction(t[e])?n=>n[e]():(n,r)=>{throw new ce(`Response type '${e}' is not supported`,ce.ERR_NOT_SUPPORT,r)})})})(new Response);const WA=async t=>{if(t==null)return 0;if(N.isBlob(t))return t.size;if(N.isSpecCompliantForm(t))return(await new Request(t).arrayBuffer()).byteLength;if(N.isArrayBufferView(t))return t.byteLength;if(N.isURLSearchParams(t)&&(t=t+""),N.isString(t))return(await jd(t)).byteLength},KA=async(t,e)=>{const n=N.toFiniteNumber(t.getContentLength());return n??WA(e)},YA=pu&&(async t=>{let{url:e,method:n,data:r,signal:i,cancelToken:o,timeout:s,onDownloadProgress:a,onUploadProgress:l,responseType:c,headers:u,withCredentials:f="same-origin",fetchOptions:d}=Mb(t);c=c?(c+"").toLowerCase():"text";let[p,h]=i||o||s?BA([i,o],s):[],m,w;const g=()=>{!m&&setTimeout(()=>{p&&p.unsubscribe()}),m=!0};let y;try{if(l&&VA&&n!=="get"&&n!=="head"&&(y=await KA(u,r))!==0){let P=new Request(e,{method:"POST",body:r,duplex:"half"}),b;N.isFormData(r)&&(b=P.headers.get("content-type"))&&u.setContentType(b),P.body&&(r=iy(P.body,sy,oy(y,bc(l)),null,jd))}N.isString(f)||(f=f?"cors":"omit"),w=new Request(e,{...d,signal:p,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",withCredentials:f});let v=await fetch(w);const _=Fd&&(c==="stream"||c==="response");if(Fd&&(a||_)){const P={};["status","statusText","headers"].forEach(x=>{P[x]=v[x]});const b=N.toFiniteNumber(v.headers.get("content-length"));v=new Response(iy(v.body,sy,a&&oy(b,bc(a,!0)),_&&g,jd),P)}c=c||"text";let C=await wc[N.findKey(wc,c)||"text"](v,t);return!_&&g(),h&&h(),await new Promise((P,b)=>{Rb(P,b,{data:C,headers:Wt.from(v.headers),status:v.status,statusText:v.statusText,config:t,request:w})})}catch(v){throw g(),v&&v.name==="TypeError"&&/fetch/i.test(v.message)?Object.assign(new ce("Network Error",ce.ERR_NETWORK,t,w),{cause:v.cause||v}):ce.from(v,v&&v.code,t,w)}}),zd={http:uA,xhr:$A,fetch:YA};N.forEach(zd,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const ay=t=>`- ${t}`,qA=t=>N.isFunction(t)||t===null||t===!1,Ib={getAdapter:t=>{t=N.isArray(t)?t:[t];const{length:e}=t;let n,r;const i={};for(let o=0;o<e;o++){n=t[o];let s;if(r=n,!qA(n)&&(r=zd[(s=String(n)).toLowerCase()],r===void 0))throw new ce(`Unknown adapter '${s}'`);if(r)break;i[s||"#"+o]=r}if(!r){const o=Object.entries(i).map(([a,l])=>`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let s=e?o.length>1?`since :
847`+o.map(ay).join(`
848`):" "+ay(o[0]):"as no adapter specified";throw new ce("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:zd};function lf(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Io(null,t)}function ly(t){return lf(t),t.headers=Wt.from(t.headers),t.data=af.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Ib.getAdapter(t.adapter||ka.adapter)(t).then(function(r){return lf(t),r.data=af.call(t,t.transformResponse,r),r.headers=Wt.from(r.headers),r},function(r){return Lb(r)||(lf(t),r&&r.response&&(r.response.data=af.call(t,t.transformResponse,r.response),r.response.headers=Wt.from(r.response.headers))),Promise.reject(r)})}const jb="1.7.2",xp={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{xp[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const cy={};xp.transitional=function(e,n,r){function i(o,s){return"[Axios v"+jb+"] Transitional option '"+o+"'"+s+(r?". "+r:"")}return(o,s,a)=>{if(e===!1)throw new ce(i(s," has been removed"+(n?" in "+n:"")),ce.ERR_DEPRECATED);return n&&!cy[s]&&(cy[s]=!0,console.warn(i(s," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(o,s,a):!0}};function GA(t,e,n){if(typeof t!="object")throw new ce("options must be an object",ce.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let i=r.length;for(;i-- >0;){const o=r[i],s=e[o];if(s){const a=t[o],l=a===void 0||s(a,o,t);if(l!==!0)throw new ce("option "+o+" must be "+l,ce.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ce("Unknown option "+o,ce.ERR_BAD_OPTION)}}const $d={assertOptions:GA,validators:xp},yr=$d.validators;class vi{constructor(e){this.defaults=e,this.interceptors={request:new ty,response:new ty}}async request(e,n){try{return await this._request(e,n)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const o=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=`
849`+o):r.stack=o}catch{}}throw r}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Pi(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:o}=n;r!==void 0&&$d.assertOptions(r,{silentJSONParsing:yr.transitional(yr.boolean),forcedJSONParsing:yr.transitional(yr.boolean),clarifyTimeoutError:yr.transitional(yr.boolean)}
vendor: 2,599 bytes, line 849
849,!1),i!=null&&(N.isFunction(i)?n.paramsSerializer={serialize:i}:$d.assertOptions(i,{encode:yr.function,serialize:yr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=o&&N.merge(o.common,o[n.method]);o&&N.forEach(["delete","get","head","post","put","patch","common"],h=>{delete o[h]}),n.headers=Wt.concat(s,o);const a=[];let l=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(l=l&&m.synchronous,a.unshift(m.fulfilled,m.rejected))});const c=[];this.interceptors.response.forEach(function(m){c.push(m.fulfilled,m.rejected)});let u,f=0,d;if(!l){const h=[ly.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,c),d=h.length,u=Promise.resolve(n);f<d;)u=u.then(h[f++],h[f++]);return u}d=a.length;let p=n;for(f=0;f<d;){const h=a[f++],m=a[f++];try{p=h(p)}catch(w){m.call(this,w);break}}try{u=ly.call(this,p)}catch(h){return Promise.reject(h)}for(f=0,d=c.length;f<d;)u=u.then(c[f++],c[f++]);return u}getUri(e){e=Pi(this.defaults,e);const n=Nb(e.baseURL,e.url);return Ab(n,e.params,e.paramsSerializer)}}N.forEach(["delete","get","head","options"],function(e){vi.prototype[e]=function(n,r){return this.request(Pi(r||{},{method:e,url:n,data:(r||{}).data}))}});N.forEach(["post","put","patch"],function(e){function n(r){return function(o,s,a){return this.request(Pi(a||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:s}))}}vi.prototype[e]=n(),vi.prototype[e+"Form"]=n(!0)});class bp{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(i=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](i);r._listeners=null}),this.promise.then=i=>{let o;const s=new Promise(a=>{r.subscribe(a),o=a}).then(i);return s.cancel=function(){r.unsubscribe(o)},s},e(function(o,s,a){r.reason||(r.reason=new Io(o,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}static source(){let e;return{token:new bp(function(i){e=i}),cancel:e}}}function XA(t){return function(n){return t.apply(null,n)}}function QA(t){return N.isObject(t)&&t.isAxiosError===!0}const Bd={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
849alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Bd).forEach(([t,e])=>{Bd[e]=t});function Fb(t){const e=new vi(t),n=gb(vi.prototype.request,e);return N.extend(n,vi.prototype,e,{allOwnKeys:!0}),N.extend(n,e,null,{allOwnKeys:!0}),n.create=function(i){return Fb(Pi(t,i))},n}const Te=Fb(ka);Te.Axios=vi;Te.CanceledError=Io;Te.CancelToken=bp;Te.isCancel=Lb;Te.VERSION=jb;Te.toFormData=hu;Te.AxiosError=ce;Te.Cancel=Te.CanceledError;Te.all=function(e){return Promise.all(e)};Te.spread=XA;Te.isAxiosError=QA;Te.mergeConfig=Pi;Te.AxiosHeaders=Wt;Te.formToJSON=t=>Ob(N.isHTMLForm(t)?new FormData(t):t);Te.getAdapter=Ib.getAdapter;Te.HttpStatusCode=Bd;Te.default=Te;const JA=async(t,e)=>{try{return(await Te.get("https://api.bigdatacloud.net/data/reverse-geocode-client",{params:{latitude:t,longitude:e,localityLanguage:"en"}})).data}catch{return null}},ZA=({onSubmit:t,loading:e,countryUrl:n,continentUrl:r})=>{const[i,o]=A.useState({}),s=new Date;s.setDate(s.getDate()-1);const a=s.toISOString().split("T")[0],[l,c]=A.useState({country:"",date:a,access:"all-access"}),{t:u}=Rn(),f=A.useRef(!0);A.useEffect(()=>{const v=async(_,C)=>{try{const P=await JA(_,C);c(b=>({...b,country:P}))}catch{me.error(u("form.errorLocation"),{autoClose:!1,position:"top-right",hideProgressBar:!0,draggable:!0,progress:void 0})}};navigator.geolocation?navigator.geolocation.getCurrentPosition(_=>{const{latitude:C,longitude:P}=_.coords;v(C,P)},()=>{me.error(u("form.errorGeolocation"),{autoClose:!1,position:"top-right",hideProgressBar:!0,draggable:!0,progress:void 0})}):me.error(u("form.geolocationNotSupported"),{autoClose:!1,position:"top-right",hideProgressBar:!0,draggable:!0,progress:void 0})},[u]);const[d,p]=A.useState("CD"),[h,m]=A.useState("Africa");A.useEffect(()=>{!l.country&&d&&c(v=>({...v,country:d}))},[d,l.country]),A.useEffect(()=>{(async()=>(n&&(p(n),c(v=>({...v,country:n}))),r&&m(r)))()},[n,r]),A.useEffect(()=>{if(f.current){f.current=!1;return}if(l.country&&typeof l.country=="string"&&l.country.length>0&&l.date&&h&&typeof h=="string"&&h.length>0){const v=g();if(Object.keys(v).length===0){const[_,C,P]=l.date.split("-");t({...l,year:_,month:C,day:P,continent:h})}}},[l.country,l.date,l.access,h]);const w=v=>{const{name:_,value:C}=v.target;c({...l,[_]:C})},g=A.useCallback(()=>{const v={};return l.country||(v.country=u("form.countryRequired")),l.date||(v.date=u("form.dateRequired")),v},[l.country,l.date,u]),y=v=>{v.preventDefault();const _=g();if(Object.keys(_).length>0)o(_),me.error(_.date,{position:"top-center",draggable:!0,progress:void 0});else{o({});const[C,P,b]=l.date.split("-");t({...l,year:C,month:P,day:b,continent:h})}};return S.jsx("form",{onSubmit:y,className:"w-full formBorder py-5 rounded-xl max-md:w-[95vw]",children:S.jsxs("div",{className:"flex flex-col gap-[0.5rem] justify-between items-center w-full",children:[S.jsx("div",{className:"text-start mb-2 py-5",children:S.jsx("p",{className:"date text-[20px] max-md:text-xs text-center",children:u("form.fillForm")})}),S.jsxs("div",{className:"inputs flex gap-[1rem] max-md:flex-col max-md:text-xs",children:[S.jsx(CP,{country:d,onChangeCountry:v=>{c({...l,country:v}),p(v)},defaultCountry:"CD",continent:h,onChangeContinent:v=>m(v),defaultContinent:"Africa"}),S.jsx("div",{className:"select_container country_select",children:S.jsxs("div",{children:[S.jsx("label",{className:"select_label",children:u("form.date")}),S.jsx("input",{id:"fullDate",type:"date",name:"date",className:"select_options",value:l.date,onChange:w})]})}),S.jsx("div",{className:"select_container country_select",children:S.jsxs("div",{children:[S.jsx("label",{htmlFor:"",className:"select_label",children:u("form.platform")}),S.jsxs("select",{className:"select_options",name:"access",value:l.access,onChange:w,children:[S.jsx("option",{value:"all-access",children:u("form.allAccess")}),S.jsx("option",{value:"desktop",children:u("form.desktop")}
849),S.jsx("option",{value:"mobile-app",children:u("form.mobileApp")}),S.jsx("option",{value:"mobile-web",children:u("form.mobileWeb")})]}),i.access&&S.jsx("div",{className:"error",children:i.access})]})})]}),S.jsx("button",{type:"submit",className:" py-[0.7rem] my-5 bg-green-500 text-white px-6 text-[18px] font-600 w-56 max-md:text-xs",children:u(e?"form.sending":"form.submit")})]})})},Hd=(t,e)=>`https://${e}.org/wiki/${t}`,uy="./article-placeholder.png",eT=async(t,e)=>{const n={action:"query",prop:"pageimages",pithumbsize:500,pilicense:"any",pilimit:50,format:"json",origin:"*",titles:t};try{const i=(await Te.get(`https://${e}.org/w/api.php`,{params:n})).data.query.pages;return Object.values(i).map(s=>{var a;return((a=s.thumbnail)==null?void 0:a.source)||uy})[0]}catch{return uy}},tT=async(t,e)=>{try{const n=await Te.get(`https://${t}.org/w/api.php`,{params:{action:"query",prop:"contributors",titles:e,pclimit:"max",format:"json",origin:"*"}});return(i=>[...new Set(Object.values(i.query.pages)[0].contributors.map(s=>s.name))].length)(n.data)}catch{return null}},zb=t=>t!=null?t!=null&&t.includes("_")?t.replace(/_/g," "):t:"N/A",nT=async(t,e)=>{try{return(await Te.get(`https://${t}.org/api/rest_v1/page/summary/${e}`)).data.description}catch{return null}},$b=({article:t,project:e,views_ceil:n,rank:r,country:i})=>{const[o,s]=A.useState(null),[a,l]=A.useState(null),[c,u]=A.useState(null),{t:f}=Rn();return A.useEffect(()=>{const d=async()=>{try{const m=await eT(t,e);s(m)}catch{s(null)}},p=async()=>{try{const m=await tT(e,t);l(m)}catch{l(null)}},h=async()=>{try{const m=await nT(e,t);u(m)}catch{u(null)}};p(),d(),h()},[t,e]),S.jsxs("div",{className:"article-card flex flex-col bg-[#ffff] hover:shadow-[0px_0px_15px_0px_#718096b8] shadow-[0px_0px_7px_0px_#a9a9a9] duration-500 rounded-md w-full overflow-hidden max-w-[400px]",children:[S.jsx("div",{className:"card-image-container",children:S.jsx("img",{src:o||"./article-placeholder.png",alt:t,className:"article-image bg-gray-200 !object-cover"})}),S.jsxs("div",{className:"article-content",children:[S.jsx("h3",{className:"article-title",children:S.jsx("a",{href:Hd(t,e),target:"_blank",children:zb(t)})}),S.jsxs("div",{className:"article-description flex flex-col gap-2",children:[S.jsxs("p",{children:[S.jsxs("span",{children:[f("article.description"),": "]}),c||f("article.noDescription"),S.jsx("span",{})]}),S.jsxs("p",{children:[S.jsxs("span",{children:[f("article.country"),":"]})," ",S.jsx("span",{children:i||f("article.notAvailable")})]}),S.jsxs("p",{children:[S.jsxs("span",{children:[f("article.project"),": "]})," ",S.jsx("span",{children:e})]}),S.jsxs("p",{children:[S.jsxs("span",{children:[f("article.rank"),": "]})," ",S.jsx("span",{children:r})]}),S.jsxs("p",{children:[S.jsxs("span",{children:[f("article.views"),": "]})," ",S.jsx("span",{children:n})]}),S.jsxs("p",{children:[S.jsxs("span",{children:[f("article.editors"),": "]})," ",S.jsx("span",{children:a||f("article.notFound")})]})]}),S.jsx("a",{href:Hd(t,e),target:"_blank",rel:"noopener noreferrer",className:"article-link",children:"Lire l'article"})]})]})},rT=Te.create({headers:{"User-Agent":"MyApp/1.0 (Contact: [email protected])"}}),iT=async({country:t,access:e,year:n,month:r,day:i,t:o})=>{try{const s=r.padStart(2,"0"),a=i.padStart(2,"0"),l=`https://wikimedia.org/api/rest_v1/metrics/pageviews/top-per-country/${t}/${e}/${n}/${s}/${a}`;return await rT.get(l)}catch{me.info(o("common.noResultsForFilters"),{autoClose:5e3,position:"bottom-center",hideProgressBar:!0,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0,theme:"light"})}},Bb=({items:t,itemsPerPage:e,onPageChange:n,onCurrentChange:r,currentPage:i,totalPages:o})=>{A.useEffect(()=>{r(1)},[t,e]),A.useEffect(()=>{const l=t.slice((i-1)*e,i*e);n(i,l)},[i,t,e]);const s=()=>{i>1&&r(i-1)},a=()=>{i<o&&r(i+1)};return S.jsxs("div",{className:"pagination flex items-center justify-center gap-4 my-4",children:[S.jsx("button",{onClick:s,disabled:i===1,className:"bg-gray-300 hover:cursor-pointer",children:"Previous"}),S.jsxs("span",{className:"mx-4 font-bold text-xl text-white",children:["Page ",i," of ",o]}),S.jsx("button",{onClick:a,disabled:i===o,className:"bg-gray-300 hover:cursor-pointer",children:"Next"})]})},oT=({articles:t,setFilteredArticles:e})=>{const[n,r]=A.useState(""),i=o=>{const s=o.target.value;if(r(s),s!==""){const a=t.filter(l=>l.article.toLowerCase().includes(s.toLowerCase()));e(a)}else e(t)};return S.jsxs("div",{className:"flex items-center gap-[10px] py-2 px-5 border border-solid border-gray-300 rounded-full",children:[S.jsx(Ft,{icon:UE,className:"text-gray-300 hover:cursor-pointer"}),S.jsx("input",{className:"outline-none bg-transparent text-gray-300",type:"text",value:n,onChange:i,placeholder:"Rechercher des articles..."})]})};function sT(t){const e=[];for(let n=0;n<t;n++)e.push(S.jsxs("div",{className:"article-cardskeleton",children:[S.jsx("div",{className:"article-imageskeleton 
849skeleton"}),S.jsxs("div",{className:"article-content-skeleton",children:[S.jsx("div",{className:"article-title-skeleton skeleton"}),S.jsx("div",{className:"article-author skeleton"}),S.jsx("div",{className:"article-date skeleton"})]})]},n));return e}const Hb=({nombre:t=1})=>S.jsx("div",{children:S.jsx("div",{className:"articles-gallery",children:sT(t)})});async function aT(t){const e=`https://${t}.org/w/api.php`,n={action:"query",meta:"siteinfo",format:"json",siprop:"general|namespaces",origin:"*"};try{const i=(await Te.get(e,{params:n})).data,o=i.query.general.mainpage.replace(" ","_"),s=Object.values(i.query.namespaces).filter(a=>a.id!==0).map(a=>a["*"].replace(" ","_"));return{mainpage:o,namespaces:s}}catch{return{mainpage:"",namespaces:[]}}}const lT=["Special","Wikipedia","Media"];function cT(t,e){const n=["-","404.php","XHamster",e.mainpage],r=lT.concat(e.namespaces);if(n.includes(t))return!1;for(const i of r)if(t.startsWith(i+":"))return!1;return!0}const Ub=async t=>(await Promise.all(t.map(async n=>{const r=await aT(n.project);return{...n,wikiInfo:r}}))).filter(n=>cT(n.title,n.wikiInfo));function Vb({articlesData:t}){const{t:e}=Rn();return S.jsx("div",{className:"p-4 text-white",children:S.jsx("div",{className:"overflow-x-auto",children:S.jsxs("table",{className:"min-w-full",children:[S.jsx("thead",{children:S.jsxs("tr",{children:[S.jsx("th",{className:"border-b border-solid border-black px-4 py-2 text-center",children:e("table.rank")}),S.jsx("th",{className:"border-b border-solid border-black px-4 py-2 text-center",children:e("table.country")}),S.jsx("th",{className:"border-b border-solid border-black px-4 py-2 text-left",children:e("table.articles")}),S.jsx("th",{className:"border-b border-solid border-black px-4 py-2 text-left",children:e("table.project")}),S.jsx("th",{className:"border-b border-solid border-black px-4 py-2 text-left",children:e("table.views")})]})}),S.jsx("tbody",{children:t?t.map(n=>S.jsxs(S.Fragment,{children:[n.rank==1&&S.jsx("tr",{className:"text-center",children:S.jsx("td",{colSpan:"5",className:"text-xl pt-2 mb-3 border-b border-blue-500 border-solid",children:S.jsx("b",{children:n.country})})}),S.jsxs("tr",{children:[S.jsx("td",{className:"border border-black px-4 py-2 text-center",children:n.rank}),S.jsx("td",{className:"border border-black px-4 py-2 text-center",children:n.country}),S.jsx("td",{className:"border border-black px-4 py-2",children:S.jsx("a",{href:Hd(n.title,n.project),target:"_blank",className:"text-blue-300 hover:text-blue-500",children:n.title})}),S.jsx("td",{className:"border border-black px-4 py-2",children:n.project}),S.jsx("td",{className:"border border-black px-4 py-2",children:n.views})]},n.rank)]})):null})]})})})}const uT=(t,e)=>{const n=xc[t].find(r=>r.code===e);return n?n.name:e};function fy(){const{t}=Rn(),[e,n]=A.useState(!1),[r,i]=A.useState([]),[o,s]=A.useState(!1),[a]=A.useState(window.location.origin+window.location.pathname),[l,c]=A.useState(""),[u,f]=A.useState([]),[d,p]=A.useState(1),h=10,[m,w]=A.useState(""),[g,y]=A.useState(""),[v,_]=A.useState(r),[C,P]=A.useState("card"),b=A.useCallback((I,F)=>{f(F)},[]),x=A.useCallback(I=>{p(I)},[]),k=A.useCallback(async I=>{n(!0);try{const F=await iT({...I,t});if(F&&F.data&&F.data.items&&F.data.items.length>0){const H=await Ub(F.data.items[0].articles.map(W=>({...W,title:W.article,country:uT(I.continent,F.data.items[0].country)})));i(H),c(a+"permanent/"+I.country+"_"+I.access+"_"+I.date+"_"+I.continent)}else i([])}catch(F){typeof F=="string"?me.error(F,{autoClose:1e3,position:"bottom-center",hideProgressBar:!0,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0,theme:"light"}):F.code==="ECONNABORTED"?me.error(t("common.requestTimeout"),{autoClose:!1,position:"bottom-center",hideProgressBar:!0,closeOnClick:!0,pauseOnHover:!0}):me.error(F.response?F.response.data:F.message,{autoClose:1e3,position:"bottom-center",hideProgressBar:!0,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0,theme:"light"}),i([])}finally{n(!1)}},[a,t]);A.useEffect(()=>{if(a.includes("permanent")){const I=a.split("permanent")[1].slice(1).split("_");w(I[0]),y(I[3]);const F=I[2].split("-"),H={};H.country=I[0],H.access=I[1],H.continent=I[3],H.year=F[0],H.month=F[1],H.day=F[2],k(H)}},[a,k]);async function E(){await navigator.clipboard.writeText(l).then(()=>me.success(t("common.linkCopied"),{position:"top-center",hideProgressBar:!0,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0,theme:"dark"}))}const O=()=>{const I=_P.unparse(r.map(({article:$,project:M,rank:D,views_ceil:V,country:Y})=>({article:$,project:M,rank:D,views_ceil:V,country:Y}))),F=new Blob([I],{type:"text/csv;charset=utf-8;"}),H=document.createElement("a"),W=URL.createObjectURL(F);H.href=W,H.setAttribute("download","top_visited_articles.csv"),document.body.appendChild(H
849),H.click(),document.body.removeChild(H)},R=()=>{const I=JSON.stringify(r,null,2),F=new Blob([I],{type:"application/json;charset=utf-8;"}),H=document.createElement("a"),W=URL.createObjectURL(F);H.href=W,H.setAttribute("download","top_visited_articles.json"),document.body.appendChild(H),H.click(),document.body.removeChild(H)};return A.useEffect(()=>{_(r),p(1)},[r]),S.jsx("div",{children:S.jsx("div",{className:"container mx-auto py-4 mb-8",children:S.jsxs("div",{className:"container mx-auto flex_center",children:[S.jsx("div",{className:"bg-slate-100 rounded-xl max-md:flex max-md:justify-center",children:S.jsx(ZA,{onSubmit:k,loading:e,continentUrl:g,countryUrl:m})}),e&&S.jsx("div",{children:S.jsx("ul",{className:"flex flex-wrap items-center justify-center pt-4 gap-2 max-md:flex-col",children:[1,2,3].map((I,F)=>S.jsx("div",{className:" max-md:w-[90vw]",children:S.jsx(Hb,{element:I})},F))})}),r.length>0&&S.jsxs("div",{className:"flex justify-between max-md:flex-col-reverse pt-4",children:[S.jsxs("div",{className:"relative flex text-left",children:[S.jsxs("div",{className:"relative inline-block text-left",children:[S.jsxs("button",{onClick:()=>s(!o),className:"inline-flex justify-center ml-2 w-full rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500",id:"options-menu",children:[t("common.export"),S.jsx("svg",{className:"-mr-1 ml-2 h-5 w-5",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:S.jsx("path",{fillRule:"evenodd",d:"M5.293 9.293a1 1 0 011.414 0L10 12.586l3.293-3.293a1 1 0 011.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"})})]}),o&&S.jsx("div",{id:"export-dropdown",className:"origin-top-left absolute left-0 mt-2 w-56 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5",style:{zIndex:1e3,marginTop:"0.5rem"},children:S.jsxs("div",{className:"py-1",role:"menu","aria-orientation":"vertical","aria-labelledby":"options-menu",children:[S.jsx("button",{onClick:()=>{O(),s(!1)},className:"block w-full text-left px-4 py-3 text-sm text-gray-700 hover:bg-gray-100 hover:text-gray-900",role:"menuitem",children:t("common.exportToCSV")}),S.jsx("div",{className:"border-t border-gray-200"}),S.jsx("button",{onClick:()=>{R(),s(!1)},className:"block w-full text-left px-4 py-3 text-sm text-gray-700 hover:bg-gray-100 hover:text-gray-900",role:"menuitem",children:t("common.exportToJSON")})]})})]}),S.jsx("button",{className:"ml-10 bg-gray-300",onClick:E,children:t("common.permanentLink")})]}),S.jsx(oT,{articles:r,setFilteredArticles:_})]}),r.length>0&&S.jsxs("div",{className:"py-4 flex items-center gap-3 rounded-lg border",children:[S.jsx("button",{onClick:()=>{P("card")},className:C=="card"?"bg-white":"text-white",children:S.jsx("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"grid-2",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",className:"svg-inline--fa fa-grid-2 fa-lg",children:S.jsx("path",{fill:"currentColor",d:"M224 80c0-26.5-21.5-48-48-48L80 32C53.5 32 32 53.5 32 80l0 96c0 26.5 21.5 48 48 48l96 0c26.5 0 48-21.5 48-48l0-96zm0 256c0-26.5-21.5-48-48-48l-96 0c-26.5 0-48 21.5-48 48l0 96c0 26.5 21.5 48 48 48l96 0c26.5 0 48-21.5 48-48l0-96zM288 80l0 96c0 26.5 21.5 48 48 48l96 0c26.5 0 48-21.5 48-48l0-96c0-26.5-21.5-48-48-48l-96 0c-26.5 0-48 21.5-48 48zM480 336c0-26.5-21.5-48-48-48l-96 0c-26.5 0-48 21.5-48 48l0 96c0 26.5 21.5 48 48 48l96 0c26.5 0 48-21.5 48-48l0-96z",className:""})})}),S.jsx("button",{onClick:()=>{P("list")},className:C=="list"?"bg-white":"text-white",children:S.jsx("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"list-ul",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",className:"svg-inline--fa fa-list-ul fa-lg",children:S.jsx("path",{fill:"currentColor",d:"M64 144a48 48 0 1 0 0-96 48 48 0 1 0 0 96zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L192 64zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zM64 464a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm48-208a48 48 0 1 0 -96 0 48 48 0 1 0 96 0z",className:""})})})]}),S.jsx("div",{className:"articles",children:v&&(v==null?void 0:v.length)>0?S.jsxs("div",{children:[C=="card"&&S.jsx("ul",{className:"flex flex-wrap items-center justify-between gap-4 p-3  max-md:flex-col",children:(u==null?void 0:u.length)>0&&u.map(({article:I,project:F,rank:H,views_ceil:W,country:$})=>S.jsx($b,{article:I,project:F,rank:H,views_ceil:W,country:$},I))}),C=="list"&&(u==null?void 0:u.length)>0&&S.jsx(Vb,{articlesData:u}),S.jsx("div",{className:"flex justify-center mb-10",children:S.jsx(Bb,{onCurrentChange:x,totalPages:Math.ceil(v.length/h),currentPage:d,items:v,itemsPerPage:h,onPageChange:b})})]}):S.jsx("div",{className:"text-center text-gray-500 mt-8",children:t("common.noData")})})]})})})}const jo=A.createContext({dates:{start:"",end:""},setDates:()=>{},pages:[],setPages:()=>{},dateType:"Daily",setDateType:()=>{},project:"fr.wikipedia.org",setProject:()=>{},platform:"all-access",setPlatform:()=>{},agent:"user",setAgent:()=>{}}),Ud=({date:t,onChange:e,error:n,label:r})=>S.jsxs("div",{className:"flex flex-col",children:[S.jsx("p",{className:"label",children:r}),S.jsx("input",{id:"fullDate",type:"date",name:"date",className:"text-sm my-2 outline-none w-full border py-2 px-1 rounded",value:t,onChange:e}),n&&S.jsx("div",{className:"text-red-500",children:n})]}),wp=new Date,Ai=wp.getFullYear(),mu=String(wp.getMonth()+1).padStart(2,"0"),gu=String(wp.getDate()).padStart(2,"0"),dy=t=>{const[e,n,r]=t.split("-");return`${e}${n.padStart(2,"0")}${r.padStart(2,"0")}`};function fT(){const{dates:t,setDates:e}=A.useContext(jo),n=i=>{e({...t,start:dy(i.target.value)})},r=i=>{e({...t,end:dy(i.target.value)})};return S.jsxs("div",{children:[S.jsx(Ud,{onChange:n,label:"Start",date:new Date(`${Ai}-01-01`).toISOString().split("T")[0]}),S.jsx(Ud,{onChange:r,label:"End",date:new Date(`${Ai}-${mu}-${gu}`).toISOString().split("T")[0]})]})}const dT=()=>{const{dateType:t,setDateType:e,project:n,setProject:r,platform:i,setPlatform:o,agent:s,setAgent:a}=A.useContext(jo),{t:l}=Rn();return S.jsxs("div",{className:"options-form w-1/5 p-4 border border-gray-300 rounded-md bg-white",children:[S.jsxs("h3",{children:[l("pageViews.title"),":"]}),S.jsxs("div",{className:"form-group",children:[S.jsx("label",{htmlFor:"project",children:l("article.project")}),S.jsx("input",{type:"text",id:"project",value:n,onChange:c=>r(c.target.value)})]}),S.jsx(fT,{}),S.jsxs("div",{className:"form-group",children:[S.jsx("label",{htmlFor:"dateType",children:l("form.date")}),S.jsxs("select",{id:"dateType",value:t,onChange:c=>e(c.target.value),children:[S.jsx("option",{children:"Daily"}),S.jsx("option",{children:"Monthly"})]})]}),S.jsxs("div",{className:"form-group",children:[S.jsx("label",{htmlFor:"platform",children:l("form.platform")}),S.jsxs("select",{id:"platform",value:i,onChange:c=>o(c.target.value),children:[S.jsx("option",{value:"all-access",children:l("form.allAccess")}),S.jsx("option",{value:"desktop",children:l("form.desktop")}),S.jsx("option",{value:"mobile-web",children:l("form.mobileWeb")}
vendor: 7,161 bytes, lines 849-854
849),S.jsx("option",{value:"mobile-app",children:l("form.mobileApp")})]})]}),S.jsxs("div",{className:"form-group",children:[S.jsx("label",{htmlFor:"agent",children:"Agent"}),S.jsxs("select",{id:"agent",value:s,onChange:c=>a(c.target.value),children:[S.jsx("option",{value:"all-agent",children:l("form.allAccess")}),S.jsx("option",{value:"user",children:"User"}),S.jsx("option",{value:"spider",children:"Spider"}),S.jsx("option",{value:"automated",children:"Bot"})]})]})]})};/*!
850 * @kurkle/color v0.3.2
851 * https://github.com/kurkle/color#readme
852 * (c) 2023 Jukka Kurkela
853 * Released under the MIT License
854 */function Sa(t){return t+.5|0}const Pr=(t,e,n)=>Math.max(Math.min(t,n),e);function cs(t){return Pr(Sa(t*2.55),0,255)}function zr(t){return Pr(Sa(t*255),0,255)}function Zn(t){return Pr(Sa(t/2.55)/100,0,1)}function hy(t){return Pr(Sa(t*100),0,100)}const an={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},Vd=[..."0123456789ABCDEF"],hT=t=>Vd[t&15],pT=t=>Vd[(t&240)>>4]+Vd[t&15],il=t=>(t&240)>>4===(t&15),mT=t=>il(t.r)&&il(t.g)&&il(t.b)&&il(t.a);function gT(t){var e=t.length,n;return t[0]==="#"&&(e===4||e===5?n={r:255&an[t[1]]*17,g:255&an[t[2]]*17,b:255&an[t[3]]*17,a:e===5?an[t[4]]*17:255}:(e===7||e===9)&&(n={r:an[t[1]]<<4|an[t[2]],g:an[t[3]]<<4|an[t[4]],b:an[t[5]]<<4|an[t[6]],a:e===9?an[t[7]]<<4|an[t[8]]:255})),n}const yT=(t,e)=>t<255?e(t):"";function vT(t){var e=mT(t)?hT:pT;return t?"#"+e(t.r)+e(t.g)+e(t.b)+yT(t.a,e):void 0}const xT=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Wb(t,e,n){const r=e*Math.min(n,1-n),i=(o,s=(o+t/30)%12)=>n-r*Math.max(Math.min(s-3,9-s,1),-1);return[i(0),i(8),i(4)]}function bT(t,e,n){const r=(i,o=(i+t/60)%6)=>n-n*e*Math.max(Math.min(o,4-o,1),0);return[r(5),r(3),r(1)]}function wT(t,e,n){const r=Wb(t,1,.5);let i;for(e+n>1&&(i=1/(e+n),e*=i,n*=i),i=0;i<3;i++)r[i]*=1-e-n,r[i]+=e;return r}function kT(t,e,n,r,i){return t===i?(e-n)/r+(e<n?6:0):e===i?(n-t)/r+2:(t-e)/r+4}function kp(t){const n=t.r/255,r=t.g/255,i=t.b/255,o=Math.max(n,r,i),s=Math.min(n,r,i),a=(o+s)/2;let l,c,u;return o!==s&&(u=o-s,c=a>.5?u/(2-o-s):u/(o+s),l=kT(n,r,i,u,o),l=l*60+.5),[l|0,c||0,a]}function Sp(t,e,n,r){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,r)).map(zr)}function _p(t,e,n){return Sp(Wb,t,e,n)}function ST(t,e,n){return Sp(wT,t,e,n)}function _T(t,e,n){return Sp(bT,t,e,n)}function Kb(t){return(t%360+360)%360}function CT(t){const e=xT.exec(t);let n=255,r;if(!e)return;e[5]!==r&&(n=e[6]?cs(+e[5]):zr(+e[5]));const i=Kb(+e[2]),o=+e[3]/100,s=+e[4]/100;return e[1]==="hwb"?r=ST(i,o,s):e[1]==="hsv"?r=_T(i,o,s):r=_p(i,o,s),{r:r[0],g:r[1],b:r[2],a:n}}function ET(t,e){var n=kp(t);n[0]=Kb(n[0]+e),n=_p(n),t.r=n[0],t.g=n[1],t.b=n[2]}function PT(t){if(!t)return;const e=kp(t),n=e[0],r=hy(e[1]),i=hy(e[2]);return t.a<255?`hsla(${n}, ${r}%, ${i}%, ${Zn(t.a)})`:`hsl(${n}, ${r}%, ${i}%)`}const py={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},my={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function AT(){const t={},e=Object.keys(my),n=Object.keys(py);let r,i,o,s,a;for(r=0;r<e.length;r++){for(s=a=e[r],i=0;i<n.length;i++)o=n[i],a=a.replace(o,py[o]);o=parseInt(my[s],16),t[a]=[o>>16&255,o>>8&255,o&255]}return t}let ol;function TT(t){ol||(ol=AT(),ol.transparent=[0,0,0,0]);const e=ol[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:e.length===4?e[3]:255}}const OT=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function LT(t){const e=OT.exec(t);let n=255,r,i,o;if(e){if(e[7]!==r){const s=+e[7];n=e[8]?cs(s):Pr(s*255,0,255)}return r=+e[1],i=+e[3],o=+e[5],r=255&(e[2]?cs(r):Pr(r,0,255)),i=255&(e[4]?cs(i):Pr(i,0,255)),o=255&(e[6]?cs(o):Pr(o,0,255)),{r,g:i,b:o,a:n}}}function RT(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${Zn(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}const cf=t=>t<=.0031308?t*12.92:Math.pow(t,1/2.4)*1.055-.055,Hi=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function NT(t,e,n){const r=Hi(Zn(t.r)),i=Hi(Zn(t.g)),o=Hi(Zn(t.b));return{r:zr(cf(r+n*(Hi(Zn(e.r))-r))),g:zr(cf(i+n*(Hi(Zn(e.g))-i))),b:zr(cf(o+n*(Hi(Zn(e.b))-o))),a:t.a+n*(e.a-t.a)}}function sl(t,e,n){if(t){let r=kp(t);r[e]=Math.max(0,Math.min(r[e]+r[e]*n,e===0?360:1)),r=_p(r),t.r=r[0],t.g=r[1],t.b=r[2]}}function Yb(t,e){return t&&Object.assign(e||{},t)}function gy(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=zr(t[3]))):(e=Yb(t,{r:0,g:0,b:0,a:1}),e.a=zr(e.a)),e}function MT(t){return t.charAt(0)==="r"?LT(t):CT(t)}class oa{constructor(e){if(e instanceof oa)return e;const n=typeof e;let r;n==="object"?r=gy(e):n==="string"&&(r=gT(e)||TT(e)||MT(e)),this._rgb=r,this._val
vendor: 49,839 bytes, lines 854-864
854id=!!r}get valid(){return this._valid}get rgb(){var e=Yb(this._rgb);return e&&(e.a=Zn(e.a)),e}set rgb(e){this._rgb=gy(e)}rgbString(){return this._valid?RT(this._rgb):void 0}hexString(){return this._valid?vT(this._rgb):void 0}hslString(){return this._valid?PT(this._rgb):void 0}mix(e,n){if(e){const r=this.rgb,i=e.rgb;let o;const s=n===o?.5:n,a=2*s-1,l=r.a-i.a,c=((a*l===-1?a:(a+l)/(1+a*l))+1)/2;o=1-c,r.r=255&c*r.r+o*i.r+.5,r.g=255&c*r.g+o*i.g+.5,r.b=255&c*r.b+o*i.b+.5,r.a=s*r.a+(1-s)*i.a,this.rgb=r}return this}interpolate(e,n){return e&&(this._rgb=NT(this._rgb,e._rgb,n)),this}clone(){return new oa(this.rgb)}alpha(e){return this._rgb.a=zr(e),this}clearer(e){const n=this._rgb;return n.a*=1-e,this}greyscale(){const e=this._rgb,n=Sa(e.r*.3+e.g*.59+e.b*.11);return e.r=e.g=e.b=n,this}opaquer(e){const n=this._rgb;return n.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return sl(this._rgb,2,e),this}darken(e){return sl(this._rgb,2,-e),this}saturate(e){return sl(this._rgb,1,e),this}desaturate(e){return sl(this._rgb,1,-e),this}rotate(e){return ET(this._rgb,e),this}}/*!
855 * Chart.js v4.4.3
856 * https://www.chartjs.org
857 * (c) 2024 Chart.js Contributors
858 * Released under the MIT License
859 */function qn(){}const DT=(()=>{let t=0;return()=>t++})();function Ie(t){return t===null||typeof t>"u"}function Xe(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return e.slice(0,7)==="[object"&&e.slice(-6)==="Array]"}function Ce(t){return t!==null&&Object.prototype.toString.call(t)==="[object Object]"}function ct(t){return(typeof t=="number"||t instanceof Number)&&isFinite(+t)}function qt(t,e){return ct(t)?t:e}function ge(t,e){return typeof t>"u"?e:t}const IT=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100*e:+t;function Le(t,e,n){if(t&&typeof t.call=="function")return t.apply(n,e)}function Pe(t,e,n,r){let i,o,s;if(Xe(t))for(o=t.length,i=0;i<o;i++)e.call(n,t[i],i);else if(Ce(t))for(s=Object.keys(t),o=s.length,i=0;i<o;i++)e.call(n,t[s[i]],s[i])}function kc(t,e){let n,r,i,o;if(!t||!e||t.length!==e.length)return!1;for(n=0,r=t.length;n<r;++n)if(i=t[n],o=e[n],i.datasetIndex!==o.datasetIndex||i.index!==o.index)return!1;return!0}function Sc(t){if(Xe(t))return t.map(Sc);if(Ce(t)){const e=Object.create(null),n=Object.keys(t),r=n.length;let i=0;for(;i<r;++i)e[n[i]]=Sc(t[n[i]]);return e}return t}function qb(t){return["__proto__","prototype","constructor"].indexOf(t)===-1}function jT(t,e,n,r){if(!qb(t))return;const i=e[t],o=n[t];Ce(i)&&Ce(o)?sa(i,o,r):e[t]=Sc(o)}function sa(t,e,n){const r=Xe(e)?e:[e],i=r.length;if(!Ce(t))return t;n=n||{};const o=n.merger||jT;let s;for(let a=0;a<i;++a){if(s=r[a],!Ce(s))continue;const l=Object.keys(s);for(let c=0,u=l.length;c<u;++c)o(l[c],t,s,n)}return t}function Ps(t,e){return sa(t,e,{merger:FT})}function FT(t,e,n){if(!qb(t))return;const r=e[t],i=n[t];Ce(r)&&Ce(i)?Ps(r,i):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=Sc(i))}const yy={"":t=>t,x:t=>t.x,y:t=>t.y};function zT(t){const e=t.split("."),n=[];let r="";for(const i of e)r+=i,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}function $T(t){const e=zT(t);return n=>{for(const r of e){if(r==="")break;n=n&&n[r]}return n}}function _c(t,e){return(yy[e]||(yy[e]=$T(e)))(t)}function Cp(t){return t.charAt(0).toUpperCase()+t.slice(1)}const Cc=t=>typeof t<"u",Wr=t=>typeof t=="function",vy=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function BT(t){return t.type==="mouseup"||t.type==="click"||t.type==="contextmenu"}const tt=Math.PI,yn=2*tt,HT=yn+tt,Ec=Number.POSITIVE_INFINITY,UT=tt/180,Jt=tt/2,Jr=tt/4,xy=tt*2/3,Ar=Math.log10,Ao=Math.sign;function As(t,e,n){return Math.abs(t-e)<n}function by(t){const e=Math.round(t);t=As(t,e,t/1e3)?e:t;const n=Math.pow(10,Math.floor(Ar(t))),r=t/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function VT(t){const e=[],n=Math.sqrt(t);let r;for(r=1;r<n;r++)t%r===0&&(e.push(r),e.push(t/r));return n===(n|0)&&e.push(n),e.sort((i,o)=>i-o).pop(),e}function aa(t){return!isNaN(parseFloat(t))&&isFinite(t)}function WT(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}function Gb(t,e,n){let r,i,o;for(r=0,i=t.length;r<i;r++)o=t[r][n],isNaN(o)||(e.min=Math.min(e.min,o),e.max=Math.max(e.max,o))}function Tr(t){return t*(tt/180)}function Ep(t){return t*(180/tt)}function wy(t){if(!ct(t))return;let e=1,n=0;for(;Math.round(t*e)/e!==t;)e*=10,n++;return n}function KT(t,e){const n=e.x-t.x,r=e.y-t.y,i=Math.sqrt(n*n+r*r);let o=Math.atan2(r,n);return o<-.5*tt&&(o+=yn),{angle:o,distance:i}}function Wd(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function YT(t,e){return(t-e+HT)%yn-tt}function Cn(t){return(t%yn+yn)%yn}function Xb(t,e,n,r){const i=Cn(t),o=Cn(e),s=Cn(n),a=Cn(o-i),l=Cn(s-i),c=Cn(i-o),u=Cn(i-s);return i===o||i===s||r&&o===s||a>l&&c<u}function hn(t,e,n){return Math.max(e,Math.min(n,t))}function qT(t){return hn(t,-32768,32767)}function us(t,e,n,r=1e-6){return t>=Math.min(e,n)-r&&t<=Math.max(e,n)+r}function Pp(t,e,n){n=n||(s=>t[s]<e);let r=t.length-1,i=0,o;for(;r-i>1;)o=i+r>>1,n(o)?i=o:r=o;return{lo:i,hi:r}}const hi=(t,e,n,r)=>Pp(t,n,r?i=>{const o=t[i][e];return o<n||o===n&&t[i+1][e]===n}:i=>t[i][e]<n),GT=(t,e,n)=>Pp(t,n,r=>t[r][e]>=n);function XT(t,e,n){let r=0,i=t.length;for(;r<i&&t[r]<e;)r++;for(;i>r&&t[i-1]>n;)i--;return r>0||i<t.length?t.slice(r,i):t}const Qb=["push","pop","shift","splice","unshift"];function QT(t,e){if(t._chartjs){t._chartjs.listeners.push(e);return}Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),Qb.forEach(n=>{const r="_onData"+Cp(n),i=t[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!1,value(...o){const s=i.apply(this,o);return t._chartjs.listeners.forEach(a=>{typeof a[r]=="function"&&a[r](...o)}),s}})})}function ky(t,e){const n=t._chartjs;if(!n)return;const r=n.listeners,i=r.indexOf(e);i!==-1&&r.splice(i,1),!(r.length>0)&&(Qb.forEach(o=>{delete t[o]}),delete t._chartjs)}function JT(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const Jb=function(){return typeof window>"u"?function(t){return t()}:window.requestAnimationFrame}();function Zb(t,e){let n=[],r=!1;return function(...i){n=i,r||(r=!0,Jb.call(window,()=>{r=!1,t.apply(e,n)}))}}function ZT(t,e){let n;return function(...r){return e?(clearTimeout(n),n=setTimeout(t,e,r)):t.apply(this,r),e}}const Ap=t=>t==="start"?"left":t==="end"?"right":"center",bt=(t,e,n)=>t==="start"?e:t==="end"?n:(e+n)/2,eO=(t,e,n,r)=>t===(r?"left":"right")?n:t==="center"?(e+n)/2:e;function tO(t,e,n){const r=e.length;let i=0,o=r;if(t._sorted){const{iScale:s,_parsed:a}=t,l=s.axis,{min:c,max:u,minDefined:f,maxDefined:d}=s.getUserBounds();f&&(i=hn(Math.min(hi(a,l,c).lo,n?r:hi(e,l,s.getPixelForValue(c)).lo),0,r-1)),d?o=hn(Math.max(hi(a,s.axis,u,!0).hi+1,n?0:hi(e,l,s.getPixelForValue(u),!0).hi+1),i,r)-i:o=r-i}return{start:i,count:o}}function nO(t){const{xScale:e,yScale:n,_scaleRanges:r}=t,i={xmin:e.min,xmax:e.max,ymin:n.min,ymax:n.max};if(!r)return t._scaleRanges=i,!0;const o=r.xmin!==e.min||r.xmax!==e.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,i),o}const al=t=>t===0||t===1,Sy=(t,e,n)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-e)*yn/n)),_y=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*yn/n)+1,Ts={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>-Math.cos(t*Jt)+1,easeOutSine:t=>Math.sin(t*Jt),easeInOutSine:t=>-.5*(Math.cos(tt*t)-1),easeInExpo:t=>t===0?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>t===1?1:-Math.pow(2,-10*t)+1,easeInOutExpo:t=>al(t)?t:t<.5?.5*Math.pow(2,10*(t*2-1)):.5*(-Math.pow(2,-10*(t*2-1))+2),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>al(t)?t:Sy(t,.075,.3),easeOutElastic:t=>al(t)?t:_y(t,.075,.3),easeInOutElastic(t){return al(t)?t:t<.5?.5*Sy(t*2,.1125,.45):.5+.5*_y(t*2-1,.1125,.45)},easeInBack(t){return t*t*((1.70158+1)*t-1.70158)},easeOutBack(t){return(t-=1)*t*((1.70158+1)*t+1.70158)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?.5*(t*t*(((e*=1.525)+1)*t-e)):.5*((t-=2)*t*(((e*=1.525)+1)*t+e)+2)},easeInBounce:t=>1-Ts.easeOutBounce(1-t),easeOutBounce(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:t=>t<.5?Ts.easeInBounce(t*2)*.5:Ts.easeOutBounce(t*2-1)*.5+.5};function Tp(t){if(t&&typeof t=="object"){const e=t.toString();return e==="[object CanvasPattern]"||e==="[object CanvasGradient]"}return!1}function Cy(t){return Tp(t)?t:new oa(t)}function uf(t){return Tp(t)?t:new oa(t).saturate(.5).darken(.1).hexString()}const rO=["x","y","borderWidth","radius","tension"],iO=["color","borderColor","backgroundColor"];function oO(t){t.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),t.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>e!=="onProgress"&&e!=="onComplete"&&e!=="fn"}),t.set("animations",{colors:{type:"color",properties:iO},numbers:{type:"number",properties:rO}}),t.describe("animations",{_fallback:"animation"}),t.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>e|0}}}})}function sO(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const Ey=new Map;function aO(t,e){e=e||{};const n=t+JSON.stringify(e);let r=Ey.get(n);return r||(r=new Intl.NumberFormat(t,e),Ey.set(n,r)),r}function Op(t,e,n){return aO(e,n).format(t)}const ew={values(t){return Xe(t)?t:""+t},numeric(t,e,n){if(t===0)return"0";const r=this.chart.options.locale;let i,o=t;if(n.length>1){const c=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(c<1e-4||c>1e15)&&(i="scientific"),o=lO(t,n)}const s=Ar(Math.abs(o)),a=isNaN(s)?1:Math.max(Math.min(-1*Math.floor(s),20),0),l={notation:i,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),Op(t,r,l)},logarithmic(t,e,n){if(t===0)return"0";const r=n[e].significand||t/Math.pow(10,Math.floor(Ar(t)));return[1,2,3,5,10,15].includes(r)||e>.8*n.length?ew.numeric.call(this,t,e,n):""}};function lO(t,e){let n=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(n)>=1&&t!==Math.floor(t)&&(n=t-Math.floor(t)),n}var yu={formatters:ew};function cO(t){t.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,n)=>n.lineWidth,tickColor:(e,n)=>n.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:yu.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&e!=="callback"&&e!=="parser",_indexable:e=>e!=="borderDash"&&e!=="tickBorderDash"&&e!=="dash"}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:e=>e!=="backdropPadding"&&e!=="callback",_indexable:e=>e!=="backdropPadding"})}const Ti=Object.create(null),Kd=Object.create(null);function Os(t,e){if(!e)return t;const n=e.split(".");for(let r=0,i=n.length;r<i;++r){const o=n[r];t=t[o]||(t[o]=Object.create(null))}return t}function ff(t,e,n){return typeof e=="string"?sa(Os(t,e),n):sa(Os(t,""),e)}class uO{constructor(e,n){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=r=>r.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(r,i)=>uf(i.backgroundColor),this.hoverBorderColor=(r,i)=>uf(i.borderColor),this.hoverColor=(r,i)=>uf(i.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(n)}set(e,n){return ff(this,e,n)}get(e){return Os(this,e)}describe(e,n){return ff(Kd,e,n)}override(e,n){return ff(Ti,e,n)}route(e,n,r,i){const o=Os(this,e),s=Os(this,r),a="_"+n;Object.defineProperties(o,{[a]:{value:o[n],writable:!0},[n]:{enumerable:!0,get(){const l=this[a],c=s[i];return Ce(l)?Object.assign({},c,l):ge(l,c)},set(l){this[a]=l}}})}apply(e){e.forEach(n=>n(this))}}var Qe=new uO({_scriptable:t=>!t.startsWith("on"),_indexable:t=>t!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[oO,sO,cO]);function fO(t){return!t||Ie(t.size)||Ie(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function Pc(t,e,n,r,i){let o=e[i];return o||(o=e[i]=t.measureText(i).width,n.push(i)),o>r&&(r=o),r}function dO(t,e,n,r){r=r||{};let i=r.data=r.data||{},o=r.garbageCollect=r.garbageCollect||[];r.font!==e&&(i=r.data={},o=r.garbageCollect=[],r.font=e),t.save(),t.font=e;let s=0;const a=n.length;let l,c,u,f,d;for(l=0;l<a;l++)if(f=n[l],f!=null&&!Xe(f))s=Pc(t,i,o,s,f);else if(Xe(f))for(c=0,u=f.length;c<u;c++)d=f[c],d!=null&&!Xe(d)&&(s=Pc(t,i,o,s,d));t.restore();const p=o.length/2;if(p>n.length){for(l=0;l<p;l++)delete i[o[l]];o.splice(0,p)}return s}function Zr(t,e,n){const r=t.currentDevicePixelRatio,i=n!==0?Math.max(n/2,.5):0;return Math.round((e-i)*r)/r+i}function Py(t,e){!e&&!t||(e=e||t.getContext("2d"),e.save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore())}function Yd(t,e,n,r){tw(t,e,n,r,null)}function tw(t,e,n,r,i){let o,s,a,l,c,u,f,d;const p=e.pointStyle,h=e.rotation,m=e.radius;let w=(h||0)*UT;if(p&&typeof p=="object"&&(o=p.toString(),o==="[object HTMLImageElement]"||o==="[object HTMLCanvasElement]")){t.save(),t.translate(n,r),t.rotate(w),t.drawImage(p,-p.width/2,-p.height/2,p.width,p.height),t.restore();return}if(!(isNaN(m)||m<=0)){switch(t.beginPath(),p){default:i?t.ellipse(n,r,i/2,m,0,0,yn):t.arc(n,r,m,0,yn),t.closePath();break;case"triangle":u=i?i/2:m,t.moveTo(n+Math.sin(w)*u,r-Math.cos(w)*m),w+=xy,t.lineTo(n+Math.sin(w)*u,r-Math.cos(w)*m),w+=xy,t.lineTo(n+Math.sin(w)*u,r-Math.cos(w)*m),t.closePath();break;case"rectRounded":c=m*.516,l=m-c,s=Math.cos(w+Jr)*l,f=Math.cos(w+Jr)*(i?i/2-c:l),a=Math.sin(w+Jr)*l,d=Math.sin(w+Jr)*(i?i/2-c:l),t.arc(n-f,r-a,c,w-tt,w-Jt),t.arc(n+d,r-s,c,w-Jt,w),t.arc(n+f,r+a,c,w,w+Jt),t.arc(n-d,r+s,c,w+Jt,w+tt),t.closePath();break;case"rect":if(!h){l=Math.SQRT1_2*m,u=i?i/2:l,t.rect(n-u,r-l,2*u,2*l);break}w+=Jr;case"rectRot":f=Math.cos(w)*(i?i/2:m),s=Math.cos(w)*m,a=Math.sin(w)*m,d=Math.sin(w)*(i?i/2:m),t.moveTo(n-f,r-a),t.lineTo(n+d,r-s),t.lineTo(n+f,r+a),t.lineTo(n-d,r+s),t.closePath();break;case"crossRot":w+=Jr;case"cross":f=Math.cos(w)*(i?i/2:m),s=Math.cos(w)*m,a=Math.sin(w)*m,d=Math.sin(w)*(i?i/2:m),t.moveTo(n-f,r-a),t.lineTo(n+f,r+a),t.moveTo(n+d,r-s),t.lineTo(n-d,r+s);break;case"star":f=Math.cos(w)*(i?i/2:m),s=Math.cos(w)*m,a=Math.sin(w)*m,d=Math.sin(w)*(i?i/2:m),t.moveTo(n-f,r-a),t.lineTo(n+f,r+a),t.moveTo(n+d,r-s),t.lineTo(n-d,r+s),w+=Jr,f=Math.cos(w)*(i?i/2:m),s=Math.cos(w)*m,a=Math.sin(w)*m,d=Math.sin(w)*(i?i/2:m),t.moveTo(n-f,r-a),t.lineTo(n+f,r+a),t.moveTo(n+d,r-s),t.lineTo(n-d,r+s);break;case"line":s=i?i/2:Math.cos(w)*m,a=Math.sin(w)*m,t.moveTo(n-s,r-a),t.lineTo(n+s,r+a);break;case"dash":t.moveTo(n,r),t.lineTo(n+Math.cos(w)*(i?i/2:m),r+Math.sin(w)*m);break;case!1:t.closePath();break}t.fill(),e.borderWidth>0&&t.stroke()}}function nr(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.x<e.right+n&&t.y>e.top-n&&t.y<e.bottom+n}function Lp(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function Rp(t){t.restore()}function hO(t,e,n,r,i){if(!e)return t.lineTo(n.x,n.y);if(i==="middle"){const o=(e.x+n.x)/2;t.lineTo(o,e.y),t.lineTo(o,n.y)}else i==="after"!=!!r?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y);t.lineTo(n.x,n.y)}function pO(t,e,n,r){if(!e)return t.lineTo(n.x,n.y);t.bezierCurveTo(r?e.cp1x:e.cp2x,r?e.cp1y:e.cp2y,r?n.cp2x:n.cp1x,r?n.cp2y:n.cp1y,n.x,n.y)}function mO(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),Ie(e.rotation)||t.rotate(e.rotation),e.color&&(t.fillStyle=e.color),e.textAlign&&(t.textAlign=e.textAlign),e.textBaseline&&(t.textBaseline=e.textBaseline)}function gO(t,e,n,r,i){if(i.strikethrough||i.underline){const o=t.measureText(r),s=e-o.actualBoundingBoxLeft,a=e+o.actualBoundingBoxRight,l=n-o.actualBoundingBoxAscent,c=n+o.actualBoundingBoxDescent,u=i.strikethrough?(l+c)/2:c;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=i.decorationWidth||2,t.moveTo(s,u),t.lineTo(a,u),t.stroke()}}function yO(t,e){const n=t.fillStyle;t.fillStyle=e.color,t.fillRect(e.left,e.top,e.width,e.height),t.fillStyle=n}function Oi(t,e,n,r,i,o={}){const s=Xe(e)?e:[e],a=o.strokeWidth>0&&o.strokeColor!=="";let l,c;for(t.save(),t.font=i.string,mO(t,o),l=0;l<s.length;++l)c=s[l],o.backdrop&&yO(t,o.backdrop),a&&(o.strokeColor&&(t.strokeStyle=o.strokeColor),Ie(o.strokeWidth)||(t.lineWidth=o.strokeWidth),t.strokeText(c,n,r,o.maxWidth)),t.fillText(c,n,r,o.maxWidth),gO(t,n,r,c,o),r+=Number(i.lineHeight);t.restore()}function Ac(t,e){const{x:n,y:r,w:i,h:o,radius:s}=e;t.arc(n+s.topLeft,r+s.topLeft,s.topLeft,1.5*tt,tt,!0),t.lineTo(n,r+o-s.bottomLeft),t.arc(n+s.bottomLeft,r+o-s.bottomLeft,s.bottomLeft,tt,Jt,!0),t.lineTo(n+i-s.bottomRight,r+o),t.arc(n+i-s.bottomRight,r+o-s.bottomRight,s.bottomRight,Jt,0,!0),t.lineTo(n+i,r+s.topRight),t.arc(n+i-s.topRight,r+s.topRight,s.topRight,0,-Jt,!0),t.lineTo(n+s.topLeft,r)}const vO=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,xO=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function bO(t,e){const n=(""+t).match(vO);if(!n||n[1]==="normal")return e*1.2;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100;break}return e*t}const wO=t=>+t||0;function nw(t,e){const n={},r=Ce(e),i=r?Object.keys(e):e,o=Ce(t)?r?s=>ge(t[s],t[e[s]]):s=>t[s]:()=>t;for(const s of i)n[s]=wO(o(s));return n}function kO(t){return nw(t,{top:"y",right:"x",bottom:"y",left:"x"})}function yo(t){return nw(t,["topLeft","topRight","bottomLeft","bottomRight"])}function St(t){const e=kO(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function ot(t,e){t=t||{},e=e||Qe.font;let n=ge(t.size,e.size);typeof n=="string"&&(n=parseInt(n,10));let r=ge(t.style,e.style);r&&!(""+r).match(xO)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const i={family:ge(t.family,e.family),lineHeight:bO(ge(t.lineHeight,e.lineHeight),n),size:n,style:r,weight:ge(t.weight,e.weight),string:""};return i.string=fO(i),i}function ll(t,e,n,r){let i,o,s;for(i=0,o=t.length;i<o;++i)if(s=t[i],s!==void 0&&s!==void 0)return s}function SO(t,e,n){const{min:r,max:i}=t,o=IT(e,(i-r)/2),s=(a,l)=>n&&a===0?0:a+l;return{min:s(r,-Math.abs(o)),max:s(i,o)}}function Xr(t,e){return Object.assign(Object.create(t),e)}function Np(t,e=[""],n,r,i=()=>t[0]){const o=n||t;typeof r>"u"&&(r=sw("_fallback",t));const s={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:o,_fallback:r,_getTarget:i,override:a=>Np([a,...t],e,o,r)};return new Proxy(s,{deleteProperty(a,l){return delete a[l],delete a._keys,delete t[0][l],!0},get(a,l){return iw(a,l,()=>LO(l,e,t,a))},getOwnPropertyDescriptor(a,l){return Reflect.getOwnPropertyDescriptor(a._scopes[0],l)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(a,l){return Ty(a).includes(l)},ownKeys(a){return Ty(a)},set(a,l,c){const u=a._storage||(a._storage=i());return a[l]=u[l]=c,delete a._keys,!0}})}function To(t,e,n,r){const i={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:rw(t,r),setContext:o=>To(t,o,n,r),override:o=>To(t.override(o),e,n,r)};return new Proxy(i,{deleteProperty(o,s){return delete o[s],delete t[s],!0},get(o,s,a){return iw(o,s,()=>CO(o,s,a))},getOwnPropertyDescriptor(o,s){return o._descriptors.allKeys?Reflect.has(t,s)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,s)},getPrototypeOf(){return Reflect.getPrototypeOf(t)},has(o,s){return Reflect.has(t,s)},ownKeys(){return Reflect.ownKeys(t)},set(o,s,a){return t[s]=a,delete o[s],!0}})}function rw(t,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:r=e.indexable,_allKeys:i=e.allKeys}=t;return{allKeys:i,scriptable:n,indexable:r,isScriptable:Wr(n)?n:()=>n,isIndexable:Wr(r)?r:()=>r}}const _O=(t,e)=>t?t+Cp(e):e,Mp=(t,e)=>Ce(e)&&t!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function iw(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e)||e==="constructor")return t[e];const r=n();return t[e]=r,r}function CO(t,e,n){const{_proxy:r,_context:i,_subProxy:o,_descriptors:s}=t;let a=r[e];return Wr(a)&&s.isScriptable(e)&&(a=EO(e,a,t,n)),Xe(a)&&a.length&&(a=PO(e,a,t,s.isIndexable)),Mp(e,a)&&(a=To(a,i,o&&o[e],s)),a}function EO(t,e,n,r){const{_proxy:i,_context:o,_subProxy:s,_stack:a}=n;if(a.has(t))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+t);a.add(t);let l=e(o,s||r);return a.delete(t),Mp(t,l)&&(l=Dp(i._scopes,i,t,l)),l}function PO(t,e,n,r){const{_proxy:i,_context:o,_subProxy:s,_descriptors:a}=n;if(typeof o.index<"u"&&r(t))return e[o.index%e.length];if(Ce(e[0])){const l=e,c=i._scopes.filter(u=>u!==l);e=[];for(const u of l){const f=Dp(c,i,t,u);e.push(To(f,o,s&&s[t],a))}}return e}function ow(t,e,n){return Wr(t)?t(e,n):t}const AO=(t,e)=>t===!0?e:typeof t=="string"?_c(e,t):void 0;function TO(t,e,n,r,i){for(const o of e){const s=AO(n,o);if(s){t.add(s);const a=ow(s._fallback,n,i);if(typeof a<"u"&&a!==n&&a!==r)return a}else if(s===!1&&typeof r<"u"&&n!==r)return null}return!1}function Dp(t,e,n,r){const i=e._rootScopes,o=ow(e._fallback,n,r),s=[...t,...i],a=new Set;a.add(r);let l=Ay(a,s,n,o||n,r);return l===null||typeof o<"u"&&o!==n&&(l=Ay(a,s,o,l,r),l===null)?!1:Np(Array.from(a),[""],i,o,()=>OO(e,n,r))}function Ay(t,e,n,r,i){for(;n;)n=TO(t,e,n,r,i);return n}function OO(t,e,n){const r=t._getTarget();e in r||(r[e]={});const i=r[e];return Xe(i)&&Ce(n)?n:i||{}}function LO(t,e,n,r){let i;for(const o of e)if(i=sw(_O(o,t),n),typeof i<"u")return Mp(t,i)?Dp(n,r,t,i):i}function sw(t,e){for(const n of e){if(!n)continue;const r=n[t];if(typeof r<"u")return r}}function Ty(t){let e=t._keys;return e||(e=t._keys=RO(t._scopes)),e}function RO(t){const e=new Set;for(const n of t)for(const r of Object.keys(n).filter(i=>!i.startsWith("_")))e.add(r);return Array.from(e)}const NO=Number.EPSILON||1e-14,Oo=(t,e)=>e<t.length&&!t[e].skip&&t[e],aw=t=>t==="x"?"y":"x";function MO(t,e,n,r){const i=t.skip?e:t,o=e,s=n.skip?e:n,a=Wd(o,i),l=Wd(s,o);let c=a/(a+l),u=l/(a+l);c=isNaN(c)?0:c,u=isNaN(u)?0:u;const f=r*c,d=r*u;return{previous:{x:o.x-f*(s.x-i.x),y:o.y-f*(s.y-i.y)},next:{x:o.x+d*(s.x-i.x),y:o.y+d*(s.y-i.y)}}}function DO(t,e,n){const r=t.length;let i,o,s,a,l,c=Oo(t,0);for(let u=0;u<r-1;++u)if(l=c,c=Oo(t,u+1),!(!l||!c)){if(As(e[u],0,NO)){n[u]=n[u+1]=0;continue}i=n[u]/e[u],o=n[u+1]/e[u],a=Math.pow(i,2)+Math.pow(o,2),!(a<=9)&&(s=3/Math.sqrt(a),n[u]=i*s*e[u],n[u+1]=o*s*e[u])}}function IO(t,e,n="x"){const r=aw(n),i=t.length;let o,s,a,l=Oo(t,0);for(let c=0;c<i;++c){if(s=a,a=l,l=Oo(t,c+1),!a)continue;const u=a[n],f=a[r];s&&(o=(u-s[n])/3,a[`cp1${n}`]=u-o,a[`cp1${r}`]=f-o*e[c]),l&&(o=(l[n]-u)/3,a[`cp2${n}`]=u+o,a[`cp2${r}`]=f+o*e[c])}}function jO(t,e="x"){const n=aw(e),r=t.length,i=Array(r).fill(0),o=Array(r);let s,a,l,c=Oo(t,0);for(s=0;s<r;++s)if(a=l,l=c,c=Oo(t,s+1),!!l){if(c){const u=c[e]-l[e];i[s]=u!==0?(c[n]-l[n])/u:0}o[s]=a?c?Ao(i[s-1])!==Ao(i[s])?0:(i[s-1]+i[s])/2:i[s-1]:i[s]}DO(t,i,o),IO(t,o,e)}function cl(t,e,n){return Math.max(Math.min(t,n),e)}function FO(t,e){let n,r,i,o,s,a=nr(t[0],e);for(n=0,r=t.length;n<r;++n)s=o,o=a,a=n<r-1&&nr(t[n+1],e),o&&(i=t[n],s&&(i.cp1x=cl(i.cp1x,e.left,e.right),i.cp1y=cl(i.cp1y,e.top,e.bottom)),a&&(i.cp2x=cl(i.cp2x,e.left,e.right),i.cp2y=cl(i.cp2y,e.top,e.bottom)))}function zO(t,e,n,r,i){let o,s,a,l;if(e.spanGaps&&(t=t.filter(c=>!c.skip)),e.cubicInterpolationMode==="monotone")jO(t,i);else{let c=r?t[t.length-1]:t[0];for(o=0,s=t.length;o<s;++o)a=t[o],l=MO(c,a,t[Math.min(o+1,s-(r?0:1))%s],e.tension),a.cp1x=l.previous.x,a.cp1y=l.previous.y,a.cp2x=l.next.x,a.cp2y=l.next.y,c=a}e.capBezierPoints&&FO(t,n)}function Ip(){return typeof window<"u"&&typeof document<"u"}function jp(t){let e=t.parentNode;return e&&e.toString()==="[object ShadowRoot]"&&(e=e.host),e}function Tc(t,e,n){let r;return typeof t=="string"?(r=parseInt(t,10),t.indexOf("%")!==-1&&(r=r/100*e.parentNode[n])):r=t,r}const vu=t=>t.ownerDocument.defaultView.getComputedStyle(t,null);function $O(t,e){return vu(t).getPropertyValue(e)}const BO=["top","right","bottom","left"];function xi(t,e,n){const r={};n=n?"-"+n:"";for(let i=0;i<4;i++){const o=BO[i];r[o]=parseFloat(t[e+"-"+o+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const HO=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function UO(t,e){const n=t.touches,r=n&&n.length?n[0]:t,{offsetX:i,offsetY:o}=r;let s=!1,a,l;if(HO(i,o,t.target))a=i,l=o;else{const c=e.getBoundingClientRect();a=r.clientX-c.left,l=r.clientY-c.top,s=!0}return{x:a,y:l,box:s}}function ii(t,e){if("native"in t)return t;const{canvas:n,currentDevicePixelRatio:r}=e,i=vu(n),o=i.boxSizing==="border-box",s=xi(i,"padding"),a=xi(i,"border","width"),{x:l,y:c,box:u}=UO(t,n),f=s.left+(u&&a.left),d=s.top+(u&&a.top);let{width:p,height:h}=e;return o&&(p-=s.width+a.width,h-=s.height+a.height),{x:Math.round((l-f)/p*n.width/r),y:Math.round((c-d)/h*n.height/r)}}function VO(t,e,n){let r,i;if(e===void 0||n===void 0){const o=t&&jp(t);if(!o)e=t.clientWidth,n=t.clientHeight;else{const s=o.getBoundingClientRect(),a=vu(o),l=xi(a,"border","width"),c=xi(a,"padding");e=s.width-c.width-l.width,n=s.height-c.height-l.height,r=Tc(a.maxWidth,o,"clientWidth"),i=Tc(a.maxHeight,o,"clientHeight")}}return{width:e,height:n,maxWidth:r||Ec,maxHeight:i||Ec}}const ul=t=>Math.round(t*10)/10;function WO(t,e,n,r){const i=vu(t),o=xi(i,"margin"),s=Tc(i.maxWidth,t,"clientWidth")||Ec,a=Tc(i.maxHeight,t,"clientHeight")||Ec,l=VO(t,e,n);let{width:c,height:u}=l;if(i.boxSizing==="content-box"){const d=xi(i,"border","width"),p=xi(i,"padding");c-=p.width+d.width,u-=p.height+d.height}return c=Math.max(0,c-o.width),u=Math.max(0,r?c/r:u-o.height),c=ul(Math.min(c,s,l.maxWidth)),u=ul(Math.min(u,a,l.maxHeight)),c&&!u&&(u=ul(c/2)),(e!==void 0||n!==void 0)&&r&&l.height&&u>l.height&&(u=l.height,c=ul(Math.floor(u*r))),{width:c,height:u}}function Oy(t,e,n){const r=e||1,i=Math.floor(t.height*r),o=Math.floor(t.width*r);t.height=Math.floor(t.height),t.width=Math.floor(t.width);const s=t.canvas;return s.style&&(n||!s.style.height&&!s.style.width)&&(s.style.height=`${t.height}px`,s.style.width=`${t.width}px`),t.currentDevicePixelRatio!==r||s.height!==i||s.width!==o?(t.currentDevicePixelRatio=r,s.height=i,s.width=o,t.ctx.setTransform(r,0,0,r,0,0),!0):!1}const KO=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};Ip()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch{}return t}();function Ly(t,e){const n=$O(t,e),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function oi(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function YO(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:r==="middle"?n<.5?t.y:e.y:r==="after"?n<1?t.y:e.y:n>0?e.y:t.y}}function qO(t,e,n,r){const i={x:t.cp2x,y:t.cp2y},o={x:e.cp1x,y:e.cp1y},s=oi(t,i,n),a=oi(i,o,n),l=oi(o,e,n),c=oi(s,a,n),u=oi(a,l,n);return oi(c,u,n)}const GO=function(t,e){return{x(n){return t+t+e-n},setWidth(n){e=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,r){return n-r},leftForLtr(n,r){return n-r}}},XO=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function vo(t,e,n){return t?GO(e,n):XO()}function lw(t,e){let n,r;(e==="ltr"||e==="rtl")&&(n=t.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=r)}function cw(t,e){e!==void 0&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function uw(t){return t==="angle"?{between:Xb,compare:YT,normalize:Cn}:{between:us,compare:(e,n)=>e-n,normalize:e=>e}}function Ry({start:t,end:e,count:n,loop:r,style:i}){return{start:t%n,end:e%n,loop:r&&(e-t+1)%n===0,style:i}}function QO(t,e,n){const{property:r,start:i,end:o}=n,{between:s,normalize:a}=uw(r),l=e.length;let{start:c,end:u,loop:f}=t,d,p;if(f){for(c+=l,u+=l,d=0,p=l;d<p&&s(a(e[c%l][r]),i,o);++d)c--,u--;c%=l,u%=l}return u<c&&(u+=l),{start:c,end:u,loop:f,style:t.style}}function JO(t,e,n){if(!n)return[t];const{property:r,start:i,end:o}=n,s=e.length,{compare:a,between:l,normalize:c}=uw(r),{start:u,end:f,loop:d,style:p}=QO(t,e,n),h=[];let m=!1,w=null,g,y,v;const _=()=>l(i,v,g)&&a(i,v)!==0,C=()=>a(o,g)===0||l(o,v,g),P=()=>m||_(),b=()=>!m||C();for(let x=u,k=u;x<=f;++x)y=e[x%s],!y.skip&&(g=c(y[r]),g!==v&&(m=l(g,i,o),w===null&&P()&&(w=a(g,i)===0?x:k),w!==null&&b()&&(h.push(Ry({start:w,end:x,loop:d,count:s,style:p})),w=null),k=x,v=g));return w!==null&&h.push(Ry({start:w,end:f,loop:d,count:s,style:p})),h}function ZO(t,e){const n=[],r=t.segments;for(let i=0;i<r.length;i++){const o=JO(r[i],t.points,e);o.length&&n.push(...o)}return n}function eL(t,e,n,r){let i=0,o=e-1;if(n&&!r)for(;i<e&&!t[i].skip;)i++;for(;i<e&&t[i].skip;)i++;for(i%=e,n&&(o+=i);o>i&&t[o%e].skip;)o--;return o%=e,{start:i,end:o}}function tL(t,e,n,r){const i=t.length,o=[];let s=e,a=t[e],l;for(l=e+1;l<=n;++l){const c=t[l%i];c.skip||c.stop?a.skip||(r=!1,o.push({start:e%i,end:(l-1)%i,loop:r}),e=s=c.stop?l:null):(s=l,a.skip&&(e=l)),a=c}return s!==null&&o.push({start:e%i,end:s%i,loop:r}),o}function nL(t,e){const n=t.points,r=t.options.spanGaps,i=n.length;if(!i)return[];const o=!!t._loop,{start:s,end:a}=eL(n,i,o,r);if(r===!0)return Ny(t,[{start:s,end:a,loop:o}],n,e);const l=a<s?a+i:a,c=!!t._fullLoop&&s===0&&a===i-1;return Ny(t,tL(n,s,l,c),n,e)}function Ny(t,e,n,r){return!r||!r.setContext||!n?e:rL(t,e,n,r)}function rL(t,e,n,r){const i=t._chart.getContext(),o=My(t.options),{_datasetIndex:s,options:{spanGaps:a}}=t,l=n.length,c=[];let u=o,f=e[0].start,d=f;function p(h,m,w,g){const y=a?-1:1;if(h!==m){for(h+=l;n[h%l].skip;)h-=y;for(;n[m%l].skip;)m+=y;h%l!==m%l&&(c.push({start:h%l,end:m%l,loop:w,style:g}),u=g,f=m%l)}}for(const h of e){f=a?f:h.start;let m=n[f%l],w;for(d=f+1;d<=h.end;d++){const g=n[d%l];w=My(r.setContext(Xr(i,{type:"segment",p0:m,p1:g,p0DataIndex:(d-1)%l,p1DataIndex:d%l,datasetIndex:s}))),iL(w,u)&&p(f,d-1,h.loop,u),m=g,u=w}f<d-1&&p(f,d-1,h.loop,u)}return c}function My(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function iL(t,e){if(!e)return!1;const n=[],r=function(i,o){return Tp(o)?(n.includes(o)||n.push(o),n.indexOf(o)):o};return JSON.stringify(t,r)!==JSON.stringify(e,r)}/*!
860 * Chart.js v4.4.3
861 * https://www.chartjs.org
862 * (c) 2024 Chart.js Contributors
863 * Released under the MIT License
864 */class oL{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,n,r,i){const o=n.listeners[i],s=n.duration;o.forEach(a=>a({chart:e,initial:n.initial,numSteps:s,currentStep:Math.min(r-n.start,s)}))}_refresh(){this._request||(this._running=!0,this._request=Jb.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let n=0;this._charts.forEach((r,i)=>{if(!r.running||!r.items.length)return;const o=r.items;let s=o.length-1,a=!1,l;for(;s>=0;--s)l=o[s],l._active?(l._total>r.duration&&(r.duration=l._total),l.tick(e),a=!0):(o[s]=o[o.length-1],o.pop());a&&(i.draw(),this._notify(i,r,e,"progress")),o.length||(r.running=!1,this._notify(i,r,e,"complete"),r.initial=!1),n+=o.length}),this._lastDate=e,n===0&&(this._running=!1)}_getAnims(e){const n=this._charts;let r=n.get(e);return r||(r={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(e,r)),r}listen(e,n,r){this._getAnims(e).listeners[n].push(r)}add(e,n){!n||!n.length||this._getAnims(e).items.push(...n)}has(e){return this._getAnims(e).items.length>0}start(e){const n=this._charts.get(e);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((r,i)=>Math.max(r,i._duration),0),this._refresh())}running(e){if(!this._running)return!1;const n=this._charts.get(e);return!(!n||!n.running||!n.items.length)}stop(e){const n=this._charts.get(e);if(!n||!n.items.length)return;const r=n.items;let i=r.length-1;for(;i>=0;--i)r[i].cancel();n.items=[],this._notify(e,n,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var Gn=new oL;const Dy="transparent",sL={boolean(t,e,n){return n>.5?e:t},color(t,e,n){const r=Cy(t||Dy),i=r.valid&&Cy(e||Dy);return i&&i.valid?i.mix(r,n).hexString():e},number(t,e,n){return t+(e-t)*n}};class aL{constructor(e,n,r,i){const o=n[r];i=ll([e.to,i,o,e.from]);const s=ll([e.from,o,i]);this._active=!0,this._fn=e.fn||sL[e.type||typeof s],this._easing=Ts[e.easing]||Ts.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=n,this._prop=r,this._from=s,this._to=i,this._promises=void 0}active(){return this._active}update(e,n,r){if(this._active){this._notify(!1);const i=this._target[this._prop],o=r-this._start,s=this._duration-o;this._start=r,this._duration=Math.floor(Math.max(s,e.duration)),this._total+=o,this._loop=!!e.loop,this._to=ll([e.to,n,i,e.from]),this._from=ll([e.from,i,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const n=e-this._start,r=this._duration,i=this._prop,o=this._from,s=this._loop,a=this._to;let l;if(this._active=o!==a&&(s||n<r),!this._active){this._target[i]=a,this._notify(!0);return}if(n<0){this._target[i]=o;return}l=n/r%2,l=s&&l>1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[i]=this._fn(o,a,l)}wait(){const e=this._promises||(this._promises=[]);return new Promise((n,r)=>{e.push({res:n,rej:r})})}_notify(e){const n=e?"res":"rej",r=this._promises||[];for(let i=0;i<r.length;i++)r[i][n]()}}class fw{constructor(e,n){this._chart=e,this._properties=new Map,this.configure(n)}configure(e){if(!Ce(e))return;const n=Object.keys(Qe.animation),r=this._properties;Object.getOwnPropertyNames(e).forEach(i=>{const o=e[i];if(!Ce(o))return;const s={};for(const a of n)s[a]=o[a];(Xe(o.properties)&&o.properties||[i]).forEach(a=>{(a===i||!r.has(a))&&r.set(a,s)})})}_animateOptions(e,n){const r=n.options,i=cL(e,r);if(!i)return[];const o=this._createAnimations(i,r);return r.$shared&&lL(e.options.$animations,r).then(()=>{e.options=r},()=>{}),o}_createAnimations(e,n){const r=this._properties,i=[],o=e.$animations||(e.$animations={}),s=Object.keys(n),a=Date.now();let l;for(l=s.length-1;l>=0;--l){const c=s[l];if(c.charAt(0)==="$")continue;if(c==="options"){i.push(...this._animateOptions(e,n));continue}const u=n[c];let f=o[c];const d=r.get(c);if(f)if(d&&f.active()){f.update(d,u,a);continue}else f.cancel();if(!d||!d.duration){e[c]=u;continue}o[c]=f=new aL(d,e,c,u),i.push(f)}return i}update(e,n){if(this._properties.size===0){Object.assign(e,n);return}const r=this._createAnimations(e,n);if(r.length)return Gn.add(this._chart,r),!0}}function lL(t,e){const n=[],r=Object.keys(e);for(let i=0;i<r.length;i++){const o=t[r[i]];o&&o.active()&&n.push(o.wait())}return Promise.all(n)}function cL(t,e){if(!e)return;let n=t.options;if(!n){t.options=e;return}return n.$shared&&(t.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n}function Iy(t,e){const n=t&&t.options||{},r=n.reverse,i=n.min===void 0?e:0,o=n.max===void 0?e:0;return{start:r?o:i,end:r?i:o}}function uL(t,e,n){if(n===!1)return!1;const r=Iy(t,n),i=Iy(e,n);return{top:i.end,right:r.end,bottom:i.start,left:r.start}}function fL(t){let e,n,r,i;return Ce(t)?(e=t.top,n=t.right,r=t.bottom,i=t.left):e=n=r=i=t,{top:e,right:n,bottom:r,left:i,disabled:t===!1}}function dw(t,e){const n=[],r=t._getSortedDatasetMetas(e);let i,o;for(i=0,o=r.length;i<o;++i)n.push(r[i].index);return n}function jy(t,e,n,r={}){const i=t.keys,o=r.mode==="single";let s,a,l,c;if(e!==null){for(s=0,a=i.length;s<a;++s){if(l=+i[s],l===n){if(r.all)continue;break}c=t.values[l],ct(c)&&(o||e===0||Ao(e)===Ao(c))&&(e+=c)}return e}}function dL(t,e){const{iScale:n,vScale:r}=e,i=n.axis==="x"?"x":"y",o=r.axis==="x"?"x":"y",s=Object.keys(t),a=new Array(s.length);let l,c,u;for(l=0,c=s.length;l<c;++l)u=s[l],a[l]={[i]:u,[o]:t[u]};return a}function Fy(t,e){const n=t&&t.options.stacked;return n||n===void 0&&e.stack!==void 0}function hL(t,e,n){return`${t.id}.${e.id}.${n.stack||n.type}`}function pL(t){const{min:e,max:n,minDefined:r,maxDefined:i}=t.getUserBounds();return{min:r?e:Number.NEGATIVE_INFINITY,max:i?n:Number.POSITIVE_INFINITY}}function mL(t,e,n){const r=t[e]||(t[e]={});return r[n]||(r[n]={})}function zy(t,e,n,r){for(const i of e.getMatchingVisibleMetas(r).reverse()){const o=t[i.index];if(n&&o>0||!n&&o<0)return i.index}return null}function $y(t,e){const{chart:n,_cachedMeta:r}=t,i=n._stacks||(n._stacks={}),{iScale:o,vScale:s,index:a}=r,l=o.axis,c=s.axis,u=hL(o,s,r),f=e.length;let d;for(let p=0;p<f;++p){const h=e[p],{[l]:m,[c]:w}=h,g=h._stacks||(h._stacks={});d=g[c]=mL(i,u,m),d[a]=w,d._top=zy(d,s,!0,r.type),d._bottom=zy(d,s,!1,r.type);const y=d._visualValues||(d._visualValues={});y[a]=w}}function df(t,e){const n=t.scales;return Object.keys(n).filter(r=>n[r].axis===e).shift()}function gL(t,e){return Xr(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function yL(t,e,n){return Xr(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}function Jo(t,e){const n=t.controller.index,r=t.vScale&&t.vScale.axis;if(r){e=e||t._parsed;for(const i of e){const o=i._stacks;if(!o||o[r]===void 0||o[r][n]===void 0)return;delete o[r][n],o[r]._visualValues!==void 0&&o[r]._visualValues[n]!==void 0&&delete o[r]._visualValues[n]}}}const hf=t=>t==="reset"||t==="none",By=(t,e)=>e?t:Object.assign({},t),vL=(t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:dw(n,!0),values:null};class Ls{constructor(e,n){this.chart=e,this._ctx=e.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=Fy(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(e){this.index!==e&&Jo(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,n=this._cachedMeta,r=this.getDataset(),i=(f,d,p,h)=>f==="x"?d:f==="r"?h:p,o=n.xAxisID=ge(r.xAxisID,df(e,"x")),s=n.yAxisID=ge(r.yAxisID,df(e,"y")),a=n.rAxisID=ge(r.rAxisID,df(e,"r")),l=n.indexAxis,c=n.iAxisID=i(l,o,s,a),u=n.vAxisID=i(l,s,o,a);n.xScale=this.getScaleForId(o),n.yScale=this.getScaleForId(s),n.rScale=this.getScaleForId(a),n.iScale=this.getScaleForId(c),n.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const n=this._cachedMeta;return e===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&ky(this._data,this),e._stacked&&Jo(e)}_dataCheck(){const e=this.getDataset(),n=e.data||(e.data=[]),r=this._data;if(Ce(n)){const i=this._cachedMeta;this._data=dL(n,i)}else if(r!==n){if(r){ky(r,this);const i=this._cachedMeta;Jo(i),i._parsed=[]}n&&Object.isExtensible(n)&&QT(n,this),this._syncList=[],this._data=n}}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const n=this._cachedMeta,r=this.getDataset();let i=!1;this._dataCheck();const o=n._stacked;n._stacked=Fy(n.vScale,n),n.stack!==r.stack&&(i=!0,Jo(n),n.stack=r.stack),this._resyncElements(e),(i||o!==n._stacked)&&$y(this,n._parsed)}configure(){const e=this.chart.config,n=e.datasetScopeKeys(this._type),r=e.getOptionScopes(this.getDataset(),n,!0);this.options=e.createResolver(r,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,n){const{_cachedMeta:r,_data:i}=this,{iScale:o,_stacked:s}=r,a=o.axis;let l=e===0&&n===i.length?!0:r._sorted,c=e>0&&r._parsed[e-1],u,f,d;if(this._parsing===!1)r._parsed=i,r._sorted=!0,d=i;else{Xe(i[e])?d=this.parseArrayData(r,i,e,n):Ce(i[e])?d=this.parseObjectData(r,i,e,n):d=this.parsePrimitiveData(r,i,e,n);const p=()=>f[a]===null||c&&f[a]<c[a];for(u=0;u<n;++u)r._parsed[u+e]=f=d[u],l&&(p()&&(l=!1),c=f);r._sorted=l}s&&$y(this,d)}parsePrimitiveData(e,n,r,i){const{iScale:o,vScale:s}=e,a=o.axis,l=s.axis,c=o.getLabels(),u=o===s,f=new Array(i);let d,p,h;for(d=0,p=i;d<p;++d)h=d+r,f[d]={[a]:u||o.parse(c[h],h),[l]:s.parse(n[h],h)};return f}parseArrayData(e,n,r,i){const{xScale:o,yScale:s}=e,a=new Array(i);let l,c,u,f;for(l=0,c=i;l<c;++l)u=l+r,f=n[u],a[l]={x:o.parse(f[0],u),y:s.parse(f[1],u)};return a}parseObjectData(e,n,r,i){const{xScale:o,yScale:s}=e,{xAxisKey:a="x",yAxisKey:l="y"}=this._parsing,c=new Array(i);let u,f,d,p;for(u=0,f=i;u<f;++u)d=u+r,p=n[d],c[u]={x:o.parse(_c(p,a),d),y:s.parse(_c(p,l),d)};return c}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,n,r){const i=this.chart,o=this._cachedMeta,s=n[e.axis],a={keys:dw(i,!0),values:n._stacks[e.axis]._visualValues};return jy(a,s,o.index,{mode:r})}updateRangeFromParsed(e,n,r,i){const o=r[n.axis];let s=o===null?NaN:o;const a=i&&r._stacks[n.axis];i&&a&&(i.values=a,s=jy(i,o,this._cachedMeta.index)),e.min=Math.min(e.min,s),e.max=Math.max(e.max,s)}getMinMax(e,n){const r=this._cachedMeta,i=r._parsed,o=r._sorted&&e===r.iScale,s=i.length,a=this._getOtherScale(e),l=vL(n,r,this.chart),c={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:u,max:f}=pL(a);let d,p;function h(){p=i[d];const m=p[a.axis];return!ct(p[e.axis])||u>m||f<m}for(d=0;d<s&&!(!h()&&(this.updateRangeFromParsed(c,e,p,l),o));++d);if(o){for(d=s-1;d>=0;--d)if(!h()){this.updateRangeFromParsed(c,e,p,l);break}}return c}getAllParsedValues(e){const n=this._cachedMeta._parsed,r=[];let i,o,s;for(i=0,o=n.length;i<o;++i)s=n[i][e.axis],ct(s)&&r.push(s);return r}getMaxOverflow(){return!1}getLabelAndValue(e){const n=this._cachedMeta,r=n.iScale,i=n.vScale,o=this.getParsed(e);return{label:r?""+r.getLabelForValue(o[r.axis]):"",value:i?""+i.getLabelForValue(o[i.axis]):""}}_update(e){const n=this._cachedMeta;this.update(e||"default"),n._clip=fL(ge(this.options.clip,uL(n.xScale,n.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,n=this.chart,r=this._cachedMeta,i=r.data||[],o=n.chartArea,s=[],a=this._drawStart||0,l=this._drawCount||i.length-a,c=this.options.drawActiveElementsOnTop;let u;for(r.dataset&&r.dataset.draw(e,o,a,l),u=a;u<a+l;++u){const f=i[u];f.hidden||(f.active&&c?s.push(f):f.draw(e,o))}for(u=0;u<s.length;++u)s[u].draw(e,o)}getStyle(e,n){const r=n?"active":"default";return e===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(r):this.resolveDataElementOptions(e||0,r)}getContext(e,n,r){const i=this.getDataset();let o;if(e>=0&&e<this._cachedMeta.data.length){const s=this._cachedMeta.data[e];o=s.$context||(s.$context=yL(this.getContext(),e,s)),o.parsed=this.getParsed(e),o.raw=i.data[e],o.index=o.dataIndex=e}else o=this.$context||(this.$context=gL(this.chart.getContext(),this.index)),o.dataset=i,o.index=o.datasetIndex=this.index;return o.active=!!n,o.mode=r,o}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,n){return this._resolveElementOptions(this.dataElementType.id,n,e)}_resolveElementOptions(e,n="default",r){const i=n==="active",o=this._cachedDataOpts,s=e+"-"+n,a=o[s],l=this.enableOptionSharing&&Cc(r);if(a)return By(a,l);const c=this.chart.config,u=c.datasetElementScopeKeys(this._type,e),f=i?[`${e}Hover`,"hover",e,""]:[e,""],d=c.getOptionScopes(this.getDataset(),u),p=Object.keys(Qe.elements[e]),h=()=>this.getContext(r,i,n),m=c.resolveNamedOptions(d,p,h,f);return m.$shared&&(m.$shared=l,o[s]=Object.freeze(By(m,l))),m}_resolveAnimations(e,n,r){const i=this.chart,o=this._cachedDataOpts,s=`animation-${n}`,a=o[s];if(a)return a;let l;if(i.options.animation!==!1){const u=this.chart.config,f=u.datasetAnimationScopeKeys(this._type,n),d=u.getOptionScopes(this.getDataset(),f);l=u.createResolver(d,this.getContext(e,r,n))}const c=new fw(i,l&&l.animations);return l&&l._cacheable&&(o[s]=Object.freeze(c)),c}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,n){return!n||hf(e)||this.chart._animationsDisabled}_getSharedOptions(e,n){const r=this.resolveDataElementOptions(e,n),i=this._sharedOptions,o=this.getSharedOptions(r),s=this.includeOptions(n,o)||o!==i;return this.updateSharedOptions(o,n,r),{sharedOptions:o,includeOptions:s}}updateElement(e,n,r,i){hf(i)?Object.assign(e,r):this._resolveAnimations(n,i).update(e,r)}updateSharedOptions(e,n,r){e&&!hf(n)&&this._resolveAnimations(void 0,n).update(e,r)}_setStyle(e,n,r,i){e.active=i;const o=this.getStyle(n,i);this._resolveAnimations(n,r,i).update(e,{options:!i&&this.getSharedOptions(o)||o})}removeHoverStyle(e,n,r){this._setStyle(e,r,"active",!1)}setHoverStyle(e,n,r){this._setStyle(e,r,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const n=this._data,r=this._cachedMeta.data;for(const[a,l,c]of this._syncList)this[a](l,c);this._syncList=[];const i=r.length,o=n.length,s=Math.min(o,i);s&&this.parse(0,s),o>i?this._insertElements(i,o-i,e):o<i&&this._removeElements(o,i-o)}_insertElements(e,n,r=!0){const i=this._cachedMeta,o=i.data,s=e+n;let a;const l=c=>{for(c.length+=n,a=c.length-1;a>=s;a--)c[a]=c[a-n]};for(l(o),a=e;a<s;++a)o[a]=new this.dataElementType;this._parsing&&l(i._parsed),this.parse(e,n),r&&this.updateElements(o,e,n,"reset")}updateElements(e,n,r,i){}_removeElements(e,n){const r=this._cachedMeta;if(this._parsing){const i=r._parsed.splice(e,n);r._stacked&&Jo(r,i)}r.data.splice(e,n)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[n,r,i]=e;this[n](r,i)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){const e=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-e,e])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(e,n){n&&this._sync(["_removeElements",e,n]);const r=arguments.length-2;r&&this._sync(["_insertElements",e,r])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}oe(Ls,"defaults",{}),oe(Ls,"datasetElementType",null),oe(Ls,"dataElementType",null);class jl extends Ls{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){const n=this._cachedMeta,{dataset:r,data:i=[],_dataset:o}=n,s=this.chart._animationsDisabled;let{start:a,count:l}=tO(n,i,s);this._drawStart=a,this._drawCount=l,nO(n)&&(a=0,l=i.length),r._chart=this.chart,r._datasetIndex=this.index,r._decimated=!!o._decimated,r.points=i;const c=this.resolveDatasetElementOptions(e);this.options.showLine||(c.borderWidth=0),c.segment=this.options.segment,this.updateElement(r,void 0,{animated:!s,options:c},e),this.updateElements(i,a,l,e)}updateElements(e,n,r,i){const o=i==="reset",{iScale:s,vScale:a,_stacked:l,_dataset:c}=this._cachedMeta,{sharedOptions:u,includeOptions:f}=this._getSharedOptions(n,i),d=s.axis,p=a.axis,{spanGaps:h,segment:m}=this.options,w=aa(h)?h:Number.POSITIVE_INFINITY,g=this.chart._animationsDisabled||o||i==="none",y=n+r,v=e.length;let _=n>0&&this.getParsed(n-1);for(let C=0;C<v;++C){const P=e[C],b=g?P:{};if(C<n||C>=y){b.skip=!0;continue}const x=this.getParsed(C),k=Ie(x[p]),E=b[d]=s.getPixelForValue(x[d],C),O=b[p]=o||k?a.getBasePixel():a.getPixelForValue(l?this.applyStack(a,x,l):x[p],C);b.skip=isNaN(E)||isNaN(O)||k,b.stop=C>0&&Math.abs(x[d]-_[d])>w,m&&(b.parsed=x,b.raw=c.data[C]),f&&(b.options=u||this.resolveDataElementOptions(C,P.active?"active":i)),g||this.updateElement(P,C,b,i
vendor: 4,319 bytes, line 864
864),_=x}}getMaxOverflow(){const e=this._cachedMeta,n=e.dataset,r=n.options&&n.options.borderWidth||0,i=e.data||[];if(!i.length)return r;const o=i[0].size(this.resolveDataElementOptions(0)),s=i[i.length-1].size(this.resolveDataElementOptions(i.length-1));return Math.max(r,o,s)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}oe(jl,"id","line"),oe(jl,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),oe(jl,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});function ei(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Fp{constructor(e){oe(this,"options");this.options=e||{}}static override(e){Object.assign(Fp.prototype,e)}init(){}formats(){return ei()}parse(){return ei()}format(){return ei()}add(){return ei()}diff(){return ei()}startOf(){return ei()}endOf(){return ei()}}var xL={_date:Fp};function bL(t,e,n,r){const{controller:i,data:o,_sorted:s}=t,a=i._cachedMeta.iScale;if(a&&e===a.axis&&e!=="r"&&s&&o.length){const l=a._reversePixels?GT:hi;if(r){if(i._sharedOptions){const c=o[0],u=typeof c.getRange=="function"&&c.getRange(e);if(u){const f=l(o,e,n-u),d=l(o,e,n+u);return{lo:f.lo,hi:d.hi}}}}else return l(o,e,n)}return{lo:0,hi:o.length-1}}function _a(t,e,n,r,i){const o=t.getSortedVisibleDatasetMetas(),s=n[e];for(let a=0,l=o.length;a<l;++a){const{index:c,data:u}=o[a],{lo:f,hi:d}=bL(o[a],e,s,i);for(let p=f;p<=d;++p){const h=u[p];h.skip||r(h,c,p)}}}function wL(t){const e=t.indexOf("x")!==-1,n=t.indexOf("y")!==-1;return function(r,i){const o=e?Math.abs(r.x-i.x):0,s=n?Math.abs(r.y-i.y):0;return Math.sqrt(Math.pow(o,2)+Math.pow(s,2))}}function pf(t,e,n,r,i){const o=[];return!i&&!t.isPointInArea(e)||_a(t,n,e,function(a,l,c){!i&&!nr(a,t.chartArea,0)||a.inRange(e.x,e.y,r)&&o.push({element:a,datasetIndex:l,index:c})},!0),o}function kL(t,e,n,r){let i=[];function o(s,a,l){const{startAngle:c,endAngle:u}=s.getProps(["startAngle","endAngle"],r),{angle:f}=KT(s,{x:e.x,y:e.y});Xb(f,c,u)&&i.push({element:s,datasetIndex:a,index:l})}return _a(t,n,e,o),i}function SL(t,e,n,r,i,o){let s=[];const a=wL(n);let l=Number.POSITIVE_INFINITY;function c(u,f,d){const p=u.inRange(e.x,e.y,i);if(r&&!p)return;const h=u.getCenterPoint(i);if(!(!!o||t.isPointInArea(h))&&!p)return;const w=a(e,h);w<l?(s=[{element:u,datasetIndex:f,index:d}],l=w):w===l&&s.push({element:u,datasetIndex:f,index:d})}return _a(t,n,e,c),s}function mf(t,e,n,r,i,o){return!o&&!t.isPointInArea(e)?[]:n==="r"&&!r?kL(t,e,n,i):SL(t,e,n,r,i,o)}function Hy(t,e,n,r,i){const o=[],s=n==="x"?"inXRange":"inYRange";let a=!1;return _a(t,n,e,(l,c,u)=>{l[s](e[n],i)&&(o.push({element:l,datasetIndex:c,index:u}),a=a||l.inRange(e.x,e.y,i))}),r&&!a?[]:o}var _L={evaluateInteractionItems:_a,modes:{index(t,e,n,r){const i=ii(e,t),o=n.axis||"x",s=n.includeInvisible||!1,a=n.intersect?pf(t,i,o,r,s):mf(t,i,o,!1,r,s),l=[];return a.length?(t.getSortedVisibleDatasetMetas().forEach(c=>{const u=a[0].index,f=c.data[u];f&&!f.skip&&l.push({element:f,datasetIndex:c.index,index:u})}),l):[]},dataset(t,e,n,r){const i=ii(e,t),o=n.axis||"xy",s=n.includeInvisible||!1;let a=n.intersect?pf(t,i,o,r,s):mf(t,i,o,!1,r,s);if(a.length>0){const l=a[0].datasetIndex,c=t.getDatasetMeta(l).data;a=[];for(let u=0;u<c.length;++u)a.push({element:c[u],datasetIndex:l,index:u})}return a},point(t,e,n,r){const i=ii(e,t),o=n.axis||"xy",s=n.includeInvisible||!1;return pf(t,i,o,r,s)},nearest(t,e,n,r){const i=ii(e,t),o=n.axis||"xy",s=n.includeInvisible||!1;return mf(t,i,o,n.intersect,r,s)},x(t,e,n,r){const i=ii(e,t);return Hy(t,i,"x",n.intersect,r)},y(t,e,n,r){const i=ii(e,t);return Hy(t,i,"y",n.intersect,r)}}};const hw=["left","top","right","bottom"];function Zo(t,e){return t.filter(n=>n.pos===e)}function Uy(t,e){return t.filter(n=>hw.indexOf(n.pos)===-1&&n.box.axis===e)}function es(t,e){return t.sort((n,r)=>{const i=e?r:n,o=e?n:r;return i.weight===o.weight?i.index-o.index:i.weight-o.weight})}function CL(t){const e=[];let n,r,i,o,s,a;for(n=0,r=(t||[]).length;n<r;++n)i=t[n],{position:o,options:{stack:s,stackWeight:a=1}}=i,e.push({index:n,box:i,pos:o,horizontal:i.isHorizontal(),weight:i.weight,stack:s&&o+s,stackWeight:a});return e}function EL(t){const e={};for(const n of t){const{stack:r,pos:i,stackWeight:o}=n;
vendor: 105,816 bytes, lines 864-866
864if(!r||!hw.includes(i))continue;const s=e[r]||(e[r]={count:0,placed:0,weight:0,size:0});s.count++,s.weight+=o}return e}function PL(t,e){const n=EL(t),{vBoxMaxWidth:r,hBoxMaxHeight:i}=e;let o,s,a;for(o=0,s=t.length;o<s;++o){a=t[o];const{fullSize:l}=a.box,c=n[a.stack],u=c&&a.stackWeight/c.weight;a.horizontal?(a.width=u?u*r:l&&e.availableWidth,a.height=i):(a.width=r,a.height=u?u*i:l&&e.availableHeight)}return n}function AL(t){const e=CL(t),n=es(e.filter(c=>c.box.fullSize),!0),r=es(Zo(e,"left"),!0),i=es(Zo(e,"right")),o=es(Zo(e,"top"),!0),s=es(Zo(e,"bottom")),a=Uy(e,"x"),l=Uy(e,"y");return{fullSize:n,leftAndTop:r.concat(o),rightAndBottom:i.concat(l).concat(s).concat(a),chartArea:Zo(e,"chartArea"),vertical:r.concat(i).concat(l),horizontal:o.concat(s).concat(a)}}function Vy(t,e,n,r){return Math.max(t[n],e[n])+Math.max(t[r],e[r])}function pw(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function TL(t,e,n,r){const{pos:i,box:o}=n,s=t.maxPadding;if(!Ce(i)){n.size&&(t[i]-=n.size);const f=r[n.stack]||{size:0,count:1};f.size=Math.max(f.size,n.horizontal?o.height:o.width),n.size=f.size/f.count,t[i]+=n.size}o.getPadding&&pw(s,o.getPadding());const a=Math.max(0,e.outerWidth-Vy(s,t,"left","right")),l=Math.max(0,e.outerHeight-Vy(s,t,"top","bottom")),c=a!==t.w,u=l!==t.h;return t.w=a,t.h=l,n.horizontal?{same:c,other:u}:{same:u,other:c}}function OL(t){const e=t.maxPadding;function n(r){const i=Math.max(e[r]-t[r],0);return t[r]+=i,i}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}function LL(t,e){const n=e.maxPadding;function r(i){const o={left:0,top:0,right:0,bottom:0};return i.forEach(s=>{o[s]=Math.max(e[s],n[s])}),o}return r(t?["left","right"]:["top","bottom"])}function fs(t,e,n,r){const i=[];let o,s,a,l,c,u;for(o=0,s=t.length,c=0;o<s;++o){a=t[o],l=a.box,l.update(a.width||e.w,a.height||e.h,LL(a.horizontal,e));const{same:f,other:d}=TL(e,n,a,r);c|=f&&i.length,u=u||d,l.fullSize||i.push(a)}return c&&fs(i,e,n,r)||u}function fl(t,e,n,r,i){t.top=n,t.left=e,t.right=e+r,t.bottom=n+i,t.width=r,t.height=i}function Wy(t,e,n,r){const i=n.padding;let{x:o,y:s}=e;for(const a of t){const l=a.box,c=r[a.stack]||{count:1,placed:0,weight:1},u=a.stackWeight/c.weight||1;if(a.horizontal){const f=e.w*u,d=c.size||l.height;Cc(c.start)&&(s=c.start),l.fullSize?fl(l,i.left,s,n.outerWidth-i.right-i.left,d):fl(l,e.left+c.placed,s,f,d),c.start=s,c.placed+=f,s=l.bottom}else{const f=e.h*u,d=c.size||l.width;Cc(c.start)&&(o=c.start),l.fullSize?fl(l,o,i.top,d,n.outerHeight-i.bottom-i.top):fl(l,o,e.top+c.placed,d,f),c.start=o,c.placed+=f,o=l.right}}e.x=o,e.y=s}var pn={addBox(t,e){t.boxes||(t.boxes=[]),e.fullSize=e.fullSize||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw(n){e.draw(n)}}]},t.boxes.push(e)},removeBox(t,e){const n=t.boxes?t.boxes.indexOf(e):-1;n!==-1&&t.boxes.splice(n,1)},configure(t,e,n){e.fullSize=n.fullSize,e.position=n.position,e.weight=n.weight},update(t,e,n,r){if(!t)return;const i=St(t.options.layout.padding),o=Math.max(e-i.width,0),s=Math.max(n-i.height,0),a=AL(t.boxes),l=a.vertical,c=a.horizontal;Pe(t.boxes,m=>{typeof m.beforeLayout=="function"&&m.beforeLayout()});const u=l.reduce((m,w)=>w.box.options&&w.box.options.display===!1?m:m+1,0)||1,f=Object.freeze({outerWidth:e,outerHeight:n,padding:i,availableWidth:o,availableHeight:s,vBoxMaxWidth:o/2/u,hBoxMaxHeight:s/2}),d=Object.assign({},i);pw(d,St(r));const p=Object.assign({maxPadding:d,w:o,h:s,x:i.left,y:i.top},i),h=PL(l.concat(c),f);fs(a.fullSize,p,f,h),fs(l,p,f,h),fs(c,p,f,h)&&fs(l,p,f,h),OL(p),Wy(a.leftAndTop,p,f,h),p.x+=p.w,p.y+=p.h,Wy(a.rightAndBottom,p,f,h),t.chartArea={left:p.left,top:p.top,right:p.left+p.w,bottom:p.top+p.h,height:p.h,width:p.w},Pe(a.chartArea,m=>{const w=m.box;Object.assign(w,t.chartArea),w.update(p.w,p.h,{left:0,top:0,right:0,bottom:0})})}};class mw{acquireContext(e,n){}releaseContext(e){return!1}addEventListener(e,n,r){}removeEventListener(e,n,r){}getDevicePixelRatio(){return 1}getMaximumSize(e,n,r,i){return n=Math.max(0,n||e.width),r=r||e.height,{width:n,height:Math.max(0,i?Math.floor(n/i):r)}}isAttached(e){return!0}updateConfig(e){}}class RL extends mw{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const Fl="$chartjs",NL={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Ky=t=>t===null||t==="";function ML(t,e){const n=t.style,r=t.getAttribute("height"),i=t.getAttribute("width");if(t[Fl]={initial:{height:r,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",Ky(i)){const o=Ly(t,"width");o!==void 0&&(t.width=o)}if(Ky(r))if(t.style.height==="")t.height=t.width/(e||2);else{const o=Ly(t,"height");o!==void 0&&(t.height=o)}return t}const gw=KO?{passive:!0}:!1;function DL(t,e,n){t&&t.addEventListener(e,n,gw)}function IL(t,e,n){t&&t.canvas&&t.canvas.removeEventListener(e,n,gw)}function jL(t,e){const n=NL[t.type]||t.type,{x:r,y:i}=ii(t,e);return{type:n,chart:e,native:t,x:r!==void 0?r:null,y:i!==void 0?i:null}}function Oc(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function FL(t,e,n){const r=t.canvas,i=new MutationObserver(o=>{let s=!1;for(const a of o)s=s||Oc(a.addedNodes,r),s=s&&!Oc(a.removedNodes,r);s&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}function zL(t,e,n){const r=t.canvas,i=new MutationObserver(o=>{let s=!1;for(const a of o)s=s||Oc(a.removedNodes,r),s=s&&!Oc(a.addedNodes,r);s&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}const la=new Map;let Yy=0;function yw(){const t=window.devicePixelRatio;t!==Yy&&(Yy=t,la.forEach((e,n)=>{n.currentDevicePixelRatio!==t&&e()}))}function $L(t,e){la.size||window.addEventListener("resize",yw),la.set(t,e)}function BL(t){la.delete(t),la.size||window.removeEventListener("resize",yw)}function HL(t,e,n){const r=t.canvas,i=r&&jp(r);if(!i)return;const o=Zb((a,l)=>{const c=i.clientWidth;n(a,l),c<i.clientWidth&&n()},window),s=new ResizeObserver(a=>{const l=a[0],c=l.contentRect.width,u=l.contentRect.height;c===0&&u===0||o(c,u)});return s.observe(i),$L(t,o),s}function gf(t,e,n){n&&n.disconnect(),e==="resize"&&BL(t)}function UL(t,e,n){const r=t.canvas,i=Zb(o=>{t.ctx!==null&&n(jL(o,t))},t);return DL(r,e,i),i}class VL extends mw{acquireContext(e,n){const r=e&&e.getContext&&e.getContext("2d");return r&&r.canvas===e?(ML(e,n),r):null}releaseContext(e){const n=e.canvas;if(!n[Fl])return!1;const r=n[Fl].initial;["height","width"].forEach(o=>{const s=r[o];Ie(s)?n.removeAttribute(o):n.setAttribute(o,s)});const i=r.style||{};return Object.keys(i).forEach(o=>{n.style[o]=i[o]}),n.width=n.width,delete n[Fl],!0}addEventListener(e,n,r){this.removeEventListener(e,n);const i=e.$proxies||(e.$proxies={}),s={attach:FL,detach:zL,resize:HL}[n]||UL;i[n]=s(e,n,r)}removeEventListener(e,n){const r=e.$proxies||(e.$proxies={}),i=r[n];if(!i)return;({attach:gf,detach:gf,resize:gf}[n]||IL)(e,n,i),r[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,n,r,i){return WO(e,n,r,i)}isAttached(e){const n=e&&jp(e);return!!(n&&n.isConnected)}}function WL(t){return!Ip()||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas?RL:VL}class fr{constructor(){oe(this,"x");oe(this,"y");oe(this,"active",!1);oe(this,"options");oe(this,"$animations")}tooltipPosition(e){const{x:n,y:r}=this.getProps(["x","y"],e);return{x:n,y:r}}hasValue(){return aa(this.x)&&aa(this.y)}getProps(e,n){const r=this.$animations;if(!n||!r)return this;const i={};return e.forEach(o=>{i[o]=r[o]&&r[o].active()?r[o]._to:this[o]}),i}}oe(fr,"defaults",{}),oe(fr,"defaultRoutes");function KL(t,e){const n=t.options.ticks,r=YL(t),i=Math.min(n.maxTicksLimit||r,r),o=n.major.enabled?GL(e):[],s=o.length,a=o[0],l=o[s-1],c=[];if(s>i)return XL(e,c,o,s/i),c;const u=qL(o,e,i);if(s>0){let f,d;const p=s>1?Math.round((l-a)/(s-1)):null;for(dl(e,c,u,Ie(p)?0:a-p,a),f=0,d=s-1;f<d;f++)dl(e,c,u,o[f],o[f+1]);return dl(e,c,u,l,Ie(p)?e.length:l+p),c}return dl(e,c,u),c}function YL(t){const e=t.options.offset,n=t._tickSize(),r=t._length/n+(e?0:1),i=t._maxLength/n;return Math.floor(Math.min(r,i))}function qL(t,e,n){const r=QL(t),i=e.length/n;if(!r)return Math.max(i,1);const o=VT(r);for(let s=0,a=o.length-1;s<a;s++){const l=o[s];if(l>i)return l}return Math.max(i,1)}function GL(t){const e=[];let n,r;for(n=0,r=t.length;n<r;n++)t[n].major&&e.push(n);return e}function XL(t,e,n,r){let i=0,o=n[0],s;for(r=Math.ceil(r),s=0;s<t.length;s++)s===o&&(e.push(t[s]),i++,o=n[i*r])}function dl(t,e,n,r,i){const o=ge(r,0),s=Math.min(ge(i,t.length),t.length);let a=0,l,c,u;for(n=Math.ceil(n),i&&(l=i-r,n=l/Math.floor(l/n)),u=o;u<0;)a++,u=Math.round(o+a*n);for(c=Math.max(o,0);c<s;c++)c===u&&(e.push(t[c]),a++,u=Math.round(o+a*n))}function QL(t){const e=t.length;let n,r;if(e<2)return!1;for(r=t[0],n=1;n<e;++n)if(t[n]-t[n-1]!==r)return!1;return r}const JL=t=>t==="left"?"right":t==="right"?"left":t,qy=(t,e,n)=>e==="top"||e==="left"?t[e]+n:t[e]-n,Gy=(t,e)=>Math.min(e||t,t);function Xy(t,e){const n=[],r=t.length/e,i=t.length;let o=0;for(;o<i;o+=r)n.push(t[Math.floor(o)]);return n}function ZL(t,e,n){const r=t.ticks.length,i=Math.min(e,r-1),o=t._startPixel,s=t._endPixel,a=1e-6;let l=t.getPixelForTick(i),c;if(!(n&&(r===1?c=Math.max(l-o,s-l):e===0?c=(t.getPixelForTick(1)-l)/2:c=(l-t.getPixelForTick(i-1))/2,l+=i<e?c:-c,l<o-a||l>s+a)))return l}function eR(t,e){Pe(t,n=>{const r=n.gc,i=r.length/2;let o;if(i>e){for(o=0;o<i;++o)delete n.data[r[o]];r.splice(0,i)}})}function ts(t){return t.drawTicks?t.tickLength:0}function Qy(t,e){if(!t.display)return 0;const n=ot(t.font,e),r=St(t.padding);return(Xe(t.text)?t.text.length:1)*n.lineHeight+r.height}function tR(t,e){return Xr(t,{scale:e,type:"scale"})}function nR(t,e,n){return Xr(t,{tick:n,index:e,type:"tick"})}function rR(t,e,n){let r=Ap(t);return(n&&e!=="right"||!n&&e==="right")&&(r=JL(r)),r}function iR(t,e,n,r){const{top:i,left:o,bottom:s,right:a,chart:l}=t,{chartArea:c,scales:u}=l;let f=0,d,p,h;const m=s-i,w=a-o;if(t.isHorizontal()){if(p=bt(r,o,a),Ce(n)){const g=Object.keys(n)[0],y=n[g];h=u[g].getPixelForValue(y)+m-e}else n==="center"?h=(c.bottom+c.top)/2+m-e:h=qy(t,n,e);d=a-o}else{if(Ce(n)){const g=Object.keys(n)[0],y=n[g];p=u[g].getPixelForValue(y)-w+e}else n==="center"?p=(c.left+c.right)/2-w+e:p=qy(t,n,e);h=bt(r,s,i),f=n==="left"?-Jt:Jt}return{titleX:p,titleY:h,maxWidth:d,rotation:f}}class Mi extends fr{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,n){return e}getUserBounds(){let{_userMin:e,_userMax:n,_suggestedMin:r,_suggestedMax:i}=this;return e=qt(e,Number.POSITIVE_INFINITY),n=qt(n,Number.NEGATIVE_INFINITY),r=qt(r,Number.POSITIVE_INFINITY),i=qt(i,Number.NEGATIVE_INFINITY),{min:qt(e,r),max:qt(n,i),minDefined:ct(e),maxDefined:ct(n)}}getMinMax(e){let{min:n,max:r,minDefined:i,maxDefined:o}=this.getUserBounds(),s;if(i&&o)return{min:n,max:r};const a=this.getMatchingVisibleMetas();for(let l=0,c=a.length;l<c;++l)s=a[l].controller.getMinMax(this,e),i||(n=Math.min(n,s.min)),o||(r=Math.max(r,s.max));return n=o&&n>r?r:n,r=i&&n>r?n:r,{min:qt(n,qt(r,n)),max:qt(r,qt(n,r))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Le(this.options.beforeUpdate,[this])}update(e,n,r){const{beginAtZero:i,grace:o,ticks:s}=this.options,a=s.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=n,this._margins=r=Object.assign({left:0,right:0,top:0,bottom:0},r),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+r.left+r.right:this.height+r.top+r.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=SO(this,o,i),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=a<this.ticks.length;this._convertTicksToLabels(l?Xy(this.ticks,a):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),s.display&&(s.autoSkip||s.source==="auto")&&(this.ticks=KL(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),l&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e=this.options.reverse,n,r;this.isHorizontal()?(n=this.left,r=this.right):(n=this.top,r=this.bottom,e=!e),this._startPixel=n,this._endPixel=r,this._reversePixels=e,this._length=r-n,this._alignToPixels=this.options.alignToPixels}afterUpdate(){Le(this.options.afterUpdate,[this])}beforeSetDimensions(){Le(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){Le(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),Le(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){Le(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){const n=this.options.ticks;let r,i,o;for(r=0,i=e.length;r<i;r++)o=e[r],o.label=Le(n.callback,[o.value,r,e],this)}afterTickToLabelConversion(){Le(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){Le(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,n=e.ticks,r=Gy(this.ticks.length,e.ticks.maxTicksLimit),i=n.minRotation||0,o=n.maxRotation;let s=i,a,l,c;if(!this._isVisible()||!n.display||i>=o||r<=1||!this.isHorizontal()){this.labelRotation=i;return}const u=this._getLabelSizes(),f=u.widest.width,d=u.highest.height,p=hn(this.chart.width-f,0,this.maxWidth);a=e.offset?this.maxWidth/r:p/(r-1),f+6>a&&(a=p/(r-(e.offset?.5:1)),l=this.maxHeight-ts(e.grid)-n.padding-Qy(e.title,this.chart.options.font),c=Math.sqrt(f*f+d*d),s=Ep(Math.min(Math.asin(hn((u.highest.height+6)/a,-1,1)),Math.asin(hn(l/c,-1,1))-Math.asin(hn(d/c,-1,1)))),s=Math.max(i,Math.min(o,s))),this.labelRotation=s}afterCalculateLabelRotation(){Le(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Le(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:n,options:{ticks:r,title:i,grid:o}}=this,s=this._isVisible(),a=this.isHorizontal();if(s){const l=Qy(i,n.options.font);if(a?(e.width=this.maxWidth,e.height=ts(o)+l):(e.height=this.maxHeight,e.width=ts(o)+l),r.display&&this.ticks.length){const{first:c,last:u,widest:f,highest:d}=this._getLabelSizes(),p=r.padding*2,h=Tr(this.labelRotation),m=Math.cos(h),w=Math.sin(h);if(a){const g=r.mirror?0:w*f.width+m*d.height;e.height=Math.min(this.maxHeight,e.height+g+p)}else{const g=r.mirror?0:m*f.width+w*d.height;e.width=Math.min(this.maxWidth,e.width+g+p)}this._calculatePadding(c,u,w,m)}}this._handleMargins(),a?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,n,r,i){const{ticks:{align:o,padding:s},position:a}=this.options,l=this.labelRotation!==0,c=a!=="top"&&this.axis==="x";if(this.isHorizontal()){const u=this.getPixelForTick(0)-this.left,f=this.right-this.getPixelForTick(this.ticks.length-1);let d=0,p=0;l?c?(d=i*e.width,p=r*n.height):(d=r*e.height,p=i*n.width):o==="start"?p=n.width:o==="end"?d=e.width:o!=="inner"&&(d=e.width/2,p=n.width/2),this.paddingLeft=Math.max((d-u+s)*this.width/(this.width-u),0),this.paddingRight=Math.max((p-f+s)*this.width/(this.width-f),0)}else{let u=n.height/2,f=e.height/2;o==="start"?(u=0,f=e.height):o==="end"&&(u=n.height,f=0),this.paddingTop=u+s,this.paddingBottom=f+s}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Le(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:n}=this.options;return n==="top"||n==="bottom"||e==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let n,r;for(n=0,r=e.length;n<r;n++)Ie(e[n].label)&&(e.splice(n,1),r--,n--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){const n=this.options.ticks.sampleSize;let r=this.ticks;n<r.length&&(r=Xy(r,n)),this._labelSizes=e=this._computeLabelSizes(r,r.length,this.options.ticks.maxTicksLimit)}return e}_computeLabelSizes(e,n,r){const{ctx:i,_longestTextCache:o}=this,s=[],a=[],l=Math.floor(n/Gy(n,r));let c=0,u=0,f,d,p,h,m,w,g,y,v,_,C;for(f=0;f<n;f+=l){if(h=e[f].label,m=this._resolveTickFontOptions(f),i.font=w=m.string,g=o[w]=o[w]||{data:{},gc:[]},y=m.lineHeight,v=_=0,!Ie(h)&&!Xe(h))v=Pc(i,g.data,g.gc,v,h),_=y;else if(Xe(h))for(d=0,p=h.length;d<p;++d)C=h[d],!Ie(C)&&!Xe(C)&&(v=Pc(i,g.data,g.gc,v,C),_+=y);s.push(v),a.push(_),c=Math.max(v,c),u=Math.max(_,u)}eR(o,n);const P=s.indexOf(c),b=a.indexOf(u),x=k=>({width:s[k]||0,height:a[k]||0});return{first:x(0),last:x(n-1),widest:x(P),highest:x(b),widths:s,heights:a}}getLabelForValue(e){return e}getPixelForValue(e,n){return NaN}getValueForPixel(e){}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const n=this._startPixel+e*this._length;return qT(this._alignToPixels?Zr(this.chart,n,0):n)}getDecimalForPixel(e){const n=(e-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:n}=this;return e<0&&n<0?n:e>0&&n>0?e:0}getContext(e){const n=this.ticks||[];if(e>=0&&e<n.length){const r=n[e];return r.$context||(r.$context=nR(this.getContext(),e,r))}return this.$context||(this.$context=tR(this.chart.getContext(),this))}_tickSize(){const e=this.options.ticks,n=Tr(this.labelRotation),r=Math.abs(Math.cos(n)),i=Math.abs(Math.sin(n)),o=this._getLabelSizes(),s=e.autoSkipPadding||0,a=o?o.widest.width+s:0,l=o?o.highest.height+s:0;return this.isHorizontal()?l*r>a*i?a/r:l/i:l*i<a*r?l/r:a/i}_isVisible(){const e=this.options.display;return e!=="auto"?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){const n=this.axis,r=this.chart,i=this.options,{grid:o,position:s,border:a}=i,l=o.offset,c=this.isHorizontal(),f=this.ticks.length+(l?1:0),d=ts(o),p=[],h=a.setContext(this.getContext()),m=h.display?h.width:0,w=m/2,g=function(W){return Zr(r,W,m)};let y,v,_,C,P,b,x,k,E,O,R,I;if(s==="top")y=g(this.bottom),b=this.bottom-d,k=y-w,O=g(e.top)+w,I=e.bottom;else if(s==="bottom")y=g(this.top),O=e.top,I=g(e.bottom)-w,b=y+w,k=this.top+d;else if(s==="left")y=g(this.right),P=this.right-d,x=y-w,E=g(e.left)+w,R=e.right;else if(s==="right")y=g(this.left),E=e.left,R=g(e.right)-w,P=y+w,x=this.left+d;else if(n==="x"){if(s==="center")y=g((e.top+e.bottom)/2+.5);else if(Ce(s)){const W=Object.keys(s)[0],$=s[W];y=g(this.chart.scales[W].getPixelForValue($))}O=e.top,I=e.bottom,b=y+w,k=b+d}else if(n==="y"){if(s==="center")y=g((e.left+e.right)/2);else if(Ce(s)){const W=Object.keys(s)[0],$=s[W];y=g(this.chart.scales[W].getPixelForValue($))}P=y-w,x=P-d,E=e.left,R=e.right}const F=ge(i.ticks.maxTicksLimit,f),H=Math.max(1,Math.ceil(f/F));for(v=0;v<f;v+=H){const W=this.getContext(v),$=o.setContext(W),M=a.setContext(W),D=$.lineWidth,V=$.color,Y=M.dash||[],z=M.dashOffset,J=$.tickWidth,ne=$.tickColor,Z=$.tickBorderDash||[],re=$.tickBorderDashOffset;_=ZL(this,v,l),_!==void 0&&(C=Zr(r,_,D),c?P=x=E=R=C:b=k=O=I=C,p.push({tx1:P,ty1:b,tx2:x,ty2:k,x1:E,y1:O,x2:R,y2:I,width:D,color:V,borderDash:Y,borderDashOffset:z,tickWidth:J,tickColor:ne,tickBorderDash:Z,tickBorderDashOffset:re}))}return this._ticksLength=f,this._borderValue=y,p}_computeLabelItems(e){const n=this.axis,r=this.options,{position:i,ticks:o}=r,s=this.isHorizontal(),a=this.ticks,{align:l,crossAlign:c,padding:u,mirror:f}=o,d=ts(r.grid),p=d+u,h=f?-u:p,m=-Tr(this.labelRotation),w=[];let g,y,v,_,C,P,b,x,k,E,O,R,I="middle";if(i==="top")P=this.bottom-h,b=this._getXAxisLabelAlignment();else if(i==="bottom")P=this.top+h,b=this._getXAxisLabelAlignment();else if(i==="left"){const H=this._getYAxisLabelAlignment(d);b=H.textAlign,C=H.x}else if(i==="right"){const H=this._getYAxisLabelAlignment(d);b=H.textAlign,C=H.x}else if(n==="x"){if(i==="center")P=(e.top+e.bottom)/2+p;else if(Ce(i)){const H=Object.keys(i)[0],W=i[H];P=this.chart.scales[H].getPixelForValue(W)+p}b=this._getXAxisLabelAlignment()}else if(n==="y"){if(i==="center")C=(e.left+e.right)/2-p;else if(Ce(i)){const H=Object.keys(i)[0],W=i[H];C=this.chart.scales[H].getPixelForValue(W)}b=this._getYAxisLabelAlignment(d).textAlign}n==="y"&&(l==="start"?I="top":l==="end"&&(I="bottom"));const F=this._getLabelSizes();for(g=0,y=a.length;g<y;++g){v=a[g],_=v.label;const H=o.setContext(this.getContext(g));x=this.getPixelForTick(g)+o.labelOffset,k=this._resolveTickFontOptions(g),E=k.lineHeight,O=Xe(_)?_.length:1;const W=O/2,$=H.color,M=H.textStrokeColor,D=H.textStrokeWidth;let V=b;s?(C=x,b==="inner"&&(g===y-1?V=this.options.reverse?"left":"right":g===0?V=this.options.reverse?"right":"left":V="center"),i==="top"?c==="near"||m!==0?R=-O*E+E/2:c==="center"?R=-F.highest.height/2-W*E+E:R=-F.highest.height+E/2:c==="near"||m!==0?R=E/2:c==="center"?R=F.highest.height/2-W*E:R=F.highest.height-O*E,f&&(R*=-1),m!==0&&!H.showLabelBackdrop&&(C+=E/2*Math.sin(m))):(P=x,R=(1-O)*E/2);let Y;if(H.showLabelBackdrop){const z=St(H.backdropPadding),J=F.heights[g],ne=F.widths[g];let Z=R-z.top,re=0-z.left;switch(I){case"middle":Z-=J/2;break;case"bottom":Z-=J;break}switch(b){case"center":re-=ne/2;break;case"right":re-=ne;break;case"inner":g===y-1?re-=ne:g>0&&(re-=ne/2);break}Y={left:re,top:Z,width:ne+z.width,height:J+z.height,color:H.backdropColor}}w.push({label:_,font:k,textOffset:R,options:{rotation:m,color:$,strokeColor:M,strokeWidth:D,textAlign:V,textBaseline:I,translation:[C,P],backdrop:Y}})}return w}_getXAxisLabelAlignment(){const{position:e,ticks:n}=this.options;if(-Tr(this.labelRotation))return e==="top"?"left":"right";let i="center";return n.align==="start"?i="left":n.align==="end"?i="right":n.align==="inner"&&(i="inner"),i}_getYAxisLabelAlignment(e){const{position:n,ticks:{crossAlign:r,mirror:i,padding:o}}=this.options,s=this._getLabelSizes(),a=e+o,l=s.widest.width;let c,u;return n==="left"?i?(u=this.right+o,r==="near"?c="left":r==="center"?(c="center",u+=l/2):(c="right",u+=l)):(u=this.right-a,r==="near"?c="right":r==="center"?(c="center",u-=l/2):(c="left",u=this.left)):n==="right"?i?(u=this.left+o,r==="near"?c="right":r==="center"?(c="center",u-=l/2):(c="left",u-=l)):(u=this.left+a,r==="near"?c="left":r==="center"?(c="center",u+=l/2):(c="right",u=this.right)):c="right",{textAlign:c,x:u}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,n=this.options.position;if(n==="left"||n==="right")return{top:0,left:this.left,bottom:e.height,right:this.right};if(n==="top"||n==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:e.width}}drawBackground(){const{ctx:e,options:{backgroundColor:n},left:r,top:i,width:o,height:s}=this;n&&(e.save(),e.fillStyle=n,e.fillRect(r,i,o,s),e.restore())}getLineWidthForValue(e){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const i=this.ticks.findIndex(o=>o.value===e);return i>=0?n.setContext(this.getContext(i)).lineWidth:0}drawGrid(e){const n=this.options.grid,r=this.ctx,i=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let o,s;const a=(l,c,u)=>{!u.width||!u.color||(r.save(),r.lineWidth=u.width,r.strokeStyle=u.color,r.setLineDash(u.borderDash||[]),r.lineDashOffset=u.borderDashOffset,r.beginPath(),r.moveTo(l.x,l.y),r.lineTo(c.x,c.y),r.stroke(),r.restore())};if(n.display)for(o=0,s=i.length;o<s;++o){const l=i[o];n.drawOnChartArea&&a({x:l.x1,y:l.y1},{x:l.x2,y:l.y2},l),n.drawTicks&&a({x:l.tx1,y:l.ty1},{x:l.tx2,y:l.ty2},{color:l.tickColor,width:l.tickWidth,borderDash:l.tickBorderDash,borderDashOffset:l.tickBorderDashOffset})}}drawBorder(){const{chart:e,ctx:n,options:{border:r,grid:i}}=this,o=r.setContext(this.getContext()),s=r.display?o.width:0;if(!s)return;const a=i.setContext(this.getContext(0)).lineWidth,l=this._borderValue;let c,u,f,d;this.isHorizontal()?(c=Zr(e,this.left,s)-s/2,u=Zr(e,this.right,a)+a/2,f=d=l):(f=Zr(e,this.top,s)-s/2,d=Zr(e,this.bottom,a)+a/2,c=u=l),n.save(),n.lineWidth=o.width,n.strokeStyle=o.color,n.beginPath(),n.moveTo(c,f),n.lineTo(u,d),n.stroke(),n.restore()}drawLabels(e){if(!this.options.ticks.display)return;const r=this.ctx,i=this._computeLabelArea();i&&Lp(r,i);const o=this.getLabelItems(e);for(const s of o){const a=s.options,l=s.font,c=s.label,u=s.textOffset;Oi(r,c,0,u,l,a)}i&&Rp(r)}drawTitle(){const{ctx:e,options:{position:n,title:r,reverse:i}}=this;if(!r.display)return;const o=ot(r.font),s=St(r.padding),a=r.align;let l=o.lineHeight/2;n==="bottom"||n==="center"||Ce(n)?(l+=s.bottom,Xe(r.text)&&(l+=o.lineHeight*(r.text.length-1))):l+=s.top;const{titleX:c,titleY:u,maxWidth:f,rotation:d}=iR(this,l,n,a);Oi(e,r.text,0,0,o,{color:r.color,maxWidth:f,rotation:d,textAlign:rR(a,n,i),textBaseline:"middle",translation:[c,u]})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){const e=this.options,n=e.ticks&&e.ticks.z||0,r=ge(e.grid&&e.grid.z,-1),i=ge(e.border&&e.border.z,0);return!this._isVisible()||this.draw!==Mi.prototype.draw?[{z:n,draw:o=>{this.draw(o)}}]:[{z:r,draw:o=>{this.drawBackground(),this.drawGrid(o),this.drawTitle()}},{z:i,draw:()=>{this.drawBorder()}},{z:n,draw:o=>{this.drawLabels(o)}}]}getMatchingVisibleMetas(e){const n=this.chart.getSortedVisibleDatasetMetas(),r=this.axis+"AxisID",i=[];let o,s;for(o=0,s=n.length;o<s;++o){const a=n[o];a[r]===this.id&&(!e||a.type===e)&&i.push(a)}return i}_resolveTickFontOptions(e){const n=this.options.ticks.setContext(this.getContext(e));return ot(n.font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class hl{constructor(e,n,r){this.type=e,this.scope=n,this.override=r,this.items=Object.create(null)}isForType(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}register(e){const n=Object.getPrototypeOf(e);let r;aR(n)&&(r=this.register(n));const i=this.items,o=e.id,s=this.scope+"."+o;if(!o)throw new Error("class does not have id: "+e);return o in i||(i[o]=e,oR(e,s,r),this.override&&Qe.override(e.id,e.overrides)),s}get(e){return this.items[e]}unregister(e){const n=this.items,r=e.id,i=this.scope;r in n&&delete n[r],i&&r in Qe[i]&&(delete Qe[i][r],this.override&&delete Ti[r])}}function oR(t,e,n){const r=sa(Object.create(null),[n?Qe.get(n):{},Qe.get(e),t.defaults]);Qe.set(e,r),t.defaultRoutes&&sR(e,t.defaultRoutes),t.descriptors&&Qe.describe(e,t.descriptors)}function sR(t,e){Object.keys(e).forEach(n=>{const r=n.split("."),i=r.pop(),o=[t].concat(r).join("."),s=e[n].split("."),a=s.pop(),l=s.join(".");Qe.route(o,i,l,a)})}function aR(t){return"id"in t&&"defaults"in t}class lR{constructor(){this.controllers=new hl(Ls,"datasets",!0),this.elements=new hl(fr,"elements"),this.plugins=new hl(Object,"plugins"),this.scales=new hl(Mi,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,n,r){[...n].forEach(i=>{const o=r||this._getRegistryForType(i);r||o.isForType(i)||o===this.plugins&&i.id?this._exec(e,o,i):Pe(i,s=>{const a=r||this._getRegistryForType(s);this._exec(e,a,s)})})}_exec(e,n,r){const i=Cp(e);Le(r["before"+i],[],r),n[e](r),Le(r["after"+i],[],r)}_getRegistryForType(e){for(let n=0;n<this._typedRegistries.length;n++){const r=this._typedRegistries[n];if(r.isForType(e))return r}return this.plugins}_get(e,n,r){const i=n.get(e);if(i===void 0)throw new Error('"'+e+'" is not a registered '+r+".");return i}}var Bn=new lR;class cR{constructor(){this._init=[]}notify(e,n,r,i){n==="beforeInit"&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install"));const o=i?this._descriptors(e).filter(i):this._descriptors(e),s=this._notify(o,e,n,r);return n==="afterDestroy"&&(this._notify(o,e,"stop"),this._notify(this._init,e,"uninstall")),s}_notify(e,n,r,i){i=i||{};for(const o of e){const s=o.plugin,a=s[r],l=[n,i,o.options];if(Le(a,l,s)===!1&&i.cancelable)return!1}return!0}invalidate(){Ie(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;const n=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),n}_createDescriptors(e,n){const r=e&&e.config,i=ge(r.options&&r.options.plugins,{}),o=uR(r);return i===!1&&!n?[]:dR(e,o,i,n)}_notifyStateChanges(e){const n=this._oldCache||[],r=this._cache,i=(o,s)=>o.filter(a=>!s.some(l=>a.plugin.id===l.plugin.id));this._notify(i(n,r),e,"stop"),this._notify(i(r,n),e,"start")}}function uR(t){const e={},n=[],r=Object.keys(Bn.plugins.items);for(let o=0;o<r.length;o++)n.push(Bn.getPlugin(r[o]));const i=t.plugins||[];for(let o=0;o<i.length;o++){const s=i[o];n.indexOf(s)===-1&&(n.push(s),e[s.id]=!0)}return{plugins:n,localIds:e}}function fR(t,e){return!e&&t===!1?null:t===!0?{}:t}function dR(t,{plugins:e,localIds:n},r,i){const o=[],s=t.getContext();for(const a of e){const l=a.id,c=fR(r[l],i);c!==null&&o.push({plugin:a,options:hR(t.config,{plugin:a,local:n[l]},c,s)})}return o}function hR(t,{plugin:e,local:n},r,i){const o=t.pluginScopeKeys(e),s=t.getOptionScopes(r,o);return n&&e.defaults&&s.push(e.defaults),t.createResolver(s,i,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function qd(t,e){const n=Qe.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||n.indexAxis||"x"}function pR(t,e){let n=t;return t==="_index_"?n=e:t==="_value_"&&(n=e==="x"?"y":"x"),n}function mR(t,e){return t===e?"_index_":"_value_"}function Jy(t){if(t==="x"||t==="y"||t==="r")return t}function gR(t){if(t==="top"||t==="bottom")return"x";if(t==="left"||t==="right")return"y"}function Gd(t,...e){if(Jy(t))return t;for(const n of e){const r=n.axis||gR(n.position)||t.length>1&&Jy(t[0].toLowerCase());if(r)return r}throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function Zy(t,e,n){if(n[e+"AxisID"]===t)return{axis:e}}function yR(t,e){if(e.data&&e.data.datasets){const n=e.data.datasets.filter(r=>r.xAxisID===t||r.yAxisID===t);if(n.length)return Zy(t,"x",n[0])||Zy(t,"y",n[0])}return{}}function vR(t,e){const n=Ti[t.type]||{scales:{}},r=e.scales||{},i=qd(t.type,e),o=Object.create(null);return Object.keys(r).forEach(s=>{const a=r[s];if(!Ce(a))return console.error(`Invalid scale configuration for scale: ${s}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${s}`);const l=Gd(s,a,yR(s,t),Qe.scales[a.type]),c=mR(l,i),u=n.scales||{};o[s]=Ps(Object.create(null),[{axis:l},a,u[l],u[c]])}),t.data.datasets.forEach(s=>{const a=s.type||t.type,l=s.indexAxis||qd(a,e),u=(Ti[a]||{}).scales||{};Object.keys(u).forEach(f=>{const d=pR(f,l),p=s[d+"AxisID"]||d;o[p]=o[p]||Object.create(null),Ps(o[p],[{axis:d},r[p],u[f]])})}),Object.keys(o).forEach(s=>{const a=o[s];Ps(a,[Qe.scales[a.type],Qe.scale])}),o}function vw(t){const e=t.options||(t.options={});e.plugins=ge(e.plugins,{}),e.scales=vR(t,e)}function xw(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function xR(t){return t=t||{},t.data=xw(t.data),vw(t),t}const e0=new Map,bw=new Set;function pl(t,e){let n=e0.get(t);return n||(n=e(),e0.set(t,n),bw.add(n)),n}const ns=(t,e,n)=>{const r=_c(e,n);r!==void 0&&t.add(r)};class bR{constructor(e){this._config=xR(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=xw(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),vw(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return pl(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,n){return pl(`${e}.transition.${n}`,()=>[[`datasets.${e}.transitions.${n}`,`transitions.${n}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,n){return pl(`${e}-${n}`,()=>[[`datasets.${e}.elements.${n}`,`datasets.${e}`,`elements.${n}`,""]])}pluginScopeKeys(e){const n=e.id,r=this.type;return pl(`${r}-plugin-${n}`,()=>[[`plugins.${n}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,n){const r=this._scopeCache;let i=r.get(e);return(!i||n)&&(i=new Map,r.set(e,i)),i}getOptionScopes(e,n,r){const{options:i,type:o}=this,s=this._cachedScopes(e,r),a=s.get(n);if(a)return a;const l=new Set;n.forEach(u=>{e&&(l.add(e),u.forEach(f=>ns(l,e,f))),u.forEach(f=>ns(l,i,f)),u.forEach(f=>ns(l,Ti[o]||{},f)),u.forEach(f=>ns(l,Qe,f)),u.forEach(f=>ns(l,Kd,f))});const c=Array.from(l);return c.length===0&&c.push(Object.create(null)),bw.has(n)&&s.set(n,c),c}chartOptionScopes(){const{options:e,type:n}=this;return[e,Ti[n]||{},Qe.datasets[n]||{},{type:n},Qe,Kd]}resolveNamedOptions(e,n,r,i=[""]){const o={$shared:!0},{resolver:s,subPrefixes:a}=t0(this._resolverCache,e,i);let l=s;if(kR(s,n)){o.$shared=!1,r=Wr(r)?r():r;const c=this.createResolver(e,r,a);l=To(s,r,c)}for(const c of n)o[c]=l[c];return o}createResolver(e,n,r=[""],i){const{resolver:o}=t0(this._resolverCache,e,r);return Ce(n)?To(o,n,void 0,i):o}}function t0(t,e,n){let r=t.get(e);r||(r=new Map,t.set(e,r));const i=n.join();let o=r.get(i);return o||(o={resolver:Np(e,n),subPrefixes:n.filter(a=>!a.toLowerCase().includes("hover"))},r.set(i,o)),o}const wR=t=>Ce(t)&&Object.getOwnPropertyNames(t).some(e=>Wr(t[e]));function kR(t,e){const{isScriptable:n,isIndexable:r}=rw(t);for(const i of e){const o=n(i),s=r(i),a=(s||o)&&t[i];if(o&&(Wr(a)||wR(a))||s&&Xe(a))return!0}return!1}var SR="4.4.3";const _R=["top","bottom","left","right","chartArea"];function n0(t,e){return t==="top"||t==="bottom"||_R.indexOf(t)===-1&&e==="x"}function r0(t,e){return function(n,r){return n[t]===r[t]?n[e]-r[e]:n[t]-r[t]}}function i0(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),Le(n&&n.onComplete,[t],e)}function CR(t){const e=t.chart,n=e.options.animation;Le(n&&n.onProgress,[t],e)}function ww(t){return Ip()&&typeof t=="string"?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const zl={},o0=t=>{const e=ww(t);return Object.values(zl).filter(n=>n.canvas===e).pop()};function ER(t,e,n){const r=Object.keys(t);for(const i of r){const o=+i;if(o>=e){const s=t[i];delete t[i],(n>0||o>e)&&(t[o+n]=s)}}}function PR(t,e,n,r){return!n||t.type==="mouseout"?null:r?e:t}function ml(t,e,n){return t.options.clip?t[n]:e[n]}function AR(t,e){const{xScale:n,yScale:r}=t;return n&&r?{left:ml(n,e,"left"),right:ml(n,e,"right"),top:ml(r,e,"top"),bottom:ml(r,e,"bottom")}:e}var vr;let xu=(vr=class{static register(...e){Bn.add(...e),s0()}static unregister(...e){Bn.remove(...e),s0()}constructor(e,n){const r=this.config=new bR(n),i=ww(e),o=o0(i);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas with ID '"+o.canvas.id+"' can be reused.");const s=r.createResolver(r.chartOptionScopes(),this.getContext());this.platform=new(r.platform||WL(i)),this.platform.updateConfig(r);const a=this.platform.acquireContext(i,s.aspectRatio),l=a&&a.canvas,c=l&&l.height,u=l&&l.width;if(this.id=DT(),this.ctx=a,this.canvas=l,this.width=u,this.height=c,this._options=s,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new cR,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=ZT(f=>this.update(f),s.resizeDelay||0),this._dataChanges=[],zl[this.id]=this,!a||!l){console.error("Failed to create chart: can't acquire context from the given item");return}Gn.listen(this,"complete",i0),Gn.listen(this,"progress",CR),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:n},width:r,height:i,_aspectRatio:o}=this;return Ie(e)?n&&o?o:i?r/i:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return Bn}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():Oy(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Py(this.canvas,this.ctx),this}stop(){return Gn.stop(this),this}resize(e,n){Gn.running(this)?this._resizeBeforeDraw={width:e,height:n}:this._resize(e,n)}_resize(e,n){const r=this.options,i=this.canvas,o=r.maintainAspectRatio&&this.aspectRatio,s=this.platform.getMaximumSize(i,e,n,o),a=r.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=s.width,this.height=s.height,this._aspectRatio=this.aspectRatio,Oy(this,a,!0)&&(this.notifyPlugins("resize",{size:s}),Le(r.onResize,[this,s],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};Pe(n,(r,i)=>{r.id=i})}buildOrUpdateScales(){const e=this.options,n=e.scales,r=this.scales,i=Object.keys(r).reduce((s,a)=>(s[a]=!1,s),{});let o=[];n&&(o=o.concat(Object.keys(n).map(s=>{const a=n[s],l=Gd(s,a),c=l==="r",u=l==="x";return{options:a,dposition:c?"chartArea":u?"bottom":"left",dtype:c?"radialLinear":u?"category":"linear"}}))),Pe(o,s=>{const a=s.options,l=a.id,c=Gd(l,a),u=ge(a.type,s.dtype);(a.position===void 0||n0(a.position,c)!==n0(s.dposition))&&(a.position=s.dposition),i[l]=!0;let f=null;if(l in r&&r[l].type===u)f=r[l];else{const d=Bn.getScale(u);f=new d({id:l,type:u,ctx:this.ctx,chart:this}),r[f.id]=f}f.init(a,e)}),Pe(i,(s,a)=>{s||delete r[a]}),Pe(r,s=>{pn.configure(this,s,s.options),pn.addBox(this,s)})}_updateMetasets(){const e=this._metasets,n=this.data.datasets.length,r=e.length;if(e.sort((i,o)=>i.index-o.index),r>n){for(let i=n;i<r;++i)this._destroyDatasetMeta(i);e.splice(n,r-n)}this._sortedMetasets=e.slice(0).sort(r0("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:n}}=this;e.length>n.length&&delete this._stacks,e.forEach((r,i)=>{n.filter(o=>o===r._dataset).length===0&&this._destroyDatasetMeta(i)})}buildOrUpdateControllers(){const e=[],n=this.data.datasets;let r,i;for(this._removeUnreferencedMetasets(),r=0,i=n.length;r<i;r++){const o=n[r];let s=this.getDatasetMeta(r);const a=o.type||this.config.type;if(s.type&&s.type!==a&&(this._destroyDatasetMeta(r),s=this.getDatasetMeta(r)),s.type=a,s.indexAxis=o.indexAxis||qd(a,this.options),s.order=o.order||0,s.index=r,s.label=""+o.label,s.visible=this.isDatasetVisible(r),s.controller)s.controller.updateIndex(r),s.controller.linkScales();else{const l=Bn.getController(a),{datasetElementType:c,dataElementType:u}=Qe.datasets[a];Object.assign(l,{dataElementType:Bn.getElement(u),datasetElementType:c&&Bn.getElement(c)}),s.controller=new l(this,r),e.push(s.controller)}}return this._updateMetasets(),e}_resetElements(){Pe(this.data.datasets,(e,n)=>{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const n=this.config;n.update();const r=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),i=this._animationsDisabled=!r.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0})===!1)return;const o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let s=0;for(let c=0,u=this.data.datasets.length;c<u;c++){const{controller:f}=this.getDatasetMeta(c),d=!i&&o.indexOf(f)===-1;f.buildOrUpdateElements(d),s=Math.max(+f.getMaxOverflow(),s)}s=this._minPadding=r.layout.autoPadding?s:0,this._updateLayout(s),i||Pe(o,c=>{c.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(r0("z","_idx"));const{_active:a,_lastEvent:l}=this;l?this._eventHandler(l,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){Pe(this.scales,e=>{pn.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,n=new Set(Object.keys(this._listeners)),r=new Set(e.events);(!vy(n,r)||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,n=this._getUniformDataChanges()||[];for(const{method:r,start:i,count:o}of n){const s=r==="_removeElements"?-o:o;ER(e,i,s)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const n=this.data.datasets.length,r=o=>new Set(e.filter(s=>s[0]===o).map((s,a)=>a+","+s.splice(1).join(","))),i=r(0);for(let o=1;o<n;o++)if(!vy(i,r(o)))return;return Array.from(i).map(o=>o.split(",")).map(o=>({method:o[1],start:+o[2],count:+o[3]}))}_updateLayout(e){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;pn.update(this,this.width,this.height,e);const n=this.chartArea,r=n.width<=0||n.height<=0;this._layers=[],Pe(this.boxes,i=>{r&&i.position==="chartArea"||(i.configure&&i.configure(),this._layers.push(...i._layers()))},this),this._layers.forEach((i,o)=>{i._idx=o}),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})!==!1){for(let n=0,r=this.data.datasets.length;n<r;++n)this.getDatasetMeta(n).controller.configure();for(let n=0,r=this.data.datasets.length;n<r;++n)this._updateDataset(n,Wr(e)?e({datasetIndex:n}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,n){const r=this.getDatasetMeta(e),i={meta:r,index:e,mode:n,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",i)!==!1&&(r.controller._update(n),i.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",i))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(Gn.has(this)?this.attached&&!Gn.running(this)&&Gn.start(this):(this.draw(),i0({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:r,height:i}=this._resizeBeforeDraw;this._resize(r,i),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const n=this._layers;for(e=0;e<n.length&&n[e].z<=0;++e)n[e].draw(this.chartArea);for(this._drawDatasets();e<n.length;++e)n[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){const n=this._sortedMetasets,r=[];let i,o;for(i=0,o=n.length;i<o;++i){const s=n[i];(!e||s.visible)&&r.push(s)}return r}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const e=this.getSortedVisibleDatasetMetas();for(let n=e.length-1;n>=0;--n)this._drawDataset(e[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const n=this.ctx,r=e._clip,i=!r.disabled,o=AR(e,this.chartArea),s={meta:e,index:e.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",s)!==!1&&(i&&Lp(n,{left:r.left===!1?0:o.left-r.left,right:r.right===!1?this.width:o.right+r.right,top:r.top===!1?0:o.top-r.top,bottom:r.bottom===!1?this.height:o.bottom+r.bottom}),e.controller.draw(),i&&Rp(n),s.cancelable=!1,this.notifyPlugins("afterDatasetDraw",s))}isPointInArea(e){return nr(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,n,r,i){const o=_L.modes[n];return typeof o=="function"?o(this,e,r,i):[]}getDatasetMeta(e){const n=this.data.datasets[e],r=this._metasets;let i=r.filter(o=>o&&o._dataset===n).pop();return i||(i={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:e,_dataset:n,_parsed:[],_sorted:!1},r.push(i)),i}getContext(){return this.$context||(this.$context=Xr(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const n=this.data.datasets[e];if(!n)return!1;const r=this.getDatasetMeta(e);return typeof r.hidden=="boolean"?!r.hidden:!n.hidden}setDatasetVisibility(e,n){const r=this.getDatasetMeta(e);r.hidden=!n}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,n,r){const i=r?"show":"hide",o=this.getDatasetMeta(e),s=o.controller._resolveAnimations(void 0,i);Cc(n)?(o.data[n].hidden=!r,this.update()):(this.setDatasetVisibility(e,r),s.update(o,{visible:r}),this.update(a=>a.datasetIndex===e?i:void 0))}hide(e,n){this._updateVisibility(e,n,!1)}show(e,n){this._updateVisibility(e,n,!0)}_destroyDatasetMeta(e){const n=this._metasets[e];n&&n.controller&&n.controller._destroy(),delete this._metasets[e]}_stop(){let e,n;for(this.stop(),Gn.remove(this),e=0,n=this.data.datasets.length;e<n;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:e,ctx:n}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),Py(e,n),this.platform.releaseContext(n),this.canvas=null,this.ctx=null),delete zl[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const e=this._listeners,n=this.platform,r=(o,s)=>{n.addEventListener(this,o,s),e[o]=s},i=(o,s,a)=>{o.offsetX=s,o.offsetY=a,this._eventHandler(o)};Pe(this.options.events,o=>r(o,i))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,n=this.platform,r=(l,c)=>{n.addEventListener(this,l,c),e[l]=c},i=(l,c)=>{e[l]&&(n.removeEventListener(this,l,c),delete e[l])},o=(l,c)=>{this.canvas&&this.resize(l,c)};let s;const a=()=>{i("attach",a),this.attached=!0,this.resize(),r("resize",o),r("detach",s)};s=()=>{this.attached=!1,i("resize",o),this._stop(),this._resize(0,0),r("attach",a)},n.isAttached(this.canvas)?a():s()}unbindEvents(){Pe(this._listeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._listeners={},Pe(this._responsiveListeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,n,r){const i=r?"set":"remove";let o,s,a,l;for(n==="dataset"&&(o=this.getDatasetMeta(e[0].datasetIndex),o.controller["_"+i+"DatasetHoverStyle"]()),a=0,l=e.length;a<l;++a){s=e[a];const c=s&&this.getDatasetMeta(s.datasetIndex).controller;c&&c[i+"HoverStyle"](s.element,s.datasetIndex,s.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const n=this._active||[],r=e.map(({datasetIndex:o,index:s})=>{const a=this.getDatasetMeta(o);if(!a)throw new Error("No dataset found at index "+o);return{datasetIndex:o,element:a.data[s],index:s}});!kc(r,n)&&(this._active=r,this._lastEvent=null,this._updateHoverStyles(r,n))}notifyPlugins(e,n,r){return this._plugins.notify(this,e,n,r)}isPluginEnabled(e){return this._plugins._cache.filter(n=>n.plugin.id===e).length===1}_updateHoverStyles(e,n,r){const i=this.options.hover,o=(l,c)=>l.filter(u=>!c.some(f=>u.datasetIndex===f.datasetIndex&&u.index===f.index)),s=o(n,e),a=r?e:o(e,n);s.length&&this.updateHoverStyle(s,i.mode,!1),a.length&&i.mode&&this.updateHoverStyle(a,i.mode,!0)}_eventHandler(e,n){const r={event:e,replay:n,cancelable:!0,inChartArea:this.isPointInArea(e)},i=s=>(s.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins("beforeEvent",r,i)===!1)return;const o=this._handleEvent(e,n,r.inChartArea);return r.cancelable=!1,this.notifyPlugins("afterEvent",r,i),(o||r.changed)&&this.render(),this}_handleEvent(e,n,r){const{_active:i=[],options:o}=this,s=n,a=this._getActiveElements(e,i,r,s),l=BT(e),c=PR(e,this._lastEvent,r,l);r&&(this._lastEvent=null,Le(o.onHover,[e,a,this],this),l&&Le(o.onClick,[e,a,this],this));const u=!kc(a,i);return(u||n)&&(this._active=a,this._updateHoverStyles(a,i,n)),this._lastEvent=c,u}_getActiveElements(e,n,r,i){if(e.type==="mouseout")return[];if(!r)return n;const o=this.options.hover;return this.getElementsAtEventForMode(e,o.mode,o,i)}},oe(vr,"defaults",Qe),oe(vr,"instances",zl),oe(vr,"overrides",Ti),oe(vr,"registry",Bn),oe(vr,"version",SR),oe(vr,"getChart",o0),vr);function s0(){return Pe(xu.instances,t=>t._plugins.invalidate())}function kw(t,e,n=e){t.lineCap=ge(n.borderCapStyle,e.borderCapStyle),t.setLineDash(ge(n.borderDash,e.borderDash)),t.lineDashOffset=ge(n.borderDashOffset,e.borderDashOffset),t.lineJoin=ge(n.borderJoinStyle,e.borderJoinStyle),t.lineWidth=ge(n.borderWidth,e.borderWidth),t.strokeStyle=ge(n.borderColor,e.borderColor)}function TR(t,e,n){t.lineTo(n.x,n.y)}function OR(t){return t.stepped?hO:t.tension||t.cubicInterpolationMode==="monotone"?pO:TR}function Sw(t,e,n={}){const r=t.length,{start:i=0,end:o=r-1}=n,{start:s,end:a}=e,l=Math.max(i,s),c=Math.min(o,a),u=i<s&&o<s||i>a&&o>a;return{count:r,start:l,loop:e.loop,ilen:c<l&&!u?r+c-l:c-l}}function LR(t,e,n,r){const{points:i,options:o}=e,{count:s,start:a,loop:l,ilen:c}=Sw(i,n,r),u=OR(o);let{move:f=!0,reverse:d}=r||{},p,h,m;for(p=0;p<=c;++p)h=i[(a+(d?c-p:p))%s],!h.skip&&(f?(t.moveTo(h.x,h.y),f=!1):u(t,m,h,d,o.stepped),m=h);return l&&(h=i[(a+(d?c:0))%s],u(t,m,h,d,o.stepped)),!!l}function RR(t,e,n,r){const i=e.points,{count:o,start:s,ilen:a}=Sw(i,n,r),{move:l=!0,reverse:c}=r||{};let u=0,f=0,d,p,h,m,w,g;const y=_=>(s+(c?a-_:_))%o,v=()=>{m!==w&&(t.lineTo(u,w),t.lineTo(u,m),t.lineTo(u,g))};for(l&&(p=i[y(0)],t.moveTo(p.x,p.y)),d=0;d<=a;++d){if(p=i[y(d)],p.skip)continue;const _=p.x,C=p.y,P=_|0;P===h?(C<m?m=C:C>w&&(w=C),u=(f*u+_)/++f):(v(),t.lineTo(_,C),h=P,f=0,m=w=C),g=C}v()}function Xd(t){const e=t.options,n=e.borderDash&&e.borderDash.length;return!t._decimated&&!t._loop&&!e.tension&&e.cubicInterpolationMode!=="monotone"&&!e.stepped&&!n?RR:LR}function NR(t){return t.stepped?YO:t.tension||t.cubicInterpolationMode==="monotone"?qO:oi}function MR(t,e,n,r){let i=e._path;i||(i=e._path=new Path2D,e.path(i,n,r)&&i.closePath()),kw(t,e.options),t.stroke(i)}function DR(t,e,n,r){const{segments:i,options:o}=e,s=Xd(e);for(const a of i)kw(t,o,a.style),t.beginPath(),s(t,e,a,{start:n,end:n+r-1})&&t.closePath(),t.stroke()}const IR=typeof Path2D=="function";function jR(t,e,n,r){IR&&!e.options.segment?MR(t,e,n,r):DR(t,e,n,r)}class ds extends fr{constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,n){const r=this.options;if((r.tension||r.cubicInterpolationMode==="monotone")&&!r.stepped&&!this._pointsUpdated){const i=r.spanGaps?this._loop:this._fullLoop;zO(this._points,r,e,i,n),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=nL(this,this.options.segment))}first(){const e=this.segments,n=this.points;return e.length&&n[e[0].start]}last(){const e=this.segments,n=this.points,r=e.length;return r&&n[e[r-1].end]}interpolate(e,n){const r=this.options,i=e[n],o=this.points,s=ZO(this,{property:n,start:i,end:i});if(!s.length)return;const a=[],l=NR(r);let c,u;for(c=0,u=s.length;c<u;++c){const{start:f,end:d}=s[c],p=o[f],h=o[d];if(p===h){a.push(p);continue}const m=Math.abs((i-p[n])/(h[n]-p[n])),w=l(p,h,m,r.stepped);w[n]=e[n],a.push(w)}return a.length===1?a[0]:a}pathSegment(e,n,r){return Xd(this)(e,this,n,r)}path(e,n,r){const i=this.segments,o=Xd(this);let s=this._loop;n=n||0,r=r||this.points.length-n;for(const a of i)s&=o(e,this,a,{start:n,end:n+r-1});return!!s}draw(e,n,r,i){const o=this.options||{};(this.points||[]).length&&o.borderWidth&&(e.save(),jR(e,this,r,i),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}oe(ds,"id","line"),oe(ds,"defaults",{borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0}),oe(ds,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"}),oe(ds,"descriptors",{_scriptable:!0,_indexable:e=>e!=="borderDash"&&e!=="fill"});function a0(t,e,n,r){const i=t.options,{[n]:o}=t.getProps([n],r);return Math.abs(e-o)<i.radius+i.hitRadius}class $l extends fr{constructor(n){super();oe(this,"parsed");oe(this,"skip");oe(this,"stop");this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,n&&Object.assign(this,n)}inRange(n,r,i){const o=this.options,{x:s,y:a}=this.getProps(["x","y"],i);return Math.pow(n-s,2)+Math.pow(r-a,2)<Math.pow(o.hitRadius+o.radius,2)}inXRange(n,r){return a0(this,n,"x",r)}inYRange(n,r){return a0(this,n,"y",r)}getCenterPoint(n){const{x:r,y:i}=this.getProps(["x","y"],n);return{x:r,y:i}}size(n){n=n||this.options||{};let r=n.radius||0;r=Math.max(r,r&&n.hoverRadius||0);const i=r&&n.borderWidth||0;return(r+i)*2}draw(n,r){const i=this.options;this.skip||i.radius<.1||!nr(this,r,this.size(i)/2)||(n.strokeStyle=i.borderColor,n.lineWidth=i.borderWidth,n.fillStyle=i.backgroundColor,Yd(n,i,this.x,this.y))}getRange(){const n=this.options||{};return n.radius+n.hitRadius}}oe($l,"id","point"),oe($l,"defaults",{borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0}),oe($l,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});const l0=(t,e)=>{let{boxHeight:n=e,boxWidth:r=e}=t;return t.usePointStyle&&(n=Math.min(n,e),r=t.pointStyleWidth||Math.min(r,e)),{boxWidth:r,boxHeight:n,itemHeight:Math.max(e,n)}},FR=(t,e)=>t!==null&&e!==null&&t.datasetIndex===e.datasetIndex&&t.index===e.index;class c0 extends fr{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,n,r){this.maxWidth=e,this.maxHeight=n,this._margins=r,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const e=this.options.labels||{};let n=Le(e.generateLabels,[this.chart],this)||[];e.filter&&(n=n.filter(r=>e.filter(r,this.chart.data))),e.sort&&(n=n.sort((r,i)=>e.sort(r,i,this.chart.data))),this.options.reverse&&n.reverse(),this.legendItems=n}fit(){const{options:e,ctx:n}=this;if(!e.display){this.width=this.height=0;return}const r=e.labels,i=ot(r.font),o=i.size,s=this._computeTitleHeight(),{boxWidth:a,itemHeight:l}=l0(r,o);let c,u;n.font=i.string,this.isHorizontal()?(c=this.maxWidth,u=this._fitRows(s,o,a,l)+10):(u=this.maxHeight,c=this._fitCols(s,i,a,l)+10),this.width=Math.min(c,e.maxWidth||this.maxWidth),this.height=Math.min(u,e.maxHeight||this.maxHeight)}_fitRows(e,n,r,i){const{ctx:o,maxWidth:s,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],u=i+a;let f=e;o.textAlign="left",o.textBaseline="middle";let d=-1,p=-u;return this.legendItems.forEach((h,m)=>{const w=r+n/2+o.measureText(h.text).width;(m===0||c[c.length-1]+w+2*a>s)&&(f+=u,c[c.length-(m>0?0:1)]=0,p+=u,d++),l[m]={left:0,top:p,row:d,width:w,height:i},c[c.length-1]+=w+a}),f}_fitCols(e,n,r,i){const{ctx:o,maxHeight:s,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],u=s-e;let f=a,d=0,p=0,h=0,m=0;return this.legendItems.forEach((w,g)=>{const{itemWidth:y,itemHeight:v}=zR(r,n,o,w,i);g>0&&p+v+2*a>u&&(f+=d+a,c.push({width:d,height:p}),h+=d+a,m++,d=p=0),l[g]={left:h,top:p,col:m,width:y,height:v},d=Math.max(d,y),p+=v+a}),f+=d,c.push({width:d,height:p}),f}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:n,options:{align:r,labels:{padding:i},rtl:o}}=this,s=vo(o,this.left,this.width);if(this.isHorizontal()){let a=0,l=bt(r,this.left+i,this.right-this.lineWidths[a]);for(const c of n)a!==c.row&&(a=c.row,l=bt(r,this.left+i,this.right-this.lineWidths[a])),c.top+=this.top+e+i,c.left=s.leftForLtr(s.x(l),c.width),l+=c.width+i}else{let a=0,l=bt(r,this.top+e+i,this.bottom-this.columnSizes[a].height);for(const c of n)c.col!==a&&(a=c.col,l=bt(r,this.top+e+i,this.bottom-this.columnSizes[a].height)),c.top=l,c.left+=this.left+i,c.left=s.leftForLtr(s.x(c.left),c.width),l+=c.height+i}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const e=this.ctx;Lp(e,this),this._draw(),Rp(e)}}_draw(){const{options:e,columnSizes:n,lineWidths:r,ctx:i}=this,{align:o,labels:s}=e,a=Qe.color,l=vo(e.rtl,this.left,this.width),c=ot(s.font),{padding:u}=s,f=c.size,d=f/2;let p;this.drawTitle(),i.textAlign=l.textAlign("left"),i.textBaseline="middle",i.lineWidth=.5,i.font=c.string;const{boxWidth:h,boxHeight:m,itemHeight:w}=l0(s,f),g=function(P,b,x){if(isNaN(h)||h<=0||isNaN(m)||m<0)return;i.save();const k=ge(x.lineWidth,1);if(i.fillStyle=ge(x.fillStyle,a),i.lineCap=ge(x.lineCap,"butt"),i.lineDashOffset=ge(x.lineDashOffset,0),i.lineJoin=ge(x.lineJoin,"miter"),i.lineWidth=k,i.strokeStyle=ge(x.strokeStyle,a),i.setLineDash(ge(x.lineDash,[])),s.usePointStyle){const E={radius:m*Math.SQRT2/2,pointStyle:x.pointStyle,rotation:x.rotation,borderWidth:k},O=l.xPlus(P,h/2),R=b+d;tw(i,E,O,R,s.pointStyleWidth&&h)}else{const E=b+Math.max((f-m)/2,0),O=l.leftForLtr(P,h),R=yo(x.borderRadius);i.beginPath(),Object.values(R).some(I=>I!==0)?Ac(i,{x:O,y:E,w:h,h:m,radius:R}):i.rect(O,E,h,m),i.fill(),k!==0&&i.stroke()}i.restore()},y=function(P,b,x){Oi(i,x.text,P,b+w/2,c,{strikethrough:x.hidden,textAlign:l.textAlign(x.textAlign)})},v=this.isHorizontal(),_=this._computeTitleHeight();v?p={x:bt(o,this.left+u,this.right-r[0]),y:this.top+u+_,line:0}:p={x:this.left+u,y:bt(o,this.top+_+u,this.bottom-n[0].height),line:0},lw(this.ctx,e.textDirection);const C=w+u;this.legendItems.forEach((P,b)=>{i.strokeStyle=P.fontColor,i.fillStyle=P.fontColor;const x=i.measureText(P.text).width,k=l.textAlign(P.textAlign||(P.textAlign=s.textAlign)),E=h+d+x;let O=p.x,R=p.y;l.setWidth(this.width),v?b>0&&O+E+u>this.right&&(R=p.y+=C,p.line++,O=p.x=bt(o,this.left+u,this.right-r[p.line])):b>0&&R+C>this.bottom&&(O=p.x=O+n[p.line].width+u,p.line++,R=p.y=bt(o,this.top+_+u,this.bottom-n[p.line].height));const I=l.x(O);if(g(I,R,P),O=eO(k,O+h+d,v?O+E:this.right,e.rtl),y(l.x(O),R,P),v)p.x+=E+u;else if(typeof P.text!="string"){const F=c.lineHeight;p.y+=_w(P,F)+u}else p.y+=C}),cw(this.ctx,e.textDirection)}drawTitle(){const e=this.options,n=e.title,r=ot(n.font),i=St(n.padding);if(!n.display)return;const o=vo(e.rtl,this.left,this.width),s=this.ctx,a=n.position,l=r.size/2,c=i.top+l;let u,f=this.left,d=this.width;if(this.isHorizontal())d=Math.max(...this.lineWidths),u=this.top+c,f=bt(e.align,f,this.right-d);else{const h=this.columnSizes.reduce((m,w)=>Math.max(m,w.height),0);u=c+bt(e.align,this.top,this.bottom-h-e.labels.padding-this._computeTitleHeight())}const p=bt(a,f,f+d);s.textAlign=o.textAlign(Ap(a)),s.textBaseline="middle",s.strokeStyle=n.color,s.fillStyle=n.color,s.font=r.string,Oi(s,n.text,p,u,r)}_computeTitleHeight(){const e=this.options.title,n=ot(e.font),r=St(e.padding);return e.display?n.lineHeight+r.height:0}_getLegendItemAt(e,n){let r,i,o;if(us(e,this.left,this.right)&&us(n,this.top,this.bottom)){for(o=this.legendHitBoxes,r=0;r<o.length;++r)if(i=o[r],us(e,i.left,i.left+i.width)&&us(n,i.top,i.top+i.height))return this.legendItems[r]}return null}handleEvent(e){const n=this.options;if(!HR(e.type,n))return;const r=this._getLegendItemAt(e.x,e.y);if(e.type==="mousemove"||e.type==="mouseout"){const i=this._hoveredItem,o=FR(i,r);i&&!o&&Le(n.onLeave,[e,i,this],this),this._hoveredItem=r,r&&!o&&Le(n.onHover,[e,r,this],this)}else r&&Le(n.onClick,[e,r,this],this)}}function zR(t,e,n,r,i){const o=$R(r,t,e,n),s=BR(i,r,e.lineHeight);return{itemWidth:o,itemHeight:s}}function $R(t,e,n,r){let i=t.text;return i&&typeof i!="string"&&(i=i.reduce((o,s)=>o.length>s.length?o:s)),e+n.size/2+r.measureText(i).width}function BR(t,e,n){let r=t;return typeof e.text!="string"&&(r=_w(e,n)),r}function _w(t,e){const n=t.text?t.text.length:0;return e*n}function HR(t,e){return!!((t==="mousemove"||t==="mouseout")&&(e.onHover||e.onLeave)||e.onClick&&(t==="click"||t==="mouseup"))}var UR={id:"legend",_element:c0,start(t,e,n){const r=t.legend=new c0({ctx:t.ctx,options:n,chart:t});pn.configure(t,r,n),pn.addBox(t,r)},stop(t){pn.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,n){const r=t.legend;pn.configure(t,r,n),r.options=n},afterUpdate(t){const e=t.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(t,e){e.replay||t.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,e,n){const r=e.datasetIndex,i=n.chart;i.isDatasetVisible(r)?(i.hide(r),e.hidden=!0):(i.show(r),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:n,pointStyle:r,textAlign:i,color:o,useBorderRadius:s,borderRadius:a}}=t.legend.options;return t._getSortedDatasetMetas().map(l=>{const c=l.controller.getStyle(n?0:void 0),u=St(c.borderWidth);return{text:e[l.index].label,fillStyle:c.backgroundColor,fontColor:o,hidden:!l.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(u.width+u.height)/4,strokeStyle:c.borderColor,pointStyle:r||c.pointStyle,rotation:c.rotation,textAlign:i||c.textAlign,borderRadius:s&&(a||c.borderRadius),datasetIndex:l.index}},this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class Cw extends fr{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,n){const r=this.options;if(this.left=0,this.top=0,!r.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=e,this.height=this.bottom=n;const i=Xe(r.text)?r.text.length:1;this._padding=St(r.padding);const o=i*ot(r.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}isHorizontal(){const e=this.options.position;return e==="top"||e==="bottom"}_drawArgs(e){const{top:n,left:r,bottom:i,right:o,options:s}=this,a=s.align;let l=0,c,u,f;return this.isHorizontal()?(u=bt(a,r,o),f=n+e,c=o-r):(s.position==="left"?(u=r+e,f=bt(a,i,n),l=tt*-.5):(u=o-e,f=bt(a,n,i),l=tt*.5),c=i-n),{titleX:u,titleY:f,maxWidth:c,rotation:l}}draw(){const e=this.ctx,n=this.options;if(!n.display)return;const r=ot(n.font),o=r.lineHeight/2+this._padding.top,{titleX:s,titleY:a,maxWidth:l,rotation:c}=this._drawArgs(o);Oi(e,n.text,0,0,r,{color:n.color,maxWidth:l,rotation:c,textAlign:Ap(n.align),textBaseline:"middle",translation:[s,a]})}}function VR(t,e){const n=new Cw({ctx:t.ctx,options:e,chart:t});pn.configure(t,n,e),pn.addBox(t,n),t.titleBlock=n}var WR={id:"title",_element:Cw,start(t,e,n){VR(t,n)},stop(t){const e=t.titleBlock;pn.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,n){const r=t.titleBlock;pn.configure(t,r,n),r.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const hs={average(t){if(!t.length)return!1;let e,n,r=new Set,i=0,o=0;for(e=0,n=t.length;e<n;++e){const a=t[e].element;if(a&&a.hasValue()){const l=a.tooltipPosition();r.add(l.x),i+=l.y,++o}}return{x:[...r].reduce((a,l)=>a+l)/r.size,y:i/o}},nearest(t,e){if(!t.length)return!1;let n=e.x,r=e.y,i=Number.POSITIVE_INFINITY,o,s,a;for(o=0,s=t.length;o<s;++o){const l=t[o].element;if(l&&l.hasValue()){const c=l.getCenterPoint(),u=Wd(e,c);u<i&&(i=u,a=l)}}if(a){const l=a.tooltipPosition();n=l.x,r=l.y}return{x:n,y:r}}};function zn(t,e){return e&&(Xe(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function Xn(t){return(typeof t=="string"||t instanceof String)&&t.indexOf(`
865`)>-1?t.split(`
866`):t}function KR(t,e){const{element:n,datasetIndex:r,index:i}=e,o=t.getDatasetMeta(r).controller,{label:s,value:a}=o.getLabelAndValue(i);return{chart:t,label:s,parsed:o.getParsed(i),raw:t.data.datasets[r].data[i],formattedValue:a,dataset:o.getDataset(),dataIndex:i,datasetIndex:r,element:n}}function u0(t,e){const n=t.chart.ctx,{body:r,footer:i,title:o}=t,{boxWidth:s,boxHeight:a}=e,l=ot(e.bodyFont),c=ot(e.titleFont),u=ot(e.footerFont),f=o.length,d=i.length,p=r.length,h=St(e.padding);let m=h.height,w=0,g=r.reduce((_,C)=>_+C.before.length+C.lines.length+C.after.length,0);if(g+=t.beforeBody.length+t.afterBody.length,f&&(m+=f*c.lineHeight+(f-1)*e.titleSpacing+e.titleMarginBottom),g){const _=e.displayColors?Math.max(a,l.lineHeight):l.lineHeight;m+=p*_+(g-p)*l.lineHeight+(g-1)*e.bodySpacing}d&&(m+=e.footerMarginTop+d*u.lineHeight+(d-1)*e.footerSpacing);let y=0;const v=function(_){w=Math.max(w,n.measureText(_).width+y)};return n.save(),n.font=c.string,Pe(t.title,v),n.font=l.string,Pe(t.beforeBody.concat(t.afterBody),v),y=e.displayColors?s+2+e.boxPadding:0,Pe(r,_=>{Pe(_.before,v),Pe(_.lines,v),Pe(_.after,v)}),y=0,n.font=u.string,Pe(t.footer,v),n.restore(),w+=h.width,{width:w,height:m}}function YR(t,e){const{y:n,height:r}=e;return n<r/2?"top":n>t.height-r/2?"bottom":"center"}function qR(t,e,n,r){const{x:i,width:o}=r,s=n.caretSize+n.caretPadding;if(t==="left"&&i+o+s>e.width||t==="right"&&i-o-s<0)return!0}function GR(t,e,n,r){const{x:i,width:o}=n,{width:s,chartArea:{left:a,right:l}}=t;let c="center";return r==="center"?c=i<=(a+l)/2?"left":"right":i<=o/2?c="left":i>=s-o/2&&(c="right"),qR(c,t,e,n)&&(c="center"),c}function f0(t,e,n){const r=n.yAlign||e.yAlign||YR(t,n);return{xAlign:n.xAlign||e.xAlign||GR(t,e,n,r),yAlign:r}}function XR(t,e){let{x:n,width:r}=t;return e==="right"?n-=r:e==="center"&&(n-=r/2),n}function QR(t,e,n){let{y:r,height:i}=t;return e==="top"?r+=n:e==="bottom"?r-=i+n:r-=i/2,r}function d0(t,e,n,r){const{caretSize:i,caretPadding:o,cornerRadius:s}=t,{xAlign:a,yAlign:l}=n,c=i+o,{topLeft:u,topRight:f,bottomLeft:d,bottomRight:p}=yo(s);let h=XR(e,a);const m=QR(e,l,c);return l==="center"?a==="left"?h+=c:a==="right"&&(h-=c):a==="left"?h-=Math.max(u,d)+i:a==="right"&&(h+=Math.max(f,p)+i),{x:hn(h,0,r.width-e.width),y:hn(m,0,r.height-e.height)}}function gl(t,e,n){const r=St(n.padding);return e==="center"?t.x+t.width/2:e==="right"?t.x+t.width-r.right:t.x+r.left}function h0(t){return zn([],Xn(t))}function JR(t,e,n){return Xr(t,{tooltip:e,tooltipItems:n,type:"tooltip"})}function p0(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}const Ew={beforeTitle:qn,title(t){if(t.length>0){const e=t[0],n=e.chart.data.labels,r=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return e.dataset.label||"";if(e.label)return e.label;if(r>0&&e.dataIndex<r)return n[e.dataIndex]}return""},afterTitle:qn,beforeBody:qn,beforeLabel:qn,label(t){if(this&&this.options&&this.options.mode==="dataset")return t.label+": "+t.formattedValue||t.formattedValue;let e=t.dataset.label||"";e&&(e+=": ");const n=t.formattedValue;return Ie(n)||(e+=n),e},labelColor(t){const n=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{borderColor:n.borderColor,backgroundColor:n.backgroundColor,borderWidth:n.borderWidth,borderDash:n.borderDash,borderDashOffset:n.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(t){const n=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{pointStyle:n.pointStyle,rotation:n.rotation}},afterLabel:qn,afterBody:qn,beforeFooter:qn,footer:qn,afterFooter:qn};function jt(t,e,n,r){const i=t[e].call(n,r);return typeof i>"u"?Ew[e].call(n,r):i}class Qd extends fr{constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const n=this.chart,r=this.options.setContext(this.getContext()),i=r.enabled&&n.options.animation&&r.animations,o=new fw(this.chart,i);return i._cacheable&&(this._cachedAnimations=Object.freeze(o)),o}getContext(){return this.$context||(this.$context=JR(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,n){const{callbacks:r}=n,i=jt(r,"beforeTitle",this,e),o=jt(r,"title",this,e),s=jt(r,"afterTitle",this,e);let a=[];return a=zn(a,Xn(i)),a=zn(a,Xn(o)),a=zn(a,Xn(s)),a}getBeforeBody(e,n){return h0(jt(n.callbacks,"beforeBody",this,e))}getBody(e,n){const{callbacks:r}=n,i=[];return Pe(e,o=>{const s={before:[],lines:[],after:[]},a=p0(r,o);zn(s.before,Xn(jt(a,"beforeLabel",this,o))),zn(s.lines,jt(a,"label",this,o)),zn(s.after,Xn(jt(a,"afterLabel",this,o))),i.push(s)}),i}getAfterBody(e,n){return h0(jt(n.callbacks,"afterBody",this,e))}getFooter(e,n){const{callbacks:r}=n,i=jt(r,"beforeFooter",this,e),o=jt(r,"footer",this,e),s=jt(r,"afterFooter",this,e);let a=[];return a=zn(a,Xn(i)),a=zn(a,Xn(o)),a=zn(a,Xn(s)),a}_createItems(e){const n=this._active,r=this.chart.data,i=[],o=[],s=[];let a=[],l,c;for(l=0,c=n.length;l<c;++l)a.push(KR(this.chart,n[l]));return e.filter&&(a=a.filter((u,f,d)=>e.filter(u,f,d,r))),e.itemSort&&(a=a.sort((u,f)=>e.itemSort(u,f,r))),Pe(a,u=>{const f=p0(e.callbacks,u);i.push(jt(f,"labelColor",this,u)),o.push(jt(f,"labelPointStyle",this,u)),s.push(jt(f,"labelTextColor",this,u))}),this.labelColors=i,this.labelPointStyles=o,this.labelTextColors=s,this.dataPoints=a,a}update(e,n){const r=this.options.setContext(this.getContext()),i=this._active;let o,s=[];if(!i.length)this.opacity!==0&&(o={opacity:0});else{const a=hs[r.position].call(this,i,this._eventPosition);s=this._createItems(r),this.title=this.getTitle(s,r),this.beforeBody=this.getBeforeBody(s,r),this.body=this.getBody(s,r),this.afterBody=this.getAfterBody(s,r),this.footer=this.getFooter(s,r);const l=this._size=u0(this,r),c=Object.assign({},a,l),u=f0(this.chart,r,c),f=d0(r,c,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,o={opacity:1,x:f.x,y:f.y,width:l.width,height:l.height,caretX:a.x,caretY:a.y}}this._tooltipItems=s,this.$context=void 0,o&&this._resolveAnimations().update(this,o),e&&r.external&&r.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(e,n,r,i){const o=this.getCaretPosition(e,r,i);n.lineTo(o.x1,o.y1),n.lineTo(o.x2,o.y2),n.lineTo(o.x3,o.y3)}getCaretPosition(e,n,r){const{xAlign:i,yAlign:o}=this,{caretSize:s,cornerRadius:a}=r,{topLeft:l,topRight:c,bottomLeft:u,bottomRight:f}=yo(a),{x:d,y:p}=e,{width:h,height:m}=n;let w,g,y,v,_,C;return o==="center"?(_=p+m/2,i==="left"?(w=d,g=w-s,v=_+s,C=_-s):(w=d+h,g=w+s,v=_-s,C=_+s),y=w):(i==="left"?g=d+Math.max(l,u)+s:i==="right"?g=d+h-Math.max(c,f)-s:g=this.caretX,o==="top"?(v=p,_=v-s,w=g-s,y=g+s):(v=p+m,_=v+s,w=g+s,y=g-s),C=v),{x1:w,x2:g,x3:y,y1:v,y2:_,y3:C}}drawTitle(e,n,r){const i=this.title,o=i.length;let s,a,l;if(o){const c=vo(r.rtl,this.x,this.width);for(e.x=gl(this,r.titleAlign,r),n.textAlign=c.textAlign(r.titleAlign),n.textBaseline="middle",s=ot(r.titleFont),a=r.titleSpacing,n.fillStyle=r.titleColor,n.font=s.string,l=0;l<o;++l)n.fillText(i[l],c.x(e.x),e.y+s.lineHeight/2),e.y+=s.lineHeight+a,l+1===o&&(e.y+=r.titleMarginBottom-a)}}_drawColorBox(e,n,r,i,o){const s=this.labelColors[r],a=this.labelPointStyles[r],{boxHeight:l,boxWidth:c}=o,u=ot(o.bodyFont),f=gl(this,"left",o),d=i.x(f),p=l<u.lineHeight?(u.lineHeight-l)/2:0,h=n.y+p;if(o.usePointStyle){const m={radius:Math.min(c,l)/2,pointStyle:a.pointStyle,rotation:a.rotation,borderWidth:1},w=i.leftForLtr(d,c)+c/2,g=h+l/2;e.strokeStyle=o.multiKeyBackground,e.fillStyle=o.multiKeyBackground,Yd(e,m,w,g),e.strokeStyle=s.borderColor,e.fillStyle=s.backgroundColor,Yd(e,m,w,g)}else{e.lineWidth=Ce(s.borderWidth)?Math.max(...Object.values(s.borderWidth)):s.borderWidth||1,e.strokeStyle=s.borderColor,e.setLineDash(s.borderDash||[]),e.lineDashOffset=s.borderDashOffset||0;const m=i.leftForLtr(d,c),w=i.leftForLtr(i.xPlus(d,1),c-2),g=yo(s.borderRadius);Object.values(g).some(y=>y!==0)?(e.beginPath(),e.fillStyle=o.multiKeyBackground,Ac(e,{x:m,y:h,w:c,h:l,radius:g}),e.fill(),e.stroke(),e.fillStyle=s.backgroundColor,e.beginPath(),Ac(e,{x:w,y:h+1,w:c-2,h:l-2,radius:g}),e.fill()):(e.fillStyle=o.multiKeyBackground,e.fillRect(m,h,c,l),e.strokeRect(m,h,c,l),e.fillStyle=s.backgroundColor,e.fillRect(w,h+1,c-2,l-2))}e.fillStyle=this.labelTextColors[r]}drawBody(e,n,r){const{body:i}=this,{bodySpacing:o,bodyAlign:s,displayColors:a,boxHeight:l,boxWidth:c,boxPadding:u}=r,f=ot(r.bodyFont);let d=f.lineHeight,p=0;const h=vo(r.rtl,this.x,this.width),m=function(x){n.fillText(x,h.x(e.x+p),e.y+d/2),e.y+=d+o},w=h.textAlign(s);let g,y,v,_,C,P,b;for(n.textAlign=s,n.textBaseline="middle",n.font=f.string,e.x=gl(this,w,r),n.fillStyle=r.bodyColor,Pe(this.beforeBody,m),p=a&&w!=="right"?s==="center"?c/2+u:c+2+u:0,_=0,P=i.length;_<P;++_){for(g=i[_],y=this.labelTextColors[_],n.fillStyle=y,Pe(g.before,m),v=g.lines,a&&v.length&&(this._drawColorBox(n,e,_,h,r),d=Math.max(f.lineHeight,l)),C=0,b=v.length;C<b;++C)m(v[C]),d=f.lineHeight;Pe(g.after,m)}p=0,d=f.lineHeight,Pe(this.afterBody,m),e.y-=o}drawFooter(e,n,r){const i=this.footer,o=i.length;let s,a;if(o){const l=vo(r.rtl,this.x,this.width);for(e.x=gl(this,r.footerAlign,r),e.y+=r.footerMarginTop,n.textAlign=l.textAlign(r.footerAlign),n.textBaseline="middle",s=ot(r.footerFont),n.fillStyle=r.footerColor,n.font=s.string,a=0;a<o;++a)n.fillText(i[a],l.x(e.x),e.y+s.lineHeight/2),e.y+=s.lineHeight+r.footerSpacing}}drawBackground(e,n,r,i){const{xAlign:o,yAlign:s}=this,{x:a,y:l}=e,{width:c,height:u}=r,{topLeft:f,topRight:d,bottomLeft:p,bottomRight:h}=yo(i.cornerRadius);n.fillStyle=i.backgroundColor,n.strokeStyle=i.borderColor,n.lineWidth=i.borderWidth,n.beginPath(),n.moveTo(a+f,l),s==="top"&&this.drawCaret(e,n,r,i),n.lineTo(a+c-d,l),n.quadraticCurveTo(a+c,l,a+c,l+d),s==="center"&&o==="right"&&this.drawCaret(e,n,r,i),n.lineTo(a+c,l+u-h),n.quadraticCurveTo(a+c,l+u,a+c-h,l+u),s==="bottom"&&this.drawCaret(e,n,r,i),n.lineTo(a+p,l+u),n.quadraticCurveTo(a,l+u,a,l+u-p),s==="center"&&o==="left"&&this.drawCaret(e,n,r,i),n.lineTo(a,l+f),n.quadraticCurveTo(a,l,a+f,l),n.closePath(),n.fill(),i.borderWidth>0&&n.stroke()}_updateAnimationTarget(e){const n=this.chart,r=this.$animations,i=r&&r.x,o=r&&r.y;if(i||o){const s=hs[e.position].call(this,this._active,this._eventPosition);if(!s)return;const a=this._size=u0(this,e),l=Object.assign({},s,this._size),c=f0(n,e,l),u=d0(e,l,c,n);(i._to!==u.x||o._to!==u.y)&&(this.xAlign=c.xAlign,this.yAlign=c.yAlign,this.width=a.width,this.height=a.height,this.caretX=s.x,this.caretY=s.y,this._resolveAnimations().update(this,u))}}_willRender(){return!!this.opacity}draw(e){const n=this.options.setContext(this.getContext());let r=this.opacity;if(!r)return;this._updateAnimationTarget(n);const i={width:this.width,height:this.height},o={x:this.x,y:this.y};r=Math.abs(r)<.001?0:r;const s=St(n.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&a&&(e.save(),e.globalAlpha=r,this.drawBackground(o,e,i,n),lw(e,n.textDirection),o.y+=s.top,this.drawTitle(o,e,n),this.drawBody(o,e,n),this.drawFooter(o,e,n),cw(e,n.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,n){const r=this._active,i=e.map(({datasetIndex:a,index:l})=>{const c=this.chart.getDatasetMeta(a);if(!c)throw new Error("Cannot find a dataset at index "+a);return{datasetIndex:a,element:c.data[l],index:l}}),o=!kc(r,i),s=this._positionChanged(i,n);(o||s)&&(this._active=i,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,n,r=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const i=this.options,o=this._active||[],s=this._getActiveElements(e,o,n,r),a=this._positionChanged(s,e),l=n||!kc(s,o)||a;return l&&(this._active=s,(i.enabled||i.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,n))),l}_getActiveElements(e,n,r,i){const o=this.options;if(e.type==="mouseout")return[];if(!i)return n.filter(a=>this.chart.data.datasets[a.datasetIndex]&&this.chart.getDatasetMeta(a.datasetIndex).controller.getParsed(a.index)!==void 0);const s=this.chart.getElementsAtEventForMode(e,o.mode,o,r);return o.reverse&&s.reverse(),s}_positionChanged(e,n){const{caretX:r,caretY:i,options:o}=this,s=hs[o.position].call(this,e,n);return s!==!1&&(r!==s.x||i!==s.y)}}oe(Qd,"positioners",hs);var ZR={id:"tooltip",_element:Qd,positioners:hs,afterInit(t,e,n){n&&(t.tooltip=new Qd({chart:t,options:n}))},beforeUpdate(t,e,n){t.tooltip&&t.tooltip.initialize(n)},reset(t,e,n){t.tooltip&&t.tooltip.initialize(n)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const n={tooltip:e};if(t.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0})===!1)return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",n)}},afterEvent(t,e){if(t.tooltip){const n=e.replay;t.tooltip.handleEvent(e.event,n,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:Ew},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>t!=="filter"&&t!=="itemSort"&&t!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const e3=(t,e,n,r)=>(typeof e=="string"?(n=t.push(e)-1,r.unshift({index:n,label:e})):isNaN(e)&&(n=null),n);function t3(t,e,n,r){const i=t.indexOf(e);if(i===-1)return e3(t,e,n,r);const o=t.lastIndexOf(e);return i!==o?n:i}const n3=(t,e)=>t===null?null:hn(Math.round(t),0,e);function m0(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}class Jd extends Mi{constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const n=this._addedLabels;if(n.length){const r=this.getLabels();for(const{index:i,label:o}of n)r[i]===o&&r.splice(i,1);this._addedLabels=[]}super.init(e)}parse(e,n){if(Ie(e))return null;const r=this.getLabels();return n=isFinite(n)&&r[n]===e?n:t3(r,e,ge(n,e),this._addedLabels),n3(n,r.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:n}=this.getUserBounds();let{min:r,max:i}=this.getMinMax(!0);this.options.bounds==="ticks"&&(e||(r=0),n||(i=this.getLabels().length-1)),this.min=r,this.max=i}buildTicks(){const e=this.min,n=this.max,r=this.options.offset,i=[];let o=this.getLabels();o=e===0&&n===o.length-1?o:o.slice(e,n+1),this._valueRange=Math.max(o.length-(r?0:1),1),this._startValue=this.min-(r?.5:0);for(let s=e;s<=n;s++)i.push({value:s});return i}getLabelForValue(e){return m0.call(this,e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return typeof e!="number"&&(e=this.parse(e)),e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}oe(Jd,"id","category"),oe(Jd,"defaults",{ticks:{callback:m0}});function r3(t,e){const n=[],{bounds:i,step:o,min:s,max:a,precision:l,count:c,maxTicks:u,maxDigits:f,includeBounds:d}=t,p=o||1,h=u-1,{min:m,max:w}=e,g=!Ie(s),y=!Ie(a),v=!Ie(c),_=(w-m)/(f+1);let C=by((w-m)/h/p)*p,P,b,x,k;if(C<1e-14&&!g&&!y)return[{value:m},{value:w}];k=Math.ceil(w/C)-Math.floor(m/C),k>h&&(C=by(k*C/h/p)*p),Ie(l)||(P=Math.pow(10,l),C=Math.ceil(C*P)/P),i==="ticks"?(b=Math.floor(m/C)*C,x=Math.ceil(w/C)*C):(b=m,x=w),g&&y&&o&&WT((a-s)/o,C/1e3)?(k=Math.round(Math.min((a-s)/C,u)),C=(a-s)/k,b=s,x=a):v?(b=g?s:b,x=y?a:x,k=c-1,C=(x-b)/k):(k=(x-b)/C,As(k,Math.round(k),C/1e3)?k=Math.round(k):k=Math.ceil(k));const E=Math.max(wy(C),wy(b));P=Math.pow(10,Ie(l)?E:l),b=Math.round(b*P)/P,x=Math.round(x*P)/P;let O=0;for(g&&(d&&b!==s?(n.push({value:s}),b<s&&O++,As(Math.round((b+O*C)*P)/P,s,g0(s,_,t))&&O++):b<s&&O++);O<k;++O){const R=Math.round((b+O*C)*P)/P;if(y&&R>a)break;n.push({value:R})}return y&&d&&x!==a?n.length&&As(n[n.length-1].value,a,g0(a,_,t))?n[n.length-1].value=a:n.push({value:a}):(!y||x===a)&&n.push({value:x}),n}function g0(t,e,{horizontal:n,minRotation:r}){const i=Tr(r),o=(n?Math.sin(i):Math.cos(i))||.001,s=.75*e*(""+t).length;return Math.min(e/o,s)}class Lc extends Mi{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,n){return Ie(e)||(typeof e=="number"||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:n,maxDefined:r}=this.getUserBounds();let{min:i,max:o}=this;const s=l=>i=n?i:l,a=l=>o=r?o:l;if(e){const l=Ao(i),c=Ao(o);l<0&&c<0?a(0):l>0&&c>0&&s(0)}if(i===o){let l=o===0?1:Math.abs(o*.05);a(o+l),e||s(i-l)}this.min=i,this.max=o}getTickLimit(){const e=this.options.ticks;let{maxTicksLimit:n,stepSize:r}=e,i;return r?(i=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,i>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${i} ticks. Limiting to 1000.`),i=1e3)):(i=this.computeTickLimit(),n=n||11),n&&(i=Math.min(n,i)),i}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,n=e.ticks;let r=this.getTickLimit();r=Math.max(2,r);const i={maxTicks:r,bounds:e.bounds,min:e.min,max:e.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},o=this._range||this,s=r3(i,o);return e.bounds==="ticks"&&Gb(s,this,"value"),e.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}configure(){const e=this.ticks;let n=this.min,r=this.max;if(super.configure(),this.options.offset&&e.length){const i=(r-n)/Math.max(e.length-1,1)/2;n-=i,r+=i}this._startValue=n,this._endValue=r,this._valueRange=r-n}getLabelForValue(e){return Op(e,this.chart.options.locale,this.options.ticks.format)}}class Zd extends Lc{determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=ct(e)?e:0,this.max=ct(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),n=e?this.width:this.height,r=Tr(this.options.ticks.minRotation),i=(e?Math.sin(r):Math.cos(r))||.001,o=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,o.lineHeight/i))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}oe(Zd,"id","linear"),oe(Zd,"defaults",{ticks:{callback:yu.formatters.numeric}});const ca=t=>Math.floor(Ar(t)),ti=(t,e)=>Math.pow(10,ca(t)+e);function y0(t){return t/Math.pow(10,ca(t))===1}function v0(t,e,n){const r=Math.pow(10,n),i=Math.floor(t/r);return Math.ceil(e/r)-i}function i3(t,e){const n=e-t;let r=ca(n);for(;v0(t,e,r)>10;)r++;for(;v0(t,e,r)<10;)r--;return Math.min(r,ca(t))}function o3(t,{min:e,max:n}){e=qt(t.min,e);const r=[],i=ca(e);let o=i3(e,n),s=o<0?Math.pow(10,Math.abs(o)):1;const a=Math.pow(10,o),l=i>o?Math.pow(10,i):0,c=Math.round((e-l)*s)/s,u=Math.floor((e-l)/a/10)*a*10;let f=Math.floor((c-u)/Math.pow(10,o)),d=qt(t.min,Math.round((l+u+f*Math.pow(10,o))*s)/s);for(;d<n;)r.push({value:d,major:y0(d),significand:f}),f>=10?f=f<15?15:20:f++,f>=20&&(o++,f=2,s=o>=0?1:s),d=Math.round((l+u+f*Math.pow(10,o))*s)/s;const p=qt(t.max,d);return r.push({value:p,major:y0(p),significand:f}),r}class x0 extends Mi{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,n){const r=Lc.prototype.parse.apply(this,[e,n]);if(r===0){this._zero=!0;return}return ct(r)&&r>0?r:null}determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=ct(e)?Math.max(0,e):null,this.max=ct(n)?Math.max(0,n):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!ct(this._userMin)&&(this.min=e===ti(this.min,0)?ti(this.min,-1):ti(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:e,maxDefined:n}=this.getUserBounds();let r=this.min,i=this.max;const o=a=>r=e?r:a,s=a=>i=n?i:a;r===i&&(r<=0?(o(1),s(10)):(o(ti(r,-1)),s(ti(i,1)))),r<=0&&o(ti(i,-1)),i<=0&&s(ti(r,1)),this.min=r,this.max=i}buildTicks(){const e=this.options,n={min:this._userMin,max:this._userMax},r=o3(n,this);return e.bounds==="ticks"&&Gb(r,this,"value"),e.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}getLabelForValue(e){return e===void 0?"0":Op(e,this.chart.options.locale,this.options.ticks.format)}configure(){const e=this.min;super.configure(),this._startValue=Ar(e),this._valueRange=Ar(this.max)-Ar(e)}getPixelForValue(e){return(e===void 0||e===0)&&(e=this.min),e===null||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(Ar(e)-this._startValue)/this._valueRange)}getValueForPixel(e){const n=this.getDecimalForPixel(e);return Math.pow(10,this._startValue+n*this._valueRange)}}oe(x0,"id","logarithmic"),oe(x0,"defaults",{ticks:{callback:yu.formatters.logarithmic,major:{enabled:!0}}});function eh(t){const e=t.ticks;if(e.display&&t.display){const n=St(e.backdropPadding);return ge(e.font&&e.font.size,Qe.font.size)+n.height}return 0}function s3(t,e,n){return n=Xe(n)?n:[n],{w:dO(t,e.string,n),h:n.length*e.lineHeight}}function b0(t,e,n,r,i){return t===r||t===i?{start:e-n/2,end:e+n/2}:t<r||t>i?{start:e-n,end:e}:{start:e,end:e+n}}function a3(t){const e={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},n=Object.assign({},e),r=[],i=[],o=t._pointLabels.length,s=t.options.pointLabels,a=s.centerPointLabels?tt/o:0;for(let l=0;l<o;l++){const c=s.setContext(t.getPointLabelContext(l));i[l]=c.padding;const u=t.getPointPosition(l,t.drawingArea+i[l],a),f=ot(c.font),d=s3(t.ctx,f,t._pointLabels[l]);r[l]=d;const p=Cn(t.getIndexAngle(l)+a),h=Math.round(Ep(p)),m=b0(h,u.x,d.w,0,180),w=b0(h,u.y,d.h,90,270);l3(n,e,p,m,w)}t.setCenterPoint(e.l-n.l,n.r-e.r,e.t-n.t,n.b-e.b),t._pointLabelItems=f3(t,r,i)}function l3(t,e,n,r,i){const o=Math.abs(Math.sin(n)),s=Math.abs(Math.cos(n));let a=0,l=0;r.start<e.l?(a=(e.l-r.start)/o,t.l=Math.min(t.l,e.l-a)):r.end>e.r&&(a=(r.end-e.r)/o,t.r=Math.max(t.r,e.r+a)),i.start<e.t?(l=(e.t-i.start)/s,t.t=Math.min(t.t,e.t-l)):i.end>e.b&&(l=(i.end-e.b)/s,t.b=Math.max(t.b,e.b+l))}function c3(t,e,n){const r=t.drawingArea,{extra:i,additionalAngle:o,padding:s,size:a}=n,l=t.getPointPosition(e,r+i+s,o),c=Math.round(Ep(Cn(l.angle+Jt))),u=p3(l.y,a.h,c),f=d3(c),d=h3(l.x,a.w,f);return{visible:!0,x:l.x,y:u,textAlign:f,left:d,top:u,right:d+a.w,bottom:u+a.h}}function u3(t,e){if(!e)return!0;const{left:n,top:r,right:i,bottom:o}=t;return!(nr({x:n,y:r},e)||nr({x:n,y:o},e)||nr({x:i,y:r},e)||nr({x:i,y:o},e))}function f3(t,e,n){const r=[],i=t._pointLabels.length,o=t.options,{centerPointLabels:s,display:a}=o.pointLabels,l={extra:eh(o)/2,additionalAngle:s?tt/i:0};let c;for(let u=0;u<i;u++){l.padding=n[u],l.size=e[u];const f=c3(t,u,l);r.push(f),a==="auto"&&(f.visible=u3(f,c),f.visible&&(c=f))}return r}function d3(t){return t===0||t===180?"center":t<180?"left":"right"}function h3(t,e,n){return n==="right"?t-=e:n==="center"&&(t-=e/2),t}function p3(t,e,n){return n===90||n===270?t-=e/2:(n>270||n<90)&&(t-=e),t}function m3(t,e,n){const{left:r,top:i,right:o,bottom:s}=n,{backdropColor:a}=e;if(!Ie(a)){const l=yo(e.borderRadius),c=St(e.backdropPadding);t.fillStyle=a;const u=r-c.left,f=i-c.top,d=o-r+c.width,p=s-i+c.height;Object.values(l).some(h=>h!==0)?(t.beginPath(),Ac(t,{x:u,y:f,w:d,h:p,radius:l}),t.fill()):t.fillRect(u,f,d,p)}}function g3(t,e){const{ctx:n,options:{pointLabels:r}}=t;for(let i=e-1;i>=0;i--){const o=t._pointLabelItems[i];if(!o.visible)continue;const s=r.setContext(t.getPointLabelContext(i));m3(n,s,o);const a=ot(s.font),{x:l,y:c,textAlign:u}=o;Oi(n,t._pointLabels[i],l,c+a.lineHeight/2,a,{color:s.color,textAlign:u,textBaseline:"middle"})}}function Pw(t,e,n,r){const{ctx:i}=t;if(n)i.arc(t.xCenter,t.yCenter,e,0,yn);else{let o=t.getPointPosition(0,e);i.moveTo(o.x,o.y);for(let s=1;s<r;s++)o=t.getPointPosition(s,e),i.lineTo(o.x,o.y)}}function y3(t,e,n,r,i){const o=t.ctx,s=e.circular,{color:a,lineWidth:l}=e;!s&&!r||!a||!l||n<0||(o.save(),o.strokeStyle=a,o.lineWidth=l,o.setLineDash(i.dash),o.lineDashOffset=i.dashOffset,o.beginPath(),Pw(t,n,s,r),o.closePath(),o.stroke(),o.restore())}function v3(t,e,n){return Xr(t,{label:n,index:e,type:"pointLabel"})}class yl extends Lc{constructor(e){super(e),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const e=this._padding=St(eh(this.options)/2),n=this.width=this.maxWidth-e.width,r=this.height=this.maxHeight-e.height;this.xCenter=Math.floor(this.left+n/2+e.left),this.yCenter=Math.floor(this.top+r/2+e.top),this.drawingArea=Math.floor(Math.min(n,r)/2)}determineDataLimits(){const{min:e,max:n}=this.getMinMax(!1);this.min=ct(e)&&!isNaN(e)?e:0,this.max=ct(n)&&!isNaN(n)?n:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/eh(this.options))}generateTickLabels(e){Lc.prototype.generateTickLabels.call(this,e),this._pointLabels=this.getLabels().map((n,r)=>{const i=Le(this.options.pointLabels.callback,[n,r],this);return i||i===0?i:""}).filter((n,r)=>this.chart.getDataVisibility(r))}fit(){const e=this.options;e.display&&e.pointLabels.display?a3(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,n,r,i){this.xCenter+=Math.floor((e-n)/2),this.yCenter+=Math.floor((r-i)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,n,r,i))}getIndexAngle(e){const n=yn/(this._pointLabels.length||1),r=this.options.startAngle||0;return Cn(e*n+Tr(r))}getDistanceFromCenterForValue(e){if(Ie(e))return NaN;const n=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*n:(e-this.min)*n}getValueForDistanceFromCenter(e){if(Ie(e))return NaN;const n=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-n:this.min+n}getPointLabelContext(e){const n=this._pointLabels||[];if(e>=0&&e<n.length){const r=n[e];return v3(this.getContext(),e,r)}}getPointPosition(e,n,r=0){const i=this.getIndexAngle(e)-Jt+r;return{x:Math.cos(i)*n+this.xCenter,y:Math.sin(i)*n+this.yCenter,angle:i}}getPointPositionForValue(e,n){return this.getPointPosition(e,this.getDistanceFromCenterForValue(n))}getBasePosition(e){return this.getPointPositionForValue(e||0,this.getBaseValue())}getPointLabelPosition(e){const{left:n,top:r,right:i,bottom:o}=this._pointLabelItems[e];return{left:n,top:r,right:i,bottom:o}}drawBackground(){const{backgroundColor:e,grid:{circular:n}}=this.options;if(e){const r=this.ctx;r.save(),r.beginPath(),Pw(this,this.getDistanceFromCenterForValue(this._endValue),n,this._pointLabels.length),r.closePath(),r.fillStyle=e,r.fill(),r.restore()}}drawGrid(){const e=this.ctx,n=this.options,{angleLines:r,grid:i,border:o}=n,s=this._pointLabels.length;let a,l,c;if(n.pointLabels.display&&g3(this,s),i.display&&this.ticks.forEach((u,f)=>{if(f!==0||f===0&&this.min<0){l=this.getDistanceFromCenterForValue(u.value);const d=this.getContext(f),p=i.setContext(d),h=o.setContext(d);y3(this,p,l,s,h)}}),r.display){for(e.save(),a=s-1;a>=0;a--){const u=r.setContext(this.getPointLabelContext(a)),{color:f,lineWidth:d}=u;!d||!f||(e.lineWidth=d,e.strokeStyle=f,e.setLineDash(u.borderDash),e.lineDashOffset=u.borderDashOffset,l=this.getDistanceFromCenterForValue(n.ticks.reverse?this.min:this.max),c=this.getPointPosition(a,l),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(c.x,c.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){const e=this.ctx,n=this.options,r=n.ticks;if(!r.display)return;const i=this.getIndexAngle(0);let o,s;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(i),e.textAlign="center",e.textBaseline="middle",this.ticks.forEach((a,l)=>{if(l===0&&this.min>=0&&!n.reverse)return;const c=r.setContext(this.getContext(l)),u=ot(c.font);if(o=this.getDistanceFromCenterForValue(this.ticks[l].value),c.showLabelBackdrop){e.font=u.string,s=e.measureText(a.label).width,e.fillStyle=c.backdropColor;const f=St(c.backdropPadding);e.fillRect(-s/2-f.left,-o-u.size/2-f.top,s+f.width,u.size+f.height)}Oi(e,a.label,0,-o,u,{color:c.color,strokeColor:c.textStrokeColor,strokeWidth:c.textStrokeWidth})}),e.restore()}drawTitle(){}}oe(yl,"id","radialLinear"),oe(yl,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:yu.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(e){return e},padding:5,centerPointLabels:!1}}),oe(yl,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),oe(yl,"descriptors",{angleLines:{_fallback:"grid"}});const bu={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},$t=Object.keys(bu);function w0(t,e){return t-e}function k0(t,e){if(Ie(e))return null;const n=t._adapter,{parser:r,round:i,isoWeekday:o}=t._parseOpts;let s=e;return typeof r=="function"&&(s=r(s)),ct(s)||(s=typeof r=="string"?n.parse(s,r):n.parse(s)),s===null?null:(i&&(s=i==="week"&&(aa(o)||o===!0)?n.startOf(s,"isoWeek",o):n.startOf(s,i)),+s)}function S0(t,e,n,r){const i=$t.length;for(let o=$t.indexOf(t);o<i-1;++o){const s=bu[$t[o]],a=s.steps?s.steps:Number.MAX_SAFE_INTEGER;if(s.common&&Math.ceil((n-e)/(a*s.size))<=r)return $t[o]}return $t[i-1]}function x3(t,e,n,r,i){for(let o=$t.length-1;o>=$t.indexOf(n);o--){const s=$t[o];if(bu[s].common&&t._adapter.diff(i,r,s)>=e-1)return s}return $t[n?$t.indexOf(n):0]}function b3(t){for(let e=$t.indexOf(t)+1,n=$t.length;e<n;++e)if(bu[$t[e]].common)return $t[e]}function _0(t,e,n){if(!n)t[e]=!0;else if(n.length){const{lo:r,hi:i}=Pp(n,e),o=n[r]>=e?n[r]:n[i];t[o]=!0}}function w3(t,e,n,r){const i=t._adapter,o=+i.startOf(e[0].value,r),s=e[e.length-1].value;let a,l;for(a=o;a<=s;a=+i.add(a,1,r))l=n[a],l>=0&&(e[l].major=!0);return e}function C0(t,e,n){const r=[],i={},o=e.length;let s,a;for(s=0;s<o;++s)a=e[s],i[a]=s,r.push({value:a,major:!1});return o===0||!n?r:w3(t,r,i,n)}class Rc extends Mi{constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,n={}){const r=e.time||(e.time={}),i=this._adapter=new xL._date(e.adapters.date);i.init(n),Ps(r.displayFormats,i.formats()),this._parseOpts={parser:r.parser,round:r.round,isoWeekday:r.isoWeekday},super.init(e),this._normalized=n.normalized}parse(e,n){return e===void 0?null:k0(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,n=this._adapter,r=e.time.unit||"day";let{min:i,max:o,minDefined:s,maxDefined:a}=this.getUserBounds();function l(c){!s&&!isNaN(c.min)&&(i=Math.min(i,c.min)),!a&&!isNaN(c.max)&&(o=Math.max(o,c.max))}(!s||!a)&&(l(this._getLabelBounds()),(e.bounds!=="ticks"||e.ticks.source!=="labels")&&l(this.getMinMax(!1))),i=ct(i)&&!isNaN(i)?i:+n.startOf(Date.now(),r),o=ct(o)&&!isNaN(o)?o:+n.endOf(Date.now(),r)+1,this.min=Math.min(i,o-1),this.max=Math.max(i+1,o)}_getLabelBounds(){const e=this.getLabelTimestamps();let n=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;return e.length&&(n=e[0],r=e[e.length-1]),{min:n,max:r}}buildTicks(){const e=this.options,n=e.time,r=e.ticks,i=r.source==="labels"?this.getLabelTimestamps():this._generate();e.bounds==="ticks"&&i.length&&(this.min=this._userMin||i[0],this.max=this._userMax||i[i.length-1]);const o=this.min,s=this.max,a=XT(i,o,s);return this._unit=n.unit||(r.autoSkip?S0(n.minUnit,this.min,this.max,this._getLabelCapacity(o)):x3(this,a.length,n.minUnit,this.min,this.max)),this._majorUnit=!r.major.enabled||this._unit==="year"?void 0:b3(this._unit),this.initOffsets(i),e.reverse&&a.reverse(),C0(this,a,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(e=>+e.value))}initOffsets(e=[]){let n=0,r=0,i,o;this.options.offset&&e.length&&(i=this.getDecimalForValue(e[0]),e.length===1?n=1-i:n=(this.getDecimalForValue(e[1])-i)/2,o=this.getDecimalForValue(e[e.length-1]),e.length===1?r=o:r=(o-this.getDecimalForValue(e[e.length-2]))/2);const s=e.length<3?.5:.25;n=hn(n,0,s),r=hn(r,0,s),this._offsets={start:n,end:r,factor:1/(n+1+r)}}_generate(){const e=this._adapter,n=this.min,r=this.max,i=this.options,o=i.time,s=o.unit||S0(o.minUnit,n,r,this._getLabelCapacity(n)),a=ge(i.ticks.stepSize,1),l=s==="week"?o.isoWeekday:!1,c=aa(l)||l===!0,u={};let f=n,d,p;if(c&&(f=+e.startOf(f,"isoWeek",l)),f=+e.startOf(f,c?"day":s),e.diff(r,n,s)>1e5*a)throw new Error(n+" and "+r+" are too far apart with stepSize of "+a+" "+s);const h=i.ticks.source==="data"&&this.getDataTimestamps();for(d=f,p=0;d<r;d=+e.add(d,a,s),p++)_0(u,d,h);return(d===r||i.bounds==="ticks"||p===1)&&_0(u,d,h),Object.keys(u).sort(w0).map(m=>+m)}getLabelForValue(e){const n=this._adapter,r=this.options.time;return r.tooltipFormat?n.format(e,r.tooltipFormat):n.format(e,r.displayFormats.datetime)}format(e,n){const i=this.options.time.displayFormats,o=this._unit,s=n||i[o];return this._adapter.format(e,s)}_tickFormatFunction(e,n,r,i){const o=this.options,s=o.ticks.callback;if(s)return Le(s,[e,n,r],this);const a=o.time.displayFormats,l=this._unit,c=this._majorUnit,u=l&&a[l],f=c&&a[c],d=r[n],p=c&&f&&d&&d.major;return this._adapter.format(e,i||(p?f:u))}generateTickLabels(e){let n,r,i;for(n=0,r=e.length;n<r;++n)i=e[n],i.label=this._tickFormatFunction(i.value,n,e)}getDecimalForValue(e){return e===null?NaN:(e-this.min)/(this.max-this.min)}getPixelForValue(e){const n=this._offsets,r=this.getDecimalForValue(e);return this.getPixelForDecimal((n.start+r)*n.factor)}getValueForPixel(e){const n=this._offsets,r=this.getDecimalForPixel(e)/n.factor-n.end;return this.min+r*(this.max-this.min)}_getLabelSize(e){const n=this.options.ticks,r=this.ctx.measureText(e).width,i=Tr(this.isHorizontal()?n.maxRotation:n.minRotation),o=Math.cos(i),s=Math.sin(i),a=this._resolveTickFontOptions(0).size;return{w:r*o+a*s,h:r*s+a*o}}_getLabelCapacity(e){const n=this.options.time,r=n.displayFormats,i=r[n.unit]||r.millisecond,o=this._tickFormatFunction(e,0,C0(this,[e],this._majorUnit),i),s=this._getLabelSize(o),a=Math.floor(this.isHorizontal()?this.width/s.w:this.height/s.h)-1;return a>0?a:1}getDataTimestamps(){let e=this._cache.data||[],n,r;if(e.length)return e;const i=this.getMatchingVisibleMetas();if(this._normalized&&i.length)return this._cache.data=i[0].controller.getAllParsedValues(this);for(n=0,r=i.length;n<r;++n)e=e.concat(i[n].controller.getAllParsedValues(this));return this._cache.data=this.normalize(e)}getLabelTimestamps(){const e=this._cache.labels||[];let n,r;if(e.length)return e;const i=this.getLabels();for(n=0,r=i.length;n<r;++n)e.push(k0(this,i[n]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return JT(e.sort(w0))}}oe(Rc,"id","time"),oe(Rc,"defaults",{bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}});function vl(t,e,n){let r=0,i=t.length-1,o,s,a,l;n?(e>=t[r].pos&&e<=t[i].pos&&({lo:r,hi:i}=hi(t,"pos",e)),{pos:o,time:a}=t[r],{pos:s,time:l}=t[i]):(e>=t[r].time&&e<=t[i].time&&({lo:r,hi:i}=hi(t,"time",e)),{time:o,pos:a}=t[r],{time:s,pos:l}=t[i]);const c=s-o;return c?a+(l-a)*(e-o)/c:a}class E0 extends Rc{constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const e=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(e);this._minPos=vl(n,this.min),this._tableRange=vl(n,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:n,max:r}=this,i=[],o=[];let s,a,l,c,u;for(s=0,a=e.length;s<a;++s)c=e[s],c>=n&&c<=r&&i.push(c);if(i.length<2)return[{time:n,pos:0},{time:r,pos:1}];for(s=0,a=i.length;s<a;++s)u=i[s+1],l=i[s-1],c=i[s],Math.round((u+l)/2)!==c&&o.push({time:c,pos:s/(a-1)});return o}_generate(){const e=this.min,n=this.max;let r=super.getDataTimestamps();return(!r.includes(e)||!r.length)&&r.splice(0,0,e),(!r.includes(n)||r.length===1)&&r.push(n),r.sort((i,o)=>i-o)}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;const n=this.getDataTimestamps(),r=this.getLabelTimestamps();return n.length&&r.length?e=this.normalize(n.concat(r)):e=n.length?n:r,e=this._cache.all=e,e}getDecimalForValue(e){return(vl(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const n=this._offsets,r=this.getDecimalForPixel(e)/n.factor-n.end;return vl(this._table,r*this._tableRange+this._minPos,!0)}}oe(E0,"id","timeseries"),oe(E0,"defaults",Rc.defaults);const Aw="label";function P0(t,e){typeof t=="function"?t(e):t&&(t.current=e)}
866function k3(t,e){const n=t.options;n&&e&&Object.assign(n,e)}function Tw(t,e){t.labels=e}function Ow(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Aw;const r=[];t.datasets=e.map(i=>{const o=t.datasets.find(s=>s[n]===i[n]);return!o||!i.data||r.includes(o)?{...i}:(r.push(o),Object.assign(o,i),o)})}function S3(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Aw;const n={labels:[],datasets:[]};return Tw(n,t.labels),Ow(n,t.datasets,e),n}function _3(t,e){const{height:n=150,width:r=300,redraw:i=!1,datasetIdKey:o,type:s,data:a,options:l,plugins:c=[],fallbackContent:u,updateMode:f,...d}=t,p=A.useRef(null),h=A.useRef(),m=()=>{p.current&&(h.current=new xu(p.current,{type:s,data:S3(a,o),options:l&&{...l},plugins:c}),P0(e,h.current))},w=()=>{P0(e,null),h.current&&(h.current.destroy(),h.current=null)};return A.useEffect(()=>{!i&&h.current&&l&&k3(h.current,l)},[i,l]),A.useEffect(()=>{!i&&h.current&&Tw(h.current.config.data,a.labels)},[i,a.labels]),A.useEffect(()=>{!i&&h.current&&a.datasets&&Ow(h.current.config.data,a.datasets,o)},[i,a.datasets]),A.useEffect(()=>{h.current&&(i?(w(),setTimeout(m)):h.current.update(f))},[i,l,a.labels,a.datasets,f]),A.useEffect(()=>{h.current&&(w(),setTimeout(m))},[s]),A.useEffect(()=>(m(),()=>w()),[]),be.createElement("canvas",Object.assign({ref:p,role:"img",height:n,width:r},d),u)}const C3=A.forwardRef(_3);function E3(t,e){return xu.register(e),A.forwardRef((n,r)=>be.createElement(C3,Object.assign({},n,{ref:r,type:t})))}const P3=E3("line",jl);function Nc(){return S.jsx("div",{className:"loading-spinner",children:S.jsx("div",{className:"spinner"})})}const A3=async t=>{const{article:e,project:n,acess:r="all-access",agents:i="all-agents",dateType:o="daily",start:s=`${Ai}0101`,end:a=`${Ai}${mu}${gu}`}=t;try{const l=encodeURIComponent((e||"").replace(/\s+/g,"_")),c=`https://wikimedia.org/api/rest_v1/metrics/pageviews/per-article/${n}/${r}/${i}/${l}/${o}/${s}/${a}`;return(await Te.get(c)).data}catch{return{items:[]}}};xu.register(Jd,Zd,$l,ds,WR,ZR,UR);function T3(){const{pages:t,dateType:e,project:n,platform:r,agent:i,dates:o}=A.useContext(jo),[s,a]=A.useState({}),[l,c]=A.useState(!0),[u,f]=A.useState(null),{t:d,ready:p}=Rn("common",{useSuspense:!1}),h=A.useCallback(async()=>{if(!p||t.length===0||!o.start||!o.end){a({}),c(!1);return}c(!0),f(null);try{const m=await Promise.all(t.map(async y=>{try{const v=await A3({article:y,project:n,acess:r,agents:i,dateType:e==null?void 0:e.toLowerCase(),start:o.start,end:o.end}),_=Array.isArray(v==null?void 0:v.items)?v.items:[],C=_.map(b=>{const x=b.timestamp.substring(0,4),k=b.timestamp.substring(4,6),E=b.timestamp.substring(6,8);return`${x}-${k}-${E}`}),P=_.map(b=>b.views);return{article:y,dates:C,counts:P}}catch{return{article:y,dates:[],counts:[]}}})),w=[...new Set(m.flatMap(y=>y.dates))].sort(),g=m.map((y,v)=>({label:decodeURIComponent(y.article),data:w.map(_=>{const C=y.dates.indexOf(_);return C!==-1?y.counts[C]:0}),fill:!1,backgroundColor:`rgba(${75+v*50}, 192, 192, 0.6)`,borderColor:`rgba(${75+v*50}, 192, 192, 1)`}));a({labels:w,datasets:g})}catch{f(d("common.error","An error occurred while fetching data")),a({})}finally{c(!1)}},[t,e,n,r,i,o,d,p]);return A.useEffect(()=>{h()},[h]),p?S.jsxs("div",{className:"graph w-full flex flex-col items-center p-4 bg-white border border-gray-300 rounded-md",children:[S.jsx("h2",{className:"font-bold text-black text-xl self-start",children:d("pageViews.title","Page Views")}),u?S.jsx("div",{className:"text-red-500 text-center py-4",children:u}):l?S.jsx(Nc,{}):s.labels&&s.labels.length>0?S.jsx(P3,{data:s,options:{responsive:!0,maintainAspectRatio:!0,plugins:{legend:{position:"right",labels:{usePointStyle:!0,pointStyle:"circle",color:"#374151"}}},scales:{y:{beginAtZero:!0,ticks:{color:"#374151"}},x:{ticks:{color:"#374151"}}}}}):S.jsx("div",{className:"text-gray-500 text-center py-4",children:d("common.noData","No data available")})]}):S.jsx(Nc,{})}function O3(){const{pages:t,dateType:e,project:n,platform:r,agent:i,dates:o}=A.useContext(jo),s=t.map(a=>({article:encodeURIComponent(a),project:encodeURIComponent(n),acess:encodeURIComponent(r),agents:encodeURIComponent(i),dateType:encodeURIComponent(e),start:o.start,end:o.end}));return S.jsx(T3,{articles:s})}function L3(){const{pages:t,setPages:e,project:n}=A.useContext(jo),{t:r}=Rn(),i=A.useRef(null),[o,s]=A.useState(""),[a,l]=A.useState([]),[c,u]=A.useState(!1),f=h=>{h.preventDefault();const m=o.trim();m&&(t.includes(m)||e([...t,m]),s(""),l([]))};function d(h){const m=[...t];h===0?m.pop():m.splice(h,1),e(m)}A.useEffect(()=>{if(!o){l([]);return}const h=new AbortController,m=setTimeout(()=>{u(!0);const w=encodeURIComponent(o),y=`${(n&&(n.startsWith("http://")||n.startsWith("https://"))?n:`https://${n||"en.wikipedia.org"}`).replace(/\/$/,"")}/w/api.php?action=opensearch&format=json&formatversion=2&search=${w}&namespace=0&limit=10&origin=*`;fetch(y,{signal:h.signal}).then(v=>v.json()).then(v=>{const _=v[1]||[],C=v[3]||[],P=_.map((b,x)=>({title:b,url:C[x]||""}));l(P)}
866).catch(v=>{v.name}).finally(()=>u(!1))},300);return()=>{h.abort(),clearTimeout(m)}},[o,n]);const p=h=>{var m;t.includes(h)||e([...t,h]),s(""),l([]),(m=i.current)==null||m.focus()};return S.jsxs("div",{className:"flex my-3 gap-4 flex-wrap",children:[S.jsxs("form",{onSubmit:f,method:"POST",className:"flex gap-3 flex-wrap relative w-full max-w-lg",children:[S.jsx("input",{type:"text",className:"page-input w-[320px]",name:"page",ref:i,value:o,onChange:h=>s(h.target.value),placeholder:r("pageViews.selectArticle"),autoComplete:"off"}),S.jsx("button",{type:"submit",className:"bg-blue-500 text-white px-4 py-2 rounded",children:S.jsx(Ft,{icon:WE})}),(a.length>0||c)&&S.jsxs("ul",{className:"absolute left-0 mt-12 w-[320px] bg-white border border-gray-200 rounded shadow max-h-56 overflow-auto z-50",children:[c&&S.jsx("li",{className:"p-2 text-sm text-gray-500",children:r("common.loading")||"Loading..."}),a.map((h,m)=>S.jsxs("li",{className:"p-2 hover:bg-gray-100 cursor-pointer text-sm",onClick:()=>p(h.title),children:[S.jsx("div",{className:"font-medium",children:h.title}),h.url&&S.jsx("div",{className:"text-xs text-gray-500",children:h.url})]},m))]})]}),S.jsx("div",{className:"list-none flex flex-wrap gap-1",children:t.map((h,m)=>S.jsxs("span",{className:"border-1 solid flex justify-center text-[12px] items-center h-6 border-[#ccc] p-1 bg-blue-300 rounded-lg",children:[S.jsx("span",{children:zb(h)}),S.jsx("button",{onClick:()=>d(m),className:"flex justify-center text-[12px] bg-transparent !p-0",children:S.jsx(Ft,{icon:ib,className:"pl-1"})})]},m))}),t.length===0&&S.jsx("div",{className:"text-gray-500",children:r("common.noData")})]})}function R3(){const[t,e]=A.useState({start:`${Ai}0101`,end:`${Ai}${mu}${gu}`}),[n,r]=A.useState([]),[i,o]=A.useState("Daily"),[s,a]=A.useState("fr.wikipedia.org"),[l,c]=A.useState("all-access"),[u,f]=A.useState("user");return S.jsx("div",{className:"page-views flex flex-wrap justify-center gap-4 w-full p-4 mr-10",children:S.jsxs(jo.Provider,{value:{dates:t,setDates:e,pages:n,setPages:r,dateType:i,setDateType:o,project:s,setProject:a,platform:l,setPlatform:c,agent:u,setAgent:f},children:[S.jsx(dT,{}),S.jsxs("div",{className:"w-3/4",children:[S.jsx(L3,{}),n.length===0?S.jsx(S.Fragment,{}):S.jsx(O3,{})]})]})})}const N3="https://wikimedia.org/api/rest_v1/metrics/pageviews/top-per-country",M3=async t=>{const{countryCode:e="CD",access:n="all-access",year:r=Ai,month:i=mu,day:o=gu}=t,s=`${N3}/${e}/${n}/${r}/${i}/${o}`;try{return(await Te.get(s)).data}catch{return[]}},Lw=xc.Africa,D3=t=>{const e=Lw.find(n=>n.code===t);return e?e.name:t},A0=t=>{const[e,n,r]=t.split("-");return{year:e,month:n,day:r}};function I3(){const t=new Date,[e,n]=A.useState([]),[r,i]=A.useState(A0(t.toISOString().split("T")[0])),[o,s]=A.useState(!0),[a,l]=A.useState(null),[c,u]=A.useState(!0),[f,d]=A.useState(!1),[p,h]=A.useState(1),[m,w]=A.useState([]),g=c?12:18,y=()=>{u(!c)},v=P=>{d(!0),i(A0(P.target.value))};A.useEffect(()=>{(async()=>{try{const x=(await Promise.all(Lw.map(E=>M3({countryCode:E.code,year:r.year,month:r.month,day:r.day})))).flatMap(E=>Array.isArray(E)?[]:E.items.flatMap(O=>O.articles.map(R=>({country:D3(O.country),rank:R.rank,title:R.article,views:R.views_ceil,project:R.project})))),k=await Ub(x);n(k),s(!1),d(!1)}catch(b){l(b),s(!1),d(!1)}})()},[r]);const _=Math.ceil(e.length/g);A.useEffect(()=>{const P=e.slice(0,g);w(P),h(1)},[e,g]);const C=(P,b)=>{h(P),w(b)};return o?S.jsx("div",{className:"flex items-center justify-center w-full h-full m-4",children:S.jsx(Nc,{})}):a?S.jsxs("p",{children:["Error: ",a.message]}):S.jsx("main",{children:S.jsxs("div",{className:"p-4 african",children:[S.jsx("h1",{className:"mb-4 text-2xl font-bold text-center text-white",children:"Top Wikimedia Articles in Africa"}),S.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-5 my-3",children:[S.jsx("button",{onClick:y,className:"px-4 py-2 text-white bg-blue-500 rounded",children:"Articles List/Article Gallery"}),S.jsx(Ud,{onChange:v}),S.jsxs("h1",{className:"text-white",children:["Top Africa Article: ",`${r.day}/${r.month}/${r.year}`]})]}),f&&!c&&S.jsx("div",{className:"flex flex-wrap items-center justify-center pt-[2rem] max-md:flex-col",children:S.jsx(Nc,{})}),f&&c&&S.jsx("div",{children:S.jsx("ul",{className:"flex flex-wrap items-center justify-center pt-[2rem] max-md:flex-col",children:[1,2,3].map((P,b)=>S.jsx("div",{className:"w-1/3 p-8  max-md:w-[90vw]",children:S.jsx(Hb,{element:P})},b))})}),!f&&(c?S.jsx("div",{className:"flex flex-wrap justify-center gap-4 my-9",children:m.map((P,b)=>S.jsx($b,{article:P.title,rank:P.rank,views_ceil:P.views,country:P.country,project:P.project},b))}):S.jsx("div",{className:"flex flex-col items-center justify-center",children:S.jsx(Vb,{articlesData:m})})),e.length==0&&S.jsx("div",{className:"flex justify-center w-full mb-3 text-white",children:S.jsx("p",{children:"No Article Post"})}),S.jsx("div",{className:"flex items-center justify-center gap-4 my-5 mb-12",children:S.jsx(Bb,{items:e,itemsPerPage:g,onPageChange:C,onCurrentChange:h,currentPage:p,totalPages:_})})]})})}const j3=()=>{const t=h_(),e=()=>t("/");return S.jsx("div",{className:"text-center flex items-center justify-center p-[25vh]",children:S.jsxs("div",{className:"bg-white/45 p-5",children:[S.jsx("h1",{className:"text-4xl mb-2.5",children:"404 - Page non trouvée"}),S.jsx("p",{className:"text-lg",children:"Désolé, la page que vous recherchez n'existe pas."}),S.jsx("button",{className:"py-1 my-1.5 text-base bg-gray-300",onClick:e,children:"Go to home"})]})})},F3=N_([{path:"/",element:S.jsx(kP,{}),children:[{index:!0,element:S.jsx(fy,{})},{path:"permanent/:id",element:S.jsx(fy,{})},{path:"page-views",element:S.jsx(R3,{})},{path:"top-africa",element:S.jsx(I3,{})},{path:"*",element:S.jsx(j3,{})}]}]),se=t=>typeof t=="string",rs=()=>{let t,e;const n=new Promise((r,i)=>{t=r,e=i});return n.resolve=t,n.reject=e,n},T0=t=>t==null?"":""+t,z3=(t,e,n)=>{t.forEach(r=>{e[r]&&(n[r]=e[r])})},$3=/###/g,O0=t=>t&&t.indexOf("###")>
vendor: 7,075 bytes, line 866
866-1?t.replace($3,"."):t,L0=t=>!t||se(t),Rs=(t,e,n)=>{const r=se(e)?e.split("."):e;let i=0;for(;i<r.length-1;){if(L0(t))return{};const o=O0(r[i]);!t[o]&&n&&(t[o]=new n),Object.prototype.hasOwnProperty.call(t,o)?t=t[o]:t={},++i}return L0(t)?{}:{obj:t,k:O0(r[i])}},R0=(t,e,n)=>{const{obj:r,k:i}=Rs(t,e,Object);if(r!==void 0||e.length===1){r[i]=n;return}let o=e[e.length-1],s=e.slice(0,e.length-1),a=Rs(t,s,Object);for(;a.obj===void 0&&s.length;)o=`${s[s.length-1]}.${o}`,s=s.slice(0,s.length-1),a=Rs(t,s,Object),a!=null&&a.obj&&typeof a.obj[`${a.k}.${o}`]<"u"&&(a.obj=void 0);a.obj[`${a.k}.${o}`]=n},B3=(t,e,n,r)=>{const{obj:i,k:o}=Rs(t,e,Object);i[o]=i[o]||[],i[o].push(n)},Mc=(t,e)=>{const{obj:n,k:r}=Rs(t,e);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},H3=(t,e,n)=>{const r=Mc(t,n);return r!==void 0?r:Mc(e,n)},Rw=(t,e,n)=>{for(const r in e)r!=="__proto__"&&r!=="constructor"&&(r in t?se(t[r])||t[r]instanceof String||se(e[r])||e[r]instanceof String?n&&(t[r]=e[r]):Rw(t[r],e[r],n):t[r]=e[r]);return t},Ui=t=>t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var U3={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const V3=t=>se(t)?t.replace(/[&<>"'\/]/g,e=>U3[e]):t;class W3{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const n=this.regExpMap.get(e);if(n!==void 0)return n;const r=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,r),this.regExpQueue.push(e),r}}const K3=[" ",",","?","!",";"],Y3=new W3(20),q3=(t,e,n)=>{e=e||"",n=n||"";const r=K3.filter(s=>e.indexOf(s)<0&&n.indexOf(s)<0);if(r.length===0)return!0;const i=Y3.getRegExp(`(${r.map(s=>s==="?"?"\\?":s).join("|")})`);let o=!i.test(t);if(!o){const s=t.indexOf(n);s>0&&!i.test(t.substring(0,s))&&(o=!0)}return o},th=function(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!t)return;if(t[e])return Object.prototype.hasOwnProperty.call(t,e)?t[e]:void 0;const r=e.split(n);let i=t;for(let o=0;o<r.length;){if(!i||typeof i!="object")return;let s,a="";for(let l=o;l<r.length;++l)if(l!==o&&(a+=n),a+=r[l],s=i[a],s!==void 0){if(["string","number","boolean"].indexOf(typeof s)>-1&&l<r.length-1)continue;o+=l-o+1;break}i=s}return i},Dc=t=>t==null?void 0:t.replace("_","-"),G3={type:"logger",log(t){this.output("log",t)},warn(t){this.output("warn",t)},error(t){this.output("error",t)},output(t,e){var n,r;(r=(n=console==null?void 0:console[t])==null?void 0:n.apply)==null||r.call(n,console,e)}};class Ic{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(e,n)}init(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=e||G3,this.options=n,this.debug=n.debug}log(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return this.forward(n,"log","",!0)}warn(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return this.forward(n,"warn","",!0)}error(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return this.forward(n,"error","")}deprecate(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return this.forward(n,"warn","WARNING DEPRECATED: ",!0)}forward(e,n,r,i){return i&&!this.debug?null:(se(e[0])&&(e[0]=`${r}${this.prefix} ${e[0]}`),this.logger[n](e))}create(e){return new Ic(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return e=e||this.options,e.prefix=e.prefix||this.prefix,new Ic(this.logger,e)}}var Wn=new Ic;class wu{constructor(){this.observers={}}on(e,n){return e.split(" ").forEach(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(e,n){if(this.observers[e]){if(!n){delete this.observers[e];return}this.observers[e].delete(n)}}emit(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];this.observers[e]&&Array.from(this.observers[e].entries()).forEach(s=>{let[a,l]=s;for(let c=0;c<l;c++)a(...r)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(s=>{let[a,l]=s;for(let c=0;c<l;c++)a.apply(a,[e,...r])})}}class N0 extends wu{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const n=this.options.ns.indexOf(e);n>-1&&this.options.ns.splice(n,1)}getResource(e,n,r){var c,u;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 a;e.indexOf(".")>-1?a=e.split("."):(a=[e,n],r&&(Array.isArray(r)?a.push(...r):se(r)&&o?a.push(...r.split(o)):a.push(r)));const l=Mc(this.data,a);return!l&&!n&&!r&&e.indexOf(".")>-1&&(e=a[0],n=a[1],r=a.slice(2).join(".")),l||!s||!se(r)?l:th((u=(c=this.data)==null?void 0:c[e])==null?void 0:u[n],r,o)}addResource(e,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 a=[e,n];r&&(a=a.concat(s?r.split(s):r)),e.indexOf(".")>-1&&(a=e.split("."),i=n,n=a[1]),this.addNamespaces(n),R0(this.data,a,i),o.silent||this.emit("added",e,n,r,i)}addResources(e,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const o in r)(se(r[o])||Array.isArray(r[o]))&&this.addResource(e,n,o,r[o],{silent:!0});i.silent||this.emit("added",e,n,r)}addResourceBundle(e,n,r,i,o){let s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},a=[e,n];e.indexOf(".")>-1&&(a=e.split("."),i=r,r=n,n=a[1]),this.addNamespaces(n);let l=Mc(this.data,a)||{};s.skipCopy||(r=JSON.parse(JSON.stringify(r))),i?Rw(l,r,o):l={...l,...r},R0(this.data,a,l),s.silent||this.emit("added",e,n,r)}removeResourceBundle(e,n){this.hasResourceBundle(e,n)&&delete this.data[e][n],this.removeNamespaces(n),this.emit("removed",e,n)}hasResourceBundle(e,n){return this.getResource(e,n)!==void 0}getResourceBundle(e,n){return n||(n=this.options.defaultNS),this.getResource(e,n)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const n=this.getDataByLanguage(e);return!!(n&&Object.keys(n)||[]).find(i=>n[i]&&Object.keys(n[i]).length>0)}toJSON(){return this.data}}var Nw={processors:{},addPostProcessor(t){this.processors[t.name]=t},handle(t,e,n,r,i){return t.forEach(o=>{var s;e=((s=this.processors[o])==null?void 0:s.process(e,n,r,i))??e}),e}};const M0={},D0=t=>!se(t)&&typeof t!="boolean"&&typeof t!="number";class jc extends wu{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),z3(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
866i18nFormat","utils"],e,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Wn.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(e==null)return!1;const r=this.resolve(e,n);return(r==null?void 0:r.res)!==void 0}extractFromKey(e,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&&e.indexOf(r)>-1,a=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!q3(e,r,i);if(s&&!a){const l=e.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:e,namespaces:se(o)?[o]:o};const c=e.split(r);(r!==i||r===i&&this.options.ns.indexOf(c[0])>-1)&&(o=c.shift()),e=c.join(i)}return{key:e,namespaces:se(o)?[o]:o}}translate(e,n,r){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),e==null)return"";Array.isArray(e)||(e=[String(e)]);const i=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,o=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:s,namespaces:a}=this.extractFromKey(e[e.length-1],n),l=a[a.length-1],c=n.lng||this.language,u=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if((c==null?void 0:c.toLowerCase())==="cimode"){if(u){const O=n.nsSeparator||this.options.nsSeparator;return i?{res:`${l}${O}${s}`,usedKey:s,exactUsedKey:s,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(n)}:`${l}${O}${s}`}return i?{res:s,usedKey:s,exactUsedKey:s,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(n)}:s}const f=this.resolve(e,n);let d=f==null?void 0:f.res;const p=(f==null?void 0:f.usedKey)||s,h=(f==null?void 0:f.exactUsedKey)||s,m=["[object Number]","[object Function]","[object RegExp]"],w=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,g=!this.i18nFormat||this.i18nFormat.handleAsObject,y=n.count!==void 0&&!se(n.count),v=jc.hasDefaultValue(n),_=y?this.pluralResolver.getSuffix(c,n.count,n):"",C=n.ordinal&&y?this.pluralResolver.getSuffix(c,n.count,{ordinal:!1}):"",P=y&&!n.ordinal&&n.count===0,b=P&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${_}`]||n[`defaultValue${C}`]||n.defaultValue;let x=d;g&&!d&&v&&(x=b);const k=D0(x),E=Object.prototype.toString.apply(x);if(g&&x&&k&&m.indexOf(E)<0&&!(se(w)&&Array.isArray(x))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const O=this.options.returnedObjectHandler?this.options.returnedObjectHandler(p,x,{...n,ns:a}):`key '${s} (${this.language})' returned an object instead of string.`;return i?(f.res=O,f.usedParams=this.getUsedParamsDetails(n),f):O}if(o){const O=Array.isArray(x),R=O?[]:{},I=O?h:p;for(const F in x)if(Object.prototype.hasOwnProperty.call(x,F)){const H=`${I}${o}${F}`;v&&!d?R[F]=this.translate(H,{...n,defaultValue:D0(b)?b[F]:void 0,joinArrays:!1,ns:a}):R[F]=this.translate(H,{...n,joinArrays:!1,ns:a}),R[F]===H&&(R[F]=x[F])}d=R}}else if(g&&se(w)&&Array.isArray(d))d=d.join(w),d&&(d=this.extendTranslation(d,e,n,r));else{let O=!1,R=!1;!this.isValidLookup(d)&&v&&(O=!0,d=b),this.isValidLookup(d)||(R=!0,d=s);const F=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&R?void 0:d,H=v&&b!==d&&this.options.updateMissing;if(R||O||H){if(this.logger.log(H?"updateKey":"missingKey",c,l,s,H?b:d),o){const D=this.resolve(s,{...n,keySeparator:!1});D&&D.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 W=[];const $=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&$&&$[0])for(let D=0;D<$.length;D++)W.push($[D]);else this.options.saveMissingTo==="all"?W=this.languageUtils.toResolveHierarchy(n.lng||this.language):W.push(n.lng||this.language);const M=(D,V,Y)=>{var J;
vendor: 8,537 bytes, line 866
866const z=v&&Y!==d?Y:F;this.options.missingKeyHandler?this.options.missingKeyHandler(D,l,V,z,H,n):(J=this.backendConnector)!=null&&J.saveMissing&&this.backendConnector.saveMissing(D,l,V,z,H,n),this.emit("missingKey",D,l,V,d)};this.options.saveMissing&&(this.options.saveMissingPlurals&&y?W.forEach(D=>{const V=this.pluralResolver.getSuffixes(D,n);P&&n[`defaultValue${this.options.pluralSeparator}zero`]&&V.indexOf(`${this.options.pluralSeparator}zero`)<0&&V.push(`${this.options.pluralSeparator}zero`),V.forEach(Y=>{M([D],s+Y,n[`defaultValue${Y}`]||b)})}):M(W,s,b))}d=this.extendTranslation(d,e,n,f,r),R&&d===s&&this.options.appendNamespaceToMissingKey&&(d=`${l}:${s}`),(R||O)&&this.options.parseMissingKeyHandler&&(d=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}:${s}`:s,O?d:void 0))}return i?(f.res=d,f.usedParams=this.getUsedParamsDetails(n),f):d}extendTranslation(e,n,r,i,o){var c,u;var s=this;if((c=this.i18nFormat)!=null&&c.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const f=se(e)&&(((u=r==null?void 0:r.interpolation)==null?void 0:u.skipOnVariables)!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let d;if(f){const h=e.match(this.interpolator.nestingRegexp);d=h&&h.length}let p=r.replace&&!se(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(p={...this.options.interpolation.defaultVariables,...p}),e=this.interpolator.interpolate(e,p,r.lng||this.language||i.usedLng,r),f){const h=e.match(this.interpolator.nestingRegexp),m=h&&h.length;d<m&&(r.nest=!1)}!r.lng&&i&&i.res&&(r.lng=this.language||i.usedLng),r.nest!==!1&&(e=this.interpolator.nest(e,function(){for(var h=arguments.length,m=new Array(h),w=0;w<h;w++)m[w]=arguments[w];return(o==null?void 0:o[0])===m[0]&&!r.context?(s.logger.warn(`It seems you are nesting recursively key: ${m[0]} in key: ${n[0]}`),null):s.translate(...m,n)},r)),r.interpolation&&this.interpolator.reset()}const a=r.postProcess||this.options.postProcess,l=se(a)?[a]:a;return e!=null&&(l!=null&&l.length)&&r.applyPostProcessor!==!1&&(e=Nw.handle(l,e,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...i,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),e}resolve(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,i,o,s,a;return se(e)&&(e=[e]),e.forEach(l=>{if(this.isValidLookup(r))return;const c=this.extractFromKey(l,n),u=c.key;i=u;let f=c.namespaces;this.options.fallbackNS&&(f=f.concat(this.options.fallbackNS));const d=n.count!==void 0&&!se(n.count),p=d&&!n.ordinal&&n.count===0,h=n.context!==void 0&&(se(n.context)||typeof n.context=="number")&&n.context!=="",m=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);f.forEach(w=>{var g,y;this.isValidLookup(r)||(a=w,!M0[`${m[0]}-${w}`]&&((g=this.utils)!=null&&g.hasLoadedNamespace)&&!((y=this.utils)!=null&&y.hasLoadedNamespace(a))&&(M0[`${m[0]}-${w}`]=!0,this.logger.warn(`key "${i}" for languages "${m.join(", ")}" won't get resolved as namespace "${a}" 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!!!")),m.forEach(v=>{var P;if(this.isValidLookup(r))return;s=v;const _=[u];if((P=this.i18nFormat)!=null&&P.addLookupKeys)this.i18nFormat.addLookupKeys(_,u,v,w,n);else{let b;d&&(b=this.pluralResolver.getSuffix(v,n.count,n));const x=`${this.options.pluralSeparator}zero`,k=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(d&&(_.push(u+b),n.ordinal&&b.indexOf(k)===0&&_.push(u+b.replace(k,this.options.pluralSeparator)),p&&_.push(u+x)),h){const E=`${u}${this.options.contextSeparator}${n.context}`;_.push(E),d&&(_.push(E+b),n.ordinal&&b.indexOf(k)===0&&_.push(E+b.replace(k,this.options.pluralSeparator)),p&&_.push(E+x))}}let C;for(;C=_.pop();)this.isValidLookup(r)||(o=C,r=this.getResource(v,w,C,n))}))})}),{res:r,usedKey:i,exactUsedKey:o,usedLng:s,usedNS:a}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,n,r){var o;let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return(o=this.i18nFormat)!=null&&o.getResource?this.i18nFormat.getResource(e,n,r,i):this.resourceStore.getResource(e,n,r,i)}getUsedParamsDetails(){let e=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=e.replace&&!se(e.replace);let i=r?e.replace:e;if(r&&typeof e.count<"u"&&(i.count=e.count),this.options.interpolation.defaultVariables&&(i={...this.options.interpolation.defaultVariables,...i}),!r){i={...i};for(const o of n)delete i[o]}return i}static hasDefaultValue(e){const n="defaultValue";for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&n===r.substring(0,n.length)&&e[r]!==void 0)return!0;return!1}}class I0{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Wn.create("languageUtils")}getScriptPartFromCode(e){if(e=Dc(e),!e||e.indexOf("-")<0)return null;const n=e.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(e){if(e=Dc(e),!e||e.indexOf("-")<0)return e;const n=e.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(e){if(se(e)&&e.indexOf("-")>-1){let n;try{n=Intl.getCanonicalLocales(e)[0]}catch{}return n&&this.options.lowerCaseLng&&(n=n.toLowerCase()),n||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let n;return e.forEach(r=>{if(n)return;const i=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(i))&&(n=i)}),!n&&this.options.supportedLngs&&e.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(e,n){if(!e)return[];if(typeof e=="function"&&(e=e(n)),se(e)&&(e=[e]),Array.isArray(e))return e;if(!n)return e.default||[];let r=e[n];return r||(r=e[this.getScriptPartFromCode(n)]),r||(r=e[this.formatLanguageCode(n)]),r||(r=e[this.getLanguagePartFromCode(n)]),r||(r=e.default),r||[]}toResolveHierarchy(e,n){const r=this.getFallbackCodes(n||this.options.fallbackLng||[],e),i=[],o=s=>{s&&(this.isSupportedCode(s)?i.push(s):this.logger.warn(`rejecting language code not found in supportedLngs: ${s}`))};return se(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&o(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&o(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&o(this.getLanguagePartFromCode(e))):se(e)&&o(this.formatLanguageCode(e)),r.forEach(s=>{i.indexOf(s)<0&&o(this.formatLanguageCode(s))}),i}}const j0={zero:0,one:1,two:2,few:3,many:4,other:5},F0={select:t=>t===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class X3{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=e,this.options=n,this.logger=Wn.create("pluralResolver"),this.pluralRulesCache={}}addRule(e,n){this.rules[e]=n}clearCache(){this.pluralRulesCache={}}getRule(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=Dc(e==="dev"?"en":e),i=n.ordinal?"ordinal":"cardinal",o=JSON.stringify({cleanedCode:r,type:i});if(o in this.pluralRulesCache)return this.pluralRulesCache[o];let s;try{s=new Intl.PluralRules(r,{type:i})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl pol
866yfill!"),F0;if(!e.match(/-|_/))return F0;const l=this.languageUtils.getLanguagePartFromCode(e);s=this.getRule(l,n)}return this.pluralRulesCache[o]=s,s}needsPlural(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=this.getRule(e,n);return r||(r=this.getRule("dev",n)),(r==null?void 0:r.resolvedOptions().pluralCategories.length)>1}getPluralFormsOfKey(e,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(e,r).map(i=>`${n}${i}`)}getSuffixes(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=this.getRule(e,n);return r||(r=this.getRule("dev",n)),r?r.resolvedOptions().pluralCategories.sort((i,o)=>j0[i]-j0[o]).map(i=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${i}`):[]}getSuffix(e,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const i=this.getRule(e,r);return i?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${i.select(n)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",n,r))}}const z0=function(t,e,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,o=H3(t,e,n);return!o&&i&&se(n)&&(o=th(t,n,r),o===void 0&&(o=th(e,n,r))),o},yf=t=>t.replace(/\$/g,"$$$$");class Q3{constructor(){var n;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Wn.create("interpolator"),this.options=e,this.format=((n=e==null?void 0:e.interpolation)==null?void 0:n.format)||(r=>r),this.init(e)}init(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const{escape:n,escapeValue:r,useRawValueToEscape:i,prefix:o,prefixEscaped:s,suffix:a,suffixEscaped:l,formatSeparator:c,unescapeSuffix:u,unescapePrefix:f,nestingPrefix:d,nestingPrefixEscaped:p,nestingSuffix:h,nestingSuffixEscaped:m,nestingOptionsSeparator:w,maxReplaces:g,alwaysFormat:y}=e.interpolation;this.escape=n!==void 0?n:V3,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=i!==void 0?i:!1,this.prefix=o?Ui(o):s||"{{",this.suffix=a?Ui(a):l||"}}",this.formatSeparator=c||",",this.unescapePrefix=u?"":f||"-",this.unescapeSuffix=this.unescapePrefix?"":u||"",this.nestingPrefix=d?Ui(d):p||Ui("$t("),this.nestingSuffix=h?Ui(h):m||Ui(")"),this.nestingOptionsSeparator=w||",",this.maxReplaces=g||1e3,this.alwaysFormat=y!==void 0?y:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(n,r)=>(n==null?void 0:n.source)===r?(n.lastIndex=0,n):new RegExp(r,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,n,r,i){var p;let o,s,a;const l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=h=>{if(h.indexOf(this.formatSeparator)<0){const y=z0(n,l,h,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(y,void 0,r,{...i,...n,interpolationkey:h}):y}const m=h.split(this.formatSeparator),w=m.shift().trim(),g=m.join(this.formatSeparator).trim();return this.format(z0(n,l,w,this.options.keySeparator,this.options.ignoreJSONStructure),g,r,{...i,...n,interpolationkey:w})};this.resetRegExp();const u=(i==null?void 0:i.missingInterpolationHandler)||this.options.missingInterpolationHandler,f=((p=i==null?void 0:i.interpolation)==null?void 0:p.skipOnVariables)!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:h=>yf(h)},{regex:this.regexp,safeValue:h=>this.escapeValue?yf(this.escape(h)):yf(h)}].forEach(h=>{for(a=0;o=h.regex.exec(e);){const m=o[1].trim();if(s=c(m),s===void 0)if(typeof u=="function"){const g=u(e,o,i);s=se(g)?g:""}else if(i&&Object.prototype.hasOwnProperty.call(i,m))s="";else if(f){s=o[0];continue}else this.logger.warn(`missed to pass in variable ${m} for interpolating ${e}`),s="";else!se(s)&&!this.useRawValueToEscape&&(s=T0(s));const w=h.safeValue(s);if(e=e.replace(o[0],w),f?(h.regex.lastIndex+=s.length,h.regex.lastIndex-=o[0].length):h.regex.lastIndex=0,a++,a>=this.maxReplaces)break}}),e}nest(e,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i,o,s;const a=(l,c)=>{const u=this.nestingOptionsSeparator;if(l.indexOf(u)<0)return l;const f=l.split(new RegExp(`${u}[ ]*{`));let d=`{${f[1]}`;l=f[0],d=this.interpolate(d,s);const p=d.match(/'/g),h=d.match(/"/g);(((p==null?void 0:p.length)??0)%2===0&&!h||h.length%2!==0)&&(d=d.replace(/'/g,'"'));try{s=JSON.parse(d),c&&(s={...c,...s})}catch(m){return this.logger.warn(`failed parsing options string in nesting for key ${l}`,m),`${l}${u}${d}`}return s.defaultValue&&s.defaultValue.indexOf(this.prefix)>-1&&delete s.defaultValue,l};for(;i=this.nestingRegexp.exec(e);){let l=[];s={...r},s=s.replace&&!se(s.replace)?s.replace:s,s.applyPostProcessor=!1,delete s.defaultValue;
vendor: 8,508 bytes, line 866
866let c=!1;if(i[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(i[1])){const u=i[1].split(this.formatSeparator).map(f=>f.trim());i[1]=u.shift(),l=u,c=!0}if(o=n(a.call(this,i[1].trim(),s),s),o&&i[0]===e&&!se(o))return o;se(o)||(o=T0(o)),o||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${e}`),o=""),c&&(o=l.reduce((u,f)=>this.format(u,f,r.lng,{...r,interpolationkey:i[1].trim()}),o.trim())),e=e.replace(i[0],o),this.regexp.lastIndex=0}return e}}const J3=t=>{let e=t.toLowerCase().trim();const n={};if(t.indexOf("(")>-1){const r=t.split("(");e=r[0].toLowerCase().trim();const i=r[1].substring(0,r[1].length-1);e==="currency"&&i.indexOf(":")<0?n.currency||(n.currency=i.trim()):e==="relativetime"&&i.indexOf(":")<0?n.range||(n.range=i.trim()):i.split(";").forEach(s=>{if(s){const[a,...l]=s.split(":"),c=l.join(":").trim().replace(/^'+|'+$/g,""),u=a.trim();n[u]||(n[u]=c),c==="false"&&(n[u]=!1),c==="true"&&(n[u]=!0),isNaN(c)||(n[u]=parseInt(c,10))}})}return{formatName:e,formatOptions:n}},Vi=t=>{const e={};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 a=e[s];return a||(a=t(Dc(r),i),e[s]=a),a(n)}};class Z3{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Wn.create("formatter"),this.options=e,this.formats={number:Vi((n,r)=>{const i=new Intl.NumberFormat(n,{...r});return o=>i.format(o)}),currency:Vi((n,r)=>{const i=new Intl.NumberFormat(n,{...r,style:"currency"});return o=>i.format(o)}),datetime:Vi((n,r)=>{const i=new Intl.DateTimeFormat(n,{...r});return o=>i.format(o)}),relativetime:Vi((n,r)=>{const i=new Intl.RelativeTimeFormat(n,{...r});return o=>i.format(o,r.range||"day")}),list:Vi((n,r)=>{const i=new Intl.ListFormat(n,{...r});return o=>i.format(o)})},this.init(e)}init(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=n.interpolation.formatSeparator||","}add(e,n){this.formats[e.toLowerCase().trim()]=n}addCached(e,n){this.formats[e.toLowerCase().trim()]=Vi(n)}format(e,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(a=>a.indexOf(")")>-1)){const a=o.findIndex(l=>l.indexOf(")")>-1);o[0]=[o[0],...o.splice(1,a)].join(this.formatSeparator)}return o.reduce((a,l)=>{var f;const{formatName:c,formatOptions:u}=J3(l);if(this.formats[c]){let d=a;try{const p=((f=i==null?void 0:i.formatParams)==null?void 0:f[i.interpolationkey])||{},h=p.locale||p.lng||i.locale||i.lng||r;d=this.formats[c](a,h,{...u,...i,...p})}catch(p){this.logger.warn(p)}return d}else this.logger.warn(`there was no format function for ${c}`);return a},e)}}const e4=(t,e)=>{t.pending[e]!==void 0&&(delete t.pending[e],t.pendingCount--)};class t4 extends wu{constructor(e,n,r){var o,s;let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=e,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=i,this.logger=Wn.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=[],(s=(o=this.backend)==null?void 0:o.init)==null||s.call(o,r,i.backend,i)}queueLoad(e,n,r,i){const o={},s={},a={},l={};return e.forEach(c=>{let u=!0;n.forEach(f=>{const d=`${c}|${f}`;!r.reload&&this.store.hasResourceBundle(c,f)?this.state[d]=2:this.state[d]<0||(this.state[d]===1?s[d]===void 0&&(s[d]=!0):(this.state[d]=1,u=!1,s[d]===void 0&&(s[d]=!0),o[d]===void 0&&(o[d]=!0),l[f]===void 0&&(l[f]=!0)))}),u||(a[c]=!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(a),toLoadNamespaces:Object.keys(l)}}loaded(e,n,r){const i=e.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[e]=n?-1:2,n&&r&&(this.state[e]=0);const a={};this.queue.forEach(l=>{B3(l.loaded,[o],s),e4(l,e),n&&l.errors.push(n),l.pendingCount===0&&!l.done&&(Object.keys(l.loaded).forEach(c=>{a[c]||(a[c]={});const u=l.loaded[c];u.length&&u.forEach(f=>{a[c][f]===void 0&&(a[c][f]=!0)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(l=>!l.done)}read(e,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(!e.length)return s(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:n,fcName:r,tried:i,wait:o,callback:s});return}this.readingCalls++;const a=(c,u)=>{if(this.readingCalls--,this.waitingReads.length>0){const f=this.waitingReads.shift();this.read(f.lng,f.ns,f.fcName,f.tried,f.wait,f.callback)}if(c&&u&&i<this.maxRetries){setTimeout(()=>{this.read.call(this,e,n,r,i+1,o*2,s)},o);return}s(c,u)},l=this.backend[r].bind(this.backend);if(l.length===2){try{const c=l(e,n);c&&typeof c.then=="function"?c.then(u=>a(null,u)).catch(a):a(null,c)}catch(c){a(c)}return}return l(e,n,a)}prepareLoading(e,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();se(e)&&(e=this.languageUtils.toResolveHierarchy(e)),se(n)&&(n=[n]);const o=this.queueLoad(e,n,r,i);if(!o.toLoad.length)return o.pending.length||i(),null;o.toLoad.forEach(s=>{this.loadOne(s)})}load(e,n,r){this.prepareLoading(e,n,{},r)}reload(e,n,r){this.prepareLoading(e,n,{reload:!0},r)}loadOne(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const r=e.split("|"),i=r[0],o=r[1];this.read(i,o,"read",void 0,void 0,(s,a)=>{s&&this.logger.warn(`${n}loading namespace ${o} for language ${i} failed`,s),!s&&a&&this.logger.log(`${n}loaded namespace ${o} for language ${i}`,a),this.loaded(e,s,a)})}saveMissing(e,n,r,i,o){var l,c,u,f,d;let s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},a=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if((c=(l=this.services)==null?void 0:l.utils)!=null&&c.hasLoadedNamespace&&!((f=(u=this.services)==null?void 0:u.utils)!=null&&f.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((d=this.backend)!=null&&d.create){const p={...s,isUpdate:o},h=this.backend.create.bind(this.backend);if(h.length<6)try{let m;h.length===5?m=h(e,n,r,i,p):m=h(e,n,r,i),m&&typeof m.then=="function"?m.then(w=>a(null,w)).catch(a):a(null,m)}catch(m){a(m)}else h(e,n,r,i,a,p)}!e||!e[0]||this.store.addResource(e[0],n,r,i)}}}const $0=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:t=>{let e={};if(typeof t[1]=="object"&&(e=t[1]),se(t[1])&&(e.defaultValue=t[1]),se(t[2])&&(e.tDescription=t[2]),typeof t[2]=="object"||typeof t[3]=="object"){const n=t[3]||t[2];Object.keys(n).forEach(r=>{e[r]=n[r]})}return e},interpolation:{escapeValue:!0,format:t=>t,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),B0=t=>{var e,n;return se(t.ns)&&(t.ns=[t.ns]),se(t.fallbackLng)&&(t.fallbackLng=[t.fallbackLng]),se(t.fallbackNS)&&(t.fallbackNS=[t.fallbackNS]),((n=(e=t.supp
vendor: 4,422 bytes, line 866
866ortedLngs)==null?void 0:e.indexOf)==null?void 0:n.call(e,"cimode"))<0&&(t.supportedLngs=t.supportedLngs.concat(["cimode"])),typeof t.initImmediate=="boolean"&&(t.initAsync=t.initImmediate),t},xl=()=>{},n4=t=>{Object.getOwnPropertyNames(Object.getPrototypeOf(t)).forEach(n=>{typeof t[n]=="function"&&(t[n]=t[n].bind(t))})};class ua extends wu{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=B0(e),this.services={},this.logger=Wn,this.modules={external:[]},n4(this),n&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,n),this;setTimeout(()=>{this.init(e,n)},0)}}init(){var e=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==null&&n.ns&&(se(n.ns)?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const i=$0();this.options={...i,...this.options,...B0(n)},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=u=>u?typeof u=="function"?new u:u:null;if(!this.options.isClone){this.modules.logger?Wn.init(o(this.modules.logger),this.options):Wn.init(null,this.options);let u;this.modules.formatter?u=this.modules.formatter:u=Z3;const f=new I0(this.options);this.store=new N0(this.options.resources,this.options);const d=this.services;d.logger=Wn,d.resourceStore=this.store,d.languageUtils=f,d.pluralResolver=new X3(f,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),u&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(d.formatter=o(u),d.formatter.init(d,this.options),this.options.interpolation.format=d.formatter.format.bind(d.formatter)),d.interpolator=new Q3(this.options),d.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},d.backendConnector=new t4(o(this.modules.backend),d.resourceStore,d,this.options),d.backendConnector.on("*",function(p){for(var h=arguments.length,m=new Array(h>1?h-1:0),w=1;w<h;w++)m[w-1]=arguments[w];e.emit(p,...m)}),this.modules.languageDetector&&(d.languageDetector=o(this.modules.languageDetector),d.languageDetector.init&&d.languageDetector.init(d,this.options.detection,this.options)),this.modules.i18nFormat&&(d.i18nFormat=o(this.modules.i18nFormat),d.i18nFormat.init&&d.i18nFormat.init(this)),this.translator=new jc(this.services,this.options),this.translator.on("*",function(p){for(var h=arguments.length,m=new Array(h>1?h-1:0),w=1;w<h;w++)m[w-1]=arguments[w];e.emit(p,...m)}),this.modules.external.forEach(p=>{p.init&&p.init(this)})}if(this.format=this.options.interpolation.format,r||(r=xl),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const u=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);u.length>0&&u[0]!=="dev"&&(this.options.lng=u[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(u=>{this[u]=function(){return e.store[u](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(u=>{this[u]=function(){return e.store[u](...arguments),e}});const l=rs(),c=()=>{const u=(f,d)=>{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),l.resolve(d),r(f,d)};if(this.languages&&!this.isInitialized)return u(null,this.t.bind(this));this.changeLanguage(this.options.lng,u)};return this.options.resources||!this.options.initAsync?c():setTimeout(c,0),l}loadResources(e){var o,s;let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:xl;const i=se(e)?e:this.language;if(typeof e=="function"&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if((i==null?void 0:i.toLowerCase())==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const a=[],l=c=>{if(!c||c==="cimode")return;
vendor: 3,897 bytes, line 866
866this.services.languageUtils.toResolveHierarchy(c).forEach(f=>{f!=="cimode"&&a.indexOf(f)<0&&a.push(f)})};i?l(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(u=>l(u)),(s=(o=this.options.preload)==null?void 0:o.forEach)==null||s.call(o,c=>l(c)),this.services.backendConnector.load(a,this.options.ns,c=>{!c&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(c)})}else r(null)}reloadResources(e,n,r){const i=rs();return typeof e=="function"&&(r=e,e=void 0),typeof n=="function"&&(r=n,n=void 0),e||(e=this.languages),n||(n=this.options.ns),r||(r=xl),this.services.backendConnector.reload(e,n,o=>{i.resolve(),r(o)}),i}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return e.type==="backend"&&(this.modules.backend=e),(e.type==="logger"||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type==="languageDetector"&&(this.modules.languageDetector=e),e.type==="i18nFormat"&&(this.modules.i18nFormat=e),e.type==="postProcessor"&&Nw.addPostProcessor(e),e.type==="formatter"&&(this.modules.formatter=e),e.type==="3rdParty"&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!(["cimode","dev"].indexOf(e)>-1))for(let n=0;n<this.languages.length;n++){const r=this.languages[n];if(!(["cimode","dev"].indexOf(r)>-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(e,n){var r=this;this.isLanguageChangingTo=e;const i=rs();this.emit("languageChanging",e);const o=l=>{this.language=l,this.languages=this.services.languageUtils.toResolveHierarchy(l),this.resolvedLanguage=void 0,this.setResolvedLanguage(l)},s=(l,c)=>{c?(o(c),this.translator.changeLanguage(c),this.isLanguageChangingTo=void 0,this.emit("languageChanged",c),this.logger.log("languageChanged",c)):this.isLanguageChangingTo=void 0,i.resolve(function(){return r.t(...arguments)}),n&&n(l,function(){return r.t(...arguments)})},a=l=>{var u,f;!e&&!l&&this.services.languageDetector&&(l=[]);const c=se(l)?l:this.services.languageUtils.getBestMatchFromCodes(l);c&&(this.language||o(c),this.translator.language||this.translator.changeLanguage(c),(f=(u=this.services.languageDetector)==null?void 0:u.cacheUserLanguage)==null||f.call(u,c)),this.loadResources(c,d=>{s(d,c)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?a(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e),i}getFixedT(e,n,r){var i=this;const o=function(s,a){let l;if(typeof a!="object"){for(var c=arguments.length,u=new Array(c>2?c-2:0),f=2;f<c;f++)u[f-2]=arguments[f];l=i.options.overloadTranslationOptionHandler([s,a].concat(u))}else l={...a};l.lng=l.lng||o.lng,l.lngs=l.lngs||o.lngs,l.ns=l.ns||o.ns,l.keyPrefix!==""&&(l.keyPrefix=l.keyPrefix||r||o.keyPrefix);const d=i.options.keySeparator||".";let p;return l.keyPrefix&&Array.isArray(s)?p=s.map(h=>`${l.keyPrefix}${d}${h}`):p=l.keyPrefix?`${l.keyPrefix}${d}${s}`:s,i.t(p,l)};return se(e)?o.lng=e:o.lngs=e,o.ns=n,o.keyPrefix=r,o}t(){var i;for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(i=this.translator)==null?void 0:i.translate(...n)}exists(){var i;for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(i=this.translator)==null?void 0:i.exists(...n)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){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;
866if(!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=(a,l)=>{const c=this.services.backendConnector.state[`${a}|${l}`];return c===-1||c===0||c===2};if(n.precheck){const a=n.precheck(this,s);if(a!==void 0)return a}return!!(this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||s(r,e)&&(!i||s(o,e)))}loadNamespaces(e,n){const r=rs();return this.options.ns?(se(e)&&(e=[e]),e.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(e,n){const r=rs();se(e)&&(e=[e]);const i=this.options.preload||[],o=e.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(e){var i,o;if(e||(e=this.resolvedLanguage||(((i=this.languages)==null?void 0:i.length)>0?this.languages[0]:this.language)),!e)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=((o=this.services)==null?void 0:o.languageUtils)||new I0($0());return n.indexOf(r.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new ua(e,n)}cloneInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:xl;const r=e.forkResourceStore;r&&delete e.forkResourceStore;const i={...this.options,...e,isClone:!0},o=new ua(i);if((e.debug!==void 0||e.prefix!==void 0)&&(o.logger=o.logger.clone(e)),["store","services","language"].forEach(a=>{o[a]=this[a]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},r){const a=Object.keys(this.store.data).reduce((l,c)=>(l[c]={...this.store.data[c]},Object.keys(l[c]).reduce((u,f)=>(u[f]={...l[c][f]},u),{})),{});o.store=new N0(a,i),o.services.resourceStore=o.store}return o.translator=new jc(o.services,i),o.translator.on("*",function(a){for(var l=arguments.length,c=new Array(l>1?l-1:0),u=1;u<l;u++)c[u-1]=arguments[u];o.emit(a,...c)}),o.init(i,n),o.translator.options=i,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const _t=ua.createInstance();_t.createInstance=ua.createInstance;_t.createInstance;_t.dir;_t.init;_t.loadResources;_t.reloadResources;_t.use;_t.changeLanguage;_t.getFixedT;_t.t;_t.exists;_t.setDefaultNamespace;_t.hasLoadedNamespace;_t.loadNamespaces;_t.loadLanguages;const{slice:r4,forEach:i4}=[];function o4(t){return i4.call(r4.call(arguments,1),e=>{if(e)for(const n in e)t[n]===void 0&&(t[n]=e[n])}),t}const H0=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,s4=function(t,e){const r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{path:"/"},i=encodeURIComponent(e);let o=`${t}=${i}`;if(r.maxAge>0){const s=r.maxAge-0;if(Number.isNaN(s))throw new Error("maxAge should be a Number");o+=`; Max-Age=${Math.floor(s)}`}if(r.domain){if(!H0.test(r.domain))throw new TypeError("option domain is invalid");o+=`; Domain=${r.domain}`}if(r.path){if(!H0.test(r.path))throw new TypeError("option path is invalid");o+=`; Path=${r.path}`}if(r.expires){if(typeof r.expires.toUTCString!="function")throw new TypeError("option expires is invali
866d");o+=`; Expires=${r.expires.toUTCString()}`}if(r.httpOnly&&(o+="; HttpOnly"),r.secure&&(o+="; Secure"),r.sameSite)switch(typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite){case!0:o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"strict":o+="; SameSite=Strict";break;case"none":o+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return o},U0={create(t,e,n,r){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};n&&(i.expires=new Date,i.expires.setTime(i.expires.getTime()+n*60*1e3)),r&&(i.domain=r),document.cookie=s4(t,encodeURIComponent(e),i)},read(t){const e=`${t}=`,n=document.cookie.split(";");for(let r=0;r<n.length;r++){let i=n[r];for(;i.charAt(0)===" ";)i=i.substring(1,i.length);if(i.indexOf(e)===0)return i.substring(e.length,i.length)}return null},remove(t){this.create(t,"",-1)}};var a4={name:"cookie",lookup(t){let{lookupCookie:e}=t;if(e&&typeof document<"u")return U0.read(e)||void 0},cacheUserLanguage(t,e){let{lookupCookie:n,cookieMinutes:r,cookieDomain:i,cookieOptions:o}=e;n&&typeof document<"u"&&U0.create(n,t,r,i,o)}},l4={name:"querystring",lookup(t){var r;let{lookupQuerystring:e}=t,n;if(typeof window<"u"){let{search:i}=window.location;!window.location.search&&((r=window.location.hash)==null?void 0:r.indexOf("?"))>-1&&(i=window.location.hash.substring(window.location.hash.indexOf("?")));const s=i.substring(1).split("&");for(let a=0;a<s.length;a++){const l=s[a].indexOf("=");l>0&&s[a].substring(0,l)===e&&(n=s[a].substring(l+1))}}return n}};let Wi=null;const V0=()=>{if(Wi!==null)return Wi;try{if(Wi=typeof window<"u"&&window.localStorage!==null,!Wi)return!1;const t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{Wi=!1}return Wi};var c4={name:"localStorage",lookup(t){let{lookupLocalStorage:e}=t;if(e&&V0())return window.localStorage.getItem(e)||void 0},cacheUserLanguage(t,e){let{lookupLocalStorage:n}=e;n&&V0()&&window.localStorage.setItem(n,t)}};let Ki=null;const W0=()=>{if(Ki!==null)return Ki;try{if(Ki=typeof window<"u"&&window.sessionStorage!==null,!Ki)return!1;const t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{Ki=!1}return Ki};var u4={name:"sessionStorage",lookup(t){let{lookupSessionStorage:e}=t;if(e&&W0())return window.sessionStorage.getItem(e)||void 0},cacheUserLanguage(t,e){let{lookupSessionStorage:n}=e;n&&W0()&&window.sessionStorage.setItem(n,t)}},f4={name:"navigator",lookup(t){const e=[];if(typeof navigator<"u"){const{languages:n,userLanguage:r,language:i}=navigator;if(n)for(let o=0;o<n.length;o++)e.push(n[o]);r&&e.push(r),i&&e.push(i)}return e.length>0?e:void 0}},d4={name:"htmlTag",lookup(t){let{htmlTag:e}=t,n;const r=e||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(n=r.getAttribute("lang")),n}},h4={name:"path",lookup(t){var i;let{lookupFromPathIndex:e}=t;if(typeof window>"u")return;const n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);return Array.isArray(n)?(i=n[typeof e=="number"?e:0])==null?void 0:i.replace("/",""):void 0}},p4={name:"subdomain",lookup(t){var i,o;let{lookupFromSubdomainIndex:e}=t;const n=typeof e=="number"?e+1:1,r=typeof window<"u"&&((o=(i=window.location)==null?void 0:i.hostname)==null?void 0:o.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i));if(r)return r[n]}};let Mw=!1;try{document.cookie,Mw=!0}catch{}const Dw=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];Mw||Dw.splice(1,1);const m4=()=>({order:Dw,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:t=>t});class Iw{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(e,n)}init(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{languageUtils:{}},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=e,this.options=o4(n,this.options||{},m4()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=i=>i.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=r,this.addDetector(a4),this.addDetector(l4),this.addDetector(c4),this.addDetector(u4),this.addDetector(f4),this.addDetector(d4),this.addDetector(h4),this.addDetector(p4)}addDetector(e){return this.detectors[e.name]=e,this}detect(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.order,n=[];return e.forEach(r=>{if(this.detectors[r]){let i=this.detectors[r].lookup(this.options);i&&typeof i=="string"&&(i=[i]),i&&(n=n.concat(i))}}),n=n.map(r=>this.options.convertDetectedLanguage(r)),this.services&&this.services.languageUtils&&this.services.languageUtils.getBestMatchFromCodes?n:n.length>0?n[0]:null}
866cacheUserLanguage(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.options.caches;n&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||n.forEach(r=>{this.detectors[r]&&this.detectors[r].cacheUserLanguage(e,this.options)}))}}Iw.type="languageDetector";const g4={home:"Home",topAfrica:"Top Africa",pageViews:"Page Views",subtitle:"- most visited articles by country"},y4={title:"Most Visited Articles",description:"Discover the most visited articles across different regions",searchPlaceholder:"Search articles..."},v4={title:"Top Articles in Africa",description:"Most visited articles in African countries"},x4={title:"Article Page Views",description:"Track and analyze article page views",selectCountry:"Select Country",selectArticle:"Select Article",selectInterval:"Select Interval",viewGraph:"View Graph"},b4={loading:"Loading...",error:"Error",noData:"No data available",help:"Help",documentation:"Documentation",viewSource:"View source code",reportIssue:"Report an issue",feedback:"Feedback",developedBy:"Developed by Kali Academy",kaliAcademy:"Kali Academy",export:"Export",exportToCSV:"Export to CSV",exportToJSON:"Export to JSON",permanentLink:"Permanent Link",linkCopied:"Link copied to clipboard!",requestTimeout:"Request timed out. Please try again.",noResultsForFilters:"No results found for the selected filters."},w4={description:"Description",noDescription:"No description available",country:"Country",notAvailable:"N/A",project:"Project",rank:"Rank",views:"Views",editors:"Editors",notFound:"Not found",readArticle:"Read article"},k4={fillForm:"Please fill out the form to get the desired articles",date:"Date",platform:"Platform",allAccess:"All Access",desktop:"Desktop",mobileApp:"Mobile App",mobileWeb:"Mobile Web",sending:"Sending...",submit:"Submit",continent:"Continent",country:"Country",countryRequired:"Country is required",dateRequired:"Date is required",errorLocation:"Error fetching location data",errorGeolocation:"Error getting geolocation",geolocationNotSupported:"Geolocation is not supported by this browser"},S4={rank:"Rank",country:"Country",articles:"Articles",project:"Project",views:"Views"},_4={documentation:"Documentation",viewSource:"View source",reportIssue:"Report an issue",feedback:"Feedback",developedBy:"Developed by Kali Academy",kaliAcademy:"Kali Academy"},C4={eventRequired:"You need an event on this button",textRequired:"You have to add a prop 'text'"},E4={nav:g4,home:y4,topAfrica:v4,pageViews:x4,common:b4,article:w4,form:k4,table:S4,footer:_4,button:C4},P4={home:"Accueil",topAfrica:"Top Afrique",pageViews:"Vues de Pages",subtitle:"- articles les plus visités par pays"},A4={title:"Articles les Plus Visités",description:"Découvrez les articles les plus visités dans différentes régions",searchPlaceholder:"Rechercher des articles..."},T4={title:"Articles en Vedette en Afrique",description:"Articles les plus visités dans les pays africains"},O4={title:"Vues de Pages d'Articles",description:"Suivez et analysez les vues de pages d'articles",selectCountry:"Sélectionner le Pays",selectArticle:"Sélectionner l'Article",selectInterval:"Sélectionner l'Intervalle",viewGraph:"Voir le Graphique"},L4={loading:"Chargement...",error:"Erreur",noData:"Aucune donnée disponible",help:"Aide",documentation:"Documentation",viewSource:"Voir le code source",reportIssue:"Signaler un problème",feedback:"Retour d'expérience",developedBy:"Développé par Kali Academy",kaliAcademy:"Kali Academy",export:"Exporter",exportToCSV:"Exporter en CSV",exportToJSON:"Exporter en JSON",permanentLink:"Lien permanent",linkCopied:"Lien copié dans le presse-papiers !",requestTimeout:"La requête a expiré. Veuillez réessayer.",noResultsForFilters:"Aucun résultat trouvé pour les filtres sélectionnés."},R4={description:"Description",noDescription:"Aucune description disponible",country:"Pays",notAvailable:"N/A",project:"Projet",rank:"Rang",views:"Vues",editors:"Éditeurs",notFound:"Non trouvé",readArticle:"Lire l'article"},N4={fillForm:"Veuillez remplir le formulaire pour obtenir les articles souhaités",date:"Date",platform:"Plateforme",allAccess:"Tous les accès",desktop:"Ordinateur",mobileAp
866p:"Application mobile",mobileWeb:"Web mobile",sending:"Envoi en cours...",submit:"Envoyer",continent:"Continent",country:"Pays",countryRequired:"Le pays est requis",dateRequired:"La date est requise",errorLocation:"Erreur lors de la récupération des données de localisation",errorGeolocation:"Erreur lors de l'obtention de la géolocalisation",geolocationNotSupported:"La géolocalisation n'est pas prise en charge par ce navigateur"},M4={rank:"Rang",country:"Pays",articles:"Articles",project:"Projet",views:"Vues"},D4={documentation:"Documentation",viewSource:"Voir le code source",reportIssue:"Signaler un problème",feedback:"Retour d'expérience",developedBy:"Développé par Kali Academy",kaliAcademy:"Kali Academy"},I4={eventRequired:"Vous devez ajouter un événement à ce bouton",textRequired:"Vous devez ajouter une prop 'text'"},j4={nav:P4,home:A4,topAfrica:T4,pageViews:O4,common:L4,article:R4,form:N4,table:M4,footer:D4,button:I4},F4={home:"Inicio",topAfrica:"Top África",pageViews:"Vistas de Páginas",subtitle:"- artículos más visitados por país"},z4={title:"Artículos Más Visitados",description:"Descubre los artículos más visitados en diferentes regiones",searchPlaceholder:"Buscar artículos..."},$4={title:"Artículos Destacados en África",description:"Artículos más visitados en países africanos"},B4={title:"Vistas de Páginas de Artículos",description:"Seguimiento y análisis de vistas de páginas de artículos",selectCountry:"Seleccionar País",selectArticle:"Seleccionar Artículo",selectInterval:"Seleccionar Intervalo",viewGraph:"Ver Gráfico"},H4={loading:"Cargando...",error:"Error",noData:"No hay datos disponibles",help:"Ayuda",documentation:"Documentación",viewSource:"Ver código fuente",reportIssue:"Reportar un problema",feedback:"Comentarios",developedBy:"Desarrollado por Kali Academy",kaliAcademy:"Kali Academy",export:"Exportar",exportToCSV:"Exportar a CSV",exportToJSON:"Exportar a JSON",permanentLink:"Enlace permanente",linkCopied:"¡Enlace copiado al portapapeles!",requestTimeout:"La solicitud ha expirado. Por favor, inténtelo de nuevo.",noResultsForFilters:"Ningún resultado encontrado para los filtros seleccionados."},U4={description:"Descripción",noDescription:"Sin descripción disponible",country:"País",notAvailable:"N/A",project:"Proyecto",rank:"Rango",views:"Vistas",editors:"Editores",notFound:"No encontrado",readArticle:"Leer artículo"},V4={fillForm:"Por favor, complete el formulario para obtener los artículos deseados",date:"Fecha",platform:"Plataforma",allAccess:"Todos los accesos",desktop:"Escritorio",mobileApp:"Aplicación móvil",mobileWeb:"Web móvil",sending:"Enviando...",submit:"Enviar",continent:"Continente",country:"País",countryRequired:"El país es requerido",dateRequired:"La fecha es requerida",errorLocation:"Error al obtener datos de ubicación",errorGeolocation:"Error al obtener la geolocalización",geolocationNotSupported:"La geolocalización no es compatible con este navegador"},W4={rank:"Rango",country:"País",articles:"Artículos",project:"Proyecto",views:"Vistas"},K4={documentation:"Documentación",viewSource:"Ver código fuente",reportIssue:"Reportar un problema",feedback:"Comentarios",developedBy:"Desarrollado por Kali Academy",kaliAcademy:"Kali Academy"},Y4={eventRequired:"Necesitas un evento en este botón",textRequired:"Debes agregar una prop 'text'"},q4={nav:F4,home:z4,topAfrica:$4,pageViews:B4,common:H4,article:U4,form:V4,table:W4,footer:K4,button:Y4},G4={home:"Startseite",topAfrica:"Top Afrika",pageViews:"Seitenaufrufe",subtitle:"- meistbesuchte Artikel nach Land"},X4={title:"Meistbesuchte Artikel",description:"Entdecken Sie die meistbesuchten Artikel in verschiedenen Regionen",searchPlaceholder:"Artikel suchen..."},Q4={title:"Top-Artikel in Afrika",description:"Meistbesuchte Artikel in afrikanischen Ländern"},J4={title:"Artikel-Seitenaufrufe",description:"Verfolgen und analysieren Sie Artikel-Seitenaufrufe",selectCountry:"Land auswählen",selectArticle:"Artikel auswählen",selectInterval:"Intervall auswählen",viewGraph:"Grafik anzeigen"},Z4={loading:"Laden...",error:"Fehler",noData:"Keine Daten verfügbar",help:"Hilfe",documentation:"Dokumentation",viewSource:"Quellcode anzeigen",reportIssue:"Problem melden",feedback:"Feedback",developedBy:"Entwickelt von Kali Academy",kaliAcademy:"Kali Academy",export:"Exportieren",exportToCSV:"Als CSV exportieren",exportToJSON:"Als JSON exportieren",permanentLink:"Permanenter Link",linkCopied:"Link in die Zwischenablage kopiert!",requestTimeout:"Die Anfrage ist abgelaufen. Bitte versuchen Sie es erneut."},eN={description:"Beschreibung",noDescription:"Keine Beschreibung verfügbar",country:"Land",notAvailable:"N/A",project:"Projekt",rank:"Rang",views:"Aufrufe",editors:"Bearbeiter",notFound:"Nicht gefunden",readArticle:"Artikel lesen"},tN={fillForm:"Bitte füllen Sie das Formular aus, um die gewünschten Artikel zu erhalten",date:"Datum",platform:"Plattform",allAccess:"Alle Zugriffe",desktop:"Desktop",mobileAp
866p:"Mobile App",mobileWeb:"Mobiles Web",sending:"Wird gesendet...",submit:"Absenden",continent:"Kontinent",country:"Land",countryRequired:"Land ist erforderlich",dateRequired:"Datum ist erforderlich",errorLocation:"Fehler beim Abrufen der Standortdaten",errorGeolocation:"Fehler beim Abrufen der Geolokation",geolocationNotSupported:"Geolokation wird von diesem Browser nicht unterstützt"},nN={rank:"Rang",country:"Land",articles:"Artikel",project:"Projekt",views:"Aufrufe"},rN={documentation:"Dokumentation",viewSource:"Quellcode anzeigen",reportIssue:"Problem melden",feedback:"Feedback",developedBy:"Entwickelt von Kali Academy",kaliAcademy:"Kali Academy"},iN={eventRequired:"Sie benötigen ein Event für diesen Button",textRequired:"Sie müssen eine 'text' Prop hinzufügen"},oN={nav:G4,home:X4,topAfrica:Q4,pageViews:J4,common:Z4,article:eN,form:tN,table:nN,footer:rN,button:iN},sN={home:"Home",topAfrica:"Top Africa",pageViews:"Visualizzazioni Pagine",subtitle:"- articoli più visitati per paese"},aN={title:"Articoli Più Visitati",description:"Scopri gli articoli più visitati in diverse regioni",searchPlaceholder:"Cerca articoli..."},lN={title:"Articoli Principali in Africa",description:"Articoli più visitati nei paesi africani"},cN={title:"Visualizzazioni Pagine Articoli",description:"Monitora e analizza le visualizzazioni delle pagine degli articoli",selectCountry:"Seleziona Paese",selectArticle:"Seleziona Articolo",selectInterval:"Seleziona Intervallo",viewGraph:"Visualizza Grafico"},uN={loading:"Caricamento...",error:"Errore",noData:"Nessun dato disponibile",help:"Aiuto",documentation:"Documentazione",viewSource:"Visualizza codice sorgente",reportIssue:"Segnala un problema",feedback:"Feedback",developedBy:"Sviluppato da Kali Academy",kaliAcademy:"Kali Academy",export:"Esporta",exportToCSV:"Esporta in CSV",exportToJSON:"Esporta in JSON",permanentLink:"Link permanente",linkCopied:"Link copiato negli appunti!",requestTimeout:"La richiesta è scaduta. Riprova."},fN={description:"Descrizione",noDescription:"Nessuna descrizione disponibile",country:"Paese",notAvailable:"N/A",project:"Progetto",rank:"Posizione",views:"Visualizzazioni",editors:"Editori",notFound:"Non trovato",readArticle:"Leggi articolo"},dN={fillForm:"Compila il form per ottenere gli articoli desiderati",date:"Data",platform:"Piattaforma",allAccess:"Tutti gli accessi",desktop:"Desktop",mobileApp:"App mobile",mobileWeb:"Web mobile",sending:"Invio in corso...",submit:"Invia",continent:"Continente",country:"Paese",countryRequired:"Il paese è obbligatorio",dateRequired:"La data è obbligatoria",errorLocation:"Errore nel recupero dei dati di localizzazione",errorGeolocation:"Errore nel recupero della geolocalizzazione",geolocationNotSupported:"La geolocalizzazione non è supportata da questo browser"},hN={rank:"Posizione",country:"Paese",articles:"Articoli",project:"Progetto",views:"Visualizzazioni"},pN={documentation:"Documentazione",viewSource:"Visualizza codice sorgente",reportIssue:"Segnala un problema",feedback:"Feedback",developedBy:"Sviluppato da Kali Academy",kaliAcademy:"Kali Academy"},mN={eventRequired:"Hai bisogno di un evento su questo pulsante",textRequired:"Devi aggiungere una prop 'text'"},gN={nav:sN,home:aN,topAfrica:lN,pageViews:cN,common:uN,article:fN,form:dN,table:hN,footer:pN,button:mN},yN={home:"Início",topAfrica:"Top África",pageViews:"Visualizações de Páginas",subtitle:"- artigos mais visitados por país"},vN={title:"Artigos Mais Visitados",description:"Descubra os artigos mais visitados em diferentes regiões",searchPlaceholder:"Pesquisar artigos..."},xN={title:"Artigos em Destaque na África",description:"Artigos mais visitados em países africanos"},bN={title:"Visualizações de Páginas de Artigos",description:"Acompanhe e analise as visualizações de páginas de artigos",selectCountry:"Selecionar País",selectArticle:"Selecionar Artigo",selectInterval:"Selecionar Intervalo",viewGraph:"Ver Gráfico"},wN={loading:"Carregando...",error:"Erro",noData:"Nenhum dado disponível",help:"Ajuda",documentation:"Documentação",viewSource:"Ver código fonte",reportIssue:"Reportar um problema",feedback:"Feedback",developedBy:"Desenvolvido por Kali Academy",kaliAcademy:"Kali Academy",export:"Exportar",exportToCSV:"Exportar para CSV",exportToJSON:"Exportar para JSON",permanentLink:"Link permanente",linkCopied:"Link copiado para a área de transferência!",requestTimeout:"A solicitação expirou. Por favor, tente novamente."},kN={description:"Descrição",noDescription:"Sem descrição disponível",country:"Paí
866s",notAvailable:"N/A",project:"Projeto",rank:"Posição",views:"Visualizações",editors:"Editores",notFound:"Não encontrado",readArticle:"Ler artigo"},SN={fillForm:"Por favor, preencha o formulário para obter os artigos desejados",date:"Data",platform:"Plataforma",allAccess:"Todos os acessos",desktop:"Desktop",mobileApp:"Aplicativo móvel",mobileWeb:"Web móvel",sending:"Enviando...",submit:"Enviar",continent:"Continente",country:"País",countryRequired:"O país é obrigatório",dateRequired:"A data é obrigatória",errorLocation:"Erro ao obter dados de localização",errorGeolocation:"Erro ao obter geolocalização",geolocationNotSupported:"Geolocalização não é suportada por este navegador"},_N={rank:"Posição",country:"País",articles:"Artigos",project:"Projeto",views:"Visualizações"},CN={documentation:"Documentação",viewSource:"Ver código fonte",reportIssue:"Reportar um problema",feedback:"Feedback",developedBy:"Desenvolvido por Kali Academy",kaliAcademy:"Kali Academy"},EN={eventRequired:"Você precisa de um evento neste botão",textRequired:"Você precisa adicionar uma prop 'text'"},PN={nav:yN,home:vN,topAfrica:xN,pageViews:bN,common:wN,article:kN,form:SN,table:_N,footer:CN,button:EN},AN={home:"Главная",topAfrica:"Топ Африки",pageViews:"Просмотры Страниц",subtitle:"- самые посещаемые статьи по странам"},TN={title:"Самые Посещаемые Статьи",description:"Откройте для себя самые посещаемые статьи в разных регионах",searchPlaceholder:"Поиск статей..."},ON={title:"Лучшие Статьи в Африке",description:"Самые посещаемые статьи в африканских странах"},LN={title:"Просмотры Страниц Статей",description:"Отслеживайте и анализируйте просмотры страниц статей",selectCountry:"Выберите Страну",selectArticle:"Выберите Статью",selectInterval:"Выберите Интервал",viewGraph:"Показать График"},RN={loading:"Загрузка...",error:"Ошибка",noData:"Нет доступных данных",help:"Помощь",documentation:"Документация",viewSource:"Просмотр исходного кода",reportIssue:"Сообщить о проблеме",feedback:"Обратная связь",developedBy:"Разработано Kali Academy",kaliAcademy:"Kali Academy",export:"Экспорт",exportToCSV:"Экспорт в CSV",exportToJSON:"Экспорт в JSON",permanentLink:"Постоянная ссылка",linkCopied:"Ссылка скопирована в буфер обмена!",requestTimeout:"Время запроса истекло. Пожалуйста, попробуйте снова."},NN={description:"Описание",noDescription:"Нет доступного описания",country:"Страна",notAvailable:"Н/Д",project:"Проект",rank:"Ранг",views:"Просмотры",editors:"Редакторы",notFound:"Не найдено",readArticle:"Читать статью"},MN={fillForm:"Пожалуйста, заполните форму для получения желаемых статей",date:"Дата",platform:"Платформа",allAccess:"Все доступы",desktop:"Десктоп",mobileApp:"Мобильное приложение",mobileWeb:"Мобильный веб",sending:"Отправка...",submit:"Отправить",continent:"Континент",country:"Страна",countryRequired:"Страна обязательна",dateRequired:"Дата обязательна",errorLocation:"Ошибка при получении данных о местоположении",errorGeolocation:"Ошибка при получении геолокации",geolocationNotSupported:"Геолокация не поддерживается этим браузером"},DN={rank:"Ранг",country:"Страна",articles:"Статьи",project:"Проект",views:"Просмотры"},IN={documentation:"Документация",viewSource:"Просмотр исходного кода",reportIssue:"Сообщить о проблеме",feedback:"Обратная связь",developedBy:"Разработано Kali Academy",kaliAcademy:"Kali Academy"},jN={eventRequired:"Вам нужен обработчик события для этой кнопки",textRequired:"Вы должны добавить свойство 'text'"},FN={nav:AN,home:TN,topAfrica:ON,pageViews:LN,common:RN,article:NN,form:MN,table:DN,footer:IN,button:jN},zN={home:"ホーム",topAfrica:"アフリカトップ",pageViews:"ページビュー",subt
866itle:"- 国別の最も訪問された記事"},$N={title:"最も訪問された記事",description:"様々な地域で最も訪問された記事を発見",searchPlaceholder:"記事を検索..."},BN={title:"アフリカのトップ記事",description:"アフリカ諸国で最も訪問された記事"},HN={title:"記事ページビュー",description:"記事ページの閲覧を追跡・分析",selectCountry:"国を選択",selectArticle:"記事を選択",selectInterval:"間隔を選択",viewGraph:"グラフを表示"},UN={loading:"読み込み中...",error:"エラー",noData:"データがありません",help:"ヘルプ",documentation:"ドキュメント",viewSource:"ソースコードを表示",reportIssue:"問題を報告",feedback:"フィードバック",developedBy:"Kali Academy 開発",kaliAcademy:"Kali Academy",export:"エクスポート",exportToCSV:"CSVにエクスポート",exportToJSON:"JSONにエクスポート",permanentLink:"永続リンク",linkCopied:"リンクをクリップボードにコピーしました!",requestTimeout:"リクエストがタイムアウトしました。もう一度お試しください。"},VN={description:"説明",noDescription:"説明がありません",country:"国",notAvailable:"利用不可",project:"プロジェクト",rank:"ランク",views:"閲覧数",editors:"編集者",notFound:"見つかりません",readArticle:"記事を読む"},WN={fillForm:"必要な記事を取得するにはフォームに記入してください",date:"日付",platform:"プラットフォーム",allAccess:"すべてのアクセス",desktop:"デスクトップ",mobileApp:"モバイルアプリ",mobileWeb:"モバイルウェブ",sending:"送信中...",submit:"送信",continent:"大陸",country:"国",countryRequired:"国は必須です",dateRequired:"日付は必須です",errorLocation:"位置情報の取得中にエラーが発生しました",errorGeolocation:"位置情報の取得中にエラーが発生しました",geolocationNotSupported:"このブラウザは位置情報をサポートしていません"},KN={rank:"ランク",country:"国",articles:"記事",project:"プロジェクト",views:"閲覧数"},YN={documentation:"ドキュメント",viewSource:"ソースコードを表示",reportIssue:"問題を報告",feedback:"フィードバック",developedBy:"Kali Academy 開発",kaliAcademy:"Kali Academy"},qN={eventRequired:"このボタンにはイベントが必要です",textRequired:"'text' プロパティを追加する必要があります"},GN={nav:zN,home:$N,topAfrica:BN,pageViews:HN,common:UN,article:VN,form:WN,table:KN,footer:YN,button:qN},XN={home:"首页",topAfrica:"非洲热门",pageViews:"页面浏览量",subtitle:"- 按国家的最受欢迎文章"},QN={title:"最受欢迎文章",description:"发现不同地区最受欢迎的文章",searchPlaceholder:"搜索文章..."},JN={title:"非洲热门文章",description:"非洲国家最受欢迎的文章"},ZN={title:"文章页面浏览量",description:"跟踪和分析文章页面浏览量",selectCountry:"选择国家",selectArticle:"选择文章",selectInterval:"选择时间间隔",viewGraph:"查看图表"},eM={loading:"加载中...",error:"错误",noData:"暂无数据",help:"帮助",documentation:"文档",viewSource:"查看源代码",reportIssue:"报告问题",feedback:"反馈",developedBy:"由 Kali Academy 开发",kaliAcademy:"Kali Academy",export:"导出",exportToCSV:"导出为 CSV",exportToJSON:"导出为 JSON",permanentLink:"永久链接",linkCopied:"链接已复制到剪贴板!",requestTimeout:"请求超时。请重试。"},tM={description:"描述",noDescription:"暂无描述",country:"国家",notAvailable:"不可用",project:"项目",rank:"排名",views:"浏览量",editors:"编辑者",notFound:"未找到",readArticle:"阅读文章"},nM={fillForm:"请填写表单以获取所需文章",date:"日期",platform:"平台",allAccess:"所有访问",desktop:"桌面版",mobileApp:"移动应用",mobileWeb:"移动网页",sending:"发送中...",submit:"提交",continent:"大洲",country:"国家",countryRequired:"国家为必填项",dateRequired:"日期为必填项",errorLocation:"获取位置数据时出错",errorGeolocation:"获取地理位置时出错",geolocationNotSupported:"此浏览器不支持地理位置"},rM={rank:"排名",country:"国家",articles:"文章",project:"项目",views:"浏览量"},iM={documentation:"文档",viewSource:"查看源代码",reportIssue:"报告问题",feedback:"反馈",developedBy:"由 Kali Academy 开发",kaliAcademy:"Kali Academy"},oM={eventRequired:"此按钮需要一个事件处理程序",textRequired:"您需要添加 'text' 属性"},sM={nav:XN,home:QN,topAfrica:JN,pageViews:ZN,common:eM,article:tM,form:nM,table:rM,footer:iM,button:oM},aM={home:"الرئيسية",topAfrica:"أعلى أفريقيا",pageViews:"عرض الصفحات",subtitle:"- المقالات الأكثر زيارة حسب البلد"},lM={title:"المقالات الأكثر زيارة",description:"اكتشف المقالات الأكثر زيارة في مناطق مختلفة",searchPlaceholder:"البحث عن المقالات..."},cM={title:"أعلى المقالات في أفريقيا",description:"المقالات الأكثر زيارة في الدول الأفريقية"},uM={title:"عرض صفحات المقالات",description:"تتبع وتحليل عرض صفحات المقالات",selectCountry:"اختر الدولة",selectArticle:"اختر المقال",selectInterval:"اختر الفاصل الزمني",viewGraph:"عرض الرسم البياني"},fM={loading:"جاري التحميل...",error:"خطأ",noData:"لا توجد بيانات متاحة",help:"مساعدة",documentation:"التوثيق",viewSource:"عرض الكود المصدري",reportIssue:"الإبلاغ عن مشكلة",feedback:"التغذية الراجعة",developedBy:"تم التطوير بواسطة Kali Academy",kaliAcademy:"Kali Academy",export:"تصدير",exportToCSV:"تصدير إلى CSV",exportToJSON:"تصدير إلى JSON",permanentLink:"رابط دائم",linkCopied:"تم نسخ الرابط إلى الحافظة!",requestTimeout:"انتهت مهلة الطلب. يرجى المحاولة مرة أخرى."},dM={description:"الوصف",noDescription:"لا يوجد وصف متاح",country:"الدولة",notAvailable:"غير متوفر",project:"المشروع",rank:"الترتيب",views:"المشاهدات",editors:"المحررون",notFound:"غير موجود",readArticle:"قراءة المقال"},hM={fillForm:"يرجى ملء النموذج للحصول على المقالات المطلوبة",date:"التاريخ",platform:"المنصة",allAccess:"جميع الوصول",desktop:"سطح المكتب",mobileAp
866p:"تطبيق الجوال",mobileWeb:"ويب الجوال",sending:"جاري الإرسال...",submit:"إرسال",continent:"القارة",country:"الدولة",countryRequired:"الدولة مطلوبة",dateRequired:"التاريخ مطلوب",errorLocation:"خطأ في جلب بيانات الموقع",errorGeolocation:"خطأ في الحصول على الموقع الجغرافي",geolocationNotSupported:"الموقع الجغرافي غير مدعوم في هذا المتصفح"},pM={rank:"الترتيب",country:"الدولة",articles:"المقالات",project:"المشروع",views:"المشاهدات"},mM={documentation:"التوثيق",viewSource:"عرض الكود المصدري",reportIssue:"الإبلاغ عن مشكلة",feedback:"التغذية الراجعة",developedBy:"تم التطوير بواسطة Kali Academy",kaliAcademy:"Kali Academy"},gM={eventRequired:"تحتاج إلى حدث على هذا الزر",textRequired:"يجب إضافة خاصية 'text'"},yM={nav:aM,home:lM,topAfrica:cM,pageViews:uM,common:fM,article:dM,form:hM,table:pM,footer:mM,button:gM},vM={home:"होम",topAfrica:"टॉप अफ्रीका",pageViews:"पेज व्यू",subtitle:"- देश के अनुसार सबसे ज्यादा देखे गए लेख"},xM={title:"सबसे ज्यादा देखे गए लेख",description:"विभिन्न क्षेत्रों में सबसे ज्यादा देखे गए लेखों की खोज करें",searchPlaceholder:"लेख खोजें..."},bM={title:"अफ्रीका में टॉप लेख",description:"अफ्रीकी देशों में सबसे ज्यादा देखे गए लेख"},wM={title:"लेख पेज व्यू",description:"लेख पेज व्यू को ट्रैक और विश्लेषण करें",selectCountry:"देश चुनें",selectArticle:"लेख चुनें",selectInterval:"अंतराल चुनें",viewGraph:"ग्राफ देखें"},kM={loading:"लोड हो रहा है...",error:"त्रुटि",noData:"कोई डेटा उपलब्ध नहीं है",help:"सहायता",documentation:"दस्तावेज़ीकरण",viewSource:"स्रोत कोड देखें",reportIssue:"समस्या रिप
866ोर्ट करें",feedback:"प्रतिक्रिया",developedBy:"Kali Academy द्वारा विकसित",kaliAcademy:"Kali Academy",export:"निर्यात",exportToCSV:"CSV में निर्यात",exportToJSON:"JSON में निर्यात",permanentLink:"स्थायी लिंक",linkCopied:"लिंक क्लिपबोर्ड पर कॉपी किया गया!",requestTimeout:"अनुरोध समय समाप्त। कृपया पुनः प्रयास करें।"},SM={description:"विवरण",noDescription:"कोई विवरण उपलब्ध नहीं है",country:"देश",notAvailable:"उपलब्ध नहीं",project:"प्रोजेक्ट",rank:"रैंक",views:"व्यू",editors:"संपादक",notFound:"नहीं मिला",readArticle:"लेख पढ़ें"},_M={fillForm:"कृपया वांछित लेख प्राप्त करने के लिए फॉर्म भरें",date:"तारीख",platform:"प्लेटफॉर्म",allAccess:"सभी एक्सेस",desktop:"डेस्कटॉप",mobileApp:"मोबाइल ऐप",mobileWeb:"मोबाइल वेब",sending:"भेज रहा है...",submit:"जमा करें",continent:"महाद्वीप",country:"देश",countryRequired:"देश आवश्यक है",dateRequired:"तारीख आवश्यक है",errorLocation:"स्थान डेटा प्राप्त करने में त्रुटि",errorGeolocation:"जियोलोकेशन प्राप्त करने में त्रुटि",geolocationNotSupported:"जियोलोकेशन इस ब्राउज़र में समर्थित नहीं है"},CM={rank:"रैंक",country:"देश",articles:"लेख",project:"प्रोजेक्ट",views:"व्यू"},EM={documentation:"दस्तावेज़ीकरण",viewSource:"स्रोत कोड देखें",reportIssue:"समस्या रिप
866ोर्ट करें",feedback:"प्रतिक्रिया",developedBy:"Kali Academy द्वारा विकसित",kaliAcademy:"Kali Academy"},PM={eventRequired:"आपको इस बटन पर एक इवेंट की आवश्यकता है",textRequired:"आपको एक 'text' प्रॉप जोड़नी होगी"},AM={nav:vM,home:xM,topAfrica:bM,pageViews:wM,common:kM,article:SM,form:_M,table:CM,footer:EM,button:PM},TM={home:"Home",topAfrica:"Top Afrika",pageViews:"Paginaweergaven",subtitle:"- meest bezochte artikelen per land"},OM={title:"Meest Bezochte Artikelen",description:"Ontdek de meest bezochte artikelen in verschillende regio's",searchPlaceholder:"Zoek artikelen..."},LM={title:"Top Artikelen in Afrika",description:"Meest bezochte artikelen in Afrikaanse landen"},RM={title:"Artikel Paginaweergaven",description:"Volg en analyseer artikel paginaweergaven",selectCountry:"Selecteer Land",selectArticle:"Selecteer Artikel",selectInterval:"Selecteer Interval",viewGraph:"Bekijk Grafiek"},NM={loading:"Laden...",error:"Fout",noData:"Geen gegevens beschikbaar",help:"Help",documentation:"Documentatie",viewSource:"Bekijk broncode",reportIssue:"Rapporteer een probleem",feedback:"Feedback",developedBy:"Ontwikkeld door Kali Academy",kaliAcademy:"Kali Academy",export:"Exporteren",exportToCSV:"Exporteren naar CSV",exportToJSON:"Exporteren naar JSON",permanentLink:"Permanente link",linkCopied:"Link gekopieerd naar klembord!",requestTimeout:"
866Verzoek is verlopen. Probeer het opnieuw."},MM={description:"Beschrijving",noDescription:"Geen beschrijving beschikbaar",country:"Land",notAvailable:"N/A",project:"Project",rank:"Rang",views:"Weergaven",editors:"Redacteuren",notFound:"Niet gevonden",readArticle:"Artikel lezen"},DM={fillForm:"Vul het formulier in om de gewenste artikelen te krijgen",date:"Datum",platform:"Platform",allAccess:"Alle toegang",desktop:"Desktop",mobileApp:"Mobiele app",mobileWeb:"Mobiele web",sending:"Verzenden...",submit:"Verzenden",continent:"Continent",country:"Land",countryRequired:"Land is verplicht",dateRequired:"Datum is verplicht",errorLocation:"Fout bij ophalen locatiedata",errorGeolocation:"Fout bij ophalen geolocatie",geolocationNotSupported:"Geolocatie wordt niet ondersteund door deze browser"},IM={rank:"Rang",country:"Land",articles:"Artikelen",project:"Project",views:"Weergaven"},jM={documentation:"Documentatie",viewSource:"Bekijk broncode",reportIssue:"Rapporteer een probleem",feedback:"Feedback",developedBy:"Ontwikkeld door Kali Academy",kaliAcademy:"Kali Academy"},FM={eventRequired:"Je hebt een event nodig op deze knop",textRequired:"Je moet een 'text' prop toevoegen"},zM={nav:TM,home:OM,topAfrica:LM,pageViews:RM,common:NM,article:MM,form:DM,table:IM,footer:jM,button:FM},$M={home:"Nyumbani",topAfrica:"Bora Afrika",pageViews:"Macho ya Ukurasa",subtitle:"- makala zinazotembelewa zaidi kwa nchi"},BM={title:"Makala Zinazotembelewa Zaidi",description:"Gundua makala zinazotembelewa zaidi katika maeneo tofauti",searchPlaceholder:"Tafuta makala..."},HM={title:"Makala Bora za Afrika",description:"Makala zinazotembelewa zaidi katika nchi za Kiafrika"},UM={title:"Macho ya Ukurasa wa Makala",description:"Fuatilia na chambua macho ya ukurasa wa makala",selectCountry:"Chagua Nchi",selectArticle:"Chagua Makala",selectInterval:"Chagua Muda",viewGraph:"Tazama Grafu"},VM={loading:"Inapakia...",error:"Hitilafu",noData:"Hakuna data inayopatikana",help:"Msaada",documentation:"Nyaraka",viewSource:"Tazama chanzo cha msimbo",reportIssue:"Ripoti tatizo",feedback:"Maoni",developedBy:"Imetengenezwa na Kali Academy",kaliAcademy:"Kali Academy",export:"Hamisha",exportToCSV:"Hamisha kwa CSV",exportToJSON:"Hamisha kwa JSON",permanentLink:"Kiungo cha kudumu",linkCopied:"Kiungo kimekiliwa kwenye clipboard!",requestTimeout:"Ombi limeisha. Tafadhali jaribu tena.",noResultsForFilters:"Hakuna matokeo yaliyopatikana kwa vichungi vilivyochaguliwa."},WM={description:"Maelezo",noDescription:"Hakuna maelezo yanayopatikana",country:"Nchi",notAvailable:"Haipatikani",project:"Mradi",rank:"Cheo",views:"Macho",editors:"Wahariri",notFound:"Haipatikani",readArticle:"Soma makala"},KM={fillForm:"Tafadhali jaza fomu kupata makala zinazohitajika",date:"Tarehe",platform:"Jukwaa",allAccess:"Ufikiaji wote",desktop:"Dawati",mobileApp:"Programu ya rununu",mobileWeb:"Wavuti ya rununu",sending:"Inatuma...",submit:"Wasilisha",continent:"Bara",country:"Nchi",countryRequired:"Nchi inahitajika",dateRequired:"Tarehe inahitajika",errorLocation:"Hitilafu katika kupata data ya eneo",errorGeolocation:"Hitilafu katika kupata eneo",geolocationNotSupported:"Eneo halina mkono na kivinjari hiki"},YM={rank:"Cheo",country:"Nchi",articles:"Makala",project:"Mradi",views:"Macho"},qM={documentation:"Nyaraka",viewSource:"Tazama chanzo cha msimbo",reportIssue:"Ripoti tatizo",feedback:"Maoni",developedBy:"Imetengenezwa na Kali Academy",kaliAcademy:"Kali Academy"},GM={eventRequired:"Unahitaji tukio kwenye kitufe hiki",textRequired:"Unahitaji kuongeza 'text' prop"},XM={nav:$M,home:BM,topAfrica:HM,pageViews:UM,common:VM,article:WM,form:KM,table:YM,footer:qM,button:GM};_t.use(Iw).use(rP).init({resources:{en:{translation:E4},fr:{translation:j4},es:{translation:q4},de:{translation:oN},it:{translation:gN},pt:{translation:PN},ru:{translation:FN},ja:{translation:GN},zh:{translation:sM},ar:{translation:yM},hi:{translation:AM},nl:{translation:zM},sw:{translation:XM}},fallbackLng:"en",interpolation:{escapeValue:!1}});vf.createRoot(document.getElementById("root")).render(S.jsx(H_,{router:F3}));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.