szld-libs 0.0.14 → 0.0.16

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.
@@ -1,220 +0,0 @@
1
- (function(fn,ft){typeof exports=="object"&&typeof module<"u"?ft(exports,require("react"),require("antd"),require("react-router-dom"),require("lodash"),require("ahooks"),require("react-window")):typeof define=="function"&&define.amd?define(["exports","react","antd","react-router-dom","lodash","ahooks","react-window"],ft):(fn=typeof globalThis<"u"?globalThis:fn||self,ft(fn.ReactComponents={},fn.React,fn.antd,fn["react-router-dom"],fn.lodash,fn.ahooks,fn["react-window"]))})(this,function(fn,ft,vt,sU,Op,fU,cU){"use strict";var Rne=Object.defineProperty;var Ane=(fn,ft,vt)=>ft in fn?Rne(fn,ft,{enumerable:!0,configurable:!0,writable:!0,value:vt}):fn[ft]=vt;var uU=(fn,ft,vt)=>(Ane(fn,typeof ft!="symbol"?ft+"":ft,vt),vt);function dU(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const Nt=dU(ft);function vU(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var v0={exports:{}},kp={};var lA;function hU(){if(lA)return kp;lA=1;var t=ft,e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,a=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(f,d,h){var p,m={},S=null,_=null;h!==void 0&&(S=""+h),d.key!==void 0&&(S=""+d.key),d.ref!==void 0&&(_=d.ref);for(p in d)r.call(d,p)&&!l.hasOwnProperty(p)&&(m[p]=d[p]);if(f&&f.defaultProps)for(p in d=f.defaultProps,d)m[p]===void 0&&(m[p]=d[p]);return{$$typeof:e,type:f,key:S,ref:_,props:m,_owner:a.current}}return kp.Fragment=n,kp.jsx=u,kp.jsxs=u,kp}var Np={};var uA;function pU(){return uA||(uA=1,process.env.NODE_ENV!=="production"&&function(){var t=ft,e=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),f=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),_=Symbol.for("react.offscreen"),x=Symbol.iterator,E="@@iterator";function b(Y){if(Y===null||typeof Y!="object")return null;var Ce=x&&Y[x]||Y[E];return typeof Ce=="function"?Ce:null}var D=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function A(Y){{for(var Ce=arguments.length,Me=new Array(Ce>1?Ce-1:0),Ke=1;Ke<Ce;Ke++)Me[Ke-1]=arguments[Ke];O("error",Y,Me)}}function O(Y,Ce,Me){{var Ke=D.ReactDebugCurrentFrame,mt=Ke.getStackAddendum();mt!==""&&(Ce+="%s",Me=Me.concat([mt]));var Bt=Me.map(function(yt){return String(yt)});Bt.unshift("Warning: "+Ce),Function.prototype.apply.call(console[Y],console,Bt)}}var P=!1,I=!1,F=!1,U=!1,H=!1,j;j=Symbol.for("react.module.reference");function X(Y){return!!(typeof Y=="string"||typeof Y=="function"||Y===r||Y===l||H||Y===a||Y===h||Y===p||U||Y===_||P||I||F||typeof Y=="object"&&Y!==null&&(Y.$$typeof===S||Y.$$typeof===m||Y.$$typeof===u||Y.$$typeof===f||Y.$$typeof===d||Y.$$typeof===j||Y.getModuleId!==void 0))}function G(Y,Ce,Me){var Ke=Y.displayName;if(Ke)return Ke;var mt=Ce.displayName||Ce.name||"";return mt!==""?Me+"("+mt+")":Me}function ee(Y){return Y.displayName||"Context"}function J(Y){if(Y==null)return null;if(typeof Y.tag=="number"&&A("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof Y=="function")return Y.displayName||Y.name||null;if(typeof Y=="string")return Y;switch(Y){case r:return"Fragment";case n:return"Portal";case l:return"Profiler";case a:return"StrictMode";case h:return"Suspense";case p:return"SuspenseList"}if(typeof Y=="object")switch(Y.$$typeof){case f:var Ce=Y;return ee(Ce)+".Consumer";case u:var Me=Y;return ee(Me._context)+".Provider";case d:return G(Y,Y.render,"ForwardRef");case m:var Ke=Y.displayName||null;return Ke!==null?Ke:J(Y.type)||"Memo";case S:{var mt=Y,Bt=mt._payload,yt=mt._init;try{return J(yt(Bt))}catch{return null}}}return null}var ie=Object.assign,ce=0,fe,Ne,ae,ge,pe,Le,Ge;function St(){}St.__reactDisabledLog=!0;function It(){{if(ce===0){fe=console.log,Ne=console.info,ae=console.warn,ge=console.error,pe=console.group,Le=console.groupCollapsed,Ge=console.groupEnd;var Y={configurable:!0,enumerable:!0,value:St,writable:!0};Object.defineProperties(console,{info:Y,log:Y,warn:Y,error:Y,group:Y,groupCollapsed:Y,groupEnd:Y})}ce++}}function Dn(){{if(ce--,ce===0){var Y={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ie({},Y,{value:fe}),info:ie({},Y,{value:Ne}),warn:ie({},Y,{value:ae}),error:ie({},Y,{value:ge}),group:ie({},Y,{value:pe}),groupCollapsed:ie({},Y,{value:Le}),groupEnd:ie({},Y,{value:Ge})})}ce<0&&A("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Xt=D.ReactCurrentDispatcher,Mn;function on(Y,Ce,Me){{if(Mn===void 0)try{throw Error()}catch(mt){var Ke=mt.stack.trim().match(/\n( *(at )?)/);Mn=Ke&&Ke[1]||""}return`
2
- `+Mn+Y}}var zt=!1,Ft;{var $e=typeof WeakMap=="function"?WeakMap:Map;Ft=new $e}function Se(Y,Ce){if(!Y||zt)return"";{var Me=Ft.get(Y);if(Me!==void 0)return Me}var Ke;zt=!0;var mt=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Bt;Bt=Xt.current,Xt.current=null,It();try{if(Ce){var yt=function(){throw Error()};if(Object.defineProperty(yt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(yt,[])}catch($t){Ke=$t}Reflect.construct(Y,[],yt)}else{try{yt.call()}catch($t){Ke=$t}Y.call(yt.prototype)}}else{try{throw Error()}catch($t){Ke=$t}Y()}}catch($t){if($t&&Ke&&typeof $t.stack=="string"){for(var tt=$t.stack.split(`
3
- `),pr=Ke.stack.split(`
4
- `),Rn=tt.length-1,An=pr.length-1;Rn>=1&&An>=0&&tt[Rn]!==pr[An];)An--;for(;Rn>=1&&An>=0;Rn--,An--)if(tt[Rn]!==pr[An]){if(Rn!==1||An!==1)do if(Rn--,An--,An<0||tt[Rn]!==pr[An]){var Jr=`
5
- `+tt[Rn].replace(" at new "," at ");return Y.displayName&&Jr.includes("<anonymous>")&&(Jr=Jr.replace("<anonymous>",Y.displayName)),typeof Y=="function"&&Ft.set(Y,Jr),Jr}while(Rn>=1&&An>=0);break}}}finally{zt=!1,Xt.current=Bt,Dn(),Error.prepareStackTrace=mt}var Pl=Y?Y.displayName||Y.name:"",Bv=Pl?on(Pl):"";return typeof Y=="function"&&Ft.set(Y,Bv),Bv}function Zt(Y,Ce,Me){return Se(Y,!1)}function Et(Y){var Ce=Y.prototype;return!!(Ce&&Ce.isReactComponent)}function Pn(Y,Ce,Me){if(Y==null)return"";if(typeof Y=="function")return Se(Y,Et(Y));if(typeof Y=="string")return on(Y);switch(Y){case h:return on("Suspense");case p:return on("SuspenseList")}if(typeof Y=="object")switch(Y.$$typeof){case d:return Zt(Y.render);case m:return Pn(Y.type,Ce,Me);case S:{var Ke=Y,mt=Ke._payload,Bt=Ke._init;try{return Pn(Bt(mt),Ce,Me)}catch{}}}return""}var ar=Object.prototype.hasOwnProperty,Vr={},ua=D.ReactDebugCurrentFrame;function za(Y){if(Y){var Ce=Y._owner,Me=Pn(Y.type,Y._source,Ce?Ce.type:null);ua.setExtraStackFrame(Me)}else ua.setExtraStackFrame(null)}function Ho(Y,Ce,Me,Ke,mt){{var Bt=Function.call.bind(ar);for(var yt in Y)if(Bt(Y,yt)){var tt=void 0;try{if(typeof Y[yt]!="function"){var pr=Error((Ke||"React class")+": "+Me+" type `"+yt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof Y[yt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw pr.name="Invariant Violation",pr}tt=Y[yt](Ce,yt,Ke,Me,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Rn){tt=Rn}tt&&!(tt instanceof Error)&&(za(mt),A("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",Ke||"React class",Me,yt,typeof tt),za(null)),tt instanceof Error&&!(tt.message in Vr)&&(Vr[tt.message]=!0,za(mt),A("Failed %s type: %s",Me,tt.message),za(null))}}}var vo=Array.isArray;function Fa(Y){return vo(Y)}function Pi(Y){{var Ce=typeof Symbol=="function"&&Symbol.toStringTag,Me=Ce&&Y[Symbol.toStringTag]||Y.constructor.name||"Object";return Me}}function ho(Y){try{return Ii(Y),!1}catch{return!0}}function Ii(Y){return""+Y}function Ba(Y){if(ho(Y))return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Pi(Y)),Ii(Y)}var Zn=D.ReactCurrentOwner,zi={key:!0,ref:!0,__self:!0,__source:!0},Ol,Ua,De;De={};function qe(Y){if(ar.call(Y,"ref")){var Ce=Object.getOwnPropertyDescriptor(Y,"ref").get;if(Ce&&Ce.isReactWarning)return!1}return Y.ref!==void 0}function Ct(Y){if(ar.call(Y,"key")){var Ce=Object.getOwnPropertyDescriptor(Y,"key").get;if(Ce&&Ce.isReactWarning)return!1}return Y.key!==void 0}function en(Y,Ce){if(typeof Y.ref=="string"&&Zn.current&&Ce&&Zn.current.stateNode!==Ce){var Me=J(Zn.current.type);De[Me]||(A('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',J(Zn.current.type),Y.ref),De[Me]=!0)}}function In(Y,Ce){{var Me=function(){Ol||(Ol=!0,A("%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://reactjs.org/link/special-props)",Ce))};Me.isReactWarning=!0,Object.defineProperty(Y,"key",{get:Me,configurable:!0})}}function hr(Y,Ce){{var Me=function(){Ua||(Ua=!0,A("%s: `ref` 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://reactjs.org/link/special-props)",Ce))};Me.isReactWarning=!0,Object.defineProperty(Y,"ref",{get:Me,configurable:!0})}}var Yn=function(Y,Ce,Me,Ke,mt,Bt,yt){var tt={$$typeof:e,type:Y,key:Ce,ref:Me,props:yt,_owner:Bt};return tt._store={},Object.defineProperty(tt._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(tt,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Ke}),Object.defineProperty(tt,"_source",{configurable:!1,enumerable:!1,writable:!1,value:mt}),Object.freeze&&(Object.freeze(tt.props),Object.freeze(tt)),tt};function pi(Y,Ce,Me,Ke,mt){{var Bt,yt={},tt=null,pr=null;Me!==void 0&&(Ba(Me),tt=""+Me),Ct(Ce)&&(Ba(Ce.key),tt=""+Ce.key),qe(Ce)&&(pr=Ce.ref,en(Ce,mt));for(Bt in Ce)ar.call(Ce,Bt)&&!zi.hasOwnProperty(Bt)&&(yt[Bt]=Ce[Bt]);if(Y&&Y.defaultProps){var Rn=Y.defaultProps;for(Bt in Rn)yt[Bt]===void 0&&(yt[Bt]=Rn[Bt])}if(tt||pr){var An=typeof Y=="function"?Y.displayName||Y.name||"Unknown":Y;tt&&In(yt,An),pr&&hr(yt,An)}return Yn(Y,tt,pr,mt,Ke,Zn.current,yt)}}var _n=D.ReactCurrentOwner,Fi=D.ReactDebugCurrentFrame;function vn(Y){if(Y){var Ce=Y._owner,Me=Pn(Y.type,Y._source,Ce?Ce.type:null);Fi.setExtraStackFrame(Me)}else Fi.setExtraStackFrame(null)}var Sn;Sn=!1;function Bs(Y){return typeof Y=="object"&&Y!==null&&Y.$$typeof===e}function Lu(){{if(_n.current){var Y=J(_n.current.type);if(Y)return`
6
-
7
- Check the render method of \``+Y+"`."}return""}}function Us(Y){{if(Y!==void 0){var Ce=Y.fileName.replace(/^.*[\\\/]/,""),Me=Y.lineNumber;return`
8
-
9
- Check your code at `+Ce+":"+Me+"."}return""}}var kc={};function Fv(Y){{var Ce=Lu();if(!Ce){var Me=typeof Y=="string"?Y:Y.displayName||Y.name;Me&&(Ce=`
10
-
11
- Check the top-level render call using <`+Me+">.")}return Ce}}function Ou(Y,Ce){{if(!Y._store||Y._store.validated||Y.key!=null)return;Y._store.validated=!0;var Me=Fv(Ce);if(kc[Me])return;kc[Me]=!0;var Ke="";Y&&Y._owner&&Y._owner!==_n.current&&(Ke=" It was passed a child from "+J(Y._owner.type)+"."),vn(Y),A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Me,Ke),vn(null)}}function Vs(Y,Ce){{if(typeof Y!="object")return;if(Fa(Y))for(var Me=0;Me<Y.length;Me++){var Ke=Y[Me];Bs(Ke)&&Ou(Ke,Ce)}else if(Bs(Y))Y._store&&(Y._store.validated=!0);else if(Y){var mt=b(Y);if(typeof mt=="function"&&mt!==Y.entries)for(var Bt=mt.call(Y),yt;!(yt=Bt.next()).done;)Bs(yt.value)&&Ou(yt.value,Ce)}}}function ku(Y){{var Ce=Y.type;if(Ce==null||typeof Ce=="string")return;var Me;if(typeof Ce=="function")Me=Ce.propTypes;else if(typeof Ce=="object"&&(Ce.$$typeof===d||Ce.$$typeof===m))Me=Ce.propTypes;else return;if(Me){var Ke=J(Ce);Ho(Me,Y.props,"prop",Ke,Y)}else if(Ce.PropTypes!==void 0&&!Sn){Sn=!0;var mt=J(Ce);A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",mt||"Unknown")}typeof Ce.getDefaultProps=="function"&&!Ce.getDefaultProps.isReactClassApproved&&A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Hs(Y){{for(var Ce=Object.keys(Y.props),Me=0;Me<Ce.length;Me++){var Ke=Ce[Me];if(Ke!=="children"&&Ke!=="key"){vn(Y),A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Ke),vn(null);break}}Y.ref!==null&&(vn(Y),A("Invalid attribute `ref` supplied to `React.Fragment`."),vn(null))}}function po(Y,Ce,Me,Ke,mt,Bt){{var yt=X(Y);if(!yt){var tt="";(Y===void 0||typeof Y=="object"&&Y!==null&&Object.keys(Y).length===0)&&(tt+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var pr=Us(mt);pr?tt+=pr:tt+=Lu();var Rn;Y===null?Rn="null":Fa(Y)?Rn="array":Y!==void 0&&Y.$$typeof===e?(Rn="<"+(J(Y.type)||"Unknown")+" />",tt=" Did you accidentally export a JSX literal instead of a component?"):Rn=typeof Y,A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Rn,tt)}var An=pi(Y,Ce,Me,mt,Bt);if(An==null)return An;if(yt){var Jr=Ce.children;if(Jr!==void 0)if(Ke)if(Fa(Jr)){for(var Pl=0;Pl<Jr.length;Pl++)Vs(Jr[Pl],Y);Object.freeze&&Object.freeze(Jr)}else A("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 Vs(Jr,Y)}return Y===r?Hs(An):ku(An),An}}function kl(Y,Ce,Me){return po(Y,Ce,Me,!0)}function Bi(Y,Ce,Me){return po(Y,Ce,Me,!1)}var Va=Bi,Nl=kl;Np.Fragment=r,Np.jsx=Va,Np.jsxs=Nl}()),Np}(function(t){process.env.NODE_ENV==="production"?t.exports=hU():t.exports=pU()})(v0);const h0=v0.exports.Fragment,ze=v0.exports.jsx,Tr=v0.exports.jsxs;var gU=ft.createContext({});const sA=gU;function gu(t){return gu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gu(t)}function mU(t,e){if(gu(t)!=="object"||t===null)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(gu(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function fA(t){var e=mU(t,"string");return gu(e)==="symbol"?e:String(e)}function Cw(t,e,n){return e=fA(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function cA(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,r)}return n}function $n(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?cA(Object(n),!0).forEach(function(r){Cw(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):cA(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function yU(t){if(Array.isArray(t))return t}function _U(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var r,a,l,u,f=[],d=!0,h=!1;try{if(l=(n=n.call(t)).next,e===0){if(Object(n)!==n)return;d=!1}else for(;!(d=(r=l.call(n)).done)&&(f.push(r.value),f.length!==e);d=!0);}catch(p){h=!0,a=p}finally{try{if(!d&&n.return!=null&&(u=n.return(),Object(u)!==u))return}finally{if(h)throw a}}return f}}function dA(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function SU(t,e){if(t){if(typeof t=="string")return dA(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return dA(t,e)}}function CU(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
12
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function vA(t,e){return yU(t)||_U(t,e)||SU(t,e)||CU()}function wU(t,e){if(t==null)return{};var n={},r=Object.keys(t),a,l;for(l=0;l<r.length;l++)a=r[l],!(e.indexOf(a)>=0)&&(n[a]=t[a]);return n}function hA(t,e){if(t==null)return{};var n=wU(t,e),r,a;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);for(a=0;a<l.length;a++)r=l[a],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}var pA={exports:{}};(function(t){(function(){var e={}.hasOwnProperty;function n(){for(var r=[],a=0;a<arguments.length;a++){var l=arguments[a];if(l){var u=typeof l;if(u==="string"||u==="number")r.push(l);else if(Array.isArray(l)){if(l.length){var f=n.apply(null,l);f&&r.push(f)}}else if(u==="object"){if(l.toString!==Object.prototype.toString&&!l.toString.toString().includes("[native code]")){r.push(l.toString());continue}for(var d in l)e.call(l,d)&&l[d]&&r.push(d)}}}return r.join(" ")}t.exports?(n.default=n,t.exports=n):window.classNames=n})()})(pA);const Hd=pA.exports;function Ja(t,e){xU(t)&&(t="100%");var n=TU(t);return t=e===360?t:Math.min(e,Math.max(0,parseFloat(t))),n&&(t=parseInt(String(t*e),10)/100),Math.abs(t-e)<1e-6?1:(e===360?t=(t<0?t%e+e:t%e)/parseFloat(String(e)):t=t%e/parseFloat(String(e)),t)}function xU(t){return typeof t=="string"&&t.indexOf(".")!==-1&&parseFloat(t)===1}function TU(t){return typeof t=="string"&&t.indexOf("%")!==-1}function bU(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function p0(t){return t<=1?"".concat(Number(t)*100,"%"):t}function ww(t){return t.length===1?"0"+t:String(t)}function EU(t,e,n){return{r:Ja(t,255)*255,g:Ja(e,255)*255,b:Ja(n,255)*255}}function xw(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*(6*n):n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function DU(t,e,n){var r,a,l;if(t=Ja(t,360),e=Ja(e,100),n=Ja(n,100),e===0)a=n,l=n,r=n;else{var u=n<.5?n*(1+e):n+e-n*e,f=2*n-u;r=xw(f,u,t+1/3),a=xw(f,u,t),l=xw(f,u,t-1/3)}return{r:r*255,g:a*255,b:l*255}}function MU(t,e,n){t=Ja(t,255),e=Ja(e,255),n=Ja(n,255);var r=Math.max(t,e,n),a=Math.min(t,e,n),l=0,u=r,f=r-a,d=r===0?0:f/r;if(r===a)l=0;else{switch(r){case t:l=(e-n)/f+(e<n?6:0);break;case e:l=(n-t)/f+2;break;case n:l=(t-e)/f+4;break}l/=6}return{h:l,s:d,v:u}}function RU(t,e,n){t=Ja(t,360)*6,e=Ja(e,100),n=Ja(n,100);var r=Math.floor(t),a=t-r,l=n*(1-e),u=n*(1-a*e),f=n*(1-(1-a)*e),d=r%6,h=[n,u,l,l,f,n][d],p=[f,n,n,u,l,l][d],m=[l,l,f,n,n,u][d];return{r:h*255,g:p*255,b:m*255}}function AU(t,e,n,r){var a=[ww(Math.round(t).toString(16)),ww(Math.round(e).toString(16)),ww(Math.round(n).toString(16))];return r&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function gA(t){return Ra(t)/255}function Ra(t){return parseInt(t,16)}var mA={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Pp(t){var e={r:0,g:0,b:0},n=1,r=null,a=null,l=null,u=!1,f=!1;return typeof t=="string"&&(t=kU(t)),typeof t=="object"&&(mu(t.r)&&mu(t.g)&&mu(t.b)?(e=EU(t.r,t.g,t.b),u=!0,f=String(t.r).substr(-1)==="%"?"prgb":"rgb"):mu(t.h)&&mu(t.s)&&mu(t.v)?(r=p0(t.s),a=p0(t.v),e=RU(t.h,r,a),u=!0,f="hsv"):mu(t.h)&&mu(t.s)&&mu(t.l)&&(r=p0(t.s),l=p0(t.l),e=DU(t.h,r,l),u=!0,f="hsl"),Object.prototype.hasOwnProperty.call(t,"a")&&(n=t.a)),n=bU(n),{ok:u,format:t.format||f,r:Math.min(255,Math.max(e.r,0)),g:Math.min(255,Math.max(e.g,0)),b:Math.min(255,Math.max(e.b,0)),a:n}}var LU="[-\\+]?\\d+%?",OU="[-\\+]?\\d*\\.\\d+%?",xs="(?:".concat(OU,")|(?:").concat(LU,")"),Tw="[\\s|\\(]+(".concat(xs,")[,|\\s]+(").concat(xs,")[,|\\s]+(").concat(xs,")\\s*\\)?"),bw="[\\s|\\(]+(".concat(xs,")[,|\\s]+(").concat(xs,")[,|\\s]+(").concat(xs,")[,|\\s]+(").concat(xs,")\\s*\\)?"),Ao={CSS_UNIT:new RegExp(xs),rgb:new RegExp("rgb"+Tw),rgba:new RegExp("rgba"+bw),hsl:new RegExp("hsl"+Tw),hsla:new RegExp("hsla"+bw),hsv:new RegExp("hsv"+Tw),hsva:new RegExp("hsva"+bw),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function kU(t){if(t=t.trim().toLowerCase(),t.length===0)return!1;var e=!1;if(mA[t])t=mA[t],e=!0;else if(t==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Ao.rgb.exec(t);return n?{r:n[1],g:n[2],b:n[3]}:(n=Ao.rgba.exec(t),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Ao.hsl.exec(t),n?{h:n[1],s:n[2],l:n[3]}:(n=Ao.hsla.exec(t),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Ao.hsv.exec(t),n?{h:n[1],s:n[2],v:n[3]}:(n=Ao.hsva.exec(t),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Ao.hex8.exec(t),n?{r:Ra(n[1]),g:Ra(n[2]),b:Ra(n[3]),a:gA(n[4]),format:e?"name":"hex8"}:(n=Ao.hex6.exec(t),n?{r:Ra(n[1]),g:Ra(n[2]),b:Ra(n[3]),format:e?"name":"hex"}:(n=Ao.hex4.exec(t),n?{r:Ra(n[1]+n[1]),g:Ra(n[2]+n[2]),b:Ra(n[3]+n[3]),a:gA(n[4]+n[4]),format:e?"name":"hex8"}:(n=Ao.hex3.exec(t),n?{r:Ra(n[1]+n[1]),g:Ra(n[2]+n[2]),b:Ra(n[3]+n[3]),format:e?"name":"hex"}:!1)))))))))}function mu(t){return Boolean(Ao.CSS_UNIT.exec(String(t)))}var g0=2,yA=.16,NU=.05,PU=.05,IU=.15,_A=5,SA=4,zU=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function CA(t){var e=t.r,n=t.g,r=t.b,a=MU(e,n,r);return{h:a.h*360,s:a.s,v:a.v}}function m0(t){var e=t.r,n=t.g,r=t.b;return"#".concat(AU(e,n,r,!1))}function FU(t,e,n){var r=n/100,a={r:(e.r-t.r)*r+t.r,g:(e.g-t.g)*r+t.g,b:(e.b-t.b)*r+t.b};return a}function wA(t,e,n){var r;return Math.round(t.h)>=60&&Math.round(t.h)<=240?r=n?Math.round(t.h)-g0*e:Math.round(t.h)+g0*e:r=n?Math.round(t.h)+g0*e:Math.round(t.h)-g0*e,r<0?r+=360:r>=360&&(r-=360),r}function xA(t,e,n){if(t.h===0&&t.s===0)return t.s;var r;return n?r=t.s-yA*e:e===SA?r=t.s+yA:r=t.s+NU*e,r>1&&(r=1),n&&e===_A&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function TA(t,e,n){var r;return n?r=t.v+PU*e:r=t.v-IU*e,r>1&&(r=1),Number(r.toFixed(2))}function Ew(t){for(var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=Pp(t),a=_A;a>0;a-=1){var l=CA(r),u=m0(Pp({h:wA(l,a,!0),s:xA(l,a,!0),v:TA(l,a,!0)}));n.push(u)}n.push(m0(r));for(var f=1;f<=SA;f+=1){var d=CA(r),h=m0(Pp({h:wA(d,f),s:xA(d,f),v:TA(d,f)}));n.push(h)}return e.theme==="dark"?zU.map(function(p){var m=p.index,S=p.opacity,_=m0(FU(Pp(e.backgroundColor||"#141414"),Pp(n[m]),S*100));return _}):n}var Dw={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},Mw={},Rw={};Object.keys(Dw).forEach(function(t){Mw[t]=Ew(Dw[t]),Mw[t].primary=Mw[t][5],Rw[t]=Ew(Dw[t],{theme:"dark",backgroundColor:"#141414"}),Rw[t].primary=Rw[t][5]});var bA={};function Aw(t,e){process.env.NODE_ENV!=="production"&&!t&&console!==void 0&&console.error("Warning: ".concat(e))}function BU(t,e,n){!e&&!bA[n]&&(t(!1,n),bA[n]=!0)}function UU(t,e){BU(Aw,t,e)}function VU(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function HU(t,e){if(!t)return!1;if(t.contains)return t.contains(e);for(var n=e;n;){if(n===t)return!0;n=n.parentNode}return!1}var EA="data-rc-order",GU="rc-util-key",Lw=new Map;function DA(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=t.mark;return e?e.startsWith("data-")?e:"data-".concat(e):GU}function Ow(t){if(t.attachTo)return t.attachTo;var e=document.querySelector("head");return e||document.body}function $U(t){return t==="queue"?"prependQueue":t?"prepend":"append"}function MA(t){return Array.from((Lw.get(t)||t).children).filter(function(e){return e.tagName==="STYLE"})}function RA(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!VU())return null;var n=e.csp,r=e.prepend,a=document.createElement("style");a.setAttribute(EA,$U(r)),n!=null&&n.nonce&&(a.nonce=n==null?void 0:n.nonce),a.innerHTML=t;var l=Ow(e),u=l.firstChild;if(r){if(r==="queue"){var f=MA(l).filter(function(d){return["prepend","prependQueue"].includes(d.getAttribute(EA))});if(f.length)return l.insertBefore(a,f[f.length-1].nextSibling),a}l.insertBefore(a,u)}else l.appendChild(a);return a}function jU(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Ow(e);return MA(n).find(function(r){return r.getAttribute(DA(e))===t})}function YU(t,e){var n=Lw.get(t);if(!n||!HU(document,n)){var r=RA("",e),a=r.parentNode;Lw.set(t,a),t.removeChild(r)}}function WU(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=Ow(n);YU(r,n);var a=jU(e,n);if(a){var l,u;if(!((l=n.csp)===null||l===void 0)&&l.nonce&&a.nonce!==((u=n.csp)===null||u===void 0?void 0:u.nonce)){var f;a.nonce=(f=n.csp)===null||f===void 0?void 0:f.nonce}return a.innerHTML!==t&&(a.innerHTML=t),a}var d=RA(t,n);return d.setAttribute(DA(n),e),d}function XU(t,e){UU(t,"[@ant-design/icons] ".concat(e))}function AA(t){return gu(t)==="object"&&typeof t.name=="string"&&typeof t.theme=="string"&&(gu(t.icon)==="object"||typeof t.icon=="function")}function LA(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(t).reduce(function(e,n){var r=t[n];switch(n){case"class":e.className=r,delete e.class;break;default:e[n]=r}return e},{})}function kw(t,e,n){return n?ft.createElement(t.tag,$n($n({key:e},LA(t.attrs)),n),(t.children||[]).map(function(r,a){return kw(r,"".concat(e,"-").concat(t.tag,"-").concat(a))})):ft.createElement(t.tag,$n({key:e},LA(t.attrs)),(t.children||[]).map(function(r,a){return kw(r,"".concat(e,"-").concat(t.tag,"-").concat(a))}))}function OA(t){return Ew(t)[0]}function kA(t){return t?Array.isArray(t)?t:[t]:[]}var qU=`
13
- .anticon {
14
- display: inline-block;
15
- color: inherit;
16
- font-style: normal;
17
- line-height: 0;
18
- text-align: center;
19
- text-transform: none;
20
- vertical-align: -0.125em;
21
- text-rendering: optimizeLegibility;
22
- -webkit-font-smoothing: antialiased;
23
- -moz-osx-font-smoothing: grayscale;
24
- }
25
-
26
- .anticon > * {
27
- line-height: 1;
28
- }
29
-
30
- .anticon svg {
31
- display: inline-block;
32
- }
33
-
34
- .anticon::before {
35
- display: none;
36
- }
37
-
38
- .anticon .anticon-icon {
39
- display: block;
40
- }
41
-
42
- .anticon[tabindex] {
43
- cursor: pointer;
44
- }
45
-
46
- .anticon-spin::before,
47
- .anticon-spin {
48
- display: inline-block;
49
- -webkit-animation: loadingCircle 1s infinite linear;
50
- animation: loadingCircle 1s infinite linear;
51
- }
52
-
53
- @-webkit-keyframes loadingCircle {
54
- 100% {
55
- -webkit-transform: rotate(360deg);
56
- transform: rotate(360deg);
57
- }
58
- }
59
-
60
- @keyframes loadingCircle {
61
- 100% {
62
- -webkit-transform: rotate(360deg);
63
- transform: rotate(360deg);
64
- }
65
- }
66
- `,QU=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:qU,n=ft.useContext(sA),r=n.csp;ft.useEffect(function(){WU(e,"@ant-design-icons",{prepend:!0,csp:r})},[])},ZU=["icon","className","onClick","style","primaryColor","secondaryColor"],Ip={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function KU(t){var e=t.primaryColor,n=t.secondaryColor;Ip.primaryColor=e,Ip.secondaryColor=n||OA(e),Ip.calculated=!!n}function JU(){return $n({},Ip)}var y0=function(e){var n=e.icon,r=e.className,a=e.onClick,l=e.style,u=e.primaryColor,f=e.secondaryColor,d=hA(e,ZU),h=Ip;if(u&&(h={primaryColor:u,secondaryColor:f||OA(u)}),QU(),XU(AA(n),"icon should be icon definiton, but got ".concat(n)),!AA(n))return null;var p=n;return p&&typeof p.icon=="function"&&(p=$n($n({},p),{},{icon:p.icon(h.primaryColor,h.secondaryColor)})),kw(p.icon,"svg-".concat(p.name),$n({className:r,onClick:a,style:l,"data-icon":p.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},d))};y0.displayName="IconReact",y0.getTwoToneColors=JU,y0.setTwoToneColors=KU;const Nw=y0;function NA(t){var e=kA(t),n=vA(e,2),r=n[0],a=n[1];return Nw.setTwoToneColors({primaryColor:r,secondaryColor:a})}function eV(){var t=Nw.getTwoToneColors();return t.calculated?[t.primaryColor,t.secondaryColor]:t.primaryColor}var tV=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];NA("#1890ff");var _0=Nt.forwardRef(function(t,e){var n,r=t.className,a=t.icon,l=t.spin,u=t.rotate,f=t.tabIndex,d=t.onClick,h=t.twoToneColor,p=hA(t,tV),m=Nt.useContext(sA),S=m.prefixCls,_=S===void 0?"anticon":S,x=m.rootClassName,E=Hd(x,_,(n={},Cw(n,"".concat(_,"-").concat(a.name),!!a.name),Cw(n,"".concat(_,"-spin"),!!l||a.name==="loading"),n),r),b=f;b===void 0&&d&&(b=-1);var D=u?{msTransform:"rotate(".concat(u,"deg)"),transform:"rotate(".concat(u,"deg)")}:void 0,A=kA(h),O=vA(A,2),P=O[0],I=O[1];return Nt.createElement("span",$n($n({role:"img","aria-label":a.name},p),{},{ref:e,tabIndex:b,onClick:d,className:E}),Nt.createElement(Nw,{icon:a,primaryColor:P,secondaryColor:I,style:D}))});_0.displayName="AntdIcon",_0.getTwoToneColor=eV,_0.setTwoToneColor=NA;const Gd=_0;var nV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"};const rV=nV;var PA=function(e,n){return Nt.createElement(Gd,$n($n({},e),{},{ref:n,icon:rV}))};PA.displayName="ArrowLeftOutlined";const iV=Nt.forwardRef(PA);var aV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}}]},name:"close-circle",theme:"filled"};const oV=aV;var IA=function(e,n){return Nt.createElement(Gd,$n($n({},e),{},{ref:n,icon:oV}))};IA.displayName="CloseCircleFilled";const lV=Nt.forwardRef(IA);var uV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};const sV=uV;var zA=function(e,n){return Nt.createElement(Gd,$n($n({},e),{},{ref:n,icon:sV}))};zA.displayName="DownOutlined";const fV=Nt.forwardRef(zA);var cV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};const dV=cV;var FA=function(e,n){return Nt.createElement(Gd,$n($n({},e),{},{ref:n,icon:dV}))};FA.displayName="PlusOutlined";const vV=Nt.forwardRef(FA);var hV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};const pV=hV;var BA=function(e,n){return Nt.createElement(Gd,$n($n({},e),{},{ref:n,icon:pV}))};BA.displayName="UpOutlined";const gV=Nt.forwardRef(BA);var mV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"};const yV=mV;var UA=function(e,n){return Nt.createElement(Gd,$n($n({},e),{},{ref:n,icon:yV}))};UA.displayName="UploadOutlined";const _V=Nt.forwardRef(UA),Pw={main:"_main_swzn8_1",title:"_title_swzn8_7",sub:"_sub_swzn8_10"},{Title:SV,Text:CV}=vt.Typography,wV=t=>{const{isBack:e=!0,title:n,extra:r,subTitle:a=null,className:l,titleStyle:u}=t,f=sU.useNavigate(),d=()=>typeof a=="string"?ze(CV,{className:Pw.sub,children:a}):a,h=()=>{f(-1)};return Tr("div",{className:Hd(Pw.main,{className:l}),children:[Tr(vt.Space,{children:[e&&ze(iV,{style:{fontSize:24},onClick:h}),Tr(SV,{level:2,className:Pw.title,style:u,children:[n,d()]})]}),r]})};var Iw=(t=>(t.zip="application/zip",t.png="image/png",t.jpg="image/jpg",t.jpeg="image/jpeg",t.pdf="application/pdf",t.doc="application/msword",t.docx="application/vnd.openxmlformats-officedocument.wordprocessingml.document",t.pptx="application/vnd.openxmlformats-officedocument.presentationml.presentation",t.ppt="application/vnd.ms-powerpoint",t.xlsx="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",t.xls="application/vnd.ms-excel",t.txt="text/plain",t.csv="text/csv",t.svg="image/svg+xml",t))(Iw||{});const zw=new Map(Object.entries(Iw));var $d=(t=>(t.zip=".zip",t.png=".png",t.jpg=".jpg",t.jpeg=".jpeg",t.pdf=".pdf",t.doc=".doc",t.docx=".docx",t.ppt=".ppt",t.pptx=".pptx",t.xls=".xls",t.xlsx=".xlsx",t.txt=".txt",t.csv=".csv",t.svg="svg",t))($d||{});const xV=Object.freeze(Object.defineProperty({__proto__:null,FileType:Iw,FileTypeMap:zw,FileSuffix:$d},Symbol.toStringTag,{value:"Module"})),TV=t=>{if(!Op.isObject(t))return t;const e=t;return Op.pick(e,Op.keys(e).filter(n=>!Op.isNil(e[n])))},VA=t=>new Promise((e,n)=>{const r=new FileReader;r.readAsDataURL(t),r.onload=()=>e(r.result),r.onerror=a=>n(a)}),S0=t=>{var e;if(t)return"."+((e=t.split(".").at(-1))==null?void 0:e.toLowerCase())},bV=t=>{if(t){if(t.startsWith("http")){const e=t.split(".").at(-1);if(e&&zw.has(e))return zw.get(e)}if(t.startsWith("data:")&&t.includes("base64")){const e=t.indexOf(";base64"),n=t.slice(0,e).split(":");if(n[1])return n[1]}}},EV=(t,e)=>{const n=typeof e=="object"?JSON.stringify(e):e;localStorage.setItem(t,n)},DV=t=>{let n=localStorage.getItem(t);return typeof n=="string"&&(n=Fw(n)),n||null},MV=t=>{localStorage.removeItem(t)},RV=(t,e)=>{const n=typeof e=="object"?JSON.stringify(e):e;sessionStorage.setItem(t,n)},AV=t=>{let n=sessionStorage.getItem(t);return typeof n=="string"&&(n=Fw(n)),n||null},LV=t=>{sessionStorage.removeItem(t)},OV=(t,e)=>{const n=[];for(let r=0;r<e.length;r++)n.findIndex(a=>a[t]===e[r][t])<0&&n.push(e[r]);return n},Fw=t=>{if(!t)return null;if(typeof t=="object")return t;if(typeof t=="string"){let e=t;try{e=JSON.parse(t)}catch(n){console.log(n)}return e}},kV=Object.freeze(Object.defineProperty({__proto__:null,filterObject:TV,getBase64:VA,getFileSuffix:S0,getFileType:bV,setLocalStorage:EV,getLocalStorage:DV,removeLocalStorage:MV,setSessionStorage:RV,getSessionStorage:AV,removeSessionStorage:LV,arrayDeduplication:OV,JSONParse:Fw},Symbol.toStringTag,{value:"Module"}));var HA={exports:{}},Ki={},Bw={exports:{}},Uw={};var GA;function NV(){return GA||(GA=1,function(t){function e(ae,ge){var pe=ae.length;ae.push(ge);e:for(;0<pe;){var Le=pe-1>>>1,Ge=ae[Le];if(0<a(Ge,ge))ae[Le]=ge,ae[pe]=Ge,pe=Le;else break e}}function n(ae){return ae.length===0?null:ae[0]}function r(ae){if(ae.length===0)return null;var ge=ae[0],pe=ae.pop();if(pe!==ge){ae[0]=pe;e:for(var Le=0,Ge=ae.length,St=Ge>>>1;Le<St;){var It=2*(Le+1)-1,Dn=ae[It],Xt=It+1,Mn=ae[Xt];if(0>a(Dn,pe))Xt<Ge&&0>a(Mn,Dn)?(ae[Le]=Mn,ae[Xt]=pe,Le=Xt):(ae[Le]=Dn,ae[It]=pe,Le=It);else if(Xt<Ge&&0>a(Mn,pe))ae[Le]=Mn,ae[Xt]=pe,Le=Xt;else break e}}return ge}function a(ae,ge){var pe=ae.sortIndex-ge.sortIndex;return pe!==0?pe:ae.id-ge.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;t.unstable_now=function(){return l.now()}}else{var u=Date,f=u.now();t.unstable_now=function(){return u.now()-f}}var d=[],h=[],p=1,m=null,S=3,_=!1,x=!1,E=!1,b=typeof setTimeout=="function"?setTimeout:null,D=typeof clearTimeout=="function"?clearTimeout:null,A=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function O(ae){for(var ge=n(h);ge!==null;){if(ge.callback===null)r(h);else if(ge.startTime<=ae)r(h),ge.sortIndex=ge.expirationTime,e(d,ge);else break;ge=n(h)}}function P(ae){if(E=!1,O(ae),!x)if(n(d)!==null)x=!0,fe(I);else{var ge=n(h);ge!==null&&Ne(P,ge.startTime-ae)}}function I(ae,ge){x=!1,E&&(E=!1,D(H),H=-1),_=!0;var pe=S;try{for(O(ge),m=n(d);m!==null&&(!(m.expirationTime>ge)||ae&&!G());){var Le=m.callback;if(typeof Le=="function"){m.callback=null,S=m.priorityLevel;var Ge=Le(m.expirationTime<=ge);ge=t.unstable_now(),typeof Ge=="function"?m.callback=Ge:m===n(d)&&r(d),O(ge)}else r(d);m=n(d)}if(m!==null)var St=!0;else{var It=n(h);It!==null&&Ne(P,It.startTime-ge),St=!1}return St}finally{m=null,S=pe,_=!1}}var F=!1,U=null,H=-1,j=5,X=-1;function G(){return!(t.unstable_now()-X<j)}function ee(){if(U!==null){var ae=t.unstable_now();X=ae;var ge=!0;try{ge=U(!0,ae)}finally{ge?J():(F=!1,U=null)}}else F=!1}var J;if(typeof A=="function")J=function(){A(ee)};else if(typeof MessageChannel<"u"){var ie=new MessageChannel,ce=ie.port2;ie.port1.onmessage=ee,J=function(){ce.postMessage(null)}}else J=function(){b(ee,0)};function fe(ae){U=ae,F||(F=!0,J())}function Ne(ae,ge){H=b(function(){ae(t.unstable_now())},ge)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(ae){ae.callback=null},t.unstable_continueExecution=function(){x||_||(x=!0,fe(I))},t.unstable_forceFrameRate=function(ae){0>ae||125<ae?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):j=0<ae?Math.floor(1e3/ae):5},t.unstable_getCurrentPriorityLevel=function(){return S},t.unstable_getFirstCallbackNode=function(){return n(d)},t.unstable_next=function(ae){switch(S){case 1:case 2:case 3:var ge=3;break;default:ge=S}var pe=S;S=ge;try{return ae()}finally{S=pe}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(ae,ge){switch(ae){case 1:case 2:case 3:case 4:case 5:break;default:ae=3}var pe=S;S=ae;try{return ge()}finally{S=pe}},t.unstable_scheduleCallback=function(ae,ge,pe){var Le=t.unstable_now();switch(typeof pe=="object"&&pe!==null?(pe=pe.delay,pe=typeof pe=="number"&&0<pe?Le+pe:Le):pe=Le,ae){case 1:var Ge=-1;break;case 2:Ge=250;break;case 5:Ge=1073741823;break;case 4:Ge=1e4;break;default:Ge=5e3}return Ge=pe+Ge,ae={id:p++,callback:ge,priorityLevel:ae,startTime:pe,expirationTime:Ge,sortIndex:-1},pe>Le?(ae.sortIndex=pe,e(h,ae),n(d)===null&&ae===n(h)&&(E?(D(H),H=-1):E=!0,Ne(P,pe-Le))):(ae.sortIndex=Ge,e(d,ae),x||_||(x=!0,fe(I))),ae},t.unstable_shouldYield=G,t.unstable_wrapCallback=function(ae){var ge=S;return function(){var pe=S;S=ge;try{return ae.apply(this,arguments)}finally{S=pe}}}}(Uw)),Uw}var Vw={};var $A;function PV(){return $A||($A=1,function(t){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=!1,n=!1,r=5;function a(De,qe){var Ct=De.length;De.push(qe),f(De,qe,Ct)}function l(De){return De.length===0?null:De[0]}function u(De){if(De.length===0)return null;var qe=De[0],Ct=De.pop();return Ct!==qe&&(De[0]=Ct,d(De,Ct,0)),qe}function f(De,qe,Ct){for(var en=Ct;en>0;){var In=en-1>>>1,hr=De[In];if(h(hr,qe)>0)De[In]=qe,De[en]=hr,en=In;else return}}function d(De,qe,Ct){for(var en=Ct,In=De.length,hr=In>>>1;en<hr;){var Yn=(en+1)*2-1,pi=De[Yn],_n=Yn+1,Fi=De[_n];if(h(pi,qe)<0)_n<In&&h(Fi,pi)<0?(De[en]=Fi,De[_n]=qe,en=_n):(De[en]=pi,De[Yn]=qe,en=Yn);else if(_n<In&&h(Fi,qe)<0)De[en]=Fi,De[_n]=qe,en=_n;else return}}function h(De,qe){var Ct=De.sortIndex-qe.sortIndex;return Ct!==0?Ct:De.id-qe.id}var p=1,m=2,S=3,_=4,x=5;function E(De,qe){}var b=typeof performance=="object"&&typeof performance.now=="function";if(b){var D=performance;t.unstable_now=function(){return D.now()}}else{var A=Date,O=A.now();t.unstable_now=function(){return A.now()-O}}var P=1073741823,I=-1,F=250,U=5e3,H=1e4,j=P,X=[],G=[],ee=1,J=null,ie=S,ce=!1,fe=!1,Ne=!1,ae=typeof setTimeout=="function"?setTimeout:null,ge=typeof clearTimeout=="function"?clearTimeout:null,pe=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Le(De){for(var qe=l(G);qe!==null;){if(qe.callback===null)u(G);else if(qe.startTime<=De)u(G),qe.sortIndex=qe.expirationTime,a(X,qe);else return;qe=l(G)}}function Ge(De){if(Ne=!1,Le(De),!fe)if(l(X)!==null)fe=!0,Ba(St);else{var qe=l(G);qe!==null&&Zn(Ge,qe.startTime-De)}}function St(De,qe){fe=!1,Ne&&(Ne=!1,zi()),ce=!0;var Ct=ie;try{var en;if(!n)return It(De,qe)}finally{J=null,ie=Ct,ce=!1}}function It(De,qe){var Ct=qe;for(Le(Ct),J=l(X);J!==null&&!e&&!(J.expirationTime>Ct&&(!De||za()));){var en=J.callback;if(typeof en=="function"){J.callback=null,ie=J.priorityLevel;var In=J.expirationTime<=Ct,hr=en(In);Ct=t.unstable_now(),typeof hr=="function"?J.callback=hr:J===l(X)&&u(X),Le(Ct)}else u(X);J=l(X)}if(J!==null)return!0;var Yn=l(G);return Yn!==null&&Zn(Ge,Yn.startTime-Ct),!1}function Dn(De,qe){switch(De){case p:case m:case S:case _:case x:break;default:De=S}var Ct=ie;ie=De;try{return qe()}finally{ie=Ct}}function Xt(De){var qe;switch(ie){case p:case m:case S:qe=S;break;default:qe=ie;break}var Ct=ie;ie=qe;try{return De()}finally{ie=Ct}}function Mn(De){var qe=ie;return function(){var Ct=ie;ie=qe;try{return De.apply(this,arguments)}finally{ie=Ct}}}function on(De,qe,Ct){var en=t.unstable_now(),In;if(typeof Ct=="object"&&Ct!==null){var hr=Ct.delay;typeof hr=="number"&&hr>0?In=en+hr:In=en}else In=en;var Yn;switch(De){case p:Yn=I;break;case m:Yn=F;break;case x:Yn=j;break;case _:Yn=H;break;case S:default:Yn=U;break}var pi=In+Yn,_n={id:ee++,callback:qe,priorityLevel:De,startTime:In,expirationTime:pi,sortIndex:-1};return In>en?(_n.sortIndex=In,a(G,_n),l(X)===null&&_n===l(G)&&(Ne?zi():Ne=!0,Zn(Ge,In-en))):(_n.sortIndex=pi,a(X,_n),!fe&&!ce&&(fe=!0,Ba(St))),_n}function zt(){}function Ft(){!fe&&!ce&&(fe=!0,Ba(St))}function $e(){return l(X)}function Se(De){De.callback=null}function Zt(){return ie}var Et=!1,Pn=null,ar=-1,Vr=r,ua=-1;function za(){var De=t.unstable_now()-ua;return!(De<Vr)}function Ho(){}function vo(De){if(De<0||De>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}De>0?Vr=Math.floor(1e3/De):Vr=r}var Fa=function(){if(Pn!==null){var De=t.unstable_now();ua=De;var qe=!0,Ct=!0;try{Ct=Pn(qe,De)}finally{Ct?Pi():(Et=!1,Pn=null)}}else Et=!1},Pi;if(typeof pe=="function")Pi=function(){pe(Fa)};else if(typeof MessageChannel<"u"){var ho=new MessageChannel,Ii=ho.port2;ho.port1.onmessage=Fa,Pi=function(){Ii.postMessage(null)}}else Pi=function(){ae(Fa,0)};function Ba(De){Pn=De,Et||(Et=!0,Pi())}function Zn(De,qe){ar=ae(function(){De(t.unstable_now())},qe)}function zi(){ge(ar),ar=-1}var Ol=Ho,Ua=null;t.unstable_IdlePriority=x,t.unstable_ImmediatePriority=p,t.unstable_LowPriority=_,t.unstable_NormalPriority=S,t.unstable_Profiling=Ua,t.unstable_UserBlockingPriority=m,t.unstable_cancelCallback=Se,t.unstable_continueExecution=Ft,t.unstable_forceFrameRate=vo,t.unstable_getCurrentPriorityLevel=Zt,t.unstable_getFirstCallbackNode=$e,t.unstable_next=Xt,t.unstable_pauseExecution=zt,t.unstable_requestPaint=Ol,t.unstable_runWithPriority=Dn,t.unstable_scheduleCallback=on,t.unstable_shouldYield=za,t.unstable_wrapCallback=Mn,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(Vw)),Vw}var jA;function YA(){return jA||(jA=1,function(t){process.env.NODE_ENV==="production"?t.exports=NV():t.exports=PV()}(Bw)),Bw.exports}var WA;function IV(){if(WA)return Ki;WA=1;var t=ft,e=YA();function n(s){for(var c="https://reactjs.org/docs/error-decoder.html?invariant="+s,y=1;y<arguments.length;y++)c+="&args[]="+encodeURIComponent(arguments[y]);return"Minified React error #"+s+"; visit "+c+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=new Set,a={};function l(s,c){u(s,c),u(s+"Capture",c)}function u(s,c){for(a[s]=c,s=0;s<c.length;s++)r.add(c[s])}var f=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),d=Object.prototype.hasOwnProperty,h=/^[: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]*$/,p={},m={};function S(s){return d.call(m,s)?!0:d.call(p,s)?!1:h.test(s)?m[s]=!0:(p[s]=!0,!1)}function _(s,c,y,w){if(y!==null&&y.type===0)return!1;switch(typeof c){case"function":case"symbol":return!0;case"boolean":return w?!1:y!==null?!y.acceptsBooleans:(s=s.toLowerCase().slice(0,5),s!=="data-"&&s!=="aria-");default:return!1}}function x(s,c,y,w){if(c===null||typeof c>"u"||_(s,c,y,w))return!0;if(w)return!1;if(y!==null)switch(y.type){case 3:return!c;case 4:return c===!1;case 5:return isNaN(c);case 6:return isNaN(c)||1>c}return!1}function E(s,c,y,w,M,L,z){this.acceptsBooleans=c===2||c===3||c===4,this.attributeName=w,this.attributeNamespace=M,this.mustUseProperty=y,this.propertyName=s,this.type=c,this.sanitizeURL=L,this.removeEmptyString=z}var b={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(s){b[s]=new E(s,0,!1,s,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(s){var c=s[0];b[c]=new E(c,1,!1,s[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(s){b[s]=new E(s,2,!1,s.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(s){b[s]=new E(s,2,!1,s,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(s){b[s]=new E(s,3,!1,s.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(s){b[s]=new E(s,3,!0,s,null,!1,!1)}),["capture","download"].forEach(function(s){b[s]=new E(s,4,!1,s,null,!1,!1)}),["cols","rows","size","span"].forEach(function(s){b[s]=new E(s,6,!1,s,null,!1,!1)}),["rowSpan","start"].forEach(function(s){b[s]=new E(s,5,!1,s.toLowerCase(),null,!1,!1)});var D=/[\-:]([a-z])/g;function A(s){return s[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(s){var c=s.replace(D,A);b[c]=new E(c,1,!1,s,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(s){var c=s.replace(D,A);b[c]=new E(c,1,!1,s,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(s){var c=s.replace(D,A);b[c]=new E(c,1,!1,s,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(s){b[s]=new E(s,1,!1,s.toLowerCase(),null,!1,!1)}),b.xlinkHref=new E("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(s){b[s]=new E(s,1,!1,s.toLowerCase(),null,!0,!0)});function O(s,c,y,w){var M=b.hasOwnProperty(c)?b[c]:null;(M!==null?M.type!==0:w||!(2<c.length)||c[0]!=="o"&&c[0]!=="O"||c[1]!=="n"&&c[1]!=="N")&&(x(c,y,M,w)&&(y=null),w||M===null?S(c)&&(y===null?s.removeAttribute(c):s.setAttribute(c,""+y)):M.mustUseProperty?s[M.propertyName]=y===null?M.type===3?!1:"":y:(c=M.attributeName,w=M.attributeNamespace,y===null?s.removeAttribute(c):(M=M.type,y=M===3||M===4&&y===!0?"":""+y,w?s.setAttributeNS(w,c,y):s.setAttribute(c,y))))}var P=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,I=Symbol.for("react.element"),F=Symbol.for("react.portal"),U=Symbol.for("react.fragment"),H=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),X=Symbol.for("react.provider"),G=Symbol.for("react.context"),ee=Symbol.for("react.forward_ref"),J=Symbol.for("react.suspense"),ie=Symbol.for("react.suspense_list"),ce=Symbol.for("react.memo"),fe=Symbol.for("react.lazy"),Ne=Symbol.for("react.offscreen"),ae=Symbol.iterator;function ge(s){return s===null||typeof s!="object"?null:(s=ae&&s[ae]||s["@@iterator"],typeof s=="function"?s:null)}var pe=Object.assign,Le;function Ge(s){if(Le===void 0)try{throw Error()}catch(y){var c=y.stack.trim().match(/\n( *(at )?)/);Le=c&&c[1]||""}return`
67
- `+Le+s}var St=!1;function It(s,c){if(!s||St)return"";St=!0;var y=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(c)if(c=function(){throw Error()},Object.defineProperty(c.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(c,[])}catch(se){var w=se}Reflect.construct(s,[],c)}else{try{c.call()}catch(se){w=se}s.call(c.prototype)}else{try{throw Error()}catch(se){w=se}s()}}catch(se){if(se&&w&&typeof se.stack=="string"){for(var M=se.stack.split(`
68
- `),L=w.stack.split(`
69
- `),z=M.length-1,$=L.length-1;1<=z&&0<=$&&M[z]!==L[$];)$--;for(;1<=z&&0<=$;z--,$--)if(M[z]!==L[$]){if(z!==1||$!==1)do if(z--,$--,0>$||M[z]!==L[$]){var q=`
70
- `+M[z].replace(" at new "," at ");return s.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",s.displayName)),q}while(1<=z&&0<=$);break}}}finally{St=!1,Error.prepareStackTrace=y}return(s=s?s.displayName||s.name:"")?Ge(s):""}function Dn(s){switch(s.tag){case 5:return Ge(s.type);case 16:return Ge("Lazy");case 13:return Ge("Suspense");case 19:return Ge("SuspenseList");case 0:case 2:case 15:return s=It(s.type,!1),s;case 11:return s=It(s.type.render,!1),s;case 1:return s=It(s.type,!0),s;default:return""}}function Xt(s){if(s==null)return null;if(typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case U:return"Fragment";case F:return"Portal";case j:return"Profiler";case H:return"StrictMode";case J:return"Suspense";case ie:return"SuspenseList"}if(typeof s=="object")switch(s.$$typeof){case G:return(s.displayName||"Context")+".Consumer";case X:return(s._context.displayName||"Context")+".Provider";case ee:var c=s.render;return s=s.displayName,s||(s=c.displayName||c.name||"",s=s!==""?"ForwardRef("+s+")":"ForwardRef"),s;case ce:return c=s.displayName||null,c!==null?c:Xt(s.type)||"Memo";case fe:c=s._payload,s=s._init;try{return Xt(s(c))}catch{}}return null}function Mn(s){var c=s.type;switch(s.tag){case 24:return"Cache";case 9:return(c.displayName||"Context")+".Consumer";case 10:return(c._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return s=c.render,s=s.displayName||s.name||"",c.displayName||(s!==""?"ForwardRef("+s+")":"ForwardRef");case 7:return"Fragment";case 5:return c;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Xt(c);case 8:return c===H?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof c=="function")return c.displayName||c.name||null;if(typeof c=="string")return c}return null}function on(s){switch(typeof s){case"boolean":case"number":case"string":case"undefined":return s;case"object":return s;default:return""}}function zt(s){var c=s.type;return(s=s.nodeName)&&s.toLowerCase()==="input"&&(c==="checkbox"||c==="radio")}function Ft(s){var c=zt(s)?"checked":"value",y=Object.getOwnPropertyDescriptor(s.constructor.prototype,c),w=""+s[c];if(!s.hasOwnProperty(c)&&typeof y<"u"&&typeof y.get=="function"&&typeof y.set=="function"){var M=y.get,L=y.set;return Object.defineProperty(s,c,{configurable:!0,get:function(){return M.call(this)},set:function(z){w=""+z,L.call(this,z)}}),Object.defineProperty(s,c,{enumerable:y.enumerable}),{getValue:function(){return w},setValue:function(z){w=""+z},stopTracking:function(){s._valueTracker=null,delete s[c]}}}}function $e(s){s._valueTracker||(s._valueTracker=Ft(s))}function Se(s){if(!s)return!1;var c=s._valueTracker;if(!c)return!0;var y=c.getValue(),w="";return s&&(w=zt(s)?s.checked?"true":"false":s.value),s=w,s!==y?(c.setValue(s),!0):!1}function Zt(s){if(s=s||(typeof document<"u"?document:void 0),typeof s>"u")return null;try{return s.activeElement||s.body}catch{return s.body}}function Et(s,c){var y=c.checked;return pe({},c,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:y??s._wrapperState.initialChecked})}function Pn(s,c){var y=c.defaultValue==null?"":c.defaultValue,w=c.checked!=null?c.checked:c.defaultChecked;y=on(c.value!=null?c.value:y),s._wrapperState={initialChecked:w,initialValue:y,controlled:c.type==="checkbox"||c.type==="radio"?c.checked!=null:c.value!=null}}function ar(s,c){c=c.checked,c!=null&&O(s,"checked",c,!1)}function Vr(s,c){ar(s,c);var y=on(c.value),w=c.type;if(y!=null)w==="number"?(y===0&&s.value===""||s.value!=y)&&(s.value=""+y):s.value!==""+y&&(s.value=""+y);else if(w==="submit"||w==="reset"){s.removeAttribute("value");return}c.hasOwnProperty("value")?za(s,c.type,y):c.hasOwnProperty("defaultValue")&&za(s,c.type,on(c.defaultValue)),c.checked==null&&c.defaultChecked!=null&&(s.defaultChecked=!!c.defaultChecked)}function ua(s,c,y){if(c.hasOwnProperty("value")||c.hasOwnProperty("defaultValue")){var w=c.type;if(!(w!=="submit"&&w!=="reset"||c.value!==void 0&&c.value!==null))return;c=""+s._wrapperState.initialValue,y||c===s.value||(s.value=c),s.defaultValue=c}y=s.name,y!==""&&(s.name=""),s.defaultChecked=!!s._wrapperState.initialChecked,y!==""&&(s.name=y)}function za(s,c,y){(c!=="number"||Zt(s.ownerDocument)!==s)&&(y==null?s.defaultValue=""+s._wrapperState.initialValue:s.defaultValue!==""+y&&(s.defaultValue=""+y))}var Ho=Array.isArray;function vo(s,c,y,w){if(s=s.options,c){c={};for(var M=0;M<y.length;M++)c["$"+y[M]]=!0;for(y=0;y<s.length;y++)M=c.hasOwnProperty("$"+s[y].value),s[y].selected!==M&&(s[y].selected=M),M&&w&&(s[y].defaultSelected=!0)}else{for(y=""+on(y),c=null,M=0;M<s.length;M++){if(s[M].value===y){s[M].selected=!0,w&&(s[M].defaultSelected=!0);return}c!==null||s[M].disabled||(c=s[M])}c!==null&&(c.selected=!0)}}function Fa(s,c){if(c.dangerouslySetInnerHTML!=null)throw Error(n(91));return pe({},c,{value:void 0,defaultValue:void 0,children:""+s._wrapperState.initialValue})}function Pi(s,c){var y=c.value;if(y==null){if(y=c.children,c=c.defaultValue,y!=null){if(c!=null)throw Error(n(92));if(Ho(y)){if(1<y.length)throw Error(n(93));y=y[0]}c=y}c==null&&(c=""),y=c}s._wrapperState={initialValue:on(y)}}function ho(s,c){var y=on(c.value),w=on(c.defaultValue);y!=null&&(y=""+y,y!==s.value&&(s.value=y),c.defaultValue==null&&s.defaultValue!==y&&(s.defaultValue=y)),w!=null&&(s.defaultValue=""+w)}function Ii(s){var c=s.textContent;c===s._wrapperState.initialValue&&c!==""&&c!==null&&(s.value=c)}function Ba(s){switch(s){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Zn(s,c){return s==null||s==="http://www.w3.org/1999/xhtml"?Ba(c):s==="http://www.w3.org/2000/svg"&&c==="foreignObject"?"http://www.w3.org/1999/xhtml":s}var zi,Ol=function(s){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(c,y,w,M){MSApp.execUnsafeLocalFunction(function(){return s(c,y,w,M)})}:s}(function(s,c){if(s.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in s)s.innerHTML=c;else{for(zi=zi||document.createElement("div"),zi.innerHTML="<svg>"+c.valueOf().toString()+"</svg>",c=zi.firstChild;s.firstChild;)s.removeChild(s.firstChild);for(;c.firstChild;)s.appendChild(c.firstChild)}});function Ua(s,c){if(c){var y=s.firstChild;if(y&&y===s.lastChild&&y.nodeType===3){y.nodeValue=c;return}}s.textContent=c}var De={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},qe=["Webkit","ms","Moz","O"];Object.keys(De).forEach(function(s){qe.forEach(function(c){c=c+s.charAt(0).toUpperCase()+s.substring(1),De[c]=De[s]})});function Ct(s,c,y){return c==null||typeof c=="boolean"||c===""?"":y||typeof c!="number"||c===0||De.hasOwnProperty(s)&&De[s]?(""+c).trim():c+"px"}function en(s,c){s=s.style;for(var y in c)if(c.hasOwnProperty(y)){var w=y.indexOf("--")===0,M=Ct(y,c[y],w);y==="float"&&(y="cssFloat"),w?s.setProperty(y,M):s[y]=M}}var In=pe({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function hr(s,c){if(c){if(In[s]&&(c.children!=null||c.dangerouslySetInnerHTML!=null))throw Error(n(137,s));if(c.dangerouslySetInnerHTML!=null){if(c.children!=null)throw Error(n(60));if(typeof c.dangerouslySetInnerHTML!="object"||!("__html"in c.dangerouslySetInnerHTML))throw Error(n(61))}if(c.style!=null&&typeof c.style!="object")throw Error(n(62))}}function Yn(s,c){if(s.indexOf("-")===-1)return typeof c.is=="string";switch(s){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 pi=null;function _n(s){return s=s.target||s.srcElement||window,s.correspondingUseElement&&(s=s.correspondingUseElement),s.nodeType===3?s.parentNode:s}var Fi=null,vn=null,Sn=null;function Bs(s){if(s=td(s)){if(typeof Fi!="function")throw Error(n(280));var c=s.stateNode;c&&(c=Qe(c),Fi(s.stateNode,s.type,c))}}function Lu(s){vn?Sn?Sn.push(s):Sn=[s]:vn=s}function Us(){if(vn){var s=vn,c=Sn;if(Sn=vn=null,Bs(s),c)for(s=0;s<c.length;s++)Bs(c[s])}}function kc(s,c){return s(c)}function Fv(){}var Ou=!1;function Vs(s,c,y){if(Ou)return s(c,y);Ou=!0;try{return kc(s,c,y)}finally{Ou=!1,(vn!==null||Sn!==null)&&(Fv(),Us())}}function ku(s,c){var y=s.stateNode;if(y===null)return null;var w=Qe(y);if(w===null)return null;y=w[c];e:switch(c){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(w=!w.disabled)||(s=s.type,w=!(s==="button"||s==="input"||s==="select"||s==="textarea")),s=!w;break e;default:s=!1}if(s)return null;if(y&&typeof y!="function")throw Error(n(231,c,typeof y));return y}var Hs=!1;if(f)try{var po={};Object.defineProperty(po,"passive",{get:function(){Hs=!0}}),window.addEventListener("test",po,po),window.removeEventListener("test",po,po)}catch{Hs=!1}function kl(s,c,y,w,M,L,z,$,q){var se=Array.prototype.slice.call(arguments,3);try{c.apply(y,se)}catch(_e){this.onError(_e)}}var Bi=!1,Va=null,Nl=!1,Y=null,Ce={onError:function(s){Bi=!0,Va=s}};function Me(s,c,y,w,M,L,z,$,q){Bi=!1,Va=null,kl.apply(Ce,arguments)}function Ke(s,c,y,w,M,L,z,$,q){if(Me.apply(this,arguments),Bi){if(Bi){var se=Va;Bi=!1,Va=null}else throw Error(n(198));Nl||(Nl=!0,Y=se)}}function mt(s){var c=s,y=s;if(s.alternate)for(;c.return;)c=c.return;else{s=c;do c=s,c.flags&4098&&(y=c.return),s=c.return;while(s)}return c.tag===3?y:null}function Bt(s){if(s.tag===13){var c=s.memoizedState;if(c===null&&(s=s.alternate,s!==null&&(c=s.memoizedState)),c!==null)return c.dehydrated}return null}function yt(s){if(mt(s)!==s)throw Error(n(188))}function tt(s){var c=s.alternate;if(!c){if(c=mt(s),c===null)throw Error(n(188));return c!==s?null:s}for(var y=s,w=c;;){var M=y.return;if(M===null)break;var L=M.alternate;if(L===null){if(w=M.return,w!==null){y=w;continue}break}if(M.child===L.child){for(L=M.child;L;){if(L===y)return yt(M),s;if(L===w)return yt(M),c;L=L.sibling}throw Error(n(188))}if(y.return!==w.return)y=M,w=L;else{for(var z=!1,$=M.child;$;){if($===y){z=!0,y=M,w=L;break}if($===w){z=!0,w=M,y=L;break}$=$.sibling}if(!z){for($=L.child;$;){if($===y){z=!0,y=L,w=M;break}if($===w){z=!0,w=L,y=M;break}$=$.sibling}if(!z)throw Error(n(189))}}if(y.alternate!==w)throw Error(n(190))}if(y.tag!==3)throw Error(n(188));return y.stateNode.current===y?s:c}function pr(s){return s=tt(s),s!==null?Rn(s):null}function Rn(s){if(s.tag===5||s.tag===6)return s;for(s=s.child;s!==null;){var c=Rn(s);if(c!==null)return c;s=s.sibling}return null}var An=e.unstable_scheduleCallback,Jr=e.unstable_cancelCallback,Pl=e.unstable_shouldYield,Bv=e.unstable_requestPaint,$t=e.unstable_now,AE=e.unstable_getCurrentPriorityLevel,Go=e.unstable_ImmediatePriority,Dt=e.unstable_UserBlockingPriority,Il=e.unstable_NormalPriority,w1=e.unstable_LowPriority,Zg=e.unstable_IdlePriority,Nc=null,Ha=null;function x1(s){if(Ha&&typeof Ha.onCommitFiberRoot=="function")try{Ha.onCommitFiberRoot(Nc,s,void 0,(s.current.flags&128)===128)}catch{}}var sa=Math.clz32?Math.clz32:LE,T1=Math.log,b1=Math.LN2;function LE(s){return s>>>=0,s===0?32:31-(T1(s)/b1|0)|0}var Uv=64,Gs=4194304;function Nu(s){switch(s&-s){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return s&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return s&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return s}}function Ga(s,c){var y=s.pendingLanes;if(y===0)return 0;var w=0,M=s.suspendedLanes,L=s.pingedLanes,z=y&268435455;if(z!==0){var $=z&~M;$!==0?w=Nu($):(L&=z,L!==0&&(w=Nu(L)))}else z=y&~M,z!==0?w=Nu(z):L!==0&&(w=Nu(L));if(w===0)return 0;if(c!==0&&c!==w&&!(c&M)&&(M=w&-w,L=c&-c,M>=L||M===16&&(L&4194240)!==0))return c;if(w&4&&(w|=y&16),c=s.entangledLanes,c!==0)for(s=s.entanglements,c&=w;0<c;)y=31-sa(c),M=1<<y,w|=s[y],c&=~M;return w}function Kg(s,c){switch(s){case 1:case 2:case 4:return c+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return c+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Vv(s,c){for(var y=s.suspendedLanes,w=s.pingedLanes,M=s.expirationTimes,L=s.pendingLanes;0<L;){var z=31-sa(L),$=1<<z,q=M[z];q===-1?(!($&y)||$&w)&&(M[z]=Kg($,c)):q<=c&&(s.expiredLanes|=$),L&=~$}}function Jg(s){return s=s.pendingLanes&-1073741825,s!==0?s:s&1073741824?1073741824:0}function Hv(){var s=Uv;return Uv<<=1,!(Uv&4194240)&&(Uv=64),s}function em(s){for(var c=[],y=0;31>y;y++)c.push(s);return c}function Pu(s,c,y){s.pendingLanes|=c,c!==536870912&&(s.suspendedLanes=0,s.pingedLanes=0),s=s.eventTimes,c=31-sa(c),s[c]=y}function OE(s,c){var y=s.pendingLanes&~c;s.pendingLanes=c,s.suspendedLanes=0,s.pingedLanes=0,s.expiredLanes&=c,s.mutableReadLanes&=c,s.entangledLanes&=c,c=s.entanglements;var w=s.eventTimes;for(s=s.expirationTimes;0<y;){var M=31-sa(y),L=1<<M;c[M]=0,w[M]=-1,s[M]=-1,y&=~L}}function Pc(s,c){var y=s.entangledLanes|=c;for(s=s.entanglements;y;){var w=31-sa(y),M=1<<w;M&c|s[w]&c&&(s[w]|=c),y&=~M}}var tn=0;function tm(s){return s&=-s,1<s?4<s?s&268435455?16:536870912:4:1}var E1,Gv,hn,D1,nm,dt=!1,Ic=[],Kn=null,fa=null,ca=null,zc=new Map,or=new Map,ln=[],kE="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function $a(s,c){switch(s){case"focusin":case"focusout":Kn=null;break;case"dragenter":case"dragleave":fa=null;break;case"mouseover":case"mouseout":ca=null;break;case"pointerover":case"pointerout":zc.delete(c.pointerId);break;case"gotpointercapture":case"lostpointercapture":or.delete(c.pointerId)}}function Hr(s,c,y,w,M,L){return s===null||s.nativeEvent!==L?(s={blockedOn:c,domEventName:y,eventSystemFlags:w,nativeEvent:L,targetContainers:[M]},c!==null&&(c=td(c),c!==null&&Gv(c)),s):(s.eventSystemFlags|=w,c=s.targetContainers,M!==null&&c.indexOf(M)===-1&&c.push(M),s)}function zl(s,c,y,w,M){switch(c){case"focusin":return Kn=Hr(Kn,s,c,y,w,M),!0;case"dragenter":return fa=Hr(fa,s,c,y,w,M),!0;case"mouseover":return ca=Hr(ca,s,c,y,w,M),!0;case"pointerover":var L=M.pointerId;return zc.set(L,Hr(zc.get(L)||null,s,c,y,w,M)),!0;case"gotpointercapture":return L=M.pointerId,or.set(L,Hr(or.get(L)||null,s,c,y,w,M)),!0}return!1}function M1(s){var c=va(s.target);if(c!==null){var y=mt(c);if(y!==null){if(c=y.tag,c===13){if(c=Bt(y),c!==null){s.blockedOn=c,nm(s.priority,function(){hn(y)});return}}else if(c===3&&y.stateNode.current.memoizedState.isDehydrated){s.blockedOn=y.tag===3?y.stateNode.containerInfo:null;return}}}s.blockedOn=null}function $s(s){if(s.blockedOn!==null)return!1;for(var c=s.targetContainers;0<c.length;){var y=Yv(s.domEventName,s.eventSystemFlags,c[0],s.nativeEvent);if(y===null){y=s.nativeEvent;var w=new y.constructor(y.type,y);pi=w,y.target.dispatchEvent(w),pi=null}else return c=td(y),c!==null&&Gv(c),s.blockedOn=y,!1;c.shift()}return!0}function rm(s,c,y){$s(s)&&y.delete(c)}function R1(){dt=!1,Kn!==null&&$s(Kn)&&(Kn=null),fa!==null&&$s(fa)&&(fa=null),ca!==null&&$s(ca)&&(ca=null),zc.forEach(rm),or.forEach(rm)}function Fc(s,c){s.blockedOn===c&&(s.blockedOn=null,dt||(dt=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,R1)))}function Bc(s){function c(M){return Fc(M,s)}if(0<Ic.length){Fc(Ic[0],s);for(var y=1;y<Ic.length;y++){var w=Ic[y];w.blockedOn===s&&(w.blockedOn=null)}}for(Kn!==null&&Fc(Kn,s),fa!==null&&Fc(fa,s),ca!==null&&Fc(ca,s),zc.forEach(c),or.forEach(c),y=0;y<ln.length;y++)w=ln[y],w.blockedOn===s&&(w.blockedOn=null);for(;0<ln.length&&(y=ln[0],y.blockedOn===null);)M1(y),y.blockedOn===null&&ln.shift()}var js=P.ReactCurrentBatchConfig,Iu=!0;function A1(s,c,y,w){var M=tn,L=js.transition;js.transition=null;try{tn=1,jv(s,c,y,w)}finally{tn=M,js.transition=L}}function $v(s,c,y,w){var M=tn,L=js.transition;js.transition=null;try{tn=4,jv(s,c,y,w)}finally{tn=M,js.transition=L}}function jv(s,c,y,w){if(Iu){var M=Yv(s,c,y,w);if(M===null)ih(s,c,w,Uc,y),$a(s,w);else if(zl(M,s,c,y,w))w.stopPropagation();else if($a(s,w),c&4&&-1<kE.indexOf(s)){for(;M!==null;){var L=td(M);if(L!==null&&E1(L),L=Yv(s,c,y,w),L===null&&ih(s,c,w,Uc,y),L===M)break;M=L}M!==null&&w.stopPropagation()}else ih(s,c,w,null,y)}}var Uc=null;function Yv(s,c,y,w){if(Uc=null,s=_n(w),s=va(s),s!==null)if(c=mt(s),c===null)s=null;else if(y=c.tag,y===13){if(s=Bt(c),s!==null)return s;s=null}else if(y===3){if(c.stateNode.current.memoizedState.isDehydrated)return c.tag===3?c.stateNode.containerInfo:null;s=null}else c!==s&&(s=null);return Uc=s,null}function im(s){switch(s){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(AE()){case Go:return 1;case Dt:return 4;case Il:case w1:return 16;case Zg:return 536870912;default:return 16}default:return 16}}var $o=null,Vc=null,Hc=null;function am(){if(Hc)return Hc;var s,c=Vc,y=c.length,w,M="value"in $o?$o.value:$o.textContent,L=M.length;for(s=0;s<y&&c[s]===M[s];s++);var z=y-s;for(w=1;w<=z&&c[y-w]===M[L-w];w++);return Hc=M.slice(s,1<w?1-w:void 0)}function Ys(s){var c=s.keyCode;return"charCode"in s?(s=s.charCode,s===0&&c===13&&(s=13)):s=c,s===10&&(s=13),32<=s||s===13?s:0}function Gc(){return!0}function L1(){return!1}function Ui(s){function c(y,w,M,L,z){this._reactName=y,this._targetInst=M,this.type=w,this.nativeEvent=L,this.target=z,this.currentTarget=null;for(var $ in s)s.hasOwnProperty($)&&(y=s[$],this[$]=y?y(L):L[$]);return this.isDefaultPrevented=(L.defaultPrevented!=null?L.defaultPrevented:L.returnValue===!1)?Gc:L1,this.isPropagationStopped=L1,this}return pe(c.prototype,{preventDefault:function(){this.defaultPrevented=!0;var y=this.nativeEvent;y&&(y.preventDefault?y.preventDefault():typeof y.returnValue!="unknown"&&(y.returnValue=!1),this.isDefaultPrevented=Gc)},stopPropagation:function(){var y=this.nativeEvent;y&&(y.stopPropagation?y.stopPropagation():typeof y.cancelBubble!="unknown"&&(y.cancelBubble=!0),this.isPropagationStopped=Gc)},persist:function(){},isPersistent:Gc}),c}var Fl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(s){return s.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Wv=Ui(Fl),Ws=pe({},Fl,{view:0,detail:0}),O1=Ui(Ws),Xv,om,$c,gr=pe({},Ws,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:fm,button:0,buttons:0,relatedTarget:function(s){return s.relatedTarget===void 0?s.fromElement===s.srcElement?s.toElement:s.fromElement:s.relatedTarget},movementX:function(s){return"movementX"in s?s.movementX:(s!==$c&&($c&&s.type==="mousemove"?(Xv=s.screenX-$c.screenX,om=s.screenY-$c.screenY):om=Xv=0,$c=s),Xv)},movementY:function(s){return"movementY"in s?s.movementY:om}}),qv=Ui(gr),k1=pe({},gr,{dataTransfer:0}),N1=Ui(k1),NE=pe({},Ws,{relatedTarget:0}),Bl=Ui(NE),lm=pe({},Fl,{animationName:0,elapsedTime:0,pseudoElement:0}),P1=Ui(lm),PE=pe({},Fl,{clipboardData:function(s){return"clipboardData"in s?s.clipboardData:window.clipboardData}}),IE=Ui(PE),zE=pe({},Fl,{data:0}),um=Ui(zE),sm={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},I1={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"},z1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function F1(s){var c=this.nativeEvent;return c.getModifierState?c.getModifierState(s):(s=z1[s])?!!c[s]:!1}function fm(){return F1}var jo=pe({},Ws,{key:function(s){if(s.key){var c=sm[s.key]||s.key;if(c!=="Unidentified")return c}return s.type==="keypress"?(s=Ys(s),s===13?"Enter":String.fromCharCode(s)):s.type==="keydown"||s.type==="keyup"?I1[s.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:fm,charCode:function(s){return s.type==="keypress"?Ys(s):0},keyCode:function(s){return s.type==="keydown"||s.type==="keyup"?s.keyCode:0},which:function(s){return s.type==="keypress"?Ys(s):s.type==="keydown"||s.type==="keyup"?s.keyCode:0}}),FE=Ui(jo),cm=pe({},gr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Qv=Ui(cm),dm=pe({},Ws,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:fm}),BE=Ui(dm),Zv=pe({},Fl,{propertyName:0,elapsedTime:0,pseudoElement:0}),B1=Ui(Zv),gi=pe({},gr,{deltaX:function(s){return"deltaX"in s?s.deltaX:"wheelDeltaX"in s?-s.wheelDeltaX:0},deltaY:function(s){return"deltaY"in s?s.deltaY:"wheelDeltaY"in s?-s.wheelDeltaY:"wheelDelta"in s?-s.wheelDelta:0},deltaZ:0,deltaMode:0}),Yo=Ui(gi),Jn=[9,13,27,32],ja=f&&"CompositionEvent"in window,zu=null;f&&"documentMode"in document&&(zu=document.documentMode);var Kv=f&&"TextEvent"in window&&!zu,U1=f&&(!ja||zu&&8<zu&&11>=zu),Xs=String.fromCharCode(32),V1=!1;function H1(s,c){switch(s){case"keyup":return Jn.indexOf(c.keyCode)!==-1;case"keydown":return c.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Jv(s){return s=s.detail,typeof s=="object"&&"data"in s?s.data:null}var qs=!1;function UE(s,c){switch(s){case"compositionend":return Jv(c);case"keypress":return c.which!==32?null:(V1=!0,Xs);case"textInput":return s=c.data,s===Xs&&V1?null:s;default:return null}}function VE(s,c){if(qs)return s==="compositionend"||!ja&&H1(s,c)?(s=am(),Hc=Vc=$o=null,qs=!1,s):null;switch(s){case"paste":return null;case"keypress":if(!(c.ctrlKey||c.altKey||c.metaKey)||c.ctrlKey&&c.altKey){if(c.char&&1<c.char.length)return c.char;if(c.which)return String.fromCharCode(c.which)}return null;case"compositionend":return U1&&c.locale!=="ko"?null:c.data;default:return null}}var G1={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 $1(s){var c=s&&s.nodeName&&s.nodeName.toLowerCase();return c==="input"?!!G1[s.type]:c==="textarea"}function j1(s,c,y,w){Lu(w),c=Kc(c,"onChange"),0<c.length&&(y=new Wv("onChange","change",null,y,w),s.push({event:y,listeners:c}))}var jc=null,Qs=null;function Zs(s){rh(s,0)}function Ks(s){var c=ef(s);if(Se(c))return s}function Y1(s,c){if(s==="change")return c}var vm=!1;if(f){var hm;if(f){var pm="oninput"in document;if(!pm){var W1=document.createElement("div");W1.setAttribute("oninput","return;"),pm=typeof W1.oninput=="function"}hm=pm}else hm=!1;vm=hm&&(!document.documentMode||9<document.documentMode)}function X1(){jc&&(jc.detachEvent("onpropertychange",q1),Qs=jc=null)}function q1(s){if(s.propertyName==="value"&&Ks(Qs)){var c=[];j1(c,Qs,s,_n(s)),Vs(Zs,c)}}function HE(s,c,y){s==="focusin"?(X1(),jc=c,Qs=y,jc.attachEvent("onpropertychange",q1)):s==="focusout"&&X1()}function GE(s){if(s==="selectionchange"||s==="keyup"||s==="keydown")return Ks(Qs)}function $E(s,c){if(s==="click")return Ks(c)}function Q1(s,c){if(s==="input"||s==="change")return Ks(c)}function jE(s,c){return s===c&&(s!==0||1/s===1/c)||s!==s&&c!==c}var da=typeof Object.is=="function"?Object.is:jE;function Yc(s,c){if(da(s,c))return!0;if(typeof s!="object"||s===null||typeof c!="object"||c===null)return!1;var y=Object.keys(s),w=Object.keys(c);if(y.length!==w.length)return!1;for(w=0;w<y.length;w++){var M=y[w];if(!d.call(c,M)||!da(s[M],c[M]))return!1}return!0}function Z1(s){for(;s&&s.firstChild;)s=s.firstChild;return s}function K1(s,c){var y=Z1(s);s=0;for(var w;y;){if(y.nodeType===3){if(w=s+y.textContent.length,s<=c&&w>=c)return{node:y,offset:c-s};s=w}e:{for(;y;){if(y.nextSibling){y=y.nextSibling;break e}y=y.parentNode}y=void 0}y=Z1(y)}}function J1(s,c){return s&&c?s===c?!0:s&&s.nodeType===3?!1:c&&c.nodeType===3?J1(s,c.parentNode):"contains"in s?s.contains(c):s.compareDocumentPosition?!!(s.compareDocumentPosition(c)&16):!1:!1}function eh(){for(var s=window,c=Zt();c instanceof s.HTMLIFrameElement;){try{var y=typeof c.contentWindow.location.href=="string"}catch{y=!1}if(y)s=c.contentWindow;else break;c=Zt(s.document)}return c}function Wo(s){var c=s&&s.nodeName&&s.nodeName.toLowerCase();return c&&(c==="input"&&(s.type==="text"||s.type==="search"||s.type==="tel"||s.type==="url"||s.type==="password")||c==="textarea"||s.contentEditable==="true")}function th(s){var c=eh(),y=s.focusedElem,w=s.selectionRange;if(c!==y&&y&&y.ownerDocument&&J1(y.ownerDocument.documentElement,y)){if(w!==null&&Wo(y)){if(c=w.start,s=w.end,s===void 0&&(s=c),"selectionStart"in y)y.selectionStart=c,y.selectionEnd=Math.min(s,y.value.length);else if(s=(c=y.ownerDocument||document)&&c.defaultView||window,s.getSelection){s=s.getSelection();var M=y.textContent.length,L=Math.min(w.start,M);w=w.end===void 0?L:Math.min(w.end,M),!s.extend&&L>w&&(M=w,w=L,L=M),M=K1(y,L);var z=K1(y,w);M&&z&&(s.rangeCount!==1||s.anchorNode!==M.node||s.anchorOffset!==M.offset||s.focusNode!==z.node||s.focusOffset!==z.offset)&&(c=c.createRange(),c.setStart(M.node,M.offset),s.removeAllRanges(),L>w?(s.addRange(c),s.extend(z.node,z.offset)):(c.setEnd(z.node,z.offset),s.addRange(c)))}}for(c=[],s=y;s=s.parentNode;)s.nodeType===1&&c.push({element:s,left:s.scrollLeft,top:s.scrollTop});for(typeof y.focus=="function"&&y.focus(),y=0;y<c.length;y++)s=c[y],s.element.scrollLeft=s.left,s.element.scrollTop=s.top}}var eS=f&&"documentMode"in document&&11>=document.documentMode,Ya=null,gm=null,Wc=null,mm=!1;function tS(s,c,y){var w=y.window===y?y.document:y.nodeType===9?y:y.ownerDocument;mm||Ya==null||Ya!==Zt(w)||(w=Ya,"selectionStart"in w&&Wo(w)?w={start:w.selectionStart,end:w.selectionEnd}:(w=(w.ownerDocument&&w.ownerDocument.defaultView||window).getSelection(),w={anchorNode:w.anchorNode,anchorOffset:w.anchorOffset,focusNode:w.focusNode,focusOffset:w.focusOffset}),Wc&&Yc(Wc,w)||(Wc=w,w=Kc(gm,"onSelect"),0<w.length&&(c=new Wv("onSelect","select",null,c,y),s.push({event:c,listeners:w}),c.target=Ya)))}function nh(s,c){var y={};return y[s.toLowerCase()]=c.toLowerCase(),y["Webkit"+s]="webkit"+c,y["Moz"+s]="moz"+c,y}var Fu={animationend:nh("Animation","AnimationEnd"),animationiteration:nh("Animation","AnimationIteration"),animationstart:nh("Animation","AnimationStart"),transitionend:nh("Transition","TransitionEnd")},ym={},_m={};f&&(_m=document.createElement("div").style,"AnimationEvent"in window||(delete Fu.animationend.animation,delete Fu.animationiteration.animation,delete Fu.animationstart.animation),"TransitionEvent"in window||delete Fu.transitionend.transition);function mr(s){if(ym[s])return ym[s];if(!Fu[s])return s;var c=Fu[s],y;for(y in c)if(c.hasOwnProperty(y)&&y in _m)return ym[s]=c[y];return s}var Sm=mr("animationend"),nS=mr("animationiteration"),rS=mr("animationstart"),iS=mr("transitionend"),aS=new Map,oS="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Xo(s,c){aS.set(s,c),l(c,[s])}for(var Xc=0;Xc<oS.length;Xc++){var Bu=oS[Xc],YE=Bu.toLowerCase(),qc=Bu[0].toUpperCase()+Bu.slice(1);Xo(YE,"on"+qc)}Xo(Sm,"onAnimationEnd"),Xo(nS,"onAnimationIteration"),Xo(rS,"onAnimationStart"),Xo("dblclick","onDoubleClick"),Xo("focusin","onFocus"),Xo("focusout","onBlur"),Xo(iS,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Qc="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(" "),WE=new Set("cancel close invalid load scroll toggle".split(" ").concat(Qc));function lS(s,c,y){var w=s.type||"unknown-event";s.currentTarget=y,Ke(w,c,void 0,s),s.currentTarget=null}function rh(s,c){c=(c&4)!==0;for(var y=0;y<s.length;y++){var w=s[y],M=w.event;w=w.listeners;e:{var L=void 0;if(c)for(var z=w.length-1;0<=z;z--){var $=w[z],q=$.instance,se=$.currentTarget;if($=$.listener,q!==L&&M.isPropagationStopped())break e;lS(M,$,se),L=q}else for(z=0;z<w.length;z++){if($=w[z],q=$.instance,se=$.currentTarget,$=$.listener,q!==L&&M.isPropagationStopped())break e;lS(M,$,se),L=q}}}if(Nl)throw s=Y,Nl=!1,Y=null,s}function pn(s,c){var y=c[Dm];y===void 0&&(y=c[Dm]=new Set);var w=s+"__bubble";y.has(w)||(uS(c,s,2,!1),y.add(w))}function Ul(s,c,y){var w=0;c&&(w|=4),uS(y,s,w,c)}var qo="_reactListening"+Math.random().toString(36).slice(2);function Js(s){if(!s[qo]){s[qo]=!0,r.forEach(function(y){y!=="selectionchange"&&(WE.has(y)||Ul(y,!1,s),Ul(y,!0,s))});var c=s.nodeType===9?s:s.ownerDocument;c===null||c[qo]||(c[qo]=!0,Ul("selectionchange",!1,c))}}function uS(s,c,y,w){switch(im(c)){case 1:var M=A1;break;case 4:M=$v;break;default:M=jv}y=M.bind(null,c,y,s),M=void 0,!Hs||c!=="touchstart"&&c!=="touchmove"&&c!=="wheel"||(M=!0),w?M!==void 0?s.addEventListener(c,y,{capture:!0,passive:M}):s.addEventListener(c,y,!0):M!==void 0?s.addEventListener(c,y,{passive:M}):s.addEventListener(c,y,!1)}function ih(s,c,y,w,M){var L=w;if(!(c&1)&&!(c&2)&&w!==null)e:for(;;){if(w===null)return;var z=w.tag;if(z===3||z===4){var $=w.stateNode.containerInfo;if($===M||$.nodeType===8&&$.parentNode===M)break;if(z===4)for(z=w.return;z!==null;){var q=z.tag;if((q===3||q===4)&&(q=z.stateNode.containerInfo,q===M||q.nodeType===8&&q.parentNode===M))return;z=z.return}for(;$!==null;){if(z=va($),z===null)return;if(q=z.tag,q===5||q===6){w=L=z;continue e}$=$.parentNode}}w=w.return}Vs(function(){var se=L,_e=_n(y),we=[];e:{var ye=aS.get(s);if(ye!==void 0){var Oe=Wv,Ue=s;switch(s){case"keypress":if(Ys(y)===0)break e;case"keydown":case"keyup":Oe=FE;break;case"focusin":Ue="focus",Oe=Bl;break;case"focusout":Ue="blur",Oe=Bl;break;case"beforeblur":case"afterblur":Oe=Bl;break;case"click":if(y.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Oe=qv;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Oe=N1;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Oe=BE;break;case Sm:case nS:case rS:Oe=P1;break;case iS:Oe=B1;break;case"scroll":Oe=O1;break;case"wheel":Oe=Yo;break;case"copy":case"cut":case"paste":Oe=IE;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Oe=Qv}var je=(c&4)!==0,Xn=!je&&s==="scroll",te=je?ye!==null?ye+"Capture":null:ye;je=[];for(var Z=se,oe;Z!==null;){oe=Z;var Te=oe.stateNode;if(oe.tag===5&&Te!==null&&(oe=Te,te!==null&&(Te=ku(Z,te),Te!=null&&je.push(Zc(Z,Te,oe)))),Xn)break;Z=Z.return}0<je.length&&(ye=new Oe(ye,Ue,null,y,_e),we.push({event:ye,listeners:je}))}}if(!(c&7)){e:{if(ye=s==="mouseover"||s==="pointerover",Oe=s==="mouseout"||s==="pointerout",ye&&y!==pi&&(Ue=y.relatedTarget||y.fromElement)&&(va(Ue)||Ue[Qo]))break e;if((Oe||ye)&&(ye=_e.window===_e?_e:(ye=_e.ownerDocument)?ye.defaultView||ye.parentWindow:window,Oe?(Ue=y.relatedTarget||y.toElement,Oe=se,Ue=Ue?va(Ue):null,Ue!==null&&(Xn=mt(Ue),Ue!==Xn||Ue.tag!==5&&Ue.tag!==6)&&(Ue=null)):(Oe=null,Ue=se),Oe!==Ue)){if(je=qv,Te="onMouseLeave",te="onMouseEnter",Z="mouse",(s==="pointerout"||s==="pointerover")&&(je=Qv,Te="onPointerLeave",te="onPointerEnter",Z="pointer"),Xn=Oe==null?ye:ef(Oe),oe=Ue==null?ye:ef(Ue),ye=new je(Te,Z+"leave",Oe,y,_e),ye.target=Xn,ye.relatedTarget=oe,Te=null,va(_e)===se&&(je=new je(te,Z+"enter",Ue,y,_e),je.target=oe,je.relatedTarget=Xn,Te=je),Xn=Te,Oe&&Ue)t:{for(je=Oe,te=Ue,Z=0,oe=je;oe;oe=Uu(oe))Z++;for(oe=0,Te=te;Te;Te=Uu(Te))oe++;for(;0<Z-oe;)je=Uu(je),Z--;for(;0<oe-Z;)te=Uu(te),oe--;for(;Z--;){if(je===te||te!==null&&je===te.alternate)break t;je=Uu(je),te=Uu(te)}je=null}else je=null;Oe!==null&&Cm(we,ye,Oe,je,!1),Ue!==null&&Xn!==null&&Cm(we,Xn,Ue,je,!0)}}e:{if(ye=se?ef(se):window,Oe=ye.nodeName&&ye.nodeName.toLowerCase(),Oe==="select"||Oe==="input"&&ye.type==="file")var Ye=Y1;else if($1(ye))if(vm)Ye=Q1;else{Ye=GE;var Ve=HE}else(Oe=ye.nodeName)&&Oe.toLowerCase()==="input"&&(ye.type==="checkbox"||ye.type==="radio")&&(Ye=$E);if(Ye&&(Ye=Ye(s,se))){j1(we,Ye,y,_e);break e}Ve&&Ve(s,ye,se),s==="focusout"&&(Ve=ye._wrapperState)&&Ve.controlled&&ye.type==="number"&&za(ye,"number",ye.value)}switch(Ve=se?ef(se):window,s){case"focusin":($1(Ve)||Ve.contentEditable==="true")&&(Ya=Ve,gm=se,Wc=null);break;case"focusout":Wc=gm=Ya=null;break;case"mousedown":mm=!0;break;case"contextmenu":case"mouseup":case"dragend":mm=!1,tS(we,y,_e);break;case"selectionchange":if(eS)break;case"keydown":case"keyup":tS(we,y,_e)}var Xe;if(ja)e:{switch(s){case"compositionstart":var ut="onCompositionStart";break e;case"compositionend":ut="onCompositionEnd";break e;case"compositionupdate":ut="onCompositionUpdate";break e}ut=void 0}else qs?H1(s,y)&&(ut="onCompositionEnd"):s==="keydown"&&y.keyCode===229&&(ut="onCompositionStart");ut&&(U1&&y.locale!=="ko"&&(qs||ut!=="onCompositionStart"?ut==="onCompositionEnd"&&qs&&(Xe=am()):($o=_e,Vc="value"in $o?$o.value:$o.textContent,qs=!0)),Ve=Kc(se,ut),0<Ve.length&&(ut=new um(ut,s,null,y,_e),we.push({event:ut,listeners:Ve}),Xe?ut.data=Xe:(Xe=Jv(y),Xe!==null&&(ut.data=Xe)))),(Xe=Kv?UE(s,y):VE(s,y))&&(se=Kc(se,"onBeforeInput"),0<se.length&&(_e=new um("onBeforeInput","beforeinput",null,y,_e),we.push({event:_e,listeners:se}),_e.data=Xe))}rh(we,c)})}function Zc(s,c,y){return{instance:s,listener:c,currentTarget:y}}function Kc(s,c){for(var y=c+"Capture",w=[];s!==null;){var M=s,L=M.stateNode;M.tag===5&&L!==null&&(M=L,L=ku(s,y),L!=null&&w.unshift(Zc(s,L,M)),L=ku(s,c),L!=null&&w.push(Zc(s,L,M))),s=s.return}return w}function Uu(s){if(s===null)return null;do s=s.return;while(s&&s.tag!==5);return s||null}function Cm(s,c,y,w,M){for(var L=c._reactName,z=[];y!==null&&y!==w;){var $=y,q=$.alternate,se=$.stateNode;if(q!==null&&q===w)break;$.tag===5&&se!==null&&($=se,M?(q=ku(y,L),q!=null&&z.unshift(Zc(y,q,$))):M||(q=ku(y,L),q!=null&&z.push(Zc(y,q,$)))),y=y.return}z.length!==0&&s.push({event:c,listeners:z})}var wm=/\r\n?/g,XE=/\u0000|\uFFFD/g;function xm(s){return(typeof s=="string"?s:""+s).replace(wm,`
71
- `).replace(XE,"")}function ah(s,c,y){if(c=xm(c),xm(s)!==c&&y)throw Error(n(425))}function oh(){}var Tm=null,Vu=null;function Jc(s,c){return s==="textarea"||s==="noscript"||typeof c.children=="string"||typeof c.children=="number"||typeof c.dangerouslySetInnerHTML=="object"&&c.dangerouslySetInnerHTML!==null&&c.dangerouslySetInnerHTML.__html!=null}var Hu=typeof setTimeout=="function"?setTimeout:void 0,sS=typeof clearTimeout=="function"?clearTimeout:void 0,bm=typeof Promise=="function"?Promise:void 0,Em=typeof queueMicrotask=="function"?queueMicrotask:typeof bm<"u"?function(s){return bm.resolve(null).then(s).catch(qE)}:Hu;function qE(s){setTimeout(function(){throw s})}function Vl(s,c){var y=c,w=0;do{var M=y.nextSibling;if(s.removeChild(y),M&&M.nodeType===8)if(y=M.data,y==="/$"){if(w===0){s.removeChild(M),Bc(c);return}w--}else y!=="$"&&y!=="$?"&&y!=="$!"||w++;y=M}while(y);Bc(c)}function Wa(s){for(;s!=null;s=s.nextSibling){var c=s.nodeType;if(c===1||c===3)break;if(c===8){if(c=s.data,c==="$"||c==="$!"||c==="$?")break;if(c==="/$")return null}}return s}function ed(s){s=s.previousSibling;for(var c=0;s;){if(s.nodeType===8){var y=s.data;if(y==="$"||y==="$!"||y==="$?"){if(c===0)return s;c--}else y==="/$"&&c++}s=s.previousSibling}return null}var Hl=Math.random().toString(36).slice(2),go="__reactFiber$"+Hl,Gu="__reactProps$"+Hl,Qo="__reactContainer$"+Hl,Dm="__reactEvents$"+Hl,QE="__reactListeners$"+Hl,Mm="__reactHandles$"+Hl;function va(s){var c=s[go];if(c)return c;for(var y=s.parentNode;y;){if(c=y[Qo]||y[go]){if(y=c.alternate,c.child!==null||y!==null&&y.child!==null)for(s=ed(s);s!==null;){if(y=s[go])return y;s=ed(s)}return c}s=y,y=s.parentNode}return null}function td(s){return s=s[go]||s[Qo],!s||s.tag!==5&&s.tag!==6&&s.tag!==13&&s.tag!==3?null:s}function ef(s){if(s.tag===5||s.tag===6)return s.stateNode;throw Error(n(33))}function Qe(s){return s[Gu]||null}var Gl=[],Cn=-1;function pt(s){return{current:s}}function qt(s){0>Cn||(s.current=Gl[Cn],Gl[Cn]=null,Cn--)}function Kt(s,c){Cn++,Gl[Cn]=s.current,s.current=c}var mo={},lt=pt(mo),Vn=pt(!1),mi=mo;function ha(s,c){var y=s.type.contextTypes;if(!y)return mo;var w=s.stateNode;if(w&&w.__reactInternalMemoizedUnmaskedChildContext===c)return w.__reactInternalMemoizedMaskedChildContext;var M={},L;for(L in y)M[L]=c[L];return w&&(s=s.stateNode,s.__reactInternalMemoizedUnmaskedChildContext=c,s.__reactInternalMemoizedMaskedChildContext=M),M}function Ln(s){return s=s.childContextTypes,s!=null}function pa(){qt(Vn),qt(lt)}function $l(s,c,y){if(lt.current!==mo)throw Error(n(168));Kt(lt,c),Kt(Vn,y)}function nd(s,c,y){var w=s.stateNode;if(c=c.childContextTypes,typeof w.getChildContext!="function")return y;w=w.getChildContext();for(var M in w)if(!(M in c))throw Error(n(108,Mn(s)||"Unknown",M));return pe({},y,w)}function lh(s){return s=(s=s.stateNode)&&s.__reactInternalMemoizedMergedChildContext||mo,mi=lt.current,Kt(lt,s),Kt(Vn,Vn.current),!0}function fS(s,c,y){var w=s.stateNode;if(!w)throw Error(n(169));y?(s=nd(s,c,mi),w.__reactInternalMemoizedMergedChildContext=s,qt(Vn),qt(lt),Kt(lt,s)):qt(Vn),Kt(Vn,y)}var Vi=null,yr=!1,rd=!1;function Rm(s){Vi===null?Vi=[s]:Vi.push(s)}function Am(s){yr=!0,Rm(s)}function yi(){if(!rd&&Vi!==null){rd=!0;var s=0,c=tn;try{var y=Vi;for(tn=1;s<y.length;s++){var w=y[s];do w=w(!0);while(w!==null)}Vi=null,yr=!1}catch(M){throw Vi!==null&&(Vi=Vi.slice(s+1)),An(Go,yi),M}finally{tn=c,rd=!1}}return null}var jl=[],_i=0,$u=null,tf=0,Si=[],Gr=0,ga=null,Dr=1,Zo="";function Hi(s,c){jl[_i++]=tf,jl[_i++]=$u,$u=s,tf=c}function Lm(s,c,y){Si[Gr++]=Dr,Si[Gr++]=Zo,Si[Gr++]=ga,ga=s;var w=Dr;s=Zo;var M=32-sa(w)-1;w&=~(1<<M),y+=1;var L=32-sa(c)+M;if(30<L){var z=M-M%5;L=(w&(1<<z)-1).toString(32),w>>=z,M-=z,Dr=1<<32-sa(c)+M|y<<M|w,Zo=L+s}else Dr=1<<L|y<<M|w,Zo=s}function uh(s){s.return!==null&&(Hi(s,1),Lm(s,1,0))}function Om(s){for(;s===$u;)$u=jl[--_i],jl[_i]=null,tf=jl[--_i],jl[_i]=null;for(;s===ga;)ga=Si[--Gr],Si[Gr]=null,Zo=Si[--Gr],Si[Gr]=null,Dr=Si[--Gr],Si[Gr]=null}var Gi=null,Ci=null,wn=!1,ma=null;function km(s,c){var y=xa(5,null,null,0);y.elementType="DELETED",y.stateNode=c,y.return=s,c=s.deletions,c===null?(s.deletions=[y],s.flags|=16):c.push(y)}function cS(s,c){switch(s.tag){case 5:var y=s.type;return c=c.nodeType!==1||y.toLowerCase()!==c.nodeName.toLowerCase()?null:c,c!==null?(s.stateNode=c,Gi=s,Ci=Wa(c.firstChild),!0):!1;case 6:return c=s.pendingProps===""||c.nodeType!==3?null:c,c!==null?(s.stateNode=c,Gi=s,Ci=null,!0):!1;case 13:return c=c.nodeType!==8?null:c,c!==null?(y=ga!==null?{id:Dr,overflow:Zo}:null,s.memoizedState={dehydrated:c,treeContext:y,retryLane:1073741824},y=xa(18,null,null,0),y.stateNode=c,y.return=s,s.child=y,Gi=s,Ci=null,!0):!1;default:return!1}}function sh(s){return(s.mode&1)!==0&&(s.flags&128)===0}function fh(s){if(wn){var c=Ci;if(c){var y=c;if(!cS(s,c)){if(sh(s))throw Error(n(418));c=Wa(y.nextSibling);var w=Gi;c&&cS(s,c)?km(w,y):(s.flags=s.flags&-4097|2,wn=!1,Gi=s)}}else{if(sh(s))throw Error(n(418));s.flags=s.flags&-4097|2,wn=!1,Gi=s}}}function dS(s){for(s=s.return;s!==null&&s.tag!==5&&s.tag!==3&&s.tag!==13;)s=s.return;Gi=s}function ch(s){if(s!==Gi)return!1;if(!wn)return dS(s),wn=!0,!1;var c;if((c=s.tag!==3)&&!(c=s.tag!==5)&&(c=s.type,c=c!=="head"&&c!=="body"&&!Jc(s.type,s.memoizedProps)),c&&(c=Ci)){if(sh(s))throw vS(),Error(n(418));for(;c;)km(s,c),c=Wa(c.nextSibling)}if(dS(s),s.tag===13){if(s=s.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(n(317));e:{for(s=s.nextSibling,c=0;s;){if(s.nodeType===8){var y=s.data;if(y==="/$"){if(c===0){Ci=Wa(s.nextSibling);break e}c--}else y!=="$"&&y!=="$!"&&y!=="$?"||c++}s=s.nextSibling}Ci=null}}else Ci=Gi?Wa(s.stateNode.nextSibling):null;return!0}function vS(){for(var s=Ci;s;)s=Wa(s.nextSibling)}function zn(){Ci=Gi=null,wn=!1}function Nm(s){ma===null?ma=[s]:ma.push(s)}var dh=P.ReactCurrentBatchConfig;function $i(s,c){if(s&&s.defaultProps){c=pe({},c),s=s.defaultProps;for(var y in s)c[y]===void 0&&(c[y]=s[y]);return c}return c}var yo=pt(null),vh=null,Yl=null,Pm=null;function Im(){Pm=Yl=vh=null}function Wl(s){var c=yo.current;qt(yo),s._currentValue=c}function _r(s,c,y){for(;s!==null;){var w=s.alternate;if((s.childLanes&c)!==c?(s.childLanes|=c,w!==null&&(w.childLanes|=c)):w!==null&&(w.childLanes&c)!==c&&(w.childLanes|=c),s===y)break;s=s.return}}function be(s,c){vh=s,Pm=Yl=null,s=s.dependencies,s!==null&&s.firstContext!==null&&(s.lanes&c&&(er=!0),s.firstContext=null)}function Wn(s){var c=s._currentValue;if(Pm!==s)if(s={context:s,memoizedValue:c,next:null},Yl===null){if(vh===null)throw Error(n(308));Yl=s,vh.dependencies={lanes:0,firstContext:s}}else Yl=Yl.next=s;return c}var Mr=null;function zm(s){Mr===null?Mr=[s]:Mr.push(s)}function hS(s,c,y,w){var M=c.interleaved;return M===null?(y.next=y,zm(c)):(y.next=M.next,M.next=y),c.interleaved=y,Ko(s,w)}function Ko(s,c){s.lanes|=c;var y=s.alternate;for(y!==null&&(y.lanes|=c),y=s,s=s.return;s!==null;)s.childLanes|=c,y=s.alternate,y!==null&&(y.childLanes|=c),y=s,s=s.return;return y.tag===3?y.stateNode:null}var Xl=!1;function Fm(s){s.updateQueue={baseState:s.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function lr(s,c){s=s.updateQueue,c.updateQueue===s&&(c.updateQueue={baseState:s.baseState,firstBaseUpdate:s.firstBaseUpdate,lastBaseUpdate:s.lastBaseUpdate,shared:s.shared,effects:s.effects})}function Jo(s,c){return{eventTime:s,lane:c,tag:0,payload:null,callback:null,next:null}}function ql(s,c,y){var w=s.updateQueue;if(w===null)return null;if(w=w.shared,Mt&2){var M=w.pending;return M===null?c.next=c:(c.next=M.next,M.next=c),w.pending=c,Ko(s,y)}return M=w.interleaved,M===null?(c.next=c,zm(w)):(c.next=M.next,M.next=c),w.interleaved=c,Ko(s,y)}function hh(s,c,y){if(c=c.updateQueue,c!==null&&(c=c.shared,(y&4194240)!==0)){var w=c.lanes;w&=s.pendingLanes,y|=w,c.lanes=y,Pc(s,y)}}function Bm(s,c){var y=s.updateQueue,w=s.alternate;if(w!==null&&(w=w.updateQueue,y===w)){var M=null,L=null;if(y=y.firstBaseUpdate,y!==null){do{var z={eventTime:y.eventTime,lane:y.lane,tag:y.tag,payload:y.payload,callback:y.callback,next:null};L===null?M=L=z:L=L.next=z,y=y.next}while(y!==null);L===null?M=L=c:L=L.next=c}else M=L=c;y={baseState:w.baseState,firstBaseUpdate:M,lastBaseUpdate:L,shared:w.shared,effects:w.effects},s.updateQueue=y;return}s=y.lastBaseUpdate,s===null?y.firstBaseUpdate=c:s.next=c,y.lastBaseUpdate=c}function Ql(s,c,y,w){var M=s.updateQueue;Xl=!1;var L=M.firstBaseUpdate,z=M.lastBaseUpdate,$=M.shared.pending;if($!==null){M.shared.pending=null;var q=$,se=q.next;q.next=null,z===null?L=se:z.next=se,z=q;var _e=s.alternate;_e!==null&&(_e=_e.updateQueue,$=_e.lastBaseUpdate,$!==z&&($===null?_e.firstBaseUpdate=se:$.next=se,_e.lastBaseUpdate=q))}if(L!==null){var we=M.baseState;z=0,_e=se=q=null,$=L;do{var ye=$.lane,Oe=$.eventTime;if((w&ye)===ye){_e!==null&&(_e=_e.next={eventTime:Oe,lane:0,tag:$.tag,payload:$.payload,callback:$.callback,next:null});e:{var Ue=s,je=$;switch(ye=c,Oe=y,je.tag){case 1:if(Ue=je.payload,typeof Ue=="function"){we=Ue.call(Oe,we,ye);break e}we=Ue;break e;case 3:Ue.flags=Ue.flags&-65537|128;case 0:if(Ue=je.payload,ye=typeof Ue=="function"?Ue.call(Oe,we,ye):Ue,ye==null)break e;we=pe({},we,ye);break e;case 2:Xl=!0}}$.callback!==null&&$.lane!==0&&(s.flags|=64,ye=M.effects,ye===null?M.effects=[$]:ye.push($))}else Oe={eventTime:Oe,lane:ye,tag:$.tag,payload:$.payload,callback:$.callback,next:null},_e===null?(se=_e=Oe,q=we):_e=_e.next=Oe,z|=ye;if($=$.next,$===null){if($=M.shared.pending,$===null)break;ye=$,$=ye.next,ye.next=null,M.lastBaseUpdate=ye,M.shared.pending=null}}while(1);if(_e===null&&(q=we),M.baseState=q,M.firstBaseUpdate=se,M.lastBaseUpdate=_e,c=M.shared.interleaved,c!==null){M=c;do z|=M.lane,M=M.next;while(M!==c)}else L===null&&(M.shared.lanes=0);rl|=z,s.lanes=z,s.memoizedState=we}}function ju(s,c,y){if(s=c.effects,c.effects=null,s!==null)for(c=0;c<s.length;c++){var w=s[c],M=w.callback;if(M!==null){if(w.callback=null,w=y,typeof M!="function")throw Error(n(191,M));M.call(w)}}}var pS=new t.Component().refs;function Um(s,c,y,w){c=s.memoizedState,y=y(w,c),y=y==null?c:pe({},c,y),s.memoizedState=y,s.lanes===0&&(s.updateQueue.baseState=y)}var ph={isMounted:function(s){return(s=s._reactInternals)?mt(s)===s:!1},enqueueSetState:function(s,c,y){s=s._reactInternals;var w=Wr(),M=tr(s),L=Jo(w,M);L.payload=c,y!=null&&(L.callback=y),c=ql(s,L,M),c!==null&&(Xr(c,s,M,w),hh(c,s,M))},enqueueReplaceState:function(s,c,y){s=s._reactInternals;var w=Wr(),M=tr(s),L=Jo(w,M);L.tag=1,L.payload=c,y!=null&&(L.callback=y),c=ql(s,L,M),c!==null&&(Xr(c,s,M,w),hh(c,s,M))},enqueueForceUpdate:function(s,c){s=s._reactInternals;var y=Wr(),w=tr(s),M=Jo(y,w);M.tag=2,c!=null&&(M.callback=c),c=ql(s,M,w),c!==null&&(Xr(c,s,w,y),hh(c,s,w))}};function gS(s,c,y,w,M,L,z){return s=s.stateNode,typeof s.shouldComponentUpdate=="function"?s.shouldComponentUpdate(w,L,z):c.prototype&&c.prototype.isPureReactComponent?!Yc(y,w)||!Yc(M,L):!0}function mS(s,c,y){var w=!1,M=mo,L=c.contextType;return typeof L=="object"&&L!==null?L=Wn(L):(M=Ln(c)?mi:lt.current,w=c.contextTypes,L=(w=w!=null)?ha(s,M):mo),c=new c(y,L),s.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=ph,s.stateNode=c,c._reactInternals=s,w&&(s=s.stateNode,s.__reactInternalMemoizedUnmaskedChildContext=M,s.__reactInternalMemoizedMaskedChildContext=L),c}function yS(s,c,y,w){s=c.state,typeof c.componentWillReceiveProps=="function"&&c.componentWillReceiveProps(y,w),typeof c.UNSAFE_componentWillReceiveProps=="function"&&c.UNSAFE_componentWillReceiveProps(y,w),c.state!==s&&ph.enqueueReplaceState(c,c.state,null)}function gh(s,c,y,w){var M=s.stateNode;M.props=y,M.state=s.memoizedState,M.refs=pS,Fm(s);var L=c.contextType;typeof L=="object"&&L!==null?M.context=Wn(L):(L=Ln(c)?mi:lt.current,M.context=ha(s,L)),M.state=s.memoizedState,L=c.getDerivedStateFromProps,typeof L=="function"&&(Um(s,c,L,y),M.state=s.memoizedState),typeof c.getDerivedStateFromProps=="function"||typeof M.getSnapshotBeforeUpdate=="function"||typeof M.UNSAFE_componentWillMount!="function"&&typeof M.componentWillMount!="function"||(c=M.state,typeof M.componentWillMount=="function"&&M.componentWillMount(),typeof M.UNSAFE_componentWillMount=="function"&&M.UNSAFE_componentWillMount(),c!==M.state&&ph.enqueueReplaceState(M,M.state,null),Ql(s,y,M,w),M.state=s.memoizedState),typeof M.componentDidMount=="function"&&(s.flags|=4194308)}function nf(s,c,y){if(s=y.ref,s!==null&&typeof s!="function"&&typeof s!="object"){if(y._owner){if(y=y._owner,y){if(y.tag!==1)throw Error(n(309));var w=y.stateNode}if(!w)throw Error(n(147,s));var M=w,L=""+s;return c!==null&&c.ref!==null&&typeof c.ref=="function"&&c.ref._stringRef===L?c.ref:(c=function(z){var $=M.refs;$===pS&&($=M.refs={}),z===null?delete $[L]:$[L]=z},c._stringRef=L,c)}if(typeof s!="string")throw Error(n(284));if(!y._owner)throw Error(n(290,s))}return s}function mh(s,c){throw s=Object.prototype.toString.call(c),Error(n(31,s==="[object Object]"?"object with keys {"+Object.keys(c).join(", ")+"}":s))}function _S(s){var c=s._init;return c(s._payload)}function SS(s){function c(te,Z){if(s){var oe=te.deletions;oe===null?(te.deletions=[Z],te.flags|=16):oe.push(Z)}}function y(te,Z){if(!s)return null;for(;Z!==null;)c(te,Z),Z=Z.sibling;return null}function w(te,Z){for(te=new Map;Z!==null;)Z.key!==null?te.set(Z.key,Z):te.set(Z.index,Z),Z=Z.sibling;return te}function M(te,Z){return te=iu(te,Z),te.index=0,te.sibling=null,te}function L(te,Z,oe){return te.index=oe,s?(oe=te.alternate,oe!==null?(oe=oe.index,oe<Z?(te.flags|=2,Z):oe):(te.flags|=2,Z)):(te.flags|=1048576,Z)}function z(te){return s&&te.alternate===null&&(te.flags|=2),te}function $(te,Z,oe,Te){return Z===null||Z.tag!==6?(Z=wd(oe,te.mode,Te),Z.return=te,Z):(Z=M(Z,oe),Z.return=te,Z)}function q(te,Z,oe,Te){var Ye=oe.type;return Ye===U?_e(te,Z,oe.props.children,Te,oe.key):Z!==null&&(Z.elementType===Ye||typeof Ye=="object"&&Ye!==null&&Ye.$$typeof===fe&&_S(Ye)===Z.type)?(Te=M(Z,oe.props),Te.ref=nf(te,Z,oe),Te.return=te,Te):(Te=qh(oe.type,oe.key,oe.props,null,te.mode,Te),Te.ref=nf(te,Z,oe),Te.return=te,Te)}function se(te,Z,oe,Te){return Z===null||Z.tag!==4||Z.stateNode.containerInfo!==oe.containerInfo||Z.stateNode.implementation!==oe.implementation?(Z=fs(oe,te.mode,Te),Z.return=te,Z):(Z=M(Z,oe.children||[]),Z.return=te,Z)}function _e(te,Z,oe,Te,Ye){return Z===null||Z.tag!==7?(Z=ss(oe,te.mode,Te,Ye),Z.return=te,Z):(Z=M(Z,oe),Z.return=te,Z)}function we(te,Z,oe){if(typeof Z=="string"&&Z!==""||typeof Z=="number")return Z=wd(""+Z,te.mode,oe),Z.return=te,Z;if(typeof Z=="object"&&Z!==null){switch(Z.$$typeof){case I:return oe=qh(Z.type,Z.key,Z.props,null,te.mode,oe),oe.ref=nf(te,null,Z),oe.return=te,oe;case F:return Z=fs(Z,te.mode,oe),Z.return=te,Z;case fe:var Te=Z._init;return we(te,Te(Z._payload),oe)}if(Ho(Z)||ge(Z))return Z=ss(Z,te.mode,oe,null),Z.return=te,Z;mh(te,Z)}return null}function ye(te,Z,oe,Te){var Ye=Z!==null?Z.key:null;if(typeof oe=="string"&&oe!==""||typeof oe=="number")return Ye!==null?null:$(te,Z,""+oe,Te);if(typeof oe=="object"&&oe!==null){switch(oe.$$typeof){case I:return oe.key===Ye?q(te,Z,oe,Te):null;case F:return oe.key===Ye?se(te,Z,oe,Te):null;case fe:return Ye=oe._init,ye(te,Z,Ye(oe._payload),Te)}if(Ho(oe)||ge(oe))return Ye!==null?null:_e(te,Z,oe,Te,null);mh(te,oe)}return null}function Oe(te,Z,oe,Te,Ye){if(typeof Te=="string"&&Te!==""||typeof Te=="number")return te=te.get(oe)||null,$(Z,te,""+Te,Ye);if(typeof Te=="object"&&Te!==null){switch(Te.$$typeof){case I:return te=te.get(Te.key===null?oe:Te.key)||null,q(Z,te,Te,Ye);case F:return te=te.get(Te.key===null?oe:Te.key)||null,se(Z,te,Te,Ye);case fe:var Ve=Te._init;return Oe(te,Z,oe,Ve(Te._payload),Ye)}if(Ho(Te)||ge(Te))return te=te.get(oe)||null,_e(Z,te,Te,Ye,null);mh(Z,Te)}return null}function Ue(te,Z,oe,Te){for(var Ye=null,Ve=null,Xe=Z,ut=Z=0,wr=null;Xe!==null&&ut<oe.length;ut++){Xe.index>ut?(wr=Xe,Xe=null):wr=Xe.sibling;var Ut=ye(te,Xe,oe[ut],Te);if(Ut===null){Xe===null&&(Xe=wr);break}s&&Xe&&Ut.alternate===null&&c(te,Xe),Z=L(Ut,Z,ut),Ve===null?Ye=Ut:Ve.sibling=Ut,Ve=Ut,Xe=wr}if(ut===oe.length)return y(te,Xe),wn&&Hi(te,ut),Ye;if(Xe===null){for(;ut<oe.length;ut++)Xe=we(te,oe[ut],Te),Xe!==null&&(Z=L(Xe,Z,ut),Ve===null?Ye=Xe:Ve.sibling=Xe,Ve=Xe);return wn&&Hi(te,ut),Ye}for(Xe=w(te,Xe);ut<oe.length;ut++)wr=Oe(Xe,te,ut,oe[ut],Te),wr!==null&&(s&&wr.alternate!==null&&Xe.delete(wr.key===null?ut:wr.key),Z=L(wr,Z,ut),Ve===null?Ye=wr:Ve.sibling=wr,Ve=wr);return s&&Xe.forEach(function(au){return c(te,au)}),wn&&Hi(te,ut),Ye}function je(te,Z,oe,Te){var Ye=ge(oe);if(typeof Ye!="function")throw Error(n(150));if(oe=Ye.call(oe),oe==null)throw Error(n(151));for(var Ve=Ye=null,Xe=Z,ut=Z=0,wr=null,Ut=oe.next();Xe!==null&&!Ut.done;ut++,Ut=oe.next()){Xe.index>ut?(wr=Xe,Xe=null):wr=Xe.sibling;var au=ye(te,Xe,Ut.value,Te);if(au===null){Xe===null&&(Xe=wr);break}s&&Xe&&au.alternate===null&&c(te,Xe),Z=L(au,Z,ut),Ve===null?Ye=au:Ve.sibling=au,Ve=au,Xe=wr}if(Ut.done)return y(te,Xe),wn&&Hi(te,ut),Ye;if(Xe===null){for(;!Ut.done;ut++,Ut=oe.next())Ut=we(te,Ut.value,Te),Ut!==null&&(Z=L(Ut,Z,ut),Ve===null?Ye=Ut:Ve.sibling=Ut,Ve=Ut);return wn&&Hi(te,ut),Ye}for(Xe=w(te,Xe);!Ut.done;ut++,Ut=oe.next())Ut=Oe(Xe,te,ut,Ut.value,Te),Ut!==null&&(s&&Ut.alternate!==null&&Xe.delete(Ut.key===null?ut:Ut.key),Z=L(Ut,Z,ut),Ve===null?Ye=Ut:Ve.sibling=Ut,Ve=Ut);return s&&Xe.forEach(function(gD){return c(te,gD)}),wn&&Hi(te,ut),Ye}function Xn(te,Z,oe,Te){if(typeof oe=="object"&&oe!==null&&oe.type===U&&oe.key===null&&(oe=oe.props.children),typeof oe=="object"&&oe!==null){switch(oe.$$typeof){case I:e:{for(var Ye=oe.key,Ve=Z;Ve!==null;){if(Ve.key===Ye){if(Ye=oe.type,Ye===U){if(Ve.tag===7){y(te,Ve.sibling),Z=M(Ve,oe.props.children),Z.return=te,te=Z;break e}}else if(Ve.elementType===Ye||typeof Ye=="object"&&Ye!==null&&Ye.$$typeof===fe&&_S(Ye)===Ve.type){y(te,Ve.sibling),Z=M(Ve,oe.props),Z.ref=nf(te,Ve,oe),Z.return=te,te=Z;break e}y(te,Ve);break}else c(te,Ve);Ve=Ve.sibling}oe.type===U?(Z=ss(oe.props.children,te.mode,Te,oe.key),Z.return=te,te=Z):(Te=qh(oe.type,oe.key,oe.props,null,te.mode,Te),Te.ref=nf(te,Z,oe),Te.return=te,te=Te)}return z(te);case F:e:{for(Ve=oe.key;Z!==null;){if(Z.key===Ve)if(Z.tag===4&&Z.stateNode.containerInfo===oe.containerInfo&&Z.stateNode.implementation===oe.implementation){y(te,Z.sibling),Z=M(Z,oe.children||[]),Z.return=te,te=Z;break e}else{y(te,Z);break}else c(te,Z);Z=Z.sibling}Z=fs(oe,te.mode,Te),Z.return=te,te=Z}return z(te);case fe:return Ve=oe._init,Xn(te,Z,Ve(oe._payload),Te)}if(Ho(oe))return Ue(te,Z,oe,Te);if(ge(oe))return je(te,Z,oe,Te);mh(te,oe)}return typeof oe=="string"&&oe!==""||typeof oe=="number"?(oe=""+oe,Z!==null&&Z.tag===6?(y(te,Z.sibling),Z=M(Z,oe),Z.return=te,te=Z):(y(te,Z),Z=wd(oe,te.mode,Te),Z.return=te,te=Z),z(te)):y(te,Z)}return Xn}var rf=SS(!0),CS=SS(!1),id={},Xa=pt(id),ad=pt(id),af=pt(id);function Yu(s){if(s===id)throw Error(n(174));return s}function Vm(s,c){switch(Kt(af,c),Kt(ad,s),Kt(Xa,id),s=c.nodeType,s){case 9:case 11:c=(c=c.documentElement)?c.namespaceURI:Zn(null,"");break;default:s=s===8?c.parentNode:c,c=s.namespaceURI||null,s=s.tagName,c=Zn(c,s)}qt(Xa),Kt(Xa,c)}function Zl(){qt(Xa),qt(ad),qt(af)}function Je(s){Yu(af.current);var c=Yu(Xa.current),y=Zn(c,s.type);c!==y&&(Kt(ad,s),Kt(Xa,y))}function wt(s){ad.current===s&&(qt(Xa),qt(ad))}var nt=pt(0);function Fn(s){for(var c=s;c!==null;){if(c.tag===13){var y=c.memoizedState;if(y!==null&&(y=y.dehydrated,y===null||y.data==="$?"||y.data==="$!"))return c}else if(c.tag===19&&c.memoizedProps.revealOrder!==void 0){if(c.flags&128)return c}else if(c.child!==null){c.child.return=c,c=c.child;continue}if(c===s)break;for(;c.sibling===null;){if(c.return===null||c.return===s)return null;c=c.return}c.sibling.return=c.return,c=c.sibling}return null}var ya=[];function yh(){for(var s=0;s<ya.length;s++)ya[s]._workInProgressVersionPrimary=null;ya.length=0}var _h=P.ReactCurrentDispatcher,Hm=P.ReactCurrentBatchConfig,Wu=0,xn=null,he=null,At=null,rt=!1,_o=!1,ji=0,Xu=0;function Tn(){throw Error(n(321))}function qu(s,c){if(c===null)return!1;for(var y=0;y<c.length&&y<s.length;y++)if(!da(s[y],c[y]))return!1;return!0}function Kl(s,c,y,w,M,L){if(Wu=L,xn=c,c.memoizedState=null,c.updateQueue=null,c.lanes=0,_h.current=s===null||s.memoizedState===null?KE:JE,s=y(w,M),_o){L=0;do{if(_o=!1,ji=0,25<=L)throw Error(n(301));L+=1,At=he=null,c.updateQueue=null,_h.current=$m,s=y(w,M)}while(_o)}if(_h.current=Ph,c=he!==null&&he.next!==null,Wu=0,At=he=xn=null,rt=!1,c)throw Error(n(300));return s}function Qu(){var s=ji!==0;return ji=0,s}function _a(){var s={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return At===null?xn.memoizedState=At=s:At=At.next=s,At}function wi(){if(he===null){var s=xn.alternate;s=s!==null?s.memoizedState:null}else s=he.next;var c=At===null?xn.memoizedState:At.next;if(c!==null)At=c,he=s;else{if(s===null)throw Error(n(310));he=s,s={memoizedState:he.memoizedState,baseState:he.baseState,baseQueue:he.baseQueue,queue:he.queue,next:null},At===null?xn.memoizedState=At=s:At=At.next=s}return At}function Zu(s,c){return typeof c=="function"?c(s):c}function od(s){var c=wi(),y=c.queue;if(y===null)throw Error(n(311));y.lastRenderedReducer=s;var w=he,M=w.baseQueue,L=y.pending;if(L!==null){if(M!==null){var z=M.next;M.next=L.next,L.next=z}w.baseQueue=M=L,y.pending=null}if(M!==null){L=M.next,w=w.baseState;var $=z=null,q=null,se=L;do{var _e=se.lane;if((Wu&_e)===_e)q!==null&&(q=q.next={lane:0,action:se.action,hasEagerState:se.hasEagerState,eagerState:se.eagerState,next:null}),w=se.hasEagerState?se.eagerState:s(w,se.action);else{var we={lane:_e,action:se.action,hasEagerState:se.hasEagerState,eagerState:se.eagerState,next:null};q===null?($=q=we,z=w):q=q.next=we,xn.lanes|=_e,rl|=_e}se=se.next}while(se!==null&&se!==L);q===null?z=w:q.next=$,da(w,c.memoizedState)||(er=!0),c.memoizedState=w,c.baseState=z,c.baseQueue=q,y.lastRenderedState=w}if(s=y.interleaved,s!==null){M=s;do L=M.lane,xn.lanes|=L,rl|=L,M=M.next;while(M!==s)}else M===null&&(y.lanes=0);return[c.memoizedState,y.dispatch]}function ld(s){var c=wi(),y=c.queue;if(y===null)throw Error(n(311));y.lastRenderedReducer=s;var w=y.dispatch,M=y.pending,L=c.memoizedState;if(M!==null){y.pending=null;var z=M=M.next;do L=s(L,z.action),z=z.next;while(z!==M);da(L,c.memoizedState)||(er=!0),c.memoizedState=L,c.baseQueue===null&&(c.baseState=L),y.lastRenderedState=L}return[L,w]}function Sh(){}function Ch(s,c){var y=xn,w=wi(),M=c(),L=!da(w.memoizedState,M);if(L&&(w.memoizedState=M,er=!0),w=w.queue,ud(Th.bind(null,y,w,s),[s]),w.getSnapshot!==c||L||At!==null&&At.memoizedState.tag&1){if(y.flags|=2048,Ku(9,xh.bind(null,y,w,M,c),void 0,null),Bn===null)throw Error(n(349));Wu&30||wh(y,c,M)}return M}function wh(s,c,y){s.flags|=16384,s={getSnapshot:c,value:y},c=xn.updateQueue,c===null?(c={lastEffect:null,stores:null},xn.updateQueue=c,c.stores=[s]):(y=c.stores,y===null?c.stores=[s]:y.push(s))}function xh(s,c,y,w){c.value=y,c.getSnapshot=w,bh(c)&&Eh(s)}function Th(s,c,y){return y(function(){bh(c)&&Eh(s)})}function bh(s){var c=s.getSnapshot;s=s.value;try{var y=c();return!da(s,y)}catch{return!0}}function Eh(s){var c=Ko(s,1);c!==null&&Xr(c,s,1,-1)}function Dh(s){var c=_a();return typeof s=="function"&&(s=s()),c.memoizedState=c.baseState=s,s={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Zu,lastRenderedState:s},c.queue=s,s=s.dispatch=Nh.bind(null,xn,s),[c.memoizedState,s]}function Ku(s,c,y,w){return s={tag:s,create:c,destroy:y,deps:w,next:null},c=xn.updateQueue,c===null?(c={lastEffect:null,stores:null},xn.updateQueue=c,c.lastEffect=s.next=s):(y=c.lastEffect,y===null?c.lastEffect=s.next=s:(w=y.next,y.next=s,s.next=w,c.lastEffect=s)),s}function Mh(){return wi().memoizedState}function Ju(s,c,y,w){var M=_a();xn.flags|=s,M.memoizedState=Ku(1|c,y,void 0,w===void 0?null:w)}function el(s,c,y,w){var M=wi();w=w===void 0?null:w;var L=void 0;if(he!==null){var z=he.memoizedState;if(L=z.destroy,w!==null&&qu(w,z.deps)){M.memoizedState=Ku(c,y,L,w);return}}xn.flags|=s,M.memoizedState=Ku(1|c,y,L,w)}function Rh(s,c){return Ju(8390656,8,s,c)}function ud(s,c){return el(2048,8,s,c)}function Ah(s,c){return el(4,2,s,c)}function Lh(s,c){return el(4,4,s,c)}function Gm(s,c){if(typeof c=="function")return s=s(),c(s),function(){c(null)};if(c!=null)return s=s(),c.current=s,function(){c.current=null}}function of(s,c,y){return y=y!=null?y.concat([s]):null,el(4,4,Gm.bind(null,c,s),y)}function Oh(){}function lf(s,c){var y=wi();c=c===void 0?null:c;var w=y.memoizedState;return w!==null&&c!==null&&qu(c,w[1])?w[0]:(y.memoizedState=[s,c],s)}function Jl(s,c){var y=wi();c=c===void 0?null:c;var w=y.memoizedState;return w!==null&&c!==null&&qu(c,w[1])?w[0]:(s=s(),y.memoizedState=[s,c],s)}function xi(s,c,y){return Wu&21?(da(y,c)||(y=Hv(),xn.lanes|=y,rl|=y,s.baseState=!0),c):(s.baseState&&(s.baseState=!1,er=!0),s.memoizedState=y)}function ZE(s,c){var y=tn;tn=y!==0&&4>y?y:4,s(!0);var w=Hm.transition;Hm.transition={};try{s(!1),c()}finally{tn=y,Hm.transition=w}}function gn(){return wi().memoizedState}function kh(s,c,y){var w=tr(s);if(y={lane:w,action:y,hasEagerState:!1,eagerState:null,next:null},uf(s))sd(c,y);else if(y=hS(s,c,y,w),y!==null){var M=Wr();Xr(y,s,w,M),wS(y,c,w)}}function Nh(s,c,y){var w=tr(s),M={lane:w,action:y,hasEagerState:!1,eagerState:null,next:null};if(uf(s))sd(c,M);else{var L=s.alternate;if(s.lanes===0&&(L===null||L.lanes===0)&&(L=c.lastRenderedReducer,L!==null))try{var z=c.lastRenderedState,$=L(z,y);if(M.hasEagerState=!0,M.eagerState=$,da($,z)){var q=c.interleaved;q===null?(M.next=M,zm(c)):(M.next=q.next,q.next=M),c.interleaved=M;return}}catch{}finally{}y=hS(s,c,M,w),y!==null&&(M=Wr(),Xr(y,s,w,M),wS(y,c,w))}}function uf(s){var c=s.alternate;return s===xn||c!==null&&c===xn}function sd(s,c){_o=rt=!0;var y=s.pending;y===null?c.next=c:(c.next=y.next,y.next=c),s.pending=c}function wS(s,c,y){if(y&4194240){var w=c.lanes;w&=s.pendingLanes,y|=w,c.lanes=y,Pc(s,y)}}var Ph={readContext:Wn,useCallback:Tn,useContext:Tn,useEffect:Tn,useImperativeHandle:Tn,useInsertionEffect:Tn,useLayoutEffect:Tn,useMemo:Tn,useReducer:Tn,useRef:Tn,useState:Tn,useDebugValue:Tn,useDeferredValue:Tn,useTransition:Tn,useMutableSource:Tn,useSyncExternalStore:Tn,useId:Tn,unstable_isNewReconciler:!1},KE={readContext:Wn,useCallback:function(s,c){return _a().memoizedState=[s,c===void 0?null:c],s},useContext:Wn,useEffect:Rh,useImperativeHandle:function(s,c,y){return y=y!=null?y.concat([s]):null,Ju(4194308,4,Gm.bind(null,c,s),y)},useLayoutEffect:function(s,c){return Ju(4194308,4,s,c)},useInsertionEffect:function(s,c){return Ju(4,2,s,c)},useMemo:function(s,c){var y=_a();return c=c===void 0?null:c,s=s(),y.memoizedState=[s,c],s},useReducer:function(s,c,y){var w=_a();return c=y!==void 0?y(c):c,w.memoizedState=w.baseState=c,s={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:s,lastRenderedState:c},w.queue=s,s=s.dispatch=kh.bind(null,xn,s),[w.memoizedState,s]},useRef:function(s){var c=_a();return s={current:s},c.memoizedState=s},useState:Dh,useDebugValue:Oh,useDeferredValue:function(s){return _a().memoizedState=s},useTransition:function(){var s=Dh(!1),c=s[0];return s=ZE.bind(null,s[1]),_a().memoizedState=s,[c,s]},useMutableSource:function(){},useSyncExternalStore:function(s,c,y){var w=xn,M=_a();if(wn){if(y===void 0)throw Error(n(407));y=y()}else{if(y=c(),Bn===null)throw Error(n(349));Wu&30||wh(w,c,y)}M.memoizedState=y;var L={value:y,getSnapshot:c};return M.queue=L,Rh(Th.bind(null,w,L,s),[s]),w.flags|=2048,Ku(9,xh.bind(null,w,L,y,c),void 0,null),y},useId:function(){var s=_a(),c=Bn.identifierPrefix;if(wn){var y=Zo,w=Dr;y=(w&~(1<<32-sa(w)-1)).toString(32)+y,c=":"+c+"R"+y,y=ji++,0<y&&(c+="H"+y.toString(32)),c+=":"}else y=Xu++,c=":"+c+"r"+y.toString(32)+":";return s.memoizedState=c},unstable_isNewReconciler:!1},JE={readContext:Wn,useCallback:lf,useContext:Wn,useEffect:ud,useImperativeHandle:of,useInsertionEffect:Ah,useLayoutEffect:Lh,useMemo:Jl,useReducer:od,useRef:Mh,useState:function(){return od(Zu)},useDebugValue:Oh,useDeferredValue:function(s){var c=wi();return xi(c,he.memoizedState,s)},useTransition:function(){var s=od(Zu)[0],c=wi().memoizedState;return[s,c]},useMutableSource:Sh,useSyncExternalStore:Ch,useId:gn,unstable_isNewReconciler:!1},$m={readContext:Wn,useCallback:lf,useContext:Wn,useEffect:ud,useImperativeHandle:of,useInsertionEffect:Ah,useLayoutEffect:Lh,useMemo:Jl,useReducer:ld,useRef:Mh,useState:function(){return ld(Zu)},useDebugValue:Oh,useDeferredValue:function(s){var c=wi();return he===null?c.memoizedState=s:xi(c,he.memoizedState,s)},useTransition:function(){var s=ld(Zu)[0],c=wi().memoizedState;return[s,c]},useMutableSource:Sh,useSyncExternalStore:Ch,useId:gn,unstable_isNewReconciler:!1};function sf(s,c){try{var y="",w=c;do y+=Dn(w),w=w.return;while(w);var M=y}catch(L){M=`
72
- Error generating stack: `+L.message+`
73
- `+L.stack}return{value:s,source:c,stack:M,digest:null}}function fd(s,c,y){return{value:s,source:null,stack:y??null,digest:c??null}}function Ih(s,c){try{console.error(c.value)}catch(y){setTimeout(function(){throw y})}}var eD=typeof WeakMap=="function"?WeakMap:Map;function xS(s,c,y){y=Jo(-1,y),y.tag=3,y.payload={element:null};var w=c.value;return y.callback=function(){Gh||(Gh=!0,is=w),Ih(s,c)},y}function cd(s,c,y){y=Jo(-1,y),y.tag=3;var w=s.type.getDerivedStateFromError;if(typeof w=="function"){var M=c.value;y.payload=function(){return w(M)},y.callback=function(){Ih(s,c)}}var L=s.stateNode;return L!==null&&typeof L.componentDidCatch=="function"&&(y.callback=function(){Ih(s,c),typeof w!="function"&&(wo===null?wo=new Set([this]):wo.add(this));var z=c.stack;this.componentDidCatch(c.value,{componentStack:z!==null?z:""})}),y}function TS(s,c,y){var w=s.pingCache;if(w===null){w=s.pingCache=new eD;var M=new Set;w.set(c,M)}else M=w.get(c),M===void 0&&(M=new Set,w.set(c,M));M.has(y)||(M.add(y),s=lD.bind(null,s,c,y),c.then(s,s))}function jm(s){do{var c;if((c=s.tag===13)&&(c=s.memoizedState,c=c!==null?c.dehydrated!==null:!0),c)return s;s=s.return}while(s!==null);return null}function Ym(s,c,y,w,M){return s.mode&1?(s.flags|=65536,s.lanes=M,s):(s===c?s.flags|=65536:(s.flags|=128,y.flags|=131072,y.flags&=-52805,y.tag===1&&(y.alternate===null?y.tag=17:(c=Jo(-1,1),c.tag=2,ql(y,c,1))),y.lanes|=1),s)}var tD=P.ReactCurrentOwner,er=!1;function ur(s,c,y,w){c.child=s===null?CS(c,null,y,w):rf(c,s.child,y,w)}function eu(s,c,y,w,M){y=y.render;var L=c.ref;return be(c,M),w=Kl(s,c,y,w,L,M),y=Qu(),s!==null&&!er?(c.updateQueue=s.updateQueue,c.flags&=-2053,s.lanes&=~M,Rr(s,c,M)):(wn&&y&&uh(c),c.flags|=1,ur(s,c,w,M),c.child)}function zh(s,c,y,w,M){if(s===null){var L=y.type;return typeof L=="function"&&!cy(L)&&L.defaultProps===void 0&&y.compare===null&&y.defaultProps===void 0?(c.tag=15,c.type=L,Ti(s,c,L,w,M)):(s=qh(y.type,null,w,c,c.mode,M),s.ref=c.ref,s.return=c,c.child=s)}if(L=s.child,!(s.lanes&M)){var z=L.memoizedProps;if(y=y.compare,y=y!==null?y:Yc,y(z,w)&&s.ref===c.ref)return Rr(s,c,M)}return c.flags|=1,s=iu(L,w),s.ref=c.ref,s.return=c,c.child=s}function Ti(s,c,y,w,M){if(s!==null){var L=s.memoizedProps;if(Yc(L,w)&&s.ref===c.ref)if(er=!1,c.pendingProps=w=L,(s.lanes&M)!==0)s.flags&131072&&(er=!0);else return c.lanes=s.lanes,Rr(s,c,M)}return ff(s,c,y,w,M)}function es(s,c,y){var w=c.pendingProps,M=w.children,L=s!==null?s.memoizedState:null;if(w.mode==="hidden")if(!(c.mode&1))c.memoizedState={baseLanes:0,cachePool:null,transitions:null},Kt(gf,Yi),Yi|=y;else{if(!(y&1073741824))return s=L!==null?L.baseLanes|y:y,c.lanes=c.childLanes=1073741824,c.memoizedState={baseLanes:s,cachePool:null,transitions:null},c.updateQueue=null,Kt(gf,Yi),Yi|=s,null;c.memoizedState={baseLanes:0,cachePool:null,transitions:null},w=L!==null?L.baseLanes:y,Kt(gf,Yi),Yi|=w}else L!==null?(w=L.baseLanes|y,c.memoizedState=null):w=y,Kt(gf,Yi),Yi|=w;return ur(s,c,M,y),c.child}function gt(s,c){var y=c.ref;(s===null&&y!==null||s!==null&&s.ref!==y)&&(c.flags|=512,c.flags|=2097152)}function ff(s,c,y,w,M){var L=Ln(y)?mi:lt.current;return L=ha(c,L),be(c,M),y=Kl(s,c,y,w,L,M),w=Qu(),s!==null&&!er?(c.updateQueue=s.updateQueue,c.flags&=-2053,s.lanes&=~M,Rr(s,c,M)):(wn&&w&&uh(c),c.flags|=1,ur(s,c,y,M),c.child)}function Wm(s,c,y,w,M){if(Ln(y)){var L=!0;lh(c)}else L=!1;if(be(c,M),c.stateNode===null)$r(s,c),mS(c,y,w),gh(c,y,w,M),w=!0;else if(s===null){var z=c.stateNode,$=c.memoizedProps;z.props=$;var q=z.context,se=y.contextType;typeof se=="object"&&se!==null?se=Wn(se):(se=Ln(y)?mi:lt.current,se=ha(c,se));var _e=y.getDerivedStateFromProps,we=typeof _e=="function"||typeof z.getSnapshotBeforeUpdate=="function";we||typeof z.UNSAFE_componentWillReceiveProps!="function"&&typeof z.componentWillReceiveProps!="function"||($!==w||q!==se)&&yS(c,z,w,se),Xl=!1;var ye=c.memoizedState;z.state=ye,Ql(c,w,z,M),q=c.memoizedState,$!==w||ye!==q||Vn.current||Xl?(typeof _e=="function"&&(Um(c,y,_e,w),q=c.memoizedState),($=Xl||gS(c,y,$,w,ye,q,se))?(we||typeof z.UNSAFE_componentWillMount!="function"&&typeof z.componentWillMount!="function"||(typeof z.componentWillMount=="function"&&z.componentWillMount(),typeof z.UNSAFE_componentWillMount=="function"&&z.UNSAFE_componentWillMount()),typeof z.componentDidMount=="function"&&(c.flags|=4194308)):(typeof z.componentDidMount=="function"&&(c.flags|=4194308),c.memoizedProps=w,c.memoizedState=q),z.props=w,z.state=q,z.context=se,w=$):(typeof z.componentDidMount=="function"&&(c.flags|=4194308),w=!1)}else{z=c.stateNode,lr(s,c),$=c.memoizedProps,se=c.type===c.elementType?$:$i(c.type,$),z.props=se,we=c.pendingProps,ye=z.context,q=y.contextType,typeof q=="object"&&q!==null?q=Wn(q):(q=Ln(y)?mi:lt.current,q=ha(c,q));var Oe=y.getDerivedStateFromProps;(_e=typeof Oe=="function"||typeof z.getSnapshotBeforeUpdate=="function")||typeof z.UNSAFE_componentWillReceiveProps!="function"&&typeof z.componentWillReceiveProps!="function"||($!==we||ye!==q)&&yS(c,z,w,q),Xl=!1,ye=c.memoizedState,z.state=ye,Ql(c,w,z,M);var Ue=c.memoizedState;$!==we||ye!==Ue||Vn.current||Xl?(typeof Oe=="function"&&(Um(c,y,Oe,w),Ue=c.memoizedState),(se=Xl||gS(c,y,se,w,ye,Ue,q)||!1)?(_e||typeof z.UNSAFE_componentWillUpdate!="function"&&typeof z.componentWillUpdate!="function"||(typeof z.componentWillUpdate=="function"&&z.componentWillUpdate(w,Ue,q),typeof z.UNSAFE_componentWillUpdate=="function"&&z.UNSAFE_componentWillUpdate(w,Ue,q)),typeof z.componentDidUpdate=="function"&&(c.flags|=4),typeof z.getSnapshotBeforeUpdate=="function"&&(c.flags|=1024)):(typeof z.componentDidUpdate!="function"||$===s.memoizedProps&&ye===s.memoizedState||(c.flags|=4),typeof z.getSnapshotBeforeUpdate!="function"||$===s.memoizedProps&&ye===s.memoizedState||(c.flags|=1024),c.memoizedProps=w,c.memoizedState=Ue),z.props=w,z.state=Ue,z.context=q,w=se):(typeof z.componentDidUpdate!="function"||$===s.memoizedProps&&ye===s.memoizedState||(c.flags|=4),typeof z.getSnapshotBeforeUpdate!="function"||$===s.memoizedProps&&ye===s.memoizedState||(c.flags|=1024),w=!1)}return bS(s,c,y,w,L,M)}function bS(s,c,y,w,M,L){gt(s,c);var z=(c.flags&128)!==0;if(!w&&!z)return M&&fS(c,y,!1),Rr(s,c,L);w=c.stateNode,tD.current=c;var $=z&&typeof y.getDerivedStateFromError!="function"?null:w.render();return c.flags|=1,s!==null&&z?(c.child=rf(c,s.child,null,L),c.child=rf(c,null,$,L)):ur(s,c,$,L),c.memoizedState=w.state,M&&fS(c,y,!0),c.child}function ES(s){var c=s.stateNode;c.pendingContext?$l(s,c.pendingContext,c.pendingContext!==c.context):c.context&&$l(s,c.context,!1),Vm(s,c.containerInfo)}function Fh(s,c,y,w,M){return zn(),Nm(M),c.flags|=256,ur(s,c,y,w),c.child}var ts={dehydrated:null,treeContext:null,retryLane:0};function Xm(s){return{baseLanes:s,cachePool:null,transitions:null}}function qm(s,c,y){var w=c.pendingProps,M=nt.current,L=!1,z=(c.flags&128)!==0,$;if(($=z)||($=s!==null&&s.memoizedState===null?!1:(M&2)!==0),$?(L=!0,c.flags&=-129):(s===null||s.memoizedState!==null)&&(M|=1),Kt(nt,M&1),s===null)return fh(c),s=c.memoizedState,s!==null&&(s=s.dehydrated,s!==null)?(c.mode&1?s.data==="$!"?c.lanes=8:c.lanes=1073741824:c.lanes=1,null):(z=w.children,s=w.fallback,L?(w=c.mode,L=c.child,z={mode:"hidden",children:z},!(w&1)&&L!==null?(L.childLanes=0,L.pendingProps=z):L=Cd(z,w,0,null),s=ss(s,w,y,null),L.return=c,s.return=c,L.sibling=s,c.child=L,c.child.memoizedState=Xm(y),c.memoizedState=ts,s):Qm(c,z));if(M=s.memoizedState,M!==null&&($=M.dehydrated,$!==null))return nD(s,c,z,w,$,M,y);if(L){L=w.fallback,z=c.mode,M=s.child,$=M.sibling;var q={mode:"hidden",children:w.children};return!(z&1)&&c.child!==M?(w=c.child,w.childLanes=0,w.pendingProps=q,c.deletions=null):(w=iu(M,q),w.subtreeFlags=M.subtreeFlags&14680064),$!==null?L=iu($,L):(L=ss(L,z,y,null),L.flags|=2),L.return=c,w.return=c,w.sibling=L,c.child=w,w=L,L=c.child,z=s.child.memoizedState,z=z===null?Xm(y):{baseLanes:z.baseLanes|y,cachePool:null,transitions:z.transitions},L.memoizedState=z,L.childLanes=s.childLanes&~y,c.memoizedState=ts,w}return L=s.child,s=L.sibling,w=iu(L,{mode:"visible",children:w.children}),!(c.mode&1)&&(w.lanes=y),w.return=c,w.sibling=null,s!==null&&(y=c.deletions,y===null?(c.deletions=[s],c.flags|=16):y.push(s)),c.child=w,c.memoizedState=null,w}function Qm(s,c){return c=Cd({mode:"visible",children:c},s.mode,0,null),c.return=s,s.child=c}function cf(s,c,y,w){return w!==null&&Nm(w),rf(c,s.child,null,y),s=Qm(c,c.pendingProps.children),s.flags|=2,c.memoizedState=null,s}function nD(s,c,y,w,M,L,z){if(y)return c.flags&256?(c.flags&=-257,w=fd(Error(n(422))),cf(s,c,z,w)):c.memoizedState!==null?(c.child=s.child,c.flags|=128,null):(L=w.fallback,M=c.mode,w=Cd({mode:"visible",children:w.children},M,0,null),L=ss(L,M,z,null),L.flags|=2,w.return=c,L.return=c,w.sibling=L,c.child=w,c.mode&1&&rf(c,s.child,null,z),c.child.memoizedState=Xm(z),c.memoizedState=ts,L);if(!(c.mode&1))return cf(s,c,z,null);if(M.data==="$!"){if(w=M.nextSibling&&M.nextSibling.dataset,w)var $=w.dgst;return w=$,L=Error(n(419)),w=fd(L,w,void 0),cf(s,c,z,w)}if($=(z&s.childLanes)!==0,er||$){if(w=Bn,w!==null){switch(z&-z){case 4:M=2;break;case 16:M=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:M=32;break;case 536870912:M=268435456;break;default:M=0}M=M&(w.suspendedLanes|z)?0:M,M!==0&&M!==L.retryLane&&(L.retryLane=M,Ko(s,M),Xr(w,s,M,-1))}return uy(),w=fd(Error(n(421))),cf(s,c,z,w)}return M.data==="$?"?(c.flags|=128,c.child=s.child,c=uD.bind(null,s),M._reactRetry=c,null):(s=L.treeContext,Ci=Wa(M.nextSibling),Gi=c,wn=!0,ma=null,s!==null&&(Si[Gr++]=Dr,Si[Gr++]=Zo,Si[Gr++]=ga,Dr=s.id,Zo=s.overflow,ga=c),c=Qm(c,w.children),c.flags|=4096,c)}function Zm(s,c,y){s.lanes|=c;var w=s.alternate;w!==null&&(w.lanes|=c),_r(s.return,c,y)}function Bh(s,c,y,w,M){var L=s.memoizedState;L===null?s.memoizedState={isBackwards:c,rendering:null,renderingStartTime:0,last:w,tail:y,tailMode:M}:(L.isBackwards=c,L.rendering=null,L.renderingStartTime=0,L.last=w,L.tail=y,L.tailMode=M)}function Km(s,c,y){var w=c.pendingProps,M=w.revealOrder,L=w.tail;if(ur(s,c,w.children,y),w=nt.current,w&2)w=w&1|2,c.flags|=128;else{if(s!==null&&s.flags&128)e:for(s=c.child;s!==null;){if(s.tag===13)s.memoizedState!==null&&Zm(s,y,c);else if(s.tag===19)Zm(s,y,c);else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===c)break e;for(;s.sibling===null;){if(s.return===null||s.return===c)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}w&=1}if(Kt(nt,w),!(c.mode&1))c.memoizedState=null;else switch(M){case"forwards":for(y=c.child,M=null;y!==null;)s=y.alternate,s!==null&&Fn(s)===null&&(M=y),y=y.sibling;y=M,y===null?(M=c.child,c.child=null):(M=y.sibling,y.sibling=null),Bh(c,!1,M,y,L);break;case"backwards":for(y=null,M=c.child,c.child=null;M!==null;){if(s=M.alternate,s!==null&&Fn(s)===null){c.child=M;break}s=M.sibling,M.sibling=y,y=M,M=s}Bh(c,!0,y,null,L);break;case"together":Bh(c,!1,null,null,void 0);break;default:c.memoizedState=null}return c.child}function $r(s,c){!(c.mode&1)&&s!==null&&(s.alternate=null,c.alternate=null,c.flags|=2)}function Rr(s,c,y){if(s!==null&&(c.dependencies=s.dependencies),rl|=c.lanes,!(y&c.childLanes))return null;if(s!==null&&c.child!==s.child)throw Error(n(153));if(c.child!==null){for(s=c.child,y=iu(s,s.pendingProps),c.child=y,y.return=c;s.sibling!==null;)s=s.sibling,y=y.sibling=iu(s,s.pendingProps),y.return=c;y.sibling=null}return c.child}function tl(s,c,y){switch(c.tag){case 3:ES(c),zn();break;case 5:Je(c);break;case 1:Ln(c.type)&&lh(c);break;case 4:Vm(c,c.stateNode.containerInfo);break;case 10:var w=c.type._context,M=c.memoizedProps.value;Kt(yo,w._currentValue),w._currentValue=M;break;case 13:if(w=c.memoizedState,w!==null)return w.dehydrated!==null?(Kt(nt,nt.current&1),c.flags|=128,null):y&c.child.childLanes?qm(s,c,y):(Kt(nt,nt.current&1),s=Rr(s,c,y),s!==null?s.sibling:null);Kt(nt,nt.current&1);break;case 19:if(w=(y&c.childLanes)!==0,s.flags&128){if(w)return Km(s,c,y);c.flags|=128}if(M=c.memoizedState,M!==null&&(M.rendering=null,M.tail=null,M.lastEffect=null),Kt(nt,nt.current),w)break;return null;case 22:case 23:return c.lanes=0,es(s,c,y)}return Rr(s,c,y)}var dd,ns,Sa,sr;dd=function(s,c){for(var y=c.child;y!==null;){if(y.tag===5||y.tag===6)s.appendChild(y.stateNode);else if(y.tag!==4&&y.child!==null){y.child.return=y,y=y.child;continue}if(y===c)break;for(;y.sibling===null;){if(y.return===null||y.return===c)return;y=y.return}y.sibling.return=y.return,y=y.sibling}},ns=function(){},Sa=function(s,c,y,w){var M=s.memoizedProps;if(M!==w){s=c.stateNode,Yu(Xa.current);var L=null;switch(y){case"input":M=Et(s,M),w=Et(s,w),L=[];break;case"select":M=pe({},M,{value:void 0}),w=pe({},w,{value:void 0}),L=[];break;case"textarea":M=Fa(s,M),w=Fa(s,w),L=[];break;default:typeof M.onClick!="function"&&typeof w.onClick=="function"&&(s.onclick=oh)}hr(y,w);var z;y=null;for(se in M)if(!w.hasOwnProperty(se)&&M.hasOwnProperty(se)&&M[se]!=null)if(se==="style"){var $=M[se];for(z in $)$.hasOwnProperty(z)&&(y||(y={}),y[z]="")}else se!=="dangerouslySetInnerHTML"&&se!=="children"&&se!=="suppressContentEditableWarning"&&se!=="suppressHydrationWarning"&&se!=="autoFocus"&&(a.hasOwnProperty(se)?L||(L=[]):(L=L||[]).push(se,null));for(se in w){var q=w[se];if($=M!=null?M[se]:void 0,w.hasOwnProperty(se)&&q!==$&&(q!=null||$!=null))if(se==="style")if($){for(z in $)!$.hasOwnProperty(z)||q&&q.hasOwnProperty(z)||(y||(y={}),y[z]="");for(z in q)q.hasOwnProperty(z)&&$[z]!==q[z]&&(y||(y={}),y[z]=q[z])}else y||(L||(L=[]),L.push(se,y)),y=q;else se==="dangerouslySetInnerHTML"?(q=q?q.__html:void 0,$=$?$.__html:void 0,q!=null&&$!==q&&(L=L||[]).push(se,q)):se==="children"?typeof q!="string"&&typeof q!="number"||(L=L||[]).push(se,""+q):se!=="suppressContentEditableWarning"&&se!=="suppressHydrationWarning"&&(a.hasOwnProperty(se)?(q!=null&&se==="onScroll"&&pn("scroll",s),L||$===q||(L=[])):(L=L||[]).push(se,q))}y&&(L=L||[]).push("style",y);var se=L;(c.updateQueue=se)&&(c.flags|=4)}},sr=function(s,c,y,w){y!==w&&(c.flags|=4)};function vd(s,c){if(!wn)switch(s.tailMode){case"hidden":c=s.tail;for(var y=null;c!==null;)c.alternate!==null&&(y=c),c=c.sibling;y===null?s.tail=null:y.sibling=null;break;case"collapsed":y=s.tail;for(var w=null;y!==null;)y.alternate!==null&&(w=y),y=y.sibling;w===null?c||s.tail===null?s.tail=null:s.tail.sibling=null:w.sibling=null}}function jr(s){var c=s.alternate!==null&&s.alternate.child===s.child,y=0,w=0;if(c)for(var M=s.child;M!==null;)y|=M.lanes|M.childLanes,w|=M.subtreeFlags&14680064,w|=M.flags&14680064,M.return=s,M=M.sibling;else for(M=s.child;M!==null;)y|=M.lanes|M.childLanes,w|=M.subtreeFlags,w|=M.flags,M.return=s,M=M.sibling;return s.subtreeFlags|=w,s.childLanes=y,c}function rD(s,c,y){var w=c.pendingProps;switch(Om(c),c.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return jr(c),null;case 1:return Ln(c.type)&&pa(),jr(c),null;case 3:return w=c.stateNode,Zl(),qt(Vn),qt(lt),yh(),w.pendingContext&&(w.context=w.pendingContext,w.pendingContext=null),(s===null||s.child===null)&&(ch(c)?c.flags|=4:s===null||s.memoizedState.isDehydrated&&!(c.flags&256)||(c.flags|=1024,ma!==null&&(Sd(ma),ma=null))),ns(s,c),jr(c),null;case 5:wt(c);var M=Yu(af.current);if(y=c.type,s!==null&&c.stateNode!=null)Sa(s,c,y,w,M),s.ref!==c.ref&&(c.flags|=512,c.flags|=2097152);else{if(!w){if(c.stateNode===null)throw Error(n(166));return jr(c),null}if(s=Yu(Xa.current),ch(c)){w=c.stateNode,y=c.type;var L=c.memoizedProps;switch(w[go]=c,w[Gu]=L,s=(c.mode&1)!==0,y){case"dialog":pn("cancel",w),pn("close",w);break;case"iframe":case"object":case"embed":pn("load",w);break;case"video":case"audio":for(M=0;M<Qc.length;M++)pn(Qc[M],w);break;case"source":pn("error",w);break;case"img":case"image":case"link":pn("error",w),pn("load",w);break;case"details":pn("toggle",w);break;case"input":Pn(w,L),pn("invalid",w);break;case"select":w._wrapperState={wasMultiple:!!L.multiple},pn("invalid",w);break;case"textarea":Pi(w,L),pn("invalid",w)}hr(y,L),M=null;for(var z in L)if(L.hasOwnProperty(z)){var $=L[z];z==="children"?typeof $=="string"?w.textContent!==$&&(L.suppressHydrationWarning!==!0&&ah(w.textContent,$,s),M=["children",$]):typeof $=="number"&&w.textContent!==""+$&&(L.suppressHydrationWarning!==!0&&ah(w.textContent,$,s),M=["children",""+$]):a.hasOwnProperty(z)&&$!=null&&z==="onScroll"&&pn("scroll",w)}switch(y){case"input":$e(w),ua(w,L,!0);break;case"textarea":$e(w),Ii(w);break;case"select":case"option":break;default:typeof L.onClick=="function"&&(w.onclick=oh)}w=M,c.updateQueue=w,w!==null&&(c.flags|=4)}else{z=M.nodeType===9?M:M.ownerDocument,s==="http://www.w3.org/1999/xhtml"&&(s=Ba(y)),s==="http://www.w3.org/1999/xhtml"?y==="script"?(s=z.createElement("div"),s.innerHTML="<script></script>",s=s.removeChild(s.firstChild)):typeof w.is=="string"?s=z.createElement(y,{is:w.is}):(s=z.createElement(y),y==="select"&&(z=s,w.multiple?z.multiple=!0:w.size&&(z.size=w.size))):s=z.createElementNS(s,y),s[go]=c,s[Gu]=w,dd(s,c,!1,!1),c.stateNode=s;e:{switch(z=Yn(y,w),y){case"dialog":pn("cancel",s),pn("close",s),M=w;break;case"iframe":case"object":case"embed":pn("load",s),M=w;break;case"video":case"audio":for(M=0;M<Qc.length;M++)pn(Qc[M],s);M=w;break;case"source":pn("error",s),M=w;break;case"img":case"image":case"link":pn("error",s),pn("load",s),M=w;break;case"details":pn("toggle",s),M=w;break;case"input":Pn(s,w),M=Et(s,w),pn("invalid",s);break;case"option":M=w;break;case"select":s._wrapperState={wasMultiple:!!w.multiple},M=pe({},w,{value:void 0}),pn("invalid",s);break;case"textarea":Pi(s,w),M=Fa(s,w),pn("invalid",s);break;default:M=w}hr(y,M),$=M;for(L in $)if($.hasOwnProperty(L)){var q=$[L];L==="style"?en(s,q):L==="dangerouslySetInnerHTML"?(q=q?q.__html:void 0,q!=null&&Ol(s,q)):L==="children"?typeof q=="string"?(y!=="textarea"||q!=="")&&Ua(s,q):typeof q=="number"&&Ua(s,""+q):L!=="suppressContentEditableWarning"&&L!=="suppressHydrationWarning"&&L!=="autoFocus"&&(a.hasOwnProperty(L)?q!=null&&L==="onScroll"&&pn("scroll",s):q!=null&&O(s,L,q,z))}switch(y){case"input":$e(s),ua(s,w,!1);break;case"textarea":$e(s),Ii(s);break;case"option":w.value!=null&&s.setAttribute("value",""+on(w.value));break;case"select":s.multiple=!!w.multiple,L=w.value,L!=null?vo(s,!!w.multiple,L,!1):w.defaultValue!=null&&vo(s,!!w.multiple,w.defaultValue,!0);break;default:typeof M.onClick=="function"&&(s.onclick=oh)}switch(y){case"button":case"input":case"select":case"textarea":w=!!w.autoFocus;break e;case"img":w=!0;break e;default:w=!1}}w&&(c.flags|=4)}c.ref!==null&&(c.flags|=512,c.flags|=2097152)}return jr(c),null;case 6:if(s&&c.stateNode!=null)sr(s,c,s.memoizedProps,w);else{if(typeof w!="string"&&c.stateNode===null)throw Error(n(166));if(y=Yu(af.current),Yu(Xa.current),ch(c)){if(w=c.stateNode,y=c.memoizedProps,w[go]=c,(L=w.nodeValue!==y)&&(s=Gi,s!==null))switch(s.tag){case 3:ah(w.nodeValue,y,(s.mode&1)!==0);break;case 5:s.memoizedProps.suppressHydrationWarning!==!0&&ah(w.nodeValue,y,(s.mode&1)!==0)}L&&(c.flags|=4)}else w=(y.nodeType===9?y:y.ownerDocument).createTextNode(w),w[go]=c,c.stateNode=w}return jr(c),null;case 13:if(qt(nt),w=c.memoizedState,s===null||s.memoizedState!==null&&s.memoizedState.dehydrated!==null){if(wn&&Ci!==null&&c.mode&1&&!(c.flags&128))vS(),zn(),c.flags|=98560,L=!1;else if(L=ch(c),w!==null&&w.dehydrated!==null){if(s===null){if(!L)throw Error(n(318));if(L=c.memoizedState,L=L!==null?L.dehydrated:null,!L)throw Error(n(317));L[go]=c}else zn(),!(c.flags&128)&&(c.memoizedState=null),c.flags|=4;jr(c),L=!1}else ma!==null&&(Sd(ma),ma=null),L=!0;if(!L)return c.flags&65536?c:null}return c.flags&128?(c.lanes=y,c):(w=w!==null,w!==(s!==null&&s.memoizedState!==null)&&w&&(c.child.flags|=8192,c.mode&1&&(s===null||nt.current&1?cr===0&&(cr=3):uy())),c.updateQueue!==null&&(c.flags|=4),jr(c),null);case 4:return Zl(),ns(s,c),s===null&&Js(c.stateNode.containerInfo),jr(c),null;case 10:return Wl(c.type._context),jr(c),null;case 17:return Ln(c.type)&&pa(),jr(c),null;case 19:if(qt(nt),L=c.memoizedState,L===null)return jr(c),null;if(w=(c.flags&128)!==0,z=L.rendering,z===null)if(w)vd(L,!1);else{if(cr!==0||s!==null&&s.flags&128)for(s=c.child;s!==null;){if(z=Fn(s),z!==null){for(c.flags|=128,vd(L,!1),w=z.updateQueue,w!==null&&(c.updateQueue=w,c.flags|=4),c.subtreeFlags=0,w=y,y=c.child;y!==null;)L=y,s=w,L.flags&=14680066,z=L.alternate,z===null?(L.childLanes=0,L.lanes=s,L.child=null,L.subtreeFlags=0,L.memoizedProps=null,L.memoizedState=null,L.updateQueue=null,L.dependencies=null,L.stateNode=null):(L.childLanes=z.childLanes,L.lanes=z.lanes,L.child=z.child,L.subtreeFlags=0,L.deletions=null,L.memoizedProps=z.memoizedProps,L.memoizedState=z.memoizedState,L.updateQueue=z.updateQueue,L.type=z.type,s=z.dependencies,L.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext}),y=y.sibling;return Kt(nt,nt.current&1|2),c.child}s=s.sibling}L.tail!==null&&$t()>yf&&(c.flags|=128,w=!0,vd(L,!1),c.lanes=4194304)}else{if(!w)if(s=Fn(z),s!==null){if(c.flags|=128,w=!0,y=s.updateQueue,y!==null&&(c.updateQueue=y,c.flags|=4),vd(L,!0),L.tail===null&&L.tailMode==="hidden"&&!z.alternate&&!wn)return jr(c),null}else 2*$t()-L.renderingStartTime>yf&&y!==1073741824&&(c.flags|=128,w=!0,vd(L,!1),c.lanes=4194304);L.isBackwards?(z.sibling=c.child,c.child=z):(y=L.last,y!==null?y.sibling=z:c.child=z,L.last=z)}return L.tail!==null?(c=L.tail,L.rendering=c,L.tail=c.sibling,L.renderingStartTime=$t(),c.sibling=null,y=nt.current,Kt(nt,w?y&1|2:y&1),c):(jr(c),null);case 22:case 23:return ly(),w=c.memoizedState!==null,s!==null&&s.memoizedState!==null!==w&&(c.flags|=8192),w&&c.mode&1?Yi&1073741824&&(jr(c),c.subtreeFlags&6&&(c.flags|=8192)):jr(c),null;case 24:return null;case 25:return null}throw Error(n(156,c.tag))}function Jm(s,c){switch(Om(c),c.tag){case 1:return Ln(c.type)&&pa(),s=c.flags,s&65536?(c.flags=s&-65537|128,c):null;case 3:return Zl(),qt(Vn),qt(lt),yh(),s=c.flags,s&65536&&!(s&128)?(c.flags=s&-65537|128,c):null;case 5:return wt(c),null;case 13:if(qt(nt),s=c.memoizedState,s!==null&&s.dehydrated!==null){if(c.alternate===null)throw Error(n(340));zn()}return s=c.flags,s&65536?(c.flags=s&-65537|128,c):null;case 19:return qt(nt),null;case 4:return Zl(),null;case 10:return Wl(c.type._context),null;case 22:case 23:return ly(),null;case 24:return null;default:return null}}var hd=!1,fr=!1,DS=typeof WeakSet=="function"?WeakSet:Set,Fe=null;function df(s,c){var y=s.ref;if(y!==null)if(typeof y=="function")try{y(null)}catch(w){Gn(s,c,w)}else y.current=null}function pd(s,c,y){try{y()}catch(w){Gn(s,c,w)}}var MS=!1;function RS(s,c){if(Tm=Iu,s=eh(),Wo(s)){if("selectionStart"in s)var y={start:s.selectionStart,end:s.selectionEnd};else e:{y=(y=s.ownerDocument)&&y.defaultView||window;var w=y.getSelection&&y.getSelection();if(w&&w.rangeCount!==0){y=w.anchorNode;var M=w.anchorOffset,L=w.focusNode;w=w.focusOffset;try{y.nodeType,L.nodeType}catch{y=null;break e}var z=0,$=-1,q=-1,se=0,_e=0,we=s,ye=null;t:for(;;){for(var Oe;we!==y||M!==0&&we.nodeType!==3||($=z+M),we!==L||w!==0&&we.nodeType!==3||(q=z+w),we.nodeType===3&&(z+=we.nodeValue.length),(Oe=we.firstChild)!==null;)ye=we,we=Oe;for(;;){if(we===s)break t;if(ye===y&&++se===M&&($=z),ye===L&&++_e===w&&(q=z),(Oe=we.nextSibling)!==null)break;we=ye,ye=we.parentNode}we=Oe}y=$===-1||q===-1?null:{start:$,end:q}}else y=null}y=y||{start:0,end:0}}else y=null;for(Vu={focusedElem:s,selectionRange:y},Iu=!1,Fe=c;Fe!==null;)if(c=Fe,s=c.child,(c.subtreeFlags&1028)!==0&&s!==null)s.return=c,Fe=s;else for(;Fe!==null;){c=Fe;try{var Ue=c.alternate;if(c.flags&1024)switch(c.tag){case 0:case 11:case 15:break;case 1:if(Ue!==null){var je=Ue.memoizedProps,Xn=Ue.memoizedState,te=c.stateNode,Z=te.getSnapshotBeforeUpdate(c.elementType===c.type?je:$i(c.type,je),Xn);te.__reactInternalSnapshotBeforeUpdate=Z}break;case 3:var oe=c.stateNode.containerInfo;oe.nodeType===1?oe.textContent="":oe.nodeType===9&&oe.documentElement&&oe.removeChild(oe.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(Te){Gn(c,c.return,Te)}if(s=c.sibling,s!==null){s.return=c.return,Fe=s;break}Fe=c.return}return Ue=MS,MS=!1,Ue}function gd(s,c,y){var w=c.updateQueue;if(w=w!==null?w.lastEffect:null,w!==null){var M=w=w.next;do{if((M.tag&s)===s){var L=M.destroy;M.destroy=void 0,L!==void 0&&pd(c,y,L)}M=M.next}while(M!==w)}}function md(s,c){if(c=c.updateQueue,c=c!==null?c.lastEffect:null,c!==null){var y=c=c.next;do{if((y.tag&s)===s){var w=y.create;y.destroy=w()}y=y.next}while(y!==c)}}function ey(s){var c=s.ref;if(c!==null){var y=s.stateNode;switch(s.tag){case 5:s=y;break;default:s=y}typeof c=="function"?c(s):c.current=s}}function ty(s){var c=s.alternate;c!==null&&(s.alternate=null,ty(c)),s.child=null,s.deletions=null,s.sibling=null,s.tag===5&&(c=s.stateNode,c!==null&&(delete c[go],delete c[Gu],delete c[Dm],delete c[QE],delete c[Mm])),s.stateNode=null,s.return=null,s.dependencies=null,s.memoizedProps=null,s.memoizedState=null,s.pendingProps=null,s.stateNode=null,s.updateQueue=null}function AS(s){return s.tag===5||s.tag===3||s.tag===4}function Uh(s){e:for(;;){for(;s.sibling===null;){if(s.return===null||AS(s.return))return null;s=s.return}for(s.sibling.return=s.return,s=s.sibling;s.tag!==5&&s.tag!==6&&s.tag!==18;){if(s.flags&2||s.child===null||s.tag===4)continue e;s.child.return=s,s=s.child}if(!(s.flags&2))return s.stateNode}}function vf(s,c,y){var w=s.tag;if(w===5||w===6)s=s.stateNode,c?y.nodeType===8?y.parentNode.insertBefore(s,c):y.insertBefore(s,c):(y.nodeType===8?(c=y.parentNode,c.insertBefore(s,y)):(c=y,c.appendChild(s)),y=y._reactRootContainer,y!=null||c.onclick!==null||(c.onclick=oh));else if(w!==4&&(s=s.child,s!==null))for(vf(s,c,y),s=s.sibling;s!==null;)vf(s,c,y),s=s.sibling}function So(s,c,y){var w=s.tag;if(w===5||w===6)s=s.stateNode,c?y.insertBefore(s,c):y.appendChild(s);else if(w!==4&&(s=s.child,s!==null))for(So(s,c,y),s=s.sibling;s!==null;)So(s,c,y),s=s.sibling}var On=null,Sr=!1;function Ca(s,c,y){for(y=y.child;y!==null;)hf(s,c,y),y=y.sibling}function hf(s,c,y){if(Ha&&typeof Ha.onCommitFiberUnmount=="function")try{Ha.onCommitFiberUnmount(Nc,y)}catch{}switch(y.tag){case 5:fr||df(y,c);case 6:var w=On,M=Sr;On=null,Ca(s,c,y),On=w,Sr=M,On!==null&&(Sr?(s=On,y=y.stateNode,s.nodeType===8?s.parentNode.removeChild(y):s.removeChild(y)):On.removeChild(y.stateNode));break;case 18:On!==null&&(Sr?(s=On,y=y.stateNode,s.nodeType===8?Vl(s.parentNode,y):s.nodeType===1&&Vl(s,y),Bc(s)):Vl(On,y.stateNode));break;case 4:w=On,M=Sr,On=y.stateNode.containerInfo,Sr=!0,Ca(s,c,y),On=w,Sr=M;break;case 0:case 11:case 14:case 15:if(!fr&&(w=y.updateQueue,w!==null&&(w=w.lastEffect,w!==null))){M=w=w.next;do{var L=M,z=L.destroy;L=L.tag,z!==void 0&&(L&2||L&4)&&pd(y,c,z),M=M.next}while(M!==w)}Ca(s,c,y);break;case 1:if(!fr&&(df(y,c),w=y.stateNode,typeof w.componentWillUnmount=="function"))try{w.props=y.memoizedProps,w.state=y.memoizedState,w.componentWillUnmount()}catch($){Gn(y,c,$)}Ca(s,c,y);break;case 21:Ca(s,c,y);break;case 22:y.mode&1?(fr=(w=fr)||y.memoizedState!==null,Ca(s,c,y),fr=w):Ca(s,c,y);break;default:Ca(s,c,y)}}function nl(s){var c=s.updateQueue;if(c!==null){s.updateQueue=null;var y=s.stateNode;y===null&&(y=s.stateNode=new DS),c.forEach(function(w){var M=sD.bind(null,s,w);y.has(w)||(y.add(w),w.then(M,M))})}}function qa(s,c){var y=c.deletions;if(y!==null)for(var w=0;w<y.length;w++){var M=y[w];try{var L=s,z=c,$=z;e:for(;$!==null;){switch($.tag){case 5:On=$.stateNode,Sr=!1;break e;case 3:On=$.stateNode.containerInfo,Sr=!0;break e;case 4:On=$.stateNode.containerInfo,Sr=!0;break e}$=$.return}if(On===null)throw Error(n(160));hf(L,z,M),On=null,Sr=!1;var q=M.alternate;q!==null&&(q.return=null),M.return=null}catch(se){Gn(M,c,se)}}if(c.subtreeFlags&12854)for(c=c.child;c!==null;)LS(c,s),c=c.sibling}function LS(s,c){var y=s.alternate,w=s.flags;switch(s.tag){case 0:case 11:case 14:case 15:if(qa(c,s),Co(s),w&4){try{gd(3,s,s.return),md(3,s)}catch(je){Gn(s,s.return,je)}try{gd(5,s,s.return)}catch(je){Gn(s,s.return,je)}}break;case 1:qa(c,s),Co(s),w&512&&y!==null&&df(y,y.return);break;case 5:if(qa(c,s),Co(s),w&512&&y!==null&&df(y,y.return),s.flags&32){var M=s.stateNode;try{Ua(M,"")}catch(je){Gn(s,s.return,je)}}if(w&4&&(M=s.stateNode,M!=null)){var L=s.memoizedProps,z=y!==null?y.memoizedProps:L,$=s.type,q=s.updateQueue;if(s.updateQueue=null,q!==null)try{$==="input"&&L.type==="radio"&&L.name!=null&&ar(M,L),Yn($,z);var se=Yn($,L);for(z=0;z<q.length;z+=2){var _e=q[z],we=q[z+1];_e==="style"?en(M,we):_e==="dangerouslySetInnerHTML"?Ol(M,we):_e==="children"?Ua(M,we):O(M,_e,we,se)}switch($){case"input":Vr(M,L);break;case"textarea":ho(M,L);break;case"select":var ye=M._wrapperState.wasMultiple;M._wrapperState.wasMultiple=!!L.multiple;var Oe=L.value;Oe!=null?vo(M,!!L.multiple,Oe,!1):ye!==!!L.multiple&&(L.defaultValue!=null?vo(M,!!L.multiple,L.defaultValue,!0):vo(M,!!L.multiple,L.multiple?[]:"",!1))}M[Gu]=L}catch(je){Gn(s,s.return,je)}}break;case 6:if(qa(c,s),Co(s),w&4){if(s.stateNode===null)throw Error(n(162));M=s.stateNode,L=s.memoizedProps;try{M.nodeValue=L}catch(je){Gn(s,s.return,je)}}break;case 3:if(qa(c,s),Co(s),w&4&&y!==null&&y.memoizedState.isDehydrated)try{Bc(c.containerInfo)}catch(je){Gn(s,s.return,je)}break;case 4:qa(c,s),Co(s);break;case 13:qa(c,s),Co(s),M=s.child,M.flags&8192&&(L=M.memoizedState!==null,M.stateNode.isHidden=L,!L||M.alternate!==null&&M.alternate.memoizedState!==null||(iy=$t())),w&4&&nl(s);break;case 22:if(_e=y!==null&&y.memoizedState!==null,s.mode&1?(fr=(se=fr)||_e,qa(c,s),fr=se):qa(c,s),Co(s),w&8192){if(se=s.memoizedState!==null,(s.stateNode.isHidden=se)&&!_e&&s.mode&1)for(Fe=s,_e=s.child;_e!==null;){for(we=Fe=_e;Fe!==null;){switch(ye=Fe,Oe=ye.child,ye.tag){case 0:case 11:case 14:case 15:gd(4,ye,ye.return);break;case 1:df(ye,ye.return);var Ue=ye.stateNode;if(typeof Ue.componentWillUnmount=="function"){w=ye,y=ye.return;try{c=w,Ue.props=c.memoizedProps,Ue.state=c.memoizedState,Ue.componentWillUnmount()}catch(je){Gn(w,y,je)}}break;case 5:df(ye,ye.return);break;case 22:if(ye.memoizedState!==null){ny(we);continue}}Oe!==null?(Oe.return=ye,Fe=Oe):ny(we)}_e=_e.sibling}e:for(_e=null,we=s;;){if(we.tag===5){if(_e===null){_e=we;try{M=we.stateNode,se?(L=M.style,typeof L.setProperty=="function"?L.setProperty("display","none","important"):L.display="none"):($=we.stateNode,q=we.memoizedProps.style,z=q!=null&&q.hasOwnProperty("display")?q.display:null,$.style.display=Ct("display",z))}catch(je){Gn(s,s.return,je)}}}else if(we.tag===6){if(_e===null)try{we.stateNode.nodeValue=se?"":we.memoizedProps}catch(je){Gn(s,s.return,je)}}else if((we.tag!==22&&we.tag!==23||we.memoizedState===null||we===s)&&we.child!==null){we.child.return=we,we=we.child;continue}if(we===s)break e;for(;we.sibling===null;){if(we.return===null||we.return===s)break e;_e===we&&(_e=null),we=we.return}_e===we&&(_e=null),we.sibling.return=we.return,we=we.sibling}}break;case 19:qa(c,s),Co(s),w&4&&nl(s);break;case 21:break;default:qa(c,s),Co(s)}}function Co(s){var c=s.flags;if(c&2){try{e:{for(var y=s.return;y!==null;){if(AS(y)){var w=y;break e}y=y.return}throw Error(n(160))}switch(w.tag){case 5:var M=w.stateNode;w.flags&32&&(Ua(M,""),w.flags&=-33);var L=Uh(s);So(s,L,M);break;case 3:case 4:var z=w.stateNode.containerInfo,$=Uh(s);vf(s,$,z);break;default:throw Error(n(161))}}catch(q){Gn(s,s.return,q)}s.flags&=-3}c&4096&&(s.flags&=-4097)}function OS(s,c,y){Fe=s,pf(s)}function pf(s,c,y){for(var w=(s.mode&1)!==0;Fe!==null;){var M=Fe,L=M.child;if(M.tag===22&&w){var z=M.memoizedState!==null||hd;if(!z){var $=M.alternate,q=$!==null&&$.memoizedState!==null||fr;$=hd;var se=fr;if(hd=z,(fr=q)&&!se)for(Fe=M;Fe!==null;)z=Fe,q=z.child,z.tag===22&&z.memoizedState!==null?NS(M):q!==null?(q.return=z,Fe=q):NS(M);for(;L!==null;)Fe=L,pf(L),L=L.sibling;Fe=M,hd=$,fr=se}kS(s)}else M.subtreeFlags&8772&&L!==null?(L.return=M,Fe=L):kS(s)}}function kS(s){for(;Fe!==null;){var c=Fe;if(c.flags&8772){var y=c.alternate;try{if(c.flags&8772)switch(c.tag){case 0:case 11:case 15:fr||md(5,c);break;case 1:var w=c.stateNode;if(c.flags&4&&!fr)if(y===null)w.componentDidMount();else{var M=c.elementType===c.type?y.memoizedProps:$i(c.type,y.memoizedProps);w.componentDidUpdate(M,y.memoizedState,w.__reactInternalSnapshotBeforeUpdate)}var L=c.updateQueue;L!==null&&ju(c,L,w);break;case 3:var z=c.updateQueue;if(z!==null){if(y=null,c.child!==null)switch(c.child.tag){case 5:y=c.child.stateNode;break;case 1:y=c.child.stateNode}ju(c,z,y)}break;case 5:var $=c.stateNode;if(y===null&&c.flags&4){y=$;var q=c.memoizedProps;switch(c.type){case"button":case"input":case"select":case"textarea":q.autoFocus&&y.focus();break;case"img":q.src&&(y.src=q.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(c.memoizedState===null){var se=c.alternate;if(se!==null){var _e=se.memoizedState;if(_e!==null){var we=_e.dehydrated;we!==null&&Bc(we)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}fr||c.flags&512&&ey(c)}catch(ye){Gn(c,c.return,ye)}}if(c===s){Fe=null;break}if(y=c.sibling,y!==null){y.return=c.return,Fe=y;break}Fe=c.return}}function ny(s){for(;Fe!==null;){var c=Fe;if(c===s){Fe=null;break}var y=c.sibling;if(y!==null){y.return=c.return,Fe=y;break}Fe=c.return}}function NS(s){for(;Fe!==null;){var c=Fe;try{switch(c.tag){case 0:case 11:case 15:var y=c.return;try{md(4,c)}catch(q){Gn(c,y,q)}break;case 1:var w=c.stateNode;if(typeof w.componentDidMount=="function"){var M=c.return;try{w.componentDidMount()}catch(q){Gn(c,M,q)}}var L=c.return;try{ey(c)}catch(q){Gn(c,L,q)}break;case 5:var z=c.return;try{ey(c)}catch(q){Gn(c,z,q)}}}catch(q){Gn(c,c.return,q)}if(c===s){Fe=null;break}var $=c.sibling;if($!==null){$.return=c.return,Fe=$;break}Fe=c.return}}var Vh=Math.ceil,yd=P.ReactCurrentDispatcher,ry=P.ReactCurrentOwner,Yr=P.ReactCurrentBatchConfig,Mt=0,Bn=null,Hn=null,Cr=0,Yi=0,gf=pt(0),cr=0,_d=null,rl=0,Hh=0,mf=0,rs=null,ei=null,iy=0,yf=1/0,il=null,Gh=!1,is=null,wo=null,tu=!1,nu=null,$h=0,_f=0,jh=null,as=-1,os=0;function Wr(){return Mt&6?$t():as!==-1?as:as=$t()}function tr(s){return s.mode&1?Mt&2&&Cr!==0?Cr&-Cr:dh.transition!==null?(os===0&&(os=Hv()),os):(s=tn,s!==0||(s=window.event,s=s===void 0?16:im(s.type)),s):1}function Xr(s,c,y,w){if(50<_f)throw _f=0,jh=null,Error(n(185));Pu(s,y,w),(!(Mt&2)||s!==Bn)&&(s===Bn&&(!(Mt&2)&&(Hh|=y),cr===4&&wa(s,Cr)),qr(s,w),y===1&&Mt===0&&!(c.mode&1)&&(yf=$t()+500,yr&&yi()))}function qr(s,c){var y=s.callbackNode;Vv(s,c);var w=Ga(s,s===Bn?Cr:0);if(w===0)y!==null&&Jr(y),s.callbackNode=null,s.callbackPriority=0;else if(c=w&-w,s.callbackPriority!==c){if(y!=null&&Jr(y),c===1)s.tag===0?Am(PS.bind(null,s)):Rm(PS.bind(null,s)),Em(function(){!(Mt&6)&&yi()}),y=null;else{switch(tm(w)){case 1:y=Go;break;case 4:y=Dt;break;case 16:y=Il;break;case 536870912:y=Zg;break;default:y=Il}y=fy(y,Sf.bind(null,s))}s.callbackPriority=c,s.callbackNode=y}}function Sf(s,c){if(as=-1,os=0,Mt&6)throw Error(n(327));var y=s.callbackNode;if(wf()&&s.callbackNode!==y)return null;var w=Ga(s,s===Bn?Cr:0);if(w===0)return null;if(w&30||w&s.expiredLanes||c)c=Wh(s,w);else{c=w;var M=Mt;Mt|=2;var L=Yh();(Bn!==s||Cr!==c)&&(il=null,yf=$t()+500,ls(s,c));do try{aD();break}catch($){IS(s,$)}while(1);Im(),yd.current=L,Mt=M,Hn!==null?c=0:(Bn=null,Cr=0,c=cr)}if(c!==0){if(c===2&&(M=Jg(s),M!==0&&(w=M,c=ay(s,M))),c===1)throw y=_d,ls(s,0),wa(s,w),qr(s,$t()),y;if(c===6)wa(s,w);else{if(M=s.current.alternate,!(w&30)&&!oy(M)&&(c=Wh(s,w),c===2&&(L=Jg(s),L!==0&&(w=L,c=ay(s,L))),c===1))throw y=_d,ls(s,0),wa(s,w),qr(s,$t()),y;switch(s.finishedWork=M,s.finishedLanes=w,c){case 0:case 1:throw Error(n(345));case 2:us(s,ei,il);break;case 3:if(wa(s,w),(w&130023424)===w&&(c=iy+500-$t(),10<c)){if(Ga(s,0)!==0)break;if(M=s.suspendedLanes,(M&w)!==w){Wr(),s.pingedLanes|=s.suspendedLanes&M;break}s.timeoutHandle=Hu(us.bind(null,s,ei,il),c);break}us(s,ei,il);break;case 4:if(wa(s,w),(w&4194240)===w)break;for(c=s.eventTimes,M=-1;0<w;){var z=31-sa(w);L=1<<z,z=c[z],z>M&&(M=z),w&=~L}if(w=M,w=$t()-w,w=(120>w?120:480>w?480:1080>w?1080:1920>w?1920:3e3>w?3e3:4320>w?4320:1960*Vh(w/1960))-w,10<w){s.timeoutHandle=Hu(us.bind(null,s,ei,il),w);break}us(s,ei,il);break;case 5:us(s,ei,il);break;default:throw Error(n(329))}}}return qr(s,$t()),s.callbackNode===y?Sf.bind(null,s):null}function ay(s,c){var y=rs;return s.current.memoizedState.isDehydrated&&(ls(s,c).flags|=256),s=Wh(s,c),s!==2&&(c=ei,ei=y,c!==null&&Sd(c)),s}function Sd(s){ei===null?ei=s:ei.push.apply(ei,s)}function oy(s){for(var c=s;;){if(c.flags&16384){var y=c.updateQueue;if(y!==null&&(y=y.stores,y!==null))for(var w=0;w<y.length;w++){var M=y[w],L=M.getSnapshot;M=M.value;try{if(!da(L(),M))return!1}catch{return!1}}}if(y=c.child,c.subtreeFlags&16384&&y!==null)y.return=c,c=y;else{if(c===s)break;for(;c.sibling===null;){if(c.return===null||c.return===s)return!0;c=c.return}c.sibling.return=c.return,c=c.sibling}}return!0}function wa(s,c){for(c&=~mf,c&=~Hh,s.suspendedLanes|=c,s.pingedLanes&=~c,s=s.expirationTimes;0<c;){var y=31-sa(c),w=1<<y;s[y]=-1,c&=~w}}function PS(s){if(Mt&6)throw Error(n(327));wf();var c=Ga(s,0);if(!(c&1))return qr(s,$t()),null;var y=Wh(s,c);if(s.tag!==0&&y===2){var w=Jg(s);w!==0&&(c=w,y=ay(s,w))}if(y===1)throw y=_d,ls(s,0),wa(s,c),qr(s,$t()),y;if(y===6)throw Error(n(345));return s.finishedWork=s.current.alternate,s.finishedLanes=c,us(s,ei,il),qr(s,$t()),null}function Cf(s,c){var y=Mt;Mt|=1;try{return s(c)}finally{Mt=y,Mt===0&&(yf=$t()+500,yr&&yi())}}function ru(s){nu!==null&&nu.tag===0&&!(Mt&6)&&wf();var c=Mt;Mt|=1;var y=Yr.transition,w=tn;try{if(Yr.transition=null,tn=1,s)return s()}finally{tn=w,Yr.transition=y,Mt=c,!(Mt&6)&&yi()}}function ly(){Yi=gf.current,qt(gf)}function ls(s,c){s.finishedWork=null,s.finishedLanes=0;var y=s.timeoutHandle;if(y!==-1&&(s.timeoutHandle=-1,sS(y)),Hn!==null)for(y=Hn.return;y!==null;){var w=y;switch(Om(w),w.tag){case 1:w=w.type.childContextTypes,w!=null&&pa();break;case 3:Zl(),qt(Vn),qt(lt),yh();break;case 5:wt(w);break;case 4:Zl();break;case 13:qt(nt);break;case 19:qt(nt);break;case 10:Wl(w.type._context);break;case 22:case 23:ly()}y=y.return}if(Bn=s,Hn=s=iu(s.current,null),Cr=Yi=c,cr=0,_d=null,mf=Hh=rl=0,ei=rs=null,Mr!==null){for(c=0;c<Mr.length;c++)if(y=Mr[c],w=y.interleaved,w!==null){y.interleaved=null;var M=w.next,L=y.pending;if(L!==null){var z=L.next;L.next=M,w.next=z}y.pending=w}Mr=null}return s}function IS(s,c){do{var y=Hn;try{if(Im(),_h.current=Ph,rt){for(var w=xn.memoizedState;w!==null;){var M=w.queue;M!==null&&(M.pending=null),w=w.next}rt=!1}if(Wu=0,At=he=xn=null,_o=!1,ji=0,ry.current=null,y===null||y.return===null){cr=1,_d=c,Hn=null;break}e:{var L=s,z=y.return,$=y,q=c;if(c=Cr,$.flags|=32768,q!==null&&typeof q=="object"&&typeof q.then=="function"){var se=q,_e=$,we=_e.tag;if(!(_e.mode&1)&&(we===0||we===11||we===15)){var ye=_e.alternate;ye?(_e.updateQueue=ye.updateQueue,_e.memoizedState=ye.memoizedState,_e.lanes=ye.lanes):(_e.updateQueue=null,_e.memoizedState=null)}var Oe=jm(z);if(Oe!==null){Oe.flags&=-257,Ym(Oe,z,$,L,c),Oe.mode&1&&TS(L,se,c),c=Oe,q=se;var Ue=c.updateQueue;if(Ue===null){var je=new Set;je.add(q),c.updateQueue=je}else Ue.add(q);break e}else{if(!(c&1)){TS(L,se,c),uy();break e}q=Error(n(426))}}else if(wn&&$.mode&1){var Xn=jm(z);if(Xn!==null){!(Xn.flags&65536)&&(Xn.flags|=256),Ym(Xn,z,$,L,c),Nm(sf(q,$));break e}}L=q=sf(q,$),cr!==4&&(cr=2),rs===null?rs=[L]:rs.push(L),L=z;do{switch(L.tag){case 3:L.flags|=65536,c&=-c,L.lanes|=c;var te=xS(L,q,c);Bm(L,te);break e;case 1:$=q;var Z=L.type,oe=L.stateNode;if(!(L.flags&128)&&(typeof Z.getDerivedStateFromError=="function"||oe!==null&&typeof oe.componentDidCatch=="function"&&(wo===null||!wo.has(oe)))){L.flags|=65536,c&=-c,L.lanes|=c;var Te=cd(L,$,c);Bm(L,Te);break e}}L=L.return}while(L!==null)}sy(y)}catch(Ye){c=Ye,Hn===y&&y!==null&&(Hn=y=y.return);continue}break}while(1)}function Yh(){var s=yd.current;return yd.current=Ph,s===null?Ph:s}function uy(){(cr===0||cr===3||cr===2)&&(cr=4),Bn===null||!(rl&268435455)&&!(Hh&268435455)||wa(Bn,Cr)}function Wh(s,c){var y=Mt;Mt|=2;var w=Yh();(Bn!==s||Cr!==c)&&(il=null,ls(s,c));do try{iD();break}catch(M){IS(s,M)}while(1);if(Im(),Mt=y,yd.current=w,Hn!==null)throw Error(n(261));return Bn=null,Cr=0,cr}function iD(){for(;Hn!==null;)zS(Hn)}function aD(){for(;Hn!==null&&!Pl();)zS(Hn)}function zS(s){var c=BS(s.alternate,s,Yi);s.memoizedProps=s.pendingProps,c===null?sy(s):Hn=c,ry.current=null}function sy(s){var c=s;do{var y=c.alternate;if(s=c.return,c.flags&32768){if(y=Jm(y,c),y!==null){y.flags&=32767,Hn=y;return}if(s!==null)s.flags|=32768,s.subtreeFlags=0,s.deletions=null;else{cr=6,Hn=null;return}}else if(y=rD(y,c,Yi),y!==null){Hn=y;return}if(c=c.sibling,c!==null){Hn=c;return}Hn=c=s}while(c!==null);cr===0&&(cr=5)}function us(s,c,y){var w=tn,M=Yr.transition;try{Yr.transition=null,tn=1,oD(s,c,y,w)}finally{Yr.transition=M,tn=w}return null}function oD(s,c,y,w){do wf();while(nu!==null);if(Mt&6)throw Error(n(327));y=s.finishedWork;var M=s.finishedLanes;if(y===null)return null;if(s.finishedWork=null,s.finishedLanes=0,y===s.current)throw Error(n(177));s.callbackNode=null,s.callbackPriority=0;var L=y.lanes|y.childLanes;if(OE(s,L),s===Bn&&(Hn=Bn=null,Cr=0),!(y.subtreeFlags&2064)&&!(y.flags&2064)||tu||(tu=!0,fy(Il,function(){return wf(),null})),L=(y.flags&15990)!==0,y.subtreeFlags&15990||L){L=Yr.transition,Yr.transition=null;var z=tn;tn=1;var $=Mt;Mt|=4,ry.current=null,RS(s,y),LS(y,s),th(Vu),Iu=!!Tm,Vu=Tm=null,s.current=y,OS(y),Bv(),Mt=$,tn=z,Yr.transition=L}else s.current=y;if(tu&&(tu=!1,nu=s,$h=M),L=s.pendingLanes,L===0&&(wo=null),x1(y.stateNode),qr(s,$t()),c!==null)for(w=s.onRecoverableError,y=0;y<c.length;y++)M=c[y],w(M.value,{componentStack:M.stack,digest:M.digest});if(Gh)throw Gh=!1,s=is,is=null,s;return $h&1&&s.tag!==0&&wf(),L=s.pendingLanes,L&1?s===jh?_f++:(_f=0,jh=s):_f=0,yi(),null}function wf(){if(nu!==null){var s=tm($h),c=Yr.transition,y=tn;try{if(Yr.transition=null,tn=16>s?16:s,nu===null)var w=!1;else{if(s=nu,nu=null,$h=0,Mt&6)throw Error(n(331));var M=Mt;for(Mt|=4,Fe=s.current;Fe!==null;){var L=Fe,z=L.child;if(Fe.flags&16){var $=L.deletions;if($!==null){for(var q=0;q<$.length;q++){var se=$[q];for(Fe=se;Fe!==null;){var _e=Fe;switch(_e.tag){case 0:case 11:case 15:gd(8,_e,L)}var we=_e.child;if(we!==null)we.return=_e,Fe=we;else for(;Fe!==null;){_e=Fe;var ye=_e.sibling,Oe=_e.return;if(ty(_e),_e===se){Fe=null;break}if(ye!==null){ye.return=Oe,Fe=ye;break}Fe=Oe}}}var Ue=L.alternate;if(Ue!==null){var je=Ue.child;if(je!==null){Ue.child=null;do{var Xn=je.sibling;je.sibling=null,je=Xn}while(je!==null)}}Fe=L}}if(L.subtreeFlags&2064&&z!==null)z.return=L,Fe=z;else e:for(;Fe!==null;){if(L=Fe,L.flags&2048)switch(L.tag){case 0:case 11:case 15:gd(9,L,L.return)}var te=L.sibling;if(te!==null){te.return=L.return,Fe=te;break e}Fe=L.return}}var Z=s.current;for(Fe=Z;Fe!==null;){z=Fe;var oe=z.child;if(z.subtreeFlags&2064&&oe!==null)oe.return=z,Fe=oe;else e:for(z=Z;Fe!==null;){if($=Fe,$.flags&2048)try{switch($.tag){case 0:case 11:case 15:md(9,$)}}catch(Ye){Gn($,$.return,Ye)}if($===z){Fe=null;break e}var Te=$.sibling;if(Te!==null){Te.return=$.return,Fe=Te;break e}Fe=$.return}}if(Mt=M,yi(),Ha&&typeof Ha.onPostCommitFiberRoot=="function")try{Ha.onPostCommitFiberRoot(Nc,s)}catch{}w=!0}return w}finally{tn=y,Yr.transition=c}}return!1}function FS(s,c,y){c=sf(y,c),c=xS(s,c,1),s=ql(s,c,1),c=Wr(),s!==null&&(Pu(s,1,c),qr(s,c))}function Gn(s,c,y){if(s.tag===3)FS(s,s,y);else for(;c!==null;){if(c.tag===3){FS(c,s,y);break}else if(c.tag===1){var w=c.stateNode;if(typeof c.type.getDerivedStateFromError=="function"||typeof w.componentDidCatch=="function"&&(wo===null||!wo.has(w))){s=sf(y,s),s=cd(c,s,1),c=ql(c,s,1),s=Wr(),c!==null&&(Pu(c,1,s),qr(c,s));break}}c=c.return}}function lD(s,c,y){var w=s.pingCache;w!==null&&w.delete(c),c=Wr(),s.pingedLanes|=s.suspendedLanes&y,Bn===s&&(Cr&y)===y&&(cr===4||cr===3&&(Cr&130023424)===Cr&&500>$t()-iy?ls(s,0):mf|=y),qr(s,c)}function Xh(s,c){c===0&&(s.mode&1?(c=Gs,Gs<<=1,!(Gs&130023424)&&(Gs=4194304)):c=1);var y=Wr();s=Ko(s,c),s!==null&&(Pu(s,c,y),qr(s,y))}function uD(s){var c=s.memoizedState,y=0;c!==null&&(y=c.retryLane),Xh(s,y)}function sD(s,c){var y=0;switch(s.tag){case 13:var w=s.stateNode,M=s.memoizedState;M!==null&&(y=M.retryLane);break;case 19:w=s.stateNode;break;default:throw Error(n(314))}w!==null&&w.delete(c),Xh(s,y)}var BS;BS=function(s,c,y){if(s!==null)if(s.memoizedProps!==c.pendingProps||Vn.current)er=!0;else{if(!(s.lanes&y)&&!(c.flags&128))return er=!1,tl(s,c,y);er=!!(s.flags&131072)}else er=!1,wn&&c.flags&1048576&&Lm(c,tf,c.index);switch(c.lanes=0,c.tag){case 2:var w=c.type;$r(s,c),s=c.pendingProps;var M=ha(c,lt.current);be(c,y),M=Kl(null,c,w,s,M,y);var L=Qu();return c.flags|=1,typeof M=="object"&&M!==null&&typeof M.render=="function"&&M.$$typeof===void 0?(c.tag=1,c.memoizedState=null,c.updateQueue=null,Ln(w)?(L=!0,lh(c)):L=!1,c.memoizedState=M.state!==null&&M.state!==void 0?M.state:null,Fm(c),M.updater=ph,c.stateNode=M,M._reactInternals=c,gh(c,w,s,y),c=bS(null,c,w,!0,L,y)):(c.tag=0,wn&&L&&uh(c),ur(null,c,M,y),c=c.child),c;case 16:w=c.elementType;e:{switch($r(s,c),s=c.pendingProps,M=w._init,w=M(w._payload),c.type=w,M=c.tag=cD(w),s=$i(w,s),M){case 0:c=ff(null,c,w,s,y);break e;case 1:c=Wm(null,c,w,s,y);break e;case 11:c=eu(null,c,w,s,y);break e;case 14:c=zh(null,c,w,$i(w.type,s),y);break e}throw Error(n(306,w,""))}return c;case 0:return w=c.type,M=c.pendingProps,M=c.elementType===w?M:$i(w,M),ff(s,c,w,M,y);case 1:return w=c.type,M=c.pendingProps,M=c.elementType===w?M:$i(w,M),Wm(s,c,w,M,y);case 3:e:{if(ES(c),s===null)throw Error(n(387));w=c.pendingProps,L=c.memoizedState,M=L.element,lr(s,c),Ql(c,w,null,y);var z=c.memoizedState;if(w=z.element,L.isDehydrated)if(L={element:w,isDehydrated:!1,cache:z.cache,pendingSuspenseBoundaries:z.pendingSuspenseBoundaries,transitions:z.transitions},c.updateQueue.baseState=L,c.memoizedState=L,c.flags&256){M=sf(Error(n(423)),c),c=Fh(s,c,w,y,M);break e}else if(w!==M){M=sf(Error(n(424)),c),c=Fh(s,c,w,y,M);break e}else for(Ci=Wa(c.stateNode.containerInfo.firstChild),Gi=c,wn=!0,ma=null,y=CS(c,null,w,y),c.child=y;y;)y.flags=y.flags&-3|4096,y=y.sibling;else{if(zn(),w===M){c=Rr(s,c,y);break e}ur(s,c,w,y)}c=c.child}return c;case 5:return Je(c),s===null&&fh(c),w=c.type,M=c.pendingProps,L=s!==null?s.memoizedProps:null,z=M.children,Jc(w,M)?z=null:L!==null&&Jc(w,L)&&(c.flags|=32),gt(s,c),ur(s,c,z,y),c.child;case 6:return s===null&&fh(c),null;case 13:return qm(s,c,y);case 4:return Vm(c,c.stateNode.containerInfo),w=c.pendingProps,s===null?c.child=rf(c,null,w,y):ur(s,c,w,y),c.child;case 11:return w=c.type,M=c.pendingProps,M=c.elementType===w?M:$i(w,M),eu(s,c,w,M,y);case 7:return ur(s,c,c.pendingProps,y),c.child;case 8:return ur(s,c,c.pendingProps.children,y),c.child;case 12:return ur(s,c,c.pendingProps.children,y),c.child;case 10:e:{if(w=c.type._context,M=c.pendingProps,L=c.memoizedProps,z=M.value,Kt(yo,w._currentValue),w._currentValue=z,L!==null)if(da(L.value,z)){if(L.children===M.children&&!Vn.current){c=Rr(s,c,y);break e}}else for(L=c.child,L!==null&&(L.return=c);L!==null;){var $=L.dependencies;if($!==null){z=L.child;for(var q=$.firstContext;q!==null;){if(q.context===w){if(L.tag===1){q=Jo(-1,y&-y),q.tag=2;var se=L.updateQueue;if(se!==null){se=se.shared;var _e=se.pending;_e===null?q.next=q:(q.next=_e.next,_e.next=q),se.pending=q}}L.lanes|=y,q=L.alternate,q!==null&&(q.lanes|=y),_r(L.return,y,c),$.lanes|=y;break}q=q.next}}else if(L.tag===10)z=L.type===c.type?null:L.child;else if(L.tag===18){if(z=L.return,z===null)throw Error(n(341));z.lanes|=y,$=z.alternate,$!==null&&($.lanes|=y),_r(z,y,c),z=L.sibling}else z=L.child;if(z!==null)z.return=L;else for(z=L;z!==null;){if(z===c){z=null;break}if(L=z.sibling,L!==null){L.return=z.return,z=L;break}z=z.return}L=z}ur(s,c,M.children,y),c=c.child}return c;case 9:return M=c.type,w=c.pendingProps.children,be(c,y),M=Wn(M),w=w(M),c.flags|=1,ur(s,c,w,y),c.child;case 14:return w=c.type,M=$i(w,c.pendingProps),M=$i(w.type,M),zh(s,c,w,M,y);case 15:return Ti(s,c,c.type,c.pendingProps,y);case 17:return w=c.type,M=c.pendingProps,M=c.elementType===w?M:$i(w,M),$r(s,c),c.tag=1,Ln(w)?(s=!0,lh(c)):s=!1,be(c,y),mS(c,w,M),gh(c,w,M,y),bS(null,c,w,!0,s,y);case 19:return Km(s,c,y);case 22:return es(s,c,y)}throw Error(n(156,c.tag))};function fy(s,c){return An(s,c)}function fD(s,c,y,w){this.tag=s,this.key=y,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=c,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=w,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function xa(s,c,y,w){return new fD(s,c,y,w)}function cy(s){return s=s.prototype,!(!s||!s.isReactComponent)}function cD(s){if(typeof s=="function")return cy(s)?1:0;if(s!=null){if(s=s.$$typeof,s===ee)return 11;if(s===ce)return 14}return 2}function iu(s,c){var y=s.alternate;return y===null?(y=xa(s.tag,c,s.key,s.mode),y.elementType=s.elementType,y.type=s.type,y.stateNode=s.stateNode,y.alternate=s,s.alternate=y):(y.pendingProps=c,y.type=s.type,y.flags=0,y.subtreeFlags=0,y.deletions=null),y.flags=s.flags&14680064,y.childLanes=s.childLanes,y.lanes=s.lanes,y.child=s.child,y.memoizedProps=s.memoizedProps,y.memoizedState=s.memoizedState,y.updateQueue=s.updateQueue,c=s.dependencies,y.dependencies=c===null?null:{lanes:c.lanes,firstContext:c.firstContext},y.sibling=s.sibling,y.index=s.index,y.ref=s.ref,y}function qh(s,c,y,w,M,L){var z=2;if(w=s,typeof s=="function")cy(s)&&(z=1);else if(typeof s=="string")z=5;else e:switch(s){case U:return ss(y.children,M,L,c);case H:z=8,M|=8;break;case j:return s=xa(12,y,c,M|2),s.elementType=j,s.lanes=L,s;case J:return s=xa(13,y,c,M),s.elementType=J,s.lanes=L,s;case ie:return s=xa(19,y,c,M),s.elementType=ie,s.lanes=L,s;case Ne:return Cd(y,M,L,c);default:if(typeof s=="object"&&s!==null)switch(s.$$typeof){case X:z=10;break e;case G:z=9;break e;case ee:z=11;break e;case ce:z=14;break e;case fe:z=16,w=null;break e}throw Error(n(130,s==null?s:typeof s,""))}return c=xa(z,y,c,M),c.elementType=s,c.type=w,c.lanes=L,c}function ss(s,c,y,w){return s=xa(7,s,w,c),s.lanes=y,s}function Cd(s,c,y,w){return s=xa(22,s,w,c),s.elementType=Ne,s.lanes=y,s.stateNode={isHidden:!1},s}function wd(s,c,y){return s=xa(6,s,null,c),s.lanes=y,s}function fs(s,c,y){return c=xa(4,s.children!==null?s.children:[],s.key,c),c.lanes=y,c.stateNode={containerInfo:s.containerInfo,pendingChildren:null,implementation:s.implementation},c}function dD(s,c,y,w,M){this.tag=c,this.containerInfo=s,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=em(0),this.expirationTimes=em(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=em(0),this.identifierPrefix=w,this.onRecoverableError=M,this.mutableSourceEagerHydrationData=null}function Qh(s,c,y,w,M,L,z,$,q){return s=new dD(s,c,y,$,q),c===1?(c=1,L===!0&&(c|=8)):c=0,L=xa(3,null,null,c),s.current=L,L.stateNode=s,L.memoizedState={element:w,isDehydrated:y,cache:null,transitions:null,pendingSuspenseBoundaries:null},Fm(L),s}function US(s,c,y){var w=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:F,key:w==null?null:""+w,children:s,containerInfo:c,implementation:y}}function dy(s){if(!s)return mo;s=s._reactInternals;e:{if(mt(s)!==s||s.tag!==1)throw Error(n(170));var c=s;do{switch(c.tag){case 3:c=c.stateNode.context;break e;case 1:if(Ln(c.type)){c=c.stateNode.__reactInternalMemoizedMergedChildContext;break e}}c=c.return}while(c!==null);throw Error(n(171))}if(s.tag===1){var y=s.type;if(Ln(y))return nd(s,y,c)}return c}function VS(s,c,y,w,M,L,z,$,q){return s=Qh(y,w,!0,s,M,L,z,$,q),s.context=dy(null),y=s.current,w=Wr(),M=tr(y),L=Jo(w,M),L.callback=c??null,ql(y,L,M),s.current.lanes=M,Pu(s,M,w),qr(s,w),s}function xd(s,c,y,w){var M=c.current,L=Wr(),z=tr(M);return y=dy(y),c.context===null?c.context=y:c.pendingContext=y,c=Jo(L,z),c.payload={element:s},w=w===void 0?null:w,w!==null&&(c.callback=w),s=ql(M,c,z),s!==null&&(Xr(s,M,z,L),hh(s,M,z)),z}function Zh(s){if(s=s.current,!s.child)return null;switch(s.child.tag){case 5:return s.child.stateNode;default:return s.child.stateNode}}function HS(s,c){if(s=s.memoizedState,s!==null&&s.dehydrated!==null){var y=s.retryLane;s.retryLane=y!==0&&y<c?y:c}}function vy(s,c){HS(s,c),(s=s.alternate)&&HS(s,c)}function GS(){return null}var hy=typeof reportError=="function"?reportError:function(s){console.error(s)};function Kh(s){this._internalRoot=s}al.prototype.render=Kh.prototype.render=function(s){var c=this._internalRoot;if(c===null)throw Error(n(409));xd(s,c,null,null)},al.prototype.unmount=Kh.prototype.unmount=function(){var s=this._internalRoot;if(s!==null){this._internalRoot=null;var c=s.containerInfo;ru(function(){xd(null,s,null,null)}),c[Qo]=null}};function al(s){this._internalRoot=s}al.prototype.unstable_scheduleHydration=function(s){if(s){var c=D1();s={blockedOn:null,target:s,priority:c};for(var y=0;y<ln.length&&c!==0&&c<ln[y].priority;y++);ln.splice(y,0,s),y===0&&M1(s)}};function py(s){return!(!s||s.nodeType!==1&&s.nodeType!==9&&s.nodeType!==11)}function Jh(s){return!(!s||s.nodeType!==1&&s.nodeType!==9&&s.nodeType!==11&&(s.nodeType!==8||s.nodeValue!==" react-mount-point-unstable "))}function $S(){}function vD(s,c,y,w,M){if(M){if(typeof w=="function"){var L=w;w=function(){var se=Zh(z);L.call(se)}}var z=VS(c,w,s,0,null,!1,!1,"",$S);return s._reactRootContainer=z,s[Qo]=z.current,Js(s.nodeType===8?s.parentNode:s),ru(),z}for(;M=s.lastChild;)s.removeChild(M);if(typeof w=="function"){var $=w;w=function(){var se=Zh(q);$.call(se)}}var q=Qh(s,0,!1,null,null,!1,!1,"",$S);return s._reactRootContainer=q,s[Qo]=q.current,Js(s.nodeType===8?s.parentNode:s),ru(function(){xd(c,q,y,w)}),q}function ep(s,c,y,w,M){var L=y._reactRootContainer;if(L){var z=L;if(typeof M=="function"){var $=M;M=function(){var q=Zh(z);$.call(q)}}xd(c,z,s,M)}else z=vD(y,c,s,M,w);return Zh(z)}E1=function(s){switch(s.tag){case 3:var c=s.stateNode;if(c.current.memoizedState.isDehydrated){var y=Nu(c.pendingLanes);y!==0&&(Pc(c,y|1),qr(c,$t()),!(Mt&6)&&(yf=$t()+500,yi()))}break;case 13:ru(function(){var w=Ko(s,1);if(w!==null){var M=Wr();Xr(w,s,1,M)}}),vy(s,1)}},Gv=function(s){if(s.tag===13){var c=Ko(s,134217728);if(c!==null){var y=Wr();Xr(c,s,134217728,y)}vy(s,134217728)}},hn=function(s){if(s.tag===13){var c=tr(s),y=Ko(s,c);if(y!==null){var w=Wr();Xr(y,s,c,w)}vy(s,c)}},D1=function(){return tn},nm=function(s,c){var y=tn;try{return tn=s,c()}finally{tn=y}},Fi=function(s,c,y){switch(c){case"input":if(Vr(s,y),c=y.name,y.type==="radio"&&c!=null){for(y=s;y.parentNode;)y=y.parentNode;for(y=y.querySelectorAll("input[name="+JSON.stringify(""+c)+'][type="radio"]'),c=0;c<y.length;c++){var w=y[c];if(w!==s&&w.form===s.form){var M=Qe(w);if(!M)throw Error(n(90));Se(w),Vr(w,M)}}}break;case"textarea":ho(s,y);break;case"select":c=y.value,c!=null&&vo(s,!!y.multiple,c,!1)}},kc=Cf,Fv=ru;var hD={usingClientEntryPoint:!1,Events:[td,ef,Qe,Lu,Us,Cf]},xf={findFiberByHostInstance:va,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},pD={bundleType:xf.bundleType,version:xf.version,rendererPackageName:xf.rendererPackageName,rendererConfig:xf.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:P.ReactCurrentDispatcher,findHostInstanceByFiber:function(s){return s=pr(s),s===null?null:s.stateNode},findFiberByHostInstance:xf.findFiberByHostInstance||GS,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var tp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!tp.isDisabled&&tp.supportsFiber)try{Nc=tp.inject(pD),Ha=tp}catch{}}return Ki.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=hD,Ki.createPortal=function(s,c){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!py(c))throw Error(n(200));return US(s,c,null,y)},Ki.createRoot=function(s,c){if(!py(s))throw Error(n(299));var y=!1,w="",M=hy;return c!=null&&(c.unstable_strictMode===!0&&(y=!0),c.identifierPrefix!==void 0&&(w=c.identifierPrefix),c.onRecoverableError!==void 0&&(M=c.onRecoverableError)),c=Qh(s,1,!1,null,null,y,!1,w,M),s[Qo]=c.current,Js(s.nodeType===8?s.parentNode:s),new Kh(c)},Ki.findDOMNode=function(s){if(s==null)return null;if(s.nodeType===1)return s;var c=s._reactInternals;if(c===void 0)throw typeof s.render=="function"?Error(n(188)):(s=Object.keys(s).join(","),Error(n(268,s)));return s=pr(c),s=s===null?null:s.stateNode,s},Ki.flushSync=function(s){return ru(s)},Ki.hydrate=function(s,c,y){if(!Jh(c))throw Error(n(200));return ep(null,s,c,!0,y)},Ki.hydrateRoot=function(s,c,y){if(!py(s))throw Error(n(405));var w=y!=null&&y.hydratedSources||null,M=!1,L="",z=hy;if(y!=null&&(y.unstable_strictMode===!0&&(M=!0),y.identifierPrefix!==void 0&&(L=y.identifierPrefix),y.onRecoverableError!==void 0&&(z=y.onRecoverableError)),c=VS(c,null,s,1,y??null,M,!1,L,z),s[Qo]=c.current,Js(s),w)for(s=0;s<w.length;s++)y=w[s],M=y._getVersion,M=M(y._source),c.mutableSourceEagerHydrationData==null?c.mutableSourceEagerHydrationData=[y,M]:c.mutableSourceEagerHydrationData.push(y,M);return new al(c)},Ki.render=function(s,c,y){if(!Jh(c))throw Error(n(200));return ep(null,s,c,!1,y)},Ki.unmountComponentAtNode=function(s){if(!Jh(s))throw Error(n(40));return s._reactRootContainer?(ru(function(){ep(null,null,s,!1,function(){s._reactRootContainer=null,s[Qo]=null})}),!0):!1},Ki.unstable_batchedUpdates=Cf,Ki.unstable_renderSubtreeIntoContainer=function(s,c,y,w){if(!Jh(y))throw Error(n(200));if(s==null||s._reactInternals===void 0)throw Error(n(38));return ep(s,c,y,!1,w)},Ki.version="18.2.0-next-9e3b772b8-20220608",Ki}var Ji={};var XA;function zV(){return XA||(XA=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var t=ft,e=YA(),n=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,r=!1;function a(i){r=i}function l(i){if(!r){for(var o=arguments.length,v=new Array(o>1?o-1:0),g=1;g<o;g++)v[g-1]=arguments[g];f("warn",i,v)}}function u(i){if(!r){for(var o=arguments.length,v=new Array(o>1?o-1:0),g=1;g<o;g++)v[g-1]=arguments[g];f("error",i,v)}}function f(i,o,v){{var g=n.ReactDebugCurrentFrame,C=g.getStackAddendum();C!==""&&(o+="%s",v=v.concat([C]));var T=v.map(function(R){return String(R)});T.unshift("Warning: "+o),Function.prototype.apply.call(console[i],console,T)}}var d=0,h=1,p=2,m=3,S=4,_=5,x=6,E=7,b=8,D=9,A=10,O=11,P=12,I=13,F=14,U=15,H=16,j=17,X=18,G=19,ee=21,J=22,ie=23,ce=24,fe=25,Ne=!0,ae=!1,ge=!1,pe=!1,Le=!1,Ge=!0,St=!1,It=!1,Dn=!0,Xt=!0,Mn=!0,on=new Set,zt={},Ft={};function $e(i,o){Se(i,o),Se(i+"Capture",o)}function Se(i,o){zt[i]&&u("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",i),zt[i]=o;{var v=i.toLowerCase();Ft[v]=i,i==="onDoubleClick"&&(Ft.ondblclick=i)}for(var g=0;g<o.length;g++)on.add(o[g])}var Zt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Et=Object.prototype.hasOwnProperty;function Pn(i){{var o=typeof Symbol=="function"&&Symbol.toStringTag,v=o&&i[Symbol.toStringTag]||i.constructor.name||"Object";return v}}function ar(i){try{return Vr(i),!1}catch{return!0}}function Vr(i){return""+i}function ua(i,o){if(ar(i))return u("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",o,Pn(i)),Vr(i)}function za(i){if(ar(i))return u("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Pn(i)),Vr(i)}function Ho(i,o){if(ar(i))return u("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",o,Pn(i)),Vr(i)}function vo(i,o){if(ar(i))return u("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",o,Pn(i)),Vr(i)}function Fa(i){if(ar(i))return u("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",Pn(i)),Vr(i)}function Pi(i){if(ar(i))return u("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",Pn(i)),Vr(i)}var ho=0,Ii=1,Ba=2,Zn=3,zi=4,Ol=5,Ua=6,De=":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",qe=De+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Ct=new RegExp("^["+De+"]["+qe+"]*$"),en={},In={};function hr(i){return Et.call(In,i)?!0:Et.call(en,i)?!1:Ct.test(i)?(In[i]=!0,!0):(en[i]=!0,u("Invalid attribute name: `%s`",i),!1)}function Yn(i,o,v){return o!==null?o.type===ho:v?!1:i.length>2&&(i[0]==="o"||i[0]==="O")&&(i[1]==="n"||i[1]==="N")}function pi(i,o,v,g){if(v!==null&&v.type===ho)return!1;switch(typeof o){case"function":case"symbol":return!0;case"boolean":{if(g)return!1;if(v!==null)return!v.acceptsBooleans;var C=i.toLowerCase().slice(0,5);return C!=="data-"&&C!=="aria-"}default:return!1}}function _n(i,o,v,g){if(o===null||typeof o>"u"||pi(i,o,v,g))return!0;if(g)return!1;if(v!==null)switch(v.type){case Zn:return!o;case zi:return o===!1;case Ol:return isNaN(o);case Ua:return isNaN(o)||o<1}return!1}function Fi(i){return Sn.hasOwnProperty(i)?Sn[i]:null}function vn(i,o,v,g,C,T,R){this.acceptsBooleans=o===Ba||o===Zn||o===zi,this.attributeName=g,this.attributeNamespace=C,this.mustUseProperty=v,this.propertyName=i,this.type=o,this.sanitizeURL=T,this.removeEmptyString=R}var Sn={},Bs=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Bs.forEach(function(i){Sn[i]=new vn(i,ho,!1,i,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(i){var o=i[0],v=i[1];Sn[o]=new vn(o,Ii,!1,v,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(i){Sn[i]=new vn(i,Ba,!1,i.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(i){Sn[i]=new vn(i,Ba,!1,i,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(function(i){Sn[i]=new vn(i,Zn,!1,i.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(i){Sn[i]=new vn(i,Zn,!0,i,null,!1,!1)}),["capture","download"].forEach(function(i){Sn[i]=new vn(i,zi,!1,i,null,!1,!1)}),["cols","rows","size","span"].forEach(function(i){Sn[i]=new vn(i,Ua,!1,i,null,!1,!1)}),["rowSpan","start"].forEach(function(i){Sn[i]=new vn(i,Ol,!1,i.toLowerCase(),null,!1,!1)});var Lu=/[\-\:]([a-z])/g,Us=function(i){return i[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(function(i){var o=i.replace(Lu,Us);Sn[o]=new vn(o,Ii,!1,i,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(i){var o=i.replace(Lu,Us);Sn[o]=new vn(o,Ii,!1,i,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(i){var o=i.replace(Lu,Us);Sn[o]=new vn(o,Ii,!1,i,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(i){Sn[i]=new vn(i,Ii,!1,i.toLowerCase(),null,!1,!1)});var kc="xlinkHref";Sn[kc]=new vn("xlinkHref",Ii,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(i){Sn[i]=new vn(i,Ii,!1,i.toLowerCase(),null,!0,!0)});var Fv=/^[\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,Ou=!1;function Vs(i){!Ou&&Fv.test(i)&&(Ou=!0,u("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(i)))}function ku(i,o,v,g){if(g.mustUseProperty){var C=g.propertyName;return i[C]}else{ua(v,o),g.sanitizeURL&&Vs(""+v);var T=g.attributeName,R=null;if(g.type===zi){if(i.hasAttribute(T)){var k=i.getAttribute(T);return k===""?!0:_n(o,v,g,!1)?k:k===""+v?v:k}}else if(i.hasAttribute(T)){if(_n(o,v,g,!1))return i.getAttribute(T);if(g.type===Zn)return v;R=i.getAttribute(T)}return _n(o,v,g,!1)?R===null?v:R:R===""+v?v:R}}function Hs(i,o,v,g){{if(!hr(o))return;if(!i.hasAttribute(o))return v===void 0?void 0:null;var C=i.getAttribute(o);return ua(v,o),C===""+v?v:C}}function po(i,o,v,g){var C=Fi(o);if(!Yn(o,C,g)){if(_n(o,v,C,g)&&(v=null),g||C===null){if(hr(o)){var T=o;v===null?i.removeAttribute(T):(ua(v,o),i.setAttribute(T,""+v))}return}var R=C.mustUseProperty;if(R){var k=C.propertyName;if(v===null){var N=C.type;i[k]=N===Zn?!1:""}else i[k]=v;return}var B=C.attributeName,V=C.attributeNamespace;if(v===null)i.removeAttribute(B);else{var K=C.type,Q;K===Zn||K===zi&&v===!0?Q="":(ua(v,B),Q=""+v,C.sanitizeURL&&Vs(Q.toString())),V?i.setAttributeNS(V,B,Q):i.setAttribute(B,Q)}}}var kl=Symbol.for("react.element"),Bi=Symbol.for("react.portal"),Va=Symbol.for("react.fragment"),Nl=Symbol.for("react.strict_mode"),Y=Symbol.for("react.profiler"),Ce=Symbol.for("react.provider"),Me=Symbol.for("react.context"),Ke=Symbol.for("react.forward_ref"),mt=Symbol.for("react.suspense"),Bt=Symbol.for("react.suspense_list"),yt=Symbol.for("react.memo"),tt=Symbol.for("react.lazy"),pr=Symbol.for("react.scope"),Rn=Symbol.for("react.debug_trace_mode"),An=Symbol.for("react.offscreen"),Jr=Symbol.for("react.legacy_hidden"),Pl=Symbol.for("react.cache"),Bv=Symbol.for("react.tracing_marker"),$t=Symbol.iterator,AE="@@iterator";function Go(i){if(i===null||typeof i!="object")return null;var o=$t&&i[$t]||i[AE];return typeof o=="function"?o:null}var Dt=Object.assign,Il=0,w1,Zg,Nc,Ha,x1,sa,T1;function b1(){}b1.__reactDisabledLog=!0;function LE(){{if(Il===0){w1=console.log,Zg=console.info,Nc=console.warn,Ha=console.error,x1=console.group,sa=console.groupCollapsed,T1=console.groupEnd;var i={configurable:!0,enumerable:!0,value:b1,writable:!0};Object.defineProperties(console,{info:i,log:i,warn:i,error:i,group:i,groupCollapsed:i,groupEnd:i})}Il++}}function Uv(){{if(Il--,Il===0){var i={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Dt({},i,{value:w1}),info:Dt({},i,{value:Zg}),warn:Dt({},i,{value:Nc}),error:Dt({},i,{value:Ha}),group:Dt({},i,{value:x1}),groupCollapsed:Dt({},i,{value:sa}),groupEnd:Dt({},i,{value:T1})})}Il<0&&u("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Gs=n.ReactCurrentDispatcher,Nu;function Ga(i,o,v){{if(Nu===void 0)try{throw Error()}catch(C){var g=C.stack.trim().match(/\n( *(at )?)/);Nu=g&&g[1]||""}return`
74
- `+Nu+i}}var Kg=!1,Vv;{var Jg=typeof WeakMap=="function"?WeakMap:Map;Vv=new Jg}function Hv(i,o){if(!i||Kg)return"";{var v=Vv.get(i);if(v!==void 0)return v}var g;Kg=!0;var C=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var T;T=Gs.current,Gs.current=null,LE();try{if(o){var R=function(){throw Error()};if(Object.defineProperty(R.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(R,[])}catch(ue){g=ue}Reflect.construct(i,[],R)}else{try{R.call()}catch(ue){g=ue}i.call(R.prototype)}}else{try{throw Error()}catch(ue){g=ue}i()}}catch(ue){if(ue&&g&&typeof ue.stack=="string"){for(var k=ue.stack.split(`
75
- `),N=g.stack.split(`
76
- `),B=k.length-1,V=N.length-1;B>=1&&V>=0&&k[B]!==N[V];)V--;for(;B>=1&&V>=0;B--,V--)if(k[B]!==N[V]){if(B!==1||V!==1)do if(B--,V--,V<0||k[B]!==N[V]){var K=`
77
- `+k[B].replace(" at new "," at ");return i.displayName&&K.includes("<anonymous>")&&(K=K.replace("<anonymous>",i.displayName)),typeof i=="function"&&Vv.set(i,K),K}while(B>=1&&V>=0);break}}}finally{Kg=!1,Gs.current=T,Uv(),Error.prepareStackTrace=C}var Q=i?i.displayName||i.name:"",le=Q?Ga(Q):"";return typeof i=="function"&&Vv.set(i,le),le}function em(i,o,v){return Hv(i,!0)}function Pu(i,o,v){return Hv(i,!1)}function OE(i){var o=i.prototype;return!!(o&&o.isReactComponent)}function Pc(i,o,v){if(i==null)return"";if(typeof i=="function")return Hv(i,OE(i));if(typeof i=="string")return Ga(i);switch(i){case mt:return Ga("Suspense");case Bt:return Ga("SuspenseList")}if(typeof i=="object")switch(i.$$typeof){case Ke:return Pu(i.render);case yt:return Pc(i.type,o,v);case tt:{var g=i,C=g._payload,T=g._init;try{return Pc(T(C),o,v)}catch{}}}return""}function tn(i){switch(i._debugOwner&&i._debugOwner.type,i._debugSource,i.tag){case _:return Ga(i.type);case H:return Ga("Lazy");case I:return Ga("Suspense");case G:return Ga("SuspenseList");case d:case p:case U:return Pu(i.type);case O:return Pu(i.type.render);case h:return em(i.type);default:return""}}function tm(i){try{var o="",v=i;do o+=tn(v),v=v.return;while(v);return o}catch(g){return`
78
- Error generating stack: `+g.message+`
79
- `+g.stack}}function E1(i,o,v){var g=i.displayName;if(g)return g;var C=o.displayName||o.name||"";return C!==""?v+"("+C+")":v}function Gv(i){return i.displayName||"Context"}function hn(i){if(i==null)return null;if(typeof i.tag=="number"&&u("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case Va:return"Fragment";case Bi:return"Portal";case Y:return"Profiler";case Nl:return"StrictMode";case mt:return"Suspense";case Bt:return"SuspenseList"}if(typeof i=="object")switch(i.$$typeof){case Me:var o=i;return Gv(o)+".Consumer";case Ce:var v=i;return Gv(v._context)+".Provider";case Ke:return E1(i,i.render,"ForwardRef");case yt:var g=i.displayName||null;return g!==null?g:hn(i.type)||"Memo";case tt:{var C=i,T=C._payload,R=C._init;try{return hn(R(T))}catch{return null}}}return null}function D1(i,o,v){var g=o.displayName||o.name||"";return i.displayName||(g!==""?v+"("+g+")":v)}function nm(i){return i.displayName||"Context"}function dt(i){var o=i.tag,v=i.type;switch(o){case ce:return"Cache";case D:var g=v;return nm(g)+".Consumer";case A:var C=v;return nm(C._context)+".Provider";case X:return"DehydratedFragment";case O:return D1(v,v.render,"ForwardRef");case E:return"Fragment";case _:return v;case S:return"Portal";case m:return"Root";case x:return"Text";case H:return hn(v);case b:return v===Nl?"StrictMode":"Mode";case J:return"Offscreen";case P:return"Profiler";case ee:return"Scope";case I:return"Suspense";case G:return"SuspenseList";case fe:return"TracingMarker";case h:case d:case j:case p:case F:case U:if(typeof v=="function")return v.displayName||v.name||null;if(typeof v=="string")return v;break}return null}var Ic=n.ReactDebugCurrentFrame,Kn=null,fa=!1;function ca(){{if(Kn===null)return null;var i=Kn._debugOwner;if(i!==null&&typeof i<"u")return dt(i)}return null}function zc(){return Kn===null?"":tm(Kn)}function or(){Ic.getCurrentStack=null,Kn=null,fa=!1}function ln(i){Ic.getCurrentStack=i===null?null:zc,Kn=i,fa=!1}function kE(){return Kn}function $a(i){fa=i}function Hr(i){return""+i}function zl(i){switch(typeof i){case"boolean":case"number":case"string":case"undefined":return i;case"object":return Pi(i),i;default:return""}}var M1={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function $s(i,o){M1[o.type]||o.onChange||o.onInput||o.readOnly||o.disabled||o.value==null||u("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`."),o.onChange||o.readOnly||o.disabled||o.checked==null||u("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 rm(i){var o=i.type,v=i.nodeName;return v&&v.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function R1(i){return i._valueTracker}function Fc(i){i._valueTracker=null}function Bc(i){var o="";return i&&(rm(i)?o=i.checked?"true":"false":o=i.value),o}function js(i){var o=rm(i)?"checked":"value",v=Object.getOwnPropertyDescriptor(i.constructor.prototype,o);Pi(i[o]);var g=""+i[o];if(!(i.hasOwnProperty(o)||typeof v>"u"||typeof v.get!="function"||typeof v.set!="function")){var C=v.get,T=v.set;Object.defineProperty(i,o,{configurable:!0,get:function(){return C.call(this)},set:function(k){Pi(k),g=""+k,T.call(this,k)}}),Object.defineProperty(i,o,{enumerable:v.enumerable});var R={getValue:function(){return g},setValue:function(k){Pi(k),g=""+k},stopTracking:function(){Fc(i),delete i[o]}};return R}}function Iu(i){R1(i)||(i._valueTracker=js(i))}function A1(i){if(!i)return!1;var o=R1(i);if(!o)return!0;var v=o.getValue(),g=Bc(i);return g!==v?(o.setValue(g),!0):!1}function $v(i){if(i=i||(typeof document<"u"?document:void 0),typeof i>"u")return null;try{return i.activeElement||i.body}catch{return i.body}}var jv=!1,Uc=!1,Yv=!1,im=!1;function $o(i){var o=i.type==="checkbox"||i.type==="radio";return o?i.checked!=null:i.value!=null}function Vc(i,o){var v=i,g=o.checked,C=Dt({},o,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:g??v._wrapperState.initialChecked});return C}function Hc(i,o){$s("input",o),o.checked!==void 0&&o.defaultChecked!==void 0&&!Uc&&(u("%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://reactjs.org/link/controlled-components",ca()||"A component",o.type),Uc=!0),o.value!==void 0&&o.defaultValue!==void 0&&!jv&&(u("%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://reactjs.org/link/controlled-components",ca()||"A component",o.type),jv=!0);var v=i,g=o.defaultValue==null?"":o.defaultValue;v._wrapperState={initialChecked:o.checked!=null?o.checked:o.defaultChecked,initialValue:zl(o.value!=null?o.value:g),controlled:$o(o)}}function am(i,o){var v=i,g=o.checked;g!=null&&po(v,"checked",g,!1)}function Ys(i,o){var v=i;{var g=$o(o);!v._wrapperState.controlled&&g&&!im&&(u("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://reactjs.org/link/controlled-components"),im=!0),v._wrapperState.controlled&&!g&&!Yv&&(u("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://reactjs.org/link/controlled-components"),Yv=!0)}am(i,o);var C=zl(o.value),T=o.type;if(C!=null)T==="number"?(C===0&&v.value===""||v.value!=C)&&(v.value=Hr(C)):v.value!==Hr(C)&&(v.value=Hr(C));else if(T==="submit"||T==="reset"){v.removeAttribute("value");return}o.hasOwnProperty("value")?Fl(v,o.type,C):o.hasOwnProperty("defaultValue")&&Fl(v,o.type,zl(o.defaultValue)),o.checked==null&&o.defaultChecked!=null&&(v.defaultChecked=!!o.defaultChecked)}function Gc(i,o,v){var g=i;if(o.hasOwnProperty("value")||o.hasOwnProperty("defaultValue")){var C=o.type,T=C==="submit"||C==="reset";if(T&&(o.value===void 0||o.value===null))return;var R=Hr(g._wrapperState.initialValue);v||R!==g.value&&(g.value=R),g.defaultValue=R}var k=g.name;k!==""&&(g.name=""),g.defaultChecked=!g.defaultChecked,g.defaultChecked=!!g._wrapperState.initialChecked,k!==""&&(g.name=k)}function L1(i,o){var v=i;Ys(v,o),Ui(v,o)}function Ui(i,o){var v=o.name;if(o.type==="radio"&&v!=null){for(var g=i;g.parentNode;)g=g.parentNode;ua(v,"name");for(var C=g.querySelectorAll("input[name="+JSON.stringify(""+v)+'][type="radio"]'),T=0;T<C.length;T++){var R=C[T];if(!(R===i||R.form!==i.form)){var k=lC(R);if(!k)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");A1(R),Ys(R,k)}}}}function Fl(i,o,v){(o!=="number"||$v(i.ownerDocument)!==i)&&(v==null?i.defaultValue=Hr(i._wrapperState.initialValue):i.defaultValue!==Hr(v)&&(i.defaultValue=Hr(v)))}var Wv=!1,Ws=!1,O1=!1;function Xv(i,o){o.value==null&&(typeof o.children=="object"&&o.children!==null?t.Children.forEach(o.children,function(v){v!=null&&(typeof v=="string"||typeof v=="number"||Ws||(Ws=!0,u("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):o.dangerouslySetInnerHTML!=null&&(O1||(O1=!0,u("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),o.selected!=null&&!Wv&&(u("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Wv=!0)}function om(i,o){o.value!=null&&i.setAttribute("value",Hr(zl(o.value)))}var $c=Array.isArray;function gr(i){return $c(i)}var qv;qv=!1;function k1(){var i=ca();return i?`
80
-
81
- Check the render method of \``+i+"`.":""}var N1=["value","defaultValue"];function NE(i){{$s("select",i);for(var o=0;o<N1.length;o++){var v=N1[o];if(i[v]!=null){var g=gr(i[v]);i.multiple&&!g?u("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",v,k1()):!i.multiple&&g&&u("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",v,k1())}}}}function Bl(i,o,v,g){var C=i.options;if(o){for(var T=v,R={},k=0;k<T.length;k++)R["$"+T[k]]=!0;for(var N=0;N<C.length;N++){var B=R.hasOwnProperty("$"+C[N].value);C[N].selected!==B&&(C[N].selected=B),B&&g&&(C[N].defaultSelected=!0)}}else{for(var V=Hr(zl(v)),K=null,Q=0;Q<C.length;Q++){if(C[Q].value===V){C[Q].selected=!0,g&&(C[Q].defaultSelected=!0);return}K===null&&!C[Q].disabled&&(K=C[Q])}K!==null&&(K.selected=!0)}}function lm(i,o){return Dt({},o,{value:void 0})}function P1(i,o){var v=i;NE(o),v._wrapperState={wasMultiple:!!o.multiple},o.value!==void 0&&o.defaultValue!==void 0&&!qv&&(u("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://reactjs.org/link/controlled-components"),qv=!0)}function PE(i,o){var v=i;v.multiple=!!o.multiple;var g=o.value;g!=null?Bl(v,!!o.multiple,g,!1):o.defaultValue!=null&&Bl(v,!!o.multiple,o.defaultValue,!0)}function IE(i,o){var v=i,g=v._wrapperState.wasMultiple;v._wrapperState.wasMultiple=!!o.multiple;var C=o.value;C!=null?Bl(v,!!o.multiple,C,!1):g!==!!o.multiple&&(o.defaultValue!=null?Bl(v,!!o.multiple,o.defaultValue,!0):Bl(v,!!o.multiple,o.multiple?[]:"",!1))}function zE(i,o){var v=i,g=o.value;g!=null&&Bl(v,!!o.multiple,g,!1)}var um=!1;function sm(i,o){var v=i;if(o.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var g=Dt({},o,{value:void 0,defaultValue:void 0,children:Hr(v._wrapperState.initialValue)});return g}function I1(i,o){var v=i;$s("textarea",o),o.value!==void 0&&o.defaultValue!==void 0&&!um&&(u("%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://reactjs.org/link/controlled-components",ca()||"A component"),um=!0);var g=o.value;if(g==null){var C=o.children,T=o.defaultValue;if(C!=null){u("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(T!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(gr(C)){if(C.length>1)throw new Error("<textarea> can only have at most one child.");C=C[0]}T=C}}T==null&&(T=""),g=T}v._wrapperState={initialValue:zl(g)}}function z1(i,o){var v=i,g=zl(o.value),C=zl(o.defaultValue);if(g!=null){var T=Hr(g);T!==v.value&&(v.value=T),o.defaultValue==null&&v.defaultValue!==T&&(v.defaultValue=T)}C!=null&&(v.defaultValue=Hr(C))}function F1(i,o){var v=i,g=v.textContent;g===v._wrapperState.initialValue&&g!==""&&g!==null&&(v.value=g)}function fm(i,o){z1(i,o)}var jo="http://www.w3.org/1999/xhtml",FE="http://www.w3.org/1998/Math/MathML",cm="http://www.w3.org/2000/svg";function Qv(i){switch(i){case"svg":return cm;case"math":return FE;default:return jo}}function dm(i,o){return i==null||i===jo?Qv(o):i===cm&&o==="foreignObject"?jo:i}var BE=function(i){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(o,v,g,C){MSApp.execUnsafeLocalFunction(function(){return i(o,v,g,C)})}:i},Zv,B1=BE(function(i,o){if(i.namespaceURI===cm&&!("innerHTML"in i)){Zv=Zv||document.createElement("div"),Zv.innerHTML="<svg>"+o.valueOf().toString()+"</svg>";for(var v=Zv.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;v.firstChild;)i.appendChild(v.firstChild);return}i.innerHTML=o}),gi=1,Yo=3,Jn=8,ja=9,zu=11,Kv=function(i,o){if(o){var v=i.firstChild;if(v&&v===i.lastChild&&v.nodeType===Yo){v.nodeValue=o;return}}i.textContent=o},U1={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],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"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],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"],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"]},Xs={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function V1(i,o){return i+o.charAt(0).toUpperCase()+o.substring(1)}var H1=["Webkit","ms","Moz","O"];Object.keys(Xs).forEach(function(i){H1.forEach(function(o){Xs[V1(o,i)]=Xs[i]})});function Jv(i,o,v){var g=o==null||typeof o=="boolean"||o==="";return g?"":!v&&typeof o=="number"&&o!==0&&!(Xs.hasOwnProperty(i)&&Xs[i])?o+"px":(vo(o,i),(""+o).trim())}var qs=/([A-Z])/g,UE=/^ms-/;function VE(i){return i.replace(qs,"-$1").toLowerCase().replace(UE,"-ms-")}var G1=function(){};{var $1=/^(?:webkit|moz|o)[A-Z]/,j1=/^-ms-/,jc=/-(.)/g,Qs=/;\s*$/,Zs={},Ks={},Y1=!1,vm=!1,hm=function(i){return i.replace(jc,function(o,v){return v.toUpperCase()})},pm=function(i){Zs.hasOwnProperty(i)&&Zs[i]||(Zs[i]=!0,u("Unsupported style property %s. Did you mean %s?",i,hm(i.replace(j1,"ms-"))))},W1=function(i){Zs.hasOwnProperty(i)&&Zs[i]||(Zs[i]=!0,u("Unsupported vendor-prefixed style property %s. Did you mean %s?",i,i.charAt(0).toUpperCase()+i.slice(1)))},X1=function(i,o){Ks.hasOwnProperty(o)&&Ks[o]||(Ks[o]=!0,u(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,i,o.replace(Qs,"")))},q1=function(i,o){Y1||(Y1=!0,u("`NaN` is an invalid value for the `%s` css style property.",i))},HE=function(i,o){vm||(vm=!0,u("`Infinity` is an invalid value for the `%s` css style property.",i))};G1=function(i,o){i.indexOf("-")>-1?pm(i):$1.test(i)?W1(i):Qs.test(o)&&X1(i,o),typeof o=="number"&&(isNaN(o)?q1(i,o):isFinite(o)||HE(i,o))}}var GE=G1;function $E(i){{var o="",v="";for(var g in i)if(i.hasOwnProperty(g)){var C=i[g];if(C!=null){var T=g.indexOf("--")===0;o+=v+(T?g:VE(g))+":",o+=Jv(g,C,T),v=";"}}return o||null}}function Q1(i,o){var v=i.style;for(var g in o)if(o.hasOwnProperty(g)){var C=g.indexOf("--")===0;C||GE(g,o[g]);var T=Jv(g,o[g],C);g==="float"&&(g="cssFloat"),C?v.setProperty(g,T):v[g]=T}}function jE(i){return i==null||typeof i=="boolean"||i===""}function da(i){var o={};for(var v in i)for(var g=U1[v]||[v],C=0;C<g.length;C++)o[g[C]]=v;return o}function Yc(i,o){{if(!o)return;var v=da(i),g=da(o),C={};for(var T in v){var R=v[T],k=g[T];if(k&&R!==k){var N=R+","+k;if(C[N])continue;C[N]=!0,u("%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.",jE(i[R])?"Removing":"Updating",R,k)}}}}var Z1={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},K1=Dt({menuitem:!0},Z1),J1="__html";function eh(i,o){if(o){if(K1[i]&&(o.children!=null||o.dangerouslySetInnerHTML!=null))throw new Error(i+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(o.dangerouslySetInnerHTML!=null){if(o.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof o.dangerouslySetInnerHTML!="object"||!(J1 in o.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!o.suppressContentEditableWarning&&o.contentEditable&&o.children!=null&&u("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."),o.style!=null&&typeof o.style!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function Wo(i,o){if(i.indexOf("-")===-1)return typeof o.is=="string";switch(i){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 th={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",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",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",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",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"},eS={"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},Ya={},gm=new RegExp("^(aria)-["+qe+"]*$"),Wc=new RegExp("^(aria)[A-Z]["+qe+"]*$");function mm(i,o){{if(Et.call(Ya,o)&&Ya[o])return!0;if(Wc.test(o)){var v="aria-"+o.slice(4).toLowerCase(),g=eS.hasOwnProperty(v)?v:null;if(g==null)return u("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",o),Ya[o]=!0,!0;if(o!==g)return u("Invalid ARIA attribute `%s`. Did you mean `%s`?",o,g),Ya[o]=!0,!0}if(gm.test(o)){var C=o.toLowerCase(),T=eS.hasOwnProperty(C)?C:null;if(T==null)return Ya[o]=!0,!1;if(o!==T)return u("Unknown ARIA attribute `%s`. Did you mean `%s`?",o,T),Ya[o]=!0,!0}}return!0}function tS(i,o){{var v=[];for(var g in o){var C=mm(i,g);C||v.push(g)}var T=v.map(function(R){return"`"+R+"`"}).join(", ");v.length===1?u("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",T,i):v.length>1&&u("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",T,i)}}function nh(i,o){Wo(i,o)||tS(i,o)}var Fu=!1;function ym(i,o){{if(i!=="input"&&i!=="textarea"&&i!=="select")return;o!=null&&o.value===null&&!Fu&&(Fu=!0,i==="select"&&o.multiple?u("`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.",i):u("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",i))}}var _m=function(){};{var mr={},Sm=/^on./,nS=/^on[^A-Z]/,rS=new RegExp("^(aria)-["+qe+"]*$"),iS=new RegExp("^(aria)[A-Z]["+qe+"]*$");_m=function(i,o,v,g){if(Et.call(mr,o)&&mr[o])return!0;var C=o.toLowerCase();if(C==="onfocusin"||C==="onfocusout")return u("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."),mr[o]=!0,!0;if(g!=null){var T=g.registrationNameDependencies,R=g.possibleRegistrationNames;if(T.hasOwnProperty(o))return!0;var k=R.hasOwnProperty(C)?R[C]:null;if(k!=null)return u("Invalid event handler property `%s`. Did you mean `%s`?",o,k),mr[o]=!0,!0;if(Sm.test(o))return u("Unknown event handler property `%s`. It will be ignored.",o),mr[o]=!0,!0}else if(Sm.test(o))return nS.test(o)&&u("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",o),mr[o]=!0,!0;if(rS.test(o)||iS.test(o))return!0;if(C==="innerhtml")return u("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),mr[o]=!0,!0;if(C==="aria")return u("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),mr[o]=!0,!0;if(C==="is"&&v!==null&&v!==void 0&&typeof v!="string")return u("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof v),mr[o]=!0,!0;if(typeof v=="number"&&isNaN(v))return u("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",o),mr[o]=!0,!0;var N=Fi(o),B=N!==null&&N.type===ho;if(th.hasOwnProperty(C)){var V=th[C];if(V!==o)return u("Invalid DOM property `%s`. Did you mean `%s`?",o,V),mr[o]=!0,!0}else if(!B&&o!==C)return u("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.",o,C),mr[o]=!0,!0;return typeof v=="boolean"&&pi(o,v,N,!1)?(v?u('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()}.',v,o,o,v,o):u('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.',v,o,o,v,o,o,o),mr[o]=!0,!0):B?!0:pi(o,v,N,!1)?(mr[o]=!0,!1):((v==="false"||v==="true")&&N!==null&&N.type===Zn&&(u("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",v,o,v==="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".',o,v),mr[o]=!0),!0)}}var aS=function(i,o,v){{var g=[];for(var C in o){var T=_m(i,C,o[C],v);T||g.push(C)}var R=g.map(function(k){return"`"+k+"`"}).join(", ");g.length===1?u("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://reactjs.org/link/attribute-behavior ",R,i):g.length>1&&u("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://reactjs.org/link/attribute-behavior ",R,i)}};function oS(i,o,v){Wo(i,o)||aS(i,o,v)}var Xo=1,Xc=1<<1,Bu=1<<2,YE=Xo|Xc|Bu,qc=null;function Qc(i){qc!==null&&u("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),qc=i}function WE(){qc===null&&u("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),qc=null}function lS(i){return i===qc}function rh(i){var o=i.target||i.srcElement||window;return o.correspondingUseElement&&(o=o.correspondingUseElement),o.nodeType===Yo?o.parentNode:o}var pn=null,Ul=null,qo=null;function Js(i){var o=Ef(i);if(o){if(typeof pn!="function")throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var v=o.stateNode;if(v){var g=lC(v);pn(o.stateNode,o.type,g)}}}function uS(i){pn=i}function ih(i){Ul?qo?qo.push(i):qo=[i]:Ul=i}function Zc(){return Ul!==null||qo!==null}function Kc(){if(Ul){var i=Ul,o=qo;if(Ul=null,qo=null,Js(i),o)for(var v=0;v<o.length;v++)Js(o[v])}}var Uu=function(i,o){return i(o)},Cm=function(){},wm=!1;function XE(){var i=Zc();i&&(Cm(),Kc())}function xm(i,o,v){if(wm)return i(o,v);wm=!0;try{return Uu(i,o,v)}finally{wm=!1,XE()}}function ah(i,o,v){Uu=i,Cm=v}function oh(i){return i==="button"||i==="input"||i==="select"||i==="textarea"}function Tm(i,o,v){switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(v.disabled&&oh(o));default:return!1}}function Vu(i,o){var v=i.stateNode;if(v===null)return null;var g=lC(v);if(g===null)return null;var C=g[o];if(Tm(o,i.type,g))return null;if(C&&typeof C!="function")throw new Error("Expected `"+o+"` listener to be a function, instead got a value of `"+typeof C+"` type.");return C}var Jc=!1;if(Zt)try{var Hu={};Object.defineProperty(Hu,"passive",{get:function(){Jc=!0}}),window.addEventListener("test",Hu,Hu),window.removeEventListener("test",Hu,Hu)}catch{Jc=!1}function sS(i,o,v,g,C,T,R,k,N){var B=Array.prototype.slice.call(arguments,3);try{o.apply(v,B)}catch(V){this.onError(V)}}var bm=sS;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var Em=document.createElement("react");bm=function(o,v,g,C,T,R,k,N,B){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var V=document.createEvent("Event"),K=!1,Q=!0,le=window.event,ue=Object.getOwnPropertyDescriptor(window,"event");function de(){Em.removeEventListener(ve,Ze,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=le)}var Pe=Array.prototype.slice.call(arguments,3);function Ze(){K=!0,de(),v.apply(g,Pe),Q=!1}var We,Ot=!1,Rt=!1;function ne(re){if(We=re.error,Ot=!0,We===null&&re.colno===0&&re.lineno===0&&(Rt=!0),re.defaultPrevented&&We!=null&&typeof We=="object")try{We._suppressLogging=!0}catch{}}var ve="react-"+(o||"invokeguardedcallback");if(window.addEventListener("error",ne),Em.addEventListener(ve,Ze,!1),V.initEvent(ve,!1,!1),Em.dispatchEvent(V),ue&&Object.defineProperty(window,"event",ue),K&&Q&&(Ot?Rt&&(We=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):We=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(We)),window.removeEventListener("error",ne),!K)return de(),sS.apply(this,arguments)}}var qE=bm,Vl=!1,Wa=null,ed=!1,Hl=null,go={onError:function(i){Vl=!0,Wa=i}};function Gu(i,o,v,g,C,T,R,k,N){Vl=!1,Wa=null,qE.apply(go,arguments)}function Qo(i,o,v,g,C,T,R,k,N){if(Gu.apply(this,arguments),Vl){var B=Mm();ed||(ed=!0,Hl=B)}}function Dm(){if(ed){var i=Hl;throw ed=!1,Hl=null,i}}function QE(){return Vl}function Mm(){if(Vl){var i=Wa;return Vl=!1,Wa=null,i}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function va(i){return i._reactInternals}function td(i){return i._reactInternals!==void 0}function ef(i,o){i._reactInternals=o}var Qe=0,Gl=1,Cn=2,pt=4,qt=16,Kt=32,mo=64,lt=128,Vn=256,mi=512,ha=1024,Ln=2048,pa=4096,$l=8192,nd=16384,lh=Ln|pt|mo|mi|ha|nd,fS=32767,Vi=32768,yr=65536,rd=131072,Rm=1048576,Am=2097152,yi=4194304,jl=8388608,_i=16777216,$u=33554432,tf=pt|ha|0,Si=Cn|pt|qt|Kt|mi|pa|$l,Gr=pt|mo|mi|$l,ga=Ln|qt,Dr=yi|jl|Am,Zo=n.ReactCurrentOwner;function Hi(i){var o=i,v=i;if(i.alternate)for(;o.return;)o=o.return;else{var g=o;do o=g,(o.flags&(Cn|pa))!==Qe&&(v=o.return),g=o.return;while(g)}return o.tag===m?v:null}function Lm(i){if(i.tag===I){var o=i.memoizedState;if(o===null){var v=i.alternate;v!==null&&(o=v.memoizedState)}if(o!==null)return o.dehydrated}return null}function uh(i){return i.tag===m?i.stateNode.containerInfo:null}function Om(i){return Hi(i)===i}function Gi(i){{var o=Zo.current;if(o!==null&&o.tag===h){var v=o,g=v.stateNode;g._warnedAboutRefsInRender||u("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",dt(v)||"A component"),g._warnedAboutRefsInRender=!0}}var C=va(i);return C?Hi(C)===C:!1}function Ci(i){if(Hi(i)!==i)throw new Error("Unable to find node on an unmounted component.")}function wn(i){var o=i.alternate;if(!o){var v=Hi(i);if(v===null)throw new Error("Unable to find node on an unmounted component.");return v!==i?null:i}for(var g=i,C=o;;){var T=g.return;if(T===null)break;var R=T.alternate;if(R===null){var k=T.return;if(k!==null){g=C=k;continue}break}if(T.child===R.child){for(var N=T.child;N;){if(N===g)return Ci(T),i;if(N===C)return Ci(T),o;N=N.sibling}throw new Error("Unable to find node on an unmounted component.")}if(g.return!==C.return)g=T,C=R;else{for(var B=!1,V=T.child;V;){if(V===g){B=!0,g=T,C=R;break}if(V===C){B=!0,C=T,g=R;break}V=V.sibling}if(!B){for(V=R.child;V;){if(V===g){B=!0,g=R,C=T;break}if(V===C){B=!0,C=R,g=T;break}V=V.sibling}if(!B)throw new 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(g.alternate!==C)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(g.tag!==m)throw new Error("Unable to find node on an unmounted component.");return g.stateNode.current===g?i:o}function ma(i){var o=wn(i);return o!==null?km(o):null}function km(i){if(i.tag===_||i.tag===x)return i;for(var o=i.child;o!==null;){var v=km(o);if(v!==null)return v;o=o.sibling}return null}function cS(i){var o=wn(i);return o!==null?sh(o):null}function sh(i){if(i.tag===_||i.tag===x)return i;for(var o=i.child;o!==null;){if(o.tag!==S){var v=sh(o);if(v!==null)return v}o=o.sibling}return null}var fh=e.unstable_scheduleCallback,dS=e.unstable_cancelCallback,ch=e.unstable_shouldYield,vS=e.unstable_requestPaint,zn=e.unstable_now,Nm=e.unstable_getCurrentPriorityLevel,dh=e.unstable_ImmediatePriority,$i=e.unstable_UserBlockingPriority,yo=e.unstable_NormalPriority,vh=e.unstable_LowPriority,Yl=e.unstable_IdlePriority,Pm=e.unstable_yieldValue,Im=e.unstable_setDisableYieldValue,Wl=null,_r=null,be=null,Wn=!1,Mr=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function zm(i){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var o=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(o.isDisabled)return!0;if(!o.supportsFiber)return u("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{Dn&&(i=Dt({},i,{getLaneLabelMap:ql,injectProfilingHooks:Jo})),Wl=o.inject(i),_r=o}catch(v){u("React instrumentation encountered an error: %s.",v)}return!!o.checkDCE}function hS(i,o){if(_r&&typeof _r.onScheduleFiberRoot=="function")try{_r.onScheduleFiberRoot(Wl,i,o)}catch(v){Wn||(Wn=!0,u("React instrumentation encountered an error: %s",v))}}function Ko(i,o){if(_r&&typeof _r.onCommitFiberRoot=="function")try{var v=(i.current.flags&lt)===lt;if(Xt){var g;switch(o){case $r:g=dh;break;case Rr:g=$i;break;case tl:g=yo;break;case dd:g=Yl;break;default:g=yo;break}_r.onCommitFiberRoot(Wl,i,g,v)}}catch(C){Wn||(Wn=!0,u("React instrumentation encountered an error: %s",C))}}function Xl(i){if(_r&&typeof _r.onPostCommitFiberRoot=="function")try{_r.onPostCommitFiberRoot(Wl,i)}catch(o){Wn||(Wn=!0,u("React instrumentation encountered an error: %s",o))}}function Fm(i){if(_r&&typeof _r.onCommitFiberUnmount=="function")try{_r.onCommitFiberUnmount(Wl,i)}catch(o){Wn||(Wn=!0,u("React instrumentation encountered an error: %s",o))}}function lr(i){if(typeof Pm=="function"&&(Im(i),a(i)),_r&&typeof _r.setStrictMode=="function")try{_r.setStrictMode(Wl,i)}catch(o){Wn||(Wn=!0,u("React instrumentation encountered an error: %s",o))}}function Jo(i){be=i}function ql(){{for(var i=new Map,o=1,v=0;v<xn;v++){var g=ZE(o);i.set(o,g),o*=2}return i}}function hh(i){be!==null&&typeof be.markCommitStarted=="function"&&be.markCommitStarted(i)}function Bm(){be!==null&&typeof be.markCommitStopped=="function"&&be.markCommitStopped()}function Ql(i){be!==null&&typeof be.markComponentRenderStarted=="function"&&be.markComponentRenderStarted(i)}function ju(){be!==null&&typeof be.markComponentRenderStopped=="function"&&be.markComponentRenderStopped()}function pS(i){be!==null&&typeof be.markComponentPassiveEffectMountStarted=="function"&&be.markComponentPassiveEffectMountStarted(i)}function Um(){be!==null&&typeof be.markComponentPassiveEffectMountStopped=="function"&&be.markComponentPassiveEffectMountStopped()}function ph(i){be!==null&&typeof be.markComponentPassiveEffectUnmountStarted=="function"&&be.markComponentPassiveEffectUnmountStarted(i)}function gS(){be!==null&&typeof be.markComponentPassiveEffectUnmountStopped=="function"&&be.markComponentPassiveEffectUnmountStopped()}function mS(i){be!==null&&typeof be.markComponentLayoutEffectMountStarted=="function"&&be.markComponentLayoutEffectMountStarted(i)}function yS(){be!==null&&typeof be.markComponentLayoutEffectMountStopped=="function"&&be.markComponentLayoutEffectMountStopped()}function gh(i){be!==null&&typeof be.markComponentLayoutEffectUnmountStarted=="function"&&be.markComponentLayoutEffectUnmountStarted(i)}function nf(){be!==null&&typeof be.markComponentLayoutEffectUnmountStopped=="function"&&be.markComponentLayoutEffectUnmountStopped()}function mh(i,o,v){be!==null&&typeof be.markComponentErrored=="function"&&be.markComponentErrored(i,o,v)}function _S(i,o,v){be!==null&&typeof be.markComponentSuspended=="function"&&be.markComponentSuspended(i,o,v)}function SS(i){be!==null&&typeof be.markLayoutEffectsStarted=="function"&&be.markLayoutEffectsStarted(i)}function rf(){be!==null&&typeof be.markLayoutEffectsStopped=="function"&&be.markLayoutEffectsStopped()}function CS(i){be!==null&&typeof be.markPassiveEffectsStarted=="function"&&be.markPassiveEffectsStarted(i)}function id(){be!==null&&typeof be.markPassiveEffectsStopped=="function"&&be.markPassiveEffectsStopped()}function Xa(i){be!==null&&typeof be.markRenderStarted=="function"&&be.markRenderStarted(i)}function ad(){be!==null&&typeof be.markRenderYielded=="function"&&be.markRenderYielded()}function af(){be!==null&&typeof be.markRenderStopped=="function"&&be.markRenderStopped()}function Yu(i){be!==null&&typeof be.markRenderScheduled=="function"&&be.markRenderScheduled(i)}function Vm(i,o){be!==null&&typeof be.markForceUpdateScheduled=="function"&&be.markForceUpdateScheduled(i,o)}function Zl(i,o){be!==null&&typeof be.markStateUpdateScheduled=="function"&&be.markStateUpdateScheduled(i,o)}var Je=0,wt=1,nt=2,Fn=8,ya=16,yh=Math.clz32?Math.clz32:Wu,_h=Math.log,Hm=Math.LN2;function Wu(i){var o=i>>>0;return o===0?32:31-(_h(o)/Hm|0)|0}var xn=31,he=0,At=0,rt=1,_o=2,ji=4,Xu=8,Tn=16,qu=32,Kl=4194240,Qu=64,_a=128,wi=256,Zu=512,od=1024,ld=2048,Sh=4096,Ch=8192,wh=16384,xh=32768,Th=65536,bh=131072,Eh=262144,Dh=524288,Ku=1048576,Mh=2097152,Ju=130023424,el=4194304,Rh=8388608,ud=16777216,Ah=33554432,Lh=67108864,Gm=el,of=134217728,Oh=268435455,lf=268435456,Jl=536870912,xi=1073741824;function ZE(i){{if(i&rt)return"Sync";if(i&_o)return"InputContinuousHydration";if(i&ji)return"InputContinuous";if(i&Xu)return"DefaultHydration";if(i&Tn)return"Default";if(i&qu)return"TransitionHydration";if(i&Kl)return"Transition";if(i&Ju)return"Retry";if(i&of)return"SelectiveHydration";if(i&lf)return"IdleHydration";if(i&Jl)return"Idle";if(i&xi)return"Offscreen"}}var gn=-1,kh=Qu,Nh=el;function uf(i){switch(er(i)){case rt:return rt;case _o:return _o;case ji:return ji;case Xu:return Xu;case Tn:return Tn;case qu:return qu;case Qu:case _a:case wi:case Zu:case od:case ld:case Sh:case Ch:case wh:case xh:case Th:case bh:case Eh:case Dh:case Ku:case Mh:return i&Kl;case el:case Rh:case ud:case Ah:case Lh:return i&Ju;case of:return of;case lf:return lf;case Jl:return Jl;case xi:return xi;default:return u("Should have found matching lanes. This is a bug in React."),i}}function sd(i,o){var v=i.pendingLanes;if(v===he)return he;var g=he,C=i.suspendedLanes,T=i.pingedLanes,R=v&Oh;if(R!==he){var k=R&~C;if(k!==he)g=uf(k);else{var N=R&T;N!==he&&(g=uf(N))}}else{var B=v&~C;B!==he?g=uf(B):T!==he&&(g=uf(T))}if(g===he)return he;if(o!==he&&o!==g&&(o&C)===he){var V=er(g),K=er(o);if(V>=K||V===Tn&&(K&Kl)!==he)return o}(g&ji)!==he&&(g|=v&Tn);var Q=i.entangledLanes;if(Q!==he)for(var le=i.entanglements,ue=g&Q;ue>0;){var de=eu(ue),Pe=1<<de;g|=le[de],ue&=~Pe}return g}function wS(i,o){for(var v=i.eventTimes,g=gn;o>0;){var C=eu(o),T=1<<C,R=v[C];R>g&&(g=R),o&=~T}return g}function Ph(i,o){switch(i){case rt:case _o:case ji:return o+250;case Xu:case Tn:case qu:case Qu:case _a:case wi:case Zu:case od:case ld:case Sh:case Ch:case wh:case xh:case Th:case bh:case Eh:case Dh:case Ku:case Mh:return o+5e3;case el:case Rh:case ud:case Ah:case Lh:return gn;case of:case lf:case Jl:case xi:return gn;default:return u("Should have found matching lanes. This is a bug in React."),gn}}function KE(i,o){for(var v=i.pendingLanes,g=i.suspendedLanes,C=i.pingedLanes,T=i.expirationTimes,R=v;R>0;){var k=eu(R),N=1<<k,B=T[k];B===gn?((N&g)===he||(N&C)!==he)&&(T[k]=Ph(N,o)):B<=o&&(i.expiredLanes|=N),R&=~N}}function JE(i){return uf(i.pendingLanes)}function $m(i){var o=i.pendingLanes&~xi;return o!==he?o:o&xi?xi:he}function sf(i){return(i&rt)!==he}function fd(i){return(i&Oh)!==he}function Ih(i){return(i&Ju)===i}function eD(i){var o=rt|ji|Tn;return(i&o)===he}function xS(i){return(i&Kl)===i}function cd(i,o){var v=_o|ji|Xu|Tn;return(o&v)!==he}function TS(i,o){return(o&i.expiredLanes)!==he}function jm(i){return(i&Kl)!==he}function Ym(){var i=kh;return kh<<=1,(kh&Kl)===he&&(kh=Qu),i}function tD(){var i=Nh;return Nh<<=1,(Nh&Ju)===he&&(Nh=el),i}function er(i){return i&-i}function ur(i){return er(i)}function eu(i){return 31-yh(i)}function zh(i){return eu(i)}function Ti(i,o){return(i&o)!==he}function es(i,o){return(i&o)===o}function gt(i,o){return i|o}function ff(i,o){return i&~o}function Wm(i,o){return i&o}function bS(i){return i}function ES(i,o){return i!==At&&i<o?i:o}function Fh(i){for(var o=[],v=0;v<xn;v++)o.push(i);return o}function ts(i,o,v){i.pendingLanes|=o,o!==Jl&&(i.suspendedLanes=he,i.pingedLanes=he);var g=i.eventTimes,C=zh(o);g[C]=v}function Xm(i,o){i.suspendedLanes|=o,i.pingedLanes&=~o;for(var v=i.expirationTimes,g=o;g>0;){var C=eu(g),T=1<<C;v[C]=gn,g&=~T}}function qm(i,o,v){i.pingedLanes|=i.suspendedLanes&o}function Qm(i,o){var v=i.pendingLanes&~o;i.pendingLanes=o,i.suspendedLanes=he,i.pingedLanes=he,i.expiredLanes&=o,i.mutableReadLanes&=o,i.entangledLanes&=o;for(var g=i.entanglements,C=i.eventTimes,T=i.expirationTimes,R=v;R>0;){var k=eu(R),N=1<<k;g[k]=he,C[k]=gn,T[k]=gn,R&=~N}}function cf(i,o){for(var v=i.entangledLanes|=o,g=i.entanglements,C=v;C;){var T=eu(C),R=1<<T;R&o|g[T]&o&&(g[T]|=o),C&=~R}}function nD(i,o){var v=er(o),g;switch(v){case ji:g=_o;break;case Tn:g=Xu;break;case Qu:case _a:case wi:case Zu:case od:case ld:case Sh:case Ch:case wh:case xh:case Th:case bh:case Eh:case Dh:case Ku:case Mh:case el:case Rh:case ud:case Ah:case Lh:g=qu;break;case Jl:g=lf;break;default:g=At;break}return(g&(i.suspendedLanes|o))!==At?At:g}function Zm(i,o,v){if(Mr)for(var g=i.pendingUpdatersLaneMap;v>0;){var C=zh(v),T=1<<C,R=g[C];R.add(o),v&=~T}}function Bh(i,o){if(Mr)for(var v=i.pendingUpdatersLaneMap,g=i.memoizedUpdaters;o>0;){var C=zh(o),T=1<<C,R=v[C];R.size>0&&(R.forEach(function(k){var N=k.alternate;(N===null||!g.has(N))&&g.add(k)}),R.clear()),o&=~T}}function Km(i,o){return null}var $r=rt,Rr=ji,tl=Tn,dd=Jl,ns=At;function Sa(){return ns}function sr(i){ns=i}function vd(i,o){var v=ns;try{return ns=i,o()}finally{ns=v}}function jr(i,o){return i!==0&&i<o?i:o}function rD(i,o){return i===0||i>o?i:o}function Jm(i,o){return i!==0&&i<o}function hd(i){var o=er(i);return Jm($r,o)?Jm(Rr,o)?fd(o)?tl:dd:Rr:$r}function fr(i){var o=i.current.memoizedState;return o.isDehydrated}var DS;function Fe(i){DS=i}function df(i){DS(i)}var pd;function MS(i){pd=i}var RS;function gd(i){RS=i}var md;function ey(i){md=i}var ty;function AS(i){ty=i}var Uh=!1,vf=[],So=null,On=null,Sr=null,Ca=new Map,hf=new Map,nl=[],qa=["mousedown","mouseup","touchcancel","touchend","touchstart","auxclick","dblclick","pointercancel","pointerdown","pointerup","dragend","dragstart","drop","compositionend","compositionstart","keydown","keypress","keyup","input","textInput","copy","cut","paste","click","change","contextmenu","reset","submit"];function LS(i){return qa.indexOf(i)>-1}function Co(i,o,v,g,C){return{blockedOn:i,domEventName:o,eventSystemFlags:v,nativeEvent:C,targetContainers:[g]}}function OS(i,o){switch(i){case"focusin":case"focusout":So=null;break;case"dragenter":case"dragleave":On=null;break;case"mouseover":case"mouseout":Sr=null;break;case"pointerover":case"pointerout":{var v=o.pointerId;Ca.delete(v);break}case"gotpointercapture":case"lostpointercapture":{var g=o.pointerId;hf.delete(g);break}}}function pf(i,o,v,g,C,T){if(i===null||i.nativeEvent!==T){var R=Co(o,v,g,C,T);if(o!==null){var k=Ef(o);k!==null&&pd(k)}return R}i.eventSystemFlags|=g;var N=i.targetContainers;return C!==null&&N.indexOf(C)===-1&&N.push(C),i}function kS(i,o,v,g,C){switch(o){case"focusin":{var T=C;return So=pf(So,i,o,v,g,T),!0}case"dragenter":{var R=C;return On=pf(On,i,o,v,g,R),!0}case"mouseover":{var k=C;return Sr=pf(Sr,i,o,v,g,k),!0}case"pointerover":{var N=C,B=N.pointerId;return Ca.set(B,pf(Ca.get(B)||null,i,o,v,g,N)),!0}case"gotpointercapture":{var V=C,K=V.pointerId;return hf.set(K,pf(hf.get(K)||null,i,o,v,g,V)),!0}}return!1}function ny(i){var o=Ed(i.target);if(o!==null){var v=Hi(o);if(v!==null){var g=v.tag;if(g===I){var C=Lm(v);if(C!==null){i.blockedOn=C,ty(i.priority,function(){RS(v)});return}}else if(g===m){var T=v.stateNode;if(fr(T)){i.blockedOn=uh(v);return}}}}i.blockedOn=null}function NS(i){for(var o=md(),v={blockedOn:null,target:i,priority:o},g=0;g<nl.length&&Jm(o,nl[g].priority);g++);nl.splice(g,0,v),g===0&&ny(v)}function Vh(i){if(i.blockedOn!==null)return!1;for(var o=i.targetContainers;o.length>0;){var v=o[0],g=rs(i.domEventName,i.eventSystemFlags,v,i.nativeEvent);if(g===null){var C=i.nativeEvent,T=new C.constructor(C.type,C);Qc(T),C.target.dispatchEvent(T),WE()}else{var R=Ef(g);return R!==null&&pd(R),i.blockedOn=g,!1}o.shift()}return!0}function yd(i,o,v){Vh(i)&&v.delete(o)}function ry(){Uh=!1,So!==null&&Vh(So)&&(So=null),On!==null&&Vh(On)&&(On=null),Sr!==null&&Vh(Sr)&&(Sr=null),Ca.forEach(yd),hf.forEach(yd)}function Yr(i,o){i.blockedOn===o&&(i.blockedOn=null,Uh||(Uh=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,ry)))}function Mt(i){if(vf.length>0){Yr(vf[0],i);for(var o=1;o<vf.length;o++){var v=vf[o];v.blockedOn===i&&(v.blockedOn=null)}}So!==null&&Yr(So,i),On!==null&&Yr(On,i),Sr!==null&&Yr(Sr,i);var g=function(k){return Yr(k,i)};Ca.forEach(g),hf.forEach(g);for(var C=0;C<nl.length;C++){var T=nl[C];T.blockedOn===i&&(T.blockedOn=null)}for(;nl.length>0;){var R=nl[0];if(R.blockedOn!==null)break;ny(R),R.blockedOn===null&&nl.shift()}}var Bn=n.ReactCurrentBatchConfig,Hn=!0;function Cr(i){Hn=!!i}function Yi(){return Hn}function gf(i,o,v){var g=ei(o),C;switch(g){case $r:C=cr;break;case Rr:C=_d;break;case tl:default:C=rl;break}return C.bind(null,o,v,i)}function cr(i,o,v,g){var C=Sa(),T=Bn.transition;Bn.transition=null;try{sr($r),rl(i,o,v,g)}finally{sr(C),Bn.transition=T}}function _d(i,o,v,g){var C=Sa(),T=Bn.transition;Bn.transition=null;try{sr(Rr),rl(i,o,v,g)}finally{sr(C),Bn.transition=T}}function rl(i,o,v,g){Hn&&Hh(i,o,v,g)}function Hh(i,o,v,g){var C=rs(i,o,v,g);if(C===null){xD(i,o,g,mf,v),OS(i,g);return}if(kS(C,i,o,v,g)){g.stopPropagation();return}if(OS(i,g),o&Bu&&LS(i)){for(;C!==null;){var T=Ef(C);T!==null&&df(T);var R=rs(i,o,v,g);if(R===null&&xD(i,o,g,mf,v),R===C)break;C=R}C!==null&&g.stopPropagation();return}xD(i,o,g,null,v)}var mf=null;function rs(i,o,v,g){mf=null;var C=rh(g),T=Ed(C);if(T!==null){var R=Hi(T);if(R===null)T=null;else{var k=R.tag;if(k===I){var N=Lm(R);if(N!==null)return N;T=null}else if(k===m){var B=R.stateNode;if(fr(B))return uh(R);T=null}else R!==T&&(T=null)}}return mf=T,null}function ei(i){switch(i){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return $r;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return Rr;case"message":{var o=Nm();switch(o){case dh:return $r;case $i:return Rr;case yo:case vh:return tl;case Yl:return dd;default:return tl}}default:return tl}}function iy(i,o,v){return i.addEventListener(o,v,!1),v}function yf(i,o,v){return i.addEventListener(o,v,!0),v}function il(i,o,v,g){return i.addEventListener(o,v,{capture:!0,passive:g}),v}function Gh(i,o,v,g){return i.addEventListener(o,v,{passive:g}),v}var is=null,wo=null,tu=null;function nu(i){return is=i,wo=jh(),!0}function $h(){is=null,wo=null,tu=null}function _f(){if(tu)return tu;var i,o=wo,v=o.length,g,C=jh(),T=C.length;for(i=0;i<v&&o[i]===C[i];i++);var R=v-i;for(g=1;g<=R&&o[v-g]===C[T-g];g++);var k=g>1?1-g:void 0;return tu=C.slice(i,k),tu}function jh(){return"value"in is?is.value:is.textContent}function as(i){var o,v=i.keyCode;return"charCode"in i?(o=i.charCode,o===0&&v===13&&(o=13)):o=v,o===10&&(o=13),o>=32||o===13?o:0}function os(){return!0}function Wr(){return!1}function tr(i){function o(v,g,C,T,R){this._reactName=v,this._targetInst=C,this.type=g,this.nativeEvent=T,this.target=R,this.currentTarget=null;for(var k in i)if(i.hasOwnProperty(k)){var N=i[k];N?this[k]=N(T):this[k]=T[k]}var B=T.defaultPrevented!=null?T.defaultPrevented:T.returnValue===!1;return B?this.isDefaultPrevented=os:this.isDefaultPrevented=Wr,this.isPropagationStopped=Wr,this}return Dt(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var v=this.nativeEvent;v&&(v.preventDefault?v.preventDefault():typeof v.returnValue!="unknown"&&(v.returnValue=!1),this.isDefaultPrevented=os)},stopPropagation:function(){var v=this.nativeEvent;v&&(v.stopPropagation?v.stopPropagation():typeof v.cancelBubble!="unknown"&&(v.cancelBubble=!0),this.isPropagationStopped=os)},persist:function(){},isPersistent:os}),o}var Xr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(i){return i.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},qr=tr(Xr),Sf=Dt({},Xr,{view:0,detail:0}),ay=tr(Sf),Sd,oy,wa;function PS(i){i!==wa&&(wa&&i.type==="mousemove"?(Sd=i.screenX-wa.screenX,oy=i.screenY-wa.screenY):(Sd=0,oy=0),wa=i)}var Cf=Dt({},Sf,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Xh,button:0,buttons:0,relatedTarget:function(i){return i.relatedTarget===void 0?i.fromElement===i.srcElement?i.toElement:i.fromElement:i.relatedTarget},movementX:function(i){return"movementX"in i?i.movementX:(PS(i),Sd)},movementY:function(i){return"movementY"in i?i.movementY:oy}}),ru=tr(Cf),ly=Dt({},Cf,{dataTransfer:0}),ls=tr(ly),IS=Dt({},Sf,{relatedTarget:0}),Yh=tr(IS),uy=Dt({},Xr,{animationName:0,elapsedTime:0,pseudoElement:0}),Wh=tr(uy),iD=Dt({},Xr,{clipboardData:function(i){return"clipboardData"in i?i.clipboardData:window.clipboardData}}),aD=tr(iD),zS=Dt({},Xr,{data:0}),sy=tr(zS),us=sy,oD={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wf={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"};function FS(i){if(i.key){var o=oD[i.key]||i.key;if(o!=="Unidentified")return o}if(i.type==="keypress"){var v=as(i);return v===13?"Enter":String.fromCharCode(v)}return i.type==="keydown"||i.type==="keyup"?wf[i.keyCode]||"Unidentified":""}var Gn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function lD(i){var o=this,v=o.nativeEvent;if(v.getModifierState)return v.getModifierState(i);var g=Gn[i];return g?!!v[g]:!1}function Xh(i){return lD}var uD=Dt({},Sf,{key:FS,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Xh,charCode:function(i){return i.type==="keypress"?as(i):0},keyCode:function(i){return i.type==="keydown"||i.type==="keyup"?i.keyCode:0},which:function(i){return i.type==="keypress"?as(i):i.type==="keydown"||i.type==="keyup"?i.keyCode:0}}),sD=tr(uD),BS=Dt({},Cf,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),fy=tr(BS),fD=Dt({},Sf,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Xh}),xa=tr(fD),cy=Dt({},Xr,{propertyName:0,elapsedTime:0,pseudoElement:0}),cD=tr(cy),iu=Dt({},Cf,{deltaX:function(i){return"deltaX"in i?i.deltaX:"wheelDeltaX"in i?-i.wheelDeltaX:0},deltaY:function(i){return"deltaY"in i?i.deltaY:"wheelDeltaY"in i?-i.wheelDeltaY:"wheelDelta"in i?-i.wheelDelta:0},deltaZ:0,deltaMode:0}),qh=tr(iu),ss=[9,13,27,32],Cd=229,wd=Zt&&"CompositionEvent"in window,fs=null;Zt&&"documentMode"in document&&(fs=document.documentMode);var dD=Zt&&"TextEvent"in window&&!fs,Qh=Zt&&(!wd||fs&&fs>8&&fs<=11),US=32,dy=String.fromCharCode(US);function VS(){$e("onBeforeInput",["compositionend","keypress","textInput","paste"]),$e("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),$e("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),$e("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var xd=!1;function Zh(i){return(i.ctrlKey||i.altKey||i.metaKey)&&!(i.ctrlKey&&i.altKey)}function HS(i){switch(i){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function vy(i,o){return i==="keydown"&&o.keyCode===Cd}function GS(i,o){switch(i){case"keyup":return ss.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==Cd;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function hy(i){var o=i.detail;return typeof o=="object"&&"data"in o?o.data:null}function Kh(i){return i.locale==="ko"}var al=!1;function py(i,o,v,g,C){var T,R;if(wd?T=HS(o):al?GS(o,g)&&(T="onCompositionEnd"):vy(o,g)&&(T="onCompositionStart"),!T)return null;Qh&&!Kh(g)&&(!al&&T==="onCompositionStart"?al=nu(C):T==="onCompositionEnd"&&al&&(R=_f()));var k=XS(v,T);if(k.length>0){var N=new sy(T,o,null,g,C);if(i.push({event:N,listeners:k}),R)N.data=R;else{var B=hy(g);B!==null&&(N.data=B)}}}function Jh(i,o){switch(i){case"compositionend":return hy(o);case"keypress":var v=o.which;return v!==US?null:(xd=!0,dy);case"textInput":var g=o.data;return g===dy&&xd?null:g;default:return null}}function $S(i,o){if(al){if(i==="compositionend"||!wd&&GS(i,o)){var v=_f();return $h(),al=!1,v}return null}switch(i){case"paste":return null;case"keypress":if(!Zh(o)){if(o.char&&o.char.length>1)return o.char;if(o.which)return String.fromCharCode(o.which)}return null;case"compositionend":return Qh&&!Kh(o)?null:o.data;default:return null}}function vD(i,o,v,g,C){var T;if(dD?T=Jh(o,g):T=$S(o,g),!T)return null;var R=XS(v,"onBeforeInput");if(R.length>0){var k=new us("onBeforeInput","beforeinput",null,g,C);i.push({event:k,listeners:R}),k.data=T}}function ep(i,o,v,g,C,T,R){py(i,o,v,g,C),vD(i,o,v,g,C)}var hD={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 xf(i){var o=i&&i.nodeName&&i.nodeName.toLowerCase();return o==="input"?!!hD[i.type]:o==="textarea"}function pD(i){if(!Zt)return!1;var o="on"+i,v=o in document;if(!v){var g=document.createElement("div");g.setAttribute(o,"return;"),v=typeof g[o]=="function"}return v}function tp(){$e("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function s(i,o,v,g){ih(g);var C=XS(o,"onChange");if(C.length>0){var T=new qr("onChange","change",null,v,g);i.push({event:T,listeners:C})}}var c=null,y=null;function w(i){var o=i.nodeName&&i.nodeName.toLowerCase();return o==="select"||o==="input"&&i.type==="file"}function M(i){var o=[];s(o,y,i,rh(i)),xm(L,o)}function L(i){UF(i,0)}function z(i){var o=lp(i);if(A1(o))return i}function $(i,o){if(i==="change")return o}var q=!1;Zt&&(q=pD("input")&&(!document.documentMode||document.documentMode>9));function se(i,o){c=i,y=o,c.attachEvent("onpropertychange",we)}function _e(){c&&(c.detachEvent("onpropertychange",we),c=null,y=null)}function we(i){i.propertyName==="value"&&z(y)&&M(i)}function ye(i,o,v){i==="focusin"?(_e(),se(o,v)):i==="focusout"&&_e()}function Oe(i,o){if(i==="selectionchange"||i==="keyup"||i==="keydown")return z(y)}function Ue(i){var o=i.nodeName;return o&&o.toLowerCase()==="input"&&(i.type==="checkbox"||i.type==="radio")}function je(i,o){if(i==="click")return z(o)}function Xn(i,o){if(i==="input"||i==="change")return z(o)}function te(i){var o=i._wrapperState;!o||!o.controlled||i.type!=="number"||Fl(i,"number",i.value)}function Z(i,o,v,g,C,T,R){var k=v?lp(v):window,N,B;if(w(k)?N=$:xf(k)?q?N=Xn:(N=Oe,B=ye):Ue(k)&&(N=je),N){var V=N(o,v);if(V){s(i,V,g,C);return}}B&&B(o,k,v),o==="focusout"&&te(k)}function oe(){Se("onMouseEnter",["mouseout","mouseover"]),Se("onMouseLeave",["mouseout","mouseover"]),Se("onPointerEnter",["pointerout","pointerover"]),Se("onPointerLeave",["pointerout","pointerover"])}function Te(i,o,v,g,C,T,R){var k=o==="mouseover"||o==="pointerover",N=o==="mouseout"||o==="pointerout";if(k&&!lS(g)){var B=g.relatedTarget||g.fromElement;if(B&&(Ed(B)||Ry(B)))return}if(!(!N&&!k)){var V;if(C.window===C)V=C;else{var K=C.ownerDocument;K?V=K.defaultView||K.parentWindow:V=window}var Q,le;if(N){var ue=g.relatedTarget||g.toElement;if(Q=v,le=ue?Ed(ue):null,le!==null){var de=Hi(le);(le!==de||le.tag!==_&&le.tag!==x)&&(le=null)}}else Q=null,le=v;if(Q!==le){var Pe=ru,Ze="onMouseLeave",We="onMouseEnter",Ot="mouse";(o==="pointerout"||o==="pointerover")&&(Pe=fy,Ze="onPointerLeave",We="onPointerEnter",Ot="pointer");var Rt=Q==null?V:lp(Q),ne=le==null?V:lp(le),ve=new Pe(Ze,Ot+"leave",Q,g,C);ve.target=Rt,ve.relatedTarget=ne;var re=null,xe=Ed(C);if(xe===v){var Ie=new Pe(We,Ot+"enter",le,g,C);Ie.target=ne,Ie.relatedTarget=Rt,re=Ie}uZ(i,ve,re,Q,le)}}}function Ye(i,o){return i===o&&(i!==0||1/i===1/o)||i!==i&&o!==o}var Ve=typeof Object.is=="function"?Object.is:Ye;function Xe(i,o){if(Ve(i,o))return!0;if(typeof i!="object"||i===null||typeof o!="object"||o===null)return!1;var v=Object.keys(i),g=Object.keys(o);if(v.length!==g.length)return!1;for(var C=0;C<v.length;C++){var T=v[C];if(!Et.call(o,T)||!Ve(i[T],o[T]))return!1}return!0}function ut(i){for(;i&&i.firstChild;)i=i.firstChild;return i}function wr(i){for(;i;){if(i.nextSibling)return i.nextSibling;i=i.parentNode}}function Ut(i,o){for(var v=ut(i),g=0,C=0;v;){if(v.nodeType===Yo){if(C=g+v.textContent.length,g<=o&&C>=o)return{node:v,offset:o-g};g=C}v=ut(wr(v))}}function au(i){var o=i.ownerDocument,v=o&&o.defaultView||window,g=v.getSelection&&v.getSelection();if(!g||g.rangeCount===0)return null;var C=g.anchorNode,T=g.anchorOffset,R=g.focusNode,k=g.focusOffset;try{C.nodeType,R.nodeType}catch{return null}return gD(i,C,T,R,k)}function gD(i,o,v,g,C){var T=0,R=-1,k=-1,N=0,B=0,V=i,K=null;e:for(;;){for(var Q=null;V===o&&(v===0||V.nodeType===Yo)&&(R=T+v),V===g&&(C===0||V.nodeType===Yo)&&(k=T+C),V.nodeType===Yo&&(T+=V.nodeValue.length),(Q=V.firstChild)!==null;)K=V,V=Q;for(;;){if(V===i)break e;if(K===o&&++N===v&&(R=T),K===g&&++B===C&&(k=T),(Q=V.nextSibling)!==null)break;V=K,K=V.parentNode}V=Q}return R===-1||k===-1?null:{start:R,end:k}}function GQ(i,o){var v=i.ownerDocument||document,g=v&&v.defaultView||window;if(g.getSelection){var C=g.getSelection(),T=i.textContent.length,R=Math.min(o.start,T),k=o.end===void 0?R:Math.min(o.end,T);if(!C.extend&&R>k){var N=k;k=R,R=N}var B=Ut(i,R),V=Ut(i,k);if(B&&V){if(C.rangeCount===1&&C.anchorNode===B.node&&C.anchorOffset===B.offset&&C.focusNode===V.node&&C.focusOffset===V.offset)return;var K=v.createRange();K.setStart(B.node,B.offset),C.removeAllRanges(),R>k?(C.addRange(K),C.extend(V.node,V.offset)):(K.setEnd(V.node,V.offset),C.addRange(K))}}}function MF(i){return i&&i.nodeType===Yo}function RF(i,o){return!i||!o?!1:i===o?!0:MF(i)?!1:MF(o)?RF(i,o.parentNode):"contains"in i?i.contains(o):i.compareDocumentPosition?!!(i.compareDocumentPosition(o)&16):!1}function $Q(i){return i&&i.ownerDocument&&RF(i.ownerDocument.documentElement,i)}function jQ(i){try{return typeof i.contentWindow.location.href=="string"}catch{return!1}}function AF(){for(var i=window,o=$v();o instanceof i.HTMLIFrameElement;){if(jQ(o))i=o.contentWindow;else return o;o=$v(i.document)}return o}function mD(i){var o=i&&i.nodeName&&i.nodeName.toLowerCase();return o&&(o==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||o==="textarea"||i.contentEditable==="true")}function YQ(){var i=AF();return{focusedElem:i,selectionRange:mD(i)?XQ(i):null}}function WQ(i){var o=AF(),v=i.focusedElem,g=i.selectionRange;if(o!==v&&$Q(v)){g!==null&&mD(v)&&qQ(v,g);for(var C=[],T=v;T=T.parentNode;)T.nodeType===gi&&C.push({element:T,left:T.scrollLeft,top:T.scrollTop});typeof v.focus=="function"&&v.focus();for(var R=0;R<C.length;R++){var k=C[R];k.element.scrollLeft=k.left,k.element.scrollTop=k.top}}}function XQ(i){var o;return"selectionStart"in i?o={start:i.selectionStart,end:i.selectionEnd}:o=au(i),o||{start:0,end:0}}function qQ(i,o){var v=o.start,g=o.end;g===void 0&&(g=v),"selectionStart"in i?(i.selectionStart=v,i.selectionEnd=Math.min(g,i.value.length)):GQ(i,o)}var QQ=Zt&&"documentMode"in document&&document.documentMode<=11;function ZQ(){$e("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var np=null,yD=null,gy=null,_D=!1;function KQ(i){if("selectionStart"in i&&mD(i))return{start:i.selectionStart,end:i.selectionEnd};var o=i.ownerDocument&&i.ownerDocument.defaultView||window,v=o.getSelection();return{anchorNode:v.anchorNode,anchorOffset:v.anchorOffset,focusNode:v.focusNode,focusOffset:v.focusOffset}}function JQ(i){return i.window===i?i.document:i.nodeType===ja?i:i.ownerDocument}function LF(i,o,v){var g=JQ(v);if(!(_D||np==null||np!==$v(g))){var C=KQ(np);if(!gy||!Xe(gy,C)){gy=C;var T=XS(yD,"onSelect");if(T.length>0){var R=new qr("onSelect","select",null,o,v);i.push({event:R,listeners:T}),R.target=np}}}}function eZ(i,o,v,g,C,T,R){var k=v?lp(v):window;switch(o){case"focusin":(xf(k)||k.contentEditable==="true")&&(np=k,yD=v,gy=null);break;case"focusout":np=null,yD=null,gy=null;break;case"mousedown":_D=!0;break;case"contextmenu":case"mouseup":case"dragend":_D=!1,LF(i,g,C);break;case"selectionchange":if(QQ)break;case"keydown":case"keyup":LF(i,g,C)}}function jS(i,o){var v={};return v[i.toLowerCase()]=o.toLowerCase(),v["Webkit"+i]="webkit"+o,v["Moz"+i]="moz"+o,v}var rp={animationend:jS("Animation","AnimationEnd"),animationiteration:jS("Animation","AnimationIteration"),animationstart:jS("Animation","AnimationStart"),transitionend:jS("Transition","TransitionEnd")},SD={},OF={};Zt&&(OF=document.createElement("div").style,"AnimationEvent"in window||(delete rp.animationend.animation,delete rp.animationiteration.animation,delete rp.animationstart.animation),"TransitionEvent"in window||delete rp.transitionend.transition);function YS(i){if(SD[i])return SD[i];if(!rp[i])return i;var o=rp[i];for(var v in o)if(o.hasOwnProperty(v)&&v in OF)return SD[i]=o[v];return i}var kF=YS("animationend"),NF=YS("animationiteration"),PF=YS("animationstart"),IF=YS("transitionend"),zF=new Map,FF=["abort","auxClick","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel"];function Tf(i,o){zF.set(i,o),$e(o,[i])}function tZ(){for(var i=0;i<FF.length;i++){var o=FF[i],v=o.toLowerCase(),g=o[0].toUpperCase()+o.slice(1);Tf(v,"on"+g)}Tf(kF,"onAnimationEnd"),Tf(NF,"onAnimationIteration"),Tf(PF,"onAnimationStart"),Tf("dblclick","onDoubleClick"),Tf("focusin","onFocus"),Tf("focusout","onBlur"),Tf(IF,"onTransitionEnd")}function nZ(i,o,v,g,C,T,R){var k=zF.get(o);if(k!==void 0){var N=qr,B=o;switch(o){case"keypress":if(as(g)===0)return;case"keydown":case"keyup":N=sD;break;case"focusin":B="focus",N=Yh;break;case"focusout":B="blur",N=Yh;break;case"beforeblur":case"afterblur":N=Yh;break;case"click":if(g.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":N=ru;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":N=ls;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":N=xa;break;case kF:case NF:case PF:N=Wh;break;case IF:N=cD;break;case"scroll":N=ay;break;case"wheel":N=qh;break;case"copy":case"cut":case"paste":N=aD;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":N=fy;break}var V=(T&Bu)!==0;{var K=!V&&o==="scroll",Q=oZ(v,k,g.type,V,K);if(Q.length>0){var le=new N(k,B,null,g,C);i.push({event:le,listeners:Q})}}}}tZ(),oe(),tp(),ZQ(),VS();function rZ(i,o,v,g,C,T,R){nZ(i,o,v,g,C,T);var k=(T&YE)===0;k&&(Te(i,o,v,g,C),Z(i,o,v,g,C),eZ(i,o,v,g,C),ep(i,o,v,g,C))}var my=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],CD=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(my));function BF(i,o,v){var g=i.type||"unknown-event";i.currentTarget=v,Qo(g,o,void 0,i),i.currentTarget=null}function iZ(i,o,v){var g;if(v)for(var C=o.length-1;C>=0;C--){var T=o[C],R=T.instance,k=T.currentTarget,N=T.listener;if(R!==g&&i.isPropagationStopped())return;BF(i,N,k),g=R}else for(var B=0;B<o.length;B++){var V=o[B],K=V.instance,Q=V.currentTarget,le=V.listener;if(K!==g&&i.isPropagationStopped())return;BF(i,le,Q),g=K}}function UF(i,o){for(var v=(o&Bu)!==0,g=0;g<i.length;g++){var C=i[g],T=C.event,R=C.listeners;iZ(T,R,v)}Dm()}function aZ(i,o,v,g,C){var T=rh(v),R=[];rZ(R,i,g,v,T,o),UF(R,o)}function Un(i,o){CD.has(i)||u('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',i);var v=!1,g=PK(o),C=sZ(i,v);g.has(C)||(VF(o,i,Xc,v),g.add(C))}function wD(i,o,v){CD.has(i)&&!o&&u('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',i);var g=0;o&&(g|=Bu),VF(v,i,g,o)}var WS="_reactListening"+Math.random().toString(36).slice(2);function yy(i){if(!i[WS]){i[WS]=!0,on.forEach(function(v){v!=="selectionchange"&&(CD.has(v)||wD(v,!1,i),wD(v,!0,i))});var o=i.nodeType===ja?i:i.ownerDocument;o!==null&&(o[WS]||(o[WS]=!0,wD("selectionchange",!1,o)))}}function VF(i,o,v,g,C){var T=gf(i,o,v),R=void 0;Jc&&(o==="touchstart"||o==="touchmove"||o==="wheel")&&(R=!0),i=i,g?R!==void 0?il(i,o,T,R):yf(i,o,T):R!==void 0?Gh(i,o,T,R):iy(i,o,T)}function HF(i,o){return i===o||i.nodeType===Jn&&i.parentNode===o}function xD(i,o,v,g,C){var T=g;if(!(o&Xo)&&!(o&Xc)){var R=C;if(g!==null){var k=g;e:for(;;){if(k===null)return;var N=k.tag;if(N===m||N===S){var B=k.stateNode.containerInfo;if(HF(B,R))break;if(N===S)for(var V=k.return;V!==null;){var K=V.tag;if(K===m||K===S){var Q=V.stateNode.containerInfo;if(HF(Q,R))return}V=V.return}for(;B!==null;){var le=Ed(B);if(le===null)return;var ue=le.tag;if(ue===_||ue===x){k=T=le;continue e}B=B.parentNode}}k=k.return}}}xm(function(){return aZ(i,o,v,T)})}function _y(i,o,v){return{instance:i,listener:o,currentTarget:v}}function oZ(i,o,v,g,C,T){for(var R=o!==null?o+"Capture":null,k=g?R:o,N=[],B=i,V=null;B!==null;){var K=B,Q=K.stateNode,le=K.tag;if(le===_&&Q!==null&&(V=Q,k!==null)){var ue=Vu(B,k);ue!=null&&N.push(_y(B,ue,V))}if(C)break;B=B.return}return N}function XS(i,o){for(var v=o+"Capture",g=[],C=i;C!==null;){var T=C,R=T.stateNode,k=T.tag;if(k===_&&R!==null){var N=R,B=Vu(C,v);B!=null&&g.unshift(_y(C,B,N));var V=Vu(C,o);V!=null&&g.push(_y(C,V,N))}C=C.return}return g}function ip(i){if(i===null)return null;do i=i.return;while(i&&i.tag!==_);return i||null}function lZ(i,o){for(var v=i,g=o,C=0,T=v;T;T=ip(T))C++;for(var R=0,k=g;k;k=ip(k))R++;for(;C-R>0;)v=ip(v),C--;for(;R-C>0;)g=ip(g),R--;for(var N=C;N--;){if(v===g||g!==null&&v===g.alternate)return v;v=ip(v),g=ip(g)}return null}function GF(i,o,v,g,C){for(var T=o._reactName,R=[],k=v;k!==null&&k!==g;){var N=k,B=N.alternate,V=N.stateNode,K=N.tag;if(B!==null&&B===g)break;if(K===_&&V!==null){var Q=V;if(C){var le=Vu(k,T);le!=null&&R.unshift(_y(k,le,Q))}else if(!C){var ue=Vu(k,T);ue!=null&&R.push(_y(k,ue,Q))}}k=k.return}R.length!==0&&i.push({event:o,listeners:R})}function uZ(i,o,v,g,C){var T=g&&C?lZ(g,C):null;g!==null&&GF(i,o,g,T,!1),C!==null&&v!==null&&GF(i,v,C,T,!0)}function sZ(i,o){return i+"__"+(o?"capture":"bubble")}var Ta=!1,Sy="dangerouslySetInnerHTML",qS="suppressContentEditableWarning",bf="suppressHydrationWarning",$F="autoFocus",Td="children",bd="style",QS="__html",TD,ZS,Cy,jF,KS,YF,WF;TD={dialog:!0,webview:!0},ZS=function(i,o){nh(i,o),ym(i,o),oS(i,o,{registrationNameDependencies:zt,possibleRegistrationNames:Ft})},YF=Zt&&!document.documentMode,Cy=function(i,o,v){if(!Ta){var g=JS(v),C=JS(o);C!==g&&(Ta=!0,u("Prop `%s` did not match. Server: %s Client: %s",i,JSON.stringify(C),JSON.stringify(g)))}},jF=function(i){if(!Ta){Ta=!0;var o=[];i.forEach(function(v){o.push(v)}),u("Extra attributes from the server: %s",o)}},KS=function(i,o){o===!1?u("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.",i,i,i):u("Expected `%s` listener to be a function, instead got a value of `%s` type.",i,typeof o)},WF=function(i,o){var v=i.namespaceURI===jo?i.ownerDocument.createElement(i.tagName):i.ownerDocument.createElementNS(i.namespaceURI,i.tagName);return v.innerHTML=o,v.innerHTML};var fZ=/\r\n?/g,cZ=/\u0000|\uFFFD/g;function JS(i){Fa(i);var o=typeof i=="string"?i:""+i;return o.replace(fZ,`
82
- `).replace(cZ,"")}function eC(i,o,v,g){var C=JS(o),T=JS(i);if(T!==C&&(g&&(Ta||(Ta=!0,u('Text content did not match. Server: "%s" Client: "%s"',T,C))),v&&Ne))throw new Error("Text content does not match server-rendered HTML.")}function XF(i){return i.nodeType===ja?i:i.ownerDocument}function dZ(){}function tC(i){i.onclick=dZ}function vZ(i,o,v,g,C){for(var T in g)if(g.hasOwnProperty(T)){var R=g[T];if(T===bd)R&&Object.freeze(R),Q1(o,R);else if(T===Sy){var k=R?R[QS]:void 0;k!=null&&B1(o,k)}else if(T===Td)if(typeof R=="string"){var N=i!=="textarea"||R!=="";N&&Kv(o,R)}else typeof R=="number"&&Kv(o,""+R);else T===qS||T===bf||T===$F||(zt.hasOwnProperty(T)?R!=null&&(typeof R!="function"&&KS(T,R),T==="onScroll"&&Un("scroll",o)):R!=null&&po(o,T,R,C))}}function hZ(i,o,v,g){for(var C=0;C<o.length;C+=2){var T=o[C],R=o[C+1];T===bd?Q1(i,R):T===Sy?B1(i,R):T===Td?Kv(i,R):po(i,T,R,g)}}function pZ(i,o,v,g){var C,T=XF(v),R,k=g;if(k===jo&&(k=Qv(i)),k===jo){if(C=Wo(i,o),!C&&i!==i.toLowerCase()&&u("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",i),i==="script"){var N=T.createElement("div");N.innerHTML="<script></script>";var B=N.firstChild;R=N.removeChild(B)}else if(typeof o.is=="string")R=T.createElement(i,{is:o.is});else if(R=T.createElement(i),i==="select"){var V=R;o.multiple?V.multiple=!0:o.size&&(V.size=o.size)}}else R=T.createElementNS(k,i);return k===jo&&!C&&Object.prototype.toString.call(R)==="[object HTMLUnknownElement]"&&!Et.call(TD,i)&&(TD[i]=!0,u("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",i)),R}function gZ(i,o){return XF(o).createTextNode(i)}function mZ(i,o,v,g){var C=Wo(o,v);ZS(o,v);var T;switch(o){case"dialog":Un("cancel",i),Un("close",i),T=v;break;case"iframe":case"object":case"embed":Un("load",i),T=v;break;case"video":case"audio":for(var R=0;R<my.length;R++)Un(my[R],i);T=v;break;case"source":Un("error",i),T=v;break;case"img":case"image":case"link":Un("error",i),Un("load",i),T=v;break;case"details":Un("toggle",i),T=v;break;case"input":Hc(i,v),T=Vc(i,v),Un("invalid",i);break;case"option":Xv(i,v),T=v;break;case"select":P1(i,v),T=lm(i,v),Un("invalid",i);break;case"textarea":I1(i,v),T=sm(i,v),Un("invalid",i);break;default:T=v}switch(eh(o,T),vZ(o,i,g,T,C),o){case"input":Iu(i),Gc(i,v,!1);break;case"textarea":Iu(i),F1(i);break;case"option":om(i,v);break;case"select":PE(i,v);break;default:typeof T.onClick=="function"&&tC(i);break}}function yZ(i,o,v,g,C){ZS(o,g);var T=null,R,k;switch(o){case"input":R=Vc(i,v),k=Vc(i,g),T=[];break;case"select":R=lm(i,v),k=lm(i,g),T=[];break;case"textarea":R=sm(i,v),k=sm(i,g),T=[];break;default:R=v,k=g,typeof R.onClick!="function"&&typeof k.onClick=="function"&&tC(i);break}eh(o,k);var N,B,V=null;for(N in R)if(!(k.hasOwnProperty(N)||!R.hasOwnProperty(N)||R[N]==null))if(N===bd){var K=R[N];for(B in K)K.hasOwnProperty(B)&&(V||(V={}),V[B]="")}else N===Sy||N===Td||N===qS||N===bf||N===$F||(zt.hasOwnProperty(N)?T||(T=[]):(T=T||[]).push(N,null));for(N in k){var Q=k[N],le=R!=null?R[N]:void 0;if(!(!k.hasOwnProperty(N)||Q===le||Q==null&&le==null))if(N===bd)if(Q&&Object.freeze(Q),le){for(B in le)le.hasOwnProperty(B)&&(!Q||!Q.hasOwnProperty(B))&&(V||(V={}),V[B]="");for(B in Q)Q.hasOwnProperty(B)&&le[B]!==Q[B]&&(V||(V={}),V[B]=Q[B])}else V||(T||(T=[]),T.push(N,V)),V=Q;else if(N===Sy){var ue=Q?Q[QS]:void 0,de=le?le[QS]:void 0;ue!=null&&de!==ue&&(T=T||[]).push(N,ue)}else N===Td?(typeof Q=="string"||typeof Q=="number")&&(T=T||[]).push(N,""+Q):N===qS||N===bf||(zt.hasOwnProperty(N)?(Q!=null&&(typeof Q!="function"&&KS(N,Q),N==="onScroll"&&Un("scroll",i)),!T&&le!==Q&&(T=[])):(T=T||[]).push(N,Q))}return V&&(Yc(V,k[bd]),(T=T||[]).push(bd,V)),T}function _Z(i,o,v,g,C){v==="input"&&C.type==="radio"&&C.name!=null&&am(i,C);var T=Wo(v,g),R=Wo(v,C);switch(hZ(i,o,T,R),v){case"input":Ys(i,C);break;case"textarea":z1(i,C);break;case"select":IE(i,C);break}}function SZ(i){{var o=i.toLowerCase();return th.hasOwnProperty(o)&&th[o]||null}}function CZ(i,o,v,g,C,T,R){var k,N;switch(k=Wo(o,v),ZS(o,v),o){case"dialog":Un("cancel",i),Un("close",i);break;case"iframe":case"object":case"embed":Un("load",i);break;case"video":case"audio":for(var B=0;B<my.length;B++)Un(my[B],i);break;case"source":Un("error",i);break;case"img":case"image":case"link":Un("error",i),Un("load",i);break;case"details":Un("toggle",i);break;case"input":Hc(i,v),Un("invalid",i);break;case"option":Xv(i,v);break;case"select":P1(i,v),Un("invalid",i);break;case"textarea":I1(i,v),Un("invalid",i);break}eh(o,v);{N=new Set;for(var V=i.attributes,K=0;K<V.length;K++){var Q=V[K].name.toLowerCase();switch(Q){case"value":break;case"checked":break;case"selected":break;default:N.add(V[K].name)}}}var le=null;for(var ue in v)if(v.hasOwnProperty(ue)){var de=v[ue];if(ue===Td)typeof de=="string"?i.textContent!==de&&(v[bf]!==!0&&eC(i.textContent,de,T,R),le=[Td,de]):typeof de=="number"&&i.textContent!==""+de&&(v[bf]!==!0&&eC(i.textContent,de,T,R),le=[Td,""+de]);else if(zt.hasOwnProperty(ue))de!=null&&(typeof de!="function"&&KS(ue,de),ue==="onScroll"&&Un("scroll",i));else if(R&&typeof k=="boolean"){var Pe=void 0,Ze=k&&St?null:Fi(ue);if(v[bf]!==!0){if(!(ue===qS||ue===bf||ue==="value"||ue==="checked"||ue==="selected")){if(ue===Sy){var We=i.innerHTML,Ot=de?de[QS]:void 0;if(Ot!=null){var Rt=WF(i,Ot);Rt!==We&&Cy(ue,We,Rt)}}else if(ue===bd){if(N.delete(ue),YF){var ne=$E(de);Pe=i.getAttribute("style"),ne!==Pe&&Cy(ue,Pe,ne)}}else if(k&&!St)N.delete(ue.toLowerCase()),Pe=Hs(i,ue,de),de!==Pe&&Cy(ue,Pe,de);else if(!Yn(ue,Ze,k)&&!_n(ue,de,Ze,k)){var ve=!1;if(Ze!==null)N.delete(Ze.attributeName),Pe=ku(i,ue,de,Ze);else{var re=g;if(re===jo&&(re=Qv(o)),re===jo)N.delete(ue.toLowerCase());else{var xe=SZ(ue);xe!==null&&xe!==ue&&(ve=!0,N.delete(xe)),N.delete(ue)}Pe=Hs(i,ue,de)}var Ie=St;!Ie&&de!==Pe&&!ve&&Cy(ue,Pe,de)}}}}}switch(R&&N.size>0&&v[bf]!==!0&&jF(N),o){case"input":Iu(i),Gc(i,v,!0);break;case"textarea":Iu(i),F1(i);break;case"select":case"option":break;default:typeof v.onClick=="function"&&tC(i);break}return le}function wZ(i,o,v){var g=i.nodeValue!==o;return g}function bD(i,o){{if(Ta)return;Ta=!0,u("Did not expect server HTML to contain a <%s> in <%s>.",o.nodeName.toLowerCase(),i.nodeName.toLowerCase())}}function ED(i,o){{if(Ta)return;Ta=!0,u('Did not expect server HTML to contain the text node "%s" in <%s>.',o.nodeValue,i.nodeName.toLowerCase())}}function DD(i,o,v){{if(Ta)return;Ta=!0,u("Expected server HTML to contain a matching <%s> in <%s>.",o,i.nodeName.toLowerCase())}}function MD(i,o){{if(o===""||Ta)return;Ta=!0,u('Expected server HTML to contain a matching text node for "%s" in <%s>.',o,i.nodeName.toLowerCase())}}function xZ(i,o,v){switch(o){case"input":L1(i,v);return;case"textarea":fm(i,v);return;case"select":zE(i,v);return}}var wy=function(){},xy=function(){};{var TZ=["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"],qF=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],bZ=qF.concat(["button"]),EZ=["dd","dt","li","option","optgroup","p","rp","rt"],QF={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};xy=function(i,o){var v=Dt({},i||QF),g={tag:o};return qF.indexOf(o)!==-1&&(v.aTagInScope=null,v.buttonTagInScope=null,v.nobrTagInScope=null),bZ.indexOf(o)!==-1&&(v.pTagInButtonScope=null),TZ.indexOf(o)!==-1&&o!=="address"&&o!=="div"&&o!=="p"&&(v.listItemTagAutoclosing=null,v.dlItemTagAutoclosing=null),v.current=g,o==="form"&&(v.formTag=g),o==="a"&&(v.aTagInScope=g),o==="button"&&(v.buttonTagInScope=g),o==="nobr"&&(v.nobrTagInScope=g),o==="p"&&(v.pTagInButtonScope=g),o==="li"&&(v.listItemTagAutoclosing=g),(o==="dd"||o==="dt")&&(v.dlItemTagAutoclosing=g),v};var DZ=function(i,o){switch(o){case"select":return i==="option"||i==="optgroup"||i==="#text";case"optgroup":return i==="option"||i==="#text";case"option":return i==="#text";case"tr":return i==="th"||i==="td"||i==="style"||i==="script"||i==="template";case"tbody":case"thead":case"tfoot":return i==="tr"||i==="style"||i==="script"||i==="template";case"colgroup":return i==="col"||i==="template";case"table":return i==="caption"||i==="colgroup"||i==="tbody"||i==="tfoot"||i==="thead"||i==="style"||i==="script"||i==="template";case"head":return i==="base"||i==="basefont"||i==="bgsound"||i==="link"||i==="meta"||i==="title"||i==="noscript"||i==="noframes"||i==="style"||i==="script"||i==="template";case"html":return i==="head"||i==="body"||i==="frameset";case"frameset":return i==="frame";case"#document":return i==="html"}switch(i){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return o!=="h1"&&o!=="h2"&&o!=="h3"&&o!=="h4"&&o!=="h5"&&o!=="h6";case"rp":case"rt":return EZ.indexOf(o)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return o==null}return!0},MZ=function(i,o){switch(i){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 o.pTagInButtonScope;case"form":return o.formTag||o.pTagInButtonScope;case"li":return o.listItemTagAutoclosing;case"dd":case"dt":return o.dlItemTagAutoclosing;case"button":return o.buttonTagInScope;case"a":return o.aTagInScope;case"nobr":return o.nobrTagInScope}return null},ZF={};wy=function(i,o,v){v=v||QF;var g=v.current,C=g&&g.tag;o!=null&&(i!=null&&u("validateDOMNesting: when childText is passed, childTag should be null"),i="#text");var T=DZ(i,C)?null:g,R=T?null:MZ(i,v),k=T||R;if(k){var N=k.tag,B=!!T+"|"+i+"|"+N;if(!ZF[B]){ZF[B]=!0;var V=i,K="";if(i==="#text"?/\S/.test(o)?V="Text nodes":(V="Whitespace text nodes",K=" Make sure you don't have any extra whitespace between tags on each line of your source code."):V="<"+i+">",T){var Q="";N==="table"&&i==="tr"&&(Q+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),u("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",V,N,K,Q)}else u("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",V,N)}}}}var nC="suppressHydrationWarning",rC="$",iC="/$",Ty="$?",by="$!",RZ="style",RD=null,AD=null;function AZ(i){var o,v,g=i.nodeType;switch(g){case ja:case zu:{o=g===ja?"#document":"#fragment";var C=i.documentElement;v=C?C.namespaceURI:dm(null,"");break}default:{var T=g===Jn?i.parentNode:i,R=T.namespaceURI||null;o=T.tagName,v=dm(R,o);break}}{var k=o.toLowerCase(),N=xy(null,k);return{namespace:v,ancestorInfo:N}}}function LZ(i,o,v){{var g=i,C=dm(g.namespace,o),T=xy(g.ancestorInfo,o);return{namespace:C,ancestorInfo:T}}}function ire(i){return i}function OZ(i){RD=Yi(),AD=YQ();var o=null;return Cr(!1),o}function kZ(i){WQ(AD),Cr(RD),RD=null,AD=null}function NZ(i,o,v,g,C){var T;{var R=g;if(wy(i,null,R.ancestorInfo),typeof o.children=="string"||typeof o.children=="number"){var k=""+o.children,N=xy(R.ancestorInfo,i);wy(null,k,N)}T=R.namespace}var B=pZ(i,o,v,T);return My(C,B),FD(B,o),B}function PZ(i,o){i.appendChild(o)}function IZ(i,o,v,g,C){switch(mZ(i,o,v,g),o){case"button":case"input":case"select":case"textarea":return!!v.autoFocus;case"img":return!0;default:return!1}}function zZ(i,o,v,g,C,T){{var R=T;if(typeof g.children!=typeof v.children&&(typeof g.children=="string"||typeof g.children=="number")){var k=""+g.children,N=xy(R.ancestorInfo,o);wy(null,k,N)}}return yZ(i,o,v,g)}function LD(i,o){return i==="textarea"||i==="noscript"||typeof o.children=="string"||typeof o.children=="number"||typeof o.dangerouslySetInnerHTML=="object"&&o.dangerouslySetInnerHTML!==null&&o.dangerouslySetInnerHTML.__html!=null}function FZ(i,o,v,g){{var C=v;wy(null,i,C.ancestorInfo)}var T=gZ(i,o);return My(g,T),T}function BZ(){var i=window.event;return i===void 0?tl:ei(i.type)}var OD=typeof setTimeout=="function"?setTimeout:void 0,UZ=typeof clearTimeout=="function"?clearTimeout:void 0,kD=-1,KF=typeof Promise=="function"?Promise:void 0,VZ=typeof queueMicrotask=="function"?queueMicrotask:typeof KF<"u"?function(i){return KF.resolve(null).then(i).catch(HZ)}:OD;function HZ(i){setTimeout(function(){throw i})}function GZ(i,o,v,g){switch(o){case"button":case"input":case"select":case"textarea":v.autoFocus&&i.focus();return;case"img":{v.src&&(i.src=v.src);return}}}function $Z(i,o,v,g,C,T){_Z(i,o,v,g,C),FD(i,C)}function JF(i){Kv(i,"")}function jZ(i,o,v){i.nodeValue=v}function YZ(i,o){i.appendChild(o)}function WZ(i,o){var v;i.nodeType===Jn?(v=i.parentNode,v.insertBefore(o,i)):(v=i,v.appendChild(o));var g=i._reactRootContainer;g==null&&v.onclick===null&&tC(v)}function XZ(i,o,v){i.insertBefore(o,v)}function qZ(i,o,v){i.nodeType===Jn?i.parentNode.insertBefore(o,v):i.insertBefore(o,v)}function QZ(i,o){i.removeChild(o)}function ZZ(i,o){i.nodeType===Jn?i.parentNode.removeChild(o):i.removeChild(o)}function ND(i,o){var v=o,g=0;do{var C=v.nextSibling;if(i.removeChild(v),C&&C.nodeType===Jn){var T=C.data;if(T===iC)if(g===0){i.removeChild(C),Mt(o);return}else g--;else(T===rC||T===Ty||T===by)&&g++}v=C}while(v);Mt(o)}function KZ(i,o){i.nodeType===Jn?ND(i.parentNode,o):i.nodeType===gi&&ND(i,o),Mt(i)}function JZ(i){i=i;var o=i.style;typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"}function eK(i){i.nodeValue=""}function tK(i,o){i=i;var v=o[RZ],g=v!=null&&v.hasOwnProperty("display")?v.display:null;i.style.display=Jv("display",g)}function nK(i,o){i.nodeValue=o}function rK(i){i.nodeType===gi?i.textContent="":i.nodeType===ja&&i.documentElement&&i.removeChild(i.documentElement)}function iK(i,o,v){return i.nodeType!==gi||o.toLowerCase()!==i.nodeName.toLowerCase()?null:i}function aK(i,o){return o===""||i.nodeType!==Yo?null:i}function oK(i){return i.nodeType!==Jn?null:i}function e5(i){return i.data===Ty}function PD(i){return i.data===by}function lK(i){var o=i.nextSibling&&i.nextSibling.dataset,v,g,C;return o&&(v=o.dgst,g=o.msg,C=o.stck),{message:g,digest:v,stack:C}}function uK(i,o){i._reactRetry=o}function aC(i){for(;i!=null;i=i.nextSibling){var o=i.nodeType;if(o===gi||o===Yo)break;if(o===Jn){var v=i.data;if(v===rC||v===by||v===Ty)break;if(v===iC)return null}}return i}function Ey(i){return aC(i.nextSibling)}function sK(i){return aC(i.firstChild)}function fK(i){return aC(i.firstChild)}function cK(i){return aC(i.nextSibling)}function dK(i,o,v,g,C,T,R){My(T,i),FD(i,v);var k;{var N=C;k=N.namespace}var B=(T.mode&wt)!==Je;return CZ(i,o,v,k,g,B,R)}function vK(i,o,v,g){return My(v,i),v.mode&wt,wZ(i,o)}function hK(i,o){My(o,i)}function pK(i){for(var o=i.nextSibling,v=0;o;){if(o.nodeType===Jn){var g=o.data;if(g===iC){if(v===0)return Ey(o);v--}else(g===rC||g===by||g===Ty)&&v++}o=o.nextSibling}return null}function t5(i){for(var o=i.previousSibling,v=0;o;){if(o.nodeType===Jn){var g=o.data;if(g===rC||g===by||g===Ty){if(v===0)return o;v--}else g===iC&&v++}o=o.previousSibling}return null}function gK(i){Mt(i)}function mK(i){Mt(i)}function yK(i){return i!=="head"&&i!=="body"}function _K(i,o,v,g){var C=!0;eC(o.nodeValue,v,g,C)}function SK(i,o,v,g,C,T){if(o[nC]!==!0){var R=!0;eC(g.nodeValue,C,T,R)}}function CK(i,o){o.nodeType===gi?bD(i,o):o.nodeType===Jn||ED(i,o)}function wK(i,o){{var v=i.parentNode;v!==null&&(o.nodeType===gi?bD(v,o):o.nodeType===Jn||ED(v,o))}}function xK(i,o,v,g,C){(C||o[nC]!==!0)&&(g.nodeType===gi?bD(v,g):g.nodeType===Jn||ED(v,g))}function TK(i,o,v){DD(i,o)}function bK(i,o){MD(i,o)}function EK(i,o,v){{var g=i.parentNode;g!==null&&DD(g,o)}}function DK(i,o){{var v=i.parentNode;v!==null&&MD(v,o)}}function MK(i,o,v,g,C,T){(T||o[nC]!==!0)&&DD(v,g)}function RK(i,o,v,g,C){(C||o[nC]!==!0)&&MD(v,g)}function AK(i){u("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",i.nodeName.toLowerCase())}function LK(i){yy(i)}var ap=Math.random().toString(36).slice(2),op="__reactFiber$"+ap,ID="__reactProps$"+ap,Dy="__reactContainer$"+ap,zD="__reactEvents$"+ap,OK="__reactListeners$"+ap,kK="__reactHandles$"+ap;function NK(i){delete i[op],delete i[ID],delete i[zD],delete i[OK],delete i[kK]}function My(i,o){o[op]=i}function oC(i,o){o[Dy]=i}function n5(i){i[Dy]=null}function Ry(i){return!!i[Dy]}function Ed(i){var o=i[op];if(o)return o;for(var v=i.parentNode;v;){if(o=v[Dy]||v[op],o){var g=o.alternate;if(o.child!==null||g!==null&&g.child!==null)for(var C=t5(i);C!==null;){var T=C[op];if(T)return T;C=t5(C)}return o}i=v,v=i.parentNode}return null}function Ef(i){var o=i[op]||i[Dy];return o&&(o.tag===_||o.tag===x||o.tag===I||o.tag===m)?o:null}function lp(i){if(i.tag===_||i.tag===x)return i.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function lC(i){return i[ID]||null}function FD(i,o){i[ID]=o}function PK(i){var o=i[zD];return o===void 0&&(o=i[zD]=new Set),o}var r5={},i5=n.ReactDebugCurrentFrame;function uC(i){if(i){var o=i._owner,v=Pc(i.type,i._source,o?o.type:null);i5.setExtraStackFrame(v)}else i5.setExtraStackFrame(null)}function ol(i,o,v,g,C){{var T=Function.call.bind(Et);for(var R in i)if(T(i,R)){var k=void 0;try{if(typeof i[R]!="function"){var N=Error((g||"React class")+": "+v+" type `"+R+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[R]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw N.name="Invariant Violation",N}k=i[R](o,R,g,v,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(B){k=B}k&&!(k instanceof Error)&&(uC(C),u("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",g||"React class",v,R,typeof k),uC(null)),k instanceof Error&&!(k.message in r5)&&(r5[k.message]=!0,uC(C),u("Failed %s type: %s",v,k.message),uC(null))}}}var BD=[],sC;sC=[];var cs=-1;function Df(i){return{current:i}}function bi(i,o){if(cs<0){u("Unexpected pop.");return}o!==sC[cs]&&u("Unexpected Fiber popped."),i.current=BD[cs],BD[cs]=null,sC[cs]=null,cs--}function Ei(i,o,v){cs++,BD[cs]=i.current,sC[cs]=v,i.current=o}var UD;UD={};var Qa={};Object.freeze(Qa);var ds=Df(Qa),ou=Df(!1),VD=Qa;function up(i,o,v){return v&&lu(o)?VD:ds.current}function a5(i,o,v){{var g=i.stateNode;g.__reactInternalMemoizedUnmaskedChildContext=o,g.__reactInternalMemoizedMaskedChildContext=v}}function sp(i,o){{var v=i.type,g=v.contextTypes;if(!g)return Qa;var C=i.stateNode;if(C&&C.__reactInternalMemoizedUnmaskedChildContext===o)return C.__reactInternalMemoizedMaskedChildContext;var T={};for(var R in g)T[R]=o[R];{var k=dt(i)||"Unknown";ol(g,T,"context",k)}return C&&a5(i,o,T),T}}function fC(){return ou.current}function lu(i){{var o=i.childContextTypes;return o!=null}}function cC(i){bi(ou,i),bi(ds,i)}function HD(i){bi(ou,i),bi(ds,i)}function o5(i,o,v){{if(ds.current!==Qa)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Ei(ds,o,i),Ei(ou,v,i)}}function l5(i,o,v){{var g=i.stateNode,C=o.childContextTypes;if(typeof g.getChildContext!="function"){{var T=dt(i)||"Unknown";UD[T]||(UD[T]=!0,u("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",T,T))}return v}var R=g.getChildContext();for(var k in R)if(!(k in C))throw new Error((dt(i)||"Unknown")+'.getChildContext(): key "'+k+'" is not defined in childContextTypes.');{var N=dt(i)||"Unknown";ol(C,R,"child context",N)}return Dt({},v,R)}}function dC(i){{var o=i.stateNode,v=o&&o.__reactInternalMemoizedMergedChildContext||Qa;return VD=ds.current,Ei(ds,v,i),Ei(ou,ou.current,i),!0}}function u5(i,o,v){{var g=i.stateNode;if(!g)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(v){var C=l5(i,o,VD);g.__reactInternalMemoizedMergedChildContext=C,bi(ou,i),bi(ds,i),Ei(ds,C,i),Ei(ou,v,i)}else bi(ou,i),Ei(ou,v,i)}}function IK(i){{if(!Om(i)||i.tag!==h)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var o=i;do{switch(o.tag){case m:return o.stateNode.context;case h:{var v=o.type;if(lu(v))return o.stateNode.__reactInternalMemoizedMergedChildContext;break}}o=o.return}while(o!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var Mf=0,vC=1,vs=null,GD=!1,$D=!1;function s5(i){vs===null?vs=[i]:vs.push(i)}function zK(i){GD=!0,s5(i)}function f5(){GD&&Rf()}function Rf(){if(!$D&&vs!==null){$D=!0;var i=0,o=Sa();try{var v=!0,g=vs;for(sr($r);i<g.length;i++){var C=g[i];do C=C(v);while(C!==null)}vs=null,GD=!1}catch(T){throw vs!==null&&(vs=vs.slice(i+1)),fh(dh,Rf),T}finally{sr(o),$D=!1}}return null}var fp=[],cp=0,hC=null,pC=0,xo=[],To=0,Dd=null,hs=1,ps="";function FK(i){return Rd(),(i.flags&Rm)!==Qe}function BK(i){return Rd(),pC}function UK(){var i=ps,o=hs,v=o&~VK(o);return v.toString(32)+i}function Md(i,o){Rd(),fp[cp++]=pC,fp[cp++]=hC,hC=i,pC=o}function c5(i,o,v){Rd(),xo[To++]=hs,xo[To++]=ps,xo[To++]=Dd,Dd=i;var g=hs,C=ps,T=gC(g)-1,R=g&~(1<<T),k=v+1,N=gC(o)+T;if(N>30){var B=T-T%5,V=(1<<B)-1,K=(R&V).toString(32),Q=R>>B,le=T-B,ue=gC(o)+le,de=k<<le,Pe=de|Q,Ze=K+C;hs=1<<ue|Pe,ps=Ze}else{var We=k<<T,Ot=We|R,Rt=C;hs=1<<N|Ot,ps=Rt}}function jD(i){Rd();var o=i.return;if(o!==null){var v=1,g=0;Md(i,v),c5(i,v,g)}}function gC(i){return 32-yh(i)}function VK(i){return 1<<gC(i)-1}function YD(i){for(;i===hC;)hC=fp[--cp],fp[cp]=null,pC=fp[--cp],fp[cp]=null;for(;i===Dd;)Dd=xo[--To],xo[To]=null,ps=xo[--To],xo[To]=null,hs=xo[--To],xo[To]=null}function HK(){return Rd(),Dd!==null?{id:hs,overflow:ps}:null}function GK(i,o){Rd(),xo[To++]=hs,xo[To++]=ps,xo[To++]=Dd,hs=o.id,ps=o.overflow,Dd=i}function Rd(){ni()||u("Expected to be hydrating. This is a bug in React. Please file an issue.")}var ti=null,bo=null,ll=!1,Ad=!1,Af=null;function $K(){ll&&u("We should not be hydrating here. This is a bug in React. Please file a bug.")}function d5(){Ad=!0}function jK(){return Ad}function YK(i){var o=i.stateNode.containerInfo;return bo=fK(o),ti=i,ll=!0,Af=null,Ad=!1,!0}function WK(i,o,v){return bo=cK(o),ti=i,ll=!0,Af=null,Ad=!1,v!==null&&GK(i,v),!0}function v5(i,o){switch(i.tag){case m:{CK(i.stateNode.containerInfo,o);break}case _:{var v=(i.mode&wt)!==Je;xK(i.type,i.memoizedProps,i.stateNode,o,v);break}case I:{var g=i.memoizedState;g.dehydrated!==null&&wK(g.dehydrated,o);break}}}function h5(i,o){v5(i,o);var v=Qte();v.stateNode=o,v.return=i;var g=i.deletions;g===null?(i.deletions=[v],i.flags|=qt):g.push(v)}function WD(i,o){{if(Ad)return;switch(i.tag){case m:{var v=i.stateNode.containerInfo;switch(o.tag){case _:var g=o.type;o.pendingProps,TK(v,g);break;case x:var C=o.pendingProps;bK(v,C);break}break}case _:{var T=i.type,R=i.memoizedProps,k=i.stateNode;switch(o.tag){case _:{var N=o.type,B=o.pendingProps,V=(i.mode&wt)!==Je;MK(T,R,k,N,B,V);break}case x:{var K=o.pendingProps,Q=(i.mode&wt)!==Je;RK(T,R,k,K,Q);break}}break}case I:{var le=i.memoizedState,ue=le.dehydrated;if(ue!==null)switch(o.tag){case _:var de=o.type;o.pendingProps,EK(ue,de);break;case x:var Pe=o.pendingProps;DK(ue,Pe);break}break}default:return}}}function p5(i,o){o.flags=o.flags&~pa|Cn,WD(i,o)}function g5(i,o){switch(i.tag){case _:{var v=i.type;i.pendingProps;var g=iK(o,v);return g!==null?(i.stateNode=g,ti=i,bo=sK(g),!0):!1}case x:{var C=i.pendingProps,T=aK(o,C);return T!==null?(i.stateNode=T,ti=i,bo=null,!0):!1}case I:{var R=oK(o);if(R!==null){var k={dehydrated:R,treeContext:HK(),retryLane:xi};i.memoizedState=k;var N=Zte(R);return N.return=i,i.child=N,ti=i,bo=null,!0}return!1}default:return!1}}function XD(i){return(i.mode&wt)!==Je&&(i.flags&lt)===Qe}function qD(i){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function QD(i){if(ll){var o=bo;if(!o){XD(i)&&(WD(ti,i),qD()),p5(ti,i),ll=!1,ti=i;return}var v=o;if(!g5(i,o)){XD(i)&&(WD(ti,i),qD()),o=Ey(v);var g=ti;if(!o||!g5(i,o)){p5(ti,i),ll=!1,ti=i;return}h5(g,v)}}}function XK(i,o,v){var g=i.stateNode,C=!Ad,T=dK(g,i.type,i.memoizedProps,o,v,i,C);return i.updateQueue=T,T!==null}function qK(i){var o=i.stateNode,v=i.memoizedProps,g=vK(o,v,i);if(g){var C=ti;if(C!==null)switch(C.tag){case m:{var T=C.stateNode.containerInfo,R=(C.mode&wt)!==Je;_K(T,o,v,R);break}case _:{var k=C.type,N=C.memoizedProps,B=C.stateNode,V=(C.mode&wt)!==Je;SK(k,N,B,o,v,V);break}}}return g}function QK(i){var o=i.memoizedState,v=o!==null?o.dehydrated:null;if(!v)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");hK(v,i)}function ZK(i){var o=i.memoizedState,v=o!==null?o.dehydrated:null;if(!v)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return pK(v)}function m5(i){for(var o=i.return;o!==null&&o.tag!==_&&o.tag!==m&&o.tag!==I;)o=o.return;ti=o}function mC(i){if(i!==ti)return!1;if(!ll)return m5(i),ll=!0,!1;if(i.tag!==m&&(i.tag!==_||yK(i.type)&&!LD(i.type,i.memoizedProps))){var o=bo;if(o)if(XD(i))y5(i),qD();else for(;o;)h5(i,o),o=Ey(o)}return m5(i),i.tag===I?bo=ZK(i):bo=ti?Ey(i.stateNode):null,!0}function KK(){return ll&&bo!==null}function y5(i){for(var o=bo;o;)v5(i,o),o=Ey(o)}function dp(){ti=null,bo=null,ll=!1,Ad=!1}function _5(){Af!==null&&(v3(Af),Af=null)}function ni(){return ll}function ZD(i){Af===null?Af=[i]:Af.push(i)}var JK=n.ReactCurrentBatchConfig,eJ=null;function tJ(){return JK.transition}var ul={recordUnsafeLifecycleWarnings:function(i,o){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(i,o){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var nJ=function(i){for(var o=null,v=i;v!==null;)v.mode&Fn&&(o=v),v=v.return;return o},Ld=function(i){var o=[];return i.forEach(function(v){o.push(v)}),o.sort().join(", ")},Ay=[],Ly=[],Oy=[],ky=[],Ny=[],Py=[],Od=new Set;ul.recordUnsafeLifecycleWarnings=function(i,o){Od.has(i.type)||(typeof o.componentWillMount=="function"&&o.componentWillMount.__suppressDeprecationWarning!==!0&&Ay.push(i),i.mode&Fn&&typeof o.UNSAFE_componentWillMount=="function"&&Ly.push(i),typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Oy.push(i),i.mode&Fn&&typeof o.UNSAFE_componentWillReceiveProps=="function"&&ky.push(i),typeof o.componentWillUpdate=="function"&&o.componentWillUpdate.__suppressDeprecationWarning!==!0&&Ny.push(i),i.mode&Fn&&typeof o.UNSAFE_componentWillUpdate=="function"&&Py.push(i))},ul.flushPendingUnsafeLifecycleWarnings=function(){var i=new Set;Ay.length>0&&(Ay.forEach(function(Q){i.add(dt(Q)||"Component"),Od.add(Q.type)}),Ay=[]);var o=new Set;Ly.length>0&&(Ly.forEach(function(Q){o.add(dt(Q)||"Component"),Od.add(Q.type)}),Ly=[]);var v=new Set;Oy.length>0&&(Oy.forEach(function(Q){v.add(dt(Q)||"Component"),Od.add(Q.type)}),Oy=[]);var g=new Set;ky.length>0&&(ky.forEach(function(Q){g.add(dt(Q)||"Component"),Od.add(Q.type)}),ky=[]);var C=new Set;Ny.length>0&&(Ny.forEach(function(Q){C.add(dt(Q)||"Component"),Od.add(Q.type)}),Ny=[]);var T=new Set;if(Py.length>0&&(Py.forEach(function(Q){T.add(dt(Q)||"Component"),Od.add(Q.type)}),Py=[]),o.size>0){var R=Ld(o);u(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
83
-
84
- * Move code with side effects to componentDidMount, and set initial state in the constructor.
85
-
86
- Please update the following components: %s`,R)}if(g.size>0){var k=Ld(g);u(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
87
-
88
- * Move data fetching code or side effects to componentDidUpdate.
89
- * 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://reactjs.org/link/derived-state
90
-
91
- Please update the following components: %s`,k)}if(T.size>0){var N=Ld(T);u(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
92
-
93
- * Move data fetching code or side effects to componentDidUpdate.
94
-
95
- Please update the following components: %s`,N)}if(i.size>0){var B=Ld(i);l(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
96
-
97
- * Move code with side effects to componentDidMount, and set initial state in the constructor.
98
- * 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.
99
-
100
- Please update the following components: %s`,B)}if(v.size>0){var V=Ld(v);l(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
101
-
102
- * Move data fetching code or side effects to componentDidUpdate.
103
- * 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://reactjs.org/link/derived-state
104
- * 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.
105
-
106
- Please update the following components: %s`,V)}if(C.size>0){var K=Ld(C);l(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
107
-
108
- * Move data fetching code or side effects to componentDidUpdate.
109
- * 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.
110
-
111
- Please update the following components: %s`,K)}};var yC=new Map,S5=new Set;ul.recordLegacyContextWarning=function(i,o){var v=nJ(i);if(v===null){u("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.");return}if(!S5.has(i.type)){var g=yC.get(v);(i.type.contextTypes!=null||i.type.childContextTypes!=null||o!==null&&typeof o.getChildContext=="function")&&(g===void 0&&(g=[],yC.set(v,g)),g.push(i))}},ul.flushLegacyContextWarning=function(){yC.forEach(function(i,o){if(i.length!==0){var v=i[0],g=new Set;i.forEach(function(T){g.add(dt(T)||"Component"),S5.add(T.type)});var C=Ld(g);try{ln(v),u(`Legacy context API has been detected within a strict-mode tree.
112
-
113
- The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
114
-
115
- Please update the following components: %s
116
-
117
- Learn more about this warning here: https://reactjs.org/link/legacy-context`,C)}finally{or()}}})},ul.discardPendingWarnings=function(){Ay=[],Ly=[],Oy=[],ky=[],Ny=[],Py=[],yC=new Map}}function sl(i,o){if(i&&i.defaultProps){var v=Dt({},o),g=i.defaultProps;for(var C in g)v[C]===void 0&&(v[C]=g[C]);return v}return o}var KD=Df(null),JD;JD={};var _C=null,vp=null,eM=null,SC=!1;function CC(){_C=null,vp=null,eM=null,SC=!1}function C5(){SC=!0}function w5(){SC=!1}function x5(i,o,v){Ei(KD,o._currentValue,i),o._currentValue=v,o._currentRenderer!==void 0&&o._currentRenderer!==null&&o._currentRenderer!==JD&&u("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),o._currentRenderer=JD}function tM(i,o){var v=KD.current;bi(KD,o),i._currentValue=v}function nM(i,o,v){for(var g=i;g!==null;){var C=g.alternate;if(es(g.childLanes,o)?C!==null&&!es(C.childLanes,o)&&(C.childLanes=gt(C.childLanes,o)):(g.childLanes=gt(g.childLanes,o),C!==null&&(C.childLanes=gt(C.childLanes,o))),g===v)break;g=g.return}g!==v&&u("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 rJ(i,o,v){iJ(i,o,v)}function iJ(i,o,v){var g=i.child;for(g!==null&&(g.return=i);g!==null;){var C=void 0,T=g.dependencies;if(T!==null){C=g.child;for(var R=T.firstContext;R!==null;){if(R.context===o){if(g.tag===h){var k=ur(v),N=gs(gn,k);N.tag=xC;var B=g.updateQueue;if(B!==null){var V=B.shared,K=V.pending;K===null?N.next=N:(N.next=K.next,K.next=N),V.pending=N}}g.lanes=gt(g.lanes,v);var Q=g.alternate;Q!==null&&(Q.lanes=gt(Q.lanes,v)),nM(g.return,v,i),T.lanes=gt(T.lanes,v);break}R=R.next}}else if(g.tag===A)C=g.type===i.type?null:g.child;else if(g.tag===X){var le=g.return;if(le===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");le.lanes=gt(le.lanes,v);var ue=le.alternate;ue!==null&&(ue.lanes=gt(ue.lanes,v)),nM(le,v,i),C=g.sibling}else C=g.child;if(C!==null)C.return=g;else for(C=g;C!==null;){if(C===i){C=null;break}var de=C.sibling;if(de!==null){de.return=C.return,C=de;break}C=C.return}g=C}}function hp(i,o){_C=i,vp=null,eM=null;var v=i.dependencies;if(v!==null){var g=v.firstContext;g!==null&&(Ti(v.lanes,o)&&qy(),v.firstContext=null)}}function xr(i){SC&&u("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().");var o=i._currentValue;if(eM!==i){var v={context:i,memoizedValue:o,next:null};if(vp===null){if(_C===null)throw new 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().");vp=v,_C.dependencies={lanes:he,firstContext:v}}else vp=vp.next=v}return o}var kd=null;function rM(i){kd===null?kd=[i]:kd.push(i)}function aJ(){if(kd!==null){for(var i=0;i<kd.length;i++){var o=kd[i],v=o.interleaved;if(v!==null){o.interleaved=null;var g=v.next,C=o.pending;if(C!==null){var T=C.next;C.next=g,v.next=T}o.pending=v}}kd=null}}function T5(i,o,v,g){var C=o.interleaved;return C===null?(v.next=v,rM(o)):(v.next=C.next,C.next=v),o.interleaved=v,wC(i,g)}function oJ(i,o,v,g){var C=o.interleaved;C===null?(v.next=v,rM(o)):(v.next=C.next,C.next=v),o.interleaved=v}function lJ(i,o,v,g){var C=o.interleaved;return C===null?(v.next=v,rM(o)):(v.next=C.next,C.next=v),o.interleaved=v,wC(i,g)}function ba(i,o){return wC(i,o)}var uJ=wC;function wC(i,o){i.lanes=gt(i.lanes,o);var v=i.alternate;v!==null&&(v.lanes=gt(v.lanes,o)),v===null&&(i.flags&(Cn|pa))!==Qe&&b3(i);for(var g=i,C=i.return;C!==null;)C.childLanes=gt(C.childLanes,o),v=C.alternate,v!==null?v.childLanes=gt(v.childLanes,o):(C.flags&(Cn|pa))!==Qe&&b3(i),g=C,C=C.return;if(g.tag===m){var T=g.stateNode;return T}else return null}var b5=0,E5=1,xC=2,iM=3,TC=!1,aM,bC;aM=!1,bC=null;function oM(i){var o={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:he},effects:null};i.updateQueue=o}function D5(i,o){var v=o.updateQueue,g=i.updateQueue;if(v===g){var C={baseState:g.baseState,firstBaseUpdate:g.firstBaseUpdate,lastBaseUpdate:g.lastBaseUpdate,shared:g.shared,effects:g.effects};o.updateQueue=C}}function gs(i,o){var v={eventTime:i,lane:o,tag:b5,payload:null,callback:null,next:null};return v}function Lf(i,o,v){var g=i.updateQueue;if(g===null)return null;var C=g.shared;if(bC===C&&!aM&&(u("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."),aM=!0),ute()){var T=C.pending;return T===null?o.next=o:(o.next=T.next,T.next=o),C.pending=o,uJ(i,v)}else return lJ(i,C,o,v)}function EC(i,o,v){var g=o.updateQueue;if(g!==null){var C=g.shared;if(jm(v)){var T=C.lanes;T=Wm(T,i.pendingLanes);var R=gt(T,v);C.lanes=R,cf(i,R)}}}function lM(i,o){var v=i.updateQueue,g=i.alternate;if(g!==null){var C=g.updateQueue;if(v===C){var T=null,R=null,k=v.firstBaseUpdate;if(k!==null){var N=k;do{var B={eventTime:N.eventTime,lane:N.lane,tag:N.tag,payload:N.payload,callback:N.callback,next:null};R===null?T=R=B:(R.next=B,R=B),N=N.next}while(N!==null);R===null?T=R=o:(R.next=o,R=o)}else T=R=o;v={baseState:C.baseState,firstBaseUpdate:T,lastBaseUpdate:R,shared:C.shared,effects:C.effects},i.updateQueue=v;return}}var V=v.lastBaseUpdate;V===null?v.firstBaseUpdate=o:V.next=o,v.lastBaseUpdate=o}function sJ(i,o,v,g,C,T){switch(v.tag){case E5:{var R=v.payload;if(typeof R=="function"){C5();var k=R.call(T,g,C);{if(i.mode&Fn){lr(!0);try{R.call(T,g,C)}finally{lr(!1)}}w5()}return k}return R}case iM:i.flags=i.flags&~yr|lt;case b5:{var N=v.payload,B;if(typeof N=="function"){C5(),B=N.call(T,g,C);{if(i.mode&Fn){lr(!0);try{N.call(T,g,C)}finally{lr(!1)}}w5()}}else B=N;return B==null?g:Dt({},g,B)}case xC:return TC=!0,g}return g}function DC(i,o,v,g){var C=i.updateQueue;TC=!1,bC=C.shared;var T=C.firstBaseUpdate,R=C.lastBaseUpdate,k=C.shared.pending;if(k!==null){C.shared.pending=null;var N=k,B=N.next;N.next=null,R===null?T=B:R.next=B,R=N;var V=i.alternate;if(V!==null){var K=V.updateQueue,Q=K.lastBaseUpdate;Q!==R&&(Q===null?K.firstBaseUpdate=B:Q.next=B,K.lastBaseUpdate=N)}}if(T!==null){var le=C.baseState,ue=he,de=null,Pe=null,Ze=null,We=T;do{var Ot=We.lane,Rt=We.eventTime;if(es(g,Ot)){if(Ze!==null){var ve={eventTime:Rt,lane:At,tag:We.tag,payload:We.payload,callback:We.callback,next:null};Ze=Ze.next=ve}le=sJ(i,C,We,le,o,v);var re=We.callback;if(re!==null&&We.lane!==At){i.flags|=mo;var xe=C.effects;xe===null?C.effects=[We]:xe.push(We)}}else{var ne={eventTime:Rt,lane:Ot,tag:We.tag,payload:We.payload,callback:We.callback,next:null};Ze===null?(Pe=Ze=ne,de=le):Ze=Ze.next=ne,ue=gt(ue,Ot)}if(We=We.next,We===null){if(k=C.shared.pending,k===null)break;var Ie=k,Ae=Ie.next;Ie.next=null,We=Ae,C.lastBaseUpdate=Ie,C.shared.pending=null}}while(!0);Ze===null&&(de=le),C.baseState=de,C.firstBaseUpdate=Pe,C.lastBaseUpdate=Ze;var at=C.shared.interleaved;if(at!==null){var ct=at;do ue=gt(ue,ct.lane),ct=ct.next;while(ct!==at)}else T===null&&(C.shared.lanes=he);l0(ue),i.lanes=ue,i.memoizedState=le}bC=null}function fJ(i,o){if(typeof i!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+i));i.call(o)}function M5(){TC=!1}function MC(){return TC}function R5(i,o,v){var g=o.effects;if(o.effects=null,g!==null)for(var C=0;C<g.length;C++){var T=g[C],R=T.callback;R!==null&&(T.callback=null,fJ(R,v))}}var uM={},A5=new t.Component().refs,sM,fM,cM,dM,vM,L5,RC,hM,pM,gM;{sM=new Set,fM=new Set,cM=new Set,dM=new Set,hM=new Set,vM=new Set,pM=new Set,gM=new Set;var O5=new Set;RC=function(i,o){if(!(i===null||typeof i=="function")){var v=o+"_"+i;O5.has(v)||(O5.add(v),u("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",o,i))}},L5=function(i,o){if(o===void 0){var v=hn(i)||"Component";vM.has(v)||(vM.add(v),u("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",v))}},Object.defineProperty(uM,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(uM)}function mM(i,o,v,g){var C=i.memoizedState,T=v(g,C);{if(i.mode&Fn){lr(!0);try{T=v(g,C)}finally{lr(!1)}}L5(o,T)}var R=T==null?C:Dt({},C,T);if(i.memoizedState=R,i.lanes===he){var k=i.updateQueue;k.baseState=R}}var yM={isMounted:Gi,enqueueSetState:function(i,o,v){var g=va(i),C=qi(),T=Bf(g),R=gs(C,T);R.payload=o,v!=null&&(RC(v,"setState"),R.callback=v);var k=Lf(g,R,T);k!==null&&(zr(k,g,T,C),EC(k,g,T)),Zl(g,T)},enqueueReplaceState:function(i,o,v){var g=va(i),C=qi(),T=Bf(g),R=gs(C,T);R.tag=E5,R.payload=o,v!=null&&(RC(v,"replaceState"),R.callback=v);var k=Lf(g,R,T);k!==null&&(zr(k,g,T,C),EC(k,g,T)),Zl(g,T)},enqueueForceUpdate:function(i,o){var v=va(i),g=qi(),C=Bf(v),T=gs(g,C);T.tag=xC,o!=null&&(RC(o,"forceUpdate"),T.callback=o);var R=Lf(v,T,C);R!==null&&(zr(R,v,C,g),EC(R,v,C)),Vm(v,C)}};function k5(i,o,v,g,C,T,R){var k=i.stateNode;if(typeof k.shouldComponentUpdate=="function"){var N=k.shouldComponentUpdate(g,T,R);{if(i.mode&Fn){lr(!0);try{N=k.shouldComponentUpdate(g,T,R)}finally{lr(!1)}}N===void 0&&u("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",hn(o)||"Component")}return N}return o.prototype&&o.prototype.isPureReactComponent?!Xe(v,g)||!Xe(C,T):!0}function cJ(i,o,v){var g=i.stateNode;{var C=hn(o)||"Component",T=g.render;T||(o.prototype&&typeof o.prototype.render=="function"?u("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",C):u("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",C)),g.getInitialState&&!g.getInitialState.isReactClassApproved&&!g.state&&u("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?",C),g.getDefaultProps&&!g.getDefaultProps.isReactClassApproved&&u("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.",C),g.propTypes&&u("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",C),g.contextType&&u("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",C),g.contextTypes&&u("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",C),o.contextType&&o.contextTypes&&!pM.has(o)&&(pM.add(o),u("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",C)),typeof g.componentShouldUpdate=="function"&&u("%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.",C),o.prototype&&o.prototype.isPureReactComponent&&typeof g.shouldComponentUpdate<"u"&&u("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",hn(o)||"A pure component"),typeof g.componentDidUnmount=="function"&&u("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",C),typeof g.componentDidReceiveProps=="function"&&u("%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().",C),typeof g.componentWillRecieveProps=="function"&&u("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",C),typeof g.UNSAFE_componentWillRecieveProps=="function"&&u("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",C);var R=g.props!==v;g.props!==void 0&&R&&u("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",C,C),g.defaultProps&&u("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",C,C),typeof g.getSnapshotBeforeUpdate=="function"&&typeof g.componentDidUpdate!="function"&&!cM.has(o)&&(cM.add(o),u("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",hn(o))),typeof g.getDerivedStateFromProps=="function"&&u("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",C),typeof g.getDerivedStateFromError=="function"&&u("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",C),typeof o.getSnapshotBeforeUpdate=="function"&&u("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",C);var k=g.state;k&&(typeof k!="object"||gr(k))&&u("%s.state: must be set to an object or null",C),typeof g.getChildContext=="function"&&typeof o.childContextTypes!="object"&&u("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",C)}}function N5(i,o){o.updater=yM,i.stateNode=o,ef(o,i),o._reactInternalInstance=uM}function P5(i,o,v){var g=!1,C=Qa,T=Qa,R=o.contextType;if("contextType"in o){var k=R===null||R!==void 0&&R.$$typeof===Me&&R._context===void 0;if(!k&&!gM.has(o)){gM.add(o);var N="";R===void 0?N=" 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 R!="object"?N=" However, it is set to a "+typeof R+".":R.$$typeof===Ce?N=" Did you accidentally pass the Context.Provider instead?":R._context!==void 0?N=" Did you accidentally pass the Context.Consumer instead?":N=" However, it is set to an object with keys {"+Object.keys(R).join(", ")+"}.",u("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",hn(o)||"Component",N)}}if(typeof R=="object"&&R!==null)T=xr(R);else{C=up(i,o,!0);var B=o.contextTypes;g=B!=null,T=g?sp(i,C):Qa}var V=new o(v,T);if(i.mode&Fn){lr(!0);try{V=new o(v,T)}finally{lr(!1)}}var K=i.memoizedState=V.state!==null&&V.state!==void 0?V.state:null;N5(i,V);{if(typeof o.getDerivedStateFromProps=="function"&&K===null){var Q=hn(o)||"Component";fM.has(Q)||(fM.add(Q),u("`%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.",Q,V.state===null?"null":"undefined",Q))}if(typeof o.getDerivedStateFromProps=="function"||typeof V.getSnapshotBeforeUpdate=="function"){var le=null,ue=null,de=null;if(typeof V.componentWillMount=="function"&&V.componentWillMount.__suppressDeprecationWarning!==!0?le="componentWillMount":typeof V.UNSAFE_componentWillMount=="function"&&(le="UNSAFE_componentWillMount"),typeof V.componentWillReceiveProps=="function"&&V.componentWillReceiveProps.__suppressDeprecationWarning!==!0?ue="componentWillReceiveProps":typeof V.UNSAFE_componentWillReceiveProps=="function"&&(ue="UNSAFE_componentWillReceiveProps"),typeof V.componentWillUpdate=="function"&&V.componentWillUpdate.__suppressDeprecationWarning!==!0?de="componentWillUpdate":typeof V.UNSAFE_componentWillUpdate=="function"&&(de="UNSAFE_componentWillUpdate"),le!==null||ue!==null||de!==null){var Pe=hn(o)||"Component",Ze=typeof o.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";dM.has(Pe)||(dM.add(Pe),u(`Unsafe legacy lifecycles will not be called for components using new component APIs.
118
-
119
- %s uses %s but also contains the following legacy lifecycles:%s%s%s
120
-
121
- The above lifecycles should be removed. Learn more about this warning here:
122
- https://reactjs.org/link/unsafe-component-lifecycles`,Pe,Ze,le!==null?`
123
- `+le:"",ue!==null?`
124
- `+ue:"",de!==null?`
125
- `+de:""))}}}return g&&a5(i,C,T),V}function dJ(i,o){var v=o.state;typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),v!==o.state&&(u("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",dt(i)||"Component"),yM.enqueueReplaceState(o,o.state,null))}function I5(i,o,v,g){var C=o.state;if(typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(v,g),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(v,g),o.state!==C){{var T=dt(i)||"Component";sM.has(T)||(sM.add(T),u("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",T))}yM.enqueueReplaceState(o,o.state,null)}}function _M(i,o,v,g){cJ(i,o,v);var C=i.stateNode;C.props=v,C.state=i.memoizedState,C.refs=A5,oM(i);var T=o.contextType;if(typeof T=="object"&&T!==null)C.context=xr(T);else{var R=up(i,o,!0);C.context=sp(i,R)}{if(C.state===v){var k=hn(o)||"Component";hM.has(k)||(hM.add(k),u("%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.",k))}i.mode&Fn&&ul.recordLegacyContextWarning(i,C),ul.recordUnsafeLifecycleWarnings(i,C)}C.state=i.memoizedState;var N=o.getDerivedStateFromProps;if(typeof N=="function"&&(mM(i,o,N,v),C.state=i.memoizedState),typeof o.getDerivedStateFromProps!="function"&&typeof C.getSnapshotBeforeUpdate!="function"&&(typeof C.UNSAFE_componentWillMount=="function"||typeof C.componentWillMount=="function")&&(dJ(i,C),DC(i,v,C,g),C.state=i.memoizedState),typeof C.componentDidMount=="function"){var B=pt;B|=yi,(i.mode&ya)!==Je&&(B|=_i),i.flags|=B}}function vJ(i,o,v,g){var C=i.stateNode,T=i.memoizedProps;C.props=T;var R=C.context,k=o.contextType,N=Qa;if(typeof k=="object"&&k!==null)N=xr(k);else{var B=up(i,o,!0);N=sp(i,B)}var V=o.getDerivedStateFromProps,K=typeof V=="function"||typeof C.getSnapshotBeforeUpdate=="function";!K&&(typeof C.UNSAFE_componentWillReceiveProps=="function"||typeof C.componentWillReceiveProps=="function")&&(T!==v||R!==N)&&I5(i,C,v,N),M5();var Q=i.memoizedState,le=C.state=Q;if(DC(i,v,C,g),le=i.memoizedState,T===v&&Q===le&&!fC()&&!MC()){if(typeof C.componentDidMount=="function"){var ue=pt;ue|=yi,(i.mode&ya)!==Je&&(ue|=_i),i.flags|=ue}return!1}typeof V=="function"&&(mM(i,o,V,v),le=i.memoizedState);var de=MC()||k5(i,o,T,v,Q,le,N);if(de){if(!K&&(typeof C.UNSAFE_componentWillMount=="function"||typeof C.componentWillMount=="function")&&(typeof C.componentWillMount=="function"&&C.componentWillMount(),typeof C.UNSAFE_componentWillMount=="function"&&C.UNSAFE_componentWillMount()),typeof C.componentDidMount=="function"){var Pe=pt;Pe|=yi,(i.mode&ya)!==Je&&(Pe|=_i),i.flags|=Pe}}else{if(typeof C.componentDidMount=="function"){var Ze=pt;Ze|=yi,(i.mode&ya)!==Je&&(Ze|=_i),i.flags|=Ze}i.memoizedProps=v,i.memoizedState=le}return C.props=v,C.state=le,C.context=N,de}function hJ(i,o,v,g,C){var T=o.stateNode;D5(i,o);var R=o.memoizedProps,k=o.type===o.elementType?R:sl(o.type,R);T.props=k;var N=o.pendingProps,B=T.context,V=v.contextType,K=Qa;if(typeof V=="object"&&V!==null)K=xr(V);else{var Q=up(o,v,!0);K=sp(o,Q)}var le=v.getDerivedStateFromProps,ue=typeof le=="function"||typeof T.getSnapshotBeforeUpdate=="function";!ue&&(typeof T.UNSAFE_componentWillReceiveProps=="function"||typeof T.componentWillReceiveProps=="function")&&(R!==N||B!==K)&&I5(o,T,g,K),M5();var de=o.memoizedState,Pe=T.state=de;if(DC(o,g,T,C),Pe=o.memoizedState,R===N&&de===Pe&&!fC()&&!MC()&&!ge)return typeof T.componentDidUpdate=="function"&&(R!==i.memoizedProps||de!==i.memoizedState)&&(o.flags|=pt),typeof T.getSnapshotBeforeUpdate=="function"&&(R!==i.memoizedProps||de!==i.memoizedState)&&(o.flags|=ha),!1;typeof le=="function"&&(mM(o,v,le,g),Pe=o.memoizedState);var Ze=MC()||k5(o,v,k,g,de,Pe,K)||ge;return Ze?(!ue&&(typeof T.UNSAFE_componentWillUpdate=="function"||typeof T.componentWillUpdate=="function")&&(typeof T.componentWillUpdate=="function"&&T.componentWillUpdate(g,Pe,K),typeof T.UNSAFE_componentWillUpdate=="function"&&T.UNSAFE_componentWillUpdate(g,Pe,K)),typeof T.componentDidUpdate=="function"&&(o.flags|=pt),typeof T.getSnapshotBeforeUpdate=="function"&&(o.flags|=ha)):(typeof T.componentDidUpdate=="function"&&(R!==i.memoizedProps||de!==i.memoizedState)&&(o.flags|=pt),typeof T.getSnapshotBeforeUpdate=="function"&&(R!==i.memoizedProps||de!==i.memoizedState)&&(o.flags|=ha),o.memoizedProps=g,o.memoizedState=Pe),T.props=g,T.state=Pe,T.context=K,Ze}var SM,CM,wM,xM,TM,z5=function(i,o){};SM=!1,CM=!1,wM={},xM={},TM={},z5=function(i,o){if(!(i===null||typeof i!="object")&&!(!i._store||i._store.validated||i.key!=null)){if(typeof i._store!="object")throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");i._store.validated=!0;var v=dt(o)||"Component";xM[v]||(xM[v]=!0,u('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function Iy(i,o,v){var g=v.ref;if(g!==null&&typeof g!="function"&&typeof g!="object"){if((i.mode&Fn||It)&&!(v._owner&&v._self&&v._owner.stateNode!==v._self)){var C=dt(i)||"Component";wM[C]||(u('A string ref, "%s", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',g),wM[C]=!0)}if(v._owner){var T=v._owner,R;if(T){var k=T;if(k.tag!==h)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");R=k.stateNode}if(!R)throw new Error("Missing owner for string ref "+g+". This error is likely caused by a bug in React. Please file an issue.");var N=R;Ho(g,"ref");var B=""+g;if(o!==null&&o.ref!==null&&typeof o.ref=="function"&&o.ref._stringRef===B)return o.ref;var V=function(K){var Q=N.refs;Q===A5&&(Q=N.refs={}),K===null?delete Q[B]:Q[B]=K};return V._stringRef=B,V}else{if(typeof g!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!v._owner)throw new Error("Element ref was specified as a string ("+g+`) but no owner was set. This could happen for one of the following reasons:
126
- 1. You may be adding a ref to a function component
127
- 2. You may be adding a ref to a component that was not created inside a component's render method
128
- 3. You have multiple copies of React loaded
129
- See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return g}function AC(i,o){var v=Object.prototype.toString.call(o);throw new Error("Objects are not valid as a React child (found: "+(v==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":v)+"). If you meant to render a collection of children, use an array instead.")}function LC(i){{var o=dt(i)||"Component";if(TM[o])return;TM[o]=!0,u("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function F5(i){var o=i._payload,v=i._init;return v(o)}function B5(i){function o(ne,ve){if(i){var re=ne.deletions;re===null?(ne.deletions=[ve],ne.flags|=qt):re.push(ve)}}function v(ne,ve){if(!i)return null;for(var re=ve;re!==null;)o(ne,re),re=re.sibling;return null}function g(ne,ve){for(var re=new Map,xe=ve;xe!==null;)xe.key!==null?re.set(xe.key,xe):re.set(xe.index,xe),xe=xe.sibling;return re}function C(ne,ve){var re=Vd(ne,ve);return re.index=0,re.sibling=null,re}function T(ne,ve,re){if(ne.index=re,!i)return ne.flags|=Rm,ve;var xe=ne.alternate;if(xe!==null){var Ie=xe.index;return Ie<ve?(ne.flags|=Cn,ve):Ie}else return ne.flags|=Cn,ve}function R(ne){return i&&ne.alternate===null&&(ne.flags|=Cn),ne}function k(ne,ve,re,xe){if(ve===null||ve.tag!==x){var Ie=ZR(re,ne.mode,xe);return Ie.return=ne,Ie}else{var Ae=C(ve,re);return Ae.return=ne,Ae}}function N(ne,ve,re,xe){var Ie=re.type;if(Ie===Va)return V(ne,ve,re.props.children,xe,re.key);if(ve!==null&&(ve.elementType===Ie||R3(ve,re)||typeof Ie=="object"&&Ie!==null&&Ie.$$typeof===tt&&F5(Ie)===ve.type)){var Ae=C(ve,re.props);return Ae.ref=Iy(ne,ve,re),Ae.return=ne,Ae._debugSource=re._source,Ae._debugOwner=re._owner,Ae}var at=QR(re,ne.mode,xe);return at.ref=Iy(ne,ve,re),at.return=ne,at}function B(ne,ve,re,xe){if(ve===null||ve.tag!==S||ve.stateNode.containerInfo!==re.containerInfo||ve.stateNode.implementation!==re.implementation){var Ie=KR(re,ne.mode,xe);return Ie.return=ne,Ie}else{var Ae=C(ve,re.children||[]);return Ae.return=ne,Ae}}function V(ne,ve,re,xe,Ie){if(ve===null||ve.tag!==E){var Ae=Vf(re,ne.mode,xe,Ie);return Ae.return=ne,Ae}else{var at=C(ve,re);return at.return=ne,at}}function K(ne,ve,re){if(typeof ve=="string"&&ve!==""||typeof ve=="number"){var xe=ZR(""+ve,ne.mode,re);return xe.return=ne,xe}if(typeof ve=="object"&&ve!==null){switch(ve.$$typeof){case kl:{var Ie=QR(ve,ne.mode,re);return Ie.ref=Iy(ne,null,ve),Ie.return=ne,Ie}case Bi:{var Ae=KR(ve,ne.mode,re);return Ae.return=ne,Ae}case tt:{var at=ve._payload,ct=ve._init;return K(ne,ct(at),re)}}if(gr(ve)||Go(ve)){var sn=Vf(ve,ne.mode,re,null);return sn.return=ne,sn}AC(ne,ve)}return typeof ve=="function"&&LC(ne),null}function Q(ne,ve,re,xe){var Ie=ve!==null?ve.key:null;if(typeof re=="string"&&re!==""||typeof re=="number")return Ie!==null?null:k(ne,ve,""+re,xe);if(typeof re=="object"&&re!==null){switch(re.$$typeof){case kl:return re.key===Ie?N(ne,ve,re,xe):null;case Bi:return re.key===Ie?B(ne,ve,re,xe):null;case tt:{var Ae=re._payload,at=re._init;return Q(ne,ve,at(Ae),xe)}}if(gr(re)||Go(re))return Ie!==null?null:V(ne,ve,re,xe,null);AC(ne,re)}return typeof re=="function"&&LC(ne),null}function le(ne,ve,re,xe,Ie){if(typeof xe=="string"&&xe!==""||typeof xe=="number"){var Ae=ne.get(re)||null;return k(ve,Ae,""+xe,Ie)}if(typeof xe=="object"&&xe!==null){switch(xe.$$typeof){case kl:{var at=ne.get(xe.key===null?re:xe.key)||null;return N(ve,at,xe,Ie)}case Bi:{var ct=ne.get(xe.key===null?re:xe.key)||null;return B(ve,ct,xe,Ie)}case tt:var sn=xe._payload,jt=xe._init;return le(ne,ve,re,jt(sn),Ie)}if(gr(xe)||Go(xe)){var dr=ne.get(re)||null;return V(ve,dr,xe,Ie,null)}AC(ve,xe)}return typeof xe=="function"&&LC(ve),null}function ue(ne,ve,re){{if(typeof ne!="object"||ne===null)return ve;switch(ne.$$typeof){case kl:case Bi:z5(ne,re);var xe=ne.key;if(typeof xe!="string")break;if(ve===null){ve=new Set,ve.add(xe);break}if(!ve.has(xe)){ve.add(xe);break}u("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.",xe);break;case tt:var Ie=ne._payload,Ae=ne._init;ue(Ae(Ie),ve,re);break}}return ve}function de(ne,ve,re,xe){for(var Ie=null,Ae=0;Ae<re.length;Ae++){var at=re[Ae];Ie=ue(at,Ie,ne)}for(var ct=null,sn=null,jt=ve,dr=0,Yt=0,nr=null;jt!==null&&Yt<re.length;Yt++){jt.index>Yt?(nr=jt,jt=null):nr=jt.sibling;var Mi=Q(ne,jt,re[Yt],xe);if(Mi===null){jt===null&&(jt=nr);break}i&&jt&&Mi.alternate===null&&o(ne,jt),dr=T(Mi,dr,Yt),sn===null?ct=Mi:sn.sibling=Mi,sn=Mi,jt=nr}if(Yt===re.length){if(v(ne,jt),ni()){var si=Yt;Md(ne,si)}return ct}if(jt===null){for(;Yt<re.length;Yt++){var Ka=K(ne,re[Yt],xe);Ka!==null&&(dr=T(Ka,dr,Yt),sn===null?ct=Ka:sn.sibling=Ka,sn=Ka)}if(ni()){var Qi=Yt;Md(ne,Qi)}return ct}for(var Zi=g(ne,jt);Yt<re.length;Yt++){var Ri=le(Zi,ne,Yt,re[Yt],xe);Ri!==null&&(i&&Ri.alternate!==null&&Zi.delete(Ri.key===null?Yt:Ri.key),dr=T(Ri,dr,Yt),sn===null?ct=Ri:sn.sibling=Ri,sn=Ri)}if(i&&Zi.forEach(function(Lp){return o(ne,Lp)}),ni()){var ws=Yt;Md(ne,ws)}return ct}function Pe(ne,ve,re,xe){var Ie=Go(re);if(typeof Ie!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&re[Symbol.toStringTag]==="Generator"&&(CM||u("Using Generators 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. Keep in mind you might need to polyfill these features for older browsers."),CM=!0),re.entries===Ie&&(SM||u("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),SM=!0);var Ae=Ie.call(re);if(Ae)for(var at=null,ct=Ae.next();!ct.done;ct=Ae.next()){var sn=ct.value;at=ue(sn,at,ne)}}var jt=Ie.call(re);if(jt==null)throw new Error("An iterable object provided no iterator.");for(var dr=null,Yt=null,nr=ve,Mi=0,si=0,Ka=null,Qi=jt.next();nr!==null&&!Qi.done;si++,Qi=jt.next()){nr.index>si?(Ka=nr,nr=null):Ka=nr.sibling;var Zi=Q(ne,nr,Qi.value,xe);if(Zi===null){nr===null&&(nr=Ka);break}i&&nr&&Zi.alternate===null&&o(ne,nr),Mi=T(Zi,Mi,si),Yt===null?dr=Zi:Yt.sibling=Zi,Yt=Zi,nr=Ka}if(Qi.done){if(v(ne,nr),ni()){var Ri=si;Md(ne,Ri)}return dr}if(nr===null){for(;!Qi.done;si++,Qi=jt.next()){var ws=K(ne,Qi.value,xe);ws!==null&&(Mi=T(ws,Mi,si),Yt===null?dr=ws:Yt.sibling=ws,Yt=ws)}if(ni()){var Lp=si;Md(ne,Lp)}return dr}for(var d0=g(ne,nr);!Qi.done;si++,Qi=jt.next()){var pu=le(d0,ne,si,Qi.value,xe);pu!==null&&(i&&pu.alternate!==null&&d0.delete(pu.key===null?si:pu.key),Mi=T(pu,Mi,si),Yt===null?dr=pu:Yt.sibling=pu,Yt=pu)}if(i&&d0.forEach(function(Mne){return o(ne,Mne)}),ni()){var Dne=si;Md(ne,Dne)}return dr}function Ze(ne,ve,re,xe){if(ve!==null&&ve.tag===x){v(ne,ve.sibling);var Ie=C(ve,re);return Ie.return=ne,Ie}v(ne,ve);var Ae=ZR(re,ne.mode,xe);return Ae.return=ne,Ae}function We(ne,ve,re,xe){for(var Ie=re.key,Ae=ve;Ae!==null;){if(Ae.key===Ie){var at=re.type;if(at===Va){if(Ae.tag===E){v(ne,Ae.sibling);var ct=C(Ae,re.props.children);return ct.return=ne,ct._debugSource=re._source,ct._debugOwner=re._owner,ct}}else if(Ae.elementType===at||R3(Ae,re)||typeof at=="object"&&at!==null&&at.$$typeof===tt&&F5(at)===Ae.type){v(ne,Ae.sibling);var sn=C(Ae,re.props);return sn.ref=Iy(ne,Ae,re),sn.return=ne,sn._debugSource=re._source,sn._debugOwner=re._owner,sn}v(ne,Ae);break}else o(ne,Ae);Ae=Ae.sibling}if(re.type===Va){var jt=Vf(re.props.children,ne.mode,xe,re.key);return jt.return=ne,jt}else{var dr=QR(re,ne.mode,xe);return dr.ref=Iy(ne,ve,re),dr.return=ne,dr}}function Ot(ne,ve,re,xe){for(var Ie=re.key,Ae=ve;Ae!==null;){if(Ae.key===Ie)if(Ae.tag===S&&Ae.stateNode.containerInfo===re.containerInfo&&Ae.stateNode.implementation===re.implementation){v(ne,Ae.sibling);var at=C(Ae,re.children||[]);return at.return=ne,at}else{v(ne,Ae);break}else o(ne,Ae);Ae=Ae.sibling}var ct=KR(re,ne.mode,xe);return ct.return=ne,ct}function Rt(ne,ve,re,xe){var Ie=typeof re=="object"&&re!==null&&re.type===Va&&re.key===null;if(Ie&&(re=re.props.children),typeof re=="object"&&re!==null){switch(re.$$typeof){case kl:return R(We(ne,ve,re,xe));case Bi:return R(Ot(ne,ve,re,xe));case tt:var Ae=re._payload,at=re._init;return Rt(ne,ve,at(Ae),xe)}if(gr(re))return de(ne,ve,re,xe);if(Go(re))return Pe(ne,ve,re,xe);AC(ne,re)}return typeof re=="string"&&re!==""||typeof re=="number"?R(Ze(ne,ve,""+re,xe)):(typeof re=="function"&&LC(ne),v(ne,ve))}return Rt}var pp=B5(!0),U5=B5(!1);function pJ(i,o){if(i!==null&&o.child!==i.child)throw new Error("Resuming work not yet implemented.");if(o.child!==null){var v=o.child,g=Vd(v,v.pendingProps);for(o.child=g,g.return=o;v.sibling!==null;)v=v.sibling,g=g.sibling=Vd(v,v.pendingProps),g.return=o;g.sibling=null}}function gJ(i,o){for(var v=i.child;v!==null;)jte(v,o),v=v.sibling}var zy={},Of=Df(zy),Fy=Df(zy),OC=Df(zy);function kC(i){if(i===zy)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return i}function V5(){var i=kC(OC.current);return i}function bM(i,o){Ei(OC,o,i),Ei(Fy,i,i),Ei(Of,zy,i);var v=AZ(o);bi(Of,i),Ei(Of,v,i)}function gp(i){bi(Of,i),bi(Fy,i),bi(OC,i)}function EM(){var i=kC(Of.current);return i}function H5(i){kC(OC.current);var o=kC(Of.current),v=LZ(o,i.type);o!==v&&(Ei(Fy,i,i),Ei(Of,v,i))}function DM(i){Fy.current===i&&(bi(Of,i),bi(Fy,i))}var mJ=0,G5=1,$5=1,By=2,fl=Df(mJ);function MM(i,o){return(i&o)!==0}function mp(i){return i&G5}function RM(i,o){return i&G5|o}function yJ(i,o){return i|o}function kf(i,o){Ei(fl,o,i)}function yp(i){bi(fl,i)}function _J(i,o){var v=i.memoizedState;return v!==null?v.dehydrated!==null:(i.memoizedProps,!0)}function NC(i){for(var o=i;o!==null;){if(o.tag===I){var v=o.memoizedState;if(v!==null){var g=v.dehydrated;if(g===null||e5(g)||PD(g))return o}}else if(o.tag===G&&o.memoizedProps.revealOrder!==void 0){var C=(o.flags&lt)!==Qe;if(C)return o}else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===i)return null;for(;o.sibling===null;){if(o.return===null||o.return===i)return null;o=o.return}o.sibling.return=o.return,o=o.sibling}return null}var Ea=0,Ar=1,uu=2,Lr=4,ri=8,AM=[];function LM(){for(var i=0;i<AM.length;i++){var o=AM[i];o._workInProgressVersionPrimary=null}AM.length=0}function SJ(i,o){var v=o._getVersion,g=v(o._source);i.mutableSourceEagerHydrationData==null?i.mutableSourceEagerHydrationData=[o,g]:i.mutableSourceEagerHydrationData.push(o,g)}var ke=n.ReactCurrentDispatcher,Uy=n.ReactCurrentBatchConfig,OM,_p;OM=new Set;var Nd=he,un=null,Or=null,kr=null,PC=!1,Vy=!1,Hy=0,CJ=0,wJ=25,me=null,Eo=null,Nf=-1,kM=!1;function Jt(){{var i=me;Eo===null?Eo=[i]:Eo.push(i)}}function Ee(){{var i=me;Eo!==null&&(Nf++,Eo[Nf]!==i&&xJ(i))}}function Sp(i){i!=null&&!gr(i)&&u("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",me,typeof i)}function xJ(i){{var o=dt(un);if(!OM.has(o)&&(OM.add(o),Eo!==null)){for(var v="",g=30,C=0;C<=Nf;C++){for(var T=Eo[C],R=C===Nf?i:T,k=C+1+". "+T;k.length<g;)k+=" ";k+=R+`
130
- `,v+=k}u(`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://reactjs.org/link/rules-of-hooks
131
-
132
- Previous render Next render
133
- ------------------------------------------------------
134
- %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
135
- `,o,v)}}}function Di(){throw new 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:
136
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
137
- 2. You might be breaking the Rules of Hooks
138
- 3. You might have more than one copy of React in the same app
139
- See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function NM(i,o){if(kM)return!1;if(o===null)return u("%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.",me),!1;i.length!==o.length&&u(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
140
-
141
- Previous: %s
142
- Incoming: %s`,me,"["+o.join(", ")+"]","["+i.join(", ")+"]");for(var v=0;v<o.length&&v<i.length;v++)if(!Ve(i[v],o[v]))return!1;return!0}function Cp(i,o,v,g,C,T){Nd=T,un=o,Eo=i!==null?i._debugHookTypes:null,Nf=-1,kM=i!==null&&i.type!==o.type,o.memoizedState=null,o.updateQueue=null,o.lanes=he,i!==null&&i.memoizedState!==null?ke.current=dB:Eo!==null?ke.current=cB:ke.current=fB;var R=v(g,C);if(Vy){var k=0;do{if(Vy=!1,Hy=0,k>=wJ)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");k+=1,kM=!1,Or=null,kr=null,o.updateQueue=null,Nf=-1,ke.current=vB,R=v(g,C)}while(Vy)}ke.current=XC,o._debugHookTypes=Eo;var N=Or!==null&&Or.next!==null;if(Nd=he,un=null,Or=null,kr=null,me=null,Eo=null,Nf=-1,i!==null&&(i.flags&Dr)!==(o.flags&Dr)&&(i.mode&wt)!==Je&&u("Internal React error: Expected static flag was missing. Please notify the React team."),PC=!1,N)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return R}function wp(){var i=Hy!==0;return Hy=0,i}function j5(i,o,v){o.updateQueue=i.updateQueue,(o.mode&ya)!==Je?o.flags&=~($u|_i|Ln|pt):o.flags&=~(Ln|pt),i.lanes=ff(i.lanes,v)}function Y5(){if(ke.current=XC,PC){for(var i=un.memoizedState;i!==null;){var o=i.queue;o!==null&&(o.pending=null),i=i.next}PC=!1}Nd=he,un=null,Or=null,kr=null,Eo=null,Nf=-1,me=null,aB=!1,Vy=!1,Hy=0}function su(){var i={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return kr===null?un.memoizedState=kr=i:kr=kr.next=i,kr}function Do(){var i;if(Or===null){var o=un.alternate;o!==null?i=o.memoizedState:i=null}else i=Or.next;var v;if(kr===null?v=un.memoizedState:v=kr.next,v!==null)kr=v,v=kr.next,Or=i;else{if(i===null)throw new Error("Rendered more hooks than during the previous render.");Or=i;var g={memoizedState:Or.memoizedState,baseState:Or.baseState,baseQueue:Or.baseQueue,queue:Or.queue,next:null};kr===null?un.memoizedState=kr=g:kr=kr.next=g}return kr}function W5(){return{lastEffect:null,stores:null}}function PM(i,o){return typeof o=="function"?o(i):o}function IM(i,o,v){var g=su(),C;v!==void 0?C=v(o):C=o,g.memoizedState=g.baseState=C;var T={pending:null,interleaved:null,lanes:he,dispatch:null,lastRenderedReducer:i,lastRenderedState:C};g.queue=T;var R=T.dispatch=DJ.bind(null,un,T);return[g.memoizedState,R]}function zM(i,o,v){var g=Do(),C=g.queue;if(C===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");C.lastRenderedReducer=i;var T=Or,R=T.baseQueue,k=C.pending;if(k!==null){if(R!==null){var N=R.next,B=k.next;R.next=B,k.next=N}T.baseQueue!==R&&u("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),T.baseQueue=R=k,C.pending=null}if(R!==null){var V=R.next,K=T.baseState,Q=null,le=null,ue=null,de=V;do{var Pe=de.lane;if(es(Nd,Pe)){if(ue!==null){var We={lane:At,action:de.action,hasEagerState:de.hasEagerState,eagerState:de.eagerState,next:null};ue=ue.next=We}if(de.hasEagerState)K=de.eagerState;else{var Ot=de.action;K=i(K,Ot)}}else{var Ze={lane:Pe,action:de.action,hasEagerState:de.hasEagerState,eagerState:de.eagerState,next:null};ue===null?(le=ue=Ze,Q=K):ue=ue.next=Ze,un.lanes=gt(un.lanes,Pe),l0(Pe)}de=de.next}while(de!==null&&de!==V);ue===null?Q=K:ue.next=le,Ve(K,g.memoizedState)||qy(),g.memoizedState=K,g.baseState=Q,g.baseQueue=ue,C.lastRenderedState=K}var Rt=C.interleaved;if(Rt!==null){var ne=Rt;do{var ve=ne.lane;un.lanes=gt(un.lanes,ve),l0(ve),ne=ne.next}while(ne!==Rt)}else R===null&&(C.lanes=he);var re=C.dispatch;return[g.memoizedState,re]}function FM(i,o,v){var g=Do(),C=g.queue;if(C===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");C.lastRenderedReducer=i;var T=C.dispatch,R=C.pending,k=g.memoizedState;if(R!==null){C.pending=null;var N=R.next,B=N;do{var V=B.action;k=i(k,V),B=B.next}while(B!==N);Ve(k,g.memoizedState)||qy(),g.memoizedState=k,g.baseQueue===null&&(g.baseState=k),C.lastRenderedState=k}return[k,T]}function are(i,o,v){}function ore(i,o,v){}function BM(i,o,v){var g=un,C=su(),T,R=ni();if(R){if(v===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");T=v(),_p||T!==v()&&(u("The result of getServerSnapshot should be cached to avoid an infinite loop"),_p=!0)}else{if(T=o(),!_p){var k=o();Ve(T,k)||(u("The result of getSnapshot should be cached to avoid an infinite loop"),_p=!0)}var N=dw();if(N===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");cd(N,Nd)||X5(g,o,T)}C.memoizedState=T;var B={value:T,getSnapshot:o};return C.queue=B,UC(Q5.bind(null,g,B,i),[i]),g.flags|=Ln,Gy(Ar|ri,q5.bind(null,g,B,T,o),void 0,null),T}function IC(i,o,v){var g=un,C=Do(),T=o();if(!_p){var R=o();Ve(T,R)||(u("The result of getSnapshot should be cached to avoid an infinite loop"),_p=!0)}var k=C.memoizedState,N=!Ve(k,T);N&&(C.memoizedState=T,qy());var B=C.queue;if(jy(Q5.bind(null,g,B,i),[i]),B.getSnapshot!==o||N||kr!==null&&kr.memoizedState.tag&Ar){g.flags|=Ln,Gy(Ar|ri,q5.bind(null,g,B,T,o),void 0,null);var V=dw();if(V===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");cd(V,Nd)||X5(g,o,T)}return T}function X5(i,o,v){i.flags|=nd;var g={getSnapshot:o,value:v},C=un.updateQueue;if(C===null)C=W5(),un.updateQueue=C,C.stores=[g];else{var T=C.stores;T===null?C.stores=[g]:T.push(g)}}function q5(i,o,v,g){o.value=v,o.getSnapshot=g,Z5(o)&&K5(i)}function Q5(i,o,v){var g=function(){Z5(o)&&K5(i)};return v(g)}function Z5(i){var o=i.getSnapshot,v=i.value;try{var g=o();return!Ve(v,g)}catch{return!0}}function K5(i){var o=ba(i,rt);o!==null&&zr(o,i,rt,gn)}function zC(i){var o=su();typeof i=="function"&&(i=i()),o.memoizedState=o.baseState=i;var v={pending:null,interleaved:null,lanes:he,dispatch:null,lastRenderedReducer:PM,lastRenderedState:i};o.queue=v;var g=v.dispatch=MJ.bind(null,un,v);return[o.memoizedState,g]}function UM(i){return zM(PM)}function VM(i){return FM(PM)}function Gy(i,o,v,g){var C={tag:i,create:o,destroy:v,deps:g,next:null},T=un.updateQueue;if(T===null)T=W5(),un.updateQueue=T,T.lastEffect=C.next=C;else{var R=T.lastEffect;if(R===null)T.lastEffect=C.next=C;else{var k=R.next;R.next=C,C.next=k,T.lastEffect=C}}return C}function HM(i){var o=su();{var v={current:i};return o.memoizedState=v,v}}function FC(i){var o=Do();return o.memoizedState}function $y(i,o,v,g){var C=su(),T=g===void 0?null:g;un.flags|=i,C.memoizedState=Gy(Ar|o,v,void 0,T)}function BC(i,o,v,g){var C=Do(),T=g===void 0?null:g,R=void 0;if(Or!==null){var k=Or.memoizedState;if(R=k.destroy,T!==null){var N=k.deps;if(NM(T,N)){C.memoizedState=Gy(o,v,R,T);return}}}un.flags|=i,C.memoizedState=Gy(Ar|o,v,R,T)}function UC(i,o){return(un.mode&ya)!==Je?$y($u|Ln|jl,ri,i,o):$y(Ln|jl,ri,i,o)}function jy(i,o){return BC(Ln,ri,i,o)}function GM(i,o){return $y(pt,uu,i,o)}function VC(i,o){return BC(pt,uu,i,o)}function $M(i,o){var v=pt;return v|=yi,(un.mode&ya)!==Je&&(v|=_i),$y(v,Lr,i,o)}function HC(i,o){return BC(pt,Lr,i,o)}function J5(i,o){if(typeof o=="function"){var v=o,g=i();return v(g),function(){v(null)}}else if(o!=null){var C=o;C.hasOwnProperty("current")||u("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(C).join(", ")+"}");var T=i();return C.current=T,function(){C.current=null}}}function jM(i,o,v){typeof o!="function"&&u("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",o!==null?typeof o:"null");var g=v!=null?v.concat([i]):null,C=pt;return C|=yi,(un.mode&ya)!==Je&&(C|=_i),$y(C,Lr,J5.bind(null,o,i),g)}function GC(i,o,v){typeof o!="function"&&u("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",o!==null?typeof o:"null");var g=v!=null?v.concat([i]):null;return BC(pt,Lr,J5.bind(null,o,i),g)}function TJ(i,o){}var $C=TJ;function YM(i,o){var v=su(),g=o===void 0?null:o;return v.memoizedState=[i,g],i}function jC(i,o){var v=Do(),g=o===void 0?null:o,C=v.memoizedState;if(C!==null&&g!==null){var T=C[1];if(NM(g,T))return C[0]}return v.memoizedState=[i,g],i}function WM(i,o){var v=su(),g=o===void 0?null:o,C=i();return v.memoizedState=[C,g],C}function YC(i,o){var v=Do(),g=o===void 0?null:o,C=v.memoizedState;if(C!==null&&g!==null){var T=C[1];if(NM(g,T))return C[0]}var R=i();return v.memoizedState=[R,g],R}function XM(i){var o=su();return o.memoizedState=i,i}function eB(i){var o=Do(),v=Or,g=v.memoizedState;return nB(o,g,i)}function tB(i){var o=Do();if(Or===null)return o.memoizedState=i,i;var v=Or.memoizedState;return nB(o,v,i)}function nB(i,o,v){var g=!eD(Nd);if(g){if(!Ve(v,o)){var C=Ym();un.lanes=gt(un.lanes,C),l0(C),i.baseState=!0}return o}else return i.baseState&&(i.baseState=!1,qy()),i.memoizedState=v,v}function bJ(i,o,v){var g=Sa();sr(jr(g,Rr)),i(!0);var C=Uy.transition;Uy.transition={};var T=Uy.transition;Uy.transition._updatedFibers=new Set;try{i(!1),o()}finally{if(sr(g),Uy.transition=C,C===null&&T._updatedFibers){var R=T._updatedFibers.size;R>10&&l("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."),T._updatedFibers.clear()}}}function qM(){var i=zC(!1),o=i[0],v=i[1],g=bJ.bind(null,v),C=su();return C.memoizedState=g,[o,g]}function rB(){var i=UM(),o=i[0],v=Do(),g=v.memoizedState;return[o,g]}function iB(){var i=VM(),o=i[0],v=Do(),g=v.memoizedState;return[o,g]}var aB=!1;function EJ(){return aB}function QM(){var i=su(),o=dw(),v=o.identifierPrefix,g;if(ni()){var C=UK();g=":"+v+"R"+C;var T=Hy++;T>0&&(g+="H"+T.toString(32)),g+=":"}else{var R=CJ++;g=":"+v+"r"+R.toString(32)+":"}return i.memoizedState=g,g}function WC(){var i=Do(),o=i.memoizedState;return o}function DJ(i,o,v){typeof arguments[3]=="function"&&u("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().");var g=Bf(i),C={lane:g,action:v,hasEagerState:!1,eagerState:null,next:null};if(oB(i))lB(o,C);else{var T=T5(i,o,C,g);if(T!==null){var R=qi();zr(T,i,g,R),uB(T,o,g)}}sB(i,g)}function MJ(i,o,v){typeof arguments[3]=="function"&&u("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().");var g=Bf(i),C={lane:g,action:v,hasEagerState:!1,eagerState:null,next:null};if(oB(i))lB(o,C);else{var T=i.alternate;if(i.lanes===he&&(T===null||T.lanes===he)){var R=o.lastRenderedReducer;if(R!==null){var k;k=ke.current,ke.current=cl;try{var N=o.lastRenderedState,B=R(N,v);if(C.hasEagerState=!0,C.eagerState=B,Ve(B,N)){oJ(i,o,C,g);return}}catch{}finally{ke.current=k}}}var V=T5(i,o,C,g);if(V!==null){var K=qi();zr(V,i,g,K),uB(V,o,g)}}sB(i,g)}function oB(i){var o=i.alternate;return i===un||o!==null&&o===un}function lB(i,o){Vy=PC=!0;var v=i.pending;v===null?o.next=o:(o.next=v.next,v.next=o),i.pending=o}function uB(i,o,v){if(jm(v)){var g=o.lanes;g=Wm(g,i.pendingLanes);var C=gt(g,v);o.lanes=C,cf(i,C)}}function sB(i,o,v){Zl(i,o)}var XC={readContext:xr,useCallback:Di,useContext:Di,useEffect:Di,useImperativeHandle:Di,useInsertionEffect:Di,useLayoutEffect:Di,useMemo:Di,useReducer:Di,useRef:Di,useState:Di,useDebugValue:Di,useDeferredValue:Di,useTransition:Di,useMutableSource:Di,useSyncExternalStore:Di,useId:Di,unstable_isNewReconciler:ae},fB=null,cB=null,dB=null,vB=null,fu=null,cl=null,qC=null;{var ZM=function(){u("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().")},st=function(){u("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://reactjs.org/link/rules-of-hooks")};fB={readContext:function(i){return xr(i)},useCallback:function(i,o){return me="useCallback",Jt(),Sp(o),YM(i,o)},useContext:function(i){return me="useContext",Jt(),xr(i)},useEffect:function(i,o){return me="useEffect",Jt(),Sp(o),UC(i,o)},useImperativeHandle:function(i,o,v){return me="useImperativeHandle",Jt(),Sp(v),jM(i,o,v)},useInsertionEffect:function(i,o){return me="useInsertionEffect",Jt(),Sp(o),GM(i,o)},useLayoutEffect:function(i,o){return me="useLayoutEffect",Jt(),Sp(o),$M(i,o)},useMemo:function(i,o){me="useMemo",Jt(),Sp(o);var v=ke.current;ke.current=fu;try{return WM(i,o)}finally{ke.current=v}},useReducer:function(i,o,v){me="useReducer",Jt();var g=ke.current;ke.current=fu;try{return IM(i,o,v)}finally{ke.current=g}},useRef:function(i){return me="useRef",Jt(),HM(i)},useState:function(i){me="useState",Jt();var o=ke.current;ke.current=fu;try{return zC(i)}finally{ke.current=o}},useDebugValue:function(i,o){return me="useDebugValue",Jt(),void 0},useDeferredValue:function(i){return me="useDeferredValue",Jt(),XM(i)},useTransition:function(){return me="useTransition",Jt(),qM()},useMutableSource:function(i,o,v){return me="useMutableSource",Jt(),void 0},useSyncExternalStore:function(i,o,v){return me="useSyncExternalStore",Jt(),BM(i,o,v)},useId:function(){return me="useId",Jt(),QM()},unstable_isNewReconciler:ae},cB={readContext:function(i){return xr(i)},useCallback:function(i,o){return me="useCallback",Ee(),YM(i,o)},useContext:function(i){return me="useContext",Ee(),xr(i)},useEffect:function(i,o){return me="useEffect",Ee(),UC(i,o)},useImperativeHandle:function(i,o,v){return me="useImperativeHandle",Ee(),jM(i,o,v)},useInsertionEffect:function(i,o){return me="useInsertionEffect",Ee(),GM(i,o)},useLayoutEffect:function(i,o){return me="useLayoutEffect",Ee(),$M(i,o)},useMemo:function(i,o){me="useMemo",Ee();var v=ke.current;ke.current=fu;try{return WM(i,o)}finally{ke.current=v}},useReducer:function(i,o,v){me="useReducer",Ee();var g=ke.current;ke.current=fu;try{return IM(i,o,v)}finally{ke.current=g}},useRef:function(i){return me="useRef",Ee(),HM(i)},useState:function(i){me="useState",Ee();var o=ke.current;ke.current=fu;try{return zC(i)}finally{ke.current=o}},useDebugValue:function(i,o){return me="useDebugValue",Ee(),void 0},useDeferredValue:function(i){return me="useDeferredValue",Ee(),XM(i)},useTransition:function(){return me="useTransition",Ee(),qM()},useMutableSource:function(i,o,v){return me="useMutableSource",Ee(),void 0},useSyncExternalStore:function(i,o,v){return me="useSyncExternalStore",Ee(),BM(i,o,v)},useId:function(){return me="useId",Ee(),QM()},unstable_isNewReconciler:ae},dB={readContext:function(i){return xr(i)},useCallback:function(i,o){return me="useCallback",Ee(),jC(i,o)},useContext:function(i){return me="useContext",Ee(),xr(i)},useEffect:function(i,o){return me="useEffect",Ee(),jy(i,o)},useImperativeHandle:function(i,o,v){return me="useImperativeHandle",Ee(),GC(i,o,v)},useInsertionEffect:function(i,o){return me="useInsertionEffect",Ee(),VC(i,o)},useLayoutEffect:function(i,o){return me="useLayoutEffect",Ee(),HC(i,o)},useMemo:function(i,o){me="useMemo",Ee();var v=ke.current;ke.current=cl;try{return YC(i,o)}finally{ke.current=v}},useReducer:function(i,o,v){me="useReducer",Ee();var g=ke.current;ke.current=cl;try{return zM(i,o,v)}finally{ke.current=g}},useRef:function(i){return me="useRef",Ee(),FC()},useState:function(i){me="useState",Ee();var o=ke.current;ke.current=cl;try{return UM(i)}finally{ke.current=o}},useDebugValue:function(i,o){return me="useDebugValue",Ee(),$C()},useDeferredValue:function(i){return me="useDeferredValue",Ee(),eB(i)},useTransition:function(){return me="useTransition",Ee(),rB()},useMutableSource:function(i,o,v){return me="useMutableSource",Ee(),void 0},useSyncExternalStore:function(i,o,v){return me="useSyncExternalStore",Ee(),IC(i,o)},useId:function(){return me="useId",Ee(),WC()},unstable_isNewReconciler:ae},vB={readContext:function(i){return xr(i)},useCallback:function(i,o){return me="useCallback",Ee(),jC(i,o)},useContext:function(i){return me="useContext",Ee(),xr(i)},useEffect:function(i,o){return me="useEffect",Ee(),jy(i,o)},useImperativeHandle:function(i,o,v){return me="useImperativeHandle",Ee(),GC(i,o,v)},useInsertionEffect:function(i,o){return me="useInsertionEffect",Ee(),VC(i,o)},useLayoutEffect:function(i,o){return me="useLayoutEffect",Ee(),HC(i,o)},useMemo:function(i,o){me="useMemo",Ee();var v=ke.current;ke.current=qC;try{return YC(i,o)}finally{ke.current=v}},useReducer:function(i,o,v){me="useReducer",Ee();var g=ke.current;ke.current=qC;try{return FM(i,o,v)}finally{ke.current=g}},useRef:function(i){return me="useRef",Ee(),FC()},useState:function(i){me="useState",Ee();var o=ke.current;ke.current=qC;try{return VM(i)}finally{ke.current=o}},useDebugValue:function(i,o){return me="useDebugValue",Ee(),$C()},useDeferredValue:function(i){return me="useDeferredValue",Ee(),tB(i)},useTransition:function(){return me="useTransition",Ee(),iB()},useMutableSource:function(i,o,v){return me="useMutableSource",Ee(),void 0},useSyncExternalStore:function(i,o,v){return me="useSyncExternalStore",Ee(),IC(i,o)},useId:function(){return me="useId",Ee(),WC()},unstable_isNewReconciler:ae},fu={readContext:function(i){return ZM(),xr(i)},useCallback:function(i,o){return me="useCallback",st(),Jt(),YM(i,o)},useContext:function(i){return me="useContext",st(),Jt(),xr(i)},useEffect:function(i,o){return me="useEffect",st(),Jt(),UC(i,o)},useImperativeHandle:function(i,o,v){return me="useImperativeHandle",st(),Jt(),jM(i,o,v)},useInsertionEffect:function(i,o){return me="useInsertionEffect",st(),Jt(),GM(i,o)},useLayoutEffect:function(i,o){return me="useLayoutEffect",st(),Jt(),$M(i,o)},useMemo:function(i,o){me="useMemo",st(),Jt();var v=ke.current;ke.current=fu;try{return WM(i,o)}finally{ke.current=v}},useReducer:function(i,o,v){me="useReducer",st(),Jt();var g=ke.current;ke.current=fu;try{return IM(i,o,v)}finally{ke.current=g}},useRef:function(i){return me="useRef",st(),Jt(),HM(i)},useState:function(i){me="useState",st(),Jt();var o=ke.current;ke.current=fu;try{return zC(i)}finally{ke.current=o}},useDebugValue:function(i,o){return me="useDebugValue",st(),Jt(),void 0},useDeferredValue:function(i){return me="useDeferredValue",st(),Jt(),XM(i)},useTransition:function(){return me="useTransition",st(),Jt(),qM()},useMutableSource:function(i,o,v){return me="useMutableSource",st(),Jt(),void 0},useSyncExternalStore:function(i,o,v){return me="useSyncExternalStore",st(),Jt(),BM(i,o,v)},useId:function(){return me="useId",st(),Jt(),QM()},unstable_isNewReconciler:ae},cl={readContext:function(i){return ZM(),xr(i)},useCallback:function(i,o){return me="useCallback",st(),Ee(),jC(i,o)},useContext:function(i){return me="useContext",st(),Ee(),xr(i)},useEffect:function(i,o){return me="useEffect",st(),Ee(),jy(i,o)},useImperativeHandle:function(i,o,v){return me="useImperativeHandle",st(),Ee(),GC(i,o,v)},useInsertionEffect:function(i,o){return me="useInsertionEffect",st(),Ee(),VC(i,o)},useLayoutEffect:function(i,o){return me="useLayoutEffect",st(),Ee(),HC(i,o)},useMemo:function(i,o){me="useMemo",st(),Ee();var v=ke.current;ke.current=cl;try{return YC(i,o)}finally{ke.current=v}},useReducer:function(i,o,v){me="useReducer",st(),Ee();var g=ke.current;ke.current=cl;try{return zM(i,o,v)}finally{ke.current=g}},useRef:function(i){return me="useRef",st(),Ee(),FC()},useState:function(i){me="useState",st(),Ee();var o=ke.current;ke.current=cl;try{return UM(i)}finally{ke.current=o}},useDebugValue:function(i,o){return me="useDebugValue",st(),Ee(),$C()},useDeferredValue:function(i){return me="useDeferredValue",st(),Ee(),eB(i)},useTransition:function(){return me="useTransition",st(),Ee(),rB()},useMutableSource:function(i,o,v){return me="useMutableSource",st(),Ee(),void 0},useSyncExternalStore:function(i,o,v){return me="useSyncExternalStore",st(),Ee(),IC(i,o)},useId:function(){return me="useId",st(),Ee(),WC()},unstable_isNewReconciler:ae},qC={readContext:function(i){return ZM(),xr(i)},useCallback:function(i,o){return me="useCallback",st(),Ee(),jC(i,o)},useContext:function(i){return me="useContext",st(),Ee(),xr(i)},useEffect:function(i,o){return me="useEffect",st(),Ee(),jy(i,o)},useImperativeHandle:function(i,o,v){return me="useImperativeHandle",st(),Ee(),GC(i,o,v)},useInsertionEffect:function(i,o){return me="useInsertionEffect",st(),Ee(),VC(i,o)},useLayoutEffect:function(i,o){return me="useLayoutEffect",st(),Ee(),HC(i,o)},useMemo:function(i,o){me="useMemo",st(),Ee();var v=ke.current;ke.current=cl;try{return YC(i,o)}finally{ke.current=v}},useReducer:function(i,o,v){me="useReducer",st(),Ee();var g=ke.current;ke.current=cl;try{return FM(i,o,v)}finally{ke.current=g}},useRef:function(i){return me="useRef",st(),Ee(),FC()},useState:function(i){me="useState",st(),Ee();var o=ke.current;ke.current=cl;try{return VM(i)}finally{ke.current=o}},useDebugValue:function(i,o){return me="useDebugValue",st(),Ee(),$C()},useDeferredValue:function(i){return me="useDeferredValue",st(),Ee(),tB(i)},useTransition:function(){return me="useTransition",st(),Ee(),iB()},useMutableSource:function(i,o,v){return me="useMutableSource",st(),Ee(),void 0},useSyncExternalStore:function(i,o,v){return me="useSyncExternalStore",st(),Ee(),IC(i,o)},useId:function(){return me="useId",st(),Ee(),WC()},unstable_isNewReconciler:ae}}var Pf=e.unstable_now,hB=0,QC=-1,Yy=-1,ZC=-1,KM=!1,KC=!1;function pB(){return KM}function RJ(){KC=!0}function AJ(){KM=!1,KC=!1}function LJ(){KM=KC,KC=!1}function gB(){return hB}function mB(){hB=Pf()}function JM(i){Yy=Pf(),i.actualStartTime<0&&(i.actualStartTime=Pf())}function yB(i){Yy=-1}function JC(i,o){if(Yy>=0){var v=Pf()-Yy;i.actualDuration+=v,o&&(i.selfBaseDuration=v),Yy=-1}}function cu(i){if(QC>=0){var o=Pf()-QC;QC=-1;for(var v=i.return;v!==null;){switch(v.tag){case m:var g=v.stateNode;g.effectDuration+=o;return;case P:var C=v.stateNode;C.effectDuration+=o;return}v=v.return}}}function eR(i){if(ZC>=0){var o=Pf()-ZC;ZC=-1;for(var v=i.return;v!==null;){switch(v.tag){case m:var g=v.stateNode;g!==null&&(g.passiveEffectDuration+=o);return;case P:var C=v.stateNode;C!==null&&(C.passiveEffectDuration+=o);return}v=v.return}}}function du(){QC=Pf()}function tR(){ZC=Pf()}function nR(i){for(var o=i.child;o;)i.actualDuration+=o.actualDuration,o=o.sibling}function Pd(i,o){return{value:i,source:o,stack:tm(o),digest:null}}function rR(i,o,v){return{value:i,source:null,stack:v??null,digest:o??null}}function OJ(i,o){return!0}function iR(i,o){try{var v=OJ(i,o);if(v===!1)return;var g=o.value,C=o.source,T=o.stack,R=T!==null?T:"";if(g!=null&&g._suppressLogging){if(i.tag===h)return;console.error(g)}var k=C?dt(C):null,N=k?"The above error occurred in the <"+k+"> component:":"The above error occurred in one of your React components:",B;if(i.tag===m)B=`Consider adding an error boundary to your tree to customize error handling behavior.
143
- Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var V=dt(i)||"Anonymous";B="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+V+".")}var K=N+`
144
- `+R+`
145
-
146
- `+(""+B);console.error(K)}catch(Q){setTimeout(function(){throw Q})}}var kJ=typeof WeakMap=="function"?WeakMap:Map;function _B(i,o,v){var g=gs(gn,v);g.tag=iM,g.payload={element:null};var C=o.value;return g.callback=function(){bte(C),iR(i,o)},g}function aR(i,o,v){var g=gs(gn,v);g.tag=iM;var C=i.type.getDerivedStateFromError;if(typeof C=="function"){var T=o.value;g.payload=function(){return C(T)},g.callback=function(){A3(i),iR(i,o)}}var R=i.stateNode;return R!==null&&typeof R.componentDidCatch=="function"&&(g.callback=function(){A3(i),iR(i,o),typeof C!="function"&&xte(this);var N=o.value,B=o.stack;this.componentDidCatch(N,{componentStack:B!==null?B:""}),typeof C!="function"&&(Ti(i.lanes,rt)||u("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",dt(i)||"Unknown"))}),g}function SB(i,o,v){var g=i.pingCache,C;if(g===null?(g=i.pingCache=new kJ,C=new Set,g.set(o,C)):(C=g.get(o),C===void 0&&(C=new Set,g.set(o,C))),!C.has(v)){C.add(v);var T=Ete.bind(null,i,o,v);Mr&&u0(i,v),o.then(T,T)}}function NJ(i,o,v,g){var C=i.updateQueue;if(C===null){var T=new Set;T.add(v),i.updateQueue=T}else C.add(v)}function PJ(i,o){var v=i.tag;if((i.mode&wt)===Je&&(v===d||v===O||v===U)){var g=i.alternate;g?(i.updateQueue=g.updateQueue,i.memoizedState=g.memoizedState,i.lanes=g.lanes):(i.updateQueue=null,i.memoizedState=null)}}function CB(i){var o=i;do{if(o.tag===I&&_J(o))return o;o=o.return}while(o!==null);return null}function wB(i,o,v,g,C){if((i.mode&wt)===Je){if(i===o)i.flags|=yr;else{if(i.flags|=lt,v.flags|=rd,v.flags&=~(lh|Vi),v.tag===h){var T=v.alternate;if(T===null)v.tag=j;else{var R=gs(gn,rt);R.tag=xC,Lf(v,R,rt)}}v.lanes=gt(v.lanes,rt)}return i}return i.flags|=yr,i.lanes=C,i}function IJ(i,o,v,g,C){if(v.flags|=Vi,Mr&&u0(i,C),g!==null&&typeof g=="object"&&typeof g.then=="function"){var T=g;PJ(v),ni()&&v.mode&wt&&d5();var R=CB(o);if(R!==null){R.flags&=~Vn,wB(R,o,v,i,C),R.mode&wt&&SB(i,T,C),NJ(R,i,T);return}else{if(!sf(C)){SB(i,T,C),FR();return}var k=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");g=k}}else if(ni()&&v.mode&wt){d5();var N=CB(o);if(N!==null){(N.flags&yr)===Qe&&(N.flags|=Vn),wB(N,o,v,i,C),ZD(Pd(g,v));return}}g=Pd(g,v),pte(g);var B=o;do{switch(B.tag){case m:{var V=g;B.flags|=yr;var K=ur(C);B.lanes=gt(B.lanes,K);var Q=_B(B,V,K);lM(B,Q);return}case h:var le=g,ue=B.type,de=B.stateNode;if((B.flags&lt)===Qe&&(typeof ue.getDerivedStateFromError=="function"||de!==null&&typeof de.componentDidCatch=="function"&&!C3(de))){B.flags|=yr;var Pe=ur(C);B.lanes=gt(B.lanes,Pe);var Ze=aR(B,le,Pe);lM(B,Ze);return}break}B=B.return}while(B!==null)}function zJ(){return null}var Wy=n.ReactCurrentOwner,dl=!1,oR,Xy,lR,uR,sR,Id,fR,ew;oR={},Xy={},lR={},uR={},sR={},Id=!1,fR={},ew={};function Wi(i,o,v,g){i===null?o.child=U5(o,null,v,g):o.child=pp(o,i.child,v,g)}function FJ(i,o,v,g){o.child=pp(o,i.child,null,g),o.child=pp(o,null,v,g)}function xB(i,o,v,g,C){if(o.type!==o.elementType){var T=v.propTypes;T&&ol(T,g,"prop",hn(v))}var R=v.render,k=o.ref,N,B;hp(o,C),Ql(o);{if(Wy.current=o,$a(!0),N=Cp(i,o,R,g,k,C),B=wp(),o.mode&Fn){lr(!0);try{N=Cp(i,o,R,g,k,C),B=wp()}finally{lr(!1)}}$a(!1)}return ju(),i!==null&&!dl?(j5(i,o,C),ms(i,o,C)):(ni()&&B&&jD(o),o.flags|=Gl,Wi(i,o,N,C),o.child)}function TB(i,o,v,g,C){if(i===null){var T=v.type;if(Gte(T)&&v.compare===null&&v.defaultProps===void 0){var R=T;return R=Ap(T),o.tag=U,o.type=R,vR(o,T),bB(i,o,R,g,C)}{var k=T.propTypes;k&&ol(k,g,"prop",hn(T))}var N=qR(v.type,null,g,o,o.mode,C);return N.ref=o.ref,N.return=o,o.child=N,N}{var B=v.type,V=B.propTypes;V&&ol(V,g,"prop",hn(B))}var K=i.child,Q=_R(i,C);if(!Q){var le=K.memoizedProps,ue=v.compare;if(ue=ue!==null?ue:Xe,ue(le,g)&&i.ref===o.ref)return ms(i,o,C)}o.flags|=Gl;var de=Vd(K,g);return de.ref=o.ref,de.return=o,o.child=de,de}function bB(i,o,v,g,C){if(o.type!==o.elementType){var T=o.elementType;if(T.$$typeof===tt){var R=T,k=R._payload,N=R._init;try{T=N(k)}catch{T=null}var B=T&&T.propTypes;B&&ol(B,g,"prop",hn(T))}}if(i!==null){var V=i.memoizedProps;if(Xe(V,g)&&i.ref===o.ref&&o.type===i.type)if(dl=!1,o.pendingProps=g=V,_R(i,C))(i.flags&rd)!==Qe&&(dl=!0);else return o.lanes=i.lanes,ms(i,o,C)}return cR(i,o,v,g,C)}function EB(i,o,v){var g=o.pendingProps,C=g.children,T=i!==null?i.memoizedState:null;if(g.mode==="hidden"||pe)if((o.mode&wt)===Je){var R={baseLanes:he,cachePool:null,transitions:null};o.memoizedState=R,vw(o,v)}else if(Ti(v,xi)){var K={baseLanes:he,cachePool:null,transitions:null};o.memoizedState=K;var Q=T!==null?T.baseLanes:v;vw(o,Q)}else{var k=null,N;if(T!==null){var B=T.baseLanes;N=gt(B,v)}else N=v;o.lanes=o.childLanes=xi;var V={baseLanes:N,cachePool:k,transitions:null};return o.memoizedState=V,o.updateQueue=null,vw(o,N),null}else{var le;T!==null?(le=gt(T.baseLanes,v),o.memoizedState=null):le=v,vw(o,le)}return Wi(i,o,C,v),o.child}function BJ(i,o,v){var g=o.pendingProps;return Wi(i,o,g,v),o.child}function UJ(i,o,v){var g=o.pendingProps.children;return Wi(i,o,g,v),o.child}function VJ(i,o,v){{o.flags|=pt;{var g=o.stateNode;g.effectDuration=0,g.passiveEffectDuration=0}}var C=o.pendingProps,T=C.children;return Wi(i,o,T,v),o.child}function DB(i,o){var v=o.ref;(i===null&&v!==null||i!==null&&i.ref!==v)&&(o.flags|=mi,o.flags|=Am)}function cR(i,o,v,g,C){if(o.type!==o.elementType){var T=v.propTypes;T&&ol(T,g,"prop",hn(v))}var R;{var k=up(o,v,!0);R=sp(o,k)}var N,B;hp(o,C),Ql(o);{if(Wy.current=o,$a(!0),N=Cp(i,o,v,g,R,C),B=wp(),o.mode&Fn){lr(!0);try{N=Cp(i,o,v,g,R,C),B=wp()}finally{lr(!1)}}$a(!1)}return ju(),i!==null&&!dl?(j5(i,o,C),ms(i,o,C)):(ni()&&B&&jD(o),o.flags|=Gl,Wi(i,o,N,C),o.child)}function MB(i,o,v,g,C){{switch(ine(o)){case!1:{var T=o.stateNode,R=o.type,k=new R(o.memoizedProps,T.context),N=k.state;T.updater.enqueueSetState(T,N,null);break}case!0:{o.flags|=lt,o.flags|=yr;var B=new Error("Simulated error coming from DevTools"),V=ur(C);o.lanes=gt(o.lanes,V);var K=aR(o,Pd(B,o),V);lM(o,K);break}}if(o.type!==o.elementType){var Q=v.propTypes;Q&&ol(Q,g,"prop",hn(v))}}var le;lu(v)?(le=!0,dC(o)):le=!1,hp(o,C);var ue=o.stateNode,de;ue===null?(nw(i,o),P5(o,v,g),_M(o,v,g,C),de=!0):i===null?de=vJ(o,v,g,C):de=hJ(i,o,v,g,C);var Pe=dR(i,o,v,de,le,C);{var Ze=o.stateNode;de&&Ze.props!==g&&(Id||u("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",dt(o)||"a component"),Id=!0)}return Pe}function dR(i,o,v,g,C,T){DB(i,o);var R=(o.flags&lt)!==Qe;if(!g&&!R)return C&&u5(o,v,!1),ms(i,o,T);var k=o.stateNode;Wy.current=o;var N;if(R&&typeof v.getDerivedStateFromError!="function")N=null,yB();else{Ql(o);{if($a(!0),N=k.render(),o.mode&Fn){lr(!0);try{k.render()}finally{lr(!1)}}$a(!1)}ju()}return o.flags|=Gl,i!==null&&R?FJ(i,o,N,T):Wi(i,o,N,T),o.memoizedState=k.state,C&&u5(o,v,!0),o.child}function RB(i){var o=i.stateNode;o.pendingContext?o5(i,o.pendingContext,o.pendingContext!==o.context):o.context&&o5(i,o.context,!1),bM(i,o.containerInfo)}function HJ(i,o,v){if(RB(o),i===null)throw new Error("Should have a current fiber. This is a bug in React.");var g=o.pendingProps,C=o.memoizedState,T=C.element;D5(i,o),DC(o,g,null,v);var R=o.memoizedState;o.stateNode;var k=R.element;if(C.isDehydrated){var N={element:k,isDehydrated:!1,cache:R.cache,pendingSuspenseBoundaries:R.pendingSuspenseBoundaries,transitions:R.transitions},B=o.updateQueue;if(B.baseState=N,o.memoizedState=N,o.flags&Vn){var V=Pd(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),o);return AB(i,o,k,v,V)}else if(k!==T){var K=Pd(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),o);return AB(i,o,k,v,K)}else{YK(o);var Q=U5(o,null,k,v);o.child=Q;for(var le=Q;le;)le.flags=le.flags&~Cn|pa,le=le.sibling}}else{if(dp(),k===T)return ms(i,o,v);Wi(i,o,k,v)}return o.child}function AB(i,o,v,g,C){return dp(),ZD(C),o.flags|=Vn,Wi(i,o,v,g),o.child}function GJ(i,o,v){H5(o),i===null&&QD(o);var g=o.type,C=o.pendingProps,T=i!==null?i.memoizedProps:null,R=C.children,k=LD(g,C);return k?R=null:T!==null&&LD(g,T)&&(o.flags|=Kt),DB(i,o),Wi(i,o,R,v),o.child}function $J(i,o){return i===null&&QD(o),null}function jJ(i,o,v,g){nw(i,o);var C=o.pendingProps,T=v,R=T._payload,k=T._init,N=k(R);o.type=N;var B=o.tag=$te(N),V=sl(N,C),K;switch(B){case d:return vR(o,N),o.type=N=Ap(N),K=cR(null,o,N,V,g),K;case h:return o.type=N=GR(N),K=MB(null,o,N,V,g),K;case O:return o.type=N=$R(N),K=xB(null,o,N,V,g),K;case F:{if(o.type!==o.elementType){var Q=N.propTypes;Q&&ol(Q,V,"prop",hn(N))}return K=TB(null,o,N,sl(N.type,V),g),K}}var le="";throw N!==null&&typeof N=="object"&&N.$$typeof===tt&&(le=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+N+". "+("Lazy element type must resolve to a class or function."+le))}function YJ(i,o,v,g,C){nw(i,o),o.tag=h;var T;return lu(v)?(T=!0,dC(o)):T=!1,hp(o,C),P5(o,v,g),_M(o,v,g,C),dR(null,o,v,!0,T,C)}function WJ(i,o,v,g){nw(i,o);var C=o.pendingProps,T;{var R=up(o,v,!1);T=sp(o,R)}hp(o,g);var k,N;Ql(o);{if(v.prototype&&typeof v.prototype.render=="function"){var B=hn(v)||"Unknown";oR[B]||(u("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.",B,B),oR[B]=!0)}o.mode&Fn&&ul.recordLegacyContextWarning(o,null),$a(!0),Wy.current=o,k=Cp(null,o,v,C,T,g),N=wp(),$a(!1)}if(ju(),o.flags|=Gl,typeof k=="object"&&k!==null&&typeof k.render=="function"&&k.$$typeof===void 0){var V=hn(v)||"Unknown";Xy[V]||(u("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",V,V,V),Xy[V]=!0)}if(typeof k=="object"&&k!==null&&typeof k.render=="function"&&k.$$typeof===void 0){{var K=hn(v)||"Unknown";Xy[K]||(u("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",K,K,K),Xy[K]=!0)}o.tag=h,o.memoizedState=null,o.updateQueue=null;var Q=!1;return lu(v)?(Q=!0,dC(o)):Q=!1,o.memoizedState=k.state!==null&&k.state!==void 0?k.state:null,oM(o),N5(o,k),_M(o,v,C,g),dR(null,o,v,!0,Q,g)}else{if(o.tag=d,o.mode&Fn){lr(!0);try{k=Cp(null,o,v,C,T,g),N=wp()}finally{lr(!1)}}return ni()&&N&&jD(o),Wi(null,o,k,g),vR(o,v),o.child}}function vR(i,o){{if(o&&o.childContextTypes&&u("%s(...): childContextTypes cannot be defined on a function component.",o.displayName||o.name||"Component"),i.ref!==null){var v="",g=ca();g&&(v+=`
147
-
148
- Check the render method of \``+g+"`.");var C=g||"",T=i._debugSource;T&&(C=T.fileName+":"+T.lineNumber),sR[C]||(sR[C]=!0,u("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",v))}if(typeof o.getDerivedStateFromProps=="function"){var R=hn(o)||"Unknown";uR[R]||(u("%s: Function components do not support getDerivedStateFromProps.",R),uR[R]=!0)}if(typeof o.contextType=="object"&&o.contextType!==null){var k=hn(o)||"Unknown";lR[k]||(u("%s: Function components do not support contextType.",k),lR[k]=!0)}}}var hR={dehydrated:null,treeContext:null,retryLane:At};function pR(i){return{baseLanes:i,cachePool:zJ(),transitions:null}}function XJ(i,o){var v=null;return{baseLanes:gt(i.baseLanes,o),cachePool:v,transitions:i.transitions}}function qJ(i,o,v,g){if(o!==null){var C=o.memoizedState;if(C===null)return!1}return MM(i,By)}function QJ(i,o){return ff(i.childLanes,o)}function LB(i,o,v){var g=o.pendingProps;ane(o)&&(o.flags|=lt);var C=fl.current,T=!1,R=(o.flags&lt)!==Qe;if(R||qJ(C,i)?(T=!0,o.flags&=~lt):(i===null||i.memoizedState!==null)&&(C=yJ(C,$5)),C=mp(C),kf(o,C),i===null){QD(o);var k=o.memoizedState;if(k!==null){var N=k.dehydrated;if(N!==null)return tee(o,N)}var B=g.children,V=g.fallback;if(T){var K=ZJ(o,B,V,v),Q=o.child;return Q.memoizedState=pR(v),o.memoizedState=hR,K}else return gR(o,B)}else{var le=i.memoizedState;if(le!==null){var ue=le.dehydrated;if(ue!==null)return nee(i,o,R,g,ue,le,v)}if(T){var de=g.fallback,Pe=g.children,Ze=JJ(i,o,Pe,de,v),We=o.child,Ot=i.child.memoizedState;return We.memoizedState=Ot===null?pR(v):XJ(Ot,v),We.childLanes=QJ(i,v),o.memoizedState=hR,Ze}else{var Rt=g.children,ne=KJ(i,o,Rt,v);return o.memoizedState=null,ne}}}function gR(i,o,v){var g=i.mode,C={mode:"visible",children:o},T=mR(C,g);return T.return=i,i.child=T,T}function ZJ(i,o,v,g){var C=i.mode,T=i.child,R={mode:"hidden",children:o},k,N;return(C&wt)===Je&&T!==null?(k=T,k.childLanes=he,k.pendingProps=R,i.mode&nt&&(k.actualDuration=0,k.actualStartTime=-1,k.selfBaseDuration=0,k.treeBaseDuration=0),N=Vf(v,C,g,null)):(k=mR(R,C),N=Vf(v,C,g,null)),k.return=i,N.return=i,k.sibling=N,i.child=k,N}function mR(i,o,v){return O3(i,o,he,null)}function OB(i,o){return Vd(i,o)}function KJ(i,o,v,g){var C=i.child,T=C.sibling,R=OB(C,{mode:"visible",children:v});if((o.mode&wt)===Je&&(R.lanes=g),R.return=o,R.sibling=null,T!==null){var k=o.deletions;k===null?(o.deletions=[T],o.flags|=qt):k.push(T)}return o.child=R,R}function JJ(i,o,v,g,C){var T=o.mode,R=i.child,k=R.sibling,N={mode:"hidden",children:v},B;if((T&wt)===Je&&o.child!==R){var V=o.child;B=V,B.childLanes=he,B.pendingProps=N,o.mode&nt&&(B.actualDuration=0,B.actualStartTime=-1,B.selfBaseDuration=R.selfBaseDuration,B.treeBaseDuration=R.treeBaseDuration),o.deletions=null}else B=OB(R,N),B.subtreeFlags=R.subtreeFlags&Dr;var K;return k!==null?K=Vd(k,g):(K=Vf(g,T,C,null),K.flags|=Cn),K.return=o,B.return=o,B.sibling=K,o.child=B,K}function tw(i,o,v,g){g!==null&&ZD(g),pp(o,i.child,null,v);var C=o.pendingProps,T=C.children,R=gR(o,T);return R.flags|=Cn,o.memoizedState=null,R}function eee(i,o,v,g,C){var T=o.mode,R={mode:"visible",children:v},k=mR(R,T),N=Vf(g,T,C,null);return N.flags|=Cn,k.return=o,N.return=o,k.sibling=N,o.child=k,(o.mode&wt)!==Je&&pp(o,i.child,null,C),N}function tee(i,o,v){return(i.mode&wt)===Je?(u("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),i.lanes=rt):PD(o)?i.lanes=Xu:i.lanes=xi,null}function nee(i,o,v,g,C,T,R){if(v)if(o.flags&Vn){o.flags&=~Vn;var ne=rR(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return tw(i,o,R,ne)}else{if(o.memoizedState!==null)return o.child=i.child,o.flags|=lt,null;var ve=g.children,re=g.fallback,xe=eee(i,o,ve,re,R),Ie=o.child;return Ie.memoizedState=pR(R),o.memoizedState=hR,xe}else{if($K(),(o.mode&wt)===Je)return tw(i,o,R,null);if(PD(C)){var k,N,B;{var V=lK(C);k=V.digest,N=V.message,B=V.stack}var K;N?K=new Error(N):K=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var Q=rR(K,k,B);return tw(i,o,R,Q)}var le=Ti(R,i.childLanes);if(dl||le){var ue=dw();if(ue!==null){var de=nD(ue,R);if(de!==At&&de!==T.retryLane){T.retryLane=de;var Pe=gn;ba(i,de),zr(ue,i,de,Pe)}}FR();var Ze=rR(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return tw(i,o,R,Ze)}else if(e5(C)){o.flags|=lt,o.child=i.child;var We=Dte.bind(null,i);return uK(C,We),null}else{WK(o,C,T.treeContext);var Ot=g.children,Rt=gR(o,Ot);return Rt.flags|=pa,Rt}}}function kB(i,o,v){i.lanes=gt(i.lanes,o);var g=i.alternate;g!==null&&(g.lanes=gt(g.lanes,o)),nM(i.return,o,v)}function ree(i,o,v){for(var g=o;g!==null;){if(g.tag===I){var C=g.memoizedState;C!==null&&kB(g,v,i)}else if(g.tag===G)kB(g,v,i);else if(g.child!==null){g.child.return=g,g=g.child;continue}if(g===i)return;for(;g.sibling===null;){if(g.return===null||g.return===i)return;g=g.return}g.sibling.return=g.return,g=g.sibling}}function iee(i){for(var o=i,v=null;o!==null;){var g=o.alternate;g!==null&&NC(g)===null&&(v=o),o=o.sibling}return v}function aee(i){if(i!==void 0&&i!=="forwards"&&i!=="backwards"&&i!=="together"&&!fR[i])if(fR[i]=!0,typeof i=="string")switch(i.toLowerCase()){case"together":case"forwards":case"backwards":{u('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',i,i.toLowerCase());break}case"forward":case"backward":{u('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',i,i.toLowerCase());break}default:u('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',i);break}else u('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',i)}function oee(i,o){i!==void 0&&!ew[i]&&(i!=="collapsed"&&i!=="hidden"?(ew[i]=!0,u('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',i)):o!=="forwards"&&o!=="backwards"&&(ew[i]=!0,u('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',i)))}function NB(i,o){{var v=gr(i),g=!v&&typeof Go(i)=="function";if(v||g){var C=v?"array":"iterable";return u("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>",C,o,C),!1}}return!0}function lee(i,o){if((o==="forwards"||o==="backwards")&&i!==void 0&&i!==null&&i!==!1)if(gr(i)){for(var v=0;v<i.length;v++)if(!NB(i[v],v))return}else{var g=Go(i);if(typeof g=="function"){var C=g.call(i);if(C)for(var T=C.next(),R=0;!T.done;T=C.next()){if(!NB(T.value,R))return;R++}}else u('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?',o)}}function yR(i,o,v,g,C){var T=i.memoizedState;T===null?i.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:g,tail:v,tailMode:C}:(T.isBackwards=o,T.rendering=null,T.renderingStartTime=0,T.last=g,T.tail=v,T.tailMode=C)}function PB(i,o,v){var g=o.pendingProps,C=g.revealOrder,T=g.tail,R=g.children;aee(C),oee(T,C),lee(R,C),Wi(i,o,R,v);var k=fl.current,N=MM(k,By);if(N)k=RM(k,By),o.flags|=lt;else{var B=i!==null&&(i.flags&lt)!==Qe;B&&ree(o,o.child,v),k=mp(k)}if(kf(o,k),(o.mode&wt)===Je)o.memoizedState=null;else switch(C){case"forwards":{var V=iee(o.child),K;V===null?(K=o.child,o.child=null):(K=V.sibling,V.sibling=null),yR(o,!1,K,V,T);break}case"backwards":{var Q=null,le=o.child;for(o.child=null;le!==null;){var ue=le.alternate;if(ue!==null&&NC(ue)===null){o.child=le;break}var de=le.sibling;le.sibling=Q,Q=le,le=de}yR(o,!0,Q,null,T);break}case"together":{yR(o,!1,null,null,void 0);break}default:o.memoizedState=null}return o.child}function uee(i,o,v){bM(o,o.stateNode.containerInfo);var g=o.pendingProps;return i===null?o.child=pp(o,null,g,v):Wi(i,o,g,v),o.child}var IB=!1;function see(i,o,v){var g=o.type,C=g._context,T=o.pendingProps,R=o.memoizedProps,k=T.value;{"value"in T||IB||(IB=!0,u("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var N=o.type.propTypes;N&&ol(N,T,"prop","Context.Provider")}if(x5(o,C,k),R!==null){var B=R.value;if(Ve(B,k)){if(R.children===T.children&&!fC())return ms(i,o,v)}else rJ(o,C,v)}var V=T.children;return Wi(i,o,V,v),o.child}var zB=!1;function fee(i,o,v){var g=o.type;g._context===void 0?g!==g.Consumer&&(zB||(zB=!0,u("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):g=g._context;var C=o.pendingProps,T=C.children;typeof T!="function"&&u("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."),hp(o,v);var R=xr(g);Ql(o);var k;return Wy.current=o,$a(!0),k=T(R),$a(!1),ju(),o.flags|=Gl,Wi(i,o,k,v),o.child}function qy(){dl=!0}function nw(i,o){(o.mode&wt)===Je&&i!==null&&(i.alternate=null,o.alternate=null,o.flags|=Cn)}function ms(i,o,v){return i!==null&&(o.dependencies=i.dependencies),yB(),l0(o.lanes),Ti(v,o.childLanes)?(pJ(i,o),o.child):null}function cee(i,o,v){{var g=o.return;if(g===null)throw new Error("Cannot swap the root fiber.");if(i.alternate=null,o.alternate=null,v.index=o.index,v.sibling=o.sibling,v.return=o.return,v.ref=o.ref,o===g.child)g.child=v;else{var C=g.child;if(C===null)throw new Error("Expected parent to have a child.");for(;C.sibling!==o;)if(C=C.sibling,C===null)throw new Error("Expected to find the previous sibling.");C.sibling=v}var T=g.deletions;return T===null?(g.deletions=[i],g.flags|=qt):T.push(i),v.flags|=Cn,v}}function _R(i,o){var v=i.lanes;return!!Ti(v,o)}function dee(i,o,v){switch(o.tag){case m:RB(o),o.stateNode,dp();break;case _:H5(o);break;case h:{var g=o.type;lu(g)&&dC(o);break}case S:bM(o,o.stateNode.containerInfo);break;case A:{var C=o.memoizedProps.value,T=o.type._context;x5(o,T,C);break}case P:{var R=Ti(v,o.childLanes);R&&(o.flags|=pt);{var k=o.stateNode;k.effectDuration=0,k.passiveEffectDuration=0}}break;case I:{var N=o.memoizedState;if(N!==null){if(N.dehydrated!==null)return kf(o,mp(fl.current)),o.flags|=lt,null;var B=o.child,V=B.childLanes;if(Ti(v,V))return LB(i,o,v);kf(o,mp(fl.current));var K=ms(i,o,v);return K!==null?K.sibling:null}else kf(o,mp(fl.current));break}case G:{var Q=(i.flags&lt)!==Qe,le=Ti(v,o.childLanes);if(Q){if(le)return PB(i,o,v);o.flags|=lt}var ue=o.memoizedState;if(ue!==null&&(ue.rendering=null,ue.tail=null,ue.lastEffect=null),kf(o,fl.current),le)break;return null}case J:case ie:return o.lanes=he,EB(i,o,v)}return ms(i,o,v)}function FB(i,o,v){if(o._debugNeedsRemount&&i!==null)return cee(i,o,qR(o.type,o.key,o.pendingProps,o._debugOwner||null,o.mode,o.lanes));if(i!==null){var g=i.memoizedProps,C=o.pendingProps;if(g!==C||fC()||o.type!==i.type)dl=!0;else{var T=_R(i,v);if(!T&&(o.flags&lt)===Qe)return dl=!1,dee(i,o,v);(i.flags&rd)!==Qe?dl=!0:dl=!1}}else if(dl=!1,ni()&&FK(o)){var R=o.index,k=BK();c5(o,k,R)}switch(o.lanes=he,o.tag){case p:return WJ(i,o,o.type,v);case H:{var N=o.elementType;return jJ(i,o,N,v)}case d:{var B=o.type,V=o.pendingProps,K=o.elementType===B?V:sl(B,V);return cR(i,o,B,K,v)}case h:{var Q=o.type,le=o.pendingProps,ue=o.elementType===Q?le:sl(Q,le);return MB(i,o,Q,ue,v)}case m:return HJ(i,o,v);case _:return GJ(i,o,v);case x:return $J(i,o);case I:return LB(i,o,v);case S:return uee(i,o,v);case O:{var de=o.type,Pe=o.pendingProps,Ze=o.elementType===de?Pe:sl(de,Pe);return xB(i,o,de,Ze,v)}case E:return BJ(i,o,v);case b:return UJ(i,o,v);case P:return VJ(i,o,v);case A:return see(i,o,v);case D:return fee(i,o,v);case F:{var We=o.type,Ot=o.pendingProps,Rt=sl(We,Ot);if(o.type!==o.elementType){var ne=We.propTypes;ne&&ol(ne,Rt,"prop",hn(We))}return Rt=sl(We.type,Rt),TB(i,o,We,Rt,v)}case U:return bB(i,o,o.type,o.pendingProps,v);case j:{var ve=o.type,re=o.pendingProps,xe=o.elementType===ve?re:sl(ve,re);return YJ(i,o,ve,xe,v)}case G:return PB(i,o,v);case ee:break;case J:return EB(i,o,v)}throw new Error("Unknown unit of work tag ("+o.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function xp(i){i.flags|=pt}function BB(i){i.flags|=mi,i.flags|=Am}var UB,SR,VB,HB;UB=function(i,o,v,g){for(var C=o.child;C!==null;){if(C.tag===_||C.tag===x)PZ(i,C.stateNode);else if(C.tag!==S){if(C.child!==null){C.child.return=C,C=C.child;continue}}if(C===o)return;for(;C.sibling===null;){if(C.return===null||C.return===o)return;C=C.return}C.sibling.return=C.return,C=C.sibling}},SR=function(i,o){},VB=function(i,o,v,g,C){var T=i.memoizedProps;if(T!==g){var R=o.stateNode,k=EM(),N=zZ(R,v,T,g,C,k);o.updateQueue=N,N&&xp(o)}},HB=function(i,o,v,g){v!==g&&xp(o)};function Qy(i,o){if(!ni())switch(i.tailMode){case"hidden":{for(var v=i.tail,g=null;v!==null;)v.alternate!==null&&(g=v),v=v.sibling;g===null?i.tail=null:g.sibling=null;break}case"collapsed":{for(var C=i.tail,T=null;C!==null;)C.alternate!==null&&(T=C),C=C.sibling;T===null?!o&&i.tail!==null?i.tail.sibling=null:i.tail=null:T.sibling=null;break}}}function ii(i){var o=i.alternate!==null&&i.alternate.child===i.child,v=he,g=Qe;if(o){if((i.mode&nt)!==Je){for(var N=i.selfBaseDuration,B=i.child;B!==null;)v=gt(v,gt(B.lanes,B.childLanes)),g|=B.subtreeFlags&Dr,g|=B.flags&Dr,N+=B.treeBaseDuration,B=B.sibling;i.treeBaseDuration=N}else for(var V=i.child;V!==null;)v=gt(v,gt(V.lanes,V.childLanes)),g|=V.subtreeFlags&Dr,g|=V.flags&Dr,V.return=i,V=V.sibling;i.subtreeFlags|=g}else{if((i.mode&nt)!==Je){for(var C=i.actualDuration,T=i.selfBaseDuration,R=i.child;R!==null;)v=gt(v,gt(R.lanes,R.childLanes)),g|=R.subtreeFlags,g|=R.flags,C+=R.actualDuration,T+=R.treeBaseDuration,R=R.sibling;i.actualDuration=C,i.treeBaseDuration=T}else for(var k=i.child;k!==null;)v=gt(v,gt(k.lanes,k.childLanes)),g|=k.subtreeFlags,g|=k.flags,k.return=i,k=k.sibling;i.subtreeFlags|=g}return i.childLanes=v,o}function vee(i,o,v){if(KK()&&(o.mode&wt)!==Je&&(o.flags&lt)===Qe)return y5(o),dp(),o.flags|=Vn|Vi|yr,!1;var g=mC(o);if(v!==null&&v.dehydrated!==null)if(i===null){if(!g)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(QK(o),ii(o),(o.mode&nt)!==Je){var C=v!==null;if(C){var T=o.child;T!==null&&(o.treeBaseDuration-=T.treeBaseDuration)}}return!1}else{if(dp(),(o.flags&lt)===Qe&&(o.memoizedState=null),o.flags|=pt,ii(o),(o.mode&nt)!==Je){var R=v!==null;if(R){var k=o.child;k!==null&&(o.treeBaseDuration-=k.treeBaseDuration)}}return!1}else return _5(),!0}function GB(i,o,v){var g=o.pendingProps;switch(YD(o),o.tag){case p:case H:case U:case d:case O:case E:case b:case P:case D:case F:return ii(o),null;case h:{var C=o.type;return lu(C)&&cC(o),ii(o),null}case m:{var T=o.stateNode;if(gp(o),HD(o),LM(),T.pendingContext&&(T.context=T.pendingContext,T.pendingContext=null),i===null||i.child===null){var R=mC(o);if(R)xp(o);else if(i!==null){var k=i.memoizedState;(!k.isDehydrated||(o.flags&Vn)!==Qe)&&(o.flags|=ha,_5())}}return SR(i,o),ii(o),null}case _:{DM(o);var N=V5(),B=o.type;if(i!==null&&o.stateNode!=null)VB(i,o,B,g,N),i.ref!==o.ref&&BB(o);else{if(!g){if(o.stateNode===null)throw new 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(o),null}var V=EM(),K=mC(o);if(K)XK(o,N,V)&&xp(o);else{var Q=NZ(B,g,N,V,o);UB(Q,o,!1,!1),o.stateNode=Q,IZ(Q,B,g,N)&&xp(o)}o.ref!==null&&BB(o)}return ii(o),null}case x:{var le=g;if(i&&o.stateNode!=null){var ue=i.memoizedProps;HB(i,o,ue,le)}else{if(typeof le!="string"&&o.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var de=V5(),Pe=EM(),Ze=mC(o);Ze?qK(o)&&xp(o):o.stateNode=FZ(le,de,Pe,o)}return ii(o),null}case I:{yp(o);var We=o.memoizedState;if(i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){var Ot=vee(i,o,We);if(!Ot)return o.flags&yr?o:null}if((o.flags&lt)!==Qe)return o.lanes=v,(o.mode&nt)!==Je&&nR(o),o;var Rt=We!==null,ne=i!==null&&i.memoizedState!==null;if(Rt!==ne&&Rt){var ve=o.child;if(ve.flags|=$l,(o.mode&wt)!==Je){var re=i===null&&(o.memoizedProps.unstable_avoidThisFallback!==!0||!Le);re||MM(fl.current,$5)?hte():FR()}}var xe=o.updateQueue;if(xe!==null&&(o.flags|=pt),ii(o),(o.mode&nt)!==Je&&Rt){var Ie=o.child;Ie!==null&&(o.treeBaseDuration-=Ie.treeBaseDuration)}return null}case S:return gp(o),SR(i,o),i===null&&LK(o.stateNode.containerInfo),ii(o),null;case A:var Ae=o.type._context;return tM(Ae,o),ii(o),null;case j:{var at=o.type;return lu(at)&&cC(o),ii(o),null}case G:{yp(o);var ct=o.memoizedState;if(ct===null)return ii(o),null;var sn=(o.flags&lt)!==Qe,jt=ct.rendering;if(jt===null)if(sn)Qy(ct,!1);else{var dr=gte()&&(i===null||(i.flags&lt)===Qe);if(!dr)for(var Yt=o.child;Yt!==null;){var nr=NC(Yt);if(nr!==null){sn=!0,o.flags|=lt,Qy(ct,!1);var Mi=nr.updateQueue;return Mi!==null&&(o.updateQueue=Mi,o.flags|=pt),o.subtreeFlags=Qe,gJ(o,v),kf(o,RM(fl.current,By)),o.child}Yt=Yt.sibling}ct.tail!==null&&zn()>f3()&&(o.flags|=lt,sn=!0,Qy(ct,!1),o.lanes=Gm)}else{if(!sn){var si=NC(jt);if(si!==null){o.flags|=lt,sn=!0;var Ka=si.updateQueue;if(Ka!==null&&(o.updateQueue=Ka,o.flags|=pt),Qy(ct,!0),ct.tail===null&&ct.tailMode==="hidden"&&!jt.alternate&&!ni())return ii(o),null}else zn()*2-ct.renderingStartTime>f3()&&v!==xi&&(o.flags|=lt,sn=!0,Qy(ct,!1),o.lanes=Gm)}if(ct.isBackwards)jt.sibling=o.child,o.child=jt;else{var Qi=ct.last;Qi!==null?Qi.sibling=jt:o.child=jt,ct.last=jt}}if(ct.tail!==null){var Zi=ct.tail;ct.rendering=Zi,ct.tail=Zi.sibling,ct.renderingStartTime=zn(),Zi.sibling=null;var Ri=fl.current;return sn?Ri=RM(Ri,By):Ri=mp(Ri),kf(o,Ri),Zi}return ii(o),null}case ee:break;case J:case ie:{zR(o);var ws=o.memoizedState,Lp=ws!==null;if(i!==null){var d0=i.memoizedState,pu=d0!==null;pu!==Lp&&!pe&&(o.flags|=$l)}return!Lp||(o.mode&wt)===Je?ii(o):Ti(hu,xi)&&(ii(o),o.subtreeFlags&(Cn|pt)&&(o.flags|=$l)),null}case ce:return null;case fe:return null}throw new Error("Unknown unit of work tag ("+o.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function hee(i,o,v){switch(YD(o),o.tag){case h:{var g=o.type;lu(g)&&cC(o);var C=o.flags;return C&yr?(o.flags=C&~yr|lt,(o.mode&nt)!==Je&&nR(o),o):null}case m:{o.stateNode,gp(o),HD(o),LM();var T=o.flags;return(T&yr)!==Qe&&(T&lt)===Qe?(o.flags=T&~yr|lt,o):null}case _:return DM(o),null;case I:{yp(o);var R=o.memoizedState;if(R!==null&&R.dehydrated!==null){if(o.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");dp()}var k=o.flags;return k&yr?(o.flags=k&~yr|lt,(o.mode&nt)!==Je&&nR(o),o):null}case G:return yp(o),null;case S:return gp(o),null;case A:var N=o.type._context;return tM(N,o),null;case J:case ie:return zR(o),null;case ce:return null;default:return null}}function $B(i,o,v){switch(YD(o),o.tag){case h:{var g=o.type.childContextTypes;g!=null&&cC(o);break}case m:{o.stateNode,gp(o),HD(o),LM();break}case _:{DM(o);break}case S:gp(o);break;case I:yp(o);break;case G:yp(o);break;case A:var C=o.type._context;tM(C,o);break;case J:case ie:zR(o);break}}var jB=null;jB=new Set;var rw=!1,ai=!1,pee=typeof WeakSet=="function"?WeakSet:Set,He=null,Tp=null,bp=null;function gee(i){Gu(null,function(){throw i}),Mm()}var mee=function(i,o){if(o.props=i.memoizedProps,o.state=i.memoizedState,i.mode&nt)try{du(),o.componentWillUnmount()}finally{cu(i)}else o.componentWillUnmount()};function YB(i,o){try{If(Lr,i)}catch(v){bn(i,o,v)}}function CR(i,o,v){try{mee(i,v)}catch(g){bn(i,o,g)}}function yee(i,o,v){try{v.componentDidMount()}catch(g){bn(i,o,g)}}function WB(i,o){try{qB(i)}catch(v){bn(i,o,v)}}function Ep(i,o){var v=i.ref;if(v!==null)if(typeof v=="function"){var g;try{if(Xt&&Mn&&i.mode&nt)try{du(),g=v(null)}finally{cu(i)}else g=v(null)}catch(C){bn(i,o,C)}typeof g=="function"&&u("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",dt(i))}else v.current=null}function iw(i,o,v){try{v()}catch(g){bn(i,o,g)}}var XB=!1;function _ee(i,o){OZ(i.containerInfo),He=o,See();var v=XB;return XB=!1,v}function See(){for(;He!==null;){var i=He,o=i.child;(i.subtreeFlags&tf)!==Qe&&o!==null?(o.return=i,He=o):Cee()}}function Cee(){for(;He!==null;){var i=He;ln(i);try{wee(i)}catch(v){bn(i,i.return,v)}or();var o=i.sibling;if(o!==null){o.return=i.return,He=o;return}He=i.return}}function wee(i){var o=i.alternate,v=i.flags;if((v&ha)!==Qe){switch(ln(i),i.tag){case d:case O:case U:break;case h:{if(o!==null){var g=o.memoizedProps,C=o.memoizedState,T=i.stateNode;i.type===i.elementType&&!Id&&(T.props!==i.memoizedProps&&u("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.",dt(i)||"instance"),T.state!==i.memoizedState&&u("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.",dt(i)||"instance"));var R=T.getSnapshotBeforeUpdate(i.elementType===i.type?g:sl(i.type,g),C);{var k=jB;R===void 0&&!k.has(i.type)&&(k.add(i.type),u("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",dt(i)))}T.__reactInternalSnapshotBeforeUpdate=R}break}case m:{{var N=i.stateNode;rK(N.containerInfo)}break}case _:case x:case S:case j:break;default:throw new 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.")}or()}}function vl(i,o,v){var g=o.updateQueue,C=g!==null?g.lastEffect:null;if(C!==null){var T=C.next,R=T;do{if((R.tag&i)===i){var k=R.destroy;R.destroy=void 0,k!==void 0&&((i&ri)!==Ea?ph(o):(i&Lr)!==Ea&&gh(o),(i&uu)!==Ea&&s0(!0),iw(o,v,k),(i&uu)!==Ea&&s0(!1),(i&ri)!==Ea?gS():(i&Lr)!==Ea&&nf())}R=R.next}while(R!==T)}}function If(i,o){var v=o.updateQueue,g=v!==null?v.lastEffect:null;if(g!==null){var C=g.next,T=C;do{if((T.tag&i)===i){(i&ri)!==Ea?pS(o):(i&Lr)!==Ea&&mS(o);var R=T.create;(i&uu)!==Ea&&s0(!0),T.destroy=R(),(i&uu)!==Ea&&s0(!1),(i&ri)!==Ea?Um():(i&Lr)!==Ea&&yS();{var k=T.destroy;if(k!==void 0&&typeof k!="function"){var N=void 0;(T.tag&Lr)!==Qe?N="useLayoutEffect":(T.tag&uu)!==Qe?N="useInsertionEffect":N="useEffect";var B=void 0;k===null?B=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof k.then=="function"?B=`
149
-
150
- It looks like you wrote `+N+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
151
-
152
- `+N+`(() => {
153
- async function fetchData() {
154
- // You can await here
155
- const response = await MyAPI.getData(someId);
156
- // ...
157
- }
158
- fetchData();
159
- }, [someId]); // Or [] if effect doesn't need props or state
160
-
161
- Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:B=" You returned: "+k,u("%s must not return anything besides a function, which is used for clean-up.%s",N,B)}}}T=T.next}while(T!==C)}}function xee(i,o){if((o.flags&pt)!==Qe)switch(o.tag){case P:{var v=o.stateNode.passiveEffectDuration,g=o.memoizedProps,C=g.id,T=g.onPostCommit,R=gB(),k=o.alternate===null?"mount":"update";pB()&&(k="nested-update"),typeof T=="function"&&T(C,k,v,R);var N=o.return;e:for(;N!==null;){switch(N.tag){case m:var B=N.stateNode;B.passiveEffectDuration+=v;break e;case P:var V=N.stateNode;V.passiveEffectDuration+=v;break e}N=N.return}break}}}function Tee(i,o,v,g){if((v.flags&Gr)!==Qe)switch(v.tag){case d:case O:case U:{if(!ai)if(v.mode&nt)try{du(),If(Lr|Ar,v)}finally{cu(v)}else If(Lr|Ar,v);break}case h:{var C=v.stateNode;if(v.flags&pt&&!ai)if(o===null)if(v.type===v.elementType&&!Id&&(C.props!==v.memoizedProps&&u("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.",dt(v)||"instance"),C.state!==v.memoizedState&&u("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.",dt(v)||"instance")),v.mode&nt)try{du(),C.componentDidMount()}finally{cu(v)}else C.componentDidMount();else{var T=v.elementType===v.type?o.memoizedProps:sl(v.type,o.memoizedProps),R=o.memoizedState;if(v.type===v.elementType&&!Id&&(C.props!==v.memoizedProps&&u("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.",dt(v)||"instance"),C.state!==v.memoizedState&&u("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.",dt(v)||"instance")),v.mode&nt)try{du(),C.componentDidUpdate(T,R,C.__reactInternalSnapshotBeforeUpdate)}finally{cu(v)}else C.componentDidUpdate(T,R,C.__reactInternalSnapshotBeforeUpdate)}var k=v.updateQueue;k!==null&&(v.type===v.elementType&&!Id&&(C.props!==v.memoizedProps&&u("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.",dt(v)||"instance"),C.state!==v.memoizedState&&u("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.",dt(v)||"instance")),R5(v,k,C));break}case m:{var N=v.updateQueue;if(N!==null){var B=null;if(v.child!==null)switch(v.child.tag){case _:B=v.child.stateNode;break;case h:B=v.child.stateNode;break}R5(v,N,B)}break}case _:{var V=v.stateNode;if(o===null&&v.flags&pt){var K=v.type,Q=v.memoizedProps;GZ(V,K,Q)}break}case x:break;case S:break;case P:{{var le=v.memoizedProps,ue=le.onCommit,de=le.onRender,Pe=v.stateNode.effectDuration,Ze=gB(),We=o===null?"mount":"update";pB()&&(We="nested-update"),typeof de=="function"&&de(v.memoizedProps.id,We,v.actualDuration,v.treeBaseDuration,v.actualStartTime,Ze);{typeof ue=="function"&&ue(v.memoizedProps.id,We,Pe,Ze),Cte(v);var Ot=v.return;e:for(;Ot!==null;){switch(Ot.tag){case m:var Rt=Ot.stateNode;Rt.effectDuration+=Pe;break e;case P:var ne=Ot.stateNode;ne.effectDuration+=Pe;break e}Ot=Ot.return}}}break}case I:{Oee(i,v);break}case G:case j:case ee:case J:case ie:case fe:break;default:throw new 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.")}ai||v.flags&mi&&qB(v)}function bee(i){switch(i.tag){case d:case O:case U:{if(i.mode&nt)try{du(),YB(i,i.return)}finally{cu(i)}else YB(i,i.return);break}case h:{var o=i.stateNode;typeof o.componentDidMount=="function"&&yee(i,i.return,o),WB(i,i.return);break}case _:{WB(i,i.return);break}}}function Eee(i,o){for(var v=null,g=i;;){if(g.tag===_){if(v===null){v=g;try{var C=g.stateNode;o?JZ(C):tK(g.stateNode,g.memoizedProps)}catch(R){bn(i,i.return,R)}}}else if(g.tag===x){if(v===null)try{var T=g.stateNode;o?eK(T):nK(T,g.memoizedProps)}catch(R){bn(i,i.return,R)}}else if(!((g.tag===J||g.tag===ie)&&g.memoizedState!==null&&g!==i)){if(g.child!==null){g.child.return=g,g=g.child;continue}}if(g===i)return;for(;g.sibling===null;){if(g.return===null||g.return===i)return;v===g&&(v=null),g=g.return}v===g&&(v=null),g.sibling.return=g.return,g=g.sibling}}function qB(i){var o=i.ref;if(o!==null){var v=i.stateNode,g;switch(i.tag){case _:g=v;break;default:g=v}if(typeof o=="function"){var C;if(i.mode&nt)try{du(),C=o(g)}finally{cu(i)}else C=o(g);typeof C=="function"&&u("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",dt(i))}else o.hasOwnProperty("current")||u("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",dt(i)),o.current=g}}function Dee(i){var o=i.alternate;o!==null&&(o.return=null),i.return=null}function QB(i){var o=i.alternate;o!==null&&(i.alternate=null,QB(o));{if(i.child=null,i.deletions=null,i.sibling=null,i.tag===_){var v=i.stateNode;v!==null&&NK(v)}i.stateNode=null,i._debugOwner=null,i.return=null,i.dependencies=null,i.memoizedProps=null,i.memoizedState=null,i.pendingProps=null,i.stateNode=null,i.updateQueue=null}}function Mee(i){for(var o=i.return;o!==null;){if(ZB(o))return o;o=o.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function ZB(i){return i.tag===_||i.tag===m||i.tag===S}function KB(i){var o=i;e:for(;;){for(;o.sibling===null;){if(o.return===null||ZB(o.return))return null;o=o.return}for(o.sibling.return=o.return,o=o.sibling;o.tag!==_&&o.tag!==x&&o.tag!==X;){if(o.flags&Cn||o.child===null||o.tag===S)continue e;o.child.return=o,o=o.child}if(!(o.flags&Cn))return o.stateNode}}function Ree(i){var o=Mee(i);switch(o.tag){case _:{var v=o.stateNode;o.flags&Kt&&(JF(v),o.flags&=~Kt);var g=KB(i);xR(i,g,v);break}case m:case S:{var C=o.stateNode.containerInfo,T=KB(i);wR(i,T,C);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function wR(i,o,v){var g=i.tag,C=g===_||g===x;if(C){var T=i.stateNode;o?qZ(v,T,o):WZ(v,T)}else if(g!==S){var R=i.child;if(R!==null){wR(R,o,v);for(var k=R.sibling;k!==null;)wR(k,o,v),k=k.sibling}}}function xR(i,o,v){var g=i.tag,C=g===_||g===x;if(C){var T=i.stateNode;o?XZ(v,T,o):YZ(v,T)}else if(g!==S){var R=i.child;if(R!==null){xR(R,o,v);for(var k=R.sibling;k!==null;)xR(k,o,v),k=k.sibling}}}var oi=null,hl=!1;function Aee(i,o,v){{var g=o;e:for(;g!==null;){switch(g.tag){case _:{oi=g.stateNode,hl=!1;break e}case m:{oi=g.stateNode.containerInfo,hl=!0;break e}case S:{oi=g.stateNode.containerInfo,hl=!0;break e}}g=g.return}if(oi===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");JB(i,o,v),oi=null,hl=!1}Dee(v)}function zf(i,o,v){for(var g=v.child;g!==null;)JB(i,o,g),g=g.sibling}function JB(i,o,v){switch(Fm(v),v.tag){case _:ai||Ep(v,o);case x:{{var g=oi,C=hl;oi=null,zf(i,o,v),oi=g,hl=C,oi!==null&&(hl?ZZ(oi,v.stateNode):QZ(oi,v.stateNode))}return}case X:{oi!==null&&(hl?KZ(oi,v.stateNode):ND(oi,v.stateNode));return}case S:{{var T=oi,R=hl;oi=v.stateNode.containerInfo,hl=!0,zf(i,o,v),oi=T,hl=R}return}case d:case O:case F:case U:{if(!ai){var k=v.updateQueue;if(k!==null){var N=k.lastEffect;if(N!==null){var B=N.next,V=B;do{var K=V,Q=K.destroy,le=K.tag;Q!==void 0&&((le&uu)!==Ea?iw(v,o,Q):(le&Lr)!==Ea&&(gh(v),v.mode&nt?(du(),iw(v,o,Q),cu(v)):iw(v,o,Q),nf())),V=V.next}while(V!==B)}}}zf(i,o,v);return}case h:{if(!ai){Ep(v,o);var ue=v.stateNode;typeof ue.componentWillUnmount=="function"&&CR(v,o,ue)}zf(i,o,v);return}case ee:{zf(i,o,v);return}case J:{if(v.mode&wt){var de=ai;ai=de||v.memoizedState!==null,zf(i,o,v),ai=de}else zf(i,o,v);break}default:{zf(i,o,v);return}}}function Lee(i){i.memoizedState}function Oee(i,o){var v=o.memoizedState;if(v===null){var g=o.alternate;if(g!==null){var C=g.memoizedState;if(C!==null){var T=C.dehydrated;T!==null&&mK(T)}}}}function e3(i){var o=i.updateQueue;if(o!==null){i.updateQueue=null;var v=i.stateNode;v===null&&(v=i.stateNode=new pee),o.forEach(function(g){var C=Mte.bind(null,i,g);if(!v.has(g)){if(v.add(g),Mr)if(Tp!==null&&bp!==null)u0(bp,Tp);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");g.then(C,C)}})}}function kee(i,o,v){Tp=v,bp=i,ln(o),t3(o,i),ln(o),Tp=null,bp=null}function pl(i,o,v){var g=o.deletions;if(g!==null)for(var C=0;C<g.length;C++){var T=g[C];try{Aee(i,o,T)}catch(N){bn(T,o,N)}}var R=kE();if(o.subtreeFlags&Si)for(var k=o.child;k!==null;)ln(k),t3(k,i),k=k.sibling;ln(R)}function t3(i,o,v){var g=i.alternate,C=i.flags;switch(i.tag){case d:case O:case F:case U:{if(pl(o,i),vu(i),C&pt){try{vl(uu|Ar,i,i.return),If(uu|Ar,i)}catch(at){bn(i,i.return,at)}if(i.mode&nt){try{du(),vl(Lr|Ar,i,i.return)}catch(at){bn(i,i.return,at)}cu(i)}else try{vl(Lr|Ar,i,i.return)}catch(at){bn(i,i.return,at)}}return}case h:{pl(o,i),vu(i),C&mi&&g!==null&&Ep(g,g.return);return}case _:{pl(o,i),vu(i),C&mi&&g!==null&&Ep(g,g.return);{if(i.flags&Kt){var T=i.stateNode;try{JF(T)}catch(at){bn(i,i.return,at)}}if(C&pt){var R=i.stateNode;if(R!=null){var k=i.memoizedProps,N=g!==null?g.memoizedProps:k,B=i.type,V=i.updateQueue;if(i.updateQueue=null,V!==null)try{$Z(R,V,B,N,k,i)}catch(at){bn(i,i.return,at)}}}}return}case x:{if(pl(o,i),vu(i),C&pt){if(i.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var K=i.stateNode,Q=i.memoizedProps,le=g!==null?g.memoizedProps:Q;try{jZ(K,le,Q)}catch(at){bn(i,i.return,at)}}return}case m:{if(pl(o,i),vu(i),C&pt&&g!==null){var ue=g.memoizedState;if(ue.isDehydrated)try{gK(o.containerInfo)}catch(at){bn(i,i.return,at)}}return}case S:{pl(o,i),vu(i);return}case I:{pl(o,i),vu(i);var de=i.child;if(de.flags&$l){var Pe=de.stateNode,Ze=de.memoizedState,We=Ze!==null;if(Pe.isHidden=We,We){var Ot=de.alternate!==null&&de.alternate.memoizedState!==null;Ot||vte()}}if(C&pt){try{Lee(i)}catch(at){bn(i,i.return,at)}e3(i)}return}case J:{var Rt=g!==null&&g.memoizedState!==null;if(i.mode&wt){var ne=ai;ai=ne||Rt,pl(o,i),ai=ne}else pl(o,i);if(vu(i),C&$l){var ve=i.stateNode,re=i.memoizedState,xe=re!==null,Ie=i;if(ve.isHidden=xe,xe&&!Rt&&(Ie.mode&wt)!==Je){He=Ie;for(var Ae=Ie.child;Ae!==null;)He=Ae,Pee(Ae),Ae=Ae.sibling}Eee(Ie,xe)}return}case G:{pl(o,i),vu(i),C&pt&&e3(i);return}case ee:return;default:{pl(o,i),vu(i);return}}}function vu(i){var o=i.flags;if(o&Cn){try{Ree(i)}catch(v){bn(i,i.return,v)}i.flags&=~Cn}o&pa&&(i.flags&=~pa)}function Nee(i,o,v){Tp=v,bp=o,He=i,n3(i,o,v),Tp=null,bp=null}function n3(i,o,v){for(var g=(i.mode&wt)!==Je;He!==null;){var C=He,T=C.child;if(C.tag===J&&g){var R=C.memoizedState!==null,k=R||rw;if(k){TR(i,o,v);continue}else{var N=C.alternate,B=N!==null&&N.memoizedState!==null,V=B||ai,K=rw,Q=ai;rw=k,ai=V,ai&&!Q&&(He=C,Iee(C));for(var le=T;le!==null;)He=le,n3(le,o,v),le=le.sibling;He=C,rw=K,ai=Q,TR(i,o,v);continue}}(C.subtreeFlags&Gr)!==Qe&&T!==null?(T.return=C,He=T):TR(i,o,v)}}function TR(i,o,v){for(;He!==null;){var g=He;if((g.flags&Gr)!==Qe){var C=g.alternate;ln(g);try{Tee(o,C,g,v)}catch(R){bn(g,g.return,R)}or()}if(g===i){He=null;return}var T=g.sibling;if(T!==null){T.return=g.return,He=T;return}He=g.return}}function Pee(i){for(;He!==null;){var o=He,v=o.child;switch(o.tag){case d:case O:case F:case U:{if(o.mode&nt)try{du(),vl(Lr,o,o.return)}finally{cu(o)}else vl(Lr,o,o.return);break}case h:{Ep(o,o.return);var g=o.stateNode;typeof g.componentWillUnmount=="function"&&CR(o,o.return,g);break}case _:{Ep(o,o.return);break}case J:{var C=o.memoizedState!==null;if(C){r3(i);continue}break}}v!==null?(v.return=o,He=v):r3(i)}}function r3(i){for(;He!==null;){var o=He;if(o===i){He=null;return}var v=o.sibling;if(v!==null){v.return=o.return,He=v;return}He=o.return}}function Iee(i){for(;He!==null;){var o=He,v=o.child;if(o.tag===J){var g=o.memoizedState!==null;if(g){i3(i);continue}}v!==null?(v.return=o,He=v):i3(i)}}function i3(i){for(;He!==null;){var o=He;ln(o);try{bee(o)}catch(g){bn(o,o.return,g)}if(or(),o===i){He=null;return}var v=o.sibling;if(v!==null){v.return=o.return,He=v;return}He=o.return}}function zee(i,o,v,g){He=o,Fee(o,i,v,g)}function Fee(i,o,v,g){for(;He!==null;){var C=He,T=C.child;(C.subtreeFlags&ga)!==Qe&&T!==null?(T.return=C,He=T):Bee(i,o,v,g)}}function Bee(i,o,v,g){for(;He!==null;){var C=He;if((C.flags&Ln)!==Qe){ln(C);try{Uee(o,C,v,g)}catch(R){bn(C,C.return,R)}or()}if(C===i){He=null;return}var T=C.sibling;if(T!==null){T.return=C.return,He=T;return}He=C.return}}function Uee(i,o,v,g){switch(o.tag){case d:case O:case U:{if(o.mode&nt){tR();try{If(ri|Ar,o)}finally{eR(o)}}else If(ri|Ar,o);break}}}function Vee(i){He=i,Hee()}function Hee(){for(;He!==null;){var i=He,o=i.child;if((He.flags&qt)!==Qe){var v=i.deletions;if(v!==null){for(var g=0;g<v.length;g++){var C=v[g];He=C,jee(C,i)}{var T=i.alternate;if(T!==null){var R=T.child;if(R!==null){T.child=null;do{var k=R.sibling;R.sibling=null,R=k}while(R!==null)}}}He=i}}(i.subtreeFlags&ga)!==Qe&&o!==null?(o.return=i,He=o):Gee()}}function Gee(){for(;He!==null;){var i=He;(i.flags&Ln)!==Qe&&(ln(i),$ee(i),or());var o=i.sibling;if(o!==null){o.return=i.return,He=o;return}He=i.return}}function $ee(i){switch(i.tag){case d:case O:case U:{i.mode&nt?(tR(),vl(ri|Ar,i,i.return),eR(i)):vl(ri|Ar,i,i.return);break}}}function jee(i,o){for(;He!==null;){var v=He;ln(v),Wee(v,o),or();var g=v.child;g!==null?(g.return=v,He=g):Yee(i)}}function Yee(i){for(;He!==null;){var o=He,v=o.sibling,g=o.return;if(QB(o),o===i){He=null;return}if(v!==null){v.return=g,He=v;return}He=g}}function Wee(i,o){switch(i.tag){case d:case O:case U:{i.mode&nt?(tR(),vl(ri,i,o),eR(i)):vl(ri,i,o);break}}}function Xee(i){switch(i.tag){case d:case O:case U:{try{If(Lr|Ar,i)}catch(v){bn(i,i.return,v)}break}case h:{var o=i.stateNode;try{o.componentDidMount()}catch(v){bn(i,i.return,v)}break}}}function qee(i){switch(i.tag){case d:case O:case U:{try{If(ri|Ar,i)}catch(o){bn(i,i.return,o)}break}}}function Qee(i){switch(i.tag){case d:case O:case U:{try{vl(Lr|Ar,i,i.return)}catch(v){bn(i,i.return,v)}break}case h:{var o=i.stateNode;typeof o.componentWillUnmount=="function"&&CR(i,i.return,o);break}}}function Zee(i){switch(i.tag){case d:case O:case U:try{vl(ri|Ar,i,i.return)}catch(o){bn(i,i.return,o)}}}if(typeof Symbol=="function"&&Symbol.for){var Zy=Symbol.for;Zy("selector.component"),Zy("selector.has_pseudo_class"),Zy("selector.role"),Zy("selector.test_id"),Zy("selector.text")}var Kee=[];function Jee(){Kee.forEach(function(i){return i()})}var ete=n.ReactCurrentActQueue;function tte(i){{var o=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,v=typeof jest<"u";return v&&o!==!1}}function a3(){{var i=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!i&&ete.current!==null&&u("The current testing environment is not configured to support act(...)"),i}}var nte=Math.ceil,bR=n.ReactCurrentDispatcher,ER=n.ReactCurrentOwner,li=n.ReactCurrentBatchConfig,gl=n.ReactCurrentActQueue,Nr=0,o3=1,ui=2,Mo=4,ys=0,Ky=1,zd=2,aw=3,Jy=4,l3=5,DR=6,Lt=Nr,Xi=null,qn=null,Pr=he,hu=he,MR=Df(he),Ir=ys,e0=null,ow=he,t0=he,lw=he,n0=null,Da=null,RR=0,u3=500,s3=1/0,rte=500,_s=null;function r0(){s3=zn()+rte}function f3(){return s3}var uw=!1,AR=null,Dp=null,Fd=!1,Ff=null,i0=he,LR=[],OR=null,ite=50,a0=0,kR=null,NR=!1,sw=!1,ate=50,Mp=0,fw=null,o0=gn,cw=he,c3=!1;function dw(){return Xi}function qi(){return(Lt&(ui|Mo))!==Nr?zn():(o0!==gn||(o0=zn()),o0)}function Bf(i){var o=i.mode;if((o&wt)===Je)return rt;if((Lt&ui)!==Nr&&Pr!==he)return ur(Pr);var v=tJ()!==eJ;if(v){if(li.transition!==null){var g=li.transition;g._updatedFibers||(g._updatedFibers=new Set),g._updatedFibers.add(i)}return cw===At&&(cw=Ym()),cw}var C=Sa();if(C!==At)return C;var T=BZ();return T}function ote(i){var o=i.mode;return(o&wt)===Je?rt:tD()}function zr(i,o,v,g){Ate(),c3&&u("useInsertionEffect must not schedule updates."),NR&&(sw=!0),ts(i,v,g),(Lt&ui)!==he&&i===Xi?kte(o):(Mr&&Zm(i,o,v),Nte(o),i===Xi&&((Lt&ui)===Nr&&(t0=gt(t0,v)),Ir===Jy&&Uf(i,Pr)),Ma(i,g),v===rt&&Lt===Nr&&(o.mode&wt)===Je&&!gl.isBatchingLegacy&&(r0(),f5()))}function lte(i,o,v){var g=i.current;g.lanes=o,ts(i,o,v),Ma(i,v)}function ute(i){return(Lt&ui)!==Nr}function Ma(i,o){var v=i.callbackNode;KE(i,o);var g=sd(i,i===Xi?Pr:he);if(g===he){v!==null&&D3(v),i.callbackNode=null,i.callbackPriority=At;return}var C=er(g),T=i.callbackPriority;if(T===C&&!(gl.current!==null&&v!==VR)){v==null&&T!==rt&&u("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}v!=null&&D3(v);var R;if(C===rt)i.tag===Mf?(gl.isBatchingLegacy!==null&&(gl.didScheduleLegacyUpdate=!0),zK(h3.bind(null,i))):s5(h3.bind(null,i)),gl.current!==null?gl.current.push(Rf):VZ(function(){(Lt&(ui|Mo))===Nr&&Rf()}),R=null;else{var k;switch(hd(g)){case $r:k=dh;break;case Rr:k=$i;break;case tl:k=yo;break;case dd:k=Yl;break;default:k=yo;break}R=HR(k,d3.bind(null,i))}i.callbackPriority=C,i.callbackNode=R}function d3(i,o){if(AJ(),o0=gn,cw=he,(Lt&(ui|Mo))!==Nr)throw new Error("Should not already be working.");var v=i.callbackNode,g=Cs();if(g&&i.callbackNode!==v)return null;var C=sd(i,i===Xi?Pr:he);if(C===he)return null;var T=!cd(i,C)&&!TS(i,C)&&!o,R=T?yte(i,C):hw(i,C);if(R!==ys){if(R===zd){var k=$m(i);k!==he&&(C=k,R=PR(i,k))}if(R===Ky){var N=e0;throw Bd(i,he),Uf(i,C),Ma(i,zn()),N}if(R===DR)Uf(i,C);else{var B=!cd(i,C),V=i.current.alternate;if(B&&!fte(V)){if(R=hw(i,C),R===zd){var K=$m(i);K!==he&&(C=K,R=PR(i,K))}if(R===Ky){var Q=e0;throw Bd(i,he),Uf(i,C),Ma(i,zn()),Q}}i.finishedWork=V,i.finishedLanes=C,ste(i,R,C)}}return Ma(i,zn()),i.callbackNode===v?d3.bind(null,i):null}function PR(i,o){var v=n0;if(fr(i)){var g=Bd(i,o);g.flags|=Vn,AK(i.containerInfo)}var C=hw(i,o);if(C!==zd){var T=Da;Da=v,T!==null&&v3(T)}return C}function v3(i){Da===null?Da=i:Da.push.apply(Da,i)}function ste(i,o,v){switch(o){case ys:case Ky:throw new Error("Root did not complete. This is a bug in React.");case zd:{Ud(i,Da,_s);break}case aw:{if(Uf(i,v),Ih(v)&&!M3()){var g=RR+u3-zn();if(g>10){var C=sd(i,he);if(C!==he)break;var T=i.suspendedLanes;if(!es(T,v)){qi(),qm(i,T);break}i.timeoutHandle=OD(Ud.bind(null,i,Da,_s),g);break}}Ud(i,Da,_s);break}case Jy:{if(Uf(i,v),xS(v))break;if(!M3()){var R=wS(i,v),k=R,N=zn()-k,B=Rte(N)-N;if(B>10){i.timeoutHandle=OD(Ud.bind(null,i,Da,_s),B);break}}Ud(i,Da,_s);break}case l3:{Ud(i,Da,_s);break}default:throw new Error("Unknown root exit status.")}}function fte(i){for(var o=i;;){if(o.flags&nd){var v=o.updateQueue;if(v!==null){var g=v.stores;if(g!==null)for(var C=0;C<g.length;C++){var T=g[C],R=T.getSnapshot,k=T.value;try{if(!Ve(R(),k))return!1}catch{return!1}}}}var N=o.child;if(o.subtreeFlags&nd&&N!==null){N.return=o,o=N;continue}if(o===i)return!0;for(;o.sibling===null;){if(o.return===null||o.return===i)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}return!0}function Uf(i,o){o=ff(o,lw),o=ff(o,t0),Xm(i,o)}function h3(i){if(LJ(),(Lt&(ui|Mo))!==Nr)throw new Error("Should not already be working.");Cs();var o=sd(i,he);if(!Ti(o,rt))return Ma(i,zn()),null;var v=hw(i,o);if(i.tag!==Mf&&v===zd){var g=$m(i);g!==he&&(o=g,v=PR(i,g))}if(v===Ky){var C=e0;throw Bd(i,he),Uf(i,o),Ma(i,zn()),C}if(v===DR)throw new Error("Root did not complete. This is a bug in React.");var T=i.current.alternate;return i.finishedWork=T,i.finishedLanes=o,Ud(i,Da,_s),Ma(i,zn()),null}function cte(i,o){o!==he&&(cf(i,gt(o,rt)),Ma(i,zn()),(Lt&(ui|Mo))===Nr&&(r0(),Rf()))}function IR(i,o){var v=Lt;Lt|=o3;try{return i(o)}finally{Lt=v,Lt===Nr&&!gl.isBatchingLegacy&&(r0(),f5())}}function dte(i,o,v,g,C){var T=Sa(),R=li.transition;try{return li.transition=null,sr($r),i(o,v,g,C)}finally{sr(T),li.transition=R,Lt===Nr&&r0()}}function Ss(i){Ff!==null&&Ff.tag===Mf&&(Lt&(ui|Mo))===Nr&&Cs();var o=Lt;Lt|=o3;var v=li.transition,g=Sa();try{return li.transition=null,sr($r),i?i():void 0}finally{sr(g),li.transition=v,Lt=o,(Lt&(ui|Mo))===Nr&&Rf()}}function p3(){return(Lt&(ui|Mo))!==Nr}function vw(i,o){Ei(MR,hu,i),hu=gt(hu,o)}function zR(i){hu=MR.current,bi(MR,i)}function Bd(i,o){i.finishedWork=null,i.finishedLanes=he;var v=i.timeoutHandle;if(v!==kD&&(i.timeoutHandle=kD,UZ(v)),qn!==null)for(var g=qn.return;g!==null;){var C=g.alternate;$B(C,g),g=g.return}Xi=i;var T=Vd(i.current,null);return qn=T,Pr=hu=o,Ir=ys,e0=null,ow=he,t0=he,lw=he,n0=null,Da=null,aJ(),ul.discardPendingWarnings(),T}function g3(i,o){do{var v=qn;try{if(CC(),Y5(),or(),ER.current=null,v===null||v.return===null){Ir=Ky,e0=o,qn=null;return}if(Xt&&v.mode&nt&&JC(v,!0),Dn)if(ju(),o!==null&&typeof o=="object"&&typeof o.then=="function"){var g=o;_S(v,g,Pr)}else mh(v,o,Pr);IJ(i,v.return,v,o,Pr),S3(v)}catch(C){o=C,qn===v&&v!==null?(v=v.return,qn=v):v=qn;continue}return}while(!0)}function m3(){var i=bR.current;return bR.current=XC,i===null?XC:i}function y3(i){bR.current=i}function vte(){RR=zn()}function l0(i){ow=gt(i,ow)}function hte(){Ir===ys&&(Ir=aw)}function FR(){(Ir===ys||Ir===aw||Ir===zd)&&(Ir=Jy),Xi!==null&&(fd(ow)||fd(t0))&&Uf(Xi,Pr)}function pte(i){Ir!==Jy&&(Ir=zd),n0===null?n0=[i]:n0.push(i)}function gte(){return Ir===ys}function hw(i,o){var v=Lt;Lt|=ui;var g=m3();if(Xi!==i||Pr!==o){if(Mr){var C=i.memoizedUpdaters;C.size>0&&(u0(i,Pr),C.clear()),Bh(i,o)}_s=Km(),Bd(i,o)}Xa(o);do try{mte();break}catch(T){g3(i,T)}while(!0);if(CC(),Lt=v,y3(g),qn!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return af(),Xi=null,Pr=he,Ir}function mte(){for(;qn!==null;)_3(qn)}function yte(i,o){var v=Lt;Lt|=ui;var g=m3();if(Xi!==i||Pr!==o){if(Mr){var C=i.memoizedUpdaters;C.size>0&&(u0(i,Pr),C.clear()),Bh(i,o)}_s=Km(),r0(),Bd(i,o)}Xa(o);do try{_te();break}catch(T){g3(i,T)}while(!0);return CC(),y3(g),Lt=v,qn!==null?(ad(),ys):(af(),Xi=null,Pr=he,Ir)}function _te(){for(;qn!==null&&!ch();)_3(qn)}function _3(i){var o=i.alternate;ln(i);var v;(i.mode&nt)!==Je?(JM(i),v=BR(o,i,hu),JC(i,!0)):v=BR(o,i,hu),or(),i.memoizedProps=i.pendingProps,v===null?S3(i):qn=v,ER.current=null}function S3(i){var o=i;do{var v=o.alternate,g=o.return;if((o.flags&Vi)===Qe){ln(o);var C=void 0;if((o.mode&nt)===Je?C=GB(v,o,hu):(JM(o),C=GB(v,o,hu),JC(o,!1)),or(),C!==null){qn=C;return}}else{var T=hee(v,o);if(T!==null){T.flags&=fS,qn=T;return}if((o.mode&nt)!==Je){JC(o,!1);for(var R=o.actualDuration,k=o.child;k!==null;)R+=k.actualDuration,k=k.sibling;o.actualDuration=R}if(g!==null)g.flags|=Vi,g.subtreeFlags=Qe,g.deletions=null;else{Ir=DR,qn=null;return}}var N=o.sibling;if(N!==null){qn=N;return}o=g,qn=o}while(o!==null);Ir===ys&&(Ir=l3)}function Ud(i,o,v){var g=Sa(),C=li.transition;try{li.transition=null,sr($r),Ste(i,o,v,g)}finally{li.transition=C,sr(g)}return null}function Ste(i,o,v,g){do Cs();while(Ff!==null);if(Lte(),(Lt&(ui|Mo))!==Nr)throw new Error("Should not already be working.");var C=i.finishedWork,T=i.finishedLanes;if(hh(T),C===null)return Bm(),null;if(T===he&&u("root.finishedLanes should not be empty during a commit. This is a bug in React."),i.finishedWork=null,i.finishedLanes=he,C===i.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");i.callbackNode=null,i.callbackPriority=At;var R=gt(C.lanes,C.childLanes);Qm(i,R),i===Xi&&(Xi=null,qn=null,Pr=he),((C.subtreeFlags&ga)!==Qe||(C.flags&ga)!==Qe)&&(Fd||(Fd=!0,OR=v,HR(yo,function(){return Cs(),null})));var k=(C.subtreeFlags&(tf|Si|Gr|ga))!==Qe,N=(C.flags&(tf|Si|Gr|ga))!==Qe;if(k||N){var B=li.transition;li.transition=null;var V=Sa();sr($r);var K=Lt;Lt|=Mo,ER.current=null,_ee(i,C),mB(),kee(i,C,T),kZ(i.containerInfo),i.current=C,SS(T),Nee(C,i,T),rf(),vS(),Lt=K,sr(V),li.transition=B}else i.current=C,mB();var Q=Fd;if(Fd?(Fd=!1,Ff=i,i0=T):(Mp=0,fw=null),R=i.pendingLanes,R===he&&(Dp=null),Q||T3(i.current,!1),Ko(C.stateNode,g),Mr&&i.memoizedUpdaters.clear(),Jee(),Ma(i,zn()),o!==null)for(var le=i.onRecoverableError,ue=0;ue<o.length;ue++){var de=o[ue],Pe=de.stack,Ze=de.digest;le(de.value,{componentStack:Pe,digest:Ze})}if(uw){uw=!1;var We=AR;throw AR=null,We}return Ti(i0,rt)&&i.tag!==Mf&&Cs(),R=i.pendingLanes,Ti(R,rt)?(RJ(),i===kR?a0++:(a0=0,kR=i)):a0=0,Rf(),Bm(),null}function Cs(){if(Ff!==null){var i=hd(i0),o=rD(tl,i),v=li.transition,g=Sa();try{return li.transition=null,sr(o),wte()}finally{sr(g),li.transition=v}}return!1}function Cte(i){LR.push(i),Fd||(Fd=!0,HR(yo,function(){return Cs(),null}))}function wte(){if(Ff===null)return!1;var i=OR;OR=null;var o=Ff,v=i0;if(Ff=null,i0=he,(Lt&(ui|Mo))!==Nr)throw new Error("Cannot flush passive effects while already rendering.");NR=!0,sw=!1,CS(v);var g=Lt;Lt|=Mo,Vee(o.current),zee(o,o.current,v,i);{var C=LR;LR=[];for(var T=0;T<C.length;T++){var R=C[T];xee(o,R)}}id(),T3(o.current,!0),Lt=g,Rf(),sw?o===fw?Mp++:(Mp=0,fw=o):Mp=0,NR=!1,sw=!1,Xl(o);{var k=o.current.stateNode;k.effectDuration=0,k.passiveEffectDuration=0}return!0}function C3(i){return Dp!==null&&Dp.has(i)}function xte(i){Dp===null?Dp=new Set([i]):Dp.add(i)}function Tte(i){uw||(uw=!0,AR=i)}var bte=Tte;function w3(i,o,v){var g=Pd(v,o),C=_B(i,g,rt),T=Lf(i,C,rt),R=qi();T!==null&&(ts(T,rt,R),Ma(T,R))}function bn(i,o,v){if(gee(v),s0(!1),i.tag===m){w3(i,i,v);return}var g=null;for(g=o;g!==null;){if(g.tag===m){w3(g,i,v);return}else if(g.tag===h){var C=g.type,T=g.stateNode;if(typeof C.getDerivedStateFromError=="function"||typeof T.componentDidCatch=="function"&&!C3(T)){var R=Pd(v,i),k=aR(g,R,rt),N=Lf(g,k,rt),B=qi();N!==null&&(ts(N,rt,B),Ma(N,B));return}}g=g.return}u(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
162
-
163
- Error message:
164
-
165
- %s`,v)}function Ete(i,o,v){var g=i.pingCache;g!==null&&g.delete(o);var C=qi();qm(i,v),Pte(i),Xi===i&&es(Pr,v)&&(Ir===Jy||Ir===aw&&Ih(Pr)&&zn()-RR<u3?Bd(i,he):lw=gt(lw,v)),Ma(i,C)}function x3(i,o){o===At&&(o=ote(i));var v=qi(),g=ba(i,o);g!==null&&(ts(g,o,v),Ma(g,v))}function Dte(i){var o=i.memoizedState,v=At;o!==null&&(v=o.retryLane),x3(i,v)}function Mte(i,o){var v=At,g;switch(i.tag){case I:g=i.stateNode;var C=i.memoizedState;C!==null&&(v=C.retryLane);break;case G:g=i.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}g!==null&&g.delete(o),x3(i,v)}function Rte(i){return i<120?120:i<480?480:i<1080?1080:i<1920?1920:i<3e3?3e3:i<4320?4320:nte(i/1960)*1960}function Ate(){if(a0>ite)throw a0=0,kR=null,new 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.");Mp>ate&&(Mp=0,fw=null,u("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."))}function Lte(){ul.flushLegacyContextWarning(),ul.flushPendingUnsafeLifecycleWarnings()}function T3(i,o){ln(i),pw(i,_i,Qee),o&&pw(i,$u,Zee),pw(i,_i,Xee),o&&pw(i,$u,qee),or()}function pw(i,o,v){for(var g=i,C=null;g!==null;){var T=g.subtreeFlags&o;g!==C&&g.child!==null&&T!==Qe?g=g.child:((g.flags&o)!==Qe&&v(g),g.sibling!==null?g=g.sibling:g=C=g.return)}}var gw=null;function b3(i){{if((Lt&ui)!==Nr||!(i.mode&wt))return;var o=i.tag;if(o!==p&&o!==m&&o!==h&&o!==d&&o!==O&&o!==F&&o!==U)return;var v=dt(i)||"ReactComponent";if(gw!==null){if(gw.has(v))return;gw.add(v)}else gw=new Set([v]);var g=Kn;try{ln(i),u("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.")}finally{g?ln(i):or()}}}var BR;{var Ote=null;BR=function(i,o,v){var g=k3(Ote,o);try{return FB(i,o,v)}catch(T){if(jK()||T!==null&&typeof T=="object"&&typeof T.then=="function")throw T;if(CC(),Y5(),$B(i,o),k3(o,g),o.mode&nt&&JM(o),Gu(null,FB,null,i,o,v),QE()){var C=Mm();typeof C=="object"&&C!==null&&C._suppressLogging&&typeof T=="object"&&T!==null&&!T._suppressLogging&&(T._suppressLogging=!0)}throw T}}}var E3=!1,UR;UR=new Set;function kte(i){if(fa&&!EJ())switch(i.tag){case d:case O:case U:{var o=qn&&dt(qn)||"Unknown",v=o;if(!UR.has(v)){UR.add(v);var g=dt(i)||"Unknown";u("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://reactjs.org/link/setstate-in-render",g,o,o)}break}case h:{E3||(u("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),E3=!0);break}}}function u0(i,o){if(Mr){var v=i.memoizedUpdaters;v.forEach(function(g){Zm(i,g,o)})}}var VR={};function HR(i,o){{var v=gl.current;return v!==null?(v.push(o),VR):fh(i,o)}}function D3(i){if(i!==VR)return dS(i)}function M3(){return gl.current!==null}function Nte(i){{if(i.mode&wt){if(!a3())return}else if(!tte()||Lt!==Nr||i.tag!==d&&i.tag!==O&&i.tag!==U)return;if(gl.current===null){var o=Kn;try{ln(i),u(`An update to %s inside a test was not wrapped in act(...).
166
-
167
- When testing, code that causes React state updates should be wrapped into act(...):
168
-
169
- act(() => {
170
- /* fire events that update state */
171
- });
172
- /* assert on the output */
173
-
174
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,dt(i))}finally{o?ln(i):or()}}}}function Pte(i){i.tag!==Mf&&a3()&&gl.current===null&&u(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
175
-
176
- When testing, code that resolves suspended data should be wrapped into act(...):
177
-
178
- act(() => {
179
- /* finish loading suspended data */
180
- });
181
- /* assert on the output */
182
-
183
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function s0(i){c3=i}var Ro=null,Rp=null,Ite=function(i){Ro=i};function Ap(i){{if(Ro===null)return i;var o=Ro(i);return o===void 0?i:o.current}}function GR(i){return Ap(i)}function $R(i){{if(Ro===null)return i;var o=Ro(i);if(o===void 0){if(i!=null&&typeof i.render=="function"){var v=Ap(i.render);if(i.render!==v){var g={$$typeof:Ke,render:v};return i.displayName!==void 0&&(g.displayName=i.displayName),g}}return i}return o.current}}function R3(i,o){{if(Ro===null)return!1;var v=i.elementType,g=o.type,C=!1,T=typeof g=="object"&&g!==null?g.$$typeof:null;switch(i.tag){case h:{typeof g=="function"&&(C=!0);break}case d:{(typeof g=="function"||T===tt)&&(C=!0);break}case O:{(T===Ke||T===tt)&&(C=!0);break}case F:case U:{(T===yt||T===tt)&&(C=!0);break}default:return!1}if(C){var R=Ro(v);if(R!==void 0&&R===Ro(g))return!0}return!1}}function A3(i){{if(Ro===null||typeof WeakSet!="function")return;Rp===null&&(Rp=new WeakSet),Rp.add(i)}}var zte=function(i,o){{if(Ro===null)return;var v=o.staleFamilies,g=o.updatedFamilies;Cs(),Ss(function(){jR(i.current,g,v)})}},Fte=function(i,o){{if(i.context!==Qa)return;Cs(),Ss(function(){f0(o,i,null,null)})}};function jR(i,o,v){{var g=i.alternate,C=i.child,T=i.sibling,R=i.tag,k=i.type,N=null;switch(R){case d:case U:case h:N=k;break;case O:N=k.render;break}if(Ro===null)throw new Error("Expected resolveFamily to be set during hot reload.");var B=!1,V=!1;if(N!==null){var K=Ro(N);K!==void 0&&(v.has(K)?V=!0:o.has(K)&&(R===h?V=!0:B=!0))}if(Rp!==null&&(Rp.has(i)||g!==null&&Rp.has(g))&&(V=!0),V&&(i._debugNeedsRemount=!0),V||B){var Q=ba(i,rt);Q!==null&&zr(Q,i,rt,gn)}C!==null&&!V&&jR(C,o,v),T!==null&&jR(T,o,v)}}var Bte=function(i,o){{var v=new Set,g=new Set(o.map(function(C){return C.current}));return YR(i.current,g,v),v}};function YR(i,o,v){{var g=i.child,C=i.sibling,T=i.tag,R=i.type,k=null;switch(T){case d:case U:case h:k=R;break;case O:k=R.render;break}var N=!1;k!==null&&o.has(k)&&(N=!0),N?Ute(i,v):g!==null&&YR(g,o,v),C!==null&&YR(C,o,v)}}function Ute(i,o){{var v=Vte(i,o);if(v)return;for(var g=i;;){switch(g.tag){case _:o.add(g.stateNode);return;case S:o.add(g.stateNode.containerInfo);return;case m:o.add(g.stateNode.containerInfo);return}if(g.return===null)throw new Error("Expected to reach root first.");g=g.return}}}function Vte(i,o){for(var v=i,g=!1;;){if(v.tag===_)g=!0,o.add(v.stateNode);else if(v.child!==null){v.child.return=v,v=v.child;continue}if(v===i)return g;for(;v.sibling===null;){if(v.return===null||v.return===i)return g;v=v.return}v.sibling.return=v.return,v=v.sibling}return!1}var WR;{WR=!1;try{var L3=Object.preventExtensions({})}catch{WR=!0}}function Hte(i,o,v,g){this.tag=i,this.key=v,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=o,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=g,this.flags=Qe,this.subtreeFlags=Qe,this.deletions=null,this.lanes=he,this.childLanes=he,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!WR&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var Za=function(i,o,v,g){return new Hte(i,o,v,g)};function XR(i){var o=i.prototype;return!!(o&&o.isReactComponent)}function Gte(i){return typeof i=="function"&&!XR(i)&&i.defaultProps===void 0}function $te(i){if(typeof i=="function")return XR(i)?h:d;if(i!=null){var o=i.$$typeof;if(o===Ke)return O;if(o===yt)return F}return p}function Vd(i,o){var v=i.alternate;v===null?(v=Za(i.tag,o,i.key,i.mode),v.elementType=i.elementType,v.type=i.type,v.stateNode=i.stateNode,v._debugSource=i._debugSource,v._debugOwner=i._debugOwner,v._debugHookTypes=i._debugHookTypes,v.alternate=i,i.alternate=v):(v.pendingProps=o,v.type=i.type,v.flags=Qe,v.subtreeFlags=Qe,v.deletions=null,v.actualDuration=0,v.actualStartTime=-1),v.flags=i.flags&Dr,v.childLanes=i.childLanes,v.lanes=i.lanes,v.child=i.child,v.memoizedProps=i.memoizedProps,v.memoizedState=i.memoizedState,v.updateQueue=i.updateQueue;var g=i.dependencies;switch(v.dependencies=g===null?null:{lanes:g.lanes,firstContext:g.firstContext},v.sibling=i.sibling,v.index=i.index,v.ref=i.ref,v.selfBaseDuration=i.selfBaseDuration,v.treeBaseDuration=i.treeBaseDuration,v._debugNeedsRemount=i._debugNeedsRemount,v.tag){case p:case d:case U:v.type=Ap(i.type);break;case h:v.type=GR(i.type);break;case O:v.type=$R(i.type);break}return v}function jte(i,o){i.flags&=Dr|Cn;var v=i.alternate;if(v===null)i.childLanes=he,i.lanes=o,i.child=null,i.subtreeFlags=Qe,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null,i.selfBaseDuration=0,i.treeBaseDuration=0;else{i.childLanes=v.childLanes,i.lanes=v.lanes,i.child=v.child,i.subtreeFlags=Qe,i.deletions=null,i.memoizedProps=v.memoizedProps,i.memoizedState=v.memoizedState,i.updateQueue=v.updateQueue,i.type=v.type;var g=v.dependencies;i.dependencies=g===null?null:{lanes:g.lanes,firstContext:g.firstContext},i.selfBaseDuration=v.selfBaseDuration,i.treeBaseDuration=v.treeBaseDuration}return i}function Yte(i,o,v){var g;return i===vC?(g=wt,o===!0&&(g|=Fn,g|=ya)):g=Je,Mr&&(g|=nt),Za(m,null,null,g)}function qR(i,o,v,g,C,T){var R=p,k=i;if(typeof i=="function")XR(i)?(R=h,k=GR(k)):k=Ap(k);else if(typeof i=="string")R=_;else{e:switch(i){case Va:return Vf(v.children,C,T,o);case Nl:R=b,C|=Fn,(C&wt)!==Je&&(C|=ya);break;case Y:return Wte(v,C,T,o);case mt:return Xte(v,C,T,o);case Bt:return qte(v,C,T,o);case An:return O3(v,C,T,o);case Jr:case pr:case Pl:case Bv:case Rn:default:{if(typeof i=="object"&&i!==null)switch(i.$$typeof){case Ce:R=A;break e;case Me:R=D;break e;case Ke:R=O,k=$R(k);break e;case yt:R=F;break e;case tt:R=H,k=null;break e}var N="";{(i===void 0||typeof i=="object"&&i!==null&&Object.keys(i).length===0)&&(N+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var B=g?dt(g):null;B&&(N+=`
184
-
185
- Check the render method of \``+B+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(i==null?i:typeof i)+"."+N))}}}var V=Za(R,v,o,C);return V.elementType=i,V.type=k,V.lanes=T,V._debugOwner=g,V}function QR(i,o,v){var g=null;g=i._owner;var C=i.type,T=i.key,R=i.props,k=qR(C,T,R,g,o,v);return k._debugSource=i._source,k._debugOwner=i._owner,k}function Vf(i,o,v,g){var C=Za(E,i,g,o);return C.lanes=v,C}function Wte(i,o,v,g){typeof i.id!="string"&&u('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof i.id);var C=Za(P,i,g,o|nt);return C.elementType=Y,C.lanes=v,C.stateNode={effectDuration:0,passiveEffectDuration:0},C}function Xte(i,o,v,g){var C=Za(I,i,g,o);return C.elementType=mt,C.lanes=v,C}function qte(i,o,v,g){var C=Za(G,i,g,o);return C.elementType=Bt,C.lanes=v,C}function O3(i,o,v,g){var C=Za(J,i,g,o);C.elementType=An,C.lanes=v;var T={isHidden:!1};return C.stateNode=T,C}function ZR(i,o,v){var g=Za(x,i,null,o);return g.lanes=v,g}function Qte(){var i=Za(_,null,null,Je);return i.elementType="DELETED",i}function Zte(i){var o=Za(X,null,null,Je);return o.stateNode=i,o}function KR(i,o,v){var g=i.children!==null?i.children:[],C=Za(S,g,i.key,o);return C.lanes=v,C.stateNode={containerInfo:i.containerInfo,pendingChildren:null,implementation:i.implementation},C}function k3(i,o){return i===null&&(i=Za(p,null,null,Je)),i.tag=o.tag,i.key=o.key,i.elementType=o.elementType,i.type=o.type,i.stateNode=o.stateNode,i.return=o.return,i.child=o.child,i.sibling=o.sibling,i.index=o.index,i.ref=o.ref,i.pendingProps=o.pendingProps,i.memoizedProps=o.memoizedProps,i.updateQueue=o.updateQueue,i.memoizedState=o.memoizedState,i.dependencies=o.dependencies,i.mode=o.mode,i.flags=o.flags,i.subtreeFlags=o.subtreeFlags,i.deletions=o.deletions,i.lanes=o.lanes,i.childLanes=o.childLanes,i.alternate=o.alternate,i.actualDuration=o.actualDuration,i.actualStartTime=o.actualStartTime,i.selfBaseDuration=o.selfBaseDuration,i.treeBaseDuration=o.treeBaseDuration,i._debugSource=o._debugSource,i._debugOwner=o._debugOwner,i._debugNeedsRemount=o._debugNeedsRemount,i._debugHookTypes=o._debugHookTypes,i}function Kte(i,o,v,g,C){this.tag=o,this.containerInfo=i,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=kD,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=At,this.eventTimes=Fh(he),this.expirationTimes=Fh(gn),this.pendingLanes=he,this.suspendedLanes=he,this.pingedLanes=he,this.expiredLanes=he,this.mutableReadLanes=he,this.finishedLanes=he,this.entangledLanes=he,this.entanglements=Fh(he),this.identifierPrefix=g,this.onRecoverableError=C,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var T=this.pendingUpdatersLaneMap=[],R=0;R<xn;R++)T.push(new Set)}switch(o){case vC:this._debugRootType=v?"hydrateRoot()":"createRoot()";break;case Mf:this._debugRootType=v?"hydrate()":"render()";break}}function N3(i,o,v,g,C,T,R,k,N,B){var V=new Kte(i,o,v,k,N),K=Yte(o,T);V.current=K,K.stateNode=V;{var Q={element:g,isDehydrated:v,cache:null,transitions:null,pendingSuspenseBoundaries:null};K.memoizedState=Q}return oM(K),V}var JR="18.2.0";function Jte(i,o,v){var g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return za(g),{$$typeof:Bi,key:g==null?null:""+g,children:i,containerInfo:o,implementation:v}}var eA,tA;eA=!1,tA={};function P3(i){if(!i)return Qa;var o=va(i),v=IK(o);if(o.tag===h){var g=o.type;if(lu(g))return l5(o,g,v)}return v}function ene(i,o){{var v=va(i);if(v===void 0){if(typeof i.render=="function")throw new Error("Unable to find node on an unmounted component.");var g=Object.keys(i).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+g)}var C=ma(v);if(C===null)return null;if(C.mode&Fn){var T=dt(v)||"Component";if(!tA[T]){tA[T]=!0;var R=Kn;try{ln(C),v.mode&Fn?u("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",o,o,T):u("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",o,o,T)}finally{R?ln(R):or()}}}return C.stateNode}}function I3(i,o,v,g,C,T,R,k){var N=!1,B=null;return N3(i,o,N,B,v,g,C,T,R)}function z3(i,o,v,g,C,T,R,k,N,B){var V=!0,K=N3(v,g,V,i,C,T,R,k,N);K.context=P3(null);var Q=K.current,le=qi(),ue=Bf(Q),de=gs(le,ue);return de.callback=o??null,Lf(Q,de,ue),lte(K,ue,le),K}function f0(i,o,v,g){hS(o,i);var C=o.current,T=qi(),R=Bf(C);Yu(R);var k=P3(v);o.context===null?o.context=k:o.pendingContext=k,fa&&Kn!==null&&!eA&&(eA=!0,u(`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.
186
-
187
- Check the render method of %s.`,dt(Kn)||"Unknown"));var N=gs(T,R);N.payload={element:i},g=g===void 0?null:g,g!==null&&(typeof g!="function"&&u("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",g),N.callback=g);var B=Lf(C,N,R);return B!==null&&(zr(B,C,R,T),EC(B,C,R)),R}function mw(i){var o=i.current;if(!o.child)return null;switch(o.child.tag){case _:return o.child.stateNode;default:return o.child.stateNode}}function tne(i){switch(i.tag){case m:{var o=i.stateNode;if(fr(o)){var v=JE(o);cte(o,v)}break}case I:{Ss(function(){var C=ba(i,rt);if(C!==null){var T=qi();zr(C,i,rt,T)}});var g=rt;nA(i,g);break}}}function F3(i,o){var v=i.memoizedState;v!==null&&v.dehydrated!==null&&(v.retryLane=ES(v.retryLane,o))}function nA(i,o){F3(i,o);var v=i.alternate;v&&F3(v,o)}function nne(i){if(i.tag===I){var o=of,v=ba(i,o);if(v!==null){var g=qi();zr(v,i,o,g)}nA(i,o)}}function rne(i){if(i.tag===I){var o=Bf(i),v=ba(i,o);if(v!==null){var g=qi();zr(v,i,o,g)}nA(i,o)}}function B3(i){var o=cS(i);return o===null?null:o.stateNode}var U3=function(i){return null};function ine(i){return U3(i)}var V3=function(i){return!1};function ane(i){return V3(i)}var H3=null,G3=null,$3=null,j3=null,Y3=null,W3=null,X3=null,q3=null,Q3=null;{var Z3=function(i,o,v){var g=o[v],C=gr(i)?i.slice():Dt({},i);return v+1===o.length?(gr(C)?C.splice(g,1):delete C[g],C):(C[g]=Z3(i[g],o,v+1),C)},K3=function(i,o){return Z3(i,o,0)},J3=function(i,o,v,g){var C=o[g],T=gr(i)?i.slice():Dt({},i);if(g+1===o.length){var R=v[g];T[R]=T[C],gr(T)?T.splice(C,1):delete T[C]}else T[C]=J3(i[C],o,v,g+1);return T},eU=function(i,o,v){if(o.length!==v.length){l("copyWithRename() expects paths of the same length");return}else for(var g=0;g<v.length-1;g++)if(o[g]!==v[g]){l("copyWithRename() expects paths to be the same except for the deepest key");return}return J3(i,o,v,0)},tU=function(i,o,v,g){if(v>=o.length)return g;var C=o[v],T=gr(i)?i.slice():Dt({},i);return T[C]=tU(i[C],o,v+1,g),T},nU=function(i,o,v){return tU(i,o,0,v)},rA=function(i,o){for(var v=i.memoizedState;v!==null&&o>0;)v=v.next,o--;return v};H3=function(i,o,v,g){var C=rA(i,o);if(C!==null){var T=nU(C.memoizedState,v,g);C.memoizedState=T,C.baseState=T,i.memoizedProps=Dt({},i.memoizedProps);var R=ba(i,rt);R!==null&&zr(R,i,rt,gn)}},G3=function(i,o,v){var g=rA(i,o);if(g!==null){var C=K3(g.memoizedState,v);g.memoizedState=C,g.baseState=C,i.memoizedProps=Dt({},i.memoizedProps);var T=ba(i,rt);T!==null&&zr(T,i,rt,gn)}},$3=function(i,o,v,g){var C=rA(i,o);if(C!==null){var T=eU(C.memoizedState,v,g);C.memoizedState=T,C.baseState=T,i.memoizedProps=Dt({},i.memoizedProps);var R=ba(i,rt);R!==null&&zr(R,i,rt,gn)}},j3=function(i,o,v){i.pendingProps=nU(i.memoizedProps,o,v),i.alternate&&(i.alternate.pendingProps=i.pendingProps);var g=ba(i,rt);g!==null&&zr(g,i,rt,gn)},Y3=function(i,o){i.pendingProps=K3(i.memoizedProps,o),i.alternate&&(i.alternate.pendingProps=i.pendingProps);var v=ba(i,rt);v!==null&&zr(v,i,rt,gn)},W3=function(i,o,v){i.pendingProps=eU(i.memoizedProps,o,v),i.alternate&&(i.alternate.pendingProps=i.pendingProps);var g=ba(i,rt);g!==null&&zr(g,i,rt,gn)},X3=function(i){var o=ba(i,rt);o!==null&&zr(o,i,rt,gn)},q3=function(i){U3=i},Q3=function(i){V3=i}}function one(i){var o=ma(i);return o===null?null:o.stateNode}function lne(i){return null}function une(){return Kn}function sne(i){var o=i.findFiberByHostInstance,v=n.ReactCurrentDispatcher;return zm({bundleType:i.bundleType,version:i.version,rendererPackageName:i.rendererPackageName,rendererConfig:i.rendererConfig,overrideHookState:H3,overrideHookStateDeletePath:G3,overrideHookStateRenamePath:$3,overrideProps:j3,overridePropsDeletePath:Y3,overridePropsRenamePath:W3,setErrorHandler:q3,setSuspenseHandler:Q3,scheduleUpdate:X3,currentDispatcherRef:v,findHostInstanceByFiber:one,findFiberByHostInstance:o||lne,findHostInstancesForRefresh:Bte,scheduleRefresh:zte,scheduleRoot:Fte,setRefreshHandler:Ite,getCurrentFiber:une,reconcilerVersion:JR})}var rU=typeof reportError=="function"?reportError:function(i){console.error(i)};function iA(i){this._internalRoot=i}yw.prototype.render=iA.prototype.render=function(i){var o=this._internalRoot;if(o===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?u("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):_w(arguments[1])?u("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 arguments[1]<"u"&&u("You passed a second argument to root.render(...) but it only accepts one argument.");var v=o.containerInfo;if(v.nodeType!==Jn){var g=B3(o.current);g&&g.parentNode!==v&&u("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}}f0(i,o,null,null)},yw.prototype.unmount=iA.prototype.unmount=function(){typeof arguments[0]=="function"&&u("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var i=this._internalRoot;if(i!==null){this._internalRoot=null;var o=i.containerInfo;p3()&&u("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."),Ss(function(){f0(null,i,null,null)}),n5(o)}};function fne(i,o){if(!_w(i))throw new Error("createRoot(...): Target container is not a DOM element.");iU(i);var v=!1,g=!1,C="",T=rU;o!=null&&(o.hydrate?l("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof o=="object"&&o!==null&&o.$$typeof===kl&&u(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
188
-
189
- let root = createRoot(domContainer);
190
- root.render(<App />);`),o.unstable_strictMode===!0&&(v=!0),o.identifierPrefix!==void 0&&(C=o.identifierPrefix),o.onRecoverableError!==void 0&&(T=o.onRecoverableError),o.transitionCallbacks!==void 0&&o.transitionCallbacks);var R=I3(i,vC,null,v,g,C,T);oC(R.current,i);var k=i.nodeType===Jn?i.parentNode:i;return yy(k),new iA(R)}function yw(i){this._internalRoot=i}function cne(i){i&&NS(i)}yw.prototype.unstable_scheduleHydration=cne;function dne(i,o,v){if(!_w(i))throw new Error("hydrateRoot(...): Target container is not a DOM element.");iU(i),o===void 0&&u("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var g=v??null,C=v!=null&&v.hydratedSources||null,T=!1,R=!1,k="",N=rU;v!=null&&(v.unstable_strictMode===!0&&(T=!0),v.identifierPrefix!==void 0&&(k=v.identifierPrefix),v.onRecoverableError!==void 0&&(N=v.onRecoverableError));var B=z3(o,null,i,vC,g,T,R,k,N);if(oC(B.current,i),yy(i),C)for(var V=0;V<C.length;V++){var K=C[V];SJ(B,K)}return new yw(B)}function _w(i){return!!(i&&(i.nodeType===gi||i.nodeType===ja||i.nodeType===zu||!Ge))}function c0(i){return!!(i&&(i.nodeType===gi||i.nodeType===ja||i.nodeType===zu||i.nodeType===Jn&&i.nodeValue===" react-mount-point-unstable "))}function iU(i){i.nodeType===gi&&i.tagName&&i.tagName.toUpperCase()==="BODY"&&u("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),Ry(i)&&(i._reactRootContainer?u("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):u("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."))}var vne=n.ReactCurrentOwner,aU;aU=function(i){if(i._reactRootContainer&&i.nodeType!==Jn){var o=B3(i._reactRootContainer.current);o&&o.parentNode!==i&&u("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var v=!!i._reactRootContainer,g=aA(i),C=!!(g&&Ef(g));C&&!v&&u("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),i.nodeType===gi&&i.tagName&&i.tagName.toUpperCase()==="BODY"&&u("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function aA(i){return i?i.nodeType===ja?i.documentElement:i.firstChild:null}function oU(){}function hne(i,o,v,g,C){if(C){if(typeof g=="function"){var T=g;g=function(){var Q=mw(R);T.call(Q)}}var R=z3(o,g,i,Mf,null,!1,!1,"",oU);i._reactRootContainer=R,oC(R.current,i);var k=i.nodeType===Jn?i.parentNode:i;return yy(k),Ss(),R}else{for(var N;N=i.lastChild;)i.removeChild(N);if(typeof g=="function"){var B=g;g=function(){var Q=mw(V);B.call(Q)}}var V=I3(i,Mf,null,!1,!1,"",oU);i._reactRootContainer=V,oC(V.current,i);var K=i.nodeType===Jn?i.parentNode:i;return yy(K),Ss(function(){f0(o,V,v,g)}),V}}function pne(i,o){i!==null&&typeof i!="function"&&u("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",o,i)}function Sw(i,o,v,g,C){aU(v),pne(C===void 0?null:C,"render");var T=v._reactRootContainer,R;if(!T)R=hne(v,o,i,C,g);else{if(R=T,typeof C=="function"){var k=C;C=function(){var N=mw(R);k.call(N)}}f0(o,R,i,C)}return mw(R)}function gne(i){{var o=vne.current;if(o!==null&&o.stateNode!==null){var v=o.stateNode._warnedAboutRefsInRender;v||u("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",hn(o.type)||"A component"),o.stateNode._warnedAboutRefsInRender=!0}}return i==null?null:i.nodeType===gi?i:ene(i,"findDOMNode")}function mne(i,o,v){if(u("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!c0(o))throw new Error("Target container is not a DOM element.");{var g=Ry(o)&&o._reactRootContainer===void 0;g&&u("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?")}return Sw(null,i,o,!0,v)}function yne(i,o,v){if(u("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!c0(o))throw new Error("Target container is not a DOM element.");{var g=Ry(o)&&o._reactRootContainer===void 0;g&&u("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return Sw(null,i,o,!1,v)}function _ne(i,o,v,g){if(u("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!c0(v))throw new Error("Target container is not a DOM element.");if(i==null||!td(i))throw new Error("parentComponent must be a valid React Component");return Sw(i,o,v,!1,g)}function Sne(i){if(!c0(i))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var o=Ry(i)&&i._reactRootContainer===void 0;o&&u("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(i._reactRootContainer){{var v=aA(i),g=v&&!Ef(v);g&&u("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return Ss(function(){Sw(null,null,i,!1,function(){i._reactRootContainer=null,n5(i)})}),!0}else{{var C=aA(i),T=!!(C&&Ef(C)),R=i.nodeType===gi&&c0(i.parentNode)&&!!i.parentNode._reactRootContainer;T&&u("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",R?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}Fe(tne),MS(nne),gd(rne),ey(Sa),AS(vd),(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")&&u("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),uS(xZ),ah(IR,dte,Ss);function Cne(i,o){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!_w(o))throw new Error("Target container is not a DOM element.");return Jte(i,o,null,v)}function wne(i,o,v,g){return _ne(i,o,v,g)}var oA={usingClientEntryPoint:!1,Events:[Ef,lp,lC,ih,Kc,IR]};function xne(i,o){return oA.usingClientEntryPoint||u('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),fne(i,o)}function Tne(i,o,v){return oA.usingClientEntryPoint||u('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),dne(i,o,v)}function bne(i){return p3()&&u("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),Ss(i)}var Ene=sne({findFiberByHostInstance:Ed,bundleType:1,version:JR,rendererPackageName:"react-dom"});if(!Ene&&Zt&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var lU=window.location.protocol;/^(https?|file):$/.test(lU)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(lU==="file:"?`
191
- You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Ji.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=oA,Ji.createPortal=Cne,Ji.createRoot=xne,Ji.findDOMNode=gne,Ji.flushSync=bne,Ji.hydrate=mne,Ji.hydrateRoot=Tne,Ji.render=yne,Ji.unmountComponentAtNode=Sne,Ji.unstable_batchedUpdates=IR,Ji.unstable_renderSubtreeIntoContainer=wne,Ji.version=JR,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Ji}(function(t){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(n){console.error(n)}}}process.env.NODE_ENV==="production"?(e(),t.exports=IV()):t.exports=zV()})(HA);const qA=vU(HA.exports),QA=[$d.jpeg,$d.jpg,$d.png],ZA=t=>{const{maxCount:e=1,listType:n="picture-card",fileList:r=[],maxSize:a=2,accept:l=QA.join(","),uploadBtnName:u="上传",uploadHint:f=null}=t,[d,h]=ft.useState(!1),[p,m]=ft.useState(""),S=()=>n!=="text"?Tr("div",{children:[ze(vV,{}),ze("div",{style:{marginTop:8},children:u})]}):Tr(h0,{children:[ze(vt.Button,{icon:ze(_V,{}),children:u}),f]}),_=b=>{const D=l.split(","),A=S0(b.name)||"";return D.includes(A)?b.size/1024/1024<a?!0:(vt.message.error(`文件必须小于${a}MB`),vt.Upload.LIST_IGNORE):(vt.message.error(`只允许上传 ${l} 文件`),vt.Upload.LIST_IGNORE)},x=b=>{t.onChange&&t.onChange(b)},E=async b=>{let D=S0(b.name)||"";if(D||(D=S0(b.name||b.url)||""),D===$d.pdf)return vt.Modal.info({title:"PDF",width:"60%",content:ze("iframe",{title:"PDF预览",src:b.url||b.response.url,frameBorder:"0",style:{width:"100%",height:"70vh"}}),okText:"关闭"});QA.includes(D)&&(!b.url&&!b.thumbUrl&&!b.preview&&(b.preview=await VA(b.originFileObj)),m(b.url||b.thumbUrl||b.preview),h(!0))};return Tr(h0,{children:[ze(vt.Upload,{...t,onPreview:E,beforeUpload:_,onChange:x,listType:n,children:r.length>=e?null:S()}),ze(FV,{visible:d,src:p,onVisibleChange:()=>{h(!1),m("")}})]})},FV=t=>{const{visible:e,src:n,onVisibleChange:r}=t;return qA.createPortal(ze(vt.Image,{style:{display:"none"},src:n,preview:{visible:e,src:n,onVisibleChange:r}}),document.body)},C0={fieldModal:"_fieldModal_1comf_1",content:"_content_1comf_22",suffix:"_suffix_1comf_25",placeholder:"_placeholder_1comf_36"},BV={labelCol:{span:4},wrapperCol:{span:20}},UV=t=>{switch(t){case"upload":return"fileList";case"switch":return"checked";default:return"value"}},KA=t=>{const{items:e,rowProps:n,formProps:r,readonly:a=!1,hiddenTitle:l=!1}=t,u=(d,h)=>{var p,m;if(h.btnType==="submit"){(p=r==null?void 0:r.form)==null||p.validateFields().then(S=>{h.onClick&&h.onClick(S)});return}if(h.btnType==="reset"){(m=r==null?void 0:r.form)==null||m.resetFields(),h.onClick&&h.onClick(d);return}h.btnType==="cancel"&&h.onClick&&h.onClick(d)},f=d=>Array.isArray(d)?d:d&&d.fileList;return ze(vt.Form,{layout:"horizontal",form:r==null?void 0:r.form,...BV,...r||{},children:ze(vt.Row,{gutter:16,...n,children:e.filter(d=>!d.hidden).map(d=>{var h,p;return ze(vt.Col,{...d.colProps||{span:24},children:ze(vt.Form.Item,{...d.valueType==="upload"?{getValueFromEvent:f}:{},label:l?"":d.title,name:d.valueType==="btns"?void 0:d.dataIndex,...d.formItemProps,children:d.readonly?ze("div",{children:d.value||((h=r==null?void 0:r.initialValues)==null?void 0:h[d.dataIndex])}):d.readonly===void 0&&a?ze("div",{children:d.value||((p=r==null?void 0:r.initialValues)==null?void 0:p[d.dataIndex])}):ze(JA,{onChange:m=>{var S;return(S=d==null?void 0:d.onChange)==null?void 0:S.call(d,m)},valueType:d.valueType,onBtnClick:u,valueProps:d.valueProps})})},d.dataIndex)})})})},JA=t=>{const{valueType:e,valueProps:n,value:r,onChange:a,onBtnClick:l,inputRef:u}=t,f=ft.useMemo(()=>{let d=ze(vt.Input,{placeholder:"请输入",...n,allowClear:!0});switch(e){case"password":d=ze(vt.Input.Password,{...n});break;case"modal":d=ze(VV,{...n});break;case"checkbox":d=ze(vt.Checkbox.Group,{...n});break;case"select":d=ze(vt.Select,{placeholder:"请选择",...n,allowClear:!0});break;case"inputNumber":d=ze(vt.InputNumber,{style:{width:"100%"},placeholder:"请输入",...n});break;case"textarea":d=ze(vt.Input.TextArea,{placeholder:"请输入",...n,allowClear:!0});break;case"radio":d=ze(vt.Radio.Group,{...n});break;case"switch":d=ze(vt.Switch,{...n});break;case"datePicker":d=ze(vt.DatePicker,{style:{width:"100%"},...n,allowClear:!0});break;case"rangePicker":d=ze(vt.DatePicker.RangePicker,{style:{width:"100%"},...n,allowClear:!0});break;case"timePicker":d=ze(vt.TimePicker,{style:{width:"100%"},...n,allowClear:!0});break;case"cascader":d=ze(vt.Cascader,{...n,allowClear:!0});break;case"upload":d=ze(ZA,{...n});break;case"btns":d=ze(vt.Space,{children:n==null?void 0:n.map(h=>ft.createElement(vt.Button,{type:h.btnType==="submit"?"primary":"default",...Op.omit(h,["btnType"]),key:h.btnType,onClick:p=>{l==null||l(p,h)}},h.title))});break}return d},[e,n,a,r]);return ft.cloneElement(f,{[UV(e||"input")]:r,onChange:a,ref:u})},VV=t=>{const{placeholder:e,labelKey:n,onToggle:r,value:a,onClear:l}=t;return Tr("div",{className:C0.fieldModal,children:[ze("div",{className:C0.content,onClick:()=>r(!0),children:a?ze("span",{children:a[n]}):ze("span",{className:C0.placeholder,children:e})}),ze("span",{className:C0.suffix,onClick:l,children:a&&ze(lV,{})})]})},HV={search:"_search_aomzr_1"};function GV(t){const{tableProps:e={},searchProps:n}=t,{columns:r=[],...a}=e;return Tr(h0,{children:[n&&ze(KA,{hiddenTitle:!0,...n,items:n.items}),ze(vt.Table,{columns:r.filter(l=>!l.hidden),...a,className:Hd(HV.table,e==null?void 0:e.className),pagination:typeof(e==null?void 0:e.pagination)=="boolean"?e.pagination:{hideOnSinglePage:!0,showPrevNextJumpers:!0,showQuickJumper:!0,showSizeChanger:!0,showTotal:l=>`共 ${l} 条`,...e==null?void 0:e.pagination}})]})}var Hw=function(t,e){return Hw=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(n[a]=r[a])},Hw(t,e)};function Pt(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Hw(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var $V=function(){function t(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return t}(),jV=function(){function t(){this.browser=new $V,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window<"u"}return t}(),Hf=new jV;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(Hf.wxa=!0,Hf.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?Hf.worker=!0:typeof navigator>"u"?(Hf.node=!0,Hf.svgSupported=!0):YV(navigator.userAgent,Hf);function YV(t,e){var n=e.browser,r=t.match(/Firefox\/([\d.]+)/),a=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),l=t.match(/Edge?\/([\d.]+)/),u=/micromessenger/i.test(t);r&&(n.firefox=!0,n.version=r[1]),a&&(n.ie=!0,n.version=a[1]),l&&(n.edge=!0,n.version=l[1],n.newEdge=+l[1].split(".")[0]>18),u&&(n.weChat=!0),e.svgSupported=typeof SVGRect<"u",e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported=typeof document<"u";var f=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in f||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in f)&&!("OTransition"in f),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}const Tt=Hf;var Gw=12,WV="sans-serif",Gf=Gw+"px "+WV,XV=20,qV=100,QV="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function ZV(t){var e={};if(typeof JSON>"u")return e;for(var n=0;n<t.length;n++){var r=String.fromCharCode(n+32),a=(t.charCodeAt(n)-XV)/qV;e[r]=a}return e}var KV=ZV(QV),$f={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:function(){var t,e;return function(n,r){if(!t){var a=$f.createCanvas();t=a&&a.getContext("2d")}if(t)return e!==r&&(e=t.font=r||Gf),t.measureText(n);n=n||"",r=r||Gf;var l=/(\d+)px/.exec(r),u=l&&+l[1]||Gw,f=0;if(r.indexOf("mono")>=0)f=u*n.length;else for(var d=0;d<n.length;d++){var h=KV[n[d]];f+=h==null?u:h*u}return{width:f}}}(),loadImage:function(t,e,n){var r=new Image;return r.onload=e,r.onerror=n,r.src=t,r}},eL=Yd(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(t,e){return t["[object "+e+"]"]=!0,t},{}),tL=Yd(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(t,e){return t["[object "+e+"Array]"]=!0,t},{}),jd=Object.prototype.toString,w0=Array.prototype,JV=w0.forEach,eH=w0.filter,$w=w0.slice,tH=w0.map,nL=function(){}.constructor,x0=nL?nL.prototype:null,jw="__proto__",nH=2311;function rL(){return nH++}function jf(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];typeof console<"u"&&console.error.apply(console,t)}function Qt(t){if(t==null||typeof t!="object")return t;var e=t,n=jd.call(t);if(n==="[object Array]"){if(!Bp(t)){e=[];for(var r=0,a=t.length;r<a;r++)e[r]=Qt(t[r])}}else if(tL[n]){if(!Bp(t)){var l=t.constructor;if(l.from)e=l.from(t);else{e=new l(t.length);for(var r=0,a=t.length;r<a;r++)e[r]=t[r]}}}else if(!eL[n]&&!Bp(t)&&!zp(t)){e={};for(var u in t)t.hasOwnProperty(u)&&u!==jw&&(e[u]=Qt(t[u]))}return e}function cn(t,e,n){if(!it(e)||!it(t))return n?Qt(e):t;for(var r in e)if(e.hasOwnProperty(r)&&r!==jw){var a=t[r],l=e[r];it(l)&&it(a)&&!Be(l)&&!Be(a)&&!zp(l)&&!zp(a)&&!iL(l)&&!iL(a)&&!Bp(l)&&!Bp(a)?cn(a,l,n):(n||!(r in t))&&(t[r]=Qt(e[r]))}return t}function Re(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)e.hasOwnProperty(n)&&n!==jw&&(t[n]=e[n]);return t}function Vt(t,e,n){for(var r=kn(e),a=0;a<r.length;a++){var l=r[a];(n?e[l]!=null:t[l]==null)&&(t[l]=e[l])}return t}$f.createCanvas;function dn(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n}return-1}function rH(t,e){var n=t.prototype;function r(){}r.prototype=e.prototype,t.prototype=new r;for(var a in n)n.hasOwnProperty(a)&&(t.prototype[a]=n[a]);t.prototype.constructor=t,t.superClass=e}function ml(t,e,n){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var r=Object.getOwnPropertyNames(e),a=0;a<r.length;a++){var l=r[a];l!=="constructor"&&(n?e[l]!=null:t[l]==null)&&(t[l]=e[l])}else Vt(t,e,n)}function Ai(t){return!t||typeof t=="string"?!1:typeof t.length=="number"}function W(t,e,n){if(t&&e)if(t.forEach&&t.forEach===JV)t.forEach(e,n);else if(t.length===+t.length)for(var r=0,a=t.length;r<a;r++)e.call(n,t[r],r,t);else for(var l in t)t.hasOwnProperty(l)&&e.call(n,t[l],l,t)}function ot(t,e,n){if(!t)return[];if(!e)return Yw(t);if(t.map&&t.map===tH)return t.map(e,n);for(var r=[],a=0,l=t.length;a<l;a++)r.push(e.call(n,t[a],a,t));return r}function Yd(t,e,n,r){if(t&&e){for(var a=0,l=t.length;a<l;a++)n=e.call(r,n,t[a],a,t);return n}}function br(t,e,n){if(!t)return[];if(!e)return Yw(t);if(t.filter&&t.filter===eH)return t.filter(e,n);for(var r=[],a=0,l=t.length;a<l;a++)e.call(n,t[a],a,t)&&r.push(t[a]);return r}function kn(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}function iH(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return function(){return t.apply(e,n.concat($w.call(arguments)))}}var Qn=x0&&_t(x0.bind)?x0.call.bind(x0.bind):iH;function Aa(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){return t.apply(this,e.concat($w.call(arguments)))}}function Be(t){return Array.isArray?Array.isArray(t):jd.call(t)==="[object Array]"}function _t(t){return typeof t=="function"}function et(t){return typeof t=="string"}function T0(t){return jd.call(t)==="[object String]"}function Nn(t){return typeof t=="number"}function it(t){var e=typeof t;return e==="function"||!!t&&e==="object"}function iL(t){return!!eL[jd.call(t)]}function ea(t){return!!tL[jd.call(t)]}function zp(t){return typeof t=="object"&&typeof t.nodeType=="number"&&typeof t.ownerDocument=="object"}function b0(t){return t.colorStops!=null}function aH(t){return t.image!=null}function aL(t){return jd.call(t)==="[object RegExp]"}function Fp(t){return t!==t}function Yf(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0,r=t.length;n<r;n++)if(t[n]!=null)return t[n]}function kt(t,e){return t??e}function Wd(t,e,n){return t??e??n}function Yw(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return $w.apply(t,e)}function oL(t){if(typeof t=="number")return[t,t,t,t];var e=t.length;return e===2?[t[0],t[1],t[0],t[1]]:e===3?[t[0],t[1],t[2],t[1]]:t}function bt(t,e){if(!t)throw new Error(e)}function yl(t){return t==null?null:typeof t.trim=="function"?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var lL="__ec_primitive__";function E0(t){t[lL]=!0}function Bp(t){return t[lL]}var oH=function(){function t(){this.data={}}return t.prototype.delete=function(e){var n=this.has(e);return n&&delete this.data[e],n},t.prototype.has=function(e){return this.data.hasOwnProperty(e)},t.prototype.get=function(e){return this.data[e]},t.prototype.set=function(e,n){return this.data[e]=n,this},t.prototype.keys=function(){return kn(this.data)},t.prototype.forEach=function(e){var n=this.data;for(var r in n)n.hasOwnProperty(r)&&e(n[r],r)},t}(),uL=typeof Map=="function";function lH(){return uL?new Map:new oH}var uH=function(){function t(e){var n=Be(e);this.data=lH();var r=this;e instanceof t?e.each(a):e&&W(e,a);function a(l,u){n?r.set(l,u):r.set(u,l)}}return t.prototype.hasKey=function(e){return this.data.has(e)},t.prototype.get=function(e){return this.data.get(e)},t.prototype.set=function(e,n){return this.data.set(e,n),n},t.prototype.each=function(e,n){this.data.forEach(function(r,a){e.call(n,r,a)})},t.prototype.keys=function(){var e=this.data.keys();return uL?Array.from(e):e},t.prototype.removeKey=function(e){this.data.delete(e)},t}();function xt(t){return new uH(t)}function sH(t,e){for(var n=new t.constructor(t.length+e.length),r=0;r<t.length;r++)n[r]=t[r];for(var a=t.length,r=0;r<e.length;r++)n[r+a]=e[r];return n}function D0(t,e){var n;if(Object.create)n=Object.create(t);else{var r=function(){};r.prototype=t,n=new r}return e&&Re(n,e),n}function sL(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function yu(t,e){return t.hasOwnProperty(e)}function ta(){}var fH=180/Math.PI;var Ww=function(t,e){return Ww=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(n[a]=r[a])},Ww(t,e)};function mn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Ww(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}function Xd(t,e){return t==null&&(t=0),e==null&&(e=0),[t,e]}function cH(t){return[t[0],t[1]]}function fL(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function dH(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function vH(t){return Math.sqrt(hH(t))}function hH(t){return t[0]*t[0]+t[1]*t[1]}function Xw(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function pH(t,e){var n=vH(e);return n===0?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t}function qw(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var Qw=qw;function gH(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var qd=gH;function M0(t,e,n,r){return t[0]=e[0]+r*(n[0]-e[0]),t[1]=e[1]+r*(n[1]-e[1]),t}function eo(t,e,n){var r=e[0],a=e[1];return t[0]=n[0]*r+n[2]*a+n[4],t[1]=n[1]*r+n[3]*a+n[5],t}function Qd(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function Zd(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}var Kd=function(){function t(e,n){this.target=e,this.topTarget=n&&n.topTarget}return t}(),mH=function(){function t(e){this.handler=e,e.on("mousedown",this._dragStart,this),e.on("mousemove",this._drag,this),e.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(e){for(var n=e.target;n&&!n.draggable;)n=n.parent||n.__hostTarget;n&&(this._draggingTarget=n,n.dragging=!0,this._x=e.offsetX,this._y=e.offsetY,this.handler.dispatchToElement(new Kd(n,e),"dragstart",e.event))},t.prototype._drag=function(e){var n=this._draggingTarget;if(n){var r=e.offsetX,a=e.offsetY,l=r-this._x,u=a-this._y;this._x=r,this._y=a,n.drift(l,u,e),this.handler.dispatchToElement(new Kd(n,e),"drag",e.event);var f=this.handler.findHover(r,a,n).target,d=this._dropTarget;this._dropTarget=f,n!==f&&(d&&f!==d&&this.handler.dispatchToElement(new Kd(d,e),"dragleave",e.event),f&&f!==d&&this.handler.dispatchToElement(new Kd(f,e),"dragenter",e.event))}},t.prototype._dragEnd=function(e){var n=this._draggingTarget;n&&(n.dragging=!1),this.handler.dispatchToElement(new Kd(n,e),"dragend",e.event),this._dropTarget&&this.handler.dispatchToElement(new Kd(this._dropTarget,e),"drop",e.event),this._draggingTarget=null,this._dropTarget=null},t}();const yH=mH;var _H=function(){function t(e){e&&(this._$eventProcessor=e)}return t.prototype.on=function(e,n,r,a){this._$handlers||(this._$handlers={});var l=this._$handlers;if(typeof n=="function"&&(a=r,r=n,n=null),!r||!e)return this;var u=this._$eventProcessor;n!=null&&u&&u.normalizeQuery&&(n=u.normalizeQuery(n)),l[e]||(l[e]=[]);for(var f=0;f<l[e].length;f++)if(l[e][f].h===r)return this;var d={h:r,query:n,ctx:a||this,callAtLast:r.zrEventfulCallAtLast},h=l[e].length-1,p=l[e][h];return p&&p.callAtLast?l[e].splice(h,0,d):l[e].push(d),this},t.prototype.isSilent=function(e){var n=this._$handlers;return!n||!n[e]||!n[e].length},t.prototype.off=function(e,n){var r=this._$handlers;if(!r)return this;if(!e)return this._$handlers={},this;if(n){if(r[e]){for(var a=[],l=0,u=r[e].length;l<u;l++)r[e][l].h!==n&&a.push(r[e][l]);r[e]=a}r[e]&&r[e].length===0&&delete r[e]}else delete r[e];return this},t.prototype.trigger=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];if(!this._$handlers)return this;var a=this._$handlers[e],l=this._$eventProcessor;if(a)for(var u=n.length,f=a.length,d=0;d<f;d++){var h=a[d];if(!(l&&l.filter&&h.query!=null&&!l.filter(e,h.query)))switch(u){case 0:h.h.call(h.ctx);break;case 1:h.h.call(h.ctx,n[0]);break;case 2:h.h.call(h.ctx,n[0],n[1]);break;default:h.h.apply(h.ctx,n);break}}return l&&l.afterTrigger&&l.afterTrigger(e),this},t.prototype.triggerWithContext=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];if(!this._$handlers)return this;var a=this._$handlers[e],l=this._$eventProcessor;if(a)for(var u=n.length,f=n[u-1],d=a.length,h=0;h<d;h++){var p=a[h];if(!(l&&l.filter&&p.query!=null&&!l.filter(e,p.query)))switch(u){case 0:p.h.call(f);break;case 1:p.h.call(f,n[0]);break;case 2:p.h.call(f,n[0],n[1]);break;default:p.h.apply(f,n.slice(1,u-1));break}}return l&&l.afterTrigger&&l.afterTrigger(e),this},t}();const _l=_H;var SH=Math.log(2);function Zw(t,e,n,r,a,l){var u=r+"-"+a,f=t.length;if(l.hasOwnProperty(u))return l[u];if(e===1){var d=Math.round(Math.log((1<<f)-1&~a)/SH);return t[n][d]}for(var h=r|1<<n,p=n+1;r&1<<p;)p++;for(var m=0,S=0,_=0;S<f;S++){var x=1<<S;x&a||(m+=(_%2?-1:1)*t[n][S]*Zw(t,e-1,p,h,a|x,l),_++)}return l[u]=m,m}function cL(t,e){var n=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],r={},a=Zw(n,8,0,0,0,r);if(a!==0){for(var l=[],u=0;u<8;u++)for(var f=0;f<8;f++)l[f]==null&&(l[f]=0),l[f]+=((u+f)%2?-1:1)*Zw(n,7,u===0?1:0,1<<u,1<<f,r)/a*e[u];return function(d,h,p){var m=h*l[6]+p*l[7]+1;d[0]=(h*l[0]+p*l[1]+l[2])/m,d[1]=(h*l[3]+p*l[4]+l[5])/m}}}var dL="___zrEVENTSAVED",Kw=[];function CH(t,e,n,r,a){return Jw(Kw,e,r,a,!0)&&Jw(t,n,Kw[0],Kw[1])}function Jw(t,e,n,r,a){if(e.getBoundingClientRect&&Tt.domSupported&&!vL(e)){var l=e[dL]||(e[dL]={}),u=wH(e,l),f=xH(u,l,a);if(f)return f(t,n,r),!0}return!1}function wH(t,e){var n=e.markers;if(n)return n;n=e.markers=[];for(var r=["left","right"],a=["top","bottom"],l=0;l<4;l++){var u=document.createElement("div"),f=u.style,d=l%2,h=(l>>1)%2;f.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",r[d]+":0",a[h]+":0",r[1-d]+":auto",a[1-h]+":auto",""].join("!important;"),t.appendChild(u),n.push(u)}return n}function xH(t,e,n){for(var r=n?"invTrans":"trans",a=e[r],l=e.srcCoords,u=[],f=[],d=!0,h=0;h<4;h++){var p=t[h].getBoundingClientRect(),m=2*h,S=p.left,_=p.top;u.push(S,_),d=d&&l&&S===l[m]&&_===l[m+1],f.push(t[h].offsetLeft,t[h].offsetTop)}return d&&a?a:(e.srcCoords=u,e[r]=n?cL(f,u):cL(u,f))}function vL(t){return t.nodeName.toUpperCase()==="CANVAS"}var TH=/([&<>"'])/g,bH={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function to(t){return t==null?"":(t+"").replace(TH,function(e,n){return bH[n]})}var EH=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ex=[],DH=Tt.browser.firefox&&+Tt.browser.version.split(".")[0]<39;function tx(t,e,n,r){return n=n||{},r?hL(t,e,n):DH&&e.layerX!=null&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):e.offsetX!=null?(n.zrX=e.offsetX,n.zrY=e.offsetY):hL(t,e,n),n}function hL(t,e,n){if(Tt.domSupported&&t.getBoundingClientRect){var r=e.clientX,a=e.clientY;if(vL(t)){var l=t.getBoundingClientRect();n.zrX=r-l.left,n.zrY=a-l.top;return}else if(Jw(ex,t,r,a)){n.zrX=ex[0],n.zrY=ex[1];return}}n.zrX=n.zrY=0}function nx(t){return t||window.event}function no(t,e,n){if(e=nx(e),e.zrX!=null)return e;var r=e.type,a=r&&r.indexOf("touch")>=0;if(a){var u=r!=="touchend"?e.targetTouches[0]:e.changedTouches[0];u&&tx(t,u,e,n)}else{tx(t,e,e,n);var l=MH(e);e.zrDelta=l?l/120:-(e.detail||0)/3}var f=e.button;return e.which==null&&f!==void 0&&EH.test(e.type)&&(e.which=f&1?1:f&2?3:f&4?2:0),e}function MH(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,r=t.deltaY;if(n==null||r==null)return e;var a=Math.abs(r!==0?r:n),l=r>0?-1:r<0?1:n>0?-1:1;return 3*a*l}function RH(t,e,n,r){t.addEventListener(e,n,r)}function AH(t,e,n,r){t.removeEventListener(e,n,r)}var pL=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0},LH=function(){function t(){this._track=[]}return t.prototype.recognize=function(e,n,r){return this._doTrack(e,n,r),this._recognize(e)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(e,n,r){var a=e.touches;if(a){for(var l={points:[],touches:[],target:n,event:e},u=0,f=a.length;u<f;u++){var d=a[u],h=tx(r,d,{});l.points.push([h.zrX,h.zrY]),l.touches.push(d)}this._track.push(l)}},t.prototype._recognize=function(e){for(var n in rx)if(rx.hasOwnProperty(n)){var r=rx[n](this._track,e);if(r)return r}},t}();function gL(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}function OH(t){return[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]}var rx={pinch:function(t,e){var n=t.length;if(n){var r=(t[n-1]||{}).points,a=(t[n-2]||{}).points||r;if(a&&a.length>1&&r&&r.length>1){var l=gL(r)/gL(a);!isFinite(l)&&(l=1),e.pinchScale=l;var u=OH(r);return e.pinchX=u[0],e.pinchY=u[1],{type:"pinch",target:t[0].target,event:e}}}}};function Up(){return[1,0,0,1,0,0]}function ix(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function kH(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function Jd(t,e,n){var r=e[0]*n[0]+e[2]*n[1],a=e[1]*n[0]+e[3]*n[1],l=e[0]*n[2]+e[2]*n[3],u=e[1]*n[2]+e[3]*n[3],f=e[0]*n[4]+e[2]*n[5]+e[4],d=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=r,t[1]=a,t[2]=l,t[3]=u,t[4]=f,t[5]=d,t}function ax(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function ox(t,e,n){var r=e[0],a=e[2],l=e[4],u=e[1],f=e[3],d=e[5],h=Math.sin(n),p=Math.cos(n);return t[0]=r*p+u*h,t[1]=-r*h+u*p,t[2]=a*p+f*h,t[3]=-a*h+p*f,t[4]=p*l+h*d,t[5]=p*d-h*l,t}function NH(t,e,n){var r=n[0],a=n[1];return t[0]=e[0]*r,t[1]=e[1]*a,t[2]=e[2]*r,t[3]=e[3]*a,t[4]=e[4]*r,t[5]=e[5]*a,t}function R0(t,e){var n=e[0],r=e[2],a=e[4],l=e[1],u=e[3],f=e[5],d=n*u-l*r;return d?(d=1/d,t[0]=u*d,t[1]=-l*d,t[2]=-r*d,t[3]=n*d,t[4]=(r*f-u*a)*d,t[5]=(l*a-n*f)*d,t):null}var PH=function(){function t(e,n){this.x=e||0,this.y=n||0}return t.prototype.copy=function(e){return this.x=e.x,this.y=e.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(e,n){return this.x=e,this.y=n,this},t.prototype.equal=function(e){return e.x===this.x&&e.y===this.y},t.prototype.add=function(e){return this.x+=e.x,this.y+=e.y,this},t.prototype.scale=function(e){this.x*=e,this.y*=e},t.prototype.scaleAndAdd=function(e,n){this.x+=e.x*n,this.y+=e.y*n},t.prototype.sub=function(e){return this.x-=e.x,this.y-=e.y,this},t.prototype.dot=function(e){return this.x*e.x+this.y*e.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var e=this.len();return this.x/=e,this.y/=e,this},t.prototype.distance=function(e){var n=this.x-e.x,r=this.y-e.y;return Math.sqrt(n*n+r*r)},t.prototype.distanceSquare=function(e){var n=this.x-e.x,r=this.y-e.y;return n*n+r*r},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(e){if(e){var n=this.x,r=this.y;return this.x=e[0]*n+e[2]*r+e[4],this.y=e[1]*n+e[3]*r+e[5],this}},t.prototype.toArray=function(e){return e[0]=this.x,e[1]=this.y,e},t.prototype.fromArray=function(e){this.x=e[0],this.y=e[1]},t.set=function(e,n,r){e.x=n,e.y=r},t.copy=function(e,n){e.x=n.x,e.y=n.y},t.len=function(e){return Math.sqrt(e.x*e.x+e.y*e.y)},t.lenSquare=function(e){return e.x*e.x+e.y*e.y},t.dot=function(e,n){return e.x*n.x+e.y*n.y},t.add=function(e,n,r){e.x=n.x+r.x,e.y=n.y+r.y},t.sub=function(e,n,r){e.x=n.x-r.x,e.y=n.y-r.y},t.scale=function(e,n,r){e.x=n.x*r,e.y=n.y*r},t.scaleAndAdd=function(e,n,r,a){e.x=n.x+r.x*a,e.y=n.y+r.y*a},t.lerp=function(e,n,r,a){var l=1-a;e.x=l*n.x+a*r.x,e.y=l*n.y+a*r.y},t}();const ht=PH;var A0=Math.min,L0=Math.max,Wf=new ht,Xf=new ht,qf=new ht,Qf=new ht,Vp=new ht,Hp=new ht,IH=function(){function t(e,n,r,a){r<0&&(e=e+r,r=-r),a<0&&(n=n+a,a=-a),this.x=e,this.y=n,this.width=r,this.height=a}return t.prototype.union=function(e){var n=A0(e.x,this.x),r=A0(e.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=L0(e.x+e.width,this.x+this.width)-n:this.width=e.width,isFinite(this.y)&&isFinite(this.height)?this.height=L0(e.y+e.height,this.y+this.height)-r:this.height=e.height,this.x=n,this.y=r},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(e){var n=this,r=e.width/n.width,a=e.height/n.height,l=Up();return ax(l,l,[-n.x,-n.y]),NH(l,l,[r,a]),ax(l,l,[e.x,e.y]),l},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var r=this,a=r.x,l=r.x+r.width,u=r.y,f=r.y+r.height,d=e.x,h=e.x+e.width,p=e.y,m=e.y+e.height,S=!(l<d||h<a||f<p||m<u);if(n){var _=1/0,x=0,E=Math.abs(l-d),b=Math.abs(h-a),D=Math.abs(f-p),A=Math.abs(m-u),O=Math.min(E,b),P=Math.min(D,A);l<d||h<a?O>x&&(x=O,E<b?ht.set(Hp,-E,0):ht.set(Hp,b,0)):O<_&&(_=O,E<b?ht.set(Vp,E,0):ht.set(Vp,-b,0)),f<p||m<u?P>x&&(x=P,D<A?ht.set(Hp,0,-D):ht.set(Hp,0,A)):O<_&&(_=O,D<A?ht.set(Vp,0,D):ht.set(Vp,0,-A))}return n&&ht.copy(n,S?Vp:Hp),S},t.prototype.contain=function(e,n){var r=this;return e>=r.x&&e<=r.x+r.width&&n>=r.y&&n<=r.y+r.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return this.width===0||this.height===0},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(e,n){e.x=n.x,e.y=n.y,e.width=n.width,e.height=n.height},t.applyTransform=function(e,n,r){if(!r){e!==n&&t.copy(e,n);return}if(r[1]<1e-5&&r[1]>-1e-5&&r[2]<1e-5&&r[2]>-1e-5){var a=r[0],l=r[3],u=r[4],f=r[5];e.x=n.x*a+u,e.y=n.y*l+f,e.width=n.width*a,e.height=n.height*l,e.width<0&&(e.x+=e.width,e.width=-e.width),e.height<0&&(e.y+=e.height,e.height=-e.height);return}Wf.x=qf.x=n.x,Wf.y=Qf.y=n.y,Xf.x=Qf.x=n.x+n.width,Xf.y=qf.y=n.y+n.height,Wf.transform(r),Qf.transform(r),Xf.transform(r),qf.transform(r),e.x=A0(Wf.x,Xf.x,qf.x,Qf.x),e.y=A0(Wf.y,Xf.y,qf.y,Qf.y);var d=L0(Wf.x,Xf.x,qf.x,Qf.x),h=L0(Wf.y,Xf.y,qf.y,Qf.y);e.width=d-e.x,e.height=h-e.y},t}();const Wt=IH;var mL="silent";function zH(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:FH}}function FH(){pL(this.event)}var BH=function(t){mn(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.handler=null,n}return e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(_l),Gp=function(){function t(e,n){this.x=e,this.y=n}return t}(),UH=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],lx=new Wt(0,0,0,0),yL=function(t){mn(e,t);function e(n,r,a,l,u){var f=t.call(this)||this;return f._hovered=new Gp(0,0),f.storage=n,f.painter=r,f.painterRoot=l,f._pointerSize=u,a=a||new BH,f.proxy=null,f.setHandlerProxy(a),f._draggingMgr=new yH(f),f}return e.prototype.setHandlerProxy=function(n){this.proxy&&this.proxy.dispose(),n&&(W(UH,function(r){n.on&&n.on(r,this[r],this)},this),n.handler=this),this.proxy=n},e.prototype.mousemove=function(n){var r=n.zrX,a=n.zrY,l=SL(this,r,a),u=this._hovered,f=u.target;f&&!f.__zr&&(u=this.findHover(u.x,u.y),f=u.target);var d=this._hovered=l?new Gp(r,a):this.findHover(r,a),h=d.target,p=this.proxy;p.setCursor&&p.setCursor(h?h.cursor:"default"),f&&h!==f&&this.dispatchToElement(u,"mouseout",n),this.dispatchToElement(d,"mousemove",n),h&&h!==f&&this.dispatchToElement(d,"mouseover",n)},e.prototype.mouseout=function(n){var r=n.zrEventControl;r!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",n),r!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:n})},e.prototype.resize=function(){this._hovered=new Gp(0,0)},e.prototype.dispatch=function(n,r){var a=this[n];a&&a.call(this,r)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(n){var r=this.proxy;r.setCursor&&r.setCursor(n)},e.prototype.dispatchToElement=function(n,r,a){n=n||{};var l=n.target;if(!(l&&l.silent)){for(var u="on"+r,f=zH(r,n,a);l&&(l[u]&&(f.cancelBubble=!!l[u].call(l,f)),l.trigger(r,f),l=l.__hostTarget?l.__hostTarget:l.parent,!f.cancelBubble););f.cancelBubble||(this.trigger(r,f),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(d){typeof d[u]=="function"&&d[u].call(d,f),d.trigger&&d.trigger(r,f)}))}},e.prototype.findHover=function(n,r,a){var l=this.storage.getDisplayList(),u=new Gp(n,r);if(_L(l,u,n,r,a),this._pointerSize&&!u.target){for(var f=[],d=this._pointerSize,h=d/2,p=new Wt(n-h,r-h,d,d),m=l.length-1;m>=0;m--){var S=l[m];S!==a&&!S.ignore&&!S.ignoreCoarsePointer&&(!S.parent||!S.parent.ignoreCoarsePointer)&&(lx.copy(S.getBoundingRect()),S.transform&&lx.applyTransform(S.transform),lx.intersect(p)&&f.push(S))}if(f.length)for(var _=4,x=Math.PI/12,E=Math.PI*2,b=0;b<h;b+=_)for(var D=0;D<E;D+=x){var A=n+b*Math.cos(D),O=r+b*Math.sin(D);if(_L(f,u,A,O,a),u.target)return u}}return u},e.prototype.processGesture=function(n,r){this._gestureMgr||(this._gestureMgr=new LH);var a=this._gestureMgr;r==="start"&&a.clear();var l=a.recognize(n,this.findHover(n.zrX,n.zrY,null).target,this.proxy.dom);if(r==="end"&&a.clear(),l){var u=l.type;n.gestureEvent=u;var f=new Gp;f.target=l.target,this.dispatchToElement(f,u,l.event)}},e}(_l);W(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){yL.prototype[t]=function(e){var n=e.zrX,r=e.zrY,a=SL(this,n,r),l,u;if((t!=="mouseup"||!a)&&(l=this.findHover(n,r),u=l.target),t==="mousedown")this._downEl=u,this._downPoint=[e.zrX,e.zrY],this._upEl=u;else if(t==="mouseup")this._upEl=u;else if(t==="click"){if(this._downEl!==this._upEl||!this._downPoint||Qw(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(l,t,e)}});function VH(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var r=t,a=void 0,l=!1;r;){if(r.ignoreClip&&(l=!0),!l){var u=r.getClipPath();if(u&&!u.contain(e,n))return!1;r.silent&&(a=!0)}var f=r.__hostTarget;r=f||r.parent}return a?mL:!0}return!1}function _L(t,e,n,r,a){for(var l=t.length-1;l>=0;l--){var u=t[l],f=void 0;if(u!==a&&!u.ignore&&(f=VH(u,n,r))&&(!e.topTarget&&(e.topTarget=u),f!==mL)){e.target=u;break}}}function SL(t,e,n){var r=t.painter;return e<0||e>r.getWidth()||n<0||n>r.getHeight()}const HH=yL;var CL=32,$p=7;function GH(t){for(var e=0;t>=CL;)e|=t&1,t>>=1;return t+e}function wL(t,e,n,r){var a=e+1;if(a===n)return 1;if(r(t[a++],t[e])<0){for(;a<n&&r(t[a],t[a-1])<0;)a++;$H(t,e,a)}else for(;a<n&&r(t[a],t[a-1])>=0;)a++;return a-e}function $H(t,e,n){for(n--;e<n;){var r=t[e];t[e++]=t[n],t[n--]=r}}function xL(t,e,n,r,a){for(r===e&&r++;r<n;r++){for(var l=t[r],u=e,f=r,d;u<f;)d=u+f>>>1,a(l,t[d])<0?f=d:u=d+1;var h=r-u;switch(h){case 3:t[u+3]=t[u+2];case 2:t[u+2]=t[u+1];case 1:t[u+1]=t[u];break;default:for(;h>0;)t[u+h]=t[u+h-1],h--}t[u]=l}}function ux(t,e,n,r,a,l){var u=0,f=0,d=1;if(l(t,e[n+a])>0){for(f=r-a;d<f&&l(t,e[n+a+d])>0;)u=d,d=(d<<1)+1,d<=0&&(d=f);d>f&&(d=f),u+=a,d+=a}else{for(f=a+1;d<f&&l(t,e[n+a-d])<=0;)u=d,d=(d<<1)+1,d<=0&&(d=f);d>f&&(d=f);var h=u;u=a-d,d=a-h}for(u++;u<d;){var p=u+(d-u>>>1);l(t,e[n+p])>0?u=p+1:d=p}return d}function sx(t,e,n,r,a,l){var u=0,f=0,d=1;if(l(t,e[n+a])<0){for(f=a+1;d<f&&l(t,e[n+a-d])<0;)u=d,d=(d<<1)+1,d<=0&&(d=f);d>f&&(d=f);var h=u;u=a-d,d=a-h}else{for(f=r-a;d<f&&l(t,e[n+a+d])>=0;)u=d,d=(d<<1)+1,d<=0&&(d=f);d>f&&(d=f),u+=a,d+=a}for(u++;u<d;){var p=u+(d-u>>>1);l(t,e[n+p])<0?d=p:u=p+1}return d}function jH(t,e){var n=$p,r,a,l=0;t.length;var u=[];r=[],a=[];function f(_,x){r[l]=_,a[l]=x,l+=1}function d(){for(;l>1;){var _=l-2;if(_>=1&&a[_-1]<=a[_]+a[_+1]||_>=2&&a[_-2]<=a[_]+a[_-1])a[_-1]<a[_+1]&&_--;else if(a[_]>a[_+1])break;p(_)}}function h(){for(;l>1;){var _=l-2;_>0&&a[_-1]<a[_+1]&&_--,p(_)}}function p(_){var x=r[_],E=a[_],b=r[_+1],D=a[_+1];a[_]=E+D,_===l-3&&(r[_+1]=r[_+2],a[_+1]=a[_+2]),l--;var A=sx(t[b],t,x,E,0,e);x+=A,E-=A,E!==0&&(D=ux(t[x+E-1],t,b,D,D-1,e),D!==0&&(E<=D?m(x,E,b,D):S(x,E,b,D)))}function m(_,x,E,b){var D=0;for(D=0;D<x;D++)u[D]=t[_+D];var A=0,O=E,P=_;if(t[P++]=t[O++],--b===0){for(D=0;D<x;D++)t[P+D]=u[A+D];return}if(x===1){for(D=0;D<b;D++)t[P+D]=t[O+D];t[P+b]=u[A];return}for(var I=n,F,U,H;;){F=0,U=0,H=!1;do if(e(t[O],u[A])<0){if(t[P++]=t[O++],U++,F=0,--b===0){H=!0;break}}else if(t[P++]=u[A++],F++,U=0,--x===1){H=!0;break}while((F|U)<I);if(H)break;do{if(F=sx(t[O],u,A,x,0,e),F!==0){for(D=0;D<F;D++)t[P+D]=u[A+D];if(P+=F,A+=F,x-=F,x<=1){H=!0;break}}if(t[P++]=t[O++],--b===0){H=!0;break}if(U=ux(u[A],t,O,b,0,e),U!==0){for(D=0;D<U;D++)t[P+D]=t[O+D];if(P+=U,O+=U,b-=U,b===0){H=!0;break}}if(t[P++]=u[A++],--x===1){H=!0;break}I--}while(F>=$p||U>=$p);if(H)break;I<0&&(I=0),I+=2}if(n=I,n<1&&(n=1),x===1){for(D=0;D<b;D++)t[P+D]=t[O+D];t[P+b]=u[A]}else{if(x===0)throw new Error;for(D=0;D<x;D++)t[P+D]=u[A+D]}}function S(_,x,E,b){var D=0;for(D=0;D<b;D++)u[D]=t[E+D];var A=_+x-1,O=b-1,P=E+b-1,I=0,F=0;if(t[P--]=t[A--],--x===0){for(I=P-(b-1),D=0;D<b;D++)t[I+D]=u[D];return}if(b===1){for(P-=x,A-=x,F=P+1,I=A+1,D=x-1;D>=0;D--)t[F+D]=t[I+D];t[P]=u[O];return}for(var U=n;;){var H=0,j=0,X=!1;do if(e(u[O],t[A])<0){if(t[P--]=t[A--],H++,j=0,--x===0){X=!0;break}}else if(t[P--]=u[O--],j++,H=0,--b===1){X=!0;break}while((H|j)<U);if(X)break;do{if(H=x-sx(u[O],t,_,x,x-1,e),H!==0){for(P-=H,A-=H,x-=H,F=P+1,I=A+1,D=H-1;D>=0;D--)t[F+D]=t[I+D];if(x===0){X=!0;break}}if(t[P--]=u[O--],--b===1){X=!0;break}if(j=b-ux(t[A],u,0,b,b-1,e),j!==0){for(P-=j,O-=j,b-=j,F=P+1,I=O+1,D=0;D<j;D++)t[F+D]=u[I+D];if(b<=1){X=!0;break}}if(t[P--]=t[A--],--x===0){X=!0;break}U--}while(H>=$p||j>=$p);if(X)break;U<0&&(U=0),U+=2}if(n=U,n<1&&(n=1),b===1){for(P-=x,A-=x,F=P+1,I=A+1,D=x-1;D>=0;D--)t[F+D]=t[I+D];t[P]=u[O]}else{if(b===0)throw new Error;for(I=P-(b-1),D=0;D<b;D++)t[I+D]=u[D]}}return{mergeRuns:d,forceMergeRuns:h,pushRun:f}}function O0(t,e,n,r){n||(n=0),r||(r=t.length);var a=r-n;if(!(a<2)){var l=0;if(a<CL){l=wL(t,n,r,e),xL(t,n,r,n+l,e);return}var u=jH(t,e),f=GH(a);do{if(l=wL(t,n,r,e),l<f){var d=a;d>f&&(d=f),xL(t,n,n+d,n+l,e),l=d}u.pushRun(n,l),u.mergeRuns(),a-=l,n+=l}while(a!==0);u.forceMergeRuns()}}var La=1,jp=2,ev=4,TL=!1;function fx(){TL||(TL=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function bL(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var YH=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=bL}return t.prototype.traverse=function(e,n){for(var r=0;r<this._roots.length;r++)this._roots[r].traverse(e,n)},t.prototype.getDisplayList=function(e,n){n=n||!1;var r=this._displayList;return(e||!r.length)&&this.updateDisplayList(n),r},t.prototype.updateDisplayList=function(e){this._displayListLen=0;for(var n=this._roots,r=this._displayList,a=0,l=n.length;a<l;a++)this._updateAndAddDisplayable(n[a],null,e);r.length=this._displayListLen,O0(r,bL)},t.prototype._updateAndAddDisplayable=function(e,n,r){if(!(e.ignore&&!r)){e.beforeUpdate(),e.update(),e.afterUpdate();var a=e.getClipPath();if(e.ignoreClip)n=null;else if(a){n?n=n.slice():n=[];for(var l=a,u=e;l;)l.parent=u,l.updateTransform(),n.push(l),u=l,l=l.getClipPath()}if(e.childrenRef){for(var f=e.childrenRef(),d=0;d<f.length;d++){var h=f[d];e.__dirty&&(h.__dirty|=La),this._updateAndAddDisplayable(h,n,r)}e.__dirty=0}else{var p=e;n&&n.length?p.__clipPaths=n:p.__clipPaths&&p.__clipPaths.length>0&&(p.__clipPaths=[]),isNaN(p.z)&&(fx(),p.z=0),isNaN(p.z2)&&(fx(),p.z2=0),isNaN(p.zlevel)&&(fx(),p.zlevel=0),this._displayList[this._displayListLen++]=p}var m=e.getDecalElement&&e.getDecalElement();m&&this._updateAndAddDisplayable(m,n,r);var S=e.getTextGuideLine();S&&this._updateAndAddDisplayable(S,n,r);var _=e.getTextContent();_&&this._updateAndAddDisplayable(_,n,r)}},t.prototype.addRoot=function(e){e.__zr&&e.__zr.storage===this||this._roots.push(e)},t.prototype.delRoot=function(e){if(e instanceof Array){for(var n=0,r=e.length;n<r;n++)this.delRoot(e[n]);return}var a=dn(this._roots,e);a>=0&&this._roots.splice(a,1)},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}();const WH=YH;var EL;EL=Tt.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)};const cx=EL;var k0={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return .5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return t===0?0:Math.pow(1024,t-1)},exponentialOut:function(t){return t===1?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return t===0?0:t===1?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(-Math.pow(2,-10*(t-1))+2)},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1,r=.4;return t===0?0:t===1?1:(!n||n<1?(n=1,e=r/4):e=r*Math.asin(1/n)/(2*Math.PI),-(n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/r)))},elasticOut:function(t){var e,n=.1,r=.4;return t===0?0:t===1?1:(!n||n<1?(n=1,e=r/4):e=r*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/r)+1)},elasticInOut:function(t){var e,n=.1,r=.4;return t===0?0:t===1?1:(!n||n<1?(n=1,e=r/4):e=r*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?-.5*(n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/r)):n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/r)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?.5*(t*t*((e+1)*t-e)):.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-k0.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?k0.bounceIn(t*2)*.5:k0.bounceOut(t*2-1)*.5+.5}};const DL=k0;var N0=Math.pow,Ts=Math.sqrt,P0=1e-8,ML=1e-4,RL=Ts(3),I0=1/3,Sl=Xd(),ro=Xd(),tv=Xd();function bs(t){return t>-P0&&t<P0}function AL(t){return t>P0||t<-P0}function Qr(t,e,n,r,a){var l=1-a;return l*l*(l*t+3*a*e)+a*a*(a*r+3*l*n)}function LL(t,e,n,r,a){var l=1-a;return 3*(((e-t)*l+2*(n-e)*a)*l+(r-n)*a*a)}function OL(t,e,n,r,a,l){var u=r+3*(e-n)-t,f=3*(n-e*2+t),d=3*(e-t),h=t-a,p=f*f-3*u*d,m=f*d-9*u*h,S=d*d-3*f*h,_=0;if(bs(p)&&bs(m))if(bs(f))l[0]=0;else{var x=-d/f;x>=0&&x<=1&&(l[_++]=x)}else{var E=m*m-4*p*S;if(bs(E)){var b=m/p,x=-f/u+b,D=-b/2;x>=0&&x<=1&&(l[_++]=x),D>=0&&D<=1&&(l[_++]=D)}else if(E>0){var A=Ts(E),O=p*f+1.5*u*(-m+A),P=p*f+1.5*u*(-m-A);O<0?O=-N0(-O,I0):O=N0(O,I0),P<0?P=-N0(-P,I0):P=N0(P,I0);var x=(-f-(O+P))/(3*u);x>=0&&x<=1&&(l[_++]=x)}else{var I=(2*p*f-3*u*m)/(2*Ts(p*p*p)),F=Math.acos(I)/3,U=Ts(p),H=Math.cos(F),x=(-f-2*U*H)/(3*u),D=(-f+U*(H+RL*Math.sin(F)))/(3*u),j=(-f+U*(H-RL*Math.sin(F)))/(3*u);x>=0&&x<=1&&(l[_++]=x),D>=0&&D<=1&&(l[_++]=D),j>=0&&j<=1&&(l[_++]=j)}}return _}function kL(t,e,n,r,a){var l=6*n-12*e+6*t,u=9*e+3*r-3*t-9*n,f=3*e-3*t,d=0;if(bs(u)){if(AL(l)){var h=-f/l;h>=0&&h<=1&&(a[d++]=h)}}else{var p=l*l-4*u*f;if(bs(p))a[0]=-l/(2*u);else if(p>0){var m=Ts(p),h=(-l+m)/(2*u),S=(-l-m)/(2*u);h>=0&&h<=1&&(a[d++]=h),S>=0&&S<=1&&(a[d++]=S)}}return d}function Es(t,e,n,r,a,l){var u=(e-t)*a+t,f=(n-e)*a+e,d=(r-n)*a+n,h=(f-u)*a+u,p=(d-f)*a+f,m=(p-h)*a+h;l[0]=t,l[1]=u,l[2]=h,l[3]=m,l[4]=m,l[5]=p,l[6]=d,l[7]=r}function NL(t,e,n,r,a,l,u,f,d,h,p){var m,S=.005,_=1/0,x,E,b,D;Sl[0]=d,Sl[1]=h;for(var A=0;A<1;A+=.05)ro[0]=Qr(t,n,a,u,A),ro[1]=Qr(e,r,l,f,A),b=qd(Sl,ro),b<_&&(m=A,_=b);_=1/0;for(var O=0;O<32&&!(S<ML);O++)x=m-S,E=m+S,ro[0]=Qr(t,n,a,u,x),ro[1]=Qr(e,r,l,f,x),b=qd(ro,Sl),x>=0&&b<_?(m=x,_=b):(tv[0]=Qr(t,n,a,u,E),tv[1]=Qr(e,r,l,f,E),D=qd(tv,Sl),E<=1&&D<_?(m=E,_=D):S*=.5);return p&&(p[0]=Qr(t,n,a,u,m),p[1]=Qr(e,r,l,f,m)),Ts(_)}function XH(t,e,n,r,a,l,u,f,d){for(var h=t,p=e,m=0,S=1/d,_=1;_<=d;_++){var x=_*S,E=Qr(t,n,a,u,x),b=Qr(e,r,l,f,x),D=E-h,A=b-p;m+=Math.sqrt(D*D+A*A),h=E,p=b}return m}function fi(t,e,n,r){var a=1-r;return a*(a*t+2*r*e)+r*r*n}function PL(t,e,n,r){return 2*((1-r)*(e-t)+r*(n-e))}function qH(t,e,n,r,a){var l=t-2*e+n,u=2*(e-t),f=t-r,d=0;if(bs(l)){if(AL(u)){var h=-f/u;h>=0&&h<=1&&(a[d++]=h)}}else{var p=u*u-4*l*f;if(bs(p)){var h=-u/(2*l);h>=0&&h<=1&&(a[d++]=h)}else if(p>0){var m=Ts(p),h=(-u+m)/(2*l),S=(-u-m)/(2*l);h>=0&&h<=1&&(a[d++]=h),S>=0&&S<=1&&(a[d++]=S)}}return d}function IL(t,e,n){var r=t+n-2*e;return r===0?.5:(t-e)/r}function z0(t,e,n,r,a){var l=(e-t)*r+t,u=(n-e)*r+e,f=(u-l)*r+l;a[0]=t,a[1]=l,a[2]=f,a[3]=f,a[4]=u,a[5]=n}function zL(t,e,n,r,a,l,u,f,d){var h,p=.005,m=1/0;Sl[0]=u,Sl[1]=f;for(var S=0;S<1;S+=.05){ro[0]=fi(t,n,a,S),ro[1]=fi(e,r,l,S);var _=qd(Sl,ro);_<m&&(h=S,m=_)}m=1/0;for(var x=0;x<32&&!(p<ML);x++){var E=h-p,b=h+p;ro[0]=fi(t,n,a,E),ro[1]=fi(e,r,l,E);var _=qd(ro,Sl);if(E>=0&&_<m)h=E,m=_;else{tv[0]=fi(t,n,a,b),tv[1]=fi(e,r,l,b);var D=qd(tv,Sl);b<=1&&D<m?(h=b,m=D):p*=.5}}return d&&(d[0]=fi(t,n,a,h),d[1]=fi(e,r,l,h)),Ts(m)}function QH(t,e,n,r,a,l,u){for(var f=t,d=e,h=0,p=1/u,m=1;m<=u;m++){var S=m*p,_=fi(t,n,a,S),x=fi(e,r,l,S),E=_-f,b=x-d;h+=Math.sqrt(E*E+b*b),f=_,d=x}return h}var ZH=/cubic-bezier\(([0-9,\.e ]+)\)/;function FL(t){var e=t&&ZH.exec(t);if(e){var n=e[1].split(","),r=+yl(n[0]),a=+yl(n[1]),l=+yl(n[2]),u=+yl(n[3]);if(isNaN(r+a+l+u))return;var f=[];return function(d){return d<=0?0:d>=1?1:OL(0,r,l,1,d,f)&&Qr(0,a,u,1,f[0])}}}var KH=function(){function t(e){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=e.life||1e3,this._delay=e.delay||0,this.loop=e.loop||!1,this.onframe=e.onframe||ta,this.ondestroy=e.ondestroy||ta,this.onrestart=e.onrestart||ta,e.easing&&this.setEasing(e.easing)}return t.prototype.step=function(e,n){if(this._inited||(this._startTime=e+this._delay,this._inited=!0),this._paused){this._pausedTime+=n;return}var r=this._life,a=e-this._startTime-this._pausedTime,l=a/r;l<0&&(l=0),l=Math.min(l,1);var u=this.easingFunc,f=u?u(l):l;if(this.onframe(f),l===1)if(this.loop){var d=a%r;this._startTime=e-d,this._pausedTime=0,this.onrestart()}else return!0;return!1},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(e){this.easing=e,this.easingFunc=_t(e)?e:DL[e]||FL(e)},t}();const JH=KH;var BL=function(){function t(e){this.value=e}return t}(),e4=function(){function t(){this._len=0}return t.prototype.insert=function(e){var n=new BL(e);return this.insertEntry(n),n},t.prototype.insertEntry=function(e){this.head?(this.tail.next=e,e.prev=this.tail,e.next=null,this.tail=e):this.head=this.tail=e,this._len++},t.prototype.remove=function(e){var n=e.prev,r=e.next;n?n.next=r:this.head=r,r?r.prev=n:this.tail=n,e.next=e.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),t4=function(){function t(e){this._list=new e4,this._maxSize=10,this._map={},this._maxSize=e}return t.prototype.put=function(e,n){var r=this._list,a=this._map,l=null;if(a[e]==null){var u=r.len(),f=this._lastRemovedEntry;if(u>=this._maxSize&&u>0){var d=r.head;r.remove(d),delete a[d.key],l=d.value,this._lastRemovedEntry=d}f?f.value=n:f=new BL(n),f.key=e,r.insertEntry(f),a[e]=f}return l},t.prototype.get=function(e){var n=this._map[e],r=this._list;if(n!=null)return n!==r.tail&&(r.remove(n),r.insertEntry(n)),n.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}();const Yp=t4;var UL={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function Wp(t){return t=Math.round(t),t<0?0:t>255?255:t}function VL(t){return t<0?0:t>1?1:t}function dx(t){var e=t;return e.length&&e.charAt(e.length-1)==="%"?Wp(parseFloat(e)/100*255):Wp(parseInt(e,10))}function Xp(t){var e=t;return e.length&&e.charAt(e.length-1)==="%"?VL(parseFloat(e)/100):VL(parseFloat(e))}function vx(t,e,n){return n<0?n+=1:n>1&&(n-=1),n*6<1?t+(e-t)*n*6:n*2<1?e:n*3<2?t+(e-t)*(2/3-n)*6:t}function io(t,e,n,r,a){return t[0]=e,t[1]=n,t[2]=r,t[3]=a,t}function hx(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var HL=new Yp(20),F0=null;function nv(t,e){F0&&hx(F0,e),F0=HL.put(t,F0||e.slice())}function rv(t,e){if(t){e=e||[];var n=HL.get(t);if(n)return hx(e,n);t=t+"";var r=t.replace(/ /g,"").toLowerCase();if(r in UL)return hx(e,UL[r]),nv(t,e),e;var a=r.length;if(r.charAt(0)==="#"){if(a===4||a===5){var l=parseInt(r.slice(1,4),16);if(!(l>=0&&l<=4095)){io(e,0,0,0,1);return}return io(e,(l&3840)>>4|(l&3840)>>8,l&240|(l&240)>>4,l&15|(l&15)<<4,a===5?parseInt(r.slice(4),16)/15:1),nv(t,e),e}else if(a===7||a===9){var l=parseInt(r.slice(1,7),16);if(!(l>=0&&l<=16777215)){io(e,0,0,0,1);return}return io(e,(l&16711680)>>16,(l&65280)>>8,l&255,a===9?parseInt(r.slice(7),16)/255:1),nv(t,e),e}return}var u=r.indexOf("("),f=r.indexOf(")");if(u!==-1&&f+1===a){var d=r.substr(0,u),h=r.substr(u+1,f-(u+1)).split(","),p=1;switch(d){case"rgba":if(h.length!==4)return h.length===3?io(e,+h[0],+h[1],+h[2],1):io(e,0,0,0,1);p=Xp(h.pop());case"rgb":if(h.length>=3)return io(e,dx(h[0]),dx(h[1]),dx(h[2]),h.length===3?p:Xp(h[3])),nv(t,e),e;io(e,0,0,0,1);return;case"hsla":if(h.length!==4){io(e,0,0,0,1);return}return h[3]=Xp(h[3]),GL(h,e),nv(t,e),e;case"hsl":if(h.length!==3){io(e,0,0,0,1);return}return GL(h,e),nv(t,e),e;default:return}}io(e,0,0,0,1)}}function GL(t,e){var n=(parseFloat(t[0])%360+360)%360/360,r=Xp(t[1]),a=Xp(t[2]),l=a<=.5?a*(r+1):a+r-a*r,u=a*2-l;return e=e||[],io(e,Wp(vx(u,l,n+1/3)*255),Wp(vx(u,l,n)*255),Wp(vx(u,l,n-1/3)*255),1),t.length===4&&(e[3]=t[3]),e}function $L(t,e){var n=rv(t);if(n){for(var r=0;r<3;r++)e<0?n[r]=n[r]*(1-e)|0:n[r]=(255-n[r])*e+n[r]|0,n[r]>255?n[r]=255:n[r]<0&&(n[r]=0);return jL(n,n.length===4?"rgba":"rgb")}}function jL(t,e){if(!(!t||!t.length)){var n=t[0]+","+t[1]+","+t[2];return(e==="rgba"||e==="hsva"||e==="hsla")&&(n+=","+t[3]),e+"("+n+")"}}function B0(t,e){var n=rv(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}function n4(t){return t.type==="linear"}function r4(t){return t.type==="radial"}(function(){return Tt.hasGlobalWindow&&_t(window.btoa)?function(t){return window.btoa(unescape(encodeURIComponent(t)))}:typeof Buffer<"u"?function(t){return Buffer.from(t).toString("base64")}:function(t){return process.env.NODE_ENV!=="production"&&jf("Base64 isn't natively supported in the current environment."),null}})();var px=Array.prototype.slice;function _u(t,e,n){return(e-t)*n+t}function gx(t,e,n,r){for(var a=e.length,l=0;l<a;l++)t[l]=_u(e[l],n[l],r);return t}function i4(t,e,n,r){for(var a=e.length,l=a&&e[0].length,u=0;u<a;u++){t[u]||(t[u]=[]);for(var f=0;f<l;f++)t[u][f]=_u(e[u][f],n[u][f],r)}return t}function U0(t,e,n,r){for(var a=e.length,l=0;l<a;l++)t[l]=e[l]+n[l]*r;return t}function YL(t,e,n,r){for(var a=e.length,l=a&&e[0].length,u=0;u<a;u++){t[u]||(t[u]=[]);for(var f=0;f<l;f++)t[u][f]=e[u][f]+n[u][f]*r}return t}function a4(t,e){for(var n=t.length,r=e.length,a=n>r?e:t,l=Math.min(n,r),u=a[l-1]||{color:[0,0,0,0],offset:0},f=l;f<Math.max(n,r);f++)a.push({offset:u.offset,color:u.color.slice()})}function o4(t,e,n){var r=t,a=e;if(!(!r.push||!a.push)){var l=r.length,u=a.length;if(l!==u){var f=l>u;if(f)r.length=u;else for(var d=l;d<u;d++)r.push(n===1?a[d]:px.call(a[d]))}for(var h=r[0]&&r[0].length,d=0;d<r.length;d++)if(n===1)isNaN(r[d])&&(r[d]=a[d]);else for(var p=0;p<h;p++)isNaN(r[d][p])&&(r[d][p]=a[d][p])}}function V0(t){if(Ai(t)){var e=t.length;if(Ai(t[0])){for(var n=[],r=0;r<e;r++)n.push(px.call(t[r]));return n}return px.call(t)}return t}function H0(t){return t[0]=Math.floor(t[0])||0,t[1]=Math.floor(t[1])||0,t[2]=Math.floor(t[2])||0,t[3]=t[3]==null?1:t[3],"rgba("+t.join(",")+")"}function l4(t){return Ai(t&&t[0])?2:1}var G0=0,$0=1,WL=2,qp=3,mx=4,yx=5,XL=6;function qL(t){return t===mx||t===yx}function j0(t){return t===$0||t===WL}var Qp=[0,0,0,0],u4=function(){function t(e){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=e}return t.prototype.isFinished=function(){return this._finished},t.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},t.prototype.needsAnimate=function(){return this.keyframes.length>=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(e,n,r){this._needsSort=!0;var a=this.keyframes,l=a.length,u=!1,f=XL,d=n;if(Ai(n)){var h=l4(n);f=h,(h===1&&!Nn(n[0])||h===2&&!Nn(n[0][0]))&&(u=!0)}else if(Nn(n)&&!Fp(n))f=G0;else if(et(n))if(!isNaN(+n))f=G0;else{var p=rv(n);p&&(d=p,f=qp)}else if(b0(n)){var m=Re({},d);m.colorStops=ot(n.colorStops,function(_){return{offset:_.offset,color:rv(_.color)}}),n4(n)?f=mx:r4(n)&&(f=yx),d=m}l===0?this.valType=f:(f!==this.valType||f===XL)&&(u=!0),this.discrete=this.discrete||u;var S={time:e,value:d,rawValue:n,percent:0};return r&&(S.easing=r,S.easingFunc=_t(r)?r:DL[r]||FL(r)),a.push(S),S},t.prototype.prepare=function(e,n){var r=this.keyframes;this._needsSort&&r.sort(function(E,b){return E.time-b.time});for(var a=this.valType,l=r.length,u=r[l-1],f=this.discrete,d=j0(a),h=qL(a),p=0;p<l;p++){var m=r[p],S=m.value,_=u.value;m.percent=m.time/e,f||(d&&p!==l-1?o4(S,_,a):h&&a4(S.colorStops,_.colorStops))}if(!f&&a!==yx&&n&&this.needsAnimate()&&n.needsAnimate()&&a===n.valType&&!n._finished){this._additiveTrack=n;for(var x=r[0].value,p=0;p<l;p++)a===G0?r[p].additiveValue=r[p].value-x:a===qp?r[p].additiveValue=U0([],r[p].value,x,-1):j0(a)&&(r[p].additiveValue=a===$0?U0([],r[p].value,x,-1):YL([],r[p].value,x,-1))}},t.prototype.step=function(e,n){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var r=this._additiveTrack!=null,a=r?"additiveValue":"value",l=this.valType,u=this.keyframes,f=u.length,d=this.propName,h=l===qp,p,m=this._lastFr,S=Math.min,_,x;if(f===1)_=x=u[0];else{if(n<0)p=0;else if(n<this._lastFrP){var E=S(m+1,f-1);for(p=E;p>=0&&!(u[p].percent<=n);p--);p=S(p,f-2)}else{for(p=m;p<f&&!(u[p].percent>n);p++);p=S(p-1,f-2)}x=u[p+1],_=u[p]}if(_&&x){this._lastFr=p,this._lastFrP=n;var b=x.percent-_.percent,D=b===0?1:S((n-_.percent)/b,1);x.easingFunc&&(D=x.easingFunc(D));var A=r?this._additiveValue:h?Qp:e[d];if((j0(l)||h)&&!A&&(A=this._additiveValue=[]),this.discrete)e[d]=D<1?_.rawValue:x.rawValue;else if(j0(l))l===$0?gx(A,_[a],x[a],D):i4(A,_[a],x[a],D);else if(qL(l)){var O=_[a],P=x[a],I=l===mx;e[d]={type:I?"linear":"radial",x:_u(O.x,P.x,D),y:_u(O.y,P.y,D),colorStops:ot(O.colorStops,function(U,H){var j=P.colorStops[H];return{offset:_u(U.offset,j.offset,D),color:H0(gx([],U.color,j.color,D))}}),global:P.global},I?(e[d].x2=_u(O.x2,P.x2,D),e[d].y2=_u(O.y2,P.y2,D)):e[d].r=_u(O.r,P.r,D)}else if(h)gx(A,_[a],x[a],D),r||(e[d]=H0(A));else{var F=_u(_[a],x[a],D);r?this._additiveValue=F:e[d]=F}r&&this._addToTarget(e)}}},t.prototype._addToTarget=function(e){var n=this.valType,r=this.propName,a=this._additiveValue;n===G0?e[r]=e[r]+a:n===qp?(rv(e[r],Qp),U0(Qp,Qp,a,1),e[r]=H0(Qp)):n===$0?U0(e[r],e[r],a,1):n===WL&&YL(e[r],e[r],a,1)},t}(),s4=function(){function t(e,n,r,a){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=e,this._loop=n,n&&a){jf("Can' use additive animation on looped animation.");return}this._additiveAnimators=a,this._allowDiscrete=r}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(e){this._target=e},t.prototype.when=function(e,n,r){return this.whenWithKeys(e,n,kn(n),r)},t.prototype.whenWithKeys=function(e,n,r,a){for(var l=this._tracks,u=0;u<r.length;u++){var f=r[u],d=l[f];if(!d){d=l[f]=new u4(f);var h=void 0,p=this._getAdditiveTrack(f);if(p){var m=p.keyframes,S=m[m.length-1];h=S&&S.value,p.valType===qp&&h&&(h=H0(h))}else h=this._target[f];if(h==null)continue;e>0&&d.addKeyframe(0,V0(h),a),this._trackKeys.push(f)}d.addKeyframe(e,V0(n[f]),a)}return this._maxTime=Math.max(this._maxTime,e),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(e){return this._maxTime=e,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var e=this._doneCbs;if(e)for(var n=e.length,r=0;r<n;r++)e[r].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var e=this.animation,n=this._abortedCbs;if(e&&e.removeClip(this._clip),this._clip=null,n)for(var r=0;r<n.length;r++)n[r].call(this)},t.prototype._setTracksFinished=function(){for(var e=this._tracks,n=this._trackKeys,r=0;r<n.length;r++)e[n[r]].setFinished()},t.prototype._getAdditiveTrack=function(e){var n,r=this._additiveAnimators;if(r)for(var a=0;a<r.length;a++){var l=r[a].getTrack(e);l&&(n=l)}return n},t.prototype.start=function(e){if(!(this._started>0)){this._started=1;for(var n=this,r=[],a=this._maxTime||0,l=0;l<this._trackKeys.length;l++){var u=this._trackKeys[l],f=this._tracks[u],d=this._getAdditiveTrack(u),h=f.keyframes,p=h.length;if(f.prepare(a,d),f.needsAnimate())if(!this._allowDiscrete&&f.discrete){var m=h[p-1];m&&(n._target[f.propName]=m.rawValue),f.setFinished()}else r.push(f)}if(r.length||this._force){var S=new JH({life:a,loop:this._loop,delay:this._delay||0,onframe:function(_){n._started=2;var x=n._additiveAnimators;if(x){for(var E=!1,b=0;b<x.length;b++)if(x[b]._clip){E=!0;break}E||(n._additiveAnimators=null)}for(var b=0;b<r.length;b++)r[b].step(n._target,_);var D=n._onframeCbs;if(D)for(var b=0;b<D.length;b++)D[b](n._target,_)},ondestroy:function(){n._doneCallback()}});this._clip=S,this.animation&&this.animation.addClip(S),e&&S.setEasing(e)}else this._doneCallback();return this}},t.prototype.stop=function(e){if(this._clip){var n=this._clip;e&&n.onframe(1),this._abortedCallback()}},t.prototype.delay=function(e){return this._delay=e,this},t.prototype.during=function(e){return e&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(e)),this},t.prototype.done=function(e){return e&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(e)),this},t.prototype.aborted=function(e){return e&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(e)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(e){return this._tracks[e]},t.prototype.getTracks=function(){var e=this;return ot(this._trackKeys,function(n){return e._tracks[n]})},t.prototype.stopTracks=function(e,n){if(!e.length||!this._clip)return!0;for(var r=this._tracks,a=this._trackKeys,l=0;l<e.length;l++){var u=r[e[l]];u&&!u.isFinished()&&(n?u.step(this._target,1):this._started===1&&u.step(this._target,0),u.setFinished())}for(var f=!0,l=0;l<a.length;l++)if(!r[a[l]].isFinished()){f=!1;break}return f&&this._abortedCallback(),f},t.prototype.saveTo=function(e,n,r){if(e){n=n||this._trackKeys;for(var a=0;a<n.length;a++){var l=n[a],u=this._tracks[l];if(!(!u||u.isFinished())){var f=u.keyframes,d=f[r?0:f.length-1];d&&(e[l]=V0(d.rawValue))}}}},t.prototype.__changeFinalValue=function(e,n){n=n||kn(e);for(var r=0;r<n.length;r++){var a=n[r],l=this._tracks[a];if(l){var u=l.keyframes;if(u.length>1){var f=u.pop();l.addKeyframe(f.time,e[a]),l.prepare(this._maxTime,l.getAdditiveTrack())}}}},t}();const _x=s4;function iv(){return new Date().getTime()}var f4=function(t){mn(e,t);function e(n){var r=t.call(this)||this;return r._running=!1,r._time=0,r._pausedTime=0,r._pauseStart=0,r._paused=!1,n=n||{},r.stage=n.stage||{},r}return e.prototype.addClip=function(n){n.animation&&this.removeClip(n),this._head?(this._tail.next=n,n.prev=this._tail,n.next=null,this._tail=n):this._head=this._tail=n,n.animation=this},e.prototype.addAnimator=function(n){n.animation=this;var r=n.getClip();r&&this.addClip(r)},e.prototype.removeClip=function(n){if(n.animation){var r=n.prev,a=n.next;r?r.next=a:this._head=a,a?a.prev=r:this._tail=r,n.next=n.prev=n.animation=null}},e.prototype.removeAnimator=function(n){var r=n.getClip();r&&this.removeClip(r),n.animation=null},e.prototype.update=function(n){for(var r=iv()-this._pausedTime,a=r-this._time,l=this._head;l;){var u=l.next,f=l.step(r,a);f&&(l.ondestroy(),this.removeClip(l)),l=u}this._time=r,n||(this.trigger("frame",a),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var n=this;this._running=!0;function r(){n._running&&(cx(r),!n._paused&&n.update())}cx(r)},e.prototype.start=function(){this._running||(this._time=iv(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=iv(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=iv()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var n=this._head;n;){var r=n.next;n.prev=n.next=n.animation=null,n=r}this._head=this._tail=null},e.prototype.isFinished=function(){return this._head==null},e.prototype.animate=function(n,r){r=r||{},this.start();var a=new _x(n,r.loop);return this.addAnimator(a),a},e}(_l);const c4=f4;var d4=300,Sx=Tt.domSupported,Cx=function(){var t=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],e=["touchstart","touchend","touchmove"],n={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},r=ot(t,function(a){var l=a.replace("mouse","pointer");return n.hasOwnProperty(l)?l:a});return{mouse:t,touch:e,pointer:r}}(),QL={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},ZL=!1;function xx(t){var e=t.pointerType;return e==="pen"||e==="touch"}function v4(t){t.touching=!0,t.touchTimer!=null&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout(function(){t.touching=!1,t.touchTimer=null},700)}function Tx(t){t&&(t.zrByTouch=!0)}function h4(t,e){return no(t.dom,new p4(t,e),!0)}function KL(t,e){for(var n=e,r=!1;n&&n.nodeType!==9&&!(r=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return r}var p4=function(){function t(e,n){this.stopPropagation=ta,this.stopImmediatePropagation=ta,this.preventDefault=ta,this.type=n.type,this.target=this.currentTarget=e.dom,this.pointerType=n.pointerType,this.clientX=n.clientX,this.clientY=n.clientY}return t}(),Lo={mousedown:function(t){t=no(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=no(this.dom,t);var e=this.__mayPointerCapture;e&&(t.zrX!==e[0]||t.zrY!==e[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=no(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){t=no(this.dom,t);var e=t.toElement||t.relatedTarget;KL(this,e)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){ZL=!0,t=no(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){ZL||(t=no(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){t=no(this.dom,t),Tx(t),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),Lo.mousemove.call(this,t),Lo.mousedown.call(this,t)},touchmove:function(t){t=no(this.dom,t),Tx(t),this.handler.processGesture(t,"change"),Lo.mousemove.call(this,t)},touchend:function(t){t=no(this.dom,t),Tx(t),this.handler.processGesture(t,"end"),Lo.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<d4&&Lo.click.call(this,t)},pointerdown:function(t){Lo.mousedown.call(this,t)},pointermove:function(t){xx(t)||Lo.mousemove.call(this,t)},pointerup:function(t){Lo.mouseup.call(this,t)},pointerout:function(t){xx(t)||Lo.mouseout.call(this,t)}};W(["click","dblclick","contextmenu"],function(t){Lo[t]=function(e){e=no(this.dom,e),this.trigger(t,e)}});var bx={pointermove:function(t){xx(t)||bx.mousemove.call(this,t)},pointerup:function(t){bx.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function g4(t,e){var n=e.domHandlers;Tt.pointerEventsSupported?W(Cx.pointer,function(r){Y0(e,r,function(a){n[r].call(t,a)})}):(Tt.touchEventsSupported&&W(Cx.touch,function(r){Y0(e,r,function(a){n[r].call(t,a),v4(e)})}),W(Cx.mouse,function(r){Y0(e,r,function(a){a=nx(a),e.touching||n[r].call(t,a)})}))}function m4(t,e){Tt.pointerEventsSupported?W(QL.pointer,n):Tt.touchEventsSupported||W(QL.mouse,n);function n(r){function a(l){l=nx(l),KL(t,l.target)||(l=h4(t,l),e.domHandlers[r].call(t,l))}Y0(e,r,a,{capture:!0})}}function Y0(t,e,n,r){t.mounted[e]=n,t.listenerOpts[e]=r,RH(t.domTarget,e,n,r)}function Ex(t){var e=t.mounted;for(var n in e)e.hasOwnProperty(n)&&AH(t.domTarget,n,e[n],t.listenerOpts[n]);t.mounted={}}var JL=function(){function t(e,n){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=e,this.domHandlers=n}return t}(),y4=function(t){mn(e,t);function e(n,r){var a=t.call(this)||this;return a.__pointerCapturing=!1,a.dom=n,a.painterRoot=r,a._localHandlerScope=new JL(n,Lo),Sx&&(a._globalHandlerScope=new JL(document,bx)),g4(a,a._localHandlerScope),a}return e.prototype.dispose=function(){Ex(this._localHandlerScope),Sx&&Ex(this._globalHandlerScope)},e.prototype.setCursor=function(n){this.dom.style&&(this.dom.style.cursor=n||"default")},e.prototype.__togglePointerCapture=function(n){if(this.__mayPointerCapture=null,Sx&&+this.__pointerCapturing^+n){this.__pointerCapturing=n;var r=this._globalHandlerScope;n?m4(this,r):Ex(r)}},e}(_l);const _4=y4;var eO=1;Tt.hasGlobalWindow&&(eO=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var W0=eO,Dx=.4,Mx="#333",Rx="#ccc",S4="#eee",tO=ix,nO=5e-5;function Zf(t){return t>nO||t<-nO}var Kf=[],av=[],Ax=Up(),Lx=Math.abs,C4=function(){function t(){}return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(e){this.x=e[0],this.y=e[1]},t.prototype.setScale=function(e){this.scaleX=e[0],this.scaleY=e[1]},t.prototype.setSkew=function(e){this.skewX=e[0],this.skewY=e[1]},t.prototype.setOrigin=function(e){this.originX=e[0],this.originY=e[1]},t.prototype.needLocalTransform=function(){return Zf(this.rotation)||Zf(this.x)||Zf(this.y)||Zf(this.scaleX-1)||Zf(this.scaleY-1)||Zf(this.skewX)||Zf(this.skewY)},t.prototype.updateTransform=function(){var e=this.parent&&this.parent.transform,n=this.needLocalTransform(),r=this.transform;if(!(n||e)){r&&tO(r);return}r=r||Up(),n?this.getLocalTransform(r):tO(r),e&&(n?Jd(r,e,r):kH(r,e)),this.transform=r,this._resolveGlobalScaleRatio(r)},t.prototype._resolveGlobalScaleRatio=function(e){var n=this.globalScaleRatio;if(n!=null&&n!==1){this.getGlobalScale(Kf);var r=Kf[0]<0?-1:1,a=Kf[1]<0?-1:1,l=((Kf[0]-r)*n+r)/Kf[0]||0,u=((Kf[1]-a)*n+a)/Kf[1]||0;e[0]*=l,e[1]*=l,e[2]*=u,e[3]*=u}this.invTransform=this.invTransform||Up(),R0(this.invTransform,e)},t.prototype.getComputedTransform=function(){for(var e=this,n=[];e;)n.push(e),e=e.parent;for(;e=n.pop();)e.updateTransform();return this.transform},t.prototype.setLocalTransform=function(e){if(e){var n=e[0]*e[0]+e[1]*e[1],r=e[2]*e[2]+e[3]*e[3],a=Math.atan2(e[1],e[0]),l=Math.PI/2+a-Math.atan2(e[3],e[2]);r=Math.sqrt(r)*Math.cos(l),n=Math.sqrt(n),this.skewX=l,this.skewY=0,this.rotation=-a,this.x=+e[4],this.y=+e[5],this.scaleX=n,this.scaleY=r,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var e=this.parent,n=this.transform;e&&e.transform&&(Jd(av,e.invTransform,n),n=av);var r=this.originX,a=this.originY;(r||a)&&(Ax[4]=r,Ax[5]=a,Jd(av,n,Ax),av[4]-=r,av[5]-=a,n=av),this.setLocalTransform(n)}},t.prototype.getGlobalScale=function(e){var n=this.transform;return e=e||[],n?(e[0]=Math.sqrt(n[0]*n[0]+n[1]*n[1]),e[1]=Math.sqrt(n[2]*n[2]+n[3]*n[3]),n[0]<0&&(e[0]=-e[0]),n[3]<0&&(e[1]=-e[1]),e):(e[0]=1,e[1]=1,e)},t.prototype.transformCoordToLocal=function(e,n){var r=[e,n],a=this.invTransform;return a&&eo(r,r,a),r},t.prototype.transformCoordToGlobal=function(e,n){var r=[e,n],a=this.transform;return a&&eo(r,r,a),r},t.prototype.getLineScale=function(){var e=this.transform;return e&&Lx(e[0]-1)>1e-10&&Lx(e[3]-1)>1e-10?Math.sqrt(Lx(e[0]*e[3]-e[2]*e[1])):1},t.prototype.copyTransform=function(e){w4(this,e)},t.getLocalTransform=function(e,n){n=n||[];var r=e.originX||0,a=e.originY||0,l=e.scaleX,u=e.scaleY,f=e.anchorX,d=e.anchorY,h=e.rotation||0,p=e.x,m=e.y,S=e.skewX?Math.tan(e.skewX):0,_=e.skewY?Math.tan(-e.skewY):0;if(r||a||f||d){var x=r+f,E=a+d;n[4]=-x*l-S*E*u,n[5]=-E*u-_*x*l}else n[4]=n[5]=0;return n[0]=l,n[3]=u,n[1]=_*l,n[2]=S*u,h&&ox(n,n,h),n[4]+=r+p,n[5]+=a+m,n},t.initDefaultProps=function(){var e=t.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0}(),t}(),Zp=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function w4(t,e){for(var n=0;n<Zp.length;n++){var r=Zp[n];t[r]=e[r]}}const Kp=C4;var rO={};function Oa(t,e){e=e||Gf;var n=rO[e];n||(n=rO[e]=new Yp(500));var r=n.get(t);return r==null&&(r=$f.measureText(t,e).width,n.put(t,r)),r}function iO(t,e,n,r){var a=Oa(t,e),l=kx(e),u=Jp(0,a,n),f=ov(0,l,r),d=new Wt(u,f,a,l);return d}function Ox(t,e,n,r){var a=((t||"")+"").split(`
192
- `),l=a.length;if(l===1)return iO(a[0],e,n,r);for(var u=new Wt(0,0,0,0),f=0;f<a.length;f++){var d=iO(a[f],e,n,r);f===0?u.copy(d):u.union(d)}return u}function Jp(t,e,n){return n==="right"?t-=e:n==="center"&&(t-=e/2),t}function ov(t,e,n){return n==="middle"?t-=e/2:n==="bottom"&&(t-=e),t}function kx(t){return Oa("国",t)}function Jf(t,e){return typeof t=="string"?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function X0(t,e,n){var r=e.position||"inside",a=e.distance!=null?e.distance:5,l=n.height,u=n.width,f=l/2,d=n.x,h=n.y,p="left",m="top";if(r instanceof Array)d+=Jf(r[0],n.width),h+=Jf(r[1],n.height),p=null,m=null;else switch(r){case"left":d-=a,h+=f,p="right",m="middle";break;case"right":d+=a+u,h+=f,m="middle";break;case"top":d+=u/2,h-=a,p="center",m="bottom";break;case"bottom":d+=u/2,h+=l+a,p="center";break;case"inside":d+=u/2,h+=f,p="center",m="middle";break;case"insideLeft":d+=a,h+=f,m="middle";break;case"insideRight":d+=u-a,h+=f,p="right",m="middle";break;case"insideTop":d+=u/2,h+=a,p="center";break;case"insideBottom":d+=u/2,h+=l-a,p="center",m="bottom";break;case"insideTopLeft":d+=a,h+=a;break;case"insideTopRight":d+=u-a,h+=a,p="right";break;case"insideBottomLeft":d+=a,h+=l-a,m="bottom";break;case"insideBottomRight":d+=u-a,h+=l-a,p="right",m="bottom";break}return t=t||{},t.x=d,t.y=h,t.align=p,t.verticalAlign=m,t}var Nx="__zr_normal__",Px=Zp.concat(["ignore"]),x4=Yd(Zp,function(t,e){return t[e]=!0,t},{ignore:!1}),lv={},T4=new Wt(0,0,0,0),Ix=function(){function t(e){this.id=rL(),this.animators=[],this.currentStates=[],this.states={},this._init(e)}return t.prototype._init=function(e){this.attr(e)},t.prototype.drift=function(e,n,r){switch(this.draggable){case"horizontal":n=0;break;case"vertical":e=0;break}var a=this.transform;a||(a=this.transform=[1,0,0,1,0,0]),a[4]+=e,a[5]+=n,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(e){var n=this._textContent;if(n&&(!n.ignore||e)){this.textConfig||(this.textConfig={});var r=this.textConfig,a=r.local,l=n.innerTransformable,u=void 0,f=void 0,d=!1;l.parent=a?this:null;var h=!1;if(l.copyTransform(n),r.position!=null){var p=T4;r.layoutRect?p.copy(r.layoutRect):p.copy(this.getBoundingRect()),a||p.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(lv,r,p):X0(lv,r,p),l.x=lv.x,l.y=lv.y,u=lv.align,f=lv.verticalAlign;var m=r.origin;if(m&&r.rotation!=null){var S=void 0,_=void 0;m==="center"?(S=p.width*.5,_=p.height*.5):(S=Jf(m[0],p.width),_=Jf(m[1],p.height)),h=!0,l.originX=-l.x+S+(a?0:p.x),l.originY=-l.y+_+(a?0:p.y)}}r.rotation!=null&&(l.rotation=r.rotation);var x=r.offset;x&&(l.x+=x[0],l.y+=x[1],h||(l.originX=-x[0],l.originY=-x[1]));var E=r.inside==null?typeof r.position=="string"&&r.position.indexOf("inside")>=0:r.inside,b=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),D=void 0,A=void 0,O=void 0;E&&this.canBeInsideText()?(D=r.insideFill,A=r.insideStroke,(D==null||D==="auto")&&(D=this.getInsideTextFill()),(A==null||A==="auto")&&(A=this.getInsideTextStroke(D),O=!0)):(D=r.outsideFill,A=r.outsideStroke,(D==null||D==="auto")&&(D=this.getOutsideFill()),(A==null||A==="auto")&&(A=this.getOutsideStroke(D),O=!0)),D=D||"#000",(D!==b.fill||A!==b.stroke||O!==b.autoStroke||u!==b.align||f!==b.verticalAlign)&&(d=!0,b.fill=D,b.stroke=A,b.autoStroke=O,b.align=u,b.verticalAlign=f,n.setDefaultTextStyle(b)),n.__dirty|=La,d&&n.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(e){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?Rx:Mx},t.prototype.getOutsideStroke=function(e){var n=this.__zr&&this.__zr.getBackgroundColor(),r=typeof n=="string"&&rv(n);r||(r=[255,255,255,1]);for(var a=r[3],l=this.__zr.isDarkMode(),u=0;u<3;u++)r[u]=r[u]*a+(l?0:255)*(1-a);return r[3]=1,jL(r,"rgba")},t.prototype.traverse=function(e,n){},t.prototype.attrKV=function(e,n){e==="textConfig"?this.setTextConfig(n):e==="textContent"?this.setTextContent(n):e==="clipPath"?this.setClipPath(n):e==="extra"?(this.extra=this.extra||{},Re(this.extra,n)):this[e]=n},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(e,n){if(typeof e=="string")this.attrKV(e,n);else if(it(e))for(var r=e,a=kn(r),l=0;l<a.length;l++){var u=a[l];this.attrKV(u,e[u])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(e){this._innerSaveToNormal(e);for(var n=this._normalState,r=0;r<this.animators.length;r++){var a=this.animators[r],l=a.__fromStateTransition;if(!(a.getLoop()||l&&l!==Nx)){var u=a.targetName,f=u?n[u]:n;a.saveTo(f)}}},t.prototype._innerSaveToNormal=function(e){var n=this._normalState;n||(n=this._normalState={}),e.textConfig&&!n.textConfig&&(n.textConfig=this.textConfig),this._savePrimaryToNormal(e,n,Px)},t.prototype._savePrimaryToNormal=function(e,n,r){for(var a=0;a<r.length;a++){var l=r[a];e[l]!=null&&!(l in n)&&(n[l]=this[l])}},t.prototype.hasState=function(){return this.currentStates.length>0},t.prototype.getState=function(e){return this.states[e]},t.prototype.ensureState=function(e){var n=this.states;return n[e]||(n[e]={}),n[e]},t.prototype.clearStates=function(e){this.useState(Nx,!1,e)},t.prototype.useState=function(e,n,r,a){var l=e===Nx,u=this.hasState();if(!(!u&&l)){var f=this.currentStates,d=this.stateTransition;if(!(dn(f,e)>=0&&(n||f.length===1))){var h;if(this.stateProxy&&!l&&(h=this.stateProxy(e)),h||(h=this.states&&this.states[e]),!h&&!l){jf("State "+e+" not exists.");return}l||this.saveCurrentToNormalState(h);var p=!!(h&&h.hoverLayer||a);p&&this._toggleHoverLayerFlag(!0),this._applyStateObj(e,h,this._normalState,n,!r&&!this.__inHover&&d&&d.duration>0,d);var m=this._textContent,S=this._textGuide;return m&&m.useState(e,n,r,p),S&&S.useState(e,n,r,p),l?(this.currentStates=[],this._normalState={}):n?this.currentStates.push(e):this.currentStates=[e],this._updateAnimationTargets(),this.markRedraw(),!p&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~La),h}}},t.prototype.useStates=function(e,n,r){if(!e.length)this.clearStates();else{var a=[],l=this.currentStates,u=e.length,f=u===l.length;if(f){for(var d=0;d<u;d++)if(e[d]!==l[d]){f=!1;break}}if(f)return;for(var d=0;d<u;d++){var h=e[d],p=void 0;this.stateProxy&&(p=this.stateProxy(h,e)),p||(p=this.states[h]),p&&a.push(p)}var m=a[u-1],S=!!(m&&m.hoverLayer||r);S&&this._toggleHoverLayerFlag(!0);var _=this._mergeStates(a),x=this.stateTransition;this.saveCurrentToNormalState(_),this._applyStateObj(e.join(","),_,this._normalState,!1,!n&&!this.__inHover&&x&&x.duration>0,x);var E=this._textContent,b=this._textGuide;E&&E.useStates(e,n,S),b&&b.useStates(e,n,S),this._updateAnimationTargets(),this.currentStates=e.slice(),this.markRedraw(),!S&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~La)}},t.prototype._updateAnimationTargets=function(){for(var e=0;e<this.animators.length;e++){var n=this.animators[e];n.targetName&&n.changeTarget(this[n.targetName])}},t.prototype.removeState=function(e){var n=dn(this.currentStates,e);if(n>=0){var r=this.currentStates.slice();r.splice(n,1),this.useStates(r)}},t.prototype.replaceState=function(e,n,r){var a=this.currentStates.slice(),l=dn(a,e),u=dn(a,n)>=0;l>=0?u?a.splice(l,1):a[l]=n:r&&!u&&a.push(n),this.useStates(a)},t.prototype.toggleState=function(e,n){n?this.useState(e,!0):this.removeState(e)},t.prototype._mergeStates=function(e){for(var n={},r,a=0;a<e.length;a++){var l=e[a];Re(n,l),l.textConfig&&(r=r||{},Re(r,l.textConfig))}return r&&(n.textConfig=r),n},t.prototype._applyStateObj=function(e,n,r,a,l,u){var f=!(n&&a);n&&n.textConfig?(this.textConfig=Re({},a?this.textConfig:r.textConfig),Re(this.textConfig,n.textConfig)):f&&r.textConfig&&(this.textConfig=r.textConfig);for(var d={},h=!1,p=0;p<Px.length;p++){var m=Px[p],S=l&&x4[m];n&&n[m]!=null?S?(h=!0,d[m]=n[m]):this[m]=n[m]:f&&r[m]!=null&&(S?(h=!0,d[m]=r[m]):this[m]=r[m])}if(!l)for(var p=0;p<this.animators.length;p++){var _=this.animators[p],x=_.targetName;_.getLoop()||_.__changeFinalValue(x?(n||r)[x]:n||r)}h&&this._transitionState(e,d,u)},t.prototype._attachComponent=function(e){if(e.__zr&&!e.__hostTarget){if(process.env.NODE_ENV!=="production")throw new Error("Text element has been added to zrender.");return}if(e===this){if(process.env.NODE_ENV!=="production")throw new Error("Recursive component attachment.");return}var n=this.__zr;n&&e.addSelfToZr(n),e.__zr=n,e.__hostTarget=this},t.prototype._detachComponent=function(e){e.__zr&&e.removeSelfFromZr(e.__zr),e.__zr=null,e.__hostTarget=null},t.prototype.getClipPath=function(){return this._clipPath},t.prototype.setClipPath=function(e){this._clipPath&&this._clipPath!==e&&this.removeClipPath(),this._attachComponent(e),this._clipPath=e,this.markRedraw()},t.prototype.removeClipPath=function(){var e=this._clipPath;e&&(this._detachComponent(e),this._clipPath=null,this.markRedraw())},t.prototype.getTextContent=function(){return this._textContent},t.prototype.setTextContent=function(e){var n=this._textContent;if(n!==e){if(n&&n!==e&&this.removeTextContent(),process.env.NODE_ENV!=="production"&&e.__zr&&!e.__hostTarget)throw new Error("Text element has been added to zrender.");e.innerTransformable=new Kp,this._attachComponent(e),this._textContent=e,this.markRedraw()}},t.prototype.setTextConfig=function(e){this.textConfig||(this.textConfig={}),Re(this.textConfig,e),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var e=this._textContent;e&&(e.innerTransformable=null,this._detachComponent(e),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},t.prototype.getTextGuideLine=function(){return this._textGuide},t.prototype.setTextGuideLine=function(e){this._textGuide&&this._textGuide!==e&&this.removeTextGuideLine(),this._attachComponent(e),this._textGuide=e,this.markRedraw()},t.prototype.removeTextGuideLine=function(){var e=this._textGuide;e&&(this._detachComponent(e),this._textGuide=null,this.markRedraw())},t.prototype.markRedraw=function(){this.__dirty|=La;var e=this.__zr;e&&(this.__inHover?e.refreshHover():e.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype._toggleHoverLayerFlag=function(e){this.__inHover=e;var n=this._textContent,r=this._textGuide;n&&(n.__inHover=e),r&&(r.__inHover=e)},t.prototype.addSelfToZr=function(e){if(this.__zr!==e){this.__zr=e;var n=this.animators;if(n)for(var r=0;r<n.length;r++)e.animation.addAnimator(n[r]);this._clipPath&&this._clipPath.addSelfToZr(e),this._textContent&&this._textContent.addSelfToZr(e),this._textGuide&&this._textGuide.addSelfToZr(e)}},t.prototype.removeSelfFromZr=function(e){if(this.__zr){this.__zr=null;var n=this.animators;if(n)for(var r=0;r<n.length;r++)e.animation.removeAnimator(n[r]);this._clipPath&&this._clipPath.removeSelfFromZr(e),this._textContent&&this._textContent.removeSelfFromZr(e),this._textGuide&&this._textGuide.removeSelfFromZr(e)}},t.prototype.animate=function(e,n,r){var a=e?this[e]:this;if(process.env.NODE_ENV!=="production"&&!a){jf('Property "'+e+'" is not existed in element '+this.id);return}var l=new _x(a,n,r);return e&&(l.targetName=e),this.addAnimator(l,e),l},t.prototype.addAnimator=function(e,n){var r=this.__zr,a=this;e.during(function(){a.updateDuringAnimation(n)}).done(function(){var l=a.animators,u=dn(l,e);u>=0&&l.splice(u,1)}),this.animators.push(e),r&&r.animation.addAnimator(e),r&&r.wakeUp()},t.prototype.updateDuringAnimation=function(e){this.markRedraw()},t.prototype.stopAnimation=function(e,n){for(var r=this.animators,a=r.length,l=[],u=0;u<a;u++){var f=r[u];!e||e===f.scope?f.stop(n):l.push(f)}return this.animators=l,this},t.prototype.animateTo=function(e,n,r){zx(this,e,n,r)},t.prototype.animateFrom=function(e,n,r){zx(this,e,n,r,!0)},t.prototype._transitionState=function(e,n,r,a){for(var l=zx(this,n,r,a),u=0;u<l.length;u++)l[u].__fromStateTransition=e},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.initDefaultProps=function(){var e=t.prototype;e.type="element",e.name="",e.ignore=e.silent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=La;var n={};function r(l,u,f){n[l+u+f]||(console.warn("DEPRECATED: '"+l+"' has been deprecated. use '"+u+"', '"+f+"' instead"),n[l+u+f]=!0)}function a(l,u,f,d){Object.defineProperty(e,l,{get:function(){if(process.env.NODE_ENV!=="production"&&r(l,f,d),!this[u]){var p=this[u]=[];h(this,p)}return this[u]},set:function(p){process.env.NODE_ENV!=="production"&&r(l,f,d),this[f]=p[0],this[d]=p[1],this[u]=p,h(this,p)}});function h(p,m){Object.defineProperty(m,0,{get:function(){return p[f]},set:function(S){p[f]=S}}),Object.defineProperty(m,1,{get:function(){return p[d]},set:function(S){p[d]=S}})}}Object.defineProperty&&(a("position","_legacyPos","x","y"),a("scale","_legacyScale","scaleX","scaleY"),a("origin","_legacyOrigin","originX","originY"))}(),t}();ml(Ix,_l),ml(Ix,Kp);function zx(t,e,n,r,a){n=n||{};var l=[];aO(t,"",t,e,n,r,l,a);var u=l.length,f=!1,d=n.done,h=n.aborted,p=function(){f=!0,u--,u<=0&&(f?d&&d():h&&h())},m=function(){u--,u<=0&&(f?d&&d():h&&h())};u||d&&d(),l.length>0&&n.during&&l[0].during(function(x,E){n.during(E)});for(var S=0;S<l.length;S++){var _=l[S];p&&_.done(p),m&&_.aborted(m),n.force&&_.duration(n.duration),_.start(n.easing)}return l}function Fx(t,e,n){for(var r=0;r<n;r++)t[r]=e[r]}function b4(t){return Ai(t[0])}function E4(t,e,n){if(Ai(e[n]))if(Ai(t[n])||(t[n]=[]),ea(e[n])){var r=e[n].length;t[n].length!==r&&(t[n]=new e[n].constructor(r),Fx(t[n],e[n],r))}else{var a=e[n],l=t[n],u=a.length;if(b4(a))for(var f=a[0].length,d=0;d<u;d++)l[d]?Fx(l[d],a[d],f):l[d]=Array.prototype.slice.call(a[d]);else Fx(l,a,u);l.length=a.length}else t[n]=e[n]}function D4(t,e){return t===e||Ai(t)&&Ai(e)&&M4(t,e)}function M4(t,e){var n=t.length;if(n!==e.length)return!1;for(var r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function aO(t,e,n,r,a,l,u,f){for(var d=kn(r),h=a.duration,p=a.delay,m=a.additive,S=a.setToFinal,_=!it(l),x=t.animators,E=[],b=0;b<d.length;b++){var D=d[b],A=r[D];if(A!=null&&n[D]!=null&&(_||l[D]))if(it(A)&&!Ai(A)&&!b0(A)){if(e){f||(n[D]=A,t.updateDuringAnimation(e));continue}aO(t,D,n[D],A,a,l&&l[D],u,f)}else E.push(D);else f||(n[D]=A,t.updateDuringAnimation(e),E.push(D))}var O=E.length;if(!m&&O)for(var P=0;P<x.length;P++){var I=x[P];if(I.targetName===e){var F=I.stopTracks(E);if(F){var U=dn(x,I);x.splice(U,1)}}}if(a.force||(E=br(E,function(G){return!D4(r[G],n[G])}),O=E.length),O>0||a.force&&!u.length){var H=void 0,j=void 0,X=void 0;if(f){j={},S&&(H={});for(var P=0;P<O;P++){var D=E[P];j[D]=n[D],S?H[D]=r[D]:n[D]=r[D]}}else if(S){X={};for(var P=0;P<O;P++){var D=E[P];X[D]=V0(n[D]),E4(n,r,D)}}var I=new _x(n,!1,!1,m?br(x,function(ee){return ee.targetName===e}):null);I.targetName=e,a.scope&&(I.scope=a.scope),S&&H&&I.whenWithKeys(0,H,E),X&&I.whenWithKeys(0,X,E),I.whenWithKeys(h??500,f?j:r,E).delay(p||0),t.addAnimator(I,e),u.push(I)}}const oO=Ix;var lO=function(t){mn(e,t);function e(n){var r=t.call(this)||this;return r.isGroup=!0,r._children=[],r.attr(n),r}return e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(n){return this._children[n]},e.prototype.childOfName=function(n){for(var r=this._children,a=0;a<r.length;a++)if(r[a].name===n)return r[a]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(n){if(n&&(n!==this&&n.parent!==this&&(this._children.push(n),this._doAdd(n)),process.env.NODE_ENV!=="production"&&n.__hostTarget))throw"This elemenet has been used as an attachment";return this},e.prototype.addBefore=function(n,r){if(n&&n!==this&&n.parent!==this&&r&&r.parent===this){var a=this._children,l=a.indexOf(r);l>=0&&(a.splice(l,0,n),this._doAdd(n))}return this},e.prototype.replace=function(n,r){var a=dn(this._children,n);return a>=0&&this.replaceAt(r,a),this},e.prototype.replaceAt=function(n,r){var a=this._children,l=a[r];if(n&&n!==this&&n.parent!==this&&n!==l){a[r]=n,l.parent=null;var u=this.__zr;u&&l.removeSelfFromZr(u),this._doAdd(n)}return this},e.prototype._doAdd=function(n){n.parent&&n.parent.remove(n),n.parent=this;var r=this.__zr;r&&r!==n.__zr&&n.addSelfToZr(r),r&&r.refresh()},e.prototype.remove=function(n){var r=this.__zr,a=this._children,l=dn(a,n);return l<0?this:(a.splice(l,1),n.parent=null,r&&n.removeSelfFromZr(r),r&&r.refresh(),this)},e.prototype.removeAll=function(){for(var n=this._children,r=this.__zr,a=0;a<n.length;a++){var l=n[a];r&&l.removeSelfFromZr(r),l.parent=null}return n.length=0,this},e.prototype.eachChild=function(n,r){for(var a=this._children,l=0;l<a.length;l++){var u=a[l];n.call(r,u,l)}return this},e.prototype.traverse=function(n,r){for(var a=0;a<this._children.length;a++){var l=this._children[a],u=n.call(r,l);l.isGroup&&!u&&l.traverse(n,r)}return this},e.prototype.addSelfToZr=function(n){t.prototype.addSelfToZr.call(this,n);for(var r=0;r<this._children.length;r++){var a=this._children[r];a.addSelfToZr(n)}},e.prototype.removeSelfFromZr=function(n){t.prototype.removeSelfFromZr.call(this,n);for(var r=0;r<this._children.length;r++){var a=this._children[r];a.removeSelfFromZr(n)}},e.prototype.getBoundingRect=function(n){for(var r=new Wt(0,0,0,0),a=n||this._children,l=[],u=null,f=0;f<a.length;f++){var d=a[f];if(!(d.ignore||d.invisible)){var h=d.getBoundingRect(),p=d.getLocalTransform(l);p?(Wt.applyTransform(r,h,p),u=u||r.clone(),u.union(r)):(u=u||h.clone(),u.union(h))}}return u||r},e}(oO);lO.prototype.type="group";const Cl=lO;var eg={},uO={};function R4(t){delete uO[t]}function A4(t){if(!t)return!1;if(typeof t=="string")return B0(t,1)<Dx;if(t.colorStops){for(var e=t.colorStops,n=0,r=e.length,a=0;a<r;a++)n+=B0(e[a].color,1);return n/=r,n<Dx}return!1}var L4=function(){function t(e,n,r){var a=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,r=r||{},this.dom=n,this.id=e;var l=new WH,u=r.renderer||"canvas";if(eg[u]||(u=kn(eg)[0]),process.env.NODE_ENV!=="production"&&!eg[u])throw new Error("Renderer '"+u+"' is not imported. Please import it first.");r.useDirtyRect=r.useDirtyRect==null?!1:r.useDirtyRect;var f=new eg[u](n,l,r,e),d=r.ssr||f.ssrOnly;this.storage=l,this.painter=f;var h=!Tt.node&&!Tt.worker&&!d?new _4(f.getViewportRoot(),f.root):null,p=r.useCoarsePointer,m=p==null||p==="auto"?Tt.touchEventsSupported:!!p,S=44,_;m&&(_=kt(r.pointerSize,S)),this.handler=new HH(l,f,h,f.root,_),this.animation=new c4({stage:{update:d?null:function(){return a._flush(!0)}}}),d||this.animation.start()}return t.prototype.add=function(e){e&&(this.storage.addRoot(e),e.addSelfToZr(this),this.refresh())},t.prototype.remove=function(e){e&&(this.storage.delRoot(e),e.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(e,n){this.painter.configLayer&&this.painter.configLayer(e,n),this.refresh()},t.prototype.setBackgroundColor=function(e){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(e),this.refresh(),this._backgroundColor=e,this._darkMode=A4(e)},t.prototype.getBackgroundColor=function(){return this._backgroundColor},t.prototype.setDarkMode=function(e){this._darkMode=e},t.prototype.isDarkMode=function(){return this._darkMode},t.prototype.refreshImmediately=function(e){e||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},t.prototype.refresh=function(){this._needsRefresh=!0,this.animation.start()},t.prototype.flush=function(){this._flush(!1)},t.prototype._flush=function(e){var n,r=iv();this._needsRefresh&&(n=!0,this.refreshImmediately(e)),this._needsRefreshHover&&(n=!0,this.refreshHoverImmediately());var a=iv();n?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:a-r})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(e){this._sleepAfterStill=e},t.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover()},t.prototype.resize=function(e){e=e||{},this.painter.resize(e.width,e.height),this.handler.resize()},t.prototype.clearAnimation=function(){this.animation.clear()},t.prototype.getWidth=function(){return this.painter.getWidth()},t.prototype.getHeight=function(){return this.painter.getHeight()},t.prototype.setCursorStyle=function(e){this.handler.setCursorStyle(e)},t.prototype.findHover=function(e,n){return this.handler.findHover(e,n)},t.prototype.on=function(e,n,r){return this.handler.on(e,n,r),this},t.prototype.off=function(e,n){this.handler.off(e,n)},t.prototype.trigger=function(e,n){this.handler.trigger(e,n)},t.prototype.clear=function(){for(var e=this.storage.getRoots(),n=0;n<e.length;n++)e[n]instanceof Cl&&e[n].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()},t.prototype.dispose=function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,R4(this.id)},t}();function sO(t,e){var n=new L4(rL(),t,e);return uO[n.id]=n,n}function O4(t,e){eg[t]=e}var fO=1e-4,cO=20;function k4(t){return t.replace(/^\s+|\s+$/g,"")}function dO(t,e,n,r){var a=e[0],l=e[1],u=n[0],f=n[1],d=l-a,h=f-u;if(d===0)return h===0?u:(u+f)/2;if(r)if(d>0){if(t<=a)return u;if(t>=l)return f}else{if(t>=a)return u;if(t<=l)return f}else{if(t===a)return u;if(t===l)return f}return(t-a)/d*h+u}function Zr(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%";break}return et(t)?k4(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):t==null?NaN:+t}function vr(t,e,n){return e==null&&(e=10),e=Math.min(Math.max(0,e),cO),t=(+t).toFixed(e),n?t:+t}function Su(t){if(t=+t,isNaN(t))return 0;if(t>1e-14){for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n}return Bx(t)}function Bx(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),r=n>0?+e.slice(n+1):0,a=n>0?n:e.length,l=e.indexOf("."),u=l<0?0:a-1-l;return Math.max(0,u-r)}function N4(t,e){var n=Math.log,r=Math.LN10,a=Math.floor(n(t[1]-t[0])/r),l=Math.round(n(Math.abs(e[1]-e[0]))/r),u=Math.min(Math.max(-a+l,0),20);return isFinite(u)?u:20}function P4(t,e){var n=Math.max(Su(t),Su(e)),r=t+e;return n>cO?r:vr(r,n)}function vO(t){var e=Math.PI*2;return(t%e+e)%e}function q0(t){return t>-fO&&t<fO}var I4=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function Cu(t){if(t instanceof Date)return t;if(et(t)){var e=I4.exec(t);if(!e)return new Date(NaN);if(e[8]){var n=+e[4]||0;return e[8].toUpperCase()!=="Z"&&(n-=+e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,n,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}else return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0)}else if(t==null)return new Date(NaN);return new Date(Math.round(t))}function z4(t){return Math.pow(10,Q0(t))}function Q0(t){if(t===0)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return t/Math.pow(10,e)>=10&&e++,e}function hO(t,e){var n=Q0(t),r=Math.pow(10,n),a=t/r,l;return e?a<1.5?l=1:a<2.5?l=2:a<4?l=3:a<7?l=5:l=10:a<1?l=1:a<2?l=2:a<3?l=3:a<5?l=5:l=10,t=l*r,n>=-20?+t.toFixed(n<0?-n:0):t}function Ds(t){var e=parseFloat(t);return e==t&&(e!==0||!et(t)||t.indexOf("x")<=0)?e:NaN}function pO(t){return!isNaN(Ds(t))}function gO(){return Math.round(Math.random()*9)}function mO(t,e){return e===0?t:mO(e,t%e)}function yO(t,e){return t==null?e:e==null?t:t*e/mO(t,e)}var F4="[ECharts] ",_O={},B4=typeof console<"u"&&console.warn&&console.log;function Z0(t,e,n){if(B4){if(n){if(_O[e])return;_O[e]=!0}console[t](F4+e)}}function U4(t,e){Z0("log",t,e)}function Fr(t,e){Z0("warn",t,e)}function ci(t,e){Z0("error",t,e)}function wl(t){process.env.NODE_ENV!=="production"&&Z0("warn","DEPRECATED: "+t,!0)}function Br(t,e,n){process.env.NODE_ENV!=="production"&&wl((n?"["+n+"]":"")+(t+" is deprecated, use "+e+" instead."))}function na(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n="";if(process.env.NODE_ENV!=="production"){var r=function(a){return a===void 0?"undefined":a===1/0?"Infinity":a===-1/0?"-Infinity":Fp(a)?"NaN":a instanceof Date?"Date("+a.toISOString()+")":_t(a)?"function () { ... }":aL(a)?a+"":null};n=ot(t,function(a){if(et(a))return a;var l=r(a);if(l!=null)return l;if(typeof JSON<"u"&&JSON.stringify)try{return JSON.stringify(a,function(u,f){var d=r(f);return d??f})}catch{return"?"}else return"?"}).join(" ")}return n}function Ht(t){throw new Error(t)}function SO(t,e,n){return(e-t)*n+t}var CO="series\0",V4="\0_ec_\0";function rr(t){return t instanceof Array?t:t==null?[]:[t]}function wO(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var r=0,a=n.length;r<a;r++){var l=n[r];!t.emphasis[e].hasOwnProperty(l)&&t[e].hasOwnProperty(l)&&(t.emphasis[e][l]=t[e][l])}}}var xO=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function tg(t){return it(t)&&!Be(t)&&!(t instanceof Date)?t.value:t}function H4(t){return it(t)&&!(t instanceof Array)}function G4(t,e,n){var r=n==="normalMerge",a=n==="replaceMerge",l=n==="replaceAll";t=t||[],e=(e||[]).slice();var u=xt();W(e,function(d,h){if(!it(d)){e[h]=null;return}process.env.NODE_ENV!=="production"&&(d.id!=null&&!EO(d.id)&&bO(d.id),d.name!=null&&!EO(d.name)&&bO(d.name))});var f=$4(t,u,n);return(r||a)&&j4(f,t,u,e),r&&Y4(f,e),r||a?W4(f,e,a):l&&X4(f,e),q4(f),f}function $4(t,e,n){var r=[];if(n==="replaceAll")return r;for(var a=0;a<t.length;a++){var l=t[a];l&&l.id!=null&&e.set(l.id,a),r.push({existing:n==="replaceMerge"||uv(l)?null:l,newOption:null,keyInfo:null,brandNew:null})}return r}function j4(t,e,n,r){W(r,function(a,l){if(!(!a||a.id==null)){var u=ng(a.id),f=n.get(u);if(f!=null){var d=t[f];bt(!d.newOption,'Duplicated option on id "'+u+'".'),d.newOption=a,d.existing=e[f],r[l]=null}}})}function Y4(t,e){W(e,function(n,r){if(!(!n||n.name==null))for(var a=0;a<t.length;a++){var l=t[a].existing;if(!t[a].newOption&&l&&(l.id==null||n.id==null)&&!uv(n)&&!uv(l)&&TO("name",l,n)){t[a].newOption=n,e[r]=null;return}}})}function W4(t,e,n){W(e,function(r){if(r){for(var a,l=0;(a=t[l])&&(a.newOption||uv(a.existing)||a.existing&&r.id!=null&&!TO("id",r,a.existing));)l++;a?(a.newOption=r,a.brandNew=n):t.push({newOption:r,brandNew:n,existing:null,keyInfo:null}),l++}})}function X4(t,e){W(e,function(n){t.push({newOption:n,brandNew:!0,existing:null,keyInfo:null})})}function q4(t){var e=xt();W(t,function(n){var r=n.existing;r&&e.set(r.id,n)}),W(t,function(n){var r=n.newOption;bt(!r||r.id==null||!e.get(r.id)||e.get(r.id)===n,"id duplicates: "+(r&&r.id)),r&&r.id!=null&&e.set(r.id,n),!n.keyInfo&&(n.keyInfo={})}),W(t,function(n,r){var a=n.existing,l=n.newOption,u=n.keyInfo;if(it(l)){if(u.name=l.name!=null?ng(l.name):a?a.name:CO+r,a)u.id=ng(a.id);else if(l.id!=null)u.id=ng(l.id);else{var f=0;do u.id="\0"+u.name+"\0"+f++;while(e.get(u.id))}e.set(u.id,n)}})}function TO(t,e,n){var r=xl(e[t],null),a=xl(n[t],null);return r!=null&&a!=null&&r===a}function ng(t){if(process.env.NODE_ENV!=="production"&&t==null)throw new Error;return xl(t,"")}function xl(t,e){return t==null?e:et(t)?t:Nn(t)||T0(t)?t+"":e}function bO(t){process.env.NODE_ENV!=="production"&&Fr("`"+t+"` is invalid id or name. Must be a string or number.")}function EO(t){return T0(t)||pO(t)}function DO(t){var e=t.name;return!!(e&&e.indexOf(CO))}function uv(t){return t&&t.id!=null&&ng(t.id).indexOf(V4)===0}function Q4(t,e,n){W(t,function(r){var a=r.newOption;it(a)&&(r.keyInfo.mainType=e,r.keyInfo.subType=Z4(e,a,r.existing,n))})}function Z4(t,e,n,r){var a=e.type?e.type:n?n.subType:r.determineSubType(t,e);return a}function rg(t,e){if(e.dataIndexInside!=null)return e.dataIndexInside;if(e.dataIndex!=null)return Be(e.dataIndex)?ot(e.dataIndex,function(n){return t.indexOfRawIndex(n)}):t.indexOfRawIndex(e.dataIndex);if(e.name!=null)return Be(e.name)?ot(e.name,function(n){return t.indexOfName(n)}):t.indexOfName(e.name)}function jn(){var t="__ec_inner_"+K4++;return function(e){return e[t]||(e[t]={})}}var K4=gO();function Ux(t,e,n){var r=Vx(e,n),a=r.mainTypeSpecified,l=r.queryOptionMap,u=r.others,f=u,d=n?n.defaultMainType:null;return!a&&d&&l.set(d,{}),l.each(function(h,p){var m=ig(t,p,h,{useDefault:d===p,enableAll:n&&n.enableAll!=null?n.enableAll:!0,enableNone:n&&n.enableNone!=null?n.enableNone:!0});f[p+"Models"]=m.models,f[p+"Model"]=m.models[0]}),f}function Vx(t,e){var n;if(et(t)){var r={};r[t+"Index"]=0,n=r}else n=t;var a=xt(),l={},u=!1;return W(n,function(f,d){if(d==="dataIndex"||d==="dataIndexInside"){l[d]=f;return}var h=d.match(/^(\w+)(Index|Id|Name)$/)||[],p=h[1],m=(h[2]||"").toLowerCase();if(!(!p||!m||e&&e.includeMainTypes&&dn(e.includeMainTypes,p)<0)){u=u||!!p;var S=a.get(p)||a.set(p,{});S[m]=f}}),{mainTypeSpecified:u,queryOptionMap:a,others:l}}var Oo={useDefault:!0,enableAll:!1,enableNone:!1};function ig(t,e,n,r){r=r||Oo;var a=n.index,l=n.id,u=n.name,f={models:null,specified:a!=null||l!=null||u!=null};if(!f.specified){var d=void 0;return f.models=r.useDefault&&(d=t.getComponent(e))?[d]:[],f}return a==="none"||a===!1?(bt(r.enableNone,'`"none"` or `false` is not a valid value on index option.'),f.models=[],f):(a==="all"&&(bt(r.enableAll,'`"all"` is not a valid value on index option.'),a=l=u=null),f.models=t.queryComponents({mainType:e,index:a,id:l,name:u}),f)}function MO(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n}function J4(t,e){return t.getAttribute?t.getAttribute(e):t[e]}function e6(t){return t==="auto"?Tt.domSupported?"html":"richText":t||"html"}function t6(t,e,n,r,a){var l=e==null||e==="auto";if(r==null)return r;if(Nn(r)){var u=SO(n||0,r,a);return vr(u,l?Math.max(Su(n||0),Su(r)):e)}else{if(et(r))return a<1?n:r;for(var f=[],d=n,h=r,p=Math.max(d?d.length:0,h.length),m=0;m<p;++m){var S=t.getDimensionInfo(m);if(S&&S.type==="ordinal")f[m]=(a<1&&d?d:h)[m];else{var _=d&&d[m]?d[m]:0,x=h[m],u=SO(_,x,a);f[m]=vr(u,l?Math.max(Su(_),Su(x)):e)}}return f}}var n6=".",ec="___EC__COMPONENT__CONTAINER___",RO="___EC__EXTENDED_CLASS___";function Tl(t){var e={main:"",sub:""};if(t){var n=t.split(n6);e.main=n[0]||"",e.sub=n[1]||""}return e}function r6(t){bt(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function i6(t){return!!(t&&t[RO])}function Hx(t,e){t.$constructor=t,t.extend=function(n){process.env.NODE_ENV!=="production"&&W(e,function(l){n[l]||console.warn("Method `"+l+"` should be implemented"+(n.type?" in "+n.type:"")+".")});var r=this,a;return a6(r)?a=function(l){Pt(u,l);function u(){return l.apply(this,arguments)||this}return u}(r):(a=function(){(n.$constructor||r).apply(this,arguments)},rH(a,this)),Re(a.prototype,n),a[RO]=!0,a.extend=this.extend,a.superCall=u6,a.superApply=s6,a.superClass=r,a}}function a6(t){return _t(t)&&/^class\s/.test(Function.prototype.toString.call(t))}function AO(t,e){t.extend=e.extend}var o6=Math.round(Math.random()*10);function l6(t){var e=["__\0is_clz",o6++].join("_");t.prototype[e]=!0,process.env.NODE_ENV!=="production"&&bt(!t.isInstance,'The method "is" can not be defined.'),t.isInstance=function(n){return!!(n&&n[e])}}function u6(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return this.superClass.prototype[e].apply(t,n)}function s6(t,e,n){return this.superClass.prototype[e].apply(t,n)}function K0(t){var e={};t.registerClass=function(r){var a=r.type||r.prototype.type;if(a){r6(a),r.prototype.type=a;var l=Tl(a);if(!l.sub)process.env.NODE_ENV!=="production"&&e[l.main]&&console.warn(l.main+" exists."),e[l.main]=r;else if(l.sub!==ec){var u=n(l);u[l.sub]=r}}return r},t.getClass=function(r,a,l){var u=e[r];if(u&&u[ec]&&(u=a?u[a]:null),l&&!u)throw new Error(a?"Component "+r+"."+(a||"")+" is used but not imported.":r+".type should be specified.");return u},t.getClassesByMainType=function(r){var a=Tl(r),l=[],u=e[a.main];return u&&u[ec]?W(u,function(f,d){d!==ec&&l.push(f)}):l.push(u),l},t.hasClass=function(r){var a=Tl(r);return!!e[a.main]},t.getAllClassMainTypes=function(){var r=[];return W(e,function(a,l){r.push(l)}),r},t.hasSubTypes=function(r){var a=Tl(r),l=e[a.main];return l&&l[ec]};function n(r){var a=e[r.main];return(!a||!a[ec])&&(a=e[r.main]={},a[ec]=!0),a}}function ag(t,e){for(var n=0;n<t.length;n++)t[n][1]||(t[n][1]=t[n][0]);return e=e||!1,function(r,a,l){for(var u={},f=0;f<t.length;f++){var d=t[f][1];if(!(a&&dn(a,d)>=0||l&&dn(l,d)<0)){var h=r.getShallow(d,e);h!=null&&(u[t[f][0]]=h)}}return u}}var f6=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],c6=ag(f6),d6=function(){function t(){}return t.prototype.getAreaStyle=function(e,n){return c6(this,e,n)},t}(),Gx=new Yp(50);function v6(t){if(typeof t=="string"){var e=Gx.get(t);return e&&e.image}else return t}function LO(t,e,n,r,a){if(t)if(typeof t=="string"){if(e&&e.__zrImageSrc===t||!n)return e;var l=Gx.get(t),u={hostEl:n,cb:r,cbPayload:a};return l?(e=l.image,!J0(e)&&l.pending.push(u)):(e=$f.loadImage(t,OO,OO),e.__zrImageSrc=t,Gx.put(t,e.__cachedImgObj={image:e,pending:[u]})),e}else return t;else return e}function OO(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var n=t.pending[e],r=n.cb;r&&r(this,n.cbPayload),n.hostEl.dirty()}t.pending.length=0}function J0(t){return t&&t.width&&t.height}var $x=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function h6(t,e,n,r,a){if(!e)return"";var l=(t+"").split(`
193
- `);a=kO(e,n,r,a);for(var u=0,f=l.length;u<f;u++)l[u]=NO(l[u],a);return l.join(`
194
- `)}function kO(t,e,n,r){r=r||{};var a=Re({},r);a.font=e,n=kt(n,"..."),a.maxIterations=kt(r.maxIterations,2);var l=a.minChar=kt(r.minChar,0);a.cnCharWidth=Oa("国",e);var u=a.ascCharWidth=Oa("a",e);a.placeholder=kt(r.placeholder,"");for(var f=t=Math.max(0,t-1),d=0;d<l&&f>=u;d++)f-=u;var h=Oa(n,e);return h>f&&(n="",h=0),f=t-h,a.ellipsis=n,a.ellipsisWidth=h,a.contentWidth=f,a.containerWidth=t,a}function NO(t,e){var n=e.containerWidth,r=e.font,a=e.contentWidth;if(!n)return"";var l=Oa(t,r);if(l<=n)return t;for(var u=0;;u++){if(l<=a||u>=e.maxIterations){t+=e.ellipsis;break}var f=u===0?p6(t,a,e.ascCharWidth,e.cnCharWidth):l>0?Math.floor(t.length*a/l):0;t=t.substr(0,f),l=Oa(t,r)}return t===""&&(t=e.placeholder),t}function p6(t,e,n,r){for(var a=0,l=0,u=t.length;l<u&&a<e;l++){var f=t.charCodeAt(l);a+=0<=f&&f<=127?n:r}return l}function g6(t,e){t!=null&&(t+="");var n=e.overflow,r=e.padding,a=e.font,l=n==="truncate",u=kx(a),f=kt(e.lineHeight,u),d=!!e.backgroundColor,h=e.lineOverflow==="truncate",p=e.width,m;p!=null&&(n==="break"||n==="breakAll")?m=t?IO(t,e.font,p,n==="breakAll",0).lines:[]:m=t?t.split(`
195
- `):[];var S=m.length*f,_=kt(e.height,S);if(S>_&&h){var x=Math.floor(_/f);m=m.slice(0,x)}if(t&&l&&p!=null)for(var E=kO(p,a,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),b=0;b<m.length;b++)m[b]=NO(m[b],E);for(var D=_,A=0,b=0;b<m.length;b++)A=Math.max(Oa(m[b],a),A);p==null&&(p=A);var O=A;return r&&(D+=r[0]+r[2],O+=r[1]+r[3],p+=r[1]+r[3]),d&&(O=p),{lines:m,height:_,outerWidth:O,outerHeight:D,lineHeight:f,calculatedLineHeight:u,contentWidth:A,contentHeight:S,width:p}}var m6=function(){function t(){}return t}(),PO=function(){function t(e){this.tokens=[],e&&(this.tokens=e)}return t}(),y6=function(){function t(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]}return t}();function _6(t,e){var n=new y6;if(t!=null&&(t+=""),!t)return n;for(var r=e.width,a=e.height,l=e.overflow,u=(l==="break"||l==="breakAll")&&r!=null?{width:r,accumWidth:0,breakAll:l==="breakAll"}:null,f=$x.lastIndex=0,d;(d=$x.exec(t))!=null;){var h=d.index;h>f&&jx(n,t.substring(f,h),e,u),jx(n,d[2],e,u,d[1]),f=$x.lastIndex}f<t.length&&jx(n,t.substring(f,t.length),e,u);var p=[],m=0,S=0,_=e.padding,x=l==="truncate",E=e.lineOverflow==="truncate";function b(ae,ge,pe){ae.width=ge,ae.lineHeight=pe,m+=pe,S=Math.max(S,ge)}e:for(var D=0;D<n.lines.length;D++){for(var A=n.lines[D],O=0,P=0,I=0;I<A.tokens.length;I++){var F=A.tokens[I],U=F.styleName&&e.rich[F.styleName]||{},H=F.textPadding=U.padding,j=H?H[1]+H[3]:0,X=F.font=U.font||e.font;F.contentHeight=kx(X);var G=kt(U.height,F.contentHeight);if(F.innerHeight=G,H&&(G+=H[0]+H[2]),F.height=G,F.lineHeight=Wd(U.lineHeight,e.lineHeight,G),F.align=U&&U.align||e.align,F.verticalAlign=U&&U.verticalAlign||"middle",E&&a!=null&&m+F.lineHeight>a){I>0?(A.tokens=A.tokens.slice(0,I),b(A,P,O),n.lines=n.lines.slice(0,D+1)):n.lines=n.lines.slice(0,D);break e}var ee=U.width,J=ee==null||ee==="auto";if(typeof ee=="string"&&ee.charAt(ee.length-1)==="%")F.percentWidth=ee,p.push(F),F.contentWidth=Oa(F.text,X);else{if(J){var ie=U.backgroundColor,ce=ie&&ie.image;ce&&(ce=v6(ce),J0(ce)&&(F.width=Math.max(F.width,ce.width*G/ce.height)))}var fe=x&&r!=null?r-P:null;fe!=null&&fe<F.width?!J||fe<j?(F.text="",F.width=F.contentWidth=0):(F.text=h6(F.text,fe-j,X,e.ellipsis,{minChar:e.truncateMinChar}),F.width=F.contentWidth=Oa(F.text,X)):F.contentWidth=Oa(F.text,X)}F.width+=j,P+=F.width,U&&(O=Math.max(O,F.lineHeight))}b(A,P,O)}n.outerWidth=n.width=kt(r,S),n.outerHeight=n.height=kt(a,m),n.contentHeight=m,n.contentWidth=S,_&&(n.outerWidth+=_[1]+_[3],n.outerHeight+=_[0]+_[2]);for(var D=0;D<p.length;D++){var F=p[D],Ne=F.percentWidth;F.width=parseInt(Ne,10)/100*n.width}return n}function jx(t,e,n,r,a){var l=e==="",u=a&&n.rich[a]||{},f=t.lines,d=u.font||n.font,h=!1,p,m;if(r){var S=u.padding,_=S?S[1]+S[3]:0;if(u.width!=null&&u.width!=="auto"){var x=Jf(u.width,r.width)+_;f.length>0&&x+r.accumWidth>r.width&&(p=e.split(`
196
- `),h=!0),r.accumWidth=x}else{var E=IO(e,d,r.width,r.breakAll,r.accumWidth);r.accumWidth=E.accumWidth+_,m=E.linesWidths,p=E.lines}}else p=e.split(`
197
- `);for(var b=0;b<p.length;b++){var D=p[b],A=new m6;if(A.styleName=a,A.text=D,A.isLineHolder=!D&&!l,typeof u.width=="number"?A.width=u.width:A.width=m?m[b]:Oa(D,d),!b&&!h){var O=(f[f.length-1]||(f[0]=new PO)).tokens,P=O.length;P===1&&O[0].isLineHolder?O[0]=A:(D||!P||l)&&O.push(A)}else f.push(new PO([A]))}}function S6(t){var e=t.charCodeAt(0);return e>=33&&e<=383}var C6=Yd(",&?/;] ".split(""),function(t,e){return t[e]=!0,t},{});function w6(t){return S6(t)?!!C6[t]:!0}function IO(t,e,n,r,a){for(var l=[],u=[],f="",d="",h=0,p=0,m=0;m<t.length;m++){var S=t.charAt(m);if(S===`
198
- `){d&&(f+=d,p+=h),l.push(f),u.push(p),f="",d="",h=0,p=0;continue}var _=Oa(S,e),x=r?!1:!w6(S);if(l.length?p+_>n:a+p+_>n){p?(f||d)&&(x?(f||(f=d,d="",h=0,p=h),l.push(f),u.push(p-h),d+=S,h+=_,f="",p=h):(d&&(f+=d,d="",h=0),l.push(f),u.push(p),f=S,p=_)):x?(l.push(d),u.push(h),d=S,h=_):(l.push(S),u.push(_));continue}p+=_,x?(d+=S,h+=_):(d&&(f+=d,d="",h=0),f+=S)}return!l.length&&!f&&(f=t,d="",h=0),d&&(f+=d),f&&(l.push(f),u.push(p)),l.length===1&&(p+=a),{accumWidth:p,lines:l,linesWidths:u}}var Yx="__zr_style_"+Math.round(Math.random()*10),tc={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},e_={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};tc[Yx]=!0;var zO=["z","z2","invisible"],x6=["invisible"],T6=function(t){mn(e,t);function e(n){return t.call(this,n)||this}return e.prototype._init=function(n){for(var r=kn(n),a=0;a<r.length;a++){var l=r[a];l==="style"?this.useStyle(n[l]):t.prototype.attrKV.call(this,l,n[l])}this.style||this.useStyle({})},e.prototype.beforeBrush=function(){},e.prototype.afterBrush=function(){},e.prototype.innerBeforeBrush=function(){},e.prototype.innerAfterBrush=function(){},e.prototype.shouldBePainted=function(n,r,a,l){var u=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&b6(this,n,r)||u&&!u[0]&&!u[3])return!1;if(a&&this.__clipPaths){for(var f=0;f<this.__clipPaths.length;++f)if(this.__clipPaths[f].isZeroArea())return!1}if(l&&this.parent)for(var d=this.parent;d;){if(d.ignore)return!1;d=d.parent}return!0},e.prototype.contain=function(n,r){return this.rectContain(n,r)},e.prototype.traverse=function(n,r){n.call(r,this)},e.prototype.rectContain=function(n,r){var a=this.transformCoordToLocal(n,r),l=this.getBoundingRect();return l.contain(a[0],a[1])},e.prototype.getPaintRect=function(){var n=this._paintRect;if(!this._paintRect||this.__dirty){var r=this.transform,a=this.getBoundingRect(),l=this.style,u=l.shadowBlur||0,f=l.shadowOffsetX||0,d=l.shadowOffsetY||0;n=this._paintRect||(this._paintRect=new Wt(0,0,0,0)),r?Wt.applyTransform(n,a,r):n.copy(a),(u||f||d)&&(n.width+=u*2+Math.abs(f),n.height+=u*2+Math.abs(d),n.x=Math.min(n.x,n.x+f-u),n.y=Math.min(n.y,n.y+d-u));var h=this.dirtyRectTolerance;n.isZero()||(n.x=Math.floor(n.x-h),n.y=Math.floor(n.y-h),n.width=Math.ceil(n.width+1+h*2),n.height=Math.ceil(n.height+1+h*2))}return n},e.prototype.setPrevPaintRect=function(n){n?(this._prevPaintRect=this._prevPaintRect||new Wt(0,0,0,0),this._prevPaintRect.copy(n)):this._prevPaintRect=null},e.prototype.getPrevPaintRect=function(){return this._prevPaintRect},e.prototype.animateStyle=function(n){return this.animate("style",n)},e.prototype.updateDuringAnimation=function(n){n==="style"?this.dirtyStyle():this.markRedraw()},e.prototype.attrKV=function(n,r){n!=="style"?t.prototype.attrKV.call(this,n,r):this.style?this.setStyle(r):this.useStyle(r)},e.prototype.setStyle=function(n,r){return typeof n=="string"?this.style[n]=r:Re(this.style,n),this.dirtyStyle(),this},e.prototype.dirtyStyle=function(n){n||this.markRedraw(),this.__dirty|=jp,this._rect&&(this._rect=null)},e.prototype.dirty=function(){this.dirtyStyle()},e.prototype.styleChanged=function(){return!!(this.__dirty&jp)},e.prototype.styleUpdated=function(){this.__dirty&=~jp},e.prototype.createStyle=function(n){return D0(tc,n)},e.prototype.useStyle=function(n){n[Yx]||(n=this.createStyle(n)),this.__inHover?this.__hoverStyle=n:this.style=n,this.dirtyStyle()},e.prototype.isStyleObject=function(n){return n[Yx]},e.prototype._innerSaveToNormal=function(n){t.prototype._innerSaveToNormal.call(this,n);var r=this._normalState;n.style&&!r.style&&(r.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(n,r,zO)},e.prototype._applyStateObj=function(n,r,a,l,u,f){t.prototype._applyStateObj.call(this,n,r,a,l,u,f);var d=!(r&&l),h;if(r&&r.style?u?l?h=r.style:(h=this._mergeStyle(this.createStyle(),a.style),this._mergeStyle(h,r.style)):(h=this._mergeStyle(this.createStyle(),l?this.style:a.style),this._mergeStyle(h,r.style)):d&&(h=a.style),h)if(u){var p=this.style;if(this.style=this.createStyle(d?{}:p),d)for(var m=kn(p),S=0;S<m.length;S++){var _=m[S];_ in h&&(h[_]=h[_],this.style[_]=p[_])}for(var x=kn(h),S=0;S<x.length;S++){var _=x[S];this.style[_]=this.style[_]}this._transitionState(n,{style:h},f,this.getAnimationStyleProps())}else this.useStyle(h);for(var E=this.__inHover?x6:zO,S=0;S<E.length;S++){var _=E[S];r&&r[_]!=null?this[_]=r[_]:d&&a[_]!=null&&(this[_]=a[_])}},e.prototype._mergeStates=function(n){for(var r=t.prototype._mergeStates.call(this,n),a,l=0;l<n.length;l++){var u=n[l];u.style&&(a=a||{},this._mergeStyle(a,u.style))}return a&&(r.style=a),r},e.prototype._mergeStyle=function(n,r){return Re(n,r),n},e.prototype.getAnimationStyleProps=function(){return e_},e.initDefaultProps=function(){var n=e.prototype;n.type="displayable",n.invisible=!1,n.z=0,n.z2=0,n.zlevel=0,n.culling=!1,n.cursor="pointer",n.rectHover=!1,n.incremental=!1,n._rect=null,n.dirtyRectTolerance=0,n.__dirty=La|jp}(),e}(oO),Wx=new Wt(0,0,0,0),Xx=new Wt(0,0,0,0);function b6(t,e,n){return Wx.copy(t.getBoundingRect()),t.transform&&Wx.applyTransform(t.transform),Xx.width=e,Xx.height=n,!Wx.intersect(Xx)}const sv=T6;var ra=Math.min,ia=Math.max,qx=Math.sin,Qx=Math.cos,nc=Math.PI*2,t_=Xd(),n_=Xd(),r_=Xd();function FO(t,e,n){if(t.length!==0){for(var r=t[0],a=r[0],l=r[0],u=r[1],f=r[1],d=1;d<t.length;d++)r=t[d],a=ra(a,r[0]),l=ia(l,r[0]),u=ra(u,r[1]),f=ia(f,r[1]);e[0]=a,e[1]=u,n[0]=l,n[1]=f}}function BO(t,e,n,r,a,l){a[0]=ra(t,n),a[1]=ra(e,r),l[0]=ia(t,n),l[1]=ia(e,r)}var UO=[],VO=[];function E6(t,e,n,r,a,l,u,f,d,h){var p=kL,m=Qr,S=p(t,n,a,u,UO);d[0]=1/0,d[1]=1/0,h[0]=-1/0,h[1]=-1/0;for(var _=0;_<S;_++){var x=m(t,n,a,u,UO[_]);d[0]=ra(x,d[0]),h[0]=ia(x,h[0])}S=p(e,r,l,f,VO);for(var _=0;_<S;_++){var E=m(e,r,l,f,VO[_]);d[1]=ra(E,d[1]),h[1]=ia(E,h[1])}d[0]=ra(t,d[0]),h[0]=ia(t,h[0]),d[0]=ra(u,d[0]),h[0]=ia(u,h[0]),d[1]=ra(e,d[1]),h[1]=ia(e,h[1]),d[1]=ra(f,d[1]),h[1]=ia(f,h[1])}function D6(t,e,n,r,a,l,u,f){var d=IL,h=fi,p=ia(ra(d(t,n,a),1),0),m=ia(ra(d(e,r,l),1),0),S=h(t,n,a,p),_=h(e,r,l,m);u[0]=ra(t,a,S),u[1]=ra(e,l,_),f[0]=ia(t,a,S),f[1]=ia(e,l,_)}function M6(t,e,n,r,a,l,u,f,d){var h=Qd,p=Zd,m=Math.abs(a-l);if(m%nc<1e-4&&m>1e-4){f[0]=t-n,f[1]=e-r,d[0]=t+n,d[1]=e+r;return}if(t_[0]=Qx(a)*n+t,t_[1]=qx(a)*r+e,n_[0]=Qx(l)*n+t,n_[1]=qx(l)*r+e,h(f,t_,n_),p(d,t_,n_),a=a%nc,a<0&&(a=a+nc),l=l%nc,l<0&&(l=l+nc),a>l&&!u?l+=nc:a<l&&u&&(a+=nc),u){var S=l;l=a,a=S}for(var _=0;_<l;_+=Math.PI/2)_>a&&(r_[0]=Qx(_)*n+t,r_[1]=qx(_)*r+e,h(f,r_,f),p(d,r_,d))}var nn={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},rc=[],ic=[],bl=[],Ms=[],El=[],Dl=[],Zx=Math.min,Kx=Math.max,ac=Math.cos,oc=Math.sin,wu=Math.abs,Jx=Math.PI,Rs=Jx*2,eT=typeof Float32Array<"u",og=[];function tT(t){var e=Math.round(t/Jx*1e8)/1e8;return e%2*Jx}function R6(t,e){var n=tT(t[0]);n<0&&(n+=Rs);var r=n-t[0],a=t[1];a+=r,!e&&a-n>=Rs?a=n+Rs:e&&n-a>=Rs?a=n-Rs:!e&&n>a?a=n+(Rs-tT(n-a)):e&&n<a&&(a=n-(Rs-tT(a-n))),t[0]=n,t[1]=a}var A6=function(){function t(e){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,e&&(this._saveData=!1),this._saveData&&(this.data=[])}return t.prototype.increaseVersion=function(){this._version++},t.prototype.getVersion=function(){return this._version},t.prototype.setScale=function(e,n,r){r=r||0,r>0&&(this._ux=wu(r/W0/e)||0,this._uy=wu(r/W0/n)||0)},t.prototype.setDPR=function(e){this.dpr=e},t.prototype.setContext=function(e){this._ctx=e},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(e,n){return this._drawPendingPt(),this.addData(nn.M,e,n),this._ctx&&this._ctx.moveTo(e,n),this._x0=e,this._y0=n,this._xi=e,this._yi=n,this},t.prototype.lineTo=function(e,n){var r=wu(e-this._xi),a=wu(n-this._yi),l=r>this._ux||a>this._uy;if(this.addData(nn.L,e,n),this._ctx&&l&&this._ctx.lineTo(e,n),l)this._xi=e,this._yi=n,this._pendingPtDist=0;else{var u=r*r+a*a;u>this._pendingPtDist&&(this._pendingPtX=e,this._pendingPtY=n,this._pendingPtDist=u)}return this},t.prototype.bezierCurveTo=function(e,n,r,a,l,u){return this._drawPendingPt(),this.addData(nn.C,e,n,r,a,l,u),this._ctx&&this._ctx.bezierCurveTo(e,n,r,a,l,u),this._xi=l,this._yi=u,this},t.prototype.quadraticCurveTo=function(e,n,r,a){return this._drawPendingPt(),this.addData(nn.Q,e,n,r,a),this._ctx&&this._ctx.quadraticCurveTo(e,n,r,a),this._xi=r,this._yi=a,this},t.prototype.arc=function(e,n,r,a,l,u){this._drawPendingPt(),og[0]=a,og[1]=l,R6(og,u),a=og[0],l=og[1];var f=l-a;return this.addData(nn.A,e,n,r,r,a,f,0,u?0:1),this._ctx&&this._ctx.arc(e,n,r,a,l,u),this._xi=ac(l)*r+e,this._yi=oc(l)*r+n,this},t.prototype.arcTo=function(e,n,r,a,l){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(e,n,r,a,l),this},t.prototype.rect=function(e,n,r,a){return this._drawPendingPt(),this._ctx&&this._ctx.rect(e,n,r,a),this.addData(nn.R,e,n,r,a),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(nn.Z);var e=this._ctx,n=this._x0,r=this._y0;return e&&e.closePath(),this._xi=n,this._yi=r,this},t.prototype.fill=function(e){e&&e.fill(),this.toStatic()},t.prototype.stroke=function(e){e&&e.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(e){var n=e.length;!(this.data&&this.data.length===n)&&eT&&(this.data=new Float32Array(n));for(var r=0;r<n;r++)this.data[r]=e[r];this._len=n},t.prototype.appendPath=function(e){e instanceof Array||(e=[e]);for(var n=e.length,r=0,a=this._len,l=0;l<n;l++)r+=e[l].len();eT&&this.data instanceof Float32Array&&(this.data=new Float32Array(a+r));for(var l=0;l<n;l++)for(var u=e[l].data,f=0;f<u.length;f++)this.data[a++]=u[f];this._len=a},t.prototype.addData=function(e,n,r,a,l,u,f,d,h){if(this._saveData){var p=this.data;this._len+arguments.length>p.length&&(this._expandData(),p=this.data);for(var m=0;m<arguments.length;m++)p[this._len++]=arguments[m]}},t.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var e=[],n=0;n<this._len;n++)e[n]=this.data[n];this.data=e}},t.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var e=this.data;e instanceof Array&&(e.length=this._len,eT&&this._len>11&&(this.data=new Float32Array(e)))}},t.prototype.getBoundingRect=function(){bl[0]=bl[1]=El[0]=El[1]=Number.MAX_VALUE,Ms[0]=Ms[1]=Dl[0]=Dl[1]=-Number.MAX_VALUE;var e=this.data,n=0,r=0,a=0,l=0,u;for(u=0;u<this._len;){var f=e[u++],d=u===1;switch(d&&(n=e[u],r=e[u+1],a=n,l=r),f){case nn.M:n=a=e[u++],r=l=e[u++],El[0]=a,El[1]=l,Dl[0]=a,Dl[1]=l;break;case nn.L:BO(n,r,e[u],e[u+1],El,Dl),n=e[u++],r=e[u++];break;case nn.C:E6(n,r,e[u++],e[u++],e[u++],e[u++],e[u],e[u+1],El,Dl),n=e[u++],r=e[u++];break;case nn.Q:D6(n,r,e[u++],e[u++],e[u],e[u+1],El,Dl),n=e[u++],r=e[u++];break;case nn.A:var h=e[u++],p=e[u++],m=e[u++],S=e[u++],_=e[u++],x=e[u++]+_;u+=1;var E=!e[u++];d&&(a=ac(_)*m+h,l=oc(_)*S+p),M6(h,p,m,S,_,x,E,El,Dl),n=ac(x)*m+h,r=oc(x)*S+p;break;case nn.R:a=n=e[u++],l=r=e[u++];var b=e[u++],D=e[u++];BO(a,l,a+b,l+D,El,Dl);break;case nn.Z:n=a,r=l;break}Qd(bl,bl,El),Zd(Ms,Ms,Dl)}return u===0&&(bl[0]=bl[1]=Ms[0]=Ms[1]=0),new Wt(bl[0],bl[1],Ms[0]-bl[0],Ms[1]-bl[1])},t.prototype._calculateLength=function(){var e=this.data,n=this._len,r=this._ux,a=this._uy,l=0,u=0,f=0,d=0;this._pathSegLen||(this._pathSegLen=[]);for(var h=this._pathSegLen,p=0,m=0,S=0;S<n;){var _=e[S++],x=S===1;x&&(l=e[S],u=e[S+1],f=l,d=u);var E=-1;switch(_){case nn.M:l=f=e[S++],u=d=e[S++];break;case nn.L:{var b=e[S++],D=e[S++],A=b-l,O=D-u;(wu(A)>r||wu(O)>a||S===n-1)&&(E=Math.sqrt(A*A+O*O),l=b,u=D);break}case nn.C:{var P=e[S++],I=e[S++],b=e[S++],D=e[S++],F=e[S++],U=e[S++];E=XH(l,u,P,I,b,D,F,U,10),l=F,u=U;break}case nn.Q:{var P=e[S++],I=e[S++],b=e[S++],D=e[S++];E=QH(l,u,P,I,b,D,10),l=b,u=D;break}case nn.A:var H=e[S++],j=e[S++],X=e[S++],G=e[S++],ee=e[S++],J=e[S++],ie=J+ee;S+=1,e[S++],x&&(f=ac(ee)*X+H,d=oc(ee)*G+j),E=Kx(X,G)*Zx(Rs,Math.abs(J)),l=ac(ie)*X+H,u=oc(ie)*G+j;break;case nn.R:{f=l=e[S++],d=u=e[S++];var ce=e[S++],fe=e[S++];E=ce*2+fe*2;break}case nn.Z:{var A=f-l,O=d-u;E=Math.sqrt(A*A+O*O),l=f,u=d;break}}E>=0&&(h[m++]=E,p+=E)}return this._pathLen=p,p},t.prototype.rebuildPath=function(e,n){var r=this.data,a=this._ux,l=this._uy,u=this._len,f,d,h,p,m,S,_=n<1,x,E,b=0,D=0,A,O=0,P,I;if(_&&(this._pathSegLen||this._calculateLength(),x=this._pathSegLen,E=this._pathLen,A=n*E,!A))return;e:for(var F=0;F<u;){var U=r[F++],H=F===1;switch(H&&(h=r[F],p=r[F+1],f=h,d=p),U!==nn.L&&O>0&&(e.lineTo(P,I),O=0),U){case nn.M:f=h=r[F++],d=p=r[F++],e.moveTo(h,p);break;case nn.L:{m=r[F++],S=r[F++];var j=wu(m-h),X=wu(S-p);if(j>a||X>l){if(_){var G=x[D++];if(b+G>A){var ee=(A-b)/G;e.lineTo(h*(1-ee)+m*ee,p*(1-ee)+S*ee);break e}b+=G}e.lineTo(m,S),h=m,p=S,O=0}else{var J=j*j+X*X;J>O&&(P=m,I=S,O=J)}break}case nn.C:{var ie=r[F++],ce=r[F++],fe=r[F++],Ne=r[F++],ae=r[F++],ge=r[F++];if(_){var G=x[D++];if(b+G>A){var ee=(A-b)/G;Es(h,ie,fe,ae,ee,rc),Es(p,ce,Ne,ge,ee,ic),e.bezierCurveTo(rc[1],ic[1],rc[2],ic[2],rc[3],ic[3]);break e}b+=G}e.bezierCurveTo(ie,ce,fe,Ne,ae,ge),h=ae,p=ge;break}case nn.Q:{var ie=r[F++],ce=r[F++],fe=r[F++],Ne=r[F++];if(_){var G=x[D++];if(b+G>A){var ee=(A-b)/G;z0(h,ie,fe,ee,rc),z0(p,ce,Ne,ee,ic),e.quadraticCurveTo(rc[1],ic[1],rc[2],ic[2]);break e}b+=G}e.quadraticCurveTo(ie,ce,fe,Ne),h=fe,p=Ne;break}case nn.A:var pe=r[F++],Le=r[F++],Ge=r[F++],St=r[F++],It=r[F++],Dn=r[F++],Xt=r[F++],Mn=!r[F++],on=Ge>St?Ge:St,zt=wu(Ge-St)>.001,Ft=It+Dn,$e=!1;if(_){var G=x[D++];b+G>A&&(Ft=It+Dn*(A-b)/G,$e=!0),b+=G}if(zt&&e.ellipse?e.ellipse(pe,Le,Ge,St,Xt,It,Ft,Mn):e.arc(pe,Le,on,It,Ft,Mn),$e)break e;H&&(f=ac(It)*Ge+pe,d=oc(It)*St+Le),h=ac(Ft)*Ge+pe,p=oc(Ft)*St+Le;break;case nn.R:f=h=r[F],d=p=r[F+1],m=r[F++],S=r[F++];var Se=r[F++],Zt=r[F++];if(_){var G=x[D++];if(b+G>A){var Et=A-b;e.moveTo(m,S),e.lineTo(m+Zx(Et,Se),S),Et-=Se,Et>0&&e.lineTo(m+Se,S+Zx(Et,Zt)),Et-=Zt,Et>0&&e.lineTo(m+Kx(Se-Et,0),S+Zt),Et-=Se,Et>0&&e.lineTo(m,S+Kx(Zt-Et,0));break e}b+=G}e.rect(m,S,Se,Zt);break;case nn.Z:if(_){var G=x[D++];if(b+G>A){var ee=(A-b)/G;e.lineTo(h*(1-ee)+f*ee,p*(1-ee)+d*ee);break e}b+=G}e.closePath(),h=f,p=d}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.CMD=nn,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}();const As=A6;function fv(t,e,n,r,a,l,u){if(a===0)return!1;var f=a,d=0,h=t;if(u>e+f&&u>r+f||u<e-f&&u<r-f||l>t+f&&l>n+f||l<t-f&&l<n-f)return!1;if(t!==n)d=(e-r)/(t-n),h=(t*r-n*e)/(t-n);else return Math.abs(l-t)<=f/2;var p=d*l-u+h,m=p*p/(d*d+1);return m<=f/2*f/2}function L6(t,e,n,r,a,l,u,f,d,h,p){if(d===0)return!1;var m=d;if(p>e+m&&p>r+m&&p>l+m&&p>f+m||p<e-m&&p<r-m&&p<l-m&&p<f-m||h>t+m&&h>n+m&&h>a+m&&h>u+m||h<t-m&&h<n-m&&h<a-m&&h<u-m)return!1;var S=NL(t,e,n,r,a,l,u,f,h,p,null);return S<=m/2}function O6(t,e,n,r,a,l,u,f,d){if(u===0)return!1;var h=u;if(d>e+h&&d>r+h&&d>l+h||d<e-h&&d<r-h&&d<l-h||f>t+h&&f>n+h&&f>a+h||f<t-h&&f<n-h&&f<a-h)return!1;var p=zL(t,e,n,r,a,l,f,d,null);return p<=h/2}var HO=Math.PI*2;function Ls(t){return t%=HO,t<0&&(t+=HO),t}var lg=Math.PI*2;function k6(t,e,n,r,a,l,u,f,d){if(u===0)return!1;var h=u;f-=t,d-=e;var p=Math.sqrt(f*f+d*d);if(p-h>n||p+h<n)return!1;if(Math.abs(r-a)%lg<1e-4)return!0;if(l){var m=r;r=Ls(a),a=Ls(m)}else r=Ls(r),a=Ls(a);r>a&&(a+=lg);var S=Math.atan2(d,f);return S<0&&(S+=lg),S>=r&&S<=a||S+lg>=r&&S+lg<=a}function lc(t,e,n,r,a,l){if(l>e&&l>r||l<e&&l<r||r===e)return 0;var u=(l-e)/(r-e),f=r<e?1:-1;(u===1||u===0)&&(f=r<e?.5:-.5);var d=u*(n-t)+t;return d===a?1/0:d>a?f:0}var Os=As.CMD,uc=Math.PI*2,N6=1e-4;function P6(t,e){return Math.abs(t-e)<N6}var Li=[-1,-1,-1],ao=[-1,-1];function I6(){var t=ao[0];ao[0]=ao[1],ao[1]=t}function z6(t,e,n,r,a,l,u,f,d,h){if(h>e&&h>r&&h>l&&h>f||h<e&&h<r&&h<l&&h<f)return 0;var p=OL(e,r,l,f,h,Li);if(p===0)return 0;for(var m=0,S=-1,_=void 0,x=void 0,E=0;E<p;E++){var b=Li[E],D=b===0||b===1?.5:1,A=Qr(t,n,a,u,b);A<d||(S<0&&(S=kL(e,r,l,f,ao),ao[1]<ao[0]&&S>1&&I6(),_=Qr(e,r,l,f,ao[0]),S>1&&(x=Qr(e,r,l,f,ao[1]))),S===2?b<ao[0]?m+=_<e?D:-D:b<ao[1]?m+=x<_?D:-D:m+=f<x?D:-D:b<ao[0]?m+=_<e?D:-D:m+=f<_?D:-D)}return m}function F6(t,e,n,r,a,l,u,f){if(f>e&&f>r&&f>l||f<e&&f<r&&f<l)return 0;var d=qH(e,r,l,f,Li);if(d===0)return 0;var h=IL(e,r,l);if(h>=0&&h<=1){for(var p=0,m=fi(e,r,l,h),S=0;S<d;S++){var _=Li[S]===0||Li[S]===1?.5:1,x=fi(t,n,a,Li[S]);x<u||(Li[S]<h?p+=m<e?_:-_:p+=l<m?_:-_)}return p}else{var _=Li[0]===0||Li[0]===1?.5:1,x=fi(t,n,a,Li[0]);return x<u?0:l<e?_:-_}}function B6(t,e,n,r,a,l,u,f){if(f-=e,f>n||f<-n)return 0;var d=Math.sqrt(n*n-f*f);Li[0]=-d,Li[1]=d;var h=Math.abs(r-a);if(h<1e-4)return 0;if(h>=uc-1e-4){r=0,a=uc;var p=l?1:-1;return u>=Li[0]+t&&u<=Li[1]+t?p:0}if(r>a){var m=r;r=a,a=m}r<0&&(r+=uc,a+=uc);for(var S=0,_=0;_<2;_++){var x=Li[_];if(x+t>u){var E=Math.atan2(f,x),p=l?1:-1;E<0&&(E=uc+E),(E>=r&&E<=a||E+uc>=r&&E+uc<=a)&&(E>Math.PI/2&&E<Math.PI*1.5&&(p=-p),S+=p)}}return S}function GO(t,e,n,r,a){for(var l=t.data,u=t.len(),f=0,d=0,h=0,p=0,m=0,S,_,x=0;x<u;){var E=l[x++],b=x===1;switch(E===Os.M&&x>1&&(n||(f+=lc(d,h,p,m,r,a))),b&&(d=l[x],h=l[x+1],p=d,m=h),E){case Os.M:p=l[x++],m=l[x++],d=p,h=m;break;case Os.L:if(n){if(fv(d,h,l[x],l[x+1],e,r,a))return!0}else f+=lc(d,h,l[x],l[x+1],r,a)||0;d=l[x++],h=l[x++];break;case Os.C:if(n){if(L6(d,h,l[x++],l[x++],l[x++],l[x++],l[x],l[x+1],e,r,a))return!0}else f+=z6(d,h,l[x++],l[x++],l[x++],l[x++],l[x],l[x+1],r,a)||0;d=l[x++],h=l[x++];break;case Os.Q:if(n){if(O6(d,h,l[x++],l[x++],l[x],l[x+1],e,r,a))return!0}else f+=F6(d,h,l[x++],l[x++],l[x],l[x+1],r,a)||0;d=l[x++],h=l[x++];break;case Os.A:var D=l[x++],A=l[x++],O=l[x++],P=l[x++],I=l[x++],F=l[x++];x+=1;var U=!!(1-l[x++]);S=Math.cos(I)*O+D,_=Math.sin(I)*P+A,b?(p=S,m=_):f+=lc(d,h,S,_,r,a);var H=(r-D)*P/O+D;if(n){if(k6(D,A,P,I,I+F,U,e,H,a))return!0}else f+=B6(D,A,P,I,I+F,U,H,a);d=Math.cos(I+F)*O+D,h=Math.sin(I+F)*P+A;break;case Os.R:p=d=l[x++],m=h=l[x++];var j=l[x++],X=l[x++];if(S=p+j,_=m+X,n){if(fv(p,m,S,m,e,r,a)||fv(S,m,S,_,e,r,a)||fv(S,_,p,_,e,r,a)||fv(p,_,p,m,e,r,a))return!0}else f+=lc(S,m,S,_,r,a),f+=lc(p,_,p,m,r,a);break;case Os.Z:if(n){if(fv(d,h,p,m,e,r,a))return!0}else f+=lc(d,h,p,m,r,a);d=p,h=m;break}}return!n&&!P6(h,m)&&(f+=lc(d,h,p,m,r,a)||0),f!==0}function U6(t,e,n){return GO(t,0,!1,e,n)}function V6(t,e,n,r){return GO(t,e,!0,n,r)}var $O=Vt({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},tc),H6={style:Vt({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},e_.style)},nT=Zp.concat(["invisible","culling","z","z2","zlevel","parent"]),G6=function(t){mn(e,t);function e(n){return t.call(this,n)||this}return e.prototype.update=function(){var n=this;t.prototype.update.call(this);var r=this.style;if(r.decal){var a=this._decalEl=this._decalEl||new e;a.buildPath===e.prototype.buildPath&&(a.buildPath=function(d){n.buildPath(d,n.shape)}),a.silent=!0;var l=a.style;for(var u in r)l[u]!==r[u]&&(l[u]=r[u]);l.fill=r.fill?r.decal:null,l.decal=null,l.shadowColor=null,r.strokeFirst&&(l.stroke=null);for(var f=0;f<nT.length;++f)a[nT[f]]=this[nT[f]];a.__dirty|=La}else this._decalEl&&(this._decalEl=null)},e.prototype.getDecalElement=function(){return this._decalEl},e.prototype._init=function(n){var r=kn(n);this.shape=this.getDefaultShape();var a=this.getDefaultStyle();a&&this.useStyle(a);for(var l=0;l<r.length;l++){var u=r[l],f=n[u];u==="style"?this.style?Re(this.style,f):this.useStyle(f):u==="shape"?Re(this.shape,f):t.prototype.attrKV.call(this,u,f)}this.style||this.useStyle({})},e.prototype.getDefaultStyle=function(){return null},e.prototype.getDefaultShape=function(){return{}},e.prototype.canBeInsideText=function(){return this.hasFill()},e.prototype.getInsideTextFill=function(){var n=this.style.fill;if(n!=="none"){if(et(n)){var r=B0(n,0);return r>.5?Mx:r>.2?S4:Rx}else if(n)return Rx}return Mx},e.prototype.getInsideTextStroke=function(n){var r=this.style.fill;if(et(r)){var a=this.__zr,l=!!(a&&a.isDarkMode()),u=B0(n,0)<Dx;if(l===u)return r}},e.prototype.buildPath=function(n,r,a){},e.prototype.pathUpdated=function(){this.__dirty&=~ev},e.prototype.getUpdatedPathProxy=function(n){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,n),this.path},e.prototype.createPathProxy=function(){this.path=new As(!1)},e.prototype.hasStroke=function(){var n=this.style,r=n.stroke;return!(r==null||r==="none"||!(n.lineWidth>0))},e.prototype.hasFill=function(){var n=this.style,r=n.fill;return r!=null&&r!=="none"},e.prototype.getBoundingRect=function(){var n=this._rect,r=this.style,a=!n;if(a){var l=!1;this.path||(l=!0,this.createPathProxy());var u=this.path;(l||this.__dirty&ev)&&(u.beginPath(),this.buildPath(u,this.shape,!1),this.pathUpdated()),n=u.getBoundingRect()}if(this._rect=n,this.hasStroke()&&this.path&&this.path.len()>0){var f=this._rectStroke||(this._rectStroke=n.clone());if(this.__dirty||a){f.copy(n);var d=r.strokeNoScale?this.getLineScale():1,h=r.lineWidth;if(!this.hasFill()){var p=this.strokeContainThreshold;h=Math.max(h,p??4)}d>1e-10&&(f.width+=h/d,f.height+=h/d,f.x-=h/d/2,f.y-=h/d/2)}return f}return n},e.prototype.contain=function(n,r){var a=this.transformCoordToLocal(n,r),l=this.getBoundingRect(),u=this.style;if(n=a[0],r=a[1],l.contain(n,r)){var f=this.path;if(this.hasStroke()){var d=u.lineWidth,h=u.strokeNoScale?this.getLineScale():1;if(h>1e-10&&(this.hasFill()||(d=Math.max(d,this.strokeContainThreshold)),V6(f,d/h,n,r)))return!0}if(this.hasFill())return U6(f,n,r)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=ev,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(n){return this.animate("shape",n)},e.prototype.updateDuringAnimation=function(n){n==="style"?this.dirtyStyle():n==="shape"?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(n,r){n==="shape"?this.setShape(r):t.prototype.attrKV.call(this,n,r)},e.prototype.setShape=function(n,r){var a=this.shape;return a||(a=this.shape={}),typeof n=="string"?a[n]=r:Re(a,n),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&ev)},e.prototype.createStyle=function(n){return D0($O,n)},e.prototype._innerSaveToNormal=function(n){t.prototype._innerSaveToNormal.call(this,n);var r=this._normalState;n.shape&&!r.shape&&(r.shape=Re({},this.shape))},e.prototype._applyStateObj=function(n,r,a,l,u,f){t.prototype._applyStateObj.call(this,n,r,a,l,u,f);var d=!(r&&l),h;if(r&&r.shape?u?l?h=r.shape:(h=Re({},a.shape),Re(h,r.shape)):(h=Re({},l?this.shape:a.shape),Re(h,r.shape)):d&&(h=a.shape),h)if(u){this.shape=Re({},this.shape);for(var p={},m=kn(h),S=0;S<m.length;S++){var _=m[S];typeof h[_]=="object"?this.shape[_]=h[_]:p[_]=h[_]}this._transitionState(n,{shape:p},f)}else this.shape=h,this.dirtyShape()},e.prototype._mergeStates=function(n){for(var r=t.prototype._mergeStates.call(this,n),a,l=0;l<n.length;l++){var u=n[l];u.shape&&(a=a||{},this._mergeStyle(a,u.shape))}return a&&(r.shape=a),r},e.prototype.getAnimationStyleProps=function(){return H6},e.prototype.isZeroArea=function(){return!1},e.extend=function(n){var r=function(l){mn(u,l);function u(f){var d=l.call(this,f)||this;return n.init&&n.init.call(d,f),d}return u.prototype.getDefaultStyle=function(){return Qt(n.style)},u.prototype.getDefaultShape=function(){return Qt(n.shape)},u}(e);for(var a in n)typeof n[a]=="function"&&(r.prototype[a]=n[a]);return r},e.initDefaultProps=function(){var n=e.prototype;n.type="path",n.strokeContainThreshold=5,n.segmentIgnoreThreshold=0,n.subPixelOptimize=!1,n.autoBatch=!1,n.__dirty=La|jp|ev}(),e}(sv);const Gt=G6;var $6=Vt({strokeFirst:!0,font:Gf,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},$O),jO=function(t){mn(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.hasStroke=function(){var n=this.style,r=n.stroke;return r!=null&&r!=="none"&&n.lineWidth>0},e.prototype.hasFill=function(){var n=this.style,r=n.fill;return r!=null&&r!=="none"},e.prototype.createStyle=function(n){return D0($6,n)},e.prototype.setBoundingRect=function(n){this._rect=n},e.prototype.getBoundingRect=function(){var n=this.style;if(!this._rect){var r=n.text;r!=null?r+="":r="";var a=Ox(r,n.font,n.textAlign,n.textBaseline);if(a.x+=n.x||0,a.y+=n.y||0,this.hasStroke()){var l=n.lineWidth;a.x-=l/2,a.y-=l/2,a.width+=l,a.height+=l}this._rect=a}return this._rect},e.initDefaultProps=function(){var n=e.prototype;n.dirtyRectTolerance=10}(),e}(sv);jO.prototype.type="tspan";const rT=jO;var j6=Vt({x:0,y:0},tc),Y6={style:Vt({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},e_.style)};function W6(t){return!!(t&&typeof t!="string"&&t.width&&t.height)}var YO=function(t){mn(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.createStyle=function(n){return D0(j6,n)},e.prototype._getSize=function(n){var r=this.style,a=r[n];if(a!=null)return a;var l=W6(r.image)?r.image:this.__image;if(!l)return 0;var u=n==="width"?"height":"width",f=r[u];return f==null?l[n]:l[n]/l[u]*f},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return Y6},e.prototype.getBoundingRect=function(){var n=this.style;return this._rect||(this._rect=new Wt(n.x||0,n.y||0,this.getWidth(),this.getHeight())),this._rect},e}(sv);YO.prototype.type="image";const cv=YO;function X6(t,e){var n=e.x,r=e.y,a=e.width,l=e.height,u=e.r,f,d,h,p;a<0&&(n=n+a,a=-a),l<0&&(r=r+l,l=-l),typeof u=="number"?f=d=h=p=u:u instanceof Array?u.length===1?f=d=h=p=u[0]:u.length===2?(f=h=u[0],d=p=u[1]):u.length===3?(f=u[0],d=p=u[1],h=u[2]):(f=u[0],d=u[1],h=u[2],p=u[3]):f=d=h=p=0;var m;f+d>a&&(m=f+d,f*=a/m,d*=a/m),h+p>a&&(m=h+p,h*=a/m,p*=a/m),d+h>l&&(m=d+h,d*=l/m,h*=l/m),f+p>l&&(m=f+p,f*=l/m,p*=l/m),t.moveTo(n+f,r),t.lineTo(n+a-d,r),d!==0&&t.arc(n+a-d,r+d,d,-Math.PI/2,0),t.lineTo(n+a,r+l-h),h!==0&&t.arc(n+a-h,r+l-h,h,0,Math.PI/2),t.lineTo(n+p,r+l),p!==0&&t.arc(n+p,r+l-p,p,Math.PI/2,Math.PI),t.lineTo(n,r+f),f!==0&&t.arc(n+f,r+f,f,Math.PI,Math.PI*1.5)}var dv=Math.round;function WO(t,e,n){if(e){var r=e.x1,a=e.x2,l=e.y1,u=e.y2;t.x1=r,t.x2=a,t.y1=l,t.y2=u;var f=n&&n.lineWidth;return f&&(dv(r*2)===dv(a*2)&&(t.x1=t.x2=sc(r,f,!0)),dv(l*2)===dv(u*2)&&(t.y1=t.y2=sc(l,f,!0))),t}}function XO(t,e,n){if(e){var r=e.x,a=e.y,l=e.width,u=e.height;t.x=r,t.y=a,t.width=l,t.height=u;var f=n&&n.lineWidth;return f&&(t.x=sc(r,f,!0),t.y=sc(a,f,!0),t.width=Math.max(sc(r+l,f,!1)-t.x,l===0?0:1),t.height=Math.max(sc(a+u,f,!1)-t.y,u===0?0:1)),t}}function sc(t,e,n){if(!e)return t;var r=dv(t*2);return(r+dv(e))%2===0?r/2:(r+(n?1:-1))/2}var q6=function(){function t(){this.x=0,this.y=0,this.width=0,this.height=0}return t}(),Q6={},qO=function(t){mn(e,t);function e(n){return t.call(this,n)||this}return e.prototype.getDefaultShape=function(){return new q6},e.prototype.buildPath=function(n,r){var a,l,u,f;if(this.subPixelOptimize){var d=XO(Q6,r,this.style);a=d.x,l=d.y,u=d.width,f=d.height,d.r=r.r,r=d}else a=r.x,l=r.y,u=r.width,f=r.height;r.r?X6(n,r):n.rect(a,l,u,f)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(Gt);qO.prototype.type="rect";const Kr=qO;var QO={fill:"#000"},ZO=2,Z6={style:Vt({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},e_.style)},KO=function(t){mn(e,t);function e(n){var r=t.call(this)||this;return r.type="text",r._children=[],r._defaultStyle=QO,r.attr(n),r}return e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var n=0;n<this._children.length;n++){var r=this._children[n];r.zlevel=this.zlevel,r.z=this.z,r.z2=this.z2,r.culling=this.culling,r.cursor=this.cursor,r.invisible=this.invisible}},e.prototype.updateTransform=function(){var n=this.innerTransformable;n?(n.updateTransform(),n.transform&&(this.transform=n.transform)):t.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(n){var r=this.innerTransformable;return r?r.getLocalTransform(n):t.prototype.getLocalTransform.call(this,n)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){this._childCursor=0,n8(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(n){t.prototype.addSelfToZr.call(this,n);for(var r=0;r<this._children.length;r++)this._children[r].__zr=n},e.prototype.removeSelfFromZr=function(n){t.prototype.removeSelfFromZr.call(this,n);for(var r=0;r<this._children.length;r++)this._children[r].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var n=new Wt(0,0,0,0),r=this._children,a=[],l=null,u=0;u<r.length;u++){var f=r[u],d=f.getBoundingRect(),h=f.getLocalTransform(a);h?(n.copy(d),n.applyTransform(h),l=l||n.clone(),l.union(n)):(l=l||d.clone(),l.union(d))}this._rect=l||n}return this._rect},e.prototype.setDefaultTextStyle=function(n){this._defaultStyle=n||QO},e.prototype.setTextContent=function(n){if(process.env.NODE_ENV!=="production")throw new Error("Can't attach text on another text")},e.prototype._mergeStyle=function(n,r){if(!r)return n;var a=r.rich,l=n.rich||a&&{};return Re(n,r),a&&l?(this._mergeRich(l,a),n.rich=l):l&&(n.rich=l),n},e.prototype._mergeRich=function(n,r){for(var a=kn(r),l=0;l<a.length;l++){var u=a[l];n[u]=n[u]||{},Re(n[u],r[u])}},e.prototype.getAnimationStyleProps=function(){return Z6},e.prototype._getOrCreateChild=function(n){var r=this._children[this._childCursor];return(!r||!(r instanceof n))&&(r=new n),this._children[this._childCursor++]=r,r.__zr=this.__zr,r.parent=this,r},e.prototype._updatePlainTexts=function(){var n=this.style,r=n.font||Gf,a=n.padding,l=a2(n),u=g6(l,n),f=iT(n),d=!!n.backgroundColor,h=u.outerHeight,p=u.outerWidth,m=u.contentWidth,S=u.lines,_=u.lineHeight,x=this._defaultStyle,E=n.x||0,b=n.y||0,D=n.align||x.align||"left",A=n.verticalAlign||x.verticalAlign||"top",O=E,P=ov(b,u.contentHeight,A);if(f||a){var I=Jp(E,p,D),F=ov(b,h,A);f&&this._renderBackground(n,n,I,F,p,h)}P+=_/2,a&&(O=i2(E,D,a),A==="top"?P+=a[0]:A==="bottom"&&(P-=a[2]));for(var U=0,H=!1,j=r2("fill"in n?n.fill:(H=!0,x.fill)),X=n2("stroke"in n?n.stroke:!d&&(!x.autoStroke||H)?(U=ZO,x.stroke):null),G=n.textShadowBlur>0,ee=n.width!=null&&(n.overflow==="truncate"||n.overflow==="break"||n.overflow==="breakAll"),J=u.calculatedLineHeight,ie=0;ie<S.length;ie++){var ce=this._getOrCreateChild(rT),fe=ce.createStyle();ce.useStyle(fe),fe.text=S[ie],fe.x=O,fe.y=P,D&&(fe.textAlign=D),fe.textBaseline="middle",fe.opacity=n.opacity,fe.strokeFirst=!0,G&&(fe.shadowBlur=n.textShadowBlur||0,fe.shadowColor=n.textShadowColor||"transparent",fe.shadowOffsetX=n.textShadowOffsetX||0,fe.shadowOffsetY=n.textShadowOffsetY||0),fe.stroke=X,fe.fill=j,X&&(fe.lineWidth=n.lineWidth||U,fe.lineDash=n.lineDash,fe.lineDashOffset=n.lineDashOffset||0),fe.font=r,e2(fe,n),P+=_,ee&&ce.setBoundingRect(new Wt(Jp(fe.x,n.width,fe.textAlign),ov(fe.y,J,fe.textBaseline),m,J))}},e.prototype._updateRichTexts=function(){var n=this.style,r=a2(n),a=_6(r,n),l=a.width,u=a.outerWidth,f=a.outerHeight,d=n.padding,h=n.x||0,p=n.y||0,m=this._defaultStyle,S=n.align||m.align,_=n.verticalAlign||m.verticalAlign,x=Jp(h,u,S),E=ov(p,f,_),b=x,D=E;d&&(b+=d[3],D+=d[0]);var A=b+l;iT(n)&&this._renderBackground(n,n,x,E,u,f);for(var O=!!n.backgroundColor,P=0;P<a.lines.length;P++){for(var I=a.lines[P],F=I.tokens,U=F.length,H=I.lineHeight,j=I.width,X=0,G=b,ee=A,J=U-1,ie=void 0;X<U&&(ie=F[X],!ie.align||ie.align==="left");)this._placeToken(ie,n,H,D,G,"left",O),j-=ie.width,G+=ie.width,X++;for(;J>=0&&(ie=F[J],ie.align==="right");)this._placeToken(ie,n,H,D,ee,"right",O),j-=ie.width,ee-=ie.width,J--;for(G+=(l-(G-b)-(A-ee)-j)/2;X<=J;)ie=F[X],this._placeToken(ie,n,H,D,G+ie.width/2,"center",O),G+=ie.width,X++;D+=H}},e.prototype._placeToken=function(n,r,a,l,u,f,d){var h=r.rich[n.styleName]||{};h.text=n.text;var p=n.verticalAlign,m=l+a/2;p==="top"?m=l+n.height/2:p==="bottom"&&(m=l+a-n.height/2);var S=!n.isLineHolder&&iT(h);S&&this._renderBackground(h,r,f==="right"?u-n.width:f==="center"?u-n.width/2:u,m-n.height/2,n.width,n.height);var _=!!h.backgroundColor,x=n.textPadding;x&&(u=i2(u,f,x),m-=n.height/2-x[0]-n.innerHeight/2);var E=this._getOrCreateChild(rT),b=E.createStyle();E.useStyle(b);var D=this._defaultStyle,A=!1,O=0,P=r2("fill"in h?h.fill:"fill"in r?r.fill:(A=!0,D.fill)),I=n2("stroke"in h?h.stroke:"stroke"in r?r.stroke:!_&&!d&&(!D.autoStroke||A)?(O=ZO,D.stroke):null),F=h.textShadowBlur>0||r.textShadowBlur>0;b.text=n.text,b.x=u,b.y=m,F&&(b.shadowBlur=h.textShadowBlur||r.textShadowBlur||0,b.shadowColor=h.textShadowColor||r.textShadowColor||"transparent",b.shadowOffsetX=h.textShadowOffsetX||r.textShadowOffsetX||0,b.shadowOffsetY=h.textShadowOffsetY||r.textShadowOffsetY||0),b.textAlign=f,b.textBaseline="middle",b.font=n.font||Gf,b.opacity=Wd(h.opacity,r.opacity,1),e2(b,h),I&&(b.lineWidth=Wd(h.lineWidth,r.lineWidth,O),b.lineDash=kt(h.lineDash,r.lineDash),b.lineDashOffset=r.lineDashOffset||0,b.stroke=I),P&&(b.fill=P);var U=n.contentWidth,H=n.contentHeight;E.setBoundingRect(new Wt(Jp(b.x,U,b.textAlign),ov(b.y,H,b.textBaseline),U,H))},e.prototype._renderBackground=function(n,r,a,l,u,f){var d=n.backgroundColor,h=n.borderWidth,p=n.borderColor,m=d&&d.image,S=d&&!m,_=n.borderRadius,x=this,E,b;if(S||n.lineHeight||h&&p){E=this._getOrCreateChild(Kr),E.useStyle(E.createStyle()),E.style.fill=null;var D=E.shape;D.x=a,D.y=l,D.width=u,D.height=f,D.r=_,E.dirtyShape()}if(S){var A=E.style;A.fill=d||null,A.fillOpacity=kt(n.fillOpacity,1)}else if(m){b=this._getOrCreateChild(cv),b.onload=function(){x.dirtyStyle()};var O=b.style;O.image=d.image,O.x=a,O.y=l,O.width=u,O.height=f}if(h&&p){var A=E.style;A.lineWidth=h,A.stroke=p,A.strokeOpacity=kt(n.strokeOpacity,1),A.lineDash=n.borderDash,A.lineDashOffset=n.borderDashOffset||0,E.strokeContainThreshold=0,E.hasFill()&&E.hasStroke()&&(A.strokeFirst=!0,A.lineWidth*=2)}var P=(E||b).style;P.shadowBlur=n.shadowBlur||0,P.shadowColor=n.shadowColor||"transparent",P.shadowOffsetX=n.shadowOffsetX||0,P.shadowOffsetY=n.shadowOffsetY||0,P.opacity=Wd(n.opacity,r.opacity,1)},e.makeFont=function(n){var r="";return t8(n)&&(r=[n.fontStyle,n.fontWeight,e8(n.fontSize),n.fontFamily||"sans-serif"].join(" ")),r&&yl(r)||n.textFont||n.font},e}(sv),K6={left:!0,right:1,center:1},J6={top:1,bottom:1,middle:1},JO=["fontStyle","fontWeight","fontSize","fontFamily"];function e8(t){return typeof t=="string"&&(t.indexOf("px")!==-1||t.indexOf("rem")!==-1||t.indexOf("em")!==-1)?t:isNaN(+t)?Gw+"px":t+"px"}function e2(t,e){for(var n=0;n<JO.length;n++){var r=JO[n],a=e[r];a!=null&&(t[r]=a)}}function t8(t){return t.fontSize!=null||t.fontFamily||t.fontWeight}function n8(t){return t2(t),W(t.rich,t2),t}function t2(t){if(t){t.font=KO.makeFont(t);var e=t.align;e==="middle"&&(e="center"),t.align=e==null||K6[e]?e:"left";var n=t.verticalAlign;n==="center"&&(n="middle"),t.verticalAlign=n==null||J6[n]?n:"top";var r=t.padding;r&&(t.padding=oL(t.padding))}}function n2(t,e){return t==null||e<=0||t==="transparent"||t==="none"?null:t.image||t.colorStops?"#000":t}function r2(t){return t==null||t==="none"?null:t.image||t.colorStops?"#000":t}function i2(t,e,n){return e==="right"?t-n[1]:e==="center"?t+n[3]/2-n[1]/2:t+n[3]}function a2(t){var e=t.text;return e!=null&&(e+=""),e}function iT(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}const ko=KO;var yn=jn(),r8=function(t,e,n,r){if(r){var a=yn(r);a.dataIndex=n,a.dataType=e,a.seriesIndex=t,r.type==="group"&&r.traverse(function(l){var u=yn(l);u.seriesIndex=t,u.dataIndex=n,u.dataType=e})}},o2=1,l2={},u2=jn(),aT=jn(),s2=0,oT=1,lT=2,Ml=["emphasis","blur","select"],i_=["normal","emphasis","blur","select"],i8=10,a8=9,fc="highlight",a_="downplay",ug="select",o_="unselect",sg="toggleSelect";function vv(t){return t!=null&&t!=="none"}var f2=new Yp(100);function c2(t){if(et(t)){var e=f2.get(t);return e||(e=$L(t,-.1),f2.put(t,e)),e}else if(b0(t)){var n=Re({},t);return n.colorStops=ot(t.colorStops,function(r){return{offset:r.offset,color:$L(r.color,-.1)}}),n}return t}function l_(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHoverStateChange(e),t.hoverState=n}function d2(t){l_(t,"emphasis",lT)}function v2(t){t.hoverState===lT&&l_(t,"normal",s2)}function uT(t){l_(t,"blur",oT)}function h2(t){t.hoverState===oT&&l_(t,"normal",s2)}function o8(t){t.selected=!0}function l8(t){t.selected=!1}function p2(t,e,n){e(t,n)}function xu(t,e,n){p2(t,e,n),t.isGroup&&t.traverse(function(r){p2(r,e,n)})}function u8(t,e,n,r){for(var a=t.style,l={},u=0;u<e.length;u++){var f=e[u],d=a[f];l[f]=d??(r&&r[f])}for(var u=0;u<t.animators.length;u++){var h=t.animators[u];h.__fromStateTransition&&h.__fromStateTransition.indexOf(n)<0&&h.targetName==="style"&&h.saveTo(l,e)}return l}function s8(t,e,n,r){var a=n&&dn(n,"select")>=0,l=!1;if(t instanceof Gt){var u=u2(t),f=a&&u.selectFill||u.normalFill,d=a&&u.selectStroke||u.normalStroke;if(vv(f)||vv(d)){r=r||{};var h=r.style||{};h.fill==="inherit"?(l=!0,r=Re({},r),h=Re({},h),h.fill=f):!vv(h.fill)&&vv(f)?(l=!0,r=Re({},r),h=Re({},h),h.fill=c2(f)):!vv(h.stroke)&&vv(d)&&(l||(r=Re({},r),h=Re({},h)),h.stroke=c2(d)),r.style=h}}if(r&&r.z2==null){l||(r=Re({},r));var p=t.z2EmphasisLift;r.z2=t.z2+(p??i8)}return r}function f8(t,e,n){if(n&&n.z2==null){n=Re({},n);var r=t.z2SelectLift;n.z2=t.z2+(r??a8)}return n}function c8(t,e,n){var r=dn(t.currentStates,e)>=0,a=t.style.opacity,l=r?null:u8(t,["opacity"],e,{opacity:1});n=n||{};var u=n.style||{};return u.opacity==null&&(n=Re({},n),u=Re({opacity:r?a:l.opacity*.1},u),n.style=u),n}function sT(t,e){var n=this.states[t];if(this.style){if(t==="emphasis")return s8(this,t,e,n);if(t==="blur")return c8(this,t,n);if(t==="select")return f8(this,t,n)}return n}function d8(t){t.stateProxy=sT;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=sT),n&&(n.stateProxy=sT)}function g2(t,e){!C2(t,e)&&!t.__highByOuter&&xu(t,d2)}function m2(t,e){!C2(t,e)&&!t.__highByOuter&&xu(t,v2)}function fT(t,e){t.__highByOuter|=1<<(e||0),xu(t,d2)}function cT(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&xu(t,v2)}function v8(t){xu(t,uT)}function y2(t){xu(t,h2)}function _2(t){xu(t,o8)}function S2(t){xu(t,l8)}function C2(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function w2(t){var e=t.getModel(),n=[],r=[];e.eachComponent(function(a,l){var u=aT(l),f=a==="series",d=f?t.getViewOfSeriesModel(l):t.getViewOfComponentModel(l);!f&&r.push(d),u.isBlured&&(d.group.traverse(function(h){h2(h)}),f&&n.push(l)),u.isBlured=!1}),W(r,function(a){a&&a.toggleBlurSeries&&a.toggleBlurSeries(n,!1,e)})}function dT(t,e,n,r){var a=r.getModel();n=n||"coordinateSystem";function l(h,p){for(var m=0;m<p.length;m++){var S=h.getItemGraphicEl(p[m]);S&&y2(S)}}if(t!=null&&!(!e||e==="none")){var u=a.getSeriesByIndex(t),f=u.coordinateSystem;f&&f.master&&(f=f.master);var d=[];a.eachSeries(function(h){var p=u===h,m=h.coordinateSystem;m&&m.master&&(m=m.master);var S=m&&f?m===f:p;if(!(n==="series"&&!p||n==="coordinateSystem"&&!S||e==="series"&&p)){var _=r.getViewOfSeriesModel(h);if(_.group.traverse(function(b){uT(b)}),Ai(e))l(h.getData(),e);else if(it(e))for(var x=kn(e),E=0;E<x.length;E++)l(h.getData(x[E]),e[x[E]]);d.push(h),aT(h).isBlured=!0}}),a.eachComponent(function(h,p){if(h!=="series"){var m=r.getViewOfComponentModel(p);m&&m.toggleBlurSeries&&m.toggleBlurSeries(d,!0,a)}})}}function vT(t,e,n){if(!(t==null||e==null)){var r=n.getModel().getComponent(t,e);if(r){aT(r).isBlured=!0;var a=n.getViewOfComponentModel(r);!a||!a.focusBlurEnabled||a.group.traverse(function(l){uT(l)})}}}function h8(t,e,n){var r=t.seriesIndex,a=t.getData(e.dataType);if(!a){process.env.NODE_ENV!=="production"&&ci("Unknown dataType "+e.dataType);return}var l=rg(a,e);l=(Be(l)?l[0]:l)||0;var u=a.getItemGraphicEl(l);if(!u)for(var f=a.count(),d=0;!u&&d<f;)u=a.getItemGraphicEl(d++);if(u){var h=yn(u);dT(r,h.focus,h.blurScope,n)}else{var p=t.get(["emphasis","focus"]),m=t.get(["emphasis","blurScope"]);p!=null&&dT(r,p,m,n)}}function hT(t,e,n,r){var a={focusSelf:!1,dispatchers:null};if(t==null||t==="series"||e==null||n==null)return a;var l=r.getModel().getComponent(t,e);if(!l)return a;var u=r.getViewOfComponentModel(l);if(!u||!u.findHighDownDispatchers)return a;for(var f=u.findHighDownDispatchers(n),d,h=0;h<f.length;h++)if(process.env.NODE_ENV!=="production"&&!hv(f[h])&&ci("param should be highDownDispatcher"),yn(f[h]).focus==="self"){d=!0;break}return{focusSelf:d,dispatchers:f}}function p8(t,e,n){process.env.NODE_ENV!=="production"&&!hv(t)&&ci("param should be highDownDispatcher");var r=yn(t),a=hT(r.componentMainType,r.componentIndex,r.componentHighDownName,n),l=a.dispatchers,u=a.focusSelf;l?(u&&vT(r.componentMainType,r.componentIndex,n),W(l,function(f){return g2(f,e)})):(dT(r.seriesIndex,r.focus,r.blurScope,n),r.focus==="self"&&vT(r.componentMainType,r.componentIndex,n),g2(t,e))}function g8(t,e,n){process.env.NODE_ENV!=="production"&&!hv(t)&&ci("param should be highDownDispatcher"),w2(n);var r=yn(t),a=hT(r.componentMainType,r.componentIndex,r.componentHighDownName,n).dispatchers;a?W(a,function(l){return m2(l,e)}):m2(t,e)}function m8(t,e,n){if(pT(e)){var r=e.dataType,a=t.getData(r),l=rg(a,e);Be(l)||(l=[l]),t[e.type===sg?"toggleSelect":e.type===ug?"select":"unselect"](l,r)}}function x2(t){var e=t.getAllData();W(e,function(n){var r=n.data,a=n.type;r.eachItemGraphicEl(function(l,u){t.isSelected(u,a)?_2(l):S2(l)})})}function y8(t){var e=[];return t.eachSeries(function(n){var r=n.getAllData();W(r,function(a){a.data;var l=a.type,u=n.getSelectedDataIndices();if(u.length>0){var f={dataIndex:u,seriesIndex:n.seriesIndex};l!=null&&(f.dataType=l),e.push(f)}})}),e}function _8(t,e,n){b2(t,!0),xu(t,d8),w8(t,e,n)}function S8(t){b2(t,!1)}function C8(t,e,n,r){r?S8(t):_8(t,e,n)}function w8(t,e,n){var r=yn(t);e!=null?(r.focus=e,r.blurScope=n):r.focus&&(r.focus=null)}var T2=["emphasis","blur","select"],x8={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function T8(t,e,n,r){n=n||"itemStyle";for(var a=0;a<T2.length;a++){var l=T2[a],u=e.getModel([l,n]),f=t.ensureState(l);f.style=r?r(u):u[x8[n]]()}}function b2(t,e){var n=e===!1,r=t;t.highDownSilentOnTouch&&(r.__highDownSilentOnTouch=t.highDownSilentOnTouch),(!n||r.__highDownDispatcher)&&(r.__highByOuter=r.__highByOuter||0,r.__highDownDispatcher=!n)}function hv(t){return!!(t&&t.__highDownDispatcher)}function b8(t){var e=l2[t];return e==null&&o2<=32&&(e=l2[t]=o2++),e}function pT(t){var e=t.type;return e===ug||e===o_||e===sg}function E2(t){var e=t.type;return e===fc||e===a_}function E8(t){var e=u2(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}var pv=As.CMD,D8=[[],[],[]],D2=Math.sqrt,M8=Math.atan2;function M2(t,e){if(e){var n=t.data,r=t.len(),a,l,u,f,d,h,p=pv.M,m=pv.C,S=pv.L,_=pv.R,x=pv.A,E=pv.Q;for(u=0,f=0;u<r;){switch(a=n[u++],f=u,l=0,a){case p:l=1;break;case S:l=1;break;case m:l=3;break;case E:l=2;break;case x:var b=e[4],D=e[5],A=D2(e[0]*e[0]+e[1]*e[1]),O=D2(e[2]*e[2]+e[3]*e[3]),P=M8(-e[1]/O,e[0]/A);n[u]*=A,n[u++]+=b,n[u]*=O,n[u++]+=D,n[u++]*=A,n[u++]*=O,n[u++]+=P,n[u++]+=P,u+=2,f=u;break;case _:h[0]=n[u++],h[1]=n[u++],eo(h,h,e),n[f++]=h[0],n[f++]=h[1],h[0]+=n[u++],h[1]+=n[u++],eo(h,h,e),n[f++]=h[0],n[f++]=h[1]}for(d=0;d<l;d++){var I=D8[d];I[0]=n[u++],I[1]=n[u++],eo(I,I,e),n[f++]=I[0],n[f++]=I[1]}}t.increaseVersion()}}var gT=Math.sqrt,u_=Math.sin,s_=Math.cos,fg=Math.PI;function R2(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function mT(t,e){return(t[0]*e[0]+t[1]*e[1])/(R2(t)*R2(e))}function A2(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(mT(t,e))}function L2(t,e,n,r,a,l,u,f,d,h,p){var m=d*(fg/180),S=s_(m)*(t-n)/2+u_(m)*(e-r)/2,_=-1*u_(m)*(t-n)/2+s_(m)*(e-r)/2,x=S*S/(u*u)+_*_/(f*f);x>1&&(u*=gT(x),f*=gT(x));var E=(a===l?-1:1)*gT((u*u*(f*f)-u*u*(_*_)-f*f*(S*S))/(u*u*(_*_)+f*f*(S*S)))||0,b=E*u*_/f,D=E*-f*S/u,A=(t+n)/2+s_(m)*b-u_(m)*D,O=(e+r)/2+u_(m)*b+s_(m)*D,P=A2([1,0],[(S-b)/u,(_-D)/f]),I=[(S-b)/u,(_-D)/f],F=[(-1*S-b)/u,(-1*_-D)/f],U=A2(I,F);if(mT(I,F)<=-1&&(U=fg),mT(I,F)>=1&&(U=0),U<0){var H=Math.round(U/fg*1e6)/1e6;U=fg*2+H%2*fg}p.addData(h,A,O,u,f,P,U,m,l)}var R8=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,A8=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function L8(t){var e=new As;if(!t)return e;var n=0,r=0,a=n,l=r,u,f=As.CMD,d=t.match(R8);if(!d)return e;for(var h=0;h<d.length;h++){for(var p=d[h],m=p.charAt(0),S=void 0,_=p.match(A8)||[],x=_.length,E=0;E<x;E++)_[E]=parseFloat(_[E]);for(var b=0;b<x;){var D=void 0,A=void 0,O=void 0,P=void 0,I=void 0,F=void 0,U=void 0,H=n,j=r,X=void 0,G=void 0;switch(m){case"l":n+=_[b++],r+=_[b++],S=f.L,e.addData(S,n,r);break;case"L":n=_[b++],r=_[b++],S=f.L,e.addData(S,n,r);break;case"m":n+=_[b++],r+=_[b++],S=f.M,e.addData(S,n,r),a=n,l=r,m="l";break;case"M":n=_[b++],r=_[b++],S=f.M,e.addData(S,n,r),a=n,l=r,m="L";break;case"h":n+=_[b++],S=f.L,e.addData(S,n,r);break;case"H":n=_[b++],S=f.L,e.addData(S,n,r);break;case"v":r+=_[b++],S=f.L,e.addData(S,n,r);break;case"V":r=_[b++],S=f.L,e.addData(S,n,r);break;case"C":S=f.C,e.addData(S,_[b++],_[b++],_[b++],_[b++],_[b++],_[b++]),n=_[b-2],r=_[b-1];break;case"c":S=f.C,e.addData(S,_[b++]+n,_[b++]+r,_[b++]+n,_[b++]+r,_[b++]+n,_[b++]+r),n+=_[b-2],r+=_[b-1];break;case"S":D=n,A=r,X=e.len(),G=e.data,u===f.C&&(D+=n-G[X-4],A+=r-G[X-3]),S=f.C,H=_[b++],j=_[b++],n=_[b++],r=_[b++],e.addData(S,D,A,H,j,n,r);break;case"s":D=n,A=r,X=e.len(),G=e.data,u===f.C&&(D+=n-G[X-4],A+=r-G[X-3]),S=f.C,H=n+_[b++],j=r+_[b++],n+=_[b++],r+=_[b++],e.addData(S,D,A,H,j,n,r);break;case"Q":H=_[b++],j=_[b++],n=_[b++],r=_[b++],S=f.Q,e.addData(S,H,j,n,r);break;case"q":H=_[b++]+n,j=_[b++]+r,n+=_[b++],r+=_[b++],S=f.Q,e.addData(S,H,j,n,r);break;case"T":D=n,A=r,X=e.len(),G=e.data,u===f.Q&&(D+=n-G[X-4],A+=r-G[X-3]),n=_[b++],r=_[b++],S=f.Q,e.addData(S,D,A,n,r);break;case"t":D=n,A=r,X=e.len(),G=e.data,u===f.Q&&(D+=n-G[X-4],A+=r-G[X-3]),n+=_[b++],r+=_[b++],S=f.Q,e.addData(S,D,A,n,r);break;case"A":O=_[b++],P=_[b++],I=_[b++],F=_[b++],U=_[b++],H=n,j=r,n=_[b++],r=_[b++],S=f.A,L2(H,j,n,r,F,U,O,P,I,S,e);break;case"a":O=_[b++],P=_[b++],I=_[b++],F=_[b++],U=_[b++],H=n,j=r,n+=_[b++],r+=_[b++],S=f.A,L2(H,j,n,r,F,U,O,P,I,S,e);break}}(m==="z"||m==="Z")&&(S=f.Z,e.addData(S),n=a,r=l),u=S}return e.toStatic(),e}var O2=function(t){mn(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.applyTransform=function(n){},e}(Gt);function k2(t){return t.setData!=null}function N2(t,e){var n=L8(t),r=Re({},e);return r.buildPath=function(a){if(k2(a)){a.setData(n.data);var l=a.getContext();l&&a.rebuildPath(l,1)}else{var l=a;n.rebuildPath(l,1)}},r.applyTransform=function(a){M2(n,a),this.dirtyShape()},r}function O8(t,e){return new O2(N2(t,e))}function k8(t,e){var n=N2(t,e),r=function(a){mn(l,a);function l(u){var f=a.call(this,u)||this;return f.applyTransform=n.applyTransform,f.buildPath=n.buildPath,f}return l}(O2);return r}function N8(t,e){for(var n=[],r=t.length,a=0;a<r;a++){var l=t[a];n.push(l.getUpdatedPathProxy(!0))}var u=new Gt(e);return u.createPathProxy(),u.buildPath=function(f){if(k2(f)){f.appendPath(n);var d=f.getContext();d&&f.rebuildPath(d,1)}},u}function yT(t,e){e=e||{};var n=new Gt;return t.shape&&n.setShape(t.shape),n.setStyle(t.style),e.bakeTransform?M2(n.path,t.getComputedTransform()):e.toLocal?n.setLocalTransform(t.getComputedTransform()):n.copyTransform(t),n.buildPath=t.buildPath,n.applyTransform=n.applyTransform,n.z=t.z,n.z2=t.z2,n.zlevel=t.zlevel,n}var P8=function(){function t(){this.cx=0,this.cy=0,this.r=0}return t}(),P2=function(t){mn(e,t);function e(n){return t.call(this,n)||this}return e.prototype.getDefaultShape=function(){return new P8},e.prototype.buildPath=function(n,r){n.moveTo(r.cx+r.r,r.cy),n.arc(r.cx,r.cy,r.r,0,Math.PI*2)},e}(Gt);P2.prototype.type="circle";const _T=P2;var I8=function(){function t(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return t}(),I2=function(t){mn(e,t);function e(n){return t.call(this,n)||this}return e.prototype.getDefaultShape=function(){return new I8},e.prototype.buildPath=function(n,r){var a=.5522848,l=r.cx,u=r.cy,f=r.rx,d=r.ry,h=f*a,p=d*a;n.moveTo(l-f,u),n.bezierCurveTo(l-f,u-p,l-h,u-d,l,u-d),n.bezierCurveTo(l+h,u-d,l+f,u-p,l+f,u),n.bezierCurveTo(l+f,u+p,l+h,u+d,l,u+d),n.bezierCurveTo(l-h,u+d,l-f,u+p,l-f,u),n.closePath()},e}(Gt);I2.prototype.type="ellipse";const z2=I2;var F2=Math.PI,ST=F2*2,cc=Math.sin,gv=Math.cos,z8=Math.acos,di=Math.atan2,B2=Math.abs,cg=Math.sqrt,dg=Math.max,Rl=Math.min,No=1e-4;function F8(t,e,n,r,a,l,u,f){var d=n-t,h=r-e,p=u-a,m=f-l,S=m*d-p*h;if(!(S*S<No))return S=(p*(e-l)-m*(t-a))/S,[t+S*d,e+S*h]}function f_(t,e,n,r,a,l,u){var f=t-n,d=e-r,h=(u?l:-l)/cg(f*f+d*d),p=h*d,m=-h*f,S=t+p,_=e+m,x=n+p,E=r+m,b=(S+x)/2,D=(_+E)/2,A=x-S,O=E-_,P=A*A+O*O,I=a-l,F=S*E-x*_,U=(O<0?-1:1)*cg(dg(0,I*I*P-F*F)),H=(F*O-A*U)/P,j=(-F*A-O*U)/P,X=(F*O+A*U)/P,G=(-F*A+O*U)/P,ee=H-b,J=j-D,ie=X-b,ce=G-D;return ee*ee+J*J>ie*ie+ce*ce&&(H=X,j=G),{cx:H,cy:j,x0:-p,y0:-m,x1:H*(a/I-1),y1:j*(a/I-1)}}function B8(t){var e;if(Be(t)){var n=t.length;if(!n)return t;n===1?e=[t[0],t[0],0,0]:n===2?e=[t[0],t[0],t[1],t[1]]:n===3?e=t.concat(t[2]):e=t}else e=[t,t,t,t];return e}function U8(t,e){var n,r=dg(e.r,0),a=dg(e.r0||0,0),l=r>0,u=a>0;if(!(!l&&!u)){if(l||(r=a,a=0),a>r){var f=r;r=a,a=f}var d=e.startAngle,h=e.endAngle;if(!(isNaN(d)||isNaN(h))){var p=e.cx,m=e.cy,S=!!e.clockwise,_=B2(h-d),x=_>ST&&_%ST;if(x>No&&(_=x),!(r>No))t.moveTo(p,m);else if(_>ST-No)t.moveTo(p+r*gv(d),m+r*cc(d)),t.arc(p,m,r,d,h,!S),a>No&&(t.moveTo(p+a*gv(h),m+a*cc(h)),t.arc(p,m,a,h,d,S));else{var E=void 0,b=void 0,D=void 0,A=void 0,O=void 0,P=void 0,I=void 0,F=void 0,U=void 0,H=void 0,j=void 0,X=void 0,G=void 0,ee=void 0,J=void 0,ie=void 0,ce=r*gv(d),fe=r*cc(d),Ne=a*gv(h),ae=a*cc(h),ge=_>No;if(ge){var pe=e.cornerRadius;pe&&(n=B8(pe),E=n[0],b=n[1],D=n[2],A=n[3]);var Le=B2(r-a)/2;if(O=Rl(Le,D),P=Rl(Le,A),I=Rl(Le,E),F=Rl(Le,b),j=U=dg(O,P),X=H=dg(I,F),(U>No||H>No)&&(G=r*gv(h),ee=r*cc(h),J=a*gv(d),ie=a*cc(d),_<F2)){var Ge=F8(ce,fe,J,ie,G,ee,Ne,ae);if(Ge){var St=ce-Ge[0],It=fe-Ge[1],Dn=G-Ge[0],Xt=ee-Ge[1],Mn=1/cc(z8((St*Dn+It*Xt)/(cg(St*St+It*It)*cg(Dn*Dn+Xt*Xt)))/2),on=cg(Ge[0]*Ge[0]+Ge[1]*Ge[1]);j=Rl(U,(r-on)/(Mn+1)),X=Rl(H,(a-on)/(Mn-1))}}}if(!ge)t.moveTo(p+ce,m+fe);else if(j>No){var zt=Rl(D,j),Ft=Rl(A,j),$e=f_(J,ie,ce,fe,r,zt,S),Se=f_(G,ee,Ne,ae,r,Ft,S);t.moveTo(p+$e.cx+$e.x0,m+$e.cy+$e.y0),j<U&&zt===Ft?t.arc(p+$e.cx,m+$e.cy,j,di($e.y0,$e.x0),di(Se.y0,Se.x0),!S):(zt>0&&t.arc(p+$e.cx,m+$e.cy,zt,di($e.y0,$e.x0),di($e.y1,$e.x1),!S),t.arc(p,m,r,di($e.cy+$e.y1,$e.cx+$e.x1),di(Se.cy+Se.y1,Se.cx+Se.x1),!S),Ft>0&&t.arc(p+Se.cx,m+Se.cy,Ft,di(Se.y1,Se.x1),di(Se.y0,Se.x0),!S))}else t.moveTo(p+ce,m+fe),t.arc(p,m,r,d,h,!S);if(!(a>No)||!ge)t.lineTo(p+Ne,m+ae);else if(X>No){var zt=Rl(E,X),Ft=Rl(b,X),$e=f_(Ne,ae,G,ee,a,-Ft,S),Se=f_(ce,fe,J,ie,a,-zt,S);t.lineTo(p+$e.cx+$e.x0,m+$e.cy+$e.y0),X<H&&zt===Ft?t.arc(p+$e.cx,m+$e.cy,X,di($e.y0,$e.x0),di(Se.y0,Se.x0),!S):(Ft>0&&t.arc(p+$e.cx,m+$e.cy,Ft,di($e.y0,$e.x0),di($e.y1,$e.x1),!S),t.arc(p,m,a,di($e.cy+$e.y1,$e.cx+$e.x1),di(Se.cy+Se.y1,Se.cx+Se.x1),S),zt>0&&t.arc(p+Se.cx,m+Se.cy,zt,di(Se.y1,Se.x1),di(Se.y0,Se.x0),!S))}else t.lineTo(p+Ne,m+ae),t.arc(p,m,a,h,d,S)}t.closePath()}}}var V8=function(){function t(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return t}(),U2=function(t){mn(e,t);function e(n){return t.call(this,n)||this}return e.prototype.getDefaultShape=function(){return new V8},e.prototype.buildPath=function(n,r){U8(n,r)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(Gt);U2.prototype.type="sector";const dc=U2;var H8=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return t}(),V2=function(t){mn(e,t);function e(n){return t.call(this,n)||this}return e.prototype.getDefaultShape=function(){return new H8},e.prototype.buildPath=function(n,r){var a=r.cx,l=r.cy,u=Math.PI*2;n.moveTo(a+r.r,l),n.arc(a,l,r.r,0,u,!1),n.moveTo(a+r.r0,l),n.arc(a,l,r.r0,0,u,!0)},e}(Gt);V2.prototype.type="ring";const H2=V2;function G8(t,e,n,r){var a=[],l=[],u=[],f=[],d,h,p,m;if(r){p=[1/0,1/0],m=[-1/0,-1/0];for(var S=0,_=t.length;S<_;S++)Qd(p,p,t[S]),Zd(m,m,t[S]);Qd(p,p,r[0]),Zd(m,m,r[1])}for(var S=0,_=t.length;S<_;S++){var x=t[S];if(n)d=t[S?S-1:_-1],h=t[(S+1)%_];else if(S===0||S===_-1){a.push(cH(t[S]));continue}else d=t[S-1],h=t[S+1];dH(l,h,d),Xw(l,l,e);var E=qw(x,d),b=qw(x,h),D=E+b;D!==0&&(E/=D,b/=D),Xw(u,l,-E),Xw(f,l,b);var A=fL([],x,u),O=fL([],x,f);r&&(Zd(A,A,p),Qd(A,A,m),Zd(O,O,p),Qd(O,O,m)),a.push(A),a.push(O)}return n&&a.push(a.shift()),a}function G2(t,e,n){var r=e.smooth,a=e.points;if(a&&a.length>=2){if(r){var l=G8(a,r,n,e.smoothConstraint);t.moveTo(a[0][0],a[0][1]);for(var u=a.length,f=0;f<(n?u:u-1);f++){var d=l[f*2],h=l[f*2+1],p=a[(f+1)%u];t.bezierCurveTo(d[0],d[1],h[0],h[1],p[0],p[1])}}else{t.moveTo(a[0][0],a[0][1]);for(var f=1,m=a.length;f<m;f++)t.lineTo(a[f][0],a[f][1])}n&&t.closePath()}}var $8=function(){function t(){this.points=null,this.smooth=0,this.smoothConstraint=null}return t}(),$2=function(t){mn(e,t);function e(n){return t.call(this,n)||this}return e.prototype.getDefaultShape=function(){return new $8},e.prototype.buildPath=function(n,r){G2(n,r,!0)},e}(Gt);$2.prototype.type="polygon";const CT=$2;var j8=function(){function t(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return t}(),j2=function(t){mn(e,t);function e(n){return t.call(this,n)||this}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new j8},e.prototype.buildPath=function(n,r){G2(n,r,!1)},e}(Gt);j2.prototype.type="polyline";const wT=j2;var Y8={},W8=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return t}(),Y2=function(t){mn(e,t);function e(n){return t.call(this,n)||this}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new W8},e.prototype.buildPath=function(n,r){var a,l,u,f;if(this.subPixelOptimize){var d=WO(Y8,r,this.style);a=d.x1,l=d.y1,u=d.x2,f=d.y2}else a=r.x1,l=r.y1,u=r.x2,f=r.y2;var h=r.percent;h!==0&&(n.moveTo(a,l),h<1&&(u=a*(1-h)+u*h,f=l*(1-h)+f*h),n.lineTo(u,f))},e.prototype.pointAt=function(n){var r=this.shape;return[r.x1*(1-n)+r.x2*n,r.y1*(1-n)+r.y2*n]},e}(Gt);Y2.prototype.type="line";const vc=Y2;var aa=[],X8=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return t}();function W2(t,e,n){var r=t.cpx2,a=t.cpy2;return r!=null||a!=null?[(n?LL:Qr)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?LL:Qr)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?PL:fi)(t.x1,t.cpx1,t.x2,e),(n?PL:fi)(t.y1,t.cpy1,t.y2,e)]}var X2=function(t){mn(e,t);function e(n){return t.call(this,n)||this}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new X8},e.prototype.buildPath=function(n,r){var a=r.x1,l=r.y1,u=r.x2,f=r.y2,d=r.cpx1,h=r.cpy1,p=r.cpx2,m=r.cpy2,S=r.percent;S!==0&&(n.moveTo(a,l),p==null||m==null?(S<1&&(z0(a,d,u,S,aa),d=aa[1],u=aa[2],z0(l,h,f,S,aa),h=aa[1],f=aa[2]),n.quadraticCurveTo(d,h,u,f)):(S<1&&(Es(a,d,p,u,S,aa),d=aa[1],p=aa[2],u=aa[3],Es(l,h,m,f,S,aa),h=aa[1],m=aa[2],f=aa[3]),n.bezierCurveTo(d,h,p,m,u,f)))},e.prototype.pointAt=function(n){return W2(this.shape,n,!1)},e.prototype.tangentAt=function(n){var r=W2(this.shape,n,!0);return pH(r,r)},e}(Gt);X2.prototype.type="bezier-curve";const q2=X2;var q8=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return t}(),Q2=function(t){mn(e,t);function e(n){return t.call(this,n)||this}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new q8},e.prototype.buildPath=function(n,r){var a=r.cx,l=r.cy,u=Math.max(r.r,0),f=r.startAngle,d=r.endAngle,h=r.clockwise,p=Math.cos(f),m=Math.sin(f);n.moveTo(p*u+a,m*u+l),n.arc(a,l,u,f,d,!h)},e}(Gt);Q2.prototype.type="arc";const xT=Q2;var Q8=function(t){mn(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type="compound",n}return e.prototype._updatePathDirty=function(){for(var n=this.shape.paths,r=this.shapeChanged(),a=0;a<n.length;a++)r=r||n[a].shapeChanged();r&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var n=this.shape.paths||[],r=this.getGlobalScale(),a=0;a<n.length;a++)n[a].path||n[a].createPathProxy(),n[a].path.setScale(r[0],r[1],n[a].segmentIgnoreThreshold)},e.prototype.buildPath=function(n,r){for(var a=r.paths||[],l=0;l<a.length;l++)a[l].buildPath(n,a[l].shape,!0)},e.prototype.afterBrush=function(){for(var n=this.shape.paths||[],r=0;r<n.length;r++)n[r].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),Gt.prototype.getBoundingRect.call(this)},e}(Gt);const Z8=Q8;var K8=function(){function t(e){this.colorStops=e||[]}return t.prototype.addColorStop=function(e,n){this.colorStops.push({offset:e,color:n})},t}();const Z2=K8;var J8=function(t){mn(e,t);function e(n,r,a,l,u,f){var d=t.call(this,u)||this;return d.x=n??0,d.y=r??0,d.x2=a??1,d.y2=l??0,d.type="linear",d.global=f||!1,d}return e}(Z2);const eG=J8;var tG=function(t){mn(e,t);function e(n,r,a,l,u){var f=t.call(this,l)||this;return f.x=n??.5,f.y=r??.5,f.r=a??.5,f.type="radial",f.global=u||!1,f}return e}(Z2);const nG=tG;var hc=[0,0],pc=[0,0],c_=new ht,d_=new ht,rG=function(){function t(e,n){this._corners=[],this._axes=[],this._origin=[0,0];for(var r=0;r<4;r++)this._corners[r]=new ht;for(var r=0;r<2;r++)this._axes[r]=new ht;e&&this.fromBoundingRect(e,n)}return t.prototype.fromBoundingRect=function(e,n){var r=this._corners,a=this._axes,l=e.x,u=e.y,f=l+e.width,d=u+e.height;if(r[0].set(l,u),r[1].set(f,u),r[2].set(f,d),r[3].set(l,d),n)for(var h=0;h<4;h++)r[h].transform(n);ht.sub(a[0],r[1],r[0]),ht.sub(a[1],r[3],r[0]),a[0].normalize(),a[1].normalize();for(var h=0;h<2;h++)this._origin[h]=a[h].dot(r[0])},t.prototype.intersect=function(e,n){var r=!0,a=!n;return c_.set(1/0,1/0),d_.set(0,0),!this._intersectCheckOneSide(this,e,c_,d_,a,1)&&(r=!1,a)||!this._intersectCheckOneSide(e,this,c_,d_,a,-1)&&(r=!1,a)||a||ht.copy(n,r?c_:d_),r},t.prototype._intersectCheckOneSide=function(e,n,r,a,l,u){for(var f=!0,d=0;d<2;d++){var h=this._axes[d];if(this._getProjMinMaxOnAxis(d,e._corners,hc),this._getProjMinMaxOnAxis(d,n._corners,pc),hc[1]<pc[0]||hc[0]>pc[1]){if(f=!1,l)return f;var p=Math.abs(pc[0]-hc[1]),m=Math.abs(hc[0]-pc[1]);Math.min(p,m)>a.len()&&(p<m?ht.scale(a,h,-p*u):ht.scale(a,h,m*u))}else if(r){var p=Math.abs(pc[0]-hc[1]),m=Math.abs(hc[0]-pc[1]);Math.min(p,m)<r.len()&&(p<m?ht.scale(r,h,p*u):ht.scale(r,h,-m*u))}}return f},t.prototype._getProjMinMaxOnAxis=function(e,n,r){for(var a=this._axes[e],l=this._origin,u=n[0].dot(a)+l[e],f=u,d=u,h=1;h<n.length;h++){var p=n[h].dot(a)+l[e];f=Math.min(p,f),d=Math.max(p,d)}r[0]=f,r[1]=d},t}();const v_=rG;var iG=[],aG=function(t){mn(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.notClear=!0,n.incremental=!0,n._displayables=[],n._temporaryDisplayables=[],n._cursor=0,n}return e.prototype.traverse=function(n,r){n.call(r,this)},e.prototype.useStyle=function(){this.style={}},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(n,r){r?this._temporaryDisplayables.push(n):this._displayables.push(n),this.markRedraw()},e.prototype.addDisplayables=function(n,r){r=r||!1;for(var a=0;a<n.length;a++)this.addDisplayable(n[a],r)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.prototype.eachPendingDisplayable=function(n){for(var r=this._cursor;r<this._displayables.length;r++)n&&n(this._displayables[r]);for(var r=0;r<this._temporaryDisplayables.length;r++)n&&n(this._temporaryDisplayables[r])},e.prototype.update=function(){this.updateTransform();for(var n=this._cursor;n<this._displayables.length;n++){var r=this._displayables[n];r.parent=this,r.update(),r.parent=null}for(var n=0;n<this._temporaryDisplayables.length;n++){var r=this._temporaryDisplayables[n];r.parent=this,r.update(),r.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var n=new Wt(1/0,1/0,-1/0,-1/0),r=0;r<this._displayables.length;r++){var a=this._displayables[r],l=a.getBoundingRect().clone();a.needLocalTransform()&&l.applyTransform(a.getLocalTransform(iG)),n.union(l)}this._rect=n}return this._rect},e.prototype.contain=function(n,r){var a=this.transformCoordToLocal(n,r),l=this.getBoundingRect();if(l.contain(a[0],a[1]))for(var u=0;u<this._displayables.length;u++){var f=this._displayables[u];if(f.contain(n,r))return!0}return!1},e}(sv);const oG=aG;var K2=jn();function h_(t,e,n,r,a){var l;if(e&&e.ecModel){var u=e.ecModel.getUpdatePayload();l=u&&u.animation}var f=e&&e.isAnimationEnabled(),d=t==="update";if(f){var h=void 0,p=void 0,m=void 0;r?(h=kt(r.duration,200),p=kt(r.easing,"cubicOut"),m=0):(h=e.getShallow(d?"animationDurationUpdate":"animationDuration"),p=e.getShallow(d?"animationEasingUpdate":"animationEasing"),m=e.getShallow(d?"animationDelayUpdate":"animationDelay")),l&&(l.duration!=null&&(h=l.duration),l.easing!=null&&(p=l.easing),l.delay!=null&&(m=l.delay)),_t(m)&&(m=m(n,a)),_t(h)&&(h=h(n));var S={duration:h||0,delay:m,easing:p};return S}else return null}function TT(t,e,n,r,a,l,u){var f=!1,d;_t(a)?(u=l,l=a,a=null):it(a)&&(l=a.cb,u=a.during,f=a.isFrom,d=a.removeOpt,a=a.dataIndex);var h=t==="leave";h||e.stopAnimation("leave");var p=h_(t,r,a,h?d||{}:null,r&&r.getAnimationDelayParams?r.getAnimationDelayParams(e,a):null);if(p&&p.duration>0){var m=p.duration,S=p.delay,_=p.easing,x={duration:m,delay:S||0,easing:_,done:l,force:!!l||!!u,setToFinal:!h,scope:t,during:u};f?e.animateFrom(n,x):e.animateTo(n,x)}else e.stopAnimation(),!f&&e.attr(n),u&&u(1),l&&l()}function Po(t,e,n,r,a,l){TT("update",t,e,n,r,a,l)}function Io(t,e,n,r,a,l){TT("enter",t,e,n,r,a,l)}function mv(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++){var n=t.animators[e];if(n.scope==="leave")return!0}return!1}function J2(t,e,n,r,a,l){mv(t)||TT("leave",t,e,n,r,a,l)}function ek(t,e,n,r){t.removeTextContent(),t.removeTextGuideLine(),J2(t,{style:{opacity:0}},e,n,r)}function bT(t,e,n){function r(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse(function(a){a.isGroup||ek(a,e,n,r)}):ek(t,e,n,r)}function lG(t){K2(t).oldStyle=t.style}function uG(t){return K2(t).oldStyle}var p_=Math.max,g_=Math.min,ET={};function sG(t){return Gt.extend(t)}var fG=k8;function cG(t,e){return fG(t,e)}function zo(t,e){ET[t]=e}function dG(t){if(ET.hasOwnProperty(t))return ET[t]}function DT(t,e,n,r){var a=O8(t,e);return n&&(r==="center"&&(n=nk(n,a.getBoundingRect())),rk(a,n)),a}function tk(t,e,n){var r=new cv({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(a){if(n==="center"){var l={width:a.width,height:a.height};r.setStyle(nk(e,l))}}});return r}function nk(t,e){var n=e.width/e.height,r=t.height*n,a;r<=t.width?a=t.height:(r=t.width,a=r/n);var l=t.x+t.width/2,u=t.y+t.height/2;return{x:l-r/2,y:u-a/2,width:r,height:a}}var vG=N8;function rk(t,e){if(t.applyTransform){var n=t.getBoundingRect(),r=n.calculateTransform(e);t.applyTransform(r)}}function vg(t,e){return WO(t,t,{lineWidth:e}),t}function hG(t){return XO(t.shape,t.shape,t.style),t}var pG=sc;function gG(t,e){for(var n=ix([]);t&&t!==e;)Jd(n,t.getLocalTransform(),n),t=t.parent;return n}function MT(t,e,n){return e&&!Ai(e)&&(e=Kp.getLocalTransform(e)),n&&(e=R0([],e)),eo([],t,e)}function mG(t,e,n){var r=e[4]===0||e[5]===0||e[0]===0?1:Math.abs(2*e[4]/e[0]),a=e[4]===0||e[5]===0||e[2]===0?1:Math.abs(2*e[4]/e[2]),l=[t==="left"?-r:t==="right"?r:0,t==="top"?-a:t==="bottom"?a:0];return l=MT(l,e,n),Math.abs(l[0])>Math.abs(l[1])?l[0]>0?"right":"left":l[1]>0?"bottom":"top"}function ik(t){return!t.isGroup}function yG(t){return t.shape!=null}function ak(t,e,n){if(!t||!e)return;function r(u){var f={};return u.traverse(function(d){ik(d)&&d.anid&&(f[d.anid]=d)}),f}function a(u){var f={x:u.x,y:u.y,rotation:u.rotation};return yG(u)&&(f.shape=Re({},u.shape)),f}var l=r(t);e.traverse(function(u){if(ik(u)&&u.anid){var f=l[u.anid];if(f){var d=a(u);u.attr(a(f)),Po(u,d,n,yn(u).dataIndex)}}})}function _G(t,e){return ot(t,function(n){var r=n[0];r=p_(r,e.x),r=g_(r,e.x+e.width);var a=n[1];return a=p_(a,e.y),a=g_(a,e.y+e.height),[r,a]})}function SG(t,e){var n=p_(t.x,e.x),r=g_(t.x+t.width,e.x+e.width),a=p_(t.y,e.y),l=g_(t.y+t.height,e.y+e.height);if(r>=n&&l>=a)return{x:n,y:a,width:r-n,height:l-a}}function ok(t,e,n){var r=Re({rectHover:!0},e),a=r.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return t.indexOf("image://")===0?(a.image=t.slice(8),Vt(a,n),new cv(r)):DT(t.replace("path://",""),r,n,"center")}function CG(t,e,n,r,a){for(var l=0,u=a[a.length-1];l<a.length;l++){var f=a[l];if(lk(t,e,n,r,f[0],f[1],u[0],u[1]))return!0;u=f}}function lk(t,e,n,r,a,l,u,f){var d=n-t,h=r-e,p=u-a,m=f-l,S=RT(p,m,d,h);if(wG(S))return!1;var _=t-a,x=e-l,E=RT(_,x,d,h)/S;if(E<0||E>1)return!1;var b=RT(_,x,p,m)/S;return!(b<0||b>1)}function RT(t,e,n,r){return t*r-n*e}function wG(t){return t<=1e-6&&t>=-1e-6}function uk(t){var e=t.itemTooltipOption,n=t.componentModel,r=t.itemName,a=et(e)?{formatter:e}:e,l=n.mainType,u=n.componentIndex,f={componentType:l,name:r,$vars:["name"]};f[l+"Index"]=u;var d=t.formatterParamsExtra;d&&W(kn(d),function(p){yu(f,p)||(f[p]=d[p],f.$vars.push(p))});var h=yn(t.el);h.componentMainType=l,h.componentIndex=u,h.tooltipConfig={name:r,option:Vt({content:r,formatterParams:f},a)}}function sk(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function AT(t,e){if(t)if(Be(t))for(var n=0;n<t.length;n++)sk(t[n],e);else sk(t,e)}zo("circle",_T),zo("ellipse",z2),zo("sector",dc),zo("ring",H2),zo("polygon",CT),zo("polyline",wT),zo("rect",Kr),zo("line",vc),zo("bezierCurve",q2),zo("arc",xT);const xG=Object.freeze(Object.defineProperty({__proto__:null,updateProps:Po,initProps:Io,removeElement:J2,removeElementWithFadeOut:bT,isElementRemoved:mv,extendShape:sG,extendPath:cG,registerShape:zo,getShapeClass:dG,makePath:DT,makeImage:tk,mergePath:vG,resizePath:rk,subPixelOptimizeLine:vg,subPixelOptimizeRect:hG,subPixelOptimize:pG,getTransform:gG,applyTransform:MT,transformDirection:mG,groupTransition:ak,clipPointsByRect:_G,clipRectByRect:SG,createIcon:ok,linePolygonIntersect:CG,lineLineIntersect:lk,setTooltipConfig:uk,traverseElements:AT,Group:Cl,Image:cv,Text:ko,Circle:_T,Ellipse:z2,Sector:dc,Ring:H2,Polygon:CT,Polyline:wT,Rect:Kr,Line:vc,BezierCurve:q2,Arc:xT,IncrementalDisplayable:oG,CompoundPath:Z8,LinearGradient:eG,RadialGradient:nG,BoundingRect:Wt,OrientedBoundingRect:v_,Point:ht,Path:Gt},Symbol.toStringTag,{value:"Module"}));var m_={};function fk(t,e){for(var n=0;n<Ml.length;n++){var r=Ml[n],a=e[r],l=t.ensureState(r);l.style=l.style||{},l.style.text=a}var u=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:e.normal}),t.useStates(u,!0)}function LT(t,e,n){var r=t.labelFetcher,a=t.labelDataIndex,l=t.labelDimIndex,u=e.normal,f;r&&(f=r.getFormattedLabel(a,"normal",null,l,u&&u.get("formatter"),n!=null?{interpolatedValue:n}:null)),f==null&&(f=_t(t.defaultText)?t.defaultText(a,t,n):t.defaultText);for(var d={normal:f},h=0;h<Ml.length;h++){var p=Ml[h],m=e[p];d[p]=kt(r?r.getFormattedLabel(a,p,null,l,m&&m.get("formatter")):null,f)}return d}function TG(t,e,n,r){n=n||m_;for(var a=t instanceof ko,l=!1,u=0;u<i_.length;u++){var f=e[i_[u]];if(f&&f.getShallow("show")){l=!0;break}}var d=a?t:t.getTextContent();if(l){a||(d||(d=new ko,t.setTextContent(d)),t.stateProxy&&(d.stateProxy=t.stateProxy));var h=LT(n,e),p=e.normal,m=!!p.getShallow("show"),S=gc(p,r&&r.normal,n,!1,!a);S.text=h.normal,a||t.setTextConfig(ck(p,n,!1));for(var u=0;u<Ml.length;u++){var _=Ml[u],f=e[_];if(f){var x=d.ensureState(_),E=!!kt(f.getShallow("show"),m);if(E!==m&&(x.ignore=!E),x.style=gc(f,r&&r[_],n,!0,!a),x.style.text=h[_],!a){var b=t.ensureState(_);b.textConfig=ck(f,n,!0)}}}d.silent=!!p.getShallow("silent"),d.style.x!=null&&(S.x=d.style.x),d.style.y!=null&&(S.y=d.style.y),d.ignore=!m,d.useStyle(S),d.dirty(),n.enableTextSetter&&(hg(d).setLabelText=function(D){var A=LT(n,e,D);fk(d,A)})}else d&&(d.ignore=!0);t.dirty()}function bG(t,e){e=e||"label";for(var n={normal:t.getModel(e)},r=0;r<Ml.length;r++){var a=Ml[r];n[a]=t.getModel([a,e])}return n}function gc(t,e,n,r,a){var l={};return EG(l,t,n,r,a),e&&Re(l,e),l}function ck(t,e,n){e=e||{};var r={},a,l=t.getShallow("rotate"),u=kt(t.getShallow("distance"),n?null:5),f=t.getShallow("offset");return a=t.getShallow("position")||(n?null:"inside"),a==="outside"&&(a=e.defaultOutsidePosition||"top"),a!=null&&(r.position=a),f!=null&&(r.offset=f),l!=null&&(l*=Math.PI/180,r.rotation=l),u!=null&&(r.distance=u),r.outsideFill=t.get("color")==="inherit"?e.inheritColor||null:"auto",r}function EG(t,e,n,r,a){n=n||m_;var l=e.ecModel,u=l&&l.option.textStyle,f=DG(e),d;if(f){d={};for(var h in f)if(f.hasOwnProperty(h)){var p=e.getModel(["rich",h]);pk(d[h]={},p,u,n,r,a,!1,!0)}}d&&(t.rich=d);var m=e.get("overflow");m&&(t.overflow=m);var S=e.get("minMargin");S!=null&&(t.margin=S),pk(t,e,u,n,r,a,!0,!1)}function DG(t){for(var e;t&&t!==t.ecModel;){var n=(t.option||m_).rich;if(n){e=e||{};for(var r=kn(n),a=0;a<r.length;a++){var l=r[a];e[l]=1}}t=t.parentModel}return e}var dk=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],vk=["align","lineHeight","width","height","tag","verticalAlign"],hk=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function pk(t,e,n,r,a,l,u,f){n=!a&&n||m_;var d=r&&r.inheritColor,h=e.getShallow("color"),p=e.getShallow("textBorderColor"),m=kt(e.getShallow("opacity"),n.opacity);(h==="inherit"||h==="auto")&&(process.env.NODE_ENV!=="production"&&h==="auto"&&Br("color: 'auto'","color: 'inherit'"),d?h=d:h=null),(p==="inherit"||p==="auto")&&(process.env.NODE_ENV!=="production"&&p==="auto"&&Br("color: 'auto'","color: 'inherit'"),d?p=d:p=null),l||(h=h||n.color,p=p||n.textBorderColor),h!=null&&(t.fill=h),p!=null&&(t.stroke=p);var S=kt(e.getShallow("textBorderWidth"),n.textBorderWidth);S!=null&&(t.lineWidth=S);var _=kt(e.getShallow("textBorderType"),n.textBorderType);_!=null&&(t.lineDash=_);var x=kt(e.getShallow("textBorderDashOffset"),n.textBorderDashOffset);x!=null&&(t.lineDashOffset=x),!a&&m==null&&!f&&(m=r&&r.defaultOpacity),m!=null&&(t.opacity=m),!a&&!l&&t.fill==null&&r.inheritColor&&(t.fill=r.inheritColor);for(var E=0;E<dk.length;E++){var b=dk[E],D=kt(e.getShallow(b),n[b]);D!=null&&(t[b]=D)}for(var E=0;E<vk.length;E++){var b=vk[E],D=e.getShallow(b);D!=null&&(t[b]=D)}if(t.verticalAlign==null){var A=e.getShallow("baseline");A!=null&&(t.verticalAlign=A)}if(!u||!r.disableBox){for(var E=0;E<hk.length;E++){var b=hk[E],D=e.getShallow(b);D!=null&&(t[b]=D)}var O=e.getShallow("borderType");O!=null&&(t.borderDash=O),(t.backgroundColor==="auto"||t.backgroundColor==="inherit")&&d&&(process.env.NODE_ENV!=="production"&&t.backgroundColor==="auto"&&Br("backgroundColor: 'auto'","backgroundColor: 'inherit'"),t.backgroundColor=d),(t.borderColor==="auto"||t.borderColor==="inherit")&&d&&(process.env.NODE_ENV!=="production"&&t.borderColor==="auto"&&Br("borderColor: 'auto'","borderColor: 'inherit'"),t.borderColor=d)}}function MG(t,e){var n=e&&e.getModel("textStyle");return yl([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}var hg=jn();function RG(t,e,n,r){if(t){var a=hg(t);a.prevValue=a.value,a.value=n;var l=e.normal;a.valueAnimation=l.get("valueAnimation"),a.valueAnimation&&(a.precision=l.get("precision"),a.defaultInterpolatedText=r,a.statesModels=e)}}function AG(t,e,n,r,a){var l=hg(t);if(!l.valueAnimation||l.prevValue===l.value)return;var u=l.defaultInterpolatedText,f=kt(l.interpolatedValue,l.prevValue),d=l.value;function h(p){var m=t6(n,l.precision,f,d,p);l.interpolatedValue=p===1?null:m;var S=LT({labelDataIndex:e,labelFetcher:a,defaultText:u?u(m):m+""},l.statesModels,m);fk(t,S)}t.percent=0,(l.prevValue==null?Io:Po)(t,{percent:1},r,e,null,h)}var LG=["textStyle","color"],OT=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],kT=new ko,OG=function(){function t(){}return t.prototype.getTextColor=function(e){var n=this.ecModel;return this.getShallow("color")||(!e&&n?n.get(LG):null)},t.prototype.getFont=function(){return MG({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(e){for(var n={text:e,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},r=0;r<OT.length;r++)n[OT[r]]=this.getShallow(OT[r]);return kT.useStyle(n),kT.update(),kT.getBoundingRect()},t}();const kG=OG;var gk=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],NG=ag(gk),PG=function(){function t(){}return t.prototype.getLineStyle=function(e){return NG(this,e)},t}(),mk=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],IG=ag(mk),zG=function(){function t(){}return t.prototype.getItemStyle=function(e,n){return IG(this,e,n)},t}(),mc=function(){function t(e,n,r){this.parentModel=n,this.ecModel=r,this.option=e}return t.prototype.init=function(e,n,r){},t.prototype.mergeOption=function(e,n){cn(this.option,e,!0)},t.prototype.get=function(e,n){return e==null?this.option:this._doGet(this.parsePath(e),!n&&this.parentModel)},t.prototype.getShallow=function(e,n){var r=this.option,a=r==null?r:r[e];if(a==null&&!n){var l=this.parentModel;l&&(a=l.getShallow(e))}return a},t.prototype.getModel=function(e,n){var r=e!=null,a=r?this.parsePath(e):null,l=r?this._doGet(a):this.option;return n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(a)),new t(l,n,this.ecModel)},t.prototype.isEmpty=function(){return this.option==null},t.prototype.restoreData=function(){},t.prototype.clone=function(){var e=this.constructor;return new e(Qt(this.option))},t.prototype.parsePath=function(e){return typeof e=="string"?e.split("."):e},t.prototype.resolveParentPath=function(e){return e},t.prototype.isAnimationEnabled=function(){if(!Tt.node&&this.option){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},t.prototype._doGet=function(e,n){var r=this.option;if(!e)return r;for(var a=0;a<e.length&&!(e[a]&&(r=r&&typeof r=="object"?r[e[a]]:null,r==null));a++);return r==null&&n&&(r=n._doGet(this.resolveParentPath(e),n.parentModel)),r},t}();Hx(mc),l6(mc),ml(mc,PG),ml(mc,zG),ml(mc,d6),ml(mc,kG);const Oi=mc;var FG=Math.round(Math.random()*10);function y_(t){return[t||"",FG++].join("_")}function BG(t){var e={};t.registerSubTypeDefaulter=function(n,r){var a=Tl(n);e[a.main]=r},t.determineSubType=function(n,r){var a=r.type;if(!a){var l=Tl(n).main;t.hasSubTypes(n)&&e[l]&&(a=e[l](r))}return a}}function UG(t,e){t.topologicalTravel=function(l,u,f,d){if(!l.length)return;var h=n(u),p=h.graph,m=h.noEntryList,S={};for(W(l,function(A){S[A]=!0});m.length;){var _=m.pop(),x=p[_],E=!!S[_];E&&(f.call(d,_,x.originalDeps.slice()),delete S[_]),W(x.successor,E?D:b)}W(S,function(){var A="";throw process.env.NODE_ENV!=="production"&&(A=na("Circular dependency may exists: ",S,l,u)),new Error(A)});function b(A){p[A].entryCount--,p[A].entryCount===0&&m.push(A)}function D(A){S[A]=!0,b(A)}};function n(l){var u={},f=[];return W(l,function(d){var h=r(u,d),p=h.originalDeps=e(d),m=a(p,l);h.entryCount=m.length,h.entryCount===0&&f.push(d),W(m,function(S){dn(h.predecessor,S)<0&&h.predecessor.push(S);var _=r(u,S);dn(_.successor,S)<0&&_.successor.push(d)})}),{graph:u,noEntryList:f}}function r(l,u){return l[u]||(l[u]={predecessor:[],successor:[]}),l[u]}function a(l,u){var f=[];return W(l,function(d){dn(u,d)>=0&&f.push(d)}),f}}function VG(t,e){return cn(cn({},t,!0),e,!0)}const HG={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},GG={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};var __="ZH",NT="EN",pg=NT,S_={},PT={},yk=Tt.domSupported?function(){var t=(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase();return t.indexOf(__)>-1?__:pg}():pg;function _k(t,e){t=t.toUpperCase(),PT[t]=new Oi(e),S_[t]=e}function $G(t){if(et(t)){var e=S_[t.toUpperCase()]||{};return t===__||t===NT?Qt(e):cn(Qt(e),Qt(S_[pg]),!1)}else return cn(Qt(t),Qt(S_[pg]),!1)}function jG(t){return PT[t]}function YG(){return PT[pg]}_k(NT,HG),_k(__,GG);var IT=1e3,zT=IT*60,gg=zT*60,oo=gg*24,Sk=oo*365,mg={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},C_="{yyyy}-{MM}-{dd}",Ck={year:"{yyyy}",month:"{yyyy}-{MM}",day:C_,hour:C_+" "+mg.hour,minute:C_+" "+mg.minute,second:C_+" "+mg.second,millisecond:mg.none},FT=["year","month","day","hour","minute","second","millisecond"],wk=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function yc(t,e){return t+="","0000".substr(0,e-t.length)+t}function yv(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function WG(t){return t===yv(t)}function XG(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function w_(t,e,n,r){var a=Cu(t),l=a[BT(n)](),u=a[_v(n)]()+1,f=Math.floor((u-1)/3)+1,d=a[x_(n)](),h=a["get"+(n?"UTC":"")+"Day"](),p=a[yg(n)](),m=(p-1)%12+1,S=a[T_(n)](),_=a[b_(n)](),x=a[E_(n)](),E=r instanceof Oi?r:jG(r||yk)||YG(),b=E.getModel("time"),D=b.get("month"),A=b.get("monthAbbr"),O=b.get("dayOfWeek"),P=b.get("dayOfWeekAbbr");return(e||"").replace(/{yyyy}/g,l+"").replace(/{yy}/g,l%100+"").replace(/{Q}/g,f+"").replace(/{MMMM}/g,D[u-1]).replace(/{MMM}/g,A[u-1]).replace(/{MM}/g,yc(u,2)).replace(/{M}/g,u+"").replace(/{dd}/g,yc(d,2)).replace(/{d}/g,d+"").replace(/{eeee}/g,O[h]).replace(/{ee}/g,P[h]).replace(/{e}/g,h+"").replace(/{HH}/g,yc(p,2)).replace(/{H}/g,p+"").replace(/{hh}/g,yc(m+"",2)).replace(/{h}/g,m+"").replace(/{mm}/g,yc(S,2)).replace(/{m}/g,S+"").replace(/{ss}/g,yc(_,2)).replace(/{s}/g,_+"").replace(/{SSS}/g,yc(x,3)).replace(/{S}/g,x+"")}function qG(t,e,n,r,a){var l=null;if(et(n))l=n;else if(_t(n))l=n(t.value,e,{level:t.level});else{var u=Re({},mg);if(t.level>0)for(var f=0;f<FT.length;++f)u[FT[f]]="{primary|"+u[FT[f]]+"}";var d=n?n.inherit===!1?n:Vt(n,u):u,h=xk(t.value,a);if(d[h])l=d[h];else if(d.inherit){for(var p=wk.indexOf(h),f=p-1;f>=0;--f)if(d[h]){l=d[h];break}l=l||u.none}if(Be(l)){var m=t.level==null?0:t.level>=0?t.level:l.length+t.level;m=Math.min(m,l.length-1),l=l[m]}}return w_(new Date(t.value),l,a,r)}function xk(t,e){var n=Cu(t),r=n[_v(e)]()+1,a=n[x_(e)](),l=n[yg(e)](),u=n[T_(e)](),f=n[b_(e)](),d=n[E_(e)](),h=d===0,p=h&&f===0,m=p&&u===0,S=m&&l===0,_=S&&a===1,x=_&&r===1;return x?"year":_?"month":S?"day":m?"hour":p?"minute":h?"second":"millisecond"}function Tk(t,e,n){var r=Nn(t)?Cu(t):t;switch(e=e||xk(t,n),e){case"year":return r[BT(n)]();case"half-year":return r[_v(n)]()>=6?1:0;case"quarter":return Math.floor((r[_v(n)]()+1)/4);case"month":return r[_v(n)]();case"day":return r[x_(n)]();case"half-day":return r[yg(n)]()/24;case"hour":return r[yg(n)]();case"minute":return r[T_(n)]();case"second":return r[b_(n)]();case"millisecond":return r[E_(n)]()}}function BT(t){return t?"getUTCFullYear":"getFullYear"}function _v(t){return t?"getUTCMonth":"getMonth"}function x_(t){return t?"getUTCDate":"getDate"}function yg(t){return t?"getUTCHours":"getHours"}function T_(t){return t?"getUTCMinutes":"getMinutes"}function b_(t){return t?"getUTCSeconds":"getSeconds"}function E_(t){return t?"getUTCMilliseconds":"getMilliseconds"}function QG(t){return t?"setUTCFullYear":"setFullYear"}function bk(t){return t?"setUTCMonth":"setMonth"}function Ek(t){return t?"setUTCDate":"setDate"}function Dk(t){return t?"setUTCHours":"setHours"}function Mk(t){return t?"setUTCMinutes":"setMinutes"}function Rk(t){return t?"setUTCSeconds":"setSeconds"}function Ak(t){return t?"setUTCMilliseconds":"setMilliseconds"}function Lk(t){if(!pO(t))return et(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function Ok(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,function(n,r){return r.toUpperCase()}),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var UT=oL;function VT(t,e,n){var r="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function a(p){return p&&yl(p)?p:"-"}function l(p){return!!(p!=null&&!isNaN(p)&&isFinite(p))}var u=e==="time",f=t instanceof Date;if(u||f){var d=u?Cu(t):t;if(isNaN(+d)){if(f)return"-"}else return w_(d,r,n)}if(e==="ordinal")return T0(t)?a(t):Nn(t)&&l(t)?t+"":"-";var h=Ds(t);return l(h)?Lk(h):T0(t)?a(t):typeof t=="boolean"?t+"":"-"}var kk=["a","b","c","d","e","f","g"],HT=function(t,e){return"{"+t+(e??"")+"}"};function Nk(t,e,n){Be(e)||(e=[e]);var r=e.length;if(!r)return"";for(var a=e[0].$vars||[],l=0;l<a.length;l++){var u=kk[l];t=t.replace(HT(u),HT(u,0))}for(var f=0;f<r;f++)for(var d=0;d<a.length;d++){var h=e[f][a[d]];t=t.replace(HT(kk[d],f),n?to(h):h)}return t}function ZG(t,e){var n=et(t)?{color:t,extraCssText:e}:t||{},r=n.color,a=n.type;e=n.extraCssText;var l=n.renderMode||"html";if(!r)return"";if(l==="html")return a==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+to(r)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+to(r)+";"+(e||"")+'"></span>';var u=n.markerId||"markerX";return{renderMode:l,content:"{"+u+"|} ",style:a==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:r}:{width:10,height:10,borderRadius:5,backgroundColor:r}}}function _g(t,e){return e=e||"transparent",et(t)?t:it(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function Pk(t,e){if(e==="_blank"||e==="blank"){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}var D_=W,KG=["left","right","top","bottom","width","height"],M_=[["width","left","right"],["height","top","bottom"]];function Ik(t,e,n,r,a){var l=0,u=0;r==null&&(r=1/0),a==null&&(a=1/0);var f=0;e.eachChild(function(d,h){var p=d.getBoundingRect(),m=e.childAt(h+1),S=m&&m.getBoundingRect(),_,x;if(t==="horizontal"){var E=p.width+(S?-S.x+p.x:0);_=l+E,_>r||d.newline?(l=0,_=E,u+=f+n,f=p.height):f=Math.max(f,p.height)}else{var b=p.height+(S?-S.y+p.y:0);x=u+b,x>a||d.newline?(l+=f+n,u=0,x=b,f=p.width):f=Math.max(f,p.width)}d.newline||(d.x=l,d.y=u,d.markRedraw(),t==="horizontal"?l=_+n:u=x+n)})}Aa(Ik,"vertical"),Aa(Ik,"horizontal");function GT(t,e,n){n=UT(n||0);var r=e.width,a=e.height,l=Zr(t.left,r),u=Zr(t.top,a),f=Zr(t.right,r),d=Zr(t.bottom,a),h=Zr(t.width,r),p=Zr(t.height,a),m=n[2]+n[0],S=n[1]+n[3],_=t.aspect;switch(isNaN(h)&&(h=r-f-S-l),isNaN(p)&&(p=a-d-m-u),_!=null&&(isNaN(h)&&isNaN(p)&&(_>r/a?h=r*.8:p=a*.8),isNaN(h)&&(h=_*p),isNaN(p)&&(p=h/_)),isNaN(l)&&(l=r-f-h-S),isNaN(u)&&(u=a-d-p-m),t.left||t.right){case"center":l=r/2-h/2-n[3];break;case"right":l=r-h-S;break}switch(t.top||t.bottom){case"middle":case"center":u=a/2-p/2-n[0];break;case"bottom":u=a-p-m;break}l=l||0,u=u||0,isNaN(h)&&(h=r-S-l-(f||0)),isNaN(p)&&(p=a-m-u-(d||0));var x=new Wt(l+n[3],u+n[0],h,p);return x.margin=n,x}function Sg(t){var e=t.layoutMode||t.constructor.layoutMode;return it(e)?e:e?{type:e}:null}function Cg(t,e,n){var r=n&&n.ignoreSize;!Be(r)&&(r=[r,r]);var a=u(M_[0],0),l=u(M_[1],1);h(M_[0],t,a),h(M_[1],t,l);function u(p,m){var S={},_=0,x={},E=0,b=2;if(D_(p,function(O){x[O]=t[O]}),D_(p,function(O){f(e,O)&&(S[O]=x[O]=e[O]),d(S,O)&&_++,d(x,O)&&E++}),r[m])return d(e,p[1])?x[p[2]]=null:d(e,p[2])&&(x[p[1]]=null),x;if(E===b||!_)return x;if(_>=b)return S;for(var D=0;D<p.length;D++){var A=p[D];if(!f(S,A)&&f(t,A)){S[A]=t[A];break}}return S}function f(p,m){return p.hasOwnProperty(m)}function d(p,m){return p[m]!=null&&p[m]!=="auto"}function h(p,m,S){D_(p,function(_){m[_]=S[_]})}}function $T(t){return JG({},t)}function JG(t,e){return e&&t&&D_(KG,function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t}var e$=jn(),Sv=function(t){Pt(e,t);function e(n,r,a){var l=t.call(this,n,r,a)||this;return l.uid=y_("ec_cpt_model"),l}return e.prototype.init=function(n,r,a){this.mergeDefaultAndTheme(n,a)},e.prototype.mergeDefaultAndTheme=function(n,r){var a=Sg(this),l=a?$T(n):{},u=r.getTheme();cn(n,u.get(this.mainType)),cn(n,this.getDefaultOption()),a&&Cg(n,l,a)},e.prototype.mergeOption=function(n,r){cn(this.option,n,!0);var a=Sg(this);a&&Cg(this.option,n,a)},e.prototype.optionUpdated=function(n,r){},e.prototype.getDefaultOption=function(){var n=this.constructor;if(!i6(n))return n.defaultOption;var r=e$(this);if(!r.defaultOption){for(var a=[],l=n;l;){var u=l.prototype.defaultOption;u&&a.push(u),l=l.superClass}for(var f={},d=a.length-1;d>=0;d--)f=cn(f,a[d],!0);r.defaultOption=f}return r.defaultOption},e.prototype.getReferringComponents=function(n,r){var a=n+"Index",l=n+"Id";return ig(this.ecModel,n,{index:this.get(a,!0),id:this.get(l,!0)},r)},e.prototype.getBoxLayoutParams=function(){var n=this;return{left:n.get("left"),top:n.get("top"),right:n.get("right"),bottom:n.get("bottom"),width:n.get("width"),height:n.get("height")}},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(n){this.option.zlevel=n},e.protoInitialize=function(){var n=e.prototype;n.type="component",n.id="",n.name="",n.mainType="",n.subType="",n.componentIndex=0}(),e}(Oi);AO(Sv,Oi),K0(Sv),BG(Sv),UG(Sv,t$);function t$(t){var e=[];return W(Sv.getClassesByMainType(t),function(n){e=e.concat(n.dependencies||n.prototype.dependencies||[])}),e=ot(e,function(n){return Tl(n).main}),t!=="dataset"&&dn(e,"dataset")<=0&&e.unshift("dataset"),e}const En=Sv;var zk="";typeof navigator<"u"&&(zk=navigator.platform||"");var Cv="rgba(0, 0, 0, 0.2)";const n$={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:Cv,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Cv,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Cv,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Cv,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Cv,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Cv,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:zk.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var jT=xt(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),lo="original",ki="arrayRows",Fo="objectRows",Tu="keyedColumns",bu="typedArray",Fk="unknown",Al="column",wv="row",ka={Must:1,Might:2,Not:3},Bk=jn();function r$(t){Bk(t).datasetMap=xt()}function i$(t,e,n){var r={},a=Uk(e);if(!a||!t)return r;var l=[],u=[],f=e.ecModel,d=Bk(f).datasetMap,h=a.uid+"_"+n.seriesLayoutBy,p,m;t=t.slice(),W(t,function(E,b){var D=it(E)?E:t[b]={name:E};D.type==="ordinal"&&p==null&&(p=b,m=x(D)),r[D.name]=[]});var S=d.get(h)||d.set(h,{categoryWayDim:m,valueWayDim:0});W(t,function(E,b){var D=E.name,A=x(E);if(p==null){var O=S.valueWayDim;_(r[D],O,A),_(u,O,A),S.valueWayDim+=A}else if(p===b)_(r[D],0,A),_(l,0,A);else{var O=S.categoryWayDim;_(r[D],O,A),_(u,O,A),S.categoryWayDim+=A}});function _(E,b,D){for(var A=0;A<D;A++)E.push(b+A)}function x(E){var b=E.dimsDef;return b?b.length:1}return l.length&&(r.itemName=l),u.length&&(r.seriesName=u),r}function Uk(t){var e=t.get("data",!0);if(!e)return ig(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},Oo).models[0]}function a$(t){return!t.get("transform",!0)&&!t.get("fromTransformResult",!0)?[]:ig(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},Oo).models}function Vk(t,e){return o$(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function o$(t,e,n,r,a,l){var u,f=5;if(ea(t))return ka.Not;var d,h;if(r){var p=r[l];it(p)?(d=p.name,h=p.type):et(p)&&(d=p)}if(h!=null)return h==="ordinal"?ka.Must:ka.Not;if(e===ki){var m=t;if(n===wv){for(var S=m[l],_=0;_<(S||[]).length&&_<f;_++)if((u=P(S[a+_]))!=null)return u}else for(var _=0;_<m.length&&_<f;_++){var x=m[a+_];if(x&&(u=P(x[l]))!=null)return u}}else if(e===Fo){var E=t;if(!d)return ka.Not;for(var _=0;_<E.length&&_<f;_++){var b=E[_];if(b&&(u=P(b[d]))!=null)return u}}else if(e===Tu){var D=t;if(!d)return ka.Not;var S=D[d];if(!S||ea(S))return ka.Not;for(var _=0;_<S.length&&_<f;_++)if((u=P(S[_]))!=null)return u}else if(e===lo)for(var A=t,_=0;_<A.length&&_<f;_++){var b=A[_],O=tg(b);if(!Be(O))return ka.Not;if((u=P(O[l]))!=null)return u}function P(I){var F=et(I);if(I!=null&&isFinite(I)&&I!=="")return F?ka.Might:ka.Not;if(F&&I!=="-")return ka.Must}return ka.Not}var l$=xt();function u$(t,e,n){var r=l$.get(e);if(!r)return n;var a=r(t);if(!a)return n;if(process.env.NODE_ENV!=="production")for(var l=0;l<a.length;l++)bt(uv(a[l]));return n.concat(a)}var Hk=jn();jn();var YT=function(){function t(){}return t.prototype.getColorFromPalette=function(e,n,r){var a=rr(this.get("color",!0)),l=this.get("colorLayer",!0);return f$(this,Hk,a,l,e,n,r)},t.prototype.clearColorPalette=function(){c$(this,Hk)},t}();function s$(t,e){for(var n=t.length,r=0;r<n;r++)if(t[r].length>e)return t[r];return t[n-1]}function f$(t,e,n,r,a,l,u){l=l||t;var f=e(l),d=f.paletteIdx||0,h=f.paletteNameMap=f.paletteNameMap||{};if(h.hasOwnProperty(a))return h[a];var p=u==null||!r?n:s$(r,u);if(p=p||n,!(!p||!p.length)){var m=p[d];return a&&(h[a]=m),f.paletteIdx=(d+1)%p.length,m}}function c$(t,e){e(t).paletteIdx=0,e(t).paletteNameMap={}}var R_,wg,Gk,WT="\0_ec_inner",$k=1,d$={grid:"GridComponent",polar:"PolarComponent",geo:"GeoComponent",singleAxis:"SingleAxisComponent",parallel:"ParallelComponent",calendar:"CalendarComponent",graphic:"GraphicComponent",toolbox:"ToolboxComponent",tooltip:"TooltipComponent",axisPointer:"AxisPointerComponent",brush:"BrushComponent",title:"TitleComponent",timeline:"TimelineComponent",markPoint:"MarkPointComponent",markLine:"MarkLineComponent",markArea:"MarkAreaComponent",legend:"LegendComponent",dataZoom:"DataZoomComponent",visualMap:"VisualMapComponent",xAxis:"GridComponent",yAxis:"GridComponent",angleAxis:"PolarComponent",radiusAxis:"PolarComponent"},v$={line:"LineChart",bar:"BarChart",pie:"PieChart",scatter:"ScatterChart",radar:"RadarChart",map:"MapChart",tree:"TreeChart",treemap:"TreemapChart",graph:"GraphChart",gauge:"GaugeChart",funnel:"FunnelChart",parallel:"ParallelChart",sankey:"SankeyChart",boxplot:"BoxplotChart",candlestick:"CandlestickChart",effectScatter:"EffectScatterChart",lines:"LinesChart",heatmap:"HeatmapChart",pictorialBar:"PictorialBarChart",themeRiver:"ThemeRiverChart",sunburst:"SunburstChart",custom:"CustomChart"},A_={};function h$(t){W(t,function(e,n){if(!En.hasClass(n)){var r=d$[n];r&&!A_[r]&&(ci("Component "+n+` is used but not imported.
199
- import { `+r+` } from 'echarts/components';
200
- echarts.use([`+r+"]);"),A_[r]=!0)}})}var jk=function(t){Pt(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.init=function(n,r,a,l,u,f){l=l||{},this.option=null,this._theme=new Oi(l),this._locale=new Oi(u),this._optionManager=f},e.prototype.setOption=function(n,r,a){process.env.NODE_ENV!=="production"&&(bt(n!=null,"option is null/undefined"),bt(n[WT]!==$k,"please use chart.getOption()"));var l=Xk(r);this._optionManager.setOption(n,a,l),this._resetOption(null,l)},e.prototype.resetOption=function(n,r){return this._resetOption(n,Xk(r))},e.prototype._resetOption=function(n,r){var a=!1,l=this._optionManager;if(!n||n==="recreate"){var u=l.mountOption(n==="recreate");process.env.NODE_ENV!=="production"&&h$(u),!this.option||n==="recreate"?Gk(this,u):(this.restoreData(),this._mergeOption(u,r)),a=!0}if((n==="timeline"||n==="media")&&this.restoreData(),!n||n==="recreate"||n==="timeline"){var f=l.getTimelineOption(this);f&&(a=!0,this._mergeOption(f,r))}if(!n||n==="recreate"||n==="media"){var d=l.getMediaOption(this);d.length&&W(d,function(h){a=!0,this._mergeOption(h,r)},this)}return a},e.prototype.mergeOption=function(n){this._mergeOption(n,null)},e.prototype._mergeOption=function(n,r){var a=this.option,l=this._componentsMap,u=this._componentsCount,f=[],d=xt(),h=r&&r.replaceMergeMainTypeMap;r$(this),W(n,function(m,S){m!=null&&(En.hasClass(S)?S&&(f.push(S),d.set(S,!0)):a[S]=a[S]==null?Qt(m):cn(a[S],m,!0))}),h&&h.each(function(m,S){En.hasClass(S)&&!d.get(S)&&(f.push(S),d.set(S,!0))}),En.topologicalTravel(f,En.getAllClassMainTypes(),p,this);function p(m){var S=u$(this,m,rr(n[m])),_=l.get(m),x=_?h&&h.get(m)?"replaceMerge":"normalMerge":"replaceAll",E=G4(_,S,x);Q4(E,m,En),a[m]=null,l.set(m,null),u.set(m,0);var b=[],D=[],A=0,O,P;W(E,function(I,F){var U=I.existing,H=I.newOption;if(!H)U&&(U.mergeOption({},this),U.optionUpdated({},!1));else{var j=m==="series",X=En.getClass(m,I.keyInfo.subType,!j);if(!X){if(process.env.NODE_ENV!=="production"){var G=I.keyInfo.subType,ee=v$[G];A_[G]||(A_[G]=!0,ci(ee?"Series "+G+` is used but not imported.
201
- import { `+ee+` } from 'echarts/charts';
202
- echarts.use([`+ee+"]);":"Unknown series "+G))}return}if(m==="tooltip"){if(O){process.env.NODE_ENV!=="production"&&(P||(Fr("Currently only one tooltip component is allowed."),P=!0));return}O=!0}if(U&&U.constructor===X)U.name=I.keyInfo.name,U.mergeOption(H,this),U.optionUpdated(H,!1);else{var J=Re({componentIndex:F},I.keyInfo);U=new X(H,this,this,J),Re(U,J),I.brandNew&&(U.__requireNewView=!0),U.init(H,this,this),U.optionUpdated(null,!0)}}U?(b.push(U.option),D.push(U),A++):(b.push(void 0),D.push(void 0))},this),a[m]=b,l.set(m,D),u.set(m,A),m==="series"&&R_(this)}this._seriesIndices||R_(this)},e.prototype.getOption=function(){var n=Qt(this.option);return W(n,function(r,a){if(En.hasClass(a)){for(var l=rr(r),u=l.length,f=!1,d=u-1;d>=0;d--)l[d]&&!uv(l[d])?f=!0:(l[d]=null,!f&&u--);l.length=u,n[a]=l}}),delete n[WT],n},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(n){this._payload=n},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(n,r){var a=this._componentsMap.get(n);if(a){var l=a[r||0];if(l)return l;if(r==null){for(var u=0;u<a.length;u++)if(a[u])return a[u]}}},e.prototype.queryComponents=function(n){var r=n.mainType;if(!r)return[];var a=n.index,l=n.id,u=n.name,f=this._componentsMap.get(r);if(!f||!f.length)return[];var d;return a!=null?(d=[],W(rr(a),function(h){f[h]&&d.push(f[h])})):l!=null?d=Yk("id",l,f):u!=null?d=Yk("name",u,f):d=br(f,function(h){return!!h}),Wk(d,n)},e.prototype.findComponents=function(n){var r=n.query,a=n.mainType,l=f(r),u=l?this.queryComponents(l):br(this._componentsMap.get(a),function(h){return!!h});return d(Wk(u,n));function f(h){var p=a+"Index",m=a+"Id",S=a+"Name";return h&&(h[p]!=null||h[m]!=null||h[S]!=null)?{mainType:a,index:h[p],id:h[m],name:h[S]}:null}function d(h){return n.filter?br(h,n.filter):h}},e.prototype.eachComponent=function(n,r,a){var l=this._componentsMap;if(_t(n)){var u=r,f=n;l.each(function(m,S){for(var _=0;m&&_<m.length;_++){var x=m[_];x&&f.call(u,S,x,x.componentIndex)}})}else for(var d=et(n)?l.get(n):it(n)?this.findComponents(n):null,h=0;d&&h<d.length;h++){var p=d[h];p&&r.call(a,p,p.componentIndex)}},e.prototype.getSeriesByName=function(n){var r=xl(n,null);return br(this._componentsMap.get("series"),function(a){return!!a&&r!=null&&a.name===r})},e.prototype.getSeriesByIndex=function(n){return this._componentsMap.get("series")[n]},e.prototype.getSeriesByType=function(n){return br(this._componentsMap.get("series"),function(r){return!!r&&r.subType===n})},e.prototype.getSeries=function(){return br(this._componentsMap.get("series"),function(n){return!!n})},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(n,r){wg(this),W(this._seriesIndices,function(a){var l=this._componentsMap.get("series")[a];n.call(r,l,a)},this)},e.prototype.eachRawSeries=function(n,r){W(this._componentsMap.get("series"),function(a){a&&n.call(r,a,a.componentIndex)})},e.prototype.eachSeriesByType=function(n,r,a){wg(this),W(this._seriesIndices,function(l){var u=this._componentsMap.get("series")[l];u.subType===n&&r.call(a,u,l)},this)},e.prototype.eachRawSeriesByType=function(n,r,a){return W(this.getSeriesByType(n),r,a)},e.prototype.isSeriesFiltered=function(n){return wg(this),this._seriesIndicesMap.get(n.componentIndex)==null},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(n,r){wg(this);var a=[];W(this._seriesIndices,function(l){var u=this._componentsMap.get("series")[l];n.call(r,u,l)&&a.push(l)},this),this._seriesIndices=a,this._seriesIndicesMap=xt(a)},e.prototype.restoreData=function(n){R_(this);var r=this._componentsMap,a=[];r.each(function(l,u){En.hasClass(u)&&a.push(u)}),En.topologicalTravel(a,En.getAllClassMainTypes(),function(l){W(r.get(l),function(u){u&&(l!=="series"||!p$(u,n))&&u.restoreData()})})},e.internalField=function(){R_=function(n){var r=n._seriesIndices=[];W(n._componentsMap.get("series"),function(a){a&&r.push(a.componentIndex)}),n._seriesIndicesMap=xt(r)},wg=function(n){if(process.env.NODE_ENV!=="production"&&!n._seriesIndices)throw new Error("Option should contains series.")},Gk=function(n,r){n.option={},n.option[WT]=$k,n._componentsMap=xt({series:[]}),n._componentsCount=xt();var a=r.aria;it(a)&&a.enabled==null&&(a.enabled=!0),g$(r,n._theme.option),cn(r,n$,!1),n._mergeOption(r,null)}}(),e}(Oi);function p$(t,e){if(e){var n=e.seriesIndex,r=e.seriesId,a=e.seriesName;return n!=null&&t.componentIndex!==n||r!=null&&t.id!==r||a!=null&&t.name!==a}}function g$(t,e){var n=t.color&&!t.colorLayer;W(e,function(r,a){a==="colorLayer"&&n||En.hasClass(a)||(typeof r=="object"?t[a]=t[a]?cn(t[a],r,!1):Qt(r):t[a]==null&&(t[a]=r))})}function Yk(t,e,n){if(Be(e)){var r=xt();return W(e,function(l){if(l!=null){var u=xl(l,null);u!=null&&r.set(l,!0)}}),br(n,function(l){return l&&r.get(l[t])})}else{var a=xl(e,null);return br(n,function(l){return l&&a!=null&&l[t]===a})}}function Wk(t,e){return e.hasOwnProperty("subType")?br(t,function(n){return n&&n.subType===e.subType}):t}function Xk(t){var e=xt();return t&&W(rr(t.replaceMerge),function(n){process.env.NODE_ENV!=="production"&&bt(En.hasClass(n),'"'+n+'" is not valid component main type in "replaceMerge"'),e.set(n,!0)}),{replaceMergeMainTypeMap:e}}ml(jk,YT);const qk=jk;var m$=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],y$=function(){function t(e){W(m$,function(n){this[n]=Qn(e[n],e)},this)}return t}();const Qk=y$;var XT={},_$=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(e,n){var r=[];W(XT,function(a,l){var u=a.create(e,n);r=r.concat(u||[])}),this._coordinateSystems=r},t.prototype.update=function(e,n){W(this._coordinateSystems,function(r){r.update&&r.update(e,n)})},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(e,n){XT[e]=n},t.get=function(e){return XT[e]},t}();const qT=_$;var S$=/^(min|max)?(.+)$/,C$=function(){function t(e){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=e}return t.prototype.setOption=function(e,n,r){e&&(W(rr(e.series),function(u){u&&u.data&&ea(u.data)&&E0(u.data)}),W(rr(e.dataset),function(u){u&&u.source&&ea(u.source)&&E0(u.source)})),e=Qt(e);var a=this._optionBackup,l=w$(e,n,!a);this._newBaseOption=l.baseOption,a?(l.timelineOptions.length&&(a.timelineOptions=l.timelineOptions),l.mediaList.length&&(a.mediaList=l.mediaList),l.mediaDefault&&(a.mediaDefault=l.mediaDefault)):this._optionBackup=l},t.prototype.mountOption=function(e){var n=this._optionBackup;return this._timelineOptions=n.timelineOptions,this._mediaList=n.mediaList,this._mediaDefault=n.mediaDefault,this._currentMediaIndices=[],Qt(e?n.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(e){var n,r=this._timelineOptions;if(r.length){var a=e.getComponent("timeline");a&&(n=Qt(r[a.getCurrentIndex()]))}return n},t.prototype.getMediaOption=function(e){var n=this._api.getWidth(),r=this._api.getHeight(),a=this._mediaList,l=this._mediaDefault,u=[],f=[];if(!a.length&&!l)return f;for(var d=0,h=a.length;d<h;d++)x$(a[d].query,n,r)&&u.push(d);return!u.length&&l&&(u=[-1]),u.length&&!b$(u,this._currentMediaIndices)&&(f=ot(u,function(p){return Qt(p===-1?l.option:a[p].option)})),this._currentMediaIndices=u,f},t}();function w$(t,e,n){var r=[],a,l,u=t.baseOption,f=t.timeline,d=t.options,h=t.media,p=!!t.media,m=!!(d||f||u&&u.timeline);u?(l=u,l.timeline||(l.timeline=f)):((m||p)&&(t.options=t.media=null),l=t),p&&(Be(h)?W(h,function(_){process.env.NODE_ENV!=="production"&&_&&!_.option&&it(_.query)&&it(_.query.option)&&ci("Illegal media option. Must be like { media: [ { query: {}, option: {} } ] }"),_&&_.option&&(_.query?r.push(_):a||(a=_))}):process.env.NODE_ENV!=="production"&&ci("Illegal media option. Must be an array. Like { media: [ {...}, {...} ] }")),S(l),W(d,function(_){return S(_)}),W(r,function(_){return S(_.option)});function S(_){W(e,function(x){x(_,n)})}return{baseOption:l,timelineOptions:d||[],mediaDefault:a,mediaList:r}}function x$(t,e,n){var r={width:e,height:n,aspectratio:e/n},a=!0;return W(t,function(l,u){var f=u.match(S$);if(!(!f||!f[1]||!f[2])){var d=f[1],h=f[2].toLowerCase();T$(r[h],l,d)||(a=!1)}}),a}function T$(t,e,n){return n==="min"?t>=e:n==="max"?t<=e:t===e}function b$(t,e){return t.join(",")===e.join(",")}const E$=C$;var uo=W,xg=it,Zk=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function QT(t){var e=t&&t.itemStyle;if(e)for(var n=0,r=Zk.length;n<r;n++){var a=Zk[n],l=e.normal,u=e.emphasis;l&&l[a]&&(process.env.NODE_ENV!=="production"&&Br("itemStyle.normal."+a,a),t[a]=t[a]||{},t[a].normal?cn(t[a].normal,l[a]):t[a].normal=l[a],l[a]=null),u&&u[a]&&(process.env.NODE_ENV!=="production"&&Br("itemStyle.emphasis."+a,"emphasis."+a),t[a]=t[a]||{},t[a].emphasis?cn(t[a].emphasis,u[a]):t[a].emphasis=u[a],u[a]=null)}}function vi(t,e,n){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var r=t[e].normal,a=t[e].emphasis;r&&(process.env.NODE_ENV!=="production"&&wl("'normal' hierarchy in "+e+" has been removed since 4.0. All style properties are configured in "+e+" directly now."),n?(t[e].normal=t[e].emphasis=null,Vt(t[e],r)):t[e]=r),a&&(process.env.NODE_ENV!=="production"&&wl(e+".emphasis has been changed to emphasis."+e+" since 4.0"),t.emphasis=t.emphasis||{},t.emphasis[e]=a,a.focus&&(t.emphasis.focus=a.focus),a.blurScope&&(t.emphasis.blurScope=a.blurScope))}}function Tg(t){vi(t,"itemStyle"),vi(t,"lineStyle"),vi(t,"areaStyle"),vi(t,"label"),vi(t,"labelLine"),vi(t,"upperLabel"),vi(t,"edgeLabel")}function ir(t,e){var n=xg(t)&&t[e],r=xg(n)&&n.textStyle;if(r){process.env.NODE_ENV!=="production"&&wl("textStyle hierarchy in "+e+" has been removed since 4.0. All textStyle properties are configured in "+e+" directly now.");for(var a=0,l=xO.length;a<l;a++){var u=xO[a];r.hasOwnProperty(u)&&(n[u]=r[u])}}}function so(t){t&&(Tg(t),ir(t,"label"),t.emphasis&&ir(t.emphasis,"label"))}function D$(t){if(xg(t)){QT(t),Tg(t),ir(t,"label"),ir(t,"upperLabel"),ir(t,"edgeLabel"),t.emphasis&&(ir(t.emphasis,"label"),ir(t.emphasis,"upperLabel"),ir(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(QT(e),so(e));var n=t.markLine;n&&(QT(n),so(n));var r=t.markArea;r&&so(r);var a=t.data;if(t.type==="graph"){a=a||t.nodes;var l=t.links||t.edges;if(l&&!ea(l))for(var u=0;u<l.length;u++)so(l[u]);W(t.categories,function(h){Tg(h)})}if(a&&!ea(a))for(var u=0;u<a.length;u++)so(a[u]);if(e=t.markPoint,e&&e.data)for(var f=e.data,u=0;u<f.length;u++)so(f[u]);if(n=t.markLine,n&&n.data)for(var d=n.data,u=0;u<d.length;u++)Be(d[u])?(so(d[u][0]),so(d[u][1])):so(d[u]);t.type==="gauge"?(ir(t,"axisLabel"),ir(t,"title"),ir(t,"detail")):t.type==="treemap"?(vi(t.breadcrumb,"itemStyle"),W(t.levels,function(h){Tg(h)})):t.type==="tree"&&Tg(t.leaves)}}function Eu(t){return Be(t)?t:t?[t]:[]}function Kk(t){return(Be(t)?t[0]:t)||{}}function M$(t,e){uo(Eu(t.series),function(r){xg(r)&&D$(r)});var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),uo(n,function(r){uo(Eu(t[r]),function(a){a&&(ir(a,"axisLabel"),ir(a.axisPointer,"label"))})}),uo(Eu(t.parallel),function(r){var a=r&&r.parallelAxisDefault;ir(a,"axisLabel"),ir(a&&a.axisPointer,"label")}),uo(Eu(t.calendar),function(r){vi(r,"itemStyle"),ir(r,"dayLabel"),ir(r,"monthLabel"),ir(r,"yearLabel")}),uo(Eu(t.radar),function(r){ir(r,"name"),r.name&&r.axisName==null&&(r.axisName=r.name,delete r.name,process.env.NODE_ENV!=="production"&&wl("name property in radar component has been changed to axisName")),r.nameGap!=null&&r.axisNameGap==null&&(r.axisNameGap=r.nameGap,delete r.nameGap,process.env.NODE_ENV!=="production"&&wl("nameGap property in radar component has been changed to axisNameGap")),process.env.NODE_ENV!=="production"&&uo(r.indicator,function(a){a.text&&Br("text","name","radar.indicator")})}),uo(Eu(t.geo),function(r){xg(r)&&(so(r),uo(Eu(r.regions),function(a){so(a)}))}),uo(Eu(t.timeline),function(r){so(r),vi(r,"label"),vi(r,"itemStyle"),vi(r,"controlStyle",!0);var a=r.data;Be(a)&&W(a,function(l){it(l)&&(vi(l,"label"),vi(l,"itemStyle"))})}),uo(Eu(t.toolbox),function(r){vi(r,"iconStyle"),uo(r.feature,function(a){vi(a,"iconStyle")})}),ir(Kk(t.axisPointer),"label"),ir(Kk(t.tooltip).axisPointer,"label")}function R$(t,e){for(var n=e.split(","),r=t,a=0;a<n.length&&(r=r&&r[n[a]],r!=null);a++);return r}function A$(t,e,n,r){for(var a=e.split(","),l=t,u,f=0;f<a.length-1;f++)u=a[f],l[u]==null&&(l[u]={}),l=l[u];(r||l[a[f]]==null)&&(l[a[f]]=n)}function Jk(t){t&&W(L$,function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])})}var L$=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],O$=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],ZT=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function bg(t){var e=t&&t.itemStyle;if(e)for(var n=0;n<ZT.length;n++){var r=ZT[n][1],a=ZT[n][0];e[r]!=null&&(e[a]=e[r],process.env.NODE_ENV!=="production"&&Br(r,a))}}function eN(t){t&&t.alignTo==="edge"&&t.margin!=null&&t.edgeDistance==null&&(process.env.NODE_ENV!=="production"&&Br("label.margin","label.edgeDistance","pie"),t.edgeDistance=t.margin)}function tN(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay,process.env.NODE_ENV!=="production"&&Br("downplay","blur","sunburst"))}function k$(t){t&&t.focusNodeAdjacency!=null&&(t.emphasis=t.emphasis||{},t.emphasis.focus==null&&(process.env.NODE_ENV!=="production"&&Br("focusNodeAdjacency","emphasis: { focus: 'adjacency'}","graph/sankey"),t.emphasis.focus="adjacency"))}function nN(t,e){if(t)for(var n=0;n<t.length;n++)e(t[n]),t[n]&&nN(t[n].children,e)}function rN(t,e){M$(t,e),t.series=rr(t.series),W(t.series,function(n){if(it(n)){var r=n.type;if(r==="line")n.clipOverflow!=null&&(n.clip=n.clipOverflow,process.env.NODE_ENV!=="production"&&Br("clipOverflow","clip","line"));else if(r==="pie"||r==="gauge"){n.clockWise!=null&&(n.clockwise=n.clockWise,process.env.NODE_ENV!=="production"&&Br("clockWise","clockwise")),eN(n.label);var a=n.data;if(a&&!ea(a))for(var l=0;l<a.length;l++)eN(a[l]);n.hoverOffset!=null&&(n.emphasis=n.emphasis||{},(n.emphasis.scaleSize=null)&&(process.env.NODE_ENV!=="production"&&Br("hoverOffset","emphasis.scaleSize"),n.emphasis.scaleSize=n.hoverOffset))}else if(r==="gauge"){var u=R$(n,"pointer.color");u!=null&&A$(n,"itemStyle.color",u)}else if(r==="bar"){bg(n),bg(n.backgroundStyle),bg(n.emphasis);var a=n.data;if(a&&!ea(a))for(var l=0;l<a.length;l++)typeof a[l]=="object"&&(bg(a[l]),bg(a[l]&&a[l].emphasis))}else if(r==="sunburst"){var f=n.highlightPolicy;f&&(n.emphasis=n.emphasis||{},n.emphasis.focus||(n.emphasis.focus=f,process.env.NODE_ENV!=="production"&&Br("highlightPolicy","emphasis.focus","sunburst"))),tN(n),nN(n.data,tN)}else r==="graph"||r==="sankey"?k$(n):r==="map"&&(n.mapType&&!n.map&&(process.env.NODE_ENV!=="production"&&Br("mapType","map","map"),n.map=n.mapType),n.mapLocation&&(process.env.NODE_ENV!=="production"&&wl("`mapLocation` is not used anymore."),Vt(n,n.mapLocation)));n.hoverAnimation!=null&&(n.emphasis=n.emphasis||{},n.emphasis&&n.emphasis.scale==null&&(process.env.NODE_ENV!=="production"&&Br("hoverAnimation","emphasis.scale"),n.emphasis.scale=n.hoverAnimation)),Jk(n)}}),t.dataRange&&(t.visualMap=t.dataRange),W(O$,function(n){var r=t[n];r&&(Be(r)||(r=[r]),W(r,function(a){Jk(a)}))})}function N$(t){var e=xt();t.eachSeries(function(n){var r=n.get("stack");if(r){var a=e.get(r)||e.set(r,[]),l=n.getData(),u={stackResultDimension:l.getCalculationInfo("stackResultDimension"),stackedOverDimension:l.getCalculationInfo("stackedOverDimension"),stackedDimension:l.getCalculationInfo("stackedDimension"),stackedByDimension:l.getCalculationInfo("stackedByDimension"),isStackedByIndex:l.getCalculationInfo("isStackedByIndex"),data:l,seriesModel:n};if(!u.stackedDimension||!(u.isStackedByIndex||u.stackedByDimension))return;a.length&&l.setCalculationInfo("stackedOnSeries",a[a.length-1].seriesModel),a.push(u)}}),e.each(P$)}function P$(t){W(t,function(e,n){var r=[],a=[NaN,NaN],l=[e.stackResultDimension,e.stackedOverDimension],u=e.data,f=e.isStackedByIndex,d=e.seriesModel.get("stackStrategy")||"samesign";u.modify(l,function(h,p,m){var S=u.get(e.stackedDimension,m);if(isNaN(S))return a;var _,x;f?x=u.getRawIndex(m):_=u.get(e.stackedByDimension,m);for(var E=NaN,b=n-1;b>=0;b--){var D=t[b];if(f||(x=D.data.rawIndexOf(D.stackedByDimension,_)),x>=0){var A=D.data.getByRawIndex(D.stackResultDimension,x);if(d==="all"||d==="positive"&&A>0||d==="negative"&&A<0||d==="samesign"&&S>=0&&A>0||d==="samesign"&&S<=0&&A<0){S=P4(S,A),E=A;break}}}return r[0]=S,r[1]=E,r})})}var L_=function(){function t(e){this.data=e.data||(e.sourceFormat===Tu?{}:[]),this.sourceFormat=e.sourceFormat||Fk,this.seriesLayoutBy=e.seriesLayoutBy||Al,this.startIndex=e.startIndex||0,this.dimensionsDetectedCount=e.dimensionsDetectedCount,this.metaRawOption=e.metaRawOption;var n=this.dimensionsDefine=e.dimensionsDefine;if(n)for(var r=0;r<n.length;r++){var a=n[r];a.type==null&&Vk(this,r)===ka.Must&&(a.type="ordinal")}}return t}();function KT(t){return t instanceof L_}function JT(t,e,n){n=n||iN(t);var r=e.seriesLayoutBy,a=z$(t,n,r,e.sourceHeader,e.dimensions),l=new L_({data:t,sourceFormat:n,seriesLayoutBy:r,dimensionsDefine:a.dimensionsDefine,startIndex:a.startIndex,dimensionsDetectedCount:a.dimensionsDetectedCount,metaRawOption:Qt(e)});return l}function eb(t){return new L_({data:t,sourceFormat:ea(t)?bu:lo})}function I$(t){return new L_({data:t.data,sourceFormat:t.sourceFormat,seriesLayoutBy:t.seriesLayoutBy,dimensionsDefine:Qt(t.dimensionsDefine),startIndex:t.startIndex,dimensionsDetectedCount:t.dimensionsDetectedCount})}function iN(t){var e=Fk;if(ea(t))e=bu;else if(Be(t)){t.length===0&&(e=ki);for(var n=0,r=t.length;n<r;n++){var a=t[n];if(a!=null){if(Be(a)){e=ki;break}else if(it(a)){e=Fo;break}}}}else if(it(t)){for(var l in t)if(yu(t,l)&&Ai(t[l])){e=Tu;break}}return e}function z$(t,e,n,r,a){var l,u;if(!t)return{dimensionsDefine:aN(a),startIndex:u,dimensionsDetectedCount:l};if(e===ki){var f=t;r==="auto"||r==null?oN(function(h){h!=null&&h!=="-"&&(et(h)?u==null&&(u=1):u=0)},n,f,10):u=Nn(r)?r:r?1:0,!a&&u===1&&(a=[],oN(function(h,p){a[p]=h!=null?h+"":""},n,f,1/0)),l=a?a.length:n===wv?f.length:f[0]?f[0].length:null}else if(e===Fo)a||(a=F$(t));else if(e===Tu)a||(a=[],W(t,function(h,p){a.push(p)}));else if(e===lo){var d=tg(t[0]);l=Be(d)&&d.length||1}else e===bu&&process.env.NODE_ENV!=="production"&&bt(!!a,"dimensions must be given if data is TypedArray.");return{startIndex:u,dimensionsDefine:aN(a),dimensionsDetectedCount:l}}function F$(t){for(var e=0,n;e<t.length&&!(n=t[e++]););if(n){var r=[];return W(n,function(a,l){r.push(l)}),r}}function aN(t){if(t){var e=xt();return ot(t,function(n,r){n=it(n)?n:{name:n};var a={name:n.name,displayName:n.displayName,type:n.type};if(a.name==null)return a;a.name+="",a.displayName==null&&(a.displayName=a.name);var l=e.get(a.name);return l?a.name+="-"+l.count++:e.set(a.name,{count:1}),a})}}function oN(t,e,n,r){if(e===wv)for(var a=0;a<n.length&&a<r;a++)t(n[a]?n[a][0]:null,a);else for(var l=n[0]||[],a=0;a<l.length&&a<r;a++)t(l[a],a)}function lN(t){var e=t.sourceFormat;return e===Fo||e===Tu}var _c,Sc,Cc,uN,sN,fN=function(){function t(e,n){var r=KT(e)?e:eb(e);this._source=r;var a=this._data=r.data;if(r.sourceFormat===bu){if(process.env.NODE_ENV!=="production"&&n==null)throw new Error("Typed array data must specify dimension size");this._offset=0,this._dimSize=n,this._data=a}sN(this,a,r)}return t.prototype.getSource=function(){return this._source},t.prototype.count=function(){return 0},t.prototype.getItem=function(e,n){},t.prototype.appendData=function(e){},t.prototype.clean=function(){},t.protoInitialize=function(){var e=t.prototype;e.pure=!1,e.persistent=!0}(),t.internalField=function(){var e;sN=function(u,f,d){var h=d.sourceFormat,p=d.seriesLayoutBy,m=d.startIndex,S=d.dimensionsDefine,_=uN[nb(h,p)];if(process.env.NODE_ENV!=="production"&&bt(_,"Invalide sourceFormat: "+h),Re(u,_),h===bu)u.getItem=n,u.count=a,u.fillStorage=r;else{var x=dN(h,p);u.getItem=Qn(x,null,f,m,S);var E=hN(h,p);u.count=Qn(E,null,f,m,S)}};var n=function(u,f){u=u-this._offset,f=f||[];for(var d=this._data,h=this._dimSize,p=h*u,m=0;m<h;m++)f[m]=d[p+m];return f},r=function(u,f,d,h){for(var p=this._data,m=this._dimSize,S=0;S<m;S++){for(var _=h[S],x=_[0]==null?1/0:_[0],E=_[1]==null?-1/0:_[1],b=f-u,D=d[S],A=0;A<b;A++){var O=p[A*m+S];D[u+A]=O,O<x&&(x=O),O>E&&(E=O)}_[0]=x,_[1]=E}},a=function(){return this._data?this._data.length/this._dimSize:0};uN=(e={},e[ki+"_"+Al]={pure:!0,appendData:l},e[ki+"_"+wv]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},e[Fo]={pure:!0,appendData:l},e[Tu]={pure:!0,appendData:function(u){var f=this._data;W(u,function(d,h){for(var p=f[h]||(f[h]=[]),m=0;m<(d||[]).length;m++)p.push(d[m])})}},e[lo]={appendData:l},e[bu]={persistent:!1,pure:!0,appendData:function(u){process.env.NODE_ENV!=="production"&&bt(ea(u),"Added data must be TypedArray if data in initialization is TypedArray"),this._data=u},clean:function(){this._offset+=this.count(),this._data=null}},e);function l(u){for(var f=0;f<u.length;f++)this._data.push(u[f])}}(),t}(),cN=function(t,e,n,r){return t[r]},B$=(_c={},_c[ki+"_"+Al]=function(t,e,n,r){return t[r+e]},_c[ki+"_"+wv]=function(t,e,n,r,a){r+=e;for(var l=a||[],u=t,f=0;f<u.length;f++){var d=u[f];l[f]=d?d[r]:null}return l},_c[Fo]=cN,_c[Tu]=function(t,e,n,r,a){for(var l=a||[],u=0;u<n.length;u++){var f=n[u].name;if(process.env.NODE_ENV!=="production"&&f==null)throw new Error;var d=t[f];l[u]=d?d[r]:null}return l},_c[lo]=cN,_c);function dN(t,e){var n=B$[nb(t,e)];return process.env.NODE_ENV!=="production"&&bt(n,'Do not support get item on "'+t+'", "'+e+'".'),n}var vN=function(t,e,n){return t.length},U$=(Sc={},Sc[ki+"_"+Al]=function(t,e,n){return Math.max(0,t.length-e)},Sc[ki+"_"+wv]=function(t,e,n){var r=t[0];return r?Math.max(0,r.length-e):0},Sc[Fo]=vN,Sc[Tu]=function(t,e,n){var r=n[0].name;if(process.env.NODE_ENV!=="production"&&r==null)throw new Error;var a=t[r];return a?a.length:0},Sc[lo]=vN,Sc);function hN(t,e){var n=U$[nb(t,e)];return process.env.NODE_ENV!=="production"&&bt(n,'Do not support count on "'+t+'", "'+e+'".'),n}var tb=function(t,e,n){return t[e]},V$=(Cc={},Cc[ki]=tb,Cc[Fo]=function(t,e,n){return t[n]},Cc[Tu]=tb,Cc[lo]=function(t,e,n){var r=tg(t);return r instanceof Array?r[e]:r},Cc[bu]=tb,Cc);function pN(t){var e=V$[t];return process.env.NODE_ENV!=="production"&&bt(e,'Do not support get value on "'+t+'".'),e}function nb(t,e){return t===ki?t+"_"+e:t}function xv(t,e,n){if(t){var r=t.getRawDataItem(e);if(r!=null){var a=t.getStore(),l=a.getSource().sourceFormat;if(n!=null){var u=t.getDimensionIndex(n),f=a.getDimensionProperty(u);return pN(l)(r,u,f)}else{var d=r;return l===lo&&(d=tg(r)),d}}}}var H$=/\{@(.+?)\}/g,G$=function(){function t(){}return t.prototype.getDataParams=function(e,n){var r=this.getData(n),a=this.getRawValue(e,n),l=r.getRawIndex(e),u=r.getName(e),f=r.getRawDataItem(e),d=r.getItemVisual(e,"style"),h=d&&d[r.getItemVisual(e,"drawType")||"fill"],p=d&&d.stroke,m=this.mainType,S=m==="series",_=r.userOutput&&r.userOutput.get();return{componentType:m,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:S?this.subType:null,seriesIndex:this.seriesIndex,seriesId:S?this.id:null,seriesName:S?this.name:null,name:u,dataIndex:l,data:f,dataType:n,value:a,color:h,borderColor:p,dimensionNames:_?_.fullDimensions:null,encode:_?_.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(e,n,r,a,l,u){n=n||"normal";var f=this.getData(r),d=this.getDataParams(e,r);if(u&&(d.value=u.interpolatedValue),a!=null&&Be(d.value)&&(d.value=d.value[a]),!l){var h=f.getItemModel(e);l=h.get(n==="normal"?["label","formatter"]:[n,"label","formatter"])}if(_t(l))return d.status=n,d.dimensionIndex=a,l(d);if(et(l)){var p=Nk(l,d);return p.replace(H$,function(m,S){var _=S.length,x=S;x.charAt(0)==="["&&x.charAt(_-1)==="]"&&(x=+x.slice(1,_-1),process.env.NODE_ENV!=="production"&&isNaN(x)&&ci("Invalide label formatter: @"+S+", only support @[0], @[1], @[2], ..."));var E=xv(f,e,x);if(u&&Be(u.interpolatedValue)){var b=f.getDimensionIndex(x);b>=0&&(E=u.interpolatedValue[b])}return E!=null?E+"":""})}},t.prototype.getRawValue=function(e,n){return xv(this.getData(n),e)},t.prototype.formatTooltip=function(e,n,r){},t}();function gN(t){var e,n;return it(t)?t.type?n=t:process.env.NODE_ENV!=="production"&&console.warn("The return type of `formatTooltip` is not supported: "+na(t)):e=t,{text:e,frag:n}}function Eg(t){return new $$(t)}var $$=function(){function t(e){e=e||{},this._reset=e.reset,this._plan=e.plan,this._count=e.count,this._onDirty=e.onDirty,this._dirty=!0}return t.prototype.perform=function(e){var n=this._upstream,r=e&&e.skip;if(this._dirty&&n){var a=this.context;a.data=a.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var l;this._plan&&!r&&(l=this._plan(this.context));var u=p(this._modBy),f=this._modDataCount||0,d=p(e&&e.modBy),h=e&&e.modDataCount||0;(u!==d||f!==h)&&(l="reset");function p(A){return!(A>=1)&&(A=1),A}var m;(this._dirty||l==="reset")&&(this._dirty=!1,m=this._doReset(r)),this._modBy=d,this._modDataCount=h;var S=e&&e.step;if(n?(process.env.NODE_ENV!=="production"&&bt(n._outputDueEnd!=null),this._dueEnd=n._outputDueEnd):(process.env.NODE_ENV!=="production"&&bt(!this._progress||this._count),this._dueEnd=this._count?this._count(this.context):1/0),this._progress){var _=this._dueIndex,x=Math.min(S!=null?this._dueIndex+S:1/0,this._dueEnd);if(!r&&(m||_<x)){var E=this._progress;if(Be(E))for(var b=0;b<E.length;b++)this._doProgress(E[b],_,x,d,h);else this._doProgress(E,_,x,d,h)}this._dueIndex=x;var D=this._settedOutputEnd!=null?this._settedOutputEnd:x;process.env.NODE_ENV!=="production"&&bt(D>=this._outputDueEnd),this._outputDueEnd=D}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()},t.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},t.prototype._doProgress=function(e,n,r,a,l){mN.reset(n,r,a,l),this._callingProgress=e,this._callingProgress({start:n,end:r,count:r-n,next:mN.next},this.context)},t.prototype._doReset=function(e){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null;var n,r;!e&&this._reset&&(n=this._reset(this.context),n&&n.progress&&(r=n.forceFirstProgress,n=n.progress),Be(n)&&!n.length&&(n=null)),this._progress=n,this._modBy=this._modDataCount=null;var a=this._downstream;return a&&a.dirty(),r},t.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},t.prototype.pipe=function(e){process.env.NODE_ENV!=="production"&&bt(e&&!e._disposed&&e!==this),(this._downstream!==e||this._dirty)&&(this._downstream=e,e._upstream=this,e.dirty())},t.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},t.prototype.getUpstream=function(){return this._upstream},t.prototype.getDownstream=function(){return this._downstream},t.prototype.setOutputEnd=function(e){this._outputDueEnd=this._settedOutputEnd=e},t}(),mN=function(){var t,e,n,r,a,l={reset:function(d,h,p,m){e=d,t=h,n=p,r=m,a=Math.ceil(r/n),l.next=n>1&&r>0?f:u}};return l;function u(){return e<t?e++:null}function f(){var d=e%a*n+Math.ceil(e/a),h=e>=t?null:d<r?d:e;return e++,h}}();function O_(t,e){var n=e&&e.type;return n==="ordinal"?t:(n==="time"&&!Nn(t)&&t!=null&&t!=="-"&&(t=+Cu(t)),t==null||t===""?NaN:+t)}var j$=xt({number:function(t){return parseFloat(t)},time:function(t){return+Cu(t)},trim:function(t){return et(t)?yl(t):t}});function yN(t){return j$.get(t)}var _N={lt:function(t,e){return t<e},lte:function(t,e){return t<=e},gt:function(t,e){return t>e},gte:function(t,e){return t>=e}},Y$=function(){function t(e,n){if(!Nn(n)){var r="";process.env.NODE_ENV!=="production"&&(r='rvalue of "<", ">", "<=", ">=" can only be number in filter.'),Ht(r)}this._opFn=_N[e],this._rvalFloat=Ds(n)}return t.prototype.evaluate=function(e){return Nn(e)?this._opFn(e,this._rvalFloat):this._opFn(Ds(e),this._rvalFloat)},t}(),SN=function(){function t(e,n){var r=e==="desc";this._resultLT=r?1:-1,n==null&&(n=r?"min":"max"),this._incomparable=n==="min"?-1/0:1/0}return t.prototype.evaluate=function(e,n){var r=Nn(e)?e:Ds(e),a=Nn(n)?n:Ds(n),l=isNaN(r),u=isNaN(a);if(l&&(r=this._incomparable),u&&(a=this._incomparable),l&&u){var f=et(e),d=et(n);f&&(r=d?e:0),d&&(a=f?n:0)}return r<a?this._resultLT:r>a?-this._resultLT:0},t}(),W$=function(){function t(e,n){this._rval=n,this._isEQ=e,this._rvalTypeof=typeof n,this._rvalFloat=Ds(n)}return t.prototype.evaluate=function(e){var n=e===this._rval;if(!n){var r=typeof e;r!==this._rvalTypeof&&(r==="number"||this._rvalTypeof==="number")&&(n=Ds(e)===this._rvalFloat)}return this._isEQ?n:!n},t}();function X$(t,e){return t==="eq"||t==="ne"?new W$(t==="eq",e):yu(_N,t)?new Y$(t,e):null}var q$=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(e){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(e){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(e,n){},t.prototype.retrieveValueFromItem=function(e,n){},t.prototype.convertValue=function(e,n){return O_(e,n)},t}();function Q$(t,e){var n=new q$,r=t.data,a=n.sourceFormat=t.sourceFormat,l=t.startIndex,u="";t.seriesLayoutBy!==Al&&(process.env.NODE_ENV!=="production"&&(u='`seriesLayoutBy` of upstream dataset can only be "column" in data transform.'),Ht(u));var f=[],d={},h=t.dimensionsDefine;if(h)W(h,function(E,b){var D=E.name,A={index:b,name:D,displayName:E.displayName};if(f.push(A),D!=null){var O="";yu(d,D)&&(process.env.NODE_ENV!=="production"&&(O='dimension name "'+D+'" duplicated.'),Ht(O)),d[D]=A}});else for(var p=0;p<t.dimensionsDetectedCount;p++)f.push({index:p});var m=dN(a,Al);e.__isBuiltIn&&(n.getRawDataItem=function(E){return m(r,l,f,E)},n.getRawData=Qn(Z$,null,t)),n.cloneRawData=Qn(K$,null,t);var S=hN(a,Al);n.count=Qn(S,null,r,l,f);var _=pN(a);n.retrieveValue=function(E,b){var D=m(r,l,f,E);return x(D,b)};var x=n.retrieveValueFromItem=function(E,b){if(E!=null){var D=f[b];if(D)return _(E,b,D.name)}};return n.getDimensionInfo=Qn(J$,null,f,d),n.cloneAllDimensionInfo=Qn(e9,null,f),n}function Z$(t){var e=t.sourceFormat;if(!rb(e)){var n="";process.env.NODE_ENV!=="production"&&(n="`getRawData` is not supported in source format "+e),Ht(n)}return t.data}function K$(t){var e=t.sourceFormat,n=t.data;if(!rb(e)){var r="";process.env.NODE_ENV!=="production"&&(r="`cloneRawData` is not supported in source format "+e),Ht(r)}if(e===ki){for(var a=[],l=0,u=n.length;l<u;l++)a.push(n[l].slice());return a}else if(e===Fo){for(var a=[],l=0,u=n.length;l<u;l++)a.push(Re({},n[l]));return a}}function J$(t,e,n){if(n!=null){if(Nn(n)||!isNaN(n)&&!yu(e,n))return t[n];if(yu(e,n))return e[n]}}function e9(t){return Qt(t)}var CN=xt();function t9(t){t=Qt(t);var e=t.type,n="";e||(process.env.NODE_ENV!=="production"&&(n="Must have a `type` when `registerTransform`."),Ht(n));var r=e.split(":");r.length!==2&&(process.env.NODE_ENV!=="production"&&(n='Name must include namespace like "ns:regression".'),Ht(n));var a=!1;r[0]==="echarts"&&(e=r[1],a=!0),t.__isBuiltIn=a,CN.set(e,t)}function n9(t,e,n){var r=rr(t),a=r.length,l="";a||(process.env.NODE_ENV!=="production"&&(l="If `transform` declared, it should at least contain one transform."),Ht(l));for(var u=0,f=a;u<f;u++){var d=r[u];e=r9(d,e,n,a===1?null:u),u!==f-1&&(e.length=Math.max(e.length,1))}return e}function r9(t,e,n,r){var a="";e.length||(process.env.NODE_ENV!=="production"&&(a="Must have at least one upstream dataset."),Ht(a)),it(t)||(process.env.NODE_ENV!=="production"&&(a="transform declaration must be an object rather than "+typeof t+"."),Ht(a));var l=t.type,u=CN.get(l);u||(process.env.NODE_ENV!=="production"&&(a='Can not find transform on type "'+l+'".'),Ht(a));var f=ot(e,function(p){return Q$(p,u)}),d=rr(u.transform({upstream:f[0],upstreamList:f,config:Qt(t.config)}));if(process.env.NODE_ENV!=="production"&&t.print){var h=ot(d,function(p){var m=r!=null?" === pipe index: "+r:"";return["=== dataset index: "+n.datasetIndex+m+" ===","- transform result data:",na(p.data),"- transform result dimensions:",na(p.dimensions)].join(`
203
- `)}).join(`
204
- `);U4(h)}return ot(d,function(p,m){var S="";it(p)||(process.env.NODE_ENV!=="production"&&(S="A transform should not return some empty results."),Ht(S)),p.data||(process.env.NODE_ENV!=="production"&&(S="Transform result data should be not be null or undefined"),Ht(S));var _=iN(p.data);rb(_)||(process.env.NODE_ENV!=="production"&&(S="Transform result data should be array rows or object rows."),Ht(S));var x,E=e[0];if(E&&m===0&&!p.dimensions){var b=E.startIndex;b&&(p.data=E.data.slice(0,b).concat(p.data)),x={seriesLayoutBy:Al,sourceHeader:b,dimensions:E.metaRawOption.dimensions}}else x={seriesLayoutBy:Al,sourceHeader:0,dimensions:p.dimensions};return JT(p.data,x,null)})}function rb(t){return t===ki||t===Fo}var k_="undefined",i9=typeof Uint32Array===k_?Array:Uint32Array,a9=typeof Uint16Array===k_?Array:Uint16Array,wN=typeof Int32Array===k_?Array:Int32Array,xN=typeof Float64Array===k_?Array:Float64Array,TN={float:xN,int:wN,ordinal:Array,number:Array,time:xN},ib;function Dg(t){return t>65535?i9:a9}function Tv(){return[1/0,-1/0]}function o9(t){var e=t.constructor;return e===Array?t.slice():new e(t)}function bN(t,e,n,r,a){var l=TN[n||"float"];if(a){var u=t[e],f=u&&u.length;if(f!==r){for(var d=new l(r),h=0;h<f;h++)d[h]=u[h];t[e]=d}}else t[e]=new l(r)}var l9=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=xt()}return t.prototype.initData=function(e,n,r){process.env.NODE_ENV!=="production"&&bt(_t(e.getItem)&&_t(e.count),"Invalid data provider."),this._provider=e,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var a=e.getSource(),l=this.defaultDimValueGetter=ib[a.sourceFormat];this._dimValueGetter=r||l,this._rawExtent=[];var u=lN(a);this._dimensions=ot(n,function(f){return process.env.NODE_ENV!=="production"&&u&&bt(f.property!=null),{type:f.type,property:f.property}}),this._initDataFromProvider(0,e.count())},t.prototype.getProvider=function(){return this._provider},t.prototype.getSource=function(){return this._provider.getSource()},t.prototype.ensureCalculationDimension=function(e,n){var r=this._calcDimNameToIdx,a=this._dimensions,l=r.get(e);if(l!=null){if(a[l].type===n)return l}else l=a.length;return a[l]={type:n},r.set(e,l),this._chunks[l]=new TN[n||"float"](this._rawCount),this._rawExtent[l]=Tv(),l},t.prototype.collectOrdinalMeta=function(e,n){var r=this._chunks[e],a=this._dimensions[e],l=this._rawExtent,u=a.ordinalOffset||0,f=r.length;u===0&&(l[e]=Tv());for(var d=l[e],h=u;h<f;h++){var p=r[h]=n.parseAndCollect(r[h]);isNaN(p)||(d[0]=Math.min(p,d[0]),d[1]=Math.max(p,d[1]))}a.ordinalMeta=n,a.ordinalOffset=f,a.type="ordinal"},t.prototype.getOrdinalMeta=function(e){var n=this._dimensions[e],r=n.ordinalMeta;return r},t.prototype.getDimensionProperty=function(e){var n=this._dimensions[e];return n&&n.property},t.prototype.appendData=function(e){process.env.NODE_ENV!=="production"&&bt(!this._indices,"appendData can only be called on raw data.");var n=this._provider,r=this.count();n.appendData(e);var a=n.count();return n.persistent||(a+=r),r<a&&this._initDataFromProvider(r,a,!0),[r,a]},t.prototype.appendValues=function(e,n){for(var r=this._chunks,a=this._dimensions,l=a.length,u=this._rawExtent,f=this.count(),d=f+Math.max(e.length,n||0),h=0;h<l;h++){var p=a[h];bN(r,h,p.type,d,!0)}for(var m=[],S=f;S<d;S++)for(var _=S-f,x=0;x<l;x++){var p=a[x],E=ib.arrayRows.call(this,e[_]||m,p.property,_,x);r[x][S]=E;var b=u[x];E<b[0]&&(b[0]=E),E>b[1]&&(b[1]=E)}return this._rawCount=this._count=d,{start:f,end:d}},t.prototype._initDataFromProvider=function(e,n,r){for(var a=this._provider,l=this._chunks,u=this._dimensions,f=u.length,d=this._rawExtent,h=ot(u,function(A){return A.property}),p=0;p<f;p++){var m=u[p];d[p]||(d[p]=Tv()),bN(l,p,m.type,n,r)}if(a.fillStorage)a.fillStorage(e,n,l,d);else for(var S=[],_=e;_<n;_++){S=a.getItem(_,S);for(var x=0;x<f;x++){var E=l[x],b=this._dimValueGetter(S,h[x],_,x);E[_]=b;var D=d[x];b<D[0]&&(D[0]=b),b>D[1]&&(D[1]=b)}}!a.persistent&&a.clean&&a.clean(),this._rawCount=this._count=n,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(e,n){if(!(n>=0&&n<this._count))return NaN;var r=this._chunks[e];return r?r[this.getRawIndex(n)]:NaN},t.prototype.getValues=function(e,n){var r=[],a=[];if(n==null){n=e,e=[];for(var l=0;l<this._dimensions.length;l++)a.push(l)}else a=e;for(var l=0,u=a.length;l<u;l++)r.push(this.get(a[l],n));return r},t.prototype.getByRawIndex=function(e,n){if(!(n>=0&&n<this._rawCount))return NaN;var r=this._chunks[e];return r?r[n]:NaN},t.prototype.getSum=function(e){var n=this._chunks[e],r=0;if(n)for(var a=0,l=this.count();a<l;a++){var u=this.get(e,a);isNaN(u)||(r+=u)}return r},t.prototype.getMedian=function(e){var n=[];this.each([e],function(l){isNaN(l)||n.push(l)});var r=n.sort(function(l,u){return l-u}),a=this.count();return a===0?0:a%2===1?r[(a-1)/2]:(r[a/2]+r[a/2-1])/2},t.prototype.indexOfRawIndex=function(e){if(e>=this._rawCount||e<0)return-1;if(!this._indices)return e;var n=this._indices,r=n[e];if(r!=null&&r<this._count&&r===e)return e;for(var a=0,l=this._count-1;a<=l;){var u=(a+l)/2|0;if(n[u]<e)a=u+1;else if(n[u]>e)l=u-1;else return u}return-1},t.prototype.indicesOfNearest=function(e,n,r){var a=this._chunks,l=a[e],u=[];if(!l)return u;r==null&&(r=1/0);for(var f=1/0,d=-1,h=0,p=0,m=this.count();p<m;p++){var S=this.getRawIndex(p),_=n-l[S],x=Math.abs(_);x<=r&&((x<f||x===f&&_>=0&&d<0)&&(f=x,d=_,h=0),_===d&&(u[h++]=p))}return u.length=h,u},t.prototype.getIndices=function(){var e,n=this._indices;if(n){var r=n.constructor,a=this._count;if(r===Array){e=new r(a);for(var l=0;l<a;l++)e[l]=n[l]}else e=new r(n.buffer,0,a)}else{var r=Dg(this._rawCount);e=new r(this.count());for(var l=0;l<e.length;l++)e[l]=l}return e},t.prototype.filter=function(e,n){if(!this._count)return this;for(var r=this.clone(),a=r.count(),l=Dg(r._rawCount),u=new l(a),f=[],d=e.length,h=0,p=e[0],m=r._chunks,S=0;S<a;S++){var _=void 0,x=r.getRawIndex(S);if(d===0)_=n(S);else if(d===1){var E=m[p][x];_=n(E,S)}else{for(var b=0;b<d;b++)f[b]=m[e[b]][x];f[b]=S,_=n.apply(null,f)}_&&(u[h++]=x)}return h<a&&(r._indices=u),r._count=h,r._extent=[],r._updateGetRawIdx(),r},t.prototype.selectRange=function(e){var n=this.clone(),r=n._count;if(!r)return this;var a=kn(e),l=a.length;if(!l)return this;var u=n.count(),f=Dg(n._rawCount),d=new f(u),h=0,p=a[0],m=e[p][0],S=e[p][1],_=n._chunks,x=!1;if(!n._indices){var E=0;if(l===1){for(var b=_[a[0]],D=0;D<r;D++){var A=b[D];(A>=m&&A<=S||isNaN(A))&&(d[h++]=E),E++}x=!0}else if(l===2){for(var b=_[a[0]],O=_[a[1]],P=e[a[1]][0],I=e[a[1]][1],D=0;D<r;D++){var A=b[D],F=O[D];(A>=m&&A<=S||isNaN(A))&&(F>=P&&F<=I||isNaN(F))&&(d[h++]=E),E++}x=!0}}if(!x)if(l===1)for(var D=0;D<u;D++){var U=n.getRawIndex(D),A=_[a[0]][U];(A>=m&&A<=S||isNaN(A))&&(d[h++]=U)}else for(var D=0;D<u;D++){for(var H=!0,U=n.getRawIndex(D),j=0;j<l;j++){var X=a[j],A=_[X][U];(A<e[X][0]||A>e[X][1])&&(H=!1)}H&&(d[h++]=n.getRawIndex(D))}return h<u&&(n._indices=d),n._count=h,n._extent=[],n._updateGetRawIdx(),n},t.prototype.map=function(e,n){var r=this.clone(e);return this._updateDims(r,e,n),r},t.prototype.modify=function(e,n){this._updateDims(this,e,n)},t.prototype._updateDims=function(e,n,r){for(var a=e._chunks,l=[],u=n.length,f=e.count(),d=[],h=e._rawExtent,p=0;p<n.length;p++)h[n[p]]=Tv();for(var m=0;m<f;m++){for(var S=e.getRawIndex(m),_=0;_<u;_++)d[_]=a[n[_]][S];d[u]=m;var x=r&&r.apply(null,d);if(x!=null){typeof x!="object"&&(l[0]=x,x=l);for(var p=0;p<x.length;p++){var E=n[p],b=x[p],D=h[E],A=a[E];A&&(A[S]=b),b<D[0]&&(D[0]=b),b>D[1]&&(D[1]=b)}}}},t.prototype.lttbDownSample=function(e,n){var r=this.clone([e],!0),a=r._chunks,l=a[e],u=this.count(),f=0,d=Math.floor(1/n),h=this.getRawIndex(0),p,m,S,_=new(Dg(this._rawCount))(Math.min((Math.ceil(u/d)+2)*2,u));_[f++]=h;for(var x=1;x<u-1;x+=d){for(var E=Math.min(x+d,u-1),b=Math.min(x+d*2,u),D=(b+E)/2,A=0,O=E;O<b;O++){var P=this.getRawIndex(O),I=l[P];isNaN(I)||(A+=I)}A/=b-E;var F=x,U=Math.min(x+d,u),H=x-1,j=l[h];p=-1,S=F;for(var X=-1,G=0,O=F;O<U;O++){var P=this.getRawIndex(O),I=l[P];if(isNaN(I)){G++,X<0&&(X=P);continue}m=Math.abs((H-D)*(I-j)-(H-O)*(A-j)),m>p&&(p=m,S=P)}G>0&&G<U-F&&(_[f++]=Math.min(X,S),S=Math.max(X,S)),_[f++]=S,h=S}return _[f++]=this.getRawIndex(u-1),r._count=f,r._indices=_,r.getRawIndex=this._getRawIdx,r},t.prototype.downSample=function(e,n,r,a){for(var l=this.clone([e],!0),u=l._chunks,f=[],d=Math.floor(1/n),h=u[e],p=this.count(),m=l._rawExtent[e]=Tv(),S=new(Dg(this._rawCount))(Math.ceil(p/d)),_=0,x=0;x<p;x+=d){d>p-x&&(d=p-x,f.length=d);for(var E=0;E<d;E++){var b=this.getRawIndex(x+E);f[E]=h[b]}var D=r(f),A=this.getRawIndex(Math.min(x+a(f,D)||0,p-1));h[A]=D,D<m[0]&&(m[0]=D),D>m[1]&&(m[1]=D),S[_++]=A}return l._count=_,l._indices=S,l._updateGetRawIdx(),l},t.prototype.each=function(e,n){if(this._count)for(var r=e.length,a=this._chunks,l=0,u=this.count();l<u;l++){var f=this.getRawIndex(l);switch(r){case 0:n(l);break;case 1:n(a[e[0]][f],l);break;case 2:n(a[e[0]][f],a[e[1]][f],l);break;default:for(var d=0,h=[];d<r;d++)h[d]=a[e[d]][f];h[d]=l,n.apply(null,h)}}},t.prototype.getDataExtent=function(e){var n=this._chunks[e],r=Tv();if(!n)return r;var a=this.count(),l=!this._indices,u;if(l)return this._rawExtent[e].slice();if(u=this._extent[e],u)return u.slice();u=r;for(var f=u[0],d=u[1],h=0;h<a;h++){var p=this.getRawIndex(h),m=n[p];m<f&&(f=m),m>d&&(d=m)}return u=[f,d],this._extent[e]=u,u},t.prototype.getRawDataItem=function(e){var n=this.getRawIndex(e);if(this._provider.persistent)return this._provider.getItem(n);for(var r=[],a=this._chunks,l=0;l<a.length;l++)r.push(a[l][n]);return r},t.prototype.clone=function(e,n){var r=new t,a=this._chunks,l=e&&Yd(e,function(f,d){return f[d]=!0,f},{});if(l)for(var u=0;u<a.length;u++)r._chunks[u]=l[u]?o9(a[u]):a[u];else r._chunks=a;return this._copyCommonProps(r),n||(r._indices=this._cloneIndices()),r._updateGetRawIdx(),r},t.prototype._copyCommonProps=function(e){e._count=this._count,e._rawCount=this._rawCount,e._provider=this._provider,e._dimensions=this._dimensions,e._extent=Qt(this._extent),e._rawExtent=Qt(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var e=this._indices.constructor,n=void 0;if(e===Array){var r=this._indices.length;n=new e(r);for(var a=0;a<r;a++)n[a]=this._indices[a]}else n=new e(this._indices);return n}return null},t.prototype._getRawIdxIdentity=function(e){return e},t.prototype._getRawIdx=function(e){return e<this._count&&e>=0?this._indices[e]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function e(n,r,a,l){return O_(n[l],this._dimensions[l])}ib={arrayRows:e,objectRows:function(n,r,a,l){return O_(n[r],this._dimensions[l])},keyedColumns:e,original:function(n,r,a,l){var u=n&&(n.value==null?n:n.value);return O_(u instanceof Array?u[l]:u,this._dimensions[l])},typedArray:function(n,r,a,l){return n[l]}}}(),t}();const ab=l9;var EN=function(){function t(e){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=e}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(e,n){this._sourceList=e,this._upstreamSignList=n,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var e=this._sourceHost,n=this._getUpstreamSourceManagers(),r=!!n.length,a,l;if(Mg(e)){var u=e,f=void 0,d=void 0,h=void 0;if(r){var p=n[0];p.prepareSource(),h=p.getSource(),f=h.data,d=h.sourceFormat,l=[p._getVersionSign()]}else f=u.get("data",!0),d=ea(f)?bu:lo,l=[];var m=this._getSourceMetaRawOption()||{},S=h&&h.metaRawOption||{},_=kt(m.seriesLayoutBy,S.seriesLayoutBy)||null,x=kt(m.sourceHeader,S.sourceHeader),E=kt(m.dimensions,S.dimensions),b=_!==S.seriesLayoutBy||!!x!=!!S.sourceHeader||E;a=b?[JT(f,{seriesLayoutBy:_,sourceHeader:x,dimensions:E},d)]:[]}else{var D=e;if(r){var A=this._applyTransform(n);a=A.sourceList,l=A.upstreamSignList}else{var O=D.get("source",!0);a=[JT(O,this._getSourceMetaRawOption(),null)],l=[]}}process.env.NODE_ENV!=="production"&&bt(a&&l),this._setLocalSource(a,l)},t.prototype._applyTransform=function(e){var n=this._sourceHost,r=n.get("transform",!0),a=n.get("fromTransformResult",!0);if(process.env.NODE_ENV!=="production"&&bt(a!=null||r!=null),a!=null){var l="";e.length!==1&&(process.env.NODE_ENV!=="production"&&(l="When using `fromTransformResult`, there should be only one upstream dataset"),MN(l))}var u,f=[],d=[];return W(e,function(h){h.prepareSource();var p=h.getSource(a||0),m="";a!=null&&!p&&(process.env.NODE_ENV!=="production"&&(m="Can not retrieve result by `fromTransformResult`: "+a),MN(m)),f.push(p),d.push(h._getVersionSign())}),r?u=n9(r,f,{datasetIndex:n.componentIndex}):a!=null&&(u=[I$(f[0])]),{sourceList:u,upstreamSignList:d}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var e=this._getUpstreamSourceManagers(),n=0;n<e.length;n++){var r=e[n];if(r._isDirty()||this._upstreamSignList[n]!==r._getVersionSign())return!0}},t.prototype.getSource=function(e){e=e||0;var n=this._sourceList[e];if(!n){var r=this._getUpstreamSourceManagers();return r[0]&&r[0].getSource(e)}return n},t.prototype.getSharedDataStore=function(e){process.env.NODE_ENV!=="production"&&bt(Mg(this._sourceHost),"Can only call getDataStore on series source manager.");var n=e.makeStoreSchema();return this._innerGetDataStore(n.dimensions,e.source,n.hash)},t.prototype._innerGetDataStore=function(e,n,r){var a=0,l=this._storeList,u=l[a];u||(u=l[a]={});var f=u[r];if(!f){var d=this._getUpstreamSourceManagers()[0];Mg(this._sourceHost)&&d?f=d._innerGetDataStore(e,n,r):(f=new ab,f.initData(new fN(n,e.length),e)),u[r]=f}return f},t.prototype._getUpstreamSourceManagers=function(){var e=this._sourceHost;if(Mg(e)){var n=Uk(e);return n?[n.getSourceManager()]:[]}else return ot(a$(e),function(r){return r.getSourceManager()})},t.prototype._getSourceMetaRawOption=function(){var e=this._sourceHost,n,r,a;if(Mg(e))n=e.get("seriesLayoutBy",!0),r=e.get("sourceHeader",!0),a=e.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var l=e;n=l.get("seriesLayoutBy",!0),r=l.get("sourceHeader",!0),a=l.get("dimensions",!0)}return{seriesLayoutBy:n,sourceHeader:r,dimensions:a}},t}();function DN(t){var e=t.option.transform;e&&E0(t.option.transform)}function Mg(t){return t.mainType==="series"}function MN(t){throw new Error(t)}var RN="line-height:1";function AN(t,e){var n=t.color||"#6e7079",r=t.fontSize||12,a=t.fontWeight||"400",l=t.color||"#464646",u=t.fontSize||14,f=t.fontWeight||"900";return e==="html"?{nameStyle:"font-size:"+to(r+"")+"px;color:"+to(n)+";font-weight:"+to(a+""),valueStyle:"font-size:"+to(u+"")+"px;color:"+to(l)+";font-weight:"+to(f+"")}:{nameStyle:{fontSize:r,fill:n,fontWeight:a},valueStyle:{fontSize:u,fill:l,fontWeight:f}}}var u9=[0,10,20,30],s9=["",`
205
- `,`
206
-
207
- `,`
208
-
209
-
210
- `];function Rg(t,e){return e.type=t,e}function ob(t){return t.type==="section"}function LN(t){return ob(t)?f9:c9}function ON(t){if(ob(t)){var e=0,n=t.blocks.length,r=n>1||n>0&&!t.noHeader;return W(t.blocks,function(a){var l=ON(a);l>=e&&(e=l+ +(r&&(!l||ob(a)&&!a.noHeader)))}),e}return 0}function f9(t,e,n,r){var a=e.noHeader,l=d9(ON(e)),u=[],f=e.blocks||[];bt(!f||Be(f)),f=f||[];var d=t.orderMode;if(e.sortBlocks&&d){f=f.slice();var h={valueAsc:"asc",valueDesc:"desc"};if(yu(h,d)){var p=new SN(h[d],null);f.sort(function(x,E){return p.evaluate(x.sortParam,E.sortParam)})}else d==="seriesDesc"&&f.reverse()}W(f,function(x,E){var b=e.valueFormatter,D=LN(x)(b?Re(Re({},t),{valueFormatter:b}):t,x,E>0?l.html:0,r);D!=null&&u.push(D)});var m=t.renderMode==="richText"?u.join(l.richText):lb(u.join(""),a?n:l.html);if(a)return m;var S=VT(e.header,"ordinal",t.useUTC),_=AN(r,t.renderMode).nameStyle;return t.renderMode==="richText"?NN(t,S,_)+l.richText+m:lb('<div style="'+_+";"+RN+';">'+to(S)+"</div>"+m,n)}function c9(t,e,n,r){var a=t.renderMode,l=e.noName,u=e.noValue,f=!e.markerType,d=e.name,h=t.useUTC,p=e.valueFormatter||t.valueFormatter||function(P){return P=Be(P)?P:[P],ot(P,function(I,F){return VT(I,Be(_)?_[F]:_,h)})};if(!(l&&u)){var m=f?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",a),S=l?"":VT(d,"ordinal",h),_=e.valueType,x=u?[]:p(e.value),E=!f||!l,b=!f&&l,D=AN(r,a),A=D.nameStyle,O=D.valueStyle;return a==="richText"?(f?"":m)+(l?"":NN(t,S,A))+(u?"":p9(t,x,E,b,O)):lb((f?"":m)+(l?"":v9(S,!f,A))+(u?"":h9(x,E,b,O)),n)}}function kN(t,e,n,r,a,l){if(t){var u=LN(t),f={useUTC:a,renderMode:n,orderMode:r,markupStyleCreator:e,valueFormatter:t.valueFormatter};return u(f,t,0,l)}}function d9(t){return{html:u9[t],richText:s9[t]}}function lb(t,e){var n='<div style="clear:both"></div>',r="margin: "+e+"px 0 0";return'<div style="'+r+";"+RN+';">'+t+n+"</div>"}function v9(t,e,n){var r=e?"margin-left:2px":"";return'<span style="'+n+";"+r+'">'+to(t)+"</span>"}function h9(t,e,n,r){var a=n?"10px":"20px",l=e?"float:right;margin-left:"+a:"";return t=Be(t)?t:[t],'<span style="'+l+";"+r+'">'+ot(t,function(u){return to(u)}).join("&nbsp;&nbsp;")+"</span>"}function NN(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function p9(t,e,n,r,a){var l=[a],u=r?10:20;return n&&l.push({padding:[0,0,0,u],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(Be(e)?e.join(" "):e,l)}function g9(t,e){var n=t.getData().getItemVisual(e,"style"),r=n[t.visualDrawType];return _g(r)}function PN(t,e){var n=t.get("padding");return n??(e==="richText"?[8,10]:10)}var ub=function(){function t(){this.richTextStyles={},this._nextStyleNameId=gO()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(e,n,r){var a=r==="richText"?this._generateStyleName():null,l=ZG({color:n,type:e,renderMode:r,markerId:a});return et(l)?l:(process.env.NODE_ENV!=="production"&&bt(a),this.richTextStyles[a]=l.style,l.content)},t.prototype.wrapRichTextStyle=function(e,n){var r={};Be(n)?W(n,function(l){return Re(r,l)}):Re(r,n);var a=this._generateStyleName();return this.richTextStyles[a]=r,"{"+a+"|"+e+"}"},t}();function m9(t){var e=t.series,n=t.dataIndex,r=t.multipleSeries,a=e.getData(),l=a.mapDimensionsAll("defaultedTooltip"),u=l.length,f=e.getRawValue(n),d=Be(f),h=g9(e,n),p,m,S,_;if(u>1||d&&!u){var x=y9(f,e,n,l,h);p=x.inlineValues,m=x.inlineValueTypes,S=x.blocks,_=x.inlineValues[0]}else if(u){var E=a.getDimensionInfo(l[0]);_=p=xv(a,n,l[0]),m=E.type}else _=p=d?f[0]:f;var b=DO(e),D=b&&e.name||"",A=a.getName(n),O=r?D:A;return Rg("section",{header:D,noHeader:r||!b,sortParam:_,blocks:[Rg("nameValue",{markerType:"item",markerColor:h,name:O,noName:!yl(O),value:p,valueType:m})].concat(S||[])})}function y9(t,e,n,r,a){var l=e.getData(),u=Yd(t,function(m,S,_){var x=l.getDimensionInfo(_);return m=m||x&&x.tooltip!==!1&&x.displayName!=null},!1),f=[],d=[],h=[];r.length?W(r,function(m){p(xv(l,n,m),m)}):W(t,p);function p(m,S){var _=l.getDimensionInfo(S);!_||_.otherDims.tooltip===!1||(u?h.push(Rg("nameValue",{markerType:"subItem",markerColor:a,name:_.displayName,value:m,valueType:_.type})):(f.push(m),d.push(_.type)))}return{inlineValues:f,inlineValueTypes:d,blocks:h}}var ks=jn();function N_(t,e){return t.getName(e)||t.getId(e)}var P_="__universalTransitionEnabled",I_=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n._selectedDataIndicesMap={},n}return e.prototype.init=function(n,r,a){this.seriesIndex=this.componentIndex,this.dataTask=Eg({count:S9,reset:C9}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(n,a);var l=ks(this).sourceManager=new EN(this);l.prepareSource();var u=this.getInitialData(n,a);zN(u,this),this.dataTask.context.data=u,process.env.NODE_ENV!=="production"&&bt(u,"getInitialData returned invalid data."),ks(this).dataBeforeProcessed=u,IN(this),this._initSelectedMapFromData(u)},e.prototype.mergeDefaultAndTheme=function(n,r){var a=Sg(this),l=a?$T(n):{},u=this.subType;En.hasClass(u)&&(u+="Series"),cn(n,r.getTheme().get(this.subType)),cn(n,this.getDefaultOption()),wO(n,"label",["show"]),this.fillDataTextStyle(n.data),a&&Cg(n,l,a)},e.prototype.mergeOption=function(n,r){n=cn(this.option,n,!0),this.fillDataTextStyle(n.data);var a=Sg(this);a&&Cg(this.option,n,a);var l=ks(this).sourceManager;l.dirty(),l.prepareSource();var u=this.getInitialData(n,r);zN(u,this),this.dataTask.dirty(),this.dataTask.context.data=u,ks(this).dataBeforeProcessed=u,IN(this),this._initSelectedMapFromData(u)},e.prototype.fillDataTextStyle=function(n){if(n&&!ea(n))for(var r=["show"],a=0;a<n.length;a++)n[a]&&n[a].label&&wO(n[a],"label",r)},e.prototype.getInitialData=function(n,r){},e.prototype.appendData=function(n){var r=this.getRawData();r.appendData(n.data)},e.prototype.getData=function(n){var r=sb(this);if(r){var a=r.context.data;return n==null?a:a.getLinkedData(n)}else return ks(this).data},e.prototype.getAllData=function(){var n=this.getData();return n&&n.getLinkedDataAll?n.getLinkedDataAll():[{data:n}]},e.prototype.setData=function(n){var r=sb(this);if(r){var a=r.context;a.outputData=n,r!==this.dataTask&&(a.data=n)}ks(this).data=n},e.prototype.getEncode=function(){var n=this.get("encode",!0);if(n)return xt(n)},e.prototype.getSourceManager=function(){return ks(this).sourceManager},e.prototype.getSource=function(){return this.getSourceManager().getSource()},e.prototype.getRawData=function(){return ks(this).dataBeforeProcessed},e.prototype.getColorBy=function(){var n=this.get("colorBy");return n||"series"},e.prototype.isColorBySeries=function(){return this.getColorBy()==="series"},e.prototype.getBaseAxis=function(){var n=this.coordinateSystem;return n&&n.getBaseAxis&&n.getBaseAxis()},e.prototype.formatTooltip=function(n,r,a){return m9({series:this,dataIndex:n,multipleSeries:r})},e.prototype.isAnimationEnabled=function(){var n=this.ecModel;if(Tt.node&&!(n&&n.ssr))return!1;var r=this.getShallow("animation");return r&&this.getData().count()>this.getShallow("animationThreshold")&&(r=!1),!!r},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(n,r,a){var l=this.ecModel,u=YT.prototype.getColorFromPalette.call(this,n,r,a);return u||(u=l.getColorFromPalette(n,r,a)),u},e.prototype.coordDimToDataDim=function(n){return this.getRawData().mapDimensionsAll(n)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(n,r){this._innerSelect(this.getData(r),n)},e.prototype.unselect=function(n,r){var a=this.option.selectedMap;if(a){var l=this.option.selectedMode,u=this.getData(r);if(l==="series"||a==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var f=0;f<n.length;f++){var d=n[f],h=N_(u,d);a[h]=!1,this._selectedDataIndicesMap[h]=-1}}},e.prototype.toggleSelect=function(n,r){for(var a=[],l=0;l<n.length;l++)a[0]=n[l],this.isSelected(n[l],r)?this.unselect(a,r):this.select(a,r)},e.prototype.getSelectedDataIndices=function(){if(this.option.selectedMap==="all")return[].slice.call(this.getData().getIndices());for(var n=this._selectedDataIndicesMap,r=kn(n),a=[],l=0;l<r.length;l++){var u=n[r[l]];u>=0&&a.push(u)}return a},e.prototype.isSelected=function(n,r){var a=this.option.selectedMap;if(!a)return!1;var l=this.getData(r);return(a==="all"||a[N_(l,n)])&&!l.getItemModel(n).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[P_])return!0;var n=this.option.universalTransition;return n?n===!0?!0:n&&n.enabled:!1},e.prototype._innerSelect=function(n,r){var a,l,u=this.option,f=u.selectedMode,d=r.length;if(!(!f||!d)){if(f==="series")u.selectedMap="all";else if(f==="multiple"){it(u.selectedMap)||(u.selectedMap={});for(var h=u.selectedMap,p=0;p<d;p++){var m=r[p],S=N_(n,m);h[S]=!0,this._selectedDataIndicesMap[S]=n.getRawIndex(m)}}else if(f==="single"||f===!0){var _=r[d-1],S=N_(n,_);u.selectedMap=(a={},a[S]=!0,a),this._selectedDataIndicesMap=(l={},l[S]=n.getRawIndex(_),l)}}},e.prototype._initSelectedMapFromData=function(n){if(!this.option.selectedMap){var r=[];n.hasItemOption&&n.each(function(a){var l=n.getRawDataItem(a);l&&l.selected&&r.push(a)}),r.length>0&&this._innerSelect(n,r)}},e.registerClass=function(n){return En.registerClass(n)},e.protoInitialize=function(){var n=e.prototype;n.type="series.__base__",n.seriesIndex=0,n.ignoreStyleOnData=!1,n.hasSymbolVisual=!1,n.defaultSymbol="circle",n.visualStyleAccessPath="itemStyle",n.visualDrawType="fill"}(),e}(En);ml(I_,G$),ml(I_,YT),AO(I_,En);function IN(t){var e=t.name;DO(t)||(t.name=_9(t)||e)}function _9(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),r=[];return W(n,function(a){var l=e.getDimensionInfo(a);l.displayName&&r.push(l.displayName)}),r.join(" ")}function S9(t){return t.model.getRawData().count()}function C9(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),w9}function w9(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function zN(t,e){W(sH(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),function(n){t.wrapMethod(n,Aa(x9,e))})}function x9(t,e){var n=sb(t);return n&&n.setOutputEnd((e||this).count()),e}function sb(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var r=n.currentTask;if(r){var a=r.agentStubMap;a&&(r=a.get(t.uid))}return r}}const bv=I_;var fb=function(){function t(){this.group=new Cl,this.uid=y_("viewComponent")}return t.prototype.init=function(e,n){},t.prototype.render=function(e,n,r,a){},t.prototype.dispose=function(e,n){},t.prototype.updateView=function(e,n,r,a){},t.prototype.updateLayout=function(e,n,r,a){},t.prototype.updateVisual=function(e,n,r,a){},t.prototype.toggleBlurSeries=function(e,n,r){},t.prototype.eachRendered=function(e){var n=this.group;n&&n.traverse(e)},t}();Hx(fb),K0(fb);const Du=fb;function FN(){var t=jn();return function(e){var n=t(e),r=e.pipelineContext,a=!!n.large,l=!!n.progressiveRender,u=n.large=!!(r&&r.large),f=n.progressiveRender=!!(r&&r.progressiveRender);return(a!==u||l!==f)&&"reset"}}var BN=jn(),T9=FN(),cb=function(){function t(){this.group=new Cl,this.uid=y_("viewChart"),this.renderTask=Eg({plan:b9,reset:E9}),this.renderTask.context={view:this}}return t.prototype.init=function(e,n){},t.prototype.render=function(e,n,r,a){if(process.env.NODE_ENV!=="production")throw new Error("render method must been implemented")},t.prototype.highlight=function(e,n,r,a){var l=e.getData(a&&a.dataType);if(!l){process.env.NODE_ENV!=="production"&&ci("Unknown dataType "+a.dataType);return}VN(l,a,"emphasis")},t.prototype.downplay=function(e,n,r,a){var l=e.getData(a&&a.dataType);if(!l){process.env.NODE_ENV!=="production"&&ci("Unknown dataType "+a.dataType);return}VN(l,a,"normal")},t.prototype.remove=function(e,n){this.group.removeAll()},t.prototype.dispose=function(e,n){},t.prototype.updateView=function(e,n,r,a){this.render(e,n,r,a)},t.prototype.updateLayout=function(e,n,r,a){this.render(e,n,r,a)},t.prototype.updateVisual=function(e,n,r,a){this.render(e,n,r,a)},t.prototype.eachRendered=function(e){AT(this.group,e)},t.markUpdateMethod=function(e,n){BN(e).updateMethod=n},t.protoInitialize=function(){var e=t.prototype;e.type="chart"}(),t}();function UN(t,e,n){t&&hv(t)&&(e==="emphasis"?fT:cT)(t,n)}function VN(t,e,n){var r=rg(t,e),a=e&&e.highlightKey!=null?b8(e.highlightKey):null;r!=null?W(rr(r),function(l){UN(t.getItemGraphicEl(l),n,a)}):t.eachItemGraphicEl(function(l){UN(l,n,a)})}Hx(cb,["dispose"]),K0(cb);function b9(t){return T9(t.model)}function E9(t){var e=t.model,n=t.ecModel,r=t.api,a=t.payload,l=e.pipelineContext.progressiveRender,u=t.view,f=a&&BN(a).updateMethod,d=l?"incrementalPrepareRender":f&&u[f]?f:"render";return d!=="render"&&u[d](e,n,r,a),D9[d]}var D9={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}};const Ev=cb;var z_="\0__throttleOriginMethod",HN="\0__throttleRate",GN="\0__throttleType";function db(t,e,n){var r,a=0,l=0,u=null,f,d,h,p;e=e||0;function m(){l=new Date().getTime(),u=null,t.apply(d,h||[])}var S=function(){for(var _=[],x=0;x<arguments.length;x++)_[x]=arguments[x];r=new Date().getTime(),d=this,h=_;var E=p||e,b=p||n;p=null,f=r-(b?a:l)-E,clearTimeout(u),b?u=setTimeout(m,E):f>=0?m():u=setTimeout(m,-f),a=r};return S.clear=function(){u&&(clearTimeout(u),u=null)},S.debounceNextCall=function(_){p=_},S}function $N(t,e,n,r){var a=t[e];if(a){var l=a[z_]||a,u=a[GN],f=a[HN];if(f!==n||u!==r){if(n==null||!r)return t[e]=l;a=t[e]=db(l,n,r==="debounce"),a[z_]=l,a[GN]=r,a[HN]=n}return a}}function vb(t,e){var n=t[e];n&&n[z_]&&(n.clear&&n.clear(),t[e]=n[z_])}var jN=jn(),YN={itemStyle:ag(mk,!0),lineStyle:ag(gk,!0)},M9={lineStyle:"stroke",itemStyle:"fill"};function WN(t,e){var n=t.visualStyleMapper||YN[e];return n||(console.warn("Unknown style type '"+e+"'."),YN.itemStyle)}function XN(t,e){var n=t.visualDrawType||M9[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}var R9={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),r=t.visualStyleAccessPath||"itemStyle",a=t.getModel(r),l=WN(t,r),u=l(a),f=a.getShallow("decal");f&&(n.setVisual("decal",f),f.dirty=!0);var d=XN(t,r),h=u[d],p=_t(h)?h:null,m=u.fill==="auto"||u.stroke==="auto";if(!u[d]||p||m){var S=t.getColorFromPalette(t.name,null,e.getSeriesCount());u[d]||(u[d]=S,n.setVisual("colorFromPalette",!0)),u.fill=u.fill==="auto"||_t(u.fill)?S:u.fill,u.stroke=u.stroke==="auto"||_t(u.stroke)?S:u.stroke}if(n.setVisual("style",u),n.setVisual("drawType",d),!e.isSeriesFiltered(t)&&p)return n.setVisual("colorFromPalette",!1),{dataEach:function(_,x){var E=t.getDataParams(x),b=Re({},u);b[d]=p(E),_.setItemVisual(x,"style",b)}}}},Ag=new Oi,A9={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!(t.ignoreStyleOnData||e.isSeriesFiltered(t))){var n=t.getData(),r=t.visualStyleAccessPath||"itemStyle",a=WN(t,r),l=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(u,f){var d=u.getRawDataItem(f);if(d&&d[r]){Ag.option=d[r];var h=a(Ag),p=u.ensureUniqueItemVisual(f,"style");Re(p,h),Ag.option.decal&&(u.setItemVisual(f,"decal",Ag.option.decal),Ag.option.decal.dirty=!0),l in h&&u.setItemVisual(f,"colorFromPalette",!1)}}:null}}}},L9={performRawSeries:!0,overallReset:function(t){var e=xt();t.eachSeries(function(n){var r=n.getColorBy();if(!n.isColorBySeries()){var a=n.type+"-"+r,l=e.get(a);l||(l={},e.set(a,l)),jN(n).scope=l}}),t.eachSeries(function(n){if(!(n.isColorBySeries()||t.isSeriesFiltered(n))){var r=n.getRawData(),a={},l=n.getData(),u=jN(n).scope,f=n.visualStyleAccessPath||"itemStyle",d=XN(n,f);l.each(function(h){var p=l.getRawIndex(h);a[p]=h}),r.each(function(h){var p=a[h],m=l.getItemVisual(p,"colorFromPalette");if(m){var S=l.ensureUniqueItemVisual(p,"style"),_=r.getName(h)||h+"",x=r.count();S[d]=n.getColorFromPalette(_,u,x)}})}})}},F_=Math.PI;function O9(t,e){e=e||{},Vt(e,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new Cl,r=new Kr({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(r);var a=new ko({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),l=new Kr({style:{fill:"none"},textContent:a,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});n.add(l);var u;return e.showSpinner&&(u=new xT({shape:{startAngle:-F_/2,endAngle:-F_/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001}),u.animateShape(!0).when(1e3,{endAngle:F_*3/2}).start("circularInOut"),u.animateShape(!0).when(1e3,{startAngle:F_*3/2}).delay(300).start("circularInOut"),n.add(u)),n.resize=function(){var f=a.getBoundingRect().width,d=e.showSpinner?e.spinnerRadius:0,h=(t.getWidth()-d*2-(e.showSpinner&&f?10:0)-f)/2-(e.showSpinner&&f?0:5+f/2)+(e.showSpinner?0:f/2)+(f?0:d),p=t.getHeight()/2;e.showSpinner&&u.setShape({cx:h,cy:p}),l.setShape({x:h-d,y:p-d,width:d*2,height:d*2}),r.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n}var k9=function(){function t(e,n,r,a){this._stageTaskMap=xt(),this.ecInstance=e,this.api=n,r=this._dataProcessorHandlers=r.slice(),a=this._visualHandlers=a.slice(),this._allHandlers=r.concat(a)}return t.prototype.restoreData=function(e,n){e.restoreData(n),this._stageTaskMap.each(function(r){var a=r.overallTask;a&&a.dirty()})},t.prototype.getPerformArgs=function(e,n){if(e.__pipeline){var r=this._pipelineMap.get(e.__pipeline.id),a=r.context,l=!n&&r.progressiveEnabled&&(!a||a.progressiveRender)&&e.__idxInPipeline>r.blockIndex,u=l?r.step:null,f=a&&a.modDataCount,d=f!=null?Math.ceil(f/u):null;return{step:u,modBy:d,modDataCount:f}}},t.prototype.getPipeline=function(e){return this._pipelineMap.get(e)},t.prototype.updateStreamModes=function(e,n){var r=this._pipelineMap.get(e.uid),a=e.getData(),l=a.count(),u=r.progressiveEnabled&&n.incrementalPrepareRender&&l>=r.threshold,f=e.get("large")&&l>=e.get("largeThreshold"),d=e.get("progressiveChunkMode")==="mod"?l:null;e.pipelineContext=r.context={progressiveRender:u,modDataCount:d,large:f}},t.prototype.restorePipelines=function(e){var n=this,r=n._pipelineMap=xt();e.eachSeries(function(a){var l=a.getProgressive(),u=a.uid;r.set(u,{id:u,head:null,tail:null,threshold:a.getProgressiveThreshold(),progressiveEnabled:l&&!(a.preventIncremental&&a.preventIncremental()),blockIndex:-1,step:Math.round(l||700),count:0}),n._pipe(a,a.dataTask)})},t.prototype.prepareStageTasks=function(){var e=this._stageTaskMap,n=this.api.getModel(),r=this.api;W(this._allHandlers,function(a){var l=e.get(a.uid)||e.set(a.uid,{}),u="";process.env.NODE_ENV!=="production"&&(u='"reset" and "overallReset" must not be both specified.'),bt(!(a.reset&&a.overallReset),u),a.reset&&this._createSeriesStageTask(a,l,n,r),a.overallReset&&this._createOverallStageTask(a,l,n,r)},this)},t.prototype.prepareView=function(e,n,r,a){var l=e.renderTask,u=l.context;u.model=n,u.ecModel=r,u.api=a,l.__block=!e.incrementalPrepareRender,this._pipe(n,l)},t.prototype.performDataProcessorTasks=function(e,n){this._performStageTasks(this._dataProcessorHandlers,e,n,{block:!0})},t.prototype.performVisualTasks=function(e,n,r){this._performStageTasks(this._visualHandlers,e,n,r)},t.prototype._performStageTasks=function(e,n,r,a){a=a||{};var l=!1,u=this;W(e,function(d,h){if(!(a.visualType&&a.visualType!==d.visualType)){var p=u._stageTaskMap.get(d.uid),m=p.seriesTaskMap,S=p.overallTask;if(S){var _,x=S.agentStubMap;x.each(function(b){f(a,b)&&(b.dirty(),_=!0)}),_&&S.dirty(),u.updatePayload(S,r);var E=u.getPerformArgs(S,a.block);x.each(function(b){b.perform(E)}),S.perform(E)&&(l=!0)}else m&&m.each(function(b,D){f(a,b)&&b.dirty();var A=u.getPerformArgs(b,a.block);A.skip=!d.performRawSeries&&n.isSeriesFiltered(b.context.model),u.updatePayload(b,r),b.perform(A)&&(l=!0)})}});function f(d,h){return d.setDirty&&(!d.dirtyMap||d.dirtyMap.get(h.__pipeline.id))}this.unfinished=l||this.unfinished},t.prototype.performSeriesTasks=function(e){var n;e.eachSeries(function(r){n=r.dataTask.perform()||n}),this.unfinished=n||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each(function(e){var n=e.tail;do{if(n.__block){e.blockIndex=n.__idxInPipeline;break}n=n.getUpstream()}while(n)})},t.prototype.updatePayload=function(e,n){n!=="remain"&&(e.context.payload=n)},t.prototype._createSeriesStageTask=function(e,n,r,a){var l=this,u=n.seriesTaskMap,f=n.seriesTaskMap=xt(),d=e.seriesType,h=e.getTargetSeries;e.createOnAllSeries?r.eachRawSeries(p):d?r.eachRawSeriesByType(d,p):h&&h(r,a).each(p);function p(m){var S=m.uid,_=f.set(S,u&&u.get(S)||Eg({plan:F9,reset:B9,count:V9}));_.context={model:m,ecModel:r,api:a,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:l},l._pipe(m,_)}},t.prototype._createOverallStageTask=function(e,n,r,a){var l=this,u=n.overallTask=n.overallTask||Eg({reset:N9});u.context={ecModel:r,api:a,overallReset:e.overallReset,scheduler:l};var f=u.agentStubMap,d=u.agentStubMap=xt(),h=e.seriesType,p=e.getTargetSeries,m=!0,S=!1,_="";process.env.NODE_ENV!=="production"&&(_='"createOnAllSeries" is not supported for "overallReset", because it will block all streams.'),bt(!e.createOnAllSeries,_),h?r.eachRawSeriesByType(h,x):p?p(r,a).each(x):(m=!1,W(r.getSeries(),x));function x(E){var b=E.uid,D=d.set(b,f&&f.get(b)||(S=!0,Eg({reset:P9,onDirty:z9})));D.context={model:E,overallProgress:m},D.agent=u,D.__block=m,l._pipe(E,D)}S&&u.dirty()},t.prototype._pipe=function(e,n){var r=e.uid,a=this._pipelineMap.get(r);!a.head&&(a.head=n),a.tail&&a.tail.pipe(n),a.tail=n,n.__idxInPipeline=a.count++,n.__pipeline=a},t.wrapStageHandler=function(e,n){return _t(e)&&(e={overallReset:e,seriesType:H9(e)}),e.uid=y_("stageHandler"),n&&(e.visualType=n),e},t}();function N9(t){t.overallReset(t.ecModel,t.api,t.payload)}function P9(t){return t.overallProgress&&I9}function I9(){this.agent.dirty(),this.getDownstream().dirty()}function z9(){this.agent&&this.agent.dirty()}function F9(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function B9(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=rr(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?ot(e,function(n,r){return qN(r)}):U9}var U9=qN(0);function qN(t){return function(e,n){var r=n.data,a=n.resetDefines[t];if(a&&a.dataEach)for(var l=e.start;l<e.end;l++)a.dataEach(r,l);else a&&a.progress&&a.progress(e,r)}}function V9(t){return t.data.count()}function H9(t){B_=null;try{t(Lg,QN)}catch{}return B_}var Lg={},QN={},B_;ZN(Lg,qk),ZN(QN,Qk),Lg.eachSeriesByType=Lg.eachRawSeriesByType=function(t){B_=t},Lg.eachComponent=function(t){t.mainType==="series"&&t.subType&&(B_=t.subType)};function ZN(t,e){for(var n in e.prototype)t[n]=ta}const KN=k9;var JN=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];const G9={color:JN,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],JN]};var Ni="#B9B8CE",eP="#100C2A",U_=function(){return{axisLine:{lineStyle:{color:Ni}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},tP=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],nP={darkMode:!0,color:tP,backgroundColor:eP,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:Ni}},textStyle:{color:Ni},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:Ni}},dataZoom:{borderColor:"#71708A",textStyle:{color:Ni},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:Ni}},timeline:{lineStyle:{color:Ni},label:{color:Ni},controlStyle:{color:Ni,borderColor:Ni}},calendar:{itemStyle:{color:eP},dayLabel:{color:Ni},monthLabel:{color:Ni},yearLabel:{color:Ni}},timeAxis:U_(),logAxis:U_(),valueAxis:U_(),categoryAxis:U_(),line:{symbol:"circle"},graph:{color:tP},gauge:{title:{color:Ni},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:Ni},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};nP.categoryAxis.splitLine.show=!1;const $9=nP;var j9=function(){function t(){}return t.prototype.normalizeQuery=function(e){var n={},r={},a={};if(et(e)){var l=Tl(e);n.mainType=l.main||null,n.subType=l.sub||null}else{var u=["Index","Name","Id"],f={name:1,dataIndex:1,dataType:1};W(e,function(d,h){for(var p=!1,m=0;m<u.length;m++){var S=u[m],_=h.lastIndexOf(S);if(_>0&&_===h.length-S.length){var x=h.slice(0,_);x!=="data"&&(n.mainType=x,n[S.toLowerCase()]=d,p=!0)}}f.hasOwnProperty(h)&&(r[h]=d,p=!0),p||(a[h]=d)})}return{cptQuery:n,dataQuery:r,otherQuery:a}},t.prototype.filter=function(e,n){var r=this.eventInfo;if(!r)return!0;var a=r.targetEl,l=r.packedEvent,u=r.model,f=r.view;if(!u||!f)return!0;var d=n.cptQuery,h=n.dataQuery;return p(d,u,"mainType")&&p(d,u,"subType")&&p(d,u,"index","componentIndex")&&p(d,u,"name")&&p(d,u,"id")&&p(h,l,"name")&&p(h,l,"dataIndex")&&p(h,l,"dataType")&&(!f.filterForExposedEvent||f.filterForExposedEvent(e,n.otherQuery,a,l));function p(m,S,_,x){return m[_]==null||S[x||_]===m[_]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),hb=["symbol","symbolSize","symbolRotate","symbolOffset"],rP=hb.concat(["symbolKeepAspect"]),Y9={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),!t.hasSymbolVisual)return;for(var r={},a={},l=!1,u=0;u<hb.length;u++){var f=hb[u],d=t.get(f);_t(d)?(l=!0,a[f]=d):r[f]=d}if(r.symbol=r.symbol||t.defaultSymbol,n.setVisual(Re({legendIcon:t.legendIcon||r.symbol,symbolKeepAspect:t.get("symbolKeepAspect")},r)),e.isSeriesFiltered(t))return;var h=kn(a);function p(m,S){for(var _=t.getRawValue(S),x=t.getDataParams(S),E=0;E<h.length;E++){var b=h[E];m.setItemVisual(S,b,a[b](_,x))}}return{dataEach:l?p:null}}},W9={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.hasSymbolVisual||e.isSeriesFiltered(t))return;var n=t.getData();function r(a,l){for(var u=a.getItemModel(l),f=0;f<rP.length;f++){var d=rP[f],h=u.getShallow(d,!0);h!=null&&a.setItemVisual(l,d,h)}}return{dataEach:n.hasItemOption?r:null}}};function X9(t,e,n){switch(n){case"color":var r=t.getItemVisual(e,"style");return r[t.getVisual("drawType")];case"opacity":return t.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(e,n);default:process.env.NODE_ENV!=="production"&&console.warn("Unknown visual type "+n)}}function q9(t,e){switch(e){case"color":var n=t.getVisual("style");return n[t.getVisual("drawType")];case"opacity":return t.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getVisual(e);default:process.env.NODE_ENV!=="production"&&console.warn("Unknown visual type "+e)}}function Dv(t,e,n,r,a){var l=t+e;n.isSilent(l)||(process.env.NODE_ENV!=="production"&&wl("event "+l+" is deprecated."),r.eachComponent({mainType:"series",subType:"pie"},function(u){for(var f=u.seriesIndex,d=u.option.selectedMap,h=a.selected,p=0;p<h.length;p++)if(h[p].seriesIndex===f){var m=u.getData(),S=rg(m,a.fromActionPayload);n.trigger(l,{type:l,seriesId:u.id,name:Be(S)?m.getName(S[0]):m.getName(S),selected:et(d)?d:Re({},d)})}}))}function Q9(t,e,n){t.on("selectchanged",function(r){var a=n.getModel();r.isFromClick?(Dv("map","selectchanged",e,a,r),Dv("pie","selectchanged",e,a,r)):r.fromAction==="select"?(Dv("map","selected",e,a,r),Dv("pie","selected",e,a,r)):r.fromAction==="unselect"&&(Dv("map","unselected",e,a,r),Dv("pie","unselected",e,a,r))})}function Og(t,e,n){for(var r;t&&!(e(t)&&(r=t,n));)t=t.__hostTarget||t.parent;return r}var Z9=Math.round(Math.random()*9),K9=typeof Object.defineProperty=="function",J9=function(){function t(){this._id="__ec_inner_"+Z9++}return t.prototype.get=function(e){return this._guard(e)[this._id]},t.prototype.set=function(e,n){var r=this._guard(e);return K9?Object.defineProperty(r,this._id,{value:n,enumerable:!1,configurable:!0}):r[this._id]=n,this},t.prototype.delete=function(e){return this.has(e)?(delete this._guard(e)[this._id],!0):!1},t.prototype.has=function(e){return!!this._guard(e)[this._id]},t.prototype._guard=function(e){if(e!==Object(e))throw TypeError("Value of WeakMap is not a non-null object.");return e},t}();const e7=J9;var t7=Gt.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,r=e.cy,a=e.width/2,l=e.height/2;t.moveTo(n,r-l),t.lineTo(n+a,r+l),t.lineTo(n-a,r+l),t.closePath()}}),n7=Gt.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,r=e.cy,a=e.width/2,l=e.height/2;t.moveTo(n,r-l),t.lineTo(n+a,r),t.lineTo(n,r+l),t.lineTo(n-a,r),t.closePath()}}),r7=Gt.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,r=e.y,a=e.width/5*3,l=Math.max(a,e.height),u=a/2,f=u*u/(l-u),d=r-l+u+f,h=Math.asin(f/u),p=Math.cos(h)*u,m=Math.sin(h),S=Math.cos(h),_=u*.6,x=u*.7;t.moveTo(n-p,d+f),t.arc(n,d,u,Math.PI-h,Math.PI*2+h),t.bezierCurveTo(n+p-m*_,d+f+S*_,n,r-x,n,r),t.bezierCurveTo(n,r-x,n-p+m*_,d+f+S*_,n-p,d+f),t.closePath()}}),i7=Gt.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,r=e.width,a=e.x,l=e.y,u=r/3*2;t.moveTo(a,l),t.lineTo(a+u,l+n),t.lineTo(a,l+n/4*3),t.lineTo(a-u,l+n),t.lineTo(a,l),t.closePath()}}),a7={line:vc,rect:Kr,roundRect:Kr,square:Kr,circle:_T,diamond:n7,pin:r7,arrow:i7,triangle:t7},o7={line:function(t,e,n,r,a){a.x1=t,a.y1=e+r/2,a.x2=t+n,a.y2=e+r/2},rect:function(t,e,n,r,a){a.x=t,a.y=e,a.width=n,a.height=r},roundRect:function(t,e,n,r,a){a.x=t,a.y=e,a.width=n,a.height=r,a.r=Math.min(n,r)/4},square:function(t,e,n,r,a){var l=Math.min(n,r);a.x=t,a.y=e,a.width=l,a.height=l},circle:function(t,e,n,r,a){a.cx=t+n/2,a.cy=e+r/2,a.r=Math.min(n,r)/2},diamond:function(t,e,n,r,a){a.cx=t+n/2,a.cy=e+r/2,a.width=n,a.height=r},pin:function(t,e,n,r,a){a.x=t+n/2,a.y=e+r/2,a.width=n,a.height=r},arrow:function(t,e,n,r,a){a.x=t+n/2,a.y=e+r/2,a.width=n,a.height=r},triangle:function(t,e,n,r,a){a.cx=t+n/2,a.cy=e+r/2,a.width=n,a.height=r}},pb={};W(a7,function(t,e){pb[e]=new t});var l7=Gt.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var r=X0(t,e,n),a=this.shape;return a&&a.symbolType==="pin"&&e.position==="inside"&&(r.y=n.y+n.height*.4),r},buildPath:function(t,e,n){var r=e.symbolType;if(r!=="none"){var a=pb[r];a||(r="rect",a=pb[r]),o7[r](e.x,e.y,e.width,e.height,a.shape),a.buildPath(t,a.shape,n)}}});function u7(t,e){if(this.type!=="image"){var n=this.style;this.__isEmptyBrush?(n.stroke=t,n.fill=e||"#fff",n.lineWidth=2):this.shape.symbolType==="line"?n.stroke=t:n.fill=t,this.markRedraw()}}function iP(t,e,n,r,a,l,u){var f=t.indexOf("empty")===0;f&&(t=t.substr(5,1).toLowerCase()+t.substr(6));var d;return t.indexOf("image://")===0?d=tk(t.slice(8),new Wt(e,n,r,a),u?"center":"cover"):t.indexOf("path://")===0?d=DT(t.slice(7),{},new Wt(e,n,r,a),u?"center":"cover"):d=new l7({shape:{symbolType:t,x:e,y:n,width:r,height:a}}),d.__isEmptyBrush=f,d.setColor=u7,l&&d.setColor(l),d}function s7(t,e){if(t!=null)return Be(t)||(t=[t,t]),[Zr(t[0],e[0])||0,Zr(kt(t[1],t[0]),e[1])||0]}function wc(t){return isFinite(t)}function f7(t,e,n){var r=e.x==null?0:e.x,a=e.x2==null?1:e.x2,l=e.y==null?0:e.y,u=e.y2==null?0:e.y2;e.global||(r=r*n.width+n.x,a=a*n.width+n.x,l=l*n.height+n.y,u=u*n.height+n.y),r=wc(r)?r:0,a=wc(a)?a:1,l=wc(l)?l:0,u=wc(u)?u:0;var f=t.createLinearGradient(r,l,a,u);return f}function c7(t,e,n){var r=n.width,a=n.height,l=Math.min(r,a),u=e.x==null?.5:e.x,f=e.y==null?.5:e.y,d=e.r==null?.5:e.r;e.global||(u=u*r+n.x,f=f*a+n.y,d=d*l),u=wc(u)?u:.5,f=wc(f)?f:.5,d=d>=0&&wc(d)?d:.5;var h=t.createRadialGradient(u,f,0,u,f,d);return h}function gb(t,e,n){for(var r=e.type==="radial"?c7(t,e,n):f7(t,e,n),a=e.colorStops,l=0;l<a.length;l++)r.addColorStop(a[l].offset,a[l].color);return r}function d7(t,e){if(t===e||!t&&!e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!0;return!1}function V_(t){return parseInt(t,10)}function H_(t,e,n){var r=["width","height"][e],a=["clientWidth","clientHeight"][e],l=["paddingLeft","paddingTop"][e],u=["paddingRight","paddingBottom"][e];if(n[r]!=null&&n[r]!=="auto")return parseFloat(n[r]);var f=document.defaultView.getComputedStyle(t);return(t[a]||V_(f[r])||V_(t.style[r]))-(V_(f[l])||0)-(V_(f[u])||0)|0}function v7(t,e){return!t||t==="solid"||!(e>0)?null:t==="dashed"?[4*e,2*e]:t==="dotted"?[e]:Nn(t)?[t]:Be(t)?t:null}function aP(t){var e=t.style,n=e.lineDash&&e.lineWidth>0&&v7(e.lineDash,e.lineWidth),r=e.lineDashOffset;if(n){var a=e.strokeNoScale&&t.getLineScale?t.getLineScale():1;a&&a!==1&&(n=ot(n,function(l){return l/a}),r/=a)}return[n,r]}var h7=new As(!0);function G_(t){var e=t.stroke;return!(e==null||e==="none"||!(t.lineWidth>0))}function oP(t){return typeof t=="string"&&t!=="none"}function $_(t){var e=t.fill;return e!=null&&e!=="none"}function lP(t,e){if(e.fillOpacity!=null&&e.fillOpacity!==1){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function uP(t,e){if(e.strokeOpacity!=null&&e.strokeOpacity!==1){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function mb(t,e,n){var r=LO(e.image,e.__image,n);if(J0(r)){var a=t.createPattern(r,e.repeat||"repeat");if(typeof DOMMatrix=="function"&&a&&a.setTransform){var l=new DOMMatrix;l.translateSelf(e.x||0,e.y||0),l.rotateSelf(0,0,(e.rotation||0)*fH),l.scaleSelf(e.scaleX||1,e.scaleY||1),a.setTransform(l)}return a}}function p7(t,e,n,r){var a,l=G_(n),u=$_(n),f=n.strokePercent,d=f<1,h=!e.path;(!e.silent||d)&&h&&e.createPathProxy();var p=e.path||h7,m=e.__dirty;if(!r){var S=n.fill,_=n.stroke,x=u&&!!S.colorStops,E=l&&!!_.colorStops,b=u&&!!S.image,D=l&&!!_.image,A=void 0,O=void 0,P=void 0,I=void 0,F=void 0;(x||E)&&(F=e.getBoundingRect()),x&&(A=m?gb(t,S,F):e.__canvasFillGradient,e.__canvasFillGradient=A),E&&(O=m?gb(t,_,F):e.__canvasStrokeGradient,e.__canvasStrokeGradient=O),b&&(P=m||!e.__canvasFillPattern?mb(t,S,e):e.__canvasFillPattern,e.__canvasFillPattern=P),D&&(I=m||!e.__canvasStrokePattern?mb(t,_,e):e.__canvasStrokePattern,e.__canvasStrokePattern=P),x?t.fillStyle=A:b&&(P?t.fillStyle=P:u=!1),E?t.strokeStyle=O:D&&(I?t.strokeStyle=I:l=!1)}var U=e.getGlobalScale();p.setScale(U[0],U[1],e.segmentIgnoreThreshold);var H,j;t.setLineDash&&n.lineDash&&(a=aP(e),H=a[0],j=a[1]);var X=!0;(h||m&ev)&&(p.setDPR(t.dpr),d?p.setContext(null):(p.setContext(t),X=!1),p.reset(),e.buildPath(p,e.shape,r),p.toStatic(),e.pathUpdated()),X&&p.rebuildPath(t,d?f:1),H&&(t.setLineDash(H),t.lineDashOffset=j),r||(n.strokeFirst?(l&&uP(t,n),u&&lP(t,n)):(u&&lP(t,n),l&&uP(t,n))),H&&t.setLineDash([])}function g7(t,e,n){var r=e.__image=LO(n.image,e.__image,e,e.onload);if(!(!r||!J0(r))){var a=n.x||0,l=n.y||0,u=e.getWidth(),f=e.getHeight(),d=r.width/r.height;if(u==null&&f!=null?u=f*d:f==null&&u!=null?f=u/d:u==null&&f==null&&(u=r.width,f=r.height),n.sWidth&&n.sHeight){var h=n.sx||0,p=n.sy||0;t.drawImage(r,h,p,n.sWidth,n.sHeight,a,l,u,f)}else if(n.sx&&n.sy){var h=n.sx,p=n.sy,m=u-h,S=f-p;t.drawImage(r,h,p,m,S,a,l,u,f)}else t.drawImage(r,a,l,u,f)}}function m7(t,e,n){var r,a=n.text;if(a!=null&&(a+=""),a){t.font=n.font||Gf,t.textAlign=n.textAlign,t.textBaseline=n.textBaseline;var l=void 0,u=void 0;t.setLineDash&&n.lineDash&&(r=aP(e),l=r[0],u=r[1]),l&&(t.setLineDash(l),t.lineDashOffset=u),n.strokeFirst?(G_(n)&&t.strokeText(a,n.x,n.y),$_(n)&&t.fillText(a,n.x,n.y)):($_(n)&&t.fillText(a,n.x,n.y),G_(n)&&t.strokeText(a,n.x,n.y)),l&&t.setLineDash([])}}var sP=["shadowBlur","shadowOffsetX","shadowOffsetY"],fP=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function cP(t,e,n,r,a){var l=!1;if(!r&&(n=n||{},e===n))return!1;if(r||e.opacity!==n.opacity){oa(t,a),l=!0;var u=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(u)?tc.opacity:u}(r||e.blend!==n.blend)&&(l||(oa(t,a),l=!0),t.globalCompositeOperation=e.blend||tc.blend);for(var f=0;f<sP.length;f++){var d=sP[f];(r||e[d]!==n[d])&&(l||(oa(t,a),l=!0),t[d]=t.dpr*(e[d]||0))}return(r||e.shadowColor!==n.shadowColor)&&(l||(oa(t,a),l=!0),t.shadowColor=e.shadowColor||tc.shadowColor),l}function dP(t,e,n,r,a){var l=kg(e,a.inHover),u=r?null:n&&kg(n,a.inHover)||{};if(l===u)return!1;var f=cP(t,l,u,r,a);if((r||l.fill!==u.fill)&&(f||(oa(t,a),f=!0),oP(l.fill)&&(t.fillStyle=l.fill)),(r||l.stroke!==u.stroke)&&(f||(oa(t,a),f=!0),oP(l.stroke)&&(t.strokeStyle=l.stroke)),(r||l.opacity!==u.opacity)&&(f||(oa(t,a),f=!0),t.globalAlpha=l.opacity==null?1:l.opacity),e.hasStroke()){var d=l.lineWidth,h=d/(l.strokeNoScale&&e.getLineScale?e.getLineScale():1);t.lineWidth!==h&&(f||(oa(t,a),f=!0),t.lineWidth=h)}for(var p=0;p<fP.length;p++){var m=fP[p],S=m[0];(r||l[S]!==u[S])&&(f||(oa(t,a),f=!0),t[S]=l[S]||m[1])}return f}function y7(t,e,n,r,a){return cP(t,kg(e,a.inHover),n&&kg(n,a.inHover),r,a)}function vP(t,e){var n=e.transform,r=t.dpr||1;n?t.setTransform(r*n[0],r*n[1],r*n[2],r*n[3],r*n[4],r*n[5]):t.setTransform(r,0,0,r,0,0)}function _7(t,e,n){for(var r=!1,a=0;a<t.length;a++){var l=t[a];r=r||l.isZeroArea(),vP(e,l),e.beginPath(),l.buildPath(e,l.shape),e.clip()}n.allClipped=r}function S7(t,e){return t&&e?t[0]!==e[0]||t[1]!==e[1]||t[2]!==e[2]||t[3]!==e[3]||t[4]!==e[4]||t[5]!==e[5]:!(!t&&!e)}var hP=1,pP=2,gP=3,mP=4;function C7(t){var e=$_(t),n=G_(t);return!(t.lineDash||!(+e^+n)||e&&typeof t.fill!="string"||n&&typeof t.stroke!="string"||t.strokePercent<1||t.strokeOpacity<1||t.fillOpacity<1)}function oa(t,e){e.batchFill&&t.fill(),e.batchStroke&&t.stroke(),e.batchFill="",e.batchStroke=""}function kg(t,e){return e&&t.__hoverStyle||t.style}function yP(t,e){xc(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function xc(t,e,n,r){var a=e.transform;if(!e.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1)){e.__dirty&=~La,e.__isRendered=!1;return}var l=e.__clipPaths,u=n.prevElClipPaths,f=!1,d=!1;if((!u||d7(l,u))&&(u&&u.length&&(oa(t,n),t.restore(),d=f=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),l&&l.length&&(oa(t,n),t.save(),_7(l,t,n),f=!0),n.prevElClipPaths=l),n.allClipped){e.__isRendered=!1;return}e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var h=n.prevEl;h||(d=f=!0);var p=e instanceof Gt&&e.autoBatch&&C7(e.style);f||S7(a,h.transform)?(oa(t,n),vP(t,e)):p||oa(t,n);var m=kg(e,n.inHover);e instanceof Gt?(n.lastDrawType!==hP&&(d=!0,n.lastDrawType=hP),dP(t,e,h,d,n),(!p||!n.batchFill&&!n.batchStroke)&&t.beginPath(),p7(t,e,m,p),p&&(n.batchFill=m.fill||"",n.batchStroke=m.stroke||"")):e instanceof rT?(n.lastDrawType!==gP&&(d=!0,n.lastDrawType=gP),dP(t,e,h,d,n),m7(t,e,m)):e instanceof cv?(n.lastDrawType!==pP&&(d=!0,n.lastDrawType=pP),y7(t,e,h,d,n),g7(t,e,m)):e.getTemporalDisplayables&&(n.lastDrawType!==mP&&(d=!0,n.lastDrawType=mP),w7(t,e,n)),p&&r&&oa(t,n),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),n.prevEl=e,e.__dirty=0,e.__isRendered=!0}function w7(t,e,n){var r=e.getDisplayables(),a=e.getTemporalDisplayables();t.save();var l={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover},u,f;for(u=e.getCursor(),f=r.length;u<f;u++){var d=r[u];d.beforeBrush&&d.beforeBrush(),d.innerBeforeBrush(),xc(t,d,l,u===f-1),d.innerAfterBrush(),d.afterBrush&&d.afterBrush(),l.prevEl=d}for(var h=0,p=a.length;h<p;h++){var d=a[h];d.beforeBrush&&d.beforeBrush(),d.innerBeforeBrush(),xc(t,d,l,h===p-1),d.innerAfterBrush(),d.afterBrush&&d.afterBrush(),l.prevEl=d}e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}var yb=new e7,_P=new Yp(100),SP=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function CP(t,e){if(t==="none")return null;var n=e.getDevicePixelRatio(),r=e.getZr(),a=r.painter.type==="svg";t.dirty&&yb.delete(t);var l=yb.get(t);if(l)return l;var u=Vt(t,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});u.backgroundColor==="none"&&(u.backgroundColor=null);var f={repeat:"repeat"};return d(f),f.rotation=u.rotation,f.scaleX=f.scaleY=a?1:1/n,yb.set(t,f),t.dirty=!1,f;function d(h){for(var p=[n],m=!0,S=0;S<SP.length;++S){var _=u[SP[S]];if(_!=null&&!Be(_)&&!et(_)&&!Nn(_)&&typeof _!="boolean"){m=!1;break}p.push(_)}var x;if(m){x=p.join(",")+(a?"-svg":"");var E=_P.get(x);E&&(a?h.svgElement=E:h.image=E)}var b=xP(u.dashArrayX),D=x7(u.dashArrayY),A=wP(u.symbol),O=T7(b),P=TP(D),I=!a&&$f.createCanvas(),F=a&&{tag:"g",attrs:{},key:"dcl",children:[]},U=j(),H;I&&(I.width=U.width*n,I.height=U.height*n,H=I.getContext("2d")),X(),m&&_P.put(x,I||F),h.image=I,h.svgElement=F,h.svgWidth=U.width,h.svgHeight=U.height;function j(){for(var G=1,ee=0,J=O.length;ee<J;++ee)G=yO(G,O[ee]);for(var ie=1,ee=0,J=A.length;ee<J;++ee)ie=yO(ie,A[ee].length);G*=ie;var ce=P*O.length*A.length;if(process.env.NODE_ENV!=="production"){var fe=function(Ne){console.warn("Calculated decal size is greater than "+Ne+" due to decal option settings so "+Ne+" is used for the decal size. Please consider changing the decal option to make a smaller decal or set "+Ne+" to be larger to avoid incontinuity.")};G>u.maxTileWidth&&fe("maxTileWidth"),ce>u.maxTileHeight&&fe("maxTileHeight")}return{width:Math.max(1,Math.min(G,u.maxTileWidth)),height:Math.max(1,Math.min(ce,u.maxTileHeight))}}function X(){H&&(H.clearRect(0,0,I.width,I.height),u.backgroundColor&&(H.fillStyle=u.backgroundColor,H.fillRect(0,0,I.width,I.height)));for(var G=0,ee=0;ee<D.length;++ee)G+=D[ee];if(G<=0)return;for(var J=-P,ie=0,ce=0,fe=0;J<U.height;){if(ie%2===0){for(var Ne=ce/2%A.length,ae=0,ge=0,pe=0;ae<U.width*2;){for(var Le=0,ee=0;ee<b[fe].length;++ee)Le+=b[fe][ee];if(Le<=0)break;if(ge%2===0){var Ge=(1-u.symbolSize)*.5,St=ae+b[fe][ge]*Ge,It=J+D[ie]*Ge,Dn=b[fe][ge]*u.symbolSize,Xt=D[ie]*u.symbolSize,Mn=pe/2%A[Ne].length;on(St,It,Dn,Xt,A[Ne][Mn])}ae+=b[fe][ge],++pe,++ge,ge===b[fe].length&&(ge=0)}++fe,fe===b.length&&(fe=0)}J+=D[ie],++ce,++ie,ie===D.length&&(ie=0)}function on(zt,Ft,$e,Se,Zt){var Et=a?1:n,Pn=iP(Zt,zt*Et,Ft*Et,$e*Et,Se*Et,u.color,u.symbolKeepAspect);if(a){var ar=r.painter.renderOneToVNode(Pn);ar&&F.children.push(ar)}else yP(H,Pn)}}}}function wP(t){if(!t||t.length===0)return[["rect"]];if(et(t))return[[t]];for(var e=!0,n=0;n<t.length;++n)if(!et(t[n])){e=!1;break}if(e)return wP([t]);for(var r=[],n=0;n<t.length;++n)et(t[n])?r.push([t[n]]):r.push(t[n]);return r}function xP(t){if(!t||t.length===0)return[[0,0]];if(Nn(t)){var e=Math.ceil(t);return[[e,e]]}for(var n=!0,r=0;r<t.length;++r)if(!Nn(t[r])){n=!1;break}if(n)return xP([t]);for(var a=[],r=0;r<t.length;++r)if(Nn(t[r])){var e=Math.ceil(t[r]);a.push([e,e])}else{var e=ot(t[r],function(f){return Math.ceil(f)});e.length%2===1?a.push(e.concat(e)):a.push(e)}return a}function x7(t){if(!t||typeof t=="object"&&t.length===0)return[0,0];if(Nn(t)){var e=Math.ceil(t);return[e,e]}var n=ot(t,function(r){return Math.ceil(r)});return t.length%2?n.concat(n):n}function T7(t){return ot(t,function(e){return TP(e)})}function TP(t){for(var e=0,n=0;n<t.length;++n)e+=t[n];return t.length%2===1?e*2:e}function b7(t,e){t.eachRawSeries(function(n){if(!t.isSeriesFiltered(n)){var r=n.getData();r.hasItemVisual()&&r.each(function(u){var f=r.getItemVisual(u,"decal");if(f){var d=r.ensureUniqueItemVisual(u,"style");d.decal=CP(f,e)}});var a=r.getVisual("decal");if(a){var l=r.getVisual("style");l.decal=CP(a,e)}}})}var E7=new _l;const Bo=E7;var j_={};function D7(t,e){process.env.NODE_ENV!=="production"&&j_[t]&&ci("Already has an implementation of "+t+"."),j_[t]=e}function M7(t){return process.env.NODE_ENV!=="production"&&(j_[t]||ci("Implementation of "+t+" doesn't exists.")),j_[t]}var R7=1,A7=800,L7=900,O7=1e3,k7=2e3,N7=5e3,bP=1e3,P7=1100,_b=2e3,EP=3e3,I7=4e3,Y_=4500,z7=4600,F7=5e3,B7=6e3,DP=7e3,U7={PROCESSOR:{FILTER:O7,SERIES_FILTER:A7,STATISTIC:N7},VISUAL:{LAYOUT:bP,PROGRESSIVE_LAYOUT:P7,GLOBAL:_b,CHART:EP,POST_CHART_LAYOUT:z7,COMPONENT:I7,BRUSH:F7,CHART_ITEM:Y_,ARIA:B7,DECAL:DP}},hi="__flagInMainProcess",la="__pendingUpdate",Sb="__needsUpdateStatus",MP=/^[a-zA-Z0-9_]+$/,Cb="__connectUpdateStatus",RP=0,V7=1,H7=2;function AP(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(this.isDisposed()){Na(this.id);return}return OP(this,t,e)}}function LP(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return OP(this,t,e)}}function OP(t,e,n){return n[0]=n[0]&&n[0].toLowerCase(),_l.prototype[e].apply(t,n)}var kP=function(t){Pt(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(_l),NP=kP.prototype;NP.on=LP("on"),NP.off=LP("off");var Mv,wb,W_,Ns,xb,Tb,bb,Ng,Pg,PP,IP,Eb,zP,X_,FP,BP,fo,UP,VP=function(t){Pt(e,t);function e(n,r,a){var l=t.call(this,new j9)||this;l._chartsViews=[],l._chartsMap={},l._componentsViews=[],l._componentsMap={},l._pendingActions=[],a=a||{},et(r)&&(r=HP[r]),l._dom=n;var u="canvas",f="auto",d=!1;if(process.env.NODE_ENV!=="production"){var h=Tt.hasGlobalWindow?window:global;u=h.__ECHARTS__DEFAULT__RENDERER__||u,f=kt(h.__ECHARTS__DEFAULT__COARSE_POINTER,f);var p=h.__ECHARTS__DEFAULT__USE_DIRTY_RECT__;d=p??d}var m=l._zr=sO(n,{renderer:a.renderer||u,devicePixelRatio:a.devicePixelRatio,width:a.width,height:a.height,ssr:a.ssr,useDirtyRect:kt(a.useDirtyRect,d),useCoarsePointer:kt(a.useCoarsePointer,f),pointerSize:a.pointerSize});l._ssr=a.ssr,l._throttledZrFlush=db(Qn(m.flush,m),17),r=Qt(r),r&&rN(r,!0),l._theme=r,l._locale=$G(a.locale||yk),l._coordSysMgr=new qT;var S=l._api=FP(l);function _(x,E){return x.__prio-E.__prio}return O0(Q_,_),O0(Mb,_),l._scheduler=new KN(l,S,Mb,Q_),l._messageCenter=new kP,l._initEvents(),l.resize=Qn(l.resize,l),m.animation.on("frame",l._onframe,l),PP(m,l),IP(m,l),E0(l),l}return e.prototype._onframe=function(){if(!this._disposed){UP(this);var n=this._scheduler;if(this[la]){var r=this[la].silent;this[hi]=!0;try{Mv(this),Ns.update.call(this,null,this[la].updateParams)}catch(d){throw this[hi]=!1,this[la]=null,d}this._zr.flush(),this[hi]=!1,this[la]=null,Ng.call(this,r),Pg.call(this,r)}else if(n.unfinished){var a=R7,l=this._model,u=this._api;n.unfinished=!1;do{var f=+new Date;n.performSeriesTasks(l),n.performDataProcessorTasks(l),Tb(this,l),n.performVisualTasks(l),X_(this,this._model,u,"remain",{}),a-=+new Date-f}while(a>0&&n.unfinished);n.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(n,r,a){if(this[hi]){process.env.NODE_ENV!=="production"&&ci("`setOption` should not be called during main process.");return}if(this._disposed){Na(this.id);return}var l,u,f;if(it(r)&&(a=r.lazyUpdate,l=r.silent,u=r.replaceMerge,f=r.transition,r=r.notMerge),this[hi]=!0,!this._model||r){var d=new E$(this._api),h=this._theme,p=this._model=new qk;p.scheduler=this._scheduler,p.ssr=this._ssr,p.init(null,null,null,h,this._locale,d)}this._model.setOption(n,{replaceMerge:u},Rb);var m={seriesTransition:f,optionChanged:!0};if(a)this[la]={silent:l,updateParams:m},this[hi]=!1,this.getZr().wakeUp();else{try{Mv(this),Ns.update.call(this,null,m)}catch(S){throw this[la]=null,this[hi]=!1,S}this._ssr||this._zr.flush(),this[la]=null,this[hi]=!1,Ng.call(this,l),Pg.call(this,l)}},e.prototype.setTheme=function(){wl("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||Tt.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(n){return process.env.NODE_ENV!=="production"&&Br("getRenderedCanvas","renderToCanvas"),this.renderToCanvas(n)},e.prototype.renderToCanvas=function(n){n=n||{};var r=this._zr.painter;if(process.env.NODE_ENV!=="production"&&r.type!=="canvas")throw new Error("renderToCanvas can only be used in the canvas renderer.");return r.getRenderedCanvas({backgroundColor:n.backgroundColor||this._model.get("backgroundColor"),pixelRatio:n.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(n){n=n||{};var r=this._zr.painter;if(process.env.NODE_ENV!=="production"&&r.type!=="svg")throw new Error("renderToSVGString can only be used in the svg renderer.");return r.renderToString({useViewBox:n.useViewBox})},e.prototype.getSvgDataURL=function(){if(Tt.svgSupported){var n=this._zr,r=n.storage.getDisplayList();return W(r,function(a){a.stopAnimation(null,!0)}),n.painter.toDataURL()}},e.prototype.getDataURL=function(n){if(this._disposed){Na(this.id);return}n=n||{};var r=n.excludeComponents,a=this._model,l=[],u=this;W(r,function(d){a.eachComponent({mainType:d},function(h){var p=u._componentsMap[h.__viewId];p.group.ignore||(l.push(p),p.group.ignore=!0)})});var f=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(n).toDataURL("image/"+(n&&n.type||"png"));return W(l,function(d){d.group.ignore=!1}),f},e.prototype.getConnectedDataURL=function(n){if(this._disposed){Na(this.id);return}var r=n.type==="svg",a=this.group,l=Math.min,u=Math.max,f=1/0;if(GP[a]){var d=f,h=f,p=-f,m=-f,S=[],_=n&&n.pixelRatio||this.getDevicePixelRatio();W(zg,function(O,P){if(O.group===a){var I=r?O.getZr().painter.getSvgDom().innerHTML:O.renderToCanvas(Qt(n)),F=O.getDom().getBoundingClientRect();d=l(F.left,d),h=l(F.top,h),p=u(F.right,p),m=u(F.bottom,m),S.push({dom:I,left:F.left,top:F.top})}}),d*=_,h*=_,p*=_,m*=_;var x=p-d,E=m-h,b=$f.createCanvas(),D=sO(b,{renderer:r?"svg":"canvas"});if(D.resize({width:x,height:E}),r){var A="";return W(S,function(O){var P=O.left-d,I=O.top-h;A+='<g transform="translate('+P+","+I+')">'+O.dom+"</g>"}),D.painter.getSvgRoot().innerHTML=A,n.connectedBackgroundColor&&D.painter.setBackgroundColor(n.connectedBackgroundColor),D.refreshImmediately(),D.painter.toDataURL()}else return n.connectedBackgroundColor&&D.add(new Kr({shape:{x:0,y:0,width:x,height:E},style:{fill:n.connectedBackgroundColor}})),W(S,function(O){var P=new cv({style:{x:O.left*_-d,y:O.top*_-h,image:O.dom}});D.add(P)}),D.refreshImmediately(),b.toDataURL("image/"+(n&&n.type||"png"))}else return this.getDataURL(n)},e.prototype.convertToPixel=function(n,r){return xb(this,"convertToPixel",n,r)},e.prototype.convertFromPixel=function(n,r){return xb(this,"convertFromPixel",n,r)},e.prototype.containPixel=function(n,r){if(this._disposed){Na(this.id);return}var a=this._model,l,u=Ux(a,n);return W(u,function(f,d){d.indexOf("Models")>=0&&W(f,function(h){var p=h.coordinateSystem;if(p&&p.containPoint)l=l||!!p.containPoint(r);else if(d==="seriesModels"){var m=this._chartsMap[h.__viewId];m&&m.containPoint?l=l||m.containPoint(r,h):process.env.NODE_ENV!=="production"&&Fr(d+": "+(m?"The found component do not support containPoint.":"No view mapping to the found component."))}else process.env.NODE_ENV!=="production"&&Fr(d+": containPoint is not supported")},this)},this),!!l},e.prototype.getVisual=function(n,r){var a=this._model,l=Ux(a,n,{defaultMainType:"series"}),u=l.seriesModel;process.env.NODE_ENV!=="production"&&(u||Fr("There is no specified series model"));var f=u.getData(),d=l.hasOwnProperty("dataIndexInside")?l.dataIndexInside:l.hasOwnProperty("dataIndex")?f.indexOfRawIndex(l.dataIndex):null;return d!=null?X9(f,d,r):q9(f,r)},e.prototype.getViewOfComponentModel=function(n){return this._componentsMap[n.__viewId]},e.prototype.getViewOfSeriesModel=function(n){return this._chartsMap[n.__viewId]},e.prototype._initEvents=function(){var n=this;W(G7,function(r){var a=function(l){var u=n.getModel(),f=l.target,d,h=r==="globalout";if(h?d={}:f&&Og(f,function(x){var E=yn(x);if(E&&E.dataIndex!=null){var b=E.dataModel||u.getSeriesByIndex(E.seriesIndex);return d=b&&b.getDataParams(E.dataIndex,E.dataType)||{},!0}else if(E.eventData)return d=Re({},E.eventData),!0},!0),d){var p=d.componentType,m=d.componentIndex;(p==="markLine"||p==="markPoint"||p==="markArea")&&(p="series",m=d.seriesIndex);var S=p&&m!=null&&u.getComponent(p,m),_=S&&n[S.mainType==="series"?"_chartsMap":"_componentsMap"][S.__viewId];process.env.NODE_ENV!=="production"&&!h&&!(S&&_)&&Fr("model or view can not be found by params"),d.event=l,d.type=r,n._$eventProcessor.eventInfo={targetEl:f,packedEvent:d,model:S,view:_},n.trigger(r,d)}};a.zrEventfulCallAtLast=!0,n._zr.on(r,a,n)}),W(Ig,function(r,a){n._messageCenter.on(a,function(l){this.trigger(a,l)},n)}),W(["selectchanged"],function(r){n._messageCenter.on(r,function(a){this.trigger(r,a)},n)}),Q9(this._messageCenter,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){if(this._disposed){Na(this.id);return}this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed){Na(this.id);return}this._disposed=!0;var n=this.getDom();n&&MO(this.getDom(),Lb,"");var r=this,a=r._api,l=r._model;W(r._componentsViews,function(u){u.dispose(l,a)}),W(r._chartsViews,function(u){u.dispose(l,a)}),r._zr.dispose(),r._dom=r._model=r._chartsMap=r._componentsMap=r._chartsViews=r._componentsViews=r._scheduler=r._api=r._zr=r._throttledZrFlush=r._theme=r._coordSysMgr=r._messageCenter=null,delete zg[r.id]},e.prototype.resize=function(n){if(this[hi]){process.env.NODE_ENV!=="production"&&ci("`resize` should not be called during main process.");return}if(this._disposed){Na(this.id);return}this._zr.resize(n);var r=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!r){var a=r.resetOption("media"),l=n&&n.silent;this[la]&&(l==null&&(l=this[la].silent),a=!0,this[la]=null),this[hi]=!0;try{a&&Mv(this),Ns.update.call(this,{type:"resize",animation:Re({duration:0},n&&n.animation)})}catch(u){throw this[hi]=!1,u}this[hi]=!1,Ng.call(this,l),Pg.call(this,l)}},e.prototype.showLoading=function(n,r){if(this._disposed){Na(this.id);return}if(it(n)&&(r=n,n=""),n=n||"default",this.hideLoading(),!Ab[n]){process.env.NODE_ENV!=="production"&&Fr("Loading effects "+n+" not exists.");return}var a=Ab[n](this._api,r),l=this._zr;this._loadingFX=a,l.add(a)},e.prototype.hideLoading=function(){if(this._disposed){Na(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},e.prototype.makeActionFromEvent=function(n){var r=Re({},n);return r.type=Ig[n.type],r},e.prototype.dispatchAction=function(n,r){if(this._disposed){Na(this.id);return}if(it(r)||(r={silent:!!r}),!!q_[n.type]&&this._model){if(this[hi]){this._pendingActions.push(n);return}var a=r.silent;bb.call(this,n,a);var l=r.flush;l?this._zr.flush():l!==!1&&Tt.browser.weChat&&this._throttledZrFlush(),Ng.call(this,a),Pg.call(this,a)}},e.prototype.updateLabelLayout=function(){Bo.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(n){if(this._disposed){Na(this.id);return}var r=n.seriesIndex,a=this.getModel(),l=a.getSeriesByIndex(r);process.env.NODE_ENV!=="production"&&bt(n.data&&l),l.appendData(n),this._scheduler.unfinished=!0,this.getZr().wakeUp()},e.internalField=function(){Mv=function(m){var S=m._scheduler;S.restorePipelines(m._model),S.prepareStageTasks(),wb(m,!0),wb(m,!1),S.plan()},wb=function(m,S){for(var _=m._model,x=m._scheduler,E=S?m._componentsViews:m._chartsViews,b=S?m._componentsMap:m._chartsMap,D=m._zr,A=m._api,O=0;O<E.length;O++)E[O].__alive=!1;S?_.eachComponent(function(F,U){F!=="series"&&P(U)}):_.eachSeries(P);function P(F){var U=F.__requireNewView;F.__requireNewView=!1;var H="_ec_"+F.id+"_"+F.type,j=!U&&b[H];if(!j){var X=Tl(F.type),G=S?Du.getClass(X.main,X.sub):Ev.getClass(X.sub);process.env.NODE_ENV!=="production"&&bt(G,X.sub+" does not exist."),j=new G,j.init(_,A),b[H]=j,E.push(j),D.add(j.group)}F.__viewId=j.__id=H,j.__alive=!0,j.__model=F,j.group.__ecComponentInfo={mainType:F.mainType,index:F.componentIndex},!S&&x.prepareView(j,F,_,A)}for(var O=0;O<E.length;){var I=E[O];I.__alive?O++:(!S&&I.renderTask.dispose(),D.remove(I.group),I.dispose(_,A),E.splice(O,1),b[I.__id]===I&&delete b[I.__id],I.__id=I.group.__ecComponentInfo=null)}},W_=function(m,S,_,x,E){var b=m._model;if(b.setUpdatePayload(_),!x){W([].concat(m._componentsViews).concat(m._chartsViews),I);return}var D={};D[x+"Id"]=_[x+"Id"],D[x+"Index"]=_[x+"Index"],D[x+"Name"]=_[x+"Name"];var A={mainType:x,query:D};E&&(A.subType=E);var O=_.excludeSeriesId,P;O!=null&&(P=xt(),W(rr(O),function(F){var U=xl(F,null);U!=null&&P.set(U,!0)})),b&&b.eachComponent(A,function(F){var U=P&&P.get(F.id)!=null;if(!U)if(E2(_))if(F instanceof bv)_.type===fc&&!_.notBlur&&!F.get(["emphasis","disabled"])&&h8(F,_,m._api);else{var H=hT(F.mainType,F.componentIndex,_.name,m._api),j=H.focusSelf,X=H.dispatchers;_.type===fc&&j&&!_.notBlur&&vT(F.mainType,F.componentIndex,m._api),X&&W(X,function(G){_.type===fc?fT(G):cT(G)})}else pT(_)&&F instanceof bv&&(m8(F,_,m._api),x2(F),fo(m))},m),b&&b.eachComponent(A,function(F){var U=P&&P.get(F.id)!=null;U||I(m[x==="series"?"_chartsMap":"_componentsMap"][F.__viewId])},m);function I(F){F&&F.__alive&&F[S]&&F[S](F.__model,b,m._api,_)}},Ns={prepareAndUpdate:function(m){Mv(this),Ns.update.call(this,m,{optionChanged:m.newOption!=null})},update:function(m,S){var _=this._model,x=this._api,E=this._zr,b=this._coordSysMgr,D=this._scheduler;if(_){_.setUpdatePayload(m),D.restoreData(_,m),D.performSeriesTasks(_),b.create(_,x),D.performDataProcessorTasks(_,m),Tb(this,_),b.update(_,x),n(_),D.performVisualTasks(_,m),Eb(this,_,x,m,S);var A=_.get("backgroundColor")||"transparent",O=_.get("darkMode");E.setBackgroundColor(A),O!=null&&O!=="auto"&&E.setDarkMode(O),Bo.trigger("afterupdate",_,x)}},updateTransform:function(m){var S=this,_=this._model,x=this._api;if(_){_.setUpdatePayload(m);var E=[];_.eachComponent(function(D,A){if(D!=="series"){var O=S.getViewOfComponentModel(A);if(O&&O.__alive)if(O.updateTransform){var P=O.updateTransform(A,_,x,m);P&&P.update&&E.push(O)}else E.push(O)}});var b=xt();_.eachSeries(function(D){var A=S._chartsMap[D.__viewId];if(A.updateTransform){var O=A.updateTransform(D,_,x,m);O&&O.update&&b.set(D.uid,1)}else b.set(D.uid,1)}),n(_),this._scheduler.performVisualTasks(_,m,{setDirty:!0,dirtyMap:b}),X_(this,_,x,m,{},b),Bo.trigger("afterupdate",_,x)}},updateView:function(m){var S=this._model;S&&(S.setUpdatePayload(m),Ev.markUpdateMethod(m,"updateView"),n(S),this._scheduler.performVisualTasks(S,m,{setDirty:!0}),Eb(this,S,this._api,m,{}),Bo.trigger("afterupdate",S,this._api))},updateVisual:function(m){var S=this,_=this._model;_&&(_.setUpdatePayload(m),_.eachSeries(function(x){x.getData().clearAllVisual()}),Ev.markUpdateMethod(m,"updateVisual"),n(_),this._scheduler.performVisualTasks(_,m,{visualType:"visual",setDirty:!0}),_.eachComponent(function(x,E){if(x!=="series"){var b=S.getViewOfComponentModel(E);b&&b.__alive&&b.updateVisual(E,_,S._api,m)}}),_.eachSeries(function(x){var E=S._chartsMap[x.__viewId];E.updateVisual(x,_,S._api,m)}),Bo.trigger("afterupdate",_,this._api))},updateLayout:function(m){Ns.update.call(this,m)}},xb=function(m,S,_,x){if(m._disposed){Na(m.id);return}for(var E=m._model,b=m._coordSysMgr.getCoordinateSystems(),D,A=Ux(E,_),O=0;O<b.length;O++){var P=b[O];if(P[S]&&(D=P[S](E,A,x))!=null)return D}process.env.NODE_ENV!=="production"&&Fr("No coordinate system that supports "+S+" found by the given finder.")},Tb=function(m,S){var _=m._chartsMap,x=m._scheduler;S.eachSeries(function(E){x.updateStreamModes(E,_[E.__viewId])})},bb=function(m,S){var _=this,x=this.getModel(),E=m.type,b=m.escapeConnect,D=q_[E],A=D.actionInfo,O=(A.update||"update").split(":"),P=O.pop(),I=O[0]!=null&&Tl(O[0]);this[hi]=!0;var F=[m],U=!1;m.batch&&(U=!0,F=ot(m.batch,function(ie){return ie=Vt(Re({},ie),m),ie.batch=null,ie}));var H=[],j,X=pT(m),G=E2(m);if(G&&w2(this._api),W(F,function(ie){if(j=D.action(ie,_._model,_._api),j=j||Re({},ie),j.type=A.event||j.type,H.push(j),G){var ce=Vx(m),fe=ce.queryOptionMap,Ne=ce.mainTypeSpecified,ae=Ne?fe.keys()[0]:"series";W_(_,P,ie,ae),fo(_)}else X?(W_(_,P,ie,"series"),fo(_)):I&&W_(_,P,ie,I.main,I.sub)}),P!=="none"&&!G&&!X&&!I)try{this[la]?(Mv(this),Ns.update.call(this,m),this[la]=null):Ns[P].call(this,m)}catch(ie){throw this[hi]=!1,ie}if(U?j={type:A.event||E,escapeConnect:b,batch:H}:j=H[0],this[hi]=!1,!S){var ee=this._messageCenter;if(ee.trigger(j.type,j),X){var J={type:"selectchanged",escapeConnect:b,selected:y8(x),isFromClick:m.isFromClick||!1,fromAction:m.type,fromActionPayload:m};ee.trigger(J.type,J)}}},Ng=function(m){for(var S=this._pendingActions;S.length;){var _=S.shift();bb.call(this,_,m)}},Pg=function(m){!m&&this.trigger("updated")},PP=function(m,S){m.on("rendered",function(_){S.trigger("rendered",_),m.animation.isFinished()&&!S[la]&&!S._scheduler.unfinished&&!S._pendingActions.length&&S.trigger("finished")})},IP=function(m,S){m.on("mouseover",function(_){var x=_.target,E=Og(x,hv);E&&(p8(E,_,S._api),fo(S))}).on("mouseout",function(_){var x=_.target,E=Og(x,hv);E&&(g8(E,_,S._api),fo(S))}).on("click",function(_){var x=_.target,E=Og(x,function(A){return yn(A).dataIndex!=null},!0);if(E){var b=E.selected?"unselect":"select",D=yn(E);S._api.dispatchAction({type:b,dataType:D.dataType,dataIndexInside:D.dataIndex,seriesIndex:D.seriesIndex,isFromClick:!0})}})};function n(m){m.clearColorPalette(),m.eachSeries(function(S){S.clearColorPalette()})}function r(m){var S=[],_=[],x=!1;if(m.eachComponent(function(A,O){var P=O.get("zlevel")||0,I=O.get("z")||0,F=O.getZLevelKey();x=x||!!F,(A==="series"?_:S).push({zlevel:P,z:I,idx:O.componentIndex,type:A,key:F})}),x){var E=S.concat(_),b,D;O0(E,function(A,O){return A.zlevel===O.zlevel?A.z-O.z:A.zlevel-O.zlevel}),W(E,function(A){var O=m.getComponent(A.type,A.idx),P=A.zlevel,I=A.key;b!=null&&(P=Math.max(b,P)),I?(P===b&&I!==D&&P++,D=I):D&&(P===b&&P++,D=""),b=P,O.setZLevel(P)})}}Eb=function(m,S,_,x,E){r(S),zP(m,S,_,x,E),W(m._chartsViews,function(b){b.__alive=!1}),X_(m,S,_,x,E),W(m._chartsViews,function(b){b.__alive||b.remove(S,_)})},zP=function(m,S,_,x,E,b){W(b||m._componentsViews,function(D){var A=D.__model;h(A,D),D.render(A,S,_,x),f(A,D),p(A,D)})},X_=function(m,S,_,x,E,b){var D=m._scheduler;E=Re(E||{},{updatedSeries:S.getSeries()}),Bo.trigger("series:beforeupdate",S,_,E);var A=!1;S.eachSeries(function(O){var P=m._chartsMap[O.__viewId];P.__alive=!0;var I=P.renderTask;D.updatePayload(I,x),h(O,P),b&&b.get(O.uid)&&I.dirty(),I.perform(D.getPerformArgs(I))&&(A=!0),P.group.silent=!!O.get("silent"),u(O,P),x2(O)}),D.unfinished=A||D.unfinished,Bo.trigger("series:layoutlabels",S,_,E),Bo.trigger("series:transition",S,_,E),S.eachSeries(function(O){var P=m._chartsMap[O.__viewId];f(O,P),p(O,P)}),l(m,S),Bo.trigger("series:afterupdate",S,_,E)},fo=function(m){m[Sb]=!0,m.getZr().wakeUp()},UP=function(m){m[Sb]&&(m.getZr().storage.traverse(function(S){mv(S)||a(S)}),m[Sb]=!1)};function a(m){for(var S=[],_=m.currentStates,x=0;x<_.length;x++){var E=_[x];E==="emphasis"||E==="blur"||E==="select"||S.push(E)}m.selected&&m.states.select&&S.push("select"),m.hoverState===lT&&m.states.emphasis?S.push("emphasis"):m.hoverState===oT&&m.states.blur&&S.push("blur"),m.useStates(S)}function l(m,S){var _=m._zr,x=_.storage,E=0;x.traverse(function(b){b.isGroup||E++}),E>S.get("hoverLayerThreshold")&&!Tt.node&&!Tt.worker&&S.eachSeries(function(b){if(!b.preventUsingHoverLayer){var D=m._chartsMap[b.__viewId];D.__alive&&D.eachRendered(function(A){A.states.emphasis&&(A.states.emphasis.hoverLayer=!0)})}})}function u(m,S){var _=m.get("blendMode")||null;S.eachRendered(function(x){x.isGroup||(x.style.blend=_)})}function f(m,S){if(!m.preventAutoZ){var _=m.get("z")||0,x=m.get("zlevel")||0;S.eachRendered(function(E){return d(E,_,x,-1/0),!0})}}function d(m,S,_,x){var E=m.getTextContent(),b=m.getTextGuideLine(),D=m.isGroup;if(D)for(var A=m.childrenRef(),O=0;O<A.length;O++)x=Math.max(d(A[O],S,_,x),x);else m.z=S,m.zlevel=_,x=Math.max(m.z2,x);if(E&&(E.z=S,E.zlevel=_,isFinite(x)&&(E.z2=x+2)),b){var P=m.textGuideLineConfig;b.z=S,b.zlevel=_,isFinite(x)&&(b.z2=x+(P&&P.showAbove?1:-1))}return x}function h(m,S){S.eachRendered(function(_){if(!mv(_)){var x=_.getTextContent(),E=_.getTextGuideLine();_.stateTransition&&(_.stateTransition=null),x&&x.stateTransition&&(x.stateTransition=null),E&&E.stateTransition&&(E.stateTransition=null),_.hasState()?(_.prevStates=_.currentStates,_.clearStates()):_.prevStates&&(_.prevStates=null)}})}function p(m,S){var _=m.getModel("stateAnimation"),x=m.isAnimationEnabled(),E=_.get("duration"),b=E>0?{duration:E,delay:_.get("delay"),easing:_.get("easing")}:null;S.eachRendered(function(D){if(D.states&&D.states.emphasis){if(mv(D))return;if(D instanceof Gt&&E8(D),D.__dirty){var A=D.prevStates;A&&D.useStates(A)}if(x){D.stateTransition=b;var O=D.getTextContent(),P=D.getTextGuideLine();O&&(O.stateTransition=b),P&&(P.stateTransition=b)}D.__dirty&&a(D)}})}FP=function(m){return new(function(S){Pt(_,S);function _(){return S!==null&&S.apply(this,arguments)||this}return _.prototype.getCoordinateSystems=function(){return m._coordSysMgr.getCoordinateSystems()},_.prototype.getComponentByElement=function(x){for(;x;){var E=x.__ecComponentInfo;if(E!=null)return m._model.getComponent(E.mainType,E.index);x=x.parent}},_.prototype.enterEmphasis=function(x,E){fT(x,E),fo(m)},_.prototype.leaveEmphasis=function(x,E){cT(x,E),fo(m)},_.prototype.enterBlur=function(x){v8(x),fo(m)},_.prototype.leaveBlur=function(x){y2(x),fo(m)},_.prototype.enterSelect=function(x){_2(x),fo(m)},_.prototype.leaveSelect=function(x){S2(x),fo(m)},_.prototype.getModel=function(){return m.getModel()},_.prototype.getViewOfComponentModel=function(x){return m.getViewOfComponentModel(x)},_.prototype.getViewOfSeriesModel=function(x){return m.getViewOfSeriesModel(x)},_}(Qk))(m)},BP=function(m){function S(_,x){for(var E=0;E<_.length;E++){var b=_[E];b[Cb]=x}}W(Ig,function(_,x){m._messageCenter.on(x,function(E){if(GP[m.group]&&m[Cb]!==RP){if(E&&E.escapeConnect)return;var b=m.makeActionFromEvent(E),D=[];W(zg,function(A){A!==m&&A.group===m.group&&D.push(A)}),S(D,RP),W(D,function(A){A[Cb]!==V7&&A.dispatchAction(b)}),S(D,H7)}})})}}(),e}(_l),Db=VP.prototype;Db.on=AP("on"),Db.off=AP("off"),Db.one=function(t,e,n){var r=this;wl("ECharts#one is deprecated.");function a(){for(var l=[],u=0;u<arguments.length;u++)l[u]=arguments[u];e&&e.apply&&e.apply(this,l),r.off(t,a)}this.on.call(this,t,a,n)};var G7=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function Na(t){process.env.NODE_ENV!=="production"&&Fr("Instance "+t+" has been disposed")}var q_={},Ig={},Mb=[],Rb=[],Q_=[],HP={},Ab={},zg={},GP={},$7=+new Date-0,Lb="_echarts_instance_";function j7(t,e,n){var r=!(n&&n.ssr);if(r){if(process.env.NODE_ENV!=="production"&&!t)throw new Error("Initialize failed: invalid dom.");var a=Y7(t);if(a)return process.env.NODE_ENV!=="production"&&Fr("There is a chart instance already initialized on the dom."),a;process.env.NODE_ENV!=="production"&&zp(t)&&t.nodeName.toUpperCase()!=="CANVAS"&&(!t.clientWidth&&(!n||n.width==null)||!t.clientHeight&&(!n||n.height==null))&&Fr("Can't get DOM width or height. Please check dom.clientWidth and dom.clientHeight. They should not be 0.For example, you may need to call this in the callback of window.onload.")}var l=new VP(t,e,n);return l.id="ec_"+$7++,zg[l.id]=l,r&&MO(t,Lb,l.id),BP(l),Bo.trigger("afterinit",l),l}function Y7(t){return zg[J4(t,Lb)]}function $P(t,e){HP[t]=e}function jP(t){dn(Rb,t)<0&&Rb.push(t)}function YP(t,e){kb(Mb,t,e,k7)}function W7(t){Ob("afterinit",t)}function X7(t){Ob("afterupdate",t)}function Ob(t,e){Bo.on(t,e)}function Rv(t,e,n){_t(e)&&(n=e,e="");var r=it(t)?t.type:[t,t={event:e}][0];t.event=(t.event||r).toLowerCase(),e=t.event,!Ig[e]&&(bt(MP.test(r)&&MP.test(e)),q_[r]||(q_[r]={action:n,actionInfo:t}),Ig[e]=r)}function q7(t,e){qT.register(t,e)}function Q7(t,e){kb(Q_,t,e,bP,"layout")}function Tc(t,e){kb(Q_,t,e,EP,"visual")}var WP=[];function kb(t,e,n,r,a){if((_t(e)||it(e))&&(n=e,e=r),process.env.NODE_ENV!=="production"){if(isNaN(e)||e==null)throw new Error("Illegal priority");W(t,function(u){bt(u.__raw!==n)})}if(!(dn(WP,n)>=0)){WP.push(n);var l=KN.wrapStageHandler(n,a);l.__prio=e,l.__raw=n,t.push(l)}}function XP(t,e){Ab[t]=e}function Z7(t,e,n){var r=M7("registerMap");r&&r(t,e,n)}var K7=t9;Tc(_b,R9),Tc(Y_,A9),Tc(Y_,L9),Tc(_b,Y9),Tc(Y_,W9),Tc(DP,b7),jP(rN),YP(L7,N$),XP("default",O9),Rv({type:fc,event:fc,update:fc},ta),Rv({type:a_,event:a_,update:a_},ta),Rv({type:ug,event:ug,update:ug},ta),Rv({type:o_,event:o_,update:o_},ta),Rv({type:sg,event:sg,update:sg},ta),$P("light",G9),$P("dark",$9);function Fg(t){return t==null?0:t.length||1}function qP(t){return t}var J7=function(){function t(e,n,r,a,l,u){this._old=e,this._new=n,this._oldKeyGetter=r||qP,this._newKeyGetter=a||qP,this.context=l,this._diffModeMultiple=u==="multiple"}return t.prototype.add=function(e){return this._add=e,this},t.prototype.update=function(e){return this._update=e,this},t.prototype.updateManyToOne=function(e){return this._updateManyToOne=e,this},t.prototype.updateOneToMany=function(e){return this._updateOneToMany=e,this},t.prototype.updateManyToMany=function(e){return this._updateManyToMany=e,this},t.prototype.remove=function(e){return this._remove=e,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var e=this._old,n=this._new,r={},a=new Array(e.length),l=new Array(n.length);this._initIndexMap(e,null,a,"_oldKeyGetter"),this._initIndexMap(n,r,l,"_newKeyGetter");for(var u=0;u<e.length;u++){var f=a[u],d=r[f],h=Fg(d);if(h>1){var p=d.shift();d.length===1&&(r[f]=d[0]),this._update&&this._update(p,u)}else h===1?(r[f]=null,this._update&&this._update(d,u)):this._remove&&this._remove(u)}this._performRestAdd(l,r)},t.prototype._executeMultiple=function(){var e=this._old,n=this._new,r={},a={},l=[],u=[];this._initIndexMap(e,r,l,"_oldKeyGetter"),this._initIndexMap(n,a,u,"_newKeyGetter");for(var f=0;f<l.length;f++){var d=l[f],h=r[d],p=a[d],m=Fg(h),S=Fg(p);if(m>1&&S===1)this._updateManyToOne&&this._updateManyToOne(p,h),a[d]=null;else if(m===1&&S>1)this._updateOneToMany&&this._updateOneToMany(p,h),a[d]=null;else if(m===1&&S===1)this._update&&this._update(p,h),a[d]=null;else if(m>1&&S>1)this._updateManyToMany&&this._updateManyToMany(p,h),a[d]=null;else if(m>1)for(var _=0;_<m;_++)this._remove&&this._remove(h[_]);else this._remove&&this._remove(h)}this._performRestAdd(u,a)},t.prototype._performRestAdd=function(e,n){for(var r=0;r<e.length;r++){var a=e[r],l=n[a],u=Fg(l);if(u>1)for(var f=0;f<u;f++)this._add&&this._add(l[f]);else u===1&&this._add&&this._add(l);n[a]=null}},t.prototype._initIndexMap=function(e,n,r,a){for(var l=this._diffModeMultiple,u=0;u<e.length;u++){var f="_ec_"+this[a](e[u],u);if(l||(r[u]=f),!!n){var d=n[f],h=Fg(d);h===0?(n[f]=u,l&&r.push(f)):h===1?n[f]=[d,u]:d.push(u)}}},t}();const Nb=J7;var ej=function(){function t(e,n){this._encode=e,this._schema=n}return t.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},t.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},t}();function tj(t,e){var n={},r=n.encode={},a=xt(),l=[],u=[],f={};W(t.dimensions,function(S){var _=t.getDimensionInfo(S),x=_.coordDim;if(x){process.env.NODE_ENV!=="production"&&bt(jT.get(x)==null);var E=_.coordDimIndex;Pb(r,x)[E]=S,_.isExtraCoord||(a.set(x,1),rj(_.type)&&(l[0]=S),Pb(f,x)[E]=t.getDimensionIndex(_.name)),_.defaultTooltip&&u.push(S)}jT.each(function(b,D){var A=Pb(r,D),O=_.otherDims[D];O!=null&&O!==!1&&(A[O]=_.name)})});var d=[],h={};a.each(function(S,_){var x=r[_];h[_]=x[0],d=d.concat(x)}),n.dataDimsOnCoord=d,n.dataDimIndicesOnCoord=ot(d,function(S){return t.getDimensionInfo(S).storeDimIndex}),n.encodeFirstDimNotExtra=h;var p=r.label;p&&p.length&&(l=p.slice());var m=r.tooltip;return m&&m.length?u=m.slice():u.length||(u=l.slice()),r.defaultedLabel=l,r.defaultedTooltip=u,n.userOutput=new ej(f,e),n}function Pb(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function nj(t){return t==="category"?"ordinal":t==="time"?"time":"float"}function rj(t){return!(t==="ordinal"||t==="time")}var ij=function(){function t(e){this.otherDims={},e!=null&&Re(this,e)}return t}();const Z_=ij;var aj=jn(),oj={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},QP=function(){function t(e){this.dimensions=e.dimensions,this._dimOmitted=e.dimensionOmitted,this.source=e.source,this._fullDimCount=e.fullDimensionCount,this._updateDimOmitted(e.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(e){this._dimOmitted=e,e&&(this._dimNameMap||(this._dimNameMap=JP(this.source)))},t.prototype.getSourceDimensionIndex=function(e){return kt(this._dimNameMap.get(e),-1)},t.prototype.getSourceDimension=function(e){var n=this.source.dimensionsDefine;if(n)return n[e]},t.prototype.makeStoreSchema=function(){for(var e=this._fullDimCount,n=lN(this.source),r=!eI(e),a="",l=[],u=0,f=0;u<e;u++){var d=void 0,h=void 0,p=void 0,m=this.dimensions[f];if(m&&m.storeDimIndex===u)d=n?m.name:null,h=m.type,p=m.ordinalMeta,f++;else{var S=this.getSourceDimension(u);S&&(d=n?S.name:null,h=S.type)}l.push({property:d,type:h,ordinalMeta:p}),n&&d!=null&&(!m||!m.isCalculationCoord)&&(a+=r?d.replace(/\`/g,"`1").replace(/\$/g,"`2"):d),a+="$",a+=oj[h]||"f",p&&(a+=p.uid),a+="$"}var _=this.source,x=[_.seriesLayoutBy,_.startIndex,a].join("$$");return{dimensions:l,hash:x}},t.prototype.makeOutputDimensionNames=function(){for(var e=[],n=0,r=0;n<this._fullDimCount;n++){var a=void 0,l=this.dimensions[r];if(l&&l.storeDimIndex===n)l.isCalculationCoord||(a=l.name),r++;else{var u=this.getSourceDimension(n);u&&(a=u.name)}e.push(a)}return e},t.prototype.appendCalculationDimension=function(e){this.dimensions.push(e),e.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function ZP(t){return t instanceof QP}function KP(t){for(var e=xt(),n=0;n<(t||[]).length;n++){var r=t[n],a=it(r)?r.name:r;a!=null&&e.get(a)==null&&e.set(a,n)}return e}function JP(t){var e=aj(t);return e.dimNameMap||(e.dimNameMap=KP(t.dimensionsDefine))}function eI(t){return t>30}var Bg=it,Ps=ot,lj=typeof Int32Array>"u"?Array:Int32Array,uj="e\0\0",tI=-1,sj=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],fj=["_approximateExtent"],nI,K_,Ug,Av,Ib,J_,zb,cj=function(){function t(e,n){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var r,a=!1;ZP(e)?(r=e.dimensions,this._dimOmitted=e.isDimensionOmitted(),this._schema=e):(a=!0,r=e),r=r||["x","y"];for(var l={},u=[],f={},d=!1,h={},p=0;p<r.length;p++){var m=r[p],S=et(m)?new Z_({name:m}):m instanceof Z_?m:new Z_(m),_=S.name;S.type=S.type||"float",S.coordDim||(S.coordDim=_,S.coordDimIndex=0);var x=S.otherDims=S.otherDims||{};u.push(_),l[_]=S,h[_]!=null&&(d=!0),S.createInvertedIndices&&(f[_]=[]),x.itemName===0&&(this._nameDimIdx=p),x.itemId===0&&(this._idDimIdx=p),process.env.NODE_ENV!=="production"&&bt(a||S.storeDimIndex>=0),a&&(S.storeDimIndex=p)}if(this.dimensions=u,this._dimInfos=l,this._initGetDimensionInfo(d),this.hostModel=n,this._invertedIndicesMap=f,this._dimOmitted){var E=this._dimIdxToName=xt();W(u,function(b){E.set(l[b].storeDimIndex,b)})}}return t.prototype.getDimension=function(e){var n=this._recognizeDimIndex(e);if(n==null)return e;if(n=e,!this._dimOmitted)return this.dimensions[n];var r=this._dimIdxToName.get(n);if(r!=null)return r;var a=this._schema.getSourceDimension(n);if(a)return a.name},t.prototype.getDimensionIndex=function(e){var n=this._recognizeDimIndex(e);if(n!=null)return n;if(e==null)return-1;var r=this._getDimInfo(e);return r?r.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(e):-1},t.prototype._recognizeDimIndex=function(e){if(Nn(e)||e!=null&&!isNaN(e)&&!this._getDimInfo(e)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(e)<0))return+e},t.prototype._getStoreDimIndex=function(e){var n=this.getDimensionIndex(e);if(process.env.NODE_ENV!=="production"&&n==null)throw new Error("Unknown dimension "+e);return n},t.prototype.getDimensionInfo=function(e){return this._getDimInfo(this.getDimension(e))},t.prototype._initGetDimensionInfo=function(e){var n=this._dimInfos;this._getDimInfo=e?function(r){return n.hasOwnProperty(r)?n[r]:void 0}:function(r){return n[r]}},t.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(e,n){var r=this._dimSummary;if(n==null)return r.encodeFirstDimNotExtra[e];var a=r.encode[e];return a?a[n]:null},t.prototype.mapDimensionsAll=function(e){var n=this._dimSummary,r=n.encode[e];return(r||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(e,n,r){var a=this,l;if(e instanceof ab&&(l=e),!l){var u=this.dimensions,f=KT(e)||Ai(e)?new fN(e,u.length):e;l=new ab;var d=Ps(u,function(h){return{type:a._dimInfos[h].type,property:h}});l.initData(f,d,r)}this._store=l,this._nameList=(n||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,l.count()),this._dimSummary=tj(this,this._schema),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(e){var n=this._store.appendData(e);this._doInit(n[0],n[1])},t.prototype.appendValues=function(e,n){var r=this._store.appendValues(e,n.length),a=r.start,l=r.end,u=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),n)for(var f=a;f<l;f++){var d=f-a;this._nameList[f]=n[d],u&&zb(this,f)}},t.prototype._updateOrdinalMeta=function(){for(var e=this._store,n=this.dimensions,r=0;r<n.length;r++){var a=this._dimInfos[n[r]];a.ordinalMeta&&e.collectOrdinalMeta(a.storeDimIndex,a.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var e=this._store.getProvider();return this._idDimIdx==null&&e.getSource().sourceFormat!==bu&&!e.fillStorage},t.prototype._doInit=function(e,n){if(!(e>=n)){var r=this._store,a=r.getProvider();this._updateOrdinalMeta();var l=this._nameList,u=this._idList,f=a.getSource().sourceFormat,d=f===lo;if(d&&!a.pure)for(var h=[],p=e;p<n;p++){var m=a.getItem(p,h);if(!this.hasItemOption&&H4(m)&&(this.hasItemOption=!0),m){var S=m.name;l[p]==null&&S!=null&&(l[p]=xl(S,null));var _=m.id;u[p]==null&&_!=null&&(u[p]=xl(_,null))}}if(this._shouldMakeIdFromName())for(var p=e;p<n;p++)zb(this,p);nI(this)}},t.prototype.getApproximateExtent=function(e){return this._approximateExtent[e]||this._store.getDataExtent(this._getStoreDimIndex(e))},t.prototype.setApproximateExtent=function(e,n){n=this.getDimension(n),this._approximateExtent[n]=e.slice()},t.prototype.getCalculationInfo=function(e){return this._calculationInfo[e]},t.prototype.setCalculationInfo=function(e,n){Bg(e)?Re(this._calculationInfo,e):this._calculationInfo[e]=n},t.prototype.getName=function(e){var n=this.getRawIndex(e),r=this._nameList[n];return r==null&&this._nameDimIdx!=null&&(r=Ug(this,this._nameDimIdx,n)),r==null&&(r=""),r},t.prototype._getCategory=function(e,n){var r=this._store.get(e,n),a=this._store.getOrdinalMeta(e);return a?a.categories[r]:r},t.prototype.getId=function(e){return K_(this,this.getRawIndex(e))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(e,n){var r=this._store,a=this._dimInfos[e];if(a)return r.get(a.storeDimIndex,n)},t.prototype.getByRawIndex=function(e,n){var r=this._store,a=this._dimInfos[e];if(a)return r.getByRawIndex(a.storeDimIndex,n)},t.prototype.getIndices=function(){return this._store.getIndices()},t.prototype.getDataExtent=function(e){return this._store.getDataExtent(this._getStoreDimIndex(e))},t.prototype.getSum=function(e){return this._store.getSum(this._getStoreDimIndex(e))},t.prototype.getMedian=function(e){return this._store.getMedian(this._getStoreDimIndex(e))},t.prototype.getValues=function(e,n){var r=this,a=this._store;return Be(e)?a.getValues(Ps(e,function(l){return r._getStoreDimIndex(l)}),n):a.getValues(e)},t.prototype.hasValue=function(e){for(var n=this._dimSummary.dataDimIndicesOnCoord,r=0,a=n.length;r<a;r++)if(isNaN(this._store.get(n[r],e)))return!1;return!0},t.prototype.indexOfName=function(e){for(var n=0,r=this._store.count();n<r;n++)if(this.getName(n)===e)return n;return-1},t.prototype.getRawIndex=function(e){return this._store.getRawIndex(e)},t.prototype.indexOfRawIndex=function(e){return this._store.indexOfRawIndex(e)},t.prototype.rawIndexOf=function(e,n){var r=e&&this._invertedIndicesMap[e];if(process.env.NODE_ENV!=="production"&&!r)throw new Error("Do not supported yet");var a=r[n];return a==null||isNaN(a)?tI:a},t.prototype.indicesOfNearest=function(e,n,r){return this._store.indicesOfNearest(this._getStoreDimIndex(e),n,r)},t.prototype.each=function(e,n,r){_t(e)&&(r=n,n=e,e=[]);var a=r||this,l=Ps(Av(e),this._getStoreDimIndex,this);this._store.each(l,a?Qn(n,a):n)},t.prototype.filterSelf=function(e,n,r){_t(e)&&(r=n,n=e,e=[]);var a=r||this,l=Ps(Av(e),this._getStoreDimIndex,this);return this._store=this._store.filter(l,a?Qn(n,a):n),this},t.prototype.selectRange=function(e){var n=this,r={},a=kn(e);return W(a,function(l){var u=n._getStoreDimIndex(l);r[u]=e[l]}),this._store=this._store.selectRange(r),this},t.prototype.mapArray=function(e,n,r){_t(e)&&(r=n,n=e,e=[]),r=r||this;var a=[];return this.each(e,function(){a.push(n&&n.apply(this,arguments))},r),a},t.prototype.map=function(e,n,r,a){var l=r||a||this,u=Ps(Av(e),this._getStoreDimIndex,this),f=J_(this);return f._store=this._store.map(u,l?Qn(n,l):n),f},t.prototype.modify=function(e,n,r,a){var l=this,u=r||a||this;process.env.NODE_ENV!=="production"&&W(Av(e),function(d){var h=l.getDimensionInfo(d);h.isCalculationCoord||console.error("Danger: only stack dimension can be modified")});var f=Ps(Av(e),this._getStoreDimIndex,this);this._store.modify(f,u?Qn(n,u):n)},t.prototype.downSample=function(e,n,r,a){var l=J_(this);return l._store=this._store.downSample(this._getStoreDimIndex(e),n,r,a),l},t.prototype.lttbDownSample=function(e,n){var r=J_(this);return r._store=this._store.lttbDownSample(this._getStoreDimIndex(e),n),r},t.prototype.getRawDataItem=function(e){return this._store.getRawDataItem(e)},t.prototype.getItemModel=function(e){var n=this.hostModel,r=this.getRawDataItem(e);return new Oi(r,n,n&&n.ecModel)},t.prototype.diff=function(e){var n=this;return new Nb(e?e.getStore().getIndices():[],this.getStore().getIndices(),function(r){return K_(e,r)},function(r){return K_(n,r)})},t.prototype.getVisual=function(e){var n=this._visual;return n&&n[e]},t.prototype.setVisual=function(e,n){this._visual=this._visual||{},Bg(e)?Re(this._visual,e):this._visual[e]=n},t.prototype.getItemVisual=function(e,n){var r=this._itemVisuals[e],a=r&&r[n];return a??this.getVisual(n)},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(e,n){var r=this._itemVisuals,a=r[e];a||(a=r[e]={});var l=a[n];return l==null&&(l=this.getVisual(n),Be(l)?l=l.slice():Bg(l)&&(l=Re({},l)),a[n]=l),l},t.prototype.setItemVisual=function(e,n,r){var a=this._itemVisuals[e]||{};this._itemVisuals[e]=a,Bg(n)?Re(a,n):a[n]=r},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(e,n){Bg(e)?Re(this._layout,e):this._layout[e]=n},t.prototype.getLayout=function(e){return this._layout[e]},t.prototype.getItemLayout=function(e){return this._itemLayouts[e]},t.prototype.setItemLayout=function(e,n,r){this._itemLayouts[e]=r?Re(this._itemLayouts[e]||{},n):n},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(e,n){var r=this.hostModel&&this.hostModel.seriesIndex;r8(r,this.dataType,e,n),this._graphicEls[e]=n},t.prototype.getItemGraphicEl=function(e){return this._graphicEls[e]},t.prototype.eachItemGraphicEl=function(e,n){W(this._graphicEls,function(r,a){r&&e&&e.call(n,r,a)})},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:Ps(this.dimensions,this._getDimInfo,this),this.hostModel)),Ib(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(e,n){var r=this[e];_t(r)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var a=r.apply(this,arguments);return n.apply(this,[a].concat(Yw(arguments)))})},t.internalField=function(){nI=function(e){var n=e._invertedIndicesMap;W(n,function(r,a){var l=e._dimInfos[a],u=l.ordinalMeta,f=e._store;if(u){r=n[a]=new lj(u.categories.length);for(var d=0;d<r.length;d++)r[d]=tI;for(var d=0;d<f.count();d++)r[f.get(l.storeDimIndex,d)]=d}})},Ug=function(e,n,r){return xl(e._getCategory(n,r),null)},K_=function(e,n){var r=e._idList[n];return r==null&&e._idDimIdx!=null&&(r=Ug(e,e._idDimIdx,n)),r==null&&(r=uj+n),r},Av=function(e){return Be(e)||(e=e!=null?[e]:[]),e},J_=function(e){var n=new t(e._schema?e._schema:Ps(e.dimensions,e._getDimInfo,e),e.hostModel);return Ib(n,e),n},Ib=function(e,n){W(sj.concat(n.__wrappedMethods||[]),function(r){n.hasOwnProperty(r)&&(e[r]=n[r])}),e.__wrappedMethods=n.__wrappedMethods,W(fj,function(r){e[r]=Qt(n[r])}),e._calculationInfo=Re({},n._calculationInfo)},zb=function(e,n){var r=e._nameList,a=e._idList,l=e._nameDimIdx,u=e._idDimIdx,f=r[n],d=a[n];if(f==null&&l!=null&&(r[n]=f=Ug(e,l,n)),d==null&&u!=null&&(a[n]=d=Ug(e,u,n)),d==null&&f!=null){var h=e._nameRepeatCount,p=h[f]=(h[f]||0)+1;d=f,p>1&&(d+="__ec__"+p),a[n]=d}}}(),t}();const dj=cj;function vj(t,e){KT(t)||(t=eb(t)),e=e||{};var n=e.coordDimensions||[],r=e.dimensionsDefine||t.dimensionsDefine||[],a=xt(),l=[],u=pj(t,n,r,e.dimensionsCount),f=e.canOmitUnusedDimensions&&eI(u),d=r===t.dimensionsDefine,h=d?JP(t):KP(r),p=e.encodeDefine;!p&&e.encodeDefaulter&&(p=e.encodeDefaulter(t,u));for(var m=xt(p),S=new wN(u),_=0;_<S.length;_++)S[_]=-1;function x(j){var X=S[j];if(X<0){var G=r[j],ee=it(G)?G:{name:G},J=new Z_,ie=ee.name;ie!=null&&h.get(ie)!=null&&(J.name=J.displayName=ie),ee.type!=null&&(J.type=ee.type),ee.displayName!=null&&(J.displayName=ee.displayName);var ce=l.length;return S[j]=ce,J.storeDimIndex=j,l.push(J),J}return l[X]}if(!f)for(var _=0;_<u;_++)x(_);m.each(function(j,X){var G=rr(j).slice();if(G.length===1&&!et(G[0])&&G[0]<0){m.set(X,!1);return}var ee=m.set(X,[]);W(G,function(J,ie){var ce=et(J)?h.get(J):J;ce!=null&&ce<u&&(ee[ie]=ce,b(x(ce),X,ie))})});var E=0;W(n,function(j){var X,G,ee,J;if(et(j))X=j,J={};else{J=j,X=J.name;var ie=J.ordinalMeta;J.ordinalMeta=null,J=Re({},J),J.ordinalMeta=ie,G=J.dimsDef,ee=J.otherDims,J.name=J.coordDim=J.coordDimIndex=J.dimsDef=J.otherDims=null}var ce=m.get(X);if(ce!==!1){if(ce=rr(ce),!ce.length)for(var fe=0;fe<(G&&G.length||1);fe++){for(;E<u&&x(E).coordDim!=null;)E++;E<u&&ce.push(E++)}W(ce,function(Ne,ae){var ge=x(Ne);if(d&&J.type!=null&&(ge.type=J.type),b(Vt(ge,J),X,ae),ge.name==null&&G){var pe=G[ae];!it(pe)&&(pe={name:pe}),ge.name=ge.displayName=pe.name,ge.defaultTooltip=pe.defaultTooltip}ee&&Vt(ge.otherDims,ee)})}});function b(j,X,G){jT.get(X)!=null?j.otherDims[X]=G:(j.coordDim=X,j.coordDimIndex=G,a.set(X,!0))}var D=e.generateCoord,A=e.generateCoordCount,O=A!=null;A=D?A||1:0;var P=D||"value";function I(j){j.name==null&&(j.name=j.coordDim)}if(f)W(l,function(j){I(j)}),l.sort(function(j,X){return j.storeDimIndex-X.storeDimIndex});else for(var F=0;F<u;F++){var U=x(F),H=U.coordDim;H==null&&(U.coordDim=gj(P,a,O),U.coordDimIndex=0,(!D||A<=0)&&(U.isExtraCoord=!0),A--),I(U),U.type==null&&(Vk(t,F)===ka.Must||U.isExtraCoord&&(U.otherDims.itemName!=null||U.otherDims.seriesName!=null))&&(U.type="ordinal")}return hj(l),new QP({source:t,dimensions:l,fullDimensionCount:u,dimensionOmitted:f})}function hj(t){for(var e=xt(),n=0;n<t.length;n++){var r=t[n],a=r.name,l=e.get(a)||0;l>0&&(r.name=a+(l-1)),l++,e.set(a,l)}}function pj(t,e,n,r){var a=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,r||0);return W(e,function(l){var u;it(l)&&(u=l.dimsDef)&&(a=Math.max(a,u.length))}),a}function gj(t,e,n){if(n||e.hasKey(t)){for(var r=0;e.hasKey(t+r);)r++;t+=r}return e.set(t,!0),t}var mj=function(){function t(e){this.coordSysDims=[],this.axisMap=xt(),this.categoryAxisMap=xt(),this.coordSysName=e}return t}();function yj(t){var e=t.get("coordinateSystem"),n=new mj(e),r=_j[e];if(r)return r(t,n,n.axisMap,n.categoryAxisMap),n}var _j={cartesian2d:function(t,e,n,r){var a=t.getReferringComponents("xAxis",Oo).models[0],l=t.getReferringComponents("yAxis",Oo).models[0];if(process.env.NODE_ENV!=="production"){if(!a)throw new Error('xAxis "'+Yf(t.get("xAxisIndex"),t.get("xAxisId"),0)+'" not found');if(!l)throw new Error('yAxis "'+Yf(t.get("xAxisIndex"),t.get("yAxisId"),0)+'" not found')}e.coordSysDims=["x","y"],n.set("x",a),n.set("y",l),Lv(a)&&(r.set("x",a),e.firstCategoryDimIndex=0),Lv(l)&&(r.set("y",l),e.firstCategoryDimIndex==null&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,r){var a=t.getReferringComponents("singleAxis",Oo).models[0];if(process.env.NODE_ENV!=="production"&&!a)throw new Error("singleAxis should be specified.");e.coordSysDims=["single"],n.set("single",a),Lv(a)&&(r.set("single",a),e.firstCategoryDimIndex=0)},polar:function(t,e,n,r){var a=t.getReferringComponents("polar",Oo).models[0],l=a.findAxisModel("radiusAxis"),u=a.findAxisModel("angleAxis");if(process.env.NODE_ENV!=="production"){if(!u)throw new Error("angleAxis option not found");if(!l)throw new Error("radiusAxis option not found")}e.coordSysDims=["radius","angle"],n.set("radius",l),n.set("angle",u),Lv(l)&&(r.set("radius",l),e.firstCategoryDimIndex=0),Lv(u)&&(r.set("angle",u),e.firstCategoryDimIndex==null&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,r){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,r){var a=t.ecModel,l=a.getComponent("parallel",t.get("parallelIndex")),u=e.coordSysDims=l.dimensions.slice();W(l.parallelAxisIndex,function(f,d){var h=a.getComponent("parallelAxis",f),p=u[d];n.set(p,h),Lv(h)&&(r.set(p,h),e.firstCategoryDimIndex==null&&(e.firstCategoryDimIndex=d))})}};function Lv(t){return t.get("type")==="category"}function Sj(t,e,n){n=n||{};var r=n.byIndex,a=n.stackedCoordDimension,l,u,f;Cj(e)?l=e:(u=e.schema,l=u.dimensions,f=e.store);var d=!!(t&&t.get("stack")),h,p,m,S;if(W(l,function(A,O){et(A)&&(l[O]=A={name:A}),d&&!A.isExtraCoord&&(!r&&!h&&A.ordinalMeta&&(h=A),!p&&A.type!=="ordinal"&&A.type!=="time"&&(!a||a===A.coordDim)&&(p=A))}),p&&!r&&!h&&(r=!0),p){m="__\0ecstackresult_"+t.id,S="__\0ecstackedover_"+t.id,h&&(h.createInvertedIndices=!0);var _=p.coordDim,x=p.type,E=0;W(l,function(A){A.coordDim===_&&E++});var b={name:m,coordDim:_,coordDimIndex:E,type:x,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:l.length},D={name:S,coordDim:S,coordDimIndex:E+1,type:x,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:l.length+1};u?(f&&(b.storeDimIndex=f.ensureCalculationDimension(S,x),D.storeDimIndex=f.ensureCalculationDimension(m,x)),u.appendCalculationDimension(b),u.appendCalculationDimension(D)):(l.push(b),l.push(D))}return{stackedDimension:p&&p.name,stackedByDimension:h&&h.name,isStackedByIndex:r,stackedOverDimension:S,stackResultDimension:m}}function Cj(t){return!ZP(t.schema)}function rI(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function wj(t,e){return rI(t,e)?t.getCalculationInfo("stackResultDimension"):e}function xj(t,e){var n=t.get("coordinateSystem"),r=qT.get(n),a;return e&&e.coordSysDims&&(a=ot(e.coordSysDims,function(l){var u={name:l},f=e.axisMap.get(l);if(f){var d=f.get("type");u.type=nj(d)}return u})),a||(a=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),a}function Tj(t,e,n){var r,a;return n&&W(t,function(l,u){var f=l.coordDim,d=n.categoryAxisMap.get(f);d&&(r==null&&(r=u),l.ordinalMeta=d.getOrdinalMeta(),e&&(l.createInvertedIndices=!0)),l.otherDims.itemName!=null&&(a=!0)}),!a&&r!=null&&(t[r].otherDims.itemName=0),r}function iI(t,e,n){n=n||{};var r=e.getSourceManager(),a,l=!1;t?(l=!0,a=eb(t)):(a=r.getSource(),l=a.sourceFormat===lo);var u=yj(e),f=xj(e,u),d=n.useEncodeDefaulter,h=_t(d)?d:d?Aa(i$,f,e):null,p={coordDimensions:f,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:h,canOmitUnusedDimensions:!l},m=vj(a,p),S=Tj(m.dimensions,n.createInvertedIndices,u),_=l?null:r.getSharedDataStore(m),x=Sj(e,{schema:m,store:_}),E=new dj(m,e);E.setCalculationInfo(x);var b=S!=null&&bj(a)?function(D,A,O,P){return P===S?O:this.defaultDimValueGetter(D,A,O,P)}:null;return E.hasItemOption=!1,E.initData(l?a:_,null,b),E}function bj(t){if(t.sourceFormat===lo){var e=Ej(t.data||[]);return!Be(tg(e))}}function Ej(t){for(var e=0;e<t.length&&t[e]==null;)e++;return t[e]}var aI=function(){function t(e){this._setting=e||{},this._extent=[1/0,-1/0]}return t.prototype.getSetting=function(e){return this._setting[e]},t.prototype.unionExtent=function(e){var n=this._extent;e[0]<n[0]&&(n[0]=e[0]),e[1]>n[1]&&(n[1]=e[1])},t.prototype.unionExtentFromData=function(e,n){this.unionExtent(e.getApproximateExtent(n))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(e,n){var r=this._extent;isNaN(e)||(r[0]=e),isNaN(n)||(r[1]=n)},t.prototype.isInExtentRange=function(e){return this._extent[0]<=e&&this._extent[1]>=e},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(e){this._isBlank=e},t}();K0(aI);const Mu=aI;var Dj=0,Mj=function(){function t(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this.uid=++Dj}return t.createByAxisModel=function(e){var n=e.option,r=n.data,a=r&&ot(r,Rj);return new t({categories:a,needCollect:!a,deduplication:n.dedplication!==!1})},t.prototype.getOrdinal=function(e){return this._getOrCreateMap().get(e)},t.prototype.parseAndCollect=function(e){var n,r=this._needCollect;if(!et(e)&&!r)return e;if(r&&!this._deduplication)return n=this.categories.length,this.categories[n]=e,n;var a=this._getOrCreateMap();return n=a.get(e),n==null&&(r?(n=this.categories.length,this.categories[n]=e,a.set(e,n)):n=NaN),n},t.prototype._getOrCreateMap=function(){return this._map||(this._map=xt(this.categories))},t}();function Rj(t){return it(t)&&t.value!=null?t.value:t+""}const Fb=Mj;function Aj(t){var e=Math.pow(10,Q0(Math.abs(t))),n=Math.abs(t/e);return n===0||n===1||n===2||n===3||n===5}function Bb(t){return t.type==="interval"||t.type==="log"}function Lj(t,e,n,r){var a={},l=t[1]-t[0],u=a.interval=hO(l/e,!0);n!=null&&u<n&&(u=a.interval=n),r!=null&&u>r&&(u=a.interval=r);var f=a.intervalPrecision=oI(u),d=a.niceTickExtent=[vr(Math.ceil(t[0]/u)*u,f),vr(Math.floor(t[1]/u)*u,f)];return Oj(d,t),a}function Ub(t){var e=Math.pow(10,Q0(t)),n=t/e;return n?n===2?n=3:n===3?n=5:n*=2:n=1,vr(n*e)}function oI(t){return Su(t)+2}function lI(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function Oj(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),lI(t,0,e),lI(t,1,e),t[0]>t[1]&&(t[0]=t[1])}function e1(t,e){return t>=e[0]&&t<=e[1]}function t1(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function n1(t,e){return t*(e[1]-e[0])+e[0]}var uI=function(t){Pt(e,t);function e(n){var r=t.call(this,n)||this;r.type="ordinal";var a=r.getSetting("ordinalMeta");return a||(a=new Fb({})),Be(a)&&(a=new Fb({categories:ot(a,function(l){return it(l)?l.value:l})})),r._ordinalMeta=a,r._extent=r.getSetting("extent")||[0,a.categories.length-1],r}return e.prototype.parse=function(n){return n==null?NaN:et(n)?this._ordinalMeta.getOrdinal(n):Math.round(n)},e.prototype.contain=function(n){return n=this.parse(n),e1(n,this._extent)&&this._ordinalMeta.categories[n]!=null},e.prototype.normalize=function(n){return n=this._getTickNumber(this.parse(n)),t1(n,this._extent)},e.prototype.scale=function(n){return n=Math.round(n1(n,this._extent)),this.getRawOrdinalNumber(n)},e.prototype.getTicks=function(){for(var n=[],r=this._extent,a=r[0];a<=r[1];)n.push({value:a}),a++;return n},e.prototype.getMinorTicks=function(n){},e.prototype.setSortInfo=function(n){if(n==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var r=n.ordinalNumbers,a=this._ordinalNumbersByTick=[],l=this._ticksByOrdinalNumber=[],u=0,f=this._ordinalMeta.categories.length,d=Math.min(f,r.length);u<d;++u){var h=r[u];a[u]=h,l[h]=u}for(var p=0;u<f;++u){for(;l[p]!=null;)p++;a.push(p),l[p]=u}},e.prototype._getTickNumber=function(n){var r=this._ticksByOrdinalNumber;return r&&n>=0&&n<r.length?r[n]:n},e.prototype.getRawOrdinalNumber=function(n){var r=this._ordinalNumbersByTick;return r&&n>=0&&n<r.length?r[n]:n},e.prototype.getLabel=function(n){if(!this.isBlank()){var r=this.getRawOrdinalNumber(n.value),a=this._ordinalMeta.categories[r];return a==null?"":a+""}},e.prototype.count=function(){return this._extent[1]-this._extent[0]+1},e.prototype.unionExtentFromData=function(n,r){this.unionExtent(n.getApproximateExtent(r))},e.prototype.isInExtentRange=function(n){return n=this._getTickNumber(n),this._extent[0]<=n&&this._extent[1]>=n},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(Mu);Mu.registerClass(uI);const sI=uI;var bc=vr,fI=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type="interval",n._interval=0,n._intervalPrecision=2,n}return e.prototype.parse=function(n){return n},e.prototype.contain=function(n){return e1(n,this._extent)},e.prototype.normalize=function(n){return t1(n,this._extent)},e.prototype.scale=function(n){return n1(n,this._extent)},e.prototype.setExtent=function(n,r){var a=this._extent;isNaN(n)||(a[0]=parseFloat(n)),isNaN(r)||(a[1]=parseFloat(r))},e.prototype.unionExtent=function(n){var r=this._extent;n[0]<r[0]&&(r[0]=n[0]),n[1]>r[1]&&(r[1]=n[1]),this.setExtent(r[0],r[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(n){this._interval=n,this._niceExtent=this._extent.slice(),this._intervalPrecision=oI(n)},e.prototype.getTicks=function(n){var r=this._interval,a=this._extent,l=this._niceExtent,u=this._intervalPrecision,f=[];if(!r)return f;var d=1e4;a[0]<l[0]&&(n?f.push({value:bc(l[0]-r,u)}):f.push({value:a[0]}));for(var h=l[0];h<=l[1]&&(f.push({value:h}),h=bc(h+r,u),h!==f[f.length-1].value);)if(f.length>d)return[];var p=f.length?f[f.length-1].value:l[1];return a[1]>p&&(n?f.push({value:bc(p+r,u)}):f.push({value:a[1]})),f},e.prototype.getMinorTicks=function(n){for(var r=this.getTicks(!0),a=[],l=this.getExtent(),u=1;u<r.length;u++){for(var f=r[u],d=r[u-1],h=0,p=[],m=f.value-d.value,S=m/n;h<n-1;){var _=bc(d.value+(h+1)*S);_>l[0]&&_<l[1]&&p.push(_),h++}a.push(p)}return a},e.prototype.getLabel=function(n,r){if(n==null)return"";var a=r&&r.precision;a==null?a=Su(n.value)||0:a==="auto"&&(a=this._intervalPrecision);var l=bc(n.value,a,!0);return Lk(l)},e.prototype.calcNiceTicks=function(n,r,a){n=n||5;var l=this._extent,u=l[1]-l[0];if(isFinite(u)){u<0&&(u=-u,l.reverse());var f=Lj(l,n,r,a);this._intervalPrecision=f.intervalPrecision,this._interval=f.interval,this._niceExtent=f.niceTickExtent}},e.prototype.calcNiceExtent=function(n){var r=this._extent;if(r[0]===r[1])if(r[0]!==0){var a=Math.abs(r[0]);n.fixMax||(r[1]+=a/2),r[0]-=a/2}else r[1]=1;var l=r[1]-r[0];isFinite(l)||(r[0]=0,r[1]=1),this.calcNiceTicks(n.splitNumber,n.minInterval,n.maxInterval);var u=this._interval;n.fixMin||(r[0]=bc(Math.floor(r[0]/u)*u)),n.fixMax||(r[1]=bc(Math.ceil(r[1]/u)*u))},e.prototype.setNiceExtent=function(n,r){this._niceExtent=[n,r]},e.type="interval",e}(Mu);Mu.registerClass(fI);const Vg=fI;var cI=typeof Float32Array<"u",kj=cI?Float32Array:Array;function Vb(t){return Be(t)?cI?new Float32Array(t):t:new kj(t)}var Nj="__ec_stack_";function Hb(t){return t.get("stack")||Nj+t.seriesIndex}function Gb(t){return t.dim+t.index}function dI(t,e){var n=[];return e.eachSeriesByType(t,function(r){hI(r)&&n.push(r)}),n}function Pj(t){var e={};W(t,function(d){var h=d.coordinateSystem,p=h.getBaseAxis();if(!(p.type!=="time"&&p.type!=="value"))for(var m=d.getData(),S=p.dim+"_"+p.index,_=m.getDimensionIndex(m.mapDimension(p.dim)),x=m.getStore(),E=0,b=x.count();E<b;++E){var D=x.get(_,E);e[S]?e[S].push(D):e[S]=[D]}});var n={};for(var r in e)if(e.hasOwnProperty(r)){var a=e[r];if(a){a.sort(function(d,h){return d-h});for(var l=null,u=1;u<a.length;++u){var f=a[u]-a[u-1];f>0&&(l=l===null?f:Math.min(l,f))}n[r]=l}}return n}function vI(t){var e=Pj(t),n=[];return W(t,function(r){var a=r.coordinateSystem,l=a.getBaseAxis(),u=l.getExtent(),f;if(l.type==="category")f=l.getBandWidth();else if(l.type==="value"||l.type==="time"){var d=l.dim+"_"+l.index,h=e[d],p=Math.abs(u[1]-u[0]),m=l.scale.getExtent(),S=Math.abs(m[1]-m[0]);f=h?p/S*h:p}else{var _=r.getData();f=Math.abs(u[1]-u[0])/_.count()}var x=Zr(r.get("barWidth"),f),E=Zr(r.get("barMaxWidth"),f),b=Zr(r.get("barMinWidth")||(pI(r)?.5:1),f),D=r.get("barGap"),A=r.get("barCategoryGap");n.push({bandWidth:f,barWidth:x,barMaxWidth:E,barMinWidth:b,barGap:D,barCategoryGap:A,axisKey:Gb(l),stackId:Hb(r)})}),Ij(n)}function Ij(t){var e={};W(t,function(r,a){var l=r.axisKey,u=r.bandWidth,f=e[l]||{bandWidth:u,remainedWidth:u,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},d=f.stacks;e[l]=f;var h=r.stackId;d[h]||f.autoWidthCount++,d[h]=d[h]||{width:0,maxWidth:0};var p=r.barWidth;p&&!d[h].width&&(d[h].width=p,p=Math.min(f.remainedWidth,p),f.remainedWidth-=p);var m=r.barMaxWidth;m&&(d[h].maxWidth=m);var S=r.barMinWidth;S&&(d[h].minWidth=S);var _=r.barGap;_!=null&&(f.gap=_);var x=r.barCategoryGap;x!=null&&(f.categoryGap=x)});var n={};return W(e,function(r,a){n[a]={};var l=r.stacks,u=r.bandWidth,f=r.categoryGap;if(f==null){var d=kn(l).length;f=Math.max(35-d*4,15)+"%"}var h=Zr(f,u),p=Zr(r.gap,1),m=r.remainedWidth,S=r.autoWidthCount,_=(m-h)/(S+(S-1)*p);_=Math.max(_,0),W(l,function(D){var A=D.maxWidth,O=D.minWidth;if(D.width){var P=D.width;A&&(P=Math.min(P,A)),O&&(P=Math.max(P,O)),D.width=P,m-=P+p*P,S--}else{var P=_;A&&A<P&&(P=Math.min(A,m)),O&&O>P&&(P=O),P!==_&&(D.width=P,m-=P+p*P,S--)}}),_=(m-h)/(S+(S-1)*p),_=Math.max(_,0);var x=0,E;W(l,function(D,A){D.width||(D.width=_),E=D,x+=D.width*(1+p)}),E&&(x-=E.width*p);var b=-x/2;W(l,function(D,A){n[a][A]=n[a][A]||{bandWidth:u,offset:b,width:D.width},b+=D.width*(1+p)})}),n}function zj(t,e,n){if(t&&e){var r=t[Gb(e)];return r!=null&&n!=null?r[Hb(n)]:r}}function Fj(t,e){var n=dI(t,e),r=vI(n);W(n,function(a){var l=a.getData(),u=a.coordinateSystem,f=u.getBaseAxis(),d=Hb(a),h=r[Gb(f)][d],p=h.offset,m=h.width;l.setLayout({bandWidth:h.bandWidth,offset:p,size:m})})}function Bj(t){return{seriesType:t,plan:FN(),reset:function(e){if(hI(e)){var n=e.getData(),r=e.coordinateSystem,a=r.getBaseAxis(),l=r.getOtherAxis(a),u=n.getDimensionIndex(n.mapDimension(l.dim)),f=n.getDimensionIndex(n.mapDimension(a.dim)),d=e.get("showBackground",!0),h=n.mapDimension(l.dim),p=n.getCalculationInfo("stackResultDimension"),m=rI(n,h)&&!!n.getCalculationInfo("stackedOnSeries"),S=l.isHorizontal(),_=Uj(a,l),x=pI(e),E=e.get("barMinHeight")||0,b=p&&n.getDimensionIndex(p),D=n.getLayout("size"),A=n.getLayout("offset");return{progress:function(O,P){for(var I=O.count,F=x&&Vb(I*3),U=x&&d&&Vb(I*3),H=x&&Vb(I),j=r.master.getRect(),X=S?j.width:j.height,G,ee=P.getStore(),J=0;(G=O.next())!=null;){var ie=ee.get(m?b:u,G),ce=ee.get(f,G),fe=_,Ne=void 0;m&&(Ne=+ie-ee.get(u,G));var ae=void 0,ge=void 0,pe=void 0,Le=void 0;if(S){var Ge=r.dataToPoint([ie,ce]);if(m){var St=r.dataToPoint([Ne,ce]);fe=St[0]}ae=fe,ge=Ge[1]+A,pe=Ge[0]-fe,Le=D,Math.abs(pe)<E&&(pe=(pe<0?-1:1)*E)}else{var Ge=r.dataToPoint([ce,ie]);if(m){var St=r.dataToPoint([ce,Ne]);fe=St[1]}ae=Ge[0]+A,ge=fe,pe=D,Le=Ge[1]-fe,Math.abs(Le)<E&&(Le=(Le<=0?-1:1)*E)}x?(F[J]=ae,F[J+1]=ge,F[J+2]=S?pe:Le,U&&(U[J]=S?j.x:ae,U[J+1]=S?ge:j.y,U[J+2]=X),H[G]=G):P.setItemLayout(G,{x:ae,y:ge,width:pe,height:Le}),J+=3}x&&P.setLayout({largePoints:F,largeDataIndices:H,largeBackgroundPoints:U,valueAxisHorizontal:S})}}}}}}function hI(t){return t.coordinateSystem&&t.coordinateSystem.type==="cartesian2d"}function pI(t){return t.pipelineContext&&t.pipelineContext.large}function Uj(t,e){return e.toGlobalCoord(e.dataToCoord(e.type==="log"?1:0))}var Vj=function(t,e,n,r){for(;n<r;){var a=n+r>>>1;t[a][1]<e?n=a+1:r=a}return n},gI=function(t){Pt(e,t);function e(n){var r=t.call(this,n)||this;return r.type="time",r}return e.prototype.getLabel=function(n){var r=this.getSetting("useUTC");return w_(n.value,Ck[XG(yv(this._minLevelUnit))]||Ck.second,r,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(n,r,a){var l=this.getSetting("useUTC"),u=this.getSetting("locale");return qG(n,r,a,u,l)},e.prototype.getTicks=function(){var n=this._interval,r=this._extent,a=[];if(!n)return a;a.push({value:r[0],level:0});var l=this.getSetting("useUTC"),u=Xj(this._minLevelUnit,this._approxInterval,l,r);return a=a.concat(u),a.push({value:r[1],level:0}),a},e.prototype.calcNiceExtent=function(n){var r=this._extent;if(r[0]===r[1]&&(r[0]-=oo,r[1]+=oo),r[1]===-1/0&&r[0]===1/0){var a=new Date;r[1]=+new Date(a.getFullYear(),a.getMonth(),a.getDate()),r[0]=r[1]-oo}this.calcNiceTicks(n.splitNumber,n.minInterval,n.maxInterval)},e.prototype.calcNiceTicks=function(n,r,a){n=n||10;var l=this._extent,u=l[1]-l[0];this._approxInterval=u/n,r!=null&&this._approxInterval<r&&(this._approxInterval=r),a!=null&&this._approxInterval>a&&(this._approxInterval=a);var f=r1.length,d=Math.min(Vj(r1,this._approxInterval,0,f),f-1);this._interval=r1[d][1],this._minLevelUnit=r1[Math.max(d-1,0)][0]},e.prototype.parse=function(n){return Nn(n)?n:+Cu(n)},e.prototype.contain=function(n){return e1(this.parse(n),this._extent)},e.prototype.normalize=function(n){return t1(this.parse(n),this._extent)},e.prototype.scale=function(n){return n1(n,this._extent)},e.type="time",e}(Vg),r1=[["second",IT],["minute",zT],["hour",gg],["quarter-day",gg*6],["half-day",gg*12],["day",oo*1.2],["half-week",oo*3.5],["week",oo*7],["month",oo*31],["quarter",oo*95],["half-year",Sk/2],["year",Sk]];function Hj(t,e,n,r){var a=Cu(e),l=Cu(n),u=function(x){return Tk(a,x,r)===Tk(l,x,r)},f=function(){return u("year")},d=function(){return f()&&u("month")},h=function(){return d()&&u("day")},p=function(){return h()&&u("hour")},m=function(){return p()&&u("minute")},S=function(){return m()&&u("second")},_=function(){return S()&&u("millisecond")};switch(t){case"year":return f();case"month":return d();case"day":return h();case"hour":return p();case"minute":return m();case"second":return S();case"millisecond":return _()}}function Gj(t,e){return t/=oo,t>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function $j(t){var e=30*oo;return t/=e,t>6?6:t>3?3:t>2?2:1}function jj(t){return t/=gg,t>12?12:t>6?6:t>3.5?4:t>2?2:1}function mI(t,e){return t/=e?zT:IT,t>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function Yj(t){return hO(t,!0)}function Wj(t,e,n){var r=new Date(t);switch(yv(e)){case"year":case"month":r[bk(n)](0);case"day":r[Ek(n)](1);case"hour":r[Dk(n)](0);case"minute":r[Mk(n)](0);case"second":r[Rk(n)](0),r[Ak(n)](0)}return r.getTime()}function Xj(t,e,n,r){var a=1e4,l=wk,u=0;function f(X,G,ee,J,ie,ce,fe){for(var Ne=new Date(G),ae=G,ge=Ne[J]();ae<ee&&ae<=r[1];)fe.push({value:ae}),ge+=X,Ne[ie](ge),ae=Ne.getTime();fe.push({value:ae,notAdd:!0})}function d(X,G,ee){var J=[],ie=!G.length;if(!Hj(yv(X),r[0],r[1],n)){ie&&(G=[{value:Wj(new Date(r[0]),X,n)},{value:r[1]}]);for(var ce=0;ce<G.length-1;ce++){var fe=G[ce].value,Ne=G[ce+1].value;if(fe!==Ne){var ae=void 0,ge=void 0,pe=void 0,Le=!1;switch(X){case"year":ae=Math.max(1,Math.round(e/oo/365)),ge=BT(n),pe=QG(n);break;case"half-year":case"quarter":case"month":ae=$j(e),ge=_v(n),pe=bk(n);break;case"week":case"half-week":case"day":ae=Gj(e),ge=x_(n),pe=Ek(n),Le=!0;break;case"half-day":case"quarter-day":case"hour":ae=jj(e),ge=yg(n),pe=Dk(n);break;case"minute":ae=mI(e,!0),ge=T_(n),pe=Mk(n);break;case"second":ae=mI(e,!1),ge=b_(n),pe=Rk(n);break;case"millisecond":ae=Yj(e),ge=E_(n),pe=Ak(n);break}f(ae,fe,Ne,ge,pe,Le,J),X==="year"&&ee.length>1&&ce===0&&ee.unshift({value:ee[0].value-ae})}}for(var ce=0;ce<J.length;ce++)ee.push(J[ce]);return J}}for(var h=[],p=[],m=0,S=0,_=0;_<l.length&&u++<a;++_){var x=yv(l[_]);if(WG(l[_])){d(l[_],h[h.length-1]||[],p);var E=l[_+1]?yv(l[_+1]):null;if(x!==E){if(p.length){S=m,p.sort(function(X,G){return X.value-G.value});for(var b=[],D=0;D<p.length;++D){var A=p[D].value;(D===0||p[D-1].value!==A)&&(b.push(p[D]),A>=r[0]&&A<=r[1]&&m++)}var O=(r[1]-r[0])/e;if(m>O*1.5&&S>O/1.5||(h.push(b),m>O||t===l[_]))break}p=[]}}}process.env.NODE_ENV!=="production"&&u>=a&&Fr("Exceed safe limit.");for(var P=br(ot(h,function(X){return br(X,function(G){return G.value>=r[0]&&G.value<=r[1]&&!G.notAdd})}),function(X){return X.length>0}),I=[],F=P.length-1,_=0;_<P.length;++_)for(var U=P[_],H=0;H<U.length;++H)I.push({value:U[H].value,level:F-_});I.sort(function(X,G){return X.value-G.value});for(var j=[],_=0;_<I.length;++_)(_===0||I[_].value!==I[_-1].value)&&j.push(I[_]);return j}Mu.registerClass(gI);const qj=gI;var yI=Mu.prototype,Hg=Vg.prototype,Qj=vr,Zj=Math.floor,Kj=Math.ceil,i1=Math.pow,Uo=Math.log,$b=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type="log",n.base=10,n._originalScale=new Vg,n._interval=0,n}return e.prototype.getTicks=function(n){var r=this._originalScale,a=this._extent,l=r.getExtent(),u=Hg.getTicks.call(this,n);return ot(u,function(f){var d=f.value,h=vr(i1(this.base,d));return h=d===a[0]&&this._fixMin?a1(h,l[0]):h,h=d===a[1]&&this._fixMax?a1(h,l[1]):h,{value:h}},this)},e.prototype.setExtent=function(n,r){var a=Uo(this.base);n=Uo(Math.max(0,n))/a,r=Uo(Math.max(0,r))/a,Hg.setExtent.call(this,n,r)},e.prototype.getExtent=function(){var n=this.base,r=yI.getExtent.call(this);r[0]=i1(n,r[0]),r[1]=i1(n,r[1]);var a=this._originalScale,l=a.getExtent();return this._fixMin&&(r[0]=a1(r[0],l[0])),this._fixMax&&(r[1]=a1(r[1],l[1])),r},e.prototype.unionExtent=function(n){this._originalScale.unionExtent(n);var r=this.base;n[0]=Uo(n[0])/Uo(r),n[1]=Uo(n[1])/Uo(r),yI.unionExtent.call(this,n)},e.prototype.unionExtentFromData=function(n,r){this.unionExtent(n.getApproximateExtent(r))},e.prototype.calcNiceTicks=function(n){n=n||10;var r=this._extent,a=r[1]-r[0];if(!(a===1/0||a<=0)){var l=z4(a),u=n/a*l;for(u<=.5&&(l*=10);!isNaN(l)&&Math.abs(l)<1&&Math.abs(l)>0;)l*=10;var f=[vr(Kj(r[0]/l)*l),vr(Zj(r[1]/l)*l)];this._interval=l,this._niceExtent=f}},e.prototype.calcNiceExtent=function(n){Hg.calcNiceExtent.call(this,n),this._fixMin=n.fixMin,this._fixMax=n.fixMax},e.prototype.parse=function(n){return n},e.prototype.contain=function(n){return n=Uo(n)/Uo(this.base),e1(n,this._extent)},e.prototype.normalize=function(n){return n=Uo(n)/Uo(this.base),t1(n,this._extent)},e.prototype.scale=function(n){return n=n1(n,this._extent),i1(this.base,n)},e.type="log",e}(Mu),_I=$b.prototype;_I.getMinorTicks=Hg.getMinorTicks,_I.getLabel=Hg.getLabel;function a1(t,e){return Qj(t,Su(e))}Mu.registerClass($b);const Jj=$b;var eY=function(){function t(e,n,r){this._prepareParams(e,n,r)}return t.prototype._prepareParams=function(e,n,r){r[1]<r[0]&&(r=[NaN,NaN]),this._dataMin=r[0],this._dataMax=r[1];var a=this._isOrdinal=e.type==="ordinal";this._needCrossZero=e.type==="interval"&&n.getNeedCrossZero&&n.getNeedCrossZero();var l=this._modelMinRaw=n.get("min",!0);_t(l)?this._modelMinNum=o1(e,l({min:r[0],max:r[1]})):l!=="dataMin"&&(this._modelMinNum=o1(e,l));var u=this._modelMaxRaw=n.get("max",!0);if(_t(u)?this._modelMaxNum=o1(e,u({min:r[0],max:r[1]})):u!=="dataMax"&&(this._modelMaxNum=o1(e,u)),a)this._axisDataLen=n.getCategories().length;else{var f=n.get("boundaryGap"),d=Be(f)?f:[f||0,f||0];typeof d[0]=="boolean"||typeof d[1]=="boolean"?(process.env.NODE_ENV!=="production"&&console.warn('Boolean type for boundaryGap is only allowed for ordinal axis. Please use string in percentage instead, e.g., "20%". Currently, boundaryGap is set to be 0.'),this._boundaryGapInner=[0,0]):this._boundaryGapInner=[Jf(d[0],1),Jf(d[1],1)]}},t.prototype.calculate=function(){var e=this._isOrdinal,n=this._dataMin,r=this._dataMax,a=this._axisDataLen,l=this._boundaryGapInner,u=e?null:r-n||Math.abs(n),f=this._modelMinRaw==="dataMin"?n:this._modelMinNum,d=this._modelMaxRaw==="dataMax"?r:this._modelMaxNum,h=f!=null,p=d!=null;f==null&&(f=e?a?0:NaN:n-l[0]*u),d==null&&(d=e?a?a-1:NaN:r+l[1]*u),(f==null||!isFinite(f))&&(f=NaN),(d==null||!isFinite(d))&&(d=NaN);var m=Fp(f)||Fp(d)||e&&!a;this._needCrossZero&&(f>0&&d>0&&!h&&(f=0),f<0&&d<0&&!p&&(d=0));var S=this._determinedMin,_=this._determinedMax;return S!=null&&(f=S,h=!0),_!=null&&(d=_,p=!0),{min:f,max:d,minFixed:h,maxFixed:p,isBlank:m}},t.prototype.modifyDataMinMax=function(e,n){process.env.NODE_ENV!=="production"&&bt(!this.frozen),this[nY[e]]=n},t.prototype.setDeterminedMinMax=function(e,n){var r=tY[e];process.env.NODE_ENV!=="production"&&bt(!this.frozen&&this[r]==null),this[r]=n},t.prototype.freeze=function(){this.frozen=!0},t}(),tY={min:"_determinedMin",max:"_determinedMax"},nY={min:"_dataMin",max:"_dataMax"};function rY(t,e,n){var r=t.rawExtentInfo;return r||(r=new eY(t,e,n),t.rawExtentInfo=r,r)}function o1(t,e){return e==null?null:Fp(e)?NaN:t.parse(e)}function SI(t,e){var n=t.type,r=rY(t,e,t.getExtent()).calculate();t.setBlank(r.isBlank);var a=r.min,l=r.max,u=e.ecModel;if(u&&n==="time"){var f=dI("bar",u),d=!1;if(W(f,function(m){d=d||m.getBaseAxis()===e.axis}),d){var h=vI(f),p=iY(a,l,e,h);a=p.min,l=p.max}}return{extent:[a,l],fixMin:r.minFixed,fixMax:r.maxFixed}}function iY(t,e,n,r){var a=n.axis.getExtent(),l=a[1]-a[0],u=zj(r,n.axis);if(u===void 0)return{min:t,max:e};var f=1/0;W(u,function(_){f=Math.min(_.offset,f)});var d=-1/0;W(u,function(_){d=Math.max(_.offset+_.width,d)}),f=Math.abs(f),d=Math.abs(d);var h=f+d,p=e-t,m=1-(f+d)/l,S=p/m-p;return e+=S*(d/h),t-=S*(f/h),{min:t,max:e}}function CI(t,e){var n=e,r=SI(t,n),a=r.extent,l=n.get("splitNumber");t instanceof Jj&&(t.base=n.get("logBase"));var u=t.type,f=n.get("interval"),d=u==="interval"||u==="time";t.setExtent(a[0],a[1]),t.calcNiceExtent({splitNumber:l,fixMin:r.fixMin,fixMax:r.fixMax,minInterval:d?n.get("minInterval"):null,maxInterval:d?n.get("maxInterval"):null}),f!=null&&t.setInterval&&t.setInterval(f)}function aY(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new sI({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new qj({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(Mu.getClass(e)||Vg)}}function oY(t){var e=t.scale.getExtent(),n=e[0],r=e[1];return!(n>0&&r>0||n<0&&r<0)}function Gg(t){var e=t.getLabelModel().get("formatter"),n=t.type==="category"?t.scale.getExtent()[0]:null;return t.scale.type==="time"?function(r){return function(a,l){return t.scale.getFormattedLabel(a,l,r)}}(e):et(e)?function(r){return function(a){var l=t.scale.getLabel(a),u=r.replace("{value}",l??"");return u}}(e):_t(e)?function(r){return function(a,l){return n!=null&&(l=a.value-n),r(jb(t,a),l,a.level!=null?{level:a.level}:null)}}(e):function(r){return t.scale.getLabel(r)}}function jb(t,e){return t.type==="category"?t.scale.getLabel(e):e.value}function lY(t){var e=t.model,n=t.scale;if(!(!e.get(["axisLabel","show"])||n.isBlank())){var r,a,l=n.getExtent();n instanceof sI?a=n.count():(r=n.getTicks(),a=r.length);var u=t.getLabelModel(),f=Gg(t),d,h=1;a>40&&(h=Math.ceil(a/40));for(var p=0;p<a;p+=h){var m=r?r[p]:{value:l[0]+p},S=f(m,p),_=u.getTextRect(S),x=uY(_,u.get("rotate")||0);d?d.union(x):d=x}return d}}function uY(t,e){var n=e*Math.PI/180,r=t.width,a=t.height,l=r*Math.abs(Math.cos(n))+Math.abs(a*Math.sin(n)),u=r*Math.abs(Math.sin(n))+Math.abs(a*Math.cos(n)),f=new Wt(t.x,t.y,l,u);return f}function Yb(t){var e=t.get("interval");return e??"auto"}function wI(t){return t.type==="category"&&Yb(t.getLabelModel())===0}function sY(t,e){var n={};return W(t.mapDimensionsAll(e),function(r){n[wj(t,r)]=!0}),kn(n)}var fY=function(){function t(){}return t.prototype.getNeedCrossZero=function(){var e=this.option;return!e.scale},t.prototype.getCoordSysModel=function(){},t}(),xI=[],cY={registerPreprocessor:jP,registerProcessor:YP,registerPostInit:W7,registerPostUpdate:X7,registerUpdateLifecycle:Ob,registerAction:Rv,registerCoordinateSystem:q7,registerLayout:Q7,registerVisual:Tc,registerTransform:K7,registerLoading:XP,registerMap:Z7,registerImpl:D7,PRIORITY:U7,ComponentModel:En,ComponentView:Du,SeriesModel:bv,ChartView:Ev,registerComponentModel:function(t){En.registerClass(t)},registerComponentView:function(t){Du.registerClass(t)},registerSeriesModel:function(t){bv.registerClass(t)},registerChartView:function(t){Ev.registerClass(t)},registerSubTypeDefaulter:function(t,e){En.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){O4(t,e)}};function $g(t){if(Be(t)){W(t,function(e){$g(e)});return}dn(xI,t)>=0||(xI.push(t),_t(t)&&(t={install:t}),t.install(cY))}var jg=jn();function dY(t){return t.type==="category"?hY(t):gY(t)}function vY(t,e){return t.type==="category"?pY(t,e):{ticks:ot(t.scale.getTicks(),function(n){return n.value})}}function hY(t){var e=t.getLabelModel(),n=TI(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}function TI(t,e){var n=bI(t,"labels"),r=Yb(e),a=EI(n,r);if(a)return a;var l,u;return _t(r)?l=RI(t,r):(u=r==="auto"?mY(t):r,l=MI(t,u)),DI(n,r,{labels:l,labelCategoryInterval:u})}function pY(t,e){var n=bI(t,"ticks"),r=Yb(e),a=EI(n,r);if(a)return a;var l,u;if((!e.get("show")||t.scale.isBlank())&&(l=[]),_t(r))l=RI(t,r,!0);else if(r==="auto"){var f=TI(t,t.getLabelModel());u=f.labelCategoryInterval,l=ot(f.labels,function(d){return d.tickValue})}else u=r,l=MI(t,u,!0);return DI(n,r,{ticks:l,tickCategoryInterval:u})}function gY(t){var e=t.scale.getTicks(),n=Gg(t);return{labels:ot(e,function(r,a){return{level:r.level,formattedLabel:n(r,a),rawLabel:t.scale.getLabel(r),tickValue:r.value}})}}function bI(t,e){return jg(t)[e]||(jg(t)[e]=[])}function EI(t,e){for(var n=0;n<t.length;n++)if(t[n].key===e)return t[n].value}function DI(t,e,n){return t.push({key:e,value:n}),n}function mY(t){var e=jg(t).autoInterval;return e??(jg(t).autoInterval=t.calculateCategoryInterval())}function yY(t){var e=_Y(t),n=Gg(t),r=(e.axisRotate-e.labelRotate)/180*Math.PI,a=t.scale,l=a.getExtent(),u=a.count();if(l[1]-l[0]<1)return 0;var f=1;u>40&&(f=Math.max(1,Math.floor(u/40)));for(var d=l[0],h=t.dataToCoord(d+1)-t.dataToCoord(d),p=Math.abs(h*Math.cos(r)),m=Math.abs(h*Math.sin(r)),S=0,_=0;d<=l[1];d+=f){var x=0,E=0,b=Ox(n({value:d}),e.font,"center","top");x=b.width*1.3,E=b.height*1.3,S=Math.max(S,x,7),_=Math.max(_,E,7)}var D=S/p,A=_/m;isNaN(D)&&(D=1/0),isNaN(A)&&(A=1/0);var O=Math.max(0,Math.floor(Math.min(D,A))),P=jg(t.model),I=t.getExtent(),F=P.lastAutoInterval,U=P.lastTickCount;return F!=null&&U!=null&&Math.abs(F-O)<=1&&Math.abs(U-u)<=1&&F>O&&P.axisExtent0===I[0]&&P.axisExtent1===I[1]?O=F:(P.lastTickCount=u,P.lastAutoInterval=O,P.axisExtent0=I[0],P.axisExtent1=I[1]),O}function _Y(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}function MI(t,e,n){var r=Gg(t),a=t.scale,l=a.getExtent(),u=t.getLabelModel(),f=[],d=Math.max((e||0)+1,1),h=l[0],p=a.count();h!==0&&d>1&&p/d>2&&(h=Math.round(Math.ceil(h/d)*d));var m=wI(t),S=u.get("showMinLabel")||m,_=u.get("showMaxLabel")||m;S&&h!==l[0]&&E(l[0]);for(var x=h;x<=l[1];x+=d)E(x);_&&x-d!==l[1]&&E(l[1]);function E(b){var D={value:b};f.push(n?b:{formattedLabel:r(D),rawLabel:a.getLabel(D),tickValue:b})}return f}function RI(t,e,n){var r=t.scale,a=Gg(t),l=[];return W(r.getTicks(),function(u){var f=r.getLabel(u),d=u.value;e(u.value,f)&&l.push(n?d:{formattedLabel:a(u),rawLabel:f,tickValue:d})}),l}var AI=[0,1],SY=function(){function t(e,n,r){this.onBand=!1,this.inverse=!1,this.dim=e,this.scale=n,this._extent=r||[0,0]}return t.prototype.contain=function(e){var n=this._extent,r=Math.min(n[0],n[1]),a=Math.max(n[0],n[1]);return e>=r&&e<=a},t.prototype.containData=function(e){return this.scale.contain(e)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(e){return N4(e||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(e,n){var r=this._extent;r[0]=e,r[1]=n},t.prototype.dataToCoord=function(e,n){var r=this._extent,a=this.scale;return e=a.normalize(e),this.onBand&&a.type==="ordinal"&&(r=r.slice(),LI(r,a.count())),dO(e,AI,r,n)},t.prototype.coordToData=function(e,n){var r=this._extent,a=this.scale;this.onBand&&a.type==="ordinal"&&(r=r.slice(),LI(r,a.count()));var l=dO(e,r,AI,n);return this.scale.scale(l)},t.prototype.pointToData=function(e,n){},t.prototype.getTicksCoords=function(e){e=e||{};var n=e.tickModel||this.getTickModel(),r=vY(this,n),a=r.ticks,l=ot(a,function(f){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(f):f),tickValue:f}},this),u=n.get("alignWithLabel");return CY(this,l,u,e.clamp),l},t.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var e=this.model.getModel("minorTick"),n=e.get("splitNumber");n>0&&n<100||(n=5);var r=this.scale.getMinorTicks(n),a=ot(r,function(l){return ot(l,function(u){return{coord:this.dataToCoord(u),tickValue:u}},this)},this);return a},t.prototype.getViewLabels=function(){return dY(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var e=this._extent,n=this.scale.getExtent(),r=n[1]-n[0]+(this.onBand?1:0);r===0&&(r=1);var a=Math.abs(e[1]-e[0]);return Math.abs(a)/r},t.prototype.calculateCategoryInterval=function(){return yY(this)},t}();function LI(t,e){var n=t[1]-t[0],r=e,a=n/r/2;t[0]+=a,t[1]-=a}function CY(t,e,n,r){var a=e.length;if(!t.onBand||n||!a)return;var l=t.getExtent(),u,f;if(a===1)e[0].coord=l[0],u=e[1]={coord:l[0]};else{var d=e[a-1].tickValue-e[0].tickValue,h=(e[a-1].coord-e[0].coord)/d;W(e,function(_){_.coord-=h/2});var p=t.scale.getExtent();f=1+p[1]-e[a-1].tickValue,u={coord:e[a-1].coord+h*f},e.push(u)}var m=l[0]>l[1];S(e[0].coord,l[0])&&(r?e[0].coord=l[0]:e.shift()),r&&S(l[0],e[0].coord)&&e.unshift({coord:l[0]}),S(l[1],u.coord)&&(r?u.coord=l[1]:e.pop()),r&&S(u.coord,l[1])&&e.push({coord:l[1]});function S(_,x){return _=vr(_),x=vr(x),m?_>x:_<x}}const wY=SY;var Yg=Math.PI*2,Ec=As.CMD,xY=["top","right","bottom","left"];function TY(t,e,n,r,a){var l=n.width,u=n.height;switch(t){case"top":r.set(n.x+l/2,n.y-e),a.set(0,-1);break;case"bottom":r.set(n.x+l/2,n.y+u+e),a.set(0,1);break;case"left":r.set(n.x-e,n.y+u/2),a.set(-1,0);break;case"right":r.set(n.x+l+e,n.y+u/2),a.set(1,0);break}}function bY(t,e,n,r,a,l,u,f,d){u-=t,f-=e;var h=Math.sqrt(u*u+f*f);u/=h,f/=h;var p=u*n+t,m=f*n+e;if(Math.abs(r-a)%Yg<1e-4)return d[0]=p,d[1]=m,h-n;if(l){var S=r;r=Ls(a),a=Ls(S)}else r=Ls(r),a=Ls(a);r>a&&(a+=Yg);var _=Math.atan2(f,u);if(_<0&&(_+=Yg),_>=r&&_<=a||_+Yg>=r&&_+Yg<=a)return d[0]=p,d[1]=m,h-n;var x=n*Math.cos(r)+t,E=n*Math.sin(r)+e,b=n*Math.cos(a)+t,D=n*Math.sin(a)+e,A=(x-u)*(x-u)+(E-f)*(E-f),O=(b-u)*(b-u)+(D-f)*(D-f);return A<O?(d[0]=x,d[1]=E,Math.sqrt(A)):(d[0]=b,d[1]=D,Math.sqrt(O))}function Wb(t,e,n,r,a,l,u,f){var d=a-t,h=l-e,p=n-t,m=r-e,S=Math.sqrt(p*p+m*m);p/=S,m/=S;var _=d*p+h*m,x=_/S;f&&(x=Math.min(Math.max(x,0),1)),x*=S;var E=u[0]=t+x*p,b=u[1]=e+x*m;return Math.sqrt((E-a)*(E-a)+(b-l)*(b-l))}function OI(t,e,n,r,a,l,u){n<0&&(t=t+n,n=-n),r<0&&(e=e+r,r=-r);var f=t+n,d=e+r,h=u[0]=Math.min(Math.max(a,t),f),p=u[1]=Math.min(Math.max(l,e),d);return Math.sqrt((h-a)*(h-a)+(p-l)*(p-l))}var Vo=[];function EY(t,e,n){var r=OI(e.x,e.y,e.width,e.height,t.x,t.y,Vo);return n.set(Vo[0],Vo[1]),r}function DY(t,e,n){for(var r=0,a=0,l=0,u=0,f,d,h=1/0,p=e.data,m=t.x,S=t.y,_=0;_<p.length;){var x=p[_++];_===1&&(r=p[_],a=p[_+1],l=r,u=a);var E=h;switch(x){case Ec.M:l=p[_++],u=p[_++],r=l,a=u;break;case Ec.L:E=Wb(r,a,p[_],p[_+1],m,S,Vo,!0),r=p[_++],a=p[_++];break;case Ec.C:E=NL(r,a,p[_++],p[_++],p[_++],p[_++],p[_],p[_+1],m,S,Vo),r=p[_++],a=p[_++];break;case Ec.Q:E=zL(r,a,p[_++],p[_++],p[_],p[_+1],m,S,Vo),r=p[_++],a=p[_++];break;case Ec.A:var b=p[_++],D=p[_++],A=p[_++],O=p[_++],P=p[_++],I=p[_++];_+=1;var F=!!(1-p[_++]);f=Math.cos(P)*A+b,d=Math.sin(P)*O+D,_<=1&&(l=f,u=d);var U=(m-b)*O/A+b;E=bY(b,D,O,P,P+I,F,U,S,Vo),r=Math.cos(P+I)*A+b,a=Math.sin(P+I)*O+D;break;case Ec.R:l=r=p[_++],u=a=p[_++];var H=p[_++],j=p[_++];E=OI(l,u,H,j,m,S,Vo);break;case Ec.Z:E=Wb(r,a,l,u,m,S,Vo,!0),r=l,a=u;break}E<h&&(h=E,n.set(Vo[0],Vo[1]))}return h}var Dc=new ht,Ur=new ht,Pa=new ht,Ov=new ht,Wg=new ht;function kI(t,e){if(t){var n=t.getTextGuideLine(),r=t.getTextContent();if(r&&n){var a=t.textGuideLineConfig||{},l=[[0,0],[0,0],[0,0]],u=a.candidates||xY,f=r.getBoundingRect().clone();f.applyTransform(r.getComputedTransform());var d=1/0,h=a.anchor,p=t.getComputedTransform(),m=p&&R0([],p),S=e.get("length2")||0;h&&Pa.copy(h);for(var _=0;_<u.length;_++){var x=u[_];TY(x,0,f,Dc,Ov),ht.scaleAndAdd(Ur,Dc,Ov,S),Ur.transform(m);var E=t.getBoundingRect(),b=h?h.distance(Ur):t instanceof Gt?DY(Ur,t.path,Pa):EY(Ur,E,Pa);b<d&&(d=b,Ur.transform(p),Pa.transform(p),Pa.toArray(l[0]),Ur.toArray(l[1]),Dc.toArray(l[2]))}MY(l,e.get("minTurnAngle")),n.setShape({points:l})}}}var NI=[],Mc=new ht;function MY(t,e){if(e<=180&&e>0){e=e/180*Math.PI,Dc.fromArray(t[0]),Ur.fromArray(t[1]),Pa.fromArray(t[2]),ht.sub(Ov,Dc,Ur),ht.sub(Wg,Pa,Ur);var n=Ov.len(),r=Wg.len();if(!(n<.001||r<.001)){Ov.scale(1/n),Wg.scale(1/r);var a=Ov.dot(Wg),l=Math.cos(e);if(l<a){var u=Wb(Ur.x,Ur.y,Pa.x,Pa.y,Dc.x,Dc.y,NI,!1);Mc.fromArray(NI),Mc.scaleAndAdd(Wg,u/Math.tan(Math.PI-e));var f=Pa.x!==Ur.x?(Mc.x-Ur.x)/(Pa.x-Ur.x):(Mc.y-Ur.y)/(Pa.y-Ur.y);if(isNaN(f))return;f<0?ht.copy(Mc,Ur):f>1&&ht.copy(Mc,Pa),Mc.toArray(t[1])}}}}function PI(t,e,n,r){var a=n==="normal",l=a?t:t.ensureState(n);l.ignore=e;var u=r.get("smooth");u&&u===!0&&(u=.3),l.shape=l.shape||{},u>0&&(l.shape.smooth=u);var f=r.getModel("lineStyle").getLineStyle();a?t.useStyle(f):l.style=f}function RY(t,e){var n=e.smooth,r=e.points;if(r)if(t.moveTo(r[0][0],r[0][1]),n>0&&r.length>=3){var a=Qw(r[0],r[1]),l=Qw(r[1],r[2]);if(!a||!l){t.lineTo(r[1][0],r[1][1]),t.lineTo(r[2][0],r[2][1]);return}var u=Math.min(a,l)*n,f=M0([],r[1],r[0],u/a),d=M0([],r[1],r[2],u/l),h=M0([],f,d,.5);t.bezierCurveTo(f[0],f[1],f[0],f[1],h[0],h[1]),t.bezierCurveTo(d[0],d[1],d[0],d[1],r[2][0],r[2][1])}else for(var p=1;p<r.length;p++)t.lineTo(r[p][0],r[p][1])}function AY(t,e,n){var r=t.getTextGuideLine(),a=t.getTextContent();if(!a){r&&t.removeTextGuideLine();return}for(var l=e.normal,u=l.get("show"),f=a.ignore,d=0;d<i_.length;d++){var h=i_[d],p=e[h],m=h==="normal";if(p){var S=p.get("show"),_=m?f:kt(a.states[h]&&a.states[h].ignore,f);if(_||!kt(S,u)){var x=m?r:r&&r.states[h];x&&(x.ignore=!0);continue}r||(r=new wT,t.setTextGuideLine(r),!m&&(f||!u)&&PI(r,!0,"normal",e.normal),t.stateProxy&&(r.stateProxy=t.stateProxy)),PI(r,!1,h,p)}}if(r){Vt(r.style,n),r.style.fill=null;var E=l.get("showAbove"),b=t.textGuideLineConfig=t.textGuideLineConfig||{};b.showAbove=E||!1,r.buildPath=RY}}function LY(t,e){e=e||"labelLine";for(var n={normal:t.getModel(e)},r=0;r<Ml.length;r++){var a=Ml[r];n[a]=t.getModel([a,e])}return n}function II(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];if(!r.defaultAttr.ignore){var a=r.label,l=a.getComputedTransform(),u=a.getBoundingRect(),f=!l||l[1]<1e-5&&l[2]<1e-5,d=a.style.margin||0,h=u.clone();h.applyTransform(l),h.x-=d/2,h.y-=d/2,h.width+=d,h.height+=d;var p=f?new v_(u,l):null;e.push({label:a,labelLine:r.labelLine,rect:h,localRect:u,obb:p,priority:r.priority,defaultAttr:r.defaultAttr,layoutOption:r.computedLayoutOption,axisAligned:f,transform:l})}}return e}function zI(t,e,n,r,a,l){var u=t.length;if(u<2)return;t.sort(function(H,j){return H.rect[e]-j.rect[e]});for(var f=0,d,h=!1,p=0,m=0;m<u;m++){var S=t[m],_=S.rect;d=_[e]-f,d<0&&(_[e]-=d,S.label[e]-=d,h=!0);var x=Math.max(-d,0);p+=x,f=_[e]+_[n]}p>0&&l&&I(-p/u,0,u);var E=t[0],b=t[u-1],D,A;O(),D<0&&F(-D,.8),A<0&&F(A,.8),O(),P(D,A,1),P(A,D,-1),O(),D<0&&U(-D),A<0&&U(A);function O(){D=E.rect[e]-r,A=a-b.rect[e]-b.rect[n]}function P(H,j,X){if(H<0){var G=Math.min(j,-H);if(G>0){I(G*X,0,u);var ee=G+H;ee<0&&F(-ee*X,1)}else F(-H*X,1)}}function I(H,j,X){H!==0&&(h=!0);for(var G=j;G<X;G++){var ee=t[G],J=ee.rect;J[e]+=H,ee.label[e]+=H}}function F(H,j){for(var X=[],G=0,ee=1;ee<u;ee++){var J=t[ee-1].rect,ie=Math.max(t[ee].rect[e]-J[e]-J[n],0);X.push(ie),G+=ie}if(G){var ce=Math.min(Math.abs(H)/G,j);if(H>0)for(var ee=0;ee<u-1;ee++){var fe=X[ee]*ce;I(fe,0,ee+1)}else for(var ee=u-1;ee>0;ee--){var fe=X[ee-1]*ce;I(-fe,ee,u)}}}function U(H){var j=H<0?-1:1;H=Math.abs(H);for(var X=Math.ceil(H/(u-1)),G=0;G<u-1;G++)if(j>0?I(X,0,G+1):I(-X,u-G-1,u),H-=X,H<=0)return}return h}function OY(t,e,n,r){return zI(t,"x","width",e,n,r)}function kY(t,e,n,r){return zI(t,"y","height",e,n,r)}function FI(t){var e=[];t.sort(function(E,b){return b.priority-E.priority});var n=new Wt(0,0,0,0);function r(E){if(!E.ignore){var b=E.ensureState("emphasis");b.ignore==null&&(b.ignore=!1)}E.ignore=!0}for(var a=0;a<t.length;a++){var l=t[a],u=l.axisAligned,f=l.localRect,d=l.transform,h=l.label,p=l.labelLine;n.copy(l.rect),n.width-=.1,n.height-=.1,n.x+=.05,n.y+=.05;for(var m=l.obb,S=!1,_=0;_<e.length;_++){var x=e[_];if(n.intersect(x.rect)){if(u&&x.axisAligned){S=!0;break}if(x.obb||(x.obb=new v_(x.localRect,x.transform)),m||(m=new v_(f,d)),m.intersect(x.obb)){S=!0;break}}}S?(r(h),p&&r(p)):(h.attr("ignore",l.defaultAttr.ignore),p&&p.attr("ignore",l.defaultAttr.labelGuideIgnore),e.push(l))}}function NY(t){if(t){for(var e=[],n=0;n<t.length;n++)e.push(t[n].slice());return e}}function PY(t,e){var n=t.label,r=e&&e.getTextGuideLine();return{dataIndex:t.dataIndex,dataType:t.dataType,seriesIndex:t.seriesModel.seriesIndex,text:t.label.style.text,rect:t.hostRect,labelRect:t.rect,align:n.style.align,verticalAlign:n.style.verticalAlign,labelLinePoints:NY(r&&r.shape.points)}}var BI=["align","verticalAlign","width","height","fontSize"],Ia=new Kp,Xb=jn(),IY=jn();function l1(t,e,n){for(var r=0;r<n.length;r++){var a=n[r];e[a]!=null&&(t[a]=e[a])}}var u1=["x","y","rotation"],zY=function(){function t(){this._labelList=[],this._chartViewList=[]}return t.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},t.prototype._addLabel=function(e,n,r,a,l){var u=a.style,f=a.__hostTarget,d=f.textConfig||{},h=a.getComputedTransform(),p=a.getBoundingRect().plain();Wt.applyTransform(p,p,h),h?Ia.setLocalTransform(h):(Ia.x=Ia.y=Ia.rotation=Ia.originX=Ia.originY=0,Ia.scaleX=Ia.scaleY=1);var m=a.__hostTarget,S;if(m){S=m.getBoundingRect().plain();var _=m.getComputedTransform();Wt.applyTransform(S,S,_)}var x=S&&m.getTextGuideLine();this._labelList.push({label:a,labelLine:x,seriesModel:r,dataIndex:e,dataType:n,layoutOption:l,computedLayoutOption:null,rect:p,hostRect:S,priority:S?S.width*S.height:0,defaultAttr:{ignore:a.ignore,labelGuideIgnore:x&&x.ignore,x:Ia.x,y:Ia.y,scaleX:Ia.scaleX,scaleY:Ia.scaleY,rotation:Ia.rotation,style:{x:u.x,y:u.y,align:u.align,verticalAlign:u.verticalAlign,width:u.width,height:u.height,fontSize:u.fontSize},cursor:a.cursor,attachedPos:d.position,attachedRot:d.rotation}})},t.prototype.addLabelsOfSeries=function(e){var n=this;this._chartViewList.push(e);var r=e.__model,a=r.get("labelLayout");(_t(a)||kn(a).length)&&e.group.traverse(function(l){if(l.ignore)return!0;var u=l.getTextContent(),f=yn(l);u&&!u.disableLabelLayout&&n._addLabel(f.dataIndex,f.dataType,r,u,a)})},t.prototype.updateLayoutConfig=function(e){var n=e.getWidth(),r=e.getHeight();function a(O,P){return function(){kI(O,P)}}for(var l=0;l<this._labelList.length;l++){var u=this._labelList[l],f=u.label,d=f.__hostTarget,h=u.defaultAttr,p=void 0;_t(u.layoutOption)?p=u.layoutOption(PY(u,d)):p=u.layoutOption,p=p||{},u.computedLayoutOption=p;var m=Math.PI/180;d&&d.setTextConfig({local:!1,position:p.x!=null||p.y!=null?null:h.attachedPos,rotation:p.rotate!=null?p.rotate*m:h.attachedRot,offset:[p.dx||0,p.dy||0]});var S=!1;if(p.x!=null?(f.x=Zr(p.x,n),f.setStyle("x",0),S=!0):(f.x=h.x,f.setStyle("x",h.style.x)),p.y!=null?(f.y=Zr(p.y,r),f.setStyle("y",0),S=!0):(f.y=h.y,f.setStyle("y",h.style.y)),p.labelLinePoints){var _=d.getTextGuideLine();_&&(_.setShape({points:p.labelLinePoints}),S=!1)}var x=Xb(f);x.needsUpdateLabelLine=S,f.rotation=p.rotate!=null?p.rotate*m:h.rotation,f.scaleX=h.scaleX,f.scaleY=h.scaleY;for(var E=0;E<BI.length;E++){var b=BI[E];f.setStyle(b,p[b]!=null?p[b]:h.style[b])}if(p.draggable){if(f.draggable=!0,f.cursor="move",d){var D=u.seriesModel;if(u.dataIndex!=null){var A=u.seriesModel.getData(u.dataType);D=A.getItemModel(u.dataIndex)}f.on("drag",a(d,D.getModel("labelLine")))}}else f.off("drag"),f.cursor=h.cursor}},t.prototype.layout=function(e){var n=e.getWidth(),r=e.getHeight(),a=II(this._labelList),l=br(a,function(d){return d.layoutOption.moveOverlap==="shiftX"}),u=br(a,function(d){return d.layoutOption.moveOverlap==="shiftY"});OY(l,0,n),kY(u,0,r);var f=br(a,function(d){return d.layoutOption.hideOverlap});FI(f)},t.prototype.processLabelsOverall=function(){var e=this;W(this._chartViewList,function(n){var r=n.__model,a=n.ignoreLabelLineUpdate,l=r.isAnimationEnabled();n.group.traverse(function(u){if(u.ignore&&!u.forceLabelAnimation)return!0;var f=!a,d=u.getTextContent();!f&&d&&(f=Xb(d).needsUpdateLabelLine),f&&e._updateLabelLine(u,r),l&&e._animateLabels(u,r)})})},t.prototype._updateLabelLine=function(e,n){var r=e.getTextContent(),a=yn(e),l=a.dataIndex;if(r&&l!=null){var u=n.getData(a.dataType),f=u.getItemModel(l),d={},h=u.getItemVisual(l,"style"),p=u.getVisual("drawType");d.stroke=h[p];var m=f.getModel("labelLine");AY(e,LY(f),d),kI(e,m)}},t.prototype._animateLabels=function(e,n){var r=e.getTextContent(),a=e.getTextGuideLine();if(r&&(e.forceLabelAnimation||!r.ignore&&!r.invisible&&!e.disableLabelAnimation&&!mv(e))){var l=Xb(r),u=l.oldLayout,f=yn(e),d=f.dataIndex,h={x:r.x,y:r.y,rotation:r.rotation},p=n.getData(f.dataType);if(u){r.attr(u);var S=e.prevStates;S&&(dn(S,"select")>=0&&r.attr(l.oldLayoutSelect),dn(S,"emphasis")>=0&&r.attr(l.oldLayoutEmphasis)),Po(r,h,n,d)}else if(r.attr(h),!hg(r).valueAnimation){var m=kt(r.style.opacity,1);r.style.opacity=0,Io(r,{style:{opacity:m}},n,d)}if(l.oldLayout=h,r.states.select){var _=l.oldLayoutSelect={};l1(_,h,u1),l1(_,r.states.select,u1)}if(r.states.emphasis){var x=l.oldLayoutEmphasis={};l1(x,h,u1),l1(x,r.states.emphasis,u1)}AG(r,d,p,n,n)}if(a&&!a.ignore&&!a.invisible){var l=IY(a),u=l.oldLayout,E={points:a.shape.points};u?(a.attr({shape:u}),Po(a,{shape:E},n)):(a.setShape(E),a.style.strokePercent=0,Io(a,{style:{strokePercent:1}},n)),l.oldLayout=E}},t}();const FY=zY;var qb=jn();function BY(t){t.registerUpdateLifecycle("series:beforeupdate",function(e,n,r){var a=qb(n).labelManager;a||(a=qb(n).labelManager=new FY),a.clearLabels()}),t.registerUpdateLifecycle("series:layoutlabels",function(e,n,r){var a=qb(n).labelManager;r.updatedSeries.forEach(function(l){a.addLabelsOfSeries(n.getViewOfSeriesModel(l))}),a.updateLayoutConfig(n),a.layout(n),a.processLabelsOverall()})}function UY(t,e){var n=t.mapDimensionsAll("defaultedLabel"),r=n.length;if(r===1){var a=xv(t,e,n[0]);return a!=null?a+"":null}else if(r){for(var l=[],u=0;u<n.length;u++)l.push(xv(t,e,n[u]));return l.join(" ")}}function VY(t,e){var n=t.mapDimensionsAll("defaultedLabel");if(!Be(e))return e+"";for(var r=[],a=0;a<n.length;a++){var l=t.getDimensionIndex(n[a]);l>=0&&r.push(e[l])}return r.join(" ")}function HY(t,e,n,r,a){var l=t.getArea(),u=l.x,f=l.y,d=l.width,h=l.height,p=n.get(["lineStyle","width"])||2;u-=p/2,f-=p/2,d+=p,h+=p,u=Math.floor(u),d=Math.round(d);var m=new Kr({shape:{x:u,y:f,width:d,height:h}});if(e){var S=t.getBaseAxis(),_=S.isHorizontal(),x=S.inverse;_?(x&&(m.shape.x+=d),m.shape.width=0):(x||(m.shape.y+=h),m.shape.height=0);var E=_t(a)?function(b){a(b,m)}:null;Io(m,{shape:{width:d,height:h,x:u,y:f}},n,null,r,E)}return m}function GY(t,e,n){var r=t.getArea(),a=vr(r.r0,1),l=vr(r.r,1),u=new dc({shape:{cx:vr(t.cx,1),cy:vr(t.cy,1),r0:a,r:l,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}});if(e){var f=t.getBaseAxis().dim==="angle";f?u.shape.endAngle=r.startAngle:u.shape.r=a,Io(u,{shape:{endAngle:r.endAngle,r:l}},n)}return u}function $Y(t,e,n,r,a){if(t){if(t.type==="polar")return GY(t,e,n);if(t.type==="cartesian2d")return HY(t,e,n,r,a)}else return null;return null}function UI(t,e){return t.type===e}var jY={average:function(t){for(var e=0,n=0,r=0;r<t.length;r++)isNaN(t[r])||(e+=t[r],n++);return n===0?NaN:e/n},sum:function(t){for(var e=0,n=0;n<t.length;n++)e+=t[n]||0;return e},max:function(t){for(var e=-1/0,n=0;n<t.length;n++)t[n]>e&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n<t.length;n++)t[n]<e&&(e=t[n]);return isFinite(e)?e:NaN},nearest:function(t){return t[0]}},YY=function(t){return Math.round(t.length/2)};function WY(t){return{seriesType:t,reset:function(e,n,r){var a=e.getData(),l=e.get("sampling"),u=e.coordinateSystem,f=a.count();if(f>10&&u.type==="cartesian2d"&&l){var d=u.getBaseAxis(),h=u.getOtherAxis(d),p=d.getExtent(),m=r.getDevicePixelRatio(),S=Math.abs(p[1]-p[0])*(m||1),_=Math.round(f/S);if(isFinite(_)&&_>1){l==="lttb"&&e.setData(a.lttbDownSample(a.mapDimension(h.dim),1/_));var x=void 0;et(l)?x=jY[l]:_t(l)&&(x=l),x&&e.setData(a.downSample(a.mapDimension(h.dim),1/_,x,YY))}}}}}var VI=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=e.type,n}return e.prototype.getInitialData=function(n,r){return iI(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(n,r,a){var l=this.coordinateSystem;if(l&&l.clampData){var u=l.dataToPoint(l.clampData(n));if(a)W(l.getAxes(),function(m,S){if(m.type==="category"){var _=m.getTicksCoords(),x=l.clampData(n)[S];r&&(r[S]==="x1"||r[S]==="y1")&&(x+=1),x>_.length-1&&(x=_.length-1),x<0&&(x=0),_[x]&&(u[S]=m.toGlobalCoord(_[x].coord))}});else{var f=this.getData(),d=f.getLayout("offset"),h=f.getLayout("size"),p=l.getBaseAxis().isHorizontal()?0:1;u[p]+=d+h/2}return u}return[NaN,NaN]},e.type="series.__base_bar__",e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},e}(bv);bv.registerClass(VI);const HI=VI;var XY=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=e.type,n}return e.prototype.getInitialData=function(){return iI(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},e.prototype.getProgressiveThreshold=function(){var n=this.get("progressiveThreshold"),r=this.get("largeThreshold");return r>n&&(n=r),n},e.prototype.brushSelector=function(n,r,a){return a.rect(r.getItemLayout(n))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=VG(HI.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),e}(HI);const qY=XY;var QY=function(){function t(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return t}(),ZY=function(t){Pt(e,t);function e(n){var r=t.call(this,n)||this;return r.type="sausage",r}return e.prototype.getDefaultShape=function(){return new QY},e.prototype.buildPath=function(n,r){var a=r.cx,l=r.cy,u=Math.max(r.r0||0,0),f=Math.max(r.r,0),d=(f-u)*.5,h=u+d,p=r.startAngle,m=r.endAngle,S=r.clockwise,_=Math.PI*2,x=S?m-p<_:p-m<_;x||(p=m-(S?_:-_));var E=Math.cos(p),b=Math.sin(p),D=Math.cos(m),A=Math.sin(m);x?(n.moveTo(E*u+a,b*u+l),n.arc(E*h+a,b*h+l,d,-Math.PI+p,p,!S)):n.moveTo(E*f+a,b*f+l),n.arc(a,l,f,p,m,!S),n.arc(D*h+a,A*h+l,d,m-Math.PI*2,m-Math.PI,!S),u!==0&&n.arc(a,l,u,m,p,S)},e}(Gt);const GI=ZY;function KY(t,e){e=e||{};var n=e.isRoundCap;return function(r,a,l){var u=a.position;if(!u||u instanceof Array)return X0(r,a,l);var f=t(u),d=a.distance!=null?a.distance:5,h=this.shape,p=h.cx,m=h.cy,S=h.r,_=h.r0,x=(S+_)/2,E=h.startAngle,b=h.endAngle,D=(E+b)/2,A=n?Math.abs(S-_)/2:0,O=Math.cos,P=Math.sin,I=p+S*O(E),F=m+S*P(E),U="left",H="top";switch(f){case"startArc":I=p+(_-d)*O(D),F=m+(_-d)*P(D),U="center",H="top";break;case"insideStartArc":I=p+(_+d)*O(D),F=m+(_+d)*P(D),U="center",H="bottom";break;case"startAngle":I=p+x*O(E)+s1(E,d+A,!1),F=m+x*P(E)+f1(E,d+A,!1),U="right",H="middle";break;case"insideStartAngle":I=p+x*O(E)+s1(E,-d+A,!1),F=m+x*P(E)+f1(E,-d+A,!1),U="left",H="middle";break;case"middle":I=p+x*O(D),F=m+x*P(D),U="center",H="middle";break;case"endArc":I=p+(S+d)*O(D),F=m+(S+d)*P(D),U="center",H="bottom";break;case"insideEndArc":I=p+(S-d)*O(D),F=m+(S-d)*P(D),U="center",H="top";break;case"endAngle":I=p+x*O(b)+s1(b,d+A,!0),F=m+x*P(b)+f1(b,d+A,!0),U="left",H="middle";break;case"insideEndAngle":I=p+x*O(b)+s1(b,-d+A,!0),F=m+x*P(b)+f1(b,-d+A,!0),U="right",H="middle";break;default:return X0(r,a,l)}return r=r||{},r.x=I,r.y=F,r.align=U,r.verticalAlign=H,r}}function JY(t,e,n,r){if(Nn(r)){t.setTextConfig({rotation:r});return}else if(Be(e)){t.setTextConfig({rotation:0});return}var a=t.shape,l=a.clockwise?a.startAngle:a.endAngle,u=a.clockwise?a.endAngle:a.startAngle,f=(l+u)/2,d,h=n(e);switch(h){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":d=f;break;case"startAngle":case"insideStartAngle":d=l;break;case"endAngle":case"insideEndAngle":d=u;break;default:t.setTextConfig({rotation:0});return}var p=Math.PI*1.5-d;h==="middle"&&p>Math.PI/2&&p<Math.PI*1.5&&(p-=Math.PI),t.setTextConfig({rotation:p})}function s1(t,e,n){return e*Math.sin(t)*(n?-1:1)}function f1(t,e,n){return e*Math.cos(t)*(n?1:-1)}var Qb=Math.max,Zb=Math.min;function eW(t,e){var n=t.getArea&&t.getArea();if(UI(t,"cartesian2d")){var r=t.getBaseAxis();if(r.type!=="category"||!r.onBand){var a=e.getLayout("bandWidth");r.isHorizontal()?(n.x-=a,n.width+=a*2):(n.y-=a,n.height+=a*2)}}return n}var tW=function(t){Pt(e,t);function e(){var n=t.call(this)||this;return n.type=e.type,n._isFirstFrame=!0,n}return e.prototype.render=function(n,r,a,l){this._model=n,this._removeOnRenderedListener(a),this._updateDrawMode(n);var u=n.get("coordinateSystem");u==="cartesian2d"||u==="polar"?(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(n,r,a):this._renderNormal(n,r,a,l)):process.env.NODE_ENV!=="production"&&Fr("Only cartesian2d and polar supported for bar.")},e.prototype.incrementalPrepareRender=function(n){this._clear(),this._updateDrawMode(n),this._updateLargeClip(n)},e.prototype.incrementalRender=function(n,r){this._progressiveEls=[],this._incrementalRenderLarge(n,r)},e.prototype.eachRendered=function(n){AT(this._progressiveEls||this.group,n)},e.prototype._updateDrawMode=function(n){var r=n.pipelineContext.large;(this._isLargeDraw==null||r!==this._isLargeDraw)&&(this._isLargeDraw=r,this._clear())},e.prototype._renderNormal=function(n,r,a,l){var u=this.group,f=n.getData(),d=this._data,h=n.coordinateSystem,p=h.getBaseAxis(),m;h.type==="cartesian2d"?m=p.isHorizontal():h.type==="polar"&&(m=p.dim==="angle");var S=n.isAnimationEnabled()?n:null,_=nW(n,h);_&&this._enableRealtimeSort(_,f,a);var x=n.get("clip",!0)||_,E=eW(h,f);u.removeClipPath();var b=n.get("roundCap",!0),D=n.get("showBackground",!0),A=n.getModel("backgroundStyle"),O=A.get("borderRadius")||0,P=[],I=this._backgroundEls,F=l&&l.isInitSort,U=l&&l.type==="changeAxisOrder";function H(G){var ee=c1[h.type](f,G),J=sW(h,m,ee);return J.useStyle(A.getItemStyle()),h.type==="cartesian2d"&&J.setShape("r",O),P[G]=J,J}f.diff(d).add(function(G){var ee=f.getItemModel(G),J=c1[h.type](f,G,ee);if(D&&H(G),!(!f.hasValue(G)||!XI[h.type](J))){var ie=!1;x&&(ie=$I[h.type](E,J));var ce=jI[h.type](n,f,G,J,m,S,p.model,!1,b);_&&(ce.forceLabelAnimation=!0),QI(ce,f,G,ee,J,n,m,h.type==="polar"),F?ce.attr({shape:J}):_?YI(_,S,ce,J,G,m,!1,!1):Io(ce,{shape:J},n,G),f.setItemGraphicEl(G,ce),u.add(ce),ce.ignore=ie}}).update(function(G,ee){var J=f.getItemModel(G),ie=c1[h.type](f,G,J);if(D){var ce=void 0;I.length===0?ce=H(ee):(ce=I[ee],ce.useStyle(A.getItemStyle()),h.type==="cartesian2d"&&ce.setShape("r",O),P[G]=ce);var fe=c1[h.type](f,G),Ne=ez(m,fe,h);Po(ce,{shape:Ne},S,G)}var ae=d.getItemGraphicEl(ee);if(!f.hasValue(G)||!XI[h.type](ie)){u.remove(ae);return}var ge=!1;if(x&&(ge=$I[h.type](E,ie),ge&&u.remove(ae)),ae?lG(ae):ae=jI[h.type](n,f,G,ie,m,S,p.model,!!ae,b),_&&(ae.forceLabelAnimation=!0),U){var pe=ae.getTextContent();if(pe){var Le=hg(pe);Le.prevValue!=null&&(Le.prevValue=Le.value)}}else QI(ae,f,G,J,ie,n,m,h.type==="polar");F?ae.attr({shape:ie}):_?YI(_,S,ae,ie,G,m,!0,U):Po(ae,{shape:ie},n,G,null),f.setItemGraphicEl(G,ae),ae.ignore=ge,u.add(ae)}).remove(function(G){var ee=d.getItemGraphicEl(G);ee&&bT(ee,n,G)}).execute();var j=this._backgroundGroup||(this._backgroundGroup=new Cl);j.removeAll();for(var X=0;X<P.length;++X)j.add(P[X]);u.add(j),this._backgroundEls=P,this._data=f},e.prototype._renderLarge=function(n,r,a){this._clear(),KI(n,this.group),this._updateLargeClip(n)},e.prototype._incrementalRenderLarge=function(n,r){this._removeBackground(),KI(r,this.group,this._progressiveEls,!0)},e.prototype._updateLargeClip=function(n){var r=n.get("clip",!0)&&$Y(n.coordinateSystem,!1,n),a=this.group;r?a.setClipPath(r):a.removeClipPath()},e.prototype._enableRealtimeSort=function(n,r,a){var l=this;if(r.count()){var u=n.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(r,n,a),this._isFirstFrame=!1;else{var f=function(d){var h=r.getItemGraphicEl(d),p=h&&h.shape;return p&&Math.abs(u.isHorizontal()?p.height:p.width)||0};this._onRendered=function(){l._updateSortWithinSameData(r,f,u,a)},a.getZr().on("rendered",this._onRendered)}}},e.prototype._dataSort=function(n,r,a){var l=[];return n.each(n.mapDimension(r.dim),function(u,f){var d=a(f);d=d??NaN,l.push({dataIndex:f,mappedValue:d,ordinalNumber:u})}),l.sort(function(u,f){return f.mappedValue-u.mappedValue}),{ordinalNumbers:ot(l,function(u){return u.ordinalNumber})}},e.prototype._isOrderChangedWithinSameData=function(n,r,a){for(var l=a.scale,u=n.mapDimension(a.dim),f=Number.MAX_VALUE,d=0,h=l.getOrdinalMeta().categories.length;d<h;++d){var p=n.rawIndexOf(u,l.getRawOrdinalNumber(d)),m=p<0?Number.MIN_VALUE:r(n.indexOfRawIndex(p));if(m>f)return!0;f=m}return!1},e.prototype._isOrderDifferentInView=function(n,r){for(var a=r.scale,l=a.getExtent(),u=Math.max(0,l[0]),f=Math.min(l[1],a.getOrdinalMeta().categories.length-1);u<=f;++u)if(n.ordinalNumbers[u]!==a.getRawOrdinalNumber(u))return!0},e.prototype._updateSortWithinSameData=function(n,r,a,l){if(this._isOrderChangedWithinSameData(n,r,a)){var u=this._dataSort(n,a,r);this._isOrderDifferentInView(u,a)&&(this._removeOnRenderedListener(l),l.dispatchAction({type:"changeAxisOrder",componentType:a.dim+"Axis",axisId:a.index,sortInfo:u}))}},e.prototype._dispatchInitSort=function(n,r,a){var l=r.baseAxis,u=this._dataSort(n,l,function(f){return n.get(n.mapDimension(r.otherAxis.dim),f)});a.dispatchAction({type:"changeAxisOrder",componentType:l.dim+"Axis",isInitSort:!0,axisId:l.index,sortInfo:u})},e.prototype.remove=function(n,r){this._clear(this._model),this._removeOnRenderedListener(r)},e.prototype.dispose=function(n,r){this._removeOnRenderedListener(r)},e.prototype._removeOnRenderedListener=function(n){this._onRendered&&(n.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(n){var r=this.group,a=this._data;n&&n.isAnimationEnabled()&&a&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],a.eachItemGraphicEl(function(l){bT(l,n,yn(l).dataIndex)})):r.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e}(Ev),$I={cartesian2d:function(t,e){var n=e.width<0?-1:1,r=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),r<0&&(e.y+=e.height,e.height=-e.height);var a=t.x+t.width,l=t.y+t.height,u=Qb(e.x,t.x),f=Zb(e.x+e.width,a),d=Qb(e.y,t.y),h=Zb(e.y+e.height,l),p=f<u,m=h<d;return e.x=p&&u>a?f:u,e.y=m&&d>l?h:d,e.width=p?0:f-u,e.height=m?0:h-d,n<0&&(e.x+=e.width,e.width=-e.width),r<0&&(e.y+=e.height,e.height=-e.height),p||m},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var r=e.r;e.r=e.r0,e.r0=r}var a=Zb(e.r,t.r),l=Qb(e.r0,t.r0);e.r=a,e.r0=l;var u=a-l<0;if(n<0){var r=e.r;e.r=e.r0,e.r0=r}return u}},jI={cartesian2d:function(t,e,n,r,a,l,u,f,d){var h=new Kr({shape:Re({},r),z2:1});if(h.__dataIndex=n,h.name="item",l){var p=h.shape,m=a?"height":"width";p[m]=0}return h},polar:function(t,e,n,r,a,l,u,f,d){var h=!a&&d?GI:dc,p=new h({shape:r,z2:1});p.name="item";var m=qI(a);if(p.calculateTextPosition=KY(m,{isRoundCap:h===GI}),l){var S=p.shape,_=a?"r":"endAngle",x={};S[_]=a?0:r.startAngle,x[_]=r[_],(f?Po:Io)(p,{shape:x},l)}return p}};function nW(t,e){var n=t.get("realtimeSort",!0),r=e.getBaseAxis();if(process.env.NODE_ENV!=="production"&&n&&(r.type!=="category"&&Fr("`realtimeSort` will not work because this bar series is not based on a category axis."),e.type!=="cartesian2d"&&Fr("`realtimeSort` will not work because this bar series is not on cartesian2d.")),n&&r.type==="category"&&e.type==="cartesian2d")return{baseAxis:r,otherAxis:e.getOtherAxis(r)}}function YI(t,e,n,r,a,l,u,f){var d,h;l?(h={x:r.x,width:r.width},d={y:r.y,height:r.height}):(h={y:r.y,height:r.height},d={x:r.x,width:r.width}),f||(u?Po:Io)(n,{shape:d},e,a,null);var p=e?t.baseAxis.model:null;(u?Po:Io)(n,{shape:h},p,a)}function WI(t,e){for(var n=0;n<e.length;n++)if(!isFinite(t[e[n]]))return!0;return!1}var rW=["x","y","width","height"],iW=["cx","cy","r","startAngle","endAngle"],XI={cartesian2d:function(t){return!WI(t,rW)},polar:function(t){return!WI(t,iW)}},c1={cartesian2d:function(t,e,n){var r=t.getItemLayout(e),a=n?oW(n,r):0,l=r.width>0?1:-1,u=r.height>0?1:-1;return{x:r.x+l*a/2,y:r.y+u*a/2,width:r.width-l*a,height:r.height-u*a}},polar:function(t,e,n){var r=t.getItemLayout(e);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}}};function aW(t){return t.startAngle!=null&&t.endAngle!=null&&t.startAngle===t.endAngle}function qI(t){return function(e){var n=e?"Arc":"Angle";return function(r){switch(r){case"start":case"insideStart":case"end":case"insideEnd":return r+n;default:return r}}}(t)}function QI(t,e,n,r,a,l,u,f){var d=e.getItemVisual(n,"style");f||t.setShape("r",r.get(["itemStyle","borderRadius"])||0),t.useStyle(d);var h=r.getShallow("cursor");h&&t.attr("cursor",h);var p=f?u?a.r>=a.r0?"endArc":"startArc":a.endAngle>=a.startAngle?"endAngle":"startAngle":u?a.height>=0?"bottom":"top":a.width>=0?"right":"left",m=bG(r);TG(t,m,{labelFetcher:l,labelDataIndex:n,defaultText:UY(l.getData(),n),inheritColor:d.fill,defaultOpacity:d.opacity,defaultOutsidePosition:p});var S=t.getTextContent();if(f&&S){var _=r.get(["label","position"]);t.textConfig.inside=_==="middle"?!0:null,JY(t,_==="outside"?p:_,qI(u),r.get(["label","rotate"]))}RG(S,m,l.getRawValue(n),function(E){return VY(e,E)});var x=r.getModel(["emphasis"]);C8(t,x.get("focus"),x.get("blurScope"),x.get("disabled")),T8(t,r),aW(a)&&(t.style.fill="none",t.style.stroke="none",W(t.states,function(E){E.style&&(E.style.fill=E.style.stroke="none")}))}function oW(t,e){var n=t.get(["itemStyle","borderColor"]);if(!n||n==="none")return 0;var r=t.get(["itemStyle","borderWidth"])||0,a=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),l=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(r,a,l)}var lW=function(){function t(){}return t}(),ZI=function(t){Pt(e,t);function e(n){var r=t.call(this,n)||this;return r.type="largeBar",r}return e.prototype.getDefaultShape=function(){return new lW},e.prototype.buildPath=function(n,r){for(var a=r.points,l=this.baseDimIdx,u=1-this.baseDimIdx,f=[],d=[],h=this.barWidth,p=0;p<a.length;p+=3)d[l]=h,d[u]=a[p+2],f[l]=a[p+l],f[u]=a[p+u],n.rect(f[0],f[1],d[0],d[1])},e}(Gt);function KI(t,e,n,r){var a=t.getData(),l=a.getLayout("valueAxisHorizontal")?1:0,u=a.getLayout("largeDataIndices"),f=a.getLayout("size"),d=t.getModel("backgroundStyle"),h=a.getLayout("largeBackgroundPoints");if(h){var p=new ZI({shape:{points:h},incremental:!!r,silent:!0,z2:0});p.baseDimIdx=l,p.largeDataIndices=u,p.barWidth=f,p.useStyle(d.getItemStyle()),e.add(p),n&&n.push(p)}var m=new ZI({shape:{points:a.getLayout("largePoints")},incremental:!!r,ignoreCoarsePointer:!0,z2:1});m.baseDimIdx=l,m.largeDataIndices=u,m.barWidth=f,e.add(m),m.useStyle(a.getVisual("style")),yn(m).seriesIndex=t.seriesIndex,t.get("silent")||(m.on("mousedown",JI),m.on("mousemove",JI)),n&&n.push(m)}var JI=db(function(t){var e=this,n=uW(e,t.offsetX,t.offsetY);yn(e).dataIndex=n>=0?n:null},30,!1);function uW(t,e,n){for(var r=t.baseDimIdx,a=1-r,l=t.shape.points,u=t.largeDataIndices,f=[],d=[],h=t.barWidth,p=0,m=l.length/3;p<m;p++){var S=p*3;if(d[r]=h,d[a]=l[S+2],f[r]=l[S+r],f[a]=l[S+a],d[a]<0&&(f[a]+=d[a],d[a]=-d[a]),e>=f[0]&&e<=f[0]+d[0]&&n>=f[1]&&n<=f[1]+d[1])return u[p]}return-1}function ez(t,e,n){if(UI(n,"cartesian2d")){var r=e,a=n.getArea();return{x:t?r.x:a.x,y:t?a.y:r.y,width:t?r.width:a.width,height:t?a.height:r.height}}else{var a=n.getArea(),l=e;return{cx:a.cx,cy:a.cy,r0:t?a.r0:l.r0,r:t?a.r:l.r,startAngle:t?l.startAngle:0,endAngle:t?l.endAngle:Math.PI*2}}}function sW(t,e,n){var r=t.type==="polar"?dc:Kr;return new r({shape:ez(e,n,t),silent:!0,z2:0})}const fW=tW;function cW(t){t.registerChartView(fW),t.registerSeriesModel(qY),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,Aa(Fj,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,Bj("bar")),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,WY("bar")),t.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(e,n){var r=e.componentType||"series";n.eachComponent({mainType:r,query:e},function(a){e.sortInfo&&a.axis.setCategorySortInfo(e.sortInfo)})})}var dW=function(t){Pt(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(En);const vW=dW;var Kb=function(t){Pt(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Oo).models[0]},e.type="cartesian2dAxis",e}(En);ml(Kb,fY);var tz={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},hW=cn({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},tz),Jb=cn({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},tz),pW=cn({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},Jb),gW=Vt({logBase:10},Jb);const mW={category:hW,value:Jb,time:pW,log:gW};var yW={value:1,category:1,time:1,log:1};function nz(t,e,n,r){W(yW,function(a,l){var u=cn(cn({},mW[l],!0),r,!0),f=function(d){Pt(h,d);function h(){var p=d!==null&&d.apply(this,arguments)||this;return p.type=e+"Axis."+l,p}return h.prototype.mergeDefaultAndTheme=function(p,m){var S=Sg(this),_=S?$T(p):{},x=m.getTheme();cn(p,x.get(l+"Axis")),cn(p,this.getDefaultOption()),p.type=rz(p),S&&Cg(p,_,S)},h.prototype.optionUpdated=function(){var p=this.option;p.type==="category"&&(this.__ordinalMeta=Fb.createByAxisModel(this))},h.prototype.getCategories=function(p){var m=this.option;if(m.type==="category")return p?m.data:this.__ordinalMeta.categories},h.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},h.type=e+"Axis."+l,h.defaultOption=u,h}(n);t.registerComponentModel(f)}),t.registerSubTypeDefaulter(e+"Axis",rz)}function rz(t){return t.type||(t.data?"category":"value")}var _W=function(){function t(e){this.type="cartesian",this._dimList=[],this._axes={},this.name=e||""}return t.prototype.getAxis=function(e){return this._axes[e]},t.prototype.getAxes=function(){return ot(this._dimList,function(e){return this._axes[e]},this)},t.prototype.getAxesByScale=function(e){return e=e.toLowerCase(),br(this.getAxes(),function(n){return n.scale.type===e})},t.prototype.addAxis=function(e){var n=e.dim;this._axes[n]=e,this._dimList.push(n)},t}();const SW=_W;var eE=["x","y"];function iz(t){return t.type==="interval"||t.type==="time"}var CW=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type="cartesian2d",n.dimensions=eE,n}return e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var n=this.getAxis("x").scale,r=this.getAxis("y").scale;if(!(!iz(n)||!iz(r))){var a=n.getExtent(),l=r.getExtent(),u=this.dataToPoint([a[0],l[0]]),f=this.dataToPoint([a[1],l[1]]),d=a[1]-a[0],h=l[1]-l[0];if(!(!d||!h)){var p=(f[0]-u[0])/d,m=(f[1]-u[1])/h,S=u[0]-a[0]*p,_=u[1]-l[0]*m,x=this._transform=[p,0,0,m,S,_];this._invTransform=R0([],x)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(n){var r=this.getAxis("x"),a=this.getAxis("y");return r.contain(r.toLocalCoord(n[0]))&&a.contain(a.toLocalCoord(n[1]))},e.prototype.containData=function(n){return this.getAxis("x").containData(n[0])&&this.getAxis("y").containData(n[1])},e.prototype.containZone=function(n,r){var a=this.dataToPoint(n),l=this.dataToPoint(r),u=this.getArea(),f=new Wt(a[0],a[1],l[0]-a[0],l[1]-a[1]);return u.intersect(f)},e.prototype.dataToPoint=function(n,r,a){a=a||[];var l=n[0],u=n[1];if(this._transform&&l!=null&&isFinite(l)&&u!=null&&isFinite(u))return eo(a,n,this._transform);var f=this.getAxis("x"),d=this.getAxis("y");return a[0]=f.toGlobalCoord(f.dataToCoord(l,r)),a[1]=d.toGlobalCoord(d.dataToCoord(u,r)),a},e.prototype.clampData=function(n,r){var a=this.getAxis("x").scale,l=this.getAxis("y").scale,u=a.getExtent(),f=l.getExtent(),d=a.parse(n[0]),h=l.parse(n[1]);return r=r||[],r[0]=Math.min(Math.max(Math.min(u[0],u[1]),d),Math.max(u[0],u[1])),r[1]=Math.min(Math.max(Math.min(f[0],f[1]),h),Math.max(f[0],f[1])),r},e.prototype.pointToData=function(n,r){var a=[];if(this._invTransform)return eo(a,n,this._invTransform);var l=this.getAxis("x"),u=this.getAxis("y");return a[0]=l.coordToData(l.toLocalCoord(n[0]),r),a[1]=u.coordToData(u.toLocalCoord(n[1]),r),a},e.prototype.getOtherAxis=function(n){return this.getAxis(n.dim==="x"?"y":"x")},e.prototype.getArea=function(){var n=this.getAxis("x").getGlobalExtent(),r=this.getAxis("y").getGlobalExtent(),a=Math.min(n[0],n[1]),l=Math.min(r[0],r[1]),u=Math.max(n[0],n[1])-a,f=Math.max(r[0],r[1])-l;return new Wt(a,l,u,f)},e}(SW),wW=function(t){Pt(e,t);function e(n,r,a,l,u){var f=t.call(this,n,r,a)||this;return f.index=0,f.type=l||"value",f.position=u||"bottom",f}return e.prototype.isHorizontal=function(){var n=this.position;return n==="top"||n==="bottom"},e.prototype.getGlobalExtent=function(n){var r=this.getExtent();return r[0]=this.toGlobalCoord(r[0]),r[1]=this.toGlobalCoord(r[1]),n&&r[0]>r[1]&&r.reverse(),r},e.prototype.pointToData=function(n,r){return this.coordToData(this.toLocalCoord(n[this.dim==="x"?0:1]),r)},e.prototype.setCategorySortInfo=function(n){if(this.type!=="category")return!1;this.model.option.categorySortInfo=n,this.scale.setSortInfo(n)},e}(wY);const xW=wW;function tE(t,e,n){n=n||{};var r=t.coordinateSystem,a=e.axis,l={},u=a.getAxesOnZeroOf()[0],f=a.position,d=u?"onZero":f,h=a.dim,p=r.getRect(),m=[p.x,p.x+p.width,p.y,p.y+p.height],S={left:0,right:1,top:0,bottom:1,onZero:2},_=e.get("offset")||0,x=h==="x"?[m[2]-_,m[3]+_]:[m[0]-_,m[1]+_];if(u){var E=u.toGlobalCoord(u.dataToCoord(0));x[S.onZero]=Math.max(Math.min(E,x[1]),x[0])}l.position=[h==="y"?x[S[d]]:m[0],h==="x"?x[S[d]]:m[3]],l.rotation=Math.PI/2*(h==="x"?0:1);var b={top:-1,bottom:1,left:-1,right:1};l.labelDirection=l.tickDirection=l.nameDirection=b[f],l.labelOffset=u?x[S[f]]-x[S.onZero]:0,e.get(["axisTick","inside"])&&(l.tickDirection=-l.tickDirection),Yf(n.labelInside,e.get(["axisLabel","inside"]))&&(l.labelDirection=-l.labelDirection);var D=e.get(["axisLabel","rotate"]);return l.labelRotate=d==="top"?-D:D,l.z2=1,l}function az(t){return t.get("coordinateSystem")==="cartesian2d"}function oz(t){var e={xAxisModel:null,yAxisModel:null};return W(e,function(n,r){var a=r.replace(/Model$/,""),l=t.getReferringComponents(a,Oo).models[0];if(process.env.NODE_ENV!=="production"&&!l)throw new Error(a+' "'+Wd(t.get(a+"Index"),t.get(a+"Id"),0)+'" not found');e[r]=l}),e}var nE=Math.log;function TW(t,e,n){var r=Vg.prototype,a=r.getTicks.call(n),l=r.getTicks.call(n,!0),u=a.length-1,f=r.getInterval.call(n),d=SI(t,e),h=d.extent,p=d.fixMin,m=d.fixMax;if(t.type==="log"){var S=nE(t.base);h=[nE(h[0])/S,nE(h[1])/S]}t.setExtent(h[0],h[1]),t.calcNiceExtent({splitNumber:u,fixMin:p,fixMax:m});var _=r.getExtent.call(t);p&&(h[0]=_[0]),m&&(h[1]=_[1]);var x=r.getInterval.call(t),E=h[0],b=h[1];if(p&&m)x=(b-E)/u;else if(p)for(b=h[0]+x*u;b<h[1]&&isFinite(b)&&isFinite(h[1]);)x=Ub(x),b=h[0]+x*u;else if(m)for(E=h[1]-x*u;E>h[0]&&isFinite(E)&&isFinite(h[0]);)x=Ub(x),E=h[1]-x*u;else{var D=t.getTicks().length-1;D>u&&(x=Ub(x));var A=x*u;b=Math.ceil(h[1]/x)*x,E=vr(b-A),E<0&&h[0]>=0?(E=0,b=vr(A)):b>0&&h[1]<=0&&(b=0,E=-vr(A))}var O=(a[0].value-l[0].value)/f,P=(a[u].value-l[u].value)/f;if(r.setExtent.call(t,E+x*O,b+x*P),r.setInterval.call(t,x),(O||P)&&r.setNiceExtent.call(t,E+x,b-x),process.env.NODE_ENV!=="production"){var I=r.getTicks.call(t);I[1]&&(!Aj(x)||Bx(I[1].value)>Bx(x))&&Fr("The ticks may be not readable when set min: "+e.get("min")+", max: "+e.get("max")+" and alignTicks: true")}}var bW=function(){function t(e,n,r){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=eE,this._initCartesian(e,n,r),this.model=e}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(e,n){var r=this._axesMap;this._updateScale(e,this.model);function a(u){var f,d=kn(u),h=d.length;if(h){for(var p=[],m=h-1;m>=0;m--){var S=+d[m],_=u[S],x=_.model,E=_.scale;Bb(E)&&x.get("alignTicks")&&x.get("interval")==null?p.push(_):(CI(E,x),Bb(E)&&(f=_))}p.length&&(f||(f=p.pop(),CI(f.scale,f.model)),W(p,function(b){TW(b.scale,b.model,f.scale)}))}}a(r.x),a(r.y);var l={};W(r.x,function(u){lz(r,"y",u,l)}),W(r.y,function(u){lz(r,"x",u,l)}),this.resize(this.model,n)},t.prototype.resize=function(e,n,r){var a=e.getBoxLayoutParams(),l=!r&&e.get("containLabel"),u=GT(a,{width:n.getWidth(),height:n.getHeight()});this._rect=u;var f=this._axesList;d(),l&&(W(f,function(h){if(!h.model.get(["axisLabel","inside"])){var p=lY(h);if(p){var m=h.isHorizontal()?"height":"width",S=h.model.get(["axisLabel","margin"]);u[m]-=p[m]+S,h.position==="top"?u.y+=p.height+S:h.position==="left"&&(u.x+=p.width+S)}}}),d()),W(this._coordsList,function(h){h.calcAffineTransform()});function d(){W(f,function(h){var p=h.isHorizontal(),m=p?[0,u.width]:[0,u.height],S=h.inverse?1:0;h.setExtent(m[S],m[1-S]),EW(h,p?u.x:u.y)})}},t.prototype.getAxis=function(e,n){var r=this._axesMap[e];if(r!=null)return r[n||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(e,n){if(e!=null&&n!=null){var r="x"+e+"y"+n;return this._coordsMap[r]}it(e)&&(n=e.yAxisIndex,e=e.xAxisIndex);for(var a=0,l=this._coordsList;a<l.length;a++)if(l[a].getAxis("x").index===e||l[a].getAxis("y").index===n)return l[a]},t.prototype.getCartesians=function(){return this._coordsList.slice()},t.prototype.convertToPixel=function(e,n,r){var a=this._findConvertTarget(n);return a.cartesian?a.cartesian.dataToPoint(r):a.axis?a.axis.toGlobalCoord(a.axis.dataToCoord(r)):null},t.prototype.convertFromPixel=function(e,n,r){var a=this._findConvertTarget(n);return a.cartesian?a.cartesian.pointToData(r):a.axis?a.axis.coordToData(a.axis.toLocalCoord(r)):null},t.prototype._findConvertTarget=function(e){var n=e.seriesModel,r=e.xAxisModel||n&&n.getReferringComponents("xAxis",Oo).models[0],a=e.yAxisModel||n&&n.getReferringComponents("yAxis",Oo).models[0],l=e.gridModel,u=this._coordsList,f,d;if(n)f=n.coordinateSystem,dn(u,f)<0&&(f=null);else if(r&&a)f=this.getCartesian(r.componentIndex,a.componentIndex);else if(r)d=this.getAxis("x",r.componentIndex);else if(a)d=this.getAxis("y",a.componentIndex);else if(l){var h=l.coordinateSystem;h===this&&(f=this._coordsList[0])}return{cartesian:f,axis:d}},t.prototype.containPoint=function(e){var n=this._coordsList[0];if(n)return n.containPoint(e)},t.prototype._initCartesian=function(e,n,r){var a=this,l=this,u={left:!1,right:!1,top:!1,bottom:!1},f={x:{},y:{}},d={x:0,y:0};if(n.eachComponent("xAxis",h("x"),this),n.eachComponent("yAxis",h("y"),this),!d.x||!d.y){this._axesMap={},this._axesList=[];return}this._axesMap=f,W(f.x,function(p,m){W(f.y,function(S,_){var x="x"+m+"y"+_,E=new CW(x);E.master=a,E.model=e,a._coordsMap[x]=E,a._coordsList.push(E),E.addAxis(p),E.addAxis(S)})});function h(p){return function(m,S){if(rE(m,e)){var _=m.get("position");p==="x"?_!=="top"&&_!=="bottom"&&(_=u.bottom?"top":"bottom"):_!=="left"&&_!=="right"&&(_=u.left?"right":"left"),u[_]=!0;var x=new xW(p,aY(m),[0,0],m.get("type"),_),E=x.type==="category";x.onBand=E&&m.get("boundaryGap"),x.inverse=m.get("inverse"),m.axis=x,x.model=m,x.grid=l,x.index=S,l._axesList.push(x),f[p][S]=x,d[p]++}}}},t.prototype._updateScale=function(e,n){W(this._axesList,function(a){if(a.scale.setExtent(1/0,-1/0),a.type==="category"){var l=a.model.get("categorySortInfo");a.scale.setSortInfo(l)}}),e.eachSeries(function(a){if(az(a)){var l=oz(a),u=l.xAxisModel,f=l.yAxisModel;if(!rE(u,n)||!rE(f,n))return;var d=this.getCartesian(u.componentIndex,f.componentIndex),h=a.getData(),p=d.getAxis("x"),m=d.getAxis("y");r(h,p),r(h,m)}},this);function r(a,l){W(sY(a,l.dim),function(u){l.scale.unionExtentFromData(a,u)})}},t.prototype.getTooltipAxes=function(e){var n=[],r=[];return W(this.getCartesians(),function(a){var l=e!=null&&e!=="auto"?a.getAxis(e):a.getBaseAxis(),u=a.getOtherAxis(l);dn(n,l)<0&&n.push(l),dn(r,u)<0&&r.push(u)}),{baseAxes:n,otherAxes:r}},t.create=function(e,n){var r=[];return e.eachComponent("grid",function(a,l){var u=new t(a,e,n);u.name="grid_"+l,u.resize(a,n,!0),a.coordinateSystem=u,r.push(u)}),e.eachSeries(function(a){if(az(a)){var l=oz(a),u=l.xAxisModel,f=l.yAxisModel,d=u.getCoordSysModel();if(process.env.NODE_ENV!=="production"){if(!d)throw new Error('Grid "'+Wd(u.get("gridIndex"),u.get("gridId"),0)+'" not found');if(u.getCoordSysModel()!==f.getCoordSysModel())throw new Error("xAxis and yAxis must use the same grid")}var h=d.coordinateSystem;a.coordinateSystem=h.getCartesian(u.componentIndex,f.componentIndex)}}),r},t.dimensions=eE,t}();function rE(t,e){return t.getCoordSysModel()===e}function lz(t,e,n,r){n.getAxesOnZeroOf=function(){return l?[l]:[]};var a=t[e],l,u=n.model,f=u.get(["axisLine","onZero"]),d=u.get(["axisLine","onZeroAxisIndex"]);if(!f)return;if(d!=null)uz(a[d])&&(l=a[d]);else for(var h in a)if(a.hasOwnProperty(h)&&uz(a[h])&&!r[p(a[h])]){l=a[h];break}l&&(r[p(l)]=!0);function p(m){return m.dim+"_"+m.index}}function uz(t){return t&&t.type!=="category"&&t.type!=="time"&&oY(t)}function EW(t,e){var n=t.getExtent(),r=n[0]+n[1];t.toGlobalCoord=t.dim==="x"?function(a){return a+e}:function(a){return r-a+e},t.toLocalCoord=t.dim==="x"?function(a){return a-e}:function(a){return r-a+e}}const DW=bW;var Is=Math.PI,Rc=function(){function t(e,n){this.group=new Cl,this.opt=n,this.axisModel=e,Vt(n,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var r=new Cl({x:n.position[0],y:n.position[1],rotation:n.rotation});r.updateTransform(),this._transformGroup=r}return t.prototype.hasBuilder=function(e){return!!sz[e]},t.prototype.add=function(e){sz[e](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(e,n,r){var a=vO(n-e),l,u;return q0(a)?(u=r>0?"top":"bottom",l="center"):q0(a-Is)?(u=r>0?"bottom":"top",l="center"):(u="middle",a>0&&a<Is?l=r>0?"right":"left":l=r>0?"left":"right"),{rotation:a,textAlign:l,textVerticalAlign:u}},t.makeAxisEventDataBase=function(e){var n={componentType:e.mainType,componentIndex:e.componentIndex};return n[e.mainType+"Index"]=e.componentIndex,n},t.isLabelSilent=function(e){var n=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||n&&n.show)},t}(),sz={axisLine:function(t,e,n,r){var a=e.get(["axisLine","show"]);if(a==="auto"&&t.handleAutoShown&&(a=t.handleAutoShown("axisLine")),!!a){var l=e.axis.getExtent(),u=r.transform,f=[l[0],0],d=[l[1],0],h=f[0]>d[0];u&&(eo(f,f,u),eo(d,d,u));var p=Re({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),m=new vc({shape:{x1:f[0],y1:f[1],x2:d[0],y2:d[1]},style:p,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});vg(m.shape,m.style.lineWidth),m.anid="line",n.add(m);var S=e.get(["axisLine","symbol"]);if(S!=null){var _=e.get(["axisLine","symbolSize"]);et(S)&&(S=[S,S]),(et(_)||Nn(_))&&(_=[_,_]);var x=s7(e.get(["axisLine","symbolOffset"])||0,_),E=_[0],b=_[1];W([{rotate:t.rotation+Math.PI/2,offset:x[0],r:0},{rotate:t.rotation-Math.PI/2,offset:x[1],r:Math.sqrt((f[0]-d[0])*(f[0]-d[0])+(f[1]-d[1])*(f[1]-d[1]))}],function(D,A){if(S[A]!=="none"&&S[A]!=null){var O=iP(S[A],-E/2,-b/2,E,b,p.stroke,!0),P=D.r+D.offset,I=h?d:f;O.attr({rotation:D.rotate,x:I[0]+P*Math.cos(t.rotation),y:I[1]-P*Math.sin(t.rotation),silent:!0,z2:11}),n.add(O)}})}}},axisTickLabel:function(t,e,n,r){var a=AW(n,r,e,t),l=OW(n,r,e,t);if(RW(e,l,a),LW(n,r,e,t.tickDirection),e.get(["axisLabel","hideOverlap"])){var u=II(ot(l,function(f){return{label:f,priority:f.z2,defaultAttr:{ignore:f.ignore}}}));FI(u)}},axisName:function(t,e,n,r){var a=Yf(t.axisName,e.get("name"));if(a){var l=e.get("nameLocation"),u=t.nameDirection,f=e.getModel("nameTextStyle"),d=e.get("nameGap")||0,h=e.axis.getExtent(),p=h[0]>h[1]?-1:1,m=[l==="start"?h[0]-p*d:l==="end"?h[1]+p*d:(h[0]+h[1])/2,cz(l)?t.labelOffset+u*d:0],S,_=e.get("nameRotate");_!=null&&(_=_*Is/180);var x;cz(l)?S=Rc.innerTextLayout(t.rotation,_??t.rotation,u):(S=MW(t.rotation,l,_||0,h),x=t.axisNameAvailableWidth,x!=null&&(x=Math.abs(x/Math.sin(S.rotation)),!isFinite(x)&&(x=null)));var E=f.getFont(),b=e.get("nameTruncate",!0)||{},D=b.ellipsis,A=Yf(t.nameTruncateMaxWidth,b.maxWidth,x),O=new ko({x:m[0],y:m[1],rotation:S.rotation,silent:Rc.isLabelSilent(e),style:gc(f,{text:a,font:E,overflow:"truncate",width:A,ellipsis:D,fill:f.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:f.get("align")||S.textAlign,verticalAlign:f.get("verticalAlign")||S.textVerticalAlign}),z2:1});if(uk({el:O,componentModel:e,itemName:a}),O.__fullText=a,O.anid="name",e.get("triggerEvent")){var P=Rc.makeAxisEventDataBase(e);P.targetType="axisName",P.name=a,yn(O).eventData=P}r.add(O),O.updateTransform(),n.add(O),O.decomposeTransform()}}};function MW(t,e,n,r){var a=vO(n-t),l,u,f=r[0]>r[1],d=e==="start"&&!f||e!=="start"&&f;return q0(a-Is/2)?(u=d?"bottom":"top",l="center"):q0(a-Is*1.5)?(u=d?"top":"bottom",l="center"):(u="middle",a<Is*1.5&&a>Is/2?l=d?"left":"right":l=d?"right":"left"),{rotation:a,textAlign:l,textVerticalAlign:u}}function RW(t,e,n){if(!wI(t.axis)){var r=t.get(["axisLabel","showMinLabel"]),a=t.get(["axisLabel","showMaxLabel"]);e=e||[],n=n||[];var l=e[0],u=e[1],f=e[e.length-1],d=e[e.length-2],h=n[0],p=n[1],m=n[n.length-1],S=n[n.length-2];r===!1?(co(l),co(h)):fz(l,u)&&(r?(co(u),co(p)):(co(l),co(h))),a===!1?(co(f),co(m)):fz(d,f)&&(a?(co(d),co(S)):(co(f),co(m)))}}function co(t){t&&(t.ignore=!0)}function fz(t,e){var n=t&&t.getBoundingRect().clone(),r=e&&e.getBoundingRect().clone();if(!(!n||!r)){var a=ix([]);return ox(a,a,-t.rotation),n.applyTransform(Jd([],a,t.getLocalTransform())),r.applyTransform(Jd([],a,e.getLocalTransform())),n.intersect(r)}}function cz(t){return t==="middle"||t==="center"}function dz(t,e,n,r,a){for(var l=[],u=[],f=[],d=0;d<t.length;d++){var h=t[d].coord;u[0]=h,u[1]=0,f[0]=h,f[1]=n,e&&(eo(u,u,e),eo(f,f,e));var p=new vc({shape:{x1:u[0],y1:u[1],x2:f[0],y2:f[1]},style:r,z2:2,autoBatch:!0,silent:!0});vg(p.shape,p.style.lineWidth),p.anid=a+"_"+t[d].tickValue,l.push(p)}return l}function AW(t,e,n,r){var a=n.axis,l=n.getModel("axisTick"),u=l.get("show");if(u==="auto"&&r.handleAutoShown&&(u=r.handleAutoShown("axisTick")),!(!u||a.scale.isBlank())){for(var f=l.getModel("lineStyle"),d=r.tickDirection*l.get("length"),h=a.getTicksCoords(),p=dz(h,e.transform,d,Vt(f.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),m=0;m<p.length;m++)t.add(p[m]);return p}}function LW(t,e,n,r){var a=n.axis,l=n.getModel("minorTick");if(!(!l.get("show")||a.scale.isBlank())){var u=a.getMinorTicksCoords();if(u.length)for(var f=l.getModel("lineStyle"),d=r*l.get("length"),h=Vt(f.getLineStyle(),Vt(n.getModel("axisTick").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})),p=0;p<u.length;p++)for(var m=dz(u[p],e.transform,d,h,"minorticks_"+p),S=0;S<m.length;S++)t.add(m[S])}}function OW(t,e,n,r){var a=n.axis,l=Yf(r.axisLabelShow,n.get(["axisLabel","show"]));if(!(!l||a.scale.isBlank())){var u=n.getModel("axisLabel"),f=u.get("margin"),d=a.getViewLabels(),h=(Yf(r.labelRotate,u.get("rotate"))||0)*Is/180,p=Rc.innerTextLayout(r.rotation,h,r.labelDirection),m=n.getCategories&&n.getCategories(!0),S=[],_=Rc.isLabelSilent(n),x=n.get("triggerEvent");return W(d,function(E,b){var D=a.scale.type==="ordinal"?a.scale.getRawOrdinalNumber(E.tickValue):E.tickValue,A=E.formattedLabel,O=E.rawLabel,P=u;if(m&&m[D]){var I=m[D];it(I)&&I.textStyle&&(P=new Oi(I.textStyle,u,n.ecModel))}var F=P.getTextColor()||n.get(["axisLine","lineStyle","color"]),U=a.dataToCoord(D),H=new ko({x:U,y:r.labelOffset+r.labelDirection*f,rotation:p.rotation,silent:_,z2:10+(E.level||0),style:gc(P,{text:A,align:P.getShallow("align",!0)||p.textAlign,verticalAlign:P.getShallow("verticalAlign",!0)||P.getShallow("baseline",!0)||p.textVerticalAlign,fill:_t(F)?F(a.type==="category"?O:a.type==="value"?D+"":D,b):F})});if(H.anid="label_"+D,x){var j=Rc.makeAxisEventDataBase(n);j.targetType="axisLabel",j.value=O,j.tickIndex=b,a.type==="category"&&(j.dataIndex=D),yn(H).eventData=j}e.add(H),H.updateTransform(),S.push(H),t.add(H),H.decomposeTransform()}),S}}const vz=Rc;function kW(t,e){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return NW(n,t,e),n.seriesInvolved&&IW(n,t),n}function NW(t,e,n){var r=e.getComponent("tooltip"),a=e.getComponent("axisPointer"),l=a.get("link",!0)||[],u=[];W(n.getCoordinateSystems(),function(f){if(!f.axisPointerEnabled)return;var d=Xg(f.model),h=t.coordSysAxesInfo[d]={};t.coordSysMap[d]=f;var p=f.model,m=p.getModel("tooltip",r);if(W(f.getAxes(),Aa(E,!1,null)),f.getTooltipAxes&&r&&m.get("show")){var S=m.get("trigger")==="axis",_=m.get(["axisPointer","type"])==="cross",x=f.getTooltipAxes(m.get(["axisPointer","axis"]));(S||_)&&W(x.baseAxes,Aa(E,_?"cross":!0,S)),_&&W(x.otherAxes,Aa(E,"cross",!1))}function E(b,D,A){var O=A.model.getModel("axisPointer",a),P=O.get("show");if(!(!P||P==="auto"&&!b&&!oE(O))){D==null&&(D=O.get("triggerTooltip")),O=b?PW(A,m,a,e,b,D):O;var I=O.get("snap"),F=Xg(A.model),U=D||I||A.type==="category",H=t.axesInfo[F]={key:F,axis:A,coordSys:f,axisPointerModel:O,triggerTooltip:D,involveSeries:U,snap:I,useHandle:oE(O),seriesModels:[],linkGroup:null};h[F]=H,t.seriesInvolved=t.seriesInvolved||U;var j=zW(l,A);if(j!=null){var X=u[j]||(u[j]={axesInfo:{}});X.axesInfo[F]=H,X.mapper=l[j].mapper,H.linkGroup=X}}}})}function PW(t,e,n,r,a,l){var u=e.getModel("axisPointer"),f=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],d={};W(f,function(S){d[S]=Qt(u.get(S))}),d.snap=t.type!=="category"&&!!l,u.get("type")==="cross"&&(d.type="line");var h=d.label||(d.label={});if(h.show==null&&(h.show=!1),a==="cross"){var p=u.get(["label","show"]);if(h.show=p??!0,!l){var m=d.lineStyle=u.get("crossStyle");m&&Vt(h,m.textStyle)}}return t.model.getModel("axisPointer",new Oi(d,n,r))}function IW(t,e){e.eachSeries(function(n){var r=n.coordinateSystem,a=n.get(["tooltip","trigger"],!0),l=n.get(["tooltip","show"],!0);!r||a==="none"||a===!1||a==="item"||l===!1||n.get(["axisPointer","show"],!0)===!1||W(t.coordSysAxesInfo[Xg(r.model)],function(u){var f=u.axis;r.getAxis(f.dim)===f&&(u.seriesModels.push(n),u.seriesDataCount==null&&(u.seriesDataCount=0),u.seriesDataCount+=n.getData().count())})})}function zW(t,e){for(var n=e.model,r=e.dim,a=0;a<t.length;a++){var l=t[a]||{};if(iE(l[r+"AxisId"],n.id)||iE(l[r+"AxisIndex"],n.componentIndex)||iE(l[r+"AxisName"],n.name))return a}}function iE(t,e){return t==="all"||Be(t)&&dn(t,e)>=0||t===e}function FW(t){var e=aE(t);if(e){var n=e.axisPointerModel,r=e.axis.scale,a=n.option,l=n.get("status"),u=n.get("value");u!=null&&(u=r.parse(u));var f=oE(n);l==null&&(a.status=f?"show":"hide");var d=r.getExtent().slice();d[0]>d[1]&&d.reverse(),(u==null||u>d[1])&&(u=d[1]),u<d[0]&&(u=d[0]),a.value=u,f&&(a.status=e.axis.scale.isBlank()?"hide":"show")}}function aE(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[Xg(t)]}function BW(t){var e=aE(t);return e&&e.axisPointerModel}function oE(t){return!!t.get(["handle","show"])}function Xg(t){return t.type+"||"+t.id}var lE={},UW=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=e.type,n}return e.prototype.render=function(n,r,a,l){this.axisPointerClass&&FW(n),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(n,a,!0)},e.prototype.updateAxisPointer=function(n,r,a,l){this._doUpdateAxisPointerClass(n,a,!1)},e.prototype.remove=function(n,r){var a=this._axisPointer;a&&a.remove(r)},e.prototype.dispose=function(n,r){this._disposeAxisPointer(r),t.prototype.dispose.apply(this,arguments)},e.prototype._doUpdateAxisPointerClass=function(n,r,a){var l=e.getAxisPointerClass(this.axisPointerClass);if(l){var u=BW(n);u?(this._axisPointer||(this._axisPointer=new l)).render(n,u,r,a):this._disposeAxisPointer(r)}},e.prototype._disposeAxisPointer=function(n){this._axisPointer&&this._axisPointer.dispose(n),this._axisPointer=null},e.registerAxisPointerClass=function(n,r){if(process.env.NODE_ENV!=="production"&&lE[n])throw new Error("axisPointer "+n+" exists");lE[n]=r},e.getAxisPointerClass=function(n){return n&&lE[n]},e.type="axis",e}(Du);const hz=UW;var uE=jn();function VW(t,e,n,r){var a=n.axis;if(!a.scale.isBlank()){var l=n.getModel("splitArea"),u=l.getModel("areaStyle"),f=u.get("color"),d=r.coordinateSystem.getRect(),h=a.getTicksCoords({tickModel:l,clamp:!0});if(h.length){var p=f.length,m=uE(t).splitAreaColors,S=xt(),_=0;if(m)for(var x=0;x<h.length;x++){var E=m.get(h[x].tickValue);if(E!=null){_=(E+(p-1)*x)%p;break}}var b=a.toGlobalCoord(h[0].coord),D=u.getAreaStyle();f=Be(f)?f:[f];for(var x=1;x<h.length;x++){var A=a.toGlobalCoord(h[x].coord),O=void 0,P=void 0,I=void 0,F=void 0;a.isHorizontal()?(O=b,P=d.y,I=A-O,F=d.height,b=O+I):(O=d.x,P=b,I=d.width,F=A-P,b=P+F);var U=h[x-1].tickValue;U!=null&&S.set(U,_),e.add(new Kr({anid:U!=null?"area_"+U:null,shape:{x:O,y:P,width:I,height:F},style:Vt({fill:f[_]},D),autoBatch:!0,silent:!0})),_=(_+1)%p}uE(t).splitAreaColors=S}}}function HW(t){uE(t).splitAreaColors=null}var GW=["axisLine","axisTickLabel","axisName"],$W=["splitArea","splitLine","minorSplitLine"],pz=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="CartesianAxisPointer",n}return e.prototype.render=function(n,r,a,l){this.group.removeAll();var u=this._axisGroup;if(this._axisGroup=new Cl,this.group.add(this._axisGroup),!!n.get("show")){var f=n.getCoordSysModel(),d=tE(f,n),h=new vz(n,Re({handleAutoShown:function(m){for(var S=f.coordinateSystem.getCartesians(),_=0;_<S.length;_++)if(Bb(S[_].getOtherAxis(n.axis).scale))return!0;return!1}},d));W(GW,h.add,h),this._axisGroup.add(h.getGroup()),W($W,function(m){n.get([m,"show"])&&jW[m](this,this._axisGroup,n,f)},this);var p=l&&l.type==="changeAxisOrder"&&l.isInitSort;p||ak(u,this._axisGroup,n),t.prototype.render.call(this,n,r,a,l)}},e.prototype.remove=function(){HW(this)},e.type="cartesianAxis",e}(hz),jW={splitLine:function(t,e,n,r){var a=n.axis;if(!a.scale.isBlank()){var l=n.getModel("splitLine"),u=l.getModel("lineStyle"),f=u.get("color");f=Be(f)?f:[f];for(var d=r.coordinateSystem.getRect(),h=a.isHorizontal(),p=0,m=a.getTicksCoords({tickModel:l}),S=[],_=[],x=u.getLineStyle(),E=0;E<m.length;E++){var b=a.toGlobalCoord(m[E].coord);h?(S[0]=b,S[1]=d.y,_[0]=b,_[1]=d.y+d.height):(S[0]=d.x,S[1]=b,_[0]=d.x+d.width,_[1]=b);var D=p++%f.length,A=m[E].tickValue,O=new vc({anid:A!=null?"line_"+m[E].tickValue:null,autoBatch:!0,shape:{x1:S[0],y1:S[1],x2:_[0],y2:_[1]},style:Vt({stroke:f[D]},x),silent:!0});vg(O.shape,x.lineWidth),e.add(O)}}},minorSplitLine:function(t,e,n,r){var a=n.axis,l=n.getModel("minorSplitLine"),u=l.getModel("lineStyle"),f=r.coordinateSystem.getRect(),d=a.isHorizontal(),h=a.getMinorTicksCoords();if(h.length)for(var p=[],m=[],S=u.getLineStyle(),_=0;_<h.length;_++)for(var x=0;x<h[_].length;x++){var E=a.toGlobalCoord(h[_][x].coord);d?(p[0]=E,p[1]=f.y,m[0]=E,m[1]=f.y+f.height):(p[0]=f.x,p[1]=E,m[0]=f.x+f.width,m[1]=E);var b=new vc({anid:"minor_line_"+h[_][x].tickValue,autoBatch:!0,shape:{x1:p[0],y1:p[1],x2:m[0],y2:m[1]},style:S,silent:!0});vg(b.shape,S.lineWidth),e.add(b)}},splitArea:function(t,e,n,r){VW(t,e,n,r)}},gz=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=e.type,n}return e.type="xAxis",e}(pz),YW=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=gz.type,n}return e.type="yAxis",e}(pz),WW=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type="grid",n}return e.prototype.render=function(n,r){this.group.removeAll(),n.get("show")&&this.group.add(new Kr({shape:n.coordinateSystem.getRect(),style:Vt({fill:n.get("backgroundColor")},n.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e}(Du),mz={offset:0};function XW(t){t.registerComponentView(WW),t.registerComponentModel(vW),t.registerCoordinateSystem("cartesian2d",DW),nz(t,"x",Kb,mz),nz(t,"y",Kb,mz),t.registerComponentView(gz),t.registerComponentView(YW),t.registerPreprocessor(function(e){e.xAxis&&e.yAxis&&!e.grid&&(e.grid={})})}var Ac=jn(),yz=Qt,sE=Qn,qW=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(e,n,r,a){var l=n.get("value"),u=n.get("status");if(this._axisModel=e,this._axisPointerModel=n,this._api=r,!(!a&&this._lastValue===l&&this._lastStatus===u)){this._lastValue=l,this._lastStatus=u;var f=this._group,d=this._handle;if(!u||u==="hide"){f&&f.hide(),d&&d.hide();return}f&&f.show(),d&&d.show();var h={};this.makeElOption(h,l,e,n,r);var p=h.graphicKey;p!==this._lastGraphicKey&&this.clear(r),this._lastGraphicKey=p;var m=this._moveAnimation=this.determineAnimation(e,n);if(!f)f=this._group=new Cl,this.createPointerEl(f,h,e,n),this.createLabelEl(f,h,e,n),r.getZr().add(f);else{var S=Aa(_z,n,m);this.updatePointerEl(f,h,S),this.updateLabelEl(f,h,S,n)}wz(f,n,!0),this._renderHandle(l)}},t.prototype.remove=function(e){this.clear(e)},t.prototype.dispose=function(e){this.clear(e)},t.prototype.determineAnimation=function(e,n){var r=n.get("animation"),a=e.axis,l=a.type==="category",u=n.get("snap");if(!u&&!l)return!1;if(r==="auto"||r==null){var f=this.animationThreshold;if(l&&a.getBandWidth()>f)return!0;if(u){var d=aE(e).seriesDataCount,h=a.getExtent();return Math.abs(h[0]-h[1])/d>f}return!1}return r===!0},t.prototype.makeElOption=function(e,n,r,a,l){},t.prototype.createPointerEl=function(e,n,r,a){var l=n.pointer;if(l){var u=Ac(e).pointerEl=new xG[l.type](yz(n.pointer));e.add(u)}},t.prototype.createLabelEl=function(e,n,r,a){if(n.label){var l=Ac(e).labelEl=new ko(yz(n.label));e.add(l),Cz(l,a)}},t.prototype.updatePointerEl=function(e,n,r){var a=Ac(e).pointerEl;a&&n.pointer&&(a.setStyle(n.pointer.style),r(a,{shape:n.pointer.shape}))},t.prototype.updateLabelEl=function(e,n,r,a){var l=Ac(e).labelEl;l&&(l.setStyle(n.label.style),r(l,{x:n.label.x,y:n.label.y}),Cz(l,a))},t.prototype._renderHandle=function(e){if(!(this._dragging||!this.updateHandleTransform)){var n=this._axisPointerModel,r=this._api.getZr(),a=this._handle,l=n.getModel("handle"),u=n.get("status");if(!l.get("show")||!u||u==="hide"){a&&r.remove(a),this._handle=null;return}var f;this._handle||(f=!0,a=this._handle=ok(l.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(h){pL(h.event)},onmousedown:sE(this._onHandleDragMove,this,0,0),drift:sE(this._onHandleDragMove,this),ondragend:sE(this._onHandleDragEnd,this)}),r.add(a)),wz(a,n,!1),a.setStyle(l.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var d=l.get("size");Be(d)||(d=[d,d]),a.scaleX=d[0]/2,a.scaleY=d[1]/2,$N(this,"_doDispatchAxisPointer",l.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,f)}},t.prototype._moveHandleToValue=function(e,n){_z(this._axisPointerModel,!n&&this._moveAnimation,this._handle,fE(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(e,n){var r=this._handle;if(r){this._dragging=!0;var a=this.updateHandleTransform(fE(r),[e,n],this._axisModel,this._axisPointerModel);this._payloadInfo=a,r.stopAnimation(),r.attr(fE(a)),Ac(r).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){var e=this._handle;if(e){var n=this._payloadInfo,r=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:n.cursorPoint[0],y:n.cursorPoint[1],tooltipOption:n.tooltipOption,axesInfo:[{axisDim:r.axis.dim,axisIndex:r.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){this._dragging=!1;var e=this._handle;if(e){var n=this._axisPointerModel.get("value");this._moveHandleToValue(n),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(e){this._lastValue=null,this._lastStatus=null;var n=e.getZr(),r=this._group,a=this._handle;n&&r&&(this._lastGraphicKey=null,r&&n.remove(r),a&&n.remove(a),this._group=null,this._handle=null,this._payloadInfo=null),vb(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(e,n,r){return r=r||0,{x:e[r],y:e[1-r],width:n[r],height:n[1-r]}},t}();function _z(t,e,n,r){Sz(Ac(n).lastProp,r)||(Ac(n).lastProp=r,e?Po(n,r,t):(n.stopAnimation(),n.attr(r)))}function Sz(t,e){if(it(t)&&it(e)){var n=!0;return W(e,function(r,a){n=n&&Sz(t[a],r)}),!!n}else return t===e}function Cz(t,e){t[e.get(["label","show"])?"show":"hide"]()}function fE(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function wz(t,e,n){var r=e.get("z"),a=e.get("zlevel");t&&t.traverse(function(l){l.type!=="group"&&(r!=null&&(l.z=r),a!=null&&(l.zlevel=a),l.silent=n)})}const QW=qW;function ZW(t){var e=t.get("type"),n=t.getModel(e+"Style"),r;return e==="line"?(r=n.getLineStyle(),r.fill=null):e==="shadow"&&(r=n.getAreaStyle(),r.stroke=null),r}function KW(t,e,n,r,a){var l=n.get("value"),u=xz(l,e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),f=n.getModel("label"),d=UT(f.get("padding")||0),h=f.getFont(),p=Ox(u,h),m=a.position,S=p.width+d[1]+d[3],_=p.height+d[0]+d[2],x=a.align;x==="right"&&(m[0]-=S),x==="center"&&(m[0]-=S/2);var E=a.verticalAlign;E==="bottom"&&(m[1]-=_),E==="middle"&&(m[1]-=_/2),JW(m,S,_,r);var b=f.get("backgroundColor");(!b||b==="auto")&&(b=e.get(["axisLine","lineStyle","color"])),t.label={x:m[0],y:m[1],style:gc(f,{text:u,font:h,fill:f.getTextColor(),padding:d,backgroundColor:b}),z2:10}}function JW(t,e,n,r){var a=r.getWidth(),l=r.getHeight();t[0]=Math.min(t[0]+e,a)-e,t[1]=Math.min(t[1]+n,l)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}function xz(t,e,n,r,a){t=e.scale.parse(t);var l=e.scale.getLabel({value:t},{precision:a.precision}),u=a.formatter;if(u){var f={value:jb(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};W(r,function(d){var h=n.getSeriesByIndex(d.seriesIndex),p=d.dataIndexInside,m=h&&h.getDataParams(p);m&&f.seriesData.push(m)}),et(u)?l=u.replace("{value}",l):_t(u)&&(l=u(f))}return l}function Tz(t,e,n){var r=Up();return ox(r,r,n.rotation),ax(r,r,n.position),MT([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],r)}function eX(t,e,n,r,a,l){var u=vz.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=a.get(["label","margin"]),KW(e,r,a,l,{position:Tz(r.axis,t,n),align:u.textAlign,verticalAlign:u.textVerticalAlign})}function tX(t,e,n){return n=n||0,{x1:t[n],y1:t[1-n],x2:e[n],y2:e[1-n]}}function nX(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}}var rX=function(t){Pt(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.makeElOption=function(n,r,a,l,u){var f=a.axis,d=f.grid,h=l.get("type"),p=bz(d,f).getOtherAxis(f).getGlobalExtent(),m=f.toGlobalCoord(f.dataToCoord(r,!0));if(h&&h!=="none"){var S=ZW(l),_=iX[h](f,m,p);_.style=S,n.graphicKey=_.type,n.pointer=_}var x=tE(d.model,a);eX(r,n,x,a,l,u)},e.prototype.getHandleTransform=function(n,r,a){var l=tE(r.axis.grid.model,r,{labelInside:!1});l.labelMargin=a.get(["handle","margin"]);var u=Tz(r.axis,n,l);return{x:u[0],y:u[1],rotation:l.rotation+(l.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(n,r,a,l){var u=a.axis,f=u.grid,d=u.getGlobalExtent(!0),h=bz(f,u).getOtherAxis(u).getGlobalExtent(),p=u.dim==="x"?0:1,m=[n.x,n.y];m[p]+=r[p],m[p]=Math.min(d[1],m[p]),m[p]=Math.max(d[0],m[p]);var S=(h[1]+h[0])/2,_=[S,S];_[p]=m[p];var x=[{verticalAlign:"middle"},{align:"center"}];return{x:m[0],y:m[1],rotation:n.rotation,cursorPoint:_,tooltipOption:x[p]}},e}(QW);function bz(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var iX={line:function(t,e,n){var r=tX([e,n[0]],[e,n[1]],Ez(t));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(t,e,n){var r=Math.max(1,t.getBandWidth()),a=n[1]-n[0];return{type:"Rect",shape:nX([e-r/2,n[0]],[r,a],Ez(t))}}};function Ez(t){return t.dim==="x"?0:1}const aX=rX;var oX=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=e.type,n}return e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},e}(En);const lX=oX;var Ru=jn(),uX=W;function Dz(t,e,n){if(!Tt.node){var r=e.getZr();Ru(r).records||(Ru(r).records={}),sX(r,e);var a=Ru(r).records[t]||(Ru(r).records[t]={});a.handler=n}}function sX(t,e){if(Ru(t).initialized)return;Ru(t).initialized=!0,n("click",Aa(Mz,"click")),n("mousemove",Aa(Mz,"mousemove")),n("globalout",cX);function n(r,a){t.on(r,function(l){var u=dX(e);uX(Ru(t).records,function(f){f&&a(f,l,u.dispatchAction)}),fX(u.pendings,e)})}}function fX(t,e){var n=t.showTip.length,r=t.hideTip.length,a;n?a=t.showTip[n-1]:r&&(a=t.hideTip[r-1]),a&&(a.dispatchAction=null,e.dispatchAction(a))}function cX(t,e,n){t.handler("leave",null,n)}function Mz(t,e,n,r){e.handler(t,n,r)}function dX(t){var e={showTip:[],hideTip:[]},n=function(r){var a=e[r.type];a?a.push(r):(r.dispatchAction=n,t.dispatchAction(r))};return{dispatchAction:n,pendings:e}}function cE(t,e){if(!Tt.node){var n=e.getZr(),r=(Ru(n).records||{})[t];r&&(Ru(n).records[t]=null)}}var vX=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=e.type,n}return e.prototype.render=function(n,r,a){var l=r.getComponent("tooltip"),u=n.get("triggerOn")||l&&l.get("triggerOn")||"mousemove|click";Dz("axisPointer",a,function(f,d,h){u!=="none"&&(f==="leave"||u.indexOf(f)>=0)&&h({type:"updateAxisPointer",currTrigger:f,x:d&&d.offsetX,y:d&&d.offsetY})})},e.prototype.remove=function(n,r){cE("axisPointer",r)},e.prototype.dispose=function(n,r){cE("axisPointer",r)},e.type="axisPointer",e}(Du);const hX=vX;function Rz(t,e){var n=[],r=t.seriesIndex,a;if(r==null||!(a=e.getSeriesByIndex(r)))return{point:[]};var l=a.getData(),u=rg(l,t);if(u==null||u<0||Be(u))return{point:[]};var f=l.getItemGraphicEl(u),d=a.coordinateSystem;if(a.getTooltipPosition)n=a.getTooltipPosition(u)||[];else if(d&&d.dataToPoint)if(t.isStacked){var h=d.getBaseAxis(),p=d.getOtherAxis(h),m=p.dim,S=h.dim,_=m==="x"||m==="radius"?1:0,x=l.mapDimension(S),E=[];E[_]=l.get(x,u),E[1-_]=l.get(l.getCalculationInfo("stackResultDimension"),u),n=d.dataToPoint(E)||[]}else n=d.dataToPoint(l.getValues(ot(d.dimensions,function(D){return l.mapDimension(D)}),u))||[];else if(f){var b=f.getBoundingRect().clone();b.applyTransform(f.transform),n=[b.x+b.width/2,b.y+b.height/2]}return{point:n,el:f}}var Az=jn();function pX(t,e,n){var r=t.currTrigger,a=[t.x,t.y],l=t,u=t.dispatchAction||Qn(n.dispatchAction,n),f=e.getComponent("axisPointer").coordSysAxesInfo;if(f){d1(a)&&(a=Rz({seriesIndex:l.seriesIndex,dataIndex:l.dataIndex},e).point);var d=d1(a),h=l.axesInfo,p=f.axesInfo,m=r==="leave"||d1(a),S={},_={},x={list:[],map:{}},E={showPointer:Aa(mX,_),showTooltip:Aa(yX,x)};W(f.coordSysMap,function(D,A){var O=d||D.containPoint(a);W(f.coordSysAxesInfo[A],function(P,I){var F=P.axis,U=wX(h,P);if(!m&&O&&(!h||U)){var H=U&&U.value;H==null&&!d&&(H=F.pointToData(a)),H!=null&&Lz(P,H,E,!1,S)}})});var b={};return W(p,function(D,A){var O=D.linkGroup;O&&!_[A]&&W(O.axesInfo,function(P,I){var F=_[I];if(P!==D&&F){var U=F.value;O.mapper&&(U=D.axis.scale.parse(O.mapper(U,Oz(P),Oz(D)))),b[D.key]=U}})}),W(b,function(D,A){Lz(p[A],D,E,!0,S)}),_X(_,p,S),SX(x,a,t,u),CX(p,u,n),S}}function Lz(t,e,n,r,a){var l=t.axis;if(!(l.scale.isBlank()||!l.containData(e))){if(!t.involveSeries){n.showPointer(t,e);return}var u=gX(e,t),f=u.payloadBatch,d=u.snapToValue;f[0]&&a.seriesIndex==null&&Re(a,f[0]),!r&&t.snap&&l.containData(d)&&d!=null&&(e=d),n.showPointer(t,e,f),n.showTooltip(t,u,d)}}function gX(t,e){var n=e.axis,r=n.dim,a=t,l=[],u=Number.MAX_VALUE,f=-1;return W(e.seriesModels,function(d,h){var p=d.getData().mapDimensionsAll(r),m,S;if(d.getAxisTooltipData){var _=d.getAxisTooltipData(p,t,n);S=_.dataIndices,m=_.nestestValue}else{if(S=d.getData().indicesOfNearest(p[0],t,n.type==="category"?.5:null),!S.length)return;m=d.getData().get(p[0],S[0])}if(!(m==null||!isFinite(m))){var x=t-m,E=Math.abs(x);E<=u&&((E<u||x>=0&&f<0)&&(u=E,f=x,a=m,l.length=0),W(S,function(b){l.push({seriesIndex:d.seriesIndex,dataIndexInside:b,dataIndex:d.getData().getRawIndex(b)})}))}}),{payloadBatch:l,snapToValue:a}}function mX(t,e,n,r){t[e.key]={value:n,payloadBatch:r}}function yX(t,e,n,r){var a=n.payloadBatch,l=e.axis,u=l.model,f=e.axisPointerModel;if(!(!e.triggerTooltip||!a.length)){var d=e.coordSys.model,h=Xg(d),p=t.map[h];p||(p=t.map[h]={coordSysId:d.id,coordSysIndex:d.componentIndex,coordSysType:d.type,coordSysMainType:d.mainType,dataByAxis:[]},t.list.push(p)),p.dataByAxis.push({axisDim:l.dim,axisIndex:u.componentIndex,axisType:u.type,axisId:u.id,value:r,valueLabelOpt:{precision:f.get(["label","precision"]),formatter:f.get(["label","formatter"])},seriesDataIndices:a.slice()})}}function _X(t,e,n){var r=n.axesInfo=[];W(e,function(a,l){var u=a.axisPointerModel.option,f=t[l];f?(!a.useHandle&&(u.status="show"),u.value=f.value,u.seriesDataIndices=(f.payloadBatch||[]).slice()):!a.useHandle&&(u.status="hide"),u.status==="show"&&r.push({axisDim:a.axis.dim,axisIndex:a.axis.model.componentIndex,value:u.value})})}function SX(t,e,n,r){if(d1(e)||!t.list.length){r({type:"hideTip"});return}var a=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:a.dataIndexInside,dataIndex:a.dataIndex,seriesIndex:a.seriesIndex,dataByCoordSys:t.list})}function CX(t,e,n){var r=n.getZr(),a="axisPointerLastHighlights",l=Az(r)[a]||{},u=Az(r)[a]={};W(t,function(h,p){var m=h.axisPointerModel.option;m.status==="show"&&W(m.seriesDataIndices,function(S){var _=S.seriesIndex+" | "+S.dataIndex;u[_]=S})});var f=[],d=[];W(l,function(h,p){!u[p]&&d.push(h)}),W(u,function(h,p){!l[p]&&f.push(h)}),d.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:d}),f.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:f})}function wX(t,e){for(var n=0;n<(t||[]).length;n++){var r=t[n];if(e.axis.dim===r.axisDim&&e.axis.model.componentIndex===r.axisIndex)return r}}function Oz(t){var e=t.axis.model,n={},r=n.axisDim=t.axis.dim;return n.axisIndex=n[r+"AxisIndex"]=e.componentIndex,n.axisName=n[r+"AxisName"]=e.name,n.axisId=n[r+"AxisId"]=e.id,n}function d1(t){return!t||t[0]==null||isNaN(t[0])||t[1]==null||isNaN(t[1])}function kz(t){hz.registerAxisPointerClass("CartesianAxisPointer",aX),t.registerComponentModel(lX),t.registerComponentView(hX),t.registerPreprocessor(function(e){if(e){(!e.axisPointer||e.axisPointer.length===0)&&(e.axisPointer={});var n=e.axisPointer.link;n&&!Be(n)&&(e.axisPointer.link=[n])}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,function(e,n){e.getComponent("axisPointer").coordSysAxesInfo=kW(e,n)}),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},pX)}function xX(t){$g(XW),$g(kz)}var TX=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=e.type,n}return e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e}(En);const bX=TX;function Nz(t){var e=t.get("confine");return e!=null?!!e:t.get("renderMode")==="richText"}function Pz(t){if(Tt.domSupported){for(var e=document.documentElement.style,n=0,r=t.length;n<r;n++)if(t[n]in e)return t[n]}}var Iz=Pz(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),EX=Pz(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function zz(t,e){if(!t)return e;e=Ok(e,!0);var n=t.indexOf(e);return t=n===-1?e:"-"+t.slice(0,n)+"-"+e,t.toLowerCase()}function DX(t,e){var n=t.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(t);return n?e?n[e]:n:null}var MX=zz(EX,"transition"),dE=zz(Iz,"transform"),RX="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(Tt.transform3dSupported?"will-change:transform;":"");function AX(t){return t=t==="left"?"right":t==="right"?"left":t==="top"?"bottom":"top",t}function LX(t,e,n){if(!et(n)||n==="inside")return"";var r=t.get("backgroundColor"),a=t.get("borderWidth");e=_g(e);var l=AX(n),u=Math.max(Math.round(a)*1.5,6),f="",d=dE+":",h;dn(["left","right"],l)>-1?(f+="top:50%",d+="translateY(-50%) rotate("+(h=l==="left"?-225:-45)+"deg)"):(f+="left:50%",d+="translateX(-50%) rotate("+(h=l==="top"?225:45)+"deg)");var p=h*Math.PI/180,m=u+a,S=m*Math.abs(Math.cos(p))+m*Math.abs(Math.sin(p)),_=Math.round(((S-Math.SQRT2*a)/2+Math.SQRT2*a-(S-m)/2)*100)/100;f+=";"+l+":-"+_+"px";var x=e+" solid "+a+"px;",E=["position:absolute;width:"+u+"px;height:"+u+"px;z-index:-1;",f+";"+d+";","border-bottom:"+x,"border-right:"+x,"background-color:"+r+";"];return'<div style="'+E.join("")+'"></div>'}function OX(t,e){var n="cubic-bezier(0.23,1,0.32,1)",r=" "+t/2+"s "+n,a="opacity"+r+",visibility"+r;return e||(r=" "+t+"s "+n,a+=Tt.transformSupported?","+dE+r:",left"+r+",top"+r),MX+":"+a}function Fz(t,e,n){var r=t.toFixed(0)+"px",a=e.toFixed(0)+"px";if(!Tt.transformSupported)return n?"top:"+a+";left:"+r+";":[["top",a],["left",r]];var l=Tt.transform3dSupported,u="translate"+(l?"3d":"")+"("+r+","+a+(l?",0":"")+")";return n?"top:0;left:0;"+dE+":"+u+";":[["top",0],["left",0],[Iz,u]]}function kX(t){var e=[],n=t.get("fontSize"),r=t.getTextColor();r&&e.push("color:"+r),e.push("font:"+t.getFont()),n&&e.push("line-height:"+Math.round(n*3/2)+"px");var a=t.get("textShadowColor"),l=t.get("textShadowBlur")||0,u=t.get("textShadowOffsetX")||0,f=t.get("textShadowOffsetY")||0;return a&&l&&e.push("text-shadow:"+u+"px "+f+"px "+l+"px "+a),W(["decoration","align"],function(d){var h=t.get(d);h&&e.push("text-"+d+":"+h)}),e.join(";")}function NX(t,e,n){var r=[],a=t.get("transitionDuration"),l=t.get("backgroundColor"),u=t.get("shadowBlur"),f=t.get("shadowColor"),d=t.get("shadowOffsetX"),h=t.get("shadowOffsetY"),p=t.getModel("textStyle"),m=PN(t,"html"),S=d+"px "+h+"px "+u+"px "+f;return r.push("box-shadow:"+S),e&&a&&r.push(OX(a,n)),l&&r.push("background-color:"+l),W(["width","color","radius"],function(_){var x="border-"+_,E=Ok(x),b=t.get(E);b!=null&&r.push(x+":"+b+(_==="color"?"":"px"))}),r.push(kX(p)),m!=null&&r.push("padding:"+UT(m).join("px ")+"px"),r.join(";")+";"}function Bz(t,e,n,r,a){var l=e&&e.painter;if(n){var u=l&&l.getViewportRoot();u&&CH(t,u,document.body,r,a)}else{t[0]=r,t[1]=a;var f=l&&l.getViewportRootOffset();f&&(t[0]+=f.offsetLeft,t[1]+=f.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var PX=function(){function t(e,n,r){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._firstShow=!0,this._longHide=!0,Tt.wxa)return null;var a=document.createElement("div");a.domBelongToZr=!0,this.el=a;var l=this._zr=n.getZr(),u=this._appendToBody=r&&r.appendToBody;Bz(this._styleCoord,l,u,n.getWidth()/2,n.getHeight()/2),u?document.body.appendChild(a):e.appendChild(a),this._container=e;var f=this;a.onmouseenter=function(){f._enterable&&(clearTimeout(f._hideTimeout),f._show=!0),f._inContent=!0},a.onmousemove=function(d){if(d=d||window.event,!f._enterable){var h=l.handler,p=l.painter.getViewportRoot();no(p,d,!0),h.dispatch("mousemove",d)}},a.onmouseleave=function(){f._inContent=!1,f._enterable&&f._show&&f.hideLater(f._hideDelay)}}return t.prototype.update=function(e){var n=this._container,r=DX(n,"position"),a=n.style;a.position!=="absolute"&&r!=="absolute"&&(a.position="relative");var l=e.get("alwaysShowContent");l&&this._moveIfResized(),this.el.className=e.get("className")||""},t.prototype.show=function(e,n){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var r=this.el,a=r.style,l=this._styleCoord;r.innerHTML?a.cssText=RX+NX(e,!this._firstShow,this._longHide)+Fz(l[0],l[1],!0)+("border-color:"+_g(n)+";")+(e.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):a.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(e,n,r,a,l){var u=this.el;if(e==null){u.innerHTML="";return}var f="";if(et(l)&&r.get("trigger")==="item"&&!Nz(r)&&(f=LX(r,a,l)),et(e))u.innerHTML=e+f;else if(e){u.innerHTML="",Be(e)||(e=[e]);for(var d=0;d<e.length;d++)zp(e[d])&&e[d].parentNode!==u&&u.appendChild(e[d]);if(f&&u.childNodes.length){var h=document.createElement("div");h.innerHTML=f,u.appendChild(h)}}},t.prototype.setEnterable=function(e){this._enterable=e},t.prototype.getSize=function(){var e=this.el;return[e.offsetWidth,e.offsetHeight]},t.prototype.moveTo=function(e,n){var r=this._styleCoord;if(Bz(r,this._zr,this._appendToBody,e,n),r[0]!=null&&r[1]!=null){var a=this.el.style,l=Fz(r[0],r[1]);W(l,function(u){a[u[0]]=u[1]})}},t.prototype._moveIfResized=function(){var e=this._styleCoord[2],n=this._styleCoord[3];this.moveTo(e*this._zr.getWidth(),n*this._zr.getHeight())},t.prototype.hide=function(){var e=this,n=this.el.style;n.visibility="hidden",n.opacity="0",Tt.transform3dSupported&&(n.willChange=""),this._show=!1,this._longHideTimeout=setTimeout(function(){return e._longHide=!0},500)},t.prototype.hideLater=function(e){this._show&&!(this._inContent&&this._enterable)&&(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(Qn(this.hide,this),e)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this.el.parentNode.removeChild(this.el)},t}();const IX=PX;var zX=function(){function t(e){this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._zr=e.getZr(),Vz(this._styleCoord,this._zr,e.getWidth()/2,e.getHeight()/2)}return t.prototype.update=function(e){var n=e.get("alwaysShowContent");n&&this._moveIfResized()},t.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},t.prototype.setContent=function(e,n,r,a,l){var u=this;it(e)&&Ht(process.env.NODE_ENV!=="production"?"Passing DOM nodes as content is not supported in richText tooltip!":""),this.el&&this._zr.remove(this.el);var f=r.getModel("textStyle");this.el=new ko({style:{rich:n.richTextStyles,text:e,lineHeight:22,borderWidth:1,borderColor:a,textShadowColor:f.get("textShadowColor"),fill:r.get(["textStyle","color"]),padding:PN(r,"richText"),verticalAlign:"top",align:"left"},z:r.get("z")}),W(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(h){u.el.style[h]=r.get(h)}),W(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(h){u.el.style[h]=f.get(h)||0}),this._zr.add(this.el);var d=this;this.el.on("mouseover",function(){d._enterable&&(clearTimeout(d._hideTimeout),d._show=!0),d._inContent=!0}),this.el.on("mouseout",function(){d._enterable&&d._show&&d.hideLater(d._hideDelay),d._inContent=!1})},t.prototype.setEnterable=function(e){this._enterable=e},t.prototype.getSize=function(){var e=this.el,n=this.el.getBoundingRect(),r=Uz(e.style);return[n.width+r.left+r.right,n.height+r.top+r.bottom]},t.prototype.moveTo=function(e,n){var r=this.el;if(r){var a=this._styleCoord;Vz(a,this._zr,e,n),e=a[0],n=a[1];var l=r.style,u=zs(l.borderWidth||0),f=Uz(l);r.x=e+u+f.left,r.y=n+u+f.top,r.markRedraw()}},t.prototype._moveIfResized=function(){var e=this._styleCoord[2],n=this._styleCoord[3];this.moveTo(e*this._zr.getWidth(),n*this._zr.getHeight())},t.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},t.prototype.hideLater=function(e){this._show&&!(this._inContent&&this._enterable)&&(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(Qn(this.hide,this),e)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this._zr.remove(this.el)},t}();function zs(t){return Math.max(0,t)}function Uz(t){var e=zs(t.shadowBlur||0),n=zs(t.shadowOffsetX||0),r=zs(t.shadowOffsetY||0);return{left:zs(e-n),right:zs(e+n),top:zs(e-r),bottom:zs(e+r)}}function Vz(t,e,n,r){t[0]=n,t[1]=r,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}const FX=zX;var BX=new Kr({shape:{x:-1,y:-1,width:2,height:2}}),UX=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=e.type,n}return e.prototype.init=function(n,r){if(!(Tt.node||!r.getDom())){var a=n.getComponent("tooltip"),l=this._renderMode=e6(a.get("renderMode"));this._tooltipContent=l==="richText"?new FX(r):new IX(r.getDom(),r,{appendToBody:a.get("appendToBody",!0)})}},e.prototype.render=function(n,r,a){if(!(Tt.node||!a.getDom())){this.group.removeAll(),this._tooltipModel=n,this._ecModel=r,this._api=a,this._alwaysShowContent=n.get("alwaysShowContent");var l=this._tooltipContent;l.update(n),l.setEnterable(n.get("enterable")),this._initGlobalListener(),this._keepShow(),this._renderMode!=="richText"&&n.get("transitionDuration")?$N(this,"_updatePosition",50,"fixRate"):vb(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var n=this._tooltipModel,r=n.get("triggerOn");Dz("itemTooltip",this._api,Qn(function(a,l,u){r!=="none"&&(r.indexOf(a)>=0?this._tryShow(l,u):a==="leave"&&this._hide(u))},this))},e.prototype._keepShow=function(){var n=this._tooltipModel,r=this._ecModel,a=this._api,l=n.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&l!=="none"&&l!=="click"){var u=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!a.isDisposed()&&u.manuallyShowTip(n,r,a,{x:u._lastX,y:u._lastY,dataByCoordSys:u._lastDataByCoordSys})})}},e.prototype.manuallyShowTip=function(n,r,a,l){if(!(l.from===this.uid||Tt.node||!a.getDom())){var u=Hz(l,a);this._ticket="";var f=l.dataByCoordSys,d=$X(l,r,a);if(d){var h=d.el.getBoundingRect().clone();h.applyTransform(d.el.transform),this._tryShow({offsetX:h.x+h.width/2,offsetY:h.y+h.height/2,target:d.el,position:l.position,positionDefault:"bottom"},u)}else if(l.tooltip&&l.x!=null&&l.y!=null){var p=BX;p.x=l.x,p.y=l.y,p.update(),yn(p).tooltipConfig={name:null,option:l.tooltip},this._tryShow({offsetX:l.x,offsetY:l.y,target:p},u)}else if(f)this._tryShow({offsetX:l.x,offsetY:l.y,position:l.position,dataByCoordSys:f,tooltipOption:l.tooltipOption},u);else if(l.seriesIndex!=null){if(this._manuallyAxisShowTip(n,r,a,l))return;var m=Rz(l,r),S=m.point[0],_=m.point[1];S!=null&&_!=null&&this._tryShow({offsetX:S,offsetY:_,target:m.el,position:l.position,positionDefault:"bottom"},u)}else l.x!=null&&l.y!=null&&(a.dispatchAction({type:"updateAxisPointer",x:l.x,y:l.y}),this._tryShow({offsetX:l.x,offsetY:l.y,position:l.position,target:a.getZr().findHover(l.x,l.y).target},u))}},e.prototype.manuallyHideTip=function(n,r,a,l){var u=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&u.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,l.from!==this.uid&&this._hide(Hz(l,a))},e.prototype._manuallyAxisShowTip=function(n,r,a,l){var u=l.seriesIndex,f=l.dataIndex,d=r.getComponent("axisPointer").coordSysAxesInfo;if(!(u==null||f==null||d==null)){var h=r.getSeriesByIndex(u);if(h){var p=h.getData(),m=qg([p.getItemModel(f),h,(h.coordinateSystem||{}).model],this._tooltipModel);if(m.get("trigger")==="axis")return a.dispatchAction({type:"updateAxisPointer",seriesIndex:u,dataIndex:f,position:l.position}),!0}}},e.prototype._tryShow=function(n,r){var a=n.target,l=this._tooltipModel;if(l){this._lastX=n.offsetX,this._lastY=n.offsetY;var u=n.dataByCoordSys;if(u&&u.length)this._showAxisTooltip(u,n);else if(a){this._lastDataByCoordSys=null;var f,d;Og(a,function(h){if(yn(h).dataIndex!=null)return f=h,!0;if(yn(h).tooltipConfig!=null)return d=h,!0},!0),f?this._showSeriesItemTooltip(n,f,r):d?this._showComponentItemTooltip(n,d,r):this._hide(r)}else this._lastDataByCoordSys=null,this._hide(r)}},e.prototype._showOrMove=function(n,r){var a=n.get("showDelay");r=Qn(r,this),clearTimeout(this._showTimout),a>0?this._showTimout=setTimeout(r,a):r()},e.prototype._showAxisTooltip=function(n,r){var a=this._ecModel,l=this._tooltipModel,u=[r.offsetX,r.offsetY],f=qg([r.tooltipOption],l),d=this._renderMode,h=[],p=Rg("section",{blocks:[],noHeader:!0}),m=[],S=new ub;W(n,function(A){W(A.dataByAxis,function(O){var P=a.getComponent(O.axisDim+"Axis",O.axisIndex),I=O.value;if(!(!P||I==null)){var F=xz(I,P.axis,a,O.seriesDataIndices,O.valueLabelOpt),U=Rg("section",{header:F,noHeader:!yl(F),sortBlocks:!0,blocks:[]});p.blocks.push(U),W(O.seriesDataIndices,function(H){var j=a.getSeriesByIndex(H.seriesIndex),X=H.dataIndexInside,G=j.getDataParams(X);if(!(G.dataIndex<0)){G.axisDim=O.axisDim,G.axisIndex=O.axisIndex,G.axisType=O.axisType,G.axisId=O.axisId,G.axisValue=jb(P.axis,{value:I}),G.axisValueLabel=F,G.marker=S.makeTooltipMarker("item",_g(G.color),d);var ee=gN(j.formatTooltip(X,!0,null)),J=ee.frag;if(J){var ie=qg([j],l).get("valueFormatter");U.blocks.push(ie?Re({valueFormatter:ie},J):J)}ee.text&&m.push(ee.text),h.push(G)}})}})}),p.blocks.reverse(),m.reverse();var _=r.position,x=f.get("order"),E=kN(p,S,d,x,a.get("useUTC"),f.get("textStyle"));E&&m.unshift(E);var b=d==="richText"?`
211
-
212
- `:"<br/>",D=m.join(b);this._showOrMove(f,function(){this._updateContentNotChangedOnAxis(n,h)?this._updatePosition(f,_,u[0],u[1],this._tooltipContent,h):this._showTooltipContent(f,D,h,Math.random()+"",u[0],u[1],_,null,S)})},e.prototype._showSeriesItemTooltip=function(n,r,a){var l=this._ecModel,u=yn(r),f=u.seriesIndex,d=l.getSeriesByIndex(f),h=u.dataModel||d,p=u.dataIndex,m=u.dataType,S=h.getData(m),_=this._renderMode,x=n.positionDefault,E=qg([S.getItemModel(p),h,d&&(d.coordinateSystem||{}).model],this._tooltipModel,x?{position:x}:null),b=E.get("trigger");if(!(b!=null&&b!=="item")){var D=h.getDataParams(p,m),A=new ub;D.marker=A.makeTooltipMarker("item",_g(D.color),_);var O=gN(h.formatTooltip(p,!1,m)),P=E.get("order"),I=E.get("valueFormatter"),F=O.frag,U=F?kN(I?Re({valueFormatter:I},F):F,A,_,P,l.get("useUTC"),E.get("textStyle")):O.text,H="item_"+h.name+"_"+p;this._showOrMove(E,function(){this._showTooltipContent(E,U,D,H,n.offsetX,n.offsetY,n.position,n.target,A)}),a({type:"showTip",dataIndexInside:p,dataIndex:S.getRawIndex(p),seriesIndex:f,from:this.uid})}},e.prototype._showComponentItemTooltip=function(n,r,a){var l=yn(r),u=l.tooltipConfig,f=u.option||{};if(et(f)){var d=f;f={content:d,formatter:d}}var h=[f],p=this._ecModel.getComponent(l.componentMainType,l.componentIndex);p&&h.push(p),h.push({formatter:f.content});var m=n.positionDefault,S=qg(h,this._tooltipModel,m?{position:m}:null),_=S.get("content"),x=Math.random()+"",E=new ub;this._showOrMove(S,function(){var b=Qt(S.get("formatterParams")||{});this._showTooltipContent(S,_,b,x,n.offsetX,n.offsetY,n.position,r,E)}),a({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(n,r,a,l,u,f,d,h,p){if(this._ticket="",!(!n.get("showContent")||!n.get("show"))){var m=this._tooltipContent;m.setEnterable(n.get("enterable"));var S=n.get("formatter");d=d||n.get("position");var _=r,x=this._getNearestPoint([u,f],a,n.get("trigger"),n.get("borderColor")),E=x.color;if(S)if(et(S)){var b=n.ecModel.get("useUTC"),D=Be(a)?a[0]:a,A=D&&D.axisType&&D.axisType.indexOf("time")>=0;_=S,A&&(_=w_(D.axisValue,_,b)),_=Nk(_,a,!0)}else if(_t(S)){var O=Qn(function(P,I){P===this._ticket&&(m.setContent(I,p,n,E,d),this._updatePosition(n,d,u,f,m,a,h))},this);this._ticket=l,_=S(a,l,O)}else _=S;m.setContent(_,p,n,E,d),m.show(n,E),this._updatePosition(n,d,u,f,m,a,h)}},e.prototype._getNearestPoint=function(n,r,a,l){if(a==="axis"||Be(r))return{color:l||(this._renderMode==="html"?"#fff":"none")};if(!Be(r))return{color:l||r.color||r.borderColor}},e.prototype._updatePosition=function(n,r,a,l,u,f,d){var h=this._api.getWidth(),p=this._api.getHeight();r=r||n.get("position");var m=u.getSize(),S=n.get("align"),_=n.get("verticalAlign"),x=d&&d.getBoundingRect().clone();if(d&&x.applyTransform(d.transform),_t(r)&&(r=r([a,l],f,u.el,x,{viewSize:[h,p],contentSize:m.slice()})),Be(r))a=Zr(r[0],h),l=Zr(r[1],p);else if(it(r)){var E=r;E.width=m[0],E.height=m[1];var b=GT(E,{width:h,height:p});a=b.x,l=b.y,S=null,_=null}else if(et(r)&&d){var D=GX(r,x,m,n.get("borderWidth"));a=D[0],l=D[1]}else{var D=VX(a,l,u,h,p,S?null:20,_?null:20);a=D[0],l=D[1]}if(S&&(a-=Gz(S)?m[0]/2:S==="right"?m[0]:0),_&&(l-=Gz(_)?m[1]/2:_==="bottom"?m[1]:0),Nz(n)){var D=HX(a,l,u,h,p);a=D[0],l=D[1]}u.moveTo(a,l)},e.prototype._updateContentNotChangedOnAxis=function(n,r){var a=this._lastDataByCoordSys,l=this._cbParamsList,u=!!a&&a.length===n.length;return u&&W(a,function(f,d){var h=f.dataByAxis||[],p=n[d]||{},m=p.dataByAxis||[];u=u&&h.length===m.length,u&&W(h,function(S,_){var x=m[_]||{},E=S.seriesDataIndices||[],b=x.seriesDataIndices||[];u=u&&S.value===x.value&&S.axisType===x.axisType&&S.axisId===x.axisId&&E.length===b.length,u&&W(E,function(D,A){var O=b[A];u=u&&D.seriesIndex===O.seriesIndex&&D.dataIndex===O.dataIndex}),l&&W(S.seriesDataIndices,function(D){var A=D.seriesIndex,O=r[A],P=l[A];O&&P&&P.data!==O.data&&(u=!1)})})}),this._lastDataByCoordSys=n,this._cbParamsList=r,!!u},e.prototype._hide=function(n){this._lastDataByCoordSys=null,n({type:"hideTip",from:this.uid})},e.prototype.dispose=function(n,r){Tt.node||!r.getDom()||(vb(this,"_updatePosition"),this._tooltipContent.dispose(),cE("itemTooltip",r))},e.type="tooltip",e}(Du);function qg(t,e,n){var r=e.ecModel,a;n?(a=new Oi(n,r,r),a=new Oi(e.option,a,r)):a=e;for(var l=t.length-1;l>=0;l--){var u=t[l];u&&(u instanceof Oi&&(u=u.get("tooltip",!0)),et(u)&&(u={formatter:u}),u&&(a=new Oi(u,a,r)))}return a}function Hz(t,e){return t.dispatchAction||Qn(e.dispatchAction,e)}function VX(t,e,n,r,a,l,u){var f=n.getSize(),d=f[0],h=f[1];return l!=null&&(t+d+l+2>r?t-=d+l:t+=l),u!=null&&(e+h+u>a?e-=h+u:e+=u),[t,e]}function HX(t,e,n,r,a){var l=n.getSize(),u=l[0],f=l[1];return t=Math.min(t+u,r)-u,e=Math.min(e+f,a)-f,t=Math.max(t,0),e=Math.max(e,0),[t,e]}function GX(t,e,n,r){var a=n[0],l=n[1],u=Math.ceil(Math.SQRT2*r)+8,f=0,d=0,h=e.width,p=e.height;switch(t){case"inside":f=e.x+h/2-a/2,d=e.y+p/2-l/2;break;case"top":f=e.x+h/2-a/2,d=e.y-l-u;break;case"bottom":f=e.x+h/2-a/2,d=e.y+p+u;break;case"left":f=e.x-a-u,d=e.y+p/2-l/2;break;case"right":f=e.x+h+u,d=e.y+p/2-l/2}return[f,d]}function Gz(t){return t==="center"||t==="middle"}function $X(t,e,n){var r=Vx(t).queryOptionMap,a=r.keys()[0];if(!(!a||a==="series")){var l=ig(e,a,r.get(a),{useDefault:!1,enableAll:!1,enableNone:!1}),u=l.models[0];if(u){var f=n.getViewOfComponentModel(u),d;if(f.group.traverse(function(h){var p=yn(h).tooltipConfig;if(p&&p.name===t.name)return d=h,!0}),d)return{componentMainType:a,componentIndex:u.componentIndex,el:d}}}}const jX=UX;function YX(t){$g(kz),t.registerComponentModel(bX),t.registerComponentView(jX),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},ta),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},ta)}var WX=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(En),XX=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=e.type,n}return e.prototype.render=function(n,r,a){if(this.group.removeAll(),!!n.get("show")){var l=this.group,u=n.getModel("textStyle"),f=n.getModel("subtextStyle"),d=n.get("textAlign"),h=kt(n.get("textBaseline"),n.get("textVerticalAlign")),p=new ko({style:gc(u,{text:n.get("text"),fill:u.getTextColor()},{disableBox:!0}),z2:10}),m=p.getBoundingRect(),S=n.get("subtext"),_=new ko({style:gc(f,{text:S,fill:f.getTextColor(),y:m.height+n.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),x=n.get("link"),E=n.get("sublink"),b=n.get("triggerEvent",!0);p.silent=!x&&!b,_.silent=!E&&!b,x&&p.on("click",function(){Pk(x,"_"+n.get("target"))}),E&&_.on("click",function(){Pk(E,"_"+n.get("subtarget"))}),yn(p).eventData=yn(_).eventData=b?{componentType:"title",componentIndex:n.componentIndex}:null,l.add(p),S&&l.add(_);var D=l.getBoundingRect(),A=n.getBoxLayoutParams();A.width=D.width,A.height=D.height;var O=GT(A,{width:a.getWidth(),height:a.getHeight()},n.get("padding"));d||(d=n.get("left")||n.get("right"),d==="middle"&&(d="center"),d==="right"?O.x+=O.width:d==="center"&&(O.x+=O.width/2)),h||(h=n.get("top")||n.get("bottom"),h==="center"&&(h="middle"),h==="bottom"?O.y+=O.height:h==="middle"&&(O.y+=O.height/2),h=h||"top"),l.x=O.x,l.y=O.y,l.markRedraw();var P={align:d,verticalAlign:h};p.setStyle(P),_.setStyle(P),D=l.getBoundingRect();var I=O.margin,F=n.getItemStyle(["color","opacity"]);F.fill=n.get("backgroundColor");var U=new Kr({shape:{x:D.x-I[3],y:D.y-I[0],width:D.width+I[1]+I[3],height:D.height+I[0]+I[2],r:n.get("borderRadius")},style:F,subPixelOptimize:!0,silent:!0});l.add(U)}},e.type="title",e}(Du);function qX(t){t.registerComponentModel(WX),t.registerComponentView(XX)}var $z={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},QX=function(){function t(e){var n=this._condVal=et(e)?new RegExp(e):aL(e)?e:null;if(n==null){var r="";process.env.NODE_ENV!=="production"&&(r=na("Illegal regexp",e,"in")),Ht(r)}}return t.prototype.evaluate=function(e){var n=typeof e;return et(n)?this._condVal.test(e):Nn(n)?this._condVal.test(e+""):!1},t}(),ZX=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),KX=function(){function t(){}return t.prototype.evaluate=function(){for(var e=this.children,n=0;n<e.length;n++)if(!e[n].evaluate())return!1;return!0},t}(),JX=function(){function t(){}return t.prototype.evaluate=function(){for(var e=this.children,n=0;n<e.length;n++)if(e[n].evaluate())return!0;return!1},t}(),eq=function(){function t(){}return t.prototype.evaluate=function(){return!this.child.evaluate()},t}(),tq=function(){function t(){}return t.prototype.evaluate=function(){for(var e=!!this.valueParser,n=this.getValue,r=n(this.valueGetterParam),a=e?this.valueParser(r):null,l=0;l<this.subCondList.length;l++)if(!this.subCondList[l].evaluate(e?a:r))return!1;return!0},t}();function vE(t,e){if(t===!0||t===!1){var n=new ZX;return n.value=t,n}var r="";return Yz(t)||(process.env.NODE_ENV!=="production"&&(r=na("Illegal config. Expect a plain object but actually",t)),Ht(r)),t.and?jz("and",t,e):t.or?jz("or",t,e):t.not?nq(t,e):rq(t,e)}function jz(t,e,n){var r=e[t],a="";process.env.NODE_ENV!=="production"&&(a=na('"and"/"or" condition should only be `'+t+": [...]` and must not be empty array.","Illegal condition:",e)),Be(r)||Ht(a),r.length||Ht(a);var l=t==="and"?new KX:new JX;return l.children=ot(r,function(u){return vE(u,n)}),l.children.length||Ht(a),l}function nq(t,e){var n=t.not,r="";process.env.NODE_ENV!=="production"&&(r=na('"not" condition should only be `not: {}`.',"Illegal condition:",t)),Yz(n)||Ht(r);var a=new eq;return a.child=vE(n,e),a.child||Ht(r),a}function rq(t,e){for(var n="",r=e.prepareGetValue(t),a=[],l=kn(t),u=t.parser,f=u?yN(u):null,d=0;d<l.length;d++){var h=l[d];if(!(h==="parser"||e.valueGetterAttrMap.get(h))){var p=yu($z,h)?$z[h]:h,m=t[h],S=f?f(m):m,_=X$(p,S)||p==="reg"&&new QX(S);_||(process.env.NODE_ENV!=="production"&&(n=na('Illegal relational operation: "'+h+'" in condition:',t)),Ht(n)),a.push(_)}}a.length||(process.env.NODE_ENV!=="production"&&(n=na("Relational condition must have at least one operator.","Illegal condition:",t)),Ht(n));var x=new tq;return x.valueGetterParam=r,x.valueParser=f,x.getValue=e.getValue,x.subCondList=a,x}function Yz(t){return it(t)&&!Ai(t)}var iq=function(){function t(e,n){this._cond=vE(e,n)}return t.prototype.evaluate=function(){return this._cond.evaluate()},t}();function aq(t,e){return new iq(t,e)}var oq={type:"echarts:filter",transform:function(t){for(var e=t.upstream,n,r=aq(t.config,{valueGetterAttrMap:xt({dimension:!0}),prepareGetValue:function(f){var d="",h=f.dimension;yu(f,"dimension")||(process.env.NODE_ENV!=="production"&&(d=na('Relation condition must has prop "dimension" specified.',"Illegal condition:",f)),Ht(d));var p=e.getDimensionInfo(h);return p||(process.env.NODE_ENV!=="production"&&(d=na("Can not find dimension info via: "+h+`.
213
- `,"Existing dimensions: ",e.cloneAllDimensionInfo(),`.
214
- `,"Illegal condition:",f,`.
215
- `)),Ht(d)),{dimIdx:p.index}},getValue:function(f){return e.retrieveValueFromItem(n,f.dimIdx)}}),a=[],l=0,u=e.count();l<u;l++)n=e.getRawDataItem(l),r.evaluate()&&a.push(n);return{data:a}}},hE="";process.env.NODE_ENV!=="production"&&(hE=["Valid config is like:",'{ dimension: "age", order: "asc" }','or [{ dimension: "age", order: "asc"], { dimension: "date", order: "desc" }]'].join(" "));var lq={type:"echarts:sort",transform:function(t){var e=t.upstream,n=t.config,r="",a=rr(n);a.length||(process.env.NODE_ENV!=="production"&&(r="Empty `config` in sort transform."),Ht(r));var l=[];W(a,function(p){var m=p.dimension,S=p.order,_=p.parser,x=p.incomparable;if(m==null&&(process.env.NODE_ENV!=="production"&&(r='Sort transform config must has "dimension" specified.'+hE),Ht(r)),S!=="asc"&&S!=="desc"&&(process.env.NODE_ENV!=="production"&&(r='Sort transform config must has "order" specified.'+hE),Ht(r)),x&&x!=="min"&&x!=="max"){var E="";process.env.NODE_ENV!=="production"&&(E='incomparable must be "min" or "max" rather than "'+x+'".'),Ht(E)}if(S!=="asc"&&S!=="desc"){var b="";process.env.NODE_ENV!=="production"&&(b='order must be "asc" or "desc" rather than "'+S+'".'),Ht(b)}var D=e.getDimensionInfo(m);D||(process.env.NODE_ENV!=="production"&&(r=na("Can not find dimension info via: "+m+`.
216
- `,"Existing dimensions: ",e.cloneAllDimensionInfo(),`.
217
- `,"Illegal config:",p,`.
218
- `)),Ht(r));var A=_?yN(_):null;_&&!A&&(process.env.NODE_ENV!=="production"&&(r=na("Invalid parser name "+_+`.
219
- `,"Illegal config:",p,`.
220
- `)),Ht(r)),l.push({dimIdx:D.index,parser:A,comparator:new SN(S,x)})});var u=e.sourceFormat;u!==ki&&u!==Fo&&(process.env.NODE_ENV!=="production"&&(r='sourceFormat "'+u+'" is not supported yet'),Ht(r));for(var f=[],d=0,h=e.count();d<h;d++)f.push(e.getRawDataItem(d));return f.sort(function(p,m){for(var S=0;S<l.length;S++){var _=l[S],x=e.retrieveValueFromItem(p,_.dimIdx),E=e.retrieveValueFromItem(m,_.dimIdx);_.parser&&(x=_.parser(x),E=_.parser(E));var b=_.comparator.evaluate(x,E);if(b!==0)return b}return 0}),{data:f}}};function uq(t){t.registerTransform(oq),t.registerTransform(lq)}var sq=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type="dataset",n}return e.prototype.init=function(n,r,a){t.prototype.init.call(this,n,r,a),this._sourceManager=new EN(this),DN(this)},e.prototype.mergeOption=function(n,r){t.prototype.mergeOption.call(this,n,r),DN(this)},e.prototype.optionUpdated=function(){this._sourceManager.dirty()},e.prototype.getSourceManager=function(){return this._sourceManager},e.type="dataset",e.defaultOption={seriesLayoutBy:Al},e}(En),fq=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type="dataset",n}return e.type="dataset",e}(Du);function cq(t){t.registerComponentModel(sq),t.registerComponentView(fq)}var Ll=As.CMD;function kv(t,e){return Math.abs(t-e)<1e-5}function pE(t){var e=t.data,n=t.len(),r=[],a,l=0,u=0,f=0,d=0;function h(J,ie){a&&a.length>2&&r.push(a),a=[J,ie]}function p(J,ie,ce,fe){kv(J,ce)&&kv(ie,fe)||a.push(J,ie,ce,fe,ce,fe)}function m(J,ie,ce,fe,Ne,ae){var ge=Math.abs(ie-J),pe=Math.tan(ge/4)*4/3,Le=ie<J?-1:1,Ge=Math.cos(J),St=Math.sin(J),It=Math.cos(ie),Dn=Math.sin(ie),Xt=Ge*Ne+ce,Mn=St*ae+fe,on=It*Ne+ce,zt=Dn*ae+fe,Ft=Ne*pe*Le,$e=ae*pe*Le;a.push(Xt-Ft*St,Mn+$e*Ge,on+Ft*Dn,zt-$e*It,on,zt)}for(var S,_,x,E,b=0;b<n;){var D=e[b++],A=b===1;switch(A&&(l=e[b],u=e[b+1],f=l,d=u,(D===Ll.L||D===Ll.C||D===Ll.Q)&&(a=[f,d])),D){case Ll.M:l=f=e[b++],u=d=e[b++],h(f,d);break;case Ll.L:S=e[b++],_=e[b++],p(l,u,S,_),l=S,u=_;break;case Ll.C:a.push(e[b++],e[b++],e[b++],e[b++],l=e[b++],u=e[b++]);break;case Ll.Q:S=e[b++],_=e[b++],x=e[b++],E=e[b++],a.push(l+2/3*(S-l),u+2/3*(_-u),x+2/3*(S-x),E+2/3*(_-E),x,E),l=x,u=E;break;case Ll.A:var O=e[b++],P=e[b++],I=e[b++],F=e[b++],U=e[b++],H=e[b++]+U;b+=1;var j=!e[b++];S=Math.cos(U)*I+O,_=Math.sin(U)*F+P,A?(f=S,d=_,h(f,d)):p(l,u,S,_),l=Math.cos(H)*I+O,u=Math.sin(H)*F+P;for(var X=(j?-1:1)*Math.PI/2,G=U;j?G>H:G<H;G+=X){var ee=j?Math.max(G+X,H):Math.min(G+X,H);m(G,ee,O,P,I,F)}break;case Ll.R:f=l=e[b++],d=u=e[b++],S=f+e[b++],_=d+e[b++],h(S,d),p(S,d,S,_),p(S,_,f,_),p(f,_,f,d),p(f,d,S,d);break;case Ll.Z:a&&p(l,u,f,d),l=f,u=d;break}}return a&&a.length>2&&r.push(a),r}function gE(t,e,n,r,a,l,u,f,d,h){if(kv(t,n)&&kv(e,r)&&kv(a,u)&&kv(l,f)){d.push(u,f);return}var p=2/h,m=p*p,S=u-t,_=f-e,x=Math.sqrt(S*S+_*_);S/=x,_/=x;var E=n-t,b=r-e,D=a-u,A=l-f,O=E*E+b*b,P=D*D+A*A;if(O<m&&P<m){d.push(u,f);return}var I=S*E+_*b,F=-S*D-_*A,U=O-I*I,H=P-F*F;if(U<m&&I>=0&&H<m&&F>=0){d.push(u,f);return}var j=[],X=[];Es(t,n,a,u,.5,j),Es(e,r,l,f,.5,X),gE(j[0],X[0],j[1],X[1],j[2],X[2],j[3],X[3],d,h),gE(j[4],X[4],j[5],X[5],j[6],X[6],j[7],X[7],d,h)}function dq(t,e){var n=pE(t),r=[];e=e||1;for(var a=0;a<n.length;a++){var l=n[a],u=[],f=l[0],d=l[1];u.push(f,d);for(var h=2;h<l.length;){var p=l[h++],m=l[h++],S=l[h++],_=l[h++],x=l[h++],E=l[h++];gE(f,d,p,m,S,_,x,E,u,e),f=x,d=E}r.push(u)}return r}function Wz(t,e,n){var r=t[e],a=t[1-e],l=Math.abs(r/a),u=Math.ceil(Math.sqrt(l*n)),f=Math.floor(n/u);f===0&&(f=1,u=n);for(var d=[],h=0;h<u;h++)d.push(f);var p=u*f,m=n-p;if(m>0)for(var h=0;h<m;h++)d[h%u]+=1;return d}function Xz(t,e,n){for(var r=t.r0,a=t.r,l=t.startAngle,u=t.endAngle,f=Math.abs(u-l),d=f*a,h=a-r,p=d>Math.abs(h),m=Wz([d,h],p?0:1,e),S=(p?f:h)/m.length,_=0;_<m.length;_++)for(var x=(p?h:f)/m[_],E=0;E<m[_];E++){var b={};p?(b.startAngle=l+S*_,b.endAngle=l+S*(_+1),b.r0=r+x*E,b.r=r+x*(E+1)):(b.startAngle=l+x*E,b.endAngle=l+x*(E+1),b.r0=r+S*_,b.r=r+S*(_+1)),b.clockwise=t.clockwise,b.cx=t.cx,b.cy=t.cy,n.push(b)}}function vq(t,e,n){for(var r=t.width,a=t.height,l=r>a,u=Wz([r,a],l?0:1,e),f=l?"width":"height",d=l?"height":"width",h=l?"x":"y",p=l?"y":"x",m=t[f]/u.length,S=0;S<u.length;S++)for(var _=t[d]/u[S],x=0;x<u[S];x++){var E={};E[h]=S*m,E[p]=x*_,E[f]=m,E[d]=_,E.x+=t.x,E.y+=t.y,n.push(E)}}function qz(t,e,n,r){return t*r-n*e}function hq(t,e,n,r,a,l,u,f){var d=n-t,h=r-e,p=u-a,m=f-l,S=qz(p,m,d,h);if(Math.abs(S)<1e-6)return null;var _=t-a,x=e-l,E=qz(_,x,p,m)/S;return E<0||E>1?null:new ht(E*d+t,E*h+e)}function pq(t,e,n){var r=new ht;ht.sub(r,n,e),r.normalize();var a=new ht;ht.sub(a,t,e);var l=a.dot(r);return l}function Nv(t,e){var n=t[t.length-1];n&&n[0]===e[0]&&n[1]===e[1]||t.push(e)}function gq(t,e,n){for(var r=t.length,a=[],l=0;l<r;l++){var u=t[l],f=t[(l+1)%r],d=hq(u[0],u[1],f[0],f[1],e.x,e.y,n.x,n.y);d&&a.push({projPt:pq(d,e,n),pt:d,idx:l})}if(a.length<2)return[{points:t},{points:t}];a.sort(function(b,D){return b.projPt-D.projPt});var h=a[0],p=a[a.length-1];if(p.idx<h.idx){var m=h;h=p,p=m}for(var S=[h.pt.x,h.pt.y],_=[p.pt.x,p.pt.y],x=[S],E=[_],l=h.idx+1;l<=p.idx;l++)Nv(x,t[l].slice());Nv(x,_),Nv(x,S);for(var l=p.idx+1;l<=h.idx+r;l++)Nv(E,t[l%r].slice());return Nv(E,S),Nv(E,_),[{points:x},{points:E}]}function Qz(t){var e=t.points,n=[],r=[];FO(e,n,r);var a=new Wt(n[0],n[1],r[0]-n[0],r[1]-n[1]),l=a.width,u=a.height,f=a.x,d=a.y,h=new ht,p=new ht;return l>u?(h.x=p.x=f+l/2,h.y=d,p.y=d+u):(h.y=p.y=d+u/2,h.x=f,p.x=f+l),gq(e,h,p)}function v1(t,e,n,r){if(n===1)r.push(e);else{var a=Math.floor(n/2),l=t(e);v1(t,l[0],a,r),v1(t,l[1],n-a,r)}return r}function mq(t,e){for(var n=[],r=0;r<e;r++)n.push(yT(t));return n}function yq(t,e){e.setStyle(t.style),e.z=t.z,e.z2=t.z2,e.zlevel=t.zlevel}function _q(t){for(var e=[],n=0;n<t.length;)e.push([t[n++],t[n++]]);return e}function Sq(t,e){var n=[],r=t.shape,a;switch(t.type){case"rect":vq(r,e,n),a=Kr;break;case"sector":Xz(r,e,n),a=dc;break;case"circle":Xz({r0:0,r:r.r,startAngle:0,endAngle:Math.PI*2,cx:r.cx,cy:r.cy},e,n),a=dc;break;default:var l=t.getComputedTransform(),u=l?Math.sqrt(Math.max(l[0]*l[0]+l[1]*l[1],l[2]*l[2]+l[3]*l[3])):1,f=ot(dq(t.getUpdatedPathProxy(),u),function(D){return _q(D)}),d=f.length;if(d===0)v1(Qz,{points:f[0]},e,n);else if(d===e)for(var h=0;h<d;h++)n.push({points:f[h]});else{var p=0,m=ot(f,function(D){var A=[],O=[];FO(D,A,O);var P=(O[1]-A[1])*(O[0]-A[0]);return p+=P,{poly:D,area:P}});m.sort(function(D,A){return A.area-D.area});for(var S=e,h=0;h<d;h++){var _=m[h];if(S<=0)break;var x=h===d-1?S:Math.ceil(_.area/p*e);x<0||(v1(Qz,{points:_.poly},x,n),S-=x)}}a=CT;break}if(!a)return mq(t,e);for(var E=[],h=0;h<n.length;h++){var b=new a;b.setShape(n[h]),yq(t,b),E.push(b)}return E}function Cq(t,e){var n=t.length,r=e.length;if(n===r)return[t,e];for(var a=[],l=[],u=n<r?t:e,f=Math.min(n,r),d=Math.abs(r-n)/6,h=(f-2)/6,p=Math.ceil(d/h)+1,m=[u[0],u[1]],S=d,_=2;_<f;){var x=u[_-2],E=u[_-1],b=u[_++],D=u[_++],A=u[_++],O=u[_++],P=u[_++],I=u[_++];if(S<=0){m.push(b,D,A,O,P,I);continue}for(var F=Math.min(S,p-1)+1,U=1;U<=F;U++){var H=U/F;Es(x,b,A,P,H,a),Es(E,D,O,I,H,l),x=a[3],E=l[3],m.push(a[1],l[1],a[2],l[2],x,E),b=a[5],D=l[5],A=a[6],O=l[6]}S-=F-1}return u===t?[m,e]:[t,m]}function Zz(t,e){for(var n=t.length,r=t[n-2],a=t[n-1],l=[],u=0;u<e.length;)l[u++]=r,l[u++]=a;return l}function wq(t,e){for(var n,r,a,l=[],u=[],f=0;f<Math.max(t.length,e.length);f++){var d=t[f],h=e[f],p=void 0,m=void 0;d?h?(n=Cq(d,h),p=n[0],m=n[1],r=p,a=m):(m=Zz(a||d,d),p=d):(p=Zz(r||h,h),m=h),l.push(p),u.push(m)}return[l,u]}function Kz(t){for(var e=0,n=0,r=0,a=t.length,l=0,u=a-2;l<a;u=l,l+=2){var f=t[u],d=t[u+1],h=t[l],p=t[l+1],m=f*p-h*d;e+=m,n+=(f+h)*m,r+=(d+p)*m}return e===0?[t[0]||0,t[1]||0]:[n/e/3,r/e/3,e]}function xq(t,e,n,r){for(var a=(t.length-2)/6,l=1/0,u=0,f=t.length,d=f-2,h=0;h<a;h++){for(var p=h*6,m=0,S=0;S<f;S+=2){var _=S===0?p:(p+S-2)%d+2,x=t[_]-n[0],E=t[_+1]-n[1],b=e[S]-r[0],D=e[S+1]-r[1],A=b-x,O=D-E;m+=A*A+O*O}m<l&&(l=m,u=h)}return u}function Tq(t){for(var e=[],n=t.length,r=0;r<n;r+=2)e[r]=t[n-r-2],e[r+1]=t[n-r-1];return e}function bq(t,e,n,r){for(var a=[],l,u=0;u<t.length;u++){var f=t[u],d=e[u],h=Kz(f),p=Kz(d);l==null&&(l=h[2]<0!=p[2]<0);var m=[],S=[],_=0,x=1/0,E=[],b=f.length;l&&(f=Tq(f));for(var D=xq(f,d,h,p)*6,A=b-2,O=0;O<A;O+=2){var P=(D+O)%A+2;m[O+2]=f[P]-h[0],m[O+3]=f[P+1]-h[1]}if(m[0]=f[D]-h[0],m[1]=f[D+1]-h[1],n>0)for(var I=r/n,F=-r/2;F<=r/2;F+=I){for(var U=Math.sin(F),H=Math.cos(F),j=0,O=0;O<f.length;O+=2){var X=m[O],G=m[O+1],ee=d[O]-p[0],J=d[O+1]-p[1],ie=ee*H-J*U,ce=ee*U+J*H;E[O]=ie,E[O+1]=ce;var fe=ie-X,Ne=ce-G;j+=fe*fe+Ne*Ne}if(j<x){x=j,_=F;for(var ae=0;ae<E.length;ae++)S[ae]=E[ae]}}else for(var ge=0;ge<b;ge+=2)S[ge]=d[ge]-p[0],S[ge+1]=d[ge+1]-p[1];a.push({from:m,to:S,fromCp:h,toCp:p,rotation:-_})}return a}function h1(t){return t.__isCombineMorphing}var Jz="__mOriginal_";function p1(t,e,n){var r=Jz+e,a=t[r]||t[e];t[r]||(t[r]=t[e]);var l=n.replace,u=n.after,f=n.before;t[e]=function(){var d=arguments,h;return f&&f.apply(this,d),l?h=l.apply(this,d):h=a.apply(this,d),u&&u.apply(this,d),h}}function Qg(t,e){var n=Jz+e;t[n]&&(t[e]=t[n],t[n]=null)}function eF(t,e){for(var n=0;n<t.length;n++)for(var r=t[n],a=0;a<r.length;){var l=r[a],u=r[a+1];r[a++]=e[0]*l+e[2]*u+e[4],r[a++]=e[1]*l+e[3]*u+e[5]}}function tF(t,e){var n=t.getUpdatedPathProxy(),r=e.getUpdatedPathProxy(),a=wq(pE(n),pE(r)),l=a[0],u=a[1],f=t.getComputedTransform(),d=e.getComputedTransform();function h(){this.transform=null}f&&eF(l,f),d&&eF(u,d),p1(e,"updateTransform",{replace:h}),e.transform=null;var p=bq(l,u,10,Math.PI),m=[];p1(e,"buildPath",{replace:function(S){for(var _=e.__morphT,x=1-_,E=[],b=0;b<p.length;b++){var D=p[b],A=D.from,O=D.to,P=D.rotation*_,I=D.fromCp,F=D.toCp,U=Math.sin(P),H=Math.cos(P);M0(E,I,F,_);for(var j=0;j<A.length;j+=2){var X=A[j],G=A[j+1],ee=O[j],J=O[j+1],ie=X*x+ee*_,ce=G*x+J*_;m[j]=ie*H-ce*U+E[0],m[j+1]=ie*U+ce*H+E[1]}var fe=m[0],Ne=m[1];S.moveTo(fe,Ne);for(var j=2;j<A.length;){var ee=m[j++],J=m[j++],ae=m[j++],ge=m[j++],pe=m[j++],Le=m[j++];fe===ee&&Ne===J&&ae===pe&&ge===Le?S.lineTo(pe,Le):S.bezierCurveTo(ee,J,ae,ge,pe,Le),fe=pe,Ne=Le}}}})}function mE(t,e,n){if(!t||!e)return e;var r=n.done,a=n.during;tF(t,e),e.__morphT=0;function l(){Qg(e,"buildPath"),Qg(e,"updateTransform"),e.__morphT=-1,e.createPathProxy(),e.dirtyShape()}return e.animateTo({__morphT:1},Vt({during:function(u){e.dirtyShape(),a&&a(u)},done:function(){l(),r&&r()}},n)),e}function Eq(t,e,n,r,a,l){var u=16;t=a===n?0:Math.round(32767*(t-n)/(a-n)),e=l===r?0:Math.round(32767*(e-r)/(l-r));for(var f=0,d,h=(1<<u)/2;h>0;h/=2){var p=0,m=0;(t&h)>0&&(p=1),(e&h)>0&&(m=1),f+=h*h*(3*p^m),m===0&&(p===1&&(t=h-1-t,e=h-1-e),d=t,t=e,e=d)}return f}function g1(t){var e=1/0,n=1/0,r=-1/0,a=-1/0,l=ot(t,function(f){var d=f.getBoundingRect(),h=f.getComputedTransform(),p=d.x+d.width/2+(h?h[4]:0),m=d.y+d.height/2+(h?h[5]:0);return e=Math.min(p,e),n=Math.min(m,n),r=Math.max(p,r),a=Math.max(m,a),[p,m]}),u=ot(l,function(f,d){return{cp:f,z:Eq(f[0],f[1],e,n,r,a),path:t[d]}});return u.sort(function(f,d){return f.z-d.z}).map(function(f){return f.path})}function nF(t){return Sq(t.path,t.count)}function yE(){return{fromIndividuals:[],toIndividuals:[],count:0}}function Dq(t,e,n){var r=[];function a(I){for(var F=0;F<I.length;F++){var U=I[F];h1(U)?a(U.childrenRef()):U instanceof Gt&&r.push(U)}}a(t);var l=r.length;if(!l)return yE();var u=n.dividePath||nF,f=u({path:e,count:l});if(f.length!==l)return console.error("Invalid morphing: unmatched splitted path"),yE();r=g1(r),f=g1(f);for(var d=n.done,h=n.during,p=n.individualDelay,m=new Kp,S=0;S<l;S++){var _=r[S],x=f[S];x.parent=e,x.copyTransform(m),p||tF(_,x)}e.__isCombineMorphing=!0,e.childrenRef=function(){return f};function E(I){for(var F=0;F<f.length;F++)f[F].addSelfToZr(I)}p1(e,"addSelfToZr",{after:function(I){E(I)}}),p1(e,"removeSelfFromZr",{after:function(I){for(var F=0;F<f.length;F++)f[F].removeSelfFromZr(I)}});function b(){e.__isCombineMorphing=!1,e.__morphT=-1,e.childrenRef=null,Qg(e,"addSelfToZr"),Qg(e,"removeSelfFromZr")}var D=f.length;if(p)for(var A=D,O=function(){A--,A===0&&(b(),d&&d())},S=0;S<D;S++){var P=p?Vt({delay:(n.delay||0)+p(S,D,r[S],f[S]),done:O},n):n;mE(r[S],f[S],P)}else e.__morphT=0,e.animateTo({__morphT:1},Vt({during:function(I){for(var F=0;F<D;F++){var U=f[F];U.__morphT=e.__morphT,U.dirtyShape()}h&&h(I)},done:function(){b();for(var I=0;I<t.length;I++)Qg(t[I],"updateTransform");d&&d()}},n));return e.__zr&&E(e.__zr),{fromIndividuals:r,toIndividuals:f,count:D}}function Mq(t,e,n){var r=e.length,a=[],l=n.dividePath||nF;function u(_){for(var x=0;x<_.length;x++){var E=_[x];h1(E)?u(E.childrenRef()):E instanceof Gt&&a.push(E)}}if(h1(t)){u(t.childrenRef());var f=a.length;if(f<r)for(var d=0,h=f;h<r;h++)a.push(yT(a[d++%f]));a.length=r}else{a=l({path:t,count:r});for(var p=t.getComputedTransform(),h=0;h<a.length;h++)a[h].setLocalTransform(p);if(a.length!==r)return console.error("Invalid morphing: unmatched splitted path"),yE()}a=g1(a),e=g1(e);for(var m=n.individualDelay,h=0;h<r;h++){var S=m?Vt({delay:(n.delay||0)+m(h,r,a[h],e[h])},n):n;mE(a[h],e[h],S)}return{fromIndividuals:a,toIndividuals:e,count:e.length}}function rF(t){return Be(t[0])}function iF(t,e){for(var n=[],r=t.length,a=0;a<r;a++)n.push({one:t[a],many:[]});for(var a=0;a<e.length;a++){var l=e[a].length,u=void 0;for(u=0;u<l;u++)n[u%r].many.push(e[a][u])}for(var f=0,a=r-1;a>=0;a--)if(!n[a].many.length){var d=n[f].many;if(d.length<=1)if(f)f=0;else return n;var l=d.length,h=Math.ceil(l/2);n[a].many=d.slice(h,l),n[f].many=d.slice(0,h),f++}return n}var Rq={clone:function(t){for(var e=[],n=1-Math.pow(1-t.path.style.opacity,1/t.count),r=0;r<t.count;r++){var a=yT(t.path);a.setStyle("opacity",n),e.push(a)}return e},split:null};function _E(t,e,n,r,a,l){if(!t.length||!e.length)return;var u=h_("update",r,a);if(!(u&&u.duration>0))return;var f=r.getModel("universalTransition").get("delay"),d=Object.assign({setToFinal:!0},u),h,p;rF(t)&&(h=t,p=e),rF(e)&&(h=e,p=t);function m(D,A,O,P,I){var F=D.many,U=D.one;if(F.length===1&&!I){var H=A?F[0]:U,j=A?U:F[0];if(h1(H))m({many:[H],one:j},!0,O,P,!0);else{var X=f?Vt({delay:f(O,P)},d):d;mE(H,j,X),l(H,j,H,j,X)}}else for(var G=Vt({dividePath:Rq[n],individualDelay:f&&function(Ne,ae,ge,pe){return f(Ne+O,P)}},d),ee=A?Dq(F,U,G):Mq(U,F,G),J=ee.fromIndividuals,ie=ee.toIndividuals,ce=J.length,fe=0;fe<ce;fe++){var X=f?Vt({delay:f(fe,ce)},d):d;l(J[fe],ie[fe],A?F[fe]:D.one,A?D.one:F[fe],X)}}for(var S=h?h===t:t.length>e.length,_=h?iF(p,h):iF(S?e:t,[S?t:e]),x=0,E=0;E<_.length;E++)x+=_[E].many.length;for(var b=0,E=0;E<_.length;E++)m(_[E],S,b,x),b+=_[E].many.length}function Lc(t){if(!t)return[];if(Be(t)){for(var e=[],n=0;n<t.length;n++)e.push(Lc(t[n]));return e}var r=[];return t.traverse(function(a){a instanceof Gt&&!a.disableMorphing&&!a.invisible&&!a.ignore&&r.push(a)}),r}var aF=1e4,Aq=jn();function Lq(t){for(var e=t.dimensions,n=0;n<e.length;n++){var r=t.getDimensionInfo(e[n]);if(r&&r.otherDims.itemGroupId===0)return e[n]}}function oF(t){var e=[];return W(t,function(n){var r=n.data;if(r.count()>aF){process.env.NODE_ENV!=="production"&&Fr("Universal transition is disabled on large data > 10k.");return}for(var a=r.getIndices(),l=Lq(r),u=0;u<a.length;u++)e.push({dataGroupId:n.dataGroupId,data:r,dim:n.dim||l,divide:n.divide,dataIndex:u})}),e}function SE(t,e,n){t.traverse(function(r){r instanceof Gt&&Io(r,{style:{opacity:0}},e,{dataIndex:n,isFrom:!0})})}function CE(t){if(t.parent){var e=t.getComputedTransform();t.setLocalTransform(e),t.parent.remove(t)}}function Pv(t){t.stopAnimation(),t.isGroup&&t.traverse(function(e){e.stopAnimation()})}function Oq(t,e,n){var r=h_("update",n,e);r&&t.traverse(function(a){if(a instanceof sv){var l=uG(a);l&&a.animateFrom({style:l},r)}})}function kq(t,e){var n=t.length;if(n!==e.length)return!1;for(var r=0;r<n;r++){var a=t[r],l=e[r];if(a.data.getId(a.dataIndex)!==l.data.getId(l.dataIndex))return!1}return!0}function lF(t,e,n){var r=oF(t),a=oF(e);function l(D,A,O,P,I){(O||D)&&A.animateFrom({style:O&&O!==D?Re(Re({},O.style),D.style):D.style},I)}function u(D){for(var A=0;A<D.length;A++)if(D[A].dim)return D[A].dim}var f=u(r),d=u(a),h=!1;function p(D,A){return function(O){var P=O.data,I=O.dataIndex;if(A)return P.getId(I);var F=O.dataGroupId,U=D?f||d:d||f,H=U&&P.getDimensionInfo(U),j=H&&H.ordinalMeta;if(H){var X=P.get(H.name,I);return j&&j.categories[X]||X+""}var G=P.getRawDataItem(I);return G&&G.groupId?G.groupId+"":F||P.getId(I)}}var m=kq(r,a),S={};if(!m)for(var _=0;_<a.length;_++){var x=a[_],E=x.data.getItemGraphicEl(x.dataIndex);E&&(S[E.id]=!0)}function b(D,A){var O=r[A],P=a[D],I=P.data.hostModel,F=O.data.getItemGraphicEl(O.dataIndex),U=P.data.getItemGraphicEl(P.dataIndex);if(F===U){U&&Oq(U,P.dataIndex,I);return}F&&S[F.id]||U&&(Pv(U),F?(Pv(F),CE(F),h=!0,_E(Lc(F),Lc(U),P.divide,I,D,l)):SE(U,I,D))}new Nb(r,a,p(!0,m),p(!1,m),null,"multiple").update(b).updateManyToOne(function(D,A){var O=a[D],P=O.data,I=P.hostModel,F=P.getItemGraphicEl(O.dataIndex),U=br(ot(A,function(H){return r[H].data.getItemGraphicEl(r[H].dataIndex)}),function(H){return H&&H!==F&&!S[H.id]});F&&(Pv(F),U.length?(W(U,function(H){Pv(H),CE(H)}),h=!0,_E(Lc(U),Lc(F),O.divide,I,D,l)):SE(F,I,O.dataIndex))}).updateOneToMany(function(D,A){var O=r[A],P=O.data.getItemGraphicEl(O.dataIndex);if(!(P&&S[P.id])){var I=br(ot(D,function(U){return a[U].data.getItemGraphicEl(a[U].dataIndex)}),function(U){return U&&U!==P}),F=a[D[0]].data.hostModel;I.length&&(W(I,function(U){return Pv(U)}),P?(Pv(P),CE(P),h=!0,_E(Lc(P),Lc(I),O.divide,F,D[0],l)):W(I,function(U){return SE(U,F,D[0])}))}}).updateManyToMany(function(D,A){new Nb(A,D,function(O){return r[O].data.getId(r[O].dataIndex)},function(O){return a[O].data.getId(a[O].dataIndex)}).update(function(O,P){b(D[O],A[P])}).execute()}).execute(),h&&W(e,function(D){var A=D.data,O=A.hostModel,P=O&&n.getViewOfSeriesModel(O),I=h_("update",O,0);P&&O.isAnimationEnabled()&&I&&I.duration>0&&P.group.traverse(function(F){F instanceof Gt&&!F.animators.length&&F.animateFrom({style:{opacity:0}},I)})})}function uF(t){var e=t.getModel("universalTransition").get("seriesKey");return e||t.id}function sF(t){return Be(t)?t.sort().join(","):t}function Fs(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function Nq(t,e){var n=xt(),r=xt(),a=xt();W(t.oldSeries,function(u,f){var d=t.oldDataGroupIds[f],h=t.oldData[f],p=uF(u),m=sF(p);r.set(m,{dataGroupId:d,data:h}),Be(p)&&W(p,function(S){a.set(S,{key:m,dataGroupId:d,data:h})})});function l(u){n.get(u)&&Fr("Duplicated seriesKey in universalTransition "+u)}return W(e.updatedSeries,function(u){if(u.isUniversalTransitionEnabled()&&u.isAnimationEnabled()){var f=u.get("dataGroupId"),d=u.getData(),h=uF(u),p=sF(h),m=r.get(p);if(m)process.env.NODE_ENV!=="production"&&l(p),n.set(p,{oldSeries:[{dataGroupId:m.dataGroupId,divide:Fs(m.data),data:m.data}],newSeries:[{dataGroupId:f,divide:Fs(d),data:d}]});else if(Be(h)){process.env.NODE_ENV!=="production"&&l(p);var S=[];W(h,function(E){var b=r.get(E);b.data&&S.push({dataGroupId:b.dataGroupId,divide:Fs(b.data),data:b.data})}),S.length&&n.set(p,{oldSeries:S,newSeries:[{dataGroupId:f,data:d,divide:Fs(d)}]})}else{var _=a.get(h);if(_){var x=n.get(_.key);x||(x={oldSeries:[{dataGroupId:_.dataGroupId,data:_.data,divide:Fs(_.data)}],newSeries:[]},n.set(_.key,x)),x.newSeries.push({dataGroupId:f,data:d,divide:Fs(d)})}}}}),n}function fF(t,e){for(var n=0;n<t.length;n++){var r=e.seriesIndex!=null&&e.seriesIndex===t[n].seriesIndex||e.seriesId!=null&&e.seriesId===t[n].id;if(r)return n}}function Pq(t,e,n,r){var a=[],l=[];W(rr(t.from),function(u){var f=fF(e.oldSeries,u);f>=0&&a.push({dataGroupId:e.oldDataGroupIds[f],data:e.oldData[f],divide:Fs(e.oldData[f]),dim:u.dimension})}),W(rr(t.to),function(u){var f=fF(n.updatedSeries,u);if(f>=0){var d=n.updatedSeries[f].getData();l.push({dataGroupId:e.oldDataGroupIds[f],data:d,divide:Fs(d),dim:u.dimension})}}),a.length>0&&l.length>0&&lF(a,l,r)}function Iq(t){t.registerUpdateLifecycle("series:beforeupdate",function(e,n,r){W(rr(r.seriesTransition),function(a){W(rr(a.to),function(l){for(var u=r.updatedSeries,f=0;f<u.length;f++)(l.seriesIndex!=null&&l.seriesIndex===u[f].seriesIndex||l.seriesId!=null&&l.seriesId===u[f].id)&&(u[f][P_]=!0)})})}),t.registerUpdateLifecycle("series:transition",function(e,n,r){var a=Aq(n);if(a.oldSeries&&r.updatedSeries&&r.optionChanged){var l=r.seriesTransition;if(l)W(rr(l),function(_){Pq(_,a,r,n)});else{var u=Nq(a,r);W(u.keys(),function(_){var x=u.get(_);lF(x.oldSeries,x.newSeries,n)})}W(r.updatedSeries,function(_){_[P_]&&(_[P_]=!1)})}for(var f=e.getSeries(),d=a.oldSeries=[],h=a.oldDataGroupIds=[],p=a.oldData=[],m=0;m<f.length;m++){var S=f[m].getData();S.count()<aF&&(d.push(f[m]),h.push(f[m].get("dataGroupId")),p.push(S))}})}function cF(t,e,n){var r=$f.createCanvas(),a=e.getWidth(),l=e.getHeight(),u=r.style;return u&&(u.position="absolute",u.left="0",u.top="0",u.width=a+"px",u.height=l+"px",r.setAttribute("data-zr-dom-id",t)),r.width=a*n,r.height=l*n,r}var zq=function(t){mn(e,t);function e(n,r,a){var l=t.call(this)||this;l.motionBlur=!1,l.lastFrameAlpha=.7,l.dpr=1,l.virtual=!1,l.config={},l.incremental=!1,l.zlevel=0,l.maxRepaintRectCount=5,l.__dirty=!0,l.__firstTimePaint=!0,l.__used=!1,l.__drawIndex=0,l.__startIndex=0,l.__endIndex=0,l.__prevStartIndex=null,l.__prevEndIndex=null;var u;a=a||W0,typeof n=="string"?u=cF(n,r,a):it(n)&&(u=n,n=u.id),l.id=n,l.dom=u;var f=u.style;return f&&(sL(u),u.onselectstart=function(){return!1},f.padding="0",f.margin="0",f.borderWidth="0"),l.painter=r,l.dpr=a,l}return e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},e.prototype.createBackBuffer=function(){var n=this.dpr;this.domBack=cF("back-"+this.id,this.painter,n),this.ctxBack=this.domBack.getContext("2d"),n!==1&&this.ctxBack.scale(n,n)},e.prototype.createRepaintRects=function(n,r,a,l){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var u=[],f=this.maxRepaintRectCount,d=!1,h=new Wt(0,0,0,0);function p(A){if(!(!A.isFinite()||A.isZero()))if(u.length===0){var O=new Wt(0,0,0,0);O.copy(A),u.push(O)}else{for(var P=!1,I=1/0,F=0,U=0;U<u.length;++U){var H=u[U];if(H.intersect(A)){var j=new Wt(0,0,0,0);j.copy(H),j.union(A),u[U]=j,P=!0;break}else if(d){h.copy(A),h.union(H);var X=A.width*A.height,G=H.width*H.height,ee=h.width*h.height,J=ee-X-G;J<I&&(I=J,F=U)}}if(d&&(u[F].union(A),P=!0),!P){var O=new Wt(0,0,0,0);O.copy(A),u.push(O)}d||(d=u.length>=f)}}for(var m=this.__startIndex;m<this.__endIndex;++m){var S=n[m];if(S){var _=S.shouldBePainted(a,l,!0,!0),x=S.__isRendered&&(S.__dirty&La||!_)?S.getPrevPaintRect():null;x&&p(x);var E=_&&(S.__dirty&La||!S.__isRendered)?S.getPaintRect():null;E&&p(E)}}for(var m=this.__prevStartIndex;m<this.__prevEndIndex;++m){var S=r[m],_=S.shouldBePainted(a,l,!0,!0);if(S&&(!_||!S.__zr)&&S.__isRendered){var x=S.getPrevPaintRect();x&&p(x)}}var b;do{b=!1;for(var m=0;m<u.length;){if(u[m].isZero()){u.splice(m,1);continue}for(var D=m+1;D<u.length;)u[m].intersect(u[D])?(b=!0,u[m].union(u[D]),u.splice(D,1)):D++;m++}}while(b);return this._paintRects=u,u},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(n,r){var a=this.dpr,l=this.dom,u=l.style,f=this.domBack;u&&(u.width=n+"px",u.height=r+"px"),l.width=n*a,l.height=r*a,f&&(f.width=n*a,f.height=r*a,a!==1&&this.ctxBack.scale(a,a))},e.prototype.clear=function(n,r,a){var l=this.dom,u=this.ctx,f=l.width,d=l.height;r=r||this.clearColor;var h=this.motionBlur&&!n,p=this.lastFrameAlpha,m=this.dpr,S=this;h&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(l,0,0,f/m,d/m));var _=this.domBack;function x(E,b,D,A){if(u.clearRect(E,b,D,A),r&&r!=="transparent"){var O=void 0;if(b0(r)){var P=r.global||r.__width===D&&r.__height===A;O=P&&r.__canvasGradient||gb(u,r,{x:0,y:0,width:D,height:A}),r.__canvasGradient=O,r.__width=D,r.__height=A}else aH(r)&&(r.scaleX=r.scaleX||m,r.scaleY=r.scaleY||m,O=mb(u,r,{dirty:function(){S.setUnpainted(),S.__painter.refresh()}}));u.save(),u.fillStyle=O||r,u.fillRect(E,b,D,A),u.restore()}h&&(u.save(),u.globalAlpha=p,u.drawImage(_,E,b,D,A),u.restore())}!a||h?x(0,0,f,d):a.length&&W(a,function(E){x(E.x*m,E.y*m,E.width*m,E.height*m)})},e}(_l);const wE=zq;var dF=1e5,Oc=314159,m1=.01,Fq=.001;function Bq(t){return t?t.__builtin__?!0:!(typeof t.resize!="function"||typeof t.refresh!="function"):!1}function Uq(t,e){var n=document.createElement("div");return n.style.cssText=["position:relative","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",n}var Vq=function(){function t(e,n,r,a){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var l=!e.nodeName||e.nodeName.toUpperCase()==="CANVAS";this._opts=r=Re({},r||{}),this.dpr=r.devicePixelRatio||W0,this._singleCanvas=l,this.root=e;var u=e.style;u&&(sL(e),e.innerHTML=""),this.storage=n;var f=this._zlevelList;this._prevDisplayList=[];var d=this._layers;if(l){var p=e,m=p.width,S=p.height;r.width!=null&&(m=r.width),r.height!=null&&(S=r.height),this.dpr=r.devicePixelRatio||1,p.width=m*this.dpr,p.height=S*this.dpr,this._width=m,this._height=S;var _=new wE(p,this,this.dpr);_.__builtin__=!0,_.initContext(),d[Oc]=_,_.zlevel=Oc,f.push(Oc),this._domRoot=e}else{this._width=H_(e,0,r),this._height=H_(e,1,r);var h=this._domRoot=Uq(this._width,this._height);e.appendChild(h)}}return t.prototype.getType=function(){return"canvas"},t.prototype.isSingleCanvas=function(){return this._singleCanvas},t.prototype.getViewportRoot=function(){return this._domRoot},t.prototype.getViewportRootOffset=function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},t.prototype.refresh=function(e){var n=this.storage.getDisplayList(!0),r=this._prevDisplayList,a=this._zlevelList;this._redrawId=Math.random(),this._paintList(n,r,e,this._redrawId);for(var l=0;l<a.length;l++){var u=a[l],f=this._layers[u];if(!f.__builtin__&&f.refresh){var d=l===0?this._backgroundColor:null;f.refresh(d)}}return this._opts.useDirtyRect&&(this._prevDisplayList=n.slice()),this},t.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},t.prototype._paintHoverList=function(e){var n=e.length,r=this._hoverlayer;if(r&&r.clear(),!!n){for(var a={inHover:!0,viewWidth:this._width,viewHeight:this._height},l,u=0;u<n;u++){var f=e[u];f.__inHover&&(r||(r=this._hoverlayer=this.getLayer(dF)),l||(l=r.ctx,l.save()),xc(l,f,a,u===n-1))}l&&l.restore()}},t.prototype.getHoverLayer=function(){return this.getLayer(dF)},t.prototype.paintOne=function(e,n){yP(e,n)},t.prototype._paintList=function(e,n,r,a){if(this._redrawId===a){r=r||!1,this._updateLayerStatus(e);var l=this._doPaintList(e,n,r),u=l.finished,f=l.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),f&&this._paintHoverList(e),u)this.eachLayer(function(h){h.afterBrush&&h.afterBrush()});else{var d=this;cx(function(){d._paintList(e,n,r,a)})}}},t.prototype._compositeManually=function(){var e=this.getLayer(Oc).ctx,n=this._domRoot.width,r=this._domRoot.height;e.clearRect(0,0,n,r),this.eachBuiltinLayer(function(a){a.virtual&&e.drawImage(a.dom,0,0,n,r)})},t.prototype._doPaintList=function(e,n,r){for(var a=this,l=[],u=this._opts.useDirtyRect,f=0;f<this._zlevelList.length;f++){var d=this._zlevelList[f],h=this._layers[d];h.__builtin__&&h!==this._hoverlayer&&(h.__dirty||r)&&l.push(h)}for(var p=!0,m=!1,S=function(E){var b=l[E],D=b.ctx,A=u&&b.createRepaintRects(e,n,_._width,_._height),O=r?b.__startIndex:b.__drawIndex,P=!r&&b.incremental&&Date.now,I=P&&Date.now(),F=b.zlevel===_._zlevelList[0]?_._backgroundColor:null;if(b.__startIndex===b.__endIndex)b.clear(!1,F,A);else if(O===b.__startIndex){var U=e[O];(!U.incremental||!U.notClear||r)&&b.clear(!1,F,A)}O===-1&&(console.error("For some unknown reason. drawIndex is -1"),O=b.__startIndex);var H,j=function(J){var ie={inHover:!1,allClipped:!1,prevEl:null,viewWidth:a._width,viewHeight:a._height};for(H=O;H<b.__endIndex;H++){var ce=e[H];if(ce.__inHover&&(m=!0),a._doPaintEl(ce,b,u,J,ie,H===b.__endIndex-1),P){var fe=Date.now()-I;if(fe>15)break}}ie.prevElClipPaths&&D.restore()};if(A)if(A.length===0)H=b.__endIndex;else for(var X=_.dpr,G=0;G<A.length;++G){var ee=A[G];D.save(),D.beginPath(),D.rect(ee.x*X,ee.y*X,ee.width*X,ee.height*X),D.clip(),j(ee),D.restore()}else D.save(),j(),D.restore();b.__drawIndex=H,b.__drawIndex<b.__endIndex&&(p=!1)},_=this,x=0;x<l.length;x++)S(x);return Tt.wxa&&W(this._layers,function(E){E&&E.ctx&&E.ctx.draw&&E.ctx.draw()}),{finished:p,needsRefreshHover:m}},t.prototype._doPaintEl=function(e,n,r,a,l,u){var f=n.ctx;if(r){var d=e.getPaintRect();(!a||d&&d.intersect(a))&&(xc(f,e,l,u),e.setPrevPaintRect(d))}else xc(f,e,l,u)},t.prototype.getLayer=function(e,n){this._singleCanvas&&!this._needsManuallyCompositing&&(e=Oc);var r=this._layers[e];return r||(r=new wE("zr_"+e,this,this.dpr),r.zlevel=e,r.__builtin__=!0,this._layerConfig[e]?cn(r,this._layerConfig[e],!0):this._layerConfig[e-m1]&&cn(r,this._layerConfig[e-m1],!0),n&&(r.virtual=n),this.insertLayer(e,r),r.initContext()),r},t.prototype.insertLayer=function(e,n){var r=this._layers,a=this._zlevelList,l=a.length,u=this._domRoot,f=null,d=-1;if(r[e]){process.env.NODE_ENV!=="production"&&jf("ZLevel "+e+" has been used already");return}if(!Bq(n)){process.env.NODE_ENV!=="production"&&jf("Layer of zlevel "+e+" is not valid");return}if(l>0&&e>a[0]){for(d=0;d<l-1&&!(a[d]<e&&a[d+1]>e);d++);f=r[a[d]]}if(a.splice(d+1,0,e),r[e]=n,!n.virtual)if(f){var h=f.dom;h.nextSibling?u.insertBefore(n.dom,h.nextSibling):u.appendChild(n.dom)}else u.firstChild?u.insertBefore(n.dom,u.firstChild):u.appendChild(n.dom);n.__painter=this},t.prototype.eachLayer=function(e,n){for(var r=this._zlevelList,a=0;a<r.length;a++){var l=r[a];e.call(n,this._layers[l],l)}},t.prototype.eachBuiltinLayer=function(e,n){for(var r=this._zlevelList,a=0;a<r.length;a++){var l=r[a],u=this._layers[l];u.__builtin__&&e.call(n,u,l)}},t.prototype.eachOtherLayer=function(e,n){for(var r=this._zlevelList,a=0;a<r.length;a++){var l=r[a],u=this._layers[l];u.__builtin__||e.call(n,u,l)}},t.prototype.getLayers=function(){return this._layers},t.prototype._updateLayerStatus=function(e){this.eachBuiltinLayer(function(m,S){m.__dirty=m.__used=!1});function n(m){l&&(l.__endIndex!==m&&(l.__dirty=!0),l.__endIndex=m)}if(this._singleCanvas)for(var r=1;r<e.length;r++){var a=e[r];if(a.zlevel!==e[r-1].zlevel||a.incremental){this._needsManuallyCompositing=!0;break}}var l=null,u=0,f,d;for(d=0;d<e.length;d++){var a=e[d],h=a.zlevel,p=void 0;f!==h&&(f=h,u=0),a.incremental?(p=this.getLayer(h+Fq,this._needsManuallyCompositing),p.incremental=!0,u=1):p=this.getLayer(h+(u>0?m1:0),this._needsManuallyCompositing),p.__builtin__||jf("ZLevel "+h+" has been used by unkown layer "+p.id),p!==l&&(p.__used=!0,p.__startIndex!==d&&(p.__dirty=!0),p.__startIndex=d,p.incremental?p.__drawIndex=-1:p.__drawIndex=d,n(d),l=p),a.__dirty&La&&!a.__inHover&&(p.__dirty=!0,p.incremental&&p.__drawIndex<0&&(p.__drawIndex=d))}n(d),this.eachBuiltinLayer(function(m,S){!m.__used&&m.getElementCount()>0&&(m.__dirty=!0,m.__startIndex=m.__endIndex=m.__drawIndex=0),m.__dirty&&m.__drawIndex<0&&(m.__drawIndex=m.__startIndex)})},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(e){e.clear()},t.prototype.setBackgroundColor=function(e){this._backgroundColor=e,W(this._layers,function(n){n.setUnpainted()})},t.prototype.configLayer=function(e,n){if(n){var r=this._layerConfig;r[e]?cn(r[e],n,!0):r[e]=n;for(var a=0;a<this._zlevelList.length;a++){var l=this._zlevelList[a];if(l===e||l===e+m1){var u=this._layers[l];cn(u,r[e],!0)}}}},t.prototype.delLayer=function(e){var n=this._layers,r=this._zlevelList,a=n[e];a&&(a.dom.parentNode.removeChild(a.dom),delete n[e],r.splice(dn(r,e),1))},t.prototype.resize=function(e,n){if(this._domRoot.style){var r=this._domRoot;r.style.display="none";var a=this._opts,l=this.root;if(e!=null&&(a.width=e),n!=null&&(a.height=n),e=H_(l,0,a),n=H_(l,1,a),r.style.display="",this._width!==e||n!==this._height){r.style.width=e+"px",r.style.height=n+"px";for(var u in this._layers)this._layers.hasOwnProperty(u)&&this._layers[u].resize(e,n);this.refresh(!0)}this._width=e,this._height=n}else{if(e==null||n==null)return;this._width=e,this._height=n,this.getLayer(Oc).resize(e,n)}return this},t.prototype.clearLayer=function(e){var n=this._layers[e];n&&n.clear()},t.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},t.prototype.getRenderedCanvas=function(e){if(e=e||{},this._singleCanvas&&!this._compositeManually)return this._layers[Oc].dom;var n=new wE("image",this,e.pixelRatio||this.dpr);n.initContext(),n.clear(!1,e.backgroundColor||this._backgroundColor);var r=n.ctx;if(e.pixelRatio<=this.dpr){this.refresh();var a=n.dom.width,l=n.dom.height;this.eachLayer(function(m){m.__builtin__?r.drawImage(m.dom,0,0,a,l):m.renderToCanvas&&(r.save(),m.renderToCanvas(r),r.restore())})}else for(var u={inHover:!1,viewWidth:this._width,viewHeight:this._height},f=this.storage.getDisplayList(!0),d=0,h=f.length;d<h;d++){var p=f[d];xc(r,p,u,d===h-1)}return n.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t}();const Hq=Vq;function Gq(t){t.registerPainter("canvas",Hq)}const $q={main:"_main_5reof_1"};$g([qX,YX,xX,cq,uq,cW,BY,Iq,Gq]);const jq=t=>{const e=ft.useRef(null),n=ft.useRef(null),r=ft.useRef(null);ft.useEffect(()=>(e.current&&n.current&&(r.current=new ResizeObserver(u=>{for(const f of u)f.target===e.current&&l()}),r.current.observe(e.current)),()=>{var u;e.current&&((u=r.current)==null||u.unobserve(e.current)),r.current=null}),[e.current,n.current]),ft.useEffect(()=>{e.current&&!n.current&&(n.current=j7(e.current))},[e.current]),ft.useEffect(()=>{n.current&&e.current&&n.current.setOption(t.option)},[n.current]);const a=()=>{n.current&&n.current.resize()},{run:l}=fU.useDebounceFn(a,{wait:300});return ze("div",{ref:e,className:$q.main})},Yq={editableCellValueWrap:"_editableCellValueWrap_upig9_1"},vF=ft.createContext(null),Wq=({index:t,...e})=>{const[n]=vt.Form.useForm();return ze(vt.Form,{form:n,component:!1,children:ze(vF.Provider,{value:n,children:ze("tr",{...e})})})};function Xq(t){const{title:e,editable:n,children:r,dataIndex:a,record:l,rules:u,onChange:f,type:d="input",valueProps:h,...p}=t,m=ft.useRef(null),S=ft.useContext(vF),_=async()=>{try{const b=await S.validateFields();f({...l,...b})}catch(b){console.log("Save failed:",b)}},x=()=>ze(JA,{valueType:d,valueProps:{...h,onBlur:_,onPressEnter:_},inputRef:m});let E=r;return n&&(E=ze(vt.Form.Item,{style:{margin:0},initialValue:l[a],name:a,rules:u,children:x()})),ze("td",{children:E})}function qq(t){const{columns:e,onChange:n,...r}=t,a={body:{row:Wq,cell:Xq}},l=e==null?void 0:e.map(u=>u.editable?{...u,onCell:f=>({...u,record:f,onChange:n})}:u);return ze(vt.Table,{...r,components:a,rowClassName:()=>Yq.editableRow,columns:l})}function xE(){return xE=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},xE.apply(this,arguments)}var TE={exports:{}},rn={};var hF;function Qq(){if(hF)return rn;hF=1;var t=typeof Symbol=="function"&&Symbol.for,e=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,r=t?Symbol.for("react.fragment"):60107,a=t?Symbol.for("react.strict_mode"):60108,l=t?Symbol.for("react.profiler"):60114,u=t?Symbol.for("react.provider"):60109,f=t?Symbol.for("react.context"):60110,d=t?Symbol.for("react.async_mode"):60111,h=t?Symbol.for("react.concurrent_mode"):60111,p=t?Symbol.for("react.forward_ref"):60112,m=t?Symbol.for("react.suspense"):60113,S=t?Symbol.for("react.suspense_list"):60120,_=t?Symbol.for("react.memo"):60115,x=t?Symbol.for("react.lazy"):60116,E=t?Symbol.for("react.block"):60121,b=t?Symbol.for("react.fundamental"):60117,D=t?Symbol.for("react.responder"):60118,A=t?Symbol.for("react.scope"):60119;function O(I){if(typeof I=="object"&&I!==null){var F=I.$$typeof;switch(F){case e:switch(I=I.type,I){case d:case h:case r:case l:case a:case m:return I;default:switch(I=I&&I.$$typeof,I){case f:case p:case x:case _:case u:return I;default:return F}}case n:return F}}}function P(I){return O(I)===h}return rn.AsyncMode=d,rn.ConcurrentMode=h,rn.ContextConsumer=f,rn.ContextProvider=u,rn.Element=e,rn.ForwardRef=p,rn.Fragment=r,rn.Lazy=x,rn.Memo=_,rn.Portal=n,rn.Profiler=l,rn.StrictMode=a,rn.Suspense=m,rn.isAsyncMode=function(I){return P(I)||O(I)===d},rn.isConcurrentMode=P,rn.isContextConsumer=function(I){return O(I)===f},rn.isContextProvider=function(I){return O(I)===u},rn.isElement=function(I){return typeof I=="object"&&I!==null&&I.$$typeof===e},rn.isForwardRef=function(I){return O(I)===p},rn.isFragment=function(I){return O(I)===r},rn.isLazy=function(I){return O(I)===x},rn.isMemo=function(I){return O(I)===_},rn.isPortal=function(I){return O(I)===n},rn.isProfiler=function(I){return O(I)===l},rn.isStrictMode=function(I){return O(I)===a},rn.isSuspense=function(I){return O(I)===m},rn.isValidElementType=function(I){return typeof I=="string"||typeof I=="function"||I===r||I===h||I===l||I===a||I===m||I===S||typeof I=="object"&&I!==null&&(I.$$typeof===x||I.$$typeof===_||I.$$typeof===u||I.$$typeof===f||I.$$typeof===p||I.$$typeof===b||I.$$typeof===D||I.$$typeof===A||I.$$typeof===E)},rn.typeOf=O,rn}var an={};var pF;function Zq(){return pF||(pF=1,process.env.NODE_ENV!=="production"&&function(){var t=typeof Symbol=="function"&&Symbol.for,e=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,r=t?Symbol.for("react.fragment"):60107,a=t?Symbol.for("react.strict_mode"):60108,l=t?Symbol.for("react.profiler"):60114,u=t?Symbol.for("react.provider"):60109,f=t?Symbol.for("react.context"):60110,d=t?Symbol.for("react.async_mode"):60111,h=t?Symbol.for("react.concurrent_mode"):60111,p=t?Symbol.for("react.forward_ref"):60112,m=t?Symbol.for("react.suspense"):60113,S=t?Symbol.for("react.suspense_list"):60120,_=t?Symbol.for("react.memo"):60115,x=t?Symbol.for("react.lazy"):60116,E=t?Symbol.for("react.block"):60121,b=t?Symbol.for("react.fundamental"):60117,D=t?Symbol.for("react.responder"):60118,A=t?Symbol.for("react.scope"):60119;function O(Se){return typeof Se=="string"||typeof Se=="function"||Se===r||Se===h||Se===l||Se===a||Se===m||Se===S||typeof Se=="object"&&Se!==null&&(Se.$$typeof===x||Se.$$typeof===_||Se.$$typeof===u||Se.$$typeof===f||Se.$$typeof===p||Se.$$typeof===b||Se.$$typeof===D||Se.$$typeof===A||Se.$$typeof===E)}function P(Se){if(typeof Se=="object"&&Se!==null){var Zt=Se.$$typeof;switch(Zt){case e:var Et=Se.type;switch(Et){case d:case h:case r:case l:case a:case m:return Et;default:var Pn=Et&&Et.$$typeof;switch(Pn){case f:case p:case x:case _:case u:return Pn;default:return Zt}}case n:return Zt}}}var I=d,F=h,U=f,H=u,j=e,X=p,G=r,ee=x,J=_,ie=n,ce=l,fe=a,Ne=m,ae=!1;function ge(Se){return ae||(ae=!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.")),pe(Se)||P(Se)===d}function pe(Se){return P(Se)===h}function Le(Se){return P(Se)===f}function Ge(Se){return P(Se)===u}function St(Se){return typeof Se=="object"&&Se!==null&&Se.$$typeof===e}function It(Se){return P(Se)===p}function Dn(Se){return P(Se)===r}function Xt(Se){return P(Se)===x}function Mn(Se){return P(Se)===_}function on(Se){return P(Se)===n}function zt(Se){return P(Se)===l}function Ft(Se){return P(Se)===a}function $e(Se){return P(Se)===m}an.AsyncMode=I,an.ConcurrentMode=F,an.ContextConsumer=U,an.ContextProvider=H,an.Element=j,an.ForwardRef=X,an.Fragment=G,an.Lazy=ee,an.Memo=J,an.Portal=ie,an.Profiler=ce,an.StrictMode=fe,an.Suspense=Ne,an.isAsyncMode=ge,an.isConcurrentMode=pe,an.isContextConsumer=Le,an.isContextProvider=Ge,an.isElement=St,an.isForwardRef=It,an.isFragment=Dn,an.isLazy=Xt,an.isMemo=Mn,an.isPortal=on,an.isProfiler=zt,an.isStrictMode=Ft,an.isSuspense=$e,an.isValidElementType=O,an.typeOf=P}()),an}(function(t){process.env.NODE_ENV==="production"?t.exports=Qq():t.exports=Zq()})(TE);function bE(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[];return ft.Children.forEach(t,function(r){r==null&&!e.keepEmpty||(Array.isArray(r)?n=n.concat(bE(r)):TE.exports.isFragment(r)&&r.props?n=n.concat(bE(r.props.children,e)):n.push(r))}),n}function Kq(t,e){typeof t=="function"?t(e):gu(t)==="object"&&t&&"current"in t&&(t.current=e)}function Jq(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e.filter(function(a){return a});return r.length<=1?r[0]:function(a){e.forEach(function(l){Kq(l,a)})}}function eQ(t){var e,n,r=TE.exports.isMemo(t)?t.type.type:t.type;return!(typeof r=="function"&&!(!((e=r.prototype)===null||e===void 0)&&e.render)||typeof t=="function"&&!(!((n=t.prototype)===null||n===void 0)&&n.render))}function gF(t){return t instanceof HTMLElement?t:qA.findDOMNode(t)}var mF=function(){if(typeof Map<"u")return Map;function t(e,n){var r=-1;return e.some(function(a,l){return a[0]===n?(r=l,!0):!1}),r}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(n){var r=t(this.__entries__,n),a=this.__entries__[r];return a&&a[1]},e.prototype.set=function(n,r){var a=t(this.__entries__,n);~a?this.__entries__[a][1]=r:this.__entries__.push([n,r])},e.prototype.delete=function(n){var r=this.__entries__,a=t(r,n);~a&&r.splice(a,1)},e.prototype.has=function(n){return!!~t(this.__entries__,n)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(n,r){r===void 0&&(r=null);for(var a=0,l=this.__entries__;a<l.length;a++){var u=l[a];n.call(r,u[1],u[0])}},e}()}(),EE=typeof window<"u"&&typeof document<"u"&&window.document===document,y1=function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),tQ=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(y1):function(t){return setTimeout(function(){return t(Date.now())},1e3/60)}}(),nQ=2;function rQ(t,e){var n=!1,r=!1,a=0;function l(){n&&(n=!1,t()),r&&f()}function u(){tQ(l)}function f(){var d=Date.now();if(n){if(d-a<nQ)return;r=!0}else n=!0,r=!1,setTimeout(u,e);a=d}return f}var iQ=20,aQ=["top","right","bottom","left","width","height","size","weight"],oQ=typeof MutationObserver<"u",lQ=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=rQ(this.refresh.bind(this),iQ)}return t.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},t.prototype.removeObserver=function(e){var n=this.observers_,r=n.indexOf(e);~r&&n.splice(r,1),!n.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){var e=this.updateObservers_();e&&this.refresh()},t.prototype.updateObservers_=function(){var e=this.observers_.filter(function(n){return n.gatherActive(),n.hasActive()});return e.forEach(function(n){return n.broadcastActive()}),e.length>0},t.prototype.connect_=function(){!EE||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),oQ?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){!EE||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(e){var n=e.propertyName,r=n===void 0?"":n,a=aQ.some(function(l){return!!~r.indexOf(l)});a&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),yF=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var a=r[n];Object.defineProperty(t,a,{value:e[a],enumerable:!1,writable:!1,configurable:!0})}return t},Iv=function(t){var e=t&&t.ownerDocument&&t.ownerDocument.defaultView;return e||y1},_F=S1(0,0,0,0);function _1(t){return parseFloat(t)||0}function SF(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce(function(r,a){var l=t["border-"+a+"-width"];return r+_1(l)},0)}function uQ(t){for(var e=["top","right","bottom","left"],n={},r=0,a=e;r<a.length;r++){var l=a[r],u=t["padding-"+l];n[l]=_1(u)}return n}function sQ(t){var e=t.getBBox();return S1(0,0,e.width,e.height)}function fQ(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return _F;var r=Iv(t).getComputedStyle(t),a=uQ(r),l=a.left+a.right,u=a.top+a.bottom,f=_1(r.width),d=_1(r.height);if(r.boxSizing==="border-box"&&(Math.round(f+l)!==e&&(f-=SF(r,"left","right")+l),Math.round(d+u)!==n&&(d-=SF(r,"top","bottom")+u)),!dQ(t)){var h=Math.round(f+l)-e,p=Math.round(d+u)-n;Math.abs(h)!==1&&(f-=h),Math.abs(p)!==1&&(d-=p)}return S1(a.left,a.top,f,d)}var cQ=function(){return typeof SVGGraphicsElement<"u"?function(t){return t instanceof Iv(t).SVGGraphicsElement}:function(t){return t instanceof Iv(t).SVGElement&&typeof t.getBBox=="function"}}();function dQ(t){return t===Iv(t).document.documentElement}function vQ(t){return EE?cQ(t)?sQ(t):fQ(t):_F}function hQ(t){var e=t.x,n=t.y,r=t.width,a=t.height,l=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,u=Object.create(l.prototype);return yF(u,{x:e,y:n,width:r,height:a,top:n,right:e+r,bottom:a+n,left:e}),u}function S1(t,e,n,r){return{x:t,y:e,width:n,height:r}}var pQ=function(){function t(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=S1(0,0,0,0),this.target=e}return t.prototype.isActive=function(){var e=vQ(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},t}(),gQ=function(){function t(e,n){var r=hQ(n);yF(this,{target:e,contentRect:r})}return t}(),mQ=function(){function t(e,n,r){if(this.activeObservations_=[],this.observations_=new mF,typeof e!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=n,this.callbackCtx_=r}return t.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(e instanceof Iv(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(e)||(n.set(e,new pQ(e)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(e instanceof Iv(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(e)&&(n.delete(e),n.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&e.activeObservations_.push(n)})},t.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,n=this.activeObservations_.map(function(r){return new gQ(r.target,r.broadcastRect())});this.callback_.call(e,n,e),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),CF=typeof WeakMap<"u"?new WeakMap:new mF,wF=function(){function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=lQ.getInstance(),r=new mQ(e,n,this);CF.set(this,r)}return t}();["observe","unobserve","disconnect"].forEach(function(t){wF.prototype[t]=function(){var e;return(e=CF.get(this))[t].apply(e,arguments)}});var yQ=function(){return typeof y1.ResizeObserver<"u"?y1.ResizeObserver:wF}(),Au=new Map;function xF(t){t.forEach(function(e){var n,r=e.target;(n=Au.get(r))===null||n===void 0||n.forEach(function(a){return a(r)})})}var TF=new yQ(xF);process.env.NODE_ENV,process.env.NODE_ENV;function _Q(t,e){Au.has(t)||(Au.set(t,new Set),TF.observe(t)),Au.get(t).add(e)}function SQ(t,e){Au.has(t)&&(Au.get(t).delete(e),Au.get(t).size||(TF.unobserve(t),Au.delete(t)))}function CQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bF(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,fA(r.key),r)}}function wQ(t,e,n){return e&&bF(t.prototype,e),n&&bF(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function DE(t,e){return DE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},DE(t,e)}function xQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&DE(t,e)}function C1(t){return C1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},C1(t)}function TQ(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function bQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function EQ(t,e){if(e&&(gu(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return bQ(t)}function DQ(t){var e=TQ();return function(){var r=C1(t),a;if(e){var l=C1(this).constructor;a=Reflect.construct(r,arguments,l)}else a=r.apply(this,arguments);return EQ(this,a)}}var MQ=function(t){xQ(n,t);var e=DQ(n);function n(){return CQ(this,n),e.apply(this,arguments)}return wQ(n,[{key:"render",value:function(){return this.props.children}}]),n}(Nt.Component),ME=Nt.createContext(null);function RQ(t){var e=t.children,n=t.onBatchResize,r=Nt.useRef(0),a=Nt.useRef([]),l=Nt.useContext(ME),u=Nt.useCallback(function(f,d,h){r.current+=1;var p=r.current;a.current.push({size:f,element:d,data:h}),Promise.resolve().then(function(){p===r.current&&(n==null||n(a.current),a.current=[])}),l==null||l(f,d,h)},[n,l]);return Nt.createElement(ME.Provider,{value:u},e)}function AQ(t){var e=t.children,n=t.disabled,r=Nt.useRef(null),a=Nt.useRef(null),l=Nt.useContext(ME),u=typeof e=="function",f=u?e(r):e,d=Nt.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),h=!u&&Nt.isValidElement(f)&&eQ(f),p=h?f.ref:null,m=Nt.useMemo(function(){return Jq(p,r)},[p,r]),S=Nt.useRef(t);S.current=t;var _=Nt.useCallback(function(x){var E=S.current,b=E.onResize,D=E.data,A=x.getBoundingClientRect(),O=A.width,P=A.height,I=x.offsetWidth,F=x.offsetHeight,U=Math.floor(O),H=Math.floor(P);if(d.current.width!==U||d.current.height!==H||d.current.offsetWidth!==I||d.current.offsetHeight!==F){var j={width:U,height:H,offsetWidth:I,offsetHeight:F};d.current=j;var X=I===Math.round(O)?O:I,G=F===Math.round(P)?P:F,ee=$n($n({},j),{},{offsetWidth:X,offsetHeight:G});l==null||l(ee,x,D),b&&Promise.resolve().then(function(){b(ee,x)})}},[]);return Nt.useEffect(function(){var x=gF(r.current)||gF(a.current);return x&&!n&&_Q(x,_),function(){return SQ(x,_)}},[r.current,n]),Nt.createElement(MQ,{ref:a},h?Nt.cloneElement(f,{ref:m}):f)}var LQ="rc-observer-key";function EF(t){var e=t.children,n=typeof e=="function"?[e]:bE(e);return process.env.NODE_ENV!=="production"&&(n.length>1?Aw(!1,"Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead."):n.length===0&&Aw(!1,"`children` of ResizeObserver is empty. Nothing is in observe.")),n.map(function(r,a){var l=(r==null?void 0:r.key)||"".concat(LQ,"-").concat(a);return Nt.createElement(AQ,xE({},t,{key:l}),r)})}EF.Collection=RQ;const zv={grid:"_grid_ou9xs_1",cell:"_cell_ou9xs_1",editBox:"_editBox_ou9xs_7",editForm:"_editForm_ou9xs_16"};function OQ(t){const{columns:e,scroll:n,onChange:r,...a}=t,[l,u]=ft.useState(0),f=e.filter(({width:_})=>!_).length,d=e.map(_=>_.width?_:{..._,width:Math.floor(l/f)}),h=ft.useRef(),[p]=ft.useState(()=>{const _={};return Object.defineProperty(_,"scrollLeft",{get:()=>{var x,E;return h.current?(E=(x=h.current)==null?void 0:x.state)==null?void 0:E.scrollLeft:null},set:x=>{h.current&&h.current.scrollTo({scrollLeft:x})}}),_}),m=()=>{var _;(_=h.current)==null||_.resetAfterIndices({columnIndex:0,shouldForceUpdate:!0})};ft.useEffect(()=>m,[l]);const S=(_,{scrollbarSize:x,ref:E,onScroll:b})=>{E.current=p;const D=_.length*54;return ze(cU.VariableSizeGrid,{ref:h,className:zv.grid,columnCount:d.length,columnWidth:A=>{const{width:O}=d[A];return D>n.y&&A===d.length-1?O-x-1:O},height:n.y,rowCount:_.length,rowHeight:()=>54,width:l,onScroll:({scrollLeft:A})=>{b({scrollLeft:A})},children:({columnIndex:A,rowIndex:O,style:P})=>ze("div",{className:Hd(zv.cell,{[zv.cellLast]:A===d.length-1}),style:P,children:ze(kQ,{data:_[O],onChange:r,column:d[A]})})})};return ze(EF,{onResize:({width:_})=>{u(_)},children:ze(vt.Table,{...a,className:zv.table,columns:d,scroll:n,pagination:!1,components:{body:S}})})}function kQ(t){const{column:e,data:n,onChange:r}=t,[a,l]=ft.useState(!1),u=ft.useRef(null),[f]=vt.Form.useForm();ft.useEffect(()=>{a&&u.current.focus()},[a]);const d=async()=>{try{const m=await f.validateFields();h(),r&&r({...n,...m})}catch(m){console.log("Save failed:",m)}},h=()=>{l(!a),e.dataIndex&&f.setFieldsValue({[e.dataIndex]:n[e.dataIndex]})};let p=n[e.dataIndex];return e.editable&&(p=a?ze(vt.Form,{form:f,className:zv.editForm,children:ze(vt.Form.Item,{style:{margin:0},name:e.dataIndex,rules:e.rules,children:ze(vt.Input,{ref:u,onPressEnter:d,onBlur:d,...e.inputProps})})}):ze("div",{className:zv.editBox,onClick:h,children:n[e.dataIndex]})),ze(h0,{children:p})}const Er={main:"_main_17ruh_1",item:"_item_17ruh_5",tail:"_tail_17ruh_10",node:"_node_17ruh_29",content:"_content_17ruh_40",collpase:"_collpase_17ruh_45",btn:"_btn_17ruh_57",title:"_title_17ruh_65",dateWrapper:"_dateWrapper_17ruh_71",remark:"_remark_17ruh_78",itemActive:"_itemActive_17ruh_89",itemDone:"_itemDone_17ruh_102",itemUnDo:"_itemUnDo_17ruh_108"},NQ=t=>{const{data:e,current:n}=t,[r,a]=ft.useState(!1),l=ft.useMemo(()=>!n||e.length===0?0:e.findIndex(h=>h.PNId===n),[n,e]),u=ft.useMemo(()=>l>1?r?0:l-1:0,[l,r]),f=()=>{a(!0)};return Tr("ul",{className:Er.main,children:[l>1&&!r&&Tr("li",{className:Hd(Er.item,Er.itemDone),children:[ze("div",{className:Er.tail}),ze("div",{className:Er.node}),ze("div",{className:Er.content,children:Tr("div",{className:Er.collpase,children:[Tr("div",{children:["已收起",ze("span",{children:l-1}),"个节点"]}),Tr("a",{className:Er.btn,onClick:f,children:["展开节点",ze(fV,{})]})]})})]}),e.slice(u).map((d,h)=>Tr("li",{className:Hd(Er.item,l===h+u?Er.itemActive:l>h+u?Er.itemDone:Er.itemUnDo),children:[ze("div",{className:Er.tail}),ze("div",{className:Er.node}),Tr("div",{className:Er.content,children:[ze("div",{className:Er.title,children:d.PNName}),Tr("div",{className:Er.dateWrapper,children:[d.PlanFinishDate&&Tr("span",{children:["预计完成时间: ",d.PlanFinishDate]}),d.UpdateTime&&Tr("span",{style:{color:"#333",fontWeight:"bold"},children:["实际完成时间: ",d.UpdateTime]}),r&&l-1===h&&Tr("a",{className:Er.btn,onClick:()=>a(!1),children:["收起节点 ",ze(gV,{})]})]}),d.Remark&&ze("div",{className:Er.remark,children:d.Remark})]})]},d.PNId))]})},PQ=t=>{const{current:e,data:n,...r}=t;return(()=>{vt.Modal.info({icon:null,title:"流程节点",width:700,content:ze(NQ,{current:e,data:n}),closable:!0,footer:null,maskClosable:!0,...r})})(),null},IQ=(t,e)=>{const n=new URL(t),r=new URL(e);return n.protocol===r.protocol&&n.host===r.host&&n.port===r.port},zQ=t=>{const e=new URL(t).href.split("/");return e[e.length-1]},FQ=t=>{var n;return(n=t.headers.get("content-disposition"))==null?void 0:n.split(";")[1].split("=")[1]},BQ=(t,e)=>{const n=e||zQ(t);if(IQ(t,window.location.href)){RE(t,n);return}let r=e;fetch(t,{method:"get"}).then(a=>(r||(r=FQ(a)),a.blob())).then(a=>{DF(a,r||n)}).catch(()=>{RE(t,"")})},DF=(t,e)=>{let n=window.URL.createObjectURL(t);const r=window.navigator;if(r.msSaveOrOpenBlob){r.msSaveOrOpenBlob(t,e);return}RE(n,e),window.URL.revokeObjectURL(n)},RE=(t,e)=>{let n=document.createElement("a");n.style.display="none",n.href=t,n.target="_blank",n.download=e,document.body.appendChild(n),n.click(),document.body.removeChild(n)},UQ=Object.freeze(Object.defineProperty({__proto__:null,downloadUrl:BQ,downloadBlob:DF},Symbol.toStringTag,{value:"Module"}));class VQ{constructor(e){uU(this,"options",{id:"",canvasId:"verifyCanvas",width:100,height:30,type:"blend",code:""});this.options=e}GVerify(){this.options.numArr="0,1,2,3,4,5,6,7,8,9".split(","),this.options.letterArr=this.getAllLetter(),this._init(),this.refresh()}_init(){const e=document.getElementById(this.options.id),n=document.createElement("canvas");n.id=this.options.canvasId,n.width=Number(this.options.width),n.height=Number(this.options.height),n.style.cursor="pointer",n.innerHTML="您的浏览器版本不支持canvas",e&&e.appendChild(n),n.onclick=()=>{this.refresh()}}refresh(){this.options.code="";const e=document.getElementById(this.options.canvasId);let n,r=[];if(e.getContext)n=e.getContext("2d");else return;n.textBaseline="middle",n.fillStyle=this.randomColor(180,240),n.fillRect(0,0,this.options.width,this.options.height),this.options.type=="blend"?r=this.options.numArr.concat(this.options.letterArr):this.options.type=="number"?r=this.options.numArr:r=this.options.letterArr;for(let a=1;a<=4;a++){const l=r[this.randomNum(0,r.length)];this.options.code+=l,n.font="20px SimHei",n.fillStyle=this.randomColor(50,160),n.shadowBlur=this.randomNum(-3,3),n.shadowColor="rgba(0, 0, 0, 0.3)";const u=Number(this.options.width)/5*a,f=Number(this.options.height)/2,d=this.randomNum(-30,30);n.translate(u,f),n.rotate(d*Math.PI/180),n.fillText(l,0,0),n.rotate(-d*Math.PI/180),n.translate(-u,-f)}for(let a=0;a<2;a++)n.strokeStyle=this.randomColor(40,180),n.beginPath(),n.moveTo(this.randomNum(0,Number(this.options.width)/2),this.randomNum(0,Number(this.options.height)/2)),n.lineTo(this.randomNum(0,Number(this.options.width)/2),this.randomNum(0,Number(this.options.height))),n.stroke();for(let a=0;a<Number(this.options.width)/10;a++)n.fillStyle=this.randomColor(0,255),n.beginPath(),n.arc(this.randomNum(0,this.options.width),this.randomNum(0,this.options.height),1,0,2*Math.PI),n.fill()}validate(e){const n=e.toLowerCase(),r=this.options.code.toLowerCase();return n==r}getAllLetter(){return"a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z".split(",")}randomNum(e,n){return Math.floor(Math.random()*(n-e)+e)}randomColor(e,n){const r=this.randomNum(e,n),a=this.randomNum(e,n),l=this.randomNum(e,n);return"rgb("+r+","+a+","+l+")"}}const HQ=Object.freeze(Object.defineProperty({__proto__:null,getGVerify:VQ},Symbol.toStringTag,{value:"Module"}));fn.BackHeader=wV,fn.CreateForm=KA,fn.Echarts=jq,fn.EditTable=qq,fn.SearchTable=GV,fn.UploadFile=ZA,fn.VirtualTable=OQ,fn.download=UQ,fn.fileType=xV,fn.showWorkFlow=PQ,fn.utils=kV,fn.verfyCode=HQ,Object.defineProperty(fn,Symbol.toStringTag,{value:"Module"})});