@ea-lab/reactive-json 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +83 -0
- package/dist/reactive-json.css +5 -0
- package/dist/reactive-json.js +56303 -0
- package/dist/reactive-json.umd.cjs +382 -0
- package/lib/component/action/HashChangeListener.jsx +66 -0
- package/lib/component/action/Hide.jsx +14 -0
- package/lib/component/action/MessageListener.jsx +62 -0
- package/lib/component/action/Popover.jsx +53 -0
- package/lib/component/action/ReactOnEvent.jsx +118 -0
- package/lib/component/action/Redirect.jsx +26 -0
- package/lib/component/action/Tooltip.jsx +27 -0
- package/lib/component/action/VisuallyHide.jsx +15 -0
- package/lib/component/element/chart/BarChart.jsx +40 -0
- package/lib/component/element/chart/DoughnutChart.jsx +32 -0
- package/lib/component/element/chart/LineChart.jsx +40 -0
- package/lib/component/element/chart/PolarAreaChart.jsx +32 -0
- package/lib/component/element/form/CheckBoxField.jsx +215 -0
- package/lib/component/element/form/DateField.jsx +42 -0
- package/lib/component/element/form/NumberField.jsx +29 -0
- package/lib/component/element/form/SelectField.jsx +130 -0
- package/lib/component/element/form/TextAreaField.jsx +48 -0
- package/lib/component/element/form/TextField.jsx +65 -0
- package/lib/component/element/form/formElementsCommon.jsx +54 -0
- package/lib/component/element/html/AccordionItem.jsx +42 -0
- package/lib/component/element/html/FolderSortableTree.jsx +307 -0
- package/lib/component/element/html/FormatNumeral.jsx +118 -0
- package/lib/component/element/html/Html.jsx +107 -0
- package/lib/component/element/html/LabelFromValue.jsx +89 -0
- package/lib/component/element/html/Modal.jsx +77 -0
- package/lib/component/element/html/ModalForm.jsx +30 -0
- package/lib/component/element/html/Paragraph.jsx +10 -0
- package/lib/component/element/html/PreformattedMarkup.jsx +54 -0
- package/lib/component/element/html/SortableTreeItemCollapseButton.jsx +20 -0
- package/lib/component/element/html/Tabs.jsx +55 -0
- package/lib/component/element/special/BootstrapElement.jsx +32 -0
- package/lib/component/element/special/Count.jsx +46 -0
- package/lib/component/element/special/DataFilter.jsx +156 -0
- package/lib/component/element/special/DelayedActions.jsx +119 -0
- package/lib/component/element/special/PageControls.jsx +19 -0
- package/lib/component/element/special/Phantom.jsx +25 -0
- package/lib/component/element/special/Switch.jsx +131 -0
- package/lib/component/hook/usePagination.jsx +184 -0
- package/lib/component/reaction/addData.jsx +23 -0
- package/lib/component/reaction/fetchData.jsx +83 -0
- package/lib/component/reaction/moveData.jsx +52 -0
- package/lib/component/reaction/postMessage.jsx +43 -0
- package/lib/component/reaction/redirectNow.jsx +17 -0
- package/lib/component/reaction/removeData.jsx +48 -0
- package/lib/component/reaction/setClipboardData.jsx +20 -0
- package/lib/component/reaction/setData.jsx +23 -0
- package/lib/component/reaction/submitData.jsx +136 -0
- package/lib/component/reaction/triggerEvent.jsx +62 -0
- package/lib/component/utility/formatString.jsx +59 -0
- package/lib/engine/Actions.jsx +392 -0
- package/lib/engine/EventDispatcherContext.jsx +16 -0
- package/lib/engine/EventDispatcherProvider.jsx +80 -0
- package/lib/engine/GlobalDataContext.jsx +13 -0
- package/lib/engine/GlobalDataContextProvider.jsx +33 -0
- package/lib/engine/PaginationContext.jsx +10 -0
- package/lib/engine/PaginationProvider.jsx +61 -0
- package/lib/engine/ReactiveJsonRoot.jsx +315 -0
- package/lib/engine/TemplateContext.jsx +13 -0
- package/lib/engine/TemplateSystem.jsx +302 -0
- package/lib/engine/View.jsx +240 -0
- package/lib/main.jsx +41 -0
- package/package.json +72 -0
|
@@ -0,0 +1,382 @@
|
|
|
1
|
+
(function(ko,I){typeof exports=="object"&&typeof module<"u"?I(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],I):(ko=typeof globalThis<"u"?globalThis:ko||self,I(ko.ReactiveJson={},ko.React,ko.React.DOM))})(this,function(ko,I,Xa){"use strict";var Gq=Object.defineProperty;var Xq=(ko,I,Xa)=>I in ko?Gq(ko,I,{enumerable:!0,configurable:!0,writable:!0,value:Xa}):ko[I]=Xa;var ht=(ko,I,Xa)=>Xq(ko,typeof I!="symbol"?I+"":I,Xa);var mE,Hp;function BB(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const i in e)if(i!=="default"){const r=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,r.get?r:{enumerable:!0,get:()=>e[i]})}}return t.default=e,Object.freeze(t)}const ut=BB(I);var Ly=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Sb(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var xx={exports:{}},Eb={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-jsx-runtime.production.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and 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 Q_;function LB(){if(Q_)return Eb;Q_=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function i(r,o,c){var f=null;if(c!==void 0&&(f=""+c),o.key!==void 0&&(f=""+o.key),"key"in o){c={};for(var p in o)p!=="key"&&(c[p]=o[p])}else c=o;return o=c.ref,{$$typeof:e,type:r,key:f,ref:o!==void 0?o:null,props:c}}return Eb.Fragment=t,Eb.jsx=i,Eb.jsxs=i,Eb}var Ab={};/**
|
|
10
|
+
* @license React
|
|
11
|
+
* react-jsx-runtime.development.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Meta Platforms, Inc. and 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 Z_;function kB(){return Z_||(Z_=1,process.env.NODE_ENV!=="production"&&function(){function e(ne){if(ne==null)return null;if(typeof ne=="function")return ne.$$typeof===ge?null:ne.displayName||ne.name||null;if(typeof ne=="string")return ne;switch(ne){case N:return"Fragment";case U:return"Profiler";case w:return"StrictMode";case R:return"Suspense";case H:return"SuspenseList";case W:return"Activity"}if(typeof ne=="object")switch(typeof ne.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),ne.$$typeof){case M:return"Portal";case P:return(ne.displayName||"Context")+".Provider";case q:return(ne._context.displayName||"Context")+".Consumer";case z:var Ee=ne.render;return ne=ne.displayName,ne||(ne=Ee.displayName||Ee.name||"",ne=ne!==""?"ForwardRef("+ne+")":"ForwardRef"),ne;case j:return Ee=ne.displayName||null,Ee!==null?Ee:e(ne.type)||"Memo";case K:Ee=ne._payload,ne=ne._init;try{return e(ne(Ee))}catch{}}return null}function t(ne){return""+ne}function i(ne){try{t(ne);var Ee=!1}catch{Ee=!0}if(Ee){Ee=console;var Re=Ee.error,ae=typeof Symbol=="function"&&Symbol.toStringTag&&ne[Symbol.toStringTag]||ne.constructor.name||"Object";return Re.call(Ee,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",ae),t(ne)}}function r(ne){if(ne===N)return"<>";if(typeof ne=="object"&&ne!==null&&ne.$$typeof===K)return"<...>";try{var Ee=e(ne);return Ee?"<"+Ee+">":"<...>"}catch{return"<...>"}}function o(){var ne=ce.A;return ne===null?null:ne.getOwner()}function c(){return Error("react-stack-top-frame")}function f(ne){if(be.call(ne,"key")){var Ee=Object.getOwnPropertyDescriptor(ne,"key").get;if(Ee&&Ee.isReactWarning)return!1}return ne.key!==void 0}function p(ne,Ee){function Re(){Fe||(Fe=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",Ee))}Re.isReactWarning=!0,Object.defineProperty(ne,"key",{get:Re,configurable:!0})}function m(){var ne=e(this.type);return ee[ne]||(ee[ne]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),ne=this.props.ref,ne!==void 0?ne:null}function b(ne,Ee,Re,ae,de,we,Ue,at){return Re=we.ref,ne={$$typeof:O,type:ne,key:Ee,props:we,_owner:de},(Re!==void 0?Re:null)!==null?Object.defineProperty(ne,"ref",{enumerable:!1,get:m}):Object.defineProperty(ne,"ref",{enumerable:!1,value:null}),ne._store={},Object.defineProperty(ne._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(ne,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(ne,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Ue}),Object.defineProperty(ne,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:at}),Object.freeze&&(Object.freeze(ne.props),Object.freeze(ne)),ne}function S(ne,Ee,Re,ae,de,we,Ue,at){var Ke=Ee.children;if(Ke!==void 0)if(ae)if(Oe(Ke)){for(ae=0;ae<Ke.length;ae++)E(Ke[ae]);Object.freeze&&Object.freeze(Ke)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else E(Ke);if(be.call(Ee,"key")){Ke=e(ne);var Le=Object.keys(Ee).filter(function(nt){return nt!=="key"});ae=0<Le.length?"{key: someKey, "+Le.join(": ..., ")+": ...}":"{key: someKey}",Qe[Ke+ae]||(Le=0<Le.length?"{"+Le.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
18
|
+
let props = %s;
|
|
19
|
+
<%s {...props} />
|
|
20
|
+
React keys must be passed directly to JSX without using spread:
|
|
21
|
+
let props = %s;
|
|
22
|
+
<%s key={someKey} {...props} />`,ae,Ke,Le,Ke),Qe[Ke+ae]=!0)}if(Ke=null,Re!==void 0&&(i(Re),Ke=""+Re),f(Ee)&&(i(Ee.key),Ke=""+Ee.key),"key"in Ee){Re={};for(var De in Ee)De!=="key"&&(Re[De]=Ee[De])}else Re=Ee;return Ke&&p(Re,typeof ne=="function"?ne.displayName||ne.name||"Unknown":ne),b(ne,Ke,we,de,o(),Re,Ue,at)}function E(ne){typeof ne=="object"&&ne!==null&&ne.$$typeof===O&&ne._store&&(ne._store.validated=1)}var _=I,O=Symbol.for("react.transitional.element"),M=Symbol.for("react.portal"),N=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),U=Symbol.for("react.profiler"),q=Symbol.for("react.consumer"),P=Symbol.for("react.context"),z=Symbol.for("react.forward_ref"),R=Symbol.for("react.suspense"),H=Symbol.for("react.suspense_list"),j=Symbol.for("react.memo"),K=Symbol.for("react.lazy"),W=Symbol.for("react.activity"),ge=Symbol.for("react.client.reference"),ce=_.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,be=Object.prototype.hasOwnProperty,Oe=Array.isArray,Ae=console.createTask?console.createTask:function(){return null};_={"react-stack-bottom-frame":function(ne){return ne()}};var Fe,ee={},le=_["react-stack-bottom-frame"].bind(_,c)(),ve=Ae(r(c)),Qe={};Ab.Fragment=N,Ab.jsx=function(ne,Ee,Re,ae,de){var we=1e4>ce.recentlyCreatedOwnerStacks++;return S(ne,Ee,Re,!1,ae,de,we?Error("react-stack-top-frame"):le,we?Ae(r(ne)):ve)},Ab.jsxs=function(ne,Ee,Re,ae,de){var we=1e4>ce.recentlyCreatedOwnerStacks++;return S(ne,Ee,Re,!0,ae,de,we?Error("react-stack-top-frame"):le,we?Ae(r(ne)):ve)}}()),Ab}var W_;function zB(){return W_||(W_=1,process.env.NODE_ENV==="production"?xx.exports=LB():xx.exports=kB()),xx.exports}var ie=zB();const tA=I.createContext({addEventListener:null,removeEventListener:null}),xp={},UB=e=>{if(xp.hasOwnProperty(e.type))for(const t of xp[e.type])t(e)},HB=(e,t)=>{xp.hasOwnProperty(e)?xp[e].push(t):(window.addEventListener(e,UB),xp[e]=[t])},jB=(e,t)=>{if(!xp.hasOwnProperty(e))return;const i=xp[e].indexOf(t);i>-1&&xp[e].splice(i,1)},FB=e=>ie.jsx(tA.Provider,{value:{addEventListener:HB,removeEventListener:jB},children:e.children}),IB=I.memo(FB),ti=I.createContext({}),PB=e=>{const t={...e.value};return t.getRootContext===void 0&&(t.getRootContext=()=>e.value),ie.jsx(ti.Provider,{value:t,children:e.children})},Gn=I.createContext({}),nA=e=>{if(typeof e!="object"||Object.keys(e).length===0)return{};const t={class:"className"},i={};for(const[r,o]of Object.entries(e)){const c=t.hasOwnProperty(r)?t[r]:r;i[c]=o}return i},iA=({props:e,currentData:t,datafield:i,path:r})=>{const o=I.useContext(ti),c=I.useContext(Gn),f=`${e.tag}`,p=e.extra??{},m=nA(e.attributes),b=nA(t.attributes);for(const _ of Object.keys(b)){if(_.charAt(0)==="+"){const O=_.substring(1);m[O]=(m[O]??"").length>0?" "+b[_]:b[_];continue}m[_]=b[_]}const S=Om({attrs:m,globalDataContext:o,templateContext:c}),E=_=>_&&["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"].indexOf(_)!==-1;return ie.jsx(xa,{...e,children:E(e.tag)?ie.jsxs(ie.Fragment,{children:[ie.jsx(f,{...S}),Object.keys(p).length?ie.jsx(ki,{props:p}):""]}):ie.jsxs(ie.Fragment,{children:[ie.jsx(f,{...S,children:e.content&&ie.jsx(ki,{currentData:t.content??void 0,datafield:"content",path:r+".content",props:e.content})}),Object.keys(p).length?ie.jsx(ki,{props:p}):""]})})},yu=({dataLocation:e,currentPath:t,globalDataContext:i,templateContext:r})=>{if(typeof e!="string"||!(e.startsWith("~.")||e.startsWith("~~.")||e.startsWith("~>")))return e==="~"?r.templatePath:e==="~~"?i.templatePath:e;let o;if(e.startsWith("~~."))o=i.templatePath;else if(e.startsWith("~."))o=r.templatePath;else if(e.startsWith("~>")){const f=e.substring(2,e.indexOf("."));if(!r.templatePath.includes(f))throw new Error(f+" not found in the current template path.");const p=r.templatePath.indexOf(f);o=r.templatePath.substring(0,p+f.length)}else o=t;const c=e.split(".");return c.shift(),o+"."+c.join(".")},Om=({attrs:e,globalDataContext:t,templateContext:i,options:r={}})=>{const o={};if(!e)return o;const c=r.normalizeBeforeEvaluation?nA(e):e;for(const f of Object.keys(c)){const p=Xn({globalDataContext:t,templateContext:i,valueToEvaluate:c[f]});p&&(o[f]=p)}return o},Xn=({valueToEvaluate:e,globalDataContext:t,templateContext:i})=>{if(!aA(e))return e;if(e==="~")return i.templateData;if(e==="~~")return t.templateData;let r;if(e.startsWith("~~.")?r=t==null?void 0:t.templateData:e.startsWith("~>")?(e=yu({dataLocation:e,currentPath:i.templatePath,globalDataContext:t,templateContext:i}),r=t==null?void 0:t.templateData):r=i==null?void 0:i.templateData,!r)return;const o=e.split(".");for(o.shift();o.length;)if(typeof r!="object"||(r=r[o.shift()],r===void 0))return;return r},Sx=({valueToEvaluate:e,globalDataContext:t,templateContext:i})=>{let r;if(typeof e=="object"){r=Array.isArray(e)?[]:{};for(const[o,c]of Object.entries(e))r[o]=Xn({globalDataContext:t,templateContext:i,valueToEvaluate:c})}else r=Xn({globalDataContext:t,templateContext:i,valueToEvaluate:e});return r},aA=e=>typeof e!="string"||!(e.startsWith("~.")||e.startsWith("~~.")||e.startsWith("~>")||e==="~"||e==="~~")?!1:e,qB=({valueToEvaluate:e})=>{const t=I.useContext(ti),i=I.useContext(Gn);return Xn({globalDataContext:t,templateContext:i,valueToEvaluate:e})},lo=(e,t={})=>{const i=I.useContext(ti),r=I.useContext(Gn);return Om({attrs:e,globalDataContext:i,templateContext:r,options:t.normalizeBeforeEvaluation===void 0?{...t,normalizeBeforeEvaluation:!0}:t})};var Tb={exports:{}};/**
|
|
23
|
+
* @license
|
|
24
|
+
* Lodash <https://lodash.com/>
|
|
25
|
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
26
|
+
* Released under MIT license <https://lodash.com/license>
|
|
27
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
28
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
29
|
+
*/var VB=Tb.exports,K_;function YB(){return K_||(K_=1,function(e,t){(function(){var i,r="4.17.21",o=200,c="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",f="Expected a function",p="Invalid `variable` option passed into `_.template`",m="__lodash_hash_undefined__",b=500,S="__lodash_placeholder__",E=1,_=2,O=4,M=1,N=2,w=1,U=2,q=4,P=8,z=16,R=32,H=64,j=128,K=256,W=512,ge=30,ce="...",be=800,Oe=16,Ae=1,Fe=2,ee=3,le=1/0,ve=9007199254740991,Qe=17976931348623157e292,ne=NaN,Ee=4294967295,Re=Ee-1,ae=Ee>>>1,de=[["ary",j],["bind",w],["bindKey",U],["curry",P],["curryRight",z],["flip",W],["partial",R],["partialRight",H],["rearg",K]],we="[object Arguments]",Ue="[object Array]",at="[object AsyncFunction]",Ke="[object Boolean]",Le="[object Date]",De="[object DOMException]",nt="[object Error]",Ie="[object Function]",Ct="[object GeneratorFunction]",Rt="[object Map]",Et="[object Number]",un="[object Null]",Ut="[object Object]",oa="[object Promise]",Ea="[object Proxy]",wn="[object RegExp]",Zt="[object Set]",pt="[object String]",Dn="[object Symbol]",Oi="[object Undefined]",Ba="[object WeakMap]",Lt="[object WeakSet]",ot="[object ArrayBuffer]",xt="[object DataView]",Ln="[object Float32Array]",bt="[object Float64Array]",On="[object Int8Array]",vt="[object Int16Array]",ni="[object Int32Array]",gr="[object Uint8Array]",$n="[object Uint8ClampedArray]",Aa="[object Uint16Array]",Qa="[object Uint32Array]",Ai=/\b__p \+= '';/g,mr=/\b(__p \+=) '' \+/g,uo=/(__e\(.*?\)|\b__t\)) \+\n'';/g,fl=/&(?:amp|lt|gt|quot|#39);/g,ri=/[&<>"']/g,ha=RegExp(fl.source),Fi=RegExp(ri.source),Za=/<%-([\s\S]+?)%>/g,li=/<%([\s\S]+?)%>/g,Ii=/<%=([\s\S]+?)%>/g,Wa=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Po=/^\w*$/,an=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Hn=/[\\^$.*+?()[\]{}|]/g,kn=RegExp(Hn.source),Ki=/^\s+/,Ll=/\s/,qo=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ti=/\{\n\/\* \[wrapped with (.+)\] \*/,oi=/,? & /,ft=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Vo=/[()=,{}\[\]\/\s]/,mi=/\\(\\)?/g,ks=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Yo=/\w*$/,co=/^[-+]0x[0-9a-f]+$/i,Ji=/^0b[01]+$/i,bc=/^\[object .+?Constructor\]$/,yr=/^0o[0-7]+$/i,Go=/^(?:0|[1-9]\d*)$/,Xo=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xc=/($^)/,wf=/['\n\r\u2028\u2029\\]/g,Cu="\\ud800-\\udfff",jp="\\u0300-\\u036f",fo="\\ufe20-\\ufe2f",Sc="\\u20d0-\\u20ff",dl=jp+fo+Sc,Ec="\\u2700-\\u27bf",Df="a-z\\xdf-\\xf6\\xf8-\\xff",zs="\\xac\\xb1\\xd7\\xf7",La="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",$o="\\u2000-\\u206f",Us=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",vr="A-Z\\xc0-\\xd6\\xd8-\\xde",ea="\\ufe0e\\ufe0f",Hs=zs+La+$o+Us,_u="['’]",Qo="["+Cu+"]",Ir="["+Hs+"]",ho="["+dl+"]",Fp="\\d+",br="["+Ec+"]",Ac="["+Df+"]",Tc="[^"+Cu+Hs+Fp+Ec+Df+vr+"]",B="\\ud83c[\\udffb-\\udfff]",Y="(?:"+ho+"|"+B+")",te="[^"+Cu+"]",ye="(?:\\ud83c[\\udde6-\\uddff]){2}",Ye="[\\ud800-\\udbff][\\udc00-\\udfff]",it="["+vr+"]",It="\\u200d",An="(?:"+Ac+"|"+Tc+")",Ci="(?:"+it+"|"+Tc+")",ta="(?:"+_u+"(?:d|ll|m|re|s|t|ve))?",Zm="(?:"+_u+"(?:D|LL|M|RE|S|T|VE))?",Of=Y+"?",wu="["+ea+"]?",Ip="(?:"+It+"(?:"+[te,ye,Ye].join("|")+")"+wu+Of+")*",Rf="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Mf="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Wm=wu+Of+Ip,Km="(?:"+[br,ye,Ye].join("|")+")"+Wm,Nf="(?:"+[te+ho+"?",ho,ye,Ye,Qo].join("|")+")",Cc=RegExp(_u,"g"),Zo=RegExp(ho,"g"),Bf=RegExp(B+"(?="+B+")|"+Nf+Wm,"g"),js=RegExp([it+"?"+Ac+"+"+ta+"(?="+[Ir,it,"$"].join("|")+")",Ci+"+"+Zm+"(?="+[Ir,it+An,"$"].join("|")+")",it+"?"+An+"+"+ta,it+"+"+Zm,Mf,Rf,Fp,Km].join("|"),"g"),Fs=RegExp("["+It+Cu+dl+ea+"]"),Lf=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,_c=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Jm=-1,Wt={};Wt[Ln]=Wt[bt]=Wt[On]=Wt[vt]=Wt[ni]=Wt[gr]=Wt[$n]=Wt[Aa]=Wt[Qa]=!0,Wt[we]=Wt[Ue]=Wt[ot]=Wt[Ke]=Wt[xt]=Wt[Le]=Wt[nt]=Wt[Ie]=Wt[Rt]=Wt[Et]=Wt[Ut]=Wt[wn]=Wt[Zt]=Wt[pt]=Wt[Ba]=!1;var Kn={};Kn[we]=Kn[Ue]=Kn[ot]=Kn[xt]=Kn[Ke]=Kn[Le]=Kn[Ln]=Kn[bt]=Kn[On]=Kn[vt]=Kn[ni]=Kn[Rt]=Kn[Et]=Kn[Ut]=Kn[wn]=Kn[Zt]=Kn[pt]=Kn[Dn]=Kn[gr]=Kn[$n]=Kn[Aa]=Kn[Qa]=!0,Kn[nt]=Kn[Ie]=Kn[Ba]=!1;var Pp={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},xr={"&":"&","<":"<",">":">",'"':""","'":"'"},Du={"&":"&","<":"<",">":">",""":'"',"'":"'"},qp={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},nh=parseFloat,pv=parseInt,Vp=typeof Ly=="object"&&Ly&&Ly.Object===Object&&Ly,Yp=typeof self=="object"&&self&&self.Object===Object&&self,na=Vp||Yp||Function("return this")(),Is=t&&!t.nodeType&&t,Ps=Is&&!0&&e&&!e.nodeType&&e,e0=Ps&&Ps.exports===Is,Gp=e0&&Vp.process,kl=function(){try{var me=Ps&&Ps.require&&Ps.require("util").types;return me||Gp&&Gp.binding&&Gp.binding("util")}catch{}}(),Xp=kl&&kl.isArrayBuffer,gv=kl&&kl.isDate,mv=kl&&kl.isMap,yv=kl&&kl.isRegExp,kf=kl&&kl.isSet,t0=kl&&kl.isTypedArray;function Sr(me,Pe,ke){switch(ke.length){case 0:return me.call(Pe);case 1:return me.call(Pe,ke[0]);case 2:return me.call(Pe,ke[0],ke[1]);case 3:return me.call(Pe,ke[0],ke[1],ke[2])}return me.apply(Pe,ke)}function vv(me,Pe,ke,st){for(var kt=-1,Vt=me==null?0:me.length;++kt<Vt;){var Jn=me[kt];Pe(st,Jn,ke(Jn),me)}return st}function hl(me,Pe){for(var ke=-1,st=me==null?0:me.length;++ke<st&&Pe(me[ke],ke,me)!==!1;);return me}function n0(me,Pe){for(var ke=me==null?0:me.length;ke--&&Pe(me[ke],ke,me)!==!1;);return me}function i0(me,Pe){for(var ke=-1,st=me==null?0:me.length;++ke<st;)if(!Pe(me[ke],ke,me))return!1;return!0}function Ka(me,Pe){for(var ke=-1,st=me==null?0:me.length,kt=0,Vt=[];++ke<st;){var Jn=me[ke];Pe(Jn,ke,me)&&(Vt[kt++]=Jn)}return Vt}function Wo(me,Pe){var ke=me==null?0:me.length;return!!ke&&Dc(me,Pe,0)>-1}function pl(me,Pe,ke){for(var st=-1,kt=me==null?0:me.length;++st<kt;)if(ke(Pe,me[st]))return!0;return!1}function xn(me,Pe){for(var ke=-1,st=me==null?0:me.length,kt=Array(st);++ke<st;)kt[ke]=Pe(me[ke],ke,me);return kt}function zl(me,Pe){for(var ke=-1,st=Pe.length,kt=me.length;++ke<st;)me[kt+ke]=Pe[ke];return me}function zf(me,Pe,ke,st){var kt=-1,Vt=me==null?0:me.length;for(st&&Vt&&(ke=me[++kt]);++kt<Vt;)ke=Pe(ke,me[kt],kt,me);return ke}function a0(me,Pe,ke,st){var kt=me==null?0:me.length;for(st&&kt&&(ke=me[--kt]);kt--;)ke=Pe(ke,me[kt],kt,me);return ke}function Ja(me,Pe){for(var ke=-1,st=me==null?0:me.length;++ke<st;)if(Pe(me[ke],ke,me))return!0;return!1}var bv=Ul("length");function $p(me){return me.split("")}function wc(me){return me.match(ft)||[]}function Qp(me,Pe,ke){var st;return ke(me,function(kt,Vt,Jn){if(Pe(kt,Vt,Jn))return st=Vt,!1}),st}function ih(me,Pe,ke,st){for(var kt=me.length,Vt=ke+(st?1:-1);st?Vt--:++Vt<kt;)if(Pe(me[Vt],Vt,me))return Vt;return-1}function Dc(me,Pe,ke){return Pe===Pe?f0(me,Pe,ke):ih(me,Uf,ke)}function ah(me,Pe,ke,st){for(var kt=ke-1,Vt=me.length;++kt<Vt;)if(st(me[kt],Pe))return kt;return-1}function Uf(me){return me!==me}function Zp(me,Pe){var ke=me==null?0:me.length;return ke?Ko(me,Pe)/ke:ne}function Ul(me){return function(Pe){return Pe==null?i:Pe[me]}}function rh(me){return function(Pe){return me==null?i:me[Pe]}}function lh(me,Pe,ke,st,kt){return kt(me,function(Vt,Jn,Sn){ke=st?(st=!1,Vt):Pe(ke,Vt,Jn,Sn)}),ke}function oh(me,Pe){var ke=me.length;for(me.sort(Pe);ke--;)me[ke]=me[ke].value;return me}function Ko(me,Pe){for(var ke,st=-1,kt=me.length;++st<kt;){var Vt=Pe(me[st]);Vt!==i&&(ke=ke===i?Vt:ke+Vt)}return ke}function Jo(me,Pe){for(var ke=-1,st=Array(me);++ke<me;)st[ke]=Pe(ke);return st}function r0(me,Pe){return xn(Pe,function(ke){return[ke,me[ke]]})}function Ou(me){return me&&me.slice(0,yi(me)+1).replace(Ki,"")}function Pr(me){return function(Pe){return me(Pe)}}function Hf(me,Pe){return xn(Pe,function(ke){return me[ke]})}function Ru(me,Pe){return me.has(Pe)}function Hl(me,Pe){for(var ke=-1,st=me.length;++ke<st&&Dc(Pe,me[ke],0)>-1;);return ke}function jl(me,Pe){for(var ke=me.length;ke--&&Dc(Pe,me[ke],0)>-1;);return ke}function l0(me,Pe){for(var ke=me.length,st=0;ke--;)me[ke]===Pe&&++st;return st}var es=rh(Pp),o0=rh(xr);function s0(me){return"\\"+qp[me]}function Oc(me,Pe){return me==null?i:me[Pe]}function Fl(me){return Fs.test(me)}function u0(me){return Lf.test(me)}function jf(me){for(var Pe,ke=[];!(Pe=me.next()).done;)ke.push(Pe.value);return ke}function sh(me){var Pe=-1,ke=Array(me.size);return me.forEach(function(st,kt){ke[++Pe]=[kt,st]}),ke}function uh(me,Pe){return function(ke){return me(Pe(ke))}}function Er(me,Pe){for(var ke=-1,st=me.length,kt=0,Vt=[];++ke<st;){var Jn=me[ke];(Jn===Pe||Jn===S)&&(me[ke]=S,Vt[kt++]=ke)}return Vt}function Il(me){var Pe=-1,ke=Array(me.size);return me.forEach(function(st){ke[++Pe]=st}),ke}function c0(me){var Pe=-1,ke=Array(me.size);return me.forEach(function(st){ke[++Pe]=[st,st]}),ke}function f0(me,Pe,ke){for(var st=ke-1,kt=me.length;++st<kt;)if(me[st]===Pe)return st;return-1}function ka(me,Pe,ke){for(var st=ke+1;st--;)if(me[st]===Pe)return st;return st}function gl(me){return Fl(me)?d0(me):bv(me)}function Ta(me){return Fl(me)?fh(me):$p(me)}function yi(me){for(var Pe=me.length;Pe--&&Ll.test(me.charAt(Pe)););return Pe}var ch=rh(Du);function d0(me){for(var Pe=Bf.lastIndex=0;Bf.test(me);)++Pe;return Pe}function fh(me){return me.match(Bf)||[]}function Rc(me){return me.match(js)||[]}var ts=function me(Pe){Pe=Pe==null?na:er.defaults(na.Object(),Pe,er.pick(na,_c));var ke=Pe.Array,st=Pe.Date,kt=Pe.Error,Vt=Pe.Function,Jn=Pe.Math,Sn=Pe.Object,Wp=Pe.RegExp,h0=Pe.String,ml=Pe.TypeError,Ff=ke.prototype,Kp=Vt.prototype,Mc=Sn.prototype,If=Pe["__core-js_shared__"],Pf=Kp.toString,Rn=Mc.hasOwnProperty,Pl=0,Jp=function(){var h=/[^.]+$/.exec(If&&If.keys&&If.keys.IE_PROTO||"");return h?"Symbol(src)_1."+h:""}(),tr=Mc.toString,qr=Pf.call(Sn),Mu=na._,ns=Wp("^"+Pf.call(Rn).replace(Hn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Vr=e0?Pe.Buffer:i,Ar=Pe.Symbol,qs=Pe.Uint8Array,po=Vr?Vr.allocUnsafe:i,Vs=uh(Sn.getPrototypeOf,Sn),qf=Sn.create,Nc=Mc.propertyIsEnumerable,dh=Ff.splice,Tr=Ar?Ar.isConcatSpreadable:i,Ys=Ar?Ar.iterator:i,za=Ar?Ar.toStringTag:i,Yt=function(){try{var h=ps(Sn,"defineProperty");return h({},"",{}),h}catch{}}(),tt=Pe.clearTimeout!==na.clearTimeout&&Pe.clearTimeout,ql=st&&st.now!==na.Date.now&&st.now,Vf=Pe.setTimeout!==na.setTimeout&&Pe.setTimeout,vi=Jn.ceil,go=Jn.floor,is=Sn.getOwnPropertySymbols,hh=Vr?Vr.isBuffer:i,Bc=Pe.isFinite,Vl=Ff.join,Yr=uh(Sn.keys,Sn),si=Jn.max,bi=Jn.min,Pi=st.now,Tn=Pe.parseInt,ph=Jn.random,Lc=Ff.reverse,Yl=ps(Pe,"DataView"),_i=ps(Pe,"Map"),Mn=ps(Pe,"Promise"),cn=ps(Pe,"Set"),nr=ps(Pe,"WeakMap"),ir=ps(Sn,"create"),as=nr&&new nr,Gr={},gh=ys(Yl),p0=ys(_i),Yf=ys(Mn),Gf=ys(cn),g0=ys(nr),Gs=Ar?Ar.prototype:i,Xs=Gs?Gs.valueOf:i,rs=Gs?Gs.toString:i;function X(h){if(di(h)&&!Bt(h)&&!(h instanceof fn)){if(h instanceof Cr)return h;if(Rn.call(h,"__wrapped__"))return fa(h)}return new Cr(h)}var Xr=function(){function h(){}return function(y){if(!Yn(y))return{};if(qf)return qf(y);h.prototype=y;var C=new h;return h.prototype=i,C}}();function yl(){}function Cr(h,y){this.__wrapped__=h,this.__actions__=[],this.__chain__=!!y,this.__index__=0,this.__values__=i}X.templateSettings={escape:Za,evaluate:li,interpolate:Ii,variable:"",imports:{_:X}},X.prototype=yl.prototype,X.prototype.constructor=X,Cr.prototype=Xr(yl.prototype),Cr.prototype.constructor=Cr;function fn(h){this.__wrapped__=h,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ee,this.__views__=[]}function Xf(){var h=new fn(this.__wrapped__);return h.__actions__=ca(this.__actions__),h.__dir__=this.__dir__,h.__filtered__=this.__filtered__,h.__iteratees__=ca(this.__iteratees__),h.__takeCount__=this.__takeCount__,h.__views__=ca(this.__views__),h}function mh(){if(this.__filtered__){var h=new fn(this);h.__dir__=-1,h.__filtered__=!0}else h=this.clone(),h.__dir__*=-1;return h}function Nu(){var h=this.__wrapped__.value(),y=this.__dir__,C=Bt(h),k=y<0,G=C?h.length:0,Z=w0(0,G,this.__views__),oe=Z.start,fe=Z.end,Se=fe-oe,Je=k?fe:oe-1,$e=this.__iteratees__,et=$e.length,lt=0,yt=bi(Se,this.__takeCount__);if(!C||!k&&G==Se&&yt==Se)return Tv(h,this.__actions__);var Mt=[];e:for(;Se--&<<yt;){Je+=y;for(var en=-1,Dt=h[Je];++en<et;){var vn=$e[en],Nn=vn.iteratee,io=vn.type,ol=Nn(Dt);if(io==Fe)Dt=ol;else if(!ol){if(io==Ae)continue e;break e}}Mt[lt++]=Dt}return Mt}fn.prototype=Xr(yl.prototype),fn.prototype.constructor=fn;function Ri(h){var y=-1,C=h==null?0:h.length;for(this.clear();++y<C;){var k=h[y];this.set(k[0],k[1])}}function yh(){this.__data__=ir?ir(null):{},this.size=0}function m0(h){var y=this.has(h)&&delete this.__data__[h];return this.size-=y?1:0,y}function $f(h){var y=this.__data__;if(ir){var C=y[h];return C===m?i:C}return Rn.call(y,h)?y[h]:i}function eg(h){var y=this.__data__;return ir?y[h]!==i:Rn.call(y,h)}function xv(h,y){var C=this.__data__;return this.size+=this.has(h)?0:1,C[h]=ir&&y===i?m:y,this}Ri.prototype.clear=yh,Ri.prototype.delete=m0,Ri.prototype.get=$f,Ri.prototype.has=eg,Ri.prototype.set=xv;function ui(h){var y=-1,C=h==null?0:h.length;for(this.clear();++y<C;){var k=h[y];this.set(k[0],k[1])}}function Qf(){this.__data__=[],this.size=0}function ls(h){var y=this.__data__,C=zc(y,h);if(C<0)return!1;var k=y.length-1;return C==k?y.pop():dh.call(y,C,1),--this.size,!0}function Bu(h){var y=this.__data__,C=zc(y,h);return C<0?i:y[C][1]}function vh(h){return zc(this.__data__,h)>-1}function Gl(h,y){var C=this.__data__,k=zc(C,h);return k<0?(++this.size,C.push([h,y])):C[k][1]=y,this}ui.prototype.clear=Qf,ui.prototype.delete=ls,ui.prototype.get=Bu,ui.prototype.has=vh,ui.prototype.set=Gl;function ci(h){var y=-1,C=h==null?0:h.length;for(this.clear();++y<C;){var k=h[y];this.set(k[0],k[1])}}function tg(){this.size=0,this.__data__={hash:new Ri,map:new(_i||ui),string:new Ri}}function ng(h){var y=Xc(this,h).delete(h);return this.size-=y?1:0,y}function Sv(h){return Xc(this,h).get(h)}function ig(h){return Xc(this,h).has(h)}function os(h,y){var C=Xc(this,h),k=C.size;return C.set(h,y),this.size+=C.size==k?0:1,this}ci.prototype.clear=tg,ci.prototype.delete=ng,ci.prototype.get=Sv,ci.prototype.has=ig,ci.prototype.set=os;function mo(h){var y=-1,C=h==null?0:h.length;for(this.__data__=new ci;++y<C;)this.add(h[y])}function kc(h){return this.__data__.set(h,m),this}function ag(h){return this.__data__.has(h)}mo.prototype.add=mo.prototype.push=kc,mo.prototype.has=ag;function Ca(h){var y=this.__data__=new ui(h);this.size=y.size}function rg(){this.__data__=new ui,this.size=0}function bh(h){var y=this.__data__,C=y.delete(h);return this.size=y.size,C}function lg(h){return this.__data__.get(h)}function og(h){return this.__data__.has(h)}function xh(h,y){var C=this.__data__;if(C instanceof ui){var k=C.__data__;if(!_i||k.length<o-1)return k.push([h,y]),this.size=++C.size,this;C=this.__data__=new ci(k)}return C.set(h,y),this.size=C.size,this}Ca.prototype.clear=rg,Ca.prototype.delete=bh,Ca.prototype.get=lg,Ca.prototype.has=og,Ca.prototype.set=xh;function sg(h,y){var C=Bt(h),k=!C&&Da(h),G=!C&&!k&&Cs(h),Z=!C&&!k&&!G&&Dd(h),oe=C||k||G||Z,fe=oe?Jo(h.length,h0):[],Se=fe.length;for(var Je in h)(y||Rn.call(h,Je))&&!(oe&&(Je=="length"||G&&(Je=="offset"||Je=="parent")||Z&&(Je=="buffer"||Je=="byteLength"||Je=="byteOffset")||Kl(Je,Se)))&&fe.push(Je);return fe}function Lu(h){var y=h.length;return y?h[Ql(0,y-1)]:i}function y0(h,y){return Qc(ca(h),$l(y,0,h.length))}function v0(h){return Qc(ca(h))}function Xl(h,y,C){(C!==i&&!ur(h[y],C)||C===i&&!(y in h))&&vo(h,y,C)}function ku(h,y,C){var k=h[y];(!(Rn.call(h,y)&&ur(k,C))||C===i&&!(y in h))&&vo(h,y,C)}function zc(h,y){for(var C=h.length;C--;)if(ur(h[C][0],y))return C;return-1}function $r(h,y,C,k){return wi(h,function(G,Z,oe){y(k,G,C(G),oe)}),k}function yo(h,y){return h&&Dr(y,da(y),h)}function Uc(h,y){return h&&Dr(y,va(y),h)}function vo(h,y,C){y=="__proto__"&&Yt?Yt(h,y,{configurable:!0,enumerable:!0,value:C,writable:!0}):h[y]=C}function Sh(h,y){for(var C=-1,k=y.length,G=ke(k),Z=h==null;++C<k;)G[C]=Z?i:Nd(h,y[C]);return G}function $l(h,y,C){return h===h&&(C!==i&&(h=h<=C?h:C),y!==i&&(h=h>=y?h:y)),h}function sa(h,y,C,k,G,Z){var oe,fe=y&E,Se=y&_,Je=y&O;if(C&&(oe=G?C(h,k,G,Z):C(h)),oe!==i)return oe;if(!Yn(h))return h;var $e=Bt(h);if($e){if(oe=qu(h),!fe)return ca(h,oe)}else{var et=_a(h),lt=et==Ie||et==Ct;if(Cs(h))return Eg(h,fe);if(et==Ut||et==we||lt&&!G){if(oe=Se||lt?{}:cd(h),!fe)return Se?qc(h,Uc(oe,h)):Cg(h,yo(oe,h))}else{if(!Kn[et])return G?h:{};oe=Ng(h,et,fe)}}Z||(Z=new Ca);var yt=Z.get(h);if(yt)return yt;Z.set(h,oe),rf(h)?h.forEach(function(Dt){oe.add(sa(Dt,y,C,Dt,h,Z))}):_o(h)&&h.forEach(function(Dt,vn){oe.set(vn,sa(Dt,y,C,vn,h,Z))});var Mt=Je?Se?Ao:Dg:Se?va:da,en=$e?i:Mt(h);return hl(en||h,function(Dt,vn){en&&(vn=Dt,Dt=h[vn]),ku(oe,vn,sa(Dt,y,C,vn,h,Z))}),oe}function ug(h){var y=da(h);return function(C){return Zf(C,h,y)}}function Zf(h,y,C){var k=C.length;if(h==null)return!k;for(h=Sn(h);k--;){var G=C[k],Z=y[G],oe=h[G];if(oe===i&&!(G in h)||!Z(oe))return!1}return!0}function zu(h,y,C){if(typeof h!="function")throw new ml(f);return dd(function(){h.apply(i,C)},y)}function $s(h,y,C,k){var G=-1,Z=Wo,oe=!0,fe=h.length,Se=[],Je=y.length;if(!fe)return Se;C&&(y=xn(y,Pr(C))),k?(Z=pl,oe=!1):y.length>=o&&(Z=Ru,oe=!1,y=new mo(y));e:for(;++G<fe;){var $e=h[G],et=C==null?$e:C($e);if($e=k||$e!==0?$e:0,oe&&et===et){for(var lt=Je;lt--;)if(y[lt]===et)continue e;Se.push($e)}else Z(y,et,k)||Se.push($e)}return Se}var wi=Or(Ua),Hc=Or(vl,!0);function Wf(h,y){var C=!0;return wi(h,function(k,G,Z){return C=!!y(k,G,Z),C}),C}function _r(h,y,C){for(var k=-1,G=h.length;++k<G;){var Z=h[k],oe=y(Z);if(oe!=null&&(fe===i?oe===oe&&!Pa(oe):C(oe,fe)))var fe=oe,Se=Z}return Se}function Gt(h,y,C,k){var G=h.length;for(C=qt(C),C<0&&(C=-C>G?0:G+C),k=k===i||k>G?G:qt(k),k<0&&(k+=G),k=C>k?0:_s(k);C<k;)h[C++]=y;return h}function jn(h,y){var C=[];return wi(h,function(k,G,Z){y(k,G,Z)&&C.push(k)}),C}function rn(h,y,C,k,G){var Z=-1,oe=h.length;for(C||(C=gs),G||(G=[]);++Z<oe;){var fe=h[Z];y>0&&C(fe)?y>1?rn(fe,y-1,C,k,G):zl(G,fe):k||(G[G.length]=fe)}return G}var jc=Iu(),Qr=Iu(!0);function Ua(h,y){return h&&jc(h,y,da)}function vl(h,y){return h&&Qr(h,y,da)}function ar(h,y){return Ka(y,function(C){return Al(h[C])})}function wr(h,y){y=cs(y,h);for(var C=0,k=y.length;h!=null&&C<k;)h=h[qn(y[C++])];return C&&C==k?h:i}function cg(h,y,C){var k=y(h);return Bt(h)?k:zl(k,C(h))}function gn(h){return h==null?h===i?Oi:un:za&&za in Sn(h)?Og(h):zg(h)}function Kf(h,y){return h>y}function fg(h,y){return h!=null&&Rn.call(h,y)}function Uu(h,y){return h!=null&&y in Sn(h)}function b0(h,y,C){return h>=bi(y,C)&&h<si(y,C)}function dg(h,y,C){for(var k=C?pl:Wo,G=h[0].length,Z=h.length,oe=Z,fe=ke(Z),Se=1/0,Je=[];oe--;){var $e=h[oe];oe&&y&&($e=xn($e,Pr(y))),Se=bi($e.length,Se),fe[oe]=!C&&(y||G>=120&&$e.length>=120)?new mo(oe&&$e):i}$e=h[0];var et=-1,lt=fe[0];e:for(;++et<G&&Je.length<Se;){var yt=$e[et],Mt=y?y(yt):yt;if(yt=C||yt!==0?yt:0,!(lt?Ru(lt,Mt):k(Je,Mt,C))){for(oe=Z;--oe;){var en=fe[oe];if(!(en?Ru(en,Mt):k(h[oe],Mt,C)))continue e}lt&<.push(Mt),Je.push(yt)}}return Je}function hg(h,y,C,k){return Ua(h,function(G,Z,oe){y(k,C(G),Z,oe)}),k}function ss(h,y,C){y=cs(y,h),h=$c(h,y);var k=h==null?h:h[qn(wa(y))];return k==null?i:Sr(k,h,C)}function Eh(h){return di(h)&&gn(h)==we}function rr(h){return di(h)&&gn(h)==ot}function qi(h){return di(h)&&gn(h)==Le}function Qs(h,y,C,k,G){return h===y?!0:h==null||y==null||!di(h)&&!di(y)?h!==h&&y!==y:Ah(h,y,C,k,Qs,G)}function Ah(h,y,C,k,G,Z){var oe=Bt(h),fe=Bt(y),Se=oe?Ue:_a(h),Je=fe?Ue:_a(y);Se=Se==we?Ut:Se,Je=Je==we?Ut:Je;var $e=Se==Ut,et=Je==Ut,lt=Se==Je;if(lt&&Cs(h)){if(!Cs(y))return!1;oe=!0,$e=!1}if(lt&&!$e)return Z||(Z=new Ca),oe||Dd(h)?_0(h,y,C,k,G,Z):Vi(h,y,Se,C,k,G,Z);if(!(C&M)){var yt=$e&&Rn.call(h,"__wrapped__"),Mt=et&&Rn.call(y,"__wrapped__");if(yt||Mt){var en=yt?h.value():h,Dt=Mt?y.value():y;return Z||(Z=new Ca),G(en,Dt,C,k,Z)}}return lt?(Z||(Z=new Ca),ma(h,y,C,k,G,Z)):!1}function ua(h){return di(h)&&_a(h)==Rt}function Jf(h,y,C,k){var G=C.length,Z=G,oe=!k;if(h==null)return!Z;for(h=Sn(h);G--;){var fe=C[G];if(oe&&fe[2]?fe[1]!==h[fe[0]]:!(fe[0]in h))return!1}for(;++G<Z;){fe=C[G];var Se=fe[0],Je=h[Se],$e=fe[1];if(oe&&fe[2]){if(Je===i&&!(Se in h))return!1}else{var et=new Ca;if(k)var lt=k(Je,$e,Se,h,y,et);if(!(lt===i?Qs($e,Je,M|N,k,et):lt))return!1}}return!0}function bo(h){if(!Yn(h)||jh(h))return!1;var y=Al(h)?ns:bc;return y.test(ys(h))}function Th(h){return di(h)&&gn(h)==wn}function pg(h){return di(h)&&_a(h)==Zt}function gg(h){return di(h)&&Nr(h.length)&&!!Wt[gn(h)]}function ed(h){return typeof h=="function"?h:h==null?_e:typeof h=="object"?Bt(h)?nd(h[0],h[1]):_h(h):Cn(h)}function td(h){if(!_t(h))return Yr(h);var y=[];for(var C in Sn(h))Rn.call(h,C)&&C!="constructor"&&y.push(C);return y}function x0(h){if(!Yn(h))return Yu(h);var y=_t(h),C=[];for(var k in h)k=="constructor"&&(y||!Rn.call(h,k))||C.push(k);return C}function Ch(h,y){return h<y}function mg(h,y){var C=-1,k=aa(h)?ke(h.length):[];return wi(h,function(G,Z,oe){k[++C]=y(G,Z,oe)}),k}function _h(h){var y=Uh(h);return y.length==1&&y[0][2]?wv(y[0][0],y[0][1]):function(C){return C===h||Jf(C,h,y)}}function nd(h,y){return Lg(h)&&kg(y)?wv(qn(h),y):function(C){var k=Nd(C,h);return k===i&&k===y?ws(C,h):Qs(y,k,M|N)}}function Fc(h,y,C,k,G){h!==y&&jc(y,function(Z,oe){if(G||(G=new Ca),Yn(Z))Ev(h,y,oe,C,Fc,k,G);else{var fe=k?k(Gu(h,oe),Z,oe+"",h,y,G):i;fe===i&&(fe=Z),Xl(h,oe,fe)}},va)}function Ev(h,y,C,k,G,Z,oe){var fe=Gu(h,C),Se=Gu(y,C),Je=oe.get(Se);if(Je){Xl(h,C,Je);return}var $e=Z?Z(fe,Se,C+"",h,y,oe):i,et=$e===i;if(et){var lt=Bt(Se),yt=!lt&&Cs(Se),Mt=!lt&&!yt&&Dd(Se);$e=Se,lt||yt||Mt?Bt(fe)?$e=fe:Di(fe)?$e=ca(fe):yt?(et=!1,$e=Eg(Se,!0)):Mt?(et=!1,$e=Ag(Se,!0)):$e=[]:to(Se)||Da(Se)?($e=fe,Da(fe)?$e=ep(fe):(!Yn(fe)||Al(fe))&&($e=cd(Se))):et=!1}et&&(oe.set(Se,$e),G($e,Se,k,Z,oe),oe.delete(Se)),Xl(h,C,$e)}function wh(h,y){var C=h.length;if(C)return y+=y<0?C:0,Kl(y,C)?h[y]:i}function id(h,y,C){y.length?y=xn(y,function(Z){return Bt(Z)?function(oe){return wr(oe,Z.length===1?Z[0]:Z)}:Z}):y=[_e];var k=-1;y=xn(y,Pr(Tt()));var G=mg(h,function(Z,oe,fe){var Se=xn(y,function(Je){return Je(Z)});return{criteria:Se,index:++k,value:Z}});return oh(G,function(Z,oe){return C0(Z,oe,C)})}function yg(h,y){return Dh(h,y,function(C,k){return ws(h,k)})}function Dh(h,y,C){for(var k=-1,G=y.length,Z={};++k<G;){var oe=y[k],fe=wr(h,oe);C(fe,oe)&&Zs(Z,cs(oe,h),fe)}return Z}function S0(h){return function(y){return wr(y,h)}}function ad(h,y,C,k){var G=k?ah:Dc,Z=-1,oe=y.length,fe=h;for(h===y&&(y=ca(y)),C&&(fe=xn(h,Pr(C)));++Z<oe;)for(var Se=0,Je=y[Z],$e=C?C(Je):Je;(Se=G(fe,$e,Se,k))>-1;)fe!==h&&dh.call(fe,Se,1),dh.call(h,Se,1);return h}function vg(h,y){for(var C=h?y.length:0,k=C-1;C--;){var G=y[C];if(C==k||G!==Z){var Z=G;Kl(G)?dh.call(h,G,1):Ic(h,G)}}return h}function Ql(h,y){return h+go(ph()*(y-h+1))}function bg(h,y,C,k){for(var G=-1,Z=si(vi((y-h)/(C||1)),0),oe=ke(Z);Z--;)oe[k?Z:++G]=h,h+=C;return oe}function E0(h,y){var C="";if(!h||y<1||y>ve)return C;do y%2&&(C+=h),y=go(y/2),y&&(h+=h);while(y);return C}function Xt(h,y){return tl(Ug(h,y,_e),h+"")}function Zr(h){return Lu(of(h))}function Oh(h,y){var C=of(h);return Qc(C,$l(y,0,C.length))}function Zs(h,y,C,k){if(!Yn(h))return h;y=cs(y,h);for(var G=-1,Z=y.length,oe=Z-1,fe=h;fe!=null&&++G<Z;){var Se=qn(y[G]),Je=C;if(Se==="__proto__"||Se==="constructor"||Se==="prototype")return h;if(G!=oe){var $e=fe[Se];Je=k?k($e,Se,fe):i,Je===i&&(Je=Yn($e)?$e:Kl(y[G+1])?[]:{})}ku(fe,Se,Je),fe=fe[Se]}return h}var Ws=as?function(h,y){return as.set(h,y),h}:_e,ii=Yt?function(h,y){return Yt(h,"toString",{configurable:!0,enumerable:!1,value:Ce(y),writable:!0})}:_e;function Av(h){return Qc(of(h))}function bl(h,y,C){var k=-1,G=h.length;y<0&&(y=-y>G?0:G+y),C=C>G?G:C,C<0&&(C+=G),G=y>C?0:C-y>>>0,y>>>=0;for(var Z=ke(G);++k<G;)Z[k]=h[k+y];return Z}function A0(h,y){var C;return wi(h,function(k,G,Z){return C=y(k,G,Z),!C}),!!C}function Wr(h,y,C){var k=0,G=h==null?k:h.length;if(typeof y=="number"&&y===y&&G<=ae){for(;k<G;){var Z=k+G>>>1,oe=h[Z];oe!==null&&!Pa(oe)&&(C?oe<=y:oe<y)?k=Z+1:G=Z}return G}return Rh(h,y,_e,C)}function Rh(h,y,C,k){var G=0,Z=h==null?0:h.length;if(Z===0)return 0;y=C(y);for(var oe=y!==y,fe=y===null,Se=Pa(y),Je=y===i;G<Z;){var $e=go((G+Z)/2),et=C(h[$e]),lt=et!==i,yt=et===null,Mt=et===et,en=Pa(et);if(oe)var Dt=k||Mt;else Je?Dt=Mt&&(k||lt):fe?Dt=Mt&<&&(k||!yt):Se?Dt=Mt&<&&!yt&&(k||!en):yt||en?Dt=!1:Dt=k?et<=y:et<y;Dt?G=$e+1:Z=$e}return bi(Z,Re)}function Mh(h,y){for(var C=-1,k=h.length,G=0,Z=[];++C<k;){var oe=h[C],fe=y?y(oe):oe;if(!C||!ur(fe,Se)){var Se=fe;Z[G++]=oe===0?0:oe}}return Z}function Hu(h){return typeof h=="number"?h:Pa(h)?ne:+h}function pa(h){if(typeof h=="string")return h;if(Bt(h))return xn(h,pa)+"";if(Pa(h))return rs?rs.call(h):"";var y=h+"";return y=="0"&&1/h==-1/0?"-0":y}function us(h,y,C){var k=-1,G=Wo,Z=h.length,oe=!0,fe=[],Se=fe;if(C)oe=!1,G=pl;else if(Z>=o){var Je=y?null:zh(h);if(Je)return Il(Je);oe=!1,G=Ru,Se=new mo}else Se=y?[]:fe;e:for(;++k<Z;){var $e=h[k],et=y?y($e):$e;if($e=C||$e!==0?$e:0,oe&&et===et){for(var lt=Se.length;lt--;)if(Se[lt]===et)continue e;y&&Se.push(et),fe.push($e)}else G(Se,et,C)||(Se!==fe&&Se.push(et),fe.push($e))}return fe}function Ic(h,y){return y=cs(y,h),h=$c(h,y),h==null||delete h[qn(wa(y))]}function xg(h,y,C,k){return Zs(h,y,C(wr(h,y)),k)}function Nh(h,y,C,k){for(var G=h.length,Z=k?G:-1;(k?Z--:++Z<G)&&y(h[Z],Z,h););return C?bl(h,k?0:Z,k?Z+1:G):bl(h,k?Z+1:0,k?G:Z)}function Tv(h,y){var C=h;return C instanceof fn&&(C=C.value()),zf(y,function(k,G){return G.func.apply(G.thisArg,zl([k],G.args))},C)}function rd(h,y,C){var k=h.length;if(k<2)return k?us(h[0]):[];for(var G=-1,Z=ke(k);++G<k;)for(var oe=h[G],fe=-1;++fe<k;)fe!=G&&(Z[G]=$s(Z[G]||oe,h[fe],y,C));return us(rn(Z,1),y,C)}function T0(h,y,C){for(var k=-1,G=h.length,Z=y.length,oe={};++k<G;){var fe=k<Z?y[k]:i;C(oe,h[k],fe)}return oe}function ju(h){return Di(h)?h:[]}function Kr(h){return typeof h=="function"?h:_e}function cs(h,y){return Bt(h)?h:Lg(h,y)?[h]:Co(Jt(h))}var Cv=Xt;function Ks(h,y,C){var k=h.length;return C=C===i?k:C,!y&&C>=k?h:bl(h,y,C)}var Sg=tt||function(h){return na.clearTimeout(h)};function Eg(h,y){if(y)return h.slice();var C=h.length,k=po?po(C):new h.constructor(C);return h.copy(k),k}function Js(h){var y=new h.constructor(h.byteLength);return new qs(y).set(new qs(h)),y}function Bh(h,y){var C=y?Js(h.buffer):h.buffer;return new h.constructor(C,h.byteOffset,h.byteLength)}function Pc(h){var y=new h.constructor(h.source,Yo.exec(h));return y.lastIndex=h.lastIndex,y}function _v(h){return Xs?Sn(Xs.call(h)):{}}function Ag(h,y){var C=y?Js(h.buffer):h.buffer;return new h.constructor(C,h.byteOffset,h.length)}function Lh(h,y){if(h!==y){var C=h!==i,k=h===null,G=h===h,Z=Pa(h),oe=y!==i,fe=y===null,Se=y===y,Je=Pa(y);if(!fe&&!Je&&!Z&&h>y||Z&&oe&&Se&&!fe&&!Je||k&&oe&&Se||!C&&Se||!G)return 1;if(!k&&!Z&&!Je&&h<y||Je&&C&&G&&!k&&!Z||fe&&C&&G||!oe&&G||!Se)return-1}return 0}function C0(h,y,C){for(var k=-1,G=h.criteria,Z=y.criteria,oe=G.length,fe=C.length;++k<oe;){var Se=Lh(G[k],Z[k]);if(Se){if(k>=fe)return Se;var Je=C[k];return Se*(Je=="desc"?-1:1)}}return h.index-y.index}function Tg(h,y,C,k){for(var G=-1,Z=h.length,oe=C.length,fe=-1,Se=y.length,Je=si(Z-oe,0),$e=ke(Se+Je),et=!k;++fe<Se;)$e[fe]=y[fe];for(;++G<oe;)(et||G<Z)&&($e[C[G]]=h[G]);for(;Je--;)$e[fe++]=h[G++];return $e}function fs(h,y,C,k){for(var G=-1,Z=h.length,oe=-1,fe=C.length,Se=-1,Je=y.length,$e=si(Z-fe,0),et=ke($e+Je),lt=!k;++G<$e;)et[G]=h[G];for(var yt=G;++Se<Je;)et[yt+Se]=y[Se];for(;++oe<fe;)(lt||G<Z)&&(et[yt+C[oe]]=h[G++]);return et}function ca(h,y){var C=-1,k=h.length;for(y||(y=ke(k));++C<k;)y[C]=h[C];return y}function Dr(h,y,C,k){var G=!C;C||(C={});for(var Z=-1,oe=y.length;++Z<oe;){var fe=y[Z],Se=k?k(C[fe],h[fe],fe,C,h):i;Se===i&&(Se=h[fe]),G?vo(C,fe,Se):ku(C,fe,Se)}return C}function Cg(h,y){return Dr(h,ud(h),y)}function qc(h,y){return Dr(h,Rg(h),y)}function ga(h,y){return function(C,k){var G=Bt(C)?vv:$r,Z=y?y():{};return G(C,h,Tt(k,2),Z)}}function Fu(h){return Xt(function(y,C){var k=-1,G=C.length,Z=G>1?C[G-1]:i,oe=G>2?C[2]:i;for(Z=h.length>3&&typeof Z=="function"?(G--,Z):i,oe&&lr(C[0],C[1],oe)&&(Z=G<3?i:Z,G=1),y=Sn(y);++k<G;){var fe=C[k];fe&&h(y,fe,k,Z)}return y})}function Or(h,y){return function(C,k){if(C==null)return C;if(!aa(C))return h(C,k);for(var G=C.length,Z=y?G:-1,oe=Sn(C);(y?Z--:++Z<G)&&k(oe[Z],Z,oe)!==!1;);return C}}function Iu(h){return function(y,C,k){for(var G=-1,Z=Sn(y),oe=k(y),fe=oe.length;fe--;){var Se=oe[h?fe:++G];if(C(Z[Se],Se,Z)===!1)break}return y}}function ds(h,y,C){var k=y&w,G=xl(h);function Z(){var oe=this&&this!==na&&this instanceof Z?G:h;return oe.apply(k?C:this,arguments)}return Z}function Jr(h){return function(y){y=Jt(y);var C=Fl(y)?Ta(y):i,k=C?C[0]:y.charAt(0),G=C?Ks(C,1).join(""):y.slice(1);return k[h]()+G}}function ia(h){return function(y){return zf(T(Ro(y).replace(Cc,"")),h,"")}}function xl(h){return function(){var y=arguments;switch(y.length){case 0:return new h;case 1:return new h(y[0]);case 2:return new h(y[0],y[1]);case 3:return new h(y[0],y[1],y[2]);case 4:return new h(y[0],y[1],y[2],y[3]);case 5:return new h(y[0],y[1],y[2],y[3],y[4]);case 6:return new h(y[0],y[1],y[2],y[3],y[4],y[5]);case 7:return new h(y[0],y[1],y[2],y[3],y[4],y[5],y[6])}var C=Xr(h.prototype),k=h.apply(C,y);return Yn(k)?k:C}}function hs(h,y,C){var k=xl(h);function G(){for(var Z=arguments.length,oe=ke(Z),fe=Z,Se=Wl(G);fe--;)oe[fe]=arguments[fe];var Je=Z<3&&oe[0]!==Se&&oe[Z-1]!==Se?[]:Er(oe,Se);if(Z-=Je.length,Z<C)return Yc(h,y,Pn,G.placeholder,i,oe,Je,i,i,C-Z);var $e=this&&this!==na&&this instanceof G?k:h;return Sr($e,this,oe)}return G}function xo(h){return function(y,C,k){var G=Sn(y);if(!aa(y)){var Z=Tt(C,3);y=da(y),C=function(fe){return Z(G[fe],fe,G)}}var oe=h(y,C,k);return oe>-1?G[Z?y[oe]:oe]:i}}function Zl(h){return xi(function(y){var C=y.length,k=C,G=Cr.prototype.thru;for(h&&y.reverse();k--;){var Z=y[k];if(typeof Z!="function")throw new ml(f);if(G&&!oe&&Gc(Z)=="wrapper")var oe=new Cr([],!0)}for(k=oe?k:C;++k<C;){Z=y[k];var fe=Gc(Z),Se=fe=="wrapper"?nu(Z):i;Se&&Vu(Se[0])&&Se[1]==(j|P|R|K)&&!Se[4].length&&Se[9]==1?oe=oe[Gc(Se[0])].apply(oe,Se[3]):oe=Z.length==1&&Vu(Z)?oe[fe]():oe.thru(Z)}return function(){var Je=arguments,$e=Je[0];if(oe&&Je.length==1&&Bt($e))return oe.plant($e).value();for(var et=0,lt=C?y[et].apply(this,Je):$e;++et<C;)lt=y[et].call(this,lt);return lt}})}function Pn(h,y,C,k,G,Z,oe,fe,Se,Je){var $e=y&j,et=y&w,lt=y&U,yt=y&(P|z),Mt=y&W,en=lt?i:xl(h);function Dt(){for(var vn=arguments.length,Nn=ke(vn),io=vn;io--;)Nn[io]=arguments[io];if(yt)var ol=Wl(Dt),ao=l0(Nn,ol);if(k&&(Nn=Tg(Nn,k,G,yt)),Z&&(Nn=fs(Nn,Z,oe,yt)),vn-=ao,yt&&vn<Je){var ba=Er(Nn,ol);return Yc(h,y,Pn,Dt.placeholder,C,Nn,ba,fe,Se,Je-vn)}var hu=et?C:this,df=lt?hu[h]:h;return vn=Nn.length,fe?Nn=To(Nn,fe):Mt&&vn>1&&Nn.reverse(),$e&&Se<vn&&(Nn.length=Se),this&&this!==na&&this instanceof Dt&&(df=en||xl(df)),df.apply(hu,Nn)}return Dt}function ld(h,y){return function(C,k){return hg(C,h,y(k),{})}}function So(h,y){return function(C,k){var G;if(C===i&&k===i)return y;if(C!==i&&(G=C),k!==i){if(G===i)return k;typeof C=="string"||typeof k=="string"?(C=pa(C),k=pa(k)):(C=Hu(C),k=Hu(k)),G=h(C,k)}return G}}function od(h){return xi(function(y){return y=xn(y,Pr(Tt())),Xt(function(C){var k=this;return h(y,function(G){return Sr(G,k,C)})})})}function eu(h,y){y=y===i?" ":pa(y);var C=y.length;if(C<2)return C?E0(y,h):y;var k=E0(y,vi(h/gl(y)));return Fl(y)?Ks(Ta(k),0,h).join(""):k.slice(0,h)}function Vc(h,y,C,k){var G=y&w,Z=xl(h);function oe(){for(var fe=-1,Se=arguments.length,Je=-1,$e=k.length,et=ke($e+Se),lt=this&&this!==na&&this instanceof oe?Z:h;++Je<$e;)et[Je]=k[Je];for(;Se--;)et[Je++]=arguments[++fe];return Sr(lt,G?C:this,et)}return oe}function tu(h){return function(y,C,k){return k&&typeof k!="number"&&lr(y,C,k)&&(C=k=i),y=Bi(y),C===i?(C=y,y=0):C=Bi(C),k=k===i?y<C?1:-1:Bi(k),bg(y,C,k,h)}}function Pu(h){return function(y,C){return typeof y=="string"&&typeof C=="string"||(y=Br(y),C=Br(C)),h(y,C)}}function Yc(h,y,C,k,G,Z,oe,fe,Se,Je){var $e=y&P,et=$e?oe:i,lt=$e?i:oe,yt=$e?Z:i,Mt=$e?i:Z;y|=$e?R:H,y&=~($e?H:R),y&q||(y&=-4);var en=[h,y,G,yt,et,Mt,lt,fe,Se,Je],Dt=C.apply(i,en);return Vu(h)&&Hg(Dt,en),Dt.placeholder=k,Xu(Dt,h,y)}function kh(h){var y=Jn[h];return function(C,k){if(C=Br(C),k=k==null?0:bi(qt(k),292),k&&Bc(C)){var G=(Jt(C)+"e").split("e"),Z=y(G[0]+"e"+(+G[1]+k));return G=(Jt(Z)+"e").split("e"),+(G[0]+"e"+(+G[1]-k))}return y(C)}}var zh=cn&&1/Il(new cn([,-0]))[1]==le?function(h){return new cn(h)}:dt;function sd(h){return function(y){var C=_a(y);return C==Rt?sh(y):C==Zt?c0(y):r0(y,h(y))}}function Eo(h,y,C,k,G,Z,oe,fe){var Se=y&U;if(!Se&&typeof h!="function")throw new ml(f);var Je=k?k.length:0;if(Je||(y&=-97,k=G=i),oe=oe===i?oe:si(qt(oe),0),fe=fe===i?fe:qt(fe),Je-=G?G.length:0,y&H){var $e=k,et=G;k=G=i}var lt=Se?i:nu(h),yt=[h,y,C,k,G,$e,et,Z,oe,fe];if(lt&&Fh(yt,lt),h=yt[0],y=yt[1],C=yt[2],k=yt[3],G=yt[4],fe=yt[9]=yt[9]===i?Se?0:h.length:si(yt[9]-Je,0),!fe&&y&(P|z)&&(y&=-25),!y||y==w)var Mt=ds(h,y,C);else y==P||y==z?Mt=hs(h,y,fe):(y==R||y==(w|R))&&!G.length?Mt=Vc(h,y,C,k):Mt=Pn.apply(i,yt);var en=lt?Ws:Hg;return Xu(en(Mt,yt),h,y)}function _g(h,y,C,k){return h===i||ur(h,Mc[C])&&!Rn.call(k,C)?y:h}function wg(h,y,C,k,G,Z){return Yn(h)&&Yn(y)&&(Z.set(y,h),Fc(h,y,i,wg,Z),Z.delete(y)),h}function el(h){return to(h)?i:h}function _0(h,y,C,k,G,Z){var oe=C&M,fe=h.length,Se=y.length;if(fe!=Se&&!(oe&&Se>fe))return!1;var Je=Z.get(h),$e=Z.get(y);if(Je&&$e)return Je==y&&$e==h;var et=-1,lt=!0,yt=C&N?new mo:i;for(Z.set(h,y),Z.set(y,h);++et<fe;){var Mt=h[et],en=y[et];if(k)var Dt=oe?k(en,Mt,et,y,h,Z):k(Mt,en,et,h,y,Z);if(Dt!==i){if(Dt)continue;lt=!1;break}if(yt){if(!Ja(y,function(vn,Nn){if(!Ru(yt,Nn)&&(Mt===vn||G(Mt,vn,C,k,Z)))return yt.push(Nn)})){lt=!1;break}}else if(!(Mt===en||G(Mt,en,C,k,Z))){lt=!1;break}}return Z.delete(h),Z.delete(y),lt}function Vi(h,y,C,k,G,Z,oe){switch(C){case xt:if(h.byteLength!=y.byteLength||h.byteOffset!=y.byteOffset)return!1;h=h.buffer,y=y.buffer;case ot:return!(h.byteLength!=y.byteLength||!Z(new qs(h),new qs(y)));case Ke:case Le:case Et:return ur(+h,+y);case nt:return h.name==y.name&&h.message==y.message;case wn:case pt:return h==y+"";case Rt:var fe=sh;case Zt:var Se=k&M;if(fe||(fe=Il),h.size!=y.size&&!Se)return!1;var Je=oe.get(h);if(Je)return Je==y;k|=N,oe.set(h,y);var $e=_0(fe(h),fe(y),k,G,Z,oe);return oe.delete(h),$e;case Dn:if(Xs)return Xs.call(h)==Xs.call(y)}return!1}function ma(h,y,C,k,G,Z){var oe=C&M,fe=Dg(h),Se=fe.length,Je=Dg(y),$e=Je.length;if(Se!=$e&&!oe)return!1;for(var et=Se;et--;){var lt=fe[et];if(!(oe?lt in y:Rn.call(y,lt)))return!1}var yt=Z.get(h),Mt=Z.get(y);if(yt&&Mt)return yt==y&&Mt==h;var en=!0;Z.set(h,y),Z.set(y,h);for(var Dt=oe;++et<Se;){lt=fe[et];var vn=h[lt],Nn=y[lt];if(k)var io=oe?k(Nn,vn,lt,y,h,Z):k(vn,Nn,lt,h,y,Z);if(!(io===i?vn===Nn||G(vn,Nn,C,k,Z):io)){en=!1;break}Dt||(Dt=lt=="constructor")}if(en&&!Dt){var ol=h.constructor,ao=y.constructor;ol!=ao&&"constructor"in h&&"constructor"in y&&!(typeof ol=="function"&&ol instanceof ol&&typeof ao=="function"&&ao instanceof ao)&&(en=!1)}return Z.delete(h),Z.delete(y),en}function xi(h){return tl(Ug(h,i,ya),h+"")}function Dg(h){return cg(h,da,ud)}function Ao(h){return cg(h,va,Rg)}var nu=as?function(h){return as.get(h)}:dt;function Gc(h){for(var y=h.name+"",C=Gr[y],k=Rn.call(Gr,y)?C.length:0;k--;){var G=C[k],Z=G.func;if(Z==null||Z==h)return G.name}return y}function Wl(h){var y=Rn.call(X,"placeholder")?X:h;return y.placeholder}function Tt(){var h=X.iteratee||At;return h=h===At?ed:h,arguments.length?h(arguments[0],arguments[1]):h}function Xc(h,y){var C=h.__data__;return ms(y)?C[typeof y=="string"?"string":"hash"]:C.map}function Uh(h){for(var y=da(h),C=y.length;C--;){var k=y[C],G=h[k];y[C]=[k,G,kg(G)]}return y}function ps(h,y){var C=Oc(h,y);return bo(C)?C:i}function Og(h){var y=Rn.call(h,za),C=h[za];try{h[za]=i;var k=!0}catch{}var G=tr.call(h);return k&&(y?h[za]=C:delete h[za]),G}var ud=is?function(h){return h==null?[]:(h=Sn(h),Ka(is(h),function(y){return Nc.call(h,y)}))}:F1,Rg=is?function(h){for(var y=[];h;)zl(y,ud(h)),h=Vs(h);return y}:F1,_a=gn;(Yl&&_a(new Yl(new ArrayBuffer(1)))!=xt||_i&&_a(new _i)!=Rt||Mn&&_a(Mn.resolve())!=oa||cn&&_a(new cn)!=Zt||nr&&_a(new nr)!=Ba)&&(_a=function(h){var y=gn(h),C=y==Ut?h.constructor:i,k=C?ys(C):"";if(k)switch(k){case gh:return xt;case p0:return Rt;case Yf:return oa;case Gf:return Zt;case g0:return Ba}return y});function w0(h,y,C){for(var k=-1,G=C.length;++k<G;){var Z=C[k],oe=Z.size;switch(Z.type){case"drop":h+=oe;break;case"dropRight":y-=oe;break;case"take":y=bi(y,h+oe);break;case"takeRight":h=si(h,y-oe);break}}return{start:h,end:y}}function Mg(h){var y=h.match(Ti);return y?y[1].split(oi):[]}function Hh(h,y,C){y=cs(y,h);for(var k=-1,G=y.length,Z=!1;++k<G;){var oe=qn(y[k]);if(!(Z=h!=null&&C(h,oe)))break;h=h[oe]}return Z||++k!=G?Z:(G=h==null?0:h.length,!!G&&Nr(G)&&Kl(oe,G)&&(Bt(h)||Da(h)))}function qu(h){var y=h.length,C=new h.constructor(y);return y&&typeof h[0]=="string"&&Rn.call(h,"index")&&(C.index=h.index,C.input=h.input),C}function cd(h){return typeof h.constructor=="function"&&!_t(h)?Xr(Vs(h)):{}}function Ng(h,y,C){var k=h.constructor;switch(y){case ot:return Js(h);case Ke:case Le:return new k(+h);case xt:return Bh(h,C);case Ln:case bt:case On:case vt:case ni:case gr:case $n:case Aa:case Qa:return Ag(h,C);case Rt:return new k;case Et:case pt:return new k(h);case wn:return Pc(h);case Zt:return new k;case Dn:return _v(h)}}function Bg(h,y){var C=y.length;if(!C)return h;var k=C-1;return y[k]=(C>1?"& ":"")+y[k],y=y.join(C>2?", ":" "),h.replace(qo,`{
|
|
30
|
+
/* [wrapped with `+y+`] */
|
|
31
|
+
`)}function gs(h){return Bt(h)||Da(h)||!!(Tr&&h&&h[Tr])}function Kl(h,y){var C=typeof h;return y=y??ve,!!y&&(C=="number"||C!="symbol"&&Go.test(h))&&h>-1&&h%1==0&&h<y}function lr(h,y,C){if(!Yn(C))return!1;var k=typeof y;return(k=="number"?aa(C)&&Kl(y,C.length):k=="string"&&y in C)?ur(C[y],h):!1}function Lg(h,y){if(Bt(h))return!1;var C=typeof h;return C=="number"||C=="symbol"||C=="boolean"||h==null||Pa(h)?!0:Po.test(h)||!Wa.test(h)||y!=null&&h in Sn(y)}function ms(h){var y=typeof h;return y=="string"||y=="number"||y=="symbol"||y=="boolean"?h!=="__proto__":h===null}function Vu(h){var y=Gc(h),C=X[y];if(typeof C!="function"||!(y in fn.prototype))return!1;if(h===C)return!0;var k=nu(C);return!!k&&h===k[0]}function jh(h){return!!Jp&&Jp in h}var fd=If?Al:I1;function _t(h){var y=h&&h.constructor,C=typeof y=="function"&&y.prototype||Mc;return h===C}function kg(h){return h===h&&!Yn(h)}function wv(h,y){return function(C){return C==null?!1:C[h]===y&&(y!==i||h in Sn(C))}}function D0(h){var y=Wu(h,function(k){return C.size===b&&C.clear(),k}),C=y.cache;return y}function Fh(h,y){var C=h[1],k=y[1],G=C|k,Z=G<(w|U|j),oe=k==j&&C==P||k==j&&C==K&&h[7].length<=y[8]||k==(j|K)&&y[7].length<=y[8]&&C==P;if(!(Z||oe))return h;k&w&&(h[2]=y[2],G|=C&w?0:q);var fe=y[3];if(fe){var Se=h[3];h[3]=Se?Tg(Se,fe,y[4]):fe,h[4]=Se?Er(h[3],S):y[4]}return fe=y[5],fe&&(Se=h[5],h[5]=Se?fs(Se,fe,y[6]):fe,h[6]=Se?Er(h[5],S):y[6]),fe=y[7],fe&&(h[7]=fe),k&j&&(h[8]=h[8]==null?y[8]:bi(h[8],y[8])),h[9]==null&&(h[9]=y[9]),h[0]=y[0],h[1]=G,h}function Yu(h){var y=[];if(h!=null)for(var C in Sn(h))y.push(C);return y}function zg(h){return tr.call(h)}function Ug(h,y,C){return y=si(y===i?h.length-1:y,0),function(){for(var k=arguments,G=-1,Z=si(k.length-y,0),oe=ke(Z);++G<Z;)oe[G]=k[y+G];G=-1;for(var fe=ke(y+1);++G<y;)fe[G]=k[G];return fe[y]=C(oe),Sr(h,this,fe)}}function $c(h,y){return y.length<2?h:wr(h,bl(y,0,-1))}function To(h,y){for(var C=h.length,k=bi(y.length,C),G=ca(h);k--;){var Z=y[k];h[k]=Kl(Z,C)?G[Z]:i}return h}function Gu(h,y){if(!(y==="constructor"&&typeof h[y]=="function")&&y!="__proto__")return h[y]}var Hg=Ih(Ws),dd=Vf||function(h,y){return na.setTimeout(h,y)},tl=Ih(ii);function Xu(h,y,C){var k=y+"";return tl(h,Bg(k,jg(Mg(k),C)))}function Ih(h){var y=0,C=0;return function(){var k=Pi(),G=Oe-(k-C);if(C=k,G>0){if(++y>=be)return arguments[0]}else y=0;return h.apply(i,arguments)}}function Qc(h,y){var C=-1,k=h.length,G=k-1;for(y=y===i?k:y;++C<y;){var Z=Ql(C,G),oe=h[Z];h[Z]=h[C],h[C]=oe}return h.length=y,h}var Co=D0(function(h){var y=[];return h.charCodeAt(0)===46&&y.push(""),h.replace(an,function(C,k,G,Z){y.push(G?Z.replace(mi,"$1"):k||C)}),y});function qn(h){if(typeof h=="string"||Pa(h))return h;var y=h+"";return y=="0"&&1/h==-1/0?"-0":y}function ys(h){if(h!=null){try{return Pf.call(h)}catch{}try{return h+""}catch{}}return""}function jg(h,y){return hl(de,function(C){var k="_."+C[0];y&C[1]&&!Wo(h,k)&&h.push(k)}),h.sort()}function fa(h){if(h instanceof fn)return h.clone();var y=new Cr(h.__wrapped__,h.__chain__);return y.__actions__=ca(h.__actions__),y.__index__=h.__index__,y.__values__=h.__values__,y}function O0(h,y,C){(C?lr(h,y,C):y===i)?y=1:y=si(qt(y),0);var k=h==null?0:h.length;if(!k||y<1)return[];for(var G=0,Z=0,oe=ke(vi(k/y));G<k;)oe[Z++]=bl(h,G,G+=y);return oe}function R0(h){for(var y=-1,C=h==null?0:h.length,k=0,G=[];++y<C;){var Z=h[y];Z&&(G[k++]=Z)}return G}function M0(){var h=arguments.length;if(!h)return[];for(var y=ke(h-1),C=arguments[0],k=h;k--;)y[k-1]=arguments[k];return zl(Bt(C)?ca(C):[C],rn(y,1))}var Mi=Xt(function(h,y){return Di(h)?$s(h,rn(y,1,Di,!0)):[]}),Ha=Xt(function(h,y){var C=wa(y);return Di(C)&&(C=i),Di(h)?$s(h,rn(y,1,Di,!0),Tt(C,2)):[]}),vs=Xt(function(h,y){var C=wa(y);return Di(C)&&(C=i),Di(h)?$s(h,rn(y,1,Di,!0),i,C):[]});function dn(h,y,C){var k=h==null?0:h.length;return k?(y=C||y===i?1:qt(y),bl(h,y<0?0:y,k)):[]}function Fg(h,y,C){var k=h==null?0:h.length;return k?(y=C||y===i?1:qt(y),y=k-y,bl(h,0,y<0?0:y)):[]}function N0(h,y){return h&&h.length?Nh(h,Tt(y,3),!0,!0):[]}function Ig(h,y){return h&&h.length?Nh(h,Tt(y,3),!0):[]}function Rr(h,y,C,k){var G=h==null?0:h.length;return G?(C&&typeof C!="number"&&lr(h,y,C)&&(C=0,k=G),Gt(h,y,C,k)):[]}function or(h,y,C){var k=h==null?0:h.length;if(!k)return-1;var G=C==null?0:qt(C);return G<0&&(G=si(k+G,0)),ih(h,Tt(y,3),G)}function hd(h,y,C){var k=h==null?0:h.length;if(!k)return-1;var G=k-1;return C!==i&&(G=qt(C),G=C<0?si(k+G,0):bi(G,k-1)),ih(h,Tt(y,3),G,!0)}function ya(h){var y=h==null?0:h.length;return y?rn(h,1):[]}function B0(h){var y=h==null?0:h.length;return y?rn(h,le):[]}function bs(h,y){var C=h==null?0:h.length;return C?(y=y===i?1:qt(y),rn(h,y)):[]}function Ni(h){for(var y=-1,C=h==null?0:h.length,k={};++y<C;){var G=h[y];k[G[0]]=G[1]}return k}function iu(h){return h&&h.length?h[0]:i}function Jl(h,y,C){var k=h==null?0:h.length;if(!k)return-1;var G=C==null?0:qt(C);return G<0&&(G=si(k+G,0)),Dc(h,y,G)}function Pg(h){var y=h==null?0:h.length;return y?bl(h,0,-1):[]}var ja=Xt(function(h){var y=xn(h,ju);return y.length&&y[0]===h[0]?dg(y):[]}),L0=Xt(function(h){var y=wa(h),C=xn(h,ju);return y===wa(C)?y=i:C.pop(),C.length&&C[0]===h[0]?dg(C,Tt(y,2)):[]}),au=Xt(function(h){var y=wa(h),C=xn(h,ju);return y=typeof y=="function"?y:i,y&&C.pop(),C.length&&C[0]===h[0]?dg(C,i,y):[]});function Fn(h,y){return h==null?"":Vl.call(h,y)}function wa(h){var y=h==null?0:h.length;return y?h[y-1]:i}function Yi(h,y,C){var k=h==null?0:h.length;if(!k)return-1;var G=k;return C!==i&&(G=qt(C),G=G<0?si(k+G,0):bi(G,k-1)),y===y?ka(h,y,G):ih(h,Uf,G,!0)}function Dv(h,y){return h&&h.length?wh(h,qt(y)):i}var k0=Xt($u);function $u(h,y){return h&&h.length&&y&&y.length?ad(h,y):h}function z0(h,y,C){return h&&h.length&&y&&y.length?ad(h,y,Tt(C,2)):h}function Mr(h,y,C){return h&&h.length&&y&&y.length?ad(h,y,i,C):h}var U0=xi(function(h,y){var C=h==null?0:h.length,k=Sh(h,y);return vg(h,xn(y,function(G){return Kl(G,C)?+G:G}).sort(Lh)),k});function H0(h,y){var C=[];if(!(h&&h.length))return C;var k=-1,G=[],Z=h.length;for(y=Tt(y,3);++k<Z;){var oe=h[k];y(oe,k,h)&&(C.push(oe),G.push(k))}return vg(h,G),C}function qg(h){return h==null?h:Lc.call(h)}function Vn(h,y,C){var k=h==null?0:h.length;return k?(C&&typeof C!="number"&&lr(h,y,C)?(y=0,C=k):(y=y==null?0:qt(y),C=C===i?k:qt(C)),bl(h,y,C)):[]}function fi(h,y){return Wr(h,y)}function mn(h,y,C){return Rh(h,y,Tt(C,2))}function yn(h,y){var C=h==null?0:h.length;if(C){var k=Wr(h,y);if(k<C&&ur(h[k],y))return k}return-1}function Qn(h,y){return Wr(h,y,!0)}function nl(h,y,C){return Rh(h,y,Tt(C,2),!0)}function xs(h,y){var C=h==null?0:h.length;if(C){var k=Wr(h,y,!0)-1;if(ur(h[k],y))return k}return-1}function pd(h){return h&&h.length?Mh(h):[]}function j0(h,y){return h&&h.length?Mh(h,Tt(y,2)):[]}function ru(h){var y=h==null?0:h.length;return y?bl(h,1,y):[]}function Gi(h,y,C){return h&&h.length?(y=C||y===i?1:qt(y),bl(h,0,y<0?0:y)):[]}function lu(h,y,C){var k=h==null?0:h.length;return k?(y=C||y===i?1:qt(y),y=k-y,bl(h,y<0?0:y,k)):[]}function Zc(h,y){return h&&h.length?Nh(h,Tt(y,3),!1,!0):[]}function Ss(h,y){return h&&h.length?Nh(h,Tt(y,3)):[]}var eo=Xt(function(h){return us(rn(h,1,Di,!0))}),gd=Xt(function(h){var y=wa(h);return Di(y)&&(y=i),us(rn(h,1,Di,!0),Tt(y,2))}),md=Xt(function(h){var y=wa(h);return y=typeof y=="function"?y:i,us(rn(h,1,Di,!0),i,y)});function il(h){return h&&h.length?us(h):[]}function F0(h,y){return h&&h.length?us(h,Tt(y,2)):[]}function I0(h,y){return y=typeof y=="function"?y:i,h&&h.length?us(h,i,y):[]}function yd(h){if(!(h&&h.length))return[];var y=0;return h=Ka(h,function(C){if(Di(C))return y=si(C.length,y),!0}),Jo(y,function(C){return xn(h,Ul(C))})}function Wc(h,y){if(!(h&&h.length))return[];var C=yd(h);return y==null?C:xn(C,function(k){return Sr(y,i,k)})}var Qu=Xt(function(h,y){return Di(h)?$s(h,y):[]}),Fa=Xt(function(h){return rd(Ka(h,Di))}),Es=Xt(function(h){var y=wa(h);return Di(y)&&(y=i),rd(Ka(h,Di),Tt(y,2))}),vd=Xt(function(h){var y=wa(h);return y=typeof y=="function"?y:i,rd(Ka(h,Di),i,y)}),Ia=Xt(yd);function Vg(h,y){return T0(h||[],y||[],ku)}function Yg(h,y){return T0(h||[],y||[],Zs)}var P0=Xt(function(h){var y=h.length,C=y>1?h[y-1]:i;return C=typeof C=="function"?(h.pop(),C):i,Wc(h,C)});function Kc(h){var y=X(h);return y.__chain__=!0,y}function q0(h,y){return y(h),h}function sr(h,y){return y(h)}var V0=xi(function(h){var y=h.length,C=y?h[0]:0,k=this.__wrapped__,G=function(Z){return Sh(Z,h)};return y>1||this.__actions__.length||!(k instanceof fn)||!Kl(C)?this.thru(G):(k=k.slice(C,+C+(y?1:0)),k.__actions__.push({func:sr,args:[G],thisArg:i}),new Cr(k,this.__chain__).thru(function(Z){return y&&!Z.length&&Z.push(i),Z}))});function Sl(){return Kc(this)}function bd(){return new Cr(this.value(),this.__chain__)}function Ph(){this.__values__===i&&(this.__values__=zi(this.value()));var h=this.__index__>=this.__values__.length,y=h?i:this.__values__[this.__index__++];return{done:h,value:y}}function Ov(){return this}function ou(h){for(var y,C=this;C instanceof yl;){var k=fa(C);k.__index__=0,k.__values__=i,y?G.__wrapped__=k:y=k;var G=k;C=C.__wrapped__}return G.__wrapped__=h,y}function Jc(){var h=this.__wrapped__;if(h instanceof fn){var y=h;return this.__actions__.length&&(y=new fn(this)),y=y.reverse(),y.__actions__.push({func:sr,args:[qg],thisArg:i}),new Cr(y,this.__chain__)}return this.thru(qg)}function Zu(){return Tv(this.__wrapped__,this.__actions__)}var As=ga(function(h,y,C){Rn.call(h,C)?++h[C]:vo(h,C,1)});function Y0(h,y,C){var k=Bt(h)?i0:Wf;return C&&lr(h,y,C)&&(y=i),k(h,Tt(y,3))}function Rv(h,y){var C=Bt(h)?Ka:jn;return C(h,Tt(y,3))}var ef=xo(or),tf=xo(hd);function Gg(h,y){return rn(Vh(h,y),1)}function Xg(h,y){return rn(Vh(h,y),le)}function G0(h,y,C){return C=C===i?1:qt(C),rn(Vh(h,y),C)}function $g(h,y){var C=Bt(h)?hl:wi;return C(h,Tt(y,3))}function Qg(h,y){var C=Bt(h)?n0:Hc;return C(h,Tt(y,3))}var X0=ga(function(h,y,C){Rn.call(h,C)?h[C].push(y):vo(h,C,[y])});function xd(h,y,C,k){h=aa(h)?h:of(h),C=C&&!k?qt(C):0;var G=h.length;return C<0&&(C=si(G+C,0)),rm(h)?C<=G&&h.indexOf(y,C)>-1:!!G&&Dc(h,y,C)>-1}var qh=Xt(function(h,y,C){var k=-1,G=typeof y=="function",Z=aa(h)?ke(h.length):[];return wi(h,function(oe){Z[++k]=G?Sr(y,oe,C):ss(oe,y,C)}),Z}),Mv=ga(function(h,y,C){vo(h,C,y)});function Vh(h,y){var C=Bt(h)?xn:mg;return C(h,Tt(y,3))}function Nv(h,y,C,k){return h==null?[]:(Bt(y)||(y=y==null?[]:[y]),C=k?i:C,Bt(C)||(C=C==null?[]:[C]),id(h,y,C))}var Yh=ga(function(h,y,C){h[C?0:1].push(y)},function(){return[[],[]]});function Zg(h,y,C){var k=Bt(h)?zf:lh,G=arguments.length<3;return k(h,Tt(y,4),C,G,wi)}function Bv(h,y,C){var k=Bt(h)?a0:lh,G=arguments.length<3;return k(h,Tt(y,4),C,G,Hc)}function Wg(h,y){var C=Bt(h)?Ka:jn;return C(h,Ed(Tt(y,3)))}function $0(h){var y=Bt(h)?Lu:Zr;return y(h)}function Q0(h,y,C){(C?lr(h,y,C):y===i)?y=1:y=qt(y);var k=Bt(h)?y0:Oh;return k(h,y)}function ei(h){var y=Bt(h)?v0:Av;return y(h)}function Kg(h){if(h==null)return 0;if(aa(h))return rm(h)?gl(h):h.length;var y=_a(h);return y==Rt||y==Zt?h.size:td(h).length}function Z0(h,y,C){var k=Bt(h)?Ja:A0;return C&&lr(h,y,C)&&(y=i),k(h,Tt(y,3))}var W0=Xt(function(h,y){if(h==null)return[];var C=y.length;return C>1&&lr(h,y[0],y[1])?y=[]:C>2&&lr(y[0],y[1],y[2])&&(y=[y[0]]),id(h,rn(y,1),[])}),Jg=ql||function(){return na.Date.now()};function B1(h,y){if(typeof y!="function")throw new ml(f);return h=qt(h),function(){if(--h<1)return y.apply(this,arguments)}}function Lv(h,y,C){return y=C?i:y,y=h&&y==null?h.length:y,Eo(h,j,i,i,i,i,y)}function Gh(h,y){var C;if(typeof y!="function")throw new ml(f);return h=qt(h),function(){return--h>0&&(C=y.apply(this,arguments)),h<=1&&(y=i),C}}var Ts=Xt(function(h,y,C){var k=w;if(C.length){var G=Er(C,Wl(Ts));k|=R}return Eo(h,k,y,C,G)}),Sd=Xt(function(h,y,C){var k=w|U;if(C.length){var G=Er(C,Wl(Sd));k|=R}return Eo(y,k,h,C,G)});function nf(h,y,C){y=C?i:y;var k=Eo(h,P,i,i,i,i,i,y);return k.placeholder=nf.placeholder,k}function Xh(h,y,C){y=C?i:y;var k=Eo(h,z,i,i,i,i,i,y);return k.placeholder=Xh.placeholder,k}function su(h,y,C){var k,G,Z,oe,fe,Se,Je=0,$e=!1,et=!1,lt=!0;if(typeof h!="function")throw new ml(f);y=Br(y)||0,Yn(C)&&($e=!!C.leading,et="maxWait"in C,Z=et?si(Br(C.maxWait)||0,y):Z,lt="trailing"in C?!!C.trailing:lt);function yt(ba){var hu=k,df=G;return k=G=i,Je=ba,oe=h.apply(df,hu),oe}function Mt(ba){return Je=ba,fe=dd(vn,y),$e?yt(ba):oe}function en(ba){var hu=ba-Se,df=ba-Je,q1=y-hu;return et?bi(q1,Z-df):q1}function Dt(ba){var hu=ba-Se,df=ba-Je;return Se===i||hu>=y||hu<0||et&&df>=Z}function vn(){var ba=Jg();if(Dt(ba))return Nn(ba);fe=dd(vn,en(ba))}function Nn(ba){return fe=i,lt&&k?yt(ba):(k=G=i,oe)}function io(){fe!==i&&Sg(fe),Je=0,k=Se=G=fe=i}function ol(){return fe===i?oe:Nn(Jg())}function ao(){var ba=Jg(),hu=Dt(ba);if(k=arguments,G=this,Se=ba,hu){if(fe===i)return Mt(Se);if(et)return Sg(fe),fe=dd(vn,y),yt(Se)}return fe===i&&(fe=dd(vn,y)),oe}return ao.cancel=io,ao.flush=ol,ao}var al=Xt(function(h,y){return zu(h,1,y)}),$h=Xt(function(h,y,C){return zu(h,Br(y)||0,C)});function kv(h){return Eo(h,W)}function Wu(h,y){if(typeof h!="function"||y!=null&&typeof y!="function")throw new ml(f);var C=function(){var k=arguments,G=y?y.apply(this,k):k[0],Z=C.cache;if(Z.has(G))return Z.get(G);var oe=h.apply(this,k);return C.cache=Z.set(G,oe)||Z,oe};return C.cache=new(Wu.Cache||ci),C}Wu.Cache=ci;function Ed(h){if(typeof h!="function")throw new ml(f);return function(){var y=arguments;switch(y.length){case 0:return!h.call(this);case 1:return!h.call(this,y[0]);case 2:return!h.call(this,y[0],y[1]);case 3:return!h.call(this,y[0],y[1],y[2])}return!h.apply(this,y)}}function zv(h){return Gh(2,h)}var Qh=Cv(function(h,y){y=y.length==1&&Bt(y[0])?xn(y[0],Pr(Tt())):xn(rn(y,1),Pr(Tt()));var C=y.length;return Xt(function(k){for(var G=-1,Z=bi(k.length,C);++G<Z;)k[G]=y[G].call(this,k[G]);return Sr(h,this,k)})}),em=Xt(function(h,y){var C=Er(y,Wl(em));return Eo(h,R,i,y,C)}),Ku=Xt(function(h,y){var C=Er(y,Wl(Ku));return Eo(h,H,i,y,C)}),tm=xi(function(h,y){return Eo(h,K,i,i,i,y)});function Zh(h,y){if(typeof h!="function")throw new ml(f);return y=y===i?y:qt(y),Xt(h,y)}function Uv(h,y){if(typeof h!="function")throw new ml(f);return y=y==null?0:si(qt(y),0),Xt(function(C){var k=C[y],G=Ks(C,0,y);return k&&zl(G,k),Sr(h,this,G)})}function Xi(h,y,C){var k=!0,G=!0;if(typeof h!="function")throw new ml(f);return Yn(C)&&(k="leading"in C?!!C.leading:k,G="trailing"in C?!!C.trailing:G),su(h,y,{leading:k,maxWait:y,trailing:G})}function Wh(h){return Lv(h,1)}function L1(h,y){return em(Kr(y),h)}function Kt(){if(!arguments.length)return[];var h=arguments[0];return Bt(h)?h:[h]}function Kh(h){return sa(h,O)}function Ju(h,y){return y=typeof y=="function"?y:i,sa(h,O,y)}function af(h){return sa(h,E|O)}function $t(h,y){return y=typeof y=="function"?y:i,sa(h,E|O,y)}function Ad(h,y){return y==null||Zf(h,y,da(y))}function ur(h,y){return h===y||h!==h&&y!==y}var K0=Pu(Kf),nm=Pu(function(h,y){return h>=y}),Da=Eh(function(){return arguments}())?Eh:function(h){return di(h)&&Rn.call(h,"callee")&&!Nc.call(h,"callee")},Bt=ke.isArray,Td=Xp?Pr(Xp):rr;function aa(h){return h!=null&&Nr(h.length)&&!Al(h)}function Di(h){return di(h)&&aa(h)}function El(h){return h===!0||h===!1||di(h)&&gn(h)==Ke}var Cs=hh||I1,Hv=gv?Pr(gv):qi;function J0(h){return di(h)&&h.nodeType===1&&!to(h)}function im(h){if(h==null)return!0;if(aa(h)&&(Bt(h)||typeof h=="string"||typeof h.splice=="function"||Cs(h)||Dd(h)||Da(h)))return!h.length;var y=_a(h);if(y==Rt||y==Zt)return!h.size;if(_t(h))return!td(h).length;for(var C in h)if(Rn.call(h,C))return!1;return!0}function Pt(h,y){return Qs(h,y)}function ze(h,y,C){C=typeof C=="function"?C:i;var k=C?C(h,y):i;return k===i?Qs(h,y,i,C):!!k}function Ht(h){if(!di(h))return!1;var y=gn(h);return y==nt||y==De||typeof h.message=="string"&&typeof h.name=="string"&&!to(h)}function k1(h){return typeof h=="number"&&Bc(h)}function Al(h){if(!Yn(h))return!1;var y=gn(h);return y==Ie||y==Ct||y==at||y==Ea}function Cd(h){return typeof h=="number"&&h==qt(h)}function Nr(h){return typeof h=="number"&&h>-1&&h%1==0&&h<=ve}function Yn(h){var y=typeof h;return h!=null&&(y=="object"||y=="function")}function di(h){return h!=null&&typeof h=="object"}var _o=mv?Pr(mv):ua;function _d(h,y){return h===y||Jf(h,y,Uh(y))}function uu(h,y,C){return C=typeof C=="function"?C:i,Jf(h,y,Uh(y),C)}function am(h){return wo(h)&&h!=+h}function z1(h){if(fd(h))throw new kt(c);return bo(h)}function jv(h){return h===null}function U1(h){return h==null}function wo(h){return typeof h=="number"||di(h)&&gn(h)==Et}function to(h){if(!di(h)||gn(h)!=Ut)return!1;var y=Vs(h);if(y===null)return!0;var C=Rn.call(y,"constructor")&&y.constructor;return typeof C=="function"&&C instanceof C&&Pf.call(C)==qr}var wd=yv?Pr(yv):Th;function Jh(h){return Cd(h)&&h>=-9007199254740991&&h<=ve}var rf=kf?Pr(kf):pg;function rm(h){return typeof h=="string"||!Bt(h)&&di(h)&&gn(h)==pt}function Pa(h){return typeof h=="symbol"||di(h)&&gn(h)==Dn}var Dd=t0?Pr(t0):gg;function Do(h){return h===i}function ec(h){return di(h)&&_a(h)==Ba}function qa(h){return di(h)&&gn(h)==Lt}var ct=Pu(Ch),rl=Pu(function(h,y){return h<=y});function zi(h){if(!h)return[];if(aa(h))return rm(h)?Ta(h):ca(h);if(Ys&&h[Ys])return jf(h[Ys]());var y=_a(h),C=y==Rt?sh:y==Zt?Il:of;return C(h)}function Bi(h){if(!h)return h===0?h:0;if(h=Br(h),h===le||h===-1/0){var y=h<0?-1:1;return y*Qe}return h===h?h:0}function qt(h){var y=Bi(h),C=y%1;return y===y?C?y-C:y:0}function _s(h){return h?$l(qt(h),0,Ee):0}function Br(h){if(typeof h=="number")return h;if(Pa(h))return ne;if(Yn(h)){var y=typeof h.valueOf=="function"?h.valueOf():h;h=Yn(y)?y+"":y}if(typeof h!="string")return h===0?h:+h;h=Ou(h);var C=Ji.test(h);return C||yr.test(h)?pv(h.slice(2),C?2:8):co.test(h)?ne:+h}function ep(h){return Dr(h,va(h))}function Va(h){return h?$l(qt(h),-9007199254740991,ve):h===0?h:0}function Jt(h){return h==null?"":pa(h)}var cu=Fu(function(h,y){if(_t(y)||aa(y)){Dr(y,da(y),h);return}for(var C in y)Rn.call(y,C)&&ku(h,C,y[C])}),tp=Fu(function(h,y){Dr(y,va(y),h)}),Oo=Fu(function(h,y,C,k){Dr(y,va(y),h,k)}),cr=Fu(function(h,y,C,k){Dr(y,da(y),h,k)}),ll=xi(Sh);function tc(h,y){var C=Xr(h);return y==null?C:yo(C,y)}var ey=Xt(function(h,y){h=Sn(h);var C=-1,k=y.length,G=k>2?y[2]:i;for(G&&lr(y[0],y[1],G)&&(k=1);++C<k;)for(var Z=y[C],oe=va(Z),fe=-1,Se=oe.length;++fe<Se;){var Je=oe[fe],$e=h[Je];($e===i||ur($e,Mc[Je])&&!Rn.call(h,Je))&&(h[Je]=Z[Je])}return h}),Fv=Xt(function(h){return h.push(i,wg),Sr(Bd,i,h)});function Od(h,y){return Qp(h,Tt(y,3),Ua)}function Rd(h,y){return Qp(h,Tt(y,3),vl)}function Md(h,y){return h==null?h:jc(h,Tt(y,3),va)}function Iv(h,y){return h==null?h:Qr(h,Tt(y,3),va)}function no(h,y){return h&&Ua(h,Tt(y,3))}function lf(h,y){return h&&vl(h,Tt(y,3))}function Pv(h){return h==null?[]:ar(h,da(h))}function lm(h){return h==null?[]:ar(h,va(h))}function Nd(h,y,C){var k=h==null?i:wr(h,y);return k===i?C:k}function om(h,y){return h!=null&&Hh(h,y,fg)}function ws(h,y){return h!=null&&Hh(h,y,Uu)}var ty=ld(function(h,y,C){y!=null&&typeof y.toString!="function"&&(y=tr.call(y)),h[y]=C},Ce(_e)),ny=ld(function(h,y,C){y!=null&&typeof y.toString!="function"&&(y=tr.call(y)),Rn.call(h,y)?h[y].push(C):h[y]=[C]},Tt),qv=Xt(ss);function da(h){return aa(h)?sg(h):td(h)}function va(h){return aa(h)?sg(h,!0):x0(h)}function Vv(h,y){var C={};return y=Tt(y,3),Ua(h,function(k,G,Z){vo(C,y(k,G,Z),k)}),C}function Yv(h,y){var C={};return y=Tt(y,3),Ua(h,function(k,G,Z){vo(C,G,y(k,G,Z))}),C}var iy=Fu(function(h,y,C){Fc(h,y,C)}),Bd=Fu(function(h,y,C,k){Fc(h,y,C,k)}),Ld=xi(function(h,y){var C={};if(h==null)return C;var k=!1;y=xn(y,function(Z){return Z=cs(Z,h),k||(k=Z.length>1),Z}),Dr(h,Ao(h),C),k&&(C=sa(C,E|_|O,el));for(var G=y.length;G--;)Ic(C,y[G]);return C});function np(h,y){return Lr(h,Ed(Tt(y)))}var Tl=xi(function(h,y){return h==null?{}:yg(h,y)});function Lr(h,y){if(h==null)return{};var C=xn(Ao(h),function(k){return[k]});return y=Tt(y),Dh(h,C,function(k,G){return y(k,G[0])})}function H1(h,y,C){y=cs(y,h);var k=-1,G=y.length;for(G||(G=1,h=i);++k<G;){var Z=h==null?i:h[qn(y[k])];Z===i&&(k=G,Z=C),h=Al(Z)?Z.call(h):Z}return h}function ay(h,y,C){return h==null?h:Zs(h,y,C)}function ry(h,y,C,k){return k=typeof k=="function"?k:i,h==null?h:Zs(h,y,C,k)}var sm=sd(da),um=sd(va);function cm(h,y,C){var k=Bt(h),G=k||Cs(h)||Dd(h);if(y=Tt(y,4),C==null){var Z=h&&h.constructor;G?C=k?new Z:[]:Yn(h)?C=Al(Z)?Xr(Vs(h)):{}:C={}}return(G?hl:Ua)(h,function(oe,fe,Se){return y(C,oe,fe,Se)}),C}function ly(h,y){return h==null?!0:Ic(h,y)}function ip(h,y,C){return h==null?h:xg(h,y,Kr(C))}function Gv(h,y,C,k){return k=typeof k=="function"?k:i,h==null?h:xg(h,y,Kr(C),k)}function of(h){return h==null?[]:Hf(h,da(h))}function oy(h){return h==null?[]:Hf(h,va(h))}function fm(h,y,C){return C===i&&(C=y,y=i),C!==i&&(C=Br(C),C=C===C?C:0),y!==i&&(y=Br(y),y=y===y?y:0),$l(Br(h),y,C)}function dm(h,y,C){return y=Bi(y),C===i?(C=y,y=0):C=Bi(C),h=Br(h),b0(h,y,C)}function sy(h,y,C){if(C&&typeof C!="boolean"&&lr(h,y,C)&&(y=C=i),C===i&&(typeof y=="boolean"?(C=y,y=i):typeof h=="boolean"&&(C=h,h=i)),h===i&&y===i?(h=0,y=1):(h=Bi(h),y===i?(y=h,h=0):y=Bi(y)),h>y){var k=h;h=y,y=k}if(C||h%1||y%1){var G=ph();return bi(h+G*(y-h+nh("1e-"+((G+"").length-1))),y)}return Ql(h,y)}var uy=ia(function(h,y,C){return y=y.toLowerCase(),h+(C?sf(y):y)});function sf(h){return v(Jt(h).toLowerCase())}function Ro(h){return h=Jt(h),h&&h.replace(Xo,es).replace(Zo,"")}function fu(h,y,C){h=Jt(h),y=pa(y);var k=h.length;C=C===i?k:$l(qt(C),0,k);var G=C;return C-=y.length,C>=0&&h.slice(C,G)==y}function du(h){return h=Jt(h),h&&Fi.test(h)?h.replace(ri,o0):h}function ap(h){return h=Jt(h),h&&kn.test(h)?h.replace(Hn,"\\$&"):h}var rp=ia(function(h,y,C){return h+(C?"-":"")+y.toLowerCase()}),nc=ia(function(h,y,C){return h+(C?" ":"")+y.toLowerCase()}),Xv=Jr("toLowerCase");function uf(h,y,C){h=Jt(h),y=qt(y);var k=y?gl(h):0;if(!y||k>=y)return h;var G=(y-k)/2;return eu(go(G),C)+h+eu(vi(G),C)}function cf(h,y,C){h=Jt(h),y=qt(y);var k=y?gl(h):0;return y&&k<y?h+eu(y-k,C):h}function $v(h,y,C){h=Jt(h),y=qt(y);var k=y?gl(h):0;return y&&k<y?eu(y-k,C)+h:h}function cy(h,y,C){return C||y==null?y=0:y&&(y=+y),Tn(Jt(h).replace(Ki,""),y||0)}function lp(h,y,C){return(C?lr(h,y,C):y===i)?y=1:y=qt(y),E0(Jt(h),y)}function op(){var h=arguments,y=Jt(h[0]);return h.length<3?y:y.replace(h[1],h[2])}var kd=ia(function(h,y,C){return h+(C?"_":"")+y.toLowerCase()});function hm(h,y,C){return C&&typeof C!="number"&&lr(h,y,C)&&(y=C=i),C=C===i?Ee:C>>>0,C?(h=Jt(h),h&&(typeof y=="string"||y!=null&&!wd(y))&&(y=pa(y),!y&&Fl(h))?Ks(Ta(h),0,C):h.split(y,C)):[]}var ff=ia(function(h,y,C){return h+(C?" ":"")+v(y)});function fy(h,y,C){return h=Jt(h),C=C==null?0:$l(qt(C),0,h.length),y=pa(y),h.slice(C,C+y.length)==y}function Ds(h,y,C){var k=X.templateSettings;C&&lr(h,y,C)&&(y=i),h=Jt(h),y=Oo({},y,k,_g);var G=Oo({},y.imports,k.imports,_g),Z=da(G),oe=Hf(G,Z),fe,Se,Je=0,$e=y.interpolate||xc,et="__p += '",lt=Wp((y.escape||xc).source+"|"+$e.source+"|"+($e===Ii?ks:xc).source+"|"+(y.evaluate||xc).source+"|$","g"),yt="//# sourceURL="+(Rn.call(y,"sourceURL")?(y.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Jm+"]")+`
|
|
32
|
+
`;h.replace(lt,function(Dt,vn,Nn,io,ol,ao){return Nn||(Nn=io),et+=h.slice(Je,ao).replace(wf,s0),vn&&(fe=!0,et+=`' +
|
|
33
|
+
__e(`+vn+`) +
|
|
34
|
+
'`),ol&&(Se=!0,et+=`';
|
|
35
|
+
`+ol+`;
|
|
36
|
+
__p += '`),Nn&&(et+=`' +
|
|
37
|
+
((__t = (`+Nn+`)) == null ? '' : __t) +
|
|
38
|
+
'`),Je=ao+Dt.length,Dt}),et+=`';
|
|
39
|
+
`;var Mt=Rn.call(y,"variable")&&y.variable;if(!Mt)et=`with (obj) {
|
|
40
|
+
`+et+`
|
|
41
|
+
}
|
|
42
|
+
`;else if(Vo.test(Mt))throw new kt(p);et=(Se?et.replace(Ai,""):et).replace(mr,"$1").replace(uo,"$1;"),et="function("+(Mt||"obj")+`) {
|
|
43
|
+
`+(Mt?"":`obj || (obj = {});
|
|
44
|
+
`)+"var __t, __p = ''"+(fe?", __e = _.escape":"")+(Se?`, __j = Array.prototype.join;
|
|
45
|
+
function print() { __p += __j.call(arguments, '') }
|
|
46
|
+
`:`;
|
|
47
|
+
`)+et+`return __p
|
|
48
|
+
}`;var en=D(function(){return Vt(Z,yt+"return "+et).apply(i,oe)});if(en.source=et,Ht(en))throw en;return en}function dy(h){return Jt(h).toLowerCase()}function pm(h){return Jt(h).toUpperCase()}function hy(h,y,C){if(h=Jt(h),h&&(C||y===i))return Ou(h);if(!h||!(y=pa(y)))return h;var k=Ta(h),G=Ta(y),Z=Hl(k,G),oe=jl(k,G)+1;return Ks(k,Z,oe).join("")}function kr(h,y,C){if(h=Jt(h),h&&(C||y===i))return h.slice(0,yi(h)+1);if(!h||!(y=pa(y)))return h;var k=Ta(h),G=jl(k,Ta(y))+1;return Ks(k,0,G).join("")}function sp(h,y,C){if(h=Jt(h),h&&(C||y===i))return h.replace(Ki,"");if(!h||!(y=pa(y)))return h;var k=Ta(h),G=Hl(k,Ta(y));return Ks(k,G).join("")}function l(h,y){var C=ge,k=ce;if(Yn(y)){var G="separator"in y?y.separator:G;C="length"in y?qt(y.length):C,k="omission"in y?pa(y.omission):k}h=Jt(h);var Z=h.length;if(Fl(h)){var oe=Ta(h);Z=oe.length}if(C>=Z)return h;var fe=C-gl(k);if(fe<1)return k;var Se=oe?Ks(oe,0,fe).join(""):h.slice(0,fe);if(G===i)return Se+k;if(oe&&(fe+=Se.length-fe),wd(G)){if(h.slice(fe).search(G)){var Je,$e=Se;for(G.global||(G=Wp(G.source,Jt(Yo.exec(G))+"g")),G.lastIndex=0;Je=G.exec($e);)var et=Je.index;Se=Se.slice(0,et===i?fe:et)}}else if(h.indexOf(pa(G),fe)!=fe){var lt=Se.lastIndexOf(G);lt>-1&&(Se=Se.slice(0,lt))}return Se+k}function u(h){return h=Jt(h),h&&ha.test(h)?h.replace(fl,ch):h}var d=ia(function(h,y,C){return h+(C?" ":"")+y.toUpperCase()}),v=Jr("toUpperCase");function T(h,y,C){return h=Jt(h),y=C?i:y,y===i?u0(h)?Rc(h):wc(h):h.match(y)||[]}var D=Xt(function(h,y){try{return Sr(h,i,y)}catch(C){return Ht(C)?C:new kt(C)}}),V=xi(function(h,y){return hl(y,function(C){C=qn(C),vo(h,C,Ts(h[C],h))}),h});function $(h){var y=h==null?0:h.length,C=Tt();return h=y?xn(h,function(k){if(typeof k[1]!="function")throw new ml(f);return[C(k[0]),k[1]]}):[],Xt(function(k){for(var G=-1;++G<y;){var Z=h[G];if(Sr(Z[0],this,k))return Sr(Z[1],this,k)}})}function re(h){return ug(sa(h,E))}function Ce(h){return function(){return h}}function Xe(h,y){return h==null||h!==h?y:h}var We=Zl(),Ne=Zl(!0);function _e(h){return h}function At(h){return ed(typeof h=="function"?h:sa(h,E))}function wt(h){return _h(sa(h,E))}function In(h,y){return nd(h,sa(y,E))}var xe=Xt(function(h,y){return function(C){return ss(C,h,y)}}),he=Xt(function(h,y){return function(C){return ss(h,C,y)}});function Te(h,y,C){var k=da(y),G=ar(y,k);C==null&&!(Yn(y)&&(G.length||!k.length))&&(C=y,y=h,h=this,G=ar(y,da(y)));var Z=!(Yn(C)&&"chain"in C)||!!C.chain,oe=Al(h);return hl(G,function(fe){var Se=y[fe];h[fe]=Se,oe&&(h.prototype[fe]=function(){var Je=this.__chain__;if(Z||Je){var $e=h(this.__wrapped__),et=$e.__actions__=ca(this.__actions__);return et.push({func:Se,args:arguments,thisArg:h}),$e.__chain__=Je,$e}return Se.apply(h,zl([this.value()],arguments))})}),h}function Ze(){return na._===this&&(na._=Mu),this}function dt(){}function ln(h){return h=qt(h),Xt(function(y){return wh(y,h)})}var St=od(xn),zt=od(i0),Oa=od(Ja);function Cn(h){return Lg(h)?Ul(qn(h)):S0(h)}function ic(h){return function(y){return h==null?i:wr(h,y)}}var j1=tu(),HC=tu(!0);function F1(){return[]}function I1(){return!1}function yE(){return{}}function jC(){return""}function FC(){return!0}function IC(h,y){if(h=qt(h),h<1||h>ve)return[];var C=Ee,k=bi(h,Ee);y=Tt(y),h-=Ee;for(var G=Jo(k,y);++C<h;)y(C);return G}function PC(h){return Bt(h)?xn(h,qn):Pa(h)?[h]:ca(Co(Jt(h)))}function qC(h){var y=++Pl;return Jt(h)+y}var VC=So(function(h,y){return h+y},0),YC=kh("ceil"),vE=So(function(h,y){return h/y},1),GC=kh("floor");function XC(h){return h&&h.length?_r(h,_e,Kf):i}function $C(h,y){return h&&h.length?_r(h,Tt(y,2),Kf):i}function QC(h){return Zp(h,_e)}function ZC(h,y){return Zp(h,Tt(y,2))}function WC(h){return h&&h.length?_r(h,_e,Ch):i}function KC(h,y){return h&&h.length?_r(h,Tt(y,2),Ch):i}var JC=So(function(h,y){return h*y},1),e_=kh("round"),bE=So(function(h,y){return h-y},0);function P1(h){return h&&h.length?Ko(h,_e):0}function py(h,y){return h&&h.length?Ko(h,Tt(y,2)):0}return X.after=B1,X.ary=Lv,X.assign=cu,X.assignIn=tp,X.assignInWith=Oo,X.assignWith=cr,X.at=ll,X.before=Gh,X.bind=Ts,X.bindAll=V,X.bindKey=Sd,X.castArray=Kt,X.chain=Kc,X.chunk=O0,X.compact=R0,X.concat=M0,X.cond=$,X.conforms=re,X.constant=Ce,X.countBy=As,X.create=tc,X.curry=nf,X.curryRight=Xh,X.debounce=su,X.defaults=ey,X.defaultsDeep=Fv,X.defer=al,X.delay=$h,X.difference=Mi,X.differenceBy=Ha,X.differenceWith=vs,X.drop=dn,X.dropRight=Fg,X.dropRightWhile=N0,X.dropWhile=Ig,X.fill=Rr,X.filter=Rv,X.flatMap=Gg,X.flatMapDeep=Xg,X.flatMapDepth=G0,X.flatten=ya,X.flattenDeep=B0,X.flattenDepth=bs,X.flip=kv,X.flow=We,X.flowRight=Ne,X.fromPairs=Ni,X.functions=Pv,X.functionsIn=lm,X.groupBy=X0,X.initial=Pg,X.intersection=ja,X.intersectionBy=L0,X.intersectionWith=au,X.invert=ty,X.invertBy=ny,X.invokeMap=qh,X.iteratee=At,X.keyBy=Mv,X.keys=da,X.keysIn=va,X.map=Vh,X.mapKeys=Vv,X.mapValues=Yv,X.matches=wt,X.matchesProperty=In,X.memoize=Wu,X.merge=iy,X.mergeWith=Bd,X.method=xe,X.methodOf=he,X.mixin=Te,X.negate=Ed,X.nthArg=ln,X.omit=Ld,X.omitBy=np,X.once=zv,X.orderBy=Nv,X.over=St,X.overArgs=Qh,X.overEvery=zt,X.overSome=Oa,X.partial=em,X.partialRight=Ku,X.partition=Yh,X.pick=Tl,X.pickBy=Lr,X.property=Cn,X.propertyOf=ic,X.pull=k0,X.pullAll=$u,X.pullAllBy=z0,X.pullAllWith=Mr,X.pullAt=U0,X.range=j1,X.rangeRight=HC,X.rearg=tm,X.reject=Wg,X.remove=H0,X.rest=Zh,X.reverse=qg,X.sampleSize=Q0,X.set=ay,X.setWith=ry,X.shuffle=ei,X.slice=Vn,X.sortBy=W0,X.sortedUniq=pd,X.sortedUniqBy=j0,X.split=hm,X.spread=Uv,X.tail=ru,X.take=Gi,X.takeRight=lu,X.takeRightWhile=Zc,X.takeWhile=Ss,X.tap=q0,X.throttle=Xi,X.thru=sr,X.toArray=zi,X.toPairs=sm,X.toPairsIn=um,X.toPath=PC,X.toPlainObject=ep,X.transform=cm,X.unary=Wh,X.union=eo,X.unionBy=gd,X.unionWith=md,X.uniq=il,X.uniqBy=F0,X.uniqWith=I0,X.unset=ly,X.unzip=yd,X.unzipWith=Wc,X.update=ip,X.updateWith=Gv,X.values=of,X.valuesIn=oy,X.without=Qu,X.words=T,X.wrap=L1,X.xor=Fa,X.xorBy=Es,X.xorWith=vd,X.zip=Ia,X.zipObject=Vg,X.zipObjectDeep=Yg,X.zipWith=P0,X.entries=sm,X.entriesIn=um,X.extend=tp,X.extendWith=Oo,Te(X,X),X.add=VC,X.attempt=D,X.camelCase=uy,X.capitalize=sf,X.ceil=YC,X.clamp=fm,X.clone=Kh,X.cloneDeep=af,X.cloneDeepWith=$t,X.cloneWith=Ju,X.conformsTo=Ad,X.deburr=Ro,X.defaultTo=Xe,X.divide=vE,X.endsWith=fu,X.eq=ur,X.escape=du,X.escapeRegExp=ap,X.every=Y0,X.find=ef,X.findIndex=or,X.findKey=Od,X.findLast=tf,X.findLastIndex=hd,X.findLastKey=Rd,X.floor=GC,X.forEach=$g,X.forEachRight=Qg,X.forIn=Md,X.forInRight=Iv,X.forOwn=no,X.forOwnRight=lf,X.get=Nd,X.gt=K0,X.gte=nm,X.has=om,X.hasIn=ws,X.head=iu,X.identity=_e,X.includes=xd,X.indexOf=Jl,X.inRange=dm,X.invoke=qv,X.isArguments=Da,X.isArray=Bt,X.isArrayBuffer=Td,X.isArrayLike=aa,X.isArrayLikeObject=Di,X.isBoolean=El,X.isBuffer=Cs,X.isDate=Hv,X.isElement=J0,X.isEmpty=im,X.isEqual=Pt,X.isEqualWith=ze,X.isError=Ht,X.isFinite=k1,X.isFunction=Al,X.isInteger=Cd,X.isLength=Nr,X.isMap=_o,X.isMatch=_d,X.isMatchWith=uu,X.isNaN=am,X.isNative=z1,X.isNil=U1,X.isNull=jv,X.isNumber=wo,X.isObject=Yn,X.isObjectLike=di,X.isPlainObject=to,X.isRegExp=wd,X.isSafeInteger=Jh,X.isSet=rf,X.isString=rm,X.isSymbol=Pa,X.isTypedArray=Dd,X.isUndefined=Do,X.isWeakMap=ec,X.isWeakSet=qa,X.join=Fn,X.kebabCase=rp,X.last=wa,X.lastIndexOf=Yi,X.lowerCase=nc,X.lowerFirst=Xv,X.lt=ct,X.lte=rl,X.max=XC,X.maxBy=$C,X.mean=QC,X.meanBy=ZC,X.min=WC,X.minBy=KC,X.stubArray=F1,X.stubFalse=I1,X.stubObject=yE,X.stubString=jC,X.stubTrue=FC,X.multiply=JC,X.nth=Dv,X.noConflict=Ze,X.noop=dt,X.now=Jg,X.pad=uf,X.padEnd=cf,X.padStart=$v,X.parseInt=cy,X.random=sy,X.reduce=Zg,X.reduceRight=Bv,X.repeat=lp,X.replace=op,X.result=H1,X.round=e_,X.runInContext=me,X.sample=$0,X.size=Kg,X.snakeCase=kd,X.some=Z0,X.sortedIndex=fi,X.sortedIndexBy=mn,X.sortedIndexOf=yn,X.sortedLastIndex=Qn,X.sortedLastIndexBy=nl,X.sortedLastIndexOf=xs,X.startCase=ff,X.startsWith=fy,X.subtract=bE,X.sum=P1,X.sumBy=py,X.template=Ds,X.times=IC,X.toFinite=Bi,X.toInteger=qt,X.toLength=_s,X.toLower=dy,X.toNumber=Br,X.toSafeInteger=Va,X.toString=Jt,X.toUpper=pm,X.trim=hy,X.trimEnd=kr,X.trimStart=sp,X.truncate=l,X.unescape=u,X.uniqueId=qC,X.upperCase=d,X.upperFirst=v,X.each=$g,X.eachRight=Qg,X.first=iu,Te(X,function(){var h={};return Ua(X,function(y,C){Rn.call(X.prototype,C)||(h[C]=y)}),h}(),{chain:!1}),X.VERSION=r,hl(["bind","bindKey","curry","curryRight","partial","partialRight"],function(h){X[h].placeholder=X}),hl(["drop","take"],function(h,y){fn.prototype[h]=function(C){C=C===i?1:si(qt(C),0);var k=this.__filtered__&&!y?new fn(this):this.clone();return k.__filtered__?k.__takeCount__=bi(C,k.__takeCount__):k.__views__.push({size:bi(C,Ee),type:h+(k.__dir__<0?"Right":"")}),k},fn.prototype[h+"Right"]=function(C){return this.reverse()[h](C).reverse()}}),hl(["filter","map","takeWhile"],function(h,y){var C=y+1,k=C==Ae||C==ee;fn.prototype[h]=function(G){var Z=this.clone();return Z.__iteratees__.push({iteratee:Tt(G,3),type:C}),Z.__filtered__=Z.__filtered__||k,Z}}),hl(["head","last"],function(h,y){var C="take"+(y?"Right":"");fn.prototype[h]=function(){return this[C](1).value()[0]}}),hl(["initial","tail"],function(h,y){var C="drop"+(y?"":"Right");fn.prototype[h]=function(){return this.__filtered__?new fn(this):this[C](1)}}),fn.prototype.compact=function(){return this.filter(_e)},fn.prototype.find=function(h){return this.filter(h).head()},fn.prototype.findLast=function(h){return this.reverse().find(h)},fn.prototype.invokeMap=Xt(function(h,y){return typeof h=="function"?new fn(this):this.map(function(C){return ss(C,h,y)})}),fn.prototype.reject=function(h){return this.filter(Ed(Tt(h)))},fn.prototype.slice=function(h,y){h=qt(h);var C=this;return C.__filtered__&&(h>0||y<0)?new fn(C):(h<0?C=C.takeRight(-h):h&&(C=C.drop(h)),y!==i&&(y=qt(y),C=y<0?C.dropRight(-y):C.take(y-h)),C)},fn.prototype.takeRightWhile=function(h){return this.reverse().takeWhile(h).reverse()},fn.prototype.toArray=function(){return this.take(Ee)},Ua(fn.prototype,function(h,y){var C=/^(?:filter|find|map|reject)|While$/.test(y),k=/^(?:head|last)$/.test(y),G=X[k?"take"+(y=="last"?"Right":""):y],Z=k||/^find/.test(y);G&&(X.prototype[y]=function(){var oe=this.__wrapped__,fe=k?[1]:arguments,Se=oe instanceof fn,Je=fe[0],$e=Se||Bt(oe),et=function(vn){var Nn=G.apply(X,zl([vn],fe));return k&<?Nn[0]:Nn};$e&&C&&typeof Je=="function"&&Je.length!=1&&(Se=$e=!1);var lt=this.__chain__,yt=!!this.__actions__.length,Mt=Z&&!lt,en=Se&&!yt;if(!Z&&$e){oe=en?oe:new fn(this);var Dt=h.apply(oe,fe);return Dt.__actions__.push({func:sr,args:[et],thisArg:i}),new Cr(Dt,lt)}return Mt&&en?h.apply(this,fe):(Dt=this.thru(et),Mt?k?Dt.value()[0]:Dt.value():Dt)})}),hl(["pop","push","shift","sort","splice","unshift"],function(h){var y=Ff[h],C=/^(?:push|sort|unshift)$/.test(h)?"tap":"thru",k=/^(?:pop|shift)$/.test(h);X.prototype[h]=function(){var G=arguments;if(k&&!this.__chain__){var Z=this.value();return y.apply(Bt(Z)?Z:[],G)}return this[C](function(oe){return y.apply(Bt(oe)?oe:[],G)})}}),Ua(fn.prototype,function(h,y){var C=X[y];if(C){var k=C.name+"";Rn.call(Gr,k)||(Gr[k]=[]),Gr[k].push({name:y,func:C})}}),Gr[Pn(i,U).name]=[{name:"wrapper",func:i}],fn.prototype.clone=Xf,fn.prototype.reverse=mh,fn.prototype.value=Nu,X.prototype.at=V0,X.prototype.chain=Sl,X.prototype.commit=bd,X.prototype.next=Ph,X.prototype.plant=ou,X.prototype.reverse=Jc,X.prototype.toJSON=X.prototype.valueOf=X.prototype.value=Zu,X.prototype.first=X.prototype.head,Ys&&(X.prototype[Ys]=Ov),X},er=ts();Ps?((Ps.exports=er)._=er,Is._=er):na._=er}).call(VB)}(Tb,Tb.exports)),Tb.exports}var Sp=YB();const GB=e=>{const{globalDataContext:t,templateContext:i}=e,{path:r,value:o}=e.args;if(r===void 0)return;const c=yu({currentPath:i.templatePath,dataLocation:r,globalDataContext:t,templateContext:i}),f=Xn({valueToEvaluate:o,globalDataContext:t,templateContext:i});t==null||t.updateData(typeof f!="object"?f:Sp.cloneDeep(f),c,"add")};function J_(e,t){return function(){return e.apply(t,arguments)}}const{toString:XB}=Object.prototype,{getPrototypeOf:rA}=Object,Ex=(e=>t=>{const i=XB.call(t);return e[i]||(e[i]=i.slice(8,-1).toLowerCase())})(Object.create(null)),gc=e=>(e=e.toLowerCase(),t=>Ex(t)===e),Ax=e=>t=>typeof t===e,{isArray:ky}=Array,Cb=Ax("undefined");function $B(e){return e!==null&&!Cb(e)&&e.constructor!==null&&!Cb(e.constructor)&&Ns(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const e2=gc("ArrayBuffer");function QB(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&e2(e.buffer),t}const ZB=Ax("string"),Ns=Ax("function"),t2=Ax("number"),Tx=e=>e!==null&&typeof e=="object",WB=e=>e===!0||e===!1,Cx=e=>{if(Ex(e)!=="object")return!1;const t=rA(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},KB=gc("Date"),JB=gc("File"),eL=gc("Blob"),tL=gc("FileList"),nL=e=>Tx(e)&&Ns(e.pipe),iL=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Ns(e.append)&&((t=Ex(e))==="formdata"||t==="object"&&Ns(e.toString)&&e.toString()==="[object FormData]"))},aL=gc("URLSearchParams"),[rL,lL,oL,sL]=["ReadableStream","Request","Response","Headers"].map(gc),uL=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function _b(e,t,{allOwnKeys:i=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),ky(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const c=i?Object.getOwnPropertyNames(e):Object.keys(e),f=c.length;let p;for(r=0;r<f;r++)p=c[r],t.call(null,e[p],p,e)}}function n2(e,t){t=t.toLowerCase();const i=Object.keys(e);let r=i.length,o;for(;r-- >0;)if(o=i[r],t===o.toLowerCase())return o;return null}const Rm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,i2=e=>!Cb(e)&&e!==Rm;function lA(){const{caseless:e}=i2(this)&&this||{},t={},i=(r,o)=>{const c=e&&n2(t,o)||o;Cx(t[c])&&Cx(r)?t[c]=lA(t[c],r):Cx(r)?t[c]=lA({},r):ky(r)?t[c]=r.slice():t[c]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&_b(arguments[r],i);return t}const cL=(e,t,i,{allOwnKeys:r}={})=>(_b(t,(o,c)=>{i&&Ns(o)?e[c]=J_(o,i):e[c]=o},{allOwnKeys:r}),e),fL=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),dL=(e,t,i,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),i&&Object.assign(e.prototype,i)},hL=(e,t,i,r)=>{let o,c,f;const p={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),c=o.length;c-- >0;)f=o[c],(!r||r(f,e,t))&&!p[f]&&(t[f]=e[f],p[f]=!0);e=i!==!1&&rA(e)}while(e&&(!i||i(e,t))&&e!==Object.prototype);return t},pL=(e,t,i)=>{e=String(e),(i===void 0||i>e.length)&&(i=e.length),i-=t.length;const r=e.indexOf(t,i);return r!==-1&&r===i},gL=e=>{if(!e)return null;if(ky(e))return e;let t=e.length;if(!t2(t))return null;const i=new Array(t);for(;t-- >0;)i[t]=e[t];return i},mL=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&rA(Uint8Array)),yL=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const c=o.value;t.call(e,c[0],c[1])}},vL=(e,t)=>{let i;const r=[];for(;(i=e.exec(t))!==null;)r.push(i);return r},bL=gc("HTMLFormElement"),xL=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(i,r,o){return r.toUpperCase()+o}),a2=(({hasOwnProperty:e})=>(t,i)=>e.call(t,i))(Object.prototype),SL=gc("RegExp"),r2=(e,t)=>{const i=Object.getOwnPropertyDescriptors(e),r={};_b(i,(o,c)=>{let f;(f=t(o,c,e))!==!1&&(r[c]=f||o)}),Object.defineProperties(e,r)},EL=e=>{r2(e,(t,i)=>{if(Ns(e)&&["arguments","caller","callee"].indexOf(i)!==-1)return!1;const r=e[i];if(Ns(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+i+"'")})}})},AL=(e,t)=>{const i={},r=o=>{o.forEach(c=>{i[c]=!0})};return ky(e)?r(e):r(String(e).split(t)),i},TL=()=>{},CL=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function _L(e){return!!(e&&Ns(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const wL=e=>{const t=new Array(10),i=(r,o)=>{if(Tx(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const c=ky(r)?[]:{};return _b(r,(f,p)=>{const m=i(f,o+1);!Cb(m)&&(c[p]=m)}),t[o]=void 0,c}}return r};return i(e,0)},DL=gc("AsyncFunction"),OL=e=>e&&(Tx(e)||Ns(e))&&Ns(e.then)&&Ns(e.catch),l2=((e,t)=>e?setImmediate:t?((i,r)=>(Rm.addEventListener("message",({source:o,data:c})=>{o===Rm&&c===i&&r.length&&r.shift()()},!1),o=>{r.push(o),Rm.postMessage(i,"*")}))(`axios@${Math.random()}`,[]):i=>setTimeout(i))(typeof setImmediate=="function",Ns(Rm.postMessage)),RL=typeof queueMicrotask<"u"?queueMicrotask.bind(Rm):typeof process<"u"&&process.nextTick||l2,qe={isArray:ky,isArrayBuffer:e2,isBuffer:$B,isFormData:iL,isArrayBufferView:QB,isString:ZB,isNumber:t2,isBoolean:WB,isObject:Tx,isPlainObject:Cx,isReadableStream:rL,isRequest:lL,isResponse:oL,isHeaders:sL,isUndefined:Cb,isDate:KB,isFile:JB,isBlob:eL,isRegExp:SL,isFunction:Ns,isStream:nL,isURLSearchParams:aL,isTypedArray:mL,isFileList:tL,forEach:_b,merge:lA,extend:cL,trim:uL,stripBOM:fL,inherits:dL,toFlatObject:hL,kindOf:Ex,kindOfTest:gc,endsWith:pL,toArray:gL,forEachEntry:yL,matchAll:vL,isHTMLForm:bL,hasOwnProperty:a2,hasOwnProp:a2,reduceDescriptors:r2,freezeMethods:EL,toObjectSet:AL,toCamelCase:xL,noop:TL,toFiniteNumber:CL,findKey:n2,global:Rm,isContextDefined:i2,isSpecCompliantForm:_L,toJSONObject:wL,isAsyncFn:DL,isThenable:OL,setImmediate:l2,asap:RL};function sn(e,t,i,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),i&&(this.config=i),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}qe.inherits(sn,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:qe.toJSONObject(this.config),code:this.code,status:this.status}}});const o2=sn.prototype,s2={};["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(e=>{s2[e]={value:e}}),Object.defineProperties(sn,s2),Object.defineProperty(o2,"isAxiosError",{value:!0}),sn.from=(e,t,i,r,o,c)=>{const f=Object.create(o2);return qe.toFlatObject(e,f,function(m){return m!==Error.prototype},p=>p!=="isAxiosError"),sn.call(f,e.message,t,i,r,o),f.cause=e,f.name=e.name,c&&Object.assign(f,c),f};const ML=null;function oA(e){return qe.isPlainObject(e)||qe.isArray(e)}function u2(e){return qe.endsWith(e,"[]")?e.slice(0,-2):e}function c2(e,t,i){return e?e.concat(t).map(function(o,c){return o=u2(o),!i&&c?"["+o+"]":o}).join(i?".":""):t}function NL(e){return qe.isArray(e)&&!e.some(oA)}const BL=qe.toFlatObject(qe,{},null,function(t){return/^is[A-Z]/.test(t)});function _x(e,t,i){if(!qe.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,i=qe.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(N,w){return!qe.isUndefined(w[N])});const r=i.metaTokens,o=i.visitor||S,c=i.dots,f=i.indexes,m=(i.Blob||typeof Blob<"u"&&Blob)&&qe.isSpecCompliantForm(t);if(!qe.isFunction(o))throw new TypeError("visitor must be a function");function b(M){if(M===null)return"";if(qe.isDate(M))return M.toISOString();if(!m&&qe.isBlob(M))throw new sn("Blob is not supported. Use a Buffer instead.");return qe.isArrayBuffer(M)||qe.isTypedArray(M)?m&&typeof Blob=="function"?new Blob([M]):Buffer.from(M):M}function S(M,N,w){let U=M;if(M&&!w&&typeof M=="object"){if(qe.endsWith(N,"{}"))N=r?N:N.slice(0,-2),M=JSON.stringify(M);else if(qe.isArray(M)&&NL(M)||(qe.isFileList(M)||qe.endsWith(N,"[]"))&&(U=qe.toArray(M)))return N=u2(N),U.forEach(function(P,z){!(qe.isUndefined(P)||P===null)&&t.append(f===!0?c2([N],z,c):f===null?N:N+"[]",b(P))}),!1}return oA(M)?!0:(t.append(c2(w,N,c),b(M)),!1)}const E=[],_=Object.assign(BL,{defaultVisitor:S,convertValue:b,isVisitable:oA});function O(M,N){if(!qe.isUndefined(M)){if(E.indexOf(M)!==-1)throw Error("Circular reference detected in "+N.join("."));E.push(M),qe.forEach(M,function(U,q){(!(qe.isUndefined(U)||U===null)&&o.call(t,U,qe.isString(q)?q.trim():q,N,_))===!0&&O(U,N?N.concat(q):[q])}),E.pop()}}if(!qe.isObject(e))throw new TypeError("data must be an object");return O(e),t}function f2(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function sA(e,t){this._pairs=[],e&&_x(e,this,t)}const d2=sA.prototype;d2.append=function(t,i){this._pairs.push([t,i])},d2.toString=function(t){const i=t?function(r){return t.call(this,r,f2)}:f2;return this._pairs.map(function(o){return i(o[0])+"="+i(o[1])},"").join("&")};function LL(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function h2(e,t,i){if(!t)return e;const r=i&&i.encode||LL;qe.isFunction(i)&&(i={serialize:i});const o=i&&i.serialize;let c;if(o?c=o(t,i):c=qe.isURLSearchParams(t)?t.toString():new sA(t,i).toString(r),c){const f=e.indexOf("#");f!==-1&&(e=e.slice(0,f)),e+=(e.indexOf("?")===-1?"?":"&")+c}return e}class p2{constructor(){this.handlers=[]}use(t,i,r){return this.handlers.push({fulfilled:t,rejected:i,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){qe.forEach(this.handlers,function(r){r!==null&&t(r)})}}const g2={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},kL={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:sA,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},uA=typeof window<"u"&&typeof document<"u",cA=typeof navigator=="object"&&navigator||void 0,zL=uA&&(!cA||["ReactNative","NativeScript","NS"].indexOf(cA.product)<0),UL=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",HL=uA&&window.location.href||"http://localhost",Dl={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:uA,hasStandardBrowserEnv:zL,hasStandardBrowserWebWorkerEnv:UL,navigator:cA,origin:HL},Symbol.toStringTag,{value:"Module"})),...kL};function jL(e,t){return _x(e,new Dl.classes.URLSearchParams,Object.assign({visitor:function(i,r,o,c){return Dl.isNode&&qe.isBuffer(i)?(this.append(r,i.toString("base64")),!1):c.defaultVisitor.apply(this,arguments)}},t))}function FL(e){return qe.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function IL(e){const t={},i=Object.keys(e);let r;const o=i.length;let c;for(r=0;r<o;r++)c=i[r],t[c]=e[c];return t}function m2(e){function t(i,r,o,c){let f=i[c++];if(f==="__proto__")return!0;const p=Number.isFinite(+f),m=c>=i.length;return f=!f&&qe.isArray(o)?o.length:f,m?(qe.hasOwnProp(o,f)?o[f]=[o[f],r]:o[f]=r,!p):((!o[f]||!qe.isObject(o[f]))&&(o[f]=[]),t(i,r,o[f],c)&&qe.isArray(o[f])&&(o[f]=IL(o[f])),!p)}if(qe.isFormData(e)&&qe.isFunction(e.entries)){const i={};return qe.forEachEntry(e,(r,o)=>{t(FL(r),o,i,0)}),i}return null}function PL(e,t,i){if(qe.isString(e))try{return(t||JSON.parse)(e),qe.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(i||JSON.stringify)(e)}const wb={transitional:g2,adapter:["xhr","http","fetch"],transformRequest:[function(t,i){const r=i.getContentType()||"",o=r.indexOf("application/json")>-1,c=qe.isObject(t);if(c&&qe.isHTMLForm(t)&&(t=new FormData(t)),qe.isFormData(t))return o?JSON.stringify(m2(t)):t;if(qe.isArrayBuffer(t)||qe.isBuffer(t)||qe.isStream(t)||qe.isFile(t)||qe.isBlob(t)||qe.isReadableStream(t))return t;if(qe.isArrayBufferView(t))return t.buffer;if(qe.isURLSearchParams(t))return i.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let p;if(c){if(r.indexOf("application/x-www-form-urlencoded")>-1)return jL(t,this.formSerializer).toString();if((p=qe.isFileList(t))||r.indexOf("multipart/form-data")>-1){const m=this.env&&this.env.FormData;return _x(p?{"files[]":t}:t,m&&new m,this.formSerializer)}}return c||o?(i.setContentType("application/json",!1),PL(t)):t}],transformResponse:[function(t){const i=this.transitional||wb.transitional,r=i&&i.forcedJSONParsing,o=this.responseType==="json";if(qe.isResponse(t)||qe.isReadableStream(t))return t;if(t&&qe.isString(t)&&(r&&!this.responseType||o)){const f=!(i&&i.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(p){if(f)throw p.name==="SyntaxError"?sn.from(p,sn.ERR_BAD_RESPONSE,this,null,this.response):p}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Dl.classes.FormData,Blob:Dl.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};qe.forEach(["delete","get","head","post","put","patch"],e=>{wb.headers[e]={}});const qL=qe.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"]),VL=e=>{const t={};let i,r,o;return e&&e.split(`
|
|
49
|
+
`).forEach(function(f){o=f.indexOf(":"),i=f.substring(0,o).trim().toLowerCase(),r=f.substring(o+1).trim(),!(!i||t[i]&&qL[i])&&(i==="set-cookie"?t[i]?t[i].push(r):t[i]=[r]:t[i]=t[i]?t[i]+", "+r:r)}),t},y2=Symbol("internals");function Db(e){return e&&String(e).trim().toLowerCase()}function wx(e){return e===!1||e==null?e:qe.isArray(e)?e.map(wx):String(e)}function YL(e){const t=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=i.exec(e);)t[r[1]]=r[2];return t}const GL=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function fA(e,t,i,r,o){if(qe.isFunction(r))return r.call(this,t,i);if(o&&(t=i),!!qe.isString(t)){if(qe.isString(r))return t.indexOf(r)!==-1;if(qe.isRegExp(r))return r.test(t)}}function XL(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,i,r)=>i.toUpperCase()+r)}function $L(e,t){const i=qe.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+i,{value:function(o,c,f){return this[r].call(this,t,o,c,f)},configurable:!0})})}let zo=class{constructor(t){t&&this.set(t)}set(t,i,r){const o=this;function c(p,m,b){const S=Db(m);if(!S)throw new Error("header name must be a non-empty string");const E=qe.findKey(o,S);(!E||o[E]===void 0||b===!0||b===void 0&&o[E]!==!1)&&(o[E||m]=wx(p))}const f=(p,m)=>qe.forEach(p,(b,S)=>c(b,S,m));if(qe.isPlainObject(t)||t instanceof this.constructor)f(t,i);else if(qe.isString(t)&&(t=t.trim())&&!GL(t))f(VL(t),i);else if(qe.isHeaders(t))for(const[p,m]of t.entries())c(m,p,r);else t!=null&&c(i,t,r);return this}get(t,i){if(t=Db(t),t){const r=qe.findKey(this,t);if(r){const o=this[r];if(!i)return o;if(i===!0)return YL(o);if(qe.isFunction(i))return i.call(this,o,r);if(qe.isRegExp(i))return i.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,i){if(t=Db(t),t){const r=qe.findKey(this,t);return!!(r&&this[r]!==void 0&&(!i||fA(this,this[r],r,i)))}return!1}delete(t,i){const r=this;let o=!1;function c(f){if(f=Db(f),f){const p=qe.findKey(r,f);p&&(!i||fA(r,r[p],p,i))&&(delete r[p],o=!0)}}return qe.isArray(t)?t.forEach(c):c(t),o}clear(t){const i=Object.keys(this);let r=i.length,o=!1;for(;r--;){const c=i[r];(!t||fA(this,this[c],c,t,!0))&&(delete this[c],o=!0)}return o}normalize(t){const i=this,r={};return qe.forEach(this,(o,c)=>{const f=qe.findKey(r,c);if(f){i[f]=wx(o),delete i[c];return}const p=t?XL(c):String(c).trim();p!==c&&delete i[c],i[p]=wx(o),r[p]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const i=Object.create(null);return qe.forEach(this,(r,o)=>{r!=null&&r!==!1&&(i[o]=t&&qe.isArray(r)?r.join(", "):r)}),i}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,i])=>t+": "+i).join(`
|
|
50
|
+
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...i){const r=new this(t);return i.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[y2]=this[y2]={accessors:{}}).accessors,o=this.prototype;function c(f){const p=Db(f);r[p]||($L(o,f),r[p]=!0)}return qe.isArray(t)?t.forEach(c):c(t),this}};zo.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),qe.reduceDescriptors(zo.prototype,({value:e},t)=>{let i=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[i]=r}}}),qe.freezeMethods(zo);function dA(e,t){const i=this||wb,r=t||i,o=zo.from(r.headers);let c=r.data;return qe.forEach(e,function(p){c=p.call(i,c,o.normalize(),t?t.status:void 0)}),o.normalize(),c}function v2(e){return!!(e&&e.__CANCEL__)}function zy(e,t,i){sn.call(this,e??"canceled",sn.ERR_CANCELED,t,i),this.name="CanceledError"}qe.inherits(zy,sn,{__CANCEL__:!0});function b2(e,t,i){const r=i.config.validateStatus;!i.status||!r||r(i.status)?e(i):t(new sn("Request failed with status code "+i.status,[sn.ERR_BAD_REQUEST,sn.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))}function QL(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function ZL(e,t){e=e||10;const i=new Array(e),r=new Array(e);let o=0,c=0,f;return t=t!==void 0?t:1e3,function(m){const b=Date.now(),S=r[c];f||(f=b),i[o]=m,r[o]=b;let E=c,_=0;for(;E!==o;)_+=i[E++],E=E%e;if(o=(o+1)%e,o===c&&(c=(c+1)%e),b-f<t)return;const O=S&&b-S;return O?Math.round(_*1e3/O):void 0}}function WL(e,t){let i=0,r=1e3/t,o,c;const f=(b,S=Date.now())=>{i=S,o=null,c&&(clearTimeout(c),c=null),e.apply(null,b)};return[(...b)=>{const S=Date.now(),E=S-i;E>=r?f(b,S):(o=b,c||(c=setTimeout(()=>{c=null,f(o)},r-E)))},()=>o&&f(o)]}const Dx=(e,t,i=3)=>{let r=0;const o=ZL(50,250);return WL(c=>{const f=c.loaded,p=c.lengthComputable?c.total:void 0,m=f-r,b=o(m),S=f<=p;r=f;const E={loaded:f,total:p,progress:p?f/p:void 0,bytes:m,rate:b||void 0,estimated:b&&p&&S?(p-f)/b:void 0,event:c,lengthComputable:p!=null,[t?"download":"upload"]:!0};e(E)},i)},x2=(e,t)=>{const i=e!=null;return[r=>t[0]({lengthComputable:i,total:e,loaded:r}),t[1]]},S2=e=>(...t)=>qe.asap(()=>e(...t)),KL=Dl.hasStandardBrowserEnv?((e,t)=>i=>(i=new URL(i,Dl.origin),e.protocol===i.protocol&&e.host===i.host&&(t||e.port===i.port)))(new URL(Dl.origin),Dl.navigator&&/(msie|trident)/i.test(Dl.navigator.userAgent)):()=>!0,JL=Dl.hasStandardBrowserEnv?{write(e,t,i,r,o,c){const f=[e+"="+encodeURIComponent(t)];qe.isNumber(i)&&f.push("expires="+new Date(i).toGMTString()),qe.isString(r)&&f.push("path="+r),qe.isString(o)&&f.push("domain="+o),c===!0&&f.push("secure"),document.cookie=f.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function ek(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function tk(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function E2(e,t,i){let r=!ek(t);return e&&(r||i==!1)?tk(e,t):t}const A2=e=>e instanceof zo?{...e}:e;function Mm(e,t){t=t||{};const i={};function r(b,S,E,_){return qe.isPlainObject(b)&&qe.isPlainObject(S)?qe.merge.call({caseless:_},b,S):qe.isPlainObject(S)?qe.merge({},S):qe.isArray(S)?S.slice():S}function o(b,S,E,_){if(qe.isUndefined(S)){if(!qe.isUndefined(b))return r(void 0,b,E,_)}else return r(b,S,E,_)}function c(b,S){if(!qe.isUndefined(S))return r(void 0,S)}function f(b,S){if(qe.isUndefined(S)){if(!qe.isUndefined(b))return r(void 0,b)}else return r(void 0,S)}function p(b,S,E){if(E in t)return r(b,S);if(E in e)return r(void 0,b)}const m={url:c,method:c,data:c,baseURL:f,transformRequest:f,transformResponse:f,paramsSerializer:f,timeout:f,timeoutMessage:f,withCredentials:f,withXSRFToken:f,adapter:f,responseType:f,xsrfCookieName:f,xsrfHeaderName:f,onUploadProgress:f,onDownloadProgress:f,decompress:f,maxContentLength:f,maxBodyLength:f,beforeRedirect:f,transport:f,httpAgent:f,httpsAgent:f,cancelToken:f,socketPath:f,responseEncoding:f,validateStatus:p,headers:(b,S,E)=>o(A2(b),A2(S),E,!0)};return qe.forEach(Object.keys(Object.assign({},e,t)),function(S){const E=m[S]||o,_=E(e[S],t[S],S);qe.isUndefined(_)&&E!==p||(i[S]=_)}),i}const T2=e=>{const t=Mm({},e);let{data:i,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:c,headers:f,auth:p}=t;t.headers=f=zo.from(f),t.url=h2(E2(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),p&&f.set("Authorization","Basic "+btoa((p.username||"")+":"+(p.password?unescape(encodeURIComponent(p.password)):"")));let m;if(qe.isFormData(i)){if(Dl.hasStandardBrowserEnv||Dl.hasStandardBrowserWebWorkerEnv)f.setContentType(void 0);else if((m=f.getContentType())!==!1){const[b,...S]=m?m.split(";").map(E=>E.trim()).filter(Boolean):[];f.setContentType([b||"multipart/form-data",...S].join("; "))}}if(Dl.hasStandardBrowserEnv&&(r&&qe.isFunction(r)&&(r=r(t)),r||r!==!1&&KL(t.url))){const b=o&&c&&JL.read(c);b&&f.set(o,b)}return t},nk=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(i,r){const o=T2(e);let c=o.data;const f=zo.from(o.headers).normalize();let{responseType:p,onUploadProgress:m,onDownloadProgress:b}=o,S,E,_,O,M;function N(){O&&O(),M&&M(),o.cancelToken&&o.cancelToken.unsubscribe(S),o.signal&&o.signal.removeEventListener("abort",S)}let w=new XMLHttpRequest;w.open(o.method.toUpperCase(),o.url,!0),w.timeout=o.timeout;function U(){if(!w)return;const P=zo.from("getAllResponseHeaders"in w&&w.getAllResponseHeaders()),R={data:!p||p==="text"||p==="json"?w.responseText:w.response,status:w.status,statusText:w.statusText,headers:P,config:e,request:w};b2(function(j){i(j),N()},function(j){r(j),N()},R),w=null}"onloadend"in w?w.onloadend=U:w.onreadystatechange=function(){!w||w.readyState!==4||w.status===0&&!(w.responseURL&&w.responseURL.indexOf("file:")===0)||setTimeout(U)},w.onabort=function(){w&&(r(new sn("Request aborted",sn.ECONNABORTED,e,w)),w=null)},w.onerror=function(){r(new sn("Network Error",sn.ERR_NETWORK,e,w)),w=null},w.ontimeout=function(){let z=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const R=o.transitional||g2;o.timeoutErrorMessage&&(z=o.timeoutErrorMessage),r(new sn(z,R.clarifyTimeoutError?sn.ETIMEDOUT:sn.ECONNABORTED,e,w)),w=null},c===void 0&&f.setContentType(null),"setRequestHeader"in w&&qe.forEach(f.toJSON(),function(z,R){w.setRequestHeader(R,z)}),qe.isUndefined(o.withCredentials)||(w.withCredentials=!!o.withCredentials),p&&p!=="json"&&(w.responseType=o.responseType),b&&([_,M]=Dx(b,!0),w.addEventListener("progress",_)),m&&w.upload&&([E,O]=Dx(m),w.upload.addEventListener("progress",E),w.upload.addEventListener("loadend",O)),(o.cancelToken||o.signal)&&(S=P=>{w&&(r(!P||P.type?new zy(null,e,w):P),w.abort(),w=null)},o.cancelToken&&o.cancelToken.subscribe(S),o.signal&&(o.signal.aborted?S():o.signal.addEventListener("abort",S)));const q=QL(o.url);if(q&&Dl.protocols.indexOf(q)===-1){r(new sn("Unsupported protocol "+q+":",sn.ERR_BAD_REQUEST,e));return}w.send(c||null)})},ik=(e,t)=>{const{length:i}=e=e?e.filter(Boolean):[];if(t||i){let r=new AbortController,o;const c=function(b){if(!o){o=!0,p();const S=b instanceof Error?b:this.reason;r.abort(S instanceof sn?S:new zy(S instanceof Error?S.message:S))}};let f=t&&setTimeout(()=>{f=null,c(new sn(`timeout ${t} of ms exceeded`,sn.ETIMEDOUT))},t);const p=()=>{e&&(f&&clearTimeout(f),f=null,e.forEach(b=>{b.unsubscribe?b.unsubscribe(c):b.removeEventListener("abort",c)}),e=null)};e.forEach(b=>b.addEventListener("abort",c));const{signal:m}=r;return m.unsubscribe=()=>qe.asap(p),m}},ak=function*(e,t){let i=e.byteLength;if(i<t){yield e;return}let r=0,o;for(;r<i;)o=r+t,yield e.slice(r,o),r=o},rk=async function*(e,t){for await(const i of lk(e))yield*ak(i,t)},lk=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:i,value:r}=await t.read();if(i)break;yield r}}finally{await t.cancel()}},C2=(e,t,i,r)=>{const o=rk(e,t);let c=0,f,p=m=>{f||(f=!0,r&&r(m))};return new ReadableStream({async pull(m){try{const{done:b,value:S}=await o.next();if(b){p(),m.close();return}let E=S.byteLength;if(i){let _=c+=E;i(_)}m.enqueue(new Uint8Array(S))}catch(b){throw p(b),b}},cancel(m){return p(m),o.return()}},{highWaterMark:2})},Ox=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",_2=Ox&&typeof ReadableStream=="function",ok=Ox&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),w2=(e,...t)=>{try{return!!e(...t)}catch{return!1}},sk=_2&&w2(()=>{let e=!1;const t=new Request(Dl.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),D2=64*1024,hA=_2&&w2(()=>qe.isReadableStream(new Response("").body)),Rx={stream:hA&&(e=>e.body)};Ox&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Rx[t]&&(Rx[t]=qe.isFunction(e[t])?i=>i[t]():(i,r)=>{throw new sn(`Response type '${t}' is not supported`,sn.ERR_NOT_SUPPORT,r)})})})(new Response);const uk=async e=>{if(e==null)return 0;if(qe.isBlob(e))return e.size;if(qe.isSpecCompliantForm(e))return(await new Request(Dl.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(qe.isArrayBufferView(e)||qe.isArrayBuffer(e))return e.byteLength;if(qe.isURLSearchParams(e)&&(e=e+""),qe.isString(e))return(await ok(e)).byteLength},ck=async(e,t)=>{const i=qe.toFiniteNumber(e.getContentLength());return i??uk(t)},pA={http:ML,xhr:nk,fetch:Ox&&(async e=>{let{url:t,method:i,data:r,signal:o,cancelToken:c,timeout:f,onDownloadProgress:p,onUploadProgress:m,responseType:b,headers:S,withCredentials:E="same-origin",fetchOptions:_}=T2(e);b=b?(b+"").toLowerCase():"text";let O=ik([o,c&&c.toAbortSignal()],f),M;const N=O&&O.unsubscribe&&(()=>{O.unsubscribe()});let w;try{if(m&&sk&&i!=="get"&&i!=="head"&&(w=await ck(S,r))!==0){let R=new Request(t,{method:"POST",body:r,duplex:"half"}),H;if(qe.isFormData(r)&&(H=R.headers.get("content-type"))&&S.setContentType(H),R.body){const[j,K]=x2(w,Dx(S2(m)));r=C2(R.body,D2,j,K)}}qe.isString(E)||(E=E?"include":"omit");const U="credentials"in Request.prototype;M=new Request(t,{..._,signal:O,method:i.toUpperCase(),headers:S.normalize().toJSON(),body:r,duplex:"half",credentials:U?E:void 0});let q=await fetch(M);const P=hA&&(b==="stream"||b==="response");if(hA&&(p||P&&N)){const R={};["status","statusText","headers"].forEach(W=>{R[W]=q[W]});const H=qe.toFiniteNumber(q.headers.get("content-length")),[j,K]=p&&x2(H,Dx(S2(p),!0))||[];q=new Response(C2(q.body,D2,j,()=>{K&&K(),N&&N()}),R)}b=b||"text";let z=await Rx[qe.findKey(Rx,b)||"text"](q,e);return!P&&N&&N(),await new Promise((R,H)=>{b2(R,H,{data:z,headers:zo.from(q.headers),status:q.status,statusText:q.statusText,config:e,request:M})})}catch(U){throw N&&N(),U&&U.name==="TypeError"&&/fetch/i.test(U.message)?Object.assign(new sn("Network Error",sn.ERR_NETWORK,e,M),{cause:U.cause||U}):sn.from(U,U&&U.code,e,M)}})};qe.forEach(pA,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const O2=e=>`- ${e}`,fk=e=>qe.isFunction(e)||e===null||e===!1,R2={getAdapter:e=>{e=qe.isArray(e)?e:[e];const{length:t}=e;let i,r;const o={};for(let c=0;c<t;c++){i=e[c];let f;if(r=i,!fk(i)&&(r=pA[(f=String(i)).toLowerCase()],r===void 0))throw new sn(`Unknown adapter '${f}'`);if(r)break;o[f||"#"+c]=r}if(!r){const c=Object.entries(o).map(([p,m])=>`adapter ${p} `+(m===!1?"is not supported by the environment":"is not available in the build"));let f=t?c.length>1?`since :
|
|
51
|
+
`+c.map(O2).join(`
|
|
52
|
+
`):" "+O2(c[0]):"as no adapter specified";throw new sn("There is no suitable adapter to dispatch the request "+f,"ERR_NOT_SUPPORT")}return r},adapters:pA};function gA(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new zy(null,e)}function M2(e){return gA(e),e.headers=zo.from(e.headers),e.data=dA.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),R2.getAdapter(e.adapter||wb.adapter)(e).then(function(r){return gA(e),r.data=dA.call(e,e.transformResponse,r),r.headers=zo.from(r.headers),r},function(r){return v2(r)||(gA(e),r&&r.response&&(r.response.data=dA.call(e,e.transformResponse,r.response),r.response.headers=zo.from(r.response.headers))),Promise.reject(r)})}const N2="1.8.4",Mx={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Mx[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const B2={};Mx.transitional=function(t,i,r){function o(c,f){return"[Axios v"+N2+"] Transitional option '"+c+"'"+f+(r?". "+r:"")}return(c,f,p)=>{if(t===!1)throw new sn(o(f," has been removed"+(i?" in "+i:"")),sn.ERR_DEPRECATED);return i&&!B2[f]&&(B2[f]=!0,console.warn(o(f," has been deprecated since v"+i+" and will be removed in the near future"))),t?t(c,f,p):!0}},Mx.spelling=function(t){return(i,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function dk(e,t,i){if(typeof e!="object")throw new sn("options must be an object",sn.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const c=r[o],f=t[c];if(f){const p=e[c],m=p===void 0||f(p,c,e);if(m!==!0)throw new sn("option "+c+" must be "+m,sn.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new sn("Unknown option "+c,sn.ERR_BAD_OPTION)}}const Nx={assertOptions:dk,validators:Mx},vf=Nx.validators;let Nm=class{constructor(t){this.defaults=t,this.interceptors={request:new p2,response:new p2}}async request(t,i){try{return await this._request(t,i)}catch(r){if(r instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const c=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?c&&!String(r.stack).endsWith(c.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
|
53
|
+
`+c):r.stack=c}catch{}}throw r}}_request(t,i){typeof t=="string"?(i=i||{},i.url=t):i=t||{},i=Mm(this.defaults,i);const{transitional:r,paramsSerializer:o,headers:c}=i;r!==void 0&&Nx.assertOptions(r,{silentJSONParsing:vf.transitional(vf.boolean),forcedJSONParsing:vf.transitional(vf.boolean),clarifyTimeoutError:vf.transitional(vf.boolean)},!1),o!=null&&(qe.isFunction(o)?i.paramsSerializer={serialize:o}:Nx.assertOptions(o,{encode:vf.function,serialize:vf.function},!0)),i.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?i.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:i.allowAbsoluteUrls=!0),Nx.assertOptions(i,{baseUrl:vf.spelling("baseURL"),withXsrfToken:vf.spelling("withXSRFToken")},!0),i.method=(i.method||this.defaults.method||"get").toLowerCase();let f=c&&qe.merge(c.common,c[i.method]);c&&qe.forEach(["delete","get","head","post","put","patch","common"],M=>{delete c[M]}),i.headers=zo.concat(f,c);const p=[];let m=!0;this.interceptors.request.forEach(function(N){typeof N.runWhen=="function"&&N.runWhen(i)===!1||(m=m&&N.synchronous,p.unshift(N.fulfilled,N.rejected))});const b=[];this.interceptors.response.forEach(function(N){b.push(N.fulfilled,N.rejected)});let S,E=0,_;if(!m){const M=[M2.bind(this),void 0];for(M.unshift.apply(M,p),M.push.apply(M,b),_=M.length,S=Promise.resolve(i);E<_;)S=S.then(M[E++],M[E++]);return S}_=p.length;let O=i;for(E=0;E<_;){const M=p[E++],N=p[E++];try{O=M(O)}catch(w){N.call(this,w);break}}try{S=M2.call(this,O)}catch(M){return Promise.reject(M)}for(E=0,_=b.length;E<_;)S=S.then(b[E++],b[E++]);return S}getUri(t){t=Mm(this.defaults,t);const i=E2(t.baseURL,t.url,t.allowAbsoluteUrls);return h2(i,t.params,t.paramsSerializer)}};qe.forEach(["delete","get","head","options"],function(t){Nm.prototype[t]=function(i,r){return this.request(Mm(r||{},{method:t,url:i,data:(r||{}).data}))}}),qe.forEach(["post","put","patch"],function(t){function i(r){return function(c,f,p){return this.request(Mm(p||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:c,data:f}))}}Nm.prototype[t]=i(),Nm.prototype[t+"Form"]=i(!0)});let hk=class NB{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let i;this.promise=new Promise(function(c){i=c});const r=this;this.promise.then(o=>{if(!r._listeners)return;let c=r._listeners.length;for(;c-- >0;)r._listeners[c](o);r._listeners=null}),this.promise.then=o=>{let c;const f=new Promise(p=>{r.subscribe(p),c=p}).then(o);return f.cancel=function(){r.unsubscribe(c)},f},t(function(c,f,p){r.reason||(r.reason=new zy(c,f,p),i(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const i=this._listeners.indexOf(t);i!==-1&&this._listeners.splice(i,1)}toAbortSignal(){const t=new AbortController,i=r=>{t.abort(r)};return this.subscribe(i),t.signal.unsubscribe=()=>this.unsubscribe(i),t.signal}static source(){let t;return{token:new NB(function(o){t=o}),cancel:t}}};function pk(e){return function(i){return e.apply(null,i)}}function gk(e){return qe.isObject(e)&&e.isAxiosError===!0}const mA={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent: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(mA).forEach(([e,t])=>{mA[t]=e});function L2(e){const t=new Nm(e),i=J_(Nm.prototype.request,t);return qe.extend(i,Nm.prototype,t,{allOwnKeys:!0}),qe.extend(i,t,null,{allOwnKeys:!0}),i.create=function(o){return L2(Mm(e,o))},i}const ra=L2(wb);ra.Axios=Nm,ra.CanceledError=zy,ra.CancelToken=hk,ra.isCancel=v2,ra.VERSION=N2,ra.toFormData=_x,ra.AxiosError=sn,ra.Cancel=ra.CanceledError,ra.all=function(t){return Promise.all(t)},ra.spread=pk,ra.isAxiosError=gk,ra.mergeConfig=Mm,ra.AxiosHeaders=zo,ra.formToJSON=e=>m2(qe.isHTMLForm(e)?new FormData(e):e),ra.getAdapter=R2.getAdapter,ra.HttpStatusCode=mA,ra.default=ra;const{Axios:eV,AxiosError:tV,CanceledError:nV,isCancel:iV,CancelToken:aV,VERSION:rV,all:lV,Cancel:oV,isAxiosError:sV,spread:uV,toFormData:cV,AxiosHeaders:fV,HttpStatusCode:dV,formToJSON:hV,getAdapter:pV,mergeConfig:gV}=ra,Uy={addData:GB,fetchData:e=>{var E,_;const t=e==null?void 0:e.event,i=document.body;if(i.dataset.htmlBuilderIsSubmitting==="true")return;i.dataset.htmlBuilderIsSubmitting="true";const r=t.currentTarget;r!=null&&r.dataset&&(r.dataset.isSubmitting="true");const{globalDataContext:o,templateContext:c}=e,f=o.getRootContext?o.getRootContext():o,p=((E=e==null?void 0:e.args)==null?void 0:E.refreshAppOnResponse)??!0,m=Xn({valueToEvaluate:(_=e==null?void 0:e.args)==null?void 0:_.url,globalDataContext:f,templateContext:c});if(!m)return;const b=f.headersForData??{},{setRawAppData:S}=f;ra.get(m,{headers:b}).then(O=>{p&&S(O.data)}).catch(O=>{console.log("reactionFunction:fetchData : Could not fetch. Reason: "+O.message)}).finally(()=>{delete i.dataset.htmlBuilderIsSubmitting,r!=null&&r.dataset&&delete r.dataset.isSubmitting})},moveData:e=>{const{globalDataContext:t,templateContext:i}=e,{path:r,target:o}=e.args;if(r===void 0&&o!=="currentTemplateData")return;let c;if(r)c=yu({currentPath:i.templatePath,dataLocation:r,globalDataContext:t,templateContext:i});else{c=i.templatePath;let p=e.args.parentLevel??0;for(;p>0;){--p;const m=c.lastIndexOf(".");if(m<1)return;c=c.substring(0,m)}}const{increment:f}=e.args;t==null||t.updateData({increment:f},c,"move")},postMessage:e=>{var c,f,p,m,b,S,E,_,O,M,N;const i={parent:window.parent,self:window}[((c=e==null?void 0:e.args)==null?void 0:c.messageTarget)??"parent"]??window,r=((f=e==null?void 0:e.args)==null?void 0:f.targetOrigin)??window.location.origin,o=Sx({globalDataContext:e.globalDataContext,templateContext:e.templateContext,valueToEvaluate:(p=e==null?void 0:e.args)==null?void 0:p.message});if(((m=e==null?void 0:e.args)==null?void 0:m.on)==="change"&&typeof o=="object"&&((b=e==null?void 0:e.args)!=null&&b.includeChangedValue)&&((E=(S=e==null?void 0:e.event)==null?void 0:S.target)==null?void 0:E.nodeName)==="INPUT"){let w;switch((O=(_=e==null?void 0:e.event)==null?void 0:_.target)==null?void 0:O.type){case"checkbox":w=(N=(M=e==null?void 0:e.event)==null?void 0:M.target)==null?void 0:N.checked;break}o.changedValue=w}i&&r&&i.postMessage(o,r)},redirectNow:e=>{const{globalDataContext:t,templateContext:i}=e,{to:r}=e.args;!r||typeof r!="string"||(window.location.href=Xn({valueToEvaluate:r,globalDataContext:t,templateContext:i}))},removeData:e=>{const{globalDataContext:t,templateContext:i}=e,{path:r,target:o}=e.args;if(r===void 0&&o!=="currentTemplateData")return;let c;if(r)c=yu({currentPath:i.templatePath,dataLocation:r,globalDataContext:t,templateContext:i});else{c=i.templatePath;let f=e.args.parentLevel??0;for(;f>0;){--f;const p=c.lastIndexOf(".");if(p<1)return;c=c.substring(0,p)}}t==null||t.updateData(void 0,c,"remove")},setClipboardData:async e=>{var o;const{globalDataContext:t,templateContext:i}=e,r=Xn({valueToEvaluate:(o=e==null?void 0:e.args)==null?void 0:o.value,globalDataContext:t,templateContext:i});if(typeof r=="string")try{await navigator.clipboard.writeText(r.toString())}catch(c){console.error("Failed to copy data to the clipboard:",c)}},setData:e=>{const{globalDataContext:t,templateContext:i}=e,{path:r,value:o}=e.args;if(r===void 0)return;const c=yu({currentPath:i.templatePath,dataLocation:r,globalDataContext:t,templateContext:i}),f=Xn({valueToEvaluate:o,globalDataContext:t,templateContext:i});t==null||t.updateData(typeof f!="object"?f:Sp.cloneDeep(f),c)},submitData:e=>{var O,M,N,w,U;const t=e==null?void 0:e.event,i=document.body;if(i.dataset.htmlBuilderIsSubmitting==="true")return;i.dataset.htmlBuilderIsSubmitting="true",(O=e==null?void 0:e.args)!=null&&O.submitSilently?i.dataset.htmlBuilderIsSubmittingSilently="true":delete i.dataset.htmlBuilderIsSubmittingSilently;const r=t==null?void 0:t.currentTarget;r!=null&&r.dataset&&(r.dataset.isSubmitting="true");const{globalDataContext:o,templateContext:c}=e,f=o.getRootContext?o.getRootContext():o,p=((M=e==null?void 0:e.args)==null?void 0:M.refreshAppOnResponse)??!0,m=Xn({valueToEvaluate:(N=e==null?void 0:e.args)==null?void 0:N.url,globalDataContext:f,templateContext:c});if(!m)return;let b={};if((w=e==null?void 0:e.args)!=null&&w.hasOwnProperty("data")){let q=function(P,z){if(Array.isArray(P))return P.map(z);if(typeof P=="object"&&P!==null){const R=Object.entries(P).map(([H,j])=>[H,z(j)]);return Object.fromEntries(R)}else return z(P)?P:null};b=e.args.data,b=q(b,P=>Xn({valueToEvaluate:P,globalDataContext:f,templateContext:c})),f.templateData.__state!==void 0&&(b.__state=f.templateData.__state)}else b.data=f.templateData,f.templateData.__state!==void 0&&(b.data.__state=f.templateData.__state);const S=f.headersForData??{},{setRawAppData:E}=f,_={method:((U=e==null?void 0:e.args)==null?void 0:U.httpMethod)??"post",url:m,data:b};S&&(_.headers=S),ra(_).then(q=>{p&&E(q.data)}).catch(q=>{console.log("reactionFunction:submitData : Could not submit. Reason: "+q.message)}).finally(()=>{delete i.dataset.htmlBuilderIsSubmitting,delete i.dataset.htmlBuilderIsSubmittingSilently,r!=null&&r.dataset&&delete r.dataset.isSubmitting})},triggerEvent:e=>{var m,b,S,E,_,O;const t=(m=e==null?void 0:e.args)==null?void 0:m.selector;if(!t||typeof t!="string"||t.length===0)return;const i=(b=e==null?void 0:e.args)==null?void 0:b.selectorBase;let r;if(typeof i>"u"?r=document:i==="currentEventTarget"?r=(S=e==null?void 0:e.event)==null?void 0:S.target:r=(_=(E=e==null?void 0:e.event)==null?void 0:E.target)==null?void 0:_.closest(i),!r)return;const o=(O=e==null?void 0:e.args)==null?void 0:O.eventName;if(!o||typeof o!="string"||o.length===0)return;const c=r.querySelectorAll(t),f=Object.entries(c),p=()=>{var w,U;const M=((U=(w=f.splice(0,1))==null?void 0:w[0])==null?void 0:U[1])??void 0;if(!M)return;const N=new Event(o,{bubbles:!0,cancelable:!1});M.dispatchEvent(N),Promise.resolve().then(p)};p()}},mk=e=>{const t=I.useContext(ti),i=I.useContext(Gn),{actionProps:r}=e,o={};for(const[p,m]of Object.entries(r))o[p]=b=>{let S=!0;for(const E of m){if(!E)continue;const _=E.what&&(Uy[E.what]??null);if(_){if(_({args:E,event:b,globalDataContext:t,templateContext:i}),E.stopPropagation===!0)break;S=E.stopPropagation??!0}}S!==!1&&b.stopPropagation()};const c=p=>{if(!p)return p;const m=I.Children.toArray(p);return I.Children.map(m,b=>{var S;return b.type===I.Fragment?c((S=b==null?void 0:b.props)==null?void 0:S.children):typeof b!="object"||!I.isValidElement(b)?b:I.cloneElement(b,o)})},f=c(e.children);return ie.jsx(ie.Fragment,{children:f})},yk=e=>{const t=I.useContext(tA),i=I.useContext(ti),r=I.useContext(Gn),o=(e==null?void 0:e.actionProps)??void 0;return I.useEffect(()=>{const c=o??void 0,f=(o==null?void 0:o.what)??void 0,p=(o==null?void 0:o.whenHashIs)??void 0,m=(o==null?void 0:o.whenHashWas)??void 0,b=Sx({globalDataContext:i,templateContext:r,valueToEvaluate:p}),S=Sx({globalDataContext:i,templateContext:r,valueToEvaluate:m}),E=_=>{if(typeof b=="string"&&new URL(_.newUrl).hash!==b||typeof S=="string"&&new URL(_.oldUrl).hash!==b)return;const O=f&&(Uy[f]??void 0);O&&O({args:c,event:_,globalDataContext:i,templateContext:r})};return t==null||t.addEventListener("hashchange",E),()=>{t==null||t.removeEventListener("hashchange",E)}},[t,i,o,r]),ie.jsx(ie.Fragment,{children:e.children})},vk=()=>null,bk=e=>{const t=I.useContext(tA),i=I.useContext(ti),r=I.useContext(Gn),o=(e==null?void 0:e.actionProps)??void 0;return I.useEffect(()=>{const c=o??void 0,f=(o==null?void 0:o.what)??void 0,p=(o==null?void 0:o.whenMessageIs)??void 0,m=Sx({globalDataContext:i,templateContext:r,valueToEvaluate:p}),b=S=>{if(S.origin!==window.location.origin||!Sp.isEqual(S.data,m))return;const E=f&&(Uy[f]??void 0);E&&E({args:c,event:S,globalDataContext:i,templateContext:r})};return t==null||t.addEventListener("message",b),()=>{t==null||t.removeEventListener("message",b)}},[t,i,o,r]),ie.jsx(ie.Fragment,{children:e.children})};var yA={exports:{}};/*!
|
|
54
|
+
Copyright (c) 2018 Jed Watson.
|
|
55
|
+
Licensed under the MIT License (MIT), see
|
|
56
|
+
http://jedwatson.github.io/classnames
|
|
57
|
+
*/var k2;function xk(){return k2||(k2=1,function(e){(function(){var t={}.hasOwnProperty;function i(){for(var c="",f=0;f<arguments.length;f++){var p=arguments[f];p&&(c=o(c,r(p)))}return c}function r(c){if(typeof c=="string"||typeof c=="number")return c;if(typeof c!="object")return"";if(Array.isArray(c))return i.apply(null,c);if(c.toString!==Object.prototype.toString&&!c.toString.toString().includes("[native code]"))return c.toString();var f="";for(var p in c)t.call(c,p)&&c[p]&&(f=o(f,p));return f}function o(c,f){return f?c?c+" "+f:c+f:c}e.exports?(i.default=i,e.exports=i):window.classNames=i})()}(yA)),yA.exports}var Sk=xk();const jt=Sb(Sk);function vA(){return vA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var r in i)({}).hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},vA.apply(null,arguments)}function z2(e,t){if(e==null)return{};var i={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;i[r]=e[r]}return i}function U2(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function Ek(e){var t=Ak(e,"string");return typeof t=="symbol"?t:String(t)}function Ak(e,t){if(typeof e!="object"||e===null)return e;var i=e[Symbol.toPrimitive];if(i!==void 0){var r=i.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function H2(e,t,i){var r=I.useRef(e!==void 0),o=I.useState(t),c=o[0],f=o[1],p=e!==void 0,m=r.current;return r.current=p,!p&&m&&c!==t&&f(t),[p?e:c,I.useCallback(function(b){for(var S=arguments.length,E=new Array(S>1?S-1:0),_=1;_<S;_++)E[_-1]=arguments[_];i&&i.apply(void 0,[b].concat(E)),f(b)},[i])]}function Bx(e,t){return Object.keys(t).reduce(function(i,r){var o,c=i,f=c[U2(r)],p=c[r],m=z2(c,[U2(r),r].map(Ek)),b=t[r],S=H2(p,f,e[b]),E=S[0],_=S[1];return vA({},m,(o={},o[r]=E,o[b]=_,o))},e)}function bA(e,t){return bA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,r){return i.__proto__=r,i},bA(e,t)}function Tk(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,bA(e,t)}const Ck=["xxl","xl","lg","md","sm","xs"],Ob=ut.createContext({prefixes:{},breakpoints:Ck,minBreakpoint:"xs"}),{Consumer:_V,Provider:wV}=Ob;function hn(e,t){const{prefixes:i}=I.useContext(Ob);return e||i[t]||t}function _k(){const{breakpoints:e}=I.useContext(Ob);return e}function wk(){const{minBreakpoint:e}=I.useContext(Ob);return e}function xA(){const{dir:e}=I.useContext(Ob);return e==="rtl"}function Hy(e){return e&&e.ownerDocument||document}function Dk(e){var t=Hy(e);return t&&t.defaultView||window}function Ok(e,t){return Dk(e).getComputedStyle(e,t)}var Rk=/([A-Z])/g;function Mk(e){return e.replace(Rk,"-$1").toLowerCase()}var Nk=/^ms-/;function Lx(e){return Mk(e).replace(Nk,"-ms-")}var Bk=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function Lk(e){return!!(e&&Bk.test(e))}function Fd(e,t){var i="",r="";if(typeof t=="string")return e.style.getPropertyValue(Lx(t))||Ok(e).getPropertyValue(Lx(t));Object.keys(t).forEach(function(o){var c=t[o];!c&&c!==0?e.style.removeProperty(Lx(o)):Lk(o)?r+=o+"("+c+") ":i+=Lx(o)+": "+c+";"}),r&&(i+="transform: "+r+";"),e.style.cssText+=";"+i}var kx={exports:{}},zx={exports:{}},pi={};/** @license React v16.13.1
|
|
58
|
+
* react-is.production.min.js
|
|
59
|
+
*
|
|
60
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
61
|
+
*
|
|
62
|
+
* This source code is licensed under the MIT license found in the
|
|
63
|
+
* LICENSE file in the root directory of this source tree.
|
|
64
|
+
*/var j2;function kk(){if(j2)return pi;j2=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,i=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,c=e?Symbol.for("react.profiler"):60114,f=e?Symbol.for("react.provider"):60109,p=e?Symbol.for("react.context"):60110,m=e?Symbol.for("react.async_mode"):60111,b=e?Symbol.for("react.concurrent_mode"):60111,S=e?Symbol.for("react.forward_ref"):60112,E=e?Symbol.for("react.suspense"):60113,_=e?Symbol.for("react.suspense_list"):60120,O=e?Symbol.for("react.memo"):60115,M=e?Symbol.for("react.lazy"):60116,N=e?Symbol.for("react.block"):60121,w=e?Symbol.for("react.fundamental"):60117,U=e?Symbol.for("react.responder"):60118,q=e?Symbol.for("react.scope"):60119;function P(R){if(typeof R=="object"&&R!==null){var H=R.$$typeof;switch(H){case t:switch(R=R.type,R){case m:case b:case r:case c:case o:case E:return R;default:switch(R=R&&R.$$typeof,R){case p:case S:case M:case O:case f:return R;default:return H}}case i:return H}}}function z(R){return P(R)===b}return pi.AsyncMode=m,pi.ConcurrentMode=b,pi.ContextConsumer=p,pi.ContextProvider=f,pi.Element=t,pi.ForwardRef=S,pi.Fragment=r,pi.Lazy=M,pi.Memo=O,pi.Portal=i,pi.Profiler=c,pi.StrictMode=o,pi.Suspense=E,pi.isAsyncMode=function(R){return z(R)||P(R)===m},pi.isConcurrentMode=z,pi.isContextConsumer=function(R){return P(R)===p},pi.isContextProvider=function(R){return P(R)===f},pi.isElement=function(R){return typeof R=="object"&&R!==null&&R.$$typeof===t},pi.isForwardRef=function(R){return P(R)===S},pi.isFragment=function(R){return P(R)===r},pi.isLazy=function(R){return P(R)===M},pi.isMemo=function(R){return P(R)===O},pi.isPortal=function(R){return P(R)===i},pi.isProfiler=function(R){return P(R)===c},pi.isStrictMode=function(R){return P(R)===o},pi.isSuspense=function(R){return P(R)===E},pi.isValidElementType=function(R){return typeof R=="string"||typeof R=="function"||R===r||R===b||R===c||R===o||R===E||R===_||typeof R=="object"&&R!==null&&(R.$$typeof===M||R.$$typeof===O||R.$$typeof===f||R.$$typeof===p||R.$$typeof===S||R.$$typeof===w||R.$$typeof===U||R.$$typeof===q||R.$$typeof===N)},pi.typeOf=P,pi}var gi={};/** @license React v16.13.1
|
|
65
|
+
* react-is.development.js
|
|
66
|
+
*
|
|
67
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
68
|
+
*
|
|
69
|
+
* This source code is licensed under the MIT license found in the
|
|
70
|
+
* LICENSE file in the root directory of this source tree.
|
|
71
|
+
*/var F2;function zk(){return F2||(F2=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,i=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,c=e?Symbol.for("react.profiler"):60114,f=e?Symbol.for("react.provider"):60109,p=e?Symbol.for("react.context"):60110,m=e?Symbol.for("react.async_mode"):60111,b=e?Symbol.for("react.concurrent_mode"):60111,S=e?Symbol.for("react.forward_ref"):60112,E=e?Symbol.for("react.suspense"):60113,_=e?Symbol.for("react.suspense_list"):60120,O=e?Symbol.for("react.memo"):60115,M=e?Symbol.for("react.lazy"):60116,N=e?Symbol.for("react.block"):60121,w=e?Symbol.for("react.fundamental"):60117,U=e?Symbol.for("react.responder"):60118,q=e?Symbol.for("react.scope"):60119;function P(Ie){return typeof Ie=="string"||typeof Ie=="function"||Ie===r||Ie===b||Ie===c||Ie===o||Ie===E||Ie===_||typeof Ie=="object"&&Ie!==null&&(Ie.$$typeof===M||Ie.$$typeof===O||Ie.$$typeof===f||Ie.$$typeof===p||Ie.$$typeof===S||Ie.$$typeof===w||Ie.$$typeof===U||Ie.$$typeof===q||Ie.$$typeof===N)}function z(Ie){if(typeof Ie=="object"&&Ie!==null){var Ct=Ie.$$typeof;switch(Ct){case t:var Rt=Ie.type;switch(Rt){case m:case b:case r:case c:case o:case E:return Rt;default:var Et=Rt&&Rt.$$typeof;switch(Et){case p:case S:case M:case O:case f:return Et;default:return Ct}}case i:return Ct}}}var R=m,H=b,j=p,K=f,W=t,ge=S,ce=r,be=M,Oe=O,Ae=i,Fe=c,ee=o,le=E,ve=!1;function Qe(Ie){return ve||(ve=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),ne(Ie)||z(Ie)===m}function ne(Ie){return z(Ie)===b}function Ee(Ie){return z(Ie)===p}function Re(Ie){return z(Ie)===f}function ae(Ie){return typeof Ie=="object"&&Ie!==null&&Ie.$$typeof===t}function de(Ie){return z(Ie)===S}function we(Ie){return z(Ie)===r}function Ue(Ie){return z(Ie)===M}function at(Ie){return z(Ie)===O}function Ke(Ie){return z(Ie)===i}function Le(Ie){return z(Ie)===c}function De(Ie){return z(Ie)===o}function nt(Ie){return z(Ie)===E}gi.AsyncMode=R,gi.ConcurrentMode=H,gi.ContextConsumer=j,gi.ContextProvider=K,gi.Element=W,gi.ForwardRef=ge,gi.Fragment=ce,gi.Lazy=be,gi.Memo=Oe,gi.Portal=Ae,gi.Profiler=Fe,gi.StrictMode=ee,gi.Suspense=le,gi.isAsyncMode=Qe,gi.isConcurrentMode=ne,gi.isContextConsumer=Ee,gi.isContextProvider=Re,gi.isElement=ae,gi.isForwardRef=de,gi.isFragment=we,gi.isLazy=Ue,gi.isMemo=at,gi.isPortal=Ke,gi.isProfiler=Le,gi.isStrictMode=De,gi.isSuspense=nt,gi.isValidElementType=P,gi.typeOf=z}()),gi}var I2;function P2(){return I2||(I2=1,process.env.NODE_ENV==="production"?zx.exports=kk():zx.exports=zk()),zx.exports}/*
|
|
72
|
+
object-assign
|
|
73
|
+
(c) Sindre Sorhus
|
|
74
|
+
@license MIT
|
|
75
|
+
*/var SA,q2;function Uk(){if(q2)return SA;q2=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function r(c){if(c==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(c)}function o(){try{if(!Object.assign)return!1;var c=new String("abc");if(c[5]="de",Object.getOwnPropertyNames(c)[0]==="5")return!1;for(var f={},p=0;p<10;p++)f["_"+String.fromCharCode(p)]=p;var m=Object.getOwnPropertyNames(f).map(function(S){return f[S]});if(m.join("")!=="0123456789")return!1;var b={};return"abcdefghijklmnopqrst".split("").forEach(function(S){b[S]=S}),Object.keys(Object.assign({},b)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return SA=o()?Object.assign:function(c,f){for(var p,m=r(c),b,S=1;S<arguments.length;S++){p=Object(arguments[S]);for(var E in p)t.call(p,E)&&(m[E]=p[E]);if(e){b=e(p);for(var _=0;_<b.length;_++)i.call(p,b[_])&&(m[b[_]]=p[b[_]])}}return m},SA}var EA,V2;function AA(){if(V2)return EA;V2=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return EA=e,EA}var TA,Y2;function G2(){return Y2||(Y2=1,TA=Function.call.bind(Object.prototype.hasOwnProperty)),TA}var CA,X2;function Hk(){if(X2)return CA;X2=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=AA(),i={},r=G2();e=function(c){var f="Warning: "+c;typeof console<"u"&&console.error(f);try{throw new Error(f)}catch{}}}function o(c,f,p,m,b){if(process.env.NODE_ENV!=="production"){for(var S in c)if(r(c,S)){var E;try{if(typeof c[S]!="function"){var _=Error((m||"React class")+": "+p+" type `"+S+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof c[S]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw _.name="Invariant Violation",_}E=c[S](f,S,m,p,null,t)}catch(M){E=M}if(E&&!(E instanceof Error)&&e((m||"React class")+": type specification of "+p+" `"+S+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof E+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),E instanceof Error&&!(E.message in i)){i[E.message]=!0;var O=b?b():"";e("Failed "+p+" type: "+E.message+(O??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(i={})},CA=o,CA}var _A,$2;function jk(){if($2)return _A;$2=1;var e=P2(),t=Uk(),i=AA(),r=G2(),o=Hk(),c=function(){};process.env.NODE_ENV!=="production"&&(c=function(p){var m="Warning: "+p;typeof console<"u"&&console.error(m);try{throw new Error(m)}catch{}});function f(){return null}return _A=function(p,m){var b=typeof Symbol=="function"&&Symbol.iterator,S="@@iterator";function E(ne){var Ee=ne&&(b&&ne[b]||ne[S]);if(typeof Ee=="function")return Ee}var _="<<anonymous>>",O={array:U("array"),bigint:U("bigint"),bool:U("boolean"),func:U("function"),number:U("number"),object:U("object"),string:U("string"),symbol:U("symbol"),any:q(),arrayOf:P,element:z(),elementType:R(),instanceOf:H,node:ge(),objectOf:K,oneOf:j,oneOfType:W,shape:be,exact:Oe};function M(ne,Ee){return ne===Ee?ne!==0||1/ne===1/Ee:ne!==ne&&Ee!==Ee}function N(ne,Ee){this.message=ne,this.data=Ee&&typeof Ee=="object"?Ee:{},this.stack=""}N.prototype=Error.prototype;function w(ne){if(process.env.NODE_ENV!=="production")var Ee={},Re=0;function ae(we,Ue,at,Ke,Le,De,nt){if(Ke=Ke||_,De=De||at,nt!==i){if(m){var Ie=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 Ie.name="Invariant Violation",Ie}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Ct=Ke+":"+at;!Ee[Ct]&&Re<3&&(c("You are manually calling a React.PropTypes validation function for the `"+De+"` prop on `"+Ke+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),Ee[Ct]=!0,Re++)}}return Ue[at]==null?we?Ue[at]===null?new N("The "+Le+" `"+De+"` is marked as required "+("in `"+Ke+"`, but its value is `null`.")):new N("The "+Le+" `"+De+"` is marked as required in "+("`"+Ke+"`, but its value is `undefined`.")):null:ne(Ue,at,Ke,Le,De)}var de=ae.bind(null,!1);return de.isRequired=ae.bind(null,!0),de}function U(ne){function Ee(Re,ae,de,we,Ue,at){var Ke=Re[ae],Le=ee(Ke);if(Le!==ne){var De=le(Ke);return new N("Invalid "+we+" `"+Ue+"` of type "+("`"+De+"` supplied to `"+de+"`, expected ")+("`"+ne+"`."),{expectedType:ne})}return null}return w(Ee)}function q(){return w(f)}function P(ne){function Ee(Re,ae,de,we,Ue){if(typeof ne!="function")return new N("Property `"+Ue+"` of component `"+de+"` has invalid PropType notation inside arrayOf.");var at=Re[ae];if(!Array.isArray(at)){var Ke=ee(at);return new N("Invalid "+we+" `"+Ue+"` of type "+("`"+Ke+"` supplied to `"+de+"`, expected an array."))}for(var Le=0;Le<at.length;Le++){var De=ne(at,Le,de,we,Ue+"["+Le+"]",i);if(De instanceof Error)return De}return null}return w(Ee)}function z(){function ne(Ee,Re,ae,de,we){var Ue=Ee[Re];if(!p(Ue)){var at=ee(Ue);return new N("Invalid "+de+" `"+we+"` of type "+("`"+at+"` supplied to `"+ae+"`, expected a single ReactElement."))}return null}return w(ne)}function R(){function ne(Ee,Re,ae,de,we){var Ue=Ee[Re];if(!e.isValidElementType(Ue)){var at=ee(Ue);return new N("Invalid "+de+" `"+we+"` of type "+("`"+at+"` supplied to `"+ae+"`, expected a single ReactElement type."))}return null}return w(ne)}function H(ne){function Ee(Re,ae,de,we,Ue){if(!(Re[ae]instanceof ne)){var at=ne.name||_,Ke=Qe(Re[ae]);return new N("Invalid "+we+" `"+Ue+"` of type "+("`"+Ke+"` supplied to `"+de+"`, expected ")+("instance of `"+at+"`."))}return null}return w(Ee)}function j(ne){if(!Array.isArray(ne))return process.env.NODE_ENV!=="production"&&(arguments.length>1?c("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):c("Invalid argument supplied to oneOf, expected an array.")),f;function Ee(Re,ae,de,we,Ue){for(var at=Re[ae],Ke=0;Ke<ne.length;Ke++)if(M(at,ne[Ke]))return null;var Le=JSON.stringify(ne,function(nt,Ie){var Ct=le(Ie);return Ct==="symbol"?String(Ie):Ie});return new N("Invalid "+we+" `"+Ue+"` of value `"+String(at)+"` "+("supplied to `"+de+"`, expected one of "+Le+"."))}return w(Ee)}function K(ne){function Ee(Re,ae,de,we,Ue){if(typeof ne!="function")return new N("Property `"+Ue+"` of component `"+de+"` has invalid PropType notation inside objectOf.");var at=Re[ae],Ke=ee(at);if(Ke!=="object")return new N("Invalid "+we+" `"+Ue+"` of type "+("`"+Ke+"` supplied to `"+de+"`, expected an object."));for(var Le in at)if(r(at,Le)){var De=ne(at,Le,de,we,Ue+"."+Le,i);if(De instanceof Error)return De}return null}return w(Ee)}function W(ne){if(!Array.isArray(ne))return process.env.NODE_ENV!=="production"&&c("Invalid argument supplied to oneOfType, expected an instance of array."),f;for(var Ee=0;Ee<ne.length;Ee++){var Re=ne[Ee];if(typeof Re!="function")return c("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ve(Re)+" at index "+Ee+"."),f}function ae(de,we,Ue,at,Ke){for(var Le=[],De=0;De<ne.length;De++){var nt=ne[De],Ie=nt(de,we,Ue,at,Ke,i);if(Ie==null)return null;Ie.data&&r(Ie.data,"expectedType")&&Le.push(Ie.data.expectedType)}var Ct=Le.length>0?", expected one of type ["+Le.join(", ")+"]":"";return new N("Invalid "+at+" `"+Ke+"` supplied to "+("`"+Ue+"`"+Ct+"."))}return w(ae)}function ge(){function ne(Ee,Re,ae,de,we){return Ae(Ee[Re])?null:new N("Invalid "+de+" `"+we+"` supplied to "+("`"+ae+"`, expected a ReactNode."))}return w(ne)}function ce(ne,Ee,Re,ae,de){return new N((ne||"React class")+": "+Ee+" type `"+Re+"."+ae+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+de+"`.")}function be(ne){function Ee(Re,ae,de,we,Ue){var at=Re[ae],Ke=ee(at);if(Ke!=="object")return new N("Invalid "+we+" `"+Ue+"` of type `"+Ke+"` "+("supplied to `"+de+"`, expected `object`."));for(var Le in ne){var De=ne[Le];if(typeof De!="function")return ce(de,we,Ue,Le,le(De));var nt=De(at,Le,de,we,Ue+"."+Le,i);if(nt)return nt}return null}return w(Ee)}function Oe(ne){function Ee(Re,ae,de,we,Ue){var at=Re[ae],Ke=ee(at);if(Ke!=="object")return new N("Invalid "+we+" `"+Ue+"` of type `"+Ke+"` "+("supplied to `"+de+"`, expected `object`."));var Le=t({},Re[ae],ne);for(var De in Le){var nt=ne[De];if(r(ne,De)&&typeof nt!="function")return ce(de,we,Ue,De,le(nt));if(!nt)return new N("Invalid "+we+" `"+Ue+"` key `"+De+"` supplied to `"+de+"`.\nBad object: "+JSON.stringify(Re[ae],null," ")+`
|
|
76
|
+
Valid keys: `+JSON.stringify(Object.keys(ne),null," "));var Ie=nt(at,De,de,we,Ue+"."+De,i);if(Ie)return Ie}return null}return w(Ee)}function Ae(ne){switch(typeof ne){case"number":case"string":case"undefined":return!0;case"boolean":return!ne;case"object":if(Array.isArray(ne))return ne.every(Ae);if(ne===null||p(ne))return!0;var Ee=E(ne);if(Ee){var Re=Ee.call(ne),ae;if(Ee!==ne.entries){for(;!(ae=Re.next()).done;)if(!Ae(ae.value))return!1}else for(;!(ae=Re.next()).done;){var de=ae.value;if(de&&!Ae(de[1]))return!1}}else return!1;return!0;default:return!1}}function Fe(ne,Ee){return ne==="symbol"?!0:Ee?Ee["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&Ee instanceof Symbol:!1}function ee(ne){var Ee=typeof ne;return Array.isArray(ne)?"array":ne instanceof RegExp?"object":Fe(Ee,ne)?"symbol":Ee}function le(ne){if(typeof ne>"u"||ne===null)return""+ne;var Ee=ee(ne);if(Ee==="object"){if(ne instanceof Date)return"date";if(ne instanceof RegExp)return"regexp"}return Ee}function ve(ne){var Ee=le(ne);switch(Ee){case"array":case"object":return"an "+Ee;case"boolean":case"date":case"regexp":return"a "+Ee;default:return Ee}}function Qe(ne){return!ne.constructor||!ne.constructor.name?_:ne.constructor.name}return O.checkPropTypes=o,O.resetWarningCache=o.resetWarningCache,O.PropTypes=O,O},_A}var wA,Q2;function Fk(){if(Q2)return wA;Q2=1;var e=AA();function t(){}function i(){}return i.resetWarningCache=t,wA=function(){function r(f,p,m,b,S,E){if(E!==e){var _=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 _.name="Invariant Violation",_}}r.isRequired=r;function o(){return r}var c={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:i,resetWarningCache:t};return c.PropTypes=c,c},wA}var Z2;function Ik(){if(Z2)return kx.exports;if(Z2=1,process.env.NODE_ENV!=="production"){var e=P2(),t=!0;kx.exports=jk()(e.isElement,t)}else kx.exports=Fk()();return kx.exports}var Pk=Ik();const Nt=Sb(Pk),W2={disabled:!1};var qk=process.env.NODE_ENV!=="production"?Nt.oneOfType([Nt.number,Nt.shape({enter:Nt.number,exit:Nt.number,appear:Nt.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&Nt.oneOfType([Nt.string,Nt.shape({enter:Nt.string,exit:Nt.string,active:Nt.string}),Nt.shape({enter:Nt.string,enterDone:Nt.string,enterActive:Nt.string,exit:Nt.string,exitDone:Nt.string,exitActive:Nt.string})]);const K2=I.createContext(null);var Vk=function(t){return t.scrollTop},Rb="unmounted",Ep="exited",Id="entering",Ap="entered",Ux="exiting",Pd=function(e){Tk(t,e);function t(r,o){var c;c=e.call(this,r,o)||this;var f=o,p=f&&!f.isMounting?r.enter:r.appear,m;return c.appearStatus=null,r.in?p?(m=Ep,c.appearStatus=Id):m=Ap:r.unmountOnExit||r.mountOnEnter?m=Rb:m=Ep,c.state={status:m},c.nextCallback=null,c}t.getDerivedStateFromProps=function(o,c){var f=o.in;return f&&c.status===Rb?{status:Ep}:null};var i=t.prototype;return i.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},i.componentDidUpdate=function(o){var c=null;if(o!==this.props){var f=this.state.status;this.props.in?f!==Id&&f!==Ap&&(c=Id):(f===Id||f===Ap)&&(c=Ux)}this.updateStatus(!1,c)},i.componentWillUnmount=function(){this.cancelNextCallback()},i.getTimeouts=function(){var o=this.props.timeout,c,f,p;return c=f=p=o,o!=null&&typeof o!="number"&&(c=o.exit,f=o.enter,p=o.appear!==void 0?o.appear:f),{exit:c,enter:f,appear:p}},i.updateStatus=function(o,c){if(o===void 0&&(o=!1),c!==null)if(this.cancelNextCallback(),c===Id){if(this.props.unmountOnExit||this.props.mountOnEnter){var f=this.props.nodeRef?this.props.nodeRef.current:Xa.findDOMNode(this);f&&Vk(f)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ep&&this.setState({status:Rb})},i.performEnter=function(o){var c=this,f=this.props.enter,p=this.context?this.context.isMounting:o,m=this.props.nodeRef?[p]:[Xa.findDOMNode(this),p],b=m[0],S=m[1],E=this.getTimeouts(),_=p?E.appear:E.enter;if(!o&&!f||W2.disabled){this.safeSetState({status:Ap},function(){c.props.onEntered(b)});return}this.props.onEnter(b,S),this.safeSetState({status:Id},function(){c.props.onEntering(b,S),c.onTransitionEnd(_,function(){c.safeSetState({status:Ap},function(){c.props.onEntered(b,S)})})})},i.performExit=function(){var o=this,c=this.props.exit,f=this.getTimeouts(),p=this.props.nodeRef?void 0:Xa.findDOMNode(this);if(!c||W2.disabled){this.safeSetState({status:Ep},function(){o.props.onExited(p)});return}this.props.onExit(p),this.safeSetState({status:Ux},function(){o.props.onExiting(p),o.onTransitionEnd(f.exit,function(){o.safeSetState({status:Ep},function(){o.props.onExited(p)})})})},i.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},i.safeSetState=function(o,c){c=this.setNextCallback(c),this.setState(o,c)},i.setNextCallback=function(o){var c=this,f=!0;return this.nextCallback=function(p){f&&(f=!1,c.nextCallback=null,o(p))},this.nextCallback.cancel=function(){f=!1},this.nextCallback},i.onTransitionEnd=function(o,c){this.setNextCallback(c);var f=this.props.nodeRef?this.props.nodeRef.current:Xa.findDOMNode(this),p=o==null&&!this.props.addEndListener;if(!f||p){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var m=this.props.nodeRef?[this.nextCallback]:[f,this.nextCallback],b=m[0],S=m[1];this.props.addEndListener(b,S)}o!=null&&setTimeout(this.nextCallback,o)},i.render=function(){var o=this.state.status;if(o===Rb)return null;var c=this.props,f=c.children;c.in,c.mountOnEnter,c.unmountOnExit,c.appear,c.enter,c.exit,c.timeout,c.addEndListener,c.onEnter,c.onEntering,c.onEntered,c.onExit,c.onExiting,c.onExited,c.nodeRef;var p=z2(c,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return I.createElement(K2.Provider,{value:null},typeof f=="function"?f(o,p):I.cloneElement(I.Children.only(f),p))},t}(I.Component);Pd.contextType=K2,Pd.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:Nt.shape({current:typeof Element>"u"?Nt.any:function(e,t,i,r,o,c){var f=e[t];return Nt.instanceOf(f&&"ownerDocument"in f?f.ownerDocument.defaultView.Element:Element)(e,t,i,r,o,c)}}),children:Nt.oneOfType([Nt.func.isRequired,Nt.element.isRequired]).isRequired,in:Nt.bool,mountOnEnter:Nt.bool,unmountOnExit:Nt.bool,appear:Nt.bool,enter:Nt.bool,exit:Nt.bool,timeout:function(t){var i=qk;t.addEndListener||(i=i.isRequired);for(var r=arguments.length,o=new Array(r>1?r-1:0),c=1;c<r;c++)o[c-1]=arguments[c];return i.apply(void 0,[t].concat(o))},addEndListener:Nt.func,onEnter:Nt.func,onEntering:Nt.func,onEntered:Nt.func,onExit:Nt.func,onExiting:Nt.func,onExited:Nt.func}:{};function jy(){}Pd.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:jy,onEntering:jy,onEntered:jy,onExit:jy,onExiting:jy,onExited:jy},Pd.UNMOUNTED=Rb,Pd.EXITED=Ep,Pd.ENTERING=Id,Pd.ENTERED=Ap,Pd.EXITING=Ux;function J2(e){return e.code==="Escape"||e.keyCode===27}function Yk(){const e=ut.version.split(".");return{major:+e[0],minor:+e[1],patch:+e[2]}}function Fy(e){if(!e||typeof e=="function")return null;const{major:t}=Yk();return t>=19?e.props.ref:e.ref}const Iy=!!(typeof window<"u"&&window.document&&window.document.createElement);var DA=!1,OA=!1;try{var RA={get passive(){return DA=!0},get once(){return OA=DA=!0}};Iy&&(window.addEventListener("test",RA,RA),window.removeEventListener("test",RA,!0))}catch{}function ew(e,t,i,r){if(r&&typeof r!="boolean"&&!OA){var o=r.once,c=r.capture,f=i;!OA&&o&&(f=i.__once||function p(m){this.removeEventListener(t,p,c),i.call(this,m)},i.__once=f),e.addEventListener(t,f,DA?r:c)}e.addEventListener(t,i,r)}function MA(e,t,i,r){var o=r&&typeof r!="boolean"?r.capture:r;e.removeEventListener(t,i,o),i.__once&&e.removeEventListener(t,i.__once,o)}function qd(e,t,i,r){return ew(e,t,i,r),function(){MA(e,t,i,r)}}function Gk(e,t,i,r){if(r===void 0&&(r=!0),e){var o=document.createEvent("HTMLEvents");o.initEvent(t,i,r),e.dispatchEvent(o)}}function Xk(e){var t=Fd(e,"transitionDuration")||"",i=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*i}function $k(e,t,i){i===void 0&&(i=5);var r=!1,o=setTimeout(function(){r||Gk(e,"transitionend",!0)},t+i),c=qd(e,"transitionend",function(){r=!0},{once:!0});return function(){clearTimeout(o),c()}}function tw(e,t,i,r){i==null&&(i=Xk(e)||0);var o=$k(e,i,r),c=qd(e,"transitionend",t);return function(){o(),c()}}function nw(e,t){const i=Fd(e,t)||"",r=i.indexOf("ms")===-1?1e3:1;return parseFloat(i)*r}function iw(e,t){const i=nw(e,"transitionDuration"),r=nw(e,"transitionDelay"),o=tw(e,c=>{c.target===e&&(o(),t(c))},i+r)}function Mb(...e){return e.filter(t=>t!=null).reduce((t,i)=>{if(typeof i!="function")throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return t===null?i:function(...o){t.apply(this,o),i.apply(this,o)}},null)}function aw(e){e.offsetHeight}const rw=e=>!e||typeof e=="function"?e:t=>{e.current=t};function Qk(e,t){const i=rw(e),r=rw(t);return o=>{i&&i(o),r&&r(o)}}function Hx(e,t){return I.useMemo(()=>Qk(e,t),[e,t])}function jx(e){return e&&"setState"in e?Xa.findDOMNode(e):e??null}const lw=I.forwardRef(({onEnter:e,onEntering:t,onEntered:i,onExit:r,onExiting:o,onExited:c,addEndListener:f,children:p,childRef:m,...b},S)=>{const E=I.useRef(null),_=Hx(E,m),O=H=>{_(jx(H))},M=H=>j=>{H&&E.current&&H(E.current,j)},N=I.useCallback(M(e),[e]),w=I.useCallback(M(t),[t]),U=I.useCallback(M(i),[i]),q=I.useCallback(M(r),[r]),P=I.useCallback(M(o),[o]),z=I.useCallback(M(c),[c]),R=I.useCallback(M(f),[f]);return ie.jsx(Pd,{ref:S,...b,onEnter:N,onEntered:U,onEntering:w,onExit:q,onExited:z,onExiting:P,addEndListener:R,nodeRef:E,children:typeof p=="function"?(H,j)=>p(H,{...j,ref:O}):I.cloneElement(p,{ref:O})})}),Zk={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};function Wk(e,t){const i=`offset${e[0].toUpperCase()}${e.slice(1)}`,r=t[i],o=Zk[e];return r+parseInt(Fd(t,o[0]),10)+parseInt(Fd(t,o[1]),10)}const Kk={[Ep]:"collapse",[Ux]:"collapsing",[Id]:"collapsing",[Ap]:"collapse show"},Jk=I.forwardRef(({onEnter:e,onEntering:t,onEntered:i,onExit:r,onExiting:o,className:c,children:f,dimension:p="height",in:m=!1,timeout:b=300,mountOnEnter:S=!1,unmountOnExit:E=!1,appear:_=!1,getDimensionValue:O=Wk,...M},N)=>{const w=typeof p=="function"?p():p,U=I.useMemo(()=>Mb(H=>{H.style[w]="0"},e),[w,e]),q=I.useMemo(()=>Mb(H=>{const j=`scroll${w[0].toUpperCase()}${w.slice(1)}`;H.style[w]=`${H[j]}px`},t),[w,t]),P=I.useMemo(()=>Mb(H=>{H.style[w]=null},i),[w,i]),z=I.useMemo(()=>Mb(H=>{H.style[w]=`${O(w,H)}px`,aw(H)},r),[r,O,w]),R=I.useMemo(()=>Mb(H=>{H.style[w]=null},o),[w,o]);return ie.jsx(lw,{ref:N,addEndListener:iw,...M,"aria-expanded":M.role?m:null,onEnter:U,onEntering:q,onEntered:P,onExit:z,onExiting:R,childRef:Fy(f),in:m,timeout:b,mountOnEnter:S,unmountOnExit:E,appear:_,children:(H,j)=>I.cloneElement(f,{...j,className:jt(c,f.props.className,Kk[H],w==="width"&&"collapse-horizontal")})})});function ow(e,t){return Array.isArray(e)?e.includes(t):e===t}const Nb=ut.createContext({});Nb.displayName="AccordionContext";const NA=ut.forwardRef(({as:e="div",bsPrefix:t,className:i,children:r,eventKey:o,...c},f)=>{const{activeEventKey:p}=I.useContext(Nb);return t=hn(t,"accordion-collapse"),ie.jsx(Jk,{ref:f,in:ow(p,o),...c,className:jt(i,t),children:ie.jsx(e,{children:ut.Children.only(r)})})});NA.displayName="AccordionCollapse";const Fx=ut.createContext({eventKey:""});Fx.displayName="AccordionItemContext";const sw=ut.forwardRef(({as:e="div",bsPrefix:t,className:i,onEnter:r,onEntering:o,onEntered:c,onExit:f,onExiting:p,onExited:m,...b},S)=>{t=hn(t,"accordion-body");const{eventKey:E}=I.useContext(Fx);return ie.jsx(NA,{eventKey:E,onEnter:r,onEntering:o,onEntered:c,onExit:f,onExiting:p,onExited:m,children:ie.jsx(e,{ref:S,...b,className:jt(i,t)})})});sw.displayName="AccordionBody";function e6(e,t){const{activeEventKey:i,onSelect:r,alwaysOpen:o}=I.useContext(Nb);return c=>{let f=e===i?null:e;o&&(Array.isArray(i)?i.includes(e)?f=i.filter(p=>p!==e):f=[...i,e]:f=[e]),r==null||r(f,c),t==null||t(c)}}const BA=ut.forwardRef(({as:e="button",bsPrefix:t,className:i,onClick:r,...o},c)=>{t=hn(t,"accordion-button");const{eventKey:f}=I.useContext(Fx),p=e6(f,r),{activeEventKey:m}=I.useContext(Nb);return e==="button"&&(o.type="button"),ie.jsx(e,{ref:c,onClick:p,...o,"aria-expanded":Array.isArray(m)?m.includes(f):f===m,className:jt(i,t,!ow(m,f)&&"collapsed")})});BA.displayName="AccordionButton";const uw=ut.forwardRef(({as:e="h2","aria-controls":t,bsPrefix:i,className:r,children:o,onClick:c,...f},p)=>(i=hn(i,"accordion-header"),ie.jsx(e,{ref:p,...f,className:jt(r,i),children:ie.jsx(BA,{onClick:c,"aria-controls":t,children:o})})));uw.displayName="AccordionHeader";const cw=ut.forwardRef(({as:e="div",bsPrefix:t,className:i,eventKey:r,...o},c)=>{t=hn(t,"accordion-item");const f=I.useMemo(()=>({eventKey:r}),[r]);return ie.jsx(Fx.Provider,{value:f,children:ie.jsx(e,{ref:c,...o,className:jt(i,t)})})});cw.displayName="AccordionItem";const fw=ut.forwardRef((e,t)=>{const{as:i="div",activeKey:r,bsPrefix:o,className:c,onSelect:f,flush:p,alwaysOpen:m,...b}=Bx(e,{activeKey:"onSelect"}),S=hn(o,"accordion"),E=I.useMemo(()=>({activeEventKey:r,onSelect:f,alwaysOpen:m}),[r,f,m]);return ie.jsx(Nb.Provider,{value:E,children:ie.jsx(i,{ref:t,...b,className:jt(c,S,p&&`${S}-flush`)})})});fw.displayName="Accordion";const Ix=Object.assign(fw,{Button:BA,Collapse:NA,Item:cw,Header:uw,Body:sw});function t6(e){const t=I.useRef(e);return I.useEffect(()=>{t.current=e},[e]),t}function Bb(e){const t=t6(e);return I.useCallback(function(...i){return t.current&&t.current(...i)},[t])}const dw=e=>ut.forwardRef((t,i)=>ie.jsx("div",{...t,ref:i,className:jt(t.className,e)})),hw=dw("h4");hw.displayName="DivStyledAsH4";const pw=ut.forwardRef(({className:e,bsPrefix:t,as:i=hw,...r},o)=>(t=hn(t,"alert-heading"),ie.jsx(i,{ref:o,className:jt(e,t),...r})));pw.displayName="AlertHeading";function gw(){return I.useState(null)}function n6(e){const t=I.useRef(e);return I.useEffect(()=>{t.current=e},[e]),t}function vu(e){const t=n6(e);return I.useCallback(function(...i){return t.current&&t.current(...i)},[t])}function mw(){const e=I.useRef(!0),t=I.useRef(()=>e.current);return I.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function i6(e){const t=I.useRef(null);return I.useEffect(()=>{t.current=e}),t.current}const a6=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",yw=typeof document<"u"||a6?I.useLayoutEffect:I.useEffect,r6=["as","disabled"];function l6(e,t){if(e==null)return{};var i={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;i[r]=e[r]}return i}function o6(e){return!e||e.trim()==="#"}function LA({tagName:e,disabled:t,href:i,target:r,rel:o,role:c,onClick:f,tabIndex:p=0,type:m}){e||(i!=null||r!=null||o!=null?e="a":e="button");const b={tagName:e};if(e==="button")return[{type:m||"button",disabled:t},b];const S=_=>{if((t||e==="a"&&o6(i))&&_.preventDefault(),t){_.stopPropagation();return}f==null||f(_)},E=_=>{_.key===" "&&(_.preventDefault(),S(_))};return e==="a"&&(i||(i="#"),t&&(i=void 0)),[{role:c??"button",disabled:void 0,tabIndex:t?void 0:p,href:i,target:e==="a"?r:void 0,"aria-disabled":t||void 0,rel:e==="a"?o:void 0,onClick:S,onKeyDown:E},b]}const vw=ut.forwardRef((e,t)=>{let{as:i,disabled:r}=e,o=l6(e,r6);const[c,{tagName:f}]=LA(Object.assign({tagName:i,disabled:r},o));return ie.jsx(f,Object.assign({},o,c,{ref:t}))});vw.displayName="Button";const s6=["onKeyDown"];function u6(e,t){if(e==null)return{};var i={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;i[r]=e[r]}return i}function c6(e){return!e||e.trim()==="#"}const Px=ut.forwardRef((e,t)=>{let{onKeyDown:i}=e,r=u6(e,s6);const[o]=LA(Object.assign({tagName:"a"},r)),c=vu(f=>{o.onKeyDown(f),i==null||i(f)});return c6(r.href)||r.role==="button"?ie.jsx("a",Object.assign({ref:t},r,o,{onKeyDown:c})):ie.jsx("a",Object.assign({ref:t},r,{onKeyDown:i}))});Px.displayName="Anchor";const bw=ut.forwardRef(({className:e,bsPrefix:t,as:i=Px,...r},o)=>(t=hn(t,"alert-link"),ie.jsx(i,{ref:o,className:jt(e,t),...r})));bw.displayName="AlertLink";const f6={[Id]:"show",[Ap]:"show"},Vd=ut.forwardRef(({className:e,children:t,transitionClasses:i={},onEnter:r,...o},c)=>{const f={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...o},p=I.useCallback((m,b)=>{aw(m),r==null||r(m,b)},[r]);return ie.jsx(lw,{ref:c,addEndListener:iw,...f,onEnter:p,childRef:Fy(t),children:(m,b)=>ut.cloneElement(t,{...b,className:jt("fade",e,t.props.className,f6[m],i[m])})})});Vd.displayName="Fade";const d6={"aria-label":Nt.string,onClick:Nt.func,variant:Nt.oneOf(["white"])},qx=ut.forwardRef(({className:e,variant:t,"aria-label":i="Close",...r},o)=>ie.jsx("button",{ref:o,type:"button",className:jt("btn-close",t&&`btn-close-${t}`,e),"aria-label":i,...r}));qx.displayName="CloseButton",qx.propTypes=d6;const xw=ut.forwardRef((e,t)=>{const{bsPrefix:i,show:r=!0,closeLabel:o="Close alert",closeVariant:c,className:f,children:p,variant:m="primary",onClose:b,dismissible:S,transition:E=Vd,..._}=Bx(e,{show:"onClose"}),O=hn(i,"alert"),M=Bb(U=>{b&&b(!1,U)}),N=E===!0?Vd:E,w=ie.jsxs("div",{role:"alert",...N?void 0:_,ref:t,className:jt(f,O,m&&`${O}-${m}`,S&&`${O}-dismissible`),children:[S&&ie.jsx(qx,{onClick:M,"aria-label":o,variant:c}),p]});return N?ie.jsx(N,{unmountOnExit:!0,..._,ref:void 0,in:r,children:w}):r?w:null});xw.displayName="Alert";const h6=Object.assign(xw,{Link:bw,Heading:pw}),Sw=ut.forwardRef(({bsPrefix:e,bg:t="primary",pill:i=!1,text:r,className:o,as:c="span",...f},p)=>{const m=hn(e,"badge");return ie.jsx(c,{ref:p,...f,className:jt(o,m,i&&"rounded-pill",r&&`text-${r}`,t&&`bg-${t}`)})});Sw.displayName="Badge";const Ew=ut.forwardRef(({as:e,bsPrefix:t,variant:i="primary",size:r,active:o=!1,disabled:c=!1,className:f,...p},m)=>{const b=hn(t,"btn"),[S,{tagName:E}]=LA({tagName:e,disabled:c,...p}),_=E;return ie.jsx(_,{...S,...p,ref:m,disabled:c,className:jt(f,b,o&&"active",i&&`${b}-${i}`,r&&`${b}-${r}`,p.href&&c&&"disabled")})});Ew.displayName="Button";const Aw=ut.createContext(null);Aw.displayName="CardHeaderContext";function p6(){const e=I.useRef(!0),t=I.useRef(()=>e.current);return I.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function g6(e){const t=I.useRef(e);return t.current=e,t}function Tw(e){const t=g6(e);I.useEffect(()=>()=>t.current(),[])}const kA=2**31-1;function Cw(e,t,i){const r=i-Date.now();e.current=r<=kA?setTimeout(t,r):setTimeout(()=>Cw(e,t,i),kA)}function m6(){const e=p6(),t=I.useRef();return Tw(()=>clearTimeout(t.current)),I.useMemo(()=>{const i=()=>clearTimeout(t.current);function r(o,c=0){e()&&(i(),c<=kA?t.current=setTimeout(o,c):Cw(t,o,Date.now()+c))}return{set:r,clear:i,handleRef:t}},[])}function _w(e,t){let i=0;return ut.Children.map(e,r=>ut.isValidElement(r)?t(r,i++):r)}function y6(e,t){let i=0;ut.Children.forEach(e,r=>{ut.isValidElement(r)&&t(r,i++)})}function v6(e,t){return ut.Children.toArray(e).some(i=>ut.isValidElement(i)&&i.type===t)}function b6({as:e,bsPrefix:t,className:i,...r}){t=hn(t,"col");const o=_k(),c=wk(),f=[],p=[];return o.forEach(m=>{const b=r[m];delete r[m];let S,E,_;typeof b=="object"&&b!=null?{span:S,offset:E,order:_}=b:S=b;const O=m!==c?`-${m}`:"";S&&f.push(S===!0?`${t}${O}`:`${t}${O}-${S}`),_!=null&&p.push(`order${O}-${_}`),E!=null&&p.push(`offset${O}-${E}`)}),[{...r,className:jt(i,...f,...p)},{as:e,bsPrefix:t,spans:f}]}const ww=ut.forwardRef((e,t)=>{const[{className:i,...r},{as:o="div",bsPrefix:c,spans:f}]=b6(e);return ie.jsx(o,{...r,ref:t,className:jt(i,!f.length&&c)})});ww.displayName="Col";var x6=Function.prototype.bind.call(Function.prototype.call,[].slice);function Bm(e,t){return x6(e.querySelectorAll(t))}function S6(e,t,i){const r=I.useRef(e!==void 0),[o,c]=I.useState(t),f=e!==void 0,p=r.current;return r.current=f,!f&&p&&o!==t&&c(t),[f?e:o,I.useCallback((...m)=>{const[b,...S]=m;let E=i==null?void 0:i(b,...S);return c(b),E},[i])]}function E6(){const[,e]=I.useReducer(t=>t+1,0);return e}var Dw=Object.prototype.hasOwnProperty;function Ow(e,t,i){for(i of e.keys())if(Lb(i,t))return i}function Lb(e,t){var i,r,o;if(e===t)return!0;if(e&&t&&(i=e.constructor)===t.constructor){if(i===Date)return e.getTime()===t.getTime();if(i===RegExp)return e.toString()===t.toString();if(i===Array){if((r=e.length)===t.length)for(;r--&&Lb(e[r],t[r]););return r===-1}if(i===Set){if(e.size!==t.size)return!1;for(r of e)if(o=r,o&&typeof o=="object"&&(o=Ow(t,o),!o)||!t.has(o))return!1;return!0}if(i===Map){if(e.size!==t.size)return!1;for(r of e)if(o=r[0],o&&typeof o=="object"&&(o=Ow(t,o),!o)||!Lb(r[1],t.get(o)))return!1;return!0}if(i===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(i===DataView){if((r=e.byteLength)===t.byteLength)for(;r--&&e.getInt8(r)===t.getInt8(r););return r===-1}if(ArrayBuffer.isView(e)){if((r=e.byteLength)===t.byteLength)for(;r--&&e[r]===t[r];);return r===-1}if(!i||typeof e=="object"){r=0;for(i in e)if(Dw.call(e,i)&&++r&&!Dw.call(t,i)||!(i in t)||!Lb(e[i],t[i]))return!1;return Object.keys(t).length===r}}return e!==e&&t!==t}function A6(e){const t=mw();return[e[0],I.useCallback(i=>{if(t())return e[1](i)},[t,e[1]])]}var Uo="top",bu="bottom",xu="right",Ho="left",zA="auto",kb=[Uo,bu,xu,Ho],Py="start",zb="end",T6="clippingParents",Rw="viewport",Ub="popper",C6="reference",Mw=kb.reduce(function(e,t){return e.concat([t+"-"+Py,t+"-"+zb])},[]),Nw=[].concat(kb,[zA]).reduce(function(e,t){return e.concat([t,t+"-"+Py,t+"-"+zb])},[]),_6="beforeRead",w6="read",D6="afterRead",O6="beforeMain",R6="main",M6="afterMain",N6="beforeWrite",B6="write",L6="afterWrite",k6=[_6,w6,D6,O6,R6,M6,N6,B6,L6];function bf(e){return e.split("-")[0]}function Bs(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Lm(e){var t=Bs(e).Element;return e instanceof t||e instanceof Element}function xf(e){var t=Bs(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function UA(e){if(typeof ShadowRoot>"u")return!1;var t=Bs(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var km=Math.max,Vx=Math.min,qy=Math.round;function HA(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Bw(){return!/^((?!chrome|android).)*safari/i.test(HA())}function Vy(e,t,i){t===void 0&&(t=!1),i===void 0&&(i=!1);var r=e.getBoundingClientRect(),o=1,c=1;t&&xf(e)&&(o=e.offsetWidth>0&&qy(r.width)/e.offsetWidth||1,c=e.offsetHeight>0&&qy(r.height)/e.offsetHeight||1);var f=Lm(e)?Bs(e):window,p=f.visualViewport,m=!Bw()&&i,b=(r.left+(m&&p?p.offsetLeft:0))/o,S=(r.top+(m&&p?p.offsetTop:0))/c,E=r.width/o,_=r.height/c;return{width:E,height:_,top:S,right:b+E,bottom:S+_,left:b,x:b,y:S}}function jA(e){var t=Vy(e),i=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:i,height:r}}function Lw(e,t){var i=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(i&&UA(i)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Tp(e){return e?(e.nodeName||"").toLowerCase():null}function Yd(e){return Bs(e).getComputedStyle(e)}function z6(e){return["table","td","th"].indexOf(Tp(e))>=0}function Cp(e){return((Lm(e)?e.ownerDocument:e.document)||window.document).documentElement}function Yx(e){return Tp(e)==="html"?e:e.assignedSlot||e.parentNode||(UA(e)?e.host:null)||Cp(e)}function kw(e){return!xf(e)||Yd(e).position==="fixed"?null:e.offsetParent}function U6(e){var t=/firefox/i.test(HA()),i=/Trident/i.test(HA());if(i&&xf(e)){var r=Yd(e);if(r.position==="fixed")return null}var o=Yx(e);for(UA(o)&&(o=o.host);xf(o)&&["html","body"].indexOf(Tp(o))<0;){var c=Yd(o);if(c.transform!=="none"||c.perspective!=="none"||c.contain==="paint"||["transform","perspective"].indexOf(c.willChange)!==-1||t&&c.willChange==="filter"||t&&c.filter&&c.filter!=="none")return o;o=o.parentNode}return null}function Hb(e){for(var t=Bs(e),i=kw(e);i&&z6(i)&&Yd(i).position==="static";)i=kw(i);return i&&(Tp(i)==="html"||Tp(i)==="body"&&Yd(i).position==="static")?t:i||U6(e)||t}function FA(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function jb(e,t,i){return km(e,Vx(t,i))}function H6(e,t,i){var r=jb(e,t,i);return r>i?i:r}function zw(){return{top:0,right:0,bottom:0,left:0}}function Uw(e){return Object.assign({},zw(),e)}function Hw(e,t){return t.reduce(function(i,r){return i[r]=e,i},{})}var j6=function(t,i){return t=typeof t=="function"?t(Object.assign({},i.rects,{placement:i.placement})):t,Uw(typeof t!="number"?t:Hw(t,kb))};function F6(e){var t,i=e.state,r=e.name,o=e.options,c=i.elements.arrow,f=i.modifiersData.popperOffsets,p=bf(i.placement),m=FA(p),b=[Ho,xu].indexOf(p)>=0,S=b?"height":"width";if(!(!c||!f)){var E=j6(o.padding,i),_=jA(c),O=m==="y"?Uo:Ho,M=m==="y"?bu:xu,N=i.rects.reference[S]+i.rects.reference[m]-f[m]-i.rects.popper[S],w=f[m]-i.rects.reference[m],U=Hb(c),q=U?m==="y"?U.clientHeight||0:U.clientWidth||0:0,P=N/2-w/2,z=E[O],R=q-_[S]-E[M],H=q/2-_[S]/2+P,j=jb(z,H,R),K=m;i.modifiersData[r]=(t={},t[K]=j,t.centerOffset=j-H,t)}}function I6(e){var t=e.state,i=e.options,r=i.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||Lw(t.elements.popper,o)&&(t.elements.arrow=o))}const P6={name:"arrow",enabled:!0,phase:"main",fn:F6,effect:I6,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Yy(e){return e.split("-")[1]}var q6={top:"auto",right:"auto",bottom:"auto",left:"auto"};function V6(e,t){var i=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:qy(i*o)/o||0,y:qy(r*o)/o||0}}function jw(e){var t,i=e.popper,r=e.popperRect,o=e.placement,c=e.variation,f=e.offsets,p=e.position,m=e.gpuAcceleration,b=e.adaptive,S=e.roundOffsets,E=e.isFixed,_=f.x,O=_===void 0?0:_,M=f.y,N=M===void 0?0:M,w=typeof S=="function"?S({x:O,y:N}):{x:O,y:N};O=w.x,N=w.y;var U=f.hasOwnProperty("x"),q=f.hasOwnProperty("y"),P=Ho,z=Uo,R=window;if(b){var H=Hb(i),j="clientHeight",K="clientWidth";if(H===Bs(i)&&(H=Cp(i),Yd(H).position!=="static"&&p==="absolute"&&(j="scrollHeight",K="scrollWidth")),H=H,o===Uo||(o===Ho||o===xu)&&c===zb){z=bu;var W=E&&H===R&&R.visualViewport?R.visualViewport.height:H[j];N-=W-r.height,N*=m?1:-1}if(o===Ho||(o===Uo||o===bu)&&c===zb){P=xu;var ge=E&&H===R&&R.visualViewport?R.visualViewport.width:H[K];O-=ge-r.width,O*=m?1:-1}}var ce=Object.assign({position:p},b&&q6),be=S===!0?V6({x:O,y:N},Bs(i)):{x:O,y:N};if(O=be.x,N=be.y,m){var Oe;return Object.assign({},ce,(Oe={},Oe[z]=q?"0":"",Oe[P]=U?"0":"",Oe.transform=(R.devicePixelRatio||1)<=1?"translate("+O+"px, "+N+"px)":"translate3d("+O+"px, "+N+"px, 0)",Oe))}return Object.assign({},ce,(t={},t[z]=q?N+"px":"",t[P]=U?O+"px":"",t.transform="",t))}function Y6(e){var t=e.state,i=e.options,r=i.gpuAcceleration,o=r===void 0?!0:r,c=i.adaptive,f=c===void 0?!0:c,p=i.roundOffsets,m=p===void 0?!0:p,b={placement:bf(t.placement),variation:Yy(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,jw(Object.assign({},b,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:f,roundOffsets:m})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,jw(Object.assign({},b,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:m})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const G6={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Y6,data:{}};var Gx={passive:!0};function X6(e){var t=e.state,i=e.instance,r=e.options,o=r.scroll,c=o===void 0?!0:o,f=r.resize,p=f===void 0?!0:f,m=Bs(t.elements.popper),b=[].concat(t.scrollParents.reference,t.scrollParents.popper);return c&&b.forEach(function(S){S.addEventListener("scroll",i.update,Gx)}),p&&m.addEventListener("resize",i.update,Gx),function(){c&&b.forEach(function(S){S.removeEventListener("scroll",i.update,Gx)}),p&&m.removeEventListener("resize",i.update,Gx)}}const $6={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:X6,data:{}};var Q6={left:"right",right:"left",bottom:"top",top:"bottom"};function Xx(e){return e.replace(/left|right|bottom|top/g,function(t){return Q6[t]})}var Z6={start:"end",end:"start"};function Fw(e){return e.replace(/start|end/g,function(t){return Z6[t]})}function IA(e){var t=Bs(e),i=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:i,scrollTop:r}}function PA(e){return Vy(Cp(e)).left+IA(e).scrollLeft}function W6(e,t){var i=Bs(e),r=Cp(e),o=i.visualViewport,c=r.clientWidth,f=r.clientHeight,p=0,m=0;if(o){c=o.width,f=o.height;var b=Bw();(b||!b&&t==="fixed")&&(p=o.offsetLeft,m=o.offsetTop)}return{width:c,height:f,x:p+PA(e),y:m}}function K6(e){var t,i=Cp(e),r=IA(e),o=(t=e.ownerDocument)==null?void 0:t.body,c=km(i.scrollWidth,i.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),f=km(i.scrollHeight,i.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),p=-r.scrollLeft+PA(e),m=-r.scrollTop;return Yd(o||i).direction==="rtl"&&(p+=km(i.clientWidth,o?o.clientWidth:0)-c),{width:c,height:f,x:p,y:m}}function qA(e){var t=Yd(e),i=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(i+o+r)}function Iw(e){return["html","body","#document"].indexOf(Tp(e))>=0?e.ownerDocument.body:xf(e)&&qA(e)?e:Iw(Yx(e))}function Fb(e,t){var i;t===void 0&&(t=[]);var r=Iw(e),o=r===((i=e.ownerDocument)==null?void 0:i.body),c=Bs(r),f=o?[c].concat(c.visualViewport||[],qA(r)?r:[]):r,p=t.concat(f);return o?p:p.concat(Fb(Yx(f)))}function VA(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function J6(e,t){var i=Vy(e,!1,t==="fixed");return i.top=i.top+e.clientTop,i.left=i.left+e.clientLeft,i.bottom=i.top+e.clientHeight,i.right=i.left+e.clientWidth,i.width=e.clientWidth,i.height=e.clientHeight,i.x=i.left,i.y=i.top,i}function Pw(e,t,i){return t===Rw?VA(W6(e,i)):Lm(t)?J6(t,i):VA(K6(Cp(e)))}function e4(e){var t=Fb(Yx(e)),i=["absolute","fixed"].indexOf(Yd(e).position)>=0,r=i&&xf(e)?Hb(e):e;return Lm(r)?t.filter(function(o){return Lm(o)&&Lw(o,r)&&Tp(o)!=="body"}):[]}function t4(e,t,i,r){var o=t==="clippingParents"?e4(e):[].concat(t),c=[].concat(o,[i]),f=c[0],p=c.reduce(function(m,b){var S=Pw(e,b,r);return m.top=km(S.top,m.top),m.right=Vx(S.right,m.right),m.bottom=Vx(S.bottom,m.bottom),m.left=km(S.left,m.left),m},Pw(e,f,r));return p.width=p.right-p.left,p.height=p.bottom-p.top,p.x=p.left,p.y=p.top,p}function qw(e){var t=e.reference,i=e.element,r=e.placement,o=r?bf(r):null,c=r?Yy(r):null,f=t.x+t.width/2-i.width/2,p=t.y+t.height/2-i.height/2,m;switch(o){case Uo:m={x:f,y:t.y-i.height};break;case bu:m={x:f,y:t.y+t.height};break;case xu:m={x:t.x+t.width,y:p};break;case Ho:m={x:t.x-i.width,y:p};break;default:m={x:t.x,y:t.y}}var b=o?FA(o):null;if(b!=null){var S=b==="y"?"height":"width";switch(c){case Py:m[b]=m[b]-(t[S]/2-i[S]/2);break;case zb:m[b]=m[b]+(t[S]/2-i[S]/2);break}}return m}function Ib(e,t){t===void 0&&(t={});var i=t,r=i.placement,o=r===void 0?e.placement:r,c=i.strategy,f=c===void 0?e.strategy:c,p=i.boundary,m=p===void 0?T6:p,b=i.rootBoundary,S=b===void 0?Rw:b,E=i.elementContext,_=E===void 0?Ub:E,O=i.altBoundary,M=O===void 0?!1:O,N=i.padding,w=N===void 0?0:N,U=Uw(typeof w!="number"?w:Hw(w,kb)),q=_===Ub?C6:Ub,P=e.rects.popper,z=e.elements[M?q:_],R=t4(Lm(z)?z:z.contextElement||Cp(e.elements.popper),m,S,f),H=Vy(e.elements.reference),j=qw({reference:H,element:P,placement:o}),K=VA(Object.assign({},P,j)),W=_===Ub?K:H,ge={top:R.top-W.top+U.top,bottom:W.bottom-R.bottom+U.bottom,left:R.left-W.left+U.left,right:W.right-R.right+U.right},ce=e.modifiersData.offset;if(_===Ub&&ce){var be=ce[o];Object.keys(ge).forEach(function(Oe){var Ae=[xu,bu].indexOf(Oe)>=0?1:-1,Fe=[Uo,bu].indexOf(Oe)>=0?"y":"x";ge[Oe]+=be[Fe]*Ae})}return ge}function n4(e,t){t===void 0&&(t={});var i=t,r=i.placement,o=i.boundary,c=i.rootBoundary,f=i.padding,p=i.flipVariations,m=i.allowedAutoPlacements,b=m===void 0?Nw:m,S=Yy(r),E=S?p?Mw:Mw.filter(function(M){return Yy(M)===S}):kb,_=E.filter(function(M){return b.indexOf(M)>=0});_.length===0&&(_=E);var O=_.reduce(function(M,N){return M[N]=Ib(e,{placement:N,boundary:o,rootBoundary:c,padding:f})[bf(N)],M},{});return Object.keys(O).sort(function(M,N){return O[M]-O[N]})}function i4(e){if(bf(e)===zA)return[];var t=Xx(e);return[Fw(e),t,Fw(t)]}function a4(e){var t=e.state,i=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=i.mainAxis,c=o===void 0?!0:o,f=i.altAxis,p=f===void 0?!0:f,m=i.fallbackPlacements,b=i.padding,S=i.boundary,E=i.rootBoundary,_=i.altBoundary,O=i.flipVariations,M=O===void 0?!0:O,N=i.allowedAutoPlacements,w=t.options.placement,U=bf(w),q=U===w,P=m||(q||!M?[Xx(w)]:i4(w)),z=[w].concat(P).reduce(function(de,we){return de.concat(bf(we)===zA?n4(t,{placement:we,boundary:S,rootBoundary:E,padding:b,flipVariations:M,allowedAutoPlacements:N}):we)},[]),R=t.rects.reference,H=t.rects.popper,j=new Map,K=!0,W=z[0],ge=0;ge<z.length;ge++){var ce=z[ge],be=bf(ce),Oe=Yy(ce)===Py,Ae=[Uo,bu].indexOf(be)>=0,Fe=Ae?"width":"height",ee=Ib(t,{placement:ce,boundary:S,rootBoundary:E,altBoundary:_,padding:b}),le=Ae?Oe?xu:Ho:Oe?bu:Uo;R[Fe]>H[Fe]&&(le=Xx(le));var ve=Xx(le),Qe=[];if(c&&Qe.push(ee[be]<=0),p&&Qe.push(ee[le]<=0,ee[ve]<=0),Qe.every(function(de){return de})){W=ce,K=!1;break}j.set(ce,Qe)}if(K)for(var ne=M?3:1,Ee=function(we){var Ue=z.find(function(at){var Ke=j.get(at);if(Ke)return Ke.slice(0,we).every(function(Le){return Le})});if(Ue)return W=Ue,"break"},Re=ne;Re>0;Re--){var ae=Ee(Re);if(ae==="break")break}t.placement!==W&&(t.modifiersData[r]._skip=!0,t.placement=W,t.reset=!0)}}const r4={name:"flip",enabled:!0,phase:"main",fn:a4,requiresIfExists:["offset"],data:{_skip:!1}};function Vw(e,t,i){return i===void 0&&(i={x:0,y:0}),{top:e.top-t.height-i.y,right:e.right-t.width+i.x,bottom:e.bottom-t.height+i.y,left:e.left-t.width-i.x}}function Yw(e){return[Uo,xu,bu,Ho].some(function(t){return e[t]>=0})}function l4(e){var t=e.state,i=e.name,r=t.rects.reference,o=t.rects.popper,c=t.modifiersData.preventOverflow,f=Ib(t,{elementContext:"reference"}),p=Ib(t,{altBoundary:!0}),m=Vw(f,r),b=Vw(p,o,c),S=Yw(m),E=Yw(b);t.modifiersData[i]={referenceClippingOffsets:m,popperEscapeOffsets:b,isReferenceHidden:S,hasPopperEscaped:E},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":S,"data-popper-escaped":E})}const o4={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:l4};function s4(e,t,i){var r=bf(e),o=[Ho,Uo].indexOf(r)>=0?-1:1,c=typeof i=="function"?i(Object.assign({},t,{placement:e})):i,f=c[0],p=c[1];return f=f||0,p=(p||0)*o,[Ho,xu].indexOf(r)>=0?{x:p,y:f}:{x:f,y:p}}function u4(e){var t=e.state,i=e.options,r=e.name,o=i.offset,c=o===void 0?[0,0]:o,f=Nw.reduce(function(S,E){return S[E]=s4(E,t.rects,c),S},{}),p=f[t.placement],m=p.x,b=p.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=m,t.modifiersData.popperOffsets.y+=b),t.modifiersData[r]=f}const c4={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:u4};function f4(e){var t=e.state,i=e.name;t.modifiersData[i]=qw({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const d4={name:"popperOffsets",enabled:!0,phase:"read",fn:f4,data:{}};function h4(e){return e==="x"?"y":"x"}function p4(e){var t=e.state,i=e.options,r=e.name,o=i.mainAxis,c=o===void 0?!0:o,f=i.altAxis,p=f===void 0?!1:f,m=i.boundary,b=i.rootBoundary,S=i.altBoundary,E=i.padding,_=i.tether,O=_===void 0?!0:_,M=i.tetherOffset,N=M===void 0?0:M,w=Ib(t,{boundary:m,rootBoundary:b,padding:E,altBoundary:S}),U=bf(t.placement),q=Yy(t.placement),P=!q,z=FA(U),R=h4(z),H=t.modifiersData.popperOffsets,j=t.rects.reference,K=t.rects.popper,W=typeof N=="function"?N(Object.assign({},t.rects,{placement:t.placement})):N,ge=typeof W=="number"?{mainAxis:W,altAxis:W}:Object.assign({mainAxis:0,altAxis:0},W),ce=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,be={x:0,y:0};if(H){if(c){var Oe,Ae=z==="y"?Uo:Ho,Fe=z==="y"?bu:xu,ee=z==="y"?"height":"width",le=H[z],ve=le+w[Ae],Qe=le-w[Fe],ne=O?-K[ee]/2:0,Ee=q===Py?j[ee]:K[ee],Re=q===Py?-K[ee]:-j[ee],ae=t.elements.arrow,de=O&&ae?jA(ae):{width:0,height:0},we=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:zw(),Ue=we[Ae],at=we[Fe],Ke=jb(0,j[ee],de[ee]),Le=P?j[ee]/2-ne-Ke-Ue-ge.mainAxis:Ee-Ke-Ue-ge.mainAxis,De=P?-j[ee]/2+ne+Ke+at+ge.mainAxis:Re+Ke+at+ge.mainAxis,nt=t.elements.arrow&&Hb(t.elements.arrow),Ie=nt?z==="y"?nt.clientTop||0:nt.clientLeft||0:0,Ct=(Oe=ce==null?void 0:ce[z])!=null?Oe:0,Rt=le+Le-Ct-Ie,Et=le+De-Ct,un=jb(O?Vx(ve,Rt):ve,le,O?km(Qe,Et):Qe);H[z]=un,be[z]=un-le}if(p){var Ut,oa=z==="x"?Uo:Ho,Ea=z==="x"?bu:xu,wn=H[R],Zt=R==="y"?"height":"width",pt=wn+w[oa],Dn=wn-w[Ea],Oi=[Uo,Ho].indexOf(U)!==-1,Ba=(Ut=ce==null?void 0:ce[R])!=null?Ut:0,Lt=Oi?pt:wn-j[Zt]-K[Zt]-Ba+ge.altAxis,ot=Oi?wn+j[Zt]+K[Zt]-Ba-ge.altAxis:Dn,xt=O&&Oi?H6(Lt,wn,ot):jb(O?Lt:pt,wn,O?ot:Dn);H[R]=xt,be[R]=xt-wn}t.modifiersData[r]=be}}const g4={name:"preventOverflow",enabled:!0,phase:"main",fn:p4,requiresIfExists:["offset"]};function m4(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function y4(e){return e===Bs(e)||!xf(e)?IA(e):m4(e)}function v4(e){var t=e.getBoundingClientRect(),i=qy(t.width)/e.offsetWidth||1,r=qy(t.height)/e.offsetHeight||1;return i!==1||r!==1}function b4(e,t,i){i===void 0&&(i=!1);var r=xf(t),o=xf(t)&&v4(t),c=Cp(t),f=Vy(e,o,i),p={scrollLeft:0,scrollTop:0},m={x:0,y:0};return(r||!r&&!i)&&((Tp(t)!=="body"||qA(c))&&(p=y4(t)),xf(t)?(m=Vy(t,!0),m.x+=t.clientLeft,m.y+=t.clientTop):c&&(m.x=PA(c))),{x:f.left+p.scrollLeft-m.x,y:f.top+p.scrollTop-m.y,width:f.width,height:f.height}}function x4(e){var t=new Map,i=new Set,r=[];e.forEach(function(c){t.set(c.name,c)});function o(c){i.add(c.name);var f=[].concat(c.requires||[],c.requiresIfExists||[]);f.forEach(function(p){if(!i.has(p)){var m=t.get(p);m&&o(m)}}),r.push(c)}return e.forEach(function(c){i.has(c.name)||o(c)}),r}function S4(e){var t=x4(e);return k6.reduce(function(i,r){return i.concat(t.filter(function(o){return o.phase===r}))},[])}function E4(e){var t;return function(){return t||(t=new Promise(function(i){Promise.resolve().then(function(){t=void 0,i(e())})})),t}}function A4(e){var t=e.reduce(function(i,r){var o=i[r.name];return i[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,i},{});return Object.keys(t).map(function(i){return t[i]})}var Gw={placement:"bottom",modifiers:[],strategy:"absolute"};function Xw(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function T4(e){e===void 0&&(e={});var t=e,i=t.defaultModifiers,r=i===void 0?[]:i,o=t.defaultOptions,c=o===void 0?Gw:o;return function(p,m,b){b===void 0&&(b=c);var S={placement:"bottom",orderedModifiers:[],options:Object.assign({},Gw,c),modifiersData:{},elements:{reference:p,popper:m},attributes:{},styles:{}},E=[],_=!1,O={state:S,setOptions:function(U){var q=typeof U=="function"?U(S.options):U;N(),S.options=Object.assign({},c,S.options,q),S.scrollParents={reference:Lm(p)?Fb(p):p.contextElement?Fb(p.contextElement):[],popper:Fb(m)};var P=S4(A4([].concat(r,S.options.modifiers)));return S.orderedModifiers=P.filter(function(z){return z.enabled}),M(),O.update()},forceUpdate:function(){if(!_){var U=S.elements,q=U.reference,P=U.popper;if(Xw(q,P)){S.rects={reference:b4(q,Hb(P),S.options.strategy==="fixed"),popper:jA(P)},S.reset=!1,S.placement=S.options.placement,S.orderedModifiers.forEach(function(ge){return S.modifiersData[ge.name]=Object.assign({},ge.data)});for(var z=0;z<S.orderedModifiers.length;z++){if(S.reset===!0){S.reset=!1,z=-1;continue}var R=S.orderedModifiers[z],H=R.fn,j=R.options,K=j===void 0?{}:j,W=R.name;typeof H=="function"&&(S=H({state:S,options:K,name:W,instance:O})||S)}}}},update:E4(function(){return new Promise(function(w){O.forceUpdate(),w(S)})}),destroy:function(){N(),_=!0}};if(!Xw(p,m))return O;O.setOptions(b).then(function(w){!_&&b.onFirstUpdate&&b.onFirstUpdate(w)});function M(){S.orderedModifiers.forEach(function(w){var U=w.name,q=w.options,P=q===void 0?{}:q,z=w.effect;if(typeof z=="function"){var R=z({state:S,name:U,instance:O,options:P}),H=function(){};E.push(R||H)}})}function N(){E.forEach(function(w){return w()}),E=[]}return O}}const C4=T4({defaultModifiers:[o4,d4,G6,$6,c4,r4,g4,P6]}),_4=["enabled","placement","strategy","modifiers"];function w4(e,t){if(e==null)return{};var i={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;i[r]=e[r]}return i}const D4={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},O4={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:({state:e})=>()=>{const{reference:t,popper:i}=e.elements;if("removeAttribute"in t){const r=(t.getAttribute("aria-describedby")||"").split(",").filter(o=>o.trim()!==i.id);r.length?t.setAttribute("aria-describedby",r.join(",")):t.removeAttribute("aria-describedby")}},fn:({state:e})=>{var t;const{popper:i,reference:r}=e.elements,o=(t=i.getAttribute("role"))==null?void 0:t.toLowerCase();if(i.id&&o==="tooltip"&&"setAttribute"in r){const c=r.getAttribute("aria-describedby");if(c&&c.split(",").indexOf(i.id)!==-1)return;r.setAttribute("aria-describedby",c?`${c},${i.id}`:i.id)}}},R4=[];function M4(e,t,i={}){let{enabled:r=!0,placement:o="bottom",strategy:c="absolute",modifiers:f=R4}=i,p=w4(i,_4);const m=I.useRef(f),b=I.useRef(),S=I.useCallback(()=>{var w;(w=b.current)==null||w.update()},[]),E=I.useCallback(()=>{var w;(w=b.current)==null||w.forceUpdate()},[]),[_,O]=A6(I.useState({placement:o,update:S,forceUpdate:E,attributes:{},styles:{popper:{},arrow:{}}})),M=I.useMemo(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:w})=>{const U={},q={};Object.keys(w.elements).forEach(P=>{U[P]=w.styles[P],q[P]=w.attributes[P]}),O({state:w,styles:U,attributes:q,update:S,forceUpdate:E,placement:w.placement})}}),[S,E,O]),N=I.useMemo(()=>(Lb(m.current,f)||(m.current=f),m.current),[f]);return I.useEffect(()=>{!b.current||!r||b.current.setOptions({placement:o,strategy:c,modifiers:[...N,M,D4]})},[c,o,M,r,N]),I.useEffect(()=>{if(!(!r||e==null||t==null))return b.current=C4(e,t,Object.assign({},p,{placement:o,strategy:c,modifiers:[...N,O4,M]})),()=>{b.current!=null&&(b.current.destroy(),b.current=void 0,O(w=>Object.assign({},w,{attributes:{},styles:{popper:{}}})))}},[r,e,t]),_}function Pb(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(e.compareDocumentPosition(t)&16)}var YA,$w;function N4(){if($w)return YA;$w=1;var e=process.env.NODE_ENV!=="production",t=function(){};if(e){var i=function(o,c){var f=arguments.length;c=new Array(f>1?f-1:0);for(var p=1;p<f;p++)c[p-1]=arguments[p];var m=0,b="Warning: "+o.replace(/%s/g,function(){return c[m++]});typeof console<"u"&&console.error(b);try{throw new Error(b)}catch{}};t=function(r,o,c){var f=arguments.length;c=new Array(f>2?f-2:0);for(var p=2;p<f;p++)c[p-2]=arguments[p];if(o===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");r||i.apply(null,[o].concat(c))}}return YA=t,YA}var B4=N4();const $x=Sb(B4),Qw=()=>{};function L4(e){return e.button===0}function k4(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}const Qx=e=>e&&("current"in e?e.current:e),Zw={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};function z4(e,t=Qw,{disabled:i,clickTrigger:r="click"}={}){const o=I.useRef(!1),c=I.useRef(!1),f=I.useCallback(b=>{const S=Qx(e);$x(!!S,"ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"),o.current=!S||k4(b)||!L4(b)||!!Pb(S,b.target)||c.current,c.current=!1},[e]),p=vu(b=>{const S=Qx(e);S&&Pb(S,b.target)?c.current=!0:c.current=!1}),m=vu(b=>{o.current||t(b)});I.useEffect(()=>{var b,S;if(i||e==null)return;const E=Hy(Qx(e)),_=E.defaultView||window;let O=(b=_.event)!=null?b:(S=_.parent)==null?void 0:S.event,M=null;Zw[r]&&(M=qd(E,Zw[r],p,!0));const N=qd(E,r,f,!0),w=qd(E,r,q=>{if(q===O){O=void 0;return}m(q)});let U=[];return"ontouchstart"in E.documentElement&&(U=[].slice.call(E.body.children).map(q=>qd(q,"mousemove",Qw))),()=>{M==null||M(),N(),w(),U.forEach(q=>q())}},[e,i,r,f,p,m])}function U4(e){const t={};return Array.isArray(e)?(e==null||e.forEach(i=>{t[i.name]=i}),t):e||t}function H4(e={}){return Array.isArray(e)?e:Object.keys(e).map(t=>(e[t].name=t,e[t]))}function j4({enabled:e,enableEvents:t,placement:i,flip:r,offset:o,fixed:c,containerPadding:f,arrowElement:p,popperConfig:m={}}){var b,S,E,_;const O=U4(m.modifiers);return Object.assign({},m,{placement:i,enabled:e,strategy:c?"fixed":m.strategy,modifiers:H4(Object.assign({},O,{eventListeners:{enabled:t,options:(b=O.eventListeners)==null?void 0:b.options},preventOverflow:Object.assign({},O.preventOverflow,{options:Object.assign({padding:f},(S=O.preventOverflow)==null?void 0:S.options)}),offset:{options:Object.assign({offset:o},(E=O.offset)==null?void 0:E.options)},arrow:Object.assign({},O.arrow,{enabled:!!p,options:Object.assign({},(_=O.arrow)==null?void 0:_.options,{element:p})}),flip:Object.assign({enabled:!!r},O.flip)}))})}const Zx={prefix:String(Math.round(Math.random()*1e10)),current:0},Ww=I.createContext(Zx),F4=I.createContext(!1);let I4=!!(typeof window<"u"&&window.document&&window.document.createElement),GA=new WeakMap;function P4(e=!1){let t=I.useContext(Ww),i=I.useRef(null);if(i.current===null&&!e){var r,o;let c=(o=I.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||o===void 0||(r=o.ReactCurrentOwner)===null||r===void 0?void 0:r.current;if(c){let f=GA.get(c);f==null?GA.set(c,{id:t.current,state:c.memoizedState}):c.memoizedState!==f.state&&(t.current=f.id,GA.delete(c))}i.current=++t.current}return i.current}function q4(e){let t=I.useContext(Ww);t===Zx&&!I4&&process.env.NODE_ENV!=="production"&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let i=P4(!!e),r=t===Zx&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${t.prefix}`;return e||`${r}-${i}`}function V4(e){let t=I.useId(),[i]=I.useState(Q4()),r=i||process.env.NODE_ENV==="test"?"react-aria":`react-aria${Zx.prefix}`;return e||`${r}-${t}`}const Y4=typeof I.useId=="function"?V4:q4;function G4(){return!1}function X4(){return!0}function $4(e){return()=>{}}function Q4(){return typeof I.useSyncExternalStore=="function"?I.useSyncExternalStore($4,G4,X4):I.useContext(F4)}const Gy=ut.createContext(null),qb=(e,t=null)=>e!=null?String(e):t||null,XA=ut.createContext(null);XA.displayName="NavContext";const Z4="data-rr-ui-",W4="rrUi";function Wx(e){return`${Z4}${e}`}function K4(e){return`${W4}${e}`}const Kw=I.createContext(Iy?window:void 0);Kw.Provider;function $A(){return I.useContext(Kw)}const J4=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",ez=typeof document<"u"||J4?I.useLayoutEffect:I.useEffect,Jw=ut.createContext(null);Jw.displayName="NavbarContext";const tz={type:Nt.string,tooltip:Nt.bool,as:Nt.elementType},Kx=ut.forwardRef(({as:e="div",className:t,type:i="valid",tooltip:r=!1,...o},c)=>ie.jsx(e,{...o,ref:c,className:jt(t,`${i}-${r?"tooltip":"feedback"}`)}));Kx.displayName="Feedback",Kx.propTypes=tz;const Gd=ut.createContext({}),QA=ut.forwardRef(({id:e,bsPrefix:t,className:i,type:r="checkbox",isValid:o=!1,isInvalid:c=!1,as:f="input",...p},m)=>{const{controlId:b}=I.useContext(Gd);return t=hn(t,"form-check-input"),ie.jsx(f,{...p,ref:m,type:r,id:e||b,className:jt(i,t,o&&"is-valid",c&&"is-invalid")})});QA.displayName="FormCheckInput";const Jx=ut.forwardRef(({bsPrefix:e,className:t,htmlFor:i,...r},o)=>{const{controlId:c}=I.useContext(Gd);return e=hn(e,"form-check-label"),ie.jsx("label",{...r,ref:o,htmlFor:i||c,className:jt(t,e)})});Jx.displayName="FormCheckLabel";const eD=ut.forwardRef(({id:e,bsPrefix:t,bsSwitchPrefix:i,inline:r=!1,reverse:o=!1,disabled:c=!1,isValid:f=!1,isInvalid:p=!1,feedbackTooltip:m=!1,feedback:b,feedbackType:S,className:E,style:_,title:O="",type:M="checkbox",label:N,children:w,as:U="input",...q},P)=>{t=hn(t,"form-check"),i=hn(i,"form-switch");const{controlId:z}=I.useContext(Gd),R=I.useMemo(()=>({controlId:e||z}),[z,e]),H=!w&&N!=null&&N!==!1||v6(w,Jx),j=ie.jsx(QA,{...q,type:M==="switch"?"checkbox":M,ref:P,isValid:f,isInvalid:p,disabled:c,as:U});return ie.jsx(Gd.Provider,{value:R,children:ie.jsx("div",{style:_,className:jt(E,H&&t,r&&`${t}-inline`,o&&`${t}-reverse`,M==="switch"&&i),children:w||ie.jsxs(ie.Fragment,{children:[j,H&&ie.jsx(Jx,{title:O,children:N}),b&&ie.jsx(Kx,{type:S,tooltip:m,children:b})]})})})});eD.displayName="FormCheck";const eS=Object.assign(eD,{Input:QA,Label:Jx}),tD=ut.forwardRef(({bsPrefix:e,type:t,size:i,htmlSize:r,id:o,className:c,isValid:f=!1,isInvalid:p=!1,plaintext:m,readOnly:b,as:S="input",...E},_)=>{const{controlId:O}=I.useContext(Gd);return e=hn(e,"form-control"),process.env.NODE_ENV!=="production"&&$x(O==null||!o,"`controlId` is ignored on `<FormControl>` when `id` is specified."),ie.jsx(S,{...E,type:t,size:r,ref:_,readOnly:b,id:o||O,className:jt(c,m?`${e}-plaintext`:e,i&&`${e}-${i}`,t==="color"&&`${e}-color`,f&&"is-valid",p&&"is-invalid")})});tD.displayName="FormControl";const nz=Object.assign(tD,{Feedback:Kx}),nD=ut.forwardRef(({className:e,bsPrefix:t,as:i="div",...r},o)=>(t=hn(t,"form-floating"),ie.jsx(i,{ref:o,className:jt(e,t),...r})));nD.displayName="FormFloating";const ZA=ut.forwardRef(({controlId:e,as:t="div",...i},r)=>{const o=I.useMemo(()=>({controlId:e}),[e]);return ie.jsx(Gd.Provider,{value:o,children:ie.jsx(t,{...i,ref:r})})});ZA.displayName="FormGroup";const iD=ut.forwardRef(({as:e="label",bsPrefix:t,column:i=!1,visuallyHidden:r=!1,className:o,htmlFor:c,...f},p)=>{const{controlId:m}=I.useContext(Gd);t=hn(t,"form-label");let b="col-form-label";typeof i=="string"&&(b=`${b} ${b}-${i}`);const S=jt(o,t,r&&"visually-hidden",i&&b);return process.env.NODE_ENV!=="production"&&$x(m==null||!c,"`controlId` is ignored on `<FormLabel>` when `htmlFor` is specified."),c=c||m,i?ie.jsx(ww,{ref:p,as:"label",className:S,htmlFor:c,...f}):ie.jsx(e,{ref:p,className:S,htmlFor:c,...f})});iD.displayName="FormLabel";const aD=ut.forwardRef(({bsPrefix:e,className:t,id:i,...r},o)=>{const{controlId:c}=I.useContext(Gd);return e=hn(e,"form-range"),ie.jsx("input",{...r,type:"range",ref:o,className:jt(t,e),id:i||c})});aD.displayName="FormRange";const rD=ut.forwardRef(({bsPrefix:e,size:t,htmlSize:i,className:r,isValid:o=!1,isInvalid:c=!1,id:f,...p},m)=>{const{controlId:b}=I.useContext(Gd);return e=hn(e,"form-select"),ie.jsx("select",{...p,size:i,ref:m,className:jt(r,e,t&&`${e}-${t}`,o&&"is-valid",c&&"is-invalid"),id:f||b})});rD.displayName="FormSelect";const lD=ut.forwardRef(({bsPrefix:e,className:t,as:i="small",muted:r,...o},c)=>(e=hn(e,"form-text"),ie.jsx(i,{...o,ref:c,className:jt(t,e,r&&"text-muted")})));lD.displayName="FormText";const oD=ut.forwardRef((e,t)=>ie.jsx(eS,{...e,ref:t,type:"switch"}));oD.displayName="Switch";const iz=Object.assign(oD,{Input:eS.Input,Label:eS.Label}),sD=ut.forwardRef(({bsPrefix:e,className:t,children:i,controlId:r,label:o,...c},f)=>(e=hn(e,"form-floating"),ie.jsxs(ZA,{ref:f,className:jt(t,e),controlId:r,...c,children:[i,ie.jsx("label",{htmlFor:r,children:o})]})));sD.displayName="FloatingLabel";const az={_ref:Nt.any,validated:Nt.bool,as:Nt.elementType},WA=ut.forwardRef(({className:e,validated:t,as:i="form",...r},o)=>ie.jsx(i,{...r,ref:o,className:jt(e,t&&"was-validated")}));WA.displayName="Form",WA.propTypes=az;const cl=Object.assign(WA,{Group:ZA,Control:nz,Floating:nD,Check:eS,Switch:iz,Label:iD,Text:lD,Range:aD,Select:rD,FloatingLabel:sD}),uD=e=>!e||typeof e=="function"?e:t=>{e.current=t};function rz(e,t){const i=uD(e),r=uD(t);return o=>{i&&i(o),r&&r(o)}}function Vb(e,t){return I.useMemo(()=>rz(e,t),[e,t])}const Xy=ut.createContext(null),lz=["as","active","eventKey"];function oz(e,t){if(e==null)return{};var i={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;i[r]=e[r]}return i}function cD({key:e,onClick:t,active:i,id:r,role:o,disabled:c}){const f=I.useContext(Gy),p=I.useContext(XA),m=I.useContext(Xy);let b=i;const S={role:o};if(p){!o&&p.role==="tablist"&&(S.role="tab");const E=p.getControllerId(e??null),_=p.getControlledId(e??null);S[Wx("event-key")]=e,S.id=E||r,b=i==null&&e!=null?p.activeKey===e:i,(b||!(m!=null&&m.unmountOnExit)&&!(m!=null&&m.mountOnEnter))&&(S["aria-controls"]=_)}return S.role==="tab"&&(S["aria-selected"]=b,b||(S.tabIndex=-1),c&&(S.tabIndex=-1,S["aria-disabled"]=!0)),S.onClick=vu(E=>{c||(t==null||t(E),e!=null&&f&&!E.isPropagationStopped()&&f(e,E))}),[S,{isActive:b}]}const fD=ut.forwardRef((e,t)=>{let{as:i=vw,active:r,eventKey:o}=e,c=oz(e,lz);const[f,p]=cD(Object.assign({key:qb(o,c.href),active:r},c));return f[Wx("active")]=p.isActive,ie.jsx(i,Object.assign({},c,f,{ref:t}))});fD.displayName="NavItem";const sz=["as","onSelect","activeKey","role","onKeyDown"];function uz(e,t){if(e==null)return{};var i={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;i[r]=e[r]}return i}const dD=()=>{},hD=Wx("event-key"),pD=ut.forwardRef((e,t)=>{let{as:i="div",onSelect:r,activeKey:o,role:c,onKeyDown:f}=e,p=uz(e,sz);const m=E6(),b=I.useRef(!1),S=I.useContext(Gy),E=I.useContext(Xy);let _,O;E&&(c=c||"tablist",o=E.activeKey,_=E.getControlledId,O=E.getControllerId);const M=I.useRef(null),N=P=>{const z=M.current;if(!z)return null;const R=Bm(z,`[${hD}]:not([aria-disabled=true])`),H=z.querySelector("[aria-selected=true]");if(!H||H!==document.activeElement)return null;const j=R.indexOf(H);if(j===-1)return null;let K=j+P;return K>=R.length&&(K=0),K<0&&(K=R.length-1),R[K]},w=(P,z)=>{P!=null&&(r==null||r(P,z),S==null||S(P,z))},U=P=>{if(f==null||f(P),!E)return;let z;switch(P.key){case"ArrowLeft":case"ArrowUp":z=N(-1);break;case"ArrowRight":case"ArrowDown":z=N(1);break;default:return}z&&(P.preventDefault(),w(z.dataset[K4("EventKey")]||null,P),b.current=!0,m())};I.useEffect(()=>{if(M.current&&b.current){const P=M.current.querySelector(`[${hD}][aria-selected=true]`);P==null||P.focus()}b.current=!1});const q=Vb(t,M);return ie.jsx(Gy.Provider,{value:w,children:ie.jsx(XA.Provider,{value:{role:c,activeKey:qb(o),getControlledId:_||dD,getControllerId:O||dD},children:ie.jsx(i,Object.assign({},p,{onKeyDown:U,ref:q,role:c}))})})});pD.displayName="Nav";const cz=Object.assign(pD,{Item:fD});var tS;function gD(e){if((!tS&&tS!==0||e)&&Iy){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),tS=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return tS}function fz(){return I.useState(null)}function KA(e){e===void 0&&(e=Hy());try{var t=e.activeElement;return!t||!t.nodeName?null:t}catch{return e.body}}function dz(e){const t=I.useRef(e);return t.current=e,t}function hz(e){const t=dz(e);I.useEffect(()=>()=>t.current(),[])}function pz(e=document){const t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}const mD=Wx("modal-open");class JA{constructor({ownerDocument:t,handleContainerOverflow:i=!0,isRTL:r=!1}={}){this.handleContainerOverflow=i,this.isRTL=r,this.modals=[],this.ownerDocument=t}getScrollbarWidth(){return pz(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(t){}removeModalAttributes(t){}setContainerStyle(t){const i={overflow:"hidden"},r=this.isRTL?"paddingLeft":"paddingRight",o=this.getElement();t.style={overflow:o.style.overflow,[r]:o.style[r]},t.scrollBarWidth&&(i[r]=`${parseInt(Fd(o,r)||"0",10)+t.scrollBarWidth}px`),o.setAttribute(mD,""),Fd(o,i)}reset(){[...this.modals].forEach(t=>this.remove(t))}removeContainerStyle(t){const i=this.getElement();i.removeAttribute(mD),Object.assign(i.style,t.style)}add(t){let i=this.modals.indexOf(t);return i!==-1||(i=this.modals.length,this.modals.push(t),this.setModalAttributes(t),i!==0)||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state)),i}remove(t){const i=this.modals.indexOf(t);i!==-1&&(this.modals.splice(i,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(t))}isTopModal(t){return!!this.modals.length&&this.modals[this.modals.length-1]===t}}const eT=(e,t)=>Iy?e==null?(t||Hy()).body:(typeof e=="function"&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function tT(e,t){const i=$A(),[r,o]=I.useState(()=>eT(e,i==null?void 0:i.document));if(!r){const c=eT(e);c&&o(c)}return I.useEffect(()=>{},[t,r]),I.useEffect(()=>{const c=eT(e);c!==r&&o(c)},[e,r]),r}function nT({children:e,in:t,onExited:i,mountOnEnter:r,unmountOnExit:o}){const c=I.useRef(null),f=I.useRef(t),p=vu(i);I.useEffect(()=>{t?f.current=!0:p(c.current)},[t,p]);const m=Vb(c,Fy(e)),b=I.cloneElement(e,{ref:m});return t?b:o||!f.current&&r?null:b}const gz=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children"];function mz(e,t){if(e==null)return{};var i={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;i[r]=e[r]}return i}function yz(e){let{onEnter:t,onEntering:i,onEntered:r,onExit:o,onExiting:c,onExited:f,addEndListener:p,children:m}=e,b=mz(e,gz);const S=I.useRef(null),E=Vb(S,Fy(m)),_=z=>R=>{z&&S.current&&z(S.current,R)},O=I.useCallback(_(t),[t]),M=I.useCallback(_(i),[i]),N=I.useCallback(_(r),[r]),w=I.useCallback(_(o),[o]),U=I.useCallback(_(c),[c]),q=I.useCallback(_(f),[f]),P=I.useCallback(_(p),[p]);return Object.assign({},b,{nodeRef:S},t&&{onEnter:O},i&&{onEntering:M},r&&{onEntered:N},o&&{onExit:w},c&&{onExiting:U},f&&{onExited:q},p&&{addEndListener:P},{children:typeof m=="function"?(z,R)=>m(z,Object.assign({},R,{ref:E})):I.cloneElement(m,{ref:E})})}const vz=["component"];function bz(e,t){if(e==null)return{};var i={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;i[r]=e[r]}return i}const xz=ut.forwardRef((e,t)=>{let{component:i}=e,r=bz(e,vz);const o=yz(r);return ie.jsx(i,Object.assign({ref:t},o))});function Sz({in:e,onTransition:t}){const i=I.useRef(null),r=I.useRef(!0),o=vu(t);return yw(()=>{if(!i.current)return;let c=!1;return o({in:e,element:i.current,initial:r.current,isStale:()=>c}),()=>{c=!0}},[e,o]),yw(()=>(r.current=!1,()=>{r.current=!0}),[]),i}function Ez({children:e,in:t,onExited:i,onEntered:r,transition:o}){const[c,f]=I.useState(!t);t&&c&&f(!1);const p=Sz({in:!!t,onTransition:b=>{const S=()=>{b.isStale()||(b.in?r==null||r(b.element,b.initial):(f(!0),i==null||i(b.element)))};Promise.resolve(o(b)).then(S,E=>{throw b.in||f(!0),E})}}),m=Vb(p,Fy(e));return c&&!t?null:I.cloneElement(e,{ref:m})}function iT(e,t,i){return e?ie.jsx(xz,Object.assign({},i,{component:e})):t?ie.jsx(Ez,Object.assign({},i,{transition:t})):ie.jsx(nT,Object.assign({},i))}const Az=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","runTransition","backdropTransition","runBackdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"];function Tz(e,t){if(e==null)return{};var i={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;i[r]=e[r]}return i}let aT;function Cz(e){return aT||(aT=new JA({ownerDocument:e==null?void 0:e.document})),aT}function _z(e){const t=$A(),i=e||Cz(t),r=I.useRef({dialog:null,backdrop:null});return Object.assign(r.current,{add:()=>i.add(r.current),remove:()=>i.remove(r.current),isTopModal:()=>i.isTopModal(r.current),setDialogRef:I.useCallback(o=>{r.current.dialog=o},[]),setBackdropRef:I.useCallback(o=>{r.current.backdrop=o},[])})}const yD=I.forwardRef((e,t)=>{let{show:i=!1,role:r="dialog",className:o,style:c,children:f,backdrop:p=!0,keyboard:m=!0,onBackdropClick:b,onEscapeKeyDown:S,transition:E,runTransition:_,backdropTransition:O,runBackdropTransition:M,autoFocus:N=!0,enforceFocus:w=!0,restoreFocus:U=!0,restoreFocusOptions:q,renderDialog:P,renderBackdrop:z=Et=>ie.jsx("div",Object.assign({},Et)),manager:R,container:H,onShow:j,onHide:K=()=>{},onExit:W,onExited:ge,onExiting:ce,onEnter:be,onEntering:Oe,onEntered:Ae}=e,Fe=Tz(e,Az);const ee=$A(),le=tT(H),ve=_z(R),Qe=mw(),ne=i6(i),[Ee,Re]=I.useState(!i),ae=I.useRef(null);I.useImperativeHandle(t,()=>ve,[ve]),Iy&&!ne&&i&&(ae.current=KA(ee==null?void 0:ee.document)),i&&Ee&&Re(!1);const de=vu(()=>{if(ve.add(),De.current=qd(document,"keydown",Ke),Le.current=qd(document,"focus",()=>setTimeout(Ue),!0),j&&j(),N){var Et,un;const Ut=KA((Et=(un=ve.dialog)==null?void 0:un.ownerDocument)!=null?Et:ee==null?void 0:ee.document);ve.dialog&&Ut&&!Pb(ve.dialog,Ut)&&(ae.current=Ut,ve.dialog.focus())}}),we=vu(()=>{if(ve.remove(),De.current==null||De.current(),Le.current==null||Le.current(),U){var Et;(Et=ae.current)==null||Et.focus==null||Et.focus(q),ae.current=null}});I.useEffect(()=>{!i||!le||de()},[i,le,de]),I.useEffect(()=>{Ee&&we()},[Ee,we]),hz(()=>{we()});const Ue=vu(()=>{if(!w||!Qe()||!ve.isTopModal())return;const Et=KA(ee==null?void 0:ee.document);ve.dialog&&Et&&!Pb(ve.dialog,Et)&&ve.dialog.focus()}),at=vu(Et=>{Et.target===Et.currentTarget&&(b==null||b(Et),p===!0&&K())}),Ke=vu(Et=>{m&&J2(Et)&&ve.isTopModal()&&(S==null||S(Et),Et.defaultPrevented||K())}),Le=I.useRef(),De=I.useRef(),nt=(...Et)=>{Re(!0),ge==null||ge(...Et)};if(!le)return null;const Ie=Object.assign({role:r,ref:ve.setDialogRef,"aria-modal":r==="dialog"?!0:void 0},Fe,{style:c,className:o,tabIndex:-1});let Ct=P?P(Ie):ie.jsx("div",Object.assign({},Ie,{children:ut.cloneElement(f,{role:"document"})}));Ct=iT(E,_,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!i,onExit:W,onExiting:ce,onExited:nt,onEnter:be,onEntering:Oe,onEntered:Ae,children:Ct});let Rt=null;return p&&(Rt=z({ref:ve.setBackdropRef,onClick:at}),Rt=iT(O,M,{in:!!i,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:Rt})),ie.jsx(ie.Fragment,{children:Xa.createPortal(ie.jsxs(ie.Fragment,{children:[Rt,Ct]}),le)})});yD.displayName="Modal";const wz=Object.assign(yD,{Manager:JA});function rT(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function Dz(e,t){e.classList?e.classList.add(t):rT(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function vD(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function Oz(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=vD(e.className,t):e.setAttribute("class",vD(e.className&&e.className.baseVal||"",t))}const $y={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class Rz extends JA{adjustAndStore(t,i,r){const o=i.style[t];i.dataset[t]=o,Fd(i,{[t]:`${parseFloat(Fd(i,t))+r}px`})}restore(t,i){const r=i.dataset[t];r!==void 0&&(delete i.dataset[t],Fd(i,{[t]:r}))}setContainerStyle(t){super.setContainerStyle(t);const i=this.getElement();if(Dz(i,"modal-open"),!t.scrollBarWidth)return;const r=this.isRTL?"paddingLeft":"paddingRight",o=this.isRTL?"marginLeft":"marginRight";Bm(i,$y.FIXED_CONTENT).forEach(c=>this.adjustAndStore(r,c,t.scrollBarWidth)),Bm(i,$y.STICKY_CONTENT).forEach(c=>this.adjustAndStore(o,c,-t.scrollBarWidth)),Bm(i,$y.NAVBAR_TOGGLER).forEach(c=>this.adjustAndStore(o,c,t.scrollBarWidth))}removeContainerStyle(t){super.removeContainerStyle(t);const i=this.getElement();Oz(i,"modal-open");const r=this.isRTL?"paddingLeft":"paddingRight",o=this.isRTL?"marginLeft":"marginRight";Bm(i,$y.FIXED_CONTENT).forEach(c=>this.restore(r,c)),Bm(i,$y.STICKY_CONTENT).forEach(c=>this.restore(o,c)),Bm(i,$y.NAVBAR_TOGGLER).forEach(c=>this.restore(o,c))}}let lT;function Mz(e){return lT||(lT=new Rz(e)),lT}const bD=ut.forwardRef(({className:e,bsPrefix:t,as:i="div",...r},o)=>(t=hn(t,"modal-body"),ie.jsx(i,{ref:o,className:jt(e,t),...r})));bD.displayName="ModalBody";const xD=ut.createContext({onHide(){}}),oT=ut.forwardRef(({bsPrefix:e,className:t,contentClassName:i,centered:r,size:o,fullscreen:c,children:f,scrollable:p,...m},b)=>{e=hn(e,"modal");const S=`${e}-dialog`,E=typeof c=="string"?`${e}-fullscreen-${c}`:`${e}-fullscreen`;return ie.jsx("div",{...m,ref:b,className:jt(S,t,o&&`${e}-${o}`,r&&`${S}-centered`,p&&`${S}-scrollable`,c&&E),children:ie.jsx("div",{className:jt(`${e}-content`,i),children:f})})});oT.displayName="ModalDialog";const SD=ut.forwardRef(({className:e,bsPrefix:t,as:i="div",...r},o)=>(t=hn(t,"modal-footer"),ie.jsx(i,{ref:o,className:jt(e,t),...r})));SD.displayName="ModalFooter";const Nz=ut.forwardRef(({closeLabel:e="Close",closeVariant:t,closeButton:i=!1,onHide:r,children:o,...c},f)=>{const p=I.useContext(xD),m=Bb(()=>{p==null||p.onHide(),r==null||r()});return ie.jsxs("div",{ref:f,...c,children:[o,i&&ie.jsx(qx,{"aria-label":e,variant:t,onClick:m})]})}),ED=ut.forwardRef(({bsPrefix:e,className:t,closeLabel:i="Close",closeButton:r=!1,...o},c)=>(e=hn(e,"modal-header"),ie.jsx(Nz,{ref:c,...o,className:jt(t,e),closeLabel:i,closeButton:r})));ED.displayName="ModalHeader";const Bz=dw("h4"),AD=ut.forwardRef(({className:e,bsPrefix:t,as:i=Bz,...r},o)=>(t=hn(t,"modal-title"),ie.jsx(i,{ref:o,className:jt(e,t),...r})));AD.displayName="ModalTitle";function Lz(e){return ie.jsx(Vd,{...e,timeout:null})}function kz(e){return ie.jsx(Vd,{...e,timeout:null})}const TD=ut.forwardRef(({bsPrefix:e,className:t,style:i,dialogClassName:r,contentClassName:o,children:c,dialogAs:f=oT,"data-bs-theme":p,"aria-labelledby":m,"aria-describedby":b,"aria-label":S,show:E=!1,animation:_=!0,backdrop:O=!0,keyboard:M=!0,onEscapeKeyDown:N,onShow:w,onHide:U,container:q,autoFocus:P=!0,enforceFocus:z=!0,restoreFocus:R=!0,restoreFocusOptions:H,onEntered:j,onExit:K,onExiting:W,onEnter:ge,onEntering:ce,onExited:be,backdropClassName:Oe,manager:Ae,...Fe},ee)=>{const[le,ve]=I.useState({}),[Qe,ne]=I.useState(!1),Ee=I.useRef(!1),Re=I.useRef(!1),ae=I.useRef(null),[de,we]=fz(),Ue=Hx(ee,we),at=Bb(U),Ke=xA();e=hn(e,"modal");const Le=I.useMemo(()=>({onHide:at}),[at]);function De(){return Ae||Mz({isRTL:Ke})}function nt(Lt){if(!Iy)return;const ot=De().getScrollbarWidth()>0,xt=Lt.scrollHeight>Hy(Lt).documentElement.clientHeight;ve({paddingRight:ot&&!xt?gD():void 0,paddingLeft:!ot&&xt?gD():void 0})}const Ie=Bb(()=>{de&&nt(de.dialog)});Tw(()=>{MA(window,"resize",Ie),ae.current==null||ae.current()});const Ct=()=>{Ee.current=!0},Rt=Lt=>{Ee.current&&de&&Lt.target===de.dialog&&(Re.current=!0),Ee.current=!1},Et=()=>{ne(!0),ae.current=tw(de.dialog,()=>{ne(!1)})},un=Lt=>{Lt.target===Lt.currentTarget&&Et()},Ut=Lt=>{if(O==="static"){un(Lt);return}if(Re.current||Lt.target!==Lt.currentTarget){Re.current=!1;return}U==null||U()},oa=Lt=>{M?N==null||N(Lt):(Lt.preventDefault(),O==="static"&&Et())},Ea=(Lt,ot)=>{Lt&&nt(Lt),ge==null||ge(Lt,ot)},wn=Lt=>{ae.current==null||ae.current(),K==null||K(Lt)},Zt=(Lt,ot)=>{ce==null||ce(Lt,ot),ew(window,"resize",Ie)},pt=Lt=>{Lt&&(Lt.style.display=""),be==null||be(Lt),MA(window,"resize",Ie)},Dn=I.useCallback(Lt=>ie.jsx("div",{...Lt,className:jt(`${e}-backdrop`,Oe,!_&&"show")}),[_,Oe,e]),Oi={...i,...le};Oi.display="block";const Ba=Lt=>ie.jsx("div",{role:"dialog",...Lt,style:Oi,className:jt(t,e,Qe&&`${e}-static`,!_&&"show"),onClick:O?Ut:void 0,onMouseUp:Rt,"data-bs-theme":p,"aria-label":S,"aria-labelledby":m,"aria-describedby":b,children:ie.jsx(f,{...Fe,onMouseDown:Ct,className:r,contentClassName:o,children:c})});return ie.jsx(xD.Provider,{value:Le,children:ie.jsx(wz,{show:E,ref:Ue,backdrop:O,container:q,keyboard:!0,autoFocus:P,enforceFocus:z,restoreFocus:R,restoreFocusOptions:H,onEscapeKeyDown:oa,onShow:w,onHide:U,onEnter:Ea,onEntering:Zt,onEntered:j,onExit:wn,onExiting:W,onExited:pt,manager:De(),transition:_?Lz:void 0,backdropTransition:_?kz:void 0,renderBackdrop:Dn,renderDialog:Ba})})});TD.displayName="Modal";const nS=Object.assign(TD,{Body:bD,Header:ED,Title:AD,Footer:SD,Dialog:oT,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150}),sT=ut.forwardRef(({className:e,bsPrefix:t,as:i="div",...r},o)=>(t=hn(t,"nav-item"),ie.jsx(i,{ref:o,className:jt(e,t),...r})));sT.displayName="NavItem";const uT=ut.forwardRef(({bsPrefix:e,className:t,as:i=Px,active:r,eventKey:o,disabled:c=!1,...f},p)=>{e=hn(e,"nav-link");const[m,b]=cD({key:qb(o,f.href),active:r,disabled:c,...f});return ie.jsx(i,{...f,...m,ref:p,disabled:c,className:jt(t,e,c&&"disabled",b.isActive&&"active")})});uT.displayName="NavLink";const CD=ut.forwardRef((e,t)=>{const{as:i="div",bsPrefix:r,variant:o,fill:c=!1,justify:f=!1,navbar:p,navbarScroll:m,className:b,activeKey:S,...E}=Bx(e,{activeKey:"onSelect"}),_=hn(r,"nav");let O,M,N=!1;const w=I.useContext(Jw),U=I.useContext(Aw);return w?(O=w.bsPrefix,N=p??!0):U&&({cardHeaderBsPrefix:M}=U),ie.jsx(cz,{as:i,ref:t,activeKey:S,className:jt(b,{[_]:!N,[`${O}-nav`]:N,[`${O}-nav-scroll`]:N&&m,[`${M}-${o}`]:!!M,[`${_}-${o}`]:!!o,[`${_}-fill`]:c,[`${_}-justified`]:f}),...E})});CD.displayName="Nav";const zz=Object.assign(CD,{Item:sT,Link:uT}),Uz=()=>{};function Hz(e,t,{disabled:i,clickTrigger:r}={}){const o=t||Uz;z4(e,o,{disabled:i,clickTrigger:r});const c=vu(f=>{J2(f)&&o(f)});I.useEffect(()=>{if(i||e==null)return;const f=Hy(Qx(e));let p=(f.defaultView||window).event;const m=qd(f,"keyup",b=>{if(b===p){p=void 0;return}c(b)});return()=>{m()}},[e,i,c])}const _D=ut.forwardRef((e,t)=>{const{flip:i,offset:r,placement:o,containerPadding:c,popperConfig:f={},transition:p,runTransition:m}=e,[b,S]=gw(),[E,_]=gw(),O=Vb(S,t),M=tT(e.container),N=tT(e.target),[w,U]=I.useState(!e.show),q=M4(N,b,j4({placement:o,enableEvents:!!e.show,containerPadding:c||5,flip:i,offset:r,arrowElement:E,popperConfig:f}));e.show&&w&&U(!1);const P=(...ce)=>{U(!0),e.onExited&&e.onExited(...ce)},z=e.show||!w;if(Hz(b,e.onHide,{disabled:!e.rootClose||e.rootCloseDisabled,clickTrigger:e.rootCloseEvent}),!z)return null;const{onExit:R,onExiting:H,onEnter:j,onEntering:K,onEntered:W}=e;let ge=e.children(Object.assign({},q.attributes.popper,{style:q.styles.popper,ref:O}),{popper:q,placement:o,show:!!e.show,arrowProps:Object.assign({},q.attributes.arrow,{style:q.styles.arrow,ref:_})});return ge=iT(p,m,{in:!!e.show,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:ge,onExit:R,onExiting:H,onExited:P,onEnter:j,onEntering:K,onEntered:W}),M?Xa.createPortal(ge,M):null});_D.displayName="Overlay";const wD=ut.forwardRef(({className:e,bsPrefix:t,as:i="div",...r},o)=>(t=hn(t,"popover-header"),ie.jsx(i,{ref:o,className:jt(e,t),...r})));wD.displayName="PopoverHeader";const cT=ut.forwardRef(({className:e,bsPrefix:t,as:i="div",...r},o)=>(t=hn(t,"popover-body"),ie.jsx(i,{ref:o,className:jt(e,t),...r})));cT.displayName="PopoverBody";function DD(e,t){let i=e;return e==="left"?i=t?"end":"start":e==="right"&&(i=t?"start":"end"),i}function OD(e="absolute"){return{position:e,top:"0",left:"0",opacity:"0",pointerEvents:"none"}}const iS=Object.assign(ut.forwardRef(({bsPrefix:e,placement:t="right",className:i,style:r,children:o,body:c,arrowProps:f,hasDoneInitialMeasure:p,popper:m,show:b,...S},E)=>{const _=hn(e,"popover"),O=xA(),[M]=(t==null?void 0:t.split("-"))||[],N=DD(M,O);let w=r;return b&&!p&&(w={...r,...OD(m==null?void 0:m.strategy)}),ie.jsxs("div",{ref:E,role:"tooltip",style:w,"x-placement":M,className:jt(i,_,M&&`bs-popover-${N}`),...S,children:[ie.jsx("div",{className:"popover-arrow",...f}),c?ie.jsx(cT,{children:o}):o]})}),{Header:wD,Body:cT,POPPER_OFFSET:[0,8]}),RD=ut.forwardRef(({bsPrefix:e,placement:t="right",className:i,style:r,children:o,arrowProps:c,hasDoneInitialMeasure:f,popper:p,show:m,...b},S)=>{e=hn(e,"tooltip");const E=xA(),[_]=(t==null?void 0:t.split("-"))||[],O=DD(_,E);let M=r;return m&&!f&&(M={...r,...OD(p==null?void 0:p.strategy)}),ie.jsxs("div",{ref:S,style:M,role:"tooltip","x-placement":_,className:jt(i,e,`bs-tooltip-${O}`),...b,children:[ie.jsx("div",{className:"tooltip-arrow",...c}),ie.jsx("div",{className:`${e}-inner`,children:o})]})});RD.displayName="Tooltip";const MD=Object.assign(RD,{TOOLTIP_OFFSET:[0,6]});function jz(e){const t=I.useRef(null),i=hn(void 0,"popover"),r=hn(void 0,"tooltip"),o=I.useMemo(()=>({name:"offset",options:{offset:()=>{if(e)return e;if(t.current){if(rT(t.current,i))return iS.POPPER_OFFSET;if(rT(t.current,r))return MD.TOOLTIP_OFFSET}return[0,0]}}}),[e,i,r]);return[t,[o]]}function Fz(e,t){const{ref:i}=e,{ref:r}=t;e.ref=i.__wrapped||(i.__wrapped=o=>i(jx(o))),t.ref=r.__wrapped||(r.__wrapped=o=>r(jx(o)))}const ND=ut.forwardRef(({children:e,transition:t=Vd,popperConfig:i={},rootClose:r=!1,placement:o="top",show:c=!1,...f},p)=>{const m=I.useRef({}),[b,S]=I.useState(null),[E,_]=jz(f.offset),O=Hx(p,E),M=t===!0?Vd:t||void 0,N=Bb(w=>{S(w),i==null||i.onFirstUpdate==null||i.onFirstUpdate(w)});return ez(()=>{b&&f.target&&(m.current.scheduleUpdate==null||m.current.scheduleUpdate())},[b,f.target]),I.useEffect(()=>{c||S(null)},[c]),ie.jsx(_D,{...f,ref:O,popperConfig:{...i,modifiers:_.concat(i.modifiers||[]),onFirstUpdate:N},transition:M,rootClose:r,placement:o,show:c,children:(w,{arrowProps:U,popper:q,show:P})=>{var z;Fz(w,U);const R=q==null?void 0:q.placement,H=Object.assign(m.current,{state:q==null?void 0:q.state,scheduleUpdate:q==null?void 0:q.update,placement:R,outOfBoundaries:(q==null||(z=q.state)==null||(z=z.modifiersData.hide)==null?void 0:z.isReferenceHidden)||!1,strategy:i.strategy}),j=!!b;return typeof e=="function"?e({...w,placement:R,show:P,...!t&&P&&{className:"show"},popper:H,arrowProps:U,hasDoneInitialMeasure:j}):ut.cloneElement(e,{...w,placement:R,arrowProps:U,popper:H,hasDoneInitialMeasure:j,className:jt(e.props.className,!t&&P&&"show"),style:{...e.props.style,...w.style}})}})});ND.displayName="Overlay";function Iz(e){return e&&typeof e=="object"?e:{show:e,hide:e}}function BD(e,t,i){const[r]=t,o=r.currentTarget,c=r.relatedTarget||r.nativeEvent[i];(!c||c!==o)&&!Pb(o,c)&&e(...t)}Nt.oneOf(["click","hover","focus"]);const LD=({trigger:e=["hover","focus"],overlay:t,children:i,popperConfig:r={},show:o,defaultShow:c=!1,onToggle:f,delay:p,placement:m,flip:b=m&&m.indexOf("auto")!==-1,...S})=>{const E=I.useRef(null),_=Hx(E,Fy(i)),O=m6(),M=I.useRef(""),[N,w]=H2(o,c,f),U=Iz(p),{onFocus:q,onBlur:P,onClick:z}=typeof i!="function"?ut.Children.only(i).props:{},R=Fe=>{_(jx(Fe))},H=I.useCallback(()=>{if(O.clear(),M.current="show",!U.show){w(!0);return}O.set(()=>{M.current==="show"&&w(!0)},U.show)},[U.show,w,O]),j=I.useCallback(()=>{if(O.clear(),M.current="hide",!U.hide){w(!1);return}O.set(()=>{M.current==="hide"&&w(!1)},U.hide)},[U.hide,w,O]),K=I.useCallback((...Fe)=>{H(),q==null||q(...Fe)},[H,q]),W=I.useCallback((...Fe)=>{j(),P==null||P(...Fe)},[j,P]),ge=I.useCallback((...Fe)=>{w(!N),z==null||z(...Fe)},[z,w,N]),ce=I.useCallback((...Fe)=>{BD(H,Fe,"fromElement")},[H]),be=I.useCallback((...Fe)=>{BD(j,Fe,"toElement")},[j]),Oe=e==null?[]:[].concat(e),Ae={ref:R};return Oe.indexOf("click")!==-1&&(Ae.onClick=ge),Oe.indexOf("focus")!==-1&&(Ae.onFocus=K,Ae.onBlur=W),Oe.indexOf("hover")!==-1&&(process.env.NODE_ENV!=="production"&&$x(Oe.length>1,'[react-bootstrap] Specifying only the `"hover"` trigger limits the visibility of the overlay to just mouse users. Consider also including the `"focus"` trigger so that touch and keyboard only users can see the overlay as well.'),Ae.onMouseOver=ce,Ae.onMouseOut=be),ie.jsxs(ie.Fragment,{children:[typeof i=="function"?i(Ae):I.cloneElement(i,Ae),ie.jsx(ND,{...S,show:N,onHide:j,flip:b,placement:m,popperConfig:r,target:E.current,children:t})]})},fT=ut.forwardRef(({active:e=!1,disabled:t=!1,className:i,style:r,activeLabel:o="(current)",children:c,linkStyle:f,linkClassName:p,as:m=Px,...b},S)=>{const E=e||t?"span":m;return ie.jsx("li",{ref:S,style:r,className:jt(i,"page-item",{active:e,disabled:t}),children:ie.jsxs(E,{className:jt("page-link",p),style:f,...b,children:[c,e&&o&&ie.jsx("span",{className:"visually-hidden",children:o})]})})});fT.displayName="PageItem";function Yb(e,t,i=e){const r=ut.forwardRef(({children:o,...c},f)=>ie.jsxs(fT,{...c,ref:f,children:[ie.jsx("span",{"aria-hidden":"true",children:o||t}),ie.jsx("span",{className:"visually-hidden",children:i})]}));return r.displayName=e,r}const Pz=Yb("First","«"),qz=Yb("Prev","‹","Previous"),Vz=Yb("Ellipsis","…","More"),Yz=Yb("Next","›"),Gz=Yb("Last","»"),kD=ut.forwardRef(({bsPrefix:e,className:t,size:i,...r},o)=>{const c=hn(e,"pagination");return ie.jsx("ul",{ref:o,...r,className:jt(t,c,i&&`${c}-${i}`)})});kD.displayName="Pagination";const _p=Object.assign(kD,{First:Pz,Prev:qz,Ellipsis:Vz,Item:fT,Next:Yz,Last:Gz}),Xz=["active","eventKey","mountOnEnter","transition","unmountOnExit","role","onEnter","onEntering","onEntered","onExit","onExiting","onExited"],$z=["activeKey","getControlledId","getControllerId"],Qz=["as"];function dT(e,t){if(e==null)return{};var i={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;i[r]=e[r]}return i}function zD(e){let{active:t,eventKey:i,mountOnEnter:r,transition:o,unmountOnExit:c,role:f="tabpanel",onEnter:p,onEntering:m,onEntered:b,onExit:S,onExiting:E,onExited:_}=e,O=dT(e,Xz);const M=I.useContext(Xy);if(!M)return[Object.assign({},O,{role:f}),{eventKey:i,isActive:t,mountOnEnter:r,transition:o,unmountOnExit:c,onEnter:p,onEntering:m,onEntered:b,onExit:S,onExiting:E,onExited:_}];const{activeKey:N,getControlledId:w,getControllerId:U}=M,q=dT(M,$z),P=qb(i);return[Object.assign({},O,{role:f,id:w(i),"aria-labelledby":U(i)}),{eventKey:i,isActive:t==null&&P!=null?qb(N)===P:t,transition:o||q.transition,mountOnEnter:r??q.mountOnEnter,unmountOnExit:c??q.unmountOnExit,onEnter:p,onEntering:m,onEntered:b,onExit:S,onExiting:E,onExited:_}]}const UD=ut.forwardRef((e,t)=>{let{as:i="div"}=e,r=dT(e,Qz);const[o,{isActive:c,onEnter:f,onEntering:p,onEntered:m,onExit:b,onExiting:S,onExited:E,mountOnEnter:_,unmountOnExit:O,transition:M=nT}]=zD(r);return ie.jsx(Xy.Provider,{value:null,children:ie.jsx(Gy.Provider,{value:null,children:ie.jsx(M,{in:c,onEnter:f,onEntering:p,onEntered:m,onExit:b,onExiting:S,onExited:E,mountOnEnter:_,unmountOnExit:O,children:ie.jsx(i,Object.assign({},o,{ref:t,hidden:!c,"aria-hidden":!c}))})})})});UD.displayName="TabPanel";const hT=e=>{const{id:t,generateChildId:i,onSelect:r,activeKey:o,defaultActiveKey:c,transition:f,mountOnEnter:p,unmountOnExit:m,children:b}=e,[S,E]=S6(o,c,r),_=Y4(t),O=I.useMemo(()=>i||((N,w)=>_?`${_}-${w}-${N}`:null),[_,i]),M=I.useMemo(()=>({onSelect:E,activeKey:S,transition:f,mountOnEnter:p||!1,unmountOnExit:m||!1,getControlledId:N=>O(N,"tabpane"),getControllerId:N=>O(N,"tab")}),[E,S,f,p,m,O]);return ie.jsx(Xy.Provider,{value:M,children:ie.jsx(Gy.Provider,{value:E||null,children:b})})};hT.Panel=UD;function pT(e){return typeof e=="boolean"?e?Vd:nT:e}const HD=({transition:e,...t})=>ie.jsx(hT,{...t,transition:pT(e)});HD.displayName="TabContainer";const gT=ut.forwardRef(({className:e,bsPrefix:t,as:i="div",...r},o)=>(t=hn(t,"tab-content"),ie.jsx(i,{ref:o,className:jt(e,t),...r})));gT.displayName="TabContent";const mT=ut.forwardRef(({bsPrefix:e,transition:t,...i},r)=>{const[{className:o,as:c="div",...f},{isActive:p,onEnter:m,onEntering:b,onEntered:S,onExit:E,onExiting:_,onExited:O,mountOnEnter:M,unmountOnExit:N,transition:w=Vd}]=zD({...i,transition:pT(t)}),U=hn(e,"tab-pane");return ie.jsx(Xy.Provider,{value:null,children:ie.jsx(Gy.Provider,{value:null,children:ie.jsx(w,{in:p,onEnter:m,onEntering:b,onEntered:S,onExit:E,onExiting:_,onExited:O,mountOnEnter:M,unmountOnExit:N,children:ie.jsx(c,{...f,ref:r,className:jt(o,U,p&&"active")})})})})});mT.displayName="TabPane";const Zz={eventKey:Nt.oneOfType([Nt.string,Nt.number]),title:Nt.node.isRequired,disabled:Nt.bool,tabClassName:Nt.string,tabAttrs:Nt.object},jD=()=>{throw new Error("ReactBootstrap: The `Tab` component is not meant to be rendered! It's an abstract component that is only valid as a direct Child of the `Tabs` Component. For custom tabs components use TabPane and TabsContainer directly")};jD.propTypes=Zz;const Wz=Object.assign(jD,{Container:HD,Content:gT,Pane:mT});function Kz(e){let t;return y6(e,i=>{t==null&&(t=i.props.eventKey)}),t}function Jz(e){const{title:t,eventKey:i,disabled:r,tabClassName:o,tabAttrs:c,id:f}=e.props;return t==null?null:ie.jsx(sT,{as:"li",role:"presentation",children:ie.jsx(uT,{as:"button",type:"button",eventKey:i,disabled:r,id:f,className:o,...c,children:t})})}const FD=e=>{const{id:t,onSelect:i,transition:r,mountOnEnter:o=!1,unmountOnExit:c=!1,variant:f="tabs",children:p,activeKey:m=Kz(p),...b}=Bx(e,{activeKey:"onSelect"});return ie.jsxs(hT,{id:t,activeKey:m,onSelect:i,transition:pT(r),mountOnEnter:o,unmountOnExit:c,children:[ie.jsx(zz,{id:t,...b,role:"tablist",as:"ul",variant:f,children:_w(p,Jz)}),ie.jsx(gT,{children:_w(p,S=>{const E={...S.props};return delete E.title,delete E.disabled,delete E.tabClassName,delete E.tabAttrs,ie.jsx(mT,{...E})})})]})};FD.displayName="Tabs";const e5=e=>{var o,c,f,p,m,b,S,E;const t=lo(e.actionProps.bodyAttributes||{}),i=lo(e.actionProps.headerAttributes||{}),r=I.useRef(null);return ie.jsx("div",{ref:r,children:ie.jsx(LD,{container:r,placement:e.actionProps.placement??"top",trigger:e.actionProps.trigger??"click",overlay:ie.jsxs(iS,{children:[e.actionProps.header&&ie.jsx(iS.Header,{...i,children:ie.jsx(ki,{props:e.actionProps.header,currentData:((p=(f=(c=(o=e.componentProps)==null?void 0:o.currentData)==null?void 0:c.actions)==null?void 0:f[e.actionIndex])==null?void 0:p.header)??void 0,datafield:"header",path:e.componentProps.path+".actions."+e.actionIndex+".header"})}),ie.jsx(iS.Body,{...t,children:ie.jsx(ki,{props:e.actionProps.body,currentData:((E=(S=(b=(m=e.componentProps)==null?void 0:m.currentData)==null?void 0:b.actions)==null?void 0:S[e.actionIndex])==null?void 0:E.body)??void 0,datafield:"body",path:e.componentProps.path+".actions."+e.actionIndex+".body"})})]}),children:ie.jsx("popover-reference",{children:e.children})})})},t5=e=>{const t=I.useContext(ti),i=I.useContext(Gn),{to:r}=e.actionProps;!r||typeof r!="string"||(window.location.href=Xn({valueToEvaluate:r,globalDataContext:t,templateContext:i}))},n5=e=>{var t,i,r;return ie.jsx(LD,{placement:e.actionProps.placement??"top",overlay:ie.jsx(MD,{children:ie.jsx(ki,{props:e.actionProps.content,currentData:((r=(i=(t=e.componentProps)==null?void 0:t.currentData)==null?void 0:i.actions)==null?void 0:r[e.actionIndex])??void 0,datafield:e.actionIndex,path:e.componentProps.path+".actions."+e.actionIndex})}),children:ie.jsx("tooltip-reference",{children:e.children})})},i5=e=>ie.jsx("visually-hidden",{style:{display:"none"},children:e.children});function aS(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var yT={exports:{}};/*! jsonpath 1.1.1 */var ID;function a5(){return ID||(ID=1,function(e,t){(function(i){e.exports=i()})(function(){return function i(r,o,c){function f(b,S){if(!o[b]){if(!r[b]){var E=typeof aS=="function"&&aS;if(!S&&E)return E(b,!0);if(p)return p(b,!0);var _=new Error("Cannot find module '"+b+"'");throw _.code="MODULE_NOT_FOUND",_}var O=o[b]={exports:{}};r[b][0].call(O.exports,function(M){var N=r[b][1][M];return f(N||M)},O,O.exports,i,r,o,c)}return o[b].exports}for(var p=typeof aS=="function"&&aS,m=0;m<c.length;m++)f(c[m]);return f}({"./aesprim":[function(i,r,o){(function(c,f){f(typeof o<"u"?o:c.esprima={})})(this,function(c){var f,p,m,b,S,E,_,O,M,N,w,U,q,P,z,R,H,j;f={BooleanLiteral:1,EOF:2,Identifier:3,Keyword:4,NullLiteral:5,NumericLiteral:6,Punctuator:7,StringLiteral:8,RegularExpression:9},p={},p[f.BooleanLiteral]="Boolean",p[f.EOF]="<end>",p[f.Identifier]="Identifier",p[f.Keyword]="Keyword",p[f.NullLiteral]="Null",p[f.NumericLiteral]="Numeric",p[f.Punctuator]="Punctuator",p[f.StringLiteral]="String",p[f.RegularExpression]="RegularExpression",m=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],b={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},S={Data:1,Get:2,Set:4},E={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},_={NonAsciiIdentifierStart:new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"),NonAsciiIdentifierPart:new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮ̀-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҃-҇Ҋ-ԧԱ-Ֆՙա-և֑-ׇֽֿׁׂׅׄא-תװ-ײؐ-ؚؠ-٩ٮ-ۓە-ۜ۟-۪ۨ-ۼۿܐ-݊ݍ-ޱ߀-ߵߺࠀ-࠭ࡀ-࡛ࢠࢢ-ࢬࣤ-ࣾऀ-ॣ०-९ॱ-ॷॹ-ॿঁ-ঃঅ-ঌএঐও-নপ-রলশ-হ়-ৄেৈো-ৎৗড়ঢ়য়-ৣ০-ৱਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹ਼ਾ-ੂੇੈੋ-੍ੑਖ਼-ੜਫ਼੦-ੵઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હ઼-ૅે-ૉો-્ૐૠ-ૣ૦-૯ଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହ଼-ୄେୈୋ-୍ୖୗଡ଼ଢ଼ୟ-ୣ୦-୯ୱஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-்ௐௗ௦-௯ఁ-ఃఅ-ఌఎ-ఐఒ-నప-ళవ-హఽ-ౄె-ైొ-్ౕౖౘౙౠ-ౣ౦-౯ಂಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹ಼-ೄೆ-ೈೊ-್ೕೖೞೠ-ೣ೦-೯ೱೲംഃഅ-ഌഎ-ഐഒ-ഺഽ-ൄെ-ൈൊ-ൎൗൠ-ൣ൦-൯ൺ-ൿංඃඅ-ඖක-නඳ-රලව-ෆ්ා-ුූෘ-ෟෲෳก-ฺเ-๎๐-๙ກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ູົ-ຽເ-ໄໆ່-ໍ໐-໙ໜ-ໟༀ༘༙༠-༩༹༵༷༾-ཇཉ-ཬཱ-྄྆-ྗྙ-ྼ࿆က-၉ၐ-ႝႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፝-፟ᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-᜔ᜠ-᜴ᝀ-ᝓᝠ-ᝬᝮ-ᝰᝲᝳក-៓ៗៜ៝០-៩᠋-᠍᠐-᠙ᠠ-ᡷᢀ-ᢪᢰ-ᣵᤀ-ᤜᤠ-ᤫᤰ-᤻᥆-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉ᧐-᧙ᨀ-ᨛᨠ-ᩞ᩠-᩿᩼-᪉᪐-᪙ᪧᬀ-ᭋ᭐-᭙᭫-᭳ᮀ-᯳ᰀ-᰷᱀-᱉ᱍ-ᱽ᳐-᳔᳒-ᳶᴀ-ᷦ᷼-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‿⁀⁔ⁱⁿₐ-ₜ⃐-⃥⃜⃡-⃰ℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵿-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⷠ-ⷿⸯ々-〇〡-〯〱-〵〸-〼ぁ-ゖ゙゚ゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘫꙀ-꙯ꙴ-꙽ꙿ-ꚗꚟ-꛱ꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠧꡀ-ꡳꢀ-꣄꣐-꣙꣠-ꣷꣻ꤀-꤭ꤰ-꥓ꥠ-ꥼꦀ-꧀ꧏ-꧙ꨀ-ꨶꩀ-ꩍ꩐-꩙ꩠ-ꩶꩺꩻꪀ-ꫂꫛ-ꫝꫠ-ꫯꫲ-꫶ꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯪ꯬꯭꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻ︀-️︠-︦︳︴﹍-﹏ﹰ-ﹴﹶ-ﻼ0-9A-Z_a-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]")};function K(B,Y){if(!B)throw new Error("ASSERT: "+Y)}function W(B){return B>=48&&B<=57}function ge(B){return"0123456789abcdefABCDEF".indexOf(B)>=0}function ce(B){return"01234567".indexOf(B)>=0}function be(B){return B===32||B===9||B===11||B===12||B===160||B>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(B)>=0}function Oe(B){return B===10||B===13||B===8232||B===8233}function Ae(B){return B==64||B===36||B===95||B>=65&&B<=90||B>=97&&B<=122||B===92||B>=128&&_.NonAsciiIdentifierStart.test(String.fromCharCode(B))}function Fe(B){return B===36||B===95||B>=65&&B<=90||B>=97&&B<=122||B>=48&&B<=57||B===92||B>=128&&_.NonAsciiIdentifierPart.test(String.fromCharCode(B))}function ee(B){switch(B){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function le(B){switch(B){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function ve(B){return B==="eval"||B==="arguments"}function Qe(B){if(N&&le(B))return!0;switch(B.length){case 2:return B==="if"||B==="in"||B==="do";case 3:return B==="var"||B==="for"||B==="new"||B==="try"||B==="let";case 4:return B==="this"||B==="else"||B==="case"||B==="void"||B==="with"||B==="enum";case 5:return B==="while"||B==="break"||B==="catch"||B==="throw"||B==="const"||B==="yield"||B==="class"||B==="super";case 6:return B==="return"||B==="typeof"||B==="delete"||B==="switch"||B==="export"||B==="import";case 7:return B==="default"||B==="finally"||B==="extends";case 8:return B==="function"||B==="continue"||B==="debugger";case 10:return B==="instanceof";default:return!1}}function ne(B,Y,te,ye,Ye){var it;K(typeof te=="number","Comment must have valid position"),!(H.lastCommentStart>=te)&&(H.lastCommentStart=te,it={type:B,value:Y},j.range&&(it.range=[te,ye]),j.loc&&(it.loc=Ye),j.comments.push(it),j.attachComment&&(j.leadingComments.push(it),j.trailingComments.push(it)))}function Ee(B){var Y,te,ye,Ye;for(Y=w-B,te={start:{line:U,column:w-q-B}};w<P;)if(ye=M.charCodeAt(w),++w,Oe(ye)){j.comments&&(Ye=M.slice(Y+B,w-1),te.end={line:U,column:w-q-1},ne("Line",Ye,Y,w-1,te)),ye===13&&M.charCodeAt(w)===10&&++w,++U,q=w;return}j.comments&&(Ye=M.slice(Y+B,w),te.end={line:U,column:w-q},ne("Line",Ye,Y,w,te))}function Re(){var B,Y,te,ye;for(j.comments&&(B=w-2,Y={start:{line:U,column:w-q-2}});w<P;)if(te=M.charCodeAt(w),Oe(te))te===13&&M.charCodeAt(w+1)===10&&++w,++U,++w,q=w,w>=P&&ot({},E.UnexpectedToken,"ILLEGAL");else if(te===42){if(M.charCodeAt(w+1)===47){++w,++w,j.comments&&(ye=M.slice(B+2,w-2),Y.end={line:U,column:w-q},ne("Block",ye,B,w,Y));return}++w}else++w;ot({},E.UnexpectedToken,"ILLEGAL")}function ae(){var B,Y;for(Y=w===0;w<P;)if(B=M.charCodeAt(w),be(B))++w;else if(Oe(B))++w,B===13&&M.charCodeAt(w)===10&&++w,++U,q=w,Y=!0;else if(B===47)if(B=M.charCodeAt(w+1),B===47)++w,++w,Ee(2),Y=!0;else if(B===42)++w,++w,Re();else break;else if(Y&&B===45)if(M.charCodeAt(w+1)===45&&M.charCodeAt(w+2)===62)w+=3,Ee(3);else break;else if(B===60)if(M.slice(w+1,w+4)==="!--")++w,++w,++w,++w,Ee(4);else break;else break}function de(B){var Y,te,ye,Ye=0;for(te=B==="u"?4:2,Y=0;Y<te;++Y)if(w<P&&ge(M[w]))ye=M[w++],Ye=Ye*16+"0123456789abcdef".indexOf(ye.toLowerCase());else return"";return String.fromCharCode(Ye)}function we(){var B,Y;for(B=M.charCodeAt(w++),Y=String.fromCharCode(B),B===92&&(M.charCodeAt(w)!==117&&ot({},E.UnexpectedToken,"ILLEGAL"),++w,B=de("u"),(!B||B==="\\"||!Ae(B.charCodeAt(0)))&&ot({},E.UnexpectedToken,"ILLEGAL"),Y=B);w<P&&(B=M.charCodeAt(w),!!Fe(B));)++w,Y+=String.fromCharCode(B),B===92&&(Y=Y.substr(0,Y.length-1),M.charCodeAt(w)!==117&&ot({},E.UnexpectedToken,"ILLEGAL"),++w,B=de("u"),(!B||B==="\\"||!Fe(B.charCodeAt(0)))&&ot({},E.UnexpectedToken,"ILLEGAL"),Y+=B);return Y}function Ue(){var B,Y;for(B=w++;w<P;){if(Y=M.charCodeAt(w),Y===92)return w=B,we();if(Fe(Y))++w;else break}return M.slice(B,w)}function at(){var B,Y,te;return B=w,Y=M.charCodeAt(w)===92?we():Ue(),Y.length===1?te=f.Identifier:Qe(Y)?te=f.Keyword:Y==="null"?te=f.NullLiteral:Y==="true"||Y==="false"?te=f.BooleanLiteral:te=f.Identifier,{type:te,value:Y,lineNumber:U,lineStart:q,start:B,end:w}}function Ke(){var B=w,Y=M.charCodeAt(w),te,ye=M[w],Ye,it,It;switch(Y){case 46:case 40:case 41:case 59:case 44:case 123:case 125:case 91:case 93:case 58:case 63:case 126:return++w,j.tokenize&&(Y===40?j.openParenToken=j.tokens.length:Y===123&&(j.openCurlyToken=j.tokens.length)),{type:f.Punctuator,value:String.fromCharCode(Y),lineNumber:U,lineStart:q,start:B,end:w};default:if(te=M.charCodeAt(w+1),te===61)switch(Y){case 43:case 45:case 47:case 60:case 62:case 94:case 124:case 37:case 38:case 42:return w+=2,{type:f.Punctuator,value:String.fromCharCode(Y)+String.fromCharCode(te),lineNumber:U,lineStart:q,start:B,end:w};case 33:case 61:return w+=2,M.charCodeAt(w)===61&&++w,{type:f.Punctuator,value:M.slice(B,w),lineNumber:U,lineStart:q,start:B,end:w}}}if(It=M.substr(w,4),It===">>>=")return w+=4,{type:f.Punctuator,value:It,lineNumber:U,lineStart:q,start:B,end:w};if(it=It.substr(0,3),it===">>>"||it==="<<="||it===">>=")return w+=3,{type:f.Punctuator,value:it,lineNumber:U,lineStart:q,start:B,end:w};if(Ye=it.substr(0,2),ye===Ye[1]&&"+-<>&|".indexOf(ye)>=0||Ye==="=>")return w+=2,{type:f.Punctuator,value:Ye,lineNumber:U,lineStart:q,start:B,end:w};if("<>=!+-*%&|^/".indexOf(ye)>=0)return++w,{type:f.Punctuator,value:ye,lineNumber:U,lineStart:q,start:B,end:w};ot({},E.UnexpectedToken,"ILLEGAL")}function Le(B){for(var Y="";w<P&&ge(M[w]);)Y+=M[w++];return Y.length===0&&ot({},E.UnexpectedToken,"ILLEGAL"),Ae(M.charCodeAt(w))&&ot({},E.UnexpectedToken,"ILLEGAL"),{type:f.NumericLiteral,value:parseInt("0x"+Y,16),lineNumber:U,lineStart:q,start:B,end:w}}function De(B){for(var Y="0"+M[w++];w<P&&ce(M[w]);)Y+=M[w++];return(Ae(M.charCodeAt(w))||W(M.charCodeAt(w)))&&ot({},E.UnexpectedToken,"ILLEGAL"),{type:f.NumericLiteral,value:parseInt(Y,8),octal:!0,lineNumber:U,lineStart:q,start:B,end:w}}function nt(){var B,Y,te;if(te=M[w],K(W(te.charCodeAt(0))||te===".","Numeric literal must start with a decimal digit or a decimal point"),Y=w,B="",te!=="."){if(B=M[w++],te=M[w],B==="0"){if(te==="x"||te==="X")return++w,Le(Y);if(ce(te))return De(Y);te&&W(te.charCodeAt(0))&&ot({},E.UnexpectedToken,"ILLEGAL")}for(;W(M.charCodeAt(w));)B+=M[w++];te=M[w]}if(te==="."){for(B+=M[w++];W(M.charCodeAt(w));)B+=M[w++];te=M[w]}if(te==="e"||te==="E")if(B+=M[w++],te=M[w],(te==="+"||te==="-")&&(B+=M[w++]),W(M.charCodeAt(w)))for(;W(M.charCodeAt(w));)B+=M[w++];else ot({},E.UnexpectedToken,"ILLEGAL");return Ae(M.charCodeAt(w))&&ot({},E.UnexpectedToken,"ILLEGAL"),{type:f.NumericLiteral,value:parseFloat(B),lineNumber:U,lineStart:q,start:Y,end:w}}function Ie(){var B="",Y,te,ye,Ye,it,It,An=!1,Ci,ta;for(Ci=U,ta=q,Y=M[w],K(Y==="'"||Y==='"',"String literal must starts with a quote"),te=w,++w;w<P;)if(ye=M[w++],ye===Y){Y="";break}else if(ye==="\\")if(ye=M[w++],!ye||!Oe(ye.charCodeAt(0)))switch(ye){case"u":case"x":It=w,it=de(ye),it?B+=it:(w=It,B+=ye);break;case"n":B+=`
|
|
77
|
+
`;break;case"r":B+="\r";break;case"t":B+=" ";break;case"b":B+="\b";break;case"f":B+="\f";break;case"v":B+="\v";break;default:ce(ye)?(Ye="01234567".indexOf(ye),Ye!==0&&(An=!0),w<P&&ce(M[w])&&(An=!0,Ye=Ye*8+"01234567".indexOf(M[w++]),"0123".indexOf(ye)>=0&&w<P&&ce(M[w])&&(Ye=Ye*8+"01234567".indexOf(M[w++]))),B+=String.fromCharCode(Ye)):B+=ye;break}else++U,ye==="\r"&&M[w]===`
|
|
78
|
+
`&&++w,q=w;else{if(Oe(ye.charCodeAt(0)))break;B+=ye}return Y!==""&&ot({},E.UnexpectedToken,"ILLEGAL"),{type:f.StringLiteral,value:B,octal:An,startLineNumber:Ci,startLineStart:ta,lineNumber:U,lineStart:q,start:te,end:w}}function Ct(B,Y){var te;try{te=new RegExp(B,Y)}catch{ot({},E.InvalidRegExp)}return te}function Rt(){var B,Y,te,ye,Ye;for(B=M[w],K(B==="/","Regular expression literal must start with a slash"),Y=M[w++],te=!1,ye=!1;w<P;)if(B=M[w++],Y+=B,B==="\\")B=M[w++],Oe(B.charCodeAt(0))&&ot({},E.UnterminatedRegExp),Y+=B;else if(Oe(B.charCodeAt(0)))ot({},E.UnterminatedRegExp);else if(te)B==="]"&&(te=!1);else if(B==="/"){ye=!0;break}else B==="["&&(te=!0);return ye||ot({},E.UnterminatedRegExp),Ye=Y.substr(1,Y.length-2),{value:Ye,literal:Y}}function Et(){var B,Y,te,ye;for(Y="",te="";w<P&&(B=M[w],!!Fe(B.charCodeAt(0)));)if(++w,B==="\\"&&w<P)if(B=M[w],B==="u"){if(++w,ye=w,B=de("u"),B)for(te+=B,Y+="\\u";ye<w;++ye)Y+=M[ye];else w=ye,te+="u",Y+="\\u";xt({},E.UnexpectedToken,"ILLEGAL")}else Y+="\\",xt({},E.UnexpectedToken,"ILLEGAL");else te+=B,Y+=B;return{value:te,literal:Y}}function un(){var B,Y,te,ye;return R=null,ae(),B=w,Y=Rt(),te=Et(),ye=Ct(Y.value,te.value),j.tokenize?{type:f.RegularExpression,value:ye,lineNumber:U,lineStart:q,start:B,end:w}:{literal:Y.literal+te.literal,value:ye,start:B,end:w}}function Ut(){var B,Y,te,ye;return ae(),B=w,Y={start:{line:U,column:w-q}},te=un(),Y.end={line:U,column:w-q},j.tokenize||(j.tokens.length>0&&(ye=j.tokens[j.tokens.length-1],ye.range[0]===B&&ye.type==="Punctuator"&&(ye.value==="/"||ye.value==="/=")&&j.tokens.pop()),j.tokens.push({type:"RegularExpression",value:te.literal,range:[B,w],loc:Y})),te}function oa(B){return B.type===f.Identifier||B.type===f.Keyword||B.type===f.BooleanLiteral||B.type===f.NullLiteral}function Ea(){var B,Y;if(B=j.tokens[j.tokens.length-1],!B)return Ut();if(B.type==="Punctuator"){if(B.value==="]")return Ke();if(B.value===")")return Y=j.tokens[j.openParenToken-1],Y&&Y.type==="Keyword"&&(Y.value==="if"||Y.value==="while"||Y.value==="for"||Y.value==="with")?Ut():Ke();if(B.value==="}"){if(j.tokens[j.openCurlyToken-3]&&j.tokens[j.openCurlyToken-3].type==="Keyword"){if(Y=j.tokens[j.openCurlyToken-4],!Y)return Ke()}else if(j.tokens[j.openCurlyToken-4]&&j.tokens[j.openCurlyToken-4].type==="Keyword"){if(Y=j.tokens[j.openCurlyToken-5],!Y)return Ut()}else return Ke();return m.indexOf(Y.value)>=0?Ke():Ut()}return Ut()}return B.type==="Keyword"?Ut():Ke()}function wn(){var B;return ae(),w>=P?{type:f.EOF,lineNumber:U,lineStart:q,start:w,end:w}:(B=M.charCodeAt(w),Ae(B)?at():B===40||B===41||B===59?Ke():B===39||B===34?Ie():B===46?W(M.charCodeAt(w+1))?nt():Ke():W(B)?nt():j.tokenize&&B===47?Ea():Ke())}function Zt(){var B,Y,te;return ae(),B={start:{line:U,column:w-q}},Y=wn(),B.end={line:U,column:w-q},Y.type!==f.EOF&&(te=M.slice(Y.start,Y.end),j.tokens.push({type:p[Y.type],value:te,range:[Y.start,Y.end],loc:B})),Y}function pt(){var B;return B=R,w=B.end,U=B.lineNumber,q=B.lineStart,R=typeof j.tokens<"u"?Zt():wn(),w=B.end,U=B.lineNumber,q=B.lineStart,B}function Dn(){var B,Y,te;B=w,Y=U,te=q,R=typeof j.tokens<"u"?Zt():wn(),w=B,U=Y,q=te}function Oi(B,Y){this.line=B,this.column=Y}function Ba(B,Y,te,ye){this.start=new Oi(B,Y),this.end=new Oi(te,ye)}O={name:"SyntaxTree",processComment:function(B){var Y,te;if(!(B.type===b.Program&&B.body.length>0)){for(j.trailingComments.length>0?j.trailingComments[0].range[0]>=B.range[1]?(te=j.trailingComments,j.trailingComments=[]):j.trailingComments.length=0:j.bottomRightStack.length>0&&j.bottomRightStack[j.bottomRightStack.length-1].trailingComments&&j.bottomRightStack[j.bottomRightStack.length-1].trailingComments[0].range[0]>=B.range[1]&&(te=j.bottomRightStack[j.bottomRightStack.length-1].trailingComments,delete j.bottomRightStack[j.bottomRightStack.length-1].trailingComments);j.bottomRightStack.length>0&&j.bottomRightStack[j.bottomRightStack.length-1].range[0]>=B.range[0];)Y=j.bottomRightStack.pop();Y?Y.leadingComments&&Y.leadingComments[Y.leadingComments.length-1].range[1]<=B.range[0]&&(B.leadingComments=Y.leadingComments,delete Y.leadingComments):j.leadingComments.length>0&&j.leadingComments[j.leadingComments.length-1].range[1]<=B.range[0]&&(B.leadingComments=j.leadingComments,j.leadingComments=[]),te&&(B.trailingComments=te),j.bottomRightStack.push(B)}},markEnd:function(B,Y){return j.range&&(B.range=[Y.start,w]),j.loc&&(B.loc=new Ba(Y.startLineNumber===void 0?Y.lineNumber:Y.startLineNumber,Y.start-(Y.startLineStart===void 0?Y.lineStart:Y.startLineStart),U,w-q),this.postProcess(B)),j.attachComment&&this.processComment(B),B},postProcess:function(B){return j.source&&(B.loc.source=j.source),B},createArrayExpression:function(B){return{type:b.ArrayExpression,elements:B}},createAssignmentExpression:function(B,Y,te){return{type:b.AssignmentExpression,operator:B,left:Y,right:te}},createBinaryExpression:function(B,Y,te){var ye=B==="||"||B==="&&"?b.LogicalExpression:b.BinaryExpression;return{type:ye,operator:B,left:Y,right:te}},createBlockStatement:function(B){return{type:b.BlockStatement,body:B}},createBreakStatement:function(B){return{type:b.BreakStatement,label:B}},createCallExpression:function(B,Y){return{type:b.CallExpression,callee:B,arguments:Y}},createCatchClause:function(B,Y){return{type:b.CatchClause,param:B,body:Y}},createConditionalExpression:function(B,Y,te){return{type:b.ConditionalExpression,test:B,consequent:Y,alternate:te}},createContinueStatement:function(B){return{type:b.ContinueStatement,label:B}},createDebuggerStatement:function(){return{type:b.DebuggerStatement}},createDoWhileStatement:function(B,Y){return{type:b.DoWhileStatement,body:B,test:Y}},createEmptyStatement:function(){return{type:b.EmptyStatement}},createExpressionStatement:function(B){return{type:b.ExpressionStatement,expression:B}},createForStatement:function(B,Y,te,ye){return{type:b.ForStatement,init:B,test:Y,update:te,body:ye}},createForInStatement:function(B,Y,te){return{type:b.ForInStatement,left:B,right:Y,body:te,each:!1}},createFunctionDeclaration:function(B,Y,te,ye){return{type:b.FunctionDeclaration,id:B,params:Y,defaults:te,body:ye,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(B,Y,te,ye){return{type:b.FunctionExpression,id:B,params:Y,defaults:te,body:ye,rest:null,generator:!1,expression:!1}},createIdentifier:function(B){return{type:b.Identifier,name:B}},createIfStatement:function(B,Y,te){return{type:b.IfStatement,test:B,consequent:Y,alternate:te}},createLabeledStatement:function(B,Y){return{type:b.LabeledStatement,label:B,body:Y}},createLiteral:function(B){return{type:b.Literal,value:B.value,raw:M.slice(B.start,B.end)}},createMemberExpression:function(B,Y,te){return{type:b.MemberExpression,computed:B==="[",object:Y,property:te}},createNewExpression:function(B,Y){return{type:b.NewExpression,callee:B,arguments:Y}},createObjectExpression:function(B){return{type:b.ObjectExpression,properties:B}},createPostfixExpression:function(B,Y){return{type:b.UpdateExpression,operator:B,argument:Y,prefix:!1}},createProgram:function(B){return{type:b.Program,body:B}},createProperty:function(B,Y,te){return{type:b.Property,key:Y,value:te,kind:B}},createReturnStatement:function(B){return{type:b.ReturnStatement,argument:B}},createSequenceExpression:function(B){return{type:b.SequenceExpression,expressions:B}},createSwitchCase:function(B,Y){return{type:b.SwitchCase,test:B,consequent:Y}},createSwitchStatement:function(B,Y){return{type:b.SwitchStatement,discriminant:B,cases:Y}},createThisExpression:function(){return{type:b.ThisExpression}},createThrowStatement:function(B){return{type:b.ThrowStatement,argument:B}},createTryStatement:function(B,Y,te,ye){return{type:b.TryStatement,block:B,guardedHandlers:Y,handlers:te,finalizer:ye}},createUnaryExpression:function(B,Y){return B==="++"||B==="--"?{type:b.UpdateExpression,operator:B,argument:Y,prefix:!0}:{type:b.UnaryExpression,operator:B,argument:Y,prefix:!0}},createVariableDeclaration:function(B,Y){return{type:b.VariableDeclaration,declarations:B,kind:Y}},createVariableDeclarator:function(B,Y){return{type:b.VariableDeclarator,id:B,init:Y}},createWhileStatement:function(B,Y){return{type:b.WhileStatement,test:B,body:Y}},createWithStatement:function(B,Y){return{type:b.WithStatement,object:B,body:Y}}};function Lt(){var B,Y,te,ye;return B=w,Y=U,te=q,ae(),ye=U!==Y,w=B,U=Y,q=te,ye}function ot(B,Y){var te,ye=Array.prototype.slice.call(arguments,2),Ye=Y.replace(/%(\d)/g,function(it,It){return K(It<ye.length,"Message reference must be in range"),ye[It]});throw typeof B.lineNumber=="number"?(te=new Error("Line "+B.lineNumber+": "+Ye),te.index=B.start,te.lineNumber=B.lineNumber,te.column=B.start-q+1):(te=new Error("Line "+U+": "+Ye),te.index=w,te.lineNumber=U,te.column=w-q+1),te.description=Ye,te}function xt(){try{ot.apply(null,arguments)}catch(B){if(j.errors)j.errors.push(B);else throw B}}function Ln(B){if(B.type===f.EOF&&ot(B,E.UnexpectedEOS),B.type===f.NumericLiteral&&ot(B,E.UnexpectedNumber),B.type===f.StringLiteral&&ot(B,E.UnexpectedString),B.type===f.Identifier&&ot(B,E.UnexpectedIdentifier),B.type===f.Keyword){if(ee(B.value))ot(B,E.UnexpectedReserved);else if(N&&le(B.value)){xt(B,E.StrictReservedWord);return}ot(B,E.UnexpectedToken,B.value)}ot(B,E.UnexpectedToken,B.value)}function bt(B){var Y=pt();(Y.type!==f.Punctuator||Y.value!==B)&&Ln(Y)}function On(B){var Y=pt();(Y.type!==f.Keyword||Y.value!==B)&&Ln(Y)}function vt(B){return R.type===f.Punctuator&&R.value===B}function ni(B){return R.type===f.Keyword&&R.value===B}function gr(){var B;return R.type!==f.Punctuator?!1:(B=R.value,B==="="||B==="*="||B==="/="||B==="%="||B==="+="||B==="-="||B==="<<="||B===">>="||B===">>>="||B==="&="||B==="^="||B==="|=")}function $n(){var B;if(M.charCodeAt(w)===59||vt(";")){pt();return}B=U,ae(),U===B&&R.type!==f.EOF&&!vt("}")&&Ln(R)}function Aa(B){return B.type===b.Identifier||B.type===b.MemberExpression}function Qa(){var B=[],Y;for(Y=R,bt("[");!vt("]");)vt(",")?(pt(),B.push(null)):(B.push(Ti()),vt("]")||bt(","));return pt(),z.markEnd(z.createArrayExpression(B),Y)}function Ai(B,Y){var te,ye,Ye;return te=N,Ye=R,ye=ea(),Y&&N&&ve(B[0].name)&&xt(Y,E.StrictParamName),N=te,z.markEnd(z.createFunctionExpression(null,B,[],ye),Ye)}function mr(){var B,Y;return Y=R,B=pt(),B.type===f.StringLiteral||B.type===f.NumericLiteral?(N&&B.octal&&xt(B,E.StrictOctalLiteral),z.markEnd(z.createLiteral(B),Y)):z.markEnd(z.createIdentifier(B.value),Y)}function uo(){var B,Y,te,ye,Ye,it;if(B=R,it=R,B.type===f.Identifier)return te=mr(),B.value==="get"&&!vt(":")?(Y=mr(),bt("("),bt(")"),ye=Ai([]),z.markEnd(z.createProperty("get",Y,ye),it)):B.value==="set"&&!vt(":")?(Y=mr(),bt("("),B=R,B.type!==f.Identifier?(bt(")"),xt(B,E.UnexpectedToken,B.value),ye=Ai([])):(Ye=[mi()],bt(")"),ye=Ai(Ye,B)),z.markEnd(z.createProperty("set",Y,ye),it)):(bt(":"),ye=Ti(),z.markEnd(z.createProperty("init",te,ye),it));if(B.type===f.EOF||B.type===f.Punctuator)Ln(B);else return Y=mr(),bt(":"),ye=Ti(),z.markEnd(z.createProperty("init",Y,ye),it)}function fl(){var B=[],Y,te,ye,Ye,it={},It=String,An;for(An=R,bt("{");!vt("}");)Y=uo(),Y.key.type===b.Identifier?te=Y.key.name:te=It(Y.key.value),Ye=Y.kind==="init"?S.Data:Y.kind==="get"?S.Get:S.Set,ye="$"+te,Object.prototype.hasOwnProperty.call(it,ye)?(it[ye]===S.Data?N&&Ye===S.Data?xt({},E.StrictDuplicateProperty):Ye!==S.Data&&xt({},E.AccessorDataProperty):Ye===S.Data?xt({},E.AccessorDataProperty):it[ye]&Ye&&xt({},E.AccessorGetSet),it[ye]|=Ye):it[ye]=Ye,B.push(Y),vt("}")||bt(",");return bt("}"),z.markEnd(z.createObjectExpression(B),An)}function ri(){var B;return bt("("),B=oi(),bt(")"),B}function ha(){var B,Y,te,ye;if(vt("("))return ri();if(vt("["))return Qa();if(vt("{"))return fl();if(B=R.type,ye=R,B===f.Identifier)te=z.createIdentifier(pt().value);else if(B===f.StringLiteral||B===f.NumericLiteral)N&&R.octal&&xt(R,E.StrictOctalLiteral),te=z.createLiteral(pt());else if(B===f.Keyword){if(ni("function"))return Qo();ni("this")?(pt(),te=z.createThisExpression()):Ln(pt())}else B===f.BooleanLiteral?(Y=pt(),Y.value=Y.value==="true",te=z.createLiteral(Y)):B===f.NullLiteral?(Y=pt(),Y.value=null,te=z.createLiteral(Y)):vt("/")||vt("/=")?(typeof j.tokens<"u"?te=z.createLiteral(Ut()):te=z.createLiteral(un()),Dn()):Ln(pt());return z.markEnd(te,ye)}function Fi(){var B=[];if(bt("("),!vt(")"))for(;w<P&&(B.push(Ti()),!vt(")"));)bt(",");return bt(")"),B}function Za(){var B,Y;return Y=R,B=pt(),oa(B)||Ln(B),z.markEnd(z.createIdentifier(B.value),Y)}function li(){return bt("."),Za()}function Ii(){var B;return bt("["),B=oi(),bt("]"),B}function Wa(){var B,Y,te;return te=R,On("new"),B=an(),Y=vt("(")?Fi():[],z.markEnd(z.createNewExpression(B,Y),te)}function Po(){var B,Y,te,ye,Ye;for(Ye=R,B=H.allowIn,H.allowIn=!0,Y=ni("new")?Wa():ha(),H.allowIn=B;;){if(vt("."))ye=li(),Y=z.createMemberExpression(".",Y,ye);else if(vt("("))te=Fi(),Y=z.createCallExpression(Y,te);else if(vt("["))ye=Ii(),Y=z.createMemberExpression("[",Y,ye);else break;z.markEnd(Y,Ye)}return Y}function an(){var B,Y,te,ye;for(ye=R,B=H.allowIn,Y=ni("new")?Wa():ha(),H.allowIn=B;vt(".")||vt("[");)vt("[")?(te=Ii(),Y=z.createMemberExpression("[",Y,te)):(te=li(),Y=z.createMemberExpression(".",Y,te)),z.markEnd(Y,ye);return Y}function Hn(){var B,Y,te=R;return B=Po(),R.type===f.Punctuator&&(vt("++")||vt("--"))&&!Lt()&&(N&&B.type===b.Identifier&&ve(B.name)&&xt({},E.StrictLHSPostfix),Aa(B)||xt({},E.InvalidLHSInAssignment),Y=pt(),B=z.markEnd(z.createPostfixExpression(Y.value,B),te)),B}function kn(){var B,Y,te;return R.type!==f.Punctuator&&R.type!==f.Keyword?Y=Hn():vt("++")||vt("--")?(te=R,B=pt(),Y=kn(),N&&Y.type===b.Identifier&&ve(Y.name)&&xt({},E.StrictLHSPrefix),Aa(Y)||xt({},E.InvalidLHSInAssignment),Y=z.createUnaryExpression(B.value,Y),Y=z.markEnd(Y,te)):vt("+")||vt("-")||vt("~")||vt("!")?(te=R,B=pt(),Y=kn(),Y=z.createUnaryExpression(B.value,Y),Y=z.markEnd(Y,te)):ni("delete")||ni("void")||ni("typeof")?(te=R,B=pt(),Y=kn(),Y=z.createUnaryExpression(B.value,Y),Y=z.markEnd(Y,te),N&&Y.operator==="delete"&&Y.argument.type===b.Identifier&&xt({},E.StrictDelete)):Y=Hn(),Y}function Ki(B,Y){var te=0;if(B.type!==f.Punctuator&&B.type!==f.Keyword)return 0;switch(B.value){case"||":te=1;break;case"&&":te=2;break;case"|":te=3;break;case"^":te=4;break;case"&":te=5;break;case"==":case"!=":case"===":case"!==":te=6;break;case"<":case">":case"<=":case">=":case"instanceof":te=7;break;case"in":te=Y?7:0;break;case"<<":case">>":case">>>":te=8;break;case"+":case"-":te=9;break;case"*":case"/":case"%":te=11;break}return te}function Ll(){var B,Y,te,ye,Ye,it,It,An,Ci,ta;if(B=R,Ci=kn(),ye=R,Ye=Ki(ye,H.allowIn),Ye===0)return Ci;for(ye.prec=Ye,pt(),Y=[B,R],It=kn(),it=[Ci,ye,It];(Ye=Ki(R,H.allowIn))>0;){for(;it.length>2&&Ye<=it[it.length-2].prec;)It=it.pop(),An=it.pop().value,Ci=it.pop(),te=z.createBinaryExpression(An,Ci,It),Y.pop(),B=Y[Y.length-1],z.markEnd(te,B),it.push(te);ye=pt(),ye.prec=Ye,it.push(ye),Y.push(R),te=kn(),it.push(te)}for(ta=it.length-1,te=it[ta],Y.pop();ta>1;)te=z.createBinaryExpression(it[ta-1].value,it[ta-2],te),ta-=2,B=Y.pop(),z.markEnd(te,B);return te}function qo(){var B,Y,te,ye,Ye;return Ye=R,B=Ll(),vt("?")&&(pt(),Y=H.allowIn,H.allowIn=!0,te=Ti(),H.allowIn=Y,bt(":"),ye=Ti(),B=z.createConditionalExpression(B,te,ye),z.markEnd(B,Ye)),B}function Ti(){var B,Y,te,ye,Ye;return B=R,Ye=R,ye=Y=qo(),gr()&&(Aa(Y)||xt({},E.InvalidLHSInAssignment),N&&Y.type===b.Identifier&&ve(Y.name)&&xt(B,E.StrictLHSAssignment),B=pt(),te=Ti(),ye=z.markEnd(z.createAssignmentExpression(B.value,Y,te),Ye)),ye}function oi(){var B,Y=R;if(B=Ti(),vt(",")){for(B=z.createSequenceExpression([B]);w<P&&vt(",");)pt(),B.expressions.push(Ti());z.markEnd(B,Y)}return B}function ft(){for(var B=[],Y;w<P&&!(vt("}")||(Y=Ir(),typeof Y>"u"));)B.push(Y);return B}function Vo(){var B,Y;return Y=R,bt("{"),B=ft(),bt("}"),z.markEnd(z.createBlockStatement(B),Y)}function mi(){var B,Y;return Y=R,B=pt(),B.type!==f.Identifier&&Ln(B),z.markEnd(z.createIdentifier(B.value),Y)}function ks(B){var Y=null,te,ye;return ye=R,te=mi(),N&&ve(te.name)&&xt({},E.StrictVarName),B==="const"?(bt("="),Y=Ti()):vt("=")&&(pt(),Y=Ti()),z.markEnd(z.createVariableDeclarator(te,Y),ye)}function Yo(B){var Y=[];do{if(Y.push(ks(B)),!vt(","))break;pt()}while(w<P);return Y}function co(){var B;return On("var"),B=Yo(),$n(),z.createVariableDeclaration(B,"var")}function Ji(B){var Y,te;return te=R,On(B),Y=Yo(B),$n(),z.markEnd(z.createVariableDeclaration(Y,B),te)}function bc(){return bt(";"),z.createEmptyStatement()}function yr(){var B=oi();return $n(),z.createExpressionStatement(B)}function Go(){var B,Y,te;return On("if"),bt("("),B=oi(),bt(")"),Y=vr(),ni("else")?(pt(),te=vr()):te=null,z.createIfStatement(B,Y,te)}function Xo(){var B,Y,te;return On("do"),te=H.inIteration,H.inIteration=!0,B=vr(),H.inIteration=te,On("while"),bt("("),Y=oi(),bt(")"),vt(";")&&pt(),z.createDoWhileStatement(B,Y)}function xc(){var B,Y,te;return On("while"),bt("("),B=oi(),bt(")"),te=H.inIteration,H.inIteration=!0,Y=vr(),H.inIteration=te,z.createWhileStatement(B,Y)}function wf(){var B,Y,te;return te=R,B=pt(),Y=Yo(),z.markEnd(z.createVariableDeclaration(Y,B.value),te)}function Cu(){var B,Y,te,ye,Ye,it,It;return B=Y=te=null,On("for"),bt("("),vt(";")?pt():(ni("var")||ni("let")?(H.allowIn=!1,B=wf(),H.allowIn=!0,B.declarations.length===1&&ni("in")&&(pt(),ye=B,Ye=oi(),B=null)):(H.allowIn=!1,B=oi(),H.allowIn=!0,ni("in")&&(Aa(B)||xt({},E.InvalidLHSInForIn),pt(),ye=B,Ye=oi(),B=null)),typeof ye>"u"&&bt(";")),typeof ye>"u"&&(vt(";")||(Y=oi()),bt(";"),vt(")")||(te=oi())),bt(")"),It=H.inIteration,H.inIteration=!0,it=vr(),H.inIteration=It,typeof ye>"u"?z.createForStatement(B,Y,te,it):z.createForInStatement(ye,Ye,it)}function jp(){var B=null,Y;return On("continue"),M.charCodeAt(w)===59?(pt(),H.inIteration||ot({},E.IllegalContinue),z.createContinueStatement(null)):Lt()?(H.inIteration||ot({},E.IllegalContinue),z.createContinueStatement(null)):(R.type===f.Identifier&&(B=mi(),Y="$"+B.name,Object.prototype.hasOwnProperty.call(H.labelSet,Y)||ot({},E.UnknownLabel,B.name)),$n(),B===null&&!H.inIteration&&ot({},E.IllegalContinue),z.createContinueStatement(B))}function fo(){var B=null,Y;return On("break"),M.charCodeAt(w)===59?(pt(),H.inIteration||H.inSwitch||ot({},E.IllegalBreak),z.createBreakStatement(null)):Lt()?(H.inIteration||H.inSwitch||ot({},E.IllegalBreak),z.createBreakStatement(null)):(R.type===f.Identifier&&(B=mi(),Y="$"+B.name,Object.prototype.hasOwnProperty.call(H.labelSet,Y)||ot({},E.UnknownLabel,B.name)),$n(),B===null&&!(H.inIteration||H.inSwitch)&&ot({},E.IllegalBreak),z.createBreakStatement(B))}function Sc(){var B=null;return On("return"),H.inFunctionBody||xt({},E.IllegalReturn),M.charCodeAt(w)===32&&Ae(M.charCodeAt(w+1))?(B=oi(),$n(),z.createReturnStatement(B)):Lt()?z.createReturnStatement(null):(vt(";")||!vt("}")&&R.type!==f.EOF&&(B=oi()),$n(),z.createReturnStatement(B))}function dl(){var B,Y;return N&&(ae(),xt({},E.StrictModeWith)),On("with"),bt("("),B=oi(),bt(")"),Y=vr(),z.createWithStatement(B,Y)}function Ec(){var B,Y=[],te,ye;for(ye=R,ni("default")?(pt(),B=null):(On("case"),B=oi()),bt(":");w<P&&!(vt("}")||ni("default")||ni("case"));)te=vr(),Y.push(te);return z.markEnd(z.createSwitchCase(B,Y),ye)}function Df(){var B,Y,te,ye,Ye;if(On("switch"),bt("("),B=oi(),bt(")"),bt("{"),Y=[],vt("}"))return pt(),z.createSwitchStatement(B,Y);for(ye=H.inSwitch,H.inSwitch=!0,Ye=!1;w<P&&!vt("}");)te=Ec(),te.test===null&&(Ye&&ot({},E.MultipleDefaultsInSwitch),Ye=!0),Y.push(te);return H.inSwitch=ye,bt("}"),z.createSwitchStatement(B,Y)}function zs(){var B;return On("throw"),Lt()&&ot({},E.NewlineAfterThrow),B=oi(),$n(),z.createThrowStatement(B)}function La(){var B,Y,te;return te=R,On("catch"),bt("("),vt(")")&&Ln(R),B=mi(),N&&ve(B.name)&&xt({},E.StrictCatchVariable),bt(")"),Y=Vo(),z.markEnd(z.createCatchClause(B,Y),te)}function $o(){var B,Y=[],te=null;return On("try"),B=Vo(),ni("catch")&&Y.push(La()),ni("finally")&&(pt(),te=Vo()),Y.length===0&&!te&&ot({},E.NoCatchOrFinally),z.createTryStatement(B,[],Y,te)}function Us(){return On("debugger"),$n(),z.createDebuggerStatement()}function vr(){var B=R.type,Y,te,ye,Ye;if(B===f.EOF&&Ln(R),B===f.Punctuator&&R.value==="{")return Vo();if(Ye=R,B===f.Punctuator)switch(R.value){case";":return z.markEnd(bc(),Ye);case"(":return z.markEnd(yr(),Ye)}if(B===f.Keyword)switch(R.value){case"break":return z.markEnd(fo(),Ye);case"continue":return z.markEnd(jp(),Ye);case"debugger":return z.markEnd(Us(),Ye);case"do":return z.markEnd(Xo(),Ye);case"for":return z.markEnd(Cu(),Ye);case"function":return z.markEnd(_u(),Ye);case"if":return z.markEnd(Go(),Ye);case"return":return z.markEnd(Sc(),Ye);case"switch":return z.markEnd(Df(),Ye);case"throw":return z.markEnd(zs(),Ye);case"try":return z.markEnd($o(),Ye);case"var":return z.markEnd(co(),Ye);case"while":return z.markEnd(xc(),Ye);case"with":return z.markEnd(dl(),Ye)}return Y=oi(),Y.type===b.Identifier&&vt(":")?(pt(),ye="$"+Y.name,Object.prototype.hasOwnProperty.call(H.labelSet,ye)&&ot({},E.Redeclaration,"Label",Y.name),H.labelSet[ye]=!0,te=vr(),delete H.labelSet[ye],z.markEnd(z.createLabeledStatement(Y,te),Ye)):($n(),z.markEnd(z.createExpressionStatement(Y),Ye))}function ea(){var B,Y=[],te,ye,Ye,it,It,An,Ci,ta;for(ta=R,bt("{");w<P&&!(R.type!==f.StringLiteral||(te=R,B=Ir(),Y.push(B),B.expression.type!==b.Literal));)ye=M.slice(te.start+1,te.end-1),ye==="use strict"?(N=!0,Ye&&xt(Ye,E.StrictOctalLiteral)):!Ye&&te.octal&&(Ye=te);for(it=H.labelSet,It=H.inIteration,An=H.inSwitch,Ci=H.inFunctionBody,H.labelSet={},H.inIteration=!1,H.inSwitch=!1,H.inFunctionBody=!0;w<P&&!(vt("}")||(B=Ir(),typeof B>"u"));)Y.push(B);return bt("}"),H.labelSet=it,H.inIteration=It,H.inSwitch=An,H.inFunctionBody=Ci,z.markEnd(z.createBlockStatement(Y),ta)}function Hs(B){var Y,te=[],ye,Ye,it,It,An;if(bt("("),!vt(")"))for(it={};w<P&&(ye=R,Y=mi(),It="$"+ye.value,N?(ve(ye.value)&&(Ye=ye,An=E.StrictParamName),Object.prototype.hasOwnProperty.call(it,It)&&(Ye=ye,An=E.StrictParamDupe)):B||(ve(ye.value)?(B=ye,An=E.StrictParamName):le(ye.value)?(B=ye,An=E.StrictReservedWord):Object.prototype.hasOwnProperty.call(it,It)&&(B=ye,An=E.StrictParamDupe)),te.push(Y),it[It]=!0,!vt(")"));)bt(",");return bt(")"),{params:te,stricted:Ye,firstRestricted:B,message:An}}function _u(){var B,Y=[],te,ye,Ye,it,It,An,Ci,ta;return ta=R,On("function"),ye=R,B=mi(),N?ve(ye.value)&&xt(ye,E.StrictFunctionName):ve(ye.value)?(It=ye,An=E.StrictFunctionName):le(ye.value)&&(It=ye,An=E.StrictReservedWord),it=Hs(It),Y=it.params,Ye=it.stricted,It=it.firstRestricted,it.message&&(An=it.message),Ci=N,te=ea(),N&&It&&ot(It,An),N&&Ye&&xt(Ye,An),N=Ci,z.markEnd(z.createFunctionDeclaration(B,Y,[],te),ta)}function Qo(){var B,Y=null,te,ye,Ye,it,It=[],An,Ci,ta;return ta=R,On("function"),vt("(")||(B=R,Y=mi(),N?ve(B.value)&&xt(B,E.StrictFunctionName):ve(B.value)?(ye=B,Ye=E.StrictFunctionName):le(B.value)&&(ye=B,Ye=E.StrictReservedWord)),it=Hs(ye),It=it.params,te=it.stricted,ye=it.firstRestricted,it.message&&(Ye=it.message),Ci=N,An=ea(),N&&ye&&ot(ye,Ye),N&&te&&xt(te,Ye),N=Ci,z.markEnd(z.createFunctionExpression(Y,It,[],An),ta)}function Ir(){if(R.type===f.Keyword)switch(R.value){case"const":case"let":return Ji(R.value);case"function":return _u();default:return vr()}if(R.type!==f.EOF)return vr()}function ho(){for(var B,Y=[],te,ye,Ye;w<P&&(te=R,!(te.type!==f.StringLiteral||(B=Ir(),Y.push(B),B.expression.type!==b.Literal)));)ye=M.slice(te.start+1,te.end-1),ye==="use strict"?(N=!0,Ye&&xt(Ye,E.StrictOctalLiteral)):!Ye&&te.octal&&(Ye=te);for(;w<P&&(B=Ir(),!(typeof B>"u"));)Y.push(B);return Y}function Fp(){var B,Y;return ae(),Dn(),Y=R,N=!1,B=ho(),z.markEnd(z.createProgram(B),Y)}function br(){var B,Y,te,ye=[];for(B=0;B<j.tokens.length;++B)Y=j.tokens[B],te={type:Y.type,value:Y.value},j.range&&(te.range=Y.range),j.loc&&(te.loc=Y.loc),ye.push(te);j.tokens=ye}function Ac(B,Y){var te,ye,Ye;te=String,typeof B!="string"&&!(B instanceof String)&&(B=te(B)),z=O,M=B,w=0,U=M.length>0?1:0,q=0,P=M.length,R=null,H={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},j={},Y=Y||{},Y.tokens=!0,j.tokens=[],j.tokenize=!0,j.openParenToken=-1,j.openCurlyToken=-1,j.range=typeof Y.range=="boolean"&&Y.range,j.loc=typeof Y.loc=="boolean"&&Y.loc,typeof Y.comment=="boolean"&&Y.comment&&(j.comments=[]),typeof Y.tolerant=="boolean"&&Y.tolerant&&(j.errors=[]);try{if(Dn(),R.type===f.EOF)return j.tokens;for(ye=pt();R.type!==f.EOF;)try{ye=pt()}catch(it){if(ye=R,j.errors){j.errors.push(it);break}else throw it}br(),Ye=j.tokens,typeof j.comments<"u"&&(Ye.comments=j.comments),typeof j.errors<"u"&&(Ye.errors=j.errors)}catch(it){throw it}finally{j={}}return Ye}function Tc(B,Y){var te,ye;ye=String,typeof B!="string"&&!(B instanceof String)&&(B=ye(B)),z=O,M=B,w=0,U=M.length>0?1:0,q=0,P=M.length,R=null,H={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},j={},typeof Y<"u"&&(j.range=typeof Y.range=="boolean"&&Y.range,j.loc=typeof Y.loc=="boolean"&&Y.loc,j.attachComment=typeof Y.attachComment=="boolean"&&Y.attachComment,j.loc&&Y.source!==null&&Y.source!==void 0&&(j.source=ye(Y.source)),typeof Y.tokens=="boolean"&&Y.tokens&&(j.tokens=[]),typeof Y.comment=="boolean"&&Y.comment&&(j.comments=[]),typeof Y.tolerant=="boolean"&&Y.tolerant&&(j.errors=[]),j.attachComment&&(j.range=!0,j.comments=[],j.bottomRightStack=[],j.trailingComments=[],j.leadingComments=[]));try{te=Fp(),typeof j.comments<"u"&&(te.comments=j.comments),typeof j.tokens<"u"&&(br(),te.tokens=j.tokens),typeof j.errors<"u"&&(te.errors=j.errors)}catch(Ye){throw Ye}finally{j={}}return te}c.version="1.2.2",c.tokenize=Ac,c.parse=Tc,c.Syntax=function(){var B,Y={};typeof Object.create=="function"&&(Y=Object.create(null));for(B in b)b.hasOwnProperty(B)&&(Y[B]=b[B]);return typeof Object.freeze=="function"&&Object.freeze(Y),Y}()})},{}],1:[function(i,r,o){(function(c){var f=function(){var p={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(_,O,M,N,w,U,q){N.ast||(N.ast=m,m.initialize());var P=U.length-1;switch(w){case 1:return N.ast.set({expression:{type:"root",value:U[P]}}),N.ast.unshift(),N.ast.yield();case 2:return N.ast.set({expression:{type:"root",value:U[P-1]}}),N.ast.unshift(),N.ast.yield();case 3:return N.ast.unshift(),N.ast.yield();case 4:return N.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:U[P-1]}}),N.ast.unshift(),N.ast.yield();case 5:break;case 6:break;case 7:N.ast.set({operation:"member"}),N.ast.push();break;case 8:N.ast.set({operation:"subscript"}),N.ast.push();break;case 9:N.ast.set({scope:"child"});break;case 10:N.ast.set({scope:"descendant"});break;case 11:break;case 12:N.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:N.ast.set({expression:{type:"wildcard",value:U[P]}});break;case 15:N.ast.set({expression:{type:"identifier",value:U[P]}});break;case 16:N.ast.set({expression:{type:"script_expression",value:U[P]}});break;case 17:N.ast.set({expression:{type:"numeric_literal",value:parseInt(U[P])}});break;case 18:break;case 19:N.ast.set({scope:"child"});break;case 20:N.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:U[P].length>1?N.ast.set({expression:{type:"union",value:U[P]}}):this.$=U[P];break;case 25:this.$=[U[P]];break;case 26:this.$=U[P-2].concat(U[P]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(U[P])}},N.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:U[P]}},N.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:U[P]}},N.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:U[P]}},N.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:U[P]}},N.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:U[P]}},N.ast.set(this.$);break;case 33:this.$=U[P];break;case 34:this.$=U[P];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(_,O){if(O.recoverable)this.trace(_);else throw new Error(_)},parse:function(_){var O=this,M=[0],N=[null],w=[],U=this.table,q="",P=0,z=0,R=2,H=1,j=w.slice.call(arguments,1);this.lexer.setInput(_),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var K=this.lexer.yylloc;w.push(K);var W=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ge(){var Ee;return Ee=O.lexer.lex()||H,typeof Ee!="number"&&(Ee=O.symbols_[Ee]||Ee),Ee}for(var ce,be,Oe,Ae,Fe={},ee,le,ve,Qe;;){if(be=M[M.length-1],this.defaultActions[be]?Oe=this.defaultActions[be]:((ce===null||typeof ce>"u")&&(ce=ge()),Oe=U[be]&&U[be][ce]),typeof Oe>"u"||!Oe.length||!Oe[0]){var ne="";Qe=[];for(ee in U[be])this.terminals_[ee]&&ee>R&&Qe.push("'"+this.terminals_[ee]+"'");this.lexer.showPosition?ne="Parse error on line "+(P+1)+`:
|
|
79
|
+
`+this.lexer.showPosition()+`
|
|
80
|
+
Expecting `+Qe.join(", ")+", got '"+(this.terminals_[ce]||ce)+"'":ne="Parse error on line "+(P+1)+": Unexpected "+(ce==H?"end of input":"'"+(this.terminals_[ce]||ce)+"'"),this.parseError(ne,{text:this.lexer.match,token:this.terminals_[ce]||ce,line:this.lexer.yylineno,loc:K,expected:Qe})}if(Oe[0]instanceof Array&&Oe.length>1)throw new Error("Parse Error: multiple actions possible at state: "+be+", token: "+ce);switch(Oe[0]){case 1:M.push(ce),N.push(this.lexer.yytext),w.push(this.lexer.yylloc),M.push(Oe[1]),ce=null,z=this.lexer.yyleng,q=this.lexer.yytext,P=this.lexer.yylineno,K=this.lexer.yylloc;break;case 2:if(le=this.productions_[Oe[1]][1],Fe.$=N[N.length-le],Fe._$={first_line:w[w.length-(le||1)].first_line,last_line:w[w.length-1].last_line,first_column:w[w.length-(le||1)].first_column,last_column:w[w.length-1].last_column},W&&(Fe._$.range=[w[w.length-(le||1)].range[0],w[w.length-1].range[1]]),Ae=this.performAction.apply(Fe,[q,z,P,this.yy,Oe[1],N,w].concat(j)),typeof Ae<"u")return Ae;le&&(M=M.slice(0,-1*le*2),N=N.slice(0,-1*le),w=w.slice(0,-1*le)),M.push(this.productions_[Oe[1]][0]),N.push(Fe.$),w.push(Fe._$),ve=U[M[M.length-2]][M[M.length-1]],M.push(ve);break;case 3:return!0}}return!0}},m={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(E){for(var _ in E)this._node[_]=E[_];return this._node},node:function(E){return arguments.length&&(this._node=E),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var E=this._nodes;return this.initialize(),E}},b=function(){var E={EOF:1,parseError:function(O,M){if(this.yy.parser)this.yy.parser.parseError(O,M);else throw new Error(O)},setInput:function(_){return this._input=_,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var _=this._input[0];this.yytext+=_,this.yyleng++,this.offset++,this.match+=_,this.matched+=_;var O=_.match(/(?:\r\n?|\n).*/g);return O?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),_},unput:function(_){var O=_.length,M=_.split(/(?:\r\n?|\n)/g);this._input=_+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-O-1),this.offset-=O;var N=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),M.length-1&&(this.yylineno-=M.length-1);var w=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:M?(M.length===N.length?this.yylloc.first_column:0)+N[N.length-M.length].length-M[0].length:this.yylloc.first_column-O},this.options.ranges&&(this.yylloc.range=[w[0],w[0]+this.yyleng-O]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
81
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(_){this.unput(this.match.slice(_))},pastInput:function(){var _=this.matched.substr(0,this.matched.length-this.match.length);return(_.length>20?"...":"")+_.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var _=this.match;return _.length<20&&(_+=this._input.substr(0,20-_.length)),(_.substr(0,20)+(_.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var _=this.pastInput(),O=new Array(_.length+1).join("-");return _+this.upcomingInput()+`
|
|
82
|
+
`+O+"^"},test_match:function(_,O){var M,N,w;if(this.options.backtrack_lexer&&(w={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(w.yylloc.range=this.yylloc.range.slice(0))),N=_[0].match(/(?:\r\n?|\n).*/g),N&&(this.yylineno+=N.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:N?N[N.length-1].length-N[N.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+_[0].length},this.yytext+=_[0],this.match+=_[0],this.matches=_,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(_[0].length),this.matched+=_[0],M=this.performAction.call(this,this.yy,this,O,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),M)return M;if(this._backtrack){for(var U in w)this[U]=w[U];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var _,O,M,N;this._more||(this.yytext="",this.match="");for(var w=this._currentRules(),U=0;U<w.length;U++)if(M=this._input.match(this.rules[w[U]]),M&&(!O||M[0].length>O[0].length)){if(O=M,N=U,this.options.backtrack_lexer){if(_=this.test_match(M,w[U]),_!==!1)return _;if(this._backtrack){O=!1;continue}else return!1}else if(!this.options.flex)break}return O?(_=this.test_match(O,w[N]),_!==!1?_:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
83
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var O=this.next();return O||this.lex()},begin:function(O){this.conditionStack.push(O)},popState:function(){var O=this.conditionStack.length-1;return O>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(O){return O=this.conditionStack.length-1-Math.abs(O||0),O>=0?this.conditionStack[O]:"INITIAL"},pushState:function(O){this.begin(O)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(O,M,N,w){switch(N){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return M.yytext=M.yytext.substr(1,M.yyleng-2),32;case 11:return M.yytext=M.yytext.substr(1,M.yyleng-2),33;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return E}();p.lexer=b;function S(){this.yy={}}return S.prototype=p,p.Parser=S,new S}();typeof i<"u"&&typeof o<"u"&&(o.parser=f,o.Parser=f.Parser,o.parse=function(){return f.parse.apply(f,arguments)},o.main=function(m){m[1]||(console.log("Usage: "+m[0]+" FILE"),c.exit(1));var b=i("fs").readFileSync(i("path").normalize(m[1]),"utf8");return o.parser.parse(b)},typeof r<"u"&&i.main===r&&o.main(c.argv.slice(1)))}).call(this,i("_process"))},{_process:14,fs:12,path:13}],2:[function(i,r,o){r.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(i,r,o){var c=i("./dict"),f=i("fs"),p={lex:{macros:{esc:"\\\\",int:c.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[c.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[c.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[c.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};f.readFileSync&&(p.moduleInclude=f.readFileSync(i.resolve("../include/module.js")),p.actionInclude=f.readFileSync(i.resolve("../include/action.js"))),r.exports=p},{"./dict":2,fs:12}],4:[function(i,r,o){var c=i("./aesprim"),f=i("./slice"),p=i("static-eval"),m=i("underscore").uniq,b=function(){return this.initialize.apply(this,arguments)};b.prototype.initialize=function(){this.traverse=O(!0),this.descend=O()},b.prototype.keys=Object.keys,b.prototype.resolve=function(P){var z=[P.operation,P.scope,P.expression.type].join("-"),R=this._fns[z];if(!R)throw new Error("couldn't resolve key: "+z);return R.bind(this)},b.prototype.register=function(P,z){if(!z instanceof Function)throw new Error("handler must be a function");this._fns[P]=z},b.prototype._fns={"member-child-identifier":function(P,z){var R=P.expression.value,H=z.value;if(H instanceof Object&&R in H)return[{value:H[R],path:z.path.concat(R)}]},"member-descendant-identifier":N(function(P,z,R){return P==R}),"subscript-child-numeric_literal":M(function(P,z,R){return P===R}),"member-child-numeric_literal":M(function(P,z,R){return String(P)===String(R)}),"subscript-descendant-numeric_literal":N(function(P,z,R){return P===R}),"member-child-wildcard":M(function(){return!0}),"member-descendant-wildcard":N(function(){return!0}),"subscript-descendant-wildcard":N(function(){return!0}),"subscript-child-wildcard":M(function(){return!0}),"subscript-child-slice":function(P,z){if(E(z.value)){var R=P.expression.value.split(":").map(q),H=z.value.map(function(j,K){return{value:j,path:z.path.concat(K)}});return f.apply(null,[H].concat(R))}},"subscript-child-union":function(P,z){var R=[];return P.expression.value.forEach(function(H){var j={operation:"subscript",scope:"child",expression:H.expression},K=this.resolve(j),W=K(j,z);W&&(R=R.concat(W))},this),U(R)},"subscript-descendant-union":function(P,z,R){var H=i(".."),j=this,K=[],W=H.nodes(z,"$..*").slice(1);return W.forEach(function(ge){K.length>=R||P.expression.value.forEach(function(ce){var be={operation:"subscript",scope:"child",expression:ce.expression},Oe=j.resolve(be),Ae=Oe(be,ge);K=K.concat(Ae)})}),U(K)},"subscript-child-filter_expression":function(P,z,R){var H=P.expression.value.slice(2,-1),j=c.parse(H).body[0].expression,K=function(W,ge){return w(j,{"@":ge})};return this.descend(z,null,K,R)},"subscript-descendant-filter_expression":function(P,z,R){var H=P.expression.value.slice(2,-1),j=c.parse(H).body[0].expression,K=function(W,ge){return w(j,{"@":ge})};return this.traverse(z,null,K,R)},"subscript-child-script_expression":function(P,z){var R=P.expression.value.slice(1,-1);return S(z,R,"$[{{value}}]")},"member-child-script_expression":function(P,z){var R=P.expression.value.slice(1,-1);return S(z,R,"$.{{value}}")},"member-descendant-script_expression":function(P,z){var R=P.expression.value.slice(1,-1);return S(z,R,"$..value")}},b.prototype._fns["subscript-child-string_literal"]=b.prototype._fns["member-child-identifier"],b.prototype._fns["member-descendant-numeric_literal"]=b.prototype._fns["subscript-descendant-string_literal"]=b.prototype._fns["member-descendant-identifier"];function S(P,z,R){var H=i("./index"),j=c.parse(z).body[0].expression,K=w(j,{"@":P.value}),W=R.replace(/\{\{\s*value\s*\}\}/g,K),ge=H.nodes(P.value,W);return ge.forEach(function(ce){ce.path=P.path.concat(ce.path.slice(1))}),ge}function E(P){return Array.isArray(P)}function _(P){return P&&!(P instanceof Array)&&P instanceof Object}function O(P){return function(z,R,H,j){var K=z.value,W=z.path,ge=[],ce=(function(be,Oe){E(be)?(be.forEach(function(Ae,Fe){ge.length>=j||H(Fe,Ae,R)&&ge.push({path:Oe.concat(Fe),value:Ae})}),be.forEach(function(Ae,Fe){ge.length>=j||P&&ce(Ae,Oe.concat(Fe))})):_(be)&&(this.keys(be).forEach(function(Ae){ge.length>=j||H(Ae,be[Ae],R)&&ge.push({path:Oe.concat(Ae),value:be[Ae]})}),this.keys(be).forEach(function(Ae){ge.length>=j||P&&ce(be[Ae],Oe.concat(Ae))}))}).bind(this);return ce(K,W),ge}}function M(P){return function(z,R,H){return this.descend(R,z.expression.value,P,H)}}function N(P){return function(z,R,H){return this.traverse(R,z.expression.value,P,H)}}function w(){try{return p.apply(this,arguments)}catch{}}function U(P){return P=P.filter(function(z){return z}),m(P,function(z){return z.path.map(function(R){return String(R).replace("-","--")}).join("-")})}function q(P){var z=String(P);return z.match(/^-?[0-9]+$/)?parseInt(z):null}r.exports=b},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(i,r,o){var c=i("assert"),f=i("./dict"),p=i("./parser"),m=i("./handlers"),b=function(){this.initialize.apply(this,arguments)};b.prototype.initialize=function(){this.parser=new p,this.handlers=new m},b.prototype.parse=function(_){return c.ok(S(_),"we need a path"),this.parser.parse(_)},b.prototype.parent=function(_,O){c.ok(_ instanceof Object,"obj needs to be an object"),c.ok(O,"we need a path");var M=this.nodes(_,O)[0];return M.path.pop(),this.value(_,M.path)},b.prototype.apply=function(_,O,M){c.ok(_ instanceof Object,"obj needs to be an object"),c.ok(O,"we need a path"),c.equal(typeof M,"function","fn needs to be function");var N=this.nodes(_,O).sort(function(w,U){return U.path.length-w.path.length});return N.forEach(function(w){var U=w.path.pop(),q=this.value(_,this.stringify(w.path)),P=w.value=M.call(_,q[U]);q[U]=P},this),N},b.prototype.value=function(_,O,M){if(c.ok(_ instanceof Object,"obj needs to be an object"),c.ok(O,"we need a path"),arguments.length>=3){var N=this.nodes(_,O).shift();if(!N)return this._vivify(_,O,M);var w=N.path.slice(-1).shift(),U=this.parent(_,this.stringify(N.path));U[w]=M}return this.query(_,this.stringify(O),1).shift()},b.prototype._vivify=function(_,O,M){var N=this;c.ok(_ instanceof Object,"obj needs to be an object"),c.ok(O,"we need a path");var w=this.parser.parse(O).map(function(q){return q.expression.value}),U=function(q,P){var z=q.pop(),R=N.value(_,q);R||(U(q.concat(),typeof z=="string"?{}:[]),R=N.value(_,q)),R[z]=P};return U(w,M),this.query(_,O)[0]},b.prototype.query=function(_,O,M){c.ok(_ instanceof Object,"obj needs to be an object"),c.ok(S(O),"we need a path");var N=this.nodes(_,O,M).map(function(w){return w.value});return N},b.prototype.paths=function(_,O,M){c.ok(_ instanceof Object,"obj needs to be an object"),c.ok(O,"we need a path");var N=this.nodes(_,O,M).map(function(w){return w.path});return N},b.prototype.nodes=function(_,O,M){if(c.ok(_ instanceof Object,"obj needs to be an object"),c.ok(O,"we need a path"),M===0)return[];var N=this.parser.parse(O),w=this.handlers,U=[{path:["$"],value:_}],q=[];return N.length&&N[0].expression.type=="root"&&N.shift(),N.length?(N.forEach(function(P,z){if(!(q.length>=M)){var R=w.resolve(P),H=[];U.forEach(function(j){if(!(q.length>=M)){var K=R(P,j,M);z==N.length-1?q=q.concat(K||[]):H=H.concat(K||[])}}),U=H}}),M?q.slice(0,M):q):U},b.prototype.stringify=function(_){c.ok(_,"we need a path");var O="$",M={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return _=this._normalize(_),_.forEach(function(N){if(N.expression.type!="root"){var w=[N.scope,N.operation].join("-"),U=M[w],q;if(N.expression.type=="string_literal"?q=JSON.stringify(N.expression.value):q=N.expression.value,!U)throw new Error("couldn't find template "+w);O+=U.replace(/{{value}}/,q)}}),O},b.prototype._normalize=function(_){if(c.ok(_,"we need a path"),typeof _=="string")return this.parser.parse(_);if(Array.isArray(_)&&typeof _[0]=="string"){var O=[{expression:{type:"root",value:"$"}}];return _.forEach(function(M,N){if(!(M=="$"&&N===0))if(typeof M=="string"&&M.match("^"+f.identifier+"$"))O.push({operation:"member",scope:"child",expression:{value:M,type:"identifier"}});else{var w=typeof M=="number"?"numeric_literal":"string_literal";O.push({operation:"subscript",scope:"child",expression:{value:M,type:w}})}}),O}else if(Array.isArray(_)&&typeof _[0]=="object")return _;throw new Error("couldn't understand path "+_)};function S(_){return Object.prototype.toString.call(_)=="[object String]"}b.Handlers=m,b.Parser=p;var E=new b;E.JSONPath=b,r.exports=E},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(i,r,o){var c=i("./grammar"),f=i("../generated/parser"),p=function(){var m=new f.Parser,b=m.parseError;return m.yy.parseError=function(){m.yy.ast&&m.yy.ast.initialize(),b.apply(m,arguments)},m};p.grammar=c,r.exports=p},{"../generated/parser":1,"./grammar":3}],7:[function(i,r,o){r.exports=function(f,p,m,b){if(typeof p=="string")throw new Error("start cannot be a string");if(typeof m=="string")throw new Error("end cannot be a string");if(typeof b=="string")throw new Error("step cannot be a string");var S=f.length;if(b===0)throw new Error("step cannot be zero");if(b=b?c(b):1,p=p<0?S+p:p,m=m<0?S+m:m,p=c(p===0?0:p||(b>0?0:S-1)),m=c(m===0?0:m||(b>0?S:-1)),p=b>0?Math.max(0,p):Math.min(S,p),m=b>0?Math.min(m,S):Math.max(-1,m),b>0&&m<=p)return[];if(b<0&&p<=m)return[];for(var E=[],_=p;_!=m&&!(b<0&&_<=m||b>0&&_>=m);_+=b)E.push(f[_]);return E};function c(f){return String(f).match(/^[0-9]+$/)?parseInt(f):Number.isFinite(f)?parseInt(f,10):0}},{}],8:[function(i,r,o){var c=i("util/"),f=Array.prototype.slice,p=Object.prototype.hasOwnProperty,m=r.exports=O;m.AssertionError=function(R){this.name="AssertionError",this.actual=R.actual,this.expected=R.expected,this.operator=R.operator,R.message?(this.message=R.message,this.generatedMessage=!1):(this.message=E(this),this.generatedMessage=!0);var H=R.stackStartFunction||_;if(Error.captureStackTrace)Error.captureStackTrace(this,H);else{var j=new Error;if(j.stack){var K=j.stack,W=H.name,ge=K.indexOf(`
|
|
84
|
+
`+W);if(ge>=0){var ce=K.indexOf(`
|
|
85
|
+
`,ge+1);K=K.substring(ce+1)}this.stack=K}}},c.inherits(m.AssertionError,Error);function b(z,R){return c.isUndefined(R)?""+R:c.isNumber(R)&&!isFinite(R)||c.isFunction(R)||c.isRegExp(R)?R.toString():R}function S(z,R){return c.isString(z)?z.length<R?z:z.slice(0,R):z}function E(z){return S(JSON.stringify(z.actual,b),128)+" "+z.operator+" "+S(JSON.stringify(z.expected,b),128)}function _(z,R,H,j,K){throw new m.AssertionError({message:H,actual:z,expected:R,operator:j,stackStartFunction:K})}m.fail=_;function O(z,R){z||_(z,!0,R,"==",m.ok)}m.ok=O,m.equal=function(R,H,j){R!=H&&_(R,H,j,"==",m.equal)},m.notEqual=function(R,H,j){R==H&&_(R,H,j,"!=",m.notEqual)},m.deepEqual=function(R,H,j){M(R,H)||_(R,H,j,"deepEqual",m.deepEqual)};function M(z,R){if(z===R)return!0;if(c.isBuffer(z)&&c.isBuffer(R)){if(z.length!=R.length)return!1;for(var H=0;H<z.length;H++)if(z[H]!==R[H])return!1;return!0}else return c.isDate(z)&&c.isDate(R)?z.getTime()===R.getTime():c.isRegExp(z)&&c.isRegExp(R)?z.source===R.source&&z.global===R.global&&z.multiline===R.multiline&&z.lastIndex===R.lastIndex&&z.ignoreCase===R.ignoreCase:!c.isObject(z)&&!c.isObject(R)?z==R:w(z,R)}function N(z){return Object.prototype.toString.call(z)=="[object Arguments]"}function w(z,R){if(c.isNullOrUndefined(z)||c.isNullOrUndefined(R)||z.prototype!==R.prototype)return!1;if(c.isPrimitive(z)||c.isPrimitive(R))return z===R;var H=N(z),j=N(R);if(H&&!j||!H&&j)return!1;if(H)return z=f.call(z),R=f.call(R),M(z,R);var K=P(z),W=P(R),ge,ce;if(K.length!=W.length)return!1;for(K.sort(),W.sort(),ce=K.length-1;ce>=0;ce--)if(K[ce]!=W[ce])return!1;for(ce=K.length-1;ce>=0;ce--)if(ge=K[ce],!M(z[ge],R[ge]))return!1;return!0}m.notDeepEqual=function(R,H,j){M(R,H)&&_(R,H,j,"notDeepEqual",m.notDeepEqual)},m.strictEqual=function(R,H,j){R!==H&&_(R,H,j,"===",m.strictEqual)},m.notStrictEqual=function(R,H,j){R===H&&_(R,H,j,"!==",m.notStrictEqual)};function U(z,R){return!z||!R?!1:Object.prototype.toString.call(R)=="[object RegExp]"?R.test(z):z instanceof R?!0:R.call({},z)===!0}function q(z,R,H,j){var K;c.isString(H)&&(j=H,H=null);try{R()}catch(W){K=W}if(j=(H&&H.name?" ("+H.name+").":".")+(j?" "+j:"."),z&&!K&&_(K,H,"Missing expected exception"+j),!z&&U(K,H)&&_(K,H,"Got unwanted exception"+j),z&&K&&H&&!U(K,H)||!z&&K)throw K}m.throws=function(z,R,H){q.apply(this,[!0].concat(f.call(arguments)))},m.doesNotThrow=function(z,R){q.apply(this,[!1].concat(f.call(arguments)))},m.ifError=function(z){if(z)throw z};var P=Object.keys||function(z){var R=[];for(var H in z)p.call(z,H)&&R.push(H);return R}},{"util/":11}],9:[function(i,r,o){typeof Object.create=="function"?r.exports=function(f,p){f.super_=p,f.prototype=Object.create(p.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}})}:r.exports=function(f,p){f.super_=p;var m=function(){};m.prototype=p.prototype,f.prototype=new m,f.prototype.constructor=f}},{}],10:[function(i,r,o){r.exports=function(f){return f&&typeof f=="object"&&typeof f.copy=="function"&&typeof f.fill=="function"&&typeof f.readUInt8=="function"}},{}],11:[function(i,r,o){(function(c,f){var p=/%[sdj%]/g;o.format=function(ae){if(!W(ae)){for(var de=[],we=0;we<arguments.length;we++)de.push(S(arguments[we]));return de.join(" ")}for(var we=1,Ue=arguments,at=Ue.length,Ke=String(ae).replace(p,function(De){if(De==="%%")return"%";if(we>=at)return De;switch(De){case"%s":return String(Ue[we++]);case"%d":return Number(Ue[we++]);case"%j":try{return JSON.stringify(Ue[we++])}catch{return"[Circular]"}default:return De}}),Le=Ue[we];we<at;Le=Ue[++we])H(Le)||!Oe(Le)?Ke+=" "+Le:Ke+=" "+S(Le);return Ke},o.deprecate=function(ae,de){if(ce(f.process))return function(){return o.deprecate(ae,de).apply(this,arguments)};if(c.noDeprecation===!0)return ae;var we=!1;function Ue(){if(!we){if(c.throwDeprecation)throw new Error(de);c.traceDeprecation?console.trace(de):console.error(de),we=!0}return ae.apply(this,arguments)}return Ue};var m={},b;o.debuglog=function(ae){if(ce(b)&&(b=c.env.NODE_DEBUG||""),ae=ae.toUpperCase(),!m[ae])if(new RegExp("\\b"+ae+"\\b","i").test(b)){var de=c.pid;m[ae]=function(){var we=o.format.apply(o,arguments);console.error("%s %d: %s",ae,de,we)}}else m[ae]=function(){};return m[ae]};function S(ae,de){var we={seen:[],stylize:_};return arguments.length>=3&&(we.depth=arguments[2]),arguments.length>=4&&(we.colors=arguments[3]),R(de)?we.showHidden=de:de&&o._extend(we,de),ce(we.showHidden)&&(we.showHidden=!1),ce(we.depth)&&(we.depth=2),ce(we.colors)&&(we.colors=!1),ce(we.customInspect)&&(we.customInspect=!0),we.colors&&(we.stylize=E),M(we,ae,we.depth)}o.inspect=S,S.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},S.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function E(ae,de){var we=S.styles[de];return we?"\x1B["+S.colors[we][0]+"m"+ae+"\x1B["+S.colors[we][1]+"m":ae}function _(ae,de){return ae}function O(ae){var de={};return ae.forEach(function(we,Ue){de[we]=!0}),de}function M(ae,de,we){if(ae.customInspect&&de&&ee(de.inspect)&&de.inspect!==o.inspect&&!(de.constructor&&de.constructor.prototype===de)){var Ue=de.inspect(we,ae);return W(Ue)||(Ue=M(ae,Ue,we)),Ue}var at=N(ae,de);if(at)return at;var Ke=Object.keys(de),Le=O(Ke);if(ae.showHidden&&(Ke=Object.getOwnPropertyNames(de)),Fe(de)&&(Ke.indexOf("message")>=0||Ke.indexOf("description")>=0))return w(de);if(Ke.length===0){if(ee(de)){var De=de.name?": "+de.name:"";return ae.stylize("[Function"+De+"]","special")}if(be(de))return ae.stylize(RegExp.prototype.toString.call(de),"regexp");if(Ae(de))return ae.stylize(Date.prototype.toString.call(de),"date");if(Fe(de))return w(de)}var nt="",Ie=!1,Ct=["{","}"];if(z(de)&&(Ie=!0,Ct=["[","]"]),ee(de)){var Rt=de.name?": "+de.name:"";nt=" [Function"+Rt+"]"}if(be(de)&&(nt=" "+RegExp.prototype.toString.call(de)),Ae(de)&&(nt=" "+Date.prototype.toUTCString.call(de)),Fe(de)&&(nt=" "+w(de)),Ke.length===0&&(!Ie||de.length==0))return Ct[0]+nt+Ct[1];if(we<0)return be(de)?ae.stylize(RegExp.prototype.toString.call(de),"regexp"):ae.stylize("[Object]","special");ae.seen.push(de);var Et;return Ie?Et=U(ae,de,we,Le,Ke):Et=Ke.map(function(un){return q(ae,de,we,Le,un,Ie)}),ae.seen.pop(),P(Et,nt,Ct)}function N(ae,de){if(ce(de))return ae.stylize("undefined","undefined");if(W(de)){var we="'"+JSON.stringify(de).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return ae.stylize(we,"string")}if(K(de))return ae.stylize(""+de,"number");if(R(de))return ae.stylize(""+de,"boolean");if(H(de))return ae.stylize("null","null")}function w(ae){return"["+Error.prototype.toString.call(ae)+"]"}function U(ae,de,we,Ue,at){for(var Ke=[],Le=0,De=de.length;Le<De;++Le)Re(de,String(Le))?Ke.push(q(ae,de,we,Ue,String(Le),!0)):Ke.push("");return at.forEach(function(nt){nt.match(/^\d+$/)||Ke.push(q(ae,de,we,Ue,nt,!0))}),Ke}function q(ae,de,we,Ue,at,Ke){var Le,De,nt;if(nt=Object.getOwnPropertyDescriptor(de,at)||{value:de[at]},nt.get?nt.set?De=ae.stylize("[Getter/Setter]","special"):De=ae.stylize("[Getter]","special"):nt.set&&(De=ae.stylize("[Setter]","special")),Re(Ue,at)||(Le="["+at+"]"),De||(ae.seen.indexOf(nt.value)<0?(H(we)?De=M(ae,nt.value,null):De=M(ae,nt.value,we-1),De.indexOf(`
|
|
86
|
+
`)>-1&&(Ke?De=De.split(`
|
|
87
|
+
`).map(function(Ie){return" "+Ie}).join(`
|
|
88
|
+
`).substr(2):De=`
|
|
89
|
+
`+De.split(`
|
|
90
|
+
`).map(function(Ie){return" "+Ie}).join(`
|
|
91
|
+
`))):De=ae.stylize("[Circular]","special")),ce(Le)){if(Ke&&at.match(/^\d+$/))return De;Le=JSON.stringify(""+at),Le.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Le=Le.substr(1,Le.length-2),Le=ae.stylize(Le,"name")):(Le=Le.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Le=ae.stylize(Le,"string"))}return Le+": "+De}function P(ae,de,we){var Ue=ae.reduce(function(at,Ke){return Ke.indexOf(`
|
|
92
|
+
`)>=0,at+Ke.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Ue>60?we[0]+(de===""?"":de+`
|
|
93
|
+
`)+" "+ae.join(`,
|
|
94
|
+
`)+" "+we[1]:we[0]+de+" "+ae.join(", ")+" "+we[1]}function z(ae){return Array.isArray(ae)}o.isArray=z;function R(ae){return typeof ae=="boolean"}o.isBoolean=R;function H(ae){return ae===null}o.isNull=H;function j(ae){return ae==null}o.isNullOrUndefined=j;function K(ae){return typeof ae=="number"}o.isNumber=K;function W(ae){return typeof ae=="string"}o.isString=W;function ge(ae){return typeof ae=="symbol"}o.isSymbol=ge;function ce(ae){return ae===void 0}o.isUndefined=ce;function be(ae){return Oe(ae)&&ve(ae)==="[object RegExp]"}o.isRegExp=be;function Oe(ae){return typeof ae=="object"&&ae!==null}o.isObject=Oe;function Ae(ae){return Oe(ae)&&ve(ae)==="[object Date]"}o.isDate=Ae;function Fe(ae){return Oe(ae)&&(ve(ae)==="[object Error]"||ae instanceof Error)}o.isError=Fe;function ee(ae){return typeof ae=="function"}o.isFunction=ee;function le(ae){return ae===null||typeof ae=="boolean"||typeof ae=="number"||typeof ae=="string"||typeof ae=="symbol"||typeof ae>"u"}o.isPrimitive=le,o.isBuffer=i("./support/isBuffer");function ve(ae){return Object.prototype.toString.call(ae)}function Qe(ae){return ae<10?"0"+ae.toString(10):ae.toString(10)}var ne=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Ee(){var ae=new Date,de=[Qe(ae.getHours()),Qe(ae.getMinutes()),Qe(ae.getSeconds())].join(":");return[ae.getDate(),ne[ae.getMonth()],de].join(" ")}o.log=function(){console.log("%s - %s",Ee(),o.format.apply(o,arguments))},o.inherits=i("inherits"),o._extend=function(ae,de){if(!de||!Oe(de))return ae;for(var we=Object.keys(de),Ue=we.length;Ue--;)ae[we[Ue]]=de[we[Ue]];return ae};function Re(ae,de){return Object.prototype.hasOwnProperty.call(ae,de)}}).call(this,i("_process"),typeof Ly<"u"?Ly:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(i,r,o){},{}],13:[function(i,r,o){(function(c){function f(S,E){for(var _=0,O=S.length-1;O>=0;O--){var M=S[O];M==="."?S.splice(O,1):M===".."?(S.splice(O,1),_++):_&&(S.splice(O,1),_--)}if(E)for(;_--;_)S.unshift("..");return S}o.resolve=function(){for(var S="",E=!1,_=arguments.length-1;_>=-1&&!E;_--){var O=_>=0?arguments[_]:c.cwd();if(typeof O!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!O)continue;S=O+"/"+S,E=O.charAt(0)==="/"}return S=f(m(S.split("/"),function(M){return!!M}),!E).join("/"),(E?"/":"")+S||"."},o.normalize=function(S){var E=o.isAbsolute(S),_=b(S,-1)==="/";return S=f(m(S.split("/"),function(O){return!!O}),!E).join("/"),!S&&!E&&(S="."),S&&_&&(S+="/"),(E?"/":"")+S},o.isAbsolute=function(S){return S.charAt(0)==="/"},o.join=function(){var S=Array.prototype.slice.call(arguments,0);return o.normalize(m(S,function(E,_){if(typeof E!="string")throw new TypeError("Arguments to path.join must be strings");return E}).join("/"))},o.relative=function(S,E){S=o.resolve(S).substr(1),E=o.resolve(E).substr(1);function _(P){for(var z=0;z<P.length&&P[z]==="";z++);for(var R=P.length-1;R>=0&&P[R]==="";R--);return z>R?[]:P.slice(z,R-z+1)}for(var O=_(S.split("/")),M=_(E.split("/")),N=Math.min(O.length,M.length),w=N,U=0;U<N;U++)if(O[U]!==M[U]){w=U;break}for(var q=[],U=w;U<O.length;U++)q.push("..");return q=q.concat(M.slice(w)),q.join("/")},o.sep="/",o.delimiter=":",o.dirname=function(S){if(typeof S!="string"&&(S=S+""),S.length===0)return".";for(var E=S.charCodeAt(0),_=E===47,O=-1,M=!0,N=S.length-1;N>=1;--N)if(E=S.charCodeAt(N),E===47){if(!M){O=N;break}}else M=!1;return O===-1?_?"/":".":_&&O===1?"/":S.slice(0,O)};function p(S){typeof S!="string"&&(S=S+"");var E=0,_=-1,O=!0,M;for(M=S.length-1;M>=0;--M)if(S.charCodeAt(M)===47){if(!O){E=M+1;break}}else _===-1&&(O=!1,_=M+1);return _===-1?"":S.slice(E,_)}o.basename=function(S,E){var _=p(S);return E&&_.substr(-1*E.length)===E&&(_=_.substr(0,_.length-E.length)),_},o.extname=function(S){typeof S!="string"&&(S=S+"");for(var E=-1,_=0,O=-1,M=!0,N=0,w=S.length-1;w>=0;--w){var U=S.charCodeAt(w);if(U===47){if(!M){_=w+1;break}continue}O===-1&&(M=!1,O=w+1),U===46?E===-1?E=w:N!==1&&(N=1):E!==-1&&(N=-1)}return E===-1||O===-1||N===0||N===1&&E===O-1&&E===_+1?"":S.slice(E,O)};function m(S,E){if(S.filter)return S.filter(E);for(var _=[],O=0;O<S.length;O++)E(S[O],O,S)&&_.push(S[O]);return _}var b="ab".substr(-1)==="b"?function(S,E,_){return S.substr(E,_)}:function(S,E,_){return E<0&&(E=S.length+E),S.substr(E,_)}}).call(this,i("_process"))},{_process:14}],14:[function(i,r,o){var c=r.exports={},f,p;function m(){throw new Error("setTimeout has not been defined")}function b(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?f=setTimeout:f=m}catch{f=m}try{typeof clearTimeout=="function"?p=clearTimeout:p=b}catch{p=b}})();function S(z){if(f===setTimeout)return setTimeout(z,0);if((f===m||!f)&&setTimeout)return f=setTimeout,setTimeout(z,0);try{return f(z,0)}catch{try{return f.call(null,z,0)}catch{return f.call(this,z,0)}}}function E(z){if(p===clearTimeout)return clearTimeout(z);if((p===b||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(z);try{return p(z)}catch{try{return p.call(null,z)}catch{return p.call(this,z)}}}var _=[],O=!1,M,N=-1;function w(){!O||!M||(O=!1,M.length?_=M.concat(_):N=-1,_.length&&U())}function U(){if(!O){var z=S(w);O=!0;for(var R=_.length;R;){for(M=_,_=[];++N<R;)M&&M[N].run();N=-1,R=_.length}M=null,O=!1,E(z)}}c.nextTick=function(z){var R=new Array(arguments.length-1);if(arguments.length>1)for(var H=1;H<arguments.length;H++)R[H-1]=arguments[H];_.push(new q(z,R)),_.length===1&&!O&&S(U)};function q(z,R){this.fun=z,this.array=R}q.prototype.run=function(){this.fun.apply(null,this.array)},c.title="browser",c.browser=!0,c.env={},c.argv=[],c.version="",c.versions={};function P(){}c.on=P,c.addListener=P,c.once=P,c.off=P,c.removeListener=P,c.removeAllListeners=P,c.emit=P,c.prependListener=P,c.prependOnceListener=P,c.listeners=function(z){return[]},c.binding=function(z){throw new Error("process.binding is not supported")},c.cwd=function(){return"/"},c.chdir=function(z){throw new Error("process.chdir is not supported")},c.umask=function(){return 0}},{}],15:[function(i,r,o){var c=i("escodegen").generate;r.exports=function(f,p){p||(p={});var m={},b=function S(E,_){if(E.type==="Literal")return E.value;if(E.type==="UnaryExpression"){var O=S(E.argument);return E.operator==="+"?+O:E.operator==="-"?-O:E.operator==="~"?~O:E.operator==="!"?!O:m}else if(E.type==="ArrayExpression"){for(var M=[],N=0,w=E.elements.length;N<w;N++){var U=S(E.elements[N]);if(U===m)return m;M.push(U)}return M}else if(E.type==="ObjectExpression"){for(var q={},N=0;N<E.properties.length;N++){var P=E.properties[N],z=P.value===null?P.value:S(P.value);if(z===m)return m;q[P.key.value||P.key.name]=z}return q}else if(E.type==="BinaryExpression"||E.type==="LogicalExpression"){var w=S(E.left);if(w===m)return m;var R=S(E.right);if(R===m)return m;var H=E.operator;return H==="=="?w==R:H==="==="?w===R:H==="!="?w!=R:H==="!=="?w!==R:H==="+"?w+R:H==="-"?w-R:H==="*"?w*R:H==="/"?w/R:H==="%"?w%R:H==="<"?w<R:H==="<="?w<=R:H===">"?w>R:H===">="?w>=R:H==="|"?w|R:H==="&"?w&R:H==="^"?w^R:H==="&&"?w&&R:H==="||"?w||R:m}else{if(E.type==="Identifier")return{}.hasOwnProperty.call(p,E.name)?p[E.name]:m;if(E.type==="ThisExpression")return{}.hasOwnProperty.call(p,"this")?p.this:m;if(E.type==="CallExpression"){var j=S(E.callee);if(j===m||typeof j!="function")return m;var K=E.callee.object?S(E.callee.object):m;K===m&&(K=null);for(var W=[],N=0,w=E.arguments.length;N<w;N++){var U=S(E.arguments[N]);if(U===m)return m;W.push(U)}return j.apply(K,W)}else if(E.type==="MemberExpression"){var q=S(E.object);if(q===m||typeof q=="function")return m;if(E.property.type==="Identifier")return q[E.property.name];var P=S(E.property);return P===m?m:q[P]}else if(E.type==="ConditionalExpression"){var O=S(E.test);return O===m?m:S(O?E.consequent:E.alternate)}else if(E.type==="ExpressionStatement"){var O=S(E.expression);return O===m?m:O}else{if(E.type==="ReturnStatement")return S(E.argument);if(E.type==="FunctionExpression"){var ge=E.body.body,ce={};Object.keys(p).forEach(function(ne){ce[ne]=p[ne]});for(var N=0;N<E.params.length;N++){var be=E.params[N];if(be.type=="Identifier")p[be.name]=null;else return m}for(var N in ge)if(S(ge[N])===m)return m;p=ce;var Oe=Object.keys(p),Ae=Oe.map(function(ne){return p[ne]});return Function(Oe.join(", "),"return "+c(E)).apply(null,Ae)}else if(E.type==="TemplateLiteral"){for(var Fe="",N=0;N<E.expressions.length;N++)Fe+=S(E.quasis[N]),Fe+=S(E.expressions[N]);return Fe+=S(E.quasis[N]),Fe}else if(E.type==="TaggedTemplateExpression"){var ee=S(E.tag),le=E.quasi,ve=le.quasis.map(S),Qe=le.expressions.map(S);return ee.apply(null,[ve].concat(Qe))}else return E.type==="TemplateElement"?E.value.cooked:m}}}(f);return b===m?void 0:b}},{escodegen:12}],jsonpath:[function(i,r,o){r.exports=i("./lib/index")},{"./lib/index":5}]},{},["jsonpath"])("jsonpath")})}(yT)),yT.exports}var r5=a5();const PD=Sb(r5),l5={hide:vk,popover:e5,redirect:t5,tooltip:n5,visuallyHide:i5},o5=e=>e&&e.charAt(0).toUpperCase()+e.slice(1),Qy=(e,t,i)=>{const{globalDataContext:r,templateContext:o}=t;if(Array.isArray(e.andConditions))return e.andConditions.reduce((m,b)=>m&&Qy(b,t,i),!0);if(Array.isArray(e.orConditions)){const m=e.orConditions;for(const b of m)if(Qy(b,t,i))return!0;return!1}if(e.when!==void 0&&!aA(e.when))return!1;const c=m=>Xn({globalDataContext:r,templateContext:o,valueToEvaluate:m});let f;if(e.when===void 0&&e.hasOwnProperty("whenDataCountOf")){let m;switch(e.inContext){case"root":m=r.getRootContext().templateData;break;case"template":m=o.templateData;break;default:m=r.templateData;break}f=PD.query(m,e.whenDataCountOf).length}else f=(()=>{if(i){for(const[m,b]of i)if(e.hasOwnProperty(m))return b({condition:e,templateContexts:t,evaluateAgainstTemplates:S=>c(S)})}return c(e.when)})();if(e.hasOwnProperty("isEmpty")){const m=b=>e.isEmpty==="not"?!b:b;if(f===null)return m(!0);switch(typeof f){case"undefined":return m(!0);case"string":return m(f.length===0);case"object":return m(Object.keys(f).length===0);default:return m(!f)}}const p=e.compareAsDates;if(e.hasOwnProperty("isNot"))return Ol(p,f)!==Ol(p,c(e.isNot));if(e.hasOwnProperty("is"))return Ol(p,f)===Ol(p,c(e.is));if(e.hasOwnProperty("containsNot")||e.hasOwnProperty("contains")){const m=e.hasOwnProperty("containsNot"),b=m?e.containsNot:e.contains,S=Ol(p,c(b));if(typeof f=="string"){if(typeof S!="string")return m;const E=f.toLowerCase().indexOf(S.toLowerCase())!==-1;return m?!E:E}else for(const E of Object.values(f))if(Sp.isEqual(Ol(p,E),S))return!m;return m}if(e.hasOwnProperty("containedByNot")||e.hasOwnProperty("containedBy")){const m=e.hasOwnProperty("containedByNot"),b=m?e.containedByNot:e.containedBy,S=Ol(p,c(b));if(typeof f=="string"){if(typeof S!="string")return m;const E=S.toLowerCase().indexOf(f.toLowerCase())!==-1;return m?!E:E}else for(const E of Object.values(S))if(Sp.isEqual(Ol(p,E),f))return!m;return m}return e.hasOwnProperty(">")?Ol(p,f)>Ol(p,c(e[">"])):e.hasOwnProperty(">=")?Ol(p,f)>=Ol(p,c(e[">="])):e.hasOwnProperty("<")?Ol(p,f)<Ol(p,c(e["<"])):e.hasOwnProperty("<=")?Ol(p,f)<=Ol(p,c(e["<="])):!0},s5=(e,t)=>{const i=[];let r=!1;const o={};if(!Array.isArray(e))return i;for(const[c,f]of e.entries()){const p=(f==null?void 0:f.what)??void 0;if(!p)continue;const m=l5[p];let b;if(!m){if(b=Uy[p]??void 0,!b||f.on===void 0||!Qy(f,t))continue;if(f.on==="message"){i.push({ActionComponent:bk,actionProps:f,actionIndex:c});continue}if(f.on==="hashchange"){i.push({ActionComponent:yk,actionProps:f,actionIndex:c});continue}r=!0;const S="on"+o5(f.on);Array.isArray(o[S])||(o[S]=[]),o[S].push(f);continue}Qy(f,t)&&i.push({ActionComponent:m,actionProps:f,actionIndex:c})}return r&&i.push({ActionComponent:mk,actionProps:o,actionIndex:"_reactOnEvent"}),i},Ol=(e,t)=>e?new Date(t):t,xa=e=>{const t=I.useContext(ti),i=I.useContext(Gn);return e?s5((e==null?void 0:e.actions)??[],{globalDataContext:t,templateContext:i}).reverse().reduce((o,{ActionComponent:c,actionProps:f,actionIndex:p})=>ie.jsx(c,{componentProps:e,actionProps:f,actionIndex:p,children:o}),(e==null?void 0:e.children)??null):null};/*!
|
|
95
|
+
* @kurkle/color v0.3.4
|
|
96
|
+
* https://github.com/kurkle/color#readme
|
|
97
|
+
* (c) 2024 Jukka Kurkela
|
|
98
|
+
* Released under the MIT License
|
|
99
|
+
*/function Gb(e){return e+.5|0}const wp=(e,t,i)=>Math.max(Math.min(e,i),t);function Xb(e){return wp(Gb(e*2.55),0,255)}function Dp(e){return wp(Gb(e*255),0,255)}function Xd(e){return wp(Gb(e/2.55)/100,0,1)}function qD(e){return wp(Gb(e*100),0,100)}const Su={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},vT=[..."0123456789ABCDEF"],u5=e=>vT[e&15],c5=e=>vT[(e&240)>>4]+vT[e&15],rS=e=>(e&240)>>4===(e&15),f5=e=>rS(e.r)&&rS(e.g)&&rS(e.b)&&rS(e.a);function d5(e){var t=e.length,i;return e[0]==="#"&&(t===4||t===5?i={r:255&Su[e[1]]*17,g:255&Su[e[2]]*17,b:255&Su[e[3]]*17,a:t===5?Su[e[4]]*17:255}:(t===7||t===9)&&(i={r:Su[e[1]]<<4|Su[e[2]],g:Su[e[3]]<<4|Su[e[4]],b:Su[e[5]]<<4|Su[e[6]],a:t===9?Su[e[7]]<<4|Su[e[8]]:255})),i}const h5=(e,t)=>e<255?t(e):"";function p5(e){var t=f5(e)?u5:c5;return e?"#"+t(e.r)+t(e.g)+t(e.b)+h5(e.a,t):void 0}const g5=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function VD(e,t,i){const r=t*Math.min(i,1-i),o=(c,f=(c+e/30)%12)=>i-r*Math.max(Math.min(f-3,9-f,1),-1);return[o(0),o(8),o(4)]}function m5(e,t,i){const r=(o,c=(o+e/60)%6)=>i-i*t*Math.max(Math.min(c,4-c,1),0);return[r(5),r(3),r(1)]}function y5(e,t,i){const r=VD(e,1,.5);let o;for(t+i>1&&(o=1/(t+i),t*=o,i*=o),o=0;o<3;o++)r[o]*=1-t-i,r[o]+=t;return r}function v5(e,t,i,r,o){return e===o?(t-i)/r+(t<i?6:0):t===o?(i-e)/r+2:(e-t)/r+4}function bT(e){const i=e.r/255,r=e.g/255,o=e.b/255,c=Math.max(i,r,o),f=Math.min(i,r,o),p=(c+f)/2;let m,b,S;return c!==f&&(S=c-f,b=p>.5?S/(2-c-f):S/(c+f),m=v5(i,r,o,S,c),m=m*60+.5),[m|0,b||0,p]}function xT(e,t,i,r){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,i,r)).map(Dp)}function ST(e,t,i){return xT(VD,e,t,i)}function b5(e,t,i){return xT(y5,e,t,i)}function x5(e,t,i){return xT(m5,e,t,i)}function YD(e){return(e%360+360)%360}function S5(e){const t=g5.exec(e);let i=255,r;if(!t)return;t[5]!==r&&(i=t[6]?Xb(+t[5]):Dp(+t[5]));const o=YD(+t[2]),c=+t[3]/100,f=+t[4]/100;return t[1]==="hwb"?r=b5(o,c,f):t[1]==="hsv"?r=x5(o,c,f):r=ST(o,c,f),{r:r[0],g:r[1],b:r[2],a:i}}function E5(e,t){var i=bT(e);i[0]=YD(i[0]+t),i=ST(i),e.r=i[0],e.g=i[1],e.b=i[2]}function A5(e){if(!e)return;const t=bT(e),i=t[0],r=qD(t[1]),o=qD(t[2]);return e.a<255?`hsla(${i}, ${r}%, ${o}%, ${Xd(e.a)})`:`hsl(${i}, ${r}%, ${o}%)`}const GD={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"},XD={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 T5(){const e={},t=Object.keys(XD),i=Object.keys(GD);let r,o,c,f,p;for(r=0;r<t.length;r++){for(f=p=t[r],o=0;o<i.length;o++)c=i[o],p=p.replace(c,GD[c]);c=parseInt(XD[f],16),e[p]=[c>>16&255,c>>8&255,c&255]}return e}let lS;function C5(e){lS||(lS=T5(),lS.transparent=[0,0,0,0]);const t=lS[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}const _5=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function w5(e){const t=_5.exec(e);let i=255,r,o,c;if(t){if(t[7]!==r){const f=+t[7];i=t[8]?Xb(f):wp(f*255,0,255)}return r=+t[1],o=+t[3],c=+t[5],r=255&(t[2]?Xb(r):wp(r,0,255)),o=255&(t[4]?Xb(o):wp(o,0,255)),c=255&(t[6]?Xb(c):wp(c,0,255)),{r,g:o,b:c,a:i}}}function D5(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${Xd(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}const ET=e=>e<=.0031308?e*12.92:Math.pow(e,1/2.4)*1.055-.055,Zy=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function O5(e,t,i){const r=Zy(Xd(e.r)),o=Zy(Xd(e.g)),c=Zy(Xd(e.b));return{r:Dp(ET(r+i*(Zy(Xd(t.r))-r))),g:Dp(ET(o+i*(Zy(Xd(t.g))-o))),b:Dp(ET(c+i*(Zy(Xd(t.b))-c))),a:e.a+i*(t.a-e.a)}}function oS(e,t,i){if(e){let r=bT(e);r[t]=Math.max(0,Math.min(r[t]+r[t]*i,t===0?360:1)),r=ST(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function $D(e,t){return e&&Object.assign(t||{},e)}function QD(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=Dp(e[3]))):(t=$D(e,{r:0,g:0,b:0,a:1}),t.a=Dp(t.a)),t}function R5(e){return e.charAt(0)==="r"?w5(e):S5(e)}class $b{constructor(t){if(t instanceof $b)return t;const i=typeof t;let r;i==="object"?r=QD(t):i==="string"&&(r=d5(t)||C5(t)||R5(t)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var t=$D(this._rgb);return t&&(t.a=Xd(t.a)),t}set rgb(t){this._rgb=QD(t)}rgbString(){return this._valid?D5(this._rgb):void 0}hexString(){return this._valid?p5(this._rgb):void 0}hslString(){return this._valid?A5(this._rgb):void 0}mix(t,i){if(t){const r=this.rgb,o=t.rgb;let c;const f=i===c?.5:i,p=2*f-1,m=r.a-o.a,b=((p*m===-1?p:(p+m)/(1+p*m))+1)/2;c=1-b,r.r=255&b*r.r+c*o.r+.5,r.g=255&b*r.g+c*o.g+.5,r.b=255&b*r.b+c*o.b+.5,r.a=f*r.a+(1-f)*o.a,this.rgb=r}return this}interpolate(t,i){return t&&(this._rgb=O5(this._rgb,t._rgb,i)),this}clone(){return new $b(this.rgb)}alpha(t){return this._rgb.a=Dp(t),this}clearer(t){const i=this._rgb;return i.a*=1-t,this}greyscale(){const t=this._rgb,i=Gb(t.r*.3+t.g*.59+t.b*.11);return t.r=t.g=t.b=i,this}opaquer(t){const i=this._rgb;return i.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return oS(this._rgb,2,t),this}darken(t){return oS(this._rgb,2,-t),this}saturate(t){return oS(this._rgb,1,t),this}desaturate(t){return oS(this._rgb,1,-t),this}rotate(t){return E5(this._rgb,t),this}}/*!
|
|
100
|
+
* Chart.js v4.4.8
|
|
101
|
+
* https://www.chartjs.org
|
|
102
|
+
* (c) 2025 Chart.js Contributors
|
|
103
|
+
* Released under the MIT License
|
|
104
|
+
*/function $d(){}const M5=(()=>{let e=0;return()=>e++})();function Wn(e){return e==null}function la(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return t.slice(0,7)==="[object"&&t.slice(-6)==="Array]"}function Un(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}function jr(e){return(typeof e=="number"||e instanceof Number)&&isFinite(+e)}function Sf(e,t){return jr(e)?e:t}function En(e,t){return typeof e>"u"?t:e}const N5=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100:+e/t,ZD=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100*t:+e;function ji(e,t,i){if(e&&typeof e.call=="function")return e.apply(i,t)}function Ei(e,t,i,r){let o,c,f;if(la(e))for(c=e.length,o=0;o<c;o++)t.call(i,e[o],o);else if(Un(e))for(f=Object.keys(e),c=f.length,o=0;o<c;o++)t.call(i,e[f[o]],f[o])}function sS(e,t){let i,r,o,c;if(!e||!t||e.length!==t.length)return!1;for(i=0,r=e.length;i<r;++i)if(o=e[i],c=t[i],o.datasetIndex!==c.datasetIndex||o.index!==c.index)return!1;return!0}function uS(e){if(la(e))return e.map(uS);if(Un(e)){const t=Object.create(null),i=Object.keys(e),r=i.length;let o=0;for(;o<r;++o)t[i[o]]=uS(e[i[o]]);return t}return e}function WD(e){return["__proto__","prototype","constructor"].indexOf(e)===-1}function B5(e,t,i,r){if(!WD(e))return;const o=t[e],c=i[e];Un(o)&&Un(c)?Qb(o,c,r):t[e]=uS(c)}function Qb(e,t,i){const r=la(t)?t:[t],o=r.length;if(!Un(e))return e;i=i||{};const c=i.merger||B5;let f;for(let p=0;p<o;++p){if(f=r[p],!Un(f))continue;const m=Object.keys(f);for(let b=0,S=m.length;b<S;++b)c(m[b],e,f,i)}return e}function Zb(e,t){return Qb(e,t,{merger:L5})}function L5(e,t,i){if(!WD(e))return;const r=t[e],o=i[e];Un(r)&&Un(o)?Zb(r,o):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=uS(o))}const KD={"":e=>e,x:e=>e.x,y:e=>e.y};function k5(e){const t=e.split("."),i=[];let r="";for(const o of t)r+=o,r.endsWith("\\")?r=r.slice(0,-1)+".":(i.push(r),r="");return i}function z5(e){const t=k5(e);return i=>{for(const r of t){if(r==="")break;i=i&&i[r]}return i}}function Op(e,t){return(KD[t]||(KD[t]=z5(t)))(e)}function AT(e){return e.charAt(0).toUpperCase()+e.slice(1)}const Wb=e=>typeof e<"u",Rp=e=>typeof e=="function",JD=(e,t)=>{if(e.size!==t.size)return!1;for(const i of e)if(!t.has(i))return!1;return!0};function U5(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}const Zi=Math.PI,Wi=2*Zi,H5=Wi+Zi,cS=Number.POSITIVE_INFINITY,j5=Zi/180,Na=Zi/2,zm=Zi/4,eO=Zi*2/3,tO=Math.log10,Ef=Math.sign;function Kb(e,t,i){return Math.abs(e-t)<i}function nO(e){const t=Math.round(e);e=Kb(e,t,e/1e3)?t:e;const i=Math.pow(10,Math.floor(tO(e))),r=e/i;return(r<=1?1:r<=2?2:r<=5?5:10)*i}function F5(e){const t=[],i=Math.sqrt(e);let r;for(r=1;r<i;r++)e%r===0&&(t.push(r),t.push(e/r));return i===(i|0)&&t.push(i),t.sort((o,c)=>o-c).pop(),t}function I5(e){return typeof e=="symbol"||typeof e=="object"&&e!==null&&!(Symbol.toPrimitive in e||"toString"in e||"valueOf"in e)}function Jb(e){return!I5(e)&&!isNaN(parseFloat(e))&&isFinite(e)}function P5(e,t){const i=Math.round(e);return i-t<=e&&i+t>=e}function q5(e,t,i){let r,o,c;for(r=0,o=e.length;r<o;r++)c=e[r][i],isNaN(c)||(t.min=Math.min(t.min,c),t.max=Math.max(t.max,c))}function mc(e){return e*(Zi/180)}function TT(e){return e*(180/Zi)}function iO(e){if(!jr(e))return;let t=1,i=0;for(;Math.round(e*t)/t!==e;)t*=10,i++;return i}function aO(e,t){const i=t.x-e.x,r=t.y-e.y,o=Math.sqrt(i*i+r*r);let c=Math.atan2(r,i);return c<-.5*Zi&&(c+=Wi),{angle:c,distance:o}}function CT(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function V5(e,t){return(e-t+H5)%Wi-Zi}function Ls(e){return(e%Wi+Wi)%Wi}function e1(e,t,i,r){const o=Ls(e),c=Ls(t),f=Ls(i),p=Ls(c-o),m=Ls(f-o),b=Ls(o-c),S=Ls(o-f);return o===c||o===f||r&&c===f||p>m&&b<S}function Rl(e,t,i){return Math.max(t,Math.min(i,e))}function Y5(e){return Rl(e,-32768,32767)}function Qd(e,t,i,r=1e-6){return e>=Math.min(t,i)-r&&e<=Math.max(t,i)+r}function _T(e,t,i){i=i||(f=>e[f]<t);let r=e.length-1,o=0,c;for(;r-o>1;)c=o+r>>1,i(c)?o=c:r=c;return{lo:o,hi:r}}const Um=(e,t,i,r)=>_T(e,i,r?o=>{const c=e[o][t];return c<i||c===i&&e[o+1][t]===i}:o=>e[o][t]<i),G5=(e,t,i)=>_T(e,i,r=>e[r][t]>=i);function X5(e,t,i){let r=0,o=e.length;for(;r<o&&e[r]<t;)r++;for(;o>r&&e[o-1]>i;)o--;return r>0||o<e.length?e.slice(r,o):e}const rO=["push","pop","shift","splice","unshift"];function $5(e,t){if(e._chartjs){e._chartjs.listeners.push(t);return}Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),rO.forEach(i=>{const r="_onData"+AT(i),o=e[i];Object.defineProperty(e,i,{configurable:!0,enumerable:!1,value(...c){const f=o.apply(this,c);return e._chartjs.listeners.forEach(p=>{typeof p[r]=="function"&&p[r](...c)}),f}})})}function lO(e,t){const i=e._chartjs;if(!i)return;const r=i.listeners,o=r.indexOf(t);o!==-1&&r.splice(o,1),!(r.length>0)&&(rO.forEach(c=>{delete e[c]}),delete e._chartjs)}function oO(e){const t=new Set(e);return t.size===e.length?e:Array.from(t)}const sO=function(){return typeof window>"u"?function(e){return e()}:window.requestAnimationFrame}();function uO(e,t){let i=[],r=!1;return function(...o){i=o,r||(r=!0,sO.call(window,()=>{r=!1,e.apply(t,i)}))}}function Q5(e,t){let i;return function(...r){return t?(clearTimeout(i),i=setTimeout(e,t,r)):e.apply(this,r),t}}const wT=e=>e==="start"?"left":e==="end"?"right":"center",Ml=(e,t,i)=>e==="start"?t:e==="end"?i:(t+i)/2,Z5=(e,t,i,r)=>e===(r?"left":"right")?i:e==="center"?(t+i)/2:t;function W5(e,t,i){const r=t.length;let o=0,c=r;if(e._sorted){const{iScale:f,vScale:p,_parsed:m}=e,b=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null,S=f.axis,{min:E,max:_,minDefined:O,maxDefined:M}=f.getUserBounds();if(O){if(o=Math.min(Um(m,S,E).lo,i?r:Um(t,S,f.getPixelForValue(E)).lo),b){const N=m.slice(0,o+1).reverse().findIndex(w=>!Wn(w[p.axis]));o-=Math.max(0,N)}o=Rl(o,0,r-1)}if(M){let N=Math.max(Um(m,f.axis,_,!0).hi+1,i?0:Um(t,S,f.getPixelForValue(_),!0).hi+1);if(b){const w=m.slice(N-1).findIndex(U=>!Wn(U[p.axis]));N+=Math.max(0,w)}c=Rl(N,o,r)-o}else c=r-o}return{start:o,count:c}}function K5(e){const{xScale:t,yScale:i,_scaleRanges:r}=e,o={xmin:t.min,xmax:t.max,ymin:i.min,ymax:i.max};if(!r)return e._scaleRanges=o,!0;const c=r.xmin!==t.min||r.xmax!==t.max||r.ymin!==i.min||r.ymax!==i.max;return Object.assign(r,o),c}const fS=e=>e===0||e===1,cO=(e,t,i)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-t)*Wi/i)),fO=(e,t,i)=>Math.pow(2,-10*e)*Math.sin((e-t)*Wi/i)+1,t1={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*Na)+1,easeOutSine:e=>Math.sin(e*Na),easeInOutSine:e=>-.5*(Math.cos(Zi*e)-1),easeInExpo:e=>e===0?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>e===1?1:-Math.pow(2,-10*e)+1,easeInOutExpo:e=>fS(e)?e:e<.5?.5*Math.pow(2,10*(e*2-1)):.5*(-Math.pow(2,-10*(e*2-1))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>fS(e)?e:cO(e,.075,.3),easeOutElastic:e=>fS(e)?e:fO(e,.075,.3),easeInOutElastic(e){return fS(e)?e:e<.5?.5*cO(e*2,.1125,.45):.5+.5*fO(e*2-1,.1125,.45)},easeInBack(e){return e*e*((1.70158+1)*e-1.70158)},easeOutBack(e){return(e-=1)*e*((1.70158+1)*e+1.70158)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:e=>1-t1.easeOutBounce(1-e),easeOutBounce(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:e=>e<.5?t1.easeInBounce(e*2)*.5:t1.easeOutBounce(e*2-1)*.5+.5};function DT(e){if(e&&typeof e=="object"){const t=e.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function dO(e){return DT(e)?e:new $b(e)}function OT(e){return DT(e)?e:new $b(e).saturate(.5).darken(.1).hexString()}const J5=["x","y","borderWidth","radius","tension"],e8=["color","borderColor","backgroundColor"];function t8(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>t!=="onProgress"&&t!=="onComplete"&&t!=="fn"}),e.set("animations",{colors:{type:"color",properties:e8},numbers:{type:"number",properties:J5}}),e.describe("animations",{_fallback:"animation"}),e.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:t=>t|0}}}})}function n8(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const hO=new Map;function i8(e,t){t=t||{};const i=e+JSON.stringify(t);let r=hO.get(i);return r||(r=new Intl.NumberFormat(e,t),hO.set(i,r)),r}function dS(e,t,i){return i8(t,i).format(e)}const a8={values(e){return la(e)?e:""+e},numeric(e,t,i){if(e===0)return"0";const r=this.chart.options.locale;let o,c=e;if(i.length>1){const b=Math.max(Math.abs(i[0].value),Math.abs(i[i.length-1].value));(b<1e-4||b>1e15)&&(o="scientific"),c=r8(e,i)}const f=tO(Math.abs(c)),p=isNaN(f)?1:Math.max(Math.min(-1*Math.floor(f),20),0),m={notation:o,minimumFractionDigits:p,maximumFractionDigits:p};return Object.assign(m,this.options.ticks.format),dS(e,r,m)}};function r8(e,t){let i=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(i)>=1&&e!==Math.floor(e)&&(i=e-Math.floor(e)),i}var RT={formatters:a8};function l8(e){e.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:(t,i)=>i.lineWidth,tickColor:(t,i)=>i.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:RT.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&t!=="callback"&&t!=="parser",_indexable:t=>t!=="borderDash"&&t!=="tickBorderDash"&&t!=="dash"}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:t=>t!=="backdropPadding"&&t!=="callback",_indexable:t=>t!=="backdropPadding"})}const Hm=Object.create(null),MT=Object.create(null);function n1(e,t){if(!t)return e;const i=t.split(".");for(let r=0,o=i.length;r<o;++r){const c=i[r];e=e[c]||(e[c]=Object.create(null))}return e}function NT(e,t,i){return typeof t=="string"?Qb(n1(e,t),i):Qb(n1(e,""),t)}class o8{constructor(t,i){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,o)=>OT(o.backgroundColor),this.hoverBorderColor=(r,o)=>OT(o.borderColor),this.hoverColor=(r,o)=>OT(o.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(t),this.apply(i)}set(t,i){return NT(this,t,i)}get(t){return n1(this,t)}describe(t,i){return NT(MT,t,i)}override(t,i){return NT(Hm,t,i)}route(t,i,r,o){const c=n1(this,t),f=n1(this,r),p="_"+i;Object.defineProperties(c,{[p]:{value:c[i],writable:!0},[i]:{enumerable:!0,get(){const m=this[p],b=f[o];return Un(m)?Object.assign({},b,m):En(m,b)},set(m){this[p]=m}}})}apply(t){t.forEach(i=>i(this))}}var Sa=new o8({_scriptable:e=>!e.startsWith("on"),_indexable:e=>e!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[t8,n8,l8]);function s8(e){return!e||Wn(e.size)||Wn(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}function hS(e,t,i,r,o){let c=t[o];return c||(c=t[o]=e.measureText(o).width,i.push(o)),c>r&&(r=c),r}function u8(e,t,i,r){r=r||{};let o=r.data=r.data||{},c=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(o=r.data={},c=r.garbageCollect=[],r.font=t),e.save(),e.font=t;let f=0;const p=i.length;let m,b,S,E,_;for(m=0;m<p;m++)if(E=i[m],E!=null&&!la(E))f=hS(e,o,c,f,E);else if(la(E))for(b=0,S=E.length;b<S;b++)_=E[b],_!=null&&!la(_)&&(f=hS(e,o,c,f,_));e.restore();const O=c.length/2;if(O>i.length){for(m=0;m<O;m++)delete o[c[m]];c.splice(0,O)}return f}function jm(e,t,i){const r=e.currentDevicePixelRatio,o=i!==0?Math.max(i/2,.5):0;return Math.round((t-o)*r)/r+o}function pO(e,t){!t&&!e||(t=t||e.getContext("2d"),t.save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore())}function BT(e,t,i,r){gO(e,t,i,r,null)}function gO(e,t,i,r,o){let c,f,p,m,b,S,E,_;const O=t.pointStyle,M=t.rotation,N=t.radius;let w=(M||0)*j5;if(O&&typeof O=="object"&&(c=O.toString(),c==="[object HTMLImageElement]"||c==="[object HTMLCanvasElement]")){e.save(),e.translate(i,r),e.rotate(w),e.drawImage(O,-O.width/2,-O.height/2,O.width,O.height),e.restore();return}if(!(isNaN(N)||N<=0)){switch(e.beginPath(),O){default:o?e.ellipse(i,r,o/2,N,0,0,Wi):e.arc(i,r,N,0,Wi),e.closePath();break;case"triangle":S=o?o/2:N,e.moveTo(i+Math.sin(w)*S,r-Math.cos(w)*N),w+=eO,e.lineTo(i+Math.sin(w)*S,r-Math.cos(w)*N),w+=eO,e.lineTo(i+Math.sin(w)*S,r-Math.cos(w)*N),e.closePath();break;case"rectRounded":b=N*.516,m=N-b,f=Math.cos(w+zm)*m,E=Math.cos(w+zm)*(o?o/2-b:m),p=Math.sin(w+zm)*m,_=Math.sin(w+zm)*(o?o/2-b:m),e.arc(i-E,r-p,b,w-Zi,w-Na),e.arc(i+_,r-f,b,w-Na,w),e.arc(i+E,r+p,b,w,w+Na),e.arc(i-_,r+f,b,w+Na,w+Zi),e.closePath();break;case"rect":if(!M){m=Math.SQRT1_2*N,S=o?o/2:m,e.rect(i-S,r-m,2*S,2*m);break}w+=zm;case"rectRot":E=Math.cos(w)*(o?o/2:N),f=Math.cos(w)*N,p=Math.sin(w)*N,_=Math.sin(w)*(o?o/2:N),e.moveTo(i-E,r-p),e.lineTo(i+_,r-f),e.lineTo(i+E,r+p),e.lineTo(i-_,r+f),e.closePath();break;case"crossRot":w+=zm;case"cross":E=Math.cos(w)*(o?o/2:N),f=Math.cos(w)*N,p=Math.sin(w)*N,_=Math.sin(w)*(o?o/2:N),e.moveTo(i-E,r-p),e.lineTo(i+E,r+p),e.moveTo(i+_,r-f),e.lineTo(i-_,r+f);break;case"star":E=Math.cos(w)*(o?o/2:N),f=Math.cos(w)*N,p=Math.sin(w)*N,_=Math.sin(w)*(o?o/2:N),e.moveTo(i-E,r-p),e.lineTo(i+E,r+p),e.moveTo(i+_,r-f),e.lineTo(i-_,r+f),w+=zm,E=Math.cos(w)*(o?o/2:N),f=Math.cos(w)*N,p=Math.sin(w)*N,_=Math.sin(w)*(o?o/2:N),e.moveTo(i-E,r-p),e.lineTo(i+E,r+p),e.moveTo(i+_,r-f),e.lineTo(i-_,r+f);break;case"line":f=o?o/2:Math.cos(w)*N,p=Math.sin(w)*N,e.moveTo(i-f,r-p),e.lineTo(i+f,r+p);break;case"dash":e.moveTo(i,r),e.lineTo(i+Math.cos(w)*(o?o/2:N),r+Math.sin(w)*N);break;case!1:e.closePath();break}e.fill(),t.borderWidth>0&&e.stroke()}}function Zd(e,t,i){return i=i||.5,!t||e&&e.x>t.left-i&&e.x<t.right+i&&e.y>t.top-i&&e.y<t.bottom+i}function pS(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function gS(e){e.restore()}function c8(e,t,i,r,o){if(!t)return e.lineTo(i.x,i.y);if(o==="middle"){const c=(t.x+i.x)/2;e.lineTo(c,t.y),e.lineTo(c,i.y)}else o==="after"!=!!r?e.lineTo(t.x,i.y):e.lineTo(i.x,t.y);e.lineTo(i.x,i.y)}function f8(e,t,i,r){if(!t)return e.lineTo(i.x,i.y);e.bezierCurveTo(r?t.cp1x:t.cp2x,r?t.cp1y:t.cp2y,r?i.cp2x:i.cp1x,r?i.cp2y:i.cp1y,i.x,i.y)}function d8(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]),Wn(t.rotation)||e.rotate(t.rotation),t.color&&(e.fillStyle=t.color),t.textAlign&&(e.textAlign=t.textAlign),t.textBaseline&&(e.textBaseline=t.textBaseline)}function h8(e,t,i,r,o){if(o.strikethrough||o.underline){const c=e.measureText(r),f=t-c.actualBoundingBoxLeft,p=t+c.actualBoundingBoxRight,m=i-c.actualBoundingBoxAscent,b=i+c.actualBoundingBoxDescent,S=o.strikethrough?(m+b)/2:b;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=o.decorationWidth||2,e.moveTo(f,S),e.lineTo(p,S),e.stroke()}}function p8(e,t){const i=e.fillStyle;e.fillStyle=t.color,e.fillRect(t.left,t.top,t.width,t.height),e.fillStyle=i}function Fm(e,t,i,r,o,c={}){const f=la(t)?t:[t],p=c.strokeWidth>0&&c.strokeColor!=="";let m,b;for(e.save(),e.font=o.string,d8(e,c),m=0;m<f.length;++m)b=f[m],c.backdrop&&p8(e,c.backdrop),p&&(c.strokeColor&&(e.strokeStyle=c.strokeColor),Wn(c.strokeWidth)||(e.lineWidth=c.strokeWidth),e.strokeText(b,i,r,c.maxWidth)),e.fillText(b,i,r,c.maxWidth),h8(e,i,r,b,c),r+=Number(o.lineHeight);e.restore()}function i1(e,t){const{x:i,y:r,w:o,h:c,radius:f}=t;e.arc(i+f.topLeft,r+f.topLeft,f.topLeft,1.5*Zi,Zi,!0),e.lineTo(i,r+c-f.bottomLeft),e.arc(i+f.bottomLeft,r+c-f.bottomLeft,f.bottomLeft,Zi,Na,!0),e.lineTo(i+o-f.bottomRight,r+c),e.arc(i+o-f.bottomRight,r+c-f.bottomRight,f.bottomRight,Na,0,!0),e.lineTo(i+o,r+f.topRight),e.arc(i+o-f.topRight,r+f.topRight,f.topRight,0,-Na,!0),e.lineTo(i+f.topLeft,r)}const g8=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,m8=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function y8(e,t){const i=(""+e).match(g8);if(!i||i[1]==="normal")return t*1.2;switch(e=+i[2],i[3]){case"px":return e;case"%":e/=100;break}return t*e}const v8=e=>+e||0;function LT(e,t){const i={},r=Un(t),o=r?Object.keys(t):t,c=Un(e)?r?f=>En(e[f],e[t[f]]):f=>e[f]:()=>e;for(const f of o)i[f]=v8(c(f));return i}function mO(e){return LT(e,{top:"y",right:"x",bottom:"y",left:"x"})}function Im(e){return LT(e,["topLeft","topRight","bottomLeft","bottomRight"])}function Nl(e){const t=mO(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function hr(e,t){e=e||{},t=t||Sa.font;let i=En(e.size,t.size);typeof i=="string"&&(i=parseInt(i,10));let r=En(e.style,t.style);r&&!(""+r).match(m8)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const o={family:En(e.family,t.family),lineHeight:y8(En(e.lineHeight,t.lineHeight),i),size:i,style:r,weight:En(e.weight,t.weight),string:""};return o.string=s8(o),o}function mS(e,t,i,r){let o,c,f;for(o=0,c=e.length;o<c;++o)if(f=e[o],f!==void 0&&f!==void 0)return f}function b8(e,t,i){const{min:r,max:o}=e,c=ZD(t,(o-r)/2),f=(p,m)=>i&&p===0?0:p+m;return{min:f(r,-Math.abs(c)),max:f(o,c)}}function Mp(e,t){return Object.assign(Object.create(e),t)}function kT(e,t=[""],i,r,o=()=>e[0]){const c=i||e;typeof r>"u"&&(r=SO("_fallback",e));const f={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:c,_fallback:r,_getTarget:o,override:p=>kT([p,...e],t,c,r)};return new Proxy(f,{deleteProperty(p,m){return delete p[m],delete p._keys,delete e[0][m],!0},get(p,m){return vO(p,m,()=>w8(m,t,e,p))},getOwnPropertyDescriptor(p,m){return Reflect.getOwnPropertyDescriptor(p._scopes[0],m)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(p,m){return EO(p).includes(m)},ownKeys(p){return EO(p)},set(p,m,b){const S=p._storage||(p._storage=o());return p[m]=S[m]=b,delete p._keys,!0}})}function Wy(e,t,i,r){const o={_cacheable:!1,_proxy:e,_context:t,_subProxy:i,_stack:new Set,_descriptors:yO(e,r),setContext:c=>Wy(e,c,i,r),override:c=>Wy(e.override(c),t,i,r)};return new Proxy(o,{deleteProperty(c,f){return delete c[f],delete e[f],!0},get(c,f,p){return vO(c,f,()=>S8(c,f,p))},getOwnPropertyDescriptor(c,f){return c._descriptors.allKeys?Reflect.has(e,f)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,f)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(c,f){return Reflect.has(e,f)},ownKeys(){return Reflect.ownKeys(e)},set(c,f,p){return e[f]=p,delete c[f],!0}})}function yO(e,t={scriptable:!0,indexable:!0}){const{_scriptable:i=t.scriptable,_indexable:r=t.indexable,_allKeys:o=t.allKeys}=e;return{allKeys:o,scriptable:i,indexable:r,isScriptable:Rp(i)?i:()=>i,isIndexable:Rp(r)?r:()=>r}}const x8=(e,t)=>e?e+AT(t):t,zT=(e,t)=>Un(t)&&e!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function vO(e,t,i){if(Object.prototype.hasOwnProperty.call(e,t)||t==="constructor")return e[t];const r=i();return e[t]=r,r}function S8(e,t,i){const{_proxy:r,_context:o,_subProxy:c,_descriptors:f}=e;let p=r[t];return Rp(p)&&f.isScriptable(t)&&(p=E8(t,p,e,i)),la(p)&&p.length&&(p=A8(t,p,e,f.isIndexable)),zT(t,p)&&(p=Wy(p,o,c&&c[t],f)),p}function E8(e,t,i,r){const{_proxy:o,_context:c,_subProxy:f,_stack:p}=i;if(p.has(e))throw new Error("Recursion detected: "+Array.from(p).join("->")+"->"+e);p.add(e);let m=t(c,f||r);return p.delete(e),zT(e,m)&&(m=UT(o._scopes,o,e,m)),m}function A8(e,t,i,r){const{_proxy:o,_context:c,_subProxy:f,_descriptors:p}=i;if(typeof c.index<"u"&&r(e))return t[c.index%t.length];if(Un(t[0])){const m=t,b=o._scopes.filter(S=>S!==m);t=[];for(const S of m){const E=UT(b,o,e,S);t.push(Wy(E,c,f&&f[e],p))}}return t}function bO(e,t,i){return Rp(e)?e(t,i):e}const T8=(e,t)=>e===!0?t:typeof e=="string"?Op(t,e):void 0;function C8(e,t,i,r,o){for(const c of t){const f=T8(i,c);if(f){e.add(f);const p=bO(f._fallback,i,o);if(typeof p<"u"&&p!==i&&p!==r)return p}else if(f===!1&&typeof r<"u"&&i!==r)return null}return!1}function UT(e,t,i,r){const o=t._rootScopes,c=bO(t._fallback,i,r),f=[...e,...o],p=new Set;p.add(r);let m=xO(p,f,i,c||i,r);return m===null||typeof c<"u"&&c!==i&&(m=xO(p,f,c,m,r),m===null)?!1:kT(Array.from(p),[""],o,c,()=>_8(t,i,r))}function xO(e,t,i,r,o){for(;i;)i=C8(e,t,i,r,o);return i}function _8(e,t,i){const r=e._getTarget();t in r||(r[t]={});const o=r[t];return la(o)&&Un(i)?i:o||{}}function w8(e,t,i,r){let o;for(const c of t)if(o=SO(x8(c,e),i),typeof o<"u")return zT(e,o)?UT(i,r,e,o):o}function SO(e,t){for(const i of t){if(!i)continue;const r=i[e];if(typeof r<"u")return r}}function EO(e){let t=e._keys;return t||(t=e._keys=D8(e._scopes)),t}function D8(e){const t=new Set;for(const i of e)for(const r of Object.keys(i).filter(o=>!o.startsWith("_")))t.add(r);return Array.from(t)}function O8(e,t,i,r){const{iScale:o}=e,{key:c="r"}=this._parsing,f=new Array(r);let p,m,b,S;for(p=0,m=r;p<m;++p)b=p+i,S=t[b],f[p]={r:o.parse(Op(S,c),b)};return f}const R8=Number.EPSILON||1e-14,Ky=(e,t)=>t<e.length&&!e[t].skip&&e[t],AO=e=>e==="x"?"y":"x";function M8(e,t,i,r){const o=e.skip?t:e,c=t,f=i.skip?t:i,p=CT(c,o),m=CT(f,c);let b=p/(p+m),S=m/(p+m);b=isNaN(b)?0:b,S=isNaN(S)?0:S;const E=r*b,_=r*S;return{previous:{x:c.x-E*(f.x-o.x),y:c.y-E*(f.y-o.y)},next:{x:c.x+_*(f.x-o.x),y:c.y+_*(f.y-o.y)}}}function N8(e,t,i){const r=e.length;let o,c,f,p,m,b=Ky(e,0);for(let S=0;S<r-1;++S)if(m=b,b=Ky(e,S+1),!(!m||!b)){if(Kb(t[S],0,R8)){i[S]=i[S+1]=0;continue}o=i[S]/t[S],c=i[S+1]/t[S],p=Math.pow(o,2)+Math.pow(c,2),!(p<=9)&&(f=3/Math.sqrt(p),i[S]=o*f*t[S],i[S+1]=c*f*t[S])}}function B8(e,t,i="x"){const r=AO(i),o=e.length;let c,f,p,m=Ky(e,0);for(let b=0;b<o;++b){if(f=p,p=m,m=Ky(e,b+1),!p)continue;const S=p[i],E=p[r];f&&(c=(S-f[i])/3,p[`cp1${i}`]=S-c,p[`cp1${r}`]=E-c*t[b]),m&&(c=(m[i]-S)/3,p[`cp2${i}`]=S+c,p[`cp2${r}`]=E+c*t[b])}}function L8(e,t="x"){const i=AO(t),r=e.length,o=Array(r).fill(0),c=Array(r);let f,p,m,b=Ky(e,0);for(f=0;f<r;++f)if(p=m,m=b,b=Ky(e,f+1),!!m){if(b){const S=b[t]-m[t];o[f]=S!==0?(b[i]-m[i])/S:0}c[f]=p?b?Ef(o[f-1])!==Ef(o[f])?0:(o[f-1]+o[f])/2:o[f-1]:o[f]}N8(e,o,c),B8(e,c,t)}function yS(e,t,i){return Math.max(Math.min(e,i),t)}function k8(e,t){let i,r,o,c,f,p=Zd(e[0],t);for(i=0,r=e.length;i<r;++i)f=c,c=p,p=i<r-1&&Zd(e[i+1],t),c&&(o=e[i],f&&(o.cp1x=yS(o.cp1x,t.left,t.right),o.cp1y=yS(o.cp1y,t.top,t.bottom)),p&&(o.cp2x=yS(o.cp2x,t.left,t.right),o.cp2y=yS(o.cp2y,t.top,t.bottom)))}function z8(e,t,i,r,o){let c,f,p,m;if(t.spanGaps&&(e=e.filter(b=>!b.skip)),t.cubicInterpolationMode==="monotone")L8(e,o);else{let b=r?e[e.length-1]:e[0];for(c=0,f=e.length;c<f;++c)p=e[c],m=M8(b,p,e[Math.min(c+1,f-(r?0:1))%f],t.tension),p.cp1x=m.previous.x,p.cp1y=m.previous.y,p.cp2x=m.next.x,p.cp2y=m.next.y,b=p}t.capBezierPoints&&k8(e,i)}function HT(){return typeof window<"u"&&typeof document<"u"}function jT(e){let t=e.parentNode;return t&&t.toString()==="[object ShadowRoot]"&&(t=t.host),t}function vS(e,t,i){let r;return typeof e=="string"?(r=parseInt(e,10),e.indexOf("%")!==-1&&(r=r/100*t.parentNode[i])):r=e,r}const bS=e=>e.ownerDocument.defaultView.getComputedStyle(e,null);function U8(e,t){return bS(e).getPropertyValue(t)}const H8=["top","right","bottom","left"];function Pm(e,t,i){const r={};i=i?"-"+i:"";for(let o=0;o<4;o++){const c=H8[o];r[c]=parseFloat(e[t+"-"+c+i])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const j8=(e,t,i)=>(e>0||t>0)&&(!i||!i.shadowRoot);function F8(e,t){const i=e.touches,r=i&&i.length?i[0]:e,{offsetX:o,offsetY:c}=r;let f=!1,p,m;if(j8(o,c,e.target))p=o,m=c;else{const b=t.getBoundingClientRect();p=r.clientX-b.left,m=r.clientY-b.top,f=!0}return{x:p,y:m,box:f}}function qm(e,t){if("native"in e)return e;const{canvas:i,currentDevicePixelRatio:r}=t,o=bS(i),c=o.boxSizing==="border-box",f=Pm(o,"padding"),p=Pm(o,"border","width"),{x:m,y:b,box:S}=F8(e,i),E=f.left+(S&&p.left),_=f.top+(S&&p.top);let{width:O,height:M}=t;return c&&(O-=f.width+p.width,M-=f.height+p.height),{x:Math.round((m-E)/O*i.width/r),y:Math.round((b-_)/M*i.height/r)}}function I8(e,t,i){let r,o;if(t===void 0||i===void 0){const c=e&&jT(e);if(!c)t=e.clientWidth,i=e.clientHeight;else{const f=c.getBoundingClientRect(),p=bS(c),m=Pm(p,"border","width"),b=Pm(p,"padding");t=f.width-b.width-m.width,i=f.height-b.height-m.height,r=vS(p.maxWidth,c,"clientWidth"),o=vS(p.maxHeight,c,"clientHeight")}}return{width:t,height:i,maxWidth:r||cS,maxHeight:o||cS}}const xS=e=>Math.round(e*10)/10;function P8(e,t,i,r){const o=bS(e),c=Pm(o,"margin"),f=vS(o.maxWidth,e,"clientWidth")||cS,p=vS(o.maxHeight,e,"clientHeight")||cS,m=I8(e,t,i);let{width:b,height:S}=m;if(o.boxSizing==="content-box"){const _=Pm(o,"border","width"),O=Pm(o,"padding");b-=O.width+_.width,S-=O.height+_.height}return b=Math.max(0,b-c.width),S=Math.max(0,r?b/r:S-c.height),b=xS(Math.min(b,f,m.maxWidth)),S=xS(Math.min(S,p,m.maxHeight)),b&&!S&&(S=xS(b/2)),(t!==void 0||i!==void 0)&&r&&m.height&&S>m.height&&(S=m.height,b=xS(Math.floor(S*r))),{width:b,height:S}}function TO(e,t,i){const r=t||1,o=Math.floor(e.height*r),c=Math.floor(e.width*r);e.height=Math.floor(e.height),e.width=Math.floor(e.width);const f=e.canvas;return f.style&&(i||!f.style.height&&!f.style.width)&&(f.style.height=`${e.height}px`,f.style.width=`${e.width}px`),e.currentDevicePixelRatio!==r||f.height!==o||f.width!==c?(e.currentDevicePixelRatio=r,f.height=o,f.width=c,e.ctx.setTransform(r,0,0,r,0,0),!0):!1}const q8=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};HT()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch{}return e}();function CO(e,t){const i=U8(e,t),r=i&&i.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function Vm(e,t,i,r){return{x:e.x+i*(t.x-e.x),y:e.y+i*(t.y-e.y)}}function V8(e,t,i,r){return{x:e.x+i*(t.x-e.x),y:r==="middle"?i<.5?e.y:t.y:r==="after"?i<1?e.y:t.y:i>0?t.y:e.y}}function Y8(e,t,i,r){const o={x:e.cp2x,y:e.cp2y},c={x:t.cp1x,y:t.cp1y},f=Vm(e,o,i),p=Vm(o,c,i),m=Vm(c,t,i),b=Vm(f,p,i),S=Vm(p,m,i);return Vm(b,S,i)}const G8=function(e,t){return{x(i){return e+e+t-i},setWidth(i){t=i},textAlign(i){return i==="center"?i:i==="right"?"left":"right"},xPlus(i,r){return i-r},leftForLtr(i,r){return i-r}}},X8=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function Jy(e,t,i){return e?G8(t,i):X8()}function _O(e,t){let i,r;(t==="ltr"||t==="rtl")&&(i=e.canvas.style,r=[i.getPropertyValue("direction"),i.getPropertyPriority("direction")],i.setProperty("direction",t,"important"),e.prevTextDirection=r)}function wO(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function DO(e){return e==="angle"?{between:e1,compare:V5,normalize:Ls}:{between:Qd,compare:(t,i)=>t-i,normalize:t=>t}}function OO({start:e,end:t,count:i,loop:r,style:o}){return{start:e%i,end:t%i,loop:r&&(t-e+1)%i===0,style:o}}function $8(e,t,i){const{property:r,start:o,end:c}=i,{between:f,normalize:p}=DO(r),m=t.length;let{start:b,end:S,loop:E}=e,_,O;if(E){for(b+=m,S+=m,_=0,O=m;_<O&&f(p(t[b%m][r]),o,c);++_)b--,S--;b%=m,S%=m}return S<b&&(S+=m),{start:b,end:S,loop:E,style:e.style}}function RO(e,t,i){if(!i)return[e];const{property:r,start:o,end:c}=i,f=t.length,{compare:p,between:m,normalize:b}=DO(r),{start:S,end:E,loop:_,style:O}=$8(e,t,i),M=[];let N=!1,w=null,U,q,P;const z=()=>m(o,P,U)&&p(o,P)!==0,R=()=>p(c,U)===0||m(c,P,U),H=()=>N||z(),j=()=>!N||R();for(let K=S,W=S;K<=E;++K)q=t[K%f],!q.skip&&(U=b(q[r]),U!==P&&(N=m(U,o,c),w===null&&H()&&(w=p(U,o)===0?K:W),w!==null&&j()&&(M.push(OO({start:w,end:K,loop:_,count:f,style:O})),w=null),W=K,P=U));return w!==null&&M.push(OO({start:w,end:E,loop:_,count:f,style:O})),M}function MO(e,t){const i=[],r=e.segments;for(let o=0;o<r.length;o++){const c=RO(r[o],e.points,t);c.length&&i.push(...c)}return i}function Q8(e,t,i,r){let o=0,c=t-1;if(i&&!r)for(;o<t&&!e[o].skip;)o++;for(;o<t&&e[o].skip;)o++;for(o%=t,i&&(c+=o);c>o&&e[c%t].skip;)c--;return c%=t,{start:o,end:c}}function Z8(e,t,i,r){const o=e.length,c=[];let f=t,p=e[t],m;for(m=t+1;m<=i;++m){const b=e[m%o];b.skip||b.stop?p.skip||(r=!1,c.push({start:t%o,end:(m-1)%o,loop:r}),t=f=b.stop?m:null):(f=m,p.skip&&(t=m)),p=b}return f!==null&&c.push({start:t%o,end:f%o,loop:r}),c}function W8(e,t){const i=e.points,r=e.options.spanGaps,o=i.length;if(!o)return[];const c=!!e._loop,{start:f,end:p}=Q8(i,o,c,r);if(r===!0)return NO(e,[{start:f,end:p,loop:c}],i,t);const m=p<f?p+o:p,b=!!e._fullLoop&&f===0&&p===o-1;return NO(e,Z8(i,f,m,b),i,t)}function NO(e,t,i,r){return!r||!r.setContext||!i?t:K8(e,t,i,r)}function K8(e,t,i,r){const o=e._chart.getContext(),c=BO(e.options),{_datasetIndex:f,options:{spanGaps:p}}=e,m=i.length,b=[];let S=c,E=t[0].start,_=E;function O(M,N,w,U){const q=p?-1:1;if(M!==N){for(M+=m;i[M%m].skip;)M-=q;for(;i[N%m].skip;)N+=q;M%m!==N%m&&(b.push({start:M%m,end:N%m,loop:w,style:U}),S=U,E=N%m)}}for(const M of t){E=p?E:M.start;let N=i[E%m],w;for(_=E+1;_<=M.end;_++){const U=i[_%m];w=BO(r.setContext(Mp(o,{type:"segment",p0:N,p1:U,p0DataIndex:(_-1)%m,p1DataIndex:_%m,datasetIndex:f}))),J8(w,S)&&O(E,_-1,M.loop,S),N=U,S=w}E<_-1&&O(E,_-1,M.loop,S)}return b}function BO(e){return{backgroundColor:e.backgroundColor,borderCapStyle:e.borderCapStyle,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderJoinStyle:e.borderJoinStyle,borderWidth:e.borderWidth,borderColor:e.borderColor}}function J8(e,t){if(!t)return!1;const i=[],r=function(o,c){return DT(c)?(i.includes(c)||i.push(c),i.indexOf(c)):c};return JSON.stringify(e,r)!==JSON.stringify(t,r)}/*!
|
|
105
|
+
* Chart.js v4.4.8
|
|
106
|
+
* https://www.chartjs.org
|
|
107
|
+
* (c) 2025 Chart.js Contributors
|
|
108
|
+
* Released under the MIT License
|
|
109
|
+
*/class e9{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,i,r,o){const c=i.listeners[o],f=i.duration;c.forEach(p=>p({chart:t,initial:i.initial,numSteps:f,currentStep:Math.min(r-i.start,f)}))}_refresh(){this._request||(this._running=!0,this._request=sO.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let i=0;this._charts.forEach((r,o)=>{if(!r.running||!r.items.length)return;const c=r.items;let f=c.length-1,p=!1,m;for(;f>=0;--f)m=c[f],m._active?(m._total>r.duration&&(r.duration=m._total),m.tick(t),p=!0):(c[f]=c[c.length-1],c.pop());p&&(o.draw(),this._notify(o,r,t,"progress")),c.length||(r.running=!1,this._notify(o,r,t,"complete"),r.initial=!1),i+=c.length}),this._lastDate=t,i===0&&(this._running=!1)}_getAnims(t){const i=this._charts;let r=i.get(t);return r||(r={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},i.set(t,r)),r}listen(t,i,r){this._getAnims(t).listeners[i].push(r)}add(t,i){!i||!i.length||this._getAnims(t).items.push(...i)}has(t){return this._getAnims(t).items.length>0}start(t){const i=this._charts.get(t);i&&(i.running=!0,i.start=Date.now(),i.duration=i.items.reduce((r,o)=>Math.max(r,o._duration),0),this._refresh())}running(t){if(!this._running)return!1;const i=this._charts.get(t);return!(!i||!i.running||!i.items.length)}stop(t){const i=this._charts.get(t);if(!i||!i.items.length)return;const r=i.items;let o=r.length-1;for(;o>=0;--o)r[o].cancel();i.items=[],this._notify(t,i,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var Wd=new e9;const LO="transparent",t9={boolean(e,t,i){return i>.5?t:e},color(e,t,i){const r=dO(e||LO),o=r.valid&&dO(t||LO);return o&&o.valid?o.mix(r,i).hexString():t},number(e,t,i){return e+(t-e)*i}};class n9{constructor(t,i,r,o){const c=i[r];o=mS([t.to,o,c,t.from]);const f=mS([t.from,c,o]);this._active=!0,this._fn=t.fn||t9[t.type||typeof f],this._easing=t1[t.easing]||t1.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=i,this._prop=r,this._from=f,this._to=o,this._promises=void 0}active(){return this._active}update(t,i,r){if(this._active){this._notify(!1);const o=this._target[this._prop],c=r-this._start,f=this._duration-c;this._start=r,this._duration=Math.floor(Math.max(f,t.duration)),this._total+=c,this._loop=!!t.loop,this._to=mS([t.to,i,o,t.from]),this._from=mS([t.from,o,i])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const i=t-this._start,r=this._duration,o=this._prop,c=this._from,f=this._loop,p=this._to;let m;if(this._active=c!==p&&(f||i<r),!this._active){this._target[o]=p,this._notify(!0);return}if(i<0){this._target[o]=c;return}m=i/r%2,m=f&&m>1?2-m:m,m=this._easing(Math.min(1,Math.max(0,m))),this._target[o]=this._fn(c,p,m)}wait(){const t=this._promises||(this._promises=[]);return new Promise((i,r)=>{t.push({res:i,rej:r})})}_notify(t){const i=t?"res":"rej",r=this._promises||[];for(let o=0;o<r.length;o++)r[o][i]()}}class kO{constructor(t,i){this._chart=t,this._properties=new Map,this.configure(i)}configure(t){if(!Un(t))return;const i=Object.keys(Sa.animation),r=this._properties;Object.getOwnPropertyNames(t).forEach(o=>{const c=t[o];if(!Un(c))return;const f={};for(const p of i)f[p]=c[p];(la(c.properties)&&c.properties||[o]).forEach(p=>{(p===o||!r.has(p))&&r.set(p,f)})})}_animateOptions(t,i){const r=i.options,o=a9(t,r);if(!o)return[];const c=this._createAnimations(o,r);return r.$shared&&i9(t.options.$animations,r).then(()=>{t.options=r},()=>{}),c}_createAnimations(t,i){const r=this._properties,o=[],c=t.$animations||(t.$animations={}),f=Object.keys(i),p=Date.now();let m;for(m=f.length-1;m>=0;--m){const b=f[m];if(b.charAt(0)==="$")continue;if(b==="options"){o.push(...this._animateOptions(t,i));continue}const S=i[b];let E=c[b];const _=r.get(b);if(E)if(_&&E.active()){E.update(_,S,p);continue}else E.cancel();if(!_||!_.duration){t[b]=S;continue}c[b]=E=new n9(_,t,b,S),o.push(E)}return o}update(t,i){if(this._properties.size===0){Object.assign(t,i);return}const r=this._createAnimations(t,i);if(r.length)return Wd.add(this._chart,r),!0}}function i9(e,t){const i=[],r=Object.keys(t);for(let o=0;o<r.length;o++){const c=e[r[o]];c&&c.active()&&i.push(c.wait())}return Promise.all(i)}function a9(e,t){if(!t)return;let i=e.options;if(!i){e.options=t;return}return i.$shared&&(e.options=i=Object.assign({},i,{$shared:!1,$animations:{}})),i}function zO(e,t){const i=e&&e.options||{},r=i.reverse,o=i.min===void 0?t:0,c=i.max===void 0?t:0;return{start:r?c:o,end:r?o:c}}function r9(e,t,i){if(i===!1)return!1;const r=zO(e,i),o=zO(t,i);return{top:o.end,right:r.end,bottom:o.start,left:r.start}}function l9(e){let t,i,r,o;return Un(e)?(t=e.top,i=e.right,r=e.bottom,o=e.left):t=i=r=o=e,{top:t,right:i,bottom:r,left:o,disabled:e===!1}}function UO(e,t){const i=[],r=e._getSortedDatasetMetas(t);let o,c;for(o=0,c=r.length;o<c;++o)i.push(r[o].index);return i}function HO(e,t,i,r={}){const o=e.keys,c=r.mode==="single";let f,p,m,b;if(t===null)return;let S=!1;for(f=0,p=o.length;f<p;++f){if(m=+o[f],m===i){if(S=!0,r.all)continue;break}b=e.values[m],jr(b)&&(c||t===0||Ef(t)===Ef(b))&&(t+=b)}return!S&&!r.all?0:t}function o9(e,t){const{iScale:i,vScale:r}=t,o=i.axis==="x"?"x":"y",c=r.axis==="x"?"x":"y",f=Object.keys(e),p=new Array(f.length);let m,b,S;for(m=0,b=f.length;m<b;++m)S=f[m],p[m]={[o]:S,[c]:e[S]};return p}function FT(e,t){const i=e&&e.options.stacked;return i||i===void 0&&t.stack!==void 0}function s9(e,t,i){return`${e.id}.${t.id}.${i.stack||i.type}`}function u9(e){const{min:t,max:i,minDefined:r,maxDefined:o}=e.getUserBounds();return{min:r?t:Number.NEGATIVE_INFINITY,max:o?i:Number.POSITIVE_INFINITY}}function c9(e,t,i){const r=e[t]||(e[t]={});return r[i]||(r[i]={})}function jO(e,t,i,r){for(const o of t.getMatchingVisibleMetas(r).reverse()){const c=e[o.index];if(i&&c>0||!i&&c<0)return o.index}return null}function FO(e,t){const{chart:i,_cachedMeta:r}=e,o=i._stacks||(i._stacks={}),{iScale:c,vScale:f,index:p}=r,m=c.axis,b=f.axis,S=s9(c,f,r),E=t.length;let _;for(let O=0;O<E;++O){const M=t[O],{[m]:N,[b]:w}=M,U=M._stacks||(M._stacks={});_=U[b]=c9(o,S,N),_[p]=w,_._top=jO(_,f,!0,r.type),_._bottom=jO(_,f,!1,r.type);const q=_._visualValues||(_._visualValues={});q[p]=w}}function IT(e,t){const i=e.scales;return Object.keys(i).filter(r=>i[r].axis===t).shift()}function f9(e,t){return Mp(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function d9(e,t,i){return Mp(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:i,index:t,mode:"default",type:"data"})}function a1(e,t){const i=e.controller.index,r=e.vScale&&e.vScale.axis;if(r){t=t||e._parsed;for(const o of t){const c=o._stacks;if(!c||c[r]===void 0||c[r][i]===void 0)return;delete c[r][i],c[r]._visualValues!==void 0&&c[r]._visualValues[i]!==void 0&&delete c[r]._visualValues[i]}}}const PT=e=>e==="reset"||e==="none",IO=(e,t)=>t?e:Object.assign({},e),h9=(e,t,i)=>e&&!t.hidden&&t._stacked&&{keys:UO(i,!0),values:null};class Np{constructor(t,i){this.chart=t,this._ctx=t.ctx,this.index=i,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 t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=FT(t.vScale,t),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(t){this.index!==t&&a1(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,i=this._cachedMeta,r=this.getDataset(),o=(E,_,O,M)=>E==="x"?_:E==="r"?M:O,c=i.xAxisID=En(r.xAxisID,IT(t,"x")),f=i.yAxisID=En(r.yAxisID,IT(t,"y")),p=i.rAxisID=En(r.rAxisID,IT(t,"r")),m=i.indexAxis,b=i.iAxisID=o(m,c,f,p),S=i.vAxisID=o(m,f,c,p);i.xScale=this.getScaleForId(c),i.yScale=this.getScaleForId(f),i.rScale=this.getScaleForId(p),i.iScale=this.getScaleForId(b),i.vScale=this.getScaleForId(S)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const i=this._cachedMeta;return t===i.iScale?i.vScale:i.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&lO(this._data,this),t._stacked&&a1(t)}_dataCheck(){const t=this.getDataset(),i=t.data||(t.data=[]),r=this._data;if(Un(i)){const o=this._cachedMeta;this._data=o9(i,o)}else if(r!==i){if(r){lO(r,this);const o=this._cachedMeta;a1(o),o._parsed=[]}i&&Object.isExtensible(i)&&$5(i,this),this._syncList=[],this._data=i}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const i=this._cachedMeta,r=this.getDataset();let o=!1;this._dataCheck();const c=i._stacked;i._stacked=FT(i.vScale,i),i.stack!==r.stack&&(o=!0,a1(i),i.stack=r.stack),this._resyncElements(t),(o||c!==i._stacked)&&(FO(this,i._parsed),i._stacked=FT(i.vScale,i))}configure(){const t=this.chart.config,i=t.datasetScopeKeys(this._type),r=t.getOptionScopes(this.getDataset(),i,!0);this.options=t.createResolver(r,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,i){const{_cachedMeta:r,_data:o}=this,{iScale:c,_stacked:f}=r,p=c.axis;let m=t===0&&i===o.length?!0:r._sorted,b=t>0&&r._parsed[t-1],S,E,_;if(this._parsing===!1)r._parsed=o,r._sorted=!0,_=o;else{la(o[t])?_=this.parseArrayData(r,o,t,i):Un(o[t])?_=this.parseObjectData(r,o,t,i):_=this.parsePrimitiveData(r,o,t,i);const O=()=>E[p]===null||b&&E[p]<b[p];for(S=0;S<i;++S)r._parsed[S+t]=E=_[S],m&&(O()&&(m=!1),b=E);r._sorted=m}f&&FO(this,_)}parsePrimitiveData(t,i,r,o){const{iScale:c,vScale:f}=t,p=c.axis,m=f.axis,b=c.getLabels(),S=c===f,E=new Array(o);let _,O,M;for(_=0,O=o;_<O;++_)M=_+r,E[_]={[p]:S||c.parse(b[M],M),[m]:f.parse(i[M],M)};return E}parseArrayData(t,i,r,o){const{xScale:c,yScale:f}=t,p=new Array(o);let m,b,S,E;for(m=0,b=o;m<b;++m)S=m+r,E=i[S],p[m]={x:c.parse(E[0],S),y:f.parse(E[1],S)};return p}parseObjectData(t,i,r,o){const{xScale:c,yScale:f}=t,{xAxisKey:p="x",yAxisKey:m="y"}=this._parsing,b=new Array(o);let S,E,_,O;for(S=0,E=o;S<E;++S)_=S+r,O=i[_],b[S]={x:c.parse(Op(O,p),_),y:f.parse(Op(O,m),_)};return b}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,i,r){const o=this.chart,c=this._cachedMeta,f=i[t.axis],p={keys:UO(o,!0),values:i._stacks[t.axis]._visualValues};return HO(p,f,c.index,{mode:r})}updateRangeFromParsed(t,i,r,o){const c=r[i.axis];let f=c===null?NaN:c;const p=o&&r._stacks[i.axis];o&&p&&(o.values=p,f=HO(o,c,this._cachedMeta.index)),t.min=Math.min(t.min,f),t.max=Math.max(t.max,f)}getMinMax(t,i){const r=this._cachedMeta,o=r._parsed,c=r._sorted&&t===r.iScale,f=o.length,p=this._getOtherScale(t),m=h9(i,r,this.chart),b={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:S,max:E}=u9(p);let _,O;function M(){O=o[_];const N=O[p.axis];return!jr(O[t.axis])||S>N||E<N}for(_=0;_<f&&!(!M()&&(this.updateRangeFromParsed(b,t,O,m),c));++_);if(c){for(_=f-1;_>=0;--_)if(!M()){this.updateRangeFromParsed(b,t,O,m);break}}return b}getAllParsedValues(t){const i=this._cachedMeta._parsed,r=[];let o,c,f;for(o=0,c=i.length;o<c;++o)f=i[o][t.axis],jr(f)&&r.push(f);return r}getMaxOverflow(){return!1}getLabelAndValue(t){const i=this._cachedMeta,r=i.iScale,o=i.vScale,c=this.getParsed(t);return{label:r?""+r.getLabelForValue(c[r.axis]):"",value:o?""+o.getLabelForValue(c[o.axis]):""}}_update(t){const i=this._cachedMeta;this.update(t||"default"),i._clip=l9(En(this.options.clip,r9(i.xScale,i.yScale,this.getMaxOverflow())))}update(t){}draw(){const t=this._ctx,i=this.chart,r=this._cachedMeta,o=r.data||[],c=i.chartArea,f=[],p=this._drawStart||0,m=this._drawCount||o.length-p,b=this.options.drawActiveElementsOnTop;let S;for(r.dataset&&r.dataset.draw(t,c,p,m),S=p;S<p+m;++S){const E=o[S];E.hidden||(E.active&&b?f.push(E):E.draw(t,c))}for(S=0;S<f.length;++S)f[S].draw(t,c)}getStyle(t,i){const r=i?"active":"default";return t===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(r):this.resolveDataElementOptions(t||0,r)}getContext(t,i,r){const o=this.getDataset();let c;if(t>=0&&t<this._cachedMeta.data.length){const f=this._cachedMeta.data[t];c=f.$context||(f.$context=d9(this.getContext(),t,f)),c.parsed=this.getParsed(t),c.raw=o.data[t],c.index=c.dataIndex=t}else c=this.$context||(this.$context=f9(this.chart.getContext(),this.index)),c.dataset=o,c.index=c.datasetIndex=this.index;return c.active=!!i,c.mode=r,c}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,i){return this._resolveElementOptions(this.dataElementType.id,i,t)}_resolveElementOptions(t,i="default",r){const o=i==="active",c=this._cachedDataOpts,f=t+"-"+i,p=c[f],m=this.enableOptionSharing&&Wb(r);if(p)return IO(p,m);const b=this.chart.config,S=b.datasetElementScopeKeys(this._type,t),E=o?[`${t}Hover`,"hover",t,""]:[t,""],_=b.getOptionScopes(this.getDataset(),S),O=Object.keys(Sa.elements[t]),M=()=>this.getContext(r,o,i),N=b.resolveNamedOptions(_,O,M,E);return N.$shared&&(N.$shared=m,c[f]=Object.freeze(IO(N,m))),N}_resolveAnimations(t,i,r){const o=this.chart,c=this._cachedDataOpts,f=`animation-${i}`,p=c[f];if(p)return p;let m;if(o.options.animation!==!1){const S=this.chart.config,E=S.datasetAnimationScopeKeys(this._type,i),_=S.getOptionScopes(this.getDataset(),E);m=S.createResolver(_,this.getContext(t,r,i))}const b=new kO(o,m&&m.animations);return m&&m._cacheable&&(c[f]=Object.freeze(b)),b}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,i){return!i||PT(t)||this.chart._animationsDisabled}_getSharedOptions(t,i){const r=this.resolveDataElementOptions(t,i),o=this._sharedOptions,c=this.getSharedOptions(r),f=this.includeOptions(i,c)||c!==o;return this.updateSharedOptions(c,i,r),{sharedOptions:c,includeOptions:f}}updateElement(t,i,r,o){PT(o)?Object.assign(t,r):this._resolveAnimations(i,o).update(t,r)}updateSharedOptions(t,i,r){t&&!PT(i)&&this._resolveAnimations(void 0,i).update(t,r)}_setStyle(t,i,r,o){t.active=o;const c=this.getStyle(i,o);this._resolveAnimations(i,r,o).update(t,{options:!o&&this.getSharedOptions(c)||c})}removeHoverStyle(t,i,r){this._setStyle(t,r,"active",!1)}setHoverStyle(t,i,r){this._setStyle(t,r,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const i=this._data,r=this._cachedMeta.data;for(const[p,m,b]of this._syncList)this[p](m,b);this._syncList=[];const o=r.length,c=i.length,f=Math.min(c,o);f&&this.parse(0,f),c>o?this._insertElements(o,c-o,t):c<o&&this._removeElements(c,o-c)}_insertElements(t,i,r=!0){const o=this._cachedMeta,c=o.data,f=t+i;let p;const m=b=>{for(b.length+=i,p=b.length-1;p>=f;p--)b[p]=b[p-i]};for(m(c),p=t;p<f;++p)c[p]=new this.dataElementType;this._parsing&&m(o._parsed),this.parse(t,i),r&&this.updateElements(c,t,i,"reset")}updateElements(t,i,r,o){}_removeElements(t,i){const r=this._cachedMeta;if(this._parsing){const o=r._parsed.splice(t,i);r._stacked&&a1(r,o)}r.data.splice(t,i)}_sync(t){if(this._parsing)this._syncList.push(t);else{const[i,r,o]=t;this[i](r,o)}this.chart._dataChanges.push([this.index,...t])}_onDataPush(){const t=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-t,t])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(t,i){i&&this._sync(["_removeElements",t,i]);const r=arguments.length-2;r&&this._sync(["_insertElements",t,r])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}ht(Np,"defaults",{}),ht(Np,"datasetElementType",null),ht(Np,"dataElementType",null);function p9(e,t){if(!e._cache.$bar){const i=e.getMatchingVisibleMetas(t);let r=[];for(let o=0,c=i.length;o<c;o++)r=r.concat(i[o].controller.getAllParsedValues(e));e._cache.$bar=oO(r.sort((o,c)=>o-c))}return e._cache.$bar}function g9(e){const t=e.iScale,i=p9(t,e.type);let r=t._length,o,c,f,p;const m=()=>{f===32767||f===-32768||(Wb(p)&&(r=Math.min(r,Math.abs(f-p)||r)),p=f)};for(o=0,c=i.length;o<c;++o)f=t.getPixelForValue(i[o]),m();for(p=void 0,o=0,c=t.ticks.length;o<c;++o)f=t.getPixelForTick(o),m();return r}function m9(e,t,i,r){const o=i.barThickness;let c,f;return Wn(o)?(c=t.min*i.categoryPercentage,f=i.barPercentage):(c=o*r,f=1),{chunk:c/r,ratio:f,start:t.pixels[e]-c/2}}function y9(e,t,i,r){const o=t.pixels,c=o[e];let f=e>0?o[e-1]:null,p=e<o.length-1?o[e+1]:null;const m=i.categoryPercentage;f===null&&(f=c-(p===null?t.end-t.start:p-c)),p===null&&(p=c+c-f);const b=c-(c-Math.min(f,p))/2*m;return{chunk:Math.abs(p-f)/2*m/r,ratio:i.barPercentage,start:b}}function v9(e,t,i,r){const o=i.parse(e[0],r),c=i.parse(e[1],r),f=Math.min(o,c),p=Math.max(o,c);let m=f,b=p;Math.abs(f)>Math.abs(p)&&(m=p,b=f),t[i.axis]=b,t._custom={barStart:m,barEnd:b,start:o,end:c,min:f,max:p}}function PO(e,t,i,r){return la(e)?v9(e,t,i,r):t[i.axis]=i.parse(e,r),t}function qO(e,t,i,r){const o=e.iScale,c=e.vScale,f=o.getLabels(),p=o===c,m=[];let b,S,E,_;for(b=i,S=i+r;b<S;++b)_=t[b],E={},E[o.axis]=p||o.parse(f[b],b),m.push(PO(_,E,c,b));return m}function qT(e){return e&&e.barStart!==void 0&&e.barEnd!==void 0}function b9(e,t,i){return e!==0?Ef(e):(t.isHorizontal()?1:-1)*(t.min>=i?1:-1)}function x9(e){let t,i,r,o,c;return e.horizontal?(t=e.base>e.x,i="left",r="right"):(t=e.base<e.y,i="bottom",r="top"),t?(o="end",c="start"):(o="start",c="end"),{start:i,end:r,reverse:t,top:o,bottom:c}}function S9(e,t,i,r){let o=t.borderSkipped;const c={};if(!o){e.borderSkipped=c;return}if(o===!0){e.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}const{start:f,end:p,reverse:m,top:b,bottom:S}=x9(e);o==="middle"&&i&&(e.enableBorderRadius=!0,(i._top||0)===r?o=b:(i._bottom||0)===r?o=S:(c[VO(S,f,p,m)]=!0,o=b)),c[VO(o,f,p,m)]=!0,e.borderSkipped=c}function VO(e,t,i,r){return r?(e=E9(e,t,i),e=YO(e,i,t)):e=YO(e,t,i),e}function E9(e,t,i){return e===t?i:e===i?t:e}function YO(e,t,i){return e==="start"?t:e==="end"?i:e}function A9(e,{inflateAmount:t},i){e.inflateAmount=t==="auto"?i===1?.33:0:t}class SS extends Np{parsePrimitiveData(t,i,r,o){return qO(t,i,r,o)}parseArrayData(t,i,r,o){return qO(t,i,r,o)}parseObjectData(t,i,r,o){const{iScale:c,vScale:f}=t,{xAxisKey:p="x",yAxisKey:m="y"}=this._parsing,b=c.axis==="x"?p:m,S=f.axis==="x"?p:m,E=[];let _,O,M,N;for(_=r,O=r+o;_<O;++_)N=i[_],M={},M[c.axis]=c.parse(Op(N,b),_),E.push(PO(Op(N,S),M,f,_));return E}updateRangeFromParsed(t,i,r,o){super.updateRangeFromParsed(t,i,r,o);const c=r._custom;c&&i===this._cachedMeta.vScale&&(t.min=Math.min(t.min,c.min),t.max=Math.max(t.max,c.max))}getMaxOverflow(){return 0}getLabelAndValue(t){const i=this._cachedMeta,{iScale:r,vScale:o}=i,c=this.getParsed(t),f=c._custom,p=qT(f)?"["+f.start+", "+f.end+"]":""+o.getLabelForValue(c[o.axis]);return{label:""+r.getLabelForValue(c[r.axis]),value:p}}initialize(){this.enableOptionSharing=!0,super.initialize();const t=this._cachedMeta;t.stack=this.getDataset().stack}update(t){const i=this._cachedMeta;this.updateElements(i.data,0,i.data.length,t)}updateElements(t,i,r,o){const c=o==="reset",{index:f,_cachedMeta:{vScale:p}}=this,m=p.getBasePixel(),b=p.isHorizontal(),S=this._getRuler(),{sharedOptions:E,includeOptions:_}=this._getSharedOptions(i,o);for(let O=i;O<i+r;O++){const M=this.getParsed(O),N=c||Wn(M[p.axis])?{base:m,head:m}:this._calculateBarValuePixels(O),w=this._calculateBarIndexPixels(O,S),U=(M._stacks||{})[p.axis],q={horizontal:b,base:N.base,enableBorderRadius:!U||qT(M._custom)||f===U._top||f===U._bottom,x:b?N.head:w.center,y:b?w.center:N.head,height:b?w.size:Math.abs(N.size),width:b?Math.abs(N.size):w.size};_&&(q.options=E||this.resolveDataElementOptions(O,t[O].active?"active":o));const P=q.options||t[O].options;S9(q,P,U,f),A9(q,P,S.ratio),this.updateElement(t[O],O,q,o)}}_getStacks(t,i){const{iScale:r}=this._cachedMeta,o=r.getMatchingVisibleMetas(this._type).filter(S=>S.controller.options.grouped),c=r.options.stacked,f=[],p=this._cachedMeta.controller.getParsed(i),m=p&&p[r.axis],b=S=>{const E=S._parsed.find(O=>O[r.axis]===m),_=E&&E[S.vScale.axis];if(Wn(_)||isNaN(_))return!0};for(const S of o)if(!(i!==void 0&&b(S))&&((c===!1||f.indexOf(S.stack)===-1||c===void 0&&S.stack===void 0)&&f.push(S.stack),S.index===t))break;return f.length||f.push(void 0),f}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,i,r){const o=this._getStacks(t,r),c=i!==void 0?o.indexOf(i):-1;return c===-1?o.length-1:c}_getRuler(){const t=this.options,i=this._cachedMeta,r=i.iScale,o=[];let c,f;for(c=0,f=i.data.length;c<f;++c)o.push(r.getPixelForValue(this.getParsed(c)[r.axis],c));const p=t.barThickness;return{min:p||g9(i),pixels:o,start:r._startPixel,end:r._endPixel,stackCount:this._getStackCount(),scale:r,grouped:t.grouped,ratio:p?1:t.categoryPercentage*t.barPercentage}}_calculateBarValuePixels(t){const{_cachedMeta:{vScale:i,_stacked:r,index:o},options:{base:c,minBarLength:f}}=this,p=c||0,m=this.getParsed(t),b=m._custom,S=qT(b);let E=m[i.axis],_=0,O=r?this.applyStack(i,m,r):E,M,N;O!==E&&(_=O-E,O=E),S&&(E=b.barStart,O=b.barEnd-b.barStart,E!==0&&Ef(E)!==Ef(b.barEnd)&&(_=0),_+=E);const w=!Wn(c)&&!S?c:_;let U=i.getPixelForValue(w);if(this.chart.getDataVisibility(t)?M=i.getPixelForValue(_+O):M=U,N=M-U,Math.abs(N)<f){N=b9(N,i,p)*f,E===p&&(U-=N/2);const q=i.getPixelForDecimal(0),P=i.getPixelForDecimal(1),z=Math.min(q,P),R=Math.max(q,P);U=Math.max(Math.min(U,R),z),M=U+N,r&&!S&&(m._stacks[i.axis]._visualValues[o]=i.getValueForPixel(M)-i.getValueForPixel(U))}if(U===i.getPixelForValue(p)){const q=Ef(N)*i.getLineWidthForValue(p)/2;U+=q,N-=q}return{size:N,base:U,head:M,center:M+N/2}}_calculateBarIndexPixels(t,i){const r=i.scale,o=this.options,c=o.skipNull,f=En(o.maxBarThickness,1/0);let p,m;if(i.grouped){const b=c?this._getStackCount(t):i.stackCount,S=o.barThickness==="flex"?y9(t,i,o,b):m9(t,i,o,b),E=this._getStackIndex(this.index,this._cachedMeta.stack,c?t:void 0);p=S.start+S.chunk*E+S.chunk/2,m=Math.min(f,S.chunk*S.ratio)}else p=r.getPixelForValue(this.getParsed(t)[r.axis],t),m=Math.min(f,i.min*i.ratio);return{base:p-m/2,head:p+m/2,center:p,size:m}}draw(){const t=this._cachedMeta,i=t.vScale,r=t.data,o=r.length;let c=0;for(;c<o;++c)this.getParsed(c)[i.axis]!==null&&!r[c].hidden&&r[c].draw(this._ctx)}}ht(SS,"id","bar"),ht(SS,"defaults",{datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}}),ht(SS,"overrides",{scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}});function T9(e,t,i){let r=1,o=1,c=0,f=0;if(t<Wi){const p=e,m=p+t,b=Math.cos(p),S=Math.sin(p),E=Math.cos(m),_=Math.sin(m),O=(P,z,R)=>e1(P,p,m,!0)?1:Math.max(z,z*i,R,R*i),M=(P,z,R)=>e1(P,p,m,!0)?-1:Math.min(z,z*i,R,R*i),N=O(0,b,E),w=O(Na,S,_),U=M(Zi,b,E),q=M(Zi+Na,S,_);r=(N-U)/2,o=(w-q)/2,c=-(N+U)/2,f=-(w+q)/2}return{ratioX:r,ratioY:o,offsetX:c,offsetY:f}}class r1 extends Np{constructor(t,i){super(t,i),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,i){const r=this.getDataset().data,o=this._cachedMeta;if(this._parsing===!1)o._parsed=r;else{let c=m=>+r[m];if(Un(r[t])){const{key:m="value"}=this._parsing;c=b=>+Op(r[b],m)}let f,p;for(f=t,p=t+i;f<p;++f)o._parsed[f]=c(f)}}_getRotation(){return mc(this.options.rotation-90)}_getCircumference(){return mc(this.options.circumference)}_getRotationExtents(){let t=Wi,i=-Wi;for(let r=0;r<this.chart.data.datasets.length;++r)if(this.chart.isDatasetVisible(r)&&this.chart.getDatasetMeta(r).type===this._type){const o=this.chart.getDatasetMeta(r).controller,c=o._getRotation(),f=o._getCircumference();t=Math.min(t,c),i=Math.max(i,c+f)}return{rotation:t,circumference:i-t}}update(t){const i=this.chart,{chartArea:r}=i,o=this._cachedMeta,c=o.data,f=this.getMaxBorderWidth()+this.getMaxOffset(c)+this.options.spacing,p=Math.max((Math.min(r.width,r.height)-f)/2,0),m=Math.min(N5(this.options.cutout,p),1),b=this._getRingWeight(this.index),{circumference:S,rotation:E}=this._getRotationExtents(),{ratioX:_,ratioY:O,offsetX:M,offsetY:N}=T9(E,S,m),w=(r.width-f)/_,U=(r.height-f)/O,q=Math.max(Math.min(w,U)/2,0),P=ZD(this.options.radius,q),z=Math.max(P*m,0),R=(P-z)/this._getVisibleDatasetWeightTotal();this.offsetX=M*P,this.offsetY=N*P,o.total=this.calculateTotal(),this.outerRadius=P-R*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-R*b,0),this.updateElements(c,0,c.length,t)}_circumference(t,i){const r=this.options,o=this._cachedMeta,c=this._getCircumference();return i&&r.animation.animateRotate||!this.chart.getDataVisibility(t)||o._parsed[t]===null||o.data[t].hidden?0:this.calculateCircumference(o._parsed[t]*c/Wi)}updateElements(t,i,r,o){const c=o==="reset",f=this.chart,p=f.chartArea,b=f.options.animation,S=(p.left+p.right)/2,E=(p.top+p.bottom)/2,_=c&&b.animateScale,O=_?0:this.innerRadius,M=_?0:this.outerRadius,{sharedOptions:N,includeOptions:w}=this._getSharedOptions(i,o);let U=this._getRotation(),q;for(q=0;q<i;++q)U+=this._circumference(q,c);for(q=i;q<i+r;++q){const P=this._circumference(q,c),z=t[q],R={x:S+this.offsetX,y:E+this.offsetY,startAngle:U,endAngle:U+P,circumference:P,outerRadius:M,innerRadius:O};w&&(R.options=N||this.resolveDataElementOptions(q,z.active?"active":o)),U+=P,this.updateElement(z,q,R,o)}}calculateTotal(){const t=this._cachedMeta,i=t.data;let r=0,o;for(o=0;o<i.length;o++){const c=t._parsed[o];c!==null&&!isNaN(c)&&this.chart.getDataVisibility(o)&&!i[o].hidden&&(r+=Math.abs(c))}return r}calculateCircumference(t){const i=this._cachedMeta.total;return i>0&&!isNaN(t)?Wi*(Math.abs(t)/i):0}getLabelAndValue(t){const i=this._cachedMeta,r=this.chart,o=r.data.labels||[],c=dS(i._parsed[t],r.options.locale);return{label:o[t]||"",value:c}}getMaxBorderWidth(t){let i=0;const r=this.chart;let o,c,f,p,m;if(!t){for(o=0,c=r.data.datasets.length;o<c;++o)if(r.isDatasetVisible(o)){f=r.getDatasetMeta(o),t=f.data,p=f.controller;break}}if(!t)return 0;for(o=0,c=t.length;o<c;++o)m=p.resolveDataElementOptions(o),m.borderAlign!=="inner"&&(i=Math.max(i,m.borderWidth||0,m.hoverBorderWidth||0));return i}getMaxOffset(t){let i=0;for(let r=0,o=t.length;r<o;++r){const c=this.resolveDataElementOptions(r);i=Math.max(i,c.offset||0,c.hoverOffset||0)}return i}_getRingWeightOffset(t){let i=0;for(let r=0;r<t;++r)this.chart.isDatasetVisible(r)&&(i+=this._getRingWeight(r));return i}_getRingWeight(t){return Math.max(En(this.chart.data.datasets[t].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}ht(r1,"id","doughnut"),ht(r1,"defaults",{datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"}),ht(r1,"descriptors",{_scriptable:t=>t!=="spacing",_indexable:t=>t!=="spacing"&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")}),ht(r1,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const i=t.data;if(i.labels.length&&i.datasets.length){const{labels:{pointStyle:r,color:o}}=t.legend.options;return i.labels.map((c,f)=>{const m=t.getDatasetMeta(0).controller.getStyle(f);return{text:c,fillStyle:m.backgroundColor,strokeStyle:m.borderColor,fontColor:o,lineWidth:m.borderWidth,pointStyle:r,hidden:!t.getDataVisibility(f),index:f}})}return[]}},onClick(t,i,r){r.chart.toggleDataVisibility(i.index),r.chart.update()}}}});class ES extends Np{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const i=this._cachedMeta,{dataset:r,data:o=[],_dataset:c}=i,f=this.chart._animationsDisabled;let{start:p,count:m}=W5(i,o,f);this._drawStart=p,this._drawCount=m,K5(i)&&(p=0,m=o.length),r._chart=this.chart,r._datasetIndex=this.index,r._decimated=!!c._decimated,r.points=o;const b=this.resolveDatasetElementOptions(t);this.options.showLine||(b.borderWidth=0),b.segment=this.options.segment,this.updateElement(r,void 0,{animated:!f,options:b},t),this.updateElements(o,p,m,t)}updateElements(t,i,r,o){const c=o==="reset",{iScale:f,vScale:p,_stacked:m,_dataset:b}=this._cachedMeta,{sharedOptions:S,includeOptions:E}=this._getSharedOptions(i,o),_=f.axis,O=p.axis,{spanGaps:M,segment:N}=this.options,w=Jb(M)?M:Number.POSITIVE_INFINITY,U=this.chart._animationsDisabled||c||o==="none",q=i+r,P=t.length;let z=i>0&&this.getParsed(i-1);for(let R=0;R<P;++R){const H=t[R],j=U?H:{};if(R<i||R>=q){j.skip=!0;continue}const K=this.getParsed(R),W=Wn(K[O]),ge=j[_]=f.getPixelForValue(K[_],R),ce=j[O]=c||W?p.getBasePixel():p.getPixelForValue(m?this.applyStack(p,K,m):K[O],R);j.skip=isNaN(ge)||isNaN(ce)||W,j.stop=R>0&&Math.abs(K[_]-z[_])>w,N&&(j.parsed=K,j.raw=b.data[R]),E&&(j.options=S||this.resolveDataElementOptions(R,H.active?"active":o)),U||this.updateElement(H,R,j,o),z=K}}getMaxOverflow(){const t=this._cachedMeta,i=t.dataset,r=i.options&&i.options.borderWidth||0,o=t.data||[];if(!o.length)return r;const c=o[0].size(this.resolveDataElementOptions(0)),f=o[o.length-1].size(this.resolveDataElementOptions(o.length-1));return Math.max(r,c,f)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}ht(ES,"id","line"),ht(ES,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),ht(ES,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});class AS extends Np{constructor(t,i){super(t,i),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const i=this._cachedMeta,r=this.chart,o=r.data.labels||[],c=dS(i._parsed[t].r,r.options.locale);return{label:o[t]||"",value:c}}parseObjectData(t,i,r,o){return O8.bind(this)(t,i,r,o)}update(t){const i=this._cachedMeta.data;this._updateRadius(),this.updateElements(i,0,i.length,t)}getMinMax(){const t=this._cachedMeta,i={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach((r,o)=>{const c=this.getParsed(o).r;!isNaN(c)&&this.chart.getDataVisibility(o)&&(c<i.min&&(i.min=c),c>i.max&&(i.max=c))}),i}_updateRadius(){const t=this.chart,i=t.chartArea,r=t.options,o=Math.min(i.right-i.left,i.bottom-i.top),c=Math.max(o/2,0),f=Math.max(r.cutoutPercentage?c/100*r.cutoutPercentage:1,0),p=(c-f)/t.getVisibleDatasetCount();this.outerRadius=c-p*this.index,this.innerRadius=this.outerRadius-p}updateElements(t,i,r,o){const c=o==="reset",f=this.chart,m=f.options.animation,b=this._cachedMeta.rScale,S=b.xCenter,E=b.yCenter,_=b.getIndexAngle(0)-.5*Zi;let O=_,M;const N=360/this.countVisibleElements();for(M=0;M<i;++M)O+=this._computeAngle(M,o,N);for(M=i;M<i+r;M++){const w=t[M];let U=O,q=O+this._computeAngle(M,o,N),P=f.getDataVisibility(M)?b.getDistanceFromCenterForValue(this.getParsed(M).r):0;O=q,c&&(m.animateScale&&(P=0),m.animateRotate&&(U=q=_));const z={x:S,y:E,innerRadius:0,outerRadius:P,startAngle:U,endAngle:q,options:this.resolveDataElementOptions(M,w.active?"active":o)};this.updateElement(w,M,z,o)}}countVisibleElements(){const t=this._cachedMeta;let i=0;return t.data.forEach((r,o)=>{!isNaN(this.getParsed(o).r)&&this.chart.getDataVisibility(o)&&i++}),i}_computeAngle(t,i,r){return this.chart.getDataVisibility(t)?mc(this.resolveDataElementOptions(t,i).angle||r):0}}ht(AS,"id","polarArea"),ht(AS,"defaults",{dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0}),ht(AS,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const i=t.data;if(i.labels.length&&i.datasets.length){const{labels:{pointStyle:r,color:o}}=t.legend.options;return i.labels.map((c,f)=>{const m=t.getDatasetMeta(0).controller.getStyle(f);return{text:c,fillStyle:m.backgroundColor,strokeStyle:m.borderColor,fontColor:o,lineWidth:m.borderWidth,pointStyle:r,hidden:!t.getDataVisibility(f),index:f}})}return[]}},onClick(t,i,r){r.chart.toggleDataVisibility(i.index),r.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}});function Ym(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class VT{constructor(t){ht(this,"options");this.options=t||{}}static override(t){Object.assign(VT.prototype,t)}init(){}formats(){return Ym()}parse(){return Ym()}format(){return Ym()}add(){return Ym()}diff(){return Ym()}startOf(){return Ym()}endOf(){return Ym()}}var C9={_date:VT};function _9(e,t,i,r){const{controller:o,data:c,_sorted:f}=e,p=o._cachedMeta.iScale,m=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null;if(p&&t===p.axis&&t!=="r"&&f&&c.length){const b=p._reversePixels?G5:Um;if(r){if(o._sharedOptions){const S=c[0],E=typeof S.getRange=="function"&&S.getRange(t);if(E){const _=b(c,t,i-E),O=b(c,t,i+E);return{lo:_.lo,hi:O.hi}}}}else{const S=b(c,t,i);if(m){const{vScale:E}=o._cachedMeta,{_parsed:_}=e,O=_.slice(0,S.lo+1).reverse().findIndex(N=>!Wn(N[E.axis]));S.lo-=Math.max(0,O);const M=_.slice(S.hi).findIndex(N=>!Wn(N[E.axis]));S.hi+=Math.max(0,M)}return S}}return{lo:0,hi:c.length-1}}function TS(e,t,i,r,o){const c=e.getSortedVisibleDatasetMetas(),f=i[t];for(let p=0,m=c.length;p<m;++p){const{index:b,data:S}=c[p],{lo:E,hi:_}=_9(c[p],t,f,o);for(let O=E;O<=_;++O){const M=S[O];M.skip||r(M,b,O)}}}function w9(e){const t=e.indexOf("x")!==-1,i=e.indexOf("y")!==-1;return function(r,o){const c=t?Math.abs(r.x-o.x):0,f=i?Math.abs(r.y-o.y):0;return Math.sqrt(Math.pow(c,2)+Math.pow(f,2))}}function YT(e,t,i,r,o){const c=[];return!o&&!e.isPointInArea(t)||TS(e,i,t,function(p,m,b){!o&&!Zd(p,e.chartArea,0)||p.inRange(t.x,t.y,r)&&c.push({element:p,datasetIndex:m,index:b})},!0),c}function D9(e,t,i,r){let o=[];function c(f,p,m){const{startAngle:b,endAngle:S}=f.getProps(["startAngle","endAngle"],r),{angle:E}=aO(f,{x:t.x,y:t.y});e1(E,b,S)&&o.push({element:f,datasetIndex:p,index:m})}return TS(e,i,t,c),o}function O9(e,t,i,r,o,c){let f=[];const p=w9(i);let m=Number.POSITIVE_INFINITY;function b(S,E,_){const O=S.inRange(t.x,t.y,o);if(r&&!O)return;const M=S.getCenterPoint(o);if(!(!!c||e.isPointInArea(M))&&!O)return;const w=p(t,M);w<m?(f=[{element:S,datasetIndex:E,index:_}],m=w):w===m&&f.push({element:S,datasetIndex:E,index:_})}return TS(e,i,t,b),f}function GT(e,t,i,r,o,c){return!c&&!e.isPointInArea(t)?[]:i==="r"&&!r?D9(e,t,i,o):O9(e,t,i,r,o,c)}function GO(e,t,i,r,o){const c=[],f=i==="x"?"inXRange":"inYRange";let p=!1;return TS(e,i,t,(m,b,S)=>{m[f]&&m[f](t[i],o)&&(c.push({element:m,datasetIndex:b,index:S}),p=p||m.inRange(t.x,t.y,o))}),r&&!p?[]:c}var R9={modes:{index(e,t,i,r){const o=qm(t,e),c=i.axis||"x",f=i.includeInvisible||!1,p=i.intersect?YT(e,o,c,r,f):GT(e,o,c,!1,r,f),m=[];return p.length?(e.getSortedVisibleDatasetMetas().forEach(b=>{const S=p[0].index,E=b.data[S];E&&!E.skip&&m.push({element:E,datasetIndex:b.index,index:S})}),m):[]},dataset(e,t,i,r){const o=qm(t,e),c=i.axis||"xy",f=i.includeInvisible||!1;let p=i.intersect?YT(e,o,c,r,f):GT(e,o,c,!1,r,f);if(p.length>0){const m=p[0].datasetIndex,b=e.getDatasetMeta(m).data;p=[];for(let S=0;S<b.length;++S)p.push({element:b[S],datasetIndex:m,index:S})}return p},point(e,t,i,r){const o=qm(t,e),c=i.axis||"xy",f=i.includeInvisible||!1;return YT(e,o,c,r,f)},nearest(e,t,i,r){const o=qm(t,e),c=i.axis||"xy",f=i.includeInvisible||!1;return GT(e,o,c,i.intersect,r,f)},x(e,t,i,r){const o=qm(t,e);return GO(e,o,"x",i.intersect,r)},y(e,t,i,r){const o=qm(t,e);return GO(e,o,"y",i.intersect,r)}}};const XO=["left","top","right","bottom"];function l1(e,t){return e.filter(i=>i.pos===t)}function $O(e,t){return e.filter(i=>XO.indexOf(i.pos)===-1&&i.box.axis===t)}function o1(e,t){return e.sort((i,r)=>{const o=t?r:i,c=t?i:r;return o.weight===c.weight?o.index-c.index:o.weight-c.weight})}function M9(e){const t=[];let i,r,o,c,f,p;for(i=0,r=(e||[]).length;i<r;++i)o=e[i],{position:c,options:{stack:f,stackWeight:p=1}}=o,t.push({index:i,box:o,pos:c,horizontal:o.isHorizontal(),weight:o.weight,stack:f&&c+f,stackWeight:p});return t}function N9(e){const t={};for(const i of e){const{stack:r,pos:o,stackWeight:c}=i;if(!r||!XO.includes(o))continue;const f=t[r]||(t[r]={count:0,placed:0,weight:0,size:0});f.count++,f.weight+=c}return t}function B9(e,t){const i=N9(e),{vBoxMaxWidth:r,hBoxMaxHeight:o}=t;let c,f,p;for(c=0,f=e.length;c<f;++c){p=e[c];const{fullSize:m}=p.box,b=i[p.stack],S=b&&p.stackWeight/b.weight;p.horizontal?(p.width=S?S*r:m&&t.availableWidth,p.height=o):(p.width=r,p.height=S?S*o:m&&t.availableHeight)}return i}function L9(e){const t=M9(e),i=o1(t.filter(b=>b.box.fullSize),!0),r=o1(l1(t,"left"),!0),o=o1(l1(t,"right")),c=o1(l1(t,"top"),!0),f=o1(l1(t,"bottom")),p=$O(t,"x"),m=$O(t,"y");return{fullSize:i,leftAndTop:r.concat(c),rightAndBottom:o.concat(m).concat(f).concat(p),chartArea:l1(t,"chartArea"),vertical:r.concat(o).concat(m),horizontal:c.concat(f).concat(p)}}function QO(e,t,i,r){return Math.max(e[i],t[i])+Math.max(e[r],t[r])}function ZO(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function k9(e,t,i,r){const{pos:o,box:c}=i,f=e.maxPadding;if(!Un(o)){i.size&&(e[o]-=i.size);const E=r[i.stack]||{size:0,count:1};E.size=Math.max(E.size,i.horizontal?c.height:c.width),i.size=E.size/E.count,e[o]+=i.size}c.getPadding&&ZO(f,c.getPadding());const p=Math.max(0,t.outerWidth-QO(f,e,"left","right")),m=Math.max(0,t.outerHeight-QO(f,e,"top","bottom")),b=p!==e.w,S=m!==e.h;return e.w=p,e.h=m,i.horizontal?{same:b,other:S}:{same:S,other:b}}function z9(e){const t=e.maxPadding;function i(r){const o=Math.max(t[r]-e[r],0);return e[r]+=o,o}e.y+=i("top"),e.x+=i("left"),i("right"),i("bottom")}function U9(e,t){const i=t.maxPadding;function r(o){const c={left:0,top:0,right:0,bottom:0};return o.forEach(f=>{c[f]=Math.max(t[f],i[f])}),c}return r(e?["left","right"]:["top","bottom"])}function s1(e,t,i,r){const o=[];let c,f,p,m,b,S;for(c=0,f=e.length,b=0;c<f;++c){p=e[c],m=p.box,m.update(p.width||t.w,p.height||t.h,U9(p.horizontal,t));const{same:E,other:_}=k9(t,i,p,r);b|=E&&o.length,S=S||_,m.fullSize||o.push(p)}return b&&s1(o,t,i,r)||S}function CS(e,t,i,r,o){e.top=i,e.left=t,e.right=t+r,e.bottom=i+o,e.width=r,e.height=o}function WO(e,t,i,r){const o=i.padding;let{x:c,y:f}=t;for(const p of e){const m=p.box,b=r[p.stack]||{placed:0,weight:1},S=p.stackWeight/b.weight||1;if(p.horizontal){const E=t.w*S,_=b.size||m.height;Wb(b.start)&&(f=b.start),m.fullSize?CS(m,o.left,f,i.outerWidth-o.right-o.left,_):CS(m,t.left+b.placed,f,E,_),b.start=f,b.placed+=E,f=m.bottom}else{const E=t.h*S,_=b.size||m.width;Wb(b.start)&&(c=b.start),m.fullSize?CS(m,c,o.top,_,i.outerHeight-o.bottom-o.top):CS(m,c,t.top+b.placed,_,E),b.start=c,b.placed+=E,c=m.right}}t.x=c,t.y=f}var Eu={addBox(e,t){e.boxes||(e.boxes=[]),t.fullSize=t.fullSize||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(i){t.draw(i)}}]},e.boxes.push(t)},removeBox(e,t){const i=e.boxes?e.boxes.indexOf(t):-1;i!==-1&&e.boxes.splice(i,1)},configure(e,t,i){t.fullSize=i.fullSize,t.position=i.position,t.weight=i.weight},update(e,t,i,r){if(!e)return;const o=Nl(e.options.layout.padding),c=Math.max(t-o.width,0),f=Math.max(i-o.height,0),p=L9(e.boxes),m=p.vertical,b=p.horizontal;Ei(e.boxes,N=>{typeof N.beforeLayout=="function"&&N.beforeLayout()});const S=m.reduce((N,w)=>w.box.options&&w.box.options.display===!1?N:N+1,0)||1,E=Object.freeze({outerWidth:t,outerHeight:i,padding:o,availableWidth:c,availableHeight:f,vBoxMaxWidth:c/2/S,hBoxMaxHeight:f/2}),_=Object.assign({},o);ZO(_,Nl(r));const O=Object.assign({maxPadding:_,w:c,h:f,x:o.left,y:o.top},o),M=B9(m.concat(b),E);s1(p.fullSize,O,E,M),s1(m,O,E,M),s1(b,O,E,M)&&s1(m,O,E,M),z9(O),WO(p.leftAndTop,O,E,M),O.x+=O.w,O.y+=O.h,WO(p.rightAndBottom,O,E,M),e.chartArea={left:O.left,top:O.top,right:O.left+O.w,bottom:O.top+O.h,height:O.h,width:O.w},Ei(p.chartArea,N=>{const w=N.box;Object.assign(w,e.chartArea),w.update(O.w,O.h,{left:0,top:0,right:0,bottom:0})})}};class KO{acquireContext(t,i){}releaseContext(t){return!1}addEventListener(t,i,r){}removeEventListener(t,i,r){}getDevicePixelRatio(){return 1}getMaximumSize(t,i,r,o){return i=Math.max(0,i||t.width),r=r||t.height,{width:i,height:Math.max(0,o?Math.floor(i/o):r)}}isAttached(t){return!0}updateConfig(t){}}class H9 extends KO{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const _S="$chartjs",j9={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},JO=e=>e===null||e==="";function F9(e,t){const i=e.style,r=e.getAttribute("height"),o=e.getAttribute("width");if(e[_S]={initial:{height:r,width:o,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",i.boxSizing=i.boxSizing||"border-box",JO(o)){const c=CO(e,"width");c!==void 0&&(e.width=c)}if(JO(r))if(e.style.height==="")e.height=e.width/(t||2);else{const c=CO(e,"height");c!==void 0&&(e.height=c)}return e}const eR=q8?{passive:!0}:!1;function I9(e,t,i){e&&e.addEventListener(t,i,eR)}function P9(e,t,i){e&&e.canvas&&e.canvas.removeEventListener(t,i,eR)}function q9(e,t){const i=j9[e.type]||e.type,{x:r,y:o}=qm(e,t);return{type:i,chart:t,native:e,x:r!==void 0?r:null,y:o!==void 0?o:null}}function wS(e,t){for(const i of e)if(i===t||i.contains(t))return!0}function V9(e,t,i){const r=e.canvas,o=new MutationObserver(c=>{let f=!1;for(const p of c)f=f||wS(p.addedNodes,r),f=f&&!wS(p.removedNodes,r);f&&i()});return o.observe(document,{childList:!0,subtree:!0}),o}function Y9(e,t,i){const r=e.canvas,o=new MutationObserver(c=>{let f=!1;for(const p of c)f=f||wS(p.removedNodes,r),f=f&&!wS(p.addedNodes,r);f&&i()});return o.observe(document,{childList:!0,subtree:!0}),o}const u1=new Map;let tR=0;function nR(){const e=window.devicePixelRatio;e!==tR&&(tR=e,u1.forEach((t,i)=>{i.currentDevicePixelRatio!==e&&t()}))}function G9(e,t){u1.size||window.addEventListener("resize",nR),u1.set(e,t)}function X9(e){u1.delete(e),u1.size||window.removeEventListener("resize",nR)}function $9(e,t,i){const r=e.canvas,o=r&&jT(r);if(!o)return;const c=uO((p,m)=>{const b=o.clientWidth;i(p,m),b<o.clientWidth&&i()},window),f=new ResizeObserver(p=>{const m=p[0],b=m.contentRect.width,S=m.contentRect.height;b===0&&S===0||c(b,S)});return f.observe(o),G9(e,c),f}function XT(e,t,i){i&&i.disconnect(),t==="resize"&&X9(e)}function Q9(e,t,i){const r=e.canvas,o=uO(c=>{e.ctx!==null&&i(q9(c,e))},e);return I9(r,t,o),o}class Z9 extends KO{acquireContext(t,i){const r=t&&t.getContext&&t.getContext("2d");return r&&r.canvas===t?(F9(t,i),r):null}releaseContext(t){const i=t.canvas;if(!i[_S])return!1;const r=i[_S].initial;["height","width"].forEach(c=>{const f=r[c];Wn(f)?i.removeAttribute(c):i.setAttribute(c,f)});const o=r.style||{};return Object.keys(o).forEach(c=>{i.style[c]=o[c]}),i.width=i.width,delete i[_S],!0}addEventListener(t,i,r){this.removeEventListener(t,i);const o=t.$proxies||(t.$proxies={}),f={attach:V9,detach:Y9,resize:$9}[i]||Q9;o[i]=f(t,i,r)}removeEventListener(t,i){const r=t.$proxies||(t.$proxies={}),o=r[i];if(!o)return;({attach:XT,detach:XT,resize:XT}[i]||P9)(t,i,o),r[i]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,i,r,o){return P8(t,i,r,o)}isAttached(t){const i=t&&jT(t);return!!(i&&i.isConnected)}}function W9(e){return!HT()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?H9:Z9}let Kd=(mE=class{constructor(){ht(this,"x");ht(this,"y");ht(this,"active",!1);ht(this,"options");ht(this,"$animations")}tooltipPosition(t){const{x:i,y:r}=this.getProps(["x","y"],t);return{x:i,y:r}}hasValue(){return Jb(this.x)&&Jb(this.y)}getProps(t,i){const r=this.$animations;if(!i||!r)return this;const o={};return t.forEach(c=>{o[c]=r[c]&&r[c].active()?r[c]._to:this[c]}),o}},ht(mE,"defaults",{}),ht(mE,"defaultRoutes"),mE);function K9(e,t){const i=e.options.ticks,r=J9(e),o=Math.min(i.maxTicksLimit||r,r),c=i.major.enabled?t7(t):[],f=c.length,p=c[0],m=c[f-1],b=[];if(f>o)return n7(t,b,c,f/o),b;const S=e7(c,t,o);if(f>0){let E,_;const O=f>1?Math.round((m-p)/(f-1)):null;for(DS(t,b,S,Wn(O)?0:p-O,p),E=0,_=f-1;E<_;E++)DS(t,b,S,c[E],c[E+1]);return DS(t,b,S,m,Wn(O)?t.length:m+O),b}return DS(t,b,S),b}function J9(e){const t=e.options.offset,i=e._tickSize(),r=e._length/i+(t?0:1),o=e._maxLength/i;return Math.floor(Math.min(r,o))}function e7(e,t,i){const r=i7(e),o=t.length/i;if(!r)return Math.max(o,1);const c=F5(r);for(let f=0,p=c.length-1;f<p;f++){const m=c[f];if(m>o)return m}return Math.max(o,1)}function t7(e){const t=[];let i,r;for(i=0,r=e.length;i<r;i++)e[i].major&&t.push(i);return t}function n7(e,t,i,r){let o=0,c=i[0],f;for(r=Math.ceil(r),f=0;f<e.length;f++)f===c&&(t.push(e[f]),o++,c=i[o*r])}function DS(e,t,i,r,o){const c=En(r,0),f=Math.min(En(o,e.length),e.length);let p=0,m,b,S;for(i=Math.ceil(i),o&&(m=o-r,i=m/Math.floor(m/i)),S=c;S<0;)p++,S=Math.round(c+p*i);for(b=Math.max(c,0);b<f;b++)b===S&&(t.push(e[b]),p++,S=Math.round(c+p*i))}function i7(e){const t=e.length;let i,r;if(t<2)return!1;for(r=e[0],i=1;i<t;++i)if(e[i]-e[i-1]!==r)return!1;return r}const a7=e=>e==="left"?"right":e==="right"?"left":e,iR=(e,t,i)=>t==="top"||t==="left"?e[t]+i:e[t]-i,aR=(e,t)=>Math.min(t||e,e);function rR(e,t){const i=[],r=e.length/t,o=e.length;let c=0;for(;c<o;c+=r)i.push(e[Math.floor(c)]);return i}function r7(e,t,i){const r=e.ticks.length,o=Math.min(t,r-1),c=e._startPixel,f=e._endPixel,p=1e-6;let m=e.getPixelForTick(o),b;if(!(i&&(r===1?b=Math.max(m-c,f-m):t===0?b=(e.getPixelForTick(1)-m)/2:b=(m-e.getPixelForTick(o-1))/2,m+=o<t?b:-b,m<c-p||m>f+p)))return m}function l7(e,t){Ei(e,i=>{const r=i.gc,o=r.length/2;let c;if(o>t){for(c=0;c<o;++c)delete i.data[r[c]];r.splice(0,o)}})}function c1(e){return e.drawTicks?e.tickLength:0}function lR(e,t){if(!e.display)return 0;const i=hr(e.font,t),r=Nl(e.padding);return(la(e.text)?e.text.length:1)*i.lineHeight+r.height}function o7(e,t){return Mp(e,{scale:t,type:"scale"})}function s7(e,t,i){return Mp(e,{tick:i,index:t,type:"tick"})}function u7(e,t,i){let r=wT(e);return(i&&t!=="right"||!i&&t==="right")&&(r=a7(r)),r}function c7(e,t,i,r){const{top:o,left:c,bottom:f,right:p,chart:m}=e,{chartArea:b,scales:S}=m;let E=0,_,O,M;const N=f-o,w=p-c;if(e.isHorizontal()){if(O=Ml(r,c,p),Un(i)){const U=Object.keys(i)[0],q=i[U];M=S[U].getPixelForValue(q)+N-t}else i==="center"?M=(b.bottom+b.top)/2+N-t:M=iR(e,i,t);_=p-c}else{if(Un(i)){const U=Object.keys(i)[0],q=i[U];O=S[U].getPixelForValue(q)-w+t}else i==="center"?O=(b.left+b.right)/2-w+t:O=iR(e,i,t);M=Ml(r,f,o),E=i==="left"?-Na:Na}return{titleX:O,titleY:M,maxWidth:_,rotation:E}}class ev extends Kd{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.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(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,i){return t}getUserBounds(){let{_userMin:t,_userMax:i,_suggestedMin:r,_suggestedMax:o}=this;return t=Sf(t,Number.POSITIVE_INFINITY),i=Sf(i,Number.NEGATIVE_INFINITY),r=Sf(r,Number.POSITIVE_INFINITY),o=Sf(o,Number.NEGATIVE_INFINITY),{min:Sf(t,r),max:Sf(i,o),minDefined:jr(t),maxDefined:jr(i)}}getMinMax(t){let{min:i,max:r,minDefined:o,maxDefined:c}=this.getUserBounds(),f;if(o&&c)return{min:i,max:r};const p=this.getMatchingVisibleMetas();for(let m=0,b=p.length;m<b;++m)f=p[m].controller.getMinMax(this,t),o||(i=Math.min(i,f.min)),c||(r=Math.max(r,f.max));return i=c&&i>r?r:i,r=o&&i>r?i:r,{min:Sf(i,Sf(r,i)),max:Sf(r,Sf(i,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 t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){ji(this.options.beforeUpdate,[this])}update(t,i,r){const{beginAtZero:o,grace:c,ticks:f}=this.options,p=f.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=i,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=b8(this,c,o),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const m=p<this.ticks.length;this._convertTicksToLabels(m?rR(this.ticks,p):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),f.display&&(f.autoSkip||f.source==="auto")&&(this.ticks=K9(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),m&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let t=this.options.reverse,i,r;this.isHorizontal()?(i=this.left,r=this.right):(i=this.top,r=this.bottom,t=!t),this._startPixel=i,this._endPixel=r,this._reversePixels=t,this._length=r-i,this._alignToPixels=this.options.alignToPixels}afterUpdate(){ji(this.options.afterUpdate,[this])}beforeSetDimensions(){ji(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(){ji(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),ji(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){ji(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){const i=this.options.ticks;let r,o,c;for(r=0,o=t.length;r<o;r++)c=t[r],c.label=ji(i.callback,[c.value,r,t],this)}afterTickToLabelConversion(){ji(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){ji(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const t=this.options,i=t.ticks,r=aR(this.ticks.length,t.ticks.maxTicksLimit),o=i.minRotation||0,c=i.maxRotation;let f=o,p,m,b;if(!this._isVisible()||!i.display||o>=c||r<=1||!this.isHorizontal()){this.labelRotation=o;return}const S=this._getLabelSizes(),E=S.widest.width,_=S.highest.height,O=Rl(this.chart.width-E,0,this.maxWidth);p=t.offset?this.maxWidth/r:O/(r-1),E+6>p&&(p=O/(r-(t.offset?.5:1)),m=this.maxHeight-c1(t.grid)-i.padding-lR(t.title,this.chart.options.font),b=Math.sqrt(E*E+_*_),f=TT(Math.min(Math.asin(Rl((S.highest.height+6)/p,-1,1)),Math.asin(Rl(m/b,-1,1))-Math.asin(Rl(_/b,-1,1)))),f=Math.max(o,Math.min(c,f))),this.labelRotation=f}afterCalculateLabelRotation(){ji(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){ji(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:i,options:{ticks:r,title:o,grid:c}}=this,f=this._isVisible(),p=this.isHorizontal();if(f){const m=lR(o,i.options.font);if(p?(t.width=this.maxWidth,t.height=c1(c)+m):(t.height=this.maxHeight,t.width=c1(c)+m),r.display&&this.ticks.length){const{first:b,last:S,widest:E,highest:_}=this._getLabelSizes(),O=r.padding*2,M=mc(this.labelRotation),N=Math.cos(M),w=Math.sin(M);if(p){const U=r.mirror?0:w*E.width+N*_.height;t.height=Math.min(this.maxHeight,t.height+U+O)}else{const U=r.mirror?0:N*E.width+w*_.height;t.width=Math.min(this.maxWidth,t.width+U+O)}this._calculatePadding(b,S,w,N)}}this._handleMargins(),p?(this.width=this._length=i.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=i.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,i,r,o){const{ticks:{align:c,padding:f},position:p}=this.options,m=this.labelRotation!==0,b=p!=="top"&&this.axis==="x";if(this.isHorizontal()){const S=this.getPixelForTick(0)-this.left,E=this.right-this.getPixelForTick(this.ticks.length-1);let _=0,O=0;m?b?(_=o*t.width,O=r*i.height):(_=r*t.height,O=o*i.width):c==="start"?O=i.width:c==="end"?_=t.width:c!=="inner"&&(_=t.width/2,O=i.width/2),this.paddingLeft=Math.max((_-S+f)*this.width/(this.width-S),0),this.paddingRight=Math.max((O-E+f)*this.width/(this.width-E),0)}else{let S=i.height/2,E=t.height/2;c==="start"?(S=0,E=t.height):c==="end"&&(S=i.height,E=0),this.paddingTop=S+f,this.paddingBottom=E+f}}_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(){ji(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:i}=this.options;return i==="top"||i==="bottom"||t==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t);let i,r;for(i=0,r=t.length;i<r;i++)Wn(t[i].label)&&(t.splice(i,1),r--,i--);this.afterTickToLabelConversion()}_getLabelSizes(){let t=this._labelSizes;if(!t){const i=this.options.ticks.sampleSize;let r=this.ticks;i<r.length&&(r=rR(r,i)),this._labelSizes=t=this._computeLabelSizes(r,r.length,this.options.ticks.maxTicksLimit)}return t}_computeLabelSizes(t,i,r){const{ctx:o,_longestTextCache:c}=this,f=[],p=[],m=Math.floor(i/aR(i,r));let b=0,S=0,E,_,O,M,N,w,U,q,P,z,R;for(E=0;E<i;E+=m){if(M=t[E].label,N=this._resolveTickFontOptions(E),o.font=w=N.string,U=c[w]=c[w]||{data:{},gc:[]},q=N.lineHeight,P=z=0,!Wn(M)&&!la(M))P=hS(o,U.data,U.gc,P,M),z=q;else if(la(M))for(_=0,O=M.length;_<O;++_)R=M[_],!Wn(R)&&!la(R)&&(P=hS(o,U.data,U.gc,P,R),z+=q);f.push(P),p.push(z),b=Math.max(P,b),S=Math.max(z,S)}l7(c,i);const H=f.indexOf(b),j=p.indexOf(S),K=W=>({width:f[W]||0,height:p[W]||0});return{first:K(0),last:K(i-1),widest:K(H),highest:K(j),widths:f,heights:p}}getLabelForValue(t){return t}getPixelForValue(t,i){return NaN}getValueForPixel(t){}getPixelForTick(t){const i=this.ticks;return t<0||t>i.length-1?null:this.getPixelForValue(i[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const i=this._startPixel+t*this._length;return Y5(this._alignToPixels?jm(this.chart,i,0):i)}getDecimalForPixel(t){const i=(t-this._startPixel)/this._length;return this._reversePixels?1-i:i}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:i}=this;return t<0&&i<0?i:t>0&&i>0?t:0}getContext(t){const i=this.ticks||[];if(t>=0&&t<i.length){const r=i[t];return r.$context||(r.$context=s7(this.getContext(),t,r))}return this.$context||(this.$context=o7(this.chart.getContext(),this))}_tickSize(){const t=this.options.ticks,i=mc(this.labelRotation),r=Math.abs(Math.cos(i)),o=Math.abs(Math.sin(i)),c=this._getLabelSizes(),f=t.autoSkipPadding||0,p=c?c.widest.width+f:0,m=c?c.highest.height+f:0;return this.isHorizontal()?m*r>p*o?p/r:m/o:m*o<p*r?m/r:p/o}_isVisible(){const t=this.options.display;return t!=="auto"?!!t:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(t){const i=this.axis,r=this.chart,o=this.options,{grid:c,position:f,border:p}=o,m=c.offset,b=this.isHorizontal(),E=this.ticks.length+(m?1:0),_=c1(c),O=[],M=p.setContext(this.getContext()),N=M.display?M.width:0,w=N/2,U=function(ee){return jm(r,ee,N)};let q,P,z,R,H,j,K,W,ge,ce,be,Oe;if(f==="top")q=U(this.bottom),j=this.bottom-_,W=q-w,ce=U(t.top)+w,Oe=t.bottom;else if(f==="bottom")q=U(this.top),ce=t.top,Oe=U(t.bottom)-w,j=q+w,W=this.top+_;else if(f==="left")q=U(this.right),H=this.right-_,K=q-w,ge=U(t.left)+w,be=t.right;else if(f==="right")q=U(this.left),ge=t.left,be=U(t.right)-w,H=q+w,K=this.left+_;else if(i==="x"){if(f==="center")q=U((t.top+t.bottom)/2+.5);else if(Un(f)){const ee=Object.keys(f)[0],le=f[ee];q=U(this.chart.scales[ee].getPixelForValue(le))}ce=t.top,Oe=t.bottom,j=q+w,W=j+_}else if(i==="y"){if(f==="center")q=U((t.left+t.right)/2);else if(Un(f)){const ee=Object.keys(f)[0],le=f[ee];q=U(this.chart.scales[ee].getPixelForValue(le))}H=q-w,K=H-_,ge=t.left,be=t.right}const Ae=En(o.ticks.maxTicksLimit,E),Fe=Math.max(1,Math.ceil(E/Ae));for(P=0;P<E;P+=Fe){const ee=this.getContext(P),le=c.setContext(ee),ve=p.setContext(ee),Qe=le.lineWidth,ne=le.color,Ee=ve.dash||[],Re=ve.dashOffset,ae=le.tickWidth,de=le.tickColor,we=le.tickBorderDash||[],Ue=le.tickBorderDashOffset;z=r7(this,P,m),z!==void 0&&(R=jm(r,z,Qe),b?H=K=ge=be=R:j=W=ce=Oe=R,O.push({tx1:H,ty1:j,tx2:K,ty2:W,x1:ge,y1:ce,x2:be,y2:Oe,width:Qe,color:ne,borderDash:Ee,borderDashOffset:Re,tickWidth:ae,tickColor:de,tickBorderDash:we,tickBorderDashOffset:Ue}))}return this._ticksLength=E,this._borderValue=q,O}_computeLabelItems(t){const i=this.axis,r=this.options,{position:o,ticks:c}=r,f=this.isHorizontal(),p=this.ticks,{align:m,crossAlign:b,padding:S,mirror:E}=c,_=c1(r.grid),O=_+S,M=E?-S:O,N=-mc(this.labelRotation),w=[];let U,q,P,z,R,H,j,K,W,ge,ce,be,Oe="middle";if(o==="top")H=this.bottom-M,j=this._getXAxisLabelAlignment();else if(o==="bottom")H=this.top+M,j=this._getXAxisLabelAlignment();else if(o==="left"){const Fe=this._getYAxisLabelAlignment(_);j=Fe.textAlign,R=Fe.x}else if(o==="right"){const Fe=this._getYAxisLabelAlignment(_);j=Fe.textAlign,R=Fe.x}else if(i==="x"){if(o==="center")H=(t.top+t.bottom)/2+O;else if(Un(o)){const Fe=Object.keys(o)[0],ee=o[Fe];H=this.chart.scales[Fe].getPixelForValue(ee)+O}j=this._getXAxisLabelAlignment()}else if(i==="y"){if(o==="center")R=(t.left+t.right)/2-O;else if(Un(o)){const Fe=Object.keys(o)[0],ee=o[Fe];R=this.chart.scales[Fe].getPixelForValue(ee)}j=this._getYAxisLabelAlignment(_).textAlign}i==="y"&&(m==="start"?Oe="top":m==="end"&&(Oe="bottom"));const Ae=this._getLabelSizes();for(U=0,q=p.length;U<q;++U){P=p[U],z=P.label;const Fe=c.setContext(this.getContext(U));K=this.getPixelForTick(U)+c.labelOffset,W=this._resolveTickFontOptions(U),ge=W.lineHeight,ce=la(z)?z.length:1;const ee=ce/2,le=Fe.color,ve=Fe.textStrokeColor,Qe=Fe.textStrokeWidth;let ne=j;f?(R=K,j==="inner"&&(U===q-1?ne=this.options.reverse?"left":"right":U===0?ne=this.options.reverse?"right":"left":ne="center"),o==="top"?b==="near"||N!==0?be=-ce*ge+ge/2:b==="center"?be=-Ae.highest.height/2-ee*ge+ge:be=-Ae.highest.height+ge/2:b==="near"||N!==0?be=ge/2:b==="center"?be=Ae.highest.height/2-ee*ge:be=Ae.highest.height-ce*ge,E&&(be*=-1),N!==0&&!Fe.showLabelBackdrop&&(R+=ge/2*Math.sin(N))):(H=K,be=(1-ce)*ge/2);let Ee;if(Fe.showLabelBackdrop){const Re=Nl(Fe.backdropPadding),ae=Ae.heights[U],de=Ae.widths[U];let we=be-Re.top,Ue=0-Re.left;switch(Oe){case"middle":we-=ae/2;break;case"bottom":we-=ae;break}switch(j){case"center":Ue-=de/2;break;case"right":Ue-=de;break;case"inner":U===q-1?Ue-=de:U>0&&(Ue-=de/2);break}Ee={left:Ue,top:we,width:de+Re.width,height:ae+Re.height,color:Fe.backdropColor}}w.push({label:z,font:W,textOffset:be,options:{rotation:N,color:le,strokeColor:ve,strokeWidth:Qe,textAlign:ne,textBaseline:Oe,translation:[R,H],backdrop:Ee}})}return w}_getXAxisLabelAlignment(){const{position:t,ticks:i}=this.options;if(-mc(this.labelRotation))return t==="top"?"left":"right";let o="center";return i.align==="start"?o="left":i.align==="end"?o="right":i.align==="inner"&&(o="inner"),o}_getYAxisLabelAlignment(t){const{position:i,ticks:{crossAlign:r,mirror:o,padding:c}}=this.options,f=this._getLabelSizes(),p=t+c,m=f.widest.width;let b,S;return i==="left"?o?(S=this.right+c,r==="near"?b="left":r==="center"?(b="center",S+=m/2):(b="right",S+=m)):(S=this.right-p,r==="near"?b="right":r==="center"?(b="center",S-=m/2):(b="left",S=this.left)):i==="right"?o?(S=this.left+c,r==="near"?b="right":r==="center"?(b="center",S-=m/2):(b="left",S-=m)):(S=this.left+p,r==="near"?b="left":r==="center"?(b="center",S+=m/2):(b="right",S=this.right)):b="right",{textAlign:b,x:S}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,i=this.options.position;if(i==="left"||i==="right")return{top:0,left:this.left,bottom:t.height,right:this.right};if(i==="top"||i==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:t.width}}drawBackground(){const{ctx:t,options:{backgroundColor:i},left:r,top:o,width:c,height:f}=this;i&&(t.save(),t.fillStyle=i,t.fillRect(r,o,c,f),t.restore())}getLineWidthForValue(t){const i=this.options.grid;if(!this._isVisible()||!i.display)return 0;const o=this.ticks.findIndex(c=>c.value===t);return o>=0?i.setContext(this.getContext(o)).lineWidth:0}drawGrid(t){const i=this.options.grid,r=this.ctx,o=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let c,f;const p=(m,b,S)=>{!S.width||!S.color||(r.save(),r.lineWidth=S.width,r.strokeStyle=S.color,r.setLineDash(S.borderDash||[]),r.lineDashOffset=S.borderDashOffset,r.beginPath(),r.moveTo(m.x,m.y),r.lineTo(b.x,b.y),r.stroke(),r.restore())};if(i.display)for(c=0,f=o.length;c<f;++c){const m=o[c];i.drawOnChartArea&&p({x:m.x1,y:m.y1},{x:m.x2,y:m.y2},m),i.drawTicks&&p({x:m.tx1,y:m.ty1},{x:m.tx2,y:m.ty2},{color:m.tickColor,width:m.tickWidth,borderDash:m.tickBorderDash,borderDashOffset:m.tickBorderDashOffset})}}drawBorder(){const{chart:t,ctx:i,options:{border:r,grid:o}}=this,c=r.setContext(this.getContext()),f=r.display?c.width:0;if(!f)return;const p=o.setContext(this.getContext(0)).lineWidth,m=this._borderValue;let b,S,E,_;this.isHorizontal()?(b=jm(t,this.left,f)-f/2,S=jm(t,this.right,p)+p/2,E=_=m):(E=jm(t,this.top,f)-f/2,_=jm(t,this.bottom,p)+p/2,b=S=m),i.save(),i.lineWidth=c.width,i.strokeStyle=c.color,i.beginPath(),i.moveTo(b,E),i.lineTo(S,_),i.stroke(),i.restore()}drawLabels(t){if(!this.options.ticks.display)return;const r=this.ctx,o=this._computeLabelArea();o&&pS(r,o);const c=this.getLabelItems(t);for(const f of c){const p=f.options,m=f.font,b=f.label,S=f.textOffset;Fm(r,b,0,S,m,p)}o&&gS(r)}drawTitle(){const{ctx:t,options:{position:i,title:r,reverse:o}}=this;if(!r.display)return;const c=hr(r.font),f=Nl(r.padding),p=r.align;let m=c.lineHeight/2;i==="bottom"||i==="center"||Un(i)?(m+=f.bottom,la(r.text)&&(m+=c.lineHeight*(r.text.length-1))):m+=f.top;const{titleX:b,titleY:S,maxWidth:E,rotation:_}=c7(this,m,i,p);Fm(t,r.text,0,0,c,{color:r.color,maxWidth:E,rotation:_,textAlign:u7(p,i,o),textBaseline:"middle",translation:[b,S]})}draw(t){this._isVisible()&&(this.drawBackground(),this.drawGrid(t),this.drawBorder(),this.drawTitle(),this.drawLabels(t))}_layers(){const t=this.options,i=t.ticks&&t.ticks.z||0,r=En(t.grid&&t.grid.z,-1),o=En(t.border&&t.border.z,0);return!this._isVisible()||this.draw!==ev.prototype.draw?[{z:i,draw:c=>{this.draw(c)}}]:[{z:r,draw:c=>{this.drawBackground(),this.drawGrid(c),this.drawTitle()}},{z:o,draw:()=>{this.drawBorder()}},{z:i,draw:c=>{this.drawLabels(c)}}]}getMatchingVisibleMetas(t){const i=this.chart.getSortedVisibleDatasetMetas(),r=this.axis+"AxisID",o=[];let c,f;for(c=0,f=i.length;c<f;++c){const p=i[c];p[r]===this.id&&(!t||p.type===t)&&o.push(p)}return o}_resolveTickFontOptions(t){const i=this.options.ticks.setContext(this.getContext(t));return hr(i.font)}_maxDigits(){const t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}}class OS{constructor(t,i,r){this.type=t,this.scope=i,this.override=r,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){const i=Object.getPrototypeOf(t);let r;h7(i)&&(r=this.register(i));const o=this.items,c=t.id,f=this.scope+"."+c;if(!c)throw new Error("class does not have id: "+t);return c in o||(o[c]=t,f7(t,f,r),this.override&&Sa.override(t.id,t.overrides)),f}get(t){return this.items[t]}unregister(t){const i=this.items,r=t.id,o=this.scope;r in i&&delete i[r],o&&r in Sa[o]&&(delete Sa[o][r],this.override&&delete Hm[r])}}function f7(e,t,i){const r=Qb(Object.create(null),[i?Sa.get(i):{},Sa.get(t),e.defaults]);Sa.set(t,r),e.defaultRoutes&&d7(t,e.defaultRoutes),e.descriptors&&Sa.describe(t,e.descriptors)}function d7(e,t){Object.keys(t).forEach(i=>{const r=i.split("."),o=r.pop(),c=[e].concat(r).join("."),f=t[i].split("."),p=f.pop(),m=f.join(".");Sa.route(c,o,m,p)})}function h7(e){return"id"in e&&"defaults"in e}class p7{constructor(){this.controllers=new OS(Np,"datasets",!0),this.elements=new OS(Kd,"elements"),this.plugins=new OS(Object,"plugins"),this.scales=new OS(ev,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,i,r){[...i].forEach(o=>{const c=r||this._getRegistryForType(o);r||c.isForType(o)||c===this.plugins&&o.id?this._exec(t,c,o):Ei(o,f=>{const p=r||this._getRegistryForType(f);this._exec(t,p,f)})})}_exec(t,i,r){const o=AT(t);ji(r["before"+o],[],r),i[t](r),ji(r["after"+o],[],r)}_getRegistryForType(t){for(let i=0;i<this._typedRegistries.length;i++){const r=this._typedRegistries[i];if(r.isForType(t))return r}return this.plugins}_get(t,i,r){const o=i.get(t);if(o===void 0)throw new Error('"'+t+'" is not a registered '+r+".");return o}}var Af=new p7;class g7{constructor(){this._init=[]}notify(t,i,r,o){i==="beforeInit"&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const c=o?this._descriptors(t).filter(o):this._descriptors(t),f=this._notify(c,t,i,r);return i==="afterDestroy"&&(this._notify(c,t,"stop"),this._notify(this._init,t,"uninstall")),f}_notify(t,i,r,o){o=o||{};for(const c of t){const f=c.plugin,p=f[r],m=[i,o,c.options];if(ji(p,m,f)===!1&&o.cancelable)return!1}return!0}invalidate(){Wn(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const i=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),i}_createDescriptors(t,i){const r=t&&t.config,o=En(r.options&&r.options.plugins,{}),c=m7(r);return o===!1&&!i?[]:v7(t,c,o,i)}_notifyStateChanges(t){const i=this._oldCache||[],r=this._cache,o=(c,f)=>c.filter(p=>!f.some(m=>p.plugin.id===m.plugin.id));this._notify(o(i,r),t,"stop"),this._notify(o(r,i),t,"start")}}function m7(e){const t={},i=[],r=Object.keys(Af.plugins.items);for(let c=0;c<r.length;c++)i.push(Af.getPlugin(r[c]));const o=e.plugins||[];for(let c=0;c<o.length;c++){const f=o[c];i.indexOf(f)===-1&&(i.push(f),t[f.id]=!0)}return{plugins:i,localIds:t}}function y7(e,t){return!t&&e===!1?null:e===!0?{}:e}function v7(e,{plugins:t,localIds:i},r,o){const c=[],f=e.getContext();for(const p of t){const m=p.id,b=y7(r[m],o);b!==null&&c.push({plugin:p,options:b7(e.config,{plugin:p,local:i[m]},b,f)})}return c}function b7(e,{plugin:t,local:i},r,o){const c=e.pluginScopeKeys(t),f=e.getOptionScopes(r,c);return i&&t.defaults&&f.push(t.defaults),e.createResolver(f,o,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function $T(e,t){const i=Sa.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||i.indexAxis||"x"}function x7(e,t){let i=e;return e==="_index_"?i=t:e==="_value_"&&(i=t==="x"?"y":"x"),i}function S7(e,t){return e===t?"_index_":"_value_"}function oR(e){if(e==="x"||e==="y"||e==="r")return e}function E7(e){if(e==="top"||e==="bottom")return"x";if(e==="left"||e==="right")return"y"}function QT(e,...t){if(oR(e))return e;for(const i of t){const r=i.axis||E7(i.position)||e.length>1&&oR(e[0].toLowerCase());if(r)return r}throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function sR(e,t,i){if(i[t+"AxisID"]===e)return{axis:t}}function A7(e,t){if(t.data&&t.data.datasets){const i=t.data.datasets.filter(r=>r.xAxisID===e||r.yAxisID===e);if(i.length)return sR(e,"x",i[0])||sR(e,"y",i[0])}return{}}function T7(e,t){const i=Hm[e.type]||{scales:{}},r=t.scales||{},o=$T(e.type,t),c=Object.create(null);return Object.keys(r).forEach(f=>{const p=r[f];if(!Un(p))return console.error(`Invalid scale configuration for scale: ${f}`);if(p._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${f}`);const m=QT(f,p,A7(f,e),Sa.scales[p.type]),b=S7(m,o),S=i.scales||{};c[f]=Zb(Object.create(null),[{axis:m},p,S[m],S[b]])}),e.data.datasets.forEach(f=>{const p=f.type||e.type,m=f.indexAxis||$T(p,t),S=(Hm[p]||{}).scales||{};Object.keys(S).forEach(E=>{const _=x7(E,m),O=f[_+"AxisID"]||_;c[O]=c[O]||Object.create(null),Zb(c[O],[{axis:_},r[O],S[E]])})}),Object.keys(c).forEach(f=>{const p=c[f];Zb(p,[Sa.scales[p.type],Sa.scale])}),c}function uR(e){const t=e.options||(e.options={});t.plugins=En(t.plugins,{}),t.scales=T7(e,t)}function cR(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function C7(e){return e=e||{},e.data=cR(e.data),uR(e),e}const fR=new Map,dR=new Set;function RS(e,t){let i=fR.get(e);return i||(i=t(),fR.set(e,i),dR.add(i)),i}const f1=(e,t,i)=>{const r=Op(t,i);r!==void 0&&e.add(r)};class _7{constructor(t){this._config=C7(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=cR(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),uR(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return RS(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,i){return RS(`${t}.transition.${i}`,()=>[[`datasets.${t}.transitions.${i}`,`transitions.${i}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,i){return RS(`${t}-${i}`,()=>[[`datasets.${t}.elements.${i}`,`datasets.${t}`,`elements.${i}`,""]])}pluginScopeKeys(t){const i=t.id,r=this.type;return RS(`${r}-plugin-${i}`,()=>[[`plugins.${i}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,i){const r=this._scopeCache;let o=r.get(t);return(!o||i)&&(o=new Map,r.set(t,o)),o}getOptionScopes(t,i,r){const{options:o,type:c}=this,f=this._cachedScopes(t,r),p=f.get(i);if(p)return p;const m=new Set;i.forEach(S=>{t&&(m.add(t),S.forEach(E=>f1(m,t,E))),S.forEach(E=>f1(m,o,E)),S.forEach(E=>f1(m,Hm[c]||{},E)),S.forEach(E=>f1(m,Sa,E)),S.forEach(E=>f1(m,MT,E))});const b=Array.from(m);return b.length===0&&b.push(Object.create(null)),dR.has(i)&&f.set(i,b),b}chartOptionScopes(){const{options:t,type:i}=this;return[t,Hm[i]||{},Sa.datasets[i]||{},{type:i},Sa,MT]}resolveNamedOptions(t,i,r,o=[""]){const c={$shared:!0},{resolver:f,subPrefixes:p}=hR(this._resolverCache,t,o);let m=f;if(D7(f,i)){c.$shared=!1,r=Rp(r)?r():r;const b=this.createResolver(t,r,p);m=Wy(f,r,b)}for(const b of i)c[b]=m[b];return c}createResolver(t,i,r=[""],o){const{resolver:c}=hR(this._resolverCache,t,r);return Un(i)?Wy(c,i,void 0,o):c}}function hR(e,t,i){let r=e.get(t);r||(r=new Map,e.set(t,r));const o=i.join();let c=r.get(o);return c||(c={resolver:kT(t,i),subPrefixes:i.filter(p=>!p.toLowerCase().includes("hover"))},r.set(o,c)),c}const w7=e=>Un(e)&&Object.getOwnPropertyNames(e).some(t=>Rp(e[t]));function D7(e,t){const{isScriptable:i,isIndexable:r}=yO(e);for(const o of t){const c=i(o),f=r(o),p=(f||c)&&e[o];if(c&&(Rp(p)||w7(p))||f&&la(p))return!0}return!1}var O7="4.4.8";const R7=["top","bottom","left","right","chartArea"];function pR(e,t){return e==="top"||e==="bottom"||R7.indexOf(e)===-1&&t==="x"}function gR(e,t){return function(i,r){return i[e]===r[e]?i[t]-r[t]:i[e]-r[e]}}function mR(e){const t=e.chart,i=t.options.animation;t.notifyPlugins("afterRender"),ji(i&&i.onComplete,[e],t)}function M7(e){const t=e.chart,i=t.options.animation;ji(i&&i.onProgress,[e],t)}function yR(e){return HT()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const MS={},vR=e=>{const t=yR(e);return Object.values(MS).filter(i=>i.canvas===t).pop()};function N7(e,t,i){const r=Object.keys(e);for(const o of r){const c=+o;if(c>=t){const f=e[o];delete e[o],(i>0||c>t)&&(e[c+i]=f)}}}function B7(e,t,i,r){return!i||e.type==="mouseout"?null:r?t:e}function NS(e,t,i){return e.options.clip?e[i]:t[i]}function L7(e,t){const{xScale:i,yScale:r}=e;return i&&r?{left:NS(i,t,"left"),right:NS(i,t,"right"),top:NS(r,t,"top"),bottom:NS(r,t,"bottom")}:t}let Gm=(Hp=class{static register(...t){Af.add(...t),bR()}static unregister(...t){Af.remove(...t),bR()}constructor(t,i){const r=this.config=new _7(i),o=yR(t),c=vR(o);if(c)throw new Error("Canvas is already in use. Chart with ID '"+c.id+"' must be destroyed before the canvas with ID '"+c.canvas.id+"' can be reused.");const f=r.createResolver(r.chartOptionScopes(),this.getContext());this.platform=new(r.platform||W9(o)),this.platform.updateConfig(r);const p=this.platform.acquireContext(o,f.aspectRatio),m=p&&p.canvas,b=m&&m.height,S=m&&m.width;if(this.id=M5(),this.ctx=p,this.canvas=m,this.width=S,this.height=b,this._options=f,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 g7,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=Q5(E=>this.update(E),f.resizeDelay||0),this._dataChanges=[],MS[this.id]=this,!p||!m){console.error("Failed to create chart: can't acquire context from the given item");return}Wd.listen(this,"complete",mR),Wd.listen(this,"progress",M7),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:i},width:r,height:o,_aspectRatio:c}=this;return Wn(t)?i&&c?c:o?r/o:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return Af}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():TO(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return pO(this.canvas,this.ctx),this}stop(){return Wd.stop(this),this}resize(t,i){Wd.running(this)?this._resizeBeforeDraw={width:t,height:i}:this._resize(t,i)}_resize(t,i){const r=this.options,o=this.canvas,c=r.maintainAspectRatio&&this.aspectRatio,f=this.platform.getMaximumSize(o,t,i,c),p=r.devicePixelRatio||this.platform.getDevicePixelRatio(),m=this.width?"resize":"attach";this.width=f.width,this.height=f.height,this._aspectRatio=this.aspectRatio,TO(this,p,!0)&&(this.notifyPlugins("resize",{size:f}),ji(r.onResize,[this,f],this),this.attached&&this._doResize(m)&&this.render())}ensureScalesHaveIDs(){const i=this.options.scales||{};Ei(i,(r,o)=>{r.id=o})}buildOrUpdateScales(){const t=this.options,i=t.scales,r=this.scales,o=Object.keys(r).reduce((f,p)=>(f[p]=!1,f),{});let c=[];i&&(c=c.concat(Object.keys(i).map(f=>{const p=i[f],m=QT(f,p),b=m==="r",S=m==="x";return{options:p,dposition:b?"chartArea":S?"bottom":"left",dtype:b?"radialLinear":S?"category":"linear"}}))),Ei(c,f=>{const p=f.options,m=p.id,b=QT(m,p),S=En(p.type,f.dtype);(p.position===void 0||pR(p.position,b)!==pR(f.dposition))&&(p.position=f.dposition),o[m]=!0;let E=null;if(m in r&&r[m].type===S)E=r[m];else{const _=Af.getScale(S);E=new _({id:m,type:S,ctx:this.ctx,chart:this}),r[E.id]=E}E.init(p,t)}),Ei(o,(f,p)=>{f||delete r[p]}),Ei(r,f=>{Eu.configure(this,f,f.options),Eu.addBox(this,f)})}_updateMetasets(){const t=this._metasets,i=this.data.datasets.length,r=t.length;if(t.sort((o,c)=>o.index-c.index),r>i){for(let o=i;o<r;++o)this._destroyDatasetMeta(o);t.splice(i,r-i)}this._sortedMetasets=t.slice(0).sort(gR("order","index"))}_removeUnreferencedMetasets(){const{_metasets:t,data:{datasets:i}}=this;t.length>i.length&&delete this._stacks,t.forEach((r,o)=>{i.filter(c=>c===r._dataset).length===0&&this._destroyDatasetMeta(o)})}buildOrUpdateControllers(){const t=[],i=this.data.datasets;let r,o;for(this._removeUnreferencedMetasets(),r=0,o=i.length;r<o;r++){const c=i[r];let f=this.getDatasetMeta(r);const p=c.type||this.config.type;if(f.type&&f.type!==p&&(this._destroyDatasetMeta(r),f=this.getDatasetMeta(r)),f.type=p,f.indexAxis=c.indexAxis||$T(p,this.options),f.order=c.order||0,f.index=r,f.label=""+c.label,f.visible=this.isDatasetVisible(r),f.controller)f.controller.updateIndex(r),f.controller.linkScales();else{const m=Af.getController(p),{datasetElementType:b,dataElementType:S}=Sa.datasets[p];Object.assign(m,{dataElementType:Af.getElement(S),datasetElementType:b&&Af.getElement(b)}),f.controller=new m(this,r),t.push(f.controller)}}return this._updateMetasets(),t}_resetElements(){Ei(this.data.datasets,(t,i)=>{this.getDatasetMeta(i).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const i=this.config;i.update();const r=this._options=i.createResolver(i.chartOptionScopes(),this.getContext()),o=this._animationsDisabled=!r.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;const c=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let f=0;for(let b=0,S=this.data.datasets.length;b<S;b++){const{controller:E}=this.getDatasetMeta(b),_=!o&&c.indexOf(E)===-1;E.buildOrUpdateElements(_),f=Math.max(+E.getMaxOverflow(),f)}f=this._minPadding=r.layout.autoPadding?f:0,this._updateLayout(f),o||Ei(c,b=>{b.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(gR("z","_idx"));const{_active:p,_lastEvent:m}=this;m?this._eventHandler(m,!0):p.length&&this._updateHoverStyles(p,p,!0),this.render()}_updateScales(){Ei(this.scales,t=>{Eu.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,i=new Set(Object.keys(this._listeners)),r=new Set(t.events);(!JD(i,r)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,i=this._getUniformDataChanges()||[];for(const{method:r,start:o,count:c}of i){const f=r==="_removeElements"?-c:c;N7(t,o,f)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const i=this.data.datasets.length,r=c=>new Set(t.filter(f=>f[0]===c).map((f,p)=>p+","+f.splice(1).join(","))),o=r(0);for(let c=1;c<i;c++)if(!JD(o,r(c)))return;return Array.from(o).map(c=>c.split(",")).map(c=>({method:c[1],start:+c[2],count:+c[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;Eu.update(this,this.width,this.height,t);const i=this.chartArea,r=i.width<=0||i.height<=0;this._layers=[],Ei(this.boxes,o=>{r&&o.position==="chartArea"||(o.configure&&o.configure(),this._layers.push(...o._layers()))},this),this._layers.forEach((o,c)=>{o._idx=c}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let i=0,r=this.data.datasets.length;i<r;++i)this.getDatasetMeta(i).controller.configure();for(let i=0,r=this.data.datasets.length;i<r;++i)this._updateDataset(i,Rp(t)?t({datasetIndex:i}):t);this.notifyPlugins("afterDatasetsUpdate",{mode:t})}}_updateDataset(t,i){const r=this.getDatasetMeta(t),o={meta:r,index:t,mode:i,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",o)!==!1&&(r.controller._update(i),o.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",o))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(Wd.has(this)?this.attached&&!Wd.running(this)&&Wd.start(this):(this.draw(),mR({chart:this})))}draw(){let t;if(this._resizeBeforeDraw){const{width:r,height:o}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(r,o)}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const i=this._layers;for(t=0;t<i.length&&i[t].z<=0;++t)i[t].draw(this.chartArea);for(this._drawDatasets();t<i.length;++t)i[t].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(t){const i=this._sortedMetasets,r=[];let o,c;for(o=0,c=i.length;o<c;++o){const f=i[o];(!t||f.visible)&&r.push(f)}return r}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const t=this.getSortedVisibleDatasetMetas();for(let i=t.length-1;i>=0;--i)this._drawDataset(t[i]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const i=this.ctx,r=t._clip,o=!r.disabled,c=L7(t,this.chartArea),f={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",f)!==!1&&(o&&pS(i,{left:r.left===!1?0:c.left-r.left,right:r.right===!1?this.width:c.right+r.right,top:r.top===!1?0:c.top-r.top,bottom:r.bottom===!1?this.height:c.bottom+r.bottom}),t.controller.draw(),o&&gS(i),f.cancelable=!1,this.notifyPlugins("afterDatasetDraw",f))}isPointInArea(t){return Zd(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,i,r,o){const c=R9.modes[i];return typeof c=="function"?c(this,t,r,o):[]}getDatasetMeta(t){const i=this.data.datasets[t],r=this._metasets;let o=r.filter(c=>c&&c._dataset===i).pop();return o||(o={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:i&&i.order||0,index:t,_dataset:i,_parsed:[],_sorted:!1},r.push(o)),o}getContext(){return this.$context||(this.$context=Mp(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const i=this.data.datasets[t];if(!i)return!1;const r=this.getDatasetMeta(t);return typeof r.hidden=="boolean"?!r.hidden:!i.hidden}setDatasetVisibility(t,i){const r=this.getDatasetMeta(t);r.hidden=!i}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,i,r){const o=r?"show":"hide",c=this.getDatasetMeta(t),f=c.controller._resolveAnimations(void 0,o);Wb(i)?(c.data[i].hidden=!r,this.update()):(this.setDatasetVisibility(t,r),f.update(c,{visible:r}),this.update(p=>p.datasetIndex===t?o:void 0))}hide(t,i){this._updateVisibility(t,i,!1)}show(t,i){this._updateVisibility(t,i,!0)}_destroyDatasetMeta(t){const i=this._metasets[t];i&&i.controller&&i.controller._destroy(),delete this._metasets[t]}_stop(){let t,i;for(this.stop(),Wd.remove(this),t=0,i=this.data.datasets.length;t<i;++t)this._destroyDatasetMeta(t)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:t,ctx:i}=this;this._stop(),this.config.clearCache(),t&&(this.unbindEvents(),pO(t,i),this.platform.releaseContext(i),this.canvas=null,this.ctx=null),delete MS[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const t=this._listeners,i=this.platform,r=(c,f)=>{i.addEventListener(this,c,f),t[c]=f},o=(c,f,p)=>{c.offsetX=f,c.offsetY=p,this._eventHandler(c)};Ei(this.options.events,c=>r(c,o))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,i=this.platform,r=(m,b)=>{i.addEventListener(this,m,b),t[m]=b},o=(m,b)=>{t[m]&&(i.removeEventListener(this,m,b),delete t[m])},c=(m,b)=>{this.canvas&&this.resize(m,b)};let f;const p=()=>{o("attach",p),this.attached=!0,this.resize(),r("resize",c),r("detach",f)};f=()=>{this.attached=!1,o("resize",c),this._stop(),this._resize(0,0),r("attach",p)},i.isAttached(this.canvas)?p():f()}unbindEvents(){Ei(this._listeners,(t,i)=>{this.platform.removeEventListener(this,i,t)}),this._listeners={},Ei(this._responsiveListeners,(t,i)=>{this.platform.removeEventListener(this,i,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,i,r){const o=r?"set":"remove";let c,f,p,m;for(i==="dataset"&&(c=this.getDatasetMeta(t[0].datasetIndex),c.controller["_"+o+"DatasetHoverStyle"]()),p=0,m=t.length;p<m;++p){f=t[p];const b=f&&this.getDatasetMeta(f.datasetIndex).controller;b&&b[o+"HoverStyle"](f.element,f.datasetIndex,f.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){const i=this._active||[],r=t.map(({datasetIndex:c,index:f})=>{const p=this.getDatasetMeta(c);if(!p)throw new Error("No dataset found at index "+c);return{datasetIndex:c,element:p.data[f],index:f}});!sS(r,i)&&(this._active=r,this._lastEvent=null,this._updateHoverStyles(r,i))}notifyPlugins(t,i,r){return this._plugins.notify(this,t,i,r)}isPluginEnabled(t){return this._plugins._cache.filter(i=>i.plugin.id===t).length===1}_updateHoverStyles(t,i,r){const o=this.options.hover,c=(m,b)=>m.filter(S=>!b.some(E=>S.datasetIndex===E.datasetIndex&&S.index===E.index)),f=c(i,t),p=r?t:c(t,i);f.length&&this.updateHoverStyle(f,o.mode,!1),p.length&&o.mode&&this.updateHoverStyle(p,o.mode,!0)}_eventHandler(t,i){const r={event:t,replay:i,cancelable:!0,inChartArea:this.isPointInArea(t)},o=f=>(f.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",r,o)===!1)return;const c=this._handleEvent(t,i,r.inChartArea);return r.cancelable=!1,this.notifyPlugins("afterEvent",r,o),(c||r.changed)&&this.render(),this}_handleEvent(t,i,r){const{_active:o=[],options:c}=this,f=i,p=this._getActiveElements(t,o,r,f),m=U5(t),b=B7(t,this._lastEvent,r,m);r&&(this._lastEvent=null,ji(c.onHover,[t,p,this],this),m&&ji(c.onClick,[t,p,this],this));const S=!sS(p,o);return(S||i)&&(this._active=p,this._updateHoverStyles(p,o,i)),this._lastEvent=b,S}_getActiveElements(t,i,r,o){if(t.type==="mouseout")return[];if(!r)return i;const c=this.options.hover;return this.getElementsAtEventForMode(t,c.mode,c,o)}},ht(Hp,"defaults",Sa),ht(Hp,"instances",MS),ht(Hp,"overrides",Hm),ht(Hp,"registry",Af),ht(Hp,"version",O7),ht(Hp,"getChart",vR),Hp);function bR(){return Ei(Gm.instances,e=>e._plugins.invalidate())}function k7(e,t,i){const{startAngle:r,pixelMargin:o,x:c,y:f,outerRadius:p,innerRadius:m}=t;let b=o/p;e.beginPath(),e.arc(c,f,p,r-b,i+b),m>o?(b=o/m,e.arc(c,f,m,i+b,r-b,!0)):e.arc(c,f,o,i+Na,r-Na),e.closePath(),e.clip()}function z7(e){return LT(e,["outerStart","outerEnd","innerStart","innerEnd"])}function U7(e,t,i,r){const o=z7(e.options.borderRadius),c=(i-t)/2,f=Math.min(c,r*t/2),p=m=>{const b=(i-Math.min(c,m))*r/2;return Rl(m,0,Math.min(c,b))};return{outerStart:p(o.outerStart),outerEnd:p(o.outerEnd),innerStart:Rl(o.innerStart,0,f),innerEnd:Rl(o.innerEnd,0,f)}}function tv(e,t,i,r){return{x:i+e*Math.cos(t),y:r+e*Math.sin(t)}}function BS(e,t,i,r,o,c){const{x:f,y:p,startAngle:m,pixelMargin:b,innerRadius:S}=t,E=Math.max(t.outerRadius+r+i-b,0),_=S>0?S+r+i+b:0;let O=0;const M=o-m;if(r){const Fe=S>0?S-r:0,ee=E>0?E-r:0,le=(Fe+ee)/2,ve=le!==0?M*le/(le+r):M;O=(M-ve)/2}const N=Math.max(.001,M*E-i/Zi)/E,w=(M-N)/2,U=m+w+O,q=o-w-O,{outerStart:P,outerEnd:z,innerStart:R,innerEnd:H}=U7(t,_,E,q-U),j=E-P,K=E-z,W=U+P/j,ge=q-z/K,ce=_+R,be=_+H,Oe=U+R/ce,Ae=q-H/be;if(e.beginPath(),c){const Fe=(W+ge)/2;if(e.arc(f,p,E,W,Fe),e.arc(f,p,E,Fe,ge),z>0){const Qe=tv(K,ge,f,p);e.arc(Qe.x,Qe.y,z,ge,q+Na)}const ee=tv(be,q,f,p);if(e.lineTo(ee.x,ee.y),H>0){const Qe=tv(be,Ae,f,p);e.arc(Qe.x,Qe.y,H,q+Na,Ae+Math.PI)}const le=(q-H/_+(U+R/_))/2;if(e.arc(f,p,_,q-H/_,le,!0),e.arc(f,p,_,le,U+R/_,!0),R>0){const Qe=tv(ce,Oe,f,p);e.arc(Qe.x,Qe.y,R,Oe+Math.PI,U-Na)}const ve=tv(j,U,f,p);if(e.lineTo(ve.x,ve.y),P>0){const Qe=tv(j,W,f,p);e.arc(Qe.x,Qe.y,P,U-Na,W)}}else{e.moveTo(f,p);const Fe=Math.cos(W)*E+f,ee=Math.sin(W)*E+p;e.lineTo(Fe,ee);const le=Math.cos(ge)*E+f,ve=Math.sin(ge)*E+p;e.lineTo(le,ve)}e.closePath()}function H7(e,t,i,r,o){const{fullCircles:c,startAngle:f,circumference:p}=t;let m=t.endAngle;if(c){BS(e,t,i,r,m,o);for(let b=0;b<c;++b)e.fill();isNaN(p)||(m=f+(p%Wi||Wi))}return BS(e,t,i,r,m,o),e.fill(),m}function j7(e,t,i,r,o){const{fullCircles:c,startAngle:f,circumference:p,options:m}=t,{borderWidth:b,borderJoinStyle:S,borderDash:E,borderDashOffset:_}=m,O=m.borderAlign==="inner";if(!b)return;e.setLineDash(E||[]),e.lineDashOffset=_,O?(e.lineWidth=b*2,e.lineJoin=S||"round"):(e.lineWidth=b,e.lineJoin=S||"bevel");let M=t.endAngle;if(c){BS(e,t,i,r,M,o);for(let N=0;N<c;++N)e.stroke();isNaN(p)||(M=f+(p%Wi||Wi))}O&&k7(e,t,M),c||(BS(e,t,i,r,M,o),e.stroke())}class nv extends Kd{constructor(i){super();ht(this,"circumference");ht(this,"endAngle");ht(this,"fullCircles");ht(this,"innerRadius");ht(this,"outerRadius");ht(this,"pixelMargin");ht(this,"startAngle");this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,i&&Object.assign(this,i)}inRange(i,r,o){const c=this.getProps(["x","y"],o),{angle:f,distance:p}=aO(c,{x:i,y:r}),{startAngle:m,endAngle:b,innerRadius:S,outerRadius:E,circumference:_}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],o),O=(this.options.spacing+this.options.borderWidth)/2,M=En(_,b-m),N=e1(f,m,b)&&m!==b,w=M>=Wi||N,U=Qd(p,S+O,E+O);return w&&U}getCenterPoint(i){const{x:r,y:o,startAngle:c,endAngle:f,innerRadius:p,outerRadius:m}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],i),{offset:b,spacing:S}=this.options,E=(c+f)/2,_=(p+m+S+b)/2;return{x:r+Math.cos(E)*_,y:o+Math.sin(E)*_}}tooltipPosition(i){return this.getCenterPoint(i)}draw(i){const{options:r,circumference:o}=this,c=(r.offset||0)/4,f=(r.spacing||0)/2,p=r.circular;if(this.pixelMargin=r.borderAlign==="inner"?.33:0,this.fullCircles=o>Wi?Math.floor(o/Wi):0,o===0||this.innerRadius<0||this.outerRadius<0)return;i.save();const m=(this.startAngle+this.endAngle)/2;i.translate(Math.cos(m)*c,Math.sin(m)*c);const b=1-Math.sin(Math.min(Zi,o||0)),S=c*b;i.fillStyle=r.backgroundColor,i.strokeStyle=r.borderColor,H7(i,this,S,f,p),j7(i,this,S,f,p),i.restore()}}ht(nv,"id","arc"),ht(nv,"defaults",{borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0}),ht(nv,"defaultRoutes",{backgroundColor:"backgroundColor"}),ht(nv,"descriptors",{_scriptable:!0,_indexable:i=>i!=="borderDash"});function xR(e,t,i=t){e.lineCap=En(i.borderCapStyle,t.borderCapStyle),e.setLineDash(En(i.borderDash,t.borderDash)),e.lineDashOffset=En(i.borderDashOffset,t.borderDashOffset),e.lineJoin=En(i.borderJoinStyle,t.borderJoinStyle),e.lineWidth=En(i.borderWidth,t.borderWidth),e.strokeStyle=En(i.borderColor,t.borderColor)}function F7(e,t,i){e.lineTo(i.x,i.y)}function I7(e){return e.stepped?c8:e.tension||e.cubicInterpolationMode==="monotone"?f8:F7}function SR(e,t,i={}){const r=e.length,{start:o=0,end:c=r-1}=i,{start:f,end:p}=t,m=Math.max(o,f),b=Math.min(c,p),S=o<f&&c<f||o>p&&c>p;return{count:r,start:m,loop:t.loop,ilen:b<m&&!S?r+b-m:b-m}}function P7(e,t,i,r){const{points:o,options:c}=t,{count:f,start:p,loop:m,ilen:b}=SR(o,i,r),S=I7(c);let{move:E=!0,reverse:_}=r||{},O,M,N;for(O=0;O<=b;++O)M=o[(p+(_?b-O:O))%f],!M.skip&&(E?(e.moveTo(M.x,M.y),E=!1):S(e,N,M,_,c.stepped),N=M);return m&&(M=o[(p+(_?b:0))%f],S(e,N,M,_,c.stepped)),!!m}function q7(e,t,i,r){const o=t.points,{count:c,start:f,ilen:p}=SR(o,i,r),{move:m=!0,reverse:b}=r||{};let S=0,E=0,_,O,M,N,w,U;const q=z=>(f+(b?p-z:z))%c,P=()=>{N!==w&&(e.lineTo(S,w),e.lineTo(S,N),e.lineTo(S,U))};for(m&&(O=o[q(0)],e.moveTo(O.x,O.y)),_=0;_<=p;++_){if(O=o[q(_)],O.skip)continue;const z=O.x,R=O.y,H=z|0;H===M?(R<N?N=R:R>w&&(w=R),S=(E*S+z)/++E):(P(),e.lineTo(z,R),M=H,E=0,N=w=R),U=R}P()}function ZT(e){const t=e.options,i=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&t.cubicInterpolationMode!=="monotone"&&!t.stepped&&!i?q7:P7}function V7(e){return e.stepped?V8:e.tension||e.cubicInterpolationMode==="monotone"?Y8:Vm}function Y7(e,t,i,r){let o=t._path;o||(o=t._path=new Path2D,t.path(o,i,r)&&o.closePath()),xR(e,t.options),e.stroke(o)}function G7(e,t,i,r){const{segments:o,options:c}=t,f=ZT(t);for(const p of o)xR(e,c,p.style),e.beginPath(),f(e,t,p,{start:i,end:i+r-1})&&e.closePath(),e.stroke()}const X7=typeof Path2D=="function";function $7(e,t,i,r){X7&&!t.options.segment?Y7(e,t,i,r):G7(e,t,i,r)}class Bp extends Kd{constructor(t){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,t&&Object.assign(this,t)}updateControlPoints(t,i){const r=this.options;if((r.tension||r.cubicInterpolationMode==="monotone")&&!r.stepped&&!this._pointsUpdated){const o=r.spanGaps?this._loop:this._fullLoop;z8(this._points,r,t,o,i),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=W8(this,this.options.segment))}first(){const t=this.segments,i=this.points;return t.length&&i[t[0].start]}last(){const t=this.segments,i=this.points,r=t.length;return r&&i[t[r-1].end]}interpolate(t,i){const r=this.options,o=t[i],c=this.points,f=MO(this,{property:i,start:o,end:o});if(!f.length)return;const p=[],m=V7(r);let b,S;for(b=0,S=f.length;b<S;++b){const{start:E,end:_}=f[b],O=c[E],M=c[_];if(O===M){p.push(O);continue}const N=Math.abs((o-O[i])/(M[i]-O[i])),w=m(O,M,N,r.stepped);w[i]=t[i],p.push(w)}return p.length===1?p[0]:p}pathSegment(t,i,r){return ZT(this)(t,this,i,r)}path(t,i,r){const o=this.segments,c=ZT(this);let f=this._loop;i=i||0,r=r||this.points.length-i;for(const p of o)f&=c(t,this,p,{start:i,end:i+r-1});return!!f}draw(t,i,r,o){const c=this.options||{};(this.points||[]).length&&c.borderWidth&&(t.save(),$7(t,this,r,o),t.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}ht(Bp,"id","line"),ht(Bp,"defaults",{borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0}),ht(Bp,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"}),ht(Bp,"descriptors",{_scriptable:!0,_indexable:t=>t!=="borderDash"&&t!=="fill"});function ER(e,t,i,r){const o=e.options,{[i]:c}=e.getProps([i],r);return Math.abs(t-c)<o.radius+o.hitRadius}class LS extends Kd{constructor(i){super();ht(this,"parsed");ht(this,"skip");ht(this,"stop");this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,i&&Object.assign(this,i)}inRange(i,r,o){const c=this.options,{x:f,y:p}=this.getProps(["x","y"],o);return Math.pow(i-f,2)+Math.pow(r-p,2)<Math.pow(c.hitRadius+c.radius,2)}inXRange(i,r){return ER(this,i,"x",r)}inYRange(i,r){return ER(this,i,"y",r)}getCenterPoint(i){const{x:r,y:o}=this.getProps(["x","y"],i);return{x:r,y:o}}size(i){i=i||this.options||{};let r=i.radius||0;r=Math.max(r,r&&i.hoverRadius||0);const o=r&&i.borderWidth||0;return(r+o)*2}draw(i,r){const o=this.options;this.skip||o.radius<.1||!Zd(this,r,this.size(o)/2)||(i.strokeStyle=o.borderColor,i.lineWidth=o.borderWidth,i.fillStyle=o.backgroundColor,BT(i,o,this.x,this.y))}getRange(){const i=this.options||{};return i.radius+i.hitRadius}}ht(LS,"id","point"),ht(LS,"defaults",{borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0}),ht(LS,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});function AR(e,t){const{x:i,y:r,base:o,width:c,height:f}=e.getProps(["x","y","base","width","height"],t);let p,m,b,S,E;return e.horizontal?(E=f/2,p=Math.min(i,o),m=Math.max(i,o),b=r-E,S=r+E):(E=c/2,p=i-E,m=i+E,b=Math.min(r,o),S=Math.max(r,o)),{left:p,top:b,right:m,bottom:S}}function Lp(e,t,i,r){return e?0:Rl(t,i,r)}function Q7(e,t,i){const r=e.options.borderWidth,o=e.borderSkipped,c=mO(r);return{t:Lp(o.top,c.top,0,i),r:Lp(o.right,c.right,0,t),b:Lp(o.bottom,c.bottom,0,i),l:Lp(o.left,c.left,0,t)}}function Z7(e,t,i){const{enableBorderRadius:r}=e.getProps(["enableBorderRadius"]),o=e.options.borderRadius,c=Im(o),f=Math.min(t,i),p=e.borderSkipped,m=r||Un(o);return{topLeft:Lp(!m||p.top||p.left,c.topLeft,0,f),topRight:Lp(!m||p.top||p.right,c.topRight,0,f),bottomLeft:Lp(!m||p.bottom||p.left,c.bottomLeft,0,f),bottomRight:Lp(!m||p.bottom||p.right,c.bottomRight,0,f)}}function W7(e){const t=AR(e),i=t.right-t.left,r=t.bottom-t.top,o=Q7(e,i/2,r/2),c=Z7(e,i/2,r/2);return{outer:{x:t.left,y:t.top,w:i,h:r,radius:c},inner:{x:t.left+o.l,y:t.top+o.t,w:i-o.l-o.r,h:r-o.t-o.b,radius:{topLeft:Math.max(0,c.topLeft-Math.max(o.t,o.l)),topRight:Math.max(0,c.topRight-Math.max(o.t,o.r)),bottomLeft:Math.max(0,c.bottomLeft-Math.max(o.b,o.l)),bottomRight:Math.max(0,c.bottomRight-Math.max(o.b,o.r))}}}}function WT(e,t,i,r){const o=t===null,c=i===null,p=e&&!(o&&c)&&AR(e,r);return p&&(o||Qd(t,p.left,p.right))&&(c||Qd(i,p.top,p.bottom))}function K7(e){return e.topLeft||e.topRight||e.bottomLeft||e.bottomRight}function J7(e,t){e.rect(t.x,t.y,t.w,t.h)}function KT(e,t,i={}){const r=e.x!==i.x?-t:0,o=e.y!==i.y?-t:0,c=(e.x+e.w!==i.x+i.w?t:0)-r,f=(e.y+e.h!==i.y+i.h?t:0)-o;return{x:e.x+r,y:e.y+o,w:e.w+c,h:e.h+f,radius:e.radius}}class kS extends Kd{constructor(t){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,t&&Object.assign(this,t)}draw(t){const{inflateAmount:i,options:{borderColor:r,backgroundColor:o}}=this,{inner:c,outer:f}=W7(this),p=K7(f.radius)?i1:J7;t.save(),(f.w!==c.w||f.h!==c.h)&&(t.beginPath(),p(t,KT(f,i,c)),t.clip(),p(t,KT(c,-i,f)),t.fillStyle=r,t.fill("evenodd")),t.beginPath(),p(t,KT(c,i)),t.fillStyle=o,t.fill(),t.restore()}inRange(t,i,r){return WT(this,t,i,r)}inXRange(t,i){return WT(this,t,null,i)}inYRange(t,i){return WT(this,null,t,i)}getCenterPoint(t){const{x:i,y:r,base:o,horizontal:c}=this.getProps(["x","y","base","horizontal"],t);return{x:c?(i+o)/2:i,y:c?r:(r+o)/2}}getRange(t){return t==="x"?this.width/2:this.height/2}}ht(kS,"id","bar"),ht(kS,"defaults",{borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0}),ht(kS,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});function eU(e,t,i){const r=e.segments,o=e.points,c=t.points,f=[];for(const p of r){let{start:m,end:b}=p;b=eC(m,b,o);const S=JT(i,o[m],o[b],p.loop);if(!t.segments){f.push({source:p,target:S,start:o[m],end:o[b]});continue}const E=MO(t,S);for(const _ of E){const O=JT(i,c[_.start],c[_.end],_.loop),M=RO(p,o,O);for(const N of M)f.push({source:N,target:_,start:{[i]:TR(S,O,"start",Math.max)},end:{[i]:TR(S,O,"end",Math.min)}})}}return f}function JT(e,t,i,r){if(r)return;let o=t[e],c=i[e];return e==="angle"&&(o=Ls(o),c=Ls(c)),{property:e,start:o,end:c}}function tU(e,t){const{x:i=null,y:r=null}=e||{},o=t.points,c=[];return t.segments.forEach(({start:f,end:p})=>{p=eC(f,p,o);const m=o[f],b=o[p];r!==null?(c.push({x:m.x,y:r}),c.push({x:b.x,y:r})):i!==null&&(c.push({x:i,y:m.y}),c.push({x:i,y:b.y}))}),c}function eC(e,t,i){for(;t>e;t--){const r=i[t];if(!isNaN(r.x)&&!isNaN(r.y))break}return t}function TR(e,t,i,r){return e&&t?r(e[i],t[i]):e?e[i]:t?t[i]:0}function CR(e,t){let i=[],r=!1;return la(e)?(r=!0,i=e):i=tU(e,t),i.length?new Bp({points:i,options:{tension:0},_loop:r,_fullLoop:r}):null}function _R(e){return e&&e.fill!==!1}function nU(e,t,i){let o=e[t].fill;const c=[t];let f;if(!i)return o;for(;o!==!1&&c.indexOf(o)===-1;){if(!jr(o))return o;if(f=e[o],!f)return!1;if(f.visible)return o;c.push(o),o=f.fill}return!1}function iU(e,t,i){const r=oU(e);if(Un(r))return isNaN(r.value)?!1:r;let o=parseFloat(r);return jr(o)&&Math.floor(o)===o?aU(r[0],t,o,i):["origin","start","end","stack","shape"].indexOf(r)>=0&&r}function aU(e,t,i,r){return(e==="-"||e==="+")&&(i=t+i),i===t||i<0||i>=r?!1:i}function rU(e,t){let i=null;return e==="start"?i=t.bottom:e==="end"?i=t.top:Un(e)?i=t.getPixelForValue(e.value):t.getBasePixel&&(i=t.getBasePixel()),i}function lU(e,t,i){let r;return e==="start"?r=i:e==="end"?r=t.options.reverse?t.min:t.max:Un(e)?r=e.value:r=t.getBaseValue(),r}function oU(e){const t=e.options,i=t.fill;let r=En(i&&i.target,i);return r===void 0&&(r=!!t.backgroundColor),r===!1||r===null?!1:r===!0?"origin":r}function sU(e){const{scale:t,index:i,line:r}=e,o=[],c=r.segments,f=r.points,p=uU(t,i);p.push(CR({x:null,y:t.bottom},r));for(let m=0;m<c.length;m++){const b=c[m];for(let S=b.start;S<=b.end;S++)cU(o,f[S],p)}return new Bp({points:o,options:{}})}function uU(e,t){const i=[],r=e.getMatchingVisibleMetas("line");for(let o=0;o<r.length;o++){const c=r[o];if(c.index===t)break;c.hidden||i.unshift(c.dataset)}return i}function cU(e,t,i){const r=[];for(let o=0;o<i.length;o++){const c=i[o],{first:f,last:p,point:m}=fU(c,t,"x");if(!(!m||f&&p)){if(f)r.unshift(m);else if(e.push(m),!p)break}}e.push(...r)}function fU(e,t,i){const r=e.interpolate(t,i);if(!r)return{};const o=r[i],c=e.segments,f=e.points;let p=!1,m=!1;for(let b=0;b<c.length;b++){const S=c[b],E=f[S.start][i],_=f[S.end][i];if(Qd(o,E,_)){p=o===E,m=o===_;break}}return{first:p,last:m,point:r}}class wR{constructor(t){this.x=t.x,this.y=t.y,this.radius=t.radius}pathSegment(t,i,r){const{x:o,y:c,radius:f}=this;return i=i||{start:0,end:Wi},t.arc(o,c,f,i.end,i.start,!0),!r.bounds}interpolate(t){const{x:i,y:r,radius:o}=this,c=t.angle;return{x:i+Math.cos(c)*o,y:r+Math.sin(c)*o,angle:c}}}function dU(e){const{chart:t,fill:i,line:r}=e;if(jr(i))return hU(t,i);if(i==="stack")return sU(e);if(i==="shape")return!0;const o=pU(e);return o instanceof wR?o:CR(o,r)}function hU(e,t){const i=e.getDatasetMeta(t);return i&&e.isDatasetVisible(t)?i.dataset:null}function pU(e){return(e.scale||{}).getPointPositionForValue?mU(e):gU(e)}function gU(e){const{scale:t={},fill:i}=e,r=rU(i,t);if(jr(r)){const o=t.isHorizontal();return{x:o?r:null,y:o?null:r}}return null}function mU(e){const{scale:t,fill:i}=e,r=t.options,o=t.getLabels().length,c=r.reverse?t.max:t.min,f=lU(i,t,c),p=[];if(r.grid.circular){const m=t.getPointPositionForValue(0,c);return new wR({x:m.x,y:m.y,radius:t.getDistanceFromCenterForValue(f)})}for(let m=0;m<o;++m)p.push(t.getPointPositionForValue(m,f));return p}function tC(e,t,i){const r=dU(t),{line:o,scale:c,axis:f}=t,p=o.options,m=p.fill,b=p.backgroundColor,{above:S=b,below:E=b}=m||{};r&&o.points.length&&(pS(e,i),yU(e,{line:o,target:r,above:S,below:E,area:i,scale:c,axis:f}),gS(e))}function yU(e,t){const{line:i,target:r,above:o,below:c,area:f,scale:p}=t,m=i._loop?"angle":t.axis;e.save(),m==="x"&&c!==o&&(DR(e,r,f.top),OR(e,{line:i,target:r,color:o,scale:p,property:m}),e.restore(),e.save(),DR(e,r,f.bottom)),OR(e,{line:i,target:r,color:c,scale:p,property:m}),e.restore()}function DR(e,t,i){const{segments:r,points:o}=t;let c=!0,f=!1;e.beginPath();for(const p of r){const{start:m,end:b}=p,S=o[m],E=o[eC(m,b,o)];c?(e.moveTo(S.x,S.y),c=!1):(e.lineTo(S.x,i),e.lineTo(S.x,S.y)),f=!!t.pathSegment(e,p,{move:f}),f?e.closePath():e.lineTo(E.x,i)}e.lineTo(t.first().x,i),e.closePath(),e.clip()}function OR(e,t){const{line:i,target:r,property:o,color:c,scale:f}=t,p=eU(i,r,o);for(const{source:m,target:b,start:S,end:E}of p){const{style:{backgroundColor:_=c}={}}=m,O=r!==!0;e.save(),e.fillStyle=_,vU(e,f,O&&JT(o,S,E)),e.beginPath();const M=!!i.pathSegment(e,m);let N;if(O){M?e.closePath():RR(e,r,E,o);const w=!!r.pathSegment(e,b,{move:M,reverse:!0});N=M&&w,N||RR(e,r,S,o)}e.closePath(),e.fill(N?"evenodd":"nonzero"),e.restore()}}function vU(e,t,i){const{top:r,bottom:o}=t.chart.chartArea,{property:c,start:f,end:p}=i||{};c==="x"&&(e.beginPath(),e.rect(f,r,p-f,o-r),e.clip())}function RR(e,t,i,r){const o=t.interpolate(i,r);o&&e.lineTo(o.x,o.y)}var bU={id:"filler",afterDatasetsUpdate(e,t,i){const r=(e.data.datasets||[]).length,o=[];let c,f,p,m;for(f=0;f<r;++f)c=e.getDatasetMeta(f),p=c.dataset,m=null,p&&p.options&&p instanceof Bp&&(m={visible:e.isDatasetVisible(f),index:f,fill:iU(p,f,r),chart:e,axis:c.controller.options.indexAxis,scale:c.vScale,line:p}),c.$filler=m,o.push(m);for(f=0;f<r;++f)m=o[f],!(!m||m.fill===!1)&&(m.fill=nU(o,f,i.propagate))},beforeDraw(e,t,i){const r=i.drawTime==="beforeDraw",o=e.getSortedVisibleDatasetMetas(),c=e.chartArea;for(let f=o.length-1;f>=0;--f){const p=o[f].$filler;p&&(p.line.updateControlPoints(c,p.axis),r&&p.fill&&tC(e.ctx,p,c))}},beforeDatasetsDraw(e,t,i){if(i.drawTime!=="beforeDatasetsDraw")return;const r=e.getSortedVisibleDatasetMetas();for(let o=r.length-1;o>=0;--o){const c=r[o].$filler;_R(c)&&tC(e.ctx,c,e.chartArea)}},beforeDatasetDraw(e,t,i){const r=t.meta.$filler;!_R(r)||i.drawTime!=="beforeDatasetDraw"||tC(e.ctx,r,e.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const MR=(e,t)=>{let{boxHeight:i=t,boxWidth:r=t}=e;return e.usePointStyle&&(i=Math.min(i,t),r=e.pointStyleWidth||Math.min(r,t)),{boxWidth:r,boxHeight:i,itemHeight:Math.max(t,i)}},xU=(e,t)=>e!==null&&t!==null&&e.datasetIndex===t.datasetIndex&&e.index===t.index;class NR extends Kd{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.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(t,i,r){this.maxWidth=t,this.maxHeight=i,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 t=this.options.labels||{};let i=ji(t.generateLabels,[this.chart],this)||[];t.filter&&(i=i.filter(r=>t.filter(r,this.chart.data))),t.sort&&(i=i.sort((r,o)=>t.sort(r,o,this.chart.data))),this.options.reverse&&i.reverse(),this.legendItems=i}fit(){const{options:t,ctx:i}=this;if(!t.display){this.width=this.height=0;return}const r=t.labels,o=hr(r.font),c=o.size,f=this._computeTitleHeight(),{boxWidth:p,itemHeight:m}=MR(r,c);let b,S;i.font=o.string,this.isHorizontal()?(b=this.maxWidth,S=this._fitRows(f,c,p,m)+10):(S=this.maxHeight,b=this._fitCols(f,o,p,m)+10),this.width=Math.min(b,t.maxWidth||this.maxWidth),this.height=Math.min(S,t.maxHeight||this.maxHeight)}_fitRows(t,i,r,o){const{ctx:c,maxWidth:f,options:{labels:{padding:p}}}=this,m=this.legendHitBoxes=[],b=this.lineWidths=[0],S=o+p;let E=t;c.textAlign="left",c.textBaseline="middle";let _=-1,O=-S;return this.legendItems.forEach((M,N)=>{const w=r+i/2+c.measureText(M.text).width;(N===0||b[b.length-1]+w+2*p>f)&&(E+=S,b[b.length-(N>0?0:1)]=0,O+=S,_++),m[N]={left:0,top:O,row:_,width:w,height:o},b[b.length-1]+=w+p}),E}_fitCols(t,i,r,o){const{ctx:c,maxHeight:f,options:{labels:{padding:p}}}=this,m=this.legendHitBoxes=[],b=this.columnSizes=[],S=f-t;let E=p,_=0,O=0,M=0,N=0;return this.legendItems.forEach((w,U)=>{const{itemWidth:q,itemHeight:P}=SU(r,i,c,w,o);U>0&&O+P+2*p>S&&(E+=_+p,b.push({width:_,height:O}),M+=_+p,N++,_=O=0),m[U]={left:M,top:O,col:N,width:q,height:P},_=Math.max(_,q),O+=P+p}),E+=_,b.push({width:_,height:O}),E}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:i,options:{align:r,labels:{padding:o},rtl:c}}=this,f=Jy(c,this.left,this.width);if(this.isHorizontal()){let p=0,m=Ml(r,this.left+o,this.right-this.lineWidths[p]);for(const b of i)p!==b.row&&(p=b.row,m=Ml(r,this.left+o,this.right-this.lineWidths[p])),b.top+=this.top+t+o,b.left=f.leftForLtr(f.x(m),b.width),m+=b.width+o}else{let p=0,m=Ml(r,this.top+t+o,this.bottom-this.columnSizes[p].height);for(const b of i)b.col!==p&&(p=b.col,m=Ml(r,this.top+t+o,this.bottom-this.columnSizes[p].height)),b.top=m,b.left+=this.left+o,b.left=f.leftForLtr(f.x(b.left),b.width),m+=b.height+o}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const t=this.ctx;pS(t,this),this._draw(),gS(t)}}_draw(){const{options:t,columnSizes:i,lineWidths:r,ctx:o}=this,{align:c,labels:f}=t,p=Sa.color,m=Jy(t.rtl,this.left,this.width),b=hr(f.font),{padding:S}=f,E=b.size,_=E/2;let O;this.drawTitle(),o.textAlign=m.textAlign("left"),o.textBaseline="middle",o.lineWidth=.5,o.font=b.string;const{boxWidth:M,boxHeight:N,itemHeight:w}=MR(f,E),U=function(H,j,K){if(isNaN(M)||M<=0||isNaN(N)||N<0)return;o.save();const W=En(K.lineWidth,1);if(o.fillStyle=En(K.fillStyle,p),o.lineCap=En(K.lineCap,"butt"),o.lineDashOffset=En(K.lineDashOffset,0),o.lineJoin=En(K.lineJoin,"miter"),o.lineWidth=W,o.strokeStyle=En(K.strokeStyle,p),o.setLineDash(En(K.lineDash,[])),f.usePointStyle){const ge={radius:N*Math.SQRT2/2,pointStyle:K.pointStyle,rotation:K.rotation,borderWidth:W},ce=m.xPlus(H,M/2),be=j+_;gO(o,ge,ce,be,f.pointStyleWidth&&M)}else{const ge=j+Math.max((E-N)/2,0),ce=m.leftForLtr(H,M),be=Im(K.borderRadius);o.beginPath(),Object.values(be).some(Oe=>Oe!==0)?i1(o,{x:ce,y:ge,w:M,h:N,radius:be}):o.rect(ce,ge,M,N),o.fill(),W!==0&&o.stroke()}o.restore()},q=function(H,j,K){Fm(o,K.text,H,j+w/2,b,{strikethrough:K.hidden,textAlign:m.textAlign(K.textAlign)})},P=this.isHorizontal(),z=this._computeTitleHeight();P?O={x:Ml(c,this.left+S,this.right-r[0]),y:this.top+S+z,line:0}:O={x:this.left+S,y:Ml(c,this.top+z+S,this.bottom-i[0].height),line:0},_O(this.ctx,t.textDirection);const R=w+S;this.legendItems.forEach((H,j)=>{o.strokeStyle=H.fontColor,o.fillStyle=H.fontColor;const K=o.measureText(H.text).width,W=m.textAlign(H.textAlign||(H.textAlign=f.textAlign)),ge=M+_+K;let ce=O.x,be=O.y;m.setWidth(this.width),P?j>0&&ce+ge+S>this.right&&(be=O.y+=R,O.line++,ce=O.x=Ml(c,this.left+S,this.right-r[O.line])):j>0&&be+R>this.bottom&&(ce=O.x=ce+i[O.line].width+S,O.line++,be=O.y=Ml(c,this.top+z+S,this.bottom-i[O.line].height));const Oe=m.x(ce);if(U(Oe,be,H),ce=Z5(W,ce+M+_,P?ce+ge:this.right,t.rtl),q(m.x(ce),be,H),P)O.x+=ge+S;else if(typeof H.text!="string"){const Ae=b.lineHeight;O.y+=BR(H,Ae)+S}else O.y+=R}),wO(this.ctx,t.textDirection)}drawTitle(){const t=this.options,i=t.title,r=hr(i.font),o=Nl(i.padding);if(!i.display)return;const c=Jy(t.rtl,this.left,this.width),f=this.ctx,p=i.position,m=r.size/2,b=o.top+m;let S,E=this.left,_=this.width;if(this.isHorizontal())_=Math.max(...this.lineWidths),S=this.top+b,E=Ml(t.align,E,this.right-_);else{const M=this.columnSizes.reduce((N,w)=>Math.max(N,w.height),0);S=b+Ml(t.align,this.top,this.bottom-M-t.labels.padding-this._computeTitleHeight())}const O=Ml(p,E,E+_);f.textAlign=c.textAlign(wT(p)),f.textBaseline="middle",f.strokeStyle=i.color,f.fillStyle=i.color,f.font=r.string,Fm(f,i.text,O,S,r)}_computeTitleHeight(){const t=this.options.title,i=hr(t.font),r=Nl(t.padding);return t.display?i.lineHeight+r.height:0}_getLegendItemAt(t,i){let r,o,c;if(Qd(t,this.left,this.right)&&Qd(i,this.top,this.bottom)){for(c=this.legendHitBoxes,r=0;r<c.length;++r)if(o=c[r],Qd(t,o.left,o.left+o.width)&&Qd(i,o.top,o.top+o.height))return this.legendItems[r]}return null}handleEvent(t){const i=this.options;if(!TU(t.type,i))return;const r=this._getLegendItemAt(t.x,t.y);if(t.type==="mousemove"||t.type==="mouseout"){const o=this._hoveredItem,c=xU(o,r);o&&!c&&ji(i.onLeave,[t,o,this],this),this._hoveredItem=r,r&&!c&&ji(i.onHover,[t,r,this],this)}else r&&ji(i.onClick,[t,r,this],this)}}function SU(e,t,i,r,o){const c=EU(r,e,t,i),f=AU(o,r,t.lineHeight);return{itemWidth:c,itemHeight:f}}function EU(e,t,i,r){let o=e.text;return o&&typeof o!="string"&&(o=o.reduce((c,f)=>c.length>f.length?c:f)),t+i.size/2+r.measureText(o).width}function AU(e,t,i){let r=e;return typeof t.text!="string"&&(r=BR(t,i)),r}function BR(e,t){const i=e.text?e.text.length:0;return t*i}function TU(e,t){return!!((e==="mousemove"||e==="mouseout")&&(t.onHover||t.onLeave)||t.onClick&&(e==="click"||e==="mouseup"))}var zS={id:"legend",_element:NR,start(e,t,i){const r=e.legend=new NR({ctx:e.ctx,options:i,chart:e});Eu.configure(e,r,i),Eu.addBox(e,r)},stop(e){Eu.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,i){const r=e.legend;Eu.configure(e,r,i),r.options=i},afterUpdate(e){const t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,i){const r=t.datasetIndex,o=i.chart;o.isDatasetVisible(r)?(o.hide(r),t.hidden=!0):(o.show(r),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){const t=e.data.datasets,{labels:{usePointStyle:i,pointStyle:r,textAlign:o,color:c,useBorderRadius:f,borderRadius:p}}=e.legend.options;return e._getSortedDatasetMetas().map(m=>{const b=m.controller.getStyle(i?0:void 0),S=Nl(b.borderWidth);return{text:t[m.index].label,fillStyle:b.backgroundColor,fontColor:c,hidden:!m.visible,lineCap:b.borderCapStyle,lineDash:b.borderDash,lineDashOffset:b.borderDashOffset,lineJoin:b.borderJoinStyle,lineWidth:(S.width+S.height)/4,strokeStyle:b.borderColor,pointStyle:r||b.pointStyle,rotation:b.rotation,textAlign:o||b.textAlign,borderRadius:f&&(p||b.borderRadius),datasetIndex:m.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}};class LR extends Kd{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.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(t,i){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=t,this.height=this.bottom=i;const o=la(r.text)?r.text.length:1;this._padding=Nl(r.padding);const c=o*hr(r.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=c:this.width=c}isHorizontal(){const t=this.options.position;return t==="top"||t==="bottom"}_drawArgs(t){const{top:i,left:r,bottom:o,right:c,options:f}=this,p=f.align;let m=0,b,S,E;return this.isHorizontal()?(S=Ml(p,r,c),E=i+t,b=c-r):(f.position==="left"?(S=r+t,E=Ml(p,o,i),m=Zi*-.5):(S=c-t,E=Ml(p,i,o),m=Zi*.5),b=o-i),{titleX:S,titleY:E,maxWidth:b,rotation:m}}draw(){const t=this.ctx,i=this.options;if(!i.display)return;const r=hr(i.font),c=r.lineHeight/2+this._padding.top,{titleX:f,titleY:p,maxWidth:m,rotation:b}=this._drawArgs(c);Fm(t,i.text,0,0,r,{color:i.color,maxWidth:m,rotation:b,textAlign:wT(i.align),textBaseline:"middle",translation:[f,p]})}}function CU(e,t){const i=new LR({ctx:e.ctx,options:t,chart:e});Eu.configure(e,i,t),Eu.addBox(e,i),e.titleBlock=i}var kR={id:"title",_element:LR,start(e,t,i){CU(e,i)},stop(e){const t=e.titleBlock;Eu.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,i){const r=e.titleBlock;Eu.configure(e,r,i),r.options=i},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 d1={average(e){if(!e.length)return!1;let t,i,r=new Set,o=0,c=0;for(t=0,i=e.length;t<i;++t){const p=e[t].element;if(p&&p.hasValue()){const m=p.tooltipPosition();r.add(m.x),o+=m.y,++c}}return c===0||r.size===0?!1:{x:[...r].reduce((p,m)=>p+m)/r.size,y:o/c}},nearest(e,t){if(!e.length)return!1;let i=t.x,r=t.y,o=Number.POSITIVE_INFINITY,c,f,p;for(c=0,f=e.length;c<f;++c){const m=e[c].element;if(m&&m.hasValue()){const b=m.getCenterPoint(),S=CT(t,b);S<o&&(o=S,p=m)}}if(p){const m=p.tooltipPosition();i=m.x,r=m.y}return{x:i,y:r}}};function Tf(e,t){return t&&(la(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function Jd(e){return(typeof e=="string"||e instanceof String)&&e.indexOf(`
|
|
110
|
+
`)>-1?e.split(`
|
|
111
|
+
`):e}function _U(e,t){const{element:i,datasetIndex:r,index:o}=t,c=e.getDatasetMeta(r).controller,{label:f,value:p}=c.getLabelAndValue(o);return{chart:e,label:f,parsed:c.getParsed(o),raw:e.data.datasets[r].data[o],formattedValue:p,dataset:c.getDataset(),dataIndex:o,datasetIndex:r,element:i}}function zR(e,t){const i=e.chart.ctx,{body:r,footer:o,title:c}=e,{boxWidth:f,boxHeight:p}=t,m=hr(t.bodyFont),b=hr(t.titleFont),S=hr(t.footerFont),E=c.length,_=o.length,O=r.length,M=Nl(t.padding);let N=M.height,w=0,U=r.reduce((z,R)=>z+R.before.length+R.lines.length+R.after.length,0);if(U+=e.beforeBody.length+e.afterBody.length,E&&(N+=E*b.lineHeight+(E-1)*t.titleSpacing+t.titleMarginBottom),U){const z=t.displayColors?Math.max(p,m.lineHeight):m.lineHeight;N+=O*z+(U-O)*m.lineHeight+(U-1)*t.bodySpacing}_&&(N+=t.footerMarginTop+_*S.lineHeight+(_-1)*t.footerSpacing);let q=0;const P=function(z){w=Math.max(w,i.measureText(z).width+q)};return i.save(),i.font=b.string,Ei(e.title,P),i.font=m.string,Ei(e.beforeBody.concat(e.afterBody),P),q=t.displayColors?f+2+t.boxPadding:0,Ei(r,z=>{Ei(z.before,P),Ei(z.lines,P),Ei(z.after,P)}),q=0,i.font=S.string,Ei(e.footer,P),i.restore(),w+=M.width,{width:w,height:N}}function wU(e,t){const{y:i,height:r}=t;return i<r/2?"top":i>e.height-r/2?"bottom":"center"}function DU(e,t,i,r){const{x:o,width:c}=r,f=i.caretSize+i.caretPadding;if(e==="left"&&o+c+f>t.width||e==="right"&&o-c-f<0)return!0}function OU(e,t,i,r){const{x:o,width:c}=i,{width:f,chartArea:{left:p,right:m}}=e;let b="center";return r==="center"?b=o<=(p+m)/2?"left":"right":o<=c/2?b="left":o>=f-c/2&&(b="right"),DU(b,e,t,i)&&(b="center"),b}function UR(e,t,i){const r=i.yAlign||t.yAlign||wU(e,i);return{xAlign:i.xAlign||t.xAlign||OU(e,t,i,r),yAlign:r}}function RU(e,t){let{x:i,width:r}=e;return t==="right"?i-=r:t==="center"&&(i-=r/2),i}function MU(e,t,i){let{y:r,height:o}=e;return t==="top"?r+=i:t==="bottom"?r-=o+i:r-=o/2,r}function HR(e,t,i,r){const{caretSize:o,caretPadding:c,cornerRadius:f}=e,{xAlign:p,yAlign:m}=i,b=o+c,{topLeft:S,topRight:E,bottomLeft:_,bottomRight:O}=Im(f);let M=RU(t,p);const N=MU(t,m,b);return m==="center"?p==="left"?M+=b:p==="right"&&(M-=b):p==="left"?M-=Math.max(S,_)+o:p==="right"&&(M+=Math.max(E,O)+o),{x:Rl(M,0,r.width-t.width),y:Rl(N,0,r.height-t.height)}}function US(e,t,i){const r=Nl(i.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-r.right:e.x+r.left}function jR(e){return Tf([],Jd(e))}function NU(e,t,i){return Mp(e,{tooltip:t,tooltipItems:i,type:"tooltip"})}function FR(e,t){const i=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return i?e.override(i):e}const IR={beforeTitle:$d,title(e){if(e.length>0){const t=e[0],i=t.chart.data.labels,r=i?i.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(r>0&&t.dataIndex<r)return i[t.dataIndex]}return""},afterTitle:$d,beforeBody:$d,beforeLabel:$d,label(e){if(this&&this.options&&this.options.mode==="dataset")return e.label+": "+e.formattedValue||e.formattedValue;let t=e.dataset.label||"";t&&(t+=": ");const i=e.formattedValue;return Wn(i)||(t+=i),t},labelColor(e){const i=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:i.borderColor,backgroundColor:i.backgroundColor,borderWidth:i.borderWidth,borderDash:i.borderDash,borderDashOffset:i.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){const i=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:i.pointStyle,rotation:i.rotation}},afterLabel:$d,afterBody:$d,beforeFooter:$d,footer:$d,afterFooter:$d};function jo(e,t,i,r){const o=e[t].call(i,r);return typeof o>"u"?IR[t].call(i,r):o}class nC extends Kd{constructor(t){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=t.chart,this.options=t.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(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const i=this.chart,r=this.options.setContext(this.getContext()),o=r.enabled&&i.options.animation&&r.animations,c=new kO(this.chart,o);return o._cacheable&&(this._cachedAnimations=Object.freeze(c)),c}getContext(){return this.$context||(this.$context=NU(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,i){const{callbacks:r}=i,o=jo(r,"beforeTitle",this,t),c=jo(r,"title",this,t),f=jo(r,"afterTitle",this,t);let p=[];return p=Tf(p,Jd(o)),p=Tf(p,Jd(c)),p=Tf(p,Jd(f)),p}getBeforeBody(t,i){return jR(jo(i.callbacks,"beforeBody",this,t))}getBody(t,i){const{callbacks:r}=i,o=[];return Ei(t,c=>{const f={before:[],lines:[],after:[]},p=FR(r,c);Tf(f.before,Jd(jo(p,"beforeLabel",this,c))),Tf(f.lines,jo(p,"label",this,c)),Tf(f.after,Jd(jo(p,"afterLabel",this,c))),o.push(f)}),o}getAfterBody(t,i){return jR(jo(i.callbacks,"afterBody",this,t))}getFooter(t,i){const{callbacks:r}=i,o=jo(r,"beforeFooter",this,t),c=jo(r,"footer",this,t),f=jo(r,"afterFooter",this,t);let p=[];return p=Tf(p,Jd(o)),p=Tf(p,Jd(c)),p=Tf(p,Jd(f)),p}_createItems(t){const i=this._active,r=this.chart.data,o=[],c=[],f=[];let p=[],m,b;for(m=0,b=i.length;m<b;++m)p.push(_U(this.chart,i[m]));return t.filter&&(p=p.filter((S,E,_)=>t.filter(S,E,_,r))),t.itemSort&&(p=p.sort((S,E)=>t.itemSort(S,E,r))),Ei(p,S=>{const E=FR(t.callbacks,S);o.push(jo(E,"labelColor",this,S)),c.push(jo(E,"labelPointStyle",this,S)),f.push(jo(E,"labelTextColor",this,S))}),this.labelColors=o,this.labelPointStyles=c,this.labelTextColors=f,this.dataPoints=p,p}update(t,i){const r=this.options.setContext(this.getContext()),o=this._active;let c,f=[];if(!o.length)this.opacity!==0&&(c={opacity:0});else{const p=d1[r.position].call(this,o,this._eventPosition);f=this._createItems(r),this.title=this.getTitle(f,r),this.beforeBody=this.getBeforeBody(f,r),this.body=this.getBody(f,r),this.afterBody=this.getAfterBody(f,r),this.footer=this.getFooter(f,r);const m=this._size=zR(this,r),b=Object.assign({},p,m),S=UR(this.chart,r,b),E=HR(r,b,S,this.chart);this.xAlign=S.xAlign,this.yAlign=S.yAlign,c={opacity:1,x:E.x,y:E.y,width:m.width,height:m.height,caretX:p.x,caretY:p.y}}this._tooltipItems=f,this.$context=void 0,c&&this._resolveAnimations().update(this,c),t&&r.external&&r.external.call(this,{chart:this.chart,tooltip:this,replay:i})}drawCaret(t,i,r,o){const c=this.getCaretPosition(t,r,o);i.lineTo(c.x1,c.y1),i.lineTo(c.x2,c.y2),i.lineTo(c.x3,c.y3)}getCaretPosition(t,i,r){const{xAlign:o,yAlign:c}=this,{caretSize:f,cornerRadius:p}=r,{topLeft:m,topRight:b,bottomLeft:S,bottomRight:E}=Im(p),{x:_,y:O}=t,{width:M,height:N}=i;let w,U,q,P,z,R;return c==="center"?(z=O+N/2,o==="left"?(w=_,U=w-f,P=z+f,R=z-f):(w=_+M,U=w+f,P=z-f,R=z+f),q=w):(o==="left"?U=_+Math.max(m,S)+f:o==="right"?U=_+M-Math.max(b,E)-f:U=this.caretX,c==="top"?(P=O,z=P-f,w=U-f,q=U+f):(P=O+N,z=P+f,w=U+f,q=U-f),R=P),{x1:w,x2:U,x3:q,y1:P,y2:z,y3:R}}drawTitle(t,i,r){const o=this.title,c=o.length;let f,p,m;if(c){const b=Jy(r.rtl,this.x,this.width);for(t.x=US(this,r.titleAlign,r),i.textAlign=b.textAlign(r.titleAlign),i.textBaseline="middle",f=hr(r.titleFont),p=r.titleSpacing,i.fillStyle=r.titleColor,i.font=f.string,m=0;m<c;++m)i.fillText(o[m],b.x(t.x),t.y+f.lineHeight/2),t.y+=f.lineHeight+p,m+1===c&&(t.y+=r.titleMarginBottom-p)}}_drawColorBox(t,i,r,o,c){const f=this.labelColors[r],p=this.labelPointStyles[r],{boxHeight:m,boxWidth:b}=c,S=hr(c.bodyFont),E=US(this,"left",c),_=o.x(E),O=m<S.lineHeight?(S.lineHeight-m)/2:0,M=i.y+O;if(c.usePointStyle){const N={radius:Math.min(b,m)/2,pointStyle:p.pointStyle,rotation:p.rotation,borderWidth:1},w=o.leftForLtr(_,b)+b/2,U=M+m/2;t.strokeStyle=c.multiKeyBackground,t.fillStyle=c.multiKeyBackground,BT(t,N,w,U),t.strokeStyle=f.borderColor,t.fillStyle=f.backgroundColor,BT(t,N,w,U)}else{t.lineWidth=Un(f.borderWidth)?Math.max(...Object.values(f.borderWidth)):f.borderWidth||1,t.strokeStyle=f.borderColor,t.setLineDash(f.borderDash||[]),t.lineDashOffset=f.borderDashOffset||0;const N=o.leftForLtr(_,b),w=o.leftForLtr(o.xPlus(_,1),b-2),U=Im(f.borderRadius);Object.values(U).some(q=>q!==0)?(t.beginPath(),t.fillStyle=c.multiKeyBackground,i1(t,{x:N,y:M,w:b,h:m,radius:U}),t.fill(),t.stroke(),t.fillStyle=f.backgroundColor,t.beginPath(),i1(t,{x:w,y:M+1,w:b-2,h:m-2,radius:U}),t.fill()):(t.fillStyle=c.multiKeyBackground,t.fillRect(N,M,b,m),t.strokeRect(N,M,b,m),t.fillStyle=f.backgroundColor,t.fillRect(w,M+1,b-2,m-2))}t.fillStyle=this.labelTextColors[r]}drawBody(t,i,r){const{body:o}=this,{bodySpacing:c,bodyAlign:f,displayColors:p,boxHeight:m,boxWidth:b,boxPadding:S}=r,E=hr(r.bodyFont);let _=E.lineHeight,O=0;const M=Jy(r.rtl,this.x,this.width),N=function(K){i.fillText(K,M.x(t.x+O),t.y+_/2),t.y+=_+c},w=M.textAlign(f);let U,q,P,z,R,H,j;for(i.textAlign=f,i.textBaseline="middle",i.font=E.string,t.x=US(this,w,r),i.fillStyle=r.bodyColor,Ei(this.beforeBody,N),O=p&&w!=="right"?f==="center"?b/2+S:b+2+S:0,z=0,H=o.length;z<H;++z){for(U=o[z],q=this.labelTextColors[z],i.fillStyle=q,Ei(U.before,N),P=U.lines,p&&P.length&&(this._drawColorBox(i,t,z,M,r),_=Math.max(E.lineHeight,m)),R=0,j=P.length;R<j;++R)N(P[R]),_=E.lineHeight;Ei(U.after,N)}O=0,_=E.lineHeight,Ei(this.afterBody,N),t.y-=c}drawFooter(t,i,r){const o=this.footer,c=o.length;let f,p;if(c){const m=Jy(r.rtl,this.x,this.width);for(t.x=US(this,r.footerAlign,r),t.y+=r.footerMarginTop,i.textAlign=m.textAlign(r.footerAlign),i.textBaseline="middle",f=hr(r.footerFont),i.fillStyle=r.footerColor,i.font=f.string,p=0;p<c;++p)i.fillText(o[p],m.x(t.x),t.y+f.lineHeight/2),t.y+=f.lineHeight+r.footerSpacing}}drawBackground(t,i,r,o){const{xAlign:c,yAlign:f}=this,{x:p,y:m}=t,{width:b,height:S}=r,{topLeft:E,topRight:_,bottomLeft:O,bottomRight:M}=Im(o.cornerRadius);i.fillStyle=o.backgroundColor,i.strokeStyle=o.borderColor,i.lineWidth=o.borderWidth,i.beginPath(),i.moveTo(p+E,m),f==="top"&&this.drawCaret(t,i,r,o),i.lineTo(p+b-_,m),i.quadraticCurveTo(p+b,m,p+b,m+_),f==="center"&&c==="right"&&this.drawCaret(t,i,r,o),i.lineTo(p+b,m+S-M),i.quadraticCurveTo(p+b,m+S,p+b-M,m+S),f==="bottom"&&this.drawCaret(t,i,r,o),i.lineTo(p+O,m+S),i.quadraticCurveTo(p,m+S,p,m+S-O),f==="center"&&c==="left"&&this.drawCaret(t,i,r,o),i.lineTo(p,m+E),i.quadraticCurveTo(p,m,p+E,m),i.closePath(),i.fill(),o.borderWidth>0&&i.stroke()}_updateAnimationTarget(t){const i=this.chart,r=this.$animations,o=r&&r.x,c=r&&r.y;if(o||c){const f=d1[t.position].call(this,this._active,this._eventPosition);if(!f)return;const p=this._size=zR(this,t),m=Object.assign({},f,this._size),b=UR(i,t,m),S=HR(t,m,b,i);(o._to!==S.x||c._to!==S.y)&&(this.xAlign=b.xAlign,this.yAlign=b.yAlign,this.width=p.width,this.height=p.height,this.caretX=f.x,this.caretY=f.y,this._resolveAnimations().update(this,S))}}_willRender(){return!!this.opacity}draw(t){const i=this.options.setContext(this.getContext());let r=this.opacity;if(!r)return;this._updateAnimationTarget(i);const o={width:this.width,height:this.height},c={x:this.x,y:this.y};r=Math.abs(r)<.001?0:r;const f=Nl(i.padding),p=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;i.enabled&&p&&(t.save(),t.globalAlpha=r,this.drawBackground(c,t,o,i),_O(t,i.textDirection),c.y+=f.top,this.drawTitle(c,t,i),this.drawBody(c,t,i),this.drawFooter(c,t,i),wO(t,i.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,i){const r=this._active,o=t.map(({datasetIndex:p,index:m})=>{const b=this.chart.getDatasetMeta(p);if(!b)throw new Error("Cannot find a dataset at index "+p);return{datasetIndex:p,element:b.data[m],index:m}}),c=!sS(r,o),f=this._positionChanged(o,i);(c||f)&&(this._active=o,this._eventPosition=i,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,i,r=!0){if(i&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const o=this.options,c=this._active||[],f=this._getActiveElements(t,c,i,r),p=this._positionChanged(f,t),m=i||!sS(f,c)||p;return m&&(this._active=f,(o.enabled||o.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,i))),m}_getActiveElements(t,i,r,o){const c=this.options;if(t.type==="mouseout")return[];if(!o)return i.filter(p=>this.chart.data.datasets[p.datasetIndex]&&this.chart.getDatasetMeta(p.datasetIndex).controller.getParsed(p.index)!==void 0);const f=this.chart.getElementsAtEventForMode(t,c.mode,c,r);return c.reverse&&f.reverse(),f}_positionChanged(t,i){const{caretX:r,caretY:o,options:c}=this,f=d1[c.position].call(this,t,i);return f!==!1&&(r!==f.x||o!==f.y)}}ht(nC,"positioners",d1);var HS={id:"tooltip",_element:nC,positioners:d1,afterInit(e,t,i){i&&(e.tooltip=new nC({chart:e,options:i}))},beforeUpdate(e,t,i){e.tooltip&&e.tooltip.initialize(i)},reset(e,t,i){e.tooltip&&e.tooltip.initialize(i)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const i={tooltip:t};if(e.notifyPlugins("beforeTooltipDraw",{...i,cancelable:!0})===!1)return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",i)}},afterEvent(e,t){if(e.tooltip){const i=t.replay;e.tooltip.handleEvent(t.event,i,t.inChartArea)&&(t.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:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.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:IR},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>e!=="filter"&&e!=="itemSort"&&e!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const BU=(e,t,i,r)=>(typeof t=="string"?(i=e.push(t)-1,r.unshift({index:i,label:t})):isNaN(t)&&(i=null),i);function LU(e,t,i,r){const o=e.indexOf(t);if(o===-1)return BU(e,t,i,r);const c=e.lastIndexOf(t);return o!==c?i:o}const kU=(e,t)=>e===null?null:Rl(Math.round(e),0,t);function PR(e){const t=this.getLabels();return e>=0&&e<t.length?t[e]:e}class jS extends ev{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const i=this._addedLabels;if(i.length){const r=this.getLabels();for(const{index:o,label:c}of i)r[o]===c&&r.splice(o,1);this._addedLabels=[]}super.init(t)}parse(t,i){if(Wn(t))return null;const r=this.getLabels();return i=isFinite(i)&&r[i]===t?i:LU(r,t,En(i,t),this._addedLabels),kU(i,r.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:i}=this.getUserBounds();let{min:r,max:o}=this.getMinMax(!0);this.options.bounds==="ticks"&&(t||(r=0),i||(o=this.getLabels().length-1)),this.min=r,this.max=o}buildTicks(){const t=this.min,i=this.max,r=this.options.offset,o=[];let c=this.getLabels();c=t===0&&i===c.length-1?c:c.slice(t,i+1),this._valueRange=Math.max(c.length-(r?0:1),1),this._startValue=this.min-(r?.5:0);for(let f=t;f<=i;f++)o.push({value:f});return o}getLabelForValue(t){return PR.call(this,t)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return typeof t!="number"&&(t=this.parse(t)),t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const i=this.ticks;return t<0||t>i.length-1?null:this.getPixelForValue(i[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}ht(jS,"id","category"),ht(jS,"defaults",{ticks:{callback:PR}});function zU(e,t){const i=[],{bounds:o,step:c,min:f,max:p,precision:m,count:b,maxTicks:S,maxDigits:E,includeBounds:_}=e,O=c||1,M=S-1,{min:N,max:w}=t,U=!Wn(f),q=!Wn(p),P=!Wn(b),z=(w-N)/(E+1);let R=nO((w-N)/M/O)*O,H,j,K,W;if(R<1e-14&&!U&&!q)return[{value:N},{value:w}];W=Math.ceil(w/R)-Math.floor(N/R),W>M&&(R=nO(W*R/M/O)*O),Wn(m)||(H=Math.pow(10,m),R=Math.ceil(R*H)/H),o==="ticks"?(j=Math.floor(N/R)*R,K=Math.ceil(w/R)*R):(j=N,K=w),U&&q&&c&&P5((p-f)/c,R/1e3)?(W=Math.round(Math.min((p-f)/R,S)),R=(p-f)/W,j=f,K=p):P?(j=U?f:j,K=q?p:K,W=b-1,R=(K-j)/W):(W=(K-j)/R,Kb(W,Math.round(W),R/1e3)?W=Math.round(W):W=Math.ceil(W));const ge=Math.max(iO(R),iO(j));H=Math.pow(10,Wn(m)?ge:m),j=Math.round(j*H)/H,K=Math.round(K*H)/H;let ce=0;for(U&&(_&&j!==f?(i.push({value:f}),j<f&&ce++,Kb(Math.round((j+ce*R)*H)/H,f,qR(f,z,e))&&ce++):j<f&&ce++);ce<W;++ce){const be=Math.round((j+ce*R)*H)/H;if(q&&be>p)break;i.push({value:be})}return q&&_&&K!==p?i.length&&Kb(i[i.length-1].value,p,qR(p,z,e))?i[i.length-1].value=p:i.push({value:p}):(!q||K===p)&&i.push({value:K}),i}function qR(e,t,{horizontal:i,minRotation:r}){const o=mc(r),c=(i?Math.sin(o):Math.cos(o))||.001,f=.75*t*(""+e).length;return Math.min(t/c,f)}class iC extends ev{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,i){return Wn(t)||(typeof t=="number"||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:i,maxDefined:r}=this.getUserBounds();let{min:o,max:c}=this;const f=m=>o=i?o:m,p=m=>c=r?c:m;if(t){const m=Ef(o),b=Ef(c);m<0&&b<0?p(0):m>0&&b>0&&f(0)}if(o===c){let m=c===0?1:Math.abs(c*.05);p(c+m),t||f(o-m)}this.min=o,this.max=c}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:i,stepSize:r}=t,o;return r?(o=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,o>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${o} ticks. Limiting to 1000.`),o=1e3)):(o=this.computeTickLimit(),i=i||11),i&&(o=Math.min(i,o)),o}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,i=t.ticks;let r=this.getTickLimit();r=Math.max(2,r);const o={maxTicks:r,bounds:t.bounds,min:t.min,max:t.max,precision:i.precision,step:i.stepSize,count:i.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:i.minRotation||0,includeBounds:i.includeBounds!==!1},c=this._range||this,f=zU(o,c);return t.bounds==="ticks"&&q5(f,this,"value"),t.reverse?(f.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),f}configure(){const t=this.ticks;let i=this.min,r=this.max;if(super.configure(),this.options.offset&&t.length){const o=(r-i)/Math.max(t.length-1,1)/2;i-=o,r+=o}this._startValue=i,this._endValue=r,this._valueRange=r-i}getLabelForValue(t){return dS(t,this.chart.options.locale,this.options.ticks.format)}}class FS extends iC{determineDataLimits(){const{min:t,max:i}=this.getMinMax(!0);this.min=jr(t)?t:0,this.max=jr(i)?i:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),i=t?this.width:this.height,r=mc(this.options.ticks.minRotation),o=(t?Math.sin(r):Math.cos(r))||.001,c=this._resolveTickFontOptions(0);return Math.ceil(i/Math.min(40,c.lineHeight/o))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}ht(FS,"id","linear"),ht(FS,"defaults",{ticks:{callback:RT.formatters.numeric}});function aC(e){const t=e.ticks;if(t.display&&e.display){const i=Nl(t.backdropPadding);return En(t.font&&t.font.size,Sa.font.size)+i.height}return 0}function UU(e,t,i){return i=la(i)?i:[i],{w:u8(e,t.string,i),h:i.length*t.lineHeight}}function VR(e,t,i,r,o){return e===r||e===o?{start:t-i/2,end:t+i/2}:e<r||e>o?{start:t-i,end:t}:{start:t,end:t+i}}function HU(e){const t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},i=Object.assign({},t),r=[],o=[],c=e._pointLabels.length,f=e.options.pointLabels,p=f.centerPointLabels?Zi/c:0;for(let m=0;m<c;m++){const b=f.setContext(e.getPointLabelContext(m));o[m]=b.padding;const S=e.getPointPosition(m,e.drawingArea+o[m],p),E=hr(b.font),_=UU(e.ctx,E,e._pointLabels[m]);r[m]=_;const O=Ls(e.getIndexAngle(m)+p),M=Math.round(TT(O)),N=VR(M,S.x,_.w,0,180),w=VR(M,S.y,_.h,90,270);jU(i,t,O,N,w)}e.setCenterPoint(t.l-i.l,i.r-t.r,t.t-i.t,i.b-t.b),e._pointLabelItems=PU(e,r,o)}function jU(e,t,i,r,o){const c=Math.abs(Math.sin(i)),f=Math.abs(Math.cos(i));let p=0,m=0;r.start<t.l?(p=(t.l-r.start)/c,e.l=Math.min(e.l,t.l-p)):r.end>t.r&&(p=(r.end-t.r)/c,e.r=Math.max(e.r,t.r+p)),o.start<t.t?(m=(t.t-o.start)/f,e.t=Math.min(e.t,t.t-m)):o.end>t.b&&(m=(o.end-t.b)/f,e.b=Math.max(e.b,t.b+m))}function FU(e,t,i){const r=e.drawingArea,{extra:o,additionalAngle:c,padding:f,size:p}=i,m=e.getPointPosition(t,r+o+f,c),b=Math.round(TT(Ls(m.angle+Na))),S=YU(m.y,p.h,b),E=qU(b),_=VU(m.x,p.w,E);return{visible:!0,x:m.x,y:S,textAlign:E,left:_,top:S,right:_+p.w,bottom:S+p.h}}function IU(e,t){if(!t)return!0;const{left:i,top:r,right:o,bottom:c}=e;return!(Zd({x:i,y:r},t)||Zd({x:i,y:c},t)||Zd({x:o,y:r},t)||Zd({x:o,y:c},t))}function PU(e,t,i){const r=[],o=e._pointLabels.length,c=e.options,{centerPointLabels:f,display:p}=c.pointLabels,m={extra:aC(c)/2,additionalAngle:f?Zi/o:0};let b;for(let S=0;S<o;S++){m.padding=i[S],m.size=t[S];const E=FU(e,S,m);r.push(E),p==="auto"&&(E.visible=IU(E,b),E.visible&&(b=E))}return r}function qU(e){return e===0||e===180?"center":e<180?"left":"right"}function VU(e,t,i){return i==="right"?e-=t:i==="center"&&(e-=t/2),e}function YU(e,t,i){return i===90||i===270?e-=t/2:(i>270||i<90)&&(e-=t),e}function GU(e,t,i){const{left:r,top:o,right:c,bottom:f}=i,{backdropColor:p}=t;if(!Wn(p)){const m=Im(t.borderRadius),b=Nl(t.backdropPadding);e.fillStyle=p;const S=r-b.left,E=o-b.top,_=c-r+b.width,O=f-o+b.height;Object.values(m).some(M=>M!==0)?(e.beginPath(),i1(e,{x:S,y:E,w:_,h:O,radius:m}),e.fill()):e.fillRect(S,E,_,O)}}function XU(e,t){const{ctx:i,options:{pointLabels:r}}=e;for(let o=t-1;o>=0;o--){const c=e._pointLabelItems[o];if(!c.visible)continue;const f=r.setContext(e.getPointLabelContext(o));GU(i,f,c);const p=hr(f.font),{x:m,y:b,textAlign:S}=c;Fm(i,e._pointLabels[o],m,b+p.lineHeight/2,p,{color:f.color,textAlign:S,textBaseline:"middle"})}}function YR(e,t,i,r){const{ctx:o}=e;if(i)o.arc(e.xCenter,e.yCenter,t,0,Wi);else{let c=e.getPointPosition(0,t);o.moveTo(c.x,c.y);for(let f=1;f<r;f++)c=e.getPointPosition(f,t),o.lineTo(c.x,c.y)}}function $U(e,t,i,r,o){const c=e.ctx,f=t.circular,{color:p,lineWidth:m}=t;!f&&!r||!p||!m||i<0||(c.save(),c.strokeStyle=p,c.lineWidth=m,c.setLineDash(o.dash||[]),c.lineDashOffset=o.dashOffset,c.beginPath(),YR(e,i,f,r),c.closePath(),c.stroke(),c.restore())}function QU(e,t,i){return Mp(e,{label:i,index:t,type:"pointLabel"})}class h1 extends iC{constructor(t){super(t),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const t=this._padding=Nl(aC(this.options)/2),i=this.width=this.maxWidth-t.width,r=this.height=this.maxHeight-t.height;this.xCenter=Math.floor(this.left+i/2+t.left),this.yCenter=Math.floor(this.top+r/2+t.top),this.drawingArea=Math.floor(Math.min(i,r)/2)}determineDataLimits(){const{min:t,max:i}=this.getMinMax(!1);this.min=jr(t)&&!isNaN(t)?t:0,this.max=jr(i)&&!isNaN(i)?i:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/aC(this.options))}generateTickLabels(t){iC.prototype.generateTickLabels.call(this,t),this._pointLabels=this.getLabels().map((i,r)=>{const o=ji(this.options.pointLabels.callback,[i,r],this);return o||o===0?o:""}).filter((i,r)=>this.chart.getDataVisibility(r))}fit(){const t=this.options;t.display&&t.pointLabels.display?HU(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,i,r,o){this.xCenter+=Math.floor((t-i)/2),this.yCenter+=Math.floor((r-o)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,i,r,o))}getIndexAngle(t){const i=Wi/(this._pointLabels.length||1),r=this.options.startAngle||0;return Ls(t*i+mc(r))}getDistanceFromCenterForValue(t){if(Wn(t))return NaN;const i=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*i:(t-this.min)*i}getValueForDistanceFromCenter(t){if(Wn(t))return NaN;const i=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-i:this.min+i}getPointLabelContext(t){const i=this._pointLabels||[];if(t>=0&&t<i.length){const r=i[t];return QU(this.getContext(),t,r)}}getPointPosition(t,i,r=0){const o=this.getIndexAngle(t)-Na+r;return{x:Math.cos(o)*i+this.xCenter,y:Math.sin(o)*i+this.yCenter,angle:o}}getPointPositionForValue(t,i){return this.getPointPosition(t,this.getDistanceFromCenterForValue(i))}getBasePosition(t){return this.getPointPositionForValue(t||0,this.getBaseValue())}getPointLabelPosition(t){const{left:i,top:r,right:o,bottom:c}=this._pointLabelItems[t];return{left:i,top:r,right:o,bottom:c}}drawBackground(){const{backgroundColor:t,grid:{circular:i}}=this.options;if(t){const r=this.ctx;r.save(),r.beginPath(),YR(this,this.getDistanceFromCenterForValue(this._endValue),i,this._pointLabels.length),r.closePath(),r.fillStyle=t,r.fill(),r.restore()}}drawGrid(){const t=this.ctx,i=this.options,{angleLines:r,grid:o,border:c}=i,f=this._pointLabels.length;let p,m,b;if(i.pointLabels.display&&XU(this,f),o.display&&this.ticks.forEach((S,E)=>{if(E!==0||E===0&&this.min<0){m=this.getDistanceFromCenterForValue(S.value);const _=this.getContext(E),O=o.setContext(_),M=c.setContext(_);$U(this,O,m,f,M)}}),r.display){for(t.save(),p=f-1;p>=0;p--){const S=r.setContext(this.getPointLabelContext(p)),{color:E,lineWidth:_}=S;!_||!E||(t.lineWidth=_,t.strokeStyle=E,t.setLineDash(S.borderDash),t.lineDashOffset=S.borderDashOffset,m=this.getDistanceFromCenterForValue(i.reverse?this.min:this.max),b=this.getPointPosition(p,m),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(b.x,b.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,i=this.options,r=i.ticks;if(!r.display)return;const o=this.getIndexAngle(0);let c,f;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(o),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach((p,m)=>{if(m===0&&this.min>=0&&!i.reverse)return;const b=r.setContext(this.getContext(m)),S=hr(b.font);if(c=this.getDistanceFromCenterForValue(this.ticks[m].value),b.showLabelBackdrop){t.font=S.string,f=t.measureText(p.label).width,t.fillStyle=b.backdropColor;const E=Nl(b.backdropPadding);t.fillRect(-f/2-E.left,-c-S.size/2-E.top,f+E.width,S.size+E.height)}Fm(t,p.label,0,-c,S,{color:b.color,strokeColor:b.textStrokeColor,strokeWidth:b.textStrokeWidth})}),t.restore()}drawTitle(){}}ht(h1,"id","radialLinear"),ht(h1,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:RT.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(t){return t},padding:5,centerPointLabels:!1}}),ht(h1,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),ht(h1,"descriptors",{angleLines:{_fallback:"grid"}});const IS={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}},Fo=Object.keys(IS);function GR(e,t){return e-t}function XR(e,t){if(Wn(t))return null;const i=e._adapter,{parser:r,round:o,isoWeekday:c}=e._parseOpts;let f=t;return typeof r=="function"&&(f=r(f)),jr(f)||(f=typeof r=="string"?i.parse(f,r):i.parse(f)),f===null?null:(o&&(f=o==="week"&&(Jb(c)||c===!0)?i.startOf(f,"isoWeek",c):i.startOf(f,o)),+f)}function $R(e,t,i,r){const o=Fo.length;for(let c=Fo.indexOf(e);c<o-1;++c){const f=IS[Fo[c]],p=f.steps?f.steps:Number.MAX_SAFE_INTEGER;if(f.common&&Math.ceil((i-t)/(p*f.size))<=r)return Fo[c]}return Fo[o-1]}function ZU(e,t,i,r,o){for(let c=Fo.length-1;c>=Fo.indexOf(i);c--){const f=Fo[c];if(IS[f].common&&e._adapter.diff(o,r,f)>=t-1)return f}return Fo[i?Fo.indexOf(i):0]}function WU(e){for(let t=Fo.indexOf(e)+1,i=Fo.length;t<i;++t)if(IS[Fo[t]].common)return Fo[t]}function QR(e,t,i){if(!i)e[t]=!0;else if(i.length){const{lo:r,hi:o}=_T(i,t),c=i[r]>=t?i[r]:i[o];e[c]=!0}}function KU(e,t,i,r){const o=e._adapter,c=+o.startOf(t[0].value,r),f=t[t.length-1].value;let p,m;for(p=c;p<=f;p=+o.add(p,1,r))m=i[p],m>=0&&(t[m].major=!0);return t}function ZR(e,t,i){const r=[],o={},c=t.length;let f,p;for(f=0;f<c;++f)p=t[f],o[p]=f,r.push({value:p,major:!1});return c===0||!i?r:KU(e,r,o,i)}class PS extends ev{constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,i={}){const r=t.time||(t.time={}),o=this._adapter=new C9._date(t.adapters.date);o.init(i),Zb(r.displayFormats,o.formats()),this._parseOpts={parser:r.parser,round:r.round,isoWeekday:r.isoWeekday},super.init(t),this._normalized=i.normalized}parse(t,i){return t===void 0?null:XR(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,i=this._adapter,r=t.time.unit||"day";let{min:o,max:c,minDefined:f,maxDefined:p}=this.getUserBounds();function m(b){!f&&!isNaN(b.min)&&(o=Math.min(o,b.min)),!p&&!isNaN(b.max)&&(c=Math.max(c,b.max))}(!f||!p)&&(m(this._getLabelBounds()),(t.bounds!=="ticks"||t.ticks.source!=="labels")&&m(this.getMinMax(!1))),o=jr(o)&&!isNaN(o)?o:+i.startOf(Date.now(),r),c=jr(c)&&!isNaN(c)?c:+i.endOf(Date.now(),r)+1,this.min=Math.min(o,c-1),this.max=Math.max(o+1,c)}_getLabelBounds(){const t=this.getLabelTimestamps();let i=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;return t.length&&(i=t[0],r=t[t.length-1]),{min:i,max:r}}buildTicks(){const t=this.options,i=t.time,r=t.ticks,o=r.source==="labels"?this.getLabelTimestamps():this._generate();t.bounds==="ticks"&&o.length&&(this.min=this._userMin||o[0],this.max=this._userMax||o[o.length-1]);const c=this.min,f=this.max,p=X5(o,c,f);return this._unit=i.unit||(r.autoSkip?$R(i.minUnit,this.min,this.max,this._getLabelCapacity(c)):ZU(this,p.length,i.minUnit,this.min,this.max)),this._majorUnit=!r.major.enabled||this._unit==="year"?void 0:WU(this._unit),this.initOffsets(o),t.reverse&&p.reverse(),ZR(this,p,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(t=>+t.value))}initOffsets(t=[]){let i=0,r=0,o,c;this.options.offset&&t.length&&(o=this.getDecimalForValue(t[0]),t.length===1?i=1-o:i=(this.getDecimalForValue(t[1])-o)/2,c=this.getDecimalForValue(t[t.length-1]),t.length===1?r=c:r=(c-this.getDecimalForValue(t[t.length-2]))/2);const f=t.length<3?.5:.25;i=Rl(i,0,f),r=Rl(r,0,f),this._offsets={start:i,end:r,factor:1/(i+1+r)}}_generate(){const t=this._adapter,i=this.min,r=this.max,o=this.options,c=o.time,f=c.unit||$R(c.minUnit,i,r,this._getLabelCapacity(i)),p=En(o.ticks.stepSize,1),m=f==="week"?c.isoWeekday:!1,b=Jb(m)||m===!0,S={};let E=i,_,O;if(b&&(E=+t.startOf(E,"isoWeek",m)),E=+t.startOf(E,b?"day":f),t.diff(r,i,f)>1e5*p)throw new Error(i+" and "+r+" are too far apart with stepSize of "+p+" "+f);const M=o.ticks.source==="data"&&this.getDataTimestamps();for(_=E,O=0;_<r;_=+t.add(_,p,f),O++)QR(S,_,M);return(_===r||o.bounds==="ticks"||O===1)&&QR(S,_,M),Object.keys(S).sort(GR).map(N=>+N)}getLabelForValue(t){const i=this._adapter,r=this.options.time;return r.tooltipFormat?i.format(t,r.tooltipFormat):i.format(t,r.displayFormats.datetime)}format(t,i){const o=this.options.time.displayFormats,c=this._unit,f=i||o[c];return this._adapter.format(t,f)}_tickFormatFunction(t,i,r,o){const c=this.options,f=c.ticks.callback;if(f)return ji(f,[t,i,r],this);const p=c.time.displayFormats,m=this._unit,b=this._majorUnit,S=m&&p[m],E=b&&p[b],_=r[i],O=b&&E&&_&&_.major;return this._adapter.format(t,o||(O?E:S))}generateTickLabels(t){let i,r,o;for(i=0,r=t.length;i<r;++i)o=t[i],o.label=this._tickFormatFunction(o.value,i,t)}getDecimalForValue(t){return t===null?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){const i=this._offsets,r=this.getDecimalForValue(t);return this.getPixelForDecimal((i.start+r)*i.factor)}getValueForPixel(t){const i=this._offsets,r=this.getDecimalForPixel(t)/i.factor-i.end;return this.min+r*(this.max-this.min)}_getLabelSize(t){const i=this.options.ticks,r=this.ctx.measureText(t).width,o=mc(this.isHorizontal()?i.maxRotation:i.minRotation),c=Math.cos(o),f=Math.sin(o),p=this._resolveTickFontOptions(0).size;return{w:r*c+p*f,h:r*f+p*c}}_getLabelCapacity(t){const i=this.options.time,r=i.displayFormats,o=r[i.unit]||r.millisecond,c=this._tickFormatFunction(t,0,ZR(this,[t],this._majorUnit),o),f=this._getLabelSize(c),p=Math.floor(this.isHorizontal()?this.width/f.w:this.height/f.h)-1;return p>0?p:1}getDataTimestamps(){let t=this._cache.data||[],i,r;if(t.length)return t;const o=this.getMatchingVisibleMetas();if(this._normalized&&o.length)return this._cache.data=o[0].controller.getAllParsedValues(this);for(i=0,r=o.length;i<r;++i)t=t.concat(o[i].controller.getAllParsedValues(this));return this._cache.data=this.normalize(t)}getLabelTimestamps(){const t=this._cache.labels||[];let i,r;if(t.length)return t;const o=this.getLabels();for(i=0,r=o.length;i<r;++i)t.push(XR(this,o[i]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return oO(t.sort(GR))}}ht(PS,"id","time"),ht(PS,"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 qS(e,t,i){let r=0,o=e.length-1,c,f,p,m;i?(t>=e[r].pos&&t<=e[o].pos&&({lo:r,hi:o}=Um(e,"pos",t)),{pos:c,time:p}=e[r],{pos:f,time:m}=e[o]):(t>=e[r].time&&t<=e[o].time&&({lo:r,hi:o}=Um(e,"time",t)),{time:c,pos:p}=e[r],{time:f,pos:m}=e[o]);const b=f-c;return b?p+(m-p)*(t-c)/b:p}class WR extends PS{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),i=this._table=this.buildLookupTable(t);this._minPos=qS(i,this.min),this._tableRange=qS(i,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:i,max:r}=this,o=[],c=[];let f,p,m,b,S;for(f=0,p=t.length;f<p;++f)b=t[f],b>=i&&b<=r&&o.push(b);if(o.length<2)return[{time:i,pos:0},{time:r,pos:1}];for(f=0,p=o.length;f<p;++f)S=o[f+1],m=o[f-1],b=o[f],Math.round((S+m)/2)!==b&&c.push({time:b,pos:f/(p-1)});return c}_generate(){const t=this.min,i=this.max;let r=super.getDataTimestamps();return(!r.includes(t)||!r.length)&&r.splice(0,0,t),(!r.includes(i)||r.length===1)&&r.push(i),r.sort((o,c)=>o-c)}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const i=this.getDataTimestamps(),r=this.getLabelTimestamps();return i.length&&r.length?t=this.normalize(i.concat(r)):t=i.length?i:r,t=this._cache.all=t,t}getDecimalForValue(t){return(qS(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const i=this._offsets,r=this.getDecimalForPixel(t)/i.factor-i.end;return qS(this._table,r*this._tableRange+this._minPos,!0)}}ht(WR,"id","timeseries"),ht(WR,"defaults",PS.defaults);const KR="label";function JR(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function JU(e,t){const i=e.options;i&&t&&Object.assign(i,t)}function eM(e,t){e.labels=t}function tM(e,t){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:KR;const r=[];e.datasets=t.map(o=>{const c=e.datasets.find(f=>f[i]===o[i]);return!c||!o.data||r.includes(c)?{...o}:(r.push(c),Object.assign(c,o),c)})}function eH(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:KR;const i={labels:[],datasets:[]};return eM(i,e.labels),tM(i,e.datasets,t),i}function tH(e,t){const{height:i=150,width:r=300,redraw:o=!1,datasetIdKey:c,type:f,data:p,options:m,plugins:b=[],fallbackContent:S,updateMode:E,..._}=e,O=I.useRef(null),M=I.useRef(null),N=()=>{O.current&&(M.current=new Gm(O.current,{type:f,data:eH(p,c),options:m&&{...m},plugins:b}),JR(t,M.current))},w=()=>{JR(t,null),M.current&&(M.current.destroy(),M.current=null)};return I.useEffect(()=>{!o&&M.current&&m&&JU(M.current,m)},[o,m]),I.useEffect(()=>{!o&&M.current&&eM(M.current.config.data,p.labels)},[o,p.labels]),I.useEffect(()=>{!o&&M.current&&p.datasets&&tM(M.current.config.data,p.datasets,c)},[o,p.datasets]),I.useEffect(()=>{M.current&&(o?(w(),setTimeout(N)):M.current.update(E))},[o,m,p.labels,p.datasets,E]),I.useEffect(()=>{M.current&&(w(),setTimeout(N))},[f]),I.useEffect(()=>(N(),()=>w()),[]),I.createElement("canvas",{ref:O,role:"img",height:i,width:r,..._},S)}const nH=I.forwardRef(tH);function VS(e,t){return Gm.register(t),I.forwardRef((i,r)=>I.createElement(nH,{...i,ref:r,type:e}))}const iH=VS("line",ES),aH=VS("bar",SS),rH=VS("doughnut",r1),lH=VS("polarArea",AS);Gm.register(jS,FS,kS,kR,HS,zS);const oH=({props:e})=>{const t=I.useContext(ti),i=I.useContext(Gn),r=lo(e.attributes),o=e.options||{},c=Xn({valueToEvaluate:e.data,globalDataContext:t,templateContext:i});return ie.jsx(xa,{...e,children:c&&ie.jsx(aH,{...r,data:c,options:o})})};Gm.register(nv,HS,zS);const sH=({props:e})=>{const t=I.useContext(ti),i=I.useContext(Gn),r=lo(e.attributes),o=e.options||{},c=Xn({valueToEvaluate:e.data,globalDataContext:t,templateContext:i});return ie.jsx(xa,{...e,children:c&&ie.jsx(rH,{...r,data:c,options:o})})};Gm.register(h1,nv,HS,zS);const uH=({props:e})=>{const t=I.useContext(ti),i=I.useContext(Gn),r=lo(e.attributes),o=e.options||{},c=Xn({valueToEvaluate:e.data,globalDataContext:t,templateContext:i});return ie.jsx(xa,{...e,children:c&&ie.jsx(lH,{...r,data:c,options:o})})},p1=({currentPath:e,datafield:t,dataLocation:i,defaultValue:r,globalDataContext:o,templateContext:c})=>{const f={formData:void 0,formDataPath:void 0};return i&&typeof i=="string"?(f.formData=Xn({globalDataContext:o,templateContext:c,valueToEvaluate:i})??r,f.formDataPath=yu({dataLocation:i,currentPath:e,globalDataContext:o,templateContext:c})):((c.templateData[t]??void 0)===void 0&&(c.templateData=typeof c.templateData=="object"?c.templateData:{},c.templateData[t]=r),f.formData=c.templateData[t],f.formDataPath=yu({dataLocation:"~."+t,currentPath:c.templatePath,globalDataContext:o,templateContext:c})),f},cH=({props:e,currentData:t,datafield:i,path:r})=>{const o=I.useContext(ti),c=I.useContext(Gn),{updateData:f}=o,p=Om({attrs:e.attributes,globalDataContext:o,templateContext:c,options:{normalizeBeforeEvaluation:!0}});let m;const b=e.dynamicOptions??void 0;b?m=Xn({valueToEvaluate:b,globalDataContext:o,templateContext:c})??[]:m=e.options??[];const S=e.controlType??void 0,_=(()=>{var U;return e.controlType==="radio"?!0:e.multiple!==void 0&&e.multiple!==!1?e.multiple:((U=e.options)==null?void 0:U.length)===1})(),O=e.defaultFieldValue??(_?void 0:[]),{formData:M,formDataPath:N}=p1({currentPath:r,datafield:i,dataLocation:e.dataLocation,defaultValue:O,globalDataContext:o,templateContext:c}),w=U=>{if(S==="radio"){let P;switch(U.currentTarget.value){case"":P=void 0;break;case"true":P=!0;break;case"false":P=!1;break;case"null":P=null;break;default:P=U.currentTarget.value;break}f(P,N);return}if(_){f(U.currentTarget.checked,N);return}let q=JSON.parse(JSON.stringify(M));typeof q!="object"&&(q=[q]),U.currentTarget.checked?q=dH(q,U.currentTarget.value):q=hH(q,U.currentTarget.value),f(q,N)};return ie.jsx(xa,{...e,children:ie.jsx(cl.Group,{...p,controlId:Math.random().toString(),children:m.map((U,q)=>{var R,H;const P=typeof U.value=="string"?Xn({globalDataContext:o,templateContext:c,valueToEvaluate:U.value}):U.value,z=Om({attrs:U.attributes??[],templateContext:c,globalDataContext:o,options:{normalizeBeforeEvaluation:!0}});return I.createElement(cl.Check,{...z,checked:fH(M,P),key:q,label:ie.jsx(ki,{currentData:((H=(R=t==null?void 0:t.options)==null?void 0:R[q])==null?void 0:H.label)??void 0,datafield:"label",path:r+".options."+q+".label",props:U.label}),id:`${Math.random()}`,name:r,onChange:w,type:S,value:P})})})})};function fH(e,t){return Array.isArray(e)?e.includes(t):typeof e=="object"?Object.values(e).includes(t):e===t}function dH(e,t){if(Array.isArray(e))return e.includes(t)||e.push(t),e;if(typeof e=="object"){const i=Object.values(e);return i.includes(t)||i.push(t),i}throw new Error("CheckboxField: the value to set is not properly initialized as an object or array.")}function hH(e,t){function i(r,o){r.includes(o)&&r.splice(r.indexOf(o),1)}if(Array.isArray(e))return i(e,t),e;if(typeof e=="object"){const r=Object.values(e);return i(r,t),r}throw new Error("CheckboxField: the value to set is not properly initialized as an object or array.")}const pH=e=>{const t=I.useContext(ti),i=I.useContext(Gn),r=e.props,o=lo(r.attributes),{formData:c,formDataPath:f}=p1({currentPath:e.path,datafield:e.datafield,dataLocation:r.dataLocation,defaultValue:r.defaultFieldValue,globalDataContext:t,templateContext:i}),p=m=>{t.updateData(m.target.value,f)};return ie.jsx(xa,{...r,children:ie.jsxs(cl.Group,{...o,controlId:Math.random().toString(),children:[r.label&&ie.jsx(cl.Label,{children:r.label}),ie.jsx(cl.Control,{onChange:p,type:"datetime-local",value:c??""})]})})},gH=({props:e,currentData:t,datafield:i,path:r})=>{const o=I.useContext(ti);let[c]=I.useState(t),f=e.attributes??{};const{updateData:p}=o,m=b=>{p(b.currentTarget.value,r)};return ie.jsxs(cl.Group,{className:"mb-3",controlId:Math.random().toString(),children:[ie.jsx(cl.Label,{children:e.label}),ie.jsx(cl.Control,{onBlur:m,type:"number",...f,defaultValue:c!==""?c:e.default_value??"",placeholder:e.label})]})},mH=({props:e,data:t,path:i,datafield:r})=>{const o=I.useContext(ti),c=I.useContext(Gn),{updateData:f}=o,p=e.dynamicOptions??void 0;let m;p?m=Xn({valueToEvaluate:p,globalDataContext:o,templateContext:c})??[]:m=e.options??[];let b=Om({attrs:e.attributes??{},globalDataContext:o,templateContext:c,options:{normalizeBeforeEvaluation:!0}});const S=Om({attrs:e.inputAttributes??{},globalDataContext:o,templateContext:c,options:{normalizeBeforeEvaluation:!0}});let E,_;const O=e.defaultFieldValue??void 0,M=e.dataLocation??void 0;M?(E=Xn({globalDataContext:o,templateContext:c,valueToEvaluate:M})??O,_=yu({dataLocation:M,currentPath:i,globalDataContext:o,templateContext:c})):((c.templateData[r]??void 0)===void 0&&(c.templateData=typeof c.templateData=="object"?c.templateData:{},c.templateData[r]=O),E=c.templateData[r],_=yu({dataLocation:"~."+r,currentPath:c.templatePath}));const N=w=>{let U;switch(w.currentTarget.value){case"":e.allowEmptyStringAsValue?U="":U=void 0;break;case"true":U=!0;break;case"false":U=!1;break;case"null":U=null;break;default:U=w.currentTarget.value;break}f(U,_)};return ie.jsx(xa,{...e,children:ie.jsxs(cl.Group,{...b,controlId:Math.random().toString(),children:[e.label&&ie.jsx(cl.Label,{children:e.label}),ie.jsx(cl.Select,{"aria-label":e.label,onChange:N,value:E,...S,children:m.map((w,U)=>ie.jsx("option",{value:w.value,children:w.label},"opt"+U))})]})})},yH=({props:e,datafield:t,path:i})=>{const r=I.useContext(ti),o=I.useContext(Gn),c=lo(e.attributes),f=lo(e.inputAttributes??[]),{formData:p,formDataPath:m}=p1({currentPath:i,datafield:t,dataLocation:e.dataLocation,defaultValue:e.defaultFieldValue,globalDataContext:r,templateContext:o}),b=S=>{r.updateData(S.currentTarget.value,m)};return ie.jsx(xa,{...e,children:ie.jsxs(cl.Group,{...c,controlId:Math.random().toString(),children:[e.label&&ie.jsx(cl.Label,{children:e.label}),ie.jsx(cl.Control,{as:"textarea",onChange:b,placeholder:e.placeholder,rows:e.rows??3,value:p??"",...f})]})})},vH=({props:e,datafield:t,path:i})=>{const r=I.useContext(ti),o=I.useContext(Gn),c=lo(e.attributes),f=lo(e.inputAttributes??[]),{formData:p,formDataPath:m}=p1({currentPath:i,datafield:t,dataLocation:e.dataLocation,defaultValue:e.defaultFieldValue,globalDataContext:r,templateContext:o}),b=O=>{r.updateData(O.currentTarget.value,m)},S=Xn({valueToEvaluate:e.label,globalDataContext:r,templateContext:o}),E=Xn({valueToEvaluate:e.placeholder,globalDataContext:r,templateContext:o}),_=Xn({valueToEvaluate:e.inputType,globalDataContext:r,templateContext:o});return ie.jsx(xa,{...e,children:ie.jsxs(cl.Group,{...c,controlId:Math.random().toString(),children:[S&&ie.jsx(cl.Label,{children:S}),ie.jsx(cl.Control,{onChange:b,placeholder:E,type:_??"text",value:p??"",...f})]})})},bH=({props:e,path:t,currentData:i,datafield:r})=>{const o=lo(e.attributes);return ie.jsx(xa,{...e,children:I.createElement(Ix.Item,{...o,eventKey:r,key:r},e!=null&&e.header?ie.jsx(Ix.Header,{children:ie.jsx(ki,{props:e.header,path:t+".header",currentData:i==null?void 0:i.header,datafield:"header"})}):null,e!=null&&e.body?ie.jsx(Ix.Body,{children:ie.jsx(ki,{props:e.body,path:t+".body",currentData:i==null?void 0:i.body,datafield:"body"})}):null)})};function nM(e){var t,i,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(i=nM(e[t]))&&(r&&(r+=" "),r+=i)}else for(i in e)e[i]&&(r&&(r+=" "),r+=i);return r}function xH(){for(var e,t,i=0,r="",o=arguments.length;i<o;i++)(e=arguments[i])&&(t=nM(e))&&(r&&(r+=" "),r+=t);return r}function iM(e){var t,i,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(i=iM(e[t]))&&(r&&(r+=" "),r+=i);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function rC(){for(var e,t,i=0,r="";i<arguments.length;)(e=arguments[i++])&&(t=iM(e))&&(r&&(r+=" "),r+=t);return r}function SH(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return I.useMemo(()=>r=>{t.forEach(o=>o(r))},t)}const YS=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function iv(e){const t=Object.prototype.toString.call(e);return t==="[object Window]"||t==="[object global]"}function lC(e){return"nodeType"in e}function oo(e){var t,i;return e?iv(e)?e:lC(e)&&(t=(i=e.ownerDocument)==null?void 0:i.defaultView)!=null?t:window:window}function oC(e){const{Document:t}=oo(e);return e instanceof t}function g1(e){return iv(e)?!1:e instanceof oo(e).HTMLElement}function aM(e){return e instanceof oo(e).SVGElement}function av(e){return e?iv(e)?e.document:lC(e)?oC(e)?e:g1(e)||aM(e)?e.ownerDocument:document:document:document}const yc=YS?I.useLayoutEffect:I.useEffect;function GS(e){const t=I.useRef(e);return yc(()=>{t.current=e}),I.useCallback(function(){for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return t.current==null?void 0:t.current(...r)},[])}function EH(){const e=I.useRef(null),t=I.useCallback((r,o)=>{e.current=setInterval(r,o)},[]),i=I.useCallback(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[]);return[t,i]}function m1(e,t){t===void 0&&(t=[e]);const i=I.useRef(e);return yc(()=>{i.current!==e&&(i.current=e)},t),i}function y1(e,t){const i=I.useRef();return I.useMemo(()=>{const r=e(i.current);return i.current=r,r},[...t])}function XS(e){const t=GS(e),i=I.useRef(null),r=I.useCallback(o=>{o!==i.current&&(t==null||t(o,i.current)),i.current=o},[]);return[i,r]}function $S(e){const t=I.useRef();return I.useEffect(()=>{t.current=e},[e]),t.current}let sC={};function v1(e,t){return I.useMemo(()=>{if(t)return t;const i=sC[e]==null?0:sC[e]+1;return sC[e]=i,e+"-"+i},[e,t])}function rM(e){return function(t){for(var i=arguments.length,r=new Array(i>1?i-1:0),o=1;o<i;o++)r[o-1]=arguments[o];return r.reduce((c,f)=>{const p=Object.entries(f);for(const[m,b]of p){const S=c[m];S!=null&&(c[m]=S+e*b)}return c},{...t})}}const rv=rM(1),QS=rM(-1);function AH(e){return"clientX"in e&&"clientY"in e}function ZS(e){if(!e)return!1;const{KeyboardEvent:t}=oo(e.target);return t&&e instanceof t}function TH(e){if(!e)return!1;const{TouchEvent:t}=oo(e.target);return t&&e instanceof t}function WS(e){if(TH(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:i}=e.touches[0];return{x:t,y:i}}else if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:i}=e.changedTouches[0];return{x:t,y:i}}}return AH(e)?{x:e.clientX,y:e.clientY}:null}const Cf=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:i}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(i?Math.round(i):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:i}=e;return"scaleX("+t+") scaleY("+i+")"}},Transform:{toString(e){if(e)return[Cf.Translate.toString(e),Cf.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:i,easing:r}=e;return t+" "+i+"ms "+r}}}),lM="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function CH(e){return e.matches(lM)?e:e.querySelector(lM)}const _H={display:"none"};function wH(e){let{id:t,value:i}=e;return I.createElement("div",{id:t,style:_H},i)}function DH(e){let{id:t,announcement:i,ariaLiveType:r="assertive"}=e;const o={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return I.createElement("div",{id:t,style:o,role:"status","aria-live":r,"aria-atomic":!0},i)}function OH(){const[e,t]=I.useState("");return{announce:I.useCallback(r=>{r!=null&&t(r)},[]),announcement:e}}const oM=I.createContext(null);function RH(e){const t=I.useContext(oM);I.useEffect(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)},[e,t])}function MH(){const[e]=I.useState(()=>new Set),t=I.useCallback(r=>(e.add(r),()=>e.delete(r)),[e]);return[I.useCallback(r=>{let{type:o,event:c}=r;e.forEach(f=>{var p;return(p=f[o])==null?void 0:p.call(f,c)})},[e]),t]}const NH={draggable:`
|
|
112
|
+
To pick up a draggable item, press the space bar.
|
|
113
|
+
While dragging, use the arrow keys to move the item.
|
|
114
|
+
Press space again to drop the item in its new position, or press escape to cancel.
|
|
115
|
+
`},BH={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:i}=e;return i?"Draggable item "+t.id+" was moved over droppable area "+i.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:i}=e;return i?"Draggable item "+t.id+" was dropped over droppable area "+i.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function LH(e){let{announcements:t=BH,container:i,hiddenTextDescribedById:r,screenReaderInstructions:o=NH}=e;const{announce:c,announcement:f}=OH(),p=v1("DndLiveRegion"),[m,b]=I.useState(!1);if(I.useEffect(()=>{b(!0)},[]),RH(I.useMemo(()=>({onDragStart(E){let{active:_}=E;c(t.onDragStart({active:_}))},onDragMove(E){let{active:_,over:O}=E;t.onDragMove&&c(t.onDragMove({active:_,over:O}))},onDragOver(E){let{active:_,over:O}=E;c(t.onDragOver({active:_,over:O}))},onDragEnd(E){let{active:_,over:O}=E;c(t.onDragEnd({active:_,over:O}))},onDragCancel(E){let{active:_,over:O}=E;c(t.onDragCancel({active:_,over:O}))}}),[c,t])),!m)return null;const S=I.createElement(I.Fragment,null,I.createElement(wH,{id:r,value:o.draggable}),I.createElement(DH,{id:p,announcement:f}));return i?Xa.createPortal(S,i):S}var pr;(function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"})(pr||(pr={}));function KS(){}function kH(e,t){return I.useMemo(()=>({sensor:e,options:t??{}}),[e,t])}function zH(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return I.useMemo(()=>[...t].filter(r=>r!=null),[...t])}const vc=Object.freeze({x:0,y:0});function UH(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function HH(e,t){const i=WS(e);if(!i)return"0 0";const r={x:(i.x-t.left)/t.width*100,y:(i.y-t.top)/t.height*100};return r.x+"% "+r.y+"%"}function jH(e,t){let{data:{value:i}}=e,{data:{value:r}}=t;return i-r}function FH(e,t){let{data:{value:i}}=e,{data:{value:r}}=t;return r-i}function IH(e,t){if(!e||e.length===0)return null;const[i]=e;return i[t]}function sM(e,t,i){return t===void 0&&(t=e.left),i===void 0&&(i=e.top),{x:t+e.width*.5,y:i+e.height*.5}}const PH=e=>{let{collisionRect:t,droppableRects:i,droppableContainers:r}=e;const o=sM(t,t.left,t.top),c=[];for(const f of r){const{id:p}=f,m=i.get(p);if(m){const b=UH(sM(m),o);c.push({id:p,data:{droppableContainer:f,value:b}})}}return c.sort(jH)};function qH(e,t){const i=Math.max(t.top,e.top),r=Math.max(t.left,e.left),o=Math.min(t.left+t.width,e.left+e.width),c=Math.min(t.top+t.height,e.top+e.height),f=o-r,p=c-i;if(r<o&&i<c){const m=t.width*t.height,b=e.width*e.height,S=f*p,E=S/(m+b-S);return Number(E.toFixed(4))}return 0}const VH=e=>{let{collisionRect:t,droppableRects:i,droppableContainers:r}=e;const o=[];for(const c of r){const{id:f}=c,p=i.get(f);if(p){const m=qH(p,t);m>0&&o.push({id:f,data:{droppableContainer:c,value:m}})}}return o.sort(FH)};function YH(e,t,i){return{...e,scaleX:t&&i?t.width/i.width:1,scaleY:t&&i?t.height/i.height:1}}function uM(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:vc}function GH(e){return function(i){for(var r=arguments.length,o=new Array(r>1?r-1:0),c=1;c<r;c++)o[c-1]=arguments[c];return o.reduce((f,p)=>({...f,top:f.top+e*p.y,bottom:f.bottom+e*p.y,left:f.left+e*p.x,right:f.right+e*p.x}),{...i})}}const XH=GH(1);function cM(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}else if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function $H(e,t,i){const r=cM(t);if(!r)return e;const{scaleX:o,scaleY:c,x:f,y:p}=r,m=e.left-f-(1-o)*parseFloat(i),b=e.top-p-(1-c)*parseFloat(i.slice(i.indexOf(" ")+1)),S=o?e.width/o:e.width,E=c?e.height/c:e.height;return{width:S,height:E,top:b,right:m+S,bottom:b+E,left:m}}const QH={ignoreTransform:!1};function lv(e,t){t===void 0&&(t=QH);let i=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:b,transformOrigin:S}=oo(e).getComputedStyle(e);b&&(i=$H(i,b,S))}const{top:r,left:o,width:c,height:f,bottom:p,right:m}=i;return{top:r,left:o,width:c,height:f,bottom:p,right:m}}function fM(e){return lv(e,{ignoreTransform:!0})}function ZH(e){const t=e.innerWidth,i=e.innerHeight;return{top:0,left:0,right:t,bottom:i,width:t,height:i}}function WH(e,t){return t===void 0&&(t=oo(e).getComputedStyle(e)),t.position==="fixed"}function KH(e,t){t===void 0&&(t=oo(e).getComputedStyle(e));const i=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(o=>{const c=t[o];return typeof c=="string"?i.test(c):!1})}function uC(e,t){const i=[];function r(o){if(t!=null&&i.length>=t||!o)return i;if(oC(o)&&o.scrollingElement!=null&&!i.includes(o.scrollingElement))return i.push(o.scrollingElement),i;if(!g1(o)||aM(o)||i.includes(o))return i;const c=oo(e).getComputedStyle(o);return o!==e&&KH(o,c)&&i.push(o),WH(o,c)?i:r(o.parentNode)}return e?r(e):i}function dM(e){const[t]=uC(e,1);return t??null}function cC(e){return!YS||!e?null:iv(e)?e:lC(e)?oC(e)||e===av(e).scrollingElement?window:g1(e)?e:null:null}function hM(e){return iv(e)?e.scrollX:e.scrollLeft}function pM(e){return iv(e)?e.scrollY:e.scrollTop}function fC(e){return{x:hM(e),y:pM(e)}}var Fr;(function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"})(Fr||(Fr={}));function gM(e){return!YS||!e?!1:e===document.scrollingElement}function mM(e){const t={x:0,y:0},i=gM(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-i.width,y:e.scrollHeight-i.height},o=e.scrollTop<=t.y,c=e.scrollLeft<=t.x,f=e.scrollTop>=r.y,p=e.scrollLeft>=r.x;return{isTop:o,isLeft:c,isBottom:f,isRight:p,maxScroll:r,minScroll:t}}const JH={x:.2,y:.2};function ej(e,t,i,r,o){let{top:c,left:f,right:p,bottom:m}=i;r===void 0&&(r=10),o===void 0&&(o=JH);const{isTop:b,isBottom:S,isLeft:E,isRight:_}=mM(e),O={x:0,y:0},M={x:0,y:0},N={height:t.height*o.y,width:t.width*o.x};return!b&&c<=t.top+N.height?(O.y=Fr.Backward,M.y=r*Math.abs((t.top+N.height-c)/N.height)):!S&&m>=t.bottom-N.height&&(O.y=Fr.Forward,M.y=r*Math.abs((t.bottom-N.height-m)/N.height)),!_&&p>=t.right-N.width?(O.x=Fr.Forward,M.x=r*Math.abs((t.right-N.width-p)/N.width)):!E&&f<=t.left+N.width&&(O.x=Fr.Backward,M.x=r*Math.abs((t.left+N.width-f)/N.width)),{direction:O,speed:M}}function tj(e){if(e===document.scrollingElement){const{innerWidth:c,innerHeight:f}=window;return{top:0,left:0,right:c,bottom:f,width:c,height:f}}const{top:t,left:i,right:r,bottom:o}=e.getBoundingClientRect();return{top:t,left:i,right:r,bottom:o,width:e.clientWidth,height:e.clientHeight}}function yM(e){return e.reduce((t,i)=>rv(t,fC(i)),vc)}function nj(e){return e.reduce((t,i)=>t+hM(i),0)}function ij(e){return e.reduce((t,i)=>t+pM(i),0)}function vM(e,t){if(t===void 0&&(t=lv),!e)return;const{top:i,left:r,bottom:o,right:c}=t(e);dM(e)&&(o<=0||c<=0||i>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const aj=[["x",["left","right"],nj],["y",["top","bottom"],ij]];class dC{constructor(t,i){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const r=uC(i),o=yM(r);this.rect={...t},this.width=t.width,this.height=t.height;for(const[c,f,p]of aj)for(const m of f)Object.defineProperty(this,m,{get:()=>{const b=p(r),S=o[c]-b;return this.rect[m]+S},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class b1{constructor(t){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(i=>{var r;return(r=this.target)==null?void 0:r.removeEventListener(...i)})},this.target=t}add(t,i,r){var o;(o=this.target)==null||o.addEventListener(t,i,r),this.listeners.push([t,i,r])}}function rj(e){const{EventTarget:t}=oo(e);return e instanceof t?e:av(e)}function hC(e,t){const i=Math.abs(e.x),r=Math.abs(e.y);return typeof t=="number"?Math.sqrt(i**2+r**2)>t:"x"in t&&"y"in t?i>t.x&&r>t.y:"x"in t?i>t.x:"y"in t?r>t.y:!1}var Au;(function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"})(Au||(Au={}));function bM(e){e.preventDefault()}function lj(e){e.stopPropagation()}var ai;(function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter",e.Tab="Tab"})(ai||(ai={}));const xM={start:[ai.Space,ai.Enter],cancel:[ai.Esc],end:[ai.Space,ai.Enter,ai.Tab]},oj=(e,t)=>{let{currentCoordinates:i}=t;switch(e.code){case ai.Right:return{...i,x:i.x+25};case ai.Left:return{...i,x:i.x-25};case ai.Down:return{...i,y:i.y+25};case ai.Up:return{...i,y:i.y-25}}};class SM{constructor(t){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=t;const{event:{target:i}}=t;this.props=t,this.listeners=new b1(av(i)),this.windowListeners=new b1(oo(i)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Au.Resize,this.handleCancel),this.windowListeners.add(Au.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(Au.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:t,onStart:i}=this.props,r=t.node.current;r&&vM(r),i(vc)}handleKeyDown(t){if(ZS(t)){const{active:i,context:r,options:o}=this.props,{keyboardCodes:c=xM,coordinateGetter:f=oj,scrollBehavior:p="smooth"}=o,{code:m}=t;if(c.end.includes(m)){this.handleEnd(t);return}if(c.cancel.includes(m)){this.handleCancel(t);return}const{collisionRect:b}=r.current,S=b?{x:b.left,y:b.top}:vc;this.referenceCoordinates||(this.referenceCoordinates=S);const E=f(t,{active:i,context:r.current,currentCoordinates:S});if(E){const _=QS(E,S),O={x:0,y:0},{scrollableAncestors:M}=r.current;for(const N of M){const w=t.code,{isTop:U,isRight:q,isLeft:P,isBottom:z,maxScroll:R,minScroll:H}=mM(N),j=tj(N),K={x:Math.min(w===ai.Right?j.right-j.width/2:j.right,Math.max(w===ai.Right?j.left:j.left+j.width/2,E.x)),y:Math.min(w===ai.Down?j.bottom-j.height/2:j.bottom,Math.max(w===ai.Down?j.top:j.top+j.height/2,E.y))},W=w===ai.Right&&!q||w===ai.Left&&!P,ge=w===ai.Down&&!z||w===ai.Up&&!U;if(W&&K.x!==E.x){const ce=N.scrollLeft+_.x,be=w===ai.Right&&ce<=R.x||w===ai.Left&&ce>=H.x;if(be&&!_.y){N.scrollTo({left:ce,behavior:p});return}be?O.x=N.scrollLeft-ce:O.x=w===ai.Right?N.scrollLeft-R.x:N.scrollLeft-H.x,O.x&&N.scrollBy({left:-O.x,behavior:p});break}else if(ge&&K.y!==E.y){const ce=N.scrollTop+_.y,be=w===ai.Down&&ce<=R.y||w===ai.Up&&ce>=H.y;if(be&&!_.x){N.scrollTo({top:ce,behavior:p});return}be?O.y=N.scrollTop-ce:O.y=w===ai.Down?N.scrollTop-R.y:N.scrollTop-H.y,O.y&&N.scrollBy({top:-O.y,behavior:p});break}}this.handleMove(t,rv(QS(E,this.referenceCoordinates),O))}}}handleMove(t,i){const{onMove:r}=this.props;t.preventDefault(),r(i)}handleEnd(t){const{onEnd:i}=this.props;t.preventDefault(),this.detach(),i()}handleCancel(t){const{onCancel:i}=this.props;t.preventDefault(),this.detach(),i()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}SM.activators=[{eventName:"onKeyDown",handler:(e,t,i)=>{let{keyboardCodes:r=xM,onActivation:o}=t,{active:c}=i;const{code:f}=e.nativeEvent;if(r.start.includes(f)){const p=c.activatorNode.current;return p&&e.target!==p?!1:(e.preventDefault(),o==null||o({event:e.nativeEvent}),!0)}return!1}}];function EM(e){return!!(e&&"distance"in e)}function AM(e){return!!(e&&"delay"in e)}class pC{constructor(t,i,r){var o;r===void 0&&(r=rj(t.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=t,this.events=i;const{event:c}=t,{target:f}=c;this.props=t,this.events=i,this.document=av(f),this.documentListeners=new b1(this.document),this.listeners=new b1(r),this.windowListeners=new b1(oo(f)),this.initialCoordinates=(o=WS(c))!=null?o:vc,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:t,props:{options:{activationConstraint:i,bypassActivationConstraint:r}}}=this;if(this.listeners.add(t.move.name,this.handleMove,{passive:!1}),this.listeners.add(t.end.name,this.handleEnd),t.cancel&&this.listeners.add(t.cancel.name,this.handleCancel),this.windowListeners.add(Au.Resize,this.handleCancel),this.windowListeners.add(Au.DragStart,bM),this.windowListeners.add(Au.VisibilityChange,this.handleCancel),this.windowListeners.add(Au.ContextMenu,bM),this.documentListeners.add(Au.Keydown,this.handleKeydown),i){if(r!=null&&r({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(AM(i)){this.timeoutId=setTimeout(this.handleStart,i.delay),this.handlePending(i);return}if(EM(i)){this.handlePending(i);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(t,i){const{active:r,onPending:o}=this.props;o(r,t,this.initialCoordinates,i)}handleStart(){const{initialCoordinates:t}=this,{onStart:i}=this.props;t&&(this.activated=!0,this.documentListeners.add(Au.Click,lj,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Au.SelectionChange,this.removeTextSelection),i(t))}handleMove(t){var i;const{activated:r,initialCoordinates:o,props:c}=this,{onMove:f,options:{activationConstraint:p}}=c;if(!o)return;const m=(i=WS(t))!=null?i:vc,b=QS(o,m);if(!r&&p){if(EM(p)){if(p.tolerance!=null&&hC(b,p.tolerance))return this.handleCancel();if(hC(b,p.distance))return this.handleStart()}if(AM(p)&&hC(b,p.tolerance))return this.handleCancel();this.handlePending(p,b);return}t.cancelable&&t.preventDefault(),f(m)}handleEnd(){const{onAbort:t,onEnd:i}=this.props;this.detach(),this.activated||t(this.props.active),i()}handleCancel(){const{onAbort:t,onCancel:i}=this.props;this.detach(),this.activated||t(this.props.active),i()}handleKeydown(t){t.code===ai.Esc&&this.handleCancel()}removeTextSelection(){var t;(t=this.document.getSelection())==null||t.removeAllRanges()}}const sj={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class gC extends pC{constructor(t){const{event:i}=t,r=av(i.target);super(t,sj,r)}}gC.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:i}=e,{onActivation:r}=t;return!i.isPrimary||i.button!==0?!1:(r==null||r({event:i}),!0)}}];const uj={move:{name:"mousemove"},end:{name:"mouseup"}};var mC;(function(e){e[e.RightClick=2]="RightClick"})(mC||(mC={}));class cj extends pC{constructor(t){super(t,uj,av(t.event.target))}}cj.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:i}=e,{onActivation:r}=t;return i.button===mC.RightClick?!1:(r==null||r({event:i}),!0)}}];const yC={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class fj extends pC{constructor(t){super(t,yC)}static setup(){return window.addEventListener(yC.move.name,t,{capture:!1,passive:!1}),function(){window.removeEventListener(yC.move.name,t)};function t(){}}}fj.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:i}=e,{onActivation:r}=t;const{touches:o}=i;return o.length>1?!1:(r==null||r({event:i}),!0)}}];var x1;(function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"})(x1||(x1={}));var JS;(function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"})(JS||(JS={}));function dj(e){let{acceleration:t,activator:i=x1.Pointer,canScroll:r,draggingRect:o,enabled:c,interval:f=5,order:p=JS.TreeOrder,pointerCoordinates:m,scrollableAncestors:b,scrollableAncestorRects:S,delta:E,threshold:_}=e;const O=pj({delta:E,disabled:!c}),[M,N]=EH(),w=I.useRef({x:0,y:0}),U=I.useRef({x:0,y:0}),q=I.useMemo(()=>{switch(i){case x1.Pointer:return m?{top:m.y,bottom:m.y,left:m.x,right:m.x}:null;case x1.DraggableRect:return o}},[i,o,m]),P=I.useRef(null),z=I.useCallback(()=>{const H=P.current;if(!H)return;const j=w.current.x*U.current.x,K=w.current.y*U.current.y;H.scrollBy(j,K)},[]),R=I.useMemo(()=>p===JS.TreeOrder?[...b].reverse():b,[p,b]);I.useEffect(()=>{if(!c||!b.length||!q){N();return}for(const H of R){if((r==null?void 0:r(H))===!1)continue;const j=b.indexOf(H),K=S[j];if(!K)continue;const{direction:W,speed:ge}=ej(H,K,q,t,_);for(const ce of["x","y"])O[ce][W[ce]]||(ge[ce]=0,W[ce]=0);if(ge.x>0||ge.y>0){N(),P.current=H,M(z,f),w.current=ge,U.current=W;return}}w.current={x:0,y:0},U.current={x:0,y:0},N()},[t,z,r,N,c,f,JSON.stringify(q),JSON.stringify(O),M,b,R,S,JSON.stringify(_)])}const hj={x:{[Fr.Backward]:!1,[Fr.Forward]:!1},y:{[Fr.Backward]:!1,[Fr.Forward]:!1}};function pj(e){let{delta:t,disabled:i}=e;const r=$S(t);return y1(o=>{if(i||!r||!o)return hj;const c={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[Fr.Backward]:o.x[Fr.Backward]||c.x===-1,[Fr.Forward]:o.x[Fr.Forward]||c.x===1},y:{[Fr.Backward]:o.y[Fr.Backward]||c.y===-1,[Fr.Forward]:o.y[Fr.Forward]||c.y===1}}},[i,t,r])}function gj(e,t){const i=t!=null?e.get(t):void 0,r=i?i.node.current:null;return y1(o=>{var c;return t==null?null:(c=r??o)!=null?c:null},[r,t])}function mj(e,t){return I.useMemo(()=>e.reduce((i,r)=>{const{sensor:o}=r,c=o.activators.map(f=>({eventName:f.eventName,handler:t(f.handler,r)}));return[...i,...c]},[]),[e,t])}var S1;(function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"})(S1||(S1={}));var vC;(function(e){e.Optimized="optimized"})(vC||(vC={}));const TM=new Map;function yj(e,t){let{dragging:i,dependencies:r,config:o}=t;const[c,f]=I.useState(null),{frequency:p,measure:m,strategy:b}=o,S=I.useRef(e),E=w(),_=m1(E),O=I.useCallback(function(U){U===void 0&&(U=[]),!_.current&&f(q=>q===null?U:q.concat(U.filter(P=>!q.includes(P))))},[_]),M=I.useRef(null),N=y1(U=>{if(E&&!i)return TM;if(!U||U===TM||S.current!==e||c!=null){const q=new Map;for(let P of e){if(!P)continue;if(c&&c.length>0&&!c.includes(P.id)&&P.rect.current){q.set(P.id,P.rect.current);continue}const z=P.node.current,R=z?new dC(m(z),z):null;P.rect.current=R,R&&q.set(P.id,R)}return q}return U},[e,c,i,E,m]);return I.useEffect(()=>{S.current=e},[e]),I.useEffect(()=>{E||O()},[i,E]),I.useEffect(()=>{c&&c.length>0&&f(null)},[JSON.stringify(c)]),I.useEffect(()=>{E||typeof p!="number"||M.current!==null||(M.current=setTimeout(()=>{O(),M.current=null},p))},[p,E,O,...r]),{droppableRects:N,measureDroppableContainers:O,measuringScheduled:c!=null};function w(){switch(b){case S1.Always:return!1;case S1.BeforeDragging:return i;default:return!i}}}function bC(e,t){return y1(i=>e?i||(typeof t=="function"?t(e):e):null,[t,e])}function vj(e,t){return bC(e,t)}function bj(e){let{callback:t,disabled:i}=e;const r=GS(t),o=I.useMemo(()=>{if(i||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:c}=window;return new c(r)},[r,i]);return I.useEffect(()=>()=>o==null?void 0:o.disconnect(),[o]),o}function eE(e){let{callback:t,disabled:i}=e;const r=GS(t),o=I.useMemo(()=>{if(i||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:c}=window;return new c(r)},[i]);return I.useEffect(()=>()=>o==null?void 0:o.disconnect(),[o]),o}function xj(e){return new dC(lv(e),e)}function CM(e,t,i){t===void 0&&(t=xj);const[r,o]=I.useState(null);function c(){o(m=>{if(!e)return null;if(e.isConnected===!1){var b;return(b=m??i)!=null?b:null}const S=t(e);return JSON.stringify(m)===JSON.stringify(S)?m:S})}const f=bj({callback(m){if(e)for(const b of m){const{type:S,target:E}=b;if(S==="childList"&&E instanceof HTMLElement&&E.contains(e)){c();break}}}}),p=eE({callback:c});return yc(()=>{c(),e?(p==null||p.observe(e),f==null||f.observe(document.body,{childList:!0,subtree:!0})):(p==null||p.disconnect(),f==null||f.disconnect())},[e]),r}function Sj(e){const t=bC(e);return uM(e,t)}const _M=[];function Ej(e){const t=I.useRef(e),i=y1(r=>e?r&&r!==_M&&e&&t.current&&e.parentNode===t.current.parentNode?r:uC(e):_M,[e]);return I.useEffect(()=>{t.current=e},[e]),i}function Aj(e){const[t,i]=I.useState(null),r=I.useRef(e),o=I.useCallback(c=>{const f=cC(c.target);f&&i(p=>p?(p.set(f,fC(f)),new Map(p)):null)},[]);return I.useEffect(()=>{const c=r.current;if(e!==c){f(c);const p=e.map(m=>{const b=cC(m);return b?(b.addEventListener("scroll",o,{passive:!0}),[b,fC(b)]):null}).filter(m=>m!=null);i(p.length?new Map(p):null),r.current=e}return()=>{f(e),f(c)};function f(p){p.forEach(m=>{const b=cC(m);b==null||b.removeEventListener("scroll",o)})}},[o,e]),I.useMemo(()=>e.length?t?Array.from(t.values()).reduce((c,f)=>rv(c,f),vc):yM(e):vc,[e,t])}function wM(e,t){t===void 0&&(t=[]);const i=I.useRef(null);return I.useEffect(()=>{i.current=null},t),I.useEffect(()=>{const r=e!==vc;r&&!i.current&&(i.current=e),!r&&i.current&&(i.current=null)},[e]),i.current?QS(e,i.current):vc}function Tj(e){I.useEffect(()=>{if(!YS)return;const t=e.map(i=>{let{sensor:r}=i;return r.setup==null?void 0:r.setup()});return()=>{for(const i of t)i==null||i()}},e.map(t=>{let{sensor:i}=t;return i}))}function Cj(e,t){return I.useMemo(()=>e.reduce((i,r)=>{let{eventName:o,handler:c}=r;return i[o]=f=>{c(f,t)},i},{}),[e,t])}function DM(e){return I.useMemo(()=>e?ZH(e):null,[e])}const OM=[];function _j(e,t){t===void 0&&(t=lv);const[i]=e,r=DM(i?oo(i):null),[o,c]=I.useState(OM);function f(){c(()=>e.length?e.map(m=>gM(m)?r:new dC(t(m),m)):OM)}const p=eE({callback:f});return yc(()=>{p==null||p.disconnect(),f(),e.forEach(m=>p==null?void 0:p.observe(m))},[e]),o}function RM(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return g1(t)?t:e}function wj(e){let{measure:t}=e;const[i,r]=I.useState(null),o=I.useCallback(b=>{for(const{target:S}of b)if(g1(S)){r(E=>{const _=t(S);return E?{...E,width:_.width,height:_.height}:_});break}},[t]),c=eE({callback:o}),f=I.useCallback(b=>{const S=RM(b);c==null||c.disconnect(),S&&(c==null||c.observe(S)),r(S?t(S):null)},[t,c]),[p,m]=XS(f);return I.useMemo(()=>({nodeRef:p,rect:i,setRef:m}),[i,p,m])}const Dj=[{sensor:gC,options:{}},{sensor:SM,options:{}}],Oj={current:{}},tE={draggable:{measure:fM},droppable:{measure:fM,strategy:S1.WhileDragging,frequency:vC.Optimized},dragOverlay:{measure:lv}};class E1 extends Map{get(t){var i;return t!=null&&(i=super.get(t))!=null?i:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(t=>{let{disabled:i}=t;return!i})}getNodeFor(t){var i,r;return(i=(r=this.get(t))==null?void 0:r.node.current)!=null?i:void 0}}const Rj={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new E1,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:KS},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:tE,measureDroppableContainers:KS,windowRect:null,measuringScheduled:!1},MM={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:KS,draggableNodes:new Map,over:null,measureDroppableContainers:KS},A1=I.createContext(MM),NM=I.createContext(Rj);function Mj(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new E1}}}function Nj(e,t){switch(t.type){case pr.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case pr.DragMove:return e.draggable.active==null?e:{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case pr.DragEnd:case pr.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case pr.RegisterDroppable:{const{element:i}=t,{id:r}=i,o=new E1(e.droppable.containers);return o.set(r,i),{...e,droppable:{...e.droppable,containers:o}}}case pr.SetDroppableDisabled:{const{id:i,key:r,disabled:o}=t,c=e.droppable.containers.get(i);if(!c||r!==c.key)return e;const f=new E1(e.droppable.containers);return f.set(i,{...c,disabled:o}),{...e,droppable:{...e.droppable,containers:f}}}case pr.UnregisterDroppable:{const{id:i,key:r}=t,o=e.droppable.containers.get(i);if(!o||r!==o.key)return e;const c=new E1(e.droppable.containers);return c.delete(i),{...e,droppable:{...e.droppable,containers:c}}}default:return e}}function Bj(e){let{disabled:t}=e;const{active:i,activatorEvent:r,draggableNodes:o}=I.useContext(A1),c=$S(r),f=$S(i==null?void 0:i.id);return I.useEffect(()=>{if(!t&&!r&&c&&f!=null){if(!ZS(c)||document.activeElement===c.target)return;const p=o.get(f);if(!p)return;const{activatorNode:m,node:b}=p;if(!m.current&&!b.current)return;requestAnimationFrame(()=>{for(const S of[m.current,b.current]){if(!S)continue;const E=CH(S);if(E){E.focus();break}}})}},[r,t,o,f,c]),null}function BM(e,t){let{transform:i,...r}=t;return e!=null&&e.length?e.reduce((o,c)=>c({transform:o,...r}),i):i}function Lj(e){return I.useMemo(()=>({draggable:{...tE.draggable,...e==null?void 0:e.draggable},droppable:{...tE.droppable,...e==null?void 0:e.droppable},dragOverlay:{...tE.dragOverlay,...e==null?void 0:e.dragOverlay}}),[e==null?void 0:e.draggable,e==null?void 0:e.droppable,e==null?void 0:e.dragOverlay])}function kj(e){let{activeNode:t,measure:i,initialRect:r,config:o=!0}=e;const c=I.useRef(!1),{x:f,y:p}=typeof o=="boolean"?{x:o,y:o}:o;yc(()=>{if(!f&&!p||!t){c.current=!1;return}if(c.current||!r)return;const b=t==null?void 0:t.node.current;if(!b||b.isConnected===!1)return;const S=i(b),E=uM(S,r);if(f||(E.x=0),p||(E.y=0),c.current=!0,Math.abs(E.x)>0||Math.abs(E.y)>0){const _=dM(b);_&&_.scrollBy({top:E.y,left:E.x})}},[t,f,p,r,i])}const nE=I.createContext({...vc,scaleX:1,scaleY:1});var kp;(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"})(kp||(kp={}));const zj=I.memo(function(t){var i,r,o,c;let{id:f,accessibility:p,autoScroll:m=!0,children:b,sensors:S=Dj,collisionDetection:E=VH,measuring:_,modifiers:O,...M}=t;const N=I.useReducer(Nj,void 0,Mj),[w,U]=N,[q,P]=MH(),[z,R]=I.useState(kp.Uninitialized),H=z===kp.Initialized,{draggable:{active:j,nodes:K,translate:W},droppable:{containers:ge}}=w,ce=j!=null?K.get(j):null,be=I.useRef({initial:null,translated:null}),Oe=I.useMemo(()=>{var ri;return j!=null?{id:j,data:(ri=ce==null?void 0:ce.data)!=null?ri:Oj,rect:be}:null},[j,ce]),Ae=I.useRef(null),[Fe,ee]=I.useState(null),[le,ve]=I.useState(null),Qe=m1(M,Object.values(M)),ne=v1("DndDescribedBy",f),Ee=I.useMemo(()=>ge.getEnabled(),[ge]),Re=Lj(_),{droppableRects:ae,measureDroppableContainers:de,measuringScheduled:we}=yj(Ee,{dragging:H,dependencies:[W.x,W.y],config:Re.droppable}),Ue=gj(K,j),at=I.useMemo(()=>le?WS(le):null,[le]),Ke=fl(),Le=vj(Ue,Re.draggable.measure);kj({activeNode:j!=null?K.get(j):null,config:Ke.layoutShiftCompensation,initialRect:Le,measure:Re.draggable.measure});const De=CM(Ue,Re.draggable.measure,Le),nt=CM(Ue?Ue.parentElement:null),Ie=I.useRef({activatorEvent:null,active:null,activeNode:Ue,collisionRect:null,collisions:null,droppableRects:ae,draggableNodes:K,draggingNode:null,draggingNodeRect:null,droppableContainers:ge,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Ct=ge.getNodeFor((i=Ie.current.over)==null?void 0:i.id),Rt=wj({measure:Re.dragOverlay.measure}),Et=(r=Rt.nodeRef.current)!=null?r:Ue,un=H?(o=Rt.rect)!=null?o:De:null,Ut=!!(Rt.nodeRef.current&&Rt.rect),oa=Sj(Ut?null:De),Ea=DM(Et?oo(Et):null),wn=Ej(H?Ct??Ue:null),Zt=_j(wn),pt=BM(O,{transform:{x:W.x-oa.x,y:W.y-oa.y,scaleX:1,scaleY:1},activatorEvent:le,active:Oe,activeNodeRect:De,containerNodeRect:nt,draggingNodeRect:un,over:Ie.current.over,overlayNodeRect:Rt.rect,scrollableAncestors:wn,scrollableAncestorRects:Zt,windowRect:Ea}),Dn=at?rv(at,W):null,Oi=Aj(wn),Ba=wM(Oi),Lt=wM(Oi,[De]),ot=rv(pt,Ba),xt=un?XH(un,pt):null,Ln=Oe&&xt?E({active:Oe,collisionRect:xt,droppableRects:ae,droppableContainers:Ee,pointerCoordinates:Dn}):null,bt=IH(Ln,"id"),[On,vt]=I.useState(null),ni=Ut?pt:rv(pt,Lt),gr=YH(ni,(c=On==null?void 0:On.rect)!=null?c:null,De),$n=I.useRef(null),Aa=I.useCallback((ri,ha)=>{let{sensor:Fi,options:Za}=ha;if(Ae.current==null)return;const li=K.get(Ae.current);if(!li)return;const Ii=ri.nativeEvent,Wa=new Fi({active:Ae.current,activeNode:li,event:Ii,options:Za,context:Ie,onAbort(an){if(!K.get(an))return;const{onDragAbort:kn}=Qe.current,Ki={id:an};kn==null||kn(Ki),q({type:"onDragAbort",event:Ki})},onPending(an,Hn,kn,Ki){if(!K.get(an))return;const{onDragPending:qo}=Qe.current,Ti={id:an,constraint:Hn,initialCoordinates:kn,offset:Ki};qo==null||qo(Ti),q({type:"onDragPending",event:Ti})},onStart(an){const Hn=Ae.current;if(Hn==null)return;const kn=K.get(Hn);if(!kn)return;const{onDragStart:Ki}=Qe.current,Ll={activatorEvent:Ii,active:{id:Hn,data:kn.data,rect:be}};Xa.unstable_batchedUpdates(()=>{Ki==null||Ki(Ll),R(kp.Initializing),U({type:pr.DragStart,initialCoordinates:an,active:Hn}),q({type:"onDragStart",event:Ll}),ee($n.current),ve(Ii)})},onMove(an){U({type:pr.DragMove,coordinates:an})},onEnd:Po(pr.DragEnd),onCancel:Po(pr.DragCancel)});$n.current=Wa;function Po(an){return async function(){const{active:kn,collisions:Ki,over:Ll,scrollAdjustedTranslate:qo}=Ie.current;let Ti=null;if(kn&&qo){const{cancelDrop:oi}=Qe.current;Ti={activatorEvent:Ii,active:kn,collisions:Ki,delta:qo,over:Ll},an===pr.DragEnd&&typeof oi=="function"&&await Promise.resolve(oi(Ti))&&(an=pr.DragCancel)}Ae.current=null,Xa.unstable_batchedUpdates(()=>{U({type:an}),R(kp.Uninitialized),vt(null),ee(null),ve(null),$n.current=null;const oi=an===pr.DragEnd?"onDragEnd":"onDragCancel";if(Ti){const ft=Qe.current[oi];ft==null||ft(Ti),q({type:oi,event:Ti})}})}}},[K]),Qa=I.useCallback((ri,ha)=>(Fi,Za)=>{const li=Fi.nativeEvent,Ii=K.get(Za);if(Ae.current!==null||!Ii||li.dndKit||li.defaultPrevented)return;const Wa={active:Ii};ri(Fi,ha.options,Wa)===!0&&(li.dndKit={capturedBy:ha.sensor},Ae.current=Za,Aa(Fi,ha))},[K,Aa]),Ai=mj(S,Qa);Tj(S),yc(()=>{De&&z===kp.Initializing&&R(kp.Initialized)},[De,z]),I.useEffect(()=>{const{onDragMove:ri}=Qe.current,{active:ha,activatorEvent:Fi,collisions:Za,over:li}=Ie.current;if(!ha||!Fi)return;const Ii={active:ha,activatorEvent:Fi,collisions:Za,delta:{x:ot.x,y:ot.y},over:li};Xa.unstable_batchedUpdates(()=>{ri==null||ri(Ii),q({type:"onDragMove",event:Ii})})},[ot.x,ot.y]),I.useEffect(()=>{const{active:ri,activatorEvent:ha,collisions:Fi,droppableContainers:Za,scrollAdjustedTranslate:li}=Ie.current;if(!ri||Ae.current==null||!ha||!li)return;const{onDragOver:Ii}=Qe.current,Wa=Za.get(bt),Po=Wa&&Wa.rect.current?{id:Wa.id,rect:Wa.rect.current,data:Wa.data,disabled:Wa.disabled}:null,an={active:ri,activatorEvent:ha,collisions:Fi,delta:{x:li.x,y:li.y},over:Po};Xa.unstable_batchedUpdates(()=>{vt(Po),Ii==null||Ii(an),q({type:"onDragOver",event:an})})},[bt]),yc(()=>{Ie.current={activatorEvent:le,active:Oe,activeNode:Ue,collisionRect:xt,collisions:Ln,droppableRects:ae,draggableNodes:K,draggingNode:Et,draggingNodeRect:un,droppableContainers:ge,over:On,scrollableAncestors:wn,scrollAdjustedTranslate:ot},be.current={initial:un,translated:xt}},[Oe,Ue,Ln,xt,K,Et,un,ae,ge,On,wn,ot]),dj({...Ke,delta:W,draggingRect:xt,pointerCoordinates:Dn,scrollableAncestors:wn,scrollableAncestorRects:Zt});const mr=I.useMemo(()=>({active:Oe,activeNode:Ue,activeNodeRect:De,activatorEvent:le,collisions:Ln,containerNodeRect:nt,dragOverlay:Rt,draggableNodes:K,droppableContainers:ge,droppableRects:ae,over:On,measureDroppableContainers:de,scrollableAncestors:wn,scrollableAncestorRects:Zt,measuringConfiguration:Re,measuringScheduled:we,windowRect:Ea}),[Oe,Ue,De,le,Ln,nt,Rt,K,ge,ae,On,de,wn,Zt,Re,we,Ea]),uo=I.useMemo(()=>({activatorEvent:le,activators:Ai,active:Oe,activeNodeRect:De,ariaDescribedById:{draggable:ne},dispatch:U,draggableNodes:K,over:On,measureDroppableContainers:de}),[le,Ai,Oe,De,U,ne,K,On,de]);return I.createElement(oM.Provider,{value:P},I.createElement(A1.Provider,{value:uo},I.createElement(NM.Provider,{value:mr},I.createElement(nE.Provider,{value:gr},b)),I.createElement(Bj,{disabled:(p==null?void 0:p.restoreFocus)===!1})),I.createElement(LH,{...p,hiddenTextDescribedById:ne}));function fl(){const ri=(Fe==null?void 0:Fe.autoScrollEnabled)===!1,ha=typeof m=="object"?m.enabled===!1:m===!1,Fi=H&&!ri&&!ha;return typeof m=="object"?{...m,enabled:Fi}:{enabled:Fi}}}),Uj=I.createContext(null),LM="button",Hj="Draggable";function jj(e){let{id:t,data:i,disabled:r=!1,attributes:o}=e;const c=v1(Hj),{activators:f,activatorEvent:p,active:m,activeNodeRect:b,ariaDescribedById:S,draggableNodes:E,over:_}=I.useContext(A1),{role:O=LM,roleDescription:M="draggable",tabIndex:N=0}=o??{},w=(m==null?void 0:m.id)===t,U=I.useContext(w?nE:Uj),[q,P]=XS(),[z,R]=XS(),H=Cj(f,t),j=m1(i);yc(()=>(E.set(t,{id:t,key:c,node:q,activatorNode:z,data:j}),()=>{const W=E.get(t);W&&W.key===c&&E.delete(t)}),[E,t]);const K=I.useMemo(()=>({role:O,tabIndex:N,"aria-disabled":r,"aria-pressed":w&&O===LM?!0:void 0,"aria-roledescription":M,"aria-describedby":S.draggable}),[r,O,N,w,M,S.draggable]);return{active:m,activatorEvent:p,activeNodeRect:b,attributes:K,isDragging:w,listeners:r?void 0:H,node:q,over:_,setNodeRef:P,setActivatorNodeRef:R,transform:U}}function kM(){return I.useContext(NM)}const Fj="Droppable",Ij={timeout:25};function Pj(e){let{data:t,disabled:i=!1,id:r,resizeObserverConfig:o}=e;const c=v1(Fj),{active:f,dispatch:p,over:m,measureDroppableContainers:b}=I.useContext(A1),S=I.useRef({disabled:i}),E=I.useRef(!1),_=I.useRef(null),O=I.useRef(null),{disabled:M,updateMeasurementsFor:N,timeout:w}={...Ij,...o},U=m1(N??r),q=I.useCallback(()=>{if(!E.current){E.current=!0;return}O.current!=null&&clearTimeout(O.current),O.current=setTimeout(()=>{b(Array.isArray(U.current)?U.current:[U.current]),O.current=null},w)},[w]),P=eE({callback:q,disabled:M||!f}),z=I.useCallback((K,W)=>{P&&(W&&(P.unobserve(W),E.current=!1),K&&P.observe(K))},[P]),[R,H]=XS(z),j=m1(t);return I.useEffect(()=>{!P||!R.current||(P.disconnect(),E.current=!1,P.observe(R.current))},[R,P]),I.useEffect(()=>(p({type:pr.RegisterDroppable,element:{id:r,key:c,disabled:i,node:R,rect:_,data:j}}),()=>p({type:pr.UnregisterDroppable,key:c,id:r})),[r]),I.useEffect(()=>{i!==S.current.disabled&&(p({type:pr.SetDroppableDisabled,id:r,key:c,disabled:i}),S.current.disabled=i)},[r,c,i,p]),{active:f,rect:_,isOver:(m==null?void 0:m.id)===r,node:R,over:m,setNodeRef:H}}function qj(e){let{animation:t,children:i}=e;const[r,o]=I.useState(null),[c,f]=I.useState(null),p=$S(i);return!i&&!r&&p&&o(p),yc(()=>{if(!c)return;const m=r==null?void 0:r.key,b=r==null?void 0:r.props.id;if(m==null||b==null){o(null);return}Promise.resolve(t(b,c)).then(()=>{o(null)})},[t,r,c]),I.createElement(I.Fragment,null,i,r?I.cloneElement(r,{ref:f}):null)}const Vj={x:0,y:0,scaleX:1,scaleY:1};function Yj(e){let{children:t}=e;return I.createElement(A1.Provider,{value:MM},I.createElement(nE.Provider,{value:Vj},t))}const Gj={position:"fixed",touchAction:"none"},Xj=e=>ZS(e)?"transform 250ms ease":void 0,$j=I.forwardRef((e,t)=>{let{as:i,activatorEvent:r,adjustScale:o,children:c,className:f,rect:p,style:m,transform:b,transition:S=Xj}=e;if(!p)return null;const E=o?b:{...b,scaleX:1,scaleY:1},_={...Gj,width:p.width,height:p.height,top:p.top,left:p.left,transform:Cf.Transform.toString(E),transformOrigin:o&&r?HH(r,p):void 0,transition:typeof S=="function"?S(r):S,...m};return I.createElement(i,{className:f,style:_,ref:t},c)}),xC={duration:250,easing:"ease",keyframes:e=>{let{transform:{initial:t,final:i}}=e;return[{transform:Cf.Transform.toString(t)},{transform:Cf.Transform.toString(i)}]},sideEffects:(e=>t=>{let{active:i,dragOverlay:r}=t;const o={},{styles:c,className:f}=e;if(c!=null&&c.active)for(const[p,m]of Object.entries(c.active))m!==void 0&&(o[p]=i.node.style.getPropertyValue(p),i.node.style.setProperty(p,m));if(c!=null&&c.dragOverlay)for(const[p,m]of Object.entries(c.dragOverlay))m!==void 0&&r.node.style.setProperty(p,m);return f!=null&&f.active&&i.node.classList.add(f.active),f!=null&&f.dragOverlay&&r.node.classList.add(f.dragOverlay),function(){for(const[m,b]of Object.entries(o))i.node.style.setProperty(m,b);f!=null&&f.active&&i.node.classList.remove(f.active)}})({styles:{active:{opacity:"0"}}})};function Qj(e){let{config:t,draggableNodes:i,droppableContainers:r,measuringConfiguration:o}=e;return GS((c,f)=>{if(t===null)return;const p=i.get(c);if(!p)return;const m=p.node.current;if(!m)return;const b=RM(f);if(!b)return;const{transform:S}=oo(f).getComputedStyle(f),E=cM(S);if(!E)return;const _=typeof t=="function"?t:Zj(t);return vM(m,o.draggable.measure),_({active:{id:c,data:p.data,node:m,rect:o.draggable.measure(m)},draggableNodes:i,dragOverlay:{node:f,rect:o.dragOverlay.measure(b)},droppableContainers:r,measuringConfiguration:o,transform:E})})}function Zj(e){const{duration:t,easing:i,sideEffects:r,keyframes:o}={...xC,...e};return c=>{let{active:f,dragOverlay:p,transform:m,...b}=c;if(!t)return;const S={x:p.rect.left-f.rect.left,y:p.rect.top-f.rect.top},E={scaleX:m.scaleX!==1?f.rect.width*m.scaleX/p.rect.width:1,scaleY:m.scaleY!==1?f.rect.height*m.scaleY/p.rect.height:1},_={x:m.x-S.x,y:m.y-S.y,...E},O=o({...b,active:f,dragOverlay:p,transform:{initial:m,final:_}}),[M]=O,N=O[O.length-1];if(JSON.stringify(M)===JSON.stringify(N))return;const w=r==null?void 0:r({active:f,dragOverlay:p,...b}),U=p.node.animate(O,{duration:t,easing:i,fill:"forwards"});return new Promise(q=>{U.onfinish=()=>{w==null||w(),q()}})}}let zM=0;function Wj(e){return I.useMemo(()=>{if(e!=null)return zM++,zM},[e])}const Kj=I.memo(e=>{let{adjustScale:t=!1,children:i,dropAnimation:r,style:o,transition:c,modifiers:f,wrapperElement:p="div",className:m,zIndex:b=999}=e;const{activatorEvent:S,active:E,activeNodeRect:_,containerNodeRect:O,draggableNodes:M,droppableContainers:N,dragOverlay:w,over:U,measuringConfiguration:q,scrollableAncestors:P,scrollableAncestorRects:z,windowRect:R}=kM(),H=I.useContext(nE),j=Wj(E==null?void 0:E.id),K=BM(f,{activatorEvent:S,active:E,activeNodeRect:_,containerNodeRect:O,draggingNodeRect:w.rect,over:U,overlayNodeRect:w.rect,scrollableAncestors:P,scrollableAncestorRects:z,transform:H,windowRect:R}),W=bC(_),ge=Qj({config:r,draggableNodes:M,droppableContainers:N,measuringConfiguration:q}),ce=W?w.setRef:void 0;return I.createElement(Yj,null,I.createElement(qj,{animation:ge},E&&j?I.createElement($j,{key:j,id:E.id,ref:ce,as:p,activatorEvent:S,adjustScale:t,className:m,transition:c,rect:W,style:{zIndex:b,...o},transform:K},i):null))});function T1(e,t,i){const r=e.slice();return r.splice(i<0?r.length+i:i,0,r.splice(t,1)[0]),r}function Jj(e,t){return e.reduce((i,r,o)=>{const c=t.get(r);return c&&(i[o]=c),i},Array(e.length))}function iE(e){return e!==null&&e>=0}function eF(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++)if(e[i]!==t[i])return!1;return!0}function tF(e){return typeof e=="boolean"?{draggable:e,droppable:e}:e}const UM=e=>{let{rects:t,activeIndex:i,overIndex:r,index:o}=e;const c=T1(t,r,i),f=t[o],p=c[o];return!p||!f?null:{x:p.left-f.left,y:p.top-f.top,scaleX:p.width/f.width,scaleY:p.height/f.height}},aE={scaleX:1,scaleY:1},nF=e=>{var t;let{activeIndex:i,activeNodeRect:r,index:o,rects:c,overIndex:f}=e;const p=(t=c[i])!=null?t:r;if(!p)return null;if(o===i){const b=c[f];return b?{x:0,y:i<f?b.top+b.height-(p.top+p.height):b.top-p.top,...aE}:null}const m=iF(c,o,i);return o>i&&o<=f?{x:0,y:-p.height-m,...aE}:o<i&&o>=f?{x:0,y:p.height+m,...aE}:{x:0,y:0,...aE}};function iF(e,t,i){const r=e[t],o=e[t-1],c=e[t+1];return r?i<t?o?r.top-(o.top+o.height):c?c.top-(r.top+r.height):0:c?c.top-(r.top+r.height):o?r.top-(o.top+o.height):0:0}const HM="Sortable",jM=I.createContext({activeIndex:-1,containerId:HM,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:UM,disabled:{draggable:!1,droppable:!1}});function aF(e){let{children:t,id:i,items:r,strategy:o=UM,disabled:c=!1}=e;const{active:f,dragOverlay:p,droppableRects:m,over:b,measureDroppableContainers:S}=kM(),E=v1(HM,i),_=p.rect!==null,O=I.useMemo(()=>r.map(H=>typeof H=="object"&&"id"in H?H.id:H),[r]),M=f!=null,N=f?O.indexOf(f.id):-1,w=b?O.indexOf(b.id):-1,U=I.useRef(O),q=!eF(O,U.current),P=w!==-1&&N===-1||q,z=tF(c);yc(()=>{q&&M&&S(O)},[q,O,M,S]),I.useEffect(()=>{U.current=O},[O]);const R=I.useMemo(()=>({activeIndex:N,containerId:E,disabled:z,disableTransforms:P,items:O,overIndex:w,useDragOverlay:_,sortedRects:Jj(O,m),strategy:o}),[N,E,z.draggable,z.droppable,P,O,w,m,_,o]);return I.createElement(jM.Provider,{value:R},t)}const rF=e=>{let{id:t,items:i,activeIndex:r,overIndex:o}=e;return T1(i,r,o).indexOf(t)},lF=e=>{let{containerId:t,isSorting:i,wasDragging:r,index:o,items:c,newIndex:f,previousItems:p,previousContainerId:m,transition:b}=e;return!b||!r||p!==c&&o===f?!1:i?!0:f!==o&&t===m},oF={duration:200,easing:"ease"},FM="transform",sF=Cf.Transition.toString({property:FM,duration:0,easing:"linear"}),uF={roleDescription:"sortable"};function cF(e){let{disabled:t,index:i,node:r,rect:o}=e;const[c,f]=I.useState(null),p=I.useRef(i);return yc(()=>{if(!t&&i!==p.current&&r.current){const m=o.current;if(m){const b=lv(r.current,{ignoreTransform:!0}),S={x:m.left-b.left,y:m.top-b.top,scaleX:m.width/b.width,scaleY:m.height/b.height};(S.x||S.y)&&f(S)}}i!==p.current&&(p.current=i)},[t,i,r,o]),I.useEffect(()=>{c&&f(null)},[c]),c}function fF(e){let{animateLayoutChanges:t=lF,attributes:i,disabled:r,data:o,getNewIndex:c=rF,id:f,strategy:p,resizeObserverConfig:m,transition:b=oF}=e;const{items:S,containerId:E,activeIndex:_,disabled:O,disableTransforms:M,sortedRects:N,overIndex:w,useDragOverlay:U,strategy:q}=I.useContext(jM),P=dF(r,O),z=S.indexOf(f),R=I.useMemo(()=>({sortable:{containerId:E,index:z,items:S},...o}),[E,o,z,S]),H=I.useMemo(()=>S.slice(S.indexOf(f)),[S,f]),{rect:j,node:K,isOver:W,setNodeRef:ge}=Pj({id:f,data:R,disabled:P.droppable,resizeObserverConfig:{updateMeasurementsFor:H,...m}}),{active:ce,activatorEvent:be,activeNodeRect:Oe,attributes:Ae,setNodeRef:Fe,listeners:ee,isDragging:le,over:ve,setActivatorNodeRef:Qe,transform:ne}=jj({id:f,data:R,attributes:{...uF,...i},disabled:P.draggable}),Ee=SH(ge,Fe),Re=!!ce,ae=Re&&!M&&iE(_)&&iE(w),de=!U&&le,we=de&&ae?ne:null,at=ae?we??(p??q)({rects:N,activeNodeRect:Oe,activeIndex:_,overIndex:w,index:z}):null,Ke=iE(_)&&iE(w)?c({id:f,items:S,activeIndex:_,overIndex:w}):z,Le=ce==null?void 0:ce.id,De=I.useRef({activeId:Le,items:S,newIndex:Ke,containerId:E}),nt=S!==De.current.items,Ie=t({active:ce,containerId:E,isDragging:le,isSorting:Re,id:f,index:z,items:S,newIndex:De.current.newIndex,previousItems:De.current.items,previousContainerId:De.current.containerId,transition:b,wasDragging:De.current.activeId!=null}),Ct=cF({disabled:!Ie,index:z,node:K,rect:j});return I.useEffect(()=>{Re&&De.current.newIndex!==Ke&&(De.current.newIndex=Ke),E!==De.current.containerId&&(De.current.containerId=E),S!==De.current.items&&(De.current.items=S)},[Re,Ke,E,S]),I.useEffect(()=>{if(Le===De.current.activeId)return;if(Le!=null&&De.current.activeId==null){De.current.activeId=Le;return}const Et=setTimeout(()=>{De.current.activeId=Le},50);return()=>clearTimeout(Et)},[Le]),{active:ce,activeIndex:_,attributes:Ae,data:R,rect:j,index:z,newIndex:Ke,items:S,isOver:W,isSorting:Re,isDragging:le,listeners:ee,node:K,overIndex:w,over:ve,setNodeRef:Ee,setActivatorNodeRef:Qe,setDroppableNodeRef:ge,setDraggableNodeRef:Fe,transform:Ct??at,transition:Rt()};function Rt(){if(Ct||nt&&De.current.newIndex===z)return sF;if(!(de&&!ZS(be)||!b)&&(Re||Ie))return Cf.Transition.toString({...b,property:FM})}}function dF(e,t){var i,r;return typeof e=="boolean"?{draggable:e,droppable:!1}:{draggable:(i=e==null?void 0:e.draggable)!=null?i:t.draggable,droppable:(r=e==null?void 0:e.droppable)!=null?r:t.droppable}}ai.Down,ai.Right,ai.Up,ai.Left;function eh(){return eh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},eh.apply(this,arguments)}function SC(e,t){if(e==null)return{};var i={},r=Object.keys(e),o,c;for(c=0;c<r.length;c++)o=r[c],!(t.indexOf(o)>=0)&&(i[o]=e[o]);return i}function hF(e,t){if(e){if(typeof e=="string")return IM(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);if(i==="Object"&&e.constructor&&(i=e.constructor.name),i==="Map"||i==="Set")return Array.from(e);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return IM(e,t)}}function IM(e,t){(t==null||t>e.length)&&(t=e.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=e[i];return r}function rE(e,t){var i=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(i)return(i=i.call(e)).next.bind(i);if(Array.isArray(e)||(i=hF(e))||t){i&&(e=i);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
116
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function PM(e,t){t===void 0&&(t={});var i=t.insertAt;if(!(!e||typeof document>"u")){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",i==="top"&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}var pF=`.dnd-sortable-tree_simple_wrapper{box-sizing:border-box;list-style:none;margin-bottom:-1px}.dnd-sortable-tree_simple_tree-item{align-items:center;border:1px solid #dedede;box-sizing:border-box;color:#222;display:flex;padding:10px;position:relative}.dnd-sortable-tree_simple_clone{display:inline-block;padding:5px;pointer-events:none}.dnd-sortable-tree_simple_clone>.dnd-sortable-tree_simple_tree-item{border-radius:4px;box-shadow:0 15px 15px 0 rgba(34,33,81,.1);padding-bottom:5px;padding-right:24px;padding-top:5px}.dnd-sortable-tree_simple_ghost{opacity:.5}.dnd-sortable-tree_simple_disable-selection{-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.dnd-sortable-tree_simple_disable-interaction{pointer-events:none}.dnd-sortable-tree_folder_tree-item-collapse_button{align-self:stretch;background:url("data:image/svg+xml;utf8,<svg width='10' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 41'><path d='M30.76 39.2402C31.885 40.3638 33.41 40.995 35 40.995C36.59 40.995 38.115 40.3638 39.24 39.2402L68.24 10.2402C69.2998 9.10284 69.8768 7.59846 69.8494 6.04406C69.822 4.48965 69.1923 3.00657 68.093 1.90726C66.9937 0.807959 65.5106 0.178263 63.9562 0.150837C62.4018 0.123411 60.8974 0.700397 59.76 1.76024L35 26.5102L10.24 1.76024C9.10259 0.700397 7.59822 0.123411 6.04381 0.150837C4.4894 0.178263 3.00632 0.807959 1.90702 1.90726C0.807714 3.00657 0.178019 4.48965 0.150593 6.04406C0.123167 7.59846 0.700153 9.10284 1.75999 10.2402L30.76 39.2402Z' /></svg>") no-repeat 50%;border:0;transition:transform .25s ease;width:20px}.dnd-sortable-tree_folder_tree-item-collapse_button-collapsed{transform:rotate(-90deg)}.dnd-sortable-tree_simple_handle{align-self:stretch;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' width='12'><path d='M7 2a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 2zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 8zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 14zm6-8a2 2 0 1 0-.001-4.001A2 2 0 0 0 13 6zm0 2a2 2 0 1 0 .001 4.001A2 2 0 0 0 13 8zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 13 14z'></path></svg>") no-repeat 50%;cursor:pointer;width:20px}.dnd-sortable-tree_simple_tree-item-collapse_button{align-self:stretch;background:url("data:image/svg+xml;utf8,<svg width='10' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 41'><path d='M30.76 39.2402C31.885 40.3638 33.41 40.995 35 40.995C36.59 40.995 38.115 40.3638 39.24 39.2402L68.24 10.2402C69.2998 9.10284 69.8768 7.59846 69.8494 6.04406C69.822 4.48965 69.1923 3.00657 68.093 1.90726C66.9937 0.807959 65.5106 0.178263 63.9562 0.150837C62.4018 0.123411 60.8974 0.700397 59.76 1.76024L35 26.5102L10.24 1.76024C9.10259 0.700397 7.59822 0.123411 6.04381 0.150837C4.4894 0.178263 3.00632 0.807959 1.90702 1.90726C0.807714 3.00657 0.178019 4.48965 0.150593 6.04406C0.123167 7.59846 0.700153 9.10284 1.75999 10.2402L30.76 39.2402Z' /></svg>") no-repeat 50%;border:0;transition:transform .25s ease;width:20px}.dnd-sortable-tree_folder_simple-item-collapse_button-collapsed{transform:rotate(-90deg)}`;PM(pF);var gF=`.dnd-sortable-tree_folder_wrapper{box-sizing:border-box;display:flex;flex-direction:row;list-style:none;margin-bottom:-1px}.dnd-sortable-tree_folder_tree-item{align-items:center;box-sizing:border-box;display:flex;padding:7px 0;position:relative}.dnd-sortable-tree_folder_clone{display:inline-block;padding:5px;pointer-events:none}.dnd-sortable-tree_folder_clone>.dnd-sortable-tree_folder_tree-item{border-radius:4px;padding-bottom:5px;padding-right:24px;padding-top:5px}.dnd-sortable-tree_folder_ghost{opacity:.5}.dnd-sortable-tree_folder_disable-selection{-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.dnd-sortable-tree_folder_disable-interaction{pointer-events:none}.dnd-sortable-tree_folder_line{align-self:stretch;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><line stroke='black' style='stroke-width: 1px;' x1='50%' y1='0' x2='50%' y2='100%'/></svg>");width:20px}.dnd-sortable-tree_folder_line-last{align-self:stretch;width:20px}.dnd-sortable-tree_folder_line-to_self{align-self:stretch;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><line stroke='black' style='stroke-width: 1px;' x1='50%' y1='0' x2='50%' y2='100%'/><line stroke='black' style='stroke-width: 1px;' x1='50%' y1='50%' x2='100%' y2='50%'/></svg>");width:20px}.dnd-sortable-tree_folder_line-to_self-last{align-self:stretch;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><line stroke='black' style='stroke-width: 1px;' x1='50%' y1='0' x2='50%' y2='50%'/><line stroke='black' style='stroke-width: 1px;' x1='50%' y1='50%' x2='100%' y2='50%'/></svg>");width:20px}.dnd-sortable-tree_folder_tree-item-collapse_button{align-self:stretch;background:url("data:image/svg+xml;utf8,<svg width='10' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 41'><path d='M30.76 39.2402C31.885 40.3638 33.41 40.995 35 40.995C36.59 40.995 38.115 40.3638 39.24 39.2402L68.24 10.2402C69.2998 9.10284 69.8768 7.59846 69.8494 6.04406C69.822 4.48965 69.1923 3.00657 68.093 1.90726C66.9937 0.807959 65.5106 0.178263 63.9562 0.150837C62.4018 0.123411 60.8974 0.700397 59.76 1.76024L35 26.5102L10.24 1.76024C9.10259 0.700397 7.59822 0.123411 6.04381 0.150837C4.4894 0.178263 3.00632 0.807959 1.90702 1.90726C0.807714 3.00657 0.178019 4.48965 0.150593 6.04406C0.123167 7.59846 0.700153 9.10284 1.75999 10.2402L30.76 39.2402Z' /></svg>") no-repeat 50%;border:0;transition:transform .25s ease;width:20px}.dnd-sortable-tree_folder_tree-item-collapse_button-collapsed{transform:rotate(-90deg)}.dnd-sortable-tree_folder_handle{align-self:stretch;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' width='12'><path d='M7 2a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 2zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 8zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 14zm6-8a2 2 0 1 0-.001-4.001A2 2 0 0 0 13 6zm0 2a2 2 0 1 0 .001 4.001A2 2 0 0 0 13 8zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 13 14z'></path></svg>") no-repeat 50%;cursor:pointer;width:20px}`;PM(gF);var mF=["clone","depth","disableSelection","disableInteraction","disableSorting","ghost","handleProps","indentationWidth","indicator","collapsed","onCollapse","onRemove","item","wrapperRef","style","isLast","parent","hideCollapseButton","childCount","manualDrag","showDragHandle","disableCollapseOnItemClick","className","contentClassName","isOver","isOverParent"];function qM(e){return e?[].concat(qM(e.parent),[e]):[]}var yF=I.forwardRef(function(e,t){var i=e.clone,r=e.disableSelection,o=e.disableInteraction,c=e.disableSorting,f=e.ghost,p=e.handleProps,m=e.collapsed,b=e.onCollapse,S=e.wrapperRef,E=e.style,_=e.isLast,O=e.parent,M=e.hideCollapseButton,N=e.childCount,w=e.manualDrag,U=e.showDragHandle,q=e.disableCollapseOnItemClick,P=e.className,z=e.contentClassName,R=SC(e,mF),H=qM(O);return I.createElement("li",Object.assign({},R,{className:rC("dnd-sortable-tree_folder_wrapper",i&&"dnd-sortable-tree_folder_clone",f&&"dnd-sortable-tree_folder_ghost",r&&"dnd-sortable-tree_folder_disable-selection",o&&"dnd-sortable-tree_folder_disable-interaction",P),ref:S,style:E}),H.map(function(j){return I.createElement("div",{key:j.id,className:j.isLast?"dnd-sortable-tree_folder_line-last":"dnd-sortable-tree_folder_line"})}),I.createElement("div",{className:_?"dnd-sortable-tree_folder_line-to_self-last":"dnd-sortable-tree_folder_line-to_self"}),w&&U&&!c&&I.createElement("div",Object.assign({className:"dnd-sortable-tree_folder_handle"},p)),!w&&!M&&!!b&&!!N&&I.createElement("button",{onClick:function(K){K.preventDefault(),b==null||b()},className:rC("dnd-sortable-tree_folder_tree-item-collapse_button",m&&"dnd-sortable-tree_folder_tree-item-collapse_button-collapsed")}),I.createElement("div",Object.assign({className:rC("dnd-sortable-tree_folder_tree-item",z),ref:t},w?void 0:p,{onClick:q?void 0:b}),e.children))}),vF=typeof window<"u"?/iPad|iPhone|iPod/.test(navigator.platform):!1;function bF(e,t){return Math.round(e/t)}var EC=function(){};function xF(e,t,i,r,o,c,f){var p,m,b;if(EC(),EC=function(){},!t||!i)return null;var S=e.findIndex(function(le){var ve=le.id;return ve===i}),E=e.findIndex(function(le){var ve=le.id;return ve===t}),_=e[E];if(c){var O,M,N,w,U,q=e[S];return q=Fe(q,_,f),q===void 0?null:{depth:(O=(M=q)==null?void 0:M.depth)!=null?O:1,parentId:(N=(w=q)==null?void 0:w.id)!=null?N:null,parent:q,isLast:!!((U=q)!=null&&U.isLast)}}var P=T1(e,E,S),z=P[S-1],R=P[S+1],H=bF(r,o),j=_.depth+H,K=j,W=Ae(K-1,z),ge=Fe(W,_,f);if(ge===void 0)return null;var ce=((p=ge==null?void 0:ge.depth)!=null?p:-1)+1,be=(m=R==null?void 0:R.depth)!=null?m:0;if(be>ce)return null;K>=ce?K=ce:K<be&&(K=be);var Oe=((b=R==null?void 0:R.depth)!=null?b:-1)<K;return ge&&ge.isLast&&(EC=function(){ge.isLast=!0},ge.isLast=!1),{depth:K,parentId:ee(),parent:ge,isLast:Oe};function Ae(le,ve){if(!ve)return null;for(;le<ve.depth;){if(ve.parent===null)return null;ve=ve.parent}return ve}function Fe(le,ve,Qe){if(!le){var ne=typeof Qe=="function"?Qe(ve):Qe;return ne===!1?void 0:le}var Ee=typeof le.canHaveChildren=="function"?le.canHaveChildren(ve):le.canHaveChildren;return Ee===!1?Fe(le.parent,_,Qe):le}function ee(){var le;if(K===0||!z)return null;if(K===z.depth)return z.parentId;if(K>z.depth)return z.id;var ve=(le=P.slice(0,S).reverse().find(function(Qe){return Qe.depth===K}))==null?void 0:le.parentId;return ve??null}}function VM(e,t,i,r){return t===void 0&&(t=null),i===void 0&&(i=0),r===void 0&&(r=null),e.reduce(function(o,c,f){var p,m=eh({},c,{parentId:t,depth:i,index:f,isLast:e.length===f+1,parent:r});return[].concat(o,[m],VM((p=c.children)!=null?p:[],c.id,i+1,m))},[])}function AC(e){return VM(e)}function SF(e){for(var t,i,r={id:"root",children:[]},o=(t={},t[r.id]=r,t),c=e.map(function(N){return eh({},N,{children:[]})}),f=rE(c),p;!(p=f()).done;){var m,b,S,E=p.value,_=E.id,O=(m=E.parentId)!=null?m:r.id,M=(b=o[O])!=null?b:EF(c,O);E.parent=null,o[_]=E,M==null||(S=M.children)==null||S.push(E)}return(i=r.children)!=null?i:[]}function EF(e,t){return e.find(function(i){var r=i.id;return r===t})}function lE(e,t){for(var i=rE(e),r;!(r=i()).done;){var o=r.value,c=o.id,f=o.children;if(c===t)return o;if(f!=null&&f.length){var p=lE(f,t);if(p)return p}}}function YM(e,t){for(var i=[],r=rE(e),o;!(o=r()).done;){var c,f=o.value;f.id!==t&&((c=f.children)!=null&&c.length&&(f.children=YM(f.children,t)),i.push(f))}return i}function GM(e,t,i,r){for(var o=rE(e),c;!(c=o()).done;){var f,p=c.value;if(p.id===t){p[i]=r(p[i]);continue}(f=p.children)!=null&&f.length&&(p.children=GM(p.children,t,i,r))}return[].concat(e)}function XM(e,t){return t===void 0&&(t=0),e.reduce(function(i,r){var o=r.children;return o!=null&&o.length?XM(o,i+1):i+1},t)}function AF(e,t){var i;if(!t)return 0;var r=lE(e,t);return r?XM((i=r.children)!=null?i:[]):0}function TF(e,t){var i=[].concat(t);return e.filter(function(r){if(r.parentId&&i.includes(r.parentId)){var o;return(o=r.children)!=null&&o.length&&i.push(r.id),!1}return!0})}function $M(e,t){return!e||!t?!1:e.id===t?!0:$M(e.parent,t)}var CF=["id","depth","isLast","TreeItemComponent","parent","disableSorting","sortableProps","keepGhostInPlace"],_F=function(t){var i=t.isSorting,r=t.isDragging;return!(i||r)},wF=function(t){var i=t.id,r=t.depth,o=t.isLast,c=t.TreeItemComponent,f=t.parent,p=t.disableSorting,m=t.sortableProps,b=t.keepGhostInPlace,S=SC(t,CF),E=fF(eh({id:i,animateLayoutChanges:_F,disabled:p},m)),_=E.attributes,O=E.isDragging,M=E.isSorting,N=E.listeners,w=E.setDraggableNodeRef,U=E.setDroppableNodeRef,q=E.transform,P=E.transition,z=E.isOver,R=E.over,H=I.useMemo(function(){return!!(R!=null&&R.id)&&$M(f,R.id)},[R==null?void 0:R.id]),j={transform:Cf.Translate.toString(q),transition:P??void 0},K=I.useMemo(function(){if(S.onCollapse)return function(){return S.onCollapse==null?void 0:S.onCollapse(S.item.id)}},[S.item.id,S.onCollapse]),W=I.useMemo(function(){if(S.onRemove)return function(){return S.onRemove==null?void 0:S.onRemove(S.item.id)}},[S.item.id,S.onRemove]);return I.createElement(c,Object.assign({},S,{ref:w,wrapperRef:U,style:b?void 0:j,depth:r,ghost:O,disableSelection:vF,disableInteraction:M,isLast:o,parent:f,handleProps:eh({},_,N),onCollapse:K,onRemove:W,disableSorting:p,isOver:z,isOverParent:H}))},DF=I.memo(wF),OF=function(t){var i=function(o){var c=o.activeIndex,f=o.activeNodeRect,p=o.index,m=o.rects,b=o.overIndex;return t(c,b)?nF({activeIndex:c,activeNodeRect:f,index:p,rects:m,overIndex:b}):null};return i},RF=["items","indicator","indentationWidth","onItemsChanged","TreeItemComponent","pointerSensorOptions","disableSorting","dropAnimation","dndContextProps","sortableProps","keepGhostInPlace","canRootHaveChildren"],MF={activationConstraint:{distance:3}},NF={keyframes:function(t){var i=t.transform;return[{opacity:1,transform:Cf.Transform.toString(i.initial)},{opacity:0,transform:Cf.Transform.toString(eh({},i.final,{x:i.final.x+5,y:i.final.y+5}))}]},easing:"ease-out",sideEffects:function(t){var i=t.active;i.node.animate([{opacity:0},{opacity:1}],{duration:xC.duration,easing:xC.easing})}};function BF(e){var t=e.items,i=e.indicator,r=e.indentationWidth,o=r===void 0?20:r,c=e.onItemsChanged,f=e.TreeItemComponent,p=e.pointerSensorOptions,m=e.disableSorting,b=e.dropAnimation,S=e.dndContextProps,E=e.sortableProps,_=e.keepGhostInPlace,O=e.canRootHaveChildren,M=SC(e,RF),N=I.useState(null),w=N[0],U=N[1],q=I.useState(null),P=q[0],z=q[1],R=I.useState(0),H=R[0],j=R[1],K=I.useState(null),W=K[0],ge=K[1],ce=I.useMemo(function(){var Le=AC(t),De=Le.reduce(function(Ie,Ct){var Rt=Ct.children,Et=Ct.collapsed,un=Ct.id;return Et&&Rt!=null&&Rt.length?[].concat(Ie,[un]):Ie},[]),nt=TF(Le,w?[w].concat(De):De);return nt},[w,t]),be=xF(ce,w,P,H,o,_??!1,O),Oe=I.useRef({items:ce,offset:H}),Ae=zH(kH(gC,p??MF)),Fe=I.useMemo(function(){return ce.map(function(Le){var De=Le.id;return De})},[ce]),ee=w?ce.find(function(Le){var De=Le.id;return De===w}):null;I.useEffect(function(){Oe.current={items:ce,offset:H}},[ce,H]);var le=I.useRef(t);le.current=t;var ve=I.useCallback(function(Le){var De=lE(le.current,Le);c(YM(le.current,Le),{type:"removed",item:De})},[c]),Qe=I.useCallback(function(De){var nt=lE(le.current,De);c(GM(le.current,De,"collapsed",function(Ie){return!Ie}),{type:nt.collapsed?"collapsed":"expanded",item:nt})},[c]),ne=I.useMemo(function(){return{onDragStart:function(De){var nt=De.active;return"Picked up "+nt.id+"."},onDragMove:function(De){var nt=De.active,Ie=De.over;return Ke("onDragMove",nt.id,Ie==null?void 0:Ie.id)},onDragOver:function(De){var nt=De.active,Ie=De.over;return Ke("onDragOver",nt.id,Ie==null?void 0:Ie.id)},onDragEnd:function(De){var nt=De.active,Ie=De.over;return Ke("onDragEnd",nt.id,Ie==null?void 0:Ie.id)},onDragCancel:function(De){var nt=De.active;return"Moving was cancelled. "+nt.id+" was dropped in its original position."}}},[]),Ee=I.useCallback(function(){return!!be},[be]);return I.createElement(zj,Object.assign({accessibility:{announcements:ne},sensors:m?void 0:Ae,modifiers:i?kF:void 0,collisionDetection:PH,onDragStart:m?void 0:Re,onDragMove:m?void 0:ae,onDragOver:m?void 0:de,onDragEnd:m?void 0:we,onDragCancel:m?void 0:Ue},S),I.createElement(aF,{items:Fe,strategy:m?void 0:OF(Ee)},ce.map(function(Le){var De,nt,Ie;return I.createElement(DF,Object.assign({},M,{key:Le.id,id:Le.id,item:Le,childCount:(De=Le.children)==null?void 0:De.length,depth:Le.id===w&&be&&!_?be.depth:Le.depth,indentationWidth:o,indicator:i,collapsed:!!(Le.collapsed&&((nt=Le.children)!=null&&nt.length)),onCollapse:(Ie=Le.children)!=null&&Ie.length?Qe:void 0,onRemove:ve,isLast:Le.id===w&&be?be.isLast:Le.isLast,parent:Le.id===w&&be?be.parent:Le.parent,TreeItemComponent:f,disableSorting:m,sortableProps:E,keepGhostInPlace:_}))}),Xa.createPortal(I.createElement(Kj,{dropAnimation:b===void 0?NF:b},w&&ee?I.createElement(f,Object.assign({},M,{item:ee,children:[],depth:ee.depth,clone:!0,childCount:AF(t,w)+1,indentationWidth:o,isLast:!1,parent:ee.parent,isOver:!1,isOverParent:!1})):null),document.body)));function Re(Le){var De=Le.active.id;U(De),z(De);var nt=ce.find(function(Ie){var Ct=Ie.id;return Ct===De});nt&&ge({parentId:nt.parentId,overId:De}),document.body.style.setProperty("cursor","grabbing")}function ae(Le){var De=Le.delta;j(De.x)}function de(Le){var De,nt=Le.over;z((De=nt==null?void 0:nt.id)!=null?De:null)}function we(Le){var De=Le.active,nt=Le.over;if(at(),be&&nt){var Ie=be.depth,Ct=be.parentId;if(_&&nt.id===De.id)return;var Rt=AC(t),Et=Rt.findIndex(function(Dn){var Oi=Dn.id;return Oi===nt.id}),un=Rt.findIndex(function(Dn){var Oi=Dn.id;return Oi===De.id}),Ut=Rt[un];Rt[un]=eh({},Ut,{depth:Ie,parentId:Ct});var oa=Ut.parent,Ea=T1(Rt,un,Et),wn=SF(Ea),Zt=Ea.find(function(Dn){return Dn.id===De.id}),pt=Zt.parentId?Ea.find(function(Dn){return Dn.id===Zt.parentId}):null;setTimeout(function(){return c(wn,{type:"dropped",draggedItem:Zt,draggedFromParent:oa,droppedToParent:pt})})}}function Ue(){at()}function at(){z(null),U(null),j(0),ge(null),document.body.style.setProperty("cursor","")}function Ke(Le,De,nt){if(nt&&be){if(Le!=="onDragEnd"){if(W&&be.parentId===W.parentId&&nt===W.overId)return;ge({parentId:be.parentId,overId:nt})}var Ie=AC(t),Ct=Ie.findIndex(function(Dn){var Oi=Dn.id;return Oi===nt}),Rt=Ie.findIndex(function(Dn){var Oi=Dn.id;return Oi===De}),Et=T1(Ie,Rt,Ct),un=Et[Ct-1],Ut,oa=Le==="onDragEnd"?"dropped":"moved",Ea=Le==="onDragEnd"?"dropped":"nested";if(un)if(be.depth>un.depth)Ut=De+" was "+Ea+" under "+un.id+".";else{for(var Zt=un,pt=function(){var Oi=Zt.parentId;Zt=Et.find(function(Ba){var Lt=Ba.id;return Lt===Oi})};Zt&&be.depth<Zt.depth;)pt();Zt&&(Ut=De+" was "+oa+" after "+Zt.id+".")}else{var wn=Et[Ct+1];Ut=De+" was "+oa+" before "+wn.id+"."}return Ut}}}var LF=function(t){var i=t.transform;return eh({},i,{y:i.y-25})},kF=[LF];const zF=({props:e,path:t,datafield:i})=>{var P,z;const r=I.useContext(ti),o=I.useContext(Gn);let{formData:c,formDataPath:f}=p1({currentPath:t,datafield:i,dataLocation:e.dataLocation,defaultValue:e.defaultFieldValue,globalDataContext:r,templateContext:o});if(c===void 0)return null;const p=e.itemTemplate??null,m=Xn({valueToEvaluate:e.treeRootPath??void 0,globalDataContext:r,templateContext:o}),b=e.maxDepth,S=typeof m!="string"?!0:e.maxDepthIsAbsolute??!0,E=e.keepBaseItem??!1;let _=0,O=null,M;if(typeof m=="string"&&m.length>0){const R=m.split(".");let H=O,j=c,K=f;for(;R.length>0;){const W=Number.parseInt(R.shift());if(Number.isNaN(W)||(H=(c==null?void 0:c.id)??null,j=c,K=f,M=W,O=(P=c[W])==null?void 0:P.id,c=((z=c[W])==null?void 0:z.children)??void 0,f=f+"."+W+".children",c===void 0))return null;++_}E&&(O=H,c=j,f=K,c=[c[M]])}const N=R=>{let H=R,j=f;if(_>0){H=Sp.cloneDeep(H);const K=(W,ge=0)=>{var ce;ge===0&&(W.parentId=O),W.depth+=_,(ce=W.children)==null||ce.forEach(be=>{K(be,ge+1)})};H.forEach(W=>{K(W,0)})}m!==void 0&&E&&(H=R[0],j=f+"."+M),r.updateData(H,j)},w=I.forwardRef((R,H)=>{const j=R.item.value??{},K=[];let W=R.item;for(K.push(W.index);W.parent;)K.push("children"),W=W.parent,K.push(W.index);K.reverse();const ce=f+"."+K.join(".")+".value";j._treeItemDepth=R.item.depth,j._treeItemIndex=R.item.index,j._treeItemIndex1=R.item.index+1;const be={};return be._treeAddCollapseButton=()=>!!R.onCollapse&&!!R.childCount&&ie.jsx("button",{onClick:Oe=>{var Ae;Oe.preventDefault(),(Ae=R.onCollapse)==null||Ae.call(R)},className:xH("dnd-sortable-tree_folder_tree-item-collapse_button",R.collapsed&&"dnd-sortable-tree_folder_tree-item-collapse_button-collapsed")}),b&&(S?R.item.canHaveChildren=_+R.item.depth<b:R.item.canHaveChildren=R.item.depth<b),ie.jsx(yF,{...R,"data-htmlbuilder-tree-item-children-count":R.childCount||"0","data-htmlbuilder-tree-item-collapsed":R.collapsed,"data-htmlbuilder-tree-item-depth":R.item.depth,"data-htmlbuilder-tree-item-depth-list":UF(R.item.depth),"data-htmlbuilder-tree-item-index":R.item.index,"data-htmlbuilder-tree-item-index1":R.item.index+1,"data-htmlbuilder-tree-item-is-last":R.isLast,ref:H,children:ie.jsx(Gn.Provider,{value:{templateData:j,templatePath:ce,sortableTreeData:be},children:ie.jsx(ki,{props:p,currentData:j})})})}),U=Sp.cloneDeep(c),q=e.sortableTreeOptions??{};return ie.jsx(xa,{...e,children:ie.jsx(BF,{...q,items:U,onItemsChanged:N,TreeItemComponent:w})})};function UF(e){const t=[];let i=e??0;for(;i>=0;)t.push(i),--i;return t.reverse().join(" ")}const HF=({props:e})=>{const t=I.useContext(ti),i=I.useContext(Gn);let r=!1;if(e.content!==void 0){const o=Xn({valueToEvaluate:e.content,globalDataContext:t,templateContext:i});switch(e.format){case"roman-upper":r=QM(o);break;case"roman-lower":r=QM(o,!0);break;case"latin-upper":r=TC(o);break;case"latin-lower":r=TC(o,!0);break}}return ie.jsx(xa,{...e,children:ie.jsx(ie.Fragment,{children:r!==!1&&r})})};function TC(e,t=!1){if(e<1)return!1;let i=e%26,r=e/26|0,o=i?String.fromCharCode(64+i):(--r,"Z");const c=r?TC(r)+o:o;return t?c.toLowerCase():c}function QM(e,t=!1){if(e<1)return!1;const r=[["M",1e3],["CM",900],["D",500],["CD",400],["C",100],["XC",90],["L",50],["XL",40],["X",10],["IX",9],["V",5],["IV",4],["I",1]].reduce((o,[c,f])=>(o+=c.repeat(Math.floor(e/f)),e=e%f,o),"");return t?r.toLowerCase():r}const jF=({currentData:e,datafield:t,path:i,props:r})=>{const o=I.useContext(ti),c=I.useContext(Gn),f=r.dynamicOptions??void 0;let p;f?p=Xn({valueToEvaluate:f,globalDataContext:o,templateContext:c})??[]:p=r.options??[];let m;const b=r.defaultFieldValue??void 0,S=r.dataLocation??void 0;S?m=Xn({globalDataContext:o,templateContext:c,valueToEvaluate:S})??b:((c.templateData[t]??void 0)===void 0&&(c.templateData=typeof c.templateData=="object"?c.templateData:{},c.templateData[t]=b),m=c.templateData[t]);let E=p.find(_=>_.value===m);if(!E||!E.label){if(!m)return null;E=m}return ie.jsx(xa,{...r,children:ie.jsx(ki,{currentData:e,datafield:t,path:i,props:E.label})})},FF=({currentData:e,path:t,props:i})=>{const r=I.useContext(ti),o=I.useContext(Gn),[c,f]=I.useState(!0),p=lo(i.attributes),{showBoolPath:m}=i,b=typeof m!="string";p.show=b?c:Xn({valueToEvaluate:(i==null?void 0:i.showBoolPath)??!1,globalDataContext:r,templateContext:o});const S=()=>{if(b){f(!1);return}const _=yu({dataLocation:m,currentPath:o.templatePath,globalDataContext:r,templateContext:o});r.updateData(void 0,_)},E=p.className?p.className.split(" "):[];return E.push("reactive-json"),p.className=E.join(" "),ie.jsx(xa,{...i,children:ie.jsxs(nS,{...p,onHide:S,children:[(i.headerTitle||i.closeButton)&&ie.jsx(nS.Header,{closeButton:i.closeButton,children:ie.jsx(nS.Title,{children:ie.jsx(ki,{currentData:(e==null?void 0:e.headerTitle)??void 0,datafield:"headerTitle",path:(t??"")+".headerTitle",props:i==null?void 0:i.headerTitle})})}),i.body&&ie.jsx(nS.Body,{children:ie.jsx(ki,{currentData:(e==null?void 0:e.body)??void 0,datafield:"body",path:(t??"")+".body",props:i==null?void 0:i.body})})]})})},IF=({props:e,currentData:t})=>ie.jsx(ie.Fragment,{children:t});var C1={},ov={},oE={},Xm={},$m={},CC={},ZM;function WM(){return ZM||(ZM=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Doctype=e.CDATA=e.Tag=e.Style=e.Script=e.Comment=e.Directive=e.Text=e.Root=e.isTag=e.ElementType=void 0;var t;(function(r){r.Root="root",r.Text="text",r.Directive="directive",r.Comment="comment",r.Script="script",r.Style="style",r.Tag="tag",r.CDATA="cdata",r.Doctype="doctype"})(t=e.ElementType||(e.ElementType={}));function i(r){return r.type===t.Tag||r.type===t.Script||r.type===t.Style}e.isTag=i,e.Root=t.Root,e.Text=t.Text,e.Directive=t.Directive,e.Comment=t.Comment,e.Script=t.Script,e.Style=t.Style,e.Tag=t.Tag,e.CDATA=t.CDATA,e.Doctype=t.Doctype}(CC)),CC}var pn={},KM;function JM(){if(KM)return pn;KM=1;var e=pn&&pn.__extends||function(){var R=function(H,j){return R=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(K,W){K.__proto__=W}||function(K,W){for(var ge in W)Object.prototype.hasOwnProperty.call(W,ge)&&(K[ge]=W[ge])},R(H,j)};return function(H,j){if(typeof j!="function"&&j!==null)throw new TypeError("Class extends value "+String(j)+" is not a constructor or null");R(H,j);function K(){this.constructor=H}H.prototype=j===null?Object.create(j):(K.prototype=j.prototype,new K)}}(),t=pn&&pn.__assign||function(){return t=Object.assign||function(R){for(var H,j=1,K=arguments.length;j<K;j++){H=arguments[j];for(var W in H)Object.prototype.hasOwnProperty.call(H,W)&&(R[W]=H[W])}return R},t.apply(this,arguments)};Object.defineProperty(pn,"__esModule",{value:!0}),pn.cloneNode=pn.hasChildren=pn.isDocument=pn.isDirective=pn.isComment=pn.isText=pn.isCDATA=pn.isTag=pn.Element=pn.Document=pn.CDATA=pn.NodeWithChildren=pn.ProcessingInstruction=pn.Comment=pn.Text=pn.DataNode=pn.Node=void 0;var i=WM(),r=function(){function R(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(R.prototype,"parentNode",{get:function(){return this.parent},set:function(H){this.parent=H},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"previousSibling",{get:function(){return this.prev},set:function(H){this.prev=H},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"nextSibling",{get:function(){return this.next},set:function(H){this.next=H},enumerable:!1,configurable:!0}),R.prototype.cloneNode=function(H){return H===void 0&&(H=!1),P(this,H)},R}();pn.Node=r;var o=function(R){e(H,R);function H(j){var K=R.call(this)||this;return K.data=j,K}return Object.defineProperty(H.prototype,"nodeValue",{get:function(){return this.data},set:function(j){this.data=j},enumerable:!1,configurable:!0}),H}(r);pn.DataNode=o;var c=function(R){e(H,R);function H(){var j=R!==null&&R.apply(this,arguments)||this;return j.type=i.ElementType.Text,j}return Object.defineProperty(H.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),H}(o);pn.Text=c;var f=function(R){e(H,R);function H(){var j=R!==null&&R.apply(this,arguments)||this;return j.type=i.ElementType.Comment,j}return Object.defineProperty(H.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),H}(o);pn.Comment=f;var p=function(R){e(H,R);function H(j,K){var W=R.call(this,K)||this;return W.name=j,W.type=i.ElementType.Directive,W}return Object.defineProperty(H.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),H}(o);pn.ProcessingInstruction=p;var m=function(R){e(H,R);function H(j){var K=R.call(this)||this;return K.children=j,K}return Object.defineProperty(H.prototype,"firstChild",{get:function(){var j;return(j=this.children[0])!==null&&j!==void 0?j:null},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"childNodes",{get:function(){return this.children},set:function(j){this.children=j},enumerable:!1,configurable:!0}),H}(r);pn.NodeWithChildren=m;var b=function(R){e(H,R);function H(){var j=R!==null&&R.apply(this,arguments)||this;return j.type=i.ElementType.CDATA,j}return Object.defineProperty(H.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),H}(m);pn.CDATA=b;var S=function(R){e(H,R);function H(){var j=R!==null&&R.apply(this,arguments)||this;return j.type=i.ElementType.Root,j}return Object.defineProperty(H.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),H}(m);pn.Document=S;var E=function(R){e(H,R);function H(j,K,W,ge){W===void 0&&(W=[]),ge===void 0&&(ge=j==="script"?i.ElementType.Script:j==="style"?i.ElementType.Style:i.ElementType.Tag);var ce=R.call(this,W)||this;return ce.name=j,ce.attribs=K,ce.type=ge,ce}return Object.defineProperty(H.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"tagName",{get:function(){return this.name},set:function(j){this.name=j},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"attributes",{get:function(){var j=this;return Object.keys(this.attribs).map(function(K){var W,ge;return{name:K,value:j.attribs[K],namespace:(W=j["x-attribsNamespace"])===null||W===void 0?void 0:W[K],prefix:(ge=j["x-attribsPrefix"])===null||ge===void 0?void 0:ge[K]}})},enumerable:!1,configurable:!0}),H}(m);pn.Element=E;function _(R){return(0,i.isTag)(R)}pn.isTag=_;function O(R){return R.type===i.ElementType.CDATA}pn.isCDATA=O;function M(R){return R.type===i.ElementType.Text}pn.isText=M;function N(R){return R.type===i.ElementType.Comment}pn.isComment=N;function w(R){return R.type===i.ElementType.Directive}pn.isDirective=w;function U(R){return R.type===i.ElementType.Root}pn.isDocument=U;function q(R){return Object.prototype.hasOwnProperty.call(R,"children")}pn.hasChildren=q;function P(R,H){H===void 0&&(H=!1);var j;if(M(R))j=new c(R.data);else if(N(R))j=new f(R.data);else if(_(R)){var K=H?z(R.children):[],W=new E(R.name,t({},R.attribs),K);K.forEach(function(Oe){return Oe.parent=W}),R.namespace!=null&&(W.namespace=R.namespace),R["x-attribsNamespace"]&&(W["x-attribsNamespace"]=t({},R["x-attribsNamespace"])),R["x-attribsPrefix"]&&(W["x-attribsPrefix"]=t({},R["x-attribsPrefix"])),j=W}else if(O(R)){var K=H?z(R.children):[],ge=new b(K);K.forEach(function(Ae){return Ae.parent=ge}),j=ge}else if(U(R)){var K=H?z(R.children):[],ce=new S(K);K.forEach(function(Ae){return Ae.parent=ce}),R["x-mode"]&&(ce["x-mode"]=R["x-mode"]),j=ce}else if(w(R)){var be=new p(R.name,R.data);R["x-name"]!=null&&(be["x-name"]=R["x-name"],be["x-publicId"]=R["x-publicId"],be["x-systemId"]=R["x-systemId"]),j=be}else throw new Error("Not implemented yet: ".concat(R.type));return j.startIndex=R.startIndex,j.endIndex=R.endIndex,R.sourceCodeLocation!=null&&(j.sourceCodeLocation=R.sourceCodeLocation),j}pn.cloneNode=P;function z(R){for(var H=R.map(function(K){return P(K,!0)}),j=1;j<H.length;j++)H[j].prev=H[j-1],H[j-1].next=H[j];return H}return pn}var e3;function t3(){return e3||(e3=1,function(e){var t=$m&&$m.__createBinding||(Object.create?function(p,m,b,S){S===void 0&&(S=b);var E=Object.getOwnPropertyDescriptor(m,b);(!E||("get"in E?!m.__esModule:E.writable||E.configurable))&&(E={enumerable:!0,get:function(){return m[b]}}),Object.defineProperty(p,S,E)}:function(p,m,b,S){S===void 0&&(S=b),p[S]=m[b]}),i=$m&&$m.__exportStar||function(p,m){for(var b in p)b!=="default"&&!Object.prototype.hasOwnProperty.call(m,b)&&t(m,p,b)};Object.defineProperty(e,"__esModule",{value:!0}),e.DomHandler=void 0;var r=WM(),o=JM();i(JM(),e);var c={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},f=function(){function p(m,b,S){this.dom=[],this.root=new o.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof b=="function"&&(S=b,b=c),typeof m=="object"&&(b=m,m=void 0),this.callback=m??null,this.options=b??c,this.elementCB=S??null}return p.prototype.onparserinit=function(m){this.parser=m},p.prototype.onreset=function(){this.dom=[],this.root=new o.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},p.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},p.prototype.onerror=function(m){this.handleCallback(m)},p.prototype.onclosetag=function(){this.lastNode=null;var m=this.tagStack.pop();this.options.withEndIndices&&(m.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(m)},p.prototype.onopentag=function(m,b){var S=this.options.xmlMode?r.ElementType.Tag:void 0,E=new o.Element(m,b,void 0,S);this.addNode(E),this.tagStack.push(E)},p.prototype.ontext=function(m){var b=this.lastNode;if(b&&b.type===r.ElementType.Text)b.data+=m,this.options.withEndIndices&&(b.endIndex=this.parser.endIndex);else{var S=new o.Text(m);this.addNode(S),this.lastNode=S}},p.prototype.oncomment=function(m){if(this.lastNode&&this.lastNode.type===r.ElementType.Comment){this.lastNode.data+=m;return}var b=new o.Comment(m);this.addNode(b),this.lastNode=b},p.prototype.oncommentend=function(){this.lastNode=null},p.prototype.oncdatastart=function(){var m=new o.Text(""),b=new o.CDATA([m]);this.addNode(b),m.parent=b,this.lastNode=m},p.prototype.oncdataend=function(){this.lastNode=null},p.prototype.onprocessinginstruction=function(m,b){var S=new o.ProcessingInstruction(m,b);this.addNode(S)},p.prototype.handleCallback=function(m){if(typeof this.callback=="function")this.callback(m,this.dom);else if(m)throw m},p.prototype.addNode=function(m){var b=this.tagStack[this.tagStack.length-1],S=b.children[b.children.length-1];this.options.withStartIndices&&(m.startIndex=this.parser.startIndex),this.options.withEndIndices&&(m.endIndex=this.parser.endIndex),b.children.push(m),S&&(m.prev=S,S.next=m),m.parent=b,this.lastNode=null},p}();e.DomHandler=f,e.default=f}($m)),$m}var _C={},n3;function PF(){return n3||(n3=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CARRIAGE_RETURN_PLACEHOLDER_REGEX=e.CARRIAGE_RETURN_PLACEHOLDER=e.CARRIAGE_RETURN_REGEX=e.CARRIAGE_RETURN=e.CASE_SENSITIVE_TAG_NAMES_MAP=e.CASE_SENSITIVE_TAG_NAMES=void 0,e.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],e.CASE_SENSITIVE_TAG_NAMES_MAP=e.CASE_SENSITIVE_TAG_NAMES.reduce(function(t,i){return t[i.toLowerCase()]=i,t},{}),e.CARRIAGE_RETURN="\r",e.CARRIAGE_RETURN_REGEX=new RegExp(e.CARRIAGE_RETURN,"g"),e.CARRIAGE_RETURN_PLACEHOLDER="__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now(),"__"),e.CARRIAGE_RETURN_PLACEHOLDER_REGEX=new RegExp(e.CARRIAGE_RETURN_PLACEHOLDER,"g")}(_C)),_C}var i3;function a3(){if(i3)return Xm;i3=1,Object.defineProperty(Xm,"__esModule",{value:!0}),Xm.formatAttributes=r,Xm.escapeSpecialCharacters=c,Xm.revertEscapedCharacters=f,Xm.formatDOM=p;var e=t3(),t=PF();function i(m){return t.CASE_SENSITIVE_TAG_NAMES_MAP[m]}function r(m){for(var b={},S=0,E=m.length;S<E;S++){var _=m[S];b[_.name]=_.value}return b}function o(m){m=m.toLowerCase();var b=i(m);return b||m}function c(m){return m.replace(t.CARRIAGE_RETURN_REGEX,t.CARRIAGE_RETURN_PLACEHOLDER)}function f(m){return m.replace(t.CARRIAGE_RETURN_PLACEHOLDER_REGEX,t.CARRIAGE_RETURN)}function p(m,b,S){b===void 0&&(b=null);for(var E=[],_,O=0,M=m.length;O<M;O++){var N=m[O];switch(N.nodeType){case 1:{var w=o(N.nodeName);_=new e.Element(w,r(N.attributes)),_.children=p(w==="template"?N.content.childNodes:N.childNodes,_);break}case 3:_=new e.Text(f(N.nodeValue));break;case 8:_=new e.Comment(N.nodeValue);break;default:continue}var U=E[O-1]||null;U&&(U.next=_),_.parent=b,_.prev=U,_.next=null,E.push(_)}return S&&(_=new e.ProcessingInstruction(S.substring(0,S.indexOf(" ")).toLowerCase(),S),_.next=E[0]||null,_.parent=b,E.unshift(_),E[1]&&(E[1].prev=E[0])),E}return Xm}var r3;function qF(){if(r3)return oE;r3=1,Object.defineProperty(oE,"__esModule",{value:!0}),oE.default=N;var e=a3(),t="html",i="head",r="body",o=/<([a-zA-Z]+[0-9]?)/,c=/<head[^]*>/i,f=/<body[^]*>/i,p=function(w,U){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},m=function(w,U){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},b=typeof window=="object"&&window.DOMParser;if(typeof b=="function"){var S=new b,E="text/html";m=function(w,U){return U&&(w="<".concat(U,">").concat(w,"</").concat(U,">")),S.parseFromString(w,E)},p=m}if(typeof document=="object"&&document.implementation){var _=document.implementation.createHTMLDocument();p=function(w,U){if(U){var q=_.documentElement.querySelector(U);return q&&(q.innerHTML=w),_}return _.documentElement.innerHTML=w,_}}var O=typeof document=="object"&&document.createElement("template"),M;O&&O.content&&(M=function(w){return O.innerHTML=w,O.content.childNodes});function N(w){var U,q;w=(0,e.escapeSpecialCharacters)(w);var P=w.match(o),z=P&&P[1]?P[1].toLowerCase():"";switch(z){case t:{var R=m(w);if(!c.test(w)){var H=R.querySelector(i);(U=H==null?void 0:H.parentNode)===null||U===void 0||U.removeChild(H)}if(!f.test(w)){var H=R.querySelector(r);(q=H==null?void 0:H.parentNode)===null||q===void 0||q.removeChild(H)}return R.querySelectorAll(t)}case i:case r:{var j=p(w).querySelectorAll(z);return f.test(w)&&c.test(w)?j[0].parentNode.childNodes:j}default:{if(M)return M(w);var H=p(w,r).querySelector(r);return H.childNodes}}}return oE}var l3;function VF(){if(l3)return ov;l3=1;var e=ov&&ov.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(ov,"__esModule",{value:!0}),ov.default=o;var t=e(qF()),i=a3(),r=/<(![a-zA-Z\s]+)>/;function o(c){if(typeof c!="string")throw new TypeError("First argument must be a string");if(!c)return[];var f=c.match(r),p=f?f[1]:void 0;return(0,i.formatDOM)((0,t.default)(c),null,p)}return ov}var sE={},Tu={},_1={},o3;function YF(){if(o3)return _1;o3=1;var e=0;_1.SAME=e;var t=1;return _1.CAMELCASE=t,_1.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1},_1}var s3;function GF(){if(s3)return Tu;s3=1;const e=0,t=1,i=2,r=3,o=4,c=5,f=6;function p(R){return b.hasOwnProperty(R)?b[R]:null}function m(R,H,j,K,W,ge,ce){this.acceptsBooleans=H===i||H===r||H===o,this.attributeName=K,this.attributeNamespace=W,this.mustUseProperty=j,this.propertyName=R,this.type=H,this.sanitizeURL=ge,this.removeEmptyString=ce}const b={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(R=>{b[R]=new m(R,e,!1,R,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(([R,H])=>{b[R]=new m(R,t,!1,H,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(R=>{b[R]=new m(R,i,!1,R.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(R=>{b[R]=new m(R,i,!1,R,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"].forEach(R=>{b[R]=new m(R,r,!1,R.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(R=>{b[R]=new m(R,r,!0,R,null,!1,!1)}),["capture","download"].forEach(R=>{b[R]=new m(R,o,!1,R,null,!1,!1)}),["cols","rows","size","span"].forEach(R=>{b[R]=new m(R,f,!1,R,null,!1,!1)}),["rowSpan","start"].forEach(R=>{b[R]=new m(R,c,!1,R.toLowerCase(),null,!1,!1)});const E=/[\-\:]([a-z])/g,_=R=>R[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(R=>{const H=R.replace(E,_);b[H]=new m(H,t,!1,R,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(R=>{const H=R.replace(E,_);b[H]=new m(H,t,!1,R,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(R=>{const H=R.replace(E,_);b[H]=new m(H,t,!1,R,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(R=>{b[R]=new m(R,t,!1,R.toLowerCase(),null,!1,!1)});const O="xlinkHref";b[O]=new m("xlinkHref",t,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(R=>{b[R]=new m(R,t,!1,R.toLowerCase(),null,!0,!0)});const{CAMELCASE:M,SAME:N,possibleStandardNames:w}=YF(),q=":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",P=RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+q+"]*$")),z=Object.keys(w).reduce((R,H)=>{const j=w[H];return j===N?R[H]=H:j===M?R[H.toLowerCase()]=H:R[H]=j,R},{});return Tu.BOOLEAN=r,Tu.BOOLEANISH_STRING=i,Tu.NUMERIC=c,Tu.OVERLOADED_BOOLEAN=o,Tu.POSITIVE_NUMERIC=f,Tu.RESERVED=e,Tu.STRING=t,Tu.getPropertyInfo=p,Tu.isCustomAttribute=P,Tu.possibleStandardNames=z,Tu}var w1={},sv={},wC,u3;function XF(){if(u3)return wC;u3=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,i=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,c=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,f=/^[;\s]*/,p=/^\s+|\s+$/g,m=`
|
|
117
|
+
`,b="/",S="*",E="",_="comment",O="declaration";wC=function(N,w){if(typeof N!="string")throw new TypeError("First argument must be a string");if(!N)return[];w=w||{};var U=1,q=1;function P(Oe){var Ae=Oe.match(t);Ae&&(U+=Ae.length);var Fe=Oe.lastIndexOf(m);q=~Fe?Oe.length-Fe:q+Oe.length}function z(){var Oe={line:U,column:q};return function(Ae){return Ae.position=new R(Oe),K(),Ae}}function R(Oe){this.start=Oe,this.end={line:U,column:q},this.source=w.source}R.prototype.content=N;function H(Oe){var Ae=new Error(w.source+":"+U+":"+q+": "+Oe);if(Ae.reason=Oe,Ae.filename=w.source,Ae.line=U,Ae.column=q,Ae.source=N,!w.silent)throw Ae}function j(Oe){var Ae=Oe.exec(N);if(Ae){var Fe=Ae[0];return P(Fe),N=N.slice(Fe.length),Ae}}function K(){j(i)}function W(Oe){var Ae;for(Oe=Oe||[];Ae=ge();)Ae!==!1&&Oe.push(Ae);return Oe}function ge(){var Oe=z();if(!(b!=N.charAt(0)||S!=N.charAt(1))){for(var Ae=2;E!=N.charAt(Ae)&&(S!=N.charAt(Ae)||b!=N.charAt(Ae+1));)++Ae;if(Ae+=2,E===N.charAt(Ae-1))return H("End of comment missing");var Fe=N.slice(2,Ae-2);return q+=2,P(Fe),N=N.slice(Ae),q+=2,Oe({type:_,comment:Fe})}}function ce(){var Oe=z(),Ae=j(r);if(Ae){if(ge(),!j(o))return H("property missing ':'");var Fe=j(c),ee=Oe({type:O,property:M(Ae[0].replace(e,E)),value:Fe?M(Fe[0].replace(e,E)):E});return j(f),ee}}function be(){var Oe=[];W(Oe);for(var Ae;Ae=ce();)Ae!==!1&&(Oe.push(Ae),W(Oe));return Oe}return K(),be()};function M(N){return N?N.replace(p,E):E}return wC}var c3;function $F(){if(c3)return sv;c3=1;var e=sv&&sv.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(sv,"__esModule",{value:!0}),sv.default=i;var t=e(XF());function i(r,o){var c=null;if(!r||typeof r!="string")return c;var f=(0,t.default)(r),p=typeof o=="function";return f.forEach(function(m){if(m.type==="declaration"){var b=m.property,S=m.value;p?o(b,S,m):S&&(c=c||{},c[b]=S)}}),c}return sv}var D1={},f3;function QF(){if(f3)return D1;f3=1,Object.defineProperty(D1,"__esModule",{value:!0}),D1.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,i=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,o=/^-(ms)-/,c=function(b){return!b||i.test(b)||e.test(b)},f=function(b,S){return S.toUpperCase()},p=function(b,S){return"".concat(S,"-")},m=function(b,S){return S===void 0&&(S={}),c(b)?b:(b=b.toLowerCase(),S.reactCompat?b=b.replace(o,p):b=b.replace(r,p),b.replace(t,f))};return D1.camelCase=m,D1}var O1,d3;function ZF(){if(d3)return O1;d3=1;var e=O1&&O1.__importDefault||function(o){return o&&o.__esModule?o:{default:o}},t=e($F()),i=QF();function r(o,c){var f={};return!o||typeof o!="string"||(0,t.default)(o,function(p,m){p&&m&&(f[(0,i.camelCase)(p,c)]=m)}),f}return r.default=r,O1=r,O1}var h3;function p3(){return h3||(h3=1,function(e){var t=w1&&w1.__importDefault||function(S){return S&&S.__esModule?S:{default:S}};Object.defineProperty(e,"__esModule",{value:!0}),e.returnFirstArg=e.canTextBeChildOfNode=e.ELEMENTS_WITH_NO_TEXT_CHILDREN=e.PRESERVE_CUSTOM_ATTRIBUTES=void 0,e.isCustomComponent=c,e.setStyleProp=p;var i=I,r=t(ZF()),o=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);function c(S,E){return S.includes("-")?!o.has(S):!!(E&&typeof E.is=="string")}var f={reactCompat:!0};function p(S,E){if(typeof S=="string"){if(!S.trim()){E.style={};return}try{E.style=(0,r.default)(S,f)}catch{E.style={}}}}e.PRESERVE_CUSTOM_ATTRIBUTES=Number(i.version.split(".")[0])>=16,e.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);var m=function(S){return!e.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(S.name)};e.canTextBeChildOfNode=m;var b=function(S){return S};e.returnFirstArg=b}(w1)),w1}var g3;function m3(){if(g3)return sE;g3=1,Object.defineProperty(sE,"__esModule",{value:!0}),sE.default=c;var e=GF(),t=p3(),i=["checked","value"],r=["input","select","textarea"],o={reset:!0,submit:!0};function c(p,m){p===void 0&&(p={});var b={},S=!!(p.type&&o[p.type]);for(var E in p){var _=p[E];if((0,e.isCustomAttribute)(E)){b[E]=_;continue}var O=E.toLowerCase(),M=f(O);if(M){var N=(0,e.getPropertyInfo)(M);switch(i.includes(M)&&r.includes(m)&&!S&&(M=f("default"+O)),b[M]=_,N&&N.type){case e.BOOLEAN:b[M]=!0;break;case e.OVERLOADED_BOOLEAN:_===""&&(b[M]=!0);break}continue}t.PRESERVE_CUSTOM_ATTRIBUTES&&(b[E]=_)}return(0,t.setStyleProp)(p.style,b),b}function f(p){return e.possibleStandardNames[p]}return sE}var uv={},y3;function WF(){if(y3)return uv;y3=1;var e=uv&&uv.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(uv,"__esModule",{value:!0}),uv.default=c;var t=I,i=e(m3()),r=p3(),o={cloneElement:t.cloneElement,createElement:t.createElement,isValidElement:t.isValidElement};function c(p,m){m===void 0&&(m={});for(var b=[],S=typeof m.replace=="function",E=m.transform||r.returnFirstArg,_=m.library||o,O=_.cloneElement,M=_.createElement,N=_.isValidElement,w=p.length,U=0;U<w;U++){var q=p[U];if(S){var P=m.replace(q,U);if(N(P)){w>1&&(P=O(P,{key:P.key||U})),b.push(E(P,q,U));continue}}if(q.type==="text"){var z=!q.data.trim().length;if(z&&q.parent&&!(0,r.canTextBeChildOfNode)(q.parent)||m.trim&&z)continue;b.push(E(q.data,q,U));continue}var R=q,H={};f(R)?((0,r.setStyleProp)(R.attribs.style,R.attribs),H=R.attribs):R.attribs&&(H=(0,i.default)(R.attribs,R.name));var j=void 0;switch(q.type){case"script":case"style":q.children[0]&&(H.dangerouslySetInnerHTML={__html:q.children[0].data});break;case"tag":q.name==="textarea"&&q.children[0]?H.defaultValue=q.children[0].data:q.children&&q.children.length&&(j=c(q.children,m));break;default:continue}w>1&&(H.key=U),b.push(E(M(q.name,H,j),q,U))}return b.length===1?b[0]:b}function f(p){return r.PRESERVE_CUSTOM_ATTRIBUTES&&p.type==="tag"&&(0,r.isCustomComponent)(p.name,p.attribs)}return uv}var v3;function KF(){return v3||(v3=1,function(e){var t=C1&&C1.__importDefault||function(m){return m&&m.__esModule?m:{default:m}};Object.defineProperty(e,"__esModule",{value:!0}),e.htmlToDOM=e.domToReact=e.attributesToProps=e.Text=e.ProcessingInstruction=e.Element=e.Comment=void 0,e.default=p;var i=t(VF());e.htmlToDOM=i.default;var r=t(m3());e.attributesToProps=r.default;var o=t(WF());e.domToReact=o.default;var c=t3();Object.defineProperty(e,"Comment",{enumerable:!0,get:function(){return c.Comment}}),Object.defineProperty(e,"Element",{enumerable:!0,get:function(){return c.Element}}),Object.defineProperty(e,"ProcessingInstruction",{enumerable:!0,get:function(){return c.ProcessingInstruction}}),Object.defineProperty(e,"Text",{enumerable:!0,get:function(){return c.Text}});var f={lowerCaseAttributeNames:!1};function p(m,b){if(typeof m!="string")throw new TypeError("First argument must be a string");return m?(0,o.default)((0,i.default)(m,(b==null?void 0:b.htmlparser2)||f),b):[]}}(C1)),C1}var JF=KF();const b3=Sb(JF),eI=b3.default||b3,tI=["abbr","acronym","b","blockquote","br","caption","code","div","em","h1","h2","h3","h4","h5","h6","i","li","ol","p","span","sup","strong","table","tbody","td","tfoot","th","thead","tr","ul"],nI=({props:e})=>{const t=I.useContext(Gn),i=I.useContext(ti),r=Xn({valueToEvaluate:e.content,templateContext:t,globalDataContext:i}),c=[...Array.isArray(e.htmlTagAllowList)?e.htmlTagAllowList:tI,...e.additionalAllowedTags??[]];return ie.jsx(xa,{...e,children:eI(r,{replace(f){if(f.type==="tag"&&c.indexOf(f.name)<0)return ie.jsx(ie.Fragment,{})}})})},iI=({props:e})=>{var i,r;const t=I.useContext(Gn);return ie.jsx(xa,{...e,children:(r=(i=t.sortableTreeData)._treeAddCollapseButton)==null?void 0:r.call(i)})},aI=({currentData:e,path:t,props:i})=>{const r=I.useContext(ti),o=I.useContext(Gn),c=lo(i.attributes);return ie.jsx(xa,{...i,children:ie.jsx(FD,{...c,children:Array.isArray(i.tabs)&&i.tabs.map((f,p)=>{var b;const m=Om({attrs:f.attributes,globalDataContext:r,templateContext:o,options:{normalizeBeforeEvaluation:!0}});return I.createElement(Wz,{...m,key:p},ie.jsx(ki,{currentData:((b=e==null?void 0:e[p])==null?void 0:b.content)??void 0,datafield:"content",path:(t??"")+"."+p+".content",props:f==null?void 0:f.content}))})})})};function rI({props:e,currentData:t,path:i,bsComponent:r}){var f;const o=lo(e.attributes);if((f=e.attributes)!=null&&f["data-visually-hidden"])debugger;if(!r)return null;const c=r;return ie.jsx(xa,{...e,children:ie.jsx(c,{...o,children:e.content&&ie.jsx(ki,{currentData:t.content??void 0,datafield:"content",path:i+".content",props:e.content})})})}const DC=(e,...t)=>t.length?DC(e=e.replace(DC.token||"$token",t.shift()),...t):e,lI=({templateContexts:e},t,...i)=>{const r=i.map(o=>Xn({globalDataContext:e.globalDataContext,templateContext:e.templateContext,valueToEvaluate:o}));return DC(t,...r)},oI=(e,t)=>{if(typeof t=="string")return t;if(Array.isArray(t)){const[i,...r]=t;return lI(e,i,...r)}return""},sI=({props:e})=>{const t=I.useContext(ti),i=I.useContext(Gn),{context:r="global",jsonPathPattern:o}=e,c=r==="template"?Gn:ti,f=I.useContext(c);if(!o)return null;const p=oI({templateContexts:{globalDataContext:t,templateContext:i}},o),m=r==="root"?f.getRootContext().templateData:f.templateData;return PD.query(m,p).length},uI=e=>{var p,m;const t=I.useContext(ti),i=I.useContext(Gn),r={globalDataContext:t,templateContext:i},{contextToFilter:o="global",filters:c=[]}=e.props,f=b=>{if(!b)return!0;for(const S of c){const E=(S==null?void 0:S.subjectsWithProperty)??void 0;if(!E||!b.hasOwnProperty(E))continue;if(!Qy(S,r,new Map([["whenFilterableData",({condition:O})=>{const N=O.whenFilterableData.split(".");let w=b;for(const U of N){const q=parseInt(U);if(w=w[isNaN(q)?U:q],w===void 0)return}return w}]])))return!1}return!0};switch(o){case"template":return i.templateData=uE(i.templateData,f),i.templatePath=e.path,ie.jsx(Gn.Provider,{value:i,children:ie.jsx(ki,{props:e.props.content,path:e.path+".content",datafield:"content",currentData:((p=e.currentData)==null?void 0:p.content)??void 0})});case"global":default:return t.templateData=uE(t.templateData,f),ie.jsx(ti.Provider,{value:t,children:ie.jsx(ki,{props:e.props.content,path:e.path+".content",datafield:"content",currentData:((m=e.currentData)==null?void 0:m.content)??void 0})})}},uE=(e,t)=>{if(Array.isArray(e)){const i={};return e.forEach((r,o)=>{t(r)&&(i[o]=uE(r,t))}),i}else if(typeof e=="object"&&e!==null){const i={};for(const r in e)if(e.hasOwnProperty(r)){if(!t(e[r]))continue;i[r]=uE(e[r],t)}return i}else return e},cI=({props:e,currentData:t,path:i})=>{const r=I.useContext(ti),o=I.useContext(Gn),c=Array.isArray(e.delayedActions)?e.delayedActions:[],f={globalDataContext:r,templateContext:o};return I.useEffect(()=>{if(!e.interval)return;const p=setInterval(()=>{const m=fI(c,f);for(let b=0;b<m.length;++b){const S=m[b];if(!S)continue;const E=S.what&&(Uy[S.what]??null);E&&E({args:S,globalDataContext:r,templateContext:o})}e.once&&clearInterval(p)},e.interval);return()=>clearInterval(p)},[r,o]),ie.jsx(xa,{...e,children:e.content&&ie.jsx(ki,{props:e.content,currentData:(t==null?void 0:t.content)??void 0,datafield:"content",path:i+".content"})})},fI=(e,t)=>{const i=[];if(!Array.isArray(e))return i;for(const[,r]of e.entries()){const o=(r==null?void 0:r.what)??void 0;!o||!(Uy[o]??void 0)||Qy(r,t)&&i.push(r)}return i},x3=I.createContext({pagination:{}}),dI=()=>{const{pagination:e}=I.useContext(x3);return e.PageControls?ie.jsx(e.PageControls,{}):null},hI=({props:e,currentData:t,path:i})=>ie.jsx(xa,{...e,children:e.content&&ie.jsx(ki,{props:e.content,currentData:(t==null?void 0:t.content)??void 0,datafield:"content",path:i+".content"})}),pI=({dataToPaginate:e=[],forcePaginationDisplay:t=!1,maxPageButtonsCount:i=5,pageMaxItemCount:r=10})=>{const[o,c]=I.useState(0),f=Math.floor(i/2),p=o*r,m=p+r,b=_=>Math.ceil(_.length/r);return{firstShownItemIndex:p,getPageCountForContent:b,maxShownItemIndexExcluded:m,PageControls:()=>{const _=b(e);return!t&&_<=1?null:ie.jsxs(_p,{children:[ie.jsx(_p.First,{disabled:o<=0,onClick:()=>{c(0)}}),ie.jsx(_p.Prev,{disabled:o<=0,onClick:()=>{c(o-1)}}),Math.min(o-f,_-i)>0?ie.jsx(_p.Ellipsis,{disabled:!0}):null,(()=>{const O=[];let M=Math.min(Math.max(0,_-i),Math.max(0,o-f)),N=i;const w=(U,q)=>{O.push(ie.jsx(_p.Item,{active:o===U,onClick:()=>{c(U)},children:U+1},i-q))};for(;N&&(w(M,N),++M,--N,!(M>=_)););return O})(),_>Math.max(f,o)+Math.ceil(i/2)?ie.jsx(_p.Ellipsis,{disabled:!0}):null,ie.jsx(_p.Next,{disabled:o+1>=_,onClick:()=>{c(o+1)}}),ie.jsx(_p.Last,{disabled:o+1>=_,onClick:()=>{c(_-1)}})]})},pageMaxItemCount:r,sliceVisibleContent:_=>Array.isArray(_)?_.slice(p,m):_}},gI=({props:e,currentData:t,path:i})=>{const r=I.useContext(ti),o=I.useContext(Gn),c=(e==null?void 0:e.cardinality)??-1,f=(e==null?void 0:e.options)??[],p=(e==null?void 0:e.singleOption)??void 0,m=!!p,b=(e==null?void 0:e.content)??null,S=b&&Xn({globalDataContext:r,templateContext:o,valueToEvaluate:b}),_=Object.entries(typeof S=="object"?S:t).map(([w,U])=>{const q=w;if(c>=1&&q>=c||!U||typeof U!="object")return null;let P,z,R;if(m)z=U,R=p;else{if(P=Object.keys(U)[0]??void 0,P===void 0)return null;z=Object.values(U)[0]??void 0,R=f[P]??void 0}if(R===void 0)return null;let H=(aA(b)&&yu({dataLocation:b,currentPath:o.templatePath,globalDataContext:r,templateContext:o})||i)+"."+q;return m||(H+="."+P),ie.jsx(ki,{currentData:z,datafield:q,path:H,props:R},q)}),O=pI({dataToPaginate:_,...(e==null?void 0:e.paginationProps)??{}}),M=e!=null&&e.paginated?_.slice(O.firstShownItemIndex,O.maxShownItemIndexExcluded):_,N=ie.jsxs(ie.Fragment,{children:[(e==null?void 0:e.before)&&ie.jsx(ki,{currentData:(t==null?void 0:t.before)??void 0,path:i+".before",datafield:"before",props:e==null?void 0:e.before}),M,(e==null?void 0:e.after)&&ie.jsx(ki,{currentData:(t==null?void 0:t.after)??void 0,path:i+".after",datafield:"after",props:e==null?void 0:e.after})]});return ie.jsx(xa,{...e,children:e!=null&&e.paginated?ie.jsx(x3.Provider,{value:{pagination:O},children:N}):N})};Gm.register(jS,FS,Bp,LS,kR,HS,zS,bU);const mI={AccordionItem:bH,BarChart:oH,CheckBoxField:cH,Count:sI,DateField:pH,DataFilter:uI,DelayedActions:cI,DoughnutChart:sH,FolderSortableTree:zF,FormatNumeral:HF,Html:iA,LabelFromValue:jF,LineChart:({props:e})=>{const t=I.useContext(ti),i=I.useContext(Gn),r=lo(e.attributes),o=e.options||{},c=Xn({valueToEvaluate:e.data,globalDataContext:t,templateContext:i});return ie.jsx(xa,{...e,children:c&&ie.jsx(iH,{...r,data:c,options:o})})},Modal:FF,NumberField:gH,PageControls:dI,Paragraph:IF,Phantom:hI,PolarAreaChart:uH,PreformattedMarkup:nI,SelectField:mH,SortableTreeItemCollapseButton:iI,Switch:gI,Tabs:aI,TextAreaField:yH,TextField:vH},yI={BsAccordion:Ix,BsAlert:h6,BsBadge:Sw,BsButton:Ew};function ki({props:e,currentData:t,datafield:i,path:r}){const o=I.useContext(ti),c=I.useContext(Gn),{element:f}=o;if(t===void 0&&(t=""),e!=null&&e.type){let p,m;const b=[{registryId:"module",components:mI},{registryId:"bootstrap",components:yI}];for(;b.length;){const{registryId:S,components:E}=b.shift();if(m=E[e.type]??void 0,m!==void 0){p=S;break}}return m===void 0&&(m=iA,p="module"),p==="bootstrap"?ie.jsx(rI,{bsComponent:m,path:r,props:e,currentData:t,datafield:i}):(iA===m&&(e.tag=e.tag??e.type),ie.jsx(m,{path:r,props:e,currentData:t,datafield:i}))}if(e!=null&&e.load){let p;const m=(e==null?void 0:e.customDataLocation)??void 0;if(m)debugger;const b=m?Xn({globalDataContext:o,templateContext:c,valueToEvaluate:m}):t,S=m?yu({dataLocation:m,currentPath:r,globalDataContext:o,templateContext:c}):r;typeof e.load=="function"?p=e.load(b):p=f[e.load];const{load:E,customDataLocation:_,...O}=e;return p={...p,...O},e.keepTemplateContext?ie.jsx(ki,{currentData:b,datafield:i,path:S,props:p}):ie.jsx(Gn.Provider,{value:{templateData:b,templatePath:S},children:ie.jsx(ki,{currentData:b,datafield:i,path:S,props:p})})}return Array.isArray(e)?e.map((p,m)=>ie.jsx(ki,{currentData:t[m]??void 0,datafield:m,path:r+"."+m,props:p??void 0},r+"."+m)):typeof e=="object"?Object.entries(e).map(([p,m])=>ie.jsx(ki,{currentData:t[p]??void 0,datafield:p??void 0,path:r+"."+p,props:m},r+"."+p)):ie.jsx(qB,{valueToEvaluate:t||(e??null)})}/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function S3(e){return typeof e>"u"||e===null}function vI(e){return typeof e=="object"&&e!==null}function bI(e){return Array.isArray(e)?e:S3(e)?[]:[e]}function xI(e,t){var i,r,o,c;if(t)for(c=Object.keys(t),i=0,r=c.length;i<r;i+=1)o=c[i],e[o]=t[o];return e}function SI(e,t){var i="",r;for(r=0;r<t;r+=1)i+=e;return i}function EI(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}var AI=S3,TI=vI,CI=bI,_I=SI,wI=EI,DI=xI,so={isNothing:AI,isObject:TI,toArray:CI,repeat:_I,isNegativeZero:wI,extend:DI};function E3(e,t){var i="",r=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(i+='in "'+e.mark.name+'" '),i+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!t&&e.mark.snippet&&(i+=`
|
|
118
|
+
|
|
119
|
+
`+e.mark.snippet),r+" "+i):r}function R1(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=E3(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}R1.prototype=Object.create(Error.prototype),R1.prototype.constructor=R1,R1.prototype.toString=function(t){return this.name+": "+E3(this,t)};var th=R1;function OC(e,t,i,r,o){var c="",f="",p=Math.floor(o/2)-1;return r-t>p&&(c=" ... ",t=r-p+c.length),i-r>p&&(f=" ...",i=r+p-f.length),{str:c+e.slice(t,i).replace(/\t/g,"→")+f,pos:r-t+c.length}}function RC(e,t){return so.repeat(" ",t-e.length)+e}function OI(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),typeof t.indent!="number"&&(t.indent=1),typeof t.linesBefore!="number"&&(t.linesBefore=3),typeof t.linesAfter!="number"&&(t.linesAfter=2);for(var i=/\r?\n|\r|\0/g,r=[0],o=[],c,f=-1;c=i.exec(e.buffer);)o.push(c.index),r.push(c.index+c[0].length),e.position<=c.index&&f<0&&(f=r.length-2);f<0&&(f=r.length-1);var p="",m,b,S=Math.min(e.line+t.linesAfter,o.length).toString().length,E=t.maxLength-(t.indent+S+3);for(m=1;m<=t.linesBefore&&!(f-m<0);m++)b=OC(e.buffer,r[f-m],o[f-m],e.position-(r[f]-r[f-m]),E),p=so.repeat(" ",t.indent)+RC((e.line-m+1).toString(),S)+" | "+b.str+`
|
|
120
|
+
`+p;for(b=OC(e.buffer,r[f],o[f],e.position,E),p+=so.repeat(" ",t.indent)+RC((e.line+1).toString(),S)+" | "+b.str+`
|
|
121
|
+
`,p+=so.repeat("-",t.indent+S+3+b.pos)+`^
|
|
122
|
+
`,m=1;m<=t.linesAfter&&!(f+m>=o.length);m++)b=OC(e.buffer,r[f+m],o[f+m],e.position-(r[f]-r[f+m]),E),p+=so.repeat(" ",t.indent)+RC((e.line+m+1).toString(),S)+" | "+b.str+`
|
|
123
|
+
`;return p.replace(/\n$/,"")}var RI=OI,MI=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],NI=["scalar","sequence","mapping"];function BI(e){var t={};return e!==null&&Object.keys(e).forEach(function(i){e[i].forEach(function(r){t[String(r)]=i})}),t}function LI(e,t){if(t=t||{},Object.keys(t).forEach(function(i){if(MI.indexOf(i)===-1)throw new th('Unknown option "'+i+'" is met in definition of "'+e+'" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(i){return i},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=BI(t.styleAliases||null),NI.indexOf(this.kind)===-1)throw new th('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var Bl=LI;function A3(e,t){var i=[];return e[t].forEach(function(r){var o=i.length;i.forEach(function(c,f){c.tag===r.tag&&c.kind===r.kind&&c.multi===r.multi&&(o=f)}),i[o]=r}),i}function kI(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,i;function r(o){o.multi?(e.multi[o.kind].push(o),e.multi.fallback.push(o)):e[o.kind][o.tag]=e.fallback[o.tag]=o}for(t=0,i=arguments.length;t<i;t+=1)arguments[t].forEach(r);return e}function MC(e){return this.extend(e)}MC.prototype.extend=function(t){var i=[],r=[];if(t instanceof Bl)r.push(t);else if(Array.isArray(t))r=r.concat(t);else if(t&&(Array.isArray(t.implicit)||Array.isArray(t.explicit)))t.implicit&&(i=i.concat(t.implicit)),t.explicit&&(r=r.concat(t.explicit));else throw new th("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");i.forEach(function(c){if(!(c instanceof Bl))throw new th("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(c.loadKind&&c.loadKind!=="scalar")throw new th("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(c.multi)throw new th("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),r.forEach(function(c){if(!(c instanceof Bl))throw new th("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var o=Object.create(MC.prototype);return o.implicit=(this.implicit||[]).concat(i),o.explicit=(this.explicit||[]).concat(r),o.compiledImplicit=A3(o,"implicit"),o.compiledExplicit=A3(o,"explicit"),o.compiledTypeMap=kI(o.compiledImplicit,o.compiledExplicit),o};var zI=MC,UI=new Bl("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return e!==null?e:""}}),HI=new Bl("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return e!==null?e:[]}}),jI=new Bl("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return e!==null?e:{}}}),FI=new zI({explicit:[UI,HI,jI]});function II(e){if(e===null)return!0;var t=e.length;return t===1&&e==="~"||t===4&&(e==="null"||e==="Null"||e==="NULL")}function PI(){return null}function qI(e){return e===null}var VI=new Bl("tag:yaml.org,2002:null",{kind:"scalar",resolve:II,construct:PI,predicate:qI,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function YI(e){if(e===null)return!1;var t=e.length;return t===4&&(e==="true"||e==="True"||e==="TRUE")||t===5&&(e==="false"||e==="False"||e==="FALSE")}function GI(e){return e==="true"||e==="True"||e==="TRUE"}function XI(e){return Object.prototype.toString.call(e)==="[object Boolean]"}var $I=new Bl("tag:yaml.org,2002:bool",{kind:"scalar",resolve:YI,construct:GI,predicate:XI,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"});function QI(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function ZI(e){return 48<=e&&e<=55}function WI(e){return 48<=e&&e<=57}function KI(e){if(e===null)return!1;var t=e.length,i=0,r=!1,o;if(!t)return!1;if(o=e[i],(o==="-"||o==="+")&&(o=e[++i]),o==="0"){if(i+1===t)return!0;if(o=e[++i],o==="b"){for(i++;i<t;i++)if(o=e[i],o!=="_"){if(o!=="0"&&o!=="1")return!1;r=!0}return r&&o!=="_"}if(o==="x"){for(i++;i<t;i++)if(o=e[i],o!=="_"){if(!QI(e.charCodeAt(i)))return!1;r=!0}return r&&o!=="_"}if(o==="o"){for(i++;i<t;i++)if(o=e[i],o!=="_"){if(!ZI(e.charCodeAt(i)))return!1;r=!0}return r&&o!=="_"}}if(o==="_")return!1;for(;i<t;i++)if(o=e[i],o!=="_"){if(!WI(e.charCodeAt(i)))return!1;r=!0}return!(!r||o==="_")}function JI(e){var t=e,i=1,r;if(t.indexOf("_")!==-1&&(t=t.replace(/_/g,"")),r=t[0],(r==="-"||r==="+")&&(r==="-"&&(i=-1),t=t.slice(1),r=t[0]),t==="0")return 0;if(r==="0"){if(t[1]==="b")return i*parseInt(t.slice(2),2);if(t[1]==="x")return i*parseInt(t.slice(2),16);if(t[1]==="o")return i*parseInt(t.slice(2),8)}return i*parseInt(t,10)}function eP(e){return Object.prototype.toString.call(e)==="[object Number]"&&e%1===0&&!so.isNegativeZero(e)}var tP=new Bl("tag:yaml.org,2002:int",{kind:"scalar",resolve:KI,construct:JI,predicate:eP,represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),nP=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function iP(e){return!(e===null||!nP.test(e)||e[e.length-1]==="_")}function aP(e){var t,i;return t=e.replace(/_/g,"").toLowerCase(),i=t[0]==="-"?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),t===".inf"?i===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:t===".nan"?NaN:i*parseFloat(t,10)}var rP=/^[-+]?[0-9]+e/;function lP(e,t){var i;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(so.isNegativeZero(e))return"-0.0";return i=e.toString(10),rP.test(i)?i.replace("e",".e"):i}function oP(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||so.isNegativeZero(e))}var sP=new Bl("tag:yaml.org,2002:float",{kind:"scalar",resolve:iP,construct:aP,predicate:oP,represent:lP,defaultStyle:"lowercase"}),uP=FI.extend({implicit:[VI,$I,tP,sP]}),cP=uP,T3=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),C3=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function fP(e){return e===null?!1:T3.exec(e)!==null||C3.exec(e)!==null}function dP(e){var t,i,r,o,c,f,p,m=0,b=null,S,E,_;if(t=T3.exec(e),t===null&&(t=C3.exec(e)),t===null)throw new Error("Date resolve error");if(i=+t[1],r=+t[2]-1,o=+t[3],!t[4])return new Date(Date.UTC(i,r,o));if(c=+t[4],f=+t[5],p=+t[6],t[7]){for(m=t[7].slice(0,3);m.length<3;)m+="0";m=+m}return t[9]&&(S=+t[10],E=+(t[11]||0),b=(S*60+E)*6e4,t[9]==="-"&&(b=-b)),_=new Date(Date.UTC(i,r,o,c,f,p,m)),b&&_.setTime(_.getTime()-b),_}function hP(e){return e.toISOString()}var pP=new Bl("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:fP,construct:dP,instanceOf:Date,represent:hP});function gP(e){return e==="<<"||e===null}var mP=new Bl("tag:yaml.org,2002:merge",{kind:"scalar",resolve:gP}),NC=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
124
|
+
\r`;function yP(e){if(e===null)return!1;var t,i,r=0,o=e.length,c=NC;for(i=0;i<o;i++)if(t=c.indexOf(e.charAt(i)),!(t>64)){if(t<0)return!1;r+=6}return r%8===0}function vP(e){var t,i,r=e.replace(/[\r\n=]/g,""),o=r.length,c=NC,f=0,p=[];for(t=0;t<o;t++)t%4===0&&t&&(p.push(f>>16&255),p.push(f>>8&255),p.push(f&255)),f=f<<6|c.indexOf(r.charAt(t));return i=o%4*6,i===0?(p.push(f>>16&255),p.push(f>>8&255),p.push(f&255)):i===18?(p.push(f>>10&255),p.push(f>>2&255)):i===12&&p.push(f>>4&255),new Uint8Array(p)}function bP(e){var t="",i=0,r,o,c=e.length,f=NC;for(r=0;r<c;r++)r%3===0&&r&&(t+=f[i>>18&63],t+=f[i>>12&63],t+=f[i>>6&63],t+=f[i&63]),i=(i<<8)+e[r];return o=c%3,o===0?(t+=f[i>>18&63],t+=f[i>>12&63],t+=f[i>>6&63],t+=f[i&63]):o===2?(t+=f[i>>10&63],t+=f[i>>4&63],t+=f[i<<2&63],t+=f[64]):o===1&&(t+=f[i>>2&63],t+=f[i<<4&63],t+=f[64],t+=f[64]),t}function xP(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var SP=new Bl("tag:yaml.org,2002:binary",{kind:"scalar",resolve:yP,construct:vP,predicate:xP,represent:bP}),EP=Object.prototype.hasOwnProperty,AP=Object.prototype.toString;function TP(e){if(e===null)return!0;var t=[],i,r,o,c,f,p=e;for(i=0,r=p.length;i<r;i+=1){if(o=p[i],f=!1,AP.call(o)!=="[object Object]")return!1;for(c in o)if(EP.call(o,c))if(!f)f=!0;else return!1;if(!f)return!1;if(t.indexOf(c)===-1)t.push(c);else return!1}return!0}function CP(e){return e!==null?e:[]}var _P=new Bl("tag:yaml.org,2002:omap",{kind:"sequence",resolve:TP,construct:CP}),wP=Object.prototype.toString;function DP(e){if(e===null)return!0;var t,i,r,o,c,f=e;for(c=new Array(f.length),t=0,i=f.length;t<i;t+=1){if(r=f[t],wP.call(r)!=="[object Object]"||(o=Object.keys(r),o.length!==1))return!1;c[t]=[o[0],r[o[0]]]}return!0}function OP(e){if(e===null)return[];var t,i,r,o,c,f=e;for(c=new Array(f.length),t=0,i=f.length;t<i;t+=1)r=f[t],o=Object.keys(r),c[t]=[o[0],r[o[0]]];return c}var RP=new Bl("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:DP,construct:OP}),MP=Object.prototype.hasOwnProperty;function NP(e){if(e===null)return!0;var t,i=e;for(t in i)if(MP.call(i,t)&&i[t]!==null)return!1;return!0}function BP(e){return e!==null?e:{}}var LP=new Bl("tag:yaml.org,2002:set",{kind:"mapping",resolve:NP,construct:BP}),kP=cP.extend({implicit:[pP,mP],explicit:[SP,_P,RP,LP]}),zp=Object.prototype.hasOwnProperty,cE=1,_3=2,w3=3,fE=4,BC=1,zP=2,D3=3,UP=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,HP=/[\x85\u2028\u2029]/,jP=/[,\[\]\{\}]/,O3=/^(?:!|!!|![a-z\-]+!)$/i,R3=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function M3(e){return Object.prototype.toString.call(e)}function _f(e){return e===10||e===13}function Qm(e){return e===9||e===32}function Io(e){return e===9||e===32||e===10||e===13}function cv(e){return e===44||e===91||e===93||e===123||e===125}function FP(e){var t;return 48<=e&&e<=57?e-48:(t=e|32,97<=t&&t<=102?t-97+10:-1)}function IP(e){return e===120?2:e===117?4:e===85?8:0}function PP(e){return 48<=e&&e<=57?e-48:-1}function N3(e){return e===48?"\0":e===97?"\x07":e===98?"\b":e===116||e===9?" ":e===110?`
|
|
125
|
+
`:e===118?"\v":e===102?"\f":e===114?"\r":e===101?"\x1B":e===32?" ":e===34?'"':e===47?"/":e===92?"\\":e===78?"
":e===95?" ":e===76?"\u2028":e===80?"\u2029":""}function qP(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}for(var B3=new Array(256),L3=new Array(256),fv=0;fv<256;fv++)B3[fv]=N3(fv)?1:0,L3[fv]=N3(fv);function VP(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||kP,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function k3(e,t){var i={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return i.snippet=RI(i),new th(t,i)}function Ot(e,t){throw k3(e,t)}function dE(e,t){e.onWarning&&e.onWarning.call(null,k3(e,t))}var z3={YAML:function(t,i,r){var o,c,f;t.version!==null&&Ot(t,"duplication of %YAML directive"),r.length!==1&&Ot(t,"YAML directive accepts exactly one argument"),o=/^([0-9]+)\.([0-9]+)$/.exec(r[0]),o===null&&Ot(t,"ill-formed argument of the YAML directive"),c=parseInt(o[1],10),f=parseInt(o[2],10),c!==1&&Ot(t,"unacceptable YAML version of the document"),t.version=r[0],t.checkLineBreaks=f<2,f!==1&&f!==2&&dE(t,"unsupported YAML version of the document")},TAG:function(t,i,r){var o,c;r.length!==2&&Ot(t,"TAG directive accepts exactly two arguments"),o=r[0],c=r[1],O3.test(o)||Ot(t,"ill-formed tag handle (first argument) of the TAG directive"),zp.call(t.tagMap,o)&&Ot(t,'there is a previously declared suffix for "'+o+'" tag handle'),R3.test(c)||Ot(t,"ill-formed tag prefix (second argument) of the TAG directive");try{c=decodeURIComponent(c)}catch{Ot(t,"tag prefix is malformed: "+c)}t.tagMap[o]=c}};function Up(e,t,i,r){var o,c,f,p;if(t<i){if(p=e.input.slice(t,i),r)for(o=0,c=p.length;o<c;o+=1)f=p.charCodeAt(o),f===9||32<=f&&f<=1114111||Ot(e,"expected valid JSON character");else UP.test(p)&&Ot(e,"the stream contains non-printable characters");e.result+=p}}function U3(e,t,i,r){var o,c,f,p;for(so.isObject(i)||Ot(e,"cannot merge mappings; the provided source object is unacceptable"),o=Object.keys(i),f=0,p=o.length;f<p;f+=1)c=o[f],zp.call(t,c)||(t[c]=i[c],r[c]=!0)}function dv(e,t,i,r,o,c,f,p,m){var b,S;if(Array.isArray(o))for(o=Array.prototype.slice.call(o),b=0,S=o.length;b<S;b+=1)Array.isArray(o[b])&&Ot(e,"nested arrays are not supported inside keys"),typeof o=="object"&&M3(o[b])==="[object Object]"&&(o[b]="[object Object]");if(typeof o=="object"&&M3(o)==="[object Object]"&&(o="[object Object]"),o=String(o),t===null&&(t={}),r==="tag:yaml.org,2002:merge")if(Array.isArray(c))for(b=0,S=c.length;b<S;b+=1)U3(e,t,c[b],i);else U3(e,t,c,i);else!e.json&&!zp.call(i,o)&&zp.call(t,o)&&(e.line=f||e.line,e.lineStart=p||e.lineStart,e.position=m||e.position,Ot(e,"duplicated mapping key")),o==="__proto__"?Object.defineProperty(t,o,{configurable:!0,enumerable:!0,writable:!0,value:c}):t[o]=c,delete i[o];return t}function LC(e){var t;t=e.input.charCodeAt(e.position),t===10?e.position++:t===13?(e.position++,e.input.charCodeAt(e.position)===10&&e.position++):Ot(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function $a(e,t,i){for(var r=0,o=e.input.charCodeAt(e.position);o!==0;){for(;Qm(o);)o===9&&e.firstTabInLine===-1&&(e.firstTabInLine=e.position),o=e.input.charCodeAt(++e.position);if(t&&o===35)do o=e.input.charCodeAt(++e.position);while(o!==10&&o!==13&&o!==0);if(_f(o))for(LC(e),o=e.input.charCodeAt(e.position),r++,e.lineIndent=0;o===32;)e.lineIndent++,o=e.input.charCodeAt(++e.position);else break}return i!==-1&&r!==0&&e.lineIndent<i&&dE(e,"deficient indentation"),r}function hE(e){var t=e.position,i;return i=e.input.charCodeAt(t),!!((i===45||i===46)&&i===e.input.charCodeAt(t+1)&&i===e.input.charCodeAt(t+2)&&(t+=3,i=e.input.charCodeAt(t),i===0||Io(i)))}function kC(e,t){t===1?e.result+=" ":t>1&&(e.result+=so.repeat(`
|
|
126
|
+
`,t-1))}function YP(e,t,i){var r,o,c,f,p,m,b,S,E=e.kind,_=e.result,O;if(O=e.input.charCodeAt(e.position),Io(O)||cv(O)||O===35||O===38||O===42||O===33||O===124||O===62||O===39||O===34||O===37||O===64||O===96||(O===63||O===45)&&(o=e.input.charCodeAt(e.position+1),Io(o)||i&&cv(o)))return!1;for(e.kind="scalar",e.result="",c=f=e.position,p=!1;O!==0;){if(O===58){if(o=e.input.charCodeAt(e.position+1),Io(o)||i&&cv(o))break}else if(O===35){if(r=e.input.charCodeAt(e.position-1),Io(r))break}else{if(e.position===e.lineStart&&hE(e)||i&&cv(O))break;if(_f(O))if(m=e.line,b=e.lineStart,S=e.lineIndent,$a(e,!1,-1),e.lineIndent>=t){p=!0,O=e.input.charCodeAt(e.position);continue}else{e.position=f,e.line=m,e.lineStart=b,e.lineIndent=S;break}}p&&(Up(e,c,f,!1),kC(e,e.line-m),c=f=e.position,p=!1),Qm(O)||(f=e.position+1),O=e.input.charCodeAt(++e.position)}return Up(e,c,f,!1),e.result?!0:(e.kind=E,e.result=_,!1)}function GP(e,t){var i,r,o;if(i=e.input.charCodeAt(e.position),i!==39)return!1;for(e.kind="scalar",e.result="",e.position++,r=o=e.position;(i=e.input.charCodeAt(e.position))!==0;)if(i===39)if(Up(e,r,e.position,!0),i=e.input.charCodeAt(++e.position),i===39)r=e.position,e.position++,o=e.position;else return!0;else _f(i)?(Up(e,r,o,!0),kC(e,$a(e,!1,t)),r=o=e.position):e.position===e.lineStart&&hE(e)?Ot(e,"unexpected end of the document within a single quoted scalar"):(e.position++,o=e.position);Ot(e,"unexpected end of the stream within a single quoted scalar")}function XP(e,t){var i,r,o,c,f,p;if(p=e.input.charCodeAt(e.position),p!==34)return!1;for(e.kind="scalar",e.result="",e.position++,i=r=e.position;(p=e.input.charCodeAt(e.position))!==0;){if(p===34)return Up(e,i,e.position,!0),e.position++,!0;if(p===92){if(Up(e,i,e.position,!0),p=e.input.charCodeAt(++e.position),_f(p))$a(e,!1,t);else if(p<256&&B3[p])e.result+=L3[p],e.position++;else if((f=IP(p))>0){for(o=f,c=0;o>0;o--)p=e.input.charCodeAt(++e.position),(f=FP(p))>=0?c=(c<<4)+f:Ot(e,"expected hexadecimal character");e.result+=qP(c),e.position++}else Ot(e,"unknown escape sequence");i=r=e.position}else _f(p)?(Up(e,i,r,!0),kC(e,$a(e,!1,t)),i=r=e.position):e.position===e.lineStart&&hE(e)?Ot(e,"unexpected end of the document within a double quoted scalar"):(e.position++,r=e.position)}Ot(e,"unexpected end of the stream within a double quoted scalar")}function $P(e,t){var i=!0,r,o,c,f=e.tag,p,m=e.anchor,b,S,E,_,O,M=Object.create(null),N,w,U,q;if(q=e.input.charCodeAt(e.position),q===91)S=93,O=!1,p=[];else if(q===123)S=125,O=!0,p={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=p),q=e.input.charCodeAt(++e.position);q!==0;){if($a(e,!0,t),q=e.input.charCodeAt(e.position),q===S)return e.position++,e.tag=f,e.anchor=m,e.kind=O?"mapping":"sequence",e.result=p,!0;i?q===44&&Ot(e,"expected the node content, but found ','"):Ot(e,"missed comma between flow collection entries"),w=N=U=null,E=_=!1,q===63&&(b=e.input.charCodeAt(e.position+1),Io(b)&&(E=_=!0,e.position++,$a(e,!0,t))),r=e.line,o=e.lineStart,c=e.position,hv(e,t,cE,!1,!0),w=e.tag,N=e.result,$a(e,!0,t),q=e.input.charCodeAt(e.position),(_||e.line===r)&&q===58&&(E=!0,q=e.input.charCodeAt(++e.position),$a(e,!0,t),hv(e,t,cE,!1,!0),U=e.result),O?dv(e,p,M,w,N,U,r,o,c):E?p.push(dv(e,null,M,w,N,U,r,o,c)):p.push(N),$a(e,!0,t),q=e.input.charCodeAt(e.position),q===44?(i=!0,q=e.input.charCodeAt(++e.position)):i=!1}Ot(e,"unexpected end of the stream within a flow collection")}function QP(e,t){var i,r,o=BC,c=!1,f=!1,p=t,m=0,b=!1,S,E;if(E=e.input.charCodeAt(e.position),E===124)r=!1;else if(E===62)r=!0;else return!1;for(e.kind="scalar",e.result="";E!==0;)if(E=e.input.charCodeAt(++e.position),E===43||E===45)BC===o?o=E===43?D3:zP:Ot(e,"repeat of a chomping mode identifier");else if((S=PP(E))>=0)S===0?Ot(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):f?Ot(e,"repeat of an indentation width identifier"):(p=t+S-1,f=!0);else break;if(Qm(E)){do E=e.input.charCodeAt(++e.position);while(Qm(E));if(E===35)do E=e.input.charCodeAt(++e.position);while(!_f(E)&&E!==0)}for(;E!==0;){for(LC(e),e.lineIndent=0,E=e.input.charCodeAt(e.position);(!f||e.lineIndent<p)&&E===32;)e.lineIndent++,E=e.input.charCodeAt(++e.position);if(!f&&e.lineIndent>p&&(p=e.lineIndent),_f(E)){m++;continue}if(e.lineIndent<p){o===D3?e.result+=so.repeat(`
|
|
127
|
+
`,c?1+m:m):o===BC&&c&&(e.result+=`
|
|
128
|
+
`);break}for(r?Qm(E)?(b=!0,e.result+=so.repeat(`
|
|
129
|
+
`,c?1+m:m)):b?(b=!1,e.result+=so.repeat(`
|
|
130
|
+
`,m+1)):m===0?c&&(e.result+=" "):e.result+=so.repeat(`
|
|
131
|
+
`,m):e.result+=so.repeat(`
|
|
132
|
+
`,c?1+m:m),c=!0,f=!0,m=0,i=e.position;!_f(E)&&E!==0;)E=e.input.charCodeAt(++e.position);Up(e,i,e.position,!1)}return!0}function H3(e,t){var i,r=e.tag,o=e.anchor,c=[],f,p=!1,m;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=c),m=e.input.charCodeAt(e.position);m!==0&&(e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,Ot(e,"tab characters must not be used in indentation")),!(m!==45||(f=e.input.charCodeAt(e.position+1),!Io(f))));){if(p=!0,e.position++,$a(e,!0,-1)&&e.lineIndent<=t){c.push(null),m=e.input.charCodeAt(e.position);continue}if(i=e.line,hv(e,t,w3,!1,!0),c.push(e.result),$a(e,!0,-1),m=e.input.charCodeAt(e.position),(e.line===i||e.lineIndent>t)&&m!==0)Ot(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break}return p?(e.tag=r,e.anchor=o,e.kind="sequence",e.result=c,!0):!1}function ZP(e,t,i){var r,o,c,f,p,m,b=e.tag,S=e.anchor,E={},_=Object.create(null),O=null,M=null,N=null,w=!1,U=!1,q;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=E),q=e.input.charCodeAt(e.position);q!==0;){if(!w&&e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,Ot(e,"tab characters must not be used in indentation")),r=e.input.charCodeAt(e.position+1),c=e.line,(q===63||q===58)&&Io(r))q===63?(w&&(dv(e,E,_,O,M,null,f,p,m),O=M=N=null),U=!0,w=!0,o=!0):w?(w=!1,o=!0):Ot(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,q=r;else{if(f=e.line,p=e.lineStart,m=e.position,!hv(e,i,_3,!1,!0))break;if(e.line===c){for(q=e.input.charCodeAt(e.position);Qm(q);)q=e.input.charCodeAt(++e.position);if(q===58)q=e.input.charCodeAt(++e.position),Io(q)||Ot(e,"a whitespace character is expected after the key-value separator within a block mapping"),w&&(dv(e,E,_,O,M,null,f,p,m),O=M=N=null),U=!0,w=!1,o=!1,O=e.tag,M=e.result;else if(U)Ot(e,"can not read an implicit mapping pair; a colon is missed");else return e.tag=b,e.anchor=S,!0}else if(U)Ot(e,"can not read a block mapping entry; a multiline key may not be an implicit key");else return e.tag=b,e.anchor=S,!0}if((e.line===c||e.lineIndent>t)&&(w&&(f=e.line,p=e.lineStart,m=e.position),hv(e,t,fE,!0,o)&&(w?M=e.result:N=e.result),w||(dv(e,E,_,O,M,N,f,p,m),O=M=N=null),$a(e,!0,-1),q=e.input.charCodeAt(e.position)),(e.line===c||e.lineIndent>t)&&q!==0)Ot(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return w&&dv(e,E,_,O,M,null,f,p,m),U&&(e.tag=b,e.anchor=S,e.kind="mapping",e.result=E),U}function WP(e){var t,i=!1,r=!1,o,c,f;if(f=e.input.charCodeAt(e.position),f!==33)return!1;if(e.tag!==null&&Ot(e,"duplication of a tag property"),f=e.input.charCodeAt(++e.position),f===60?(i=!0,f=e.input.charCodeAt(++e.position)):f===33?(r=!0,o="!!",f=e.input.charCodeAt(++e.position)):o="!",t=e.position,i){do f=e.input.charCodeAt(++e.position);while(f!==0&&f!==62);e.position<e.length?(c=e.input.slice(t,e.position),f=e.input.charCodeAt(++e.position)):Ot(e,"unexpected end of the stream within a verbatim tag")}else{for(;f!==0&&!Io(f);)f===33&&(r?Ot(e,"tag suffix cannot contain exclamation marks"):(o=e.input.slice(t-1,e.position+1),O3.test(o)||Ot(e,"named tag handle cannot contain such characters"),r=!0,t=e.position+1)),f=e.input.charCodeAt(++e.position);c=e.input.slice(t,e.position),jP.test(c)&&Ot(e,"tag suffix cannot contain flow indicator characters")}c&&!R3.test(c)&&Ot(e,"tag name cannot contain such characters: "+c);try{c=decodeURIComponent(c)}catch{Ot(e,"tag name is malformed: "+c)}return i?e.tag=c:zp.call(e.tagMap,o)?e.tag=e.tagMap[o]+c:o==="!"?e.tag="!"+c:o==="!!"?e.tag="tag:yaml.org,2002:"+c:Ot(e,'undeclared tag handle "'+o+'"'),!0}function KP(e){var t,i;if(i=e.input.charCodeAt(e.position),i!==38)return!1;for(e.anchor!==null&&Ot(e,"duplication of an anchor property"),i=e.input.charCodeAt(++e.position),t=e.position;i!==0&&!Io(i)&&!cv(i);)i=e.input.charCodeAt(++e.position);return e.position===t&&Ot(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}function JP(e){var t,i,r;if(r=e.input.charCodeAt(e.position),r!==42)return!1;for(r=e.input.charCodeAt(++e.position),t=e.position;r!==0&&!Io(r)&&!cv(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&Ot(e,"name of an alias node must contain at least one character"),i=e.input.slice(t,e.position),zp.call(e.anchorMap,i)||Ot(e,'unidentified alias "'+i+'"'),e.result=e.anchorMap[i],$a(e,!0,-1),!0}function hv(e,t,i,r,o){var c,f,p,m=1,b=!1,S=!1,E,_,O,M,N,w;if(e.listener!==null&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,c=f=p=fE===i||w3===i,r&&$a(e,!0,-1)&&(b=!0,e.lineIndent>t?m=1:e.lineIndent===t?m=0:e.lineIndent<t&&(m=-1)),m===1)for(;WP(e)||KP(e);)$a(e,!0,-1)?(b=!0,p=c,e.lineIndent>t?m=1:e.lineIndent===t?m=0:e.lineIndent<t&&(m=-1)):p=!1;if(p&&(p=b||o),(m===1||fE===i)&&(cE===i||_3===i?N=t:N=t+1,w=e.position-e.lineStart,m===1?p&&(H3(e,w)||ZP(e,w,N))||$P(e,N)?S=!0:(f&&QP(e,N)||GP(e,N)||XP(e,N)?S=!0:JP(e)?(S=!0,(e.tag!==null||e.anchor!==null)&&Ot(e,"alias node should not have any properties")):YP(e,N,cE===i)&&(S=!0,e.tag===null&&(e.tag="?")),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):m===0&&(S=p&&H3(e,w))),e.tag===null)e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);else if(e.tag==="?"){for(e.result!==null&&e.kind!=="scalar"&&Ot(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),E=0,_=e.implicitTypes.length;E<_;E+=1)if(M=e.implicitTypes[E],M.resolve(e.result)){e.result=M.construct(e.result),e.tag=M.tag,e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);break}}else if(e.tag!=="!"){if(zp.call(e.typeMap[e.kind||"fallback"],e.tag))M=e.typeMap[e.kind||"fallback"][e.tag];else for(M=null,O=e.typeMap.multi[e.kind||"fallback"],E=0,_=O.length;E<_;E+=1)if(e.tag.slice(0,O[E].tag.length)===O[E].tag){M=O[E];break}M||Ot(e,"unknown tag !<"+e.tag+">"),e.result!==null&&M.kind!==e.kind&&Ot(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+M.kind+'", not "'+e.kind+'"'),M.resolve(e.result,e.tag)?(e.result=M.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):Ot(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||S}function eq(e){var t=e.position,i,r,o,c=!1,f;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(f=e.input.charCodeAt(e.position))!==0&&($a(e,!0,-1),f=e.input.charCodeAt(e.position),!(e.lineIndent>0||f!==37));){for(c=!0,f=e.input.charCodeAt(++e.position),i=e.position;f!==0&&!Io(f);)f=e.input.charCodeAt(++e.position);for(r=e.input.slice(i,e.position),o=[],r.length<1&&Ot(e,"directive name must not be less than one character in length");f!==0;){for(;Qm(f);)f=e.input.charCodeAt(++e.position);if(f===35){do f=e.input.charCodeAt(++e.position);while(f!==0&&!_f(f));break}if(_f(f))break;for(i=e.position;f!==0&&!Io(f);)f=e.input.charCodeAt(++e.position);o.push(e.input.slice(i,e.position))}f!==0&&LC(e),zp.call(z3,r)?z3[r](e,r,o):dE(e,'unknown document directive "'+r+'"')}if($a(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,$a(e,!0,-1)):c&&Ot(e,"directives end mark is expected"),hv(e,e.lineIndent-1,fE,!1,!0),$a(e,!0,-1),e.checkLineBreaks&&HP.test(e.input.slice(t,e.position))&&dE(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&hE(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,$a(e,!0,-1));return}if(e.position<e.length-1)Ot(e,"end of the stream or a document separator is expected");else return}function tq(e,t){e=String(e),t=t||{},e.length!==0&&(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13&&(e+=`
|
|
133
|
+
`),e.charCodeAt(0)===65279&&(e=e.slice(1)));var i=new VP(e,t),r=e.indexOf("\0");for(r!==-1&&(i.position=r,Ot(i,"null byte is not allowed in input")),i.input+="\0";i.input.charCodeAt(i.position)===32;)i.lineIndent+=1,i.position+=1;for(;i.position<i.length-1;)eq(i);return i.documents}function nq(e,t){var i=tq(e,t);if(i.length!==0){if(i.length===1)return i[0];throw new th("expected a single document in the stream, but found more")}}var iq=nq,aq={load:iq},rq=aq.load;function j3({dataFetchMethod:e,dataUrl:t,headersForData:i,debugMode:r,DebugModeContentWrapper:o,DebugModeDataWrapper:c,DebugModeRootWrapper:f}){const[p,m]=I.useReducer((W,ge)=>{switch(ge.type){case"setData":return{updateId:0,realCurrentData:ge.data};case"updateData":return z(W,ge.path,ge.value,ge.updateMode);default:return W}},{updateId:0,realCurrentData:{}}),[b,S]=I.useState(0),[E,_]=I.useState({}),[O,M]=I.useState({}),[N,w]=I.useState([]),[U,q]=I.useState();I.useEffect(()=>{t&&(typeof e=="string"&&e.toLowerCase()==="post"?ra.post(t,{headers:i}).then(W=>{q(W.data)}):ra.get(t,{headers:i}).then(W=>{q(W.data)}))},[t,i]),I.useEffect(()=>{if(!U)return;let W=U;if(typeof W!="object")try{W=JSON.parse(U)}catch{try{W=rq(U)}catch{console.log("Tried to load app data but the content could not be parsed as JSON nor YAML.");return}}_(W.templates??W.listForms),!W.templates&&W.listForms&&console.log("'listForms' needs to be renamed to 'templates'. The support for 'listForms' will be removed in the next releases of reactive-json."),m({type:"setData",data:W.data}),M(W.renderView),w(Object.keys(W.renderView))},[U]);const P=(W,ge,ce=void 0)=>{let be=ge.replace("data.","");m({type:"updateData",path:be,value:W,updateMode:ce})};function z(W,ge,ce,be=void 0){const Oe=ge.split(".");let Ae=W.realCurrentData;for(let Fe=0,ee=Oe.length;Fe<ee;Fe++){const le=Oe[Fe];if(Fe===ee-1){if(be==="remove"&&Array.isArray(Ae))Ae.splice(le,1);else if(be==="move")if(ce.increment){if(!Array.isArray(Ae))return W;const ve=Math.min(Ae.length,Math.max(0,parseInt(le)+parseInt(ce.increment)));if(ve===parseInt(le))return W;const Qe=Ae.splice(le,1);if(Qe.length<1)return W;Ae.splice(ve,0,Qe[0])}else return W;else if(ce===void 0)delete Ae[le];else{if(Sp.isEqual(ce,Ae[le]))return W;be==="add"?(Ae[le]===void 0&&(Ae[le]=[]),Ae[le].push(ce)):Ae[le]=ce}return{updateId:(W.updateId??0)%(Number.MAX_SAFE_INTEGER-1)+1,realCurrentData:W.realCurrentData}}if(Ae.hasOwnProperty(le)){(typeof Ae[le]!="object"||Ae[le]===null)&&(Ae[le]={}),Ae=Ae[le];continue}Ae[le]={},Ae=Ae[le]}throw new Error("Could not update data.")}if(!U)return null;const R=N.map(W=>ie.jsx(ki,{datafield:W,props:O[W],path:"data."+W,currentData:p.realCurrentData[W]},W));function H(W){var ge;if(!W)return!1;if(typeof W=="boolean")return W;if(typeof W!="string")return!0;switch((ge=W==null?void 0:W.toLowerCase())==null?void 0:ge.trim()){case"true":case"yes":case"1":return!0;case"false":case"no":case"0":case"null":case"undefined":return!1;default:return W.length>0}}const j=H(r),K=ie.jsx(IB,{children:ie.jsxs(PB,{value:{element:E,headersForData:i,setRawAppData:q,templateData:p.realCurrentData,templatePath:"data",updateData:P},children:[ie.jsx(Gn.Provider,{value:{templateData:p.realCurrentData,templatePath:"data"},children:j&&o?ie.jsx(o,{children:R}):R}),j?c&&ie.jsx(c,{children:JSON.stringify(p.realCurrentData,null," ")}):null]})});return j&&o?ie.jsx(f,{children:K}):K}var pE={exports:{}},M1={},gE={exports:{}},zC={};/**
|
|
134
|
+
* @license React
|
|
135
|
+
* scheduler.production.js
|
|
136
|
+
*
|
|
137
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
138
|
+
*
|
|
139
|
+
* This source code is licensed under the MIT license found in the
|
|
140
|
+
* LICENSE file in the root directory of this source tree.
|
|
141
|
+
*/var F3;function lq(){return F3||(F3=1,function(e){function t(ee,le){var ve=ee.length;ee.push(le);e:for(;0<ve;){var Qe=ve-1>>>1,ne=ee[Qe];if(0<o(ne,le))ee[Qe]=le,ee[ve]=ne,ve=Qe;else break e}}function i(ee){return ee.length===0?null:ee[0]}function r(ee){if(ee.length===0)return null;var le=ee[0],ve=ee.pop();if(ve!==le){ee[0]=ve;e:for(var Qe=0,ne=ee.length,Ee=ne>>>1;Qe<Ee;){var Re=2*(Qe+1)-1,ae=ee[Re],de=Re+1,we=ee[de];if(0>o(ae,ve))de<ne&&0>o(we,ae)?(ee[Qe]=we,ee[de]=ve,Qe=de):(ee[Qe]=ae,ee[Re]=ve,Qe=Re);else if(de<ne&&0>o(we,ve))ee[Qe]=we,ee[de]=ve,Qe=de;else break e}}return le}function o(ee,le){var ve=ee.sortIndex-le.sortIndex;return ve!==0?ve:ee.id-le.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var c=performance;e.unstable_now=function(){return c.now()}}else{var f=Date,p=f.now();e.unstable_now=function(){return f.now()-p}}var m=[],b=[],S=1,E=null,_=3,O=!1,M=!1,N=!1,w=!1,U=typeof setTimeout=="function"?setTimeout:null,q=typeof clearTimeout=="function"?clearTimeout:null,P=typeof setImmediate<"u"?setImmediate:null;function z(ee){for(var le=i(b);le!==null;){if(le.callback===null)r(b);else if(le.startTime<=ee)r(b),le.sortIndex=le.expirationTime,t(m,le);else break;le=i(b)}}function R(ee){if(N=!1,z(ee),!M)if(i(m)!==null)M=!0,H||(H=!0,be());else{var le=i(b);le!==null&&Fe(R,le.startTime-ee)}}var H=!1,j=-1,K=5,W=-1;function ge(){return w?!0:!(e.unstable_now()-W<K)}function ce(){if(w=!1,H){var ee=e.unstable_now();W=ee;var le=!0;try{e:{M=!1,N&&(N=!1,q(j),j=-1),O=!0;var ve=_;try{t:{for(z(ee),E=i(m);E!==null&&!(E.expirationTime>ee&&ge());){var Qe=E.callback;if(typeof Qe=="function"){E.callback=null,_=E.priorityLevel;var ne=Qe(E.expirationTime<=ee);if(ee=e.unstable_now(),typeof ne=="function"){E.callback=ne,z(ee),le=!0;break t}E===i(m)&&r(m),z(ee)}else r(m);E=i(m)}if(E!==null)le=!0;else{var Ee=i(b);Ee!==null&&Fe(R,Ee.startTime-ee),le=!1}}break e}finally{E=null,_=ve,O=!1}le=void 0}}finally{le?be():H=!1}}}var be;if(typeof P=="function")be=function(){P(ce)};else if(typeof MessageChannel<"u"){var Oe=new MessageChannel,Ae=Oe.port2;Oe.port1.onmessage=ce,be=function(){Ae.postMessage(null)}}else be=function(){U(ce,0)};function Fe(ee,le){j=U(function(){ee(e.unstable_now())},le)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(ee){ee.callback=null},e.unstable_forceFrameRate=function(ee){0>ee||125<ee?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):K=0<ee?Math.floor(1e3/ee):5},e.unstable_getCurrentPriorityLevel=function(){return _},e.unstable_next=function(ee){switch(_){case 1:case 2:case 3:var le=3;break;default:le=_}var ve=_;_=le;try{return ee()}finally{_=ve}},e.unstable_requestPaint=function(){w=!0},e.unstable_runWithPriority=function(ee,le){switch(ee){case 1:case 2:case 3:case 4:case 5:break;default:ee=3}var ve=_;_=ee;try{return le()}finally{_=ve}},e.unstable_scheduleCallback=function(ee,le,ve){var Qe=e.unstable_now();switch(typeof ve=="object"&&ve!==null?(ve=ve.delay,ve=typeof ve=="number"&&0<ve?Qe+ve:Qe):ve=Qe,ee){case 1:var ne=-1;break;case 2:ne=250;break;case 5:ne=1073741823;break;case 4:ne=1e4;break;default:ne=5e3}return ne=ve+ne,ee={id:S++,callback:le,priorityLevel:ee,startTime:ve,expirationTime:ne,sortIndex:-1},ve>Qe?(ee.sortIndex=ve,t(b,ee),i(m)===null&&ee===i(b)&&(N?(q(j),j=-1):N=!0,Fe(R,ve-Qe))):(ee.sortIndex=ne,t(m,ee),M||O||(M=!0,H||(H=!0,be()))),ee},e.unstable_shouldYield=ge,e.unstable_wrapCallback=function(ee){var le=_;return function(){var ve=_;_=le;try{return ee.apply(this,arguments)}finally{_=ve}}}}(zC)),zC}var UC={};/**
|
|
142
|
+
* @license React
|
|
143
|
+
* scheduler.development.js
|
|
144
|
+
*
|
|
145
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
146
|
+
*
|
|
147
|
+
* This source code is licensed under the MIT license found in the
|
|
148
|
+
* LICENSE file in the root directory of this source tree.
|
|
149
|
+
*/var I3;function oq(){return I3||(I3=1,function(e){process.env.NODE_ENV!=="production"&&function(){function t(){if(R=!1,W){var ee=e.unstable_now();be=ee;var le=!0;try{e:{P=!1,z&&(z=!1,j(ge),ge=-1),q=!0;var ve=U;try{t:{for(f(ee),w=r(O);w!==null&&!(w.expirationTime>ee&&m());){var Qe=w.callback;if(typeof Qe=="function"){w.callback=null,U=w.priorityLevel;var ne=Qe(w.expirationTime<=ee);if(ee=e.unstable_now(),typeof ne=="function"){w.callback=ne,f(ee),le=!0;break t}w===r(O)&&o(O),f(ee)}else o(O);w=r(O)}if(w!==null)le=!0;else{var Ee=r(M);Ee!==null&&b(p,Ee.startTime-ee),le=!1}}break e}finally{w=null,U=ve,q=!1}le=void 0}}finally{le?Oe():W=!1}}}function i(ee,le){var ve=ee.length;ee.push(le);e:for(;0<ve;){var Qe=ve-1>>>1,ne=ee[Qe];if(0<c(ne,le))ee[Qe]=le,ee[ve]=ne,ve=Qe;else break e}}function r(ee){return ee.length===0?null:ee[0]}function o(ee){if(ee.length===0)return null;var le=ee[0],ve=ee.pop();if(ve!==le){ee[0]=ve;e:for(var Qe=0,ne=ee.length,Ee=ne>>>1;Qe<Ee;){var Re=2*(Qe+1)-1,ae=ee[Re],de=Re+1,we=ee[de];if(0>c(ae,ve))de<ne&&0>c(we,ae)?(ee[Qe]=we,ee[de]=ve,Qe=de):(ee[Qe]=ae,ee[Re]=ve,Qe=Re);else if(de<ne&&0>c(we,ve))ee[Qe]=we,ee[de]=ve,Qe=de;else break e}}return le}function c(ee,le){var ve=ee.sortIndex-le.sortIndex;return ve!==0?ve:ee.id-le.id}function f(ee){for(var le=r(M);le!==null;){if(le.callback===null)o(M);else if(le.startTime<=ee)o(M),le.sortIndex=le.expirationTime,i(O,le);else break;le=r(M)}}function p(ee){if(z=!1,f(ee),!P)if(r(O)!==null)P=!0,W||(W=!0,Oe());else{var le=r(M);le!==null&&b(p,le.startTime-ee)}}function m(){return R?!0:!(e.unstable_now()-be<ce)}function b(ee,le){ge=H(function(){ee(e.unstable_now())},le)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var S=performance;e.unstable_now=function(){return S.now()}}else{var E=Date,_=E.now();e.unstable_now=function(){return E.now()-_}}var O=[],M=[],N=1,w=null,U=3,q=!1,P=!1,z=!1,R=!1,H=typeof setTimeout=="function"?setTimeout:null,j=typeof clearTimeout=="function"?clearTimeout:null,K=typeof setImmediate<"u"?setImmediate:null,W=!1,ge=-1,ce=5,be=-1;if(typeof K=="function")var Oe=function(){K(t)};else if(typeof MessageChannel<"u"){var Ae=new MessageChannel,Fe=Ae.port2;Ae.port1.onmessage=t,Oe=function(){Fe.postMessage(null)}}else Oe=function(){H(t,0)};e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(ee){ee.callback=null},e.unstable_forceFrameRate=function(ee){0>ee||125<ee?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ce=0<ee?Math.floor(1e3/ee):5},e.unstable_getCurrentPriorityLevel=function(){return U},e.unstable_next=function(ee){switch(U){case 1:case 2:case 3:var le=3;break;default:le=U}var ve=U;U=le;try{return ee()}finally{U=ve}},e.unstable_requestPaint=function(){R=!0},e.unstable_runWithPriority=function(ee,le){switch(ee){case 1:case 2:case 3:case 4:case 5:break;default:ee=3}var ve=U;U=ee;try{return le()}finally{U=ve}},e.unstable_scheduleCallback=function(ee,le,ve){var Qe=e.unstable_now();switch(typeof ve=="object"&&ve!==null?(ve=ve.delay,ve=typeof ve=="number"&&0<ve?Qe+ve:Qe):ve=Qe,ee){case 1:var ne=-1;break;case 2:ne=250;break;case 5:ne=1073741823;break;case 4:ne=1e4;break;default:ne=5e3}return ne=ve+ne,ee={id:N++,callback:le,priorityLevel:ee,startTime:ve,expirationTime:ne,sortIndex:-1},ve>Qe?(ee.sortIndex=ve,i(M,ee),r(O)===null&&ee===r(M)&&(z?(j(ge),ge=-1):z=!0,b(p,ve-Qe))):(ee.sortIndex=ne,i(O,ee),P||q||(P=!0,W||(W=!0,Oe()))),ee},e.unstable_shouldYield=m,e.unstable_wrapCallback=function(ee){var le=U;return function(){var ve=U;U=le;try{return ee.apply(this,arguments)}finally{U=ve}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()}(UC)),UC}var P3;function q3(){return P3||(P3=1,process.env.NODE_ENV==="production"?gE.exports=lq():gE.exports=oq()),gE.exports}/**
|
|
150
|
+
* @license React
|
|
151
|
+
* react-dom-client.production.js
|
|
152
|
+
*
|
|
153
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
154
|
+
*
|
|
155
|
+
* This source code is licensed under the MIT license found in the
|
|
156
|
+
* LICENSE file in the root directory of this source tree.
|
|
157
|
+
*/var V3;function sq(){if(V3)return M1;V3=1;var e=q3(),t=I,i=Xa;function r(l){var u="https://react.dev/errors/"+l;if(1<arguments.length){u+="?args[]="+encodeURIComponent(arguments[1]);for(var d=2;d<arguments.length;d++)u+="&args[]="+encodeURIComponent(arguments[d])}return"Minified React error #"+l+"; visit "+u+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}function c(l){var u=l,d=l;if(l.alternate)for(;u.return;)u=u.return;else{l=u;do u=l,(u.flags&4098)!==0&&(d=u.return),l=u.return;while(l)}return u.tag===3?d:null}function f(l){if(l.tag===13){var u=l.memoizedState;if(u===null&&(l=l.alternate,l!==null&&(u=l.memoizedState)),u!==null)return u.dehydrated}return null}function p(l){if(c(l)!==l)throw Error(r(188))}function m(l){var u=l.alternate;if(!u){if(u=c(l),u===null)throw Error(r(188));return u!==l?null:l}for(var d=l,v=u;;){var T=d.return;if(T===null)break;var D=T.alternate;if(D===null){if(v=T.return,v!==null){d=v;continue}break}if(T.child===D.child){for(D=T.child;D;){if(D===d)return p(T),l;if(D===v)return p(T),u;D=D.sibling}throw Error(r(188))}if(d.return!==v.return)d=T,v=D;else{for(var V=!1,$=T.child;$;){if($===d){V=!0,d=T,v=D;break}if($===v){V=!0,v=T,d=D;break}$=$.sibling}if(!V){for($=D.child;$;){if($===d){V=!0,d=D,v=T;break}if($===v){V=!0,v=D,d=T;break}$=$.sibling}if(!V)throw Error(r(189))}}if(d.alternate!==v)throw Error(r(190))}if(d.tag!==3)throw Error(r(188));return d.stateNode.current===d?l:u}function b(l){var u=l.tag;if(u===5||u===26||u===27||u===6)return l;for(l=l.child;l!==null;){if(u=b(l),u!==null)return u;l=l.sibling}return null}var S=Object.assign,E=Symbol.for("react.element"),_=Symbol.for("react.transitional.element"),O=Symbol.for("react.portal"),M=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),w=Symbol.for("react.profiler"),U=Symbol.for("react.provider"),q=Symbol.for("react.consumer"),P=Symbol.for("react.context"),z=Symbol.for("react.forward_ref"),R=Symbol.for("react.suspense"),H=Symbol.for("react.suspense_list"),j=Symbol.for("react.memo"),K=Symbol.for("react.lazy"),W=Symbol.for("react.activity"),ge=Symbol.for("react.memo_cache_sentinel"),ce=Symbol.iterator;function be(l){return l===null||typeof l!="object"?null:(l=ce&&l[ce]||l["@@iterator"],typeof l=="function"?l:null)}var Oe=Symbol.for("react.client.reference");function Ae(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===Oe?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case M:return"Fragment";case w:return"Profiler";case N:return"StrictMode";case R:return"Suspense";case H:return"SuspenseList";case W:return"Activity"}if(typeof l=="object")switch(l.$$typeof){case O:return"Portal";case P:return(l.displayName||"Context")+".Provider";case q:return(l._context.displayName||"Context")+".Consumer";case z:var u=l.render;return l=l.displayName,l||(l=u.displayName||u.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case j:return u=l.displayName||null,u!==null?u:Ae(l.type)||"Memo";case K:u=l._payload,l=l._init;try{return Ae(l(u))}catch{}}return null}var Fe=Array.isArray,ee=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,le=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ve={pending:!1,data:null,method:null,action:null},Qe=[],ne=-1;function Ee(l){return{current:l}}function Re(l){0>ne||(l.current=Qe[ne],Qe[ne]=null,ne--)}function ae(l,u){ne++,Qe[ne]=l.current,l.current=u}var de=Ee(null),we=Ee(null),Ue=Ee(null),at=Ee(null);function Ke(l,u){switch(ae(Ue,u),ae(we,l),ae(de,null),u.nodeType){case 9:case 11:l=(l=u.documentElement)&&(l=l.namespaceURI)?Yn(l):0;break;default:if(l=u.tagName,u=u.namespaceURI)u=Yn(u),l=di(u,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}Re(de),ae(de,l)}function Le(){Re(de),Re(we),Re(Ue)}function De(l){l.memoizedState!==null&&ae(at,l);var u=de.current,d=di(u,l.type);u!==d&&(ae(we,l),ae(de,d))}function nt(l){we.current===l&&(Re(de),Re(we)),at.current===l&&(Re(at),Lr._currentValue=ve)}var Ie=Object.prototype.hasOwnProperty,Ct=e.unstable_scheduleCallback,Rt=e.unstable_cancelCallback,Et=e.unstable_shouldYield,un=e.unstable_requestPaint,Ut=e.unstable_now,oa=e.unstable_getCurrentPriorityLevel,Ea=e.unstable_ImmediatePriority,wn=e.unstable_UserBlockingPriority,Zt=e.unstable_NormalPriority,pt=e.unstable_LowPriority,Dn=e.unstable_IdlePriority,Oi=e.log,Ba=e.unstable_setDisableYieldValue,Lt=null,ot=null;function xt(l){if(typeof Oi=="function"&&Ba(l),ot&&typeof ot.setStrictMode=="function")try{ot.setStrictMode(Lt,l)}catch{}}var Ln=Math.clz32?Math.clz32:vt,bt=Math.log,On=Math.LN2;function vt(l){return l>>>=0,l===0?32:31-(bt(l)/On|0)|0}var ni=256,gr=4194304;function $n(l){var u=l&42;if(u!==0)return u;switch(l&-l){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:return 64;case 128:return 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 l&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return l&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return l}}function Aa(l,u,d){var v=l.pendingLanes;if(v===0)return 0;var T=0,D=l.suspendedLanes,V=l.pingedLanes;l=l.warmLanes;var $=v&134217727;return $!==0?(v=$&~D,v!==0?T=$n(v):(V&=$,V!==0?T=$n(V):d||(d=$&~l,d!==0&&(T=$n(d))))):($=v&~D,$!==0?T=$n($):V!==0?T=$n(V):d||(d=v&~l,d!==0&&(T=$n(d)))),T===0?0:u!==0&&u!==T&&(u&D)===0&&(D=T&-T,d=u&-u,D>=d||D===32&&(d&4194048)!==0)?u:T}function Qa(l,u){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&u)===0}function Ai(l,u){switch(l){case 1:case 2:case 4:case 8:case 64:return u+250;case 16:case 32: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 u+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function mr(){var l=ni;return ni<<=1,(ni&4194048)===0&&(ni=256),l}function uo(){var l=gr;return gr<<=1,(gr&62914560)===0&&(gr=4194304),l}function fl(l){for(var u=[],d=0;31>d;d++)u.push(l);return u}function ri(l,u){l.pendingLanes|=u,u!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}function ha(l,u,d,v,T,D){var V=l.pendingLanes;l.pendingLanes=d,l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0,l.expiredLanes&=d,l.entangledLanes&=d,l.errorRecoveryDisabledLanes&=d,l.shellSuspendCounter=0;var $=l.entanglements,re=l.expirationTimes,Ce=l.hiddenUpdates;for(d=V&~d;0<d;){var Xe=31-Ln(d),We=1<<Xe;$[Xe]=0,re[Xe]=-1;var Ne=Ce[Xe];if(Ne!==null)for(Ce[Xe]=null,Xe=0;Xe<Ne.length;Xe++){var _e=Ne[Xe];_e!==null&&(_e.lane&=-536870913)}d&=~We}v!==0&&Fi(l,v,0),D!==0&&T===0&&l.tag!==0&&(l.suspendedLanes|=D&~(V&~u))}function Fi(l,u,d){l.pendingLanes|=u,l.suspendedLanes&=~u;var v=31-Ln(u);l.entangledLanes|=u,l.entanglements[v]=l.entanglements[v]|1073741824|d&4194090}function Za(l,u){var d=l.entangledLanes|=u;for(l=l.entanglements;d;){var v=31-Ln(d),T=1<<v;T&u|l[v]&u&&(l[v]|=u),d&=~T}}function li(l){switch(l){case 2:l=1;break;case 8:l=4;break;case 32:l=16;break;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:l=128;break;case 268435456:l=134217728;break;default:l=0}return l}function Ii(l){return l&=-l,2<l?8<l?(l&134217727)!==0?32:268435456:8:2}function Wa(){var l=le.p;return l!==0?l:(l=window.event,l===void 0?32:uy(l.type))}function Po(l,u){var d=le.p;try{return le.p=l,u()}finally{le.p=d}}var an=Math.random().toString(36).slice(2),Hn="__reactFiber$"+an,kn="__reactProps$"+an,Ki="__reactContainer$"+an,Ll="__reactEvents$"+an,qo="__reactListeners$"+an,Ti="__reactHandles$"+an,oi="__reactResources$"+an,ft="__reactMarker$"+an;function Vo(l){delete l[Hn],delete l[kn],delete l[Ll],delete l[qo],delete l[Ti]}function mi(l){var u=l[Hn];if(u)return u;for(var d=l.parentNode;d;){if(u=d[Ki]||d[Hn]){if(d=u.alternate,u.child!==null||d!==null&&d.child!==null)for(l=qa(l);l!==null;){if(d=l[Hn])return d;l=qa(l)}return u}l=d,d=l.parentNode}return null}function ks(l){if(l=l[Hn]||l[Ki]){var u=l.tag;if(u===5||u===6||u===13||u===26||u===27||u===3)return l}return null}function Yo(l){var u=l.tag;if(u===5||u===26||u===27||u===6)return l.stateNode;throw Error(r(33))}function co(l){var u=l[oi];return u||(u=l[oi]={hoistableStyles:new Map,hoistableScripts:new Map}),u}function Ji(l){l[ft]=!0}var bc=new Set,yr={};function Go(l,u){Xo(l,u),Xo(l+"Capture",u)}function Xo(l,u){for(yr[l]=u,l=0;l<u.length;l++)bc.add(u[l])}var xc=RegExp("^[: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]*$"),wf={},Cu={};function jp(l){return Ie.call(Cu,l)?!0:Ie.call(wf,l)?!1:xc.test(l)?Cu[l]=!0:(wf[l]=!0,!1)}function fo(l,u,d){if(jp(u))if(d===null)l.removeAttribute(u);else{switch(typeof d){case"undefined":case"function":case"symbol":l.removeAttribute(u);return;case"boolean":var v=u.toLowerCase().slice(0,5);if(v!=="data-"&&v!=="aria-"){l.removeAttribute(u);return}}l.setAttribute(u,""+d)}}function Sc(l,u,d){if(d===null)l.removeAttribute(u);else{switch(typeof d){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(u);return}l.setAttribute(u,""+d)}}function dl(l,u,d,v){if(v===null)l.removeAttribute(d);else{switch(typeof v){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(d);return}l.setAttributeNS(u,d,""+v)}}var Ec,Df;function zs(l){if(Ec===void 0)try{throw Error()}catch(d){var u=d.stack.trim().match(/\n( *(at )?)/);Ec=u&&u[1]||"",Df=-1<d.stack.indexOf(`
|
|
158
|
+
at`)?" (<anonymous>)":-1<d.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
159
|
+
`+Ec+l+Df}var La=!1;function $o(l,u){if(!l||La)return"";La=!0;var d=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var v={DetermineComponentFrameRoot:function(){try{if(u){var We=function(){throw Error()};if(Object.defineProperty(We.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(We,[])}catch(_e){var Ne=_e}Reflect.construct(l,[],We)}else{try{We.call()}catch(_e){Ne=_e}l.call(We.prototype)}}else{try{throw Error()}catch(_e){Ne=_e}(We=l())&&typeof We.catch=="function"&&We.catch(function(){})}}catch(_e){if(_e&&Ne&&typeof _e.stack=="string")return[_e.stack,Ne.stack]}return[null,null]}};v.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var T=Object.getOwnPropertyDescriptor(v.DetermineComponentFrameRoot,"name");T&&T.configurable&&Object.defineProperty(v.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var D=v.DetermineComponentFrameRoot(),V=D[0],$=D[1];if(V&&$){var re=V.split(`
|
|
160
|
+
`),Ce=$.split(`
|
|
161
|
+
`);for(T=v=0;v<re.length&&!re[v].includes("DetermineComponentFrameRoot");)v++;for(;T<Ce.length&&!Ce[T].includes("DetermineComponentFrameRoot");)T++;if(v===re.length||T===Ce.length)for(v=re.length-1,T=Ce.length-1;1<=v&&0<=T&&re[v]!==Ce[T];)T--;for(;1<=v&&0<=T;v--,T--)if(re[v]!==Ce[T]){if(v!==1||T!==1)do if(v--,T--,0>T||re[v]!==Ce[T]){var Xe=`
|
|
162
|
+
`+re[v].replace(" at new "," at ");return l.displayName&&Xe.includes("<anonymous>")&&(Xe=Xe.replace("<anonymous>",l.displayName)),Xe}while(1<=v&&0<=T);break}}}finally{La=!1,Error.prepareStackTrace=d}return(d=l?l.displayName||l.name:"")?zs(d):""}function Us(l){switch(l.tag){case 26:case 27:case 5:return zs(l.type);case 16:return zs("Lazy");case 13:return zs("Suspense");case 19:return zs("SuspenseList");case 0:case 15:return $o(l.type,!1);case 11:return $o(l.type.render,!1);case 1:return $o(l.type,!0);case 31:return zs("Activity");default:return""}}function vr(l){try{var u="";do u+=Us(l),l=l.return;while(l);return u}catch(d){return`
|
|
163
|
+
Error generating stack: `+d.message+`
|
|
164
|
+
`+d.stack}}function ea(l){switch(typeof l){case"bigint":case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function Hs(l){var u=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(u==="checkbox"||u==="radio")}function _u(l){var u=Hs(l)?"checked":"value",d=Object.getOwnPropertyDescriptor(l.constructor.prototype,u),v=""+l[u];if(!l.hasOwnProperty(u)&&typeof d<"u"&&typeof d.get=="function"&&typeof d.set=="function"){var T=d.get,D=d.set;return Object.defineProperty(l,u,{configurable:!0,get:function(){return T.call(this)},set:function(V){v=""+V,D.call(this,V)}}),Object.defineProperty(l,u,{enumerable:d.enumerable}),{getValue:function(){return v},setValue:function(V){v=""+V},stopTracking:function(){l._valueTracker=null,delete l[u]}}}}function Qo(l){l._valueTracker||(l._valueTracker=_u(l))}function Ir(l){if(!l)return!1;var u=l._valueTracker;if(!u)return!0;var d=u.getValue(),v="";return l&&(v=Hs(l)?l.checked?"true":"false":l.value),l=v,l!==d?(u.setValue(l),!0):!1}function ho(l){if(l=l||(typeof document<"u"?document:void 0),typeof l>"u")return null;try{return l.activeElement||l.body}catch{return l.body}}var Fp=/[\n"\\]/g;function br(l){return l.replace(Fp,function(u){return"\\"+u.charCodeAt(0).toString(16)+" "})}function Ac(l,u,d,v,T,D,V,$){l.name="",V!=null&&typeof V!="function"&&typeof V!="symbol"&&typeof V!="boolean"?l.type=V:l.removeAttribute("type"),u!=null?V==="number"?(u===0&&l.value===""||l.value!=u)&&(l.value=""+ea(u)):l.value!==""+ea(u)&&(l.value=""+ea(u)):V!=="submit"&&V!=="reset"||l.removeAttribute("value"),u!=null?B(l,V,ea(u)):d!=null?B(l,V,ea(d)):v!=null&&l.removeAttribute("value"),T==null&&D!=null&&(l.defaultChecked=!!D),T!=null&&(l.checked=T&&typeof T!="function"&&typeof T!="symbol"),$!=null&&typeof $!="function"&&typeof $!="symbol"&&typeof $!="boolean"?l.name=""+ea($):l.removeAttribute("name")}function Tc(l,u,d,v,T,D,V,$){if(D!=null&&typeof D!="function"&&typeof D!="symbol"&&typeof D!="boolean"&&(l.type=D),u!=null||d!=null){if(!(D!=="submit"&&D!=="reset"||u!=null))return;d=d!=null?""+ea(d):"",u=u!=null?""+ea(u):d,$||u===l.value||(l.value=u),l.defaultValue=u}v=v??T,v=typeof v!="function"&&typeof v!="symbol"&&!!v,l.checked=$?l.checked:!!v,l.defaultChecked=!!v,V!=null&&typeof V!="function"&&typeof V!="symbol"&&typeof V!="boolean"&&(l.name=V)}function B(l,u,d){u==="number"&&ho(l.ownerDocument)===l||l.defaultValue===""+d||(l.defaultValue=""+d)}function Y(l,u,d,v){if(l=l.options,u){u={};for(var T=0;T<d.length;T++)u["$"+d[T]]=!0;for(d=0;d<l.length;d++)T=u.hasOwnProperty("$"+l[d].value),l[d].selected!==T&&(l[d].selected=T),T&&v&&(l[d].defaultSelected=!0)}else{for(d=""+ea(d),u=null,T=0;T<l.length;T++){if(l[T].value===d){l[T].selected=!0,v&&(l[T].defaultSelected=!0);return}u!==null||l[T].disabled||(u=l[T])}u!==null&&(u.selected=!0)}}function te(l,u,d){if(u!=null&&(u=""+ea(u),u!==l.value&&(l.value=u),d==null)){l.defaultValue!==u&&(l.defaultValue=u);return}l.defaultValue=d!=null?""+ea(d):""}function ye(l,u,d,v){if(u==null){if(v!=null){if(d!=null)throw Error(r(92));if(Fe(v)){if(1<v.length)throw Error(r(93));v=v[0]}d=v}d==null&&(d=""),u=d}d=ea(u),l.defaultValue=d,v=l.textContent,v===d&&v!==""&&v!==null&&(l.value=v)}function Ye(l,u){if(u){var d=l.firstChild;if(d&&d===l.lastChild&&d.nodeType===3){d.nodeValue=u;return}}l.textContent=u}var it=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function It(l,u,d){var v=u.indexOf("--")===0;d==null||typeof d=="boolean"||d===""?v?l.setProperty(u,""):u==="float"?l.cssFloat="":l[u]="":v?l.setProperty(u,d):typeof d!="number"||d===0||it.has(u)?u==="float"?l.cssFloat=d:l[u]=(""+d).trim():l[u]=d+"px"}function An(l,u,d){if(u!=null&&typeof u!="object")throw Error(r(62));if(l=l.style,d!=null){for(var v in d)!d.hasOwnProperty(v)||u!=null&&u.hasOwnProperty(v)||(v.indexOf("--")===0?l.setProperty(v,""):v==="float"?l.cssFloat="":l[v]="");for(var T in u)v=u[T],u.hasOwnProperty(T)&&d[T]!==v&&It(l,T,v)}else for(var D in u)u.hasOwnProperty(D)&&It(l,D,u[D])}function Ci(l){if(l.indexOf("-")===-1)return!1;switch(l){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 ta=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Zm=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Of(l){return Zm.test(""+l)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":l}var wu=null;function Ip(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var Rf=null,Mf=null;function Wm(l){var u=ks(l);if(u&&(l=u.stateNode)){var d=l[kn]||null;e:switch(l=u.stateNode,u.type){case"input":if(Ac(l,d.value,d.defaultValue,d.defaultValue,d.checked,d.defaultChecked,d.type,d.name),u=d.name,d.type==="radio"&&u!=null){for(d=l;d.parentNode;)d=d.parentNode;for(d=d.querySelectorAll('input[name="'+br(""+u)+'"][type="radio"]'),u=0;u<d.length;u++){var v=d[u];if(v!==l&&v.form===l.form){var T=v[kn]||null;if(!T)throw Error(r(90));Ac(v,T.value,T.defaultValue,T.defaultValue,T.checked,T.defaultChecked,T.type,T.name)}}for(u=0;u<d.length;u++)v=d[u],v.form===l.form&&Ir(v)}break e;case"textarea":te(l,d.value,d.defaultValue);break e;case"select":u=d.value,u!=null&&Y(l,!!d.multiple,u,!1)}}}var Km=!1;function Nf(l,u,d){if(Km)return l(u,d);Km=!0;try{var v=l(u);return v}finally{if(Km=!1,(Rf!==null||Mf!==null)&&(Jc(),Rf&&(u=Rf,l=Mf,Mf=Rf=null,Wm(u),l)))for(u=0;u<l.length;u++)Wm(l[u])}}function Cc(l,u){var d=l.stateNode;if(d===null)return null;var v=d[kn]||null;if(v===null)return null;d=v[u];e:switch(u){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(v=!v.disabled)||(l=l.type,v=!(l==="button"||l==="input"||l==="select"||l==="textarea")),l=!v;break e;default:l=!1}if(l)return null;if(d&&typeof d!="function")throw Error(r(231,u,typeof d));return d}var Zo=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Bf=!1;if(Zo)try{var js={};Object.defineProperty(js,"passive",{get:function(){Bf=!0}}),window.addEventListener("test",js,js),window.removeEventListener("test",js,js)}catch{Bf=!1}var Fs=null,Lf=null,_c=null;function Jm(){if(_c)return _c;var l,u=Lf,d=u.length,v,T="value"in Fs?Fs.value:Fs.textContent,D=T.length;for(l=0;l<d&&u[l]===T[l];l++);var V=d-l;for(v=1;v<=V&&u[d-v]===T[D-v];v++);return _c=T.slice(l,1<v?1-v:void 0)}function Wt(l){var u=l.keyCode;return"charCode"in l?(l=l.charCode,l===0&&u===13&&(l=13)):l=u,l===10&&(l=13),32<=l||l===13?l:0}function Kn(){return!0}function Pp(){return!1}function xr(l){function u(d,v,T,D,V){this._reactName=d,this._targetInst=T,this.type=v,this.nativeEvent=D,this.target=V,this.currentTarget=null;for(var $ in l)l.hasOwnProperty($)&&(d=l[$],this[$]=d?d(D):D[$]);return this.isDefaultPrevented=(D.defaultPrevented!=null?D.defaultPrevented:D.returnValue===!1)?Kn:Pp,this.isPropagationStopped=Pp,this}return S(u.prototype,{preventDefault:function(){this.defaultPrevented=!0;var d=this.nativeEvent;d&&(d.preventDefault?d.preventDefault():typeof d.returnValue!="unknown"&&(d.returnValue=!1),this.isDefaultPrevented=Kn)},stopPropagation:function(){var d=this.nativeEvent;d&&(d.stopPropagation?d.stopPropagation():typeof d.cancelBubble!="unknown"&&(d.cancelBubble=!0),this.isPropagationStopped=Kn)},persist:function(){},isPersistent:Kn}),u}var Du={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(l){return l.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},qp=xr(Du),nh=S({},Du,{view:0,detail:0}),pv=xr(nh),Vp,Yp,na,Is=S({},nh,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ka,button:0,buttons:0,relatedTarget:function(l){return l.relatedTarget===void 0?l.fromElement===l.srcElement?l.toElement:l.fromElement:l.relatedTarget},movementX:function(l){return"movementX"in l?l.movementX:(l!==na&&(na&&l.type==="mousemove"?(Vp=l.screenX-na.screenX,Yp=l.screenY-na.screenY):Yp=Vp=0,na=l),Vp)},movementY:function(l){return"movementY"in l?l.movementY:Yp}}),Ps=xr(Is),e0=S({},Is,{dataTransfer:0}),Gp=xr(e0),kl=S({},nh,{relatedTarget:0}),Xp=xr(kl),gv=S({},Du,{animationName:0,elapsedTime:0,pseudoElement:0}),mv=xr(gv),yv=S({},Du,{clipboardData:function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData}}),kf=xr(yv),t0=S({},Du,{data:0}),Sr=xr(t0),vv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},hl={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"},n0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function i0(l){var u=this.nativeEvent;return u.getModifierState?u.getModifierState(l):(l=n0[l])?!!u[l]:!1}function Ka(){return i0}var Wo=S({},nh,{key:function(l){if(l.key){var u=vv[l.key]||l.key;if(u!=="Unidentified")return u}return l.type==="keypress"?(l=Wt(l),l===13?"Enter":String.fromCharCode(l)):l.type==="keydown"||l.type==="keyup"?hl[l.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ka,charCode:function(l){return l.type==="keypress"?Wt(l):0},keyCode:function(l){return l.type==="keydown"||l.type==="keyup"?l.keyCode:0},which:function(l){return l.type==="keypress"?Wt(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0}}),pl=xr(Wo),xn=S({},Is,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),zl=xr(xn),zf=S({},nh,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ka}),a0=xr(zf),Ja=S({},Du,{propertyName:0,elapsedTime:0,pseudoElement:0}),bv=xr(Ja),$p=S({},Is,{deltaX:function(l){return"deltaX"in l?l.deltaX:"wheelDeltaX"in l?-l.wheelDeltaX:0},deltaY:function(l){return"deltaY"in l?l.deltaY:"wheelDeltaY"in l?-l.wheelDeltaY:"wheelDelta"in l?-l.wheelDelta:0},deltaZ:0,deltaMode:0}),wc=xr($p),Qp=S({},Du,{newState:0,oldState:0}),ih=xr(Qp),Dc=[9,13,27,32],ah=Zo&&"CompositionEvent"in window,Uf=null;Zo&&"documentMode"in document&&(Uf=document.documentMode);var Zp=Zo&&"TextEvent"in window&&!Uf,Ul=Zo&&(!ah||Uf&&8<Uf&&11>=Uf),rh=" ",lh=!1;function oh(l,u){switch(l){case"keyup":return Dc.indexOf(u.keyCode)!==-1;case"keydown":return u.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ko(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var Jo=!1;function r0(l,u){switch(l){case"compositionend":return Ko(u);case"keypress":return u.which!==32?null:(lh=!0,rh);case"textInput":return l=u.data,l===rh&&lh?null:l;default:return null}}function Ou(l,u){if(Jo)return l==="compositionend"||!ah&&oh(l,u)?(l=Jm(),_c=Lf=Fs=null,Jo=!1,l):null;switch(l){case"paste":return null;case"keypress":if(!(u.ctrlKey||u.altKey||u.metaKey)||u.ctrlKey&&u.altKey){if(u.char&&1<u.char.length)return u.char;if(u.which)return String.fromCharCode(u.which)}return null;case"compositionend":return Ul&&u.locale!=="ko"?null:u.data;default:return null}}var Pr={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 Hf(l){var u=l&&l.nodeName&&l.nodeName.toLowerCase();return u==="input"?!!Pr[l.type]:u==="textarea"}function Ru(l,u,d,v){Rf?Mf?Mf.push(v):Mf=[v]:Rf=v,u=Td(u,"onChange"),0<u.length&&(d=new qp("onChange","change",null,d,v),l.push({event:d,listeners:u}))}var Hl=null,jl=null;function l0(l){af(l,0)}function es(l){var u=Yo(l);if(Ir(u))return l}function o0(l,u){if(l==="change")return u}var s0=!1;if(Zo){var Oc;if(Zo){var Fl="oninput"in document;if(!Fl){var u0=document.createElement("div");u0.setAttribute("oninput","return;"),Fl=typeof u0.oninput=="function"}Oc=Fl}else Oc=!1;s0=Oc&&(!document.documentMode||9<document.documentMode)}function jf(){Hl&&(Hl.detachEvent("onpropertychange",sh),jl=Hl=null)}function sh(l){if(l.propertyName==="value"&&es(jl)){var u=[];Ru(u,jl,l,Ip(l)),Nf(l0,u)}}function uh(l,u,d){l==="focusin"?(jf(),Hl=u,jl=d,Hl.attachEvent("onpropertychange",sh)):l==="focusout"&&jf()}function Er(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return es(jl)}function Il(l,u){if(l==="click")return es(u)}function c0(l,u){if(l==="input"||l==="change")return es(u)}function f0(l,u){return l===u&&(l!==0||1/l===1/u)||l!==l&&u!==u}var ka=typeof Object.is=="function"?Object.is:f0;function gl(l,u){if(ka(l,u))return!0;if(typeof l!="object"||l===null||typeof u!="object"||u===null)return!1;var d=Object.keys(l),v=Object.keys(u);if(d.length!==v.length)return!1;for(v=0;v<d.length;v++){var T=d[v];if(!Ie.call(u,T)||!ka(l[T],u[T]))return!1}return!0}function Ta(l){for(;l&&l.firstChild;)l=l.firstChild;return l}function yi(l,u){var d=Ta(l);l=0;for(var v;d;){if(d.nodeType===3){if(v=l+d.textContent.length,l<=u&&v>=u)return{node:d,offset:u-l};l=v}e:{for(;d;){if(d.nextSibling){d=d.nextSibling;break e}d=d.parentNode}d=void 0}d=Ta(d)}}function ch(l,u){return l&&u?l===u?!0:l&&l.nodeType===3?!1:u&&u.nodeType===3?ch(l,u.parentNode):"contains"in l?l.contains(u):l.compareDocumentPosition?!!(l.compareDocumentPosition(u)&16):!1:!1}function d0(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var u=ho(l.document);u instanceof l.HTMLIFrameElement;){try{var d=typeof u.contentWindow.location.href=="string"}catch{d=!1}if(d)l=u.contentWindow;else break;u=ho(l.document)}return u}function fh(l){var u=l&&l.nodeName&&l.nodeName.toLowerCase();return u&&(u==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||u==="textarea"||l.contentEditable==="true")}var Rc=Zo&&"documentMode"in document&&11>=document.documentMode,ts=null,er=null,me=null,Pe=!1;function ke(l,u,d){var v=d.window===d?d.document:d.nodeType===9?d:d.ownerDocument;Pe||ts==null||ts!==ho(v)||(v=ts,"selectionStart"in v&&fh(v)?v={start:v.selectionStart,end:v.selectionEnd}:(v=(v.ownerDocument&&v.ownerDocument.defaultView||window).getSelection(),v={anchorNode:v.anchorNode,anchorOffset:v.anchorOffset,focusNode:v.focusNode,focusOffset:v.focusOffset}),me&&gl(me,v)||(me=v,v=Td(er,"onSelect"),0<v.length&&(u=new qp("onSelect","select",null,u,d),l.push({event:u,listeners:v}),u.target=ts)))}function st(l,u){var d={};return d[l.toLowerCase()]=u.toLowerCase(),d["Webkit"+l]="webkit"+u,d["Moz"+l]="moz"+u,d}var kt={animationend:st("Animation","AnimationEnd"),animationiteration:st("Animation","AnimationIteration"),animationstart:st("Animation","AnimationStart"),transitionrun:st("Transition","TransitionRun"),transitionstart:st("Transition","TransitionStart"),transitioncancel:st("Transition","TransitionCancel"),transitionend:st("Transition","TransitionEnd")},Vt={},Jn={};Zo&&(Jn=document.createElement("div").style,"AnimationEvent"in window||(delete kt.animationend.animation,delete kt.animationiteration.animation,delete kt.animationstart.animation),"TransitionEvent"in window||delete kt.transitionend.transition);function Sn(l){if(Vt[l])return Vt[l];if(!kt[l])return l;var u=kt[l],d;for(d in u)if(u.hasOwnProperty(d)&&d in Jn)return Vt[l]=u[d];return l}var Wp=Sn("animationend"),h0=Sn("animationiteration"),ml=Sn("animationstart"),Ff=Sn("transitionrun"),Kp=Sn("transitionstart"),Mc=Sn("transitioncancel"),If=Sn("transitionend"),Pf=new Map,Rn="abort auxClick beforeToggle 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(" ");Rn.push("scrollEnd");function Pl(l,u){Pf.set(l,u),Go(u,[l])}var Jp=new WeakMap;function tr(l,u){if(typeof l=="object"&&l!==null){var d=Jp.get(l);return d!==void 0?d:(u={value:l,source:u,stack:vr(u)},Jp.set(l,u),u)}return{value:l,source:u,stack:vr(u)}}var qr=[],Mu=0,ns=0;function Vr(){for(var l=Mu,u=ns=Mu=0;u<l;){var d=qr[u];qr[u++]=null;var v=qr[u];qr[u++]=null;var T=qr[u];qr[u++]=null;var D=qr[u];if(qr[u++]=null,v!==null&&T!==null){var V=v.pending;V===null?T.next=T:(T.next=V.next,V.next=T),v.pending=T}D!==0&&Vs(d,T,D)}}function Ar(l,u,d,v){qr[Mu++]=l,qr[Mu++]=u,qr[Mu++]=d,qr[Mu++]=v,ns|=v,l.lanes|=v,l=l.alternate,l!==null&&(l.lanes|=v)}function qs(l,u,d,v){return Ar(l,u,d,v),qf(l)}function po(l,u){return Ar(l,null,null,u),qf(l)}function Vs(l,u,d){l.lanes|=d;var v=l.alternate;v!==null&&(v.lanes|=d);for(var T=!1,D=l.return;D!==null;)D.childLanes|=d,v=D.alternate,v!==null&&(v.childLanes|=d),D.tag===22&&(l=D.stateNode,l===null||l._visibility&1||(T=!0)),l=D,D=D.return;return l.tag===3?(D=l.stateNode,T&&u!==null&&(T=31-Ln(d),l=D.hiddenUpdates,v=l[T],v===null?l[T]=[u]:v.push(u),u.lane=d|536870912),D):null}function qf(l){if(50<Kc)throw Kc=0,q0=null,Error(r(185));for(var u=l.return;u!==null;)l=u,u=l.return;return l.tag===3?l.stateNode:null}var Nc={};function dh(l,u,d,v){this.tag=l,this.key=d,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=u,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=v,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Tr(l,u,d,v){return new dh(l,u,d,v)}function Ys(l){return l=l.prototype,!(!l||!l.isReactComponent)}function za(l,u){var d=l.alternate;return d===null?(d=Tr(l.tag,u,l.key,l.mode),d.elementType=l.elementType,d.type=l.type,d.stateNode=l.stateNode,d.alternate=l,l.alternate=d):(d.pendingProps=u,d.type=l.type,d.flags=0,d.subtreeFlags=0,d.deletions=null),d.flags=l.flags&65011712,d.childLanes=l.childLanes,d.lanes=l.lanes,d.child=l.child,d.memoizedProps=l.memoizedProps,d.memoizedState=l.memoizedState,d.updateQueue=l.updateQueue,u=l.dependencies,d.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},d.sibling=l.sibling,d.index=l.index,d.ref=l.ref,d.refCleanup=l.refCleanup,d}function Yt(l,u){l.flags&=65011714;var d=l.alternate;return d===null?(l.childLanes=0,l.lanes=u,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=d.childLanes,l.lanes=d.lanes,l.child=d.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=d.memoizedProps,l.memoizedState=d.memoizedState,l.updateQueue=d.updateQueue,l.type=d.type,u=d.dependencies,l.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext}),l}function tt(l,u,d,v,T,D){var V=0;if(v=l,typeof l=="function")Ys(l)&&(V=1);else if(typeof l=="string")V=qv(l,d,de.current)?26:l==="html"||l==="head"||l==="body"?27:5;else e:switch(l){case W:return l=Tr(31,d,u,T),l.elementType=W,l.lanes=D,l;case M:return ql(d.children,T,D,u);case N:V=8,T|=24;break;case w:return l=Tr(12,d,u,T|2),l.elementType=w,l.lanes=D,l;case R:return l=Tr(13,d,u,T),l.elementType=R,l.lanes=D,l;case H:return l=Tr(19,d,u,T),l.elementType=H,l.lanes=D,l;default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case U:case P:V=10;break e;case q:V=9;break e;case z:V=11;break e;case j:V=14;break e;case K:V=16,v=null;break e}V=29,d=Error(r(130,l===null?"null":typeof l,"")),v=null}return u=Tr(V,d,u,T),u.elementType=l,u.type=v,u.lanes=D,u}function ql(l,u,d,v){return l=Tr(7,l,v,u),l.lanes=d,l}function Vf(l,u,d){return l=Tr(6,l,null,u),l.lanes=d,l}function vi(l,u,d){return u=Tr(4,l.children!==null?l.children:[],l.key,u),u.lanes=d,u.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},u}var go=[],is=0,hh=null,Bc=0,Vl=[],Yr=0,si=null,bi=1,Pi="";function Tn(l,u){go[is++]=Bc,go[is++]=hh,hh=l,Bc=u}function ph(l,u,d){Vl[Yr++]=bi,Vl[Yr++]=Pi,Vl[Yr++]=si,si=l;var v=bi;l=Pi;var T=32-Ln(v)-1;v&=~(1<<T),d+=1;var D=32-Ln(u)+T;if(30<D){var V=T-T%5;D=(v&(1<<V)-1).toString(32),v>>=V,T-=V,bi=1<<32-Ln(u)+T|d<<T|v,Pi=D+l}else bi=1<<D|d<<T|v,Pi=l}function Lc(l){l.return!==null&&(Tn(l,1),ph(l,1,0))}function Yl(l){for(;l===hh;)hh=go[--is],go[is]=null,Bc=go[--is],go[is]=null;for(;l===si;)si=Vl[--Yr],Vl[Yr]=null,Pi=Vl[--Yr],Vl[Yr]=null,bi=Vl[--Yr],Vl[Yr]=null}var _i=null,Mn=null,cn=!1,nr=null,ir=!1,as=Error(r(519));function Gr(l){var u=Error(r(418,""));throw Gs(tr(u,l)),as}function gh(l){var u=l.stateNode,d=l.type,v=l.memoizedProps;switch(u[Hn]=l,u[kn]=v,d){case"dialog":$t("cancel",u),$t("close",u);break;case"iframe":case"object":case"embed":$t("load",u);break;case"video":case"audio":for(d=0;d<Kh.length;d++)$t(Kh[d],u);break;case"source":$t("error",u);break;case"img":case"image":case"link":$t("error",u),$t("load",u);break;case"details":$t("toggle",u);break;case"input":$t("invalid",u),Tc(u,v.value,v.defaultValue,v.checked,v.defaultChecked,v.type,v.name,!0),Qo(u);break;case"select":$t("invalid",u);break;case"textarea":$t("invalid",u),ye(u,v.value,v.defaultValue,v.children),Qo(u)}d=v.children,typeof d!="string"&&typeof d!="number"&&typeof d!="bigint"||u.textContent===""+d||v.suppressHydrationWarning===!0||J0(u.textContent,d)?(v.popover!=null&&($t("beforetoggle",u),$t("toggle",u)),v.onScroll!=null&&$t("scroll",u),v.onScrollEnd!=null&&$t("scrollend",u),v.onClick!=null&&(u.onclick=im),u=!0):u=!1,u||Gr(l)}function p0(l){for(_i=l.return;_i;)switch(_i.tag){case 5:case 13:ir=!1;return;case 27:case 3:ir=!0;return;default:_i=_i.return}}function Yf(l){if(l!==_i)return!1;if(!cn)return p0(l),cn=!0,!1;var u=l.tag,d;if((d=u!==3&&u!==27)&&((d=u===5)&&(d=l.type,d=!(d!=="form"&&d!=="button")||_o(l.type,l.memoizedProps)),d=!d),d&&Mn&&Gr(l),p0(l),u===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(r(317));e:{for(l=l.nextSibling,u=0;l;){if(l.nodeType===8)if(d=l.data,d==="/$"){if(u===0){Mn=Do(l.nextSibling);break e}u--}else d!=="$"&&d!=="$!"&&d!=="$?"||u++;l=l.nextSibling}Mn=null}}else u===27?(u=Mn,to(l.type)?(l=ec,ec=null,Mn=l):Mn=u):Mn=_i?Do(l.stateNode.nextSibling):null;return!0}function Gf(){Mn=_i=null,cn=!1}function g0(){var l=nr;return l!==null&&(il===null?il=l:il.push.apply(il,l),nr=null),l}function Gs(l){nr===null?nr=[l]:nr.push(l)}var Xs=Ee(null),rs=null,X=null;function Xr(l,u,d){ae(Xs,u._currentValue),u._currentValue=d}function yl(l){l._currentValue=Xs.current,Re(Xs)}function Cr(l,u,d){for(;l!==null;){var v=l.alternate;if((l.childLanes&u)!==u?(l.childLanes|=u,v!==null&&(v.childLanes|=u)):v!==null&&(v.childLanes&u)!==u&&(v.childLanes|=u),l===d)break;l=l.return}}function fn(l,u,d,v){var T=l.child;for(T!==null&&(T.return=l);T!==null;){var D=T.dependencies;if(D!==null){var V=T.child;D=D.firstContext;e:for(;D!==null;){var $=D;D=T;for(var re=0;re<u.length;re++)if($.context===u[re]){D.lanes|=d,$=D.alternate,$!==null&&($.lanes|=d),Cr(D.return,d,l),v||(V=null);break e}D=$.next}}else if(T.tag===18){if(V=T.return,V===null)throw Error(r(341));V.lanes|=d,D=V.alternate,D!==null&&(D.lanes|=d),Cr(V,d,l),V=null}else V=T.child;if(V!==null)V.return=T;else for(V=T;V!==null;){if(V===l){V=null;break}if(T=V.sibling,T!==null){T.return=V.return,V=T;break}V=V.return}T=V}}function Xf(l,u,d,v){l=null;for(var T=u,D=!1;T!==null;){if(!D){if((T.flags&524288)!==0)D=!0;else if((T.flags&262144)!==0)break}if(T.tag===10){var V=T.alternate;if(V===null)throw Error(r(387));if(V=V.memoizedProps,V!==null){var $=T.type;ka(T.pendingProps.value,V.value)||(l!==null?l.push($):l=[$])}}else if(T===at.current){if(V=T.alternate,V===null)throw Error(r(387));V.memoizedState.memoizedState!==T.memoizedState.memoizedState&&(l!==null?l.push(Lr):l=[Lr])}T=T.return}l!==null&&fn(u,l,d,v),u.flags|=262144}function mh(l){for(l=l.firstContext;l!==null;){if(!ka(l.context._currentValue,l.memoizedValue))return!0;l=l.next}return!1}function Nu(l){rs=l,X=null,l=l.dependencies,l!==null&&(l.firstContext=null)}function Ri(l){return m0(rs,l)}function yh(l,u){return rs===null&&Nu(l),m0(l,u)}function m0(l,u){var d=u._currentValue;if(u={context:u,memoizedValue:d,next:null},X===null){if(l===null)throw Error(r(308));X=u,l.dependencies={lanes:0,firstContext:u},l.flags|=524288}else X=X.next=u;return d}var $f=typeof AbortController<"u"?AbortController:function(){var l=[],u=this.signal={aborted:!1,addEventListener:function(d,v){l.push(v)}};this.abort=function(){u.aborted=!0,l.forEach(function(d){return d()})}},eg=e.unstable_scheduleCallback,xv=e.unstable_NormalPriority,ui={$$typeof:P,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Qf(){return{controller:new $f,data:new Map,refCount:0}}function ls(l){l.refCount--,l.refCount===0&&eg(xv,function(){l.controller.abort()})}var Bu=null,vh=0,Gl=0,ci=null;function tg(l,u){if(Bu===null){var d=Bu=[];vh=0,Gl=Ku(),ci={status:"pending",value:void 0,then:function(v){d.push(v)}}}return vh++,u.then(ng,ng),u}function ng(){if(--vh===0&&Bu!==null){ci!==null&&(ci.status="fulfilled");var l=Bu;Bu=null,Gl=0,ci=null;for(var u=0;u<l.length;u++)(0,l[u])()}}function Sv(l,u){var d=[],v={status:"pending",value:null,reason:null,then:function(T){d.push(T)}};return l.then(function(){v.status="fulfilled",v.value=u;for(var T=0;T<d.length;T++)(0,d[T])(u)},function(T){for(v.status="rejected",v.reason=T,T=0;T<d.length;T++)(0,d[T])(void 0)}),v}var ig=ee.S;ee.S=function(l,u){typeof u=="object"&&u!==null&&typeof u.then=="function"&&tg(l,u),ig!==null&&ig(l,u)};var os=Ee(null);function mo(){var l=os.current;return l!==null?l:fi.pooledCache}function kc(l,u){u===null?ae(os,os.current):ae(os,u.pool)}function ag(){var l=mo();return l===null?null:{parent:ui._currentValue,pool:l}}var Ca=Error(r(460)),rg=Error(r(474)),bh=Error(r(542)),lg={then:function(){}};function og(l){return l=l.status,l==="fulfilled"||l==="rejected"}function xh(){}function sg(l,u,d){switch(d=l[d],d===void 0?l.push(u):d!==u&&(u.then(xh,xh),u=d),u.status){case"fulfilled":return u.value;case"rejected":throw l=u.reason,v0(l),l;default:if(typeof u.status=="string")u.then(xh,xh);else{if(l=fi,l!==null&&100<l.shellSuspendCounter)throw Error(r(482));l=u,l.status="pending",l.then(function(v){if(u.status==="pending"){var T=u;T.status="fulfilled",T.value=v}},function(v){if(u.status==="pending"){var T=u;T.status="rejected",T.reason=v}})}switch(u.status){case"fulfilled":return u.value;case"rejected":throw l=u.reason,v0(l),l}throw Lu=u,Ca}}var Lu=null;function y0(){if(Lu===null)throw Error(r(459));var l=Lu;return Lu=null,l}function v0(l){if(l===Ca||l===bh)throw Error(r(483))}var Xl=!1;function ku(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function zc(l,u){l=l.updateQueue,u.updateQueue===l&&(u.updateQueue={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,callbacks:null})}function $r(l){return{lane:l,tag:0,payload:null,callback:null,next:null}}function yo(l,u,d){var v=l.updateQueue;if(v===null)return null;if(v=v.shared,(Vn&2)!==0){var T=v.pending;return T===null?u.next=u:(u.next=T.next,T.next=u),v.pending=u,u=qf(l),Vs(l,null,d),u}return Ar(l,v,u,d),qf(l)}function Uc(l,u,d){if(u=u.updateQueue,u!==null&&(u=u.shared,(d&4194048)!==0)){var v=u.lanes;v&=l.pendingLanes,d|=v,u.lanes=d,Za(l,d)}}function vo(l,u){var d=l.updateQueue,v=l.alternate;if(v!==null&&(v=v.updateQueue,d===v)){var T=null,D=null;if(d=d.firstBaseUpdate,d!==null){do{var V={lane:d.lane,tag:d.tag,payload:d.payload,callback:null,next:null};D===null?T=D=V:D=D.next=V,d=d.next}while(d!==null);D===null?T=D=u:D=D.next=u}else T=D=u;d={baseState:v.baseState,firstBaseUpdate:T,lastBaseUpdate:D,shared:v.shared,callbacks:v.callbacks},l.updateQueue=d;return}l=d.lastBaseUpdate,l===null?d.firstBaseUpdate=u:l.next=u,d.lastBaseUpdate=u}var Sh=!1;function $l(){if(Sh){var l=ci;if(l!==null)throw l}}function sa(l,u,d,v){Sh=!1;var T=l.updateQueue;Xl=!1;var D=T.firstBaseUpdate,V=T.lastBaseUpdate,$=T.shared.pending;if($!==null){T.shared.pending=null;var re=$,Ce=re.next;re.next=null,V===null?D=Ce:V.next=Ce,V=re;var Xe=l.alternate;Xe!==null&&(Xe=Xe.updateQueue,$=Xe.lastBaseUpdate,$!==V&&($===null?Xe.firstBaseUpdate=Ce:$.next=Ce,Xe.lastBaseUpdate=re))}if(D!==null){var We=T.baseState;V=0,Xe=Ce=re=null,$=D;do{var Ne=$.lane&-536870913,_e=Ne!==$.lane;if(_e?(yn&Ne)===Ne:(v&Ne)===Ne){Ne!==0&&Ne===Gl&&(Sh=!0),Xe!==null&&(Xe=Xe.next={lane:0,tag:$.tag,payload:$.payload,callback:null,next:null});e:{var At=l,wt=$;Ne=u;var In=d;switch(wt.tag){case 1:if(At=wt.payload,typeof At=="function"){We=At.call(In,We,Ne);break e}We=At;break e;case 3:At.flags=At.flags&-65537|128;case 0:if(At=wt.payload,Ne=typeof At=="function"?At.call(In,We,Ne):At,Ne==null)break e;We=S({},We,Ne);break e;case 2:Xl=!0}}Ne=$.callback,Ne!==null&&(l.flags|=64,_e&&(l.flags|=8192),_e=T.callbacks,_e===null?T.callbacks=[Ne]:_e.push(Ne))}else _e={lane:Ne,tag:$.tag,payload:$.payload,callback:$.callback,next:null},Xe===null?(Ce=Xe=_e,re=We):Xe=Xe.next=_e,V|=Ne;if($=$.next,$===null){if($=T.shared.pending,$===null)break;_e=$,$=_e.next,_e.next=null,T.lastBaseUpdate=_e,T.shared.pending=null}}while(!0);Xe===null&&(re=We),T.baseState=re,T.firstBaseUpdate=Ce,T.lastBaseUpdate=Xe,D===null&&(T.shared.lanes=0),lu|=V,l.lanes=V,l.memoizedState=We}}function ug(l,u){if(typeof l!="function")throw Error(r(191,l));l.call(u)}function Zf(l,u){var d=l.callbacks;if(d!==null)for(l.callbacks=null,l=0;l<d.length;l++)ug(d[l],u)}var zu=Ee(null),$s=Ee(0);function wi(l,u){l=ru,ae($s,l),ae(zu,u),ru=l|u.baseLanes}function Hc(){ae($s,ru),ae(zu,zu.current)}function Wf(){ru=$s.current,Re(zu),Re($s)}var _r=0,Gt=null,jn=null,rn=null,jc=!1,Qr=!1,Ua=!1,vl=0,ar=0,wr=null,cg=0;function gn(){throw Error(r(321))}function Kf(l,u){if(u===null)return!1;for(var d=0;d<u.length&&d<l.length;d++)if(!ka(l[d],u[d]))return!1;return!0}function fg(l,u,d,v,T,D){return _r=D,Gt=u,u.memoizedState=null,u.updateQueue=null,u.lanes=0,ee.H=l===null||l.memoizedState===null?C0:Tg,Ua=!1,D=d(v,T),Ua=!1,Qr&&(D=b0(u,d,v,T)),Uu(l),D}function Uu(l){ee.H=Lh;var u=jn!==null&&jn.next!==null;if(_r=0,rn=jn=Gt=null,jc=!1,ar=0,wr=null,u)throw Error(r(300));l===null||ma||(l=l.dependencies,l!==null&&mh(l)&&(ma=!0))}function b0(l,u,d,v){Gt=l;var T=0;do{if(Qr&&(wr=null),ar=0,Qr=!1,25<=T)throw Error(r(301));if(T+=1,rn=jn=null,l.updateQueue!=null){var D=l.updateQueue;D.lastEffect=null,D.events=null,D.stores=null,D.memoCache!=null&&(D.memoCache.index=0)}ee.H=fs,D=u(d,v)}while(Qr);return D}function dg(){var l=ee.H,u=l.useState()[0];return u=typeof u.then=="function"?Ah(u):u,l=l.useState()[0],(jn!==null?jn.memoizedState:null)!==l&&(Gt.flags|=1024),u}function hg(){var l=vl!==0;return vl=0,l}function ss(l,u,d){u.updateQueue=l.updateQueue,u.flags&=-2053,l.lanes&=~d}function Eh(l){if(jc){for(l=l.memoizedState;l!==null;){var u=l.queue;u!==null&&(u.pending=null),l=l.next}jc=!1}_r=0,rn=jn=Gt=null,Qr=!1,ar=vl=0,wr=null}function rr(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return rn===null?Gt.memoizedState=rn=l:rn=rn.next=l,rn}function qi(){if(jn===null){var l=Gt.alternate;l=l!==null?l.memoizedState:null}else l=jn.next;var u=rn===null?Gt.memoizedState:rn.next;if(u!==null)rn=u,jn=l;else{if(l===null)throw Gt.alternate===null?Error(r(467)):Error(r(310));jn=l,l={memoizedState:jn.memoizedState,baseState:jn.baseState,baseQueue:jn.baseQueue,queue:jn.queue,next:null},rn===null?Gt.memoizedState=rn=l:rn=rn.next=l}return rn}function Qs(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ah(l){var u=ar;return ar+=1,wr===null&&(wr=[]),l=sg(wr,l,u),u=Gt,(rn===null?u.memoizedState:rn.next)===null&&(u=u.alternate,ee.H=u===null||u.memoizedState===null?C0:Tg),l}function ua(l){if(l!==null&&typeof l=="object"){if(typeof l.then=="function")return Ah(l);if(l.$$typeof===P)return Ri(l)}throw Error(r(438,String(l)))}function Jf(l){var u=null,d=Gt.updateQueue;if(d!==null&&(u=d.memoCache),u==null){var v=Gt.alternate;v!==null&&(v=v.updateQueue,v!==null&&(v=v.memoCache,v!=null&&(u={data:v.data.map(function(T){return T.slice()}),index:0})))}if(u==null&&(u={data:[],index:0}),d===null&&(d=Qs(),Gt.updateQueue=d),d.memoCache=u,d=u.data[u.index],d===void 0)for(d=u.data[u.index]=Array(l),v=0;v<l;v++)d[v]=ge;return u.index++,d}function bo(l,u){return typeof u=="function"?u(l):u}function Th(l){var u=qi();return pg(u,jn,l)}function pg(l,u,d){var v=l.queue;if(v===null)throw Error(r(311));v.lastRenderedReducer=d;var T=l.baseQueue,D=v.pending;if(D!==null){if(T!==null){var V=T.next;T.next=D.next,D.next=V}u.baseQueue=T=D,v.pending=null}if(D=l.baseState,T===null)l.memoizedState=D;else{u=T.next;var $=V=null,re=null,Ce=u,Xe=!1;do{var We=Ce.lane&-536870913;if(We!==Ce.lane?(yn&We)===We:(_r&We)===We){var Ne=Ce.revertLane;if(Ne===0)re!==null&&(re=re.next={lane:0,revertLane:0,action:Ce.action,hasEagerState:Ce.hasEagerState,eagerState:Ce.eagerState,next:null}),We===Gl&&(Xe=!0);else if((_r&Ne)===Ne){Ce=Ce.next,Ne===Gl&&(Xe=!0);continue}else We={lane:0,revertLane:Ce.revertLane,action:Ce.action,hasEagerState:Ce.hasEagerState,eagerState:Ce.eagerState,next:null},re===null?($=re=We,V=D):re=re.next=We,Gt.lanes|=Ne,lu|=Ne;We=Ce.action,Ua&&d(D,We),D=Ce.hasEagerState?Ce.eagerState:d(D,We)}else Ne={lane:We,revertLane:Ce.revertLane,action:Ce.action,hasEagerState:Ce.hasEagerState,eagerState:Ce.eagerState,next:null},re===null?($=re=Ne,V=D):re=re.next=Ne,Gt.lanes|=We,lu|=We;Ce=Ce.next}while(Ce!==null&&Ce!==u);if(re===null?V=D:re.next=$,!ka(D,l.memoizedState)&&(ma=!0,Xe&&(d=ci,d!==null)))throw d;l.memoizedState=D,l.baseState=V,l.baseQueue=re,v.lastRenderedState=D}return T===null&&(v.lanes=0),[l.memoizedState,v.dispatch]}function gg(l){var u=qi(),d=u.queue;if(d===null)throw Error(r(311));d.lastRenderedReducer=l;var v=d.dispatch,T=d.pending,D=u.memoizedState;if(T!==null){d.pending=null;var V=T=T.next;do D=l(D,V.action),V=V.next;while(V!==T);ka(D,u.memoizedState)||(ma=!0),u.memoizedState=D,u.baseQueue===null&&(u.baseState=D),d.lastRenderedState=D}return[D,v]}function ed(l,u,d){var v=Gt,T=qi(),D=cn;if(D){if(d===void 0)throw Error(r(407));d=d()}else d=u();var V=!ka((jn||T).memoizedState,d);V&&(T.memoizedState=d,ma=!0),T=T.queue;var $=Ch.bind(null,v,T,l);if(ii(2048,8,$,[l]),T.getSnapshot!==u||V||rn!==null&&rn.memoizedState.tag&1){if(v.flags|=2048,Zr(9,Oh(),x0.bind(null,v,T,d,u),null),fi===null)throw Error(r(349));D||(_r&124)!==0||td(v,u,d)}return d}function td(l,u,d){l.flags|=16384,l={getSnapshot:u,value:d},u=Gt.updateQueue,u===null?(u=Qs(),Gt.updateQueue=u,u.stores=[l]):(d=u.stores,d===null?u.stores=[l]:d.push(l))}function x0(l,u,d,v){u.value=d,u.getSnapshot=v,mg(u)&&_h(l)}function Ch(l,u,d){return d(function(){mg(u)&&_h(l)})}function mg(l){var u=l.getSnapshot;l=l.value;try{var d=u();return!ka(l,d)}catch{return!0}}function _h(l){var u=po(l,2);u!==null&&Sl(u,l,2)}function nd(l){var u=rr();if(typeof l=="function"){var d=l;if(l=d(),Ua){xt(!0);try{d()}finally{xt(!1)}}}return u.memoizedState=u.baseState=l,u.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:bo,lastRenderedState:l},u}function Fc(l,u,d,v){return l.baseState=d,pg(l,jn,typeof v=="function"?v:bo)}function Ev(l,u,d,v,T){if(Pc(l))throw Error(r(485));if(l=u.action,l!==null){var D={payload:T,action:l,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(V){D.listeners.push(V)}};ee.T!==null?d(!0):D.isTransition=!1,v(D),d=u.pending,d===null?(D.next=u.pending=D,wh(u,D)):(D.next=d.next,u.pending=d.next=D)}}function wh(l,u){var d=u.action,v=u.payload,T=l.state;if(u.isTransition){var D=ee.T,V={};ee.T=V;try{var $=d(T,v),re=ee.S;re!==null&&re(V,$),id(l,u,$)}catch(Ce){Dh(l,u,Ce)}finally{ee.T=D}}else try{D=d(T,v),id(l,u,D)}catch(Ce){Dh(l,u,Ce)}}function id(l,u,d){d!==null&&typeof d=="object"&&typeof d.then=="function"?d.then(function(v){yg(l,u,v)},function(v){return Dh(l,u,v)}):yg(l,u,d)}function yg(l,u,d){u.status="fulfilled",u.value=d,S0(u),l.state=d,u=l.pending,u!==null&&(d=u.next,d===u?l.pending=null:(d=d.next,u.next=d,wh(l,d)))}function Dh(l,u,d){var v=l.pending;if(l.pending=null,v!==null){v=v.next;do u.status="rejected",u.reason=d,S0(u),u=u.next;while(u!==v)}l.action=null}function S0(l){l=l.listeners;for(var u=0;u<l.length;u++)(0,l[u])()}function ad(l,u){return u}function vg(l,u){if(cn){var d=fi.formState;if(d!==null){e:{var v=Gt;if(cn){if(Mn){t:{for(var T=Mn,D=ir;T.nodeType!==8;){if(!D){T=null;break t}if(T=Do(T.nextSibling),T===null){T=null;break t}}D=T.data,T=D==="F!"||D==="F"?T:null}if(T){Mn=Do(T.nextSibling),v=T.data==="F!";break e}}Gr(v)}v=!1}v&&(u=d[0])}}return d=rr(),d.memoizedState=d.baseState=u,v={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ad,lastRenderedState:u},d.queue=v,d=Eg.bind(null,Gt,v),v.dispatch=d,v=nd(!1),D=Bh.bind(null,Gt,!1,v.queue),v=rr(),T={state:u,dispatch:null,action:l,pending:null},v.queue=T,d=Ev.bind(null,Gt,T,D,d),T.dispatch=d,v.memoizedState=l,[u,d,!1]}function Ql(l){var u=qi();return bg(u,jn,l)}function bg(l,u,d){if(u=pg(l,u,ad)[0],l=Th(bo)[0],typeof u=="object"&&u!==null&&typeof u.then=="function")try{var v=Ah(u)}catch(V){throw V===Ca?bh:V}else v=u;u=qi();var T=u.queue,D=T.dispatch;return d!==u.memoizedState&&(Gt.flags|=2048,Zr(9,Oh(),E0.bind(null,T,d),null)),[v,D,l]}function E0(l,u){l.action=u}function Xt(l){var u=qi(),d=jn;if(d!==null)return bg(u,d,l);qi(),u=u.memoizedState,d=qi();var v=d.queue.dispatch;return d.memoizedState=l,[u,v,!1]}function Zr(l,u,d,v){return l={tag:l,create:d,deps:v,inst:u,next:null},u=Gt.updateQueue,u===null&&(u=Qs(),Gt.updateQueue=u),d=u.lastEffect,d===null?u.lastEffect=l.next=l:(v=d.next,d.next=l,l.next=v,u.lastEffect=l),l}function Oh(){return{destroy:void 0,resource:void 0}}function Zs(){return qi().memoizedState}function Ws(l,u,d,v){var T=rr();v=v===void 0?null:v,Gt.flags|=l,T.memoizedState=Zr(1|u,Oh(),d,v)}function ii(l,u,d,v){var T=qi();v=v===void 0?null:v;var D=T.memoizedState.inst;jn!==null&&v!==null&&Kf(v,jn.memoizedState.deps)?T.memoizedState=Zr(u,D,d,v):(Gt.flags|=l,T.memoizedState=Zr(1|u,D,d,v))}function Av(l,u){Ws(8390656,8,l,u)}function bl(l,u){ii(2048,8,l,u)}function A0(l,u){return ii(4,2,l,u)}function Wr(l,u){return ii(4,4,l,u)}function Rh(l,u){if(typeof u=="function"){l=l();var d=u(l);return function(){typeof d=="function"?d():u(null)}}if(u!=null)return l=l(),u.current=l,function(){u.current=null}}function Mh(l,u,d){d=d!=null?d.concat([l]):null,ii(4,4,Rh.bind(null,u,l),d)}function Hu(){}function pa(l,u){var d=qi();u=u===void 0?null:u;var v=d.memoizedState;return u!==null&&Kf(u,v[1])?v[0]:(d.memoizedState=[l,u],l)}function us(l,u){var d=qi();u=u===void 0?null:u;var v=d.memoizedState;if(u!==null&&Kf(u,v[1]))return v[0];if(v=l(),Ua){xt(!0);try{l()}finally{xt(!1)}}return d.memoizedState=[v,u],v}function Ic(l,u,d){return d===void 0||(_r&1073741824)!==0?l.memoizedState=u:(l.memoizedState=d,l=V0(),Gt.lanes|=l,lu|=l,d)}function xg(l,u,d,v){return ka(d,u)?d:zu.current!==null?(l=Ic(l,d,v),ka(l,u)||(ma=!0),l):(_r&42)===0?(ma=!0,l.memoizedState=d):(l=V0(),Gt.lanes|=l,lu|=l,u)}function Nh(l,u,d,v,T){var D=le.p;le.p=D!==0&&8>D?D:8;var V=ee.T,$={};ee.T=$,Bh(l,!1,u,d);try{var re=T(),Ce=ee.S;if(Ce!==null&&Ce($,re),re!==null&&typeof re=="object"&&typeof re.then=="function"){var Xe=Sv(re,v);Js(l,u,Xe,sr(l))}else Js(l,u,v,sr(l))}catch(We){Js(l,u,{then:function(){},status:"rejected",reason:We},sr())}finally{le.p=D,ee.T=V}}function Tv(){}function rd(l,u,d,v){if(l.tag!==5)throw Error(r(476));var T=T0(l).queue;Nh(l,T,u,ve,d===null?Tv:function(){return ju(l),d(v)})}function T0(l){var u=l.memoizedState;if(u!==null)return u;u={memoizedState:ve,baseState:ve,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:bo,lastRenderedState:ve},next:null};var d={};return u.next={memoizedState:d,baseState:d,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:bo,lastRenderedState:d},next:null},l.memoizedState=u,l=l.alternate,l!==null&&(l.memoizedState=u),u}function ju(l){var u=T0(l).next.queue;Js(l,u,{},sr())}function Kr(){return Ri(Lr)}function cs(){return qi().memoizedState}function Cv(){return qi().memoizedState}function Ks(l){for(var u=l.return;u!==null;){switch(u.tag){case 24:case 3:var d=sr();l=$r(d);var v=yo(u,l,d);v!==null&&(Sl(v,u,d),Uc(v,u,d)),u={cache:Qf()},l.payload=u;return}u=u.return}}function Sg(l,u,d){var v=sr();d={lane:v,revertLane:0,action:d,hasEagerState:!1,eagerState:null,next:null},Pc(l)?_v(u,d):(d=qs(l,u,d,v),d!==null&&(Sl(d,l,v),Ag(d,u,v)))}function Eg(l,u,d){var v=sr();Js(l,u,d,v)}function Js(l,u,d,v){var T={lane:v,revertLane:0,action:d,hasEagerState:!1,eagerState:null,next:null};if(Pc(l))_v(u,T);else{var D=l.alternate;if(l.lanes===0&&(D===null||D.lanes===0)&&(D=u.lastRenderedReducer,D!==null))try{var V=u.lastRenderedState,$=D(V,d);if(T.hasEagerState=!0,T.eagerState=$,ka($,V))return Ar(l,u,T,0),fi===null&&Vr(),!1}catch{}finally{}if(d=qs(l,u,T,v),d!==null)return Sl(d,l,v),Ag(d,u,v),!0}return!1}function Bh(l,u,d,v){if(v={lane:2,revertLane:Ku(),action:v,hasEagerState:!1,eagerState:null,next:null},Pc(l)){if(u)throw Error(r(479))}else u=qs(l,d,v,2),u!==null&&Sl(u,l,2)}function Pc(l){var u=l.alternate;return l===Gt||u!==null&&u===Gt}function _v(l,u){Qr=jc=!0;var d=l.pending;d===null?u.next=u:(u.next=d.next,d.next=u),l.pending=u}function Ag(l,u,d){if((d&4194048)!==0){var v=u.lanes;v&=l.pendingLanes,d|=v,u.lanes=d,Za(l,d)}}var Lh={readContext:Ri,use:ua,useCallback:gn,useContext:gn,useEffect:gn,useImperativeHandle:gn,useLayoutEffect:gn,useInsertionEffect:gn,useMemo:gn,useReducer:gn,useRef:gn,useState:gn,useDebugValue:gn,useDeferredValue:gn,useTransition:gn,useSyncExternalStore:gn,useId:gn,useHostTransitionStatus:gn,useFormState:gn,useActionState:gn,useOptimistic:gn,useMemoCache:gn,useCacheRefresh:gn},C0={readContext:Ri,use:ua,useCallback:function(l,u){return rr().memoizedState=[l,u===void 0?null:u],l},useContext:Ri,useEffect:Av,useImperativeHandle:function(l,u,d){d=d!=null?d.concat([l]):null,Ws(4194308,4,Rh.bind(null,u,l),d)},useLayoutEffect:function(l,u){return Ws(4194308,4,l,u)},useInsertionEffect:function(l,u){Ws(4,2,l,u)},useMemo:function(l,u){var d=rr();u=u===void 0?null:u;var v=l();if(Ua){xt(!0);try{l()}finally{xt(!1)}}return d.memoizedState=[v,u],v},useReducer:function(l,u,d){var v=rr();if(d!==void 0){var T=d(u);if(Ua){xt(!0);try{d(u)}finally{xt(!1)}}}else T=u;return v.memoizedState=v.baseState=T,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:T},v.queue=l,l=l.dispatch=Sg.bind(null,Gt,l),[v.memoizedState,l]},useRef:function(l){var u=rr();return l={current:l},u.memoizedState=l},useState:function(l){l=nd(l);var u=l.queue,d=Eg.bind(null,Gt,u);return u.dispatch=d,[l.memoizedState,d]},useDebugValue:Hu,useDeferredValue:function(l,u){var d=rr();return Ic(d,l,u)},useTransition:function(){var l=nd(!1);return l=Nh.bind(null,Gt,l.queue,!0,!1),rr().memoizedState=l,[!1,l]},useSyncExternalStore:function(l,u,d){var v=Gt,T=rr();if(cn){if(d===void 0)throw Error(r(407));d=d()}else{if(d=u(),fi===null)throw Error(r(349));(yn&124)!==0||td(v,u,d)}T.memoizedState=d;var D={value:d,getSnapshot:u};return T.queue=D,Av(Ch.bind(null,v,D,l),[l]),v.flags|=2048,Zr(9,Oh(),x0.bind(null,v,D,d,u),null),d},useId:function(){var l=rr(),u=fi.identifierPrefix;if(cn){var d=Pi,v=bi;d=(v&~(1<<32-Ln(v)-1)).toString(32)+d,u="«"+u+"R"+d,d=vl++,0<d&&(u+="H"+d.toString(32)),u+="»"}else d=cg++,u="«"+u+"r"+d.toString(32)+"»";return l.memoizedState=u},useHostTransitionStatus:Kr,useFormState:vg,useActionState:vg,useOptimistic:function(l){var u=rr();u.memoizedState=u.baseState=l;var d={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return u.queue=d,u=Bh.bind(null,Gt,!0,d),d.dispatch=u,[l,u]},useMemoCache:Jf,useCacheRefresh:function(){return rr().memoizedState=Ks.bind(null,Gt)}},Tg={readContext:Ri,use:ua,useCallback:pa,useContext:Ri,useEffect:bl,useImperativeHandle:Mh,useInsertionEffect:A0,useLayoutEffect:Wr,useMemo:us,useReducer:Th,useRef:Zs,useState:function(){return Th(bo)},useDebugValue:Hu,useDeferredValue:function(l,u){var d=qi();return xg(d,jn.memoizedState,l,u)},useTransition:function(){var l=Th(bo)[0],u=qi().memoizedState;return[typeof l=="boolean"?l:Ah(l),u]},useSyncExternalStore:ed,useId:cs,useHostTransitionStatus:Kr,useFormState:Ql,useActionState:Ql,useOptimistic:function(l,u){var d=qi();return Fc(d,jn,l,u)},useMemoCache:Jf,useCacheRefresh:Cv},fs={readContext:Ri,use:ua,useCallback:pa,useContext:Ri,useEffect:bl,useImperativeHandle:Mh,useInsertionEffect:A0,useLayoutEffect:Wr,useMemo:us,useReducer:gg,useRef:Zs,useState:function(){return gg(bo)},useDebugValue:Hu,useDeferredValue:function(l,u){var d=qi();return jn===null?Ic(d,l,u):xg(d,jn.memoizedState,l,u)},useTransition:function(){var l=gg(bo)[0],u=qi().memoizedState;return[typeof l=="boolean"?l:Ah(l),u]},useSyncExternalStore:ed,useId:cs,useHostTransitionStatus:Kr,useFormState:Xt,useActionState:Xt,useOptimistic:function(l,u){var d=qi();return jn!==null?Fc(d,jn,l,u):(d.baseState=l,[l,d.queue.dispatch])},useMemoCache:Jf,useCacheRefresh:Cv},ca=null,Dr=0;function Cg(l){var u=Dr;return Dr+=1,ca===null&&(ca=[]),sg(ca,l,u)}function qc(l,u){u=u.props.ref,l.ref=u!==void 0?u:null}function ga(l,u){throw u.$$typeof===E?Error(r(525)):(l=Object.prototype.toString.call(u),Error(r(31,l==="[object Object]"?"object with keys {"+Object.keys(u).join(", ")+"}":l)))}function Fu(l){var u=l._init;return u(l._payload)}function Or(l){function u(xe,he){if(l){var Te=xe.deletions;Te===null?(xe.deletions=[he],xe.flags|=16):Te.push(he)}}function d(xe,he){if(!l)return null;for(;he!==null;)u(xe,he),he=he.sibling;return null}function v(xe){for(var he=new Map;xe!==null;)xe.key!==null?he.set(xe.key,xe):he.set(xe.index,xe),xe=xe.sibling;return he}function T(xe,he){return xe=za(xe,he),xe.index=0,xe.sibling=null,xe}function D(xe,he,Te){return xe.index=Te,l?(Te=xe.alternate,Te!==null?(Te=Te.index,Te<he?(xe.flags|=67108866,he):Te):(xe.flags|=67108866,he)):(xe.flags|=1048576,he)}function V(xe){return l&&xe.alternate===null&&(xe.flags|=67108866),xe}function $(xe,he,Te,Ze){return he===null||he.tag!==6?(he=Vf(Te,xe.mode,Ze),he.return=xe,he):(he=T(he,Te),he.return=xe,he)}function re(xe,he,Te,Ze){var dt=Te.type;return dt===M?Xe(xe,he,Te.props.children,Ze,Te.key):he!==null&&(he.elementType===dt||typeof dt=="object"&&dt!==null&&dt.$$typeof===K&&Fu(dt)===he.type)?(he=T(he,Te.props),qc(he,Te),he.return=xe,he):(he=tt(Te.type,Te.key,Te.props,null,xe.mode,Ze),qc(he,Te),he.return=xe,he)}function Ce(xe,he,Te,Ze){return he===null||he.tag!==4||he.stateNode.containerInfo!==Te.containerInfo||he.stateNode.implementation!==Te.implementation?(he=vi(Te,xe.mode,Ze),he.return=xe,he):(he=T(he,Te.children||[]),he.return=xe,he)}function Xe(xe,he,Te,Ze,dt){return he===null||he.tag!==7?(he=ql(Te,xe.mode,Ze,dt),he.return=xe,he):(he=T(he,Te),he.return=xe,he)}function We(xe,he,Te){if(typeof he=="string"&&he!==""||typeof he=="number"||typeof he=="bigint")return he=Vf(""+he,xe.mode,Te),he.return=xe,he;if(typeof he=="object"&&he!==null){switch(he.$$typeof){case _:return Te=tt(he.type,he.key,he.props,null,xe.mode,Te),qc(Te,he),Te.return=xe,Te;case O:return he=vi(he,xe.mode,Te),he.return=xe,he;case K:var Ze=he._init;return he=Ze(he._payload),We(xe,he,Te)}if(Fe(he)||be(he))return he=ql(he,xe.mode,Te,null),he.return=xe,he;if(typeof he.then=="function")return We(xe,Cg(he),Te);if(he.$$typeof===P)return We(xe,yh(xe,he),Te);ga(xe,he)}return null}function Ne(xe,he,Te,Ze){var dt=he!==null?he.key:null;if(typeof Te=="string"&&Te!==""||typeof Te=="number"||typeof Te=="bigint")return dt!==null?null:$(xe,he,""+Te,Ze);if(typeof Te=="object"&&Te!==null){switch(Te.$$typeof){case _:return Te.key===dt?re(xe,he,Te,Ze):null;case O:return Te.key===dt?Ce(xe,he,Te,Ze):null;case K:return dt=Te._init,Te=dt(Te._payload),Ne(xe,he,Te,Ze)}if(Fe(Te)||be(Te))return dt!==null?null:Xe(xe,he,Te,Ze,null);if(typeof Te.then=="function")return Ne(xe,he,Cg(Te),Ze);if(Te.$$typeof===P)return Ne(xe,he,yh(xe,Te),Ze);ga(xe,Te)}return null}function _e(xe,he,Te,Ze,dt){if(typeof Ze=="string"&&Ze!==""||typeof Ze=="number"||typeof Ze=="bigint")return xe=xe.get(Te)||null,$(he,xe,""+Ze,dt);if(typeof Ze=="object"&&Ze!==null){switch(Ze.$$typeof){case _:return xe=xe.get(Ze.key===null?Te:Ze.key)||null,re(he,xe,Ze,dt);case O:return xe=xe.get(Ze.key===null?Te:Ze.key)||null,Ce(he,xe,Ze,dt);case K:var ln=Ze._init;return Ze=ln(Ze._payload),_e(xe,he,Te,Ze,dt)}if(Fe(Ze)||be(Ze))return xe=xe.get(Te)||null,Xe(he,xe,Ze,dt,null);if(typeof Ze.then=="function")return _e(xe,he,Te,Cg(Ze),dt);if(Ze.$$typeof===P)return _e(xe,he,Te,yh(he,Ze),dt);ga(he,Ze)}return null}function At(xe,he,Te,Ze){for(var dt=null,ln=null,St=he,zt=he=0,Oa=null;St!==null&&zt<Te.length;zt++){St.index>zt?(Oa=St,St=null):Oa=St.sibling;var Cn=Ne(xe,St,Te[zt],Ze);if(Cn===null){St===null&&(St=Oa);break}l&&St&&Cn.alternate===null&&u(xe,St),he=D(Cn,he,zt),ln===null?dt=Cn:ln.sibling=Cn,ln=Cn,St=Oa}if(zt===Te.length)return d(xe,St),cn&&Tn(xe,zt),dt;if(St===null){for(;zt<Te.length;zt++)St=We(xe,Te[zt],Ze),St!==null&&(he=D(St,he,zt),ln===null?dt=St:ln.sibling=St,ln=St);return cn&&Tn(xe,zt),dt}for(St=v(St);zt<Te.length;zt++)Oa=_e(St,xe,zt,Te[zt],Ze),Oa!==null&&(l&&Oa.alternate!==null&&St.delete(Oa.key===null?zt:Oa.key),he=D(Oa,he,zt),ln===null?dt=Oa:ln.sibling=Oa,ln=Oa);return l&&St.forEach(function(ic){return u(xe,ic)}),cn&&Tn(xe,zt),dt}function wt(xe,he,Te,Ze){if(Te==null)throw Error(r(151));for(var dt=null,ln=null,St=he,zt=he=0,Oa=null,Cn=Te.next();St!==null&&!Cn.done;zt++,Cn=Te.next()){St.index>zt?(Oa=St,St=null):Oa=St.sibling;var ic=Ne(xe,St,Cn.value,Ze);if(ic===null){St===null&&(St=Oa);break}l&&St&&ic.alternate===null&&u(xe,St),he=D(ic,he,zt),ln===null?dt=ic:ln.sibling=ic,ln=ic,St=Oa}if(Cn.done)return d(xe,St),cn&&Tn(xe,zt),dt;if(St===null){for(;!Cn.done;zt++,Cn=Te.next())Cn=We(xe,Cn.value,Ze),Cn!==null&&(he=D(Cn,he,zt),ln===null?dt=Cn:ln.sibling=Cn,ln=Cn);return cn&&Tn(xe,zt),dt}for(St=v(St);!Cn.done;zt++,Cn=Te.next())Cn=_e(St,xe,zt,Cn.value,Ze),Cn!==null&&(l&&Cn.alternate!==null&&St.delete(Cn.key===null?zt:Cn.key),he=D(Cn,he,zt),ln===null?dt=Cn:ln.sibling=Cn,ln=Cn);return l&&St.forEach(function(j1){return u(xe,j1)}),cn&&Tn(xe,zt),dt}function In(xe,he,Te,Ze){if(typeof Te=="object"&&Te!==null&&Te.type===M&&Te.key===null&&(Te=Te.props.children),typeof Te=="object"&&Te!==null){switch(Te.$$typeof){case _:e:{for(var dt=Te.key;he!==null;){if(he.key===dt){if(dt=Te.type,dt===M){if(he.tag===7){d(xe,he.sibling),Ze=T(he,Te.props.children),Ze.return=xe,xe=Ze;break e}}else if(he.elementType===dt||typeof dt=="object"&&dt!==null&&dt.$$typeof===K&&Fu(dt)===he.type){d(xe,he.sibling),Ze=T(he,Te.props),qc(Ze,Te),Ze.return=xe,xe=Ze;break e}d(xe,he);break}else u(xe,he);he=he.sibling}Te.type===M?(Ze=ql(Te.props.children,xe.mode,Ze,Te.key),Ze.return=xe,xe=Ze):(Ze=tt(Te.type,Te.key,Te.props,null,xe.mode,Ze),qc(Ze,Te),Ze.return=xe,xe=Ze)}return V(xe);case O:e:{for(dt=Te.key;he!==null;){if(he.key===dt)if(he.tag===4&&he.stateNode.containerInfo===Te.containerInfo&&he.stateNode.implementation===Te.implementation){d(xe,he.sibling),Ze=T(he,Te.children||[]),Ze.return=xe,xe=Ze;break e}else{d(xe,he);break}else u(xe,he);he=he.sibling}Ze=vi(Te,xe.mode,Ze),Ze.return=xe,xe=Ze}return V(xe);case K:return dt=Te._init,Te=dt(Te._payload),In(xe,he,Te,Ze)}if(Fe(Te))return At(xe,he,Te,Ze);if(be(Te)){if(dt=be(Te),typeof dt!="function")throw Error(r(150));return Te=dt.call(Te),wt(xe,he,Te,Ze)}if(typeof Te.then=="function")return In(xe,he,Cg(Te),Ze);if(Te.$$typeof===P)return In(xe,he,yh(xe,Te),Ze);ga(xe,Te)}return typeof Te=="string"&&Te!==""||typeof Te=="number"||typeof Te=="bigint"?(Te=""+Te,he!==null&&he.tag===6?(d(xe,he.sibling),Ze=T(he,Te),Ze.return=xe,xe=Ze):(d(xe,he),Ze=Vf(Te,xe.mode,Ze),Ze.return=xe,xe=Ze),V(xe)):d(xe,he)}return function(xe,he,Te,Ze){try{Dr=0;var dt=In(xe,he,Te,Ze);return ca=null,dt}catch(St){if(St===Ca||St===bh)throw St;var ln=Tr(29,St,null,xe.mode);return ln.lanes=Ze,ln.return=xe,ln}finally{}}}var Iu=Or(!0),ds=Or(!1),Jr=Ee(null),ia=null;function xl(l){var u=l.alternate;ae(Pn,Pn.current&1),ae(Jr,l),ia===null&&(u===null||zu.current!==null||u.memoizedState!==null)&&(ia=l)}function hs(l){if(l.tag===22){if(ae(Pn,Pn.current),ae(Jr,l),ia===null){var u=l.alternate;u!==null&&u.memoizedState!==null&&(ia=l)}}else xo()}function xo(){ae(Pn,Pn.current),ae(Jr,Jr.current)}function Zl(l){Re(Jr),ia===l&&(ia=null),Re(Pn)}var Pn=Ee(0);function ld(l){for(var u=l;u!==null;){if(u.tag===13){var d=u.memoizedState;if(d!==null&&(d=d.dehydrated,d===null||d.data==="$?"||Pa(d)))return u}else if(u.tag===19&&u.memoizedProps.revealOrder!==void 0){if((u.flags&128)!==0)return u}else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===l)break;for(;u.sibling===null;){if(u.return===null||u.return===l)return null;u=u.return}u.sibling.return=u.return,u=u.sibling}return null}function So(l,u,d,v){u=l.memoizedState,d=d(v,u),d=d==null?u:S({},u,d),l.memoizedState=d,l.lanes===0&&(l.updateQueue.baseState=d)}var od={enqueueSetState:function(l,u,d){l=l._reactInternals;var v=sr(),T=$r(v);T.payload=u,d!=null&&(T.callback=d),u=yo(l,T,v),u!==null&&(Sl(u,l,v),Uc(u,l,v))},enqueueReplaceState:function(l,u,d){l=l._reactInternals;var v=sr(),T=$r(v);T.tag=1,T.payload=u,d!=null&&(T.callback=d),u=yo(l,T,v),u!==null&&(Sl(u,l,v),Uc(u,l,v))},enqueueForceUpdate:function(l,u){l=l._reactInternals;var d=sr(),v=$r(d);v.tag=2,u!=null&&(v.callback=u),u=yo(l,v,d),u!==null&&(Sl(u,l,d),Uc(u,l,d))}};function eu(l,u,d,v,T,D,V){return l=l.stateNode,typeof l.shouldComponentUpdate=="function"?l.shouldComponentUpdate(v,D,V):u.prototype&&u.prototype.isPureReactComponent?!gl(d,v)||!gl(T,D):!0}function Vc(l,u,d,v){l=u.state,typeof u.componentWillReceiveProps=="function"&&u.componentWillReceiveProps(d,v),typeof u.UNSAFE_componentWillReceiveProps=="function"&&u.UNSAFE_componentWillReceiveProps(d,v),u.state!==l&&od.enqueueReplaceState(u,u.state,null)}function tu(l,u){var d=u;if("ref"in u){d={};for(var v in u)v!=="ref"&&(d[v]=u[v])}if(l=l.defaultProps){d===u&&(d=S({},d));for(var T in l)d[T]===void 0&&(d[T]=l[T])}return d}var Pu=typeof reportError=="function"?reportError:function(l){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var u=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof l=="object"&&l!==null&&typeof l.message=="string"?String(l.message):String(l),error:l});if(!window.dispatchEvent(u))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",l);return}console.error(l)};function Yc(l){Pu(l)}function kh(l){console.error(l)}function zh(l){Pu(l)}function sd(l,u){try{var d=l.onUncaughtError;d(u.value,{componentStack:u.stack})}catch(v){setTimeout(function(){throw v})}}function Eo(l,u,d){try{var v=l.onCaughtError;v(d.value,{componentStack:d.stack,errorBoundary:u.tag===1?u.stateNode:null})}catch(T){setTimeout(function(){throw T})}}function _g(l,u,d){return d=$r(d),d.tag=3,d.payload={element:null},d.callback=function(){sd(l,u)},d}function wg(l){return l=$r(l),l.tag=3,l}function el(l,u,d,v){var T=d.type.getDerivedStateFromError;if(typeof T=="function"){var D=v.value;l.payload=function(){return T(D)},l.callback=function(){Eo(u,d,v)}}var V=d.stateNode;V!==null&&typeof V.componentDidCatch=="function"&&(l.callback=function(){Eo(u,d,v),typeof T!="function"&&(Qu===null?Qu=new Set([this]):Qu.add(this));var $=v.stack;this.componentDidCatch(v.value,{componentStack:$!==null?$:""})})}function _0(l,u,d,v,T){if(d.flags|=32768,v!==null&&typeof v=="object"&&typeof v.then=="function"){if(u=d.alternate,u!==null&&Xf(u,d,T,!0),d=Jr.current,d!==null){switch(d.tag){case 13:return ia===null?tf():d.alternate===null&&Gi===0&&(Gi=3),d.flags&=-257,d.flags|=65536,d.lanes=T,v===lg?d.flags|=16384:(u=d.updateQueue,u===null?d.updateQueue=new Set([v]):u.add(v),Kg(l,v,T)),!1;case 22:return d.flags|=65536,v===lg?d.flags|=16384:(u=d.updateQueue,u===null?(u={transitions:null,markerInstances:null,retryQueue:new Set([v])},d.updateQueue=u):(d=u.retryQueue,d===null?u.retryQueue=new Set([v]):d.add(v)),Kg(l,v,T)),!1}throw Error(r(435,d.tag))}return Kg(l,v,T),tf(),!1}if(cn)return u=Jr.current,u!==null?((u.flags&65536)===0&&(u.flags|=256),u.flags|=65536,u.lanes=T,v!==as&&(l=Error(r(422),{cause:v}),Gs(tr(l,d)))):(v!==as&&(u=Error(r(423),{cause:v}),Gs(tr(u,d))),l=l.current.alternate,l.flags|=65536,T&=-T,l.lanes|=T,v=tr(v,d),T=_g(l.stateNode,v,T),vo(l,T),Gi!==4&&(Gi=2)),!1;var D=Error(r(520),{cause:v});if(D=tr(D,d),md===null?md=[D]:md.push(D),Gi!==4&&(Gi=2),u===null)return!0;v=tr(v,d),d=u;do{switch(d.tag){case 3:return d.flags|=65536,l=T&-T,d.lanes|=l,l=_g(d.stateNode,v,l),vo(d,l),!1;case 1:if(u=d.type,D=d.stateNode,(d.flags&128)===0&&(typeof u.getDerivedStateFromError=="function"||D!==null&&typeof D.componentDidCatch=="function"&&(Qu===null||!Qu.has(D))))return d.flags|=65536,T&=-T,d.lanes|=T,T=wg(T),el(T,l,d,v),vo(d,T),!1}d=d.return}while(d!==null);return!1}var Vi=Error(r(461)),ma=!1;function xi(l,u,d,v){u.child=l===null?ds(u,null,d,v):Iu(u,l.child,d,v)}function Dg(l,u,d,v,T){d=d.render;var D=u.ref;if("ref"in v){var V={};for(var $ in v)$!=="ref"&&(V[$]=v[$])}else V=v;return Nu(u),v=fg(l,u,d,V,D,T),$=hg(),l!==null&&!ma?(ss(l,u,T),gs(l,u,T)):(cn&&$&&Lc(u),u.flags|=1,xi(l,u,v,T),u.child)}function Ao(l,u,d,v,T){if(l===null){var D=d.type;return typeof D=="function"&&!Ys(D)&&D.defaultProps===void 0&&d.compare===null?(u.tag=15,u.type=D,nu(l,u,D,v,T)):(l=tt(d.type,null,v,u,u.mode,T),l.ref=u.ref,l.return=u,u.child=l)}if(D=l.child,!Kl(l,T)){var V=D.memoizedProps;if(d=d.compare,d=d!==null?d:gl,d(V,v)&&l.ref===u.ref)return gs(l,u,T)}return u.flags|=1,l=za(D,v),l.ref=u.ref,l.return=u,u.child=l}function nu(l,u,d,v,T){if(l!==null){var D=l.memoizedProps;if(gl(D,v)&&l.ref===u.ref)if(ma=!1,u.pendingProps=v=D,Kl(l,T))(l.flags&131072)!==0&&(ma=!0);else return u.lanes=l.lanes,gs(l,u,T)}return Xc(l,u,d,v,T)}function Gc(l,u,d){var v=u.pendingProps,T=v.children,D=l!==null?l.memoizedState:null;if(v.mode==="hidden"){if((u.flags&128)!==0){if(v=D!==null?D.baseLanes|d:d,l!==null){for(T=u.child=l.child,D=0;T!==null;)D=D|T.lanes|T.childLanes,T=T.sibling;u.childLanes=D&~v}else u.childLanes=0,u.child=null;return Wl(l,u,v,d)}if((d&536870912)!==0)u.memoizedState={baseLanes:0,cachePool:null},l!==null&&kc(u,D!==null?D.cachePool:null),D!==null?wi(u,D):Hc(),hs(u);else return u.lanes=u.childLanes=536870912,Wl(l,u,D!==null?D.baseLanes|d:d,d)}else D!==null?(kc(u,D.cachePool),wi(u,D),xo(),u.memoizedState=null):(l!==null&&kc(u,null),Hc(),xo());return xi(l,u,T,d),u.child}function Wl(l,u,d,v){var T=mo();return T=T===null?null:{parent:ui._currentValue,pool:T},u.memoizedState={baseLanes:d,cachePool:T},l!==null&&kc(u,null),Hc(),hs(u),l!==null&&Xf(l,u,v,!0),null}function Tt(l,u){var d=u.ref;if(d===null)l!==null&&l.ref!==null&&(u.flags|=4194816);else{if(typeof d!="function"&&typeof d!="object")throw Error(r(284));(l===null||l.ref!==d)&&(u.flags|=4194816)}}function Xc(l,u,d,v,T){return Nu(u),d=fg(l,u,d,v,void 0,T),v=hg(),l!==null&&!ma?(ss(l,u,T),gs(l,u,T)):(cn&&v&&Lc(u),u.flags|=1,xi(l,u,d,T),u.child)}function Uh(l,u,d,v,T,D){return Nu(u),u.updateQueue=null,d=b0(u,v,d,T),Uu(l),v=hg(),l!==null&&!ma?(ss(l,u,D),gs(l,u,D)):(cn&&v&&Lc(u),u.flags|=1,xi(l,u,d,D),u.child)}function ps(l,u,d,v,T){if(Nu(u),u.stateNode===null){var D=Nc,V=d.contextType;typeof V=="object"&&V!==null&&(D=Ri(V)),D=new d(v,D),u.memoizedState=D.state!==null&&D.state!==void 0?D.state:null,D.updater=od,u.stateNode=D,D._reactInternals=u,D=u.stateNode,D.props=v,D.state=u.memoizedState,D.refs={},ku(u),V=d.contextType,D.context=typeof V=="object"&&V!==null?Ri(V):Nc,D.state=u.memoizedState,V=d.getDerivedStateFromProps,typeof V=="function"&&(So(u,d,V,v),D.state=u.memoizedState),typeof d.getDerivedStateFromProps=="function"||typeof D.getSnapshotBeforeUpdate=="function"||typeof D.UNSAFE_componentWillMount!="function"&&typeof D.componentWillMount!="function"||(V=D.state,typeof D.componentWillMount=="function"&&D.componentWillMount(),typeof D.UNSAFE_componentWillMount=="function"&&D.UNSAFE_componentWillMount(),V!==D.state&&od.enqueueReplaceState(D,D.state,null),sa(u,v,D,T),$l(),D.state=u.memoizedState),typeof D.componentDidMount=="function"&&(u.flags|=4194308),v=!0}else if(l===null){D=u.stateNode;var $=u.memoizedProps,re=tu(d,$);D.props=re;var Ce=D.context,Xe=d.contextType;V=Nc,typeof Xe=="object"&&Xe!==null&&(V=Ri(Xe));var We=d.getDerivedStateFromProps;Xe=typeof We=="function"||typeof D.getSnapshotBeforeUpdate=="function",$=u.pendingProps!==$,Xe||typeof D.UNSAFE_componentWillReceiveProps!="function"&&typeof D.componentWillReceiveProps!="function"||($||Ce!==V)&&Vc(u,D,v,V),Xl=!1;var Ne=u.memoizedState;D.state=Ne,sa(u,v,D,T),$l(),Ce=u.memoizedState,$||Ne!==Ce||Xl?(typeof We=="function"&&(So(u,d,We,v),Ce=u.memoizedState),(re=Xl||eu(u,d,re,v,Ne,Ce,V))?(Xe||typeof D.UNSAFE_componentWillMount!="function"&&typeof D.componentWillMount!="function"||(typeof D.componentWillMount=="function"&&D.componentWillMount(),typeof D.UNSAFE_componentWillMount=="function"&&D.UNSAFE_componentWillMount()),typeof D.componentDidMount=="function"&&(u.flags|=4194308)):(typeof D.componentDidMount=="function"&&(u.flags|=4194308),u.memoizedProps=v,u.memoizedState=Ce),D.props=v,D.state=Ce,D.context=V,v=re):(typeof D.componentDidMount=="function"&&(u.flags|=4194308),v=!1)}else{D=u.stateNode,zc(l,u),V=u.memoizedProps,Xe=tu(d,V),D.props=Xe,We=u.pendingProps,Ne=D.context,Ce=d.contextType,re=Nc,typeof Ce=="object"&&Ce!==null&&(re=Ri(Ce)),$=d.getDerivedStateFromProps,(Ce=typeof $=="function"||typeof D.getSnapshotBeforeUpdate=="function")||typeof D.UNSAFE_componentWillReceiveProps!="function"&&typeof D.componentWillReceiveProps!="function"||(V!==We||Ne!==re)&&Vc(u,D,v,re),Xl=!1,Ne=u.memoizedState,D.state=Ne,sa(u,v,D,T),$l();var _e=u.memoizedState;V!==We||Ne!==_e||Xl||l!==null&&l.dependencies!==null&&mh(l.dependencies)?(typeof $=="function"&&(So(u,d,$,v),_e=u.memoizedState),(Xe=Xl||eu(u,d,Xe,v,Ne,_e,re)||l!==null&&l.dependencies!==null&&mh(l.dependencies))?(Ce||typeof D.UNSAFE_componentWillUpdate!="function"&&typeof D.componentWillUpdate!="function"||(typeof D.componentWillUpdate=="function"&&D.componentWillUpdate(v,_e,re),typeof D.UNSAFE_componentWillUpdate=="function"&&D.UNSAFE_componentWillUpdate(v,_e,re)),typeof D.componentDidUpdate=="function"&&(u.flags|=4),typeof D.getSnapshotBeforeUpdate=="function"&&(u.flags|=1024)):(typeof D.componentDidUpdate!="function"||V===l.memoizedProps&&Ne===l.memoizedState||(u.flags|=4),typeof D.getSnapshotBeforeUpdate!="function"||V===l.memoizedProps&&Ne===l.memoizedState||(u.flags|=1024),u.memoizedProps=v,u.memoizedState=_e),D.props=v,D.state=_e,D.context=re,v=Xe):(typeof D.componentDidUpdate!="function"||V===l.memoizedProps&&Ne===l.memoizedState||(u.flags|=4),typeof D.getSnapshotBeforeUpdate!="function"||V===l.memoizedProps&&Ne===l.memoizedState||(u.flags|=1024),v=!1)}return D=v,Tt(l,u),v=(u.flags&128)!==0,D||v?(D=u.stateNode,d=v&&typeof d.getDerivedStateFromError!="function"?null:D.render(),u.flags|=1,l!==null&&v?(u.child=Iu(u,l.child,null,T),u.child=Iu(u,null,d,T)):xi(l,u,d,T),u.memoizedState=D.state,l=u.child):l=gs(l,u,T),l}function Og(l,u,d,v){return Gf(),u.flags|=256,xi(l,u,d,v),u.child}var ud={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Rg(l){return{baseLanes:l,cachePool:ag()}}function _a(l,u,d){return l=l!==null?l.childLanes&~d:0,u&&(l|=eo),l}function w0(l,u,d){var v=u.pendingProps,T=!1,D=(u.flags&128)!==0,V;if((V=D)||(V=l!==null&&l.memoizedState===null?!1:(Pn.current&2)!==0),V&&(T=!0,u.flags&=-129),V=(u.flags&32)!==0,u.flags&=-33,l===null){if(cn){if(T?xl(u):xo(),cn){var $=Mn,re;if(re=$){e:{for(re=$,$=ir;re.nodeType!==8;){if(!$){$=null;break e}if(re=Do(re.nextSibling),re===null){$=null;break e}}$=re}$!==null?(u.memoizedState={dehydrated:$,treeContext:si!==null?{id:bi,overflow:Pi}:null,retryLane:536870912,hydrationErrors:null},re=Tr(18,null,null,0),re.stateNode=$,re.return=u,u.child=re,_i=u,Mn=null,re=!0):re=!1}re||Gr(u)}if($=u.memoizedState,$!==null&&($=$.dehydrated,$!==null))return Pa($)?u.lanes=32:u.lanes=536870912,null;Zl(u)}return $=v.children,v=v.fallback,T?(xo(),T=u.mode,$=Hh({mode:"hidden",children:$},T),v=ql(v,T,d,null),$.return=u,v.return=u,$.sibling=v,u.child=$,T=u.child,T.memoizedState=Rg(d),T.childLanes=_a(l,V,d),u.memoizedState=ud,v):(xl(u),Mg(u,$))}if(re=l.memoizedState,re!==null&&($=re.dehydrated,$!==null)){if(D)u.flags&256?(xl(u),u.flags&=-257,u=qu(l,u,d)):u.memoizedState!==null?(xo(),u.child=l.child,u.flags|=128,u=null):(xo(),T=v.fallback,$=u.mode,v=Hh({mode:"visible",children:v.children},$),T=ql(T,$,d,null),T.flags|=2,v.return=u,T.return=u,v.sibling=T,u.child=v,Iu(u,l.child,null,d),v=u.child,v.memoizedState=Rg(d),v.childLanes=_a(l,V,d),u.memoizedState=ud,u=T);else if(xl(u),Pa($)){if(V=$.nextSibling&&$.nextSibling.dataset,V)var Ce=V.dgst;V=Ce,v=Error(r(419)),v.stack="",v.digest=V,Gs({value:v,source:null,stack:null}),u=qu(l,u,d)}else if(ma||Xf(l,u,d,!1),V=(d&l.childLanes)!==0,ma||V){if(V=fi,V!==null&&(v=d&-d,v=(v&42)!==0?1:li(v),v=(v&(V.suspendedLanes|d))!==0?0:v,v!==0&&v!==re.retryLane))throw re.retryLane=v,po(l,v),Sl(V,l,v),Vi;$.data==="$?"||tf(),u=qu(l,u,d)}else $.data==="$?"?(u.flags|=192,u.child=l.child,u=null):(l=re.treeContext,Mn=Do($.nextSibling),_i=u,cn=!0,nr=null,ir=!1,l!==null&&(Vl[Yr++]=bi,Vl[Yr++]=Pi,Vl[Yr++]=si,bi=l.id,Pi=l.overflow,si=u),u=Mg(u,v.children),u.flags|=4096);return u}return T?(xo(),T=v.fallback,$=u.mode,re=l.child,Ce=re.sibling,v=za(re,{mode:"hidden",children:v.children}),v.subtreeFlags=re.subtreeFlags&65011712,Ce!==null?T=za(Ce,T):(T=ql(T,$,d,null),T.flags|=2),T.return=u,v.return=u,v.sibling=T,u.child=v,v=T,T=u.child,$=l.child.memoizedState,$===null?$=Rg(d):(re=$.cachePool,re!==null?(Ce=ui._currentValue,re=re.parent!==Ce?{parent:Ce,pool:Ce}:re):re=ag(),$={baseLanes:$.baseLanes|d,cachePool:re}),T.memoizedState=$,T.childLanes=_a(l,V,d),u.memoizedState=ud,v):(xl(u),d=l.child,l=d.sibling,d=za(d,{mode:"visible",children:v.children}),d.return=u,d.sibling=null,l!==null&&(V=u.deletions,V===null?(u.deletions=[l],u.flags|=16):V.push(l)),u.child=d,u.memoizedState=null,d)}function Mg(l,u){return u=Hh({mode:"visible",children:u},l.mode),u.return=l,l.child=u}function Hh(l,u){return l=Tr(22,l,null,u),l.lanes=0,l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},l}function qu(l,u,d){return Iu(u,l.child,null,d),l=Mg(u,u.pendingProps.children),l.flags|=2,u.memoizedState=null,l}function cd(l,u,d){l.lanes|=u;var v=l.alternate;v!==null&&(v.lanes|=u),Cr(l.return,u,d)}function Ng(l,u,d,v,T){var D=l.memoizedState;D===null?l.memoizedState={isBackwards:u,rendering:null,renderingStartTime:0,last:v,tail:d,tailMode:T}:(D.isBackwards=u,D.rendering=null,D.renderingStartTime=0,D.last=v,D.tail=d,D.tailMode=T)}function Bg(l,u,d){var v=u.pendingProps,T=v.revealOrder,D=v.tail;if(xi(l,u,v.children,d),v=Pn.current,(v&2)!==0)v=v&1|2,u.flags|=128;else{if(l!==null&&(l.flags&128)!==0)e:for(l=u.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&cd(l,d,u);else if(l.tag===19)cd(l,d,u);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===u)break e;for(;l.sibling===null;){if(l.return===null||l.return===u)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}v&=1}switch(ae(Pn,v),T){case"forwards":for(d=u.child,T=null;d!==null;)l=d.alternate,l!==null&&ld(l)===null&&(T=d),d=d.sibling;d=T,d===null?(T=u.child,u.child=null):(T=d.sibling,d.sibling=null),Ng(u,!1,T,d,D);break;case"backwards":for(d=null,T=u.child,u.child=null;T!==null;){if(l=T.alternate,l!==null&&ld(l)===null){u.child=T;break}l=T.sibling,T.sibling=d,d=T,T=l}Ng(u,!0,d,null,D);break;case"together":Ng(u,!1,null,null,void 0);break;default:u.memoizedState=null}return u.child}function gs(l,u,d){if(l!==null&&(u.dependencies=l.dependencies),lu|=u.lanes,(d&u.childLanes)===0)if(l!==null){if(Xf(l,u,d,!1),(d&u.childLanes)===0)return null}else return null;if(l!==null&&u.child!==l.child)throw Error(r(153));if(u.child!==null){for(l=u.child,d=za(l,l.pendingProps),u.child=d,d.return=u;l.sibling!==null;)l=l.sibling,d=d.sibling=za(l,l.pendingProps),d.return=u;d.sibling=null}return u.child}function Kl(l,u){return(l.lanes&u)!==0?!0:(l=l.dependencies,!!(l!==null&&mh(l)))}function lr(l,u,d){switch(u.tag){case 3:Ke(u,u.stateNode.containerInfo),Xr(u,ui,l.memoizedState.cache),Gf();break;case 27:case 5:De(u);break;case 4:Ke(u,u.stateNode.containerInfo);break;case 10:Xr(u,u.type,u.memoizedProps.value);break;case 13:var v=u.memoizedState;if(v!==null)return v.dehydrated!==null?(xl(u),u.flags|=128,null):(d&u.child.childLanes)!==0?w0(l,u,d):(xl(u),l=gs(l,u,d),l!==null?l.sibling:null);xl(u);break;case 19:var T=(l.flags&128)!==0;if(v=(d&u.childLanes)!==0,v||(Xf(l,u,d,!1),v=(d&u.childLanes)!==0),T){if(v)return Bg(l,u,d);u.flags|=128}if(T=u.memoizedState,T!==null&&(T.rendering=null,T.tail=null,T.lastEffect=null),ae(Pn,Pn.current),v)break;return null;case 22:case 23:return u.lanes=0,Gc(l,u,d);case 24:Xr(u,ui,l.memoizedState.cache)}return gs(l,u,d)}function Lg(l,u,d){if(l!==null)if(l.memoizedProps!==u.pendingProps)ma=!0;else{if(!Kl(l,d)&&(u.flags&128)===0)return ma=!1,lr(l,u,d);ma=(l.flags&131072)!==0}else ma=!1,cn&&(u.flags&1048576)!==0&&ph(u,Bc,u.index);switch(u.lanes=0,u.tag){case 16:e:{l=u.pendingProps;var v=u.elementType,T=v._init;if(v=T(v._payload),u.type=v,typeof v=="function")Ys(v)?(l=tu(v,l),u.tag=1,u=ps(null,u,v,l,d)):(u.tag=0,u=Xc(null,u,v,l,d));else{if(v!=null){if(T=v.$$typeof,T===z){u.tag=11,u=Dg(null,u,v,l,d);break e}else if(T===j){u.tag=14,u=Ao(null,u,v,l,d);break e}}throw u=Ae(v)||v,Error(r(306,u,""))}}return u;case 0:return Xc(l,u,u.type,u.pendingProps,d);case 1:return v=u.type,T=tu(v,u.pendingProps),ps(l,u,v,T,d);case 3:e:{if(Ke(u,u.stateNode.containerInfo),l===null)throw Error(r(387));v=u.pendingProps;var D=u.memoizedState;T=D.element,zc(l,u),sa(u,v,null,d);var V=u.memoizedState;if(v=V.cache,Xr(u,ui,v),v!==D.cache&&fn(u,[ui],d,!0),$l(),v=V.element,D.isDehydrated)if(D={element:v,isDehydrated:!1,cache:V.cache},u.updateQueue.baseState=D,u.memoizedState=D,u.flags&256){u=Og(l,u,v,d);break e}else if(v!==T){T=tr(Error(r(424)),u),Gs(T),u=Og(l,u,v,d);break e}else{switch(l=u.stateNode.containerInfo,l.nodeType){case 9:l=l.body;break;default:l=l.nodeName==="HTML"?l.ownerDocument.body:l}for(Mn=Do(l.firstChild),_i=u,cn=!0,nr=null,ir=!0,d=ds(u,null,v,d),u.child=d;d;)d.flags=d.flags&-3|4096,d=d.sibling}else{if(Gf(),v===T){u=gs(l,u,d);break e}xi(l,u,v,d)}u=u.child}return u;case 26:return Tt(l,u),l===null?(d=Fv(u.type,null,u.pendingProps,null))?u.memoizedState=d:cn||(d=u.type,l=u.pendingProps,v=Nr(Ue.current).createElement(d),v[Hn]=u,v[kn]=l,Ht(v,d,l),Ji(v),u.stateNode=v):u.memoizedState=Fv(u.type,l.memoizedProps,u.pendingProps,l.memoizedState),null;case 27:return De(u),l===null&&cn&&(v=u.stateNode=ct(u.type,u.pendingProps,Ue.current),_i=u,ir=!0,T=Mn,to(u.type)?(ec=T,Mn=Do(v.firstChild)):Mn=T),xi(l,u,u.pendingProps.children,d),Tt(l,u),l===null&&(u.flags|=4194304),u.child;case 5:return l===null&&cn&&((T=v=Mn)&&(v=rf(v,u.type,u.pendingProps,ir),v!==null?(u.stateNode=v,_i=u,Mn=Do(v.firstChild),ir=!1,T=!0):T=!1),T||Gr(u)),De(u),T=u.type,D=u.pendingProps,V=l!==null?l.memoizedProps:null,v=D.children,_o(T,D)?v=null:V!==null&&_o(T,V)&&(u.flags|=32),u.memoizedState!==null&&(T=fg(l,u,dg,null,null,d),Lr._currentValue=T),Tt(l,u),xi(l,u,v,d),u.child;case 6:return l===null&&cn&&((l=d=Mn)&&(d=rm(d,u.pendingProps,ir),d!==null?(u.stateNode=d,_i=u,Mn=null,l=!0):l=!1),l||Gr(u)),null;case 13:return w0(l,u,d);case 4:return Ke(u,u.stateNode.containerInfo),v=u.pendingProps,l===null?u.child=Iu(u,null,v,d):xi(l,u,v,d),u.child;case 11:return Dg(l,u,u.type,u.pendingProps,d);case 7:return xi(l,u,u.pendingProps,d),u.child;case 8:return xi(l,u,u.pendingProps.children,d),u.child;case 12:return xi(l,u,u.pendingProps.children,d),u.child;case 10:return v=u.pendingProps,Xr(u,u.type,v.value),xi(l,u,v.children,d),u.child;case 9:return T=u.type._context,v=u.pendingProps.children,Nu(u),T=Ri(T),v=v(T),u.flags|=1,xi(l,u,v,d),u.child;case 14:return Ao(l,u,u.type,u.pendingProps,d);case 15:return nu(l,u,u.type,u.pendingProps,d);case 19:return Bg(l,u,d);case 31:return v=u.pendingProps,d=u.mode,v={mode:v.mode,children:v.children},l===null?(d=Hh(v,d),d.ref=u.ref,u.child=d,d.return=u,u=d):(d=za(l.child,v),d.ref=u.ref,u.child=d,d.return=u,u=d),u;case 22:return Gc(l,u,d);case 24:return Nu(u),v=Ri(ui),l===null?(T=mo(),T===null&&(T=fi,D=Qf(),T.pooledCache=D,D.refCount++,D!==null&&(T.pooledCacheLanes|=d),T=D),u.memoizedState={parent:v,cache:T},ku(u),Xr(u,ui,T)):((l.lanes&d)!==0&&(zc(l,u),sa(u,null,null,d),$l()),T=l.memoizedState,D=u.memoizedState,T.parent!==v?(T={parent:v,cache:v},u.memoizedState=T,u.lanes===0&&(u.memoizedState=u.updateQueue.baseState=T),Xr(u,ui,v)):(v=D.cache,Xr(u,ui,v),v!==T.cache&&fn(u,[ui],d,!0))),xi(l,u,u.pendingProps.children,d),u.child;case 29:throw u.pendingProps}throw Error(r(156,u.tag))}function ms(l){l.flags|=4}function Vu(l,u){if(u.type!=="stylesheet"||(u.state.loading&4)!==0)l.flags&=-16777217;else if(l.flags|=16777216,!da(u)){if(u=Jr.current,u!==null&&((yn&4194048)===yn?ia!==null:(yn&62914560)!==yn&&(yn&536870912)===0||u!==ia))throw Lu=lg,rg;l.flags|=8192}}function jh(l,u){u!==null&&(l.flags|=4),l.flags&16384&&(u=l.tag!==22?uo():536870912,l.lanes|=u,gd|=u)}function fd(l,u){if(!cn)switch(l.tailMode){case"hidden":u=l.tail;for(var d=null;u!==null;)u.alternate!==null&&(d=u),u=u.sibling;d===null?l.tail=null:d.sibling=null;break;case"collapsed":d=l.tail;for(var v=null;d!==null;)d.alternate!==null&&(v=d),d=d.sibling;v===null?u||l.tail===null?l.tail=null:l.tail.sibling=null:v.sibling=null}}function _t(l){var u=l.alternate!==null&&l.alternate.child===l.child,d=0,v=0;if(u)for(var T=l.child;T!==null;)d|=T.lanes|T.childLanes,v|=T.subtreeFlags&65011712,v|=T.flags&65011712,T.return=l,T=T.sibling;else for(T=l.child;T!==null;)d|=T.lanes|T.childLanes,v|=T.subtreeFlags,v|=T.flags,T.return=l,T=T.sibling;return l.subtreeFlags|=v,l.childLanes=d,u}function kg(l,u,d){var v=u.pendingProps;switch(Yl(u),u.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return _t(u),null;case 1:return _t(u),null;case 3:return d=u.stateNode,v=null,l!==null&&(v=l.memoizedState.cache),u.memoizedState.cache!==v&&(u.flags|=2048),yl(ui),Le(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),(l===null||l.child===null)&&(Yf(u)?ms(u):l===null||l.memoizedState.isDehydrated&&(u.flags&256)===0||(u.flags|=1024,g0())),_t(u),null;case 26:return d=u.memoizedState,l===null?(ms(u),d!==null?(_t(u),Vu(u,d)):(_t(u),u.flags&=-16777217)):d?d!==l.memoizedState?(ms(u),_t(u),Vu(u,d)):(_t(u),u.flags&=-16777217):(l.memoizedProps!==v&&ms(u),_t(u),u.flags&=-16777217),null;case 27:nt(u),d=Ue.current;var T=u.type;if(l!==null&&u.stateNode!=null)l.memoizedProps!==v&&ms(u);else{if(!v){if(u.stateNode===null)throw Error(r(166));return _t(u),null}l=de.current,Yf(u)?gh(u):(l=ct(T,v,d),u.stateNode=l,ms(u))}return _t(u),null;case 5:if(nt(u),d=u.type,l!==null&&u.stateNode!=null)l.memoizedProps!==v&&ms(u);else{if(!v){if(u.stateNode===null)throw Error(r(166));return _t(u),null}if(l=de.current,Yf(u))gh(u);else{switch(T=Nr(Ue.current),l){case 1:l=T.createElementNS("http://www.w3.org/2000/svg",d);break;case 2:l=T.createElementNS("http://www.w3.org/1998/Math/MathML",d);break;default:switch(d){case"svg":l=T.createElementNS("http://www.w3.org/2000/svg",d);break;case"math":l=T.createElementNS("http://www.w3.org/1998/Math/MathML",d);break;case"script":l=T.createElement("div"),l.innerHTML="<script><\/script>",l=l.removeChild(l.firstChild);break;case"select":l=typeof v.is=="string"?T.createElement("select",{is:v.is}):T.createElement("select"),v.multiple?l.multiple=!0:v.size&&(l.size=v.size);break;default:l=typeof v.is=="string"?T.createElement(d,{is:v.is}):T.createElement(d)}}l[Hn]=u,l[kn]=v;e:for(T=u.child;T!==null;){if(T.tag===5||T.tag===6)l.appendChild(T.stateNode);else if(T.tag!==4&&T.tag!==27&&T.child!==null){T.child.return=T,T=T.child;continue}if(T===u)break e;for(;T.sibling===null;){if(T.return===null||T.return===u)break e;T=T.return}T.sibling.return=T.return,T=T.sibling}u.stateNode=l;e:switch(Ht(l,d,v),d){case"button":case"input":case"select":case"textarea":l=!!v.autoFocus;break e;case"img":l=!0;break e;default:l=!1}l&&ms(u)}}return _t(u),u.flags&=-16777217,null;case 6:if(l&&u.stateNode!=null)l.memoizedProps!==v&&ms(u);else{if(typeof v!="string"&&u.stateNode===null)throw Error(r(166));if(l=Ue.current,Yf(u)){if(l=u.stateNode,d=u.memoizedProps,v=null,T=_i,T!==null)switch(T.tag){case 27:case 5:v=T.memoizedProps}l[Hn]=u,l=!!(l.nodeValue===d||v!==null&&v.suppressHydrationWarning===!0||J0(l.nodeValue,d)),l||Gr(u)}else l=Nr(l).createTextNode(v),l[Hn]=u,u.stateNode=l}return _t(u),null;case 13:if(v=u.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(T=Yf(u),v!==null&&v.dehydrated!==null){if(l===null){if(!T)throw Error(r(318));if(T=u.memoizedState,T=T!==null?T.dehydrated:null,!T)throw Error(r(317));T[Hn]=u}else Gf(),(u.flags&128)===0&&(u.memoizedState=null),u.flags|=4;_t(u),T=!1}else T=g0(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=T),T=!0;if(!T)return u.flags&256?(Zl(u),u):(Zl(u),null)}if(Zl(u),(u.flags&128)!==0)return u.lanes=d,u;if(d=v!==null,l=l!==null&&l.memoizedState!==null,d){v=u.child,T=null,v.alternate!==null&&v.alternate.memoizedState!==null&&v.alternate.memoizedState.cachePool!==null&&(T=v.alternate.memoizedState.cachePool.pool);var D=null;v.memoizedState!==null&&v.memoizedState.cachePool!==null&&(D=v.memoizedState.cachePool.pool),D!==T&&(v.flags|=2048)}return d!==l&&d&&(u.child.flags|=8192),jh(u,u.updateQueue),_t(u),null;case 4:return Le(),l===null&&K0(u.stateNode.containerInfo),_t(u),null;case 10:return yl(u.type),_t(u),null;case 19:if(Re(Pn),T=u.memoizedState,T===null)return _t(u),null;if(v=(u.flags&128)!==0,D=T.rendering,D===null)if(v)fd(T,!1);else{if(Gi!==0||l!==null&&(l.flags&128)!==0)for(l=u.child;l!==null;){if(D=ld(l),D!==null){for(u.flags|=128,fd(T,!1),l=D.updateQueue,u.updateQueue=l,jh(u,l),u.subtreeFlags=0,l=d,d=u.child;d!==null;)Yt(d,l),d=d.sibling;return ae(Pn,Pn.current&1|2),u.child}l=l.sibling}T.tail!==null&&Ut()>yd&&(u.flags|=128,v=!0,fd(T,!1),u.lanes=4194304)}else{if(!v)if(l=ld(D),l!==null){if(u.flags|=128,v=!0,l=l.updateQueue,u.updateQueue=l,jh(u,l),fd(T,!0),T.tail===null&&T.tailMode==="hidden"&&!D.alternate&&!cn)return _t(u),null}else 2*Ut()-T.renderingStartTime>yd&&d!==536870912&&(u.flags|=128,v=!0,fd(T,!1),u.lanes=4194304);T.isBackwards?(D.sibling=u.child,u.child=D):(l=T.last,l!==null?l.sibling=D:u.child=D,T.last=D)}return T.tail!==null?(u=T.tail,T.rendering=u,T.tail=u.sibling,T.renderingStartTime=Ut(),u.sibling=null,l=Pn.current,ae(Pn,v?l&1|2:l&1),u):(_t(u),null);case 22:case 23:return Zl(u),Wf(),v=u.memoizedState!==null,l!==null?l.memoizedState!==null!==v&&(u.flags|=8192):v&&(u.flags|=8192),v?(d&536870912)!==0&&(u.flags&128)===0&&(_t(u),u.subtreeFlags&6&&(u.flags|=8192)):_t(u),d=u.updateQueue,d!==null&&jh(u,d.retryQueue),d=null,l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(d=l.memoizedState.cachePool.pool),v=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(v=u.memoizedState.cachePool.pool),v!==d&&(u.flags|=2048),l!==null&&Re(os),null;case 24:return d=null,l!==null&&(d=l.memoizedState.cache),u.memoizedState.cache!==d&&(u.flags|=2048),yl(ui),_t(u),null;case 25:return null;case 30:return null}throw Error(r(156,u.tag))}function wv(l,u){switch(Yl(u),u.tag){case 1:return l=u.flags,l&65536?(u.flags=l&-65537|128,u):null;case 3:return yl(ui),Le(),l=u.flags,(l&65536)!==0&&(l&128)===0?(u.flags=l&-65537|128,u):null;case 26:case 27:case 5:return nt(u),null;case 13:if(Zl(u),l=u.memoizedState,l!==null&&l.dehydrated!==null){if(u.alternate===null)throw Error(r(340));Gf()}return l=u.flags,l&65536?(u.flags=l&-65537|128,u):null;case 19:return Re(Pn),null;case 4:return Le(),null;case 10:return yl(u.type),null;case 22:case 23:return Zl(u),Wf(),l!==null&&Re(os),l=u.flags,l&65536?(u.flags=l&-65537|128,u):null;case 24:return yl(ui),null;case 25:return null;default:return null}}function D0(l,u){switch(Yl(u),u.tag){case 3:yl(ui),Le();break;case 26:case 27:case 5:nt(u);break;case 4:Le();break;case 13:Zl(u);break;case 19:Re(Pn);break;case 10:yl(u.type);break;case 22:case 23:Zl(u),Wf(),l!==null&&Re(os);break;case 24:yl(ui)}}function Fh(l,u){try{var d=u.updateQueue,v=d!==null?d.lastEffect:null;if(v!==null){var T=v.next;d=T;do{if((d.tag&l)===l){v=void 0;var D=d.create,V=d.inst;v=D(),V.destroy=v}d=d.next}while(d!==T)}}catch($){ei(u,u.return,$)}}function Yu(l,u,d){try{var v=u.updateQueue,T=v!==null?v.lastEffect:null;if(T!==null){var D=T.next;v=D;do{if((v.tag&l)===l){var V=v.inst,$=V.destroy;if($!==void 0){V.destroy=void 0,T=u;var re=d,Ce=$;try{Ce()}catch(Xe){ei(T,re,Xe)}}}v=v.next}while(v!==D)}}catch(Xe){ei(u,u.return,Xe)}}function zg(l){var u=l.updateQueue;if(u!==null){var d=l.stateNode;try{Zf(u,d)}catch(v){ei(l,l.return,v)}}}function Ug(l,u,d){d.props=tu(l.type,l.memoizedProps),d.state=l.memoizedState;try{d.componentWillUnmount()}catch(v){ei(l,u,v)}}function $c(l,u){try{var d=l.ref;if(d!==null){switch(l.tag){case 26:case 27:case 5:var v=l.stateNode;break;case 30:v=l.stateNode;break;default:v=l.stateNode}typeof d=="function"?l.refCleanup=d(v):d.current=v}}catch(T){ei(l,u,T)}}function To(l,u){var d=l.ref,v=l.refCleanup;if(d!==null)if(typeof v=="function")try{v()}catch(T){ei(l,u,T)}finally{l.refCleanup=null,l=l.alternate,l!=null&&(l.refCleanup=null)}else if(typeof d=="function")try{d(null)}catch(T){ei(l,u,T)}else d.current=null}function Gu(l){var u=l.type,d=l.memoizedProps,v=l.stateNode;try{e:switch(u){case"button":case"input":case"select":case"textarea":d.autoFocus&&v.focus();break e;case"img":d.src?v.src=d.src:d.srcSet&&(v.srcset=d.srcSet)}}catch(T){ei(l,l.return,T)}}function Hg(l,u,d){try{var v=l.stateNode;k1(v,l.type,d,u),v[kn]=u}catch(T){ei(l,l.return,T)}}function dd(l){return l.tag===5||l.tag===3||l.tag===26||l.tag===27&&to(l.type)||l.tag===4}function tl(l){e:for(;;){for(;l.sibling===null;){if(l.return===null||dd(l.return))return null;l=l.return}for(l.sibling.return=l.return,l=l.sibling;l.tag!==5&&l.tag!==6&&l.tag!==18;){if(l.tag===27&&to(l.type)||l.flags&2||l.child===null||l.tag===4)continue e;l.child.return=l,l=l.child}if(!(l.flags&2))return l.stateNode}}function Xu(l,u,d){var v=l.tag;if(v===5||v===6)l=l.stateNode,u?(d.nodeType===9?d.body:d.nodeName==="HTML"?d.ownerDocument.body:d).insertBefore(l,u):(u=d.nodeType===9?d.body:d.nodeName==="HTML"?d.ownerDocument.body:d,u.appendChild(l),d=d._reactRootContainer,d!=null||u.onclick!==null||(u.onclick=im));else if(v!==4&&(v===27&&to(l.type)&&(d=l.stateNode,u=null),l=l.child,l!==null))for(Xu(l,u,d),l=l.sibling;l!==null;)Xu(l,u,d),l=l.sibling}function Ih(l,u,d){var v=l.tag;if(v===5||v===6)l=l.stateNode,u?d.insertBefore(l,u):d.appendChild(l);else if(v!==4&&(v===27&&to(l.type)&&(d=l.stateNode),l=l.child,l!==null))for(Ih(l,u,d),l=l.sibling;l!==null;)Ih(l,u,d),l=l.sibling}function Qc(l){var u=l.stateNode,d=l.memoizedProps;try{for(var v=l.type,T=u.attributes;T.length;)u.removeAttributeNode(T[0]);Ht(u,v,d),u[Hn]=l,u[kn]=d}catch(D){ei(l,l.return,D)}}var Co=!1,qn=!1,ys=!1,jg=typeof WeakSet=="function"?WeakSet:Set,fa=null;function O0(l,u){if(l=l.containerInfo,Al=ip,l=d0(l),fh(l)){if("selectionStart"in l)var d={start:l.selectionStart,end:l.selectionEnd};else e:{d=(d=l.ownerDocument)&&d.defaultView||window;var v=d.getSelection&&d.getSelection();if(v&&v.rangeCount!==0){d=v.anchorNode;var T=v.anchorOffset,D=v.focusNode;v=v.focusOffset;try{d.nodeType,D.nodeType}catch{d=null;break e}var V=0,$=-1,re=-1,Ce=0,Xe=0,We=l,Ne=null;t:for(;;){for(var _e;We!==d||T!==0&&We.nodeType!==3||($=V+T),We!==D||v!==0&&We.nodeType!==3||(re=V+v),We.nodeType===3&&(V+=We.nodeValue.length),(_e=We.firstChild)!==null;)Ne=We,We=_e;for(;;){if(We===l)break t;if(Ne===d&&++Ce===T&&($=V),Ne===D&&++Xe===v&&(re=V),(_e=We.nextSibling)!==null)break;We=Ne,Ne=We.parentNode}We=_e}d=$===-1||re===-1?null:{start:$,end:re}}else d=null}d=d||{start:0,end:0}}else d=null;for(Cd={focusedElem:l,selectionRange:d},ip=!1,fa=u;fa!==null;)if(u=fa,l=u.child,(u.subtreeFlags&1024)!==0&&l!==null)l.return=u,fa=l;else for(;fa!==null;){switch(u=fa,D=u.alternate,l=u.flags,u.tag){case 0:break;case 11:case 15:break;case 1:if((l&1024)!==0&&D!==null){l=void 0,d=u,T=D.memoizedProps,D=D.memoizedState,v=d.stateNode;try{var At=tu(d.type,T,d.elementType===d.type);l=v.getSnapshotBeforeUpdate(At,D),v.__reactInternalSnapshotBeforeUpdate=l}catch(wt){ei(d,d.return,wt)}}break;case 3:if((l&1024)!==0){if(l=u.stateNode.containerInfo,d=l.nodeType,d===9)Jh(l);else if(d===1)switch(l.nodeName){case"HEAD":case"HTML":case"BODY":Jh(l);break;default:l.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((l&1024)!==0)throw Error(r(163))}if(l=u.sibling,l!==null){l.return=u.return,fa=l;break}fa=u.return}}function R0(l,u,d){var v=d.flags;switch(d.tag){case 0:case 11:case 15:bs(l,d),v&4&&Fh(5,d);break;case 1:if(bs(l,d),v&4)if(l=d.stateNode,u===null)try{l.componentDidMount()}catch(V){ei(d,d.return,V)}else{var T=tu(d.type,u.memoizedProps);u=u.memoizedState;try{l.componentDidUpdate(T,u,l.__reactInternalSnapshotBeforeUpdate)}catch(V){ei(d,d.return,V)}}v&64&&zg(d),v&512&&$c(d,d.return);break;case 3:if(bs(l,d),v&64&&(l=d.updateQueue,l!==null)){if(u=null,d.child!==null)switch(d.child.tag){case 27:case 5:u=d.child.stateNode;break;case 1:u=d.child.stateNode}try{Zf(l,u)}catch(V){ei(d,d.return,V)}}break;case 27:u===null&&v&4&&Qc(d);case 26:case 5:bs(l,d),u===null&&v&4&&Gu(d),v&512&&$c(d,d.return);break;case 12:bs(l,d);break;case 13:bs(l,d),v&4&&Fg(l,d),v&64&&(l=d.memoizedState,l!==null&&(l=l.dehydrated,l!==null&&(d=Jg.bind(null,d),Dd(l,d))));break;case 22:if(v=d.memoizedState!==null||Co,!v){u=u!==null&&u.memoizedState!==null||qn,T=Co;var D=qn;Co=v,(qn=u)&&!D?iu(l,d,(d.subtreeFlags&8772)!==0):bs(l,d),Co=T,qn=D}break;case 30:break;default:bs(l,d)}}function M0(l){var u=l.alternate;u!==null&&(l.alternate=null,M0(u)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(u=l.stateNode,u!==null&&Vo(u)),l.stateNode=null,l.return=null,l.dependencies=null,l.memoizedProps=null,l.memoizedState=null,l.pendingProps=null,l.stateNode=null,l.updateQueue=null}var Mi=null,Ha=!1;function vs(l,u,d){for(d=d.child;d!==null;)dn(l,u,d),d=d.sibling}function dn(l,u,d){if(ot&&typeof ot.onCommitFiberUnmount=="function")try{ot.onCommitFiberUnmount(Lt,d)}catch{}switch(d.tag){case 26:qn||To(d,u),vs(l,u,d),d.memoizedState?d.memoizedState.count--:d.stateNode&&(d=d.stateNode,d.parentNode.removeChild(d));break;case 27:qn||To(d,u);var v=Mi,T=Ha;to(d.type)&&(Mi=d.stateNode,Ha=!1),vs(l,u,d),rl(d.stateNode),Mi=v,Ha=T;break;case 5:qn||To(d,u);case 6:if(v=Mi,T=Ha,Mi=null,vs(l,u,d),Mi=v,Ha=T,Mi!==null)if(Ha)try{(Mi.nodeType===9?Mi.body:Mi.nodeName==="HTML"?Mi.ownerDocument.body:Mi).removeChild(d.stateNode)}catch(D){ei(d,u,D)}else try{Mi.removeChild(d.stateNode)}catch(D){ei(d,u,D)}break;case 18:Mi!==null&&(Ha?(l=Mi,wd(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,d.stateNode),Ds(l)):wd(Mi,d.stateNode));break;case 4:v=Mi,T=Ha,Mi=d.stateNode.containerInfo,Ha=!0,vs(l,u,d),Mi=v,Ha=T;break;case 0:case 11:case 14:case 15:qn||Yu(2,d,u),qn||Yu(4,d,u),vs(l,u,d);break;case 1:qn||(To(d,u),v=d.stateNode,typeof v.componentWillUnmount=="function"&&Ug(d,u,v)),vs(l,u,d);break;case 21:vs(l,u,d);break;case 22:qn=(v=qn)||d.memoizedState!==null,vs(l,u,d),qn=v;break;default:vs(l,u,d)}}function Fg(l,u){if(u.memoizedState===null&&(l=u.alternate,l!==null&&(l=l.memoizedState,l!==null&&(l=l.dehydrated,l!==null))))try{Ds(l)}catch(d){ei(u,u.return,d)}}function N0(l){switch(l.tag){case 13:case 19:var u=l.stateNode;return u===null&&(u=l.stateNode=new jg),u;case 22:return l=l.stateNode,u=l._retryCache,u===null&&(u=l._retryCache=new jg),u;default:throw Error(r(435,l.tag))}}function Ig(l,u){var d=N0(l);u.forEach(function(v){var T=B1.bind(null,l,v);d.has(v)||(d.add(v),v.then(T,T))})}function Rr(l,u){var d=u.deletions;if(d!==null)for(var v=0;v<d.length;v++){var T=d[v],D=l,V=u,$=V;e:for(;$!==null;){switch($.tag){case 27:if(to($.type)){Mi=$.stateNode,Ha=!1;break e}break;case 5:Mi=$.stateNode,Ha=!1;break e;case 3:case 4:Mi=$.stateNode.containerInfo,Ha=!0;break e}$=$.return}if(Mi===null)throw Error(r(160));dn(D,V,T),Mi=null,Ha=!1,D=T.alternate,D!==null&&(D.return=null),T.return=null}if(u.subtreeFlags&13878)for(u=u.child;u!==null;)hd(u,l),u=u.sibling}var or=null;function hd(l,u){var d=l.alternate,v=l.flags;switch(l.tag){case 0:case 11:case 14:case 15:Rr(u,l),ya(l),v&4&&(Yu(3,l,l.return),Fh(3,l),Yu(5,l,l.return));break;case 1:Rr(u,l),ya(l),v&512&&(qn||d===null||To(d,d.return)),v&64&&Co&&(l=l.updateQueue,l!==null&&(v=l.callbacks,v!==null&&(d=l.shared.hiddenCallbacks,l.shared.hiddenCallbacks=d===null?v:d.concat(v))));break;case 26:var T=or;if(Rr(u,l),ya(l),v&512&&(qn||d===null||To(d,d.return)),v&4){var D=d!==null?d.memoizedState:null;if(v=l.memoizedState,d===null)if(v===null)if(l.stateNode===null){e:{v=l.type,d=l.memoizedProps,T=T.ownerDocument||T;t:switch(v){case"title":D=T.getElementsByTagName("title")[0],(!D||D[ft]||D[Hn]||D.namespaceURI==="http://www.w3.org/2000/svg"||D.hasAttribute("itemprop"))&&(D=T.createElement(v),T.head.insertBefore(D,T.querySelector("head > title"))),Ht(D,v,d),D[Hn]=l,Ji(D),v=D;break e;case"link":var V=ty("link","href",T).get(v+(d.href||""));if(V){for(var $=0;$<V.length;$++)if(D=V[$],D.getAttribute("href")===(d.href==null||d.href===""?null:d.href)&&D.getAttribute("rel")===(d.rel==null?null:d.rel)&&D.getAttribute("title")===(d.title==null?null:d.title)&&D.getAttribute("crossorigin")===(d.crossOrigin==null?null:d.crossOrigin)){V.splice($,1);break t}}D=T.createElement(v),Ht(D,v,d),T.head.appendChild(D);break;case"meta":if(V=ty("meta","content",T).get(v+(d.content||""))){for($=0;$<V.length;$++)if(D=V[$],D.getAttribute("content")===(d.content==null?null:""+d.content)&&D.getAttribute("name")===(d.name==null?null:d.name)&&D.getAttribute("property")===(d.property==null?null:d.property)&&D.getAttribute("http-equiv")===(d.httpEquiv==null?null:d.httpEquiv)&&D.getAttribute("charset")===(d.charSet==null?null:d.charSet)){V.splice($,1);break t}}D=T.createElement(v),Ht(D,v,d),T.head.appendChild(D);break;default:throw Error(r(468,v))}D[Hn]=l,Ji(D),v=D}l.stateNode=v}else ny(T,l.type,l.stateNode);else l.stateNode=Pv(T,v,l.memoizedProps);else D!==v?(D===null?d.stateNode!==null&&(d=d.stateNode,d.parentNode.removeChild(d)):D.count--,v===null?ny(T,l.type,l.stateNode):Pv(T,v,l.memoizedProps)):v===null&&l.stateNode!==null&&Hg(l,l.memoizedProps,d.memoizedProps)}break;case 27:Rr(u,l),ya(l),v&512&&(qn||d===null||To(d,d.return)),d!==null&&v&4&&Hg(l,l.memoizedProps,d.memoizedProps);break;case 5:if(Rr(u,l),ya(l),v&512&&(qn||d===null||To(d,d.return)),l.flags&32){T=l.stateNode;try{Ye(T,"")}catch(_e){ei(l,l.return,_e)}}v&4&&l.stateNode!=null&&(T=l.memoizedProps,Hg(l,T,d!==null?d.memoizedProps:T)),v&1024&&(ys=!0);break;case 6:if(Rr(u,l),ya(l),v&4){if(l.stateNode===null)throw Error(r(162));v=l.memoizedProps,d=l.stateNode;try{d.nodeValue=v}catch(_e){ei(l,l.return,_e)}}break;case 3:if(ws=null,T=or,or=qt(u.containerInfo),Rr(u,l),or=T,ya(l),v&4&&d!==null&&d.memoizedState.isDehydrated)try{Ds(u.containerInfo)}catch(_e){ei(l,l.return,_e)}ys&&(ys=!1,B0(l));break;case 4:v=or,or=qt(l.stateNode.containerInfo),Rr(u,l),ya(l),or=v;break;case 12:Rr(u,l),ya(l);break;case 13:Rr(u,l),ya(l),l.child.flags&8192&&l.memoizedState!==null!=(d!==null&&d.memoizedState!==null)&&(I0=Ut()),v&4&&(v=l.updateQueue,v!==null&&(l.updateQueue=null,Ig(l,v)));break;case 22:T=l.memoizedState!==null;var re=d!==null&&d.memoizedState!==null,Ce=Co,Xe=qn;if(Co=Ce||T,qn=Xe||re,Rr(u,l),qn=Xe,Co=Ce,ya(l),v&8192)e:for(u=l.stateNode,u._visibility=T?u._visibility&-2:u._visibility|1,T&&(d===null||re||Co||qn||Ni(l)),d=null,u=l;;){if(u.tag===5||u.tag===26){if(d===null){re=d=u;try{if(D=re.stateNode,T)V=D.style,typeof V.setProperty=="function"?V.setProperty("display","none","important"):V.display="none";else{$=re.stateNode;var We=re.memoizedProps.style,Ne=We!=null&&We.hasOwnProperty("display")?We.display:null;$.style.display=Ne==null||typeof Ne=="boolean"?"":(""+Ne).trim()}}catch(_e){ei(re,re.return,_e)}}}else if(u.tag===6){if(d===null){re=u;try{re.stateNode.nodeValue=T?"":re.memoizedProps}catch(_e){ei(re,re.return,_e)}}}else if((u.tag!==22&&u.tag!==23||u.memoizedState===null||u===l)&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===l)break e;for(;u.sibling===null;){if(u.return===null||u.return===l)break e;d===u&&(d=null),u=u.return}d===u&&(d=null),u.sibling.return=u.return,u=u.sibling}v&4&&(v=l.updateQueue,v!==null&&(d=v.retryQueue,d!==null&&(v.retryQueue=null,Ig(l,d))));break;case 19:Rr(u,l),ya(l),v&4&&(v=l.updateQueue,v!==null&&(l.updateQueue=null,Ig(l,v)));break;case 30:break;case 21:break;default:Rr(u,l),ya(l)}}function ya(l){var u=l.flags;if(u&2){try{for(var d,v=l.return;v!==null;){if(dd(v)){d=v;break}v=v.return}if(d==null)throw Error(r(160));switch(d.tag){case 27:var T=d.stateNode,D=tl(l);Ih(l,D,T);break;case 5:var V=d.stateNode;d.flags&32&&(Ye(V,""),d.flags&=-33);var $=tl(l);Ih(l,$,V);break;case 3:case 4:var re=d.stateNode.containerInfo,Ce=tl(l);Xu(l,Ce,re);break;default:throw Error(r(161))}}catch(Xe){ei(l,l.return,Xe)}l.flags&=-3}u&4096&&(l.flags&=-4097)}function B0(l){if(l.subtreeFlags&1024)for(l=l.child;l!==null;){var u=l;B0(u),u.tag===5&&u.flags&1024&&u.stateNode.reset(),l=l.sibling}}function bs(l,u){if(u.subtreeFlags&8772)for(u=u.child;u!==null;)R0(l,u.alternate,u),u=u.sibling}function Ni(l){for(l=l.child;l!==null;){var u=l;switch(u.tag){case 0:case 11:case 14:case 15:Yu(4,u,u.return),Ni(u);break;case 1:To(u,u.return);var d=u.stateNode;typeof d.componentWillUnmount=="function"&&Ug(u,u.return,d),Ni(u);break;case 27:rl(u.stateNode);case 26:case 5:To(u,u.return),Ni(u);break;case 22:u.memoizedState===null&&Ni(u);break;case 30:Ni(u);break;default:Ni(u)}l=l.sibling}}function iu(l,u,d){for(d=d&&(u.subtreeFlags&8772)!==0,u=u.child;u!==null;){var v=u.alternate,T=l,D=u,V=D.flags;switch(D.tag){case 0:case 11:case 15:iu(T,D,d),Fh(4,D);break;case 1:if(iu(T,D,d),v=D,T=v.stateNode,typeof T.componentDidMount=="function")try{T.componentDidMount()}catch(Ce){ei(v,v.return,Ce)}if(v=D,T=v.updateQueue,T!==null){var $=v.stateNode;try{var re=T.shared.hiddenCallbacks;if(re!==null)for(T.shared.hiddenCallbacks=null,T=0;T<re.length;T++)ug(re[T],$)}catch(Ce){ei(v,v.return,Ce)}}d&&V&64&&zg(D),$c(D,D.return);break;case 27:Qc(D);case 26:case 5:iu(T,D,d),d&&v===null&&V&4&&Gu(D),$c(D,D.return);break;case 12:iu(T,D,d);break;case 13:iu(T,D,d),d&&V&4&&Fg(T,D);break;case 22:D.memoizedState===null&&iu(T,D,d),$c(D,D.return);break;case 30:break;default:iu(T,D,d)}u=u.sibling}}function Jl(l,u){var d=null;l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(d=l.memoizedState.cachePool.pool),l=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(l=u.memoizedState.cachePool.pool),l!==d&&(l!=null&&l.refCount++,d!=null&&ls(d))}function Pg(l,u){l=null,u.alternate!==null&&(l=u.alternate.memoizedState.cache),u=u.memoizedState.cache,u!==l&&(u.refCount++,l!=null&&ls(l))}function ja(l,u,d,v){if(u.subtreeFlags&10256)for(u=u.child;u!==null;)L0(l,u,d,v),u=u.sibling}function L0(l,u,d,v){var T=u.flags;switch(u.tag){case 0:case 11:case 15:ja(l,u,d,v),T&2048&&Fh(9,u);break;case 1:ja(l,u,d,v);break;case 3:ja(l,u,d,v),T&2048&&(l=null,u.alternate!==null&&(l=u.alternate.memoizedState.cache),u=u.memoizedState.cache,u!==l&&(u.refCount++,l!=null&&ls(l)));break;case 12:if(T&2048){ja(l,u,d,v),l=u.stateNode;try{var D=u.memoizedProps,V=D.id,$=D.onPostCommit;typeof $=="function"&&$(V,u.alternate===null?"mount":"update",l.passiveEffectDuration,-0)}catch(re){ei(u,u.return,re)}}else ja(l,u,d,v);break;case 13:ja(l,u,d,v);break;case 23:break;case 22:D=u.stateNode,V=u.alternate,u.memoizedState!==null?D._visibility&2?ja(l,u,d,v):Fn(l,u):D._visibility&2?ja(l,u,d,v):(D._visibility|=2,au(l,u,d,v,(u.subtreeFlags&10256)!==0)),T&2048&&Jl(V,u);break;case 24:ja(l,u,d,v),T&2048&&Pg(u.alternate,u);break;default:ja(l,u,d,v)}}function au(l,u,d,v,T){for(T=T&&(u.subtreeFlags&10256)!==0,u=u.child;u!==null;){var D=l,V=u,$=d,re=v,Ce=V.flags;switch(V.tag){case 0:case 11:case 15:au(D,V,$,re,T),Fh(8,V);break;case 23:break;case 22:var Xe=V.stateNode;V.memoizedState!==null?Xe._visibility&2?au(D,V,$,re,T):Fn(D,V):(Xe._visibility|=2,au(D,V,$,re,T)),T&&Ce&2048&&Jl(V.alternate,V);break;case 24:au(D,V,$,re,T),T&&Ce&2048&&Pg(V.alternate,V);break;default:au(D,V,$,re,T)}u=u.sibling}}function Fn(l,u){if(u.subtreeFlags&10256)for(u=u.child;u!==null;){var d=l,v=u,T=v.flags;switch(v.tag){case 22:Fn(d,v),T&2048&&Jl(v.alternate,v);break;case 24:Fn(d,v),T&2048&&Pg(v.alternate,v);break;default:Fn(d,v)}u=u.sibling}}var wa=8192;function Yi(l){if(l.subtreeFlags&wa)for(l=l.child;l!==null;)Dv(l),l=l.sibling}function Dv(l){switch(l.tag){case 26:Yi(l),l.flags&wa&&l.memoizedState!==null&&Yv(or,l.memoizedState,l.memoizedProps);break;case 5:Yi(l);break;case 3:case 4:var u=or;or=qt(l.stateNode.containerInfo),Yi(l),or=u;break;case 22:l.memoizedState===null&&(u=l.alternate,u!==null&&u.memoizedState!==null?(u=wa,wa=16777216,Yi(l),wa=u):Yi(l));break;default:Yi(l)}}function k0(l){var u=l.alternate;if(u!==null&&(l=u.child,l!==null)){u.child=null;do u=l.sibling,l.sibling=null,l=u;while(l!==null)}}function $u(l){var u=l.deletions;if((l.flags&16)!==0){if(u!==null)for(var d=0;d<u.length;d++){var v=u[d];fa=v,U0(v,l)}k0(l)}if(l.subtreeFlags&10256)for(l=l.child;l!==null;)z0(l),l=l.sibling}function z0(l){switch(l.tag){case 0:case 11:case 15:$u(l),l.flags&2048&&Yu(9,l,l.return);break;case 3:$u(l);break;case 12:$u(l);break;case 22:var u=l.stateNode;l.memoizedState!==null&&u._visibility&2&&(l.return===null||l.return.tag!==13)?(u._visibility&=-3,Mr(l)):$u(l);break;default:$u(l)}}function Mr(l){var u=l.deletions;if((l.flags&16)!==0){if(u!==null)for(var d=0;d<u.length;d++){var v=u[d];fa=v,U0(v,l)}k0(l)}for(l=l.child;l!==null;){switch(u=l,u.tag){case 0:case 11:case 15:Yu(8,u,u.return),Mr(u);break;case 22:d=u.stateNode,d._visibility&2&&(d._visibility&=-3,Mr(u));break;default:Mr(u)}l=l.sibling}}function U0(l,u){for(;fa!==null;){var d=fa;switch(d.tag){case 0:case 11:case 15:Yu(8,d,u);break;case 23:case 22:if(d.memoizedState!==null&&d.memoizedState.cachePool!==null){var v=d.memoizedState.cachePool.pool;v!=null&&v.refCount++}break;case 24:ls(d.memoizedState.cache)}if(v=d.child,v!==null)v.return=d,fa=v;else e:for(d=l;fa!==null;){v=fa;var T=v.sibling,D=v.return;if(M0(v),v===d){fa=null;break e}if(T!==null){T.return=D,fa=T;break e}fa=D}}}var H0={getCacheForType:function(l){var u=Ri(ui),d=u.data.get(l);return d===void 0&&(d=l(),u.data.set(l,d)),d}},qg=typeof WeakMap=="function"?WeakMap:Map,Vn=0,fi=null,mn=null,yn=0,Qn=0,nl=null,xs=!1,pd=!1,j0=!1,ru=0,Gi=0,lu=0,Zc=0,Ss=0,eo=0,gd=0,md=null,il=null,F0=!1,I0=0,yd=1/0,Wc=null,Qu=null,Fa=0,Es=null,vd=null,Ia=0,Vg=0,Yg=null,P0=null,Kc=0,q0=null;function sr(){if((Vn&2)!==0&&yn!==0)return yn&-yn;if(ee.T!==null){var l=Gl;return l!==0?l:Ku()}return Wa()}function V0(){eo===0&&(eo=(yn&536870912)===0||cn?mr():536870912);var l=Jr.current;return l!==null&&(l.flags|=32),eo}function Sl(l,u,d){(l===fi&&(Qn===2||Qn===9)||l.cancelPendingCommit!==null)&&(As(l,0),ou(l,yn,eo,!1)),ri(l,d),((Vn&2)===0||l!==fi)&&(l===fi&&((Vn&2)===0&&(Zc|=d),Gi===4&&ou(l,yn,eo,!1)),al(l))}function bd(l,u,d){if((Vn&6)!==0)throw Error(r(327));var v=!d&&(u&124)===0&&(u&l.expiredLanes)===0||Qa(l,u),T=v?G0(l,u):Gg(l,u,!0),D=v;do{if(T===0){pd&&!v&&ou(l,u,0,!1);break}else{if(d=l.current.alternate,D&&!Ov(d)){T=Gg(l,u,!1),D=!1;continue}if(T===2){if(D=u,l.errorRecoveryDisabledLanes&D)var V=0;else V=l.pendingLanes&-536870913,V=V!==0?V:V&536870912?536870912:0;if(V!==0){u=V;e:{var $=l;T=md;var re=$.current.memoizedState.isDehydrated;if(re&&(As($,V).flags|=256),V=Gg($,V,!1),V!==2){if(j0&&!re){$.errorRecoveryDisabledLanes|=D,Zc|=D,T=4;break e}D=il,il=T,D!==null&&(il===null?il=D:il.push.apply(il,D))}T=V}if(D=!1,T!==2)continue}}if(T===1){As(l,0),ou(l,u,0,!0);break}e:{switch(v=l,D=T,D){case 0:case 1:throw Error(r(345));case 4:if((u&4194048)!==u)break;case 6:ou(v,u,eo,!xs);break e;case 2:il=null;break;case 3:case 5:break;default:throw Error(r(329))}if((u&62914560)===u&&(T=I0+300-Ut(),10<T)){if(ou(v,u,eo,!xs),Aa(v,0,!0)!==0)break e;v.timeoutHandle=am(Ph.bind(null,v,d,il,Wc,F0,u,eo,Zc,gd,xs,D,2,-0,0),T);break e}Ph(v,d,il,Wc,F0,u,eo,Zc,gd,xs,D,0,-0,0)}}break}while(!0);al(l)}function Ph(l,u,d,v,T,D,V,$,re,Ce,Xe,We,Ne,_e){if(l.timeoutHandle=-1,We=u.subtreeFlags,(We&8192||(We&16785408)===16785408)&&(va={stylesheets:null,count:0,unsuspend:Vv},Dv(u),We=iy(),We!==null)){l.cancelPendingCommit=We(Vh.bind(null,l,u,D,d,v,T,V,$,re,Xe,1,Ne,_e)),ou(l,D,V,!Ce);return}Vh(l,u,D,d,v,T,V,$,re)}function Ov(l){for(var u=l;;){var d=u.tag;if((d===0||d===11||d===15)&&u.flags&16384&&(d=u.updateQueue,d!==null&&(d=d.stores,d!==null)))for(var v=0;v<d.length;v++){var T=d[v],D=T.getSnapshot;T=T.value;try{if(!ka(D(),T))return!1}catch{return!1}}if(d=u.child,u.subtreeFlags&16384&&d!==null)d.return=u,u=d;else{if(u===l)break;for(;u.sibling===null;){if(u.return===null||u.return===l)return!0;u=u.return}u.sibling.return=u.return,u=u.sibling}}return!0}function ou(l,u,d,v){u&=~Ss,u&=~Zc,l.suspendedLanes|=u,l.pingedLanes&=~u,v&&(l.warmLanes|=u),v=l.expirationTimes;for(var T=u;0<T;){var D=31-Ln(T),V=1<<D;v[D]=-1,T&=~V}d!==0&&Fi(l,d,u)}function Jc(){return(Vn&6)===0?($h(0),!1):!0}function Zu(){if(mn!==null){if(Qn===0)var l=mn.return;else l=mn,X=rs=null,Eh(l),ca=null,Dr=0,l=mn;for(;l!==null;)D0(l.alternate,l),l=l.return;mn=null}}function As(l,u){var d=l.timeoutHandle;d!==-1&&(l.timeoutHandle=-1,z1(d)),d=l.cancelPendingCommit,d!==null&&(l.cancelPendingCommit=null,d()),Zu(),fi=l,mn=d=za(l.current,null),yn=u,Qn=0,nl=null,xs=!1,pd=Qa(l,u),j0=!1,gd=eo=Ss=Zc=lu=Gi=0,il=md=null,F0=!1,(u&8)!==0&&(u|=u&32);var v=l.entangledLanes;if(v!==0)for(l=l.entanglements,v&=u;0<v;){var T=31-Ln(v),D=1<<T;u|=l[T],v&=~D}return ru=u,Vr(),d}function Y0(l,u){Gt=null,ee.H=Lh,u===Ca||u===bh?(u=y0(),Qn=3):u===rg?(u=y0(),Qn=4):Qn=u===Vi?8:u!==null&&typeof u=="object"&&typeof u.then=="function"?6:1,nl=u,mn===null&&(Gi=1,sd(l,tr(u,l.current)))}function Rv(){var l=ee.H;return ee.H=Lh,l===null?Lh:l}function ef(){var l=ee.A;return ee.A=H0,l}function tf(){Gi=4,xs||(yn&4194048)!==yn&&Jr.current!==null||(pd=!0),(lu&134217727)===0&&(Zc&134217727)===0||fi===null||ou(fi,yn,eo,!1)}function Gg(l,u,d){var v=Vn;Vn|=2;var T=Rv(),D=ef();(fi!==l||yn!==u)&&(Wc=null,As(l,u)),u=!1;var V=Gi;e:do try{if(Qn!==0&&mn!==null){var $=mn,re=nl;switch(Qn){case 8:Zu(),V=6;break e;case 3:case 2:case 9:case 6:Jr.current===null&&(u=!0);var Ce=Qn;if(Qn=0,nl=null,xd(l,$,re,Ce),d&&pd){V=0;break e}break;default:Ce=Qn,Qn=0,nl=null,xd(l,$,re,Ce)}}Xg(),V=Gi;break}catch(Xe){Y0(l,Xe)}while(!0);return u&&l.shellSuspendCounter++,X=rs=null,Vn=v,ee.H=T,ee.A=D,mn===null&&(fi=null,yn=0,Vr()),V}function Xg(){for(;mn!==null;)Qg(mn)}function G0(l,u){var d=Vn;Vn|=2;var v=Rv(),T=ef();fi!==l||yn!==u?(Wc=null,yd=Ut()+500,As(l,u)):pd=Qa(l,u);e:do try{if(Qn!==0&&mn!==null){u=mn;var D=nl;t:switch(Qn){case 1:Qn=0,nl=null,xd(l,u,D,1);break;case 2:case 9:if(og(D)){Qn=0,nl=null,X0(u);break}u=function(){Qn!==2&&Qn!==9||fi!==l||(Qn=7),al(l)},D.then(u,u);break e;case 3:Qn=7;break e;case 4:Qn=5;break e;case 7:og(D)?(Qn=0,nl=null,X0(u)):(Qn=0,nl=null,xd(l,u,D,7));break;case 5:var V=null;switch(mn.tag){case 26:V=mn.memoizedState;case 5:case 27:var $=mn;if(!V||da(V)){Qn=0,nl=null;var re=$.sibling;if(re!==null)mn=re;else{var Ce=$.return;Ce!==null?(mn=Ce,qh(Ce)):mn=null}break t}}Qn=0,nl=null,xd(l,u,D,5);break;case 6:Qn=0,nl=null,xd(l,u,D,6);break;case 8:Zu(),Gi=6;break e;default:throw Error(r(462))}}$g();break}catch(Xe){Y0(l,Xe)}while(!0);return X=rs=null,ee.H=v,ee.A=T,Vn=d,mn!==null?0:(fi=null,yn=0,Vr(),Gi)}function $g(){for(;mn!==null&&!Et();)Qg(mn)}function Qg(l){var u=Lg(l.alternate,l,ru);l.memoizedProps=l.pendingProps,u===null?qh(l):mn=u}function X0(l){var u=l,d=u.alternate;switch(u.tag){case 15:case 0:u=Uh(d,u,u.pendingProps,u.type,void 0,yn);break;case 11:u=Uh(d,u,u.pendingProps,u.type.render,u.ref,yn);break;case 5:Eh(u);default:D0(d,u),u=mn=Yt(u,ru),u=Lg(d,u,ru)}l.memoizedProps=l.pendingProps,u===null?qh(l):mn=u}function xd(l,u,d,v){X=rs=null,Eh(u),ca=null,Dr=0;var T=u.return;try{if(_0(l,T,u,d,yn)){Gi=1,sd(l,tr(d,l.current)),mn=null;return}}catch(D){if(T!==null)throw mn=T,D;Gi=1,sd(l,tr(d,l.current)),mn=null;return}u.flags&32768?(cn||v===1?l=!0:pd||(yn&536870912)!==0?l=!1:(xs=l=!0,(v===2||v===9||v===3||v===6)&&(v=Jr.current,v!==null&&v.tag===13&&(v.flags|=16384))),Mv(u,l)):qh(u)}function qh(l){var u=l;do{if((u.flags&32768)!==0){Mv(u,xs);return}l=u.return;var d=kg(u.alternate,u,ru);if(d!==null){mn=d;return}if(u=u.sibling,u!==null){mn=u;return}mn=u=l}while(u!==null);Gi===0&&(Gi=5)}function Mv(l,u){do{var d=wv(l.alternate,l);if(d!==null){d.flags&=32767,mn=d;return}if(d=l.return,d!==null&&(d.flags|=32768,d.subtreeFlags=0,d.deletions=null),!u&&(l=l.sibling,l!==null)){mn=l;return}mn=l=d}while(l!==null);Gi=6,mn=null}function Vh(l,u,d,v,T,D,V,$,re){l.cancelPendingCommit=null;do Wg();while(Fa!==0);if((Vn&6)!==0)throw Error(r(327));if(u!==null){if(u===l.current)throw Error(r(177));if(D=u.lanes|u.childLanes,D|=ns,ha(l,d,D,V,$,re),l===fi&&(mn=fi=null,yn=0),vd=u,Es=l,Ia=d,Vg=D,Yg=T,P0=v,(u.subtreeFlags&10256)!==0||(u.flags&10256)!==0?(l.callbackNode=null,l.callbackPriority=0,Lv(Zt,function(){return $0(),null})):(l.callbackNode=null,l.callbackPriority=0),v=(u.flags&13878)!==0,(u.subtreeFlags&13878)!==0||v){v=ee.T,ee.T=null,T=le.p,le.p=2,V=Vn,Vn|=4;try{O0(l,u,d)}finally{Vn=V,le.p=T,ee.T=v}}Fa=1,Nv(),Yh(),Zg()}}function Nv(){if(Fa===1){Fa=0;var l=Es,u=vd,d=(u.flags&13878)!==0;if((u.subtreeFlags&13878)!==0||d){d=ee.T,ee.T=null;var v=le.p;le.p=2;var T=Vn;Vn|=4;try{hd(u,l);var D=Cd,V=d0(l.containerInfo),$=D.focusedElem,re=D.selectionRange;if(V!==$&&$&&$.ownerDocument&&ch($.ownerDocument.documentElement,$)){if(re!==null&&fh($)){var Ce=re.start,Xe=re.end;if(Xe===void 0&&(Xe=Ce),"selectionStart"in $)$.selectionStart=Ce,$.selectionEnd=Math.min(Xe,$.value.length);else{var We=$.ownerDocument||document,Ne=We&&We.defaultView||window;if(Ne.getSelection){var _e=Ne.getSelection(),At=$.textContent.length,wt=Math.min(re.start,At),In=re.end===void 0?wt:Math.min(re.end,At);!_e.extend&&wt>In&&(V=In,In=wt,wt=V);var xe=yi($,wt),he=yi($,In);if(xe&&he&&(_e.rangeCount!==1||_e.anchorNode!==xe.node||_e.anchorOffset!==xe.offset||_e.focusNode!==he.node||_e.focusOffset!==he.offset)){var Te=We.createRange();Te.setStart(xe.node,xe.offset),_e.removeAllRanges(),wt>In?(_e.addRange(Te),_e.extend(he.node,he.offset)):(Te.setEnd(he.node,he.offset),_e.addRange(Te))}}}}for(We=[],_e=$;_e=_e.parentNode;)_e.nodeType===1&&We.push({element:_e,left:_e.scrollLeft,top:_e.scrollTop});for(typeof $.focus=="function"&&$.focus(),$=0;$<We.length;$++){var Ze=We[$];Ze.element.scrollLeft=Ze.left,Ze.element.scrollTop=Ze.top}}ip=!!Al,Cd=Al=null}finally{Vn=T,le.p=v,ee.T=d}}l.current=u,Fa=2}}function Yh(){if(Fa===2){Fa=0;var l=Es,u=vd,d=(u.flags&8772)!==0;if((u.subtreeFlags&8772)!==0||d){d=ee.T,ee.T=null;var v=le.p;le.p=2;var T=Vn;Vn|=4;try{R0(l,u.alternate,u)}finally{Vn=T,le.p=v,ee.T=d}}Fa=3}}function Zg(){if(Fa===4||Fa===3){Fa=0,un();var l=Es,u=vd,d=Ia,v=P0;(u.subtreeFlags&10256)!==0||(u.flags&10256)!==0?Fa=5:(Fa=0,vd=Es=null,Bv(l,l.pendingLanes));var T=l.pendingLanes;if(T===0&&(Qu=null),Ii(d),u=u.stateNode,ot&&typeof ot.onCommitFiberRoot=="function")try{ot.onCommitFiberRoot(Lt,u,void 0,(u.current.flags&128)===128)}catch{}if(v!==null){u=ee.T,T=le.p,le.p=2,ee.T=null;try{for(var D=l.onRecoverableError,V=0;V<v.length;V++){var $=v[V];D($.value,{componentStack:$.stack})}}finally{ee.T=u,le.p=T}}(Ia&3)!==0&&Wg(),al(l),T=l.pendingLanes,(d&4194090)!==0&&(T&42)!==0?l===q0?Kc++:(Kc=0,q0=l):Kc=0,$h(0)}}function Bv(l,u){(l.pooledCacheLanes&=u)===0&&(u=l.pooledCache,u!=null&&(l.pooledCache=null,ls(u)))}function Wg(l){return Nv(),Yh(),Zg(),$0()}function $0(){if(Fa!==5)return!1;var l=Es,u=Vg;Vg=0;var d=Ii(Ia),v=ee.T,T=le.p;try{le.p=32>d?32:d,ee.T=null,d=Yg,Yg=null;var D=Es,V=Ia;if(Fa=0,vd=Es=null,Ia=0,(Vn&6)!==0)throw Error(r(331));var $=Vn;if(Vn|=4,z0(D.current),L0(D,D.current,V,d),Vn=$,$h(0,!1),ot&&typeof ot.onPostCommitFiberRoot=="function")try{ot.onPostCommitFiberRoot(Lt,D)}catch{}return!0}finally{le.p=T,ee.T=v,Bv(l,u)}}function Q0(l,u,d){u=tr(d,u),u=_g(l.stateNode,u,2),l=yo(l,u,2),l!==null&&(ri(l,2),al(l))}function ei(l,u,d){if(l.tag===3)Q0(l,l,d);else for(;u!==null;){if(u.tag===3){Q0(u,l,d);break}else if(u.tag===1){var v=u.stateNode;if(typeof u.type.getDerivedStateFromError=="function"||typeof v.componentDidCatch=="function"&&(Qu===null||!Qu.has(v))){l=tr(d,l),d=wg(2),v=yo(u,d,2),v!==null&&(el(d,v,u,l),ri(v,2),al(v));break}}u=u.return}}function Kg(l,u,d){var v=l.pingCache;if(v===null){v=l.pingCache=new qg;var T=new Set;v.set(u,T)}else T=v.get(u),T===void 0&&(T=new Set,v.set(u,T));T.has(d)||(j0=!0,T.add(d),l=Z0.bind(null,l,u,d),u.then(l,l))}function Z0(l,u,d){var v=l.pingCache;v!==null&&v.delete(u),l.pingedLanes|=l.suspendedLanes&d,l.warmLanes&=~d,fi===l&&(yn&d)===d&&(Gi===4||Gi===3&&(yn&62914560)===yn&&300>Ut()-I0?(Vn&2)===0&&As(l,0):Ss|=d,gd===yn&&(gd=0)),al(l)}function W0(l,u){u===0&&(u=uo()),l=po(l,u),l!==null&&(ri(l,u),al(l))}function Jg(l){var u=l.memoizedState,d=0;u!==null&&(d=u.retryLane),W0(l,d)}function B1(l,u){var d=0;switch(l.tag){case 13:var v=l.stateNode,T=l.memoizedState;T!==null&&(d=T.retryLane);break;case 19:v=l.stateNode;break;case 22:v=l.stateNode._retryCache;break;default:throw Error(r(314))}v!==null&&v.delete(u),W0(l,d)}function Lv(l,u){return Ct(l,u)}var Gh=null,Ts=null,Sd=!1,nf=!1,Xh=!1,su=0;function al(l){l!==Ts&&l.next===null&&(Ts===null?Gh=Ts=l:Ts=Ts.next=l),nf=!0,Sd||(Sd=!0,em())}function $h(l,u){if(!Xh&&nf){Xh=!0;do for(var d=!1,v=Gh;v!==null;){if(l!==0){var T=v.pendingLanes;if(T===0)var D=0;else{var V=v.suspendedLanes,$=v.pingedLanes;D=(1<<31-Ln(42|l)+1)-1,D&=T&~(V&~$),D=D&201326741?D&201326741|1:D?D|2:0}D!==0&&(d=!0,Qh(v,D))}else D=yn,D=Aa(v,v===fi?D:0,v.cancelPendingCommit!==null||v.timeoutHandle!==-1),(D&3)===0||Qa(v,D)||(d=!0,Qh(v,D));v=v.next}while(d);Xh=!1}}function kv(){Wu()}function Wu(){nf=Sd=!1;var l=0;su!==0&&(uu()&&(l=su),su=0);for(var u=Ut(),d=null,v=Gh;v!==null;){var T=v.next,D=Ed(v,u);D===0?(v.next=null,d===null?Gh=T:d.next=T,T===null&&(Ts=d)):(d=v,(l!==0||(D&3)!==0)&&(nf=!0)),v=T}$h(l)}function Ed(l,u){for(var d=l.suspendedLanes,v=l.pingedLanes,T=l.expirationTimes,D=l.pendingLanes&-62914561;0<D;){var V=31-Ln(D),$=1<<V,re=T[V];re===-1?(($&d)===0||($&v)!==0)&&(T[V]=Ai($,u)):re<=u&&(l.expiredLanes|=$),D&=~$}if(u=fi,d=yn,d=Aa(l,l===u?d:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),v=l.callbackNode,d===0||l===u&&(Qn===2||Qn===9)||l.cancelPendingCommit!==null)return v!==null&&v!==null&&Rt(v),l.callbackNode=null,l.callbackPriority=0;if((d&3)===0||Qa(l,d)){if(u=d&-d,u===l.callbackPriority)return u;switch(v!==null&&Rt(v),Ii(d)){case 2:case 8:d=wn;break;case 32:d=Zt;break;case 268435456:d=Dn;break;default:d=Zt}return v=zv.bind(null,l),d=Ct(d,v),l.callbackPriority=u,l.callbackNode=d,u}return v!==null&&v!==null&&Rt(v),l.callbackPriority=2,l.callbackNode=null,2}function zv(l,u){if(Fa!==0&&Fa!==5)return l.callbackNode=null,l.callbackPriority=0,null;var d=l.callbackNode;if(Wg()&&l.callbackNode!==d)return null;var v=yn;return v=Aa(l,l===fi?v:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),v===0?null:(bd(l,v,u),Ed(l,Ut()),l.callbackNode!=null&&l.callbackNode===d?zv.bind(null,l):null)}function Qh(l,u){if(Wg())return null;bd(l,u,!0)}function em(){U1(function(){(Vn&6)!==0?Ct(Ea,kv):Wu()})}function Ku(){return su===0&&(su=mr()),su}function tm(l){return l==null||typeof l=="symbol"||typeof l=="boolean"?null:typeof l=="function"?l:Of(""+l)}function Zh(l,u){var d=u.ownerDocument.createElement("input");return d.name=u.name,d.value=u.value,l.id&&d.setAttribute("form",l.id),u.parentNode.insertBefore(d,u),l=new FormData(l),d.parentNode.removeChild(d),l}function Uv(l,u,d,v,T){if(u==="submit"&&d&&d.stateNode===T){var D=tm((T[kn]||null).action),V=v.submitter;V&&(u=(u=V[kn]||null)?tm(u.formAction):V.getAttribute("formAction"),u!==null&&(D=u,V=null));var $=new qp("action","action",null,v,T);l.push({event:$,listeners:[{instance:null,listener:function(){if(v.defaultPrevented){if(su!==0){var re=V?Zh(T,V):new FormData(T);rd(d,{pending:!0,data:re,method:T.method,action:D},null,re)}}else typeof D=="function"&&($.preventDefault(),re=V?Zh(T,V):new FormData(T),rd(d,{pending:!0,data:re,method:T.method,action:D},D,re))},currentTarget:T}]})}}for(var Xi=0;Xi<Rn.length;Xi++){var Wh=Rn[Xi],L1=Wh.toLowerCase(),Kt=Wh[0].toUpperCase()+Wh.slice(1);Pl(L1,"on"+Kt)}Pl(Wp,"onAnimationEnd"),Pl(h0,"onAnimationIteration"),Pl(ml,"onAnimationStart"),Pl("dblclick","onDoubleClick"),Pl("focusin","onFocus"),Pl("focusout","onBlur"),Pl(Ff,"onTransitionRun"),Pl(Kp,"onTransitionStart"),Pl(Mc,"onTransitionCancel"),Pl(If,"onTransitionEnd"),Xo("onMouseEnter",["mouseout","mouseover"]),Xo("onMouseLeave",["mouseout","mouseover"]),Xo("onPointerEnter",["pointerout","pointerover"]),Xo("onPointerLeave",["pointerout","pointerover"]),Go("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Go("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Go("onBeforeInput",["compositionend","keypress","textInput","paste"]),Go("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Go("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Go("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Kh="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(" "),Ju=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Kh));function af(l,u){u=(u&4)!==0;for(var d=0;d<l.length;d++){var v=l[d],T=v.event;v=v.listeners;e:{var D=void 0;if(u)for(var V=v.length-1;0<=V;V--){var $=v[V],re=$.instance,Ce=$.currentTarget;if($=$.listener,re!==D&&T.isPropagationStopped())break e;D=$,T.currentTarget=Ce;try{D(T)}catch(Xe){Pu(Xe)}T.currentTarget=null,D=re}else for(V=0;V<v.length;V++){if($=v[V],re=$.instance,Ce=$.currentTarget,$=$.listener,re!==D&&T.isPropagationStopped())break e;D=$,T.currentTarget=Ce;try{D(T)}catch(Xe){Pu(Xe)}T.currentTarget=null,D=re}}}}function $t(l,u){var d=u[Ll];d===void 0&&(d=u[Ll]=new Set);var v=l+"__bubble";d.has(v)||(nm(u,l,2,!1),d.add(v))}function Ad(l,u,d){var v=0;u&&(v|=4),nm(d,l,v,u)}var ur="_reactListening"+Math.random().toString(36).slice(2);function K0(l){if(!l[ur]){l[ur]=!0,bc.forEach(function(d){d!=="selectionchange"&&(Ju.has(d)||Ad(d,!1,l),Ad(d,!0,l))});var u=l.nodeType===9?l:l.ownerDocument;u===null||u[ur]||(u[ur]=!0,Ad("selectionchange",!1,u))}}function nm(l,u,d,v){switch(uy(u)){case 2:var T=Gv;break;case 8:T=of;break;default:T=oy}d=T.bind(null,u,d,l),T=void 0,!Bf||u!=="touchstart"&&u!=="touchmove"&&u!=="wheel"||(T=!0),v?T!==void 0?l.addEventListener(u,d,{capture:!0,passive:T}):l.addEventListener(u,d,!0):T!==void 0?l.addEventListener(u,d,{passive:T}):l.addEventListener(u,d,!1)}function Da(l,u,d,v,T){var D=v;if((u&1)===0&&(u&2)===0&&v!==null)e:for(;;){if(v===null)return;var V=v.tag;if(V===3||V===4){var $=v.stateNode.containerInfo;if($===T)break;if(V===4)for(V=v.return;V!==null;){var re=V.tag;if((re===3||re===4)&&V.stateNode.containerInfo===T)return;V=V.return}for(;$!==null;){if(V=mi($),V===null)return;if(re=V.tag,re===5||re===6||re===26||re===27){v=D=V;continue e}$=$.parentNode}}v=v.return}Nf(function(){var Ce=D,Xe=Ip(d),We=[];e:{var Ne=Pf.get(l);if(Ne!==void 0){var _e=qp,At=l;switch(l){case"keypress":if(Wt(d)===0)break e;case"keydown":case"keyup":_e=pl;break;case"focusin":At="focus",_e=Xp;break;case"focusout":At="blur",_e=Xp;break;case"beforeblur":case"afterblur":_e=Xp;break;case"click":if(d.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":_e=Ps;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":_e=Gp;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":_e=a0;break;case Wp:case h0:case ml:_e=mv;break;case If:_e=bv;break;case"scroll":case"scrollend":_e=pv;break;case"wheel":_e=wc;break;case"copy":case"cut":case"paste":_e=kf;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":_e=zl;break;case"toggle":case"beforetoggle":_e=ih}var wt=(u&4)!==0,In=!wt&&(l==="scroll"||l==="scrollend"),xe=wt?Ne!==null?Ne+"Capture":null:Ne;wt=[];for(var he=Ce,Te;he!==null;){var Ze=he;if(Te=Ze.stateNode,Ze=Ze.tag,Ze!==5&&Ze!==26&&Ze!==27||Te===null||xe===null||(Ze=Cc(he,xe),Ze!=null&&wt.push(Bt(he,Ze,Te))),In)break;he=he.return}0<wt.length&&(Ne=new _e(Ne,At,null,d,Xe),We.push({event:Ne,listeners:wt}))}}if((u&7)===0){e:{if(Ne=l==="mouseover"||l==="pointerover",_e=l==="mouseout"||l==="pointerout",Ne&&d!==wu&&(At=d.relatedTarget||d.fromElement)&&(mi(At)||At[Ki]))break e;if((_e||Ne)&&(Ne=Xe.window===Xe?Xe:(Ne=Xe.ownerDocument)?Ne.defaultView||Ne.parentWindow:window,_e?(At=d.relatedTarget||d.toElement,_e=Ce,At=At?mi(At):null,At!==null&&(In=c(At),wt=At.tag,At!==In||wt!==5&&wt!==27&&wt!==6)&&(At=null)):(_e=null,At=Ce),_e!==At)){if(wt=Ps,Ze="onMouseLeave",xe="onMouseEnter",he="mouse",(l==="pointerout"||l==="pointerover")&&(wt=zl,Ze="onPointerLeave",xe="onPointerEnter",he="pointer"),In=_e==null?Ne:Yo(_e),Te=At==null?Ne:Yo(At),Ne=new wt(Ze,he+"leave",_e,d,Xe),Ne.target=In,Ne.relatedTarget=Te,Ze=null,mi(Xe)===Ce&&(wt=new wt(xe,he+"enter",At,d,Xe),wt.target=Te,wt.relatedTarget=In,Ze=wt),In=Ze,_e&&At)t:{for(wt=_e,xe=At,he=0,Te=wt;Te;Te=aa(Te))he++;for(Te=0,Ze=xe;Ze;Ze=aa(Ze))Te++;for(;0<he-Te;)wt=aa(wt),he--;for(;0<Te-he;)xe=aa(xe),Te--;for(;he--;){if(wt===xe||xe!==null&&wt===xe.alternate)break t;wt=aa(wt),xe=aa(xe)}wt=null}else wt=null;_e!==null&&Di(We,Ne,_e,wt,!1),At!==null&&In!==null&&Di(We,In,At,wt,!0)}}e:{if(Ne=Ce?Yo(Ce):window,_e=Ne.nodeName&&Ne.nodeName.toLowerCase(),_e==="select"||_e==="input"&&Ne.type==="file")var dt=o0;else if(Hf(Ne))if(s0)dt=c0;else{dt=Er;var ln=uh}else _e=Ne.nodeName,!_e||_e.toLowerCase()!=="input"||Ne.type!=="checkbox"&&Ne.type!=="radio"?Ce&&Ci(Ce.elementType)&&(dt=o0):dt=Il;if(dt&&(dt=dt(l,Ce))){Ru(We,dt,d,Xe);break e}ln&&ln(l,Ne,Ce),l==="focusout"&&Ce&&Ne.type==="number"&&Ce.memoizedProps.value!=null&&B(Ne,"number",Ne.value)}switch(ln=Ce?Yo(Ce):window,l){case"focusin":(Hf(ln)||ln.contentEditable==="true")&&(ts=ln,er=Ce,me=null);break;case"focusout":me=er=ts=null;break;case"mousedown":Pe=!0;break;case"contextmenu":case"mouseup":case"dragend":Pe=!1,ke(We,d,Xe);break;case"selectionchange":if(Rc)break;case"keydown":case"keyup":ke(We,d,Xe)}var St;if(ah)e:{switch(l){case"compositionstart":var zt="onCompositionStart";break e;case"compositionend":zt="onCompositionEnd";break e;case"compositionupdate":zt="onCompositionUpdate";break e}zt=void 0}else Jo?oh(l,d)&&(zt="onCompositionEnd"):l==="keydown"&&d.keyCode===229&&(zt="onCompositionStart");zt&&(Ul&&d.locale!=="ko"&&(Jo||zt!=="onCompositionStart"?zt==="onCompositionEnd"&&Jo&&(St=Jm()):(Fs=Xe,Lf="value"in Fs?Fs.value:Fs.textContent,Jo=!0)),ln=Td(Ce,zt),0<ln.length&&(zt=new Sr(zt,l,null,d,Xe),We.push({event:zt,listeners:ln}),St?zt.data=St:(St=Ko(d),St!==null&&(zt.data=St)))),(St=Zp?r0(l,d):Ou(l,d))&&(zt=Td(Ce,"onBeforeInput"),0<zt.length&&(ln=new Sr("onBeforeInput","beforeinput",null,d,Xe),We.push({event:ln,listeners:zt}),ln.data=St)),Uv(We,l,Ce,d,Xe)}af(We,u)})}function Bt(l,u,d){return{instance:l,listener:u,currentTarget:d}}function Td(l,u){for(var d=u+"Capture",v=[];l!==null;){var T=l,D=T.stateNode;if(T=T.tag,T!==5&&T!==26&&T!==27||D===null||(T=Cc(l,d),T!=null&&v.unshift(Bt(l,T,D)),T=Cc(l,u),T!=null&&v.push(Bt(l,T,D))),l.tag===3)return v;l=l.return}return[]}function aa(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5&&l.tag!==27);return l||null}function Di(l,u,d,v,T){for(var D=u._reactName,V=[];d!==null&&d!==v;){var $=d,re=$.alternate,Ce=$.stateNode;if($=$.tag,re!==null&&re===v)break;$!==5&&$!==26&&$!==27||Ce===null||(re=Ce,T?(Ce=Cc(d,D),Ce!=null&&V.unshift(Bt(d,Ce,re))):T||(Ce=Cc(d,D),Ce!=null&&V.push(Bt(d,Ce,re)))),d=d.return}V.length!==0&&l.push({event:u,listeners:V})}var El=/\r\n?/g,Cs=/\u0000|\uFFFD/g;function Hv(l){return(typeof l=="string"?l:""+l).replace(El,`
|
|
165
|
+
`).replace(Cs,"")}function J0(l,u){return u=Hv(u),Hv(l)===u}function im(){}function Pt(l,u,d,v,T,D){switch(d){case"children":typeof v=="string"?u==="body"||u==="textarea"&&v===""||Ye(l,v):(typeof v=="number"||typeof v=="bigint")&&u!=="body"&&Ye(l,""+v);break;case"className":Sc(l,"class",v);break;case"tabIndex":Sc(l,"tabindex",v);break;case"dir":case"role":case"viewBox":case"width":case"height":Sc(l,d,v);break;case"style":An(l,v,D);break;case"data":if(u!=="object"){Sc(l,"data",v);break}case"src":case"href":if(v===""&&(u!=="a"||d!=="href")){l.removeAttribute(d);break}if(v==null||typeof v=="function"||typeof v=="symbol"||typeof v=="boolean"){l.removeAttribute(d);break}v=Of(""+v),l.setAttribute(d,v);break;case"action":case"formAction":if(typeof v=="function"){l.setAttribute(d,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof D=="function"&&(d==="formAction"?(u!=="input"&&Pt(l,u,"name",T.name,T,null),Pt(l,u,"formEncType",T.formEncType,T,null),Pt(l,u,"formMethod",T.formMethod,T,null),Pt(l,u,"formTarget",T.formTarget,T,null)):(Pt(l,u,"encType",T.encType,T,null),Pt(l,u,"method",T.method,T,null),Pt(l,u,"target",T.target,T,null)));if(v==null||typeof v=="symbol"||typeof v=="boolean"){l.removeAttribute(d);break}v=Of(""+v),l.setAttribute(d,v);break;case"onClick":v!=null&&(l.onclick=im);break;case"onScroll":v!=null&&$t("scroll",l);break;case"onScrollEnd":v!=null&&$t("scrollend",l);break;case"dangerouslySetInnerHTML":if(v!=null){if(typeof v!="object"||!("__html"in v))throw Error(r(61));if(d=v.__html,d!=null){if(T.children!=null)throw Error(r(60));l.innerHTML=d}}break;case"multiple":l.multiple=v&&typeof v!="function"&&typeof v!="symbol";break;case"muted":l.muted=v&&typeof v!="function"&&typeof v!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(v==null||typeof v=="function"||typeof v=="boolean"||typeof v=="symbol"){l.removeAttribute("xlink:href");break}d=Of(""+v),l.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",d);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":v!=null&&typeof v!="function"&&typeof v!="symbol"?l.setAttribute(d,""+v):l.removeAttribute(d);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":v&&typeof v!="function"&&typeof v!="symbol"?l.setAttribute(d,""):l.removeAttribute(d);break;case"capture":case"download":v===!0?l.setAttribute(d,""):v!==!1&&v!=null&&typeof v!="function"&&typeof v!="symbol"?l.setAttribute(d,v):l.removeAttribute(d);break;case"cols":case"rows":case"size":case"span":v!=null&&typeof v!="function"&&typeof v!="symbol"&&!isNaN(v)&&1<=v?l.setAttribute(d,v):l.removeAttribute(d);break;case"rowSpan":case"start":v==null||typeof v=="function"||typeof v=="symbol"||isNaN(v)?l.removeAttribute(d):l.setAttribute(d,v);break;case"popover":$t("beforetoggle",l),$t("toggle",l),fo(l,"popover",v);break;case"xlinkActuate":dl(l,"http://www.w3.org/1999/xlink","xlink:actuate",v);break;case"xlinkArcrole":dl(l,"http://www.w3.org/1999/xlink","xlink:arcrole",v);break;case"xlinkRole":dl(l,"http://www.w3.org/1999/xlink","xlink:role",v);break;case"xlinkShow":dl(l,"http://www.w3.org/1999/xlink","xlink:show",v);break;case"xlinkTitle":dl(l,"http://www.w3.org/1999/xlink","xlink:title",v);break;case"xlinkType":dl(l,"http://www.w3.org/1999/xlink","xlink:type",v);break;case"xmlBase":dl(l,"http://www.w3.org/XML/1998/namespace","xml:base",v);break;case"xmlLang":dl(l,"http://www.w3.org/XML/1998/namespace","xml:lang",v);break;case"xmlSpace":dl(l,"http://www.w3.org/XML/1998/namespace","xml:space",v);break;case"is":fo(l,"is",v);break;case"innerText":case"textContent":break;default:(!(2<d.length)||d[0]!=="o"&&d[0]!=="O"||d[1]!=="n"&&d[1]!=="N")&&(d=ta.get(d)||d,fo(l,d,v))}}function ze(l,u,d,v,T,D){switch(d){case"style":An(l,v,D);break;case"dangerouslySetInnerHTML":if(v!=null){if(typeof v!="object"||!("__html"in v))throw Error(r(61));if(d=v.__html,d!=null){if(T.children!=null)throw Error(r(60));l.innerHTML=d}}break;case"children":typeof v=="string"?Ye(l,v):(typeof v=="number"||typeof v=="bigint")&&Ye(l,""+v);break;case"onScroll":v!=null&&$t("scroll",l);break;case"onScrollEnd":v!=null&&$t("scrollend",l);break;case"onClick":v!=null&&(l.onclick=im);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!yr.hasOwnProperty(d))e:{if(d[0]==="o"&&d[1]==="n"&&(T=d.endsWith("Capture"),u=d.slice(2,T?d.length-7:void 0),D=l[kn]||null,D=D!=null?D[d]:null,typeof D=="function"&&l.removeEventListener(u,D,T),typeof v=="function")){typeof D!="function"&&D!==null&&(d in l?l[d]=null:l.hasAttribute(d)&&l.removeAttribute(d)),l.addEventListener(u,v,T);break e}d in l?l[d]=v:v===!0?l.setAttribute(d,""):fo(l,d,v)}}}function Ht(l,u,d){switch(u){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":$t("error",l),$t("load",l);var v=!1,T=!1,D;for(D in d)if(d.hasOwnProperty(D)){var V=d[D];if(V!=null)switch(D){case"src":v=!0;break;case"srcSet":T=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,u));default:Pt(l,u,D,V,d,null)}}T&&Pt(l,u,"srcSet",d.srcSet,d,null),v&&Pt(l,u,"src",d.src,d,null);return;case"input":$t("invalid",l);var $=D=V=T=null,re=null,Ce=null;for(v in d)if(d.hasOwnProperty(v)){var Xe=d[v];if(Xe!=null)switch(v){case"name":T=Xe;break;case"type":V=Xe;break;case"checked":re=Xe;break;case"defaultChecked":Ce=Xe;break;case"value":D=Xe;break;case"defaultValue":$=Xe;break;case"children":case"dangerouslySetInnerHTML":if(Xe!=null)throw Error(r(137,u));break;default:Pt(l,u,v,Xe,d,null)}}Tc(l,D,$,re,Ce,V,T,!1),Qo(l);return;case"select":$t("invalid",l),v=V=D=null;for(T in d)if(d.hasOwnProperty(T)&&($=d[T],$!=null))switch(T){case"value":D=$;break;case"defaultValue":V=$;break;case"multiple":v=$;default:Pt(l,u,T,$,d,null)}u=D,d=V,l.multiple=!!v,u!=null?Y(l,!!v,u,!1):d!=null&&Y(l,!!v,d,!0);return;case"textarea":$t("invalid",l),D=T=v=null;for(V in d)if(d.hasOwnProperty(V)&&($=d[V],$!=null))switch(V){case"value":v=$;break;case"defaultValue":T=$;break;case"children":D=$;break;case"dangerouslySetInnerHTML":if($!=null)throw Error(r(91));break;default:Pt(l,u,V,$,d,null)}ye(l,v,T,D),Qo(l);return;case"option":for(re in d)if(d.hasOwnProperty(re)&&(v=d[re],v!=null))switch(re){case"selected":l.selected=v&&typeof v!="function"&&typeof v!="symbol";break;default:Pt(l,u,re,v,d,null)}return;case"dialog":$t("beforetoggle",l),$t("toggle",l),$t("cancel",l),$t("close",l);break;case"iframe":case"object":$t("load",l);break;case"video":case"audio":for(v=0;v<Kh.length;v++)$t(Kh[v],l);break;case"image":$t("error",l),$t("load",l);break;case"details":$t("toggle",l);break;case"embed":case"source":case"link":$t("error",l),$t("load",l);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(Ce in d)if(d.hasOwnProperty(Ce)&&(v=d[Ce],v!=null))switch(Ce){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,u));default:Pt(l,u,Ce,v,d,null)}return;default:if(Ci(u)){for(Xe in d)d.hasOwnProperty(Xe)&&(v=d[Xe],v!==void 0&&ze(l,u,Xe,v,d,void 0));return}}for($ in d)d.hasOwnProperty($)&&(v=d[$],v!=null&&Pt(l,u,$,v,d,null))}function k1(l,u,d,v){switch(u){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var T=null,D=null,V=null,$=null,re=null,Ce=null,Xe=null;for(_e in d){var We=d[_e];if(d.hasOwnProperty(_e)&&We!=null)switch(_e){case"checked":break;case"value":break;case"defaultValue":re=We;default:v.hasOwnProperty(_e)||Pt(l,u,_e,null,v,We)}}for(var Ne in v){var _e=v[Ne];if(We=d[Ne],v.hasOwnProperty(Ne)&&(_e!=null||We!=null))switch(Ne){case"type":D=_e;break;case"name":T=_e;break;case"checked":Ce=_e;break;case"defaultChecked":Xe=_e;break;case"value":V=_e;break;case"defaultValue":$=_e;break;case"children":case"dangerouslySetInnerHTML":if(_e!=null)throw Error(r(137,u));break;default:_e!==We&&Pt(l,u,Ne,_e,v,We)}}Ac(l,V,$,re,Ce,Xe,D,T);return;case"select":_e=V=$=Ne=null;for(D in d)if(re=d[D],d.hasOwnProperty(D)&&re!=null)switch(D){case"value":break;case"multiple":_e=re;default:v.hasOwnProperty(D)||Pt(l,u,D,null,v,re)}for(T in v)if(D=v[T],re=d[T],v.hasOwnProperty(T)&&(D!=null||re!=null))switch(T){case"value":Ne=D;break;case"defaultValue":$=D;break;case"multiple":V=D;default:D!==re&&Pt(l,u,T,D,v,re)}u=$,d=V,v=_e,Ne!=null?Y(l,!!d,Ne,!1):!!v!=!!d&&(u!=null?Y(l,!!d,u,!0):Y(l,!!d,d?[]:"",!1));return;case"textarea":_e=Ne=null;for($ in d)if(T=d[$],d.hasOwnProperty($)&&T!=null&&!v.hasOwnProperty($))switch($){case"value":break;case"children":break;default:Pt(l,u,$,null,v,T)}for(V in v)if(T=v[V],D=d[V],v.hasOwnProperty(V)&&(T!=null||D!=null))switch(V){case"value":Ne=T;break;case"defaultValue":_e=T;break;case"children":break;case"dangerouslySetInnerHTML":if(T!=null)throw Error(r(91));break;default:T!==D&&Pt(l,u,V,T,v,D)}te(l,Ne,_e);return;case"option":for(var At in d)if(Ne=d[At],d.hasOwnProperty(At)&&Ne!=null&&!v.hasOwnProperty(At))switch(At){case"selected":l.selected=!1;break;default:Pt(l,u,At,null,v,Ne)}for(re in v)if(Ne=v[re],_e=d[re],v.hasOwnProperty(re)&&Ne!==_e&&(Ne!=null||_e!=null))switch(re){case"selected":l.selected=Ne&&typeof Ne!="function"&&typeof Ne!="symbol";break;default:Pt(l,u,re,Ne,v,_e)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var wt in d)Ne=d[wt],d.hasOwnProperty(wt)&&Ne!=null&&!v.hasOwnProperty(wt)&&Pt(l,u,wt,null,v,Ne);for(Ce in v)if(Ne=v[Ce],_e=d[Ce],v.hasOwnProperty(Ce)&&Ne!==_e&&(Ne!=null||_e!=null))switch(Ce){case"children":case"dangerouslySetInnerHTML":if(Ne!=null)throw Error(r(137,u));break;default:Pt(l,u,Ce,Ne,v,_e)}return;default:if(Ci(u)){for(var In in d)Ne=d[In],d.hasOwnProperty(In)&&Ne!==void 0&&!v.hasOwnProperty(In)&&ze(l,u,In,void 0,v,Ne);for(Xe in v)Ne=v[Xe],_e=d[Xe],!v.hasOwnProperty(Xe)||Ne===_e||Ne===void 0&&_e===void 0||ze(l,u,Xe,Ne,v,_e);return}}for(var xe in d)Ne=d[xe],d.hasOwnProperty(xe)&&Ne!=null&&!v.hasOwnProperty(xe)&&Pt(l,u,xe,null,v,Ne);for(We in v)Ne=v[We],_e=d[We],!v.hasOwnProperty(We)||Ne===_e||Ne==null&&_e==null||Pt(l,u,We,Ne,v,_e)}var Al=null,Cd=null;function Nr(l){return l.nodeType===9?l:l.ownerDocument}function Yn(l){switch(l){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function di(l,u){if(l===0)switch(u){case"svg":return 1;case"math":return 2;default:return 0}return l===1&&u==="foreignObject"?0:l}function _o(l,u){return l==="textarea"||l==="noscript"||typeof u.children=="string"||typeof u.children=="number"||typeof u.children=="bigint"||typeof u.dangerouslySetInnerHTML=="object"&&u.dangerouslySetInnerHTML!==null&&u.dangerouslySetInnerHTML.__html!=null}var _d=null;function uu(){var l=window.event;return l&&l.type==="popstate"?l===_d?!1:(_d=l,!0):(_d=null,!1)}var am=typeof setTimeout=="function"?setTimeout:void 0,z1=typeof clearTimeout=="function"?clearTimeout:void 0,jv=typeof Promise=="function"?Promise:void 0,U1=typeof queueMicrotask=="function"?queueMicrotask:typeof jv<"u"?function(l){return jv.resolve(null).then(l).catch(wo)}:am;function wo(l){setTimeout(function(){throw l})}function to(l){return l==="head"}function wd(l,u){var d=u,v=0,T=0;do{var D=d.nextSibling;if(l.removeChild(d),D&&D.nodeType===8)if(d=D.data,d==="/$"){if(0<v&&8>v){d=v;var V=l.ownerDocument;if(d&1&&rl(V.documentElement),d&2&&rl(V.body),d&4)for(d=V.head,rl(d),V=d.firstChild;V;){var $=V.nextSibling,re=V.nodeName;V[ft]||re==="SCRIPT"||re==="STYLE"||re==="LINK"&&V.rel.toLowerCase()==="stylesheet"||d.removeChild(V),V=$}}if(T===0){l.removeChild(D),Ds(u);return}T--}else d==="$"||d==="$?"||d==="$!"?T++:v=d.charCodeAt(0)-48;else v=0;d=D}while(d);Ds(u)}function Jh(l){var u=l.firstChild;for(u&&u.nodeType===10&&(u=u.nextSibling);u;){var d=u;switch(u=u.nextSibling,d.nodeName){case"HTML":case"HEAD":case"BODY":Jh(d),Vo(d);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(d.rel.toLowerCase()==="stylesheet")continue}l.removeChild(d)}}function rf(l,u,d,v){for(;l.nodeType===1;){var T=d;if(l.nodeName.toLowerCase()!==u.toLowerCase()){if(!v&&(l.nodeName!=="INPUT"||l.type!=="hidden"))break}else if(v){if(!l[ft])switch(u){case"meta":if(!l.hasAttribute("itemprop"))break;return l;case"link":if(D=l.getAttribute("rel"),D==="stylesheet"&&l.hasAttribute("data-precedence"))break;if(D!==T.rel||l.getAttribute("href")!==(T.href==null||T.href===""?null:T.href)||l.getAttribute("crossorigin")!==(T.crossOrigin==null?null:T.crossOrigin)||l.getAttribute("title")!==(T.title==null?null:T.title))break;return l;case"style":if(l.hasAttribute("data-precedence"))break;return l;case"script":if(D=l.getAttribute("src"),(D!==(T.src==null?null:T.src)||l.getAttribute("type")!==(T.type==null?null:T.type)||l.getAttribute("crossorigin")!==(T.crossOrigin==null?null:T.crossOrigin))&&D&&l.hasAttribute("async")&&!l.hasAttribute("itemprop"))break;return l;default:return l}}else if(u==="input"&&l.type==="hidden"){var D=T.name==null?null:""+T.name;if(T.type==="hidden"&&l.getAttribute("name")===D)return l}else return l;if(l=Do(l.nextSibling),l===null)break}return null}function rm(l,u,d){if(u==="")return null;for(;l.nodeType!==3;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!d||(l=Do(l.nextSibling),l===null))return null;return l}function Pa(l){return l.data==="$!"||l.data==="$?"&&l.ownerDocument.readyState==="complete"}function Dd(l,u){var d=l.ownerDocument;if(l.data!=="$?"||d.readyState==="complete")u();else{var v=function(){u(),d.removeEventListener("DOMContentLoaded",v)};d.addEventListener("DOMContentLoaded",v),l._reactRetry=v}}function Do(l){for(;l!=null;l=l.nextSibling){var u=l.nodeType;if(u===1||u===3)break;if(u===8){if(u=l.data,u==="$"||u==="$!"||u==="$?"||u==="F!"||u==="F")break;if(u==="/$")return null}}return l}var ec=null;function qa(l){l=l.previousSibling;for(var u=0;l;){if(l.nodeType===8){var d=l.data;if(d==="$"||d==="$!"||d==="$?"){if(u===0)return l;u--}else d==="/$"&&u++}l=l.previousSibling}return null}function ct(l,u,d){switch(u=Nr(d),l){case"html":if(l=u.documentElement,!l)throw Error(r(452));return l;case"head":if(l=u.head,!l)throw Error(r(453));return l;case"body":if(l=u.body,!l)throw Error(r(454));return l;default:throw Error(r(451))}}function rl(l){for(var u=l.attributes;u.length;)l.removeAttributeNode(u[0]);Vo(l)}var zi=new Map,Bi=new Set;function qt(l){return typeof l.getRootNode=="function"?l.getRootNode():l.nodeType===9?l:l.ownerDocument}var _s=le.d;le.d={f:Br,r:ep,D:cu,C:tp,L:Oo,m:cr,X:tc,S:ll,M:ey};function Br(){var l=_s.f(),u=Jc();return l||u}function ep(l){var u=ks(l);u!==null&&u.tag===5&&u.type==="form"?ju(u):_s.r(l)}var Va=typeof document>"u"?null:document;function Jt(l,u,d){var v=Va;if(v&&typeof u=="string"&&u){var T=br(u);T='link[rel="'+l+'"][href="'+T+'"]',typeof d=="string"&&(T+='[crossorigin="'+d+'"]'),Bi.has(T)||(Bi.add(T),l={rel:l,crossOrigin:d,href:u},v.querySelector(T)===null&&(u=v.createElement("link"),Ht(u,"link",l),Ji(u),v.head.appendChild(u)))}}function cu(l){_s.D(l),Jt("dns-prefetch",l,null)}function tp(l,u){_s.C(l,u),Jt("preconnect",l,u)}function Oo(l,u,d){_s.L(l,u,d);var v=Va;if(v&&l&&u){var T='link[rel="preload"][as="'+br(u)+'"]';u==="image"&&d&&d.imageSrcSet?(T+='[imagesrcset="'+br(d.imageSrcSet)+'"]',typeof d.imageSizes=="string"&&(T+='[imagesizes="'+br(d.imageSizes)+'"]')):T+='[href="'+br(l)+'"]';var D=T;switch(u){case"style":D=Od(l);break;case"script":D=no(l)}zi.has(D)||(l=S({rel:"preload",href:u==="image"&&d&&d.imageSrcSet?void 0:l,as:u},d),zi.set(D,l),v.querySelector(T)!==null||u==="style"&&v.querySelector(Rd(D))||u==="script"&&v.querySelector(lf(D))||(u=v.createElement("link"),Ht(u,"link",l),Ji(u),v.head.appendChild(u)))}}function cr(l,u){_s.m(l,u);var d=Va;if(d&&l){var v=u&&typeof u.as=="string"?u.as:"script",T='link[rel="modulepreload"][as="'+br(v)+'"][href="'+br(l)+'"]',D=T;switch(v){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":D=no(l)}if(!zi.has(D)&&(l=S({rel:"modulepreload",href:l},u),zi.set(D,l),d.querySelector(T)===null)){switch(v){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(d.querySelector(lf(D)))return}v=d.createElement("link"),Ht(v,"link",l),Ji(v),d.head.appendChild(v)}}}function ll(l,u,d){_s.S(l,u,d);var v=Va;if(v&&l){var T=co(v).hoistableStyles,D=Od(l);u=u||"default";var V=T.get(D);if(!V){var $={loading:0,preload:null};if(V=v.querySelector(Rd(D)))$.loading=5;else{l=S({rel:"stylesheet",href:l,"data-precedence":u},d),(d=zi.get(D))&&Nd(l,d);var re=V=v.createElement("link");Ji(re),Ht(re,"link",l),re._p=new Promise(function(Ce,Xe){re.onload=Ce,re.onerror=Xe}),re.addEventListener("load",function(){$.loading|=1}),re.addEventListener("error",function(){$.loading|=2}),$.loading|=4,lm(V,u,v)}V={type:"stylesheet",instance:V,count:1,state:$},T.set(D,V)}}}function tc(l,u){_s.X(l,u);var d=Va;if(d&&l){var v=co(d).hoistableScripts,T=no(l),D=v.get(T);D||(D=d.querySelector(lf(T)),D||(l=S({src:l,async:!0},u),(u=zi.get(T))&&om(l,u),D=d.createElement("script"),Ji(D),Ht(D,"link",l),d.head.appendChild(D)),D={type:"script",instance:D,count:1,state:null},v.set(T,D))}}function ey(l,u){_s.M(l,u);var d=Va;if(d&&l){var v=co(d).hoistableScripts,T=no(l),D=v.get(T);D||(D=d.querySelector(lf(T)),D||(l=S({src:l,async:!0,type:"module"},u),(u=zi.get(T))&&om(l,u),D=d.createElement("script"),Ji(D),Ht(D,"link",l),d.head.appendChild(D)),D={type:"script",instance:D,count:1,state:null},v.set(T,D))}}function Fv(l,u,d,v){var T=(T=Ue.current)?qt(T):null;if(!T)throw Error(r(446));switch(l){case"meta":case"title":return null;case"style":return typeof d.precedence=="string"&&typeof d.href=="string"?(u=Od(d.href),d=co(T).hoistableStyles,v=d.get(u),v||(v={type:"style",instance:null,count:0,state:null},d.set(u,v)),v):{type:"void",instance:null,count:0,state:null};case"link":if(d.rel==="stylesheet"&&typeof d.href=="string"&&typeof d.precedence=="string"){l=Od(d.href);var D=co(T).hoistableStyles,V=D.get(l);if(V||(T=T.ownerDocument||T,V={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},D.set(l,V),(D=T.querySelector(Rd(l)))&&!D._p&&(V.instance=D,V.state.loading=5),zi.has(l)||(d={rel:"preload",as:"style",href:d.href,crossOrigin:d.crossOrigin,integrity:d.integrity,media:d.media,hrefLang:d.hrefLang,referrerPolicy:d.referrerPolicy},zi.set(l,d),D||Iv(T,l,d,V.state))),u&&v===null)throw Error(r(528,""));return V}if(u&&v!==null)throw Error(r(529,""));return null;case"script":return u=d.async,d=d.src,typeof d=="string"&&u&&typeof u!="function"&&typeof u!="symbol"?(u=no(d),d=co(T).hoistableScripts,v=d.get(u),v||(v={type:"script",instance:null,count:0,state:null},d.set(u,v)),v):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,l))}}function Od(l){return'href="'+br(l)+'"'}function Rd(l){return'link[rel="stylesheet"]['+l+"]"}function Md(l){return S({},l,{"data-precedence":l.precedence,precedence:null})}function Iv(l,u,d,v){l.querySelector('link[rel="preload"][as="style"]['+u+"]")?v.loading=1:(u=l.createElement("link"),v.preload=u,u.addEventListener("load",function(){return v.loading|=1}),u.addEventListener("error",function(){return v.loading|=2}),Ht(u,"link",d),Ji(u),l.head.appendChild(u))}function no(l){return'[src="'+br(l)+'"]'}function lf(l){return"script[async]"+l}function Pv(l,u,d){if(u.count++,u.instance===null)switch(u.type){case"style":var v=l.querySelector('style[data-href~="'+br(d.href)+'"]');if(v)return u.instance=v,Ji(v),v;var T=S({},d,{"data-href":d.href,"data-precedence":d.precedence,href:null,precedence:null});return v=(l.ownerDocument||l).createElement("style"),Ji(v),Ht(v,"style",T),lm(v,d.precedence,l),u.instance=v;case"stylesheet":T=Od(d.href);var D=l.querySelector(Rd(T));if(D)return u.state.loading|=4,u.instance=D,Ji(D),D;v=Md(d),(T=zi.get(T))&&Nd(v,T),D=(l.ownerDocument||l).createElement("link"),Ji(D);var V=D;return V._p=new Promise(function($,re){V.onload=$,V.onerror=re}),Ht(D,"link",v),u.state.loading|=4,lm(D,d.precedence,l),u.instance=D;case"script":return D=no(d.src),(T=l.querySelector(lf(D)))?(u.instance=T,Ji(T),T):(v=d,(T=zi.get(D))&&(v=S({},d),om(v,T)),l=l.ownerDocument||l,T=l.createElement("script"),Ji(T),Ht(T,"link",v),l.head.appendChild(T),u.instance=T);case"void":return null;default:throw Error(r(443,u.type))}else u.type==="stylesheet"&&(u.state.loading&4)===0&&(v=u.instance,u.state.loading|=4,lm(v,d.precedence,l));return u.instance}function lm(l,u,d){for(var v=d.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),T=v.length?v[v.length-1]:null,D=T,V=0;V<v.length;V++){var $=v[V];if($.dataset.precedence===u)D=$;else if(D!==T)break}D?D.parentNode.insertBefore(l,D.nextSibling):(u=d.nodeType===9?d.head:d,u.insertBefore(l,u.firstChild))}function Nd(l,u){l.crossOrigin==null&&(l.crossOrigin=u.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=u.referrerPolicy),l.title==null&&(l.title=u.title)}function om(l,u){l.crossOrigin==null&&(l.crossOrigin=u.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=u.referrerPolicy),l.integrity==null&&(l.integrity=u.integrity)}var ws=null;function ty(l,u,d){if(ws===null){var v=new Map,T=ws=new Map;T.set(d,v)}else T=ws,v=T.get(d),v||(v=new Map,T.set(d,v));if(v.has(l))return v;for(v.set(l,null),d=d.getElementsByTagName(l),T=0;T<d.length;T++){var D=d[T];if(!(D[ft]||D[Hn]||l==="link"&&D.getAttribute("rel")==="stylesheet")&&D.namespaceURI!=="http://www.w3.org/2000/svg"){var V=D.getAttribute(u)||"";V=l+V;var $=v.get(V);$?$.push(D):v.set(V,[D])}}return v}function ny(l,u,d){l=l.ownerDocument||l,l.head.insertBefore(d,u==="title"?l.querySelector("head > title"):null)}function qv(l,u,d){if(d===1||u.itemProp!=null)return!1;switch(l){case"meta":case"title":return!0;case"style":if(typeof u.precedence!="string"||typeof u.href!="string"||u.href==="")break;return!0;case"link":if(typeof u.rel!="string"||typeof u.href!="string"||u.href===""||u.onLoad||u.onError)break;switch(u.rel){case"stylesheet":return l=u.disabled,typeof u.precedence=="string"&&l==null;default:return!0}case"script":if(u.async&&typeof u.async!="function"&&typeof u.async!="symbol"&&!u.onLoad&&!u.onError&&u.src&&typeof u.src=="string")return!0}return!1}function da(l){return!(l.type==="stylesheet"&&(l.state.loading&3)===0)}var va=null;function Vv(){}function Yv(l,u,d){if(va===null)throw Error(r(475));var v=va;if(u.type==="stylesheet"&&(typeof d.media!="string"||matchMedia(d.media).matches!==!1)&&(u.state.loading&4)===0){if(u.instance===null){var T=Od(d.href),D=l.querySelector(Rd(T));if(D){l=D._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(v.count++,v=Bd.bind(v),l.then(v,v)),u.state.loading|=4,u.instance=D,Ji(D);return}D=l.ownerDocument||l,d=Md(d),(T=zi.get(T))&&Nd(d,T),D=D.createElement("link"),Ji(D);var V=D;V._p=new Promise(function($,re){V.onload=$,V.onerror=re}),Ht(D,"link",d),u.instance=D}v.stylesheets===null&&(v.stylesheets=new Map),v.stylesheets.set(u,l),(l=u.state.preload)&&(u.state.loading&3)===0&&(v.count++,u=Bd.bind(v),l.addEventListener("load",u),l.addEventListener("error",u))}}function iy(){if(va===null)throw Error(r(475));var l=va;return l.stylesheets&&l.count===0&&np(l,l.stylesheets),0<l.count?function(u){var d=setTimeout(function(){if(l.stylesheets&&np(l,l.stylesheets),l.unsuspend){var v=l.unsuspend;l.unsuspend=null,v()}},6e4);return l.unsuspend=u,function(){l.unsuspend=null,clearTimeout(d)}}:null}function Bd(){if(this.count--,this.count===0){if(this.stylesheets)np(this,this.stylesheets);else if(this.unsuspend){var l=this.unsuspend;this.unsuspend=null,l()}}}var Ld=null;function np(l,u){l.stylesheets=null,l.unsuspend!==null&&(l.count++,Ld=new Map,u.forEach(Tl,l),Ld=null,Bd.call(l))}function Tl(l,u){if(!(u.state.loading&4)){var d=Ld.get(l);if(d)var v=d.get(null);else{d=new Map,Ld.set(l,d);for(var T=l.querySelectorAll("link[data-precedence],style[data-precedence]"),D=0;D<T.length;D++){var V=T[D];(V.nodeName==="LINK"||V.getAttribute("media")!=="not all")&&(d.set(V.dataset.precedence,V),v=V)}v&&d.set(null,v)}T=u.instance,V=T.getAttribute("data-precedence"),D=d.get(V)||v,D===v&&d.set(null,T),d.set(V,T),this.count++,v=Bd.bind(this),T.addEventListener("load",v),T.addEventListener("error",v),D?D.parentNode.insertBefore(T,D.nextSibling):(l=l.nodeType===9?l.head:l,l.insertBefore(T,l.firstChild)),u.state.loading|=4}}var Lr={$$typeof:P,Provider:null,Consumer:null,_currentValue:ve,_currentValue2:ve,_threadCount:0};function H1(l,u,d,v,T,D,V,$){this.tag=1,this.containerInfo=l,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=fl(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=fl(0),this.hiddenUpdates=fl(null),this.identifierPrefix=v,this.onUncaughtError=T,this.onCaughtError=D,this.onRecoverableError=V,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=$,this.incompleteTransitions=new Map}function ay(l,u,d,v,T,D,V,$,re,Ce,Xe,We){return l=new H1(l,u,d,V,$,re,Ce,We),u=1,D===!0&&(u|=24),D=Tr(3,null,null,u),l.current=D,D.stateNode=l,u=Qf(),u.refCount++,l.pooledCache=u,u.refCount++,D.memoizedState={element:v,isDehydrated:d,cache:u},ku(D),l}function ry(l){return l?(l=Nc,l):Nc}function sm(l,u,d,v,T,D){T=ry(T),v.context===null?v.context=T:v.pendingContext=T,v=$r(u),v.payload={element:d},D=D===void 0?null:D,D!==null&&(v.callback=D),d=yo(l,v,u),d!==null&&(Sl(d,l,u),Uc(d,l,u))}function um(l,u){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var d=l.retryLane;l.retryLane=d!==0&&d<u?d:u}}function cm(l,u){um(l,u),(l=l.alternate)&&um(l,u)}function ly(l){if(l.tag===13){var u=po(l,67108864);u!==null&&Sl(u,l,67108864),cm(l,67108864)}}var ip=!0;function Gv(l,u,d,v){var T=ee.T;ee.T=null;var D=le.p;try{le.p=2,oy(l,u,d,v)}finally{le.p=D,ee.T=T}}function of(l,u,d,v){var T=ee.T;ee.T=null;var D=le.p;try{le.p=8,oy(l,u,d,v)}finally{le.p=D,ee.T=T}}function oy(l,u,d,v){if(ip){var T=fm(v);if(T===null)Da(l,u,v,dm,d),uf(l,v);else if($v(T,l,u,d,v))v.stopPropagation();else if(uf(l,v),u&4&&-1<Xv.indexOf(l)){for(;T!==null;){var D=ks(T);if(D!==null)switch(D.tag){case 3:if(D=D.stateNode,D.current.memoizedState.isDehydrated){var V=$n(D.pendingLanes);if(V!==0){var $=D;for($.pendingLanes|=2,$.entangledLanes|=2;V;){var re=1<<31-Ln(V);$.entanglements[1]|=re,V&=~re}al(D),(Vn&6)===0&&(yd=Ut()+500,$h(0))}}break;case 13:$=po(D,2),$!==null&&Sl($,D,2),Jc(),cm(D,2)}if(D=fm(v),D===null&&Da(l,u,v,dm,d),D===T)break;T=D}T!==null&&v.stopPropagation()}else Da(l,u,v,null,d)}}function fm(l){return l=Ip(l),sy(l)}var dm=null;function sy(l){if(dm=null,l=mi(l),l!==null){var u=c(l);if(u===null)l=null;else{var d=u.tag;if(d===13){if(l=f(u),l!==null)return l;l=null}else if(d===3){if(u.stateNode.current.memoizedState.isDehydrated)return u.tag===3?u.stateNode.containerInfo:null;l=null}else u!==l&&(l=null)}}return dm=l,null}function uy(l){switch(l){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(oa()){case Ea:return 2;case wn:return 8;case Zt:case pt:return 32;case Dn:return 268435456;default:return 32}default:return 32}}var sf=!1,Ro=null,fu=null,du=null,ap=new Map,rp=new Map,nc=[],Xv="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".split(" ");function uf(l,u){switch(l){case"focusin":case"focusout":Ro=null;break;case"dragenter":case"dragleave":fu=null;break;case"mouseover":case"mouseout":du=null;break;case"pointerover":case"pointerout":ap.delete(u.pointerId);break;case"gotpointercapture":case"lostpointercapture":rp.delete(u.pointerId)}}function cf(l,u,d,v,T,D){return l===null||l.nativeEvent!==D?(l={blockedOn:u,domEventName:d,eventSystemFlags:v,nativeEvent:D,targetContainers:[T]},u!==null&&(u=ks(u),u!==null&&ly(u)),l):(l.eventSystemFlags|=v,u=l.targetContainers,T!==null&&u.indexOf(T)===-1&&u.push(T),l)}function $v(l,u,d,v,T){switch(u){case"focusin":return Ro=cf(Ro,l,u,d,v,T),!0;case"dragenter":return fu=cf(fu,l,u,d,v,T),!0;case"mouseover":return du=cf(du,l,u,d,v,T),!0;case"pointerover":var D=T.pointerId;return ap.set(D,cf(ap.get(D)||null,l,u,d,v,T)),!0;case"gotpointercapture":return D=T.pointerId,rp.set(D,cf(rp.get(D)||null,l,u,d,v,T)),!0}return!1}function cy(l){var u=mi(l.target);if(u!==null){var d=c(u);if(d!==null){if(u=d.tag,u===13){if(u=f(d),u!==null){l.blockedOn=u,Po(l.priority,function(){if(d.tag===13){var v=sr();v=li(v);var T=po(d,v);T!==null&&Sl(T,d,v),cm(d,v)}});return}}else if(u===3&&d.stateNode.current.memoizedState.isDehydrated){l.blockedOn=d.tag===3?d.stateNode.containerInfo:null;return}}}l.blockedOn=null}function lp(l){if(l.blockedOn!==null)return!1;for(var u=l.targetContainers;0<u.length;){var d=fm(l.nativeEvent);if(d===null){d=l.nativeEvent;var v=new d.constructor(d.type,d);wu=v,d.target.dispatchEvent(v),wu=null}else return u=ks(d),u!==null&&ly(u),l.blockedOn=d,!1;u.shift()}return!0}function op(l,u,d){lp(l)&&d.delete(u)}function kd(){sf=!1,Ro!==null&&lp(Ro)&&(Ro=null),fu!==null&&lp(fu)&&(fu=null),du!==null&&lp(du)&&(du=null),ap.forEach(op),rp.forEach(op)}function hm(l,u){l.blockedOn===u&&(l.blockedOn=null,sf||(sf=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,kd)))}var ff=null;function fy(l){ff!==l&&(ff=l,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){ff===l&&(ff=null);for(var u=0;u<l.length;u+=3){var d=l[u],v=l[u+1],T=l[u+2];if(typeof v!="function"){if(sy(v||d)===null)continue;break}var D=ks(d);D!==null&&(l.splice(u,3),u-=3,rd(D,{pending:!0,data:T,method:d.method,action:v},v,T))}}))}function Ds(l){function u(re){return hm(re,l)}Ro!==null&&hm(Ro,l),fu!==null&&hm(fu,l),du!==null&&hm(du,l),ap.forEach(u),rp.forEach(u);for(var d=0;d<nc.length;d++){var v=nc[d];v.blockedOn===l&&(v.blockedOn=null)}for(;0<nc.length&&(d=nc[0],d.blockedOn===null);)cy(d),d.blockedOn===null&&nc.shift();if(d=(l.ownerDocument||l).$$reactFormReplay,d!=null)for(v=0;v<d.length;v+=3){var T=d[v],D=d[v+1],V=T[kn]||null;if(typeof D=="function")V||fy(d);else if(V){var $=null;if(D&&D.hasAttribute("formAction")){if(T=D,V=D[kn]||null)$=V.formAction;else if(sy(T)!==null)continue}else $=V.action;typeof $=="function"?d[v+1]=$:(d.splice(v,3),v-=3),fy(d)}}}function dy(l){this._internalRoot=l}pm.prototype.render=dy.prototype.render=function(l){var u=this._internalRoot;if(u===null)throw Error(r(409));var d=u.current,v=sr();sm(d,v,l,u,null,null)},pm.prototype.unmount=dy.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var u=l.containerInfo;sm(l.current,2,null,l,null,null),Jc(),u[Ki]=null}};function pm(l){this._internalRoot=l}pm.prototype.unstable_scheduleHydration=function(l){if(l){var u=Wa();l={blockedOn:null,target:l,priority:u};for(var d=0;d<nc.length&&u!==0&&u<nc[d].priority;d++);nc.splice(d,0,l),d===0&&cy(l)}};var hy=t.version;if(hy!=="19.1.0")throw Error(r(527,hy,"19.1.0"));le.findDOMNode=function(l){var u=l._reactInternals;if(u===void 0)throw typeof l.render=="function"?Error(r(188)):(l=Object.keys(l).join(","),Error(r(268,l)));return l=m(u),l=l!==null?b(l):null,l=l===null?null:l.stateNode,l};var kr={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:ee,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var sp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!sp.isDisabled&&sp.supportsFiber)try{Lt=sp.inject(kr),ot=sp}catch{}}return M1.createRoot=function(l,u){if(!o(l))throw Error(r(299));var d=!1,v="",T=Yc,D=kh,V=zh,$=null;return u!=null&&(u.unstable_strictMode===!0&&(d=!0),u.identifierPrefix!==void 0&&(v=u.identifierPrefix),u.onUncaughtError!==void 0&&(T=u.onUncaughtError),u.onCaughtError!==void 0&&(D=u.onCaughtError),u.onRecoverableError!==void 0&&(V=u.onRecoverableError),u.unstable_transitionCallbacks!==void 0&&($=u.unstable_transitionCallbacks)),u=ay(l,1,!1,null,null,d,v,T,D,V,$,null),l[Ki]=u.current,K0(l),new dy(u)},M1.hydrateRoot=function(l,u,d){if(!o(l))throw Error(r(299));var v=!1,T="",D=Yc,V=kh,$=zh,re=null,Ce=null;return d!=null&&(d.unstable_strictMode===!0&&(v=!0),d.identifierPrefix!==void 0&&(T=d.identifierPrefix),d.onUncaughtError!==void 0&&(D=d.onUncaughtError),d.onCaughtError!==void 0&&(V=d.onCaughtError),d.onRecoverableError!==void 0&&($=d.onRecoverableError),d.unstable_transitionCallbacks!==void 0&&(re=d.unstable_transitionCallbacks),d.formState!==void 0&&(Ce=d.formState)),u=ay(l,1,!0,u,d??null,v,T,D,V,$,re,Ce),u.context=ry(null),d=u.current,v=sr(),v=li(v),T=$r(v),T.callback=null,yo(d,T,v),d=v,u.current.lanes=d,ri(u,d),al(u),l[Ki]=u.current,K0(l),new pm(u)},M1.version="19.1.0",M1}var N1={};/**
|
|
166
|
+
* @license React
|
|
167
|
+
* react-dom-client.development.js
|
|
168
|
+
*
|
|
169
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
170
|
+
*
|
|
171
|
+
* This source code is licensed under the MIT license found in the
|
|
172
|
+
* LICENSE file in the root directory of this source tree.
|
|
173
|
+
*/var Y3;function uq(){return Y3||(Y3=1,process.env.NODE_ENV!=="production"&&function(){function e(n,a){for(n=n.memoizedState;n!==null&&0<a;)n=n.next,a--;return n}function t(n,a,s,g){if(s>=a.length)return g;var x=a[s],A=Pt(n)?n.slice():Kt({},n);return A[x]=t(n[x],a,s+1,g),A}function i(n,a,s){if(a.length!==s.length)console.warn("copyWithRename() expects paths of the same length");else{for(var g=0;g<s.length-1;g++)if(a[g]!==s[g]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return r(n,a,s,0)}}function r(n,a,s,g){var x=a[g],A=Pt(n)?n.slice():Kt({},n);return g+1===a.length?(A[s[g]]=A[x],Pt(A)?A.splice(x,1):delete A[x]):A[x]=r(n[x],a,s,g+1),A}function o(n,a,s){var g=a[s],x=Pt(n)?n.slice():Kt({},n);return s+1===a.length?(Pt(x)?x.splice(g,1):delete x[g],x):(x[g]=o(n[g],a,s+1),x)}function c(){return!1}function f(){return null}function p(){}function m(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function b(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function S(){}function E(n){var a=[];return n.forEach(function(s){a.push(s)}),a.sort().join(", ")}function _(n,a,s,g){return new Uf(n,a,s,g)}function O(n,a){n.context===gm&&(ei(n.current,2,a,n,null,null),nu())}function M(n,a){if(rc!==null){var s=a.staleFamilies;a=a.updatedFamilies,Vu(),ah(n.current,a,s),nu()}}function N(n){rc=n}function w(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function U(n){var a=n,s=n;if(n.alternate)for(;a.return;)a=a.return;else{n=a;do a=n,(a.flags&4098)!==0&&(s=a.return),n=a.return;while(n)}return a.tag===3?s:null}function q(n){if(n.tag===13){var a=n.memoizedState;if(a===null&&(n=n.alternate,n!==null&&(a=n.memoizedState)),a!==null)return a.dehydrated}return null}function P(n){if(U(n)!==n)throw Error("Unable to find node on an unmounted component.")}function z(n){var a=n.alternate;if(!a){if(a=U(n),a===null)throw Error("Unable to find node on an unmounted component.");return a!==n?null:n}for(var s=n,g=a;;){var x=s.return;if(x===null)break;var A=x.alternate;if(A===null){if(g=x.return,g!==null){s=g;continue}break}if(x.child===A.child){for(A=x.child;A;){if(A===s)return P(x),n;if(A===g)return P(x),a;A=A.sibling}throw Error("Unable to find node on an unmounted component.")}if(s.return!==g.return)s=x,g=A;else{for(var L=!1,F=x.child;F;){if(F===s){L=!0,s=x,g=A;break}if(F===g){L=!0,g=x,s=A;break}F=F.sibling}if(!L){for(F=A.child;F;){if(F===s){L=!0,s=A,g=x;break}if(F===g){L=!0,g=A,s=x;break}F=F.sibling}if(!L)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(s.alternate!==g)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(s.tag!==3)throw Error("Unable to find node on an unmounted component.");return s.stateNode.current===s?n:a}function R(n){var a=n.tag;if(a===5||a===26||a===27||a===6)return n;for(n=n.child;n!==null;){if(a=R(n),a!==null)return a;n=n.sibling}return null}function H(n){return n===null||typeof n!="object"?null:(n=J0&&n[J0]||n["@@iterator"],typeof n=="function"?n:null)}function j(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===im?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case $t:return"Fragment";case ur:return"Profiler";case Ad:return"StrictMode";case Td:return"Suspense";case aa:return"SuspenseList";case Cs:return"Activity"}if(typeof n=="object")switch(typeof n.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),n.$$typeof){case af:return"Portal";case Da:return(n.displayName||"Context")+".Provider";case nm:return(n._context.displayName||"Context")+".Consumer";case Bt:var a=n.render;return n=n.displayName,n||(n=a.displayName||a.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case Di:return a=n.displayName||null,a!==null?a:j(n.type)||"Memo";case El:a=n._payload,n=n._init;try{return j(n(a))}catch{}}return null}function K(n){return typeof n.tag=="number"?W(n):typeof n.name=="string"?n.name:null}function W(n){var a=n.type;switch(n.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(a._context.displayName||"Context")+".Consumer";case 10:return(a.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return n=a.render,n=n.displayName||n.name||"",a.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return a;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return j(a);case 8:return a===Ad?"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 14:case 15:if(typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;break;case 29:if(a=n._debugInfo,a!=null){for(var s=a.length-1;0<=s;s--)if(typeof a[s].name=="string")return a[s].name}if(n.return!==null)return W(n.return)}return null}function ge(n){return{current:n}}function ce(n,a){0>Nr?console.error("Unexpected pop."):(a!==Cd[Nr]&&console.error("Unexpected Fiber popped."),n.current=Al[Nr],Al[Nr]=null,Cd[Nr]=null,Nr--)}function be(n,a,s){Nr++,Al[Nr]=n.current,Cd[Nr]=s,n.current=a}function Oe(n){return n===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),n}function Ae(n,a){be(_o,a,n),be(di,n,n),be(Yn,null,n);var s=a.nodeType;switch(s){case 9:case 11:s=s===9?"#document":"#fragment",a=(a=a.documentElement)&&(a=a.namespaceURI)?Qn(a):yp;break;default:if(s=a.tagName,a=a.namespaceURI)a=Qn(a),a=nl(a,s);else switch(s){case"svg":a=bb;break;case"math":a=$E;break;default:a=yp}}s=s.toLowerCase(),s=te(null,s),s={context:a,ancestorInfo:s},ce(Yn,n),be(Yn,s,n)}function Fe(n){ce(Yn,n),ce(di,n),ce(_o,n)}function ee(){return Oe(Yn.current)}function le(n){n.memoizedState!==null&&be(_d,n,n);var a=Oe(Yn.current),s=n.type,g=nl(a.context,s);s=te(a.ancestorInfo,s),g={context:g,ancestorInfo:s},a!==g&&(be(di,n,n),be(Yn,g,n))}function ve(n){di.current===n&&(ce(Yn,n),ce(di,n)),_d.current===n&&(ce(_d,n),yx._currentValue=By)}function Qe(n){return typeof Symbol=="function"&&Symbol.toStringTag&&n[Symbol.toStringTag]||n.constructor.name||"Object"}function ne(n){try{return Ee(n),!1}catch{return!0}}function Ee(n){return""+n}function Re(n,a){if(ne(n))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",a,Qe(n)),Ee(n)}function ae(n,a){if(ne(n))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",a,Qe(n)),Ee(n)}function de(n){if(ne(n))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",Qe(n)),Ee(n)}function we(n){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var a=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(a.isDisabled)return!0;if(!a.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{ec=a.inject(n),qa=a}catch(s){console.error("React instrumentation encountered an error: %s.",s)}return!!a.checkDCE}function Ue(n){if(typeof Dd=="function"&&Do(n),qa&&typeof qa.setStrictMode=="function")try{qa.setStrictMode(ec,n)}catch(a){rl||(rl=!0,console.error("React instrumentation encountered an error: %s",a))}}function at(n){ct=n}function Ke(){ct!==null&&typeof ct.markCommitStopped=="function"&&ct.markCommitStopped()}function Le(n){ct!==null&&typeof ct.markComponentRenderStarted=="function"&&ct.markComponentRenderStarted(n)}function De(){ct!==null&&typeof ct.markComponentRenderStopped=="function"&&ct.markComponentRenderStopped()}function nt(n){ct!==null&&typeof ct.markRenderStarted=="function"&&ct.markRenderStarted(n)}function Ie(){ct!==null&&typeof ct.markRenderStopped=="function"&&ct.markRenderStopped()}function Ct(n,a){ct!==null&&typeof ct.markStateUpdateScheduled=="function"&&ct.markStateUpdateScheduled(n,a)}function Rt(n){return n>>>=0,n===0?32:31-(qt(n)/_s|0)|0}function Et(n){if(n&1)return"SyncHydrationLane";if(n&2)return"Sync";if(n&4)return"InputContinuousHydration";if(n&8)return"InputContinuous";if(n&16)return"DefaultHydration";if(n&32)return"Default";if(n&128)return"TransitionHydration";if(n&4194048)return"Transition";if(n&62914560)return"Retry";if(n&67108864)return"SelectiveHydration";if(n&134217728)return"IdleHydration";if(n&268435456)return"Idle";if(n&536870912)return"Offscreen";if(n&1073741824)return"Deferred"}function un(n){var a=n&42;if(a!==0)return a;switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),n}}function Ut(n,a,s){var g=n.pendingLanes;if(g===0)return 0;var x=0,A=n.suspendedLanes,L=n.pingedLanes;n=n.warmLanes;var F=g&134217727;return F!==0?(g=F&~A,g!==0?x=un(g):(L&=F,L!==0?x=un(L):s||(s=F&~n,s!==0&&(x=un(s))))):(F=g&~A,F!==0?x=un(F):L!==0?x=un(L):s||(s=g&~n,s!==0&&(x=un(s)))),x===0?0:a!==0&&a!==x&&(a&A)===0&&(A=x&-x,s=a&-a,A>=s||A===32&&(s&4194048)!==0)?a:x}function oa(n,a){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&a)===0}function Ea(n,a){switch(n){case 1:case 2:case 4:case 8:case 64:return a+250;case 16:case 32: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 a+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function wn(){var n=Br;return Br<<=1,(Br&4194048)===0&&(Br=256),n}function Zt(){var n=ep;return ep<<=1,(ep&62914560)===0&&(ep=4194304),n}function pt(n){for(var a=[],s=0;31>s;s++)a.push(n);return a}function Dn(n,a){n.pendingLanes|=a,a!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function Oi(n,a,s,g,x,A){var L=n.pendingLanes;n.pendingLanes=s,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=s,n.entangledLanes&=s,n.errorRecoveryDisabledLanes&=s,n.shellSuspendCounter=0;var F=n.entanglements,Q=n.expirationTimes,J=n.hiddenUpdates;for(s=L&~s;0<s;){var Be=31-Bi(s),je=1<<Be;F[Be]=0,Q[Be]=-1;var Me=J[Be];if(Me!==null)for(J[Be]=null,Be=0;Be<Me.length;Be++){var Ve=Me[Be];Ve!==null&&(Ve.lane&=-536870913)}s&=~je}g!==0&&Ba(n,g,0),A!==0&&x===0&&n.tag!==0&&(n.suspendedLanes|=A&~(L&~a))}function Ba(n,a,s){n.pendingLanes|=a,n.suspendedLanes&=~a;var g=31-Bi(a);n.entangledLanes|=a,n.entanglements[g]=n.entanglements[g]|1073741824|s&4194090}function Lt(n,a){var s=n.entangledLanes|=a;for(n=n.entanglements;s;){var g=31-Bi(s),x=1<<g;x&a|n[g]&a&&(n[g]|=a),s&=~x}}function ot(n){switch(n){case 2:n=1;break;case 8:n=4;break;case 32:n=16;break;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:n=128;break;case 268435456:n=134217728;break;default:n=0}return n}function xt(n,a,s){if(zi)for(n=n.pendingUpdatersLaneMap;0<s;){var g=31-Bi(s),x=1<<g;n[g].add(a),s&=~x}}function Ln(n,a){if(zi)for(var s=n.pendingUpdatersLaneMap,g=n.memoizedUpdaters;0<a;){var x=31-Bi(a);n=1<<x,x=s[x],0<x.size&&(x.forEach(function(A){var L=A.alternate;L!==null&&g.has(L)||g.add(A)}),x.clear()),a&=~n}}function bt(n){return n&=-n,Va<n?Jt<n?(n&134217727)!==0?cu:tp:Jt:Va}function On(){var n=Ht.p;return n!==0?n:(n=window.event,n===void 0?cu:Xh(n.type))}function vt(n,a){var s=Ht.p;try{return Ht.p=n,a()}finally{Ht.p=s}}function ni(n){delete n[cr],delete n[ll],delete n[ey],delete n[Fv],delete n[Od]}function gr(n){var a=n[cr];if(a)return a;for(var s=n.parentNode;s;){if(a=s[tc]||s[cr]){if(s=a.alternate,a.child!==null||s!==null&&s.child!==null)for(n=Kc(n);n!==null;){if(s=n[cr])return s;n=Kc(n)}return a}n=s,s=n.parentNode}return null}function $n(n){if(n=n[cr]||n[tc]){var a=n.tag;if(a===5||a===6||a===13||a===26||a===27||a===3)return n}return null}function Aa(n){var a=n.tag;if(a===5||a===26||a===27||a===6)return n.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function Qa(n){var a=n[Rd];return a||(a=n[Rd]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function Ai(n){n[Md]=!0}function mr(n,a){uo(n,a),uo(n+"Capture",a)}function uo(n,a){no[n]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",n),no[n]=a;var s=n.toLowerCase();for(lf[s]=n,n==="onDoubleClick"&&(lf.ondblclick=n),n=0;n<a.length;n++)Iv.add(a[n])}function fl(n,a){Pv[a.type]||a.onChange||a.onInput||a.readOnly||a.disabled||a.value==null||console.error(n==="select"?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),a.onChange||a.readOnly||a.disabled||a.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function ri(n){return uu.call(om,n)?!0:uu.call(Nd,n)?!1:lm.test(n)?om[n]=!0:(Nd[n]=!0,console.error("Invalid attribute name: `%s`",n),!1)}function ha(n,a,s){if(ri(a)){if(!n.hasAttribute(a)){switch(typeof s){case"symbol":case"object":return s;case"function":return s;case"boolean":if(s===!1)return s}return s===void 0?void 0:null}return n=n.getAttribute(a),n===""&&s===!0?!0:(Re(s,a),n===""+s?s:n)}}function Fi(n,a,s){if(ri(a))if(s===null)n.removeAttribute(a);else{switch(typeof s){case"undefined":case"function":case"symbol":n.removeAttribute(a);return;case"boolean":var g=a.toLowerCase().slice(0,5);if(g!=="data-"&&g!=="aria-"){n.removeAttribute(a);return}}Re(s,a),n.setAttribute(a,""+s)}}function Za(n,a,s){if(s===null)n.removeAttribute(a);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(a);return}Re(s,a),n.setAttribute(a,""+s)}}function li(n,a,s,g){if(g===null)n.removeAttribute(s);else{switch(typeof g){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(s);return}Re(g,s),n.setAttributeNS(a,s,""+g)}}function Ii(){}function Wa(){if(ws===0){ty=console.log,ny=console.info,qv=console.warn,da=console.error,va=console.group,Vv=console.groupCollapsed,Yv=console.groupEnd;var n={configurable:!0,enumerable:!0,value:Ii,writable:!0};Object.defineProperties(console,{info:n,log:n,warn:n,error:n,group:n,groupCollapsed:n,groupEnd:n})}ws++}function Po(){if(ws--,ws===0){var n={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Kt({},n,{value:ty}),info:Kt({},n,{value:ny}),warn:Kt({},n,{value:qv}),error:Kt({},n,{value:da}),group:Kt({},n,{value:va}),groupCollapsed:Kt({},n,{value:Vv}),groupEnd:Kt({},n,{value:Yv})})}0>ws&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function an(n){if(iy===void 0)try{throw Error()}catch(s){var a=s.stack.trim().match(/\n( *(at )?)/);iy=a&&a[1]||"",Bd=-1<s.stack.indexOf(`
|
|
174
|
+
at`)?" (<anonymous>)":-1<s.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
175
|
+
`+iy+n+Bd}function Hn(n,a){if(!n||Ld)return"";var s=np.get(n);if(s!==void 0)return s;Ld=!0,s=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var g=null;g=ze.H,ze.H=null,Wa();try{var x={DetermineComponentFrameRoot:function(){try{if(a){var Me=function(){throw Error()};if(Object.defineProperty(Me.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Me,[])}catch(gt){var Ve=gt}Reflect.construct(n,[],Me)}else{try{Me.call()}catch(gt){Ve=gt}n.call(Me.prototype)}}else{try{throw Error()}catch(gt){Ve=gt}(Me=n())&&typeof Me.catch=="function"&&Me.catch(function(){})}}catch(gt){if(gt&&Ve&&typeof gt.stack=="string")return[gt.stack,Ve.stack]}return[null,null]}};x.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var A=Object.getOwnPropertyDescriptor(x.DetermineComponentFrameRoot,"name");A&&A.configurable&&Object.defineProperty(x.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var L=x.DetermineComponentFrameRoot(),F=L[0],Q=L[1];if(F&&Q){var J=F.split(`
|
|
176
|
+
`),Be=Q.split(`
|
|
177
|
+
`);for(L=A=0;A<J.length&&!J[A].includes("DetermineComponentFrameRoot");)A++;for(;L<Be.length&&!Be[L].includes("DetermineComponentFrameRoot");)L++;if(A===J.length||L===Be.length)for(A=J.length-1,L=Be.length-1;1<=A&&0<=L&&J[A]!==Be[L];)L--;for(;1<=A&&0<=L;A--,L--)if(J[A]!==Be[L]){if(A!==1||L!==1)do if(A--,L--,0>L||J[A]!==Be[L]){var je=`
|
|
178
|
+
`+J[A].replace(" at new "," at ");return n.displayName&&je.includes("<anonymous>")&&(je=je.replace("<anonymous>",n.displayName)),typeof n=="function"&&np.set(n,je),je}while(1<=A&&0<=L);break}}}finally{Ld=!1,ze.H=g,Po(),Error.prepareStackTrace=s}return J=(J=n?n.displayName||n.name:"")?an(J):"",typeof n=="function"&&np.set(n,J),J}function kn(n){var a=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,n=n.stack,Error.prepareStackTrace=a,n.startsWith(`Error: react-stack-top-frame
|
|
179
|
+
`)&&(n=n.slice(29)),a=n.indexOf(`
|
|
180
|
+
`),a!==-1&&(n=n.slice(a+1)),a=n.indexOf("react-stack-bottom-frame"),a!==-1&&(a=n.lastIndexOf(`
|
|
181
|
+
`,a)),a!==-1)n=n.slice(0,a);else return"";return n}function Ki(n){switch(n.tag){case 26:case 27:case 5:return an(n.type);case 16:return an("Lazy");case 13:return an("Suspense");case 19:return an("SuspenseList");case 0:case 15:return Hn(n.type,!1);case 11:return Hn(n.type.render,!1);case 1:return Hn(n.type,!0);case 31:return an("Activity");default:return""}}function Ll(n){try{var a="";do{a+=Ki(n);var s=n._debugInfo;if(s)for(var g=s.length-1;0<=g;g--){var x=s[g];if(typeof x.name=="string"){var A=a,L=x.env,F=an(x.name+(L?" ["+L+"]":""));a=A+F}}n=n.return}while(n);return a}catch(Q){return`
|
|
182
|
+
Error generating stack: `+Q.message+`
|
|
183
|
+
`+Q.stack}}function qo(n){return(n=n?n.displayName||n.name:"")?an(n):""}function Ti(){if(Tl===null)return null;var n=Tl._debugOwner;return n!=null?K(n):null}function oi(){if(Tl===null)return"";var n=Tl;try{var a="";switch(n.tag===6&&(n=n.return),n.tag){case 26:case 27:case 5:a+=an(n.type);break;case 13:a+=an("Suspense");break;case 19:a+=an("SuspenseList");break;case 31:a+=an("Activity");break;case 30:case 0:case 15:case 1:n._debugOwner||a!==""||(a+=qo(n.type));break;case 11:n._debugOwner||a!==""||(a+=qo(n.type.render))}for(;n;)if(typeof n.tag=="number"){var s=n;n=s._debugOwner;var g=s._debugStack;n&&g&&(typeof g!="string"&&(s._debugStack=g=kn(g)),g!==""&&(a+=`
|
|
184
|
+
`+g))}else if(n.debugStack!=null){var x=n.debugStack;(n=n.owner)&&x&&(a+=`
|
|
185
|
+
`+kn(x))}else break;var A=a}catch(L){A=`
|
|
186
|
+
Error generating stack: `+L.message+`
|
|
187
|
+
`+L.stack}return A}function ft(n,a,s,g,x,A,L){var F=Tl;Vo(n);try{return n!==null&&n._debugTask?n._debugTask.run(a.bind(null,s,g,x,A,L)):a(s,g,x,A,L)}finally{Vo(F)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Vo(n){ze.getCurrentStack=n===null?null:oi,Lr=!1,Tl=n}function mi(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return de(n),n;default:return""}}function ks(n){var a=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function Yo(n){var a=ks(n)?"checked":"value",s=Object.getOwnPropertyDescriptor(n.constructor.prototype,a);de(n[a]);var g=""+n[a];if(!n.hasOwnProperty(a)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var x=s.get,A=s.set;return Object.defineProperty(n,a,{configurable:!0,get:function(){return x.call(this)},set:function(L){de(L),g=""+L,A.call(this,L)}}),Object.defineProperty(n,a,{enumerable:s.enumerable}),{getValue:function(){return g},setValue:function(L){de(L),g=""+L},stopTracking:function(){n._valueTracker=null,delete n[a]}}}}function co(n){n._valueTracker||(n._valueTracker=Yo(n))}function Ji(n){if(!n)return!1;var a=n._valueTracker;if(!a)return!0;var s=a.getValue(),g="";return n&&(g=ks(n)?n.checked?"true":"false":n.value),n=g,n!==s?(a.setValue(n),!0):!1}function bc(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}function yr(n){return n.replace(H1,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function Go(n,a){a.checked===void 0||a.defaultChecked===void 0||ry||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",Ti()||"A component",a.type),ry=!0),a.value===void 0||a.defaultValue===void 0||ay||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",Ti()||"A component",a.type),ay=!0)}function Xo(n,a,s,g,x,A,L,F){n.name="",L!=null&&typeof L!="function"&&typeof L!="symbol"&&typeof L!="boolean"?(Re(L,"type"),n.type=L):n.removeAttribute("type"),a!=null?L==="number"?(a===0&&n.value===""||n.value!=a)&&(n.value=""+mi(a)):n.value!==""+mi(a)&&(n.value=""+mi(a)):L!=="submit"&&L!=="reset"||n.removeAttribute("value"),a!=null?wf(n,L,mi(a)):s!=null?wf(n,L,mi(s)):g!=null&&n.removeAttribute("value"),x==null&&A!=null&&(n.defaultChecked=!!A),x!=null&&(n.checked=x&&typeof x!="function"&&typeof x!="symbol"),F!=null&&typeof F!="function"&&typeof F!="symbol"&&typeof F!="boolean"?(Re(F,"name"),n.name=""+mi(F)):n.removeAttribute("name")}function xc(n,a,s,g,x,A,L,F){if(A!=null&&typeof A!="function"&&typeof A!="symbol"&&typeof A!="boolean"&&(Re(A,"type"),n.type=A),a!=null||s!=null){if(!(A!=="submit"&&A!=="reset"||a!=null))return;s=s!=null?""+mi(s):"",a=a!=null?""+mi(a):s,F||a===n.value||(n.value=a),n.defaultValue=a}g=g??x,g=typeof g!="function"&&typeof g!="symbol"&&!!g,n.checked=F?n.checked:!!g,n.defaultChecked=!!g,L!=null&&typeof L!="function"&&typeof L!="symbol"&&typeof L!="boolean"&&(Re(L,"name"),n.name=L)}function wf(n,a,s){a==="number"&&bc(n.ownerDocument)===n||n.defaultValue===""+s||(n.defaultValue=""+s)}function Cu(n,a){a.value==null&&(typeof a.children=="object"&&a.children!==null?Wh.Children.forEach(a.children,function(s){s==null||typeof s=="string"||typeof s=="number"||typeof s=="bigint"||um||(um=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):a.dangerouslySetInnerHTML==null||cm||(cm=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),a.selected==null||sm||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),sm=!0)}function jp(){var n=Ti();return n?`
|
|
188
|
+
|
|
189
|
+
Check the render method of \``+n+"`.":""}function fo(n,a,s,g){if(n=n.options,a){a={};for(var x=0;x<s.length;x++)a["$"+s[x]]=!0;for(s=0;s<n.length;s++)x=a.hasOwnProperty("$"+n[s].value),n[s].selected!==x&&(n[s].selected=x),x&&g&&(n[s].defaultSelected=!0)}else{for(s=""+mi(s),a=null,x=0;x<n.length;x++){if(n[x].value===s){n[x].selected=!0,g&&(n[x].defaultSelected=!0);return}a!==null||n[x].disabled||(a=n[x])}a!==null&&(a.selected=!0)}}function Sc(n,a){for(n=0;n<ip.length;n++){var s=ip[n];if(a[s]!=null){var g=Pt(a[s]);a.multiple&&!g?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",s,jp()):!a.multiple&&g&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",s,jp())}}a.value===void 0||a.defaultValue===void 0||ly||(console.error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"),ly=!0)}function dl(n,a){a.value===void 0||a.defaultValue===void 0||Gv||(console.error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components",Ti()||"A component"),Gv=!0),a.children!=null&&a.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function Ec(n,a,s){if(a!=null&&(a=""+mi(a),a!==n.value&&(n.value=a),s==null)){n.defaultValue!==a&&(n.defaultValue=a);return}n.defaultValue=s!=null?""+mi(s):""}function Df(n,a,s,g){if(a==null){if(g!=null){if(s!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Pt(g)){if(1<g.length)throw Error("<textarea> can only have at most one child.");g=g[0]}s=g}s==null&&(s=""),a=s}s=mi(a),n.defaultValue=s,g=n.textContent,g===s&&g!==""&&g!==null&&(n.value=g)}function zs(n,a){return n.serverProps===void 0&&n.serverTail.length===0&&n.children.length===1&&3<n.distanceFromLeaf&&n.distanceFromLeaf>15-a?zs(n.children[0],a):n}function La(n){return" "+" ".repeat(n)}function $o(n){return"+ "+" ".repeat(n)}function Us(n){return"- "+" ".repeat(n)}function vr(n){switch(n.tag){case 26:case 27:case 5:return n.type;case 16:return"Lazy";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return n=n.type,n.displayName||n.name||null;case 11:return n=n.type.render,n.displayName||n.name||null;case 1:return n=n.type,n.displayName||n.name||null;default:return null}}function ea(n,a){return of.test(n)?(n=JSON.stringify(n),n.length>a-2?8>a?'{"..."}':"{"+n.slice(0,a-7)+'..."}':"{"+n+"}"):n.length>a?5>a?'{"..."}':n.slice(0,a-3)+"...":n}function Hs(n,a,s){var g=120-2*s;if(a===null)return $o(s)+ea(n,g)+`
|
|
190
|
+
`;if(typeof a=="string"){for(var x=0;x<a.length&&x<n.length&&a.charCodeAt(x)===n.charCodeAt(x);x++);return x>g-8&&10<x&&(n="..."+n.slice(x-8),a="..."+a.slice(x-8)),$o(s)+ea(n,g)+`
|
|
191
|
+
`+Us(s)+ea(a,g)+`
|
|
192
|
+
`}return La(s)+ea(n,g)+`
|
|
193
|
+
`}function _u(n){return Object.prototype.toString.call(n).replace(/^\[object (.*)\]$/,function(a,s){return s})}function Qo(n,a){switch(typeof n){case"string":return n=JSON.stringify(n),n.length>a?5>a?'"..."':n.slice(0,a-4)+'..."':n;case"object":if(n===null)return"null";if(Pt(n))return"[...]";if(n.$$typeof===Ju)return(a=j(n.type))?"<"+a+">":"<...>";var s=_u(n);if(s==="Object"){s="",a-=2;for(var g in n)if(n.hasOwnProperty(g)){var x=JSON.stringify(g);if(x!=='"'+g+'"'&&(g=x),a-=g.length-2,x=Qo(n[g],15>a?a:15),a-=x.length,0>a){s+=s===""?"...":", ...";break}s+=(s===""?"":",")+g+":"+x}return"{"+s+"}"}return s;case"function":return(a=n.displayName||n.name)?"function "+a:"function";default:return String(n)}}function Ir(n,a){return typeof n!="string"||of.test(n)?"{"+Qo(n,a-2)+"}":n.length>a-2?5>a?'"..."':'"'+n.slice(0,a-5)+'..."':'"'+n+'"'}function ho(n,a,s){var g=120-s.length-n.length,x=[],A;for(A in a)if(a.hasOwnProperty(A)&&A!=="children"){var L=Ir(a[A],120-s.length-A.length-1);g-=A.length+L.length+2,x.push(A+"="+L)}return x.length===0?s+"<"+n+`>
|
|
194
|
+
`:0<g?s+"<"+n+" "+x.join(" ")+`>
|
|
195
|
+
`:s+"<"+n+`
|
|
196
|
+
`+s+" "+x.join(`
|
|
197
|
+
`+s+" ")+`
|
|
198
|
+
`+s+`>
|
|
199
|
+
`}function Fp(n,a,s){var g="",x=Kt({},a),A;for(A in n)if(n.hasOwnProperty(A)){delete x[A];var L=120-2*s-A.length-2,F=Qo(n[A],L);a.hasOwnProperty(A)?(L=Qo(a[A],L),g+=$o(s)+A+": "+F+`
|
|
200
|
+
`,g+=Us(s)+A+": "+L+`
|
|
201
|
+
`):g+=$o(s)+A+": "+F+`
|
|
202
|
+
`}for(var Q in x)x.hasOwnProperty(Q)&&(n=Qo(x[Q],120-2*s-Q.length-2),g+=Us(s)+Q+": "+n+`
|
|
203
|
+
`);return g}function br(n,a,s,g){var x="",A=new Map;for(J in s)s.hasOwnProperty(J)&&A.set(J.toLowerCase(),J);if(A.size===1&&A.has("children"))x+=ho(n,a,La(g));else{for(var L in a)if(a.hasOwnProperty(L)&&L!=="children"){var F=120-2*(g+1)-L.length-1,Q=A.get(L.toLowerCase());if(Q!==void 0){A.delete(L.toLowerCase());var J=a[L];Q=s[Q];var Be=Ir(J,F);F=Ir(Q,F),typeof J=="object"&&J!==null&&typeof Q=="object"&&Q!==null&&_u(J)==="Object"&&_u(Q)==="Object"&&(2<Object.keys(J).length||2<Object.keys(Q).length||-1<Be.indexOf("...")||-1<F.indexOf("..."))?x+=La(g+1)+L+`={{
|
|
204
|
+
`+Fp(J,Q,g+2)+La(g+1)+`}}
|
|
205
|
+
`:(x+=$o(g+1)+L+"="+Be+`
|
|
206
|
+
`,x+=Us(g+1)+L+"="+F+`
|
|
207
|
+
`)}else x+=La(g+1)+L+"="+Ir(a[L],F)+`
|
|
208
|
+
`}A.forEach(function(je){if(je!=="children"){var Me=120-2*(g+1)-je.length-1;x+=Us(g+1)+je+"="+Ir(s[je],Me)+`
|
|
209
|
+
`}}),x=x===""?La(g)+"<"+n+`>
|
|
210
|
+
`:La(g)+"<"+n+`
|
|
211
|
+
`+x+La(g)+`>
|
|
212
|
+
`}return n=s.children,a=a.children,typeof n=="string"||typeof n=="number"||typeof n=="bigint"?(A="",(typeof a=="string"||typeof a=="number"||typeof a=="bigint")&&(A=""+a),x+=Hs(A,""+n,g+1)):(typeof a=="string"||typeof a=="number"||typeof a=="bigint")&&(x=n==null?x+Hs(""+a,null,g+1):x+Hs(""+a,void 0,g+1)),x}function Ac(n,a){var s=vr(n);if(s===null){for(s="",n=n.child;n;)s+=Ac(n,a),n=n.sibling;return s}return La(a)+"<"+s+`>
|
|
213
|
+
`}function Tc(n,a){var s=zs(n,a);if(s!==n&&(n.children.length!==1||n.children[0]!==s))return La(a)+`...
|
|
214
|
+
`+Tc(s,a+1);s="";var g=n.fiber._debugInfo;if(g)for(var x=0;x<g.length;x++){var A=g[x].name;typeof A=="string"&&(s+=La(a)+"<"+A+`>
|
|
215
|
+
`,a++)}if(g="",x=n.fiber.pendingProps,n.fiber.tag===6)g=Hs(x,n.serverProps,a),a++;else if(A=vr(n.fiber),A!==null)if(n.serverProps===void 0){g=a;var L=120-2*g-A.length-2,F="";for(J in x)if(x.hasOwnProperty(J)&&J!=="children"){var Q=Ir(x[J],15);if(L-=J.length+Q.length+2,0>L){F+=" ...";break}F+=" "+J+"="+Q}g=La(g)+"<"+A+F+`>
|
|
216
|
+
`,a++}else n.serverProps===null?(g=ho(A,x,$o(a)),a++):typeof n.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(g=br(A,x,n.serverProps,a),a++);var J="";for(x=n.fiber.child,A=0;x&&A<n.children.length;)L=n.children[A],L.fiber===x?(J+=Tc(L,a),A++):J+=Ac(x,a),x=x.sibling;for(x&&0<n.children.length&&(J+=La(a)+`...
|
|
217
|
+
`),x=n.serverTail,n.serverProps===null&&a--,n=0;n<x.length;n++)A=x[n],J=typeof A=="string"?J+(Us(a)+ea(A,120-2*a)+`
|
|
218
|
+
`):J+ho(A.type,A.props,Us(a));return s+g+J}function B(n){try{return`
|
|
219
|
+
|
|
220
|
+
`+Tc(n,0)}catch{return""}}function Y(n,a,s){for(var g=a,x=null,A=0;g;)g===n&&(A=0),x={fiber:g,children:x!==null?[x]:[],serverProps:g===a?s:g===n?null:void 0,serverTail:[],distanceFromLeaf:A},A++,g=g.return;return x!==null?B(x).replaceAll(/^[+-]/gm,">"):""}function te(n,a){var s=Kt({},n||uy),g={tag:a};return fm.indexOf(a)!==-1&&(s.aTagInScope=null,s.buttonTagInScope=null,s.nobrTagInScope=null),dm.indexOf(a)!==-1&&(s.pTagInButtonScope=null),oy.indexOf(a)!==-1&&a!=="address"&&a!=="div"&&a!=="p"&&(s.listItemTagAutoclosing=null,s.dlItemTagAutoclosing=null),s.current=g,a==="form"&&(s.formTag=g),a==="a"&&(s.aTagInScope=g),a==="button"&&(s.buttonTagInScope=g),a==="nobr"&&(s.nobrTagInScope=g),a==="p"&&(s.pTagInButtonScope=g),a==="li"&&(s.listItemTagAutoclosing=g),(a==="dd"||a==="dt")&&(s.dlItemTagAutoclosing=g),a==="#document"||a==="html"?s.containerTagInScope=null:s.containerTagInScope||(s.containerTagInScope=g),n!==null||a!=="#document"&&a!=="html"&&a!=="body"?s.implicitRootScope===!0&&(s.implicitRootScope=!1):s.implicitRootScope=!0,s}function ye(n,a,s){switch(a){case"select":return n==="hr"||n==="option"||n==="optgroup"||n==="script"||n==="template"||n==="#text";case"optgroup":return n==="option"||n==="#text";case"option":return n==="#text";case"tr":return n==="th"||n==="td"||n==="style"||n==="script"||n==="template";case"tbody":case"thead":case"tfoot":return n==="tr"||n==="style"||n==="script"||n==="template";case"colgroup":return n==="col"||n==="template";case"table":return n==="caption"||n==="colgroup"||n==="tbody"||n==="tfoot"||n==="thead"||n==="style"||n==="script"||n==="template";case"head":return n==="base"||n==="basefont"||n==="bgsound"||n==="link"||n==="meta"||n==="title"||n==="noscript"||n==="noframes"||n==="style"||n==="script"||n==="template";case"html":if(s)break;return n==="head"||n==="body"||n==="frameset";case"frameset":return n==="frame";case"#document":if(!s)return n==="html"}switch(n){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return a!=="h1"&&a!=="h2"&&a!=="h3"&&a!=="h4"&&a!=="h5"&&a!=="h6";case"rp":case"rt":return sy.indexOf(a)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return a==null;case"head":return s||a===null;case"html":return s&&a==="#document"||a===null;case"body":return s&&(a==="#document"||a==="html")||a===null}return!0}function Ye(n,a){switch(n){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return a.pTagInButtonScope;case"form":return a.formTag||a.pTagInButtonScope;case"li":return a.listItemTagAutoclosing;case"dd":case"dt":return a.dlItemTagAutoclosing;case"button":return a.buttonTagInScope;case"a":return a.aTagInScope;case"nobr":return a.nobrTagInScope}return null}function it(n,a){for(;n;){switch(n.tag){case 5:case 26:case 27:if(n.type===a)return n}n=n.return}return null}function It(n,a){a=a||uy;var s=a.current;if(a=(s=ye(n,s&&s.tag,a.implicitRootScope)?null:s)?null:Ye(n,a),a=s||a,!a)return!0;var g=a.tag;if(a=String(!!s)+"|"+n+"|"+g,sf[a])return!1;sf[a]=!0;var x=(a=Tl)?it(a.return,g):null,A=a!==null&&x!==null?Y(x,a,null):"",L="<"+n+">";return s?(s="",g==="table"&&n==="tr"&&(s+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
|
|
221
|
+
This will cause a hydration error.%s`,L,g,s,A)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
222
|
+
This will cause a hydration error.%s`,L,g,A),a&&(n=a.return,x===null||n===null||x===n&&n._debugOwner===a._debugOwner||ft(x,function(){console.error(`<%s> cannot contain a nested %s.
|
|
223
|
+
See this log for the ancestor stack trace.`,g,L)})),!1}function An(n,a,s){if(s||ye("#text",a,!1))return!0;if(s="#text|"+a,sf[s])return!1;sf[s]=!0;var g=(s=Tl)?it(s,a):null;return s=s!==null&&g!==null?Y(g,s,s.tag!==6?{children:null}:null):"",/\S/.test(n)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
224
|
+
This will cause a hydration error.%s`,a,s):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
|
|
225
|
+
This will cause a hydration error.%s`,a,s),!1}function Ci(n,a){if(a){var s=n.firstChild;if(s&&s===n.lastChild&&s.nodeType===3){s.nodeValue=a;return}}n.textContent=a}function ta(n){return n.replace(nc,function(a,s){return s.toUpperCase()})}function Zm(n,a,s){var g=a.indexOf("--")===0;g||(-1<a.indexOf("-")?uf.hasOwnProperty(a)&&uf[a]||(uf[a]=!0,console.error("Unsupported style property %s. Did you mean %s?",a,ta(a.replace(rp,"ms-")))):ap.test(a)?uf.hasOwnProperty(a)&&uf[a]||(uf[a]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",a,a.charAt(0).toUpperCase()+a.slice(1))):!Xv.test(s)||cf.hasOwnProperty(s)&&cf[s]||(cf[s]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,a,s.replace(Xv,""))),typeof s=="number"&&(isNaN(s)?$v||($v=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",a)):isFinite(s)||cy||(cy=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",a)))),s==null||typeof s=="boolean"||s===""?g?n.setProperty(a,""):a==="float"?n.cssFloat="":n[a]="":g?n.setProperty(a,s):typeof s!="number"||s===0||lp.has(a)?a==="float"?n.cssFloat=s:(ae(s,a),n[a]=(""+s).trim()):n[a]=s+"px"}function Of(n,a,s){if(a!=null&&typeof a!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(a&&Object.freeze(a),n=n.style,s!=null){if(a){var g={};if(s){for(var x in s)if(s.hasOwnProperty(x)&&!a.hasOwnProperty(x))for(var A=Ro[x]||[x],L=0;L<A.length;L++)g[A[L]]=x}for(var F in a)if(a.hasOwnProperty(F)&&(!s||s[F]!==a[F]))for(x=Ro[F]||[F],A=0;A<x.length;A++)g[x[A]]=F;F={};for(var Q in a)for(x=Ro[Q]||[Q],A=0;A<x.length;A++)F[x[A]]=Q;Q={};for(var J in g)if(x=g[J],(A=F[J])&&x!==A&&(L=x+","+A,!Q[L])){Q[L]=!0,L=console;var Be=a[x];L.error.call(L,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",Be==null||typeof Be=="boolean"||Be===""?"Removing":"Updating",x,A)}}for(var je in s)!s.hasOwnProperty(je)||a!=null&&a.hasOwnProperty(je)||(je.indexOf("--")===0?n.setProperty(je,""):je==="float"?n.cssFloat="":n[je]="");for(var Me in a)J=a[Me],a.hasOwnProperty(Me)&&s[Me]!==J&&Zm(n,Me,J)}else for(g in a)a.hasOwnProperty(g)&&Zm(n,g,a[g])}function wu(n){if(n.indexOf("-")===-1)return!1;switch(n){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Ip(n){return hm.get(n)||n}function Rf(n,a){if(uu.call(Ds,a)&&Ds[a])return!0;if(pm.test(a)){if(n="aria-"+a.slice(4).toLowerCase(),n=fy.hasOwnProperty(n)?n:null,n==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",a),Ds[a]=!0;if(a!==n)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",a,n),Ds[a]=!0}if(dy.test(a)){if(n=a.toLowerCase(),n=fy.hasOwnProperty(n)?n:null,n==null)return Ds[a]=!0,!1;a!==n&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",a,n),Ds[a]=!0)}return!0}function Mf(n,a){var s=[],g;for(g in a)Rf(n,g)||s.push(g);a=s.map(function(x){return"`"+x+"`"}).join(", "),s.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",a,n):1<s.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",a,n)}function Wm(n,a,s,g){if(uu.call(kr,a)&&kr[a])return!0;var x=a.toLowerCase();if(x==="onfocusin"||x==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),kr[a]=!0;if(typeof s=="function"&&(n==="form"&&a==="action"||n==="input"&&a==="formAction"||n==="button"&&a==="formAction"))return!0;if(g!=null){if(n=g.possibleRegistrationNames,g.registrationNameDependencies.hasOwnProperty(a))return!0;if(g=n.hasOwnProperty(x)?n[x]:null,g!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",a,g),kr[a]=!0;if(sp.test(a))return console.error("Unknown event handler property `%s`. It will be ignored.",a),kr[a]=!0}else if(sp.test(a))return l.test(a)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",a),kr[a]=!0;if(u.test(a)||d.test(a))return!0;if(x==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),kr[a]=!0;if(x==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),kr[a]=!0;if(x==="is"&&s!==null&&s!==void 0&&typeof s!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof s),kr[a]=!0;if(typeof s=="number"&&isNaN(s))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",a),kr[a]=!0;if(ff.hasOwnProperty(x)){if(x=ff[x],x!==a)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",a,x),kr[a]=!0}else if(a!==x)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",a,x),kr[a]=!0;switch(a){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof s){case"boolean":switch(a){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:return x=a.toLowerCase().slice(0,5),x==="data-"||x==="aria-"?!0:(s?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',s,a,a,s,a):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',s,a,a,s,a,a,a),kr[a]=!0)}case"function":case"symbol":return kr[a]=!0,!1;case"string":if(s==="false"||s==="true"){switch(a){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",s,a,s==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',a,s),kr[a]=!0}}return!0}function Km(n,a,s){var g=[],x;for(x in a)Wm(n,x,a[x],s)||g.push(x);a=g.map(function(A){return"`"+A+"`"}).join(", "),g.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",a,n):1<g.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",a,n)}function Nf(n){return v.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}function Cc(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}function Zo(n){var a=$n(n);if(a&&(n=a.stateNode)){var s=n[ll]||null;e:switch(n=a.stateNode,a.type){case"input":if(Xo(n,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name),a=s.name,s.type==="radio"&&a!=null){for(s=n;s.parentNode;)s=s.parentNode;for(Re(a,"name"),s=s.querySelectorAll('input[name="'+yr(""+a)+'"][type="radio"]'),a=0;a<s.length;a++){var g=s[a];if(g!==n&&g.form===n.form){var x=g[ll]||null;if(!x)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Xo(g,x.value,x.defaultValue,x.defaultValue,x.checked,x.defaultChecked,x.type,x.name)}}for(a=0;a<s.length;a++)g=s[a],g.form===n.form&&Ji(g)}break e;case"textarea":Ec(n,s.value,s.defaultValue);break e;case"select":a=s.value,a!=null&&fo(n,!!s.multiple,a,!1)}}}function Bf(n,a,s){if($)return n(a,s);$=!0;try{var g=n(a);return g}finally{if($=!1,(D!==null||V!==null)&&(nu(),D&&(a=D,n=V,V=D=null,Zo(a),n)))for(a=0;a<n.length;a++)Zo(n[a])}}function js(n,a){var s=n.stateNode;if(s===null)return null;var g=s[ll]||null;if(g===null)return null;s=g[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(g=!g.disabled)||(n=n.type,g=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!g;break e;default:n=!1}if(n)return null;if(s&&typeof s!="function")throw Error("Expected `"+a+"` listener to be a function, instead got a value of `"+typeof s+"` type.");return s}function Fs(){if(_e)return _e;var n,a=Ne,s=a.length,g,x="value"in We?We.value:We.textContent,A=x.length;for(n=0;n<s&&a[n]===x[n];n++);var L=s-n;for(g=1;g<=L&&a[s-g]===x[A-g];g++);return _e=x.slice(n,1<g?1-g:void 0)}function Lf(n){var a=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&a===13&&(n=13)):n=a,n===10&&(n=13),32<=n||n===13?n:0}function _c(){return!0}function Jm(){return!1}function Wt(n){function a(s,g,x,A,L){this._reactName=s,this._targetInst=x,this.type=g,this.nativeEvent=A,this.target=L,this.currentTarget=null;for(var F in n)n.hasOwnProperty(F)&&(s=n[F],this[F]=s?s(A):A[F]);return this.isDefaultPrevented=(A.defaultPrevented!=null?A.defaultPrevented:A.returnValue===!1)?_c:Jm,this.isPropagationStopped=Jm,this}return Kt(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=_c)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=_c)},persist:function(){},isPersistent:_c}),a}function Kn(n){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(n):(n=PC[n])?!!a[n]:!1}function Pp(){return Kn}function xr(n,a){switch(n){case"keyup":return e_.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==bE;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Du(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}function qp(n,a){switch(n){case"compositionend":return Du(a);case"keypress":return a.which!==C?null:(G=!0,k);case"textInput":return n=a.data,n===k&&G?null:n;default:return null}}function nh(n,a){if(Z)return n==="compositionend"||!P1&&xr(n,a)?(n=Fs(),_e=Ne=We=null,Z=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return y&&a.locale!=="ko"?null:a.data;default:return null}}function pv(n){var a=n&&n.nodeName&&n.nodeName.toLowerCase();return a==="input"?!!oe[n.type]:a==="textarea"}function Vp(n){if(!re)return!1;n="on"+n;var a=n in document;return a||(a=document.createElement("div"),a.setAttribute(n,"return;"),a=typeof a[n]=="function"),a}function Yp(n,a,s,g){D?V?V.push(g):V=[g]:D=g,a=hd(a,"onChange"),0<a.length&&(s=new wt("onChange","change",null,s,g),n.push({event:s,listeners:a}))}function na(n){vs(n,0)}function Is(n){var a=Aa(n);if(Ji(a))return n}function Ps(n,a){if(n==="change")return a}function e0(){fe&&(fe.detachEvent("onpropertychange",Gp),Se=fe=null)}function Gp(n){if(n.propertyName==="value"&&Is(Se)){var a=[];Yp(a,Se,n,Cc(n)),Bf(na,a)}}function kl(n,a,s){n==="focusin"?(e0(),fe=a,Se=s,fe.attachEvent("onpropertychange",Gp)):n==="focusout"&&e0()}function Xp(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return Is(Se)}function gv(n,a){if(n==="click")return Is(a)}function mv(n,a){if(n==="input"||n==="change")return Is(a)}function yv(n,a){return n===a&&(n!==0||1/n===1/a)||n!==n&&a!==a}function kf(n,a){if($e(n,a))return!0;if(typeof n!="object"||n===null||typeof a!="object"||a===null)return!1;var s=Object.keys(n),g=Object.keys(a);if(s.length!==g.length)return!1;for(g=0;g<s.length;g++){var x=s[g];if(!uu.call(a,x)||!$e(n[x],a[x]))return!1}return!0}function t0(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function Sr(n,a){var s=t0(n);n=0;for(var g;s;){if(s.nodeType===3){if(g=n+s.textContent.length,n<=a&&g>=a)return{node:s,offset:a-n};n=g}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=t0(s)}}function vv(n,a){return n&&a?n===a?!0:n&&n.nodeType===3?!1:a&&a.nodeType===3?vv(n,a.parentNode):"contains"in n?n.contains(a):n.compareDocumentPosition?!!(n.compareDocumentPosition(a)&16):!1:!1}function hl(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var a=bc(n.document);a instanceof n.HTMLIFrameElement;){try{var s=typeof a.contentWindow.location.href=="string"}catch{s=!1}if(s)n=a.contentWindow;else break;a=bc(n.document)}return a}function n0(n){var a=n&&n.nodeName&&n.nodeName.toLowerCase();return a&&(a==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||a==="textarea"||n.contentEditable==="true")}function i0(n,a,s){var g=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;en||lt==null||lt!==bc(g)||(g=lt,"selectionStart"in g&&n0(g)?g={start:g.selectionStart,end:g.selectionEnd}:(g=(g.ownerDocument&&g.ownerDocument.defaultView||window).getSelection(),g={anchorNode:g.anchorNode,anchorOffset:g.anchorOffset,focusNode:g.focusNode,focusOffset:g.focusOffset}),Mt&&kf(Mt,g)||(Mt=g,g=hd(yt,"onSelect"),0<g.length&&(a=new wt("onSelect","select",null,a,s),n.push({event:a,listeners:g}),a.target=lt)))}function Ka(n,a){var s={};return s[n.toLowerCase()]=a.toLowerCase(),s["Webkit"+n]="webkit"+a,s["Moz"+n]="moz"+a,s}function Wo(n){if(vn[n])return vn[n];if(!Dt[n])return n;var a=Dt[n],s;for(s in a)if(a.hasOwnProperty(s)&&s in Nn)return vn[n]=a[s];return n}function pl(n,a){X3.set(n,a),mr(a,[n])}function xn(n,a){if(typeof n=="object"&&n!==null){var s=n_.get(n);return s!==void 0?s:(a={value:n,source:a,stack:Ll(a)},n_.set(n,a),a)}return{value:n,source:a,stack:Ll(a)}}function zl(){for(var n=Qv,a=a_=Qv=0;a<n;){var s=ac[a];ac[a++]=null;var g=ac[a];ac[a++]=null;var x=ac[a];ac[a++]=null;var A=ac[a];if(ac[a++]=null,g!==null&&x!==null){var L=g.pending;L===null?x.next=x:(x.next=L.next,L.next=x),g.pending=x}A!==0&&bv(s,x,A)}}function zf(n,a,s,g){ac[Qv++]=n,ac[Qv++]=a,ac[Qv++]=s,ac[Qv++]=g,a_|=g,n.lanes|=g,n=n.alternate,n!==null&&(n.lanes|=g)}function a0(n,a,s,g){return zf(n,a,s,g),$p(n)}function Ja(n,a){return zf(n,null,null,a),$p(n)}function bv(n,a,s){n.lanes|=s;var g=n.alternate;g!==null&&(g.lanes|=s);for(var x=!1,A=n.return;A!==null;)A.childLanes|=s,g=A.alternate,g!==null&&(g.childLanes|=s),A.tag===22&&(n=A.stateNode,n===null||n._visibility&i_||(x=!0)),n=A,A=A.return;return n.tag===3?(A=n.stateNode,x&&a!==null&&(x=31-Bi(s),n=A.hiddenUpdates,g=n[x],g===null?n[x]=[a]:g.push(a),a.lane=s|536870912),A):null}function $p(n){if(fx>Rq)throw Dy=fx=0,dx=L_=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");Dy>Mq&&(Dy=0,dx=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),n.alternate===null&&(n.flags&4098)!==0&&To(n);for(var a=n,s=a.return;s!==null;)a.alternate===null&&(a.flags&4098)!==0&&To(n),a=s,s=a.return;return a.tag===3?a.stateNode:null}function wc(n){if(rc===null)return n;var a=rc(n);return a===void 0?n:a.current}function Qp(n){if(rc===null)return n;var a=rc(n);return a===void 0?n!=null&&typeof n.render=="function"&&(a=wc(n.render),n.render!==a)?(a={$$typeof:Bt,render:a},n.displayName!==void 0&&(a.displayName=n.displayName),a):n:a.current}function ih(n,a){if(rc===null)return!1;var s=n.elementType;a=a.type;var g=!1,x=typeof a=="object"&&a!==null?a.$$typeof:null;switch(n.tag){case 1:typeof a=="function"&&(g=!0);break;case 0:(typeof a=="function"||x===El)&&(g=!0);break;case 11:(x===Bt||x===El)&&(g=!0);break;case 14:case 15:(x===Di||x===El)&&(g=!0);break;default:return!1}return!!(g&&(n=rc(s),n!==void 0&&n===rc(a)))}function Dc(n){rc!==null&&typeof WeakSet=="function"&&(Zv===null&&(Zv=new WeakSet),Zv.add(n))}function ah(n,a,s){var g=n.alternate,x=n.child,A=n.sibling,L=n.tag,F=n.type,Q=null;switch(L){case 0:case 15:case 1:Q=F;break;case 11:Q=F.render}if(rc===null)throw Error("Expected resolveFamily to be set during hot reload.");var J=!1;F=!1,Q!==null&&(Q=rc(Q),Q!==void 0&&(s.has(Q)?F=!0:a.has(Q)&&(L===1?F=!0:J=!0))),Zv!==null&&(Zv.has(n)||g!==null&&Zv.has(g))&&(F=!0),F&&(n._debugNeedsRemount=!0),(F||J)&&(g=Ja(n,2),g!==null&&Vi(g,n,2)),x===null||F||ah(x,a,s),A!==null&&ah(A,a,s)}function Uf(n,a,s,g){this.tag=n,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=g,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,Q3||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function Zp(n){return n=n.prototype,!(!n||!n.isReactComponent)}function Ul(n,a){var s=n.alternate;switch(s===null?(s=_(n.tag,a,n.key,n.mode),s.elementType=n.elementType,s.type=n.type,s.stateNode=n.stateNode,s._debugOwner=n._debugOwner,s._debugStack=n._debugStack,s._debugTask=n._debugTask,s._debugHookTypes=n._debugHookTypes,s.alternate=n,n.alternate=s):(s.pendingProps=a,s.type=n.type,s.flags=0,s.subtreeFlags=0,s.deletions=null,s.actualDuration=-0,s.actualStartTime=-1.1),s.flags=n.flags&65011712,s.childLanes=n.childLanes,s.lanes=n.lanes,s.child=n.child,s.memoizedProps=n.memoizedProps,s.memoizedState=n.memoizedState,s.updateQueue=n.updateQueue,a=n.dependencies,s.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext,_debugThenableState:a._debugThenableState},s.sibling=n.sibling,s.index=n.index,s.ref=n.ref,s.refCleanup=n.refCleanup,s.selfBaseDuration=n.selfBaseDuration,s.treeBaseDuration=n.treeBaseDuration,s._debugInfo=n._debugInfo,s._debugNeedsRemount=n._debugNeedsRemount,s.tag){case 0:case 15:s.type=wc(n.type);break;case 1:s.type=wc(n.type);break;case 11:s.type=Qp(n.type)}return s}function rh(n,a){n.flags&=65011714;var s=n.alternate;return s===null?(n.childLanes=0,n.lanes=a,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null,n.selfBaseDuration=0,n.treeBaseDuration=0):(n.childLanes=s.childLanes,n.lanes=s.lanes,n.child=s.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=s.memoizedProps,n.memoizedState=s.memoizedState,n.updateQueue=s.updateQueue,n.type=s.type,a=s.dependencies,n.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext,_debugThenableState:a._debugThenableState},n.selfBaseDuration=s.selfBaseDuration,n.treeBaseDuration=s.treeBaseDuration),n}function lh(n,a,s,g,x,A){var L=0,F=n;if(typeof n=="function")Zp(n)&&(L=1),F=wc(F);else if(typeof n=="string")L=ee(),L=xd(n,s,L)?26:n==="html"||n==="head"||n==="body"?27:5;else e:switch(n){case Cs:return a=_(31,s,a,x),a.elementType=Cs,a.lanes=A,a;case $t:return Ko(s.children,x,A,a);case Ad:L=8,x|=ro,x|=hf;break;case ur:return n=s,g=x,typeof n.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof n.id),a=_(12,n,a,g|Cl),a.elementType=ur,a.lanes=A,a.stateNode={effectDuration:0,passiveEffectDuration:0},a;case Td:return a=_(13,s,a,x),a.elementType=Td,a.lanes=A,a;case aa:return a=_(19,s,a,x),a.elementType=aa,a.lanes=A,a;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case K0:case Da:L=10;break e;case nm:L=9;break e;case Bt:L=11,F=Qp(F);break e;case Di:L=14;break e;case El:L=16,F=null;break e}F="",(n===void 0||typeof n=="object"&&n!==null&&Object.keys(n).length===0)&&(F+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),n===null?s="null":Pt(n)?s="array":n!==void 0&&n.$$typeof===Ju?(s="<"+(j(n.type)||"Unknown")+" />",F=" Did you accidentally export a JSX literal instead of a component?"):s=typeof n,(L=g?K(g):null)&&(F+=`
|
|
226
|
+
|
|
227
|
+
Check the render method of \``+L+"`."),L=29,s=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(s+"."+F)),F=null}return a=_(L,s,a,x),a.elementType=n,a.type=F,a.lanes=A,a._debugOwner=g,a}function oh(n,a,s){return a=lh(n.type,n.key,n.props,n._owner,a,s),a._debugOwner=n._owner,a._debugStack=n._debugStack,a._debugTask=n._debugTask,a}function Ko(n,a,s,g){return n=_(7,n,g,a),n.lanes=s,n}function Jo(n,a,s){return n=_(6,n,null,a),n.lanes=s,n}function r0(n,a,s){return a=_(4,n.children!==null?n.children:[],n.key,a),a.lanes=s,a.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},a}function Ou(n,a){Hl(),Wv[Kv++]=SE,Wv[Kv++]=xE,xE=n,SE=a}function Pr(n,a,s){Hl(),lc[oc++]=up,lc[oc++]=cp,lc[oc++]=my,my=n;var g=up;n=cp;var x=32-Bi(g)-1;g&=~(1<<x),s+=1;var A=32-Bi(a)+x;if(30<A){var L=x-x%5;A=(g&(1<<L)-1).toString(32),g>>=L,x-=L,up=1<<32-Bi(a)+x|s<<x|g,cp=A+n}else up=1<<A|s<<x|g,cp=n}function Hf(n){Hl(),n.return!==null&&(Ou(n,1),Pr(n,1,0))}function Ru(n){for(;n===xE;)xE=Wv[--Kv],Wv[Kv]=null,SE=Wv[--Kv],Wv[Kv]=null;for(;n===my;)my=lc[--oc],lc[oc]=null,cp=lc[--oc],lc[oc]=null,up=lc[--oc],lc[oc]=null}function Hl(){Zn||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function jl(n,a){if(n.return===null){if(sc===null)sc={fiber:n,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:a};else{if(sc.fiber!==n)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");sc.distanceFromLeaf>a&&(sc.distanceFromLeaf=a)}return sc}var s=jl(n.return,a+1).children;return 0<s.length&&s[s.length-1].fiber===n?(s=s[s.length-1],s.distanceFromLeaf>a&&(s.distanceFromLeaf=a),s):(a={fiber:n,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:a},s.push(a),a)}function l0(n,a){fp||(n=jl(n,0),n.serverProps=null,a!==null&&(a=Vg(a),n.serverTail.push(a)))}function es(n){var a="",s=sc;throw s!==null&&(sc=null,a=B(s)),jf(xn(Error(`Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
|
|
228
|
+
|
|
229
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
230
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
231
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
232
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
233
|
+
- Invalid HTML tag nesting.
|
|
234
|
+
|
|
235
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
236
|
+
|
|
237
|
+
https://react.dev/link/hydration-mismatch`+a),n)),r_}function o0(n){var a=n.stateNode,s=n.type,g=n.memoizedProps;switch(a[cr]=n,a[ll]=g,bs(s,g),s){case"dialog":dn("cancel",a),dn("close",a);break;case"iframe":case"object":case"embed":dn("load",a);break;case"video":case"audio":for(s=0;s<hx.length;s++)dn(hx[s],a);break;case"source":dn("error",a);break;case"img":case"image":case"link":dn("error",a),dn("load",a);break;case"details":dn("toggle",a);break;case"input":fl("input",g),dn("invalid",a),Go(a,g),xc(a,g.value,g.defaultValue,g.checked,g.defaultChecked,g.type,g.name,!0),co(a);break;case"option":Cu(a,g);break;case"select":fl("select",g),dn("invalid",a),Sc(a,g);break;case"textarea":fl("textarea",g),dn("invalid",a),dl(a,g),Df(a,g.value,g.defaultValue,g.children),co(a)}s=g.children,typeof s!="string"&&typeof s!="number"&&typeof s!="bigint"||a.textContent===""+s||g.suppressHydrationWarning===!0||L0(a.textContent,s)?(g.popover!=null&&(dn("beforetoggle",a),dn("toggle",a)),g.onScroll!=null&&dn("scroll",a),g.onScrollEnd!=null&&dn("scrollend",a),g.onClick!=null&&(a.onclick=au),a=!0):a=!1,a||es(n)}function s0(n){for(Mo=n.return;Mo;)switch(Mo.tag){case 5:case 13:zd=!1;return;case 27:case 3:zd=!0;return;default:Mo=Mo.return}}function Oc(n){if(n!==Mo)return!1;if(!Zn)return s0(n),Zn=!0,!1;var a=n.tag,s;if((s=a!==3&&a!==27)&&((s=a===5)&&(s=n.type,s=!(s!=="form"&&s!=="button")||xs(n.type,n.memoizedProps)),s=!s),s&&Ra){for(s=Ra;s;){var g=jl(n,0),x=Vg(s);g.serverTail.push(x),s=x.type==="Suspense"?P0(s):Ia(s.nextSibling)}es(n)}if(s0(n),a===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Ra=P0(n)}else a===27?(a=Ra,Ss(n.type)?(n=G_,G_=null,Ra=n):Ra=a):Ra=Mo?Ia(n.stateNode.nextSibling):null;return!0}function Fl(){Ra=Mo=null,fp=Zn=!1}function u0(){var n=yy;return n!==null&&(Lo===null?Lo=n:Lo.push.apply(Lo,n),yy=null),n}function jf(n){yy===null?yy=[n]:yy.push(n)}function sh(){var n=sc;if(n!==null){sc=null;for(var a=B(n);0<n.children.length;)n=n.children[0];ft(n.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
|
|
238
|
+
|
|
239
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
240
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
241
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
242
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
243
|
+
- Invalid HTML tag nesting.
|
|
244
|
+
|
|
245
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
246
|
+
|
|
247
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",a)})}}function uh(){Jv=EE=null,eb=!1}function Er(n,a,s){be(l_,a._currentValue,n),a._currentValue=s,be(o_,a._currentRenderer,n),a._currentRenderer!==void 0&&a._currentRenderer!==null&&a._currentRenderer!==J3&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),a._currentRenderer=J3}function Il(n,a){n._currentValue=l_.current;var s=o_.current;ce(o_,a),n._currentRenderer=s,ce(l_,a)}function c0(n,a,s){for(;n!==null;){var g=n.alternate;if((n.childLanes&a)!==a?(n.childLanes|=a,g!==null&&(g.childLanes|=a)):g!==null&&(g.childLanes&a)!==a&&(g.childLanes|=a),n===s)break;n=n.return}n!==s&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function f0(n,a,s,g){var x=n.child;for(x!==null&&(x.return=n);x!==null;){var A=x.dependencies;if(A!==null){var L=x.child;A=A.firstContext;e:for(;A!==null;){var F=A;A=x;for(var Q=0;Q<a.length;Q++)if(F.context===a[Q]){A.lanes|=s,F=A.alternate,F!==null&&(F.lanes|=s),c0(A.return,s,n),g||(L=null);break e}A=F.next}}else if(x.tag===18){if(L=x.return,L===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");L.lanes|=s,A=L.alternate,A!==null&&(A.lanes|=s),c0(L,s,n),L=null}else L=x.child;if(L!==null)L.return=x;else for(L=x;L!==null;){if(L===n){L=null;break}if(x=L.sibling,x!==null){x.return=L.return,L=x;break}L=L.return}x=L}}function ka(n,a,s,g){n=null;for(var x=a,A=!1;x!==null;){if(!A){if((x.flags&524288)!==0)A=!0;else if((x.flags&262144)!==0)break}if(x.tag===10){var L=x.alternate;if(L===null)throw Error("Should have a current fiber. This is a bug in React.");if(L=L.memoizedProps,L!==null){var F=x.type;$e(x.pendingProps.value,L.value)||(n!==null?n.push(F):n=[F])}}else if(x===_d.current){if(L=x.alternate,L===null)throw Error("Should have a current fiber. This is a bug in React.");L.memoizedState.memoizedState!==x.memoizedState.memoizedState&&(n!==null?n.push(yx):n=[yx])}x=x.return}n!==null&&f0(a,n,s,g),a.flags|=262144}function gl(n){for(n=n.firstContext;n!==null;){if(!$e(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function Ta(n){EE=n,Jv=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function yi(n){return eb&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),d0(EE,n)}function ch(n,a){return EE===null&&Ta(n),d0(n,a)}function d0(n,a){var s=a._currentValue;if(a={context:a,memoizedValue:s,next:null},Jv===null){if(n===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Jv=a,n.dependencies={lanes:0,firstContext:a,_debugThenableState:null},n.flags|=524288}else Jv=Jv.next=a;return s}function fh(){return{controller:new gq,data:new Map,refCount:0}}function Rc(n){n.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),n.refCount++}function ts(n){n.refCount--,0>n.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),n.refCount===0&&mq(yq,function(){n.controller.abort()})}function er(){var n=vy;return vy=0,n}function me(n){var a=vy;return vy=n,a}function Pe(n){var a=vy;return vy+=n,a}function ke(n){Os=tb(),0>n.actualStartTime&&(n.actualStartTime=Os)}function st(n){if(0<=Os){var a=tb()-Os;n.actualDuration+=a,n.selfBaseDuration=a,Os=-1}}function kt(n){if(0<=Os){var a=tb()-Os;n.actualDuration+=a,Os=-1}}function Vt(){if(0<=Os){var n=tb()-Os;Os=-1,vy+=n}}function Jn(){Os=tb()}function Sn(n){for(var a=n.child;a;)n.actualDuration+=a.actualDuration,a=a.sibling}function Wp(n,a){if(V1===null){var s=V1=[];s_=0,by=O0(),nb={status:"pending",value:void 0,then:function(g){s.push(g)}}}return s_++,a.then(h0,h0),a}function h0(){if(--s_===0&&V1!==null){nb!==null&&(nb.status="fulfilled");var n=V1;V1=null,by=0,nb=null;for(var a=0;a<n.length;a++)(0,n[a])()}}function ml(n,a){var s=[],g={status:"pending",value:null,reason:null,then:function(x){s.push(x)}};return n.then(function(){g.status="fulfilled",g.value=a;for(var x=0;x<s.length;x++)(0,s[x])(a)},function(x){for(g.status="rejected",g.reason=x,x=0;x<s.length;x++)(0,s[x])(void 0)}),g}function Ff(){var n=xy.current;return n!==null?n:Ui.pooledCache}function Kp(n,a){a===null?be(xy,xy.current,n):be(xy,a.pool,n)}function Mc(){var n=Ff();return n===null?null:{parent:zr._currentValue,pool:n}}function If(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function Pf(n){return n=n.status,n==="fulfilled"||n==="rejected"}function Rn(){}function Pl(n,a,s){ze.actQueue!==null&&(ze.didUsePromise=!0);var g=n.thenables;switch(s=g[s],s===void 0?g.push(a):s!==a&&(n.didWarnAboutUncachedPromise||(n.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),a.then(Rn,Rn),a=s),a.status){case"fulfilled":return a.value;case"rejected":throw n=a.reason,tr(n),n;default:if(typeof a.status=="string")a.then(Rn,Rn);else{if(n=Ui,n!==null&&100<n.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");n=a,n.status="pending",n.then(function(x){if(a.status==="pending"){var A=a;A.status="fulfilled",A.value=x}},function(x){if(a.status==="pending"){var A=a;A.status="rejected",A.reason=x}})}switch(a.status){case"fulfilled":return a.value;case"rejected":throw n=a.reason,tr(n),n}throw K1=a,DE=!0,W1}}function Jp(){if(K1===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var n=K1;return K1=null,DE=!1,n}function tr(n){if(n===W1||n===wE)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function qr(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Mu(n,a){n=n.updateQueue,a.updateQueue===n&&(a.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function ns(n){return{lane:n,tag:aN,payload:null,callback:null,next:null}}function Vr(n,a,s){var g=n.updateQueue;if(g===null)return null;if(g=g.shared,f_===g&&!oN){var x=W(n);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
|
|
248
|
+
|
|
249
|
+
Please update the following component: %s`,x),oN=!0}return(hi&Bo)!==pu?(x=g.pending,x===null?a.next=a:(a.next=x.next,x.next=a),g.pending=a,a=$p(n),bv(n,null,s),a):(zf(n,g,a,s),$p(n))}function Ar(n,a,s){if(a=a.updateQueue,a!==null&&(a=a.shared,(s&4194048)!==0)){var g=a.lanes;g&=n.pendingLanes,s|=g,a.lanes=s,Lt(n,s)}}function qs(n,a){var s=n.updateQueue,g=n.alternate;if(g!==null&&(g=g.updateQueue,s===g)){var x=null,A=null;if(s=s.firstBaseUpdate,s!==null){do{var L={lane:s.lane,tag:s.tag,payload:s.payload,callback:null,next:null};A===null?x=A=L:A=A.next=L,s=s.next}while(s!==null);A===null?x=A=a:A=A.next=a}else x=A=a;s={baseState:g.baseState,firstBaseUpdate:x,lastBaseUpdate:A,shared:g.shared,callbacks:g.callbacks},n.updateQueue=s;return}n=s.lastBaseUpdate,n===null?s.firstBaseUpdate=a:n.next=a,s.lastBaseUpdate=a}function po(){if(d_){var n=nb;if(n!==null)throw n}}function Vs(n,a,s,g){d_=!1;var x=n.updateQueue;mm=!1,f_=x.shared;var A=x.firstBaseUpdate,L=x.lastBaseUpdate,F=x.shared.pending;if(F!==null){x.shared.pending=null;var Q=F,J=Q.next;Q.next=null,L===null?A=J:L.next=J,L=Q;var Be=n.alternate;Be!==null&&(Be=Be.updateQueue,F=Be.lastBaseUpdate,F!==L&&(F===null?Be.firstBaseUpdate=J:F.next=J,Be.lastBaseUpdate=Q))}if(A!==null){var je=x.baseState;L=0,Be=J=Q=null,F=A;do{var Me=F.lane&-536870913,Ve=Me!==F.lane;if(Ve?(Bn&Me)===Me:(g&Me)===Me){Me!==0&&Me===by&&(d_=!0),Be!==null&&(Be=Be.next={lane:0,tag:F.tag,payload:F.payload,callback:null,next:null});e:{Me=n;var gt=F,Ft=a,Hi=s;switch(gt.tag){case rN:if(gt=gt.payload,typeof gt=="function"){eb=!0;var zn=gt.call(Hi,je,Ft);if(Me.mode&ro){Ue(!0);try{gt.call(Hi,je,Ft)}finally{Ue(!1)}}eb=!1,je=zn;break e}je=gt;break e;case c_:Me.flags=Me.flags&-65537|128;case aN:if(zn=gt.payload,typeof zn=="function"){if(eb=!0,gt=zn.call(Hi,je,Ft),Me.mode&ro){Ue(!0);try{zn.call(Hi,je,Ft)}finally{Ue(!1)}}eb=!1}else gt=zn;if(gt==null)break e;je=Kt({},je,gt);break e;case lN:mm=!0}}Me=F.callback,Me!==null&&(n.flags|=64,Ve&&(n.flags|=8192),Ve=x.callbacks,Ve===null?x.callbacks=[Me]:Ve.push(Me))}else Ve={lane:Me,tag:F.tag,payload:F.payload,callback:F.callback,next:null},Be===null?(J=Be=Ve,Q=je):Be=Be.next=Ve,L|=Me;if(F=F.next,F===null){if(F=x.shared.pending,F===null)break;Ve=F,F=Ve.next,Ve.next=null,x.lastBaseUpdate=Ve,x.shared.pending=null}}while(!0);Be===null&&(Q=je),x.baseState=Q,x.firstBaseUpdate=J,x.lastBaseUpdate=Be,A===null&&(x.shared.lanes=0),xm|=L,n.lanes=L,n.memoizedState=je}f_=null}function qf(n,a){if(typeof n!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+n);n.call(a)}function Nc(n,a){var s=n.shared.hiddenCallbacks;if(s!==null)for(n.shared.hiddenCallbacks=null,n=0;n<s.length;n++)qf(s[n],a)}function dh(n,a){var s=n.callbacks;if(s!==null)for(n.callbacks=null,n=0;n<s.length;n++)qf(s[n],a)}function Tr(n,a){var s=jd;be(OE,s,n),be(ib,a,n),jd=s|a.baseLanes}function Ys(n){be(OE,jd,n),be(ib,ib.current,n)}function za(n){jd=OE.current,ce(ib,n),ce(OE,n)}function Yt(){var n=He;fc===null?fc=[n]:fc.push(n)}function tt(){var n=He;if(fc!==null&&(hp++,fc[hp]!==n)){var a=W(Qt);if(!sN.has(a)&&(sN.add(a),fc!==null)){for(var s="",g=0;g<=hp;g++){var x=fc[g],A=g===hp?n:x;for(x=g+1+". "+x;30>x.length;)x+=" ";x+=A+`
|
|
250
|
+
`,s+=x}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
|
|
251
|
+
|
|
252
|
+
Previous render Next render
|
|
253
|
+
------------------------------------------------------
|
|
254
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
255
|
+
`,a,s)}}}function ql(n){n==null||Pt(n)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",He,typeof n)}function Vf(){var n=W(Qt);cN.has(n)||(cN.add(n),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",n))}function vi(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
256
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
257
|
+
2. You might be breaking the Rules of Hooks
|
|
258
|
+
3. You might have more than one copy of React in the same app
|
|
259
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function go(n,a){if(ex)return!1;if(a===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",He),!1;n.length!==a.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
260
|
+
|
|
261
|
+
Previous: %s
|
|
262
|
+
Incoming: %s`,He,"["+a.join(", ")+"]","["+n.join(", ")+"]");for(var s=0;s<a.length&&s<n.length;s++)if(!$e(n[s],a[s]))return!1;return!0}function is(n,a,s,g,x,A){ym=A,Qt=a,fc=n!==null?n._debugHookTypes:null,hp=-1,ex=n!==null&&n.type!==a.type,(Object.prototype.toString.call(s)==="[object AsyncFunction]"||Object.prototype.toString.call(s)==="[object AsyncGeneratorFunction]")&&(A=W(Qt),h_.has(A)||(h_.add(A),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",A===null?"An unknown Component":"<"+A+">"))),a.memoizedState=null,a.updateQueue=null,a.lanes=0,ze.H=n!==null&&n.memoizedState!==null?g_:fc!==null?fN:p_,Ey=A=(a.mode&ro)!==$i;var L=m_(s,g,x);if(Ey=!1,rb&&(L=Bc(a,s,g,x)),A){Ue(!0);try{L=Bc(a,s,g,x)}finally{Ue(!1)}}return hh(n,a),L}function hh(n,a){a._debugHookTypes=fc,a.dependencies===null?dp!==null&&(a.dependencies={lanes:0,firstContext:null,_debugThenableState:dp}):a.dependencies._debugThenableState=dp,ze.H=NE;var s=Li!==null&&Li.next!==null;if(ym=0,fc=He=fr=Li=Qt=null,hp=-1,n!==null&&(n.flags&65011712)!==(a.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),RE=!1,J1=0,dp=null,s)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");n===null||sl||(n=n.dependencies,n!==null&&gl(n)&&(sl=!0)),DE?(DE=!1,n=!0):n=!1,n&&(a=W(a)||"Unknown",uN.has(a)||h_.has(a)||(uN.add(a),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function Bc(n,a,s,g){Qt=n;var x=0;do{if(rb&&(dp=null),J1=0,rb=!1,x>=bq)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(x+=1,ex=!1,fr=Li=null,n.updateQueue!=null){var A=n.updateQueue;A.lastEffect=null,A.events=null,A.stores=null,A.memoCache!=null&&(A.memoCache.index=0)}hp=-1,ze.H=dN,A=m_(a,s,g)}while(rb);return A}function Vl(){var n=ze.H,a=n.useState()[0];return a=typeof a.then=="function"?Lc(a):a,n=n.useState()[0],(Li!==null?Li.memoizedState:null)!==n&&(Qt.flags|=1024),a}function Yr(){var n=ME!==0;return ME=0,n}function si(n,a,s){a.updateQueue=n.updateQueue,a.flags=(a.mode&hf)!==$i?a.flags&-402655237:a.flags&-2053,n.lanes&=~s}function bi(n){if(RE){for(n=n.memoizedState;n!==null;){var a=n.queue;a!==null&&(a.pending=null),n=n.next}RE=!1}ym=0,fc=fr=Li=Qt=null,hp=-1,He=null,rb=!1,J1=ME=0,dp=null}function Pi(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return fr===null?Qt.memoizedState=fr=n:fr=fr.next=n,fr}function Tn(){if(Li===null){var n=Qt.alternate;n=n!==null?n.memoizedState:null}else n=Li.next;var a=fr===null?Qt.memoizedState:fr.next;if(a!==null)fr=a,Li=n;else{if(n===null)throw Qt.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");Li=n,n={memoizedState:Li.memoizedState,baseState:Li.baseState,baseQueue:Li.baseQueue,queue:Li.queue,next:null},fr===null?Qt.memoizedState=fr=n:fr=fr.next=n}return fr}function ph(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Lc(n){var a=J1;return J1+=1,dp===null&&(dp=If()),n=Pl(dp,n,a),a=Qt,(fr===null?a.memoizedState:fr.next)===null&&(a=a.alternate,ze.H=a!==null&&a.memoizedState!==null?g_:p_),n}function Yl(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return Lc(n);if(n.$$typeof===Da)return yi(n)}throw Error("An unsupported type was passed to use(): "+String(n))}function _i(n){var a=null,s=Qt.updateQueue;if(s!==null&&(a=s.memoCache),a==null){var g=Qt.alternate;g!==null&&(g=g.updateQueue,g!==null&&(g=g.memoCache,g!=null&&(a={data:g.data.map(function(x){return x.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),s===null&&(s=ph(),Qt.updateQueue=s),s.memoCache=a,s=a.data[a.index],s===void 0||ex)for(s=a.data[a.index]=Array(n),g=0;g<n;g++)s[g]=Hv;else s.length!==n&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",s.length,n);return a.index++,s}function Mn(n,a){return typeof a=="function"?a(n):a}function cn(n,a,s){var g=Pi();if(s!==void 0){var x=s(a);if(Ey){Ue(!0);try{s(a)}finally{Ue(!1)}}}else x=a;return g.memoizedState=g.baseState=x,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:x},g.queue=n,n=n.dispatch=Sh.bind(null,Qt,n),[g.memoizedState,n]}function nr(n){var a=Tn();return ir(a,Li,n)}function ir(n,a,s){var g=n.queue;if(g===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");g.lastRenderedReducer=s;var x=n.baseQueue,A=g.pending;if(A!==null){if(x!==null){var L=x.next;x.next=A.next,A.next=L}a.baseQueue!==x&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),a.baseQueue=x=A,g.pending=null}if(A=n.baseState,x===null)n.memoizedState=A;else{a=x.next;var F=L=null,Q=null,J=a,Be=!1;do{var je=J.lane&-536870913;if(je!==J.lane?(Bn&je)===je:(ym&je)===je){var Me=J.revertLane;if(Me===0)Q!==null&&(Q=Q.next={lane:0,revertLane:0,action:J.action,hasEagerState:J.hasEagerState,eagerState:J.eagerState,next:null}),je===by&&(Be=!0);else if((ym&Me)===Me){J=J.next,Me===by&&(Be=!0);continue}else je={lane:0,revertLane:J.revertLane,action:J.action,hasEagerState:J.hasEagerState,eagerState:J.eagerState,next:null},Q===null?(F=Q=je,L=A):Q=Q.next=je,Qt.lanes|=Me,xm|=Me;je=J.action,Ey&&s(A,je),A=J.hasEagerState?J.eagerState:s(A,je)}else Me={lane:je,revertLane:J.revertLane,action:J.action,hasEagerState:J.hasEagerState,eagerState:J.eagerState,next:null},Q===null?(F=Q=Me,L=A):Q=Q.next=Me,Qt.lanes|=je,xm|=je;J=J.next}while(J!==null&&J!==a);if(Q===null?L=A:Q.next=F,!$e(A,n.memoizedState)&&(sl=!0,Be&&(s=nb,s!==null)))throw s;n.memoizedState=A,n.baseState=L,n.baseQueue=Q,g.lastRenderedState=A}return x===null&&(g.lanes=0),[n.memoizedState,g.dispatch]}function as(n){var a=Tn(),s=a.queue;if(s===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");s.lastRenderedReducer=n;var g=s.dispatch,x=s.pending,A=a.memoizedState;if(x!==null){s.pending=null;var L=x=x.next;do A=n(A,L.action),L=L.next;while(L!==x);$e(A,a.memoizedState)||(sl=!0),a.memoizedState=A,a.baseQueue===null&&(a.baseState=A),s.lastRenderedState=A}return[A,g]}function Gr(n,a,s){var g=Qt,x=Pi();if(Zn){if(s===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var A=s();ab||A===s()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),ab=!0)}else{if(A=a(),ab||(s=a(),$e(A,s)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),ab=!0)),Ui===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(Bn&124)!==0||p0(g,a,A)}return x.memoizedState=A,s={value:A,getSnapshot:a},x.queue=s,tg(Gf.bind(null,g,s,n),[n]),g.flags|=2048,ls(cc|Ur,Bu(),Yf.bind(null,g,s,A,a),null),A}function gh(n,a,s){var g=Qt,x=Tn(),A=Zn;if(A){if(s===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");s=s()}else if(s=a(),!ab){var L=a();$e(s,L)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),ab=!0)}(L=!$e((Li||x).memoizedState,s))&&(x.memoizedState=s,sl=!0),x=x.queue;var F=Gf.bind(null,g,x,n);if(ci(2048,Ur,F,[n]),x.getSnapshot!==a||L||fr!==null&&fr.memoizedState.tag&cc){if(g.flags|=2048,ls(cc|Ur,Bu(),Yf.bind(null,g,x,s,a),null),Ui===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");A||(ym&124)!==0||p0(g,a,s)}return s}function p0(n,a,s){n.flags|=16384,n={getSnapshot:a,value:s},a=Qt.updateQueue,a===null?(a=ph(),Qt.updateQueue=a,a.stores=[n]):(s=a.stores,s===null?a.stores=[n]:s.push(n))}function Yf(n,a,s,g){a.value=s,a.getSnapshot=g,g0(a)&&Gs(n)}function Gf(n,a,s){return s(function(){g0(a)&&Gs(n)})}function g0(n){var a=n.getSnapshot;n=n.value;try{var s=a();return!$e(n,s)}catch{return!0}}function Gs(n){var a=Ja(n,2);a!==null&&Vi(a,n,2)}function Xs(n){var a=Pi();if(typeof n=="function"){var s=n;if(n=s(),Ey){Ue(!0);try{s()}finally{Ue(!1)}}}return a.memoizedState=a.baseState=n,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mn,lastRenderedState:n},a}function rs(n){n=Xs(n);var a=n.queue,s=$l.bind(null,Qt,a);return a.dispatch=s,[n.memoizedState,s]}function X(n){var a=Pi();a.memoizedState=a.baseState=n;var s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=s,a=ug.bind(null,Qt,!0,s),s.dispatch=a,[n,a]}function Xr(n,a){var s=Tn();return yl(s,Li,n,a)}function yl(n,a,s,g){return n.baseState=s,ir(n,Li,typeof g=="function"?g:Mn)}function Cr(n,a){var s=Tn();return Li!==null?yl(s,Li,n,a):(s.baseState=n,[n,s.queue.dispatch])}function fn(n,a,s,g,x){if(Zf(n))throw Error("Cannot update form state while rendering.");if(n=a.action,n!==null){var A={payload:x,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(L){A.listeners.push(L)}};ze.T!==null?s(!0):A.isTransition=!1,g(A),s=a.pending,s===null?(A.next=a.pending=A,Xf(a,A)):(A.next=s.next,a.pending=s.next=A)}}function Xf(n,a){var s=a.action,g=a.payload,x=n.state;if(a.isTransition){var A=ze.T,L={};ze.T=L,ze.T._updatedFibers=new Set;try{var F=s(x,g),Q=ze.S;Q!==null&&Q(L,F),mh(n,a,F)}catch(J){Ri(n,a,J)}finally{ze.T=A,A===null&&L._updatedFibers&&(n=L._updatedFibers.size,L._updatedFibers.clear(),10<n&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{L=s(x,g),mh(n,a,L)}catch(J){Ri(n,a,J)}}function mh(n,a,s){s!==null&&typeof s=="object"&&typeof s.then=="function"?(s.then(function(g){Nu(n,a,g)},function(g){return Ri(n,a,g)}),a.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):Nu(n,a,s)}function Nu(n,a,s){a.status="fulfilled",a.value=s,yh(a),n.state=s,a=n.pending,a!==null&&(s=a.next,s===a?n.pending=null:(s=s.next,a.next=s,Xf(n,s)))}function Ri(n,a,s){var g=n.pending;if(n.pending=null,g!==null){g=g.next;do a.status="rejected",a.reason=s,yh(a),a=a.next;while(a!==g)}n.action=null}function yh(n){n=n.listeners;for(var a=0;a<n.length;a++)(0,n[a])()}function m0(n,a){return a}function $f(n,a){if(Zn){var s=Ui.formState;if(s!==null){e:{var g=Qt;if(Zn){if(Ra){t:{for(var x=Ra,A=zd;x.nodeType!==8;){if(!A){x=null;break t}if(x=Ia(x.nextSibling),x===null){x=null;break t}}A=x.data,x=A===P_||A===cB?x:null}if(x){Ra=Ia(x.nextSibling),g=x.data===P_;break e}}es(g)}g=!1}g&&(a=s[0])}}return s=Pi(),s.memoizedState=s.baseState=a,g={pending:null,lanes:0,dispatch:null,lastRenderedReducer:m0,lastRenderedState:a},s.queue=g,s=$l.bind(null,Qt,g),g.dispatch=s,g=Xs(!1),A=ug.bind(null,Qt,!1,g.queue),g=Pi(),x={state:a,dispatch:null,action:n,pending:null},g.queue=x,s=fn.bind(null,Qt,x,A,s),x.dispatch=s,g.memoizedState=n,[a,s,!1]}function eg(n){var a=Tn();return xv(a,Li,n)}function xv(n,a,s){if(a=ir(n,a,m0)[0],n=nr(Mn)[0],typeof a=="object"&&a!==null&&typeof a.then=="function")try{var g=Lc(a)}catch(L){throw L===W1?wE:L}else g=a;a=Tn();var x=a.queue,A=x.dispatch;return s!==a.memoizedState&&(Qt.flags|=2048,ls(cc|Ur,Bu(),ui.bind(null,x,s),null)),[g,A,n]}function ui(n,a){n.action=a}function Qf(n){var a=Tn(),s=Li;if(s!==null)return xv(a,s,n);Tn(),a=a.memoizedState,s=Tn();var g=s.queue.dispatch;return s.memoizedState=n,[a,g,!1]}function ls(n,a,s,g){return n={tag:n,create:s,deps:g,inst:a,next:null},a=Qt.updateQueue,a===null&&(a=ph(),Qt.updateQueue=a),s=a.lastEffect,s===null?a.lastEffect=n.next=n:(g=s.next,s.next=n,n.next=g,a.lastEffect=n),n}function Bu(){return{destroy:void 0,resource:void 0}}function vh(n){var a=Pi();return n={current:n},a.memoizedState=n}function Gl(n,a,s,g){var x=Pi();g=g===void 0?null:g,Qt.flags|=n,x.memoizedState=ls(cc|a,Bu(),s,g)}function ci(n,a,s,g){var x=Tn();g=g===void 0?null:g;var A=x.memoizedState.inst;Li!==null&&g!==null&&go(g,Li.memoizedState.deps)?x.memoizedState=ls(a,A,s,g):(Qt.flags|=n,x.memoizedState=ls(cc|a,A,s,g))}function tg(n,a){(Qt.mode&hf)!==$i&&(Qt.mode&$3)===$i?Gl(276826112,Ur,n,a):Gl(8390656,Ur,n,a)}function ng(n,a){var s=4194308;return(Qt.mode&hf)!==$i&&(s|=134217728),Gl(s,_l,n,a)}function Sv(n,a){if(typeof a=="function"){n=n();var s=a(n);return function(){typeof s=="function"?s():a(null)}}if(a!=null)return a.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(a).join(", ")+"}"),n=n(),a.current=n,function(){a.current=null}}function ig(n,a,s){typeof a!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",a!==null?typeof a:"null"),s=s!=null?s.concat([n]):null;var g=4194308;(Qt.mode&hf)!==$i&&(g|=134217728),Gl(g,_l,Sv.bind(null,a,n),s)}function os(n,a,s){typeof a!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",a!==null?typeof a:"null"),s=s!=null?s.concat([n]):null,ci(4,_l,Sv.bind(null,a,n),s)}function mo(n,a){return Pi().memoizedState=[n,a===void 0?null:a],n}function kc(n,a){var s=Tn();a=a===void 0?null:a;var g=s.memoizedState;return a!==null&&go(a,g[1])?g[0]:(s.memoizedState=[n,a],n)}function ag(n,a){var s=Pi();a=a===void 0?null:a;var g=n();if(Ey){Ue(!0);try{n()}finally{Ue(!1)}}return s.memoizedState=[g,a],g}function Ca(n,a){var s=Tn();a=a===void 0?null:a;var g=s.memoizedState;if(a!==null&&go(a,g[1]))return g[0];if(g=n(),Ey){Ue(!0);try{n()}finally{Ue(!1)}}return s.memoizedState=[g,a],g}function rg(n,a){var s=Pi();return og(s,n,a)}function bh(n,a){var s=Tn();return xh(s,Li.memoizedState,n,a)}function lg(n,a){var s=Tn();return Li===null?og(s,n,a):xh(s,Li.memoizedState,n,a)}function og(n,a,s){return s===void 0||(ym&1073741824)!==0?n.memoizedState=a:(n.memoizedState=s,n=_0(),Qt.lanes|=n,xm|=n,s)}function xh(n,a,s,g){return $e(s,a)?s:ib.current!==null?(n=og(n,s,g),$e(n,a)||(sl=!0),n):(ym&42)===0?(sl=!0,n.memoizedState=s):(n=_0(),Qt.lanes|=n,xm|=n,a)}function sg(n,a,s,g,x){var A=Ht.p;Ht.p=A!==0&&A<Jt?A:Jt;var L=ze.T,F={};ze.T=F,ug(n,!1,a,s),F._updatedFibers=new Set;try{var Q=x(),J=ze.S;if(J!==null&&J(F,Q),Q!==null&&typeof Q=="object"&&typeof Q.then=="function"){var Be=ml(Q,g);sa(n,a,Be,el(n))}else sa(n,a,g,el(n))}catch(je){sa(n,a,{then:function(){},status:"rejected",reason:je},el(n))}finally{Ht.p=A,ze.T=L,L===null&&F._updatedFibers&&(n=F._updatedFibers.size,F._updatedFibers.clear(),10<n&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function Lu(n,a,s,g){if(n.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var x=y0(n).queue;sg(n,x,a,By,s===null?S:function(){return v0(n),s(g)})}function y0(n){var a=n.memoizedState;if(a!==null)return a;a={memoizedState:By,baseState:By,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mn,lastRenderedState:By},next:null};var s={};return a.next={memoizedState:s,baseState:s,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mn,lastRenderedState:s},next:null},n.memoizedState=a,n=n.alternate,n!==null&&(n.memoizedState=a),a}function v0(n){ze.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var a=y0(n).next.queue;sa(n,a,{},el(n))}function Xl(){var n=Xs(!1);return n=sg.bind(null,Qt,n.queue,!0,!1),Pi().memoizedState=n,[!1,n]}function ku(){var n=nr(Mn)[0],a=Tn().memoizedState;return[typeof n=="boolean"?n:Lc(n),a]}function zc(){var n=as(Mn)[0],a=Tn().memoizedState;return[typeof n=="boolean"?n:Lc(n),a]}function $r(){return yi(yx)}function yo(){var n=Pi(),a=Ui.identifierPrefix;if(Zn){var s=cp,g=up;s=(g&~(1<<32-Bi(g)-1)).toString(32)+s,a="«"+a+"R"+s,s=ME++,0<s&&(a+="H"+s.toString(32)),a+="»"}else s=vq++,a="«"+a+"r"+s.toString(32)+"»";return n.memoizedState=a}function Uc(){return Pi().memoizedState=vo.bind(null,Qt)}function vo(n,a){for(var s=n.return;s!==null;){switch(s.tag){case 24:case 3:var g=el(s);n=ns(g);var x=Vr(s,n,g);x!==null&&(Vi(x,s,g),Ar(x,s,g)),s=fh(),a!=null&&x!==null&&console.error("The seed argument is not enabled outside experimental channels."),n.payload={cache:s};return}s=s.return}}function Sh(n,a,s){var g=arguments;typeof g[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),g=el(n);var x={lane:g,revertLane:0,action:s,hasEagerState:!1,eagerState:null,next:null};Zf(n)?zu(a,x):(x=a0(n,a,x,g),x!==null&&(Vi(x,n,g),$s(x,a,g))),Ct(n,g)}function $l(n,a,s){var g=arguments;typeof g[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),g=el(n),sa(n,a,s,g),Ct(n,g)}function sa(n,a,s,g){var x={lane:g,revertLane:0,action:s,hasEagerState:!1,eagerState:null,next:null};if(Zf(n))zu(a,x);else{var A=n.alternate;if(n.lanes===0&&(A===null||A.lanes===0)&&(A=a.lastRenderedReducer,A!==null)){var L=ze.H;ze.H=gf;try{var F=a.lastRenderedState,Q=A(F,s);if(x.hasEagerState=!0,x.eagerState=Q,$e(Q,F))return zf(n,a,x,0),Ui===null&&zl(),!1}catch{}finally{ze.H=L}}if(s=a0(n,a,x,g),s!==null)return Vi(s,n,g),$s(s,a,g),!0}return!1}function ug(n,a,s,g){if(ze.T===null&&by===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),g={lane:2,revertLane:O0(),action:g,hasEagerState:!1,eagerState:null,next:null},Zf(n)){if(a)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else a=a0(n,s,g,2),a!==null&&Vi(a,n,2);Ct(n,2)}function Zf(n){var a=n.alternate;return n===Qt||a!==null&&a===Qt}function zu(n,a){rb=RE=!0;var s=n.pending;s===null?a.next=a:(a.next=s.next,s.next=a),n.pending=a}function $s(n,a,s){if((s&4194048)!==0){var g=a.lanes;g&=n.pendingLanes,s|=g,a.lanes=s,Lt(n,s)}}function wi(n){var a=bn;return n!=null&&(bn=a===null?n:a.concat(n)),a}function Hc(n,a,s){for(var g=Object.keys(n.props),x=0;x<g.length;x++){var A=g[x];if(A!=="children"&&A!=="key"){a===null&&(a=oh(n,s.mode,0),a._debugInfo=bn,a.return=s),ft(a,function(L){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",L)},A);break}}}function Wf(n){var a=tx;return tx+=1,lb===null&&(lb=If()),Pl(lb,n,a)}function _r(n,a){a=a.props.ref,n.ref=a!==void 0?a:null}function Gt(n,a){throw a.$$typeof===Kh?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
263
|
+
- Multiple copies of the "react" package is used.
|
|
264
|
+
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
265
|
+
- A compiler tries to "inline" JSX instead of using the runtime.`):(n=Object.prototype.toString.call(a),Error("Objects are not valid as a React child (found: "+(n==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead."))}function jn(n,a){var s=W(n)||"Component";wN[s]||(wN[s]=!0,a=a.displayName||a.name||"Component",n.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
266
|
+
root.render(%s)`,a,a,a):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
267
|
+
<%s>{%s}</%s>`,a,a,s,a,s))}function rn(n,a){var s=W(n)||"Component";DN[s]||(DN[s]=!0,a=String(a),n.tag===3?console.error(`Symbols are not valid as a React child.
|
|
268
|
+
root.render(%s)`,a):console.error(`Symbols are not valid as a React child.
|
|
269
|
+
<%s>%s</%s>`,s,a,s))}function jc(n){function a(se,ue){if(n){var pe=se.deletions;pe===null?(se.deletions=[ue],se.flags|=16):pe.push(ue)}}function s(se,ue){if(!n)return null;for(;ue!==null;)a(se,ue),ue=ue.sibling;return null}function g(se){for(var ue=new Map;se!==null;)se.key!==null?ue.set(se.key,se):ue.set(se.index,se),se=se.sibling;return ue}function x(se,ue){return se=Ul(se,ue),se.index=0,se.sibling=null,se}function A(se,ue,pe){return se.index=pe,n?(pe=se.alternate,pe!==null?(pe=pe.index,pe<ue?(se.flags|=67108866,ue):pe):(se.flags|=67108866,ue)):(se.flags|=1048576,ue)}function L(se){return n&&se.alternate===null&&(se.flags|=67108866),se}function F(se,ue,pe,Ge){return ue===null||ue.tag!==6?(ue=Jo(pe,se.mode,Ge),ue.return=se,ue._debugOwner=se,ue._debugTask=se._debugTask,ue._debugInfo=bn,ue):(ue=x(ue,pe),ue.return=se,ue._debugInfo=bn,ue)}function Q(se,ue,pe,Ge){var rt=pe.type;return rt===$t?(ue=Be(se,ue,pe.props.children,Ge,pe.key),Hc(pe,ue,se),ue):ue!==null&&(ue.elementType===rt||ih(ue,pe)||typeof rt=="object"&&rt!==null&&rt.$$typeof===El&&vm(rt)===ue.type)?(ue=x(ue,pe.props),_r(ue,pe),ue.return=se,ue._debugOwner=pe._owner,ue._debugInfo=bn,ue):(ue=oh(pe,se.mode,Ge),_r(ue,pe),ue.return=se,ue._debugInfo=bn,ue)}function J(se,ue,pe,Ge){return ue===null||ue.tag!==4||ue.stateNode.containerInfo!==pe.containerInfo||ue.stateNode.implementation!==pe.implementation?(ue=r0(pe,se.mode,Ge),ue.return=se,ue._debugInfo=bn,ue):(ue=x(ue,pe.children||[]),ue.return=se,ue._debugInfo=bn,ue)}function Be(se,ue,pe,Ge,rt){return ue===null||ue.tag!==7?(ue=Ko(pe,se.mode,Ge,rt),ue.return=se,ue._debugOwner=se,ue._debugTask=se._debugTask,ue._debugInfo=bn,ue):(ue=x(ue,pe),ue.return=se,ue._debugInfo=bn,ue)}function je(se,ue,pe){if(typeof ue=="string"&&ue!==""||typeof ue=="number"||typeof ue=="bigint")return ue=Jo(""+ue,se.mode,pe),ue.return=se,ue._debugOwner=se,ue._debugTask=se._debugTask,ue._debugInfo=bn,ue;if(typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case Ju:return pe=oh(ue,se.mode,pe),_r(pe,ue),pe.return=se,se=wi(ue._debugInfo),pe._debugInfo=bn,bn=se,pe;case af:return ue=r0(ue,se.mode,pe),ue.return=se,ue._debugInfo=bn,ue;case El:var Ge=wi(ue._debugInfo);return ue=vm(ue),se=je(se,ue,pe),bn=Ge,se}if(Pt(ue)||H(ue))return pe=Ko(ue,se.mode,pe,null),pe.return=se,pe._debugOwner=se,pe._debugTask=se._debugTask,se=wi(ue._debugInfo),pe._debugInfo=bn,bn=se,pe;if(typeof ue.then=="function")return Ge=wi(ue._debugInfo),se=je(se,Wf(ue),pe),bn=Ge,se;if(ue.$$typeof===Da)return je(se,ch(se,ue),pe);Gt(se,ue)}return typeof ue=="function"&&jn(se,ue),typeof ue=="symbol"&&rn(se,ue),null}function Me(se,ue,pe,Ge){var rt=ue!==null?ue.key:null;if(typeof pe=="string"&&pe!==""||typeof pe=="number"||typeof pe=="bigint")return rt!==null?null:F(se,ue,""+pe,Ge);if(typeof pe=="object"&&pe!==null){switch(pe.$$typeof){case Ju:return pe.key===rt?(rt=wi(pe._debugInfo),se=Q(se,ue,pe,Ge),bn=rt,se):null;case af:return pe.key===rt?J(se,ue,pe,Ge):null;case El:return rt=wi(pe._debugInfo),pe=vm(pe),se=Me(se,ue,pe,Ge),bn=rt,se}if(Pt(pe)||H(pe))return rt!==null?null:(rt=wi(pe._debugInfo),se=Be(se,ue,pe,Ge,null),bn=rt,se);if(typeof pe.then=="function")return rt=wi(pe._debugInfo),se=Me(se,ue,Wf(pe),Ge),bn=rt,se;if(pe.$$typeof===Da)return Me(se,ue,ch(se,pe),Ge);Gt(se,pe)}return typeof pe=="function"&&jn(se,pe),typeof pe=="symbol"&&rn(se,pe),null}function Ve(se,ue,pe,Ge,rt){if(typeof Ge=="string"&&Ge!==""||typeof Ge=="number"||typeof Ge=="bigint")return se=se.get(pe)||null,F(ue,se,""+Ge,rt);if(typeof Ge=="object"&&Ge!==null){switch(Ge.$$typeof){case Ju:return pe=se.get(Ge.key===null?pe:Ge.key)||null,se=wi(Ge._debugInfo),ue=Q(ue,pe,Ge,rt),bn=se,ue;case af:return se=se.get(Ge.key===null?pe:Ge.key)||null,J(ue,se,Ge,rt);case El:var tn=wi(Ge._debugInfo);return Ge=vm(Ge),ue=Ve(se,ue,pe,Ge,rt),bn=tn,ue}if(Pt(Ge)||H(Ge))return pe=se.get(pe)||null,se=wi(Ge._debugInfo),ue=Be(ue,pe,Ge,rt,null),bn=se,ue;if(typeof Ge.then=="function")return tn=wi(Ge._debugInfo),ue=Ve(se,ue,pe,Wf(Ge),rt),bn=tn,ue;if(Ge.$$typeof===Da)return Ve(se,ue,pe,ch(ue,Ge),rt);Gt(ue,Ge)}return typeof Ge=="function"&&jn(ue,Ge),typeof Ge=="symbol"&&rn(ue,Ge),null}function gt(se,ue,pe,Ge){if(typeof pe!="object"||pe===null)return Ge;switch(pe.$$typeof){case Ju:case af:p(se,ue,pe);var rt=pe.key;if(typeof rt!="string")break;if(Ge===null){Ge=new Set,Ge.add(rt);break}if(!Ge.has(rt)){Ge.add(rt);break}ft(ue,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",rt)});break;case El:pe=vm(pe),gt(se,ue,pe,Ge)}return Ge}function Ft(se,ue,pe,Ge){for(var rt=null,tn=null,mt=null,nn=ue,on=ue=0,Qi=null;nn!==null&&on<pe.length;on++){nn.index>on?(Qi=nn,nn=null):Qi=nn.sibling;var Ga=Me(se,nn,pe[on],Ge);if(Ga===null){nn===null&&(nn=Qi);break}rt=gt(se,Ga,pe[on],rt),n&&nn&&Ga.alternate===null&&a(se,nn),ue=A(Ga,ue,on),mt===null?tn=Ga:mt.sibling=Ga,mt=Ga,nn=Qi}if(on===pe.length)return s(se,nn),Zn&&Ou(se,on),tn;if(nn===null){for(;on<pe.length;on++)nn=je(se,pe[on],Ge),nn!==null&&(rt=gt(se,nn,pe[on],rt),ue=A(nn,ue,on),mt===null?tn=nn:mt.sibling=nn,mt=nn);return Zn&&Ou(se,on),tn}for(nn=g(nn);on<pe.length;on++)Qi=Ve(nn,se,on,pe[on],Ge),Qi!==null&&(rt=gt(se,Qi,pe[on],rt),n&&Qi.alternate!==null&&nn.delete(Qi.key===null?on:Qi.key),ue=A(Qi,ue,on),mt===null?tn=Qi:mt.sibling=Qi,mt=Qi);return n&&nn.forEach(function(bp){return a(se,bp)}),Zn&&Ou(se,on),tn}function Hi(se,ue,pe,Ge){if(pe==null)throw Error("An iterable object provided no iterator.");for(var rt=null,tn=null,mt=ue,nn=ue=0,on=null,Qi=null,Ga=pe.next();mt!==null&&!Ga.done;nn++,Ga=pe.next()){mt.index>nn?(on=mt,mt=null):on=mt.sibling;var bp=Me(se,mt,Ga.value,Ge);if(bp===null){mt===null&&(mt=on);break}Qi=gt(se,bp,Ga.value,Qi),n&&mt&&bp.alternate===null&&a(se,mt),ue=A(bp,ue,nn),tn===null?rt=bp:tn.sibling=bp,tn=bp,mt=on}if(Ga.done)return s(se,mt),Zn&&Ou(se,nn),rt;if(mt===null){for(;!Ga.done;nn++,Ga=pe.next())mt=je(se,Ga.value,Ge),mt!==null&&(Qi=gt(se,mt,Ga.value,Qi),ue=A(mt,ue,nn),tn===null?rt=mt:tn.sibling=mt,tn=mt);return Zn&&Ou(se,nn),rt}for(mt=g(mt);!Ga.done;nn++,Ga=pe.next())on=Ve(mt,se,nn,Ga.value,Ge),on!==null&&(Qi=gt(se,on,Ga.value,Qi),n&&on.alternate!==null&&mt.delete(on.key===null?nn:on.key),ue=A(on,ue,nn),tn===null?rt=on:tn.sibling=on,tn=on);return n&&mt.forEach(function(Yq){return a(se,Yq)}),Zn&&Ou(se,nn),rt}function zn(se,ue,pe,Ge){if(typeof pe=="object"&&pe!==null&&pe.type===$t&&pe.key===null&&(Hc(pe,null,se),pe=pe.props.children),typeof pe=="object"&&pe!==null){switch(pe.$$typeof){case Ju:var rt=wi(pe._debugInfo);e:{for(var tn=pe.key;ue!==null;){if(ue.key===tn){if(tn=pe.type,tn===$t){if(ue.tag===7){s(se,ue.sibling),Ge=x(ue,pe.props.children),Ge.return=se,Ge._debugOwner=pe._owner,Ge._debugInfo=bn,Hc(pe,Ge,se),se=Ge;break e}}else if(ue.elementType===tn||ih(ue,pe)||typeof tn=="object"&&tn!==null&&tn.$$typeof===El&&vm(tn)===ue.type){s(se,ue.sibling),Ge=x(ue,pe.props),_r(Ge,pe),Ge.return=se,Ge._debugOwner=pe._owner,Ge._debugInfo=bn,se=Ge;break e}s(se,ue);break}else a(se,ue);ue=ue.sibling}pe.type===$t?(Ge=Ko(pe.props.children,se.mode,Ge,pe.key),Ge.return=se,Ge._debugOwner=se,Ge._debugTask=se._debugTask,Ge._debugInfo=bn,Hc(pe,Ge,se),se=Ge):(Ge=oh(pe,se.mode,Ge),_r(Ge,pe),Ge.return=se,Ge._debugInfo=bn,se=Ge)}return se=L(se),bn=rt,se;case af:e:{for(rt=pe,pe=rt.key;ue!==null;){if(ue.key===pe)if(ue.tag===4&&ue.stateNode.containerInfo===rt.containerInfo&&ue.stateNode.implementation===rt.implementation){s(se,ue.sibling),Ge=x(ue,rt.children||[]),Ge.return=se,se=Ge;break e}else{s(se,ue);break}else a(se,ue);ue=ue.sibling}Ge=r0(rt,se.mode,Ge),Ge.return=se,se=Ge}return L(se);case El:return rt=wi(pe._debugInfo),pe=vm(pe),se=zn(se,ue,pe,Ge),bn=rt,se}if(Pt(pe))return rt=wi(pe._debugInfo),se=Ft(se,ue,pe,Ge),bn=rt,se;if(H(pe)){if(rt=wi(pe._debugInfo),tn=H(pe),typeof tn!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var mt=tn.call(pe);return mt===pe?(se.tag!==0||Object.prototype.toString.call(se.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(mt)!=="[object Generator]")&&(CN||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),CN=!0):pe.entries!==tn||v_||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),v_=!0),se=Hi(se,ue,mt,Ge),bn=rt,se}if(typeof pe.then=="function")return rt=wi(pe._debugInfo),se=zn(se,ue,Wf(pe),Ge),bn=rt,se;if(pe.$$typeof===Da)return zn(se,ue,ch(se,pe),Ge);Gt(se,pe)}return typeof pe=="string"&&pe!==""||typeof pe=="number"||typeof pe=="bigint"?(rt=""+pe,ue!==null&&ue.tag===6?(s(se,ue.sibling),Ge=x(ue,rt),Ge.return=se,se=Ge):(s(se,ue),Ge=Jo(rt,se.mode,Ge),Ge.return=se,Ge._debugOwner=se,Ge._debugTask=se._debugTask,Ge._debugInfo=bn,se=Ge),L(se)):(typeof pe=="function"&&jn(se,pe),typeof pe=="symbol"&&rn(se,pe),s(se,ue))}return function(se,ue,pe,Ge){var rt=bn;bn=null;try{tx=0;var tn=zn(se,ue,pe,Ge);return lb=null,tn}catch(Qi){if(Qi===W1||Qi===wE)throw Qi;var mt=_(29,Qi,null,se.mode);mt.lanes=Ge,mt.return=se;var nn=mt._debugInfo=bn;if(mt._debugOwner=se._debugOwner,mt._debugTask=se._debugTask,nn!=null){for(var on=nn.length-1;0<=on;on--)if(typeof nn[on].stack=="string"){mt._debugOwner=nn[on],mt._debugTask=nn[on].debugTask;break}}return mt}finally{bn=rt}}}function Qr(n){var a=n.alternate;be(Hr,Hr.current&sb,n),be(dc,n,n),Hd===null&&(a===null||ib.current!==null||a.memoizedState!==null)&&(Hd=n)}function Ua(n){if(n.tag===22){if(be(Hr,Hr.current,n),be(dc,n,n),Hd===null){var a=n.alternate;a!==null&&a.memoizedState!==null&&(Hd=n)}}else vl(n)}function vl(n){be(Hr,Hr.current,n),be(dc,dc.current,n)}function ar(n){ce(dc,n),Hd===n&&(Hd=null),ce(Hr,n)}function wr(n){for(var a=n;a!==null;){if(a.tag===13){var s=a.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||s.data===mp||Es(s)))return a}else if(a.tag===19&&a.memoizedProps.revealOrder!==void 0){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===n)break;for(;a.sibling===null;){if(a.return===null||a.return===n)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}function cg(n){if(n!==null&&typeof n!="function"){var a=String(n);FN.has(a)||(FN.add(a),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",n))}}function gn(n,a,s,g){var x=n.memoizedState,A=s(g,x);if(n.mode&ro){Ue(!0);try{A=s(g,x)}finally{Ue(!1)}}A===void 0&&(a=j(a)||"Component",zN.has(a)||(zN.add(a),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",a))),x=A==null?x:Kt({},x,A),n.memoizedState=x,n.lanes===0&&(n.updateQueue.baseState=x)}function Kf(n,a,s,g,x,A,L){var F=n.stateNode;if(typeof F.shouldComponentUpdate=="function"){if(s=F.shouldComponentUpdate(g,A,L),n.mode&ro){Ue(!0);try{s=F.shouldComponentUpdate(g,A,L)}finally{Ue(!1)}}return s===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",j(a)||"Component"),s}return a.prototype&&a.prototype.isPureReactComponent?!kf(s,g)||!kf(x,A):!0}function fg(n,a,s,g){var x=a.state;typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(s,g),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(s,g),a.state!==x&&(n=W(n)||"Component",MN.has(n)||(MN.add(n),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",n)),b_.enqueueReplaceState(a,a.state,null))}function Uu(n,a){var s=a;if("ref"in a){s={};for(var g in a)g!=="ref"&&(s[g]=a[g])}if(n=n.defaultProps){s===a&&(s=Kt({},s));for(var x in n)s[x]===void 0&&(s[x]=n[x])}return s}function b0(n){x_(n),console.warn(`%s
|
|
270
|
+
|
|
271
|
+
%s
|
|
272
|
+
`,ub?"An error occurred in the <"+ub+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
273
|
+
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function dg(n){var a=ub?"The above error occurred in the <"+ub+"> component.":"The above error occurred in one of your React components.",s="React will try to recreate this component tree from scratch using the error boundary you provided, "+((S_||"Anonymous")+".");if(typeof n=="object"&&n!==null&&typeof n.environmentName=="string"){var g=n.environmentName;n=[`%o
|
|
274
|
+
|
|
275
|
+
%s
|
|
276
|
+
|
|
277
|
+
%s
|
|
278
|
+
`,n,a,s].slice(0),typeof n[0]=="string"?n.splice(0,1,vB+n[0],bB,WE+g+WE,xB):n.splice(0,0,vB,bB,WE+g+WE,xB),n.unshift(console),g=qq.apply(console.error,n),g()}else console.error(`%o
|
|
279
|
+
|
|
280
|
+
%s
|
|
281
|
+
|
|
282
|
+
%s
|
|
283
|
+
`,n,a,s)}function hg(n){x_(n)}function ss(n,a){try{ub=a.source?W(a.source):null,S_=null;var s=a.value;if(ze.actQueue!==null)ze.thrownErrors.push(s);else{var g=n.onUncaughtError;g(s,{componentStack:a.stack})}}catch(x){setTimeout(function(){throw x})}}function Eh(n,a,s){try{ub=s.source?W(s.source):null,S_=W(a);var g=n.onCaughtError;g(s.value,{componentStack:s.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(x){setTimeout(function(){throw x})}}function rr(n,a,s){return s=ns(s),s.tag=c_,s.payload={element:null},s.callback=function(){ft(a.source,ss,n,a)},s}function qi(n){return n=ns(n),n.tag=c_,n}function Qs(n,a,s,g){var x=s.type.getDerivedStateFromError;if(typeof x=="function"){var A=g.value;n.payload=function(){return x(A)},n.callback=function(){Dc(s),ft(g.source,Eh,a,s,g)}}var L=s.stateNode;L!==null&&typeof L.componentDidCatch=="function"&&(n.callback=function(){Dc(s),ft(g.source,Eh,a,s,g),typeof x!="function"&&(Em===null?Em=new Set([this]):Em.add(this)),xq(this,g),typeof x=="function"||(s.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",W(s)||"Unknown")})}function Ah(n,a,s,g,x){if(s.flags|=32768,zi&&Gu(n,x),g!==null&&typeof g=="object"&&typeof g.then=="function"){if(a=s.alternate,a!==null&&ka(a,s,x,!0),Zn&&(fp=!0),s=dc.current,s!==null){switch(s.tag){case 13:return Hd===null?ps():s.alternate===null&&Ma===gp&&(Ma=C_),s.flags&=-257,s.flags|=65536,s.lanes=x,g===u_?s.flags|=16384:(a=s.updateQueue,a===null?s.updateQueue=new Set([g]):a.add(g),kg(n,g,x)),!1;case 22:return s.flags|=65536,g===u_?s.flags|=16384:(a=s.updateQueue,a===null?(a={transitions:null,markerInstances:null,retryQueue:new Set([g])},s.updateQueue=a):(s=a.retryQueue,s===null?a.retryQueue=new Set([g]):s.add(g)),kg(n,g,x)),!1}throw Error("Unexpected Suspense handler tag ("+s.tag+"). This is a bug in React.")}return kg(n,g,x),ps(),!1}if(Zn)return fp=!0,a=dc.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=x,g!==r_&&jf(xn(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:g}),s))):(g!==r_&&jf(xn(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:g}),s)),n=n.current.alternate,n.flags|=65536,x&=-x,n.lanes|=x,g=xn(g,s),x=rr(n.stateNode,g,x),qs(n,x),Ma!==Ay&&(Ma=hb)),!1;var A=xn(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:g}),s);if(ux===null?ux=[A]:ux.push(A),Ma!==Ay&&(Ma=hb),a===null)return!0;g=xn(g,s),s=a;do{switch(s.tag){case 3:return s.flags|=65536,n=x&-x,s.lanes|=n,n=rr(s.stateNode,g,n),qs(s,n),!1;case 1:if(a=s.type,A=s.stateNode,(s.flags&128)===0&&(typeof a.getDerivedStateFromError=="function"||A!==null&&typeof A.componentDidCatch=="function"&&(Em===null||!Em.has(A))))return s.flags|=65536,x&=-x,s.lanes|=x,x=qi(x),Qs(x,n,s,g),qs(s,x),!1}s=s.return}while(s!==null);return!1}function ua(n,a,s,g){a.child=n===null?ON(a,null,s,g):ob(a,n.child,s,g)}function Jf(n,a,s,g,x){s=s.render;var A=a.ref;if("ref"in g){var L={};for(var F in g)F!=="ref"&&(L[F]=g[F])}else L=g;return Ta(a),Le(a),g=is(n,a,s,L,A,x),F=Yr(),De(),n!==null&&!sl?(si(n,a,x),Ql(n,a,x)):(Zn&&F&&Hf(a),a.flags|=1,ua(n,a,g,x),a.child)}function bo(n,a,s,g,x){if(n===null){var A=s.type;return typeof A=="function"&&!Zp(A)&&A.defaultProps===void 0&&s.compare===null?(s=wc(A),a.tag=15,a.type=s,_h(a,A),Th(n,a,s,g,x)):(n=lh(s.type,null,g,a,a.mode,x),n.ref=a.ref,n.return=a,a.child=n)}if(A=n.child,!bg(n,x)){var L=A.memoizedProps;if(s=s.compare,s=s!==null?s:kf,s(L,g)&&n.ref===a.ref)return Ql(n,a,x)}return a.flags|=1,n=Ul(A,g),n.ref=a.ref,n.return=a,a.child=n}function Th(n,a,s,g,x){if(n!==null){var A=n.memoizedProps;if(kf(A,g)&&n.ref===a.ref&&a.type===n.type)if(sl=!1,a.pendingProps=g=A,bg(n,x))(n.flags&131072)!==0&&(sl=!0);else return a.lanes=n.lanes,Ql(n,a,x)}return td(n,a,s,g,x)}function pg(n,a,s){var g=a.pendingProps,x=g.children,A=n!==null?n.memoizedState:null;if(g.mode==="hidden"){if((a.flags&128)!==0){if(g=A!==null?A.baseLanes|s:s,n!==null){for(x=a.child=n.child,A=0;x!==null;)A=A|x.lanes|x.childLanes,x=x.sibling;a.childLanes=A&~g}else a.childLanes=0,a.child=null;return gg(n,a,g,s)}if((s&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},n!==null&&Kp(a,A!==null?A.cachePool:null),A!==null?Tr(a,A):Ys(a),Ua(a);else return a.lanes=a.childLanes=536870912,gg(n,a,A!==null?A.baseLanes|s:s,s)}else A!==null?(Kp(a,A.cachePool),Tr(a,A),vl(a),a.memoizedState=null):(n!==null&&Kp(a,null),Ys(a),vl(a));return ua(n,a,x,s),a.child}function gg(n,a,s,g){var x=Ff();return x=x===null?null:{parent:zr._currentValue,pool:x},a.memoizedState={baseLanes:s,cachePool:x},n!==null&&Kp(a,null),Ys(a),Ua(a),n!==null&&ka(n,a,g,!0),null}function ed(n,a){var s=a.ref;if(s===null)n!==null&&n.ref!==null&&(a.flags|=4194816);else{if(typeof s!="function"&&typeof s!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(n===null||n.ref!==s)&&(a.flags|=4194816)}}function td(n,a,s,g,x){if(s.prototype&&typeof s.prototype.render=="function"){var A=j(s)||"Unknown";PN[A]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",A,A),PN[A]=!0)}return a.mode&ro&&pf.recordLegacyContextWarning(a,null),n===null&&(_h(a,a.type),s.contextTypes&&(A=j(s)||"Unknown",VN[A]||(VN[A]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",A)))),Ta(a),Le(a),s=is(n,a,s,g,void 0,x),g=Yr(),De(),n!==null&&!sl?(si(n,a,x),Ql(n,a,x)):(Zn&&g&&Hf(a),a.flags|=1,ua(n,a,s,x),a.child)}function x0(n,a,s,g,x,A){return Ta(a),Le(a),hp=-1,ex=n!==null&&n.type!==a.type,a.updateQueue=null,s=Bc(a,g,s,x),hh(n,a),g=Yr(),De(),n!==null&&!sl?(si(n,a,A),Ql(n,a,A)):(Zn&&g&&Hf(a),a.flags|=1,ua(n,a,s,A),a.child)}function Ch(n,a,s,g,x){switch(f(a)){case!1:var A=a.stateNode,L=new a.type(a.memoizedProps,A.context).state;A.updater.enqueueSetState(A,L,null);break;case!0:a.flags|=128,a.flags|=65536,A=Error("Simulated error coming from DevTools");var F=x&-x;if(a.lanes|=F,L=Ui,L===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");F=qi(F),Qs(F,L,a,xn(A,a)),qs(a,F)}if(Ta(a),a.stateNode===null){if(L=gm,A=s.contextType,"contextType"in s&&A!==null&&(A===void 0||A.$$typeof!==Da)&&!jN.has(s)&&(jN.add(s),F=A===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof A!="object"?" However, it is set to a "+typeof A+".":A.$$typeof===nm?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(A).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",j(s)||"Component",F)),typeof A=="object"&&A!==null&&(L=yi(A)),A=new s(g,L),a.mode&ro){Ue(!0);try{A=new s(g,L)}finally{Ue(!1)}}if(L=a.memoizedState=A.state!==null&&A.state!==void 0?A.state:null,A.updater=b_,a.stateNode=A,A._reactInternals=a,A._reactInternalInstance=RN,typeof s.getDerivedStateFromProps=="function"&&L===null&&(L=j(s)||"Component",NN.has(L)||(NN.add(L),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",L,A.state===null?"null":"undefined",L))),typeof s.getDerivedStateFromProps=="function"||typeof A.getSnapshotBeforeUpdate=="function"){var Q=F=L=null;if(typeof A.componentWillMount=="function"&&A.componentWillMount.__suppressDeprecationWarning!==!0?L="componentWillMount":typeof A.UNSAFE_componentWillMount=="function"&&(L="UNSAFE_componentWillMount"),typeof A.componentWillReceiveProps=="function"&&A.componentWillReceiveProps.__suppressDeprecationWarning!==!0?F="componentWillReceiveProps":typeof A.UNSAFE_componentWillReceiveProps=="function"&&(F="UNSAFE_componentWillReceiveProps"),typeof A.componentWillUpdate=="function"&&A.componentWillUpdate.__suppressDeprecationWarning!==!0?Q="componentWillUpdate":typeof A.UNSAFE_componentWillUpdate=="function"&&(Q="UNSAFE_componentWillUpdate"),L!==null||F!==null||Q!==null){A=j(s)||"Component";var J=typeof s.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";LN.has(A)||(LN.add(A),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
284
|
+
|
|
285
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
286
|
+
|
|
287
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
288
|
+
https://react.dev/link/unsafe-component-lifecycles`,A,J,L!==null?`
|
|
289
|
+
`+L:"",F!==null?`
|
|
290
|
+
`+F:"",Q!==null?`
|
|
291
|
+
`+Q:""))}}A=a.stateNode,L=j(s)||"Component",A.render||(s.prototype&&typeof s.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",L):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",L)),!A.getInitialState||A.getInitialState.isReactClassApproved||A.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",L),A.getDefaultProps&&!A.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",L),A.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",L),s.childContextTypes&&!HN.has(s)&&(HN.add(s),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",L)),s.contextTypes&&!UN.has(s)&&(UN.add(s),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",L)),typeof A.componentShouldUpdate=="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",L),s.prototype&&s.prototype.isPureReactComponent&&typeof A.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",j(s)||"A pure component"),typeof A.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",L),typeof A.componentDidReceiveProps=="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",L),typeof A.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",L),typeof A.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",L),F=A.props!==g,A.props!==void 0&&F&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",L),A.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",L,L),typeof A.getSnapshotBeforeUpdate!="function"||typeof A.componentDidUpdate=="function"||BN.has(s)||(BN.add(s),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",j(s))),typeof A.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",L),typeof A.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",L),typeof s.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",L),(F=A.state)&&(typeof F!="object"||Pt(F))&&console.error("%s.state: must be set to an object or null",L),typeof A.getChildContext=="function"&&typeof s.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",L),A=a.stateNode,A.props=g,A.state=a.memoizedState,A.refs={},qr(a),L=s.contextType,A.context=typeof L=="object"&&L!==null?yi(L):gm,A.state===g&&(L=j(s)||"Component",kN.has(L)||(kN.add(L),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",L))),a.mode&ro&&pf.recordLegacyContextWarning(a,A),pf.recordUnsafeLifecycleWarnings(a,A),A.state=a.memoizedState,L=s.getDerivedStateFromProps,typeof L=="function"&&(gn(a,s,L,g),A.state=a.memoizedState),typeof s.getDerivedStateFromProps=="function"||typeof A.getSnapshotBeforeUpdate=="function"||typeof A.UNSAFE_componentWillMount!="function"&&typeof A.componentWillMount!="function"||(L=A.state,typeof A.componentWillMount=="function"&&A.componentWillMount(),typeof A.UNSAFE_componentWillMount=="function"&&A.UNSAFE_componentWillMount(),L!==A.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",W(a)||"Component"),b_.enqueueReplaceState(A,A.state,null)),Vs(a,g,A,x),po(),A.state=a.memoizedState),typeof A.componentDidMount=="function"&&(a.flags|=4194308),(a.mode&hf)!==$i&&(a.flags|=134217728),A=!0}else if(n===null){A=a.stateNode;var Be=a.memoizedProps;F=Uu(s,Be),A.props=F;var je=A.context;Q=s.contextType,L=gm,typeof Q=="object"&&Q!==null&&(L=yi(Q)),J=s.getDerivedStateFromProps,Q=typeof J=="function"||typeof A.getSnapshotBeforeUpdate=="function",Be=a.pendingProps!==Be,Q||typeof A.UNSAFE_componentWillReceiveProps!="function"&&typeof A.componentWillReceiveProps!="function"||(Be||je!==L)&&fg(a,A,g,L),mm=!1;var Me=a.memoizedState;A.state=Me,Vs(a,g,A,x),po(),je=a.memoizedState,Be||Me!==je||mm?(typeof J=="function"&&(gn(a,s,J,g),je=a.memoizedState),(F=mm||Kf(a,s,F,g,Me,je,L))?(Q||typeof A.UNSAFE_componentWillMount!="function"&&typeof A.componentWillMount!="function"||(typeof A.componentWillMount=="function"&&A.componentWillMount(),typeof A.UNSAFE_componentWillMount=="function"&&A.UNSAFE_componentWillMount()),typeof A.componentDidMount=="function"&&(a.flags|=4194308),(a.mode&hf)!==$i&&(a.flags|=134217728)):(typeof A.componentDidMount=="function"&&(a.flags|=4194308),(a.mode&hf)!==$i&&(a.flags|=134217728),a.memoizedProps=g,a.memoizedState=je),A.props=g,A.state=je,A.context=L,A=F):(typeof A.componentDidMount=="function"&&(a.flags|=4194308),(a.mode&hf)!==$i&&(a.flags|=134217728),A=!1)}else{A=a.stateNode,Mu(n,a),L=a.memoizedProps,Q=Uu(s,L),A.props=Q,J=a.pendingProps,Me=A.context,je=s.contextType,F=gm,typeof je=="object"&&je!==null&&(F=yi(je)),Be=s.getDerivedStateFromProps,(je=typeof Be=="function"||typeof A.getSnapshotBeforeUpdate=="function")||typeof A.UNSAFE_componentWillReceiveProps!="function"&&typeof A.componentWillReceiveProps!="function"||(L!==J||Me!==F)&&fg(a,A,g,F),mm=!1,Me=a.memoizedState,A.state=Me,Vs(a,g,A,x),po();var Ve=a.memoizedState;L!==J||Me!==Ve||mm||n!==null&&n.dependencies!==null&&gl(n.dependencies)?(typeof Be=="function"&&(gn(a,s,Be,g),Ve=a.memoizedState),(Q=mm||Kf(a,s,Q,g,Me,Ve,F)||n!==null&&n.dependencies!==null&&gl(n.dependencies))?(je||typeof A.UNSAFE_componentWillUpdate!="function"&&typeof A.componentWillUpdate!="function"||(typeof A.componentWillUpdate=="function"&&A.componentWillUpdate(g,Ve,F),typeof A.UNSAFE_componentWillUpdate=="function"&&A.UNSAFE_componentWillUpdate(g,Ve,F)),typeof A.componentDidUpdate=="function"&&(a.flags|=4),typeof A.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof A.componentDidUpdate!="function"||L===n.memoizedProps&&Me===n.memoizedState||(a.flags|=4),typeof A.getSnapshotBeforeUpdate!="function"||L===n.memoizedProps&&Me===n.memoizedState||(a.flags|=1024),a.memoizedProps=g,a.memoizedState=Ve),A.props=g,A.state=Ve,A.context=F,A=Q):(typeof A.componentDidUpdate!="function"||L===n.memoizedProps&&Me===n.memoizedState||(a.flags|=4),typeof A.getSnapshotBeforeUpdate!="function"||L===n.memoizedProps&&Me===n.memoizedState||(a.flags|=1024),A=!1)}if(F=A,ed(n,a),L=(a.flags&128)!==0,F||L){if(F=a.stateNode,Vo(a),L&&typeof s.getDerivedStateFromError!="function")s=null,Os=-1;else{if(Le(a),s=gN(F),a.mode&ro){Ue(!0);try{gN(F)}finally{Ue(!1)}}De()}a.flags|=1,n!==null&&L?(a.child=ob(a,n.child,null,x),a.child=ob(a,null,s,x)):ua(n,a,s,x),a.memoizedState=F.state,n=a.child}else n=Ql(n,a,x);return x=a.stateNode,A&&x.props!==g&&(cb||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",W(a)||"a component"),cb=!0),n}function mg(n,a,s,g){return Fl(),a.flags|=256,ua(n,a,s,g),a.child}function _h(n,a){a&&a.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
292
|
+
%s.childContextTypes = ...`,a.displayName||a.name||"Component"),typeof a.getDerivedStateFromProps=="function"&&(n=j(a)||"Unknown",YN[n]||(console.error("%s: Function components do not support getDerivedStateFromProps.",n),YN[n]=!0)),typeof a.contextType=="object"&&a.contextType!==null&&(a=j(a)||"Unknown",qN[a]||(console.error("%s: Function components do not support contextType.",a),qN[a]=!0))}function nd(n){return{baseLanes:n,cachePool:Mc()}}function Fc(n,a,s){return n=n!==null?n.childLanes&~s:0,a&&(n|=mu),n}function Ev(n,a,s){var g,x=a.pendingProps;c(a)&&(a.flags|=128);var A=!1,L=(a.flags&128)!==0;if((g=L)||(g=n!==null&&n.memoizedState===null?!1:(Hr.current&nx)!==0),g&&(A=!0,a.flags&=-129),g=(a.flags&32)!==0,a.flags&=-33,n===null){if(Zn){if(A?Qr(a):vl(a),Zn){var F=Ra,Q;if(!(Q=!F)){e:{var J=F;for(Q=zd;J.nodeType!==8;){if(!Q){Q=null;break e}if(J=Ia(J.nextSibling),J===null){Q=null;break e}}Q=J}Q!==null?(Hl(),a.memoizedState={dehydrated:Q,treeContext:my!==null?{id:up,overflow:cp}:null,retryLane:536870912,hydrationErrors:null},J=_(18,null,null,$i),J.stateNode=Q,J.return=a,a.child=J,Mo=a,Ra=null,Q=!0):Q=!1,Q=!Q}Q&&(l0(a,F),es(a))}if(F=a.memoizedState,F!==null&&(F=F.dehydrated,F!==null))return Es(F)?a.lanes=32:a.lanes=536870912,null;ar(a)}return F=x.children,x=x.fallback,A?(vl(a),A=a.mode,F=id({mode:"hidden",children:F},A),x=Ko(x,A,s,null),F.return=a,x.return=a,F.sibling=x,a.child=F,A=a.child,A.memoizedState=nd(s),A.childLanes=Fc(n,g,s),a.memoizedState=A_,x):(Qr(a),wh(a,F))}var Be=n.memoizedState;if(Be!==null&&(F=Be.dehydrated,F!==null)){if(L)a.flags&256?(Qr(a),a.flags&=-257,a=yg(n,a,s)):a.memoizedState!==null?(vl(a),a.child=n.child,a.flags|=128,a=null):(vl(a),A=x.fallback,F=a.mode,x=id({mode:"visible",children:x.children},F),A=Ko(A,F,s,null),A.flags|=2,x.return=a,A.return=a,x.sibling=A,a.child=x,ob(a,n.child,null,s),x=a.child,x.memoizedState=nd(s),x.childLanes=Fc(n,g,s),a.memoizedState=A_,a=A);else if(Qr(a),Zn&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug."),Es(F)){if(g=F.nextSibling&&F.nextSibling.dataset,g){Q=g.dgst;var je=g.msg;J=g.stck;var Me=g.cstck}F=je,g=Q,x=J,Q=A=Me,A=Error(F||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),A.stack=x||"",A.digest=g,g=Q===void 0?null:Q,x={value:A,source:null,stack:g},typeof g=="string"&&n_.set(A,x),jf(x),a=yg(n,a,s)}else if(sl||ka(n,a,s,!1),g=(s&n.childLanes)!==0,sl||g){if(g=Ui,g!==null&&(x=s&-s,x=(x&42)!==0?1:ot(x),x=(x&(g.suspendedLanes|s))!==0?0:x,x!==0&&x!==Be.retryLane))throw Be.retryLane=x,Ja(n,x),Vi(g,n,x),IN;F.data===mp||ps(),a=yg(n,a,s)}else F.data===mp?(a.flags|=192,a.child=n.child,a=null):(n=Be.treeContext,Ra=Ia(F.nextSibling),Mo=a,Zn=!0,yy=null,fp=!1,sc=null,zd=!1,n!==null&&(Hl(),lc[oc++]=up,lc[oc++]=cp,lc[oc++]=my,up=n.id,cp=n.overflow,my=a),a=wh(a,x.children),a.flags|=4096);return a}return A?(vl(a),A=x.fallback,F=a.mode,Q=n.child,J=Q.sibling,x=Ul(Q,{mode:"hidden",children:x.children}),x.subtreeFlags=Q.subtreeFlags&65011712,J!==null?A=Ul(J,A):(A=Ko(A,F,s,null),A.flags|=2),A.return=a,x.return=a,x.sibling=A,a.child=x,x=A,A=a.child,F=n.child.memoizedState,F===null?F=nd(s):(Q=F.cachePool,Q!==null?(J=zr._currentValue,Q=Q.parent!==J?{parent:J,pool:J}:Q):Q=Mc(),F={baseLanes:F.baseLanes|s,cachePool:Q}),A.memoizedState=F,A.childLanes=Fc(n,g,s),a.memoizedState=A_,x):(Qr(a),s=n.child,n=s.sibling,s=Ul(s,{mode:"visible",children:x.children}),s.return=a,s.sibling=null,n!==null&&(g=a.deletions,g===null?(a.deletions=[n],a.flags|=16):g.push(n)),a.child=s,a.memoizedState=null,s)}function wh(n,a){return a=id({mode:"visible",children:a},n.mode),a.return=n,n.child=a}function id(n,a){return n=_(22,n,null,a),n.lanes=0,n.stateNode={_visibility:i_,_pendingMarkers:null,_retryCache:null,_transitions:null},n}function yg(n,a,s){return ob(a,n.child,null,s),n=wh(a,a.pendingProps.children),n.flags|=2,a.memoizedState=null,n}function Dh(n,a,s){n.lanes|=a;var g=n.alternate;g!==null&&(g.lanes|=a),c0(n.return,a,s)}function S0(n,a){var s=Pt(n);return n=!s&&typeof H(n)=="function",s||n?(s=s?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",s,a,s),!1):!0}function ad(n,a,s,g,x){var A=n.memoizedState;A===null?n.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:g,tail:s,tailMode:x}:(A.isBackwards=a,A.rendering=null,A.renderingStartTime=0,A.last=g,A.tail=s,A.tailMode=x)}function vg(n,a,s){var g=a.pendingProps,x=g.revealOrder,A=g.tail;if(g=g.children,x!==void 0&&x!=="forwards"&&x!=="backwards"&&x!=="together"&&!GN[x])if(GN[x]=!0,typeof x=="string")switch(x.toLowerCase()){case"together":case"forwards":case"backwards":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',x,x.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',x,x.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',x)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',x);A===void 0||E_[A]||(A!=="collapsed"&&A!=="hidden"?(E_[A]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',A)):x!=="forwards"&&x!=="backwards"&&(E_[A]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',A)));e:if((x==="forwards"||x==="backwards")&&g!==void 0&&g!==null&&g!==!1)if(Pt(g)){for(var L=0;L<g.length;L++)if(!S0(g[L],L))break e}else if(L=H(g),typeof L=="function"){if(L=L.call(g))for(var F=L.next(),Q=0;!F.done;F=L.next()){if(!S0(F.value,Q))break e;Q++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',x);if(ua(n,a,g,s),g=Hr.current,(g&nx)!==0)g=g&sb|nx,a.flags|=128;else{if(n!==null&&(n.flags&128)!==0)e:for(n=a.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&Dh(n,s,a);else if(n.tag===19)Dh(n,s,a);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===a)break e;for(;n.sibling===null;){if(n.return===null||n.return===a)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}g&=sb}switch(be(Hr,g,a),x){case"forwards":for(s=a.child,x=null;s!==null;)n=s.alternate,n!==null&&wr(n)===null&&(x=s),s=s.sibling;s=x,s===null?(x=a.child,a.child=null):(x=s.sibling,s.sibling=null),ad(a,!1,x,s,A);break;case"backwards":for(s=null,x=a.child,a.child=null;x!==null;){if(n=x.alternate,n!==null&&wr(n)===null){a.child=x;break}n=x.sibling,x.sibling=s,s=x,x=n}ad(a,!0,s,null,A);break;case"together":ad(a,!1,null,null,void 0);break;default:a.memoizedState=null}return a.child}function Ql(n,a,s){if(n!==null&&(a.dependencies=n.dependencies),Os=-1,xm|=a.lanes,(s&a.childLanes)===0)if(n!==null){if(ka(n,a,s,!1),(s&a.childLanes)===0)return null}else return null;if(n!==null&&a.child!==n.child)throw Error("Resuming work not yet implemented.");if(a.child!==null){for(n=a.child,s=Ul(n,n.pendingProps),a.child=s,s.return=a;n.sibling!==null;)n=n.sibling,s=s.sibling=Ul(n,n.pendingProps),s.return=a;s.sibling=null}return a.child}function bg(n,a){return(n.lanes&a)!==0?!0:(n=n.dependencies,!!(n!==null&&gl(n)))}function E0(n,a,s){switch(a.tag){case 3:Ae(a,a.stateNode.containerInfo),Er(a,zr,n.memoizedState.cache),Fl();break;case 27:case 5:le(a);break;case 4:Ae(a,a.stateNode.containerInfo);break;case 10:Er(a,a.type,a.memoizedProps.value);break;case 12:(s&a.childLanes)!==0&&(a.flags|=4),a.flags|=2048;var g=a.stateNode;g.effectDuration=-0,g.passiveEffectDuration=-0;break;case 13:if(g=a.memoizedState,g!==null)return g.dehydrated!==null?(Qr(a),a.flags|=128,null):(s&a.child.childLanes)!==0?Ev(n,a,s):(Qr(a),n=Ql(n,a,s),n!==null?n.sibling:null);Qr(a);break;case 19:var x=(n.flags&128)!==0;if(g=(s&a.childLanes)!==0,g||(ka(n,a,s,!1),g=(s&a.childLanes)!==0),x){if(g)return vg(n,a,s);a.flags|=128}if(x=a.memoizedState,x!==null&&(x.rendering=null,x.tail=null,x.lastEffect=null),be(Hr,Hr.current,a),g)break;return null;case 22:case 23:return a.lanes=0,pg(n,a,s);case 24:Er(a,zr,n.memoizedState.cache)}return Ql(n,a,s)}function Xt(n,a,s){if(a._debugNeedsRemount&&n!==null){s=lh(a.type,a.key,a.pendingProps,a._debugOwner||null,a.mode,a.lanes),s._debugStack=a._debugStack,s._debugTask=a._debugTask;var g=a.return;if(g===null)throw Error("Cannot swap the root fiber.");if(n.alternate=null,a.alternate=null,s.index=a.index,s.sibling=a.sibling,s.return=a.return,s.ref=a.ref,s._debugInfo=a._debugInfo,a===g.child)g.child=s;else{var x=g.child;if(x===null)throw Error("Expected parent to have a child.");for(;x.sibling!==a;)if(x=x.sibling,x===null)throw Error("Expected to find the previous sibling.");x.sibling=s}return a=g.deletions,a===null?(g.deletions=[n],g.flags|=16):a.push(n),s.flags|=2,s}if(n!==null)if(n.memoizedProps!==a.pendingProps||a.type!==n.type)sl=!0;else{if(!bg(n,s)&&(a.flags&128)===0)return sl=!1,E0(n,a,s);sl=(n.flags&131072)!==0}else sl=!1,(g=Zn)&&(Hl(),g=(a.flags&1048576)!==0),g&&(g=a.index,Hl(),Pr(a,SE,g));switch(a.lanes=0,a.tag){case 16:e:if(g=a.pendingProps,n=vm(a.elementType),a.type=n,typeof n=="function")Zp(n)?(g=Uu(n,g),a.tag=1,a.type=n=wc(n),a=Ch(null,a,n,g,s)):(a.tag=0,_h(a,n),a.type=n=wc(n),a=td(null,a,n,g,s));else{if(n!=null){if(x=n.$$typeof,x===Bt){a.tag=11,a.type=n=Qp(n),a=Jf(null,a,n,g,s);break e}else if(x===Di){a.tag=14,a=bo(null,a,n,g,s);break e}}throw a="",n!==null&&typeof n=="object"&&n.$$typeof===El&&(a=" Did you wrap a component in React.lazy() more than once?"),n=j(n)||n,Error("Element type is invalid. Received a promise that resolves to: "+n+". Lazy element type must resolve to a class or function."+a)}return a;case 0:return td(n,a,a.type,a.pendingProps,s);case 1:return g=a.type,x=Uu(g,a.pendingProps),Ch(n,a,g,x,s);case 3:e:{if(Ae(a,a.stateNode.containerInfo),n===null)throw Error("Should have a current fiber. This is a bug in React.");g=a.pendingProps;var A=a.memoizedState;x=A.element,Mu(n,a),Vs(a,g,null,s);var L=a.memoizedState;if(g=L.cache,Er(a,zr,g),g!==A.cache&&f0(a,[zr],s,!0),po(),g=L.element,A.isDehydrated)if(A={element:g,isDehydrated:!1,cache:L.cache},a.updateQueue.baseState=A,a.memoizedState=A,a.flags&256){a=mg(n,a,g,s);break e}else if(g!==x){x=xn(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),a),jf(x),a=mg(n,a,g,s);break e}else{switch(n=a.stateNode.containerInfo,n.nodeType){case 9:n=n.body;break;default:n=n.nodeName==="HTML"?n.ownerDocument.body:n}for(Ra=Ia(n.firstChild),Mo=a,Zn=!0,yy=null,fp=!1,sc=null,zd=!0,n=ON(a,null,g,s),a.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Fl(),g===x){a=Ql(n,a,s);break e}ua(n,a,g,s)}a=a.child}return a;case 26:return ed(n,a),n===null?(n=ou(a.type,null,a.pendingProps,null))?a.memoizedState=n:Zn||(n=a.type,s=a.pendingProps,g=Oe(_o.current),g=yn(g).createElement(n),g[cr]=a,g[ll]=s,Yi(g,n,s),Ai(g),a.stateNode=g):a.memoizedState=ou(a.type,n.memoizedProps,a.pendingProps,n.memoizedState),null;case 27:return le(a),n===null&&Zn&&(g=Oe(_o.current),x=ee(),g=a.stateNode=V0(a.type,a.pendingProps,g,x,!1),fp||(x=fi(g,a.type,a.pendingProps,x),x!==null&&(jl(a,0).serverProps=x)),Mo=a,zd=!0,x=Ra,Ss(a.type)?(G_=x,Ra=Ia(g.firstChild)):Ra=x),ua(n,a,a.pendingProps.children,s),ed(n,a),n===null&&(a.flags|=4194304),a.child;case 5:return n===null&&Zn&&(A=ee(),g=It(a.type,A.ancestorInfo),x=Ra,(L=!x)||(L=Qu(x,a.type,a.pendingProps,zd),L!==null?(a.stateNode=L,fp||(A=fi(L,a.type,a.pendingProps,A),A!==null&&(jl(a,0).serverProps=A)),Mo=a,Ra=Ia(L.firstChild),zd=!1,A=!0):A=!1,L=!A),L&&(g&&l0(a,x),es(a))),le(a),x=a.type,A=a.pendingProps,L=n!==null?n.memoizedProps:null,g=A.children,xs(x,A)?g=null:L!==null&&xs(x,L)&&(a.flags|=32),a.memoizedState!==null&&(x=is(n,a,Vl,null,null,s),yx._currentValue=x),ed(n,a),ua(n,a,g,s),a.child;case 6:return n===null&&Zn&&(n=a.pendingProps,s=ee(),g=s.ancestorInfo.current,n=g!=null?An(n,g.tag,s.ancestorInfo.implicitRootScope):!0,s=Ra,(g=!s)||(g=Fa(s,a.pendingProps,zd),g!==null?(a.stateNode=g,Mo=a,Ra=null,g=!0):g=!1,g=!g),g&&(n&&l0(a,s),es(a))),null;case 13:return Ev(n,a,s);case 4:return Ae(a,a.stateNode.containerInfo),g=a.pendingProps,n===null?a.child=ob(a,null,g,s):ua(n,a,g,s),a.child;case 11:return Jf(n,a,a.type,a.pendingProps,s);case 7:return ua(n,a,a.pendingProps,s),a.child;case 8:return ua(n,a,a.pendingProps.children,s),a.child;case 12:return a.flags|=4,a.flags|=2048,g=a.stateNode,g.effectDuration=-0,g.passiveEffectDuration=-0,ua(n,a,a.pendingProps.children,s),a.child;case 10:return g=a.type,x=a.pendingProps,A=x.value,"value"in x||XN||(XN=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Er(a,g,A),ua(n,a,x.children,s),a.child;case 9:return x=a.type._context,g=a.pendingProps.children,typeof g!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),Ta(a),x=yi(x),Le(a),g=m_(g,x,void 0),De(),a.flags|=1,ua(n,a,g,s),a.child;case 14:return bo(n,a,a.type,a.pendingProps,s);case 15:return Th(n,a,a.type,a.pendingProps,s);case 19:return vg(n,a,s);case 31:return g=a.pendingProps,s=a.mode,g={mode:g.mode,children:g.children},n===null?(n=id(g,s),n.ref=a.ref,a.child=n,n.return=a,a=n):(n=Ul(n.child,g),n.ref=a.ref,a.child=n,n.return=a,a=n),a;case 22:return pg(n,a,s);case 24:return Ta(a),g=yi(zr),n===null?(x=Ff(),x===null&&(x=Ui,A=fh(),x.pooledCache=A,Rc(A),A!==null&&(x.pooledCacheLanes|=s),x=A),a.memoizedState={parent:g,cache:x},qr(a),Er(a,zr,x)):((n.lanes&s)!==0&&(Mu(n,a),Vs(a,null,null,s),po()),x=n.memoizedState,A=a.memoizedState,x.parent!==g?(x={parent:g,cache:g},a.memoizedState=x,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=x),Er(a,zr,g)):(g=A.cache,Er(a,zr,g),g!==x.cache&&f0(a,[zr],s,!0))),ua(n,a,a.pendingProps.children,s),a.child;case 29:throw a.pendingProps}throw Error("Unknown unit of work tag ("+a.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Zr(n){n.flags|=4}function Oh(n,a){if(a.type!=="stylesheet"||(a.state.loading&hc)!==Ny)n.flags&=-16777217;else if(n.flags|=16777216,!qh(a)){if(a=dc.current,a!==null&&((Bn&4194048)===Bn?Hd!==null:(Bn&62914560)!==Bn&&(Bn&536870912)===0||a!==Hd))throw K1=u_,iN;n.flags|=8192}}function Zs(n,a){a!==null&&(n.flags|=4),n.flags&16384&&(a=n.tag!==22?Zt():536870912,n.lanes|=a,_y|=a)}function Ws(n,a){if(!Zn)switch(n.tailMode){case"hidden":a=n.tail;for(var s=null;a!==null;)a.alternate!==null&&(s=a),a=a.sibling;s===null?n.tail=null:s.sibling=null;break;case"collapsed":s=n.tail;for(var g=null;s!==null;)s.alternate!==null&&(g=s),s=s.sibling;g===null?a||n.tail===null?n.tail=null:n.tail.sibling=null:g.sibling=null}}function ii(n){var a=n.alternate!==null&&n.alternate.child===n.child,s=0,g=0;if(a)if((n.mode&Cl)!==$i){for(var x=n.selfBaseDuration,A=n.child;A!==null;)s|=A.lanes|A.childLanes,g|=A.subtreeFlags&65011712,g|=A.flags&65011712,x+=A.treeBaseDuration,A=A.sibling;n.treeBaseDuration=x}else for(x=n.child;x!==null;)s|=x.lanes|x.childLanes,g|=x.subtreeFlags&65011712,g|=x.flags&65011712,x.return=n,x=x.sibling;else if((n.mode&Cl)!==$i){x=n.actualDuration,A=n.selfBaseDuration;for(var L=n.child;L!==null;)s|=L.lanes|L.childLanes,g|=L.subtreeFlags,g|=L.flags,x+=L.actualDuration,A+=L.treeBaseDuration,L=L.sibling;n.actualDuration=x,n.treeBaseDuration=A}else for(x=n.child;x!==null;)s|=x.lanes|x.childLanes,g|=x.subtreeFlags,g|=x.flags,x.return=n,x=x.sibling;return n.subtreeFlags|=g,n.childLanes=s,a}function Av(n,a,s){var g=a.pendingProps;switch(Ru(a),a.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ii(a),null;case 1:return ii(a),null;case 3:return s=a.stateNode,g=null,n!==null&&(g=n.memoizedState.cache),a.memoizedState.cache!==g&&(a.flags|=2048),Il(zr,a),Fe(a),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),(n===null||n.child===null)&&(Oc(a)?(sh(),Zr(a)):n===null||n.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,u0())),ii(a),null;case 26:return s=a.memoizedState,n===null?(Zr(a),s!==null?(ii(a),Oh(a,s)):(ii(a),a.flags&=-16777217)):s?s!==n.memoizedState?(Zr(a),ii(a),Oh(a,s)):(ii(a),a.flags&=-16777217):(n.memoizedProps!==g&&Zr(a),ii(a),a.flags&=-16777217),null;case 27:ve(a),s=Oe(_o.current);var x=a.type;if(n!==null&&a.stateNode!=null)n.memoizedProps!==g&&Zr(a);else{if(!g){if(a.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return ii(a),null}n=ee(),Oc(a)?o0(a):(n=V0(x,g,s,n,!0),a.stateNode=n,Zr(a))}return ii(a),null;case 5:if(ve(a),s=a.type,n!==null&&a.stateNode!=null)n.memoizedProps!==g&&Zr(a);else{if(!g){if(a.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return ii(a),null}if(x=ee(),Oc(a))o0(a);else{switch(n=Oe(_o.current),It(s,x.ancestorInfo),x=x.context,n=yn(n),x){case bb:n=n.createElementNS(kd,s);break;case $E:n=n.createElementNS(op,s);break;default:switch(s){case"svg":n=n.createElementNS(kd,s);break;case"math":n=n.createElementNS(op,s);break;case"script":n=n.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild);break;case"select":n=typeof g.is=="string"?n.createElement("select",{is:g.is}):n.createElement("select"),g.multiple?n.multiple=!0:g.size&&(n.size=g.size);break;default:n=typeof g.is=="string"?n.createElement(s,{is:g.is}):n.createElement(s),s.indexOf("-")===-1&&(s!==s.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",s),Object.prototype.toString.call(n)!=="[object HTMLUnknownElement]"||uu.call(dB,s)||(dB[s]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",s)))}}n[cr]=a,n[ll]=g;e:for(x=a.child;x!==null;){if(x.tag===5||x.tag===6)n.appendChild(x.stateNode);else if(x.tag!==4&&x.tag!==27&&x.child!==null){x.child.return=x,x=x.child;continue}if(x===a)break e;for(;x.sibling===null;){if(x.return===null||x.return===a)break e;x=x.return}x.sibling.return=x.return,x=x.sibling}a.stateNode=n;e:switch(Yi(n,s,g),s){case"button":case"input":case"select":case"textarea":n=!!g.autoFocus;break e;case"img":n=!0;break e;default:n=!1}n&&Zr(a)}}return ii(a),a.flags&=-16777217,null;case 6:if(n&&a.stateNode!=null)n.memoizedProps!==g&&Zr(a);else{if(typeof g!="string"&&a.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(n=Oe(_o.current),s=ee(),Oc(a)){n=a.stateNode,s=a.memoizedProps,x=!fp,g=null;var A=Mo;if(A!==null)switch(A.tag){case 3:x&&(x=Yg(n,s,g),x!==null&&(jl(a,0).serverProps=x));break;case 27:case 5:g=A.memoizedProps,x&&(x=Yg(n,s,g),x!==null&&(jl(a,0).serverProps=x))}n[cr]=a,n=!!(n.nodeValue===s||g!==null&&g.suppressHydrationWarning===!0||L0(n.nodeValue,s)),n||es(a)}else x=s.ancestorInfo.current,x!=null&&An(g,x.tag,s.ancestorInfo.implicitRootScope),n=yn(n).createTextNode(g),n[cr]=a,a.stateNode=n}return ii(a),null;case 13:if(g=a.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(x=Oc(a),g!==null&&g.dehydrated!==null){if(n===null){if(!x)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(x=a.memoizedState,x=x!==null?x.dehydrated:null,!x)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");x[cr]=a,ii(a),(a.mode&Cl)!==$i&&g!==null&&(x=a.child,x!==null&&(a.treeBaseDuration-=x.treeBaseDuration))}else sh(),Fl(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4,ii(a),(a.mode&Cl)!==$i&&g!==null&&(x=a.child,x!==null&&(a.treeBaseDuration-=x.treeBaseDuration));x=!1}else x=u0(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=x),x=!0;if(!x)return a.flags&256?(ar(a),a):(ar(a),null)}return ar(a),(a.flags&128)!==0?(a.lanes=s,(a.mode&Cl)!==$i&&Sn(a),a):(s=g!==null,n=n!==null&&n.memoizedState!==null,s&&(g=a.child,x=null,g.alternate!==null&&g.alternate.memoizedState!==null&&g.alternate.memoizedState.cachePool!==null&&(x=g.alternate.memoizedState.cachePool.pool),A=null,g.memoizedState!==null&&g.memoizedState.cachePool!==null&&(A=g.memoizedState.cachePool.pool),A!==x&&(g.flags|=2048)),s!==n&&s&&(a.child.flags|=8192),Zs(a,a.updateQueue),ii(a),(a.mode&Cl)!==$i&&s&&(n=a.child,n!==null&&(a.treeBaseDuration-=n.treeBaseDuration)),null);case 4:return Fe(a),n===null&&N0(a.stateNode.containerInfo),ii(a),null;case 10:return Il(a.type,a),ii(a),null;case 19:if(ce(Hr,a),x=a.memoizedState,x===null)return ii(a),null;if(g=(a.flags&128)!==0,A=x.rendering,A===null)if(g)Ws(x,!1);else{if(Ma!==gp||n!==null&&(n.flags&128)!==0)for(n=a.child;n!==null;){if(A=wr(n),A!==null){for(a.flags|=128,Ws(x,!1),n=A.updateQueue,a.updateQueue=n,Zs(a,n),a.subtreeFlags=0,n=s,s=a.child;s!==null;)rh(s,n),s=s.sibling;return be(Hr,Hr.current&sb|nx,a),a.child}n=n.sibling}x.tail!==null&&wo()>zE&&(a.flags|=128,g=!0,Ws(x,!1),a.lanes=4194304)}else{if(!g)if(n=wr(A),n!==null){if(a.flags|=128,g=!0,n=n.updateQueue,a.updateQueue=n,Zs(a,n),Ws(x,!0),x.tail===null&&x.tailMode==="hidden"&&!A.alternate&&!Zn)return ii(a),null}else 2*wo()-x.renderingStartTime>zE&&s!==536870912&&(a.flags|=128,g=!0,Ws(x,!1),a.lanes=4194304);x.isBackwards?(A.sibling=a.child,a.child=A):(n=x.last,n!==null?n.sibling=A:a.child=A,x.last=A)}return x.tail!==null?(n=x.tail,x.rendering=n,x.tail=n.sibling,x.renderingStartTime=wo(),n.sibling=null,s=Hr.current,s=g?s&sb|nx:s&sb,be(Hr,s,a),n):(ii(a),null);case 22:case 23:return ar(a),za(a),g=a.memoizedState!==null,n!==null?n.memoizedState!==null!==g&&(a.flags|=8192):g&&(a.flags|=8192),g?(s&536870912)!==0&&(a.flags&128)===0&&(ii(a),a.subtreeFlags&6&&(a.flags|=8192)):ii(a),s=a.updateQueue,s!==null&&Zs(a,s.retryQueue),s=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(s=n.memoizedState.cachePool.pool),g=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(g=a.memoizedState.cachePool.pool),g!==s&&(a.flags|=2048),n!==null&&ce(xy,a),null;case 24:return s=null,n!==null&&(s=n.memoizedState.cache),a.memoizedState.cache!==s&&(a.flags|=2048),Il(zr,a),ii(a),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+a.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function bl(n,a){switch(Ru(a),a.tag){case 1:return n=a.flags,n&65536?(a.flags=n&-65537|128,(a.mode&Cl)!==$i&&Sn(a),a):null;case 3:return Il(zr,a),Fe(a),n=a.flags,(n&65536)!==0&&(n&128)===0?(a.flags=n&-65537|128,a):null;case 26:case 27:case 5:return ve(a),null;case 13:if(ar(a),n=a.memoizedState,n!==null&&n.dehydrated!==null){if(a.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Fl()}return n=a.flags,n&65536?(a.flags=n&-65537|128,(a.mode&Cl)!==$i&&Sn(a),a):null;case 19:return ce(Hr,a),null;case 4:return Fe(a),null;case 10:return Il(a.type,a),null;case 22:case 23:return ar(a),za(a),n!==null&&ce(xy,a),n=a.flags,n&65536?(a.flags=n&-65537|128,(a.mode&Cl)!==$i&&Sn(a),a):null;case 24:return Il(zr,a),null;case 25:return null;default:return null}}function A0(n,a){switch(Ru(a),a.tag){case 3:Il(zr,a),Fe(a);break;case 26:case 27:case 5:ve(a);break;case 4:Fe(a);break;case 13:ar(a);break;case 19:ce(Hr,a);break;case 10:Il(a.type,a);break;case 22:case 23:ar(a),za(a),n!==null&&ce(xy,a);break;case 24:Il(zr,a)}}function Wr(n){return(n.mode&Cl)!==$i}function Rh(n,a){Wr(n)?(Jn(),Hu(a,n),Vt()):Hu(a,n)}function Mh(n,a,s){Wr(n)?(Jn(),pa(s,n,a),Vt()):pa(s,n,a)}function Hu(n,a){try{var s=a.updateQueue,g=s!==null?s.lastEffect:null;if(g!==null){var x=g.next;s=x;do{if((s.tag&n)===n&&((n&Ur)!==uc?ct!==null&&typeof ct.markComponentPassiveEffectMountStarted=="function"&&ct.markComponentPassiveEffectMountStarted(a):(n&_l)!==uc&&ct!==null&&typeof ct.markComponentLayoutEffectMountStarted=="function"&&ct.markComponentLayoutEffectMountStarted(a),g=void 0,(n&No)!==uc&&(yb=!0),g=ft(a,Sq,s),(n&No)!==uc&&(yb=!1),(n&Ur)!==uc?ct!==null&&typeof ct.markComponentPassiveEffectMountStopped=="function"&&ct.markComponentPassiveEffectMountStopped():(n&_l)!==uc&&ct!==null&&typeof ct.markComponentLayoutEffectMountStopped=="function"&&ct.markComponentLayoutEffectMountStopped(),g!==void 0&&typeof g!="function")){var A=void 0;A=(s.tag&_l)!==0?"useLayoutEffect":(s.tag&No)!==0?"useInsertionEffect":"useEffect";var L=void 0;L=g===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof g.then=="function"?`
|
|
293
|
+
|
|
294
|
+
It looks like you wrote `+A+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
295
|
+
|
|
296
|
+
`+A+`(() => {
|
|
297
|
+
async function fetchData() {
|
|
298
|
+
// You can await here
|
|
299
|
+
const response = await MyAPI.getData(someId);
|
|
300
|
+
// ...
|
|
301
|
+
}
|
|
302
|
+
fetchData();
|
|
303
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
304
|
+
|
|
305
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+g,ft(a,function(F,Q){console.error("%s must not return anything besides a function, which is used for clean-up.%s",F,Q)},A,L)}s=s.next}while(s!==x)}}catch(F){_t(a,a.return,F)}}function pa(n,a,s){try{var g=a.updateQueue,x=g!==null?g.lastEffect:null;if(x!==null){var A=x.next;g=A;do{if((g.tag&n)===n){var L=g.inst,F=L.destroy;F!==void 0&&(L.destroy=void 0,(n&Ur)!==uc?ct!==null&&typeof ct.markComponentPassiveEffectUnmountStarted=="function"&&ct.markComponentPassiveEffectUnmountStarted(a):(n&_l)!==uc&&ct!==null&&typeof ct.markComponentLayoutEffectUnmountStarted=="function"&&ct.markComponentLayoutEffectUnmountStarted(a),(n&No)!==uc&&(yb=!0),x=a,ft(x,Eq,x,s,F),(n&No)!==uc&&(yb=!1),(n&Ur)!==uc?ct!==null&&typeof ct.markComponentPassiveEffectUnmountStopped=="function"&&ct.markComponentPassiveEffectUnmountStopped():(n&_l)!==uc&&ct!==null&&typeof ct.markComponentLayoutEffectUnmountStopped=="function"&&ct.markComponentLayoutEffectUnmountStopped())}g=g.next}while(g!==A)}}catch(Q){_t(a,a.return,Q)}}function us(n,a){Wr(n)?(Jn(),Hu(a,n),Vt()):Hu(a,n)}function Ic(n,a,s){Wr(n)?(Jn(),pa(s,n,a),Vt()):pa(s,n,a)}function xg(n){var a=n.updateQueue;if(a!==null){var s=n.stateNode;n.type.defaultProps||"ref"in n.memoizedProps||cb||(s.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",W(n)||"instance"),s.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",W(n)||"instance"));try{ft(n,dh,a,s)}catch(g){_t(n,n.return,g)}}}function Nh(n,a,s){return n.getSnapshotBeforeUpdate(a,s)}function Tv(n,a){var s=a.memoizedProps,g=a.memoizedState;a=n.stateNode,n.type.defaultProps||"ref"in n.memoizedProps||cb||(a.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",W(n)||"instance"),a.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",W(n)||"instance"));try{var x=Uu(n.type,s,n.elementType===n.type),A=ft(n,Nh,a,x,g);s=$N,A!==void 0||s.has(n.type)||(s.add(n.type),ft(n,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",W(n))})),a.__reactInternalSnapshotBeforeUpdate=A}catch(L){_t(n,n.return,L)}}function rd(n,a,s){s.props=Uu(n.type,n.memoizedProps),s.state=n.memoizedState,Wr(n)?(Jn(),ft(n,SN,n,a,s),Vt()):ft(n,SN,n,a,s)}function T0(n){var a=n.ref;if(a!==null){switch(n.tag){case 26:case 27:case 5:var s=n.stateNode;break;case 30:s=n.stateNode;break;default:s=n.stateNode}if(typeof a=="function")if(Wr(n))try{Jn(),n.refCleanup=a(s)}finally{Vt()}else n.refCleanup=a(s);else typeof a=="string"?console.error("String refs are no longer supported."):a.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",W(n)),a.current=s}}function ju(n,a){try{ft(n,T0,n)}catch(s){_t(n,a,s)}}function Kr(n,a){var s=n.ref,g=n.refCleanup;if(s!==null)if(typeof g=="function")try{if(Wr(n))try{Jn(),ft(n,g)}finally{Vt(n)}else ft(n,g)}catch(x){_t(n,a,x)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof s=="function")try{if(Wr(n))try{Jn(),ft(n,s,null)}finally{Vt(n)}else ft(n,s,null)}catch(x){_t(n,a,x)}else s.current=null}function cs(n,a,s,g){var x=n.memoizedProps,A=x.id,L=x.onCommit;x=x.onRender,a=a===null?"mount":"update",TE&&(a="nested-update"),typeof x=="function"&&x(A,a,n.actualDuration,n.treeBaseDuration,n.actualStartTime,s),typeof L=="function"&&L(n.memoizedProps.id,a,g,s)}function Cv(n,a,s,g){var x=n.memoizedProps;n=x.id,x=x.onPostCommit,a=a===null?"mount":"update",TE&&(a="nested-update"),typeof x=="function"&&x(n,a,g,s)}function Ks(n){var a=n.type,s=n.memoizedProps,g=n.stateNode;try{ft(n,ru,g,a,s,n)}catch(x){_t(n,n.return,x)}}function Sg(n,a,s){try{ft(n,Gi,n.stateNode,n.type,s,a,n)}catch(g){_t(n,n.return,g)}}function Eg(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&Ss(n.type)||n.tag===4}function Js(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||Eg(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.tag===27&&Ss(n.type)||n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function Bh(n,a,s){var g=n.tag;if(g===5||g===6)n=n.stateNode,a?(s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s).insertBefore(n,a):(a=s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s,a.appendChild(n),s=s._reactRootContainer,s!=null||a.onclick!==null||(a.onclick=au));else if(g!==4&&(g===27&&Ss(n.type)&&(s=n.stateNode,a=null),n=n.child,n!==null))for(Bh(n,a,s),n=n.sibling;n!==null;)Bh(n,a,s),n=n.sibling}function Pc(n,a,s){var g=n.tag;if(g===5||g===6)n=n.stateNode,a?s.insertBefore(n,a):s.appendChild(n);else if(g!==4&&(g===27&&Ss(n.type)&&(s=n.stateNode),n=n.child,n!==null))for(Pc(n,a,s),n=n.sibling;n!==null;)Pc(n,a,s),n=n.sibling}function _v(n){for(var a,s=n.return;s!==null;){if(Eg(s)){a=s;break}s=s.return}if(a==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(a.tag){case 27:a=a.stateNode,s=Js(n),Pc(n,s,a);break;case 5:s=a.stateNode,a.flags&32&&(lu(s),a.flags&=-33),a=Js(n),Pc(n,a,s);break;case 3:case 4:a=a.stateNode.containerInfo,s=Js(n),Bh(n,s,a);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Ag(n){var a=n.stateNode,s=n.memoizedProps;try{ft(n,Sl,n.type,s,a,n)}catch(g){_t(n,n.return,g)}}function Lh(n,a){if(n=n.containerInfo,q_=KE,n=hl(n),n0(n)){if("selectionStart"in n)var s={start:n.selectionStart,end:n.selectionEnd};else e:{s=(s=n.ownerDocument)&&s.defaultView||window;var g=s.getSelection&&s.getSelection();if(g&&g.rangeCount!==0){s=g.anchorNode;var x=g.anchorOffset,A=g.focusNode;g=g.focusOffset;try{s.nodeType,A.nodeType}catch{s=null;break e}var L=0,F=-1,Q=-1,J=0,Be=0,je=n,Me=null;t:for(;;){for(var Ve;je!==s||x!==0&&je.nodeType!==3||(F=L+x),je!==A||g!==0&&je.nodeType!==3||(Q=L+g),je.nodeType===3&&(L+=je.nodeValue.length),(Ve=je.firstChild)!==null;)Me=je,je=Ve;for(;;){if(je===n)break t;if(Me===s&&++J===x&&(F=L),Me===A&&++Be===g&&(Q=L),(Ve=je.nextSibling)!==null)break;je=Me,Me=je.parentNode}je=Ve}s=F===-1||Q===-1?null:{start:F,end:Q}}else s=null}s=s||{start:0,end:0}}else s=null;for(V_={focusedElem:n,selectionRange:s},KE=!1,ul=a;ul!==null;)if(a=ul,n=a.child,(a.subtreeFlags&1024)!==0&&n!==null)n.return=a,ul=n;else for(;ul!==null;){switch(n=a=ul,s=n.alternate,x=n.flags,n.tag){case 0:break;case 11:case 15:break;case 1:(x&1024)!==0&&s!==null&&Tv(n,s);break;case 3:if((x&1024)!==0){if(n=n.stateNode.containerInfo,s=n.nodeType,s===9)Wc(n);else if(s===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":Wc(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((x&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(n=a.sibling,n!==null){n.return=a.return,ul=n;break}ul=a.return}}function C0(n,a,s){var g=s.flags;switch(s.tag){case 0:case 11:case 15:ds(n,s),g&4&&Rh(s,_l|cc);break;case 1:if(ds(n,s),g&4)if(n=s.stateNode,a===null)s.type.defaultProps||"ref"in s.memoizedProps||cb||(n.props!==s.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",W(s)||"instance"),n.state!==s.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",W(s)||"instance")),Wr(s)?(Jn(),ft(s,y_,s,n),Vt()):ft(s,y_,s,n);else{var x=Uu(s.type,a.memoizedProps);a=a.memoizedState,s.type.defaultProps||"ref"in s.memoizedProps||cb||(n.props!==s.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",W(s)||"instance"),n.state!==s.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",W(s)||"instance")),Wr(s)?(Jn(),ft(s,vN,s,n,x,a,n.__reactInternalSnapshotBeforeUpdate),Vt()):ft(s,vN,s,n,x,a,n.__reactInternalSnapshotBeforeUpdate)}g&64&&xg(s),g&512&&ju(s,s.return);break;case 3:if(a=er(),ds(n,s),g&64&&(g=s.updateQueue,g!==null)){if(x=null,s.child!==null)switch(s.child.tag){case 27:case 5:x=s.child.stateNode;break;case 1:x=s.child.stateNode}try{ft(s,dh,g,x)}catch(L){_t(s,s.return,L)}}n.effectDuration+=me(a);break;case 27:a===null&&g&4&&Ag(s);case 26:case 5:ds(n,s),a===null&&g&4&&Ks(s),g&512&&ju(s,s.return);break;case 12:if(g&4){g=er(),ds(n,s),n=s.stateNode,n.effectDuration+=Pe(g);try{ft(s,cs,s,a,AE,n.effectDuration)}catch(L){_t(s,s.return,L)}}else ds(n,s);break;case 13:ds(n,s),g&4&&Dr(n,s),g&64&&(n=s.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(s=Fh.bind(null,s),vd(n,s))));break;case 22:if(g=s.memoizedState!==null||pp,!g){a=a!==null&&a.memoizedState!==null||Ya,x=pp;var A=Ya;pp=g,(Ya=a)&&!A?hs(n,s,(s.subtreeFlags&8772)!==0):ds(n,s),pp=x,Ya=A}break;case 30:break;default:ds(n,s)}}function Tg(n){var a=n.alternate;a!==null&&(n.alternate=null,Tg(a)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(a=n.stateNode,a!==null&&ni(a)),n.stateNode=null,n._debugOwner=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}function fs(n,a,s){for(s=s.child;s!==null;)ca(n,a,s),s=s.sibling}function ca(n,a,s){if(qa&&typeof qa.onCommitFiberUnmount=="function")try{qa.onCommitFiberUnmount(ec,s)}catch(A){rl||(rl=!0,console.error("React instrumentation encountered an error: %s",A))}switch(s.tag){case 26:Ya||Kr(s,a),fs(n,a,s),s.memoizedState?s.memoizedState.count--:s.stateNode&&(s=s.stateNode,s.parentNode.removeChild(s));break;case 27:Ya||Kr(s,a);var g=dr,x=Rs;Ss(s.type)&&(dr=s.stateNode,Rs=!1),fs(n,a,s),ft(s,bd,s.stateNode),dr=g,Rs=x;break;case 5:Ya||Kr(s,a);case 6:if(g=dr,x=Rs,dr=null,fs(n,a,s),dr=g,Rs=x,dr!==null)if(Rs)try{ft(s,gd,dr,s.stateNode)}catch(A){_t(s,a,A)}else try{ft(s,eo,dr,s.stateNode)}catch(A){_t(s,a,A)}break;case 18:dr!==null&&(Rs?(n=dr,md(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,s.stateNode),Ku(n)):md(dr,s.stateNode));break;case 4:g=dr,x=Rs,dr=s.stateNode.containerInfo,Rs=!0,fs(n,a,s),dr=g,Rs=x;break;case 0:case 11:case 14:case 15:Ya||pa(No,s,a),Ya||Mh(s,a,_l),fs(n,a,s);break;case 1:Ya||(Kr(s,a),g=s.stateNode,typeof g.componentWillUnmount=="function"&&rd(s,a,g)),fs(n,a,s);break;case 21:fs(n,a,s);break;case 22:Ya=(g=Ya)||s.memoizedState!==null,fs(n,a,s),Ya=g;break;default:fs(n,a,s)}}function Dr(n,a){if(a.memoizedState===null&&(n=a.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{ft(a,sr,n)}catch(s){_t(a,a.return,s)}}function Cg(n){switch(n.tag){case 13:case 19:var a=n.stateNode;return a===null&&(a=n.stateNode=new QN),a;case 22:return n=n.stateNode,a=n._retryCache,a===null&&(a=n._retryCache=new QN),a;default:throw Error("Unexpected Suspense handler tag ("+n.tag+"). This is a bug in React.")}}function qc(n,a){var s=Cg(n);a.forEach(function(g){var x=Yu.bind(null,n,g);if(!s.has(g)){if(s.add(g),zi)if(fb!==null&&db!==null)Gu(db,fb);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");g.then(x,x)}})}function ga(n,a){var s=a.deletions;if(s!==null)for(var g=0;g<s.length;g++){var x=n,A=a,L=s[g],F=A;e:for(;F!==null;){switch(F.tag){case 27:if(Ss(F.type)){dr=F.stateNode,Rs=!1;break e}break;case 5:dr=F.stateNode,Rs=!1;break e;case 3:case 4:dr=F.stateNode.containerInfo,Rs=!0;break e}F=F.return}if(dr===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");ca(x,A,L),dr=null,Rs=!1,x=L,A=x.alternate,A!==null&&(A.return=null),x.return=null}if(a.subtreeFlags&13878)for(a=a.child;a!==null;)Fu(a,n),a=a.sibling}function Fu(n,a){var s=n.alternate,g=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:ga(a,n),Or(n),g&4&&(pa(No|cc,n,n.return),Hu(No|cc,n),Mh(n,n.return,_l|cc));break;case 1:ga(a,n),Or(n),g&512&&(Ya||s===null||Kr(s,s.return)),g&64&&pp&&(n=n.updateQueue,n!==null&&(g=n.callbacks,g!==null&&(s=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=s===null?g:s.concat(g))));break;case 26:var x=mf;if(ga(a,n),Or(n),g&512&&(Ya||s===null||Kr(s,s.return)),g&4)if(a=s!==null?s.memoizedState:null,g=n.memoizedState,s===null)if(g===null)if(n.stateNode===null){e:{g=n.type,s=n.memoizedProps,a=x.ownerDocument||x;t:switch(g){case"title":x=a.getElementsByTagName("title")[0],(!x||x[Md]||x[cr]||x.namespaceURI===kd||x.hasAttribute("itemprop"))&&(x=a.createElement(g),a.head.insertBefore(x,a.querySelector("head > title"))),Yi(x,g,s),x[cr]=n,Ai(x),g=x;break e;case"link":var A=Qg("link","href",a).get(g+(s.href||""));if(A){for(var L=0;L<A.length;L++)if(x=A[L],x.getAttribute("href")===(s.href==null||s.href===""?null:s.href)&&x.getAttribute("rel")===(s.rel==null?null:s.rel)&&x.getAttribute("title")===(s.title==null?null:s.title)&&x.getAttribute("crossorigin")===(s.crossOrigin==null?null:s.crossOrigin)){A.splice(L,1);break t}}x=a.createElement(g),Yi(x,g,s),a.head.appendChild(x);break;case"meta":if(A=Qg("meta","content",a).get(g+(s.content||""))){for(L=0;L<A.length;L++)if(x=A[L],Re(s.content,"content"),x.getAttribute("content")===(s.content==null?null:""+s.content)&&x.getAttribute("name")===(s.name==null?null:s.name)&&x.getAttribute("property")===(s.property==null?null:s.property)&&x.getAttribute("http-equiv")===(s.httpEquiv==null?null:s.httpEquiv)&&x.getAttribute("charset")===(s.charSet==null?null:s.charSet)){A.splice(L,1);break t}}x=a.createElement(g),Yi(x,g,s),a.head.appendChild(x);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+g+'". This is a bug in React.')}x[cr]=n,Ai(x),g=x}n.stateNode=g}else X0(x,n.type,n.stateNode);else n.stateNode=Gg(x,g,n.memoizedProps);else a!==g?(a===null?s.stateNode!==null&&(s=s.stateNode,s.parentNode.removeChild(s)):a.count--,g===null?X0(x,n.type,n.stateNode):Gg(x,g,n.memoizedProps)):g===null&&n.stateNode!==null&&Sg(n,n.memoizedProps,s.memoizedProps);break;case 27:ga(a,n),Or(n),g&512&&(Ya||s===null||Kr(s,s.return)),s!==null&&g&4&&Sg(n,n.memoizedProps,s.memoizedProps);break;case 5:if(ga(a,n),Or(n),g&512&&(Ya||s===null||Kr(s,s.return)),n.flags&32){a=n.stateNode;try{ft(n,lu,a)}catch(Be){_t(n,n.return,Be)}}g&4&&n.stateNode!=null&&(a=n.memoizedProps,Sg(n,a,s!==null?s.memoizedProps:a)),g&1024&&(T_=!0,n.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(ga(a,n),Or(n),g&4){if(n.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");g=n.memoizedProps,s=s!==null?s.memoizedProps:g,a=n.stateNode;try{ft(n,Zc,a,s,g)}catch(Be){_t(n,n.return,Be)}}break;case 3:if(x=er(),QE=null,A=mf,mf=Ph(a.containerInfo),ga(a,n),mf=A,Or(n),g&4&&s!==null&&s.memoizedState.isDehydrated)try{ft(n,q0,a.containerInfo)}catch(Be){_t(n,n.return,Be)}T_&&(T_=!1,Iu(n)),a.effectDuration+=me(x);break;case 4:g=mf,mf=Ph(n.stateNode.containerInfo),ga(a,n),Or(n),mf=g;break;case 12:g=er(),ga(a,n),Or(n),n.stateNode.effectDuration+=Pe(g);break;case 13:ga(a,n),Or(n),n.child.flags&8192&&n.memoizedState!==null!=(s!==null&&s.memoizedState!==null)&&(R_=wo()),g&4&&(g=n.updateQueue,g!==null&&(n.updateQueue=null,qc(n,g)));break;case 22:x=n.memoizedState!==null;var F=s!==null&&s.memoizedState!==null,Q=pp,J=Ya;if(pp=Q||x,Ya=J||F,ga(a,n),Ya=J,pp=Q,Or(n),g&8192)e:for(a=n.stateNode,a._visibility=x?a._visibility&-2:a._visibility|i_,x&&(s===null||F||pp||Ya||ia(n)),s=null,a=n;;){if(a.tag===5||a.tag===26){if(s===null){F=s=a;try{A=F.stateNode,x?ft(F,il,A):ft(F,I0,F.stateNode,F.memoizedProps)}catch(Be){_t(F,F.return,Be)}}}else if(a.tag===6){if(s===null){F=a;try{L=F.stateNode,x?ft(F,F0,L):ft(F,yd,L,F.memoizedProps)}catch(Be){_t(F,F.return,Be)}}}else if((a.tag!==22&&a.tag!==23||a.memoizedState===null||a===n)&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===n)break e;for(;a.sibling===null;){if(a.return===null||a.return===n)break e;s===a&&(s=null),a=a.return}s===a&&(s=null),a.sibling.return=a.return,a=a.sibling}g&4&&(g=n.updateQueue,g!==null&&(s=g.retryQueue,s!==null&&(g.retryQueue=null,qc(n,s))));break;case 19:ga(a,n),Or(n),g&4&&(g=n.updateQueue,g!==null&&(n.updateQueue=null,qc(n,g)));break;case 30:break;case 21:break;default:ga(a,n),Or(n)}}function Or(n){var a=n.flags;if(a&2){try{ft(n,_v,n)}catch(s){_t(n,n.return,s)}n.flags&=-3}a&4096&&(n.flags&=-4097)}function Iu(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var a=n;Iu(a),a.tag===5&&a.flags&1024&&a.stateNode.reset(),n=n.sibling}}function ds(n,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)C0(n,a.alternate,a),a=a.sibling}function Jr(n){switch(n.tag){case 0:case 11:case 14:case 15:Mh(n,n.return,_l),ia(n);break;case 1:Kr(n,n.return);var a=n.stateNode;typeof a.componentWillUnmount=="function"&&rd(n,n.return,a),ia(n);break;case 27:ft(n,bd,n.stateNode);case 26:case 5:Kr(n,n.return),ia(n);break;case 22:n.memoizedState===null&&ia(n);break;case 30:ia(n);break;default:ia(n)}}function ia(n){for(n=n.child;n!==null;)Jr(n),n=n.sibling}function xl(n,a,s,g){var x=s.flags;switch(s.tag){case 0:case 11:case 15:hs(n,s,g),Rh(s,_l);break;case 1:if(hs(n,s,g),a=s.stateNode,typeof a.componentDidMount=="function"&&ft(s,y_,s,a),a=s.updateQueue,a!==null){n=s.stateNode;try{ft(s,Nc,a,n)}catch(A){_t(s,s.return,A)}}g&&x&64&&xg(s),ju(s,s.return);break;case 27:Ag(s);case 26:case 5:hs(n,s,g),g&&a===null&&x&4&&Ks(s),ju(s,s.return);break;case 12:if(g&&x&4){x=er(),hs(n,s,g),g=s.stateNode,g.effectDuration+=Pe(x);try{ft(s,cs,s,a,AE,g.effectDuration)}catch(A){_t(s,s.return,A)}}else hs(n,s,g);break;case 13:hs(n,s,g),g&&x&4&&Dr(n,s);break;case 22:s.memoizedState===null&&hs(n,s,g),ju(s,s.return);break;case 30:break;default:hs(n,s,g)}}function hs(n,a,s){for(s=s&&(a.subtreeFlags&8772)!==0,a=a.child;a!==null;)xl(n,a.alternate,a,s),a=a.sibling}function xo(n,a){var s=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(s=n.memoizedState.cachePool.pool),n=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(n=a.memoizedState.cachePool.pool),n!==s&&(n!=null&&Rc(n),s!=null&&ts(s))}function Zl(n,a){n=null,a.alternate!==null&&(n=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==n&&(Rc(a),n!=null&&ts(n))}function Pn(n,a,s,g){if(a.subtreeFlags&10256)for(a=a.child;a!==null;)ld(n,a,s,g),a=a.sibling}function ld(n,a,s,g){var x=a.flags;switch(a.tag){case 0:case 11:case 15:Pn(n,a,s,g),x&2048&&us(a,Ur|cc);break;case 1:Pn(n,a,s,g);break;case 3:var A=er();Pn(n,a,s,g),x&2048&&(s=null,a.alternate!==null&&(s=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==s&&(Rc(a),s!=null&&ts(s))),n.passiveEffectDuration+=me(A);break;case 12:if(x&2048){x=er(),Pn(n,a,s,g),n=a.stateNode,n.passiveEffectDuration+=Pe(x);try{ft(a,Cv,a,a.alternate,AE,n.passiveEffectDuration)}catch(F){_t(a,a.return,F)}}else Pn(n,a,s,g);break;case 13:Pn(n,a,s,g);break;case 23:break;case 22:A=a.stateNode;var L=a.alternate;a.memoizedState!==null?A._visibility&gy?Pn(n,a,s,g):eu(n,a):A._visibility&gy?Pn(n,a,s,g):(A._visibility|=gy,So(n,a,s,g,(a.subtreeFlags&10256)!==0)),x&2048&&xo(L,a);break;case 24:Pn(n,a,s,g),x&2048&&Zl(a.alternate,a);break;default:Pn(n,a,s,g)}}function So(n,a,s,g,x){for(x=x&&(a.subtreeFlags&10256)!==0,a=a.child;a!==null;)od(n,a,s,g,x),a=a.sibling}function od(n,a,s,g,x){var A=a.flags;switch(a.tag){case 0:case 11:case 15:So(n,a,s,g,x),us(a,Ur);break;case 23:break;case 22:var L=a.stateNode;a.memoizedState!==null?L._visibility&gy?So(n,a,s,g,x):eu(n,a):(L._visibility|=gy,So(n,a,s,g,x)),x&&A&2048&&xo(a.alternate,a);break;case 24:So(n,a,s,g,x),x&&A&2048&&Zl(a.alternate,a);break;default:So(n,a,s,g,x)}}function eu(n,a){if(a.subtreeFlags&10256)for(a=a.child;a!==null;){var s=n,g=a,x=g.flags;switch(g.tag){case 22:eu(s,g),x&2048&&xo(g.alternate,g);break;case 24:eu(s,g),x&2048&&Zl(g.alternate,g);break;default:eu(s,g)}a=a.sibling}}function Vc(n){if(n.subtreeFlags&ix)for(n=n.child;n!==null;)tu(n),n=n.sibling}function tu(n){switch(n.tag){case 26:Vc(n),n.flags&ix&&n.memoizedState!==null&&Vh(mf,n.memoizedState,n.memoizedProps);break;case 5:Vc(n);break;case 3:case 4:var a=mf;mf=Ph(n.stateNode.containerInfo),Vc(n),mf=a;break;case 22:n.memoizedState===null&&(a=n.alternate,a!==null&&a.memoizedState!==null?(a=ix,ix=16777216,Vc(n),ix=a):Vc(n));break;default:Vc(n)}}function Pu(n){var a=n.alternate;if(a!==null&&(n=a.child,n!==null)){a.child=null;do a=n.sibling,n.sibling=null,n=a;while(n!==null)}}function Yc(n){var a=n.deletions;if((n.flags&16)!==0){if(a!==null)for(var s=0;s<a.length;s++){var g=a[s];ul=g,Eo(g,n)}Pu(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)kh(n),n=n.sibling}function kh(n){switch(n.tag){case 0:case 11:case 15:Yc(n),n.flags&2048&&Ic(n,n.return,Ur|cc);break;case 3:var a=er();Yc(n),n.stateNode.passiveEffectDuration+=me(a);break;case 12:a=er(),Yc(n),n.stateNode.passiveEffectDuration+=Pe(a);break;case 22:a=n.stateNode,n.memoizedState!==null&&a._visibility&gy&&(n.return===null||n.return.tag!==13)?(a._visibility&=-3,zh(n)):Yc(n);break;default:Yc(n)}}function zh(n){var a=n.deletions;if((n.flags&16)!==0){if(a!==null)for(var s=0;s<a.length;s++){var g=a[s];ul=g,Eo(g,n)}Pu(n)}for(n=n.child;n!==null;)sd(n),n=n.sibling}function sd(n){switch(n.tag){case 0:case 11:case 15:Ic(n,n.return,Ur),zh(n);break;case 22:var a=n.stateNode;a._visibility&gy&&(a._visibility&=-3,zh(n));break;default:zh(n)}}function Eo(n,a){for(;ul!==null;){var s=ul,g=s;switch(g.tag){case 0:case 11:case 15:Ic(g,a,Ur);break;case 23:case 22:g.memoizedState!==null&&g.memoizedState.cachePool!==null&&(g=g.memoizedState.cachePool.pool,g!=null&&Rc(g));break;case 24:ts(g.memoizedState.cache)}if(g=s.child,g!==null)g.return=s,ul=g;else e:for(s=n;ul!==null;){g=ul;var x=g.sibling,A=g.return;if(Tg(g),g===s){ul=null;break e}if(x!==null){x.return=A,ul=x;break e}ul=A}}}function _g(){Tq.forEach(function(n){return n()})}function wg(){var n=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return n||ze.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),n}function el(n){if((hi&Bo)!==pu&&Bn!==0)return Bn&-Bn;var a=ze.T;return a!==null?(a._updatedFibers||(a._updatedFibers=new Set),a._updatedFibers.add(n),n=by,n!==0?n:O0()):On()}function _0(){mu===0&&(mu=(Bn&536870912)===0||Zn?wn():536870912);var n=dc.current;return n!==null&&(n.flags|=32),mu}function Vi(n,a,s){if(yb&&console.error("useInsertionEffect must not schedule updates."),k_&&(UE=!0),(n===Ui&&(Si===Ty||Si===Cy)||n.cancelPendingCommit!==null)&&(Wl(n,0),Ao(n,Bn,mu,!1)),Dn(n,s),(hi&Bo)!==0&&n===Ui){if(Lr)switch(a.tag){case 0:case 11:case 15:n=_n&&W(_n)||"Unknown",rB.has(n)||(rB.add(n),a=W(a)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",a,n,n));break;case 1:aB||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),aB=!0)}}else zi&&xt(n,a,s),dd(a),n===Ui&&((hi&Bo)===pu&&(Sm|=s),Ma===Ay&&Ao(n,Bn,mu,!1)),tl(n)}function ma(n,a,s){if((hi&(Bo|yf))!==pu)throw Error("Should not already be working.");var g=!s&&(a&124)===0&&(a&n.expiredLanes)===0||oa(n,a),x=g?Rg(n,a):Og(n,a,!0),A=g;do{if(x===gp){gb&&!g&&Ao(n,a,0,!1);break}else{if(s=n.current.alternate,A&&!Dg(s)){x=Og(n,a,!1),A=!1;continue}if(x===hb){if(A=a,n.errorRecoveryDisabledLanes&A)var L=0;else L=n.pendingLanes&-536870913,L=L!==0?L:L&536870912?536870912:0;if(L!==0){a=L;e:{x=n;var F=L;L=ux;var Q=x.current.memoizedState.isDehydrated;if(Q&&(Wl(x,F).flags|=256),F=Og(x,F,!1),F!==hb){if(D_&&!Q){x.errorRecoveryDisabledLanes|=A,Sm|=A,x=Ay;break e}x=Lo,Lo=L,x!==null&&(Lo===null?Lo=x:Lo.push.apply(Lo,x))}x=F}if(A=!1,x!==hb)continue}}if(x===rx){Wl(n,0),Ao(n,a,0,!0);break}e:{switch(g=n,x){case gp:case rx:throw Error("Root did not complete. This is a bug in React.");case Ay:if((a&4194048)!==a)break;case LE:Ao(g,a,mu,!bm);break e;case hb:Lo=null;break;case C_:case ZN:break;default:throw Error("Unknown root exit status.")}if(ze.actQueue!==null)Bg(g,s,a,Lo,cx,kE,mu,Sm,_y);else{if((a&62914560)===a&&(A=R_+KN-wo(),10<A)){if(Ao(g,a,mu,!bm),Ut(g,0,!0)!==0)break e;g.timeoutHandle=hB(xi.bind(null,g,s,Lo,cx,kE,a,mu,Sm,_y,bm,x,Dq,eN,0),A);break e}xi(g,s,Lo,cx,kE,a,mu,Sm,_y,bm,x,_q,eN,0)}}}break}while(!0);tl(n)}function xi(n,a,s,g,x,A,L,F,Q,J,Be,je,Me,Ve){if(n.timeoutHandle=My,je=a.subtreeFlags,(je&8192||(je&16785408)===16785408)&&(mx={stylesheets:null,count:0,unsuspend:Mv},tu(a),je=Nv(),je!==null)){n.cancelPendingCommit=je(Bg.bind(null,n,a,A,s,g,x,L,F,Q,Be,wq,Me,Ve)),Ao(n,A,L,!J);return}Bg(n,a,A,s,g,x,L,F,Q)}function Dg(n){for(var a=n;;){var s=a.tag;if((s===0||s===11||s===15)&&a.flags&16384&&(s=a.updateQueue,s!==null&&(s=s.stores,s!==null)))for(var g=0;g<s.length;g++){var x=s[g],A=x.getSnapshot;x=x.value;try{if(!$e(A(),x))return!1}catch{return!1}}if(s=a.child,a.subtreeFlags&16384&&s!==null)s.return=a,a=s;else{if(a===n)break;for(;a.sibling===null;){if(a.return===null||a.return===n)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function Ao(n,a,s,g){a&=~O_,a&=~Sm,n.suspendedLanes|=a,n.pingedLanes&=~a,g&&(n.warmLanes|=a),g=n.expirationTimes;for(var x=a;0<x;){var A=31-Bi(x),L=1<<A;g[A]=-1,x&=~L}s!==0&&Ba(n,s,a)}function nu(){return(hi&(Bo|yf))===pu?(Xu(0),!1):!0}function Gc(){if(_n!==null){if(Si===Ms)var n=_n.return;else n=_n,uh(),bi(n),lb=null,tx=0,n=_n;for(;n!==null;)A0(n.alternate,n),n=n.return;_n=null}}function Wl(n,a){var s=n.timeoutHandle;s!==My&&(n.timeoutHandle=My,Iq(s)),s=n.cancelPendingCommit,s!==null&&(n.cancelPendingCommit=null,s()),Gc(),Ui=n,_n=s=Ul(n.current,null),Bn=a,Si=Ms,gu=null,bm=!1,gb=oa(n,a),D_=!1,Ma=gp,_y=mu=O_=Sm=xm=0,Lo=ux=null,kE=!1,(a&8)!==0&&(a|=a&32);var g=n.entangledLanes;if(g!==0)for(n=n.entanglements,g&=a;0<g;){var x=31-Bi(g),A=1<<x;a|=n[x],g&=~A}return jd=a,zl(),a=K3(),1e3<a-W3&&(ze.recentlyCreatedOwnerStacks=0,W3=a),pf.discardPendingWarnings(),s}function Tt(n,a){Qt=null,ze.H=NE,ze.getCurrentStack=null,Lr=!1,Tl=null,a===W1||a===wE?(a=Jp(),Si=ox):a===iN?(a=Jp(),Si=WN):Si=a===IN?w_:a!==null&&typeof a=="object"&&typeof a.then=="function"?pb:lx,gu=a;var s=_n;if(s===null)Ma=rx,ss(n,xn(a,n.current));else switch(s.mode&Cl&&st(s),De(),Si){case lx:ct!==null&&typeof ct.markComponentErrored=="function"&&ct.markComponentErrored(s,a,Bn);break;case Ty:case Cy:case ox:case pb:case sx:ct!==null&&typeof ct.markComponentSuspended=="function"&&ct.markComponentSuspended(s,a,Bn)}}function Xc(){var n=ze.H;return ze.H=NE,n===null?NE:n}function Uh(){var n=ze.A;return ze.A=Aq,n}function ps(){Ma=Ay,bm||(Bn&4194048)!==Bn&&dc.current!==null||(gb=!0),(xm&134217727)===0&&(Sm&134217727)===0||Ui===null||Ao(Ui,Bn,mu,!1)}function Og(n,a,s){var g=hi;hi|=Bo;var x=Xc(),A=Uh();if(Ui!==n||Bn!==a){if(zi){var L=n.memoizedUpdaters;0<L.size&&(Gu(n,Bn),L.clear()),Ln(n,a)}cx=null,Wl(n,a)}nt(a),a=!1,L=Ma;e:do try{if(Si!==Ms&&_n!==null){var F=_n,Q=gu;switch(Si){case w_:Gc(),L=LE;break e;case ox:case Ty:case Cy:case pb:dc.current===null&&(a=!0);var J=Si;if(Si=Ms,gu=null,qu(n,F,Q,J),s&&gb){L=gp;break e}break;default:J=Si,Si=Ms,gu=null,qu(n,F,Q,J)}}ud(),L=Ma;break}catch(Be){Tt(n,Be)}while(!0);return a&&n.shellSuspendCounter++,uh(),hi=g,ze.H=x,ze.A=A,Ie(),_n===null&&(Ui=null,Bn=0,zl()),L}function ud(){for(;_n!==null;)w0(_n)}function Rg(n,a){var s=hi;hi|=Bo;var g=Xc(),x=Uh();if(Ui!==n||Bn!==a){if(zi){var A=n.memoizedUpdaters;0<A.size&&(Gu(n,Bn),A.clear()),Ln(n,a)}cx=null,zE=wo()+JN,Wl(n,a)}else gb=oa(n,a);nt(a);e:do try{if(Si!==Ms&&_n!==null)t:switch(a=_n,A=gu,Si){case lx:Si=Ms,gu=null,qu(n,a,A,lx);break;case Ty:case Cy:if(Pf(A)){Si=Ms,gu=null,Mg(a);break}a=function(){Si!==Ty&&Si!==Cy||Ui!==n||(Si=sx),tl(n)},A.then(a,a);break e;case ox:Si=sx;break e;case WN:Si=__;break e;case sx:Pf(A)?(Si=Ms,gu=null,Mg(a)):(Si=Ms,gu=null,qu(n,a,A,sx));break;case __:var L=null;switch(_n.tag){case 26:L=_n.memoizedState;case 5:case 27:var F=_n;if(!L||qh(L)){Si=Ms,gu=null;var Q=F.sibling;if(Q!==null)_n=Q;else{var J=F.return;J!==null?(_n=J,cd(J)):_n=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Si=Ms,gu=null,qu(n,a,A,__);break;case pb:Si=Ms,gu=null,qu(n,a,A,pb);break;case w_:Gc(),Ma=LE;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}ze.actQueue!==null?ud():_a();break}catch(Be){Tt(n,Be)}while(!0);return uh(),ze.H=g,ze.A=x,hi=s,_n!==null?(ct!==null&&typeof ct.markRenderYielded=="function"&&ct.markRenderYielded(),gp):(Ie(),Ui=null,Bn=0,zl(),Ma)}function _a(){for(;_n!==null&&!jv();)w0(_n)}function w0(n){var a=n.alternate;(n.mode&Cl)!==$i?(ke(n),a=ft(n,Xt,a,n,jd),st(n)):a=ft(n,Xt,a,n,jd),n.memoizedProps=n.pendingProps,a===null?cd(n):_n=a}function Mg(n){var a=ft(n,Hh,n);n.memoizedProps=n.pendingProps,a===null?cd(n):_n=a}function Hh(n){var a=n.alternate,s=(n.mode&Cl)!==$i;switch(s&&ke(n),n.tag){case 15:case 0:a=x0(a,n,n.pendingProps,n.type,void 0,Bn);break;case 11:a=x0(a,n,n.pendingProps,n.type.render,n.ref,Bn);break;case 5:bi(n);default:A0(a,n),n=_n=rh(n,jd),a=Xt(a,n,jd)}return s&&st(n),a}function qu(n,a,s,g){uh(),bi(a),lb=null,tx=0;var x=a.return;try{if(Ah(n,x,a,s,Bn)){Ma=rx,ss(n,xn(s,n.current)),_n=null;return}}catch(A){if(x!==null)throw _n=x,A;Ma=rx,ss(n,xn(s,n.current)),_n=null;return}a.flags&32768?(Zn||g===lx?n=!0:gb||(Bn&536870912)!==0?n=!1:(bm=n=!0,(g===Ty||g===Cy||g===ox||g===pb)&&(g=dc.current,g!==null&&g.tag===13&&(g.flags|=16384))),Ng(a,n)):cd(a)}function cd(n){var a=n;do{if((a.flags&32768)!==0){Ng(a,bm);return}var s=a.alternate;if(n=a.return,ke(a),s=ft(a,Av,s,a,jd),(a.mode&Cl)!==$i&&kt(a),s!==null){_n=s;return}if(a=a.sibling,a!==null){_n=a;return}_n=a=n}while(a!==null);Ma===gp&&(Ma=ZN)}function Ng(n,a){do{var s=bl(n.alternate,n);if(s!==null){s.flags&=32767,_n=s;return}if((n.mode&Cl)!==$i){kt(n),s=n.actualDuration;for(var g=n.child;g!==null;)s+=g.actualDuration,g=g.sibling;n.actualDuration=s}if(s=n.return,s!==null&&(s.flags|=32768,s.subtreeFlags=0,s.deletions=null),!a&&(n=n.sibling,n!==null)){_n=n;return}_n=n=s}while(n!==null);Ma=LE,_n=null}function Bg(n,a,s,g,x,A,L,F,Q){n.cancelPendingCommit=null;do Vu();while(wl!==wy);if(pf.flushLegacyContextWarning(),pf.flushPendingUnsafeLifecycleWarnings(),(hi&(Bo|yf))!==pu)throw Error("Should not already be working.");if(ct!==null&&typeof ct.markCommitStarted=="function"&&ct.markCommitStarted(s),a===null)Ke();else{if(s===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),a===n.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(A=a.lanes|a.childLanes,A|=a_,Oi(n,s,A,L,F,Q),n===Ui&&(_n=Ui=null,Bn=0),mb=a,Am=n,Tm=s,N_=A,B_=x,iB=g,(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,Hg(rf,function(){return jh(),null})):(n.callbackNode=null,n.callbackPriority=0),AE=tb(),g=(a.flags&13878)!==0,(a.subtreeFlags&13878)!==0||g){g=ze.T,ze.T=null,x=Ht.p,Ht.p=Va,L=hi,hi|=yf;try{Lh(n,a,s)}finally{hi=L,Ht.p=x,ze.T=g}}wl=eB,gs(),Kl(),lr()}}function gs(){if(wl===eB){wl=wy;var n=Am,a=mb,s=Tm,g=(a.flags&13878)!==0;if((a.subtreeFlags&13878)!==0||g){g=ze.T,ze.T=null;var x=Ht.p;Ht.p=Va;var A=hi;hi|=yf;try{fb=s,db=n,Fu(a,n),db=fb=null,s=V_;var L=hl(n.containerInfo),F=s.focusedElem,Q=s.selectionRange;if(L!==F&&F&&F.ownerDocument&&vv(F.ownerDocument.documentElement,F)){if(Q!==null&&n0(F)){var J=Q.start,Be=Q.end;if(Be===void 0&&(Be=J),"selectionStart"in F)F.selectionStart=J,F.selectionEnd=Math.min(Be,F.value.length);else{var je=F.ownerDocument||document,Me=je&&je.defaultView||window;if(Me.getSelection){var Ve=Me.getSelection(),gt=F.textContent.length,Ft=Math.min(Q.start,gt),Hi=Q.end===void 0?Ft:Math.min(Q.end,gt);!Ve.extend&&Ft>Hi&&(L=Hi,Hi=Ft,Ft=L);var zn=Sr(F,Ft),se=Sr(F,Hi);if(zn&&se&&(Ve.rangeCount!==1||Ve.anchorNode!==zn.node||Ve.anchorOffset!==zn.offset||Ve.focusNode!==se.node||Ve.focusOffset!==se.offset)){var ue=je.createRange();ue.setStart(zn.node,zn.offset),Ve.removeAllRanges(),Ft>Hi?(Ve.addRange(ue),Ve.extend(se.node,se.offset)):(ue.setEnd(se.node,se.offset),Ve.addRange(ue))}}}}for(je=[],Ve=F;Ve=Ve.parentNode;)Ve.nodeType===1&&je.push({element:Ve,left:Ve.scrollLeft,top:Ve.scrollTop});for(typeof F.focus=="function"&&F.focus(),F=0;F<je.length;F++){var pe=je[F];pe.element.scrollLeft=pe.left,pe.element.scrollTop=pe.top}}KE=!!q_,V_=q_=null}finally{hi=A,Ht.p=x,ze.T=g}}n.current=a,wl=tB}}function Kl(){if(wl===tB){wl=wy;var n=Am,a=mb,s=Tm,g=(a.flags&8772)!==0;if((a.subtreeFlags&8772)!==0||g){g=ze.T,ze.T=null;var x=Ht.p;Ht.p=Va;var A=hi;hi|=yf;try{ct!==null&&typeof ct.markLayoutEffectsStarted=="function"&&ct.markLayoutEffectsStarted(s),fb=s,db=n,C0(n,a.alternate,a),db=fb=null,ct!==null&&typeof ct.markLayoutEffectsStopped=="function"&&ct.markLayoutEffectsStopped()}finally{hi=A,Ht.p=x,ze.T=g}}wl=nB}}function lr(){if(wl===Oq||wl===nB){wl=wy,U1();var n=Am,a=mb,s=Tm,g=iB,x=(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0;x?wl=M_:(wl=wy,mb=Am=null,ms(n,n.pendingLanes),Dy=0,dx=null);var A=n.pendingLanes;if(A===0&&(Em=null),x||$c(n),x=bt(s),a=a.stateNode,qa&&typeof qa.onCommitFiberRoot=="function")try{var L=(a.current.flags&128)===128;switch(x){case Va:var F=wd;break;case Jt:F=Jh;break;case cu:F=rf;break;case tp:F=Pa;break;default:F=rf}qa.onCommitFiberRoot(ec,a,F,L)}catch(je){rl||(rl=!0,console.error("React instrumentation encountered an error: %s",je))}if(zi&&n.memoizedUpdaters.clear(),_g(),g!==null){L=ze.T,F=Ht.p,Ht.p=Va,ze.T=null;try{var Q=n.onRecoverableError;for(a=0;a<g.length;a++){var J=g[a],Be=Lg(J.stack);ft(J.source,Q,J.value,Be)}}finally{ze.T=L,Ht.p=F}}(Tm&3)!==0&&Vu(),tl(n),A=n.pendingLanes,(s&4194090)!==0&&(A&42)!==0?(CE=!0,n===L_?fx++:(fx=0,L_=n)):fx=0,Xu(0),Ke()}}function Lg(n){return n={componentStack:n},Object.defineProperty(n,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),n}function ms(n,a){(n.pooledCacheLanes&=a)===0&&(a=n.pooledCache,a!=null&&(n.pooledCache=null,ts(a)))}function Vu(n){return gs(),Kl(),lr(),jh()}function jh(){if(wl!==M_)return!1;var n=Am,a=N_;N_=0;var s=bt(Tm),g=cu>s?cu:s;s=ze.T;var x=Ht.p;try{Ht.p=g,ze.T=null,g=B_,B_=null;var A=Am,L=Tm;if(wl=wy,mb=Am=null,Tm=0,(hi&(Bo|yf))!==pu)throw Error("Cannot flush passive effects while already rendering.");k_=!0,UE=!1,ct!==null&&typeof ct.markPassiveEffectsStarted=="function"&&ct.markPassiveEffectsStarted(L);var F=hi;if(hi|=yf,kh(A.current),ld(A,A.current,L,g),ct!==null&&typeof ct.markPassiveEffectsStopped=="function"&&ct.markPassiveEffectsStopped(),$c(A),hi=F,Xu(0,!1),UE?A===dx?Dy++:(Dy=0,dx=A):Dy=0,UE=k_=!1,qa&&typeof qa.onPostCommitFiberRoot=="function")try{qa.onPostCommitFiberRoot(ec,A)}catch(J){rl||(rl=!0,console.error("React instrumentation encountered an error: %s",J))}var Q=A.current.stateNode;return Q.effectDuration=0,Q.passiveEffectDuration=0,!0}finally{Ht.p=x,ze.T=s,ms(n,a)}}function fd(n,a,s){a=xn(s,a),a=rr(n.stateNode,a,2),n=Vr(n,a,2),n!==null&&(Dn(n,2),tl(n))}function _t(n,a,s){if(yb=!1,n.tag===3)fd(n,n,s);else{for(;a!==null;){if(a.tag===3){fd(a,n,s);return}if(a.tag===1){var g=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof g.componentDidCatch=="function"&&(Em===null||!Em.has(g))){n=xn(s,n),s=qi(2),g=Vr(a,s,2),g!==null&&(Qs(s,g,a,n),Dn(g,2),tl(g));return}}a=a.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
306
|
+
|
|
307
|
+
Error message:
|
|
308
|
+
|
|
309
|
+
%s`,s)}}function kg(n,a,s){var g=n.pingCache;if(g===null){g=n.pingCache=new Cq;var x=new Set;g.set(a,x)}else x=g.get(a),x===void 0&&(x=new Set,g.set(a,x));x.has(s)||(D_=!0,x.add(s),g=wv.bind(null,n,a,s),zi&&Gu(n,s),a.then(g,g))}function wv(n,a,s){var g=n.pingCache;g!==null&&g.delete(a),n.pingedLanes|=n.suspendedLanes&s,n.warmLanes&=~s,wg()&&ze.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
310
|
+
|
|
311
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
312
|
+
|
|
313
|
+
act(() => {
|
|
314
|
+
/* finish loading suspended data */
|
|
315
|
+
});
|
|
316
|
+
/* assert on the output */
|
|
317
|
+
|
|
318
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),Ui===n&&(Bn&s)===s&&(Ma===Ay||Ma===C_&&(Bn&62914560)===Bn&&wo()-R_<KN?(hi&Bo)===pu&&Wl(n,0):O_|=s,_y===Bn&&(_y=0)),tl(n)}function D0(n,a){a===0&&(a=Zt()),n=Ja(n,a),n!==null&&(Dn(n,a),tl(n))}function Fh(n){var a=n.memoizedState,s=0;a!==null&&(s=a.retryLane),D0(n,s)}function Yu(n,a){var s=0;switch(n.tag){case 13:var g=n.stateNode,x=n.memoizedState;x!==null&&(s=x.retryLane);break;case 19:g=n.stateNode;break;case 22:g=n.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}g!==null&&g.delete(a),D0(n,s)}function zg(n,a,s){if((a.subtreeFlags&67117056)!==0)for(a=a.child;a!==null;){var g=n,x=a,A=x.type===Ad;A=s||A,x.tag!==22?x.flags&67108864?A&&ft(x,Ug,g,x,(x.mode&$3)===$i):zg(g,x,A):x.memoizedState===null&&(A&&x.flags&8192?ft(x,Ug,g,x):x.subtreeFlags&67108864&&ft(x,zg,g,x,A)),a=a.sibling}}function Ug(n,a){var s=2<arguments.length&&arguments[2]!==void 0?arguments[2]:!0;Ue(!0);try{Jr(a),s&&sd(a),xl(n,a.alternate,a,!1),s&&od(n,a,0,null,!1,0)}finally{Ue(!1)}}function $c(n){var a=!0;n.current.mode&(ro|hf)||(a=!1),zg(n,n.current,a)}function To(n){if((hi&Bo)===pu){var a=n.tag;if(a===3||a===1||a===0||a===11||a===14||a===15){if(a=W(n)||"ReactComponent",HE!==null){if(HE.has(a))return;HE.add(a)}else HE=new Set([a]);ft(n,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")})}}}function Gu(n,a){zi&&n.memoizedUpdaters.forEach(function(s){xt(n,s,a)})}function Hg(n,a){var s=ze.actQueue;return s!==null?(s.push(a),Nq):am(n,a)}function dd(n){wg()&&ze.actQueue===null&&ft(n,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
319
|
+
|
|
320
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
321
|
+
|
|
322
|
+
act(() => {
|
|
323
|
+
/* fire events that update state */
|
|
324
|
+
});
|
|
325
|
+
/* assert on the output */
|
|
326
|
+
|
|
327
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,W(n))})}function tl(n){n!==vb&&n.next===null&&(vb===null?jE=vb=n:vb=vb.next=n),FE=!0,ze.actQueue!==null?U_||(U_=!0,fa()):z_||(z_=!0,fa())}function Xu(n,a){if(!H_&&FE){H_=!0;do for(var s=!1,g=jE;g!==null;){if(n!==0){var x=g.pendingLanes;if(x===0)var A=0;else{var L=g.suspendedLanes,F=g.pingedLanes;A=(1<<31-Bi(42|n)+1)-1,A&=x&~(L&~F),A=A&201326741?A&201326741|1:A?A|2:0}A!==0&&(s=!0,ys(g,A))}else A=Bn,A=Ut(g,g===Ui?A:0,g.cancelPendingCommit!==null||g.timeoutHandle!==My),(A&3)===0||oa(g,A)||(s=!0,ys(g,A));g=g.next}while(s);H_=!1}}function Ih(){Qc()}function Qc(){FE=U_=z_=!1;var n=0;Oy!==0&&(pd()&&(n=Oy),Oy=0);for(var a=wo(),s=null,g=jE;g!==null;){var x=g.next,A=Co(g,a);A===0?(g.next=null,s===null?jE=x:s.next=x,x===null&&(vb=s)):(s=g,(n!==0||(A&3)!==0)&&(FE=!0)),g=x}Xu(n)}function Co(n,a){for(var s=n.suspendedLanes,g=n.pingedLanes,x=n.expirationTimes,A=n.pendingLanes&-62914561;0<A;){var L=31-Bi(A),F=1<<L,Q=x[L];Q===-1?((F&s)===0||(F&g)!==0)&&(x[L]=Ea(F,a)):Q<=a&&(n.expiredLanes|=F),A&=~F}if(a=Ui,s=Bn,s=Ut(n,n===a?s:0,n.cancelPendingCommit!==null||n.timeoutHandle!==My),g=n.callbackNode,s===0||n===a&&(Si===Ty||Si===Cy)||n.cancelPendingCommit!==null)return g!==null&&jg(g),n.callbackNode=null,n.callbackPriority=0;if((s&3)===0||oa(n,s)){if(a=s&-s,a!==n.callbackPriority||ze.actQueue!==null&&g!==j_)jg(g);else return a;switch(bt(s)){case Va:case Jt:s=Jh;break;case cu:s=rf;break;case tp:s=Pa;break;default:s=rf}return g=qn.bind(null,n),ze.actQueue!==null?(ze.actQueue.push(g),s=j_):s=am(s,g),n.callbackPriority=a,n.callbackNode=s,a}return g!==null&&jg(g),n.callbackPriority=2,n.callbackNode=null,2}function qn(n,a){if(CE=TE=!1,wl!==wy&&wl!==M_)return n.callbackNode=null,n.callbackPriority=0,null;var s=n.callbackNode;if(Vu()&&n.callbackNode!==s)return null;var g=Bn;return g=Ut(n,n===Ui?g:0,n.cancelPendingCommit!==null||n.timeoutHandle!==My),g===0?null:(ma(n,g,a),Co(n,wo()),n.callbackNode!=null&&n.callbackNode===s?qn.bind(null,n):null)}function ys(n,a){if(Vu())return null;TE=CE,CE=!1,ma(n,a,!0)}function jg(n){n!==j_&&n!==null&&z1(n)}function fa(){ze.actQueue!==null&&ze.actQueue.push(function(){return Qc(),null}),Pq(function(){(hi&(Bo|yf))!==pu?am(wd,Ih):Qc()})}function O0(){return Oy===0&&(Oy=wn()),Oy}function R0(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:(Re(n,"action"),Nf(""+n))}function M0(n,a){var s=a.ownerDocument.createElement("input");return s.name=a.name,s.value=a.value,n.id&&s.setAttribute("form",n.id),a.parentNode.insertBefore(s,a),n=new FormData(n),s.parentNode.removeChild(s),n}function Mi(n,a,s,g,x){if(a==="submit"&&s&&s.stateNode===x){var A=R0((x[ll]||null).action),L=g.submitter;L&&(a=(a=L[ll]||null)?R0(a.formAction):L.getAttribute("formAction"),a!==null&&(A=a,L=null));var F=new wt("action","action",null,g,x);n.push({event:F,listeners:[{instance:null,listener:function(){if(g.defaultPrevented){if(Oy!==0){var Q=L?M0(x,L):new FormData(x),J={pending:!0,data:Q,method:x.method,action:A};Object.freeze(J),Lu(s,J,null,Q)}}else typeof A=="function"&&(F.preventDefault(),Q=L?M0(x,L):new FormData(x),J={pending:!0,data:Q,method:x.method,action:A},Object.freeze(J),Lu(s,J,A,Q))},currentTarget:x}]})}}function Ha(n,a,s){n.currentTarget=s;try{a(n)}catch(g){x_(g)}n.currentTarget=null}function vs(n,a){a=(a&4)!==0;for(var s=0;s<n.length;s++){var g=n[s];e:{var x=void 0,A=g.event;if(g=g.listeners,a)for(var L=g.length-1;0<=L;L--){var F=g[L],Q=F.instance,J=F.currentTarget;if(F=F.listener,Q!==x&&A.isPropagationStopped())break e;Q!==null?ft(Q,Ha,A,F,J):Ha(A,F,J),x=Q}else for(L=0;L<g.length;L++){if(F=g[L],Q=F.instance,J=F.currentTarget,F=F.listener,Q!==x&&A.isPropagationStopped())break e;Q!==null?ft(Q,Ha,A,F,J):Ha(A,F,J),x=Q}}}}function dn(n,a){F_.has(n)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',n);var s=a[ey];s===void 0&&(s=a[ey]=new Set);var g=n+"__bubble";s.has(g)||(Ig(a,n,2,!1),s.add(g))}function Fg(n,a,s){F_.has(n)&&!a&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',n);var g=0;a&&(g|=4),Ig(s,n,g,a)}function N0(n){if(!n[IE]){n[IE]=!0,Iv.forEach(function(s){s!=="selectionchange"&&(F_.has(s)||Fg(s,!1,n),Fg(s,!0,n))});var a=n.nodeType===9?n:n.ownerDocument;a===null||a[IE]||(a[IE]=!0,Fg("selectionchange",!1,a))}}function Ig(n,a,s,g){switch(Xh(a)){case Va:var x=Lv;break;case Jt:x=Gh;break;default:x=Ts}s=x.bind(null,a,s,n),x=void 0,!Ce||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(x=!0),g?x!==void 0?n.addEventListener(a,s,{capture:!0,passive:x}):n.addEventListener(a,s,!0):x!==void 0?n.addEventListener(a,s,{passive:x}):n.addEventListener(a,s,!1)}function Rr(n,a,s,g,x){var A=g;if((a&1)===0&&(a&2)===0&&g!==null)e:for(;;){if(g===null)return;var L=g.tag;if(L===3||L===4){var F=g.stateNode.containerInfo;if(F===x)break;if(L===4)for(L=g.return;L!==null;){var Q=L.tag;if((Q===3||Q===4)&&L.stateNode.containerInfo===x)return;L=L.return}for(;F!==null;){if(L=gr(F),L===null)return;if(Q=L.tag,Q===5||Q===6||Q===26||Q===27){g=A=L;continue e}F=F.parentNode}}g=g.return}Bf(function(){var J=A,Be=Cc(s),je=[];e:{var Me=X3.get(n);if(Me!==void 0){var Ve=wt,gt=n;switch(n){case"keypress":if(Lf(s)===0)break e;case"keydown":case"keyup":Ve=VC;break;case"focusin":gt="focus",Ve=Cn;break;case"focusout":gt="blur",Ve=Cn;break;case"beforeblur":case"afterblur":Ve=Cn;break;case"click":if(s.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Ve=ln;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Ve=zt;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Ve=XC;break;case io:case ol:case ao:Ve=j1;break;case q1:Ve=QC;break;case"scroll":case"scrollend":Ve=xe;break;case"wheel":Ve=WC;break;case"copy":case"cut":case"paste":Ve=F1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Ve=vE;break;case"toggle":case"beforetoggle":Ve=JC}var Ft=(a&4)!==0,Hi=!Ft&&(n==="scroll"||n==="scrollend"),zn=Ft?Me!==null?Me+"Capture":null:Me;Ft=[];for(var se=J,ue;se!==null;){var pe=se;if(ue=pe.stateNode,pe=pe.tag,pe!==5&&pe!==26&&pe!==27||ue===null||zn===null||(pe=js(se,zn),pe!=null&&Ft.push(or(se,pe,ue))),Hi)break;se=se.return}0<Ft.length&&(Me=new Ve(Me,gt,null,s,Be),je.push({event:Me,listeners:Ft}))}}if((a&7)===0){e:{if(Me=n==="mouseover"||n==="pointerover",Ve=n==="mouseout"||n==="pointerout",Me&&s!==T&&(gt=s.relatedTarget||s.fromElement)&&(gr(gt)||gt[tc]))break e;if((Ve||Me)&&(Me=Be.window===Be?Be:(Me=Be.ownerDocument)?Me.defaultView||Me.parentWindow:window,Ve?(gt=s.relatedTarget||s.toElement,Ve=J,gt=gt?gr(gt):null,gt!==null&&(Hi=U(gt),Ft=gt.tag,gt!==Hi||Ft!==5&&Ft!==27&&Ft!==6)&&(gt=null)):(Ve=null,gt=J),Ve!==gt)){if(Ft=ln,pe="onMouseLeave",zn="onMouseEnter",se="mouse",(n==="pointerout"||n==="pointerover")&&(Ft=vE,pe="onPointerLeave",zn="onPointerEnter",se="pointer"),Hi=Ve==null?Me:Aa(Ve),ue=gt==null?Me:Aa(gt),Me=new Ft(pe,se+"leave",Ve,s,Be),Me.target=Hi,Me.relatedTarget=ue,pe=null,gr(Be)===J&&(Ft=new Ft(zn,se+"enter",gt,s,Be),Ft.target=ue,Ft.relatedTarget=Hi,pe=Ft),Hi=pe,Ve&>)t:{for(Ft=Ve,zn=gt,se=0,ue=Ft;ue;ue=ya(ue))se++;for(ue=0,pe=zn;pe;pe=ya(pe))ue++;for(;0<se-ue;)Ft=ya(Ft),se--;for(;0<ue-se;)zn=ya(zn),ue--;for(;se--;){if(Ft===zn||zn!==null&&Ft===zn.alternate)break t;Ft=ya(Ft),zn=ya(zn)}Ft=null}else Ft=null;Ve!==null&&B0(je,Me,Ve,Ft,!1),gt!==null&&Hi!==null&&B0(je,Hi,gt,Ft,!0)}}e:{if(Me=J?Aa(J):window,Ve=Me.nodeName&&Me.nodeName.toLowerCase(),Ve==="select"||Ve==="input"&&Me.type==="file")var Ge=Ps;else if(pv(Me))if(Je)Ge=mv;else{Ge=Xp;var rt=kl}else Ve=Me.nodeName,!Ve||Ve.toLowerCase()!=="input"||Me.type!=="checkbox"&&Me.type!=="radio"?J&&wu(J.elementType)&&(Ge=Ps):Ge=gv;if(Ge&&(Ge=Ge(n,J))){Yp(je,Ge,s,Be);break e}rt&&rt(n,Me,J),n==="focusout"&&J&&Me.type==="number"&&J.memoizedProps.value!=null&&wf(Me,"number",Me.value)}switch(rt=J?Aa(J):window,n){case"focusin":(pv(rt)||rt.contentEditable==="true")&&(lt=rt,yt=J,Mt=null);break;case"focusout":Mt=yt=lt=null;break;case"mousedown":en=!0;break;case"contextmenu":case"mouseup":case"dragend":en=!1,i0(je,s,Be);break;case"selectionchange":if(et)break;case"keydown":case"keyup":i0(je,s,Be)}var tn;if(P1)e:{switch(n){case"compositionstart":var mt="onCompositionStart";break e;case"compositionend":mt="onCompositionEnd";break e;case"compositionupdate":mt="onCompositionUpdate";break e}mt=void 0}else Z?xr(n,s)&&(mt="onCompositionEnd"):n==="keydown"&&s.keyCode===bE&&(mt="onCompositionStart");mt&&(y&&s.locale!=="ko"&&(Z||mt!=="onCompositionStart"?mt==="onCompositionEnd"&&Z&&(tn=Fs()):(We=Be,Ne="value"in We?We.value:We.textContent,Z=!0)),rt=hd(J,mt),0<rt.length&&(mt=new yE(mt,n,null,s,Be),je.push({event:mt,listeners:rt}),tn?mt.data=tn:(tn=Du(s),tn!==null&&(mt.data=tn)))),(tn=h?qp(n,s):nh(n,s))&&(mt=hd(J,"onBeforeInput"),0<mt.length&&(rt=new jC("onBeforeInput","beforeinput",null,s,Be),je.push({event:rt,listeners:mt}),rt.data=tn)),Mi(je,n,J,s,Be)}vs(je,a)})}function or(n,a,s){return{instance:n,listener:a,currentTarget:s}}function hd(n,a){for(var s=a+"Capture",g=[];n!==null;){var x=n,A=x.stateNode;if(x=x.tag,x!==5&&x!==26&&x!==27||A===null||(x=js(n,s),x!=null&&g.unshift(or(n,x,A)),x=js(n,a),x!=null&&g.push(or(n,x,A))),n.tag===3)return g;n=n.return}return[]}function ya(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function B0(n,a,s,g,x){for(var A=a._reactName,L=[];s!==null&&s!==g;){var F=s,Q=F.alternate,J=F.stateNode;if(F=F.tag,Q!==null&&Q===g)break;F!==5&&F!==26&&F!==27||J===null||(Q=J,x?(J=js(s,A),J!=null&&L.unshift(or(s,J,Q))):x||(J=js(s,A),J!=null&&L.push(or(s,J,Q)))),s=s.return}L.length!==0&&n.push({event:a,listeners:L})}function bs(n,a){Mf(n,a),n!=="input"&&n!=="textarea"&&n!=="select"||a==null||a.value!==null||hy||(hy=!0,n==="select"&&a.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",n):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",n));var s={registrationNameDependencies:no,possibleRegistrationNames:lf};wu(n)||typeof a.is=="string"||Km(n,a,s),a.contentEditable&&!a.suppressContentEditableWarning&&a.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function Ni(n,a,s,g){a!==s&&(s=ja(s),ja(a)!==s&&(g[n]=a))}function iu(n,a,s){a.forEach(function(g){s[k0(g)]=g==="style"?$u(n):n.getAttribute(g)})}function Jl(n,a){a===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",n,n,n):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",n,typeof a)}function Pg(n,a){return n=n.namespaceURI===op||n.namespaceURI===kd?n.ownerDocument.createElementNS(n.namespaceURI,n.tagName):n.ownerDocument.createElement(n.tagName),n.innerHTML=a,n.innerHTML}function ja(n){return ne(n)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",Qe(n)),Ee(n)),(typeof n=="string"?n:""+n).replace(Bq,`
|
|
328
|
+
`).replace(Lq,"")}function L0(n,a){return a=ja(a),ja(n)===a}function au(){}function Fn(n,a,s,g,x,A){switch(s){case"children":typeof g=="string"?(An(g,a,!1),a==="body"||a==="textarea"&&g===""||Ci(n,g)):(typeof g=="number"||typeof g=="bigint")&&(An(""+g,a,!1),a!=="body"&&Ci(n,""+g));break;case"className":Za(n,"class",g);break;case"tabIndex":Za(n,"tabindex",g);break;case"dir":case"role":case"viewBox":case"width":case"height":Za(n,s,g);break;case"style":Of(n,g,A);break;case"data":if(a!=="object"){Za(n,"data",g);break}case"src":case"href":if(g===""&&(a!=="a"||s!=="href")){console.error(s==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',s,s),n.removeAttribute(s);break}if(g==null||typeof g=="function"||typeof g=="symbol"||typeof g=="boolean"){n.removeAttribute(s);break}Re(g,s),g=Nf(""+g),n.setAttribute(s,g);break;case"action":case"formAction":if(g!=null&&(a==="form"?s==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof g=="function"&&(x.encType==null&&x.method==null||VE||(VE=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),x.target==null||qE||(qE=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):a==="input"||a==="button"?s==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):a!=="input"||x.type==="submit"||x.type==="image"||PE?a!=="button"||x.type==null||x.type==="submit"||PE?typeof g=="function"&&(x.name==null||sB||(sB=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),x.formEncType==null&&x.formMethod==null||VE||(VE=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),x.formTarget==null||qE||(qE=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(PE=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(PE=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(s==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof g=="function"){n.setAttribute(s,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof A=="function"&&(s==="formAction"?(a!=="input"&&Fn(n,a,"name",x.name,x,null),Fn(n,a,"formEncType",x.formEncType,x,null),Fn(n,a,"formMethod",x.formMethod,x,null),Fn(n,a,"formTarget",x.formTarget,x,null)):(Fn(n,a,"encType",x.encType,x,null),Fn(n,a,"method",x.method,x,null),Fn(n,a,"target",x.target,x,null)));if(g==null||typeof g=="symbol"||typeof g=="boolean"){n.removeAttribute(s);break}Re(g,s),g=Nf(""+g),n.setAttribute(s,g);break;case"onClick":g!=null&&(typeof g!="function"&&Jl(s,g),n.onclick=au);break;case"onScroll":g!=null&&(typeof g!="function"&&Jl(s,g),dn("scroll",n));break;case"onScrollEnd":g!=null&&(typeof g!="function"&&Jl(s,g),dn("scrollend",n));break;case"dangerouslySetInnerHTML":if(g!=null){if(typeof g!="object"||!("__html"in g))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(s=g.__html,s!=null){if(x.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");n.innerHTML=s}}break;case"multiple":n.multiple=g&&typeof g!="function"&&typeof g!="symbol";break;case"muted":n.muted=g&&typeof g!="function"&&typeof g!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(g==null||typeof g=="function"||typeof g=="boolean"||typeof g=="symbol"){n.removeAttribute("xlink:href");break}Re(g,s),s=Nf(""+g),n.setAttributeNS(Ry,"xlink:href",s);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":g!=null&&typeof g!="function"&&typeof g!="symbol"?(Re(g,s),n.setAttribute(s,""+g)):n.removeAttribute(s);break;case"inert":g!==""||YE[s]||(YE[s]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",s));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":g&&typeof g!="function"&&typeof g!="symbol"?n.setAttribute(s,""):n.removeAttribute(s);break;case"capture":case"download":g===!0?n.setAttribute(s,""):g!==!1&&g!=null&&typeof g!="function"&&typeof g!="symbol"?(Re(g,s),n.setAttribute(s,g)):n.removeAttribute(s);break;case"cols":case"rows":case"size":case"span":g!=null&&typeof g!="function"&&typeof g!="symbol"&&!isNaN(g)&&1<=g?(Re(g,s),n.setAttribute(s,g)):n.removeAttribute(s);break;case"rowSpan":case"start":g==null||typeof g=="function"||typeof g=="symbol"||isNaN(g)?n.removeAttribute(s):(Re(g,s),n.setAttribute(s,g));break;case"popover":dn("beforetoggle",n),dn("toggle",n),Fi(n,"popover",g);break;case"xlinkActuate":li(n,Ry,"xlink:actuate",g);break;case"xlinkArcrole":li(n,Ry,"xlink:arcrole",g);break;case"xlinkRole":li(n,Ry,"xlink:role",g);break;case"xlinkShow":li(n,Ry,"xlink:show",g);break;case"xlinkTitle":li(n,Ry,"xlink:title",g);break;case"xlinkType":li(n,Ry,"xlink:type",g);break;case"xmlBase":li(n,I_,"xml:base",g);break;case"xmlLang":li(n,I_,"xml:lang",g);break;case"xmlSpace":li(n,I_,"xml:space",g);break;case"is":A!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),Fi(n,"is",g);break;case"innerText":case"textContent":break;case"popoverTarget":uB||g==null||typeof g!="object"||(uB=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",g));default:!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N"?(s=Ip(s),Fi(n,s,g)):no.hasOwnProperty(s)&&g!=null&&typeof g!="function"&&Jl(s,g)}}function wa(n,a,s,g,x,A){switch(s){case"style":Of(n,g,A);break;case"dangerouslySetInnerHTML":if(g!=null){if(typeof g!="object"||!("__html"in g))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(s=g.__html,s!=null){if(x.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");n.innerHTML=s}}break;case"children":typeof g=="string"?Ci(n,g):(typeof g=="number"||typeof g=="bigint")&&Ci(n,""+g);break;case"onScroll":g!=null&&(typeof g!="function"&&Jl(s,g),dn("scroll",n));break;case"onScrollEnd":g!=null&&(typeof g!="function"&&Jl(s,g),dn("scrollend",n));break;case"onClick":g!=null&&(typeof g!="function"&&Jl(s,g),n.onclick=au);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(no.hasOwnProperty(s))g!=null&&typeof g!="function"&&Jl(s,g);else e:{if(s[0]==="o"&&s[1]==="n"&&(x=s.endsWith("Capture"),a=s.slice(2,x?s.length-7:void 0),A=n[ll]||null,A=A!=null?A[s]:null,typeof A=="function"&&n.removeEventListener(a,A,x),typeof g=="function")){typeof A!="function"&&A!==null&&(s in n?n[s]=null:n.hasAttribute(s)&&n.removeAttribute(s)),n.addEventListener(a,g,x);break e}s in n?n[s]=g:g===!0?n.setAttribute(s,""):Fi(n,s,g)}}}function Yi(n,a,s){switch(bs(a,s),a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":dn("error",n),dn("load",n);var g=!1,x=!1,A;for(A in s)if(s.hasOwnProperty(A)){var L=s[A];if(L!=null)switch(A){case"src":g=!0;break;case"srcSet":x=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Fn(n,a,A,L,s,null)}}x&&Fn(n,a,"srcSet",s.srcSet,s,null),g&&Fn(n,a,"src",s.src,s,null);return;case"input":fl("input",s),dn("invalid",n);var F=A=L=x=null,Q=null,J=null;for(g in s)if(s.hasOwnProperty(g)){var Be=s[g];if(Be!=null)switch(g){case"name":x=Be;break;case"type":L=Be;break;case"checked":Q=Be;break;case"defaultChecked":J=Be;break;case"value":A=Be;break;case"defaultValue":F=Be;break;case"children":case"dangerouslySetInnerHTML":if(Be!=null)throw Error(a+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Fn(n,a,g,Be,s,null)}}Go(n,s),xc(n,A,F,Q,J,L,x,!1),co(n);return;case"select":fl("select",s),dn("invalid",n),g=L=A=null;for(x in s)if(s.hasOwnProperty(x)&&(F=s[x],F!=null))switch(x){case"value":A=F;break;case"defaultValue":L=F;break;case"multiple":g=F;default:Fn(n,a,x,F,s,null)}Sc(n,s),a=A,s=L,n.multiple=!!g,a!=null?fo(n,!!g,a,!1):s!=null&&fo(n,!!g,s,!0);return;case"textarea":fl("textarea",s),dn("invalid",n),A=x=g=null;for(L in s)if(s.hasOwnProperty(L)&&(F=s[L],F!=null))switch(L){case"value":g=F;break;case"defaultValue":x=F;break;case"children":A=F;break;case"dangerouslySetInnerHTML":if(F!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:Fn(n,a,L,F,s,null)}dl(n,s),Df(n,g,x,A),co(n);return;case"option":Cu(n,s);for(Q in s)if(s.hasOwnProperty(Q)&&(g=s[Q],g!=null))switch(Q){case"selected":n.selected=g&&typeof g!="function"&&typeof g!="symbol";break;default:Fn(n,a,Q,g,s,null)}return;case"dialog":dn("beforetoggle",n),dn("toggle",n),dn("cancel",n),dn("close",n);break;case"iframe":case"object":dn("load",n);break;case"video":case"audio":for(g=0;g<hx.length;g++)dn(hx[g],n);break;case"image":dn("error",n),dn("load",n);break;case"details":dn("toggle",n);break;case"embed":case"source":case"link":dn("error",n),dn("load",n);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(J in s)if(s.hasOwnProperty(J)&&(g=s[J],g!=null))switch(J){case"children":case"dangerouslySetInnerHTML":throw Error(a+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Fn(n,a,J,g,s,null)}return;default:if(wu(a)){for(Be in s)s.hasOwnProperty(Be)&&(g=s[Be],g!==void 0&&wa(n,a,Be,g,s,void 0));return}}for(F in s)s.hasOwnProperty(F)&&(g=s[F],g!=null&&Fn(n,a,F,g,s,null))}function Dv(n,a,s,g){switch(bs(a,g),a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var x=null,A=null,L=null,F=null,Q=null,J=null,Be=null;for(Ve in s){var je=s[Ve];if(s.hasOwnProperty(Ve)&&je!=null)switch(Ve){case"checked":break;case"value":break;case"defaultValue":Q=je;default:g.hasOwnProperty(Ve)||Fn(n,a,Ve,null,g,je)}}for(var Me in g){var Ve=g[Me];if(je=s[Me],g.hasOwnProperty(Me)&&(Ve!=null||je!=null))switch(Me){case"type":A=Ve;break;case"name":x=Ve;break;case"checked":J=Ve;break;case"defaultChecked":Be=Ve;break;case"value":L=Ve;break;case"defaultValue":F=Ve;break;case"children":case"dangerouslySetInnerHTML":if(Ve!=null)throw Error(a+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Ve!==je&&Fn(n,a,Me,Ve,g,je)}}a=s.type==="checkbox"||s.type==="radio"?s.checked!=null:s.value!=null,g=g.type==="checkbox"||g.type==="radio"?g.checked!=null:g.value!=null,a||!g||oB||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),oB=!0),!a||g||lB||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),lB=!0),Xo(n,L,F,Q,J,Be,A,x);return;case"select":Ve=L=F=Me=null;for(A in s)if(Q=s[A],s.hasOwnProperty(A)&&Q!=null)switch(A){case"value":break;case"multiple":Ve=Q;default:g.hasOwnProperty(A)||Fn(n,a,A,null,g,Q)}for(x in g)if(A=g[x],Q=s[x],g.hasOwnProperty(x)&&(A!=null||Q!=null))switch(x){case"value":Me=A;break;case"defaultValue":F=A;break;case"multiple":L=A;default:A!==Q&&Fn(n,a,x,A,g,Q)}g=F,a=L,s=Ve,Me!=null?fo(n,!!a,Me,!1):!!s!=!!a&&(g!=null?fo(n,!!a,g,!0):fo(n,!!a,a?[]:"",!1));return;case"textarea":Ve=Me=null;for(F in s)if(x=s[F],s.hasOwnProperty(F)&&x!=null&&!g.hasOwnProperty(F))switch(F){case"value":break;case"children":break;default:Fn(n,a,F,null,g,x)}for(L in g)if(x=g[L],A=s[L],g.hasOwnProperty(L)&&(x!=null||A!=null))switch(L){case"value":Me=x;break;case"defaultValue":Ve=x;break;case"children":break;case"dangerouslySetInnerHTML":if(x!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:x!==A&&Fn(n,a,L,x,g,A)}Ec(n,Me,Ve);return;case"option":for(var gt in s)if(Me=s[gt],s.hasOwnProperty(gt)&&Me!=null&&!g.hasOwnProperty(gt))switch(gt){case"selected":n.selected=!1;break;default:Fn(n,a,gt,null,g,Me)}for(Q in g)if(Me=g[Q],Ve=s[Q],g.hasOwnProperty(Q)&&Me!==Ve&&(Me!=null||Ve!=null))switch(Q){case"selected":n.selected=Me&&typeof Me!="function"&&typeof Me!="symbol";break;default:Fn(n,a,Q,Me,g,Ve)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Ft in s)Me=s[Ft],s.hasOwnProperty(Ft)&&Me!=null&&!g.hasOwnProperty(Ft)&&Fn(n,a,Ft,null,g,Me);for(J in g)if(Me=g[J],Ve=s[J],g.hasOwnProperty(J)&&Me!==Ve&&(Me!=null||Ve!=null))switch(J){case"children":case"dangerouslySetInnerHTML":if(Me!=null)throw Error(a+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Fn(n,a,J,Me,g,Ve)}return;default:if(wu(a)){for(var Hi in s)Me=s[Hi],s.hasOwnProperty(Hi)&&Me!==void 0&&!g.hasOwnProperty(Hi)&&wa(n,a,Hi,void 0,g,Me);for(Be in g)Me=g[Be],Ve=s[Be],!g.hasOwnProperty(Be)||Me===Ve||Me===void 0&&Ve===void 0||wa(n,a,Be,Me,g,Ve);return}}for(var zn in s)Me=s[zn],s.hasOwnProperty(zn)&&Me!=null&&!g.hasOwnProperty(zn)&&Fn(n,a,zn,null,g,Me);for(je in g)Me=g[je],Ve=s[je],!g.hasOwnProperty(je)||Me===Ve||Me==null&&Ve==null||Fn(n,a,je,Me,g,Ve)}function k0(n){switch(n){case"class":return"className";case"for":return"htmlFor";default:return n}}function $u(n){var a={};n=n.style;for(var s=0;s<n.length;s++){var g=n[s];a[g]=n.getPropertyValue(g)}return a}function z0(n,a,s){if(a!=null&&typeof a!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var g,x=g="",A;for(A in a)if(a.hasOwnProperty(A)){var L=a[A];L!=null&&typeof L!="boolean"&&L!==""&&(A.indexOf("--")===0?(ae(L,A),g+=x+A+":"+(""+L).trim()):typeof L!="number"||L===0||lp.has(A)?(ae(L,A),g+=x+A.replace(fu,"-$1").toLowerCase().replace(du,"-ms-")+":"+(""+L).trim()):g+=x+A.replace(fu,"-$1").toLowerCase().replace(du,"-ms-")+":"+L+"px",x=";")}g=g||null,a=n.getAttribute("style"),a!==g&&(g=ja(g),ja(a)!==g&&(s.style=$u(n)))}}function Mr(n,a,s,g,x,A){if(x.delete(s),n=n.getAttribute(s),n===null)switch(typeof g){case"undefined":case"function":case"symbol":case"boolean":return}else if(g!=null)switch(typeof g){case"function":case"symbol":case"boolean":break;default:if(Re(g,a),n===""+g)return}Ni(a,n,g,A)}function U0(n,a,s,g,x,A){if(x.delete(s),n=n.getAttribute(s),n===null){switch(typeof g){case"function":case"symbol":return}if(!g)return}else switch(typeof g){case"function":case"symbol":break;default:if(g)return}Ni(a,n,g,A)}function H0(n,a,s,g,x,A){if(x.delete(s),n=n.getAttribute(s),n===null)switch(typeof g){case"undefined":case"function":case"symbol":return}else if(g!=null)switch(typeof g){case"function":case"symbol":break;default:if(Re(g,s),n===""+g)return}Ni(a,n,g,A)}function qg(n,a,s,g,x,A){if(x.delete(s),n=n.getAttribute(s),n===null)switch(typeof g){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(g))return}else if(g!=null)switch(typeof g){case"function":case"symbol":case"boolean":break;default:if(!isNaN(g)&&(Re(g,a),n===""+g))return}Ni(a,n,g,A)}function Vn(n,a,s,g,x,A){if(x.delete(s),n=n.getAttribute(s),n===null)switch(typeof g){case"undefined":case"function":case"symbol":case"boolean":return}else if(g!=null)switch(typeof g){case"function":case"symbol":case"boolean":break;default:if(Re(g,a),s=Nf(""+g),n===s)return}Ni(a,n,g,A)}function fi(n,a,s,g){for(var x={},A=new Set,L=n.attributes,F=0;F<L.length;F++)switch(L[F].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:A.add(L[F].name)}if(wu(a)){for(var Q in s)if(s.hasOwnProperty(Q)){var J=s[Q];if(J!=null){if(no.hasOwnProperty(Q))typeof J!="function"&&Jl(Q,J);else if(s.suppressHydrationWarning!==!0)switch(Q){case"children":typeof J!="string"&&typeof J!="number"||Ni("children",n.textContent,J,x);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":L=n.innerHTML,J=J?J.__html:void 0,J!=null&&(J=Pg(n,J),Ni(Q,L,J,x));continue;case"style":A.delete(Q),z0(n,J,x);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":A.delete(Q.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",Q);continue;case"className":A.delete("class"),L=ha(n,"class",J),Ni("className",L,J,x);continue;default:g.context===yp&&a!=="svg"&&a!=="math"?A.delete(Q.toLowerCase()):A.delete(Q),L=ha(n,Q,J),Ni(Q,L,J,x)}}}}else for(J in s)if(s.hasOwnProperty(J)&&(Q=s[J],Q!=null)){if(no.hasOwnProperty(J))typeof Q!="function"&&Jl(J,Q);else if(s.suppressHydrationWarning!==!0)switch(J){case"children":typeof Q!="string"&&typeof Q!="number"||Ni("children",n.textContent,Q,x);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":L=n.innerHTML,Q=Q?Q.__html:void 0,Q!=null&&(Q=Pg(n,Q),L!==Q&&(x[J]={__html:L}));continue;case"className":Mr(n,J,"class",Q,A,x);continue;case"tabIndex":Mr(n,J,"tabindex",Q,A,x);continue;case"style":A.delete(J),z0(n,Q,x);continue;case"multiple":A.delete(J),Ni(J,n.multiple,Q,x);continue;case"muted":A.delete(J),Ni(J,n.muted,Q,x);continue;case"autoFocus":A.delete("autofocus"),Ni(J,n.autofocus,Q,x);continue;case"data":if(a!=="object"){A.delete(J),L=n.getAttribute("data"),Ni(J,L,Q,x);continue}case"src":case"href":if(!(Q!==""||a==="a"&&J==="href"||a==="object"&&J==="data")){console.error(J==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',J,J);continue}Vn(n,J,J,Q,A,x);continue;case"action":case"formAction":if(L=n.getAttribute(J),typeof Q=="function"){A.delete(J.toLowerCase()),J==="formAction"?(A.delete("name"),A.delete("formenctype"),A.delete("formmethod"),A.delete("formtarget")):(A.delete("enctype"),A.delete("method"),A.delete("target"));continue}else if(L===kq){A.delete(J.toLowerCase()),Ni(J,"function",Q,x);continue}Vn(n,J,J.toLowerCase(),Q,A,x);continue;case"xlinkHref":Vn(n,J,"xlink:href",Q,A,x);continue;case"contentEditable":H0(n,J,"contenteditable",Q,A,x);continue;case"spellCheck":H0(n,J,"spellcheck",Q,A,x);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":H0(n,J,J,Q,A,x);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":U0(n,J,J.toLowerCase(),Q,A,x);continue;case"capture":case"download":e:{F=n;var Be=L=J,je=x;if(A.delete(Be),F=F.getAttribute(Be),F===null)switch(typeof Q){case"undefined":case"function":case"symbol":break e;default:if(Q===!1)break e}else if(Q!=null)switch(typeof Q){case"function":case"symbol":break;case"boolean":if(Q===!0&&F==="")break e;break;default:if(Re(Q,L),F===""+Q)break e}Ni(L,F,Q,je)}continue;case"cols":case"rows":case"size":case"span":e:{if(F=n,Be=L=J,je=x,A.delete(Be),F=F.getAttribute(Be),F===null)switch(typeof Q){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(Q)||1>Q)break e}else if(Q!=null)switch(typeof Q){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(Q)||1>Q)&&(Re(Q,L),F===""+Q))break e}Ni(L,F,Q,je)}continue;case"rowSpan":qg(n,J,"rowspan",Q,A,x);continue;case"start":qg(n,J,J,Q,A,x);continue;case"xHeight":Mr(n,J,"x-height",Q,A,x);continue;case"xlinkActuate":Mr(n,J,"xlink:actuate",Q,A,x);continue;case"xlinkArcrole":Mr(n,J,"xlink:arcrole",Q,A,x);continue;case"xlinkRole":Mr(n,J,"xlink:role",Q,A,x);continue;case"xlinkShow":Mr(n,J,"xlink:show",Q,A,x);continue;case"xlinkTitle":Mr(n,J,"xlink:title",Q,A,x);continue;case"xlinkType":Mr(n,J,"xlink:type",Q,A,x);continue;case"xmlBase":Mr(n,J,"xml:base",Q,A,x);continue;case"xmlLang":Mr(n,J,"xml:lang",Q,A,x);continue;case"xmlSpace":Mr(n,J,"xml:space",Q,A,x);continue;case"inert":Q!==""||YE[J]||(YE[J]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",J)),U0(n,J,J,Q,A,x);continue;default:if(!(2<J.length)||J[0]!=="o"&&J[0]!=="O"||J[1]!=="n"&&J[1]!=="N"){F=Ip(J),L=!1,g.context===yp&&a!=="svg"&&a!=="math"?A.delete(F.toLowerCase()):(Be=J.toLowerCase(),Be=ff.hasOwnProperty(Be)&&ff[Be]||null,Be!==null&&Be!==J&&(L=!0,A.delete(Be)),A.delete(F));e:if(Be=n,je=F,F=Q,ri(je))if(Be.hasAttribute(je))Be=Be.getAttribute(je),Re(F,je),F=Be===""+F?F:Be;else{switch(typeof F){case"function":case"symbol":break e;case"boolean":if(Be=je.toLowerCase().slice(0,5),Be!=="data-"&&Be!=="aria-")break e}F=F===void 0?void 0:null}else F=void 0;L||Ni(J,F,Q,x)}}}return 0<A.size&&s.suppressHydrationWarning!==!0&&iu(n,A,x),Object.keys(x).length===0?null:x}function mn(n,a){switch(n.length){case 0:return"";case 1:return n[0];case 2:return n[0]+" "+a+" "+n[1];default:return n.slice(0,-1).join(", ")+", "+a+" "+n[n.length-1]}}function yn(n){return n.nodeType===9?n:n.ownerDocument}function Qn(n){switch(n){case kd:return bb;case op:return $E;default:return yp}}function nl(n,a){if(n===yp)switch(a){case"svg":return bb;case"math":return $E;default:return yp}return n===bb&&a==="foreignObject"?yp:n}function xs(n,a){return n==="textarea"||n==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.children=="bigint"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}function pd(){var n=window.event;return n&&n.type==="popstate"?n===Y_?!1:(Y_=n,!0):(Y_=null,!1)}function j0(n){setTimeout(function(){throw n})}function ru(n,a,s){switch(a){case"button":case"input":case"select":case"textarea":s.autoFocus&&n.focus();break;case"img":s.src?n.src=s.src:s.srcSet&&(n.srcset=s.srcSet)}}function Gi(n,a,s,g){Dv(n,a,s,g),n[ll]=g}function lu(n){Ci(n,"")}function Zc(n,a,s){n.nodeValue=s}function Ss(n){return n==="head"}function eo(n,a){n.removeChild(a)}function gd(n,a){(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).removeChild(a)}function md(n,a){var s=a,g=0,x=0;do{var A=s.nextSibling;if(n.removeChild(s),A&&A.nodeType===8)if(s=A.data,s===XE){if(0<g&&8>g){s=g;var L=n.ownerDocument;if(s&Uq&&bd(L.documentElement),s&Hq&&bd(L.body),s&jq)for(s=L.head,bd(s),L=s.firstChild;L;){var F=L.nextSibling,Q=L.nodeName;L[Md]||Q==="SCRIPT"||Q==="STYLE"||Q==="LINK"&&L.rel.toLowerCase()==="stylesheet"||s.removeChild(L),L=F}}if(x===0){n.removeChild(A),Ku(a);return}x--}else s===GE||s===mp||s===px?x++:g=s.charCodeAt(0)-48;else g=0;s=A}while(s);Ku(a)}function il(n){n=n.style,typeof n.setProperty=="function"?n.setProperty("display","none","important"):n.display="none"}function F0(n){n.nodeValue=""}function I0(n,a){a=a[Fq],a=a!=null&&a.hasOwnProperty("display")?a.display:null,n.style.display=a==null||typeof a=="boolean"?"":(""+a).trim()}function yd(n,a){n.nodeValue=a}function Wc(n){var a=n.firstChild;for(a&&a.nodeType===10&&(a=a.nextSibling);a;){var s=a;switch(a=a.nextSibling,s.nodeName){case"HTML":case"HEAD":case"BODY":Wc(s),ni(s);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(s.rel.toLowerCase()==="stylesheet")continue}n.removeChild(s)}}function Qu(n,a,s,g){for(;n.nodeType===1;){var x=s;if(n.nodeName.toLowerCase()!==a.toLowerCase()){if(!g&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(g){if(!n[Md])switch(a){case"meta":if(!n.hasAttribute("itemprop"))break;return n;case"link":if(A=n.getAttribute("rel"),A==="stylesheet"&&n.hasAttribute("data-precedence"))break;if(A!==x.rel||n.getAttribute("href")!==(x.href==null||x.href===""?null:x.href)||n.getAttribute("crossorigin")!==(x.crossOrigin==null?null:x.crossOrigin)||n.getAttribute("title")!==(x.title==null?null:x.title))break;return n;case"style":if(n.hasAttribute("data-precedence"))break;return n;case"script":if(A=n.getAttribute("src"),(A!==(x.src==null?null:x.src)||n.getAttribute("type")!==(x.type==null?null:x.type)||n.getAttribute("crossorigin")!==(x.crossOrigin==null?null:x.crossOrigin))&&A&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(a==="input"&&n.type==="hidden"){Re(x.name,"name");var A=x.name==null?null:""+x.name;if(x.type==="hidden"&&n.getAttribute("name")===A)return n}else return n;if(n=Ia(n.nextSibling),n===null)break}return null}function Fa(n,a,s){if(a==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!s||(n=Ia(n.nextSibling),n===null))return null;return n}function Es(n){return n.data===px||n.data===mp&&n.ownerDocument.readyState===fB}function vd(n,a){var s=n.ownerDocument;if(n.data!==mp||s.readyState===fB)a();else{var g=function(){a(),s.removeEventListener("DOMContentLoaded",g)};s.addEventListener("DOMContentLoaded",g),n._reactRetry=g}}function Ia(n){for(;n!=null;n=n.nextSibling){var a=n.nodeType;if(a===1||a===3)break;if(a===8){if(a=n.data,a===GE||a===px||a===mp||a===P_||a===cB)break;if(a===XE)return null}}return n}function Vg(n){if(n.nodeType===1){for(var a=n.nodeName.toLowerCase(),s={},g=n.attributes,x=0;x<g.length;x++){var A=g[x];s[k0(A.name)]=A.name.toLowerCase()==="style"?$u(n):A.value}return{type:a,props:s}}return n.nodeType===8?{type:"Suspense",props:{}}:n.nodeValue}function Yg(n,a,s){return s===null||s[zq]!==!0?(n.nodeValue===a?n=null:(a=ja(a),n=ja(n.nodeValue)===a?null:n.nodeValue),n):null}function P0(n){n=n.nextSibling;for(var a=0;n;){if(n.nodeType===8){var s=n.data;if(s===XE){if(a===0)return Ia(n.nextSibling);a--}else s!==GE&&s!==px&&s!==mp||a++}n=n.nextSibling}return null}function Kc(n){n=n.previousSibling;for(var a=0;n;){if(n.nodeType===8){var s=n.data;if(s===GE||s===px||s===mp){if(a===0)return n;a--}else s===XE&&a++}n=n.previousSibling}return null}function q0(n){Ku(n)}function sr(n){Ku(n)}function V0(n,a,s,g,x){switch(x&&It(n,g.ancestorInfo),a=yn(s),n){case"html":if(n=a.documentElement,!n)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return n;case"head":if(n=a.head,!n)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return n;case"body":if(n=a.body,!n)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return n;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function Sl(n,a,s,g){if(!s[tc]&&$n(s)){var x=s.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",x,x,x)}switch(n){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(x=s.attributes;x.length;)s.removeAttributeNode(x[0]);Yi(s,n,a),s[cr]=g,s[ll]=a}function bd(n){for(var a=n.attributes;a.length;)n.removeAttributeNode(a[0]);ni(n)}function Ph(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}function Ov(n,a,s){var g=xb;if(g&&typeof a=="string"&&a){var x=yr(a);x='link[rel="'+n+'"][href="'+x+'"]',typeof s=="string"&&(x+='[crossorigin="'+s+'"]'),yB.has(x)||(yB.add(x),n={rel:n,crossOrigin:s,href:a},g.querySelector(x)===null&&(a=g.createElement("link"),Yi(a,"link",n),Ai(a),g.head.appendChild(a)))}}function ou(n,a,s,g){var x=(x=_o.current)?Ph(x):null;if(!x)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(n){case"meta":case"title":return null;case"style":return typeof s.precedence=="string"&&typeof s.href=="string"?(s=Zu(s.href),a=Qa(x).hoistableStyles,g=a.get(s),g||(g={type:"style",instance:null,count:0,state:null},a.set(s,g)),g):{type:"void",instance:null,count:0,state:null};case"link":if(s.rel==="stylesheet"&&typeof s.href=="string"&&typeof s.precedence=="string"){n=Zu(s.href);var A=Qa(x).hoistableStyles,L=A.get(n);if(!L&&(x=x.ownerDocument||x,L={type:"stylesheet",instance:null,count:0,state:{loading:Ny,preload:null}},A.set(n,L),(A=x.querySelector(As(n)))&&!A._p&&(L.instance=A,L.state.loading=gx|hc),!pc.has(n))){var F={rel:"preload",as:"style",href:s.href,crossOrigin:s.crossOrigin,integrity:s.integrity,media:s.media,hrefLang:s.hrefLang,referrerPolicy:s.referrerPolicy};pc.set(n,F),A||Rv(x,n,F,L.state)}if(a&&g===null)throw s=`
|
|
329
|
+
|
|
330
|
+
- `+Jc(a)+`
|
|
331
|
+
+ `+Jc(s),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+s);return L}if(a&&g!==null)throw s=`
|
|
332
|
+
|
|
333
|
+
- `+Jc(a)+`
|
|
334
|
+
+ `+Jc(s),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+s);return null;case"script":return a=s.async,s=s.src,typeof s=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(s=ef(s),a=Qa(x).hoistableScripts,g=a.get(s),g||(g={type:"script",instance:null,count:0,state:null},a.set(s,g)),g):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+n+'". this is a bug in React.')}}function Jc(n){var a=0,s="<link";return typeof n.rel=="string"?(a++,s+=' rel="'+n.rel+'"'):uu.call(n,"rel")&&(a++,s+=' rel="'+(n.rel===null?"null":"invalid type "+typeof n.rel)+'"'),typeof n.href=="string"?(a++,s+=' href="'+n.href+'"'):uu.call(n,"href")&&(a++,s+=' href="'+(n.href===null?"null":"invalid type "+typeof n.href)+'"'),typeof n.precedence=="string"?(a++,s+=' precedence="'+n.precedence+'"'):uu.call(n,"precedence")&&(a++,s+=" precedence={"+(n.precedence===null?"null":"invalid type "+typeof n.precedence)+"}"),Object.getOwnPropertyNames(n).length>a&&(s+=" ..."),s+" />"}function Zu(n){return'href="'+yr(n)+'"'}function As(n){return'link[rel="stylesheet"]['+n+"]"}function Y0(n){return Kt({},n,{"data-precedence":n.precedence,precedence:null})}function Rv(n,a,s,g){n.querySelector('link[rel="preload"][as="style"]['+a+"]")?g.loading=gx:(a=n.createElement("link"),g.preload=a,a.addEventListener("load",function(){return g.loading|=gx}),a.addEventListener("error",function(){return g.loading|=gB}),Yi(a,"link",s),Ai(a),n.head.appendChild(a))}function ef(n){return'[src="'+yr(n)+'"]'}function tf(n){return"script[async]"+n}function Gg(n,a,s){if(a.count++,a.instance===null)switch(a.type){case"style":var g=n.querySelector('style[data-href~="'+yr(s.href)+'"]');if(g)return a.instance=g,Ai(g),g;var x=Kt({},s,{"data-href":s.href,"data-precedence":s.precedence,href:null,precedence:null});return g=(n.ownerDocument||n).createElement("style"),Ai(g),Yi(g,"style",x),Xg(g,s.precedence,n),a.instance=g;case"stylesheet":x=Zu(s.href);var A=n.querySelector(As(x));if(A)return a.state.loading|=hc,a.instance=A,Ai(A),A;g=Y0(s),(x=pc.get(x))&&G0(g,x),A=(n.ownerDocument||n).createElement("link"),Ai(A);var L=A;return L._p=new Promise(function(F,Q){L.onload=F,L.onerror=Q}),Yi(A,"link",g),a.state.loading|=hc,Xg(A,s.precedence,n),a.instance=A;case"script":return A=ef(s.src),(x=n.querySelector(tf(A)))?(a.instance=x,Ai(x),x):(g=s,(x=pc.get(A))&&(g=Kt({},s),$g(g,x)),n=n.ownerDocument||n,x=n.createElement("script"),Ai(x),Yi(x,"link",g),n.head.appendChild(x),a.instance=x);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+a.type+'". this is a bug in React.')}else a.type==="stylesheet"&&(a.state.loading&hc)===Ny&&(g=a.instance,a.state.loading|=hc,Xg(g,s.precedence,n));return a.instance}function Xg(n,a,s){for(var g=s.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),x=g.length?g[g.length-1]:null,A=x,L=0;L<g.length;L++){var F=g[L];if(F.dataset.precedence===a)A=F;else if(A!==x)break}A?A.parentNode.insertBefore(n,A.nextSibling):(a=s.nodeType===9?s.head:s,a.insertBefore(n,a.firstChild))}function G0(n,a){n.crossOrigin==null&&(n.crossOrigin=a.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=a.referrerPolicy),n.title==null&&(n.title=a.title)}function $g(n,a){n.crossOrigin==null&&(n.crossOrigin=a.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=a.referrerPolicy),n.integrity==null&&(n.integrity=a.integrity)}function Qg(n,a,s){if(QE===null){var g=new Map,x=QE=new Map;x.set(s,g)}else x=QE,g=x.get(s),g||(g=new Map,x.set(s,g));if(g.has(n))return g;for(g.set(n,null),s=s.getElementsByTagName(n),x=0;x<s.length;x++){var A=s[x];if(!(A[Md]||A[cr]||n==="link"&&A.getAttribute("rel")==="stylesheet")&&A.namespaceURI!==kd){var L=A.getAttribute(a)||"";L=n+L;var F=g.get(L);F?F.push(A):g.set(L,[A])}}return g}function X0(n,a,s){n=n.ownerDocument||n,n.head.insertBefore(s,a==="title"?n.querySelector("head > title"):null)}function xd(n,a,s){var g=!s.ancestorInfo.containerTagInScope;if(s.context===bb||a.itemProp!=null)return!g||a.itemProp==null||n!=="meta"&&n!=="title"&&n!=="style"&&n!=="link"&&n!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",n,n),!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href===""){g&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError){if(a.rel==="stylesheet"&&typeof a.precedence=="string"){n=a.href;var x=a.onError,A=a.disabled;s=[],a.onLoad&&s.push("`onLoad`"),x&&s.push("`onError`"),A!=null&&s.push("`disabled`"),x=mn(s,"and"),x+=s.length===1?" prop":" props",A=s.length===1?"an "+x:"the "+x,s.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',n,A,x)}g&&(typeof a.rel!="string"||typeof a.href!="string"||a.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(a.onError||a.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(a.rel){case"stylesheet":return n=a.precedence,a=a.disabled,typeof n!="string"&&g&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof n=="string"&&a==null;default:return!0}case"script":if(n=a.async&&typeof a.async!="function"&&typeof a.async!="symbol",!n||a.onLoad||a.onError||!a.src||typeof a.src!="string"){g&&(n?a.onLoad||a.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":g&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",n)}return!1}function qh(n){return!(n.type==="stylesheet"&&(n.state.loading&mB)===Ny)}function Mv(){}function Vh(n,a,s){if(mx===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var g=mx;if(a.type==="stylesheet"&&(typeof s.media!="string"||matchMedia(s.media).matches!==!1)&&(a.state.loading&hc)===Ny){if(a.instance===null){var x=Zu(s.href),A=n.querySelector(As(x));if(A){n=A._p,n!==null&&typeof n=="object"&&typeof n.then=="function"&&(g.count++,g=Yh.bind(g),n.then(g,g)),a.state.loading|=hc,a.instance=A,Ai(A);return}A=n.ownerDocument||n,s=Y0(s),(x=pc.get(x))&&G0(s,x),A=A.createElement("link"),Ai(A);var L=A;L._p=new Promise(function(F,Q){L.onload=F,L.onerror=Q}),Yi(A,"link",s),a.instance=A}g.stylesheets===null&&(g.stylesheets=new Map),g.stylesheets.set(a,n),(n=a.state.preload)&&(a.state.loading&mB)===Ny&&(g.count++,a=Yh.bind(g),n.addEventListener("load",a),n.addEventListener("error",a))}}function Nv(){if(mx===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var n=mx;return n.stylesheets&&n.count===0&&Zg(n,n.stylesheets),0<n.count?function(a){var s=setTimeout(function(){if(n.stylesheets&&Zg(n,n.stylesheets),n.unsuspend){var g=n.unsuspend;n.unsuspend=null,g()}},6e4);return n.unsuspend=a,function(){n.unsuspend=null,clearTimeout(s)}}:null}function Yh(){if(this.count--,this.count===0){if(this.stylesheets)Zg(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}function Zg(n,a){n.stylesheets=null,n.unsuspend!==null&&(n.count++,ZE=new Map,a.forEach(Bv,n),ZE=null,Yh.call(n))}function Bv(n,a){if(!(a.state.loading&hc)){var s=ZE.get(n);if(s)var g=s.get(X_);else{s=new Map,ZE.set(n,s);for(var x=n.querySelectorAll("link[data-precedence],style[data-precedence]"),A=0;A<x.length;A++){var L=x[A];(L.nodeName==="LINK"||L.getAttribute("media")!=="not all")&&(s.set(L.dataset.precedence,L),g=L)}g&&s.set(X_,g)}x=a.instance,L=x.getAttribute("data-precedence"),A=s.get(L)||g,A===g&&s.set(X_,x),s.set(L,x),this.count++,g=Yh.bind(this),x.addEventListener("load",g),x.addEventListener("error",g),A?A.parentNode.insertBefore(x,A.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(x,n.firstChild)),a.state.loading|=hc}}function Wg(n,a,s,g,x,A,L,F){for(this.tag=1,this.containerInfo=n,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=My,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=pt(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pt(0),this.hiddenUpdates=pt(null),this.identifierPrefix=g,this.onUncaughtError=x,this.onCaughtError=A,this.onRecoverableError=L,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=F,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,n=this.pendingUpdatersLaneMap=[],a=0;31>a;a++)n.push(new Set);this._debugRootType=s?"hydrateRoot()":"createRoot()"}function $0(n,a,s,g,x,A,L,F,Q,J,Be,je){return n=new Wg(n,a,s,L,F,Q,J,je),a=dq,A===!0&&(a|=ro|hf),zi&&(a|=Cl),A=_(3,null,null,a),n.current=A,A.stateNode=n,a=fh(),Rc(a),n.pooledCache=a,Rc(a),A.memoizedState={element:g,isDehydrated:s,cache:a},qr(A),n}function Q0(n){return n?(n=gm,n):gm}function ei(n,a,s,g,x,A){if(qa&&typeof qa.onScheduleFiberRoot=="function")try{qa.onScheduleFiberRoot(ec,g,s)}catch(L){rl||(rl=!0,console.error("React instrumentation encountered an error: %s",L))}ct!==null&&typeof ct.markRenderScheduled=="function"&&ct.markRenderScheduled(a),x=Q0(x),g.context===null?g.context=x:g.pendingContext=x,Lr&&Tl!==null&&!SB&&(SB=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
335
|
+
|
|
336
|
+
Check the render method of %s.`,W(Tl)||"Unknown")),g=ns(a),g.payload={element:s},A=A===void 0?null:A,A!==null&&(typeof A!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",A),g.callback=A),s=Vr(n,g,a),s!==null&&(Vi(s,n,a),Ar(s,n,a))}function Kg(n,a){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var s=n.retryLane;n.retryLane=s!==0&&s<a?s:a}}function Z0(n,a){Kg(n,a),(n=n.alternate)&&Kg(n,a)}function W0(n){if(n.tag===13){var a=Ja(n,67108864);a!==null&&Vi(a,n,67108864),Z0(n,67108864)}}function Jg(){return Tl}function B1(){for(var n=new Map,a=1,s=0;31>s;s++){var g=Et(a);n.set(a,g),a*=2}return n}function Lv(n,a,s,g){var x=ze.T;ze.T=null;var A=Ht.p;try{Ht.p=Va,Ts(n,a,s,g)}finally{Ht.p=A,ze.T=x}}function Gh(n,a,s,g){var x=ze.T;ze.T=null;var A=Ht.p;try{Ht.p=Jt,Ts(n,a,s,g)}finally{Ht.p=A,ze.T=x}}function Ts(n,a,s,g){if(KE){var x=Sd(g);if(x===null)Rr(n,a,g,JE,s),su(n,g);else if($h(x,n,a,s,g))g.stopPropagation();else if(su(n,g),a&4&&-1<Vq.indexOf(n)){for(;x!==null;){var A=$n(x);if(A!==null)switch(A.tag){case 3:if(A=A.stateNode,A.current.memoizedState.isDehydrated){var L=un(A.pendingLanes);if(L!==0){var F=A;for(F.pendingLanes|=2,F.entangledLanes|=2;L;){var Q=1<<31-Bi(L);F.entanglements[1]|=Q,L&=~Q}tl(A),(hi&(Bo|yf))===pu&&(zE=wo()+JN,Xu(0))}}break;case 13:F=Ja(A,2),F!==null&&Vi(F,A,2),nu(),Z0(A,2)}if(A=Sd(g),A===null&&Rr(n,a,g,JE,s),A===x)break;x=A}x!==null&&g.stopPropagation()}else Rr(n,a,g,null,s)}}function Sd(n){return n=Cc(n),nf(n)}function nf(n){if(JE=null,n=gr(n),n!==null){var a=U(n);if(a===null)n=null;else{var s=a.tag;if(s===13){if(n=q(a),n!==null)return n;n=null}else if(s===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;n=null}else a!==n&&(n=null)}}return JE=n,null}function Xh(n){switch(n){case"beforetoggle":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"toggle":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 Va;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return Jt;case"message":switch(to()){case wd:return Va;case Jh:return Jt;case rf:case rm:return cu;case Pa:return tp;default:return cu}default:return cu}}function su(n,a){switch(n){case"focusin":case"focusout":Cm=null;break;case"dragenter":case"dragleave":_m=null;break;case"mouseover":case"mouseout":wm=null;break;case"pointerover":case"pointerout":vx.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":bx.delete(a.pointerId)}}function al(n,a,s,g,x,A){return n===null||n.nativeEvent!==A?(n={blockedOn:a,domEventName:s,eventSystemFlags:g,nativeEvent:A,targetContainers:[x]},a!==null&&(a=$n(a),a!==null&&W0(a)),n):(n.eventSystemFlags|=g,a=n.targetContainers,x!==null&&a.indexOf(x)===-1&&a.push(x),n)}function $h(n,a,s,g,x){switch(a){case"focusin":return Cm=al(Cm,n,a,s,g,x),!0;case"dragenter":return _m=al(_m,n,a,s,g,x),!0;case"mouseover":return wm=al(wm,n,a,s,g,x),!0;case"pointerover":var A=x.pointerId;return vx.set(A,al(vx.get(A)||null,n,a,s,g,x)),!0;case"gotpointercapture":return A=x.pointerId,bx.set(A,al(bx.get(A)||null,n,a,s,g,x)),!0}return!1}function kv(n){var a=gr(n.target);if(a!==null){var s=U(a);if(s!==null){if(a=s.tag,a===13){if(a=q(s),a!==null){n.blockedOn=a,vt(n.priority,function(){if(s.tag===13){var g=el(s);g=ot(g);var x=Ja(s,g);x!==null&&Vi(x,s,g),Z0(s,g)}});return}}else if(a===3&&s.stateNode.current.memoizedState.isDehydrated){n.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}n.blockedOn=null}function Wu(n){if(n.blockedOn!==null)return!1;for(var a=n.targetContainers;0<a.length;){var s=Sd(n.nativeEvent);if(s===null){s=n.nativeEvent;var g=new s.constructor(s.type,s),x=g;T!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),T=x,s.target.dispatchEvent(g),T===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),T=null}else return a=$n(s),a!==null&&W0(a),n.blockedOn=s,!1;a.shift()}return!0}function Ed(n,a,s){Wu(n)&&s.delete(a)}function zv(){$_=!1,Cm!==null&&Wu(Cm)&&(Cm=null),_m!==null&&Wu(_m)&&(_m=null),wm!==null&&Wu(wm)&&(wm=null),vx.forEach(Ed),bx.forEach(Ed)}function Qh(n,a){n.blockedOn===a&&(n.blockedOn=null,$_||($_=!0,Xi.unstable_scheduleCallback(Xi.unstable_NormalPriority,zv)))}function em(n){eA!==n&&(eA=n,Xi.unstable_scheduleCallback(Xi.unstable_NormalPriority,function(){eA===n&&(eA=null);for(var a=0;a<n.length;a+=3){var s=n[a],g=n[a+1],x=n[a+2];if(typeof g!="function"){if(nf(g||s)===null)continue;break}var A=$n(s);A!==null&&(n.splice(a,3),a-=3,s={pending:!0,data:x,method:s.method,action:g},Object.freeze(s),Lu(A,s,g,x))}}))}function Ku(n){function a(Q){return Qh(Q,n)}Cm!==null&&Qh(Cm,n),_m!==null&&Qh(_m,n),wm!==null&&Qh(wm,n),vx.forEach(a),bx.forEach(a);for(var s=0;s<Dm.length;s++){var g=Dm[s];g.blockedOn===n&&(g.blockedOn=null)}for(;0<Dm.length&&(s=Dm[0],s.blockedOn===null);)kv(s),s.blockedOn===null&&Dm.shift();if(s=(n.ownerDocument||n).$$reactFormReplay,s!=null)for(g=0;g<s.length;g+=3){var x=s[g],A=s[g+1],L=x[ll]||null;if(typeof A=="function")L||em(s);else if(L){var F=null;if(A&&A.hasAttribute("formAction")){if(x=A,L=A[ll]||null)F=L.formAction;else if(nf(x)!==null)continue}else F=L.action;typeof F=="function"?s[g+1]=F:(s.splice(g,3),g-=3),em(s)}}}function tm(n){this._internalRoot=n}function Zh(n){this._internalRoot=n}function Uv(n){n[tc]&&(n._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Xi=q3(),Wh=I,L1=Xa,Kt=Object.assign,Kh=Symbol.for("react.element"),Ju=Symbol.for("react.transitional.element"),af=Symbol.for("react.portal"),$t=Symbol.for("react.fragment"),Ad=Symbol.for("react.strict_mode"),ur=Symbol.for("react.profiler"),K0=Symbol.for("react.provider"),nm=Symbol.for("react.consumer"),Da=Symbol.for("react.context"),Bt=Symbol.for("react.forward_ref"),Td=Symbol.for("react.suspense"),aa=Symbol.for("react.suspense_list"),Di=Symbol.for("react.memo"),El=Symbol.for("react.lazy"),Cs=Symbol.for("react.activity"),Hv=Symbol.for("react.memo_cache_sentinel"),J0=Symbol.iterator,im=Symbol.for("react.client.reference"),Pt=Array.isArray,ze=Wh.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ht=L1.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,k1=Object.freeze({pending:!1,data:null,method:null,action:null}),Al=[],Cd=[],Nr=-1,Yn=ge(null),di=ge(null),_o=ge(null),_d=ge(null),uu=Object.prototype.hasOwnProperty,am=Xi.unstable_scheduleCallback,z1=Xi.unstable_cancelCallback,jv=Xi.unstable_shouldYield,U1=Xi.unstable_requestPaint,wo=Xi.unstable_now,to=Xi.unstable_getCurrentPriorityLevel,wd=Xi.unstable_ImmediatePriority,Jh=Xi.unstable_UserBlockingPriority,rf=Xi.unstable_NormalPriority,rm=Xi.unstable_LowPriority,Pa=Xi.unstable_IdlePriority,Dd=Xi.log,Do=Xi.unstable_setDisableYieldValue,ec=null,qa=null,ct=null,rl=!1,zi=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",Bi=Math.clz32?Math.clz32:Rt,qt=Math.log,_s=Math.LN2,Br=256,ep=4194304,Va=2,Jt=8,cu=32,tp=268435456,Oo=Math.random().toString(36).slice(2),cr="__reactFiber$"+Oo,ll="__reactProps$"+Oo,tc="__reactContainer$"+Oo,ey="__reactEvents$"+Oo,Fv="__reactListeners$"+Oo,Od="__reactHandles$"+Oo,Rd="__reactResources$"+Oo,Md="__reactMarker$"+Oo,Iv=new Set,no={},lf={},Pv={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},lm=RegExp("^[: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]*$"),Nd={},om={},ws=0,ty,ny,qv,da,va,Vv,Yv;Ii.__reactDisabledLog=!0;var iy,Bd,Ld=!1,np=new(typeof WeakMap=="function"?WeakMap:Map),Tl=null,Lr=!1,H1=/[\n"\\]/g,ay=!1,ry=!1,sm=!1,um=!1,cm=!1,ly=!1,ip=["value","defaultValue"],Gv=!1,of=/["'&<>\n\t]|^\s|\s$/,oy="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),fm="applet caption html table td th marquee object template foreignObject desc title".split(" "),dm=fm.concat(["button"]),sy="dd dt li option optgroup p rp rt".split(" "),uy={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},sf={},Ro={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},fu=/([A-Z])/g,du=/^ms-/,ap=/^(?:webkit|moz|o)[A-Z]/,rp=/^-ms-/,nc=/-(.)/g,Xv=/;\s*$/,uf={},cf={},$v=!1,cy=!1,lp=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),op="http://www.w3.org/1998/Math/MathML",kd="http://www.w3.org/2000/svg",hm=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),ff={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},fy={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Ds={},dy=RegExp("^(aria)-[: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]*$"),pm=RegExp("^(aria)[A-Z][: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]*$"),hy=!1,kr={},sp=/^on./,l=/^on[^A-Z]/,u=RegExp("^(aria)-[: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]*$"),d=RegExp("^(aria)[A-Z][: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]*$"),v=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,T=null,D=null,V=null,$=!1,re=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ce=!1;if(re)try{var Xe={};Object.defineProperty(Xe,"passive",{get:function(){Ce=!0}}),window.addEventListener("test",Xe,Xe),window.removeEventListener("test",Xe,Xe)}catch{Ce=!1}var We=null,Ne=null,_e=null,At={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},wt=Wt(At),In=Kt({},At,{view:0,detail:0}),xe=Wt(In),he,Te,Ze,dt=Kt({},In,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Pp,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==Ze&&(Ze&&n.type==="mousemove"?(he=n.screenX-Ze.screenX,Te=n.screenY-Ze.screenY):Te=he=0,Ze=n),he)},movementY:function(n){return"movementY"in n?n.movementY:Te}}),ln=Wt(dt),St=Kt({},dt,{dataTransfer:0}),zt=Wt(St),Oa=Kt({},In,{relatedTarget:0}),Cn=Wt(Oa),ic=Kt({},At,{animationName:0,elapsedTime:0,pseudoElement:0}),j1=Wt(ic),HC=Kt({},At,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),F1=Wt(HC),I1=Kt({},At,{data:0}),yE=Wt(I1),jC=yE,FC={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},IC={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"},PC={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},qC=Kt({},In,{key:function(n){if(n.key){var a=FC[n.key]||n.key;if(a!=="Unidentified")return a}return n.type==="keypress"?(n=Lf(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?IC[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Pp,charCode:function(n){return n.type==="keypress"?Lf(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?Lf(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),VC=Wt(qC),YC=Kt({},dt,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),vE=Wt(YC),GC=Kt({},In,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Pp}),XC=Wt(GC),$C=Kt({},At,{propertyName:0,elapsedTime:0,pseudoElement:0}),QC=Wt($C),ZC=Kt({},dt,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),WC=Wt(ZC),KC=Kt({},At,{newState:0,oldState:0}),JC=Wt(KC),e_=[9,13,27,32],bE=229,P1=re&&"CompositionEvent"in window,py=null;re&&"documentMode"in document&&(py=document.documentMode);var h=re&&"TextEvent"in window&&!py,y=re&&(!P1||py&&8<py&&11>=py),C=32,k=String.fromCharCode(C),G=!1,Z=!1,oe={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},fe=null,Se=null,Je=!1;re&&(Je=Vp("input")&&(!document.documentMode||9<document.documentMode));var $e=typeof Object.is=="function"?Object.is:yv,et=re&&"documentMode"in document&&11>=document.documentMode,lt=null,yt=null,Mt=null,en=!1,Dt={animationend:Ka("Animation","AnimationEnd"),animationiteration:Ka("Animation","AnimationIteration"),animationstart:Ka("Animation","AnimationStart"),transitionrun:Ka("Transition","TransitionRun"),transitionstart:Ka("Transition","TransitionStart"),transitioncancel:Ka("Transition","TransitionCancel"),transitionend:Ka("Transition","TransitionEnd")},vn={},Nn={};re&&(Nn=document.createElement("div").style,"AnimationEvent"in window||(delete Dt.animationend.animation,delete Dt.animationiteration.animation,delete Dt.animationstart.animation),"TransitionEvent"in window||delete Dt.transitionend.transition);var io=Wo("animationend"),ol=Wo("animationiteration"),ao=Wo("animationstart"),ba=Wo("transitionrun"),hu=Wo("transitionstart"),df=Wo("transitioncancel"),q1=Wo("transitionend"),X3=new Map,t_="abort auxClick beforeToggle 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(" ");t_.push("scrollEnd");var n_=new WeakMap,i_=1,gy=2,ac=[],Qv=0,a_=0,gm={};Object.freeze(gm);var rc=null,Zv=null,$i=0,dq=1,Cl=2,ro=8,hf=16,$3=64,Q3=!1;try{var Z3=Object.preventExtensions({})}catch{Q3=!0}var Wv=[],Kv=0,xE=null,SE=0,lc=[],oc=0,my=null,up=1,cp="",Mo=null,Ra=null,Zn=!1,fp=!1,sc=null,yy=null,zd=!1,r_=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),W3=0;if(typeof performance=="object"&&typeof performance.now=="function")var hq=performance,K3=function(){return hq.now()};else{var pq=Date;K3=function(){return pq.now()}}var l_=ge(null),o_=ge(null),J3={},EE=null,Jv=null,eb=!1,gq=typeof AbortController<"u"?AbortController:function(){var n=[],a=this.signal={aborted:!1,addEventListener:function(s,g){n.push(g)}};this.abort=function(){a.aborted=!0,n.forEach(function(s){return s()})}},mq=Xi.unstable_scheduleCallback,yq=Xi.unstable_NormalPriority,zr={$$typeof:Da,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},tb=Xi.unstable_now,eN=-0,AE=-0,Os=-1.1,vy=-0,TE=!1,CE=!1,V1=null,s_=0,by=0,nb=null,tN=ze.S;ze.S=function(n,a){typeof a=="object"&&a!==null&&typeof a.then=="function"&&Wp(n,a),tN!==null&&tN(n,a)};var xy=ge(null),pf={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Y1=[],G1=[],X1=[],$1=[],Q1=[],Z1=[],Sy=new Set;pf.recordUnsafeLifecycleWarnings=function(n,a){Sy.has(n.type)||(typeof a.componentWillMount=="function"&&a.componentWillMount.__suppressDeprecationWarning!==!0&&Y1.push(n),n.mode&ro&&typeof a.UNSAFE_componentWillMount=="function"&&G1.push(n),typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&X1.push(n),n.mode&ro&&typeof a.UNSAFE_componentWillReceiveProps=="function"&&$1.push(n),typeof a.componentWillUpdate=="function"&&a.componentWillUpdate.__suppressDeprecationWarning!==!0&&Q1.push(n),n.mode&ro&&typeof a.UNSAFE_componentWillUpdate=="function"&&Z1.push(n))},pf.flushPendingUnsafeLifecycleWarnings=function(){var n=new Set;0<Y1.length&&(Y1.forEach(function(F){n.add(W(F)||"Component"),Sy.add(F.type)}),Y1=[]);var a=new Set;0<G1.length&&(G1.forEach(function(F){a.add(W(F)||"Component"),Sy.add(F.type)}),G1=[]);var s=new Set;0<X1.length&&(X1.forEach(function(F){s.add(W(F)||"Component"),Sy.add(F.type)}),X1=[]);var g=new Set;0<$1.length&&($1.forEach(function(F){g.add(W(F)||"Component"),Sy.add(F.type)}),$1=[]);var x=new Set;0<Q1.length&&(Q1.forEach(function(F){x.add(W(F)||"Component"),Sy.add(F.type)}),Q1=[]);var A=new Set;if(0<Z1.length&&(Z1.forEach(function(F){A.add(W(F)||"Component"),Sy.add(F.type)}),Z1=[]),0<a.size){var L=E(a);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
337
|
+
|
|
338
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
339
|
+
|
|
340
|
+
Please update the following components: %s`,L)}0<g.size&&(L=E(g),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
341
|
+
|
|
342
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
343
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
344
|
+
|
|
345
|
+
Please update the following components: %s`,L)),0<A.size&&(L=E(A),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
346
|
+
|
|
347
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
348
|
+
|
|
349
|
+
Please update the following components: %s`,L)),0<n.size&&(L=E(n),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
350
|
+
|
|
351
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
352
|
+
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
353
|
+
|
|
354
|
+
Please update the following components: %s`,L)),0<s.size&&(L=E(s),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
355
|
+
|
|
356
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
357
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
358
|
+
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
359
|
+
|
|
360
|
+
Please update the following components: %s`,L)),0<x.size&&(L=E(x),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
361
|
+
|
|
362
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
363
|
+
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
364
|
+
|
|
365
|
+
Please update the following components: %s`,L))};var _E=new Map,nN=new Set;pf.recordLegacyContextWarning=function(n,a){for(var s=null,g=n;g!==null;)g.mode&ro&&(s=g),g=g.return;s===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!nN.has(n.type)&&(g=_E.get(s),n.type.contextTypes!=null||n.type.childContextTypes!=null||a!==null&&typeof a.getChildContext=="function")&&(g===void 0&&(g=[],_E.set(s,g)),g.push(n))},pf.flushLegacyContextWarning=function(){_E.forEach(function(n){if(n.length!==0){var a=n[0],s=new Set;n.forEach(function(x){s.add(W(x)||"Component"),nN.add(x.type)});var g=E(s);ft(a,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
366
|
+
|
|
367
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
368
|
+
|
|
369
|
+
Please update the following components: %s
|
|
370
|
+
|
|
371
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,g)})}})},pf.discardPendingWarnings=function(){Y1=[],G1=[],X1=[],$1=[],Q1=[],Z1=[],_E=new Map};var W1=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),iN=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),wE=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),u_={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},K1=null,DE=!1,uc=0,cc=1,No=2,_l=4,Ur=8,aN=0,rN=1,lN=2,c_=3,mm=!1,oN=!1,f_=null,d_=!1,ib=ge(null),OE=ge(0),ab,sN=new Set,uN=new Set,h_=new Set,cN=new Set,ym=0,Qt=null,Li=null,fr=null,RE=!1,rb=!1,Ey=!1,ME=0,J1=0,dp=null,vq=0,bq=25,He=null,fc=null,hp=-1,ex=!1,NE={readContext:yi,use:Yl,useCallback:vi,useContext:vi,useEffect:vi,useImperativeHandle:vi,useLayoutEffect:vi,useInsertionEffect:vi,useMemo:vi,useReducer:vi,useRef:vi,useState:vi,useDebugValue:vi,useDeferredValue:vi,useTransition:vi,useSyncExternalStore:vi,useId:vi,useHostTransitionStatus:vi,useFormState:vi,useActionState:vi,useOptimistic:vi,useMemoCache:vi,useCacheRefresh:vi},p_=null,fN=null,g_=null,dN=null,Ud=null,gf=null,BE=null;p_={readContext:function(n){return yi(n)},use:Yl,useCallback:function(n,a){return He="useCallback",Yt(),ql(a),mo(n,a)},useContext:function(n){return He="useContext",Yt(),yi(n)},useEffect:function(n,a){return He="useEffect",Yt(),ql(a),tg(n,a)},useImperativeHandle:function(n,a,s){return He="useImperativeHandle",Yt(),ql(s),ig(n,a,s)},useInsertionEffect:function(n,a){He="useInsertionEffect",Yt(),ql(a),Gl(4,No,n,a)},useLayoutEffect:function(n,a){return He="useLayoutEffect",Yt(),ql(a),ng(n,a)},useMemo:function(n,a){He="useMemo",Yt(),ql(a);var s=ze.H;ze.H=Ud;try{return ag(n,a)}finally{ze.H=s}},useReducer:function(n,a,s){He="useReducer",Yt();var g=ze.H;ze.H=Ud;try{return cn(n,a,s)}finally{ze.H=g}},useRef:function(n){return He="useRef",Yt(),vh(n)},useState:function(n){He="useState",Yt();var a=ze.H;ze.H=Ud;try{return rs(n)}finally{ze.H=a}},useDebugValue:function(){He="useDebugValue",Yt()},useDeferredValue:function(n,a){return He="useDeferredValue",Yt(),rg(n,a)},useTransition:function(){return He="useTransition",Yt(),Xl()},useSyncExternalStore:function(n,a,s){return He="useSyncExternalStore",Yt(),Gr(n,a,s)},useId:function(){return He="useId",Yt(),yo()},useFormState:function(n,a){return He="useFormState",Yt(),Vf(),$f(n,a)},useActionState:function(n,a){return He="useActionState",Yt(),$f(n,a)},useOptimistic:function(n){return He="useOptimistic",Yt(),X(n)},useHostTransitionStatus:$r,useMemoCache:_i,useCacheRefresh:function(){return He="useCacheRefresh",Yt(),Uc()}},fN={readContext:function(n){return yi(n)},use:Yl,useCallback:function(n,a){return He="useCallback",tt(),mo(n,a)},useContext:function(n){return He="useContext",tt(),yi(n)},useEffect:function(n,a){return He="useEffect",tt(),tg(n,a)},useImperativeHandle:function(n,a,s){return He="useImperativeHandle",tt(),ig(n,a,s)},useInsertionEffect:function(n,a){He="useInsertionEffect",tt(),Gl(4,No,n,a)},useLayoutEffect:function(n,a){return He="useLayoutEffect",tt(),ng(n,a)},useMemo:function(n,a){He="useMemo",tt();var s=ze.H;ze.H=Ud;try{return ag(n,a)}finally{ze.H=s}},useReducer:function(n,a,s){He="useReducer",tt();var g=ze.H;ze.H=Ud;try{return cn(n,a,s)}finally{ze.H=g}},useRef:function(n){return He="useRef",tt(),vh(n)},useState:function(n){He="useState",tt();var a=ze.H;ze.H=Ud;try{return rs(n)}finally{ze.H=a}},useDebugValue:function(){He="useDebugValue",tt()},useDeferredValue:function(n,a){return He="useDeferredValue",tt(),rg(n,a)},useTransition:function(){return He="useTransition",tt(),Xl()},useSyncExternalStore:function(n,a,s){return He="useSyncExternalStore",tt(),Gr(n,a,s)},useId:function(){return He="useId",tt(),yo()},useActionState:function(n,a){return He="useActionState",tt(),$f(n,a)},useFormState:function(n,a){return He="useFormState",tt(),Vf(),$f(n,a)},useOptimistic:function(n){return He="useOptimistic",tt(),X(n)},useHostTransitionStatus:$r,useMemoCache:_i,useCacheRefresh:function(){return He="useCacheRefresh",tt(),Uc()}},g_={readContext:function(n){return yi(n)},use:Yl,useCallback:function(n,a){return He="useCallback",tt(),kc(n,a)},useContext:function(n){return He="useContext",tt(),yi(n)},useEffect:function(n,a){He="useEffect",tt(),ci(2048,Ur,n,a)},useImperativeHandle:function(n,a,s){return He="useImperativeHandle",tt(),os(n,a,s)},useInsertionEffect:function(n,a){return He="useInsertionEffect",tt(),ci(4,No,n,a)},useLayoutEffect:function(n,a){return He="useLayoutEffect",tt(),ci(4,_l,n,a)},useMemo:function(n,a){He="useMemo",tt();var s=ze.H;ze.H=gf;try{return Ca(n,a)}finally{ze.H=s}},useReducer:function(n,a,s){He="useReducer",tt();var g=ze.H;ze.H=gf;try{return nr(n,a,s)}finally{ze.H=g}},useRef:function(){return He="useRef",tt(),Tn().memoizedState},useState:function(){He="useState",tt();var n=ze.H;ze.H=gf;try{return nr(Mn)}finally{ze.H=n}},useDebugValue:function(){He="useDebugValue",tt()},useDeferredValue:function(n,a){return He="useDeferredValue",tt(),bh(n,a)},useTransition:function(){return He="useTransition",tt(),ku()},useSyncExternalStore:function(n,a,s){return He="useSyncExternalStore",tt(),gh(n,a,s)},useId:function(){return He="useId",tt(),Tn().memoizedState},useFormState:function(n){return He="useFormState",tt(),Vf(),eg(n)},useActionState:function(n){return He="useActionState",tt(),eg(n)},useOptimistic:function(n,a){return He="useOptimistic",tt(),Xr(n,a)},useHostTransitionStatus:$r,useMemoCache:_i,useCacheRefresh:function(){return He="useCacheRefresh",tt(),Tn().memoizedState}},dN={readContext:function(n){return yi(n)},use:Yl,useCallback:function(n,a){return He="useCallback",tt(),kc(n,a)},useContext:function(n){return He="useContext",tt(),yi(n)},useEffect:function(n,a){He="useEffect",tt(),ci(2048,Ur,n,a)},useImperativeHandle:function(n,a,s){return He="useImperativeHandle",tt(),os(n,a,s)},useInsertionEffect:function(n,a){return He="useInsertionEffect",tt(),ci(4,No,n,a)},useLayoutEffect:function(n,a){return He="useLayoutEffect",tt(),ci(4,_l,n,a)},useMemo:function(n,a){He="useMemo",tt();var s=ze.H;ze.H=BE;try{return Ca(n,a)}finally{ze.H=s}},useReducer:function(n,a,s){He="useReducer",tt();var g=ze.H;ze.H=BE;try{return as(n,a,s)}finally{ze.H=g}},useRef:function(){return He="useRef",tt(),Tn().memoizedState},useState:function(){He="useState",tt();var n=ze.H;ze.H=BE;try{return as(Mn)}finally{ze.H=n}},useDebugValue:function(){He="useDebugValue",tt()},useDeferredValue:function(n,a){return He="useDeferredValue",tt(),lg(n,a)},useTransition:function(){return He="useTransition",tt(),zc()},useSyncExternalStore:function(n,a,s){return He="useSyncExternalStore",tt(),gh(n,a,s)},useId:function(){return He="useId",tt(),Tn().memoizedState},useFormState:function(n){return He="useFormState",tt(),Vf(),Qf(n)},useActionState:function(n){return He="useActionState",tt(),Qf(n)},useOptimistic:function(n,a){return He="useOptimistic",tt(),Cr(n,a)},useHostTransitionStatus:$r,useMemoCache:_i,useCacheRefresh:function(){return He="useCacheRefresh",tt(),Tn().memoizedState}},Ud={readContext:function(n){return b(),yi(n)},use:function(n){return m(),Yl(n)},useCallback:function(n,a){return He="useCallback",m(),Yt(),mo(n,a)},useContext:function(n){return He="useContext",m(),Yt(),yi(n)},useEffect:function(n,a){return He="useEffect",m(),Yt(),tg(n,a)},useImperativeHandle:function(n,a,s){return He="useImperativeHandle",m(),Yt(),ig(n,a,s)},useInsertionEffect:function(n,a){He="useInsertionEffect",m(),Yt(),Gl(4,No,n,a)},useLayoutEffect:function(n,a){return He="useLayoutEffect",m(),Yt(),ng(n,a)},useMemo:function(n,a){He="useMemo",m(),Yt();var s=ze.H;ze.H=Ud;try{return ag(n,a)}finally{ze.H=s}},useReducer:function(n,a,s){He="useReducer",m(),Yt();var g=ze.H;ze.H=Ud;try{return cn(n,a,s)}finally{ze.H=g}},useRef:function(n){return He="useRef",m(),Yt(),vh(n)},useState:function(n){He="useState",m(),Yt();var a=ze.H;ze.H=Ud;try{return rs(n)}finally{ze.H=a}},useDebugValue:function(){He="useDebugValue",m(),Yt()},useDeferredValue:function(n,a){return He="useDeferredValue",m(),Yt(),rg(n,a)},useTransition:function(){return He="useTransition",m(),Yt(),Xl()},useSyncExternalStore:function(n,a,s){return He="useSyncExternalStore",m(),Yt(),Gr(n,a,s)},useId:function(){return He="useId",m(),Yt(),yo()},useFormState:function(n,a){return He="useFormState",m(),Yt(),$f(n,a)},useActionState:function(n,a){return He="useActionState",m(),Yt(),$f(n,a)},useOptimistic:function(n){return He="useOptimistic",m(),Yt(),X(n)},useMemoCache:function(n){return m(),_i(n)},useHostTransitionStatus:$r,useCacheRefresh:function(){return He="useCacheRefresh",Yt(),Uc()}},gf={readContext:function(n){return b(),yi(n)},use:function(n){return m(),Yl(n)},useCallback:function(n,a){return He="useCallback",m(),tt(),kc(n,a)},useContext:function(n){return He="useContext",m(),tt(),yi(n)},useEffect:function(n,a){He="useEffect",m(),tt(),ci(2048,Ur,n,a)},useImperativeHandle:function(n,a,s){return He="useImperativeHandle",m(),tt(),os(n,a,s)},useInsertionEffect:function(n,a){return He="useInsertionEffect",m(),tt(),ci(4,No,n,a)},useLayoutEffect:function(n,a){return He="useLayoutEffect",m(),tt(),ci(4,_l,n,a)},useMemo:function(n,a){He="useMemo",m(),tt();var s=ze.H;ze.H=gf;try{return Ca(n,a)}finally{ze.H=s}},useReducer:function(n,a,s){He="useReducer",m(),tt();var g=ze.H;ze.H=gf;try{return nr(n,a,s)}finally{ze.H=g}},useRef:function(){return He="useRef",m(),tt(),Tn().memoizedState},useState:function(){He="useState",m(),tt();var n=ze.H;ze.H=gf;try{return nr(Mn)}finally{ze.H=n}},useDebugValue:function(){He="useDebugValue",m(),tt()},useDeferredValue:function(n,a){return He="useDeferredValue",m(),tt(),bh(n,a)},useTransition:function(){return He="useTransition",m(),tt(),ku()},useSyncExternalStore:function(n,a,s){return He="useSyncExternalStore",m(),tt(),gh(n,a,s)},useId:function(){return He="useId",m(),tt(),Tn().memoizedState},useFormState:function(n){return He="useFormState",m(),tt(),eg(n)},useActionState:function(n){return He="useActionState",m(),tt(),eg(n)},useOptimistic:function(n,a){return He="useOptimistic",m(),tt(),Xr(n,a)},useMemoCache:function(n){return m(),_i(n)},useHostTransitionStatus:$r,useCacheRefresh:function(){return He="useCacheRefresh",tt(),Tn().memoizedState}},BE={readContext:function(n){return b(),yi(n)},use:function(n){return m(),Yl(n)},useCallback:function(n,a){return He="useCallback",m(),tt(),kc(n,a)},useContext:function(n){return He="useContext",m(),tt(),yi(n)},useEffect:function(n,a){He="useEffect",m(),tt(),ci(2048,Ur,n,a)},useImperativeHandle:function(n,a,s){return He="useImperativeHandle",m(),tt(),os(n,a,s)},useInsertionEffect:function(n,a){return He="useInsertionEffect",m(),tt(),ci(4,No,n,a)},useLayoutEffect:function(n,a){return He="useLayoutEffect",m(),tt(),ci(4,_l,n,a)},useMemo:function(n,a){He="useMemo",m(),tt();var s=ze.H;ze.H=gf;try{return Ca(n,a)}finally{ze.H=s}},useReducer:function(n,a,s){He="useReducer",m(),tt();var g=ze.H;ze.H=gf;try{return as(n,a,s)}finally{ze.H=g}},useRef:function(){return He="useRef",m(),tt(),Tn().memoizedState},useState:function(){He="useState",m(),tt();var n=ze.H;ze.H=gf;try{return as(Mn)}finally{ze.H=n}},useDebugValue:function(){He="useDebugValue",m(),tt()},useDeferredValue:function(n,a){return He="useDeferredValue",m(),tt(),lg(n,a)},useTransition:function(){return He="useTransition",m(),tt(),zc()},useSyncExternalStore:function(n,a,s){return He="useSyncExternalStore",m(),tt(),gh(n,a,s)},useId:function(){return He="useId",m(),tt(),Tn().memoizedState},useFormState:function(n){return He="useFormState",m(),tt(),Qf(n)},useActionState:function(n){return He="useActionState",m(),tt(),Qf(n)},useOptimistic:function(n,a){return He="useOptimistic",m(),tt(),Cr(n,a)},useMemoCache:function(n){return m(),_i(n)},useHostTransitionStatus:$r,useCacheRefresh:function(){return He="useCacheRefresh",tt(),Tn().memoizedState}};var hN={"react-stack-bottom-frame":function(n,a,s){var g=Lr;Lr=!0;try{return n(a,s)}finally{Lr=g}}},m_=hN["react-stack-bottom-frame"].bind(hN),pN={"react-stack-bottom-frame":function(n){var a=Lr;Lr=!0;try{return n.render()}finally{Lr=a}}},gN=pN["react-stack-bottom-frame"].bind(pN),mN={"react-stack-bottom-frame":function(n,a){try{a.componentDidMount()}catch(s){_t(n,n.return,s)}}},y_=mN["react-stack-bottom-frame"].bind(mN),yN={"react-stack-bottom-frame":function(n,a,s,g,x){try{a.componentDidUpdate(s,g,x)}catch(A){_t(n,n.return,A)}}},vN=yN["react-stack-bottom-frame"].bind(yN),bN={"react-stack-bottom-frame":function(n,a){var s=a.stack;n.componentDidCatch(a.value,{componentStack:s!==null?s:""})}},xq=bN["react-stack-bottom-frame"].bind(bN),xN={"react-stack-bottom-frame":function(n,a,s){try{s.componentWillUnmount()}catch(g){_t(n,a,g)}}},SN=xN["react-stack-bottom-frame"].bind(xN),EN={"react-stack-bottom-frame":function(n){n.resourceKind!=null&&console.error("Expected only SimpleEffects when enableUseEffectCRUDOverload is disabled, got %s",n.resourceKind);var a=n.create;return n=n.inst,a=a(),n.destroy=a}},Sq=EN["react-stack-bottom-frame"].bind(EN),AN={"react-stack-bottom-frame":function(n,a,s){try{s()}catch(g){_t(n,a,g)}}},Eq=AN["react-stack-bottom-frame"].bind(AN),TN={"react-stack-bottom-frame":function(n){var a=n._init;return a(n._payload)}},vm=TN["react-stack-bottom-frame"].bind(TN),lb=null,tx=0,bn=null,v_,CN=v_=!1,_N={},wN={},DN={};p=function(n,a,s){if(s!==null&&typeof s=="object"&&s._store&&(!s._store.validated&&s.key==null||s._store.validated===2)){if(typeof s._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");s._store.validated=1;var g=W(n),x=g||"null";if(!_N[x]){_N[x]=!0,s=s._owner,n=n._debugOwner;var A="";n&&typeof n.tag=="number"&&(x=W(n))&&(A=`
|
|
372
|
+
|
|
373
|
+
Check the render method of \``+x+"`."),A||g&&(A=`
|
|
374
|
+
|
|
375
|
+
Check the top-level render call using <`+g+">.");var L="";s!=null&&n!==s&&(g=null,typeof s.tag=="number"?g=W(s):typeof s.name=="string"&&(g=s.name),g&&(L=" It was passed a child from "+g+".")),ft(a,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',A,L)})}}};var ob=jc(!0),ON=jc(!1),dc=ge(null),Hd=null,sb=1,nx=2,Hr=ge(0),RN={},MN=new Set,NN=new Set,BN=new Set,LN=new Set,kN=new Set,zN=new Set,UN=new Set,HN=new Set,jN=new Set,FN=new Set;Object.freeze(RN);var b_={enqueueSetState:function(n,a,s){n=n._reactInternals;var g=el(n),x=ns(g);x.payload=a,s!=null&&(cg(s),x.callback=s),a=Vr(n,x,g),a!==null&&(Vi(a,n,g),Ar(a,n,g)),Ct(n,g)},enqueueReplaceState:function(n,a,s){n=n._reactInternals;var g=el(n),x=ns(g);x.tag=rN,x.payload=a,s!=null&&(cg(s),x.callback=s),a=Vr(n,x,g),a!==null&&(Vi(a,n,g),Ar(a,n,g)),Ct(n,g)},enqueueForceUpdate:function(n,a){n=n._reactInternals;var s=el(n),g=ns(s);g.tag=lN,a!=null&&(cg(a),g.callback=a),a=Vr(n,g,s),a!==null&&(Vi(a,n,s),Ar(a,n,s)),ct!==null&&typeof ct.markForceUpdateScheduled=="function"&&ct.markForceUpdateScheduled(n,s)}},x_=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},ub=null,S_=null,IN=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),sl=!1,PN={},qN={},VN={},YN={},cb=!1,GN={},E_={},A_={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},XN=!1,$N=null;$N=new Set;var pp=!1,Ya=!1,T_=!1,QN=typeof WeakSet=="function"?WeakSet:Set,ul=null,fb=null,db=null,dr=null,Rs=!1,mf=null,ix=8192,Aq={getCacheForType:function(n){var a=yi(zr),s=a.data.get(n);return s===void 0&&(s=n(),a.data.set(n,s)),s},getOwner:function(){return Tl}};if(typeof Symbol=="function"&&Symbol.for){var ax=Symbol.for;ax("selector.component"),ax("selector.has_pseudo_class"),ax("selector.role"),ax("selector.test_id"),ax("selector.text")}var Tq=[],Cq=typeof WeakMap=="function"?WeakMap:Map,pu=0,Bo=2,yf=4,gp=0,rx=1,hb=2,C_=3,Ay=4,LE=6,ZN=5,hi=pu,Ui=null,_n=null,Bn=0,Ms=0,lx=1,Ty=2,ox=3,WN=4,__=5,pb=6,sx=7,w_=8,Cy=9,Si=Ms,gu=null,bm=!1,gb=!1,D_=!1,jd=0,Ma=gp,xm=0,Sm=0,O_=0,mu=0,_y=0,ux=null,Lo=null,kE=!1,R_=0,KN=300,zE=1/0,JN=500,cx=null,Em=null,_q=0,wq=1,Dq=2,wy=0,eB=1,tB=2,nB=3,Oq=4,M_=5,wl=0,Am=null,mb=null,Tm=0,N_=0,B_=null,iB=null,Rq=50,fx=0,L_=null,k_=!1,UE=!1,Mq=50,Dy=0,dx=null,yb=!1,HE=null,aB=!1,rB=new Set,Nq={},jE=null,vb=null,z_=!1,U_=!1,FE=!1,H_=!1,Oy=0,j_={};(function(){for(var n=0;n<t_.length;n++){var a=t_[n],s=a.toLowerCase();a=a[0].toUpperCase()+a.slice(1),pl(s,"on"+a)}pl(io,"onAnimationEnd"),pl(ol,"onAnimationIteration"),pl(ao,"onAnimationStart"),pl("dblclick","onDoubleClick"),pl("focusin","onFocus"),pl("focusout","onBlur"),pl(ba,"onTransitionRun"),pl(hu,"onTransitionStart"),pl(df,"onTransitionCancel"),pl(q1,"onTransitionEnd")})(),uo("onMouseEnter",["mouseout","mouseover"]),uo("onMouseLeave",["mouseout","mouseover"]),uo("onPointerEnter",["pointerout","pointerover"]),uo("onPointerLeave",["pointerout","pointerover"]),mr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),mr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),mr("onBeforeInput",["compositionend","keypress","textInput","paste"]),mr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),mr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),mr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var hx="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(" "),F_=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(hx)),IE="_reactListening"+Math.random().toString(36).slice(2),lB=!1,oB=!1,PE=!1,sB=!1,qE=!1,VE=!1,uB=!1,YE={},Bq=/\r\n?/g,Lq=/\u0000|\uFFFD/g,Ry="http://www.w3.org/1999/xlink",I_="http://www.w3.org/XML/1998/namespace",kq="javascript:throw new Error('React form unexpectedly submitted.')",zq="suppressHydrationWarning",GE="$",XE="/$",mp="$?",px="$!",Uq=1,Hq=2,jq=4,P_="F!",cB="F",fB="complete",Fq="style",yp=0,bb=1,$E=2,q_=null,V_=null,dB={dialog:!0,webview:!0},Y_=null,hB=typeof setTimeout=="function"?setTimeout:void 0,Iq=typeof clearTimeout=="function"?clearTimeout:void 0,My=-1,pB=typeof Promise=="function"?Promise:void 0,Pq=typeof queueMicrotask=="function"?queueMicrotask:typeof pB<"u"?function(n){return pB.resolve(null).then(n).catch(j0)}:hB,G_=null,Ny=0,gx=1,gB=2,mB=3,hc=4,pc=new Map,yB=new Set,vp=Ht.d;Ht.d={f:function(){var n=vp.f(),a=nu();return n||a},r:function(n){var a=$n(n);a!==null&&a.tag===5&&a.type==="form"?v0(a):vp.r(n)},D:function(n){vp.D(n),Ov("dns-prefetch",n,null)},C:function(n,a){vp.C(n,a),Ov("preconnect",n,a)},L:function(n,a,s){vp.L(n,a,s);var g=xb;if(g&&n&&a){var x='link[rel="preload"][as="'+yr(a)+'"]';a==="image"&&s&&s.imageSrcSet?(x+='[imagesrcset="'+yr(s.imageSrcSet)+'"]',typeof s.imageSizes=="string"&&(x+='[imagesizes="'+yr(s.imageSizes)+'"]')):x+='[href="'+yr(n)+'"]';var A=x;switch(a){case"style":A=Zu(n);break;case"script":A=ef(n)}pc.has(A)||(n=Kt({rel:"preload",href:a==="image"&&s&&s.imageSrcSet?void 0:n,as:a},s),pc.set(A,n),g.querySelector(x)!==null||a==="style"&&g.querySelector(As(A))||a==="script"&&g.querySelector(tf(A))||(a=g.createElement("link"),Yi(a,"link",n),Ai(a),g.head.appendChild(a)))}},m:function(n,a){vp.m(n,a);var s=xb;if(s&&n){var g=a&&typeof a.as=="string"?a.as:"script",x='link[rel="modulepreload"][as="'+yr(g)+'"][href="'+yr(n)+'"]',A=x;switch(g){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":A=ef(n)}if(!pc.has(A)&&(n=Kt({rel:"modulepreload",href:n},a),pc.set(A,n),s.querySelector(x)===null)){switch(g){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(s.querySelector(tf(A)))return}g=s.createElement("link"),Yi(g,"link",n),Ai(g),s.head.appendChild(g)}}},X:function(n,a){vp.X(n,a);var s=xb;if(s&&n){var g=Qa(s).hoistableScripts,x=ef(n),A=g.get(x);A||(A=s.querySelector(tf(x)),A||(n=Kt({src:n,async:!0},a),(a=pc.get(x))&&$g(n,a),A=s.createElement("script"),Ai(A),Yi(A,"link",n),s.head.appendChild(A)),A={type:"script",instance:A,count:1,state:null},g.set(x,A))}},S:function(n,a,s){vp.S(n,a,s);var g=xb;if(g&&n){var x=Qa(g).hoistableStyles,A=Zu(n);a=a||"default";var L=x.get(A);if(!L){var F={loading:Ny,preload:null};if(L=g.querySelector(As(A)))F.loading=gx|hc;else{n=Kt({rel:"stylesheet",href:n,"data-precedence":a},s),(s=pc.get(A))&&G0(n,s);var Q=L=g.createElement("link");Ai(Q),Yi(Q,"link",n),Q._p=new Promise(function(J,Be){Q.onload=J,Q.onerror=Be}),Q.addEventListener("load",function(){F.loading|=gx}),Q.addEventListener("error",function(){F.loading|=gB}),F.loading|=hc,Xg(L,a,g)}L={type:"stylesheet",instance:L,count:1,state:F},x.set(A,L)}}},M:function(n,a){vp.M(n,a);var s=xb;if(s&&n){var g=Qa(s).hoistableScripts,x=ef(n),A=g.get(x);A||(A=s.querySelector(tf(x)),A||(n=Kt({src:n,async:!0,type:"module"},a),(a=pc.get(x))&&$g(n,a),A=s.createElement("script"),Ai(A),Yi(A,"link",n),s.head.appendChild(A)),A={type:"script",instance:A,count:1,state:null},g.set(x,A))}}};var xb=typeof document>"u"?null:document,QE=null,mx=null,X_=null,ZE=null,By=k1,yx={$$typeof:Da,Provider:null,Consumer:null,_currentValue:By,_currentValue2:By,_threadCount:0},vB="%c%s%c ",bB="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",xB="",WE=" ",qq=Function.prototype.bind,SB=!1,EB=null,AB=null,TB=null,CB=null,_B=null,wB=null,DB=null,OB=null,RB=null;EB=function(n,a,s,g){a=e(n,a),a!==null&&(s=t(a.memoizedState,s,0,g),a.memoizedState=s,a.baseState=s,n.memoizedProps=Kt({},n.memoizedProps),s=Ja(n,2),s!==null&&Vi(s,n,2))},AB=function(n,a,s){a=e(n,a),a!==null&&(s=o(a.memoizedState,s,0),a.memoizedState=s,a.baseState=s,n.memoizedProps=Kt({},n.memoizedProps),s=Ja(n,2),s!==null&&Vi(s,n,2))},TB=function(n,a,s,g){a=e(n,a),a!==null&&(s=i(a.memoizedState,s,g),a.memoizedState=s,a.baseState=s,n.memoizedProps=Kt({},n.memoizedProps),s=Ja(n,2),s!==null&&Vi(s,n,2))},CB=function(n,a,s){n.pendingProps=t(n.memoizedProps,a,0,s),n.alternate&&(n.alternate.pendingProps=n.pendingProps),a=Ja(n,2),a!==null&&Vi(a,n,2)},_B=function(n,a){n.pendingProps=o(n.memoizedProps,a,0),n.alternate&&(n.alternate.pendingProps=n.pendingProps),a=Ja(n,2),a!==null&&Vi(a,n,2)},wB=function(n,a,s){n.pendingProps=i(n.memoizedProps,a,s),n.alternate&&(n.alternate.pendingProps=n.pendingProps),a=Ja(n,2),a!==null&&Vi(a,n,2)},DB=function(n){var a=Ja(n,2);a!==null&&Vi(a,n,2)},OB=function(n){f=n},RB=function(n){c=n};var KE=!0,JE=null,$_=!1,Cm=null,_m=null,wm=null,vx=new Map,bx=new Map,Dm=[],Vq="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".split(" "),eA=null;if(Zh.prototype.render=tm.prototype.render=function(n){var a=this._internalRoot;if(a===null)throw Error("Cannot update an unmounted root.");var s=arguments;typeof s[1]=="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):w(s[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof s[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),s=n;var g=a.current,x=el(g);ei(g,x,s,a,null,null)},Zh.prototype.unmount=tm.prototype.unmount=function(){var n=arguments;if(typeof n[0]=="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),n=this._internalRoot,n!==null){this._internalRoot=null;var a=n.containerInfo;(hi&(Bo|yf))!==pu&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),ei(n.current,2,null,n,null,null),nu(),a[tc]=null}},Zh.prototype.unstable_scheduleHydration=function(n){if(n){var a=On();n={blockedOn:null,target:n,priority:a};for(var s=0;s<Dm.length&&a!==0&&a<Dm[s].priority;s++);Dm.splice(s,0,n),s===0&&kv(n)}},function(){var n=Wh.version;if(n!=="19.1.0")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
376
|
+
- react: `+(n+`
|
|
377
|
+
- react-dom: 19.1.0
|
|
378
|
+
Learn more: https://react.dev/warnings/version-mismatch`))}(),typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),Ht.findDOMNode=function(n){var a=n._reactInternals;if(a===void 0)throw typeof n.render=="function"?Error("Unable to find node on an unmounted component."):(n=Object.keys(n).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+n));return n=z(a),n=n!==null?R(n):null,n=n===null?null:n.stateNode,n},!function(){var n={bundleType:1,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:ze,reconcilerVersion:"19.1.0"};return n.overrideHookState=EB,n.overrideHookStateDeletePath=AB,n.overrideHookStateRenamePath=TB,n.overrideProps=CB,n.overridePropsDeletePath=_B,n.overridePropsRenamePath=wB,n.scheduleUpdate=DB,n.setErrorHandler=OB,n.setSuspenseHandler=RB,n.scheduleRefresh=M,n.scheduleRoot=O,n.setRefreshHandler=N,n.getCurrentFiber=Jg,n.getLaneLabelMap=B1,n.injectProfilingHooks=at,we(n)}()&&re&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var MB=window.location.protocol;/^(https?|file):$/.test(MB)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(MB==="file:"?`
|
|
379
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}N1.createRoot=function(n,a){if(!w(n))throw Error("Target container is not a DOM element.");Uv(n);var s=!1,g="",x=b0,A=dg,L=hg,F=null;return a!=null&&(a.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof a=="object"&&a!==null&&a.$$typeof===Ju&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
380
|
+
|
|
381
|
+
let root = createRoot(domContainer);
|
|
382
|
+
root.render(<App />);`),a.unstable_strictMode===!0&&(s=!0),a.identifierPrefix!==void 0&&(g=a.identifierPrefix),a.onUncaughtError!==void 0&&(x=a.onUncaughtError),a.onCaughtError!==void 0&&(A=a.onCaughtError),a.onRecoverableError!==void 0&&(L=a.onRecoverableError),a.unstable_transitionCallbacks!==void 0&&(F=a.unstable_transitionCallbacks)),a=$0(n,1,!1,null,null,s,g,x,A,L,F,null),n[tc]=a.current,N0(n),new tm(a)},N1.hydrateRoot=function(n,a,s){if(!w(n))throw Error("Target container is not a DOM element.");Uv(n),a===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var g=!1,x="",A=b0,L=dg,F=hg,Q=null,J=null;return s!=null&&(s.unstable_strictMode===!0&&(g=!0),s.identifierPrefix!==void 0&&(x=s.identifierPrefix),s.onUncaughtError!==void 0&&(A=s.onUncaughtError),s.onCaughtError!==void 0&&(L=s.onCaughtError),s.onRecoverableError!==void 0&&(F=s.onRecoverableError),s.unstable_transitionCallbacks!==void 0&&(Q=s.unstable_transitionCallbacks),s.formState!==void 0&&(J=s.formState)),a=$0(n,1,!0,a,s??null,g,x,A,L,F,Q,J),a.context=Q0(null),s=a.current,g=el(s),g=ot(g),x=ns(g),x.callback=null,Vr(s,x,g),s=g,a.current.lanes=s,Dn(a,s),tl(a),n[tc]=a.current,N0(n),new Zh(a)},N1.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),N1}var G3;function cq(){if(G3)return pE.exports;G3=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}}return process.env.NODE_ENV==="production"?(e(),pE.exports=sq()):pE.exports=uq(),pE.exports}var fq=cq();document.querySelectorAll("reactive-json").forEach(e=>{var o;const t=(o=e.dataset)==null?void 0:o.method,i=e.querySelectorAll("data-source-request-header"),r=i.length?{}:void 0;i.forEach((c,f,p)=>{var S,E;const m=(S=c==null?void 0:c.dataset)==null?void 0:S.headerField,b=(E=c==null?void 0:c.dataset)==null?void 0:E.headerValue;!m||!b||(r[m]=b)}),fq.createRoot(e).render(ie.jsx(I.StrictMode,{children:ie.jsx(j3,{dataFetchMethod:t,dataUrl:e.dataset.url,headersForData:r})}))}),ko.ReactiveJsonRoot=j3,Object.defineProperty(ko,Symbol.toStringTag,{value:"Module"})});
|