szld-libs 0.0.21 → 0.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/style.css +1 -1
- package/dist/szld-components.es.js +13643 -34046
- package/dist/szld-components.umd.js +56 -85
- package/es/index.js +1 -2
- package/es/main.d.ts +1 -2
- package/es/main.js +10 -12
- package/lib/index.js +1 -2
- package/lib/main.d.ts +1 -2
- package/lib/main.js +0 -2
- package/package.json +4 -6
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
(function(
|
|
2
|
-
`+
|
|
3
|
-
`),
|
|
4
|
-
`),
|
|
5
|
-
`+
|
|
1
|
+
(function(kt,Ke){typeof exports=="object"&&typeof module<"u"?Ke(exports,require("react"),require("antd"),require("react-router-dom"),require("lodash"),require("react-window")):typeof define=="function"&&define.amd?define(["exports","react","antd","react-router-dom","lodash","react-window"],Ke):(kt=typeof globalThis<"u"?globalThis:kt||self,Ke(kt.ReactComponents={},kt.React,kt.antd,kt["react-router-dom"],kt.lodash,kt["react-window"]))})(this,function(kt,Ke,Ye,aR,Of,iR){"use strict";var bN=Object.defineProperty;var TN=(kt,Ke,Ye)=>Ke in kt?bN(kt,Ke,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):kt[Ke]=Ye;var rR=(kt,Ke,Ye)=>(TN(kt,typeof Ke!="symbol"?Ke+"":Ke,Ye),Ye);function lR(f){const m=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(f){for(const p in f)if(p!=="default"){const C=Object.getOwnPropertyDescriptor(f,p);Object.defineProperty(m,p,C.get?C:{enumerable:!0,get:()=>f[p]})}}return m.default=f,Object.freeze(m)}const ct=lR(Ke);function oR(f){return f&&f.__esModule&&Object.prototype.hasOwnProperty.call(f,"default")?f.default:f}var Kp={exports:{}},Mf={};var v1;function uR(){if(v1)return Mf;v1=1;var f=Ke,m=Symbol.for("react.element"),p=Symbol.for("react.fragment"),C=Object.prototype.hasOwnProperty,R=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,M={key:!0,ref:!0,__self:!0,__source:!0};function S(I,O,j){var ee,W={},ne=null,Q=null;j!==void 0&&(ne=""+j),O.key!==void 0&&(ne=""+O.key),O.ref!==void 0&&(Q=O.ref);for(ee in O)C.call(O,ee)&&!M.hasOwnProperty(ee)&&(W[ee]=O[ee]);if(I&&I.defaultProps)for(ee in O=I.defaultProps,O)W[ee]===void 0&&(W[ee]=O[ee]);return{$$typeof:m,type:I,key:ne,ref:Q,props:W,_owner:R.current}}return Mf.Fragment=p,Mf.jsx=S,Mf.jsxs=S,Mf}var Nf={};var h1;function sR(){return h1||(h1=1,process.env.NODE_ENV!=="production"&&function(){var f=Ke,m=Symbol.for("react.element"),p=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),R=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),S=Symbol.for("react.provider"),I=Symbol.for("react.context"),O=Symbol.for("react.forward_ref"),j=Symbol.for("react.suspense"),ee=Symbol.for("react.suspense_list"),W=Symbol.for("react.memo"),ne=Symbol.for("react.lazy"),Q=Symbol.for("react.offscreen"),oe=Symbol.iterator,He="@@iterator";function Ee(w){if(w===null||typeof w!="object")return null;var X=oe&&w[oe]||w[He];return typeof X=="function"?X:null}var it=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function Ae(w){{for(var X=arguments.length,le=new Array(X>1?X-1:0),Oe=1;Oe<X;Oe++)le[Oe-1]=arguments[Oe];he("error",w,le)}}function he(w,X,le){{var Oe=it.ReactDebugCurrentFrame,qe=Oe.getStackAddendum();qe!==""&&(X+="%s",le=le.concat([qe]));var dt=le.map(function(Xe){return String(Xe)});dt.unshift("Warning: "+X),Function.prototype.apply.call(console[w],console,dt)}}var Ne=!1,Y=!1,at=!1,$e=!1,Kt=!1,an;an=Symbol.for("react.module.reference");function zt(w){return!!(typeof w=="string"||typeof w=="function"||w===C||w===M||Kt||w===R||w===j||w===ee||$e||w===Q||Ne||Y||at||typeof w=="object"&&w!==null&&(w.$$typeof===ne||w.$$typeof===W||w.$$typeof===S||w.$$typeof===I||w.$$typeof===O||w.$$typeof===an||w.getModuleId!==void 0))}function vt(w,X,le){var Oe=w.displayName;if(Oe)return Oe;var qe=X.displayName||X.name||"";return qe!==""?le+"("+qe+")":le}function Zt(w){return w.displayName||"Context"}function Ve(w){if(w==null)return null;if(typeof w.tag=="number"&&Ae("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof w=="function")return w.displayName||w.name||null;if(typeof w=="string")return w;switch(w){case C:return"Fragment";case p:return"Portal";case M:return"Profiler";case R:return"StrictMode";case j:return"Suspense";case ee:return"SuspenseList"}if(typeof w=="object")switch(w.$$typeof){case I:var X=w;return Zt(X)+".Consumer";case S:var le=w;return Zt(le._context)+".Provider";case O:return vt(w,w.render,"ForwardRef");case W:var Oe=w.displayName||null;return Oe!==null?Oe:Ve(w.type)||"Memo";case ne:{var qe=w,dt=qe._payload,Xe=qe._init;try{return Ve(Xe(dt))}catch{return null}}}return null}var et=Object.assign,dn=0,Dt,Vn,te,xe,ue,st,ft;function Cn(){}Cn.__reactDisabledLog=!0;function Bn(){{if(dn===0){Dt=console.log,Vn=console.info,te=console.warn,xe=console.error,ue=console.group,st=console.groupCollapsed,ft=console.groupEnd;var w={configurable:!0,enumerable:!0,value:Cn,writable:!0};Object.defineProperties(console,{info:w,log:w,warn:w,error:w,group:w,groupCollapsed:w,groupEnd:w})}dn++}}function aa(){{if(dn--,dn===0){var w={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:et({},w,{value:Dt}),info:et({},w,{value:Vn}),warn:et({},w,{value:te}),error:et({},w,{value:xe}),group:et({},w,{value:ue}),groupCollapsed:et({},w,{value:st}),groupEnd:et({},w,{value:ft})})}dn<0&&Ae("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ln=it.ReactCurrentDispatcher,Tr;function kn(w,X,le){{if(Tr===void 0)try{throw Error()}catch(qe){var Oe=qe.stack.trim().match(/\n( *(at )?)/);Tr=Oe&&Oe[1]||""}return`
|
|
2
|
+
`+Tr+w}}var er=!1,ia;{var tr=typeof WeakMap=="function"?WeakMap:Map;ia=new tr}function me(w,X){if(!w||er)return"";{var le=ia.get(w);if(le!==void 0)return le}var Oe;er=!0;var qe=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var dt;dt=ln.current,ln.current=null,Bn();try{if(X){var Xe=function(){throw Error()};if(Object.defineProperty(Xe.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Xe,[])}catch(ht){Oe=ht}Reflect.construct(w,[],Xe)}else{try{Xe.call()}catch(ht){Oe=ht}w.call(Xe.prototype)}}else{try{throw Error()}catch(ht){Oe=ht}w()}}catch(ht){if(ht&&Oe&&typeof ht.stack=="string"){for(var Le=ht.stack.split(`
|
|
3
|
+
`),On=Oe.stack.split(`
|
|
4
|
+
`),Bt=Le.length-1,$t=On.length-1;Bt>=1&&$t>=0&&Le[Bt]!==On[$t];)$t--;for(;Bt>=1&&$t>=0;Bt--,$t--)if(Le[Bt]!==On[$t]){if(Bt!==1||$t!==1)do if(Bt--,$t--,$t<0||Le[Bt]!==On[$t]){var dr=`
|
|
5
|
+
`+Le[Bt].replace(" at new "," at ");return w.displayName&&dr.includes("<anonymous>")&&(dr=dr.replace("<anonymous>",w.displayName)),typeof w=="function"&&ia.set(w,dr),dr}while(Bt>=1&&$t>=0);break}}}finally{er=!1,ln.current=dt,aa(),Error.prepareStackTrace=qe}var Vi=w?w.displayName||w.name:"",Us=Vi?kn(Vi):"";return typeof w=="function"&&ia.set(w,Us),Us}function Jt(w,X,le){return me(w,!1)}function on(w){var X=w.prototype;return!!(X&&X.isReactComponent)}function pn(w,X,le){if(w==null)return"";if(typeof w=="function")return me(w,on(w));if(typeof w=="string")return kn(w);switch(w){case j:return kn("Suspense");case ee:return kn("SuspenseList")}if(typeof w=="object")switch(w.$$typeof){case O:return Jt(w.render);case W:return pn(w.type,X,le);case ne:{var Oe=w,qe=Oe._payload,dt=Oe._init;try{return pn(dt(qe),X,le)}catch{}}}return""}var nr=Object.prototype.hasOwnProperty,rr={},la=it.ReactDebugCurrentFrame;function ka(w){if(w){var X=w._owner,le=pn(w.type,w._source,X?X.type:null);la.setExtraStackFrame(le)}else la.setExtraStackFrame(null)}function si(w,X,le,Oe,qe){{var dt=Function.call.bind(nr);for(var Xe in w)if(dt(w,Xe)){var Le=void 0;try{if(typeof w[Xe]!="function"){var On=Error((Oe||"React class")+": "+le+" type `"+Xe+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof w[Xe]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw On.name="Invariant Violation",On}Le=w[Xe](X,Xe,Oe,le,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Bt){Le=Bt}Le&&!(Le instanceof Error)&&(ka(qe),Ae("%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).",Oe||"React class",le,Xe,typeof Le),ka(null)),Le instanceof Error&&!(Le.message in rr)&&(rr[Le.message]=!0,ka(qe),Ae("Failed %s type: %s",le,Le.message),ka(null))}}}var Ya=Array.isArray;function Da(w){return Ya(w)}function jr(w){{var X=typeof Symbol=="function"&&Symbol.toStringTag,le=X&&w[Symbol.toStringTag]||w.constructor.name||"Object";return le}}function Qa(w){try{return Pr(w),!1}catch{return!0}}function Pr(w){return""+w}function Oa(w){if(Qa(w))return Ae("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",jr(w)),Pr(w)}var vn=it.ReactCurrentOwner,Vr={key:!0,ref:!0,__self:!0,__source:!0},Hi,Ma,ie;ie={};function _e(w){if(nr.call(w,"ref")){var X=Object.getOwnPropertyDescriptor(w,"ref").get;if(X&&X.isReactWarning)return!1}return w.ref!==void 0}function Ze(w){if(nr.call(w,"key")){var X=Object.getOwnPropertyDescriptor(w,"key").get;if(X&&X.isReactWarning)return!1}return w.key!==void 0}function Et(w,X){if(typeof w.ref=="string"&&vn.current&&X&&vn.current.stateNode!==X){var le=Ve(vn.current.type);ie[le]||(Ae('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',Ve(vn.current.type),w.ref),ie[le]=!0)}}function Qt(w,X){{var le=function(){Hi||(Hi=!0,Ae("%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)",X))};le.isReactWarning=!0,Object.defineProperty(w,"key",{get:le,configurable:!0})}}function Dn(w,X){{var le=function(){Ma||(Ma=!0,Ae("%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)",X))};le.isReactWarning=!0,Object.defineProperty(w,"ref",{get:le,configurable:!0})}}var un=function(w,X,le,Oe,qe,dt,Xe){var Le={$$typeof:m,type:w,key:X,ref:le,props:Xe,_owner:dt};return Le._store={},Object.defineProperty(Le._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Le,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Oe}),Object.defineProperty(Le,"_source",{configurable:!1,enumerable:!1,writable:!1,value:qe}),Object.freeze&&(Object.freeze(Le.props),Object.freeze(Le)),Le};function Rr(w,X,le,Oe,qe){{var dt,Xe={},Le=null,On=null;le!==void 0&&(Oa(le),Le=""+le),Ze(X)&&(Oa(X.key),Le=""+X.key),_e(X)&&(On=X.ref,Et(X,qe));for(dt in X)nr.call(X,dt)&&!Vr.hasOwnProperty(dt)&&(Xe[dt]=X[dt]);if(w&&w.defaultProps){var Bt=w.defaultProps;for(dt in Bt)Xe[dt]===void 0&&(Xe[dt]=Bt[dt])}if(Le||On){var $t=typeof w=="function"?w.displayName||w.name||"Unknown":w;Le&&Qt(Xe,$t),On&&Dn(Xe,$t)}return un(w,Le,On,qe,Oe,vn.current,Xe)}}var At=it.ReactCurrentOwner,Br=it.ReactDebugCurrentFrame;function Ot(w){if(w){var X=w._owner,le=pn(w.type,w._source,X?X.type:null);Br.setExtraStackFrame(le)}else Br.setExtraStackFrame(null)}var Ut;Ut=!1;function So(w){return typeof w=="object"&&w!==null&&w.$$typeof===m}function wl(){{if(At.current){var w=Ve(At.current.type);if(w)return`
|
|
6
6
|
|
|
7
|
-
Check the render method of \``+
|
|
7
|
+
Check the render method of \``+w+"`."}return""}}function Co(w){{if(w!==void 0){var X=w.fileName.replace(/^.*[\\\/]/,""),le=w.lineNumber;return`
|
|
8
8
|
|
|
9
|
-
Check your code at `+
|
|
9
|
+
Check your code at `+X+":"+le+"."}return""}}var Eu={};function As(w){{var X=wl();if(!X){var le=typeof w=="string"?w:w.displayName||w.name;le&&(X=`
|
|
10
10
|
|
|
11
|
-
Check the top-level render call using <`+
|
|
12
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function vA(t,e){return _U(t)||SU(t,e)||CU(t,e)||wU()}function xU(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=xU(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){TU(t)&&(t="100%");var n=bU(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 TU(t){return typeof t=="string"&&t.indexOf(".")!==-1&&parseFloat(t)===1}function bU(t){return typeof t=="string"&&t.indexOf("%")!==-1}function EU(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 DU(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 MU(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 RU(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 AU(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 LU(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=NU(t)),typeof t=="object"&&(mu(t.r)&&mu(t.g)&&mu(t.b)?(e=DU(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=AU(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=MU(t.h,r,l),u=!0,f="hsl"),Object.prototype.hasOwnProperty.call(t,"a")&&(n=t.a)),n=EU(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 OU="[-\\+]?\\d+%?",kU="[-\\+]?\\d*\\.\\d+%?",xs="(?:".concat(kU,")|(?:").concat(OU,")"),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 NU(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,PU=.05,IU=.05,zU=.15,_A=5,SA=4,FU=[{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=RU(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(LU(e,n,r,!1))}function BU(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+PU*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+IU*e:r=t.v-zU*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"?FU.map(function(p){var m=p.index,S=p.opacity,_=m0(BU(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 UU(t,e,n){!e&&!bA[n]&&(t(!1,n),bA[n]=!0)}function VU(t,e){UU(Aw,t,e)}function HU(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function GU(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",$U="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):$U}function Ow(t){if(t.attachTo)return t.attachTo;var e=document.querySelector("head");return e||document.body}function jU(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(!HU())return null;var n=e.csp,r=e.prepend,a=document.createElement("style");a.setAttribute(EA,jU(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 YU(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 WU(t,e){var n=Lw.get(t);if(!n||!GU(document,n)){var r=RA("",e),a=r.parentNode;Lw.set(t,a),t.removeChild(r)}}function XU(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=Ow(n);WU(r,n);var a=YU(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 qU(t,e){VU(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?st.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))})):st.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=`
|
|
11
|
+
Check the top-level render call using <`+le+">.")}return X}}function xl(w,X){{if(!w._store||w._store.validated||w.key!=null)return;w._store.validated=!0;var le=As(X);if(Eu[le])return;Eu[le]=!0;var Oe="";w&&w._owner&&w._owner!==At.current&&(Oe=" It was passed a child from "+Ve(w._owner.type)+"."),Ot(w),Ae('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',le,Oe),Ot(null)}}function Eo(w,X){{if(typeof w!="object")return;if(Da(w))for(var le=0;le<w.length;le++){var Oe=w[le];So(Oe)&&xl(Oe,X)}else if(So(w))w._store&&(w._store.validated=!0);else if(w){var qe=Ee(w);if(typeof qe=="function"&&qe!==w.entries)for(var dt=qe.call(w),Xe;!(Xe=dt.next()).done;)So(Xe.value)&&xl(Xe.value,X)}}}function _l(w){{var X=w.type;if(X==null||typeof X=="string")return;var le;if(typeof X=="function")le=X.propTypes;else if(typeof X=="object"&&(X.$$typeof===O||X.$$typeof===W))le=X.propTypes;else return;if(le){var Oe=Ve(X);si(le,w.props,"prop",Oe,w)}else if(X.PropTypes!==void 0&&!Ut){Ut=!0;var qe=Ve(X);Ae("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",qe||"Unknown")}typeof X.getDefaultProps=="function"&&!X.getDefaultProps.isReactClassApproved&&Ae("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function bo(w){{for(var X=Object.keys(w.props),le=0;le<X.length;le++){var Oe=X[le];if(Oe!=="children"&&Oe!=="key"){Ot(w),Ae("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Oe),Ot(null);break}}w.ref!==null&&(Ot(w),Ae("Invalid attribute `ref` supplied to `React.Fragment`."),Ot(null))}}function Wa(w,X,le,Oe,qe,dt){{var Xe=zt(w);if(!Xe){var Le="";(w===void 0||typeof w=="object"&&w!==null&&Object.keys(w).length===0)&&(Le+=" 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 On=Co(qe);On?Le+=On:Le+=wl();var Bt;w===null?Bt="null":Da(w)?Bt="array":w!==void 0&&w.$$typeof===m?(Bt="<"+(Ve(w.type)||"Unknown")+" />",Le=" Did you accidentally export a JSX literal instead of a component?"):Bt=typeof w,Ae("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Bt,Le)}var $t=Rr(w,X,le,qe,dt);if($t==null)return $t;if(Xe){var dr=X.children;if(dr!==void 0)if(Oe)if(Da(dr)){for(var Vi=0;Vi<dr.length;Vi++)Eo(dr[Vi],w);Object.freeze&&Object.freeze(dr)}else Ae("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 Eo(dr,w)}return w===C?bo($t):_l($t),$t}}function ji(w,X,le){return Wa(w,X,le,!0)}function $r(w,X,le){return Wa(w,X,le,!1)}var Na=$r,Pi=ji;Nf.Fragment=C,Nf.jsx=Na,Nf.jsxs=Pi}()),Nf}(function(f){process.env.NODE_ENV==="production"?f.exports=uR():f.exports=sR()})(Kp);const Zp=Kp.exports.Fragment,ve=Kp.exports.jsx,jn=Kp.exports.jsxs;var cR=Ke.createContext({});const m1=cR;function bl(f){return bl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(m){return typeof m}:function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m},bl(f)}function fR(f,m){if(bl(f)!=="object"||f===null)return f;var p=f[Symbol.toPrimitive];if(p!==void 0){var C=p.call(f,m||"default");if(bl(C)!=="object")return C;throw new TypeError("@@toPrimitive must return a primitive value.")}return(m==="string"?String:Number)(f)}function y1(f){var m=fR(f,"string");return bl(m)==="symbol"?m:String(m)}function sy(f,m,p){return m=y1(m),m in f?Object.defineProperty(f,m,{value:p,enumerable:!0,configurable:!0,writable:!0}):f[m]=p,f}function g1(f,m){var p=Object.keys(f);if(Object.getOwnPropertySymbols){var C=Object.getOwnPropertySymbols(f);m&&(C=C.filter(function(R){return Object.getOwnPropertyDescriptor(f,R).enumerable})),p.push.apply(p,C)}return p}function rn(f){for(var m=1;m<arguments.length;m++){var p=arguments[m]!=null?arguments[m]:{};m%2?g1(Object(p),!0).forEach(function(C){sy(f,C,p[C])}):Object.getOwnPropertyDescriptors?Object.defineProperties(f,Object.getOwnPropertyDescriptors(p)):g1(Object(p)).forEach(function(C){Object.defineProperty(f,C,Object.getOwnPropertyDescriptor(p,C))})}return f}function dR(f){if(Array.isArray(f))return f}function pR(f,m){var p=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(p!=null){var C,R,M,S,I=[],O=!0,j=!1;try{if(M=(p=p.call(f)).next,m===0){if(Object(p)!==p)return;O=!1}else for(;!(O=(C=M.call(p)).done)&&(I.push(C.value),I.length!==m);O=!0);}catch(ee){j=!0,R=ee}finally{try{if(!O&&p.return!=null&&(S=p.return(),Object(S)!==S))return}finally{if(j)throw R}}return I}}function S1(f,m){(m==null||m>f.length)&&(m=f.length);for(var p=0,C=new Array(m);p<m;p++)C[p]=f[p];return C}function vR(f,m){if(f){if(typeof f=="string")return S1(f,m);var p=Object.prototype.toString.call(f).slice(8,-1);if(p==="Object"&&f.constructor&&(p=f.constructor.name),p==="Map"||p==="Set")return Array.from(f);if(p==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(p))return S1(f,m)}}function hR(){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 C1(f,m){return dR(f)||pR(f,m)||vR(f,m)||hR()}function mR(f,m){if(f==null)return{};var p={},C=Object.keys(f),R,M;for(M=0;M<C.length;M++)R=C[M],!(m.indexOf(R)>=0)&&(p[R]=f[R]);return p}function E1(f,m){if(f==null)return{};var p=mR(f,m),C,R;if(Object.getOwnPropertySymbols){var M=Object.getOwnPropertySymbols(f);for(R=0;R<M.length;R++)C=M[R],!(m.indexOf(C)>=0)&&Object.prototype.propertyIsEnumerable.call(f,C)&&(p[C]=f[C])}return p}var b1={exports:{}};(function(f){(function(){var m={}.hasOwnProperty;function p(){for(var C=[],R=0;R<arguments.length;R++){var M=arguments[R];if(M){var S=typeof M;if(S==="string"||S==="number")C.push(M);else if(Array.isArray(M)){if(M.length){var I=p.apply(null,M);I&&C.push(I)}}else if(S==="object"){if(M.toString!==Object.prototype.toString&&!M.toString.toString().includes("[native code]")){C.push(M.toString());continue}for(var O in M)m.call(M,O)&&M[O]&&C.push(O)}}}return C.join(" ")}f.exports?(p.default=p,f.exports=p):window.classNames=p})()})(b1);const Os=b1.exports;function Ia(f,m){yR(f)&&(f="100%");var p=gR(f);return f=m===360?f:Math.min(m,Math.max(0,parseFloat(f))),p&&(f=parseInt(String(f*m),10)/100),Math.abs(f-m)<1e-6?1:(m===360?f=(f<0?f%m+m:f%m)/parseFloat(String(m)):f=f%m/parseFloat(String(m)),f)}function yR(f){return typeof f=="string"&&f.indexOf(".")!==-1&&parseFloat(f)===1}function gR(f){return typeof f=="string"&&f.indexOf("%")!==-1}function SR(f){return f=parseFloat(f),(isNaN(f)||f<0||f>1)&&(f=1),f}function Jp(f){return f<=1?"".concat(Number(f)*100,"%"):f}function cy(f){return f.length===1?"0"+f:String(f)}function CR(f,m,p){return{r:Ia(f,255)*255,g:Ia(m,255)*255,b:Ia(p,255)*255}}function fy(f,m,p){return p<0&&(p+=1),p>1&&(p-=1),p<1/6?f+(m-f)*(6*p):p<1/2?m:p<2/3?f+(m-f)*(2/3-p)*6:f}function ER(f,m,p){var C,R,M;if(f=Ia(f,360),m=Ia(m,100),p=Ia(p,100),m===0)R=p,M=p,C=p;else{var S=p<.5?p*(1+m):p+m-p*m,I=2*p-S;C=fy(I,S,f+1/3),R=fy(I,S,f),M=fy(I,S,f-1/3)}return{r:C*255,g:R*255,b:M*255}}function bR(f,m,p){f=Ia(f,255),m=Ia(m,255),p=Ia(p,255);var C=Math.max(f,m,p),R=Math.min(f,m,p),M=0,S=C,I=C-R,O=C===0?0:I/C;if(C===R)M=0;else{switch(C){case f:M=(m-p)/I+(m<p?6:0);break;case m:M=(p-f)/I+2;break;case p:M=(f-m)/I+4;break}M/=6}return{h:M,s:O,v:S}}function TR(f,m,p){f=Ia(f,360)*6,m=Ia(m,100),p=Ia(p,100);var C=Math.floor(f),R=f-C,M=p*(1-m),S=p*(1-R*m),I=p*(1-(1-R)*m),O=C%6,j=[p,S,M,M,I,p][O],ee=[I,p,p,S,M,M][O],W=[M,M,I,p,p,S][O];return{r:j*255,g:ee*255,b:W*255}}function RR(f,m,p,C){var R=[cy(Math.round(f).toString(16)),cy(Math.round(m).toString(16)),cy(Math.round(p).toString(16))];return C&&R[0].startsWith(R[0].charAt(1))&&R[1].startsWith(R[1].charAt(1))&&R[2].startsWith(R[2].charAt(1))?R[0].charAt(0)+R[1].charAt(0)+R[2].charAt(0):R.join("")}function T1(f){return _a(f)/255}function _a(f){return parseInt(f,16)}var R1={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 Lf(f){var m={r:0,g:0,b:0},p=1,C=null,R=null,M=null,S=!1,I=!1;return typeof f=="string"&&(f=_R(f)),typeof f=="object"&&(Tl(f.r)&&Tl(f.g)&&Tl(f.b)?(m=CR(f.r,f.g,f.b),S=!0,I=String(f.r).substr(-1)==="%"?"prgb":"rgb"):Tl(f.h)&&Tl(f.s)&&Tl(f.v)?(C=Jp(f.s),R=Jp(f.v),m=TR(f.h,C,R),S=!0,I="hsv"):Tl(f.h)&&Tl(f.s)&&Tl(f.l)&&(C=Jp(f.s),M=Jp(f.l),m=ER(f.h,C,M),S=!0,I="hsl"),Object.prototype.hasOwnProperty.call(f,"a")&&(p=f.a)),p=SR(p),{ok:S,format:f.format||I,r:Math.min(255,Math.max(m.r,0)),g:Math.min(255,Math.max(m.g,0)),b:Math.min(255,Math.max(m.b,0)),a:p}}var wR="[-\\+]?\\d+%?",xR="[-\\+]?\\d*\\.\\d+%?",go="(?:".concat(xR,")|(?:").concat(wR,")"),dy="[\\s|\\(]+(".concat(go,")[,|\\s]+(").concat(go,")[,|\\s]+(").concat(go,")\\s*\\)?"),py="[\\s|\\(]+(".concat(go,")[,|\\s]+(").concat(go,")[,|\\s]+(").concat(go,")[,|\\s]+(").concat(go,")\\s*\\)?"),ui={CSS_UNIT:new RegExp(go),rgb:new RegExp("rgb"+dy),rgba:new RegExp("rgba"+py),hsl:new RegExp("hsl"+dy),hsla:new RegExp("hsla"+py),hsv:new RegExp("hsv"+dy),hsva:new RegExp("hsva"+py),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 _R(f){if(f=f.trim().toLowerCase(),f.length===0)return!1;var m=!1;if(R1[f])f=R1[f],m=!0;else if(f==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var p=ui.rgb.exec(f);return p?{r:p[1],g:p[2],b:p[3]}:(p=ui.rgba.exec(f),p?{r:p[1],g:p[2],b:p[3],a:p[4]}:(p=ui.hsl.exec(f),p?{h:p[1],s:p[2],l:p[3]}:(p=ui.hsla.exec(f),p?{h:p[1],s:p[2],l:p[3],a:p[4]}:(p=ui.hsv.exec(f),p?{h:p[1],s:p[2],v:p[3]}:(p=ui.hsva.exec(f),p?{h:p[1],s:p[2],v:p[3],a:p[4]}:(p=ui.hex8.exec(f),p?{r:_a(p[1]),g:_a(p[2]),b:_a(p[3]),a:T1(p[4]),format:m?"name":"hex8"}:(p=ui.hex6.exec(f),p?{r:_a(p[1]),g:_a(p[2]),b:_a(p[3]),format:m?"name":"hex"}:(p=ui.hex4.exec(f),p?{r:_a(p[1]+p[1]),g:_a(p[2]+p[2]),b:_a(p[3]+p[3]),a:T1(p[4]+p[4]),format:m?"name":"hex8"}:(p=ui.hex3.exec(f),p?{r:_a(p[1]+p[1]),g:_a(p[2]+p[2]),b:_a(p[3]+p[3]),format:m?"name":"hex"}:!1)))))))))}function Tl(f){return Boolean(ui.CSS_UNIT.exec(String(f)))}var ev=2,w1=.16,kR=.05,DR=.05,OR=.15,x1=5,_1=4,MR=[{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 k1(f){var m=f.r,p=f.g,C=f.b,R=bR(m,p,C);return{h:R.h*360,s:R.s,v:R.v}}function tv(f){var m=f.r,p=f.g,C=f.b;return"#".concat(RR(m,p,C,!1))}function NR(f,m,p){var C=p/100,R={r:(m.r-f.r)*C+f.r,g:(m.g-f.g)*C+f.g,b:(m.b-f.b)*C+f.b};return R}function D1(f,m,p){var C;return Math.round(f.h)>=60&&Math.round(f.h)<=240?C=p?Math.round(f.h)-ev*m:Math.round(f.h)+ev*m:C=p?Math.round(f.h)+ev*m:Math.round(f.h)-ev*m,C<0?C+=360:C>=360&&(C-=360),C}function O1(f,m,p){if(f.h===0&&f.s===0)return f.s;var C;return p?C=f.s-w1*m:m===_1?C=f.s+w1:C=f.s+kR*m,C>1&&(C=1),p&&m===x1&&C>.1&&(C=.1),C<.06&&(C=.06),Number(C.toFixed(2))}function M1(f,m,p){var C;return p?C=f.v+DR*m:C=f.v-OR*m,C>1&&(C=1),Number(C.toFixed(2))}function vy(f){for(var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},p=[],C=Lf(f),R=x1;R>0;R-=1){var M=k1(C),S=tv(Lf({h:D1(M,R,!0),s:O1(M,R,!0),v:M1(M,R,!0)}));p.push(S)}p.push(tv(C));for(var I=1;I<=_1;I+=1){var O=k1(C),j=tv(Lf({h:D1(O,I),s:O1(O,I),v:M1(O,I)}));p.push(j)}return m.theme==="dark"?MR.map(function(ee){var W=ee.index,ne=ee.opacity,Q=tv(NR(Lf(m.backgroundColor||"#141414"),Lf(p[W]),ne*100));return Q}):p}var hy={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"},my={},yy={};Object.keys(hy).forEach(function(f){my[f]=vy(hy[f]),my[f].primary=my[f][5],yy[f]=vy(hy[f],{theme:"dark",backgroundColor:"#141414"}),yy[f].primary=yy[f][5]});var N1={};function gy(f,m){process.env.NODE_ENV!=="production"&&!f&&console!==void 0&&console.error("Warning: ".concat(m))}function LR(f,m,p){!m&&!N1[p]&&(f(!1,p),N1[p]=!0)}function zR(f,m){LR(gy,f,m)}function AR(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function UR(f,m){if(!f)return!1;if(f.contains)return f.contains(m);for(var p=m;p;){if(p===f)return!0;p=p.parentNode}return!1}var L1="data-rc-order",FR="rc-util-key",Sy=new Map;function z1(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},m=f.mark;return m?m.startsWith("data-")?m:"data-".concat(m):FR}function Cy(f){if(f.attachTo)return f.attachTo;var m=document.querySelector("head");return m||document.body}function HR(f){return f==="queue"?"prependQueue":f?"prepend":"append"}function A1(f){return Array.from((Sy.get(f)||f).children).filter(function(m){return m.tagName==="STYLE"})}function U1(f){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!AR())return null;var p=m.csp,C=m.prepend,R=document.createElement("style");R.setAttribute(L1,HR(C)),p!=null&&p.nonce&&(R.nonce=p==null?void 0:p.nonce),R.innerHTML=f;var M=Cy(m),S=M.firstChild;if(C){if(C==="queue"){var I=A1(M).filter(function(O){return["prepend","prependQueue"].includes(O.getAttribute(L1))});if(I.length)return M.insertBefore(R,I[I.length-1].nextSibling),R}M.insertBefore(R,S)}else M.appendChild(R);return R}function jR(f){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},p=Cy(m);return A1(p).find(function(C){return C.getAttribute(z1(m))===f})}function PR(f,m){var p=Sy.get(f);if(!p||!UR(document,p)){var C=U1("",m),R=C.parentNode;Sy.set(f,R),f.removeChild(C)}}function VR(f,m){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},C=Cy(p);PR(C,p);var R=jR(m,p);if(R){var M,S;if(!((M=p.csp)===null||M===void 0)&&M.nonce&&R.nonce!==((S=p.csp)===null||S===void 0?void 0:S.nonce)){var I;R.nonce=(I=p.csp)===null||I===void 0?void 0:I.nonce}return R.innerHTML!==f&&(R.innerHTML=f),R}var O=U1(f,p);return O.setAttribute(z1(p),m),O}function BR(f,m){zR(f,"[@ant-design/icons] ".concat(m))}function F1(f){return bl(f)==="object"&&typeof f.name=="string"&&typeof f.theme=="string"&&(bl(f.icon)==="object"||typeof f.icon=="function")}function H1(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(f).reduce(function(m,p){var C=f[p];switch(p){case"class":m.className=C,delete m.class;break;default:m[p]=C}return m},{})}function Ey(f,m,p){return p?Ke.createElement(f.tag,rn(rn({key:m},H1(f.attrs)),p),(f.children||[]).map(function(C,R){return Ey(C,"".concat(m,"-").concat(f.tag,"-").concat(R))})):Ke.createElement(f.tag,rn({key:m},H1(f.attrs)),(f.children||[]).map(function(C,R){return Ey(C,"".concat(m,"-").concat(f.tag,"-").concat(R))}))}function j1(f){return vy(f)[0]}function P1(f){return f?Array.isArray(f)?f:[f]:[]}var $R=`
|
|
13
13
|
.anticon {
|
|
14
14
|
display: inline-block;
|
|
15
15
|
color: inherit;
|
|
@@ -63,93 +63,93 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
63
63
|
transform: rotate(360deg);
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
|
-
`,ZU=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:QU,n=st.useContext(sA),r=n.csp;st.useEffect(function(){XU(e,"@ant-design-icons",{prepend:!0,csp:r})},[])},KU=["icon","className","onClick","style","primaryColor","secondaryColor"],Ip={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function JU(t){var e=t.primaryColor,n=t.secondaryColor;Ip.primaryColor=e,Ip.secondaryColor=n||OA(e),Ip.calculated=!!n}function eV(){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,KU),h=Ip;if(u&&(h={primaryColor:u,secondaryColor:f||OA(u)}),ZU(),qU(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=eV,y0.setTwoToneColors=JU;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 tV(){var t=Nw.getTwoToneColors();return t.calculated?[t.primaryColor,t.secondaryColor]:t.primaryColor}var nV=["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,nV),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=tV,_0.setTwoToneColor=NA;const Gd=_0;var rV={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 iV=rV;var PA=function(e,n){return Nt.createElement(Gd,$n($n({},e),{},{ref:n,icon:iV}))};PA.displayName="ArrowLeftOutlined";const aV=Nt.forwardRef(PA);var oV={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 lV=oV;var IA=function(e,n){return Nt.createElement(Gd,$n($n({},e),{},{ref:n,icon:lV}))};IA.displayName="CloseCircleFilled";const uV=Nt.forwardRef(IA);var sV={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 fV=sV;var zA=function(e,n){return Nt.createElement(Gd,$n($n({},e),{},{ref:n,icon:fV}))};zA.displayName="DownOutlined";const cV=Nt.forwardRef(zA);var dV={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 vV=dV;var FA=function(e,n){return Nt.createElement(Gd,$n($n({},e),{},{ref:n,icon:vV}))};FA.displayName="PlusOutlined";const hV=Nt.forwardRef(FA);var pV={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 gV=pV;var BA=function(e,n){return Nt.createElement(Gd,$n($n({},e),{},{ref:n,icon:gV}))};BA.displayName="UpOutlined";const mV=Nt.forwardRef(BA);var yV={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 _V=yV;var UA=function(e,n){return Nt.createElement(Gd,$n($n({},e),{},{ref:n,icon:_V}))};UA.displayName="UploadOutlined";const SV=Nt.forwardRef(UA),Pw={main:"szld-main",title:"szld-title",sub:"szld-sub"},{Title:CV,Text:wV}=dt.Typography,xV=t=>{const{isBack:e=!0,title:n,extra:r,subTitle:a=null,className:l,titleStyle:u}=t,f=fU.useNavigate(),d=()=>typeof a=="string"?ze(wV,{className:Pw.sub,children:a}):a,h=()=>{f(-1)};return Tr("div",{className:Hd(Pw.main,{className:l}),children:[Tr(dt.Space,{children:[e&&ze(aV,{style:{fontSize:24},onClick:h}),Tr(CV,{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.rar=".rar",t))($d||{});const TV=Object.freeze(Object.defineProperty({__proto__:null,FileType:Iw,FileTypeMap:zw,FileSuffix:$d},Symbol.toStringTag,{value:"Module"})),bV=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())},EV=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]}}},DV=(t,e)=>{const n=typeof e=="object"?JSON.stringify(e):e;localStorage.setItem(t,n)},MV=t=>{let n=localStorage.getItem(t);return typeof n=="string"&&(n=Fw(n)),n||null},RV=t=>{localStorage.removeItem(t)},AV=(t,e)=>{const n=typeof e=="object"?JSON.stringify(e):e;sessionStorage.setItem(t,n)},LV=t=>{let n=sessionStorage.getItem(t);return typeof n=="string"&&(n=Fw(n)),n||null},OV=t=>{sessionStorage.removeItem(t)},kV=(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}},NV=Object.freeze(Object.defineProperty({__proto__:null,filterObject:bV,getBase64:VA,getFileSuffix:S0,getFileType:EV,setLocalStorage:DV,getLocalStorage:MV,removeLocalStorage:RV,setSessionStorage:AV,getSessionStorage:LV,removeSessionStorage:OV,arrayDeduplication:kV,JSONParse:Fw},Symbol.toStringTag,{value:"Module"}));var HA={exports:{}},Ki={},Bw={exports:{}},Uw={};var GA;function PV(){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 IV(){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 tn=Ct;tn>0;){var In=tn-1>>>1,hr=De[In];if(h(hr,qe)>0)De[In]=qe,De[tn]=hr,tn=In;else return}}function d(De,qe,Ct){for(var tn=Ct,In=De.length,hr=In>>>1;tn<hr;){var Yn=(tn+1)*2-1,pi=De[Yn],_n=Yn+1,Fi=De[_n];if(h(pi,qe)<0)_n<In&&h(Fi,pi)<0?(De[tn]=Fi,De[_n]=qe,tn=_n):(De[tn]=pi,De[Yn]=qe,tn=Yn);else if(_n<In&&h(Fi,qe)<0)De[tn]=Fi,De[_n]=qe,tn=_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 tn;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 tn=J.callback;if(typeof tn=="function"){J.callback=null,ie=J.priorityLevel;var In=J.expirationTime<=Ct,hr=tn(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 ln(De,qe,Ct){var tn=t.unstable_now(),In;if(typeof Ct=="object"&&Ct!==null){var hr=Ct.delay;typeof hr=="number"&&hr>0?In=tn+hr:In=tn}else In=tn;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>tn?(_n.sortIndex=In,a(G,_n),l(X)===null&&_n===l(G)&&(Ne?zi():Ne=!0,Zn(Ge,In-tn))):(_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=ln,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=PV():t.exports=IV()}(Bw)),Bw.exports}var WA;function zV(){if(WA)return Ki;WA=1;var t=st,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
|
-
`+
|
|
68
|
-
`),
|
|
69
|
-
`),
|
|
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 ln(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=ln(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=ln(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,ln(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=""+ln(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:ln(y)}}function ho(s,c){var y=ln(c.value),w=ln(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 tn(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 nn=0;function tm(s){return s&=-s,1<s?4<s?s&268435455?16:536870912:4:1}var E1,Gv,hn,D1,nm,vt=!1,Ic=[],Kn=null,fa=null,ca=null,zc=new Map,or=new Map,un=[],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(){vt=!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,vt||(vt=!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<un.length;y++)w=un[y],w.blockedOn===s&&(w.blockedOn=null);for(;0<un.length&&(y=un[0],y.blockedOn===null);)M1(y),y.blockedOn===null&&un.shift()}var js=P.ReactCurrentBatchConfig,Iu=!0;function A1(s,c,y,w){var M=nn,L=js.transition;js.transition=null;try{nn=1,jv(s,c,y,w)}finally{nn=M,js.transition=L}}function $v(s,c,y,w){var M=nn,L=js.transition;js.transition=null;try{nn=4,jv(s,c,y,w)}finally{nn=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=nn;try{var y=Vi;for(nn=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{nn=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=nn;nn=y!==0&&4>y?y:4,s(!0);var w=Hm.transition;Hm.transition={};try{s(!1),c()}finally{nn=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: `+
|
|
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"?tn(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",""+ln(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"?tn(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=nn,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=nn;try{if(Yr.transition=null,nn=1,s)return s()}finally{nn=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=nn,M=Yr.transition;try{Yr.transition=null,nn=1,oD(s,c,y,w)}finally{Yr.transition=M,nn=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=nn;nn=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=$,nn=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=nn;try{if(Yr.transition=null,nn=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{nn=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<un.length&&c!==0&&c<un[y].priority;y++);un.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 nn},nm=function(s,c){var y=nn;try{return nn=s,c()}finally{nn=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 FV(){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=st,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,ln=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++)ln.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+"]*$"),tn={},In={};function hr(i){return Et.call(In,i)?!0:Et.call(tn,i)?!1:Ct.test(i)?(In[i]=!0,!0):(tn[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
|
-
`+
|
|
75
|
-
`),
|
|
76
|
-
`),
|
|
77
|
-
`+
|
|
78
|
-
Error generating stack: `+
|
|
79
|
-
`+
|
|
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.",vt(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;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){VF(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}fZ(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 jQ(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 RF(i){return i&&i.nodeType===Yo}function AF(i,o){return!i||!o?!1:i===o?!0:RF(i)?!1:RF(o)?AF(i,o.parentNode):"contains"in i?i.contains(o):i.compareDocumentPosition?!!(i.compareDocumentPosition(o)&16):!1}function YQ(i){return i&&i.ownerDocument&&AF(i.ownerDocument.documentElement,i)}function WQ(i){try{return typeof i.contentWindow.location.href=="string"}catch{return!1}}function LF(){for(var i=window,o=$v();o instanceof i.HTMLIFrameElement;){if(WQ(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 XQ(){var i=LF();return{focusedElem:i,selectionRange:mD(i)?QQ(i):null}}function qQ(i){var o=LF(),v=i.focusedElem,g=i.selectionRange;if(o!==v&&YQ(v)){g!==null&&mD(v)&&ZQ(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 QQ(i){var o;return"selectionStart"in i?o={start:i.selectionStart,end:i.selectionEnd}:o=au(i),o||{start:0,end:0}}function ZQ(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)):jQ(i,o)}var KQ=Zt&&"documentMode"in document&&document.documentMode<=11;function JQ(){$e("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var np=null,yD=null,gy=null,_D=!1;function eZ(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 tZ(i){return i.window===i?i.document:i.nodeType===ja?i:i.ownerDocument}function OF(i,o,v){var g=tZ(v);if(!(_D||np==null||np!==$v(g))){var C=eZ(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 nZ(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,OF(i,g,C);break;case"selectionchange":if(KQ)break;case"keydown":case"keyup":OF(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={},kF={};Zt&&(kF=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 kF)return SD[i]=o[v];return i}var NF=YS("animationend"),PF=YS("animationiteration"),IF=YS("animationstart"),zF=YS("transitionend"),FF=new Map,BF=["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){FF.set(i,o),$e(o,[i])}function rZ(){for(var i=0;i<BF.length;i++){var o=BF[i],v=o.toLowerCase(),g=o[0].toUpperCase()+o.slice(1);Tf(v,"on"+g)}Tf(NF,"onAnimationEnd"),Tf(PF,"onAnimationIteration"),Tf(IF,"onAnimationStart"),Tf("dblclick","onDoubleClick"),Tf("focusin","onFocus"),Tf("focusout","onBlur"),Tf(zF,"onTransitionEnd")}function iZ(i,o,v,g,C,T,R){var k=FF.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 NF:case PF:case IF:N=Wh;break;case zF: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=uZ(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})}}}}rZ(),oe(),tp(),JQ(),VS();function aZ(i,o,v,g,C,T,R){iZ(i,o,v,g,C,T);var k=(T&YE)===0;k&&(Te(i,o,v,g,C),Z(i,o,v,g,C),nZ(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 UF(i,o,v){var g=i.type||"unknown-event";i.currentTarget=v,Qo(g,o,void 0,i),i.currentTarget=null}function oZ(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;UF(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;UF(i,le,Q),g=K}}function VF(i,o){for(var v=(o&Bu)!==0,g=0;g<i.length;g++){var C=i[g],T=C.event,R=C.listeners;oZ(T,R,v)}Dm()}function lZ(i,o,v,g,C){var T=rh(v),R=[];aZ(R,i,g,v,T,o),VF(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=zK(o),C=cZ(i,v);g.has(C)||(HF(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),HF(v,i,g,o)}var WS="_reactListening"+Math.random().toString(36).slice(2);function yy(i){if(!i[WS]){i[WS]=!0,ln.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 HF(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 GF(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(GF(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(GF(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 lZ(i,o,v,T)})}function _y(i,o,v){return{instance:i,listener:o,currentTarget:v}}function uZ(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 sZ(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 $F(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 fZ(i,o,v,g,C){var T=g&&C?sZ(g,C):null;g!==null&&$F(i,o,g,T,!1),C!==null&&v!==null&&$F(i,v,C,T,!0)}function cZ(i,o){return i+"__"+(o?"capture":"bubble")}var Ta=!1,Sy="dangerouslySetInnerHTML",qS="suppressContentEditableWarning",bf="suppressHydrationWarning",jF="autoFocus",Td="children",bd="style",QS="__html",TD,ZS,Cy,YF,KS,WF,XF;TD={dialog:!0,webview:!0},ZS=function(i,o){nh(i,o),ym(i,o),oS(i,o,{registrationNameDependencies:zt,possibleRegistrationNames:Ft})},WF=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)))}},YF=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)},XF=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 dZ=/\r\n?/g,vZ=/\u0000|\uFFFD/g;function JS(i){Fa(i);var o=typeof i=="string"?i:""+i;return o.replace(dZ,`
|
|
82
|
-
`).replace(vZ,"")}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 qF(i){return i.nodeType===ja?i:i.ownerDocument}function hZ(){}function tC(i){i.onclick=hZ}function pZ(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===jF||(zt.hasOwnProperty(T)?R!=null&&(typeof R!="function"&&KS(T,R),T==="onScroll"&&Un("scroll",o)):R!=null&&po(o,T,R,C))}}function gZ(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 mZ(i,o,v,g){var C,T=qF(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 yZ(i,o){return qF(o).createTextNode(i)}function _Z(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),pZ(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 SZ(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===jF||(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 CZ(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(gZ(i,o,T,R),v){case"input":Ys(i,C);break;case"textarea":z1(i,C);break;case"select":IE(i,C);break}}function wZ(i){{var o=i.toLowerCase();return th.hasOwnProperty(o)&&th[o]||null}}function xZ(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=XF(i,Ot);Rt!==We&&Cy(ue,We,Rt)}}else if(ue===bd){if(N.delete(ue),WF){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=wZ(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&&YF(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 TZ(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 bZ(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 EZ=["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"],DZ=QF.concat(["button"]),MZ=["dd","dt","li","option","optgroup","p","rp","rt"],ZF={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};xy=function(i,o){var v=Dt({},i||ZF),g={tag:o};return QF.indexOf(o)!==-1&&(v.aTagInScope=null,v.buttonTagInScope=null,v.nobrTagInScope=null),DZ.indexOf(o)!==-1&&(v.pTagInButtonScope=null),EZ.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 RZ=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 MZ.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},AZ=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},KF={};wy=function(i,o,v){v=v||ZF;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=RZ(i,C)?null:g,R=T?null:AZ(i,v),k=T||R;if(k){var N=k.tag,B=!!T+"|"+i+"|"+N;if(!KF[B]){KF[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="$!",LZ="style",RD=null,AD=null;function OZ(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 kZ(i,o,v){{var g=i,C=dm(g.namespace,o),T=xy(g.ancestorInfo,o);return{namespace:C,ancestorInfo:T}}}function ore(i){return i}function NZ(i){RD=Yi(),AD=XQ();var o=null;return Cr(!1),o}function PZ(i){qQ(AD),Cr(RD),RD=null,AD=null}function IZ(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=mZ(i,o,v,T);return My(C,B),FD(B,o),B}function zZ(i,o){i.appendChild(o)}function FZ(i,o,v,g,C){switch(_Z(i,o,v,g),o){case"button":case"input":case"select":case"textarea":return!!v.autoFocus;case"img":return!0;default:return!1}}function BZ(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 SZ(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 UZ(i,o,v,g){{var C=v;wy(null,i,C.ancestorInfo)}var T=yZ(i,o);return My(g,T),T}function VZ(){var i=window.event;return i===void 0?tl:ei(i.type)}var OD=typeof setTimeout=="function"?setTimeout:void 0,HZ=typeof clearTimeout=="function"?clearTimeout:void 0,kD=-1,JF=typeof Promise=="function"?Promise:void 0,GZ=typeof queueMicrotask=="function"?queueMicrotask:typeof JF<"u"?function(i){return JF.resolve(null).then(i).catch($Z)}:OD;function $Z(i){setTimeout(function(){throw i})}function jZ(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 YZ(i,o,v,g,C,T){CZ(i,o,v,g,C),FD(i,C)}function e5(i){Kv(i,"")}function WZ(i,o,v){i.nodeValue=v}function XZ(i,o){i.appendChild(o)}function qZ(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 QZ(i,o,v){i.insertBefore(o,v)}function ZZ(i,o,v){i.nodeType===Jn?i.parentNode.insertBefore(o,v):i.insertBefore(o,v)}function KZ(i,o){i.removeChild(o)}function JZ(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 eK(i,o){i.nodeType===Jn?ND(i.parentNode,o):i.nodeType===gi&&ND(i,o),Mt(i)}function tK(i){i=i;var o=i.style;typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"}function nK(i){i.nodeValue=""}function rK(i,o){i=i;var v=o[LZ],g=v!=null&&v.hasOwnProperty("display")?v.display:null;i.style.display=Jv("display",g)}function iK(i,o){i.nodeValue=o}function aK(i){i.nodeType===gi?i.textContent="":i.nodeType===ja&&i.documentElement&&i.removeChild(i.documentElement)}function oK(i,o,v){return i.nodeType!==gi||o.toLowerCase()!==i.nodeName.toLowerCase()?null:i}function lK(i,o){return o===""||i.nodeType!==Yo?null:i}function uK(i){return i.nodeType!==Jn?null:i}function t5(i){return i.data===Ty}function PD(i){return i.data===by}function sK(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 fK(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 cK(i){return aC(i.firstChild)}function dK(i){return aC(i.firstChild)}function vK(i){return aC(i.nextSibling)}function hK(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 xZ(i,o,v,k,g,B,R)}function pK(i,o,v,g){return My(v,i),v.mode&wt,TZ(i,o)}function gK(i,o){My(o,i)}function mK(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 n5(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 yK(i){Mt(i)}function _K(i){Mt(i)}function SK(i){return i!=="head"&&i!=="body"}function CK(i,o,v,g){var C=!0;eC(o.nodeValue,v,g,C)}function wK(i,o,v,g,C,T){if(o[nC]!==!0){var R=!0;eC(g.nodeValue,C,T,R)}}function xK(i,o){o.nodeType===gi?bD(i,o):o.nodeType===Jn||ED(i,o)}function TK(i,o){{var v=i.parentNode;v!==null&&(o.nodeType===gi?bD(v,o):o.nodeType===Jn||ED(v,o))}}function bK(i,o,v,g,C){(C||o[nC]!==!0)&&(g.nodeType===gi?bD(v,g):g.nodeType===Jn||ED(v,g))}function EK(i,o,v){DD(i,o)}function DK(i,o){MD(i,o)}function MK(i,o,v){{var g=i.parentNode;g!==null&&DD(g,o)}}function RK(i,o){{var v=i.parentNode;v!==null&&MD(v,o)}}function AK(i,o,v,g,C,T){(T||o[nC]!==!0)&&DD(v,g)}function LK(i,o,v,g,C){(C||o[nC]!==!0)&&MD(v,g)}function OK(i){u("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",i.nodeName.toLowerCase())}function kK(i){yy(i)}var ap=Math.random().toString(36).slice(2),op="__reactFiber$"+ap,ID="__reactProps$"+ap,Dy="__reactContainer$"+ap,zD="__reactEvents$"+ap,NK="__reactListeners$"+ap,PK="__reactHandles$"+ap;function IK(i){delete i[op],delete i[ID],delete i[zD],delete i[NK],delete i[PK]}function My(i,o){o[op]=i}function oC(i,o){o[Dy]=i}function r5(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=n5(i);C!==null;){var T=C[op];if(T)return T;C=n5(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 zK(i){var o=i[zD];return o===void 0&&(o=i[zD]=new Set),o}var i5={},a5=n.ReactDebugCurrentFrame;function uC(i){if(i){var o=i._owner,v=Pc(i.type,i._source,o?o.type:null);a5.setExtraStackFrame(v)}else a5.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 i5)&&(i5[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 o5(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=vt(i)||"Unknown";ol(g,T,"context",k)}return C&&o5(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 l5(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 u5(i,o,v){{var g=i.stateNode,C=o.childContextTypes;if(typeof g.getChildContext!="function"){{var T=vt(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((vt(i)||"Unknown")+'.getChildContext(): key "'+k+'" is not defined in childContextTypes.');{var N=vt(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 s5(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=u5(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 FK(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 f5(i){vs===null?vs=[i]:vs.push(i)}function BK(i){GD=!0,f5(i)}function c5(){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 UK(i){return Rd(),(i.flags&Rm)!==Qe}function VK(i){return Rd(),pC}function HK(){var i=ps,o=hs,v=o&~GK(o);return v.toString(32)+i}function Md(i,o){Rd(),fp[cp++]=pC,fp[cp++]=hC,hC=i,pC=o}function d5(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),d5(i,v,g)}}function gC(i){return 32-yh(i)}function GK(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 $K(){return Rd(),Dd!==null?{id:hs,overflow:ps}:null}function jK(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 YK(){ll&&u("We should not be hydrating here. This is a bug in React. Please file a bug.")}function v5(){Ad=!0}function WK(){return Ad}function XK(i){var o=i.stateNode.containerInfo;return bo=dK(o),ti=i,ll=!0,Af=null,Ad=!1,!0}function qK(i,o,v){return bo=vK(o),ti=i,ll=!0,Af=null,Ad=!1,v!==null&&jK(i,v),!0}function h5(i,o){switch(i.tag){case m:{xK(i.stateNode.containerInfo,o);break}case _:{var v=(i.mode&wt)!==Je;bK(i.type,i.memoizedProps,i.stateNode,o,v);break}case I:{var g=i.memoizedState;g.dehydrated!==null&&TK(g.dehydrated,o);break}}}function p5(i,o){h5(i,o);var v=Kte();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,EK(v,g);break;case x:var C=o.pendingProps;DK(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;AK(T,R,k,N,B,V);break}case x:{var K=o.pendingProps,Q=(i.mode&wt)!==Je;LK(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,MK(ue,de);break;case x:var Pe=o.pendingProps;RK(ue,Pe);break}break}default:return}}}function g5(i,o){o.flags=o.flags&~pa|Cn,WD(i,o)}function m5(i,o){switch(i.tag){case _:{var v=i.type;i.pendingProps;var g=oK(o,v);return g!==null?(i.stateNode=g,ti=i,bo=cK(g),!0):!1}case x:{var C=i.pendingProps,T=lK(o,C);return T!==null?(i.stateNode=T,ti=i,bo=null,!0):!1}case I:{var R=uK(o);if(R!==null){var k={dehydrated:R,treeContext:$K(),retryLane:xi};i.memoizedState=k;var N=Jte(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<)===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()),g5(ti,i),ll=!1,ti=i;return}var v=o;if(!m5(i,o)){XD(i)&&(WD(ti,i),qD()),o=Ey(v);var g=ti;if(!o||!m5(i,o)){g5(ti,i),ll=!1,ti=i;return}p5(g,v)}}}function QK(i,o,v){var g=i.stateNode,C=!Ad,T=hK(g,i.type,i.memoizedProps,o,v,i,C);return i.updateQueue=T,T!==null}function ZK(i){var o=i.stateNode,v=i.memoizedProps,g=pK(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;CK(T,o,v,R);break}case _:{var k=C.type,N=C.memoizedProps,B=C.stateNode,V=(C.mode&wt)!==Je;wK(k,N,B,o,v,V);break}}}return g}function KK(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.");gK(v,i)}function JK(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 mK(v)}function y5(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 y5(i),ll=!0,!1;if(i.tag!==m&&(i.tag!==_||SK(i.type)&&!LD(i.type,i.memoizedProps))){var o=bo;if(o)if(XD(i))_5(i),qD();else for(;o;)p5(i,o),o=Ey(o)}return y5(i),i.tag===I?bo=JK(i):bo=ti?Ey(i.stateNode):null,!0}function eJ(){return ll&&bo!==null}function _5(i){for(var o=bo;o;)h5(i,o),o=Ey(o)}function dp(){ti=null,bo=null,ll=!1,Ad=!1}function S5(){Af!==null&&(h3(Af),Af=null)}function ni(){return ll}function ZD(i){Af===null?Af=[i]:Af.push(i)}var tJ=n.ReactCurrentBatchConfig,nJ=null;function rJ(){return tJ.transition}var ul={recordUnsafeLifecycleWarnings:function(i,o){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(i,o){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var iJ=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(vt(Q)||"Component"),Od.add(Q.type)}),Ay=[]);var o=new Set;Ly.length>0&&(Ly.forEach(function(Q){o.add(vt(Q)||"Component"),Od.add(Q.type)}),Ly=[]);var v=new Set;Oy.length>0&&(Oy.forEach(function(Q){v.add(vt(Q)||"Component"),Od.add(Q.type)}),Oy=[]);var g=new Set;ky.length>0&&(ky.forEach(function(Q){g.add(vt(Q)||"Component"),Od.add(Q.type)}),ky=[]);var C=new Set;Ny.length>0&&(Ny.forEach(function(Q){C.add(vt(Q)||"Component"),Od.add(Q.type)}),Ny=[]);var T=new Set;if(Py.length>0&&(Py.forEach(function(Q){T.add(vt(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.
|
|
66
|
+
`,IR=function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:$R,p=Ke.useContext(m1),C=p.csp;Ke.useEffect(function(){VR(m,"@ant-design-icons",{prepend:!0,csp:C})},[])},YR=["icon","className","onClick","style","primaryColor","secondaryColor"],zf={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function QR(f){var m=f.primaryColor,p=f.secondaryColor;zf.primaryColor=m,zf.secondaryColor=p||j1(m),zf.calculated=!!p}function WR(){return rn({},zf)}var nv=function(m){var p=m.icon,C=m.className,R=m.onClick,M=m.style,S=m.primaryColor,I=m.secondaryColor,O=E1(m,YR),j=zf;if(S&&(j={primaryColor:S,secondaryColor:I||j1(S)}),IR(),BR(F1(p),"icon should be icon definiton, but got ".concat(p)),!F1(p))return null;var ee=p;return ee&&typeof ee.icon=="function"&&(ee=rn(rn({},ee),{},{icon:ee.icon(j.primaryColor,j.secondaryColor)})),Ey(ee.icon,"svg-".concat(ee.name),rn({className:C,onClick:R,style:M,"data-icon":ee.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},O))};nv.displayName="IconReact",nv.getTwoToneColors=WR,nv.setTwoToneColors=QR;const by=nv;function V1(f){var m=P1(f),p=C1(m,2),C=p[0],R=p[1];return by.setTwoToneColors({primaryColor:C,secondaryColor:R})}function GR(){var f=by.getTwoToneColors();return f.calculated?[f.primaryColor,f.secondaryColor]:f.primaryColor}var qR=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];V1("#1890ff");var rv=ct.forwardRef(function(f,m){var p,C=f.className,R=f.icon,M=f.spin,S=f.rotate,I=f.tabIndex,O=f.onClick,j=f.twoToneColor,ee=E1(f,qR),W=ct.useContext(m1),ne=W.prefixCls,Q=ne===void 0?"anticon":ne,oe=W.rootClassName,He=Os(oe,Q,(p={},sy(p,"".concat(Q,"-").concat(R.name),!!R.name),sy(p,"".concat(Q,"-spin"),!!M||R.name==="loading"),p),C),Ee=I;Ee===void 0&&O&&(Ee=-1);var it=S?{msTransform:"rotate(".concat(S,"deg)"),transform:"rotate(".concat(S,"deg)")}:void 0,Ae=P1(j),he=C1(Ae,2),Ne=he[0],Y=he[1];return ct.createElement("span",rn(rn({role:"img","aria-label":R.name},ee),{},{ref:m,tabIndex:Ee,onClick:O,className:He}),ct.createElement(by,{icon:R,primaryColor:Ne,secondaryColor:Y,style:it}))});rv.displayName="AntdIcon",rv.getTwoToneColor=GR,rv.setTwoToneColor=V1;const Ms=rv;var XR={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 KR=XR;var B1=function(m,p){return ct.createElement(Ms,rn(rn({},m),{},{ref:p,icon:KR}))};B1.displayName="ArrowLeftOutlined";const ZR=ct.forwardRef(B1);var JR={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 ew=JR;var $1=function(m,p){return ct.createElement(Ms,rn(rn({},m),{},{ref:p,icon:ew}))};$1.displayName="CloseCircleFilled";const tw=ct.forwardRef($1);var nw={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 rw=nw;var I1=function(m,p){return ct.createElement(Ms,rn(rn({},m),{},{ref:p,icon:rw}))};I1.displayName="DownOutlined";const aw=ct.forwardRef(I1);var iw={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 lw=iw;var Y1=function(m,p){return ct.createElement(Ms,rn(rn({},m),{},{ref:p,icon:lw}))};Y1.displayName="PlusOutlined";const ow=ct.forwardRef(Y1);var uw={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 sw=uw;var Q1=function(m,p){return ct.createElement(Ms,rn(rn({},m),{},{ref:p,icon:sw}))};Q1.displayName="UpOutlined";const cw=ct.forwardRef(Q1);var fw={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 dw=fw;var W1=function(m,p){return ct.createElement(Ms,rn(rn({},m),{},{ref:p,icon:dw}))};W1.displayName="UploadOutlined";const pw=ct.forwardRef(W1),Ty={main:"szld-main",title:"szld-title",sub:"szld-sub"},{Title:vw,Text:hw}=Ye.Typography,mw=f=>{const{isBack:m=!0,title:p,extra:C,subTitle:R=null,className:M,titleStyle:S}=f,I=aR.useNavigate(),O=()=>typeof R=="string"?ve(hw,{className:Ty.sub,children:R}):R,j=()=>{I(-1)};return jn("div",{className:Os(Ty.main,{className:M}),children:[jn(Ye.Space,{children:[m&&ve(ZR,{style:{fontSize:24},onClick:j}),jn(vw,{level:2,className:Ty.title,style:S,children:[p,O()]})]}),C]})};var Ry=(f=>(f.zip="application/zip",f.png="image/png",f.jpg="image/jpg",f.jpeg="image/jpeg",f.pdf="application/pdf",f.doc="application/msword",f.docx="application/vnd.openxmlformats-officedocument.wordprocessingml.document",f.pptx="application/vnd.openxmlformats-officedocument.presentationml.presentation",f.ppt="application/vnd.ms-powerpoint",f.xlsx="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",f.xls="application/vnd.ms-excel",f.txt="text/plain",f.csv="text/csv",f.svg="image/svg+xml",f))(Ry||{});const wy=new Map(Object.entries(Ry));var Ns=(f=>(f.zip=".zip",f.png=".png",f.jpg=".jpg",f.jpeg=".jpeg",f.pdf=".pdf",f.doc=".doc",f.docx=".docx",f.ppt=".ppt",f.pptx=".pptx",f.xls=".xls",f.xlsx=".xlsx",f.txt=".txt",f.csv=".csv",f.svg=".svg",f.rar=".rar",f))(Ns||{});const yw=Object.freeze(Object.defineProperty({__proto__:null,FileType:Ry,FileTypeMap:wy,FileSuffix:Ns},Symbol.toStringTag,{value:"Module"})),gw=f=>{if(!Of.isObject(f))return f;const m=f;return Of.pick(m,Of.keys(m).filter(p=>!Of.isNil(m[p])))},G1=f=>new Promise((m,p)=>{const C=new FileReader;C.readAsDataURL(f),C.onload=()=>m(C.result),C.onerror=R=>p(R)}),av=f=>{var m;if(f)return"."+((m=f.split(".").at(-1))==null?void 0:m.toLowerCase())},Sw=f=>{if(f){if(f.startsWith("http")){const m=f.split(".").at(-1);if(m&&wy.has(m))return wy.get(m)}if(f.startsWith("data:")&&f.includes("base64")){const m=f.indexOf(";base64"),p=f.slice(0,m).split(":");if(p[1])return p[1]}}},Cw=(f,m)=>{const p=typeof m=="object"?JSON.stringify(m):m;localStorage.setItem(f,p)},Ew=f=>{let p=localStorage.getItem(f);return typeof p=="string"&&(p=xy(p)),p||null},bw=f=>{localStorage.removeItem(f)},Tw=(f,m)=>{const p=typeof m=="object"?JSON.stringify(m):m;sessionStorage.setItem(f,p)},Rw=f=>{let p=sessionStorage.getItem(f);return typeof p=="string"&&(p=xy(p)),p||null},ww=f=>{sessionStorage.removeItem(f)},xw=(f,m)=>{const p=[];for(let C=0;C<m.length;C++)p.findIndex(R=>R[f]===m[C][f])<0&&p.push(m[C]);return p},xy=f=>{if(!f)return null;if(typeof f=="object")return f;if(typeof f=="string"){let m=f;try{m=JSON.parse(f)}catch(p){console.log(p)}return m}},_w=Object.freeze(Object.defineProperty({__proto__:null,filterObject:gw,getBase64:G1,getFileSuffix:av,getFileType:Sw,setLocalStorage:Cw,getLocalStorage:Ew,removeLocalStorage:bw,setSessionStorage:Tw,getSessionStorage:Rw,removeSessionStorage:ww,arrayDeduplication:xw,JSONParse:xy},Symbol.toStringTag,{value:"Module"}));var q1={exports:{}},na={},_y={exports:{}},ky={};var X1;function kw(){return X1||(X1=1,function(f){function m(te,xe){var ue=te.length;te.push(xe);e:for(;0<ue;){var st=ue-1>>>1,ft=te[st];if(0<R(ft,xe))te[st]=xe,te[ue]=ft,ue=st;else break e}}function p(te){return te.length===0?null:te[0]}function C(te){if(te.length===0)return null;var xe=te[0],ue=te.pop();if(ue!==xe){te[0]=ue;e:for(var st=0,ft=te.length,Cn=ft>>>1;st<Cn;){var Bn=2*(st+1)-1,aa=te[Bn],ln=Bn+1,Tr=te[ln];if(0>R(aa,ue))ln<ft&&0>R(Tr,aa)?(te[st]=Tr,te[ln]=ue,st=ln):(te[st]=aa,te[Bn]=ue,st=Bn);else if(ln<ft&&0>R(Tr,ue))te[st]=Tr,te[ln]=ue,st=ln;else break e}}return xe}function R(te,xe){var ue=te.sortIndex-xe.sortIndex;return ue!==0?ue:te.id-xe.id}if(typeof performance=="object"&&typeof performance.now=="function"){var M=performance;f.unstable_now=function(){return M.now()}}else{var S=Date,I=S.now();f.unstable_now=function(){return S.now()-I}}var O=[],j=[],ee=1,W=null,ne=3,Q=!1,oe=!1,He=!1,Ee=typeof setTimeout=="function"?setTimeout:null,it=typeof clearTimeout=="function"?clearTimeout:null,Ae=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function he(te){for(var xe=p(j);xe!==null;){if(xe.callback===null)C(j);else if(xe.startTime<=te)C(j),xe.sortIndex=xe.expirationTime,m(O,xe);else break;xe=p(j)}}function Ne(te){if(He=!1,he(te),!oe)if(p(O)!==null)oe=!0,Dt(Y);else{var xe=p(j);xe!==null&&Vn(Ne,xe.startTime-te)}}function Y(te,xe){oe=!1,He&&(He=!1,it(Kt),Kt=-1),Q=!0;var ue=ne;try{for(he(xe),W=p(O);W!==null&&(!(W.expirationTime>xe)||te&&!vt());){var st=W.callback;if(typeof st=="function"){W.callback=null,ne=W.priorityLevel;var ft=st(W.expirationTime<=xe);xe=f.unstable_now(),typeof ft=="function"?W.callback=ft:W===p(O)&&C(O),he(xe)}else C(O);W=p(O)}if(W!==null)var Cn=!0;else{var Bn=p(j);Bn!==null&&Vn(Ne,Bn.startTime-xe),Cn=!1}return Cn}finally{W=null,ne=ue,Q=!1}}var at=!1,$e=null,Kt=-1,an=5,zt=-1;function vt(){return!(f.unstable_now()-zt<an)}function Zt(){if($e!==null){var te=f.unstable_now();zt=te;var xe=!0;try{xe=$e(!0,te)}finally{xe?Ve():(at=!1,$e=null)}}else at=!1}var Ve;if(typeof Ae=="function")Ve=function(){Ae(Zt)};else if(typeof MessageChannel<"u"){var et=new MessageChannel,dn=et.port2;et.port1.onmessage=Zt,Ve=function(){dn.postMessage(null)}}else Ve=function(){Ee(Zt,0)};function Dt(te){$e=te,at||(at=!0,Ve())}function Vn(te,xe){Kt=Ee(function(){te(f.unstable_now())},xe)}f.unstable_IdlePriority=5,f.unstable_ImmediatePriority=1,f.unstable_LowPriority=4,f.unstable_NormalPriority=3,f.unstable_Profiling=null,f.unstable_UserBlockingPriority=2,f.unstable_cancelCallback=function(te){te.callback=null},f.unstable_continueExecution=function(){oe||Q||(oe=!0,Dt(Y))},f.unstable_forceFrameRate=function(te){0>te||125<te?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):an=0<te?Math.floor(1e3/te):5},f.unstable_getCurrentPriorityLevel=function(){return ne},f.unstable_getFirstCallbackNode=function(){return p(O)},f.unstable_next=function(te){switch(ne){case 1:case 2:case 3:var xe=3;break;default:xe=ne}var ue=ne;ne=xe;try{return te()}finally{ne=ue}},f.unstable_pauseExecution=function(){},f.unstable_requestPaint=function(){},f.unstable_runWithPriority=function(te,xe){switch(te){case 1:case 2:case 3:case 4:case 5:break;default:te=3}var ue=ne;ne=te;try{return xe()}finally{ne=ue}},f.unstable_scheduleCallback=function(te,xe,ue){var st=f.unstable_now();switch(typeof ue=="object"&&ue!==null?(ue=ue.delay,ue=typeof ue=="number"&&0<ue?st+ue:st):ue=st,te){case 1:var ft=-1;break;case 2:ft=250;break;case 5:ft=1073741823;break;case 4:ft=1e4;break;default:ft=5e3}return ft=ue+ft,te={id:ee++,callback:xe,priorityLevel:te,startTime:ue,expirationTime:ft,sortIndex:-1},ue>st?(te.sortIndex=ue,m(j,te),p(O)===null&&te===p(j)&&(He?(it(Kt),Kt=-1):He=!0,Vn(Ne,ue-st))):(te.sortIndex=ft,m(O,te),oe||Q||(oe=!0,Dt(Y))),te},f.unstable_shouldYield=vt,f.unstable_wrapCallback=function(te){var xe=ne;return function(){var ue=ne;ne=xe;try{return te.apply(this,arguments)}finally{ne=ue}}}}(ky)),ky}var Dy={};var K1;function Dw(){return K1||(K1=1,function(f){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 m=!1,p=!1,C=5;function R(ie,_e){var Ze=ie.length;ie.push(_e),I(ie,_e,Ze)}function M(ie){return ie.length===0?null:ie[0]}function S(ie){if(ie.length===0)return null;var _e=ie[0],Ze=ie.pop();return Ze!==_e&&(ie[0]=Ze,O(ie,Ze,0)),_e}function I(ie,_e,Ze){for(var Et=Ze;Et>0;){var Qt=Et-1>>>1,Dn=ie[Qt];if(j(Dn,_e)>0)ie[Qt]=_e,ie[Et]=Dn,Et=Qt;else return}}function O(ie,_e,Ze){for(var Et=Ze,Qt=ie.length,Dn=Qt>>>1;Et<Dn;){var un=(Et+1)*2-1,Rr=ie[un],At=un+1,Br=ie[At];if(j(Rr,_e)<0)At<Qt&&j(Br,Rr)<0?(ie[Et]=Br,ie[At]=_e,Et=At):(ie[Et]=Rr,ie[un]=_e,Et=un);else if(At<Qt&&j(Br,_e)<0)ie[Et]=Br,ie[At]=_e,Et=At;else return}}function j(ie,_e){var Ze=ie.sortIndex-_e.sortIndex;return Ze!==0?Ze:ie.id-_e.id}var ee=1,W=2,ne=3,Q=4,oe=5;function He(ie,_e){}var Ee=typeof performance=="object"&&typeof performance.now=="function";if(Ee){var it=performance;f.unstable_now=function(){return it.now()}}else{var Ae=Date,he=Ae.now();f.unstable_now=function(){return Ae.now()-he}}var Ne=1073741823,Y=-1,at=250,$e=5e3,Kt=1e4,an=Ne,zt=[],vt=[],Zt=1,Ve=null,et=ne,dn=!1,Dt=!1,Vn=!1,te=typeof setTimeout=="function"?setTimeout:null,xe=typeof clearTimeout=="function"?clearTimeout:null,ue=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function st(ie){for(var _e=M(vt);_e!==null;){if(_e.callback===null)S(vt);else if(_e.startTime<=ie)S(vt),_e.sortIndex=_e.expirationTime,R(zt,_e);else return;_e=M(vt)}}function ft(ie){if(Vn=!1,st(ie),!Dt)if(M(zt)!==null)Dt=!0,Oa(Cn);else{var _e=M(vt);_e!==null&&vn(ft,_e.startTime-ie)}}function Cn(ie,_e){Dt=!1,Vn&&(Vn=!1,Vr()),dn=!0;var Ze=et;try{var Et;if(!p)return Bn(ie,_e)}finally{Ve=null,et=Ze,dn=!1}}function Bn(ie,_e){var Ze=_e;for(st(Ze),Ve=M(zt);Ve!==null&&!m&&!(Ve.expirationTime>Ze&&(!ie||ka()));){var Et=Ve.callback;if(typeof Et=="function"){Ve.callback=null,et=Ve.priorityLevel;var Qt=Ve.expirationTime<=Ze,Dn=Et(Qt);Ze=f.unstable_now(),typeof Dn=="function"?Ve.callback=Dn:Ve===M(zt)&&S(zt),st(Ze)}else S(zt);Ve=M(zt)}if(Ve!==null)return!0;var un=M(vt);return un!==null&&vn(ft,un.startTime-Ze),!1}function aa(ie,_e){switch(ie){case ee:case W:case ne:case Q:case oe:break;default:ie=ne}var Ze=et;et=ie;try{return _e()}finally{et=Ze}}function ln(ie){var _e;switch(et){case ee:case W:case ne:_e=ne;break;default:_e=et;break}var Ze=et;et=_e;try{return ie()}finally{et=Ze}}function Tr(ie){var _e=et;return function(){var Ze=et;et=_e;try{return ie.apply(this,arguments)}finally{et=Ze}}}function kn(ie,_e,Ze){var Et=f.unstable_now(),Qt;if(typeof Ze=="object"&&Ze!==null){var Dn=Ze.delay;typeof Dn=="number"&&Dn>0?Qt=Et+Dn:Qt=Et}else Qt=Et;var un;switch(ie){case ee:un=Y;break;case W:un=at;break;case oe:un=an;break;case Q:un=Kt;break;case ne:default:un=$e;break}var Rr=Qt+un,At={id:Zt++,callback:_e,priorityLevel:ie,startTime:Qt,expirationTime:Rr,sortIndex:-1};return Qt>Et?(At.sortIndex=Qt,R(vt,At),M(zt)===null&&At===M(vt)&&(Vn?Vr():Vn=!0,vn(ft,Qt-Et))):(At.sortIndex=Rr,R(zt,At),!Dt&&!dn&&(Dt=!0,Oa(Cn))),At}function er(){}function ia(){!Dt&&!dn&&(Dt=!0,Oa(Cn))}function tr(){return M(zt)}function me(ie){ie.callback=null}function Jt(){return et}var on=!1,pn=null,nr=-1,rr=C,la=-1;function ka(){var ie=f.unstable_now()-la;return!(ie<rr)}function si(){}function Ya(ie){if(ie<0||ie>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}ie>0?rr=Math.floor(1e3/ie):rr=C}var Da=function(){if(pn!==null){var ie=f.unstable_now();la=ie;var _e=!0,Ze=!0;try{Ze=pn(_e,ie)}finally{Ze?jr():(on=!1,pn=null)}}else on=!1},jr;if(typeof ue=="function")jr=function(){ue(Da)};else if(typeof MessageChannel<"u"){var Qa=new MessageChannel,Pr=Qa.port2;Qa.port1.onmessage=Da,jr=function(){Pr.postMessage(null)}}else jr=function(){te(Da,0)};function Oa(ie){pn=ie,on||(on=!0,jr())}function vn(ie,_e){nr=te(function(){ie(f.unstable_now())},_e)}function Vr(){xe(nr),nr=-1}var Hi=si,Ma=null;f.unstable_IdlePriority=oe,f.unstable_ImmediatePriority=ee,f.unstable_LowPriority=Q,f.unstable_NormalPriority=ne,f.unstable_Profiling=Ma,f.unstable_UserBlockingPriority=W,f.unstable_cancelCallback=me,f.unstable_continueExecution=ia,f.unstable_forceFrameRate=Ya,f.unstable_getCurrentPriorityLevel=Jt,f.unstable_getFirstCallbackNode=tr,f.unstable_next=ln,f.unstable_pauseExecution=er,f.unstable_requestPaint=Hi,f.unstable_runWithPriority=aa,f.unstable_scheduleCallback=kn,f.unstable_shouldYield=ka,f.unstable_wrapCallback=Tr,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(Dy)),Dy}var Z1;function J1(){return Z1||(Z1=1,function(f){process.env.NODE_ENV==="production"?f.exports=kw():f.exports=Dw()}(_y)),_y.exports}var eC;function Ow(){if(eC)return na;eC=1;var f=Ke,m=J1();function p(n){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+n,l=1;l<arguments.length;l++)r+="&args[]="+encodeURIComponent(arguments[l]);return"Minified React error #"+n+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var C=new Set,R={};function M(n,r){S(n,r),S(n+"Capture",r)}function S(n,r){for(R[n]=r,n=0;n<r.length;n++)C.add(r[n])}var I=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),O=Object.prototype.hasOwnProperty,j=/^[: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]*$/,ee={},W={};function ne(n){return O.call(W,n)?!0:O.call(ee,n)?!1:j.test(n)?W[n]=!0:(ee[n]=!0,!1)}function Q(n,r,l,u){if(l!==null&&l.type===0)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":return u?!1:l!==null?!l.acceptsBooleans:(n=n.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-");default:return!1}}function oe(n,r,l,u){if(r===null||typeof r>"u"||Q(n,r,l,u))return!0;if(u)return!1;if(l!==null)switch(l.type){case 3:return!r;case 4:return r===!1;case 5:return isNaN(r);case 6:return isNaN(r)||1>r}return!1}function He(n,r,l,u,c,v,g){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=u,this.attributeNamespace=c,this.mustUseProperty=l,this.propertyName=n,this.type=r,this.sanitizeURL=v,this.removeEmptyString=g}var Ee={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){Ee[n]=new He(n,0,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var r=n[0];Ee[r]=new He(r,1,!1,n[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){Ee[n]=new He(n,2,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){Ee[n]=new He(n,2,!1,n,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(n){Ee[n]=new He(n,3,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){Ee[n]=new He(n,3,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){Ee[n]=new He(n,4,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){Ee[n]=new He(n,6,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){Ee[n]=new He(n,5,!1,n.toLowerCase(),null,!1,!1)});var it=/[\-:]([a-z])/g;function Ae(n){return n[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(n){var r=n.replace(it,Ae);Ee[r]=new He(r,1,!1,n,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n){var r=n.replace(it,Ae);Ee[r]=new He(r,1,!1,n,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(n){var r=n.replace(it,Ae);Ee[r]=new He(r,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){Ee[n]=new He(n,1,!1,n.toLowerCase(),null,!1,!1)}),Ee.xlinkHref=new He("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){Ee[n]=new He(n,1,!1,n.toLowerCase(),null,!0,!0)});function he(n,r,l,u){var c=Ee.hasOwnProperty(r)?Ee[r]:null;(c!==null?c.type!==0:u||!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(oe(r,l,c,u)&&(l=null),u||c===null?ne(r)&&(l===null?n.removeAttribute(r):n.setAttribute(r,""+l)):c.mustUseProperty?n[c.propertyName]=l===null?c.type===3?!1:"":l:(r=c.attributeName,u=c.attributeNamespace,l===null?n.removeAttribute(r):(c=c.type,l=c===3||c===4&&l===!0?"":""+l,u?n.setAttributeNS(u,r,l):n.setAttribute(r,l))))}var Ne=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Y=Symbol.for("react.element"),at=Symbol.for("react.portal"),$e=Symbol.for("react.fragment"),Kt=Symbol.for("react.strict_mode"),an=Symbol.for("react.profiler"),zt=Symbol.for("react.provider"),vt=Symbol.for("react.context"),Zt=Symbol.for("react.forward_ref"),Ve=Symbol.for("react.suspense"),et=Symbol.for("react.suspense_list"),dn=Symbol.for("react.memo"),Dt=Symbol.for("react.lazy"),Vn=Symbol.for("react.offscreen"),te=Symbol.iterator;function xe(n){return n===null||typeof n!="object"?null:(n=te&&n[te]||n["@@iterator"],typeof n=="function"?n:null)}var ue=Object.assign,st;function ft(n){if(st===void 0)try{throw Error()}catch(l){var r=l.stack.trim().match(/\n( *(at )?)/);st=r&&r[1]||""}return`
|
|
67
|
+
`+st+n}var Cn=!1;function Bn(n,r){if(!n||Cn)return"";Cn=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(r)if(r=function(){throw Error()},Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(r,[])}catch(H){var u=H}Reflect.construct(n,[],r)}else{try{r.call()}catch(H){u=H}n.call(r.prototype)}else{try{throw Error()}catch(H){u=H}n()}}catch(H){if(H&&u&&typeof H.stack=="string"){for(var c=H.stack.split(`
|
|
68
|
+
`),v=u.stack.split(`
|
|
69
|
+
`),g=c.length-1,T=v.length-1;1<=g&&0<=T&&c[g]!==v[T];)T--;for(;1<=g&&0<=T;g--,T--)if(c[g]!==v[T]){if(g!==1||T!==1)do if(g--,T--,0>T||c[g]!==v[T]){var x=`
|
|
70
|
+
`+c[g].replace(" at new "," at ");return n.displayName&&x.includes("<anonymous>")&&(x=x.replace("<anonymous>",n.displayName)),x}while(1<=g&&0<=T);break}}}finally{Cn=!1,Error.prepareStackTrace=l}return(n=n?n.displayName||n.name:"")?ft(n):""}function aa(n){switch(n.tag){case 5:return ft(n.type);case 16:return ft("Lazy");case 13:return ft("Suspense");case 19:return ft("SuspenseList");case 0:case 2:case 15:return n=Bn(n.type,!1),n;case 11:return n=Bn(n.type.render,!1),n;case 1:return n=Bn(n.type,!0),n;default:return""}}function ln(n){if(n==null)return null;if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case $e:return"Fragment";case at:return"Portal";case an:return"Profiler";case Kt:return"StrictMode";case Ve:return"Suspense";case et:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case vt:return(n.displayName||"Context")+".Consumer";case zt:return(n._context.displayName||"Context")+".Provider";case Zt:var r=n.render;return n=n.displayName,n||(n=r.displayName||r.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case dn:return r=n.displayName||null,r!==null?r:ln(n.type)||"Memo";case Dt:r=n._payload,n=n._init;try{return ln(n(r))}catch{}}return null}function Tr(n){var r=n.type;switch(n.tag){case 24:return"Cache";case 9:return(r.displayName||"Context")+".Consumer";case 10:return(r._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return n=r.render,n=n.displayName||n.name||"",r.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case 7:return"Fragment";case 5:return r;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ln(r);case 8:return r===Kt?"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 r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r}return null}function kn(n){switch(typeof n){case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function er(n){var r=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function ia(n){var r=er(n)?"checked":"value",l=Object.getOwnPropertyDescriptor(n.constructor.prototype,r),u=""+n[r];if(!n.hasOwnProperty(r)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var c=l.get,v=l.set;return Object.defineProperty(n,r,{configurable:!0,get:function(){return c.call(this)},set:function(g){u=""+g,v.call(this,g)}}),Object.defineProperty(n,r,{enumerable:l.enumerable}),{getValue:function(){return u},setValue:function(g){u=""+g},stopTracking:function(){n._valueTracker=null,delete n[r]}}}}function tr(n){n._valueTracker||(n._valueTracker=ia(n))}function me(n){if(!n)return!1;var r=n._valueTracker;if(!r)return!0;var l=r.getValue(),u="";return n&&(u=er(n)?n.checked?"true":"false":n.value),n=u,n!==l?(r.setValue(n),!0):!1}function Jt(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}function on(n,r){var l=r.checked;return ue({},r,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:l??n._wrapperState.initialChecked})}function pn(n,r){var l=r.defaultValue==null?"":r.defaultValue,u=r.checked!=null?r.checked:r.defaultChecked;l=kn(r.value!=null?r.value:l),n._wrapperState={initialChecked:u,initialValue:l,controlled:r.type==="checkbox"||r.type==="radio"?r.checked!=null:r.value!=null}}function nr(n,r){r=r.checked,r!=null&&he(n,"checked",r,!1)}function rr(n,r){nr(n,r);var l=kn(r.value),u=r.type;if(l!=null)u==="number"?(l===0&&n.value===""||n.value!=l)&&(n.value=""+l):n.value!==""+l&&(n.value=""+l);else if(u==="submit"||u==="reset"){n.removeAttribute("value");return}r.hasOwnProperty("value")?ka(n,r.type,l):r.hasOwnProperty("defaultValue")&&ka(n,r.type,kn(r.defaultValue)),r.checked==null&&r.defaultChecked!=null&&(n.defaultChecked=!!r.defaultChecked)}function la(n,r,l){if(r.hasOwnProperty("value")||r.hasOwnProperty("defaultValue")){var u=r.type;if(!(u!=="submit"&&u!=="reset"||r.value!==void 0&&r.value!==null))return;r=""+n._wrapperState.initialValue,l||r===n.value||(n.value=r),n.defaultValue=r}l=n.name,l!==""&&(n.name=""),n.defaultChecked=!!n._wrapperState.initialChecked,l!==""&&(n.name=l)}function ka(n,r,l){(r!=="number"||Jt(n.ownerDocument)!==n)&&(l==null?n.defaultValue=""+n._wrapperState.initialValue:n.defaultValue!==""+l&&(n.defaultValue=""+l))}var si=Array.isArray;function Ya(n,r,l,u){if(n=n.options,r){r={};for(var c=0;c<l.length;c++)r["$"+l[c]]=!0;for(l=0;l<n.length;l++)c=r.hasOwnProperty("$"+n[l].value),n[l].selected!==c&&(n[l].selected=c),c&&u&&(n[l].defaultSelected=!0)}else{for(l=""+kn(l),r=null,c=0;c<n.length;c++){if(n[c].value===l){n[c].selected=!0,u&&(n[c].defaultSelected=!0);return}r!==null||n[c].disabled||(r=n[c])}r!==null&&(r.selected=!0)}}function Da(n,r){if(r.dangerouslySetInnerHTML!=null)throw Error(p(91));return ue({},r,{value:void 0,defaultValue:void 0,children:""+n._wrapperState.initialValue})}function jr(n,r){var l=r.value;if(l==null){if(l=r.children,r=r.defaultValue,l!=null){if(r!=null)throw Error(p(92));if(si(l)){if(1<l.length)throw Error(p(93));l=l[0]}r=l}r==null&&(r=""),l=r}n._wrapperState={initialValue:kn(l)}}function Qa(n,r){var l=kn(r.value),u=kn(r.defaultValue);l!=null&&(l=""+l,l!==n.value&&(n.value=l),r.defaultValue==null&&n.defaultValue!==l&&(n.defaultValue=l)),u!=null&&(n.defaultValue=""+u)}function Pr(n){var r=n.textContent;r===n._wrapperState.initialValue&&r!==""&&r!==null&&(n.value=r)}function Oa(n){switch(n){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 vn(n,r){return n==null||n==="http://www.w3.org/1999/xhtml"?Oa(r):n==="http://www.w3.org/2000/svg"&&r==="foreignObject"?"http://www.w3.org/1999/xhtml":n}var Vr,Hi=function(n){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(r,l,u,c){MSApp.execUnsafeLocalFunction(function(){return n(r,l,u,c)})}:n}(function(n,r){if(n.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in n)n.innerHTML=r;else{for(Vr=Vr||document.createElement("div"),Vr.innerHTML="<svg>"+r.valueOf().toString()+"</svg>",r=Vr.firstChild;n.firstChild;)n.removeChild(n.firstChild);for(;r.firstChild;)n.appendChild(r.firstChild)}});function Ma(n,r){if(r){var l=n.firstChild;if(l&&l===n.lastChild&&l.nodeType===3){l.nodeValue=r;return}}n.textContent=r}var ie={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},_e=["Webkit","ms","Moz","O"];Object.keys(ie).forEach(function(n){_e.forEach(function(r){r=r+n.charAt(0).toUpperCase()+n.substring(1),ie[r]=ie[n]})});function Ze(n,r,l){return r==null||typeof r=="boolean"||r===""?"":l||typeof r!="number"||r===0||ie.hasOwnProperty(n)&&ie[n]?(""+r).trim():r+"px"}function Et(n,r){n=n.style;for(var l in r)if(r.hasOwnProperty(l)){var u=l.indexOf("--")===0,c=Ze(l,r[l],u);l==="float"&&(l="cssFloat"),u?n.setProperty(l,c):n[l]=c}}var Qt=ue({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 Dn(n,r){if(r){if(Qt[n]&&(r.children!=null||r.dangerouslySetInnerHTML!=null))throw Error(p(137,n));if(r.dangerouslySetInnerHTML!=null){if(r.children!=null)throw Error(p(60));if(typeof r.dangerouslySetInnerHTML!="object"||!("__html"in r.dangerouslySetInnerHTML))throw Error(p(61))}if(r.style!=null&&typeof r.style!="object")throw Error(p(62))}}function un(n,r){if(n.indexOf("-")===-1)return typeof r.is=="string";switch(n){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Rr=null;function At(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var Br=null,Ot=null,Ut=null;function So(n){if(n=$u(n)){if(typeof Br!="function")throw Error(p(280));var r=n.stateNode;r&&(r=ke(r),Br(n.stateNode,n.type,r))}}function wl(n){Ot?Ut?Ut.push(n):Ut=[n]:Ot=n}function Co(){if(Ot){var n=Ot,r=Ut;if(Ut=Ot=null,So(n),r)for(n=0;n<r.length;n++)So(r[n])}}function Eu(n,r){return n(r)}function As(){}var xl=!1;function Eo(n,r,l){if(xl)return n(r,l);xl=!0;try{return Eu(n,r,l)}finally{xl=!1,(Ot!==null||Ut!==null)&&(As(),Co())}}function _l(n,r){var l=n.stateNode;if(l===null)return null;var u=ke(l);if(u===null)return null;l=u[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(n=n.type,u=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!u;break e;default:n=!1}if(n)return null;if(l&&typeof l!="function")throw Error(p(231,r,typeof l));return l}var bo=!1;if(I)try{var Wa={};Object.defineProperty(Wa,"passive",{get:function(){bo=!0}}),window.addEventListener("test",Wa,Wa),window.removeEventListener("test",Wa,Wa)}catch{bo=!1}function ji(n,r,l,u,c,v,g,T,x){var H=Array.prototype.slice.call(arguments,3);try{r.apply(l,H)}catch(q){this.onError(q)}}var $r=!1,Na=null,Pi=!1,w=null,X={onError:function(n){$r=!0,Na=n}};function le(n,r,l,u,c,v,g,T,x){$r=!1,Na=null,ji.apply(X,arguments)}function Oe(n,r,l,u,c,v,g,T,x){if(le.apply(this,arguments),$r){if($r){var H=Na;$r=!1,Na=null}else throw Error(p(198));Pi||(Pi=!0,w=H)}}function qe(n){var r=n,l=n;if(n.alternate)for(;r.return;)r=r.return;else{n=r;do r=n,r.flags&4098&&(l=r.return),n=r.return;while(n)}return r.tag===3?l:null}function dt(n){if(n.tag===13){var r=n.memoizedState;if(r===null&&(n=n.alternate,n!==null&&(r=n.memoizedState)),r!==null)return r.dehydrated}return null}function Xe(n){if(qe(n)!==n)throw Error(p(188))}function Le(n){var r=n.alternate;if(!r){if(r=qe(n),r===null)throw Error(p(188));return r!==n?null:n}for(var l=n,u=r;;){var c=l.return;if(c===null)break;var v=c.alternate;if(v===null){if(u=c.return,u!==null){l=u;continue}break}if(c.child===v.child){for(v=c.child;v;){if(v===l)return Xe(c),n;if(v===u)return Xe(c),r;v=v.sibling}throw Error(p(188))}if(l.return!==u.return)l=c,u=v;else{for(var g=!1,T=c.child;T;){if(T===l){g=!0,l=c,u=v;break}if(T===u){g=!0,u=c,l=v;break}T=T.sibling}if(!g){for(T=v.child;T;){if(T===l){g=!0,l=v,u=c;break}if(T===u){g=!0,u=v,l=c;break}T=T.sibling}if(!g)throw Error(p(189))}}if(l.alternate!==u)throw Error(p(190))}if(l.tag!==3)throw Error(p(188));return l.stateNode.current===l?n:r}function On(n){return n=Le(n),n!==null?Bt(n):null}function Bt(n){if(n.tag===5||n.tag===6)return n;for(n=n.child;n!==null;){var r=Bt(n);if(r!==null)return r;n=n.sibling}return null}var $t=m.unstable_scheduleCallback,dr=m.unstable_cancelCallback,Vi=m.unstable_shouldYield,Us=m.unstable_requestPaint,ht=m.unstable_now,Fy=m.unstable_getCurrentPriorityLevel,ci=m.unstable_ImmediatePriority,tt=m.unstable_UserBlockingPriority,Bi=m.unstable_NormalPriority,cv=m.unstable_LowPriority,Af=m.unstable_IdlePriority,bu=null,La=null;function fv(n){if(La&&typeof La.onCommitFiberRoot=="function")try{La.onCommitFiberRoot(bu,n,void 0,(n.current.flags&128)===128)}catch{}}var oa=Math.clz32?Math.clz32:Hy,dv=Math.log,pv=Math.LN2;function Hy(n){return n>>>=0,n===0?32:31-(dv(n)/pv|0)|0}var Fs=64,To=4194304;function kl(n){switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return n&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return n}}function za(n,r){var l=n.pendingLanes;if(l===0)return 0;var u=0,c=n.suspendedLanes,v=n.pingedLanes,g=l&268435455;if(g!==0){var T=g&~c;T!==0?u=kl(T):(v&=g,v!==0&&(u=kl(v)))}else g=l&~c,g!==0?u=kl(g):v!==0&&(u=kl(v));if(u===0)return 0;if(r!==0&&r!==u&&!(r&c)&&(c=u&-u,v=r&-r,c>=v||c===16&&(v&4194240)!==0))return r;if(u&4&&(u|=l&16),r=n.entangledLanes,r!==0)for(n=n.entanglements,r&=u;0<r;)l=31-oa(r),c=1<<l,u|=n[l],r&=~c;return u}function Uf(n,r){switch(n){case 1:case 2:case 4:return r+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 r+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 Hs(n,r){for(var l=n.suspendedLanes,u=n.pingedLanes,c=n.expirationTimes,v=n.pendingLanes;0<v;){var g=31-oa(v),T=1<<g,x=c[g];x===-1?(!(T&l)||T&u)&&(c[g]=Uf(T,r)):x<=r&&(n.expiredLanes|=T),v&=~T}}function Ff(n){return n=n.pendingLanes&-1073741825,n!==0?n:n&1073741824?1073741824:0}function js(){var n=Fs;return Fs<<=1,!(Fs&4194240)&&(Fs=64),n}function Hf(n){for(var r=[],l=0;31>l;l++)r.push(n);return r}function Dl(n,r,l){n.pendingLanes|=r,r!==536870912&&(n.suspendedLanes=0,n.pingedLanes=0),n=n.eventTimes,r=31-oa(r),n[r]=l}function jy(n,r){var l=n.pendingLanes&~r;n.pendingLanes=r,n.suspendedLanes=0,n.pingedLanes=0,n.expiredLanes&=r,n.mutableReadLanes&=r,n.entangledLanes&=r,r=n.entanglements;var u=n.eventTimes;for(n=n.expirationTimes;0<l;){var c=31-oa(l),v=1<<c;r[c]=0,u[c]=-1,n[c]=-1,l&=~v}}function Tu(n,r){var l=n.entangledLanes|=r;for(n=n.entanglements;l;){var u=31-oa(l),c=1<<u;c&r|n[u]&r&&(n[u]|=r),l&=~c}}var bt=0;function jf(n){return n&=-n,1<n?4<n?n&268435455?16:536870912:4:1}var vv,Ps,Mt,hv,Pf,Qe=!1,Ru=[],hn=null,ua=null,sa=null,wu=new Map,En=new Map,wt=[],Py="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 Aa(n,r){switch(n){case"focusin":case"focusout":hn=null;break;case"dragenter":case"dragleave":ua=null;break;case"mouseover":case"mouseout":sa=null;break;case"pointerover":case"pointerout":wu.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":En.delete(r.pointerId)}}function ar(n,r,l,u,c,v){return n===null||n.nativeEvent!==v?(n={blockedOn:r,domEventName:l,eventSystemFlags:u,nativeEvent:v,targetContainers:[c]},r!==null&&(r=$u(r),r!==null&&Ps(r)),n):(n.eventSystemFlags|=u,r=n.targetContainers,c!==null&&r.indexOf(c)===-1&&r.push(c),n)}function $i(n,r,l,u,c){switch(r){case"focusin":return hn=ar(hn,n,r,l,u,c),!0;case"dragenter":return ua=ar(ua,n,r,l,u,c),!0;case"mouseover":return sa=ar(sa,n,r,l,u,c),!0;case"pointerover":var v=c.pointerId;return wu.set(v,ar(wu.get(v)||null,n,r,l,u,c)),!0;case"gotpointercapture":return v=c.pointerId,En.set(v,ar(En.get(v)||null,n,r,l,u,c)),!0}return!1}function mv(n){var r=fa(n.target);if(r!==null){var l=qe(r);if(l!==null){if(r=l.tag,r===13){if(r=dt(l),r!==null){n.blockedOn=r,Pf(n.priority,function(){Mt(l)});return}}else if(r===3&&l.stateNode.current.memoizedState.isDehydrated){n.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}n.blockedOn=null}function Ro(n){if(n.blockedOn!==null)return!1;for(var r=n.targetContainers;0<r.length;){var l=$s(n.domEventName,n.eventSystemFlags,r[0],n.nativeEvent);if(l===null){l=n.nativeEvent;var u=new l.constructor(l.type,l);Rr=u,l.target.dispatchEvent(u),Rr=null}else return r=$u(l),r!==null&&Ps(r),n.blockedOn=l,!1;r.shift()}return!0}function Vf(n,r,l){Ro(n)&&l.delete(r)}function yv(){Qe=!1,hn!==null&&Ro(hn)&&(hn=null),ua!==null&&Ro(ua)&&(ua=null),sa!==null&&Ro(sa)&&(sa=null),wu.forEach(Vf),En.forEach(Vf)}function xu(n,r){n.blockedOn===r&&(n.blockedOn=null,Qe||(Qe=!0,m.unstable_scheduleCallback(m.unstable_NormalPriority,yv)))}function _u(n){function r(c){return xu(c,n)}if(0<Ru.length){xu(Ru[0],n);for(var l=1;l<Ru.length;l++){var u=Ru[l];u.blockedOn===n&&(u.blockedOn=null)}}for(hn!==null&&xu(hn,n),ua!==null&&xu(ua,n),sa!==null&&xu(sa,n),wu.forEach(r),En.forEach(r),l=0;l<wt.length;l++)u=wt[l],u.blockedOn===n&&(u.blockedOn=null);for(;0<wt.length&&(l=wt[0],l.blockedOn===null);)mv(l),l.blockedOn===null&&wt.shift()}var wo=Ne.ReactCurrentBatchConfig,Ol=!0;function gv(n,r,l,u){var c=bt,v=wo.transition;wo.transition=null;try{bt=1,Bs(n,r,l,u)}finally{bt=c,wo.transition=v}}function Vs(n,r,l,u){var c=bt,v=wo.transition;wo.transition=null;try{bt=4,Bs(n,r,l,u)}finally{bt=c,wo.transition=v}}function Bs(n,r,l,u){if(Ol){var c=$s(n,r,l,u);if(c===null)tc(n,r,u,ku,l),Aa(n,u);else if($i(c,n,r,l,u))u.stopPropagation();else if(Aa(n,u),r&4&&-1<Py.indexOf(n)){for(;c!==null;){var v=$u(c);if(v!==null&&vv(v),v=$s(n,r,l,u),v===null&&tc(n,r,u,ku,l),v===c)break;c=v}c!==null&&u.stopPropagation()}else tc(n,r,u,null,l)}}var ku=null;function $s(n,r,l,u){if(ku=null,n=At(u),n=fa(n),n!==null)if(r=qe(n),r===null)n=null;else if(l=r.tag,l===13){if(n=dt(r),n!==null)return n;n=null}else if(l===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;n=null}else r!==n&&(n=null);return ku=n,null}function Bf(n){switch(n){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(Fy()){case ci:return 1;case tt:return 4;case Bi:case cv:return 16;case Af:return 536870912;default:return 16}default:return 16}}var fi=null,Du=null,Ou=null;function $f(){if(Ou)return Ou;var n,r=Du,l=r.length,u,c="value"in fi?fi.value:fi.textContent,v=c.length;for(n=0;n<l&&r[n]===c[n];n++);var g=l-n;for(u=1;u<=g&&r[l-u]===c[v-u];u++);return Ou=c.slice(n,1<u?1-u:void 0)}function xo(n){var r=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&r===13&&(n=13)):n=r,n===10&&(n=13),32<=n||n===13?n:0}function Mu(){return!0}function Sv(){return!1}function Ir(n){function r(l,u,c,v,g){this._reactName=l,this._targetInst=c,this.type=u,this.nativeEvent=v,this.target=g,this.currentTarget=null;for(var T in n)n.hasOwnProperty(T)&&(l=n[T],this[T]=l?l(v):v[T]);return this.isDefaultPrevented=(v.defaultPrevented!=null?v.defaultPrevented:v.returnValue===!1)?Mu:Sv,this.isPropagationStopped=Sv,this}return ue(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=Mu)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Mu)},persist:function(){},isPersistent:Mu}),r}var Ii={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Is=Ir(Ii),_o=ue({},Ii,{view:0,detail:0}),Cv=Ir(_o),Ys,If,Nu,Mn=ue({},_o,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Gf,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==Nu&&(Nu&&n.type==="mousemove"?(Ys=n.screenX-Nu.screenX,If=n.screenY-Nu.screenY):If=Ys=0,Nu=n),Ys)},movementY:function(n){return"movementY"in n?n.movementY:If}}),Qs=Ir(Mn),Ev=ue({},Mn,{dataTransfer:0}),bv=Ir(Ev),Vy=ue({},_o,{relatedTarget:0}),Yi=Ir(Vy),Yf=ue({},Ii,{animationName:0,elapsedTime:0,pseudoElement:0}),Tv=Ir(Yf),By=ue({},Ii,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),$y=Ir(By),Iy=ue({},Ii,{data:0}),Qf=Ir(Iy),Wf={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Rv={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"},wv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function xv(n){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(n):(n=wv[n])?!!r[n]:!1}function Gf(){return xv}var di=ue({},_o,{key:function(n){if(n.key){var r=Wf[n.key]||n.key;if(r!=="Unidentified")return r}return n.type==="keypress"?(n=xo(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?Rv[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Gf,charCode:function(n){return n.type==="keypress"?xo(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?xo(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),Yy=Ir(di),qf=ue({},Mn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ws=Ir(qf),Xf=ue({},_o,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Gf}),Qy=Ir(Xf),Gs=ue({},Ii,{propertyName:0,elapsedTime:0,pseudoElement:0}),_v=Ir(Gs),wr=ue({},Mn,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),pi=Ir(wr),mn=[9,13,27,32],Ua=I&&"CompositionEvent"in window,Ml=null;I&&"documentMode"in document&&(Ml=document.documentMode);var qs=I&&"TextEvent"in window&&!Ml,kv=I&&(!Ua||Ml&&8<Ml&&11>=Ml),ko=String.fromCharCode(32),Dv=!1;function Ov(n,r){switch(n){case"keyup":return mn.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Xs(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var Do=!1;function Wy(n,r){switch(n){case"compositionend":return Xs(r);case"keypress":return r.which!==32?null:(Dv=!0,ko);case"textInput":return n=r.data,n===ko&&Dv?null:n;default:return null}}function Gy(n,r){if(Do)return n==="compositionend"||!Ua&&Ov(n,r)?(n=$f(),Ou=Du=fi=null,Do=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return kv&&r.locale!=="ko"?null:r.data;default:return null}}var Mv={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 Nv(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r==="input"?!!Mv[n.type]:r==="textarea"}function Lv(n,r,l,u){wl(u),r=Pu(r,"onChange"),0<r.length&&(l=new Is("onChange","change",null,l,u),n.push({event:l,listeners:r}))}var Lu=null,Oo=null;function Mo(n){ec(n,0)}function No(n){var r=zo(n);if(me(r))return n}function zv(n,r){if(n==="change")return r}var Kf=!1;if(I){var Zf;if(I){var Jf="oninput"in document;if(!Jf){var Av=document.createElement("div");Av.setAttribute("oninput","return;"),Jf=typeof Av.oninput=="function"}Zf=Jf}else Zf=!1;Kf=Zf&&(!document.documentMode||9<document.documentMode)}function Uv(){Lu&&(Lu.detachEvent("onpropertychange",Fv),Oo=Lu=null)}function Fv(n){if(n.propertyName==="value"&&No(Oo)){var r=[];Lv(r,Oo,n,At(n)),Eo(Mo,r)}}function qy(n,r,l){n==="focusin"?(Uv(),Lu=r,Oo=l,Lu.attachEvent("onpropertychange",Fv)):n==="focusout"&&Uv()}function Xy(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return No(Oo)}function Ky(n,r){if(n==="click")return No(r)}function Hv(n,r){if(n==="input"||n==="change")return No(r)}function Zy(n,r){return n===r&&(n!==0||1/n===1/r)||n!==n&&r!==r}var ca=typeof Object.is=="function"?Object.is:Zy;function zu(n,r){if(ca(n,r))return!0;if(typeof n!="object"||n===null||typeof r!="object"||r===null)return!1;var l=Object.keys(n),u=Object.keys(r);if(l.length!==u.length)return!1;for(u=0;u<l.length;u++){var c=l[u];if(!O.call(r,c)||!ca(n[c],r[c]))return!1}return!0}function jv(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function Pv(n,r){var l=jv(n);n=0;for(var u;l;){if(l.nodeType===3){if(u=n+l.textContent.length,n<=r&&u>=r)return{node:l,offset:r-n};n=u}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=jv(l)}}function Vv(n,r){return n&&r?n===r?!0:n&&n.nodeType===3?!1:r&&r.nodeType===3?Vv(n,r.parentNode):"contains"in n?n.contains(r):n.compareDocumentPosition?!!(n.compareDocumentPosition(r)&16):!1:!1}function Ks(){for(var n=window,r=Jt();r instanceof n.HTMLIFrameElement;){try{var l=typeof r.contentWindow.location.href=="string"}catch{l=!1}if(l)n=r.contentWindow;else break;r=Jt(n.document)}return r}function vi(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r&&(r==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||r==="textarea"||n.contentEditable==="true")}function Zs(n){var r=Ks(),l=n.focusedElem,u=n.selectionRange;if(r!==l&&l&&l.ownerDocument&&Vv(l.ownerDocument.documentElement,l)){if(u!==null&&vi(l)){if(r=u.start,n=u.end,n===void 0&&(n=r),"selectionStart"in l)l.selectionStart=r,l.selectionEnd=Math.min(n,l.value.length);else if(n=(r=l.ownerDocument||document)&&r.defaultView||window,n.getSelection){n=n.getSelection();var c=l.textContent.length,v=Math.min(u.start,c);u=u.end===void 0?v:Math.min(u.end,c),!n.extend&&v>u&&(c=u,u=v,v=c),c=Pv(l,v);var g=Pv(l,u);c&&g&&(n.rangeCount!==1||n.anchorNode!==c.node||n.anchorOffset!==c.offset||n.focusNode!==g.node||n.focusOffset!==g.offset)&&(r=r.createRange(),r.setStart(c.node,c.offset),n.removeAllRanges(),v>u?(n.addRange(r),n.extend(g.node,g.offset)):(r.setEnd(g.node,g.offset),n.addRange(r)))}}for(r=[],n=l;n=n.parentNode;)n.nodeType===1&&r.push({element:n,left:n.scrollLeft,top:n.scrollTop});for(typeof l.focus=="function"&&l.focus(),l=0;l<r.length;l++)n=r[l],n.element.scrollLeft=n.left,n.element.scrollTop=n.top}}var Bv=I&&"documentMode"in document&&11>=document.documentMode,Fa=null,ed=null,Au=null,td=!1;function $v(n,r,l){var u=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;td||Fa==null||Fa!==Jt(u)||(u=Fa,"selectionStart"in u&&vi(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),Au&&zu(Au,u)||(Au=u,u=Pu(ed,"onSelect"),0<u.length&&(r=new Is("onSelect","select",null,r,l),n.push({event:r,listeners:u}),r.target=Fa)))}function Js(n,r){var l={};return l[n.toLowerCase()]=r.toLowerCase(),l["Webkit"+n]="webkit"+r,l["Moz"+n]="moz"+r,l}var Nl={animationend:Js("Animation","AnimationEnd"),animationiteration:Js("Animation","AnimationIteration"),animationstart:Js("Animation","AnimationStart"),transitionend:Js("Transition","TransitionEnd")},nd={},rd={};I&&(rd=document.createElement("div").style,"AnimationEvent"in window||(delete Nl.animationend.animation,delete Nl.animationiteration.animation,delete Nl.animationstart.animation),"TransitionEvent"in window||delete Nl.transitionend.transition);function Nn(n){if(nd[n])return nd[n];if(!Nl[n])return n;var r=Nl[n],l;for(l in r)if(r.hasOwnProperty(l)&&l in rd)return nd[n]=r[l];return n}var ad=Nn("animationend"),Iv=Nn("animationiteration"),Yv=Nn("animationstart"),Qv=Nn("transitionend"),Wv=new Map,Gv="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 hi(n,r){Wv.set(n,r),M(r,[n])}for(var Uu=0;Uu<Gv.length;Uu++){var Ll=Gv[Uu],Jy=Ll.toLowerCase(),Fu=Ll[0].toUpperCase()+Ll.slice(1);hi(Jy,"on"+Fu)}hi(ad,"onAnimationEnd"),hi(Iv,"onAnimationIteration"),hi(Yv,"onAnimationStart"),hi("dblclick","onDoubleClick"),hi("focusin","onFocus"),hi("focusout","onBlur"),hi(Qv,"onTransitionEnd"),S("onMouseEnter",["mouseout","mouseover"]),S("onMouseLeave",["mouseout","mouseover"]),S("onPointerEnter",["pointerout","pointerover"]),S("onPointerLeave",["pointerout","pointerover"]),M("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),M("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),M("onBeforeInput",["compositionend","keypress","textInput","paste"]),M("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),M("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),M("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Hu="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(" "),eg=new Set("cancel close invalid load scroll toggle".split(" ").concat(Hu));function qv(n,r,l){var u=n.type||"unknown-event";n.currentTarget=l,Oe(u,r,void 0,n),n.currentTarget=null}function ec(n,r){r=(r&4)!==0;for(var l=0;l<n.length;l++){var u=n[l],c=u.event;u=u.listeners;e:{var v=void 0;if(r)for(var g=u.length-1;0<=g;g--){var T=u[g],x=T.instance,H=T.currentTarget;if(T=T.listener,x!==v&&c.isPropagationStopped())break e;qv(c,T,H),v=x}else for(g=0;g<u.length;g++){if(T=u[g],x=T.instance,H=T.currentTarget,T=T.listener,x!==v&&c.isPropagationStopped())break e;qv(c,T,H),v=x}}}if(Pi)throw n=w,Pi=!1,w=null,n}function Nt(n,r){var l=r[fd];l===void 0&&(l=r[fd]=new Set);var u=n+"__bubble";l.has(u)||(Xv(r,n,2,!1),l.add(u))}function Qi(n,r,l){var u=0;r&&(u|=4),Xv(l,n,u,r)}var mi="_reactListening"+Math.random().toString(36).slice(2);function Lo(n){if(!n[mi]){n[mi]=!0,C.forEach(function(l){l!=="selectionchange"&&(eg.has(l)||Qi(l,!1,n),Qi(l,!0,n))});var r=n.nodeType===9?n:n.ownerDocument;r===null||r[mi]||(r[mi]=!0,Qi("selectionchange",!1,r))}}function Xv(n,r,l,u){switch(Bf(r)){case 1:var c=gv;break;case 4:c=Vs;break;default:c=Bs}l=c.bind(null,r,l,n),c=void 0,!bo||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(c=!0),u?c!==void 0?n.addEventListener(r,l,{capture:!0,passive:c}):n.addEventListener(r,l,!0):c!==void 0?n.addEventListener(r,l,{passive:c}):n.addEventListener(r,l,!1)}function tc(n,r,l,u,c){var v=u;if(!(r&1)&&!(r&2)&&u!==null)e:for(;;){if(u===null)return;var g=u.tag;if(g===3||g===4){var T=u.stateNode.containerInfo;if(T===c||T.nodeType===8&&T.parentNode===c)break;if(g===4)for(g=u.return;g!==null;){var x=g.tag;if((x===3||x===4)&&(x=g.stateNode.containerInfo,x===c||x.nodeType===8&&x.parentNode===c))return;g=g.return}for(;T!==null;){if(g=fa(T),g===null)return;if(x=g.tag,x===5||x===6){u=v=g;continue e}T=T.parentNode}}u=u.return}Eo(function(){var H=v,q=At(l),K=[];e:{var G=Wv.get(n);if(G!==void 0){var ce=Is,ge=n;switch(n){case"keypress":if(xo(l)===0)break e;case"keydown":case"keyup":ce=Yy;break;case"focusin":ge="focus",ce=Yi;break;case"focusout":ge="blur",ce=Yi;break;case"beforeblur":case"afterblur":ce=Yi;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ce=Qs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ce=bv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ce=Qy;break;case ad:case Iv:case Yv:ce=Tv;break;case Qv:ce=_v;break;case"scroll":ce=Cv;break;case"wheel":ce=pi;break;case"copy":case"cut":case"paste":ce=$y;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ce=Ws}var be=(r&4)!==0,cn=!be&&n==="scroll",N=be?G!==null?G+"Capture":null:G;be=[];for(var k=H,A;k!==null;){A=k;var J=A.stateNode;if(A.tag===5&&J!==null&&(A=J,N!==null&&(J=_l(k,N),J!=null&&be.push(ju(k,J,A)))),cn)break;k=k.return}0<be.length&&(G=new ce(G,ge,null,l,q),K.push({event:G,listeners:be}))}}if(!(r&7)){e:{if(G=n==="mouseover"||n==="pointerover",ce=n==="mouseout"||n==="pointerout",G&&l!==Rr&&(ge=l.relatedTarget||l.fromElement)&&(fa(ge)||ge[yi]))break e;if((ce||G)&&(G=q.window===q?q:(G=q.ownerDocument)?G.defaultView||G.parentWindow:window,ce?(ge=l.relatedTarget||l.toElement,ce=H,ge=ge?fa(ge):null,ge!==null&&(cn=qe(ge),ge!==cn||ge.tag!==5&&ge.tag!==6)&&(ge=null)):(ce=null,ge=H),ce!==ge)){if(be=Qs,J="onMouseLeave",N="onMouseEnter",k="mouse",(n==="pointerout"||n==="pointerover")&&(be=Ws,J="onPointerLeave",N="onPointerEnter",k="pointer"),cn=ce==null?G:zo(ce),A=ge==null?G:zo(ge),G=new be(J,k+"leave",ce,l,q),G.target=cn,G.relatedTarget=A,J=null,fa(q)===H&&(be=new be(N,k+"enter",ge,l,q),be.target=A,be.relatedTarget=cn,J=be),cn=J,ce&&ge)t:{for(be=ce,N=ge,k=0,A=be;A;A=zl(A))k++;for(A=0,J=N;J;J=zl(J))A++;for(;0<k-A;)be=zl(be),k--;for(;0<A-k;)N=zl(N),A--;for(;k--;){if(be===N||N!==null&&be===N.alternate)break t;be=zl(be),N=zl(N)}be=null}else be=null;ce!==null&&id(K,G,ce,be,!1),ge!==null&&cn!==null&&id(K,cn,ge,be,!0)}}e:{if(G=H?zo(H):window,ce=G.nodeName&&G.nodeName.toLowerCase(),ce==="select"||ce==="input"&&G.type==="file")var Te=zv;else if(Nv(G))if(Kf)Te=Hv;else{Te=Xy;var Se=qy}else(ce=G.nodeName)&&ce.toLowerCase()==="input"&&(G.type==="checkbox"||G.type==="radio")&&(Te=Ky);if(Te&&(Te=Te(n,H))){Lv(K,Te,l,q);break e}Se&&Se(n,G,H),n==="focusout"&&(Se=G._wrapperState)&&Se.controlled&&G.type==="number"&&ka(G,"number",G.value)}switch(Se=H?zo(H):window,n){case"focusin":(Nv(Se)||Se.contentEditable==="true")&&(Fa=Se,ed=H,Au=null);break;case"focusout":Au=ed=Fa=null;break;case"mousedown":td=!0;break;case"contextmenu":case"mouseup":case"dragend":td=!1,$v(K,l,q);break;case"selectionchange":if(Bv)break;case"keydown":case"keyup":$v(K,l,q)}var we;if(Ua)e:{switch(n){case"compositionstart":var Pe="onCompositionStart";break e;case"compositionend":Pe="onCompositionEnd";break e;case"compositionupdate":Pe="onCompositionUpdate";break e}Pe=void 0}else Do?Ov(n,l)&&(Pe="onCompositionEnd"):n==="keydown"&&l.keyCode===229&&(Pe="onCompositionStart");Pe&&(kv&&l.locale!=="ko"&&(Do||Pe!=="onCompositionStart"?Pe==="onCompositionEnd"&&Do&&(we=$f()):(fi=q,Du="value"in fi?fi.value:fi.textContent,Do=!0)),Se=Pu(H,Pe),0<Se.length&&(Pe=new Qf(Pe,n,null,l,q),K.push({event:Pe,listeners:Se}),we?Pe.data=we:(we=Xs(l),we!==null&&(Pe.data=we)))),(we=qs?Wy(n,l):Gy(n,l))&&(H=Pu(H,"onBeforeInput"),0<H.length&&(q=new Qf("onBeforeInput","beforeinput",null,l,q),K.push({event:q,listeners:H}),q.data=we))}ec(K,r)})}function ju(n,r,l){return{instance:n,listener:r,currentTarget:l}}function Pu(n,r){for(var l=r+"Capture",u=[];n!==null;){var c=n,v=c.stateNode;c.tag===5&&v!==null&&(c=v,v=_l(n,l),v!=null&&u.unshift(ju(n,v,c)),v=_l(n,r),v!=null&&u.push(ju(n,v,c))),n=n.return}return u}function zl(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5);return n||null}function id(n,r,l,u,c){for(var v=r._reactName,g=[];l!==null&&l!==u;){var T=l,x=T.alternate,H=T.stateNode;if(x!==null&&x===u)break;T.tag===5&&H!==null&&(T=H,c?(x=_l(l,v),x!=null&&g.unshift(ju(l,x,T))):c||(x=_l(l,v),x!=null&&g.push(ju(l,x,T)))),l=l.return}g.length!==0&&n.push({event:r,listeners:g})}var ld=/\r\n?/g,tg=/\u0000|\uFFFD/g;function od(n){return(typeof n=="string"?n:""+n).replace(ld,`
|
|
71
|
+
`).replace(tg,"")}function nc(n,r,l){if(r=od(r),od(n)!==r&&l)throw Error(p(425))}function rc(){}var ud=null,Al=null;function Vu(n,r){return n==="textarea"||n==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var Ul=typeof setTimeout=="function"?setTimeout:void 0,Kv=typeof clearTimeout=="function"?clearTimeout:void 0,sd=typeof Promise=="function"?Promise:void 0,cd=typeof queueMicrotask=="function"?queueMicrotask:typeof sd<"u"?function(n){return sd.resolve(null).then(n).catch(ng)}:Ul;function ng(n){setTimeout(function(){throw n})}function Wi(n,r){var l=r,u=0;do{var c=l.nextSibling;if(n.removeChild(l),c&&c.nodeType===8)if(l=c.data,l==="/$"){if(u===0){n.removeChild(c),_u(r);return}u--}else l!=="$"&&l!=="$?"&&l!=="$!"||u++;l=c}while(l);_u(r)}function Ha(n){for(;n!=null;n=n.nextSibling){var r=n.nodeType;if(r===1||r===3)break;if(r===8){if(r=n.data,r==="$"||r==="$!"||r==="$?")break;if(r==="/$")return null}}return n}function Bu(n){n=n.previousSibling;for(var r=0;n;){if(n.nodeType===8){var l=n.data;if(l==="$"||l==="$!"||l==="$?"){if(r===0)return n;r--}else l==="/$"&&r++}n=n.previousSibling}return null}var Gi=Math.random().toString(36).slice(2),Ga="__reactFiber$"+Gi,Fl="__reactProps$"+Gi,yi="__reactContainer$"+Gi,fd="__reactEvents$"+Gi,rg="__reactListeners$"+Gi,dd="__reactHandles$"+Gi;function fa(n){var r=n[Ga];if(r)return r;for(var l=n.parentNode;l;){if(r=l[yi]||l[Ga]){if(l=r.alternate,r.child!==null||l!==null&&l.child!==null)for(n=Bu(n);n!==null;){if(l=n[Ga])return l;n=Bu(n)}return r}n=l,l=n.parentNode}return null}function $u(n){return n=n[Ga]||n[yi],!n||n.tag!==5&&n.tag!==6&&n.tag!==13&&n.tag!==3?null:n}function zo(n){if(n.tag===5||n.tag===6)return n.stateNode;throw Error(p(33))}function ke(n){return n[Fl]||null}var qi=[],Ft=-1;function We(n){return{current:n}}function gt(n){0>Ft||(n.current=qi[Ft],qi[Ft]=null,Ft--)}function St(n,r){Ft++,qi[Ft]=n.current,n.current=r}var qa={},je=We(qa),en=We(!1),xr=qa;function da(n,r){var l=n.type.contextTypes;if(!l)return qa;var u=n.stateNode;if(u&&u.__reactInternalMemoizedUnmaskedChildContext===r)return u.__reactInternalMemoizedMaskedChildContext;var c={},v;for(v in l)c[v]=r[v];return u&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=r,n.__reactInternalMemoizedMaskedChildContext=c),c}function It(n){return n=n.childContextTypes,n!=null}function pa(){gt(en),gt(je)}function Xi(n,r,l){if(je.current!==qa)throw Error(p(168));St(je,r),St(en,l)}function Iu(n,r,l){var u=n.stateNode;if(r=r.childContextTypes,typeof u.getChildContext!="function")return l;u=u.getChildContext();for(var c in u)if(!(c in r))throw Error(p(108,Tr(n)||"Unknown",c));return ue({},l,u)}function ac(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||qa,xr=je.current,St(je,n),St(en,en.current),!0}function Zv(n,r,l){var u=n.stateNode;if(!u)throw Error(p(169));l?(n=Iu(n,r,xr),u.__reactInternalMemoizedMergedChildContext=n,gt(en),gt(je),St(je,n)):gt(en),St(en,l)}var Yr=null,Ln=!1,Yu=!1;function pd(n){Yr===null?Yr=[n]:Yr.push(n)}function vd(n){Ln=!0,pd(n)}function _r(){if(!Yu&&Yr!==null){Yu=!0;var n=0,r=bt;try{var l=Yr;for(bt=1;n<l.length;n++){var u=l[n];do u=u(!0);while(u!==null)}Yr=null,Ln=!1}catch(c){throw Yr!==null&&(Yr=Yr.slice(n+1)),$t(ci,_r),c}finally{bt=r,Yu=!1}}return null}var Ki=[],kr=0,Hl=null,Ao=0,Dr=[],ir=0,va=null,$n=1,gi="";function Qr(n,r){Ki[kr++]=Ao,Ki[kr++]=Hl,Hl=n,Ao=r}function hd(n,r,l){Dr[ir++]=$n,Dr[ir++]=gi,Dr[ir++]=va,va=n;var u=$n;n=gi;var c=32-oa(u)-1;u&=~(1<<c),l+=1;var v=32-oa(r)+c;if(30<v){var g=c-c%5;v=(u&(1<<g)-1).toString(32),u>>=g,c-=g,$n=1<<32-oa(r)+c|l<<c|u,gi=v+n}else $n=1<<v|l<<c|u,gi=n}function ic(n){n.return!==null&&(Qr(n,1),hd(n,1,0))}function md(n){for(;n===Hl;)Hl=Ki[--kr],Ki[kr]=null,Ao=Ki[--kr],Ki[kr]=null;for(;n===va;)va=Dr[--ir],Dr[ir]=null,gi=Dr[--ir],Dr[ir]=null,$n=Dr[--ir],Dr[ir]=null}var Wr=null,Or=null,Ht=!1,ha=null;function yd(n,r){var l=Ea(5,null,null,0);l.elementType="DELETED",l.stateNode=r,l.return=n,r=n.deletions,r===null?(n.deletions=[l],n.flags|=16):r.push(l)}function Jv(n,r){switch(n.tag){case 5:var l=n.type;return r=r.nodeType!==1||l.toLowerCase()!==r.nodeName.toLowerCase()?null:r,r!==null?(n.stateNode=r,Wr=n,Or=Ha(r.firstChild),!0):!1;case 6:return r=n.pendingProps===""||r.nodeType!==3?null:r,r!==null?(n.stateNode=r,Wr=n,Or=null,!0):!1;case 13:return r=r.nodeType!==8?null:r,r!==null?(l=va!==null?{id:$n,overflow:gi}:null,n.memoizedState={dehydrated:r,treeContext:l,retryLane:1073741824},l=Ea(18,null,null,0),l.stateNode=r,l.return=n,n.child=l,Wr=n,Or=null,!0):!1;default:return!1}}function lc(n){return(n.mode&1)!==0&&(n.flags&128)===0}function oc(n){if(Ht){var r=Or;if(r){var l=r;if(!Jv(n,r)){if(lc(n))throw Error(p(418));r=Ha(l.nextSibling);var u=Wr;r&&Jv(n,r)?yd(u,l):(n.flags=n.flags&-4097|2,Ht=!1,Wr=n)}}else{if(lc(n))throw Error(p(418));n.flags=n.flags&-4097|2,Ht=!1,Wr=n}}}function eh(n){for(n=n.return;n!==null&&n.tag!==5&&n.tag!==3&&n.tag!==13;)n=n.return;Wr=n}function uc(n){if(n!==Wr)return!1;if(!Ht)return eh(n),Ht=!0,!1;var r;if((r=n.tag!==3)&&!(r=n.tag!==5)&&(r=n.type,r=r!=="head"&&r!=="body"&&!Vu(n.type,n.memoizedProps)),r&&(r=Or)){if(lc(n))throw th(),Error(p(418));for(;r;)yd(n,r),r=Ha(r.nextSibling)}if(eh(n),n.tag===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(p(317));e:{for(n=n.nextSibling,r=0;n;){if(n.nodeType===8){var l=n.data;if(l==="/$"){if(r===0){Or=Ha(n.nextSibling);break e}r--}else l!=="$"&&l!=="$!"&&l!=="$?"||r++}n=n.nextSibling}Or=null}}else Or=Wr?Ha(n.stateNode.nextSibling):null;return!0}function th(){for(var n=Or;n;)n=Ha(n.nextSibling)}function Wt(){Or=Wr=null,Ht=!1}function gd(n){ha===null?ha=[n]:ha.push(n)}var sc=Ne.ReactCurrentBatchConfig;function Gr(n,r){if(n&&n.defaultProps){r=ue({},r),n=n.defaultProps;for(var l in n)r[l]===void 0&&(r[l]=n[l]);return r}return r}var Xa=We(null),cc=null,Zi=null,Sd=null;function Cd(){Sd=Zi=cc=null}function Ji(n){var r=Xa.current;gt(Xa),n._currentValue=r}function zn(n,r,l){for(;n!==null;){var u=n.alternate;if((n.childLanes&r)!==r?(n.childLanes|=r,u!==null&&(u.childLanes|=r)):u!==null&&(u.childLanes&r)!==r&&(u.childLanes|=r),n===l)break;n=n.return}}function re(n,r){cc=n,Sd=Zi=null,n=n.dependencies,n!==null&&n.firstContext!==null&&(n.lanes&r&&(yn=!0),n.firstContext=null)}function sn(n){var r=n._currentValue;if(Sd!==n)if(n={context:n,memoizedValue:r,next:null},Zi===null){if(cc===null)throw Error(p(308));Zi=n,cc.dependencies={lanes:0,firstContext:n}}else Zi=Zi.next=n;return r}var In=null;function Ed(n){In===null?In=[n]:In.push(n)}function nh(n,r,l,u){var c=r.interleaved;return c===null?(l.next=l,Ed(r)):(l.next=c.next,c.next=l),r.interleaved=l,Si(n,u)}function Si(n,r){n.lanes|=r;var l=n.alternate;for(l!==null&&(l.lanes|=r),l=n,n=n.return;n!==null;)n.childLanes|=r,l=n.alternate,l!==null&&(l.childLanes|=r),l=n,n=n.return;return l.tag===3?l.stateNode:null}var el=!1;function bd(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function bn(n,r){n=n.updateQueue,r.updateQueue===n&&(r.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,effects:n.effects})}function Ci(n,r){return{eventTime:n,lane:r,tag:0,payload:null,callback:null,next:null}}function tl(n,r,l){var u=n.updateQueue;if(u===null)return null;if(u=u.shared,nt&2){var c=u.pending;return c===null?r.next=r:(r.next=c.next,c.next=r),u.pending=r,Si(n,l)}return c=u.interleaved,c===null?(r.next=r,Ed(u)):(r.next=c.next,c.next=r),u.interleaved=r,Si(n,l)}function fc(n,r,l){if(r=r.updateQueue,r!==null&&(r=r.shared,(l&4194240)!==0)){var u=r.lanes;u&=n.pendingLanes,l|=u,r.lanes=l,Tu(n,l)}}function Td(n,r){var l=n.updateQueue,u=n.alternate;if(u!==null&&(u=u.updateQueue,l===u)){var c=null,v=null;if(l=l.firstBaseUpdate,l!==null){do{var g={eventTime:l.eventTime,lane:l.lane,tag:l.tag,payload:l.payload,callback:l.callback,next:null};v===null?c=v=g:v=v.next=g,l=l.next}while(l!==null);v===null?c=v=r:v=v.next=r}else c=v=r;l={baseState:u.baseState,firstBaseUpdate:c,lastBaseUpdate:v,shared:u.shared,effects:u.effects},n.updateQueue=l;return}n=l.lastBaseUpdate,n===null?l.firstBaseUpdate=r:n.next=r,l.lastBaseUpdate=r}function nl(n,r,l,u){var c=n.updateQueue;el=!1;var v=c.firstBaseUpdate,g=c.lastBaseUpdate,T=c.shared.pending;if(T!==null){c.shared.pending=null;var x=T,H=x.next;x.next=null,g===null?v=H:g.next=H,g=x;var q=n.alternate;q!==null&&(q=q.updateQueue,T=q.lastBaseUpdate,T!==g&&(T===null?q.firstBaseUpdate=H:T.next=H,q.lastBaseUpdate=x))}if(v!==null){var K=c.baseState;g=0,q=H=x=null,T=v;do{var G=T.lane,ce=T.eventTime;if((u&G)===G){q!==null&&(q=q.next={eventTime:ce,lane:0,tag:T.tag,payload:T.payload,callback:T.callback,next:null});e:{var ge=n,be=T;switch(G=r,ce=l,be.tag){case 1:if(ge=be.payload,typeof ge=="function"){K=ge.call(ce,K,G);break e}K=ge;break e;case 3:ge.flags=ge.flags&-65537|128;case 0:if(ge=be.payload,G=typeof ge=="function"?ge.call(ce,K,G):ge,G==null)break e;K=ue({},K,G);break e;case 2:el=!0}}T.callback!==null&&T.lane!==0&&(n.flags|=64,G=c.effects,G===null?c.effects=[T]:G.push(T))}else ce={eventTime:ce,lane:G,tag:T.tag,payload:T.payload,callback:T.callback,next:null},q===null?(H=q=ce,x=K):q=q.next=ce,g|=G;if(T=T.next,T===null){if(T=c.shared.pending,T===null)break;G=T,T=G.next,G.next=null,c.lastBaseUpdate=G,c.shared.pending=null}}while(1);if(q===null&&(x=K),c.baseState=x,c.firstBaseUpdate=H,c.lastBaseUpdate=q,r=c.shared.interleaved,r!==null){c=r;do g|=c.lane,c=c.next;while(c!==r)}else v===null&&(c.shared.lanes=0);Ri|=g,n.lanes=g,n.memoizedState=K}}function jl(n,r,l){if(n=r.effects,r.effects=null,n!==null)for(r=0;r<n.length;r++){var u=n[r],c=u.callback;if(c!==null){if(u.callback=null,u=l,typeof c!="function")throw Error(p(191,c));c.call(u)}}}var rh=new f.Component().refs;function Rd(n,r,l,u){r=n.memoizedState,l=l(u,r),l=l==null?r:ue({},r,l),n.memoizedState=l,n.lanes===0&&(n.updateQueue.baseState=l)}var dc={isMounted:function(n){return(n=n._reactInternals)?qe(n)===n:!1},enqueueSetState:function(n,r,l){n=n._reactInternals;var u=sr(),c=gn(n),v=Ci(u,c);v.payload=r,l!=null&&(v.callback=l),r=tl(n,v,c),r!==null&&(cr(r,n,c,u),fc(r,n,c))},enqueueReplaceState:function(n,r,l){n=n._reactInternals;var u=sr(),c=gn(n),v=Ci(u,c);v.tag=1,v.payload=r,l!=null&&(v.callback=l),r=tl(n,v,c),r!==null&&(cr(r,n,c,u),fc(r,n,c))},enqueueForceUpdate:function(n,r){n=n._reactInternals;var l=sr(),u=gn(n),c=Ci(l,u);c.tag=2,r!=null&&(c.callback=r),r=tl(n,c,u),r!==null&&(cr(r,n,u,l),fc(r,n,u))}};function ah(n,r,l,u,c,v,g){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(u,v,g):r.prototype&&r.prototype.isPureReactComponent?!zu(l,u)||!zu(c,v):!0}function ih(n,r,l){var u=!1,c=qa,v=r.contextType;return typeof v=="object"&&v!==null?v=sn(v):(c=It(r)?xr:je.current,u=r.contextTypes,v=(u=u!=null)?da(n,c):qa),r=new r(l,v),n.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=dc,n.stateNode=r,r._reactInternals=n,u&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=c,n.__reactInternalMemoizedMaskedChildContext=v),r}function lh(n,r,l,u){n=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(l,u),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(l,u),r.state!==n&&dc.enqueueReplaceState(r,r.state,null)}function pc(n,r,l,u){var c=n.stateNode;c.props=l,c.state=n.memoizedState,c.refs=rh,bd(n);var v=r.contextType;typeof v=="object"&&v!==null?c.context=sn(v):(v=It(r)?xr:je.current,c.context=da(n,v)),c.state=n.memoizedState,v=r.getDerivedStateFromProps,typeof v=="function"&&(Rd(n,r,v,l),c.state=n.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(r=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),r!==c.state&&dc.enqueueReplaceState(c,c.state,null),nl(n,l,c,u),c.state=n.memoizedState),typeof c.componentDidMount=="function"&&(n.flags|=4194308)}function Uo(n,r,l){if(n=l.ref,n!==null&&typeof n!="function"&&typeof n!="object"){if(l._owner){if(l=l._owner,l){if(l.tag!==1)throw Error(p(309));var u=l.stateNode}if(!u)throw Error(p(147,n));var c=u,v=""+n;return r!==null&&r.ref!==null&&typeof r.ref=="function"&&r.ref._stringRef===v?r.ref:(r=function(g){var T=c.refs;T===rh&&(T=c.refs={}),g===null?delete T[v]:T[v]=g},r._stringRef=v,r)}if(typeof n!="string")throw Error(p(284));if(!l._owner)throw Error(p(290,n))}return n}function vc(n,r){throw n=Object.prototype.toString.call(r),Error(p(31,n==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":n))}function oh(n){var r=n._init;return r(n._payload)}function uh(n){function r(N,k){if(n){var A=N.deletions;A===null?(N.deletions=[k],N.flags|=16):A.push(k)}}function l(N,k){if(!n)return null;for(;k!==null;)r(N,k),k=k.sibling;return null}function u(N,k){for(N=new Map;k!==null;)k.key!==null?N.set(k.key,k):N.set(k.index,k),k=k.sibling;return N}function c(N,k){return N=cl(N,k),N.index=0,N.sibling=null,N}function v(N,k,A){return N.index=A,n?(A=N.alternate,A!==null?(A=A.index,A<k?(N.flags|=2,k):A):(N.flags|=2,k)):(N.flags|=1048576,k)}function g(N){return n&&N.alternate===null&&(N.flags|=2),N}function T(N,k,A,J){return k===null||k.tag!==6?(k=cs(A,N.mode,J),k.return=N,k):(k=c(k,A),k.return=N,k)}function x(N,k,A,J){var Te=A.type;return Te===$e?q(N,k,A.props.children,J,A.key):k!==null&&(k.elementType===Te||typeof Te=="object"&&Te!==null&&Te.$$typeof===Dt&&oh(Te)===k.type)?(J=c(k,A.props),J.ref=Uo(N,k,A),J.return=N,J):(J=Qc(A.type,A.key,A.props,null,N.mode,J),J.ref=Uo(N,k,A),J.return=N,J)}function H(N,k,A,J){return k===null||k.tag!==4||k.stateNode.containerInfo!==A.containerInfo||k.stateNode.implementation!==A.implementation?(k=ao(A,N.mode,J),k.return=N,k):(k=c(k,A.children||[]),k.return=N,k)}function q(N,k,A,J,Te){return k===null||k.tag!==7?(k=ro(A,N.mode,J,Te),k.return=N,k):(k=c(k,A),k.return=N,k)}function K(N,k,A){if(typeof k=="string"&&k!==""||typeof k=="number")return k=cs(""+k,N.mode,A),k.return=N,k;if(typeof k=="object"&&k!==null){switch(k.$$typeof){case Y:return A=Qc(k.type,k.key,k.props,null,N.mode,A),A.ref=Uo(N,null,k),A.return=N,A;case at:return k=ao(k,N.mode,A),k.return=N,k;case Dt:var J=k._init;return K(N,J(k._payload),A)}if(si(k)||xe(k))return k=ro(k,N.mode,A,null),k.return=N,k;vc(N,k)}return null}function G(N,k,A,J){var Te=k!==null?k.key:null;if(typeof A=="string"&&A!==""||typeof A=="number")return Te!==null?null:T(N,k,""+A,J);if(typeof A=="object"&&A!==null){switch(A.$$typeof){case Y:return A.key===Te?x(N,k,A,J):null;case at:return A.key===Te?H(N,k,A,J):null;case Dt:return Te=A._init,G(N,k,Te(A._payload),J)}if(si(A)||xe(A))return Te!==null?null:q(N,k,A,J,null);vc(N,A)}return null}function ce(N,k,A,J,Te){if(typeof J=="string"&&J!==""||typeof J=="number")return N=N.get(A)||null,T(k,N,""+J,Te);if(typeof J=="object"&&J!==null){switch(J.$$typeof){case Y:return N=N.get(J.key===null?A:J.key)||null,x(k,N,J,Te);case at:return N=N.get(J.key===null?A:J.key)||null,H(k,N,J,Te);case Dt:var Se=J._init;return ce(N,k,A,Se(J._payload),Te)}if(si(J)||xe(J))return N=N.get(A)||null,q(k,N,J,Te,null);vc(k,J)}return null}function ge(N,k,A,J){for(var Te=null,Se=null,we=k,Pe=k=0,Fn=null;we!==null&&Pe<A.length;Pe++){we.index>Pe?(Fn=we,we=null):Fn=we.sibling;var pt=G(N,we,A[Pe],J);if(pt===null){we===null&&(we=Fn);break}n&&we&&pt.alternate===null&&r(N,we),k=v(pt,k,Pe),Se===null?Te=pt:Se.sibling=pt,Se=pt,we=Fn}if(Pe===A.length)return l(N,we),Ht&&Qr(N,Pe),Te;if(we===null){for(;Pe<A.length;Pe++)we=K(N,A[Pe],J),we!==null&&(k=v(we,k,Pe),Se===null?Te=we:Se.sibling=we,Se=we);return Ht&&Qr(N,Pe),Te}for(we=u(N,we);Pe<A.length;Pe++)Fn=ce(we,N,Pe,A[Pe],J),Fn!==null&&(n&&Fn.alternate!==null&&we.delete(Fn.key===null?Pe:Fn.key),k=v(Fn,k,Pe),Se===null?Te=Fn:Se.sibling=Fn,Se=Fn);return n&&we.forEach(function(fl){return r(N,fl)}),Ht&&Qr(N,Pe),Te}function be(N,k,A,J){var Te=xe(A);if(typeof Te!="function")throw Error(p(150));if(A=Te.call(A),A==null)throw Error(p(151));for(var Se=Te=null,we=k,Pe=k=0,Fn=null,pt=A.next();we!==null&&!pt.done;Pe++,pt=A.next()){we.index>Pe?(Fn=we,we=null):Fn=we.sibling;var fl=G(N,we,pt.value,J);if(fl===null){we===null&&(we=Fn);break}n&&we&&fl.alternate===null&&r(N,we),k=v(fl,k,Pe),Se===null?Te=fl:Se.sibling=fl,Se=fl,we=Fn}if(pt.done)return l(N,we),Ht&&Qr(N,Pe),Te;if(we===null){for(;!pt.done;Pe++,pt=A.next())pt=K(N,pt.value,J),pt!==null&&(k=v(pt,k,Pe),Se===null?Te=pt:Se.sibling=pt,Se=pt);return Ht&&Qr(N,Pe),Te}for(we=u(N,we);!pt.done;Pe++,pt=A.next())pt=ce(we,N,Pe,pt.value,J),pt!==null&&(n&&pt.alternate!==null&&we.delete(pt.key===null?Pe:pt.key),k=v(pt,k,Pe),Se===null?Te=pt:Se.sibling=pt,Se=pt);return n&&we.forEach(function(Tg){return r(N,Tg)}),Ht&&Qr(N,Pe),Te}function cn(N,k,A,J){if(typeof A=="object"&&A!==null&&A.type===$e&&A.key===null&&(A=A.props.children),typeof A=="object"&&A!==null){switch(A.$$typeof){case Y:e:{for(var Te=A.key,Se=k;Se!==null;){if(Se.key===Te){if(Te=A.type,Te===$e){if(Se.tag===7){l(N,Se.sibling),k=c(Se,A.props.children),k.return=N,N=k;break e}}else if(Se.elementType===Te||typeof Te=="object"&&Te!==null&&Te.$$typeof===Dt&&oh(Te)===Se.type){l(N,Se.sibling),k=c(Se,A.props),k.ref=Uo(N,Se,A),k.return=N,N=k;break e}l(N,Se);break}else r(N,Se);Se=Se.sibling}A.type===$e?(k=ro(A.props.children,N.mode,J,A.key),k.return=N,N=k):(J=Qc(A.type,A.key,A.props,null,N.mode,J),J.ref=Uo(N,k,A),J.return=N,N=J)}return g(N);case at:e:{for(Se=A.key;k!==null;){if(k.key===Se)if(k.tag===4&&k.stateNode.containerInfo===A.containerInfo&&k.stateNode.implementation===A.implementation){l(N,k.sibling),k=c(k,A.children||[]),k.return=N,N=k;break e}else{l(N,k);break}else r(N,k);k=k.sibling}k=ao(A,N.mode,J),k.return=N,N=k}return g(N);case Dt:return Se=A._init,cn(N,k,Se(A._payload),J)}if(si(A))return ge(N,k,A,J);if(xe(A))return be(N,k,A,J);vc(N,A)}return typeof A=="string"&&A!==""||typeof A=="number"?(A=""+A,k!==null&&k.tag===6?(l(N,k.sibling),k=c(k,A),k.return=N,N=k):(l(N,k),k=cs(A,N.mode,J),k.return=N,N=k),g(N)):l(N,k)}return cn}var Fo=uh(!0),sh=uh(!1),Qu={},ja=We(Qu),Wu=We(Qu),Ho=We(Qu);function Pl(n){if(n===Qu)throw Error(p(174));return n}function wd(n,r){switch(St(Ho,r),St(Wu,n),St(ja,Qu),n=r.nodeType,n){case 9:case 11:r=(r=r.documentElement)?r.namespaceURI:vn(null,"");break;default:n=n===8?r.parentNode:r,r=n.namespaceURI||null,n=n.tagName,r=vn(r,n)}gt(ja),St(ja,r)}function rl(){gt(ja),gt(Wu),gt(Ho)}function Me(n){Pl(Ho.current);var r=Pl(ja.current),l=vn(r,n.type);r!==l&&(St(Wu,n),St(ja,l))}function Je(n){Wu.current===n&&(gt(ja),gt(Wu))}var ze=We(0);function Gt(n){for(var r=n;r!==null;){if(r.tag===13){var l=r.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||l.data==="$!"))return r}else if(r.tag===19&&r.memoizedProps.revealOrder!==void 0){if(r.flags&128)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var ma=[];function hc(){for(var n=0;n<ma.length;n++)ma[n]._workInProgressVersionPrimary=null;ma.length=0}var mc=Ne.ReactCurrentDispatcher,xd=Ne.ReactCurrentBatchConfig,Vl=0,jt=null,B=null,lt=null,Ue=!1,Ka=!1,qr=0,Bl=0;function Pt(){throw Error(p(321))}function $l(n,r){if(r===null)return!1;for(var l=0;l<r.length&&l<n.length;l++)if(!ca(n[l],r[l]))return!1;return!0}function al(n,r,l,u,c,v){if(Vl=v,jt=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,mc.current=n===null||n.memoizedState===null?ig:lg,n=l(u,c),Ka){v=0;do{if(Ka=!1,qr=0,25<=v)throw Error(p(301));v+=1,lt=B=null,r.updateQueue=null,mc.current=kd,n=l(u,c)}while(Ka)}if(mc.current=Nc,r=B!==null&&B.next!==null,Vl=0,lt=B=jt=null,Ue=!1,r)throw Error(p(300));return n}function Il(){var n=qr!==0;return qr=0,n}function ya(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return lt===null?jt.memoizedState=lt=n:lt=lt.next=n,lt}function Mr(){if(B===null){var n=jt.alternate;n=n!==null?n.memoizedState:null}else n=B.next;var r=lt===null?jt.memoizedState:lt.next;if(r!==null)lt=r,B=n;else{if(n===null)throw Error(p(310));B=n,n={memoizedState:B.memoizedState,baseState:B.baseState,baseQueue:B.baseQueue,queue:B.queue,next:null},lt===null?jt.memoizedState=lt=n:lt=lt.next=n}return lt}function Yl(n,r){return typeof r=="function"?r(n):r}function Gu(n){var r=Mr(),l=r.queue;if(l===null)throw Error(p(311));l.lastRenderedReducer=n;var u=B,c=u.baseQueue,v=l.pending;if(v!==null){if(c!==null){var g=c.next;c.next=v.next,v.next=g}u.baseQueue=c=v,l.pending=null}if(c!==null){v=c.next,u=u.baseState;var T=g=null,x=null,H=v;do{var q=H.lane;if((Vl&q)===q)x!==null&&(x=x.next={lane:0,action:H.action,hasEagerState:H.hasEagerState,eagerState:H.eagerState,next:null}),u=H.hasEagerState?H.eagerState:n(u,H.action);else{var K={lane:q,action:H.action,hasEagerState:H.hasEagerState,eagerState:H.eagerState,next:null};x===null?(T=x=K,g=u):x=x.next=K,jt.lanes|=q,Ri|=q}H=H.next}while(H!==null&&H!==v);x===null?g=u:x.next=T,ca(u,r.memoizedState)||(yn=!0),r.memoizedState=u,r.baseState=g,r.baseQueue=x,l.lastRenderedState=u}if(n=l.interleaved,n!==null){c=n;do v=c.lane,jt.lanes|=v,Ri|=v,c=c.next;while(c!==n)}else c===null&&(l.lanes=0);return[r.memoizedState,l.dispatch]}function qu(n){var r=Mr(),l=r.queue;if(l===null)throw Error(p(311));l.lastRenderedReducer=n;var u=l.dispatch,c=l.pending,v=r.memoizedState;if(c!==null){l.pending=null;var g=c=c.next;do v=n(v,g.action),g=g.next;while(g!==c);ca(v,r.memoizedState)||(yn=!0),r.memoizedState=v,r.baseQueue===null&&(r.baseState=v),l.lastRenderedState=v}return[v,u]}function yc(){}function gc(n,r){var l=jt,u=Mr(),c=r(),v=!ca(u.memoizedState,c);if(v&&(u.memoizedState=c,yn=!0),u=u.queue,Xu(Ec.bind(null,l,u,n),[n]),u.getSnapshot!==r||v||lt!==null&<.memoizedState.tag&1){if(l.flags|=2048,Ql(9,Cc.bind(null,l,u,c,r),void 0,null),qt===null)throw Error(p(349));Vl&30||Sc(l,r,c)}return c}function Sc(n,r,l){n.flags|=16384,n={getSnapshot:r,value:l},r=jt.updateQueue,r===null?(r={lastEffect:null,stores:null},jt.updateQueue=r,r.stores=[n]):(l=r.stores,l===null?r.stores=[n]:l.push(n))}function Cc(n,r,l,u){r.value=l,r.getSnapshot=u,bc(r)&&Tc(n)}function Ec(n,r,l){return l(function(){bc(r)&&Tc(n)})}function bc(n){var r=n.getSnapshot;n=n.value;try{var l=r();return!ca(n,l)}catch{return!0}}function Tc(n){var r=Si(n,1);r!==null&&cr(r,n,1,-1)}function Rc(n){var r=ya();return typeof n=="function"&&(n=n()),r.memoizedState=r.baseState=n,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Yl,lastRenderedState:n},r.queue=n,n=n.dispatch=Mc.bind(null,jt,n),[r.memoizedState,n]}function Ql(n,r,l,u){return n={tag:n,create:r,destroy:l,deps:u,next:null},r=jt.updateQueue,r===null?(r={lastEffect:null,stores:null},jt.updateQueue=r,r.lastEffect=n.next=n):(l=r.lastEffect,l===null?r.lastEffect=n.next=n:(u=l.next,l.next=n,n.next=u,r.lastEffect=n)),n}function wc(){return Mr().memoizedState}function Wl(n,r,l,u){var c=ya();jt.flags|=n,c.memoizedState=Ql(1|r,l,void 0,u===void 0?null:u)}function Ei(n,r,l,u){var c=Mr();u=u===void 0?null:u;var v=void 0;if(B!==null){var g=B.memoizedState;if(v=g.destroy,u!==null&&$l(u,g.deps)){c.memoizedState=Ql(r,l,v,u);return}}jt.flags|=n,c.memoizedState=Ql(1|r,l,v,u)}function xc(n,r){return Wl(8390656,8,n,r)}function Xu(n,r){return Ei(2048,8,n,r)}function _c(n,r){return Ei(4,2,n,r)}function kc(n,r){return Ei(4,4,n,r)}function _d(n,r){if(typeof r=="function")return n=n(),r(n),function(){r(null)};if(r!=null)return n=n(),r.current=n,function(){r.current=null}}function jo(n,r,l){return l=l!=null?l.concat([n]):null,Ei(4,4,_d.bind(null,r,n),l)}function Dc(){}function Po(n,r){var l=Mr();r=r===void 0?null:r;var u=l.memoizedState;return u!==null&&r!==null&&$l(r,u[1])?u[0]:(l.memoizedState=[n,r],n)}function il(n,r){var l=Mr();r=r===void 0?null:r;var u=l.memoizedState;return u!==null&&r!==null&&$l(r,u[1])?u[0]:(n=n(),l.memoizedState=[n,r],n)}function Nr(n,r,l){return Vl&21?(ca(l,r)||(l=js(),jt.lanes|=l,Ri|=l,n.baseState=!0),r):(n.baseState&&(n.baseState=!1,yn=!0),n.memoizedState=l)}function ag(n,r){var l=bt;bt=l!==0&&4>l?l:4,n(!0);var u=xd.transition;xd.transition={};try{n(!1),r()}finally{bt=l,xd.transition=u}}function Lt(){return Mr().memoizedState}function Oc(n,r,l){var u=gn(n);if(l={lane:u,action:l,hasEagerState:!1,eagerState:null,next:null},Vo(n))Ku(r,l);else if(l=nh(n,r,l,u),l!==null){var c=sr();cr(l,n,u,c),ch(l,r,u)}}function Mc(n,r,l){var u=gn(n),c={lane:u,action:l,hasEagerState:!1,eagerState:null,next:null};if(Vo(n))Ku(r,c);else{var v=n.alternate;if(n.lanes===0&&(v===null||v.lanes===0)&&(v=r.lastRenderedReducer,v!==null))try{var g=r.lastRenderedState,T=v(g,l);if(c.hasEagerState=!0,c.eagerState=T,ca(T,g)){var x=r.interleaved;x===null?(c.next=c,Ed(r)):(c.next=x.next,x.next=c),r.interleaved=c;return}}catch{}finally{}l=nh(n,r,c,u),l!==null&&(c=sr(),cr(l,n,u,c),ch(l,r,u))}}function Vo(n){var r=n.alternate;return n===jt||r!==null&&r===jt}function Ku(n,r){Ka=Ue=!0;var l=n.pending;l===null?r.next=r:(r.next=l.next,l.next=r),n.pending=r}function ch(n,r,l){if(l&4194240){var u=r.lanes;u&=n.pendingLanes,l|=u,r.lanes=l,Tu(n,l)}}var Nc={readContext:sn,useCallback:Pt,useContext:Pt,useEffect:Pt,useImperativeHandle:Pt,useInsertionEffect:Pt,useLayoutEffect:Pt,useMemo:Pt,useReducer:Pt,useRef:Pt,useState:Pt,useDebugValue:Pt,useDeferredValue:Pt,useTransition:Pt,useMutableSource:Pt,useSyncExternalStore:Pt,useId:Pt,unstable_isNewReconciler:!1},ig={readContext:sn,useCallback:function(n,r){return ya().memoizedState=[n,r===void 0?null:r],n},useContext:sn,useEffect:xc,useImperativeHandle:function(n,r,l){return l=l!=null?l.concat([n]):null,Wl(4194308,4,_d.bind(null,r,n),l)},useLayoutEffect:function(n,r){return Wl(4194308,4,n,r)},useInsertionEffect:function(n,r){return Wl(4,2,n,r)},useMemo:function(n,r){var l=ya();return r=r===void 0?null:r,n=n(),l.memoizedState=[n,r],n},useReducer:function(n,r,l){var u=ya();return r=l!==void 0?l(r):r,u.memoizedState=u.baseState=r,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:r},u.queue=n,n=n.dispatch=Oc.bind(null,jt,n),[u.memoizedState,n]},useRef:function(n){var r=ya();return n={current:n},r.memoizedState=n},useState:Rc,useDebugValue:Dc,useDeferredValue:function(n){return ya().memoizedState=n},useTransition:function(){var n=Rc(!1),r=n[0];return n=ag.bind(null,n[1]),ya().memoizedState=n,[r,n]},useMutableSource:function(){},useSyncExternalStore:function(n,r,l){var u=jt,c=ya();if(Ht){if(l===void 0)throw Error(p(407));l=l()}else{if(l=r(),qt===null)throw Error(p(349));Vl&30||Sc(u,r,l)}c.memoizedState=l;var v={value:l,getSnapshot:r};return c.queue=v,xc(Ec.bind(null,u,v,n),[n]),u.flags|=2048,Ql(9,Cc.bind(null,u,v,l,r),void 0,null),l},useId:function(){var n=ya(),r=qt.identifierPrefix;if(Ht){var l=gi,u=$n;l=(u&~(1<<32-oa(u)-1)).toString(32)+l,r=":"+r+"R"+l,l=qr++,0<l&&(r+="H"+l.toString(32)),r+=":"}else l=Bl++,r=":"+r+"r"+l.toString(32)+":";return n.memoizedState=r},unstable_isNewReconciler:!1},lg={readContext:sn,useCallback:Po,useContext:sn,useEffect:Xu,useImperativeHandle:jo,useInsertionEffect:_c,useLayoutEffect:kc,useMemo:il,useReducer:Gu,useRef:wc,useState:function(){return Gu(Yl)},useDebugValue:Dc,useDeferredValue:function(n){var r=Mr();return Nr(r,B.memoizedState,n)},useTransition:function(){var n=Gu(Yl)[0],r=Mr().memoizedState;return[n,r]},useMutableSource:yc,useSyncExternalStore:gc,useId:Lt,unstable_isNewReconciler:!1},kd={readContext:sn,useCallback:Po,useContext:sn,useEffect:Xu,useImperativeHandle:jo,useInsertionEffect:_c,useLayoutEffect:kc,useMemo:il,useReducer:qu,useRef:wc,useState:function(){return qu(Yl)},useDebugValue:Dc,useDeferredValue:function(n){var r=Mr();return B===null?r.memoizedState=n:Nr(r,B.memoizedState,n)},useTransition:function(){var n=qu(Yl)[0],r=Mr().memoizedState;return[n,r]},useMutableSource:yc,useSyncExternalStore:gc,useId:Lt,unstable_isNewReconciler:!1};function Bo(n,r){try{var l="",u=r;do l+=aa(u),u=u.return;while(u);var c=l}catch(v){c=`
|
|
72
|
+
Error generating stack: `+v.message+`
|
|
73
|
+
`+v.stack}return{value:n,source:r,stack:c,digest:null}}function Zu(n,r,l){return{value:n,source:null,stack:l??null,digest:r??null}}function Lc(n,r){try{console.error(r.value)}catch(l){setTimeout(function(){throw l})}}var og=typeof WeakMap=="function"?WeakMap:Map;function fh(n,r,l){l=Ci(-1,l),l.tag=3,l.payload={element:null};var u=r.value;return l.callback=function(){Pc||(Pc=!0,Zl=u),Lc(n,r)},l}function Ju(n,r,l){l=Ci(-1,l),l.tag=3;var u=n.type.getDerivedStateFromError;if(typeof u=="function"){var c=r.value;l.payload=function(){return u(c)},l.callback=function(){Lc(n,r)}}var v=n.stateNode;return v!==null&&typeof v.componentDidCatch=="function"&&(l.callback=function(){Lc(n,r),typeof u!="function"&&(ei===null?ei=new Set([this]):ei.add(this));var g=r.stack;this.componentDidCatch(r.value,{componentStack:g!==null?g:""})}),l}function dh(n,r,l){var u=n.pingCache;if(u===null){u=n.pingCache=new og;var c=new Set;u.set(r,c)}else c=u.get(r),c===void 0&&(c=new Set,u.set(r,c));c.has(l)||(c.add(l),n=vg.bind(null,n,r,l),r.then(n,n))}function Dd(n){do{var r;if((r=n.tag===13)&&(r=n.memoizedState,r=r!==null?r.dehydrated!==null:!0),r)return n;n=n.return}while(n!==null);return null}function Od(n,r,l,u,c){return n.mode&1?(n.flags|=65536,n.lanes=c,n):(n===r?n.flags|=65536:(n.flags|=128,l.flags|=131072,l.flags&=-52805,l.tag===1&&(l.alternate===null?l.tag=17:(r=Ci(-1,1),r.tag=2,tl(l,r,1))),l.lanes|=1),n)}var ug=Ne.ReactCurrentOwner,yn=!1;function Tn(n,r,l,u){r.child=n===null?sh(r,null,l,u):Fo(r,n.child,l,u)}function ll(n,r,l,u,c){l=l.render;var v=r.ref;return re(r,c),u=al(n,r,l,u,v,c),l=Il(),n!==null&&!yn?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~c,Yn(n,r,c)):(Ht&&l&&ic(r),r.flags|=1,Tn(n,r,u,c),r.child)}function zc(n,r,l,u,c){if(n===null){var v=l.type;return typeof v=="function"&&!qd(v)&&v.defaultProps===void 0&&l.compare===null&&l.defaultProps===void 0?(r.tag=15,r.type=v,Lr(n,r,v,u,c)):(n=Qc(l.type,null,u,r,r.mode,c),n.ref=r.ref,n.return=r,r.child=n)}if(v=n.child,!(n.lanes&c)){var g=v.memoizedProps;if(l=l.compare,l=l!==null?l:zu,l(g,u)&&n.ref===r.ref)return Yn(n,r,c)}return r.flags|=1,n=cl(v,u),n.ref=r.ref,n.return=r,r.child=n}function Lr(n,r,l,u,c){if(n!==null){var v=n.memoizedProps;if(zu(v,u)&&n.ref===r.ref)if(yn=!1,r.pendingProps=u=v,(n.lanes&c)!==0)n.flags&131072&&(yn=!0);else return r.lanes=n.lanes,Yn(n,r,c)}return $o(n,r,l,u,c)}function Gl(n,r,l){var u=r.pendingProps,c=u.children,v=n!==null?n.memoizedState:null;if(u.mode==="hidden")if(!(r.mode&1))r.memoizedState={baseLanes:0,cachePool:null,transitions:null},St(qo,Xr),Xr|=l;else{if(!(l&1073741824))return n=v!==null?v.baseLanes|l:l,r.lanes=r.childLanes=1073741824,r.memoizedState={baseLanes:n,cachePool:null,transitions:null},r.updateQueue=null,St(qo,Xr),Xr|=n,null;r.memoizedState={baseLanes:0,cachePool:null,transitions:null},u=v!==null?v.baseLanes:l,St(qo,Xr),Xr|=u}else v!==null?(u=v.baseLanes|l,r.memoizedState=null):u=l,St(qo,Xr),Xr|=u;return Tn(n,r,c,l),r.child}function Ge(n,r){var l=r.ref;(n===null&&l!==null||n!==null&&n.ref!==l)&&(r.flags|=512,r.flags|=2097152)}function $o(n,r,l,u,c){var v=It(l)?xr:je.current;return v=da(r,v),re(r,c),l=al(n,r,l,u,v,c),u=Il(),n!==null&&!yn?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~c,Yn(n,r,c)):(Ht&&u&&ic(r),r.flags|=1,Tn(n,r,l,c),r.child)}function Md(n,r,l,u,c){if(It(l)){var v=!0;ac(r)}else v=!1;if(re(r,c),r.stateNode===null)lr(n,r),ih(r,l,u),pc(r,l,u,c),u=!0;else if(n===null){var g=r.stateNode,T=r.memoizedProps;g.props=T;var x=g.context,H=l.contextType;typeof H=="object"&&H!==null?H=sn(H):(H=It(l)?xr:je.current,H=da(r,H));var q=l.getDerivedStateFromProps,K=typeof q=="function"||typeof g.getSnapshotBeforeUpdate=="function";K||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(T!==u||x!==H)&&lh(r,g,u,H),el=!1;var G=r.memoizedState;g.state=G,nl(r,u,g,c),x=r.memoizedState,T!==u||G!==x||en.current||el?(typeof q=="function"&&(Rd(r,l,q,u),x=r.memoizedState),(T=el||ah(r,l,T,u,G,x,H))?(K||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount()),typeof g.componentDidMount=="function"&&(r.flags|=4194308)):(typeof g.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=u,r.memoizedState=x),g.props=u,g.state=x,g.context=H,u=T):(typeof g.componentDidMount=="function"&&(r.flags|=4194308),u=!1)}else{g=r.stateNode,bn(n,r),T=r.memoizedProps,H=r.type===r.elementType?T:Gr(r.type,T),g.props=H,K=r.pendingProps,G=g.context,x=l.contextType,typeof x=="object"&&x!==null?x=sn(x):(x=It(l)?xr:je.current,x=da(r,x));var ce=l.getDerivedStateFromProps;(q=typeof ce=="function"||typeof g.getSnapshotBeforeUpdate=="function")||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(T!==K||G!==x)&&lh(r,g,u,x),el=!1,G=r.memoizedState,g.state=G,nl(r,u,g,c);var ge=r.memoizedState;T!==K||G!==ge||en.current||el?(typeof ce=="function"&&(Rd(r,l,ce,u),ge=r.memoizedState),(H=el||ah(r,l,H,u,G,ge,x)||!1)?(q||typeof g.UNSAFE_componentWillUpdate!="function"&&typeof g.componentWillUpdate!="function"||(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(u,ge,x),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(u,ge,x)),typeof g.componentDidUpdate=="function"&&(r.flags|=4),typeof g.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof g.componentDidUpdate!="function"||T===n.memoizedProps&&G===n.memoizedState||(r.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||T===n.memoizedProps&&G===n.memoizedState||(r.flags|=1024),r.memoizedProps=u,r.memoizedState=ge),g.props=u,g.state=ge,g.context=x,u=H):(typeof g.componentDidUpdate!="function"||T===n.memoizedProps&&G===n.memoizedState||(r.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||T===n.memoizedProps&&G===n.memoizedState||(r.flags|=1024),u=!1)}return ph(n,r,l,u,v,c)}function ph(n,r,l,u,c,v){Ge(n,r);var g=(r.flags&128)!==0;if(!u&&!g)return c&&Zv(r,l,!1),Yn(n,r,v);u=r.stateNode,ug.current=r;var T=g&&typeof l.getDerivedStateFromError!="function"?null:u.render();return r.flags|=1,n!==null&&g?(r.child=Fo(r,n.child,null,v),r.child=Fo(r,null,T,v)):Tn(n,r,T,v),r.memoizedState=u.state,c&&Zv(r,l,!0),r.child}function vh(n){var r=n.stateNode;r.pendingContext?Xi(n,r.pendingContext,r.pendingContext!==r.context):r.context&&Xi(n,r.context,!1),wd(n,r.containerInfo)}function Ac(n,r,l,u,c){return Wt(),gd(c),r.flags|=256,Tn(n,r,l,u),r.child}var ql={dehydrated:null,treeContext:null,retryLane:0};function Nd(n){return{baseLanes:n,cachePool:null,transitions:null}}function Ld(n,r,l){var u=r.pendingProps,c=ze.current,v=!1,g=(r.flags&128)!==0,T;if((T=g)||(T=n!==null&&n.memoizedState===null?!1:(c&2)!==0),T?(v=!0,r.flags&=-129):(n===null||n.memoizedState!==null)&&(c|=1),St(ze,c&1),n===null)return oc(r),n=r.memoizedState,n!==null&&(n=n.dehydrated,n!==null)?(r.mode&1?n.data==="$!"?r.lanes=8:r.lanes=1073741824:r.lanes=1,null):(g=u.children,n=u.fallback,v?(u=r.mode,v=r.child,g={mode:"hidden",children:g},!(u&1)&&v!==null?(v.childLanes=0,v.pendingProps=g):v=ss(g,u,0,null),n=ro(n,u,l,null),v.return=r,n.return=r,v.sibling=n,r.child=v,r.child.memoizedState=Nd(l),r.memoizedState=ql,n):zd(r,g));if(c=n.memoizedState,c!==null&&(T=c.dehydrated,T!==null))return sg(n,r,g,u,T,c,l);if(v){v=u.fallback,g=r.mode,c=n.child,T=c.sibling;var x={mode:"hidden",children:u.children};return!(g&1)&&r.child!==c?(u=r.child,u.childLanes=0,u.pendingProps=x,r.deletions=null):(u=cl(c,x),u.subtreeFlags=c.subtreeFlags&14680064),T!==null?v=cl(T,v):(v=ro(v,g,l,null),v.flags|=2),v.return=r,u.return=r,u.sibling=v,r.child=u,u=v,v=r.child,g=n.child.memoizedState,g=g===null?Nd(l):{baseLanes:g.baseLanes|l,cachePool:null,transitions:g.transitions},v.memoizedState=g,v.childLanes=n.childLanes&~l,r.memoizedState=ql,u}return v=n.child,n=v.sibling,u=cl(v,{mode:"visible",children:u.children}),!(r.mode&1)&&(u.lanes=l),u.return=r,u.sibling=null,n!==null&&(l=r.deletions,l===null?(r.deletions=[n],r.flags|=16):l.push(n)),r.child=u,r.memoizedState=null,u}function zd(n,r){return r=ss({mode:"visible",children:r},n.mode,0,null),r.return=n,n.child=r}function Io(n,r,l,u){return u!==null&&gd(u),Fo(r,n.child,null,l),n=zd(r,r.pendingProps.children),n.flags|=2,r.memoizedState=null,n}function sg(n,r,l,u,c,v,g){if(l)return r.flags&256?(r.flags&=-257,u=Zu(Error(p(422))),Io(n,r,g,u)):r.memoizedState!==null?(r.child=n.child,r.flags|=128,null):(v=u.fallback,c=r.mode,u=ss({mode:"visible",children:u.children},c,0,null),v=ro(v,c,g,null),v.flags|=2,u.return=r,v.return=r,u.sibling=v,r.child=u,r.mode&1&&Fo(r,n.child,null,g),r.child.memoizedState=Nd(g),r.memoizedState=ql,v);if(!(r.mode&1))return Io(n,r,g,null);if(c.data==="$!"){if(u=c.nextSibling&&c.nextSibling.dataset,u)var T=u.dgst;return u=T,v=Error(p(419)),u=Zu(v,u,void 0),Io(n,r,g,u)}if(T=(g&n.childLanes)!==0,yn||T){if(u=qt,u!==null){switch(g&-g){case 4:c=2;break;case 16:c=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:c=32;break;case 536870912:c=268435456;break;default:c=0}c=c&(u.suspendedLanes|g)?0:c,c!==0&&c!==v.retryLane&&(v.retryLane=c,Si(n,c),cr(u,n,c,-1))}return Qd(),u=Zu(Error(p(421))),Io(n,r,g,u)}return c.data==="$?"?(r.flags|=128,r.child=n.child,r=hg.bind(null,n),c._reactRetry=r,null):(n=v.treeContext,Or=Ha(c.nextSibling),Wr=r,Ht=!0,ha=null,n!==null&&(Dr[ir++]=$n,Dr[ir++]=gi,Dr[ir++]=va,$n=n.id,gi=n.overflow,va=r),r=zd(r,u.children),r.flags|=4096,r)}function Ad(n,r,l){n.lanes|=r;var u=n.alternate;u!==null&&(u.lanes|=r),zn(n.return,r,l)}function Uc(n,r,l,u,c){var v=n.memoizedState;v===null?n.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:u,tail:l,tailMode:c}:(v.isBackwards=r,v.rendering=null,v.renderingStartTime=0,v.last=u,v.tail=l,v.tailMode=c)}function Ud(n,r,l){var u=r.pendingProps,c=u.revealOrder,v=u.tail;if(Tn(n,r,u.children,l),u=ze.current,u&2)u=u&1|2,r.flags|=128;else{if(n!==null&&n.flags&128)e:for(n=r.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&Ad(n,l,r);else if(n.tag===19)Ad(n,l,r);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===r)break e;for(;n.sibling===null;){if(n.return===null||n.return===r)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}u&=1}if(St(ze,u),!(r.mode&1))r.memoizedState=null;else switch(c){case"forwards":for(l=r.child,c=null;l!==null;)n=l.alternate,n!==null&&Gt(n)===null&&(c=l),l=l.sibling;l=c,l===null?(c=r.child,r.child=null):(c=l.sibling,l.sibling=null),Uc(r,!1,c,l,v);break;case"backwards":for(l=null,c=r.child,r.child=null;c!==null;){if(n=c.alternate,n!==null&&Gt(n)===null){r.child=c;break}n=c.sibling,c.sibling=l,l=c,c=n}Uc(r,!0,l,null,v);break;case"together":Uc(r,!1,null,null,void 0);break;default:r.memoizedState=null}return r.child}function lr(n,r){!(r.mode&1)&&n!==null&&(n.alternate=null,r.alternate=null,r.flags|=2)}function Yn(n,r,l){if(n!==null&&(r.dependencies=n.dependencies),Ri|=r.lanes,!(l&r.childLanes))return null;if(n!==null&&r.child!==n.child)throw Error(p(153));if(r.child!==null){for(n=r.child,l=cl(n,n.pendingProps),r.child=l,l.return=r;n.sibling!==null;)n=n.sibling,l=l.sibling=cl(n,n.pendingProps),l.return=r;l.sibling=null}return r.child}function bi(n,r,l){switch(r.tag){case 3:vh(r),Wt();break;case 5:Me(r);break;case 1:It(r.type)&&ac(r);break;case 4:wd(r,r.stateNode.containerInfo);break;case 10:var u=r.type._context,c=r.memoizedProps.value;St(Xa,u._currentValue),u._currentValue=c;break;case 13:if(u=r.memoizedState,u!==null)return u.dehydrated!==null?(St(ze,ze.current&1),r.flags|=128,null):l&r.child.childLanes?Ld(n,r,l):(St(ze,ze.current&1),n=Yn(n,r,l),n!==null?n.sibling:null);St(ze,ze.current&1);break;case 19:if(u=(l&r.childLanes)!==0,n.flags&128){if(u)return Ud(n,r,l);r.flags|=128}if(c=r.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),St(ze,ze.current),u)break;return null;case 22:case 23:return r.lanes=0,Gl(n,r,l)}return Yn(n,r,l)}var es,Xl,ga,Rn;es=function(n,r){for(var l=r.child;l!==null;){if(l.tag===5||l.tag===6)n.appendChild(l.stateNode);else if(l.tag!==4&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===r)break;for(;l.sibling===null;){if(l.return===null||l.return===r)return;l=l.return}l.sibling.return=l.return,l=l.sibling}},Xl=function(){},ga=function(n,r,l,u){var c=n.memoizedProps;if(c!==u){n=r.stateNode,Pl(ja.current);var v=null;switch(l){case"input":c=on(n,c),u=on(n,u),v=[];break;case"select":c=ue({},c,{value:void 0}),u=ue({},u,{value:void 0}),v=[];break;case"textarea":c=Da(n,c),u=Da(n,u),v=[];break;default:typeof c.onClick!="function"&&typeof u.onClick=="function"&&(n.onclick=rc)}Dn(l,u);var g;l=null;for(H in c)if(!u.hasOwnProperty(H)&&c.hasOwnProperty(H)&&c[H]!=null)if(H==="style"){var T=c[H];for(g in T)T.hasOwnProperty(g)&&(l||(l={}),l[g]="")}else H!=="dangerouslySetInnerHTML"&&H!=="children"&&H!=="suppressContentEditableWarning"&&H!=="suppressHydrationWarning"&&H!=="autoFocus"&&(R.hasOwnProperty(H)?v||(v=[]):(v=v||[]).push(H,null));for(H in u){var x=u[H];if(T=c!=null?c[H]:void 0,u.hasOwnProperty(H)&&x!==T&&(x!=null||T!=null))if(H==="style")if(T){for(g in T)!T.hasOwnProperty(g)||x&&x.hasOwnProperty(g)||(l||(l={}),l[g]="");for(g in x)x.hasOwnProperty(g)&&T[g]!==x[g]&&(l||(l={}),l[g]=x[g])}else l||(v||(v=[]),v.push(H,l)),l=x;else H==="dangerouslySetInnerHTML"?(x=x?x.__html:void 0,T=T?T.__html:void 0,x!=null&&T!==x&&(v=v||[]).push(H,x)):H==="children"?typeof x!="string"&&typeof x!="number"||(v=v||[]).push(H,""+x):H!=="suppressContentEditableWarning"&&H!=="suppressHydrationWarning"&&(R.hasOwnProperty(H)?(x!=null&&H==="onScroll"&&Nt("scroll",n),v||T===x||(v=[])):(v=v||[]).push(H,x))}l&&(v=v||[]).push("style",l);var H=v;(r.updateQueue=H)&&(r.flags|=4)}},Rn=function(n,r,l,u){l!==u&&(r.flags|=4)};function ts(n,r){if(!Ht)switch(n.tailMode){case"hidden":r=n.tail;for(var l=null;r!==null;)r.alternate!==null&&(l=r),r=r.sibling;l===null?n.tail=null:l.sibling=null;break;case"collapsed":l=n.tail;for(var u=null;l!==null;)l.alternate!==null&&(u=l),l=l.sibling;u===null?r||n.tail===null?n.tail=null:n.tail.sibling=null:u.sibling=null}}function or(n){var r=n.alternate!==null&&n.alternate.child===n.child,l=0,u=0;if(r)for(var c=n.child;c!==null;)l|=c.lanes|c.childLanes,u|=c.subtreeFlags&14680064,u|=c.flags&14680064,c.return=n,c=c.sibling;else for(c=n.child;c!==null;)l|=c.lanes|c.childLanes,u|=c.subtreeFlags,u|=c.flags,c.return=n,c=c.sibling;return n.subtreeFlags|=u,n.childLanes=l,r}function cg(n,r,l){var u=r.pendingProps;switch(md(r),r.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return or(r),null;case 1:return It(r.type)&&pa(),or(r),null;case 3:return u=r.stateNode,rl(),gt(en),gt(je),hc(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(n===null||n.child===null)&&(uc(r)?r.flags|=4:n===null||n.memoizedState.isDehydrated&&!(r.flags&256)||(r.flags|=1024,ha!==null&&(us(ha),ha=null))),Xl(n,r),or(r),null;case 5:Je(r);var c=Pl(Ho.current);if(l=r.type,n!==null&&r.stateNode!=null)ga(n,r,l,u,c),n.ref!==r.ref&&(r.flags|=512,r.flags|=2097152);else{if(!u){if(r.stateNode===null)throw Error(p(166));return or(r),null}if(n=Pl(ja.current),uc(r)){u=r.stateNode,l=r.type;var v=r.memoizedProps;switch(u[Ga]=r,u[Fl]=v,n=(r.mode&1)!==0,l){case"dialog":Nt("cancel",u),Nt("close",u);break;case"iframe":case"object":case"embed":Nt("load",u);break;case"video":case"audio":for(c=0;c<Hu.length;c++)Nt(Hu[c],u);break;case"source":Nt("error",u);break;case"img":case"image":case"link":Nt("error",u),Nt("load",u);break;case"details":Nt("toggle",u);break;case"input":pn(u,v),Nt("invalid",u);break;case"select":u._wrapperState={wasMultiple:!!v.multiple},Nt("invalid",u);break;case"textarea":jr(u,v),Nt("invalid",u)}Dn(l,v),c=null;for(var g in v)if(v.hasOwnProperty(g)){var T=v[g];g==="children"?typeof T=="string"?u.textContent!==T&&(v.suppressHydrationWarning!==!0&&nc(u.textContent,T,n),c=["children",T]):typeof T=="number"&&u.textContent!==""+T&&(v.suppressHydrationWarning!==!0&&nc(u.textContent,T,n),c=["children",""+T]):R.hasOwnProperty(g)&&T!=null&&g==="onScroll"&&Nt("scroll",u)}switch(l){case"input":tr(u),la(u,v,!0);break;case"textarea":tr(u),Pr(u);break;case"select":case"option":break;default:typeof v.onClick=="function"&&(u.onclick=rc)}u=c,r.updateQueue=u,u!==null&&(r.flags|=4)}else{g=c.nodeType===9?c:c.ownerDocument,n==="http://www.w3.org/1999/xhtml"&&(n=Oa(l)),n==="http://www.w3.org/1999/xhtml"?l==="script"?(n=g.createElement("div"),n.innerHTML="<script></script>",n=n.removeChild(n.firstChild)):typeof u.is=="string"?n=g.createElement(l,{is:u.is}):(n=g.createElement(l),l==="select"&&(g=n,u.multiple?g.multiple=!0:u.size&&(g.size=u.size))):n=g.createElementNS(n,l),n[Ga]=r,n[Fl]=u,es(n,r,!1,!1),r.stateNode=n;e:{switch(g=un(l,u),l){case"dialog":Nt("cancel",n),Nt("close",n),c=u;break;case"iframe":case"object":case"embed":Nt("load",n),c=u;break;case"video":case"audio":for(c=0;c<Hu.length;c++)Nt(Hu[c],n);c=u;break;case"source":Nt("error",n),c=u;break;case"img":case"image":case"link":Nt("error",n),Nt("load",n),c=u;break;case"details":Nt("toggle",n),c=u;break;case"input":pn(n,u),c=on(n,u),Nt("invalid",n);break;case"option":c=u;break;case"select":n._wrapperState={wasMultiple:!!u.multiple},c=ue({},u,{value:void 0}),Nt("invalid",n);break;case"textarea":jr(n,u),c=Da(n,u),Nt("invalid",n);break;default:c=u}Dn(l,c),T=c;for(v in T)if(T.hasOwnProperty(v)){var x=T[v];v==="style"?Et(n,x):v==="dangerouslySetInnerHTML"?(x=x?x.__html:void 0,x!=null&&Hi(n,x)):v==="children"?typeof x=="string"?(l!=="textarea"||x!=="")&&Ma(n,x):typeof x=="number"&&Ma(n,""+x):v!=="suppressContentEditableWarning"&&v!=="suppressHydrationWarning"&&v!=="autoFocus"&&(R.hasOwnProperty(v)?x!=null&&v==="onScroll"&&Nt("scroll",n):x!=null&&he(n,v,x,g))}switch(l){case"input":tr(n),la(n,u,!1);break;case"textarea":tr(n),Pr(n);break;case"option":u.value!=null&&n.setAttribute("value",""+kn(u.value));break;case"select":n.multiple=!!u.multiple,v=u.value,v!=null?Ya(n,!!u.multiple,v,!1):u.defaultValue!=null&&Ya(n,!!u.multiple,u.defaultValue,!0);break;default:typeof c.onClick=="function"&&(n.onclick=rc)}switch(l){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break e;case"img":u=!0;break e;default:u=!1}}u&&(r.flags|=4)}r.ref!==null&&(r.flags|=512,r.flags|=2097152)}return or(r),null;case 6:if(n&&r.stateNode!=null)Rn(n,r,n.memoizedProps,u);else{if(typeof u!="string"&&r.stateNode===null)throw Error(p(166));if(l=Pl(Ho.current),Pl(ja.current),uc(r)){if(u=r.stateNode,l=r.memoizedProps,u[Ga]=r,(v=u.nodeValue!==l)&&(n=Wr,n!==null))switch(n.tag){case 3:nc(u.nodeValue,l,(n.mode&1)!==0);break;case 5:n.memoizedProps.suppressHydrationWarning!==!0&&nc(u.nodeValue,l,(n.mode&1)!==0)}v&&(r.flags|=4)}else u=(l.nodeType===9?l:l.ownerDocument).createTextNode(u),u[Ga]=r,r.stateNode=u}return or(r),null;case 13:if(gt(ze),u=r.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(Ht&&Or!==null&&r.mode&1&&!(r.flags&128))th(),Wt(),r.flags|=98560,v=!1;else if(v=uc(r),u!==null&&u.dehydrated!==null){if(n===null){if(!v)throw Error(p(318));if(v=r.memoizedState,v=v!==null?v.dehydrated:null,!v)throw Error(p(317));v[Ga]=r}else Wt(),!(r.flags&128)&&(r.memoizedState=null),r.flags|=4;or(r),v=!1}else ha!==null&&(us(ha),ha=null),v=!0;if(!v)return r.flags&65536?r:null}return r.flags&128?(r.lanes=l,r):(u=u!==null,u!==(n!==null&&n.memoizedState!==null)&&u&&(r.child.flags|=8192,r.mode&1&&(n===null||ze.current&1?xn===0&&(xn=3):Qd())),r.updateQueue!==null&&(r.flags|=4),or(r),null);case 4:return rl(),Xl(n,r),n===null&&Lo(r.stateNode.containerInfo),or(r),null;case 10:return Ji(r.type._context),or(r),null;case 17:return It(r.type)&&pa(),or(r),null;case 19:if(gt(ze),v=r.memoizedState,v===null)return or(r),null;if(u=(r.flags&128)!==0,g=v.rendering,g===null)if(u)ts(v,!1);else{if(xn!==0||n!==null&&n.flags&128)for(n=r.child;n!==null;){if(g=Gt(n),g!==null){for(r.flags|=128,ts(v,!1),u=g.updateQueue,u!==null&&(r.updateQueue=u,r.flags|=4),r.subtreeFlags=0,u=l,l=r.child;l!==null;)v=l,n=u,v.flags&=14680066,g=v.alternate,g===null?(v.childLanes=0,v.lanes=n,v.child=null,v.subtreeFlags=0,v.memoizedProps=null,v.memoizedState=null,v.updateQueue=null,v.dependencies=null,v.stateNode=null):(v.childLanes=g.childLanes,v.lanes=g.lanes,v.child=g.child,v.subtreeFlags=0,v.deletions=null,v.memoizedProps=g.memoizedProps,v.memoizedState=g.memoizedState,v.updateQueue=g.updateQueue,v.type=g.type,n=g.dependencies,v.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),l=l.sibling;return St(ze,ze.current&1|2),r.child}n=n.sibling}v.tail!==null&&ht()>Ko&&(r.flags|=128,u=!0,ts(v,!1),r.lanes=4194304)}else{if(!u)if(n=Gt(g),n!==null){if(r.flags|=128,u=!0,l=n.updateQueue,l!==null&&(r.updateQueue=l,r.flags|=4),ts(v,!0),v.tail===null&&v.tailMode==="hidden"&&!g.alternate&&!Ht)return or(r),null}else 2*ht()-v.renderingStartTime>Ko&&l!==1073741824&&(r.flags|=128,u=!0,ts(v,!1),r.lanes=4194304);v.isBackwards?(g.sibling=r.child,r.child=g):(l=v.last,l!==null?l.sibling=g:r.child=g,v.last=g)}return v.tail!==null?(r=v.tail,v.rendering=r,v.tail=r.sibling,v.renderingStartTime=ht(),r.sibling=null,l=ze.current,St(ze,u?l&1|2:l&1),r):(or(r),null);case 22:case 23:return Yd(),u=r.memoizedState!==null,n!==null&&n.memoizedState!==null!==u&&(r.flags|=8192),u&&r.mode&1?Xr&1073741824&&(or(r),r.subtreeFlags&6&&(r.flags|=8192)):or(r),null;case 24:return null;case 25:return null}throw Error(p(156,r.tag))}function Fd(n,r){switch(md(r),r.tag){case 1:return It(r.type)&&pa(),n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 3:return rl(),gt(en),gt(je),hc(),n=r.flags,n&65536&&!(n&128)?(r.flags=n&-65537|128,r):null;case 5:return Je(r),null;case 13:if(gt(ze),n=r.memoizedState,n!==null&&n.dehydrated!==null){if(r.alternate===null)throw Error(p(340));Wt()}return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 19:return gt(ze),null;case 4:return rl(),null;case 10:return Ji(r.type._context),null;case 22:case 23:return Yd(),null;case 24:return null;default:return null}}var ns=!1,wn=!1,hh=typeof WeakSet=="function"?WeakSet:Set,ye=null;function Yo(n,r){var l=n.ref;if(l!==null)if(typeof l=="function")try{l(null)}catch(u){nn(n,r,u)}else l.current=null}function rs(n,r,l){try{l()}catch(u){nn(n,r,u)}}var mh=!1;function yh(n,r){if(ud=Ol,n=Ks(),vi(n)){if("selectionStart"in n)var l={start:n.selectionStart,end:n.selectionEnd};else e:{l=(l=n.ownerDocument)&&l.defaultView||window;var u=l.getSelection&&l.getSelection();if(u&&u.rangeCount!==0){l=u.anchorNode;var c=u.anchorOffset,v=u.focusNode;u=u.focusOffset;try{l.nodeType,v.nodeType}catch{l=null;break e}var g=0,T=-1,x=-1,H=0,q=0,K=n,G=null;t:for(;;){for(var ce;K!==l||c!==0&&K.nodeType!==3||(T=g+c),K!==v||u!==0&&K.nodeType!==3||(x=g+u),K.nodeType===3&&(g+=K.nodeValue.length),(ce=K.firstChild)!==null;)G=K,K=ce;for(;;){if(K===n)break t;if(G===l&&++H===c&&(T=g),G===v&&++q===u&&(x=g),(ce=K.nextSibling)!==null)break;K=G,G=K.parentNode}K=ce}l=T===-1||x===-1?null:{start:T,end:x}}else l=null}l=l||{start:0,end:0}}else l=null;for(Al={focusedElem:n,selectionRange:l},Ol=!1,ye=r;ye!==null;)if(r=ye,n=r.child,(r.subtreeFlags&1028)!==0&&n!==null)n.return=r,ye=n;else for(;ye!==null;){r=ye;try{var ge=r.alternate;if(r.flags&1024)switch(r.tag){case 0:case 11:case 15:break;case 1:if(ge!==null){var be=ge.memoizedProps,cn=ge.memoizedState,N=r.stateNode,k=N.getSnapshotBeforeUpdate(r.elementType===r.type?be:Gr(r.type,be),cn);N.__reactInternalSnapshotBeforeUpdate=k}break;case 3:var A=r.stateNode.containerInfo;A.nodeType===1?A.textContent="":A.nodeType===9&&A.documentElement&&A.removeChild(A.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(p(163))}}catch(J){nn(r,r.return,J)}if(n=r.sibling,n!==null){n.return=r.return,ye=n;break}ye=r.return}return ge=mh,mh=!1,ge}function as(n,r,l){var u=r.updateQueue;if(u=u!==null?u.lastEffect:null,u!==null){var c=u=u.next;do{if((c.tag&n)===n){var v=c.destroy;c.destroy=void 0,v!==void 0&&rs(r,l,v)}c=c.next}while(c!==u)}}function is(n,r){if(r=r.updateQueue,r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&n)===n){var u=l.create;l.destroy=u()}l=l.next}while(l!==r)}}function Hd(n){var r=n.ref;if(r!==null){var l=n.stateNode;switch(n.tag){case 5:n=l;break;default:n=l}typeof r=="function"?r(n):r.current=n}}function jd(n){var r=n.alternate;r!==null&&(n.alternate=null,jd(r)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(r=n.stateNode,r!==null&&(delete r[Ga],delete r[Fl],delete r[fd],delete r[rg],delete r[dd])),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}function gh(n){return n.tag===5||n.tag===3||n.tag===4}function Fc(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||gh(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function Qo(n,r,l){var u=n.tag;if(u===5||u===6)n=n.stateNode,r?l.nodeType===8?l.parentNode.insertBefore(n,r):l.insertBefore(n,r):(l.nodeType===8?(r=l.parentNode,r.insertBefore(n,l)):(r=l,r.appendChild(n)),l=l._reactRootContainer,l!=null||r.onclick!==null||(r.onclick=rc));else if(u!==4&&(n=n.child,n!==null))for(Qo(n,r,l),n=n.sibling;n!==null;)Qo(n,r,l),n=n.sibling}function Za(n,r,l){var u=n.tag;if(u===5||u===6)n=n.stateNode,r?l.insertBefore(n,r):l.appendChild(n);else if(u!==4&&(n=n.child,n!==null))for(Za(n,r,l),n=n.sibling;n!==null;)Za(n,r,l),n=n.sibling}var Yt=null,An=!1;function Sa(n,r,l){for(l=l.child;l!==null;)Wo(n,r,l),l=l.sibling}function Wo(n,r,l){if(La&&typeof La.onCommitFiberUnmount=="function")try{La.onCommitFiberUnmount(bu,l)}catch{}switch(l.tag){case 5:wn||Yo(l,r);case 6:var u=Yt,c=An;Yt=null,Sa(n,r,l),Yt=u,An=c,Yt!==null&&(An?(n=Yt,l=l.stateNode,n.nodeType===8?n.parentNode.removeChild(l):n.removeChild(l)):Yt.removeChild(l.stateNode));break;case 18:Yt!==null&&(An?(n=Yt,l=l.stateNode,n.nodeType===8?Wi(n.parentNode,l):n.nodeType===1&&Wi(n,l),_u(n)):Wi(Yt,l.stateNode));break;case 4:u=Yt,c=An,Yt=l.stateNode.containerInfo,An=!0,Sa(n,r,l),Yt=u,An=c;break;case 0:case 11:case 14:case 15:if(!wn&&(u=l.updateQueue,u!==null&&(u=u.lastEffect,u!==null))){c=u=u.next;do{var v=c,g=v.destroy;v=v.tag,g!==void 0&&(v&2||v&4)&&rs(l,r,g),c=c.next}while(c!==u)}Sa(n,r,l);break;case 1:if(!wn&&(Yo(l,r),u=l.stateNode,typeof u.componentWillUnmount=="function"))try{u.props=l.memoizedProps,u.state=l.memoizedState,u.componentWillUnmount()}catch(T){nn(l,r,T)}Sa(n,r,l);break;case 21:Sa(n,r,l);break;case 22:l.mode&1?(wn=(u=wn)||l.memoizedState!==null,Sa(n,r,l),wn=u):Sa(n,r,l);break;default:Sa(n,r,l)}}function Ti(n){var r=n.updateQueue;if(r!==null){n.updateQueue=null;var l=n.stateNode;l===null&&(l=n.stateNode=new hh),r.forEach(function(u){var c=mg.bind(null,n,u);l.has(u)||(l.add(u),u.then(c,c))})}}function Pa(n,r){var l=r.deletions;if(l!==null)for(var u=0;u<l.length;u++){var c=l[u];try{var v=n,g=r,T=g;e:for(;T!==null;){switch(T.tag){case 5:Yt=T.stateNode,An=!1;break e;case 3:Yt=T.stateNode.containerInfo,An=!0;break e;case 4:Yt=T.stateNode.containerInfo,An=!0;break e}T=T.return}if(Yt===null)throw Error(p(160));Wo(v,g,c),Yt=null,An=!1;var x=c.alternate;x!==null&&(x.return=null),c.return=null}catch(H){nn(c,r,H)}}if(r.subtreeFlags&12854)for(r=r.child;r!==null;)Sh(r,n),r=r.sibling}function Sh(n,r){var l=n.alternate,u=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:if(Pa(r,n),Ja(n),u&4){try{as(3,n,n.return),is(3,n)}catch(be){nn(n,n.return,be)}try{as(5,n,n.return)}catch(be){nn(n,n.return,be)}}break;case 1:Pa(r,n),Ja(n),u&512&&l!==null&&Yo(l,l.return);break;case 5:if(Pa(r,n),Ja(n),u&512&&l!==null&&Yo(l,l.return),n.flags&32){var c=n.stateNode;try{Ma(c,"")}catch(be){nn(n,n.return,be)}}if(u&4&&(c=n.stateNode,c!=null)){var v=n.memoizedProps,g=l!==null?l.memoizedProps:v,T=n.type,x=n.updateQueue;if(n.updateQueue=null,x!==null)try{T==="input"&&v.type==="radio"&&v.name!=null&&nr(c,v),un(T,g);var H=un(T,v);for(g=0;g<x.length;g+=2){var q=x[g],K=x[g+1];q==="style"?Et(c,K):q==="dangerouslySetInnerHTML"?Hi(c,K):q==="children"?Ma(c,K):he(c,q,K,H)}switch(T){case"input":rr(c,v);break;case"textarea":Qa(c,v);break;case"select":var G=c._wrapperState.wasMultiple;c._wrapperState.wasMultiple=!!v.multiple;var ce=v.value;ce!=null?Ya(c,!!v.multiple,ce,!1):G!==!!v.multiple&&(v.defaultValue!=null?Ya(c,!!v.multiple,v.defaultValue,!0):Ya(c,!!v.multiple,v.multiple?[]:"",!1))}c[Fl]=v}catch(be){nn(n,n.return,be)}}break;case 6:if(Pa(r,n),Ja(n),u&4){if(n.stateNode===null)throw Error(p(162));c=n.stateNode,v=n.memoizedProps;try{c.nodeValue=v}catch(be){nn(n,n.return,be)}}break;case 3:if(Pa(r,n),Ja(n),u&4&&l!==null&&l.memoizedState.isDehydrated)try{_u(r.containerInfo)}catch(be){nn(n,n.return,be)}break;case 4:Pa(r,n),Ja(n);break;case 13:Pa(r,n),Ja(n),c=n.child,c.flags&8192&&(v=c.memoizedState!==null,c.stateNode.isHidden=v,!v||c.alternate!==null&&c.alternate.memoizedState!==null||(Bd=ht())),u&4&&Ti(n);break;case 22:if(q=l!==null&&l.memoizedState!==null,n.mode&1?(wn=(H=wn)||q,Pa(r,n),wn=H):Pa(r,n),Ja(n),u&8192){if(H=n.memoizedState!==null,(n.stateNode.isHidden=H)&&!q&&n.mode&1)for(ye=n,q=n.child;q!==null;){for(K=ye=q;ye!==null;){switch(G=ye,ce=G.child,G.tag){case 0:case 11:case 14:case 15:as(4,G,G.return);break;case 1:Yo(G,G.return);var ge=G.stateNode;if(typeof ge.componentWillUnmount=="function"){u=G,l=G.return;try{r=u,ge.props=r.memoizedProps,ge.state=r.memoizedState,ge.componentWillUnmount()}catch(be){nn(u,l,be)}}break;case 5:Yo(G,G.return);break;case 22:if(G.memoizedState!==null){Pd(K);continue}}ce!==null?(ce.return=G,ye=ce):Pd(K)}q=q.sibling}e:for(q=null,K=n;;){if(K.tag===5){if(q===null){q=K;try{c=K.stateNode,H?(v=c.style,typeof v.setProperty=="function"?v.setProperty("display","none","important"):v.display="none"):(T=K.stateNode,x=K.memoizedProps.style,g=x!=null&&x.hasOwnProperty("display")?x.display:null,T.style.display=Ze("display",g))}catch(be){nn(n,n.return,be)}}}else if(K.tag===6){if(q===null)try{K.stateNode.nodeValue=H?"":K.memoizedProps}catch(be){nn(n,n.return,be)}}else if((K.tag!==22&&K.tag!==23||K.memoizedState===null||K===n)&&K.child!==null){K.child.return=K,K=K.child;continue}if(K===n)break e;for(;K.sibling===null;){if(K.return===null||K.return===n)break e;q===K&&(q=null),K=K.return}q===K&&(q=null),K.sibling.return=K.return,K=K.sibling}}break;case 19:Pa(r,n),Ja(n),u&4&&Ti(n);break;case 21:break;default:Pa(r,n),Ja(n)}}function Ja(n){var r=n.flags;if(r&2){try{e:{for(var l=n.return;l!==null;){if(gh(l)){var u=l;break e}l=l.return}throw Error(p(160))}switch(u.tag){case 5:var c=u.stateNode;u.flags&32&&(Ma(c,""),u.flags&=-33);var v=Fc(n);Za(n,v,c);break;case 3:case 4:var g=u.stateNode.containerInfo,T=Fc(n);Qo(n,T,g);break;default:throw Error(p(161))}}catch(x){nn(n,n.return,x)}n.flags&=-3}r&4096&&(n.flags&=-4097)}function Ch(n,r,l){ye=n,Go(n)}function Go(n,r,l){for(var u=(n.mode&1)!==0;ye!==null;){var c=ye,v=c.child;if(c.tag===22&&u){var g=c.memoizedState!==null||ns;if(!g){var T=c.alternate,x=T!==null&&T.memoizedState!==null||wn;T=ns;var H=wn;if(ns=g,(wn=x)&&!H)for(ye=c;ye!==null;)g=ye,x=g.child,g.tag===22&&g.memoizedState!==null?bh(c):x!==null?(x.return=g,ye=x):bh(c);for(;v!==null;)ye=v,Go(v),v=v.sibling;ye=c,ns=T,wn=H}Eh(n)}else c.subtreeFlags&8772&&v!==null?(v.return=c,ye=v):Eh(n)}}function Eh(n){for(;ye!==null;){var r=ye;if(r.flags&8772){var l=r.alternate;try{if(r.flags&8772)switch(r.tag){case 0:case 11:case 15:wn||is(5,r);break;case 1:var u=r.stateNode;if(r.flags&4&&!wn)if(l===null)u.componentDidMount();else{var c=r.elementType===r.type?l.memoizedProps:Gr(r.type,l.memoizedProps);u.componentDidUpdate(c,l.memoizedState,u.__reactInternalSnapshotBeforeUpdate)}var v=r.updateQueue;v!==null&&jl(r,v,u);break;case 3:var g=r.updateQueue;if(g!==null){if(l=null,r.child!==null)switch(r.child.tag){case 5:l=r.child.stateNode;break;case 1:l=r.child.stateNode}jl(r,g,l)}break;case 5:var T=r.stateNode;if(l===null&&r.flags&4){l=T;var x=r.memoizedProps;switch(r.type){case"button":case"input":case"select":case"textarea":x.autoFocus&&l.focus();break;case"img":x.src&&(l.src=x.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(r.memoizedState===null){var H=r.alternate;if(H!==null){var q=H.memoizedState;if(q!==null){var K=q.dehydrated;K!==null&&_u(K)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(p(163))}wn||r.flags&512&&Hd(r)}catch(G){nn(r,r.return,G)}}if(r===n){ye=null;break}if(l=r.sibling,l!==null){l.return=r.return,ye=l;break}ye=r.return}}function Pd(n){for(;ye!==null;){var r=ye;if(r===n){ye=null;break}var l=r.sibling;if(l!==null){l.return=r.return,ye=l;break}ye=r.return}}function bh(n){for(;ye!==null;){var r=ye;try{switch(r.tag){case 0:case 11:case 15:var l=r.return;try{is(4,r)}catch(x){nn(r,l,x)}break;case 1:var u=r.stateNode;if(typeof u.componentDidMount=="function"){var c=r.return;try{u.componentDidMount()}catch(x){nn(r,c,x)}}var v=r.return;try{Hd(r)}catch(x){nn(r,v,x)}break;case 5:var g=r.return;try{Hd(r)}catch(x){nn(r,g,x)}}}catch(x){nn(r,r.return,x)}if(r===n){ye=null;break}var T=r.sibling;if(T!==null){T.return=r.return,ye=T;break}ye=r.return}}var Hc=Math.ceil,ls=Ne.ReactCurrentDispatcher,Vd=Ne.ReactCurrentOwner,ur=Ne.ReactCurrentBatchConfig,nt=0,qt=null,tn=null,Un=0,Xr=0,qo=We(0),xn=0,os=null,Ri=0,jc=0,Xo=0,Kl=null,pr=null,Bd=0,Ko=1/0,wi=null,Pc=!1,Zl=null,ei=null,ol=!1,ul=null,Vc=0,Zo=0,Bc=null,Jl=-1,eo=0;function sr(){return nt&6?ht():Jl!==-1?Jl:Jl=ht()}function gn(n){return n.mode&1?nt&2&&Un!==0?Un&-Un:sc.transition!==null?(eo===0&&(eo=js()),eo):(n=bt,n!==0||(n=window.event,n=n===void 0?16:Bf(n.type)),n):1}function cr(n,r,l,u){if(50<Zo)throw Zo=0,Bc=null,Error(p(185));Dl(n,l,u),(!(nt&2)||n!==qt)&&(n===qt&&(!(nt&2)&&(jc|=l),xn===4&&Ca(n,Un)),fr(n,u),l===1&&nt===0&&!(r.mode&1)&&(Ko=ht()+500,Ln&&_r()))}function fr(n,r){var l=n.callbackNode;Hs(n,r);var u=za(n,n===qt?Un:0);if(u===0)l!==null&&dr(l),n.callbackNode=null,n.callbackPriority=0;else if(r=u&-u,n.callbackPriority!==r){if(l!=null&&dr(l),r===1)n.tag===0?vd(Th.bind(null,n)):pd(Th.bind(null,n)),cd(function(){!(nt&6)&&_r()}),l=null;else{switch(jf(u)){case 1:l=ci;break;case 4:l=tt;break;case 16:l=Bi;break;case 536870912:l=Af;break;default:l=Bi}l=Gd(l,Jo.bind(null,n))}n.callbackPriority=r,n.callbackNode=l}}function Jo(n,r){if(Jl=-1,eo=0,nt&6)throw Error(p(327));var l=n.callbackNode;if(tu()&&n.callbackNode!==l)return null;var u=za(n,n===qt?Un:0);if(u===0)return null;if(u&30||u&n.expiredLanes||r)r=Ic(n,u);else{r=u;var c=nt;nt|=2;var v=$c();(qt!==n||Un!==r)&&(wi=null,Ko=ht()+500,to(n,r));do try{dg();break}catch(T){Rh(n,T)}while(1);Cd(),ls.current=v,nt=c,tn!==null?r=0:(qt=null,Un=0,r=xn)}if(r!==0){if(r===2&&(c=Ff(n),c!==0&&(u=c,r=$d(n,c))),r===1)throw l=os,to(n,0),Ca(n,u),fr(n,ht()),l;if(r===6)Ca(n,u);else{if(c=n.current.alternate,!(u&30)&&!Id(c)&&(r=Ic(n,u),r===2&&(v=Ff(n),v!==0&&(u=v,r=$d(n,v))),r===1))throw l=os,to(n,0),Ca(n,u),fr(n,ht()),l;switch(n.finishedWork=c,n.finishedLanes=u,r){case 0:case 1:throw Error(p(345));case 2:no(n,pr,wi);break;case 3:if(Ca(n,u),(u&130023424)===u&&(r=Bd+500-ht(),10<r)){if(za(n,0)!==0)break;if(c=n.suspendedLanes,(c&u)!==u){sr(),n.pingedLanes|=n.suspendedLanes&c;break}n.timeoutHandle=Ul(no.bind(null,n,pr,wi),r);break}no(n,pr,wi);break;case 4:if(Ca(n,u),(u&4194240)===u)break;for(r=n.eventTimes,c=-1;0<u;){var g=31-oa(u);v=1<<g,g=r[g],g>c&&(c=g),u&=~v}if(u=c,u=ht()-u,u=(120>u?120:480>u?480:1080>u?1080:1920>u?1920:3e3>u?3e3:4320>u?4320:1960*Hc(u/1960))-u,10<u){n.timeoutHandle=Ul(no.bind(null,n,pr,wi),u);break}no(n,pr,wi);break;case 5:no(n,pr,wi);break;default:throw Error(p(329))}}}return fr(n,ht()),n.callbackNode===l?Jo.bind(null,n):null}function $d(n,r){var l=Kl;return n.current.memoizedState.isDehydrated&&(to(n,r).flags|=256),n=Ic(n,r),n!==2&&(r=pr,pr=l,r!==null&&us(r)),n}function us(n){pr===null?pr=n:pr.push.apply(pr,n)}function Id(n){for(var r=n;;){if(r.flags&16384){var l=r.updateQueue;if(l!==null&&(l=l.stores,l!==null))for(var u=0;u<l.length;u++){var c=l[u],v=c.getSnapshot;c=c.value;try{if(!ca(v(),c))return!1}catch{return!1}}}if(l=r.child,r.subtreeFlags&16384&&l!==null)l.return=r,r=l;else{if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function Ca(n,r){for(r&=~Xo,r&=~jc,n.suspendedLanes|=r,n.pingedLanes&=~r,n=n.expirationTimes;0<r;){var l=31-oa(r),u=1<<l;n[l]=-1,r&=~u}}function Th(n){if(nt&6)throw Error(p(327));tu();var r=za(n,0);if(!(r&1))return fr(n,ht()),null;var l=Ic(n,r);if(n.tag!==0&&l===2){var u=Ff(n);u!==0&&(r=u,l=$d(n,u))}if(l===1)throw l=os,to(n,0),Ca(n,r),fr(n,ht()),l;if(l===6)throw Error(p(345));return n.finishedWork=n.current.alternate,n.finishedLanes=r,no(n,pr,wi),fr(n,ht()),null}function eu(n,r){var l=nt;nt|=1;try{return n(r)}finally{nt=l,nt===0&&(Ko=ht()+500,Ln&&_r())}}function sl(n){ul!==null&&ul.tag===0&&!(nt&6)&&tu();var r=nt;nt|=1;var l=ur.transition,u=bt;try{if(ur.transition=null,bt=1,n)return n()}finally{bt=u,ur.transition=l,nt=r,!(nt&6)&&_r()}}function Yd(){Xr=qo.current,gt(qo)}function to(n,r){n.finishedWork=null,n.finishedLanes=0;var l=n.timeoutHandle;if(l!==-1&&(n.timeoutHandle=-1,Kv(l)),tn!==null)for(l=tn.return;l!==null;){var u=l;switch(md(u),u.tag){case 1:u=u.type.childContextTypes,u!=null&&pa();break;case 3:rl(),gt(en),gt(je),hc();break;case 5:Je(u);break;case 4:rl();break;case 13:gt(ze);break;case 19:gt(ze);break;case 10:Ji(u.type._context);break;case 22:case 23:Yd()}l=l.return}if(qt=n,tn=n=cl(n.current,null),Un=Xr=r,xn=0,os=null,Xo=jc=Ri=0,pr=Kl=null,In!==null){for(r=0;r<In.length;r++)if(l=In[r],u=l.interleaved,u!==null){l.interleaved=null;var c=u.next,v=l.pending;if(v!==null){var g=v.next;v.next=c,u.next=g}l.pending=u}In=null}return n}function Rh(n,r){do{var l=tn;try{if(Cd(),mc.current=Nc,Ue){for(var u=jt.memoizedState;u!==null;){var c=u.queue;c!==null&&(c.pending=null),u=u.next}Ue=!1}if(Vl=0,lt=B=jt=null,Ka=!1,qr=0,Vd.current=null,l===null||l.return===null){xn=1,os=r,tn=null;break}e:{var v=n,g=l.return,T=l,x=r;if(r=Un,T.flags|=32768,x!==null&&typeof x=="object"&&typeof x.then=="function"){var H=x,q=T,K=q.tag;if(!(q.mode&1)&&(K===0||K===11||K===15)){var G=q.alternate;G?(q.updateQueue=G.updateQueue,q.memoizedState=G.memoizedState,q.lanes=G.lanes):(q.updateQueue=null,q.memoizedState=null)}var ce=Dd(g);if(ce!==null){ce.flags&=-257,Od(ce,g,T,v,r),ce.mode&1&&dh(v,H,r),r=ce,x=H;var ge=r.updateQueue;if(ge===null){var be=new Set;be.add(x),r.updateQueue=be}else ge.add(x);break e}else{if(!(r&1)){dh(v,H,r),Qd();break e}x=Error(p(426))}}else if(Ht&&T.mode&1){var cn=Dd(g);if(cn!==null){!(cn.flags&65536)&&(cn.flags|=256),Od(cn,g,T,v,r),gd(Bo(x,T));break e}}v=x=Bo(x,T),xn!==4&&(xn=2),Kl===null?Kl=[v]:Kl.push(v),v=g;do{switch(v.tag){case 3:v.flags|=65536,r&=-r,v.lanes|=r;var N=fh(v,x,r);Td(v,N);break e;case 1:T=x;var k=v.type,A=v.stateNode;if(!(v.flags&128)&&(typeof k.getDerivedStateFromError=="function"||A!==null&&typeof A.componentDidCatch=="function"&&(ei===null||!ei.has(A)))){v.flags|=65536,r&=-r,v.lanes|=r;var J=Ju(v,T,r);Td(v,J);break e}}v=v.return}while(v!==null)}Wd(l)}catch(Te){r=Te,tn===l&&l!==null&&(tn=l=l.return);continue}break}while(1)}function $c(){var n=ls.current;return ls.current=Nc,n===null?Nc:n}function Qd(){(xn===0||xn===3||xn===2)&&(xn=4),qt===null||!(Ri&268435455)&&!(jc&268435455)||Ca(qt,Un)}function Ic(n,r){var l=nt;nt|=2;var u=$c();(qt!==n||Un!==r)&&(wi=null,to(n,r));do try{fg();break}catch(c){Rh(n,c)}while(1);if(Cd(),nt=l,ls.current=u,tn!==null)throw Error(p(261));return qt=null,Un=0,xn}function fg(){for(;tn!==null;)wh(tn)}function dg(){for(;tn!==null&&!Vi();)wh(tn)}function wh(n){var r=_h(n.alternate,n,Xr);n.memoizedProps=n.pendingProps,r===null?Wd(n):tn=r,Vd.current=null}function Wd(n){var r=n;do{var l=r.alternate;if(n=r.return,r.flags&32768){if(l=Fd(l,r),l!==null){l.flags&=32767,tn=l;return}if(n!==null)n.flags|=32768,n.subtreeFlags=0,n.deletions=null;else{xn=6,tn=null;return}}else if(l=cg(l,r,Xr),l!==null){tn=l;return}if(r=r.sibling,r!==null){tn=r;return}tn=r=n}while(r!==null);xn===0&&(xn=5)}function no(n,r,l){var u=bt,c=ur.transition;try{ur.transition=null,bt=1,pg(n,r,l,u)}finally{ur.transition=c,bt=u}return null}function pg(n,r,l,u){do tu();while(ul!==null);if(nt&6)throw Error(p(327));l=n.finishedWork;var c=n.finishedLanes;if(l===null)return null;if(n.finishedWork=null,n.finishedLanes=0,l===n.current)throw Error(p(177));n.callbackNode=null,n.callbackPriority=0;var v=l.lanes|l.childLanes;if(jy(n,v),n===qt&&(tn=qt=null,Un=0),!(l.subtreeFlags&2064)&&!(l.flags&2064)||ol||(ol=!0,Gd(Bi,function(){return tu(),null})),v=(l.flags&15990)!==0,l.subtreeFlags&15990||v){v=ur.transition,ur.transition=null;var g=bt;bt=1;var T=nt;nt|=4,Vd.current=null,yh(n,l),Sh(l,n),Zs(Al),Ol=!!ud,Al=ud=null,n.current=l,Ch(l),Us(),nt=T,bt=g,ur.transition=v}else n.current=l;if(ol&&(ol=!1,ul=n,Vc=c),v=n.pendingLanes,v===0&&(ei=null),fv(l.stateNode),fr(n,ht()),r!==null)for(u=n.onRecoverableError,l=0;l<r.length;l++)c=r[l],u(c.value,{componentStack:c.stack,digest:c.digest});if(Pc)throw Pc=!1,n=Zl,Zl=null,n;return Vc&1&&n.tag!==0&&tu(),v=n.pendingLanes,v&1?n===Bc?Zo++:(Zo=0,Bc=n):Zo=0,_r(),null}function tu(){if(ul!==null){var n=jf(Vc),r=ur.transition,l=bt;try{if(ur.transition=null,bt=16>n?16:n,ul===null)var u=!1;else{if(n=ul,ul=null,Vc=0,nt&6)throw Error(p(331));var c=nt;for(nt|=4,ye=n.current;ye!==null;){var v=ye,g=v.child;if(ye.flags&16){var T=v.deletions;if(T!==null){for(var x=0;x<T.length;x++){var H=T[x];for(ye=H;ye!==null;){var q=ye;switch(q.tag){case 0:case 11:case 15:as(8,q,v)}var K=q.child;if(K!==null)K.return=q,ye=K;else for(;ye!==null;){q=ye;var G=q.sibling,ce=q.return;if(jd(q),q===H){ye=null;break}if(G!==null){G.return=ce,ye=G;break}ye=ce}}}var ge=v.alternate;if(ge!==null){var be=ge.child;if(be!==null){ge.child=null;do{var cn=be.sibling;be.sibling=null,be=cn}while(be!==null)}}ye=v}}if(v.subtreeFlags&2064&&g!==null)g.return=v,ye=g;else e:for(;ye!==null;){if(v=ye,v.flags&2048)switch(v.tag){case 0:case 11:case 15:as(9,v,v.return)}var N=v.sibling;if(N!==null){N.return=v.return,ye=N;break e}ye=v.return}}var k=n.current;for(ye=k;ye!==null;){g=ye;var A=g.child;if(g.subtreeFlags&2064&&A!==null)A.return=g,ye=A;else e:for(g=k;ye!==null;){if(T=ye,T.flags&2048)try{switch(T.tag){case 0:case 11:case 15:is(9,T)}}catch(Te){nn(T,T.return,Te)}if(T===g){ye=null;break e}var J=T.sibling;if(J!==null){J.return=T.return,ye=J;break e}ye=T.return}}if(nt=c,_r(),La&&typeof La.onPostCommitFiberRoot=="function")try{La.onPostCommitFiberRoot(bu,n)}catch{}u=!0}return u}finally{bt=l,ur.transition=r}}return!1}function xh(n,r,l){r=Bo(l,r),r=fh(n,r,1),n=tl(n,r,1),r=sr(),n!==null&&(Dl(n,1,r),fr(n,r))}function nn(n,r,l){if(n.tag===3)xh(n,n,l);else for(;r!==null;){if(r.tag===3){xh(r,n,l);break}else if(r.tag===1){var u=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(ei===null||!ei.has(u))){n=Bo(l,n),n=Ju(r,n,1),r=tl(r,n,1),n=sr(),r!==null&&(Dl(r,1,n),fr(r,n));break}}r=r.return}}function vg(n,r,l){var u=n.pingCache;u!==null&&u.delete(r),r=sr(),n.pingedLanes|=n.suspendedLanes&l,qt===n&&(Un&l)===l&&(xn===4||xn===3&&(Un&130023424)===Un&&500>ht()-Bd?to(n,0):Xo|=l),fr(n,r)}function Yc(n,r){r===0&&(n.mode&1?(r=To,To<<=1,!(To&130023424)&&(To=4194304)):r=1);var l=sr();n=Si(n,r),n!==null&&(Dl(n,r,l),fr(n,l))}function hg(n){var r=n.memoizedState,l=0;r!==null&&(l=r.retryLane),Yc(n,l)}function mg(n,r){var l=0;switch(n.tag){case 13:var u=n.stateNode,c=n.memoizedState;c!==null&&(l=c.retryLane);break;case 19:u=n.stateNode;break;default:throw Error(p(314))}u!==null&&u.delete(r),Yc(n,l)}var _h;_h=function(n,r,l){if(n!==null)if(n.memoizedProps!==r.pendingProps||en.current)yn=!0;else{if(!(n.lanes&l)&&!(r.flags&128))return yn=!1,bi(n,r,l);yn=!!(n.flags&131072)}else yn=!1,Ht&&r.flags&1048576&&hd(r,Ao,r.index);switch(r.lanes=0,r.tag){case 2:var u=r.type;lr(n,r),n=r.pendingProps;var c=da(r,je.current);re(r,l),c=al(null,r,u,n,c,l);var v=Il();return r.flags|=1,typeof c=="object"&&c!==null&&typeof c.render=="function"&&c.$$typeof===void 0?(r.tag=1,r.memoizedState=null,r.updateQueue=null,It(u)?(v=!0,ac(r)):v=!1,r.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,bd(r),c.updater=dc,r.stateNode=c,c._reactInternals=r,pc(r,u,n,l),r=ph(null,r,u,!0,v,l)):(r.tag=0,Ht&&v&&ic(r),Tn(null,r,c,l),r=r.child),r;case 16:u=r.elementType;e:{switch(lr(n,r),n=r.pendingProps,c=u._init,u=c(u._payload),r.type=u,c=r.tag=gg(u),n=Gr(u,n),c){case 0:r=$o(null,r,u,n,l);break e;case 1:r=Md(null,r,u,n,l);break e;case 11:r=ll(null,r,u,n,l);break e;case 14:r=zc(null,r,u,Gr(u.type,n),l);break e}throw Error(p(306,u,""))}return r;case 0:return u=r.type,c=r.pendingProps,c=r.elementType===u?c:Gr(u,c),$o(n,r,u,c,l);case 1:return u=r.type,c=r.pendingProps,c=r.elementType===u?c:Gr(u,c),Md(n,r,u,c,l);case 3:e:{if(vh(r),n===null)throw Error(p(387));u=r.pendingProps,v=r.memoizedState,c=v.element,bn(n,r),nl(r,u,null,l);var g=r.memoizedState;if(u=g.element,v.isDehydrated)if(v={element:u,isDehydrated:!1,cache:g.cache,pendingSuspenseBoundaries:g.pendingSuspenseBoundaries,transitions:g.transitions},r.updateQueue.baseState=v,r.memoizedState=v,r.flags&256){c=Bo(Error(p(423)),r),r=Ac(n,r,u,l,c);break e}else if(u!==c){c=Bo(Error(p(424)),r),r=Ac(n,r,u,l,c);break e}else for(Or=Ha(r.stateNode.containerInfo.firstChild),Wr=r,Ht=!0,ha=null,l=sh(r,null,u,l),r.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(Wt(),u===c){r=Yn(n,r,l);break e}Tn(n,r,u,l)}r=r.child}return r;case 5:return Me(r),n===null&&oc(r),u=r.type,c=r.pendingProps,v=n!==null?n.memoizedProps:null,g=c.children,Vu(u,c)?g=null:v!==null&&Vu(u,v)&&(r.flags|=32),Ge(n,r),Tn(n,r,g,l),r.child;case 6:return n===null&&oc(r),null;case 13:return Ld(n,r,l);case 4:return wd(r,r.stateNode.containerInfo),u=r.pendingProps,n===null?r.child=Fo(r,null,u,l):Tn(n,r,u,l),r.child;case 11:return u=r.type,c=r.pendingProps,c=r.elementType===u?c:Gr(u,c),ll(n,r,u,c,l);case 7:return Tn(n,r,r.pendingProps,l),r.child;case 8:return Tn(n,r,r.pendingProps.children,l),r.child;case 12:return Tn(n,r,r.pendingProps.children,l),r.child;case 10:e:{if(u=r.type._context,c=r.pendingProps,v=r.memoizedProps,g=c.value,St(Xa,u._currentValue),u._currentValue=g,v!==null)if(ca(v.value,g)){if(v.children===c.children&&!en.current){r=Yn(n,r,l);break e}}else for(v=r.child,v!==null&&(v.return=r);v!==null;){var T=v.dependencies;if(T!==null){g=v.child;for(var x=T.firstContext;x!==null;){if(x.context===u){if(v.tag===1){x=Ci(-1,l&-l),x.tag=2;var H=v.updateQueue;if(H!==null){H=H.shared;var q=H.pending;q===null?x.next=x:(x.next=q.next,q.next=x),H.pending=x}}v.lanes|=l,x=v.alternate,x!==null&&(x.lanes|=l),zn(v.return,l,r),T.lanes|=l;break}x=x.next}}else if(v.tag===10)g=v.type===r.type?null:v.child;else if(v.tag===18){if(g=v.return,g===null)throw Error(p(341));g.lanes|=l,T=g.alternate,T!==null&&(T.lanes|=l),zn(g,l,r),g=v.sibling}else g=v.child;if(g!==null)g.return=v;else for(g=v;g!==null;){if(g===r){g=null;break}if(v=g.sibling,v!==null){v.return=g.return,g=v;break}g=g.return}v=g}Tn(n,r,c.children,l),r=r.child}return r;case 9:return c=r.type,u=r.pendingProps.children,re(r,l),c=sn(c),u=u(c),r.flags|=1,Tn(n,r,u,l),r.child;case 14:return u=r.type,c=Gr(u,r.pendingProps),c=Gr(u.type,c),zc(n,r,u,c,l);case 15:return Lr(n,r,r.type,r.pendingProps,l);case 17:return u=r.type,c=r.pendingProps,c=r.elementType===u?c:Gr(u,c),lr(n,r),r.tag=1,It(u)?(n=!0,ac(r)):n=!1,re(r,l),ih(r,u,c),pc(r,u,c,l),ph(null,r,u,!0,n,l);case 19:return Ud(n,r,l);case 22:return Gl(n,r,l)}throw Error(p(156,r.tag))};function Gd(n,r){return $t(n,r)}function yg(n,r,l,u){this.tag=n,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ea(n,r,l,u){return new yg(n,r,l,u)}function qd(n){return n=n.prototype,!(!n||!n.isReactComponent)}function gg(n){if(typeof n=="function")return qd(n)?1:0;if(n!=null){if(n=n.$$typeof,n===Zt)return 11;if(n===dn)return 14}return 2}function cl(n,r){var l=n.alternate;return l===null?(l=Ea(n.tag,r,n.key,n.mode),l.elementType=n.elementType,l.type=n.type,l.stateNode=n.stateNode,l.alternate=n,n.alternate=l):(l.pendingProps=r,l.type=n.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=n.flags&14680064,l.childLanes=n.childLanes,l.lanes=n.lanes,l.child=n.child,l.memoizedProps=n.memoizedProps,l.memoizedState=n.memoizedState,l.updateQueue=n.updateQueue,r=n.dependencies,l.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},l.sibling=n.sibling,l.index=n.index,l.ref=n.ref,l}function Qc(n,r,l,u,c,v){var g=2;if(u=n,typeof n=="function")qd(n)&&(g=1);else if(typeof n=="string")g=5;else e:switch(n){case $e:return ro(l.children,c,v,r);case Kt:g=8,c|=8;break;case an:return n=Ea(12,l,r,c|2),n.elementType=an,n.lanes=v,n;case Ve:return n=Ea(13,l,r,c),n.elementType=Ve,n.lanes=v,n;case et:return n=Ea(19,l,r,c),n.elementType=et,n.lanes=v,n;case Vn:return ss(l,c,v,r);default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case zt:g=10;break e;case vt:g=9;break e;case Zt:g=11;break e;case dn:g=14;break e;case Dt:g=16,u=null;break e}throw Error(p(130,n==null?n:typeof n,""))}return r=Ea(g,l,r,c),r.elementType=n,r.type=u,r.lanes=v,r}function ro(n,r,l,u){return n=Ea(7,n,u,r),n.lanes=l,n}function ss(n,r,l,u){return n=Ea(22,n,u,r),n.elementType=Vn,n.lanes=l,n.stateNode={isHidden:!1},n}function cs(n,r,l){return n=Ea(6,n,null,r),n.lanes=l,n}function ao(n,r,l){return r=Ea(4,n.children!==null?n.children:[],n.key,r),r.lanes=l,r.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},r}function Sg(n,r,l,u,c){this.tag=r,this.containerInfo=n,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Hf(0),this.expirationTimes=Hf(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Hf(0),this.identifierPrefix=u,this.onRecoverableError=c,this.mutableSourceEagerHydrationData=null}function Wc(n,r,l,u,c,v,g,T,x){return n=new Sg(n,r,l,T,x),r===1?(r=1,v===!0&&(r|=8)):r=0,v=Ea(3,null,null,r),n.current=v,v.stateNode=n,v.memoizedState={element:u,isDehydrated:l,cache:null,transitions:null,pendingSuspenseBoundaries:null},bd(v),n}function kh(n,r,l){var u=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:at,key:u==null?null:""+u,children:n,containerInfo:r,implementation:l}}function Xd(n){if(!n)return qa;n=n._reactInternals;e:{if(qe(n)!==n||n.tag!==1)throw Error(p(170));var r=n;do{switch(r.tag){case 3:r=r.stateNode.context;break e;case 1:if(It(r.type)){r=r.stateNode.__reactInternalMemoizedMergedChildContext;break e}}r=r.return}while(r!==null);throw Error(p(171))}if(n.tag===1){var l=n.type;if(It(l))return Iu(n,l,r)}return r}function Dh(n,r,l,u,c,v,g,T,x){return n=Wc(l,u,!0,n,c,v,g,T,x),n.context=Xd(null),l=n.current,u=sr(),c=gn(l),v=Ci(u,c),v.callback=r??null,tl(l,v,c),n.current.lanes=c,Dl(n,c,u),fr(n,u),n}function fs(n,r,l,u){var c=r.current,v=sr(),g=gn(c);return l=Xd(l),r.context===null?r.context=l:r.pendingContext=l,r=Ci(v,g),r.payload={element:n},u=u===void 0?null:u,u!==null&&(r.callback=u),n=tl(c,r,g),n!==null&&(cr(n,c,g,v),fc(n,c,g)),g}function Gc(n){if(n=n.current,!n.child)return null;switch(n.child.tag){case 5:return n.child.stateNode;default:return n.child.stateNode}}function Oh(n,r){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var l=n.retryLane;n.retryLane=l!==0&&l<r?l:r}}function Kd(n,r){Oh(n,r),(n=n.alternate)&&Oh(n,r)}function Mh(){return null}var Zd=typeof reportError=="function"?reportError:function(n){console.error(n)};function qc(n){this._internalRoot=n}xi.prototype.render=qc.prototype.render=function(n){var r=this._internalRoot;if(r===null)throw Error(p(409));fs(n,r,null,null)},xi.prototype.unmount=qc.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var r=n.containerInfo;sl(function(){fs(null,n,null,null)}),r[yi]=null}};function xi(n){this._internalRoot=n}xi.prototype.unstable_scheduleHydration=function(n){if(n){var r=hv();n={blockedOn:null,target:n,priority:r};for(var l=0;l<wt.length&&r!==0&&r<wt[l].priority;l++);wt.splice(l,0,n),l===0&&mv(n)}};function Jd(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function Xc(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11&&(n.nodeType!==8||n.nodeValue!==" react-mount-point-unstable "))}function Nh(){}function Cg(n,r,l,u,c){if(c){if(typeof u=="function"){var v=u;u=function(){var H=Gc(g);v.call(H)}}var g=Dh(r,u,n,0,null,!1,!1,"",Nh);return n._reactRootContainer=g,n[yi]=g.current,Lo(n.nodeType===8?n.parentNode:n),sl(),g}for(;c=n.lastChild;)n.removeChild(c);if(typeof u=="function"){var T=u;u=function(){var H=Gc(x);T.call(H)}}var x=Wc(n,0,!1,null,null,!1,!1,"",Nh);return n._reactRootContainer=x,n[yi]=x.current,Lo(n.nodeType===8?n.parentNode:n),sl(function(){fs(r,x,l,u)}),x}function Kc(n,r,l,u,c){var v=l._reactRootContainer;if(v){var g=v;if(typeof c=="function"){var T=c;c=function(){var x=Gc(g);T.call(x)}}fs(r,g,n,c)}else g=Cg(l,r,n,c,u);return Gc(g)}vv=function(n){switch(n.tag){case 3:var r=n.stateNode;if(r.current.memoizedState.isDehydrated){var l=kl(r.pendingLanes);l!==0&&(Tu(r,l|1),fr(r,ht()),!(nt&6)&&(Ko=ht()+500,_r()))}break;case 13:sl(function(){var u=Si(n,1);if(u!==null){var c=sr();cr(u,n,1,c)}}),Kd(n,1)}},Ps=function(n){if(n.tag===13){var r=Si(n,134217728);if(r!==null){var l=sr();cr(r,n,134217728,l)}Kd(n,134217728)}},Mt=function(n){if(n.tag===13){var r=gn(n),l=Si(n,r);if(l!==null){var u=sr();cr(l,n,r,u)}Kd(n,r)}},hv=function(){return bt},Pf=function(n,r){var l=bt;try{return bt=n,r()}finally{bt=l}},Br=function(n,r,l){switch(r){case"input":if(rr(n,l),r=l.name,l.type==="radio"&&r!=null){for(l=n;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll("input[name="+JSON.stringify(""+r)+'][type="radio"]'),r=0;r<l.length;r++){var u=l[r];if(u!==n&&u.form===n.form){var c=ke(u);if(!c)throw Error(p(90));me(u),rr(u,c)}}}break;case"textarea":Qa(n,l);break;case"select":r=l.value,r!=null&&Ya(n,!!l.multiple,r,!1)}},Eu=eu,As=sl;var Eg={usingClientEntryPoint:!1,Events:[$u,zo,ke,wl,Co,eu]},nu={findFiberByHostInstance:fa,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},bg={bundleType:nu.bundleType,version:nu.version,rendererPackageName:nu.rendererPackageName,rendererConfig:nu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Ne.ReactCurrentDispatcher,findHostInstanceByFiber:function(n){return n=On(n),n===null?null:n.stateNode},findFiberByHostInstance:nu.findFiberByHostInstance||Mh,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 Zc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Zc.isDisabled&&Zc.supportsFiber)try{bu=Zc.inject(bg),La=Zc}catch{}}return na.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Eg,na.createPortal=function(n,r){var l=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Jd(r))throw Error(p(200));return kh(n,r,null,l)},na.createRoot=function(n,r){if(!Jd(n))throw Error(p(299));var l=!1,u="",c=Zd;return r!=null&&(r.unstable_strictMode===!0&&(l=!0),r.identifierPrefix!==void 0&&(u=r.identifierPrefix),r.onRecoverableError!==void 0&&(c=r.onRecoverableError)),r=Wc(n,1,!1,null,null,l,!1,u,c),n[yi]=r.current,Lo(n.nodeType===8?n.parentNode:n),new qc(r)},na.findDOMNode=function(n){if(n==null)return null;if(n.nodeType===1)return n;var r=n._reactInternals;if(r===void 0)throw typeof n.render=="function"?Error(p(188)):(n=Object.keys(n).join(","),Error(p(268,n)));return n=On(r),n=n===null?null:n.stateNode,n},na.flushSync=function(n){return sl(n)},na.hydrate=function(n,r,l){if(!Xc(r))throw Error(p(200));return Kc(null,n,r,!0,l)},na.hydrateRoot=function(n,r,l){if(!Jd(n))throw Error(p(405));var u=l!=null&&l.hydratedSources||null,c=!1,v="",g=Zd;if(l!=null&&(l.unstable_strictMode===!0&&(c=!0),l.identifierPrefix!==void 0&&(v=l.identifierPrefix),l.onRecoverableError!==void 0&&(g=l.onRecoverableError)),r=Dh(r,null,n,1,l??null,c,!1,v,g),n[yi]=r.current,Lo(n),u)for(n=0;n<u.length;n++)l=u[n],c=l._getVersion,c=c(l._source),r.mutableSourceEagerHydrationData==null?r.mutableSourceEagerHydrationData=[l,c]:r.mutableSourceEagerHydrationData.push(l,c);return new xi(r)},na.render=function(n,r,l){if(!Xc(r))throw Error(p(200));return Kc(null,n,r,!1,l)},na.unmountComponentAtNode=function(n){if(!Xc(n))throw Error(p(40));return n._reactRootContainer?(sl(function(){Kc(null,null,n,!1,function(){n._reactRootContainer=null,n[yi]=null})}),!0):!1},na.unstable_batchedUpdates=eu,na.unstable_renderSubtreeIntoContainer=function(n,r,l,u){if(!Xc(l))throw Error(p(200));if(n==null||n._reactInternals===void 0)throw Error(p(38));return Kc(n,r,l,!1,u)},na.version="18.2.0-next-9e3b772b8-20220608",na}var ra={};var tC;function Mw(){return tC||(tC=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 f=Ke,m=J1(),p=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,C=!1;function R(e){C=e}function M(e){if(!C){for(var t=arguments.length,a=new Array(t>1?t-1:0),i=1;i<t;i++)a[i-1]=arguments[i];I("warn",e,a)}}function S(e){if(!C){for(var t=arguments.length,a=new Array(t>1?t-1:0),i=1;i<t;i++)a[i-1]=arguments[i];I("error",e,a)}}function I(e,t,a){{var i=p.ReactDebugCurrentFrame,o=i.getStackAddendum();o!==""&&(t+="%s",a=a.concat([o]));var s=a.map(function(d){return String(d)});s.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,s)}}var O=0,j=1,ee=2,W=3,ne=4,Q=5,oe=6,He=7,Ee=8,it=9,Ae=10,he=11,Ne=12,Y=13,at=14,$e=15,Kt=16,an=17,zt=18,vt=19,Zt=21,Ve=22,et=23,dn=24,Dt=25,Vn=!0,te=!1,xe=!1,ue=!1,st=!1,ft=!0,Cn=!1,Bn=!1,aa=!0,ln=!0,Tr=!0,kn=new Set,er={},ia={};function tr(e,t){me(e,t),me(e+"Capture",t)}function me(e,t){er[e]&&S("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),er[e]=t;{var a=e.toLowerCase();ia[a]=e,e==="onDoubleClick"&&(ia.ondblclick=e)}for(var i=0;i<t.length;i++)kn.add(t[i])}var Jt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",on=Object.prototype.hasOwnProperty;function pn(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,a=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function nr(e){try{return rr(e),!1}catch{return!0}}function rr(e){return""+e}function la(e,t){if(nr(e))return S("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,pn(e)),rr(e)}function ka(e){if(nr(e))return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",pn(e)),rr(e)}function si(e,t){if(nr(e))return S("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,pn(e)),rr(e)}function Ya(e,t){if(nr(e))return S("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,pn(e)),rr(e)}function Da(e){if(nr(e))return S("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(e)),rr(e)}function jr(e){if(nr(e))return S("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(e)),rr(e)}var Qa=0,Pr=1,Oa=2,vn=3,Vr=4,Hi=5,Ma=6,ie=":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",_e=ie+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Ze=new RegExp("^["+ie+"]["+_e+"]*$"),Et={},Qt={};function Dn(e){return on.call(Qt,e)?!0:on.call(Et,e)?!1:Ze.test(e)?(Qt[e]=!0,!0):(Et[e]=!0,S("Invalid attribute name: `%s`",e),!1)}function un(e,t,a){return t!==null?t.type===Qa:a?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function Rr(e,t,a,i){if(a!==null&&a.type===Qa)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(i)return!1;if(a!==null)return!a.acceptsBooleans;var o=e.toLowerCase().slice(0,5);return o!=="data-"&&o!=="aria-"}default:return!1}}function At(e,t,a,i){if(t===null||typeof t>"u"||Rr(e,t,a,i))return!0;if(i)return!1;if(a!==null)switch(a.type){case vn:return!t;case Vr:return t===!1;case Hi:return isNaN(t);case Ma:return isNaN(t)||t<1}return!1}function Br(e){return Ut.hasOwnProperty(e)?Ut[e]:null}function Ot(e,t,a,i,o,s,d){this.acceptsBooleans=t===Oa||t===vn||t===Vr,this.attributeName=i,this.attributeNamespace=o,this.mustUseProperty=a,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=d}var Ut={},So=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];So.forEach(function(e){Ut[e]=new Ot(e,Qa,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],a=e[1];Ut[t]=new Ot(t,Pr,!1,a,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ut[e]=new Ot(e,Oa,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ut[e]=new Ot(e,Oa,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){Ut[e]=new Ot(e,vn,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){Ut[e]=new Ot(e,vn,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){Ut[e]=new Ot(e,Vr,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){Ut[e]=new Ot(e,Ma,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){Ut[e]=new Ot(e,Hi,!1,e.toLowerCase(),null,!1,!1)});var wl=/[\-\:]([a-z])/g,Co=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(wl,Co);Ut[t]=new Ot(t,Pr,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(wl,Co);Ut[t]=new Ot(t,Pr,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(wl,Co);Ut[t]=new Ot(t,Pr,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){Ut[e]=new Ot(e,Pr,!1,e.toLowerCase(),null,!1,!1)});var Eu="xlinkHref";Ut[Eu]=new Ot("xlinkHref",Pr,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){Ut[e]=new Ot(e,Pr,!1,e.toLowerCase(),null,!0,!0)});var As=/^[\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,xl=!1;function Eo(e){!xl&&As.test(e)&&(xl=!0,S("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(e)))}function _l(e,t,a,i){if(i.mustUseProperty){var o=i.propertyName;return e[o]}else{la(a,t),i.sanitizeURL&&Eo(""+a);var s=i.attributeName,d=null;if(i.type===Vr){if(e.hasAttribute(s)){var h=e.getAttribute(s);return h===""?!0:At(t,a,i,!1)?h:h===""+a?a:h}}else if(e.hasAttribute(s)){if(At(t,a,i,!1))return e.getAttribute(s);if(i.type===vn)return a;d=e.getAttribute(s)}return At(t,a,i,!1)?d===null?a:d:d===""+a?a:d}}function bo(e,t,a,i){{if(!Dn(t))return;if(!e.hasAttribute(t))return a===void 0?void 0:null;var o=e.getAttribute(t);return la(a,t),o===""+a?a:o}}function Wa(e,t,a,i){var o=Br(t);if(!un(t,o,i)){if(At(t,a,o,i)&&(a=null),i||o===null){if(Dn(t)){var s=t;a===null?e.removeAttribute(s):(la(a,t),e.setAttribute(s,""+a))}return}var d=o.mustUseProperty;if(d){var h=o.propertyName;if(a===null){var y=o.type;e[h]=y===vn?!1:""}else e[h]=a;return}var E=o.attributeName,b=o.attributeNamespace;if(a===null)e.removeAttribute(E);else{var D=o.type,_;D===vn||D===Vr&&a===!0?_="":(la(a,E),_=""+a,o.sanitizeURL&&Eo(_.toString())),b?e.setAttributeNS(b,E,_):e.setAttribute(E,_)}}}var ji=Symbol.for("react.element"),$r=Symbol.for("react.portal"),Na=Symbol.for("react.fragment"),Pi=Symbol.for("react.strict_mode"),w=Symbol.for("react.profiler"),X=Symbol.for("react.provider"),le=Symbol.for("react.context"),Oe=Symbol.for("react.forward_ref"),qe=Symbol.for("react.suspense"),dt=Symbol.for("react.suspense_list"),Xe=Symbol.for("react.memo"),Le=Symbol.for("react.lazy"),On=Symbol.for("react.scope"),Bt=Symbol.for("react.debug_trace_mode"),$t=Symbol.for("react.offscreen"),dr=Symbol.for("react.legacy_hidden"),Vi=Symbol.for("react.cache"),Us=Symbol.for("react.tracing_marker"),ht=Symbol.iterator,Fy="@@iterator";function ci(e){if(e===null||typeof e!="object")return null;var t=ht&&e[ht]||e[Fy];return typeof t=="function"?t:null}var tt=Object.assign,Bi=0,cv,Af,bu,La,fv,oa,dv;function pv(){}pv.__reactDisabledLog=!0;function Hy(){{if(Bi===0){cv=console.log,Af=console.info,bu=console.warn,La=console.error,fv=console.group,oa=console.groupCollapsed,dv=console.groupEnd;var e={configurable:!0,enumerable:!0,value:pv,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Bi++}}function Fs(){{if(Bi--,Bi===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:tt({},e,{value:cv}),info:tt({},e,{value:Af}),warn:tt({},e,{value:bu}),error:tt({},e,{value:La}),group:tt({},e,{value:fv}),groupCollapsed:tt({},e,{value:oa}),groupEnd:tt({},e,{value:dv})})}Bi<0&&S("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var To=p.ReactCurrentDispatcher,kl;function za(e,t,a){{if(kl===void 0)try{throw Error()}catch(o){var i=o.stack.trim().match(/\n( *(at )?)/);kl=i&&i[1]||""}return`
|
|
74
|
+
`+kl+e}}var Uf=!1,Hs;{var Ff=typeof WeakMap=="function"?WeakMap:Map;Hs=new Ff}function js(e,t){if(!e||Uf)return"";{var a=Hs.get(e);if(a!==void 0)return a}var i;Uf=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var s;s=To.current,To.current=null,Hy();try{if(t){var d=function(){throw Error()};if(Object.defineProperty(d.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(d,[])}catch(F){i=F}Reflect.construct(e,[],d)}else{try{d.call()}catch(F){i=F}e.call(d.prototype)}}else{try{throw Error()}catch(F){i=F}e()}}catch(F){if(F&&i&&typeof F.stack=="string"){for(var h=F.stack.split(`
|
|
75
|
+
`),y=i.stack.split(`
|
|
76
|
+
`),E=h.length-1,b=y.length-1;E>=1&&b>=0&&h[E]!==y[b];)b--;for(;E>=1&&b>=0;E--,b--)if(h[E]!==y[b]){if(E!==1||b!==1)do if(E--,b--,b<0||h[E]!==y[b]){var D=`
|
|
77
|
+
`+h[E].replace(" at new "," at ");return e.displayName&&D.includes("<anonymous>")&&(D=D.replace("<anonymous>",e.displayName)),typeof e=="function"&&Hs.set(e,D),D}while(E>=1&&b>=0);break}}}finally{Uf=!1,To.current=s,Fs(),Error.prepareStackTrace=o}var _=e?e.displayName||e.name:"",U=_?za(_):"";return typeof e=="function"&&Hs.set(e,U),U}function Hf(e,t,a){return js(e,!0)}function Dl(e,t,a){return js(e,!1)}function jy(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function Tu(e,t,a){if(e==null)return"";if(typeof e=="function")return js(e,jy(e));if(typeof e=="string")return za(e);switch(e){case qe:return za("Suspense");case dt:return za("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case Oe:return Dl(e.render);case Xe:return Tu(e.type,t,a);case Le:{var i=e,o=i._payload,s=i._init;try{return Tu(s(o),t,a)}catch{}}}return""}function bt(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case Q:return za(e.type);case Kt:return za("Lazy");case Y:return za("Suspense");case vt:return za("SuspenseList");case O:case ee:case $e:return Dl(e.type);case he:return Dl(e.type.render);case j:return Hf(e.type);default:return""}}function jf(e){try{var t="",a=e;do t+=bt(a),a=a.return;while(a);return t}catch(i){return`
|
|
78
|
+
Error generating stack: `+i.message+`
|
|
79
|
+
`+i.stack}}function vv(e,t,a){var i=e.displayName;if(i)return i;var o=t.displayName||t.name||"";return o!==""?a+"("+o+")":a}function Ps(e){return e.displayName||"Context"}function Mt(e){if(e==null)return null;if(typeof e.tag=="number"&&S("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Na:return"Fragment";case $r:return"Portal";case w:return"Profiler";case Pi:return"StrictMode";case qe:return"Suspense";case dt:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case le:var t=e;return Ps(t)+".Consumer";case X:var a=e;return Ps(a._context)+".Provider";case Oe:return vv(e,e.render,"ForwardRef");case Xe:var i=e.displayName||null;return i!==null?i:Mt(e.type)||"Memo";case Le:{var o=e,s=o._payload,d=o._init;try{return Mt(d(s))}catch{return null}}}return null}function hv(e,t,a){var i=t.displayName||t.name||"";return e.displayName||(i!==""?a+"("+i+")":a)}function Pf(e){return e.displayName||"Context"}function Qe(e){var t=e.tag,a=e.type;switch(t){case dn:return"Cache";case it:var i=a;return Pf(i)+".Consumer";case Ae:var o=a;return Pf(o._context)+".Provider";case zt:return"DehydratedFragment";case he:return hv(a,a.render,"ForwardRef");case He:return"Fragment";case Q:return a;case ne:return"Portal";case W:return"Root";case oe:return"Text";case Kt:return Mt(a);case Ee:return a===Pi?"StrictMode":"Mode";case Ve:return"Offscreen";case Ne:return"Profiler";case Zt:return"Scope";case Y:return"Suspense";case vt:return"SuspenseList";case Dt:return"TracingMarker";case j:case O:case an:case ee:case at:case $e:if(typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;break}return null}var Ru=p.ReactDebugCurrentFrame,hn=null,ua=!1;function sa(){{if(hn===null)return null;var e=hn._debugOwner;if(e!==null&&typeof e<"u")return Qe(e)}return null}function wu(){return hn===null?"":jf(hn)}function En(){Ru.getCurrentStack=null,hn=null,ua=!1}function wt(e){Ru.getCurrentStack=e===null?null:wu,hn=e,ua=!1}function Py(){return hn}function Aa(e){ua=e}function ar(e){return""+e}function $i(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return jr(e),e;default:return""}}var mv={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Ro(e,t){mv[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||S("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`."),t.onChange||t.readOnly||t.disabled||t.checked==null||S("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 Vf(e){var t=e.type,a=e.nodeName;return a&&a.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function yv(e){return e._valueTracker}function xu(e){e._valueTracker=null}function _u(e){var t="";return e&&(Vf(e)?t=e.checked?"true":"false":t=e.value),t}function wo(e){var t=Vf(e)?"checked":"value",a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);jr(e[t]);var i=""+e[t];if(!(e.hasOwnProperty(t)||typeof a>"u"||typeof a.get!="function"||typeof a.set!="function")){var o=a.get,s=a.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(h){jr(h),i=""+h,s.call(this,h)}}),Object.defineProperty(e,t,{enumerable:a.enumerable});var d={getValue:function(){return i},setValue:function(h){jr(h),i=""+h},stopTracking:function(){xu(e),delete e[t]}};return d}}function Ol(e){yv(e)||(e._valueTracker=wo(e))}function gv(e){if(!e)return!1;var t=yv(e);if(!t)return!0;var a=t.getValue(),i=_u(e);return i!==a?(t.setValue(i),!0):!1}function Vs(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Bs=!1,ku=!1,$s=!1,Bf=!1;function fi(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function Du(e,t){var a=e,i=t.checked,o=tt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i??a._wrapperState.initialChecked});return o}function Ou(e,t){Ro("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!ku&&(S("%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",sa()||"A component",t.type),ku=!0),t.value!==void 0&&t.defaultValue!==void 0&&!Bs&&(S("%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",sa()||"A component",t.type),Bs=!0);var a=e,i=t.defaultValue==null?"":t.defaultValue;a._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:$i(t.value!=null?t.value:i),controlled:fi(t)}}function $f(e,t){var a=e,i=t.checked;i!=null&&Wa(a,"checked",i,!1)}function xo(e,t){var a=e;{var i=fi(t);!a._wrapperState.controlled&&i&&!Bf&&(S("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"),Bf=!0),a._wrapperState.controlled&&!i&&!$s&&(S("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"),$s=!0)}$f(e,t);var o=$i(t.value),s=t.type;if(o!=null)s==="number"?(o===0&&a.value===""||a.value!=o)&&(a.value=ar(o)):a.value!==ar(o)&&(a.value=ar(o));else if(s==="submit"||s==="reset"){a.removeAttribute("value");return}t.hasOwnProperty("value")?Ii(a,t.type,o):t.hasOwnProperty("defaultValue")&&Ii(a,t.type,$i(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(a.defaultChecked=!!t.defaultChecked)}function Mu(e,t,a){var i=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var o=t.type,s=o==="submit"||o==="reset";if(s&&(t.value===void 0||t.value===null))return;var d=ar(i._wrapperState.initialValue);a||d!==i.value&&(i.value=d),i.defaultValue=d}var h=i.name;h!==""&&(i.name=""),i.defaultChecked=!i.defaultChecked,i.defaultChecked=!!i._wrapperState.initialChecked,h!==""&&(i.name=h)}function Sv(e,t){var a=e;xo(a,t),Ir(a,t)}function Ir(e,t){var a=t.name;if(t.type==="radio"&&a!=null){for(var i=e;i.parentNode;)i=i.parentNode;la(a,"name");for(var o=i.querySelectorAll("input[name="+JSON.stringify(""+a)+'][type="radio"]'),s=0;s<o.length;s++){var d=o[s];if(!(d===e||d.form!==e.form)){var h=qh(d);if(!h)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");gv(d),xo(d,h)}}}}function Ii(e,t,a){(t!=="number"||Vs(e.ownerDocument)!==e)&&(a==null?e.defaultValue=ar(e._wrapperState.initialValue):e.defaultValue!==ar(a)&&(e.defaultValue=ar(a)))}var Is=!1,_o=!1,Cv=!1;function Ys(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?f.Children.forEach(t.children,function(a){a!=null&&(typeof a=="string"||typeof a=="number"||_o||(_o=!0,S("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(Cv||(Cv=!0,S("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!Is&&(S("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Is=!0)}function If(e,t){t.value!=null&&e.setAttribute("value",ar($i(t.value)))}var Nu=Array.isArray;function Mn(e){return Nu(e)}var Qs;Qs=!1;function Ev(){var e=sa();return e?`
|
|
80
|
+
|
|
81
|
+
Check the render method of \``+e+"`.":""}var bv=["value","defaultValue"];function Vy(e){{Ro("select",e);for(var t=0;t<bv.length;t++){var a=bv[t];if(e[a]!=null){var i=Mn(e[a]);e.multiple&&!i?S("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",a,Ev()):!e.multiple&&i&&S("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",a,Ev())}}}}function Yi(e,t,a,i){var o=e.options;if(t){for(var s=a,d={},h=0;h<s.length;h++)d["$"+s[h]]=!0;for(var y=0;y<o.length;y++){var E=d.hasOwnProperty("$"+o[y].value);o[y].selected!==E&&(o[y].selected=E),E&&i&&(o[y].defaultSelected=!0)}}else{for(var b=ar($i(a)),D=null,_=0;_<o.length;_++){if(o[_].value===b){o[_].selected=!0,i&&(o[_].defaultSelected=!0);return}D===null&&!o[_].disabled&&(D=o[_])}D!==null&&(D.selected=!0)}}function Yf(e,t){return tt({},t,{value:void 0})}function Tv(e,t){var a=e;Vy(t),a._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Qs&&(S("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"),Qs=!0)}function By(e,t){var a=e;a.multiple=!!t.multiple;var i=t.value;i!=null?Yi(a,!!t.multiple,i,!1):t.defaultValue!=null&&Yi(a,!!t.multiple,t.defaultValue,!0)}function $y(e,t){var a=e,i=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!t.multiple;var o=t.value;o!=null?Yi(a,!!t.multiple,o,!1):i!==!!t.multiple&&(t.defaultValue!=null?Yi(a,!!t.multiple,t.defaultValue,!0):Yi(a,!!t.multiple,t.multiple?[]:"",!1))}function Iy(e,t){var a=e,i=t.value;i!=null&&Yi(a,!!t.multiple,i,!1)}var Qf=!1;function Wf(e,t){var a=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var i=tt({},t,{value:void 0,defaultValue:void 0,children:ar(a._wrapperState.initialValue)});return i}function Rv(e,t){var a=e;Ro("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!Qf&&(S("%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",sa()||"A component"),Qf=!0);var i=t.value;if(i==null){var o=t.children,s=t.defaultValue;if(o!=null){S("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(s!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Mn(o)){if(o.length>1)throw new Error("<textarea> can only have at most one child.");o=o[0]}s=o}}s==null&&(s=""),i=s}a._wrapperState={initialValue:$i(i)}}function wv(e,t){var a=e,i=$i(t.value),o=$i(t.defaultValue);if(i!=null){var s=ar(i);s!==a.value&&(a.value=s),t.defaultValue==null&&a.defaultValue!==s&&(a.defaultValue=s)}o!=null&&(a.defaultValue=ar(o))}function xv(e,t){var a=e,i=a.textContent;i===a._wrapperState.initialValue&&i!==""&&i!==null&&(a.value=i)}function Gf(e,t){wv(e,t)}var di="http://www.w3.org/1999/xhtml",Yy="http://www.w3.org/1998/Math/MathML",qf="http://www.w3.org/2000/svg";function Ws(e){switch(e){case"svg":return qf;case"math":return Yy;default:return di}}function Xf(e,t){return e==null||e===di?Ws(t):e===qf&&t==="foreignObject"?di:e}var Qy=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,a,i,o){MSApp.execUnsafeLocalFunction(function(){return e(t,a,i,o)})}:e},Gs,_v=Qy(function(e,t){if(e.namespaceURI===qf&&!("innerHTML"in e)){Gs=Gs||document.createElement("div"),Gs.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var a=Gs.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;a.firstChild;)e.appendChild(a.firstChild);return}e.innerHTML=t}),wr=1,pi=3,mn=8,Ua=9,Ml=11,qs=function(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===pi){a.nodeValue=t;return}}e.textContent=t},kv={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"]},ko={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 Dv(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var Ov=["Webkit","ms","Moz","O"];Object.keys(ko).forEach(function(e){Ov.forEach(function(t){ko[Dv(t,e)]=ko[e]})});function Xs(e,t,a){var i=t==null||typeof t=="boolean"||t==="";return i?"":!a&&typeof t=="number"&&t!==0&&!(ko.hasOwnProperty(e)&&ko[e])?t+"px":(Ya(t,e),(""+t).trim())}var Do=/([A-Z])/g,Wy=/^ms-/;function Gy(e){return e.replace(Do,"-$1").toLowerCase().replace(Wy,"-ms-")}var Mv=function(){};{var Nv=/^(?:webkit|moz|o)[A-Z]/,Lv=/^-ms-/,Lu=/-(.)/g,Oo=/;\s*$/,Mo={},No={},zv=!1,Kf=!1,Zf=function(e){return e.replace(Lu,function(t,a){return a.toUpperCase()})},Jf=function(e){Mo.hasOwnProperty(e)&&Mo[e]||(Mo[e]=!0,S("Unsupported style property %s. Did you mean %s?",e,Zf(e.replace(Lv,"ms-"))))},Av=function(e){Mo.hasOwnProperty(e)&&Mo[e]||(Mo[e]=!0,S("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},Uv=function(e,t){No.hasOwnProperty(t)&&No[t]||(No[t]=!0,S(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(Oo,"")))},Fv=function(e,t){zv||(zv=!0,S("`NaN` is an invalid value for the `%s` css style property.",e))},qy=function(e,t){Kf||(Kf=!0,S("`Infinity` is an invalid value for the `%s` css style property.",e))};Mv=function(e,t){e.indexOf("-")>-1?Jf(e):Nv.test(e)?Av(e):Oo.test(t)&&Uv(e,t),typeof t=="number"&&(isNaN(t)?Fv(e,t):isFinite(t)||qy(e,t))}}var Xy=Mv;function Ky(e){{var t="",a="";for(var i in e)if(e.hasOwnProperty(i)){var o=e[i];if(o!=null){var s=i.indexOf("--")===0;t+=a+(s?i:Gy(i))+":",t+=Xs(i,o,s),a=";"}}return t||null}}function Hv(e,t){var a=e.style;for(var i in t)if(t.hasOwnProperty(i)){var o=i.indexOf("--")===0;o||Xy(i,t[i]);var s=Xs(i,t[i],o);i==="float"&&(i="cssFloat"),o?a.setProperty(i,s):a[i]=s}}function Zy(e){return e==null||typeof e=="boolean"||e===""}function ca(e){var t={};for(var a in e)for(var i=kv[a]||[a],o=0;o<i.length;o++)t[i[o]]=a;return t}function zu(e,t){{if(!t)return;var a=ca(e),i=ca(t),o={};for(var s in a){var d=a[s],h=i[s];if(h&&d!==h){var y=d+","+h;if(o[y])continue;o[y]=!0,S("%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.",Zy(e[d])?"Removing":"Updating",d,h)}}}}var jv={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},Pv=tt({menuitem:!0},jv),Vv="__html";function Ks(e,t){if(t){if(Pv[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t.dangerouslySetInnerHTML!="object"||!(Vv in t.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(!t.suppressContentEditableWarning&&t.contentEditable&&t.children!=null&&S("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."),t.style!=null&&typeof t.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 vi(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Zs={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"},Bv={"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},Fa={},ed=new RegExp("^(aria)-["+_e+"]*$"),Au=new RegExp("^(aria)[A-Z]["+_e+"]*$");function td(e,t){{if(on.call(Fa,t)&&Fa[t])return!0;if(Au.test(t)){var a="aria-"+t.slice(4).toLowerCase(),i=Bv.hasOwnProperty(a)?a:null;if(i==null)return S("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Fa[t]=!0,!0;if(t!==i)return S("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,i),Fa[t]=!0,!0}if(ed.test(t)){var o=t.toLowerCase(),s=Bv.hasOwnProperty(o)?o:null;if(s==null)return Fa[t]=!0,!1;if(t!==s)return S("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,s),Fa[t]=!0,!0}}return!0}function $v(e,t){{var a=[];for(var i in t){var o=td(e,i);o||a.push(i)}var s=a.map(function(d){return"`"+d+"`"}).join(", ");a.length===1?S("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",s,e):a.length>1&&S("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",s,e)}}function Js(e,t){vi(e,t)||$v(e,t)}var Nl=!1;function nd(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!Nl&&(Nl=!0,e==="select"&&t.multiple?S("`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.",e):S("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var rd=function(){};{var Nn={},ad=/^on./,Iv=/^on[^A-Z]/,Yv=new RegExp("^(aria)-["+_e+"]*$"),Qv=new RegExp("^(aria)[A-Z]["+_e+"]*$");rd=function(e,t,a,i){if(on.call(Nn,t)&&Nn[t])return!0;var o=t.toLowerCase();if(o==="onfocusin"||o==="onfocusout")return S("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."),Nn[t]=!0,!0;if(i!=null){var s=i.registrationNameDependencies,d=i.possibleRegistrationNames;if(s.hasOwnProperty(t))return!0;var h=d.hasOwnProperty(o)?d[o]:null;if(h!=null)return S("Invalid event handler property `%s`. Did you mean `%s`?",t,h),Nn[t]=!0,!0;if(ad.test(t))return S("Unknown event handler property `%s`. It will be ignored.",t),Nn[t]=!0,!0}else if(ad.test(t))return Iv.test(t)&&S("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Nn[t]=!0,!0;if(Yv.test(t)||Qv.test(t))return!0;if(o==="innerhtml")return S("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Nn[t]=!0,!0;if(o==="aria")return S("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Nn[t]=!0,!0;if(o==="is"&&a!==null&&a!==void 0&&typeof a!="string")return S("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof a),Nn[t]=!0,!0;if(typeof a=="number"&&isNaN(a))return S("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Nn[t]=!0,!0;var y=Br(t),E=y!==null&&y.type===Qa;if(Zs.hasOwnProperty(o)){var b=Zs[o];if(b!==t)return S("Invalid DOM property `%s`. Did you mean `%s`?",t,b),Nn[t]=!0,!0}else if(!E&&t!==o)return S("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.",t,o),Nn[t]=!0,!0;return typeof a=="boolean"&&Rr(t,a,y,!1)?(a?S('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()}.',a,t,t,a,t):S('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.',a,t,t,a,t,t,t),Nn[t]=!0,!0):E?!0:Rr(t,a,y,!1)?(Nn[t]=!0,!1):((a==="false"||a==="true")&&y!==null&&y.type===vn&&(S("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",a,t,a==="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".',t,a),Nn[t]=!0),!0)}}var Wv=function(e,t,a){{var i=[];for(var o in t){var s=rd(e,o,t[o],a);s||i.push(o)}var d=i.map(function(h){return"`"+h+"`"}).join(", ");i.length===1?S("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 ",d,e):i.length>1&&S("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 ",d,e)}};function Gv(e,t,a){vi(e,t)||Wv(e,t,a)}var hi=1,Uu=1<<1,Ll=1<<2,Jy=hi|Uu|Ll,Fu=null;function Hu(e){Fu!==null&&S("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Fu=e}function eg(){Fu===null&&S("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Fu=null}function qv(e){return e===Fu}function ec(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===pi?t.parentNode:t}var Nt=null,Qi=null,mi=null;function Lo(e){var t=iu(e);if(t){if(typeof Nt!="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 a=t.stateNode;if(a){var i=qh(a);Nt(t.stateNode,t.type,i)}}}function Xv(e){Nt=e}function tc(e){Qi?mi?mi.push(e):mi=[e]:Qi=e}function ju(){return Qi!==null||mi!==null}function Pu(){if(Qi){var e=Qi,t=mi;if(Qi=null,mi=null,Lo(e),t)for(var a=0;a<t.length;a++)Lo(t[a])}}var zl=function(e,t){return e(t)},id=function(){},ld=!1;function tg(){var e=ju();e&&(id(),Pu())}function od(e,t,a){if(ld)return e(t,a);ld=!0;try{return zl(e,t,a)}finally{ld=!1,tg()}}function nc(e,t,a){zl=e,id=a}function rc(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function ud(e,t,a){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(a.disabled&&rc(t));default:return!1}}function Al(e,t){var a=e.stateNode;if(a===null)return null;var i=qh(a);if(i===null)return null;var o=i[t];if(ud(t,e.type,i))return null;if(o&&typeof o!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof o+"` type.");return o}var Vu=!1;if(Jt)try{var Ul={};Object.defineProperty(Ul,"passive",{get:function(){Vu=!0}}),window.addEventListener("test",Ul,Ul),window.removeEventListener("test",Ul,Ul)}catch{Vu=!1}function Kv(e,t,a,i,o,s,d,h,y){var E=Array.prototype.slice.call(arguments,3);try{t.apply(a,E)}catch(b){this.onError(b)}}var sd=Kv;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var cd=document.createElement("react");sd=function(t,a,i,o,s,d,h,y,E){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 b=document.createEvent("Event"),D=!1,_=!0,U=window.event,F=Object.getOwnPropertyDescriptor(window,"event");function P(){cd.removeEventListener(V,De,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=U)}var de=Array.prototype.slice.call(arguments,3);function De(){D=!0,P(),a.apply(i,de),_=!1}var Re,ut=!1,rt=!1;function L(z){if(Re=z.error,ut=!0,Re===null&&z.colno===0&&z.lineno===0&&(rt=!0),z.defaultPrevented&&Re!=null&&typeof Re=="object")try{Re._suppressLogging=!0}catch{}}var V="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",L),cd.addEventListener(V,De,!1),b.initEvent(V,!1,!1),cd.dispatchEvent(b),F&&Object.defineProperty(window,"event",F),D&&_&&(ut?rt&&(Re=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.")):Re=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(Re)),window.removeEventListener("error",L),!D)return P(),Kv.apply(this,arguments)}}var ng=sd,Wi=!1,Ha=null,Bu=!1,Gi=null,Ga={onError:function(e){Wi=!0,Ha=e}};function Fl(e,t,a,i,o,s,d,h,y){Wi=!1,Ha=null,ng.apply(Ga,arguments)}function yi(e,t,a,i,o,s,d,h,y){if(Fl.apply(this,arguments),Wi){var E=dd();Bu||(Bu=!0,Gi=E)}}function fd(){if(Bu){var e=Gi;throw Bu=!1,Gi=null,e}}function rg(){return Wi}function dd(){if(Wi){var e=Ha;return Wi=!1,Ha=null,e}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 fa(e){return e._reactInternals}function $u(e){return e._reactInternals!==void 0}function zo(e,t){e._reactInternals=t}var ke=0,qi=1,Ft=2,We=4,gt=16,St=32,qa=64,je=128,en=256,xr=512,da=1024,It=2048,pa=4096,Xi=8192,Iu=16384,ac=It|We|qa|xr|da|Iu,Zv=32767,Yr=32768,Ln=65536,Yu=131072,pd=1048576,vd=2097152,_r=4194304,Ki=8388608,kr=16777216,Hl=33554432,Ao=We|da|0,Dr=Ft|We|gt|St|xr|pa|Xi,ir=We|qa|xr|Xi,va=It|gt,$n=_r|Ki|vd,gi=p.ReactCurrentOwner;function Qr(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{var i=t;do t=i,(t.flags&(Ft|pa))!==ke&&(a=t.return),i=t.return;while(i)}return t.tag===W?a:null}function hd(e){if(e.tag===Y){var t=e.memoizedState;if(t===null){var a=e.alternate;a!==null&&(t=a.memoizedState)}if(t!==null)return t.dehydrated}return null}function ic(e){return e.tag===W?e.stateNode.containerInfo:null}function md(e){return Qr(e)===e}function Wr(e){{var t=gi.current;if(t!==null&&t.tag===j){var a=t,i=a.stateNode;i._warnedAboutRefsInRender||S("%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.",Qe(a)||"A component"),i._warnedAboutRefsInRender=!0}}var o=fa(e);return o?Qr(o)===o:!1}function Or(e){if(Qr(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function Ht(e){var t=e.alternate;if(!t){var a=Qr(e);if(a===null)throw new Error("Unable to find node on an unmounted component.");return a!==e?null:e}for(var i=e,o=t;;){var s=i.return;if(s===null)break;var d=s.alternate;if(d===null){var h=s.return;if(h!==null){i=o=h;continue}break}if(s.child===d.child){for(var y=s.child;y;){if(y===i)return Or(s),e;if(y===o)return Or(s),t;y=y.sibling}throw new Error("Unable to find node on an unmounted component.")}if(i.return!==o.return)i=s,o=d;else{for(var E=!1,b=s.child;b;){if(b===i){E=!0,i=s,o=d;break}if(b===o){E=!0,o=s,i=d;break}b=b.sibling}if(!E){for(b=d.child;b;){if(b===i){E=!0,i=d,o=s;break}if(b===o){E=!0,o=d,i=s;break}b=b.sibling}if(!E)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(i.alternate!==o)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(i.tag!==W)throw new Error("Unable to find node on an unmounted component.");return i.stateNode.current===i?e:t}function ha(e){var t=Ht(e);return t!==null?yd(t):null}function yd(e){if(e.tag===Q||e.tag===oe)return e;for(var t=e.child;t!==null;){var a=yd(t);if(a!==null)return a;t=t.sibling}return null}function Jv(e){var t=Ht(e);return t!==null?lc(t):null}function lc(e){if(e.tag===Q||e.tag===oe)return e;for(var t=e.child;t!==null;){if(t.tag!==ne){var a=lc(t);if(a!==null)return a}t=t.sibling}return null}var oc=m.unstable_scheduleCallback,eh=m.unstable_cancelCallback,uc=m.unstable_shouldYield,th=m.unstable_requestPaint,Wt=m.unstable_now,gd=m.unstable_getCurrentPriorityLevel,sc=m.unstable_ImmediatePriority,Gr=m.unstable_UserBlockingPriority,Xa=m.unstable_NormalPriority,cc=m.unstable_LowPriority,Zi=m.unstable_IdlePriority,Sd=m.unstable_yieldValue,Cd=m.unstable_setDisableYieldValue,Ji=null,zn=null,re=null,sn=!1,In=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function Ed(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return S("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{aa&&(e=tt({},e,{getLaneLabelMap:tl,injectProfilingHooks:Ci})),Ji=t.inject(e),zn=t}catch(a){S("React instrumentation encountered an error: %s.",a)}return!!t.checkDCE}function nh(e,t){if(zn&&typeof zn.onScheduleFiberRoot=="function")try{zn.onScheduleFiberRoot(Ji,e,t)}catch(a){sn||(sn=!0,S("React instrumentation encountered an error: %s",a))}}function Si(e,t){if(zn&&typeof zn.onCommitFiberRoot=="function")try{var a=(e.current.flags&je)===je;if(ln){var i;switch(t){case lr:i=sc;break;case Yn:i=Gr;break;case bi:i=Xa;break;case es:i=Zi;break;default:i=Xa;break}zn.onCommitFiberRoot(Ji,e,i,a)}}catch(o){sn||(sn=!0,S("React instrumentation encountered an error: %s",o))}}function el(e){if(zn&&typeof zn.onPostCommitFiberRoot=="function")try{zn.onPostCommitFiberRoot(Ji,e)}catch(t){sn||(sn=!0,S("React instrumentation encountered an error: %s",t))}}function bd(e){if(zn&&typeof zn.onCommitFiberUnmount=="function")try{zn.onCommitFiberUnmount(Ji,e)}catch(t){sn||(sn=!0,S("React instrumentation encountered an error: %s",t))}}function bn(e){if(typeof Sd=="function"&&(Cd(e),R(e)),zn&&typeof zn.setStrictMode=="function")try{zn.setStrictMode(Ji,e)}catch(t){sn||(sn=!0,S("React instrumentation encountered an error: %s",t))}}function Ci(e){re=e}function tl(){{for(var e=new Map,t=1,a=0;a<jt;a++){var i=ag(t);e.set(t,i),t*=2}return e}}function fc(e){re!==null&&typeof re.markCommitStarted=="function"&&re.markCommitStarted(e)}function Td(){re!==null&&typeof re.markCommitStopped=="function"&&re.markCommitStopped()}function nl(e){re!==null&&typeof re.markComponentRenderStarted=="function"&&re.markComponentRenderStarted(e)}function jl(){re!==null&&typeof re.markComponentRenderStopped=="function"&&re.markComponentRenderStopped()}function rh(e){re!==null&&typeof re.markComponentPassiveEffectMountStarted=="function"&&re.markComponentPassiveEffectMountStarted(e)}function Rd(){re!==null&&typeof re.markComponentPassiveEffectMountStopped=="function"&&re.markComponentPassiveEffectMountStopped()}function dc(e){re!==null&&typeof re.markComponentPassiveEffectUnmountStarted=="function"&&re.markComponentPassiveEffectUnmountStarted(e)}function ah(){re!==null&&typeof re.markComponentPassiveEffectUnmountStopped=="function"&&re.markComponentPassiveEffectUnmountStopped()}function ih(e){re!==null&&typeof re.markComponentLayoutEffectMountStarted=="function"&&re.markComponentLayoutEffectMountStarted(e)}function lh(){re!==null&&typeof re.markComponentLayoutEffectMountStopped=="function"&&re.markComponentLayoutEffectMountStopped()}function pc(e){re!==null&&typeof re.markComponentLayoutEffectUnmountStarted=="function"&&re.markComponentLayoutEffectUnmountStarted(e)}function Uo(){re!==null&&typeof re.markComponentLayoutEffectUnmountStopped=="function"&&re.markComponentLayoutEffectUnmountStopped()}function vc(e,t,a){re!==null&&typeof re.markComponentErrored=="function"&&re.markComponentErrored(e,t,a)}function oh(e,t,a){re!==null&&typeof re.markComponentSuspended=="function"&&re.markComponentSuspended(e,t,a)}function uh(e){re!==null&&typeof re.markLayoutEffectsStarted=="function"&&re.markLayoutEffectsStarted(e)}function Fo(){re!==null&&typeof re.markLayoutEffectsStopped=="function"&&re.markLayoutEffectsStopped()}function sh(e){re!==null&&typeof re.markPassiveEffectsStarted=="function"&&re.markPassiveEffectsStarted(e)}function Qu(){re!==null&&typeof re.markPassiveEffectsStopped=="function"&&re.markPassiveEffectsStopped()}function ja(e){re!==null&&typeof re.markRenderStarted=="function"&&re.markRenderStarted(e)}function Wu(){re!==null&&typeof re.markRenderYielded=="function"&&re.markRenderYielded()}function Ho(){re!==null&&typeof re.markRenderStopped=="function"&&re.markRenderStopped()}function Pl(e){re!==null&&typeof re.markRenderScheduled=="function"&&re.markRenderScheduled(e)}function wd(e,t){re!==null&&typeof re.markForceUpdateScheduled=="function"&&re.markForceUpdateScheduled(e,t)}function rl(e,t){re!==null&&typeof re.markStateUpdateScheduled=="function"&&re.markStateUpdateScheduled(e,t)}var Me=0,Je=1,ze=2,Gt=8,ma=16,hc=Math.clz32?Math.clz32:Vl,mc=Math.log,xd=Math.LN2;function Vl(e){var t=e>>>0;return t===0?32:31-(mc(t)/xd|0)|0}var jt=31,B=0,lt=0,Ue=1,Ka=2,qr=4,Bl=8,Pt=16,$l=32,al=4194240,Il=64,ya=128,Mr=256,Yl=512,Gu=1024,qu=2048,yc=4096,gc=8192,Sc=16384,Cc=32768,Ec=65536,bc=131072,Tc=262144,Rc=524288,Ql=1048576,wc=2097152,Wl=130023424,Ei=4194304,xc=8388608,Xu=16777216,_c=33554432,kc=67108864,_d=Ei,jo=134217728,Dc=268435455,Po=268435456,il=536870912,Nr=1073741824;function ag(e){{if(e&Ue)return"Sync";if(e&Ka)return"InputContinuousHydration";if(e&qr)return"InputContinuous";if(e&Bl)return"DefaultHydration";if(e&Pt)return"Default";if(e&$l)return"TransitionHydration";if(e&al)return"Transition";if(e&Wl)return"Retry";if(e&jo)return"SelectiveHydration";if(e&Po)return"IdleHydration";if(e&il)return"Idle";if(e&Nr)return"Offscreen"}}var Lt=-1,Oc=Il,Mc=Ei;function Vo(e){switch(yn(e)){case Ue:return Ue;case Ka:return Ka;case qr:return qr;case Bl:return Bl;case Pt:return Pt;case $l:return $l;case Il:case ya:case Mr:case Yl:case Gu:case qu:case yc:case gc:case Sc:case Cc:case Ec:case bc:case Tc:case Rc:case Ql:case wc:return e&al;case Ei:case xc:case Xu:case _c:case kc:return e&Wl;case jo:return jo;case Po:return Po;case il:return il;case Nr:return Nr;default:return S("Should have found matching lanes. This is a bug in React."),e}}function Ku(e,t){var a=e.pendingLanes;if(a===B)return B;var i=B,o=e.suspendedLanes,s=e.pingedLanes,d=a&Dc;if(d!==B){var h=d&~o;if(h!==B)i=Vo(h);else{var y=d&s;y!==B&&(i=Vo(y))}}else{var E=a&~o;E!==B?i=Vo(E):s!==B&&(i=Vo(s))}if(i===B)return B;if(t!==B&&t!==i&&(t&o)===B){var b=yn(i),D=yn(t);if(b>=D||b===Pt&&(D&al)!==B)return t}(i&qr)!==B&&(i|=a&Pt);var _=e.entangledLanes;if(_!==B)for(var U=e.entanglements,F=i&_;F>0;){var P=ll(F),de=1<<P;i|=U[P],F&=~de}return i}function ch(e,t){for(var a=e.eventTimes,i=Lt;t>0;){var o=ll(t),s=1<<o,d=a[o];d>i&&(i=d),t&=~s}return i}function Nc(e,t){switch(e){case Ue:case Ka:case qr:return t+250;case Bl:case Pt:case $l:case Il:case ya:case Mr:case Yl:case Gu:case qu:case yc:case gc:case Sc:case Cc:case Ec:case bc:case Tc:case Rc:case Ql:case wc:return t+5e3;case Ei:case xc:case Xu:case _c:case kc:return Lt;case jo:case Po:case il:case Nr:return Lt;default:return S("Should have found matching lanes. This is a bug in React."),Lt}}function ig(e,t){for(var a=e.pendingLanes,i=e.suspendedLanes,o=e.pingedLanes,s=e.expirationTimes,d=a;d>0;){var h=ll(d),y=1<<h,E=s[h];E===Lt?((y&i)===B||(y&o)!==B)&&(s[h]=Nc(y,t)):E<=t&&(e.expiredLanes|=y),d&=~y}}function lg(e){return Vo(e.pendingLanes)}function kd(e){var t=e.pendingLanes&~Nr;return t!==B?t:t&Nr?Nr:B}function Bo(e){return(e&Ue)!==B}function Zu(e){return(e&Dc)!==B}function Lc(e){return(e&Wl)===e}function og(e){var t=Ue|qr|Pt;return(e&t)===B}function fh(e){return(e&al)===e}function Ju(e,t){var a=Ka|qr|Bl|Pt;return(t&a)!==B}function dh(e,t){return(t&e.expiredLanes)!==B}function Dd(e){return(e&al)!==B}function Od(){var e=Oc;return Oc<<=1,(Oc&al)===B&&(Oc=Il),e}function ug(){var e=Mc;return Mc<<=1,(Mc&Wl)===B&&(Mc=Ei),e}function yn(e){return e&-e}function Tn(e){return yn(e)}function ll(e){return 31-hc(e)}function zc(e){return ll(e)}function Lr(e,t){return(e&t)!==B}function Gl(e,t){return(e&t)===t}function Ge(e,t){return e|t}function $o(e,t){return e&~t}function Md(e,t){return e&t}function ph(e){return e}function vh(e,t){return e!==lt&&e<t?e:t}function Ac(e){for(var t=[],a=0;a<jt;a++)t.push(e);return t}function ql(e,t,a){e.pendingLanes|=t,t!==il&&(e.suspendedLanes=B,e.pingedLanes=B);var i=e.eventTimes,o=zc(t);i[o]=a}function Nd(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var a=e.expirationTimes,i=t;i>0;){var o=ll(i),s=1<<o;a[o]=Lt,i&=~s}}function Ld(e,t,a){e.pingedLanes|=e.suspendedLanes&t}function zd(e,t){var a=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=B,e.pingedLanes=B,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var i=e.entanglements,o=e.eventTimes,s=e.expirationTimes,d=a;d>0;){var h=ll(d),y=1<<h;i[h]=B,o[h]=Lt,s[h]=Lt,d&=~y}}function Io(e,t){for(var a=e.entangledLanes|=t,i=e.entanglements,o=a;o;){var s=ll(o),d=1<<s;d&t|i[s]&t&&(i[s]|=t),o&=~d}}function sg(e,t){var a=yn(t),i;switch(a){case qr:i=Ka;break;case Pt:i=Bl;break;case Il:case ya:case Mr:case Yl:case Gu:case qu:case yc:case gc:case Sc:case Cc:case Ec:case bc:case Tc:case Rc:case Ql:case wc:case Ei:case xc:case Xu:case _c:case kc:i=$l;break;case il:i=Po;break;default:i=lt;break}return(i&(e.suspendedLanes|t))!==lt?lt:i}function Ad(e,t,a){if(In)for(var i=e.pendingUpdatersLaneMap;a>0;){var o=zc(a),s=1<<o,d=i[o];d.add(t),a&=~s}}function Uc(e,t){if(In)for(var a=e.pendingUpdatersLaneMap,i=e.memoizedUpdaters;t>0;){var o=zc(t),s=1<<o,d=a[o];d.size>0&&(d.forEach(function(h){var y=h.alternate;(y===null||!i.has(y))&&i.add(h)}),d.clear()),t&=~s}}function Ud(e,t){return null}var lr=Ue,Yn=qr,bi=Pt,es=il,Xl=lt;function ga(){return Xl}function Rn(e){Xl=e}function ts(e,t){var a=Xl;try{return Xl=e,t()}finally{Xl=a}}function or(e,t){return e!==0&&e<t?e:t}function cg(e,t){return e===0||e>t?e:t}function Fd(e,t){return e!==0&&e<t}function ns(e){var t=yn(e);return Fd(lr,t)?Fd(Yn,t)?Zu(t)?bi:es:Yn:lr}function wn(e){var t=e.current.memoizedState;return t.isDehydrated}var hh;function ye(e){hh=e}function Yo(e){hh(e)}var rs;function mh(e){rs=e}var yh;function as(e){yh=e}var is;function Hd(e){is=e}var jd;function gh(e){jd=e}var Fc=!1,Qo=[],Za=null,Yt=null,An=null,Sa=new Map,Wo=new Map,Ti=[],Pa=["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 Sh(e){return Pa.indexOf(e)>-1}function Ja(e,t,a,i,o){return{blockedOn:e,domEventName:t,eventSystemFlags:a,nativeEvent:o,targetContainers:[i]}}function Ch(e,t){switch(e){case"focusin":case"focusout":Za=null;break;case"dragenter":case"dragleave":Yt=null;break;case"mouseover":case"mouseout":An=null;break;case"pointerover":case"pointerout":{var a=t.pointerId;Sa.delete(a);break}case"gotpointercapture":case"lostpointercapture":{var i=t.pointerId;Wo.delete(i);break}}}function Go(e,t,a,i,o,s){if(e===null||e.nativeEvent!==s){var d=Ja(t,a,i,o,s);if(t!==null){var h=iu(t);h!==null&&rs(h)}return d}e.eventSystemFlags|=i;var y=e.targetContainers;return o!==null&&y.indexOf(o)===-1&&y.push(o),e}function Eh(e,t,a,i,o){switch(t){case"focusin":{var s=o;return Za=Go(Za,e,t,a,i,s),!0}case"dragenter":{var d=o;return Yt=Go(Yt,e,t,a,i,d),!0}case"mouseover":{var h=o;return An=Go(An,e,t,a,i,h),!0}case"pointerover":{var y=o,E=y.pointerId;return Sa.set(E,Go(Sa.get(E)||null,e,t,a,i,y)),!0}case"gotpointercapture":{var b=o,D=b.pointerId;return Wo.set(D,Go(Wo.get(D)||null,e,t,a,i,b)),!0}}return!1}function Pd(e){var t=vs(e.target);if(t!==null){var a=Qr(t);if(a!==null){var i=a.tag;if(i===Y){var o=hd(a);if(o!==null){e.blockedOn=o,jd(e.priority,function(){yh(a)});return}}else if(i===W){var s=a.stateNode;if(wn(s)){e.blockedOn=ic(a);return}}}}e.blockedOn=null}function bh(e){for(var t=is(),a={blockedOn:null,target:e,priority:t},i=0;i<Ti.length&&Fd(t,Ti[i].priority);i++);Ti.splice(i,0,a),i===0&&Pd(a)}function Hc(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var a=t[0],i=Kl(e.domEventName,e.eventSystemFlags,a,e.nativeEvent);if(i===null){var o=e.nativeEvent,s=new o.constructor(o.type,o);Hu(s),o.target.dispatchEvent(s),eg()}else{var d=iu(i);return d!==null&&rs(d),e.blockedOn=i,!1}t.shift()}return!0}function ls(e,t,a){Hc(e)&&a.delete(t)}function Vd(){Fc=!1,Za!==null&&Hc(Za)&&(Za=null),Yt!==null&&Hc(Yt)&&(Yt=null),An!==null&&Hc(An)&&(An=null),Sa.forEach(ls),Wo.forEach(ls)}function ur(e,t){e.blockedOn===t&&(e.blockedOn=null,Fc||(Fc=!0,m.unstable_scheduleCallback(m.unstable_NormalPriority,Vd)))}function nt(e){if(Qo.length>0){ur(Qo[0],e);for(var t=1;t<Qo.length;t++){var a=Qo[t];a.blockedOn===e&&(a.blockedOn=null)}}Za!==null&&ur(Za,e),Yt!==null&&ur(Yt,e),An!==null&&ur(An,e);var i=function(h){return ur(h,e)};Sa.forEach(i),Wo.forEach(i);for(var o=0;o<Ti.length;o++){var s=Ti[o];s.blockedOn===e&&(s.blockedOn=null)}for(;Ti.length>0;){var d=Ti[0];if(d.blockedOn!==null)break;Pd(d),d.blockedOn===null&&Ti.shift()}}var qt=p.ReactCurrentBatchConfig,tn=!0;function Un(e){tn=!!e}function Xr(){return tn}function qo(e,t,a){var i=pr(t),o;switch(i){case lr:o=xn;break;case Yn:o=os;break;case bi:default:o=Ri;break}return o.bind(null,t,a,e)}function xn(e,t,a,i){var o=ga(),s=qt.transition;qt.transition=null;try{Rn(lr),Ri(e,t,a,i)}finally{Rn(o),qt.transition=s}}function os(e,t,a,i){var o=ga(),s=qt.transition;qt.transition=null;try{Rn(Yn),Ri(e,t,a,i)}finally{Rn(o),qt.transition=s}}function Ri(e,t,a,i){tn&&jc(e,t,a,i)}function jc(e,t,a,i){var o=Kl(e,t,a,i);if(o===null){Og(e,t,i,Xo,a),Ch(e,i);return}if(Eh(o,e,t,a,i)){i.stopPropagation();return}if(Ch(e,i),t&Ll&&Sh(e)){for(;o!==null;){var s=iu(o);s!==null&&Yo(s);var d=Kl(e,t,a,i);if(d===null&&Og(e,t,i,Xo,a),d===o)break;o=d}o!==null&&i.stopPropagation();return}Og(e,t,i,null,a)}var Xo=null;function Kl(e,t,a,i){Xo=null;var o=ec(i),s=vs(o);if(s!==null){var d=Qr(s);if(d===null)s=null;else{var h=d.tag;if(h===Y){var y=hd(d);if(y!==null)return y;s=null}else if(h===W){var E=d.stateNode;if(wn(E))return ic(d);s=null}else d!==s&&(s=null)}}return Xo=s,null}function pr(e){switch(e){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 lr;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 Yn;case"message":{var t=gd();switch(t){case sc:return lr;case Gr:return Yn;case Xa:case cc:return bi;case Zi:return es;default:return bi}}default:return bi}}function Bd(e,t,a){return e.addEventListener(t,a,!1),a}function Ko(e,t,a){return e.addEventListener(t,a,!0),a}function wi(e,t,a,i){return e.addEventListener(t,a,{capture:!0,passive:i}),a}function Pc(e,t,a,i){return e.addEventListener(t,a,{passive:i}),a}var Zl=null,ei=null,ol=null;function ul(e){return Zl=e,ei=Bc(),!0}function Vc(){Zl=null,ei=null,ol=null}function Zo(){if(ol)return ol;var e,t=ei,a=t.length,i,o=Bc(),s=o.length;for(e=0;e<a&&t[e]===o[e];e++);var d=a-e;for(i=1;i<=d&&t[a-i]===o[s-i];i++);var h=i>1?1-i:void 0;return ol=o.slice(e,h),ol}function Bc(){return"value"in Zl?Zl.value:Zl.textContent}function Jl(e){var t,a=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&a===13&&(t=13)):t=a,t===10&&(t=13),t>=32||t===13?t:0}function eo(){return!0}function sr(){return!1}function gn(e){function t(a,i,o,s,d){this._reactName=a,this._targetInst=o,this.type=i,this.nativeEvent=s,this.target=d,this.currentTarget=null;for(var h in e)if(e.hasOwnProperty(h)){var y=e[h];y?this[h]=y(s):this[h]=s[h]}var E=s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1;return E?this.isDefaultPrevented=eo:this.isDefaultPrevented=sr,this.isPropagationStopped=sr,this}return tt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=eo)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=eo)},persist:function(){},isPersistent:eo}),t}var cr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},fr=gn(cr),Jo=tt({},cr,{view:0,detail:0}),$d=gn(Jo),us,Id,Ca;function Th(e){e!==Ca&&(Ca&&e.type==="mousemove"?(us=e.screenX-Ca.screenX,Id=e.screenY-Ca.screenY):(us=0,Id=0),Ca=e)}var eu=tt({},Jo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Yc,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(Th(e),us)},movementY:function(e){return"movementY"in e?e.movementY:Id}}),sl=gn(eu),Yd=tt({},eu,{dataTransfer:0}),to=gn(Yd),Rh=tt({},Jo,{relatedTarget:0}),$c=gn(Rh),Qd=tt({},cr,{animationName:0,elapsedTime:0,pseudoElement:0}),Ic=gn(Qd),fg=tt({},cr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),dg=gn(fg),wh=tt({},cr,{data:0}),Wd=gn(wh),no=Wd,pg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},tu={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 xh(e){if(e.key){var t=pg[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var a=Jl(e);return a===13?"Enter":String.fromCharCode(a)}return e.type==="keydown"||e.type==="keyup"?tu[e.keyCode]||"Unidentified":""}var nn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function vg(e){var t=this,a=t.nativeEvent;if(a.getModifierState)return a.getModifierState(e);var i=nn[e];return i?!!a[i]:!1}function Yc(e){return vg}var hg=tt({},Jo,{key:xh,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Yc,charCode:function(e){return e.type==="keypress"?Jl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Jl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),mg=gn(hg),_h=tt({},eu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Gd=gn(_h),yg=tt({},Jo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Yc}),Ea=gn(yg),qd=tt({},cr,{propertyName:0,elapsedTime:0,pseudoElement:0}),gg=gn(qd),cl=tt({},eu,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Qc=gn(cl),ro=[9,13,27,32],ss=229,cs=Jt&&"CompositionEvent"in window,ao=null;Jt&&"documentMode"in document&&(ao=document.documentMode);var Sg=Jt&&"TextEvent"in window&&!ao,Wc=Jt&&(!cs||ao&&ao>8&&ao<=11),kh=32,Xd=String.fromCharCode(kh);function Dh(){tr("onBeforeInput",["compositionend","keypress","textInput","paste"]),tr("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),tr("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),tr("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var fs=!1;function Gc(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function Oh(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function Kd(e,t){return e==="keydown"&&t.keyCode===ss}function Mh(e,t){switch(e){case"keyup":return ro.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==ss;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Zd(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function qc(e){return e.locale==="ko"}var xi=!1;function Jd(e,t,a,i,o){var s,d;if(cs?s=Oh(t):xi?Mh(t,i)&&(s="onCompositionEnd"):Kd(t,i)&&(s="onCompositionStart"),!s)return null;Wc&&!qc(i)&&(!xi&&s==="onCompositionStart"?xi=ul(o):s==="onCompositionEnd"&&xi&&(d=Zo()));var h=Uh(a,s);if(h.length>0){var y=new Wd(s,t,null,i,o);if(e.push({event:y,listeners:h}),d)y.data=d;else{var E=Zd(i);E!==null&&(y.data=E)}}}function Xc(e,t){switch(e){case"compositionend":return Zd(t);case"keypress":var a=t.which;return a!==kh?null:(fs=!0,Xd);case"textInput":var i=t.data;return i===Xd&&fs?null:i;default:return null}}function Nh(e,t){if(xi){if(e==="compositionend"||!cs&&Mh(e,t)){var a=Zo();return Vc(),xi=!1,a}return null}switch(e){case"paste":return null;case"keypress":if(!Gc(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Wc&&!qc(t)?null:t.data;default:return null}}function Cg(e,t,a,i,o){var s;if(Sg?s=Xc(t,i):s=Nh(t,i),!s)return null;var d=Uh(a,"onBeforeInput");if(d.length>0){var h=new no("onBeforeInput","beforeinput",null,i,o);e.push({event:h,listeners:d}),h.data=s}}function Kc(e,t,a,i,o,s,d){Jd(e,t,a,i,o),Cg(e,t,a,i,o)}var Eg={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 nu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Eg[e.type]:t==="textarea"}function bg(e){if(!Jt)return!1;var t="on"+e,a=t in document;if(!a){var i=document.createElement("div");i.setAttribute(t,"return;"),a=typeof i[t]=="function"}return a}function Zc(){tr("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function n(e,t,a,i){tc(i);var o=Uh(t,"onChange");if(o.length>0){var s=new fr("onChange","change",null,a,i);e.push({event:s,listeners:o})}}var r=null,l=null;function u(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function c(e){var t=[];n(t,l,e,ec(e)),od(v,t)}function v(e){AC(e,0)}function g(e){var t=af(e);if(gv(t))return e}function T(e,t){if(e==="change")return t}var x=!1;Jt&&(x=bg("input")&&(!document.documentMode||document.documentMode>9));function H(e,t){r=e,l=t,r.attachEvent("onpropertychange",K)}function q(){r&&(r.detachEvent("onpropertychange",K),r=null,l=null)}function K(e){e.propertyName==="value"&&g(l)&&c(e)}function G(e,t,a){e==="focusin"?(q(),H(t,a)):e==="focusout"&&q()}function ce(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return g(l)}function ge(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function be(e,t){if(e==="click")return g(t)}function cn(e,t){if(e==="input"||e==="change")return g(t)}function N(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Ii(e,"number",e.value)}function k(e,t,a,i,o,s,d){var h=a?af(a):window,y,E;if(u(h)?y=T:nu(h)?x?y=cn:(y=ce,E=G):ge(h)&&(y=be),y){var b=y(t,a);if(b){n(e,b,i,o);return}}E&&E(t,h,a),t==="focusout"&&N(h)}function A(){me("onMouseEnter",["mouseout","mouseover"]),me("onMouseLeave",["mouseout","mouseover"]),me("onPointerEnter",["pointerout","pointerover"]),me("onPointerLeave",["pointerout","pointerover"])}function J(e,t,a,i,o,s,d){var h=t==="mouseover"||t==="pointerover",y=t==="mouseout"||t==="pointerout";if(h&&!qv(i)){var E=i.relatedTarget||i.fromElement;if(E&&(vs(E)||pp(E)))return}if(!(!y&&!h)){var b;if(o.window===o)b=o;else{var D=o.ownerDocument;D?b=D.defaultView||D.parentWindow:b=window}var _,U;if(y){var F=i.relatedTarget||i.toElement;if(_=a,U=F?vs(F):null,U!==null){var P=Qr(U);(U!==P||U.tag!==Q&&U.tag!==oe)&&(U=null)}}else _=null,U=a;if(_!==U){var de=sl,De="onMouseLeave",Re="onMouseEnter",ut="mouse";(t==="pointerout"||t==="pointerover")&&(de=Gd,De="onPointerLeave",Re="onPointerEnter",ut="pointer");var rt=_==null?b:af(_),L=U==null?b:af(U),V=new de(De,ut+"leave",_,i,o);V.target=rt,V.relatedTarget=L;var z=null,Z=vs(o);if(Z===a){var pe=new de(Re,ut+"enter",U,i,o);pe.target=L,pe.relatedTarget=rt,z=pe}t_(e,V,z,_,U)}}}function Te(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Se=typeof Object.is=="function"?Object.is:Te;function we(e,t){if(Se(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var o=0;o<a.length;o++){var s=a[o];if(!on.call(t,s)||!Se(e[s],t[s]))return!1}return!0}function Pe(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Fn(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function pt(e,t){for(var a=Pe(e),i=0,o=0;a;){if(a.nodeType===pi){if(o=i+a.textContent.length,i<=t&&o>=t)return{node:a,offset:t-i};i=o}a=Pe(Fn(a))}}function fl(e){var t=e.ownerDocument,a=t&&t.defaultView||window,i=a.getSelection&&a.getSelection();if(!i||i.rangeCount===0)return null;var o=i.anchorNode,s=i.anchorOffset,d=i.focusNode,h=i.focusOffset;try{o.nodeType,d.nodeType}catch{return null}return Tg(e,o,s,d,h)}function Tg(e,t,a,i,o){var s=0,d=-1,h=-1,y=0,E=0,b=e,D=null;e:for(;;){for(var _=null;b===t&&(a===0||b.nodeType===pi)&&(d=s+a),b===i&&(o===0||b.nodeType===pi)&&(h=s+o),b.nodeType===pi&&(s+=b.nodeValue.length),(_=b.firstChild)!==null;)D=b,b=_;for(;;){if(b===e)break e;if(D===t&&++y===a&&(d=s),D===i&&++E===o&&(h=s),(_=b.nextSibling)!==null)break;b=D,D=b.parentNode}b=_}return d===-1||h===-1?null:{start:d,end:h}}function Ux(e,t){var a=e.ownerDocument||document,i=a&&a.defaultView||window;if(i.getSelection){var o=i.getSelection(),s=e.textContent.length,d=Math.min(t.start,s),h=t.end===void 0?d:Math.min(t.end,s);if(!o.extend&&d>h){var y=h;h=d,d=y}var E=pt(e,d),b=pt(e,h);if(E&&b){if(o.rangeCount===1&&o.anchorNode===E.node&&o.anchorOffset===E.offset&&o.focusNode===b.node&&o.focusOffset===b.offset)return;var D=a.createRange();D.setStart(E.node,E.offset),o.removeAllRanges(),d>h?(o.addRange(D),o.extend(b.node,b.offset)):(D.setEnd(b.node,b.offset),o.addRange(D))}}}function TC(e){return e&&e.nodeType===pi}function RC(e,t){return!e||!t?!1:e===t?!0:TC(e)?!1:TC(t)?RC(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function Fx(e){return e&&e.ownerDocument&&RC(e.ownerDocument.documentElement,e)}function Hx(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function wC(){for(var e=window,t=Vs();t instanceof e.HTMLIFrameElement;){if(Hx(t))e=t.contentWindow;else return t;t=Vs(e.document)}return t}function Rg(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function jx(){var e=wC();return{focusedElem:e,selectionRange:Rg(e)?Vx(e):null}}function Px(e){var t=wC(),a=e.focusedElem,i=e.selectionRange;if(t!==a&&Fx(a)){i!==null&&Rg(a)&&Bx(a,i);for(var o=[],s=a;s=s.parentNode;)s.nodeType===wr&&o.push({element:s,left:s.scrollLeft,top:s.scrollTop});typeof a.focus=="function"&&a.focus();for(var d=0;d<o.length;d++){var h=o[d];h.element.scrollLeft=h.left,h.element.scrollTop=h.top}}}function Vx(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=fl(e),t||{start:0,end:0}}function Bx(e,t){var a=t.start,i=t.end;i===void 0&&(i=a),"selectionStart"in e?(e.selectionStart=a,e.selectionEnd=Math.min(i,e.value.length)):Ux(e,t)}var $x=Jt&&"documentMode"in document&&document.documentMode<=11;function Ix(){tr("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Jc=null,wg=null,ep=null,xg=!1;function Yx(e){if("selectionStart"in e&&Rg(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,a=t.getSelection();return{anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}}function Qx(e){return e.window===e?e.document:e.nodeType===Ua?e:e.ownerDocument}function xC(e,t,a){var i=Qx(a);if(!(xg||Jc==null||Jc!==Vs(i))){var o=Yx(Jc);if(!ep||!we(ep,o)){ep=o;var s=Uh(wg,"onSelect");if(s.length>0){var d=new fr("onSelect","select",null,t,a);e.push({event:d,listeners:s}),d.target=Jc}}}}function Wx(e,t,a,i,o,s,d){var h=a?af(a):window;switch(t){case"focusin":(nu(h)||h.contentEditable==="true")&&(Jc=h,wg=a,ep=null);break;case"focusout":Jc=null,wg=null,ep=null;break;case"mousedown":xg=!0;break;case"contextmenu":case"mouseup":case"dragend":xg=!1,xC(e,i,o);break;case"selectionchange":if($x)break;case"keydown":case"keyup":xC(e,i,o)}}function Lh(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var ef={animationend:Lh("Animation","AnimationEnd"),animationiteration:Lh("Animation","AnimationIteration"),animationstart:Lh("Animation","AnimationStart"),transitionend:Lh("Transition","TransitionEnd")},_g={},_C={};Jt&&(_C=document.createElement("div").style,"AnimationEvent"in window||(delete ef.animationend.animation,delete ef.animationiteration.animation,delete ef.animationstart.animation),"TransitionEvent"in window||delete ef.transitionend.transition);function zh(e){if(_g[e])return _g[e];if(!ef[e])return e;var t=ef[e];for(var a in t)if(t.hasOwnProperty(a)&&a in _C)return _g[e]=t[a];return e}var kC=zh("animationend"),DC=zh("animationiteration"),OC=zh("animationstart"),MC=zh("transitionend"),NC=new Map,LC=["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 ru(e,t){NC.set(e,t),tr(t,[e])}function Gx(){for(var e=0;e<LC.length;e++){var t=LC[e],a=t.toLowerCase(),i=t[0].toUpperCase()+t.slice(1);ru(a,"on"+i)}ru(kC,"onAnimationEnd"),ru(DC,"onAnimationIteration"),ru(OC,"onAnimationStart"),ru("dblclick","onDoubleClick"),ru("focusin","onFocus"),ru("focusout","onBlur"),ru(MC,"onTransitionEnd")}function qx(e,t,a,i,o,s,d){var h=NC.get(t);if(h!==void 0){var y=fr,E=t;switch(t){case"keypress":if(Jl(i)===0)return;case"keydown":case"keyup":y=mg;break;case"focusin":E="focus",y=$c;break;case"focusout":E="blur",y=$c;break;case"beforeblur":case"afterblur":y=$c;break;case"click":if(i.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":y=sl;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":y=to;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":y=Ea;break;case kC:case DC:case OC:y=Ic;break;case MC:y=gg;break;case"scroll":y=$d;break;case"wheel":y=Qc;break;case"copy":case"cut":case"paste":y=dg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":y=Gd;break}var b=(s&Ll)!==0;{var D=!b&&t==="scroll",_=Jx(a,h,i.type,b,D);if(_.length>0){var U=new y(h,E,null,i,o);e.push({event:U,listeners:_})}}}}Gx(),A(),Zc(),Ix(),Dh();function Xx(e,t,a,i,o,s,d){qx(e,t,a,i,o,s);var h=(s&Jy)===0;h&&(J(e,t,a,i,o),k(e,t,a,i,o),Wx(e,t,a,i,o),Kc(e,t,a,i,o))}var tp=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],kg=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(tp));function zC(e,t,a){var i=e.type||"unknown-event";e.currentTarget=a,yi(i,t,void 0,e),e.currentTarget=null}function Kx(e,t,a){var i;if(a)for(var o=t.length-1;o>=0;o--){var s=t[o],d=s.instance,h=s.currentTarget,y=s.listener;if(d!==i&&e.isPropagationStopped())return;zC(e,y,h),i=d}else for(var E=0;E<t.length;E++){var b=t[E],D=b.instance,_=b.currentTarget,U=b.listener;if(D!==i&&e.isPropagationStopped())return;zC(e,U,_),i=D}}function AC(e,t){for(var a=(t&Ll)!==0,i=0;i<e.length;i++){var o=e[i],s=o.event,d=o.listeners;Kx(s,d,a)}fd()}function Zx(e,t,a,i,o){var s=ec(a),d=[];Xx(d,e,i,a,s,t),AC(d,t)}function Xt(e,t){kg.has(e)||S('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var a=!1,i=kk(t),o=n_(e,a);i.has(o)||(UC(t,e,Uu,a),i.add(o))}function Dg(e,t,a){kg.has(e)&&!t&&S('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var i=0;t&&(i|=Ll),UC(a,e,i,t)}var Ah="_reactListening"+Math.random().toString(36).slice(2);function np(e){if(!e[Ah]){e[Ah]=!0,kn.forEach(function(a){a!=="selectionchange"&&(kg.has(a)||Dg(a,!1,e),Dg(a,!0,e))});var t=e.nodeType===Ua?e:e.ownerDocument;t!==null&&(t[Ah]||(t[Ah]=!0,Dg("selectionchange",!1,t)))}}function UC(e,t,a,i,o){var s=qo(e,t,a),d=void 0;Vu&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(d=!0),e=e,i?d!==void 0?wi(e,t,s,d):Ko(e,t,s):d!==void 0?Pc(e,t,s,d):Bd(e,t,s)}function FC(e,t){return e===t||e.nodeType===mn&&e.parentNode===t}function Og(e,t,a,i,o){var s=i;if(!(t&hi)&&!(t&Uu)){var d=o;if(i!==null){var h=i;e:for(;;){if(h===null)return;var y=h.tag;if(y===W||y===ne){var E=h.stateNode.containerInfo;if(FC(E,d))break;if(y===ne)for(var b=h.return;b!==null;){var D=b.tag;if(D===W||D===ne){var _=b.stateNode.containerInfo;if(FC(_,d))return}b=b.return}for(;E!==null;){var U=vs(E);if(U===null)return;var F=U.tag;if(F===Q||F===oe){h=s=U;continue e}E=E.parentNode}}h=h.return}}}od(function(){return Zx(e,t,a,s)})}function rp(e,t,a){return{instance:e,listener:t,currentTarget:a}}function Jx(e,t,a,i,o,s){for(var d=t!==null?t+"Capture":null,h=i?d:t,y=[],E=e,b=null;E!==null;){var D=E,_=D.stateNode,U=D.tag;if(U===Q&&_!==null&&(b=_,h!==null)){var F=Al(E,h);F!=null&&y.push(rp(E,F,b))}if(o)break;E=E.return}return y}function Uh(e,t){for(var a=t+"Capture",i=[],o=e;o!==null;){var s=o,d=s.stateNode,h=s.tag;if(h===Q&&d!==null){var y=d,E=Al(o,a);E!=null&&i.unshift(rp(o,E,y));var b=Al(o,t);b!=null&&i.push(rp(o,b,y))}o=o.return}return i}function tf(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==Q);return e||null}function e_(e,t){for(var a=e,i=t,o=0,s=a;s;s=tf(s))o++;for(var d=0,h=i;h;h=tf(h))d++;for(;o-d>0;)a=tf(a),o--;for(;d-o>0;)i=tf(i),d--;for(var y=o;y--;){if(a===i||i!==null&&a===i.alternate)return a;a=tf(a),i=tf(i)}return null}function HC(e,t,a,i,o){for(var s=t._reactName,d=[],h=a;h!==null&&h!==i;){var y=h,E=y.alternate,b=y.stateNode,D=y.tag;if(E!==null&&E===i)break;if(D===Q&&b!==null){var _=b;if(o){var U=Al(h,s);U!=null&&d.unshift(rp(h,U,_))}else if(!o){var F=Al(h,s);F!=null&&d.push(rp(h,F,_))}}h=h.return}d.length!==0&&e.push({event:t,listeners:d})}function t_(e,t,a,i,o){var s=i&&o?e_(i,o):null;i!==null&&HC(e,t,i,s,!1),o!==null&&a!==null&&HC(e,a,o,s,!0)}function n_(e,t){return e+"__"+(t?"capture":"bubble")}var ba=!1,ap="dangerouslySetInnerHTML",Fh="suppressContentEditableWarning",au="suppressHydrationWarning",jC="autoFocus",ds="children",ps="style",Hh="__html",Mg,jh,ip,PC,Ph,VC,BC;Mg={dialog:!0,webview:!0},jh=function(e,t){Js(e,t),nd(e,t),Gv(e,t,{registrationNameDependencies:er,possibleRegistrationNames:ia})},VC=Jt&&!document.documentMode,ip=function(e,t,a){if(!ba){var i=Vh(a),o=Vh(t);o!==i&&(ba=!0,S("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(o),JSON.stringify(i)))}},PC=function(e){if(!ba){ba=!0;var t=[];e.forEach(function(a){t.push(a)}),S("Extra attributes from the server: %s",t)}},Ph=function(e,t){t===!1?S("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.",e,e,e):S("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},BC=function(e,t){var a=e.namespaceURI===di?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return a.innerHTML=t,a.innerHTML};var r_=/\r\n?/g,a_=/\u0000|\uFFFD/g;function Vh(e){Da(e);var t=typeof e=="string"?e:""+e;return t.replace(r_,`
|
|
82
|
+
`).replace(a_,"")}function Bh(e,t,a,i){var o=Vh(t),s=Vh(e);if(s!==o&&(i&&(ba||(ba=!0,S('Text content did not match. Server: "%s" Client: "%s"',s,o))),a&&Vn))throw new Error("Text content does not match server-rendered HTML.")}function $C(e){return e.nodeType===Ua?e:e.ownerDocument}function i_(){}function $h(e){e.onclick=i_}function l_(e,t,a,i,o){for(var s in i)if(i.hasOwnProperty(s)){var d=i[s];if(s===ps)d&&Object.freeze(d),Hv(t,d);else if(s===ap){var h=d?d[Hh]:void 0;h!=null&&_v(t,h)}else if(s===ds)if(typeof d=="string"){var y=e!=="textarea"||d!=="";y&&qs(t,d)}else typeof d=="number"&&qs(t,""+d);else s===Fh||s===au||s===jC||(er.hasOwnProperty(s)?d!=null&&(typeof d!="function"&&Ph(s,d),s==="onScroll"&&Xt("scroll",t)):d!=null&&Wa(t,s,d,o))}}function o_(e,t,a,i){for(var o=0;o<t.length;o+=2){var s=t[o],d=t[o+1];s===ps?Hv(e,d):s===ap?_v(e,d):s===ds?qs(e,d):Wa(e,s,d,i)}}function u_(e,t,a,i){var o,s=$C(a),d,h=i;if(h===di&&(h=Ws(e)),h===di){if(o=vi(e,t),!o&&e!==e.toLowerCase()&&S("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var y=s.createElement("div");y.innerHTML="<script></script>";var E=y.firstChild;d=y.removeChild(E)}else if(typeof t.is=="string")d=s.createElement(e,{is:t.is});else if(d=s.createElement(e),e==="select"){var b=d;t.multiple?b.multiple=!0:t.size&&(b.size=t.size)}}else d=s.createElementNS(h,e);return h===di&&!o&&Object.prototype.toString.call(d)==="[object HTMLUnknownElement]"&&!on.call(Mg,e)&&(Mg[e]=!0,S("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),d}function s_(e,t){return $C(t).createTextNode(e)}function c_(e,t,a,i){var o=vi(t,a);jh(t,a);var s;switch(t){case"dialog":Xt("cancel",e),Xt("close",e),s=a;break;case"iframe":case"object":case"embed":Xt("load",e),s=a;break;case"video":case"audio":for(var d=0;d<tp.length;d++)Xt(tp[d],e);s=a;break;case"source":Xt("error",e),s=a;break;case"img":case"image":case"link":Xt("error",e),Xt("load",e),s=a;break;case"details":Xt("toggle",e),s=a;break;case"input":Ou(e,a),s=Du(e,a),Xt("invalid",e);break;case"option":Ys(e,a),s=a;break;case"select":Tv(e,a),s=Yf(e,a),Xt("invalid",e);break;case"textarea":Rv(e,a),s=Wf(e,a),Xt("invalid",e);break;default:s=a}switch(Ks(t,s),l_(t,e,i,s,o),t){case"input":Ol(e),Mu(e,a,!1);break;case"textarea":Ol(e),xv(e);break;case"option":If(e,a);break;case"select":By(e,a);break;default:typeof s.onClick=="function"&&$h(e);break}}function f_(e,t,a,i,o){jh(t,i);var s=null,d,h;switch(t){case"input":d=Du(e,a),h=Du(e,i),s=[];break;case"select":d=Yf(e,a),h=Yf(e,i),s=[];break;case"textarea":d=Wf(e,a),h=Wf(e,i),s=[];break;default:d=a,h=i,typeof d.onClick!="function"&&typeof h.onClick=="function"&&$h(e);break}Ks(t,h);var y,E,b=null;for(y in d)if(!(h.hasOwnProperty(y)||!d.hasOwnProperty(y)||d[y]==null))if(y===ps){var D=d[y];for(E in D)D.hasOwnProperty(E)&&(b||(b={}),b[E]="")}else y===ap||y===ds||y===Fh||y===au||y===jC||(er.hasOwnProperty(y)?s||(s=[]):(s=s||[]).push(y,null));for(y in h){var _=h[y],U=d!=null?d[y]:void 0;if(!(!h.hasOwnProperty(y)||_===U||_==null&&U==null))if(y===ps)if(_&&Object.freeze(_),U){for(E in U)U.hasOwnProperty(E)&&(!_||!_.hasOwnProperty(E))&&(b||(b={}),b[E]="");for(E in _)_.hasOwnProperty(E)&&U[E]!==_[E]&&(b||(b={}),b[E]=_[E])}else b||(s||(s=[]),s.push(y,b)),b=_;else if(y===ap){var F=_?_[Hh]:void 0,P=U?U[Hh]:void 0;F!=null&&P!==F&&(s=s||[]).push(y,F)}else y===ds?(typeof _=="string"||typeof _=="number")&&(s=s||[]).push(y,""+_):y===Fh||y===au||(er.hasOwnProperty(y)?(_!=null&&(typeof _!="function"&&Ph(y,_),y==="onScroll"&&Xt("scroll",e)),!s&&U!==_&&(s=[])):(s=s||[]).push(y,_))}return b&&(zu(b,h[ps]),(s=s||[]).push(ps,b)),s}function d_(e,t,a,i,o){a==="input"&&o.type==="radio"&&o.name!=null&&$f(e,o);var s=vi(a,i),d=vi(a,o);switch(o_(e,t,s,d),a){case"input":xo(e,o);break;case"textarea":wv(e,o);break;case"select":$y(e,o);break}}function p_(e){{var t=e.toLowerCase();return Zs.hasOwnProperty(t)&&Zs[t]||null}}function v_(e,t,a,i,o,s,d){var h,y;switch(h=vi(t,a),jh(t,a),t){case"dialog":Xt("cancel",e),Xt("close",e);break;case"iframe":case"object":case"embed":Xt("load",e);break;case"video":case"audio":for(var E=0;E<tp.length;E++)Xt(tp[E],e);break;case"source":Xt("error",e);break;case"img":case"image":case"link":Xt("error",e),Xt("load",e);break;case"details":Xt("toggle",e);break;case"input":Ou(e,a),Xt("invalid",e);break;case"option":Ys(e,a);break;case"select":Tv(e,a),Xt("invalid",e);break;case"textarea":Rv(e,a),Xt("invalid",e);break}Ks(t,a);{y=new Set;for(var b=e.attributes,D=0;D<b.length;D++){var _=b[D].name.toLowerCase();switch(_){case"value":break;case"checked":break;case"selected":break;default:y.add(b[D].name)}}}var U=null;for(var F in a)if(a.hasOwnProperty(F)){var P=a[F];if(F===ds)typeof P=="string"?e.textContent!==P&&(a[au]!==!0&&Bh(e.textContent,P,s,d),U=[ds,P]):typeof P=="number"&&e.textContent!==""+P&&(a[au]!==!0&&Bh(e.textContent,P,s,d),U=[ds,""+P]);else if(er.hasOwnProperty(F))P!=null&&(typeof P!="function"&&Ph(F,P),F==="onScroll"&&Xt("scroll",e));else if(d&&typeof h=="boolean"){var de=void 0,De=h&&Cn?null:Br(F);if(a[au]!==!0){if(!(F===Fh||F===au||F==="value"||F==="checked"||F==="selected")){if(F===ap){var Re=e.innerHTML,ut=P?P[Hh]:void 0;if(ut!=null){var rt=BC(e,ut);rt!==Re&&ip(F,Re,rt)}}else if(F===ps){if(y.delete(F),VC){var L=Ky(P);de=e.getAttribute("style"),L!==de&&ip(F,de,L)}}else if(h&&!Cn)y.delete(F.toLowerCase()),de=bo(e,F,P),P!==de&&ip(F,de,P);else if(!un(F,De,h)&&!At(F,P,De,h)){var V=!1;if(De!==null)y.delete(De.attributeName),de=_l(e,F,P,De);else{var z=i;if(z===di&&(z=Ws(t)),z===di)y.delete(F.toLowerCase());else{var Z=p_(F);Z!==null&&Z!==F&&(V=!0,y.delete(Z)),y.delete(F)}de=bo(e,F,P)}var pe=Cn;!pe&&P!==de&&!V&&ip(F,de,P)}}}}}switch(d&&y.size>0&&a[au]!==!0&&PC(y),t){case"input":Ol(e),Mu(e,a,!0);break;case"textarea":Ol(e),xv(e);break;case"select":case"option":break;default:typeof a.onClick=="function"&&$h(e);break}return U}function h_(e,t,a){var i=e.nodeValue!==t;return i}function Ng(e,t){{if(ba)return;ba=!0,S("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function Lg(e,t){{if(ba)return;ba=!0,S('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function zg(e,t,a){{if(ba)return;ba=!0,S("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function Ag(e,t){{if(t===""||ba)return;ba=!0,S('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function m_(e,t,a){switch(t){case"input":Sv(e,a);return;case"textarea":Gf(e,a);return;case"select":Iy(e,a);return}}var lp=function(){},op=function(){};{var y_=["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"],IC=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],g_=IC.concat(["button"]),S_=["dd","dt","li","option","optgroup","p","rp","rt"],YC={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};op=function(e,t){var a=tt({},e||YC),i={tag:t};return IC.indexOf(t)!==-1&&(a.aTagInScope=null,a.buttonTagInScope=null,a.nobrTagInScope=null),g_.indexOf(t)!==-1&&(a.pTagInButtonScope=null),y_.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(a.listItemTagAutoclosing=null,a.dlItemTagAutoclosing=null),a.current=i,t==="form"&&(a.formTag=i),t==="a"&&(a.aTagInScope=i),t==="button"&&(a.buttonTagInScope=i),t==="nobr"&&(a.nobrTagInScope=i),t==="p"&&(a.pTagInButtonScope=i),t==="li"&&(a.listItemTagAutoclosing=i),(t==="dd"||t==="dt")&&(a.dlItemTagAutoclosing=i),a};var C_=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return S_.indexOf(t)===-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 t==null}return!0},E_=function(e,t){switch(e){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 t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},QC={};lp=function(e,t,a){a=a||YC;var i=a.current,o=i&&i.tag;t!=null&&(e!=null&&S("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var s=C_(e,o)?null:i,d=s?null:E_(e,a),h=s||d;if(h){var y=h.tag,E=!!s+"|"+e+"|"+y;if(!QC[E]){QC[E]=!0;var b=e,D="";if(e==="#text"?/\S/.test(t)?b="Text nodes":(b="Whitespace text nodes",D=" Make sure you don't have any extra whitespace between tags on each line of your source code."):b="<"+e+">",s){var _="";y==="table"&&e==="tr"&&(_+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),S("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",b,y,D,_)}else S("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",b,y)}}}}var Ih="suppressHydrationWarning",Yh="$",Qh="/$",up="$?",sp="$!",b_="style",Ug=null,Fg=null;function T_(e){var t,a,i=e.nodeType;switch(i){case Ua:case Ml:{t=i===Ua?"#document":"#fragment";var o=e.documentElement;a=o?o.namespaceURI:Xf(null,"");break}default:{var s=i===mn?e.parentNode:e,d=s.namespaceURI||null;t=s.tagName,a=Xf(d,t);break}}{var h=t.toLowerCase(),y=op(null,h);return{namespace:a,ancestorInfo:y}}}function R_(e,t,a){{var i=e,o=Xf(i.namespace,t),s=op(i.ancestorInfo,t);return{namespace:o,ancestorInfo:s}}}function XN(e){return e}function w_(e){Ug=Xr(),Fg=jx();var t=null;return Un(!1),t}function x_(e){Px(Fg),Un(Ug),Ug=null,Fg=null}function __(e,t,a,i,o){var s;{var d=i;if(lp(e,null,d.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var h=""+t.children,y=op(d.ancestorInfo,e);lp(null,h,y)}s=d.namespace}var E=u_(e,t,a,s);return dp(o,E),Yg(E,t),E}function k_(e,t){e.appendChild(t)}function D_(e,t,a,i,o){switch(c_(e,t,a,i),t){case"button":case"input":case"select":case"textarea":return!!a.autoFocus;case"img":return!0;default:return!1}}function O_(e,t,a,i,o,s){{var d=s;if(typeof i.children!=typeof a.children&&(typeof i.children=="string"||typeof i.children=="number")){var h=""+i.children,y=op(d.ancestorInfo,t);lp(null,h,y)}}return f_(e,t,a,i)}function Hg(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function M_(e,t,a,i){{var o=a;lp(null,e,o.ancestorInfo)}var s=s_(e,t);return dp(i,s),s}function N_(){var e=window.event;return e===void 0?bi:pr(e.type)}var jg=typeof setTimeout=="function"?setTimeout:void 0,L_=typeof clearTimeout=="function"?clearTimeout:void 0,Pg=-1,WC=typeof Promise=="function"?Promise:void 0,z_=typeof queueMicrotask=="function"?queueMicrotask:typeof WC<"u"?function(e){return WC.resolve(null).then(e).catch(A_)}:jg;function A_(e){setTimeout(function(){throw e})}function U_(e,t,a,i){switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&e.focus();return;case"img":{a.src&&(e.src=a.src);return}}}function F_(e,t,a,i,o,s){d_(e,t,a,i,o),Yg(e,o)}function GC(e){qs(e,"")}function H_(e,t,a){e.nodeValue=a}function j_(e,t){e.appendChild(t)}function P_(e,t){var a;e.nodeType===mn?(a=e.parentNode,a.insertBefore(t,e)):(a=e,a.appendChild(t));var i=e._reactRootContainer;i==null&&a.onclick===null&&$h(a)}function V_(e,t,a){e.insertBefore(t,a)}function B_(e,t,a){e.nodeType===mn?e.parentNode.insertBefore(t,a):e.insertBefore(t,a)}function $_(e,t){e.removeChild(t)}function I_(e,t){e.nodeType===mn?e.parentNode.removeChild(t):e.removeChild(t)}function Vg(e,t){var a=t,i=0;do{var o=a.nextSibling;if(e.removeChild(a),o&&o.nodeType===mn){var s=o.data;if(s===Qh)if(i===0){e.removeChild(o),nt(t);return}else i--;else(s===Yh||s===up||s===sp)&&i++}a=o}while(a);nt(t)}function Y_(e,t){e.nodeType===mn?Vg(e.parentNode,t):e.nodeType===wr&&Vg(e,t),nt(e)}function Q_(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function W_(e){e.nodeValue=""}function G_(e,t){e=e;var a=t[b_],i=a!=null&&a.hasOwnProperty("display")?a.display:null;e.style.display=Xs("display",i)}function q_(e,t){e.nodeValue=t}function X_(e){e.nodeType===wr?e.textContent="":e.nodeType===Ua&&e.documentElement&&e.removeChild(e.documentElement)}function K_(e,t,a){return e.nodeType!==wr||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function Z_(e,t){return t===""||e.nodeType!==pi?null:e}function J_(e){return e.nodeType!==mn?null:e}function qC(e){return e.data===up}function Bg(e){return e.data===sp}function ek(e){var t=e.nextSibling&&e.nextSibling.dataset,a,i,o;return t&&(a=t.dgst,i=t.msg,o=t.stck),{message:i,digest:a,stack:o}}function tk(e,t){e._reactRetry=t}function Wh(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===wr||t===pi)break;if(t===mn){var a=e.data;if(a===Yh||a===sp||a===up)break;if(a===Qh)return null}}return e}function cp(e){return Wh(e.nextSibling)}function nk(e){return Wh(e.firstChild)}function rk(e){return Wh(e.firstChild)}function ak(e){return Wh(e.nextSibling)}function ik(e,t,a,i,o,s,d){dp(s,e),Yg(e,a);var h;{var y=o;h=y.namespace}var E=(s.mode&Je)!==Me;return v_(e,t,a,h,i,E,d)}function lk(e,t,a,i){return dp(a,e),a.mode&Je,h_(e,t)}function ok(e,t){dp(t,e)}function uk(e){for(var t=e.nextSibling,a=0;t;){if(t.nodeType===mn){var i=t.data;if(i===Qh){if(a===0)return cp(t);a--}else(i===Yh||i===sp||i===up)&&a++}t=t.nextSibling}return null}function XC(e){for(var t=e.previousSibling,a=0;t;){if(t.nodeType===mn){var i=t.data;if(i===Yh||i===sp||i===up){if(a===0)return t;a--}else i===Qh&&a++}t=t.previousSibling}return null}function sk(e){nt(e)}function ck(e){nt(e)}function fk(e){return e!=="head"&&e!=="body"}function dk(e,t,a,i){var o=!0;Bh(t.nodeValue,a,i,o)}function pk(e,t,a,i,o,s){if(t[Ih]!==!0){var d=!0;Bh(i.nodeValue,o,s,d)}}function vk(e,t){t.nodeType===wr?Ng(e,t):t.nodeType===mn||Lg(e,t)}function hk(e,t){{var a=e.parentNode;a!==null&&(t.nodeType===wr?Ng(a,t):t.nodeType===mn||Lg(a,t))}}function mk(e,t,a,i,o){(o||t[Ih]!==!0)&&(i.nodeType===wr?Ng(a,i):i.nodeType===mn||Lg(a,i))}function yk(e,t,a){zg(e,t)}function gk(e,t){Ag(e,t)}function Sk(e,t,a){{var i=e.parentNode;i!==null&&zg(i,t)}}function Ck(e,t){{var a=e.parentNode;a!==null&&Ag(a,t)}}function Ek(e,t,a,i,o,s){(s||t[Ih]!==!0)&&zg(a,i)}function bk(e,t,a,i,o){(o||t[Ih]!==!0)&&Ag(a,i)}function Tk(e){S("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function Rk(e){np(e)}var nf=Math.random().toString(36).slice(2),rf="__reactFiber$"+nf,$g="__reactProps$"+nf,fp="__reactContainer$"+nf,Ig="__reactEvents$"+nf,wk="__reactListeners$"+nf,xk="__reactHandles$"+nf;function _k(e){delete e[rf],delete e[$g],delete e[Ig],delete e[wk],delete e[xk]}function dp(e,t){t[rf]=e}function Gh(e,t){t[fp]=e}function KC(e){e[fp]=null}function pp(e){return!!e[fp]}function vs(e){var t=e[rf];if(t)return t;for(var a=e.parentNode;a;){if(t=a[fp]||a[rf],t){var i=t.alternate;if(t.child!==null||i!==null&&i.child!==null)for(var o=XC(e);o!==null;){var s=o[rf];if(s)return s;o=XC(o)}return t}e=a,a=e.parentNode}return null}function iu(e){var t=e[rf]||e[fp];return t&&(t.tag===Q||t.tag===oe||t.tag===Y||t.tag===W)?t:null}function af(e){if(e.tag===Q||e.tag===oe)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function qh(e){return e[$g]||null}function Yg(e,t){e[$g]=t}function kk(e){var t=e[Ig];return t===void 0&&(t=e[Ig]=new Set),t}var ZC={},JC=p.ReactDebugCurrentFrame;function Xh(e){if(e){var t=e._owner,a=Tu(e.type,e._source,t?t.type:null);JC.setExtraStackFrame(a)}else JC.setExtraStackFrame(null)}function _i(e,t,a,i,o){{var s=Function.call.bind(on);for(var d in e)if(s(e,d)){var h=void 0;try{if(typeof e[d]!="function"){var y=Error((i||"React class")+": "+a+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw y.name="Invariant Violation",y}h=e[d](t,d,i,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(E){h=E}h&&!(h instanceof Error)&&(Xh(o),S("%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).",i||"React class",a,d,typeof h),Xh(null)),h instanceof Error&&!(h.message in ZC)&&(ZC[h.message]=!0,Xh(o),S("Failed %s type: %s",a,h.message),Xh(null))}}}var Qg=[],Kh;Kh=[];var io=-1;function lu(e){return{current:e}}function zr(e,t){if(io<0){S("Unexpected pop.");return}t!==Kh[io]&&S("Unexpected Fiber popped."),e.current=Qg[io],Qg[io]=null,Kh[io]=null,io--}function Ar(e,t,a){io++,Qg[io]=e.current,Kh[io]=a,e.current=t}var Wg;Wg={};var Va={};Object.freeze(Va);var lo=lu(Va),dl=lu(!1),Gg=Va;function lf(e,t,a){return a&&pl(t)?Gg:lo.current}function eE(e,t,a){{var i=e.stateNode;i.__reactInternalMemoizedUnmaskedChildContext=t,i.__reactInternalMemoizedMaskedChildContext=a}}function of(e,t){{var a=e.type,i=a.contextTypes;if(!i)return Va;var o=e.stateNode;if(o&&o.__reactInternalMemoizedUnmaskedChildContext===t)return o.__reactInternalMemoizedMaskedChildContext;var s={};for(var d in i)s[d]=t[d];{var h=Qe(e)||"Unknown";_i(i,s,"context",h)}return o&&eE(e,t,s),s}}function Zh(){return dl.current}function pl(e){{var t=e.childContextTypes;return t!=null}}function Jh(e){zr(dl,e),zr(lo,e)}function qg(e){zr(dl,e),zr(lo,e)}function tE(e,t,a){{if(lo.current!==Va)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Ar(lo,t,e),Ar(dl,a,e)}}function nE(e,t,a){{var i=e.stateNode,o=t.childContextTypes;if(typeof i.getChildContext!="function"){{var s=Qe(e)||"Unknown";Wg[s]||(Wg[s]=!0,S("%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.",s,s))}return a}var d=i.getChildContext();for(var h in d)if(!(h in o))throw new Error((Qe(e)||"Unknown")+'.getChildContext(): key "'+h+'" is not defined in childContextTypes.');{var y=Qe(e)||"Unknown";_i(o,d,"child context",y)}return tt({},a,d)}}function em(e){{var t=e.stateNode,a=t&&t.__reactInternalMemoizedMergedChildContext||Va;return Gg=lo.current,Ar(lo,a,e),Ar(dl,dl.current,e),!0}}function rE(e,t,a){{var i=e.stateNode;if(!i)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(a){var o=nE(e,t,Gg);i.__reactInternalMemoizedMergedChildContext=o,zr(dl,e),zr(lo,e),Ar(lo,o,e),Ar(dl,a,e)}else zr(dl,e),Ar(dl,a,e)}}function Dk(e){{if(!md(e)||e.tag!==j)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 t=e;do{switch(t.tag){case W:return t.stateNode.context;case j:{var a=t.type;if(pl(a))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var ou=0,tm=1,oo=null,Xg=!1,Kg=!1;function aE(e){oo===null?oo=[e]:oo.push(e)}function Ok(e){Xg=!0,aE(e)}function iE(){Xg&&uu()}function uu(){if(!Kg&&oo!==null){Kg=!0;var e=0,t=ga();try{var a=!0,i=oo;for(Rn(lr);e<i.length;e++){var o=i[e];do o=o(a);while(o!==null)}oo=null,Xg=!1}catch(s){throw oo!==null&&(oo=oo.slice(e+1)),oc(sc,uu),s}finally{Rn(t),Kg=!1}}return null}var uf=[],sf=0,nm=null,rm=0,ti=[],ni=0,hs=null,uo=1,so="";function Mk(e){return ys(),(e.flags&pd)!==ke}function Nk(e){return ys(),rm}function Lk(){var e=so,t=uo,a=t&~zk(t);return a.toString(32)+e}function ms(e,t){ys(),uf[sf++]=rm,uf[sf++]=nm,nm=e,rm=t}function lE(e,t,a){ys(),ti[ni++]=uo,ti[ni++]=so,ti[ni++]=hs,hs=e;var i=uo,o=so,s=am(i)-1,d=i&~(1<<s),h=a+1,y=am(t)+s;if(y>30){var E=s-s%5,b=(1<<E)-1,D=(d&b).toString(32),_=d>>E,U=s-E,F=am(t)+U,P=h<<U,de=P|_,De=D+o;uo=1<<F|de,so=De}else{var Re=h<<s,ut=Re|d,rt=o;uo=1<<y|ut,so=rt}}function Zg(e){ys();var t=e.return;if(t!==null){var a=1,i=0;ms(e,a),lE(e,a,i)}}function am(e){return 32-hc(e)}function zk(e){return 1<<am(e)-1}function Jg(e){for(;e===nm;)nm=uf[--sf],uf[sf]=null,rm=uf[--sf],uf[sf]=null;for(;e===hs;)hs=ti[--ni],ti[ni]=null,so=ti[--ni],ti[ni]=null,uo=ti[--ni],ti[ni]=null}function Ak(){return ys(),hs!==null?{id:uo,overflow:so}:null}function Uk(e,t){ys(),ti[ni++]=uo,ti[ni++]=so,ti[ni++]=hs,uo=t.id,so=t.overflow,hs=e}function ys(){hr()||S("Expected to be hydrating. This is a bug in React. Please file an issue.")}var vr=null,ri=null,ki=!1,gs=!1,su=null;function Fk(){ki&&S("We should not be hydrating here. This is a bug in React. Please file a bug.")}function oE(){gs=!0}function Hk(){return gs}function jk(e){var t=e.stateNode.containerInfo;return ri=rk(t),vr=e,ki=!0,su=null,gs=!1,!0}function Pk(e,t,a){return ri=ak(t),vr=e,ki=!0,su=null,gs=!1,a!==null&&Uk(e,a),!0}function uE(e,t){switch(e.tag){case W:{vk(e.stateNode.containerInfo,t);break}case Q:{var a=(e.mode&Je)!==Me;mk(e.type,e.memoizedProps,e.stateNode,t,a);break}case Y:{var i=e.memoizedState;i.dehydrated!==null&&hk(i.dehydrated,t);break}}}function sE(e,t){uE(e,t);var a=$M();a.stateNode=t,a.return=e;var i=e.deletions;i===null?(e.deletions=[a],e.flags|=gt):i.push(a)}function e0(e,t){{if(gs)return;switch(e.tag){case W:{var a=e.stateNode.containerInfo;switch(t.tag){case Q:var i=t.type;t.pendingProps,yk(a,i);break;case oe:var o=t.pendingProps;gk(a,o);break}break}case Q:{var s=e.type,d=e.memoizedProps,h=e.stateNode;switch(t.tag){case Q:{var y=t.type,E=t.pendingProps,b=(e.mode&Je)!==Me;Ek(s,d,h,y,E,b);break}case oe:{var D=t.pendingProps,_=(e.mode&Je)!==Me;bk(s,d,h,D,_);break}}break}case Y:{var U=e.memoizedState,F=U.dehydrated;if(F!==null)switch(t.tag){case Q:var P=t.type;t.pendingProps,Sk(F,P);break;case oe:var de=t.pendingProps;Ck(F,de);break}break}default:return}}}function cE(e,t){t.flags=t.flags&~pa|Ft,e0(e,t)}function fE(e,t){switch(e.tag){case Q:{var a=e.type;e.pendingProps;var i=K_(t,a);return i!==null?(e.stateNode=i,vr=e,ri=nk(i),!0):!1}case oe:{var o=e.pendingProps,s=Z_(t,o);return s!==null?(e.stateNode=s,vr=e,ri=null,!0):!1}case Y:{var d=J_(t);if(d!==null){var h={dehydrated:d,treeContext:Ak(),retryLane:Nr};e.memoizedState=h;var y=IM(d);return y.return=e,e.child=y,vr=e,ri=null,!0}return!1}default:return!1}}function t0(e){return(e.mode&Je)!==Me&&(e.flags&je)===ke}function n0(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function r0(e){if(ki){var t=ri;if(!t){t0(e)&&(e0(vr,e),n0()),cE(vr,e),ki=!1,vr=e;return}var a=t;if(!fE(e,t)){t0(e)&&(e0(vr,e),n0()),t=cp(a);var i=vr;if(!t||!fE(e,t)){cE(vr,e),ki=!1,vr=e;return}sE(i,a)}}}function Vk(e,t,a){var i=e.stateNode,o=!gs,s=ik(i,e.type,e.memoizedProps,t,a,e,o);return e.updateQueue=s,s!==null}function Bk(e){var t=e.stateNode,a=e.memoizedProps,i=lk(t,a,e);if(i){var o=vr;if(o!==null)switch(o.tag){case W:{var s=o.stateNode.containerInfo,d=(o.mode&Je)!==Me;dk(s,t,a,d);break}case Q:{var h=o.type,y=o.memoizedProps,E=o.stateNode,b=(o.mode&Je)!==Me;pk(h,y,E,t,a,b);break}}}return i}function $k(e){var t=e.memoizedState,a=t!==null?t.dehydrated:null;if(!a)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");ok(a,e)}function Ik(e){var t=e.memoizedState,a=t!==null?t.dehydrated:null;if(!a)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 uk(a)}function dE(e){for(var t=e.return;t!==null&&t.tag!==Q&&t.tag!==W&&t.tag!==Y;)t=t.return;vr=t}function im(e){if(e!==vr)return!1;if(!ki)return dE(e),ki=!0,!1;if(e.tag!==W&&(e.tag!==Q||fk(e.type)&&!Hg(e.type,e.memoizedProps))){var t=ri;if(t)if(t0(e))pE(e),n0();else for(;t;)sE(e,t),t=cp(t)}return dE(e),e.tag===Y?ri=Ik(e):ri=vr?cp(e.stateNode):null,!0}function Yk(){return ki&&ri!==null}function pE(e){for(var t=ri;t;)uE(e,t),t=cp(t)}function cf(){vr=null,ri=null,ki=!1,gs=!1}function vE(){su!==null&&(uT(su),su=null)}function hr(){return ki}function a0(e){su===null?su=[e]:su.push(e)}var Qk=p.ReactCurrentBatchConfig,Wk=null;function Gk(){return Qk.transition}var Di={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var qk=function(e){for(var t=null,a=e;a!==null;)a.mode&Gt&&(t=a),a=a.return;return t},Ss=function(e){var t=[];return e.forEach(function(a){t.push(a)}),t.sort().join(", ")},vp=[],hp=[],mp=[],yp=[],gp=[],Sp=[],Cs=new Set;Di.recordUnsafeLifecycleWarnings=function(e,t){Cs.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&vp.push(e),e.mode&Gt&&typeof t.UNSAFE_componentWillMount=="function"&&hp.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&mp.push(e),e.mode&Gt&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&yp.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&gp.push(e),e.mode&Gt&&typeof t.UNSAFE_componentWillUpdate=="function"&&Sp.push(e))},Di.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;vp.length>0&&(vp.forEach(function(_){e.add(Qe(_)||"Component"),Cs.add(_.type)}),vp=[]);var t=new Set;hp.length>0&&(hp.forEach(function(_){t.add(Qe(_)||"Component"),Cs.add(_.type)}),hp=[]);var a=new Set;mp.length>0&&(mp.forEach(function(_){a.add(Qe(_)||"Component"),Cs.add(_.type)}),mp=[]);var i=new Set;yp.length>0&&(yp.forEach(function(_){i.add(Qe(_)||"Component"),Cs.add(_.type)}),yp=[]);var o=new Set;gp.length>0&&(gp.forEach(function(_){o.add(Qe(_)||"Component"),Cs.add(_.type)}),gp=[]);var s=new Set;if(Sp.length>0&&(Sp.forEach(function(_){s.add(Qe(_)||"Component"),Cs.add(_.type)}),Sp=[]),t.size>0){var d=Ss(t);S(`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
83
|
|
|
84
84
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
85
85
|
|
|
86
|
-
Please update the following components: %s`,
|
|
86
|
+
Please update the following components: %s`,d)}if(i.size>0){var h=Ss(i);S(`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
87
|
|
|
88
88
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
89
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
90
|
|
|
91
|
-
Please update the following components: %s`,
|
|
91
|
+
Please update the following components: %s`,h)}if(s.size>0){var y=Ss(s);S(`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
92
|
|
|
93
93
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
94
94
|
|
|
95
|
-
Please update the following components: %s`,
|
|
95
|
+
Please update the following components: %s`,y)}if(e.size>0){var E=Ss(e);M(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
96
96
|
|
|
97
97
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
98
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
99
|
|
|
100
|
-
Please update the following components: %s`,
|
|
100
|
+
Please update the following components: %s`,E)}if(a.size>0){var b=Ss(a);M(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
101
101
|
|
|
102
102
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
103
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
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
105
|
|
|
106
|
-
Please update the following components: %s`,
|
|
106
|
+
Please update the following components: %s`,b)}if(o.size>0){var D=Ss(o);M(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
107
107
|
|
|
108
108
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
109
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
110
|
|
|
111
|
-
Please update the following components: %s`,
|
|
111
|
+
Please update the following components: %s`,D)}};var lm=new Map,hE=new Set;Di.recordLegacyContextWarning=function(e,t){var a=qk(e);if(a===null){S("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(!hE.has(e.type)){var i=lm.get(a);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(i===void 0&&(i=[],lm.set(a,i)),i.push(e))}},Di.flushLegacyContextWarning=function(){lm.forEach(function(e,t){if(e.length!==0){var a=e[0],i=new Set;e.forEach(function(s){i.add(Qe(s)||"Component"),hE.add(s.type)});var o=Ss(i);try{wt(a),S(`Legacy context API has been detected within a strict-mode tree.
|
|
112
112
|
|
|
113
113
|
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
114
114
|
|
|
115
115
|
Please update the following components: %s
|
|
116
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 w5(){SC=!0}function x5(){SC=!1}function T5(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 aJ(i,o,v){oJ(i,o,v)}function oJ(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 lJ(){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 b5(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 uJ(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 sJ(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 fJ=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&&E3(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&&E3(i),g=C,C=C.return;if(g.tag===m){var T=g.stateNode;return T}else return null}var E5=0,D5=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 M5(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:E5,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),fte()){var T=C.pending;return T===null?o.next=o:(o.next=T.next,T.next=o),C.pending=o,fJ(i,v)}else return sJ(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 cJ(i,o,v,g,C,T){switch(v.tag){case D5:{var R=v.payload;if(typeof R=="function"){w5();var k=R.call(T,g,C);{if(i.mode&Fn){lr(!0);try{R.call(T,g,C)}finally{lr(!1)}}x5()}return k}return R}case iM:i.flags=i.flags&~yr|lt;case E5:{var N=v.payload,B;if(typeof N=="function"){w5(),B=N.call(T,g,C);{if(i.mode&Fn){lr(!0);try{N.call(T,g,C)}finally{lr(!1)}}x5()}}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=cJ(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 dJ(i,o){if(typeof i!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+i));i.call(o)}function R5(){TC=!1}function MC(){return TC}function A5(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,dJ(R,v))}}var uM={},L5=new t.Component().refs,sM,fM,cM,dM,vM,O5,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 k5=new Set;RC=function(i,o){if(!(i===null||typeof i=="function")){var v=o+"_"+i;k5.has(v)||(k5.add(v),u("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",o,i))}},O5=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)}}O5(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=D5,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 N5(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 vJ(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 P5(i,o){o.updater=yM,i.stateNode=o,ef(o,i),o._reactInternalInstance=uM}function I5(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;P5(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.
|
|
117
|
+
Learn more about this warning here: https://reactjs.org/link/legacy-context`,o)}finally{En()}}})},Di.discardPendingWarnings=function(){vp=[],hp=[],mp=[],yp=[],gp=[],Sp=[],lm=new Map}}function Oi(e,t){if(e&&e.defaultProps){var a=tt({},t),i=e.defaultProps;for(var o in i)a[o]===void 0&&(a[o]=i[o]);return a}return t}var i0=lu(null),l0;l0={};var om=null,ff=null,o0=null,um=!1;function sm(){om=null,ff=null,o0=null,um=!1}function mE(){um=!0}function yE(){um=!1}function gE(e,t,a){Ar(i0,t._currentValue,e),t._currentValue=a,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==l0&&S("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=l0}function u0(e,t){var a=i0.current;zr(i0,t),e._currentValue=a}function s0(e,t,a){for(var i=e;i!==null;){var o=i.alternate;if(Gl(i.childLanes,t)?o!==null&&!Gl(o.childLanes,t)&&(o.childLanes=Ge(o.childLanes,t)):(i.childLanes=Ge(i.childLanes,t),o!==null&&(o.childLanes=Ge(o.childLanes,t))),i===a)break;i=i.return}i!==a&&S("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 Xk(e,t,a){Kk(e,t,a)}function Kk(e,t,a){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var o=void 0,s=i.dependencies;if(s!==null){o=i.child;for(var d=s.firstContext;d!==null;){if(d.context===t){if(i.tag===j){var h=Tn(a),y=co(Lt,h);y.tag=fm;var E=i.updateQueue;if(E!==null){var b=E.shared,D=b.pending;D===null?y.next=y:(y.next=D.next,D.next=y),b.pending=y}}i.lanes=Ge(i.lanes,a);var _=i.alternate;_!==null&&(_.lanes=Ge(_.lanes,a)),s0(i.return,a,e),s.lanes=Ge(s.lanes,a);break}d=d.next}}else if(i.tag===Ae)o=i.type===e.type?null:i.child;else if(i.tag===zt){var U=i.return;if(U===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");U.lanes=Ge(U.lanes,a);var F=U.alternate;F!==null&&(F.lanes=Ge(F.lanes,a)),s0(U,a,e),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===e){o=null;break}var P=o.sibling;if(P!==null){P.return=o.return,o=P;break}o=o.return}i=o}}function df(e,t){om=e,ff=null,o0=null;var a=e.dependencies;if(a!==null){var i=a.firstContext;i!==null&&(Lr(a.lanes,t)&&Lp(),a.firstContext=null)}}function Hn(e){um&&S("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 t=e._currentValue;if(o0!==e){var a={context:e,memoizedValue:t,next:null};if(ff===null){if(om===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().");ff=a,om.dependencies={lanes:B,firstContext:a}}else ff=ff.next=a}return t}var Es=null;function c0(e){Es===null?Es=[e]:Es.push(e)}function Zk(){if(Es!==null){for(var e=0;e<Es.length;e++){var t=Es[e],a=t.interleaved;if(a!==null){t.interleaved=null;var i=a.next,o=t.pending;if(o!==null){var s=o.next;o.next=i,a.next=s}t.pending=a}}Es=null}}function SE(e,t,a,i){var o=t.interleaved;return o===null?(a.next=a,c0(t)):(a.next=o.next,o.next=a),t.interleaved=a,cm(e,i)}function Jk(e,t,a,i){var o=t.interleaved;o===null?(a.next=a,c0(t)):(a.next=o.next,o.next=a),t.interleaved=a}function eD(e,t,a,i){var o=t.interleaved;return o===null?(a.next=a,c0(t)):(a.next=o.next,o.next=a),t.interleaved=a,cm(e,i)}function Ta(e,t){return cm(e,t)}var tD=cm;function cm(e,t){e.lanes=Ge(e.lanes,t);var a=e.alternate;a!==null&&(a.lanes=Ge(a.lanes,t)),a===null&&(e.flags&(Ft|pa))!==ke&&CT(e);for(var i=e,o=e.return;o!==null;)o.childLanes=Ge(o.childLanes,t),a=o.alternate,a!==null?a.childLanes=Ge(a.childLanes,t):(o.flags&(Ft|pa))!==ke&&CT(e),i=o,o=o.return;if(i.tag===W){var s=i.stateNode;return s}else return null}var CE=0,EE=1,fm=2,f0=3,dm=!1,d0,pm;d0=!1,pm=null;function p0(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:B},effects:null};e.updateQueue=t}function bE(e,t){var a=t.updateQueue,i=e.updateQueue;if(a===i){var o={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,effects:i.effects};t.updateQueue=o}}function co(e,t){var a={eventTime:e,lane:t,tag:CE,payload:null,callback:null,next:null};return a}function cu(e,t,a){var i=e.updateQueue;if(i===null)return null;var o=i.shared;if(pm===o&&!d0&&(S("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."),d0=!0),tM()){var s=o.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),o.pending=t,tD(e,a)}else return eD(e,o,t,a)}function vm(e,t,a){var i=t.updateQueue;if(i!==null){var o=i.shared;if(Dd(a)){var s=o.lanes;s=Md(s,e.pendingLanes);var d=Ge(s,a);o.lanes=d,Io(e,d)}}}function v0(e,t){var a=e.updateQueue,i=e.alternate;if(i!==null){var o=i.updateQueue;if(a===o){var s=null,d=null,h=a.firstBaseUpdate;if(h!==null){var y=h;do{var E={eventTime:y.eventTime,lane:y.lane,tag:y.tag,payload:y.payload,callback:y.callback,next:null};d===null?s=d=E:(d.next=E,d=E),y=y.next}while(y!==null);d===null?s=d=t:(d.next=t,d=t)}else s=d=t;a={baseState:o.baseState,firstBaseUpdate:s,lastBaseUpdate:d,shared:o.shared,effects:o.effects},e.updateQueue=a;return}}var b=a.lastBaseUpdate;b===null?a.firstBaseUpdate=t:b.next=t,a.lastBaseUpdate=t}function nD(e,t,a,i,o,s){switch(a.tag){case EE:{var d=a.payload;if(typeof d=="function"){mE();var h=d.call(s,i,o);{if(e.mode&Gt){bn(!0);try{d.call(s,i,o)}finally{bn(!1)}}yE()}return h}return d}case f0:e.flags=e.flags&~Ln|je;case CE:{var y=a.payload,E;if(typeof y=="function"){mE(),E=y.call(s,i,o);{if(e.mode&Gt){bn(!0);try{y.call(s,i,o)}finally{bn(!1)}}yE()}}else E=y;return E==null?i:tt({},i,E)}case fm:return dm=!0,i}return i}function hm(e,t,a,i){var o=e.updateQueue;dm=!1,pm=o.shared;var s=o.firstBaseUpdate,d=o.lastBaseUpdate,h=o.shared.pending;if(h!==null){o.shared.pending=null;var y=h,E=y.next;y.next=null,d===null?s=E:d.next=E,d=y;var b=e.alternate;if(b!==null){var D=b.updateQueue,_=D.lastBaseUpdate;_!==d&&(_===null?D.firstBaseUpdate=E:_.next=E,D.lastBaseUpdate=y)}}if(s!==null){var U=o.baseState,F=B,P=null,de=null,De=null,Re=s;do{var ut=Re.lane,rt=Re.eventTime;if(Gl(i,ut)){if(De!==null){var V={eventTime:rt,lane:lt,tag:Re.tag,payload:Re.payload,callback:Re.callback,next:null};De=De.next=V}U=nD(e,o,Re,U,t,a);var z=Re.callback;if(z!==null&&Re.lane!==lt){e.flags|=qa;var Z=o.effects;Z===null?o.effects=[Re]:Z.push(Re)}}else{var L={eventTime:rt,lane:ut,tag:Re.tag,payload:Re.payload,callback:Re.callback,next:null};De===null?(de=De=L,P=U):De=De.next=L,F=Ge(F,ut)}if(Re=Re.next,Re===null){if(h=o.shared.pending,h===null)break;var pe=h,se=pe.next;pe.next=null,Re=se,o.lastBaseUpdate=pe,o.shared.pending=null}}while(!0);De===null&&(P=U),o.baseState=P,o.firstBaseUpdate=de,o.lastBaseUpdate=De;var Fe=o.shared.interleaved;if(Fe!==null){var Ie=Fe;do F=Ge(F,Ie.lane),Ie=Ie.next;while(Ie!==Fe)}else s===null&&(o.shared.lanes=B);Yp(F),e.lanes=F,e.memoizedState=U}pm=null}function rD(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function TE(){dm=!1}function mm(){return dm}function RE(e,t,a){var i=t.effects;if(t.effects=null,i!==null)for(var o=0;o<i.length;o++){var s=i[o],d=s.callback;d!==null&&(s.callback=null,rD(d,a))}}var h0={},wE=new f.Component().refs,m0,y0,g0,S0,C0,xE,ym,E0,b0,T0;{m0=new Set,y0=new Set,g0=new Set,S0=new Set,E0=new Set,C0=new Set,b0=new Set,T0=new Set;var _E=new Set;ym=function(e,t){if(!(e===null||typeof e=="function")){var a=t+"_"+e;_E.has(a)||(_E.add(a),S("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},xE=function(e,t){if(t===void 0){var a=Mt(e)||"Component";C0.has(a)||(C0.add(a),S("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",a))}},Object.defineProperty(h0,"_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(h0)}function R0(e,t,a,i){var o=e.memoizedState,s=a(i,o);{if(e.mode&Gt){bn(!0);try{s=a(i,o)}finally{bn(!1)}}xE(t,s)}var d=s==null?o:tt({},o,s);if(e.memoizedState=d,e.lanes===B){var h=e.updateQueue;h.baseState=d}}var w0={isMounted:Wr,enqueueSetState:function(e,t,a){var i=fa(e),o=Jr(),s=gu(i),d=co(o,s);d.payload=t,a!=null&&(ym(a,"setState"),d.callback=a);var h=cu(i,d,s);h!==null&&(Jn(h,i,s,o),vm(h,i,s)),rl(i,s)},enqueueReplaceState:function(e,t,a){var i=fa(e),o=Jr(),s=gu(i),d=co(o,s);d.tag=EE,d.payload=t,a!=null&&(ym(a,"replaceState"),d.callback=a);var h=cu(i,d,s);h!==null&&(Jn(h,i,s,o),vm(h,i,s)),rl(i,s)},enqueueForceUpdate:function(e,t){var a=fa(e),i=Jr(),o=gu(a),s=co(i,o);s.tag=fm,t!=null&&(ym(t,"forceUpdate"),s.callback=t);var d=cu(a,s,o);d!==null&&(Jn(d,a,o,i),vm(d,a,o)),wd(a,o)}};function kE(e,t,a,i,o,s,d){var h=e.stateNode;if(typeof h.shouldComponentUpdate=="function"){var y=h.shouldComponentUpdate(i,s,d);{if(e.mode&Gt){bn(!0);try{y=h.shouldComponentUpdate(i,s,d)}finally{bn(!1)}}y===void 0&&S("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Mt(t)||"Component")}return y}return t.prototype&&t.prototype.isPureReactComponent?!we(a,i)||!we(o,s):!0}function aD(e,t,a){var i=e.stateNode;{var o=Mt(t)||"Component",s=i.render;s||(t.prototype&&typeof t.prototype.render=="function"?S("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",o):S("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",o)),i.getInitialState&&!i.getInitialState.isReactClassApproved&&!i.state&&S("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?",o),i.getDefaultProps&&!i.getDefaultProps.isReactClassApproved&&S("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.",o),i.propTypes&&S("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",o),i.contextType&&S("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",o),i.contextTypes&&S("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",o),t.contextType&&t.contextTypes&&!b0.has(t)&&(b0.add(t),S("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",o)),typeof i.componentShouldUpdate=="function"&&S("%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.",o),t.prototype&&t.prototype.isPureReactComponent&&typeof i.shouldComponentUpdate<"u"&&S("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Mt(t)||"A pure component"),typeof i.componentDidUnmount=="function"&&S("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",o),typeof i.componentDidReceiveProps=="function"&&S("%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().",o),typeof i.componentWillRecieveProps=="function"&&S("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",o),typeof i.UNSAFE_componentWillRecieveProps=="function"&&S("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",o);var d=i.props!==a;i.props!==void 0&&d&&S("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",o,o),i.defaultProps&&S("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",o,o),typeof i.getSnapshotBeforeUpdate=="function"&&typeof i.componentDidUpdate!="function"&&!g0.has(t)&&(g0.add(t),S("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Mt(t))),typeof i.getDerivedStateFromProps=="function"&&S("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",o),typeof i.getDerivedStateFromError=="function"&&S("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",o),typeof t.getSnapshotBeforeUpdate=="function"&&S("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",o);var h=i.state;h&&(typeof h!="object"||Mn(h))&&S("%s.state: must be set to an object or null",o),typeof i.getChildContext=="function"&&typeof t.childContextTypes!="object"&&S("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",o)}}function DE(e,t){t.updater=w0,e.stateNode=t,zo(t,e),t._reactInternalInstance=h0}function OE(e,t,a){var i=!1,o=Va,s=Va,d=t.contextType;if("contextType"in t){var h=d===null||d!==void 0&&d.$$typeof===le&&d._context===void 0;if(!h&&!T0.has(t)){T0.add(t);var y="";d===void 0?y=" 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 d!="object"?y=" However, it is set to a "+typeof d+".":d.$$typeof===X?y=" Did you accidentally pass the Context.Provider instead?":d._context!==void 0?y=" Did you accidentally pass the Context.Consumer instead?":y=" However, it is set to an object with keys {"+Object.keys(d).join(", ")+"}.",S("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Mt(t)||"Component",y)}}if(typeof d=="object"&&d!==null)s=Hn(d);else{o=lf(e,t,!0);var E=t.contextTypes;i=E!=null,s=i?of(e,o):Va}var b=new t(a,s);if(e.mode&Gt){bn(!0);try{b=new t(a,s)}finally{bn(!1)}}var D=e.memoizedState=b.state!==null&&b.state!==void 0?b.state:null;DE(e,b);{if(typeof t.getDerivedStateFromProps=="function"&&D===null){var _=Mt(t)||"Component";y0.has(_)||(y0.add(_),S("`%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.",_,b.state===null?"null":"undefined",_))}if(typeof t.getDerivedStateFromProps=="function"||typeof b.getSnapshotBeforeUpdate=="function"){var U=null,F=null,P=null;if(typeof b.componentWillMount=="function"&&b.componentWillMount.__suppressDeprecationWarning!==!0?U="componentWillMount":typeof b.UNSAFE_componentWillMount=="function"&&(U="UNSAFE_componentWillMount"),typeof b.componentWillReceiveProps=="function"&&b.componentWillReceiveProps.__suppressDeprecationWarning!==!0?F="componentWillReceiveProps":typeof b.UNSAFE_componentWillReceiveProps=="function"&&(F="UNSAFE_componentWillReceiveProps"),typeof b.componentWillUpdate=="function"&&b.componentWillUpdate.__suppressDeprecationWarning!==!0?P="componentWillUpdate":typeof b.UNSAFE_componentWillUpdate=="function"&&(P="UNSAFE_componentWillUpdate"),U!==null||F!==null||P!==null){var de=Mt(t)||"Component",De=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";S0.has(de)||(S0.add(de),S(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
118
118
|
|
|
119
119
|
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
120
120
|
|
|
121
121
|
The above lifecycles should be removed. Learn more about this warning here:
|
|
122
|
-
https://reactjs.org/link/unsafe-component-lifecycles`,
|
|
123
|
-
`+
|
|
124
|
-
`+
|
|
125
|
-
`+
|
|
122
|
+
https://reactjs.org/link/unsafe-component-lifecycles`,de,De,U!==null?`
|
|
123
|
+
`+U:"",F!==null?`
|
|
124
|
+
`+F:"",P!==null?`
|
|
125
|
+
`+P:""))}}}return i&&eE(e,o,s),b}function iD(e,t){var a=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),a!==t.state&&(S("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Qe(e)||"Component"),w0.enqueueReplaceState(t,t.state,null))}function ME(e,t,a,i){var o=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,i),t.state!==o){{var s=Qe(e)||"Component";m0.has(s)||(m0.add(s),S("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",s))}w0.enqueueReplaceState(t,t.state,null)}}function x0(e,t,a,i){aD(e,t,a);var o=e.stateNode;o.props=a,o.state=e.memoizedState,o.refs=wE,p0(e);var s=t.contextType;if(typeof s=="object"&&s!==null)o.context=Hn(s);else{var d=lf(e,t,!0);o.context=of(e,d)}{if(o.state===a){var h=Mt(t)||"Component";E0.has(h)||(E0.add(h),S("%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.",h))}e.mode&Gt&&Di.recordLegacyContextWarning(e,o),Di.recordUnsafeLifecycleWarnings(e,o)}o.state=e.memoizedState;var y=t.getDerivedStateFromProps;if(typeof y=="function"&&(R0(e,t,y,a),o.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof o.getSnapshotBeforeUpdate!="function"&&(typeof o.UNSAFE_componentWillMount=="function"||typeof o.componentWillMount=="function")&&(iD(e,o),hm(e,a,o,i),o.state=e.memoizedState),typeof o.componentDidMount=="function"){var E=We;E|=_r,(e.mode&ma)!==Me&&(E|=kr),e.flags|=E}}function lD(e,t,a,i){var o=e.stateNode,s=e.memoizedProps;o.props=s;var d=o.context,h=t.contextType,y=Va;if(typeof h=="object"&&h!==null)y=Hn(h);else{var E=lf(e,t,!0);y=of(e,E)}var b=t.getDerivedStateFromProps,D=typeof b=="function"||typeof o.getSnapshotBeforeUpdate=="function";!D&&(typeof o.UNSAFE_componentWillReceiveProps=="function"||typeof o.componentWillReceiveProps=="function")&&(s!==a||d!==y)&&ME(e,o,a,y),TE();var _=e.memoizedState,U=o.state=_;if(hm(e,a,o,i),U=e.memoizedState,s===a&&_===U&&!Zh()&&!mm()){if(typeof o.componentDidMount=="function"){var F=We;F|=_r,(e.mode&ma)!==Me&&(F|=kr),e.flags|=F}return!1}typeof b=="function"&&(R0(e,t,b,a),U=e.memoizedState);var P=mm()||kE(e,t,s,a,_,U,y);if(P){if(!D&&(typeof o.UNSAFE_componentWillMount=="function"||typeof o.componentWillMount=="function")&&(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"){var de=We;de|=_r,(e.mode&ma)!==Me&&(de|=kr),e.flags|=de}}else{if(typeof o.componentDidMount=="function"){var De=We;De|=_r,(e.mode&ma)!==Me&&(De|=kr),e.flags|=De}e.memoizedProps=a,e.memoizedState=U}return o.props=a,o.state=U,o.context=y,P}function oD(e,t,a,i,o){var s=t.stateNode;bE(e,t);var d=t.memoizedProps,h=t.type===t.elementType?d:Oi(t.type,d);s.props=h;var y=t.pendingProps,E=s.context,b=a.contextType,D=Va;if(typeof b=="object"&&b!==null)D=Hn(b);else{var _=lf(t,a,!0);D=of(t,_)}var U=a.getDerivedStateFromProps,F=typeof U=="function"||typeof s.getSnapshotBeforeUpdate=="function";!F&&(typeof s.UNSAFE_componentWillReceiveProps=="function"||typeof s.componentWillReceiveProps=="function")&&(d!==y||E!==D)&&ME(t,s,i,D),TE();var P=t.memoizedState,de=s.state=P;if(hm(t,i,s,o),de=t.memoizedState,d===y&&P===de&&!Zh()&&!mm()&&!xe)return typeof s.componentDidUpdate=="function"&&(d!==e.memoizedProps||P!==e.memoizedState)&&(t.flags|=We),typeof s.getSnapshotBeforeUpdate=="function"&&(d!==e.memoizedProps||P!==e.memoizedState)&&(t.flags|=da),!1;typeof U=="function"&&(R0(t,a,U,i),de=t.memoizedState);var De=mm()||kE(t,a,h,i,P,de,D)||xe;return De?(!F&&(typeof s.UNSAFE_componentWillUpdate=="function"||typeof s.componentWillUpdate=="function")&&(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(i,de,D),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(i,de,D)),typeof s.componentDidUpdate=="function"&&(t.flags|=We),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=da)):(typeof s.componentDidUpdate=="function"&&(d!==e.memoizedProps||P!==e.memoizedState)&&(t.flags|=We),typeof s.getSnapshotBeforeUpdate=="function"&&(d!==e.memoizedProps||P!==e.memoizedState)&&(t.flags|=da),t.memoizedProps=i,t.memoizedState=de),s.props=i,s.state=de,s.context=D,De}var _0,k0,D0,O0,M0,NE=function(e,t){};_0=!1,k0=!1,D0={},O0={},M0={},NE=function(e,t){if(!(e===null||typeof e!="object")&&!(!e._store||e._store.validated||e.key!=null)){if(typeof e._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.");e._store.validated=!0;var a=Qe(t)||"Component";O0[a]||(O0[a]=!0,S('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function Cp(e,t,a){var i=a.ref;if(i!==null&&typeof i!="function"&&typeof i!="object"){if((e.mode&Gt||Bn)&&!(a._owner&&a._self&&a._owner.stateNode!==a._self)){var o=Qe(e)||"Component";D0[o]||(S('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',i),D0[o]=!0)}if(a._owner){var s=a._owner,d;if(s){var h=s;if(h.tag!==j)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");d=h.stateNode}if(!d)throw new Error("Missing owner for string ref "+i+". This error is likely caused by a bug in React. Please file an issue.");var y=d;si(i,"ref");var E=""+i;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===E)return t.ref;var b=function(D){var _=y.refs;_===wE&&(_=y.refs={}),D===null?delete _[E]:_[E]=D};return b._stringRef=E,b}else{if(typeof i!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!a._owner)throw new Error("Element ref was specified as a string ("+i+`) but no owner was set. This could happen for one of the following reasons:
|
|
126
126
|
1. You may be adding a ref to a function component
|
|
127
127
|
2. You may be adding a ref to a component that was not created inside a component's render method
|
|
128
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=vt(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 B5(i){var o=i._payload,v=i._init;return v(o)}function U5(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||A3(ve,re)||typeof Ie=="object"&&Ie!==null&&Ie.$$typeof===tt&&B5(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 fn=Vf(ve,ne.mode,re,null);return fn.return=ne,fn}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 fn=xe._payload,jt=xe._init;return le(ne,ve,re,jt(fn),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:F5(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,fn=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),fn===null?ct=Mi:fn.sibling=Mi,fn=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),fn===null?ct=Ka:fn.sibling=Ka,fn=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),fn===null?ct=Ri:fn.sibling=Ri,fn=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 fn=ct.value;at=ue(fn,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(Ane){return o(ne,Ane)}),ni()){var Rne=si;Md(ne,Rne)}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||A3(Ae,re)||typeof at=="object"&&at!==null&&at.$$typeof===tt&&B5(at)===Ae.type){v(ne,Ae.sibling);var fn=C(Ae,re.props);return fn.ref=Iy(ne,Ae,re),fn.return=ne,fn._debugSource=re._source,fn._debugOwner=re._owner,fn}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=U5(!0),V5=U5(!1);function mJ(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 yJ(i,o){for(var v=i.child;v!==null;)Wte(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 H5(){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=OZ(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 G5(i){kC(OC.current);var o=kC(Of.current),v=kZ(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 _J=0,$5=1,j5=1,By=2,fl=Df(_J);function MM(i,o){return(i&o)!==0}function mp(i){return i&$5}function RM(i,o){return i&$5|o}function SJ(i,o){return i|o}function kf(i,o){Ei(fl,o,i)}function yp(i){bi(fl,i)}function CJ(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||t5(g)||PD(g))return o}}else if(o.tag===G&&o.memoizedProps.revealOrder!==void 0){var C=(o.flags<)!==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 wJ(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,sn=null,Or=null,kr=null,PC=!1,Vy=!1,Hy=0,xJ=0,TJ=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&&bJ(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 bJ(i){{var o=vt(sn);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
|
-
`,
|
|
129
|
+
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return i}function gm(e,t){var a=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(a==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":a)+"). If you meant to render a collection of children, use an array instead.")}function Sm(e){{var t=Qe(e)||"Component";if(M0[t])return;M0[t]=!0,S("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 LE(e){var t=e._payload,a=e._init;return a(t)}function zE(e){function t(L,V){if(e){var z=L.deletions;z===null?(L.deletions=[V],L.flags|=gt):z.push(V)}}function a(L,V){if(!e)return null;for(var z=V;z!==null;)t(L,z),z=z.sibling;return null}function i(L,V){for(var z=new Map,Z=V;Z!==null;)Z.key!==null?z.set(Z.key,Z):z.set(Z.index,Z),Z=Z.sibling;return z}function o(L,V){var z=Ds(L,V);return z.index=0,z.sibling=null,z}function s(L,V,z){if(L.index=z,!e)return L.flags|=pd,V;var Z=L.alternate;if(Z!==null){var pe=Z.index;return pe<V?(L.flags|=Ft,V):pe}else return L.flags|=Ft,V}function d(L){return e&&L.alternate===null&&(L.flags|=Ft),L}function h(L,V,z,Z){if(V===null||V.tag!==oe){var pe=a1(z,L.mode,Z);return pe.return=L,pe}else{var se=o(V,z);return se.return=L,se}}function y(L,V,z,Z){var pe=z.type;if(pe===Na)return b(L,V,z.props.children,Z,z.key);if(V!==null&&(V.elementType===pe||RT(V,z)||typeof pe=="object"&&pe!==null&&pe.$$typeof===Le&&LE(pe)===V.type)){var se=o(V,z.props);return se.ref=Cp(L,V,z),se.return=L,se._debugSource=z._source,se._debugOwner=z._owner,se}var Fe=r1(z,L.mode,Z);return Fe.ref=Cp(L,V,z),Fe.return=L,Fe}function E(L,V,z,Z){if(V===null||V.tag!==ne||V.stateNode.containerInfo!==z.containerInfo||V.stateNode.implementation!==z.implementation){var pe=i1(z,L.mode,Z);return pe.return=L,pe}else{var se=o(V,z.children||[]);return se.return=L,se}}function b(L,V,z,Z,pe){if(V===null||V.tag!==He){var se=Cu(z,L.mode,Z,pe);return se.return=L,se}else{var Fe=o(V,z);return Fe.return=L,Fe}}function D(L,V,z){if(typeof V=="string"&&V!==""||typeof V=="number"){var Z=a1(""+V,L.mode,z);return Z.return=L,Z}if(typeof V=="object"&&V!==null){switch(V.$$typeof){case ji:{var pe=r1(V,L.mode,z);return pe.ref=Cp(L,null,V),pe.return=L,pe}case $r:{var se=i1(V,L.mode,z);return se.return=L,se}case Le:{var Fe=V._payload,Ie=V._init;return D(L,Ie(Fe),z)}}if(Mn(V)||ci(V)){var _t=Cu(V,L.mode,z,null);return _t.return=L,_t}gm(L,V)}return typeof V=="function"&&Sm(L),null}function _(L,V,z,Z){var pe=V!==null?V.key:null;if(typeof z=="string"&&z!==""||typeof z=="number")return pe!==null?null:h(L,V,""+z,Z);if(typeof z=="object"&&z!==null){switch(z.$$typeof){case ji:return z.key===pe?y(L,V,z,Z):null;case $r:return z.key===pe?E(L,V,z,Z):null;case Le:{var se=z._payload,Fe=z._init;return _(L,V,Fe(se),Z)}}if(Mn(z)||ci(z))return pe!==null?null:b(L,V,z,Z,null);gm(L,z)}return typeof z=="function"&&Sm(L),null}function U(L,V,z,Z,pe){if(typeof Z=="string"&&Z!==""||typeof Z=="number"){var se=L.get(z)||null;return h(V,se,""+Z,pe)}if(typeof Z=="object"&&Z!==null){switch(Z.$$typeof){case ji:{var Fe=L.get(Z.key===null?z:Z.key)||null;return y(V,Fe,Z,pe)}case $r:{var Ie=L.get(Z.key===null?z:Z.key)||null;return E(V,Ie,Z,pe)}case Le:var _t=Z._payload,mt=Z._init;return U(L,V,z,mt(_t),pe)}if(Mn(Z)||ci(Z)){var _n=L.get(z)||null;return b(V,_n,Z,pe,null)}gm(V,Z)}return typeof Z=="function"&&Sm(V),null}function F(L,V,z){{if(typeof L!="object"||L===null)return V;switch(L.$$typeof){case ji:case $r:NE(L,z);var Z=L.key;if(typeof Z!="string")break;if(V===null){V=new Set,V.add(Z);break}if(!V.has(Z)){V.add(Z);break}S("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.",Z);break;case Le:var pe=L._payload,se=L._init;F(se(pe),V,z);break}}return V}function P(L,V,z,Z){for(var pe=null,se=0;se<z.length;se++){var Fe=z[se];pe=F(Fe,pe,L)}for(var Ie=null,_t=null,mt=V,_n=0,yt=0,Sn=null;mt!==null&&yt<z.length;yt++){mt.index>yt?(Sn=mt,mt=null):Sn=mt.sibling;var Fr=_(L,mt,z[yt],Z);if(Fr===null){mt===null&&(mt=Sn);break}e&&mt&&Fr.alternate===null&&t(L,mt),_n=s(Fr,_n,yt),_t===null?Ie=Fr:_t.sibling=Fr,_t=Fr,mt=Sn}if(yt===z.length){if(a(L,mt),hr()){var br=yt;ms(L,br)}return Ie}if(mt===null){for(;yt<z.length;yt++){var $a=D(L,z[yt],Z);$a!==null&&(_n=s($a,_n,yt),_t===null?Ie=$a:_t.sibling=$a,_t=$a)}if(hr()){var ea=yt;ms(L,ea)}return Ie}for(var ta=i(L,mt);yt<z.length;yt++){var Hr=U(ta,L,yt,z[yt],Z);Hr!==null&&(e&&Hr.alternate!==null&&ta.delete(Hr.key===null?yt:Hr.key),_n=s(Hr,_n,yt),_t===null?Ie=Hr:_t.sibling=Hr,_t=Hr)}if(e&&ta.forEach(function(Df){return t(L,Df)}),hr()){var yo=yt;ms(L,yo)}return Ie}function de(L,V,z,Z){var pe=ci(z);if(typeof pe!="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"&&z[Symbol.toStringTag]==="Generator"&&(k0||S("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."),k0=!0),z.entries===pe&&(_0||S("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),_0=!0);var se=pe.call(z);if(se)for(var Fe=null,Ie=se.next();!Ie.done;Ie=se.next()){var _t=Ie.value;Fe=F(_t,Fe,L)}}var mt=pe.call(z);if(mt==null)throw new Error("An iterable object provided no iterator.");for(var _n=null,yt=null,Sn=V,Fr=0,br=0,$a=null,ea=mt.next();Sn!==null&&!ea.done;br++,ea=mt.next()){Sn.index>br?($a=Sn,Sn=null):$a=Sn.sibling;var ta=_(L,Sn,ea.value,Z);if(ta===null){Sn===null&&(Sn=$a);break}e&&Sn&&ta.alternate===null&&t(L,Sn),Fr=s(ta,Fr,br),yt===null?_n=ta:yt.sibling=ta,yt=ta,Sn=$a}if(ea.done){if(a(L,Sn),hr()){var Hr=br;ms(L,Hr)}return _n}if(Sn===null){for(;!ea.done;br++,ea=mt.next()){var yo=D(L,ea.value,Z);yo!==null&&(Fr=s(yo,Fr,br),yt===null?_n=yo:yt.sibling=yo,yt=yo)}if(hr()){var Df=br;ms(L,Df)}return _n}for(var Xp=i(L,Sn);!ea.done;br++,ea=mt.next()){var El=U(Xp,L,br,ea.value,Z);El!==null&&(e&&El.alternate!==null&&Xp.delete(El.key===null?br:El.key),Fr=s(El,Fr,br),yt===null?_n=El:yt.sibling=El,yt=El)}if(e&&Xp.forEach(function(EN){return t(L,EN)}),hr()){var CN=br;ms(L,CN)}return _n}function De(L,V,z,Z){if(V!==null&&V.tag===oe){a(L,V.sibling);var pe=o(V,z);return pe.return=L,pe}a(L,V);var se=a1(z,L.mode,Z);return se.return=L,se}function Re(L,V,z,Z){for(var pe=z.key,se=V;se!==null;){if(se.key===pe){var Fe=z.type;if(Fe===Na){if(se.tag===He){a(L,se.sibling);var Ie=o(se,z.props.children);return Ie.return=L,Ie._debugSource=z._source,Ie._debugOwner=z._owner,Ie}}else if(se.elementType===Fe||RT(se,z)||typeof Fe=="object"&&Fe!==null&&Fe.$$typeof===Le&&LE(Fe)===se.type){a(L,se.sibling);var _t=o(se,z.props);return _t.ref=Cp(L,se,z),_t.return=L,_t._debugSource=z._source,_t._debugOwner=z._owner,_t}a(L,se);break}else t(L,se);se=se.sibling}if(z.type===Na){var mt=Cu(z.props.children,L.mode,Z,z.key);return mt.return=L,mt}else{var _n=r1(z,L.mode,Z);return _n.ref=Cp(L,V,z),_n.return=L,_n}}function ut(L,V,z,Z){for(var pe=z.key,se=V;se!==null;){if(se.key===pe)if(se.tag===ne&&se.stateNode.containerInfo===z.containerInfo&&se.stateNode.implementation===z.implementation){a(L,se.sibling);var Fe=o(se,z.children||[]);return Fe.return=L,Fe}else{a(L,se);break}else t(L,se);se=se.sibling}var Ie=i1(z,L.mode,Z);return Ie.return=L,Ie}function rt(L,V,z,Z){var pe=typeof z=="object"&&z!==null&&z.type===Na&&z.key===null;if(pe&&(z=z.props.children),typeof z=="object"&&z!==null){switch(z.$$typeof){case ji:return d(Re(L,V,z,Z));case $r:return d(ut(L,V,z,Z));case Le:var se=z._payload,Fe=z._init;return rt(L,V,Fe(se),Z)}if(Mn(z))return P(L,V,z,Z);if(ci(z))return de(L,V,z,Z);gm(L,z)}return typeof z=="string"&&z!==""||typeof z=="number"?d(De(L,V,""+z,Z)):(typeof z=="function"&&Sm(L),a(L,V))}return rt}var pf=zE(!0),AE=zE(!1);function uD(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var a=t.child,i=Ds(a,a.pendingProps);for(t.child=i,i.return=t;a.sibling!==null;)a=a.sibling,i=i.sibling=Ds(a,a.pendingProps),i.return=t;i.sibling=null}}function sD(e,t){for(var a=e.child;a!==null;)HM(a,t),a=a.sibling}var Ep={},fu=lu(Ep),bp=lu(Ep),Cm=lu(Ep);function Em(e){if(e===Ep)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function UE(){var e=Em(Cm.current);return e}function N0(e,t){Ar(Cm,t,e),Ar(bp,e,e),Ar(fu,Ep,e);var a=T_(t);zr(fu,e),Ar(fu,a,e)}function vf(e){zr(fu,e),zr(bp,e),zr(Cm,e)}function L0(){var e=Em(fu.current);return e}function FE(e){Em(Cm.current);var t=Em(fu.current),a=R_(t,e.type);t!==a&&(Ar(bp,e,e),Ar(fu,a,e))}function z0(e){bp.current===e&&(zr(fu,e),zr(bp,e))}var cD=0,HE=1,jE=1,Tp=2,Mi=lu(cD);function A0(e,t){return(e&t)!==0}function hf(e){return e&HE}function U0(e,t){return e&HE|t}function fD(e,t){return e|t}function du(e,t){Ar(Mi,t,e)}function mf(e){zr(Mi,e)}function dD(e,t){var a=e.memoizedState;return a!==null?a.dehydrated!==null:(e.memoizedProps,!0)}function bm(e){for(var t=e;t!==null;){if(t.tag===Y){var a=t.memoizedState;if(a!==null){var i=a.dehydrated;if(i===null||qC(i)||Bg(i))return t}}else if(t.tag===vt&&t.memoizedProps.revealOrder!==void 0){var o=(t.flags&je)!==ke;if(o)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ra=0,Qn=1,vl=2,Wn=4,mr=8,F0=[];function H0(){for(var e=0;e<F0.length;e++){var t=F0[e];t._workInProgressVersionPrimary=null}F0.length=0}function pD(e,t){var a=t._getVersion,i=a(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,i]:e.mutableSourceEagerHydrationData.push(t,i)}var fe=p.ReactCurrentDispatcher,Rp=p.ReactCurrentBatchConfig,j0,yf;j0=new Set;var bs=B,xt=null,Gn=null,qn=null,Tm=!1,wp=!1,xp=0,vD=0,hD=25,$=null,ai=null,pu=-1,P0=!1;function Ct(){{var e=$;ai===null?ai=[e]:ai.push(e)}}function ae(){{var e=$;ai!==null&&(pu++,ai[pu]!==e&&mD(e))}}function gf(e){e!=null&&!Mn(e)&&S("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",$,typeof e)}function mD(e){{var t=Qe(xt);if(!j0.has(t)&&(j0.add(t),ai!==null)){for(var a="",i=30,o=0;o<=pu;o++){for(var s=ai[o],d=o===pu?e:s,h=o+1+". "+s;h.length<i;)h+=" ";h+=d+`
|
|
130
|
+
`,a+=h}S(`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
131
|
|
|
132
132
|
Previous render Next render
|
|
133
133
|
------------------------------------------------------
|
|
134
134
|
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
135
|
-
`,
|
|
135
|
+
`,t,a)}}}function Ur(){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
136
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
137
137
|
2. You might be breaking the Rules of Hooks
|
|
138
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
|
|
139
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function V0(e,t){if(P0)return!1;if(t===null)return S("%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.",$),!1;e.length!==t.length&&S(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
140
140
|
|
|
141
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,sn=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=vB:Eo!==null?ke.current=dB:ke.current=cB;var R=v(g,C);if(Vy){var k=0;do{if(Vy=!1,Hy=0,k>=TJ)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=hB,R=v(g,C)}while(Vy)}ke.current=XC,o._debugHookTypes=Eo;var N=Or!==null&&Or.next!==null;if(Nd=he,sn=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 Y5(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 W5(){if(ke.current=XC,PC){for(var i=sn.memoizedState;i!==null;){var o=i.queue;o!==null&&(o.pending=null),i=i.next}PC=!1}Nd=he,sn=null,Or=null,kr=null,Eo=null,Nf=-1,me=null,oB=!1,Vy=!1,Hy=0}function su(){var i={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return kr===null?sn.memoizedState=kr=i:kr=kr.next=i,kr}function Do(){var i;if(Or===null){var o=sn.alternate;o!==null?i=o.memoizedState:i=null}else i=Or.next;var v;if(kr===null?v=sn.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?sn.memoizedState=kr=g:kr=kr.next=g}return kr}function X5(){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=RJ.bind(null,sn,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,sn.lanes=gt(sn.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;sn.lanes=gt(sn.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 lre(i,o,v){}function ure(i,o,v){}function BM(i,o,v){var g=sn,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)||q5(g,o,T)}C.memoizedState=T;var B={value:T,getSnapshot:o};return C.queue=B,UC(Z5.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=sn,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(Z5.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)||q5(g,o,T)}return T}function q5(i,o,v){i.flags|=nd;var g={getSnapshot:o,value:v},C=sn.updateQueue;if(C===null)C=X5(),sn.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,K5(o)&&J5(i)}function Z5(i,o,v){var g=function(){K5(o)&&J5(i)};return v(g)}function K5(i){var o=i.getSnapshot,v=i.value;try{var g=o();return!Ve(v,g)}catch{return!0}}function J5(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=AJ.bind(null,sn,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=sn.updateQueue;if(T===null)T=X5(),sn.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;sn.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}}}sn.flags|=i,C.memoizedState=Gy(Ar|o,v,R,T)}function UC(i,o){return(sn.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,(sn.mode&ya)!==Je&&(v|=_i),$y(v,Lr,i,o)}function HC(i,o){return BC(pt,Lr,i,o)}function eB(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,(sn.mode&ya)!==Je&&(C|=_i),$y(C,Lr,eB.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,eB.bind(null,o,i),g)}function EJ(i,o){}var $C=EJ;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 tB(i){var o=Do(),v=Or,g=v.memoizedState;return rB(o,g,i)}function nB(i){var o=Do();if(Or===null)return o.memoizedState=i,i;var v=Or.memoizedState;return rB(o,v,i)}function rB(i,o,v){var g=!eD(Nd);if(g){if(!Ve(v,o)){var C=Ym();sn.lanes=gt(sn.lanes,C),l0(C),i.baseState=!0}return o}else return i.baseState&&(i.baseState=!1,qy()),i.memoizedState=v,v}function DJ(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=DJ.bind(null,v),C=su();return C.memoizedState=g,[o,g]}function iB(){var i=UM(),o=i[0],v=Do(),g=v.memoizedState;return[o,g]}function aB(){var i=VM(),o=i[0],v=Do(),g=v.memoizedState;return[o,g]}var oB=!1;function MJ(){return oB}function QM(){var i=su(),o=dw(),v=o.identifierPrefix,g;if(ni()){var C=HK();g=":"+v+"R"+C;var T=Hy++;T>0&&(g+="H"+T.toString(32)),g+=":"}else{var R=xJ++;g=":"+v+"r"+R.toString(32)+":"}return i.memoizedState=g,g}function WC(){var i=Do(),o=i.memoizedState;return o}function RJ(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(lB(i))uB(o,C);else{var T=b5(i,o,C,g);if(T!==null){var R=qi();zr(T,i,g,R),sB(T,o,g)}}fB(i,g)}function AJ(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(lB(i))uB(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)){uJ(i,o,C,g);return}}catch{}finally{ke.current=k}}}var V=b5(i,o,C,g);if(V!==null){var K=qi();zr(V,i,g,K),sB(V,o,g)}}fB(i,g)}function lB(i){var o=i.alternate;return i===sn||o!==null&&o===sn}function uB(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 sB(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 fB(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},cB=null,dB=null,vB=null,hB=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().")},ft=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")};cB={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},dB={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},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=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(),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},hB={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(),nB(i)},useTransition:function(){return me="useTransition",Ee(),aB()},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",ft(),Jt(),YM(i,o)},useContext:function(i){return me="useContext",ft(),Jt(),xr(i)},useEffect:function(i,o){return me="useEffect",ft(),Jt(),UC(i,o)},useImperativeHandle:function(i,o,v){return me="useImperativeHandle",ft(),Jt(),jM(i,o,v)},useInsertionEffect:function(i,o){return me="useInsertionEffect",ft(),Jt(),GM(i,o)},useLayoutEffect:function(i,o){return me="useLayoutEffect",ft(),Jt(),$M(i,o)},useMemo:function(i,o){me="useMemo",ft(),Jt();var v=ke.current;ke.current=fu;try{return WM(i,o)}finally{ke.current=v}},useReducer:function(i,o,v){me="useReducer",ft(),Jt();var g=ke.current;ke.current=fu;try{return IM(i,o,v)}finally{ke.current=g}},useRef:function(i){return me="useRef",ft(),Jt(),HM(i)},useState:function(i){me="useState",ft(),Jt();var o=ke.current;ke.current=fu;try{return zC(i)}finally{ke.current=o}},useDebugValue:function(i,o){return me="useDebugValue",ft(),Jt(),void 0},useDeferredValue:function(i){return me="useDeferredValue",ft(),Jt(),XM(i)},useTransition:function(){return me="useTransition",ft(),Jt(),qM()},useMutableSource:function(i,o,v){return me="useMutableSource",ft(),Jt(),void 0},useSyncExternalStore:function(i,o,v){return me="useSyncExternalStore",ft(),Jt(),BM(i,o,v)},useId:function(){return me="useId",ft(),Jt(),QM()},unstable_isNewReconciler:ae},cl={readContext:function(i){return ZM(),xr(i)},useCallback:function(i,o){return me="useCallback",ft(),Ee(),jC(i,o)},useContext:function(i){return me="useContext",ft(),Ee(),xr(i)},useEffect:function(i,o){return me="useEffect",ft(),Ee(),jy(i,o)},useImperativeHandle:function(i,o,v){return me="useImperativeHandle",ft(),Ee(),GC(i,o,v)},useInsertionEffect:function(i,o){return me="useInsertionEffect",ft(),Ee(),VC(i,o)},useLayoutEffect:function(i,o){return me="useLayoutEffect",ft(),Ee(),HC(i,o)},useMemo:function(i,o){me="useMemo",ft(),Ee();var v=ke.current;ke.current=cl;try{return YC(i,o)}finally{ke.current=v}},useReducer:function(i,o,v){me="useReducer",ft(),Ee();var g=ke.current;ke.current=cl;try{return zM(i,o,v)}finally{ke.current=g}},useRef:function(i){return me="useRef",ft(),Ee(),FC()},useState:function(i){me="useState",ft(),Ee();var o=ke.current;ke.current=cl;try{return UM(i)}finally{ke.current=o}},useDebugValue:function(i,o){return me="useDebugValue",ft(),Ee(),$C()},useDeferredValue:function(i){return me="useDeferredValue",ft(),Ee(),tB(i)},useTransition:function(){return me="useTransition",ft(),Ee(),iB()},useMutableSource:function(i,o,v){return me="useMutableSource",ft(),Ee(),void 0},useSyncExternalStore:function(i,o,v){return me="useSyncExternalStore",ft(),Ee(),IC(i,o)},useId:function(){return me="useId",ft(),Ee(),WC()},unstable_isNewReconciler:ae},qC={readContext:function(i){return ZM(),xr(i)},useCallback:function(i,o){return me="useCallback",ft(),Ee(),jC(i,o)},useContext:function(i){return me="useContext",ft(),Ee(),xr(i)},useEffect:function(i,o){return me="useEffect",ft(),Ee(),jy(i,o)},useImperativeHandle:function(i,o,v){return me="useImperativeHandle",ft(),Ee(),GC(i,o,v)},useInsertionEffect:function(i,o){return me="useInsertionEffect",ft(),Ee(),VC(i,o)},useLayoutEffect:function(i,o){return me="useLayoutEffect",ft(),Ee(),HC(i,o)},useMemo:function(i,o){me="useMemo",ft(),Ee();var v=ke.current;ke.current=cl;try{return YC(i,o)}finally{ke.current=v}},useReducer:function(i,o,v){me="useReducer",ft(),Ee();var g=ke.current;ke.current=cl;try{return FM(i,o,v)}finally{ke.current=g}},useRef:function(i){return me="useRef",ft(),Ee(),FC()},useState:function(i){me="useState",ft(),Ee();var o=ke.current;ke.current=cl;try{return VM(i)}finally{ke.current=o}},useDebugValue:function(i,o){return me="useDebugValue",ft(),Ee(),$C()},useDeferredValue:function(i){return me="useDeferredValue",ft(),Ee(),nB(i)},useTransition:function(){return me="useTransition",ft(),Ee(),aB()},useMutableSource:function(i,o,v){return me="useMutableSource",ft(),Ee(),void 0},useSyncExternalStore:function(i,o,v){return me="useSyncExternalStore",ft(),Ee(),IC(i,o)},useId:function(){return me="useId",ft(),Ee(),WC()},unstable_isNewReconciler:ae}}var Pf=e.unstable_now,pB=0,QC=-1,Yy=-1,ZC=-1,KM=!1,KC=!1;function gB(){return KM}function LJ(){KC=!0}function OJ(){KM=!1,KC=!1}function kJ(){KM=KC,KC=!1}function mB(){return pB}function yB(){pB=Pf()}function JM(i){Yy=Pf(),i.actualStartTime<0&&(i.actualStartTime=Pf())}function _B(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 NJ(i,o){return!0}function iR(i,o){try{var v=NJ(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?vt(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
|
|
144
|
-
`+
|
|
142
|
+
Incoming: %s`,$,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var a=0;a<t.length&&a<e.length;a++)if(!Se(e[a],t[a]))return!1;return!0}function Sf(e,t,a,i,o,s){bs=s,xt=t,ai=e!==null?e._debugHookTypes:null,pu=-1,P0=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=B,e!==null&&e.memoizedState!==null?fe.current=ob:ai!==null?fe.current=lb:fe.current=ib;var d=a(i,o);if(wp){var h=0;do{if(wp=!1,xp=0,h>=hD)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");h+=1,P0=!1,Gn=null,qn=null,t.updateQueue=null,pu=-1,fe.current=ub,d=a(i,o)}while(wp)}fe.current=Um,t._debugHookTypes=ai;var y=Gn!==null&&Gn.next!==null;if(bs=B,xt=null,Gn=null,qn=null,$=null,ai=null,pu=-1,e!==null&&(e.flags&$n)!==(t.flags&$n)&&(e.mode&Je)!==Me&&S("Internal React error: Expected static flag was missing. Please notify the React team."),Tm=!1,y)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return d}function Cf(){var e=xp!==0;return xp=0,e}function PE(e,t,a){t.updateQueue=e.updateQueue,(t.mode&ma)!==Me?t.flags&=~(Hl|kr|It|We):t.flags&=~(It|We),e.lanes=$o(e.lanes,a)}function VE(){if(fe.current=Um,Tm){for(var e=xt.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Tm=!1}bs=B,xt=null,Gn=null,qn=null,ai=null,pu=-1,$=null,eb=!1,wp=!1,xp=0}function hl(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return qn===null?xt.memoizedState=qn=e:qn=qn.next=e,qn}function ii(){var e;if(Gn===null){var t=xt.alternate;t!==null?e=t.memoizedState:e=null}else e=Gn.next;var a;if(qn===null?a=xt.memoizedState:a=qn.next,a!==null)qn=a,a=qn.next,Gn=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");Gn=e;var i={memoizedState:Gn.memoizedState,baseState:Gn.baseState,baseQueue:Gn.baseQueue,queue:Gn.queue,next:null};qn===null?xt.memoizedState=qn=i:qn=qn.next=i}return qn}function BE(){return{lastEffect:null,stores:null}}function B0(e,t){return typeof t=="function"?t(e):t}function $0(e,t,a){var i=hl(),o;a!==void 0?o=a(t):o=t,i.memoizedState=i.baseState=o;var s={pending:null,interleaved:null,lanes:B,dispatch:null,lastRenderedReducer:e,lastRenderedState:o};i.queue=s;var d=s.dispatch=CD.bind(null,xt,s);return[i.memoizedState,d]}function I0(e,t,a){var i=ii(),o=i.queue;if(o===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");o.lastRenderedReducer=e;var s=Gn,d=s.baseQueue,h=o.pending;if(h!==null){if(d!==null){var y=d.next,E=h.next;d.next=E,h.next=y}s.baseQueue!==d&&S("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),s.baseQueue=d=h,o.pending=null}if(d!==null){var b=d.next,D=s.baseState,_=null,U=null,F=null,P=b;do{var de=P.lane;if(Gl(bs,de)){if(F!==null){var Re={lane:lt,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null};F=F.next=Re}if(P.hasEagerState)D=P.eagerState;else{var ut=P.action;D=e(D,ut)}}else{var De={lane:de,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null};F===null?(U=F=De,_=D):F=F.next=De,xt.lanes=Ge(xt.lanes,de),Yp(de)}P=P.next}while(P!==null&&P!==b);F===null?_=D:F.next=U,Se(D,i.memoizedState)||Lp(),i.memoizedState=D,i.baseState=_,i.baseQueue=F,o.lastRenderedState=D}var rt=o.interleaved;if(rt!==null){var L=rt;do{var V=L.lane;xt.lanes=Ge(xt.lanes,V),Yp(V),L=L.next}while(L!==rt)}else d===null&&(o.lanes=B);var z=o.dispatch;return[i.memoizedState,z]}function Y0(e,t,a){var i=ii(),o=i.queue;if(o===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");o.lastRenderedReducer=e;var s=o.dispatch,d=o.pending,h=i.memoizedState;if(d!==null){o.pending=null;var y=d.next,E=y;do{var b=E.action;h=e(h,b),E=E.next}while(E!==y);Se(h,i.memoizedState)||Lp(),i.memoizedState=h,i.baseQueue===null&&(i.baseState=h),o.lastRenderedState=h}return[h,s]}function KN(e,t,a){}function ZN(e,t,a){}function Q0(e,t,a){var i=xt,o=hl(),s,d=hr();if(d){if(a===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");s=a(),yf||s!==a()&&(S("The result of getServerSnapshot should be cached to avoid an infinite loop"),yf=!0)}else{if(s=t(),!yf){var h=t();Se(s,h)||(S("The result of getSnapshot should be cached to avoid an infinite loop"),yf=!0)}var y=ey();if(y===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Ju(y,bs)||$E(i,t,s)}o.memoizedState=s;var E={value:s,getSnapshot:t};return o.queue=E,km(YE.bind(null,i,E,e),[e]),i.flags|=It,_p(Qn|mr,IE.bind(null,i,E,s,t),void 0,null),s}function Rm(e,t,a){var i=xt,o=ii(),s=t();if(!yf){var d=t();Se(s,d)||(S("The result of getSnapshot should be cached to avoid an infinite loop"),yf=!0)}var h=o.memoizedState,y=!Se(h,s);y&&(o.memoizedState=s,Lp());var E=o.queue;if(Dp(YE.bind(null,i,E,e),[e]),E.getSnapshot!==t||y||qn!==null&&qn.memoizedState.tag&Qn){i.flags|=It,_p(Qn|mr,IE.bind(null,i,E,s,t),void 0,null);var b=ey();if(b===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Ju(b,bs)||$E(i,t,s)}return s}function $E(e,t,a){e.flags|=Iu;var i={getSnapshot:t,value:a},o=xt.updateQueue;if(o===null)o=BE(),xt.updateQueue=o,o.stores=[i];else{var s=o.stores;s===null?o.stores=[i]:s.push(i)}}function IE(e,t,a,i){t.value=a,t.getSnapshot=i,QE(t)&&WE(e)}function YE(e,t,a){var i=function(){QE(t)&&WE(e)};return a(i)}function QE(e){var t=e.getSnapshot,a=e.value;try{var i=t();return!Se(a,i)}catch{return!0}}function WE(e){var t=Ta(e,Ue);t!==null&&Jn(t,e,Ue,Lt)}function wm(e){var t=hl();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var a={pending:null,interleaved:null,lanes:B,dispatch:null,lastRenderedReducer:B0,lastRenderedState:e};t.queue=a;var i=a.dispatch=ED.bind(null,xt,a);return[t.memoizedState,i]}function W0(e){return I0(B0)}function G0(e){return Y0(B0)}function _p(e,t,a,i){var o={tag:e,create:t,destroy:a,deps:i,next:null},s=xt.updateQueue;if(s===null)s=BE(),xt.updateQueue=s,s.lastEffect=o.next=o;else{var d=s.lastEffect;if(d===null)s.lastEffect=o.next=o;else{var h=d.next;d.next=o,o.next=h,s.lastEffect=o}}return o}function q0(e){var t=hl();{var a={current:e};return t.memoizedState=a,a}}function xm(e){var t=ii();return t.memoizedState}function kp(e,t,a,i){var o=hl(),s=i===void 0?null:i;xt.flags|=e,o.memoizedState=_p(Qn|t,a,void 0,s)}function _m(e,t,a,i){var o=ii(),s=i===void 0?null:i,d=void 0;if(Gn!==null){var h=Gn.memoizedState;if(d=h.destroy,s!==null){var y=h.deps;if(V0(s,y)){o.memoizedState=_p(t,a,d,s);return}}}xt.flags|=e,o.memoizedState=_p(Qn|t,a,d,s)}function km(e,t){return(xt.mode&ma)!==Me?kp(Hl|It|Ki,mr,e,t):kp(It|Ki,mr,e,t)}function Dp(e,t){return _m(It,mr,e,t)}function X0(e,t){return kp(We,vl,e,t)}function Dm(e,t){return _m(We,vl,e,t)}function K0(e,t){var a=We;return a|=_r,(xt.mode&ma)!==Me&&(a|=kr),kp(a,Wn,e,t)}function Om(e,t){return _m(We,Wn,e,t)}function GE(e,t){if(typeof t=="function"){var a=t,i=e();return a(i),function(){a(null)}}else if(t!=null){var o=t;o.hasOwnProperty("current")||S("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(o).join(", ")+"}");var s=e();return o.current=s,function(){o.current=null}}}function Z0(e,t,a){typeof t!="function"&&S("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var i=a!=null?a.concat([e]):null,o=We;return o|=_r,(xt.mode&ma)!==Me&&(o|=kr),kp(o,Wn,GE.bind(null,t,e),i)}function Mm(e,t,a){typeof t!="function"&&S("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var i=a!=null?a.concat([e]):null;return _m(We,Wn,GE.bind(null,t,e),i)}function yD(e,t){}var Nm=yD;function J0(e,t){var a=hl(),i=t===void 0?null:t;return a.memoizedState=[e,i],e}function Lm(e,t){var a=ii(),i=t===void 0?null:t,o=a.memoizedState;if(o!==null&&i!==null){var s=o[1];if(V0(i,s))return o[0]}return a.memoizedState=[e,i],e}function eS(e,t){var a=hl(),i=t===void 0?null:t,o=e();return a.memoizedState=[o,i],o}function zm(e,t){var a=ii(),i=t===void 0?null:t,o=a.memoizedState;if(o!==null&&i!==null){var s=o[1];if(V0(i,s))return o[0]}var d=e();return a.memoizedState=[d,i],d}function tS(e){var t=hl();return t.memoizedState=e,e}function qE(e){var t=ii(),a=Gn,i=a.memoizedState;return KE(t,i,e)}function XE(e){var t=ii();if(Gn===null)return t.memoizedState=e,e;var a=Gn.memoizedState;return KE(t,a,e)}function KE(e,t,a){var i=!og(bs);if(i){if(!Se(a,t)){var o=Od();xt.lanes=Ge(xt.lanes,o),Yp(o),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,Lp()),e.memoizedState=a,a}function gD(e,t,a){var i=ga();Rn(or(i,Yn)),e(!0);var o=Rp.transition;Rp.transition={};var s=Rp.transition;Rp.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(Rn(i),Rp.transition=o,o===null&&s._updatedFibers){var d=s._updatedFibers.size;d>10&&M("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."),s._updatedFibers.clear()}}}function nS(){var e=wm(!1),t=e[0],a=e[1],i=gD.bind(null,a),o=hl();return o.memoizedState=i,[t,i]}function ZE(){var e=W0(),t=e[0],a=ii(),i=a.memoizedState;return[t,i]}function JE(){var e=G0(),t=e[0],a=ii(),i=a.memoizedState;return[t,i]}var eb=!1;function SD(){return eb}function rS(){var e=hl(),t=ey(),a=t.identifierPrefix,i;if(hr()){var o=Lk();i=":"+a+"R"+o;var s=xp++;s>0&&(i+="H"+s.toString(32)),i+=":"}else{var d=vD++;i=":"+a+"r"+d.toString(32)+":"}return e.memoizedState=i,i}function Am(){var e=ii(),t=e.memoizedState;return t}function CD(e,t,a){typeof arguments[3]=="function"&&S("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 i=gu(e),o={lane:i,action:a,hasEagerState:!1,eagerState:null,next:null};if(tb(e))nb(t,o);else{var s=SE(e,t,o,i);if(s!==null){var d=Jr();Jn(s,e,i,d),rb(s,t,i)}}ab(e,i)}function ED(e,t,a){typeof arguments[3]=="function"&&S("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 i=gu(e),o={lane:i,action:a,hasEagerState:!1,eagerState:null,next:null};if(tb(e))nb(t,o);else{var s=e.alternate;if(e.lanes===B&&(s===null||s.lanes===B)){var d=t.lastRenderedReducer;if(d!==null){var h;h=fe.current,fe.current=Ni;try{var y=t.lastRenderedState,E=d(y,a);if(o.hasEagerState=!0,o.eagerState=E,Se(E,y)){Jk(e,t,o,i);return}}catch{}finally{fe.current=h}}}var b=SE(e,t,o,i);if(b!==null){var D=Jr();Jn(b,e,i,D),rb(b,t,i)}}ab(e,i)}function tb(e){var t=e.alternate;return e===xt||t!==null&&t===xt}function nb(e,t){wp=Tm=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function rb(e,t,a){if(Dd(a)){var i=t.lanes;i=Md(i,e.pendingLanes);var o=Ge(i,a);t.lanes=o,Io(e,o)}}function ab(e,t,a){rl(e,t)}var Um={readContext:Hn,useCallback:Ur,useContext:Ur,useEffect:Ur,useImperativeHandle:Ur,useInsertionEffect:Ur,useLayoutEffect:Ur,useMemo:Ur,useReducer:Ur,useRef:Ur,useState:Ur,useDebugValue:Ur,useDeferredValue:Ur,useTransition:Ur,useMutableSource:Ur,useSyncExternalStore:Ur,useId:Ur,unstable_isNewReconciler:te},ib=null,lb=null,ob=null,ub=null,ml=null,Ni=null,Fm=null;{var aS=function(){S("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().")},Be=function(){S("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")};ib={readContext:function(e){return Hn(e)},useCallback:function(e,t){return $="useCallback",Ct(),gf(t),J0(e,t)},useContext:function(e){return $="useContext",Ct(),Hn(e)},useEffect:function(e,t){return $="useEffect",Ct(),gf(t),km(e,t)},useImperativeHandle:function(e,t,a){return $="useImperativeHandle",Ct(),gf(a),Z0(e,t,a)},useInsertionEffect:function(e,t){return $="useInsertionEffect",Ct(),gf(t),X0(e,t)},useLayoutEffect:function(e,t){return $="useLayoutEffect",Ct(),gf(t),K0(e,t)},useMemo:function(e,t){$="useMemo",Ct(),gf(t);var a=fe.current;fe.current=ml;try{return eS(e,t)}finally{fe.current=a}},useReducer:function(e,t,a){$="useReducer",Ct();var i=fe.current;fe.current=ml;try{return $0(e,t,a)}finally{fe.current=i}},useRef:function(e){return $="useRef",Ct(),q0(e)},useState:function(e){$="useState",Ct();var t=fe.current;fe.current=ml;try{return wm(e)}finally{fe.current=t}},useDebugValue:function(e,t){return $="useDebugValue",Ct(),void 0},useDeferredValue:function(e){return $="useDeferredValue",Ct(),tS(e)},useTransition:function(){return $="useTransition",Ct(),nS()},useMutableSource:function(e,t,a){return $="useMutableSource",Ct(),void 0},useSyncExternalStore:function(e,t,a){return $="useSyncExternalStore",Ct(),Q0(e,t,a)},useId:function(){return $="useId",Ct(),rS()},unstable_isNewReconciler:te},lb={readContext:function(e){return Hn(e)},useCallback:function(e,t){return $="useCallback",ae(),J0(e,t)},useContext:function(e){return $="useContext",ae(),Hn(e)},useEffect:function(e,t){return $="useEffect",ae(),km(e,t)},useImperativeHandle:function(e,t,a){return $="useImperativeHandle",ae(),Z0(e,t,a)},useInsertionEffect:function(e,t){return $="useInsertionEffect",ae(),X0(e,t)},useLayoutEffect:function(e,t){return $="useLayoutEffect",ae(),K0(e,t)},useMemo:function(e,t){$="useMemo",ae();var a=fe.current;fe.current=ml;try{return eS(e,t)}finally{fe.current=a}},useReducer:function(e,t,a){$="useReducer",ae();var i=fe.current;fe.current=ml;try{return $0(e,t,a)}finally{fe.current=i}},useRef:function(e){return $="useRef",ae(),q0(e)},useState:function(e){$="useState",ae();var t=fe.current;fe.current=ml;try{return wm(e)}finally{fe.current=t}},useDebugValue:function(e,t){return $="useDebugValue",ae(),void 0},useDeferredValue:function(e){return $="useDeferredValue",ae(),tS(e)},useTransition:function(){return $="useTransition",ae(),nS()},useMutableSource:function(e,t,a){return $="useMutableSource",ae(),void 0},useSyncExternalStore:function(e,t,a){return $="useSyncExternalStore",ae(),Q0(e,t,a)},useId:function(){return $="useId",ae(),rS()},unstable_isNewReconciler:te},ob={readContext:function(e){return Hn(e)},useCallback:function(e,t){return $="useCallback",ae(),Lm(e,t)},useContext:function(e){return $="useContext",ae(),Hn(e)},useEffect:function(e,t){return $="useEffect",ae(),Dp(e,t)},useImperativeHandle:function(e,t,a){return $="useImperativeHandle",ae(),Mm(e,t,a)},useInsertionEffect:function(e,t){return $="useInsertionEffect",ae(),Dm(e,t)},useLayoutEffect:function(e,t){return $="useLayoutEffect",ae(),Om(e,t)},useMemo:function(e,t){$="useMemo",ae();var a=fe.current;fe.current=Ni;try{return zm(e,t)}finally{fe.current=a}},useReducer:function(e,t,a){$="useReducer",ae();var i=fe.current;fe.current=Ni;try{return I0(e,t,a)}finally{fe.current=i}},useRef:function(e){return $="useRef",ae(),xm()},useState:function(e){$="useState",ae();var t=fe.current;fe.current=Ni;try{return W0(e)}finally{fe.current=t}},useDebugValue:function(e,t){return $="useDebugValue",ae(),Nm()},useDeferredValue:function(e){return $="useDeferredValue",ae(),qE(e)},useTransition:function(){return $="useTransition",ae(),ZE()},useMutableSource:function(e,t,a){return $="useMutableSource",ae(),void 0},useSyncExternalStore:function(e,t,a){return $="useSyncExternalStore",ae(),Rm(e,t)},useId:function(){return $="useId",ae(),Am()},unstable_isNewReconciler:te},ub={readContext:function(e){return Hn(e)},useCallback:function(e,t){return $="useCallback",ae(),Lm(e,t)},useContext:function(e){return $="useContext",ae(),Hn(e)},useEffect:function(e,t){return $="useEffect",ae(),Dp(e,t)},useImperativeHandle:function(e,t,a){return $="useImperativeHandle",ae(),Mm(e,t,a)},useInsertionEffect:function(e,t){return $="useInsertionEffect",ae(),Dm(e,t)},useLayoutEffect:function(e,t){return $="useLayoutEffect",ae(),Om(e,t)},useMemo:function(e,t){$="useMemo",ae();var a=fe.current;fe.current=Fm;try{return zm(e,t)}finally{fe.current=a}},useReducer:function(e,t,a){$="useReducer",ae();var i=fe.current;fe.current=Fm;try{return Y0(e,t,a)}finally{fe.current=i}},useRef:function(e){return $="useRef",ae(),xm()},useState:function(e){$="useState",ae();var t=fe.current;fe.current=Fm;try{return G0(e)}finally{fe.current=t}},useDebugValue:function(e,t){return $="useDebugValue",ae(),Nm()},useDeferredValue:function(e){return $="useDeferredValue",ae(),XE(e)},useTransition:function(){return $="useTransition",ae(),JE()},useMutableSource:function(e,t,a){return $="useMutableSource",ae(),void 0},useSyncExternalStore:function(e,t,a){return $="useSyncExternalStore",ae(),Rm(e,t)},useId:function(){return $="useId",ae(),Am()},unstable_isNewReconciler:te},ml={readContext:function(e){return aS(),Hn(e)},useCallback:function(e,t){return $="useCallback",Be(),Ct(),J0(e,t)},useContext:function(e){return $="useContext",Be(),Ct(),Hn(e)},useEffect:function(e,t){return $="useEffect",Be(),Ct(),km(e,t)},useImperativeHandle:function(e,t,a){return $="useImperativeHandle",Be(),Ct(),Z0(e,t,a)},useInsertionEffect:function(e,t){return $="useInsertionEffect",Be(),Ct(),X0(e,t)},useLayoutEffect:function(e,t){return $="useLayoutEffect",Be(),Ct(),K0(e,t)},useMemo:function(e,t){$="useMemo",Be(),Ct();var a=fe.current;fe.current=ml;try{return eS(e,t)}finally{fe.current=a}},useReducer:function(e,t,a){$="useReducer",Be(),Ct();var i=fe.current;fe.current=ml;try{return $0(e,t,a)}finally{fe.current=i}},useRef:function(e){return $="useRef",Be(),Ct(),q0(e)},useState:function(e){$="useState",Be(),Ct();var t=fe.current;fe.current=ml;try{return wm(e)}finally{fe.current=t}},useDebugValue:function(e,t){return $="useDebugValue",Be(),Ct(),void 0},useDeferredValue:function(e){return $="useDeferredValue",Be(),Ct(),tS(e)},useTransition:function(){return $="useTransition",Be(),Ct(),nS()},useMutableSource:function(e,t,a){return $="useMutableSource",Be(),Ct(),void 0},useSyncExternalStore:function(e,t,a){return $="useSyncExternalStore",Be(),Ct(),Q0(e,t,a)},useId:function(){return $="useId",Be(),Ct(),rS()},unstable_isNewReconciler:te},Ni={readContext:function(e){return aS(),Hn(e)},useCallback:function(e,t){return $="useCallback",Be(),ae(),Lm(e,t)},useContext:function(e){return $="useContext",Be(),ae(),Hn(e)},useEffect:function(e,t){return $="useEffect",Be(),ae(),Dp(e,t)},useImperativeHandle:function(e,t,a){return $="useImperativeHandle",Be(),ae(),Mm(e,t,a)},useInsertionEffect:function(e,t){return $="useInsertionEffect",Be(),ae(),Dm(e,t)},useLayoutEffect:function(e,t){return $="useLayoutEffect",Be(),ae(),Om(e,t)},useMemo:function(e,t){$="useMemo",Be(),ae();var a=fe.current;fe.current=Ni;try{return zm(e,t)}finally{fe.current=a}},useReducer:function(e,t,a){$="useReducer",Be(),ae();var i=fe.current;fe.current=Ni;try{return I0(e,t,a)}finally{fe.current=i}},useRef:function(e){return $="useRef",Be(),ae(),xm()},useState:function(e){$="useState",Be(),ae();var t=fe.current;fe.current=Ni;try{return W0(e)}finally{fe.current=t}},useDebugValue:function(e,t){return $="useDebugValue",Be(),ae(),Nm()},useDeferredValue:function(e){return $="useDeferredValue",Be(),ae(),qE(e)},useTransition:function(){return $="useTransition",Be(),ae(),ZE()},useMutableSource:function(e,t,a){return $="useMutableSource",Be(),ae(),void 0},useSyncExternalStore:function(e,t,a){return $="useSyncExternalStore",Be(),ae(),Rm(e,t)},useId:function(){return $="useId",Be(),ae(),Am()},unstable_isNewReconciler:te},Fm={readContext:function(e){return aS(),Hn(e)},useCallback:function(e,t){return $="useCallback",Be(),ae(),Lm(e,t)},useContext:function(e){return $="useContext",Be(),ae(),Hn(e)},useEffect:function(e,t){return $="useEffect",Be(),ae(),Dp(e,t)},useImperativeHandle:function(e,t,a){return $="useImperativeHandle",Be(),ae(),Mm(e,t,a)},useInsertionEffect:function(e,t){return $="useInsertionEffect",Be(),ae(),Dm(e,t)},useLayoutEffect:function(e,t){return $="useLayoutEffect",Be(),ae(),Om(e,t)},useMemo:function(e,t){$="useMemo",Be(),ae();var a=fe.current;fe.current=Ni;try{return zm(e,t)}finally{fe.current=a}},useReducer:function(e,t,a){$="useReducer",Be(),ae();var i=fe.current;fe.current=Ni;try{return Y0(e,t,a)}finally{fe.current=i}},useRef:function(e){return $="useRef",Be(),ae(),xm()},useState:function(e){$="useState",Be(),ae();var t=fe.current;fe.current=Ni;try{return G0(e)}finally{fe.current=t}},useDebugValue:function(e,t){return $="useDebugValue",Be(),ae(),Nm()},useDeferredValue:function(e){return $="useDeferredValue",Be(),ae(),XE(e)},useTransition:function(){return $="useTransition",Be(),ae(),JE()},useMutableSource:function(e,t,a){return $="useMutableSource",Be(),ae(),void 0},useSyncExternalStore:function(e,t,a){return $="useSyncExternalStore",Be(),ae(),Rm(e,t)},useId:function(){return $="useId",Be(),ae(),Am()},unstable_isNewReconciler:te}}var vu=m.unstable_now,sb=0,Hm=-1,Op=-1,jm=-1,iS=!1,Pm=!1;function cb(){return iS}function bD(){Pm=!0}function TD(){iS=!1,Pm=!1}function RD(){iS=Pm,Pm=!1}function fb(){return sb}function db(){sb=vu()}function lS(e){Op=vu(),e.actualStartTime<0&&(e.actualStartTime=vu())}function pb(e){Op=-1}function Vm(e,t){if(Op>=0){var a=vu()-Op;e.actualDuration+=a,t&&(e.selfBaseDuration=a),Op=-1}}function yl(e){if(Hm>=0){var t=vu()-Hm;Hm=-1;for(var a=e.return;a!==null;){switch(a.tag){case W:var i=a.stateNode;i.effectDuration+=t;return;case Ne:var o=a.stateNode;o.effectDuration+=t;return}a=a.return}}}function oS(e){if(jm>=0){var t=vu()-jm;jm=-1;for(var a=e.return;a!==null;){switch(a.tag){case W:var i=a.stateNode;i!==null&&(i.passiveEffectDuration+=t);return;case Ne:var o=a.stateNode;o!==null&&(o.passiveEffectDuration+=t);return}a=a.return}}}function gl(){Hm=vu()}function uS(){jm=vu()}function sS(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Ts(e,t){return{value:e,source:t,stack:jf(t),digest:null}}function cS(e,t,a){return{value:e,source:null,stack:a??null,digest:t??null}}function wD(e,t){return!0}function fS(e,t){try{var a=wD(e,t);if(a===!1)return;var i=t.value,o=t.source,s=t.stack,d=s!==null?s:"";if(i!=null&&i._suppressLogging){if(e.tag===j)return;console.error(i)}var h=o?Qe(o):null,y=h?"The above error occurred in the <"+h+"> component:":"The above error occurred in one of your React components:",E;if(e.tag===W)E=`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 b=Qe(e)||"Anonymous";E="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+b+".")}var D=y+`
|
|
144
|
+
`+d+`
|
|
145
145
|
|
|
146
|
-
`+(""+B);console.error(K)}catch(Q){setTimeout(function(){throw Q})}}var PJ=typeof WeakMap=="function"?WeakMap:Map;function SB(i,o,v){var g=gs(gn,v);g.tag=iM,g.payload={element:null};var C=o.value;return g.callback=function(){Dte(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(){L3(i),iR(i,o)}}var R=i.stateNode;return R!==null&&typeof R.componentDidCatch=="function"&&(g.callback=function(){L3(i),iR(i,o),typeof C!="function"&&bte(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.",vt(i)||"Unknown"))}),g}function CB(i,o,v){var g=i.pingCache,C;if(g===null?(g=i.pingCache=new PJ,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=Mte.bind(null,i,o,v);Mr&&u0(i,v),o.then(T,T)}}function IJ(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 zJ(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 wB(i){var o=i;do{if(o.tag===I&&CJ(o))return o;o=o.return}while(o!==null);return null}function xB(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 FJ(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;zJ(v),ni()&&v.mode&wt&&v5();var R=wB(o);if(R!==null){R.flags&=~Vn,xB(R,o,v,i,C),R.mode&wt&&CB(i,T,C),IJ(R,i,T);return}else{if(!sf(C)){CB(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){v5();var N=wB(o);if(N!==null){(N.flags&yr)===Qe&&(N.flags|=Vn),xB(N,o,v,i,C),ZD(Pd(g,v));return}}g=Pd(g,v),mte(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=SB(B,V,K);lM(B,Q);return}case h:var le=g,ue=B.type,de=B.stateNode;if((B.flags<)===Qe&&(typeof ue.getDerivedStateFromError=="function"||de!==null&&typeof de.componentDidCatch=="function"&&!w3(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 BJ(){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=V5(o,null,v,g):o.child=pp(o,i.child,v,g)}function UJ(i,o,v,g){o.child=pp(o,i.child,null,g),o.child=pp(o,null,v,g)}function TB(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?(Y5(i,o,C),ms(i,o,C)):(ni()&&B&&jD(o),o.flags|=Gl,Wi(i,o,N,C),o.child)}function bB(i,o,v,g,C){if(i===null){var T=v.type;if(jte(T)&&v.compare===null&&v.defaultProps===void 0){var R=T;return R=Ap(T),o.tag=U,o.type=R,vR(o,T),EB(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 EB(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 DB(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 VJ(i,o,v){var g=o.pendingProps;return Wi(i,o,g,v),o.child}function HJ(i,o,v){var g=o.pendingProps.children;return Wi(i,o,g,v),o.child}function GJ(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 MB(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?(Y5(i,o,C),ms(i,o,C)):(ni()&&B&&jD(o),o.flags|=Gl,Wi(i,o,N,C),o.child)}function RB(i,o,v,g,C){{switch(one(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),I5(o,v,g),_M(o,v,g,C),de=!0):i===null?de=pJ(o,v,g,C):de=gJ(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.",vt(o)||"a component"),Id=!0)}return Pe}function dR(i,o,v,g,C,T){MB(i,o);var R=(o.flags<)!==Qe;if(!g&&!R)return C&&s5(o,v,!1),ms(i,o,T);var k=o.stateNode;Wy.current=o;var N;if(R&&typeof v.getDerivedStateFromError!="function")N=null,_B();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?UJ(i,o,N,T):Wi(i,o,N,T),o.memoizedState=k.state,C&&s5(o,v,!0),o.child}function AB(i){var o=i.stateNode;o.pendingContext?l5(i,o.pendingContext,o.pendingContext!==o.context):o.context&&l5(i,o.context,!1),bM(i,o.containerInfo)}function $J(i,o,v){if(AB(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;M5(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 LB(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 LB(i,o,k,v,K)}else{XK(o);var Q=V5(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 LB(i,o,v,g,C){return dp(),ZD(C),o.flags|=Vn,Wi(i,o,v,g),o.child}function jJ(i,o,v){G5(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),MB(i,o),Wi(i,o,R,v),o.child}function YJ(i,o){return i===null&&QD(o),null}function WJ(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=Yte(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=RB(null,o,N,V,g),K;case O:return o.type=N=$R(N),K=TB(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=bB(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 XJ(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),I5(o,v,g),_M(o,v,g,C),dR(null,o,v,!0,T,C)}function qJ(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),P5(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+=`
|
|
146
|
+
`+(""+E);console.error(D)}catch(_){setTimeout(function(){throw _})}}var xD=typeof WeakMap=="function"?WeakMap:Map;function vb(e,t,a){var i=co(Lt,a);i.tag=f0,i.payload={element:null};var o=t.value;return i.callback=function(){gM(o),fS(e,t)},i}function dS(e,t,a){var i=co(Lt,a);i.tag=f0;var o=e.type.getDerivedStateFromError;if(typeof o=="function"){var s=t.value;i.payload=function(){return o(s)},i.callback=function(){wT(e),fS(e,t)}}var d=e.stateNode;return d!==null&&typeof d.componentDidCatch=="function"&&(i.callback=function(){wT(e),fS(e,t),typeof o!="function"&&mM(this);var y=t.value,E=t.stack;this.componentDidCatch(y,{componentStack:E!==null?E:""}),typeof o!="function"&&(Lr(e.lanes,Ue)||S("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Qe(e)||"Unknown"))}),i}function hb(e,t,a){var i=e.pingCache,o;if(i===null?(i=e.pingCache=new xD,o=new Set,i.set(t,o)):(o=i.get(t),o===void 0&&(o=new Set,i.set(t,o))),!o.has(a)){o.add(a);var s=SM.bind(null,e,t,a);In&&Qp(e,a),t.then(s,s)}}function _D(e,t,a,i){var o=e.updateQueue;if(o===null){var s=new Set;s.add(a),e.updateQueue=s}else o.add(a)}function kD(e,t){var a=e.tag;if((e.mode&Je)===Me&&(a===O||a===he||a===$e)){var i=e.alternate;i?(e.updateQueue=i.updateQueue,e.memoizedState=i.memoizedState,e.lanes=i.lanes):(e.updateQueue=null,e.memoizedState=null)}}function mb(e){var t=e;do{if(t.tag===Y&&dD(t))return t;t=t.return}while(t!==null);return null}function yb(e,t,a,i,o){if((e.mode&Je)===Me){if(e===t)e.flags|=Ln;else{if(e.flags|=je,a.flags|=Yu,a.flags&=~(ac|Yr),a.tag===j){var s=a.alternate;if(s===null)a.tag=an;else{var d=co(Lt,Ue);d.tag=fm,cu(a,d,Ue)}}a.lanes=Ge(a.lanes,Ue)}return e}return e.flags|=Ln,e.lanes=o,e}function DD(e,t,a,i,o){if(a.flags|=Yr,In&&Qp(e,o),i!==null&&typeof i=="object"&&typeof i.then=="function"){var s=i;kD(a),hr()&&a.mode&Je&&oE();var d=mb(t);if(d!==null){d.flags&=~en,yb(d,t,a,e,o),d.mode&Je&&hb(e,s,o),_D(d,e,s);return}else{if(!Bo(o)){hb(e,s,o),YS();return}var h=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.");i=h}}else if(hr()&&a.mode&Je){oE();var y=mb(t);if(y!==null){(y.flags&Ln)===ke&&(y.flags|=en),yb(y,t,a,e,o),a0(Ts(i,a));return}}i=Ts(i,a),uM(i);var E=t;do{switch(E.tag){case W:{var b=i;E.flags|=Ln;var D=Tn(o);E.lanes=Ge(E.lanes,D);var _=vb(E,b,D);v0(E,_);return}case j:var U=i,F=E.type,P=E.stateNode;if((E.flags&je)===ke&&(typeof F.getDerivedStateFromError=="function"||P!==null&&typeof P.componentDidCatch=="function"&&!mT(P))){E.flags|=Ln;var de=Tn(o);E.lanes=Ge(E.lanes,de);var De=dS(E,U,de);v0(E,De);return}break}E=E.return}while(E!==null)}function OD(){return null}var Mp=p.ReactCurrentOwner,Li=!1,pS,Np,vS,hS,mS,Rs,yS,Bm;pS={},Np={},vS={},hS={},mS={},Rs=!1,yS={},Bm={};function Kr(e,t,a,i){e===null?t.child=AE(t,null,a,i):t.child=pf(t,e.child,a,i)}function MD(e,t,a,i){t.child=pf(t,e.child,null,i),t.child=pf(t,null,a,i)}function gb(e,t,a,i,o){if(t.type!==t.elementType){var s=a.propTypes;s&&_i(s,i,"prop",Mt(a))}var d=a.render,h=t.ref,y,E;df(t,o),nl(t);{if(Mp.current=t,Aa(!0),y=Sf(e,t,d,i,h,o),E=Cf(),t.mode&Gt){bn(!0);try{y=Sf(e,t,d,i,h,o),E=Cf()}finally{bn(!1)}}Aa(!1)}return jl(),e!==null&&!Li?(PE(e,t,o),fo(e,t,o)):(hr()&&E&&Zg(t),t.flags|=qi,Kr(e,t,y,o),t.child)}function Sb(e,t,a,i,o){if(e===null){var s=a.type;if(UM(s)&&a.compare===null&&a.defaultProps===void 0){var d=s;return d=kf(s),t.tag=$e,t.type=d,CS(t,s),Cb(e,t,d,i,o)}{var h=s.propTypes;h&&_i(h,i,"prop",Mt(s))}var y=n1(a.type,null,i,t,t.mode,o);return y.ref=t.ref,y.return=t,t.child=y,y}{var E=a.type,b=E.propTypes;b&&_i(b,i,"prop",Mt(E))}var D=e.child,_=xS(e,o);if(!_){var U=D.memoizedProps,F=a.compare;if(F=F!==null?F:we,F(U,i)&&e.ref===t.ref)return fo(e,t,o)}t.flags|=qi;var P=Ds(D,i);return P.ref=t.ref,P.return=t,t.child=P,P}function Cb(e,t,a,i,o){if(t.type!==t.elementType){var s=t.elementType;if(s.$$typeof===Le){var d=s,h=d._payload,y=d._init;try{s=y(h)}catch{s=null}var E=s&&s.propTypes;E&&_i(E,i,"prop",Mt(s))}}if(e!==null){var b=e.memoizedProps;if(we(b,i)&&e.ref===t.ref&&t.type===e.type)if(Li=!1,t.pendingProps=i=b,xS(e,o))(e.flags&Yu)!==ke&&(Li=!0);else return t.lanes=e.lanes,fo(e,t,o)}return gS(e,t,a,i,o)}function Eb(e,t,a){var i=t.pendingProps,o=i.children,s=e!==null?e.memoizedState:null;if(i.mode==="hidden"||ue)if((t.mode&Je)===Me){var d={baseLanes:B,cachePool:null,transitions:null};t.memoizedState=d,ty(t,a)}else if(Lr(a,Nr)){var D={baseLanes:B,cachePool:null,transitions:null};t.memoizedState=D;var _=s!==null?s.baseLanes:a;ty(t,_)}else{var h=null,y;if(s!==null){var E=s.baseLanes;y=Ge(E,a)}else y=a;t.lanes=t.childLanes=Nr;var b={baseLanes:y,cachePool:h,transitions:null};return t.memoizedState=b,t.updateQueue=null,ty(t,y),null}else{var U;s!==null?(U=Ge(s.baseLanes,a),t.memoizedState=null):U=a,ty(t,U)}return Kr(e,t,o,a),t.child}function ND(e,t,a){var i=t.pendingProps;return Kr(e,t,i,a),t.child}function LD(e,t,a){var i=t.pendingProps.children;return Kr(e,t,i,a),t.child}function zD(e,t,a){{t.flags|=We;{var i=t.stateNode;i.effectDuration=0,i.passiveEffectDuration=0}}var o=t.pendingProps,s=o.children;return Kr(e,t,s,a),t.child}function bb(e,t){var a=t.ref;(e===null&&a!==null||e!==null&&e.ref!==a)&&(t.flags|=xr,t.flags|=vd)}function gS(e,t,a,i,o){if(t.type!==t.elementType){var s=a.propTypes;s&&_i(s,i,"prop",Mt(a))}var d;{var h=lf(t,a,!0);d=of(t,h)}var y,E;df(t,o),nl(t);{if(Mp.current=t,Aa(!0),y=Sf(e,t,a,i,d,o),E=Cf(),t.mode&Gt){bn(!0);try{y=Sf(e,t,a,i,d,o),E=Cf()}finally{bn(!1)}}Aa(!1)}return jl(),e!==null&&!Li?(PE(e,t,o),fo(e,t,o)):(hr()&&E&&Zg(t),t.flags|=qi,Kr(e,t,y,o),t.child)}function Tb(e,t,a,i,o){{switch(KM(t)){case!1:{var s=t.stateNode,d=t.type,h=new d(t.memoizedProps,s.context),y=h.state;s.updater.enqueueSetState(s,y,null);break}case!0:{t.flags|=je,t.flags|=Ln;var E=new Error("Simulated error coming from DevTools"),b=Tn(o);t.lanes=Ge(t.lanes,b);var D=dS(t,Ts(E,t),b);v0(t,D);break}}if(t.type!==t.elementType){var _=a.propTypes;_&&_i(_,i,"prop",Mt(a))}}var U;pl(a)?(U=!0,em(t)):U=!1,df(t,o);var F=t.stateNode,P;F===null?(Im(e,t),OE(t,a,i),x0(t,a,i,o),P=!0):e===null?P=lD(t,a,i,o):P=oD(e,t,a,i,o);var de=SS(e,t,a,P,U,o);{var De=t.stateNode;P&&De.props!==i&&(Rs||S("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Qe(t)||"a component"),Rs=!0)}return de}function SS(e,t,a,i,o,s){bb(e,t);var d=(t.flags&je)!==ke;if(!i&&!d)return o&&rE(t,a,!1),fo(e,t,s);var h=t.stateNode;Mp.current=t;var y;if(d&&typeof a.getDerivedStateFromError!="function")y=null,pb();else{nl(t);{if(Aa(!0),y=h.render(),t.mode&Gt){bn(!0);try{h.render()}finally{bn(!1)}}Aa(!1)}jl()}return t.flags|=qi,e!==null&&d?MD(e,t,y,s):Kr(e,t,y,s),t.memoizedState=h.state,o&&rE(t,a,!0),t.child}function Rb(e){var t=e.stateNode;t.pendingContext?tE(e,t.pendingContext,t.pendingContext!==t.context):t.context&&tE(e,t.context,!1),N0(e,t.containerInfo)}function AD(e,t,a){if(Rb(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var i=t.pendingProps,o=t.memoizedState,s=o.element;bE(e,t),hm(t,i,null,a);var d=t.memoizedState;t.stateNode;var h=d.element;if(o.isDehydrated){var y={element:h,isDehydrated:!1,cache:d.cache,pendingSuspenseBoundaries:d.pendingSuspenseBoundaries,transitions:d.transitions},E=t.updateQueue;if(E.baseState=y,t.memoizedState=y,t.flags&en){var b=Ts(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."),t);return wb(e,t,h,a,b)}else if(h!==s){var D=Ts(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return wb(e,t,h,a,D)}else{jk(t);var _=AE(t,null,h,a);t.child=_;for(var U=_;U;)U.flags=U.flags&~Ft|pa,U=U.sibling}}else{if(cf(),h===s)return fo(e,t,a);Kr(e,t,h,a)}return t.child}function wb(e,t,a,i,o){return cf(),a0(o),t.flags|=en,Kr(e,t,a,i),t.child}function UD(e,t,a){FE(t),e===null&&r0(t);var i=t.type,o=t.pendingProps,s=e!==null?e.memoizedProps:null,d=o.children,h=Hg(i,o);return h?d=null:s!==null&&Hg(i,s)&&(t.flags|=St),bb(e,t),Kr(e,t,d,a),t.child}function FD(e,t){return e===null&&r0(t),null}function HD(e,t,a,i){Im(e,t);var o=t.pendingProps,s=a,d=s._payload,h=s._init,y=h(d);t.type=y;var E=t.tag=FM(y),b=Oi(y,o),D;switch(E){case O:return CS(t,y),t.type=y=kf(y),D=gS(null,t,y,b,i),D;case j:return t.type=y=XS(y),D=Tb(null,t,y,b,i),D;case he:return t.type=y=KS(y),D=gb(null,t,y,b,i),D;case at:{if(t.type!==t.elementType){var _=y.propTypes;_&&_i(_,b,"prop",Mt(y))}return D=Sb(null,t,y,Oi(y.type,b),i),D}}var U="";throw y!==null&&typeof y=="object"&&y.$$typeof===Le&&(U=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+y+". "+("Lazy element type must resolve to a class or function."+U))}function jD(e,t,a,i,o){Im(e,t),t.tag=j;var s;return pl(a)?(s=!0,em(t)):s=!1,df(t,o),OE(t,a,i),x0(t,a,i,o),SS(null,t,a,!0,s,o)}function PD(e,t,a,i){Im(e,t);var o=t.pendingProps,s;{var d=lf(t,a,!1);s=of(t,d)}df(t,i);var h,y;nl(t);{if(a.prototype&&typeof a.prototype.render=="function"){var E=Mt(a)||"Unknown";pS[E]||(S("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.",E,E),pS[E]=!0)}t.mode&Gt&&Di.recordLegacyContextWarning(t,null),Aa(!0),Mp.current=t,h=Sf(null,t,a,o,s,i),y=Cf(),Aa(!1)}if(jl(),t.flags|=qi,typeof h=="object"&&h!==null&&typeof h.render=="function"&&h.$$typeof===void 0){var b=Mt(a)||"Unknown";Np[b]||(S("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.",b,b,b),Np[b]=!0)}if(typeof h=="object"&&h!==null&&typeof h.render=="function"&&h.$$typeof===void 0){{var D=Mt(a)||"Unknown";Np[D]||(S("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.",D,D,D),Np[D]=!0)}t.tag=j,t.memoizedState=null,t.updateQueue=null;var _=!1;return pl(a)?(_=!0,em(t)):_=!1,t.memoizedState=h.state!==null&&h.state!==void 0?h.state:null,p0(t),DE(t,h),x0(t,a,o,i),SS(null,t,a,!0,_,i)}else{if(t.tag=O,t.mode&Gt){bn(!0);try{h=Sf(null,t,a,o,s,i),y=Cf()}finally{bn(!1)}}return hr()&&y&&Zg(t),Kr(null,t,h,i),CS(t,a),t.child}}function CS(e,t){{if(t&&t.childContextTypes&&S("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var a="",i=sa();i&&(a+=`
|
|
147
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:BJ(),transitions:null}}function QJ(i,o){var v=null;return{baseLanes:gt(i.baseLanes,o),cachePool:v,transitions:i.transitions}}function ZJ(i,o,v,g){if(o!==null){var C=o.memoizedState;if(C===null)return!1}return MM(i,By)}function KJ(i,o){return ff(i.childLanes,o)}function OB(i,o,v){var g=o.pendingProps;lne(o)&&(o.flags|=lt);var C=fl.current,T=!1,R=(o.flags<)!==Qe;if(R||ZJ(C,i)?(T=!0,o.flags&=~lt):(i===null||i.memoizedState!==null)&&(C=SJ(C,j5)),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 ree(o,N)}var B=g.children,V=g.fallback;if(T){var K=JJ(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 iee(i,o,R,g,ue,le,v)}if(T){var de=g.fallback,Pe=g.children,Ze=tee(i,o,Pe,de,v),We=o.child,Ot=i.child.memoizedState;return We.memoizedState=Ot===null?pR(v):QJ(Ot,v),We.childLanes=KJ(i,v),o.memoizedState=hR,Ze}else{var Rt=g.children,ne=eee(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 JJ(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 k3(i,o,he,null)}function kB(i,o){return Vd(i,o)}function eee(i,o,v,g){var C=i.child,T=C.sibling,R=kB(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 tee(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=kB(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 nee(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 ree(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 iee(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=nee(i,o,ve,re,R),Ie=o.child;return Ie.memoizedState=pR(R),o.memoizedState=hR,xe}else{if(YK(),(o.mode&wt)===Je)return tw(i,o,R,null);if(PD(C)){var k,N,B;{var V=sK(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(t5(C)){o.flags|=lt,o.child=i.child;var We=Rte.bind(null,i);return fK(C,We),null}else{qK(o,C,T.treeContext);var Ot=g.children,Rt=gR(o,Ot);return Rt.flags|=pa,Rt}}}function NB(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 aee(i,o,v){for(var g=o;g!==null;){if(g.tag===I){var C=g.memoizedState;C!==null&&NB(g,v,i)}else if(g.tag===G)NB(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 oee(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 lee(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 uee(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 PB(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 see(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(!PB(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(!PB(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 IB(i,o,v){var g=o.pendingProps,C=g.revealOrder,T=g.tail,R=g.children;lee(C),uee(T,C),see(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<)!==Qe;B&&aee(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=oee(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 fee(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 zB=!1;function cee(i,o,v){var g=o.type,C=g._context,T=o.pendingProps,R=o.memoizedProps,k=T.value;{"value"in T||zB||(zB=!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(T5(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 aJ(o,C,v)}var V=T.children;return Wi(i,o,V,v),o.child}var FB=!1;function dee(i,o,v){var g=o.type;g._context===void 0?g!==g.Consumer&&(FB||(FB=!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),_B(),l0(o.lanes),Ti(v,o.childLanes)?(mJ(i,o),o.child):null}function vee(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 hee(i,o,v){switch(o.tag){case m:AB(o),o.stateNode,dp();break;case _:G5(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;T5(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 OB(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<)!==Qe,le=Ti(v,o.childLanes);if(Q){if(le)return IB(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,DB(i,o,v)}return ms(i,o,v)}function BB(i,o,v){if(o._debugNeedsRemount&&i!==null)return vee(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<)===Qe)return dl=!1,hee(i,o,v);(i.flags&rd)!==Qe?dl=!0:dl=!1}}else if(dl=!1,ni()&&UK(o)){var R=o.index,k=VK();d5(o,k,R)}switch(o.lanes=he,o.tag){case p:return qJ(i,o,o.type,v);case H:{var N=o.elementType;return WJ(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 RB(i,o,Q,ue,v)}case m:return $J(i,o,v);case _:return jJ(i,o,v);case x:return YJ(i,o);case I:return OB(i,o,v);case S:return fee(i,o,v);case O:{var de=o.type,Pe=o.pendingProps,Ze=o.elementType===de?Pe:sl(de,Pe);return TB(i,o,de,Ze,v)}case E:return VJ(i,o,v);case b:return HJ(i,o,v);case P:return GJ(i,o,v);case A:return cee(i,o,v);case D:return dee(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),bB(i,o,We,Rt,v)}case U:return EB(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 XJ(i,o,ve,xe,v)}case G:return IB(i,o,v);case ee:break;case J:return DB(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 UB(i){i.flags|=mi,i.flags|=Am}var VB,SR,HB,GB;VB=function(i,o,v,g){for(var C=o.child;C!==null;){if(C.tag===_||C.tag===x)zZ(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){},HB=function(i,o,v,g,C){var T=i.memoizedProps;if(T!==g){var R=o.stateNode,k=EM(),N=BZ(R,v,T,g,C,k);o.updateQueue=N,N&&xp(o)}},GB=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 pee(i,o,v){if(eJ()&&(o.mode&wt)!==Je&&(o.flags<)===Qe)return _5(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(KK(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<)===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 S5(),!0}function $B(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,S5())}}return SR(i,o),ii(o),null}case _:{DM(o);var N=H5(),B=o.type;if(i!==null&&o.stateNode!=null)HB(i,o,B,g,N),i.ref!==o.ref&&UB(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)QK(o,N,V)&&xp(o);else{var Q=IZ(B,g,N,V,o);VB(Q,o,!1,!1),o.stateNode=Q,FZ(Q,B,g,N)&&xp(o)}o.ref!==null&&UB(o)}return ii(o),null}case x:{var le=g;if(i&&o.stateNode!=null){var ue=i.memoizedProps;GB(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=H5(),Pe=EM(),Ze=mC(o);Ze?ZK(o)&&xp(o):o.stateNode=UZ(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=pee(i,o,We);if(!Ot)return o.flags&yr?o:null}if((o.flags<)!==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,j5)?gte():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&&kK(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 fn=(o.flags<)!==Qe,jt=ct.rendering;if(jt===null)if(fn)Qy(ct,!1);else{var dr=yte()&&(i===null||(i.flags<)===Qe);if(!dr)for(var Yt=o.child;Yt!==null;){var nr=NC(Yt);if(nr!==null){fn=!0,o.flags|=lt,Qy(ct,!1);var Mi=nr.updateQueue;return Mi!==null&&(o.updateQueue=Mi,o.flags|=pt),o.subtreeFlags=Qe,yJ(o,v),kf(o,RM(fl.current,By)),o.child}Yt=Yt.sibling}ct.tail!==null&&zn()>c3()&&(o.flags|=lt,fn=!0,Qy(ct,!1),o.lanes=Gm)}else{if(!fn){var si=NC(jt);if(si!==null){o.flags|=lt,fn=!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>c3()&&v!==xi&&(o.flags|=lt,fn=!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 fn?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 gee(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<)===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 jB(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 YB=null;YB=new Set;var rw=!1,ai=!1,mee=typeof WeakSet=="function"?WeakSet:Set,He=null,Tp=null,bp=null;function yee(i){Gu(null,function(){throw i}),Mm()}var _ee=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 WB(i,o){try{If(Lr,i)}catch(v){bn(i,o,v)}}function CR(i,o,v){try{_ee(i,v)}catch(g){bn(i,o,g)}}function See(i,o,v){try{v.componentDidMount()}catch(g){bn(i,o,g)}}function XB(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.",vt(i))}else v.current=null}function iw(i,o,v){try{v()}catch(g){bn(i,o,g)}}var qB=!1;function Cee(i,o){NZ(i.containerInfo),He=o,wee();var v=qB;return qB=!1,v}function wee(){for(;He!==null;){var i=He,o=i.child;(i.subtreeFlags&tf)!==Qe&&o!==null?(o.return=i,He=o):xee()}}function xee(){for(;He!==null;){var i=He;un(i);try{Tee(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 Tee(i){var o=i.alternate,v=i.flags;if((v&ha)!==Qe){switch(un(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.",vt(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.",vt(i)||"instance"));var R=T.getSnapshotBeforeUpdate(i.elementType===i.type?g:sl(i.type,g),C);{var k=YB;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.",vt(i)))}T.__reactInternalSnapshotBeforeUpdate=R}break}case m:{{var N=i.stateNode;aK(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=`
|
|
148
|
+
Check the render method of \``+i+"`.");var o=i||"",s=e._debugSource;s&&(o=s.fileName+":"+s.lineNumber),mS[o]||(mS[o]=!0,S("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",a))}if(typeof t.getDerivedStateFromProps=="function"){var d=Mt(t)||"Unknown";hS[d]||(S("%s: Function components do not support getDerivedStateFromProps.",d),hS[d]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var h=Mt(t)||"Unknown";vS[h]||(S("%s: Function components do not support contextType.",h),vS[h]=!0)}}}var ES={dehydrated:null,treeContext:null,retryLane:lt};function bS(e){return{baseLanes:e,cachePool:OD(),transitions:null}}function VD(e,t){var a=null;return{baseLanes:Ge(e.baseLanes,t),cachePool:a,transitions:e.transitions}}function BD(e,t,a,i){if(t!==null){var o=t.memoizedState;if(o===null)return!1}return A0(e,Tp)}function $D(e,t){return $o(e.childLanes,t)}function xb(e,t,a){var i=t.pendingProps;ZM(t)&&(t.flags|=je);var o=Mi.current,s=!1,d=(t.flags&je)!==ke;if(d||BD(o,e)?(s=!0,t.flags&=~je):(e===null||e.memoizedState!==null)&&(o=fD(o,jE)),o=hf(o),du(t,o),e===null){r0(t);var h=t.memoizedState;if(h!==null){var y=h.dehydrated;if(y!==null)return GD(t,y)}var E=i.children,b=i.fallback;if(s){var D=ID(t,E,b,a),_=t.child;return _.memoizedState=bS(a),t.memoizedState=ES,D}else return TS(t,E)}else{var U=e.memoizedState;if(U!==null){var F=U.dehydrated;if(F!==null)return qD(e,t,d,i,F,U,a)}if(s){var P=i.fallback,de=i.children,De=QD(e,t,de,P,a),Re=t.child,ut=e.child.memoizedState;return Re.memoizedState=ut===null?bS(a):VD(ut,a),Re.childLanes=$D(e,a),t.memoizedState=ES,De}else{var rt=i.children,L=YD(e,t,rt,a);return t.memoizedState=null,L}}}function TS(e,t,a){var i=e.mode,o={mode:"visible",children:t},s=RS(o,i);return s.return=e,e.child=s,s}function ID(e,t,a,i){var o=e.mode,s=e.child,d={mode:"hidden",children:t},h,y;return(o&Je)===Me&&s!==null?(h=s,h.childLanes=B,h.pendingProps=d,e.mode&ze&&(h.actualDuration=0,h.actualStartTime=-1,h.selfBaseDuration=0,h.treeBaseDuration=0),y=Cu(a,o,i,null)):(h=RS(d,o),y=Cu(a,o,i,null)),h.return=e,y.return=e,h.sibling=y,e.child=h,y}function RS(e,t,a){return _T(e,t,B,null)}function _b(e,t){return Ds(e,t)}function YD(e,t,a,i){var o=e.child,s=o.sibling,d=_b(o,{mode:"visible",children:a});if((t.mode&Je)===Me&&(d.lanes=i),d.return=t,d.sibling=null,s!==null){var h=t.deletions;h===null?(t.deletions=[s],t.flags|=gt):h.push(s)}return t.child=d,d}function QD(e,t,a,i,o){var s=t.mode,d=e.child,h=d.sibling,y={mode:"hidden",children:a},E;if((s&Je)===Me&&t.child!==d){var b=t.child;E=b,E.childLanes=B,E.pendingProps=y,t.mode&ze&&(E.actualDuration=0,E.actualStartTime=-1,E.selfBaseDuration=d.selfBaseDuration,E.treeBaseDuration=d.treeBaseDuration),t.deletions=null}else E=_b(d,y),E.subtreeFlags=d.subtreeFlags&$n;var D;return h!==null?D=Ds(h,i):(D=Cu(i,s,o,null),D.flags|=Ft),D.return=t,E.return=t,E.sibling=D,t.child=E,D}function $m(e,t,a,i){i!==null&&a0(i),pf(t,e.child,null,a);var o=t.pendingProps,s=o.children,d=TS(t,s);return d.flags|=Ft,t.memoizedState=null,d}function WD(e,t,a,i,o){var s=t.mode,d={mode:"visible",children:a},h=RS(d,s),y=Cu(i,s,o,null);return y.flags|=Ft,h.return=t,y.return=t,h.sibling=y,t.child=h,(t.mode&Je)!==Me&&pf(t,e.child,null,o),y}function GD(e,t,a){return(e.mode&Je)===Me?(S("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."),e.lanes=Ue):Bg(t)?e.lanes=Bl:e.lanes=Nr,null}function qD(e,t,a,i,o,s,d){if(a)if(t.flags&en){t.flags&=~en;var L=cS(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return $m(e,t,d,L)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=je,null;var V=i.children,z=i.fallback,Z=WD(e,t,V,z,d),pe=t.child;return pe.memoizedState=bS(d),t.memoizedState=ES,Z}else{if(Fk(),(t.mode&Je)===Me)return $m(e,t,d,null);if(Bg(o)){var h,y,E;{var b=ek(o);h=b.digest,y=b.message,E=b.stack}var D;y?D=new Error(y):D=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var _=cS(D,h,E);return $m(e,t,d,_)}var U=Lr(d,e.childLanes);if(Li||U){var F=ey();if(F!==null){var P=sg(F,d);if(P!==lt&&P!==s.retryLane){s.retryLane=P;var de=Lt;Ta(e,P),Jn(F,e,P,de)}}YS();var De=cS(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 $m(e,t,d,De)}else if(qC(o)){t.flags|=je,t.child=e.child;var Re=CM.bind(null,e);return tk(o,Re),null}else{Pk(t,o,s.treeContext);var ut=i.children,rt=TS(t,ut);return rt.flags|=pa,rt}}}function kb(e,t,a){e.lanes=Ge(e.lanes,t);var i=e.alternate;i!==null&&(i.lanes=Ge(i.lanes,t)),s0(e.return,t,a)}function XD(e,t,a){for(var i=t;i!==null;){if(i.tag===Y){var o=i.memoizedState;o!==null&&kb(i,a,e)}else if(i.tag===vt)kb(i,a,e);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)return;for(;i.sibling===null;){if(i.return===null||i.return===e)return;i=i.return}i.sibling.return=i.return,i=i.sibling}}function KD(e){for(var t=e,a=null;t!==null;){var i=t.alternate;i!==null&&bm(i)===null&&(a=t),t=t.sibling}return a}function ZD(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!yS[e])if(yS[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{S('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{S('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:S('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else S('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function JD(e,t){e!==void 0&&!Bm[e]&&(e!=="collapsed"&&e!=="hidden"?(Bm[e]=!0,S('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(Bm[e]=!0,S('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function Db(e,t){{var a=Mn(e),i=!a&&typeof ci(e)=="function";if(a||i){var o=a?"array":"iterable";return S("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>",o,t,o),!1}}return!0}function eO(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(Mn(e)){for(var a=0;a<e.length;a++)if(!Db(e[a],a))return}else{var i=ci(e);if(typeof i=="function"){var o=i.call(e);if(o)for(var s=o.next(),d=0;!s.done;s=o.next()){if(!Db(s.value,d))return;d++}}else S('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?',t)}}function wS(e,t,a,i,o){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:a,tailMode:o}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=i,s.tail=a,s.tailMode=o)}function Ob(e,t,a){var i=t.pendingProps,o=i.revealOrder,s=i.tail,d=i.children;ZD(o),JD(s,o),eO(d,o),Kr(e,t,d,a);var h=Mi.current,y=A0(h,Tp);if(y)h=U0(h,Tp),t.flags|=je;else{var E=e!==null&&(e.flags&je)!==ke;E&&XD(t,t.child,a),h=hf(h)}if(du(t,h),(t.mode&Je)===Me)t.memoizedState=null;else switch(o){case"forwards":{var b=KD(t.child),D;b===null?(D=t.child,t.child=null):(D=b.sibling,b.sibling=null),wS(t,!1,D,b,s);break}case"backwards":{var _=null,U=t.child;for(t.child=null;U!==null;){var F=U.alternate;if(F!==null&&bm(F)===null){t.child=U;break}var P=U.sibling;U.sibling=_,_=U,U=P}wS(t,!0,_,null,s);break}case"together":{wS(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function tO(e,t,a){N0(t,t.stateNode.containerInfo);var i=t.pendingProps;return e===null?t.child=pf(t,null,i,a):Kr(e,t,i,a),t.child}var Mb=!1;function nO(e,t,a){var i=t.type,o=i._context,s=t.pendingProps,d=t.memoizedProps,h=s.value;{"value"in s||Mb||(Mb=!0,S("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var y=t.type.propTypes;y&&_i(y,s,"prop","Context.Provider")}if(gE(t,o,h),d!==null){var E=d.value;if(Se(E,h)){if(d.children===s.children&&!Zh())return fo(e,t,a)}else Xk(t,o,a)}var b=s.children;return Kr(e,t,b,a),t.child}var Nb=!1;function rO(e,t,a){var i=t.type;i._context===void 0?i!==i.Consumer&&(Nb||(Nb=!0,S("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):i=i._context;var o=t.pendingProps,s=o.children;typeof s!="function"&&S("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."),df(t,a);var d=Hn(i);nl(t);var h;return Mp.current=t,Aa(!0),h=s(d),Aa(!1),jl(),t.flags|=qi,Kr(e,t,h,a),t.child}function Lp(){Li=!0}function Im(e,t){(t.mode&Je)===Me&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Ft)}function fo(e,t,a){return e!==null&&(t.dependencies=e.dependencies),pb(),Yp(t.lanes),Lr(a,t.childLanes)?(uD(e,t),t.child):null}function aO(e,t,a){{var i=t.return;if(i===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,a.index=t.index,a.sibling=t.sibling,a.return=t.return,a.ref=t.ref,t===i.child)i.child=a;else{var o=i.child;if(o===null)throw new Error("Expected parent to have a child.");for(;o.sibling!==t;)if(o=o.sibling,o===null)throw new Error("Expected to find the previous sibling.");o.sibling=a}var s=i.deletions;return s===null?(i.deletions=[e],i.flags|=gt):s.push(e),a.flags|=Ft,a}}function xS(e,t){var a=e.lanes;return!!Lr(a,t)}function iO(e,t,a){switch(t.tag){case W:Rb(t),t.stateNode,cf();break;case Q:FE(t);break;case j:{var i=t.type;pl(i)&&em(t);break}case ne:N0(t,t.stateNode.containerInfo);break;case Ae:{var o=t.memoizedProps.value,s=t.type._context;gE(t,s,o);break}case Ne:{var d=Lr(a,t.childLanes);d&&(t.flags|=We);{var h=t.stateNode;h.effectDuration=0,h.passiveEffectDuration=0}}break;case Y:{var y=t.memoizedState;if(y!==null){if(y.dehydrated!==null)return du(t,hf(Mi.current)),t.flags|=je,null;var E=t.child,b=E.childLanes;if(Lr(a,b))return xb(e,t,a);du(t,hf(Mi.current));var D=fo(e,t,a);return D!==null?D.sibling:null}else du(t,hf(Mi.current));break}case vt:{var _=(e.flags&je)!==ke,U=Lr(a,t.childLanes);if(_){if(U)return Ob(e,t,a);t.flags|=je}var F=t.memoizedState;if(F!==null&&(F.rendering=null,F.tail=null,F.lastEffect=null),du(t,Mi.current),U)break;return null}case Ve:case et:return t.lanes=B,Eb(e,t,a)}return fo(e,t,a)}function Lb(e,t,a){if(t._debugNeedsRemount&&e!==null)return aO(e,t,n1(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var i=e.memoizedProps,o=t.pendingProps;if(i!==o||Zh()||t.type!==e.type)Li=!0;else{var s=xS(e,a);if(!s&&(t.flags&je)===ke)return Li=!1,iO(e,t,a);(e.flags&Yu)!==ke?Li=!0:Li=!1}}else if(Li=!1,hr()&&Mk(t)){var d=t.index,h=Nk();lE(t,h,d)}switch(t.lanes=B,t.tag){case ee:return PD(e,t,t.type,a);case Kt:{var y=t.elementType;return HD(e,t,y,a)}case O:{var E=t.type,b=t.pendingProps,D=t.elementType===E?b:Oi(E,b);return gS(e,t,E,D,a)}case j:{var _=t.type,U=t.pendingProps,F=t.elementType===_?U:Oi(_,U);return Tb(e,t,_,F,a)}case W:return AD(e,t,a);case Q:return UD(e,t,a);case oe:return FD(e,t);case Y:return xb(e,t,a);case ne:return tO(e,t,a);case he:{var P=t.type,de=t.pendingProps,De=t.elementType===P?de:Oi(P,de);return gb(e,t,P,De,a)}case He:return ND(e,t,a);case Ee:return LD(e,t,a);case Ne:return zD(e,t,a);case Ae:return nO(e,t,a);case it:return rO(e,t,a);case at:{var Re=t.type,ut=t.pendingProps,rt=Oi(Re,ut);if(t.type!==t.elementType){var L=Re.propTypes;L&&_i(L,rt,"prop",Mt(Re))}return rt=Oi(Re.type,rt),Sb(e,t,Re,rt,a)}case $e:return Cb(e,t,t.type,t.pendingProps,a);case an:{var V=t.type,z=t.pendingProps,Z=t.elementType===V?z:Oi(V,z);return jD(e,t,V,Z,a)}case vt:return Ob(e,t,a);case Zt:break;case Ve:return Eb(e,t,a)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Ef(e){e.flags|=We}function zb(e){e.flags|=xr,e.flags|=vd}var Ab,_S,Ub,Fb;Ab=function(e,t,a,i){for(var o=t.child;o!==null;){if(o.tag===Q||o.tag===oe)k_(e,o.stateNode);else if(o.tag!==ne){if(o.child!==null){o.child.return=o,o=o.child;continue}}if(o===t)return;for(;o.sibling===null;){if(o.return===null||o.return===t)return;o=o.return}o.sibling.return=o.return,o=o.sibling}},_S=function(e,t){},Ub=function(e,t,a,i,o){var s=e.memoizedProps;if(s!==i){var d=t.stateNode,h=L0(),y=O_(d,a,s,i,o,h);t.updateQueue=y,y&&Ef(t)}},Fb=function(e,t,a,i){a!==i&&Ef(t)};function zp(e,t){if(!hr())switch(e.tailMode){case"hidden":{for(var a=e.tail,i=null;a!==null;)a.alternate!==null&&(i=a),a=a.sibling;i===null?e.tail=null:i.sibling=null;break}case"collapsed":{for(var o=e.tail,s=null;o!==null;)o.alternate!==null&&(s=o),o=o.sibling;s===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:s.sibling=null;break}}}function yr(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=B,i=ke;if(t){if((e.mode&ze)!==Me){for(var y=e.selfBaseDuration,E=e.child;E!==null;)a=Ge(a,Ge(E.lanes,E.childLanes)),i|=E.subtreeFlags&$n,i|=E.flags&$n,y+=E.treeBaseDuration,E=E.sibling;e.treeBaseDuration=y}else for(var b=e.child;b!==null;)a=Ge(a,Ge(b.lanes,b.childLanes)),i|=b.subtreeFlags&$n,i|=b.flags&$n,b.return=e,b=b.sibling;e.subtreeFlags|=i}else{if((e.mode&ze)!==Me){for(var o=e.actualDuration,s=e.selfBaseDuration,d=e.child;d!==null;)a=Ge(a,Ge(d.lanes,d.childLanes)),i|=d.subtreeFlags,i|=d.flags,o+=d.actualDuration,s+=d.treeBaseDuration,d=d.sibling;e.actualDuration=o,e.treeBaseDuration=s}else for(var h=e.child;h!==null;)a=Ge(a,Ge(h.lanes,h.childLanes)),i|=h.subtreeFlags,i|=h.flags,h.return=e,h=h.sibling;e.subtreeFlags|=i}return e.childLanes=a,t}function lO(e,t,a){if(Yk()&&(t.mode&Je)!==Me&&(t.flags&je)===ke)return pE(t),cf(),t.flags|=en|Yr|Ln,!1;var i=im(t);if(a!==null&&a.dehydrated!==null)if(e===null){if(!i)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if($k(t),yr(t),(t.mode&ze)!==Me){var o=a!==null;if(o){var s=t.child;s!==null&&(t.treeBaseDuration-=s.treeBaseDuration)}}return!1}else{if(cf(),(t.flags&je)===ke&&(t.memoizedState=null),t.flags|=We,yr(t),(t.mode&ze)!==Me){var d=a!==null;if(d){var h=t.child;h!==null&&(t.treeBaseDuration-=h.treeBaseDuration)}}return!1}else return vE(),!0}function Hb(e,t,a){var i=t.pendingProps;switch(Jg(t),t.tag){case ee:case Kt:case $e:case O:case he:case He:case Ee:case Ne:case it:case at:return yr(t),null;case j:{var o=t.type;return pl(o)&&Jh(t),yr(t),null}case W:{var s=t.stateNode;if(vf(t),qg(t),H0(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),e===null||e.child===null){var d=im(t);if(d)Ef(t);else if(e!==null){var h=e.memoizedState;(!h.isDehydrated||(t.flags&en)!==ke)&&(t.flags|=da,vE())}}return _S(e,t),yr(t),null}case Q:{z0(t);var y=UE(),E=t.type;if(e!==null&&t.stateNode!=null)Ub(e,t,E,i,y),e.ref!==t.ref&&zb(t);else{if(!i){if(t.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 yr(t),null}var b=L0(),D=im(t);if(D)Vk(t,y,b)&&Ef(t);else{var _=__(E,i,y,b,t);Ab(_,t,!1,!1),t.stateNode=_,D_(_,E,i,y)&&Ef(t)}t.ref!==null&&zb(t)}return yr(t),null}case oe:{var U=i;if(e&&t.stateNode!=null){var F=e.memoizedProps;Fb(e,t,F,U)}else{if(typeof U!="string"&&t.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 P=UE(),de=L0(),De=im(t);De?Bk(t)&&Ef(t):t.stateNode=M_(U,P,de,t)}return yr(t),null}case Y:{mf(t);var Re=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var ut=lO(e,t,Re);if(!ut)return t.flags&Ln?t:null}if((t.flags&je)!==ke)return t.lanes=a,(t.mode&ze)!==Me&&sS(t),t;var rt=Re!==null,L=e!==null&&e.memoizedState!==null;if(rt!==L&&rt){var V=t.child;if(V.flags|=Xi,(t.mode&Je)!==Me){var z=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!st);z||A0(Mi.current,jE)?oM():YS()}}var Z=t.updateQueue;if(Z!==null&&(t.flags|=We),yr(t),(t.mode&ze)!==Me&&rt){var pe=t.child;pe!==null&&(t.treeBaseDuration-=pe.treeBaseDuration)}return null}case ne:return vf(t),_S(e,t),e===null&&Rk(t.stateNode.containerInfo),yr(t),null;case Ae:var se=t.type._context;return u0(se,t),yr(t),null;case an:{var Fe=t.type;return pl(Fe)&&Jh(t),yr(t),null}case vt:{mf(t);var Ie=t.memoizedState;if(Ie===null)return yr(t),null;var _t=(t.flags&je)!==ke,mt=Ie.rendering;if(mt===null)if(_t)zp(Ie,!1);else{var _n=sM()&&(e===null||(e.flags&je)===ke);if(!_n)for(var yt=t.child;yt!==null;){var Sn=bm(yt);if(Sn!==null){_t=!0,t.flags|=je,zp(Ie,!1);var Fr=Sn.updateQueue;return Fr!==null&&(t.updateQueue=Fr,t.flags|=We),t.subtreeFlags=ke,sD(t,a),du(t,U0(Mi.current,Tp)),t.child}yt=yt.sibling}Ie.tail!==null&&Wt()>iT()&&(t.flags|=je,_t=!0,zp(Ie,!1),t.lanes=_d)}else{if(!_t){var br=bm(mt);if(br!==null){t.flags|=je,_t=!0;var $a=br.updateQueue;if($a!==null&&(t.updateQueue=$a,t.flags|=We),zp(Ie,!0),Ie.tail===null&&Ie.tailMode==="hidden"&&!mt.alternate&&!hr())return yr(t),null}else Wt()*2-Ie.renderingStartTime>iT()&&a!==Nr&&(t.flags|=je,_t=!0,zp(Ie,!1),t.lanes=_d)}if(Ie.isBackwards)mt.sibling=t.child,t.child=mt;else{var ea=Ie.last;ea!==null?ea.sibling=mt:t.child=mt,Ie.last=mt}}if(Ie.tail!==null){var ta=Ie.tail;Ie.rendering=ta,Ie.tail=ta.sibling,Ie.renderingStartTime=Wt(),ta.sibling=null;var Hr=Mi.current;return _t?Hr=U0(Hr,Tp):Hr=hf(Hr),du(t,Hr),ta}return yr(t),null}case Zt:break;case Ve:case et:{IS(t);var yo=t.memoizedState,Df=yo!==null;if(e!==null){var Xp=e.memoizedState,El=Xp!==null;El!==Df&&!ue&&(t.flags|=Xi)}return!Df||(t.mode&Je)===Me?yr(t):Lr(Cl,Nr)&&(yr(t),t.subtreeFlags&(Ft|We)&&(t.flags|=Xi)),null}case dn:return null;case Dt:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function oO(e,t,a){switch(Jg(t),t.tag){case j:{var i=t.type;pl(i)&&Jh(t);var o=t.flags;return o&Ln?(t.flags=o&~Ln|je,(t.mode&ze)!==Me&&sS(t),t):null}case W:{t.stateNode,vf(t),qg(t),H0();var s=t.flags;return(s&Ln)!==ke&&(s&je)===ke?(t.flags=s&~Ln|je,t):null}case Q:return z0(t),null;case Y:{mf(t);var d=t.memoizedState;if(d!==null&&d.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");cf()}var h=t.flags;return h&Ln?(t.flags=h&~Ln|je,(t.mode&ze)!==Me&&sS(t),t):null}case vt:return mf(t),null;case ne:return vf(t),null;case Ae:var y=t.type._context;return u0(y,t),null;case Ve:case et:return IS(t),null;case dn:return null;default:return null}}function jb(e,t,a){switch(Jg(t),t.tag){case j:{var i=t.type.childContextTypes;i!=null&&Jh(t);break}case W:{t.stateNode,vf(t),qg(t),H0();break}case Q:{z0(t);break}case ne:vf(t);break;case Y:mf(t);break;case vt:mf(t);break;case Ae:var o=t.type._context;u0(o,t);break;case Ve:case et:IS(t);break}}var Pb=null;Pb=new Set;var Ym=!1,gr=!1,uO=typeof WeakSet=="function"?WeakSet:Set,Ce=null,bf=null,Tf=null;function sO(e){Fl(null,function(){throw e}),dd()}var cO=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&ze)try{gl(),t.componentWillUnmount()}finally{yl(e)}else t.componentWillUnmount()};function Vb(e,t){try{hu(Wn,e)}catch(a){Vt(e,t,a)}}function kS(e,t,a){try{cO(e,a)}catch(i){Vt(e,t,i)}}function fO(e,t,a){try{a.componentDidMount()}catch(i){Vt(e,t,i)}}function Bb(e,t){try{Ib(e)}catch(a){Vt(e,t,a)}}function Rf(e,t){var a=e.ref;if(a!==null)if(typeof a=="function"){var i;try{if(ln&&Tr&&e.mode&ze)try{gl(),i=a(null)}finally{yl(e)}else i=a(null)}catch(o){Vt(e,t,o)}typeof i=="function"&&S("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Qe(e))}else a.current=null}function Qm(e,t,a){try{a()}catch(i){Vt(e,t,i)}}var $b=!1;function dO(e,t){w_(e.containerInfo),Ce=t,pO();var a=$b;return $b=!1,a}function pO(){for(;Ce!==null;){var e=Ce,t=e.child;(e.subtreeFlags&Ao)!==ke&&t!==null?(t.return=e,Ce=t):vO()}}function vO(){for(;Ce!==null;){var e=Ce;wt(e);try{hO(e)}catch(a){Vt(e,e.return,a)}En();var t=e.sibling;if(t!==null){t.return=e.return,Ce=t;return}Ce=e.return}}function hO(e){var t=e.alternate,a=e.flags;if((a&da)!==ke){switch(wt(e),e.tag){case O:case he:case $e:break;case j:{if(t!==null){var i=t.memoizedProps,o=t.memoizedState,s=e.stateNode;e.type===e.elementType&&!Rs&&(s.props!==e.memoizedProps&&S("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.",Qe(e)||"instance"),s.state!==e.memoizedState&&S("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.",Qe(e)||"instance"));var d=s.getSnapshotBeforeUpdate(e.elementType===e.type?i:Oi(e.type,i),o);{var h=Pb;d===void 0&&!h.has(e.type)&&(h.add(e.type),S("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Qe(e)))}s.__reactInternalSnapshotBeforeUpdate=d}break}case W:{{var y=e.stateNode;X_(y.containerInfo)}break}case Q:case oe:case ne:case an: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.")}En()}}function zi(e,t,a){var i=t.updateQueue,o=i!==null?i.lastEffect:null;if(o!==null){var s=o.next,d=s;do{if((d.tag&e)===e){var h=d.destroy;d.destroy=void 0,h!==void 0&&((e&mr)!==Ra?dc(t):(e&Wn)!==Ra&&pc(t),(e&vl)!==Ra&&Wp(!0),Qm(t,a,h),(e&vl)!==Ra&&Wp(!1),(e&mr)!==Ra?ah():(e&Wn)!==Ra&&Uo())}d=d.next}while(d!==s)}}function hu(e,t){var a=t.updateQueue,i=a!==null?a.lastEffect:null;if(i!==null){var o=i.next,s=o;do{if((s.tag&e)===e){(e&mr)!==Ra?rh(t):(e&Wn)!==Ra&&ih(t);var d=s.create;(e&vl)!==Ra&&Wp(!0),s.destroy=d(),(e&vl)!==Ra&&Wp(!1),(e&mr)!==Ra?Rd():(e&Wn)!==Ra&&lh();{var h=s.destroy;if(h!==void 0&&typeof h!="function"){var y=void 0;(s.tag&Wn)!==ke?y="useLayoutEffect":(s.tag&vl)!==ke?y="useInsertionEffect":y="useEffect";var E=void 0;h===null?E=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof h.then=="function"?E=`
|
|
149
149
|
|
|
150
|
-
It looks like you wrote `+
|
|
150
|
+
It looks like you wrote `+y+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
151
151
|
|
|
152
|
-
`+
|
|
152
|
+
`+y+`(() => {
|
|
153
153
|
async function fetchData() {
|
|
154
154
|
// You can await here
|
|
155
155
|
const response = await MyAPI.getData(someId);
|
|
@@ -158,11 +158,11 @@ It looks like you wrote `+N+`(async () => ...) or returned a Promise. Instead, w
|
|
|
158
158
|
fetchData();
|
|
159
159
|
}, [someId]); // Or [] if effect doesn't need props or state
|
|
160
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 bee(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=mB(),k=o.alternate===null?"mount":"update";gB()&&(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 Eee(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.",vt(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.",vt(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.",vt(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.",vt(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.",vt(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.",vt(v)||"instance")),A5(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}A5(v,N,B)}break}case _:{var V=v.stateNode;if(o===null&&v.flags&pt){var K=v.type,Q=v.memoizedProps;jZ(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=mB(),We=o===null?"mount":"update";gB()&&(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),xte(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:{Nee(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 Dee(i){switch(i.tag){case d:case O:case U:{if(i.mode&nt)try{du(),WB(i,i.return)}finally{cu(i)}else WB(i,i.return);break}case h:{var o=i.stateNode;typeof o.componentDidMount=="function"&&See(i,i.return,o),XB(i,i.return);break}case _:{XB(i,i.return);break}}}function Mee(i,o){for(var v=null,g=i;;){if(g.tag===_){if(v===null){v=g;try{var C=g.stateNode;o?tK(C):rK(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?nK(T):iK(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.",vt(i))}else o.hasOwnProperty("current")||u("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",vt(i)),o.current=g}}function Ree(i){var o=i.alternate;o!==null&&(o.return=null),i.return=null}function ZB(i){var o=i.alternate;o!==null&&(i.alternate=null,ZB(o));{if(i.child=null,i.deletions=null,i.sibling=null,i.tag===_){var v=i.stateNode;v!==null&&IK(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 Aee(i){for(var o=i.return;o!==null;){if(KB(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 KB(i){return i.tag===_||i.tag===m||i.tag===S}function JB(i){var o=i;e:for(;;){for(;o.sibling===null;){if(o.return===null||KB(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 Lee(i){var o=Aee(i);switch(o.tag){case _:{var v=o.stateNode;o.flags&Kt&&(e5(v),o.flags&=~Kt);var g=JB(i);xR(i,g,v);break}case m:case S:{var C=o.stateNode.containerInfo,T=JB(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?ZZ(v,T,o):qZ(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?QZ(v,T,o):XZ(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 Oee(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.");e3(i,o,v),oi=null,hl=!1}Ree(v)}function zf(i,o,v){for(var g=v.child;g!==null;)e3(i,o,g),g=g.sibling}function e3(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?JZ(oi,v.stateNode):KZ(oi,v.stateNode))}return}case X:{oi!==null&&(hl?eK(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 kee(i){i.memoizedState}function Nee(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&&_K(T)}}}}function t3(i){var o=i.updateQueue;if(o!==null){i.updateQueue=null;var v=i.stateNode;v===null&&(v=i.stateNode=new mee),o.forEach(function(g){var C=Ate.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 Pee(i,o,v){Tp=v,bp=i,un(o),n3(o,i),un(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{Oee(i,o,T)}catch(N){bn(T,o,N)}}var R=kE();if(o.subtreeFlags&Si)for(var k=o.child;k!==null;)un(k),n3(k,i),k=k.sibling;un(R)}function n3(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{e5(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{YZ(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{WZ(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{yK(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||pte()}}if(C&pt){try{kee(i)}catch(at){bn(i,i.return,at)}t3(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,zee(Ae),Ae=Ae.sibling}Mee(Ie,xe)}return}case G:{pl(o,i),vu(i),C&pt&&t3(i);return}case ee:return;default:{pl(o,i),vu(i);return}}}function vu(i){var o=i.flags;if(o&Cn){try{Lee(i)}catch(v){bn(i,i.return,v)}i.flags&=~Cn}o&pa&&(i.flags&=~pa)}function Iee(i,o,v){Tp=v,bp=o,He=i,r3(i,o,v),Tp=null,bp=null}function r3(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,Fee(C));for(var le=T;le!==null;)He=le,r3(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;un(g);try{Eee(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 zee(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){i3(i);continue}break}}v!==null?(v.return=o,He=v):i3(i)}}function i3(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 Fee(i){for(;He!==null;){var o=He,v=o.child;if(o.tag===J){var g=o.memoizedState!==null;if(g){a3(i);continue}}v!==null?(v.return=o,He=v):a3(i)}}function a3(i){for(;He!==null;){var o=He;un(o);try{Dee(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 Bee(i,o,v,g){He=o,Uee(o,i,v,g)}function Uee(i,o,v,g){for(;He!==null;){var C=He,T=C.child;(C.subtreeFlags&ga)!==Qe&&T!==null?(T.return=C,He=T):Vee(i,o,v,g)}}function Vee(i,o,v,g){for(;He!==null;){var C=He;if((C.flags&Ln)!==Qe){un(C);try{Hee(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 Hee(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 Gee(i){He=i,$ee()}function $ee(){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,Wee(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):jee()}}function jee(){for(;He!==null;){var i=He;(i.flags&Ln)!==Qe&&(un(i),Yee(i),or());var o=i.sibling;if(o!==null){o.return=i.return,He=o;return}He=i.return}}function Yee(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 Wee(i,o){for(;He!==null;){var v=He;un(v),qee(v,o),or();var g=v.child;g!==null?(g.return=v,He=g):Xee(i)}}function Xee(i){for(;He!==null;){var o=He,v=o.sibling,g=o.return;if(ZB(o),o===i){He=null;return}if(v!==null){v.return=g,He=v;return}He=g}}function qee(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 Qee(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 Zee(i){switch(i.tag){case d:case O:case U:{try{If(ri|Ar,i)}catch(o){bn(i,i.return,o)}break}}}function Kee(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 Jee(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 ete=[];function tte(){ete.forEach(function(i){return i()})}var nte=n.ReactCurrentActQueue;function rte(i){{var o=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,v=typeof jest<"u";return v&&o!==!1}}function o3(){{var i=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!i&&nte.current!==null&&u("The current testing environment is not configured to support act(...)"),i}}var ite=Math.ceil,bR=n.ReactCurrentDispatcher,ER=n.ReactCurrentOwner,li=n.ReactCurrentBatchConfig,gl=n.ReactCurrentActQueue,Nr=0,l3=1,ui=2,Mo=4,ys=0,Ky=1,zd=2,aw=3,Jy=4,u3=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,s3=500,f3=1/0,ate=500,_s=null;function r0(){f3=zn()+ate}function c3(){return f3}var uw=!1,AR=null,Dp=null,Fd=!1,Ff=null,i0=he,LR=[],OR=null,ote=50,a0=0,kR=null,NR=!1,sw=!1,lte=50,Mp=0,fw=null,o0=gn,cw=he,d3=!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=rJ()!==nJ;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=VZ();return T}function ute(i){var o=i.mode;return(o&wt)===Je?rt:tD()}function zr(i,o,v,g){Ote(),d3&&u("useInsertionEffect must not schedule updates."),NR&&(sw=!0),ts(i,v,g),(Lt&ui)!==he&&i===Xi?Pte(o):(Mr&&Zm(i,o,v),Ite(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(),c5()))}function ste(i,o,v){var g=i.current;g.lanes=o,ts(i,o,v),Ma(i,v)}function fte(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&&M3(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&&M3(v);var R;if(C===rt)i.tag===Mf?(gl.isBatchingLegacy!==null&&(gl.didScheduleLegacyUpdate=!0),BK(p3.bind(null,i))):f5(p3.bind(null,i)),gl.current!==null?gl.current.push(Rf):GZ(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,v3.bind(null,i))}i.callbackPriority=C,i.callbackNode=R}function v3(i,o){if(OJ(),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?Ste(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&&!dte(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,cte(i,R,C)}}return Ma(i,zn()),i.callbackNode===v?v3.bind(null,i):null}function PR(i,o){var v=n0;if(fr(i)){var g=Bd(i,o);g.flags|=Vn,OK(i.containerInfo)}var C=hw(i,o);if(C!==zd){var T=Da;Da=v,T!==null&&h3(T)}return C}function h3(i){Da===null?Da=i:Da.push.apply(Da,i)}function cte(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)&&!R3()){var g=RR+s3-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(!R3()){var R=wS(i,v),k=R,N=zn()-k,B=Lte(N)-N;if(B>10){i.timeoutHandle=OD(Ud.bind(null,i,Da,_s),B);break}}Ud(i,Da,_s);break}case u3:{Ud(i,Da,_s);break}default:throw new Error("Unknown root exit status.")}}function dte(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 p3(i){if(kJ(),(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 vte(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|=l3;try{return i(o)}finally{Lt=v,Lt===Nr&&!gl.isBatchingLegacy&&(r0(),c5())}}function hte(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|=l3;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 g3(){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,HZ(v)),qn!==null)for(var g=qn.return;g!==null;){var C=g.alternate;jB(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,lJ(),ul.discardPendingWarnings(),T}function m3(i,o){do{var v=qn;try{if(CC(),W5(),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);FJ(i,v.return,v,o,Pr),C3(v)}catch(C){o=C,qn===v&&v!==null?(v=v.return,qn=v):v=qn;continue}return}while(!0)}function y3(){var i=bR.current;return bR.current=XC,i===null?XC:i}function _3(i){bR.current=i}function pte(){RR=zn()}function l0(i){ow=gt(i,ow)}function gte(){Ir===ys&&(Ir=aw)}function FR(){(Ir===ys||Ir===aw||Ir===zd)&&(Ir=Jy),Xi!==null&&(fd(ow)||fd(t0))&&Uf(Xi,Pr)}function mte(i){Ir!==Jy&&(Ir=zd),n0===null?n0=[i]:n0.push(i)}function yte(){return Ir===ys}function hw(i,o){var v=Lt;Lt|=ui;var g=y3();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{_te();break}catch(T){m3(i,T)}while(!0);if(CC(),Lt=v,_3(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 _te(){for(;qn!==null;)S3(qn)}function Ste(i,o){var v=Lt;Lt|=ui;var g=y3();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{Cte();break}catch(T){m3(i,T)}while(!0);return CC(),_3(g),Lt=v,qn!==null?(ad(),ys):(af(),Xi=null,Pr=he,Ir)}function Cte(){for(;qn!==null&&!ch();)S3(qn)}function S3(i){var o=i.alternate;un(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?C3(i):qn=v,ER.current=null}function C3(i){var o=i;do{var v=o.alternate,g=o.return;if((o.flags&Vi)===Qe){un(o);var C=void 0;if((o.mode&nt)===Je?C=$B(v,o,hu):(JM(o),C=$B(v,o,hu),JC(o,!1)),or(),C!==null){qn=C;return}}else{var T=gee(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=u3)}function Ud(i,o,v){var g=Sa(),C=li.transition;try{li.transition=null,sr($r),wte(i,o,v,g)}finally{li.transition=C,sr(g)}return null}function wte(i,o,v,g){do Cs();while(Ff!==null);if(kte(),(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,Cee(i,C),yB(),Pee(i,C,T),PZ(i.containerInfo),i.current=C,SS(T),Iee(C,i,T),rf(),vS(),Lt=K,sr(V),li.transition=B}else i.current=C,yB();var Q=Fd;if(Fd?(Fd=!1,Ff=i,i0=T):(Mp=0,fw=null),R=i.pendingLanes,R===he&&(Dp=null),Q||b3(i.current,!1),Ko(C.stateNode,g),Mr&&i.memoizedUpdaters.clear(),tte(),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)?(LJ(),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),Tte()}finally{sr(g),li.transition=v}}return!1}function xte(i){LR.push(i),Fd||(Fd=!0,HR(yo,function(){return Cs(),null}))}function Tte(){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,Gee(o.current),Bee(o,o.current,v,i);{var C=LR;LR=[];for(var T=0;T<C.length;T++){var R=C[T];bee(o,R)}}id(),b3(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 w3(i){return Dp!==null&&Dp.has(i)}function bte(i){Dp===null?Dp=new Set([i]):Dp.add(i)}function Ete(i){uw||(uw=!0,AR=i)}var Dte=Ete;function x3(i,o,v){var g=Pd(v,o),C=SB(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(yee(v),s0(!1),i.tag===m){x3(i,i,v);return}var g=null;for(g=o;g!==null;){if(g.tag===m){x3(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"&&!w3(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.
|
|
161
|
+
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:E=" You returned: "+h,S("%s must not return anything besides a function, which is used for clean-up.%s",y,E)}}}s=s.next}while(s!==o)}}function mO(e,t){if((t.flags&We)!==ke)switch(t.tag){case Ne:{var a=t.stateNode.passiveEffectDuration,i=t.memoizedProps,o=i.id,s=i.onPostCommit,d=fb(),h=t.alternate===null?"mount":"update";cb()&&(h="nested-update"),typeof s=="function"&&s(o,h,a,d);var y=t.return;e:for(;y!==null;){switch(y.tag){case W:var E=y.stateNode;E.passiveEffectDuration+=a;break e;case Ne:var b=y.stateNode;b.passiveEffectDuration+=a;break e}y=y.return}break}}}function yO(e,t,a,i){if((a.flags&ir)!==ke)switch(a.tag){case O:case he:case $e:{if(!gr)if(a.mode&ze)try{gl(),hu(Wn|Qn,a)}finally{yl(a)}else hu(Wn|Qn,a);break}case j:{var o=a.stateNode;if(a.flags&We&&!gr)if(t===null)if(a.type===a.elementType&&!Rs&&(o.props!==a.memoizedProps&&S("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.",Qe(a)||"instance"),o.state!==a.memoizedState&&S("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.",Qe(a)||"instance")),a.mode&ze)try{gl(),o.componentDidMount()}finally{yl(a)}else o.componentDidMount();else{var s=a.elementType===a.type?t.memoizedProps:Oi(a.type,t.memoizedProps),d=t.memoizedState;if(a.type===a.elementType&&!Rs&&(o.props!==a.memoizedProps&&S("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.",Qe(a)||"instance"),o.state!==a.memoizedState&&S("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.",Qe(a)||"instance")),a.mode&ze)try{gl(),o.componentDidUpdate(s,d,o.__reactInternalSnapshotBeforeUpdate)}finally{yl(a)}else o.componentDidUpdate(s,d,o.__reactInternalSnapshotBeforeUpdate)}var h=a.updateQueue;h!==null&&(a.type===a.elementType&&!Rs&&(o.props!==a.memoizedProps&&S("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.",Qe(a)||"instance"),o.state!==a.memoizedState&&S("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.",Qe(a)||"instance")),RE(a,h,o));break}case W:{var y=a.updateQueue;if(y!==null){var E=null;if(a.child!==null)switch(a.child.tag){case Q:E=a.child.stateNode;break;case j:E=a.child.stateNode;break}RE(a,y,E)}break}case Q:{var b=a.stateNode;if(t===null&&a.flags&We){var D=a.type,_=a.memoizedProps;U_(b,D,_)}break}case oe:break;case ne:break;case Ne:{{var U=a.memoizedProps,F=U.onCommit,P=U.onRender,de=a.stateNode.effectDuration,De=fb(),Re=t===null?"mount":"update";cb()&&(Re="nested-update"),typeof P=="function"&&P(a.memoizedProps.id,Re,a.actualDuration,a.treeBaseDuration,a.actualStartTime,De);{typeof F=="function"&&F(a.memoizedProps.id,Re,de,De),vM(a);var ut=a.return;e:for(;ut!==null;){switch(ut.tag){case W:var rt=ut.stateNode;rt.effectDuration+=de;break e;case Ne:var L=ut.stateNode;L.effectDuration+=de;break e}ut=ut.return}}}break}case Y:{wO(e,a);break}case vt:case an:case Zt:case Ve:case et:case Dt: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.")}gr||a.flags&xr&&Ib(a)}function gO(e){switch(e.tag){case O:case he:case $e:{if(e.mode&ze)try{gl(),Vb(e,e.return)}finally{yl(e)}else Vb(e,e.return);break}case j:{var t=e.stateNode;typeof t.componentDidMount=="function"&&fO(e,e.return,t),Bb(e,e.return);break}case Q:{Bb(e,e.return);break}}}function SO(e,t){for(var a=null,i=e;;){if(i.tag===Q){if(a===null){a=i;try{var o=i.stateNode;t?Q_(o):G_(i.stateNode,i.memoizedProps)}catch(d){Vt(e,e.return,d)}}}else if(i.tag===oe){if(a===null)try{var s=i.stateNode;t?W_(s):q_(s,i.memoizedProps)}catch(d){Vt(e,e.return,d)}}else if(!((i.tag===Ve||i.tag===et)&&i.memoizedState!==null&&i!==e)){if(i.child!==null){i.child.return=i,i=i.child;continue}}if(i===e)return;for(;i.sibling===null;){if(i.return===null||i.return===e)return;a===i&&(a=null),i=i.return}a===i&&(a=null),i.sibling.return=i.return,i=i.sibling}}function Ib(e){var t=e.ref;if(t!==null){var a=e.stateNode,i;switch(e.tag){case Q:i=a;break;default:i=a}if(typeof t=="function"){var o;if(e.mode&ze)try{gl(),o=t(i)}finally{yl(e)}else o=t(i);typeof o=="function"&&S("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Qe(e))}else t.hasOwnProperty("current")||S("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Qe(e)),t.current=i}}function CO(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function Yb(e){var t=e.alternate;t!==null&&(e.alternate=null,Yb(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===Q){var a=e.stateNode;a!==null&&_k(a)}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}}function EO(e){for(var t=e.return;t!==null;){if(Qb(t))return t;t=t.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 Qb(e){return e.tag===Q||e.tag===W||e.tag===ne}function Wb(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||Qb(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==Q&&t.tag!==oe&&t.tag!==zt;){if(t.flags&Ft||t.child===null||t.tag===ne)continue e;t.child.return=t,t=t.child}if(!(t.flags&Ft))return t.stateNode}}function bO(e){var t=EO(e);switch(t.tag){case Q:{var a=t.stateNode;t.flags&St&&(GC(a),t.flags&=~St);var i=Wb(e);OS(e,i,a);break}case W:case ne:{var o=t.stateNode.containerInfo,s=Wb(e);DS(e,s,o);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function DS(e,t,a){var i=e.tag,o=i===Q||i===oe;if(o){var s=e.stateNode;t?B_(a,s,t):P_(a,s)}else if(i!==ne){var d=e.child;if(d!==null){DS(d,t,a);for(var h=d.sibling;h!==null;)DS(h,t,a),h=h.sibling}}}function OS(e,t,a){var i=e.tag,o=i===Q||i===oe;if(o){var s=e.stateNode;t?V_(a,s,t):j_(a,s)}else if(i!==ne){var d=e.child;if(d!==null){OS(d,t,a);for(var h=d.sibling;h!==null;)OS(h,t,a),h=h.sibling}}}var Sr=null,Ai=!1;function TO(e,t,a){{var i=t;e:for(;i!==null;){switch(i.tag){case Q:{Sr=i.stateNode,Ai=!1;break e}case W:{Sr=i.stateNode.containerInfo,Ai=!0;break e}case ne:{Sr=i.stateNode.containerInfo,Ai=!0;break e}}i=i.return}if(Sr===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Gb(e,t,a),Sr=null,Ai=!1}CO(a)}function mu(e,t,a){for(var i=a.child;i!==null;)Gb(e,t,i),i=i.sibling}function Gb(e,t,a){switch(bd(a),a.tag){case Q:gr||Rf(a,t);case oe:{{var i=Sr,o=Ai;Sr=null,mu(e,t,a),Sr=i,Ai=o,Sr!==null&&(Ai?I_(Sr,a.stateNode):$_(Sr,a.stateNode))}return}case zt:{Sr!==null&&(Ai?Y_(Sr,a.stateNode):Vg(Sr,a.stateNode));return}case ne:{{var s=Sr,d=Ai;Sr=a.stateNode.containerInfo,Ai=!0,mu(e,t,a),Sr=s,Ai=d}return}case O:case he:case at:case $e:{if(!gr){var h=a.updateQueue;if(h!==null){var y=h.lastEffect;if(y!==null){var E=y.next,b=E;do{var D=b,_=D.destroy,U=D.tag;_!==void 0&&((U&vl)!==Ra?Qm(a,t,_):(U&Wn)!==Ra&&(pc(a),a.mode&ze?(gl(),Qm(a,t,_),yl(a)):Qm(a,t,_),Uo())),b=b.next}while(b!==E)}}}mu(e,t,a);return}case j:{if(!gr){Rf(a,t);var F=a.stateNode;typeof F.componentWillUnmount=="function"&&kS(a,t,F)}mu(e,t,a);return}case Zt:{mu(e,t,a);return}case Ve:{if(a.mode&Je){var P=gr;gr=P||a.memoizedState!==null,mu(e,t,a),gr=P}else mu(e,t,a);break}default:{mu(e,t,a);return}}}function RO(e){e.memoizedState}function wO(e,t){var a=t.memoizedState;if(a===null){var i=t.alternate;if(i!==null){var o=i.memoizedState;if(o!==null){var s=o.dehydrated;s!==null&&ck(s)}}}}function qb(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var a=e.stateNode;a===null&&(a=e.stateNode=new uO),t.forEach(function(i){var o=EM.bind(null,e,i);if(!a.has(i)){if(a.add(i),In)if(bf!==null&&Tf!==null)Qp(Tf,bf);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");i.then(o,o)}})}}function xO(e,t,a){bf=a,Tf=e,wt(t),Xb(t,e),wt(t),bf=null,Tf=null}function Ui(e,t,a){var i=t.deletions;if(i!==null)for(var o=0;o<i.length;o++){var s=i[o];try{TO(e,t,s)}catch(y){Vt(s,t,y)}}var d=Py();if(t.subtreeFlags&Dr)for(var h=t.child;h!==null;)wt(h),Xb(h,e),h=h.sibling;wt(d)}function Xb(e,t,a){var i=e.alternate,o=e.flags;switch(e.tag){case O:case he:case at:case $e:{if(Ui(t,e),Sl(e),o&We){try{zi(vl|Qn,e,e.return),hu(vl|Qn,e)}catch(Fe){Vt(e,e.return,Fe)}if(e.mode&ze){try{gl(),zi(Wn|Qn,e,e.return)}catch(Fe){Vt(e,e.return,Fe)}yl(e)}else try{zi(Wn|Qn,e,e.return)}catch(Fe){Vt(e,e.return,Fe)}}return}case j:{Ui(t,e),Sl(e),o&xr&&i!==null&&Rf(i,i.return);return}case Q:{Ui(t,e),Sl(e),o&xr&&i!==null&&Rf(i,i.return);{if(e.flags&St){var s=e.stateNode;try{GC(s)}catch(Fe){Vt(e,e.return,Fe)}}if(o&We){var d=e.stateNode;if(d!=null){var h=e.memoizedProps,y=i!==null?i.memoizedProps:h,E=e.type,b=e.updateQueue;if(e.updateQueue=null,b!==null)try{F_(d,b,E,y,h,e)}catch(Fe){Vt(e,e.return,Fe)}}}}return}case oe:{if(Ui(t,e),Sl(e),o&We){if(e.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 D=e.stateNode,_=e.memoizedProps,U=i!==null?i.memoizedProps:_;try{H_(D,U,_)}catch(Fe){Vt(e,e.return,Fe)}}return}case W:{if(Ui(t,e),Sl(e),o&We&&i!==null){var F=i.memoizedState;if(F.isDehydrated)try{sk(t.containerInfo)}catch(Fe){Vt(e,e.return,Fe)}}return}case ne:{Ui(t,e),Sl(e);return}case Y:{Ui(t,e),Sl(e);var P=e.child;if(P.flags&Xi){var de=P.stateNode,De=P.memoizedState,Re=De!==null;if(de.isHidden=Re,Re){var ut=P.alternate!==null&&P.alternate.memoizedState!==null;ut||lM()}}if(o&We){try{RO(e)}catch(Fe){Vt(e,e.return,Fe)}qb(e)}return}case Ve:{var rt=i!==null&&i.memoizedState!==null;if(e.mode&Je){var L=gr;gr=L||rt,Ui(t,e),gr=L}else Ui(t,e);if(Sl(e),o&Xi){var V=e.stateNode,z=e.memoizedState,Z=z!==null,pe=e;if(V.isHidden=Z,Z&&!rt&&(pe.mode&Je)!==Me){Ce=pe;for(var se=pe.child;se!==null;)Ce=se,kO(se),se=se.sibling}SO(pe,Z)}return}case vt:{Ui(t,e),Sl(e),o&We&&qb(e);return}case Zt:return;default:{Ui(t,e),Sl(e);return}}}function Sl(e){var t=e.flags;if(t&Ft){try{bO(e)}catch(a){Vt(e,e.return,a)}e.flags&=~Ft}t&pa&&(e.flags&=~pa)}function _O(e,t,a){bf=a,Tf=t,Ce=e,Kb(e,t,a),bf=null,Tf=null}function Kb(e,t,a){for(var i=(e.mode&Je)!==Me;Ce!==null;){var o=Ce,s=o.child;if(o.tag===Ve&&i){var d=o.memoizedState!==null,h=d||Ym;if(h){MS(e,t,a);continue}else{var y=o.alternate,E=y!==null&&y.memoizedState!==null,b=E||gr,D=Ym,_=gr;Ym=h,gr=b,gr&&!_&&(Ce=o,DO(o));for(var U=s;U!==null;)Ce=U,Kb(U,t,a),U=U.sibling;Ce=o,Ym=D,gr=_,MS(e,t,a);continue}}(o.subtreeFlags&ir)!==ke&&s!==null?(s.return=o,Ce=s):MS(e,t,a)}}function MS(e,t,a){for(;Ce!==null;){var i=Ce;if((i.flags&ir)!==ke){var o=i.alternate;wt(i);try{yO(t,o,i,a)}catch(d){Vt(i,i.return,d)}En()}if(i===e){Ce=null;return}var s=i.sibling;if(s!==null){s.return=i.return,Ce=s;return}Ce=i.return}}function kO(e){for(;Ce!==null;){var t=Ce,a=t.child;switch(t.tag){case O:case he:case at:case $e:{if(t.mode&ze)try{gl(),zi(Wn,t,t.return)}finally{yl(t)}else zi(Wn,t,t.return);break}case j:{Rf(t,t.return);var i=t.stateNode;typeof i.componentWillUnmount=="function"&&kS(t,t.return,i);break}case Q:{Rf(t,t.return);break}case Ve:{var o=t.memoizedState!==null;if(o){Zb(e);continue}break}}a!==null?(a.return=t,Ce=a):Zb(e)}}function Zb(e){for(;Ce!==null;){var t=Ce;if(t===e){Ce=null;return}var a=t.sibling;if(a!==null){a.return=t.return,Ce=a;return}Ce=t.return}}function DO(e){for(;Ce!==null;){var t=Ce,a=t.child;if(t.tag===Ve){var i=t.memoizedState!==null;if(i){Jb(e);continue}}a!==null?(a.return=t,Ce=a):Jb(e)}}function Jb(e){for(;Ce!==null;){var t=Ce;wt(t);try{gO(t)}catch(i){Vt(t,t.return,i)}if(En(),t===e){Ce=null;return}var a=t.sibling;if(a!==null){a.return=t.return,Ce=a;return}Ce=t.return}}function OO(e,t,a,i){Ce=t,MO(t,e,a,i)}function MO(e,t,a,i){for(;Ce!==null;){var o=Ce,s=o.child;(o.subtreeFlags&va)!==ke&&s!==null?(s.return=o,Ce=s):NO(e,t,a,i)}}function NO(e,t,a,i){for(;Ce!==null;){var o=Ce;if((o.flags&It)!==ke){wt(o);try{LO(t,o,a,i)}catch(d){Vt(o,o.return,d)}En()}if(o===e){Ce=null;return}var s=o.sibling;if(s!==null){s.return=o.return,Ce=s;return}Ce=o.return}}function LO(e,t,a,i){switch(t.tag){case O:case he:case $e:{if(t.mode&ze){uS();try{hu(mr|Qn,t)}finally{oS(t)}}else hu(mr|Qn,t);break}}}function zO(e){Ce=e,AO()}function AO(){for(;Ce!==null;){var e=Ce,t=e.child;if((Ce.flags>)!==ke){var a=e.deletions;if(a!==null){for(var i=0;i<a.length;i++){var o=a[i];Ce=o,HO(o,e)}{var s=e.alternate;if(s!==null){var d=s.child;if(d!==null){s.child=null;do{var h=d.sibling;d.sibling=null,d=h}while(d!==null)}}}Ce=e}}(e.subtreeFlags&va)!==ke&&t!==null?(t.return=e,Ce=t):UO()}}function UO(){for(;Ce!==null;){var e=Ce;(e.flags&It)!==ke&&(wt(e),FO(e),En());var t=e.sibling;if(t!==null){t.return=e.return,Ce=t;return}Ce=e.return}}function FO(e){switch(e.tag){case O:case he:case $e:{e.mode&ze?(uS(),zi(mr|Qn,e,e.return),oS(e)):zi(mr|Qn,e,e.return);break}}}function HO(e,t){for(;Ce!==null;){var a=Ce;wt(a),PO(a,t),En();var i=a.child;i!==null?(i.return=a,Ce=i):jO(e)}}function jO(e){for(;Ce!==null;){var t=Ce,a=t.sibling,i=t.return;if(Yb(t),t===e){Ce=null;return}if(a!==null){a.return=i,Ce=a;return}Ce=i}}function PO(e,t){switch(e.tag){case O:case he:case $e:{e.mode&ze?(uS(),zi(mr,e,t),oS(e)):zi(mr,e,t);break}}}function VO(e){switch(e.tag){case O:case he:case $e:{try{hu(Wn|Qn,e)}catch(a){Vt(e,e.return,a)}break}case j:{var t=e.stateNode;try{t.componentDidMount()}catch(a){Vt(e,e.return,a)}break}}}function BO(e){switch(e.tag){case O:case he:case $e:{try{hu(mr|Qn,e)}catch(t){Vt(e,e.return,t)}break}}}function $O(e){switch(e.tag){case O:case he:case $e:{try{zi(Wn|Qn,e,e.return)}catch(a){Vt(e,e.return,a)}break}case j:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&kS(e,e.return,t);break}}}function IO(e){switch(e.tag){case O:case he:case $e:try{zi(mr|Qn,e,e.return)}catch(t){Vt(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var Ap=Symbol.for;Ap("selector.component"),Ap("selector.has_pseudo_class"),Ap("selector.role"),Ap("selector.test_id"),Ap("selector.text")}var YO=[];function QO(){YO.forEach(function(e){return e()})}var WO=p.ReactCurrentActQueue;function GO(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,a=typeof jest<"u";return a&&t!==!1}}function eT(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&WO.current!==null&&S("The current testing environment is not configured to support act(...)"),e}}var qO=Math.ceil,NS=p.ReactCurrentDispatcher,LS=p.ReactCurrentOwner,Cr=p.ReactCurrentBatchConfig,Fi=p.ReactCurrentActQueue,Xn=0,tT=1,Er=2,li=4,po=0,Up=1,ws=2,Wm=3,Fp=4,nT=5,zS=6,ot=Xn,Zr=null,fn=null,Kn=B,Cl=B,AS=lu(B),Zn=po,Hp=null,Gm=B,jp=B,qm=B,Pp=null,wa=null,US=0,rT=500,aT=1/0,XO=500,vo=null;function Vp(){aT=Wt()+XO}function iT(){return aT}var Xm=!1,FS=null,wf=null,xs=!1,yu=null,Bp=B,HS=[],jS=null,KO=50,$p=0,PS=null,VS=!1,Km=!1,ZO=50,xf=0,Zm=null,Ip=Lt,Jm=B,lT=!1;function ey(){return Zr}function Jr(){return(ot&(Er|li))!==Xn?Wt():(Ip!==Lt||(Ip=Wt()),Ip)}function gu(e){var t=e.mode;if((t&Je)===Me)return Ue;if((ot&Er)!==Xn&&Kn!==B)return Tn(Kn);var a=Gk()!==Wk;if(a){if(Cr.transition!==null){var i=Cr.transition;i._updatedFibers||(i._updatedFibers=new Set),i._updatedFibers.add(e)}return Jm===lt&&(Jm=Od()),Jm}var o=ga();if(o!==lt)return o;var s=N_();return s}function JO(e){var t=e.mode;return(t&Je)===Me?Ue:ug()}function Jn(e,t,a,i){TM(),lT&&S("useInsertionEffect must not schedule updates."),VS&&(Km=!0),ql(e,a,i),(ot&Er)!==B&&e===Zr?xM(t):(In&&Ad(e,t,a),_M(t),e===Zr&&((ot&Er)===Xn&&(jp=Ge(jp,a)),Zn===Fp&&Su(e,Kn)),xa(e,i),a===Ue&&ot===Xn&&(t.mode&Je)===Me&&!Fi.isBatchingLegacy&&(Vp(),iE()))}function eM(e,t,a){var i=e.current;i.lanes=t,ql(e,t,a),xa(e,a)}function tM(e){return(ot&Er)!==Xn}function xa(e,t){var a=e.callbackNode;ig(e,t);var i=Ku(e,e===Zr?Kn:B);if(i===B){a!==null&&bT(a),e.callbackNode=null,e.callbackPriority=lt;return}var o=yn(i),s=e.callbackPriority;if(s===o&&!(Fi.current!==null&&a!==GS)){a==null&&s!==Ue&&S("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}a!=null&&bT(a);var d;if(o===Ue)e.tag===ou?(Fi.isBatchingLegacy!==null&&(Fi.didScheduleLegacyUpdate=!0),Ok(sT.bind(null,e))):aE(sT.bind(null,e)),Fi.current!==null?Fi.current.push(uu):z_(function(){(ot&(Er|li))===Xn&&uu()}),d=null;else{var h;switch(ns(i)){case lr:h=sc;break;case Yn:h=Gr;break;case bi:h=Xa;break;case es:h=Zi;break;default:h=Xa;break}d=qS(h,oT.bind(null,e))}e.callbackPriority=o,e.callbackNode=d}function oT(e,t){if(TD(),Ip=Lt,Jm=B,(ot&(Er|li))!==Xn)throw new Error("Should not already be working.");var a=e.callbackNode,i=mo();if(i&&e.callbackNode!==a)return null;var o=Ku(e,e===Zr?Kn:B);if(o===B)return null;var s=!Ju(e,o)&&!dh(e,o)&&!t,d=s?fM(e,o):ny(e,o);if(d!==po){if(d===ws){var h=kd(e);h!==B&&(o=h,d=BS(e,h))}if(d===Up){var y=Hp;throw _s(e,B),Su(e,o),xa(e,Wt()),y}if(d===zS)Su(e,o);else{var E=!Ju(e,o),b=e.current.alternate;if(E&&!rM(b)){if(d=ny(e,o),d===ws){var D=kd(e);D!==B&&(o=D,d=BS(e,D))}if(d===Up){var _=Hp;throw _s(e,B),Su(e,o),xa(e,Wt()),_}}e.finishedWork=b,e.finishedLanes=o,nM(e,d,o)}}return xa(e,Wt()),e.callbackNode===a?oT.bind(null,e):null}function BS(e,t){var a=Pp;if(wn(e)){var i=_s(e,t);i.flags|=en,Tk(e.containerInfo)}var o=ny(e,t);if(o!==ws){var s=wa;wa=a,s!==null&&uT(s)}return o}function uT(e){wa===null?wa=e:wa.push.apply(wa,e)}function nM(e,t,a){switch(t){case po:case Up:throw new Error("Root did not complete. This is a bug in React.");case ws:{ks(e,wa,vo);break}case Wm:{if(Su(e,a),Lc(a)&&!TT()){var i=US+rT-Wt();if(i>10){var o=Ku(e,B);if(o!==B)break;var s=e.suspendedLanes;if(!Gl(s,a)){Jr(),Ld(e,s);break}e.timeoutHandle=jg(ks.bind(null,e,wa,vo),i);break}}ks(e,wa,vo);break}case Fp:{if(Su(e,a),fh(a))break;if(!TT()){var d=ch(e,a),h=d,y=Wt()-h,E=bM(y)-y;if(E>10){e.timeoutHandle=jg(ks.bind(null,e,wa,vo),E);break}}ks(e,wa,vo);break}case nT:{ks(e,wa,vo);break}default:throw new Error("Unknown root exit status.")}}function rM(e){for(var t=e;;){if(t.flags&Iu){var a=t.updateQueue;if(a!==null){var i=a.stores;if(i!==null)for(var o=0;o<i.length;o++){var s=i[o],d=s.getSnapshot,h=s.value;try{if(!Se(d(),h))return!1}catch{return!1}}}}var y=t.child;if(t.subtreeFlags&Iu&&y!==null){y.return=t,t=y;continue}if(t===e)return!0;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}return!0}function Su(e,t){t=$o(t,qm),t=$o(t,jp),Nd(e,t)}function sT(e){if(RD(),(ot&(Er|li))!==Xn)throw new Error("Should not already be working.");mo();var t=Ku(e,B);if(!Lr(t,Ue))return xa(e,Wt()),null;var a=ny(e,t);if(e.tag!==ou&&a===ws){var i=kd(e);i!==B&&(t=i,a=BS(e,i))}if(a===Up){var o=Hp;throw _s(e,B),Su(e,t),xa(e,Wt()),o}if(a===zS)throw new Error("Root did not complete. This is a bug in React.");var s=e.current.alternate;return e.finishedWork=s,e.finishedLanes=t,ks(e,wa,vo),xa(e,Wt()),null}function aM(e,t){t!==B&&(Io(e,Ge(t,Ue)),xa(e,Wt()),(ot&(Er|li))===Xn&&(Vp(),uu()))}function $S(e,t){var a=ot;ot|=tT;try{return e(t)}finally{ot=a,ot===Xn&&!Fi.isBatchingLegacy&&(Vp(),iE())}}function iM(e,t,a,i,o){var s=ga(),d=Cr.transition;try{return Cr.transition=null,Rn(lr),e(t,a,i,o)}finally{Rn(s),Cr.transition=d,ot===Xn&&Vp()}}function ho(e){yu!==null&&yu.tag===ou&&(ot&(Er|li))===Xn&&mo();var t=ot;ot|=tT;var a=Cr.transition,i=ga();try{return Cr.transition=null,Rn(lr),e?e():void 0}finally{Rn(i),Cr.transition=a,ot=t,(ot&(Er|li))===Xn&&uu()}}function cT(){return(ot&(Er|li))!==Xn}function ty(e,t){Ar(AS,Cl,e),Cl=Ge(Cl,t)}function IS(e){Cl=AS.current,zr(AS,e)}function _s(e,t){e.finishedWork=null,e.finishedLanes=B;var a=e.timeoutHandle;if(a!==Pg&&(e.timeoutHandle=Pg,L_(a)),fn!==null)for(var i=fn.return;i!==null;){var o=i.alternate;jb(o,i),i=i.return}Zr=e;var s=Ds(e.current,null);return fn=s,Kn=Cl=t,Zn=po,Hp=null,Gm=B,jp=B,qm=B,Pp=null,wa=null,Zk(),Di.discardPendingWarnings(),s}function fT(e,t){do{var a=fn;try{if(sm(),VE(),En(),LS.current=null,a===null||a.return===null){Zn=Up,Hp=t,fn=null;return}if(ln&&a.mode&ze&&Vm(a,!0),aa)if(jl(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var i=t;oh(a,i,Kn)}else vc(a,t,Kn);DD(e,a.return,a,t,Kn),hT(a)}catch(o){t=o,fn===a&&a!==null?(a=a.return,fn=a):a=fn;continue}return}while(!0)}function dT(){var e=NS.current;return NS.current=Um,e===null?Um:e}function pT(e){NS.current=e}function lM(){US=Wt()}function Yp(e){Gm=Ge(e,Gm)}function oM(){Zn===po&&(Zn=Wm)}function YS(){(Zn===po||Zn===Wm||Zn===ws)&&(Zn=Fp),Zr!==null&&(Zu(Gm)||Zu(jp))&&Su(Zr,Kn)}function uM(e){Zn!==Fp&&(Zn=ws),Pp===null?Pp=[e]:Pp.push(e)}function sM(){return Zn===po}function ny(e,t){var a=ot;ot|=Er;var i=dT();if(Zr!==e||Kn!==t){if(In){var o=e.memoizedUpdaters;o.size>0&&(Qp(e,Kn),o.clear()),Uc(e,t)}vo=Ud(),_s(e,t)}ja(t);do try{cM();break}catch(s){fT(e,s)}while(!0);if(sm(),ot=a,pT(i),fn!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return Ho(),Zr=null,Kn=B,Zn}function cM(){for(;fn!==null;)vT(fn)}function fM(e,t){var a=ot;ot|=Er;var i=dT();if(Zr!==e||Kn!==t){if(In){var o=e.memoizedUpdaters;o.size>0&&(Qp(e,Kn),o.clear()),Uc(e,t)}vo=Ud(),Vp(),_s(e,t)}ja(t);do try{dM();break}catch(s){fT(e,s)}while(!0);return sm(),pT(i),ot=a,fn!==null?(Wu(),po):(Ho(),Zr=null,Kn=B,Zn)}function dM(){for(;fn!==null&&!uc();)vT(fn)}function vT(e){var t=e.alternate;wt(e);var a;(e.mode&ze)!==Me?(lS(e),a=QS(t,e,Cl),Vm(e,!0)):a=QS(t,e,Cl),En(),e.memoizedProps=e.pendingProps,a===null?hT(e):fn=a,LS.current=null}function hT(e){var t=e;do{var a=t.alternate,i=t.return;if((t.flags&Yr)===ke){wt(t);var o=void 0;if((t.mode&ze)===Me?o=Hb(a,t,Cl):(lS(t),o=Hb(a,t,Cl),Vm(t,!1)),En(),o!==null){fn=o;return}}else{var s=oO(a,t);if(s!==null){s.flags&=Zv,fn=s;return}if((t.mode&ze)!==Me){Vm(t,!1);for(var d=t.actualDuration,h=t.child;h!==null;)d+=h.actualDuration,h=h.sibling;t.actualDuration=d}if(i!==null)i.flags|=Yr,i.subtreeFlags=ke,i.deletions=null;else{Zn=zS,fn=null;return}}var y=t.sibling;if(y!==null){fn=y;return}t=i,fn=t}while(t!==null);Zn===po&&(Zn=nT)}function ks(e,t,a){var i=ga(),o=Cr.transition;try{Cr.transition=null,Rn(lr),pM(e,t,a,i)}finally{Cr.transition=o,Rn(i)}return null}function pM(e,t,a,i){do mo();while(yu!==null);if(RM(),(ot&(Er|li))!==Xn)throw new Error("Should not already be working.");var o=e.finishedWork,s=e.finishedLanes;if(fc(s),o===null)return Td(),null;if(s===B&&S("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=B,o===e.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.");e.callbackNode=null,e.callbackPriority=lt;var d=Ge(o.lanes,o.childLanes);zd(e,d),e===Zr&&(Zr=null,fn=null,Kn=B),((o.subtreeFlags&va)!==ke||(o.flags&va)!==ke)&&(xs||(xs=!0,jS=a,qS(Xa,function(){return mo(),null})));var h=(o.subtreeFlags&(Ao|Dr|ir|va))!==ke,y=(o.flags&(Ao|Dr|ir|va))!==ke;if(h||y){var E=Cr.transition;Cr.transition=null;var b=ga();Rn(lr);var D=ot;ot|=li,LS.current=null,dO(e,o),db(),xO(e,o,s),x_(e.containerInfo),e.current=o,uh(s),_O(o,e,s),Fo(),th(),ot=D,Rn(b),Cr.transition=E}else e.current=o,db();var _=xs;if(xs?(xs=!1,yu=e,Bp=s):(xf=0,Zm=null),d=e.pendingLanes,d===B&&(wf=null),_||ST(e.current,!1),Si(o.stateNode,i),In&&e.memoizedUpdaters.clear(),QO(),xa(e,Wt()),t!==null)for(var U=e.onRecoverableError,F=0;F<t.length;F++){var P=t[F],de=P.stack,De=P.digest;U(P.value,{componentStack:de,digest:De})}if(Xm){Xm=!1;var Re=FS;throw FS=null,Re}return Lr(Bp,Ue)&&e.tag!==ou&&mo(),d=e.pendingLanes,Lr(d,Ue)?(bD(),e===PS?$p++:($p=0,PS=e)):$p=0,uu(),Td(),null}function mo(){if(yu!==null){var e=ns(Bp),t=cg(bi,e),a=Cr.transition,i=ga();try{return Cr.transition=null,Rn(t),hM()}finally{Rn(i),Cr.transition=a}}return!1}function vM(e){HS.push(e),xs||(xs=!0,qS(Xa,function(){return mo(),null}))}function hM(){if(yu===null)return!1;var e=jS;jS=null;var t=yu,a=Bp;if(yu=null,Bp=B,(ot&(Er|li))!==Xn)throw new Error("Cannot flush passive effects while already rendering.");VS=!0,Km=!1,sh(a);var i=ot;ot|=li,zO(t.current),OO(t,t.current,a,e);{var o=HS;HS=[];for(var s=0;s<o.length;s++){var d=o[s];mO(t,d)}}Qu(),ST(t.current,!0),ot=i,uu(),Km?t===Zm?xf++:(xf=0,Zm=t):xf=0,VS=!1,Km=!1,el(t);{var h=t.current.stateNode;h.effectDuration=0,h.passiveEffectDuration=0}return!0}function mT(e){return wf!==null&&wf.has(e)}function mM(e){wf===null?wf=new Set([e]):wf.add(e)}function yM(e){Xm||(Xm=!0,FS=e)}var gM=yM;function yT(e,t,a){var i=Ts(a,t),o=vb(e,i,Ue),s=cu(e,o,Ue),d=Jr();s!==null&&(ql(s,Ue,d),xa(s,d))}function Vt(e,t,a){if(sO(a),Wp(!1),e.tag===W){yT(e,e,a);return}var i=null;for(i=t;i!==null;){if(i.tag===W){yT(i,e,a);return}else if(i.tag===j){var o=i.type,s=i.stateNode;if(typeof o.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&!mT(s)){var d=Ts(a,e),h=dS(i,d,Ue),y=cu(i,h,Ue),E=Jr();y!==null&&(ql(y,Ue,E),xa(y,E));return}}i=i.return}S(`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
162
|
|
|
163
163
|
Error message:
|
|
164
164
|
|
|
165
|
-
%s`,
|
|
165
|
+
%s`,a)}function SM(e,t,a){var i=e.pingCache;i!==null&&i.delete(t);var o=Jr();Ld(e,a),kM(e),Zr===e&&Gl(Kn,a)&&(Zn===Fp||Zn===Wm&&Lc(Kn)&&Wt()-US<rT?_s(e,B):qm=Ge(qm,a)),xa(e,o)}function gT(e,t){t===lt&&(t=JO(e));var a=Jr(),i=Ta(e,t);i!==null&&(ql(i,t,a),xa(i,a))}function CM(e){var t=e.memoizedState,a=lt;t!==null&&(a=t.retryLane),gT(e,a)}function EM(e,t){var a=lt,i;switch(e.tag){case Y:i=e.stateNode;var o=e.memoizedState;o!==null&&(a=o.retryLane);break;case vt:i=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}i!==null&&i.delete(t),gT(e,a)}function bM(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:qO(e/1960)*1960}function TM(){if($p>KO)throw $p=0,PS=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.");xf>ZO&&(xf=0,Zm=null,S("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 RM(){Di.flushLegacyContextWarning(),Di.flushPendingUnsafeLifecycleWarnings()}function ST(e,t){wt(e),ry(e,kr,$O),t&&ry(e,Hl,IO),ry(e,kr,VO),t&&ry(e,Hl,BO),En()}function ry(e,t,a){for(var i=e,o=null;i!==null;){var s=i.subtreeFlags&t;i!==o&&i.child!==null&&s!==ke?i=i.child:((i.flags&t)!==ke&&a(i),i.sibling!==null?i=i.sibling:i=o=i.return)}}var ay=null;function CT(e){{if((ot&Er)!==Xn||!(e.mode&Je))return;var t=e.tag;if(t!==ee&&t!==W&&t!==j&&t!==O&&t!==he&&t!==at&&t!==$e)return;var a=Qe(e)||"ReactComponent";if(ay!==null){if(ay.has(a))return;ay.add(a)}else ay=new Set([a]);var i=hn;try{wt(e),S("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{i?wt(e):En()}}}var QS;{var wM=null;QS=function(e,t,a){var i=kT(wM,t);try{return Lb(e,t,a)}catch(s){if(Hk()||s!==null&&typeof s=="object"&&typeof s.then=="function")throw s;if(sm(),VE(),jb(e,t),kT(t,i),t.mode&ze&&lS(t),Fl(null,Lb,null,e,t,a),rg()){var o=dd();typeof o=="object"&&o!==null&&o._suppressLogging&&typeof s=="object"&&s!==null&&!s._suppressLogging&&(s._suppressLogging=!0)}throw s}}}var ET=!1,WS;WS=new Set;function xM(e){if(ua&&!SD())switch(e.tag){case O:case he:case $e:{var t=fn&&Qe(fn)||"Unknown",a=t;if(!WS.has(a)){WS.add(a);var i=Qe(e)||"Unknown";S("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",i,t,t)}break}case j:{ET||(S("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),ET=!0);break}}}function Qp(e,t){if(In){var a=e.memoizedUpdaters;a.forEach(function(i){Ad(e,i,t)})}}var GS={};function qS(e,t){{var a=Fi.current;return a!==null?(a.push(t),GS):oc(e,t)}}function bT(e){if(e!==GS)return eh(e)}function TT(){return Fi.current!==null}function _M(e){{if(e.mode&Je){if(!eT())return}else if(!GO()||ot!==Xn||e.tag!==O&&e.tag!==he&&e.tag!==$e)return;if(Fi.current===null){var t=hn;try{wt(e),S(`An update to %s inside a test was not wrapped in act(...).
|
|
166
166
|
|
|
167
167
|
When testing, code that causes React state updates should be wrapped into act(...):
|
|
168
168
|
|
|
@@ -171,7 +171,7 @@ act(() => {
|
|
|
171
171
|
});
|
|
172
172
|
/* assert on the output */
|
|
173
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`,
|
|
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`,Qe(e))}finally{t?wt(e):En()}}}}function kM(e){e.tag!==ou&&eT()&&Fi.current===null&&S(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
175
175
|
|
|
176
176
|
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
177
177
|
|
|
@@ -180,41 +180,12 @@ act(() => {
|
|
|
180
180
|
});
|
|
181
181
|
/* assert on the output */
|
|
182
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
|
|
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 Wp(e){lT=e}var oi=null,_f=null,DM=function(e){oi=e};function kf(e){{if(oi===null)return e;var t=oi(e);return t===void 0?e:t.current}}function XS(e){return kf(e)}function KS(e){{if(oi===null)return e;var t=oi(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var a=kf(e.render);if(e.render!==a){var i={$$typeof:Oe,render:a};return e.displayName!==void 0&&(i.displayName=e.displayName),i}}return e}return t.current}}function RT(e,t){{if(oi===null)return!1;var a=e.elementType,i=t.type,o=!1,s=typeof i=="object"&&i!==null?i.$$typeof:null;switch(e.tag){case j:{typeof i=="function"&&(o=!0);break}case O:{(typeof i=="function"||s===Le)&&(o=!0);break}case he:{(s===Oe||s===Le)&&(o=!0);break}case at:case $e:{(s===Xe||s===Le)&&(o=!0);break}default:return!1}if(o){var d=oi(a);if(d!==void 0&&d===oi(i))return!0}return!1}}function wT(e){{if(oi===null||typeof WeakSet!="function")return;_f===null&&(_f=new WeakSet),_f.add(e)}}var OM=function(e,t){{if(oi===null)return;var a=t.staleFamilies,i=t.updatedFamilies;mo(),ho(function(){ZS(e.current,i,a)})}},MM=function(e,t){{if(e.context!==Va)return;mo(),ho(function(){Gp(t,e,null,null)})}};function ZS(e,t,a){{var i=e.alternate,o=e.child,s=e.sibling,d=e.tag,h=e.type,y=null;switch(d){case O:case $e:case j:y=h;break;case he:y=h.render;break}if(oi===null)throw new Error("Expected resolveFamily to be set during hot reload.");var E=!1,b=!1;if(y!==null){var D=oi(y);D!==void 0&&(a.has(D)?b=!0:t.has(D)&&(d===j?b=!0:E=!0))}if(_f!==null&&(_f.has(e)||i!==null&&_f.has(i))&&(b=!0),b&&(e._debugNeedsRemount=!0),b||E){var _=Ta(e,Ue);_!==null&&Jn(_,e,Ue,Lt)}o!==null&&!b&&ZS(o,t,a),s!==null&&ZS(s,t,a)}}var NM=function(e,t){{var a=new Set,i=new Set(t.map(function(o){return o.current}));return JS(e.current,i,a),a}};function JS(e,t,a){{var i=e.child,o=e.sibling,s=e.tag,d=e.type,h=null;switch(s){case O:case $e:case j:h=d;break;case he:h=d.render;break}var y=!1;h!==null&&t.has(h)&&(y=!0),y?LM(e,a):i!==null&&JS(i,t,a),o!==null&&JS(o,t,a)}}function LM(e,t){{var a=zM(e,t);if(a)return;for(var i=e;;){switch(i.tag){case Q:t.add(i.stateNode);return;case ne:t.add(i.stateNode.containerInfo);return;case W:t.add(i.stateNode.containerInfo);return}if(i.return===null)throw new Error("Expected to reach root first.");i=i.return}}}function zM(e,t){for(var a=e,i=!1;;){if(a.tag===Q)i=!0,t.add(a.stateNode);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)return i;for(;a.sibling===null;){if(a.return===null||a.return===e)return i;a=a.return}a.sibling.return=a.return,a=a.sibling}return!1}var e1;{e1=!1;try{var xT=Object.preventExtensions({})}catch{e1=!0}}function AM(e,t,a,i){this.tag=e,this.key=a,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=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=i,this.flags=ke,this.subtreeFlags=ke,this.deletions=null,this.lanes=B,this.childLanes=B,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,!e1&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var Ba=function(e,t,a,i){return new AM(e,t,a,i)};function t1(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function UM(e){return typeof e=="function"&&!t1(e)&&e.defaultProps===void 0}function FM(e){if(typeof e=="function")return t1(e)?j:O;if(e!=null){var t=e.$$typeof;if(t===Oe)return he;if(t===Xe)return at}return ee}function Ds(e,t){var a=e.alternate;a===null?(a=Ba(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a._debugSource=e._debugSource,a._debugOwner=e._debugOwner,a._debugHookTypes=e._debugHookTypes,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=ke,a.subtreeFlags=ke,a.deletions=null,a.actualDuration=0,a.actualStartTime=-1),a.flags=e.flags&$n,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue;var i=e.dependencies;switch(a.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.selfBaseDuration=e.selfBaseDuration,a.treeBaseDuration=e.treeBaseDuration,a._debugNeedsRemount=e._debugNeedsRemount,a.tag){case ee:case O:case $e:a.type=kf(e.type);break;case j:a.type=XS(e.type);break;case he:a.type=KS(e.type);break}return a}function HM(e,t){e.flags&=$n|Ft;var a=e.alternate;if(a===null)e.childLanes=B,e.lanes=t,e.child=null,e.subtreeFlags=ke,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=ke,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type;var i=a.dependencies;e.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},e.selfBaseDuration=a.selfBaseDuration,e.treeBaseDuration=a.treeBaseDuration}return e}function jM(e,t,a){var i;return e===tm?(i=Je,t===!0&&(i|=Gt,i|=ma)):i=Me,In&&(i|=ze),Ba(W,null,null,i)}function n1(e,t,a,i,o,s){var d=ee,h=e;if(typeof e=="function")t1(e)?(d=j,h=XS(h)):h=kf(h);else if(typeof e=="string")d=Q;else{e:switch(e){case Na:return Cu(a.children,o,s,t);case Pi:d=Ee,o|=Gt,(o&Je)!==Me&&(o|=ma);break;case w:return PM(a,o,s,t);case qe:return VM(a,o,s,t);case dt:return BM(a,o,s,t);case $t:return _T(a,o,s,t);case dr:case On:case Vi:case Us:case Bt:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case X:d=Ae;break e;case le:d=it;break e;case Oe:d=he,h=KS(h);break e;case Xe:d=at;break e;case Le:d=Kt,h=null;break e}var y="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(y+=" 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 E=i?Qe(i):null;E&&(y+=`
|
|
184
184
|
|
|
185
|
-
Check the render method of \``+
|
|
185
|
+
Check the render method of \``+E+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+y))}}}var b=Ba(d,a,t,o);return b.elementType=e,b.type=h,b.lanes=s,b._debugOwner=i,b}function r1(e,t,a){var i=null;i=e._owner;var o=e.type,s=e.key,d=e.props,h=n1(o,s,d,i,t,a);return h._debugSource=e._source,h._debugOwner=e._owner,h}function Cu(e,t,a,i){var o=Ba(He,e,i,t);return o.lanes=a,o}function PM(e,t,a,i){typeof e.id!="string"&&S('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var o=Ba(Ne,e,i,t|ze);return o.elementType=w,o.lanes=a,o.stateNode={effectDuration:0,passiveEffectDuration:0},o}function VM(e,t,a,i){var o=Ba(Y,e,i,t);return o.elementType=qe,o.lanes=a,o}function BM(e,t,a,i){var o=Ba(vt,e,i,t);return o.elementType=dt,o.lanes=a,o}function _T(e,t,a,i){var o=Ba(Ve,e,i,t);o.elementType=$t,o.lanes=a;var s={isHidden:!1};return o.stateNode=s,o}function a1(e,t,a){var i=Ba(oe,e,null,t);return i.lanes=a,i}function $M(){var e=Ba(Q,null,null,Me);return e.elementType="DELETED",e}function IM(e){var t=Ba(zt,null,null,Me);return t.stateNode=e,t}function i1(e,t,a){var i=e.children!==null?e.children:[],o=Ba(ne,i,e.key,t);return o.lanes=a,o.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},o}function kT(e,t){return e===null&&(e=Ba(ee,null,null,Me)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function YM(e,t,a,i,o){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=Pg,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=lt,this.eventTimes=Ac(B),this.expirationTimes=Ac(Lt),this.pendingLanes=B,this.suspendedLanes=B,this.pingedLanes=B,this.expiredLanes=B,this.mutableReadLanes=B,this.finishedLanes=B,this.entangledLanes=B,this.entanglements=Ac(B),this.identifierPrefix=i,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var s=this.pendingUpdatersLaneMap=[],d=0;d<jt;d++)s.push(new Set)}switch(t){case tm:this._debugRootType=a?"hydrateRoot()":"createRoot()";break;case ou:this._debugRootType=a?"hydrate()":"render()";break}}function DT(e,t,a,i,o,s,d,h,y,E){var b=new YM(e,t,a,h,y),D=jM(t,s);b.current=D,D.stateNode=b;{var _={element:i,isDehydrated:a,cache:null,transitions:null,pendingSuspenseBoundaries:null};D.memoizedState=_}return p0(D),b}var l1="18.2.0";function QM(e,t,a){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return ka(i),{$$typeof:$r,key:i==null?null:""+i,children:e,containerInfo:t,implementation:a}}var o1,u1;o1=!1,u1={};function OT(e){if(!e)return Va;var t=fa(e),a=Dk(t);if(t.tag===j){var i=t.type;if(pl(i))return nE(t,i,a)}return a}function WM(e,t){{var a=fa(e);if(a===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var i=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+i)}var o=ha(a);if(o===null)return null;if(o.mode&Gt){var s=Qe(a)||"Component";if(!u1[s]){u1[s]=!0;var d=hn;try{wt(o),a.mode&Gt?S("%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",t,t,s):S("%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",t,t,s)}finally{d?wt(d):En()}}}return o.stateNode}}function MT(e,t,a,i,o,s,d,h){var y=!1,E=null;return DT(e,t,y,E,a,i,o,s,d)}function NT(e,t,a,i,o,s,d,h,y,E){var b=!0,D=DT(a,i,b,e,o,s,d,h,y);D.context=OT(null);var _=D.current,U=Jr(),F=gu(_),P=co(U,F);return P.callback=t??null,cu(_,P,F),eM(D,F,U),D}function Gp(e,t,a,i){nh(t,e);var o=t.current,s=Jr(),d=gu(o);Pl(d);var h=OT(a);t.context===null?t.context=h:t.pendingContext=h,ua&&hn!==null&&!o1&&(o1=!0,S(`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
186
|
|
|
187
|
-
Check the render method of %s.`,
|
|
187
|
+
Check the render method of %s.`,Qe(hn)||"Unknown"));var y=co(s,d);y.payload={element:e},i=i===void 0?null:i,i!==null&&(typeof i!="function"&&S("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",i),y.callback=i);var E=cu(o,y,d);return E!==null&&(Jn(E,o,d,s),vm(E,o,d)),d}function iy(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case Q:return t.child.stateNode;default:return t.child.stateNode}}function GM(e){switch(e.tag){case W:{var t=e.stateNode;if(wn(t)){var a=lg(t);aM(t,a)}break}case Y:{ho(function(){var o=Ta(e,Ue);if(o!==null){var s=Jr();Jn(o,e,Ue,s)}});var i=Ue;s1(e,i);break}}}function LT(e,t){var a=e.memoizedState;a!==null&&a.dehydrated!==null&&(a.retryLane=vh(a.retryLane,t))}function s1(e,t){LT(e,t);var a=e.alternate;a&<(a,t)}function qM(e){if(e.tag===Y){var t=jo,a=Ta(e,t);if(a!==null){var i=Jr();Jn(a,e,t,i)}s1(e,t)}}function XM(e){if(e.tag===Y){var t=gu(e),a=Ta(e,t);if(a!==null){var i=Jr();Jn(a,e,t,i)}s1(e,t)}}function zT(e){var t=Jv(e);return t===null?null:t.stateNode}var AT=function(e){return null};function KM(e){return AT(e)}var UT=function(e){return!1};function ZM(e){return UT(e)}var FT=null,HT=null,jT=null,PT=null,VT=null,BT=null,$T=null,IT=null,YT=null;{var QT=function(e,t,a){var i=t[a],o=Mn(e)?e.slice():tt({},e);return a+1===t.length?(Mn(o)?o.splice(i,1):delete o[i],o):(o[i]=QT(e[i],t,a+1),o)},WT=function(e,t){return QT(e,t,0)},GT=function(e,t,a,i){var o=t[i],s=Mn(e)?e.slice():tt({},e);if(i+1===t.length){var d=a[i];s[d]=s[o],Mn(s)?s.splice(o,1):delete s[o]}else s[o]=GT(e[o],t,a,i+1);return s},qT=function(e,t,a){if(t.length!==a.length){M("copyWithRename() expects paths of the same length");return}else for(var i=0;i<a.length-1;i++)if(t[i]!==a[i]){M("copyWithRename() expects paths to be the same except for the deepest key");return}return GT(e,t,a,0)},XT=function(e,t,a,i){if(a>=t.length)return i;var o=t[a],s=Mn(e)?e.slice():tt({},e);return s[o]=XT(e[o],t,a+1,i),s},KT=function(e,t,a){return XT(e,t,0,a)},c1=function(e,t){for(var a=e.memoizedState;a!==null&&t>0;)a=a.next,t--;return a};FT=function(e,t,a,i){var o=c1(e,t);if(o!==null){var s=KT(o.memoizedState,a,i);o.memoizedState=s,o.baseState=s,e.memoizedProps=tt({},e.memoizedProps);var d=Ta(e,Ue);d!==null&&Jn(d,e,Ue,Lt)}},HT=function(e,t,a){var i=c1(e,t);if(i!==null){var o=WT(i.memoizedState,a);i.memoizedState=o,i.baseState=o,e.memoizedProps=tt({},e.memoizedProps);var s=Ta(e,Ue);s!==null&&Jn(s,e,Ue,Lt)}},jT=function(e,t,a,i){var o=c1(e,t);if(o!==null){var s=qT(o.memoizedState,a,i);o.memoizedState=s,o.baseState=s,e.memoizedProps=tt({},e.memoizedProps);var d=Ta(e,Ue);d!==null&&Jn(d,e,Ue,Lt)}},PT=function(e,t,a){e.pendingProps=KT(e.memoizedProps,t,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=Ta(e,Ue);i!==null&&Jn(i,e,Ue,Lt)},VT=function(e,t){e.pendingProps=WT(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=Ta(e,Ue);a!==null&&Jn(a,e,Ue,Lt)},BT=function(e,t,a){e.pendingProps=qT(e.memoizedProps,t,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=Ta(e,Ue);i!==null&&Jn(i,e,Ue,Lt)},$T=function(e){var t=Ta(e,Ue);t!==null&&Jn(t,e,Ue,Lt)},IT=function(e){AT=e},YT=function(e){UT=e}}function JM(e){var t=ha(e);return t===null?null:t.stateNode}function eN(e){return null}function tN(){return hn}function nN(e){var t=e.findFiberByHostInstance,a=p.ReactCurrentDispatcher;return Ed({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:FT,overrideHookStateDeletePath:HT,overrideHookStateRenamePath:jT,overrideProps:PT,overridePropsDeletePath:VT,overridePropsRenamePath:BT,setErrorHandler:IT,setSuspenseHandler:YT,scheduleUpdate:$T,currentDispatcherRef:a,findHostInstanceByFiber:JM,findFiberByHostInstance:t||eN,findHostInstancesForRefresh:NM,scheduleRefresh:OM,scheduleRoot:MM,setRefreshHandler:DM,getCurrentFiber:tN,reconcilerVersion:l1})}var ZT=typeof reportError=="function"?reportError:function(e){console.error(e)};function f1(e){this._internalRoot=e}ly.prototype.render=f1.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?S("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):oy(arguments[1])?S("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"&&S("You passed a second argument to root.render(...) but it only accepts one argument.");var a=t.containerInfo;if(a.nodeType!==mn){var i=zT(t.current);i&&i.parentNode!==a&&S("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.")}}Gp(e,t,null,null)},ly.prototype.unmount=f1.prototype.unmount=function(){typeof arguments[0]=="function"&&S("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;cT()&&S("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."),ho(function(){Gp(null,e,null,null)}),KC(t)}};function rN(e,t){if(!oy(e))throw new Error("createRoot(...): Target container is not a DOM element.");JT(e);var a=!1,i=!1,o="",s=ZT;t!=null&&(t.hydrate?M("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===ji&&S(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
188
188
|
|
|
189
189
|
let root = createRoot(domContainer);
|
|
190
|
-
root.render(<App />);`),
|
|
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=xne,Ji.createRoot=bne,Ji.findDOMNode=yne,Ji.flushSync=Dne,Ji.hydrate=_ne,Ji.hydrateRoot=Ene,Ji.render=Sne,Ji.unmountComponentAtNode=wne,Ji.unstable_batchedUpdates=IR,Ji.unstable_renderSubtreeIntoContainer=Tne,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=zV()):t.exports=FV()})(HA);const qA=hU(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]=st.useState(!1),[p,m]=st.useState(""),S=()=>n!=="text"?Tr("div",{children:[ze(hV,{}),ze("div",{style:{marginTop:8},children:u})]}):Tr(h0,{children:[ze(dt.Button,{icon:ze(SV,{}),children:u}),f]}),_=b=>{const D=l.split(","),A=S0(b.name)||"";return D.includes(A)?b.size/1024/1024<a?!0:(dt.message.error(`文件必须小于${a}MB`),dt.Upload.LIST_IGNORE):(dt.message.error(`只允许上传 ${l} 文件`),dt.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 dt.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(dt.Upload,{...t,onPreview:E,beforeUpload:_,onChange:x,listType:n,children:r.length>=e?null:S()}),ze(BV,{visible:d,src:p,onVisibleChange:()=>{h(!1),m("")}})]})},BV=t=>{const{visible:e,src:n,onVisibleChange:r}=t;return qA.createPortal(ze(dt.Image,{style:{display:"none"},src:n,preview:{visible:e,src:n,onVisibleChange:r}}),document.body)},C0={fieldModal:"szld-fieldModal",content:"szld-content",suffix:"szld-suffix",placeholder:"szld-placeholder"},UV={labelCol:{span:4},wrapperCol:{span:20}},VV=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(dt.Form,{layout:"horizontal",form:r==null?void 0:r.form,...UV,...r||{},children:ze(dt.Row,{gutter:16,...n,children:e.filter(d=>!d.hidden).map(d=>{var h,p;return ze(dt.Col,{...d.colProps||{span:24},children:ze(dt.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=st.useMemo(()=>{let d=ze(dt.Input,{placeholder:"请输入",...n,allowClear:!0});switch(e){case"password":d=ze(dt.Input.Password,{...n});break;case"modal":d=ze(HV,{...n});break;case"checkbox":d=ze(dt.Checkbox.Group,{...n});break;case"select":d=ze(dt.Select,{placeholder:"请选择",...n,allowClear:!0});break;case"inputNumber":d=ze(dt.InputNumber,{style:{width:"100%"},placeholder:"请输入",...n});break;case"textarea":d=ze(dt.Input.TextArea,{placeholder:"请输入",...n,allowClear:!0});break;case"radio":d=ze(dt.Radio.Group,{...n});break;case"switch":d=ze(dt.Switch,{...n});break;case"datePicker":d=ze(dt.DatePicker,{style:{width:"100%"},...n,allowClear:!0});break;case"rangePicker":d=ze(dt.DatePicker.RangePicker,{style:{width:"100%"},...n,allowClear:!0});break;case"timePicker":d=ze(dt.TimePicker,{style:{width:"100%"},...n,allowClear:!0});break;case"cascader":d=ze(dt.Cascader,{...n,allowClear:!0});break;case"upload":d=ze(ZA,{...n});break;case"btns":d=ze(dt.Space,{children:n==null?void 0:n.map(h=>st.createElement(dt.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 st.cloneElement(f,{[VV(e||"input")]:r,onChange:a,ref:u})},HV=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(uV,{})})]})},GV={search:"szld-search"};function $V(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(dt.Table,{columns:r.filter(l=>!l.hidden),...a,className:Hd(GV.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 jV=function(){function t(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return t}(),YV=function(){function t(){this.browser=new jV,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 YV;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):WV(navigator.userAgent,Hf);function WV(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,XV="sans-serif",Gf=Gw+"px "+XV,qV=20,QV=100,ZV="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function KV(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)-qV)/QV;e[r]=a}return e}var JV=KV(ZV),$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=JV[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,eH=w0.forEach,tH=w0.filter,$w=w0.slice,nH=w0.map,nL=function(){}.constructor,x0=nL?nL.prototype:null,jw="__proto__",rH=2311;function rL(){return rH++}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 iH(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===eH)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===nH)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===tH)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 aH(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):aH;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 oH(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 lH=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 uH(){return uL?new Map:new lH}var sH=function(){function t(e){var n=Be(e);this.data=uH();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 sH(t)}function fH(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 cH=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 dH(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 vH(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function hH(t){return Math.sqrt(pH(t))}function pH(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 gH(t,e){var n=hH(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 mH(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var qd=mH;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}(),yH=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 _H=yH;var SH=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=SH;var CH=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)/CH);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 wH(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=xH(e,l),f=TH(u,l,a);if(f)return f(t,n,r),!0}return!1}function xH(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 TH(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 bH=/([&<>"'])/g,EH={"&":"&","<":"<",">":">",'"':""","'":"'"};function to(t){return t==null?"":(t+"").replace(bH,function(e,n){return EH[n]})}var DH=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ex=[],MH=Tt.browser.firefox&&+Tt.browser.version.split(".")[0]<39;function tx(t,e,n,r){return n=n||{},r?hL(t,e,n):MH&&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=RH(e);e.zrDelta=l?l/120:-(e.detail||0)/3}var f=e.button;return e.which==null&&f!==void 0&&DH.test(e.type)&&(e.which=f&1?1:f&2?3:f&4?2:0),e}function RH(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 AH(t,e,n,r){t.addEventListener(e,n,r)}function LH(t,e,n,r){t.removeEventListener(e,n,r)}var pL=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0},OH=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 kH(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=kH(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 NH(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 PH(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 IH=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=IH;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,zH=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]),PH(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=zH;var mL="silent";function FH(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:BH}}function BH(){pL(this.event)}var UH=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}(),VH=["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 UH,f.proxy=null,f.setHandlerProxy(a),f._draggingMgr=new _H(f),f}return e.prototype.setHandlerProxy=function(n){this.proxy&&this.proxy.dispose(),n&&(W(VH,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=FH(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 OH);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 HH(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=HH(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 GH=yL;var CL=32,$p=7;function $H(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++;jH(t,e,a)}else for(;a<n&&r(t[a],t[a-1])>=0;)a++;return a-e}function jH(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 YH(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=YH(t,e),f=$H(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 WH=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 XH=WH;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 qH(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 ZH(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 KH=/cubic-bezier\(([0-9,\.e ]+)\)/;function FL(t){var e=t&&KH.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 JH=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 e4=JH;var BL=function(){function t(e){this.value=e}return t}(),t4=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}(),n4=function(){function t(e){this._list=new t4,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=n4;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 r4(t){return t.type==="linear"}function i4(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 a4(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 o4(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 l4(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 u4(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],s4=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=u4(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)}}),r4(n)?f=mx:i4(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?l4(S,_,a):h&&o4(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):a4(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}(),f4=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 s4(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 e4({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=f4;function iv(){return new Date().getTime()}var c4=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 d4=c4;var v4=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 h4(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 p4(t,e){return no(t.dom,new g4(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 g4=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<v4&&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 m4(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),h4(e)})}),W(Cx.mouse,function(r){Y0(e,r,function(a){a=nx(a),e.touching||n[r].call(t,a)})}))}function y4(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=p4(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,AH(t.domTarget,e,n,r)}function Ex(t){var e=t.mounted;for(var n in e)e.hasOwnProperty(n)&&LH(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}(),_4=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)),m4(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?y4(this,r):Ex(r)}},e}(_l);const S4=_4;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",C4="#eee",tO=ix,nO=5e-5;function Zf(t){return t>nO||t<-nO}var Kf=[],av=[],Ax=Up(),Lx=Math.abs,w4=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):NH(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){x4(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 x4(t,e){for(var n=0;n<Zp.length;n++){var r=Zp[n];t[r]=e[r]}}const Kp=w4;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"]),T4=Yd(Zp,function(t,e){return t[e]=!0,t},{ignore:!1}),lv={},b4=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=b4;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&&T4[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 E4(t){return Ai(t[0])}function D4(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(E4(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 M4(t,e){return t===e||Ai(t)&&Ai(e)&&R4(t,e)}function R4(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!M4(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]),D4(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 A4(t){delete uO[t]}function L4(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 O4=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 XH,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 S4(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 GH(l,f,h,f.root,_),this.animation=new d4({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=L4(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,A4(this.id)},t}();function sO(t,e){var n=new O4(rL(),t,e);return uO[n.id]=n,n}function k4(t,e){eg[t]=e}var fO=1e-4,cO=20;function N4(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)?N4(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 P4(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 I4(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 z4=/^(?:(\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=z4.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 F4(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 B4="[ECharts] ",_O={},U4=typeof console<"u"&&console.warn&&console.log;function Z0(t,e,n){if(U4){if(n){if(_O[e])return;_O[e]=!0}console[t](B4+e)}}function V4(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",H4="\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 G4(t){return it(t)&&!(t instanceof Array)}function $4(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=j4(t,u,n);return(r||a)&&Y4(f,t,u,e),r&&W4(f,e),r||a?X4(f,e,a):l&&q4(f,e),Q4(f),f}function j4(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 Y4(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 W4(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 X4(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 q4(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(H4)===0}function Z4(t,e,n){W(t,function(r){var a=r.newOption;it(a)&&(r.keyInfo.mainType=e,r.keyInfo.subType=K4(e,a,r.existing,n))})}function K4(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_"+J4++;return function(e){return e[t]||(e[t]={})}}var J4=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 e6(t,e){return t.getAttribute?t.getAttribute(e):t[e]}function t6(t){return t==="auto"?Tt.domSupported?"html":"richText":t||"html"}function n6(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 r6=".",ec="___EC__COMPONENT__CONTAINER___",RO="___EC__EXTENDED_CLASS___";function Tl(t){var e={main:"",sub:""};if(t){var n=t.split(r6);e.main=n[0]||"",e.sub=n[1]||""}return e}function i6(t){bt(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function a6(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 o6(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)},iH(a,this)),Re(a.prototype,n),a[RO]=!0,a.extend=this.extend,a.superCall=s6,a.superApply=f6,a.superClass=r,a}}function o6(t){return _t(t)&&/^class\s/.test(Function.prototype.toString.call(t))}function AO(t,e){t.extend=e.extend}var l6=Math.round(Math.random()*10);function u6(t){var e=["__\0is_clz",l6++].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 s6(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 f6(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){i6(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 c6=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],d6=ag(c6),v6=function(){function t(){}return t.prototype.getAreaStyle=function(e,n){return d6(this,e,n)},t}(),Gx=new Yp(50);function h6(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 p6(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?g6(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 g6(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 m6(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 y6=function(){function t(){}return t}(),PO=function(){function t(e){this.tokens=[],e&&(this.tokens=e)}return t}(),_6=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 S6(t,e){var n=new _6;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=h6(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=p6(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 y6;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 C6(t){var e=t.charCodeAt(0);return e>=33&&e<=383}var w6=Yd(",&?/;] ".split(""),function(t,e){return t[e]=!0,t},{});function x6(t){return C6(t)?!!w6[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:!x6(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"],T6=["invisible"],b6=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&&E6(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?T6: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 E6(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=b6;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 D6(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 M6(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 R6(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 rn={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 A6(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 L6=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(rn.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(rn.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(rn.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(rn.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,A6(og,u),a=og[0],l=og[1];var f=l-a;return this.addData(rn.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(rn.R,e,n,r,a),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(rn.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 rn.M:n=a=e[u++],r=l=e[u++],El[0]=a,El[1]=l,Dl[0]=a,Dl[1]=l;break;case rn.L:BO(n,r,e[u],e[u+1],El,Dl),n=e[u++],r=e[u++];break;case rn.C:D6(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 rn.Q:M6(n,r,e[u++],e[u++],e[u],e[u+1],El,Dl),n=e[u++],r=e[u++];break;case rn.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),R6(h,p,m,S,_,x,E,El,Dl),n=ac(x)*m+h,r=oc(x)*S+p;break;case rn.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 rn.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 rn.M:l=f=e[S++],u=d=e[S++];break;case rn.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 rn.C:{var P=e[S++],I=e[S++],b=e[S++],D=e[S++],F=e[S++],U=e[S++];E=qH(l,u,P,I,b,D,F,U,10),l=F,u=U;break}case rn.Q:{var P=e[S++],I=e[S++],b=e[S++],D=e[S++];E=ZH(l,u,P,I,b,D,10),l=b,u=D;break}case rn.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 rn.R:{f=l=e[S++],d=u=e[S++];var ce=e[S++],fe=e[S++];E=ce*2+fe*2;break}case rn.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!==rn.L&&O>0&&(e.lineTo(P,I),O=0),U){case rn.M:f=h=r[F++],d=p=r[F++],e.moveTo(h,p);break;case rn.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 rn.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 rn.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 rn.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++],ln=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,ln,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 rn.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 rn.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=rn,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=L6;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 O6(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 k6(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 N6(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,P6=1e-4;function I6(t,e){return Math.abs(t-e)<P6}var Li=[-1,-1,-1],ao=[-1,-1];function z6(){var t=ao[0];ao[0]=ao[1],ao[1]=t}function F6(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&&z6(),_=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 B6(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 U6(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(O6(d,h,l[x++],l[x++],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++],l[x],l[x+1],r,a)||0;d=l[x++],h=l[x++];break;case Os.Q:if(n){if(k6(d,h,l[x++],l[x++],l[x],l[x+1],e,r,a))return!0}else f+=B6(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(N6(D,A,P,I,I+F,U,e,H,a))return!0}else f+=U6(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&&!I6(h,m)&&(f+=lc(d,h,p,m,r,a)||0),f!==0}function V6(t,e,n){return GO(t,0,!1,e,n)}function H6(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),G6={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"]),$6=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?C4: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)),H6(f,d/h,n,r)))return!0}if(this.hasFill())return V6(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 G6},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=$6;var j6=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(j6,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 Y6=Vt({x:0,y:0},tc),W6={style:Vt({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},e_.style)};function X6(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(Y6,n)},e.prototype._getSize=function(n){var r=this.style,a=r[n];if(a!=null)return a;var l=X6(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 W6},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 q6(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}(),Z6={},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(Z6,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?q6(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,K6={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,r8(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 K6},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=m6(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=S6(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 n8(n)&&(r=[n.fontStyle,n.fontWeight,t8(n.fontSize),n.fontFamily||"sans-serif"].join(" ")),r&&yl(r)||n.textFont||n.font},e}(sv),J6={left:!0,right:1,center:1},e8={top:1,bottom:1,middle:1},JO=["fontStyle","fontWeight","fontSize","fontFamily"];function t8(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 n8(t){return t.fontSize!=null||t.fontFamily||t.fontWeight}function r8(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||J6[e]?e:"left";var n=t.verticalAlign;n==="center"&&(n="middle"),t.verticalAlign=n==null||e8[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(),i8=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"],a8=10,o8=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 l8(t){t.selected=!0}function u8(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 s8(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 f8(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??a8)}return r}function c8(t,e,n){if(n&&n.z2==null){n=Re({},n);var r=t.z2SelectLift;n.z2=t.z2+(r??o8)}return n}function d8(t,e,n){var r=dn(t.currentStates,e)>=0,a=t.style.opacity,l=r?null:s8(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 f8(this,t,e,n);if(t==="blur")return d8(this,t,n);if(t==="select")return c8(this,t,n)}return n}function v8(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 h8(t){xu(t,uT)}function y2(t){xu(t,h2)}function _2(t){xu(t,l8)}function S2(t){xu(t,u8)}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 p8(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 g8(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 m8(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 y8(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 _8(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 S8(t,e,n){b2(t,!0),xu(t,v8),x8(t,e,n)}function C8(t){b2(t,!1)}function w8(t,e,n,r){r?C8(t):S8(t,e,n)}function x8(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"],T8={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function b8(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[T8[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 E8(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 D8(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,M8=[[],[],[]],D2=Math.sqrt,R8=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=R8(-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=M8[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 A8=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,L8=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function O8(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(A8);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(L8)||[],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=O8(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 k8(t,e){return new O2(N2(t,e))}function N8(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 P8(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 I8=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 I8},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 z8=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 z8},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,F8=Math.acos,di=Math.atan2,B2=Math.abs,cg=Math.sqrt,dg=Math.max,Rl=Math.min,No=1e-4;function B8(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 U8(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 V8(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=U8(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=B8(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(F8((St*Dn+It*Xt)/(cg(St*St+It*It)*cg(Dn*Dn+Xt*Xt)))/2),ln=cg(Ge[0]*Ge[0]+Ge[1]*Ge[1]);j=Rl(U,(r-ln)/(Mn+1)),X=Rl(H,(a-ln)/(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 H8=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 H8},e.prototype.buildPath=function(n,r){V8(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 G8=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 G8},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 $8(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(dH(t[S]));continue}else d=t[S-1],h=t[S+1];vH(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=$8(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 j8=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 j8},e.prototype.buildPath=function(n,r){G2(n,r,!0)},e}(Gt);$2.prototype.type="polygon";const CT=$2;var Y8=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 Y8},e.prototype.buildPath=function(n,r){G2(n,r,!1)},e}(Gt);j2.prototype.type="polyline";const wT=j2;var W8={},X8=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 X8},e.prototype.buildPath=function(n,r){var a,l,u,f;if(this.subPixelOptimize){var d=WO(W8,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=[],q8=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 q8},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 gH(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 Z8=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 K8=Z8;var J8=function(){function t(e){this.colorStops=e||[]}return t.prototype.addColorStop=function(e,n){this.colorStops.push({offset:e,color:n})},t}();const Z2=J8;var eG=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 tG=eG;var nG=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 rG=nG;var hc=[0,0],pc=[0,0],c_=new ht,d_=new ht,iG=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_=iG;var aG=[],oG=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(aG)),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 lG=oG;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 uG(t){K2(t).oldStyle=t.style}function sG(t){return K2(t).oldStyle}var p_=Math.max,g_=Math.min,ET={};function fG(t){return Gt.extend(t)}var cG=N8;function dG(t,e){return cG(t,e)}function zo(t,e){ET[t]=e}function vG(t){if(ET.hasOwnProperty(t))return ET[t]}function DT(t,e,n,r){var a=k8(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 hG=P8;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 pG(t){return XO(t.shape,t.shape,t.style),t}var gG=sc;function mG(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 yG(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 _G(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 _G(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 SG(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 CG(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 wG(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(xG(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 xG(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 TG=Object.freeze(Object.defineProperty({__proto__:null,updateProps:Po,initProps:Io,removeElement:J2,removeElementWithFadeOut:bT,isElementRemoved:mv,extendShape:fG,extendPath:dG,registerShape:zo,getShapeClass:vG,makePath:DT,makeImage:tk,mergePath:hG,resizePath:rk,subPixelOptimizeLine:vg,subPixelOptimizeRect:pG,subPixelOptimize:gG,getTransform:mG,applyTransform:MT,transformDirection:yG,groupTransition:ak,clipPointsByRect:SG,clipRectByRect:CG,createIcon:ok,linePolygonIntersect:wG,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:lG,CompoundPath:K8,LinearGradient:tG,RadialGradient:rG,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 bG(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 EG(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 DG(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 DG(t,e,n,r,a){n=n||m_;var l=e.ecModel,u=l&&l.option.textStyle,f=MG(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 MG(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 RG(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 AG(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 LG(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=n6(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 OG=["textStyle","color"],OT=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],kT=new ko,kG=function(){function t(){}return t.prototype.getTextColor=function(e){var n=this.ecModel;return this.getShallow("color")||(!e&&n?n.get(OG):null)},t.prototype.getFont=function(){return RG({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 NG=kG;var gk=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],PG=ag(gk),IG=function(){function t(){}return t.prototype.getLineStyle=function(e){return PG(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"]],zG=ag(mk),FG=function(){function t(){}return t.prototype.getItemStyle=function(e,n){return zG(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),u6(mc),ml(mc,IG),ml(mc,FG),ml(mc,v6),ml(mc,NG);const Oi=mc;var BG=Math.round(Math.random()*10);function y_(t){return[t||"",BG++].join("_")}function UG(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 VG(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 HG(t,e){return cn(cn({},t,!0),e,!0)}const GG={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:". "}}}},$G={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 jG(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 YG(t){return PT[t]}function WG(){return PT[pg]}_k(NT,GG),_k(__,$G);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 XG(t){return t===yv(t)}function qG(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:YG(r||yk)||WG(),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 ZG(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 KG(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,JG=["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 e$({},t)}function e$(t,e){return e&&t&&D_(JG,function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t}var t$=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(!a6(n))return n.defaultOption;var r=t$(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),UG(Sv),VG(Sv,n$);function n$(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 r$={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 i$(t){Bk(t).datasetMap=xt()}function a$(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 o$(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 l$(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function l$(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 u$=xt();function s$(t,e,n){var r=u$.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 c$(this,Hk,a,l,e,n,r)},t.prototype.clearColorPalette=function(){d$(this,Hk)},t}();function f$(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 c$(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:f$(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 d$(t,e){e(t).paletteIdx=0,e(t).paletteNameMap={}}var R_,wg,Gk,WT="\0_ec_inner",$k=1,v$={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"},h$={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 p$(t){W(t,function(e,n){if(!En.hasClass(n)){var r=v$[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"&&p$(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;i$(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=s$(this,m,rr(n[m])),_=l.get(m),x=_?h&&h.get(m)?"replaceMerge":"normalMerge":"replaceAll",E=$4(_,S,x);Z4(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=h$[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"||!g$(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),m$(r,n._theme.option),cn(r,r$,!1),n._mergeOption(r,null)}}(),e}(Oi);function g$(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 m$(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 y$=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],_$=function(){function t(e){W(y$,function(n){this[n]=Qn(e[n],e)},this)}return t}();const Qk=_$;var XT={},S$=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=S$;var C$=/^(min|max)?(.+)$/,w$=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=x$(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++)T$(a[d].query,n,r)&&u.push(d);return!u.length&&l&&(u=[-1]),u.length&&!E$(u,this._currentMediaIndices)&&(f=ot(u,function(p){return Qt(p===-1?l.option:a[p].option)})),this._currentMediaIndices=u,f},t}();function x$(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 T$(t,e,n){var r={width:e,height:n,aspectratio:e/n},a=!0;return W(t,function(l,u){var f=u.match(C$);if(!(!f||!f[1]||!f[2])){var d=f[1],h=f[2].toLowerCase();b$(r[h],l,d)||(a=!1)}}),a}function b$(t,e,n){return n==="min"?t>=e:n==="max"?t<=e:t===e}function E$(t,e){return t.join(",")===e.join(",")}const D$=w$;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 M$(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 R$(t,e){uo(Eu(t.series),function(r){xg(r)&&M$(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 A$(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 L$(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(O$,function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])})}var O$=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],k$=["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 N$(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){R$(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=A$(n,"pointer.color");u!=null&&L$(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"?N$(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(k$,function(n){var r=t[n];r&&(Be(r)||(r=[r]),W(r,function(a){Jk(a)}))})}function P$(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(I$)}function I$(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=I4(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=F$(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 z$(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 F$(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=B$(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 B$(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]},U$=(_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=U$[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},V$=(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=V$[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]},H$=(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=H$[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 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(G$,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 j$(t)}var j$=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 Y$=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 Y$.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}},W$=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}(),X$=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 q$(t,e){return t==="eq"||t==="ne"?new X$(t==="eq",e):yu(_N,t)?new W$(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 Z$(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(K$,null,t)),n.cloneRawData=Qn(J$,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(e9,null,f,d),n.cloneAllDimensionInfo=Qn(t9,null,f),n}function K$(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 J$(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 e9(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 t9(t){return Qt(t)}var CN=xt();function n9(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 r9(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=i9(d,e,n,a===1?null:u),u!==f-1&&(e.length=Math.max(e.length,1))}return e}function i9(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 Z$(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
|
-
`);V4(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",a9=typeof Uint32Array===k_?Array:Uint32Array,o9=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?a9:o9}function Tv(){return[1/0,-1/0]}function l9(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 u9=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]?l9(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=u9;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=r9(r,f,{datasetIndex:n.componentIndex}):a!=null&&(u=[z$(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(o$(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 s9=[0,10,20,30],f9=["",`
|
|
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)?c9:d9}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 c9(t,e,n,r){var a=e.noHeader,l=v9(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 d9(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?"":g9(t,x,E,b,O)):lb((f?"":m)+(l?"":h9(S,!f,A))+(u?"":p9(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 v9(t){return{html:s9[t],richText:f9[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 h9(t,e,n){var r=e?"margin-left:2px":"";return'<span style="'+n+";"+r+'">'+to(t)+"</span>"}function p9(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(" ")+"</span>"}function NN(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function g9(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 m9(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=KG({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 y9(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=m9(e,n),p,m,S,_;if(u>1||d&&!u){var x=_9(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 _9(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:C9,reset:w9}),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 y9({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_,$$),ml(I_,YT),AO(I_,En);function IN(t){var e=t.name;DO(t)||(t.name=S9(t)||e)}function S9(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 C9(t){return t.model.getRawData().count()}function w9(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),x9}function x9(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function zN(t,e){W(fH(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),function(n){t.wrapMethod(n,Aa(T9,e))})}function T9(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(),b9=FN(),cb=function(){function t(){this.group=new Cl,this.uid=y_("viewChart"),this.renderTask=Eg({plan:E9,reset:D9}),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?E8(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 E9(t){return b9(t.model)}function D9(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),M9[d]}var M9={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)},R9={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||R9[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}var A9={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,L9={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}}}},O9={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 k9(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 N9=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:B9,reset:U9,count:H9}));_.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:P9});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:I9,onDirty:F9})));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:G9(e)}),e.uid=y_("stageHandler"),n&&(e.visualType=n),e},t}();function P9(t){t.overallReset(t.ecModel,t.api,t.payload)}function I9(t){return t.overallProgress&&z9}function z9(){this.agent.dirty(),this.getDownstream().dirty()}function F9(){this.agent&&this.agent.dirty()}function B9(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function U9(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)}):V9}var V9=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 H9(t){return t.data.count()}function G9(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=N9;var JN=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];const $9={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 j9=nP;var Y9=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"]),W9={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}}},X9={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 q9(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 Z9(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 K9=Math.round(Math.random()*9),J9=typeof Object.defineProperty=="function",ej=function(){function t(){this._id="__ec_inner_"+K9++}return t.prototype.get=function(e){return this._guard(e)[this._id]},t.prototype.set=function(e,n){var r=this._guard(e);return J9?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 tj=ej;var nj=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()}}),rj=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()}}),ij=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()}}),aj=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()}}),oj={line:vc,rect:Kr,roundRect:Kr,square:Kr,circle:_T,diamond:rj,pin:ij,arrow:aj,triangle:nj},lj={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(oj,function(t,e){pb[e]=new t});var uj=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]),lj[r](e.x,e.y,e.width,e.height,a.shape),a.buildPath(t,a.shape,n)}}});function sj(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 uj({shape:{symbolType:t,x:e,y:n,width:r,height:a}}),d.__isEmptyBrush=f,d.setColor=sj,l&&d.setColor(l),d}function fj(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 cj(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 dj(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"?dj(t,e,n):cj(t,e,n),a=e.colorStops,l=0;l<a.length;l++)r.addColorStop(a[l].offset,a[l].color);return r}function vj(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 hj(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&&hj(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 pj=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)*cH),l.scaleSelf(e.scaleX||1,e.scaleY||1),a.setTransform(l)}return a}}function gj(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||pj,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 mj(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 yj(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 _j(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 Sj(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 Cj(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 wj(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||vj(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(),Sj(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&&wj(e.style);f||Cj(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(),gj(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),yj(t,e,m)):e instanceof cv?(n.lastDrawType!==pP&&(d=!0,n.lastDrawType=pP),_j(t,e,h,d,n),mj(t,e,m)):e.getTemporalDisplayables&&(n.lastDrawType!==mP&&(d=!0,n.lastDrawType=mP),xj(t,e,n)),p&&r&&oa(t,n),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),n.prevEl=e,e.__dirty=0,e.__isRendered=!0}function xj(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 tj,_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=Tj(u.dashArrayY),A=wP(u.symbol),O=bj(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;ln(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 ln(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 Tj(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 bj(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 Ej(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 Dj=new _l;const Bo=Dj;var j_={};function Mj(t,e){process.env.NODE_ENV!=="production"&&j_[t]&&ci("Already has an implementation of "+t+"."),j_[t]=e}function Rj(t){return process.env.NODE_ENV!=="production"&&(j_[t]||ci("Implementation of "+t+" doesn't exists.")),j_[t]}var Aj=1,Lj=800,Oj=900,kj=1e3,Nj=2e3,Pj=5e3,bP=1e3,Ij=1100,_b=2e3,EP=3e3,zj=4e3,Y_=4500,Fj=4600,Bj=5e3,Uj=6e3,DP=7e3,Vj={PROCESSOR:{FILTER:kj,SERIES_FILTER:Lj,STATISTIC:Pj},VISUAL:{LAYOUT:bP,PROGRESSIVE_LAYOUT:Ij,GLOBAL:_b,CHART:EP,POST_CHART_LAYOUT:Fj,COMPONENT:zj,BRUSH:Bj,CHART_ITEM:Y_,ARIA:Uj,DECAL:DP}},hi="__flagInMainProcess",la="__pendingUpdate",Sb="__needsUpdateStatus",MP=/^[a-zA-Z0-9_]+$/,Cb="__connectUpdateStatus",RP=0,Hj=1,Gj=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 Y9)||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=jG(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=Aj,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 D$(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?q9(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($j,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)}),Z9(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"])&&p8(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&&(y8(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:_8(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&&(g8(E,_,S._api),fo(S))}).on("mouseout",function(_){var x=_.target,E=Og(x,hv);E&&(m8(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&&D8(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){h8(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]!==Hj&&A.dispatchAction(b)}),S(D,Gj)}})})}}(),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 $j=["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={},jj=+new Date-0,Lb="_echarts_instance_";function Yj(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=Wj(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_"+jj++,zg[l.id]=l,r&&MO(t,Lb,l.id),BP(l),Bo.trigger("afterinit",l),l}function Wj(t){return zg[e6(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,Nj)}function Xj(t){Ob("afterinit",t)}function qj(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 Qj(t,e){qT.register(t,e)}function Zj(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 Kj(t,e,n){var r=Rj("registerMap");r&&r(t,e,n)}var Jj=n9;Tc(_b,A9),Tc(Y_,L9),Tc(Y_,O9),Tc(_b,W9),Tc(Y_,X9),Tc(DP,Ej),jP(rN),YP(Oj,P$),XP("default",k9),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",$9),$P("dark",j9);function Fg(t){return t==null?0:t.length||1}function qP(t){return t}var eY=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=eY;var tY=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 nY(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),iY(_.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 tY(f,e),n}function Pb(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function rY(t){return t==="category"?"ordinal":t==="time"?"time":"float"}function iY(t){return!(t==="ordinal"||t==="time")}var aY=function(){function t(e){this.otherDims={},e!=null&&Re(this,e)}return t}();const Z_=aY;var oY=jn(),lY={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+=lY[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=oY(t);return e.dimNameMap||(e.dimNameMap=KP(t.dimensionsDefine))}function eI(t){return t>30}var Bg=it,Ps=ot,uY=typeof Int32Array>"u"?Array:Int32Array,sY="e\0\0",tI=-1,fY=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],cY=["_approximateExtent"],nI,K_,Ug,Av,Ib,J_,zb,dY=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=nY(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&&G4(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;i8(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 uY(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=sY+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(fY.concat(n.__wrappedMethods||[]),function(r){n.hasOwnProperty(r)&&(e[r]=n[r])}),e.__wrappedMethods=n.__wrappedMethods,W(cY,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 vY=dY;function hY(t,e){KT(t)||(t=eb(t)),e=e||{};var n=e.coordDimensions||[],r=e.dimensionsDefine||t.dimensionsDefine||[],a=xt(),l=[],u=gY(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=mY(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 pY(l),new QP({source:t,dimensions:l,fullDimensionCount:u,dimensionOmitted:f})}function pY(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 gY(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 mY(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 yY=function(){function t(e){this.coordSysDims=[],this.axisMap=xt(),this.categoryAxisMap=xt(),this.coordSysName=e}return t}();function _Y(t){var e=t.get("coordinateSystem"),n=new yY(e),r=SY[e];if(r)return r(t,n,n.axisMap,n.categoryAxisMap),n}var SY={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 CY(t,e,n){n=n||{};var r=n.byIndex,a=n.stackedCoordDimension,l,u,f;wY(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 wY(t){return!ZP(t.schema)}function rI(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function xY(t,e){return rI(t,e)?t.getCalculationInfo("stackResultDimension"):e}function TY(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=rY(d)}return u})),a||(a=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),a}function bY(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=_Y(e),f=TY(e,u),d=n.useEncodeDefaulter,h=_t(d)?d:d?Aa(a$,f,e):null,p={coordDimensions:f,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:h,canOmitUnusedDimensions:!l},m=hY(a,p),S=bY(m.dimensions,n.createInvertedIndices,u),_=l?null:r.getSharedDataStore(m),x=CY(e,{schema:m,store:_}),E=new vY(m,e);E.setCalculationInfo(x);var b=S!=null&&EY(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 EY(t){if(t.sourceFormat===lo){var e=DY(t.data||[]);return!Be(tg(e))}}function DY(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 MY=0,RY=function(){function t(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this.uid=++MY}return t.createByAxisModel=function(e){var n=e.option,r=n.data,a=r&&ot(r,AY);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 AY(t){return it(t)&&t.value!=null?t.value:t+""}const Fb=RY;function LY(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 OY(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 kY(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 kY(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=OY(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",NY=cI?Float32Array:Array;function Vb(t){return Be(t)?cI?new Float32Array(t):t:new NY(t)}var PY="__ec_stack_";function Hb(t){return t.get("stack")||PY+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 IY(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=IY(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)})}),zY(n)}function zY(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 FY(t,e,n){if(t&&e){var r=t[Gb(e)];return r!=null&&n!=null?r[Hb(n)]:r}}function BY(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 UY(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(),_=VY(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 VY(t,e){return e.toGlobalCoord(e.dataToCoord(e.type==="log"?1:0))}var HY=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[qG(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=qY(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(HY(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 GY(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 $Y(t,e){return t/=oo,t>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function jY(t){var e=30*oo;return t/=e,t>6?6:t>3?3:t>2?2:1}function YY(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 WY(t){return hO(t,!0)}function XY(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 qY(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(!GY(yv(X),r[0],r[1],n)){ie&&(G=[{value:XY(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=ZG(n);break;case"half-year":case"quarter":case"month":ae=jY(e),ge=_v(n),pe=bk(n);break;case"week":case"half-week":case"day":ae=$Y(e),ge=x_(n),pe=Ek(n),Le=!0;break;case"half-day":case"quarter-day":case"hour":ae=YY(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=WY(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(XG(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 QY=gI;var yI=Mu.prototype,Hg=Vg.prototype,ZY=vr,KY=Math.floor,JY=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=F4(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(JY(r[0]/l)*l),vr(KY(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 ZY(t,Su(e))}Mu.registerClass($b);const eW=$b;var tW=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[rW[e]]=n},t.prototype.setDeterminedMinMax=function(e,n){var r=nW[e];process.env.NODE_ENV!=="production"&&bt(!this.frozen&&this[r]==null),this[r]=n},t.prototype.freeze=function(){this.frozen=!0},t}(),nW={min:"_determinedMin",max:"_determinedMax"},rW={min:"_dataMin",max:"_dataMax"};function iW(t,e,n){var r=t.rawExtentInfo;return r||(r=new tW(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=iW(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=aW(a,l,e,h);a=p.min,l=p.max}}return{extent:[a,l],fixMin:r.minFixed,fixMax:r.maxFixed}}function aW(t,e,n,r){var a=n.axis.getExtent(),l=a[1]-a[0],u=FY(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 eW&&(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 oW(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 QY({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(Mu.getClass(e)||Vg)}}function lW(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 uW(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=sW(_,u.get("rotate")||0);d?d.union(x):d=x}return d}}function sW(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 fW(t,e){var n={};return W(t.mapDimensionsAll(e),function(r){n[xY(t,r)]=!0}),kn(n)}var cW=function(){function t(){}return t.prototype.getNeedCrossZero=function(){var e=this.option;return!e.scale},t.prototype.getCoordSysModel=function(){},t}(),xI=[],dW={registerPreprocessor:jP,registerProcessor:YP,registerPostInit:Xj,registerPostUpdate:qj,registerUpdateLifecycle:Ob,registerAction:Rv,registerCoordinateSystem:Qj,registerLayout:Zj,registerVisual:Tc,registerTransform:Jj,registerLoading:XP,registerMap:Kj,registerImpl:Mj,PRIORITY:Vj,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){k4(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(dW))}var jg=jn();function vW(t){return t.type==="category"?pW(t):mW(t)}function hW(t,e){return t.type==="category"?gW(t,e):{ticks:ot(t.scale.getTicks(),function(n){return n.value})}}function pW(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"?yW(t):r,l=MI(t,u)),DI(n,r,{labels:l,labelCategoryInterval:u})}function gW(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 mW(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 yW(t){var e=jg(t).autoInterval;return e??(jg(t).autoInterval=t.calculateCategoryInterval())}function _W(t){var e=SW(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 SW(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],CW=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 P4(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=hW(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 wW(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 vW(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 _W(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 wW(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 xW=CW;var Yg=Math.PI*2,Ec=As.CMD,TW=["top","right","bottom","left"];function bW(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 EW(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 DW(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 MW(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=EW(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||TW,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[_];bW(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?MW(Ur,t.path,Pa):DW(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]))}RW(l,e.get("minTurnAngle")),n.setShape({points:l})}}}var NI=[],Mc=new ht;function RW(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 AW(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 LW(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=AW}}function OW(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 kW(t,e,n,r){return zI(t,"x","width",e,n,r)}function NW(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 PW(t){if(t){for(var e=[],n=0;n<t.length;n++)e.push(t[n].slice());return e}}function IW(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:PW(r&&r.shape.points)}}var BI=["align","verticalAlign","width","height","fontSize"],Ia=new Kp,Xb=jn(),zW=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"],FW=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(IW(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"});kW(l,0,n),NW(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");LW(e,OW(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)}LG(r,d,p,n,n)}if(a&&!a.ignore&&!a.invisible){var l=zW(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 BW=FW;var qb=jn();function UW(t){t.registerUpdateLifecycle("series:beforeupdate",function(e,n,r){var a=qb(n).labelManager;a||(a=qb(n).labelManager=new BW),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 VW(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 HW(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 GW(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 $W(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 jW(t,e,n,r,a){if(t){if(t.type==="polar")return $W(t,e,n);if(t.type==="cartesian2d")return GW(t,e,n,r,a)}else return null;return null}function UI(t,e){return t.type===e}var YW={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]}},WW=function(t){return Math.round(t.length/2)};function XW(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=YW[l]:_t(l)&&(x=l),x&&e.setData(a.downSample(a.mapDimension(h.dim),1/_,x,WW))}}}}}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 qW=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=HG(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 QW=qW;var ZW=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}(),KW=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 ZW},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=KW;function JW(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 e7(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 t7(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 n7=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,_=r7(n,h);_&&this._enableRealtimeSort(_,f,a);var x=n.get("clip",!0)||_,E=t7(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=f7(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?uG(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)&&jW(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=JW(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 r7(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 i7=["x","y","width","height"],a7=["cx","cy","r","startAngle","endAngle"],XI={cartesian2d:function(t){return!WI(t,i7)},polar:function(t){return!WI(t,a7)}},c1={cartesian2d:function(t,e,n){var r=t.getItemLayout(e),a=n?l7(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 o7(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=EG(r);bG(t,m,{labelFetcher:l,labelDataIndex:n,defaultText:VW(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,e7(t,_==="outside"?p:_,qI(u),r.get(["label","rotate"]))}AG(S,m,l.getRawValue(n),function(E){return HW(e,E)});var x=r.getModel(["emphasis"]);w8(t,x.get("focus"),x.get("blurScope"),x.get("disabled")),b8(t,r),o7(a)&&(t.style.fill="none",t.style.stroke="none",W(t.states,function(E){E.style&&(E.style.fill=E.style.stroke="none")}))}function l7(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 u7=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 u7},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=s7(e,t.offsetX,t.offsetY);yn(e).dataIndex=n>=0?n:null},30,!1);function s7(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 f7(t,e,n){var r=t.type==="polar"?dc:Kr;return new r({shape:ez(e,n,t),silent:!0,z2:0})}const c7=n7;function d7(t){t.registerChartView(c7),t.registerSeriesModel(QW),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,Aa(BY,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,UY("bar")),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,XW("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 v7=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 h7=v7;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,cW);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)"]}}},p7=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),g7=cn({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},Jb),m7=Vt({logBase:10},Jb);const y7={category:p7,value:Jb,time:g7,log:m7};var _7={value:1,category:1,time:1,log:1};function nz(t,e,n,r){W(_7,function(a,l){var u=cn(cn({},y7[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 S7=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 C7=S7;var eE=["x","y"];function iz(t){return t.type==="interval"||t.type==="time"}var w7=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}(C7),x7=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}(xW);const T7=x7;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 b7(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]&&(!LY(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 E7=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){b7(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=uW(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]),D7(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 w7(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 T7(p,oW(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(fW(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"&&lW(t)}function D7(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 M7=E7;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=fj(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=L7(n,r,e,t),l=k7(n,r,e,t);if(A7(e,l,a),O7(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=R7(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 R7(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 A7(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 L7(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 O7(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 k7(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 N7(t,e){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return P7(n,t,e),n.seriesInvolved&&z7(n,t),n}function P7(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?I7(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=F7(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 I7(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 z7(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 F7(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 B7(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 U7(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={},V7=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&&B7(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=U7(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=V7;var uE=jn();function H7(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 G7(t){uE(t).splitAreaColors=null}var $7=["axisLine","axisTickLabel","axisName"],j7=["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($7,h.add,h),this._axisGroup.add(h.getGroup()),W(j7,function(m){n.get([m,"show"])&&Y7[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(){G7(this)},e.type="cartesianAxis",e}(hz),Y7={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){H7(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),W7=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),X7=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 q7(t){t.registerComponentView(X7),t.registerComponentModel(h7),t.registerCoordinateSystem("cartesian2d",M7),nz(t,"x",Kb,mz),nz(t,"y",Kb,mz),t.registerComponentView(gz),t.registerComponentView(W7),t.registerPreprocessor(function(e){e.xAxis&&e.yAxis&&!e.grid&&(e.grid={})})}var Ac=jn(),yz=Qt,sE=Qn,Q7=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 TG[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 Z7=Q7;function K7(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 J7(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),eX(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 eX(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 tX(t,e,n,r,a,l){var u=vz.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=a.get(["label","margin"]),J7(e,r,a,l,{position:Tz(r.axis,t,n),align:u.textAlign,verticalAlign:u.textVerticalAlign})}function nX(t,e,n){return n=n||0,{x1:t[n],y1:t[1-n],x2:e[n],y2:e[1-n]}}function rX(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}}var iX=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=K7(l),_=aX[h](f,m,p);_.style=S,n.graphicKey=_.type,n.pointer=_}var x=tE(d.model,a);tX(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}(Z7);function bz(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var aX={line:function(t,e,n){var r=nX([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:rX([e-r/2,n[0]],[r,a],Ez(t))}}};function Ez(t){return t.dim==="x"?0:1}const oX=iX;var lX=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 uX=lX;var Ru=jn(),sX=W;function Dz(t,e,n){if(!Tt.node){var r=e.getZr();Ru(r).records||(Ru(r).records={}),fX(r,e);var a=Ru(r).records[t]||(Ru(r).records[t]={});a.handler=n}}function fX(t,e){if(Ru(t).initialized)return;Ru(t).initialized=!0,n("click",Aa(Mz,"click")),n("mousemove",Aa(Mz,"mousemove")),n("globalout",dX);function n(r,a){t.on(r,function(l){var u=vX(e);sX(Ru(t).records,function(f){f&&a(f,l,u.dispatchAction)}),cX(u.pendings,e)})}}function cX(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 dX(t,e,n){t.handler("leave",null,n)}function Mz(t,e,n,r){e.handler(t,n,r)}function vX(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 hX=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 pX=hX;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 gX(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(yX,_),showTooltip:Aa(_X,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=xX(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)}),SX(_,p,S),CX(x,a,t,u),wX(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=mX(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 mX(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 yX(t,e,n,r){t[e.key]={value:n,payloadBatch:r}}function _X(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 SX(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 CX(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 wX(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 xX(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",oX),t.registerComponentModel(uX),t.registerComponentView(pX),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=N7(e,n)}),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},gX)}function TX(t){$g(q7),$g(kz)}var bX=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 EX=bX;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"]),DX=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 MX(t,e){var n=t.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(t);return n?e?n[e]:n:null}var RX=zz(DX,"transition"),dE=zz(Iz,"transform"),AX="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(Tt.transform3dSupported?"will-change:transform;":"");function LX(t){return t=t==="left"?"right":t==="right"?"left":t==="top"?"bottom":"top",t}function OX(t,e,n){if(!et(n)||n==="inside")return"";var r=t.get("backgroundColor"),a=t.get("borderWidth");e=_g(e);var l=LX(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 kX(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),RX+":"+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 NX(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 PX(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(kX(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(NX(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&&wH(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 IX=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=MX(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=AX+PX(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=OX(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 zX=IX;var FX=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 BX=FX;var UX=new Kr({shape:{x:-1,y:-1,width:2,height:2}}),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.init=function(n,r){if(!(Tt.node||!r.getDom())){var a=n.getComponent("tooltip"),l=this._renderMode=t6(a.get("renderMode"));this._tooltipContent=l==="richText"?new BX(r):new zX(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=jX(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=UX;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=$X(r,x,m,n.get("borderWidth"));a=D[0],l=D[1]}else{var D=HX(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=GX(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 HX(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 GX(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 $X(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 jX(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 YX=VX;function WX(t){$g(kz),t.registerComponentModel(EX),t.registerComponentView(YX),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},ta),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},ta)}var XX=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),qX=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(XX),t.registerComponentView(qX)}var $z={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},ZX=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}(),KX=function(){function t(){}return t.prototype.evaluate=function(){return this.value},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!1;return!0},t}(),eq=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}(),tq=function(){function t(){}return t.prototype.evaluate=function(){return!this.child.evaluate()},t}(),nq=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 KX;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?rq(t,e):iq(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 JX:new eq;return l.children=ot(r,function(u){return vE(u,n)}),l.children.length||Ht(a),l}function rq(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 tq;return a.child=vE(n,e),a.child||Ht(r),a}function iq(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,_=q$(p,S)||p==="reg"&&new ZX(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 nq;return x.valueGetterParam=r,x.valueParser=f,x.getValue=e.getValue,x.subCondList=a,x}function Yz(t){return it(t)&&!Ai(t)}var aq=function(){function t(e,n){this._cond=vE(e,n)}return t.prototype.evaluate=function(){return this._cond.evaluate()},t}();function oq(t,e){return new aq(t,e)}var lq={type:"echarts:filter",transform:function(t){for(var e=t.upstream,n,r=oq(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 uq={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 sq(t){t.registerTransform(lq),t.registerTransform(uq)}var fq=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),cq=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 dq(t){t.registerComponentModel(fq),t.registerComponentView(cq)}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,ln=It*Ne+ce,zt=Dn*ae+fe,Ft=Ne*pe*Le,$e=ae*pe*Le;a.push(Xt-Ft*St,Mn+$e*Ge,ln+Ft*Dn,zt-$e*It,ln,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 vq(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 hq(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 pq(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 gq(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 mq(t,e,n){for(var r=t.length,a=[],l=0;l<r;l++){var u=t[l],f=t[(l+1)%r],d=pq(u[0],u[1],f[0],f[1],e.x,e.y,n.x,n.y);d&&a.push({projPt:gq(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),mq(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 yq(t,e){for(var n=[],r=0;r<e;r++)n.push(yT(t));return n}function _q(t,e){e.setStyle(t.style),e.z=t.z,e.z2=t.z2,e.zlevel=t.zlevel}function Sq(t){for(var e=[],n=0;n<t.length;)e.push([t[n++],t[n++]]);return e}function Cq(t,e){var n=[],r=t.shape,a;switch(t.type){case"rect":hq(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(vq(t.getUpdatedPathProxy(),u),function(D){return Sq(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 yq(t,e);for(var E=[],h=0;h<n.length;h++){var b=new a;b.setShape(n[h]),_q(t,b),E.push(b)}return E}function wq(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 xq(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=wq(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 Tq(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 bq(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 Eq(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=bq(f));for(var D=Tq(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=xq(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=Eq(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 Dq(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:Dq(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 Cq(t.path,t.count)}function yE(){return{fromIndividuals:[],toIndividuals:[],count:0}}function Mq(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 Rq(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 Aq={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:Aq[n],individualDelay:f&&function(Ne,ae,ge,pe){return f(Ne+O,P)}},d),ee=A?Mq(F,U,G):Rq(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,Lq=jn();function Oq(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=Oq(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 kq(t,e,n){var r=h_("update",n,e);r&&t.traverse(function(a){if(a instanceof sv){var l=sG(a);l&&a.animateFrom({style:l},r)}})}function Nq(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=Nq(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&&kq(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 Pq(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 Iq(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 zq(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=Lq(n);if(a.oldSeries&&r.updatedSeries&&r.optionChanged){var l=r.seriesTransition;if(l)W(rr(l),function(_){Iq(_,a,r,n)});else{var u=Pq(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 Fq=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 oH(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=Fq;var dF=1e5,Oc=314159,m1=.01,Bq=.001;function Uq(t){return t?t.__builtin__?!0:!(typeof t.resize!="function"||typeof t.refresh!="function"):!1}function Vq(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 Hq=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=Vq(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(!Uq(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+Bq,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 Gq=Hq;function $q(t){t.registerPainter("canvas",Gq)}const jq={main:"szld-main"};$g([QX,WX,TX,dq,sq,d7,UW,zq,$q]);const Yq=t=>{const e=st.useRef(null),n=st.useRef(null),r=st.useRef(null);st.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]),st.useEffect(()=>{e.current&&!n.current&&(n.current=Yj(e.current))},[e.current]),st.useEffect(()=>{n.current&&e.current&&n.current.setOption(t.option)},[n.current]);const a=()=>{n.current&&n.current.resize()},{run:l}=cU.useDebounceFn(a,{wait:300});return ze("div",{ref:e,className:jq.main})},Wq={editableCellValueWrap:"szld-editableCellValueWrap"},vF=st.createContext(null),Xq=({index:t,...e})=>{const[n]=dt.Form.useForm();return ze(dt.Form,{form:n,component:!1,children:ze(vF.Provider,{value:n,children:ze("tr",{...e})})})};function qq(t){const{title:e,editable:n,children:r,dataIndex:a,record:l,rules:u,onChange:f,type:d="input",valueProps:h,...p}=t,m=st.useRef(null),S=st.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(dt.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:Xq,cell:qq}},l=e==null?void 0:e.map(u=>u.editable?{...u,onCell:f=>({...u,record:f,onChange:n})}:u);return ze(dt.Table,{...r,components:a,rowClassName:()=>Wq.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:{}},an={};var hF;function Zq(){if(hF)return an;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 an.AsyncMode=d,an.ConcurrentMode=h,an.ContextConsumer=f,an.ContextProvider=u,an.Element=e,an.ForwardRef=p,an.Fragment=r,an.Lazy=x,an.Memo=_,an.Portal=n,an.Profiler=l,an.StrictMode=a,an.Suspense=m,an.isAsyncMode=function(I){return P(I)||O(I)===d},an.isConcurrentMode=P,an.isContextConsumer=function(I){return O(I)===f},an.isContextProvider=function(I){return O(I)===u},an.isElement=function(I){return typeof I=="object"&&I!==null&&I.$$typeof===e},an.isForwardRef=function(I){return O(I)===p},an.isFragment=function(I){return O(I)===r},an.isLazy=function(I){return O(I)===x},an.isMemo=function(I){return O(I)===_},an.isPortal=function(I){return O(I)===n},an.isProfiler=function(I){return O(I)===l},an.isStrictMode=function(I){return O(I)===a},an.isSuspense=function(I){return O(I)===m},an.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)},an.typeOf=O,an}var on={};var pF;function Kq(){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 ln(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}on.AsyncMode=I,on.ConcurrentMode=F,on.ContextConsumer=U,on.ContextProvider=H,on.Element=j,on.ForwardRef=X,on.Fragment=G,on.Lazy=ee,on.Memo=J,on.Portal=ie,on.Profiler=ce,on.StrictMode=fe,on.Suspense=Ne,on.isAsyncMode=ge,on.isConcurrentMode=pe,on.isContextConsumer=Le,on.isContextProvider=Ge,on.isElement=St,on.isForwardRef=It,on.isFragment=Dn,on.isLazy=Xt,on.isMemo=Mn,on.isPortal=ln,on.isProfiler=zt,on.isStrictMode=Ft,on.isSuspense=$e,on.isValidElementType=O,on.typeOf=P}()),on}(function(t){process.env.NODE_ENV==="production"?t.exports=Zq():t.exports=Kq()})(TE);function bE(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[];return st.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 Jq(t,e){typeof t=="function"?t(e):gu(t)==="object"&&t&&"current"in t&&(t.current=e)}function eQ(){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){Jq(l,a)})}}function tQ(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")()}(),nQ=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(y1):function(t){return setTimeout(function(){return t(Date.now())},1e3/60)}}(),rQ=2;function iQ(t,e){var n=!1,r=!1,a=0;function l(){n&&(n=!1,t()),r&&f()}function u(){nQ(l)}function f(){var d=Date.now();if(n){if(d-a<rQ)return;r=!0}else n=!0,r=!1,setTimeout(u,e);a=d}return f}var aQ=20,oQ=["top","right","bottom","left","width","height","size","weight"],lQ=typeof MutationObserver<"u",uQ=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=iQ(this.refresh.bind(this),aQ)}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),lQ?(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=oQ.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 sQ(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 fQ(t){var e=t.getBBox();return S1(0,0,e.width,e.height)}function cQ(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return _F;var r=Iv(t).getComputedStyle(t),a=sQ(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)),!vQ(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 dQ=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 vQ(t){return t===Iv(t).document.documentElement}function hQ(t){return EE?dQ(t)?fQ(t):cQ(t):_F}function pQ(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 gQ=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=hQ(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}(),mQ=function(){function t(e,n){var r=pQ(n);yF(this,{target:e,contentRect:r})}return t}(),yQ=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 gQ(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 mQ(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=uQ.getInstance(),r=new yQ(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 _Q=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 _Q(xF);process.env.NODE_ENV,process.env.NODE_ENV;function SQ(t,e){Au.has(t)||(Au.set(t,new Set),TF.observe(t)),Au.get(t).add(e)}function CQ(t,e){Au.has(t)&&(Au.get(t).delete(e),Au.get(t).size||(TF.unobserve(t),Au.delete(t)))}function wQ(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 xQ(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 TQ(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 bQ(){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 EQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function DQ(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 EQ(t)}function MQ(t){var e=bQ();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 DQ(this,a)}}var RQ=function(t){TQ(n,t);var e=MQ(n);function n(){return wQ(this,n),e.apply(this,arguments)}return xQ(n,[{key:"render",value:function(){return this.props.children}}]),n}(Nt.Component),ME=Nt.createContext(null);function AQ(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 LQ(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)&&tQ(f),p=h?f.ref:null,m=Nt.useMemo(function(){return eQ(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&&SQ(x,_),function(){return CQ(x,_)}},[r.current,n]),Nt.createElement(RQ,{ref:a},h?Nt.cloneElement(f,{ref:m}):f)}var OQ="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(OQ,"-").concat(a);return Nt.createElement(LQ,xE({},t,{key:l}),r)})}EF.Collection=AQ;const zv={grid:"szld-grid",cell:"szld-cell",editBox:"szld-editBox",editForm:"szld-editForm"};function kQ(t){const{columns:e,scroll:n,onChange:r,...a}=t,[l,u]=st.useState(0),f=e.filter(({width:_})=>!_).length,d=e.map(_=>_.width?_:{..._,width:Math.floor(l/f)}),h=st.useRef(),[p]=st.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})};st.useEffect(()=>m,[l]);const S=(_,{scrollbarSize:x,ref:E,onScroll:b})=>{E.current=p;const D=_.length*54;return ze(dU.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(NQ,{data:_[O],onChange:r,column:d[A]})})})};return ze(EF,{onResize:({width:_})=>{u(_)},children:ze(dt.Table,{...a,className:zv.table,columns:d,scroll:n,pagination:!1,components:{body:S}})})}function NQ(t){const{column:e,data:n,onChange:r}=t,[a,l]=st.useState(!1),u=st.useRef(null),[f]=dt.Form.useForm();st.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(dt.Form,{form:f,className:zv.editForm,children:ze(dt.Form.Item,{style:{margin:0},name:e.dataIndex,rules:e.rules,children:ze(dt.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 DF=t=>{const{auth:e=!0,...n}=t;return e?ze(dt.Button,{...n}):null},PQ=t=>{const{PId:e,auths:n,...r}=t,a=st.useMemo(()=>!!(n&&n.find(l=>l.PId===e)),[e,n]);return ze(DF,{...r,auth:a})},Er={main:"szld-main",item:"szld-item",tail:"szld-tail",node:"szld-node",content:"szld-content",collpase:"szld-collpase",btn:"szld-btn",title:"szld-title",dateWrapper:"szld-dateWrapper",remark:"szld-remark",itemActive:"szld-itemActive",itemDone:"szld-itemDone",itemUnDo:"szld-itemUnDo"},IQ=t=>{const{data:e,current:n}=t,[r,a]=st.useState(!1),l=st.useMemo(()=>!n||e.length===0?0:e.findIndex(h=>h.PNId===n),[n,e]),u=st.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(cV,{})]})]})})]}),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(mV,{})]})]}),d.Remark&&ze("div",{className:Er.remark,children:d.Remark})]})]},d.PNId))]})},zQ=t=>{const{current:e,data:n,...r}=t;return(()=>{dt.Modal.info({icon:null,title:"流程节点",width:700,content:ze(IQ,{current:e,data:n}),closable:!0,footer:null,maskClosable:!0,...r})})(),null},FQ=(t,e)=>{const n=new URL(t),r=new URL(e);return n.protocol===r.protocol&&n.host===r.host&&n.port===r.port},BQ=t=>{const e=new URL(t).href.split("/");return e[e.length-1]},UQ=t=>{var n;return(n=t.headers.get("content-disposition"))==null?void 0:n.split(";")[1].split("=")[1]},VQ=(t,e)=>{const n=e||BQ(t);if(FQ(t,window.location.href)){RE(t,n);return}let r=e;fetch(t,{method:"get"}).then(a=>(r||(r=UQ(a)),a.blob())).then(a=>{MF(a,r||n)}).catch(()=>{RE(t,"")})},MF=(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)},HQ=Object.freeze(Object.defineProperty({__proto__:null,downloadUrl:VQ,downloadBlob:MF},Symbol.toStringTag,{value:"Module"}));class GQ{constructor(e){sU(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 $Q=Object.freeze(Object.defineProperty({__proto__:null,getGVerify:GQ},Symbol.toStringTag,{value:"Module"}));en.AuthButton=DF,en.BackHeader=xV,en.CoralButton=PQ,en.CreateForm=KA,en.Echarts=Yq,en.EditTable=Qq,en.SearchTable=$V,en.UploadFile=ZA,en.VirtualTable=kQ,en.download=HQ,en.fileType=TV,en.showWorkFlow=zQ,en.utils=NV,en.verfyCode=$Q,Object.defineProperty(en,Symbol.toStringTag,{value:"Module"})});
|
|
190
|
+
root.render(<App />);`),t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onRecoverableError!==void 0&&(s=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var d=MT(e,tm,null,a,i,o,s);Gh(d.current,e);var h=e.nodeType===mn?e.parentNode:e;return np(h),new f1(d)}function ly(e){this._internalRoot=e}function aN(e){e&&bh(e)}ly.prototype.unstable_scheduleHydration=aN;function iN(e,t,a){if(!oy(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");JT(e),t===void 0&&S("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var i=a??null,o=a!=null&&a.hydratedSources||null,s=!1,d=!1,h="",y=ZT;a!=null&&(a.unstable_strictMode===!0&&(s=!0),a.identifierPrefix!==void 0&&(h=a.identifierPrefix),a.onRecoverableError!==void 0&&(y=a.onRecoverableError));var E=NT(t,null,e,tm,i,s,d,h,y);if(Gh(E.current,e),np(e),o)for(var b=0;b<o.length;b++){var D=o[b];pD(E,D)}return new ly(E)}function oy(e){return!!(e&&(e.nodeType===wr||e.nodeType===Ua||e.nodeType===Ml||!ft))}function qp(e){return!!(e&&(e.nodeType===wr||e.nodeType===Ua||e.nodeType===Ml||e.nodeType===mn&&e.nodeValue===" react-mount-point-unstable "))}function JT(e){e.nodeType===wr&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&S("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."),pp(e)&&(e._reactRootContainer?S("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):S("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 lN=p.ReactCurrentOwner,eR;eR=function(e){if(e._reactRootContainer&&e.nodeType!==mn){var t=zT(e._reactRootContainer.current);t&&t.parentNode!==e&&S("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 a=!!e._reactRootContainer,i=d1(e),o=!!(i&&iu(i));o&&!a&&S("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."),e.nodeType===wr&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&S("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 d1(e){return e?e.nodeType===Ua?e.documentElement:e.firstChild:null}function tR(){}function oN(e,t,a,i,o){if(o){if(typeof i=="function"){var s=i;i=function(){var _=iy(d);s.call(_)}}var d=NT(t,i,e,ou,null,!1,!1,"",tR);e._reactRootContainer=d,Gh(d.current,e);var h=e.nodeType===mn?e.parentNode:e;return np(h),ho(),d}else{for(var y;y=e.lastChild;)e.removeChild(y);if(typeof i=="function"){var E=i;i=function(){var _=iy(b);E.call(_)}}var b=MT(e,ou,null,!1,!1,"",tR);e._reactRootContainer=b,Gh(b.current,e);var D=e.nodeType===mn?e.parentNode:e;return np(D),ho(function(){Gp(t,b,a,i)}),b}}function uN(e,t){e!==null&&typeof e!="function"&&S("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function uy(e,t,a,i,o){eR(a),uN(o===void 0?null:o,"render");var s=a._reactRootContainer,d;if(!s)d=oN(a,t,e,o,i);else{if(d=s,typeof o=="function"){var h=o;o=function(){var y=iy(d);h.call(y)}}Gp(t,d,e,o)}return iy(d)}function sN(e){{var t=lN.current;if(t!==null&&t.stateNode!==null){var a=t.stateNode._warnedAboutRefsInRender;a||S("%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.",Mt(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===wr?e:WM(e,"findDOMNode")}function cN(e,t,a){if(S("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"),!qp(t))throw new Error("Target container is not a DOM element.");{var i=pp(t)&&t._reactRootContainer===void 0;i&&S("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 uy(null,e,t,!0,a)}function fN(e,t,a){if(S("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"),!qp(t))throw new Error("Target container is not a DOM element.");{var i=pp(t)&&t._reactRootContainer===void 0;i&&S("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 uy(null,e,t,!1,a)}function dN(e,t,a,i){if(S("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"),!qp(a))throw new Error("Target container is not a DOM element.");if(e==null||!$u(e))throw new Error("parentComponent must be a valid React Component");return uy(e,t,a,!1,i)}function pN(e){if(!qp(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=pp(e)&&e._reactRootContainer===void 0;t&&S("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(e._reactRootContainer){{var a=d1(e),i=a&&!iu(a);i&&S("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return ho(function(){uy(null,null,e,!1,function(){e._reactRootContainer=null,KC(e)})}),!0}else{{var o=d1(e),s=!!(o&&iu(o)),d=e.nodeType===wr&&qp(e.parentNode)&&!!e.parentNode._reactRootContainer;s&&S("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",d?"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}}ye(GM),mh(qM),as(XM),Hd(ga),gh(ts),(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")&&S("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"),Xv(m_),nc($S,iM,ho);function vN(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!oy(t))throw new Error("Target container is not a DOM element.");return QM(e,t,null,a)}function hN(e,t,a,i){return dN(e,t,a,i)}var p1={usingClientEntryPoint:!1,Events:[iu,af,qh,tc,Pu,$S]};function mN(e,t){return p1.usingClientEntryPoint||S('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),rN(e,t)}function yN(e,t,a){return p1.usingClientEntryPoint||S('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),iN(e,t,a)}function gN(e){return cT()&&S("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."),ho(e)}var SN=nN({findFiberByHostInstance:vs,bundleType:1,version:l1,rendererPackageName:"react-dom"});if(!SN&&Jt&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var nR=window.location.protocol;/^(https?|file):$/.test(nR)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(nR==="file:"?`
|
|
191
|
+
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}ra.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=p1,ra.createPortal=vN,ra.createRoot=mN,ra.findDOMNode=sN,ra.flushSync=gN,ra.hydrate=cN,ra.hydrateRoot=yN,ra.render=fN,ra.unmountComponentAtNode=pN,ra.unstable_batchedUpdates=$S,ra.unstable_renderSubtreeIntoContainer=hN,ra.version=l1,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),ra}(function(f){function m(){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(m)}catch(p){console.error(p)}}}process.env.NODE_ENV==="production"?(m(),f.exports=Ow()):f.exports=Mw()})(q1);const nC=oR(q1.exports),rC=[Ns.jpeg,Ns.jpg,Ns.png],aC=f=>{const{maxCount:m=1,listType:p="picture-card",fileList:C=[],maxSize:R=2,accept:M=rC.join(","),uploadBtnName:S="上传",uploadHint:I=null}=f,[O,j]=Ke.useState(!1),[ee,W]=Ke.useState(""),ne=()=>p!=="text"?jn("div",{children:[ve(ow,{}),ve("div",{style:{marginTop:8},children:S})]}):jn(Zp,{children:[ve(Ye.Button,{icon:ve(pw,{}),children:S}),I]}),Q=Ee=>{const it=M.split(","),Ae=av(Ee.name)||"";return it.includes(Ae)?Ee.size/1024/1024<R?!0:(Ye.message.error(`文件必须小于${R}MB`),Ye.Upload.LIST_IGNORE):(Ye.message.error(`只允许上传 ${M} 文件`),Ye.Upload.LIST_IGNORE)},oe=Ee=>{f.onChange&&f.onChange(Ee)},He=async Ee=>{let it=av(Ee.name)||"";if(it||(it=av(Ee.name||Ee.url)||""),it===Ns.pdf)return Ye.Modal.info({title:"PDF",width:"60%",content:ve("iframe",{title:"PDF预览",src:Ee.url||Ee.response.url,frameBorder:"0",style:{width:"100%",height:"70vh"}}),okText:"关闭"});rC.includes(it)&&(!Ee.url&&!Ee.thumbUrl&&!Ee.preview&&(Ee.preview=await G1(Ee.originFileObj)),W(Ee.url||Ee.thumbUrl||Ee.preview),j(!0))};return jn(Zp,{children:[ve(Ye.Upload,{...f,onPreview:He,beforeUpload:Q,onChange:oe,listType:p,children:C.length>=m?null:ne()}),ve(Nw,{visible:O,src:ee,onVisibleChange:()=>{j(!1),W("")}})]})},Nw=f=>{const{visible:m,src:p,onVisibleChange:C}=f;return nC.createPortal(ve(Ye.Image,{style:{display:"none"},src:p,preview:{visible:m,src:p,onVisibleChange:C}}),document.body)},iv={fieldModal:"szld-fieldModal",content:"szld-content",suffix:"szld-suffix",placeholder:"szld-placeholder"},Lw={labelCol:{span:4},wrapperCol:{span:20}},zw=f=>{switch(f){case"upload":return"fileList";case"switch":return"checked";default:return"value"}},iC=f=>{const{items:m,rowProps:p,formProps:C,readonly:R=!1,hiddenTitle:M=!1}=f,S=(O,j)=>{var ee,W;if(j.btnType==="submit"){(ee=C==null?void 0:C.form)==null||ee.validateFields().then(ne=>{j.onClick&&j.onClick(ne)});return}if(j.btnType==="reset"){(W=C==null?void 0:C.form)==null||W.resetFields(),j.onClick&&j.onClick(O);return}j.btnType==="cancel"&&j.onClick&&j.onClick(O)},I=O=>Array.isArray(O)?O:O&&O.fileList;return ve(Ye.Form,{layout:"horizontal",form:C==null?void 0:C.form,...Lw,...C||{},children:ve(Ye.Row,{gutter:16,...p,children:m.filter(O=>!O.hidden).map(O=>{var j,ee;return ve(Ye.Col,{...O.colProps||{span:24},children:ve(Ye.Form.Item,{...O.valueType==="upload"?{getValueFromEvent:I}:{},label:M?"":O.title,name:O.valueType==="btns"?void 0:O.dataIndex,...O.formItemProps,children:O.readonly?ve("div",{children:O.value||((j=C==null?void 0:C.initialValues)==null?void 0:j[O.dataIndex])}):O.readonly===void 0&&R?ve("div",{children:O.value||((ee=C==null?void 0:C.initialValues)==null?void 0:ee[O.dataIndex])}):ve(lC,{onChange:W=>{var ne;return(ne=O==null?void 0:O.onChange)==null?void 0:ne.call(O,W)},valueType:O.valueType,onBtnClick:S,valueProps:O.valueProps})})},O.dataIndex)})})})},lC=f=>{const{valueType:m,valueProps:p,value:C,onChange:R,onBtnClick:M,inputRef:S}=f,I=Ke.useMemo(()=>{let O=ve(Ye.Input,{placeholder:"请输入",...p,allowClear:!0});switch(m){case"password":O=ve(Ye.Input.Password,{...p});break;case"modal":O=ve(Aw,{...p});break;case"checkbox":O=ve(Ye.Checkbox.Group,{...p});break;case"select":O=ve(Ye.Select,{placeholder:"请选择",...p,allowClear:!0});break;case"inputNumber":O=ve(Ye.InputNumber,{style:{width:"100%"},placeholder:"请输入",...p});break;case"textarea":O=ve(Ye.Input.TextArea,{placeholder:"请输入",...p,allowClear:!0});break;case"radio":O=ve(Ye.Radio.Group,{...p});break;case"switch":O=ve(Ye.Switch,{...p});break;case"datePicker":O=ve(Ye.DatePicker,{style:{width:"100%"},...p,allowClear:!0});break;case"rangePicker":O=ve(Ye.DatePicker.RangePicker,{style:{width:"100%"},...p,allowClear:!0});break;case"timePicker":O=ve(Ye.TimePicker,{style:{width:"100%"},...p,allowClear:!0});break;case"cascader":O=ve(Ye.Cascader,{...p,allowClear:!0});break;case"upload":O=ve(aC,{...p});break;case"btns":O=ve(Ye.Space,{children:p==null?void 0:p.map(j=>Ke.createElement(Ye.Button,{type:j.btnType==="submit"?"primary":"default",...Of.omit(j,["btnType"]),key:j.btnType,onClick:ee=>{M==null||M(ee,j)}},j.title))});break}return O},[m,p,R,C]);return Ke.cloneElement(I,{[zw(m||"input")]:C,onChange:R,ref:S})},Aw=f=>{const{placeholder:m,labelKey:p,onToggle:C,value:R,onClear:M}=f;return jn("div",{className:iv.fieldModal,children:[ve("div",{className:iv.content,onClick:()=>C(!0),children:R?ve("span",{children:R[p]}):ve("span",{className:iv.placeholder,children:m})}),ve("span",{className:iv.suffix,onClick:M,children:R&&ve(tw,{})})]})},Uw={search:"szld-search"};function Fw(f){const{tableProps:m={},searchProps:p}=f,{columns:C=[],...R}=m;return jn(Zp,{children:[p&&ve(iC,{hiddenTitle:!0,...p,items:p.items}),ve(Ye.Table,{columns:C.filter(M=>!M.hidden),...R,className:Os(Uw.table,m==null?void 0:m.className),pagination:typeof(m==null?void 0:m.pagination)=="boolean"?m.pagination:{hideOnSinglePage:!0,showPrevNextJumpers:!0,showQuickJumper:!0,showSizeChanger:!0,showTotal:M=>`共 ${M} 条`,...m==null?void 0:m.pagination}})]})}const Hw={editableCellValueWrap:"szld-editableCellValueWrap"},oC=Ke.createContext(null),jw=({index:f,...m})=>{const[p]=Ye.Form.useForm();return ve(Ye.Form,{form:p,component:!1,children:ve(oC.Provider,{value:p,children:ve("tr",{...m})})})};function Pw(f){const{title:m,editable:p,children:C,dataIndex:R,record:M,rules:S,onChange:I,type:O="input",valueProps:j,...ee}=f,W=Ke.useRef(null),ne=Ke.useContext(oC),Q=async()=>{try{const Ee=await ne.validateFields();I({...M,...Ee})}catch(Ee){console.log("Save failed:",Ee)}},oe=()=>ve(lC,{valueType:O,valueProps:{...j,onBlur:Q,onPressEnter:Q},inputRef:W});let He=C;return p&&(He=ve(Ye.Form.Item,{style:{margin:0},initialValue:M[R],name:R,rules:S,children:oe()})),ve("td",{children:He})}function Vw(f){const{columns:m,onChange:p,...C}=f,R={body:{row:jw,cell:Pw}},M=m==null?void 0:m.map(S=>S.editable?{...S,onCell:I=>({...S,record:I,onChange:p})}:S);return ve(Ye.Table,{...C,components:R,rowClassName:()=>Hw.editableRow,columns:M})}function Oy(){return Oy=Object.assign?Object.assign.bind():function(f){for(var m=1;m<arguments.length;m++){var p=arguments[m];for(var C in p)Object.prototype.hasOwnProperty.call(p,C)&&(f[C]=p[C])}return f},Oy.apply(this,arguments)}var My={exports:{}},Tt={};var uC;function Bw(){if(uC)return Tt;uC=1;var f=typeof Symbol=="function"&&Symbol.for,m=f?Symbol.for("react.element"):60103,p=f?Symbol.for("react.portal"):60106,C=f?Symbol.for("react.fragment"):60107,R=f?Symbol.for("react.strict_mode"):60108,M=f?Symbol.for("react.profiler"):60114,S=f?Symbol.for("react.provider"):60109,I=f?Symbol.for("react.context"):60110,O=f?Symbol.for("react.async_mode"):60111,j=f?Symbol.for("react.concurrent_mode"):60111,ee=f?Symbol.for("react.forward_ref"):60112,W=f?Symbol.for("react.suspense"):60113,ne=f?Symbol.for("react.suspense_list"):60120,Q=f?Symbol.for("react.memo"):60115,oe=f?Symbol.for("react.lazy"):60116,He=f?Symbol.for("react.block"):60121,Ee=f?Symbol.for("react.fundamental"):60117,it=f?Symbol.for("react.responder"):60118,Ae=f?Symbol.for("react.scope"):60119;function he(Y){if(typeof Y=="object"&&Y!==null){var at=Y.$$typeof;switch(at){case m:switch(Y=Y.type,Y){case O:case j:case C:case M:case R:case W:return Y;default:switch(Y=Y&&Y.$$typeof,Y){case I:case ee:case oe:case Q:case S:return Y;default:return at}}case p:return at}}}function Ne(Y){return he(Y)===j}return Tt.AsyncMode=O,Tt.ConcurrentMode=j,Tt.ContextConsumer=I,Tt.ContextProvider=S,Tt.Element=m,Tt.ForwardRef=ee,Tt.Fragment=C,Tt.Lazy=oe,Tt.Memo=Q,Tt.Portal=p,Tt.Profiler=M,Tt.StrictMode=R,Tt.Suspense=W,Tt.isAsyncMode=function(Y){return Ne(Y)||he(Y)===O},Tt.isConcurrentMode=Ne,Tt.isContextConsumer=function(Y){return he(Y)===I},Tt.isContextProvider=function(Y){return he(Y)===S},Tt.isElement=function(Y){return typeof Y=="object"&&Y!==null&&Y.$$typeof===m},Tt.isForwardRef=function(Y){return he(Y)===ee},Tt.isFragment=function(Y){return he(Y)===C},Tt.isLazy=function(Y){return he(Y)===oe},Tt.isMemo=function(Y){return he(Y)===Q},Tt.isPortal=function(Y){return he(Y)===p},Tt.isProfiler=function(Y){return he(Y)===M},Tt.isStrictMode=function(Y){return he(Y)===R},Tt.isSuspense=function(Y){return he(Y)===W},Tt.isValidElementType=function(Y){return typeof Y=="string"||typeof Y=="function"||Y===C||Y===j||Y===M||Y===R||Y===W||Y===ne||typeof Y=="object"&&Y!==null&&(Y.$$typeof===oe||Y.$$typeof===Q||Y.$$typeof===S||Y.$$typeof===I||Y.$$typeof===ee||Y.$$typeof===Ee||Y.$$typeof===it||Y.$$typeof===Ae||Y.$$typeof===He)},Tt.typeOf=he,Tt}var Rt={};var sC;function $w(){return sC||(sC=1,process.env.NODE_ENV!=="production"&&function(){var f=typeof Symbol=="function"&&Symbol.for,m=f?Symbol.for("react.element"):60103,p=f?Symbol.for("react.portal"):60106,C=f?Symbol.for("react.fragment"):60107,R=f?Symbol.for("react.strict_mode"):60108,M=f?Symbol.for("react.profiler"):60114,S=f?Symbol.for("react.provider"):60109,I=f?Symbol.for("react.context"):60110,O=f?Symbol.for("react.async_mode"):60111,j=f?Symbol.for("react.concurrent_mode"):60111,ee=f?Symbol.for("react.forward_ref"):60112,W=f?Symbol.for("react.suspense"):60113,ne=f?Symbol.for("react.suspense_list"):60120,Q=f?Symbol.for("react.memo"):60115,oe=f?Symbol.for("react.lazy"):60116,He=f?Symbol.for("react.block"):60121,Ee=f?Symbol.for("react.fundamental"):60117,it=f?Symbol.for("react.responder"):60118,Ae=f?Symbol.for("react.scope"):60119;function he(me){return typeof me=="string"||typeof me=="function"||me===C||me===j||me===M||me===R||me===W||me===ne||typeof me=="object"&&me!==null&&(me.$$typeof===oe||me.$$typeof===Q||me.$$typeof===S||me.$$typeof===I||me.$$typeof===ee||me.$$typeof===Ee||me.$$typeof===it||me.$$typeof===Ae||me.$$typeof===He)}function Ne(me){if(typeof me=="object"&&me!==null){var Jt=me.$$typeof;switch(Jt){case m:var on=me.type;switch(on){case O:case j:case C:case M:case R:case W:return on;default:var pn=on&&on.$$typeof;switch(pn){case I:case ee:case oe:case Q:case S:return pn;default:return Jt}}case p:return Jt}}}var Y=O,at=j,$e=I,Kt=S,an=m,zt=ee,vt=C,Zt=oe,Ve=Q,et=p,dn=M,Dt=R,Vn=W,te=!1;function xe(me){return te||(te=!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.")),ue(me)||Ne(me)===O}function ue(me){return Ne(me)===j}function st(me){return Ne(me)===I}function ft(me){return Ne(me)===S}function Cn(me){return typeof me=="object"&&me!==null&&me.$$typeof===m}function Bn(me){return Ne(me)===ee}function aa(me){return Ne(me)===C}function ln(me){return Ne(me)===oe}function Tr(me){return Ne(me)===Q}function kn(me){return Ne(me)===p}function er(me){return Ne(me)===M}function ia(me){return Ne(me)===R}function tr(me){return Ne(me)===W}Rt.AsyncMode=Y,Rt.ConcurrentMode=at,Rt.ContextConsumer=$e,Rt.ContextProvider=Kt,Rt.Element=an,Rt.ForwardRef=zt,Rt.Fragment=vt,Rt.Lazy=Zt,Rt.Memo=Ve,Rt.Portal=et,Rt.Profiler=dn,Rt.StrictMode=Dt,Rt.Suspense=Vn,Rt.isAsyncMode=xe,Rt.isConcurrentMode=ue,Rt.isContextConsumer=st,Rt.isContextProvider=ft,Rt.isElement=Cn,Rt.isForwardRef=Bn,Rt.isFragment=aa,Rt.isLazy=ln,Rt.isMemo=Tr,Rt.isPortal=kn,Rt.isProfiler=er,Rt.isStrictMode=ia,Rt.isSuspense=tr,Rt.isValidElementType=he,Rt.typeOf=Ne}()),Rt}(function(f){process.env.NODE_ENV==="production"?f.exports=Bw():f.exports=$w()})(My);function Ny(f){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},p=[];return Ke.Children.forEach(f,function(C){C==null&&!m.keepEmpty||(Array.isArray(C)?p=p.concat(Ny(C)):My.exports.isFragment(C)&&C.props?p=p.concat(Ny(C.props.children,m)):p.push(C))}),p}function Iw(f,m){typeof f=="function"?f(m):bl(f)==="object"&&f&&"current"in f&&(f.current=m)}function Yw(){for(var f=arguments.length,m=new Array(f),p=0;p<f;p++)m[p]=arguments[p];var C=m.filter(function(R){return R});return C.length<=1?C[0]:function(R){m.forEach(function(M){Iw(M,R)})}}function Qw(f){var m,p,C=My.exports.isMemo(f)?f.type.type:f.type;return!(typeof C=="function"&&!(!((m=C.prototype)===null||m===void 0)&&m.render)||typeof f=="function"&&!(!((p=f.prototype)===null||p===void 0)&&p.render))}function cC(f){return f instanceof HTMLElement?f:nC.findDOMNode(f)}var fC=function(){if(typeof Map<"u")return Map;function f(m,p){var C=-1;return m.some(function(R,M){return R[0]===p?(C=M,!0):!1}),C}return function(){function m(){this.__entries__=[]}return Object.defineProperty(m.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),m.prototype.get=function(p){var C=f(this.__entries__,p),R=this.__entries__[C];return R&&R[1]},m.prototype.set=function(p,C){var R=f(this.__entries__,p);~R?this.__entries__[R][1]=C:this.__entries__.push([p,C])},m.prototype.delete=function(p){var C=this.__entries__,R=f(C,p);~R&&C.splice(R,1)},m.prototype.has=function(p){return!!~f(this.__entries__,p)},m.prototype.clear=function(){this.__entries__.splice(0)},m.prototype.forEach=function(p,C){C===void 0&&(C=null);for(var R=0,M=this.__entries__;R<M.length;R++){var S=M[R];p.call(C,S[1],S[0])}},m}()}(),Ly=typeof window<"u"&&typeof document<"u"&&window.document===document,lv=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")()}(),Ww=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(lv):function(f){return setTimeout(function(){return f(Date.now())},1e3/60)}}(),Gw=2;function qw(f,m){var p=!1,C=!1,R=0;function M(){p&&(p=!1,f()),C&&I()}function S(){Ww(M)}function I(){var O=Date.now();if(p){if(O-R<Gw)return;C=!0}else p=!0,C=!1,setTimeout(S,m);R=O}return I}var Xw=20,Kw=["top","right","bottom","left","width","height","size","weight"],Zw=typeof MutationObserver<"u",Jw=function(){function f(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=qw(this.refresh.bind(this),Xw)}return f.prototype.addObserver=function(m){~this.observers_.indexOf(m)||this.observers_.push(m),this.connected_||this.connect_()},f.prototype.removeObserver=function(m){var p=this.observers_,C=p.indexOf(m);~C&&p.splice(C,1),!p.length&&this.connected_&&this.disconnect_()},f.prototype.refresh=function(){var m=this.updateObservers_();m&&this.refresh()},f.prototype.updateObservers_=function(){var m=this.observers_.filter(function(p){return p.gatherActive(),p.hasActive()});return m.forEach(function(p){return p.broadcastActive()}),m.length>0},f.prototype.connect_=function(){!Ly||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Zw?(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)},f.prototype.disconnect_=function(){!Ly||!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)},f.prototype.onTransitionEnd_=function(m){var p=m.propertyName,C=p===void 0?"":p,R=Kw.some(function(M){return!!~C.indexOf(M)});R&&this.refresh()},f.getInstance=function(){return this.instance_||(this.instance_=new f),this.instance_},f.instance_=null,f}(),dC=function(f,m){for(var p=0,C=Object.keys(m);p<C.length;p++){var R=C[p];Object.defineProperty(f,R,{value:m[R],enumerable:!1,writable:!1,configurable:!0})}return f},Ls=function(f){var m=f&&f.ownerDocument&&f.ownerDocument.defaultView;return m||lv},pC=uv(0,0,0,0);function ov(f){return parseFloat(f)||0}function vC(f){for(var m=[],p=1;p<arguments.length;p++)m[p-1]=arguments[p];return m.reduce(function(C,R){var M=f["border-"+R+"-width"];return C+ov(M)},0)}function ex(f){for(var m=["top","right","bottom","left"],p={},C=0,R=m;C<R.length;C++){var M=R[C],S=f["padding-"+M];p[M]=ov(S)}return p}function tx(f){var m=f.getBBox();return uv(0,0,m.width,m.height)}function nx(f){var m=f.clientWidth,p=f.clientHeight;if(!m&&!p)return pC;var C=Ls(f).getComputedStyle(f),R=ex(C),M=R.left+R.right,S=R.top+R.bottom,I=ov(C.width),O=ov(C.height);if(C.boxSizing==="border-box"&&(Math.round(I+M)!==m&&(I-=vC(C,"left","right")+M),Math.round(O+S)!==p&&(O-=vC(C,"top","bottom")+S)),!ax(f)){var j=Math.round(I+M)-m,ee=Math.round(O+S)-p;Math.abs(j)!==1&&(I-=j),Math.abs(ee)!==1&&(O-=ee)}return uv(R.left,R.top,I,O)}var rx=function(){return typeof SVGGraphicsElement<"u"?function(f){return f instanceof Ls(f).SVGGraphicsElement}:function(f){return f instanceof Ls(f).SVGElement&&typeof f.getBBox=="function"}}();function ax(f){return f===Ls(f).document.documentElement}function ix(f){return Ly?rx(f)?tx(f):nx(f):pC}function lx(f){var m=f.x,p=f.y,C=f.width,R=f.height,M=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,S=Object.create(M.prototype);return dC(S,{x:m,y:p,width:C,height:R,top:p,right:m+C,bottom:R+p,left:m}),S}function uv(f,m,p,C){return{x:f,y:m,width:p,height:C}}var ox=function(){function f(m){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=uv(0,0,0,0),this.target=m}return f.prototype.isActive=function(){var m=ix(this.target);return this.contentRect_=m,m.width!==this.broadcastWidth||m.height!==this.broadcastHeight},f.prototype.broadcastRect=function(){var m=this.contentRect_;return this.broadcastWidth=m.width,this.broadcastHeight=m.height,m},f}(),ux=function(){function f(m,p){var C=lx(p);dC(this,{target:m,contentRect:C})}return f}(),sx=function(){function f(m,p,C){if(this.activeObservations_=[],this.observations_=new fC,typeof m!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=m,this.controller_=p,this.callbackCtx_=C}return f.prototype.observe=function(m){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(m instanceof Ls(m).Element))throw new TypeError('parameter 1 is not of type "Element".');var p=this.observations_;p.has(m)||(p.set(m,new ox(m)),this.controller_.addObserver(this),this.controller_.refresh())}},f.prototype.unobserve=function(m){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(m instanceof Ls(m).Element))throw new TypeError('parameter 1 is not of type "Element".');var p=this.observations_;p.has(m)&&(p.delete(m),p.size||this.controller_.removeObserver(this))}},f.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},f.prototype.gatherActive=function(){var m=this;this.clearActive(),this.observations_.forEach(function(p){p.isActive()&&m.activeObservations_.push(p)})},f.prototype.broadcastActive=function(){if(this.hasActive()){var m=this.callbackCtx_,p=this.activeObservations_.map(function(C){return new ux(C.target,C.broadcastRect())});this.callback_.call(m,p,m),this.clearActive()}},f.prototype.clearActive=function(){this.activeObservations_.splice(0)},f.prototype.hasActive=function(){return this.activeObservations_.length>0},f}(),hC=typeof WeakMap<"u"?new WeakMap:new fC,mC=function(){function f(m){if(!(this instanceof f))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var p=Jw.getInstance(),C=new sx(m,p,this);hC.set(this,C)}return f}();["observe","unobserve","disconnect"].forEach(function(f){mC.prototype[f]=function(){var m;return(m=hC.get(this))[f].apply(m,arguments)}});var cx=function(){return typeof lv.ResizeObserver<"u"?lv.ResizeObserver:mC}(),Rl=new Map;function yC(f){f.forEach(function(m){var p,C=m.target;(p=Rl.get(C))===null||p===void 0||p.forEach(function(R){return R(C)})})}var gC=new cx(yC);process.env.NODE_ENV,process.env.NODE_ENV;function fx(f,m){Rl.has(f)||(Rl.set(f,new Set),gC.observe(f)),Rl.get(f).add(m)}function dx(f,m){Rl.has(f)&&(Rl.get(f).delete(m),Rl.get(f).size||(gC.unobserve(f),Rl.delete(f)))}function px(f,m){if(!(f instanceof m))throw new TypeError("Cannot call a class as a function")}function SC(f,m){for(var p=0;p<m.length;p++){var C=m[p];C.enumerable=C.enumerable||!1,C.configurable=!0,"value"in C&&(C.writable=!0),Object.defineProperty(f,y1(C.key),C)}}function vx(f,m,p){return m&&SC(f.prototype,m),p&&SC(f,p),Object.defineProperty(f,"prototype",{writable:!1}),f}function zy(f,m){return zy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(C,R){return C.__proto__=R,C},zy(f,m)}function hx(f,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function");f.prototype=Object.create(m&&m.prototype,{constructor:{value:f,writable:!0,configurable:!0}}),Object.defineProperty(f,"prototype",{writable:!1}),m&&zy(f,m)}function sv(f){return sv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},sv(f)}function mx(){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 yx(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function gx(f,m){if(m&&(bl(m)==="object"||typeof m=="function"))return m;if(m!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return yx(f)}function Sx(f){var m=mx();return function(){var C=sv(f),R;if(m){var M=sv(this).constructor;R=Reflect.construct(C,arguments,M)}else R=C.apply(this,arguments);return gx(this,R)}}var Cx=function(f){hx(p,f);var m=Sx(p);function p(){return px(this,p),m.apply(this,arguments)}return vx(p,[{key:"render",value:function(){return this.props.children}}]),p}(ct.Component),Ay=ct.createContext(null);function Ex(f){var m=f.children,p=f.onBatchResize,C=ct.useRef(0),R=ct.useRef([]),M=ct.useContext(Ay),S=ct.useCallback(function(I,O,j){C.current+=1;var ee=C.current;R.current.push({size:I,element:O,data:j}),Promise.resolve().then(function(){ee===C.current&&(p==null||p(R.current),R.current=[])}),M==null||M(I,O,j)},[p,M]);return ct.createElement(Ay.Provider,{value:S},m)}function bx(f){var m=f.children,p=f.disabled,C=ct.useRef(null),R=ct.useRef(null),M=ct.useContext(Ay),S=typeof m=="function",I=S?m(C):m,O=ct.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),j=!S&&ct.isValidElement(I)&&Qw(I),ee=j?I.ref:null,W=ct.useMemo(function(){return Yw(ee,C)},[ee,C]),ne=ct.useRef(f);ne.current=f;var Q=ct.useCallback(function(oe){var He=ne.current,Ee=He.onResize,it=He.data,Ae=oe.getBoundingClientRect(),he=Ae.width,Ne=Ae.height,Y=oe.offsetWidth,at=oe.offsetHeight,$e=Math.floor(he),Kt=Math.floor(Ne);if(O.current.width!==$e||O.current.height!==Kt||O.current.offsetWidth!==Y||O.current.offsetHeight!==at){var an={width:$e,height:Kt,offsetWidth:Y,offsetHeight:at};O.current=an;var zt=Y===Math.round(he)?he:Y,vt=at===Math.round(Ne)?Ne:at,Zt=rn(rn({},an),{},{offsetWidth:zt,offsetHeight:vt});M==null||M(Zt,oe,it),Ee&&Promise.resolve().then(function(){Ee(Zt,oe)})}},[]);return ct.useEffect(function(){var oe=cC(C.current)||cC(R.current);return oe&&!p&&fx(oe,Q),function(){return dx(oe,Q)}},[C.current,p]),ct.createElement(Cx,{ref:R},j?ct.cloneElement(I,{ref:W}):I)}var Tx="rc-observer-key";function CC(f){var m=f.children,p=typeof m=="function"?[m]:Ny(m);return process.env.NODE_ENV!=="production"&&(p.length>1?gy(!1,"Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead."):p.length===0&&gy(!1,"`children` of ResizeObserver is empty. Nothing is in observe.")),p.map(function(C,R){var M=(C==null?void 0:C.key)||"".concat(Tx,"-").concat(R);return ct.createElement(bx,Oy({},f,{key:M}),C)})}CC.Collection=Ex;const zs={grid:"szld-grid",cell:"szld-cell",editBox:"szld-editBox",editForm:"szld-editForm"};function Rx(f){const{columns:m,scroll:p,onChange:C,...R}=f,[M,S]=Ke.useState(0),I=m.filter(({width:Q})=>!Q).length,O=m.map(Q=>Q.width?Q:{...Q,width:Math.floor(M/I)}),j=Ke.useRef(),[ee]=Ke.useState(()=>{const Q={};return Object.defineProperty(Q,"scrollLeft",{get:()=>{var oe,He;return j.current?(He=(oe=j.current)==null?void 0:oe.state)==null?void 0:He.scrollLeft:null},set:oe=>{j.current&&j.current.scrollTo({scrollLeft:oe})}}),Q}),W=()=>{var Q;(Q=j.current)==null||Q.resetAfterIndices({columnIndex:0,shouldForceUpdate:!0})};Ke.useEffect(()=>W,[M]);const ne=(Q,{scrollbarSize:oe,ref:He,onScroll:Ee})=>{He.current=ee;const it=Q.length*54;return ve(iR.VariableSizeGrid,{ref:j,className:zs.grid,columnCount:O.length,columnWidth:Ae=>{const{width:he}=O[Ae];return it>p.y&&Ae===O.length-1?he-oe-1:he},height:p.y,rowCount:Q.length,rowHeight:()=>54,width:M,onScroll:({scrollLeft:Ae})=>{Ee({scrollLeft:Ae})},children:({columnIndex:Ae,rowIndex:he,style:Ne})=>ve("div",{className:Os(zs.cell,{[zs.cellLast]:Ae===O.length-1}),style:Ne,children:ve(wx,{data:Q[he],onChange:C,column:O[Ae]})})})};return ve(CC,{onResize:({width:Q})=>{S(Q)},children:ve(Ye.Table,{...R,className:zs.table,columns:O,scroll:p,pagination:!1,components:{body:ne}})})}function wx(f){const{column:m,data:p,onChange:C}=f,[R,M]=Ke.useState(!1),S=Ke.useRef(null),[I]=Ye.Form.useForm();Ke.useEffect(()=>{R&&S.current.focus()},[R]);const O=async()=>{try{const W=await I.validateFields();j(),C&&C({...p,...W})}catch(W){console.log("Save failed:",W)}},j=()=>{M(!R),m.dataIndex&&I.setFieldsValue({[m.dataIndex]:p[m.dataIndex]})};let ee=p[m.dataIndex];return m.editable&&(ee=R?ve(Ye.Form,{form:I,className:zs.editForm,children:ve(Ye.Form.Item,{style:{margin:0},name:m.dataIndex,rules:m.rules,children:ve(Ye.Input,{ref:S,onPressEnter:O,onBlur:O,...m.inputProps})})}):ve("div",{className:zs.editBox,onClick:j,children:p[m.dataIndex]})),ve(Zp,{children:ee})}const EC=f=>{const{auth:m=!0,...p}=f;return m?ve(Ye.Button,{...p}):null},xx=f=>{const{PId:m,auths:p,...C}=f,R=Ke.useMemo(()=>!!(p&&p.find(M=>M.PId===m)),[m,p]);return ve(EC,{...C,auth:R})},Pn={main:"szld-main",item:"szld-item",tail:"szld-tail",node:"szld-node",content:"szld-content",collpase:"szld-collpase",btn:"szld-btn",title:"szld-title",dateWrapper:"szld-dateWrapper",remark:"szld-remark",itemActive:"szld-itemActive",itemDone:"szld-itemDone",itemUnDo:"szld-itemUnDo"},_x=f=>{const{data:m,current:p}=f,[C,R]=Ke.useState(!1),M=Ke.useMemo(()=>!p||m.length===0?0:m.findIndex(j=>j.PNId===p),[p,m]),S=Ke.useMemo(()=>M>1?C?0:M-1:0,[M,C]),I=()=>{R(!0)};return jn("ul",{className:Pn.main,children:[M>1&&!C&&jn("li",{className:Os(Pn.item,Pn.itemDone),children:[ve("div",{className:Pn.tail}),ve("div",{className:Pn.node}),ve("div",{className:Pn.content,children:jn("div",{className:Pn.collpase,children:[jn("div",{children:["已收起",ve("span",{children:M-1}),"个节点"]}),jn("a",{className:Pn.btn,onClick:I,children:["展开节点",ve(aw,{})]})]})})]}),m.slice(S).map((O,j)=>jn("li",{className:Os(Pn.item,M===j+S?Pn.itemActive:M>j+S?Pn.itemDone:Pn.itemUnDo),children:[ve("div",{className:Pn.tail}),ve("div",{className:Pn.node}),jn("div",{className:Pn.content,children:[ve("div",{className:Pn.title,children:O.PNName}),jn("div",{className:Pn.dateWrapper,children:[O.PlanFinishDate&&jn("span",{children:["预计完成时间: ",O.PlanFinishDate]}),O.UpdateTime&&jn("span",{style:{color:"#333",fontWeight:"bold"},children:["实际完成时间: ",O.UpdateTime]}),C&&M-1===j&&jn("a",{className:Pn.btn,onClick:()=>R(!1),children:["收起节点 ",ve(cw,{})]})]}),O.Remark&&ve("div",{className:Pn.remark,children:O.Remark})]})]},O.PNId))]})},kx=f=>{const{current:m,data:p,...C}=f;return(()=>{Ye.Modal.info({icon:null,title:"流程节点",width:700,content:ve(_x,{current:m,data:p}),closable:!0,footer:null,maskClosable:!0,...C})})(),null},Dx=(f,m)=>{const p=new URL(f),C=new URL(m);return p.protocol===C.protocol&&p.host===C.host&&p.port===C.port},Ox=f=>{const m=new URL(f).href.split("/");return m[m.length-1]},Mx=f=>{var p;return(p=f.headers.get("content-disposition"))==null?void 0:p.split(";")[1].split("=")[1]},Nx=(f,m)=>{const p=m||Ox(f);if(Dx(f,window.location.href)){Uy(f,p);return}let C=m;fetch(f,{method:"get"}).then(R=>(C||(C=Mx(R)),R.blob())).then(R=>{bC(R,C||p)}).catch(()=>{Uy(f,"")})},bC=(f,m)=>{let p=window.URL.createObjectURL(f);const C=window.navigator;if(C.msSaveOrOpenBlob){C.msSaveOrOpenBlob(f,m);return}Uy(p,m),window.URL.revokeObjectURL(p)},Uy=(f,m)=>{let p=document.createElement("a");p.style.display="none",p.href=f,p.target="_blank",p.download=m,document.body.appendChild(p),p.click(),document.body.removeChild(p)},Lx=Object.freeze(Object.defineProperty({__proto__:null,downloadUrl:Nx,downloadBlob:bC},Symbol.toStringTag,{value:"Module"}));class zx{constructor(m){rR(this,"options",{id:"",canvasId:"verifyCanvas",width:100,height:30,type:"blend",code:""});this.options=m}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 m=document.getElementById(this.options.id),p=document.createElement("canvas");p.id=this.options.canvasId,p.width=Number(this.options.width),p.height=Number(this.options.height),p.style.cursor="pointer",p.innerHTML="您的浏览器版本不支持canvas",m&&m.appendChild(p),p.onclick=()=>{this.refresh()}}refresh(){this.options.code="";const m=document.getElementById(this.options.canvasId);let p,C=[];if(m.getContext)p=m.getContext("2d");else return;p.textBaseline="middle",p.fillStyle=this.randomColor(180,240),p.fillRect(0,0,this.options.width,this.options.height),this.options.type=="blend"?C=this.options.numArr.concat(this.options.letterArr):this.options.type=="number"?C=this.options.numArr:C=this.options.letterArr;for(let R=1;R<=4;R++){const M=C[this.randomNum(0,C.length)];this.options.code+=M,p.font="20px SimHei",p.fillStyle=this.randomColor(50,160),p.shadowBlur=this.randomNum(-3,3),p.shadowColor="rgba(0, 0, 0, 0.3)";const S=Number(this.options.width)/5*R,I=Number(this.options.height)/2,O=this.randomNum(-30,30);p.translate(S,I),p.rotate(O*Math.PI/180),p.fillText(M,0,0),p.rotate(-O*Math.PI/180),p.translate(-S,-I)}for(let R=0;R<2;R++)p.strokeStyle=this.randomColor(40,180),p.beginPath(),p.moveTo(this.randomNum(0,Number(this.options.width)/2),this.randomNum(0,Number(this.options.height)/2)),p.lineTo(this.randomNum(0,Number(this.options.width)/2),this.randomNum(0,Number(this.options.height))),p.stroke();for(let R=0;R<Number(this.options.width)/10;R++)p.fillStyle=this.randomColor(0,255),p.beginPath(),p.arc(this.randomNum(0,this.options.width),this.randomNum(0,this.options.height),1,0,2*Math.PI),p.fill()}validate(m){const p=m.toLowerCase(),C=this.options.code.toLowerCase();return p==C}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(m,p){return Math.floor(Math.random()*(p-m)+m)}randomColor(m,p){const C=this.randomNum(m,p),R=this.randomNum(m,p),M=this.randomNum(m,p);return"rgb("+C+","+R+","+M+")"}}const Ax=Object.freeze(Object.defineProperty({__proto__:null,getGVerify:zx},Symbol.toStringTag,{value:"Module"}));kt.AuthButton=EC,kt.BackHeader=mw,kt.CoralButton=xx,kt.CreateForm=iC,kt.EditTable=Vw,kt.SearchTable=Fw,kt.UploadFile=aC,kt.VirtualTable=Rx,kt.download=Lx,kt.fileType=yw,kt.showWorkFlow=kx,kt.utils=_w,kt.verfyCode=Ax,Object.defineProperty(kt,Symbol.toStringTag,{value:"Module"})});
|