(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+BJd":function(R,N,t){"use strict";var y=t("cIOH"),p=t.n(y),S=t("6MrE"),m=t.n(S)},"+QRC":function(R,N,t){"use strict";var y=t("E9nw"),p={"text/plain":"Text","text/html":"Url",default:"Text"},S="Copy to clipboard: #{key}, Enter";function m(f){var d=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return f.replace(/#{\s*key\s*}/g,d)}function g(f,d){var c,a,n,i,o,r,l=!1;d||(d={}),c=d.debug||!1;try{n=y(),i=document.createRange(),o=document.getSelection(),r=document.createElement("span"),r.textContent=f,r.style.all="unset",r.style.position="fixed",r.style.top=0,r.style.clip="rect(0, 0, 0, 0)",r.style.whiteSpace="pre",r.style.webkitUserSelect="text",r.style.MozUserSelect="text",r.style.msUserSelect="text",r.style.userSelect="text",r.addEventListener("copy",function(s){if(s.stopPropagation(),d.format)if(s.preventDefault(),typeof s.clipboardData=="undefined"){c&&console.warn("unable to use e.clipboardData"),c&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var u=p[d.format]||p.default;window.clipboardData.setData(u,f)}else s.clipboardData.clearData(),s.clipboardData.setData(d.format,f);d.onCopy&&(s.preventDefault(),d.onCopy(s.clipboardData))}),document.body.appendChild(r),i.selectNodeContents(r),o.addRange(i);var e=document.execCommand("copy");if(!e)throw new Error("copy command was unsuccessful");l=!0}catch(s){c&&console.error("unable to copy using execCommand: ",s),c&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(d.format||"text",f),d.onCopy&&d.onCopy(window.clipboardData),l=!0}catch(u){c&&console.error("unable to copy using clipboardData: ",u),c&&console.error("falling back to prompt"),a=m("message"in d?d.message:S),window.prompt(a,f)}}finally{o&&(typeof o.removeRange=="function"?o.removeRange(i):o.removeAllRanges()),r&&document.body.removeChild(r),n()}return l}R.exports=g},"+TT/":function(R,N,t){var y=t("bYtY"),p=t("mFDi"),S=t("OELB"),m=S.parsePercent,g=t("7aKB"),f=y.each,d=["left","right","top","bottom","width","height"],c=[["width","left","right"],["height","top","bottom"]];function a(v,w,b,E,T){var _=0,x=0;E==null&&(E=Infinity),T==null&&(T=Infinity);var C=0;w.eachChild(function(I,L){var F=I.position,B=I.getBoundingRect(),P=w.childAt(L+1),H=P&&P.getBoundingRect(),z,M;if(v==="horizontal"){var U=B.width+(H?-H.x+B.x:0);z=_+U,z>E||I.newline?(_=0,z=U,x+=C+b,C=B.height):C=Math.max(C,B.height)}else{var k=B.height+(H?-H.y+B.y:0);M=x+k,M>T||I.newline?(_+=C+b,x=0,M=k,C=B.width):C=Math.max(C,B.width)}if(I.newline)return;F[0]=_,F[1]=x,v==="horizontal"?_=z+b:x=M+b})}var n=a,i=y.curry(a,"vertical"),o=y.curry(a,"horizontal");function r(v,w,b){var E=w.width,T=w.height,_=m(v.x,E),x=m(v.y,T),C=m(v.x2,E),I=m(v.y2,T);return(isNaN(_)||isNaN(parseFloat(v.x)))&&(_=0),(isNaN(C)||isNaN(parseFloat(v.x2)))&&(C=E),(isNaN(x)||isNaN(parseFloat(v.y)))&&(x=0),(isNaN(I)||isNaN(parseFloat(v.y2)))&&(I=T),b=g.normalizeCssArray(b||0),{width:Math.max(C-_-b[1]-b[3],0),height:Math.max(I-x-b[0]-b[2],0)}}function l(v,w,b){b=g.normalizeCssArray(b||0);var E=w.width,T=w.height,_=m(v.left,E),x=m(v.top,T),C=m(v.right,E),I=m(v.bottom,T),L=m(v.width,E),F=m(v.height,T),B=b[2]+b[0],P=b[1]+b[3],H=v.aspect;isNaN(L)&&(L=E-C-P-_),isNaN(F)&&(F=T-I-B-x),H!=null&&(isNaN(L)&&isNaN(F)&&(H>E/T?L=E*.8:F=T*.8),isNaN(L)&&(L=H*F),isNaN(F)&&(F=L/H)),isNaN(_)&&(_=E-C-L-P),isNaN(x)&&(x=T-I-F-B);switch(v.left||v.right){case"center":_=E/2-L/2-b[3];break;case"right":_=E-L-P;break}switch(v.top||v.bottom){case"middle":case"center":x=T/2-F/2-b[0];break;case"bottom":x=T-F-B;break}_=_||0,x=x||0,isNaN(L)&&(L=E-P-_-(C||0)),isNaN(F)&&(F=T-B-x-(I||0));var z=new p(_+b[3],x+b[0],L,F);return z.margin=b,z}function e(v,w,b,E,T){var _=!T||!T.hv||T.hv[0],x=!T||!T.hv||T.hv[1],C=T&&T.boundingMode||"all";if(!_&&!x)return;var I;if(C==="raw")I=v.type==="group"?new p(0,0,+w.width||0,+w.height||0):v.getBoundingRect();else if(I=v.getBoundingRect(),v.needLocalTransform()){var L=v.getLocalTransform();I=I.clone(),I.applyTransform(L)}w=l(y.defaults({width:I.width,height:I.height},w),b,E);var F=v.position,B=_?w.x-I.x:0,P=x?w.y-I.y:0;v.attr("position",C==="raw"?[B,P]:[F[0]+B,F[1]+P])}function s(v,w){return v[c[w][0]]!=null||v[c[w][1]]!=null&&v[c[w][2]]!=null}function u(v,w,b){!y.isObject(b)&&(b={});var E=b.ignoreSize;!y.isArray(E)&&(E=[E,E]);var T=x(c[0],0),_=x(c[1],1);L(c[0],v,T),L(c[1],v,_);function x(F,B){var P={},H=0,z={},M=0,U=2;if(f(F,function(j){z[j]=v[j]}),f(F,function(j){C(w,j)&&(P[j]=z[j]=w[j]),I(P,j)&&H++,I(z,j)&&M++}),E[B])return I(w,F[1])?z[F[2]]=null:I(w,F[2])&&(z[F[1]]=null),z;if(M===U||!H)return z;if(H>=U)return P;for(var k=0;k2&&arguments[2]!==void 0?arguments[2]:"0",rr=String(ze);rr.length=12,Hn%=12);var Nr=c.useMemo(function(){if(!In)return[!1,!1];var Un=[!0,!0];return Qr.forEach(function(Qn){var $n=Qn.disabled,wi=Qn.value;if($n)return;wi>=12?Un[1]=!1:Un[0]=!1}),Un},[In,Qr]),Xt=Object(k.a)(Nr,2),xr=Xt[0],er=Xt[1],jr=c.useMemo(function(){return In?Qr.filter(Li?function(Un){return Un.value>=12}:function(Un){return Un.value<12}).map(function(Un){var Qn=Un.value%12,$n=Qn===0?"12":Ye(Qn,2);return Object(U.a)(Object(U.a)({},Un),{},{label:$n,value:Qn})}):Qr},[In,Qr]),Ur=Mt(0,59,Sn,Zn&&Zn(Hn)),pn=Mt(0,59,Kn,yi&&yi(Hn,Ci));rr.current={onUpDown:function(Qn){var $n=ki[Lr];if($n)for(var wi=$n.units.findIndex(function(sa){return sa.value===$n.value}),ra=$n.units.length,ua=1;ua1&&(Kr=Ct.addDate(Kr,-7)),Kr}function $t(ze,Ct,or){var rr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(Ct){case"year":return or.addYear(ze,rr*10);case"quarter":case"month":return or.addYear(ze,rr);default:return or.addMonth(ze,rr)}}var Sr=c.createContext({}),vr=Sr;function fr(ze){var Ct=ze.cellPrefixCls,or=ze.generateConfig,rr=ze.rangedValue,Lr=ze.hoverRangedValue,Fr=ze.isInView,Kr=ze.isSameCell,nn=ze.offsetCell,wn=ze.today,In=ze.value;function Rn(Nn){var bn,Sn=nn(Nn,-1),_n=nn(Nn,1),Kn=vt(rr,0),Yn=vt(rr,1),Zn=vt(Lr,0),yi=vt(Lr,1),gi=at(or,Zn,yi,Nn);function Ni(Ci){return Kr(Kn,Ci)}function ki(Ci){return Kr(Yn,Ci)}var xi=Kr(Zn,Nn),_i=Kr(yi,Nn),Li=(gi||_i)&&(!Fr(Sn)||ki(Sn)),Hn=(gi||xi)&&(!Fr(_n)||Ni(_n));return bn={},Object(M.a)(bn,"".concat(Ct,"-in-view"),Fr(Nn)),Object(M.a)(bn,"".concat(Ct,"-in-range"),at(or,Kn,Yn,Nn)),Object(M.a)(bn,"".concat(Ct,"-range-start"),Ni(Nn)),Object(M.a)(bn,"".concat(Ct,"-range-end"),ki(Nn)),Object(M.a)(bn,"".concat(Ct,"-range-start-single"),Ni(Nn)&&!Yn),Object(M.a)(bn,"".concat(Ct,"-range-end-single"),ki(Nn)&&!Kn),Object(M.a)(bn,"".concat(Ct,"-range-start-near-hover"),Ni(Nn)&&(Kr(Sn,Zn)||at(or,Zn,yi,Sn))),Object(M.a)(bn,"".concat(Ct,"-range-end-near-hover"),ki(Nn)&&(Kr(_n,yi)||at(or,Zn,yi,_n))),Object(M.a)(bn,"".concat(Ct,"-range-hover"),gi),Object(M.a)(bn,"".concat(Ct,"-range-hover-start"),xi),Object(M.a)(bn,"".concat(Ct,"-range-hover-end"),_i),Object(M.a)(bn,"".concat(Ct,"-range-hover-edge-start"),Li),Object(M.a)(bn,"".concat(Ct,"-range-hover-edge-end"),Hn),Object(M.a)(bn,"".concat(Ct,"-range-hover-edge-start-near-range"),Li&&Kr(Sn,Yn)),Object(M.a)(bn,"".concat(Ct,"-range-hover-edge-end-near-range"),Hn&&Kr(_n,Kn)),Object(M.a)(bn,"".concat(Ct,"-today"),Kr(wn,Nn)),Object(M.a)(bn,"".concat(Ct,"-selected"),Kr(In,Nn)),bn}return Rn}function An(ze){for(var Ct=ze.prefixCls,or=ze.disabledDate,rr=ze.onSelect,Lr=ze.rowNum,Fr=ze.colNum,Kr=ze.prefixColumn,nn=ze.rowClassName,wn=ze.baseDate,In=ze.getCellClassName,Rn=ze.getCellText,Nn=ze.getCellNode,bn=ze.getCellDate,Sn=ze.titleCell,_n=ze.headerCells,Kn=c.useContext(X),Yn=Kn.onDateMouseEnter,Zn=Kn.onDateMouseLeave,yi="".concat(Ct,"-cell"),gi=[],Ni=0;Ni2&&arguments[2]!==void 0?arguments[2]:!1;(wa===Kn||Vo)&&(La(Bi),_i&&_i(Bi),ra&&ra(Bi,Ia),Li&&!Lt(nn,Bi,Vi)&&Li(Bi))},Ma=function(Bi){return Zi.current&&Zi.current.onKeyDown?([V.a.LEFT,V.a.RIGHT,V.a.UP,V.a.DOWN,V.a.PAGE_UP,V.a.PAGE_DOWN,V.a.ENTER].includes(Bi.which)&&Bi.preventDefault(),Zi.current.onKeyDown(Bi)):(Object(S.a)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)},ka=function(Bi){Zi.current&&Zi.current.onBlur&&Zi.current.onBlur(Bi)};$n&&Wi!=="right"&&($n.current={onKeyDown:Ma,onClose:function(){Zi.current&&Zi.current.onClose&&Zi.current.onClose()}}),c.useEffect(function(){wn&&!ba.current&&Da(wn)},[wn]),c.useEffect(function(){ba.current=!1},[]);var yo,to=Object(U.a)(Object(U.a)({},ze),{},{operationRef:Zi,prefixCls:rr,viewDate:Ea,value:Vi,onViewDateChange:Na,sourceMode:lo,onPanelChange:Sa,disabledDate:wa!=="decade"?bn:void 0});delete to.onChange,delete to.onSelect;switch(wa){case"decade":yo=c.createElement(Ht,Object.assign({},to,{onSelect:function(Bi,Ia){Na(Bi),Ja(Bi,Ia)}}));break;case"year":yo=c.createElement(Be,Object.assign({},to,{onSelect:function(Bi,Ia){Na(Bi),Ja(Bi,Ia)}}));break;case"month":yo=c.createElement(Ft,Object.assign({},to,{onSelect:function(Bi,Ia){Na(Bi),Ja(Bi,Ia)}}));break;case"quarter":yo=c.createElement(Tn,Object.assign({},to,{onSelect:function(Bi,Ia){Na(Bi),Ja(Bi,Ia)}}));break;case"week":yo=c.createElement(Pr,Object.assign({},to,{onSelect:function(Bi,Ia){Na(Bi),Ja(Bi,Ia)}}));break;case"time":delete to.showTime,yo=c.createElement(bt,Object.assign({},to,Object(j.a)(gi)==="object"?gi:null,{onSelect:function(Bi,Ia){Na(Bi),Ja(Bi,Ia)}}));break;default:gi?yo=c.createElement(Vt,Object.assign({},to,{onSelect:function(Bi,Ia){Na(Bi),Ja(Bi,Ia)}})):yo=c.createElement(Ue,Object.assign({},to,{onSelect:function(Bi,Ia){Na(Bi),Ja(Bi,Ia)}}))}var _o,co,uo=function(){var Bi=nn.getNow(),Ia=xt(nn.getHour(Bi),nn.getMinute(Bi),nn.getSecond(Bi),sn?Xt:1,vn?er:1,Un?Ur:1),Vo=wt(nn,Bi,Ia[0],Ia[1],Ia[2]);Ja(Vo,"submit")};ua||(_o=cn(rr,wa,ki),co=nr({prefixCls:rr,components:Dr,needConfirmButton:pn,okDisabled:!Vi||bn&&bn(Vi),locale:Kr,showNow:yi,onNow:pn&&uo,onOk:function(){Vi&&(Ja(Vi,"submit",!0),pr&&pr(Vi))}}));var Qa;if(Ni&&wa==="date"&&Kn==="date"&&!gi){var Za=nn.getNow(),Ca="".concat(rr,"-today-btn"),no=bn&&bn(Za);Qa=c.createElement("a",{className:T()(Ca,no&&"".concat(Ca,"-disabled")),"aria-disabled":no,onClick:function(){no||Ja(Za,"mouse",!0)}},Kr.today)}return c.createElement(X.Provider,{value:Object(U.a)(Object(U.a)({},Qn),{},{hideHeader:"hideHeader"in ze?xi:Qn.hideHeader,hidePrevBtn:fa&&Wi==="right",hideNextBtn:fa&&Wi==="left"})},c.createElement("div",{tabIndex:Zn,className:T()("".concat(rr,"-panel"),Lr,(Ct={},Object(M.a)(Ct,"".concat(rr,"-panel-has-range"),Di&&Di[0]&&Di[1]),Object(M.a)(Ct,"".concat(rr,"-panel-has-range-hover"),na&&na[0]&&na[1]),Object(M.a)(Ct,"".concat(rr,"-panel-rtl"),Qr==="rtl"),Ct)),style:Fr,onKeyDown:Ma,onBlur:ka,onMouseDown:Ci,ref:wi},yo,_o||co||Qa?c.createElement("div",{className:"".concat(rr,"-footer")},_o,co,Qa):null))}var Br=Xr,yr=t("uciX"),xn={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function Bn(ze){var Ct,or=ze.prefixCls,rr=ze.popupElement,Lr=ze.popupStyle,Fr=ze.visible,Kr=ze.dropdownClassName,nn=ze.dropdownAlign,wn=ze.transitionName,In=ze.getPopupContainer,Rn=ze.children,Nn=ze.range,bn=ze.popupPlacement,Sn=ze.direction,_n="".concat(or,"-dropdown"),Kn=function(){return bn!==void 0?bn:Sn==="rtl"?"bottomRight":"bottomLeft"};return c.createElement(yr.a,{showAction:[],hideAction:[],popupPlacement:Kn(),builtinPlacements:xn,prefixCls:_n,popupTransitionName:wn,popup:rr,popupAlign:nn,popupVisible:Fr,popupClassName:T()(Kr,(Ct={},Object(M.a)(Ct,"".concat(_n,"-range"),Nn),Object(M.a)(Ct,"".concat(_n,"-rtl"),Sn==="rtl"),Ct)),popupStyle:Lr,getPopupContainer:In},Rn)}var ii=Bn;function oi(ze){var Ct=ze.open,or=ze.value,rr=ze.isClickOutside,Lr=ze.triggerOpen,Fr=ze.forwardKeyDown,Kr=ze.blurToCancel,nn=ze.onSubmit,wn=ze.onCancel,In=ze.onFocus,Rn=ze.onBlur,Nn=Object(c.useState)(!1),bn=Object(k.a)(Nn,2),Sn=bn[0],_n=bn[1],Kn=Object(c.useState)(!1),Yn=Object(k.a)(Kn,2),Zn=Yn[0],yi=Yn[1],gi=Object(c.useRef)(!1),Ni=Object(c.useRef)(!1),ki={onMouseDown:function(){_n(!0),Lr(!0)},onKeyDown:function(_i){switch(_i.which){case V.a.ENTER:{Ct?nn()!==!1&&_n(!0):Lr(!0),_i.preventDefault();return}case V.a.TAB:{Sn&&Ct&&!_i.shiftKey?(_n(!1),_i.preventDefault()):!Sn&&Ct&&(!Fr(_i)&&_i.shiftKey&&(_n(!0),_i.preventDefault()));return}case V.a.ESC:{_n(!0),wn();return}}!Ct&&![V.a.SHIFT].includes(_i.which)?Lr(!0):Sn||Fr(_i)},onFocus:function(_i){_n(!0),yi(!0),In&&In(_i)},onBlur:function(_i){if(gi.current||!rr(document.activeElement)){gi.current=!1;return}Kr?setTimeout(function(){rr(document.activeElement)&&wn()},0):Ct&&(Lr(!1),Ni.current&&nn()),yi(!1),Rn&&Rn(_i)}};return Object(c.useEffect)(function(){Ni.current=!1},[Ct]),Object(c.useEffect)(function(){Ni.current=!0},[or]),Object(c.useEffect)(function(){return re(function(xi){var _i=xi.target;Ct&&(rr(_i)?Zn||Lr(!1):(gi.current=!0,requestAnimationFrame(function(){gi.current=!1})))})}),[ki,{focused:Zn,typing:Sn}]}function ei(ze){var Ct=ze.valueTexts,or=ze.onTextChange,rr=c.useState(""),Lr=Object(k.a)(rr,2),Fr=Lr[0],Kr=Lr[1],nn=c.useRef([]);nn.current=Ct;function wn(Rn){Kr(Rn),or(Rn)}function In(){Kr(nn.current[0])}return c.useEffect(function(){Ct.every(function(Rn){return Rn!==Fr})&&In()},[Ct.join("||")]),[Fr,wn,In]}var ui=t("Gytx"),Fn=t.n(ui);function Si(ze,Ct){var or=Ct.formatList,rr=Ct.generateConfig,Lr=Ct.locale;return Object(me.a)(function(){if(!ze)return[[""],""];for(var Fr="",Kr=[],nn=0;nn1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(In.current),Zn){wn(Yn);return}In.current=requestAnimationFrame(function(){wn(Yn)})}var Nn=Si(nn,{formatList:or,generateConfig:rr,locale:Lr}),bn=Object(k.a)(Nn,2),Sn=bn[1];function _n(Yn){Rn(Yn)}function Kn(){var Yn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Rn(null,Yn)}return Object(c.useEffect)(function(){Kn(!0)},[ze]),Object(c.useEffect)(function(){return function(){return cancelAnimationFrame(In.current)}},[]),[Sn,_n,Kn]}function Wr(ze){var Ct,or=ze.prefixCls,rr=or===void 0?"rc-picker":or,Lr=ze.id,Fr=ze.tabIndex,Kr=ze.style,nn=ze.className,wn=ze.dropdownClassName,In=ze.dropdownAlign,Rn=ze.popupStyle,Nn=ze.transitionName,bn=ze.generateConfig,Sn=ze.locale,_n=ze.inputReadOnly,Kn=ze.allowClear,Yn=ze.autoFocus,Zn=ze.showTime,yi=ze.picker,gi=yi===void 0?"date":yi,Ni=ze.format,ki=ze.use12Hours,xi=ze.value,_i=ze.defaultValue,Li=ze.open,Hn=ze.defaultOpen,Ci=ze.defaultOpenValue,Hi=ze.suffixIcon,pr=ze.clearIcon,Dr=ze.disabled,Qr=ze.disabledDate,Nr=ze.placeholder,Xt=ze.getPopupContainer,xr=ze.pickerRef,er=ze.panelRender,jr=ze.onChange,Ur=ze.onOpenChange,pn=ze.onFocus,sn=ze.onBlur,vn=ze.onMouseDown,Un=ze.onMouseUp,Qn=ze.onMouseEnter,$n=ze.onMouseLeave,wi=ze.onContextMenu,ra=ze.onClick,ua=ze.direction,da=ze.autoComplete,sa=da===void 0?"off":da,fa=c.useRef(null),Wi=gi==="date"&&!!Zn||gi==="time",Di=nt(ne(Ni,gi,Zn,ki)),na=c.useRef(null),Zi=c.useRef(null),ba=Object(K.a)(null,{value:xi,defaultValue:_i}),Ta=Object(k.a)(ba,2),$i=Ta[0],Vi=Ta[1],La=c.useState($i),ga=Object(k.a)(La,2),Ti=ga[0],Ea=ga[1],Da=c.useRef(null),Na=Object(K.a)(!1,{value:Li,defaultValue:Hn,postState:function(Fa){return Dr?!1:Fa},onChange:function(Fa){Ur&&Ur(Fa),!Fa&&Da.current&&Da.current.onClose&&Da.current.onClose()}}),Pa=Object(k.a)(Na,2),Ha=Pa[0],za=Pa[1],wa=Si(Ti,{formatList:Di,generateConfig:bn,locale:Sn}),Ka=Object(k.a)(wa,2),ao=Ka[0],ea=Ka[1],lo=ei({valueTexts:ao,onTextChange:function(Fa){var Qo=bn.locale.parse(Sn.locale,Fa,Di);Qo&&(!Qr||!Qr(Qo))&&Ea(Qo)}}),Ya=Object(k.a)(lo,3),Sa=Ya[0],Ja=Ya[1],Ma=Ya[2],ka=function(Fa){Ea(Fa),Vi(Fa),jr&&!Lt(bn,$i,Fa)&&jr(Fa,Fa?bn.locale.format(Sn.locale,Fa,Di[0]):"")},yo=function(Fa){if(Dr&&Fa)return;za(Fa)},to=function(Fa){return Ha&&Da.current&&Da.current.onKeyDown?Da.current.onKeyDown(Fa):(Object(S.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},_o=function(){Un&&Un.apply(void 0,arguments),fa.current&&(fa.current.focus(),yo(!0))},co=oi({blurToCancel:Wi,open:Ha,value:Sa,triggerOpen:yo,forwardKeyDown:to,isClickOutside:function(Fa){return!se([na.current,Zi.current],Fa)},onSubmit:function(){return Qr&&Qr(Ti)?!1:(ka(Ti),yo(!1),Ma(),!0)},onCancel:function(){yo(!1),Ea($i),Ma()},onFocus:pn,onBlur:sn}),uo=Object(k.a)(co,2),Qa=uo[0],Za=uo[1],Ca=Za.focused,no=Za.typing;c.useEffect(function(){Ha||(Ea($i),!ao.length||ao[0]===""?Ja(""):ea!==Sa&&Ma())},[Ha,ao]),c.useEffect(function(){Ha||Ma()},[gi]),c.useEffect(function(){Ea($i)},[$i]),xr&&(xr.current={focus:function(){fa.current&&fa.current.focus()},blur:function(){fa.current&&fa.current.blur()}});var fo=Object(U.a)(Object(U.a)({},ze),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0}),Bi=c.createElement(Br,Object.assign({},fo,{generateConfig:bn,className:T()(Object(M.a)({},"".concat(rr,"-panel-focused"),!no)),value:Ti,locale:Sn,tabIndex:-1,onChange:Ea,direction:ua}));er&&(Bi=er(Bi));var Ia=c.createElement("div",{className:"".concat(rr,"-panel-container"),onMouseDown:function(Fa){Fa.preventDefault()}},Bi),Vo;Hi&&(Vo=c.createElement("span",{className:"".concat(rr,"-suffix")},Hi));var Uo;Kn&&$i&&!Dr&&(Uo=c.createElement("span",{onMouseDown:function(Fa){Fa.preventDefault(),Fa.stopPropagation()},onMouseUp:function(Fa){Fa.preventDefault(),Fa.stopPropagation(),ka(null),yo(!1)},className:"".concat(rr,"-clear")},pr||c.createElement("span",{className:"".concat(rr,"-clear-btn")})));var Xo=function(Fa,Qo){(Qo==="submit"||Qo!=="key"&&!Wi)&&(ka(Fa),yo(!1))},Yo=ua==="rtl"?"bottomRight":"bottomLeft",bo=gn(Sa,{formatList:Di,generateConfig:bn,locale:Sn}),Oa=Object(k.a)(bo,3),Fo=Oa[0],ss=Oa[1],ho=Oa[2];return c.createElement(X.Provider,{value:{operationRef:Da,hideHeader:gi==="time",panelRef:na,onSelect:Xo,open:Ha,defaultOpenValue:Ci,onDateMouseEnter:ss,onDateMouseLeave:ho}},c.createElement(ii,{visible:Ha,popupElement:Ia,popupStyle:Rn,prefixCls:rr,dropdownClassName:wn,dropdownAlign:In,getPopupContainer:Xt,transitionName:Nn,popupPlacement:Yo,direction:ua},c.createElement("div",{className:T()(rr,nn,(Ct={},Object(M.a)(Ct,"".concat(rr,"-disabled"),Dr),Object(M.a)(Ct,"".concat(rr,"-focused"),Ca),Object(M.a)(Ct,"".concat(rr,"-rtl"),ua==="rtl"),Ct)),style:Kr,onMouseDown:vn,onMouseUp:_o,onMouseEnter:Qn,onMouseLeave:$n,onContextMenu:wi,onClick:ra},c.createElement("div",{className:T()("".concat(rr,"-input"),Object(M.a)({},"".concat(rr,"-input-placeholder"),!!Fo)),ref:Zi},c.createElement("input",Object.assign({id:Lr,tabIndex:Fr,disabled:Dr,readOnly:_n||!no,value:Fo||Sa,onChange:function(Fa){Ja(Fa.target.value)},autoFocus:Yn,placeholder:Nr,ref:fa,title:Sa},Qa,{size:Ge(gi,Di[0])},Oe(ze),{autoComplete:sa})),Vo,Uo))))}var En=function(ze){Object(H.a)(or,ze);var Ct=Object(z.a)(or);function or(){var rr;return Object(B.a)(this,or),rr=Ct.apply(this,arguments),rr.pickerRef=c.createRef(),rr.focus=function(){rr.pickerRef.current&&rr.pickerRef.current.focus()},rr.blur=function(){rr.pickerRef.current&&rr.pickerRef.current.blur()},rr}return Object(P.a)(or,[{key:"render",value:function(){return c.createElement(Wr,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),or}(c.Component),on=En;function ci(ze,Ct,or){var rr=ze.picker,Lr=ze.locale,Fr=ze.selectedValue,Kr=ze.disabledDate,nn=ze.disabled,wn=ze.generateConfig,In=vt(Fr,0),Rn=vt(Fr,1);function Nn(Yn){var Zn=wn.getYear(Yn),yi=wn.locale.getWeek(Lr.locale,Yn);return Zn*100+yi}function bn(Yn){var Zn=wn.getYear(Yn),yi=wn.getMonth(Yn);return Zn*100+yi}function Sn(Yn){var Zn=wn.getYear(Yn),yi=lt(wn,Yn);return Zn*10+yi}var _n=c.useCallback(function(Yn){if(Kr&&Kr(Yn))return!0;if(nn[1]&&Rn)return!Vr(wn,Yn,Rn)&&wn.isAfter(Yn,Rn);if(Ct&&Rn)switch(rr){case"quarter":return Sn(Yn)>Sn(Rn);case"month":return bn(Yn)>bn(Rn);case"week":return Nn(Yn)>Nn(Rn);default:return!Vr(wn,Yn,Rn)&&wn.isAfter(Yn,Rn)}return!1},[Kr,nn[1],Rn,Ct]),Kn=c.useCallback(function(Yn){if(Kr&&Kr(Yn))return!0;if(nn[0]&&In)return!Vr(wn,Yn,Rn)&&wn.isAfter(In,Yn);if(or&&In)switch(rr){case"quarter":return Sn(Yn)0&&arguments[0]!==void 0?arguments[0]:!1,ha=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Wa=null;ho&&he&&he[0]&&he[1]&&_n.isAfter(he[1],he[0])&&(Wa=he);var oo=xi;if(xi&&Object(j.a)(xi)==="object"&&xi.defaultValue){var $o=xi.defaultValue;oo=Object(U.a)(Object(U.a)({},xi),{},{defaultValue:vt($o,ea)||void 0})}var Bs=null;return xr&&(Bs=function(ds,Po){return xr(ds,Po,{range:ea?"end":"start"})}),c.createElement(vr.Provider,{value:{inRange:!0,panelPosition:Ga,rangedValue:tn||Ca,hoverRangedValue:Wa}},c.createElement(Br,Object.assign({},ze,ha,{dateRender:Bs,showTime:oo,mode:Ia[ea],generateConfig:_n,style:void 0,direction:ba,disabledDate:ea===0?bo:Oa,disabledTime:function(ds){return Xt?Xt(ds,ea===0?"start":"end"):!1},className:T()(Object(M.a)({},"".concat(Fr,"-panel-focused"),ea===0?!Gi:!Ko)),value:vt(Ca,ea),locale:Kn,tabIndex:-1,onPanelChange:function(ds,Po){Uo(Ze(Ia,Po,ea),Ze(Ca,ds,ea));var Co=ds;Ga==="right"&&Ia[ea]===Po&&(Co=$t(Co,Po,_n,-1)),uo(Co,ea)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:void 0,defaultPickerValue:void 0})))}var gs=0,Do=0;ea&&Da.current&&Pa.current&&Ea.current&&(gs=Da.current.offsetWidth+Pa.current.offsetWidth,Ea.current.offsetWidth&&gs>Ea.current.offsetWidth&&(Do=gs));var is=ba==="rtl"?{right:gs}:{left:gs};function Qs(){var Ga,ha=cn(Fr,Ia[ea],wi),Wa=nr({prefixCls:Fr,components:na,needConfirmButton:La,okDisabled:!vt(Ca,ea)||Nr&&Nr(Ca[ea]),locale:Kn,rangeList:Ys,onOk:function(){vt(Ca,ea)&&(go(Ca,ea),Di&&Di(Ca))}});if(ki!=="time"&&!xi){var oo=co(ea),$o=$t(oo,ki,_n),Bs=Ia[ea],Ss=Bs===ki,ds=dl(Ss?"left":!1,{pickerValue:oo,onPickerValueChange:function(So){uo(So,ea)}}),Po=dl("right",{pickerValue:$o,onPickerValueChange:function(So){uo($t(So,ki,_n,-1),ea)}});ba==="rtl"?Ga=c.createElement(c.Fragment,null,Po,Ss&&ds):Ga=c.createElement(c.Fragment,null,ds,Ss&&Po)}else Ga=dl();var Co=c.createElement(c.Fragment,null,c.createElement("div",{className:"".concat(Fr,"-panels")},Ga),(ha||Wa)&&c.createElement("div",{className:"".concat(Fr,"-footer")},ha,Wa));return er&&(Co=er(Co)),c.createElement("div",{className:"".concat(Fr,"-panel-container"),style:{marginLeft:Do},ref:Ea,onMouseDown:function(So){So.preventDefault()}},Co)}var Ds=c.createElement("div",{className:T()("".concat(Fr,"-range-wrapper"),"".concat(Fr,"-").concat(ki,"-range-wrapper")),style:{minWidth:Ns}},c.createElement("div",{className:"".concat(Fr,"-range-arrow"),style:is}),Qs()),Vs;sn&&(Vs=c.createElement("span",{className:"".concat(Fr,"-suffix")},sn));var Xs;pn&&(vt(ka,0)&&!Sa[0]||vt(ka,1)&&!Sa[1])&&(Xs=c.createElement("span",{onMouseDown:function(ha){ha.preventDefault(),ha.stopPropagation()},onMouseUp:function(ha){ha.preventDefault(),ha.stopPropagation();var Wa=ka;Sa[0]||(Wa=Ze(Wa,null,0)),Sa[1]||(Wa=Ze(Wa,null,1)),go(Wa,null),vs(!1,ea)},className:"".concat(Fr,"-clear")},vn||c.createElement("span",{className:"".concat(Fr,"-clear-btn")})));var Fs={size:Ge(ki,wa[0])},al=0,Js=0;Da.current&&Na.current&&Pa.current&&(ea===0?Js=Da.current.offsetWidth:(al=gs,Js=Na.current.offsetWidth));var rl=ba==="rtl"?{right:al}:{left:al},Us=function(ha,Wa){var oo=Ze(Ca,ha,ea);Wa==="submit"||Wa!=="key"&&!La?(go(oo,ea),ea===0?Ir():Ei()):no(oo)};return c.createElement(X.Provider,{value:{operationRef:Ya,hideHeader:ki==="time",onDateMouseEnter:zi,onDateMouseLeave:la,hideRanges:!0,onSelect:Us,open:ho}},c.createElement(ii,{visible:ho,popupElement:Ds,popupStyle:In,prefixCls:Fr,dropdownClassName:Rn,dropdownAlign:bn,getPopupContainer:Sn,transitionName:Nn,range:!0,direction:ba},c.createElement("div",Object.assign({ref:Ti,className:T()(Fr,"".concat(Fr,"-range"),wn,(Ct={},Object(M.a)(Ct,"".concat(Fr,"-disabled"),Sa[0]&&Sa[1]),Object(M.a)(Ct,"".concat(Fr,"-focused"),ea===0?Eo:Io),Object(M.a)(Ct,"".concat(Fr,"-rtl"),ba==="rtl"),Ct)),style:nn,onClick:bs,onMouseDown:ls},Oe(ze)),c.createElement("div",{className:T()("".concat(Fr,"-input"),(or={},Object(M.a)(or,"".concat(Fr,"-input-active"),ea===0),Object(M.a)(or,"".concat(Fr,"-input-placeholder"),!!Tt),or)),ref:Da},c.createElement("input",Object.assign({id:Kr,disabled:Sa[0],readOnly:Qn||!Gi,value:Tt||ps,onChange:function(ha){Ls(ha.target.value)},autoFocus:Zn,placeholder:vt(Yn,0)||"",ref:Ha},ro,Fs,{autoComplete:Vi}))),c.createElement("div",{className:"".concat(Fr,"-range-separator"),ref:Pa},Hn),c.createElement("div",{className:T()("".concat(Fr,"-input"),(rr={},Object(M.a)(rr,"".concat(Fr,"-input-active"),ea===1),Object(M.a)(rr,"".concat(Fr,"-input-placeholder"),!!Wn),rr)),ref:Na},c.createElement("input",Object.assign({disabled:Sa[1],readOnly:Qn||!Ko,value:Wn||ks,onChange:function(ha){ms(ha.target.value)},placeholder:vt(Yn,1)||"",ref:za},ts,Fs,{autoComplete:Vi}))),c.createElement("div",{className:"".concat(Fr,"-active-bar"),style:Object(U.a)(Object(U.a)({},rl),{},{width:Js,position:"absolute"})}),Vs,Xs)))}var fn=function(ze){Object(H.a)(or,ze);var Ct=Object(z.a)(or);function or(){var rr;return Object(B.a)(this,or),rr=Ct.apply(this,arguments),rr.pickerRef=c.createRef(),rr.focus=function(){rr.pickerRef.current&&rr.pickerRef.current.focus()},rr.blur=function(){rr.pickerRef.current&&rr.pickerRef.current.blur()},rr}return Object(P.a)(or,[{key:"render",value:function(){return c.createElement(Mi,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),or}(c.Component),kr=fn,yn=on,jn=t("61s2");function Xn(ze,Ct,or){return or!==void 0?or:ze==="year"&&Ct.lang.yearPlaceholder?Ct.lang.yearPlaceholder:ze==="quarter"&&Ct.lang.quarterPlaceholder?Ct.lang.quarterPlaceholder:ze==="month"&&Ct.lang.monthPlaceholder?Ct.lang.monthPlaceholder:ze==="week"&&Ct.lang.weekPlaceholder?Ct.lang.weekPlaceholder:ze==="time"&&Ct.timePickerLocale.placeholder?Ct.timePickerLocale.placeholder:Ct.lang.placeholder}function ti(ze,Ct,or){return or!==void 0?or:ze==="year"&&Ct.lang.yearPlaceholder?Ct.lang.rangeYearPlaceholder:ze==="month"&&Ct.lang.monthPlaceholder?Ct.lang.rangeMonthPlaceholder:ze==="week"&&Ct.lang.weekPlaceholder?Ct.lang.rangeWeekPlaceholder:ze==="time"&&Ct.timePickerLocale.placeholder?Ct.timePickerLocale.rangePlaceholder:Ct.lang.rangePlaceholder}var di=t("uaoM"),fi=t("H84U"),mi=t("YMnH"),Ki=t("3Nzz"),ia=function(ze,Ct){var or={};for(var rr in ze)Object.prototype.hasOwnProperty.call(ze,rr)&&Ct.indexOf(rr)<0&&(or[rr]=ze[rr]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lr=0,rr=Object.getOwnPropertySymbols(ze);LrVt},Le}return j(be,[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function(Ue){Ue.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var Ue=this.state,rt=Ue.dragging,Kt=Ue.visible,Pt=this.props.prefixCls,Vt=this.getSpinHeight(),Mr=this.getTop(),Pr=this.showScroll(),un=Pr&&Kt;return y.createElement("div",{ref:this.scrollbarRef,className:S()("".concat(Pt,"-scrollbar"),U({},"".concat(Pt,"-scrollbar-show"),Pr)),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:un?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},y.createElement("div",{ref:this.thumbRef,className:S()("".concat(Pt,"-scrollbar-thumb"),U({},"".concat(Pt,"-scrollbar-thumb-moving"),rt)),style:{width:"100%",height:Vt,top:Mr,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),be}(y.Component);function oe(Je){var et=Je.children,be=Je.setRef,Le=y.useCallback(function(Ue){be(Ue)},[]);return y.cloneElement(et,{ref:Le})}function _e(Je,et,be,Le,Ue,rt){var Kt=rt.getKey;return Je.slice(et,be+1).map(function(Pt,Vt){var Mr=et+Vt,Pr=Ue(Pt,Mr,{}),un=Kt(Pt);return y.createElement(oe,{key:un,setRef:function(dt){return Le(Pt,dt)}},Pr)})}function ee(Je,et){if(!(Je instanceof et))throw new TypeError("Cannot call a class as a function")}function ne(Je,et){for(var be=0;beJe.length)&&(et=Je.length);for(var be=0,Le=new Array(et);beRi&&(kt="bottom")}}qn!==null&&qn!==Je.current.scrollTop&&Kt(qn)}Vt.current=Object(z.a)(function(){mt&&rt(),Qt(Jt-1,kt)})};st(3)}}}function Ye(Je,et,be,Le){var Ue=be-Je,rt=et-be,Kt=Math.min(Ue,rt)*2;if(Le<=Kt){var Pt=Math.floor(Le/2);return Le%2?be+Pt+1:be-Pt}return Ue>rt?be-(Le-rt):be+(Le-Ue)}function pt(Je,et,be){var Le=Je.length,Ue=et.length,rt,Kt;if(Le===0&&Ue===0)return null;LeJe.length)&&(et=Je.length);for(var be=0,Le=new Array(et);be1&&arguments[1]!==void 0?arguments[1]:!1,Vt=Kt<0&&rt.current.top||Kt>0&&rt.current.bottom;return Pt&&Vt?(clearTimeout(Le.current),be.current=!1):(!Vt||be.current)&&Ue(),!be.current&&Vt}};function q(Je,et,be,Le){var Ue=Object(y.useRef)(0),rt=Object(y.useRef)(null),Kt=Object(y.useRef)(null),Pt=Object(y.useRef)(!1),Vt=pe(et,be);function Mr(un){if(!Je)return;z.a.cancel(rt.current);var Ut=un.deltaY;if(Ue.current+=Ut,Kt.current=Ut,Vt(Ut))return;$e||un.preventDefault(),rt.current=Object(z.a)(function(){var dt=Pt.current?10:1;Le(Ue.current*dt),Ue.current=0})}function Pr(un){if(!Je)return;Pt.current=un.detail===Kt.current}return[Mr,Pr]}var bt=14/15;function qe(Je,et,be){var Le=Object(y.useRef)(!1),Ue=Object(y.useRef)(0),rt=Object(y.useRef)(null),Kt=Object(y.useRef)(null),Pt,Vt=function(Ut){if(Le.current){var dt=Math.ceil(Ut.touches[0].pageY),st=Ue.current-dt;Ue.current=dt,be(st)&&Ut.preventDefault(),clearInterval(Kt.current),Kt.current=setInterval(function(){st*=bt,(!be(st,!0)||Math.abs(st)<=.1)&&clearInterval(Kt.current)},16)}},Mr=function(){Le.current=!1,Pt()},Pr=function(Ut){Pt(),Ut.touches.length===1&&!Le.current&&(Le.current=!0,Ue.current=Math.ceil(Ut.touches[0].pageY),rt.current=Ut.target,rt.current.addEventListener("touchmove",Vt),rt.current.addEventListener("touchend",Mr))};Pt=function(){rt.current&&(rt.current.removeEventListener("touchmove",Vt),rt.current.removeEventListener("touchend",Mr))},y.useLayoutEffect(function(){return Je&&et.current.addEventListener("touchstart",Pr),function(){et.current.removeEventListener("touchstart",Pr),Pt(),clearInterval(Kt.current)}},[Je])}var le=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll","onVisibleChange"];function Nt(){return Nt=Object.assign||function(Je){for(var et=1;etJe.length)&&(et=Je.length);for(var be=0,Le=new Array(et);be=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Je,Le))continue;be[Le]=Je[Le]}}return be}function $t(Je,et){if(Je==null)return{};var be={},Le=Object.keys(Je),Ue,rt;for(rt=0;rt=0)continue;be[Ue]=Je[Ue]}return be}var Sr=[],vr={overflowY:"auto",overflowAnchor:"none"};function fr(Je,et){var be=Je.prefixCls,Le=be===void 0?"rc-virtual-list":be,Ue=Je.className,rt=Je.height,Kt=Je.itemHeight,Pt=Je.fullHeight,Vt=Pt===void 0?!0:Pt,Mr=Je.style,Pr=Je.data,un=Je.children,Ut=Je.itemKey,dt=Je.virtual,st=Je.component,Qt=st===void 0?"div":st,Jt=Je.onScroll,gt=Je.onVisibleChange,Ft=Xe(Je,le),mt=!!(dt!==!1&&rt&&Kt),kt=mt&&Pr&&Kt*Pr.length>rt,gr=Object(y.useState)(0),ar=cr(gr,2),lr=ar[0],Yr=ar[1],Jr=Object(y.useState)(!1),Tn=cr(Jr,2),Dn=Tn[0],zn=Tn[1],qn=S()(Le,Ue),vi=Pr||Sr,Ri=Object(y.useRef)(),Ve=Object(y.useRef)(),Se=Object(y.useRef)(),Re=y.useCallback(function(Jn){return typeof Ut=="function"?Ut(Jn):Jn==null?void 0:Jn[Ut]},[Ut]),Be={getKey:Re};function We(Jn){Yr(function(Mi){var fn;typeof Jn=="function"?fn=Jn(Mi):fn=Jn;var kr=ei(fn);return Ri.current.scrollTop=kr,kr})}var He=Object(y.useRef)({start:0,end:vi.length}),Qe=Object(y.useRef)(),At=Ot(vi,Re),ot=cr(At,1),Bt=ot[0];Qe.current=Bt;var wr=se(Re,null,null),mr=cr(wr,4),Or=mr[0],Ht=mr[1],cn=mr[2],nr=mr[3],Xr=y.useMemo(function(){if(!mt)return{scrollHeight:void 0,start:0,end:vi.length-1,offset:void 0};if(!kt){var Jn;return{scrollHeight:((Jn=Ve.current)===null||Jn===void 0?void 0:Jn.offsetHeight)||0,start:0,end:vi.length-1,offset:void 0}}for(var Mi=0,fn,kr,yn,jn=vi.length,Xn=0;Xn=lr&&fn===void 0&&(fn=Xn,kr=Mi),mi>lr+rt&&yn===void 0&&(yn=Xn),Mi=mi}return fn===void 0&&(fn=0,kr=0),yn===void 0&&(yn=vi.length-1),yn=Math.min(yn+1,vi.length),{scrollHeight:Mi,start:fn,end:yn,offset:kr}},[kt,mt,lr,vi,nr,rt]),Br=Xr.scrollHeight,yr=Xr.start,xn=Xr.end,Bn=Xr.offset;He.current.start=yr,He.current.end=xn;var ii=Br-rt,oi=Object(y.useRef)(ii);oi.current=ii;function ei(Jn){var Mi=Jn;return Number.isNaN(oi.current)||(Mi=Math.min(Mi,oi.current)),Mi=Math.max(Mi,0),Mi}var ui=lr<=0,Fn=lr>=ii,Si=pe(ui,Fn);function gn(Jn){var Mi=Jn;We(Mi)}function Wr(Jn){var Mi=Jn.currentTarget.scrollTop;Mi!==lr&&We(Mi),Jt==null||Jt(Jn)}var En=q(mt,ui,Fn,function(Jn){We(function(Mi){var fn=Mi+Jn;return fn})}),on=cr(En,2),ci=on[0],ri=on[1];qe(mt,Ri,function(Jn,Mi){return Si(Jn,Mi)?!1:(ci({preventDefault:function(){},deltaY:Jn}),!0)}),Object(y.useLayoutEffect)(function(){function Jn(Mi){mt&&Mi.preventDefault()}return Ri.current.addEventListener("wheel",ci),Ri.current.addEventListener("DOMMouseScroll",ri),Ri.current.addEventListener("MozMousePixelScroll",Jn),function(){Ri.current.removeEventListener("wheel",ci),Ri.current.removeEventListener("DOMMouseScroll",ri),Ri.current.removeEventListener("MozMousePixelScroll",Jn)}},[mt]);var bi=xe(Ri,vi,cn,Kt,Re,Ht,We,function(){var Jn;(Jn=Se.current)===null||Jn===void 0||Jn.delayHidden()});y.useImperativeHandle(et,function(){return{scrollTo:bi}}),Object(y.useLayoutEffect)(function(){if(gt){var Jn=vi.slice(yr,xn+1);gt(Jn,vi)}},[yr,xn,vi]);var Gn=_e(vi,yr,xn,Or,un,Be),Fi=null;return rt&&(Fi=lt(zt({},Vt?"height":"maxHeight",rt),vr),mt&&(Fi.overflowY="hidden",Dn&&(Fi.pointerEvents="none"))),y.createElement("div",Nt({style:lt(lt({},Mr),{},{position:"relative"}),className:qn},Ft),y.createElement(Qt,{className:"".concat(Le,"-holder"),style:Fi,ref:Ri,onScroll:Wr},y.createElement(H,{prefixCls:Le,height:Br,offset:Bn,onInnerResize:Ht,ref:Ve},Gn)),mt&&y.createElement(Me,{ref:Se,prefixCls:Le,scrollTop:lr,height:rt,scrollHeight:Br,count:vi.length,onScroll:gn,onStartMove:function(){zn(!0)},onStopMove:function(){zn(!1)}}))}var An=y.forwardRef(fr);An.displayName="List";var Zr=An,Ln=N.a=Zr},"+rIm":function(R,N,t){var y=t("bYtY"),p=y.retrieve,S=y.defaults,m=y.extend,g=y.each,f=t("7aKB"),d=t("IwbS"),c=t("Qxkt"),a=t("OELB"),n=a.isRadianAroundZero,i=a.remRadian,o=t("oVpE"),r=o.createSymbol,l=t("Fofx"),e=t("QBsz"),s=e.applyTransform,u=t("aX7z"),h=u.shouldShowAllLabels,A=Math.PI,v=function(M,U){this.opt=U,this.axisModel=M,S(U,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new d.Group;var k=new d.Group({position:U.position.slice(),rotation:U.rotation});k.updateTransform(),this._transform=k.transform,this._dumbGroup=k};v.prototype={constructor:v,hasBuilder:function(M){return!!w[M]},add:function(M){w[M].call(this)},getGroup:function(){return this.group}};var w={axisLine:function(){var M=this.opt,U=this.axisModel;if(!U.get("axisLine.show"))return;var k=this.axisModel.axis.getExtent(),K=this._transform,j=[k[0],0],V=[k[1],0];K&&(s(j,j,K),s(V,V,K));var W=m({lineCap:"round"},U.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new d.Line({anid:"line",subPixelOptimize:!0,shape:{x1:j[0],y1:j[1],x2:V[0],y2:V[1]},style:W,strokeContainThreshold:M.strokeContainThreshold||5,silent:!0,z2:1}));var X=U.get("axisLine.symbol"),J=U.get("axisLine.symbolSize"),de=U.get("axisLine.symbolOffset")||0;if(typeof de=="number"&&(de=[de,de]),X!=null){typeof X=="string"&&(X=[X,X]),(typeof J=="string"||typeof J=="number")&&(J=[J,J]);var G=J[0],ae=J[1];g([{rotate:M.rotation+Math.PI/2,offset:de[0],r:0},{rotate:M.rotation-Math.PI/2,offset:de[1],r:Math.sqrt((j[0]-V[0])*(j[0]-V[0])+(j[1]-V[1])*(j[1]-V[1]))}],function(Ae,me){if(X[me]!=="none"&&X[me]!=null){var Me=r(X[me],-G/2,-ae/2,G,ae,W.stroke,!0),oe=Ae.r+Ae.offset,_e=[j[0]+oe*Math.cos(M.rotation),j[1]-oe*Math.sin(M.rotation)];Me.attr({rotation:Ae.rotate,position:_e,silent:!0,z2:11}),this.group.add(Me)}},this)}},axisTickLabel:function(){var M=this.axisModel,U=this.opt,k=B(this,M,U),K=H(this,M,U);x(M,K,k),P(this,M,U)},axisName:function(){var M=this.opt,U=this.axisModel,k=p(M.axisName,U.get("name"));if(!k)return;var K=U.get("nameLocation"),j=M.nameDirection,V=U.getModel("nameTextStyle"),W=U.get("nameGap")||0,X=this.axisModel.axis.getExtent(),J=X[0]>X[1]?-1:1,de=[K==="start"?X[0]-J*W:K==="end"?X[1]+J*W:(X[0]+X[1])/2,L(K)?M.labelOffset+j*W:0],G,ae=U.get("nameRotate");ae!=null&&(ae=ae*A/180);var Ae;L(K)?G=E(M.rotation,ae!=null?ae:M.rotation,j):(G=T(M,K,ae||0,X),Ae=M.axisNameAvailableWidth,Ae!=null&&(Ae=Math.abs(Ae/Math.sin(G.rotation)),!isFinite(Ae)&&(Ae=null)));var me=V.getFont(),Me=U.get("nameTruncate",!0)||{},oe=Me.ellipsis,_e=p(M.nameTruncateMaxWidth,Me.maxWidth,Ae),ee=oe!=null&&_e!=null?f.truncateText(k,_e,me,oe,{minChar:2,placeholder:Me.placeholder}):k,ne=U.get("tooltip",!0),Ge=U.mainType,Ee={componentType:Ge,name:k,$vars:["name"]};Ee[Ge+"Index"]=U.componentIndex;var ue=new d.Text({anid:"name",__fullText:k,__truncatedText:ee,position:de,rotation:G.rotation,silent:_(U),z2:1,tooltip:ne&&ne.show?m({content:k,formatter:function(){return k},formatterParams:Ee},ne):null});d.setTextStyle(ue.style,V,{text:ee,textFont:me,textFill:V.getTextColor()||U.get("axisLine.lineStyle.color"),textAlign:V.get("align")||G.textAlign,textVerticalAlign:V.get("verticalAlign")||G.textVerticalAlign}),U.get("triggerEvent")&&(ue.eventData=b(U),ue.eventData.targetType="axisName",ue.eventData.name=k),this._dumbGroup.add(ue),ue.updateTransform(),this.group.add(ue),ue.decomposeTransform()}},b=v.makeAxisEventDataBase=function(M){var U={componentType:M.mainType,componentIndex:M.componentIndex};return U[M.mainType+"Index"]=M.componentIndex,U},E=v.innerTextLayout=function(M,U,k){var K=i(U-M),j,V;return n(K)?(V=k>0?"top":"bottom",j="center"):n(K-A)?(V=k>0?"bottom":"top",j="center"):(V="middle",K>0&&K0?"right":"left":j=k>0?"left":"right"),{rotation:K,textAlign:j,textVerticalAlign:V}};function T(M,U,k,K){var j=i(k-M.rotation),V,W,X=K[0]>K[1],J=U==="start"&&!X||U!=="start"&&X;return n(j-A/2)?(W=J?"bottom":"top",V="center"):n(j-A*1.5)?(W=J?"top":"bottom",V="center"):(W="middle",jA/2?V=J?"left":"right":V=J?"right":"left"),{rotation:j,textAlign:V,textVerticalAlign:W}}var _=v.isLabelSilent=function(M){var U=M.get("tooltip");return M.get("silent")||!(M.get("triggerEvent")||U&&U.show)};function x(M,U,k){if(h(M.axis))return;var K=M.get("axisLabel.showMinLabel"),j=M.get("axisLabel.showMaxLabel");U=U||[],k=k||[];var V=U[0],W=U[1],X=U[U.length-1],J=U[U.length-2],de=k[0],G=k[1],ae=k[k.length-1],Ae=k[k.length-2];K===!1?(C(V),C(de)):I(V,W)&&(K?(C(W),C(G)):(C(V),C(de))),j===!1?(C(X),C(ae)):I(J,X)&&(j?(C(J),C(Ae)):(C(X),C(ae)))}function C(M){M&&(M.ignore=!0)}function I(M,U,k){var K=M&&M.getBoundingRect().clone(),j=U&&U.getBoundingRect().clone();if(!K||!j)return;var V=l.identity([]);return l.rotate(V,V,-M.rotation),K.applyTransform(l.mul([],V,M.getLocalTransform())),j.applyTransform(l.mul([],V,U.getLocalTransform())),K.intersect(j)}function L(M){return M==="middle"||M==="center"}function F(M,U,k,K,j){for(var V=[],W=[],X=[],J=0;Je}function K(se){var ye=se.length-1;return ye<0&&(ye=0),[se[0],se[ye]]}function j(se,ye,xe,Ye){var pt=new g.Group;return pt.add(new g.Rect({name:"main",style:J(xe),silent:!0,draggable:!0,cursor:"move",drift:c(se,ye,pt,"nswe"),ondragend:c(U,ye,{isEnd:!0})})),a(Ye,function(nt){pt.add(new g.Rect({name:nt,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:c(se,ye,pt,nt),ondragend:c(U,ye,{isEnd:!0})}))}),pt}function V(se,ye,xe,Ye){var pt=Ye.brushStyle.lineWidth||0,nt=o(pt,s),Oe=xe[0][0],vt=xe[1][0],Ze=Oe-pt/2,wt=vt-pt/2,xt=xe[0][1],Ot=xe[1][1],Mt=xt-nt+pt/2,Gt=Ot-nt+pt/2,$e=xt-Oe,pe=Ot-vt,q=$e+pt,bt=pe+pt;X(se,ye,"main",Oe,vt,$e,pe),Ye.transformable&&(X(se,ye,"w",Ze,wt,nt,bt),X(se,ye,"e",Mt,wt,nt,bt),X(se,ye,"n",Ze,wt,q,nt),X(se,ye,"s",Ze,Gt,q,nt),X(se,ye,"nw",Ze,wt,nt,nt),X(se,ye,"ne",Mt,wt,nt,nt),X(se,ye,"sw",Ze,Gt,nt,nt),X(se,ye,"se",Mt,Gt,nt,nt))}function W(se,ye){var xe=ye.__brushOption,Ye=xe.transformable,pt=ye.childAt(0);pt.useStyle(J(xe)),pt.attr({silent:!Ye,cursor:Ye?"move":"default"}),a(["w","e","n","s","se","sw","ne","nw"],function(nt){var Oe=ye.childOfName(nt),vt=ae(se,nt);Oe&&Oe.attr({silent:!Ye,invisible:!Ye,cursor:Ye?A[vt]+"-resize":null})})}function X(se,ye,xe,Ye,pt,nt,Oe){var vt=ye.childOfName(xe);vt&&vt.setShape(_e(oe(se,ye,[[Ye,pt],[Ye+nt,pt+Oe]])))}function J(se){return S.defaults({strokeNoScale:!0},se.brushStyle)}function de(se,ye,xe,Ye){var pt=[i(se,xe),i(ye,Ye)],nt=[o(se,xe),o(ye,Ye)];return[[pt[0],nt[0]],[pt[1],nt[1]]]}function G(se){return g.getTransform(se.group)}function ae(se,ye){if(ye.length>1){ye=ye.split("");var xe=[ae(se,ye[0]),ae(se,ye[1])];return(xe[0]==="e"||xe[0]==="w")&&xe.reverse(),xe.join("")}else{var Ye={w:"left",e:"right",n:"top",s:"bottom"},pt={left:"w",right:"e",top:"n",bottom:"s"},xe=g.transformDirection(Ye[ye],G(se));return pt[xe]}}function Ae(se,ye,xe,Ye,pt,nt,Oe,vt){var Ze=Ye.__brushOption,wt=se(Ze.range),xt=Me(xe,nt,Oe);a(pt.split(""),function(Ot){var Mt=h[Ot];wt[Mt[0]][Mt[1]]+=xt[Mt[0]]}),Ze.range=ye(de(wt[0][0],wt[1][0],wt[0][1],wt[1][1])),B(xe,Ye),U(xe,{isEnd:!1})}function me(se,ye,xe,Ye,pt){var nt=ye.__brushOption.range,Oe=Me(se,xe,Ye);a(nt,function(vt){vt[0]+=Oe[0],vt[1]+=Oe[1]}),B(se,ye),U(se,{isEnd:!1})}function Me(se,ye,xe){var Ye=se.group,pt=Ye.transformCoordToLocal(ye,xe),nt=Ye.transformCoordToLocal(0,0);return[pt[0]-nt[0],pt[1]-nt[1]]}function oe(se,ye,xe){var Ye=z(se,ye);return Ye&&Ye!==!0?Ye.clipPath(xe,se._transform):S.clone(xe)}function _e(se){var ye=i(se[0][0],se[1][0]),xe=i(se[0][1],se[1][1]),Ye=o(se[0][0],se[1][0]),pt=o(se[0][1],se[1][1]);return{x:ye,y:xe,width:Ye-ye,height:pt-xe}}function ee(se,ye,xe){if(!se._brushType||ke(se,ye))return;var Ye=se._zr,pt=se._covers,nt=H(se,ye,xe);if(!se._dragging)for(var Oe=0;OeYe.getWidth()||xe<0||xe>Ye.getHeight()}var Te={lineX:Ke(0),lineY:Ke(1),rect:{createCover:function(se,ye){return j(c(Ae,function(xe){return xe},function(xe){return xe}),se,ye,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(se){var ye=K(se);return de(ye[1][0],ye[1][1],ye[0][0],ye[0][1])},updateCoverShape:function(se,ye,xe,Ye){V(se,ye,xe,Ye)},updateCommon:W,contain:Ge},polygon:{createCover:function(se,ye){var xe=new g.Group;return xe.add(new g.Polyline({name:"main",style:J(ye),silent:!0})),xe},getCreatingRange:function(se){return se},endCreating:function(se,ye){ye.remove(ye.childAt(0)),ye.add(new g.Polygon({name:"main",draggable:!0,drift:c(me,se,ye),ondragend:c(U,se,{isEnd:!0})}))},updateCoverShape:function(se,ye,xe,Ye){ye.childAt(0).setShape({points:oe(se,ye,xe)})},updateCommon:W,contain:Ge}};function Ke(se){return{createCover:function(ye,xe){return j(c(Ae,function(Ye){var pt=[Ye,[0,100]];return se&&pt.reverse(),pt},function(Ye){return Ye[se]}),ye,xe,[["w","e"],["n","s"]][se])},getCreatingRange:function(ye){var xe=K(ye),Ye=i(xe[0][se],xe[1][se]),pt=o(xe[0][se],xe[1][se]);return[Ye,pt]},updateCoverShape:function(ye,xe,Ye,pt){var nt,Oe=z(ye,xe);if(Oe!==!0&&Oe.getLinearBrushOtherExtent)nt=Oe.getLinearBrushOtherExtent(se,ye._transform);else{var vt=ye._zr;nt=[0,[vt.getWidth(),vt.getHeight()][1-se]]}var Ze=[Ye,nt];se&&Ze.reverse(),V(ye,xe,Ze,pt)},updateCommon:W,contain:Ge}}var Ie=b;R.exports=Ie},"/MfK":function(R,N,t){"use strict";var y=t("VTBJ"),p=t("q1tI"),S={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},m=S,g=t("6VBw"),f=function(a,n){return p.createElement(g.a,Object(y.a)(Object(y.a)({},a),{},{ref:n,icon:m}))};f.displayName="DeleteOutlined";var d=N.a=p.forwardRef(f)},"/POA":function(R,N,t){!function(y,p){if(!0)R.exports=p();else var S,m}(window,function(){return function(y){var p={};function S(m){if(p[m])return p[m].exports;var g=p[m]={i:m,l:!1,exports:{}};return y[m].call(g.exports,g,g.exports,S),g.l=!0,g.exports}return S.m=y,S.c=p,S.d=function(m,g,f){S.o(m,g)||Object.defineProperty(m,g,{enumerable:!0,get:f})},S.r=function(m){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(m,"__esModule",{value:!0})},S.t=function(m,g){if(1&g&&(m=S(m)),8&g)return m;if(4&g&&typeof m=="object"&&m&&m.__esModule)return m;var f=Object.create(null);if(S.r(f),Object.defineProperty(f,"default",{enumerable:!0,value:m}),2&g&&typeof m!="string")for(var d in m)S.d(f,d,function(c){return m[c]}.bind(null,d));return f},S.n=function(m){var g=m&&m.__esModule?function(){return m.default}:function(){return m};return S.d(g,"a",g),g},S.o=function(m,g){return Object.prototype.hasOwnProperty.call(m,g)},S.p="",S(S.s=34)}([function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.forwardEvent=p.EventEmitter=void 0;var m=function(){function g(){this._listeners=[],this._disposed=!1}return Object.defineProperty(g.prototype,"event",{get:function(){var d=this;return this._event||(this._event=function(c){return d._listeners.push(c),{dispose:function(){if(!d._disposed){for(var n=0;n>22},i.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?f.stringFromCodePoint(2097151&this.content):""},i.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},i.prototype.setFromCharData=function(o){this.fg=o[d.CHAR_DATA_ATTR_INDEX],this.bg=0;var r=!1;if(o[d.CHAR_DATA_CHAR_INDEX].length>2)r=!0;else if(o[d.CHAR_DATA_CHAR_INDEX].length===2){var l=o[d.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=l&&l<=56319){var e=o[d.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=e&&e<=57343?this.content=1024*(l-55296)+e-56320+65536|o[d.CHAR_DATA_WIDTH_INDEX]<<22:r=!0}else r=!0}else this.content=o[d.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|o[d.CHAR_DATA_WIDTH_INDEX]<<22;r&&(this.combinedData=o[d.CHAR_DATA_CHAR_INDEX],this.content=2097152|o[d.CHAR_DATA_WIDTH_INDEX]<<22)},i.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},i}(c.AttributeData);p.CellData=a},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.ISoundService=p.ISelectionService=p.IRenderService=p.IMouseService=p.ICoreBrowserService=p.ICharSizeService=void 0;var m=S(14);p.ICharSizeService=m.createDecorator("CharSizeService"),p.ICoreBrowserService=m.createDecorator("CoreBrowserService"),p.IMouseService=m.createDecorator("MouseService"),p.IRenderService=m.createDecorator("RenderService"),p.ISelectionService=m.createDecorator("SelectionService"),p.ISoundService=m.createDecorator("SoundService")},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.ExtendedAttrs=p.AttributeData=void 0;var m=function(){function f(){this.fg=0,this.bg=0,this.extended=new g}return f.toColorRGB=function(d){return[d>>>16&255,d>>>8&255,255&d]},f.fromColorRGB=function(d){return(255&d[0])<<16|(255&d[1])<<8|255&d[2]},f.prototype.clone=function(){var d=new f;return d.fg=this.fg,d.bg=this.bg,d.extended=this.extended.clone(),d},f.prototype.isInverse=function(){return 67108864&this.fg},f.prototype.isBold=function(){return 134217728&this.fg},f.prototype.isUnderline=function(){return 268435456&this.fg},f.prototype.isBlink=function(){return 536870912&this.fg},f.prototype.isInvisible=function(){return 1073741824&this.fg},f.prototype.isItalic=function(){return 67108864&this.bg},f.prototype.isDim=function(){return 134217728&this.bg},f.prototype.getFgColorMode=function(){return 50331648&this.fg},f.prototype.getBgColorMode=function(){return 50331648&this.bg},f.prototype.isFgRGB=function(){return(50331648&this.fg)==50331648},f.prototype.isBgRGB=function(){return(50331648&this.bg)==50331648},f.prototype.isFgPalette=function(){return(50331648&this.fg)==16777216||(50331648&this.fg)==33554432},f.prototype.isBgPalette=function(){return(50331648&this.bg)==16777216||(50331648&this.bg)==33554432},f.prototype.isFgDefault=function(){return(50331648&this.fg)==0},f.prototype.isBgDefault=function(){return(50331648&this.bg)==0},f.prototype.isAttributeDefault=function(){return this.fg===0&&this.bg===0},f.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},f.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},f.prototype.hasExtendedAttrs=function(){return 268435456&this.bg},f.prototype.updateExtended=function(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456},f.prototype.getUnderlineColor=function(){if(268435456&this.bg&&~this.extended.underlineColor)switch(50331648&this.extended.underlineColor){case 16777216:case 33554432:return 255&this.extended.underlineColor;case 50331648:return 16777215&this.extended.underlineColor;default:return this.getFgColor()}return this.getFgColor()},f.prototype.getUnderlineColorMode=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()},f.prototype.isUnderlineColorRGB=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==50331648:this.isFgRGB()},f.prototype.isUnderlineColorPalette=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==16777216||(50331648&this.extended.underlineColor)==33554432:this.isFgPalette()},f.prototype.isUnderlineColorDefault=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==0:this.isFgDefault()},f.prototype.getUnderlineStyle=function(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0},f}();p.AttributeData=m;var g=function(){function f(d,c){d===void 0&&(d=0),c===void 0&&(c=-1),this.underlineStyle=d,this.underlineColor=c}return f.prototype.clone=function(){return new f(this.underlineStyle,this.underlineColor)},f.prototype.isEmpty=function(){return this.underlineStyle===0},f}();p.ExtendedAttrs=g},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.addDisposableDomListener=void 0,p.addDisposableDomListener=function(m,g,f,d){m.addEventListener(g,f,d);var c=!1;return{dispose:function(){c||(c=!0,m.removeEventListener(g,f,d))}}}},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.Utf8ToUtf32=p.StringToUtf32=p.utf32ToString=p.stringFromCodePoint=void 0,p.stringFromCodePoint=function(f){return f>65535?(f-=65536,String.fromCharCode(55296+(f>>10))+String.fromCharCode(f%1024+56320)):String.fromCharCode(f)},p.utf32ToString=function(f,d,c){d===void 0&&(d=0),c===void 0&&(c=f.length);for(var a="",n=d;n65535?(i-=65536,a+=String.fromCharCode(55296+(i>>10))+String.fromCharCode(i%1024+56320)):a+=String.fromCharCode(i)}return a};var m=function(){function f(){this._interim=0}return f.prototype.clear=function(){this._interim=0},f.prototype.decode=function(d,c){var a=d.length;if(!a)return 0;var n=0,i=0;this._interim&&(56320<=(l=d.charCodeAt(i++))&&l<=57343?c[n++]=1024*(this._interim-55296)+l-56320+65536:(c[n++]=this._interim,c[n++]=l),this._interim=0);for(var o=i;o=a)return this._interim=r,n;var l;56320<=(l=d.charCodeAt(o))&&l<=57343?c[n++]=1024*(r-55296)+l-56320+65536:(c[n++]=r,c[n++]=l)}else c[n++]=r}return n},f}();p.StringToUtf32=m;var g=function(){function f(){this.interim=new Uint8Array(3)}return f.prototype.clear=function(){this.interim.fill(0)},f.prototype.decode=function(d,c){var a=d.length;if(!a)return 0;var n,i,o,r,l=0,e=0,s=0;if(this.interim[0]){var u=!1,h=this.interim[0];h&=(224&h)==192?31:(240&h)==224?15:7;for(var A=0,v=void 0;(v=63&this.interim[++A])&&A<4;)h<<=6,h|=v;for(var w=(224&this.interim[0])==192?2:(240&this.interim[0])==224?3:4,b=w-A;s=a)return 0;if((192&(v=d[s++]))!=128){s--,u=!0;break}this.interim[A++]=v,h<<=6,h|=63&v}u||(w===2?h<128?s--:c[l++]=h:w===3?h<2048||h>=55296&&h<=57343||(c[l++]=h):h<65536||h>1114111||(c[l++]=h)),this.interim.fill(0)}for(var E=a-4,T=s;T=a)return this.interim[0]=n,l;if((192&(i=d[T++]))!=128){T--;continue}if((e=(31&n)<<6|63&i)<128){T--;continue}c[l++]=e}else if((240&n)==224){if(T>=a)return this.interim[0]=n,l;if((192&(i=d[T++]))!=128){T--;continue}if(T>=a)return this.interim[0]=n,this.interim[1]=i,l;if((192&(o=d[T++]))!=128){T--;continue}if((e=(15&n)<<12|(63&i)<<6|63&o)<2048||e>=55296&&e<=57343)continue;c[l++]=e}else if((248&n)==240){if(T>=a)return this.interim[0]=n,l;if((192&(i=d[T++]))!=128){T--;continue}if(T>=a)return this.interim[0]=n,this.interim[1]=i,l;if((192&(o=d[T++]))!=128){T--;continue}if(T>=a)return this.interim[0]=n,this.interim[1]=i,this.interim[2]=o,l;if((192&(r=d[T++]))!=128){T--;continue}if((e=(7&n)<<18|(63&i)<<12|(63&o)<<6|63&r)<65536||e>1114111)continue;c[l++]=e}}return l},f}();p.Utf8ToUtf32=g},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.CHAR_ATLAS_CELL_SPACING=p.DIM_OPACITY=p.INVERTED_DEFAULT_COLOR=void 0,p.INVERTED_DEFAULT_COLOR=257,p.DIM_OPACITY=.5,p.CHAR_ATLAS_CELL_SPACING=1},function(y,p,S){"use strict";var m,g,f,d;function c(n){var i=n.toString(16);return i.length<2?"0"+i:i}function a(n,i){return n>>0}}(m=p.channels||(p.channels={})),(g=p.color||(p.color={})).blend=function(n,i){var o=(255&i.rgba)/255;if(o===1)return{css:i.css,rgba:i.rgba};var r=i.rgba>>24&255,l=i.rgba>>16&255,e=i.rgba>>8&255,s=n.rgba>>24&255,u=n.rgba>>16&255,h=n.rgba>>8&255,A=s+Math.round((r-s)*o),v=u+Math.round((l-u)*o),w=h+Math.round((e-h)*o);return{css:m.toCss(A,v,w),rgba:m.toRgba(A,v,w)}},g.isOpaque=function(n){return(255&n.rgba)==255},g.ensureContrastRatio=function(n,i,o){var r=d.ensureContrastRatio(n.rgba,i.rgba,o);if(r)return d.toColor(r>>24&255,r>>16&255,r>>8&255)},g.opaque=function(n){var i=(255|n.rgba)>>>0,o=d.toChannels(i),r=o[0],l=o[1],e=o[2];return{css:m.toCss(r,l,e),rgba:i}},g.opacity=function(n,i){var o=Math.round(255*i),r=d.toChannels(n.rgba),l=r[0],e=r[1],s=r[2];return{css:m.toCss(l,e,s,o),rgba:m.toRgba(l,e,s,o)}},(p.css||(p.css={})).toColor=function(n){switch(n.length){case 7:return{css:n,rgba:(parseInt(n.slice(1),16)<<8|255)>>>0};case 9:return{css:n,rgba:parseInt(n.slice(1),16)>>>0}}throw new Error("css.toColor: Unsupported css format")},function(n){function i(o,r,l){var e=o/255,s=r/255,u=l/255;return .2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(s<=.03928?s/12.92:Math.pow((s+.055)/1.055,2.4))+.0722*(u<=.03928?u/12.92:Math.pow((u+.055)/1.055,2.4))}n.relativeLuminance=function(o){return i(o>>16&255,o>>8&255,255&o)},n.relativeLuminance2=i}(f=p.rgb||(p.rgb={})),function(n){function i(r,l,e){for(var s=r>>24&255,u=r>>16&255,h=r>>8&255,A=l>>24&255,v=l>>16&255,w=l>>8&255,b=a(f.relativeLuminance2(A,w,v),f.relativeLuminance2(s,u,h));b0||v>0||w>0);)A-=Math.max(0,Math.ceil(.1*A)),v-=Math.max(0,Math.ceil(.1*v)),w-=Math.max(0,Math.ceil(.1*w)),b=a(f.relativeLuminance2(A,w,v),f.relativeLuminance2(s,u,h));return(A<<24|v<<16|w<<8|255)>>>0}function o(r,l,e){for(var s=r>>24&255,u=r>>16&255,h=r>>8&255,A=l>>24&255,v=l>>16&255,w=l>>8&255,b=a(f.relativeLuminance2(A,w,v),f.relativeLuminance2(s,u,h));b>>0}n.ensureContrastRatio=function(r,l,e){var s=f.relativeLuminance(r>>8),u=f.relativeLuminance(l>>8);if(a(s,u)>24&255,r>>16&255,r>>8&255,255&r]},n.toColor=function(r,l,e){return{css:m.toCss(r,l,e),rgba:m.toRgba(r,l,e)}}}(d=p.rgba||(p.rgba={})),p.toPaddedHex=c,p.contrastRatio=a},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.isLinux=p.isWindows=p.isIphone=p.isIpad=p.isMac=p.isSafari=p.isFirefox=void 0;var m=typeof navigator=="undefined",g=m?"node":navigator.userAgent,f=m?"node":navigator.platform;function d(c,a){return c.indexOf(a)>=0}p.isFirefox=!!~g.indexOf("Firefox"),p.isSafari=/^((?!chrome|android).)*safari/i.test(g),p.isMac=d(["Macintosh","MacIntel","MacPPC","Mac68K"],f),p.isIpad=f==="iPad",p.isIphone=f==="iPhone",p.isWindows=d(["Windows","Win16","Win32","WinCE"],f),p.isLinux=f.indexOf("Linux")>=0},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.C1=p.C0=void 0,function(m){m.NUL="\0",m.SOH="",m.STX="",m.ETX="",m.EOT="",m.ENQ="",m.ACK="",m.BEL="\x07",m.BS="\b",m.HT=" ",m.LF=` `,m.VT="\v",m.FF="\f",m.CR="\r",m.SO="",m.SI="",m.DLE="",m.DC1="",m.DC2="",m.DC3="",m.DC4="",m.NAK="",m.SYN="",m.ETB="",m.CAN="",m.EM="",m.SUB="",m.ESC="",m.FS="",m.GS="",m.RS="",m.US="",m.SP=" ",m.DEL="\x7F"}(p.C0||(p.C0={})),function(m){m.PAD="\x80",m.HOP="\x81",m.BPH="\x82",m.NBH="\x83",m.IND="\x84",m.NEL="\x85",m.SSA="\x86",m.ESA="\x87",m.HTS="\x88",m.HTJ="\x89",m.VTS="\x8A",m.PLD="\x8B",m.PLU="\x8C",m.RI="\x8D",m.SS2="\x8E",m.SS3="\x8F",m.DCS="\x90",m.PU1="\x91",m.PU2="\x92",m.STS="\x93",m.CCH="\x94",m.MW="\x95",m.SPA="\x96",m.EPA="\x97",m.SOS="\x98",m.SGCI="\x99",m.SCI="\x9A",m.CSI="\x9B",m.ST="\x9C",m.OSC="\x9D",m.PM="\x9E",m.APC="\x9F"}(p.C1||(p.C1={}))},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.BaseRenderLayer=void 0;var m=S(3),g=S(9),f=S(25),d=S(6),c=S(28),a=S(10),n=S(17),i=function(){function o(r,l,e,s,u,h,A,v){this._container=r,this._alpha=s,this._colors=u,this._rendererId=h,this._bufferService=A,this._optionsService=v,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+l+"-layer"),this._canvas.style.zIndex=e.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return o.prototype.dispose=function(){var r;n.removeElementFromParent(this._canvas),(r=this._charAtlas)===null||r===void 0||r.dispose()},o.prototype._initCanvas=function(){this._ctx=c.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},o.prototype.onOptionsChanged=function(){},o.prototype.onBlur=function(){},o.prototype.onFocus=function(){},o.prototype.onCursorMove=function(){},o.prototype.onGridChanged=function(r,l){},o.prototype.onSelectionChanged=function(r,l,e){e===void 0&&(e=!1)},o.prototype.setColors=function(r){this._refreshCharAtlas(r)},o.prototype._setTransparency=function(r){if(r!==this._alpha){var l=this._canvas;this._alpha=r,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,l),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},o.prototype._refreshCharAtlas=function(r){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=f.acquireCharAtlas(this._optionsService.options,this._rendererId,r,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},o.prototype.resize=function(r){this._scaledCellWidth=r.scaledCellWidth,this._scaledCellHeight=r.scaledCellHeight,this._scaledCharWidth=r.scaledCharWidth,this._scaledCharHeight=r.scaledCharHeight,this._scaledCharLeft=r.scaledCharLeft,this._scaledCharTop=r.scaledCharTop,this._canvas.width=r.scaledCanvasWidth,this._canvas.height=r.scaledCanvasHeight,this._canvas.style.width=r.canvasWidth+"px",this._canvas.style.height=r.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},o.prototype._fillCells=function(r,l,e,s){this._ctx.fillRect(r*this._scaledCellWidth,l*this._scaledCellHeight,e*this._scaledCellWidth,s*this._scaledCellHeight)},o.prototype._fillBottomLineAtCells=function(r,l,e){e===void 0&&(e=1),this._ctx.fillRect(r*this._scaledCellWidth,(l+1)*this._scaledCellHeight-window.devicePixelRatio-1,e*this._scaledCellWidth,window.devicePixelRatio)},o.prototype._fillLeftLineAtCell=function(r,l,e){this._ctx.fillRect(r*this._scaledCellWidth,l*this._scaledCellHeight,window.devicePixelRatio*e,this._scaledCellHeight)},o.prototype._strokeRectAtCell=function(r,l,e,s){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(r*this._scaledCellWidth+window.devicePixelRatio/2,l*this._scaledCellHeight+window.devicePixelRatio/2,e*this._scaledCellWidth-window.devicePixelRatio,s*this._scaledCellHeight-window.devicePixelRatio)},o.prototype._clearAll=function(){this._alpha?this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(0,0,this._canvas.width,this._canvas.height))},o.prototype._clearCells=function(r,l,e,s){this._alpha?this._ctx.clearRect(r*this._scaledCellWidth,l*this._scaledCellHeight,e*this._scaledCellWidth,s*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(r*this._scaledCellWidth,l*this._scaledCellHeight,e*this._scaledCellWidth,s*this._scaledCellHeight))},o.prototype._fillCharTrueColor=function(r,l,e){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(e),this._ctx.fillText(r.getChars(),l*this._scaledCellWidth+this._scaledCharLeft,e*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},o.prototype._drawChars=function(r,l,e){var s,u,h=this._getContrastColor(r);h||r.isFgRGB()||r.isBgRGB()?this._drawUncachedChars(r,l,e,h):(r.isInverse()?(s=r.isBgDefault()?g.INVERTED_DEFAULT_COLOR:r.getBgColor(),u=r.isFgDefault()?g.INVERTED_DEFAULT_COLOR:r.getFgColor()):(u=r.isBgDefault()?m.DEFAULT_COLOR:r.getBgColor(),s=r.isFgDefault()?m.DEFAULT_COLOR:r.getFgColor()),s+=this._optionsService.options.drawBoldTextInBrightColors&&r.isBold()&&s<8?8:0,this._currentGlyphIdentifier.chars=r.getChars()||m.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=r.getCode()||m.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=u,this._currentGlyphIdentifier.fg=s,this._currentGlyphIdentifier.bold=!!r.isBold(),this._currentGlyphIdentifier.dim=!!r.isDim(),this._currentGlyphIdentifier.italic=!!r.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,l*this._scaledCellWidth+this._scaledCharLeft,e*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(r,l,e))},o.prototype._drawUncachedChars=function(r,l,e,s){if(this._ctx.save(),this._ctx.font=this._getFont(!!r.isBold(),!!r.isItalic()),this._ctx.textBaseline="middle",r.isInverse())if(s)this._ctx.fillStyle=s.css;else if(r.isBgDefault())this._ctx.fillStyle=a.color.opaque(this._colors.background).css;else if(r.isBgRGB())this._ctx.fillStyle="rgb("+d.AttributeData.toColorRGB(r.getBgColor()).join(",")+")";else{var u=r.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&r.isBold()&&u<8&&(u+=8),this._ctx.fillStyle=this._colors.ansi[u].css}else if(s)this._ctx.fillStyle=s.css;else if(r.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(r.isFgRGB())this._ctx.fillStyle="rgb("+d.AttributeData.toColorRGB(r.getFgColor()).join(",")+")";else{var h=r.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&r.isBold()&&h<8&&(h+=8),this._ctx.fillStyle=this._colors.ansi[h].css}this._clipRow(e),r.isDim()&&(this._ctx.globalAlpha=g.DIM_OPACITY),this._ctx.fillText(r.getChars(),l*this._scaledCellWidth+this._scaledCharLeft,e*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2),this._ctx.restore()},o.prototype._clipRow=function(r){this._ctx.beginPath(),this._ctx.rect(0,r*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},o.prototype._getFont=function(r,l){return(l?"italic":"")+" "+(r?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},o.prototype._getContrastColor=function(r){if(this._optionsService.options.minimumContrastRatio!==1){var l=this._colors.contrastCache.getColor(r.bg,r.fg);if(l!==void 0)return l||void 0;var e=r.getFgColor(),s=r.getFgColorMode(),u=r.getBgColor(),h=r.getBgColorMode(),A=!!r.isInverse(),v=!!r.isInverse();if(A){var w=e;e=u,u=w;var b=s;s=h,h=b}var E=this._resolveBackgroundRgba(h,u,A),T=this._resolveForegroundRgba(s,e,A,v),_=a.rgba.ensureContrastRatio(E,T,this._optionsService.options.minimumContrastRatio);if(_){var x={css:a.channels.toCss(_>>24&255,_>>16&255,_>>8&255),rgba:_};return this._colors.contrastCache.setColor(r.bg,r.fg,x),x}this._colors.contrastCache.setColor(r.bg,r.fg,null)}},o.prototype._resolveBackgroundRgba=function(r,l,e){switch(r){case 16777216:case 33554432:return this._colors.ansi[l].rgba;case 50331648:return l<<8;case 0:default:return e?this._colors.foreground.rgba:this._colors.background.rgba}},o.prototype._resolveForegroundRgba=function(r,l,e,s){switch(r){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&s&&l<8&&(l+=8),this._colors.ansi[l].rgba;case 50331648:return l<<8;case 0:default:return e?this._colors.background.rgba:this._colors.foreground.rgba}},o}();p.BaseRenderLayer=i},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.createDecorator=p.getServiceDependencies=p.serviceRegistry=void 0;function m(g,f,d){f.di$target===f?f.di$dependencies.push({id:g,index:d}):(f.di$dependencies=[{id:g,index:d}],f.di$target=f)}p.serviceRegistry=new Map,p.getServiceDependencies=function(g){return g.di$dependencies||[]},p.createDecorator=function(g){if(p.serviceRegistry.has(g))return p.serviceRegistry.get(g);var f=function d(c,a,n){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");m(d,c,n)};return f.toString=function(){return g},p.serviceRegistry.set(g,f),f}},function(y,p,S){"use strict";function m(g,f,d,c){if(d===void 0&&(d=0),c===void 0&&(c=g.length),d>=g.length)return g;d=(g.length+d)%g.length,c=c>=g.length?g.length:(g.length+c)%g.length;for(var a=d;a>22,2097152&i?this._combined[n].charCodeAt(this._combined[n].length-1):o]},a.prototype.set=function(n,i){this._data[3*n+1]=i[g.CHAR_DATA_ATTR_INDEX],i[g.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[n]=i[1],this._data[3*n+0]=2097152|n|i[g.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*n+0]=i[g.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|i[g.CHAR_DATA_WIDTH_INDEX]<<22},a.prototype.getWidth=function(n){return this._data[3*n+0]>>22},a.prototype.hasWidth=function(n){return 12582912&this._data[3*n+0]},a.prototype.getFg=function(n){return this._data[3*n+1]},a.prototype.getBg=function(n){return this._data[3*n+2]},a.prototype.hasContent=function(n){return 4194303&this._data[3*n+0]},a.prototype.getCodePoint=function(n){var i=this._data[3*n+0];return 2097152&i?this._combined[n].charCodeAt(this._combined[n].length-1):2097151&i},a.prototype.isCombined=function(n){return 2097152&this._data[3*n+0]},a.prototype.getString=function(n){var i=this._data[3*n+0];return 2097152&i?this._combined[n]:2097151&i?m.stringFromCodePoint(2097151&i):""},a.prototype.loadCell=function(n,i){var o=3*n;return i.content=this._data[o+0],i.fg=this._data[o+1],i.bg=this._data[o+2],2097152&i.content&&(i.combinedData=this._combined[n]),268435456&i.bg&&(i.extended=this._extendedAttrs[n]),i},a.prototype.setCell=function(n,i){2097152&i.content&&(this._combined[n]=i.combinedData),268435456&i.bg&&(this._extendedAttrs[n]=i.extended),this._data[3*n+0]=i.content,this._data[3*n+1]=i.fg,this._data[3*n+2]=i.bg},a.prototype.setCellFromCodePoint=function(n,i,o,r,l,e){268435456&l&&(this._extendedAttrs[n]=e),this._data[3*n+0]=i|o<<22,this._data[3*n+1]=r,this._data[3*n+2]=l},a.prototype.addCodepointToCell=function(n,i){var o=this._data[3*n+0];2097152&o?this._combined[n]+=m.stringFromCodePoint(i):(2097151&o?(this._combined[n]=m.stringFromCodePoint(2097151&o)+m.stringFromCodePoint(i),o&=-2097152,o|=2097152):o=i|1<<22,this._data[3*n+0]=o)},a.prototype.insertCells=function(n,i,o,r){if((n%=this.length)&&this.getWidth(n-1)===2&&this.setCellFromCodePoint(n-1,0,1,(r==null?void 0:r.fg)||0,(r==null?void 0:r.bg)||0,(r==null?void 0:r.extended)||new d.ExtendedAttrs),i=0;--e)this.setCell(n+i+e,this.loadCell(n+e,l));for(e=0;ethis.length){var o=new Uint32Array(3*n);this.length&&(3*n=n&&delete this._combined[e]}}else this._data=new Uint32Array(0),this._combined={};this.length=n}},a.prototype.fill=function(n){this._combined={},this._extendedAttrs={};for(var i=0;i=0;--n)if(4194303&this._data[3*n+0])return n+(this._data[3*n+0]>>22);return 0},a.prototype.copyCellsFrom=function(n,i,o,r,l){var e=n._data;if(l)for(var s=r-1;s>=0;s--)for(var u=0;u<3;u++)this._data[3*(o+s)+u]=e[3*(i+s)+u];else for(s=0;s=i&&(this._combined[A-i+o]=n._combined[A])}},a.prototype.translateToString=function(n,i,o){n===void 0&&(n=!1),i===void 0&&(i=0),o===void 0&&(o=this.length),n&&(o=Math.min(o,this.getTrimmedLength()));for(var r="";i>22||1}return r},a}();p.BufferLine=c},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.removeElementFromParent=void 0,p.removeElementFromParent=function(){for(var m,g=[],f=0;f24)return _.setWinLines||!1;switch(T){case 1:return!!_.restoreWin;case 2:return!!_.minimizeWin;case 3:return!!_.setWinPosition;case 4:return!!_.setWinSizePixels;case 5:return!!_.raiseWin;case 6:return!!_.lowerWin;case 7:return!!_.refreshWin;case 8:return!!_.setWinSizeChars;case 9:return!!_.maximizeWin;case 10:return!!_.fullscreenWin;case 11:return!!_.getWinState;case 13:return!!_.getWinPosition;case 14:return!!_.getWinSizePixels;case 15:return!!_.getScreenSizePixels;case 16:return!!_.getCellSizePixels;case 18:return!!_.getWinSizeChars;case 19:return!!_.getScreenSizeChars;case 20:return!!_.getIconTitle;case 21:return!!_.getWinTitle;case 22:return!!_.pushTitle;case 23:return!!_.popTitle;case 24:return!!_.setWinLines}return!1}!function(T){T[T.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",T[T.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"}(f=p.WindowsOptionsReportType||(p.WindowsOptionsReportType={}));var b=function(){function T(_,x,C,I){this._bufferService=_,this._coreService=x,this._logService=C,this._optionsService=I,this._data=new Uint32Array(0)}return T.prototype.hook=function(_){this._data=new Uint32Array(0)},T.prototype.put=function(_,x,C){this._data=i.concat(this._data,_.subarray(x,C))},T.prototype.unhook=function(_){if(_){var x=o.utf32ToString(this._data);switch(this._data=new Uint32Array(0),x){case'"q':return this._coreService.triggerDataEvent(d.C0.ESC+'P1$r0"q'+d.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(d.C0.ESC+'P1$r61;1"p'+d.C0.ESC+"\\");case"r":var C=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";return this._coreService.triggerDataEvent(d.C0.ESC+"P1$r"+C+d.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(d.C0.ESC+"P1$r0m"+d.C0.ESC+"\\");case" q":var I={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return I-=this._optionsService.options.cursorBlink?1:0,this._coreService.triggerDataEvent(d.C0.ESC+"P1$r"+I+" q"+d.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",x),this._coreService.triggerDataEvent(d.C0.ESC+"P0$r"+d.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},T}(),E=function(T){function _(x,C,I,L,F,B,P,H,z){z===void 0&&(z=new a.EscapeSequenceParser);var M=T.call(this)||this;M._bufferService=x,M._charsetService=C,M._coreService=I,M._dirtyRowService=L,M._logService=F,M._optionsService=B,M._coreMouseService=P,M._unicodeService=H,M._parser=z,M._parseBuffer=new Uint32Array(4096),M._stringDecoder=new o.StringToUtf32,M._utf8Decoder=new o.Utf8ToUtf32,M._workCell=new s.CellData,M._windowTitle="",M._iconName="",M._windowTitleStack=[],M._iconNameStack=[],M._curAttrData=r.DEFAULT_ATTR_DATA.clone(),M._eraseAttrDataInternal=r.DEFAULT_ATTR_DATA.clone(),M._onRequestBell=new l.EventEmitter,M._onRequestRefreshRows=new l.EventEmitter,M._onRequestReset=new l.EventEmitter,M._onRequestScroll=new l.EventEmitter,M._onRequestSyncScrollBar=new l.EventEmitter,M._onRequestWindowsOptionsReport=new l.EventEmitter,M._onA11yChar=new l.EventEmitter,M._onA11yTab=new l.EventEmitter,M._onCursorMove=new l.EventEmitter,M._onLineFeed=new l.EventEmitter,M._onScroll=new l.EventEmitter,M._onTitleChange=new l.EventEmitter,M.register(M._parser),M._parser.setCsiHandlerFallback(function(j,V){M._logService.debug("Unknown CSI code: ",{identifier:M._parser.identToString(j),params:V.toArray()})}),M._parser.setEscHandlerFallback(function(j){M._logService.debug("Unknown ESC code: ",{identifier:M._parser.identToString(j)})}),M._parser.setExecuteHandlerFallback(function(j){M._logService.debug("Unknown EXECUTE code: ",{code:j})}),M._parser.setOscHandlerFallback(function(j,V,W){M._logService.debug("Unknown OSC code: ",{identifier:j,action:V,data:W})}),M._parser.setDcsHandlerFallback(function(j,V,W){V==="HOOK"&&(W=W.toArray()),M._logService.debug("Unknown DCS code: ",{identifier:M._parser.identToString(j),action:V,payload:W})}),M._parser.setPrintHandler(function(j,V,W){return M.print(j,V,W)}),M._parser.setCsiHandler({final:"@"},function(j){return M.insertChars(j)}),M._parser.setCsiHandler({intermediates:" ",final:"@"},function(j){return M.scrollLeft(j)}),M._parser.setCsiHandler({final:"A"},function(j){return M.cursorUp(j)}),M._parser.setCsiHandler({intermediates:" ",final:"A"},function(j){return M.scrollRight(j)}),M._parser.setCsiHandler({final:"B"},function(j){return M.cursorDown(j)}),M._parser.setCsiHandler({final:"C"},function(j){return M.cursorForward(j)}),M._parser.setCsiHandler({final:"D"},function(j){return M.cursorBackward(j)}),M._parser.setCsiHandler({final:"E"},function(j){return M.cursorNextLine(j)}),M._parser.setCsiHandler({final:"F"},function(j){return M.cursorPrecedingLine(j)}),M._parser.setCsiHandler({final:"G"},function(j){return M.cursorCharAbsolute(j)}),M._parser.setCsiHandler({final:"H"},function(j){return M.cursorPosition(j)}),M._parser.setCsiHandler({final:"I"},function(j){return M.cursorForwardTab(j)}),M._parser.setCsiHandler({final:"J"},function(j){return M.eraseInDisplay(j)}),M._parser.setCsiHandler({prefix:"?",final:"J"},function(j){return M.eraseInDisplay(j)}),M._parser.setCsiHandler({final:"K"},function(j){return M.eraseInLine(j)}),M._parser.setCsiHandler({prefix:"?",final:"K"},function(j){return M.eraseInLine(j)}),M._parser.setCsiHandler({final:"L"},function(j){return M.insertLines(j)}),M._parser.setCsiHandler({final:"M"},function(j){return M.deleteLines(j)}),M._parser.setCsiHandler({final:"P"},function(j){return M.deleteChars(j)}),M._parser.setCsiHandler({final:"S"},function(j){return M.scrollUp(j)}),M._parser.setCsiHandler({final:"T"},function(j){return M.scrollDown(j)}),M._parser.setCsiHandler({final:"X"},function(j){return M.eraseChars(j)}),M._parser.setCsiHandler({final:"Z"},function(j){return M.cursorBackwardTab(j)}),M._parser.setCsiHandler({final:"`"},function(j){return M.charPosAbsolute(j)}),M._parser.setCsiHandler({final:"a"},function(j){return M.hPositionRelative(j)}),M._parser.setCsiHandler({final:"b"},function(j){return M.repeatPrecedingCharacter(j)}),M._parser.setCsiHandler({final:"c"},function(j){return M.sendDeviceAttributesPrimary(j)}),M._parser.setCsiHandler({prefix:">",final:"c"},function(j){return M.sendDeviceAttributesSecondary(j)}),M._parser.setCsiHandler({final:"d"},function(j){return M.linePosAbsolute(j)}),M._parser.setCsiHandler({final:"e"},function(j){return M.vPositionRelative(j)}),M._parser.setCsiHandler({final:"f"},function(j){return M.hVPosition(j)}),M._parser.setCsiHandler({final:"g"},function(j){return M.tabClear(j)}),M._parser.setCsiHandler({final:"h"},function(j){return M.setMode(j)}),M._parser.setCsiHandler({prefix:"?",final:"h"},function(j){return M.setModePrivate(j)}),M._parser.setCsiHandler({final:"l"},function(j){return M.resetMode(j)}),M._parser.setCsiHandler({prefix:"?",final:"l"},function(j){return M.resetModePrivate(j)}),M._parser.setCsiHandler({final:"m"},function(j){return M.charAttributes(j)}),M._parser.setCsiHandler({final:"n"},function(j){return M.deviceStatus(j)}),M._parser.setCsiHandler({prefix:"?",final:"n"},function(j){return M.deviceStatusPrivate(j)}),M._parser.setCsiHandler({intermediates:"!",final:"p"},function(j){return M.softReset(j)}),M._parser.setCsiHandler({intermediates:" ",final:"q"},function(j){return M.setCursorStyle(j)}),M._parser.setCsiHandler({final:"r"},function(j){return M.setScrollRegion(j)}),M._parser.setCsiHandler({final:"s"},function(j){return M.saveCursor(j)}),M._parser.setCsiHandler({final:"t"},function(j){return M.windowOptions(j)}),M._parser.setCsiHandler({final:"u"},function(j){return M.restoreCursor(j)}),M._parser.setCsiHandler({intermediates:"'",final:"}"},function(j){return M.insertColumns(j)}),M._parser.setCsiHandler({intermediates:"'",final:"~"},function(j){return M.deleteColumns(j)}),M._parser.setExecuteHandler(d.C0.BEL,function(){return M.bell()}),M._parser.setExecuteHandler(d.C0.LF,function(){return M.lineFeed()}),M._parser.setExecuteHandler(d.C0.VT,function(){return M.lineFeed()}),M._parser.setExecuteHandler(d.C0.FF,function(){return M.lineFeed()}),M._parser.setExecuteHandler(d.C0.CR,function(){return M.carriageReturn()}),M._parser.setExecuteHandler(d.C0.BS,function(){return M.backspace()}),M._parser.setExecuteHandler(d.C0.HT,function(){return M.tab()}),M._parser.setExecuteHandler(d.C0.SO,function(){return M.shiftOut()}),M._parser.setExecuteHandler(d.C0.SI,function(){return M.shiftIn()}),M._parser.setExecuteHandler(d.C1.IND,function(){return M.index()}),M._parser.setExecuteHandler(d.C1.NEL,function(){return M.nextLine()}),M._parser.setExecuteHandler(d.C1.HTS,function(){return M.tabSet()}),M._parser.setOscHandler(0,new h.OscHandler(function(j){M.setTitle(j),M.setIconName(j)})),M._parser.setOscHandler(1,new h.OscHandler(function(j){return M.setIconName(j)})),M._parser.setOscHandler(2,new h.OscHandler(function(j){return M.setTitle(j)})),M._parser.setEscHandler({final:"7"},function(){return M.saveCursor()}),M._parser.setEscHandler({final:"8"},function(){return M.restoreCursor()}),M._parser.setEscHandler({final:"D"},function(){return M.index()}),M._parser.setEscHandler({final:"E"},function(){return M.nextLine()}),M._parser.setEscHandler({final:"H"},function(){return M.tabSet()}),M._parser.setEscHandler({final:"M"},function(){return M.reverseIndex()}),M._parser.setEscHandler({final:"="},function(){return M.keypadApplicationMode()}),M._parser.setEscHandler({final:">"},function(){return M.keypadNumericMode()}),M._parser.setEscHandler({final:"c"},function(){return M.fullReset()}),M._parser.setEscHandler({final:"n"},function(){return M.setgLevel(2)}),M._parser.setEscHandler({final:"o"},function(){return M.setgLevel(3)}),M._parser.setEscHandler({final:"|"},function(){return M.setgLevel(3)}),M._parser.setEscHandler({final:"}"},function(){return M.setgLevel(2)}),M._parser.setEscHandler({final:"~"},function(){return M.setgLevel(1)}),M._parser.setEscHandler({intermediates:"%",final:"@"},function(){return M.selectDefaultCharset()}),M._parser.setEscHandler({intermediates:"%",final:"G"},function(){return M.selectDefaultCharset()});var U=function(V){k._parser.setEscHandler({intermediates:"(",final:V},function(){return M.selectCharset("("+V)}),k._parser.setEscHandler({intermediates:")",final:V},function(){return M.selectCharset(")"+V)}),k._parser.setEscHandler({intermediates:"*",final:V},function(){return M.selectCharset("*"+V)}),k._parser.setEscHandler({intermediates:"+",final:V},function(){return M.selectCharset("+"+V)}),k._parser.setEscHandler({intermediates:"-",final:V},function(){return M.selectCharset("-"+V)}),k._parser.setEscHandler({intermediates:".",final:V},function(){return M.selectCharset("."+V)}),k._parser.setEscHandler({intermediates:"/",final:V},function(){return M.selectCharset("/"+V)})},k=this;for(var K in c.CHARSETS)U(K);return M._parser.setEscHandler({intermediates:"#",final:"8"},function(){return M.screenAlignmentPattern()}),M._parser.setErrorHandler(function(j){return M._logService.error("Parsing error: ",j),j}),M._parser.setDcsHandler({intermediates:"$",final:"q"},new b(M._bufferService,M._coreService,M._logService,M._optionsService)),M}return g(_,T),Object.defineProperty(_.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"onRequestScroll",{get:function(){return this._onRequestScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"onRequestSyncScrollBar",{get:function(){return this._onRequestSyncScrollBar.event},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"onRequestWindowsOptionsReport",{get:function(){return this._onRequestWindowsOptionsReport.event},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"onA11yChar",{get:function(){return this._onA11yChar.event},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"onA11yTab",{get:function(){return this._onA11yTab.event},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),_.prototype.dispose=function(){T.prototype.dispose.call(this)},_.prototype.parse=function(x){var C=this._bufferService.buffer,I=C.x,L=C.y;if(this._logService.debug("parsing data",x),this._parseBuffer.length131072)for(var F=0;F0&&K.getWidth(B.x-1)===2&&K.setCellFromCodePoint(B.x-1,0,1,k.fg,k.bg,k.extended);for(var j=C;j=z){if(M){for(;B.x=this._bufferService.rows&&(B.y=this._bufferService.rows-1),B.lines.get(B.ybase+B.y).isWrapped=!0),K=B.lines.get(B.ybase+B.y)}else if(B.x=z-1,F===2)continue}if(U&&(K.insertCells(B.x,F,B.getNullCell(k),k),K.getWidth(z-1)===2&&K.setCellFromCodePoint(z-1,e.NULL_CELL_CODE,e.NULL_CELL_WIDTH,k.fg,k.bg,k.extended)),K.setCellFromCodePoint(B.x++,L,F,k.fg,k.bg,k.extended),F>0)for(;--F;)K.setCellFromCodePoint(B.x++,0,0,k.fg,k.bg,k.extended)}else K.getWidth(B.x-1)?K.addCodepointToCell(B.x-1,L):K.addCodepointToCell(B.x-2,L)}I-C>0&&(K.loadCell(B.x-1,this._workCell),this._workCell.getWidth()===2||this._workCell.getCode()>65535?this._parser.precedingCodepoint=0:this._workCell.isCombined()?this._parser.precedingCodepoint=this._workCell.getChars().charCodeAt(0):this._parser.precedingCodepoint=this._workCell.content),B.x0&&K.getWidth(B.x)===0&&!K.hasContent(B.x)&&K.setCellFromCodePoint(B.x,0,1,k.fg,k.bg,k.extended),this._dirtyRowService.markDirty(B.y)},_.prototype.addCsiHandler=function(x,C){var I=this;return x.final!=="t"||x.prefix||x.intermediates?this._parser.addCsiHandler(x,C):this._parser.addCsiHandler(x,function(L){return!w(L.params[0],I._optionsService.options.windowOptions)||C(L)})},_.prototype.addDcsHandler=function(x,C){return this._parser.addDcsHandler(x,new A.DcsHandler(C))},_.prototype.addEscHandler=function(x,C){return this._parser.addEscHandler(x,C)},_.prototype.addOscHandler=function(x,C){return this._parser.addOscHandler(x,new h.OscHandler(C))},_.prototype.bell=function(){this._onRequestBell.fire()},_.prototype.lineFeed=function(){var x=this._bufferService.buffer;this._dirtyRowService.markDirty(x.y),this._optionsService.options.convertEol&&(x.x=0),x.y++,x.y===x.scrollBottom+1?(x.y--,this._onRequestScroll.fire(this._eraseAttrData())):x.y>=this._bufferService.rows&&(x.y=this._bufferService.rows-1),x.x>=this._bufferService.cols&&x.x--,this._dirtyRowService.markDirty(x.y),this._onLineFeed.fire()},_.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},_.prototype.backspace=function(){var x,C=this._bufferService.buffer;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),void(C.x>0&&C.x--);if(this._restrictCursor(this._bufferService.cols),C.x>0)C.x--;else if(C.x===0&&C.y>C.scrollTop&&C.y<=C.scrollBottom&&((x=C.lines.get(C.ybase+C.y))===null||x===void 0?void 0:x.isWrapped)){C.lines.get(C.ybase+C.y).isWrapped=!1,C.y--,C.x=this._bufferService.cols-1;var I=C.lines.get(C.ybase+C.y);I.hasWidth(C.x)&&!I.hasContent(C.x)&&C.x--}this._restrictCursor()},_.prototype.tab=function(){if(!(this._bufferService.buffer.x>=this._bufferService.cols)){var x=this._bufferService.buffer.x;this._bufferService.buffer.x=this._bufferService.buffer.nextStop(),this._optionsService.options.screenReaderMode&&this._onA11yTab.fire(this._bufferService.buffer.x-x)}},_.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},_.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},_.prototype._restrictCursor=function(x){x===void 0&&(x=this._bufferService.cols-1),this._bufferService.buffer.x=Math.min(x,Math.max(0,this._bufferService.buffer.x)),this._bufferService.buffer.y=this._coreService.decPrivateModes.origin?Math.min(this._bufferService.buffer.scrollBottom,Math.max(this._bufferService.buffer.scrollTop,this._bufferService.buffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._bufferService.buffer.y)),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},_.prototype._setCursor=function(x,C){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=x,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+C):(this._bufferService.buffer.x=x,this._bufferService.buffer.y=C),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},_.prototype._moveCursor=function(x,C){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+x,this._bufferService.buffer.y+C)},_.prototype.cursorUp=function(x){var C=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;C>=0?this._moveCursor(0,-Math.min(C,x.params[0]||1)):this._moveCursor(0,-(x.params[0]||1))},_.prototype.cursorDown=function(x){var C=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;C>=0?this._moveCursor(0,Math.min(C,x.params[0]||1)):this._moveCursor(0,x.params[0]||1)},_.prototype.cursorForward=function(x){this._moveCursor(x.params[0]||1,0)},_.prototype.cursorBackward=function(x){this._moveCursor(-(x.params[0]||1),0)},_.prototype.cursorNextLine=function(x){this.cursorDown(x),this._bufferService.buffer.x=0},_.prototype.cursorPrecedingLine=function(x){this.cursorUp(x),this._bufferService.buffer.x=0},_.prototype.cursorCharAbsolute=function(x){this._setCursor((x.params[0]||1)-1,this._bufferService.buffer.y)},_.prototype.cursorPosition=function(x){this._setCursor(x.length>=2?(x.params[1]||1)-1:0,(x.params[0]||1)-1)},_.prototype.charPosAbsolute=function(x){this._setCursor((x.params[0]||1)-1,this._bufferService.buffer.y)},_.prototype.hPositionRelative=function(x){this._moveCursor(x.params[0]||1,0)},_.prototype.linePosAbsolute=function(x){this._setCursor(this._bufferService.buffer.x,(x.params[0]||1)-1)},_.prototype.vPositionRelative=function(x){this._moveCursor(0,x.params[0]||1)},_.prototype.hVPosition=function(x){this.cursorPosition(x)},_.prototype.tabClear=function(x){var C=x.params[0];C===0?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:C===3&&(this._bufferService.buffer.tabs={})},_.prototype.cursorForwardTab=function(x){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var C=x.params[0]||1;C--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},_.prototype.cursorBackwardTab=function(x){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var C=x.params[0]||1,I=this._bufferService.buffer;C--;)I.x=I.prevStop()},_.prototype._eraseInBufferLine=function(x,C,I,L){L===void 0&&(L=!1);var F=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+x);F.replaceCells(C,I,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),L&&(F.isWrapped=!1)},_.prototype._resetBufferLine=function(x){var C=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+x);C.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),C.isWrapped=!1},_.prototype.eraseInDisplay=function(x){var C;switch(this._restrictCursor(),x.params[0]){case 0:for(C=this._bufferService.buffer.y,this._dirtyRowService.markDirty(C),this._eraseInBufferLine(C++,this._bufferService.buffer.x,this._bufferService.cols,this._bufferService.buffer.x===0);C=this._bufferService.cols&&(this._bufferService.buffer.lines.get(C+1).isWrapped=!1);C--;)this._resetBufferLine(C);this._dirtyRowService.markDirty(0);break;case 2:for(C=this._bufferService.rows,this._dirtyRowService.markDirty(C-1);C--;)this._resetBufferLine(C);this._dirtyRowService.markDirty(0);break;case 3:var I=this._bufferService.buffer.lines.length-this._bufferService.rows;I>0&&(this._bufferService.buffer.lines.trimStart(I),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-I,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-I,0),this._onScroll.fire(0))}},_.prototype.eraseInLine=function(x){switch(this._restrictCursor(),x.params[0]){case 0:this._eraseInBufferLine(this._bufferService.buffer.y,this._bufferService.buffer.x,this._bufferService.cols);break;case 1:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.buffer.x+1);break;case 2:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.cols)}this._dirtyRowService.markDirty(this._bufferService.buffer.y)},_.prototype.insertLines=function(x){this._restrictCursor();var C=x.params[0]||1,I=this._bufferService.buffer;if(!(I.y>I.scrollBottom||I.yI.scrollBottom||I.yC.scrollBottom||C.yC.scrollBottom||C.yC.scrollBottom||C.yC.scrollBottom||C.y0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(d.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(d.C0.ESC+"[?6c"))},_.prototype.sendDeviceAttributesSecondary=function(x){x.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(d.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(d.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(x.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(d.C0.ESC+"[>83;40003;0c"))},_.prototype._is=function(x){return(this._optionsService.options.termName+"").indexOf(x)===0},_.prototype.setMode=function(x){for(var C=0;C=2||L[1]===2&&B+F>=5)break;L[1]&&(F=1)}while(++B+C5)&&(x=1),C.extended.underlineStyle=x,C.fg|=268435456,x===0&&(C.fg&=-268435457),C.updateExtended()},_.prototype.charAttributes=function(x){if(x.length===1&&x.params[0]===0)return this._curAttrData.fg=r.DEFAULT_ATTR_DATA.fg,void(this._curAttrData.bg=r.DEFAULT_ATTR_DATA.bg);for(var C,I=x.length,L=this._curAttrData,F=0;F=30&&C<=37?(L.fg&=-50331904,L.fg|=16777216|C-30):C>=40&&C<=47?(L.bg&=-50331904,L.bg|=16777216|C-40):C>=90&&C<=97?(L.fg&=-50331904,L.fg|=16777224|C-90):C>=100&&C<=107?(L.bg&=-50331904,L.bg|=16777224|C-100):C===0?(L.fg=r.DEFAULT_ATTR_DATA.fg,L.bg=r.DEFAULT_ATTR_DATA.bg):C===1?L.fg|=134217728:C===3?L.bg|=67108864:C===4?(L.fg|=268435456,this._processUnderline(x.hasSubParams(F)?x.getSubParams(F)[0]:1,L)):C===5?L.fg|=536870912:C===7?L.fg|=67108864:C===8?L.fg|=1073741824:C===2?L.bg|=134217728:C===21?this._processUnderline(2,L):C===22?(L.fg&=-134217729,L.bg&=-134217729):C===23?L.bg&=-67108865:C===24?L.fg&=-268435457:C===25?L.fg&=-536870913:C===27?L.fg&=-67108865:C===28?L.fg&=-1073741825:C===39?(L.fg&=-67108864,L.fg|=16777215&r.DEFAULT_ATTR_DATA.fg):C===49?(L.bg&=-67108864,L.bg|=16777215&r.DEFAULT_ATTR_DATA.bg):C===38||C===48||C===58?F+=this._extractColor(x,F,L):C===59?(L.extended=L.extended.clone(),L.extended.underlineColor=-1,L.updateExtended()):C===100?(L.fg&=-67108864,L.fg|=16777215&r.DEFAULT_ATTR_DATA.fg,L.bg&=-67108864,L.bg|=16777215&r.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",C)},_.prototype.deviceStatus=function(x){switch(x.params[0]){case 5:this._coreService.triggerDataEvent(d.C0.ESC+"[0n");break;case 6:var C=this._bufferService.buffer.y+1,I=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(d.C0.ESC+"["+C+";"+I+"R")}},_.prototype.deviceStatusPrivate=function(x){switch(x.params[0]){case 6:var C=this._bufferService.buffer.y+1,I=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(d.C0.ESC+"[?"+C+";"+I+"R")}},_.prototype.softReset=function(x){this._coreService.isCursorHidden=!1,this._onRequestSyncScrollBar.fire(),this._bufferService.buffer.scrollTop=0,this._bufferService.buffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=r.DEFAULT_ATTR_DATA.clone(),this._coreService.reset(),this._charsetService.reset(),this._bufferService.buffer.savedX=0,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset,this._coreService.decPrivateModes.origin=!1},_.prototype.setCursorStyle=function(x){var C=x.params[0]||1;switch(C){case 1:case 2:this._optionsService.options.cursorStyle="block";break;case 3:case 4:this._optionsService.options.cursorStyle="underline";break;case 5:case 6:this._optionsService.options.cursorStyle="bar"}var I=C%2==1;this._optionsService.options.cursorBlink=I},_.prototype.setScrollRegion=function(x){var C,I=x.params[0]||1;(x.length<2||(C=x.params[1])>this._bufferService.rows||C===0)&&(C=this._bufferService.rows),C>I&&(this._bufferService.buffer.scrollTop=I-1,this._bufferService.buffer.scrollBottom=C-1,this._setCursor(0,0))},_.prototype.windowOptions=function(x){if(w(x.params[0],this._optionsService.options.windowOptions)){var C=x.length>1?x.params[1]:0;switch(x.params[0]){case 14:C!==2&&this._onRequestWindowsOptionsReport.fire(f.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(f.GET_CELL_SIZE_PIXELS);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(d.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:C!==0&&C!==2||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),C!==0&&C!==1||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:C!==0&&C!==2||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),C!==0&&C!==1||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}}},_.prototype.saveCursor=function(x){this._bufferService.buffer.savedX=this._bufferService.buffer.x,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase+this._bufferService.buffer.y,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset},_.prototype.restoreCursor=function(x){this._bufferService.buffer.x=this._bufferService.buffer.savedX||0,this._bufferService.buffer.y=Math.max(this._bufferService.buffer.savedY-this._bufferService.buffer.ybase,0),this._curAttrData.fg=this._bufferService.buffer.savedCurAttrData.fg,this._curAttrData.bg=this._bufferService.buffer.savedCurAttrData.bg,this._charsetService.charset=this._savedCharset,this._bufferService.buffer.savedCharset&&(this._charsetService.charset=this._bufferService.buffer.savedCharset),this._restrictCursor()},_.prototype.setTitle=function(x){this._windowTitle=x,this._onTitleChange.fire(x)},_.prototype.setIconName=function(x){this._iconName=x},_.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},_.prototype.keypadApplicationMode=function(){this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire()},_.prototype.keypadNumericMode=function(){this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire()},_.prototype.selectDefaultCharset=function(){this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,c.DEFAULT_CHARSET)},_.prototype.selectCharset=function(x){x.length===2?x[0]!=="/"&&this._charsetService.setgCharset(v[x[0]],c.CHARSETS[x[1]]||c.DEFAULT_CHARSET):this.selectDefaultCharset()},_.prototype.index=function(){this._restrictCursor();var x=this._bufferService.buffer;this._bufferService.buffer.y++,x.y===x.scrollBottom+1?(x.y--,this._onRequestScroll.fire(this._eraseAttrData())):x.y>=this._bufferService.rows&&(x.y=this._bufferService.rows-1),this._restrictCursor()},_.prototype.tabSet=function(){this._bufferService.buffer.tabs[this._bufferService.buffer.x]=!0},_.prototype.reverseIndex=function(){this._restrictCursor();var x=this._bufferService.buffer;if(x.y===x.scrollTop){var C=x.scrollBottom-x.scrollTop;x.lines.shiftElements(x.ybase+x.y,C,1),x.lines.set(x.ybase+x.y,x.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(x.scrollTop,x.scrollBottom)}else x.y--,this._restrictCursor()},_.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},_.prototype.reset=function(){this._curAttrData=r.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=r.DEFAULT_ATTR_DATA.clone()},_.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},_.prototype.setgLevel=function(x){this._charsetService.setgLevel(x)},_.prototype.screenAlignmentPattern=function(){var x=new s.CellData;x.content=1<<22|"E".charCodeAt(0),x.fg=this._curAttrData.fg,x.bg=this._curAttrData.bg;var C=this._bufferService.buffer;this._setCursor(0,0);for(var I=0;I256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(f),this.length=0,this._subParams=new Int32Array(d),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(f),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return g.fromArray=function(f){var d=new g;if(!f.length)return d;for(var c=f[0]instanceof Array?1:0;c>8,a=255&this._subParamsIdx[d];a-c>0&&f.push(Array.prototype.slice.call(this._subParams,c,a))}return f},g.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},g.prototype.addParam=function(f){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(f<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=f>2147483647?2147483647:f}},g.prototype.addSubParam=function(f){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(f<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=f>2147483647?2147483647:f,this._subParamsIdx[this.length-1]++}},g.prototype.hasSubParams=function(f){return(255&this._subParamsIdx[f])-(this._subParamsIdx[f]>>8)>0},g.prototype.getSubParams=function(f){var d=this._subParamsIdx[f]>>8,c=255&this._subParamsIdx[f];return c-d>0?this._subParams.subarray(d,c):null},g.prototype.getSubParamsAll=function(){for(var f={},d=0;d>8,a=255&this._subParamsIdx[d];a-c>0&&(f[d]=this._subParams.slice(c,a))}return f},g.prototype.addDigit=function(f){var d;if(!(this._rejectDigits||!(d=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var c=this._digitIsSub?this._subParams:this.params,a=c[d-1];c[d-1]=~a?Math.min(10*a+f,2147483647):f}},g}();p.Params=m},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.OscHandler=p.OscParser=void 0;var m=S(23),g=S(8),f=function(){function c(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return c.prototype.addHandler=function(a,n){this._handlers[a]===void 0&&(this._handlers[a]=[]);var i=this._handlers[a];return i.push(n),{dispose:function(){var r=i.indexOf(n);r!==-1&&i.splice(r,1)}}},c.prototype.setHandler=function(a,n){this._handlers[a]=[n]},c.prototype.clearHandler=function(a){this._handlers[a]&&delete this._handlers[a]},c.prototype.setHandlerFallback=function(a){this._handlerFb=a},c.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},c.prototype.reset=function(){this._state===2&&this.end(!1),this._id=-1,this._state=0},c.prototype._start=function(){var a=this._handlers[this._id];if(a)for(var n=a.length-1;n>=0;n--)a[n].start();else this._handlerFb(this._id,"START")},c.prototype._put=function(a,n,i){var o=this._handlers[this._id];if(o)for(var r=o.length-1;r>=0;r--)o[r].put(a,n,i);else this._handlerFb(this._id,"PUT",g.utf32ToString(a,n,i))},c.prototype._end=function(a){var n=this._handlers[this._id];if(n){for(var i=n.length-1;i>=0&&n[i].end(a)===!1;i--);for(i--;i>=0;i--)n[i].end(!1)}else this._handlerFb(this._id,"END",a)},c.prototype.start=function(){this.reset(),this._id=-1,this._state=1},c.prototype.put=function(a,n,i){if(this._state!==3){if(this._state===1)for(;n0&&this._put(a,n,i)}},c.prototype.end=function(a){this._state!==0&&(this._state!==3&&(this._state===1&&this._start(),this._end(a)),this._id=-1,this._state=0)},c}();p.OscParser=f;var d=function(){function c(a){this._handler=a,this._data="",this._hitLimit=!1}return c.prototype.start=function(){this._data="",this._hitLimit=!1},c.prototype.put=function(a,n,i){this._hitLimit||(this._data+=g.utf32ToString(a,n,i),this._data.length>m.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},c.prototype.end=function(a){var n;return this._hitLimit?n=!1:a&&(n=this._handler(this._data)),this._data="",this._hitLimit=!1,n},c}();p.OscHandler=d},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.PAYLOAD_LIMIT=void 0,p.PAYLOAD_LIMIT=1e7},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.DcsHandler=p.DcsParser=void 0;var m=S(8),g=S(21),f=S(23),d=[],c=function(){function n(){this._handlers=Object.create(null),this._active=d,this._ident=0,this._handlerFb=function(){}}return n.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},n.prototype.addHandler=function(i,o){this._handlers[i]===void 0&&(this._handlers[i]=[]);var r=this._handlers[i];return r.push(o),{dispose:function(){var e=r.indexOf(o);e!==-1&&r.splice(e,1)}}},n.prototype.setHandler=function(i,o){this._handlers[i]=[o]},n.prototype.clearHandler=function(i){this._handlers[i]&&delete this._handlers[i]},n.prototype.setHandlerFallback=function(i){this._handlerFb=i},n.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=d,this._ident=0},n.prototype.hook=function(i,o){if(this.reset(),this._ident=i,this._active=this._handlers[i]||d,this._active.length)for(var r=this._active.length-1;r>=0;r--)this._active[r].hook(o);else this._handlerFb(this._ident,"HOOK",o)},n.prototype.put=function(i,o,r){if(this._active.length)for(var l=this._active.length-1;l>=0;l--)this._active[l].put(i,o,r);else this._handlerFb(this._ident,"PUT",m.utf32ToString(i,o,r))},n.prototype.unhook=function(i){if(this._active.length){for(var o=this._active.length-1;o>=0&&this._active[o].unhook(i)===!1;o--);for(o--;o>=0;o--)this._active[o].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",i);this._active=d,this._ident=0},n}();p.DcsParser=c;var a=function(){function n(i){this._handler=i,this._data="",this._hitLimit=!1}return n.prototype.hook=function(i){this._params=i.clone(),this._data="",this._hitLimit=!1},n.prototype.put=function(i,o,r){this._hitLimit||(this._data+=m.utf32ToString(i,o,r),this._data.length>f.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},n.prototype.unhook=function(i){var o;return this._hitLimit?o=!1:i&&(o=this._handler(this._data,this._params||new g.Params)),this._params=void 0,this._data="",this._hitLimit=!1,o},n}();p.DcsHandler=a},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.removeTerminalFromCache=p.acquireCharAtlas=void 0;var m=S(26),g=S(43),f=[];p.acquireCharAtlas=function(d,c,a,n,i){for(var o=m.generateConfig(n,i,d,a),r=0;r=0){if(m.configEquals(e.config,o))return e.atlas;e.ownedBy.length===1?(e.atlas.dispose(),f.splice(r,1)):e.ownedBy.splice(l,1);break}}for(r=0;r1)for(var b=this._getJoinedRanges(e,h,u,r,s),E=0;E1)for(b=this._getJoinedRanges(e,h,u,r,s),E=0;E=this._line.length))return u?(this._line.loadCell(s,u),u):this._line.loadCell(s,new m.CellData)},e.prototype.translateToString=function(s,u,h){return this._line.translateToString(s,u,h)},e}(),r=function(){function e(s){this._core=s}return e.prototype.registerCsiHandler=function(s,u){return this._core.addCsiHandler(s,function(h){return u(h.toArray())})},e.prototype.addCsiHandler=function(s,u){return this.registerCsiHandler(s,u)},e.prototype.registerDcsHandler=function(s,u){return this._core.addDcsHandler(s,function(h,A){return u(h,A.toArray())})},e.prototype.addDcsHandler=function(s,u){return this.registerDcsHandler(s,u)},e.prototype.registerEscHandler=function(s,u){return this._core.addEscHandler(s,u)},e.prototype.addEscHandler=function(s,u){return this.registerEscHandler(s,u)},e.prototype.registerOscHandler=function(s,u){return this._core.addOscHandler(s,u)},e.prototype.addOscHandler=function(s,u){return this.registerOscHandler(s,u)},e}(),l=function(){function e(s){this._core=s}return e.prototype.register=function(s){this._core.unicodeService.register(s)},Object.defineProperty(e.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(u){this._core.unicodeService.activeVersion=u},enumerable:!1,configurable:!0}),e}()},function(y,p,S){"use strict";var m,g=this&&this.__extends||(m=function(M,U){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(k,K){k.__proto__=K}||function(k,K){for(var j in K)K.hasOwnProperty(j)&&(k[j]=K[j])})(M,U)},function(z,M){function U(){this.constructor=z}m(z,M),z.prototype=M===null?Object.create(M):(U.prototype=M.prototype,new U)});Object.defineProperty(p,"__esModule",{value:!0}),p.Terminal=void 0;var f=S(36),d=S(37),c=S(38),a=S(12),n=S(19),i=S(40),o=S(50),r=S(51),l=S(11),e=S(7),s=S(18),u=S(54),h=S(55),A=S(56),v=S(57),w=S(59),b=S(0),E=S(16),T=S(27),_=S(60),x=S(5),C=S(61),I=S(62),L=S(63),F=S(64),B=S(65),P=typeof window!="undefined"?window.document:null,H=function(z){function M(U){U===void 0&&(U={});var k=z.call(this,U)||this;return k.browser=l,k._keyDownHandled=!1,k._onCursorMove=new b.EventEmitter,k._onKey=new b.EventEmitter,k._onRender=new b.EventEmitter,k._onSelectionChange=new b.EventEmitter,k._onTitleChange=new b.EventEmitter,k._onFocus=new b.EventEmitter,k._onBlur=new b.EventEmitter,k._onA11yCharEmitter=new b.EventEmitter,k._onA11yTabEmitter=new b.EventEmitter,k._setup(),k.linkifier=k._instantiationService.createInstance(o.Linkifier),k.linkifier2=k.register(k._instantiationService.createInstance(L.Linkifier2)),k.register(k._inputHandler.onRequestBell(function(){return k.bell()})),k.register(k._inputHandler.onRequestRefreshRows(function(K,j){return k.refresh(K,j)})),k.register(k._inputHandler.onRequestReset(function(){return k.reset()})),k.register(k._inputHandler.onRequestScroll(function(K,j){return k.scroll(K,j||void 0)})),k.register(k._inputHandler.onRequestWindowsOptionsReport(function(K){return k._reportWindowsOptions(K)})),k.register(b.forwardEvent(k._inputHandler.onCursorMove,k._onCursorMove)),k.register(b.forwardEvent(k._inputHandler.onTitleChange,k._onTitleChange)),k.register(b.forwardEvent(k._inputHandler.onA11yChar,k._onA11yCharEmitter)),k.register(b.forwardEvent(k._inputHandler.onA11yTab,k._onA11yTabEmitter)),k.register(k._bufferService.onResize(function(K){return k._afterResize(K.cols,K.rows)})),k}return g(M,z),Object.defineProperty(M.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),M.prototype.dispose=function(){var U,k,K;this._isDisposed||(z.prototype.dispose.call(this),(U=this._renderService)===null||U===void 0||U.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},(K=(k=this.element)===null||k===void 0?void 0:k.parentNode)===null||K===void 0||K.removeChild(this.element))},M.prototype._setup=function(){z.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(M.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),M.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},M.prototype._updateOptions=function(U){var k,K,j,V;switch(z.prototype._updateOptions.call(this,U),U){case"fontFamily":case"fontSize":(k=this._renderService)===null||k===void 0||k.clear(),(K=this._charSizeService)===null||K===void 0||K.measure();break;case"cursorBlink":case"cursorStyle":this.refresh(this.buffer.y,this.buffer.y);break;case"drawBoldTextInBrightColors":case"letterSpacing":case"lineHeight":case"fontWeight":case"fontWeightBold":case"minimumContrastRatio":this._renderService&&(this._renderService.clear(),this._renderService.onResize(this.cols,this.rows),this.refresh(0,this.rows-1));break;case"rendererType":this._renderService&&(this._renderService.setRenderer(this._createRenderer()),this._renderService.onResize(this.cols,this.rows));break;case"scrollback":(j=this.viewport)===null||j===void 0||j.syncScrollArea();break;case"screenReaderMode":this.optionsService.options.screenReaderMode?!this._accessibilityManager&&this._renderService&&(this._accessibilityManager=new A.AccessibilityManager(this,this._renderService)):((V=this._accessibilityManager)===null||V===void 0||V.dispose(),this._accessibilityManager=void 0);break;case"tabStopWidth":this.buffers.setupTabStops();break;case"theme":this._setTheme(this.optionsService.options.theme)}},M.prototype._onTextAreaFocus=function(U){this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(a.C0.ESC+"[I"),this.updateCursorStyle(U),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},M.prototype.blur=function(){var U;return(U=this.textarea)===null||U===void 0?void 0:U.blur()},M.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(a.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},M.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing){var U=Math.ceil(this._charSizeService.height*this.optionsService.options.lineHeight),k=this._bufferService.buffer.y*U,K=this._bufferService.buffer.x*this._charSizeService.width;this.textarea.style.left=K+"px",this.textarea.style.top=k+"px",this.textarea.style.width=this._charSizeService.width+"px",this.textarea.style.height=U+"px",this.textarea.style.lineHeight=U+"px",this.textarea.style.zIndex="-5"}},M.prototype._initGlobal=function(){var U=this;this._bindKeys(),this.register(e.addDisposableDomListener(this.element,"copy",function(K){U.hasSelection()&&c.copyHandler(K,U._selectionService)}));var k=function(j){return c.handlePasteEvent(j,U.textarea,U._coreService)};this.register(e.addDisposableDomListener(this.textarea,"paste",k)),this.register(e.addDisposableDomListener(this.element,"paste",k)),l.isFirefox?this.register(e.addDisposableDomListener(this.element,"mousedown",function(K){K.button===2&&c.rightClickHandler(K,U.textarea,U.screenElement,U._selectionService,U.options.rightClickSelectsWord)})):this.register(e.addDisposableDomListener(this.element,"contextmenu",function(K){c.rightClickHandler(K,U.textarea,U.screenElement,U._selectionService,U.options.rightClickSelectsWord)})),l.isLinux&&this.register(e.addDisposableDomListener(this.element,"auxclick",function(K){K.button===1&&c.moveTextAreaUnderMouseCursor(K,U.textarea,U.screenElement)}))},M.prototype._bindKeys=function(){var U=this;this.register(e.addDisposableDomListener(this.textarea,"keyup",function(k){return U._keyUp(k)},!0)),this.register(e.addDisposableDomListener(this.textarea,"keydown",function(k){return U._keyDown(k)},!0)),this.register(e.addDisposableDomListener(this.textarea,"keypress",function(k){return U._keyPress(k)},!0)),this.register(e.addDisposableDomListener(this.textarea,"compositionstart",function(){return U._compositionHelper.compositionstart()})),this.register(e.addDisposableDomListener(this.textarea,"compositionupdate",function(k){return U._compositionHelper.compositionupdate(k)})),this.register(e.addDisposableDomListener(this.textarea,"compositionend",function(){return U._compositionHelper.compositionend()})),this.register(this.onRender(function(){return U._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(k){return U._queueLinkification(k.start,k.end)}))},M.prototype.open=function(U){var k=this;if(!U)throw new Error("Terminal requires a parent element.");P.body.contains(U)||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=U.ownerDocument,this.element=this._document.createElement("div"),this.element.dir="ltr",this.element.classList.add("terminal"),this.element.classList.add("xterm"),this.element.setAttribute("tabindex","0"),U.appendChild(this.element);var K=P.createDocumentFragment();this._viewportElement=P.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),K.appendChild(this._viewportElement),this._viewportScrollArea=P.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=P.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=P.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),K.appendChild(this.screenElement),this.textarea=P.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",s.promptLabel),this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.tabIndex=0,this.register(e.addDisposableDomListener(this.textarea,"focus",function(W){return k._onTextAreaFocus(W)})),this.register(e.addDisposableDomListener(this.textarea,"blur",function(){return k._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var j=this._instantiationService.createInstance(F.CoreBrowserService,this.textarea);this._instantiationService.setService(x.ICoreBrowserService,j),this._charSizeService=this._instantiationService.createInstance(C.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(x.ICharSizeService,this._charSizeService),this._compositionView=P.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(f.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(K),this._theme=this.options.theme||this._theme,this._colorManager=new T.ColorManager(P,this.options.allowTransparency),this.register(this.optionsService.onOptionChange(function(W){return k._colorManager.onOptionsChange(W)})),this._colorManager.setTheme(this._theme);var V=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(_.RenderService,V,this.rows,this.screenElement)),this._instantiationService.setService(x.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange(function(W){return k._onRender.fire(W)})),this.onResize(function(W){return k._renderService.resize(W.cols,W.rows)}),this._soundService=this._instantiationService.createInstance(u.SoundService),this._instantiationService.setService(x.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(I.MouseService),this._instantiationService.setService(x.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(d.Viewport,function(W,X){return k.scrollLines(W,X)},this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar(function(){return k.viewport.syncScrollArea()})),this.register(this.viewport),this.register(this.onCursorMove(function(){k._renderService.onCursorMove(),k._syncTextArea()})),this.register(this.onResize(function(){return k._renderService.onResize(k.cols,k.rows)})),this.register(this.onBlur(function(){return k._renderService.onBlur()})),this.register(this.onFocus(function(){return k._renderService.onFocus()})),this.register(this._renderService.onDimensionsChange(function(){return k.viewport.syncScrollArea()})),this._selectionService=this.register(this._instantiationService.createInstance(r.SelectionService,this.element,this.screenElement)),this._instantiationService.setService(x.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines(function(W){return k.scrollLines(W.amount,W.suppressScrollEvent)})),this.register(this._selectionService.onSelectionChange(function(){return k._onSelectionChange.fire()})),this.register(this._selectionService.onRequestRedraw(function(W){return k._renderService.onSelectionChanged(W.start,W.end,W.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(W){k.textarea.value=W,k.textarea.focus(),k.textarea.select()})),this.register(this.onScroll(function(){k.viewport.syncScrollArea(),k._selectionService.refresh()})),this.register(e.addDisposableDomListener(this._viewportElement,"scroll",function(){return k._selectionService.refresh()})),this._mouseZoneManager=this._instantiationService.createInstance(h.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll(function(){return k._mouseZoneManager.clearAll()})),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.linkifier2.attachToDom(this.element,this._mouseService,this._renderService),this.register(e.addDisposableDomListener(this.element,"mousedown",function(W){return k._selectionService.onMouseDown(W)})),this._coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new A.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},M.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(i.Renderer,this._colorManager.colors,this.screenElement,this.linkifier,this.linkifier2);case"dom":return this._instantiationService.createInstance(v.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier,this.linkifier2);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},M.prototype._setTheme=function(U){var k,K,j;this._theme=U,(k=this._colorManager)===null||k===void 0||k.setTheme(U),(K=this._renderService)===null||K===void 0||K.setColors(this._colorManager.colors),(j=this.viewport)===null||j===void 0||j.onThemeChange(this._colorManager.colors)},M.prototype.bindMouse=function(){var U=this,k=this,K=this.element;function j(G){var ae,Ae,me=k._mouseService.getRawByteCoords(G,k.screenElement,k.cols,k.rows);if(!me)return!1;switch(G.overrideType||G.type){case"mousemove":Ae=32,G.buttons===void 0?(ae=3,G.button!==void 0&&(ae=G.button<3?G.button:3)):ae=1&G.buttons?0:4&G.buttons?1:2&G.buttons?2:3;break;case"mouseup":Ae=0,ae=G.button<3?G.button:3;break;case"mousedown":Ae=1,ae=G.button<3?G.button:3;break;case"wheel":G.deltaY!==0&&(Ae=G.deltaY<0?0:1),ae=4;break;default:return!1}return!(Ae===void 0||ae===void 0||ae>4)&&k._coreMouseService.triggerMouseEvent({col:me.x-33,row:me.y-33,button:ae,action:Ae,ctrl:G.ctrlKey,alt:G.altKey,shift:G.shiftKey})}var V={mouseup:null,wheel:null,mousedrag:null,mousemove:null},W=function(ae){return j(ae),ae.buttons||(U._document.removeEventListener("mouseup",V.mouseup),V.mousedrag&&U._document.removeEventListener("mousemove",V.mousedrag)),U.cancel(ae)},X=function(ae){return j(ae),ae.preventDefault(),U.cancel(ae)},J=function(ae){ae.buttons&&j(ae)},de=function(ae){ae.buttons||j(ae)};this.register(this._coreMouseService.onProtocolChange(function(G){G?(U.optionsService.options.logLevel==="debug"&&U._logService.debug("Binding to mouse events:",U._coreMouseService.explainEvents(G)),U.element.classList.add("enable-mouse-events"),U._selectionService.disable()):(U._logService.debug("Unbinding from mouse events."),U.element.classList.remove("enable-mouse-events"),U._selectionService.enable()),8&G?V.mousemove||(K.addEventListener("mousemove",de),V.mousemove=de):(K.removeEventListener("mousemove",V.mousemove),V.mousemove=null),16&G?V.wheel||(K.addEventListener("wheel",X,{passive:!1}),V.wheel=X):(K.removeEventListener("wheel",V.wheel),V.wheel=null),2&G?V.mouseup||(V.mouseup=W):(U._document.removeEventListener("mouseup",V.mouseup),V.mouseup=null),4&G?V.mousedrag||(V.mousedrag=J):(U._document.removeEventListener("mousemove",V.mousedrag),V.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(e.addDisposableDomListener(K,"mousedown",function(G){if(G.preventDefault(),U.focus(),U._coreMouseService.areMouseEventsActive&&!U._selectionService.shouldForceSelection(G))return j(G),V.mouseup&&U._document.addEventListener("mouseup",V.mouseup),V.mousedrag&&U._document.addEventListener("mousemove",V.mousedrag),U.cancel(G)})),this.register(e.addDisposableDomListener(K,"wheel",function(G){if(!V.wheel){if(!U.buffer.hasScrollback){var ae=U.viewport.getLinesScrolled(G);if(ae===0)return;for(var Ae=a.C0.ESC+(U._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(G.deltaY<0?"A":"B"),me="",Me=0;Me47)},M.prototype._keyUp=function(U){this._customKeyEventHandler&&this._customKeyEventHandler(U)===!1||(function(k){return k.keyCode===16||k.keyCode===17||k.keyCode===18}(U)||this.focus(),this.updateCursorStyle(U))},M.prototype._keyPress=function(U){var k;if(this._keyDownHandled)return!1;if(this._customKeyEventHandler&&this._customKeyEventHandler(U)===!1)return!1;if(this.cancel(U),U.charCode)k=U.charCode;else if(U.which===null||U.which===void 0)k=U.keyCode;else{if(U.which===0||U.charCode===0)return!1;k=U.which}return!(!k||(U.altKey||U.ctrlKey||U.metaKey)&&!this._isThirdLevelShift(this.browser,U))&&(k=String.fromCharCode(k),this._onKey.fire({key:k,domEvent:U}),this._showCursor(),this._coreService.triggerDataEvent(k,!0),!0)},M.prototype.bell=function(){this._soundBell()&&this._soundService.playBellSound()},M.prototype.resize=function(U,k){U!==this.cols||k!==this.rows?z.prototype.resize.call(this,U,k):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},M.prototype._afterResize=function(U,k){var K,j;(K=this._charSizeService)===null||K===void 0||K.measure(),(j=this.viewport)===null||j===void 0||j.syncScrollArea(!0)},M.prototype.clear=function(){if(this.buffer.ybase!==0||this.buffer.y!==0){this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(var U=1;U=0;s--)(r=a[s])&&(e=(l<3?r(e):l>3?r(n,i,e):r(n,i))||e);return l>3&&e&&Object.defineProperty(n,i,e),e},g=this&&this.__param||function(a,n){return function(i,o){n(i,o,a)}};Object.defineProperty(p,"__esModule",{value:!0}),p.CompositionHelper=void 0;var f=S(5),d=S(1),c=function(){function a(n,i,o,r,l,e){this._textarea=n,this._compositionView=i,this._bufferService=o,this._optionsService=r,this._charSizeService=l,this._coreService=e,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}return Object.defineProperty(a.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),a.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},a.prototype.compositionupdate=function(n){var i=this;this._compositionView.textContent=n.data,this.updateCompositionElements(),setTimeout(function(){i._compositionPosition.end=i._textarea.value.length},0)},a.prototype.compositionend=function(){this._finalizeComposition(!0)},a.prototype.keydown=function(n){if(this._isComposing||this._isSendingComposition){if(n.keyCode===229)return!1;if(n.keyCode===16||n.keyCode===17||n.keyCode===18)return!1;this._finalizeComposition(!1)}return n.keyCode!==229||(this._handleAnyTextareaChanges(),!1)},a.prototype._finalizeComposition=function(n){var i=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,n){var o={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(function(){if(i._isSendingComposition){i._isSendingComposition=!1;var l=void 0;l=i._isComposing?i._textarea.value.substring(o.start,o.end):i._textarea.value.substring(o.start),i._coreService.triggerDataEvent(l,!0)}},0)}else{this._isSendingComposition=!1;var r=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(r,!0)}},a.prototype._handleAnyTextareaChanges=function(){var n=this,i=this._textarea.value;setTimeout(function(){if(!n._isComposing){var o=n._textarea.value.replace(i,"");o.length>0&&n._coreService.triggerDataEvent(o,!0)}},0)},a.prototype.updateCompositionElements=function(n){var i=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var o=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),r=this._bufferService.buffer.y*o,l=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=l+"px",this._compositionView.style.top=r+"px",this._compositionView.style.height=o+"px",this._compositionView.style.lineHeight=o+"px",this._compositionView.style.fontFamily=this._optionsService.options.fontFamily,this._compositionView.style.fontSize=this._optionsService.options.fontSize+"px";var e=this._compositionView.getBoundingClientRect();this._textarea.style.left=l+"px",this._textarea.style.top=r+"px",this._textarea.style.width=e.width+"px",this._textarea.style.height=e.height+"px",this._textarea.style.lineHeight=e.height+"px"}n||setTimeout(function(){return i.updateCompositionElements(!0)},0)}},a=m([g(2,d.IBufferService),g(3,d.IOptionsService),g(4,f.ICharSizeService),g(5,d.ICoreService)],a)}();p.CompositionHelper=c},function(y,p,S){"use strict";var m,g=this&&this.__extends||(m=function(l,e){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var h in u)u.hasOwnProperty(h)&&(s[h]=u[h])})(l,e)},function(r,l){function e(){this.constructor=r}m(r,l),r.prototype=l===null?Object.create(l):(e.prototype=l.prototype,new e)}),f=this&&this.__decorate||function(r,l,e,s){var u,h=arguments.length,A=h<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,e):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")A=Reflect.decorate(r,l,e,s);else for(var v=r.length-1;v>=0;v--)(u=r[v])&&(A=(h<3?u(A):h>3?u(l,e,A):u(l,e))||A);return h>3&&A&&Object.defineProperty(l,e,A),A},d=this&&this.__param||function(r,l){return function(e,s){l(e,s,r)}};Object.defineProperty(p,"__esModule",{value:!0}),p.Viewport=void 0;var c=S(2),a=S(7),n=S(5),i=S(1),o=function(r){function l(e,s,u,h,A,v,w){var b=r.call(this)||this;return b._scrollLines=e,b._viewportElement=s,b._scrollArea=u,b._bufferService=h,b._optionsService=A,b._charSizeService=v,b._renderService=w,b.scrollBarWidth=0,b._currentRowHeight=0,b._lastRecordedBufferLength=0,b._lastRecordedViewportHeight=0,b._lastRecordedBufferHeight=0,b._lastTouchY=0,b._lastScrollTop=0,b._wheelPartialScroll=0,b._refreshAnimationFrame=null,b._ignoreNextScrollEvent=!1,b.scrollBarWidth=b._viewportElement.offsetWidth-b._scrollArea.offsetWidth||15,b.register(a.addDisposableDomListener(b._viewportElement,"scroll",b._onScroll.bind(b))),setTimeout(function(){return b.syncScrollArea()},0),b}return g(l,r),l.prototype.onThemeChange=function(e){this._viewportElement.style.backgroundColor=e.background.css},l.prototype._refresh=function(e){var s=this;if(e)return this._innerRefresh(),void(this._refreshAnimationFrame!==null&&cancelAnimationFrame(this._refreshAnimationFrame));this._refreshAnimationFrame===null&&(this._refreshAnimationFrame=requestAnimationFrame(function(){return s._innerRefresh()}))},l.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var e=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==e&&(this._lastRecordedBufferHeight=e,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var s=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==s&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=s),this._refreshAnimationFrame=null},l.prototype.syncScrollArea=function(e){if(e===void 0&&(e=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(e);if(this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight){var s=this._bufferService.buffer.ydisp*this._currentRowHeight;this._lastScrollTop===s&&this._lastScrollTop===this._viewportElement.scrollTop&&this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio===this._currentRowHeight||this._refresh(e)}else this._refresh(e)},l.prototype._onScroll=function(e){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent)if(this._ignoreNextScrollEvent)this._ignoreNextScrollEvent=!1;else{var s=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(s,!0)}},l.prototype._bubbleScroll=function(e,s){var u=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(s<0&&this._viewportElement.scrollTop!==0||s>0&&u0?1:-1),this._wheelPartialScroll%=1):e.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(s*=this._bufferService.rows),s},l.prototype._applyScrollModifier=function(e,s){var u=this._optionsService.options.fastScrollModifier;return u==="alt"&&s.altKey||u==="ctrl"&&s.ctrlKey||u==="shift"&&s.shiftKey?e*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:e*this._optionsService.options.scrollSensitivity},l.prototype.onTouchStart=function(e){this._lastTouchY=e.touches[0].pageY},l.prototype.onTouchMove=function(e){var s=this._lastTouchY-e.touches[0].pageY;return this._lastTouchY=e.touches[0].pageY,s!==0&&(this._viewportElement.scrollTop+=s,this._bubbleScroll(e,s))},l=f([d(3,i.IBufferService),d(4,i.IOptionsService),d(5,n.ICharSizeService),d(6,n.IRenderService)],l)}(c.Disposable);p.Viewport=o},function(y,p,S){"use strict";function m(c){return c.replace(/\r?\n/g,"\r")}function g(c,a){return a?"[200~"+c+"[201~":c}function f(c,a,n){c=g(c=m(c),n.decPrivateModes.bracketedPasteMode),n.triggerDataEvent(c,!0),a.value=""}function d(c,a,n){var i=n.getBoundingClientRect(),o=c.clientX-i.left-10,r=c.clientY-i.top-10;a.style.width="20px",a.style.height="20px",a.style.left=o+"px",a.style.top=r+"px",a.style.zIndex="1000",a.focus()}Object.defineProperty(p,"__esModule",{value:!0}),p.rightClickHandler=p.moveTextAreaUnderMouseCursor=p.paste=p.handlePasteEvent=p.copyHandler=p.bracketTextForPaste=p.prepareTextForTerminal=void 0,p.prepareTextForTerminal=m,p.bracketTextForPaste=g,p.copyHandler=function(c,a){c.clipboardData&&c.clipboardData.setData("text/plain",a.selectionText),c.preventDefault()},p.handlePasteEvent=function(c,a,n){c.stopPropagation(),c.clipboardData&&f(c.clipboardData.getData("text/plain"),a,n)},p.paste=f,p.moveTextAreaUnderMouseCursor=d,p.rightClickHandler=function(c,a,n,i,o){d(c,a,n),o&&!i.isClickInSelection(c)&&i.selectWordAtCursor(c),a.value=i.selectionText,a.select()}},function(y,p,S){"use strict";var m,g=this&&this.__extends||(m=function(l,e){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var h in u)u.hasOwnProperty(h)&&(s[h]=u[h])})(l,e)},function(r,l){function e(){this.constructor=r}m(r,l),r.prototype=l===null?Object.create(l):(e.prototype=l.prototype,new e)});Object.defineProperty(p,"__esModule",{value:!0}),p.EscapeSequenceParser=p.VT500_TRANSITION_TABLE=p.TransitionTable=void 0;var f=S(2),d=S(15),c=S(21),a=S(22),n=S(24),i=function(){function r(l){this.table=new Uint8Array(l)}return r.prototype.setDefault=function(l,e){d.fill(this.table,l<<4|e)},r.prototype.add=function(l,e,s,u){this.table[e<<8|l]=s<<4|u},r.prototype.addMany=function(l,e,s,u){for(var h=0;h1)throw new Error("only one byte as prefix supported");if((u=e.prefix.charCodeAt(0))&&60>u||u>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(e.intermediates){if(e.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var h=0;hA||A>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");u<<=8,u|=A}}if(e.final.length!==1)throw new Error("final must be a single byte");var v=e.final.charCodeAt(0);if(s[0]>v||v>s[1])throw new Error("final must be in range "+s[0]+" .. "+s[1]);return u<<=8,u|=v},l.prototype.identToString=function(e){for(var s=[];e;)s.push(String.fromCharCode(255&e)),e>>=8;return s.reverse().join("")},l.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},l.prototype.setPrintHandler=function(e){this._printHandler=e},l.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},l.prototype.addEscHandler=function(e,s){var u=this._identifier(e,[48,126]);this._escHandlers[u]===void 0&&(this._escHandlers[u]=[]);var h=this._escHandlers[u];return h.push(s),{dispose:function(){var v=h.indexOf(s);v!==-1&&h.splice(v,1)}}},l.prototype.setEscHandler=function(e,s){this._escHandlers[this._identifier(e,[48,126])]=[s]},l.prototype.clearEscHandler=function(e){this._escHandlers[this._identifier(e,[48,126])]&&delete this._escHandlers[this._identifier(e,[48,126])]},l.prototype.setEscHandlerFallback=function(e){this._escHandlerFb=e},l.prototype.setExecuteHandler=function(e,s){this._executeHandlers[e.charCodeAt(0)]=s},l.prototype.clearExecuteHandler=function(e){this._executeHandlers[e.charCodeAt(0)]&&delete this._executeHandlers[e.charCodeAt(0)]},l.prototype.setExecuteHandlerFallback=function(e){this._executeHandlerFb=e},l.prototype.addCsiHandler=function(e,s){var u=this._identifier(e);this._csiHandlers[u]===void 0&&(this._csiHandlers[u]=[]);var h=this._csiHandlers[u];return h.push(s),{dispose:function(){var v=h.indexOf(s);v!==-1&&h.splice(v,1)}}},l.prototype.setCsiHandler=function(e,s){this._csiHandlers[this._identifier(e)]=[s]},l.prototype.clearCsiHandler=function(e){this._csiHandlers[this._identifier(e)]&&delete this._csiHandlers[this._identifier(e)]},l.prototype.setCsiHandlerFallback=function(e){this._csiHandlerFb=e},l.prototype.addDcsHandler=function(e,s){return this._dcsParser.addHandler(this._identifier(e),s)},l.prototype.setDcsHandler=function(e,s){this._dcsParser.setHandler(this._identifier(e),s)},l.prototype.clearDcsHandler=function(e){this._dcsParser.clearHandler(this._identifier(e))},l.prototype.setDcsHandlerFallback=function(e){this._dcsParser.setHandlerFallback(e)},l.prototype.addOscHandler=function(e,s){return this._oscParser.addHandler(e,s)},l.prototype.setOscHandler=function(e,s){this._oscParser.setHandler(e,s)},l.prototype.clearOscHandler=function(e){this._oscParser.clearHandler(e)},l.prototype.setOscHandlerFallback=function(e){this._oscParser.setHandlerFallback(e)},l.prototype.setErrorHandler=function(e){this._errorHandler=e},l.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},l.prototype.reset=function(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0},l.prototype.parse=function(e,s){for(var u=0,h=0,A=this.currentState,v=this._oscParser,w=this._dcsParser,b=this._collect,E=this._params,T=this._transitions.table,_=0;_>4){case 2:for(var x=_+1;;++x){if(x>=s||(u=e[x])<32||u>126&&u<160){this._printHandler(e,_,x),_=x-1;break}if(++x>=s||(u=e[x])<32||u>126&&u<160){this._printHandler(e,_,x),_=x-1;break}if(++x>=s||(u=e[x])<32||u>126&&u<160){this._printHandler(e,_,x),_=x-1;break}if(++x>=s||(u=e[x])<32||u>126&&u<160){this._printHandler(e,_,x),_=x-1;break}}break;case 3:this._executeHandlers[u]?this._executeHandlers[u]():this._executeHandlerFb(u),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:_,code:u,currentState:A,collect:b,params:E,abort:!1}).abort)return;break;case 7:for(var C=this._csiHandlers[b<<8|u],I=C?C.length-1:-1;I>=0&&C[I](E)===!1;I--);I<0&&this._csiHandlerFb(b<<8|u,E),this.precedingCodepoint=0;break;case 8:do switch(u){case 59:E.addParam(0);break;case 58:E.addSubParam(-1);break;default:E.addDigit(u-48)}while(++_47&&u<60);_--;break;case 9:b<<=8,b|=u;break;case 10:for(var L=this._escHandlers[b<<8|u],F=L?L.length-1:-1;F>=0&&L[F]()===!1;F--);F<0&&this._escHandlerFb(b<<8|u),this.precedingCodepoint=0;break;case 11:E.reset(),E.addParam(0),b=0;break;case 12:w.hook(b<<8|u,E);break;case 13:for(var B=_+1;;++B)if(B>=s||(u=e[B])===24||u===26||u===27||u>127&&u<160){w.put(e,_,B),_=B-1;break}break;case 14:w.unhook(u!==24&&u!==26),u===27&&(h|=1),E.reset(),E.addParam(0),b=0,this.precedingCodepoint=0;break;case 4:v.start();break;case 5:for(var P=_+1;;P++)if(P>=s||(u=e[P])<32||u>127&&u<=159){v.put(e,_,P),_=P-1;break}break;case 6:v.end(u!==24&&u!==26),u===27&&(h|=1),E.reset(),E.addParam(0),b=0,this.precedingCodepoint=0}A=15&h}this._collect=b,this.currentState=A},l}(f.Disposable);p.EscapeSequenceParser=o},function(y,p,S){"use strict";var m,g=this&&this.__extends||(m=function(w,b){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,T){E.__proto__=T}||function(E,T){for(var _ in T)T.hasOwnProperty(_)&&(E[_]=T[_])})(w,b)},function(v,w){function b(){this.constructor=v}m(v,w),v.prototype=w===null?Object.create(w):(b.prototype=w.prototype,new b)}),f=this&&this.__decorate||function(v,w,b,E){var T,_=arguments.length,x=_<3?w:E===null?E=Object.getOwnPropertyDescriptor(w,b):E;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(v,w,b,E);else for(var C=v.length-1;C>=0;C--)(T=v[C])&&(x=(_<3?T(x):_>3?T(w,b,x):T(w,b))||x);return _>3&&x&&Object.defineProperty(w,b,x),x},d=this&&this.__param||function(v,w){return function(b,E){w(b,E,v)}};Object.defineProperty(p,"__esModule",{value:!0}),p.Renderer=void 0;var c=S(41),a=S(47),n=S(48),i=S(49),o=S(29),r=S(2),l=S(5),e=S(1),s=S(25),u=S(0),h=1,A=function(v){function w(b,E,T,_,x,C,I,L,F){var B=v.call(this)||this;B._colors=b,B._screenElement=E,B._bufferService=x,B._charSizeService=C,B._optionsService=I,B._id=h++,B._onRequestRedraw=new u.EventEmitter;var P=B._optionsService.options.allowTransparency;return B._characterJoinerRegistry=new o.CharacterJoinerRegistry(B._bufferService),B._renderLayers=[new c.TextRenderLayer(B._screenElement,0,B._colors,B._characterJoinerRegistry,P,B._id,B._bufferService,I),new a.SelectionRenderLayer(B._screenElement,1,B._colors,B._id,B._bufferService,I),new i.LinkRenderLayer(B._screenElement,2,B._colors,B._id,T,_,B._bufferService,I),new n.CursorRenderLayer(B._screenElement,3,B._colors,B._id,B._onRequestRedraw,B._bufferService,I,L,F)],B.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},B._devicePixelRatio=window.devicePixelRatio,B._updateDimensions(),B.onOptionsChanged(),B}return g(w,v),Object.defineProperty(w.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),w.prototype.dispose=function(){for(var b=0,E=this._renderLayers;b0&&E===b[0][0]){_=!0;var C=b.shift();T=new n.JoinedCellData(this._workCell,w.translateToString(!0,C[0],C[1]),C[1]-C[0]),x=C[1]-1}!_&&this._isOverlapping(T)&&xthis._characterWidth;return this._ctx.restore(),this._characterOverlapCache[s]=u,u},l}(d.BaseRenderLayer);p.TextRenderLayer=o},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.GridCache=void 0;var m=function(){function g(){this.cache=[]}return g.prototype.resize=function(f,d){for(var c=0;c>>24,H=F.rgba>>>16&255,z=F.rgba>>>8&255,M=0;M=this.capacity)c=this._head,this._unlinkNode(c),delete this._map[c.key],c.key=f,c.value=d,this._map[f]=c;else{var a=this._nodePool;a.length>0?((c=a.pop()).key=f,c.value=d):c={prev:null,next:null,key:f,value:d},this._map[f]=c,this.size++}this._appendNode(c)},g}();p.LRUMap=m},function(y,p,S){"use strict";var m,g=this&&this.__extends||(m=function(c,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)i.hasOwnProperty(o)&&(n[o]=i[o])})(c,a)},function(d,c){function a(){this.constructor=d}m(d,c),d.prototype=c===null?Object.create(c):(a.prototype=c.prototype,new a)});Object.defineProperty(p,"__esModule",{value:!0}),p.SelectionRenderLayer=void 0;var f=function(d){function c(a,n,i,o,r,l){var e=d.call(this,a,"selection",n,!0,i,o,r,l)||this;return e._clearState(),e}return g(c,d),c.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},c.prototype.resize=function(a){d.prototype.resize.call(this,a),this._clearState()},c.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},c.prototype.onSelectionChanged=function(a,n,i){if(this._didStateChange(a,n,i,this._bufferService.buffer.ydisp))if(this._clearAll(),a&&n){var o=a[1]-this._bufferService.buffer.ydisp,r=n[1]-this._bufferService.buffer.ydisp,l=Math.max(o,0),e=Math.min(r,this._bufferService.rows-1);if(!(l>=this._bufferService.rows||e<0)){if(this._ctx.fillStyle=this._colors.selectionTransparent.css,i){var s=a[0],u=n[0]-s,h=e-l+1;this._fillCells(s,l,u,h)}else{s=o===l?a[0]:0;var A=l===e?n[0]:this._bufferService.cols;this._fillCells(s,l,A-s,1);var v=Math.max(e-l-1,0);if(this._fillCells(0,l+1,this._bufferService.cols,v),l!==e){var w=r===e?n[0]:this._bufferService.cols;this._fillCells(0,e,w,1)}}this._state.start=[a[0],a[1]],this._state.end=[n[0],n[1]],this._state.columnSelectMode=i,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},c.prototype._didStateChange=function(a,n,i,o){return!this._areCoordinatesEqual(a,this._state.start)||!this._areCoordinatesEqual(n,this._state.end)||i!==this._state.columnSelectMode||o!==this._state.ydisp},c.prototype._areCoordinatesEqual=function(a,n){return!(!a||!n)&&a[0]===n[0]&&a[1]===n[1]},c}(S(13).BaseRenderLayer);p.SelectionRenderLayer=f},function(y,p,S){"use strict";var m,g=this&&this.__extends||(m=function(i,o){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,l){r.__proto__=l}||function(r,l){for(var e in l)l.hasOwnProperty(e)&&(r[e]=l[e])})(i,o)},function(n,i){function o(){this.constructor=n}m(n,i),n.prototype=i===null?Object.create(i):(o.prototype=i.prototype,new o)});Object.defineProperty(p,"__esModule",{value:!0}),p.CursorRenderLayer=void 0;var f=S(13),d=S(4),c=function(n){function i(o,r,l,e,s,u,h,A,v){var w=n.call(this,o,"cursor",r,!0,l,e,u,h)||this;return w._onRequestRedraw=s,w._coreService=A,w._coreBrowserService=v,w._cell=new d.CellData,w._state={x:0,y:0,isFocused:!1,style:"",width:0},w._cursorRenderers={bar:w._renderBarCursor.bind(w),block:w._renderBlockCursor.bind(w),underline:w._renderUnderlineCursor.bind(w)},w}return g(i,n),i.prototype.resize=function(o){n.prototype.resize.call(this,o),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},i.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},i.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},i.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},i.prototype.onOptionsChanged=function(){var o,r=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new a(this._coreBrowserService.isFocused,function(){r._render(!0)})):((o=this._cursorBlinkStateManager)===null||o===void 0||o.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},i.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},i.prototype.onGridChanged=function(o,r){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},i.prototype._render=function(o){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var r=this._bufferService.buffer.ybase+this._bufferService.buffer.y,l=r-this._bufferService.buffer.ydisp;if(l<0||l>=this._bufferService.rows)this._clearCursor();else{var e=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(r).loadCell(e,this._cell),this._cell.content!==void 0){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var s=this._optionsService.options.cursorStyle;return s&&s!=="block"?this._cursorRenderers[s](e,l,this._cell):this._renderBlurCursor(e,l,this._cell),this._ctx.restore(),this._state.x=e,this._state.y=l,this._state.isFocused=!1,this._state.style=s,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===e&&this._state.y===l&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.options.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.options.cursorStyle||"block"](e,l,this._cell),this._ctx.restore(),this._state.x=e,this._state.y=l,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}}else this._clearCursor()},i.prototype._clearCursor=function(){this._state&&(this._clearCells(this._state.x,this._state.y,this._state.width,1),this._state={x:0,y:0,isFocused:!1,style:"",width:0})},i.prototype._renderBarCursor=function(o,r,l){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(o,r,this._optionsService.options.cursorWidth),this._ctx.restore()},i.prototype._renderBlockCursor=function(o,r,l){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(o,r,l.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(l,o,r),this._ctx.restore()},i.prototype._renderUnderlineCursor=function(o,r,l){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(o,r),this._ctx.restore()},i.prototype._renderBlurCursor=function(o,r,l){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(o,r,l.getWidth(),1),this._ctx.restore()},i}(f.BaseRenderLayer);p.CursorRenderLayer=c;var a=function(){function n(i,o){this._renderCallback=o,this.isCursorVisible=!0,i&&this._restartInterval()}return Object.defineProperty(n.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!1,configurable:!0}),n.prototype.dispose=function(){this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},n.prototype.restartBlinkAnimation=function(){var i=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){i._renderCallback(),i._animationFrame=void 0})))},n.prototype._restartInterval=function(i){var o=this;i===void 0&&(i=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=window.setTimeout(function(){if(o._animationTimeRestarted){var r=600-(Date.now()-o._animationTimeRestarted);if(o._animationTimeRestarted=void 0,r>0)return void o._restartInterval(r)}o.isCursorVisible=!1,o._animationFrame=window.requestAnimationFrame(function(){o._renderCallback(),o._animationFrame=void 0}),o._blinkInterval=window.setInterval(function(){if(o._animationTimeRestarted){var l=600-(Date.now()-o._animationTimeRestarted);return o._animationTimeRestarted=void 0,void o._restartInterval(l)}o.isCursorVisible=!o.isCursorVisible,o._animationFrame=window.requestAnimationFrame(function(){o._renderCallback(),o._animationFrame=void 0})},600)},i)},n.prototype.pause=function(){this.isCursorVisible=!0,this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},n.prototype.resume=function(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},n}()},function(y,p,S){"use strict";var m,g=this&&this.__extends||(m=function(i,o){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,l){r.__proto__=l}||function(r,l){for(var e in l)l.hasOwnProperty(e)&&(r[e]=l[e])})(i,o)},function(n,i){function o(){this.constructor=n}m(n,i),n.prototype=i===null?Object.create(i):(o.prototype=i.prototype,new o)});Object.defineProperty(p,"__esModule",{value:!0}),p.LinkRenderLayer=void 0;var f=S(13),d=S(9),c=S(26),a=function(n){function i(o,r,l,e,s,u,h,A){var v=n.call(this,o,"link",r,!0,l,e,h,A)||this;return s.onShowLinkUnderline(function(w){return v._onShowLinkUnderline(w)}),s.onHideLinkUnderline(function(w){return v._onHideLinkUnderline(w)}),u.onShowLinkUnderline(function(w){return v._onShowLinkUnderline(w)}),u.onHideLinkUnderline(function(w){return v._onHideLinkUnderline(w)}),v}return g(i,n),i.prototype.resize=function(o){n.prototype.resize.call(this,o),this._state=void 0},i.prototype.reset=function(){this._clearCurrentLink()},i.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var o=this._state.y2-this._state.y1-1;o>0&&this._clearCells(0,this._state.y1+1,this._state.cols,o),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},i.prototype._onShowLinkUnderline=function(o){if(o.fg===d.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:o.fg&&c.is256Color(o.fg)?this._ctx.fillStyle=this._colors.ansi[o.fg].css:this._ctx.fillStyle=this._colors.foreground.css,o.y1===o.y2)this._fillBottomLineAtCells(o.x1,o.y1,o.x2-o.x1);else{this._fillBottomLineAtCells(o.x1,o.y1,o.cols-o.x1);for(var r=o.y1+1;r=0;u--)(l=n[u])&&(s=(e<3?l(s):e>3?l(i,o,s):l(i,o))||s);return e>3&&s&&Object.defineProperty(i,o,s),s},g=this&&this.__param||function(n,i){return function(o,r){i(o,r,n)}};Object.defineProperty(p,"__esModule",{value:!0}),p.MouseZone=p.Linkifier=void 0;var f=S(0),d=S(1),c=function(){function n(i,o,r){this._bufferService=i,this._logService=o,this._unicodeService=r,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onShowLinkUnderline=new f.EventEmitter,this._onHideLinkUnderline=new f.EventEmitter,this._onLinkTooltip=new f.EventEmitter,this._rowsToLinkify={start:void 0,end:void 0}}return Object.defineProperty(n.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!1,configurable:!0}),n.prototype.attachToDom=function(i,o){this._element=i,this._mouseZoneManager=o},n.prototype.linkifyRows=function(i,o){var r=this;this._mouseZoneManager&&(this._rowsToLinkify.start===void 0||this._rowsToLinkify.end===void 0?(this._rowsToLinkify.start=i,this._rowsToLinkify.end=o):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,i),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,o)),this._mouseZoneManager.clearAll(i,o),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return r._linkifyRows()},n._timeBeforeLatency))},n.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var i=this._bufferService.buffer;if(this._rowsToLinkify.start!==void 0&&this._rowsToLinkify.end!==void 0){var o=i.ydisp+this._rowsToLinkify.start;if(!(o>=i.lines.length)){for(var r=i.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,l=Math.ceil(2e3/this._bufferService.cols),e=this._bufferService.buffer.iterator(!1,o,r,l,l);e.hasNext();)for(var s=e.next(),u=0;u=0;o--)if(i.priority<=this._linkMatchers[o].priority)return void this._linkMatchers.splice(o+1,0,i);this._linkMatchers.splice(0,0,i)}else this._linkMatchers.push(i)},n.prototype.deregisterLinkMatcher=function(i){for(var o=0;o>9&511:void 0;r.validationCallback?r.validationCallback(w,function(x){e._rowsTimeoutId||x&&e._addLink(b[1],b[0]-e._bufferService.buffer.ydisp,w,r,_)}):A._addLink(b[1],b[0]-A._bufferService.buffer.ydisp,w,r,_)},A=this;(l=s.exec(o))!==null&&!(h()==="break"););},n.prototype._addLink=function(i,o,r,l,e){var s=this;if(this._mouseZoneManager&&this._element){var u=this._unicodeService.getStringCellWidth(r),h=i%this._bufferService.cols,A=o+Math.floor(i/this._bufferService.cols),v=(h+u)%this._bufferService.cols,w=A+Math.floor((h+u)/this._bufferService.cols);v===0&&(v=this._bufferService.cols,w--),this._mouseZoneManager.add(new a(h+1,A+1,v+1,w+1,function(b){if(l.handler)return l.handler(b,r);var E=window.open();E?(E.opener=null,E.location.href=r):console.warn("Opening link blocked as opener could not be cleared")},function(){s._onShowLinkUnderline.fire(s._createLinkHoverEvent(h,A,v,w,e)),s._element.classList.add("xterm-cursor-pointer")},function(b){s._onLinkTooltip.fire(s._createLinkHoverEvent(h,A,v,w,e)),l.hoverTooltipCallback&&l.hoverTooltipCallback(b,r,{start:{x:h,y:A},end:{x:v,y:w}})},function(){s._onHideLinkUnderline.fire(s._createLinkHoverEvent(h,A,v,w,e)),s._element.classList.remove("xterm-cursor-pointer"),l.hoverLeaveCallback&&l.hoverLeaveCallback()},function(b){return!l.willLinkActivate||l.willLinkActivate(b,r)}))}},n.prototype._createLinkHoverEvent=function(i,o,r,l,e){return{x1:i,y1:o,x2:r,y2:l,cols:this._bufferService.cols,fg:e}},n._timeBeforeLatency=200,n=m([g(0,d.IBufferService),g(1,d.ILogService),g(2,d.IUnicodeService)],n)}();p.Linkifier=c;var a=function(i,o,r,l,e,s,u,h,A){this.x1=i,this.y1=o,this.x2=r,this.y2=l,this.clickCallback=e,this.hoverCallback=s,this.tooltipCallback=u,this.leaveCallback=h,this.willLinkActivate=A};p.MouseZone=a},function(y,p,S){"use strict";var m,g=this&&this.__extends||(m=function(w,b){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,T){E.__proto__=T}||function(E,T){for(var _ in T)T.hasOwnProperty(_)&&(E[_]=T[_])})(w,b)},function(v,w){function b(){this.constructor=v}m(v,w),v.prototype=w===null?Object.create(w):(b.prototype=w.prototype,new b)}),f=this&&this.__decorate||function(v,w,b,E){var T,_=arguments.length,x=_<3?w:E===null?E=Object.getOwnPropertyDescriptor(w,b):E;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(v,w,b,E);else for(var C=v.length-1;C>=0;C--)(T=v[C])&&(x=(_<3?T(x):_>3?T(w,b,x):T(w,b))||x);return _>3&&x&&Object.defineProperty(w,b,x),x},d=this&&this.__param||function(v,w){return function(b,E){w(b,E,v)}};Object.defineProperty(p,"__esModule",{value:!0}),p.SelectionService=void 0;var c=S(11),a=S(52),n=S(4),i=S(0),o=S(5),r=S(1),l=S(30),e=S(53),s=S(2),u=String.fromCharCode(160),h=new RegExp(u,"g"),A=function(v){function w(b,E,T,_,x,C,I){var L=v.call(this)||this;return L._element=b,L._screenElement=E,L._bufferService=T,L._coreService=_,L._mouseService=x,L._optionsService=C,L._renderService=I,L._dragScrollAmount=0,L._enabled=!0,L._workCell=new n.CellData,L._mouseDownTimeStamp=0,L._onLinuxMouseSelection=L.register(new i.EventEmitter),L._onRedrawRequest=L.register(new i.EventEmitter),L._onSelectionChange=L.register(new i.EventEmitter),L._onRequestScrollLines=L.register(new i.EventEmitter),L._mouseMoveListener=function(F){return L._onMouseMove(F)},L._mouseUpListener=function(F){return L._onMouseUp(F)},L._coreService.onUserInput(function(){L.hasSelection&&L.clearSelection()}),L._trimListener=L._bufferService.buffer.lines.onTrim(function(F){return L._onTrim(F)}),L.register(L._bufferService.buffers.onBufferActivate(function(F){return L._onBufferActivate(F)})),L.enable(),L._model=new a.SelectionModel(L._bufferService),L._activeSelectionMode=0,L}return g(w,v),Object.defineProperty(w.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),w.prototype.dispose=function(){this._removeMouseDownListeners()},w.prototype.reset=function(){this.clearSelection()},w.prototype.disable=function(){this.clearSelection(),this._enabled=!1},w.prototype.enable=function(){this._enabled=!0},Object.defineProperty(w.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"hasSelection",{get:function(){var E=this._model.finalSelectionStart,T=this._model.finalSelectionEnd;return!(!E||!T)&&(E[0]!==T[0]||E[1]!==T[1])},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"selectionText",{get:function(){var E=this._model.finalSelectionStart,T=this._model.finalSelectionEnd;if(!E||!T)return"";var _=this._bufferService.buffer,x=[];if(this._activeSelectionMode===3){if(E[0]===T[0])return"";for(var C=E[1];C<=T[1];C++){var I=_.translateBufferLineToString(C,!0,E[0],T[0]);x.push(I)}}else{var L=E[1]===T[1]?T[0]:void 0;for(x.push(_.translateBufferLineToString(E[1],!0,E[0],L)),C=E[1]+1;C<=T[1]-1;C++){var F=_.lines.get(C);I=_.translateBufferLineToString(C,!0),F&&F.isWrapped?x[x.length-1]+=I:x.push(I)}E[1]!==T[1]&&(F=_.lines.get(T[1]),I=_.translateBufferLineToString(T[1],!0,0,T[0]),F&&F.isWrapped?x[x.length-1]+=I:x.push(I))}return x.map(function(B){return B.replace(h," ")}).join(c.isWindows?`\r `:` `)},enumerable:!1,configurable:!0}),w.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},w.prototype.refresh=function(b){var E=this;(this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return E._refresh()})),c.isLinux&&b)&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},w.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:this._activeSelectionMode===3})},w.prototype.isClickInSelection=function(b){var E=this._getMouseBufferCoords(b),T=this._model.finalSelectionStart,_=this._model.finalSelectionEnd;return!!(T&&_&&E)&&this._areCoordsInSelection(E,T,_)},w.prototype._areCoordsInSelection=function(b,E,T){return b[1]>E[1]&&b[1]=E[0]&&b[0]=E[0]},w.prototype.selectWordAtCursor=function(b){var E=this._getMouseBufferCoords(b);E&&(this._selectWordAt(E,!1),this._model.selectionEnd=void 0,this.refresh(!0))},w.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},w.prototype.selectLines=function(b,E){this._model.clearSelection(),b=Math.max(b,0),E=Math.min(E,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,b],this._model.selectionEnd=[this._bufferService.cols,E],this.refresh(),this._onSelectionChange.fire()},w.prototype._onTrim=function(b){this._model.onTrim(b)&&this.refresh()},w.prototype._getMouseBufferCoords=function(b){var E=this._mouseService.getCoords(b,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(E)return E[0]--,E[1]--,E[1]+=this._bufferService.buffer.ydisp,E},w.prototype._getMouseEventScrollAmount=function(b){var E=l.getCoordsRelativeToElement(b,this._screenElement)[1],T=this._renderService.dimensions.canvasHeight;return E>=0&&E<=T?0:(E>T&&(E-=T),E=Math.min(Math.max(E,-50),50),(E/=50)/Math.abs(E)+Math.round(14*E))},w.prototype.shouldForceSelection=function(b){return c.isMac?b.altKey&&this._optionsService.options.macOptionClickForcesSelection:b.shiftKey},w.prototype.onMouseDown=function(b){if(this._mouseDownTimeStamp=b.timeStamp,(b.button!==2||!this.hasSelection)&&b.button===0){if(!this._enabled){if(!this.shouldForceSelection(b))return;b.stopPropagation()}b.preventDefault(),this._dragScrollAmount=0,this._enabled&&b.shiftKey?this._onIncrementalClick(b):b.detail===1?this._onSingleClick(b):b.detail===2?this._onDoubleClick(b):b.detail===3&&this._onTripleClick(b),this._addMouseDownListeners(),this.refresh(!0)}},w.prototype._addMouseDownListeners=function(){var b=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return b._dragScroll()},50)},w.prototype._removeMouseDownListeners=function(){this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.removeEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.removeEventListener("mouseup",this._mouseUpListener)),clearInterval(this._dragScrollIntervalTimer),this._dragScrollIntervalTimer=void 0},w.prototype._onIncrementalClick=function(b){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(b))},w.prototype._onSingleClick=function(b){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(b)?3:0,this._model.selectionStart=this._getMouseBufferCoords(b),this._model.selectionStart){this._model.selectionEnd=void 0;var E=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);E&&E.length!==this._model.selectionStart[0]&&E.hasWidth(this._model.selectionStart[0])===0&&this._model.selectionStart[0]++}},w.prototype._onDoubleClick=function(b){var E=this._getMouseBufferCoords(b);E&&(this._activeSelectionMode=1,this._selectWordAt(E,!0))},w.prototype._onTripleClick=function(b){var E=this._getMouseBufferCoords(b);E&&(this._activeSelectionMode=2,this._selectLineAt(E[1]))},w.prototype.shouldColumnSelect=function(b){return b.altKey&&!(c.isMac&&this._optionsService.options.macOptionClickForcesSelection)},w.prototype._onMouseMove=function(b){if(b.stopImmediatePropagation(),this._model.selectionStart){var E=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(b),this._model.selectionEnd){this._activeSelectionMode===2?this._model.selectionEnd[1]0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var T=this._bufferService.buffer;if(this._model.selectionEnd[1]0?(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(b.ydisp+this._bufferService.rows,b.lines.length-1)):(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=b.ydisp),this.refresh()}},w.prototype._onMouseUp=function(b){var E=b.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&E<500&&b.altKey){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var T=this._mouseService.getCoords(b,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(T&&T[0]!==void 0&&T[1]!==void 0){var _=e.moveToCellSequence(T[0]-1,T[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(_,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},w.prototype._onBufferActivate=function(b){var E=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=b.activeBuffer.lines.onTrim(function(T){return E._onTrim(T)})},w.prototype._convertViewportColToCharacterIndex=function(b,E){for(var T=E[0],_=0;E[0]>=_;_++){var x=b.loadCell(_,this._workCell).getChars().length;this._workCell.getWidth()===0?T--:x>1&&E[0]!==_&&(T+=x-1)}return T},w.prototype.setSelection=function(b,E,T){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[b,E],this._model.selectionStartLength=T,this.refresh()},w.prototype._getWordAt=function(b,E,T,_){if(T===void 0&&(T=!0),_===void 0&&(_=!0),!(b[0]>=this._bufferService.cols)){var x=this._bufferService.buffer,C=x.lines.get(b[1]);if(C){var I=x.translateBufferLineToString(b[1],!1),L=this._convertViewportColToCharacterIndex(C,b),F=L,B=b[0]-L,P=0,H=0,z=0,M=0;if(I.charAt(L)===" "){for(;L>0&&I.charAt(L-1)===" ";)L--;for(;F1&&(M+=K-1,F+=K-1);U>0&&L>0&&!this._isCharWordSeparator(C.loadCell(U-1,this._workCell));){C.loadCell(U-1,this._workCell);var j=this._workCell.getChars().length;this._workCell.getWidth()===0?(P++,U--):j>1&&(z+=j-1,L-=j-1),L--,U--}for(;k1&&(M+=V-1,F+=V-1),F++,k++}}F++;var W=L+B-P+z,X=Math.min(this._bufferService.cols,F-L+P+H-z-M);if(E||I.slice(L,F).trim()!==""){if(T&&W===0&&C.getCodePoint(0)!==32){var J=x.lines.get(b[1]-1);if(J&&C.isWrapped&&J.getCodePoint(this._bufferService.cols-1)!==32){var de=this._getWordAt([this._bufferService.cols-1,b[1]-1],!1,!0,!1);if(de){var G=this._bufferService.cols-de.start;W-=G,X+=G}}}if(_&&W+X===this._bufferService.cols&&C.getCodePoint(this._bufferService.cols-1)!==32){var ae=x.lines.get(b[1]+1);if(ae&&ae.isWrapped&&ae.getCodePoint(0)!==32){var Ae=this._getWordAt([0,b[1]+1],!1,!1,!0);Ae&&(X+=Ae.length)}}return{start:W,length:X}}}}},w.prototype._selectWordAt=function(b,E){var T=this._getWordAt(b,E);if(T){for(;T.start<0;)T.start+=this._bufferService.cols,b[1]--;this._model.selectionStart=[T.start,b[1]],this._model.selectionStartLength=T.length}},w.prototype._selectToWordAt=function(b){var E=this._getWordAt(b,!0);if(E){for(var T=b[1];E.start<0;)E.start+=this._bufferService.cols,T--;if(!this._model.areSelectionValuesReversed())for(;E.start+E.length>this._bufferService.cols;)E.length-=this._bufferService.cols,T++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?E.start:E.start+E.length,T]}},w.prototype._isCharWordSeparator=function(b){return b.getWidth()!==0&&this._optionsService.options.wordSeparator.indexOf(b.getChars())>=0},w.prototype._selectLineAt=function(b){var E=this._bufferService.buffer.getWrappedRangeForLine(b);this._model.selectionStart=[0,E.first],this._model.selectionEnd=[this._bufferService.cols,E.last],this._model.selectionStartLength=0},w=f([d(2,r.IBufferService),d(3,r.ICoreService),d(4,o.IMouseService),d(5,r.IOptionsService),d(6,o.IRenderService)],w)}(s.Disposable);p.SelectionService=A},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.SelectionModel=void 0;var m=function(){function g(f){this._bufferService=f,this.isSelectAllActive=!1,this.selectionStartLength=0}return g.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(g.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"finalSelectionEnd",{get:function(){if(this.isSelectAllActive)return[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1];if(this.selectionStart){if(!this.selectionEnd||this.areSelectionValuesReversed()){var d=this.selectionStart[0]+this.selectionStartLength;return d>this._bufferService.cols?[d%this._bufferService.cols,this.selectionStart[1]+Math.floor(d/this._bufferService.cols)]:[d,this.selectionStart[1]]}return this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?[Math.max(this.selectionStart[0]+this.selectionStartLength,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd}},enumerable:!1,configurable:!0}),g.prototype.areSelectionValuesReversed=function(){var f=this.selectionStart,d=this.selectionEnd;return!(!f||!d)&&(f[1]>d[1]||f[1]===d[1]&&f[0]>d[0])},g.prototype.onTrim=function(f){return this.selectionStart&&(this.selectionStart[1]-=f),this.selectionEnd&&(this.selectionEnd[1]-=f),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},g}();p.SelectionModel=m},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.moveToCellSequence=void 0;var m=S(12);function g(i,o,r,l){var e=i-f(r,i),s=o-f(r,o);return n(Math.abs(e-s)-function(u,h,A){for(var v=0,w=u-f(A,u),b=h-f(A,h),E=0;E=0&&oo?"A":"B"}function c(i,o,r,l,e,s){for(var u=i,h=o,A="";u!==r||h!==l;)u+=e?1:-1,e&&u>s.cols-1?(A+=s.buffer.translateBufferLineToString(h,!1,i,u),u=0,i=0,h++):!e&&u<0&&(A+=s.buffer.translateBufferLineToString(h,!1,0,i+1),i=u=s.cols-1,h--);return A+s.buffer.translateBufferLineToString(h,!1,i,u)}function a(i,o){var r=o?"O":"[";return m.C0.ESC+r+i}function n(i,o){i=Math.floor(i);for(var r="",l=0;l0?b-f(E,b):v;var x=b,C=function(I,L,F,B,P,H){var z;return z=g(F,B,P,H).length>0?B-f(P,B):L,I=F&&zi?"D":"C",n(Math.abs(s-i),a(e,l));e=u>o?"D":"C";var h=Math.abs(u-o);return n(function(A,v){return v.cols-A}(u>o?i:s,r)+(h-1)*r.cols+1+((u>o?s:i)-1),a(e,l))}},function(y,p,S){"use strict";var m=this&&this.__decorate||function(c,a,n,i){var o,r=arguments.length,l=r<3?a:i===null?i=Object.getOwnPropertyDescriptor(a,n):i;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(c,a,n,i);else for(var e=c.length-1;e>=0;e--)(o=c[e])&&(l=(r<3?o(l):r>3?o(a,n,l):o(a,n))||l);return r>3&&l&&Object.defineProperty(a,n,l),l},g=this&&this.__param||function(c,a){return function(n,i){a(n,i,c)}};Object.defineProperty(p,"__esModule",{value:!0}),p.SoundService=void 0;var f=S(1),d=function(){function c(a){this._optionsService=a}return Object.defineProperty(c,"audioContext",{get:function(){if(!c._audioContext){var n=window.AudioContext||window.webkitAudioContext;if(!n)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;c._audioContext=new n}return c._audioContext},enumerable:!1,configurable:!0}),c.prototype.playBellSound=function(){var a=c.audioContext;if(a){var n=a.createBufferSource();a.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),function(i){n.buffer=i,n.connect(a.destination),n.start(0)})}},c.prototype._base64ToArrayBuffer=function(a){for(var n=window.atob(a),i=n.length,o=new Uint8Array(i),r=0;r=0;v--)(u=r[v])&&(A=(h<3?u(A):h>3?u(l,e,A):u(l,e))||A);return h>3&&A&&Object.defineProperty(l,e,A),A},d=this&&this.__param||function(r,l){return function(e,s){l(e,s,r)}};Object.defineProperty(p,"__esModule",{value:!0}),p.MouseZoneManager=void 0;var c=S(2),a=S(7),n=S(5),i=S(1),o=function(r){function l(e,s,u,h,A,v){var w=r.call(this)||this;return w._element=e,w._screenElement=s,w._bufferService=u,w._mouseService=h,w._selectionService=A,w._optionsService=v,w._zones=[],w._areZonesActive=!1,w._lastHoverCoords=[void 0,void 0],w._initialSelectionLength=0,w.register(a.addDisposableDomListener(w._element,"mousedown",function(b){return w._onMouseDown(b)})),w._mouseMoveListener=function(b){return w._onMouseMove(b)},w._mouseLeaveListener=function(b){return w._onMouseLeave(b)},w._clickListener=function(b){return w._onClick(b)},w}return g(l,r),l.prototype.dispose=function(){r.prototype.dispose.call(this),this._deactivate()},l.prototype.add=function(e){this._zones.push(e),this._zones.length===1&&this._activate()},l.prototype.clearAll=function(e,s){if(this._zones.length!==0){e&&s||(e=0,s=this._bufferService.rows-1);for(var u=0;ue&&h.y1<=s+1||h.y2>e&&h.y2<=s+1||h.y1s+1)&&(this._currentZone&&this._currentZone===h&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(u--,1))}this._zones.length===0&&this._deactivate()}},l.prototype._activate=function(){this._areZonesActive||(this._areZonesActive=!0,this._element.addEventListener("mousemove",this._mouseMoveListener),this._element.addEventListener("mouseleave",this._mouseLeaveListener),this._element.addEventListener("click",this._clickListener))},l.prototype._deactivate=function(){this._areZonesActive&&(this._areZonesActive=!1,this._element.removeEventListener("mousemove",this._mouseMoveListener),this._element.removeEventListener("mouseleave",this._mouseLeaveListener),this._element.removeEventListener("click",this._clickListener))},l.prototype._onMouseMove=function(e){this._lastHoverCoords[0]===e.pageX&&this._lastHoverCoords[1]===e.pageY||(this._onHover(e),this._lastHoverCoords=[e.pageX,e.pageY])},l.prototype._onHover=function(e){var s=this,u=this._findZoneEventAt(e);u!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),u&&(this._currentZone=u,u.hoverCallback&&u.hoverCallback(e),this._tooltipTimeout=window.setTimeout(function(){return s._onTooltip(e)},this._optionsService.options.linkTooltipHoverDuration)))},l.prototype._onTooltip=function(e){this._tooltipTimeout=void 0;var s=this._findZoneEventAt(e);s&&s.tooltipCallback&&s.tooltipCallback(e)},l.prototype._onMouseDown=function(e){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var s=this._findZoneEventAt(e);(s==null?void 0:s.willLinkActivate(e))&&(e.preventDefault(),e.stopImmediatePropagation())}},l.prototype._onMouseLeave=function(e){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},l.prototype._onClick=function(e){var s=this._findZoneEventAt(e),u=this._getSelectionLength();s&&u===this._initialSelectionLength&&(s.clickCallback(e),e.preventDefault(),e.stopImmediatePropagation())},l.prototype._getSelectionLength=function(){var e=this._selectionService.selectionText;return e?e.length:0},l.prototype._findZoneEventAt=function(e){var s=this._mouseService.getCoords(e,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(s)for(var u=s[0],h=s[1],A=0;A=v.x1&&u=v.x1||h===v.y2&&uv.y1&&hs;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},e.prototype._createAccessibilityTreeNode=function(){var s=document.createElement("div");return s.setAttribute("role","listitem"),s.tabIndex=-1,this._refreshRowDimensions(s),s},e.prototype._onTab=function(s){for(var u=0;u0?this._charsToConsume.shift()!==s&&(this._charsToAnnounce+=s):this._charsToAnnounce+=s,s===` `&&(this._liveRegionLineCount++,this._liveRegionLineCount===21&&(this._liveRegion.textContent+=f.tooMuchOutput)),d.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout(function(){u._accessibilityTreeRoot.appendChild(u._liveRegion)},0))},e.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,d.isMac&&o.removeElementFromParent(this._liveRegion)},e.prototype._onKey=function(s){this._clearLiveRegion(),this._charsToConsume.push(s)},e.prototype._refreshRows=function(s,u){this._renderRowsDebouncer.refresh(s,u,this._terminal.rows)},e.prototype._renderRows=function(s,u){for(var h=this._terminal.buffer,A=h.lines.length.toString(),v=s;v<=u;v++){var w=h.translateBufferLineToString(h.ydisp+v,!0),b=(h.ydisp+v+1).toString(),E=this._rowElements[v];E&&(w.length===0?E.innerHTML=" ":E.textContent=w,E.setAttribute("aria-posinset",b),E.setAttribute("aria-setsize",A))}this._announceCharacters()},e.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var s=0;s=0;_--)(b=h[_])&&(T=(E<3?b(T):E>3?b(A,v,T):b(A,v))||T);return E>3&&T&&Object.defineProperty(A,v,T),T},d=this&&this.__param||function(h,A){return function(v,w){A(v,w,h)}};Object.defineProperty(p,"__esModule",{value:!0}),p.DomRenderer=void 0;var c=S(58),a=S(9),n=S(2),i=S(5),o=S(1),r=S(0),l=S(10),e=S(17),s=1,u=function(h){function A(v,w,b,E,T,_,x,C,I){var L=h.call(this)||this;return L._colors=v,L._element=w,L._screenElement=b,L._viewportElement=E,L._linkifier=T,L._linkifier2=_,L._charSizeService=x,L._optionsService=C,L._bufferService=I,L._terminalClass=s++,L._rowElements=[],L._rowContainer=document.createElement("div"),L._rowContainer.classList.add("xterm-rows"),L._rowContainer.style.lineHeight="normal",L._rowContainer.setAttribute("aria-hidden","true"),L._refreshRowElements(L._bufferService.cols,L._bufferService.rows),L._selectionContainer=document.createElement("div"),L._selectionContainer.classList.add("xterm-selection"),L._selectionContainer.setAttribute("aria-hidden","true"),L.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},L._updateDimensions(),L._injectCss(),L._rowFactory=new c.DomRendererRowFactory(document,L._optionsService,L._colors),L._element.classList.add("xterm-dom-renderer-owner-"+L._terminalClass),L._screenElement.appendChild(L._rowContainer),L._screenElement.appendChild(L._selectionContainer),L._linkifier.onShowLinkUnderline(function(F){return L._onLinkHover(F)}),L._linkifier.onHideLinkUnderline(function(F){return L._onLinkLeave(F)}),L._linkifier2.onShowLinkUnderline(function(F){return L._onLinkHover(F)}),L._linkifier2.onHideLinkUnderline(function(F){return L._onLinkLeave(F)}),L}return g(A,h),Object.defineProperty(A.prototype,"onRequestRedraw",{get:function(){return new r.EventEmitter().event},enumerable:!1,configurable:!0}),A.prototype.dispose=function(){this._element.classList.remove("xterm-dom-renderer-owner-"+this._terminalClass),e.removeElementFromParent(this._rowContainer,this._selectionContainer,this._themeStyleElement,this._dimensionsStyleElement),h.prototype.dispose.call(this)},A.prototype._updateDimensions=function(){this.dimensions.scaledCharWidth=this._charSizeService.width*window.devicePixelRatio,this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharLeft=0,this.dimensions.scaledCharTop=0,this.dimensions.scaledCanvasWidth=this.dimensions.scaledCellWidth*this._bufferService.cols,this.dimensions.scaledCanvasHeight=this.dimensions.scaledCellHeight*this._bufferService.rows,this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols,this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows;for(var v=0,w=this._rowElements;vw;)this._rowContainer.removeChild(this._rowElements.pop())},A.prototype.onResize=function(v,w){this._refreshRowElements(v,w),this._updateDimensions()},A.prototype.onCharSizeChanged=function(){this._updateDimensions()},A.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},A.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},A.prototype.onSelectionChanged=function(v,w,b){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(v&&w){var E=v[1]-this._bufferService.buffer.ydisp,T=w[1]-this._bufferService.buffer.ydisp,_=Math.max(E,0),x=Math.min(T,this._bufferService.rows-1);if(!(_>=this._bufferService.rows||x<0)){var C=document.createDocumentFragment();if(b)C.appendChild(this._createSelectionElement(_,v[0],w[0],x-_+1));else{var I=E===_?v[0]:0,L=_===x?w[0]:this._bufferService.cols;C.appendChild(this._createSelectionElement(_,I,L));var F=x-_-1;if(C.appendChild(this._createSelectionElement(_+1,0,this._bufferService.cols,F)),_!==x){var B=T===x?w[0]:this._bufferService.cols;C.appendChild(this._createSelectionElement(x,0,B))}}this._selectionContainer.appendChild(C)}}},A.prototype._createSelectionElement=function(v,w,b,E){E===void 0&&(E=1);var T=document.createElement("div");return T.style.height=E*this.dimensions.actualCellHeight+"px",T.style.top=v*this.dimensions.actualCellHeight+"px",T.style.left=w*this.dimensions.actualCellWidth+"px",T.style.width=this.dimensions.actualCellWidth*(b-w)+"px",T},A.prototype.onCursorMove=function(){},A.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},A.prototype.clear=function(){for(var v=0,w=this._rowElements;v=T&&(v=0,b++)}},A=f([d(6,i.ICharSizeService),d(7,o.IOptionsService),d(8,o.IBufferService)],A)}(n.Disposable);p.DomRenderer=u},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.DomRendererRowFactory=p.CURSOR_STYLE_UNDERLINE_CLASS=p.CURSOR_STYLE_BAR_CLASS=p.CURSOR_STYLE_BLOCK_CLASS=p.CURSOR_BLINK_CLASS=p.CURSOR_CLASS=p.UNDERLINE_CLASS=p.ITALIC_CLASS=p.DIM_CLASS=p.BOLD_CLASS=void 0;var m=S(9),g=S(3),f=S(4),d=S(10);p.BOLD_CLASS="xterm-bold",p.DIM_CLASS="xterm-dim",p.ITALIC_CLASS="xterm-italic",p.UNDERLINE_CLASS="xterm-underline",p.CURSOR_CLASS="xterm-cursor",p.CURSOR_BLINK_CLASS="xterm-cursor-blink",p.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",p.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",p.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var c=function(){function n(i,o,r){this._document=i,this._optionsService=o,this._colors=r,this._workCell=new f.CellData}return n.prototype.setColors=function(i){this._colors=i},n.prototype.createRow=function(i,o,r,l,e,s,u){for(var h=this._document.createDocumentFragment(),A=0,v=Math.min(i.length,u)-1;v>=0;v--)if(i.loadCell(v,this._workCell).getCode()!==g.NULL_CELL_CODE||o&&v===l){A=v+1;break}for(v=0;v1&&(b.style.width=s*w+"px"),o&&v===l)switch(b.classList.add(p.CURSOR_CLASS),e&&b.classList.add(p.CURSOR_BLINK_CLASS),r){case"bar":b.classList.add(p.CURSOR_STYLE_BAR_CLASS);break;case"underline":b.classList.add(p.CURSOR_STYLE_UNDERLINE_CLASS);break;default:b.classList.add(p.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&b.classList.add(p.BOLD_CLASS),this._workCell.isItalic()&&b.classList.add(p.ITALIC_CLASS),this._workCell.isDim()&&b.classList.add(p.DIM_CLASS),this._workCell.isUnderline()&&b.classList.add(p.UNDERLINE_CLASS),this._workCell.isInvisible()?b.textContent=g.WHITESPACE_CELL_CHAR:b.textContent=this._workCell.getChars()||g.WHITESPACE_CELL_CHAR;var E=this._workCell.getFgColor(),T=this._workCell.getFgColorMode(),_=this._workCell.getBgColor(),x=this._workCell.getBgColorMode(),C=!!this._workCell.isInverse();if(C){var I=E;E=_,_=I;var L=T;T=x,x=L}switch(T){case 16777216:case 33554432:this._workCell.isBold()&&E<8&&this._optionsService.options.drawBoldTextInBrightColors&&(E+=8),this._applyMinimumContrast(b,this._colors.background,this._colors.ansi[E])||b.classList.add("xterm-fg-"+E);break;case 50331648:var F=d.rgba.toColor(E>>16&255,E>>8&255,255&E);this._applyMinimumContrast(b,this._colors.background,F)||this._addStyle(b,"color:#"+a(E.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(b,this._colors.background,this._colors.foreground)||C&&b.classList.add("xterm-fg-"+m.INVERTED_DEFAULT_COLOR)}switch(x){case 16777216:case 33554432:b.classList.add("xterm-bg-"+_);break;case 50331648:this._addStyle(b,"background-color:#"+a(_.toString(16),"0",6));break;case 0:default:C&&b.classList.add("xterm-bg-"+m.INVERTED_DEFAULT_COLOR)}h.appendChild(b)}}return h},n.prototype._applyMinimumContrast=function(i,o,r){if(this._optionsService.options.minimumContrastRatio===1)return!1;var l=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return l===void 0&&(l=d.color.ensureContrastRatio(o,r,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,l!=null?l:null)),!!l&&(this._addStyle(i,"color:"+l.css),!0)},n.prototype._addStyle=function(i,o){i.setAttribute("style",""+(i.getAttribute("style")||"")+o+";")},n}();function a(n,i,o){for(;n.length"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};p.evaluateKeyboardEvent=function(f,d,c,a){var n={type:0,cancel:!1,key:void 0},i=(f.shiftKey?1:0)|(f.altKey?2:0)|(f.ctrlKey?4:0)|(f.metaKey?8:0);switch(f.keyCode){case 0:f.key==="UIKeyInputUpArrow"?n.key=d?m.C0.ESC+"OA":m.C0.ESC+"[A":f.key==="UIKeyInputLeftArrow"?n.key=d?m.C0.ESC+"OD":m.C0.ESC+"[D":f.key==="UIKeyInputRightArrow"?n.key=d?m.C0.ESC+"OC":m.C0.ESC+"[C":f.key==="UIKeyInputDownArrow"&&(n.key=d?m.C0.ESC+"OB":m.C0.ESC+"[B");break;case 8:if(f.shiftKey){n.key=m.C0.BS;break}if(f.altKey){n.key=m.C0.ESC+m.C0.DEL;break}n.key=m.C0.DEL;break;case 9:if(f.shiftKey){n.key=m.C0.ESC+"[Z";break}n.key=m.C0.HT,n.cancel=!0;break;case 13:n.key=f.altKey?m.C0.ESC+m.C0.CR:m.C0.CR,n.cancel=!0;break;case 27:n.key=m.C0.ESC,f.altKey&&(n.key=m.C0.ESC+m.C0.ESC),n.cancel=!0;break;case 37:if(f.metaKey)break;i?(n.key=m.C0.ESC+"[1;"+(i+1)+"D",n.key===m.C0.ESC+"[1;3D"&&(n.key=m.C0.ESC+(c?"b":"[1;5D"))):n.key=d?m.C0.ESC+"OD":m.C0.ESC+"[D";break;case 39:if(f.metaKey)break;i?(n.key=m.C0.ESC+"[1;"+(i+1)+"C",n.key===m.C0.ESC+"[1;3C"&&(n.key=m.C0.ESC+(c?"f":"[1;5C"))):n.key=d?m.C0.ESC+"OC":m.C0.ESC+"[C";break;case 38:if(f.metaKey)break;i?(n.key=m.C0.ESC+"[1;"+(i+1)+"A",c||n.key!==m.C0.ESC+"[1;3A"||(n.key=m.C0.ESC+"[1;5A")):n.key=d?m.C0.ESC+"OA":m.C0.ESC+"[A";break;case 40:if(f.metaKey)break;i?(n.key=m.C0.ESC+"[1;"+(i+1)+"B",c||n.key!==m.C0.ESC+"[1;3B"||(n.key=m.C0.ESC+"[1;5B")):n.key=d?m.C0.ESC+"OB":m.C0.ESC+"[B";break;case 45:f.shiftKey||f.ctrlKey||(n.key=m.C0.ESC+"[2~");break;case 46:n.key=i?m.C0.ESC+"[3;"+(i+1)+"~":m.C0.ESC+"[3~";break;case 36:n.key=i?m.C0.ESC+"[1;"+(i+1)+"H":d?m.C0.ESC+"OH":m.C0.ESC+"[H";break;case 35:n.key=i?m.C0.ESC+"[1;"+(i+1)+"F":d?m.C0.ESC+"OF":m.C0.ESC+"[F";break;case 33:f.shiftKey?n.type=2:n.key=m.C0.ESC+"[5~";break;case 34:f.shiftKey?n.type=3:n.key=m.C0.ESC+"[6~";break;case 112:n.key=i?m.C0.ESC+"[1;"+(i+1)+"P":m.C0.ESC+"OP";break;case 113:n.key=i?m.C0.ESC+"[1;"+(i+1)+"Q":m.C0.ESC+"OQ";break;case 114:n.key=i?m.C0.ESC+"[1;"+(i+1)+"R":m.C0.ESC+"OR";break;case 115:n.key=i?m.C0.ESC+"[1;"+(i+1)+"S":m.C0.ESC+"OS";break;case 116:n.key=i?m.C0.ESC+"[15;"+(i+1)+"~":m.C0.ESC+"[15~";break;case 117:n.key=i?m.C0.ESC+"[17;"+(i+1)+"~":m.C0.ESC+"[17~";break;case 118:n.key=i?m.C0.ESC+"[18;"+(i+1)+"~":m.C0.ESC+"[18~";break;case 119:n.key=i?m.C0.ESC+"[19;"+(i+1)+"~":m.C0.ESC+"[19~";break;case 120:n.key=i?m.C0.ESC+"[20;"+(i+1)+"~":m.C0.ESC+"[20~";break;case 121:n.key=i?m.C0.ESC+"[21;"+(i+1)+"~":m.C0.ESC+"[21~";break;case 122:n.key=i?m.C0.ESC+"[23;"+(i+1)+"~":m.C0.ESC+"[23~";break;case 123:n.key=i?m.C0.ESC+"[24;"+(i+1)+"~":m.C0.ESC+"[24~";break;default:if(!f.ctrlKey||f.shiftKey||f.altKey||f.metaKey)if(c&&!a||!f.altKey||f.metaKey)c&&!f.altKey&&!f.ctrlKey&&f.metaKey?f.keyCode===65&&(n.type=1):f.key&&!f.ctrlKey&&!f.altKey&&!f.metaKey&&f.keyCode>=48&&f.key.length===1?n.key=f.key:f.key&&f.ctrlKey&&f.key==="_"&&(n.key=m.C0.US);else{var o=g[f.keyCode],r=o&&o[f.shiftKey?1:0];if(r)n.key=m.C0.ESC+r;else if(f.keyCode>=65&&f.keyCode<=90){var l=f.ctrlKey?f.keyCode-64:f.keyCode+32;n.key=m.C0.ESC+String.fromCharCode(l)}}else f.keyCode>=65&&f.keyCode<=90?n.key=String.fromCharCode(f.keyCode-64):f.keyCode===32?n.key=m.C0.NUL:f.keyCode>=51&&f.keyCode<=55?n.key=String.fromCharCode(f.keyCode-51+27):f.keyCode===56?n.key=m.C0.DEL:f.keyCode===219?n.key=m.C0.ESC:f.keyCode===220?n.key=m.C0.FS:f.keyCode===221&&(n.key=m.C0.GS)}return n}},function(y,p,S){"use strict";var m,g=this&&this.__extends||(m=function(u,h){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,v){A.__proto__=v}||function(A,v){for(var w in v)v.hasOwnProperty(w)&&(A[w]=v[w])})(u,h)},function(s,u){function h(){this.constructor=s}m(s,u),s.prototype=u===null?Object.create(u):(h.prototype=u.prototype,new h)}),f=this&&this.__decorate||function(s,u,h,A){var v,w=arguments.length,b=w<3?u:A===null?A=Object.getOwnPropertyDescriptor(u,h):A;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")b=Reflect.decorate(s,u,h,A);else for(var E=s.length-1;E>=0;E--)(v=s[E])&&(b=(w<3?v(b):w>3?v(u,h,b):v(u,h))||b);return w>3&&b&&Object.defineProperty(u,h,b),b},d=this&&this.__param||function(s,u){return function(h,A){u(h,A,s)}};Object.defineProperty(p,"__esModule",{value:!0}),p.RenderService=void 0;var c=S(31),a=S(0),n=S(2),i=S(32),o=S(7),r=S(1),l=S(5),e=function(s){function u(h,A,v,w,b,E){var T=s.call(this)||this;if(T._renderer=h,T._rowCount=A,T._isPaused=!1,T._needsFullRefresh=!1,T._isNextRenderRedrawOnly=!0,T._needsSelectionRefresh=!1,T._canvasWidth=0,T._canvasHeight=0,T._selectionState={start:void 0,end:void 0,columnSelectMode:!1},T._onDimensionsChange=new a.EventEmitter,T._onRender=new a.EventEmitter,T._onRefreshRequest=new a.EventEmitter,T.register({dispose:function(){return T._renderer.dispose()}}),T._renderDebouncer=new c.RenderDebouncer(function(x,C){return T._renderRows(x,C)}),T.register(T._renderDebouncer),T._screenDprMonitor=new i.ScreenDprMonitor,T._screenDprMonitor.setListener(function(){return T.onDevicePixelRatioChange()}),T.register(T._screenDprMonitor),T.register(E.onResize(function(x){return T._fullRefresh()})),T.register(w.onOptionChange(function(){return T._renderer.onOptionsChanged()})),T.register(b.onCharSizeChange(function(){return T.onCharSizeChanged()})),T._renderer.onRequestRedraw(function(x){return T.refreshRows(x.start,x.end,!0)}),T.register(o.addDisposableDomListener(window,"resize",function(){return T.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var _=new IntersectionObserver(function(x){return T._onIntersectionChange(x[x.length-1])},{threshold:0});_.observe(v),T.register({dispose:function(){return _.disconnect()}})}return T}return g(u,s),Object.defineProperty(u.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onRenderedBufferChange",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!1,configurable:!0}),u.prototype._onIntersectionChange=function(h){this._isPaused=h.intersectionRatio===0,!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},u.prototype.refreshRows=function(h,A,v){v===void 0&&(v=!1),this._isPaused?this._needsFullRefresh=!0:(v||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(h,A,this._rowCount))},u.prototype._renderRows=function(h,A){this._renderer.renderRows(h,A),this._needsSelectionRefresh&&(this._renderer.onSelectionChanged(this._selectionState.start,this._selectionState.end,this._selectionState.columnSelectMode),this._needsSelectionRefresh=!1),this._isNextRenderRedrawOnly||this._onRender.fire({start:h,end:A}),this._isNextRenderRedrawOnly=!0},u.prototype.resize=function(h,A){this._rowCount=A,this._fireOnCanvasResize()},u.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},u.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},u.prototype.dispose=function(){s.prototype.dispose.call(this)},u.prototype.setRenderer=function(h){var A=this;this._renderer.dispose(),this._renderer=h,this._renderer.onRequestRedraw(function(v){return A.refreshRows(v.start,v.end,!0)}),this._needsSelectionRefresh=!0,this._fullRefresh()},u.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},u.prototype.setColors=function(h){this._renderer.setColors(h),this._fullRefresh()},u.prototype.onDevicePixelRatioChange=function(){this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},u.prototype.onResize=function(h,A){this._renderer.onResize(h,A),this._fullRefresh()},u.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},u.prototype.onBlur=function(){this._renderer.onBlur()},u.prototype.onFocus=function(){this._renderer.onFocus()},u.prototype.onSelectionChanged=function(h,A,v){this._selectionState.start=h,this._selectionState.end=A,this._selectionState.columnSelectMode=v,this._renderer.onSelectionChanged(h,A,v)},u.prototype.onCursorMove=function(){this._renderer.onCursorMove()},u.prototype.clear=function(){this._renderer.clear()},u.prototype.registerCharacterJoiner=function(h){return this._renderer.registerCharacterJoiner(h)},u.prototype.deregisterCharacterJoiner=function(h){return this._renderer.deregisterCharacterJoiner(h)},u=f([d(3,r.IOptionsService),d(4,l.ICharSizeService),d(5,r.IBufferService)],u)}(n.Disposable);p.RenderService=e},function(y,p,S){"use strict";var m=this&&this.__decorate||function(n,i,o,r){var l,e=arguments.length,s=e<3?i:r===null?r=Object.getOwnPropertyDescriptor(i,o):r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(n,i,o,r);else for(var u=n.length-1;u>=0;u--)(l=n[u])&&(s=(e<3?l(s):e>3?l(i,o,s):l(i,o))||s);return e>3&&s&&Object.defineProperty(i,o,s),s},g=this&&this.__param||function(n,i){return function(o,r){i(o,r,n)}};Object.defineProperty(p,"__esModule",{value:!0}),p.CharSizeService=void 0;var f=S(1),d=S(0),c=function(){function n(i,o,r){this._optionsService=r,this.width=0,this.height=0,this._onCharSizeChange=new d.EventEmitter,this._measureStrategy=new a(i,o,this._optionsService)}return Object.defineProperty(n.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!1,configurable:!0}),n.prototype.measure=function(){var i=this._measureStrategy.measure();i.width===this.width&&i.height===this.height||(this.width=i.width,this.height=i.height,this._onCharSizeChange.fire())},n=m([g(2,f.IOptionsService)],n)}();p.CharSizeService=c;var a=function(){function n(i,o,r){this._document=i,this._parentElement=o,this._optionsService=r,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}return n.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var i=this._measureElement.getBoundingClientRect();return i.width!==0&&i.height!==0&&(this._result.width=i.width,this._result.height=Math.ceil(i.height)),this._result},n}()},function(y,p,S){"use strict";var m=this&&this.__decorate||function(a,n,i,o){var r,l=arguments.length,e=l<3?n:o===null?o=Object.getOwnPropertyDescriptor(n,i):o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")e=Reflect.decorate(a,n,i,o);else for(var s=a.length-1;s>=0;s--)(r=a[s])&&(e=(l<3?r(e):l>3?r(n,i,e):r(n,i))||e);return l>3&&e&&Object.defineProperty(n,i,e),e},g=this&&this.__param||function(a,n){return function(i,o){n(i,o,a)}};Object.defineProperty(p,"__esModule",{value:!0}),p.MouseService=void 0;var f=S(5),d=S(30),c=function(){function a(n,i){this._renderService=n,this._charSizeService=i}return a.prototype.getCoords=function(n,i,o,r,l){return d.getCoords(n,i,o,r,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,l)},a.prototype.getRawByteCoords=function(n,i,o,r){var l=this.getCoords(n,i,o,r);return d.getRawByteCoords(l)},a=m([g(0,f.IRenderService),g(1,f.ICharSizeService)],a)}();p.MouseService=c},function(y,p,S){"use strict";var m,g=this&&this.__extends||(m=function(l,e){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var h in u)u.hasOwnProperty(h)&&(s[h]=u[h])})(l,e)},function(r,l){function e(){this.constructor=r}m(r,l),r.prototype=l===null?Object.create(l):(e.prototype=l.prototype,new e)}),f=this&&this.__decorate||function(r,l,e,s){var u,h=arguments.length,A=h<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,e):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")A=Reflect.decorate(r,l,e,s);else for(var v=r.length-1;v>=0;v--)(u=r[v])&&(A=(h<3?u(A):h>3?u(l,e,A):u(l,e))||A);return h>3&&A&&Object.defineProperty(l,e,A),A},d=this&&this.__param||function(r,l){return function(e,s){l(e,s,r)}};Object.defineProperty(p,"__esModule",{value:!0}),p.Linkifier2=void 0;var c=S(1),a=S(0),n=S(2),i=S(7),o=function(r){function l(e){var s=r.call(this)||this;return s._bufferService=e,s._linkProviders=[],s._linkCacheDisposables=[],s._isMouseOut=!0,s._activeLine=-1,s._onShowLinkUnderline=s.register(new a.EventEmitter),s._onHideLinkUnderline=s.register(new a.EventEmitter),s.register(n.getDisposeArrayDisposable(s._linkCacheDisposables)),s}return g(l,r),Object.defineProperty(l.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),l.prototype.registerLinkProvider=function(e){var s=this;return this._linkProviders.push(e),{dispose:function(){var h=s._linkProviders.indexOf(e);h!==-1&&s._linkProviders.splice(h,1)}}},l.prototype.attachToDom=function(e,s,u){var h=this;this._element=e,this._mouseService=s,this._renderService=u,this.register(i.addDisposableDomListener(this._element,"mouseleave",function(){h._isMouseOut=!0,h._clearCurrentLink()})),this.register(i.addDisposableDomListener(this._element,"mousemove",this._onMouseMove.bind(this))),this.register(i.addDisposableDomListener(this._element,"click",this._onClick.bind(this)))},l.prototype._onMouseMove=function(e){if(this._lastMouseEvent=e,this._element&&this._mouseService){var s=this._positionFromMouseEvent(e,this._element,this._mouseService);if(s){this._isMouseOut=!1;for(var u=e.composedPath(),h=0;he?this._bufferService.cols:w.link.range.end.x,T=b;T<=E;T++){if(u.has(T)){A.splice(v--,1);break}u.add(T)}}},l.prototype._checkLinkProviderResult=function(e,s,u){var h,A=this;if(!this._activeProviderReplies)return u;for(var v=this._activeProviderReplies.get(e),w=!1,b=0;b=e&&this._currentLink.link.range.end.y<=s)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,n.disposeArray(this._linkCacheDisposables))},l.prototype._handleNewLink=function(e){var s=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var u=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);u&&this._linkAtPosition(e.link,u)&&(this._currentLink=e,this._currentLink.state={decorations:{underline:e.link.decorations===void 0||e.link.decorations.underline,pointerCursor:e.link.decorations===void 0||e.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,e.link,this._lastMouseEvent),e.link.decorations={},Object.defineProperties(e.link.decorations,{pointerCursor:{get:function(){var A,v;return(v=(A=s._currentLink)===null||A===void 0?void 0:A.state)===null||v===void 0?void 0:v.decorations.pointerCursor},set:function(A){var v,w;((v=s._currentLink)===null||v===void 0?void 0:v.state)&&s._currentLink.state.decorations.pointerCursor!==A&&(s._currentLink.state.decorations.pointerCursor=A,s._currentLink.state.isHovered&&((w=s._element)===null||w===void 0||w.classList.toggle("xterm-cursor-pointer",A)))}},underline:{get:function(){var A,v;return(v=(A=s._currentLink)===null||A===void 0?void 0:A.state)===null||v===void 0?void 0:v.decorations.underline},set:function(A){var v,w,b;((v=s._currentLink)===null||v===void 0?void 0:v.state)&&((b=(w=s._currentLink)===null||w===void 0?void 0:w.state)===null||b===void 0?void 0:b.decorations.underline)!==A&&(s._currentLink.state.decorations.underline=A,s._currentLink.state.isHovered&&s._fireUnderlineEvent(e.link,A))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedBufferChange(function(h){var A=h.start===0?0:h.start+1+s._bufferService.buffer.ydisp;s._clearCurrentLink(A,h.end+1+s._bufferService.buffer.ydisp)})))}},l.prototype._linkHover=function(e,s,u){var h;((h=this._currentLink)===null||h===void 0?void 0:h.state)&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(s,!0),this._currentLink.state.decorations.pointerCursor&&e.classList.add("xterm-cursor-pointer")),s.hover&&s.hover(u,s.text)},l.prototype._fireUnderlineEvent=function(e,s){var u=e.range,h=this._bufferService.buffer.ydisp,A=this._createLinkUnderlineEvent(u.start.x-1,u.start.y-h-1,u.end.x,u.end.y-h-1,void 0);(s?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(A)},l.prototype._linkLeave=function(e,s,u){var h;((h=this._currentLink)===null||h===void 0?void 0:h.state)&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(s,!1),this._currentLink.state.decorations.pointerCursor&&e.classList.remove("xterm-cursor-pointer")),s.leave&&s.leave(u,s.text)},l.prototype._linkAtPosition=function(e,s){var u=e.range.start.y===e.range.end.y,h=e.range.start.ys.y;return(u&&e.range.start.x<=s.x&&e.range.end.x>=s.x||h&&e.range.end.x>=s.x||A&&e.range.start.x<=s.x||h&&A)&&e.range.start.y<=s.y&&e.range.end.y>=s.y},l.prototype._positionFromMouseEvent=function(e,s,u){var h=u.getCoords(e,s,this._bufferService.cols,this._bufferService.rows);if(h)return{x:h[0],y:h[1]+this._bufferService.buffer.ydisp}},l.prototype._createLinkUnderlineEvent=function(e,s,u,h,A){return{x1:e,y1:s,x2:u,y2:h,cols:this._bufferService.cols,fg:A}},l=f([d(0,c.IBufferService)],l)}(n.Disposable);p.Linkifier2=o},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.CoreBrowserService=void 0;var m=function(){function g(f){this._textarea=f}return Object.defineProperty(g.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),g}();p.CoreBrowserService=m},function(y,p,S){"use strict";var m,g=this&&this.__extends||(m=function(E,T){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,x){_.__proto__=x}||function(_,x){for(var C in x)x.hasOwnProperty(C)&&(_[C]=x[C])})(E,T)},function(b,E){function T(){this.constructor=b}m(b,E),b.prototype=E===null?Object.create(E):(T.prototype=E.prototype,new T)});Object.defineProperty(p,"__esModule",{value:!0}),p.CoreTerminal=void 0;var f=S(2),d=S(1),c=S(66),a=S(67),n=S(68),i=S(74),o=S(75),r=S(0),l=S(76),e=S(77),s=S(78),u=S(80),h=S(81),A=S(19),v=S(82),w=function(b){function E(T){var _=b.call(this)||this;return _._onBinary=new r.EventEmitter,_._onData=new r.EventEmitter,_._onLineFeed=new r.EventEmitter,_._onResize=new r.EventEmitter,_._onScroll=new r.EventEmitter,_._instantiationService=new c.InstantiationService,_.optionsService=new i.OptionsService(T),_._instantiationService.setService(d.IOptionsService,_.optionsService),_._bufferService=_.register(_._instantiationService.createInstance(n.BufferService)),_._instantiationService.setService(d.IBufferService,_._bufferService),_._logService=_._instantiationService.createInstance(a.LogService),_._instantiationService.setService(d.ILogService,_._logService),_._coreService=_.register(_._instantiationService.createInstance(o.CoreService,function(){return _.scrollToBottom()})),_._instantiationService.setService(d.ICoreService,_._coreService),_._coreMouseService=_._instantiationService.createInstance(l.CoreMouseService),_._instantiationService.setService(d.ICoreMouseService,_._coreMouseService),_._dirtyRowService=_._instantiationService.createInstance(e.DirtyRowService),_._instantiationService.setService(d.IDirtyRowService,_._dirtyRowService),_.unicodeService=_._instantiationService.createInstance(s.UnicodeService),_._instantiationService.setService(d.IUnicodeService,_.unicodeService),_._charsetService=_._instantiationService.createInstance(u.CharsetService),_._instantiationService.setService(d.ICharsetService,_._charsetService),_._inputHandler=new A.InputHandler(_._bufferService,_._charsetService,_._coreService,_._dirtyRowService,_._logService,_.optionsService,_._coreMouseService,_.unicodeService),_.register(r.forwardEvent(_._inputHandler.onLineFeed,_._onLineFeed)),_.register(_._inputHandler),_.register(r.forwardEvent(_._bufferService.onResize,_._onResize)),_.register(r.forwardEvent(_._coreService.onData,_._onData)),_.register(r.forwardEvent(_._coreService.onBinary,_._onBinary)),_.register(_.optionsService.onOptionChange(function(x){return _._updateOptions(x)})),_._writeBuffer=new v.WriteBuffer(function(x){return _._inputHandler.parse(x)}),_}return g(E,b),Object.defineProperty(E.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),E.prototype.dispose=function(){var T;this._isDisposed||(b.prototype.dispose.call(this),(T=this._windowsMode)===null||T===void 0||T.dispose(),this._windowsMode=void 0)},E.prototype.write=function(T,_){this._writeBuffer.write(T,_)},E.prototype.writeSync=function(T){this._writeBuffer.writeSync(T)},E.prototype.resize=function(T,_){isNaN(T)||isNaN(_)||(T=Math.max(T,n.MINIMUM_COLS),_=Math.max(_,n.MINIMUM_ROWS),this._bufferService.resize(T,_))},E.prototype.scroll=function(T,_){_===void 0&&(_=!1);var x,C=this._bufferService.buffer;(x=this._cachedBlankLine)&&x.length===this.cols&&x.getFg(0)===T.fg&&x.getBg(0)===T.bg||(x=C.getBlankLine(T,_),this._cachedBlankLine=x),x.isWrapped=_;var I=C.ybase+C.scrollTop,L=C.ybase+C.scrollBottom;if(C.scrollTop===0){var F=C.lines.isFull;L===C.lines.length-1?F?C.lines.recycle().copyFrom(x):C.lines.push(x.clone()):C.lines.splice(L+1,0,x.clone()),F?this._bufferService.isUserScrolling&&(C.ydisp=Math.max(C.ydisp-1,0)):(C.ybase++,this._bufferService.isUserScrolling||C.ydisp++)}else{var B=L-I+1;C.lines.shiftElements(I+1,B-1,-1),C.lines.set(L,x.clone())}this._bufferService.isUserScrolling||(C.ydisp=C.ybase),this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom),this._onScroll.fire(C.ydisp)},E.prototype.scrollLines=function(T,_){var x=this._bufferService.buffer;if(T<0){if(x.ydisp===0)return;this._bufferService.isUserScrolling=!0}else T+x.ydisp>=x.ybase&&(this._bufferService.isUserScrolling=!1);var C=x.ydisp;x.ydisp=Math.max(Math.min(x.ydisp+T,x.ybase),0),C!==x.ydisp&&(_||this._onScroll.fire(x.ydisp))},E.prototype.scrollPages=function(T){this.scrollLines(T*(this.rows-1))},E.prototype.scrollToTop=function(){this.scrollLines(-this._bufferService.buffer.ydisp)},E.prototype.scrollToBottom=function(){this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)},E.prototype.scrollToLine=function(T){var _=T-this._bufferService.buffer.ydisp;_!==0&&this.scrollLines(_)},E.prototype.addEscHandler=function(T,_){return this._inputHandler.addEscHandler(T,_)},E.prototype.addDcsHandler=function(T,_){return this._inputHandler.addDcsHandler(T,_)},E.prototype.addCsiHandler=function(T,_){return this._inputHandler.addCsiHandler(T,_)},E.prototype.addOscHandler=function(T,_){return this._inputHandler.addOscHandler(T,_)},E.prototype._setup=function(){this.optionsService.options.windowsMode&&this._enableWindowsMode()},E.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this._coreService.reset(),this._coreMouseService.reset()},E.prototype._updateOptions=function(T){var _;switch(T){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.options.windowsMode?this._enableWindowsMode():((_=this._windowsMode)===null||_===void 0||_.dispose(),this._windowsMode=void 0)}},E.prototype._enableWindowsMode=function(){var T=this;if(!this._windowsMode){var _=[];_.push(this.onLineFeed(h.updateWindowsModeWrappedState.bind(null,this._bufferService))),_.push(this.addCsiHandler({final:"H"},function(){return h.updateWindowsModeWrappedState(T._bufferService),!1})),this._windowsMode={dispose:function(){for(var C=0,I=_;C0?r[0].index:i.length;if(i.length!==A)throw new Error("[createInstance] First service dependency of "+n.name+" at position "+(A+1)+" conflicts with "+i.length+" static arguments");return new(n.bind.apply(n,m([void 0],m(i,l))))},a}();p.InstantiationService=c},function(y,p,S){"use strict";var m=this&&this.__decorate||function(i,o,r,l){var e,s=arguments.length,u=s<3?o:l===null?l=Object.getOwnPropertyDescriptor(o,r):l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")u=Reflect.decorate(i,o,r,l);else for(var h=i.length-1;h>=0;h--)(e=i[h])&&(u=(s<3?e(u):s>3?e(o,r,u):e(o,r))||u);return s>3&&u&&Object.defineProperty(o,r,u),u},g=this&&this.__param||function(i,o){return function(r,l){o(r,l,i)}},f=this&&this.__spreadArrays||function(){for(var i=0,o=0,r=arguments.length;o=0;v--)(u=r[v])&&(A=(h<3?u(A):h>3?u(l,e,A):u(l,e))||A);return h>3&&A&&Object.defineProperty(l,e,A),A},d=this&&this.__param||function(r,l){return function(e,s){l(e,s,r)}};Object.defineProperty(p,"__esModule",{value:!0}),p.BufferService=p.MINIMUM_ROWS=p.MINIMUM_COLS=void 0;var c=S(1),a=S(69),n=S(0),i=S(2);p.MINIMUM_COLS=2,p.MINIMUM_ROWS=1;var o=function(r){function l(e){var s=r.call(this)||this;return s._optionsService=e,s.isUserScrolling=!1,s._onResize=new n.EventEmitter,s.cols=Math.max(e.options.cols,p.MINIMUM_COLS),s.rows=Math.max(e.options.rows,p.MINIMUM_ROWS),s.buffers=new a.BufferSet(e,s),s}return g(l,r),Object.defineProperty(l.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),l.prototype.dispose=function(){r.prototype.dispose.call(this),this.buffers.dispose()},l.prototype.resize=function(e,s){this.cols=e,this.rows=s,this.buffers.resize(e,s),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:e,rows:s})},l.prototype.reset=function(){this.buffers.dispose(),this.buffers=new a.BufferSet(this._optionsService,this),this.isUserScrolling=!1},l=f([d(0,c.IOptionsService)],l)}(i.Disposable);p.BufferService=o},function(y,p,S){"use strict";var m,g=this&&this.__extends||(m=function(n,i){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,r){o.__proto__=r}||function(o,r){for(var l in r)r.hasOwnProperty(l)&&(o[l]=r[l])})(n,i)},function(a,n){function i(){this.constructor=a}m(a,n),a.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(p,"__esModule",{value:!0}),p.BufferSet=void 0;var f=S(70),d=S(0),c=function(a){function n(i,o){var r=a.call(this)||this;return r._onBufferActivate=r.register(new d.EventEmitter),r._normal=new f.Buffer(!0,i,o),r._normal.fillViewportRows(),r._alt=new f.Buffer(!1,i,o),r._activeBuffer=r._normal,r.setupTabStops(),r}return g(n,a),Object.defineProperty(n.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"alt",{get:function(){return this._alt},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"normal",{get:function(){return this._normal},enumerable:!1,configurable:!0}),n.prototype.activateNormalBuffer=function(){this._activeBuffer!==this._normal&&(this._normal.x=this._alt.x,this._normal.y=this._alt.y,this._alt.clear(),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}))},n.prototype.activateAltBuffer=function(i){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(i),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))},n.prototype.resize=function(i,o){this._normal.resize(i,o),this._alt.resize(i,o)},n.prototype.setupTabStops=function(i){this._normal.setupTabStops(i),this._alt.setupTabStops(i)},n}(S(2).Disposable);p.BufferSet=c},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.BufferStringIterator=p.Buffer=p.MAX_BUFFER_SIZE=void 0;var m=S(71),g=S(16),f=S(4),d=S(3),c=S(72),a=S(73),n=S(20),i=S(6);p.MAX_BUFFER_SIZE=4294967295;var o=function(){function l(e,s,u){this._hasScrollback=e,this._optionsService=s,this._bufferService=u,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=g.DEFAULT_ATTR_DATA.clone(),this.savedCharset=n.DEFAULT_CHARSET,this.markers=[],this._nullCell=f.CellData.fromCharData([0,d.NULL_CELL_CHAR,d.NULL_CELL_WIDTH,d.NULL_CELL_CODE]),this._whitespaceCell=f.CellData.fromCharData([0,d.WHITESPACE_CELL_CHAR,d.WHITESPACE_CELL_WIDTH,d.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new m.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return l.prototype.getNullCell=function(e){return e?(this._nullCell.fg=e.fg,this._nullCell.bg=e.bg,this._nullCell.extended=e.extended):(this._nullCell.fg=0,this._nullCell.bg=0,this._nullCell.extended=new i.ExtendedAttrs),this._nullCell},l.prototype.getWhitespaceCell=function(e){return e?(this._whitespaceCell.fg=e.fg,this._whitespaceCell.bg=e.bg,this._whitespaceCell.extended=e.extended):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0,this._whitespaceCell.extended=new i.ExtendedAttrs),this._whitespaceCell},l.prototype.getBlankLine=function(e,s){return new g.BufferLine(this._bufferService.cols,this.getNullCell(e),s)},Object.defineProperty(l.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"isCursorInViewport",{get:function(){var s=this.ybase+this.y-this.ydisp;return s>=0&&sp.MAX_BUFFER_SIZE?p.MAX_BUFFER_SIZE:s},l.prototype.fillViewportRows=function(e){if(this.lines.length===0){e===void 0&&(e=g.DEFAULT_ATTR_DATA);for(var s=this._rows;s--;)this.lines.push(this.getBlankLine(e))}},l.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new m.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},l.prototype.resize=function(e,s){var u=this.getNullCell(g.DEFAULT_ATTR_DATA),h=this._getCorrectBufferLength(s);if(h>this.lines.maxLength&&(this.lines.maxLength=h),this.lines.length>0){if(this._cols0&&this.lines.length<=this.ybase+this.y+v+1?(this.ybase--,v++,this.ydisp>0&&this.ydisp--):this.lines.push(new g.BufferLine(e,u)));else for(w=this._rows;w>s;w--)this.lines.length>s+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(h0&&(this.lines.trimStart(b),this.ybase=Math.max(this.ybase-b,0),this.ydisp=Math.max(this.ydisp-b,0),this.savedY=Math.max(this.savedY-b,0)),this.lines.maxLength=h}this.x=Math.min(this.x,e-1),this.y=Math.min(this.y,s-1),v&&(this.y+=v),this.savedX=Math.min(this.savedX,e-1),this.scrollTop=0}if(this.scrollBottom=s-1,this._isReflowEnabled&&(this._reflow(e,s),this._cols>e))for(A=0;Athis._cols?this._reflowLarger(e,s):this._reflowSmaller(e,s))},l.prototype._reflowLarger=function(e,s){var u=c.reflowLargerGetLinesToRemove(this.lines,this._cols,e,this.ybase+this.y,this.getNullCell(g.DEFAULT_ATTR_DATA));if(u.length>0){var h=c.reflowLargerCreateNewLayout(this.lines,u);c.reflowLargerApplyNewLayout(this.lines,h.layout),this._reflowLargerAdjustViewport(e,s,h.countRemoved)}},l.prototype._reflowLargerAdjustViewport=function(e,s,u){for(var h=this.getNullCell(g.DEFAULT_ATTR_DATA),A=u;A-- >0;)this.ybase===0?(this.y>0&&this.y--,this.lines.length=0;v--){var w=this.lines.get(v);if(!(!w||!w.isWrapped&&w.getTrimmedLength()<=e)){for(var b=[w];w.isWrapped&&v>0;)w=this.lines.get(--v),b.unshift(w);var E=this.ybase+this.y;if(!(E>=v&&E0&&(h.push({start:v+b.length+A,newLines:I}),A+=I.length),b.push.apply(b,I);var B=_.length-1,P=_[B];P===0&&(P=_[--B]);for(var H=b.length-x-1,z=T;H>=0;){var M=Math.min(z,P);if(b[B].copyCellsFrom(b[H],z-M,P-M,M,!0),(P-=M)===0&&(P=_[--B]),(z-=M)===0){H--;var U=Math.max(H,0);z=c.getWrappedLineTrimmedLength(b,U,this._cols)}}for(L=0;L0;)this.ybase===0?this.y0){var K=[],j=[];for(L=0;L=0;L--)if(J&&J.start>W+de){for(var G=J.newLines.length-1;G>=0;G--)this.lines.set(L--,J.newLines[G]);L++,K.push({index:W+1,amount:J.newLines.length}),de+=J.newLines.length,J=h[++X]}else this.lines.set(L,j[W--]);var ae=0;for(L=K.length-1;L>=0;L--)K[L].index+=ae,this.lines.onInsertEmitter.fire(K[L]),ae+=K[L].amount;var Ae=Math.max(0,V+A-this.lines.maxLength);Ae>0&&this.lines.onTrimEmitter.fire(Ae)}},l.prototype.stringIndexToBufferIndex=function(e,s,u){for(u===void 0&&(u=!1);s;){var h=this.lines.get(e);if(!h)return[-1,-1];for(var A=u?h.getTrimmedLength():h.length,v=0;v0&&this.lines.get(s).isWrapped;)s--;for(;u+10;);return e>=this._cols?this._cols-1:e<0?0:e},l.prototype.nextStop=function(e){for(e==null&&(e=this.x);!this.tabs[++e]&&e=this._cols?this._cols-1:e<0?0:e},l.prototype.addMarker=function(e){var s=this,u=new a.Marker(e);return this.markers.push(u),u.register(this.lines.onTrim(function(h){u.line-=h,u.line<0&&u.dispose()})),u.register(this.lines.onInsert(function(h){u.line>=h.index&&(u.line+=h.amount)})),u.register(this.lines.onDelete(function(h){u.line>=h.index&&u.lineh.index&&(u.line-=h.amount)})),u.register(u.onDispose(function(){return s._removeMarker(u)})),u},l.prototype._removeMarker=function(e){this.markers.splice(this.markers.indexOf(e),1)},l.prototype.iterator=function(e,s,u,h,A){return new r(this,e,s,u,h,A)},l}();p.Buffer=o;var r=function(){function l(e,s,u,h,A,v){u===void 0&&(u=0),h===void 0&&(h=e.lines.length),A===void 0&&(A=0),v===void 0&&(v=0),this._buffer=e,this._trimRight=s,this._startIndex=u,this._endIndex=h,this._startOverscan=A,this._endOverscan=v,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return l.prototype.hasNext=function(){return this._currentthis._endIndex+this._endOverscan&&(e.last=this._endIndex+this._endOverscan),e.first=Math.max(e.first,0),e.last=Math.min(e.last,this._buffer.lines.length);for(var s="",u=e.first;u<=e.last;++u)s+=this._buffer.translateBufferLineToString(u,this._trimRight);return this._current=e.last+1,{range:e,content:s}},l}();p.BufferStringIterator=r},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.CircularList=void 0;var m=S(0),g=function(){function f(d){this._maxLength=d,this.onDeleteEmitter=new m.EventEmitter,this.onInsertEmitter=new m.EventEmitter,this.onTrimEmitter=new m.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(f.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"maxLength",{get:function(){return this._maxLength},set:function(c){if(this._maxLength!==c){for(var a=new Array(c),n=0;nthis._length)for(var a=this._length;a=d;i--)this._array[this._getCyclicIndex(i+a.length)]=this._array[this._getCyclicIndex(i)];for(i=0;ithis._maxLength){var o=this._length+a.length-this._maxLength;this._startIndex+=o,this._length=this._maxLength,this.onTrimEmitter.fire(o)}else this._length+=a.length},f.prototype.trimStart=function(d){d>this._length&&(d=this._length),this._startIndex+=d,this._length-=d,this.onTrimEmitter.fire(d)},f.prototype.shiftElements=function(d,c,a){if(!(c<=0)){if(d<0||d>=this._length)throw new Error("start argument out of range");if(d+a<0)throw new Error("Cannot shift elements in list beyond index 0");if(a>0){for(var n=c-1;n>=0;n--)this.set(d+n+a,this.get(d+n));var i=d+c+a-this._length;if(i>0)for(this._length+=i;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(n=0;n=i&&c0&&(T>e||l[T].getTrimmedLength()===0);T--)E++;E>0&&(n.push(i+l.length-E),n.push(E)),i+=l.length-1}}}return n},p.reflowLargerCreateNewLayout=function(g,f){for(var d=[],c=0,a=f[c],n=0,i=0;ir&&(n-=r,i++);var l=g[i].getWidth(n-1)===2;l&&n--;var e=l?d-1:d;c.push(e),o+=e}return c},p.getWrappedLineTrimmedLength=m},function(y,p,S){"use strict";var m,g=this&&this.__extends||(m=function(a,n){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var r in o)o.hasOwnProperty(r)&&(i[r]=o[r])})(a,n)},function(c,a){function n(){this.constructor=c}m(c,a),c.prototype=a===null?Object.create(a):(n.prototype=a.prototype,new n)});Object.defineProperty(p,"__esModule",{value:!0}),p.Marker=void 0;var f=S(0),d=function(c){function a(n){var i=c.call(this)||this;return i.line=n,i._id=a._nextId++,i.isDisposed=!1,i._onDispose=new f.EventEmitter,i}return g(a,c),Object.defineProperty(a.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),a.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},a._nextId=1,a}(S(2).Disposable);p.Marker=d},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.OptionsService=p.DEFAULT_OPTIONS=p.DEFAULT_BELL_SOUND=void 0;var m=S(0),g=S(11),f=S(33);p.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",p.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:p.DEFAULT_BELL_SOUND,bellStyle:"none",drawBoldTextInBrightColors:!0,fastScrollModifier:"alt",fastScrollSensitivity:5,fontFamily:"courier-new, courier, monospace",fontSize:15,fontWeight:"normal",fontWeightBold:"bold",lineHeight:1,linkTooltipHoverDuration:500,letterSpacing:0,logLevel:"info",scrollback:1e3,scrollSensitivity:1,screenReaderMode:!1,macOptionIsMeta:!1,macOptionClickForcesSelection:!1,minimumContrastRatio:1,disableStdin:!1,allowProposedApi:!0,allowTransparency:!1,tabStopWidth:8,theme:{},rightClickSelectsWord:g.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",convertEol:!1,termName:"xterm",cancelEvents:!1});var d=["cols","rows"],c=function(){function a(n){this._onOptionChange=new m.EventEmitter,this.options=f.clone(p.DEFAULT_OPTIONS);for(var i=0,o=Object.keys(n);i=0;b--)(A=e[b])&&(w=(v<3?A(w):v>3?A(s,u,w):A(s,u))||w);return v>3&&w&&Object.defineProperty(s,u,w),w},d=this&&this.__param||function(e,s){return function(u,h){s(u,h,e)}};Object.defineProperty(p,"__esModule",{value:!0}),p.CoreService=void 0;var c=S(1),a=S(0),n=S(33),i=S(2),o=Object.freeze({insertMode:!1}),r=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),l=function(e){function s(u,h,A,v){var w=e.call(this)||this;return w._bufferService=h,w._logService=A,w._optionsService=v,w.isCursorInitialized=!1,w.isCursorHidden=!1,w._onData=w.register(new a.EventEmitter),w._onUserInput=w.register(new a.EventEmitter),w._onBinary=w.register(new a.EventEmitter),w._scrollToBottom=u,w.register({dispose:function(){return w._scrollToBottom=void 0}}),w.modes=n.clone(o),w.decPrivateModes=n.clone(r),w}return g(s,e),Object.defineProperty(s.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),s.prototype.reset=function(){this.modes=n.clone(o),this.decPrivateModes=n.clone(r)},s.prototype.triggerDataEvent=function(u,h){if(h===void 0&&(h=!1),!this._optionsService.options.disableStdin){var A=this._bufferService.buffer;A.ybase!==A.ydisp&&this._scrollToBottom(),h&&this._onUserInput.fire(),this._logService.debug('sending data "'+u+'"',function(){return u.split("").map(function(v){return v.charCodeAt(0)})}),this._onData.fire(u)}},s.prototype.triggerBinaryEvent=function(u){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+u+'"',function(){return u.split("").map(function(h){return h.charCodeAt(0)})}),this._onBinary.fire(u))},s=f([d(1,c.IBufferService),d(2,c.ILogService),d(3,c.IOptionsService)],s)}(i.Disposable);p.CoreService=l},function(y,p,S){"use strict";var m=this&&this.__decorate||function(r,l,e,s){var u,h=arguments.length,A=h<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,e):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")A=Reflect.decorate(r,l,e,s);else for(var v=r.length-1;v>=0;v--)(u=r[v])&&(A=(h<3?u(A):h>3?u(l,e,A):u(l,e))||A);return h>3&&A&&Object.defineProperty(l,e,A),A},g=this&&this.__param||function(r,l){return function(e,s){l(e,s,r)}};Object.defineProperty(p,"__esModule",{value:!0}),p.CoreMouseService=void 0;var f=S(1),d=S(0),c={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(l){return l.button!==4&&l.action===1&&(l.ctrl=!1,l.alt=!1,l.shift=!1,!0)}},VT200:{events:19,restrict:function(l){return l.action!==32}},DRAG:{events:23,restrict:function(l){return l.action!==32||l.button!==3}},ANY:{events:31,restrict:function(l){return!0}}};function a(r,l){var e=(r.ctrl?16:0)|(r.shift?4:0)|(r.alt?8:0);return r.button===4?(e|=64,e|=r.action):(e|=3&r.button,4&r.button&&(e|=64),8&r.button&&(e|=128),r.action===32?e|=32:r.action!==0||l||(e|=3)),e}var n=String.fromCharCode,i={DEFAULT:function(l){var e=[a(l,!1)+32,l.col+32,l.row+32];return e[0]>255||e[1]>255||e[2]>255?"":""+n(e[0])+n(e[1])+n(e[2])},SGR:function(l){var e=l.action===0&&l.button!==4?"m":"M";return"[<"+a(l,!0)+";"+l.col+";"+l.row+e}},o=function(){function r(l,e){this._bufferService=l,this._coreService=e,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new d.EventEmitter,this._lastEvent=null;for(var s=0,u=Object.keys(c);s=this._bufferService.cols||l.row<0||l.row>=this._bufferService.rows)return!1;if(l.button===4&&l.action===32)return!1;if(l.button===3&&l.action!==32)return!1;if(l.button!==4&&(l.action===2||l.action===3))return!1;if(l.col++,l.row++,l.action===32&&this._lastEvent&&this._compareEvents(this._lastEvent,l))return!1;if(!this._protocols[this._activeProtocol].restrict(l))return!1;var e=this._encodings[this._activeEncoding](l);return e&&(this._activeEncoding==="DEFAULT"?this._coreService.triggerBinaryEvent(e):this._coreService.triggerDataEvent(e,!0)),this._lastEvent=l,!0},r.prototype.explainEvents=function(l){return{down:!!(1&l),up:!!(2&l),drag:!!(4&l),move:!!(8&l),wheel:!!(16&l)}},r.prototype._compareEvents=function(l,e){return l.col===e.col&&l.row===e.row&&l.button===e.button&&l.action===e.action&&l.ctrl===e.ctrl&&l.alt===e.alt&&l.shift===e.shift},r=m([g(0,f.IBufferService),g(1,f.ICoreService)],r)}();p.CoreMouseService=o},function(y,p,S){"use strict";var m=this&&this.__decorate||function(c,a,n,i){var o,r=arguments.length,l=r<3?a:i===null?i=Object.getOwnPropertyDescriptor(a,n):i;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(c,a,n,i);else for(var e=c.length-1;e>=0;e--)(o=c[e])&&(l=(r<3?o(l):r>3?o(a,n,l):o(a,n))||l);return r>3&&l&&Object.defineProperty(a,n,l),l},g=this&&this.__param||function(c,a){return function(n,i){a(n,i,c)}};Object.defineProperty(p,"__esModule",{value:!0}),p.DirtyRowService=void 0;var f=S(1),d=function(){function c(a){this._bufferService=a,this.clearRange()}return Object.defineProperty(c.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),c.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},c.prototype.markDirty=function(a){athis._end&&(this._end=a)},c.prototype.markRangeDirty=function(a,n){if(a>n){var i=a;a=n,n=i}athis._end&&(this._end=n)},c.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},c=m([g(0,f.IBufferService)],c)}();p.DirtyRowService=d},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.UnicodeService=void 0;var m=S(0),g=S(79),f=function(){function d(){this._providers=Object.create(null),this._active="",this._onChange=new m.EventEmitter;var c=new g.UnicodeV6;this.register(c),this._active=c.version,this._activeProvider=c}return Object.defineProperty(d.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"activeVersion",{get:function(){return this._active},set:function(a){if(!this._providers[a])throw new Error('unknown Unicode version "'+a+'"');this._active=a,this._activeProvider=this._providers[a],this._onChange.fire(a)},enumerable:!1,configurable:!0}),d.prototype.register=function(c){this._providers[c.version]=c},d.prototype.wcwidth=function(c){return this._activeProvider.wcwidth(c)},d.prototype.getStringCellWidth=function(c){for(var a=0,n=c.length,i=0;i=n)return a+this.wcwidth(o);var r=c.charCodeAt(i);56320<=r&&r<=57343?o=1024*(o-55296)+r-56320+65536:a+=this.wcwidth(r)}a+=this.wcwidth(o)}return a},d}();p.UnicodeService=f},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.UnicodeV6=void 0;var m,g=S(15),f=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],d=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],c=function(){function a(){if(this.version="6",!m){m=new Uint8Array(65536),g.fill(m,1),m[0]=0,g.fill(m,0,1,32),g.fill(m,0,127,160),g.fill(m,2,4352,4448),m[9001]=2,m[9002]=2,g.fill(m,2,11904,42192),m[12351]=1,g.fill(m,2,44032,55204),g.fill(m,2,63744,64256),g.fill(m,2,65040,65050),g.fill(m,2,65072,65136),g.fill(m,2,65280,65377),g.fill(m,2,65504,65511);for(var n=0;no[e][1])return!1;for(;e>=l;)if(i>o[r=l+e>>1][1])l=r+1;else{if(!(i=131072&&n<=196605||n>=196608&&n<=262141?2:1},a}();p.UnicodeV6=c},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.CharsetService=void 0;var m=function(){function g(){this.glevel=0,this._charsets=[]}return g.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},g.prototype.setgLevel=function(f){this.glevel=f,this.charset=this._charsets[f]},g.prototype.setgCharset=function(f,d){this._charsets[f]=d,this.glevel===f&&(this.charset=d)},g}();p.CharsetService=m},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.updateWindowsModeWrappedState=void 0;var m=S(3);p.updateWindowsModeWrappedState=function(g){var f=g.buffer.lines.get(g.buffer.ybase+g.buffer.y-1),d=f==null?void 0:f.get(g.cols-1),c=g.buffer.lines.get(g.buffer.ybase+g.buffer.y);c&&d&&(c.isWrapped=d[m.CHAR_DATA_CODE_INDEX]!==m.NULL_CELL_CODE&&d[m.CHAR_DATA_CODE_INDEX]!==m.WHITESPACE_CELL_CODE)}},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.WriteBuffer=void 0;var m=function(){function g(f){this._action=f,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return g.prototype.writeSync=function(f){if(this._writeBuffer.length){for(var d=this._bufferOffset;d5e7)throw new Error("write data discarded, use flow control to avoid losing data");this._writeBuffer.length||(this._bufferOffset=0,setTimeout(function(){return c._innerWrite()})),this._pendingData+=f.length,this._writeBuffer.push(f),this._callbacks.push(d)},g.prototype._innerWrite=function(){for(var f=this,d=Date.now();this._writeBuffer.length>this._bufferOffset;){var c=this._writeBuffer[this._bufferOffset],a=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(c),this._pendingData-=c.length,a&&a(),Date.now()-d>=12)break}this._writeBuffer.length>this._bufferOffset?(this._bufferOffset>50&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout(function(){return f._innerWrite()},0)):(this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0)},g}();p.WriteBuffer=m},function(y,p,S){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.AddonManager=void 0;var m=function(){function g(){this._addons=[]}return g.prototype.dispose=function(){for(var f=this._addons.length-1;f>=0;f--)this._addons[f].instance.dispose()},g.prototype.loadAddon=function(f,d){var c=this,a={instance:d,dispose:d.dispose,isDisposed:!1};this._addons.push(a),d.dispose=function(){return c._wrappedAddonDispose(a)},d.activate(f)},g.prototype._wrappedAddonDispose=function(f){if(!f.isDisposed){for(var d=-1,c=0;ci;)r+=l*360;return[o,r]},coordToPoint:function(g){var f=g[0],d=g[1]/180*Math.PI,c=Math.cos(d)*f+this.cx,a=-Math.sin(d)*f+this.cy;return[c,a]},getArea:function(){var g=this.getAngleAxis(),f=this.getRadiusAxis(),d=f.getExtent().slice();d[0]>d[1]&&d.reverse();var c=g.getExtent(),a=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:d[0],r:d[1],startAngle:-c[0]*a,endAngle:-c[1]*a,clockwise:g.inverse,contain:function(n,i){var o=n-this.cx,r=i-this.cy,l=o*o+r*r,e=this.r,s=this.r0;return l<=e*e&&l>=s*s}}}};var m=S;R.exports=m},"/WM3":function(R,N,t){var y=t("QuXc"),p=t("bYtY"),S=p.isFunction,m={createOnAllSeries:!0,performRawSeries:!0,reset:function(g,f){var d=g.getData(),c=(g.visualColorAccessPath||"itemStyle.color").split("."),a=g.get(c),n=S(a)&&!(a instanceof y)?a:null;(!a||n)&&(a=g.getColorFromPalette(g.name,null,f.getSeriesCount())),d.setVisual("color",a);var i=(g.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),o=g.get(i);if(d.setVisual("borderColor",o),!f.isSeriesFiltered(g)){n&&d.each(function(l){d.setItemVisual(l,"color",n(g.getDataParams(l)))});var r=function(l,e){var s=l.getItemModel(e),u=s.get(c,!0),h=s.get(i,!0);u!=null&&l.setItemVisual(e,"color",u),h!=null&&l.setItemVisual(e,"borderColor",h)};return{dataEach:d.hasItemOption?r:null}}}};R.exports=m},"/d5a":function(R,N){var t={average:function(S){for(var m=0,g=0,f=0;fm&&(m=S[g]);return isFinite(m)?m:NaN},min:function(S){for(var m=Infinity,g=0;g1){var e;typeof c=="string"?e=t[c]:typeof c=="function"&&(e=c),e&&m.setData(d.downSample(d.mapDimension(i.dim),1/l,e,y))}}}}}R.exports=p},"/ezw":function(R,N,t){"use strict";var y=t("lSNA"),p=t.n(y),S=t("pVnL"),m=t.n(S),g=t("cDf5"),f=t.n(g),d=t("q1tI"),c=t("TSYQ"),a=t.n(c),n=function(k){var K=k.prefixCls,j=k.className,V=k.width,W=k.style;return d.createElement("h3",{className:a()(K,j),style:m()({width:V},W)})},i=n,o=t("RIqP"),r=t.n(o),l=function(k){var K=function(G){var ae=k.width,Ae=k.rows,me=Ae===void 0?2:Ae;return Array.isArray(ae)?ae[G]:me-1===G?ae:void 0},j=k.prefixCls,V=k.className,W=k.style,X=k.rows,J=r()(Array(X)).map(function(de,G){return d.createElement("li",{key:G,style:{width:K(G)}})});return d.createElement("ul",{className:a()(j,V),style:W},J)},e=l,s=t("H84U"),u=function(k){var K,j,V=k.prefixCls,W=k.className,X=k.style,J=k.size,de=k.shape,G=a()((K={},p()(K,"".concat(V,"-lg"),J==="large"),p()(K,"".concat(V,"-sm"),J==="small"),K)),ae=a()((j={},p()(j,"".concat(V,"-circle"),de==="circle"),p()(j,"".concat(V,"-square"),de==="square"),p()(j,"".concat(V,"-round"),de==="round"),j)),Ae=typeof J=="number"?{width:J,height:J,lineHeight:"".concat(J,"px")}:{};return d.createElement("span",{className:a()(V,W,G,ae),style:m()(m()({},Ae),X)})},h=u,A=t("BGR+"),v=function(k){var K=function(V){var W=V.getPrefixCls,X=k.prefixCls,J=k.className,de=k.active,G=W("skeleton",X),ae=Object(A.default)(k,["prefixCls"]),Ae=a()(G,J,"".concat(G,"-element"),p()({},"".concat(G,"-active"),de));return d.createElement("div",{className:Ae},d.createElement(h,m()({prefixCls:"".concat(G,"-avatar")},ae)))};return d.createElement(s.a,null,K)};v.defaultProps={size:"default",shape:"circle"};var w=v,b=function(k){var K=function(V){var W=V.getPrefixCls,X=k.prefixCls,J=k.className,de=k.active,G=W("skeleton",X),ae=Object(A.default)(k,["prefixCls"]),Ae=a()(G,J,"".concat(G,"-element"),p()({},"".concat(G,"-active"),de));return d.createElement("div",{className:Ae},d.createElement(h,m()({prefixCls:"".concat(G,"-button")},ae)))};return d.createElement(s.a,null,K)};b.defaultProps={size:"default"};var E=b,T=function(k){var K=function(V){var W=V.getPrefixCls,X=k.prefixCls,J=k.className,de=k.active,G=W("skeleton",X),ae=Object(A.default)(k,["prefixCls"]),Ae=a()(G,J,"".concat(G,"-element"),p()({},"".concat(G,"-active"),de));return d.createElement("div",{className:Ae},d.createElement(h,m()({prefixCls:"".concat(G,"-input")},ae)))};return d.createElement(s.a,null,K)};T.defaultProps={size:"default"};var _=T,x="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",C=function(k){var K=function(V){var W=V.getPrefixCls,X=k.prefixCls,J=k.className,de=k.style,G=W("skeleton",X),ae=a()(G,J,"".concat(G,"-element"));return d.createElement("div",{className:ae},d.createElement("div",{className:a()("".concat(G,"-image"),J),style:de},d.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(G,"-image-svg")},d.createElement("path",{d:x,className:"".concat(G,"-image-path")}))))};return d.createElement(s.a,null,K)},I=C;function L(U){return U&&f()(U)==="object"?U:{}}function F(U,k){return U&&!k?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function B(U,k){return!U&&k?{width:"38%"}:U&&k?{width:"50%"}:{}}function P(U,k){var K={};return(!U||!k)&&(K.width="61%"),!U&&k?K.rows=3:K.rows=2,K}var H=function(k){var K=function(V){var W=V.getPrefixCls,X=V.direction,J=k.prefixCls,de=k.loading,G=k.className,ae=k.children,Ae=k.avatar,me=k.title,Me=k.paragraph,oe=k.active,_e=k.round,ee=W("skeleton",J);if(de||!("loading"in k)){var ne,Ge=!!Ae,Ee=!!me,ue=!!Me,re;if(Ge){var ce=m()(m()({prefixCls:"".concat(ee,"-avatar")},F(Ee,ue)),L(Ae));re=d.createElement("div",{className:"".concat(ee,"-header")},d.createElement(h,ce))}var ke;if(Ee||ue){var Te;if(Ee){var Ke=m()(m()({prefixCls:"".concat(ee,"-title")},B(Ge,ue)),L(me));Te=d.createElement(i,Ke)}var Ie;if(ue){var se=m()(m()({prefixCls:"".concat(ee,"-paragraph")},P(Ge,Ee)),L(Me));Ie=d.createElement(e,se)}ke=d.createElement("div",{className:"".concat(ee,"-content")},Te,Ie)}var ye=a()(ee,G,(ne={},p()(ne,"".concat(ee,"-with-avatar"),Ge),p()(ne,"".concat(ee,"-active"),oe),p()(ne,"".concat(ee,"-rtl"),X==="rtl"),p()(ne,"".concat(ee,"-round"),_e),ne));return d.createElement("div",{className:ye},re,ke)}return ae};return d.createElement(s.a,null,K)};H.defaultProps={avatar:!1,title:!0,paragraph:!0},H.Button=E,H.Avatar=w,H.Input=_,H.Image=I;var z=H,M=N.a=z},"/iHx":function(R,N,t){var y=t("6GrX"),p=t("IwbS"),S=["textStyle","color"],m={getTextColor:function(g){var f=this.ecModel;return this.getShallow("color")||(!g&&f?f.get(S):null)},getFont:function(){return p.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(g){return y.getBoundingRect(g,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};R.exports=m},"/kpp":function(R,N,t){"use strict";var y=t("lSNA"),p=t.n(y),S=t("pVnL"),m=t.n(S),g=t("cDf5"),f=t.n(g),d=t("q1tI"),c=t.n(d),a=t("TSYQ"),n=t.n(a),i=t("o/2+"),o=t("H84U"),r=function(s,u){var h={};for(var A in s)Object.prototype.hasOwnProperty.call(s,A)&&u.indexOf(A)<0&&(h[A]=s[A]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var v=0,A=Object.getOwnPropertySymbols(s);v0?{paddingLeft:j[0]/2,paddingRight:j[0]/2}:{}),j[1]>0?{paddingTop:j[1]/2,paddingBottom:j[1]/2}:{}),V)),P&&(V.flex=l(P)),d.createElement("div",m()({},z,{style:V,className:k,ref:u}),B)})};return d.createElement(o.a,null,h)});e.displayName="Col",N.a=e},"/ry/":function(R,N,t){var y=t("bYtY"),p=t("T4UG"),S=t("5GhG"),m=S.seriesModelMixin,g=p.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});y.mixin(g,m,!0);var f=g;R.exports=f},"/stD":function(R,N,t){var y=t("bYtY"),p=t("IUWy"),S=t("Kagy"),m=S.toolbox.brush;function g(c,a,n){this.model=c,this.ecModel=a,this.api=n,this._brushType,this._brushMode}g.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:y.clone(m.title)};var f=g.prototype;f.render=f.updateView=function(c,a,n){var i,o,r;a.eachComponent({mainType:"brush"},function(l){i=l.brushType,o=l.brushOption.brushMode||"single",r|=l.areas.length}),this._brushType=i,this._brushMode=o,y.each(c.get("type",!0),function(l){c.setIconStatus(l,(l==="keep"?o==="multiple":l==="clear"?r:l===i)?"emphasis":"normal")})},f.getIcons=function(){var c=this.model,a=c.get("icon",!0),n={};return y.each(c.get("type",!0),function(i){a[i]&&(n[i]=a[i])}),n},f.onclick=function(c,a,n){var i=this._brushType,o=this._brushMode;n==="clear"?(a.dispatchAction({type:"axisAreaSelect",intervals:[]}),a.dispatchAction({type:"brush",command:"clear",areas:[]})):a.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:n==="keep"?i:i===n?!1:n,brushMode:n==="keep"?o==="multiple"?"single":"multiple":o}})},p.register("brush",g);var d=g;R.exports=d},"/wGt":function(R,N,t){"use strict";var y=t("lSNA"),p=t.n(y),S=t("pVnL"),m=t.n(S),g=t("lwsE"),f=t.n(g),d=t("W8MJ"),c=t.n(d),a=t("PJYZ"),n=t.n(a),i=t("7W2i"),o=t.n(i),r=t("LQ03"),l=t.n(r),e=t("q1tI"),s=t("Ff2n"),u=t("1OyB"),h=t("vuIU"),A=t("Ji7U"),v=t("md7G"),w=t("foSv"),b=t("1W/9"),E=t("rePB"),T=t("JX7q"),_=t("TSYQ"),x=t.n(_),C=t("qx4F"),I=t("4IlW");function L(Te){return Array.isArray(Te)?Te:[Te]}var F={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"},B=Object.keys(F).filter(function(Te){if(typeof document=="undefined")return!1;var Ke=document.getElementsByTagName("html")[0];return Te in(Ke?Ke.style:{})})[0],P=F[B];function H(Te,Ke,Ie,se){Te.addEventListener?Te.addEventListener(Ke,Ie,se):Te.attachEvent&&Te.attachEvent("on".concat(Ke),Ie)}function z(Te,Ke,Ie,se){Te.removeEventListener?Te.removeEventListener(Ke,Ie,se):Te.attachEvent&&Te.detachEvent("on".concat(Ke),Ie)}function M(Te,Ke){var Ie=typeof Te=="function"?Te(Ke):Te;return Array.isArray(Ie)?Ie.length===2?Ie:[Ie[0],Ie[1]]:[Ie]}var U=function(Ke){return!isNaN(parseFloat(Ke))&&isFinite(Ke)},k=!(typeof window!="undefined"&&window.document&&window.document.createElement),K=function Te(Ke,Ie,se,ye){if(!Ie||Ie===document||Ie instanceof Document)return!1;if(Ie===Ke.parentNode)return!0;var xe=Math.max(Math.abs(se),Math.abs(ye))===Math.abs(ye),Ye=Math.max(Math.abs(se),Math.abs(ye))===Math.abs(se),pt=Ie.scrollHeight-Ie.clientHeight,nt=Ie.scrollWidth-Ie.clientWidth,Oe=document.defaultView.getComputedStyle(Ie),vt=Oe.overflowY==="auto"||Oe.overflowY==="scroll",Ze=Oe.overflowX==="auto"||Oe.overflowX==="scroll",wt=pt&&vt,xt=nt&&Ze;return xe&&(!wt||wt&&(Ie.scrollTop>=pt&&ye<0||Ie.scrollTop<=0&&ye>0))||Ye&&(!xt||xt&&(Ie.scrollLeft>=nt&&se<0||Ie.scrollLeft<=0&&se>0))?Te(Ke,Ie.parentNode,se,ye):!1};function j(Te){var Ke=V();return function(){var se=Object(w.a)(Te),ye;if(Ke){var xe=Object(w.a)(this).constructor;ye=Reflect.construct(se,arguments,xe)}else ye=se.apply(this,arguments);return Object(v.a)(this,ye)}}function V(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(Te){return!1}}var W={},X=function(Te){Object(A.a)(Ie,Te);var Ke=j(Ie);function Ie(se){var ye;return Object(u.a)(this,Ie),ye=Ke.call(this,se),ye.domFocus=function(){ye.dom&&ye.dom.focus()},ye.removeStartHandler=function(xe){if(xe.touches.length>1)return;ye.startPos={x:xe.touches[0].clientX,y:xe.touches[0].clientY}},ye.removeMoveHandler=function(xe){if(xe.changedTouches.length>1)return;var Ye=xe.currentTarget,pt=xe.changedTouches[0].clientX-ye.startPos.x,nt=xe.changedTouches[0].clientY-ye.startPos.y;(Ye===ye.maskDom||Ye===ye.handlerDom||Ye===ye.contentDom&&K(Ye,xe.target,pt,nt))&&xe.cancelable&&xe.preventDefault()},ye.transitionEnd=function(xe){var Ye=xe.target;z(Ye,P,ye.transitionEnd),Ye.style.transition=""},ye.onKeyDown=function(xe){if(xe.keyCode===I.a.ESC){var Ye=ye.props.onClose;xe.stopPropagation(),Ye&&Ye(xe)}},ye.onWrapperTransitionEnd=function(xe){var Ye=ye.props,pt=Ye.open,nt=Ye.afterVisibleChange;xe.target===ye.contentWrapper&&xe.propertyName.match(/transform$/)&&(ye.dom.style.transition="",!pt&&ye.getCurrentDrawerSome()&&(document.body.style.overflowX="",ye.maskDom&&(ye.maskDom.style.left="",ye.maskDom.style.width="")),nt&&nt(!!pt))},ye.openLevelTransition=function(){var xe=ye.props,Ye=xe.open,pt=xe.width,nt=xe.height,Oe=ye.getHorizontalBoolAndPlacementName(),vt=Oe.isHorizontal,Ze=Oe.placementName,wt=ye.contentDom?ye.contentDom.getBoundingClientRect()[vt?"width":"height"]:0,xt=(vt?pt:nt)||wt;ye.setLevelAndScrolling(Ye,Ze,xt)},ye.setLevelTransform=function(xe,Ye,pt,nt){var Oe=ye.props,vt=Oe.placement,Ze=Oe.levelMove,wt=Oe.duration,xt=Oe.ease,Ot=Oe.showMask;ye.levelDom.forEach(function(Mt){Mt.style.transition="transform ".concat(wt," ").concat(xt),H(Mt,P,ye.transitionEnd);var Gt=xe?pt:0;if(Ze){var $e=M(Ze,{target:Mt,open:xe});Gt=xe?$e[0]:$e[1]||0}var pe=typeof Gt=="number"?"".concat(Gt,"px"):Gt,q=vt==="left"||vt==="top"?pe:"-".concat(pe);q=Ot&&vt==="right"&&nt?"calc(".concat(q," + ").concat(nt,"px)"):q,Mt.style.transform=Gt?"".concat(Ye,"(").concat(q,")"):""})},ye.setLevelAndScrolling=function(xe,Ye,pt){var nt=ye.props.onChange;if(!k){var Oe=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth?Object(C.a)(!0):0;ye.setLevelTransform(xe,Ye,pt,Oe),ye.toggleScrollingToDrawerAndBody(Oe)}nt&&nt(xe)},ye.toggleScrollingToDrawerAndBody=function(xe){var Ye=ye.props,pt=Ye.getOpenCount,nt=Ye.getContainer,Oe=Ye.showMask,vt=Ye.open,Ze=nt&&nt(),wt=pt&&pt();if(Ze&&Ze.parentNode===document.body&&Oe){var xt=["touchstart"],Ot=[document.body,ye.maskDom,ye.handlerDom,ye.contentDom];vt&&document.body.style.overflow!=="hidden"?(xe&&ye.addScrollingEffect(xe),wt===1&&(document.body.style.overflow="hidden"),document.body.style.touchAction="none",Ot.forEach(function(Mt,Gt){if(!Mt)return;H(Mt,xt[Gt]||"touchmove",Gt?ye.removeMoveHandler:ye.removeStartHandler,ye.passive)})):ye.getCurrentDrawerSome()&&(wt||(document.body.style.overflow=""),document.body.style.touchAction="",xe&&ye.remScrollingEffect(xe),Ot.forEach(function(Mt,Gt){if(!Mt)return;z(Mt,xt[Gt]||"touchmove",Gt?ye.removeMoveHandler:ye.removeStartHandler,ye.passive)}))}},ye.addScrollingEffect=function(xe){var Ye=ye.props,pt=Ye.placement,nt=Ye.duration,Oe=Ye.ease,vt=Ye.getOpenCount,Ze=Ye.switchScrollingEffect,wt=vt&&vt();wt===1&&Ze();var xt="width ".concat(nt," ").concat(Oe),Ot="transform ".concat(nt," ").concat(Oe);ye.dom.style.transition="none";switch(pt){case"right":ye.dom.style.transform="translateX(-".concat(xe,"px)");break;case"top":case"bottom":ye.dom.style.width="calc(100% - ".concat(xe,"px)"),ye.dom.style.transform="translateZ(0)";break;default:break}clearTimeout(ye.timeout),ye.timeout=setTimeout(function(){ye.dom&&(ye.dom.style.transition="".concat(Ot,",").concat(xt),ye.dom.style.width="",ye.dom.style.transform="")})},ye.remScrollingEffect=function(xe){var Ye=ye.props,pt=Ye.placement,nt=Ye.duration,Oe=Ye.ease,vt=Ye.getOpenCount,Ze=Ye.switchScrollingEffect,wt=vt&&vt();wt||Ze(!0),B&&(document.body.style.overflowX="hidden"),ye.dom.style.transition="none";var xt,Ot="width ".concat(nt," ").concat(Oe),Mt="transform ".concat(nt," ").concat(Oe);switch(pt){case"left":{ye.dom.style.width="100%",Ot="width 0s ".concat(Oe," ").concat(nt);break}case"right":{ye.dom.style.transform="translateX(".concat(xe,"px)"),ye.dom.style.width="100%",Ot="width 0s ".concat(Oe," ").concat(nt),ye.maskDom&&(ye.maskDom.style.left="-".concat(xe,"px"),ye.maskDom.style.width="calc(100% + ".concat(xe,"px)"));break}case"top":case"bottom":{ye.dom.style.width="calc(100% + ".concat(xe,"px)"),ye.dom.style.height="100%",ye.dom.style.transform="translateZ(0)",xt="height 0s ".concat(Oe," ").concat(nt);break}default:break}clearTimeout(ye.timeout),ye.timeout=setTimeout(function(){ye.dom&&(ye.dom.style.transition="".concat(Mt,",").concat(xt?"".concat(xt,","):"").concat(Ot),ye.dom.style.transform="",ye.dom.style.width="",ye.dom.style.height="")})},ye.getCurrentDrawerSome=function(){return!Object.keys(W).some(function(xe){return W[xe]})},ye.getLevelDom=function(xe){var Ye=xe.level,pt=xe.getContainer;if(k)return;var nt=pt&&pt(),Oe=nt?nt.parentNode:null;if(ye.levelDom=[],Ye==="all"){var vt=Oe?Array.prototype.slice.call(Oe.children):[];vt.forEach(function(Ze){Ze.nodeName!=="SCRIPT"&&Ze.nodeName!=="STYLE"&&Ze.nodeName!=="LINK"&&Ze!==nt&&ye.levelDom.push(Ze)})}else Ye&&L(Ye).forEach(function(Ze){document.querySelectorAll(Ze).forEach(function(wt){ye.levelDom.push(wt)})})},ye.getHorizontalBoolAndPlacementName=function(){var xe=ye.props.placement,Ye=xe==="left"||xe==="right",pt="translate".concat(Ye?"X":"Y");return{isHorizontal:Ye,placementName:pt}},ye.state={_self:Object(T.a)(ye)},ye}return Object(h.a)(Ie,[{key:"componentDidMount",value:function(){var ye=this;if(!k){var xe=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return xe=!0,null}}))}catch(vt){}this.passive=xe?{passive:!1}:!1}var Ye=this.props,pt=Ye.open,nt=Ye.getContainer,Oe=nt&&nt();this.drawerId="drawer_id_".concat(Number((Date.now()+Math.random()).toString().replace(".",Math.round(Math.random()*9).toString())).toString(16)),this.getLevelDom(this.props),pt&&(Oe&&Oe.parentNode===document.body&&(W[this.drawerId]=pt),this.openLevelTransition(),this.forceUpdate(function(){ye.domFocus()}))}},{key:"componentDidUpdate",value:function(ye){var xe=this.props,Ye=xe.open,pt=xe.getContainer,nt=pt&&pt();Ye!==ye.open&&(Ye&&this.domFocus(),nt&&nt.parentNode===document.body&&(W[this.drawerId]=!!Ye),this.openLevelTransition())}},{key:"componentWillUnmount",value:function(){var ye=this.props,xe=ye.getOpenCount,Ye=ye.open,pt=ye.switchScrollingEffect,nt=typeof xe=="function"&&xe();delete W[this.drawerId],Ye&&(this.setLevelTransform(!1),document.body.style.touchAction=""),nt||(document.body.style.overflow="",pt(!0))}},{key:"render",value:function(){var ye,xe=this,Ye=this.props,pt=Ye.className,nt=Ye.children,Oe=Ye.style,vt=Ye.width,Ze=Ye.height,wt=Ye.defaultOpen,xt=Ye.open,Ot=Ye.prefixCls,Mt=Ye.placement,Gt=Ye.level,$e=Ye.levelMove,pe=Ye.ease,q=Ye.duration,bt=Ye.getContainer,qe=Ye.handler,le=Ye.onChange,Nt=Ye.afterVisibleChange,tr=Ye.showMask,lt=Ye.maskClosable,zt=Ye.maskStyle,cr=Ye.onClose,Vr=Ye.onHandleClick,ur=Ye.keyboard,ir=Ye.getOpenCount,Lt=Ye.switchScrollingEffect,at=Object(s.a)(Ye,["className","children","style","width","height","defaultOpen","open","prefixCls","placement","level","levelMove","ease","duration","getContainer","handler","onChange","afterVisibleChange","showMask","maskClosable","maskStyle","onClose","onHandleClick","keyboard","getOpenCount","switchScrollingEffect"]),Xe=this.dom?xt:!1,$t=x()(Ot,(ye={},Object(E.a)(ye,"".concat(Ot,"-").concat(Mt),!0),Object(E.a)(ye,"".concat(Ot,"-open"),Xe),Object(E.a)(ye,pt||"",!!pt),Object(E.a)(ye,"no-mask",!tr),ye)),Sr=this.getHorizontalBoolAndPlacementName(),vr=Sr.placementName,fr=Mt==="left"||Mt==="top"?"-100%":"100%",An=Xe?"":"".concat(vr,"(").concat(fr,")"),Zr=qe&&e.cloneElement(qe,{onClick:function(Je){qe.props.onClick&&qe.props.onClick(),Vr&&Vr(Je)},ref:function(Je){xe.handlerDom=Je}});return e.createElement("div",Object.assign({},at,{tabIndex:-1,className:$t,style:Oe,ref:function(Je){xe.dom=Je},onKeyDown:Xe&&ur?this.onKeyDown:void 0,onTransitionEnd:this.onWrapperTransitionEnd}),tr&&e.createElement("div",{className:"".concat(Ot,"-mask"),onClick:lt?cr:void 0,style:zt,ref:function(Je){xe.maskDom=Je}}),e.createElement("div",{className:"".concat(Ot,"-content-wrapper"),style:{transform:An,msTransform:An,width:U(vt)?"".concat(vt,"px"):vt,height:U(Ze)?"".concat(Ze,"px"):Ze},ref:function(Je){xe.contentWrapper=Je}},e.createElement("div",{className:"".concat(Ot,"-content"),ref:function(Je){xe.contentDom=Je},onTouchStart:Xe&&tr?this.removeStartHandler:void 0,onTouchMove:Xe&&tr?this.removeMoveHandler:void 0},nt),Zr))}}],[{key:"getDerivedStateFromProps",value:function(ye,xe){var Ye=xe.prevProps,pt=xe._self,nt={prevProps:ye};if(Ye!==void 0){var Oe=ye.placement,vt=ye.level;Oe!==Ye.placement&&(pt.contentDom=null),vt!==Ye.level&&pt.getLevelDom(ye)}return nt}}]),Ie}(e.Component);X.defaultProps={switchScrollingEffect:function(){}};var J=X;function de(Te){var Ke=G();return function(){var se=Object(w.a)(Te),ye;if(Ke){var xe=Object(w.a)(this).constructor;ye=Reflect.construct(se,arguments,xe)}else ye=se.apply(this,arguments);return Object(v.a)(this,ye)}}function G(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(Te){return!1}}var ae=function(Te){Object(A.a)(Ie,Te);var Ke=de(Ie);function Ie(se){var ye;Object(u.a)(this,Ie),ye=Ke.call(this,se),ye.onHandleClick=function(Ye){var pt=ye.props,nt=pt.onHandleClick,Oe=pt.open;if(nt&&nt(Ye),typeof Oe=="undefined"){var vt=ye.state.open;ye.setState({open:!vt})}},ye.onClose=function(Ye){var pt=ye.props,nt=pt.onClose,Oe=pt.open;nt&&nt(Ye),typeof Oe=="undefined"&&ye.setState({open:!1})};var xe=typeof se.open!="undefined"?se.open:!!se.defaultOpen;return ye.state={open:xe},"onMaskClick"in se&&console.warn("`onMaskClick` are removed, please use `onClose` instead."),ye}return Object(h.a)(Ie,[{key:"render",value:function(){var ye=this,xe=this.props,Ye=xe.defaultOpen,pt=xe.getContainer,nt=xe.wrapperClassName,Oe=xe.forceRender,vt=xe.handler,Ze=Object(s.a)(xe,["defaultOpen","getContainer","wrapperClassName","forceRender","handler"]),wt=this.state.open;if(!pt)return e.createElement("div",{className:nt,ref:function(Mt){ye.dom=Mt}},e.createElement(J,Object.assign({},Ze,{open:wt,handler:vt,getContainer:function(){return ye.dom},onClose:this.onClose,onHandleClick:this.onHandleClick})));var xt=!!vt||Oe;return e.createElement(b.a,{visible:wt,forceRender:xt,getContainer:pt,wrapperClassName:nt},function(Ot){var Mt=Ot.visible,Gt=Ot.afterClose,$e=Object(s.a)(Ot,["visible","afterClose"]);return e.createElement(J,Object.assign({},Ze,$e,{open:Mt!==void 0?Mt:wt,afterVisibleChange:Gt!==void 0?Gt:Ze.afterVisibleChange,handler:vt,onClose:ye.onClose,onHandleClick:ye.onHandleClick}))})}}],[{key:"getDerivedStateFromProps",value:function(ye,xe){var Ye=xe.prevProps,pt={prevProps:ye};return typeof Ye!="undefined"&&ye.open!==Ye.open&&(pt.open=ye.open),pt}}]),Ie}(e.Component);ae.defaultProps={prefixCls:"drawer",placement:"left",getContainer:"body",defaultOpen:!1,level:"all",duration:".3s",ease:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",onChange:function(){},afterVisibleChange:function(){},handler:e.createElement("div",{className:"drawer-handle"},e.createElement("i",{className:"drawer-handle-icon"})),showMask:!0,maskClosable:!0,maskStyle:{},wrapperClassName:"",className:"",keyboard:!0,forceRender:!1};var Ae=ae,me=Ae,Me=t("V/uB"),oe=t.n(Me),_e=t("BGR+"),ee=t("H84U"),ne=t("CWQg"),Ge=function(Te,Ke){var Ie={};for(var se in Te)Object.prototype.hasOwnProperty.call(Te,se)&&Ke.indexOf(se)<0&&(Ie[se]=Te[se]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,se=Object.getOwnPropertySymbols(Te);ye=0&&p.each(w,function(b){e.setIconStatus(b,"normal")})}),e.setIconStatus(l,"emphasis"),o.eachComponent({mainType:"series",query:s==null?null:{seriesIndex:s}},h);var A;if(l==="stack"){var v=u.series&&u.series[0]&&u.series[0].stack===f;A=v?p.merge({stack:g.title.tiled},g.title):p.clone(g.title)}r.dispatchAction({type:"changeMagicType",currentType:l,newOption:u,newTitle:A,featureName:"magicType"})},y.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(o,r){r.mergeOption(o.newOption)}),m.register("magicType",d);var i=d;R.exports=i},"06Qe":function(R,N,t){var y=t("ItGF"),p="urn:schemas-microsoft-com:vml",S=typeof window=="undefined"?null:window,m=!1,g=S&&S.document;function f(a){return d(a)}var d;if(g&&!y.canvasSupported)try{!g.namespaces.zrvml&&g.namespaces.add("zrvml",p),d=function(n){return g.createElement("')}}catch(a){d=function(i){return g.createElement("<"+i+' xmlns="'+p+'" class="zrvml">')}}function c(){if(m||!g)return;m=!0;var a=g.styleSheets;a.length<31?g.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):a[0].addRule(".zrvml","behavior:url(#default#VML)")}N.doc=g,N.createNode=f,N.initVML=c},"09Wf":function(R,N,t){"use strict";t.d(N,"b",function(){return p}),t.d(N,"a",function(){return S});var y=t("CWQg"),p=Object(y.a)("success","processing","error","default","warning"),S=Object(y.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},"0Bwj":function(R,N,t){var y=t("T4UG"),p=t("I3/A"),S=t("7aKB"),m=S.encodeHTML,g=t("Qxkt"),f=t("Tghj"),d=f.__DEV__,c=y.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(n,i){for(var o=n.edges||n.links,r=n.data||n.nodes,l=n.levels,e=this.levelModels={},s=0;s=0&&(e[l[s].depth]=new g(l[s],this,i));if(r&&o){var u=p(r,o,this,!0,h);return u.data}function h(A,v){A.wrapMethod("getItemModel",function(w,b){return w.customizeGetParent(function(E){var T=this.parentModel,_=T.getData().getItemLayout(b).depth,x=T.levelModels[_];return x||this.parentModel}),w}),v.wrapMethod("getItemModel",function(w,b){return w.customizeGetParent(function(E){var T=this.parentModel,_=T.getGraph().getEdgeByIndex(b),x=_.node1.getLayout().depth,C=T.levelModels[x];return C||this.parentModel}),w})}},setNodePosition:function(n,i){var o=this.option.data[n];o.localX=i[0],o.localY=i[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(n,i,o){if(o==="edge"){var r=this.getDataParams(n,o),l=r.data,e=l.source+" -- "+l.target;return r.value&&(e+=" : "+r.value),m(e)}else if(o==="node"){var s=this.getGraph().getNodeByIndex(n),u=s.getLayout().value,h=this.getDataParams(n,o).data.name;if(u)var e=h+" : "+u;return m(e)}return c.superCall(this,"formatTooltip",n,i)},optionUpdated:function(){var n=this.option;n.focusNodeAdjacency===!0&&(n.focusNodeAdjacency="allEdges")},getDataParams:function(n,i){var o=c.superCall(this,"getDataParams",n,i);if(o.value==null&&i==="node"){var r=this.getGraph().getNodeByIndex(n),l=r.getLayout().value;o.value=l}return o},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,focusNodeAdjacency:!1,layoutIterations:32,label:{show:!0,position:"right",color:"#000",fontSize:12},levels:[],nodeAlign:"justify",itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},animationEasing:"linear",animationDuration:1e3}}),a=c;R.exports=a},"0HBW":function(R,N,t){var y=t("ProS"),p=t("bYtY");t("Hxpc"),t("7uqq"),t("dmGj"),t("SehX");function S(m,g){g.update="updateView",y.registerAction(g,function(f,d){var c={};return d.eachComponent({mainType:"geo",query:f},function(a){a[m](f.name);var n=a.coordinateSystem;p.each(n.regions,function(i){c[i.name]=a.isSelected(i.name)||!1})}),{selected:c,name:f.name}})}S("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),S("select",{type:"geoSelect",event:"geoselected"}),S("unSelect",{type:"geoUnSelect",event:"geounselected"})},"0JAE":function(R,N,t){var y=t("bYtY"),p=t("+TT/"),S=t("OELB"),m=t("IDmD"),g=864e5;function f(a,n,i){this._model=a}f.prototype={constructor:f,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"},"value"]},getRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(a){a=S.parseDate(a);var n=a.getFullYear(),i=a.getMonth()+1;i=i<10?"0"+i:i;var o=a.getDate();o=o<10?"0"+o:o;var r=a.getDay();return r=Math.abs((r+7-this.getFirstDayOfWeek())%7),{y:n,m:i,d:o,day:r,time:a.getTime(),formatedDate:n+"-"+i+"-"+o,date:a}},getNextNDay:function(a,n){return n=n||0,n===0?this.getDateInfo(a):(a=new Date(this.getDateInfo(a).time),a.setDate(a.getDate()+n),this.getDateInfo(a))},update:function(a,n){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var i=this._rangeInfo.weeks||1,o=["width","height"],r=this._model.get("cellSize").slice(),l=this._model.getBoxLayoutParams(),e=this._orient==="horizontal"?[i,7]:[7,i];y.each([0,1],function(A){h(r,A)&&(l[o[A]]=r[A]*e[A])});var s={width:n.getWidth(),height:n.getHeight()},u=this._rect=p.getLayoutRect(l,s);y.each([0,1],function(A){h(r,A)||(r[A]=u[o[A]]/e[A])});function h(A,v){return A[v]!=null&&A[v]!=="auto"}this._sw=r[0],this._sh=r[1]},dataToPoint:function(a,n){y.isArray(a)&&(a=a[0]),n==null&&(n=!0);var i=this.getDateInfo(a),o=this._rangeInfo,r=i.formatedDate;if(n&&!(i.time>=o.start.time&&i.timel.end.time&&a.reverse(),a},_getRangeInfo:function(a){a=[this.getDateInfo(a[0]),this.getDateInfo(a[1])];var n;a[0].time>a[1].time&&(n=!0,a.reverse());var i=Math.floor(a[1].time/g)-Math.floor(a[0].time/g)+1,o=new Date(a[0].time),r=o.getDate(),l=a[1].date.getDate();o.setDate(r+i-1);var e=o.getDate();if(e!==l)for(var s=o.getTime()-a[1].time>0?1:-1;(e=o.getDate())!==l&&(o.getTime()-a[1].time)*s>0;)i-=s,o.setDate(e-s);var u=Math.floor((i+a[0].day+6)/7),h=n?-u+1:u-1;return n&&a.reverse(),{range:[a[0].formatedDate,a[1].formatedDate],start:a[0],end:a[1],allDay:i,weeks:u,nthWeek:h,fweek:a[0].day,lweek:a[1].day}},_getDateByWeeksAndDay:function(a,n,i){var o=this._getRangeInfo(i);if(a>o.weeks||a===0&&no.lweek)return!1;var r=(a-1)*7-o.fweek+n,l=new Date(o.start.time);return l.setDate(o.start.d+r),this.getDateInfo(l)}},f.dimensions=f.prototype.dimensions,f.getDimensionsInfo=f.prototype.getDimensionsInfo,f.create=function(a,n){var i=[];return a.eachComponent("calendar",function(o){var r=new f(o,a,n);i.push(r),o.coordinateSystem=r}),a.eachSeries(function(o){o.get("coordinateSystem")==="calendar"&&(o.coordinateSystem=i[o.get("calendarIndex")||0])}),i};function d(a,n,i,o){var r=i.calendarModel,l=i.seriesModel,e=r?r.coordinateSystem:l?l.coordinateSystem:null;return e===this?e[a](o):null}m.register("calendar",f);var c=f;R.exports=c},"0JQy":function(R,N){var t="\\ud800-\\udfff",y="\\u0300-\\u036f",p="\\ufe20-\\ufe2f",S="\\u20d0-\\u20ff",m=y+p+S,g="\\ufe0e\\ufe0f",f="["+t+"]",d="["+m+"]",c="\\ud83c[\\udffb-\\udfff]",a="(?:"+d+"|"+c+")",n="[^"+t+"]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",o="[\\ud800-\\udbff][\\udc00-\\udfff]",r="\\u200d",l=a+"?",e="["+g+"]?",s="(?:"+r+"(?:"+[n,i,o].join("|")+")"+e+l+")*",u=e+l+s,h="(?:"+[n+d+"?",d,i,o,f].join("|")+")",A=RegExp(c+"(?="+c+")|"+h+u,"g");function v(w){return w.match(A)||[]}R.exports=v},"0NbB":function(R,N,t){"use strict";var y=t("VTBJ"),p=t("q1tI"),S={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},m=S,g=t("6VBw"),f=function(a,n){return p.createElement(g.a,Object(y.a)(Object(y.a)({},a),{},{ref:n,icon:m}))};f.displayName="CaretDownOutlined";var d=N.a=p.forwardRef(f)},"0V0F":function(R,N,t){var y=t("bYtY"),p=y.createHashMap,S=y.each;function m(f){var d=p();f.eachSeries(function(c){var a=c.get("stack");if(a){var n=d.get(a)||d.set(a,[]),i=c.getData(),o={stackResultDimension:i.getCalculationInfo("stackResultDimension"),stackedOverDimension:i.getCalculationInfo("stackedOverDimension"),stackedDimension:i.getCalculationInfo("stackedDimension"),stackedByDimension:i.getCalculationInfo("stackedByDimension"),isStackedByIndex:i.getCalculationInfo("isStackedByIndex"),data:i,seriesModel:c};if(!o.stackedDimension||!(o.isStackedByIndex||o.stackedByDimension))return;n.length&&i.setCalculationInfo("stackedOnSeries",n[n.length-1].seriesModel),n.push(o)}}),d.each(g)}function g(f){S(f,function(d,c){var a=[],n=[NaN,NaN],i=[d.stackResultDimension,d.stackedOverDimension],o=d.data,r=d.isStackedByIndex,l=o.map(i,function(e,s,u){var h=o.get(d.stackedDimension,u);if(isNaN(h))return n;var A,v;r?v=o.getRawIndex(u):A=o.get(d.stackedByDimension,u);for(var w=NaN,b=c-1;b>=0;b--){var E=f[b];if(r||(v=E.data.rawIndexOf(E.stackedByDimension,A)),v>=0){var T=E.data.getByRawIndex(E.stackResultDimension,v);if(h>=0&&T>0||h<=0&&T<0){h+=T,w=T;break}}}return a[0]=h,a[1]=w,a});o.hostModel.setData(l),d.data=l})}R.exports=m},"0XgM":function(R,N,t){},"0fbx":function(R,N,t){},"0o9m":function(R,N,t){var y=t("ProS");t("hNWo"),t("RlCK"),t("XpcN");var p=t("kDyi"),S=t("bLfw");y.registerProcessor(y.PRIORITY.PROCESSOR.SERIES_FILTER,p),S.registerSubTypeDefaulter("legend",function(){return"plain"})},"0qV/":function(R,N,t){var y=t("ProS");y.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},function(){}),y.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},function(){})},"0r65":function(R,N){var t=arguments[3],y=arguments[4],p=arguments[5],S=JSON.stringify;R.exports=function(m,g){for(var f,d=Object.keys(p),c=0,a=d.length;c=0;b--){var E;if(v[b]!==A&&!v[b].ignore&&(E=r(v[b],u,h))&&(!w.topTarget&&(w.topTarget=v[b]),E!==d)){w.target=v[b];break}}return w},processGesture:function(u,h){this._gestureMgr||(this._gestureMgr=new f);var A=this._gestureMgr;h==="start"&&A.clear();var v=A.recognize(u,this.findHover(u.zrX,u.zrY,null).target,this.proxy.dom);if(h==="end"&&A.clear(),v){var w=v.type;u.gestureEvent=w,this.dispatchToElement({target:v.target},w,v.event)}}},y.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(s){o.prototype[s]=function(u){var h=u.zrX,A=u.zrY,v=l(this,h,A),w,b;if((s!=="mouseup"||!v)&&(w=this.findHover(h,A),b=w.target),s==="mousedown")this._downEl=b,this._downPoint=[u.zrX,u.zrY],this._upEl=b;else if(s==="mouseup")this._upEl=b;else if(s==="click"){if(this._downEl!==this._upEl||!this._downPoint||p.dist(this._downPoint,[u.zrX,u.zrY])>4)return;this._downPoint=null}this.dispatchToElement(w,s,u)}});function r(s,u,h){if(s[s.rectHover?"rectContain":"contain"](u,h)){for(var A=s,v;A;){if(A.clipPath&&!A.clipPath.contain(u,h))return!1;A.silent&&(v=!0),A=A.parent}return v?d:!0}return!1}function l(s,u,h){var A=s.painter;return u<0||u>A.getWidth()||h<0||h>A.getHeight()}y.mixin(o,m),y.mixin(o,S);var e=o;R.exports=e},"10cm":function(R,N,t){var y=t("ProS"),p=t("2B6p"),S=p.updateCenterAndZoom;t("0qV/");var m={type:"graphRoam",event:"graphRoam",update:"none"};y.registerAction(m,function(g,f){f.eachComponent({mainType:"series",query:g},function(d){var c=d.coordinateSystem,a=S(c,g);d.setCenter&&d.setCenter(a.center),d.setZoom&&d.setZoom(a.zoom)})})},"14J3":function(R,N,t){"use strict";var y=t("cIOH"),p=t.n(y),S=t("1GLa")},"15/o":function(R,N,t){},"19Vz":function(R,N,t){(function(y){y(t("VrN/"))})(function(y){y.defineOption("placeholder","",function(c,a,n){var i=n&&n!=y.Init;if(a&&!i)c.on("blur",g),c.on("change",f),c.on("swapDoc",f),y.on(c.getInputField(),"compositionupdate",c.state.placeholderCompose=function(){m(c)}),f(c);else if(!a&&i){c.off("blur",g),c.off("change",f),c.off("swapDoc",f),y.off(c.getInputField(),"compositionupdate",c.state.placeholderCompose),p(c);var o=c.getWrapperElement();o.className=o.className.replace(" CodeMirror-empty","")}a&&!c.hasFocus()&&g(c)});function p(c){c.state.placeholder&&(c.state.placeholder.parentNode.removeChild(c.state.placeholder),c.state.placeholder=null)}function S(c){p(c);var a=c.state.placeholder=document.createElement("pre");a.style.cssText="height: 0; overflow: visible",a.style.direction=c.getOption("direction"),a.className="CodeMirror-placeholder CodeMirror-line-like";var n=c.getOption("placeholder");typeof n=="string"&&(n=document.createTextNode(n)),a.appendChild(n),c.display.lineSpace.insertBefore(a,c.display.lineSpace.firstChild)}function m(c){setTimeout(function(){var a=!1,n=c.getInputField();n.nodeName=="TEXTAREA"?a=!n.value:c.lineCount()==1&&(a=!/[^\u200b]/.test(n.querySelector(".CodeMirror-line").textContent)),a?S(c):p(c)},20)}function g(c){d(c)&&S(c)}function f(c){var a=c.getWrapperElement(),n=d(c);a.className=a.className.replace(" CodeMirror-empty","")+(n?" CodeMirror-empty":""),n?S(c):p(c)}function d(c){return c.lineCount()===1&&c.getLine(0)===""}})},"1GLa":function(R,N,t){"use strict";var y=t("cIOH"),p=t.n(y),S=t("FIfw"),m=t.n(S)},"1Jh7":function(R,N,t){var y=t("y+Vt"),p=t("T6xi"),S=y.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(g,f){p.buildPath(g,f,!1)}});R.exports=S},"1LEl":function(R,N,t){var y=t("ProS"),p=t("F9bG"),S=y.extendComponentView({type:"axisPointer",render:function(g,f,d){var c=f.getComponent("tooltip"),a=g.get("triggerOn")||c&&c.get("triggerOn")||"mousemove|click";p.register("axisPointer",d,function(n,i,o){a!=="none"&&(n==="leave"||a.indexOf(n)>=0)&&o({type:"updateAxisPointer",currTrigger:n,x:i&&i.offsetX,y:i&&i.offsetY})})},remove:function(g,f){p.unregister(f.getZr(),"axisPointer"),S.superApply(this._model,"remove",arguments)},dispose:function(g,f){p.unregister("axisPointer",f),S.superApply(this._model,"dispose",arguments)}}),m=S;R.exports=m},"1MYJ":function(R,N,t){var y=t("y+Vt"),p=y.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var m=this.__dirtyPath,g=this.shape.paths,f=0;f=b||F<0)break;if(i(P)){if(I){F+=E;continue}break}if(F===v)h[E>0?"moveTo":"lineTo"](P[0],P[1]);else if(x>0){var H=A[L],z=C==="y"?1:0,M=(P[z]-H[z])*x;d(a,H),a[z]=H[z]+M,d(n,P),n[z]=P[z]-M,h.bezierCurveTo(a[0],a[1],n[0],n[1],P[0],P[1])}else h.lineTo(P[0],P[1]);L=F,F+=E}return B}function l(h,A,v,w,b,E,T,_,x,C,I){for(var L=0,F=v,B=0;B=b||F<0)break;if(i(P)){if(I){F+=E;continue}break}if(F===v)h[E>0?"moveTo":"lineTo"](P[0],P[1]),d(a,P);else if(x>0){var H=F+E,z=A[H];if(I)for(;z&&i(A[H]);)H+=E,z=A[H];var M=.5,U=A[L],z=A[H];if(!z||i(z))d(n,P);else{i(z)&&!I&&(z=P),p.sub(c,z,U);var k,K;if(C==="x"||C==="y"){var j=C==="x"?0:1;k=Math.abs(P[j]-U[j]),K=Math.abs(P[j]-z[j])}else k=p.dist(P,U),K=p.dist(P,z);M=K/(K+k),f(n,P,c,-x*(1-M))}m(a,a,_),g(a,a,T),m(n,n,_),g(n,n,T),h.bezierCurveTo(a[0],a[1],n[0],n[1],P[0],P[1]),f(a,P,c,x*M)}else h.lineTo(P[0],P[1]);L=F,F+=E}return B}function e(h,A){var v=[Infinity,Infinity],w=[-Infinity,-Infinity];if(A)for(var b=0;bw[0]&&(w[0]=E[0]),E[1]>w[1]&&(w[1]=E[1])}return{min:A?v:w,max:A?w:v}}var s=y.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:S(y.prototype.brush),buildPath:function(h,A){var v=A.points,w=0,b=v.length,E=e(v,A.smoothConstraint);if(A.connectNulls){for(;b>0&&i(v[b-1]);b--);for(;w0&&i(v[E-1]);E--);for(;b=this._maxSize&&i>0){var r=c.head;c.remove(r),delete a[r.key],n=r.value,this._lastRemovedEntry=r}o?o.value=d:o=new p(d),o.key=f,c.insertEntry(o),a[f]=o}return n},m.get=function(f){var d=this._map[f],c=this._list;if(d!=null)return d!==c.tail&&(c.remove(d),c.insertEntry(d)),d.value},m.clear=function(){this._list.clear(),this._map={}};var g=S;R.exports=g},"1bdT":function(R,N,t){var y=t("3gBT"),p=t("H6uX"),S=t("DN4a"),m=t("vWvF"),g=t("bYtY"),f=function(a){S.call(this,a),p.call(this,a),m.call(this,a),this.id=a.id||y()};f.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(a,n){switch(this.draggable){case"horizontal":n=0;break;case"vertical":a=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=a,i[5]+=n,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(a,n){},attrKV:function(a,n){if(a==="position"||a==="scale"||a==="origin"){if(n){var i=this[a];i||(i=this[a]=[]),i[0]=n[0],i[1]=n[1]}}else this[a]=n},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(a,n){if(typeof a=="string")this.attrKV(a,n);else if(g.isObject(a))for(var i in a)a.hasOwnProperty(i)&&this.attrKV(i,a[i]);return this.dirty(!1),this},setClipPath:function(a){var n=this.__zr;n&&a.addSelfToZr(n),this.clipPath&&this.clipPath!==a&&this.removeClipPath(),this.clipPath=a,a.__zr=n,a.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var a=this.clipPath;a&&(a.__zr&&a.removeSelfFromZr(a.__zr),a.__zr=null,a.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(a){this.__zr=a;var n=this.animators;if(n)for(var i=0;i> RFB.constructor"),xe._screen=document.createElement("div"),xe._screen.style.display="flex",xe._screen.style.width="100%",xe._screen.style.height="100%",xe._screen.style.overflow="auto",xe._screen.style.background=V,xe._canvas=document.createElement("canvas"),xe._canvas.style.margin="auto",xe._canvas.style.outline="none",xe._canvas.style.flexShrink="0",xe._canvas.width=0,xe._canvas.height=0,xe._canvas.tabIndex=-1,xe._screen.appendChild(xe._canvas),xe._cursor=new r.default,xe._cursorImage=Ke.cursors.none,xe._decoders[h.encodings.encodingRaw]=new A.default,xe._decoders[h.encodings.encodingCopyRect]=new v.default,xe._decoders[h.encodings.encodingRRE]=new w.default,xe._decoders[h.encodings.encodingHextile]=new b.default,xe._decoders[h.encodings.encodingTight]=new E.default,xe._decoders[h.encodings.encodingTightPNG]=new T.default;try{xe._display=new c.default(xe._canvas)}catch(Ye){throw p.Error("Display exception: "+Ye),Ye}return xe._display.onflush=xe._onFlush.bind(U(xe)),xe._keyboard=new i.default(xe._canvas),xe._keyboard.onkeyevent=xe._handleKeyEvent.bind(U(xe)),xe._gestures=new o.default,xe._sock=new l.default,xe._sock.on("message",function(){xe._handleMessage()}),xe._sock.on("open",function(){xe._rfbConnectionState==="connecting"&&xe._rfbInitState===""?(xe._rfbInitState="ProtocolVersion",p.Debug("Starting VNC handshake")):xe._fail("Unexpected server connection while "+xe._rfbConnectionState)}),xe._sock.on("close",function(Ye){p.Debug("WebSocket on-close event");var pt="";Ye.code&&(pt="(code: "+Ye.code,Ye.reason&&(pt+=", reason: "+Ye.reason),pt+=")");switch(xe._rfbConnectionState){case"connecting":xe._fail("Connection closed "+pt);break;case"connected":xe._updateConnectionState("disconnecting"),xe._updateConnectionState("disconnected");break;case"disconnecting":xe._updateConnectionState("disconnected");break;case"disconnected":xe._fail("Unexpected server disconnect when already disconnected "+pt);break;default:xe._fail("Unexpected server disconnect before connecting "+pt);break}xe._sock.off("close")}),xe._sock.on("error",function(Ye){return p.Warn("WebSocket on-error event")}),setTimeout(xe._updateConnectionState.bind(U(xe),"connecting")),p.Debug("<< RFB.constructor"),xe.dragViewport=!1,xe.focusOnClick=!0,xe._viewOnly=!1,xe._clipViewport=!1,xe._scaleViewport=!1,xe._resizeSession=!1,xe._showDotCursor=!1,ye.showDotCursor!==void 0&&(p.Warn("Specifying showDotCursor as a RFB constructor argument is deprecated"),xe._showDotCursor=ye.showDotCursor),xe._qualityLevel=6,xe._compressionLevel=2,xe}return B(Ke,[{key:"disconnect",value:function(){this._updateConnectionState("disconnecting"),this._sock.off("error"),this._sock.off("message"),this._sock.off("open")}},{key:"sendCredentials",value:function(se){this._rfbCredentials=se,setTimeout(this._initMsg.bind(this),0)}},{key:"sendCtrlAltDel",value:function(){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;p.Info("Sending Ctrl-Alt-Del"),this.sendKey(s.default.XK_Control_L,"ControlLeft",!0),this.sendKey(s.default.XK_Alt_L,"AltLeft",!0),this.sendKey(s.default.XK_Delete,"Delete",!0),this.sendKey(s.default.XK_Delete,"Delete",!1),this.sendKey(s.default.XK_Alt_L,"AltLeft",!1),this.sendKey(s.default.XK_Control_L,"ControlLeft",!1)}},{key:"machineShutdown",value:function(){this._xvpOp(1,2)}},{key:"machineReboot",value:function(){this._xvpOp(1,3)}},{key:"machineReset",value:function(){this._xvpOp(1,4)}},{key:"sendKey",value:function(se,ye,xe){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(xe===void 0){this.sendKey(se,ye,!0),this.sendKey(se,ye,!1);return}var Ye=u.default[ye];if(this._qemuExtKeyEventSupported&&Ye)se=se||0,p.Info("Sending key ("+(xe?"down":"up")+"): keysym "+se+", scancode "+Ye),Ke.messages.QEMUExtendedKeyEvent(this._sock,se,xe,Ye);else{if(!se)return;p.Info("Sending keysym ("+(xe?"down":"up")+"): "+se),Ke.messages.keyEvent(this._sock,se,xe?1:0)}}},{key:"focus",value:function(){this._canvas.focus()}},{key:"blur",value:function(){this._canvas.blur()}},{key:"clipboardPasteFrom",value:function(se){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(this._clipboardServerCapabilitiesFormats[me]&&this._clipboardServerCapabilitiesActions[ue])this._clipboardText=se,Ke.messages.extendedClipboardNotify(this._sock,[me]);else{for(var ye=new Uint8Array(se.length),xe=0;xe> RFB.connect"),p.Info("connecting to "+this._url);try{this._sock.open(this._url,this._wsProtocols)}catch(se){se.name==="SyntaxError"?this._fail("Invalid host or port ("+se+")"):this._fail("Error when opening socket ("+se+")")}this._target.appendChild(this._screen),this._gestures.attach(this._canvas),this._cursor.attach(this._canvas),this._refreshCursor(),window.addEventListener("resize",this._eventHandlers.windowResize),this._canvas.addEventListener("mousedown",this._eventHandlers.focusCanvas),this._canvas.addEventListener("touchstart",this._eventHandlers.focusCanvas),this._canvas.addEventListener("mousedown",this._eventHandlers.handleMouse),this._canvas.addEventListener("mouseup",this._eventHandlers.handleMouse),this._canvas.addEventListener("mousemove",this._eventHandlers.handleMouse),this._canvas.addEventListener("click",this._eventHandlers.handleMouse),this._canvas.addEventListener("contextmenu",this._eventHandlers.handleMouse),this._canvas.addEventListener("wheel",this._eventHandlers.handleWheel),this._canvas.addEventListener("gesturestart",this._eventHandlers.handleGesture),this._canvas.addEventListener("gesturemove",this._eventHandlers.handleGesture),this._canvas.addEventListener("gestureend",this._eventHandlers.handleGesture),p.Debug("<< RFB.connect")}},{key:"_disconnect",value:function(){p.Debug(">> RFB.disconnect"),this._cursor.detach(),this._canvas.removeEventListener("gesturestart",this._eventHandlers.handleGesture),this._canvas.removeEventListener("gesturemove",this._eventHandlers.handleGesture),this._canvas.removeEventListener("gestureend",this._eventHandlers.handleGesture),this._canvas.removeEventListener("wheel",this._eventHandlers.handleWheel),this._canvas.removeEventListener("mousedown",this._eventHandlers.handleMouse),this._canvas.removeEventListener("mouseup",this._eventHandlers.handleMouse),this._canvas.removeEventListener("mousemove",this._eventHandlers.handleMouse),this._canvas.removeEventListener("click",this._eventHandlers.handleMouse),this._canvas.removeEventListener("contextmenu",this._eventHandlers.handleMouse),this._canvas.removeEventListener("mousedown",this._eventHandlers.focusCanvas),this._canvas.removeEventListener("touchstart",this._eventHandlers.focusCanvas),window.removeEventListener("resize",this._eventHandlers.windowResize),this._keyboard.ungrab(),this._gestures.detach(),this._sock.close();try{this._target.removeChild(this._screen)}catch(se){if(!(se.name==="NotFoundError"))throw se}clearTimeout(this._resizeTimeout),clearTimeout(this._mouseMoveTimer),p.Debug("<< RFB.disconnect")}},{key:"_focusCanvas",value:function(se){if(!this.focusOnClick)return;this.focus()}},{key:"_setDesktopName",value:function(se){this._fbName=se,this.dispatchEvent(new CustomEvent("desktopname",{detail:{name:this._fbName}}))}},{key:"_windowResize",value:function(se){var ye=this;window.requestAnimationFrame(function(){ye._updateClip(),ye._updateScale()}),this._resizeSession&&(clearTimeout(this._resizeTimeout),this._resizeTimeout=setTimeout(this._requestRemoteResize.bind(this),500))}},{key:"_updateClip",value:function(){var se=this._display.clipViewport,ye=this._clipViewport;if(this._scaleViewport&&(ye=!1),se!==ye&&(this._display.clipViewport=ye),ye){var xe=this._screenSize();this._display.viewportChangeSize(xe.w,xe.h),this._fixScrollbars()}}},{key:"_updateScale",value:function(){if(!this._scaleViewport)this._display.scale=1;else{var se=this._screenSize();this._display.autoscale(se.w,se.h)}this._fixScrollbars()}},{key:"_requestRemoteResize",value:function(){if(clearTimeout(this._resizeTimeout),this._resizeTimeout=null,!this._resizeSession||this._viewOnly||!this._supportsSetDesktopSize)return;var se=this._screenSize();Ke.messages.setDesktopSize(this._sock,Math.floor(se.w),Math.floor(se.h),this._screenID,this._screenFlags),p.Debug("Requested new desktop size: "+se.w+"x"+se.h)}},{key:"_screenSize",value:function(){var se=this._screen.getBoundingClientRect();return{w:se.width,h:se.height}}},{key:"_fixScrollbars",value:function(){var se=this._screen.style.overflow;this._screen.style.overflow="hidden",this._screen.getBoundingClientRect(),this._screen.style.overflow=se}},{key:"_updateConnectionState",value:function(se){var ye=this,xe=this._rfbConnectionState;if(se===xe){p.Debug("Already in state '"+se+"', ignoring");return}if(xe==="disconnected"){p.Error("Tried changing state of a disconnected RFB object");return}switch(se){case"connected":if(xe!=="connecting"){p.Error("Bad transition to connected state, previous connection state: "+xe);return}break;case"disconnected":if(xe!=="disconnecting"){p.Error("Bad transition to disconnected state, previous connection state: "+xe);return}break;case"connecting":if(xe!==""){p.Error("Bad transition to connecting state, previous connection state: "+xe);return}break;case"disconnecting":if(xe!=="connected"&&xe!=="connecting"){p.Error("Bad transition to disconnecting state, previous connection state: "+xe);return}break;default:p.Error("Unknown connection state: "+se);return}this._rfbConnectionState=se,p.Debug("New state '"+se+"', was '"+xe+"'."),this._disconnTimer&&se!=="disconnecting"&&(p.Debug("Clearing disconnect timer"),clearTimeout(this._disconnTimer),this._disconnTimer=null,this._sock.off("close"));switch(se){case"connecting":this._connect();break;case"connected":this.dispatchEvent(new CustomEvent("connect",{detail:{}}));break;case"disconnecting":this._disconnect(),this._disconnTimer=setTimeout(function(){p.Error("Disconnection timed out."),ye._updateConnectionState("disconnected")},j*1e3);break;case"disconnected":this.dispatchEvent(new CustomEvent("disconnect",{detail:{clean:this._rfbCleanDisconnect}}));break}}},{key:"_fail",value:function(se){switch(this._rfbConnectionState){case"disconnecting":p.Error("Failed when disconnecting: "+se);break;case"connected":p.Error("Failed while connected: "+se);break;case"connecting":p.Error("Failed when connecting: "+se);break;default:p.Error("RFB failure: "+se);break}return this._rfbCleanDisconnect=!1,this._updateConnectionState("disconnecting"),this._updateConnectionState("disconnected"),!1}},{key:"_setCapability",value:function(se,ye){this._capabilities[se]=ye,this.dispatchEvent(new CustomEvent("capabilities",{detail:{capabilities:this._capabilities}}))}},{key:"_handleMessage",value:function(){if(this._sock.rQlen===0){p.Warn("handleMessage called on an empty receive queue");return}switch(this._rfbConnectionState){case"disconnected":p.Error("Got data while disconnected");break;case"connected":for(;!this._flushing;){if(!this._normalMsg())break;if(this._sock.rQlen===0)break}break;default:this._initMsg();break}}},{key:"_handleKeyEvent",value:function(se,ye,xe){this.sendKey(se,ye,xe)}},{key:"_handleMouse",value:function(se){if(se.type==="click"&&se.target!==this._canvas)return;if(se.stopPropagation(),se.preventDefault(),se.type==="click"||se.type==="contextmenu")return;var ye=(0,g.clientToElement)(se.clientX,se.clientY,this._canvas);switch(se.type){case"mousedown":(0,f.setCapture)(this._canvas),this._handleMouseButton(ye.x,ye.y,!0,1<m.dragThreshold||Math.abs(pt)>m.dragThreshold)&&(this._viewportHasMoved=!0,this._viewportDragPos={x:se,y:ye},this._display.viewportChangePos(Ye,pt));return}if(this._mousePos={x:se,y:ye},this._mouseMoveTimer==null){var nt=Date.now()-this._mouseLastMoveTime;nt>W?(this._sendMouse(se,ye,this._mouseButtonMask),this._mouseLastMoveTime=Date.now()):this._mouseMoveTimer=setTimeout(function(){xe._handleDelayedMouseMove()},W-nt)}}},{key:"_handleDelayedMouseMove",value:function(){this._mouseMoveTimer=null,this._sendMouse(this._mousePos.x,this._mousePos.y,this._mouseButtonMask),this._mouseLastMoveTime=Date.now()}},{key:"_sendMouse",value:function(se,ye,xe){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;Ke.messages.pointerEvent(this._sock,this._display.absX(se),this._display.absY(ye),xe)}},{key:"_handleWheel",value:function(se){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;se.stopPropagation(),se.preventDefault();var ye=(0,g.clientToElement)(se.clientX,se.clientY,this._canvas),xe=se.deltaX,Ye=se.deltaY;se.deltaMode!==0&&(xe*=J,Ye*=J),this._accumulatedWheelDeltaX+=xe,this._accumulatedWheelDeltaY+=Ye,Math.abs(this._accumulatedWheelDeltaX)>=X&&(this._accumulatedWheelDeltaX<0?(this._handleMouseButton(ye.x,ye.y,!0,1<<5),this._handleMouseButton(ye.x,ye.y,!1,1<<5)):this._accumulatedWheelDeltaX>0&&(this._handleMouseButton(ye.x,ye.y,!0,1<<6),this._handleMouseButton(ye.x,ye.y,!1,1<<6)),this._accumulatedWheelDeltaX=0),Math.abs(this._accumulatedWheelDeltaY)>=X&&(this._accumulatedWheelDeltaY<0?(this._handleMouseButton(ye.x,ye.y,!0,1<<3),this._handleMouseButton(ye.x,ye.y,!1,1<<3)):this._accumulatedWheelDeltaY>0&&(this._handleMouseButton(ye.x,ye.y,!0,1<<4),this._handleMouseButton(ye.x,ye.y,!1,1<<4)),this._accumulatedWheelDeltaY=0)}},{key:"_fakeMouseMove",value:function(se,ye,xe){this._handleMouseMove(ye,xe),this._cursor.move(se.detail.clientX,se.detail.clientY)}},{key:"_handleTapEvent",value:function(se,ye){var xe=(0,g.clientToElement)(se.detail.clientX,se.detail.clientY,this._canvas);if(this._gestureLastTapTime!==null&&Date.now()-this._gestureLastTapTimeG;)this._handleMouseButton(xe.x,xe.y,!0,8),this._handleMouseButton(xe.x,xe.y,!1,8),this._gestureLastMagnitudeY+=G;for(;se.detail.magnitudeY-this._gestureLastMagnitudeY<-G;)this._handleMouseButton(xe.x,xe.y,!0,16),this._handleMouseButton(xe.x,xe.y,!1,16),this._gestureLastMagnitudeY-=G;for(;se.detail.magnitudeX-this._gestureLastMagnitudeX>G;)this._handleMouseButton(xe.x,xe.y,!0,32),this._handleMouseButton(xe.x,xe.y,!1,32),this._gestureLastMagnitudeX+=G;for(;se.detail.magnitudeX-this._gestureLastMagnitudeX<-G;)this._handleMouseButton(xe.x,xe.y,!0,64),this._handleMouseButton(xe.x,xe.y,!1,64),this._gestureLastMagnitudeX-=G;break;case"pinch":if(this._fakeMouseMove(se,xe.x,xe.y),ye=Math.hypot(se.detail.magnitudeX,se.detail.magnitudeY),Math.abs(ye-this._gestureLastMagnitudeX)>de){for(this._handleKeyEvent(s.default.XK_Control_L,"ControlLeft",!0);ye-this._gestureLastMagnitudeX>de;)this._handleMouseButton(xe.x,xe.y,!0,8),this._handleMouseButton(xe.x,xe.y,!1,8),this._gestureLastMagnitudeX+=de;for(;ye-this._gestureLastMagnitudeX<-de;)this._handleMouseButton(xe.x,xe.y,!0,16),this._handleMouseButton(xe.x,xe.y,!1,16),this._gestureLastMagnitudeX-=de}this._handleKeyEvent(s.default.XK_Control_L,"ControlLeft",!1);break}break;case"gestureend":switch(se.detail.type){case"onetap":case"twotap":case"threetap":case"pinch":case"twodrag":break;case"drag":this._fakeMouseMove(se,xe.x,xe.y),this._handleMouseButton(xe.x,xe.y,!1,1);break;case"longpress":this._fakeMouseMove(se,xe.x,xe.y),this._handleMouseButton(xe.x,xe.y,!1,4);break}break}}},{key:"_negotiateProtocolVersion",value:function(){if(this._sock.rQwait("version",12))return!1;var se=this._sock.rQshiftStr(12).substr(4,7);p.Info("Server ProtocolVersion: "+se);var ye=0;switch(se){case"000.000":ye=1;break;case"003.003":case"003.006":case"003.889":this._rfbVersion=3.3;break;case"003.007":this._rfbVersion=3.7;break;case"003.008":case"004.000":case"004.001":case"005.000":this._rfbVersion=3.8;break;default:return this._fail("Invalid server version "+se)}if(ye){for(var xe="ID:"+this._repeaterID;xe.length<250;)xe+="\0";return this._sock.sendString(xe),!0}this._rfbVersion>this._rfbMaxVersion&&(this._rfbVersion=this._rfbMaxVersion);var Ye="00"+parseInt(this._rfbVersion,10)+".00"+this._rfbVersion*10%10;this._sock.sendString("RFB "+Ye+` `),p.Debug("Sent ProtocolVersion: "+Ye),this._rfbInitState="Security"}},{key:"_negotiateSecurity",value:function(){function se(Ye,pt){for(var nt=0;nt=3.7){var ye=this._sock.rQshift8();if(this._sock.rQwait("security type",ye,1))return!1;if(ye===0)return this._rfbInitState="SecurityReason",this._securityContext="no security types",this._securityStatus=1,this._initMsg();var xe=this._sock.rQshiftBytes(ye);if(p.Debug("Server security types: "+xe),se(1,xe))this._rfbAuthScheme=1;else if(se(22,xe))this._rfbAuthScheme=22;else if(se(16,xe))this._rfbAuthScheme=16;else if(se(2,xe))this._rfbAuthScheme=2;else if(se(19,xe))this._rfbAuthScheme=19;else return this._fail("Unsupported security types (types: "+xe+")");this._sock.send([this._rfbAuthScheme])}else{if(this._sock.rQwait("security scheme",4))return!1;if(this._rfbAuthScheme=this._sock.rQshift32(),this._rfbAuthScheme==0)return this._rfbInitState="SecurityReason",this._securityContext="authentication scheme",this._securityStatus=1,this._initMsg()}return this._rfbInitState="Authentication",p.Debug("Authenticating using scheme: "+this._rfbAuthScheme),this._initMsg()}},{key:"_handleSecurityReason",value:function(){if(this._sock.rQwait("reason length",4))return!1;var se=this._sock.rQshift32(),ye="";if(se>0){if(this._sock.rQwait("reason",se,4))return!1;ye=this._sock.rQshiftStr(se)}return ye!==""?(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:this._securityStatus,reason:ye}})),this._fail("Security negotiation failed on "+this._securityContext+" (reason: "+ye+")")):(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:this._securityStatus}})),this._fail("Security negotiation failed on "+this._securityContext))}},{key:"_negotiateXvpAuth",value:function(){if(this._rfbCredentials.username===void 0||this._rfbCredentials.password===void 0||this._rfbCredentials.target===void 0)return this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["username","password","target"]}})),!1;var se=String.fromCharCode(this._rfbCredentials.username.length)+String.fromCharCode(this._rfbCredentials.target.length)+this._rfbCredentials.username+this._rfbCredentials.target;return this._sock.sendString(se),this._rfbAuthScheme=2,this._negotiateAuthentication()}},{key:"_negotiateVeNCryptAuth",value:function(){if(this._rfbVeNCryptState==0){if(this._sock.rQwait("vencrypt version",2))return!1;var se=this._sock.rQshift8(),ye=this._sock.rQshift8();if(!(se==0&&ye==2))return this._fail("Unsupported VeNCrypt version "+se+"."+ye);this._sock.send([0,2]),this._rfbVeNCryptState=1}if(this._rfbVeNCryptState==1){if(this._sock.rQwait("vencrypt ack",1))return!1;var xe=this._sock.rQshift8();if(xe!=0)return this._fail("VeNCrypt failure "+xe);this._rfbVeNCryptState=2}if(this._rfbVeNCryptState==2){if(this._sock.rQwait("vencrypt subtypes length",1))return!1;var Ye=this._sock.rQshift8();if(Ye<1)return this._fail("VeNCrypt subtypes empty");this._rfbVeNCryptSubtypesLength=Ye,this._rfbVeNCryptState=3}if(this._rfbVeNCryptState==3){if(this._sock.rQwait("vencrypt subtypes",4*this._rfbVeNCryptSubtypesLength))return!1;for(var pt=[],nt=0;nt0&&this._sock.rQwait("tunnel capabilities",16*se,4))return!1;if(this._rfbTightVNC=!0,se>0)return this._negotiateTightTunnels(se),!1}if(this._sock.rQwait("sub auth count",4))return!1;var ye=this._sock.rQshift32();if(ye===0)return this._rfbInitState="SecurityResult",!0;if(this._sock.rQwait("sub auth capabilities",16*ye,4))return!1;for(var xe={STDVNOAUTH__:1,STDVVNCAUTH_:2,TGHTULGNAUTH:129},Ye=[],pt=0;pt=3.8?(this._rfbInitState="SecurityResult",!0):(this._rfbInitState="ClientInitialisation",this._initMsg());case 22:return this._negotiateXvpAuth();case 2:return this._negotiateStdVNCAuth();case 16:return this._negotiateTightAuth();case 19:return this._negotiateVeNCryptAuth();case 129:return this._negotiateTightUnixAuth();default:return this._fail("Unsupported auth scheme (scheme: "+this._rfbAuthScheme+")")}}},{key:"_handleSecurityResult",value:function(){if(this._sock.rQwait("VNC auth response ",4))return!1;var se=this._sock.rQshift32();return se===0?(this._rfbInitState="ClientInitialisation",p.Debug("Authentication OK"),this._initMsg()):this._rfbVersion>=3.8?(this._rfbInitState="SecurityReason",this._securityContext="security result",this._securityStatus=se,this._initMsg()):(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:se}})),this._fail("Security handshake failed"))}},{key:"_negotiateServerInit",value:function(){if(this._sock.rQwait("server initialization",24))return!1;var se=this._sock.rQshift16(),ye=this._sock.rQshift16(),xe=this._sock.rQshift8(),Ye=this._sock.rQshift8(),pt=this._sock.rQshift8(),nt=this._sock.rQshift8(),Oe=this._sock.rQshift16(),vt=this._sock.rQshift16(),Ze=this._sock.rQshift16(),wt=this._sock.rQshift8(),xt=this._sock.rQshift8(),Ot=this._sock.rQshift8();this._sock.rQskipBytes(3);var Mt=this._sock.rQshift32();if(this._sock.rQwait("server init name",Mt,24))return!1;var Gt=this._sock.rQshiftStr(Mt);if(Gt=(0,S.decodeUTF8)(Gt,!0),this._rfbTightVNC){if(this._sock.rQwait("TightVNC extended server init header",8,24+Mt))return!1;var $e=this._sock.rQshift16(),pe=this._sock.rQshift16(),q=this._sock.rQshift16();this._sock.rQskipBytes(2);var bt=($e+pe+q)*16;if(this._sock.rQwait("TightVNC extended server init header",bt,32+Mt))return!1;this._sock.rQskipBytes(16*$e),this._sock.rQskipBytes(16*pe),this._sock.rQskipBytes(16*q)}return p.Info("Screen: "+se+"x"+ye+", bpp: "+xe+", depth: "+Ye+", bigEndian: "+pt+", trueColor: "+nt+", redMax: "+Oe+", greenMax: "+vt+", blueMax: "+Ze+", redShift: "+wt+", greenShift: "+xt+", blueShift: "+Ot),this._setDesktopName(Gt),this._resize(se,ye),this._viewOnly||this._keyboard.grab(),this._fbDepth=24,this._fbName==="Intel(r) AMT KVM"&&(p.Warn("Intel AMT KVM only supports 8/16 bit depths. Using low color mode."),this._fbDepth=8),Ke.messages.pixelFormat(this._sock,this._fbDepth,!0),this._sendEncodings(),Ke.messages.fbUpdateRequest(this._sock,!1,0,0,this._fbWidth,this._fbHeight),this._updateConnectionState("connected"),!0}},{key:"_sendEncodings",value:function(){var se=[];se.push(h.encodings.encodingCopyRect),this._fbDepth==24&&(se.push(h.encodings.encodingTight),se.push(h.encodings.encodingTightPNG),se.push(h.encodings.encodingHextile),se.push(h.encodings.encodingRRE)),se.push(h.encodings.encodingRaw),se.push(h.encodings.pseudoEncodingQualityLevel0+this._qualityLevel),se.push(h.encodings.pseudoEncodingCompressLevel0+this._compressionLevel),se.push(h.encodings.pseudoEncodingDesktopSize),se.push(h.encodings.pseudoEncodingLastRect),se.push(h.encodings.pseudoEncodingQEMUExtendedKeyEvent),se.push(h.encodings.pseudoEncodingExtendedDesktopSize),se.push(h.encodings.pseudoEncodingXvp),se.push(h.encodings.pseudoEncodingFence),se.push(h.encodings.pseudoEncodingContinuousUpdates),se.push(h.encodings.pseudoEncodingDesktopName),se.push(h.encodings.pseudoEncodingExtendedClipboard),this._fbDepth==24&&(se.push(h.encodings.pseudoEncodingVMwareCursor),se.push(h.encodings.pseudoEncodingCursor)),Ke.messages.clientEncodings(this._sock,se)}},{key:"_initMsg",value:function(){switch(this._rfbInitState){case"ProtocolVersion":return this._negotiateProtocolVersion();case"Security":return this._negotiateSecurity();case"Authentication":return this._negotiateAuthentication();case"SecurityResult":return this._handleSecurityResult();case"SecurityReason":return this._handleSecurityReason();case"ClientInitialisation":return this._sock.send([this._shared?1:0]),this._rfbInitState="ServerInitialisation",!0;case"ServerInitialisation":return this._negotiateServerInit();default:return this._fail("Unknown init state (state: "+this._rfbInitState+")")}}},{key:"_handleSetColourMapMsg",value:function(){return p.Debug("SetColorMapEntries"),this._fail("Unexpected SetColorMapEntries message")}},{key:"_handleServerCutText",value:function(){if(p.Debug("ServerCutText"),this._sock.rQwait("ServerCutText header",7,1))return!1;this._sock.rQskipBytes(3);var se=this._sock.rQshift32();if(se=(0,y.toSigned32bit)(se),this._sock.rQwait("ServerCutText content",Math.abs(se),8))return!1;if(se>=0){var ye=this._sock.rQshiftStr(se);if(this._viewOnly)return!0;this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:ye}}))}else{se=Math.abs(se);var xe=this._sock.rQshift32(),Ye=xe&65535,pt=xe&4278190080,nt=!!(pt&ne);if(nt){this._clipboardServerCapabilitiesFormats={},this._clipboardServerCapabilitiesActions={};for(var Oe=0;Oe<=15;Oe++){var vt=1<0&&Gt.charAt(Gt.length-1)==="\0"&&(Gt=Gt.slice(0,-1)),Gt=Gt.replace(`\r `,` `),this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:Gt}}))}}else return this._fail("Unexpected action in extended clipboard message: "+pt)}return!0}},{key:"_handleServerFenceMsg",value:function(){if(this._sock.rQwait("ServerFence header",8,1))return!1;this._sock.rQskipBytes(3);var se=this._sock.rQshift32(),ye=this._sock.rQshift8();if(this._sock.rQwait("ServerFence payload",ye,9))return!1;ye>64&&(p.Warn("Bad payload length ("+ye+") in fence response"),ye=64);var xe=this._sock.rQshiftStr(ye);return this._supportsFence=!0,se&1<<31?(se&=1<<0|1<<1,Ke.messages.clientFence(this._sock,se,xe),!0):this._fail("Unexpected fence response")}},{key:"_handleXvpMsg",value:function(){if(this._sock.rQwait("XVP version and message",3,1))return!1;this._sock.rQskipBytes(1);var se=this._sock.rQshift8(),ye=this._sock.rQshift8();switch(ye){case 0:p.Error("XVP Operation Failed");break;case 1:this._rfbXvpVer=se,p.Info("XVP extensions enabled (version "+this._rfbXvpVer+")"),this._setCapability("power",!0);break;default:this._fail("Illegal server XVP message (msg: "+ye+")");break}return!0}},{key:"_normalMsg",value:function(){var se;this._FBU.rects>0?se=0:se=this._sock.rQshift8();var ye,xe;switch(se){case 0:return xe=this._framebufferUpdate(),xe&&!this._enabledContinuousUpdates&&Ke.messages.fbUpdateRequest(this._sock,!0,0,0,this._fbWidth,this._fbHeight),xe;case 1:return this._handleSetColourMapMsg();case 2:return p.Debug("Bell"),this.dispatchEvent(new CustomEvent("bell",{detail:{}})),!0;case 3:return this._handleServerCutText();case 150:return ye=!this._supportsContinuousUpdates,this._supportsContinuousUpdates=!0,this._enabledContinuousUpdates=!1,ye&&(this._enabledContinuousUpdates=!0,this._updateContinuousUpdates(),p.Info("Enabling continuous updates.")),!0;case 248:return this._handleServerFenceMsg();case 250:return this._handleXvpMsg();default:return this._fail("Unexpected server message (type "+se+")"),p.Debug("sock.rQslice(0, 30): "+this._sock.rQslice(0,30)),!0}}},{key:"_onFlush",value:function(){this._flushing=!1,this._sock.rQlen>0&&this._handleMessage()}},{key:"_framebufferUpdate",value:function(){if(this._FBU.rects===0){if(this._sock.rQwait("FBU header",3,1))return!1;if(this._sock.rQskipBytes(1),this._FBU.rects=this._sock.rQshift16(),this._display.pending())return this._flushing=!0,this._display.flush(),!1}for(;this._FBU.rects>0;){if(this._FBU.encoding===null){if(this._sock.rQwait("rect header",12))return!1;var se=this._sock.rQshiftBytes(12);this._FBU.x=(se[0]<<8)+se[1],this._FBU.y=(se[2]<<8)+se[3],this._FBU.width=(se[4]<<8)+se[5],this._FBU.height=(se[6]<<8)+se[7],this._FBU.encoding=parseInt((se[8]<<24)+(se[9]<<16)+(se[10]<<8)+se[11],10)}if(!this._handleRect())return!1;this._FBU.rects--,this._FBU.encoding=null}return this._display.flip(),!0}},{key:"_handleRect",value:function(){switch(this._FBU.encoding){case h.encodings.pseudoEncodingLastRect:return this._FBU.rects=1,!0;case h.encodings.pseudoEncodingVMwareCursor:return this._handleVMwareCursor();case h.encodings.pseudoEncodingCursor:return this._handleCursor();case h.encodings.pseudoEncodingQEMUExtendedKeyEvent:try{var se=document.createEvent("keyboardEvent");se.code!==void 0&&(this._qemuExtKeyEventSupported=!0)}catch(ye){}return!0;case h.encodings.pseudoEncodingDesktopName:return this._handleDesktopName();case h.encodings.pseudoEncodingDesktopSize:return this._resize(this._FBU.width,this._FBU.height),!0;case h.encodings.pseudoEncodingExtendedDesktopSize:return this._handleExtendedDesktopSize();default:return this._handleDataRect()}}},{key:"_handleVMwareCursor",value:function(){var se=this._FBU.x,ye=this._FBU.y,xe=this._FBU.width,Ye=this._FBU.height;if(this._sock.rQwait("VMware cursor encoding",1))return!1;var pt=this._sock.rQshift8();this._sock.rQshift8();var nt,Oe=4;if(pt==0){var vt=4294967040|0;if(nt=new Array(xe*Ye*Oe),this._sock.rQwait("VMware cursor classic encoding",xe*Ye*Oe*2,2))return!1;for(var Ze=new Array(xe*Ye),wt=0;wt>8&255,pe=Gt>>16&255,q=Gt>>24&255;nt[Mt*Oe]=$e,nt[Mt*Oe+1]=pe,nt[Mt*Oe+2]=q,nt[Mt*Oe+3]=255}else(Ze[Mt]&vt)==vt?xt[Mt]==0?(nt[Mt*Oe]=0,nt[Mt*Oe+1]=0,nt[Mt*Oe+2]=0,nt[Mt*Oe+3]=0):((xt[Mt]&vt)==vt,nt[Mt*Oe]=0,nt[Mt*Oe+1]=0,nt[Mt*Oe+2]=0,nt[Mt*Oe+3]=255):(nt[Mt*Oe]=0,nt[Mt*Oe+1]=0,nt[Mt*Oe+2]=0,nt[Mt*Oe+3]=255)}else if(pt==1){if(this._sock.rQwait("VMware cursor alpha encoding",xe*Ye*4,2))return!1;nt=new Array(xe*Ye*Oe);for(var bt=0;bt>24&255,nt[bt*4+1]=qe>>16&255,nt[bt*4+2]=qe>>8&255,nt[bt*4+3]=qe&255}}else return p.Warn("The given cursor type is not supported: "+pt+" given."),!1;return this._updateCursor(nt,se,ye,xe,Ye),!0}},{key:"_handleCursor",value:function(){var se=this._FBU.x,ye=this._FBU.y,xe=this._FBU.width,Ye=this._FBU.height,pt=xe*Ye*4,nt=Math.ceil(xe/8)*Ye,Oe=pt+nt;if(this._sock.rQwait("cursor encoding",Oe))return!1;for(var vt=this._sock.rQshiftBytes(pt),Ze=this._sock.rQshiftBytes(nt),wt=new Uint8Array(xe*Ye*4),xt=0,Ot=0;Ot9){p.Error("qualityLevel must be an integer between 0 and 9");return}if(this._qualityLevel===se)return;this._qualityLevel=se,this._rfbConnectionState==="connected"&&this._sendEncodings()}},{key:"compressionLevel",get:function(){return this._compressionLevel},set:function(se){if(!Number.isInteger(se)||se<0||se>9){p.Error("compressionLevel must be an integer between 0 and 9");return}if(this._compressionLevel===se)return;this._compressionLevel=se,this._rfbConnectionState==="connected"&&this._sendEncodings()}}],[{key:"genDES",value:function(se,ye){var xe=se.split("").map(function(Ye){return Ye.charCodeAt(0)});return new e.default(xe).encrypt(ye)}}]),Ke}(d.default);N.default=ce,ce.messages={keyEvent:function(Te,Ke,Ie){var se=Te._sQ,ye=Te._sQlen;se[ye]=4,se[ye+1]=Ie,se[ye+2]=0,se[ye+3]=0,se[ye+4]=Ke>>24,se[ye+5]=Ke>>16,se[ye+6]=Ke>>8,se[ye+7]=Ke,Te._sQlen+=8,Te.flush()},QEMUExtendedKeyEvent:function(Te,Ke,Ie,se){function ye(nt){var Oe=se>>8,vt=se&255;return Oe===224&&vt<127?vt|128:nt}var xe=Te._sQ,Ye=Te._sQlen;xe[Ye]=255,xe[Ye+1]=0,xe[Ye+2]=Ie>>8,xe[Ye+3]=Ie,xe[Ye+4]=Ke>>24,xe[Ye+5]=Ke>>16,xe[Ye+6]=Ke>>8,xe[Ye+7]=Ke;var pt=ye(se);xe[Ye+8]=pt>>24,xe[Ye+9]=pt>>16,xe[Ye+10]=pt>>8,xe[Ye+11]=pt,Te._sQlen+=12,Te.flush()},pointerEvent:function(Te,Ke,Ie,se){var ye=Te._sQ,xe=Te._sQlen;ye[xe]=5,ye[xe+1]=se,ye[xe+2]=Ke>>8,ye[xe+3]=Ke,ye[xe+4]=Ie>>8,ye[xe+5]=Ie,Te._sQlen+=6,Te.flush()},_buildExtendedClipboardFlags:function(Te,Ke){for(var Ie=new Uint8Array(4),se=0,ye=0,xe=0;xe>24,Ie[1]=0,Ie[2]=0,Ie[3]=se,Ie},extendedClipboardProvide:function(Te,Ke,Ie){for(var se=new n.default,ye=[],xe=0;xe>24&255,Ye.length>>16&255,Ye.length>>8&255,Ye.length&255);for(var pt=0;pt>24,ye[xe+1]=Ie[se[Ye]]>>16,ye[xe+2]=Ie[se[Ye]]>>8,ye[xe+3]=Ie[se[Ye]]>>0,xe+=4,ye[3]|=1<2&&arguments[2]!==void 0?arguments[2]:!1,se=Te._sQ,ye=Te._sQlen;se[ye]=6,se[ye+1]=0,se[ye+2]=0,se[ye+3]=0;var xe;Ie?xe=(0,y.toUnsigned32bit)(-Ke.length):xe=Ke.length,se[ye+4]=xe>>24,se[ye+5]=xe>>16,se[ye+6]=xe>>8,se[ye+7]=xe,Te._sQlen+=8;for(var Ye=0,pt=Ke.length;pt>0;){for(var nt=Math.min(pt,Te._sQbufferSize-Te._sQlen),Oe=0;Oe>8,xe[Ye+3]=Ke,xe[Ye+4]=Ie>>8,xe[Ye+5]=Ie,xe[Ye+6]=1,xe[Ye+7]=0,xe[Ye+8]=se>>24,xe[Ye+9]=se>>16,xe[Ye+10]=se>>8,xe[Ye+11]=se,xe[Ye+12]=0,xe[Ye+13]=0,xe[Ye+14]=0,xe[Ye+15]=0,xe[Ye+16]=Ke>>8,xe[Ye+17]=Ke,xe[Ye+18]=Ie>>8,xe[Ye+19]=Ie,xe[Ye+20]=ye>>24,xe[Ye+21]=ye>>16,xe[Ye+22]=ye>>8,xe[Ye+23]=ye,Te._sQlen+=24,Te.flush()},clientFence:function(Te,Ke,Ie){var se=Te._sQ,ye=Te._sQlen;se[ye]=248,se[ye+1]=0,se[ye+2]=0,se[ye+3]=0,se[ye+4]=Ke>>24,se[ye+5]=Ke>>16,se[ye+6]=Ke>>8,se[ye+7]=Ke;var xe=Ie.length;se[ye+8]=xe;for(var Ye=0;Ye>8,Ye[pt+3]=Ie,Ye[pt+4]=se>>8,Ye[pt+5]=se,Ye[pt+6]=ye>>8,Ye[pt+7]=ye,Ye[pt+8]=xe>>8,Ye[pt+9]=xe,Te._sQlen+=10,Te.flush()},pixelFormat:function(Te,Ke,Ie){var se=Te._sQ,ye=Te._sQlen,xe;Ke>16?xe=32:Ke>8?xe=16:xe=8;var Ye=Math.floor(Ke/3);se[ye]=0,se[ye+1]=0,se[ye+2]=0,se[ye+3]=0,se[ye+4]=xe,se[ye+5]=Ke,se[ye+6]=0,se[ye+7]=Ie?1:0,se[ye+8]=0,se[ye+9]=(1<>8,Ie[se+3]=Ke.length;for(var ye=se+4,xe=0;xe>24,Ie[ye+1]=Ye>>16,Ie[ye+2]=Ye>>8,Ie[ye+3]=Ye,ye+=4}Te._sQlen+=ye-se,Te.flush()},fbUpdateRequest:function(Te,Ke,Ie,se,ye,xe){var Ye=Te._sQ,pt=Te._sQlen;typeof Ie=="undefined"&&(Ie=0),typeof se=="undefined"&&(se=0),Ye[pt]=3,Ye[pt+1]=Ke?1:0,Ye[pt+2]=Ie>>8&255,Ye[pt+3]=Ie&255,Ye[pt+4]=se>>8&255,Ye[pt+5]=se&255,Ye[pt+6]=ye>>8&255,Ye[pt+7]=ye&255,Ye[pt+8]=xe>>8&255,Ye[pt+9]=xe&255,Te._sQlen+=10,Te.flush()},xvpOp:function(Te,Ke,Ie){var se=Te._sQ,ye=Te._sQlen;se[ye]=250,se[ye+1]=0,se[ye+2]=Ke,se[ye+3]=Ie,Te._sQlen+=4,Te.flush()}},ce.cursors={none:{rgbaPixels:new Uint8Array,w:0,h:0,hotx:0,hoty:0},dot:{rgbaPixels:new Uint8Array([255,255,255,255,0,0,0,255,255,255,255,255,0,0,0,255,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,255,255,255,255,255]),w:3,h:3,hotx:1,hoty:1}}},"1eCo":function(R,N,t){(function(y){y(t("VrN/"))})(function(y){"use strict";var p={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},S={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};y.defineMode("xml",function(m,g){var f=m.indentUnit,d={},c=g.htmlMode?p:S;for(var a in c)d[a]=c[a];for(var a in g)d[a]=g[a];var n,i;function o(L,F){function B(z){return F.tokenize=z,z(L,F)}var P=L.next();if(P=="<")return L.eat("!")?L.eat("[")?L.match("CDATA[")?B(e("atom","]]>")):null:L.match("--")?B(e("comment","-->")):L.match("DOCTYPE",!0,!0)?(L.eatWhile(/[\w\._\-]/),B(s(1))):null:L.eat("?")?(L.eatWhile(/[\w\._\-]/),F.tokenize=e("meta","?>"),"meta"):(n=L.eat("/")?"closeTag":"openTag",F.tokenize=r,"tag bracket");if(P=="&"){var H;return L.eat("#")?L.eat("x")?H=L.eatWhile(/[a-fA-F\d]/)&&L.eat(";"):H=L.eatWhile(/[\d]/)&&L.eat(";"):H=L.eatWhile(/[\w\.\-:]/)&&L.eat(";"),H?"atom":"error"}else return L.eatWhile(/[^&<]/),null}o.isInText=!0;function r(L,F){var B=L.next();if(B==">"||B=="/"&&L.eat(">"))return F.tokenize=o,n=B==">"?"endTag":"selfcloseTag","tag bracket";if(B=="=")return n="equals",null;if(B=="<"){F.tokenize=o,F.state=v,F.tagName=F.tagStart=null;var P=F.tokenize(L,F);return P?P+" tag error":"tag error"}else return/[\'\"]/.test(B)?(F.tokenize=l(B),F.stringStartCol=L.column(),F.tokenize(L,F)):(L.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function l(L){var F=function(P,H){for(;!P.eol();)if(P.next()==L){H.tokenize=r;break}return"string"};return F.isInAttribute=!0,F}function e(L,F){return function(B,P){for(;!B.eol();){if(B.match(F)){P.tokenize=o;break}B.next()}return L}}function s(L){return function(F,B){for(var P;(P=F.next())!=null;){if(P=="<")return B.tokenize=s(L+1),B.tokenize(F,B);if(P==">")if(L==1){B.tokenize=o;break}else return B.tokenize=s(L-1),B.tokenize(F,B)}return"meta"}}function u(L,F,B){this.prev=L.context,this.tagName=F,this.indent=L.indented,this.startOfLine=B,(d.doNotIndent.hasOwnProperty(F)||L.context&&L.context.noIndent)&&(this.noIndent=!0)}function h(L){L.context&&(L.context=L.context.prev)}function A(L,F){for(var B;;){if(!L.context)return;if(B=L.context.tagName,!d.contextGrabbers.hasOwnProperty(B)||!d.contextGrabbers[B].hasOwnProperty(F))return;h(L)}}function v(L,F,B){return L=="openTag"?(B.tagStart=F.column(),w):L=="closeTag"?b:v}function w(L,F,B){return L=="word"?(B.tagName=F.current(),i="tag",_):d.allowMissingTagName&&L=="endTag"?(i="tag bracket",_(L,F,B)):(i="error",w)}function b(L,F,B){if(L=="word"){var P=F.current();return B.context&&B.context.tagName!=P&&d.implicitlyClosed.hasOwnProperty(B.context.tagName)&&h(B),B.context&&B.context.tagName==P||d.matchClosing===!1?(i="tag",E):(i="tag error",T)}else return d.allowMissingTagName&&L=="endTag"?(i="tag bracket",E(L,F,B)):(i="error",T)}function E(L,F,B){return L!="endTag"?(i="error",E):(h(B),v)}function T(L,F,B){return i="error",E(L,F,B)}function _(L,F,B){if(L=="word")return i="attribute",x;if(L=="endTag"||L=="selfcloseTag"){var P=B.tagName,H=B.tagStart;return B.tagName=B.tagStart=null,L=="selfcloseTag"||d.autoSelfClosers.hasOwnProperty(P)?A(B,P):(A(B,P),B.context=new u(B,P,H==B.indented)),v}return i="error",_}function x(L,F,B){return L=="equals"?C:(d.allowMissing||(i="error"),_(L,F,B))}function C(L,F,B){return L=="string"?I:L=="word"&&d.allowUnquoted?(i="string",_):(i="error",_(L,F,B))}function I(L,F,B){return L=="string"?I:_(L,F,B)}return{startState:function(F){var B={tokenize:o,state:v,indented:F||0,tagName:null,tagStart:null,context:null};return F!=null&&(B.baseIndent=F),B},token:function(F,B){if(!B.tagName&&F.sol()&&(B.indented=F.indentation()),F.eatSpace())return null;n=null;var P=B.tokenize(F,B);return(P||n)&&P!="comment"&&(i=null,B.state=B.state(n||P,F,B),i&&(P=i=="error"?P+" error":i)),P},indent:function(F,B,P){var H=F.context;if(F.tokenize.isInAttribute)return F.tagStart==F.indented?F.stringStartCol+1:F.indented+f;if(H&&H.noIndent)return y.Pass;if(F.tokenize!=r&&F.tokenize!=o)return P?P.match(/^(\s*)/)[0].length:0;if(F.tagName)return d.multilineTagIndentPastTag!==!1?F.tagStart+F.tagName.length+2:F.tagStart+f*(d.multilineTagIndentFactor||1);if(d.alignCDATA&&/$/,blockCommentStart:"",configuration:d.htmlMode?"html":"xml",helperType:d.htmlMode?"html":"xml",skipAttribute:function(F){F.state==C&&(F.state=_)},xmlCurrentTag:function(F){return F.tagName?{name:F.tagName,close:F.type=="closeTag"}:null},xmlCurrentContext:function(F){for(var B=[],P=F.context;P;P=P.prev)P.tagName&&B.push(P.tagName);return B.reverse()}}}),y.defineMIME("text/xml","xml"),y.defineMIME("application/xml","xml"),y.mimeModes.hasOwnProperty("text/html")||y.defineMIME("text/html",{name:"xml",htmlMode:!0})})},"1n7x":function(R,N,t){(function(y,p){/*! * html2pdf.js v0.10.1 * Copyright (c) 2021 Erik Koopmans * Released under the MIT License. */(function(m,g){R.exports=g(t("dtIV"),t("wOnQ"))})(self,function(S,m){return function(){var g={"./src/plugin/hyperlinks.js":function(n,i,o){"use strict";o.r(i);var r=o("./node_modules/core-js/modules/web.dom-collections.for-each.js"),l=o.n(r),e=o("./node_modules/core-js/modules/es.string.link.js"),s=o.n(e),u=o("./src/worker.js"),h=o("./src/utils.js"),A=[],v={toContainer:u.default.prototype.toContainer,toPdf:u.default.prototype.toPdf};u.default.prototype.toContainer=function(){return v.toContainer.call(this).then(function(){if(this.opt.enableLinks){var E=this.prop.container,T=E.querySelectorAll("a"),_=(0,h.unitConvert)(E.getBoundingClientRect(),this.prop.pageSize.k);A=[],Array.prototype.forEach.call(T,function(x){for(var C=x.getClientRects(),I=0;Ik){var j=K;K=k,k=j}}else if(F==="l"||F==="landscape"){if(F="l",k>K){var j=K;K=k,k=j}}else throw"Invalid orientation: "+F;var V={width:K,height:k,unit:B,k:U};return V},i.default=C.jsPDF},"./src/plugin/pagebreaks.js":function(n,i,o){"use strict";o.r(i);var r=o("./node_modules/core-js/modules/es.array.concat.js"),l=o.n(r),e=o("./node_modules/core-js/modules/es.array.slice.js"),s=o.n(e),u=o("./node_modules/core-js/modules/es.array.join.js"),h=o.n(u),A=o("./node_modules/core-js/modules/web.dom-collections.for-each.js"),v=o.n(A),w=o("./node_modules/core-js/modules/es.object.keys.js"),b=o.n(w),E=o("./src/worker.js"),T=o("./src/utils.js"),_={toContainer:E.default.prototype.toContainer};E.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},E.default.prototype.toContainer=function(){return _.toContainer.call(this).then(function(){var I=this.prop.container,L=this.prop.pageSize.inner.px.height,F=[].concat(this.opt.pagebreak.mode),B={avoidAll:F.indexOf("avoid-all")!==-1,css:F.indexOf("css")!==-1,legacy:F.indexOf("legacy")!==-1},P={},H=this;["before","after","avoid"].forEach(function(U){var k=B.avoidAll&&U==="avoid";P[U]=k?[]:[].concat(H.opt.pagebreak[U]||[]),P[U].length>0&&(P[U]=Array.prototype.slice.call(I.querySelectorAll(P[U].join(", "))))});var z=I.querySelectorAll(".html2pdf__page-break");z=Array.prototype.slice.call(z);var M=I.querySelectorAll("*");Array.prototype.forEach.call(M,function(k){var K={before:!1,after:B.legacy&&z.indexOf(k)!==-1,avoid:B.avoidAll};if(B.css){var j=window.getComputedStyle(k),V=["always","page","left","right"],W=["avoid","avoid-page"];K={before:K.before||V.indexOf(j.breakBefore||j.pageBreakBefore)!==-1,after:K.after||V.indexOf(j.breakAfter||j.pageBreakAfter)!==-1,avoid:K.avoid||W.indexOf(j.breakInside||j.pageBreakInside)!==-1}}Object.keys(K).forEach(function(Ae){K[Ae]=K[Ae]||P[Ae].indexOf(k)!==-1});var X=k.getBoundingClientRect();if(K.avoid&&!K.before){var J=Math.floor(X.top/L),de=Math.floor(X.bottom/L),G=Math.abs(X.bottom-X.top)/L;de!==J&&G<=1&&(K.before=!0)}if(K.before){var ae=(0,T.createElement)("div",{style:{display:"block",height:L-X.top%L+"px"}});k.parentNode.insertBefore(ae,k)}if(K.after){var ae=(0,T.createElement)("div",{style:{display:"block",height:L-X.bottom%L+"px"}});k.parentNode.insertBefore(ae,k.nextSibling)}})})}},"./src/utils.js":function(n,i,o){"use strict";o.r(i),o.d(i,{objType:function(){return F},createElement:function(){return B},cloneNode:function(){return P},unitConvert:function(){return H},toPx:function(){return z}});var r=o("./node_modules/core-js/modules/es.number.constructor.js"),l=o.n(r),e=o("./node_modules/core-js/modules/es.symbol.js"),s=o.n(e),u=o("./node_modules/core-js/modules/es.symbol.description.js"),h=o.n(u),A=o("./node_modules/core-js/modules/es.object.to-string.js"),v=o.n(A),w=o("./node_modules/core-js/modules/es.symbol.iterator.js"),b=o.n(w),E=o("./node_modules/core-js/modules/es.array.iterator.js"),T=o.n(E),_=o("./node_modules/core-js/modules/es.string.iterator.js"),x=o.n(_),C=o("./node_modules/core-js/modules/web.dom-collections.iterator.js"),I=o.n(C);function L(M){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?L=function(k){return typeof k}:L=function(k){return k&&typeof Symbol=="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k},L(M)}var F=function(U){var k=L(U);return k==="undefined"?"undefined":k==="string"||U instanceof String?"string":k==="number"||U instanceof Number?"number":k==="function"||U instanceof Function?"function":!!U&&U.constructor===Array?"array":U&&U.nodeType===1?"element":k==="object"?"object":"unknown"},B=function(U,k){var K=document.createElement(U);if(k.className&&(K.className=k.className),k.innerHTML){K.innerHTML=k.innerHTML;for(var j=K.getElementsByTagName("script"),V=j.length;V-- >0;null)j[V].parentNode.removeChild(j[V])}for(var W in k.style)K.style[W]=k.style[W];return K},P=function M(U,k){for(var K=U.nodeType===3?document.createTextNode(U.nodeValue):U.cloneNode(!1),j=U.firstChild;j;j=j.nextSibling)(k===!0||j.nodeType!==1||j.nodeName!=="SCRIPT")&&K.appendChild(M(j,k));return U.nodeType===1&&(U.nodeName==="CANVAS"?(K.width=U.width,K.height=U.height,K.getContext("2d").drawImage(U,0,0)):(U.nodeName==="TEXTAREA"||U.nodeName==="SELECT")&&(K.value=U.value),K.addEventListener("load",function(){K.scrollTop=U.scrollTop,K.scrollLeft=U.scrollLeft},!0)),K},H=function(U,k){if(F(U)==="number")return U*72/96/k;var K={};for(var j in U)K[j]=U[j]*72/96/k;return K},z=function(U,k){return Math.floor(U*k/72*96)}},"./src/worker.js":function(n,i,o){"use strict";o.r(i);var r=o("./node_modules/core-js/modules/es.object.assign.js"),l=o.n(r),e=o("./node_modules/core-js/modules/es.array.map.js"),s=o.n(e),u=o("./node_modules/core-js/modules/es.object.keys.js"),h=o.n(u),A=o("./node_modules/core-js/modules/es.array.concat.js"),v=o.n(A),w=o("./node_modules/core-js/modules/es.object.to-string.js"),b=o.n(w),E=o("./node_modules/core-js/modules/es.regexp.to-string.js"),T=o.n(E),_=o("./node_modules/core-js/modules/es.function.name.js"),x=o.n(_),C=o("./node_modules/core-js/modules/web.dom-collections.for-each.js"),I=o.n(C),L=o("jspdf"),F=o.n(L),B=o("html2canvas"),P=o.n(B),H=o("./src/utils.js"),z=o("./node_modules/es6-promise/dist/es6-promise.js"),M=o.n(z),U=M().Promise,k=function K(j){var V=Object.assign(K.convert(U.resolve()),JSON.parse(JSON.stringify(K.template))),W=K.convert(U.resolve(),V);return W=W.setProgress(1,K,1,[K]),W=W.set(j),W};k.prototype=Object.create(U.prototype),k.prototype.constructor=k,k.convert=function(j,V){return j.__proto__=V||k.prototype,j},k.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],image:{type:"jpeg",quality:.95},enableLinks:!0,html2canvas:{},jsPDF:{}}},k.prototype.from=function(j,V){function W(X){switch((0,H.objType)(X)){case"string":return"string";case"element":return X.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){V=V||W(j);switch(V){case"string":return this.set({src:(0,H.createElement)("div",{innerHTML:j})});case"element":return this.set({src:j});case"canvas":return this.set({canvas:j});case"img":return this.set({img:j});default:return this.error("Unknown source type.")}})},k.prototype.to=function(j){switch(j){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},k.prototype.toContainer=function(){var j=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(j).then(function(){var W={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},X={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};W.opacity=0;var J=(0,H.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,H.createElement)("div",{className:"html2pdf__overlay",style:W}),this.prop.container=(0,H.createElement)("div",{className:"html2pdf__container",style:X}),this.prop.container.appendChild(J),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},k.prototype.toCanvas=function(){var j=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(j).then(function(){var W=Object.assign({},this.opt.html2canvas);return delete W.onrendered,B(this.prop.container,W)}).then(function(W){var X=this.opt.html2canvas.onrendered||function(){};X(W),this.prop.canvas=W,document.body.removeChild(this.prop.overlay)})},k.prototype.toImg=function(){var j=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(j).then(function(){var W=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=W})},k.prototype.toPdf=function(){var j=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(j).then(function(){var W=this.prop.canvas,X=this.opt,J=W.height,de=Math.floor(W.width*this.prop.pageSize.inner.ratio),G=Math.ceil(J/de),ae=this.prop.pageSize.inner.height,Ae=document.createElement("canvas"),me=Ae.getContext("2d");Ae.width=W.width,Ae.height=de,this.prop.pdf=this.prop.pdf||new L.jsPDF(X.jsPDF);for(var Me=0;Me1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(n,i,o){var r=o("./node_modules/core-js/internals/to-indexed-object.js"),l=o("./node_modules/core-js/internals/to-length.js"),e=o("./node_modules/core-js/internals/to-absolute-index.js"),s=function(h){return function(A,v,w){var b=r(A),E=l(b.length),T=e(w,E),_;if(h&&v!=v){for(;E>T;)if(_=b[T++],_!=_)return!0}else for(;E>T;T++)if((h||T in b)&&b[T]===v)return h||T||0;return!h&&-1}};n.exports={includes:s(!0),indexOf:s(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(n,i,o){var r=o("./node_modules/core-js/internals/function-bind-context.js"),l=o("./node_modules/core-js/internals/indexed-object.js"),e=o("./node_modules/core-js/internals/to-object.js"),s=o("./node_modules/core-js/internals/to-length.js"),u=o("./node_modules/core-js/internals/array-species-create.js"),h=[].push,A=function(w){var b=w==1,E=w==2,T=w==3,_=w==4,x=w==6,C=w==7,I=w==5||x;return function(L,F,B,P){for(var H=e(L),z=l(H),M=r(F,B,3),U=s(z.length),k=0,K=P||u,j=b?K(L,U):E||C?K(L,0):void 0,V,W;U>k;k++)if((I||k in z)&&(V=z[k],W=M(V,k,H),w))if(b)j[k]=W;else if(W)switch(w){case 3:return!0;case 5:return V;case 6:return k;case 2:h.call(j,V)}else switch(w){case 4:return!1;case 7:h.call(j,V)}return x?-1:T||_?_:j}};n.exports={forEach:A(0),map:A(1),filter:A(2),some:A(3),every:A(4),find:A(5),findIndex:A(6),filterReject:A(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(n,i,o){var r=o("./node_modules/core-js/internals/fails.js"),l=o("./node_modules/core-js/internals/well-known-symbol.js"),e=o("./node_modules/core-js/internals/engine-v8-version.js"),s=l("species");n.exports=function(u){return e>=51||!r(function(){var h=[],A=h.constructor={};return A[s]=function(){return{foo:1}},h[u](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(n,i,o){"use strict";var r=o("./node_modules/core-js/internals/fails.js");n.exports=function(l,e){var s=[][l];return!!s&&r(function(){s.call(null,e||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(n,i,o){var r=o("./node_modules/core-js/internals/is-object.js"),l=o("./node_modules/core-js/internals/is-array.js"),e=o("./node_modules/core-js/internals/well-known-symbol.js"),s=e("species");n.exports=function(u){var h;return l(u)&&(h=u.constructor,typeof h=="function"&&(h===Array||l(h.prototype))?h=void 0:r(h)&&(h=h[s],h===null&&(h=void 0))),h===void 0?Array:h}},"./node_modules/core-js/internals/array-species-create.js":function(n,i,o){var r=o("./node_modules/core-js/internals/array-species-constructor.js");n.exports=function(l,e){return new(r(l))(e===0?0:e)}},"./node_modules/core-js/internals/classof-raw.js":function(n){var i={}.toString;n.exports=function(o){return i.call(o).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(n,i,o){var r=o("./node_modules/core-js/internals/to-string-tag-support.js"),l=o("./node_modules/core-js/internals/classof-raw.js"),e=o("./node_modules/core-js/internals/well-known-symbol.js"),s=e("toStringTag"),u=l(function(){return arguments}())=="Arguments",h=function(v,w){try{return v[w]}catch(b){}};n.exports=r?l:function(A){var v,w,b;return A===void 0?"Undefined":A===null?"Null":typeof(w=h(v=Object(A),s))=="string"?w:u?l(v):(b=l(v))=="Object"&&typeof v.callee=="function"?"Arguments":b}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(n,i,o){var r=o("./node_modules/core-js/internals/has.js"),l=o("./node_modules/core-js/internals/own-keys.js"),e=o("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),s=o("./node_modules/core-js/internals/object-define-property.js");n.exports=function(u,h){for(var A=l(h),v=s.f,w=e.f,b=0;b"+v+""}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(n,i,o){"use strict";var r=o("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,l=o("./node_modules/core-js/internals/object-create.js"),e=o("./node_modules/core-js/internals/create-property-descriptor.js"),s=o("./node_modules/core-js/internals/set-to-string-tag.js"),u=o("./node_modules/core-js/internals/iterators.js"),h=function(){return this};n.exports=function(A,v,w){var b=v+" Iterator";return A.prototype=l(r,{next:e(1,w)}),s(A,b,!1,!0),u[b]=h,A}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(n,i,o){var r=o("./node_modules/core-js/internals/descriptors.js"),l=o("./node_modules/core-js/internals/object-define-property.js"),e=o("./node_modules/core-js/internals/create-property-descriptor.js");n.exports=r?function(s,u,h){return l.f(s,u,e(1,h))}:function(s,u,h){return s[u]=h,s}},"./node_modules/core-js/internals/create-property-descriptor.js":function(n){n.exports=function(i,o){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:o}}},"./node_modules/core-js/internals/create-property.js":function(n,i,o){"use strict";var r=o("./node_modules/core-js/internals/to-property-key.js"),l=o("./node_modules/core-js/internals/object-define-property.js"),e=o("./node_modules/core-js/internals/create-property-descriptor.js");n.exports=function(s,u,h){var A=r(u);A in s?l.f(s,A,e(0,h)):s[A]=h}},"./node_modules/core-js/internals/define-iterator.js":function(n,i,o){"use strict";var r=o("./node_modules/core-js/internals/export.js"),l=o("./node_modules/core-js/internals/create-iterator-constructor.js"),e=o("./node_modules/core-js/internals/object-get-prototype-of.js"),s=o("./node_modules/core-js/internals/object-set-prototype-of.js"),u=o("./node_modules/core-js/internals/set-to-string-tag.js"),h=o("./node_modules/core-js/internals/create-non-enumerable-property.js"),A=o("./node_modules/core-js/internals/redefine.js"),v=o("./node_modules/core-js/internals/well-known-symbol.js"),w=o("./node_modules/core-js/internals/is-pure.js"),b=o("./node_modules/core-js/internals/iterators.js"),E=o("./node_modules/core-js/internals/iterators-core.js"),T=E.IteratorPrototype,_=E.BUGGY_SAFARI_ITERATORS,x=v("iterator"),C="keys",I="values",L="entries",F=function(){return this};n.exports=function(B,P,H,z,M,U,k){l(H,P,z);var K=function(Me){if(Me===M&&J)return J;if(!_&&Me in W)return W[Me];switch(Me){case C:return function(){return new H(this,Me)};case I:return function(){return new H(this,Me)};case L:return function(){return new H(this,Me)}}return function(){return new H(this)}},j=P+" Iterator",V=!1,W=B.prototype,X=W[x]||W["@@iterator"]||M&&W[M],J=!_&&X||K(M),de=P=="Array"&&W.entries||X,G,ae,Ae;if(de&&(G=e(de.call(new B)),T!==Object.prototype&&G.next&&(!w&&e(G)!==T&&(s?s(G,T):typeof G[x]!="function"&&h(G,x,F)),u(G,j,!0,!0),w&&(b[j]=F))),M==I&&X&&X.name!==I&&(V=!0,J=function(){return X.call(this)}),(!w||k)&&W[x]!==J&&h(W,x,J),b[P]=J,M)if(ae={values:K(I),keys:U?J:K(C),entries:K(L)},k)for(Ae in ae)(_||V||!(Ae in W))&&A(W,Ae,ae[Ae]);else r({target:P,proto:!0,forced:_||V},ae);return ae}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(n,i,o){var r=o("./node_modules/core-js/internals/path.js"),l=o("./node_modules/core-js/internals/has.js"),e=o("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),s=o("./node_modules/core-js/internals/object-define-property.js").f;n.exports=function(u){var h=r.Symbol||(r.Symbol={});l(h,u)||s(h,u,{value:e.f(u)})}},"./node_modules/core-js/internals/descriptors.js":function(n,i,o){var r=o("./node_modules/core-js/internals/fails.js");n.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(n,i,o){var r=o("./node_modules/core-js/internals/global.js"),l=o("./node_modules/core-js/internals/is-object.js"),e=r.document,s=l(e)&&l(e.createElement);n.exports=function(u){return s?e.createElement(u):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(n){n.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"./node_modules/core-js/internals/engine-user-agent.js":function(n,i,o){var r=o("./node_modules/core-js/internals/get-built-in.js");n.exports=r("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(n,i,o){var r=o("./node_modules/core-js/internals/global.js"),l=o("./node_modules/core-js/internals/engine-user-agent.js"),e=r.process,s=r.Deno,u=e&&e.versions||s&&s.version,h=u&&u.v8,A,v;h?(A=h.split("."),v=A[0]<4?1:A[0]+A[1]):l&&(A=l.match(/Edge\/(\d+)/),(!A||A[1]>=74)&&(A=l.match(/Chrome\/(\d+)/),A&&(v=A[1]))),n.exports=v&&+v},"./node_modules/core-js/internals/enum-bug-keys.js":function(n){n.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(n,i,o){var r=o("./node_modules/core-js/internals/global.js"),l=o("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,e=o("./node_modules/core-js/internals/create-non-enumerable-property.js"),s=o("./node_modules/core-js/internals/redefine.js"),u=o("./node_modules/core-js/internals/set-global.js"),h=o("./node_modules/core-js/internals/copy-constructor-properties.js"),A=o("./node_modules/core-js/internals/is-forced.js");n.exports=function(v,w){var b=v.target,E=v.global,T=v.stat,_,x,C,I,L,F;if(E?x=r:T?x=r[b]||u(b,{}):x=(r[b]||{}).prototype,x)for(C in w){if(L=w[C],v.noTargetGet?(F=l(x,C),I=F&&F.value):I=x[C],_=A(E?C:b+(T?".":"#")+C,v.forced),!_&&I!==void 0){if(typeof L===typeof I)continue;h(L,I)}(v.sham||I&&I.sham)&&e(L,"sham",!0),s(x,C,L,v)}}},"./node_modules/core-js/internals/fails.js":function(n){n.exports=function(i){try{return!!i()}catch(o){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(n,i,o){var r=o("./node_modules/core-js/internals/a-function.js");n.exports=function(l,e,s){if(r(l),e===void 0)return l;switch(s){case 0:return function(){return l.call(e)};case 1:return function(u){return l.call(e,u)};case 2:return function(u,h){return l.call(e,u,h)};case 3:return function(u,h,A){return l.call(e,u,h,A)}}return function(){return l.apply(e,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(n,i,o){var r=o("./node_modules/core-js/internals/global.js"),l=function(s){return typeof s=="function"?s:void 0};n.exports=function(e,s){return arguments.length<2?l(r[e]):r[e]&&r[e][s]}},"./node_modules/core-js/internals/global.js":function(n){var i=function(r){return r&&r.Math==Math&&r};n.exports=i(typeof globalThis=="object"&&globalThis)||i(typeof window=="object"&&window)||i(typeof self=="object"&&self)||i(typeof y=="object"&&y)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(n,i,o){var r=o("./node_modules/core-js/internals/to-object.js"),l={}.hasOwnProperty;n.exports=Object.hasOwn||function(s,u){return l.call(r(s),u)}},"./node_modules/core-js/internals/hidden-keys.js":function(n){n.exports={}},"./node_modules/core-js/internals/html.js":function(n,i,o){var r=o("./node_modules/core-js/internals/get-built-in.js");n.exports=r("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(n,i,o){var r=o("./node_modules/core-js/internals/descriptors.js"),l=o("./node_modules/core-js/internals/fails.js"),e=o("./node_modules/core-js/internals/document-create-element.js");n.exports=!r&&!l(function(){return Object.defineProperty(e("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(n,i,o){var r=o("./node_modules/core-js/internals/fails.js"),l=o("./node_modules/core-js/internals/classof-raw.js"),e="".split;n.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(s){return l(s)=="String"?e.call(s,""):Object(s)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(n,i,o){var r=o("./node_modules/core-js/internals/is-object.js"),l=o("./node_modules/core-js/internals/object-set-prototype-of.js");n.exports=function(e,s,u){var h,A;return l&&typeof(h=s.constructor)=="function"&&h!==u&&r(A=h.prototype)&&A!==u.prototype&&l(e,A),e}},"./node_modules/core-js/internals/inspect-source.js":function(n,i,o){var r=o("./node_modules/core-js/internals/shared-store.js"),l=Function.toString;typeof r.inspectSource!="function"&&(r.inspectSource=function(e){return l.call(e)}),n.exports=r.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(n,i,o){var r=o("./node_modules/core-js/internals/native-weak-map.js"),l=o("./node_modules/core-js/internals/global.js"),e=o("./node_modules/core-js/internals/is-object.js"),s=o("./node_modules/core-js/internals/create-non-enumerable-property.js"),u=o("./node_modules/core-js/internals/has.js"),h=o("./node_modules/core-js/internals/shared-store.js"),A=o("./node_modules/core-js/internals/shared-key.js"),v=o("./node_modules/core-js/internals/hidden-keys.js"),w="Object already initialized",b=l.WeakMap,E,T,_,x=function(z){return _(z)?T(z):E(z,{})},C=function(z){return function(M){var U;if(!e(M)||(U=T(M)).type!==z)throw TypeError("Incompatible receiver, "+z+" required");return U}};if(r||h.state){var I=h.state||(h.state=new b),L=I.get,F=I.has,B=I.set;E=function(z,M){if(F.call(I,z))throw new TypeError(w);return M.facade=z,B.call(I,z,M),M},T=function(z){return L.call(I,z)||{}},_=function(z){return F.call(I,z)}}else{var P=A("state");v[P]=!0,E=function(z,M){if(u(z,P))throw new TypeError(w);return M.facade=z,s(z,P,M),M},T=function(z){return u(z,P)?z[P]:{}},_=function(z){return u(z,P)}}n.exports={set:E,get:T,has:_,enforce:x,getterFor:C}},"./node_modules/core-js/internals/is-array.js":function(n,i,o){var r=o("./node_modules/core-js/internals/classof-raw.js");n.exports=Array.isArray||function(e){return r(e)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(n,i,o){var r=o("./node_modules/core-js/internals/fails.js"),l=/#|\.prototype\./,e=function(w,b){var E=u[s(w)];return E==A?!0:E==h?!1:typeof b=="function"?r(b):!!b},s=e.normalize=function(v){return String(v).replace(l,".").toLowerCase()},u=e.data={},h=e.NATIVE="N",A=e.POLYFILL="P";n.exports=e},"./node_modules/core-js/internals/is-object.js":function(n){n.exports=function(i){return typeof i=="object"?i!==null:typeof i=="function"}},"./node_modules/core-js/internals/is-pure.js":function(n){n.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(n,i,o){var r=o("./node_modules/core-js/internals/get-built-in.js"),l=o("./node_modules/core-js/internals/use-symbol-as-uid.js");n.exports=l?function(e){return typeof e=="symbol"}:function(e){var s=r("Symbol");return typeof s=="function"&&Object(e)instanceof s}},"./node_modules/core-js/internals/iterators-core.js":function(n,i,o){"use strict";var r=o("./node_modules/core-js/internals/fails.js"),l=o("./node_modules/core-js/internals/object-get-prototype-of.js"),e=o("./node_modules/core-js/internals/create-non-enumerable-property.js"),s=o("./node_modules/core-js/internals/has.js"),u=o("./node_modules/core-js/internals/well-known-symbol.js"),h=o("./node_modules/core-js/internals/is-pure.js"),A=u("iterator"),v=!1,w=function(){return this},b,E,T;[].keys&&(T=[].keys(),"next"in T?(E=l(l(T)),E!==Object.prototype&&(b=E)):v=!0);var _=b==null||r(function(){var x={};return b[A].call(x)!==x});_&&(b={}),(!h||_)&&!s(b,A)&&e(b,A,w),n.exports={IteratorPrototype:b,BUGGY_SAFARI_ITERATORS:v}},"./node_modules/core-js/internals/iterators.js":function(n){n.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(n,i,o){var r=o("./node_modules/core-js/internals/engine-v8-version.js"),l=o("./node_modules/core-js/internals/fails.js");n.exports=!!Object.getOwnPropertySymbols&&!l(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41})},"./node_modules/core-js/internals/native-weak-map.js":function(n,i,o){var r=o("./node_modules/core-js/internals/global.js"),l=o("./node_modules/core-js/internals/inspect-source.js"),e=r.WeakMap;n.exports=typeof e=="function"&&/native code/.test(l(e))},"./node_modules/core-js/internals/object-assign.js":function(n,i,o){"use strict";var r=o("./node_modules/core-js/internals/descriptors.js"),l=o("./node_modules/core-js/internals/fails.js"),e=o("./node_modules/core-js/internals/object-keys.js"),s=o("./node_modules/core-js/internals/object-get-own-property-symbols.js"),u=o("./node_modules/core-js/internals/object-property-is-enumerable.js"),h=o("./node_modules/core-js/internals/to-object.js"),A=o("./node_modules/core-js/internals/indexed-object.js"),v=Object.assign,w=Object.defineProperty;n.exports=!v||l(function(){if(r&&v({b:1},v(w({},"a",{enumerable:!0,get:function(){w(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var b={},E={},T=Symbol(),_="abcdefghijklmnopqrst";return b[T]=7,_.split("").forEach(function(x){E[x]=x}),v({},b)[T]!=7||e(v({},E)).join("")!=_})?function(E,T){for(var _=h(E),x=arguments.length,C=1,I=s.f,L=u.f;x>C;)for(var F=A(arguments[C++]),B=I?e(F).concat(I(F)):e(F),P=B.length,H=0,z;P>H;)z=B[H++],(!r||L.call(F,z))&&(_[z]=F[z]);return _}:v},"./node_modules/core-js/internals/object-create.js":function(n,i,o){var r=o("./node_modules/core-js/internals/an-object.js"),l=o("./node_modules/core-js/internals/object-define-properties.js"),e=o("./node_modules/core-js/internals/enum-bug-keys.js"),s=o("./node_modules/core-js/internals/hidden-keys.js"),u=o("./node_modules/core-js/internals/html.js"),h=o("./node_modules/core-js/internals/document-create-element.js"),A=o("./node_modules/core-js/internals/shared-key.js"),v=">",w="<",b="prototype",E="script",T=A("IE_PROTO"),_=function(){},x=function(P){return w+E+v+P+w+"/"+E+v},C=function(P){P.write(x("")),P.close();var H=P.parentWindow.Object;return P=null,H},I=function(){var P=h("iframe"),H="java"+E+":",z;if(P.style)return P.style.display="none",u.appendChild(P),P.src=String(H),z=P.contentWindow.document,z.open(),z.write(x("document.F=Object")),z.close(),z.F},L,F=function(){try{L=new ActiveXObject("htmlfile")}catch(H){}F=document.domain&&L?C(L):I()||C(L);for(var P=e.length;P--;)delete F[b][e[P]];return F()};s[T]=!0,n.exports=Object.create||function(P,H){var z;return P!==null?(_[b]=r(P),z=new _,_[b]=null,z[T]=P):z=F(),H===void 0?z:l(z,H)}},"./node_modules/core-js/internals/object-define-properties.js":function(n,i,o){var r=o("./node_modules/core-js/internals/descriptors.js"),l=o("./node_modules/core-js/internals/object-define-property.js"),e=o("./node_modules/core-js/internals/an-object.js"),s=o("./node_modules/core-js/internals/object-keys.js");n.exports=r?Object.defineProperties:function(h,A){e(h);for(var v=s(A),w=v.length,b=0,E;w>b;)l.f(h,E=v[b++],A[E]);return h}},"./node_modules/core-js/internals/object-define-property.js":function(n,i,o){var r=o("./node_modules/core-js/internals/descriptors.js"),l=o("./node_modules/core-js/internals/ie8-dom-define.js"),e=o("./node_modules/core-js/internals/an-object.js"),s=o("./node_modules/core-js/internals/to-property-key.js"),u=Object.defineProperty;i.f=r?u:function(A,v,w){if(e(A),v=s(v),e(w),l)try{return u(A,v,w)}catch(b){}if("get"in w||"set"in w)throw TypeError("Accessors not supported");return"value"in w&&(A[v]=w.value),A}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(n,i,o){var r=o("./node_modules/core-js/internals/descriptors.js"),l=o("./node_modules/core-js/internals/object-property-is-enumerable.js"),e=o("./node_modules/core-js/internals/create-property-descriptor.js"),s=o("./node_modules/core-js/internals/to-indexed-object.js"),u=o("./node_modules/core-js/internals/to-property-key.js"),h=o("./node_modules/core-js/internals/has.js"),A=o("./node_modules/core-js/internals/ie8-dom-define.js"),v=Object.getOwnPropertyDescriptor;i.f=r?v:function(b,E){if(b=s(b),E=u(E),A)try{return v(b,E)}catch(T){}if(h(b,E))return e(!l.f.call(b,E),b[E])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(n,i,o){var r=o("./node_modules/core-js/internals/to-indexed-object.js"),l=o("./node_modules/core-js/internals/object-get-own-property-names.js").f,e={}.toString,s=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(A){try{return l(A)}catch(v){return s.slice()}};n.exports.f=function(A){return s&&e.call(A)=="[object Window]"?u(A):l(r(A))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(n,i,o){var r=o("./node_modules/core-js/internals/object-keys-internal.js"),l=o("./node_modules/core-js/internals/enum-bug-keys.js"),e=l.concat("length","prototype");i.f=Object.getOwnPropertyNames||function(u){return r(u,e)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(n,i){i.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(n,i,o){var r=o("./node_modules/core-js/internals/has.js"),l=o("./node_modules/core-js/internals/to-object.js"),e=o("./node_modules/core-js/internals/shared-key.js"),s=o("./node_modules/core-js/internals/correct-prototype-getter.js"),u=e("IE_PROTO"),h=Object.prototype;n.exports=s?Object.getPrototypeOf:function(A){return A=l(A),r(A,u)?A[u]:typeof A.constructor=="function"&&A instanceof A.constructor?A.constructor.prototype:A instanceof Object?h:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(n,i,o){var r=o("./node_modules/core-js/internals/has.js"),l=o("./node_modules/core-js/internals/to-indexed-object.js"),e=o("./node_modules/core-js/internals/array-includes.js").indexOf,s=o("./node_modules/core-js/internals/hidden-keys.js");n.exports=function(u,h){var A=l(u),v=0,w=[],b;for(b in A)!r(s,b)&&r(A,b)&&w.push(b);for(;h.length>v;)r(A,b=h[v++])&&(~e(w,b)||w.push(b));return w}},"./node_modules/core-js/internals/object-keys.js":function(n,i,o){var r=o("./node_modules/core-js/internals/object-keys-internal.js"),l=o("./node_modules/core-js/internals/enum-bug-keys.js");n.exports=Object.keys||function(s){return r(s,l)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(n,i){"use strict";var o={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,l=r&&!o.call({1:2},1);i.f=l?function(s){var u=r(this,s);return!!u&&u.enumerable}:o},"./node_modules/core-js/internals/object-set-prototype-of.js":function(n,i,o){var r=o("./node_modules/core-js/internals/an-object.js"),l=o("./node_modules/core-js/internals/a-possible-prototype.js");n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e=!1,s={},u;try{u=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,u.call(s,[]),e=s instanceof Array}catch(h){}return function(A,v){return r(A),l(v),e?u.call(A,v):A.__proto__=v,A}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(n,i,o){"use strict";var r=o("./node_modules/core-js/internals/to-string-tag-support.js"),l=o("./node_modules/core-js/internals/classof.js");n.exports=r?{}.toString:function(){return"[object "+l(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(n,i,o){var r=o("./node_modules/core-js/internals/is-object.js");n.exports=function(l,e){var s,u;if(e==="string"&&typeof(s=l.toString)=="function"&&!r(u=s.call(l)))return u;if(typeof(s=l.valueOf)=="function"&&!r(u=s.call(l)))return u;if(e!=="string"&&typeof(s=l.toString)=="function"&&!r(u=s.call(l)))return u;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(n,i,o){var r=o("./node_modules/core-js/internals/get-built-in.js"),l=o("./node_modules/core-js/internals/object-get-own-property-names.js"),e=o("./node_modules/core-js/internals/object-get-own-property-symbols.js"),s=o("./node_modules/core-js/internals/an-object.js");n.exports=r("Reflect","ownKeys")||function(h){var A=l.f(s(h)),v=e.f;return v?A.concat(v(h)):A}},"./node_modules/core-js/internals/path.js":function(n,i,o){var r=o("./node_modules/core-js/internals/global.js");n.exports=r},"./node_modules/core-js/internals/redefine.js":function(n,i,o){var r=o("./node_modules/core-js/internals/global.js"),l=o("./node_modules/core-js/internals/create-non-enumerable-property.js"),e=o("./node_modules/core-js/internals/has.js"),s=o("./node_modules/core-js/internals/set-global.js"),u=o("./node_modules/core-js/internals/inspect-source.js"),h=o("./node_modules/core-js/internals/internal-state.js"),A=h.get,v=h.enforce,w=String(String).split("String");(n.exports=function(b,E,T,_){var x=_?!!_.unsafe:!1,C=_?!!_.enumerable:!1,I=_?!!_.noTargetGet:!1,L;if(typeof T=="function"&&(typeof E=="string"&&!e(T,"name")&&l(T,"name",E),L=v(T),L.source||(L.source=w.join(typeof E=="string"?E:""))),b===r){C?b[E]=T:s(E,T);return}else x?!I&&b[E]&&(C=!0):delete b[E];C?b[E]=T:l(b,E,T)})(Function.prototype,"toString",function(){return typeof this=="function"&&A(this).source||u(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(n,i,o){"use strict";var r=o("./node_modules/core-js/internals/an-object.js");n.exports=function(){var l=r(this),e="";return l.global&&(e+="g"),l.ignoreCase&&(e+="i"),l.multiline&&(e+="m"),l.dotAll&&(e+="s"),l.unicode&&(e+="u"),l.sticky&&(e+="y"),e}},"./node_modules/core-js/internals/require-object-coercible.js":function(n){n.exports=function(i){if(i==null)throw TypeError("Can't call method on "+i);return i}},"./node_modules/core-js/internals/set-global.js":function(n,i,o){var r=o("./node_modules/core-js/internals/global.js");n.exports=function(l,e){try{Object.defineProperty(r,l,{value:e,configurable:!0,writable:!0})}catch(s){r[l]=e}return e}},"./node_modules/core-js/internals/set-to-string-tag.js":function(n,i,o){var r=o("./node_modules/core-js/internals/object-define-property.js").f,l=o("./node_modules/core-js/internals/has.js"),e=o("./node_modules/core-js/internals/well-known-symbol.js"),s=e("toStringTag");n.exports=function(u,h,A){u&&!l(u=A?u:u.prototype,s)&&r(u,s,{configurable:!0,value:h})}},"./node_modules/core-js/internals/shared-key.js":function(n,i,o){var r=o("./node_modules/core-js/internals/shared.js"),l=o("./node_modules/core-js/internals/uid.js"),e=r("keys");n.exports=function(s){return e[s]||(e[s]=l(s))}},"./node_modules/core-js/internals/shared-store.js":function(n,i,o){var r=o("./node_modules/core-js/internals/global.js"),l=o("./node_modules/core-js/internals/set-global.js"),e="__core-js_shared__",s=r[e]||l(e,{});n.exports=s},"./node_modules/core-js/internals/shared.js":function(n,i,o){var r=o("./node_modules/core-js/internals/is-pure.js"),l=o("./node_modules/core-js/internals/shared-store.js");(n.exports=function(e,s){return l[e]||(l[e]=s!==void 0?s:{})})("versions",[]).push({version:"3.16.0",mode:r?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(n,i,o){var r=o("./node_modules/core-js/internals/fails.js");n.exports=function(l){return r(function(){var e=""[l]('"');return e!==e.toLowerCase()||e.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(n,i,o){var r=o("./node_modules/core-js/internals/to-integer.js"),l=o("./node_modules/core-js/internals/to-string.js"),e=o("./node_modules/core-js/internals/require-object-coercible.js"),s=function(h){return function(A,v){var w=l(e(A)),b=r(v),E=w.length,T,_;return b<0||b>=E?h?"":void 0:(T=w.charCodeAt(b),T<55296||T>56319||b+1===E||(_=w.charCodeAt(b+1))<56320||_>57343?h?w.charAt(b):T:h?w.slice(b,b+2):(T-55296<<10)+(_-56320)+65536)}};n.exports={codeAt:s(!1),charAt:s(!0)}},"./node_modules/core-js/internals/string-trim.js":function(n,i,o){var r=o("./node_modules/core-js/internals/require-object-coercible.js"),l=o("./node_modules/core-js/internals/to-string.js"),e=o("./node_modules/core-js/internals/whitespaces.js"),s="["+e+"]",u=RegExp("^"+s+s+"*"),h=RegExp(s+s+"*$"),A=function(w){return function(b){var E=l(r(b));return w&1&&(E=E.replace(u,"")),w&2&&(E=E.replace(h,"")),E}};n.exports={start:A(1),end:A(2),trim:A(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(n,i,o){var r=o("./node_modules/core-js/internals/to-integer.js"),l=Math.max,e=Math.min;n.exports=function(s,u){var h=r(s);return h<0?l(h+u,0):e(h,u)}},"./node_modules/core-js/internals/to-indexed-object.js":function(n,i,o){var r=o("./node_modules/core-js/internals/indexed-object.js"),l=o("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(e){return r(l(e))}},"./node_modules/core-js/internals/to-integer.js":function(n){var i=Math.ceil,o=Math.floor;n.exports=function(r){return isNaN(r=+r)?0:(r>0?o:i)(r)}},"./node_modules/core-js/internals/to-length.js":function(n,i,o){var r=o("./node_modules/core-js/internals/to-integer.js"),l=Math.min;n.exports=function(e){return e>0?l(r(e),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(n,i,o){var r=o("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(l){return Object(r(l))}},"./node_modules/core-js/internals/to-primitive.js":function(n,i,o){var r=o("./node_modules/core-js/internals/is-object.js"),l=o("./node_modules/core-js/internals/is-symbol.js"),e=o("./node_modules/core-js/internals/ordinary-to-primitive.js"),s=o("./node_modules/core-js/internals/well-known-symbol.js"),u=s("toPrimitive");n.exports=function(h,A){if(!r(h)||l(h))return h;var v=h[u],w;if(v!==void 0){if(A===void 0&&(A="default"),w=v.call(h,A),!r(w)||l(w))return w;throw TypeError("Can't convert object to primitive value")}return A===void 0&&(A="number"),e(h,A)}},"./node_modules/core-js/internals/to-property-key.js":function(n,i,o){var r=o("./node_modules/core-js/internals/to-primitive.js"),l=o("./node_modules/core-js/internals/is-symbol.js");n.exports=function(e){var s=r(e,"string");return l(s)?s:String(s)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(n,i,o){var r=o("./node_modules/core-js/internals/well-known-symbol.js"),l=r("toStringTag"),e={};e[l]="z",n.exports=String(e)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(n,i,o){var r=o("./node_modules/core-js/internals/is-symbol.js");n.exports=function(l){if(r(l))throw TypeError("Cannot convert a Symbol value to a string");return String(l)}},"./node_modules/core-js/internals/uid.js":function(n){var i=0,o=Math.random();n.exports=function(r){return"Symbol("+String(r===void 0?"":r)+")_"+(++i+o).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(n,i,o){var r=o("./node_modules/core-js/internals/native-symbol.js");n.exports=r&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(n,i,o){var r=o("./node_modules/core-js/internals/well-known-symbol.js");i.f=r},"./node_modules/core-js/internals/well-known-symbol.js":function(n,i,o){var r=o("./node_modules/core-js/internals/global.js"),l=o("./node_modules/core-js/internals/shared.js"),e=o("./node_modules/core-js/internals/has.js"),s=o("./node_modules/core-js/internals/uid.js"),u=o("./node_modules/core-js/internals/native-symbol.js"),h=o("./node_modules/core-js/internals/use-symbol-as-uid.js"),A=l("wks"),v=r.Symbol,w=h?v:v&&v.withoutSetter||s;n.exports=function(b){return(!e(A,b)||!(u||typeof A[b]=="string"))&&(u&&e(v,b)?A[b]=v[b]:A[b]=w("Symbol."+b)),A[b]}},"./node_modules/core-js/internals/whitespaces.js":function(n){n.exports=` \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},"./node_modules/core-js/modules/es.array.concat.js":function(n,i,o){"use strict";var r=o("./node_modules/core-js/internals/export.js"),l=o("./node_modules/core-js/internals/fails.js"),e=o("./node_modules/core-js/internals/is-array.js"),s=o("./node_modules/core-js/internals/is-object.js"),u=o("./node_modules/core-js/internals/to-object.js"),h=o("./node_modules/core-js/internals/to-length.js"),A=o("./node_modules/core-js/internals/create-property.js"),v=o("./node_modules/core-js/internals/array-species-create.js"),w=o("./node_modules/core-js/internals/array-method-has-species-support.js"),b=o("./node_modules/core-js/internals/well-known-symbol.js"),E=o("./node_modules/core-js/internals/engine-v8-version.js"),T=b("isConcatSpreadable"),_=9007199254740991,x="Maximum allowed index exceeded",C=E>=51||!l(function(){var B=[];return B[T]=!1,B.concat()[0]!==B}),I=w("concat"),L=function(P){if(!s(P))return!1;var H=P[T];return H!==void 0?!!H:e(P)},F=!C||!I;r({target:"Array",proto:!0,forced:F},{concat:function(P){var H=u(this),z=v(H,0),M=0,U,k,K,j,V;for(U=-1,K=arguments.length;U_)throw TypeError(x);for(k=0;k=_)throw TypeError(x);A(z,M++,V)}return z.length=M,z}})},"./node_modules/core-js/modules/es.array.iterator.js":function(n,i,o){"use strict";var r=o("./node_modules/core-js/internals/to-indexed-object.js"),l=o("./node_modules/core-js/internals/add-to-unscopables.js"),e=o("./node_modules/core-js/internals/iterators.js"),s=o("./node_modules/core-js/internals/internal-state.js"),u=o("./node_modules/core-js/internals/define-iterator.js"),h="Array Iterator",A=s.set,v=s.getterFor(h);n.exports=u(Array,"Array",function(w,b){A(this,{type:h,target:r(w),index:0,kind:b})},function(){var w=v(this),b=w.target,E=w.kind,T=w.index++;return!b||T>=b.length?(w.target=void 0,{value:void 0,done:!0}):E=="keys"?{value:T,done:!1}:E=="values"?{value:b[T],done:!1}:{value:[T,b[T]],done:!1}},"values"),e.Arguments=e.Array,l("keys"),l("values"),l("entries")},"./node_modules/core-js/modules/es.array.join.js":function(n,i,o){"use strict";var r=o("./node_modules/core-js/internals/export.js"),l=o("./node_modules/core-js/internals/indexed-object.js"),e=o("./node_modules/core-js/internals/to-indexed-object.js"),s=o("./node_modules/core-js/internals/array-method-is-strict.js"),u=[].join,h=l!=Object,A=s("join",",");r({target:"Array",proto:!0,forced:h||!A},{join:function(w){return u.call(e(this),w===void 0?",":w)}})},"./node_modules/core-js/modules/es.array.map.js":function(n,i,o){"use strict";var r=o("./node_modules/core-js/internals/export.js"),l=o("./node_modules/core-js/internals/array-iteration.js").map,e=o("./node_modules/core-js/internals/array-method-has-species-support.js"),s=e("map");r({target:"Array",proto:!0,forced:!s},{map:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(n,i,o){"use strict";var r=o("./node_modules/core-js/internals/export.js"),l=o("./node_modules/core-js/internals/is-object.js"),e=o("./node_modules/core-js/internals/is-array.js"),s=o("./node_modules/core-js/internals/to-absolute-index.js"),u=o("./node_modules/core-js/internals/to-length.js"),h=o("./node_modules/core-js/internals/to-indexed-object.js"),A=o("./node_modules/core-js/internals/create-property.js"),v=o("./node_modules/core-js/internals/well-known-symbol.js"),w=o("./node_modules/core-js/internals/array-method-has-species-support.js"),b=w("slice"),E=v("species"),T=[].slice,_=Math.max;r({target:"Array",proto:!0,forced:!b},{slice:function(C,I){var L=h(this),F=u(L.length),B=s(C,F),P=s(I===void 0?F:I,F),H,z,M;if(e(L)&&(H=L.constructor,typeof H=="function"&&(H===Array||e(H.prototype))?H=void 0:l(H)&&(H=H[E],H===null&&(H=void 0)),H===Array||H===void 0))return T.call(L,B,P);for(z=new(H===void 0?Array:H)(_(P-B,0)),M=0;B2){if(j=C(j),V=j.charCodeAt(0),V===43||V===45){if(W=j.charCodeAt(2),W===88||W===120)return NaN}else if(V===48){switch(j.charCodeAt(1)){case 66:case 98:X=2,J=49;break;case 79:case 111:X=8,J=55;break;default:return+j}for(de=j.slice(2),G=de.length,ae=0;aeJ)return NaN;return parseInt(de,X)}}return+j};if(e(I,!L(" 0o1")||!L("0b1")||L("+0x1"))){for(var H=function(K){var j=arguments.length<1?0:K,V=this;return V instanceof H&&(B?b(function(){F.valueOf.call(V)}):h(V)!=I)?A(new L(P(j)),V,H):P(j)},z=r?T(L):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),M=0,U;z.length>M;M++)u(L,U=z[M])&&!u(H,U)&&x(H,U,_(L,U));H.prototype=F,F.constructor=H,s(l,I,H)}},"./node_modules/core-js/modules/es.object.assign.js":function(n,i,o){var r=o("./node_modules/core-js/internals/export.js"),l=o("./node_modules/core-js/internals/object-assign.js");r({target:"Object",stat:!0,forced:Object.assign!==l},{assign:l})},"./node_modules/core-js/modules/es.object.keys.js":function(n,i,o){var r=o("./node_modules/core-js/internals/export.js"),l=o("./node_modules/core-js/internals/to-object.js"),e=o("./node_modules/core-js/internals/object-keys.js"),s=o("./node_modules/core-js/internals/fails.js"),u=s(function(){e(1)});r({target:"Object",stat:!0,forced:u},{keys:function(A){return e(l(A))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(n,i,o){var r=o("./node_modules/core-js/internals/to-string-tag-support.js"),l=o("./node_modules/core-js/internals/redefine.js"),e=o("./node_modules/core-js/internals/object-to-string.js");r||l(Object.prototype,"toString",e,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(n,i,o){"use strict";var r=o("./node_modules/core-js/internals/redefine.js"),l=o("./node_modules/core-js/internals/an-object.js"),e=o("./node_modules/core-js/internals/to-string.js"),s=o("./node_modules/core-js/internals/fails.js"),u=o("./node_modules/core-js/internals/regexp-flags.js"),h="toString",A=RegExp.prototype,v=A[h],w=s(function(){return v.call({source:"a",flags:"b"})!="/a/b"}),b=v.name!=h;(w||b)&&r(RegExp.prototype,h,function(){var T=l(this),_=e(T.source),x=T.flags,C=e(x===void 0&&T instanceof RegExp&&!("flags"in A)?u.call(T):x);return"/"+_+"/"+C},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(n,i,o){"use strict";var r=o("./node_modules/core-js/internals/string-multibyte.js").charAt,l=o("./node_modules/core-js/internals/to-string.js"),e=o("./node_modules/core-js/internals/internal-state.js"),s=o("./node_modules/core-js/internals/define-iterator.js"),u="String Iterator",h=e.set,A=e.getterFor(u);s(String,"String",function(v){h(this,{type:u,string:l(v),index:0})},function(){var w=A(this),b=w.string,E=w.index,T;return E>=b.length?{value:void 0,done:!0}:(T=r(b,E),w.index+=T.length,{value:T,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(n,i,o){"use strict";var r=o("./node_modules/core-js/internals/export.js"),l=o("./node_modules/core-js/internals/create-html.js"),e=o("./node_modules/core-js/internals/string-html-forced.js");r({target:"String",proto:!0,forced:e("link")},{link:function(u){return l(this,"a","href",u)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(n,i,o){"use strict";var r=o("./node_modules/core-js/internals/export.js"),l=o("./node_modules/core-js/internals/descriptors.js"),e=o("./node_modules/core-js/internals/global.js"),s=o("./node_modules/core-js/internals/has.js"),u=o("./node_modules/core-js/internals/is-object.js"),h=o("./node_modules/core-js/internals/object-define-property.js").f,A=o("./node_modules/core-js/internals/copy-constructor-properties.js"),v=e.Symbol;if(l&&typeof v=="function"&&(!("description"in v.prototype)||v().description!==void 0)){var w={},b=function(){var I=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),L=this instanceof b?new v(I):I===void 0?v():v(I);return I===""&&(w[L]=!0),L};A(b,v);var E=b.prototype=v.prototype;E.constructor=b;var T=E.toString,_=String(v("test"))=="Symbol(test)",x=/^Symbol\((.*)\)[^)]+$/;h(E,"description",{configurable:!0,get:function(){var I=u(this)?this.valueOf():this,L=T.call(I);if(s(w,I))return"";var F=_?L.slice(7,-1):L.replace(x,"$1");return F===""?void 0:F}}),r({global:!0,forced:!0},{Symbol:b})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(n,i,o){var r=o("./node_modules/core-js/internals/define-well-known-symbol.js");r("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(n,i,o){"use strict";var r=o("./node_modules/core-js/internals/export.js"),l=o("./node_modules/core-js/internals/global.js"),e=o("./node_modules/core-js/internals/get-built-in.js"),s=o("./node_modules/core-js/internals/is-pure.js"),u=o("./node_modules/core-js/internals/descriptors.js"),h=o("./node_modules/core-js/internals/native-symbol.js"),A=o("./node_modules/core-js/internals/fails.js"),v=o("./node_modules/core-js/internals/has.js"),w=o("./node_modules/core-js/internals/is-array.js"),b=o("./node_modules/core-js/internals/is-object.js"),E=o("./node_modules/core-js/internals/is-symbol.js"),T=o("./node_modules/core-js/internals/an-object.js"),_=o("./node_modules/core-js/internals/to-object.js"),x=o("./node_modules/core-js/internals/to-indexed-object.js"),C=o("./node_modules/core-js/internals/to-property-key.js"),I=o("./node_modules/core-js/internals/to-string.js"),L=o("./node_modules/core-js/internals/create-property-descriptor.js"),F=o("./node_modules/core-js/internals/object-create.js"),B=o("./node_modules/core-js/internals/object-keys.js"),P=o("./node_modules/core-js/internals/object-get-own-property-names.js"),H=o("./node_modules/core-js/internals/object-get-own-property-names-external.js"),z=o("./node_modules/core-js/internals/object-get-own-property-symbols.js"),M=o("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),U=o("./node_modules/core-js/internals/object-define-property.js"),k=o("./node_modules/core-js/internals/object-property-is-enumerable.js"),K=o("./node_modules/core-js/internals/create-non-enumerable-property.js"),j=o("./node_modules/core-js/internals/redefine.js"),V=o("./node_modules/core-js/internals/shared.js"),W=o("./node_modules/core-js/internals/shared-key.js"),X=o("./node_modules/core-js/internals/hidden-keys.js"),J=o("./node_modules/core-js/internals/uid.js"),de=o("./node_modules/core-js/internals/well-known-symbol.js"),G=o("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),ae=o("./node_modules/core-js/internals/define-well-known-symbol.js"),Ae=o("./node_modules/core-js/internals/set-to-string-tag.js"),me=o("./node_modules/core-js/internals/internal-state.js"),Me=o("./node_modules/core-js/internals/array-iteration.js").forEach,oe=W("hidden"),_e="Symbol",ee="prototype",ne=de("toPrimitive"),Ge=me.set,Ee=me.getterFor(_e),ue=Object[ee],re=l.Symbol,ce=e("JSON","stringify"),ke=M.f,Te=U.f,Ke=H.f,Ie=k.f,se=V("symbols"),ye=V("op-symbols"),xe=V("string-to-symbol-registry"),Ye=V("symbol-to-string-registry"),pt=V("wks"),nt=l.QObject,Oe=!nt||!nt[ee]||!nt[ee].findChild,vt=u&&A(function(){return F(Te({},"a",{get:function(){return Te(this,"a",{value:7}).a}})).a!=7})?function(bt,qe,le){var Nt=ke(ue,qe);Nt&&delete ue[qe],Te(bt,qe,le),Nt&&bt!==ue&&Te(ue,qe,Nt)}:Te,Ze=function(qe,le){var Nt=se[qe]=F(re[ee]);return Ge(Nt,{type:_e,tag:qe,description:le}),u||(Nt.description=le),Nt},wt=function(qe,le,Nt){qe===ue&&wt(ye,le,Nt),T(qe);var tr=C(le);return T(Nt),v(se,tr)?(Nt.enumerable?(v(qe,oe)&&qe[oe][tr]&&(qe[oe][tr]=!1),Nt=F(Nt,{enumerable:L(0,!1)})):(v(qe,oe)||Te(qe,oe,L(1,{})),qe[oe][tr]=!0),vt(qe,tr,Nt)):Te(qe,tr,Nt)},xt=function(qe,le){T(qe);var Nt=x(le),tr=B(Nt).concat(pe(Nt));return Me(tr,function(lt){(!u||Mt.call(Nt,lt))&&wt(qe,lt,Nt[lt])}),qe},Ot=function(qe,le){return le===void 0?F(qe):xt(F(qe),le)},Mt=function(qe){var le=C(qe),Nt=Ie.call(this,le);return this===ue&&v(se,le)&&!v(ye,le)?!1:Nt||!v(this,le)||!v(se,le)||v(this,oe)&&this[oe][le]?Nt:!0},Gt=function(qe,le){var Nt=x(qe),tr=C(le);if(Nt===ue&&v(se,tr)&&!v(ye,tr))return;var lt=ke(Nt,tr);return lt&&v(se,tr)&&!(v(Nt,oe)&&Nt[oe][tr])&&(lt.enumerable=!0),lt},$e=function(qe){var le=Ke(x(qe)),Nt=[];return Me(le,function(tr){!v(se,tr)&&!v(X,tr)&&Nt.push(tr)}),Nt},pe=function(qe){var le=qe===ue,Nt=Ke(le?ye:x(qe)),tr=[];return Me(Nt,function(lt){v(se,lt)&&(!le||v(ue,lt))&&tr.push(se[lt])}),tr};if(h||(re=function(){if(this instanceof re)throw TypeError("Symbol is not a constructor");var qe=!arguments.length||arguments[0]===void 0?void 0:I(arguments[0]),le=J(qe),Nt=function tr(lt){this===ue&&tr.call(ye,lt),v(this,oe)&&v(this[oe],le)&&(this[oe][le]=!1),vt(this,le,L(1,lt))};return u&&Oe&&vt(ue,le,{configurable:!0,set:Nt}),Ze(le,qe)},j(re[ee],"toString",function(){return Ee(this).tag}),j(re,"withoutSetter",function(bt){return Ze(J(bt),bt)}),k.f=Mt,U.f=wt,M.f=Gt,P.f=H.f=$e,z.f=pe,G.f=function(bt){return Ze(de(bt),bt)},u&&(Te(re[ee],"description",{configurable:!0,get:function(){return Ee(this).description}}),s||j(ue,"propertyIsEnumerable",Mt,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!h,sham:!h},{Symbol:re}),Me(B(pt),function(bt){ae(bt)}),r({target:_e,stat:!0,forced:!h},{for:function(qe){var le=I(qe);if(v(xe,le))return xe[le];var Nt=re(le);return xe[le]=Nt,Ye[Nt]=le,Nt},keyFor:function(qe){if(!E(qe))throw TypeError(qe+" is not a symbol");if(v(Ye,qe))return Ye[qe]},useSetter:function(){Oe=!0},useSimple:function(){Oe=!1}}),r({target:"Object",stat:!0,forced:!h,sham:!u},{create:Ot,defineProperty:wt,defineProperties:xt,getOwnPropertyDescriptor:Gt}),r({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:$e,getOwnPropertySymbols:pe}),r({target:"Object",stat:!0,forced:A(function(){z.f(1)})},{getOwnPropertySymbols:function(qe){return z.f(_(qe))}}),ce){var q=!h||A(function(){var bt=re();return ce([bt])!="[null]"||ce({a:bt})!="{}"||ce(Object(bt))!="{}"});r({target:"JSON",stat:!0,forced:q},{stringify:function(qe,le,Nt){for(var tr=[qe],lt=1,zt;arguments.length>lt;)tr.push(arguments[lt++]);return zt=le,!b(le)&&qe===void 0||E(qe)?void 0:(w(le)||(le=function(Vr,ur){if(typeof zt=="function"&&(ur=zt.call(this,Vr,ur)),!E(ur))return ur}),tr[1]=le,ce.apply(null,tr))}})}re[ee][ne]||K(re[ee],ne,re[ee].valueOf),Ae(re,_e),X[oe]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(n,i,o){var r=o("./node_modules/core-js/internals/global.js"),l=o("./node_modules/core-js/internals/dom-iterables.js"),e=o("./node_modules/core-js/internals/array-for-each.js"),s=o("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var u in l){var h=r[u],A=h&&h.prototype;if(A&&A.forEach!==e)try{s(A,"forEach",e)}catch(v){A.forEach=e}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(n,i,o){var r=o("./node_modules/core-js/internals/global.js"),l=o("./node_modules/core-js/internals/dom-iterables.js"),e=o("./node_modules/core-js/modules/es.array.iterator.js"),s=o("./node_modules/core-js/internals/create-non-enumerable-property.js"),u=o("./node_modules/core-js/internals/well-known-symbol.js"),h=u("iterator"),A=u("toStringTag"),v=e.values;for(var w in l){var b=r[w],E=b&&b.prototype;if(E){if(E[h]!==v)try{s(E,h,v)}catch(_){E[h]=v}if(E[A]||s(E,A,w),l[w]){for(var T in e)if(E[T]!==e[T])try{s(E,T,e[T])}catch(_){E[T]=e[T]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(n){/*! * @overview es6-promise - a tiny implementation of Promises/A+. * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald) * @license Licensed under MIT license * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE * @version v4.2.8+1e68dce6 */(function(i,o){n.exports=o()})(this,function(){"use strict";function i(nt){var Oe=typeof nt;return nt!==null&&(Oe==="object"||Oe==="function")}function o(nt){return typeof nt=="function"}var r=void 0;Array.isArray?r=Array.isArray:r=function(Oe){return Object.prototype.toString.call(Oe)==="[object Array]"};var l=r,e=0,s=void 0,u=void 0,h=function(Oe,vt){B[e]=Oe,B[e+1]=vt,e+=2,e===2&&(u?u(P):z())};function A(nt){u=nt}function v(nt){h=nt}var w=typeof window!="undefined"?window:void 0,b=w||{},E=b.MutationObserver||b.WebKitMutationObserver,T=typeof self=="undefined"&&typeof p!="undefined"&&{}.toString.call(p)==="[object process]",_=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function x(){return function(){return p.nextTick(P)}}function C(){return typeof s!="undefined"?function(){s(P)}:F()}function I(){var nt=0,Oe=new E(P),vt=document.createTextNode("");return Oe.observe(vt,{characterData:!0}),function(){vt.data=nt=++nt%2}}function L(){var nt=new MessageChannel;return nt.port1.onmessage=P,function(){return nt.port2.postMessage(0)}}function F(){var nt=setTimeout;return function(){return nt(P,1)}}var B=new Array(1e3);function P(){for(var nt=0;ntr.getHeight()&&(T.textPosition="top",I=!0);var L=I?-5-_.height:s+8;x+_.width/2>r.getWidth()?(T.textPosition=["100%",L],T.textAlign="right"):x-_.width/2<0&&(T.textPosition=[0,L],T.textAlign="left")}})},updateView:function(i,o,r,l){p.each(this._features,function(e){e.updateView&&e.updateView(e.model,o,r,l)})},remove:function(i,o){p.each(this._features,function(r){r.remove&&r.remove(i,o)}),this.group.removeAll()},dispose:function(i,o){p.each(this._features,function(r){r.dispose&&r.dispose(i,o)})}});function n(i){return i.indexOf("my")===0}R.exports=a},"2B6p":function(R,N){function t(y,p,S){var m=y.getZoom(),g=y.getCenter(),f=p.zoom,d=y.dataToPoint(g);if(p.dx!=null&&p.dy!=null){d[0]-=p.dx,d[1]-=p.dy;var g=y.pointToData(d);y.setCenter(g)}if(f!=null){if(S){var c=S.min||0,a=S.max||Infinity;f=Math.max(Math.min(m*f,a),c)/m}y.scale[0]*=f,y.scale[1]*=f;var n=y.position,i=(p.originX-n[0])*(f-1),o=(p.originY-n[1])*(f-1);n[0]-=i,n[1]-=o,y.updateTransform();var g=y.pointToData(d);y.setCenter(g),y.setZoom(f*m)}return{center:y.getCenter(),zoom:y.getZoom()}}N.updateCenterAndZoom=t},"2BaD":function(R,N,t){"use strict";var y=t("VTBJ"),p=t("q1tI"),S={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-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 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z"}},{tag:"path",attrs:{d:"M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"close-circle",theme:"outlined"},m=S,g=t("6VBw"),f=function(a,n){return p.createElement(g.a,Object(y.a)(Object(y.a)({},a),{},{ref:n,icon:m}))};f.displayName="CloseCircleOutlined";var d=N.a=p.forwardRef(f)},"2DNl":function(R,N,t){var y=t("IMiH"),p=t("loD1"),S=t("59Ip"),m=t("aKvl"),g=t("n1HI"),f=t("hX1E"),d=f.normalizeRadian,c=t("Sj9i"),a=t("hyiK"),n=y.CMD,i=Math.PI*2,o=1e-4;function r(E,T){return Math.abs(E-T)T&&P>x&&P>I&&P>F||P1&&s(),U=c.cubicAt(T,x,I,F,e[0]),M>1&&(k=c.cubicAt(T,x,I,F,e[1]))),M===2?jT&&F>x&&F>I||F=0&&P<=1){for(var H=0,z=c.quadraticAt(T,x,I,P),M=0;M_||F<-_)return 0;var B=Math.sqrt(_*_-F*F);l[0]=-B,l[1]=B;var P=Math.abs(x-C);if(P<1e-4)return 0;if(P%i<1e-4){x=0,C=i;var H=I?1:-1;return L>=l[0]+E&&L<=l[1]+E?H:0}if(I){var B=x;x=d(C),C=d(B)}else x=d(x),C=d(C);x>C&&(C+=i);for(var z=0,M=0;M<2;M++){var U=l[M];if(U+E>L){var k=Math.atan2(F,U),H=I?1:-1;k<0&&(k=i+k),(k>=x&&k<=C||k+i>=x&&k+i<=C)&&(k>Math.PI/2&&k1&&(_||(I+=a(L,F,B,P,x,C))),H===1&&(L=E[H],F=E[H+1],B=L,P=F);switch(z){case n.M:B=E[H++],P=E[H++],L=B,F=P;break;case n.L:if(_){if(p.containStroke(L,F,E[H],E[H+1],T,x,C))return!0}else I+=a(L,F,E[H],E[H+1],x,C)||0;L=E[H++],F=E[H++];break;case n.C:if(_){if(S.containStroke(L,F,E[H++],E[H++],E[H++],E[H++],E[H],E[H+1],T,x,C))return!0}else I+=u(L,F,E[H++],E[H++],E[H++],E[H++],E[H],E[H+1],x,C)||0;L=E[H++],F=E[H++];break;case n.Q:if(_){if(m.containStroke(L,F,E[H++],E[H++],E[H],E[H+1],T,x,C))return!0}else I+=h(L,F,E[H++],E[H++],E[H],E[H+1],x,C)||0;L=E[H++],F=E[H++];break;case n.A:var M=E[H++],U=E[H++],k=E[H++],K=E[H++],j=E[H++],V=E[H++];H+=1;var W=1-E[H++],X=Math.cos(j)*k+M,J=Math.sin(j)*K+U;H>1?I+=a(L,F,X,J,x,C):(B=X,P=J);var de=(x-M)*K/k+M;if(_){if(g.containStroke(M,U,K,j,j+V,W,T,de,C))return!0}else I+=A(M,U,K,j,j+V,W,de,C);L=Math.cos(j+V)*k+M,F=Math.sin(j+V)*K+U;break;case n.R:B=L=E[H++],P=F=E[H++];var G=E[H++],ae=E[H++],X=B+G,J=P+ae;if(_){if(p.containStroke(B,P,X,P,T,x,C)||p.containStroke(X,P,X,J,T,x,C)||p.containStroke(X,J,B,J,T,x,C)||p.containStroke(B,J,B,P,T,x,C))return!0}else I+=a(X,P,X,J,x,C),I+=a(B,J,B,P,x,C);break;case n.Z:if(_){if(p.containStroke(L,F,B,P,T,x,C))return!0}else I+=a(L,F,B,P,x,C);L=B,F=P;break}}return!_&&!r(F,P)&&(I+=a(L,F,B,P,x,C)||0),I!==0}function w(E,T,_){return v(E,0,!1,T,_)}function b(E,T,_,x){return v(E,T,!0,_,x)}N.contain=w,N.containStroke=b},"2KFj":function(R,N,t){"use strict";t.d(N,"a",function(){return S});var y=t("XPR9");function p(m,g){for(;!Object.prototype.hasOwnProperty.call(m,g)&&!(m=Object(y.a)(m),m===null););return m}function S(m,g,f){return typeof Reflect!="undefined"&&Reflect.get?S=Reflect.get:S=function(c,a,n){var i=p(c,a);if(!i)return;var o=Object.getOwnPropertyDescriptor(i,a);return o.get?o.get.call(n):o.value},S(m,g,f||m)}},"2Qr1":function(R,N,t){"use strict";t.d(N,"d",function(){return a}),t.d(N,"c",function(){return i}),t.d(N,"e",function(){return o}),t.d(N,"b",function(){return e}),t.d(N,"f",function(){return s}),t.d(N,"g",function(){return u}),t.d(N,"a",function(){return h});var y=t("rePB"),p=t("KQm4"),S=t("T5bk"),m=t("U8pU"),g=t("VTBJ"),f=t("Kwbf"),d=t("WKfj");function c(A,v){var w=A.key,b;return"value"in A&&(b=A.value),w!=null?w:b!==void 0?b:"rc-index-key-".concat(v)}function a(A){var v=[];function w(b,E){b.forEach(function(T){E||!("options"in T)?v.push({key:c(T,v.length),groupOption:E,data:T}):(v.push({key:c(T,v.length),group:!0,data:T}),w(T.options,!0))})}return w(A,!1),v}function n(A){var v=Object(g.a)({},A);return"props"in v||Object.defineProperty(v,"props",{get:function(){return Object(f.a)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),v}}),v}function i(A,v){var w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},b=w.prevValueOptions,E=b===void 0?[]:b,T=new Map;return v.forEach(function(_){if(!_.group){var x=_.data;T.set(x.value,x)}}),A.map(function(_){var x=T.get(_);return x||(x=Object(g.a)({},E.find(function(C){return C._INTERNAL_OPTION_VALUE_===_}))),n(x)})}var o=function(v,w){var b=w.options,E=w.prevValue,T=w.labelInValue,_=w.optionLabelProp,x=i([v],b)[0],C={value:v},I,L=Object(d.d)(E);return T&&(I=L.find(function(F){return Object(m.a)(F)==="object"&&"value"in F?F.value===v:F.key===v})),I&&Object(m.a)(I)==="object"&&"label"in I?(C.label=I.label,x&&typeof I.label=="string"&&typeof x[_]=="string"&&I.label.trim()!==x[_].trim()&&Object(f.a)(!1,"`label` of `value` is not same as `label` in Select options.")):x&&_ in x?C.label=x[_]:C.label=v,C.key=C.value,C};function r(A){return Object(d.d)(A).join("")}function l(A){return function(v,w){var b=v.toLowerCase();if("options"in w)return r(w.label).toLowerCase().includes(b);var E=w[A],T=r(E).toLowerCase();return T.includes(b)}}function e(A,v,w){var b=w.optionFilterProp,E=w.filterOption,T=[],_;return E===!1?v:(typeof E=="function"?_=E:_=l(b),v.forEach(function(x){if("options"in x){var C=_(A,x);if(C)T.push(x);else{var I=x.options.filter(function(L){return _(A,L)});I.length&&T.push(Object(g.a)(Object(g.a)({},x),{},{options:I}))}return}_(A,n(x))&&T.push(x)}),T)}function s(A,v){if(!v||!v.length)return null;var w=!1;function b(T,_){var x=Object(S.a)(_),C=x[0],I=x.slice(1);if(!C)return[T];var L=T.split(C);return w=w||L.length>1,L.reduce(function(F,B){return[].concat(Object(p.a)(F),Object(p.a)(b(B,I)))},[]).filter(function(F){return F})}var E=b(A,v);return w?E:null}function u(A,v){var w=i([A],v)[0];return w.disabled}function h(A,v,w,b){var E=Object(d.d)(v).slice().sort(),T=Object(p.a)(A),_=new Set;return A.forEach(function(x){x.options?x.options.forEach(function(C){_.add(C.value)}):_.add(x.value)}),E.forEach(function(x){var C=b?x.value:x;if(!_.has(C)){var I;T.push(b?(I={},Object(y.a)(I,w,x.label),Object(y.a)(I,"value",C),I):{value:C})}}),T}},"2dDv":function(R,N,t){var y=t("bYtY"),p=t("Fofx"),S=t("+TT/"),m=t("aX7z"),g=t("D1WM"),f=t("IwbS"),d=t("OELB"),c=t("72pK"),a=y.each,n=Math.min,i=Math.max,o=Math.floor,r=Math.ceil,l=d.round,e=Math.PI;function s(w,b,E){this._axesMap=y.createHashMap(),this._axesLayout={},this.dimensions=w.dimensions,this._rect,this._model=w,this._init(w,b,E)}s.prototype={type:"parallel",constructor:s,_init:function(w,b,E){var T=w.dimensions,_=w.parallelAxisIndex;a(T,function(x,C){var I=_[C],L=b.getComponent("parallelAxis",I),F=this._axesMap.set(x,new g(x,m.createScaleByModel(L),[0,0],L.get("type"),I)),B=F.type==="category";F.onBand=B&&L.get("boundaryGap"),F.inverse=L.get("inverse"),L.axis=F,F.model=L,F.coordinateSystem=L.coordinateSystem=this},this)},update:function(w,b){this._updateAxesFromSeries(this._model,w)},containPoint:function(w){var b=this._makeLayoutInfo(),E=b.axisBase,T=b.layoutBase,_=b.pixelDimIndex,x=w[1-_],C=w[_];return x>=E&&x<=E+b.axisLength&&C>=T&&C<=T+b.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(w,b){b.eachSeries(function(E){if(!w.contains(E,b))return;var T=E.getData();a(this.dimensions,function(_){var x=this._axesMap.get(_);x.scale.unionExtentFromData(T,T.mapDimension(_)),m.niceScaleExtent(x.scale,x.model)},this)},this)},resize:function(w,b){this._rect=S.getLayoutRect(w.getBoxLayoutParams(),{width:b.getWidth(),height:b.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var w=this._model,b=this._rect,E=["x","y"],T=["width","height"],_=w.get("layout"),x=_==="horizontal"?0:1,C=b[T[x]],I=[0,C],L=this.dimensions.length,F=u(w.get("axisExpandWidth"),I),B=u(w.get("axisExpandCount")||0,[0,L]),P=w.get("axisExpandable")&&L>3&&L>B&&B>1&&F>0&&C>0,H=w.get("axisExpandWindow"),z;if(H)z=u(H[1]-H[0],I),H[1]=H[0]+z;else{z=u(F*(B-1),I);var M=w.get("axisExpandCenter")||o(L/2);H=[F*M-z/2],H[1]=H[0]+z}var U=(C-z)/(L-B);U<3&&(U=0);var k=[o(l(H[0]/F,1))+1,r(l(H[1]/F,1))-1],K=U/F*H[0];return{layout:_,pixelDimIndex:x,layoutBase:b[E[x]],layoutLength:C,axisBase:b[E[1-x]],axisLength:b[T[1-x]],axisExpandable:P,axisExpandWidth:F,axisCollapseWidth:U,axisExpandWindow:H,axisCount:L,winInnerIndices:k,axisExpandWindow0Pos:K}},_layoutAxes:function(){var w=this._rect,b=this._axesMap,E=this.dimensions,T=this._makeLayoutInfo(),_=T.layout;b.each(function(x){var C=[0,T.axisLength],I=x.inverse?1:0;x.setExtent(C[I],C[1-I])}),a(E,function(x,C){var I=(T.axisExpandable?A:h)(C,T),L={horizontal:{x:I.position,y:T.axisLength},vertical:{x:0,y:I.position}},F={horizontal:e/2,vertical:0},B=[L[_].x+w.x,L[_].y+w.y],P=F[_],H=p.create();p.rotate(H,H,P),p.translate(H,H,B),this._axesLayout[x]={position:B,rotation:P,transform:H,axisNameAvailableWidth:I.axisNameAvailableWidth,axisLabelShow:I.axisLabelShow,nameTruncateMaxWidth:I.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},getAxis:function(w){return this._axesMap.get(w)},dataToPoint:function(w,b){return this.axisCoordToPoint(this._axesMap.get(b).dataToCoord(w),b)},eachActiveState:function(w,b,E,T){E==null&&(E=0),T==null&&(T=w.count());var _=this._axesMap,x=this.dimensions,C=[],I=[];y.each(x,function(U){C.push(w.mapDimension(U)),I.push(_.get(U).model)});for(var L=this.hasAxisBrushed(),F=E;F_*(1-B[0])?(L="jump",I=C-_*(1-B[2])):(I=C-_*B[1])>=0&&(I=C-_*(1-B[1]))<=0&&(I=0),I*=b.axisExpandWidth/F,I?c(I,T,x,"all"):L="none";else{var _=T[1]-T[0],H=x[1]*C/_;T=[i(0,H-_/2)],T[1]=n(x[1],T[0]+_),T[0]=T[1]-_}return{axisExpandWindow:T,behavior:L}}};function u(w,b){return n(i(w,b[0]),b[1])}function h(w,b){var E=b.layoutLength/(b.axisCount-1);return{position:E*w,axisNameAvailableWidth:E,axisLabelShow:!0}}function A(w,b){var E=b.layoutLength,T=b.axisExpandWidth,_=b.axisCount,x=b.axisCollapseWidth,C=b.winInnerIndices,I,L=x,F=!1,B;return w1&&arguments[1]!==void 0?arguments[1]:1,$t=q.length,Sr=0;Sr<$t;Sr+=1){var vr=(at+Sr*Xe+$t)%$t,fr=q[vr],An=fr.group,Zr=fr.data;if(!An&&!Zr.disabled)return vr}return-1},tr=r.useState(function(){return Nt(0)}),lt=Object(E.a)(tr,2),zt=lt[0],cr=lt[1],Vr=function(at){cr(at);var Xe=q[at];if(!Xe){Mt(null,-1);return}Mt(Xe.data.value,at)};r.useEffect(function(){Vr(Ye!==!1?Nt(0):-1)},[q.length,ye]),r.useEffect(function(){var Lt=setTimeout(function(){if(!xe&&vt&&se.size===1){var at=Array.from(se)[0],Xe=q.findIndex(function($t){var Sr=$t.data;return Sr.value===at});Vr(Xe),le(Xe)}});return function(){return clearTimeout(Lt)}},[vt]);var ur=function(at){at!==void 0&&xt(at,{selected:!se.has(at)}),xe||Ot(!1)};if(r.useImperativeHandle(ce,function(){return{onKeyDown:function(at){var Xe=at.which;switch(Xe){case T.a.UP:case T.a.DOWN:{var $t=0;if(Xe===T.a.UP?$t=-1:Xe===T.a.DOWN&&($t=1),$t!==0){var Sr=Nt(zt+$t,$t);le(Sr),Vr(Sr)}break}case T.a.ENTER:{var vr=q[zt];vr&&!vr.data.disabled?ur(vr.data.value):ur(void 0),vt&&at.preventDefault();break}case T.a.ESC:Ot(!1)}},onKeyUp:function(){},scrollTo:function(at){le(at)}}}),q.length===0)return r.createElement("div",{role:"listbox",id:"".concat(Te,"_list"),className:"".concat(pe,"-empty"),onMouseDown:qe},Oe);function ir(Lt){var at=q[Lt];if(!at)return null;var Xe=at.data||{},$t=Xe.value,Sr=Xe.label,vr=Xe.children,fr=Object(_.a)(Xe,!0),An=Ie?vr:Sr;return at?r.createElement("div",Object.assign({"aria-label":typeof An=="string"?An:null},fr,{key:Lt,role:"option",id:"".concat(Te,"_list_").concat(Lt),"aria-selected":se.has($t)}),$t):null}return r.createElement(r.Fragment,null,r.createElement("div",{role:"listbox",id:"".concat(Te,"_list"),style:{height:0,width:0,overflow:"hidden"}},ir(zt-1),ir(zt),ir(zt+1)),r.createElement(C.a,{itemKey:"key",ref:bt,data:q,height:pt,itemHeight:nt,fullHeight:!1,onMouseDown:qe,onScroll:Gt,virtual:wt,onMouseEnter:$e},function(Lt,at){var Xe,$t=Lt.group,Sr=Lt.groupOption,vr=Lt.data,fr=vr.label,An=vr.key;if($t)return r.createElement("div",{className:s()(pe,"".concat(pe,"-group"))},fr!==void 0?fr:An);var Zr=vr.disabled,Ln=vr.value,Je=vr.title,et=vr.children,be=vr.style,Le=vr.className,Ue=Object(b.a)(vr,["disabled","value","title","children","style","className"]),rt=se.has(Ln),Kt="".concat(pe,"-option"),Pt=s()(pe,Kt,Le,(Xe={},Object(w.a)(Xe,"".concat(Kt,"-grouped"),Sr),Object(w.a)(Xe,"".concat(Kt,"-active"),zt===at&&!Zr),Object(w.a)(Xe,"".concat(Kt,"-disabled"),Zr),Object(w.a)(Xe,"".concat(Kt,"-selected"),rt),Xe)),Vt=Ie?et:fr,Mr=!Ze||typeof Ze=="function"||rt;return r.createElement("div",Object.assign({},Ue,{"aria-selected":rt,className:Pt,title:Je,onMouseMove:function(){if(zt===at||Zr)return;Vr(at)},onClick:function(){Zr||ur(Ln)},style:be}),r.createElement("div",{className:"".concat(Kt,"-content")},Vt||Ln),r.isValidElement(Ze)||rt,Mr&&r.createElement(I.a,{className:"".concat(pe,"-option-state"),customizeIcon:Ze,customizeIconProps:{isSelected:rt}},rt?"\u2713":null))}))},F=r.forwardRef(L);F.displayName="OptionList";var B=F,P=function(){return null};P.isSelectOption=!0;var H=P,z=function(){return null};z.isSelectOptGroup=!0;var M=z,U=t("VTBJ"),k=t("Zm9Q");function K(ue){var re=ue.key,ce=ue.props,ke=ce.children,Te=ce.value,Ke=Object(b.a)(ce,["children","value"]);return Object(U.a)({key:re,value:Te!==void 0?Te:re,children:ke},Ke)}function j(ue){var re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Object(k.a)(ue).map(function(ce,ke){if(!r.isValidElement(ce)||!ce.type)return null;var Te=ce.type.isSelectOptGroup,Ke=ce.key,Ie=ce.props,se=Ie.children,ye=Object(b.a)(Ie,["children"]);return re||!Te?K(ce):Object(U.a)(Object(U.a)({key:"__RC_SELECT_GRP__".concat(Ke===null?ke:Ke,"__"),label:Ke},ye),{},{options:j(se)})}).filter(function(ce){return ce})}var V=t("2Qr1"),W=t("qNPg"),X=t("U8pU"),J=t("Kwbf"),de=t("WKfj");function G(ue){var re=ue.mode,ce=ue.options,ke=ue.children,Te=ue.backfill,Ke=ue.allowClear,Ie=ue.placeholder,se=ue.getInputElement,ye=ue.showSearch,xe=ue.onSearch,Ye=ue.defaultOpen,pt=ue.autoFocus,nt=ue.labelInValue,Oe=ue.value,vt=ue.inputValue,Ze=ue.optionLabelProp,wt=re==="multiple"||re==="tags",xt=ye!==void 0?ye:wt||re==="combobox",Ot=ce||j(ke);if(Object(J.a)(re!=="tags"||Ot.every(function(pe){return!pe.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),re==="tags"||re==="combobox"){var Mt=Ot.some(function(pe){return pe.options?pe.options.some(function(q){return typeof("value"in q?q.value:q.key)=="number"}):typeof("value"in pe?pe.value:pe.key)=="number"});Object(J.a)(!Mt,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Object(J.a)(re!=="combobox"||!Ze,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Object(J.a)(re==="combobox"||!Te,"`backfill` only works with `combobox` mode."),Object(J.a)(re==="combobox"||!se,"`getInputElement` only work with `combobox` mode."),Object(J.b)(re!=="combobox"||!se||!Ke||!Ie,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),xe&&!xt&&re!=="combobox"&&re!=="tags"&&Object(J.a)(!1,"`onSearch` should work with `showSearch` instead of use alone."),Object(J.b)(!Ye||pt,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Oe!=null){var Gt=Object(de.d)(Oe);Object(J.a)(!nt||Gt.every(function(pe){return Object(X.a)(pe)==="object"&&("key"in pe||"value"in pe)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Object(J.a)(!wt||Array.isArray(Oe),"`value` should be array when `mode` is `multiple` or `tags`")}if(ke){var $e=null;Object(k.a)(ke).some(function(pe){if(!r.isValidElement(pe)||!pe.type)return!1;var q=pe.type;if(q.isSelectOption)return!1;if(q.isSelectOptGroup){var bt=Object(k.a)(pe.props.children).every(function(qe){return!r.isValidElement(qe)||!pe.type||qe.type.isSelectOption?!0:($e=qe.type,!1)});return!bt}return $e=q,!0}),$e&&Object(J.a)(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat($e.displayName||$e.name||$e,"`.")),Object(J.a)(vt===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}var ae=G,Ae=Object(W.a)({prefixCls:"rc-select",components:{optionList:B},convertChildrenToData:j,flattenOptions:V.d,getLabeledValue:V.e,filterOptions:V.b,isValueDisabled:V.g,findValueOption:V.c,warningProps:ae,fillOptionsWithMissingValue:V.a}),me=function(ue){Object(A.a)(ce,ue);var re=Object(v.a)(ce);function ce(){var ke;return Object(u.a)(this,ce),ke=re.apply(this,arguments),ke.selectRef=r.createRef(),ke.focus=function(){ke.selectRef.current.focus()},ke.blur=function(){ke.selectRef.current.blur()},ke}return Object(h.a)(ce,[{key:"render",value:function(){return r.createElement(Ae,Object.assign({ref:this.selectRef},this.props))}}]),ce}(r.Component);me.Option=H,me.OptGroup=M;var Me=me,oe=Me,_e=t("H84U"),ee=t("1vzs"),ne=t("3Nzz"),Ge=function(ue){n()(ce,ue);var re=o()(ce);function ce(){var ke;return f()(this,ce),ke=re.apply(this,arguments),ke.selectRef=r.createRef(),ke.focus=function(){ke.selectRef.current&&ke.selectRef.current.focus()},ke.blur=function(){ke.selectRef.current&&ke.selectRef.current.blur()},ke.getMode=function(){var Te=ke.props.mode;return Te==="combobox"?void 0:Te===ce.SECRET_COMBOBOX_MODE_DO_NOT_USE?"combobox":Te},ke.renderSelect=function(Te){var Ke=Te.getPopupContainer,Ie=Te.getPrefixCls,se=Te.renderEmpty,ye=Te.direction,xe=Te.virtual,Ye=Te.dropdownMatchSelectWidth,pt=ke.props,nt=pt.prefixCls,Oe=pt.notFoundContent,vt=pt.className,Ze=pt.size,wt=pt.listHeight,xt=wt===void 0?256:wt,Ot=pt.listItemHeight,Mt=Ot===void 0?24:Ot,Gt=pt.getPopupContainer,$e=pt.dropdownClassName,pe=pt.bordered,q=Ie("select",nt),bt=ke.getMode(),qe=bt==="multiple"||bt==="tags",le;Oe!==void 0?le=Oe:bt==="combobox"?le=null:le=se("Select");var Nt=Object(ee.a)(m()(m()({},ke.props),{multiple:qe,prefixCls:q})),tr=Nt.suffixIcon,lt=Nt.itemIcon,zt=Nt.removeIcon,cr=Nt.clearIcon,Vr=Object(l.default)(ke.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","size","bordered"]),ur=s()($e,p()({},"".concat(q,"-dropdown-").concat(ye),ye==="rtl"));return r.createElement(ne.b.Consumer,null,function(ir){var Lt,at=Ze||ir,Xe=s()(vt,(Lt={},p()(Lt,"".concat(q,"-lg"),at==="large"),p()(Lt,"".concat(q,"-sm"),at==="small"),p()(Lt,"".concat(q,"-rtl"),ye==="rtl"),p()(Lt,"".concat(q,"-borderless"),!pe),Lt));return r.createElement(oe,m()({ref:ke.selectRef,virtual:xe,dropdownMatchSelectWidth:Ye},Vr,{listHeight:xt,listItemHeight:Mt,mode:bt,prefixCls:q,direction:ye,inputIcon:tr,menuItemSelectedIcon:lt,removeIcon:zt,clearIcon:cr,notFoundContent:le,className:Xe,getPopupContainer:Gt||Ke,dropdownClassName:ur}))})},ke}return c()(ce,[{key:"render",value:function(){return r.createElement(_e.a,null,this.renderSelect)}}]),ce}(r.Component);Ge.Option=H,Ge.OptGroup=M,Ge.SECRET_COMBOBOX_MODE_DO_NOT_USE="SECRET_COMBOBOX_MODE_DO_NOT_USE",Ge.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var Ee=N.a=Ge},"2fw6":function(R,N,t){var y=t("y+Vt"),p=y.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(m,g,f){f&&m.moveTo(g.cx+g.r,g.cy),m.arc(g.cx,g.cy,g.r,0,Math.PI*2,!0)}});R.exports=p},"2jpz":function(R,N,t){"use strict";t.d(N,"a",function(){return h});var y=t("cDf5"),p=t.n(y),S=t("q1tI"),m=t.n(S),g=t("TSYQ"),f=t.n(g),d=t("gZBC"),c=t.n(d),a=t("vk+C"),n=t.n(a),i=t("pG52"),o=t.n(i),r=t("Csr3"),l=t.n(r),e=t("e5VY"),s=t.n(e),u=t("0n0R");function h(A,v,w,b){var E=b.isLeaf,T=b.expanded,_=b.loading;if(_)return S.createElement(c.a,{className:"".concat(A,"-switcher-loading-icon")});var x;if(w&&p()(w)==="object"&&(x=w.showLeafIcon),E)return w?p()(w)==="object"&&!x?S.createElement("span",{className:"".concat(A,"-switcher-leaf-line")}):S.createElement(n.a,{className:"".concat(A,"-switcher-line-icon")}):null;var C="".concat(A,"-switcher-icon");return Object(u.b)(v)?Object(u.a)(v,{className:f()(v.props.className||"",C)}):v||(w?T?S.createElement(o.a,{className:"".concat(A,"-switcher-line-icon")}):S.createElement(l.a,{className:"".concat(A,"-switcher-line-icon")}):S.createElement(s.a,{className:C}))}},"2oIt":function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={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"};N.default=y},"2uGb":function(R,N,t){var y=t("ProS");t("ko1b"),t("s2lz"),t("RBEP");var p=t("kMLO"),S=t("nKiI");y.registerVisual(p),y.registerLayout(S)},"2w7y":function(R,N,t){var y=t("ProS");t("qMZE"),t("g0SD"),y.registerPreprocessor(function(p){p.markPoint=p.markPoint||{}})},"33Ds":function(R,N,t){var y=t("ProS"),p=t("b9oc"),S=t("Kagy"),m=t("IUWy"),g=S.toolbox.restore;function f(a){this.model=a}f.defaultOption={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:g.title};var d=f.prototype;d.onclick=function(a,n,i){p.clear(a),n.dispatchAction({type:"restore",from:this.uid})},m.register("restore",f),y.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(a,n){n.resetOption("recreate")});var c=f;R.exports=c},"34/K":function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;function y(g,f){if(!(g instanceof f))throw new TypeError("Cannot call a class as a function")}function p(g,f){for(var d=0;d>0&3)*255/3,w[b*4+1]=(h[A+b]>>2&3)*255/3,w[b*4+2]=(h[A+b]>>4&3)*255/3,w[b*4+4]=0;h=w,A=0}return o.blitImage(d,s,a,u,h,A),i.rQskipBytes(u*e),this._lines-=u,!(this._lines>0)}}]),g}();N.default=m},"3690":function(R,N,t){"use strict";function y(a){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(i){return typeof i}:y=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},y(a)}Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var p=m(t("Lo0S"));function S(){if(typeof WeakMap!="function")return null;var a=new WeakMap;return S=function(){return a},a}function m(a){if(a&&a.__esModule)return a;if(a===null||y(a)!=="object"&&typeof a!="function")return{default:a};var n=S();if(n&&n.has(a))return n.get(a);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in a)if(Object.prototype.hasOwnProperty.call(a,r)){var l=o?Object.getOwnPropertyDescriptor(a,r):null;l&&(l.get||l.set)?Object.defineProperty(i,r,l):i[r]=a[r]}return i.default=a,n&&n.set(a,i),i}function g(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function")}function f(a,n){for(var i=0;i0;){var h=1;if(e.rQwait("HEXTILE",h))return!1;var A=e.rQ,v=e.rQi,w=A[v];if(w>30)throw new Error("Illegal hextile subencoding (subencoding: "+w+")");var b=this._totalTiles-this._tiles,E=b%this._tilesX,T=Math.floor(b/this._tilesX),_=i+E*16,x=o+T*16,C=Math.min(16,i+r-_),I=Math.min(16,o+l-x);if(w&1)h+=C*I*4;else if(w&2&&(h+=4),w&4&&(h+=4),w&8){if(h++,e.rQwait("HEXTILE",h))return!1;var L=A[v+h-1];w&16?h+=L*(4+2):h+=L*2}if(e.rQwait("HEXTILE",h))return!1;if(v++,w===0)this._lastsubencoding&1?p.Debug(" Ignoring blank after RAW"):s.fillRect(_,x,C,I,this._background);else if(w&1)s.blitImage(_,x,C,I,A,v),v+=h-1;else{if(w&2&&(this._background=[A[v],A[v+1],A[v+2],A[v+3]],v+=4),w&4&&(this._foreground=[A[v],A[v+1],A[v+2],A[v+3]],v+=4),s.startTile(_,x,C,I,this._background),w&8){var F=A[v];v++;for(var B=0;B>4,M=H&15,U=A[v];v++;var k=(U>>4)+1,K=(U&15)+1;s.subTile(z,M,k,K,P)}}s.finishTile()}e.rQi=v,this._lastsubencoding=w,this._tiles--}return!0}}]),a}();N.default=c},"3C/r":function(R,N){var t=function(S,m){this.image=S,this.repeat=m,this.type="pattern"};t.prototype.getCanvasPattern=function(p){return p.createPattern(this.image,this.repeat||"repeat")};var y=t;R.exports=y},"3CBa":function(R,N,t){var y=t("hydK"),p=y.createElement,S=t("bYtY"),m=t("SUKs"),g=t("y+Vt"),f=t("Dagg"),d=t("dqUG"),c=t("DBLp"),a=t("sW+o"),n=t("n6Mw"),i=t("vKoX"),o=t("P47w"),r=o.path,l=o.image,e=o.text;function s(C){return parseInt(C,10)}function u(C){return C instanceof g?r:C instanceof f?l:C instanceof d?e:r}function h(C,I){return I&&C&&I.parentNode!==C}function A(C,I,L){if(h(C,I)&&L){var F=L.nextSibling;F?C.insertBefore(I,F):C.appendChild(I)}}function v(C,I){if(h(C,I)){var L=C.firstChild;L?C.insertBefore(I,L):C.appendChild(I)}}function w(C,I){I&&C&&I.parentNode===C&&C.removeChild(I)}function b(C){return C.__textSvgEl}function E(C){return C.__svgEl}var T=function(I,L,F,B){this.root=I,this.storage=L,this._opts=F=S.extend({},F||{});var P=p("svg");P.setAttribute("xmlns","http://www.w3.org/2000/svg"),P.setAttribute("version","1.1"),P.setAttribute("baseProfile","full"),P.style.cssText="user-select:none;position:absolute;left:0;top:0;";var H=p("g");P.appendChild(H);var z=p("g");P.appendChild(z),this.gradientManager=new a(B,z),this.clipPathManager=new n(B,z),this.shadowManager=new i(B,z);var M=document.createElement("div");M.style.cssText="overflow:hidden;position:relative",this._svgDom=P,this._svgRoot=z,this._backgroundRoot=H,this._viewport=M,I.appendChild(M),M.appendChild(P),this.resize(F.width,F.height),this._visibleList=[]};T.prototype={constructor:T,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var I=this.getViewportRoot();if(I)return{offsetLeft:I.offsetLeft||0,offsetTop:I.offsetTop||0}},refresh:function(){var I=this.storage.getDisplayList(!0);this._paintList(I)},setBackgroundColor:function(I){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var L=p("rect");L.setAttribute("width",this.getWidth()),L.setAttribute("height",this.getHeight()),L.setAttribute("x",0),L.setAttribute("y",0),L.setAttribute("id",0),L.style.fill=I,this._backgroundRoot.appendChild(L),this._backgroundNode=L},_paintList:function(I){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var L=this._svgRoot,F=this._visibleList,B=I.length,P=[],H;for(H=0;H=0;--z)if(H[z]===P)return!0;return!1}),F}else return null;else return F[0]},resize:function(I,L){var F=this._viewport;F.style.display="none";var B=this._opts;if(I!=null&&(B.width=I),L!=null&&(B.height=L),I=this._getSize(0),L=this._getSize(1),F.style.display="",this._width!==I||this._height!==L){this._width=I,this._height=L;var P=F.style;P.width=I+"px",P.height=L+"px";var H=this._svgDom;H.setAttribute("width",I),H.setAttribute("height",L)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",I),this._backgroundNode.setAttribute("height",L))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(I){var L=this._opts,F=["width","height"][I],B=["clientWidth","clientHeight"][I],P=["paddingLeft","paddingTop"][I],H=["paddingRight","paddingBottom"][I];if(L[F]!=null&&L[F]!=="auto")return parseFloat(L[F]);var z=this.root,M=document.defaultView.getComputedStyle(z);return(z[B]||s(M[F])||s(z.style[F]))-(s(M[P])||0)-(s(M[H])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},toDataURL:function(){this.refresh();var I=encodeURIComponent(this._svgDom.outerHTML.replace(/> \r<`));return"data:image/svg+xml;charset=UTF-8,"+I}};function _(C){return function(){m('In SVG mode painter not support method "'+C+'"')}}S.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],function(C){T.prototype[C]=_(C)});var x=T;R.exports=x},"3LNs":function(R,N,t){var y=t("bYtY"),p=t("Yl7c"),S=t("IwbS"),m=t("zTMp"),g=t("YH21"),f=t("iLNv"),d=t("4NO4"),c=d.makeInner,a=c(),n=y.clone,i=y.bind;function o(){}o.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(A,v,w,b){var E=v.get("value"),T=v.get("status");if(this._axisModel=A,this._axisPointerModel=v,this._api=w,!b&&this._lastValue===E&&this._lastStatus===T)return;this._lastValue=E,this._lastStatus=T;var _=this._group,x=this._handle;if(!T||T==="hide"){_&&_.hide(),x&&x.hide();return}_&&_.show(),x&&x.show();var C={};this.makeElOption(C,E,A,v,w);var I=C.graphicKey;I!==this._lastGraphicKey&&this.clear(w),this._lastGraphicKey=I;var L=this._moveAnimation=this.determineAnimation(A,v);if(!_)_=this._group=new S.Group,this.createPointerEl(_,C,A,v),this.createLabelEl(_,C,A,v),w.getZr().add(_);else{var F=y.curry(r,v,L);this.updatePointerEl(_,C,F,v),this.updateLabelEl(_,C,F,v)}u(_,v,!0),this._renderHandle(E)},remove:function(A){this.clear(A)},dispose:function(A){this.clear(A)},determineAnimation:function(A,v){var w=v.get("animation"),b=A.axis,E=b.type==="category",T=v.get("snap");if(!T&&!E)return!1;if(w==="auto"||w==null){var _=this.animationThreshold;if(E&&b.getBandWidth()>_)return!0;if(T){var x=m.getAxisInfo(A).seriesDataCount,C=b.getExtent();return Math.abs(C[0]-C[1])/x>_}return!1}return w===!0},makeElOption:function(A,v,w,b,E){},createPointerEl:function(A,v,w,b){var E=v.pointer;if(E){var T=a(A).pointerEl=new S[E.type](n(v.pointer));A.add(T)}},createLabelEl:function(A,v,w,b){if(v.label){var E=a(A).labelEl=new S.Rect(n(v.label));A.add(E),e(E,b)}},updatePointerEl:function(A,v,w){var b=a(A).pointerEl;b&&v.pointer&&(b.setStyle(v.pointer.style),w(b,{shape:v.pointer.shape}))},updateLabelEl:function(A,v,w,b){var E=a(A).labelEl;E&&(E.setStyle(v.label.style),w(E,{shape:v.label.shape,position:v.label.position}),e(E,b))},_renderHandle:function(A){if(this._dragging||!this.updateHandleTransform)return;var v=this._axisPointerModel,w=this._api.getZr(),b=this._handle,E=v.getModel("handle"),T=v.get("status");if(!E.get("show")||!T||T==="hide"){b&&w.remove(b),this._handle=null;return}var _;this._handle||(_=!0,b=this._handle=S.createIcon(E.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(I){g.stop(I.event)},onmousedown:i(this._onHandleDragMove,this,0,0),drift:i(this._onHandleDragMove,this),ondragend:i(this._onHandleDragEnd,this)}),w.add(b)),u(b,v,!1);var x=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];b.setStyle(E.getItemStyle(null,x));var C=E.get("size");y.isArray(C)||(C=[C,C]),b.attr("scale",[C[0]/2,C[1]/2]),f.createOrUpdate(this,"_doDispatchAxisPointer",E.get("throttle")||0,"fixRate"),this._moveHandleToValue(A,_)},_moveHandleToValue:function(A,v){r(this._axisPointerModel,!v&&this._moveAnimation,this._handle,s(this.getHandleTransform(A,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(A,v){var w=this._handle;if(!w)return;this._dragging=!0;var b=this.updateHandleTransform(s(w),[A,v],this._axisModel,this._axisPointerModel);this._payloadInfo=b,w.stopAnimation(),w.attr(s(b)),a(w).lastProp=null,this._doDispatchAxisPointer()},_doDispatchAxisPointer:function(){var A=this._handle;if(!A)return;var v=this._payloadInfo,w=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:v.cursorPoint[0],y:v.cursorPoint[1],tooltipOption:v.tooltipOption,axesInfo:[{axisDim:w.axis.dim,axisIndex:w.componentIndex}]})},_onHandleDragEnd:function(A){this._dragging=!1;var v=this._handle;if(!v)return;var w=this._axisPointerModel.get("value");this._moveHandleToValue(w),this._api.dispatchAction({type:"hideTip"})},getHandleTransform:null,updateHandleTransform:null,clear:function(A){this._lastValue=null,this._lastStatus=null;var v=A.getZr(),w=this._group,b=this._handle;v&&w&&(this._lastGraphicKey=null,w&&v.remove(w),b&&v.remove(b),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(A,v,w){return w=w||0,{x:A[w],y:A[1-w],width:v[w],height:v[1-w]}}},o.prototype.constructor=o;function r(A,v,w,b){l(a(w).lastProp,b)||(a(w).lastProp=b,v?S.updateProps(w,b,A):(w.stopAnimation(),w.attr(b)))}function l(A,v){if(y.isObject(A)&&y.isObject(v)){var w=!0;return y.each(v,function(b,E){w=w&&l(A[E],b)}),!!w}else return A===v}function e(A,v){A[v.get("label.show")?"show":"hide"]()}function s(A){return{position:A.position.slice(),rotation:A.rotation||0}}function u(A,v,w){var b=v.get("z"),E=v.get("zlevel");A&&A.traverse(function(T){T.type!=="group"&&(b!=null&&(T.z=b),E!=null&&(T.zlevel=E),T.silent=w)})}p.enableClassExtend(o);var h=o;R.exports=h},"3OrL":function(R,N,t){var y=t("bYtY"),p=t("6Ic6"),S=t("IwbS"),m=t("y+Vt"),g=["itemStyle"],f=["emphasis","itemStyle"],d=p.extend({type:"boxplot",render:function(r,l,e){var s=r.getData(),u=this.group,h=this._data;this._data||u.removeAll();var A=r.get("layout")==="horizontal"?1:0;s.diff(h).add(function(v){if(s.hasValue(v)){var w=s.getItemLayout(v),b=a(w,s,v,A,!0);s.setItemGraphicEl(v,b),u.add(b)}}).update(function(v,w){var b=h.getItemGraphicEl(w);if(!s.hasValue(v)){u.remove(b);return}var E=s.getItemLayout(v);b?n(E,b,s,v):b=a(E,s,v,A),u.add(b),s.setItemGraphicEl(v,b)}).remove(function(v){var w=h.getItemGraphicEl(v);w&&u.remove(w)}).execute(),this._data=s},remove:function(r){var l=this.group,e=this._data;this._data=null,e&&e.eachItemGraphicEl(function(s){s&&l.remove(s)})},dispose:y.noop}),c=m.extend({type:"boxplotBoxPath",shape:{},buildPath:function(r,l){var e=l.points,s=0;for(r.moveTo(e[s][0],e[s][1]),s++;s<4;s++)r.lineTo(e[s][0],e[s][1]);for(r.closePath();s=0||wt.indexOf("Bottom")>=0?Ot.top="".concat(xt.height-vt.offset[1],"px"):(wt.indexOf("Top")>=0||wt.indexOf("bottom")>=0)&&(Ot.top="".concat(-vt.offset[1],"px")),wt.indexOf("left")>=0||wt.indexOf("Right")>=0?Ot.left="".concat(xt.width-vt.offset[0],"px"):(wt.indexOf("right")>=0||wt.indexOf("Left")>=0)&&(Ot.left="".concat(-vt.offset[0],"px")),Oe.style.transformOrigin="".concat(Ot.left," ").concat(Ot.top)},_e=function(){var Oe=U.title,vt=U.overlay;return Oe===0?Oe:vt||Oe||""},ee=U.prefixCls,ne=U.openClassName,Ge=U.getPopupContainer,Ee=U.getTooltipContainer,ue=U.overlayClassName,re=U.color,ce=U.overlayInnerStyle,ke=U.children,Te=W("tooltip",ee),Ke=G;!("visible"in U)&&Ae()&&(Ke=!1);var Ie=H(Object(I.b)(ke)?ke:d.createElement("span",null,ke),Te),se=Ie.props,ye=b()(se.className,p()({},ne||"".concat(Te,"-open"),!0)),xe=b()(ue,(K={},p()(K,"".concat(Te,"-rtl"),X==="rtl"),p()(K,"".concat(Te,"-").concat(re),re&&P.test(re)),K)),Ye,pt;return re&&!P.test(re)&&(Ye=f()(f()({},ce),{background:re}),pt={background:re}),d.createElement(v,f()({},U,{prefixCls:Te,overlayClassName:xe,getTooltipContainer:Ge||Ee||V,ref:k,builtinPlacements:Me(),overlay:_e(),visible:Ke,onVisibleChange:me,onPopupAlign:oe,overlayInnerStyle:Ye,arrowContent:d.createElement("span",{className:"".concat(Te,"-arrow-content"),style:pt})}),Ke?Object(I.a)(Ie,{className:ye}):Ie)});z.displayName="Tooltip",z.defaultProps={placement:"top",transitionName:"zoom-big-fast",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0};var M=N.a=z},"3TkU":function(R,N,t){t("aTJb"),t("OlYY"),t("fc+c"),t("QUw5"),t("Swgg"),t("LBfv"),t("noeP")},"3X6L":function(R,N,t){var y=t("bYtY"),p=t("7a+S"),S=t("OKJ2"),m=p.extend({type:"timeline.slider",defaultOption:{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"emptyCircle",symbolSize:10,lineStyle:{show:!0,width:2,color:"#304654"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#304654"},itemStyle:{color:"#304654",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:13,color:"#c23531",borderWidth:5,borderColor:"rgba(194,53,49, 0.5)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:22,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"path://M18.6,50.8l22.5-22.5c0.2-0.2,0.3-0.4,0.3-0.7c0-0.3-0.1-0.5-0.3-0.7L18.7,4.4c-0.1-0.1-0.2-0.3-0.2-0.5 c0-0.4,0.3-0.8,0.8-0.8c0.2,0,0.5,0.1,0.6,0.3l23.5,23.5l0,0c0.2,0.2,0.3,0.4,0.3,0.7c0,0.3-0.1,0.5-0.3,0.7l-0.1,0.1L19.7,52 c-0.1,0.1-0.3,0.2-0.5,0.2c-0.4,0-0.8-0.3-0.8-0.8C18.4,51.2,18.5,51,18.6,50.8z",prevIcon:"path://M43,52.8L20.4,30.3c-0.2-0.2-0.3-0.4-0.3-0.7c0-0.3,0.1-0.5,0.3-0.7L42.9,6.4c0.1-0.1,0.2-0.3,0.2-0.5 c0-0.4-0.3-0.8-0.8-0.8c-0.2,0-0.5,0.1-0.6,0.3L18.3,28.8l0,0c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.3,0.1,0.5,0.3,0.7l0.1,0.1L41.9,54 c0.1,0.1,0.3,0.2,0.5,0.2c0.4,0,0.8-0.3,0.8-0.8C43.2,53.2,43.1,53,43,52.8z",color:"#304654",borderColor:"#304654",borderWidth:1},emphasis:{label:{show:!0,color:"#c23531"},itemStyle:{color:"#c23531"},controlStyle:{color:"#c23531",borderColor:"#c23531",borderWidth:2}},data:[]}});y.mixin(m,S);var g=m;R.exports=g},"3e3G":function(R,N,t){var y=t("bYtY"),p=t("QuXc"),S=function(f,d,c,a,n){this.x=f==null?.5:f,this.y=d==null?.5:d,this.r=c==null?.5:c,this.type="radial",this.global=n||!1,p.call(this,a)};S.prototype={constructor:S},y.inherits(S,p);var m=S;R.exports=m},"3gBT":function(R,N){var t=2311;function y(){return t++}R.exports=y},"3hzK":function(R,N){var t={getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}}};R.exports=t},"3m61":function(R,N){function t(p){return p instanceof Array||(p=[p,p]),p}function y(p){p.eachSeriesByType("graph",function(S){var m=S.getGraph(),g=S.getEdgeData(),f=t(S.get("edgeSymbol")),d=t(S.get("edgeSymbolSize")),c="lineStyle.color".split("."),a="lineStyle.opacity".split(".");g.setVisual("fromSymbol",f&&f[0]),g.setVisual("toSymbol",f&&f[1]),g.setVisual("fromSymbolSize",d&&d[0]),g.setVisual("toSymbolSize",d&&d[1]),g.setVisual("color",S.get(c)),g.setVisual("opacity",S.get(a)),g.each(function(n){var i=g.getItemModel(n),o=m.getEdgeByIndex(n),r=t(i.getShallow("symbol",!0)),l=t(i.getShallow("symbolSize",!0)),e=i.get(c),s=i.get(a);switch(e){case"source":e=o.node1.getVisual("color");break;case"target":e=o.node2.getVisual("color");break}r[0]&&o.setVisual("fromSymbol",r[0]),r[1]&&o.setVisual("toSymbol",r[1]),l[0]&&o.setVisual("fromSymbolSize",l[0]),l[1]&&o.setVisual("toSymbolSize",l[1]),o.setVisual("color",e),o.setVisual("opacity",s)})})}R.exports=y},"3ouR":function(R,N,t){"use strict";var y=t("VTBJ"),p=t("q1tI"),S={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M354 671h58.9c4.7 0 9.2-2.1 12.3-5.7L512 561.8l86.8 103.5c3 3.6 7.5 5.7 12.3 5.7H670c6.8 0 10.5-7.9 6.1-13.1L553.8 512l122.4-145.9c4.4-5.2.7-13.1-6.1-13.1h-58.9c-4.7 0-9.2 2.1-12.3 5.7L512 462.2l-86.8-103.5c-3-3.6-7.5-5.7-12.3-5.7H354c-6.8 0-10.5 7.9-6.1 13.1L470.2 512 347.9 657.9A7.95 7.95 0 00354 671z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"close-square",theme:"outlined"},m=S,g=t("6VBw"),f=function(a,n){return p.createElement(g.a,Object(y.a)(Object(y.a)({},a),{},{ref:n,icon:m}))};f.displayName="CloseSquareOutlined";var d=N.a=p.forwardRef(f)},"3zoK":function(R,N,t){var y=t("bYtY"),p=t("bLfw"),S=t("KCsZ"),m=t("nkfE"),g=t("OELB"),f=t("ICMv"),d=p.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return S([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(i){var o=this.activeIntervals=y.clone(i);if(o)for(var r=o.length-1;r>=0;r--)g.asc(o[r])},getActiveState:function(i){var o=this.activeIntervals;if(!o.length)return"normal";if(i==null||isNaN(i))return"inactive";if(o.length===1){var r=o[0];if(r[0]<=i&&i<=r[1])return"active"}else for(var l=0,e=o.length;l40&&(B=Math.max(1,Math.floor(F/40)));for(var P=L[0],H=T.dataToCoord(P+1)-T.dataToCoord(P),z=Math.abs(H*Math.cos(C)),M=Math.abs(H*Math.sin(C)),U=0,k=0;P<=L[1];P+=B){var K=0,j=0,V=p.getBoundingRect(x(P),_.font,"center","top");K=V.width*1.3,j=V.height*1.3,U=Math.max(U,K,7),k=Math.max(k,j,7)}var W=U/z,X=k/M;isNaN(W)&&(W=Infinity),isNaN(X)&&(X=Infinity);var J=Math.max(0,Math.floor(Math.min(W,X))),de=a(T.model),G=T.getExtent(),ae=de.lastAutoInterval,Ae=de.lastTickCount;return ae!=null&&Ae!=null&&Math.abs(ae-J)<=1&&Math.abs(Ae-F)<=1&&ae>J&&de.axisExtend0===G[0]&&de.axisExtend1===G[1]?J=ae:(de.lastTickCount=F,de.lastAutoInterval=J,de.axisExtend0=G[0],de.axisExtend1=G[1]),J}function w(T){var _=T.getLabelModel();return{axisRotate:T.getRotate?T.getRotate():T.isHorizontal&&!T.isHorizontal()?90:0,labelRotate:_.get("rotate")||0,font:_.getFont()}}function b(T,_,x){var C=f(T),I=T.scale,L=I.getExtent(),F=T.getLabelModel(),B=[],P=Math.max((_||0)+1,1),H=L[0],z=I.count();H!==0&&P>1&&z/P>2&&(H=Math.round(Math.ceil(H/P)*P));var M=c(T),U=F.get("showMinLabel")||M,k=F.get("showMaxLabel")||M;U&&H!==L[0]&&j(L[0]);for(var K=H;K<=L[1];K+=P)j(K);k&&K-P!==L[1]&&j(L[1]);function j(V){B.push(x?V:{formattedLabel:C(V),rawLabel:I.getLabel(V),tickValue:V})}return B}function E(T,_,x){var C=T.scale,I=f(T),L=[];return y.each(C.getTicks(),function(F){var B=C.getLabel(F);_(F,B)&&L.push(x?F:{formattedLabel:I(F),rawLabel:B,tickValue:F})}),L}N.createAxisLabels=n,N.createAxisTicks=i,N.calculateCategoryInterval=v},"4NO4":function(R,N,t){var y=t("bYtY"),p=t("ItGF"),S=y.each,m=y.isObject,g=y.isArray,f="series\0";function d(x){return x instanceof Array?x:x==null?[]:[x]}function c(x,C,I){if(x){x[C]=x[C]||{},x.emphasis=x.emphasis||{},x.emphasis[C]=x.emphasis[C]||{};for(var L=0,F=I.length;L=I.length&&I.push({option:L})}),I}function r(x){var C=y.createHashMap();S(x,function(I,L){var F=I.exist;F&&C.set(F.id,I)}),S(x,function(I,L){var F=I.option;y.assert(!F||F.id==null||!C.get(F.id)||C.get(F.id)===I,"id duplicates: "+(F&&F.id)),F&&F.id!=null&&C.set(F.id,I),!I.keyInfo&&(I.keyInfo={})}),S(x,function(I,L){var F=I.exist,B=I.option,P=I.keyInfo;if(!m(B))return;if(P.name=B.name!=null?B.name+"":F?F.name:f+L,F)P.id=F.id;else if(B.id!=null)P.id=B.id+"";else{var H=0;do P.id="\0"+P.name+"\0"+H++;while(C.get(P.id))}C.set(P.id,I)})}function l(x){var C=x.name;return!!(C&&C.indexOf(f))}function e(x){return m(x)&&x.id&&(x.id+"").indexOf("\0_ec_\0")===0}function s(x,C){var I={},L={};return F(x||[],I),F(C||[],L,I),[B(I),B(L)];function F(P,H,z){for(var M=0,U=P.length;M=g[0]&&m<=g[1]},p.prototype.normalize=function(m){var g=this._extent;return g[1]===g[0]?.5:(m-g[0])/(g[1]-g[0])},p.prototype.scale=function(m){var g=this._extent;return m*(g[1]-g[0])+g[0]},p.prototype.unionExtent=function(m){var g=this._extent;m[0]g[1]&&(g[1]=m[1])},p.prototype.unionExtentFromData=function(m,g){this.unionExtent(m.getApproximateExtent(g))},p.prototype.getExtent=function(){return this._extent.slice()},p.prototype.setExtent=function(m,g){var f=this._extent;isNaN(m)||(f[0]=m),isNaN(g)||(f[1]=g)},p.prototype.isBlank=function(){return this._isBlank},p.prototype.setBlank=function(m){this._isBlank=m},p.prototype.getLabel=null,y.enableClassExtend(p),y.enableClassManagement(p,{registerWhenExtend:!0});var S=p;R.exports=S},"4fz+":function(R,N,t){var y=t("bYtY"),p=t("1bdT"),S=t("mFDi"),m=function(d){d=d||{},p.call(this,d);for(var c in d)d.hasOwnProperty(c)&&(this[c]=d[c]);this._children=[],this.__storage=null,this.__dirty=!0};m.prototype={constructor:m,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(d){return this._children[d]},childOfName:function(d){for(var c=this._children,a=0;a=0&&(a.splice(n,0,d),this._doAdd(d))}return this},_doAdd:function(d){d.parent&&d.parent.remove(d),d.parent=this;var c=this.__storage,a=this.__zr;c&&c!==d.__storage&&(c.addToStorage(d),d instanceof m&&d.addChildrenToStorage(c)),a&&a.refresh()},remove:function(d){var c=this.__zr,a=this.__storage,n=this._children,i=y.indexOf(n,d);return i<0?this:(n.splice(i,1),d.parent=null,a&&(a.delFromStorage(d),d instanceof m&&d.delChildrenFromStorage(a)),c&&c.refresh(),this)},removeAll:function(){var d=this._children,c=this.__storage,a,n;for(n=0;n1e-4){_[0]=h-v,_[1]=A-w,x[0]=h+v,x[1]=A+w;return}if(c[0]=f(b)*v+h,c[1]=g(b)*w+A,a[0]=f(E)*v+h,a[1]=g(E)*w+A,C(_,c,a),I(x,c,a),b=b%d,b<0&&(b=b+d),E=E%d,E<0&&(E=E+d),b>E&&!T?E+=d:bb&&(n[0]=f(B)*v+h,n[1]=g(B)*w+A,C(_,n,_),I(x,n,x))}N.fromPoints=i,N.fromLine=o,N.fromCubic=e,N.fromQuadratic=s,N.fromArc=u},"4vCz":function(R,N,t){"use strict";var y=t("284h"),p=t("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=p(t("3tO9")),m=y(t("q1tI")),g=p(t("X2/X")),f=p(t("KQxl")),d=function(n,i){return m.createElement(f.default,(0,S.default)((0,S.default)({},n),{},{ref:i,icon:g.default}))};d.displayName="PlusSquareOutlined";var c=m.forwardRef(d);N.default=c},"4xFK":function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"};N.default=y},"56rv":function(R,N,t){var y=t("IwbS"),p=t("x3X8"),S=p.getDefaultLabel;function m(f,d,c,a,n,i,o){var r=c.getModel("label"),l=c.getModel("emphasis.label");y.setLabelStyle(f,d,r,l,{labelFetcher:n,labelDataIndex:i,defaultText:S(n.getData(),i),isRectText:!0,autoColor:a}),g(f),g(d)}function g(f,d){f.textPosition==="outside"&&(f.textPosition=d)}N.setLabel=m},"59Ip":function(R,N,t){var y=t("Sj9i");function p(S,m,g,f,d,c,a,n,i,o,r){if(i===0)return!1;var l=i;if(r>m+l&&r>f+l&&r>c+l&&r>n+l||rS+l&&o>g+l&&o>d+l&&o>a+l||oc)return d[n];return d[a-1]}var f={clearColorPalette:function(){m(this).colorIdx=0,m(this).colorNameMap={}},getColorFromPalette:function(d,c,a){c=c||this;var n=m(c),i=n.colorIdx||0,o=n.colorNameMap=n.colorNameMap||{};if(o.hasOwnProperty(d))return o[d];var r=S(this.get("color",!0)),l=this.get("colorLayer",!0),e=a==null||!l?r:g(l,a);if(e=e||r,!e||!e.length)return;var s=e[i];return d&&(o[d]=s),n.colorIdx=(i+1)%e.length,s}};R.exports=f},"5NDa":function(R,N,t){"use strict";var y=t("cIOH"),p=t.n(y),S=t("OnYD"),m=t.n(S),g=t("+L6B")},"5NHt":function(R,N,t){t("aTJb"),t("OlYY"),t("fc+c"),t("N5BQ"),t("IyUQ"),t("LBfv"),t("noeP")},"5OYt":function(R,N,t){"use strict";var y=t("J4zp"),p=t.n(y),S=t("q1tI"),m=t.n(S),g=t("ACnJ");function f(){var d=Object(S.useState)({}),c=p()(d,2),a=c[0],n=c[1];return Object(S.useEffect)(function(){var i=g.a.subscribe(function(o){n(o)});return function(){return g.a.unsubscribe(i)}},[]),a}N.a=f},"5RzL":function(R,N,t){"use strict";var y=t("pVnL"),p=t.n(y),S=t("lSNA"),m=t.n(S),g=t("lwsE"),f=t.n(g),d=t("W8MJ"),c=t.n(d),a=t("7W2i"),n=t.n(a),i=t("LQ03"),o=t.n(i),r=t("q1tI"),l=t("1OyB"),e=t("vuIU"),s=t("Ji7U"),u=t("LK+K"),h=t("KQm4"),A=t("U8pU"),v=t("ODXe"),w=t("VTBJ"),b=t("qNPg"),E=t("2Qr1"),T=t("815F"),_=t("NvD2"),x=t("wPlo"),C=t("6cGi"),I=t("Kwbf"),L=t("4IlW"),F=t("YrtM"),B=t("fAei"),P=r.createContext(null);function H(lt,zt){if(!lt)return!0;var cr=lt.data,Vr=cr.disabled,ur=cr.disableCheckbox;switch(zt){case"select":return Vr;case"checkbox":return Vr||ur}return!1}function z(lt,zt){var cr=r.useCallback(function(ur){var ir=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",Lt=arguments.length>2?arguments[2]:void 0,at=lt.get(ur);return!Lt&&H(at,ir)?null:at},[lt]),Vr=r.useCallback(function(ur){var ir=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",Lt=arguments.length>2?arguments[2]:void 0,at=zt.get(ur);return!Lt&&H(at,ir)?null:at},[zt]);return[cr,Vr]}function M(lt){return r.useMemo(function(){var zt=new Map,cr=new Map;return lt.forEach(function(Vr){zt.set(Vr.key,Vr),cr.set(Vr.data.value,Vr)}),[zt,cr]},[lt])}var U={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},k=function(zt,cr){var Vr=zt.prefixCls,ur=zt.height,ir=zt.itemHeight,Lt=zt.virtual,at=zt.options,Xe=zt.flattenOptions,$t=zt.multiple,Sr=zt.searchValue,vr=zt.onSelect,fr=zt.onToggleOpen,An=zt.open,Zr=zt.notFoundContent,Ln=zt.onMouseEnter,Je=r.useContext(P),et=Je.checkable,be=Je.checkedKeys,Le=Je.halfCheckedKeys,Ue=Je.treeExpandedKeys,rt=Je.treeDefaultExpandAll,Kt=Je.treeDefaultExpandedKeys,Pt=Je.onTreeExpand,Vt=Je.treeIcon,Mr=Je.showTreeIcon,Pr=Je.switcherIcon,un=Je.treeLine,Ut=Je.treeNodeFilterProp,dt=Je.loadData,st=Je.treeLoadedKeys,Qt=Je.treeMotion,Jt=Je.onTreeLoad,gt=r.useRef(),Ft=Object(F.a)(function(){return at},[An,at],function(Br,yr){return yr[0]&&Br[1]!==yr[1]}),mt=M(Xe),kt=Object(v.a)(mt,2),gr=kt[0],ar=kt[1],lr=z(gr,ar),Yr=Object(v.a)(lr,2),Jr=Yr[0],Tn=Yr[1],Dn=r.useMemo(function(){return be.map(function(Br){var yr=Tn(Br);return yr?yr.key:null})},[be]),zn=r.useMemo(function(){return et?{checked:Dn,halfChecked:Le}:null},[Dn,Le,et]);r.useEffect(function(){if(An&&!$t&&Dn.length){var Br;(Br=gt.current)===null||Br===void 0||Br.scrollTo({key:Dn[0]})}},[An]);var qn=String(Sr).toLowerCase(),vi=function(yr){return qn?String(yr[Ut]).toLowerCase().includes(qn):!1},Ri=r.useState(Kt),Ve=Object(v.a)(Ri,2),Se=Ve[0],Re=Ve[1],Be=r.useState(null),We=Object(v.a)(Be,2),He=We[0],Qe=We[1],At=r.useMemo(function(){return Ue?Object(h.a)(Ue):Sr?He:Se},[Se,He,qn,Ue]);r.useEffect(function(){Sr&&Qe(Xe.map(function(Br){return Br.key}))},[Sr]);var ot=function(yr){Re(yr),Qe(yr),Pt&&Pt(yr)},Bt=function(yr){yr.preventDefault()},wr=function(yr,xn){var Bn=xn.node.key,ii=Jr(Bn,et?"checkbox":"select");ii!==null&&vr(ii.data.value,{selected:!be.includes(ii.data.value)}),$t||fr(!1)},mr=r.useState(null),Or=Object(v.a)(mr,2),Ht=Or[0],cn=Or[1],nr=Jr(Ht);if(r.useImperativeHandle(cr,function(){return{onKeyDown:function(yr){var xn,Bn=yr.which;switch(Bn){case L.a.UP:case L.a.DOWN:case L.a.LEFT:case L.a.RIGHT:(xn=gt.current)===null||xn===void 0||xn.onKeyDown(yr);break;case L.a.ENTER:{nr!==null&&wr(null,{node:{key:Ht},selected:!be.includes(nr.data.value)});break}case L.a.ESC:fr(!1)}},onKeyUp:function(){}}}),Ft.length===0)return r.createElement("div",{role:"listbox",className:"".concat(Vr,"-empty"),onMouseDown:Bt},Zr);var Xr={};return st&&(Xr.loadedKeys=st),At&&(Xr.expandedKeys=At),r.createElement("div",{onMouseDown:Bt,onMouseEnter:Ln},nr&&An&&r.createElement("span",{style:U,"aria-live":"assertive"},nr.data.value),r.createElement(B.b,Object.assign({ref:gt,focusable:!1,prefixCls:"".concat(Vr,"-tree"),treeData:Ft,height:ur,itemHeight:ir,virtual:Lt,multiple:$t,icon:Vt,showIcon:Mr,switcherIcon:Pr,showLine:un,loadData:Sr?null:dt,motion:Qt,checkable:et,checkStrictly:!0,checkedKeys:zn,selectedKeys:et?[]:Dn,defaultExpandAll:rt},Xr,{onActiveChange:cn,onSelect:wr,onCheck:wr,onExpand:ot,onLoad:Jt,filterTreeNode:vi})))},K=r.forwardRef(k);K.displayName="OptionList";var j=K,V=function(){return null},W=V,X=t("Ff2n"),J=t("Zm9Q");function de(lt){return Object(J.a)(lt).map(function(zt){if(!r.isValidElement(zt)||!zt.type)return null;var cr=zt.key,Vr=zt.props,ur=Vr.children,ir=Vr.value,Lt=Object(X.a)(Vr,["children","value"]),at=Object(w.a)({key:cr,value:ir},Lt),Xe=de(ur);return Xe.length&&(at.children=Xe),at}).filter(function(zt){return zt})}function G(lt){if(!lt)return lt;var zt=Object(w.a)({},lt);return"props"in zt||Object.defineProperty(zt,"props",{get:function(){return Object(I.a)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),zt}}),zt}function ae(lt,zt,cr,Vr,ur){var ir=null,Lt=null;function at(){function Xe($t){var Sr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",vr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return $t.map(function(fr,An){var Zr="".concat(Sr,"-").concat(An),Ln=cr.includes(fr.value),Je=Xe(fr.children||[],Zr,Ln),et=r.createElement(W,Object.assign({},fr),Je.map(function(Le){return Le.node}));if(zt===fr.value&&(ir=et),Ln){var be={pos:Zr,node:et,children:Je};return vr||Lt.push(be),be}return null}).filter(function(fr){return fr})}Lt||(Lt=[],Xe(Vr),Lt.sort(function($t,Sr){var vr=$t.node.props.value,fr=Sr.node.props.value,An=cr.indexOf(vr),Zr=cr.indexOf(fr);return An-Zr}))}Object.defineProperty(lt,"triggerNode",{get:function(){return Object(I.a)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),at(),ir}}),Object.defineProperty(lt,"allCheckedNodes",{get:function(){return Object(I.a)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),at(),ur?Lt:Lt.map(function($t){var Sr=$t.node;return Sr})}})}function Ae(lt){return Array.isArray(lt)?lt:lt!==void 0?[lt]:[]}function me(lt,zt){var cr=new Map;return zt.forEach(function(Vr){var ur=Vr.data;cr.set(ur.value,ur)}),lt.map(function(Vr){return G(cr.get(Vr))})}function Me(lt,zt){var cr=me([lt],zt)[0];return cr?cr.disabled:!1}function oe(lt){return lt.disabled||lt.disableCheckbox||lt.checkable===!1}function _e(lt){for(var zt=lt.parent,cr=0,Vr=zt;Vr;)Vr=Vr.parent,cr+=1;return cr}function ee(lt){function zt(Vr){return(Vr||[]).map(function(ur){var ir=ur.value,Lt=ur.key,at=ur.children,Xe=Object(w.a)(Object(w.a)({},ur),{},{key:"key"in ur?Lt:ir});return at&&(Xe.children=zt(at)),Xe})}var cr=Object(T.d)(zt(lt),!0);return cr.map(function(Vr){return{key:Vr.data.key,data:Vr.data,level:_e(Vr)}})}function ne(lt){return function(zt,cr){var Vr=cr[lt];return String(Vr).toLowerCase().includes(String(zt).toLowerCase())}}function Ge(lt,zt,cr){var Vr=cr.optionFilterProp,ur=cr.filterOption;if(ur===!1)return zt;var ir;typeof ur=="function"?ir=ur:ir=ne(Vr);function Lt(at){var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return at.map(function($t){var Sr=$t.children,vr=Xe||ir(lt,G($t)),fr=Lt(Sr||[],vr);return vr||fr.length?Object(w.a)(Object(w.a)({},$t),{},{children:fr}):null}).filter(function($t){return $t})}return Lt(zt)}function Ee(lt,zt,cr,Vr){var ur=new Map;return Ae(zt).forEach(function(ir){ir&&Object(A.a)(ir)==="object"&&"value"in ir&&ur.set(ir.value,ir)}),lt.map(function(ir){var Lt={value:ir},at=cr(ir,"select",!0),Xe=at?Vr(at.data):ir;if(ur.has(ir)){var $t=ur.get(ir);Lt.label="label"in $t?$t.label:Xe,"halfChecked"in $t&&(Lt.halfChecked=$t.halfChecked)}else Lt.label=Xe;return Lt})}function ue(lt,zt){var cr=new Set(lt);return cr.add(zt),Array.from(cr)}function re(lt,zt){var cr=new Set(lt);return cr.delete(zt),Array.from(cr)}function ce(lt){var zt=lt.searchPlaceholder,cr=lt.treeCheckStrictly,Vr=lt.treeCheckable,ur=lt.labelInValue,ir=lt.value,Lt=lt.multiple;Object(I.a)(!zt,"`searchPlaceholder` has been removed."),cr&&ur===!1&&Object(I.a)(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(ur||cr)&&Object(I.a)(Ae(ir).every(function(at){return at&&Object(A.a)(at)==="object"&&"value"in at}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),cr||Lt||Vr?Object(I.a)(!ir||Array.isArray(ir),"`value` should be an array when `TreeSelect` is checkable or multiple."):Object(I.a)(!Array.isArray(ir),"`value` should not be array when `TreeSelect` is single mode.")}var ke=ce,Te=10;function Ke(lt,zt){var cr=zt.id,Vr=zt.pId,ur=zt.rootPId,ir={},Lt=[],at=lt.map(function(Xe){var $t=Object(w.a)({},Xe),Sr=$t[cr];return ir[Sr]=$t,$t.key=$t.key||Sr,$t});return at.forEach(function(Xe){var $t=Xe[Vr],Sr=ir[$t];Sr&&(Sr.children=Sr.children||[],Sr.children.push(Xe)),($t===ur||!Sr&&ur===null)&&Lt.push(Xe)}),Lt}function Ie(lt,zt){var cr=0,Vr=new Set;function ur(ir){return(ir||[]).map(function(Lt){var at=Lt.key,Xe=Lt.value,$t=Lt.children,Sr=Object(X.a)(Lt,["key","value","children"]),vr="value"in Lt?Xe:at,fr=Object(w.a)(Object(w.a)({},Sr),{},{key:at!=null?at:vr,value:vr,title:zt(Lt)});return"children"in Lt&&(fr.children=ur($t)),fr})}return ur(lt)}function se(lt,zt,cr){var Vr=cr.getLabelProp,ur=cr.simpleMode,ir=r.useRef({});return lt?(ir.current.formatTreeData=ir.current.treeData===lt?ir.current.formatTreeData:Ie(ur?Ke(lt,Object(w.a)({id:"id",pId:"pId",rootPId:null},ur!==!0?ur:{})):lt,Vr),ir.current.treeData=lt):ir.current.formatTreeData=ir.current.children===zt?ir.current.formatTreeData:Ie(de(zt),Vr),ir.current.formatTreeData}var ye="SHOW_ALL",xe="SHOW_PARENT",Ye="SHOW_CHILD";function pt(lt,zt,cr){var Vr=new Set(lt);return zt===Ye?lt.filter(function(ur){var ir=cr[ur];return!(ir&&ir.children&&ir.children.every(function(Lt){var at=Lt.node;return oe(at)||Vr.has(at.key)}))}):zt===xe?lt.filter(function(ur){var ir=cr[ur],Lt=ir?ir.parent:null;return!(Lt&&!oe(Lt.node)&&Vr.has(Lt.node.key))}):lt}function nt(lt,zt){var cr=zt.value,Vr=zt.getEntityByValue,ur=zt.getEntityByKey,ir=zt.treeConduction,Lt=zt.showCheckedStrategy,at=zt.conductKeyEntities,Xe=zt.getLabelProp;return r.useMemo(function(){var $t=lt;if(ir){var Sr=pt(lt.map(function(vr){var fr=Vr(vr);return fr?fr.key:vr}),Lt,at);$t=Sr.map(function(vr){var fr=ur(vr);return fr?fr.data.value:vr})}return Ee($t,cr,Vr,Xe)},[lt,cr,ir,Lt,Vr])}var Oe=["expandedKeys","treeData","treeCheckable","showCheckedStrategy","searchPlaceholder","treeLine","treeIcon","showTreeIcon","switcherIcon","treeNodeFilterProp","filterTreeNode","dropdownPopupAlign","treeDefaultExpandAll","treeCheckStrictly","treeExpandedKeys","treeLoadedKeys","treeMotion","onTreeExpand","onTreeLoad","loadData","treeDataSimpleMode","treeNodeLabelProp","treeDefaultExpandedKeys"],vt=Object(b.a)({prefixCls:"rc-tree-select",components:{optionList:j},convertChildrenToData:function(){return null},flattenOptions:ee,getLabeledValue:E.e,filterOptions:Ge,isValueDisabled:Me,findValueOption:me,omitDOMProps:function(zt){var cr=Object(w.a)({},zt);return Oe.forEach(function(Vr){delete cr[Vr]}),cr}});vt.displayName="Select";var Ze=r.forwardRef(function(lt,zt){var cr=lt.multiple,Vr=lt.treeCheckable,ur=lt.treeCheckStrictly,ir=lt.showCheckedStrategy,Lt=ir===void 0?"SHOW_CHILD":ir,at=lt.labelInValue,Xe=lt.loadData,$t=lt.treeLoadedKeys,Sr=lt.treeNodeFilterProp,vr=Sr===void 0?"value":Sr,fr=lt.treeNodeLabelProp,An=lt.treeDataSimpleMode,Zr=lt.treeData,Ln=lt.treeExpandedKeys,Je=lt.treeDefaultExpandedKeys,et=lt.treeDefaultExpandAll,be=lt.children,Le=lt.treeIcon,Ue=lt.showTreeIcon,rt=lt.switcherIcon,Kt=lt.treeLine,Pt=lt.treeMotion,Vt=lt.filterTreeNode,Mr=lt.dropdownPopupAlign,Pr=lt.onChange,un=lt.onTreeExpand,Ut=lt.onTreeLoad,dt=lt.onDropdownVisibleChange,st=lt.onSelect,Qt=lt.onDeselect,Jt=Vr||ur,gt=cr||Jt,Ft=Vr&&!ur,mt=ur||at,kt=r.useRef(null);r.useImperativeHandle(zt,function(){return{focus:kt.current.focus,blur:kt.current.blur}});var gr=function(Bn){return Zr&&Bn.label||Bn.title},ar=function(Bn){return fr?Bn[fr]:gr(Bn)},lr=se(Zr,be,{getLabelProp:gr,simpleMode:An}),Yr=Object(r.useMemo)(function(){return ee(lr)},[lr]),Jr=M(Yr),Tn=Object(v.a)(Jr,2),Dn=Tn[0],zn=Tn[1],qn=z(Dn,zn),vi=Object(v.a)(qn,2),Ri=vi[0],Ve=vi[1],Se=Object(r.useMemo)(function(){return Ft?Object(T.a)(lr):{keyEntities:null}},[lr,Vr,ur]),Re=Se.keyEntities,Be=Object(C.a)(lt.defaultValue,{value:lt.value}),We=Object(v.a)(Be,2),He=We[0],Qe=We[1],At=function(Bn){var ii=[],oi=[];return Bn.forEach(function(ei){Ve(ei)?oi.push(ei):ii.push(ei)}),{missingRawValues:ii,existRawValues:oi}},ot=Object(r.useMemo)(function(){var xn=[],Bn=[];if(Ae(He).forEach(function(Wr){if(Wr&&Object(A.a)(Wr)==="object"&&"value"in Wr)if(Wr.halfChecked&&ur){var En=Ve(Wr.value);xn.push(En?En.key:Wr.value)}else Bn.push(Wr.value);else Bn.push(Wr)}),Ft){var ii=At(Bn),oi=ii.missingRawValues,ei=ii.existRawValues,ui=ei.map(function(Wr){return Ve(Wr).key}),Fn=Object(_.a)(ui,!0,Re),Si=Fn.checkedKeys,gn=Fn.halfCheckedKeys;return[[].concat(Object(h.a)(oi),Object(h.a)(Si.map(function(Wr){return Ri(Wr).data.value}))),gn]}return[Bn,xn]},[He,gt,mt,Vr,ur]),Bt=Object(v.a)(ot,2),wr=Bt[0],mr=Bt[1],Or=nt(wr,{treeConduction:Ft,value:He,showCheckedStrategy:Lt,conductKeyEntities:Re,getEntityByValue:Ve,getEntityByKey:Ri,getLabelProp:ar}),Ht=function(Bn,ii,oi){if(Qe(gt?Bn:Bn[0]),Pr){var ei=Bn;if(Ft&&Lt!=="SHOW_ALL"){var ui=Bn.map(function(bi){var Gn=Ve(bi);return Gn?Gn.key:bi}),Fn=pt(ui,Lt,Re);ei=Fn.map(function(bi){var Gn=Ri(bi);return Gn?Gn.data.value:bi})}var Si=ii||{triggerValue:void 0,selected:void 0},gn=Si.triggerValue,Wr=Si.selected,En=mt?Ee(ei,He,Ve,ar):ei;if(ur){var on=mr.map(function(bi){var Gn=Ri(bi);return Gn?Gn.data.value:bi}).filter(function(bi){return!ei.includes(bi)});En=[].concat(Object(h.a)(En),Object(h.a)(Ee(on,He,Ve,ar)))}var ci={preValue:Or,triggerValue:gn},ri=!0;(ur||oi==="selection"&&!Wr)&&(ri=!1),ae(ci,gn,Bn,lr,ri),Jt?ci.checked=Wr:ci.selected=Wr,Pr(gt?En:En[0],mt?null:ei.map(function(bi){var Gn=Ve(bi);return Gn?ar(Gn.data):null}),ci)}},cn=function(Bn,ii,oi){var ei=Bn;if(!gt)Ht([Bn],{selected:!0,triggerValue:Bn},oi);else{var ui=ue(wr,Bn);if(Ft){var Fn=At(ui),Si=Fn.missingRawValues,gn=Fn.existRawValues,Wr=gn.map(function(ci){return Ve(ci).key}),En=Object(_.a)(Wr,!0,Re),on=En.checkedKeys;ui=[].concat(Object(h.a)(Si),Object(h.a)(on.map(function(ci){return Ri(ci).data.value})))}Ht(ui,{selected:!0,triggerValue:Bn},oi)}st&&st(ei,ii)},nr=function(Bn,ii,oi){var ei=Bn,ui=re(wr,Bn);if(Ft){var Fn=At(ui),Si=Fn.missingRawValues,gn=Fn.existRawValues,Wr=gn.map(function(ci){return Ve(ci).key}),En=Object(_.a)(Wr,{checked:!1,halfCheckedKeys:mr},Re),on=En.checkedKeys;ui=[].concat(Object(h.a)(Si),Object(h.a)(on.map(function(ci){return Ri(ci).data.value})))}Ht(ui,{selected:!1,triggerValue:Bn},oi),Qt&&Qt(ei,ii)},Xr=function(){Ht([],null,"clear")},Br=r.useCallback(function(xn){if(dt){var Bn={};Object.defineProperty(Bn,"documentClickClose",{get:function(){return Object(I.a)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),dt(xn,Bn)}},[dt]),yr={optionLabelProp:null,optionFilterProp:vr,dropdownAlign:Mr,internalProps:{mark:x.a,onClear:Xr,skipTriggerChange:!0,skipTriggerSelect:!0,onRawSelect:cn,onRawDeselect:nr}};return"filterTreeNode"in lt&&(yr.filterOption=Vt),r.createElement(P.Provider,{value:{checkable:Jt,loadData:Xe,treeLoadedKeys:$t,onTreeLoad:Ut,checkedKeys:wr,halfCheckedKeys:mr,treeDefaultExpandAll:et,treeExpandedKeys:Ln,treeDefaultExpandedKeys:Je,onTreeExpand:un,treeIcon:Le,treeMotion:Pt,showTreeIcon:Ue,switcherIcon:rt,treeLine:Kt,treeNodeFilterProp:vr}},r.createElement(vt,Object.assign({ref:kt,mode:gt?"multiple":null},lt,yr,{value:Or,labelInValue:!0,options:lr,onChange:null,onSelect:null,onDeselect:null,onDropdownVisibleChange:Br})))}),wt=function(lt){Object(s.a)(cr,lt);var zt=Object(u.a)(cr);function cr(){var Vr;return Object(l.a)(this,cr),Vr=zt.apply(this,arguments),Vr.selectRef=r.createRef(),Vr.focus=function(){Vr.selectRef.current.focus()},Vr.blur=function(){Vr.selectRef.current.blur()},Vr}return Object(e.a)(cr,[{key:"render",value:function(){return r.createElement(Ze,Object.assign({ref:this.selectRef},this.props))}}]),cr}(r.Component);wt.TreeNode=W,wt.SHOW_ALL=ye,wt.SHOW_PARENT=xe,wt.SHOW_CHILD=Ye;var xt=wt,Ot=xt,Mt=t("TSYQ"),Gt=t.n(Mt),$e=t("BGR+"),pe=t("H84U"),q=t("uaoM"),bt=t("1vzs"),qe=t("2jpz"),le=t("3Nzz"),Nt=function(lt){n()(cr,lt);var zt=o()(cr);function cr(Vr){var ur;return f()(this,cr),ur=zt.call(this,Vr),ur.selectRef=r.createRef(),ur.renderTreeSelect=function(ir){var Lt=ir.getPopupContainer,at=ir.getPrefixCls,Xe=ir.renderEmpty,$t=ir.direction,Sr=ir.virtual,vr=ir.dropdownMatchSelectWidth,fr=ur.props,An=fr.prefixCls,Zr=fr.size,Ln=fr.className,Je=fr.treeCheckable,et=fr.multiple,be=fr.listHeight,Le=be===void 0?256:be,Ue=fr.listItemHeight,rt=Ue===void 0?26:Ue,Kt=fr.notFoundContent,Pt=fr.switcherIcon,Vt=fr.treeLine,Mr=fr.getPopupContainer,Pr=fr.dropdownClassName,un=fr.bordered,Ut=fr.treeIcon,dt=Ut===void 0?!1:Ut,st=at("select",An),Qt=at("select-tree",An),Jt=at("tree-select",An),gt=Gt()(Pr,"".concat(Jt,"-dropdown"),m()({},"".concat(Jt,"-dropdown-rtl"),$t==="rtl")),Ft=!!(Je||et),mt=Object(bt.a)(p()(p()({},ur.props),{multiple:Ft,prefixCls:st})),kt=mt.suffixIcon,gr=mt.itemIcon,ar=mt.removeIcon,lr=mt.clearIcon,Yr;Kt!==void 0?Yr=Kt:Yr=Xe("Select");var Jr=Object($e.default)(ur.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon","size","bordered"]);return r.createElement(le.b.Consumer,null,function(Tn){var Dn,zn=Zr||Tn,qn=Gt()(!An&&Jt,(Dn={},m()(Dn,"".concat(st,"-lg"),zn==="large"),m()(Dn,"".concat(st,"-sm"),zn==="small"),m()(Dn,"".concat(st,"-rtl"),$t==="rtl"),m()(Dn,"".concat(st,"-borderless"),!un),Dn),Ln);return r.createElement(Ot,p()({virtual:Sr,dropdownMatchSelectWidth:vr},Jr,{ref:ur.selectRef,prefixCls:st,className:qn,listHeight:Le,listItemHeight:rt,treeCheckable:Je&&r.createElement("span",{className:"".concat(st,"-tree-checkbox-inner")}),inputIcon:kt,menuItemSelectedIcon:gr,removeIcon:ar,clearIcon:lr,switcherIcon:function(Ri){return Object(qe.a)(Qt,Pt,Vt,Ri)},showTreeIcon:dt,notFoundContent:Yr,getPopupContainer:Mr||Lt,treeMotion:null,dropdownClassName:gt}))})},Object(q.a)(Vr.multiple!==!1||!Vr.treeCheckable,"TreeSelect","`multiple` will alway be `true` when `treeCheckable` is true"),ur}return c()(cr,[{key:"focus",value:function(){this.selectRef.current&&this.selectRef.current.focus()}},{key:"blur",value:function(){this.selectRef.current&&this.selectRef.current.blur()}},{key:"render",value:function(){return r.createElement(pe.a,null,this.renderTreeSelect)}}]),cr}(r.Component);Nt.TreeNode=W,Nt.SHOW_ALL=ye,Nt.SHOW_PARENT=xe,Nt.SHOW_CHILD=Ye,Nt.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var tr=N.a=Nt},"5Uyt":function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=p(t("KmBX"));function p(m){return m&&m.__esModule?m:{default:m}}var S=y;N.default=S,R.exports=S},"5YOS":function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=p(t("xb2K"));function p(m){return m&&m.__esModule?m:{default:m}}var S=y;N.default=S,R.exports=S},"5YgA":function(R,N,t){},"5bA4":function(R,N,t){"use strict";var y=t("VTBJ"),p=t("q1tI"),S={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},m=S,g=t("6VBw"),f=function(a,n){return p.createElement(g.a,Object(y.a)(Object(y.a)({},a),{},{ref:n,icon:m}))};f.displayName="LeftOutlined";var d=N.a=p.forwardRef(f)},"5nXd":function(R,N,t){var y=t("MFOe"),p=y.slice,S=y.pluck,m=y.each,g=y.bind,f=y.create,d=y.isList,c=y.isFunction,a=y.isObject;R.exports={createStore:o};var n={version:"2.0.12",enabled:!1,get:function(l,e){var s=this.storage.read(this._namespacePrefix+l);return this._deserialize(s,e)},set:function(l,e){return e===void 0?this.remove(l):(this.storage.write(this._namespacePrefix+l,this._serialize(e)),e)},remove:function(l){this.storage.remove(this._namespacePrefix+l)},each:function(l){var e=this;this.storage.each(function(s,u){l.call(e,e._deserialize(s),(u||"").replace(e._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(l){return this._namespacePrefix=="__storejs_"+l+"_"},createStore:function(){return o.apply(this,arguments)},addPlugin:function(l){this._addPlugin(l)},namespace:function(l){return o(this.storage,this.plugins,l)}};function i(){var r=typeof console=="undefined"?null:console;if(!r)return;var l=r.warn?r.warn:r.log;l.apply(r,arguments)}function o(r,l,e){e||(e=""),r&&!d(r)&&(r=[r]),l&&!d(l)&&(l=[l]);var s=e?"__storejs_"+e+"_":"",u=e?new RegExp("^"+s):null,h=/^[a-zA-Z0-9_\-]*$/;if(!h.test(e))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var A={_namespacePrefix:s,_namespaceRegexp:u,_testStorage:function(b){try{var E="__storejs__test__";b.write(E,E);var T=b.read(E)===E;return b.remove(E),T}catch(_){return!1}},_assignPluginFnProp:function(b,E){var T=this[E];this[E]=function(){var x=p(arguments,0),C=this;function I(){return T?(m(arguments,function(F,B){x[B]=F}),T.apply(C,x)):void 0}var L=[I].concat(x);return b.apply(C,L)}},_serialize:function(b){return JSON.stringify(b)},_deserialize:function(b,E){if(!b)return E;var T="";try{T=JSON.parse(b)}catch(_){T=b}return T!==void 0?T:E},_addStorage:function(b){if(this.enabled)return;this._testStorage(b)&&(this.storage=b,this.enabled=!0)},_addPlugin:function(b){var E=this;if(d(b)){m(b,function(x){E._addPlugin(x)});return}var T=S(this.plugins,function(x){return b===x});if(T)return;if(this.plugins.push(b),!c(b))throw new Error("Plugins must be function values that return objects");var _=b.call(this);if(!a(_))throw new Error("Plugins must return an object of function properties");m(_,function(x,C){if(!c(x))throw new Error("Bad plugin property: "+C+" from plugin "+b.name+". Plugins should only return functions.");E._assignPluginFnProp(x,C)})},addStorage:function(b){i("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(b)}},v=f(A,n,{plugins:[]});return v.raw={},m(v,function(w,b){c(w)&&(v.raw[b]=g(v,w))}),m(r,function(w){v._addStorage(w)}),m(l,function(w){v._addPlugin(w)}),v}},"5rEg":function(R,N,t){"use strict";var y=t("pVnL"),p=t.n(y),S=t("lwsE"),m=t.n(S),g=t("W8MJ"),f=t.n(g),d=t("7W2i"),c=t.n(d),a=t("LQ03"),n=t.n(a),i=t("lSNA"),o=t.n(i),r=t("q1tI"),l=t("TSYQ"),e=t.n(l),s=t("BGR+"),u=t("kbBi"),h=t.n(u),A=t("CWQg"),v=t("0n0R"),w=Object(A.a)("text","input");function b(ce){return!!(ce.prefix||ce.suffix||ce.allowClear)}var E=function(ce){c()(Te,ce);var ke=n()(Te);function Te(){var Ke;return m()(this,Te),Ke=ke.apply(this,arguments),Ke.containerRef=r.createRef(),Ke.onInputMouseUp=function(Ie){var se;if((se=Ke.containerRef.current)===null||se===void 0?void 0:se.contains(Ie.target)){var ye=Ke.props.triggerFocus;ye()}},Ke}return f()(Te,[{key:"renderClearIcon",value:function(Ie){var se=this.props,ye=se.allowClear,xe=se.value,Ye=se.disabled,pt=se.readOnly,nt=se.inputType,Oe=se.handleReset;if(!ye)return null;var vt=!Ye&&!pt&&xe,Ze=nt===w[0]?"".concat(Ie,"-textarea-clear-icon"):"".concat(Ie,"-clear-icon");return r.createElement(h.a,{onClick:Oe,className:e()(Ze,o()({},"".concat(Ze,"-hidden"),!vt)),role:"button"})}},{key:"renderSuffix",value:function(Ie){var se=this.props,ye=se.suffix,xe=se.allowClear;return ye||xe?r.createElement("span",{className:"".concat(Ie,"-suffix")},this.renderClearIcon(Ie),ye):null}},{key:"renderLabeledIcon",value:function(Ie,se){var ye,xe=this.props,Ye=xe.focused,pt=xe.value,nt=xe.prefix,Oe=xe.className,vt=xe.size,Ze=xe.suffix,wt=xe.disabled,xt=xe.allowClear,Ot=xe.direction,Mt=xe.style,Gt=xe.readOnly,$e=xe.bordered,pe=this.renderSuffix(Ie);if(!b(this.props))return Object(v.a)(se,{value:pt});var q=nt?r.createElement("span",{className:"".concat(Ie,"-prefix")},nt):null,bt=e()(Oe,"".concat(Ie,"-affix-wrapper"),(ye={},o()(ye,"".concat(Ie,"-affix-wrapper-focused"),Ye),o()(ye,"".concat(Ie,"-affix-wrapper-disabled"),wt),o()(ye,"".concat(Ie,"-affix-wrapper-sm"),vt==="small"),o()(ye,"".concat(Ie,"-affix-wrapper-lg"),vt==="large"),o()(ye,"".concat(Ie,"-affix-wrapper-input-with-clear-btn"),Ze&&xt&&pt),o()(ye,"".concat(Ie,"-affix-wrapper-rtl"),Ot==="rtl"),o()(ye,"".concat(Ie,"-affix-wrapper-readonly"),Gt),o()(ye,"".concat(Ie,"-affix-wrapper-borderless"),!$e),ye));return r.createElement("span",{ref:this.containerRef,className:bt,style:Mt,onMouseUp:this.onInputMouseUp},q,Object(v.a)(se,{style:null,value:pt,className:F(Ie,$e,vt,wt)}),pe)}},{key:"renderInputWithLabel",value:function(Ie,se){var ye,xe,Ye=this.props,pt=Ye.addonBefore,nt=Ye.addonAfter,Oe=Ye.style,vt=Ye.size,Ze=Ye.className,wt=Ye.direction;if(!pt&&!nt)return se;var xt="".concat(Ie,"-group"),Ot="".concat(xt,"-addon"),Mt=pt?r.createElement("span",{className:Ot},pt):null,Gt=nt?r.createElement("span",{className:Ot},nt):null,$e=e()("".concat(Ie,"-wrapper"),(ye={},o()(ye,xt,pt||nt),o()(ye,"".concat(xt,"-rtl"),wt==="rtl"),ye)),pe=e()(Ze,"".concat(Ie,"-group-wrapper"),(xe={},o()(xe,"".concat(Ie,"-group-wrapper-sm"),vt==="small"),o()(xe,"".concat(Ie,"-group-wrapper-lg"),vt==="large"),o()(xe,"".concat(Ie,"-group-wrapper-rtl"),wt==="rtl"),xe));return r.createElement("span",{className:pe,style:Oe},r.createElement("span",{className:$e},Mt,Object(v.a)(se,{style:null}),Gt))}},{key:"renderTextAreaWithClearIcon",value:function(Ie,se){var ye,xe=this.props,Ye=xe.value,pt=xe.allowClear,nt=xe.className,Oe=xe.style,vt=xe.direction,Ze=xe.bordered;if(!pt)return Object(v.a)(se,{value:Ye});var wt=e()(nt,"".concat(Ie,"-affix-wrapper"),"".concat(Ie,"-affix-wrapper-textarea-with-clear-btn"),(ye={},o()(ye,"".concat(Ie,"-affix-wrapper-rtl"),vt==="rtl"),o()(ye,"".concat(Ie,"-affix-wrapper-borderless"),!Ze),ye));return r.createElement("span",{className:wt,style:Oe},Object(v.a)(se,{style:null,value:Ye}),this.renderClearIcon(Ie))}},{key:"render",value:function(){var Ie=this.props,se=Ie.prefixCls,ye=Ie.inputType,xe=Ie.element;return ye===w[0]?this.renderTextAreaWithClearIcon(se,xe):this.renderInputWithLabel(se,this.renderLabeledIcon(se,xe))}}]),Te}(r.Component),T=E,_=t("H84U"),x=t("3Nzz"),C=t("uaoM");function I(ce){return typeof ce=="undefined"||ce===null?"":ce}function L(ce,ke,Te){if(Te){var Ke=ke;if(ke.type==="click"){Ke=Object.create(ke),Ke.target=ce,Ke.currentTarget=ce;var Ie=ce.value;ce.value="",Te(Ke),ce.value=Ie;return}Te(Ke)}}function F(ce,ke,Te,Ke,Ie){var se;return e()(ce,(se={},o()(se,"".concat(ce,"-sm"),Te==="small"),o()(se,"".concat(ce,"-lg"),Te==="large"),o()(se,"".concat(ce,"-disabled"),Ke),o()(se,"".concat(ce,"-rtl"),Ie==="rtl"),o()(se,"".concat(ce,"-borderless"),!ke),se))}var B=function(ce){c()(Te,ce);var ke=n()(Te);function Te(Ke){var Ie;m()(this,Te),Ie=ke.call(this,Ke),Ie.direction="ltr",Ie.focus=function(){Ie.input.focus()},Ie.saveClearableInput=function(ye){Ie.clearableInput=ye},Ie.saveInput=function(ye){Ie.input=ye},Ie.onFocus=function(ye){var xe=Ie.props.onFocus;Ie.setState({focused:!0},Ie.clearPasswordValueAttribute),xe&&xe(ye)},Ie.onBlur=function(ye){var xe=Ie.props.onBlur;Ie.setState({focused:!1},Ie.clearPasswordValueAttribute),xe&&xe(ye)},Ie.handleReset=function(ye){Ie.setValue("",function(){Ie.focus()}),L(Ie.input,ye,Ie.props.onChange)},Ie.renderInput=function(ye,xe,Ye){var pt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},nt=Ie.props,Oe=nt.className,vt=nt.addonBefore,Ze=nt.addonAfter,wt=nt.size,xt=nt.disabled,Ot=Object(s.default)(Ie.props,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","inputType","bordered"]);return r.createElement("input",p()({autoComplete:pt.autoComplete},Ot,{onChange:Ie.handleChange,onFocus:Ie.onFocus,onBlur:Ie.onBlur,onKeyDown:Ie.handleKeyDown,className:e()(F(ye,Ye,wt||xe,xt,Ie.direction),o()({},Oe,Oe&&!vt&&!Ze)),ref:Ie.saveInput}))},Ie.clearPasswordValueAttribute=function(){Ie.removePasswordTimeout=setTimeout(function(){Ie.input&&Ie.input.getAttribute("type")==="password"&&Ie.input.hasAttribute("value")&&Ie.input.removeAttribute("value")})},Ie.handleChange=function(ye){Ie.setValue(ye.target.value,Ie.clearPasswordValueAttribute),L(Ie.input,ye,Ie.props.onChange)},Ie.handleKeyDown=function(ye){var xe=Ie.props,Ye=xe.onPressEnter,pt=xe.onKeyDown;ye.keyCode===13&&Ye&&Ye(ye),pt&&pt(ye)},Ie.renderComponent=function(ye){var xe=ye.getPrefixCls,Ye=ye.direction,pt=ye.input,nt=Ie.state,Oe=nt.value,vt=nt.focused,Ze=Ie.props,wt=Ze.prefixCls,xt=Ze.bordered,Ot=xt===void 0?!0:xt,Mt=xe("input",wt);return Ie.direction=Ye,r.createElement(x.b.Consumer,null,function(Gt){return r.createElement(T,p()({size:Gt},Ie.props,{prefixCls:Mt,inputType:"input",value:I(Oe),element:Ie.renderInput(Mt,Gt,Ot,pt),handleReset:Ie.handleReset,ref:Ie.saveClearableInput,direction:Ye,focused:vt,triggerFocus:Ie.focus,bordered:Ot}))})};var se=typeof Ke.value=="undefined"?Ke.defaultValue:Ke.value;return Ie.state={value:se,focused:!1,prevValue:Ke.value},Ie}return f()(Te,[{key:"componentDidMount",value:function(){this.clearPasswordValueAttribute()}},{key:"componentDidUpdate",value:function(){}},{key:"getSnapshotBeforeUpdate",value:function(Ie){return b(Ie)!==b(this.props)&&Object(C.a)(this.input!==document.activeElement,"Input","When Input is focused, dynamic add or remove prefix / suffix will make it lose focus caused by dom structure change. Read more: https://ant.design/components/input/#FAQ"),null}},{key:"componentWillUnmount",value:function(){this.removePasswordTimeout&&clearTimeout(this.removePasswordTimeout)}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"setValue",value:function(Ie,se){this.props.value===void 0&&this.setState({value:Ie},se)}},{key:"render",value:function(){return r.createElement(_.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(Ie,se){var ye=se.prevValue,xe={prevValue:Ie.value};return(Ie.value!==void 0||ye!==Ie.value)&&(xe.value=Ie.value),xe}}]),Te}(r.Component);B.defaultProps={type:"text"};var P=B,H=function(ke){return r.createElement(_.a,null,function(Te){var Ke,Ie=Te.getPrefixCls,se=Te.direction,ye=ke.prefixCls,xe=ke.className,Ye=xe===void 0?"":xe,pt=Ie("input-group",ye),nt=e()(pt,(Ke={},o()(Ke,"".concat(pt,"-lg"),ke.size==="large"),o()(Ke,"".concat(pt,"-sm"),ke.size==="small"),o()(Ke,"".concat(pt,"-compact"),ke.compact),o()(Ke,"".concat(pt,"-rtl"),se==="rtl"),Ke),Ye);return r.createElement("span",{className:nt,style:ke.style,onMouseEnter:ke.onMouseEnter,onMouseLeave:ke.onMouseLeave,onFocus:ke.onFocus,onBlur:ke.onBlur},ke.children)})},z=H,M=t("c+Xe"),U=t("w6Tc"),k=t.n(U),K=t("gZBC"),j=t.n(K),V=t("2/Rp"),W=function(ce,ke){var Te={};for(var Ke in ce)Object.prototype.hasOwnProperty.call(ce,Ke)&&ke.indexOf(Ke)<0&&(Te[Ke]=ce[Ke]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,Ke=Object.getOwnPropertySymbols(ce);Ie=0&&C<0)&&(x=M,C=z,T=B,_.length=0),f(P,function(U){_.push({seriesIndex:I.seriesIndex,dataIndexInside:U,dataIndex:I.getData().getRawIndex(U)})}))}),{payloadBatch:_,snapToValue:T}}function o(v,w,b,E){v[w.key]={value:b,payloadBatch:E}}function r(v,w,b,E){var T=b.payloadBatch,_=w.axis,x=_.model,C=w.axisPointerModel;if(!w.triggerTooltip||!T.length)return;var I=w.coordSys.model,L=m.makeKey(I),F=v.map[L];F||(F=v.map[L]={coordSysId:I.id,coordSysIndex:I.componentIndex,coordSysType:I.type,coordSysMainType:I.mainType,dataByAxis:[]},v.list.push(F)),F.dataByAxis.push({axisDim:_.dim,axisIndex:x.componentIndex,axisType:x.type,axisId:x.id,value:E,valueLabelOpt:{precision:C.get("label.precision"),formatter:C.get("label.formatter")},seriesDataIndices:T.slice()})}function l(v,w,b){var E=b.axesInfo=[];f(w,function(T,_){var x=T.axisPointerModel.option,C=v[_];C?(!T.useHandle&&(x.status="show"),x.value=C.value,x.seriesDataIndices=(C.payloadBatch||[]).slice()):!T.useHandle&&(x.status="hide"),x.status==="show"&&E.push({axisDim:T.axis.dim,axisIndex:T.axis.model.componentIndex,value:x.value})})}function e(v,w,b,E){if(A(w)||!v.list.length){E({type:"hideTip"});return}var T=((v.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};E({type:"showTip",escapeConnect:!0,x:w[0],y:w[1],tooltipOption:b.tooltipOption,position:b.position,dataIndexInside:T.dataIndexInside,dataIndex:T.dataIndex,seriesIndex:T.seriesIndex,dataByCoordSys:v.list})}function s(v,w,b){var E=b.getZr(),T="axisPointerLastHighlights",_=c(E)[T]||{},x=c(E)[T]={};f(v,function(L,F){var B=L.axisPointerModel.option;B.status==="show"&&f(B.seriesDataIndices,function(P){var H=P.seriesIndex+" | "+P.dataIndex;x[H]=P})});var C=[],I=[];y.each(_,function(L,F){!x[F]&&I.push(L)}),y.each(x,function(L,F){!_[F]&&C.push(L)}),I.length&&b.dispatchAction({type:"downplay",escapeConnect:!0,batch:I}),C.length&&b.dispatchAction({type:"highlight",escapeConnect:!0,batch:C})}function u(v,w){for(var b=0;b<(v||[]).length;b++){var E=v[b];if(w.axis.dim===E.axisDim&&w.axis.model.componentIndex===E.axisIndex)return E}}function h(v){var w=v.axis.model,b={},E=b.axisDim=v.axis.dim;return b.axisIndex=b[E+"AxisIndex"]=w.componentIndex,b.axisName=b[E+"AxisName"]=w.name,b.axisId=b[E+"AxisId"]=w.id,b}function A(v){return!v||v[0]==null||isNaN(v[0])||v[1]==null||isNaN(v[1])}R.exports=a},"6BzB":function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.shrinkBuf=y,N.arraySet=p,N.flattenChunks=S,N.Buf32=N.Buf16=N.Buf8=void 0;function y(d,c){return d.length===c?d:d.subarray?d.subarray(0,c):(d.length=c,d)}function p(d,c,a,n,i){if(c.subarray&&d.subarray){d.set(c.subarray(a,a+n),i);return}for(var o=0;oi&&(n=0,a={}),n++,a[U]=K,K}function u(z,M,U,k,K,j,V,W){return V?A(z,M,U,k,K,j,V,W):h(z,M,U,k,K,j,W)}function h(z,M,U,k,K,j,V){var W=F(z,M,K,j,V),X=s(z,M);K&&(X+=K[1]+K[3]);var J=W.outerHeight,de=v(0,X,U),G=w(0,J,k),ae=new y(de,G,X,J);return ae.lineHeight=W.lineHeight,ae}function A(z,M,U,k,K,j,V,W){var X=B(z,{rich:V,truncate:W,font:M,textAlign:U,textPadding:K,textLineHeight:j}),J=X.outerWidth,de=X.outerHeight,G=v(0,J,U),ae=w(0,de,k);return new y(G,ae,J,de)}function v(z,M,U){return U==="right"?z-=M:U==="center"&&(z-=M/2),z}function w(z,M,U){return U==="middle"?z-=M/2:U==="bottom"&&(z-=M),z}function b(z,M,U){var k=M.textPosition,K=M.textDistance,j=U.x,V=U.y;K=K||0;var W=U.height,X=U.width,J=W/2,de="left",G="top";switch(k){case"left":j-=K,V+=J,de="right",G="middle";break;case"right":j+=K+X,V+=J,G="middle";break;case"top":j+=X/2,V-=K,de="center",G="bottom";break;case"bottom":j+=X/2,V+=W+K,de="center";break;case"inside":j+=X/2,V+=J,de="center",G="middle";break;case"insideLeft":j+=K,V+=J,G="middle";break;case"insideRight":j+=X-K,V+=J,de="right",G="middle";break;case"insideTop":j+=X/2,V+=K,de="center";break;case"insideBottom":j+=X/2,V+=W-K,de="center",G="bottom";break;case"insideTopLeft":j+=K,V+=K;break;case"insideTopRight":j+=X-K,V+=K,de="right";break;case"insideBottomLeft":j+=K,V+=W-K,G="bottom";break;case"insideBottomRight":j+=X-K,V+=W-K,de="right",G="bottom";break}return z=z||{},z.x=j,z.y=V,z.textAlign=de,z.textVerticalAlign=G,z}function E(z,M,U){var k={textPosition:z,textDistance:U};return b({},k,M)}function T(z,M,U,k,K){if(!M)return"";var j=(z+"").split(` `);K=_(M,U,k,K);for(var V=0,W=j.length;V=j;W++)V-=j;var X=s(U,M);return X>V&&(U="",X=0),V=z-X,k.ellipsis=U,k.ellipsisWidth=X,k.contentWidth=V,k.containerWidth=z,k}function x(z,M){var U=M.containerWidth,k=M.font,K=M.contentWidth;if(!U)return"";var j=s(z,k);if(j<=U)return z;for(var V=0;;V++){if(j<=K||V>=M.maxIterations){z+=M.ellipsis;break}var W=V===0?C(z,K,M.ascCharWidth,M.cnCharWidth):j>0?Math.floor(z.length*K/j):0;z=z.substr(0,W),j=s(z,k)}return z===""&&(z=M.placeholder),z}function C(z,M,U,k){for(var K=0,j=0,V=z.length;jde)z="",V=[];else if(G!=null)for(var ae=_(G-(U?U[1]+U[3]:0),M,K.ellipsis,{minChar:K.minChar,placeholder:K.placeholder}),Ae=0,me=V.length;Aek&&P(U,z.substring(k,j)),P(U,K[2],K[1]),k=o.lastIndex}kAe)return{lines:[],width:0,height:0};ne.textWidth=s(ne.text,ue);var ce=Ge.textWidth,ke=ce==null||ce==="auto";if(typeof ce=="string"&&ce.charAt(ce.length-1)==="%")ne.percentWidth=ce,J.push(ne),ce=0;else{if(ke){ce=ne.textWidth;var Te=Ge.textBackgroundColor,Ke=Te&&Te.image;Ke&&(Ke=p.findExistImage(Ke),p.isImageReady(Ke)&&(ce=Math.max(ce,Ke.width*re/Ke.height)))}var Ie=Ee?Ee[1]+Ee[3]:0;ce+=Ie;var se=ae!=null?ae-_e:null;se!=null&&se"],p.isArray(h)&&(h=h.slice(),_=!0),x=A?h:_?[C(h[0]),C(h[1])]:C(h),p.isString(T))return T.replace("{value}",_?x[0]:x).replace("{value2}",_?x[1]:x);if(p.isFunction(T))return _?T(h[0],h[1]):T(h);if(_)return h[0]===E[0]?v[0]+" "+x[1]:h[1]===E[1]?v[1]+" "+x[0]:x[0]+" - "+x[1];return x;function C(I){return I===E[0]?"min":I===E[1]?"max":(+I).toFixed(Math.min(b,20))}},resetExtent:function(){var h=this.option,A=r([h.min,h.max]);this._dataExtent=A},getDataDimension:function(h){var A=this.option.dimension,v=h.dimensions;if(A==null&&!v.length)return;if(A!=null)return h.getDimension(A);for(var w=h.dimensions,b=w.length-1;b>=0;b--){var E=w[b],T=h.getDimensionInfo(E);if(!T.isCalculationCoord)return E}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var h=this.ecModel,A=this.option,v={inRange:A.inRange,outOfRange:A.outOfRange},w=A.target||(A.target={}),b=A.controller||(A.controller={});p.merge(w,v),p.merge(b,v);var E=this.isCategory();T.call(this,w),T.call(this,b),_.call(this,w,"inRange","outOfRange"),x.call(this,b);function T(C){i(A.color)&&!C.inRange&&(C.inRange={color:A.color.slice().reverse()}),C.inRange=C.inRange||{color:h.get("gradientColor")},o(this.stateList,function(I){var L=C[I];if(p.isString(L)){var F=m.get(L,"active",E);F?(C[I]={},C[I][L]=F):delete C[I]}},this)}function _(C,I,L){var F=C[I],B=C[L];F&&!B&&(B=C[L]={},o(F,function(P,H){if(!g.isValidType(H))return;var z=m.get(H,"inactive",E);z!=null&&(B[H]=z,H==="color"&&!B.hasOwnProperty("opacity")&&!B.hasOwnProperty("colorAlpha")&&(B.opacity=[0,0]))}))}function x(C){var I=(C.inRange||{}).symbol||(C.outOfRange||{}).symbol,L=(C.inRange||{}).symbolSize||(C.outOfRange||{}).symbolSize,F=this.get("inactiveColor");o(this.stateList,function(B){var P=this.itemSize,H=C[B];H||(H=C[B]={color:E?F:[F]}),H.symbol==null&&(H.symbol=I&&p.clone(I)||(E?"roundRect":["roundRect"])),H.symbolSize==null&&(H.symbolSize=L&&p.clone(L)||(E?P[0]:[P[0],P[0]])),H.symbol=a(H.symbol,function(U){return U==="none"||U==="square"?"roundRect":U});var z=H.symbolSize;if(z!=null){var M=-Infinity;n(z,function(U){U>M&&(M=U)}),H.symbolSize=a(z,function(U){return l(U,[0,M],[0,P[0]],!0)})}},this)}},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:e,getValueState:e,getVisualMeta:e}),u=s;R.exports=u},"6usn":function(R,N,t){var y=t("bYtY");function p(m,g){return y.map(["Radius","Angle"],function(f,d){var c=this["get"+f+"Axis"](),a=g[d],n=m[d]/2,i="dataTo"+f,o=c.type==="category"?c.getBandWidth():Math.abs(c[i](a-n)-c[i](a+n));return f==="Angle"&&(o=o*Math.PI/180),o},this)}function S(m){var g=m.getRadiusAxis(),f=m.getAngleAxis(),d=g.getExtent();return d[0]>d[1]&&d.reverse(),{coordSys:{type:"polar",cx:m.cx,cy:m.cy,r:d[1],r0:d[0]},api:{coord:y.bind(function(c){var a=g.dataToRadius(c[0]),n=f.dataToAngle(c[1]),i=m.coordToPoint([a,n]);return i.push(a,n*Math.PI/180),i}),size:y.bind(p,m)}}}R.exports=S},"6xvX":function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=p(t("V7ic"));function p(m){return m&&m.__esModule?m:{default:m}}var S=y;N.default=S,R.exports=S},"711d":function(R,N){function t(y){return function(p){return p==null?void 0:p[y]}}R.exports=t},"72pK":function(R,N){function t(S,m,g,f,d,c){S=S||0;var a=g[1]-g[0];if(d!=null&&(d=p(d,[0,a])),c!=null&&(c=Math.max(c,d!=null?d:0)),f==="all"){var n=Math.abs(m[1]-m[0]);n=p(n,[0,a]),d=c=p(n,[d,c]),f=0}m[0]=p(m[0],g),m[1]=p(m[1],g);var i=y(m,f);m[f]+=S;var o=d||0,r=g.slice();i.sign<0?r[0]+=o:r[1]-=o,m[f]=p(m[f],r);var l=y(m,f);d!=null&&(l.sign!==i.sign||l.spanc&&(m[1-f]=m[f]+l.sign*c),m}function y(S,m){var g=S[m]-S[1-m];return{span:Math.abs(g),sign:g>0?-1:g<0?1:m?-1:1}}function p(S,m){return Math.min(m[1]!=null?m[1]:Infinity,Math.max(m[0]!=null?m[0]:-Infinity,S))}R.exports=t},"75ce":function(R,N,t){var y=t("ProS");t("IXuL"),t("8X+K");var p=t("f5Yq"),S=t("h8O9"),m=t("/d5a");t("Ae16"),y.registerVisual(p("line","circle","line")),y.registerLayout(S("line")),y.registerProcessor(y.PRIORITY.PROCESSOR.STATISTIC,m("line"))},"75ev":function(R,N,t){var y=t("ProS");t("IWNH"),t("bNin"),t("v5uJ");var p=t("f5Yq"),S=t("yik8");y.registerVisual(p("tree","circle")),y.registerLayout(S)},"7AJT":function(R,N,t){var y=t("bYtY"),p=t("hM6l"),S=function(g,f,d,c,a){p.call(this,g,f,d),this.type=c||"value",this.position=a||"bottom"};S.prototype={constructor:S,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var g=this.position;return g==="top"||g==="bottom"},getGlobalExtent:function(g){var f=this.getExtent();return f[0]=this.toGlobalCoord(f[0]),f[1]=this.toGlobalCoord(f[1]),g&&f[0]>f[1]&&f.reverse(),f},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(g,f){return this.coordToData(this.toLocalCoord(g[this.dim==="x"?0:1]),f)},toLocalCoord:null,toGlobalCoord:null},y.inherits(S,p);var m=S;R.exports=m},"7DRL":function(R,N,t){var y=t("Tghj"),p=y.__DEV__,S=t("bYtY"),m=S.createHashMap,g=S.isString,f=S.isArray,d=S.each,c=S.assert,a=t("MEGo"),n=a.parseXML,i=m(),o={registerMap:function(l,e,s){var u;return f(e)?u=e:e.svg?u=[{type:"svg",source:e.svg,specialAreas:e.specialAreas}]:(e.geoJson&&!e.features&&(s=e.specialAreas,e=e.geoJson),u=[{type:"geoJSON",source:e,specialAreas:s}]),d(u,function(h){var A=h.type;A==="geoJson"&&(A=h.type="geoJSON");var v=r[A];v(h)}),i.set(l,u)},retrieveMap:function(l){return i.get(l)}},r={geoJSON:function(l){var e=l.source;l.geoJSON=g(e)?typeof JSON!="undefined"&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e},svg:function(l){l.svgXML=n(l.source)}};R.exports=o},"7G+c":function(R,N,t){var y=t("bYtY"),p=y.createHashMap,S=y.isTypedArray,m=t("Yl7c"),g=m.enableClassCheck,f=t("k9D9"),d=f.SOURCE_FORMAT_ORIGINAL,c=f.SERIES_LAYOUT_BY_COLUMN,a=f.SOURCE_FORMAT_UNKNOWN,n=f.SOURCE_FORMAT_TYPED_ARRAY,i=f.SOURCE_FORMAT_KEYED_COLUMNS;function o(l){this.fromDataset=l.fromDataset,this.data=l.data||(l.sourceFormat===i?{}:[]),this.sourceFormat=l.sourceFormat||a,this.seriesLayoutBy=l.seriesLayoutBy||c,this.dimensionsDefine=l.dimensionsDefine,this.encodeDefine=l.encodeDefine&&p(l.encodeDefine),this.startIndex=l.startIndex||0,this.dimensionsDetectCount=l.dimensionsDetectCount}o.seriesDataToSource=function(l){return new o({data:l,sourceFormat:S(l)?n:d,fromDataset:!1})},g(o);var r=o;R.exports=r},"7Kak":function(R,N,t){"use strict";var y=t("cIOH"),p=t.n(y),S=t("KPFz"),m=t.n(S)},"7Phj":function(R,N,t){var y=t("bYtY"),p=t("OELB"),S=p.parsePercent,m=y.each;function g(a){var n=f(a);m(n,function(i){var o=i.seriesModels;if(!o.length)return;d(i),m(o,function(r,l){c(r,i.boxOffsetList[l],i.boxWidthList[l])})})}function f(a){var n=[],i=[];return a.eachSeriesByType("boxplot",function(o){var r=o.getBaseAxis(),l=y.indexOf(i,r);l<0&&(l=i.length,i[l]=r,n[l]={axis:r,seriesModels:[]}),n[l].seriesModels.push(o)}),n}function d(a){var n,i=a.axis,o=a.seriesModels,r=o.length,l=a.boxWidthList=[],e=a.boxOffsetList=[],s=[],u;if(i.type==="category")u=i.getBandWidth();else{var h=0;m(o,function(E){h=Math.max(h,E.getData().count())}),n=i.getExtent(),Math.abs(n[1]-n[0])/h}m(o,function(E){var T=E.get("boxWidth");y.isArray(T)||(T=[T,T]),s.push([S(T[0],u)||0,S(T[1],u)||0])});var A=u*.8-2,v=A/r*.3,w=(A-v*(r-1))/r,b=w/2-A/2;m(o,function(E,T){e.push(b),b+=v+w,l.push(Math.min(Math.max(w,s[T][0]),s[T][1]))})}function c(a,n,i){var o=a.coordinateSystem,r=a.getData(),l=i/2,e=a.get("layout")==="horizontal"?0:1,s=1-e,u=["x","y"],h=r.mapDimension(u[e]),A=r.mapDimension(u[s],!0);if(h==null||A.length<5)return;for(var v=0;v=0&&I.splice(L,1),x.__hoverMir=null},clearHover:function(x){for(var C=this._hoverElements,I=0;I15)break}}B.__drawIndex=W,B.__drawIndex0&&x>L[0]){for(P=0;Px);P++);B=I[L[P]]}if(L.splice(P+1,0,x),I[x]=C,!C.virtual)if(B){var z=B.dom;z.nextSibling?H.insertBefore(C.dom,z.nextSibling):H.appendChild(C.dom)}else H.firstChild?H.insertBefore(C.dom,H.firstChild):H.appendChild(C.dom)},eachLayer:function(x,C){var I=this._zlevelList,L,F;for(F=0;F0?r:0),this._needsManuallyCompositing),z.__builtin__||m("ZLevel "+H+" has been used by unkown layer "+z.id),z!==F&&(z.__used=!0,z.__startIndex!==I&&(z.__dirty=!0),z.__startIndex=I,z.incremental?z.__drawIndex=-1:z.__drawIndex=I,C(I),F=z),L.__dirty&&(z.__dirty=!0,z.incremental&&z.__drawIndex<0&&(z.__drawIndex=I))}C(I),this.eachBuiltinLayer(function(M,U){!M.__used&&M.getElementCount()>0&&(M.__dirty=!0,M.__startIndex=M.__endIndex=M.__drawIndex=0),M.__dirty&&M.__drawIndex<0&&(M.__drawIndex=M.__startIndex)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(x){x.clear()},setBackgroundColor:function(x){this._backgroundColor=x},configLayer:function(x,C){if(C){var I=this._layerConfig;I[x]?S.merge(I[x],C,!0):I[x]=C;for(var L=0;L=c&&(d=c-1),d<0&&(d=0)),this.option.currentIndex=d},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(d){this.option.autoPlay=!!d},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var d=this.option,c=d.data||[],a=d.axisType,n=this._names=[];if(a==="category"){var i=[];y.each(c,function(l,e){var s=m.getDataItemValue(l),u;y.isObject(l)?(u=y.clone(l),u.value=e):u=e,i.push(u),!y.isString(s)&&(s==null||isNaN(s))&&(s=""),n.push(s+"")}),c=i}var o={category:"ordinal",time:"time"}[a]||"number",r=this._data=new S([{name:"value",type:o}],this);r.initData(c,n)},getData:function(){return this._data},getCategories:function(){if(this.get("axisType")==="category")return this._names.slice()}}),f=g;R.exports=f},"7aKB":function(R,N,t){var y=t("bYtY"),p=t("6GrX"),S=t("OELB");function m(b){return isNaN(b)?"-":(b=(b+"").split("."),b[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(b.length>1?"."+b[1]:""))}function g(b,E){return b=(b||"").toLowerCase().replace(/-(.)/g,function(T,_){return _.toUpperCase()}),E&&b&&(b=b.charAt(0).toUpperCase()+b.slice(1)),b}var f=y.normalizeCssArray,d=/([&<>"'])/g,c={"&":"&","<":"<",">":">",'"':""","'":"'"};function a(b){return b==null?"":(b+"").replace(d,function(E,T){return c[T]})}var n=["a","b","c","d","e","f","g"],i=function(b,E){return"{"+b+(E==null?"":E)+"}"};function o(b,E,T){y.isArray(E)||(E=[E]);var _=E.length;if(!_)return"";for(var x=E[0].$vars||[],C=0;C':'':{renderMode:x,content:"{marker"+C+"|} ",style:{color:T}}:""}function e(b,E){return b+="","0000".substr(0,E-b.length)+b}function s(b,E,T){(b==="week"||b==="month"||b==="quarter"||b==="half-year"||b==="year")&&(b=`MM-dd yyyy`);var _=S.parseDate(E),x=T?"UTC":"",C=_["get"+x+"FullYear"](),I=_["get"+x+"Month"]()+1,L=_["get"+x+"Date"](),F=_["get"+x+"Hours"](),B=_["get"+x+"Minutes"](),P=_["get"+x+"Seconds"](),H=_["get"+x+"Milliseconds"]();return b=b.replace("MM",e(I,2)).replace("M",I).replace("yyyy",C).replace("yy",C%100).replace("dd",e(L,2)).replace("d",L).replace("hh",e(F,2)).replace("h",F).replace("mm",e(B,2)).replace("m",B).replace("ss",e(P,2)).replace("s",P).replace("SSS",e(H,3)),b}function u(b){return b&&b.charAt(0).toUpperCase()+b.substr(1)}var h=p.truncateText;function A(b){return p.getBoundingRect(b.text,b.font,b.textAlign,b.textVerticalAlign,b.textPadding,b.textLineHeight,b.rich,b.truncate)}function v(b,E,T,_,x,C,I,L){return p.getBoundingRect(b,E,T,_,x,L,C,I)}function w(b,E){if(E==="_blank"||E==="blank"){var T=window.open();T.opener=null,T.location=b}else window.open(b,E)}N.addCommas=m,N.toCamelCase=g,N.normalizeCssArray=f,N.encodeHTML=a,N.formatTpl=o,N.formatTplSimple=r,N.getTooltipMarker=l,N.formatTime=s,N.capitalFirst=u,N.truncateText=h,N.getTextBoundingRect=A,N.getTextRect=v,N.windowOpen=w},"7bkD":function(R,N,t){var y=t("bYtY");function p(S,m){m=m||{};var g=S.coordinateSystem,f=S.axis,d={},c=f.position,a=f.orient,n=g.getRect(),i=[n.x,n.x+n.width,n.y,n.y+n.height],o={horizontal:{top:i[2],bottom:i[3]},vertical:{left:i[0],right:i[1]}};d.position=[a==="vertical"?o.vertical[c]:i[0],a==="horizontal"?o.horizontal[c]:i[3]];var r={horizontal:0,vertical:1};d.rotation=Math.PI/2*r[a];var l={top:-1,bottom:1,right:1,left:-1};d.labelDirection=d.tickDirection=d.nameDirection=l[c],S.get("axisTick.inside")&&(d.tickDirection=-d.tickDirection),y.retrieve(m.labelInside,S.get("axisLabel.inside"))&&(d.labelDirection=-d.labelDirection);var e=m.rotate;return e==null&&(e=S.get("axisLabel.rotate")),d.labelRotation=c==="top"?-e:e,d.z2=1,d}N.layout=p},"7hqr":function(R,N,t){var y=t("bYtY"),p=y.each,S=y.isString;function m(d,c,a){a=a||{};var n=a.byIndex,i=a.stackedCoordDimension,o=!!(d&&d.get("stack")),r,l,e,s;if(p(c,function(v,w){S(v)&&(c[w]=v={name:v}),o&&!v.isExtraCoord&&(!n&&!r&&v.ordinalMeta&&(r=v),!l&&v.type!=="ordinal"&&v.type!=="time"&&(!i||i===v.coordDim)&&(l=v))}),l&&!n&&!r&&(n=!0),l){e="__\0ecstackresult",s="__\0ecstackedover",r&&(r.createInvertedIndices=!0);var u=l.coordDim,h=l.type,A=0;p(c,function(v){v.coordDim===u&&A++}),c.push({name:e,coordDim:u,coordDimIndex:A,type:h,isExtraCoord:!0,isCalculationCoord:!0}),A++,c.push({name:s,coordDim:s,coordDimIndex:A,type:h,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:l&&l.name,stackedByDimension:r&&r.name,isStackedByIndex:n,stackedOverDimension:s,stackResultDimension:e}}function g(d,c){return!!c&&c===d.getCalculationInfo("stackedDimension")}function f(d,c){return g(d,c)?d.getCalculationInfo("stackResultDimension"):c}N.enableDataStack=m,N.isDimensionStacked=g,N.getStackedDimension=f},"7mYs":function(R,N,t){var y=t("ProS"),p=t("bYtY"),S=t("IwbS"),m=t("7aKB"),g=t("OELB"),f={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"]},d={EN:["S","M","T","W","T","F","S"],CN:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"]},c=y.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(a,n,i){var o=this.group;o.removeAll();var r=a.coordinateSystem,l=r.getRangeInfo(),e=r.getOrient();this._renderDayRect(a,l,o),this._renderLines(a,l,e,o),this._renderYearText(a,l,e,o),this._renderMonthText(a,e,o),this._renderWeekText(a,l,e,o)},_renderDayRect:function(a,n,i){for(var o=a.coordinateSystem,r=a.getModel("itemStyle").getItemStyle(),l=o.getCellWidth(),e=o.getCellHeight(),s=n.start.time;s<=n.end.time;s=o.getNextNDay(s,1).time){var u=o.dataToRect([s],!1).tl,h=new S.Rect({shape:{x:u[0],y:u[1],width:l,height:e},cursor:"default",style:r});i.add(h)}},_renderLines:function(a,n,i,o){var r=this,l=a.coordinateSystem,e=a.getModel("splitLine.lineStyle").getLineStyle(),s=a.get("splitLine.show"),u=e.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var h=n.start,A=0;h.time<=n.end.time;A++){w(h.formatedDate),A===0&&(h=l.getDateInfo(n.start.y+"-"+n.start.m));var v=h.date;v.setMonth(v.getMonth()+1),h=l.getDateInfo(v)}w(l.getNextNDay(n.end.time,1).formatedDate);function w(b){r._firstDayOfMonth.push(l.getDateInfo(b)),r._firstDayPoints.push(l.dataToRect([b],!1).tl);var E=r._getLinePointsOfOneWeek(a,b,i);r._tlpoints.push(E[0]),r._blpoints.push(E[E.length-1]),s&&r._drawSplitline(E,e,o)}s&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,u,i),e,o),s&&this._drawSplitline(r._getEdgesPoints(r._blpoints,u,i),e,o)},_getEdgesPoints:function(a,n,i){var o=[a[0].slice(),a[a.length-1].slice()],r=i==="horizontal"?0:1;return o[0][r]=o[0][r]-n/2,o[1][r]=o[1][r]+n/2,o},_drawSplitline:function(a,n,i){var o=new S.Polyline({z2:20,shape:{points:a},style:n});i.add(o)},_getLinePointsOfOneWeek:function(a,n,i){var o=a.coordinateSystem;n=o.getDateInfo(n);for(var r=[],l=0;l<7;l++){var e=o.getNextNDay(n.time,l),s=o.dataToRect([e.time],!1);r[2*e.day]=s.tl,r[2*e.day+1]=s[i==="horizontal"?"bl":"tr"]}return r},_formatterLabel:function(a,n){return typeof a=="string"&&a?m.formatTplSimple(a,n):typeof a=="function"?a(n):n.nameMap},_yearTextPositionControl:function(a,n,i,o,r){n=n.slice();var l=["center","bottom"];o==="bottom"?(n[1]+=r,l=["center","top"]):o==="left"?n[0]-=r:o==="right"?(n[0]+=r,l=["center","top"]):n[1]-=r;var e=0;return(o==="left"||o==="right")&&(e=Math.PI/2),{rotation:e,position:n,style:{textAlign:l[0],textVerticalAlign:l[1]}}},_renderYearText:function(a,n,i,o){var r=a.getModel("yearLabel");if(!r.get("show"))return;var l=r.get("margin"),e=r.get("position");e||(e=i!=="horizontal"?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],u=(s[0][0]+s[1][0])/2,h=(s[0][1]+s[1][1])/2,A=i==="horizontal"?0:1,v={top:[u,s[A][1]],bottom:[u,s[1-A][1]],left:[s[1-A][0],h],right:[s[A][0],h]},w=n.start.y;+n.end.y>+n.start.y&&(w=w+"-"+n.end.y);var b=r.get("formatter"),E={start:n.start.y,end:n.end.y,nameMap:w},T=this._formatterLabel(b,E),_=new S.Text({z2:30});S.setTextStyle(_.style,r,{text:T}),_.attr(this._yearTextPositionControl(_,v[e],i,e,l)),o.add(_)},_monthTextPositionControl:function(a,n,i,o,r){var l="left",e="top",s=a[0],u=a[1];return i==="horizontal"?(u=u+r,n&&(l="center"),o==="start"&&(e="bottom")):(s=s+r,n&&(e="middle"),o==="start"&&(l="right")),{x:s,y:u,textAlign:l,textVerticalAlign:e}},_renderMonthText:function(a,n,i){var o=a.getModel("monthLabel");if(!o.get("show"))return;var r=o.get("nameMap"),l=o.get("margin"),e=o.get("position"),s=o.get("align"),u=[this._tlpoints,this._blpoints];p.isString(r)&&(r=f[r.toUpperCase()]||[]);var h=e==="start"?0:1,A=n==="horizontal"?0:1;l=e==="start"?-l:l;for(var v=s==="center",w=0;w1?(C.width=b,C.height=b/_):(C.height=b,C.width=b*_),C.y=w[1]-C.height/2,C.x=w[0]-C.width/2}else v=l.getBoxLayoutParams(),v.aspect=_,C=f.getLayoutRect(v,{width:E,height:T});this.setViewRect(C.x,C.y,C.width,C.height),this.setCenter(l.get("center")),this.setZoom(l.get("zoom"))}function i(l,e){m.each(e.get("geoCoord"),function(s,u){l.addGeoCoord(u,s)})}var o={dimensions:g.prototype.dimensions,create:function(l,e){var s=[];l.eachComponent("geo",function(h,A){var v=h.get("map"),w=h.get("aspectScale"),b=!0,E=a.retrieveMap(v);E&&E[0]&&E[0].type==="svg"?(w==null&&(w=1),b=!1):w==null&&(w=.75);var T=new g(v+A,v,h.get("nameMap"),b);T.aspectScale=w,T.zoomLimit=h.get("scaleLimit"),s.push(T),i(T,h),h.coordinateSystem=T,T.model=h,T.resize=n,T.resize(h,e)}),l.eachSeries(function(h){var A=h.get("coordinateSystem");if(A==="geo"){var v=h.get("geoIndex")||0;h.coordinateSystem=s[v]}});var u={};return l.eachSeriesByType("map",function(h){if(!h.getHostGeoModel()){var A=h.getMapType();u[A]=u[A]||[],u[A].push(h)}}),m.each(u,function(h,A){var v=m.map(h,function(b){return b.get("nameMap")}),w=new g(A,A,m.mergeAll(v));w.zoomLimit=m.retrieve.apply(null,m.map(h,function(b){return b.get("scaleLimit")})),s.push(w),w.resize=n,w.aspectScale=h[0].get("aspectScale"),w.resize(h[0],e),m.each(h,function(b){b.coordinateSystem=w,i(w,b)})}),s},getFilledRegions:function(l,e,s){for(var u=(l||[]).slice(),h=m.createHashMap(),A=0;A=32&&m<=255)return m;var g=y[m];return g!==void 0?g:16777216|m}};N.default=p},"815F":function(R,N,t){"use strict";t.d(N,"e",function(){return d}),t.d(N,"c",function(){return a}),t.d(N,"d",function(){return n}),t.d(N,"a",function(){return o}),t.d(N,"f",function(){return r}),t.d(N,"b",function(){return l});var y=t("KQm4"),p=t("VTBJ"),S=t("Ff2n"),m=t("Zm9Q"),g=t("Kwbf"),f=t("OZM5");function d(e,s){return e!=null?e:s}function c(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],s=new Map;function u(h){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(h||[]).forEach(function(v){var w=v.key,b=v.children;Object(g.a)(w!=null,"Tree node must have a certain key: [".concat(A).concat(w,"]"));var E=String(w);Object(g.a)(!s.has(E)||w===null||w===void 0,"Same 'key' exist in the Tree: ".concat(E)),s.set(E,!0),u(b,"".concat(A).concat(E," > "))})}u(e)}function a(e){function s(u){var h=Object(m.a)(u);return h.map(function(A){if(!Object(f.i)(A))return Object(g.a)(!A,"Tree/TreeNode can only accept TreeNode as children."),null;var v=A.key,w=A.props,b=w.children,E=Object(S.a)(w,["children"]),T=Object(p.a)({key:v},E),_=s(b);return _.length&&(T.children=_),T}).filter(function(A){return A})}return s(e)}function n(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],u=new Set(s===!0?[]:s),h=[];function A(v){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return v.map(function(b,E){var T=Object(f.h)(w?w.pos:"0",E),_=d(b.key,T),x=Object(p.a)(Object(p.a)({},b),{},{parent:w,pos:T,children:null,data:b,isStart:[].concat(Object(y.a)(w?w.isStart:[]),[E===0]),isEnd:[].concat(Object(y.a)(w?w.isEnd:[]),[E===v.length-1])});return h.push(x),s===!0||u.has(_)?x.children=A(b.children||[],x):x.children=[],x})}return A(e),h}function i(e,s,u){var h;u?typeof u=="string"?h=function(w){return w[u]}:typeof u=="function"&&(h=function(w){return u(w)}):h=function(w,b){return d(w.key,b)};function A(v,w,b){var E=v?v.children:e,T=v?Object(f.h)(b.pos,w):"0";if(v){var _=h(v,T),x={node:v,index:w,pos:T,key:_,parentPos:b.node?b.pos:null,level:b.level+1};s(x)}E&&E.forEach(function(C,I){A(C,I,{node:v,pos:T,level:b?b.level+1:-1})})}A(null)}function o(e){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=s.initWrapper,h=s.processEntity,A=s.onProcessFinished,v=arguments.length>2?arguments[2]:void 0,w={},b={},E={posEntities:w,keyEntities:b};return u&&(E=u(E)||E),i(e,function(T){var _=T.node,x=T.index,C=T.pos,I=T.key,L=T.parentPos,F=T.level,B={node:_,index:x,key:I,pos:C,level:F},P=d(I,C);w[C]=B,b[P]=B,B.parent=w[L],B.parent&&(B.parent.children=B.parent.children||[],B.parent.children.push(B)),h&&h(B,E)},v),A&&A(E),E}function r(e,s){var u=s.expandedKeys,h=s.selectedKeys,A=s.loadedKeys,v=s.loadingKeys,w=s.checkedKeys,b=s.halfCheckedKeys,E=s.dragOverNodeKey,T=s.dropPosition,_=s.keyEntities,x=_[e],C={eventKey:e,expanded:u.indexOf(e)!==-1,selected:h.indexOf(e)!==-1,loaded:A.indexOf(e)!==-1,loading:v.indexOf(e)!==-1,checked:w.indexOf(e)!==-1,halfChecked:b.indexOf(e)!==-1,pos:String(x?x.pos:""),dragOver:E===e&&T===0,dragOverGapTop:E===e&&T===-1,dragOverGapBottom:E===e&&T===1};return C}function l(e){var s=e.data,u=e.expanded,h=e.selected,A=e.checked,v=e.loaded,w=e.loading,b=e.halfChecked,E=e.dragOver,T=e.dragOverGapTop,_=e.dragOverGapBottom,x=e.pos,C=e.active,I=Object(p.a)(Object(p.a)({},s),{},{expanded:u,selected:h,checked:A,loaded:v,loading:w,halfChecked:b,dragOver:E,dragOverGapTop:T,dragOverGapBottom:_,pos:x,active:C});return"props"in I||Object.defineProperty(I,"props",{get:function(){return Object(g.a)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),I}},"8CQX":function(R,N,t){"use strict";function y(l){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(s){return typeof s}:y=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},y(l)}Object.defineProperty(N,"__esModule",{value:!0}),N.getKeycode=i,N.getKey=o,N.getKeysym=r;var p=n(t("mHUz")),S=n(t("8+yF")),m=n(t("6Qwc")),g=n(t("gIYZ")),f=n(t("mTgk")),d=a(t("GdRQ"));function c(){if(typeof WeakMap!="function")return null;var l=new WeakMap;return c=function(){return l},l}function a(l){if(l&&l.__esModule)return l;if(l===null||y(l)!=="object"&&typeof l!="function")return{default:l};var e=c();if(e&&e.has(l))return e.get(l);var s={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(Object.prototype.hasOwnProperty.call(l,h)){var A=u?Object.getOwnPropertyDescriptor(l,h):null;A&&(A.get||A.set)?Object.defineProperty(s,h,A):s[h]=l[h]}return s.default=l,e&&e.set(l,s),s}function n(l){return l&&l.__esModule?l:{default:l}}function i(l){if(l.code){switch(l.code){case"OSLeft":return"MetaLeft";case"OSRight":return"MetaRight"}return l.code}if(l.type!=="keypress"&&l.keyCode in m.default){var e=m.default[l.keyCode];if(d.isMac()&&e==="ContextMenu"&&(e="MetaRight"),l.location===2)switch(e){case"ShiftLeft":return"ShiftRight";case"ControlLeft":return"ControlRight";case"AltLeft":return"AltRight"}if(l.location===3)switch(e){case"Delete":return"NumpadDecimal";case"Insert":return"Numpad0";case"End":return"Numpad1";case"ArrowDown":return"Numpad2";case"PageDown":return"Numpad3";case"ArrowLeft":return"Numpad4";case"ArrowRight":return"Numpad6";case"Home":return"Numpad7";case"ArrowUp":return"Numpad8";case"PageUp":return"Numpad9";case"Enter":return"NumpadEnter"}return e}return"Unidentified"}function o(l){if(l.key!==void 0){switch(l.key){case"Spacebar":return" ";case"Esc":return"Escape";case"Scroll":return"ScrollLock";case"Win":return"Meta";case"Apps":return"ContextMenu";case"Up":return"ArrowUp";case"Left":return"ArrowLeft";case"Right":return"ArrowRight";case"Down":return"ArrowDown";case"Del":return"Delete";case"Divide":return"/";case"Multiply":return"*";case"Subtract":return"-";case"Add":return"+";case"Decimal":return l.char}switch(l.key){case"OS":return"Meta";case"LaunchMyComputer":return"LaunchApplication1";case"LaunchCalculator":return"LaunchApplication2"}switch(l.key){case"UIKeyInputUpArrow":return"ArrowUp";case"UIKeyInputDownArrow":return"ArrowDown";case"UIKeyInputLeftArrow":return"ArrowLeft";case"UIKeyInputRightArrow":return"ArrowRight";case"UIKeyInputEscape":return"Escape"}if(l.key==="\0"&&l.code==="NumpadDecimal")return"Delete";if(!d.isIE()&&!d.isEdge())return l.key;if(l.key.length!==1&&l.key!=="Unidentified")return l.key}var e=i(l);return e in g.default?g.default[e]:l.charCode?String.fromCharCode(l.charCode):"Unidentified"}function r(l){var e=o(l);if(e==="Unidentified")return null;if(e in f.default){var s=l.location;if(e==="Meta"&&s===0&&(s=2),e==="Clear"&&s===3){var u=i(l);u==="NumLock"&&(s=0)}if((s===void 0||s>3)&&(s=0),e==="Meta"){var h=i(l);if(h==="AltLeft")return p.default.XK_Meta_L;if(h==="AltRight")return p.default.XK_Meta_R}if(e==="Clear"){var A=i(l);if(A==="NumLock")return p.default.XK_Num_Lock}return f.default[e][s]}if(e.length!==1)return null;var v=e.charCodeAt();return v?S.default.lookup(v):null}},"8EBN":function(R,N,t){(function(y){y(t("VrN/"))})(function(y){"use strict";y.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var p=0;p-1&&m.substring(d+1,m.length);if(c)return y.findModeByExtension(c)},y.findModeByName=function(m){m=m.toLowerCase();for(var g=0;g>v&1&&(this._zlibs[v].reset(),p.Info("Reset zlib stream "+v));this._ctl=this._ctl>>4}var w;if(this._ctl===8)w=this._fillRect(r,l,e,s,u,h,A);else if(this._ctl===9)w=this._jpegRect(r,l,e,s,u,h,A);else if(this._ctl===10)w=this._pngRect(r,l,e,s,u,h,A);else if((this._ctl&128)==0)w=this._basicRect(this._ctl,r,l,e,s,u,h,A);else throw new Error("Illegal tight compression received (ctl: "+this._ctl+")");return w&&(this._ctl=null),w}},{key:"_fillRect",value:function(r,l,e,s,u,h,A){if(u.rQwait("TIGHT",3))return!1;var v=u.rQi,w=u.rQ;return h.fillRect(r,l,e,s,[w[v+2],w[v+1],w[v]],!1),u.rQskipBytes(3),!0}},{key:"_jpegRect",value:function(r,l,e,s,u,h,A){var v=this._readData(u);return v===null?!1:(h.imageRect(r,l,e,s,"image/jpeg",v),!0)}},{key:"_pngRect",value:function(r,l,e,s,u,h,A){throw new Error("PNG received in standard Tight rect")}},{key:"_basicRect",value:function(r,l,e,s,u,h,A,v){if(this._filter===null)if(r&4){if(h.rQwait("TIGHT",1))return!1;this._filter=h.rQshift8()}else this._filter=0;var w=r&3,b;switch(this._filter){case 0:b=this._copyFilter(w,l,e,s,u,h,A,v);break;case 1:b=this._paletteFilter(w,l,e,s,u,h,A,v);break;case 2:b=this._gradientFilter(w,l,e,s,u,h,A,v);break;default:throw new Error("Illegal tight filter received (ctl: "+this._filter+")")}return b&&(this._filter=null),b}},{key:"_copyFilter",value:function(r,l,e,s,u,h,A,v){var w=s*u*3,b;if(w<12){if(h.rQwait("TIGHT",w))return!1;b=h.rQshiftBytes(w)}else{if(b=this._readData(h),b===null)return!1;this._zlibs[r].setInput(b),b=this._zlibs[r].inflate(w),this._zlibs[r].setInput(null)}return A.blitRgbImage(l,e,s,u,b,0,!1),!0}},{key:"_paletteFilter",value:function(r,l,e,s,u,h,A,v){if(this._numColors===0){if(h.rQwait("TIGHT palette",1))return!1;var w=h.rQpeek8()+1,b=w*3;if(h.rQwait("TIGHT palette",1+b))return!1;this._numColors=w,h.rQskipBytes(1),h.rQshiftTo(this._palette,b)}var E=this._numColors<=2?1:8,T=Math.floor((s*E+7)/8),_=T*u,x;if(_<12){if(h.rQwait("TIGHT",_))return!1;x=h.rQshiftBytes(_)}else{if(x=this._readData(h),x===null)return!1;this._zlibs[r].setInput(x),x=this._zlibs[r].inflate(_),this._zlibs[r].setInput(null)}return this._numColors==2?this._monoRect(l,e,s,u,x,this._palette,A):this._paletteRect(l,e,s,u,x,this._palette,A),this._numColors=0,!0}},{key:"_monoRect",value:function(r,l,e,s,u,h,A){for(var v=this._getScratchBuffer(e*s*4),w=Math.floor((e+7)/8),b=Math.floor(e/8),E=0;E=0;C--)T=(E*e+x*8+7-C)*4,_=(u[E*w+x]>>C&1)*3,v[T]=h[_],v[T+1]=h[_+1],v[T+2]=h[_+2],v[T+3]=255;for(var I=7;I>=8-e%8;I--)T=(E*e+x*8+7-I)*4,_=(u[E*w+x]>>I&1)*3,v[T]=h[_],v[T+1]=h[_+1],v[T+2]=h[_+2],v[T+3]=255}A.blitRgbxImage(r,l,e,s,v,0,!1)}},{key:"_paletteRect",value:function(r,l,e,s,u,h,A){for(var v=this._getScratchBuffer(e*s*4),w=e*s*4,b=0,E=0;b=0;U--){var k=H[U].dimension,K=B.dimensions[k],j=B.getDimensionInfo(K);if(z=j&&j.coordDim,z==="x"||z==="y"){M=H[U];break}}if(!M)return;var V=P.getAxis(z),W=S.map(M.stops,function(Me){return{coord:V.toGlobalCoord(V.dataToCoord(Me.value)),color:Me.color}}),X=W.length,J=M.outerColors.slice();X&&W[0].coord>W[X-1].coord&&(W.reverse(),J.reverse());var de=10,G=W[0].coord-de,ae=W[X-1].coord+de,Ae=ae-G;if(Ae<.001)return"transparent";S.each(W,function(Me){Me.offset=(Me.coord-G)/Ae}),W.push({offset:X?W[X-1].offset:.5,color:J[1]||"transparent"}),W.unshift({offset:X?W[0].offset:.5,color:J[0]||"transparent"});var me=new a.LinearGradient(0,0,0,0,W,!0);return me[z]=G,me[z+"2"]=ae,me}function C(B,P,H){var z=B.get("showAllSymbol"),M=z==="auto";if(z&&!M)return;var U=H.getAxesByScale("ordinal")[0];if(!U)return;if(M&&I(U,P))return;var k=P.mapDimension(U.dim),K={};return S.each(U.getViewLabels(),function(j){K[j.tickValue]=1}),function(j){return!K.hasOwnProperty(P.get(k,j))}}function I(B,P){var H=B.getExtent(),z=Math.abs(H[1]-H[0])/B.scale.count();isNaN(z)&&(z=0);for(var M=P.count(),U=Math.max(1,Math.round(M/5)),k=0;kz)return!1;return!0}function L(B,P,H){if(B.type==="cartesian2d"){var z=B.getBaseAxis().isHorizontal(),M=A(B,P,H);if(!H.get("clip",!0)){var U=M.shape,k=Math.max(U.width,U.height);z?(U.y-=k,U.height+=k*2):(U.x-=k,U.width+=k*2)}return M}else return v(B,P,H)}var F=l.extend({type:"line",init:function(){var B=new a.Group,P=new f;this.group.add(P.group),this._symbolDraw=P,this._lineGroup=B},render:function(B,P,H){var z=B.coordinateSystem,M=this.group,U=B.getData(),k=B.getModel("lineStyle"),K=B.getModel("areaStyle"),j=U.mapArray(U.getItemLayout),V=z.type==="polar",W=this._coordSys,X=this._symbolDraw,J=this._polyline,de=this._polygon,G=this._lineGroup,ae=B.get("animation"),Ae=!K.isEmpty(),me=K.get("origin"),Me=s(z,U,me),oe=T(z,U,Me),_e=B.get("showSymbol"),ee=_e&&!V&&C(B,U,z),ne=this._data;ne&&ne.eachItemGraphicEl(function(Te,Ke){Te.__temp&&(M.remove(Te),ne.setItemGraphicEl(Ke,null))}),_e||X.remove(),M.add(G);var Ge=!V&&B.get("step"),Ee;z&&z.getArea&&B.get("clip",!0)&&(Ee=z.getArea(),Ee.width!=null?(Ee.x-=.1,Ee.y-=.1,Ee.width+=.2,Ee.height+=.2):Ee.r0&&(Ee.r0-=.5,Ee.r1+=.5)),this._clipShapeForSymbol=Ee,J&&W.type===z.type&&Ge===this._step?(Ae&&!de?de=this._newPolygon(j,oe,z,ae):de&&!Ae&&(G.remove(de),de=this._polygon=null),G.setClipPath(L(z,!1,B)),_e&&X.updateData(U,{isIgnore:ee,clipShape:Ee}),U.eachItemGraphicEl(function(Te){Te.stopAnimation(!0)}),(!w(this._stackedOnPoints,oe)||!w(this._points,j))&&(ae?this._updateAnimation(U,oe,z,H,Ge,me):(Ge&&(j=_(j,z,Ge),oe=_(oe,z,Ge)),J.setShape({points:j}),de&&de.setShape({points:j,stackedOnPoints:oe})))):(_e&&X.updateData(U,{isIgnore:ee,clipShape:Ee}),Ge&&(j=_(j,z,Ge),oe=_(oe,z,Ge)),J=this._newPolyline(j,z,ae),Ae&&(de=this._newPolygon(j,oe,z,ae)),G.setClipPath(L(z,!0,B)));var ue=x(U,z)||U.getVisual("color");J.useStyle(S.defaults(k.getLineStyle(),{fill:"none",stroke:ue,lineJoin:"bevel"}));var re=B.get("smooth");if(re=E(B.get("smooth")),J.setShape({smooth:re,smoothMonotone:B.get("smoothMonotone"),connectNulls:B.get("connectNulls")}),de){var ce=U.getCalculationInfo("stackedOnSeries"),ke=0;de.useStyle(S.defaults(K.getAreaStyle(),{fill:ue,opacity:.7,lineJoin:"bevel"})),ce&&(ke=E(ce.get("smooth"))),de.setShape({smooth:re,stackedOnSmooth:ke,smoothMonotone:B.get("smoothMonotone"),connectNulls:B.get("connectNulls")})}this._data=U,this._coordSys=z,this._stackedOnPoints=oe,this._points=j,this._step=Ge,this._valueOrigin=me},dispose:function(){},highlight:function(B,P,H,z){var M=B.getData(),U=n.queryDataIndex(M,z);if(!(U instanceof Array)&&U!=null&&U>=0){var k=M.getItemGraphicEl(U);if(!k){var K=M.getItemLayout(U);if(!K)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(K[0],K[1]))return;k=new d(M,U),k.position=K,k.setZ(B.get("zlevel"),B.get("z")),k.ignore=isNaN(K[0])||isNaN(K[1]),k.__temp=!0,M.setItemGraphicEl(U,k),k.stopSymbolAnimation(!0),this.group.add(k)}k.highlight()}else l.prototype.highlight.call(this,B,P,H,z)},downplay:function(B,P,H,z){var M=B.getData(),U=n.queryDataIndex(M,z);if(U!=null&&U>=0){var k=M.getItemGraphicEl(U);k&&(k.__temp?(M.setItemGraphicEl(U,null),this.group.remove(k)):k.downplay())}else l.prototype.downplay.call(this,B,P,H,z)},_newPolyline:function(B){var P=this._polyline;return P&&this._lineGroup.remove(P),P=new o({shape:{points:B},silent:!0,z2:10}),this._lineGroup.add(P),this._polyline=P,P},_newPolygon:function(B,P){var H=this._polygon;return H&&this._lineGroup.remove(H),H=new r({shape:{points:B,stackedOnPoints:P},silent:!0}),this._lineGroup.add(H),this._polygon=H,H},_updateAnimation:function(B,P,H,z,M,U){var k=this._polyline,K=this._polygon,j=B.hostModel,V=c(this._data,B,this._stackedOnPoints,P,this._coordSys,H,this._valueOrigin,U),W=V.current,X=V.stackedOnCurrent,J=V.next,de=V.stackedOnNext;if(M&&(W=_(V.current,H,M),X=_(V.stackedOnCurrent,H,M),J=_(V.next,H,M),de=_(V.stackedOnNext,H,M)),b(W,J)>3e3||K&&b(X,de)>3e3){k.setShape({points:J}),K&&K.setShape({points:J,stackedOnPoints:de});return}k.shape.__points=V.current,k.shape.points=W,a.updateProps(k,{shape:{points:J}},j),K&&(K.setShape({points:W,stackedOnPoints:X}),a.updateProps(K,{shape:{points:J,stackedOnPoints:de}},j));for(var G=[],ae=V.status,Ae=0;Aeg)return;var o=this._model.coordinateSystem.getSlidedAxisExpandWindow([c.offsetX,c.offsetY]);o.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:o.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(c){if(this._mouseDownPoint||!d(this,"mousemove"))return;var a=this._model,n=a.coordinateSystem.getSlidedAxisExpandWindow([c.offsetX,c.offsetY]),i=n.behavior;i==="jump"&&this._throttledDispatchExpand.debounceNextCall(a.get("axisExpandDebounce")),this._throttledDispatchExpand(i==="none"?null:{axisExpandWindow:n.axisExpandWindow,animation:i==="jump"?null:!1})}};function d(c,a){var n=c._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===a}y.registerPreprocessor(m)},"8x+h":function(R,N,t){var y=t("Tghj"),p=y.__DEV__,S=t("ProS"),m=t("bYtY"),g=t("K4ya"),f=t("Qxkt"),d=["#ddd"],c=S.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(i,o){var r=this.option;!o&&g.replaceVisualOption(r,i,["inBrush","outOfBrush"]);var l=r.inBrush=r.inBrush||{};r.outOfBrush=r.outOfBrush||{color:d},l.hasOwnProperty("liftZ")||(l.liftZ=5)},setAreas:function(i){if(!i)return;this.areas=m.map(i,function(o){return a(this.option,o)},this)},setBrushOption:function(i){this.brushOption=a(this.option,i),this.brushType=this.brushOption.brushType}});function a(i,o){return m.merge({brushType:i.brushType,brushMode:i.brushMode,transformable:i.transformable,brushStyle:new f(i.brushStyle).getItemStyle(),removeOnClick:i.removeOnClick,z:i.z},o,!0)}var n=c;R.exports=n},"8z0m":function(R,N,t){"use strict";var y=t("lSNA"),p=t.n(y),S=t("RIqP"),m=t.n(S),g=t("pVnL"),f=t.n(g),d=t("J4zp"),c=t.n(d),a=t("q1tI"),n=t.n(a),i=t("TSYQ"),o=t.n(i);function r(ur,ir){var Lt="cannot "+ur.method+" "+ur.action+" "+ir.status+"'",at=new Error(Lt);return at.status=ir.status,at.method=ur.method,at.url=ur.action,at}function l(ur){var ir=ur.responseText||ur.response;if(!ir)return ir;try{return JSON.parse(ir)}catch(Lt){return ir}}function e(ur){var ir=new XMLHttpRequest;ur.onProgress&&ir.upload&&(ir.upload.onprogress=function($t){$t.total>0&&($t.percent=$t.loaded/$t.total*100),ur.onProgress($t)});var Lt=new FormData;ur.data&&Object.keys(ur.data).forEach(function(Xe){var $t=ur.data[Xe];if(Array.isArray($t)){$t.forEach(function(Sr){Lt.append(Xe+"[]",Sr)});return}Lt.append(Xe,ur.data[Xe])}),ur.file instanceof Blob?Lt.append(ur.filename,ur.file,ur.file.name):Lt.append(ur.filename,ur.file),ir.onerror=function($t){ur.onError($t)},ir.onload=function(){return ir.status<200||ir.status>=300?ur.onError(r(ur,ir),l(ir)):ur.onSuccess(l(ir),ir)},ir.open(ur.method,ur.action,!0),ur.withCredentials&&"withCredentials"in ir&&(ir.withCredentials=!0);var at=ur.headers||{};return at["X-Requested-With"]!==null&&ir.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(at).forEach(function(Xe){at[Xe]!==null&&ir.setRequestHeader(Xe,at[Xe])}),ir.send(Lt),{abort:function(){ir.abort()}}}var s=+new Date,u=0;function h(){return"rc-upload-"+s+"-"+ ++u}function A(ur,ir){return ur.indexOf(ir,ur.length-ir.length)!==-1}var v=function(ur,ir){if(ur&&ir){var Lt=Array.isArray(ir)?ir:ir.split(","),at=ur.name||"",Xe=ur.type||"",$t=Xe.replace(/\/.*$/,"");return Lt.some(function(Sr){var vr=Sr.trim();return vr.charAt(0)==="."?A(at.toLowerCase(),vr.toLowerCase()):/\/\*$/.test(vr)?$t===vr.replace(/\/.*$/,""):Xe===vr})}return!0};function w(ur,ir){var Lt=ur.createReader(),at=[];function Xe(){Lt.readEntries(function($t){var Sr=Array.prototype.slice.apply($t);at=at.concat(Sr);var vr=!Sr.length;vr?ir(at):Xe()})}Xe()}var b=function(ir,Lt,at){var Xe=function $t(Sr,vr){vr=vr||"",Sr.isFile?Sr.file(function(fr){at(fr)&&(Sr.fullPath&&!fr.webkitRelativePath&&(Object.defineProperties(fr,{webkitRelativePath:{writable:!0}}),fr.webkitRelativePath=Sr.fullPath.replace(/^\//,""),Object.defineProperties(fr,{webkitRelativePath:{writable:!1}})),Lt([fr]))}):Sr.isDirectory&&w(Sr,function(fr){fr.forEach(function(An){$t(An,""+vr+Sr.name+"/")})})};ir.forEach(function($t){Xe($t.webkitGetAsEntry())})},E=b,T=Object.assign||function(ur){for(var ir=1;ir=0)continue;if(!Object.prototype.hasOwnProperty.call(ur,at))continue;Lt[at]=ur[at]}return Lt}function L(ur,ir){if(!(ur instanceof ir))throw new TypeError("Cannot call a class as a function")}function F(ur,ir){if(!ur)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ir&&(typeof ir=="object"||typeof ir=="function")?ir:ur}function B(ur,ir){if(typeof ir!="function"&&ir!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof ir);ur.prototype=Object.create(ir&&ir.prototype,{constructor:{value:ur,enumerable:!1,writable:!0,configurable:!0}}),ir&&(Object.setPrototypeOf?Object.setPrototypeOf(ur,ir):ur.__proto__=ir)}var P=function(ir){return Object.keys(ir).reduce(function(Lt,at){return(at.substr(0,5)==="data-"||at.substr(0,5)==="aria-"||at==="role")&&(Lt[at]=ir[at]),Lt},{})},H=function(ur){B(ir,ur);function ir(){var Lt,at,Xe,$t;L(this,ir);for(var Sr=arguments.length,vr=Array(Sr),fr=0;fr0&&arguments[0]!==void 0?arguments[0]:"",Lt=ir.split("/"),at=Lt[Lt.length-1],Xe=at.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Xe)||[""])[0]},Oe=function(ir){return ir.indexOf("image/")===0},vt=function(ir){if(ir.type&&!ir.thumbUrl)return Oe(ir.type);var Lt=ir.thumbUrl||ir.url,at=nt(Lt);return/^data:image\//.test(Lt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(at)?!0:/^data:/.test(Lt)?!1:!at},Ze=200;function wt(ur){return new Promise(function(ir){if(!ur.type||!Oe(ur.type)){ir("");return}var Lt=document.createElement("canvas");Lt.width=Ze,Lt.height=Ze,Lt.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(Ze,"px; height: ").concat(Ze,"px; z-index: 9999; display: none;"),document.body.appendChild(Lt);var at=Lt.getContext("2d"),Xe=new Image;Xe.onload=function(){var $t=Xe.width,Sr=Xe.height,vr=Ze,fr=Ze,An=0,Zr=0;$t=1)&&(L=1),L}var b;(this._dirty||s==="reset")&&(this._dirty=!1,b=i(this,l)),this._modBy=A,this._modDataCount=v;var E=o&&o.step;if(r?this._dueEnd=r._outputDueEnd:this._dueEnd=this._count?this._count(this.context):Infinity,this._progress){var T=this._dueIndex,_=Math.min(E!=null?this._dueIndex+E:Infinity,this._dueEnd);if(!l&&(b||T<_)){var x=this._progress;if(S(x))for(var C=0;C1&&e>0?A:h}};return u;function h(){return r=o?null:v=0;T--){var _=E[T],x=_.node,C=_.width,I=_.text;b>w.width&&(b-=C-A,C=A,I=null);var L=new y.Polygon({shape:{points:n(h,0,C,v,T===E.length-1,T===0)},style:S.defaults(e.getItemStyle(),{lineJoin:"bevel",text:I,textFill:s.getTextColor(),textFont:s.getFont()}),z:10,onclick:S.curry(u,x)});this.group.add(L),i(L,r,x),h+=C+d}},remove:function(){this.group.removeAll()}};function n(r,l,e,s,u,h){var A=[[u?r:r-c,l],[r+e,l],[r+e,l+s],[u?r:r-c,l+s]];return!h&&A.splice(2,0,[r+e+c,l+s/2]),!u&&A.push([r,l+s/2]),A}function i(r,l,e){r.eventData={componentType:"series",componentSubType:"treemap",componentIndex:l.componentIndex,seriesIndex:l.componentIndex,seriesName:l.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:e&&e.dataIndex,name:e&&e.name},treePathInfo:e&&g(e,l)}}var o=a;R.exports=o},"9u0u":function(R,N,t){var y=t("bYtY");function p(m,g){var f={};return y.each(m,function(d){d.each(d.mapDimension("value"),function(c,a){var n="ec-"+d.getName(a);f[n]=f[n]||[],isNaN(c)||f[n].push(c)})}),m[0].map(m[0].mapDimension("value"),function(d,c){for(var a="ec-"+m[0].getName(c),n=0,i=Infinity,o=-Infinity,r=f[a].length,l=0;l0){var se=_e==="button"?"".concat(Te,"-button"):Te;Ie=oe.map(function(Ye){return typeof Ye=="string"?g.createElement(w,{ref:z,key:Ye,prefixCls:se,disabled:ne,value:Ye,checked:W===Ye},Ye):g.createElement(w,{ref:z,key:"radio-group-value-options-".concat(Ye.value),prefixCls:se,disabled:Ye.disabled||ne,value:Ye.value,checked:W===Ye.value,style:Ye.style},Ye.label)})}var ye=Ee||K,xe=c()(Ke,"".concat(Ke,"-").concat(ee),(ae={},p()(ae,"".concat(Ke,"-").concat(ye),ye),p()(ae,"".concat(Ke,"-rtl"),k==="rtl"),ae),Me);return g.createElement("div",{className:xe,style:ue,onMouseEnter:ce,onMouseLeave:ke,id:re},Ie)};return g.createElement(i,{value:{onChange:J,value:W,disabled:H.disabled,name:H.name}},de())});x.defaultProps={buttonStyle:"outline"};var C=g.memo(x),I=function(H,z){var M={};for(var U in H)Object.prototype.hasOwnProperty.call(H,U)&&z.indexOf(U)<0&&(M[U]=H[U]);if(H!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,U=Object.getOwnPropertySymbols(H);k=1},subscribe:function(o){return d.size||this.register(),c+=1,d.set(c,o),o(a),c},unsubscribe:function(o){d.delete(o),d.size||this.unregister()},unregister:function(){var o=this;Object.keys(f).forEach(function(r){var l=f[r],e=o.matchHandlers[l];e==null||e.mql.removeListener(e==null?void 0:e.listener)}),d.clear()},register:function(){var o=this;Object.keys(f).forEach(function(r){var l=f[r],e=function(h){var A=h.matches;o.dispatch(m()(m()({},a),p()({},r,A)))},s=window.matchMedia(l);s.addListener(e),o.matchHandlers[l]={mql:s,listener:e},e(s)})}};N.a=n},AE9C:function(R,N,t){var y=t("bYtY"),p=t("crZl"),S=t("IwbS"),m=t("oVpE"),g=m.createSymbol,f=t("+TT/"),d=t("y7Aq"),c=p.extend({type:"visualMap.piecewise",doRender:function(){var n=this.group;n.removeAll();var i=this.visualMapModel,o=i.get("textGap"),r=i.textStyleModel,l=r.getFont(),e=r.getTextColor(),s=this._getItemAlign(),u=i.itemSize,h=this._getViewData(),A=h.endsText,v=y.retrieve(i.get("showLabel",!0),!A);A&&this._renderEndsText(n,A[0],u,v,s),y.each(h.viewPieceList,w,this),A&&this._renderEndsText(n,A[1],u,v,s),f.box(i.get("orient"),n,i.get("itemGap")),this.renderBackground(n),this.positionGroup(n);function w(b){var E=b.piece,T=new S.Group;T.onclick=y.bind(this._onItemClick,this,E),this._enableHoverLink(T,b.indexInModelPieceList);var _=i.getRepresentValue(E);if(this._createItemSymbol(T,_,[0,0,u[0],u[1]]),v){var x=this.visualMapModel.getValueState(_);T.add(new S.Text({style:{x:s==="right"?-o:u[0]+o,y:u[1]/2,text:E.text,textVerticalAlign:"middle",textAlign:s,textFont:l,textFill:e,opacity:x==="outOfRange"?.5:1}}))}n.add(T)}},_enableHoverLink:function(n,i){n.on("mouseover",y.bind(o,this,"highlight")).on("mouseout",y.bind(o,this,"downplay"));function o(r){var l=this.visualMapModel;l.option.hoverLink&&this.api.dispatchAction({type:r,batch:d.makeHighDownBatch(l.findTargetDataIndices(i),l)})}},_getItemAlign:function(){var n=this.visualMapModel,i=n.option;if(i.orient==="vertical")return d.getItemAlign(n,this.api,n.itemSize);var o=i.align;return(!o||o==="auto")&&(o="left"),o},_renderEndsText:function(n,i,o,r,l){if(!i)return;var e=new S.Group,s=this.visualMapModel.textStyleModel;e.add(new S.Text({style:{x:r?l==="right"?o[0]:0:o[0]/2,y:o[1]/2,textVerticalAlign:"middle",textAlign:r?l:"center",text:i,textFont:s.getFont(),textFill:s.getTextColor()}})),n.add(e)},_getViewData:function(){var n=this.visualMapModel,i=y.map(n.getPieceList(),function(e,s){return{piece:e,indexInModelPieceList:s}}),o=n.get("text"),r=n.get("orient"),l=n.get("inverse");return(r==="horizontal"?l:!l)?i.reverse():o&&(o=o.slice().reverse()),{viewPieceList:i,endsText:o}},_createItemSymbol:function(n,i,o){n.add(g(this.getControllerVisual(i,"symbol"),o[0],o[1],o[2],o[3],this.getControllerVisual(i,"color")))},_onItemClick:function(n){var i=this.visualMapModel,o=i.option,r=y.clone(o.selected),l=i.getSelectedMapKey(n);o.selectedMode==="single"?(r[l]=!0,y.each(r,function(e,s){r[s]=s===l})):r[l]=!r[l],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}}),a=c;R.exports=a},AEZ6:function(R,N,t){var y=t("bYtY"),p=y.each,S=y.createHashMap,m=t("T4UG"),g=t("MwEJ"),f=m.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(a,n){var i=this.getSource();return d(i,this),g(i,this)},getRawIndicesByActiveState:function(a){var n=this.coordinateSystem,i=this.getData(),o=[];return n.eachActiveState(i,function(r,l){a===r&&o.push(i.getRawIndex(l))}),o},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"}});function d(a,n){if(a.encodeDefine)return;var i=n.ecModel.getComponent("parallel",n.get("parallelIndex"));if(!i)return;var o=a.encodeDefine=S();p(i.dimensions,function(r){var l=c(r);o.set(r,l)})}function c(a){return+a.replace("dim","")}R.exports=f},AH3D:function(R,N,t){var y=t("ProS");t("y4/Y"),t("qWt2"),t("Qvb6"),y.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),y.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){})},ALo7:function(R,N,t){var y=t("ProS"),p=t("bYtY"),S=t("5GtS"),m=t("4NO4"),g=m.defaultEmphasis,f=t("D5nY"),d=f.makeSeriesEncodeForNameBased,c=t("xKMd"),a=y.extendSeriesModel({type:"series.funnel",init:function(i){a.superApply(this,"init",arguments),this.legendVisualProvider=new c(p.bind(this.getData,this),p.bind(this.getRawData,this)),this._defaultLabelLine(i)},getInitialData:function(i,o){return S(this,{coordDimensions:["value"],encodeDefaulter:p.curry(d,this)})},_defaultLabelLine:function(i){g(i,"labelLine",["show"]);var o=i.labelLine,r=i.emphasis.labelLine;o.show=o.show&&i.label.show,r.show=r.show&&i.emphasis.label.show},getDataParams:function(i){var o=this.getData(),r=a.superCall(this,"getDataParams",i),l=o.mapDimension("value"),e=o.getSum(l);return r.percent=e?+(o.get(l,i)/e*100).toFixed(2):0,r.$vars.push("percent"),r},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}}}}),n=a;R.exports=n},ANhw:function(R,N){(function(){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y={rotl:function(S,m){return S<>>32-m},rotr:function(S,m){return S<<32-m|S>>>m},endian:function(S){if(S.constructor==Number)return y.rotl(S,8)&16711935|y.rotl(S,24)&4278255360;for(var m=0;m0;S--)m.push(Math.floor(Math.random()*256));return m},bytesToWords:function(S){for(var m=[],g=0,f=0;g>>5]|=S[g]<<24-f%32;return m},wordsToBytes:function(S){for(var m=[],g=0;g>>5]>>>24-g%32&255);return m},bytesToHex:function(S){for(var m=[],g=0;g>>4).toString(16)),m.push((S[g]&15).toString(16));return m.join("")},hexToBytes:function(S){for(var m=[],g=0;g>>6*(3-d)&63)):m.push("=");return m.join("")},base64ToBytes:function(S){S=S.replace(/[^A-Z0-9+\/]/ig,"");for(var m=[],g=0,f=0;g>>6-f*2)}return m}};R.exports=y})()},ANjR:function(R,N,t){var y=t("bYtY");function p(m,g){return g=g||[0,0],y.map([0,1],function(f){var d=g[f],c=m[f]/2,a=[],n=[];return a[f]=d-c,n[f]=d+c,a[1-f]=n[1-f]=g[1-f],Math.abs(this.dataToPoint(a)[f]-this.dataToPoint(n)[f])},this)}function S(m){var g=m.getBoundingRect();return{coordSys:{type:"geo",x:g.x,y:g.y,width:g.width,height:g.height,zoom:m.getZoom()},api:{coord:function(f){return m.dataToPoint(f)},size:y.bind(p,m)}}}R.exports=S},AOa7:function(R,N,t){},AUH6:function(R,N,t){var y=t("bYtY"),p=t("mFDi"),S=t("bMXI"),m=t("W4dC");function g(c,a,n,i){S.call(this,c),this.map=a;var o=m.load(a,n);this._nameCoordMap=o.nameCoordMap,this._regionsMap=o.regionsMap,this._invertLongitute=i==null?!0:i,this.regions=o.regions,this._rect=o.boundingRect}g.prototype={constructor:g,type:"geo",dimensions:["lng","lat"],containCoord:function(c){for(var a=this.regions,n=0;n * @license MIT */R.exports=function(p){return p!=null&&(t(p)||y(p)||!!p._isBuffer)};function t(p){return!!p.constructor&&typeof p.constructor.isBuffer=="function"&&p.constructor.isBuffer(p)}function y(p){return typeof p.readFloatLE=="function"&&typeof p.slice=="function"&&t(p.slice(0,0))}},BMrR:function(R,N,t){"use strict";var y=t("qrJ5");N.a=y.a},BPZU:function(R,N){var t=32,y=7,p=256;function S(i){for(var o=0;i>=t;)o|=i&1,i>>=1;return i+o}function m(i,o,r,l){var e=o+1;if(e===r)return 1;if(l(i[e++],i[o])<0){for(;e=0;)e++;return e-o}function g(i,o,r){for(r--;o>>1,e(s,i[A])<0?h=A:u=A+1;var v=l-u;switch(v){case 3:i[u+3]=i[u+2];case 2:i[u+2]=i[u+1];case 1:i[u+1]=i[u];break;default:for(;v>0;)i[u+v]=i[u+v-1],v--}i[u]=s}}function d(i,o,r,l,e,s){var u=0,h=0,A=1;if(s(i,o[r+e])>0){for(h=l-e;A0;)u=A,A=(A<<1)+1,A<=0&&(A=h);A>h&&(A=h),u+=e,A+=e}else{for(h=e+1;Ah&&(A=h);var v=u;u=e-A,A=e-v}for(u++;u>>1);s(i,o[r+w])>0?u=w+1:A=w}return A}function c(i,o,r,l,e,s){var u=0,h=0,A=1;if(s(i,o[r+e])<0){for(h=e+1;Ah&&(A=h);var v=u;u=e-A,A=e-v}else{for(h=l-e;A=0;)u=A,A=(A<<1)+1,A<=0&&(A=h);A>h&&(A=h),u+=e,A+=e}for(u++;u>>1);s(i,o[r+w])<0?A=w:u=w+1}return A}function a(i,o){var r=y,l=0,e=p,s=0,u,h,A=0;l=i.length,l<2*p&&(e=l>>>1);var v=[];s=l<120?5:l<1542?10:l<119151?19:40,u=[],h=[];function w(C,I){u[A]=C,h[A]=I,A+=1}function b(){for(;A>1;){var C=A-2;if(C>=1&&h[C-1]<=h[C]+h[C+1]||C>=2&&h[C-2]<=h[C]+h[C-1])h[C-1]h[C+1])break;T(C)}}function E(){for(;A>1;){var C=A-2;C>0&&h[C-1]=y||k>=y);if(K)break;M<0&&(M=0),M+=2}if(r=M,r<1&&(r=1),I===1){for(B=0;B=0;B--)i[U+B]=i[M+B];i[z]=v[H];return}for(var k=r;;){var K=0,j=0,V=!1;do if(o(v[H],i[P])<0){if(i[z--]=i[P--],K++,j=0,--I===0){V=!0;break}}else if(i[z--]=v[H--],j++,K=0,--F===1){V=!0;break}while((K|j)=0;B--)i[U+B]=i[M+B];if(I===0){V=!0;break}}if(i[z--]=v[H--],--F===1){V=!0;break}if(j=F-d(i[P],v,0,F,F-1,o),j!==0){for(z-=j,H-=j,F-=j,U=z+1,M=H+1,B=0;B=y||j>=y);if(V)break;k<0&&(k=0),k+=2}if(r=k,r<1&&(r=1),F===1){for(z-=I,P-=I,U=z+1,M=P+1,B=I-1;B>=0;B--)i[U+B]=i[M+B];i[z]=v[H]}else{if(F===0)throw new Error;for(M=z-(F-1),B=0;Bh&&(A=h),f(i,r,r+A,r+s,o),s=A}u.pushRun(r,s),u.mergeRuns(),e-=s,r+=s}while(e!==0);u.forceMergeRuns()}R.exports=n},Bd2K:function(R,N,t){(function(y){y(t("VrN/"),t("osHv"))})(function(y){y.defineOption("autoCloseTags",!1,function(a,n,i){if(i!=y.Init&&i&&a.removeKeyMap("autoCloseTags"),!n)return;var o={name:"autoCloseTags"};(typeof n!="object"||n.whenClosing!==!1)&&(o["'/'"]=function(r){return f(r)}),(typeof n!="object"||n.whenOpening!==!1)&&(o["'>'"]=function(r){return m(r)}),a.addKeyMap(o)});var p=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],S=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function m(a){if(a.getOption("disableInput"))return y.Pass;for(var n=a.listSelections(),i=[],o=a.getOption("autoCloseTags"),r=0;rl.ch&&(A=A.slice(0,A.length-e.end+l.ch));var E=A.toLowerCase();if(!A||e.type=="string"&&(e.end!=l.ch||!/[\"\']/.test(e.string.charAt(e.string.length-1))||e.string.length==1)||e.type=="tag"&&h.close||e.string.indexOf("/")==l.ch-e.start-1||w&&d(w,E)>-1||c(a,s.mode.xmlCurrentContext&&s.mode.xmlCurrentContext(u)||[],A,l,!0))return y.Pass;var T=typeof o=="object"&&o.emptyTags;if(T&&d(T,A)>-1){i[r]={text:"/>",newPos:y.Pos(l.line,l.ch+2)};continue}var _=b&&d(b,E)>-1;i[r]={indent:_,text:">"+(_?` `:"")+"",newPos:_?y.Pos(l.line+1,0):y.Pos(l.line,l.ch+1)}}for(var x=typeof o=="object"&&o.dontIndentOnAutoClose,r=n.length-1;r>=0;r--){var C=i[r];a.replaceRange(C.text,n[r].head,n[r].anchor,"+insert");var I=a.listSelections().slice(0);I[r]={head:C.newPos,anchor:C.newPos},a.setSelections(I),!x&&C.indent&&(a.indentLine(C.newPos.line,null,!0),a.indentLine(C.newPos.line+1,null,!0))}}function g(a,n){for(var i=a.listSelections(),o=[],r=n?"/":""&&(w+=">"),o[s]=w}if(a.replaceSelections(o),i=a.listSelections(),!e)for(var s=0;s=0&&n[u]==i;u--)++s;o=e.to;for(var u=1;u.5?b:w}function n(w,b,E,T,_){var x=w.length;if(_===1)for(var C=0;C_;if(x)w.length=_;else for(var C=T;C<_;C++)w.push(E===1?b[C]:g.call(b[C]))}for(var I=w[0]&&w[0].length,C=0;C=0&&!(k[ke]<=ce);ke--);ke=Math.min(ke,F-2)}else{for(ke=G;kece);ke++);ke=Math.min(ke-1,F-2)}G=ke,ae=ce;var Te=k[ke+1]-k[ke];if(Te===0)return;if(me=(ce-k[ke])/Te,L)if(oe=K[ke],Me=K[ke===0?ke:ke-1],_e=K[ke>F-2?F-1:ke+1],ee=K[ke>F-3?F-1:ke+2],P)r(Me,oe,_e,ee,me,me*me,me*me*me,C(re,_),M);else{var Ke;if(H)Ke=r(Me,oe,_e,ee,me,me*me,me*me*me,ne,1),Ke=s(ne);else{if(z)return a(oe,_e,me);Ke=l(Me,oe,_e,ee,me,me*me,me*me*me)}I(re,_,Ke)}else if(P)n(K[ke],K[ke+1],me,C(re,_),M);else{var Ke;if(H)n(K[ke],K[ke+1],me,ne,1),Ke=s(ne);else{if(z)return a(K[ke],K[ke+1],me);Ke=c(K[ke],K[ke+1],me)}I(re,_,Ke)}},Ee=new y({target:w._target,life:U,loop:w._loop,delay:w._delay,onframe:Ge,ondestroy:E});return b&&b!=="spline"&&(Ee.easing=b),Ee}var A=function(b,E,T,_){this._tracks={},this._target=b,this._loop=E||!1,this._getter=T||f,this._setter=_||d,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};A.prototype={when:function(b,E){var T=this._tracks;for(var _ in E){if(!E.hasOwnProperty(_))continue;if(!T[_]){T[_]=[];var x=this._getter(this._target,_);if(x==null)continue;b!==0&&T[_].push({time:0,value:e(x)})}T[_].push({time:b,value:E[_]})}return this},during:function(b){return this._onframeList.push(b),this},pause:function(){for(var b=0;bi&&(i=r.height)}this.height=i+1},getNodeById:function(n){if(this.getId()===n)return this;for(var i=0,o=this.children,r=o.length;i=0&&this.hostTree.data.setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(n){if(this.dataIndex<0)return;var i=this.hostTree,o=i.data.getItemModel(this.dataIndex),r=this.getLevelModel();return r?o.getModel(n,r.getModel(n)):o.getModel(n)},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},setVisual:function(n,i){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,n,i)},getVisual:function(n,i){return this.hostTree.data.getItemVisual(this.dataIndex,n,i)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(n){for(var i=n.parentNode;i;){if(i===this)return!0;i=i.parentNode}return!1},isDescendantOf:function(n){return n!==this&&n.isAncestorOf(this)}};function d(n,i){this.root,this.data,this._nodes=[],this.hostModel=n,this.levelModels=y.map(i||[],function(o){return new p(o,n,n.ecModel)})}d.prototype={constructor:d,type:"tree",eachNode:function(n,i,o){this.root.eachNode(n,i,o)},getNodeByDataIndex:function(n){var i=this.data.getRawIndex(n);return this._nodes[i]},getNodeByName:function(n){return this.root.getNodeByName(n)},update:function(){for(var n=this.data,i=this._nodes,o=0,r=i.length;o0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(r){this.option.selected=S.clone(r)},getValueState:function(r){var l=g.findPieceIndex(r,this._pieceList);return l!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[l])]?"inRange":"outOfRange"},findTargetDataIndices:function(r){var l=[];return this.eachTargetSeries(function(e){var s=[],u=e.getData();u.each(this.getDataDimension(u),function(h,A){var v=g.findPieceIndex(h,this._pieceList);v===r&&s.push(A)},this),l.push({seriesId:e.id,dataIndex:s})},this),l},getRepresentValue:function(r){var l;if(this.isCategory())l=r.value;else if(r.value!=null)l=r.value;else{var e=r.interval||[];l=e[0]===-Infinity&&e[1]===Infinity?0:(e[0]+e[1])/2}return l},getVisualMeta:function(r){if(this.isCategory())return;var l=[],e=[],s=this;function u(w,b){var E=s.getRepresentValue({interval:w});b||(b=s.getValueState(E));var T=r(E,b);w[0]===-Infinity?e[0]=T:w[1]===Infinity?e[1]=T:l.push({value:w[0],color:T},{value:w[1],color:T})}var h=this._pieceList.slice();if(!h.length)h.push({interval:[-Infinity,Infinity]});else{var A=h[0].interval[0];A!==-Infinity&&h.unshift({interval:[-Infinity,A]}),A=h[h.length-1].interval[1],A!==Infinity&&h.push({interval:[A,Infinity]})}var v=-Infinity;return S.each(h,function(w){var b=w.interval;b&&(b[0]>v&&u([v,b[0]],"outOfRange"),u(b.slice()),v=b[1])},this),{stops:l,outerColors:e}}}),n={splitNumber:function(){var r=this.option,l=this._pieceList,e=Math.min(r.precision,20),s=this.getExtent(),u=r.splitNumber;u=Math.max(parseInt(u,10),1),r.splitNumber=u;for(var h=(s[1]-s[0])/u;+h.toFixed(e)!==h&&e<5;)e++;r.precision=e,h=+h.toFixed(e),r.minOpen&&l.push({interval:[-Infinity,s[0]],close:[0,0]});for(var A=0,v=s[0];A","\u2265"][s[0]]];e.text=e.text||this.formatValueText(e.value!=null?e.value:e.interval,!1,u)},this)}};function i(r,l){var e=r.inverse;(r.orient==="vertical"?!e:e)&&l.reverse()}var o=a;R.exports=o},BvKs:function(R,N,t){"use strict";t.d(N,"a",function(){return Ut});var y=t("pVnL"),p=t.n(y),S=t("lSNA"),m=t.n(S),g=t("lwsE"),f=t.n(g),d=t("W8MJ"),c=t.n(d),a=t("7W2i"),n=t.n(a),i=t("LQ03"),o=t.n(i),r=t("q1tI"),l=t("VTBJ"),e=t("1OyB"),s=t("vuIU"),u=t("JX7q"),h=t("Ji7U"),A=t("LK+K"),v=t("I8Z2"),w=t("BGR+"),b=t("wx14"),E=t("rePB"),T=t("4IlW"),_=t("2GS6"),x=t("Gytx"),C=t.n(x),I=t("TSYQ"),L=t.n(I),F=t("U8pU"),B=t("ODXe"),P=/iPhone/i,H=/iPod/i,z=/iPad/i,M=/\bAndroid(?:.+)Mobile\b/i,U=/Android/i,k=/\bAndroid(?:.+)SD4930UR\b/i,K=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,j=/Windows Phone/i,V=/\bWindows(?:.+)ARM\b/i,W=/BlackBerry/i,X=/BB10/i,J=/Opera Mini/i,de=/\b(CriOS|Chrome)(?:.+)Mobile/i,G=/Mobile(?:.+)Firefox\b/i;function ae(dt,st){return dt.test(st)}function Ae(dt){var st=dt||(typeof navigator!="undefined"?navigator.userAgent:""),Qt=st.split("[FBAN");if(typeof Qt[1]!="undefined"){var Jt=Qt,gt=Object(B.a)(Jt,1);st=gt[0]}if(Qt=st.split("Twitter"),typeof Qt[1]!="undefined"){var Ft=Qt,mt=Object(B.a)(Ft,1);st=mt[0]}var kt={apple:{phone:ae(P,st)&&!ae(j,st),ipod:ae(H,st),tablet:!ae(P,st)&&ae(z,st)&&!ae(j,st),device:(ae(P,st)||ae(H,st)||ae(z,st))&&!ae(j,st)},amazon:{phone:ae(k,st),tablet:!ae(k,st)&&ae(K,st),device:ae(k,st)||ae(K,st)},android:{phone:!ae(j,st)&&ae(k,st)||!ae(j,st)&&ae(M,st),tablet:!ae(j,st)&&!ae(k,st)&&!ae(M,st)&&(ae(K,st)||ae(U,st)),device:!ae(j,st)&&(ae(k,st)||ae(K,st)||ae(M,st)||ae(U,st))||ae(/\bokhttp\b/i,st)},windows:{phone:ae(j,st),tablet:ae(V,st),device:ae(j,st)||ae(V,st)},other:{blackberry:ae(W,st),blackberry10:ae(X,st),opera:ae(J,st),firefox:ae(G,st),chrome:ae(de,st),device:ae(W,st)||ae(X,st)||ae(J,st)||ae(G,st)||ae(de,st)},any:null,phone:null,tablet:null};return kt.any=kt.apple.device||kt.android.device||kt.windows.device||kt.other.device,kt.phone=kt.apple.phone||kt.android.phone||kt.windows.phone,kt.tablet=kt.apple.tablet||kt.android.tablet||kt.windows.tablet,kt}var me=Object(l.a)(Object(l.a)({},Ae()),{},{isMobile:Ae}),Me=me;function oe(){}function _e(dt,st,Qt){var Jt=st||"";return dt.key||"".concat(Jt,"item_").concat(Qt)}function ee(dt){return"".concat(dt,"-menu-")}function ne(dt,st){var Qt=-1;r.Children.forEach(dt,function(Jt){Qt+=1,Jt&&Jt.type&&Jt.type.isMenuItemGroup?r.Children.forEach(Jt.props.children,function(gt){Qt+=1,st(gt,Qt)}):st(Jt,Qt)})}function Ge(dt,st,Qt){if(!dt||Qt.find)return;r.Children.forEach(dt,function(Jt){if(Jt){var gt=Jt.type;if(!gt||!(gt.isSubMenu||gt.isMenuItem||gt.isMenuItemGroup))return;st.indexOf(Jt.key)!==-1?Qt.find=!0:Jt.props.children&&Ge(Jt.props.children,st,Qt)}})}var Ee=["defaultSelectedKeys","selectedKeys","defaultOpenKeys","openKeys","mode","getPopupContainer","onSelect","onDeselect","onDestroy","openTransitionName","openAnimation","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","triggerSubMenuAction","level","selectable","multiple","onOpenChange","visible","focusable","defaultActiveFirst","prefixCls","inlineIndent","parentMenu","title","rootPrefixCls","eventKey","active","onItemHover","onTitleMouseEnter","onTitleMouseLeave","onTitleClick","popupAlign","popupOffset","isOpen","renderMenuItem","manualRef","subMenuKey","disabled","index","isSelected","store","activeKey","builtinPlacements","overflowedIndicator","motion","attribute","value","popupClassName","inlineCollapsed","menu","theme","itemIcon","expandIcon"],ue=function(st){var Qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Jt=st&&typeof st.getBoundingClientRect=="function"&&st.getBoundingClientRect().width;if(Jt){if(Qt){var gt=getComputedStyle(st),Ft=gt.marginLeft,mt=gt.marginRight;Jt+=+Ft.replace("px","")+ +mt.replace("px","")}Jt=+Jt.toFixed(6)}return Jt||0},re=function(st,Qt,Jt){st&&Object(F.a)(st.style)==="object"&&(st.style[Qt]=Jt)},ce=function(){return Me.any},ke=t("KQm4"),Te=t("Ff2n"),Ke=t("i8i4"),Ie=t("bdgK"),se=t("uciX"),ye=t("8XRh"),xe={adjustX:1,adjustY:1},Ye={topLeft:{points:["bl","tl"],overflow:xe,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:xe,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:xe,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:xe,offset:[4,0]}},pt={topLeft:{points:["bl","tl"],overflow:xe,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:xe,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:xe,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:xe,offset:[4,0]}},nt=Ye,Oe=0,vt={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},Ze=function(st,Qt,Jt){var gt=ee(Qt),Ft=st.getState();st.setState({defaultActiveFirst:Object(l.a)(Object(l.a)({},Ft.defaultActiveFirst),{},Object(E.a)({},gt,Jt))})},wt=function(dt){Object(h.a)(Qt,dt);var st=Object(A.a)(Qt);function Qt(Jt){var gt;Object(e.a)(this,Qt),gt=st.call(this,Jt),gt.onDestroy=function(lr){gt.props.onDestroy(lr)},gt.onKeyDown=function(lr){var Yr=lr.keyCode,Jr=gt.menuInstance,Tn=gt.props,Dn=Tn.isOpen,zn=Tn.store;if(Yr===T.a.ENTER)return gt.onTitleClick(lr),Ze(zn,gt.props.eventKey,!0),!0;if(Yr===T.a.RIGHT)return Dn?Jr.onKeyDown(lr):(gt.triggerOpenChange(!0),Ze(zn,gt.props.eventKey,!0)),!0;if(Yr===T.a.LEFT){var qn;if(Dn)qn=Jr.onKeyDown(lr);else return;return qn||(gt.triggerOpenChange(!1),qn=!0),qn}return Dn&&(Yr===T.a.UP||Yr===T.a.DOWN)?Jr.onKeyDown(lr):void 0},gt.onOpenChange=function(lr){gt.props.onOpenChange(lr)},gt.onPopupVisibleChange=function(lr){gt.triggerOpenChange(lr,lr?"mouseenter":"mouseleave")},gt.onMouseEnter=function(lr){var Yr=gt.props,Jr=Yr.eventKey,Tn=Yr.onMouseEnter,Dn=Yr.store;Ze(Dn,gt.props.eventKey,!1),Tn({key:Jr,domEvent:lr})},gt.onMouseLeave=function(lr){var Yr=gt.props,Jr=Yr.parentMenu,Tn=Yr.eventKey,Dn=Yr.onMouseLeave;Jr.subMenuInstance=Object(u.a)(gt),Dn({key:Tn,domEvent:lr})},gt.onTitleMouseEnter=function(lr){var Yr=gt.props,Jr=Yr.eventKey,Tn=Yr.onItemHover,Dn=Yr.onTitleMouseEnter;Tn({key:Jr,hover:!0}),Dn({key:Jr,domEvent:lr})},gt.onTitleMouseLeave=function(lr){var Yr=gt.props,Jr=Yr.parentMenu,Tn=Yr.eventKey,Dn=Yr.onItemHover,zn=Yr.onTitleMouseLeave;Jr.subMenuInstance=Object(u.a)(gt),Dn({key:Tn,hover:!1}),zn({key:Tn,domEvent:lr})},gt.onTitleClick=function(lr){var Yr=Object(u.a)(gt),Jr=Yr.props;if(Jr.onTitleClick({key:Jr.eventKey,domEvent:lr}),Jr.triggerSubMenuAction==="hover")return;gt.triggerOpenChange(!Jr.isOpen,"click"),Ze(Jr.store,gt.props.eventKey,!1)},gt.onSubMenuClick=function(lr){typeof gt.props.onClick=="function"&>.props.onClick(gt.addKeyPath(lr))},gt.onSelect=function(lr){gt.props.onSelect(lr)},gt.onDeselect=function(lr){gt.props.onDeselect(lr)},gt.getPrefixCls=function(){return"".concat(gt.props.rootPrefixCls,"-submenu")},gt.getActiveClassName=function(){return"".concat(gt.getPrefixCls(),"-active")},gt.getDisabledClassName=function(){return"".concat(gt.getPrefixCls(),"-disabled")},gt.getSelectedClassName=function(){return"".concat(gt.getPrefixCls(),"-selected")},gt.getOpenClassName=function(){return"".concat(gt.props.rootPrefixCls,"-submenu-open")},gt.saveMenuInstance=function(lr){gt.menuInstance=lr},gt.addKeyPath=function(lr){return Object(l.a)(Object(l.a)({},lr),{},{keyPath:(lr.keyPath||[]).concat(gt.props.eventKey)})},gt.triggerOpenChange=function(lr,Yr){var Jr=gt.props.eventKey,Tn=function(){gt.onOpenChange({key:Jr,item:Object(u.a)(gt),trigger:Yr,open:lr})};Yr==="mouseenter"?gt.mouseenterTimeout=setTimeout(function(){Tn()},0):Tn()},gt.isChildrenSelected=function(){var lr={find:!1};return Ge(gt.props.children,gt.props.selectedKeys,lr),lr.find},gt.isOpen=function(){return gt.props.openKeys.indexOf(gt.props.eventKey)!==-1},gt.adjustWidth=function(){if(!gt.subMenuTitle||!gt.menuInstance)return;var lr=Ke.findDOMNode(gt.menuInstance);if(lr.offsetWidth>=gt.subMenuTitle.offsetWidth)return;lr.style.minWidth="".concat(gt.subMenuTitle.offsetWidth,"px")},gt.saveSubMenuTitle=function(lr){gt.subMenuTitle=lr},gt.getBaseProps=function(){var lr=Object(u.a)(gt),Yr=lr.props;return{mode:Yr.mode==="horizontal"?"vertical":Yr.mode,visible:gt.props.isOpen,level:Yr.level+1,inlineIndent:Yr.inlineIndent,focusable:!1,onClick:gt.onSubMenuClick,onSelect:gt.onSelect,onDeselect:gt.onDeselect,onDestroy:gt.onDestroy,selectedKeys:Yr.selectedKeys,eventKey:"".concat(Yr.eventKey,"-menu-"),openKeys:Yr.openKeys,motion:Yr.motion,onOpenChange:gt.onOpenChange,subMenuOpenDelay:Yr.subMenuOpenDelay,parentMenu:Object(u.a)(gt),subMenuCloseDelay:Yr.subMenuCloseDelay,forceSubMenuRender:Yr.forceSubMenuRender,triggerSubMenuAction:Yr.triggerSubMenuAction,builtinPlacements:Yr.builtinPlacements,defaultActiveFirst:Yr.store.getState().defaultActiveFirst[ee(Yr.eventKey)],multiple:Yr.multiple,prefixCls:Yr.rootPrefixCls,id:gt.internalMenuId,manualRef:gt.saveMenuInstance,itemIcon:Yr.itemIcon,expandIcon:Yr.expandIcon,direction:Yr.direction}},gt.getMotion=function(lr,Yr){var Jr=Object(u.a)(gt),Tn=Jr.haveRendered,Dn=gt.props,zn=Dn.motion,qn=Dn.rootPrefixCls,vi=Object(l.a)(Object(l.a)({},zn),{},{leavedClassName:"".concat(qn,"-hidden"),removeOnLeave:!1,motionAppear:Tn||!Yr||lr!=="inline"});return vi};var Ft=Jt.store,mt=Jt.eventKey,kt=Ft.getState(),gr=kt.defaultActiveFirst;gt.isRootMenu=!1;var ar=!1;return gr&&(ar=gr[mt]),Ze(Ft,mt,ar),gt}return Object(s.a)(Qt,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var gt=this,Ft=this.props,mt=Ft.mode,kt=Ft.parentMenu,gr=Ft.manualRef;if(gr&&gr(this),mt!=="horizontal"||!kt.isRootMenu||!this.props.isOpen)return;this.minWidthTimeout=setTimeout(function(){return gt.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var gt=this.props,Ft=gt.onDestroy,mt=gt.eventKey;Ft&&Ft(mt),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout)}},{key:"renderChildren",value:function(gt){var Ft=this,mt=this.getBaseProps(),kt=this.getMotion(mt.mode,mt.visible);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||mt.visible||mt.forceSubMenuRender,!this.haveOpened)return r.createElement("div",null);var gr=mt.direction;return r.createElement(ye.default,Object.assign({visible:mt.visible},kt),function(ar){var lr=ar.className,Yr=ar.style,Jr=L()("".concat(mt.prefixCls,"-sub"),lr,Object(E.a)({},"".concat(mt.prefixCls,"-rtl"),gr==="rtl"));return r.createElement(zt,Object.assign({},mt,{id:Ft.internalMenuId,className:Jr,style:Yr}),gt)})}},{key:"render",value:function(){var gt,Ft=Object(l.a)({},this.props),mt=Ft.isOpen,kt=this.getPrefixCls(),gr=Ft.mode==="inline",ar=L()(kt,"".concat(kt,"-").concat(Ft.mode),(gt={},Object(E.a)(gt,Ft.className,!!Ft.className),Object(E.a)(gt,this.getOpenClassName(),mt),Object(E.a)(gt,this.getActiveClassName(),Ft.active||mt&&!gr),Object(E.a)(gt,this.getDisabledClassName(),Ft.disabled),Object(E.a)(gt,this.getSelectedClassName(),this.isChildrenSelected()),gt));this.internalMenuId||(Ft.eventKey?this.internalMenuId="".concat(Ft.eventKey,"$Menu"):(Oe+=1,this.internalMenuId="$__$".concat(Oe,"$Menu")));var lr={},Yr={},Jr={};Ft.disabled||(lr={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},Yr={onClick:this.onTitleClick},Jr={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var Tn={},Dn=Ft.direction;gr&&(Dn==="rtl"?Tn.paddingRight=Ft.inlineIndent*Ft.level:Tn.paddingLeft=Ft.inlineIndent*Ft.level);var zn={};this.props.isOpen&&(zn={"aria-owns":this.internalMenuId});var qn=null;Ft.mode!=="horizontal"&&(qn=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(qn=r.createElement(this.props.expandIcon,Object(l.a)({},this.props))));var vi=r.createElement("div",Object.assign({ref:this.saveSubMenuTitle,style:Tn,className:"".concat(kt,"-title"),role:"button"},Jr,Yr,{"aria-expanded":mt},zn,{"aria-haspopup":"true",title:typeof Ft.title=="string"?Ft.title:void 0}),Ft.title,qn||r.createElement("i",{className:"".concat(kt,"-arrow")})),Ri=this.renderChildren(Ft.children),Ve=Ft.parentMenu.isRootMenu?Ft.parentMenu.props.getPopupContainer:function(mr){return mr.parentNode},Se=vt[Ft.mode],Re=Ft.popupOffset?{offset:Ft.popupOffset}:{},Be=Ft.mode==="inline"?"":Ft.popupClassName;Be+=Dn==="rtl"?" ".concat(kt,"-rtl"):"";var We=Ft.disabled,He=Ft.triggerSubMenuAction,Qe=Ft.subMenuOpenDelay,At=Ft.forceSubMenuRender,ot=Ft.subMenuCloseDelay,Bt=Ft.builtinPlacements;Ee.forEach(function(mr){return delete Ft[mr]}),delete Ft.onClick;var wr=Dn==="rtl"?Object.assign({},pt,Bt):Object.assign({},Ye,Bt);return delete Ft.direction,r.createElement("li",Object.assign({},Ft,lr,{className:ar,role:"menuitem"}),gr&&vi,gr&&Ri,!gr&&r.createElement(se.a,{prefixCls:kt,popupClassName:L()("".concat(kt,"-popup"),Be),getPopupContainer:Ve,builtinPlacements:wr,popupPlacement:Se,popupVisible:mt,popupAlign:Re,popup:Ri,action:We?[]:[He],mouseEnterDelay:Qe,mouseLeaveDelay:ot,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:At},vi))}}]),Qt}(r.Component);wt.defaultProps={onMouseEnter:oe,onMouseLeave:oe,onTitleMouseEnter:oe,onTitleMouseLeave:oe,onTitleClick:oe,manualRef:oe,mode:"vertical",title:""};var xt=Object(v.b)(function(dt,st){var Qt=dt.openKeys,Jt=dt.activeKey,gt=dt.selectedKeys,Ft=st.eventKey,mt=st.subMenuKey;return{isOpen:Qt.indexOf(Ft)>-1,active:Jt[mt]===Ft,selectedKeys:gt}})(wt);xt.isSubMenu=!0;var Ot=xt,Mt="menuitem-overflowed",Gt=.5,$e=function(dt){Object(h.a)(Qt,dt);var st=Object(A.a)(Qt);function Qt(){var Jt;return Object(e.a)(this,Qt),Jt=st.apply(this,arguments),Jt.resizeObserver=null,Jt.mutationObserver=null,Jt.originalTotalWidth=0,Jt.overflowedItems=[],Jt.menuItemSizes=[],Jt.cancelFrameId=null,Jt.state={lastVisibleIndex:void 0},Jt.getMenuItemNodes=function(){var gt=Jt.props.prefixCls,Ft=Ke.findDOMNode(Object(u.a)(Jt));return Ft?[].slice.call(Ft.children).filter(function(mt){return mt.className.split(" ").indexOf("".concat(gt,"-overflowed-submenu"))<0}):[]},Jt.getOverflowedSubMenuItem=function(gt,Ft,mt){var kt=Jt.props,gr=kt.overflowedIndicator,ar=kt.level,lr=kt.mode,Yr=kt.prefixCls,Jr=kt.theme;if(ar!==1||lr!=="horizontal")return null;var Tn=Jt.props.children[0],Dn=Tn.props,zn=Dn.children,qn=Dn.title,vi=Dn.style,Ri=Object(Te.a)(Dn,["children","title","style"]),Ve=Object(l.a)({},vi),Se="".concat(gt,"-overflowed-indicator"),Re="".concat(gt,"-overflowed-indicator");Ft.length===0&&mt!==!0?Ve=Object(l.a)(Object(l.a)({},Ve),{},{display:"none"}):mt&&(Ve=Object(l.a)(Object(l.a)({},Ve),{},{visibility:"hidden",position:"absolute"}),Se="".concat(Se,"-placeholder"),Re="".concat(Re,"-placeholder"));var Be=Jr?"".concat(Yr,"-").concat(Jr):"",We={};return Ee.forEach(function(He){Ri[He]!==void 0&&(We[He]=Ri[He])}),r.createElement(Ot,Object.assign({title:gr,className:"".concat(Yr,"-overflowed-submenu"),popupClassName:Be},We,{key:Se,eventKey:Re,disabled:!1,style:Ve}),Ft)},Jt.setChildrenWidthAndResize=function(){if(Jt.props.mode!=="horizontal")return;var gt=Ke.findDOMNode(Object(u.a)(Jt));if(!gt)return;var Ft=gt.children;if(!Ft||Ft.length===0)return;var mt=gt.children[Ft.length-1];re(mt,"display","inline-block");var kt=Jt.getMenuItemNodes(),gr=kt.filter(function(ar){return ar.className.split(" ").indexOf(Mt)>=0});gr.forEach(function(ar){re(ar,"display","inline-block")}),Jt.menuItemSizes=kt.map(function(ar){return ue(ar,!0)}),gr.forEach(function(ar){re(ar,"display","none")}),Jt.overflowedIndicatorWidth=ue(gt.children[gt.children.length-1],!0),Jt.originalTotalWidth=Jt.menuItemSizes.reduce(function(ar,lr){return ar+lr},0),Jt.handleResize(),re(mt,"display","none")},Jt.handleResize=function(){if(Jt.props.mode!=="horizontal")return;var gt=Ke.findDOMNode(Object(u.a)(Jt));if(!gt)return;var Ft=ue(gt);Jt.overflowedItems=[];var mt=0,kt;Jt.originalTotalWidth>Ft+Gt&&(kt=-1,Jt.menuItemSizes.forEach(function(gr){mt+=gr,mt+Jt.overflowedIndicatorWidth<=Ft&&(kt+=1)})),Jt.setState({lastVisibleIndex:kt})},Jt}return Object(s.a)(Qt,[{key:"componentDidMount",value:function(){var gt=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var Ft=Ke.findDOMNode(this);if(!Ft)return;this.resizeObserver=new Ie.default(function(mt){mt.forEach(function(){var kt=gt.cancelFrameId;cancelAnimationFrame(kt),gt.cancelFrameId=requestAnimationFrame(gt.setChildrenWidthAndResize)})}),[].slice.call(Ft.children).concat(Ft).forEach(function(mt){gt.resizeObserver.observe(mt)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){gt.resizeObserver.disconnect(),[].slice.call(Ft.children).concat(Ft).forEach(function(mt){gt.resizeObserver.observe(mt)}),gt.setChildrenWidthAndResize()}),this.mutationObserver.observe(Ft,{attributes:!1,childList:!0,subTree:!1}))}}},{key:"componentWillUnmount",value:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.mutationObserver&&this.mutationObserver.disconnect(),cancelAnimationFrame(this.cancelFrameId)}},{key:"renderChildren",value:function(gt){var Ft=this,mt=this.state.lastVisibleIndex;return(gt||[]).reduce(function(kt,gr,ar){var lr=gr;if(Ft.props.mode==="horizontal"){var Yr=Ft.getOverflowedSubMenuItem(gr.props.eventKey,[]);mt!==void 0&&Ft.props.className.indexOf("".concat(Ft.props.prefixCls,"-root"))!==-1&&(ar>mt&&(lr=r.cloneElement(gr,{style:{display:"none"},eventKey:"".concat(gr.props.eventKey,"-hidden"),className:"".concat(Mt)})),ar===mt+1&&(Ft.overflowedItems=gt.slice(mt+1).map(function(Tn){return r.cloneElement(Tn,{key:Tn.props.eventKey,mode:"vertical-left"})}),Yr=Ft.getOverflowedSubMenuItem(gr.props.eventKey,Ft.overflowedItems)));var Jr=[].concat(Object(ke.a)(kt),[Yr,lr]);return ar===gt.length-1&&Jr.push(Ft.getOverflowedSubMenuItem(gr.props.eventKey,[],!0)),Jr}return[].concat(Object(ke.a)(kt),[lr])},[])}},{key:"render",value:function(){var gt=this.props,Ft=gt.visible,mt=gt.prefixCls,kt=gt.overflowedIndicator,gr=gt.mode,ar=gt.level,lr=gt.tag,Yr=gt.children,Jr=gt.theme,Tn=Object(Te.a)(gt,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),Dn=lr;return r.createElement(Dn,Object.assign({},Tn),this.renderChildren(Yr))}}]),Qt}(r.Component);$e.defaultProps={tag:"div",className:""};var pe=$e;function q(dt){return dt.length?dt.every(function(st){return!!st.props.disabled}):!0}function bt(dt,st,Qt){var Jt=dt.getState();dt.setState({activeKey:Object(l.a)(Object(l.a)({},Jt.activeKey),{},Object(E.a)({},st,Qt))})}function qe(dt){return dt.eventKey||"0-menu-"}function le(dt,st){var Qt=st,Jt=dt.children,gt=dt.eventKey;if(Qt){var Ft;if(ne(Jt,function(mt,kt){mt&&mt.props&&!mt.props.disabled&&Qt===_e(mt,gt,kt)&&(Ft=!0)}),Ft)return Qt}return Qt=null,dt.defaultActiveFirst&&ne(Jt,function(mt,kt){!Qt&&mt&&!mt.props.disabled&&(Qt=_e(mt,gt,kt))}),Qt}function Nt(dt){if(dt){var st=this.instanceArray.indexOf(dt);st!==-1?this.instanceArray[st]=dt:this.instanceArray.push(dt)}}var tr=function(dt){Object(h.a)(Qt,dt);var st=Object(A.a)(Qt);function Qt(Jt){var gt;return Object(e.a)(this,Qt),gt=st.call(this,Jt),gt.onKeyDown=function(Ft,mt){var kt=Ft.keyCode,gr;if(gt.getFlatInstanceArray().forEach(function(lr){lr&&lr.props.active&&lr.onKeyDown&&(gr=lr.onKeyDown(Ft))}),gr)return 1;var ar=null;return(kt===T.a.UP||kt===T.a.DOWN)&&(ar=gt.step(kt===T.a.UP?-1:1)),ar?(Ft.preventDefault(),bt(gt.props.store,qe(gt.props),ar.props.eventKey),typeof mt=="function"&&mt(ar),1):void 0},gt.onItemHover=function(Ft){var mt=Ft.key,kt=Ft.hover;bt(gt.props.store,qe(gt.props),kt?mt:null)},gt.onDeselect=function(Ft){gt.props.onDeselect(Ft)},gt.onSelect=function(Ft){gt.props.onSelect(Ft)},gt.onClick=function(Ft){gt.props.onClick(Ft)},gt.onOpenChange=function(Ft){gt.props.onOpenChange(Ft)},gt.onDestroy=function(Ft){gt.props.onDestroy(Ft)},gt.getFlatInstanceArray=function(){return gt.instanceArray},gt.step=function(Ft){var mt=gt.getFlatInstanceArray(),kt=gt.props.store.getState().activeKey[qe(gt.props)],gr=mt.length;if(!gr)return null;Ft<0&&(mt=mt.concat().reverse());var ar=-1;if(mt.every(function(Tn,Dn){return Tn&&Tn.props.eventKey===kt?(ar=Dn,!1):!0}),!gt.props.defaultActiveFirst&&ar!==-1&&q(mt.slice(ar,gr-1)))return;var lr=(ar+1)%gr,Yr=lr;do{var Jr=mt[Yr];if(!Jr||Jr.props.disabled)Yr=(Yr+1)%gr;else return Jr}while(Yr!==lr);return null},gt.renderCommonMenuItem=function(Ft,mt,kt){var gr=gt.props.store.getState(),ar=Object(u.a)(gt),lr=ar.props,Yr=_e(Ft,lr.eventKey,mt),Jr=Ft.props;if(!Jr||typeof Ft.type=="string")return Ft;var Tn=Yr===gr.activeKey,Dn=Object(l.a)(Object(l.a)({mode:Jr.mode||lr.mode,level:lr.level,inlineIndent:lr.inlineIndent,renderMenuItem:gt.renderMenuItem,rootPrefixCls:lr.prefixCls,index:mt,parentMenu:lr.parentMenu,manualRef:Jr.disabled?void 0:Object(_.a)(Ft.ref,Nt.bind(Object(u.a)(gt))),eventKey:Yr,active:!Jr.disabled&&Tn,multiple:lr.multiple,onClick:function(qn){(Jr.onClick||oe)(qn),gt.onClick(qn)},onItemHover:gt.onItemHover,motion:lr.motion,subMenuOpenDelay:lr.subMenuOpenDelay,subMenuCloseDelay:lr.subMenuCloseDelay,forceSubMenuRender:lr.forceSubMenuRender,onOpenChange:gt.onOpenChange,onDeselect:gt.onDeselect,onSelect:gt.onSelect,builtinPlacements:lr.builtinPlacements,itemIcon:Jr.itemIcon||gt.props.itemIcon,expandIcon:Jr.expandIcon||gt.props.expandIcon},kt),{},{direction:lr.direction});return(lr.mode==="inline"||ce())&&(Dn.triggerSubMenuAction="click"),r.cloneElement(Ft,Dn)},gt.renderMenuItem=function(Ft,mt,kt){if(!Ft)return null;var gr=gt.props.store.getState(),ar={openKeys:gr.openKeys,selectedKeys:gr.selectedKeys,triggerSubMenuAction:gt.props.triggerSubMenuAction,subMenuKey:kt};return gt.renderCommonMenuItem(Ft,mt,ar)},Jt.store.setState({activeKey:Object(l.a)(Object(l.a)({},Jt.store.getState().activeKey),{},Object(E.a)({},Jt.eventKey,le(Jt,Jt.activeKey)))}),gt.instanceArray=[],gt}return Object(s.a)(Qt,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(gt){return this.props.visible||gt.visible||this.props.className!==gt.className||!C()(this.props.style,gt.style)}},{key:"componentDidUpdate",value:function(gt){var Ft=this.props,mt="activeKey"in Ft?Ft.activeKey:Ft.store.getState().activeKey[qe(Ft)],kt=le(Ft,mt);if(kt!==mt)bt(Ft.store,qe(Ft),kt);else if("activeKey"in gt){var gr=le(gt,gt.activeKey);kt!==gr&&bt(Ft.store,qe(Ft),kt)}}},{key:"render",value:function(){var gt=this,Ft=Object(b.a)({},this.props);this.instanceArray=[];var mt=L()(Ft.prefixCls,Ft.className,"".concat(Ft.prefixCls,"-").concat(Ft.mode)),kt={className:mt,role:Ft.role||"menu"};Ft.id&&(kt.id=Ft.id),Ft.focusable&&(kt.tabIndex=0,kt.onKeyDown=this.onKeyDown);var gr=Ft.prefixCls,ar=Ft.eventKey,lr=Ft.visible,Yr=Ft.level,Jr=Ft.mode,Tn=Ft.overflowedIndicator,Dn=Ft.theme;return Ee.forEach(function(zn){return delete Ft[zn]}),delete Ft.onClick,r.createElement(pe,Object.assign({},Ft,{prefixCls:gr,mode:Jr,tag:"ul",level:Yr,theme:Dn,visible:lr,overflowedIndicator:Tn},kt),r.Children.map(Ft.children,function(zn,qn){return gt.renderMenuItem(zn,qn,ar||"0-menu-")}))}}]),Qt}(r.Component);tr.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:oe};var lt=Object(v.b)()(tr),zt=lt,cr=t("Kwbf");function Vr(dt,st,Qt){var Jt=dt.prefixCls,gt=dt.motion,Ft=dt.defaultMotions,mt=Ft===void 0?{}:Ft,kt=dt.openAnimation,gr=dt.openTransitionName,ar=st.switchingModeFromInline;if(gt)return gt;if(Object(F.a)(kt)==="object"&&kt)Object(cr.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof kt=="string")return{motionName:"".concat(Jt,"-open-").concat(kt)};if(gr)return{motionName:gr};var lr=mt[Qt];return lr||(ar?null:mt.other)}var ur=function(dt){Object(h.a)(Qt,dt);var st=Object(A.a)(Qt);function Qt(Jt){var gt;Object(e.a)(this,Qt),gt=st.call(this,Jt),gt.inlineOpenKeys=[],gt.onSelect=function(kt){var gr=Object(u.a)(gt),ar=gr.props;if(ar.selectable){var lr=gt.store.getState(),Yr=lr.selectedKeys,Jr=kt.key;ar.multiple?Yr=Yr.concat([Jr]):Yr=[Jr],"selectedKeys"in ar||gt.store.setState({selectedKeys:Yr}),ar.onSelect(Object(l.a)(Object(l.a)({},kt),{},{selectedKeys:Yr}))}},gt.onClick=function(kt){var gr=gt.getRealMenuMode(),ar=Object(u.a)(gt),lr=ar.store,Yr=ar.props.onOpenChange;gr!=="inline"&&!("openKeys"in gt.props)&&(lr.setState({openKeys:[]}),Yr([])),gt.props.onClick(kt)},gt.onKeyDown=function(kt,gr){gt.innerMenu.getWrappedInstance().onKeyDown(kt,gr)},gt.onOpenChange=function(kt){var gr=Object(u.a)(gt),ar=gr.props,lr=gt.store.getState().openKeys.concat(),Yr=!1,Jr=function(Dn){var zn=!1;if(Dn.open)zn=lr.indexOf(Dn.key)===-1,zn&&lr.push(Dn.key);else{var qn=lr.indexOf(Dn.key);zn=qn!==-1,zn&&lr.splice(qn,1)}Yr=Yr||zn};Array.isArray(kt)?kt.forEach(Jr):Jr(kt),Yr&&("openKeys"in gt.props||gt.store.setState({openKeys:lr}),ar.onOpenChange(lr))},gt.onDeselect=function(kt){var gr=Object(u.a)(gt),ar=gr.props;if(ar.selectable){var lr=gt.store.getState().selectedKeys.concat(),Yr=kt.key,Jr=lr.indexOf(Yr);Jr!==-1&&lr.splice(Jr,1),"selectedKeys"in ar||gt.store.setState({selectedKeys:lr}),ar.onDeselect(Object(l.a)(Object(l.a)({},kt),{},{selectedKeys:lr}))}},gt.onMouseEnter=function(kt){gt.restoreModeVerticalFromInline();var gr=gt.props.onMouseEnter;gr&&gr(kt)},gt.onTransitionEnd=function(kt){var gr=kt.propertyName==="width"&&kt.target===kt.currentTarget,ar=kt.target.className,lr=Object.prototype.toString.call(ar)==="[object SVGAnimatedString]"?ar.animVal:ar,Yr=kt.propertyName==="font-size"&&lr.indexOf("anticon")>=0;(gr||Yr)&>.restoreModeVerticalFromInline()},gt.setInnerMenu=function(kt){gt.innerMenu=kt},gt.isRootMenu=!0;var Ft=Jt.defaultSelectedKeys,mt=Jt.defaultOpenKeys;return"selectedKeys"in Jt&&(Ft=Jt.selectedKeys||[]),"openKeys"in Jt&&(mt=Jt.openKeys||[]),gt.store=Object(v.c)({selectedKeys:Ft,openKeys:mt,activeKey:{"0-menu-":le(Jt,Jt.activeKey)}}),gt.state={switchingModeFromInline:!1},gt}return Object(s.a)(Qt,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(gt){this.updateOpentKeysWhenSwitchMode(gt),this.updateMiniStore();var Ft=this.props,mt=Ft.siderCollapsed,kt=Ft.inlineCollapsed,gr=Ft.onOpenChange;(!gt.inlineCollapsed&&kt||!gt.siderCollapsed&&mt)&&gr([]),this.updateMenuDisplay()}},{key:"updateOpentKeysWhenSwitchMode",value:function(gt){var Ft=this.props,mt=this.store,kt=this.inlineOpenKeys,gr=mt.getState(),ar={};gt.mode==="inline"&&Ft.mode!=="inline"&&this.setState({switchingModeFromInline:!0}),"openKeys"in Ft||((Ft.inlineCollapsed&&!gt.inlineCollapsed||Ft.siderCollapsed&&!gt.siderCollapsed)&&(this.setState({switchingModeFromInline:!0}),this.inlineOpenKeys=gr.openKeys.concat(),ar.openKeys=[]),(!Ft.inlineCollapsed&>.inlineCollapsed||!Ft.siderCollapsed&>.siderCollapsed)&&(ar.openKeys=kt,this.inlineOpenKeys=[])),Object.keys(ar).length&&mt.setState(ar)}},{key:"updateMenuDisplay",value:function(){var gt=this.props.collapsedWidth,Ft=this.store,mt=this.prevOpenKeys,kt=this.getInlineCollapsed()&&(gt===0||gt==="0"||gt==="0px");kt?(this.prevOpenKeys=Ft.getState().openKeys.concat(),this.store.setState({openKeys:[]})):mt&&(this.store.setState({openKeys:mt}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var gt=this.props.mode,Ft=this.state.switchingModeFromInline,mt=this.getInlineCollapsed();return Ft&&mt?"inline":mt?"vertical":gt}},{key:"getInlineCollapsed",value:function(){var gt=this.props,Ft=gt.inlineCollapsed,mt=gt.siderCollapsed;return mt!==void 0?mt:Ft}},{key:"restoreModeVerticalFromInline",value:function(){var gt=this.state.switchingModeFromInline;gt&&this.setState({switchingModeFromInline:!1})}},{key:"updateMiniStore",value:function(){"selectedKeys"in this.props&&this.store.setState({selectedKeys:this.props.selectedKeys||[]}),"openKeys"in this.props&&this.store.setState({openKeys:this.props.openKeys||[]})}},{key:"render",value:function(){var gt=Object(l.a)({},Object(w.default)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),Ft=this.getRealMenuMode();return gt.className+=" ".concat(gt.prefixCls,"-root"),gt.direction==="rtl"&&(gt.className+=" ".concat(gt.prefixCls,"-rtl")),gt=Object(l.a)(Object(l.a)({},gt),{},{mode:Ft,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:Vr(this.props,this.state,Ft)}),delete gt.openAnimation,delete gt.openTransitionName,r.createElement(v.a,{store:this.store},r.createElement(zt,Object.assign({},gt,{ref:this.setInnerMenu}),this.props.children))}}]),Qt}(r.Component);ur.defaultProps={selectable:!0,onClick:oe,onSelect:oe,onOpenChange:oe,onDeselect:oe,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover",prefixCls:"rc-menu",className:"",mode:"vertical",style:{},builtinPlacements:{},overflowedIndicator:r.createElement("span",null,"\xB7\xB7\xB7")};var ir=ur,Lt=function(dt){Object(h.a)(Qt,dt);var st=Object(A.a)(Qt);function Qt(){var Jt;return Object(e.a)(this,Qt),Jt=st.apply(this,arguments),Jt.onKeyDown=function(gt){var Ft=gt.keyCode;return Ft===T.a.ENTER?(Jt.onClick(gt),!0):void 0},Jt.onMouseLeave=function(gt){var Ft=Jt.props,mt=Ft.eventKey,kt=Ft.onItemHover,gr=Ft.onMouseLeave;kt({key:mt,hover:!1}),gr({key:mt,domEvent:gt})},Jt.onMouseEnter=function(gt){var Ft=Jt.props,mt=Ft.eventKey,kt=Ft.onItemHover,gr=Ft.onMouseEnter;kt({key:mt,hover:!0}),gr({key:mt,domEvent:gt})},Jt.onClick=function(gt){var Ft=Jt.props,mt=Ft.eventKey,kt=Ft.multiple,gr=Ft.onClick,ar=Ft.onSelect,lr=Ft.onDeselect,Yr=Ft.isSelected,Jr={key:mt,keyPath:[mt],item:Object(u.a)(Jt),domEvent:gt};gr(Jr),kt?Yr?lr(Jr):ar(Jr):Yr||ar(Jr)},Jt.saveNode=function(gt){Jt.node=gt},Jt}return Object(s.a)(Qt,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var gt=this.props;gt.onDestroy&>.onDestroy(gt.eventKey)}},{key:"getPrefixCls",value:function(){return"".concat(this.props.rootPrefixCls,"-item")}},{key:"getActiveClassName",value:function(){return"".concat(this.getPrefixCls(),"-active")}},{key:"getSelectedClassName",value:function(){return"".concat(this.getPrefixCls(),"-selected")}},{key:"getDisabledClassName",value:function(){return"".concat(this.getPrefixCls(),"-disabled")}},{key:"callRef",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"render",value:function(){var gt,Ft=Object(l.a)({},this.props),mt=L()(this.getPrefixCls(),Ft.className,(gt={},Object(E.a)(gt,this.getActiveClassName(),!Ft.disabled&&Ft.active),Object(E.a)(gt,this.getSelectedClassName(),Ft.isSelected),Object(E.a)(gt,this.getDisabledClassName(),Ft.disabled),gt)),kt=Object(l.a)(Object(l.a)({},Ft.attribute),{},{title:typeof Ft.title=="string"?Ft.title:void 0,className:mt,role:Ft.role||"menuitem","aria-disabled":Ft.disabled});Ft.role==="option"?kt=Object(l.a)(Object(l.a)({},kt),{},{role:"option","aria-selected":Ft.isSelected}):(Ft.role===null||Ft.role==="none")&&(kt.role="none");var gr={onClick:Ft.disabled?null:this.onClick,onMouseLeave:Ft.disabled?null:this.onMouseLeave,onMouseEnter:Ft.disabled?null:this.onMouseEnter},ar=Object(l.a)({},Ft.style);Ft.mode==="inline"&&(Ft.direction==="rtl"?ar.paddingRight=Ft.inlineIndent*Ft.level:ar.paddingLeft=Ft.inlineIndent*Ft.level),Ee.forEach(function(Yr){return delete Ft[Yr]}),delete Ft.direction;var lr=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(lr=r.createElement(this.props.itemIcon,this.props)),r.createElement("li",Object.assign({},Object(w.default)(Ft,["onClick","onMouseEnter","onMouseLeave","onSelect"]),kt,gr,{style:ar,ref:this.saveNode}),Ft.children,lr)}}]),Qt}(r.Component);Lt.isMenuItem=!0,Lt.defaultProps={onSelect:oe,onMouseEnter:oe,onMouseLeave:oe,manualRef:oe};var at=Object(v.b)(function(dt,st){var Qt=dt.activeKey,Jt=dt.selectedKeys,gt=st.eventKey,Ft=st.subMenuKey;return{active:Qt[Ft]===gt,isSelected:Jt.indexOf(gt)!==-1}})(Lt),Xe=at,$t=function(dt){Object(h.a)(Qt,dt);var st=Object(A.a)(Qt);function Qt(){var Jt;return Object(e.a)(this,Qt),Jt=st.apply(this,arguments),Jt.renderInnerMenuItem=function(gt){var Ft=Jt.props,mt=Ft.renderMenuItem,kt=Ft.index;return mt(gt,kt,Jt.props.subMenuKey)},Jt}return Object(s.a)(Qt,[{key:"render",value:function(){var gt=Object(b.a)({},this.props),Ft=gt.className,mt=Ft===void 0?"":Ft,kt=gt.rootPrefixCls,gr="".concat(kt,"-item-group-title"),ar="".concat(kt,"-item-group-list"),lr=gt.title,Yr=gt.children;return Ee.forEach(function(Jr){return delete gt[Jr]}),delete gt.onClick,delete gt.direction,r.createElement("li",Object.assign({},gt,{className:"".concat(mt," ").concat(kt,"-item-group")}),r.createElement("div",{className:gr,title:typeof lr=="string"?lr:void 0},lr),r.createElement("ul",{className:ar},r.Children.map(Yr,this.renderInnerMenuItem)))}}]),Qt}(r.Component);$t.isMenuItemGroup=!0,$t.defaultProps={disabled:!0};var Sr=$t,vr=function(st){var Qt=st.className,Jt=st.rootPrefixCls,gt=st.style;return r.createElement("li",{className:"".concat(Qt," ").concat(Jt,"-item-divider"),style:gt})};vr.defaultProps={disabled:!0,className:"",style:{}};var fr=vr,An=ir,Zr=Object(r.createContext)({inlineCollapsed:!1}),Ln=Zr,Je=t("0n0R"),et=function(dt){n()(Qt,dt);var st=o()(Qt);function Qt(){return f()(this,Qt),st.apply(this,arguments)}return c()(Qt,[{key:"renderTitle",value:function(gt){var Ft=this.props,mt=Ft.icon,kt=Ft.title,gr=Ft.level,ar=Ft.rootPrefixCls;if(!mt)return gt&&gr===1&&kt&&typeof kt=="string"?r.createElement("div",{className:"".concat(ar,"-inline-collapsed-noicon")},kt.charAt(0)):kt;var lr=Object(Je.b)(kt)&&kt.type==="span";return r.createElement(r.Fragment,null,mt,lr?kt:r.createElement("span",null,kt))}},{key:"render",value:function(){var gt=this,Ft=this.props,mt=Ft.rootPrefixCls,kt=Ft.popupClassName;return r.createElement(Ln.Consumer,null,function(gr){var ar=gr.inlineCollapsed,lr=gr.antdMenuTheme;return r.createElement(Ot,p()({},Object(w.default)(gt.props,["icon"]),{title:gt.renderTitle(ar),popupClassName:L()(mt,"".concat(mt,"-").concat(lr),kt)}))})}}]),Qt}(r.Component);et.contextType=Ln,et.isSubMenu=1;var be=et,Le=t("Zm9Q"),Ue=t("3S7+"),rt=t("ZX9x"),Kt=function(dt,st){var Qt={};for(var Jt in dt)Object.prototype.hasOwnProperty.call(dt,Jt)&&st.indexOf(Jt)<0&&(Qt[Jt]=dt[Jt]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,Jt=Object.getOwnPropertySymbols(dt);gt1&&i&&i.length>1){var r=S(i)/S(o);!isFinite(r)&&(r=1),a.pinchScale=r;var l=m(i);return a.pinchX=l[0],a.pinchY=l[1],{type:"pinch",target:c[0].target,event:a}}}},f=p;R.exports=f},C0tN:function(R,N,t){t("0o9m"),t("8Uz6"),t("Ducp"),t("6/nd")},CBdT:function(R,N,t){var y=t("ProS");t("8waO"),t("AEZ6"),t("YNf1");var p=t("q3GZ");y.registerVisual(p)},CF2D:function(R,N,t){var y=t("ProS");t("vZI5"),t("GeKi");var p=t("6r85"),S=t("TJmX"),m=t("CbHG");y.registerPreprocessor(p),y.registerVisual(S),y.registerLayout(m)},CFYs:function(R,N,t){"use strict";var y=t("lSNA"),p=t.n(y),S=t("pVnL"),m=t.n(S),g=t("lwsE"),f=t.n(g),d=t("W8MJ"),c=t.n(d),a=t("PJYZ"),n=t.n(a),i=t("7W2i"),o=t.n(i),r=t("LQ03"),l=t.n(r),e=t("q1tI"),s=t.n(e),u=t("TSYQ"),h=t.n(u),A=t("BGR+"),v=t("V/uB"),w=t.n(v),b=t("NAnI"),E=t.n(b),T=t("J84W"),_=t.n(T),x=t("kbBi"),C=t.n(x),I=t("H84U"),L=t("CWQg"),F=t("uaoM"),B=t("Zss7"),P=t.n(B),H=2,z=.16,M=.05,U=.05,k=.15,K=5,j=4,V=[{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 W(Pt,Vt,Mr){var Pr;return Math.round(Pt.h)>=60&&Math.round(Pt.h)<=240?Pr=Mr?Math.round(Pt.h)-H*Vt:Math.round(Pt.h)+H*Vt:Pr=Mr?Math.round(Pt.h)+H*Vt:Math.round(Pt.h)-H*Vt,Pr<0?Pr+=360:Pr>=360&&(Pr-=360),Pr}function X(Pt,Vt,Mr){if(Pt.h===0&&Pt.s===0)return Pt.s;var Pr;return Mr?Pr=Pt.s-z*Vt:Vt===j?Pr=Pt.s+z:Pr=Pt.s+M*Vt,Pr>1&&(Pr=1),Mr&&Vt===K&&Pr>.1&&(Pr=.1),Pr<.06&&(Pr=.06),Number(Pr.toFixed(2))}function J(Pt,Vt,Mr){var Pr;return Mr?Pr=Pt.v+U*Vt:Pr=Pt.v-k*Vt,Pr>1&&(Pr=1),Number(Pr.toFixed(2))}function de(Pt){for(var Vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Mr=[],Pr=P()(Pt),un=K;un>0;un-=1){var Ut=Pr.toHsv(),dt=P()({h:W(Ut,un,!0),s:X(Ut,un,!0),v:J(Ut,un,!0)}).toHexString();Mr.push(dt)}Mr.push(Pr.toHexString());for(var st=1;st<=j;st+=1){var Qt=Pr.toHsv(),Jt=P()({h:W(Qt,st),s:X(Qt,st),v:J(Qt,st)}).toHexString();Mr.push(Jt)}return Vt.theme==="dark"?V.map(function(gt){var Ft=gt.index,mt=gt.opacity,kt=P.a.mix(Vt.backgroundColor||"#141414",Mr[Ft],mt*100).toHexString();return kt}):Mr}var G={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"},ae={},Ae={};Object.keys(G).forEach(function(Pt){ae[Pt]=de(G[Pt]),ae[Pt].primary=ae[Pt][5],Ae[Pt]=de(G[Pt],{theme:"dark",backgroundColor:"#141414"}),Ae[Pt].primary=Ae[Pt][5]});var me=ae.red,Me=ae.volcano,oe=ae.gold,_e=ae.orange,ee=ae.yellow,ne=ae.lime,Ge=ae.green,Ee=ae.cyan,ue=ae.blue,re=ae.geekblue,ce=ae.purple,ke=ae.magenta,Te=ae.grey;function Ke(Pt){return!Pt||Pt<0?0:Pt>100?100:Pt}function Ie(Pt){var Vt=Pt.success,Mr=Pt.successPercent,Pr=Mr;return Vt&&"progress"in Vt&&(Object(F.a)(!1,"Progress","`success.progress` is deprecated. Please use `success.percent` instead."),Pr=Vt.progress),Vt&&"percent"in Vt&&(Pr=Vt.percent),Pr}var se=function(Pt,Vt){var Mr={};for(var Pr in Pt)Object.prototype.hasOwnProperty.call(Pt,Pr)&&Vt.indexOf(Pr)<0&&(Mr[Pr]=Pt[Pr]);if(Pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var un=0,Pr=Object.getOwnPropertySymbols(Pt);unPt.length)&&(Vt=Pt.length);for(var Mr=0,Pr=new Array(Vt);Mr=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Pt,Pr))continue;Mr[Pr]=Pt[Pr]}}return Mr}function pe(Pt,Vt){if(Pt==null)return{};var Mr={},Pr=Object.keys(Pt),un,Ut;for(Ut=0;Ut=0)continue;Mr[un]=Pt[un]}return Mr}var q=function(Vt){var Mr=Vt.className,Pr=Vt.percent,un=Vt.prefixCls,Ut=Vt.strokeColor,dt=Vt.strokeLinecap,st=Vt.strokeWidth,Qt=Vt.style,Jt=Vt.trailColor,gt=Vt.trailWidth,Ft=Vt.transition,mt=$e(Vt,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete mt.gapPosition;var kt=Array.isArray(Pr)?Pr:[Pr],gr=Array.isArray(Ut)?Ut:[Ut],ar=Oe(kt),lr=Ze(ar,1),Yr=lr[0],Jr=st/2,Tn=100-st/2,Dn="M ".concat(dt==="round"?Jr:0,",").concat(Jr,` L `).concat(dt==="round"?Tn:100,",").concat(Jr),zn="0 0 100 ".concat(st),qn=0;return s.a.createElement("svg",vt({className:h()("".concat(un,"-line"),Mr),viewBox:zn,preserveAspectRatio:"none",style:Qt},mt),s.a.createElement("path",{className:"".concat(un,"-line-trail"),d:Dn,strokeLinecap:dt,stroke:Jt,strokeWidth:gt||st,fillOpacity:"0"}),kt.map(function(vi,Ri){var Ve={strokeDasharray:"".concat(vi,"px, 100px"),strokeDashoffset:"-".concat(qn,"px"),transition:Ft||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Se=gr[Ri]||gr[gr.length-1];return qn+=vi,s.a.createElement("path",{key:Ri,className:"".concat(un,"-line-path"),d:Dn,strokeLinecap:dt,stroke:Se,strokeWidth:st,fillOpacity:"0",ref:Yr[Ri],style:Ve})}))};q.defaultProps=nt;var bt=q;function qe(){return qe=Object.assign||function(Pt){for(var Vt=1;VtPt.length)&&(Vt=Pt.length);for(var Mr=0,Pr=new Array(Vt);Mr=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Pt,Pr))continue;Mr[Pr]=Pt[Pr]}}return Mr}function ur(Pt,Vt){if(Pt==null)return{};var Mr={},Pr=Object.keys(Pt),un,Ut;for(Ut=0;Ut=0)continue;Mr[un]=Pt[un]}return Mr}var ir=0;function Lt(Pt){return+Pt.replace("%","")}function at(Pt){return Array.isArray(Pt)?Pt:[Pt]}function Xe(Pt,Vt,Mr,Pr){var un=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,Ut=arguments.length>5?arguments[5]:void 0,dt=50-Pr/2,st=0,Qt=-dt,Jt=0,gt=-2*dt;switch(Ut){case"left":st=-dt,Qt=0,Jt=2*dt,gt=0;break;case"right":st=dt,Qt=0,Jt=-2*dt,gt=0;break;case"bottom":Qt=dt,gt=2*dt;break;default:}var Ft="M 50,50 m ".concat(st,",").concat(Qt,` a `).concat(dt,",").concat(dt," 0 1 1 ").concat(Jt,",").concat(-gt,` a `).concat(dt,",").concat(dt," 0 1 1 ").concat(-Jt,",").concat(gt),mt=Math.PI*2*dt,kt={stroke:Mr,strokeDasharray:"".concat(Vt/100*(mt-un),"px ").concat(mt,"px"),strokeDashoffset:"-".concat(un/2+Pt/100*(mt-un),"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"};return{pathString:Ft,pathStyle:kt}}var $t=function(Vt){var Mr=Vt.prefixCls,Pr=Vt.strokeWidth,un=Vt.trailWidth,Ut=Vt.gapDegree,dt=Vt.gapPosition,st=Vt.trailColor,Qt=Vt.strokeLinecap,Jt=Vt.style,gt=Vt.className,Ft=Vt.strokeColor,mt=Vt.percent,kt=Vr(Vt,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"]),gr=Object(e.useMemo)(function(){return ir+=1,ir},[]),ar=Xe(0,100,st,Pr,Ut,dt),lr=ar.pathString,Yr=ar.pathStyle,Jr=at(mt),Tn=at(Ft),Dn=Tn.find(function(Ve){return Object.prototype.toString.call(Ve)==="[object Object]"}),zn=Oe(Jr),qn=le(zn,1),vi=qn[0],Ri=function(){var Se=0;return Jr.map(function(Re,Be){var We=Tn[Be]||Tn[Tn.length-1],He=Object.prototype.toString.call(We)==="[object Object]"?"url(#".concat(Mr,"-gradient-").concat(gr,")"):"",Qe=Xe(Se,Re,We,Pr,Ut,dt);return Se+=Re,s.a.createElement("path",{key:Be,className:"".concat(Mr,"-circle-path"),d:Qe.pathString,stroke:He,strokeLinecap:Qt,strokeWidth:Pr,opacity:Re===0?0:1,fillOpacity:"0",style:Qe.pathStyle,ref:vi[Be]})})};return s.a.createElement("svg",qe({className:h()("".concat(Mr,"-circle"),gt),viewBox:"0 0 100 100",style:Jt},kt),Dn&&s.a.createElement("defs",null,s.a.createElement("linearGradient",{id:"".concat(Mr,"-gradient-").concat(gr),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(Dn).sort(function(Ve,Se){return Lt(Ve)-Lt(Se)}).map(function(Ve,Se){return s.a.createElement("stop",{key:Se,offset:Ve,stopColor:Dn[Ve]})}))),s.a.createElement("path",{className:"".concat(Mr,"-circle-trail"),d:lr,stroke:st,strokeLinecap:Qt,strokeWidth:un||Pr,fillOpacity:"0",style:Yr}),Ri().reverse())};$t.defaultProps=nt;var Sr=$t,vr={Line:bt,Circle:Sr};function fr(Pt){var Vt=Pt.percent,Mr=Pt.success,Pr=Pt.successPercent,un=Ke(Vt),Ut=Ie({success:Mr,successPercent:Pr});return Ut?[Ke(Ut),Ke(un-Ke(Ut))]:un}function An(Pt){var Vt=Pt.success,Mr=Pt.strokeColor,Pr=Pt.successPercent,un=Mr||null,Ut=Ie({success:Vt,successPercent:Pr});return Ut?[G.green,un]:un}var Zr=function(Vt){var Mr=Vt.prefixCls,Pr=Vt.width,un=Vt.strokeWidth,Ut=Vt.trailColor,dt=Vt.strokeLinecap,st=Vt.gapPosition,Qt=Vt.gapDegree,Jt=Vt.type,gt=Vt.children,Ft=Pr||120,mt={width:Ft,height:Ft,fontSize:Ft*.15+6},kt=un||6,gr=st||Jt==="dashboard"&&"bottom"||"top",ar=function(){return Qt||Qt===0?Qt:Jt==="dashboard"?75:void 0},lr=An(Vt),Yr=Object.prototype.toString.call(lr)==="[object Object]",Jr=h()("".concat(Mr,"-inner"),p()({},"".concat(Mr,"-circle-gradient"),Yr));return e.createElement("div",{className:Jr,style:mt},e.createElement(Sr,{percent:fr(Vt),strokeWidth:kt,trailWidth:kt,strokeColor:lr,strokeLinecap:dt,trailColor:Ut,prefixCls:Mr,gapDegree:ar(),gapPosition:gr}),gt)},Ln=Zr,Je=function(Vt){for(var Mr=Vt.size,Pr=Vt.steps,un=Vt.percent,Ut=un===void 0?0:un,dt=Vt.strokeWidth,st=dt===void 0?8:dt,Qt=Vt.strokeColor,Jt=Vt.trailColor,gt=Vt.prefixCls,Ft=Vt.children,mt=Math.floor(Pr*(Ut/100)),kt=Mr==="small"?2:14,gr=[],ar=0;ar=100?"success":un||"normal"}},{key:"renderProcessInfo",value:function(un,Ut){var dt=this.props,st=dt.showInfo,Qt=dt.format,Jt=dt.type,gt=dt.percent,Ft=Ie(this.props);if(!st)return null;var mt,kt=Qt||function(ar){return"".concat(ar,"%")},gr=Jt==="line";return Qt||Ut!=="exception"&&Ut!=="success"?mt=kt(Ke(gt),Ke(Ft)):Ut==="exception"?mt=gr?e.createElement(C.a,null):e.createElement(w.a,null):Ut==="success"&&(mt=gr?e.createElement(_.a,null):e.createElement(E.a,null)),e.createElement("span",{className:"".concat(un,"-text"),title:typeof mt=="string"?mt:void 0},mt)}},{key:"render",value:function(){return e.createElement(I.a,null,this.renderProgress)}}]),Mr}(e.Component);rt.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:null,size:"default",gapDegree:void 0,strokeLinecap:"round"};var Kt=N.a=rt},"CMP+":function(R,N,t){var y=t("bYtY"),p=t("hM6l"),S=function(g,f,d,c){p.call(this,g,f,d),this.type=c||"value",this.model=null};S.prototype={constructor:S,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return this.model.get("orient")==="horizontal"}},y.inherits(S,p);var m=S;R.exports=m},CP8R:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"};N.default=y},"CWI+":function(R,N,t){},CbHG:function(R,N,t){var y=t("IwbS"),p=y.subPixelOptimize,S=t("zM3Q"),m=t("OELB"),g=m.parsePercent,f=t("bYtY"),d=f.retrieve2,c=typeof Float32Array!="undefined"?Float32Array:Array,a={seriesType:"candlestick",plan:S(),reset:function(o){var r=o.coordinateSystem,l=o.getData(),e=i(o,l),s=0,u=1,h=["x","y"],A=l.mapDimension(h[s]),v=l.mapDimension(h[u],!0),w=v[0],b=v[1],E=v[2],T=v[3];if(l.setLayout({candleWidth:e,isSimpleBox:e<=1.3}),A==null||v.length<4)return;return{progress:o.pipelineContext.large?x:_};function _(C,I){for(var L;(L=C.next())!=null;){var F=I.get(A,L),B=I.get(w,L),P=I.get(b,L),H=I.get(E,L),z=I.get(T,L),M=Math.min(B,P),U=Math.max(B,P),k=X(M,F),K=X(U,F),j=X(H,F),V=X(z,F),W=[];J(W,K,0),J(W,k,1),W.push(G(V),G(K),G(j),G(k)),I.setItemLayout(L,{sign:n(I,L,B,P,b),initBaseline:B>P?K[u]:k[u],ends:W,brushRect:de(H,z,F)})}function X(ae,Ae){var me=[];return me[s]=Ae,me[u]=ae,isNaN(Ae)||isNaN(ae)?[NaN,NaN]:r.dataToPoint(me)}function J(ae,Ae,me){var Me=Ae.slice(),oe=Ae.slice();Me[s]=p(Me[s]+e/2,1,!1),oe[s]=p(oe[s]-e/2,1,!0),me?ae.push(Me,oe):ae.push(oe,Me)}function de(ae,Ae,me){var Me=X(ae,me),oe=X(Ae,me);return Me[s]-=e/2,oe[s]-=e/2,{x:Me[0],y:Me[1],width:u?e:oe[0]-Me[0],height:u?oe[1]-Me[1]:e}}function G(ae){return ae[s]=p(ae[s],1),ae}}function x(C,I){for(var L=new c(C.count*4),F=0,B,P=[],H=[],z;(z=C.next())!=null;){var M=I.get(A,z),U=I.get(w,z),k=I.get(b,z),K=I.get(E,z),j=I.get(T,z);if(isNaN(M)||isNaN(K)||isNaN(j)){L[F++]=NaN,F+=3;continue}L[F++]=n(I,z,U,k,b),P[s]=M,P[u]=K,B=r.dataToPoint(P,null,H),L[F++]=B?B[0]:NaN,L[F++]=B?B[1]:NaN,P[u]=j,B=r.dataToPoint(P,null,H),L[F++]=B?B[1]:NaN}I.setLayout("largePoints",L)}}};function n(o,r,l,e,s){var u;return l>e?u=-1:l0?o.get(s,r-1)<=e?1:-1:1,u}function i(o,r){var l=o.getBaseAxis(),e,s=l.type==="category"?l.getBandWidth():(e=l.getExtent(),Math.abs(e[1]-e[0])/r.count()),u=g(d(o.get("barMaxWidth"),s),s),h=g(d(o.get("barMinWidth"),1),s),A=o.get("barWidth");return A!=null?g(A,s):Math.max(Math.min(s/2,u),h)}R.exports=a},Cm0C:function(R,N,t){t("5NHt"),t("f3JH")},Cmcn:function(R,N,t){"use strict";t.d(N,"a",function(){return p});var y=t("0HTW");function p(S,m){var g;if(typeof Symbol=="undefined"||S[Symbol.iterator]==null){if(Array.isArray(S)||(g=Object(y.a)(S))||m&&S&&typeof S.length=="number"){g&&(S=g);var f=0,d=function(){};return{s:d,n:function(){return f>=S.length?{done:!0}:{done:!1,value:S[f++]}},e:function(o){throw o},f:d}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var c=!0,a=!1,n;return{s:function(){g=S[Symbol.iterator]()},n:function(){var o=g.next();return c=o.done,o},e:function(o){a=!0,n=o},f:function(){try{!c&&g.return!=null&&g.return()}finally{if(a)throw n}}}}},CrYA:function(R,N,t){var y=t("MFOe"),p=y.Global;R.exports={name:"sessionStorage",read:m,write:g,each:f,remove:d,clearAll:c};function S(){return p.sessionStorage}function m(a){return S().getItem(a)}function g(a,n){return S().setItem(a,n)}function f(a){for(var n=S().length-1;n>=0;n--){var i=S().key(n);a(m(i),i)}}function d(a){return S().removeItem(a)}function c(){return S().clear()}},Csr3:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=p(t("4vCz"));function p(m){return m&&m.__esModule?m:{default:m}}var S=y;N.default=S,R.exports=S},D1WM:function(R,N,t){var y=t("bYtY"),p=t("hM6l"),S=function(g,f,d,c,a){p.call(this,g,f,d),this.type=c||"value",this.axisIndex=a};S.prototype={constructor:S,model:null,isHorizontal:function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"}},y.inherits(S,p);var m=S;R.exports=m},D5nY:function(R,N,t){var y=t("Tghj"),p=y.__DEV__,S=t("4NO4"),m=S.makeInner,g=S.getDataItemValue,f=t("bYtY"),d=f.createHashMap,c=f.each,a=f.map,n=f.isArray,i=f.isString,o=f.isObject,r=f.isTypedArray,l=f.isArrayLike,e=f.extend,s=f.assert,u=t("7G+c"),h=t("k9D9"),A=h.SOURCE_FORMAT_ORIGINAL,v=h.SOURCE_FORMAT_ARRAY_ROWS,w=h.SOURCE_FORMAT_OBJECT_ROWS,b=h.SOURCE_FORMAT_KEYED_COLUMNS,E=h.SOURCE_FORMAT_UNKNOWN,T=h.SOURCE_FORMAT_TYPED_ARRAY,_=h.SERIES_LAYOUT_BY_ROW,x={Must:1,Might:2,Not:3},C=m();function I(W){var X=W.option.source,J=E;if(r(X))J=T;else if(n(X)){X.length===0&&(J=v);for(var de=0,G=X.length;de0&&(u=this.getLineLength(l)/A*1e3),u!==this._period||h!==this._loop){l.stopAnimation();var b=v;w&&(b=v(r)),l.__t>0&&(b=-u*l.__t),l.__t=0;var E=l.animate("",h).when(u,{__t:1}).delay(b).during(function(){e.updateSymbolPosition(l)});h||E.done(function(){e.remove(l)}),E.start()}this._period=u,this._loop=h},a.getLineLength=function(i){return f.dist(i.__p1,i.__cp1)+f.dist(i.__cp1,i.__p2)},a.updateAnimationPoints=function(i,o){i.__p1=o[0],i.__p2=o[1],i.__cp1=o[2]||[(o[0][0]+o[1][0])/2,(o[0][1]+o[1][1])/2]},a.updateData=function(i,o,r){this.childAt(0).updateData(i,o,r),this._updateEffectSymbol(i,o)},a.updateSymbolPosition=function(i){var o=i.__p1,r=i.__p2,l=i.__cp1,e=i.__t,s=i.position,u=[s[0],s[1]],h=d.quadraticAt,A=d.quadraticDerivativeAt;s[0]=h(o[0],l[0],r[0],e),s[1]=h(o[1],l[1],r[1],e);var v=A(o[0],l[0],r[0],e),w=A(o[1],l[1],r[1],e);if(i.rotation=-Math.atan2(w,v)-Math.PI/2,this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")if(i.__lastT!==void 0&&i.__lastT=n&&e+1>=i){for(var s=[],u=0;u=n&&T+1>=i)return y(a,w.components,d,f);l[v]=w}o++}for(;o<=r;){var A=h();if(A)return A}},pushComponent:function(f,d,c){var a=f[f.length-1];a&&a.added===d&&a.removed===c?f[f.length-1]={count:a.count+1,added:d,removed:c}:f.push({count:1,added:d,removed:c})},extractCommon:function(f,d,c,a){for(var n=d.length,i=c.length,o=f.newPos,r=o-a,l=0;o+1=0)&&(ue=s);var re=new f.Text({position:oe(K.center.slice()),scale:[1/_.scale[0],1/_.scale[1]],z2:10,silent:!0});if(f.setLabelStyle(re.style,re.hoverStyle={},ae,Ae,{labelFetcher:ue,labelDataIndex:Ee,defaultText:K.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!C){var ce=[1/I[0],1/I[1]];f.updateProps(re,{scale:ce},s)}j.add(re)}if(b)b.setItemGraphicEl(me,j);else{var W=s.getRegionModel(K.name);V.eventData={componentType:"geo",componentIndex:s.componentIndex,geoIndex:s.componentIndex,name:K.name,region:W&&W.option||{}}}var ke=j.__regions||(j.__regions=[]);ke.push(K),j.highDownSilentOnTouch=!!s.get("selectedMode"),f.setHoverStyle(j,G),T.add(j)}),this._updateController(s,u,h),o(this,s,T,h,A),r(s,T)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&d.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(s){var u=s.map;this._mapName!==u&&y.each(d.makeGraphic(u,this.uid),function(h){this._backgroundGroup.add(h)},this),this._mapName=u},_updateController:function(s,u,h){var A=s.coordinateSystem,v=this._controller,w=this._controllerHost;w.zoomLimit=s.get("scaleLimit"),w.zoom=A.getZoom(),v.enable(s.get("roam")||!1);var b=s.mainType;function E(){var T={type:"geoRoam",componentType:b};return T[b+"Id"]=s.id,T}v.off("pan").on("pan",function(T){this._mouseDownFlag=!1,S.updateViewOnPan(w,T.dx,T.dy),h.dispatchAction(y.extend(E(),{dx:T.dx,dy:T.dy}))},this),v.off("zoom").on("zoom",function(T){if(this._mouseDownFlag=!1,S.updateViewOnZoom(w,T.scale,T.originX,T.originY),h.dispatchAction(y.extend(E(),{zoom:T.scale,originX:T.originX,originY:T.originY})),this._updateGroup){var _=this.group.scale;this._regionsGroup.traverse(function(x){x.type==="text"&&x.attr("scale",[1/_[0],1/_[1]])})}},this),v.setPointerChecker(function(T,_,x){return A.getViewRectAfterRoam().contain(_,x)&&!g(T,h,s)})}};var e=l;R.exports=e},DFOY:function(R,N,t){"use strict";var y=t("pVnL"),p=t.n(y),S=t("lSNA"),m=t.n(S),g=t("lwsE"),f=t.n(g),d=t("W8MJ"),c=t.n(d),a=t("PJYZ"),n=t.n(a),i=t("7W2i"),o=t.n(i),r=t("LQ03"),l=t.n(r),e=t("q1tI"),s=t("uciX"),u=t("2W6z"),h=t.n(u),A=t("4IlW"),v=t("uK0f"),w=t.n(v);function b(at,Xe){if(at===Xe)return!0;if(!at||!Xe)return!1;var $t=at.length;if(Xe.length!==$t)return!1;for(var Sr=0;Sr<$t;Sr++)if(at[Sr]!==Xe[Sr])return!1;return!0}function E(at){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?E=function($t){return typeof $t}:E=function($t){return $t&&typeof Symbol=="function"&&$t.constructor===Symbol&&$t!==Symbol.prototype?"symbol":typeof $t},E(at)}function T(at,Xe){if(!(at instanceof Xe))throw new TypeError("Cannot call a class as a function")}function _(at,Xe){for(var $t=0;$t0;(Vt||fr.isLeaf===!1)&&(Kt+=" ".concat(Ln,"-menu-item-expand"),fr.loading||(Pt=e.createElement("span",{className:"".concat(Ln,"-menu-item-expand-icon")},et))),Je==="hover"&&(Vt||fr.isLeaf===!1)&&(rt={onMouseEnter:this.delayOnSelect.bind(this,Le),onMouseLeave:this.delayOnSelect.bind(this),onClick:Le}),this.isActiveOption(fr,An)&&(Kt+=" ".concat(Ln,"-menu-item-active"),rt.ref=this.saveMenuItem(An)),fr.disabled&&(Kt+=" ".concat(Ln,"-menu-item-disabled"));var Mr=null;fr.loading&&(Kt+=" ".concat(Ln,"-menu-item-loading"),Mr=be||null);var Pr="";return"title"in fr?Pr=fr.title:typeof fr[this.getFieldName("label")]=="string"&&(Pr=fr[this.getFieldName("label")]),e.createElement("li",Object.assign({key:fr[this.getFieldName("value")],className:Kt,title:Pr},rt,{role:"menuitem",onMouseDown:function(Ut){return Ut.preventDefault()}}),fr[this.getFieldName("label")],Pt,Mr)}},{key:"getActiveOptions",value:function(fr){var An=this,Zr=this.props.options,Ln=fr||this.props.activeValue;return w()(Zr,function(Je,et){return Je[An.getFieldName("value")]===Ln[et]},{childrenKeyName:this.getFieldName("children")})}},{key:"getShowOptions",value:function(){var fr=this,An=this.props.options,Zr=this.getActiveOptions().map(function(Ln){return Ln[fr.getFieldName("children")]}).filter(function(Ln){return!!Ln});return Zr.unshift(An),Zr}},{key:"delayOnSelect",value:function(fr){for(var An=this,Zr=arguments.length,Ln=new Array(Zr>1?Zr-1:0),Je=1;Je=0)continue;if(!Object.prototype.propertyIsEnumerable.call(at,Sr))continue;$t[Sr]=at[Sr]}}return $t}function V(at,Xe){if(at==null)return{};var $t={},Sr=Object.keys(at),vr,fr;for(fr=0;fr=0)continue;$t[vr]=at[vr]}return $t}function W(at){return G(at)||de(at)||J(at)||X()}function X(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function J(at,Xe){if(!at)return;if(typeof at=="string")return ae(at,Xe);var $t=Object.prototype.toString.call(at).slice(8,-1);if($t==="Object"&&at.constructor&&($t=at.constructor.name),$t==="Map"||$t==="Set")return Array.from(at);if($t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test($t))return ae(at,Xe)}function de(at){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(at))return Array.from(at)}function G(at){if(Array.isArray(at))return ae(at)}function ae(at,Xe){(Xe==null||Xe>at.length)&&(Xe=at.length);for(var $t=0,Sr=new Array(Xe);$t=be.length?0:Ue):(Ue-=1,Ue=Ue<0?be.length-1:Ue):Ue=0,Je[et]=be[Ue][fr.getFieldName("value")]}else if(Zr.keyCode===A.a.LEFT||Zr.keyCode===A.a.BACKSPACE)Zr.preventDefault(),Je.splice(Je.length-1,1);else if(Zr.keyCode===A.a.RIGHT)Zr.preventDefault(),be[Le]&&be[Le][fr.getFieldName("children")]&&Je.push(be[Le][fr.getFieldName("children")][0][fr.getFieldName("value")]);else if(Zr.keyCode===A.a.ESC||Zr.keyCode===A.a.TAB){fr.setPopupVisible(!1);return}(!Je||Je.length===0)&&fr.setPopupVisible(!1);var rt=fr.getActiveOptions(Je),Kt=rt[rt.length-1];fr.handleMenuSelect(Kt,rt.length-1,Zr),fr.props.onKeyDown&&fr.props.onKeyDown(Zr)},fr.saveTrigger=function(Zr){fr.trigger=Zr};var An=[];return"value"in vr?An=vr.value||[]:"defaultValue"in vr&&(An=vr.defaultValue||[]),h()(!("filedNames"in vr),"`filedNames` of Cascader is a typo usage and deprecated, please use `fieldNames` instead."),fr.state={popupVisible:vr.popupVisible,activeValue:An,value:An,prevProps:vr},fr.defaultFieldNames={label:"label",value:"value",children:"children"},fr}return Me(Sr,[{key:"getPopupDOMNode",value:function(){return this.trigger.getPopupDomNode()}},{key:"getFieldName",value:function(fr){var An=this.defaultFieldNames,Zr=this.props,Ln=Zr.fieldNames,Je=Zr.filedNames;return"filedNames"in this.props?Je[fr]||An[fr]:Ln[fr]||An[fr]}},{key:"getFieldNames",value:function(){var fr=this.props,An=fr.fieldNames,Zr=fr.filedNames;return"filedNames"in this.props?Zr:An}},{key:"getCurrentLevelOptions",value:function(){var fr=this,An=this.props.options,Zr=An===void 0?[]:An,Ln=this.state.activeValue,Je=Ln===void 0?[]:Ln,et=w()(Zr,function(be,Le){return be[fr.getFieldName("value")]===Je[Le]},{childrenKeyName:this.getFieldName("children")});return et[et.length-2]?et[et.length-2][this.getFieldName("children")]:W(Zr).filter(function(be){return!be.disabled})}},{key:"getActiveOptions",value:function(fr){var An=this;return w()(this.props.options||[],function(Zr,Ln){return Zr[An.getFieldName("value")]===fr[Ln]},{childrenKeyName:this.getFieldName("children")})}},{key:"render",value:function(){var fr=this.props,An=fr.prefixCls,Zr=fr.transitionName,Ln=fr.popupClassName,Je=fr.options,et=Je===void 0?[]:Je,be=fr.disabled,Le=fr.builtinPlacements,Ue=fr.popupPlacement,rt=fr.children,Kt=fr.dropdownRender,Pt=j(fr,["prefixCls","transitionName","popupClassName","options","disabled","builtinPlacements","popupPlacement","children","dropdownRender"]),Vt=e.createElement("div",null),Mr="";et&&et.length>0?Vt=e.createElement(M,Object.assign({},this.props,{fieldNames:this.getFieldNames(),defaultFieldNames:this.defaultFieldNames,activeValue:this.state.activeValue,onSelect:this.handleMenuSelect,onItemDoubleClick:this.handleItemDoubleClick,visible:this.state.popupVisible})):Mr=" ".concat(An,"-menus-empty");var Pr=Vt;return Kt&&(Pr=Kt(Vt)),e.createElement(s.a,Object.assign({ref:this.saveTrigger},Pt,{popupPlacement:Ue,builtinPlacements:Le,popupTransitionName:Zr,action:be?[]:["click"],popupVisible:be?!1:this.state.popupVisible,onPopupVisibleChange:this.handlePopupVisibleChange,prefixCls:"".concat(An,"-menus"),popupClassName:Ln+Mr,popup:Pr}),e.cloneElement(rt,{onKeyDown:this.handleKeyDown,tabIndex:be?void 0:0}))}}],[{key:"getDerivedStateFromProps",value:function(fr,An){var Zr=An.prevProps,Ln=Zr===void 0?{}:Zr,Je={prevProps:fr};return"value"in fr&&!b(Ln.value,fr.value)&&(Je.value=fr.value||[],"loadData"in fr||(Je.activeValue=fr.value||[])),"popupVisible"in fr&&(Je.popupVisible=fr.popupVisible),Je}}]),Sr}(e.Component);return at.defaultProps={onChange:function(){},onPopupVisibleChange:function(){},disabled:!1,transitionName:"",prefixCls:"rc-cascader",popupClassName:"",popupPlacement:"bottomLeft",builtinPlacements:k,expandTrigger:"click",fieldNames:{label:"label",value:"value",children:"children"},expandIcon:">"},at}(),ce=re,ke=ce,Te=t("TSYQ"),Ke=t.n(Te),Ie=t("BGR+"),se=t("kbBi"),ye=t.n(se),xe=t("HQEm"),Ye=t.n(xe),pt=t("fEPi"),nt=t.n(pt),Oe=t("5YOS"),vt=t.n(Oe),Ze=t("DFhj"),wt=t.n(Ze),xt=t("5rEg"),Ot=t("H84U"),Mt=t("YMnH"),Gt=t("uaoM"),$e=t("3Nzz"),pe=t("0n0R"),q=function(at,Xe){var $t={};for(var Sr in at)Object.prototype.hasOwnProperty.call(at,Sr)&&Xe.indexOf(Sr)<0&&($t[Sr]=at[Sr]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vr=0,Sr=Object.getOwnPropertySymbols(at);vr-1})}function Nt(at,Xe,$t,Sr){return Xe.map(function(vr,fr){var An=vr[Sr.label],Zr=An.indexOf(at)>-1?qe(An,at,$t):An;return fr===0?Zr:[" / ",Zr]})}function tr(at,Xe,$t,Sr){function vr(fr){return fr[Sr.label].indexOf($t)>-1}return at.findIndex(vr)-Xe.findIndex(vr)}function lt(at){var Xe=at.fieldNames;return Xe}function zt(at){var Xe=lt(at)||{},$t={children:Xe.children||"children",label:Xe.label||"label",value:Xe.value||"value"};return $t}function cr(at,Xe){var $t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],Sr=zt(Xe),vr=[],fr=Sr.children;return at.forEach(function(An){var Zr=$t.concat(An);(Xe.changeOnSelect||!An[fr]||!An[fr].length)&&vr.push(Zr),An[fr]&&(vr=vr.concat(cr(An[fr],Xe,Zr)))}),vr}var Vr=function(Xe){return Xe.join(" / ")};function ur(at){var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(at||[]).forEach(function($t){var Sr=Xe.value||"value";Object(Gt.a)(Sr in $t,"Cascader","Not found `value` in `options`."),ur($t[Xe.children||"children"],Xe)})}var ir=function(at){o()($t,at);var Xe=l()($t);function $t(Sr){var vr;return f()(this,$t),vr=Xe.call(this,Sr),vr.cachedOptions=[],vr.setValue=function(fr){var An=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];"value"in vr.props||vr.setState({value:fr});var Zr=vr.props.onChange;Zr&&Zr(fr,An)},vr.saveInput=function(fr){vr.input=fr},vr.handleChange=function(fr,An){if(vr.setState({inputValue:""}),An[0].__IS_FILTERED_OPTION){var Zr=fr[0],Ln=An[0].path;vr.setValue(Zr,Ln);return}vr.setValue(fr,An)},vr.handlePopupVisibleChange=function(fr){"popupVisible"in vr.props||vr.setState(function(Zr){return{popupVisible:fr,inputFocused:fr,inputValue:fr?Zr.inputValue:""}});var An=vr.props.onPopupVisibleChange;An&&An(fr)},vr.handleInputBlur=function(){vr.setState({inputFocused:!1})},vr.handleInputClick=function(fr){var An=vr.state,Zr=An.inputFocused,Ln=An.popupVisible;(Zr||Ln)&&fr.stopPropagation()},vr.handleKeyDown=function(fr){(fr.keyCode===A.a.BACKSPACE||fr.keyCode===A.a.SPACE)&&fr.stopPropagation()},vr.handleInputChange=function(fr){var An=vr.state.popupVisible,Zr=fr.target.value;An||vr.handlePopupVisibleChange(!0),vr.setState({inputValue:Zr})},vr.clearSelection=function(fr){var An=vr.state.inputValue;fr.preventDefault(),fr.stopPropagation(),An?vr.setState({inputValue:""}):(vr.handlePopupVisibleChange(!1),vr.clearSelectionTimeout=setTimeout(function(){vr.setValue([])},200))},vr.renderCascader=function(fr,An){var Zr=fr.getPopupContainer,Ln=fr.getPrefixCls,Je=fr.renderEmpty,et=fr.direction;return e.createElement($e.b.Consumer,null,function(be){var Le,Ue,rt,Kt,Pt=n()(vr),Vt=Pt.props,Mr=Pt.state,Pr=Vt.prefixCls,un=Vt.inputPrefixCls,Ut=Vt.children,dt=Vt.placeholder,st=dt===void 0?An.placeholder||"Please select":dt,Qt=Vt.size,Jt=Vt.disabled,gt=Vt.className,Ft=Vt.style,mt=Vt.allowClear,kt=Vt.showSearch,gr=kt===void 0?!1:kt,ar=Vt.suffixIcon,lr=Vt.expandIcon,Yr=Vt.notFoundContent,Jr=Vt.popupClassName,Tn=Vt.bordered,Dn=Vt.dropdownRender,zn=q(Vt,["prefixCls","inputPrefixCls","children","placeholder","size","disabled","className","style","allowClear","showSearch","suffixIcon","expandIcon","notFoundContent","popupClassName","bordered","dropdownRender"]),qn=Qt||be,vi=Mr.value,Ri=Mr.inputFocused,Ve=et==="rtl",Se=Ln("cascader",Pr),Re=Ln("input",un),Be=Ke()((Le={},m()(Le,"".concat(Re,"-lg"),qn==="large"),m()(Le,"".concat(Re,"-sm"),qn==="small"),Le)),We=mt&&!Jt&&vi.length>0||Mr.inputValue?e.createElement(ye.a,{className:"".concat(Se,"-picker-clear"),onClick:vr.clearSelection}):null,He=Ke()((Ue={},m()(Ue,"".concat(Se,"-picker-arrow"),!0),m()(Ue,"".concat(Se,"-picker-arrow-expand"),Mr.popupVisible),Ue)),Qe=Ke()(gt,"".concat(Se,"-picker"),(rt={},m()(rt,"".concat(Se,"-picker-rtl"),Ve),m()(rt,"".concat(Se,"-picker-with-value"),Mr.inputValue),m()(rt,"".concat(Se,"-picker-disabled"),Jt),m()(rt,"".concat(Se,"-picker-").concat(qn),!!qn),m()(rt,"".concat(Se,"-picker-show-search"),!!gr),m()(rt,"".concat(Se,"-picker-focused"),Ri),m()(rt,"".concat(Se,"-picker-borderless"),!Tn),rt)),At=Object(Ie.default)(zn,["onChange","options","popupPlacement","transitionName","displayRender","onPopupVisibleChange","changeOnSelect","expandTrigger","popupVisible","getPopupContainer","loadData","popupClassName","filterOption","renderFilteredOption","sortFilteredOption","notFoundContent","fieldNames","bordered"]),ot=Vt.options,Bt=zt(vr.props);if(ot&&ot.length>0)Mr.inputValue&&(ot=vr.generateFilteredOptions(Se,Je));else{var wr;ot=[(wr={},m()(wr,Bt.label,Yr||Je("Cascader")),m()(wr,Bt.value,"ANT_CASCADER_NOT_FOUND"),wr)]}Mr.popupVisible?vr.cachedOptions=ot:ot=vr.cachedOptions;var mr={},Or=(ot||[]).length===1&&ot[0].isEmptyNode;Or&&(mr.height="auto");var Ht=gr.matchInputWidth!==!1;Ht&&(Mr.inputValue||Or)&&vr.input&&(mr.width=vr.input.input.offsetWidth);var cn;ar?cn=Object(pe.c)(ar,e.createElement("span",{className:"".concat(Se,"-picker-arrow")},ar),function(){var ii;return{className:Ke()((ii={},m()(ii,ar.props.className,ar.props.className),m()(ii,"".concat(Se,"-picker-arrow"),!0),ii))}}):cn=e.createElement(Ye.a,{className:He});var nr=Ut||e.createElement("span",{style:Ft,className:Qe},e.createElement("span",{className:"".concat(Se,"-picker-label")},vr.getLabel()),e.createElement(xt.a,p()({},At,{tabIndex:"-1",ref:vr.saveInput,prefixCls:Re,placeholder:vi&&vi.length>0?void 0:st,className:"".concat(Se,"-input ").concat(Be),value:Mr.inputValue,disabled:Jt,readOnly:!gr,autoComplete:At.autoComplete||"off",onClick:gr?vr.handleInputClick:void 0,onBlur:gr?vr.handleInputBlur:void 0,onKeyDown:vr.handleKeyDown,onChange:gr?vr.handleInputChange:void 0})),We,cn),Xr;lr?Xr=lr:Xr=Ve?e.createElement(wt.a,null):e.createElement(nt.a,null);var Br=e.createElement("span",{className:"".concat(Se,"-menu-item-loading-icon")},e.createElement(vt.a,{spin:!0})),yr=Vt.getPopupContainer||Zr,xn=Object(Ie.default)(Vt,["inputIcon","expandIcon","loadingIcon","bordered"]),Bn=Ke()(Jr,(Kt={},m()(Kt,"".concat(Se,"-menu-").concat(et),et==="rtl"),m()(Kt,"".concat(Se,"-menu-empty"),ot.length===1&&ot[0].value==="ANT_CASCADER_NOT_FOUND"),Kt));return e.createElement(ke,p()({},xn,{prefixCls:Se,getPopupContainer:yr,options:ot,value:vi,popupVisible:Mr.popupVisible,onPopupVisibleChange:vr.handlePopupVisibleChange,onChange:vr.handleChange,dropdownMenuColumnStyle:mr,expandIcon:Xr,loadingIcon:Br,popupClassName:Bn,popupPlacement:vr.getPopupPlacement(et),dropdownRender:Dn}),nr)})},vr.state={value:Sr.value||Sr.defaultValue||[],inputValue:"",inputFocused:!1,popupVisible:Sr.popupVisible,flattenOptions:Sr.showSearch?cr(Sr.options,Sr):void 0,prevProps:Sr},vr}return c()($t,[{key:"componentWillUnmount",value:function(){this.clearSelectionTimeout&&clearTimeout(this.clearSelectionTimeout)}},{key:"getLabel",value:function(){var vr=this.props,fr=vr.options,An=vr.displayRender,Zr=An===void 0?Vr:An,Ln=zt(this.props),Je=this.state.value,et=Array.isArray(Je[0])?Je[0]:Je,be=w()(fr,function(Ue,rt){return Ue[Ln.value]===et[rt]},{childrenKeyName:Ln.children}),Le=be.length?be.map(function(Ue){return Ue[Ln.label]}):Je;return Zr(Le,be)}},{key:"generateFilteredOptions",value:function(vr,fr){var An=this,Zr,Ln=this.props,Je=Ln.showSearch,et=Ln.notFoundContent,be=zt(this.props),Le=Je.filter,Ue=Le===void 0?le:Le,rt=Je.render,Kt=rt===void 0?Nt:rt,Pt=Je.sort,Vt=Pt===void 0?tr:Pt,Mr=Je.limit,Pr=Mr===void 0?bt:Mr,un=this.state,Ut=un.flattenOptions,dt=Ut===void 0?[]:Ut,st=un.inputValue,Qt;if(Pr>0){Qt=[];var Jt=0;dt.some(function(gt){var Ft=Ue(An.state.inputValue,gt,be);return Ft&&(Qt.push(gt),Jt+=1),Jt>=Pr})}else Object(Gt.a)(typeof Pr!="number","Cascader","'limit' of showSearch should be positive number or false."),Qt=dt.filter(function(gt){return Ue(An.state.inputValue,gt,be)});return Qt=Qt.sort(function(gt,Ft){return Vt(gt,Ft,st,be)}),Qt.length>0?Qt.map(function(gt){var Ft;return Ft={__IS_FILTERED_OPTION:!0,path:gt},m()(Ft,be.value,gt.map(function(mt){return mt[be.value]})),m()(Ft,be.label,Kt(st,gt,vr,be)),m()(Ft,"disabled",gt.some(function(mt){return!!mt.disabled})),m()(Ft,"isEmptyNode",!0),Ft}):[(Zr={},m()(Zr,be.value,"ANT_CASCADER_NOT_FOUND"),m()(Zr,be.label,et||fr("Cascader")),m()(Zr,"disabled",!0),m()(Zr,"isEmptyNode",!0),Zr)]}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"getPopupPlacement",value:function(){var vr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ltr",fr=this.props.popupPlacement;return fr!==void 0?fr:vr==="rtl"?"bottomRight":"bottomLeft"}},{key:"render",value:function(){var vr=this;return e.createElement(Ot.a,null,function(fr){return e.createElement(Mt.a,null,function(An){return vr.renderCascader(fr,An)})})}}],[{key:"getDerivedStateFromProps",value:function(vr,fr){var An=fr.prevProps,Zr={prevProps:vr};return"value"in vr&&(Zr.value=vr.value||[]),"popupVisible"in vr&&(Zr.popupVisible=vr.popupVisible),vr.showSearch&&An.options!==vr.options&&(Zr.flattenOptions=cr(vr.options,vr)),Zr}}]),$t}(e.Component);ir.defaultProps={transitionName:"slide-up",options:[],disabled:!1,allowClear:!0,bordered:!0};var Lt=N.a=ir},DFhj:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=p(t("GGyF"));function p(m){return m&&m.__esModule?m:{default:m}}var S=y;N.default=S,R.exports=S},DL4k:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"};N.default=y},DN4a:function(R,N,t){var y=t("Fofx"),p=t("QBsz"),S=y.identity,m=5e-5;function g(o){return o>m||o<-m}var f=function(r){r=r||{},r.position||(this.position=[0,0]),r.rotation==null&&(this.rotation=0),r.scale||(this.scale=[1,1]),this.origin=this.origin||null},d=f.prototype;d.transform=null,d.needLocalTransform=function(){return g(this.rotation)||g(this.position[0])||g(this.position[1])||g(this.scale[0]-1)||g(this.scale[1]-1)};var c=[];d.updateTransform=function(){var o=this.parent,r=o&&o.transform,l=this.needLocalTransform(),e=this.transform;if(!(l||r)){e&&S(e);return}e=e||y.create(),l?this.getLocalTransform(e):S(e),r&&(l?y.mul(e,o.transform,e):y.copy(e,o.transform)),this.transform=e;var s=this.globalScaleRatio;if(s!=null&&s!==1){this.getGlobalScale(c);var u=c[0]<0?-1:1,h=c[1]<0?-1:1,A=((c[0]-u)*s+u)/c[0]||0,v=((c[1]-h)*s+h)/c[1]||0;e[0]*=A,e[1]*=A,e[2]*=v,e[3]*=v}this.invTransform=this.invTransform||y.create(),y.invert(this.invTransform,e)},d.getLocalTransform=function(o){return f.getLocalTransform(this,o)},d.setTransform=function(o){var r=this.transform,l=o.dpr||1;r?o.setTransform(l*r[0],l*r[1],l*r[2],l*r[3],l*r[4],l*r[5]):o.setTransform(l,0,0,l,0,0)},d.restoreTransform=function(o){var r=o.dpr||1;o.setTransform(r,0,0,r,0,0)};var a=[],n=y.create();d.setLocalTransform=function(o){if(!o)return;var r=o[0]*o[0]+o[1]*o[1],l=o[2]*o[2]+o[3]*o[3],e=this.position,s=this.scale;g(r-1)&&(r=Math.sqrt(r)),g(l-1)&&(l=Math.sqrt(l)),o[0]<0&&(r=-r),o[3]<0&&(l=-l),e[0]=o[4],e[1]=o[5],s[0]=r,s[1]=l,this.rotation=Math.atan2(-o[1]/l,o[0]/r)},d.decomposeTransform=function(){if(!this.transform)return;var o=this.parent,r=this.transform;o&&o.transform&&(y.mul(a,o.invTransform,r),r=a);var l=this.origin;l&&(l[0]||l[1])&&(n[4]=l[0],n[5]=l[1],y.mul(a,r,n),a[4]-=l[0],a[5]-=l[1],r=a),this.setLocalTransform(r)},d.getGlobalScale=function(o){var r=this.transform;return o=o||[],r?(o[0]=Math.sqrt(r[0]*r[0]+r[1]*r[1]),o[1]=Math.sqrt(r[2]*r[2]+r[3]*r[3]),r[0]<0&&(o[0]=-o[0]),r[3]<0&&(o[1]=-o[1]),o):(o[0]=1,o[1]=1,o)},d.transformCoordToLocal=function(o,r){var l=[o,r],e=this.invTransform;return e&&p.applyTransform(l,l,e),l},d.transformCoordToGlobal=function(o,r){var l=[o,r],e=this.transform;return e&&p.applyTransform(l,l,e),l},f.getLocalTransform=function(o,r){r=r||[],S(r);var l=o.origin,e=o.scale||[1,1],s=o.rotation||0,u=o.position||[0,0];return l&&(r[4]-=l[0],r[5]-=l[1]),y.scale(r,r,e),s&&y.rotate(r,r,s),l&&(r[4]+=l[0],r[5]+=l[1]),r[4]+=u[0],r[5]+=u[1],r};var i=f;R.exports=i},DO2E:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"};N.default=y},DYRE:function(R,N,t){"use strict";var y=t("cIOH"),p=t.n(y),S=t("OPEp"),m=t.n(S)},DZo9:function(R,N,t){"use strict";var y=t("cIOH"),p=t.n(y),S=t("JGo8"),m=t.n(S),g=t("+L6B"),f=t("MXD1"),d=t("5Dmo")},Dagg:function(R,N,t){var y=t("Gev7"),p=t("mFDi"),S=t("bYtY"),m=t("Xnb7");function g(d){y.call(this,d)}g.prototype={constructor:g,type:"image",brush:function(c,a){var n=this.style,i=n.image;n.bind(c,this,a);var o=this._image=m.createOrUpdateImage(i,this._image,this,this.onload);if(!o||!m.isImageReady(o))return;var r=n.x||0,l=n.y||0,e=n.width,s=n.height,u=o.width/o.height;if(e==null&&s!=null?e=s*u:s==null&&e!=null?s=e/u:e==null&&s==null&&(e=o.width,s=o.height),this.setTransform(c),n.sWidth&&n.sHeight){var h=n.sx||0,A=n.sy||0;c.drawImage(o,h,A,n.sWidth,n.sHeight,r,l,e,s)}else if(n.sx&&n.sy){var h=n.sx,A=n.sy,v=e-h,w=s-A;c.drawImage(o,h,A,v,w,r,l,e,s)}else c.drawImage(o,r,l,e,s);n.text!=null&&(this.restoreTransform(c),this.drawRectText(c,this.getBoundingRect()))},getBoundingRect:function(){var c=this.style;return this._rect||(this._rect=new p(c.x||0,c.y||0,c.width||0,c.height||0)),this._rect}},S.inherits(g,y);var f=g;R.exports=f},Dg8C:function(R,N,t){var y=t("XxSj"),p=t("bYtY");function S(m,g){m.eachSeriesByType("sankey",function(f){var d=f.getGraph(),c=d.nodes;if(c.length){var a=Infinity,n=-Infinity;p.each(c,function(i){var o=i.getLayout().value;on&&(n=o)}),p.each(c,function(i){var o=new y({type:"color",mappingMethod:"linear",dataExtent:[a,n],visual:f.get("color")}),r=o.mapValueToVisual(i.getLayout().value),l=i.getModel().get("itemStyle.color");l!=null?i.setVisual("color",l):i.setVisual("color",r)})}})}R.exports=S},DjyN:function(R,N,t){"use strict";var y=t("cIOH"),p=t.n(y),S=t("Urep"),m=t.n(S),g=t("OaEy")},DlQD:function(R,N,t){(function(y,p){R.exports=p()})(this,function(){"use strict";function y(Ot,Mt){for(var Gt=0;GtOt.length)&&(Mt=Ot.length);for(var Gt=0,$e=new Array(Mt);Gt=Ot.length?{done:!0}:{done:!1,value:Ot[$e++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return Gt=Ot[Symbol.iterator](),Gt.next.bind(Gt)}function f(Ot,Mt){return Mt={exports:{}},Ot(Mt,Mt.exports),Mt.exports}var d=f(function(Ot){function Mt(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}function Gt($e){Ot.exports.defaults=$e}Ot.exports={defaults:Mt(),getDefaults:Mt,changeDefaults:Gt}}),c=d.defaults,a=d.getDefaults,n=d.changeDefaults,i=/[&<>"']/,o=/[&<>"']/g,r=/[<>"']|&(?!#?\w+;)/,l=/[<>"']|&(?!#?\w+;)/g,e={"&":"&","<":"<",">":">",'"':""","'":"'"},s=function(Mt){return e[Mt]};function u(Ot,Mt){if(Mt){if(i.test(Ot))return Ot.replace(o,s)}else if(r.test(Ot))return Ot.replace(l,s);return Ot}var h=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function A(Ot){return Ot.replace(h,function(Mt,Gt){return Gt=Gt.toLowerCase(),Gt==="colon"?":":Gt.charAt(0)==="#"?Gt.charAt(1)==="x"?String.fromCharCode(parseInt(Gt.substring(2),16)):String.fromCharCode(+Gt.substring(1)):""})}var v=/(^|[^\[])\^/g;function w(Ot,Mt){Ot=Ot.source||Ot,Mt=Mt||"";var Gt={replace:function(pe,q){return q=q.source||q,q=q.replace(v,"$1"),Ot=Ot.replace(pe,q),Gt},getRegex:function(){return new RegExp(Ot,Mt)}};return Gt}var b=/[^\w:]/g,E=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function T(Ot,Mt,Gt){if(Ot){var $e;try{$e=decodeURIComponent(A(Gt)).replace(b,"").toLowerCase()}catch(pe){return null}if($e.indexOf("javascript:")===0||$e.indexOf("vbscript:")===0||$e.indexOf("data:")===0)return null}Mt&&!E.test(Gt)&&(Gt=L(Mt,Gt));try{Gt=encodeURI(Gt).replace(/%25/g,"%")}catch(pe){return null}return Gt}var _={},x=/^[^:]+:\/*[^/]*$/,C=/^([^:]+:)[\s\S]*$/,I=/^([^:]+:\/*[^/]*)[\s\S]*$/;function L(Ot,Mt){_[" "+Ot]||(x.test(Ot)?_[" "+Ot]=Ot+"/":_[" "+Ot]=H(Ot,"/",!0)),Ot=_[" "+Ot];var Gt=Ot.indexOf(":")===-1;return Mt.substring(0,2)==="//"?Gt?Mt:Ot.replace(C,"$1")+Mt:Mt.charAt(0)==="/"?Gt?Mt:Ot.replace(I,"$1")+Mt:Ot+Mt}var F={exec:function(){}};function B(Ot){for(var Mt=1,Gt,$e;Mt=0&&qe[Nt]==="\\";)le=!le;return le?"|":" |"}),$e=Gt.split(/ \|/),pe=0;if($e.length>Mt)$e.splice(Mt);else for(;$e.length=$e.length?pe.slice($e.length):pe}).join(` `)}var de=function(){function Ot(Gt){this.options=Gt||k}var Mt=Ot.prototype;return Mt.space=function($e){var pe=this.rules.block.newline.exec($e);if(pe)return pe[0].length>1?{type:"space",raw:pe[0]}:{raw:` `}},Mt.code=function($e,pe){var q=this.rules.block.code.exec($e);if(q){var bt=pe[pe.length-1];if(bt&&bt.type==="paragraph")return{raw:q[0],text:q[0].trimRight()};var qe=q[0].replace(/^ {4}/gm,"");return{type:"code",raw:q[0],codeBlockStyle:"indented",text:this.options.pedantic?qe:K(qe,` `)}}},Mt.fences=function($e){var pe=this.rules.block.fences.exec($e);if(pe){var q=pe[0],bt=J(q,pe[3]||"");return{type:"code",raw:q,lang:pe[2]?pe[2].trim():pe[2],text:bt}}},Mt.heading=function($e){var pe=this.rules.block.heading.exec($e);if(pe)return{type:"heading",raw:pe[0],depth:pe[1].length,text:pe[2]}},Mt.nptable=function($e){var pe=this.rules.block.nptable.exec($e);if(pe){var q={type:"table",header:j(pe[1].replace(/^ *| *\| *$/g,"")),align:pe[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:pe[3]?pe[3].replace(/\n$/,"").split(` `):[],raw:pe[0]};if(q.header.length===q.align.length){var bt=q.align.length,qe;for(qe=0;qe ?/gm,"");return{type:"blockquote",raw:pe[0],text:q}}},Mt.list=function($e){var pe=this.rules.block.list.exec($e);if(pe){for(var q=pe[0],bt=pe[2],qe=bt.length>1,le=bt[bt.length-1]===")",Nt={type:"list",raw:q,ordered:qe,start:qe?+bt.slice(0,-1):"",loose:!1,items:[]},tr=pe[0].match(this.rules.block.item),lt=!1,zt,cr,Vr,ur,ir,Lt,at,Xe=tr.length,$t=0;$t1||this.options.smartLists&&Vr!==bt)&&(ur=tr.slice($t+1).join(` `),Nt.raw=Nt.raw.substring(0,Nt.raw.length-ur.length),$t=Xe-1)),ir=lt||/\n\n(?!\s*$)/.test(zt),$t!==Xe-1&&(lt=zt.charAt(zt.length-1)===` `,ir||(ir=lt)),ir&&(Nt.loose=!0),Lt=/^\[[ xX]\] /.test(zt),at=void 0,Lt&&(at=zt[1]!==" ",zt=zt.replace(/^\[[ xX]\] +/,"")),Nt.items.push({type:"list_item",raw:q,task:Lt,checked:at,loose:ir,text:zt});return Nt}},Mt.html=function($e){var pe=this.rules.block.html.exec($e);if(pe)return{type:this.options.sanitize?"paragraph":"html",raw:pe[0],pre:!this.options.sanitizer&&(pe[1]==="pre"||pe[1]==="script"||pe[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(pe[0]):V(pe[0]):pe[0]}},Mt.def=function($e){var pe=this.rules.block.def.exec($e);if(pe){pe[3]&&(pe[3]=pe[3].substring(1,pe[3].length-1));var q=pe[1].toLowerCase().replace(/\s+/g," ");return{tag:q,raw:pe[0],href:pe[2],title:pe[3]}}},Mt.table=function($e){var pe=this.rules.block.table.exec($e);if(pe){var q={type:"table",header:j(pe[1].replace(/^ *| *\| *$/g,"")),align:pe[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:pe[3]?pe[3].replace(/\n$/,"").split(` `):[]};if(q.header.length===q.align.length){q.raw=pe[0];var bt=q.align.length,qe;for(qe=0;qe/i.test(bt[0])&&(pe=!1),!q&&/^<(pre|code|kbd|script)(\s|>)/i.test(bt[0])?q=!0:q&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(bt[0])&&(q=!1),{type:this.options.sanitize?"text":"html",raw:bt[0],inLink:pe,inRawBlock:q,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(bt[0]):V(bt[0]):bt[0]}},Mt.link=function($e){var pe=this.rules.inline.link.exec($e);if(pe){var q=W(pe[2],"()");if(q>-1){var bt=pe[0].indexOf("!")===0?5:4,qe=bt+pe[1].length+q;pe[2]=pe[2].substring(0,q),pe[0]=pe[0].substring(0,qe).trim(),pe[3]=""}var le=pe[2],Nt="";if(this.options.pedantic){var tr=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(le);tr?(le=tr[1],Nt=tr[3]):Nt=""}else Nt=pe[3]?pe[3].slice(1,-1):"";le=le.trim().replace(/^<([\s\S]*)>$/,"$1");var lt=X(pe,{href:le&&le.replace(this.rules.inline._escapes,"$1"),title:Nt&&Nt.replace(this.rules.inline._escapes,"$1")},pe[0]);return lt}},Mt.reflink=function($e,pe){var q;if((q=this.rules.inline.reflink.exec($e))||(q=this.rules.inline.nolink.exec($e))){var bt=(q[2]||q[1]).replace(/\s+/g," ");if(bt=pe[bt.toLowerCase()],!bt||!bt.href){var qe=q[0].charAt(0);return{type:"text",raw:qe,text:qe}}var le=X(q,bt,q[0]);return le}},Mt.strong=function($e,pe,q){q===void 0&&(q="");var bt=this.rules.inline.strong.start.exec($e);if(bt&&(!bt[1]||bt[1]&&(q===""||this.rules.inline.punctuation.exec(q)))){pe=pe.slice(-1*$e.length);var qe=bt[0]==="**"?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;qe.lastIndex=0;for(var le;(bt=qe.exec(pe))!=null;)if(le=this.rules.inline.strong.middle.exec(pe.slice(0,bt.index+3)),le)return{type:"strong",raw:$e.slice(0,le[0].length),text:$e.slice(2,le[0].length-2)}}},Mt.em=function($e,pe,q){q===void 0&&(q="");var bt=this.rules.inline.em.start.exec($e);if(bt&&(!bt[1]||bt[1]&&(q===""||this.rules.inline.punctuation.exec(q)))){pe=pe.slice(-1*$e.length);var qe=bt[0]==="*"?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;qe.lastIndex=0;for(var le;(bt=qe.exec(pe))!=null;)if(le=this.rules.inline.em.middle.exec(pe.slice(0,bt.index+2)),le)return{type:"em",raw:$e.slice(0,le[0].length),text:$e.slice(1,le[0].length-1)}}},Mt.codespan=function($e){var pe=this.rules.inline.code.exec($e);if(pe){var q=pe[2].replace(/\n/g," "),bt=/[^ ]/.test(q),qe=q.startsWith(" ")&&q.endsWith(" ");return bt&&qe&&(q=q.substring(1,q.length-1)),q=V(q,!0),{type:"codespan",raw:pe[0],text:q}}},Mt.br=function($e){var pe=this.rules.inline.br.exec($e);if(pe)return{type:"br",raw:pe[0]}},Mt.del=function($e){var pe=this.rules.inline.del.exec($e);if(pe)return{type:"del",raw:pe[0],text:pe[1]}},Mt.autolink=function($e,pe){var q=this.rules.inline.autolink.exec($e);if(q){var bt,qe;return q[2]==="@"?(bt=V(this.options.mangle?pe(q[1]):q[1]),qe="mailto:"+bt):(bt=V(q[1]),qe=bt),{type:"link",raw:q[0],text:bt,href:qe,tokens:[{type:"text",raw:bt,text:bt}]}}},Mt.url=function($e,pe){var q;if(q=this.rules.inline.url.exec($e)){var bt,qe;if(q[2]==="@")bt=V(this.options.mangle?pe(q[0]):q[0]),qe="mailto:"+bt;else{var le;do le=q[0],q[0]=this.rules.inline._backpedal.exec(q[0])[0];while(le!==q[0]);bt=V(q[0]),q[1]==="www."?qe="http://"+bt:qe=bt}return{type:"link",raw:q[0],text:bt,href:qe,tokens:[{type:"text",raw:bt,text:bt}]}}},Mt.inlineText=function($e,pe,q){var bt=this.rules.inline.text.exec($e);if(bt){var qe;return pe?qe=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(bt[0]):V(bt[0]):bt[0]:qe=V(this.options.smartypants?q(bt[0]):bt[0]),{type:"text",raw:bt[0],text:qe}}},Ot}(),G=U.noopTest,ae=U.edit,Ae=U.merge,me={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|\\n*|\\n*|)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:G,table:G,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/};me._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,me._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,me.def=ae(me.def).replace("label",me._label).replace("title",me._title).getRegex(),me.bullet=/(?:[*+-]|\d{1,9}[.)])/,me.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,me.item=ae(me.item,"gm").replace(/bull/g,me.bullet).getRegex(),me.list=ae(me.list).replace(/bull/g,me.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+me.def.source+")").getRegex(),me._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",me._comment=//,me.html=ae(me.html,"i").replace("comment",me._comment).replace("tag",me._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),me.paragraph=ae(me._paragraph).replace("hr",me.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",me._tag).getRegex(),me.blockquote=ae(me.blockquote).replace("paragraph",me.paragraph).getRegex(),me.normal=Ae({},me),me.gfm=Ae({},me.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n *([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n *\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),me.gfm.nptable=ae(me.gfm.nptable).replace("hr",me.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",me._tag).getRegex(),me.gfm.table=ae(me.gfm.table).replace("hr",me.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",me._tag).getRegex(),me.pedantic=Ae({},me.normal,{html:ae(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",me._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:G,paragraph:ae(me.normal._paragraph).replace("hr",me.hr).replace("heading",` *#{1,6} *[^ ]`).replace("lheading",me.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var Me={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:G,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",strong:{start:/^(?:(\*\*(?=[*punctuation]))|\*\*)(?![\s])|__/,middle:/^\*\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*\*$|^__(?![\s])((?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?)__$/,endAst:/[^punctuation\s]\*\*(?!\*)|[punctuation]\*\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]__(?!_)(?:(?=[punctuation\s])|$)/},em:{start:/^(?:(\*(?=[punctuation]))|\*)(?![*\s])|_/,middle:/^\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*$|^_(?![_\s])(?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?_$/,endAst:/[^punctuation\s]\*(?!\*)|[punctuation]\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]_(?!_)(?:(?=[punctuation\s])|$)/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:G,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~",Me.punctuation=ae(Me.punctuation).replace(/punctuation/g,Me._punctuation).getRegex(),Me._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",Me._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",Me.em.start=ae(Me.em.start).replace(/punctuation/g,Me._punctuation).getRegex(),Me.em.middle=ae(Me.em.middle).replace(/punctuation/g,Me._punctuation).replace(/overlapSkip/g,Me._overlapSkip).getRegex(),Me.em.endAst=ae(Me.em.endAst,"g").replace(/punctuation/g,Me._punctuation).getRegex(),Me.em.endUnd=ae(Me.em.endUnd,"g").replace(/punctuation/g,Me._punctuation).getRegex(),Me.strong.start=ae(Me.strong.start).replace(/punctuation/g,Me._punctuation).getRegex(),Me.strong.middle=ae(Me.strong.middle).replace(/punctuation/g,Me._punctuation).replace(/blockSkip/g,Me._blockSkip).getRegex(),Me.strong.endAst=ae(Me.strong.endAst,"g").replace(/punctuation/g,Me._punctuation).getRegex(),Me.strong.endUnd=ae(Me.strong.endUnd,"g").replace(/punctuation/g,Me._punctuation).getRegex(),Me.blockSkip=ae(Me._blockSkip,"g").getRegex(),Me.overlapSkip=ae(Me._overlapSkip,"g").getRegex(),Me._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,Me._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,Me._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,Me.autolink=ae(Me.autolink).replace("scheme",Me._scheme).replace("email",Me._email).getRegex(),Me._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,Me.tag=ae(Me.tag).replace("comment",me._comment).replace("attribute",Me._attribute).getRegex(),Me._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Me._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,Me._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Me.link=ae(Me.link).replace("label",Me._label).replace("href",Me._href).replace("title",Me._title).getRegex(),Me.reflink=ae(Me.reflink).replace("label",Me._label).getRegex(),Me.reflinkSearch=ae(Me.reflinkSearch,"g").replace("reflink",Me.reflink).replace("nolink",Me.nolink).getRegex(),Me.normal=Ae({},Me),Me.pedantic=Ae({},Me.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:ae(/^!?\[(label)\]\((.*?)\)/).replace("label",Me._label).getRegex(),reflink:ae(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Me._label).getRegex()}),Me.gfm=Ae({},Me.normal,{escape:ae(Me.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\.5&&($e="x"+$e.toString(16)),Mt+="&#"+$e+";";return Mt}var ue=function(){function Ot(Gt){this.tokens=[],this.tokens.links=Object.create(null),this.options=Gt||_e,this.options.tokenizer=this.options.tokenizer||new de,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var $e={block:ee.normal,inline:ne.normal};this.options.pedantic?($e.block=ee.pedantic,$e.inline=ne.pedantic):this.options.gfm&&($e.block=ee.gfm,this.options.breaks?$e.inline=ne.breaks:$e.inline=ne.gfm),this.tokenizer.rules=$e}Ot.lex=function($e,pe){var q=new Ot(pe);return q.lex($e)};var Mt=Ot.prototype;return Mt.lex=function($e){return $e=$e.replace(/\r\n|\r/g,` `).replace(/\t/g," "),this.blockTokens($e,this.tokens,!0),this.inline(this.tokens),this.tokens},Mt.blockTokens=function($e,pe,q){pe===void 0&&(pe=[]),q===void 0&&(q=!0),$e=$e.replace(/^ +$/gm,"");for(var bt,qe,le,Nt;$e;){if(bt=this.tokenizer.space($e)){$e=$e.substring(bt.raw.length),bt.type&&pe.push(bt);continue}if(bt=this.tokenizer.code($e,pe)){$e=$e.substring(bt.raw.length),bt.type?pe.push(bt):(Nt=pe[pe.length-1],Nt.raw+=` `+bt.raw,Nt.text+=` `+bt.text);continue}if(bt=this.tokenizer.fences($e)){$e=$e.substring(bt.raw.length),pe.push(bt);continue}if(bt=this.tokenizer.heading($e)){$e=$e.substring(bt.raw.length),pe.push(bt);continue}if(bt=this.tokenizer.nptable($e)){$e=$e.substring(bt.raw.length),pe.push(bt);continue}if(bt=this.tokenizer.hr($e)){$e=$e.substring(bt.raw.length),pe.push(bt);continue}if(bt=this.tokenizer.blockquote($e)){$e=$e.substring(bt.raw.length),bt.tokens=this.blockTokens(bt.text,[],q),pe.push(bt);continue}if(bt=this.tokenizer.list($e)){for($e=$e.substring(bt.raw.length),le=bt.items.length,qe=0;qe0)for(;(tr=this.tokenizer.rules.inline.reflinkSearch.exec(Nt))!=null;)lt.includes(tr[0].slice(tr[0].lastIndexOf("[")+1,-1))&&(Nt=Nt.slice(0,tr.index)+"["+"a".repeat(tr[0].length-2)+"]"+Nt.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(tr=this.tokenizer.rules.inline.blockSkip.exec(Nt))!=null;)Nt=Nt.slice(0,tr.index)+"["+"a".repeat(tr[0].length-2)+"]"+Nt.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;$e;){if(le=this.tokenizer.escape($e)){$e=$e.substring(le.raw.length),pe.push(le);continue}if(le=this.tokenizer.tag($e,q,bt)){$e=$e.substring(le.raw.length),q=le.inLink,bt=le.inRawBlock,pe.push(le);continue}if(le=this.tokenizer.link($e)){$e=$e.substring(le.raw.length),le.type==="link"&&(le.tokens=this.inlineTokens(le.text,[],!0,bt)),pe.push(le);continue}if(le=this.tokenizer.reflink($e,this.tokens.links)){$e=$e.substring(le.raw.length),le.type==="link"&&(le.tokens=this.inlineTokens(le.text,[],!0,bt)),pe.push(le);continue}if(le=this.tokenizer.strong($e,Nt,qe)){$e=$e.substring(le.raw.length),le.tokens=this.inlineTokens(le.text,[],q,bt),pe.push(le);continue}if(le=this.tokenizer.em($e,Nt,qe)){$e=$e.substring(le.raw.length),le.tokens=this.inlineTokens(le.text,[],q,bt),pe.push(le);continue}if(le=this.tokenizer.codespan($e)){$e=$e.substring(le.raw.length),pe.push(le);continue}if(le=this.tokenizer.br($e)){$e=$e.substring(le.raw.length),pe.push(le);continue}if(le=this.tokenizer.del($e)){$e=$e.substring(le.raw.length),le.tokens=this.inlineTokens(le.text,[],q,bt),pe.push(le);continue}if(le=this.tokenizer.autolink($e,Ee)){$e=$e.substring(le.raw.length),pe.push(le);continue}if(!q&&(le=this.tokenizer.url($e,Ee))){$e=$e.substring(le.raw.length),pe.push(le);continue}if(le=this.tokenizer.inlineText($e,bt,Ge)){$e=$e.substring(le.raw.length),qe=le.raw.slice(-1),pe.push(le);continue}if($e){var zt="Infinite loop on byte: "+$e.charCodeAt(0);if(this.options.silent){console.error(zt);break}else throw new Error(zt)}}return pe},p(Ot,null,[{key:"rules",get:function(){return{block:ee,inline:ne}}}]),Ot}(),re=d.defaults,ce=U.cleanUrl,ke=U.escape,Te=function(){function Ot(Gt){this.options=Gt||re}var Mt=Ot.prototype;return Mt.code=function($e,pe,q){var bt=(pe||"").match(/\S*/)[0];if(this.options.highlight){var qe=this.options.highlight($e,bt);qe!=null&&qe!==$e&&(q=!0,$e=qe)}return bt?'
'+(q?$e:ke($e,!0))+`
`:"
"+(q?$e:ke($e,!0))+`
`},Mt.blockquote=function($e){return`
`+$e+`
`},Mt.html=function($e){return $e},Mt.heading=function($e,pe,q,bt){return this.options.headerIds?"'+$e+" `:""+$e+" `},Mt.hr=function(){return this.options.xhtml?`
`:`
`},Mt.list=function($e,pe,q){var bt=pe?"ol":"ul",qe=pe&&q!==1?' start="'+q+'"':"";return"<"+bt+qe+`> `+$e+" `},Mt.listitem=function($e){return"
  • "+$e+`
  • `},Mt.checkbox=function($e){return" "},Mt.paragraph=function($e){return"

    "+$e+`

    `},Mt.table=function($e,pe){return pe&&(pe=""+pe+""),` `+$e+` `+pe+`
    `},Mt.tablerow=function($e){return` `+$e+` `},Mt.tablecell=function($e,pe){var q=pe.header?"th":"td",bt=pe.align?"<"+q+' align="'+pe.align+'">':"<"+q+">";return bt+$e+" `},Mt.strong=function($e){return""+$e+""},Mt.em=function($e){return""+$e+""},Mt.codespan=function($e){return""+$e+""},Mt.br=function(){return this.options.xhtml?"
    ":"
    "},Mt.del=function($e){return""+$e+""},Mt.link=function($e,pe,q){if($e=ce(this.options.sanitize,this.options.baseUrl,$e),$e===null)return q;var bt='",bt},Mt.image=function($e,pe,q){if($e=ce(this.options.sanitize,this.options.baseUrl,$e),$e===null)return q;var bt=''+q+'":">",bt},Mt.text=function($e){return $e},Ot}(),Ke=function(){function Ot(){}var Mt=Ot.prototype;return Mt.strong=function($e){return $e},Mt.em=function($e){return $e},Mt.codespan=function($e){return $e},Mt.del=function($e){return $e},Mt.html=function($e){return $e},Mt.text=function($e){return $e},Mt.link=function($e,pe,q){return""+q},Mt.image=function($e,pe,q){return""+q},Mt.br=function(){return""},Ot}(),Ie=function(){function Ot(){this.seen={}}var Mt=Ot.prototype;return Mt.slug=function($e){var pe=$e.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(pe)){var q=pe;do this.seen[q]++,pe=q+"-"+this.seen[q];while(this.seen.hasOwnProperty(pe))}return this.seen[pe]=0,pe},Ot}(),se=d.defaults,ye=U.unescape,xe=function(){function Ot(Gt){this.options=Gt||se,this.options.renderer=this.options.renderer||new Te,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Ke,this.slugger=new Ie}Ot.parse=function($e,pe){var q=new Ot(pe);return q.parse($e)};var Mt=Ot.prototype;return Mt.parse=function($e,pe){pe===void 0&&(pe=!0);var q="",bt,qe,le,Nt,tr,lt,zt,cr,Vr,ur,ir,Lt,at,Xe,$t,Sr,vr,fr,An=$e.length;for(bt=0;bt0&&$t.tokens[0].type==="text"?($t.tokens[0].text=fr+" "+$t.tokens[0].text,$t.tokens[0].tokens&&$t.tokens[0].tokens.length>0&&$t.tokens[0].tokens[0].type==="text"&&($t.tokens[0].tokens[0].text=fr+" "+$t.tokens[0].tokens[0].text)):$t.tokens.unshift({type:"text",text:fr}):Xe+=fr),Xe+=this.parse($t.tokens,at),Vr+=this.renderer.listitem(Xe,vr,Sr);q+=this.renderer.list(Vr,ir,Lt);continue}case"html":{q+=this.renderer.html(ur.text);continue}case"paragraph":{q+=this.renderer.paragraph(this.parseInline(ur.tokens));continue}case"text":{for(Vr=ur.tokens?this.parseInline(ur.tokens):ur.text;bt+1An error occurred:

    "+nt(le.message+"",!0)+"
    ";throw le}}wt.options=wt.setOptions=function(Ot){return Ye(wt.defaults,Ot),vt(wt.defaults),wt},wt.getDefaults=Oe,wt.defaults=Ze,wt.use=function(Ot){var Mt=Ye({},Ot);if(Ot.renderer&&function(){var $e=wt.defaults.renderer||new Te,pe=function(qe){var le=$e[qe];$e[qe]=function(){for(var Nt=arguments.length,tr=new Array(Nt),lt=0;lt=0;r--){if(!S(o[r]))continue;var l=o[r].split("="),e=unescape(l[0]),s=unescape(l[1]);i(s,e)}}function d(i,o){if(!i)return;m.cookie=escape(i)+"="+escape(o)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"}function c(i){if(!i||!n(i))return;m.cookie=escape(i)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/"}function a(){f(function(i,o){c(o)})}function n(i){return new RegExp("(?:^|;\\s*)"+escape(i).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(m.cookie)}},Ducp:function(R,N,t){var y=t("bYtY"),p=t("IwbS"),S=t("+TT/"),m=t("XpcN"),g=p.Group,f=["width","height"],d=["x","y"],c=m.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){c.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new g),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new g),this._showController},resetInner:function(){c.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(n,i,o,r,l,e,s){var u=this;c.superCall(this,"renderInner",n,i,o,r,l,e,s);var h=this._controllerGroup,A=i.get("pageIconSize",!0);y.isArray(A)||(A=[A,A]),w("pagePrev",0);var v=i.getModel("pageTextStyle");h.add(new p.Text({name:"pageText",style:{textFill:v.getTextColor(),font:v.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),w("pageNext",1);function w(b,E){var T=b+"DataIndex",_=p.createIcon(i.get("pageIcons",!0)[i.getOrient().name][E],{onclick:y.bind(u._pageGo,u,T,i,r)},{x:-A[0]/2,y:-A[1]/2,width:A[0],height:A[1]});_.name=b,h.add(_)}},layoutInner:function(n,i,o,r,l,e){var s=this.getSelectorGroup(),u=n.getOrient().index,h=f[u],A=d[u],v=f[1-u],w=d[1-u];l&&S.box("horizontal",s,n.get("selectorItemGap",!0));var b=n.get("selectorButtonGap",!0),E=s.getBoundingRect(),T=[-E.x,-E.y],_=y.clone(o);l&&(_[h]=o[h]-E[h]-b);var x=this._layoutContentAndController(n,r,_,u,h,v,w);if(l){if(e==="end")T[u]+=x[h]+b;else{var C=E[h]+b;T[u]-=C,x[A]-=C}x[h]+=E[h]+b,T[1-u]+=x[w]+x[v]/2-E[v]/2,x[v]=Math.max(x[v],E[v]),x[w]=Math.min(x[w],E[w]+T[1-u]),s.attr("position",T)}return x},_layoutContentAndController:function(n,i,o,r,l,e,s){var u=this.getContentGroup(),h=this._containerGroup,A=this._controllerGroup;S.box(n.get("orient"),u,n.get("itemGap"),r?o.width:null,r?null:o.height),S.box("horizontal",A,n.get("pageButtonItemGap",!0));var v=u.getBoundingRect(),w=A.getBoundingRect(),b=this._showController=v[l]>o[l],E=[-v.x,-v.y];i||(E[r]=u.position[r]);var T=[0,0],_=[-w.x,-w.y],x=y.retrieve2(n.get("pageButtonGap",!0),n.get("itemGap",!0));if(b){var C=n.get("pageButtonPosition",!0);C==="end"?_[r]+=o[l]-w[l]:T[r]+=w[l]+x}_[1-r]+=v[e]/2-w[e]/2,u.attr("position",E),h.attr("position",T),A.attr("position",_);var I={x:0,y:0};if(I[l]=b?o[l]:v[l],I[e]=Math.max(v[e],w[e]),I[s]=Math.min(0,w[s]+_[1-r]),h.__rectSize=o[l],b){var L={x:0,y:0};L[l]=Math.max(o[l]-w[l]-x,0),L[e]=I[e],h.setClipPath(new p.Rect({shape:L})),h.__rectSize=L[l]}else A.eachChild(function(B){B.attr({invisible:!0,silent:!0})});var F=this._getPageInfo(n);return F.pageIndex!=null&&p.updateProps(u,{position:F.contentPosition},b?n:!1),this._updatePageInfoView(n,F),I},_pageGo:function(n,i,o){var r=this._getPageInfo(i)[n];r!=null&&o.dispatchAction({type:"legendScroll",scrollDataIndex:r,legendId:i.id})},_updatePageInfoView:function(n,i){var o=this._controllerGroup;y.each(["pagePrev","pageNext"],function(h){var A=i[h+"DataIndex"]!=null,v=o.childOfName(h);v&&(v.setStyle("fill",A?n.get("pageIconColor",!0):n.get("pageIconInactiveColor",!0)),v.cursor=A?"pointer":"default")});var r=o.childOfName("pageText"),l=n.get("pageFormatter"),e=i.pageIndex,s=e!=null?e+1:0,u=i.pageCount;r&&l&&r.setStyle("text",y.isString(l)?l.replace("{current}",s).replace("{total}",u):l({current:s,total:u}))},_getPageInfo:function(n){var i=n.get("scrollDataIndex",!0),o=this.getContentGroup(),r=this._containerGroup.__rectSize,l=n.getOrient().index,e=f[l],s=d[l],u=this._findTargetItemIndex(i),h=o.children(),A=h[u],v=h.length,w=v?1:0,b={contentPosition:o.position.slice(),pageCount:w,pageIndex:w-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!A)return b;var E=I(A);b.contentPosition[l]=-E.s;for(var T=u+1,_=E,x=E,C=null;T<=v;++T)C=I(h[T]),(!C&&x.e>_.s+r||C&&!L(C,_.s))&&(x.i>_.i?_=x:_=C,_&&(b.pageNextDataIndex==null&&(b.pageNextDataIndex=_.i),++b.pageCount)),x=C;for(var T=u-1,_=E,x=E,C=null;T>=-1;--T)C=I(h[T]),(!C||!L(x,C.s))&&_.i=B&&F.s<=B+r}},_findTargetItemIndex:function(n){if(!this._showController)return 0;var i,o=this.getContentGroup(),r;return o.eachChild(function(l,e){var s=l.__legendDataIndex;r==null&&s!=null&&(r=e),s===n&&(i=e)}),i!=null?i:r}}),a=c;R.exports=a},"E/ki":function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"};N.default=y},E2g8:function(R,N,t){(function(y,p){/*! * @overview es6-promise - a tiny implementation of Promises/A+. * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald) * @license Licensed under MIT license * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE * @version v4.2.8+1e68dce6 */(function(S,m){R.exports=m()})(this,function(){"use strict";function S(Te){var Ke=typeof Te;return Te!==null&&(Ke==="object"||Ke==="function")}function m(Te){return typeof Te=="function"}var g=void 0;Array.isArray?g=Array.isArray:g=function(Ke){return Object.prototype.toString.call(Ke)==="[object Array]"};var f=g,d=0,c=void 0,a=void 0,n=function(Ke,Ie){E[d]=Ke,E[d+1]=Ie,d+=2,d===2&&(a?a(T):x())};function i(Te){a=Te}function o(Te){n=Te}var r=typeof window!="undefined"?window:void 0,l=r||{},e=l.MutationObserver||l.WebKitMutationObserver,s=typeof self=="undefined"&&typeof y!="undefined"&&{}.toString.call(y)==="[object process]",u=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function h(){return function(){return y.nextTick(T)}}function A(){return typeof c!="undefined"?function(){c(T)}:b()}function v(){var Te=0,Ke=new e(T),Ie=document.createTextNode("");return Ke.observe(Ie,{characterData:!0}),function(){Ie.data=Te=++Te%2}}function w(){var Te=new MessageChannel;return Te.port1.onmessage=T,function(){return Te.port2.postMessage(0)}}function b(){var Te=setTimeout;return function(){return Te(T,1)}}var E=new Array(1e3);function T(){for(var Te=0;Te`,triples:"",explode:"[]{}"},S=y.Pos;y.defineOption("autoCloseBrackets",!1,function(e,s,u){u&&u!=y.Init&&(e.removeKeyMap(g),e.state.closeBrackets=null),s&&(f(m(s,"pairs")),e.state.closeBrackets=s,e.addKeyMap(g))});function m(e,s){return s=="pairs"&&typeof e=="string"?e:typeof e=="object"&&e[s]!=null?e[s]:p[s]}var g={Backspace:a,Enter:n};function f(e){for(var s=0;s=0;A--){var w=h[A].head;e.replaceRange("",S(w.line,w.ch-1),S(w.line,w.ch+1),"+delete")}}function n(e){var s=c(e),u=s&&m(s,"explode");if(!u||e.getOption("disableInput"))return y.Pass;for(var h=e.listSelections(),A=0;A0;return{anchor:new S(e.anchor.line,e.anchor.ch+(s?-1:1)),head:new S(e.head.line,e.head.ch+(s?1:-1))}}function o(e,s){var u=c(e);if(!u||e.getOption("disableInput"))return y.Pass;var h=m(u,"pairs"),A=h.indexOf(s);if(A==-1)return y.Pass;for(var v=m(u,"closeBefore"),w=m(u,"triples"),b=h.charAt(A+1)==s,E=e.listSelections(),T=A%2==0,_,x=0;x=0&&e.getRange(I,S(I.line,I.ch+3))==s+s+s?L="skipThree":L="skip";else if(b&&I.ch>1&&w.indexOf(s)>=0&&e.getRange(S(I.line,I.ch-2),I)==s+s){if(I.ch>2&&/\bstring/.test(e.getTokenTypeAt(S(I.line,I.ch-2))))return y.Pass;L="addFour"}else if(b){var B=I.ch==0?" ":e.getRange(S(I.line,I.ch-1),I);if(!y.isWordChar(F)&&B!=s&&!y.isWordChar(B))L="both";else return y.Pass}else if(T&&(F.length===0||/\s/.test(F)||v.indexOf(F)>-1))L="both";else return y.Pass;if(!_)_=L;else if(_!=L)return y.Pass}var P=A%2?h.charAt(A-1):s,H=A%2?s:h.charAt(A+1);e.operation(function(){if(_=="skip")e.execCommand("goCharRight");else if(_=="skipThree")for(var z=0;z<3;z++)e.execCommand("goCharRight");else if(_=="surround"){for(var M=e.getSelections(),z=0;zb[0][1]&&(b[0][1]=x[0]),x[1]b[1][1]&&(b[1][1]=x[1])}return b&&v(b)}};function v(w){return new S(w[0][0],w[1][0],w[0][1]-w[0][0],w[1][1]-w[1][0])}N.layoutCovers=o},ERHi:function(R,N,t){var y=t("ProS");t("Z6js"),t("R4Th");var p=t("f5Yq"),S=t("h8O9");y.registerVisual(p("effectScatter","circle")),y.registerLayout(S("effectScatter"))},EXcs:function(R,N,t){"use strict";var y=function(){return{height:0,opacity:0}},p=function(d){return{height:d.scrollHeight,opacity:1}},S=function(d){return{height:d.offsetHeight}},m=function(d,c){return c.propertyName==="height"},g={motionName:"ant-motion-collapse",onAppearStart:y,onEnterStart:y,onAppearActive:p,onEnterActive:p,onLeaveStart:S,onLeaveActive:y,onAppearEnd:m,onEnterEnd:m,onLeaveEnd:m,motionDeadline:500};N.a=g},Em2t:function(R,N,t){var y=t("bahg"),p=t("quyA"),S=t("0JQy");function m(g){return p(g)?S(g):y(g)}R.exports=m},Ez2D:function(R,N,t){var y=t("bYtY"),p=t("4NO4");function S(m,g){var f=[],d=m.seriesIndex,c;if(d==null||!(c=g.getSeriesByIndex(d)))return{point:[]};var a=c.getData(),n=p.queryDataIndex(a,m);if(n==null||n<0||y.isArray(n))return{point:[]};var i=a.getItemGraphicEl(n),o=c.coordinateSystem;if(c.getTooltipPosition)f=c.getTooltipPosition(n)||[];else if(o&&o.dataToPoint)f=o.dataToPoint(a.getValues(y.map(o.dimensions,function(l){return a.mapDimension(l)}),n,!0))||[];else if(i){var r=i.getBoundingRect().clone();r.applyTransform(i.transform),f=[r.x+r.width/2,r.y+r.height/2]}return{point:f,el:i}}R.exports=S},F0hE:function(R,N,t){var y=t("ProS"),p=t("bYtY"),S=t("ca2m"),m=t("Qxkt"),g=t("ICMv"),f=S.valueAxis;function d(n,i){return p.defaults({show:i},n)}var c=y.extendComponentModel({type:"radar",optionUpdated:function(){var n=this.get("boundaryGap"),i=this.get("splitNumber"),o=this.get("scale"),r=this.get("axisLine"),l=this.get("axisTick"),e=this.get("axisType"),s=this.get("axisLabel"),u=this.get("name"),h=this.get("name.show"),A=this.get("name.formatter"),v=this.get("nameGap"),w=this.get("triggerEvent"),b=p.map(this.get("indicator")||[],function(E){E.max!=null&&E.max>0&&!E.min?E.min=0:E.min!=null&&E.min<0&&!E.max&&(E.max=0);var T=u;if(E.color!=null&&(T=p.defaults({color:E.color},u)),E=p.merge(p.clone(E),{boundaryGap:n,splitNumber:i,scale:o,axisLine:r,axisTick:l,axisType:e,axisLabel:s,name:E.text,nameLocation:"end",nameGap:v,nameTextStyle:T,triggerEvent:w},!1),h||(E.name=""),typeof A=="string"){var _=E.name;E.name=A.replace("{value}",_!=null?_:"")}else typeof A=="function"&&(E.name=A(E.name,E));var x=p.extend(new m(E,null,this.ecModel),g);return x.mainType="radar",x.componentIndex=this.componentIndex,x},this);this.getIndicatorModels=function(){return b}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:p.merge({lineStyle:{color:"#bbb"}},f.axisLine),axisLabel:d(f.axisLabel,!1),axisTick:d(f.axisTick,!1),axisType:"interval",splitLine:d(f.splitLine,!0),splitArea:d(f.splitArea,!0),indicator:[]}}),a=c;R.exports=a},F5Ls:function(R,N){var t={\u5357\u6D77\u8BF8\u5C9B:[32,80],\u5E7F\u4E1C:[0,-10],\u9999\u6E2F:[10,5],\u6FB3\u95E8:[-10,10],\u5929\u6D25:[5,5]};function y(p,S){if(p==="china"){var m=t[S.name];if(m){var g=S.center;g[0]+=m[0]/10.5,g[1]+=-m[1]/(10.5/.75)}}}R.exports=y},F7hV:function(R,N,t){var y=t("MBQ8"),p=y.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return this.get("large")?this.get("progressive"):!1},getProgressiveThreshold:function(){var S=this.get("progressiveThreshold"),m=this.get("largeThreshold");return m>S&&(S=m),S},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}}});R.exports=p},F9bG:function(R,N,t){var y=t("bYtY"),p=t("ItGF"),S=t("4NO4"),m=S.makeInner,g=m(),f=y.each;function d(l,e,s){if(p.node)return;var u=e.getZr();g(u).records||(g(u).records={}),c(u,e);var h=g(u).records[l]||(g(u).records[l]={});h.handler=s}function c(l,e){if(g(l).initialized)return;g(l).initialized=!0,s("click",y.curry(i,"click")),s("mousemove",y.curry(i,"mousemove")),s("globalout",n);function s(u,h){l.on(u,function(A){var v=o(e);f(g(l).records,function(w){w&&h(w,A,v.dispatchAction)}),a(v.pendings,e)})}}function a(l,e){var s=l.showTip.length,u=l.hideTip.length,h;s?h=l.showTip[s-1]:u&&(h=l.hideTip[u-1]),h&&(h.dispatchAction=null,e.dispatchAction(h))}function n(l,e,s){l.handler("leave",null,s)}function i(l,e,s,u){e.handler(l,s,u)}function o(l){var e={showTip:[],hideTip:[]},s=function(u){var h=e[u.type];h?h.push(u):(u.dispatchAction=s,l.dispatchAction(u))};return{dispatchAction:s,pendings:e}}function r(l,e){if(p.node)return;var s=e.getZr(),u=(g(s).records||{})[l];u&&(g(s).records[l]=null)}N.register=d,N.unregister=r},FBjb:function(R,N,t){var y=t("bYtY"),p=t("oVpE"),S=p.createSymbol,m=t("IwbS"),g=t("OELB"),f=g.parsePercent,d=t("x3X8"),c=d.getDefaultLabel;function a(v,w,b){m.Group.call(this),this.updateData(v,w,b)}var n=a.prototype,i=a.getSymbolSize=function(v,w){var b=v.getItemVisual(w,"symbolSize");return b instanceof Array?b.slice():[+b,+b]};function o(v){return[v[0]/2,v[1]/2]}function r(v,w){this.parent.drift(v,w)}n._createSymbol=function(v,w,b,E,T){this.removeAll();var _=w.getItemVisual(b,"color"),x=S(v,-1,-1,2,2,_,T);x.attr({z2:100,culling:!0,scale:o(E)}),x.drift=r,this._symbolType=v,this.add(x)},n.stopSymbolAnimation=function(v){this.childAt(0).stopAnimation(v)},n.getSymbolPath=function(){return this.childAt(0)},n.getScale=function(){return this.childAt(0).scale},n.highlight=function(){this.childAt(0).trigger("emphasis")},n.downplay=function(){this.childAt(0).trigger("normal")},n.setZ=function(v,w){var b=this.childAt(0);b.zlevel=v,b.z=w},n.setDraggable=function(v){var w=this.childAt(0);w.draggable=v,w.cursor=v?"move":w.cursor},n.updateData=function(v,w,b){this.silent=!1;var E=v.getItemVisual(w,"symbol")||"circle",T=v.hostModel,_=i(v,w),x=E!==this._symbolType;if(x){var C=v.getItemVisual(w,"symbolKeepAspect");this._createSymbol(E,v,w,_,C)}else{var I=this.childAt(0);I.silent=!1,m.updateProps(I,{scale:o(_)},T,w)}if(this._updateCommon(v,w,_,b),x){var I=this.childAt(0),L=b&&b.fadeIn,F={scale:I.scale.slice()};L&&(F.style={opacity:I.style.opacity}),I.scale=[0,0],L&&(I.style.opacity=0),m.initProps(I,F,T,w)}this._seriesModel=T};var l=["itemStyle"],e=["emphasis","itemStyle"],s=["label"],u=["emphasis","label"];n._updateCommon=function(v,w,b,E){var T=this.childAt(0),_=v.hostModel,x=v.getItemVisual(w,"color");T.type!=="image"?T.useStyle({strokeNoScale:!0}):T.setStyle({opacity:null,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var C=E&&E.itemStyle,I=E&&E.hoverItemStyle,L=E&&E.symbolOffset,F=E&&E.labelModel,B=E&&E.hoverLabelModel,P=E&&E.hoverAnimation,H=E&&E.cursorStyle;if(!E||v.hasItemOption){var z=E&&E.itemModel?E.itemModel:v.getItemModel(w);C=z.getModel(l).getItemStyle(["color"]),I=z.getModel(e).getItemStyle(),L=z.getShallow("symbolOffset"),F=z.getModel(s),B=z.getModel(u),P=z.getShallow("hoverAnimation"),H=z.getShallow("cursor")}else I=y.extend({},I);var M=T.style,U=v.getItemVisual(w,"symbolRotate");T.attr("rotation",(U||0)*Math.PI/180||0),L&&T.attr("position",[f(L[0],b[0]),f(L[1],b[1])]),H&&T.attr("cursor",H),T.setColor(x,E&&E.symbolInnerColor),T.setStyle(C);var k=v.getItemVisual(w,"opacity");k!=null&&(M.opacity=k);var K=v.getItemVisual(w,"liftZ"),j=T.__z2Origin;K!=null?j==null&&(T.__z2Origin=T.z2,T.z2+=K):j!=null&&(T.z2=j,T.__z2Origin=null);var V=E&&E.useNameLabel;m.setLabelStyle(M,I,F,B,{labelFetcher:_,labelDataIndex:w,defaultText:W,isRectText:!0,autoColor:x});function W(X,J){return V?v.getName(X):c(v,X)}T.__symbolOriginalScale=o(b),T.hoverStyle=I,T.highDownOnUpdate=P&&_.isAnimationEnabled()?h:null,m.setHoverStyle(T)};function h(v,w){if(this.incremental||this.useHoverLayer)return;if(w==="emphasis"){var b=this.__symbolOriginalScale,E=b[1]/b[0],T={scale:[Math.max(b[0]*1.1,b[0]+3),Math.max(b[1]*1.1,b[1]+3*E)]};this.animateTo(T,400,"elasticOut")}else w==="normal"&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}n.fadeOut=function(v,w){var b=this.childAt(0);this.silent=b.silent=!0,!(w&&w.keepLabel)&&(b.style.text=null),m.updateProps(b,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,v)},y.inherits(a,m.Group);var A=a;R.exports=A},FGaS:function(R,N,t){var y=t("ProS"),p=t("IwbS"),S=t("bYtY"),m=t("oVpE");function g(d){return S.isArray(d)||(d=[+d,+d]),d}var f=y.extendChartView({type:"radar",render:function(d,c,a){var n=d.coordinateSystem,i=this.group,o=d.getData(),r=this._data;function l(u,h){var A=u.getItemVisual(h,"symbol")||"circle",v=u.getItemVisual(h,"color");if(A==="none")return;var w=g(u.getItemVisual(h,"symbolSize")),b=m.createSymbol(A,-1,-1,2,2,v);return b.attr({style:{strokeNoScale:!0},z2:100,scale:[w[0]/2,w[1]/2]}),b}function e(u,h,A,v,w,b){A.removeAll();for(var E=0;E=48&&s.keyCode<=57)u=s.keyCode;else if(s.keyCode>=65&&s.keyCode<=90){var A=String.fromCharCode(s.keyCode);s.shiftKey?A=A.toUpperCase():A=A.toLowerCase(),u=A.charCodeAt()}else u=0;this._sendKeyEvent(u,h,!0)}},{key:"_handleKeyUp",value:function(s){(0,S.stopEvent)(s);var u=this._getKeyCode(s);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),this._sendKeyEvent(g.default.XK_Control_L,"ControlLeft",!0)),(f.isMac()||f.isIOS())&&u==="CapsLock"){this._sendKeyEvent(g.default.XK_Caps_Lock,"CapsLock",!0),this._sendKeyEvent(g.default.XK_Caps_Lock,"CapsLock",!1);return}this._sendKeyEvent(this._keyDownList[u],u,!1),f.isWindows()&&(u==="ShiftLeft"||u==="ShiftRight")&&("ShiftRight"in this._keyDownList&&this._sendKeyEvent(this._keyDownList.ShiftRight,"ShiftRight",!1),"ShiftLeft"in this._keyDownList&&this._sendKeyEvent(this._keyDownList.ShiftLeft,"ShiftLeft",!1))}},{key:"_handleAltGrTimeout",value:function(){this._altGrArmed=!1,clearTimeout(this._altGrTimeout),this._sendKeyEvent(g.default.XK_Control_L,"ControlLeft",!0)}},{key:"_allKeysUp",value:function(){p.Debug(">> Keyboard.allKeysUp");for(var s in this._keyDownList)this._sendKeyEvent(this._keyDownList[s],s,!1);p.Debug("<< Keyboard.allKeysUp")}},{key:"_checkAlt",value:function(s){if(s.skipCheckAlt)return;if(s.altKey)return;var u=this._target,h=this._keyDownList;["AltLeft","AltRight"].forEach(function(A){if(!(A in h))return;var v=new KeyboardEvent("keyup",{key:h[A],code:A});v.skipCheckAlt=!0,u.dispatchEvent(v)})}},{key:"grab",value:function(){if(this._target.addEventListener("keydown",this._eventHandlers.keydown),this._target.addEventListener("keyup",this._eventHandlers.keyup),this._target.addEventListener("keypress",this._eventHandlers.keypress),window.addEventListener("blur",this._eventHandlers.blur),f.isWindows()&&f.isFirefox()){var s=this._eventHandlers.checkalt;["mousedown","mouseup","mousemove","wheel","touchstart","touchend","touchmove","keydown","keyup"].forEach(function(u){return document.addEventListener(u,s,{capture:!0,passive:!0})})}}},{key:"ungrab",value:function(){if(f.isWindows()&&f.isFirefox()){var s=this._eventHandlers.checkalt;["mousedown","mouseup","mousemove","wheel","touchstart","touchend","touchmove","keydown","keyup"].forEach(function(u){return document.removeEventListener(u,s)})}this._target.removeEventListener("keydown",this._eventHandlers.keydown),this._target.removeEventListener("keyup",this._eventHandlers.keyup),this._target.removeEventListener("keypress",this._eventHandlers.keypress),window.removeEventListener("blur",this._eventHandlers.blur),this._allKeysUp()}}]),l}();N.default=r},FxDU:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.createSensor=void 0;var y=t("QO+J"),p=t("j5sG"),S=typeof ResizeObserver!="undefined"?p.createSensor:y.createSensor;N.createSensor=S},GGyF:function(R,N,t){"use strict";var y=t("284h"),p=t("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=p(t("3tO9")),m=y(t("q1tI")),g=p(t("wgjA")),f=p(t("KQxl")),d=function(n,i){return m.createElement(f.default,(0,S.default)((0,S.default)({},n),{},{ref:i,icon:g.default}))};d.displayName="LeftOutlined";var c=m.forwardRef(d);N.default=c},GIiI:function(R,N,t){"use strict";var y=t("VTBJ"),p=t("q1tI"),S={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"}}]},name:"poweroff",theme:"outlined"},m=S,g=t("6VBw"),f=function(a,n){return p.createElement(g.a,Object(y.a)(Object(y.a)({},a),{},{ref:n,icon:m}))};f.displayName="PoweroffOutlined";var d=N.a=p.forwardRef(f)},GMDS:function(R,N,t){var y=t("bYtY"),p=t("4NgU"),S=t("jkPA"),m=p.prototype,g=p.extend({type:"ordinal",init:function(d,c){(!d||y.isArray(d))&&(d=new S({categories:d})),this._ordinalMeta=d,this._extent=c||[0,d.categories.length-1]},parse:function(d){return typeof d=="string"?this._ordinalMeta.getOrdinal(d):Math.round(d)},contain:function(d){return d=this.parse(d),m.contain.call(this,d)&&this._ordinalMeta.categories[d]!=null},normalize:function(d){return m.normalize.call(this,this.parse(d))},scale:function(d){return Math.round(m.scale.call(this,d))},getTicks:function(){for(var d=[],c=this._extent,a=c[0];a<=c[1];)d.push(a),a++;return d},getLabel:function(d){if(!this.isBlank())return this._ordinalMeta.categories[d]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(d,c){this.unionExtent(d.getApproximateExtent(c))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:y.noop,niceExtent:y.noop});g.create=function(){return new g};var f=g;R.exports=f},GQ8N:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.toUnsigned32bit=y,N.toSigned32bit=p;function y(S){return S>>>0}function p(S){return S|0}},GUcZ:function(R,N,t){"use strict";var y=t("XKWP"),p=t("N7Kx"),S=function(){function Je(){Object(y.a)(this,Je)}return Object(p.a)(Je,null,[{key:"install",value:function(){Object.setPrototypeOf=Object.setPrototypeOf||function(be,Le){return be.__proto__=Le,be},Object.assign=Object.assign||function(be){if(be==null)throw new TypeError("Cannot convert undefined or null to object");for(var Le=Object(be),Ue=1;Ue ").concat(Le);if(Je.ENABLE_CALLBACK&&Je.emitter.emit("log","error",Ue),!Je.ENABLE_ERROR)return;console.error?console.error(Ue):console.warn?console.warn(Ue):console.log(Ue)}},{key:"i",value:function(be,Le){(!be||Je.FORCE_GLOBAL_TAG)&&(be=Je.GLOBAL_TAG);var Ue="[".concat(be,"] > ").concat(Le);if(Je.ENABLE_CALLBACK&&Je.emitter.emit("log","info",Ue),!Je.ENABLE_INFO)return;console.info?console.info(Ue):console.log(Ue)}},{key:"w",value:function(be,Le){(!be||Je.FORCE_GLOBAL_TAG)&&(be=Je.GLOBAL_TAG);var Ue="[".concat(be,"] > ").concat(Le);if(Je.ENABLE_CALLBACK&&Je.emitter.emit("log","warn",Ue),!Je.ENABLE_WARN)return;console.warn?console.warn(Ue):console.log(Ue)}},{key:"d",value:function(be,Le){(!be||Je.FORCE_GLOBAL_TAG)&&(be=Je.GLOBAL_TAG);var Ue="[".concat(be,"] > ").concat(Le);if(Je.ENABLE_CALLBACK&&Je.emitter.emit("log","debug",Ue),!Je.ENABLE_DEBUG)return;console.debug?console.debug(Ue):console.log(Ue)}},{key:"v",value:function(be,Le){(!be||Je.FORCE_GLOBAL_TAG)&&(be=Je.GLOBAL_TAG);var Ue="[".concat(be,"] > ").concat(Le);if(Je.ENABLE_CALLBACK&&Je.emitter.emit("log","verbose",Ue),!Je.ENABLE_VERBOSE)return;console.log(Ue)}}]),Je}();d.GLOBAL_TAG="flv.js",d.FORCE_GLOBAL_TAG=!1,d.ENABLE_ERROR=!0,d.ENABLE_INFO=!0,d.ENABLE_WARN=!0,d.ENABLE_DEBUG=!0,d.ENABLE_VERBOSE=!0,d.ENABLE_CALLBACK=!1,d.emitter=new f.a;var c=d,a=function(){function Je(){Object(y.a)(this,Je),this._firstCheckpoint=0,this._lastCheckpoint=0,this._intervalBytes=0,this._totalBytes=0,this._lastSecondBytes=0,self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now}return Object(p.a)(Je,[{key:"reset",value:function(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}},{key:"addBytes",value:function(be){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=be,this._totalBytes+=be):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=be,this._totalBytes+=be):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=be,this._totalBytes+=be,this._lastCheckpoint=this._now())}},{key:"currentKBps",get:function(){this.addBytes(0);var be=(this._now()-this._lastCheckpoint)/1e3;return be==0&&(be=1),this._intervalBytes/be/1024}},{key:"lastSecondKBps",get:function(){return this.addBytes(0),this._lastSecondBytes!==0?this._lastSecondBytes/1024:this._now()-this._lastCheckpoint>=500?this.currentKBps:0}},{key:"averageKBps",get:function(){var be=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/be/1024}}]),Je}(),n=a,i=t("kFHX"),o=t("4jIl"),r=function(){function Je(et){Object(y.a)(this,Je),this._message=et}return Object(p.a)(Je,[{key:"name",get:function(){return"RuntimeException"}},{key:"message",get:function(){return this._message}},{key:"toString",value:function(){return this.name+": "+this.message}}]),Je}(),l=function(Je){Object(i.a)(be,Je);var et=Object(o.a)(be);function be(Le){return Object(y.a)(this,be),et.call(this,Le)}return Object(p.a)(be,[{key:"name",get:function(){return"IllegalStateException"}}]),be}(r),e=function(Je){Object(i.a)(be,Je);var et=Object(o.a)(be);function be(Le){return Object(y.a)(this,be),et.call(this,Le)}return Object(p.a)(be,[{key:"name",get:function(){return"InvalidArgumentException"}}]),be}(r),s=function(Je){Object(i.a)(be,Je);var et=Object(o.a)(be);function be(Le){return Object(y.a)(this,be),et.call(this,Le)}return Object(p.a)(be,[{key:"name",get:function(){return"NotImplementedException"}}]),be}(r),u={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},h={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"},A=function(){function Je(et){Object(y.a)(this,Je),this._type=et||"undefined",this._status=u.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}return Object(p.a)(Je,[{key:"destroy",value:function(){this._status=u.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}},{key:"isWorking",value:function(){return this._status===u.kConnecting||this._status===u.kBuffering}},{key:"type",get:function(){return this._type}},{key:"status",get:function(){return this._status}},{key:"needStashBuffer",get:function(){return this._needStash}},{key:"onContentLengthKnown",get:function(){return this._onContentLengthKnown},set:function(be){this._onContentLengthKnown=be}},{key:"onURLRedirect",get:function(){return this._onURLRedirect},set:function(be){this._onURLRedirect=be}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(be){this._onDataArrival=be}},{key:"onError",get:function(){return this._onError},set:function(be){this._onError=be}},{key:"onComplete",get:function(){return this._onComplete},set:function(be){this._onComplete=be}},{key:"open",value:function(be,Le){throw new s("Unimplemented abstract function!")}},{key:"abort",value:function(){throw new s("Unimplemented abstract function!")}}]),Je}(),v=t("2KFj"),w=t("XPR9"),b={};function E(){var Je=self.navigator.userAgent.toLowerCase(),et=/(edge)\/([\w.]+)/.exec(Je)||/(opr)[\/]([\w.]+)/.exec(Je)||/(chrome)[ \/]([\w.]+)/.exec(Je)||/(iemobile)[\/]([\w.]+)/.exec(Je)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(Je)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(Je)||/(webkit)[ \/]([\w.]+)/.exec(Je)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(Je)||/(msie) ([\w.]+)/.exec(Je)||Je.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(Je)||Je.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(Je)||[],be=/(ipad)/.exec(Je)||/(ipod)/.exec(Je)||/(windows phone)/.exec(Je)||/(iphone)/.exec(Je)||/(kindle)/.exec(Je)||/(android)/.exec(Je)||/(windows)/.exec(Je)||/(mac)/.exec(Je)||/(linux)/.exec(Je)||/(cros)/.exec(Je)||[],Le={browser:et[5]||et[3]||et[1]||"",version:et[2]||et[4]||"0",majorVersion:et[4]||et[2]||"0",platform:be[0]||""},Ue={};if(Le.browser){Ue[Le.browser]=!0;var rt=Le.majorVersion.split(".");Ue.version={major:parseInt(Le.majorVersion,10),string:Le.version},rt.length>1&&(Ue.version.minor=parseInt(rt[1],10)),rt.length>2&&(Ue.version.build=parseInt(rt[2],10))}if(Le.platform&&(Ue[Le.platform]=!0),(Ue.chrome||Ue.opr||Ue.safari)&&(Ue.webkit=!0),Ue.rv||Ue.iemobile){Ue.rv&&delete Ue.rv;var Kt="msie";Le.browser=Kt,Ue[Kt]=!0}if(Ue.edge){delete Ue.edge;var Pt="msedge";Le.browser=Pt,Ue[Pt]=!0}if(Ue.opr){var Vt="opera";Le.browser=Vt,Ue[Vt]=!0}if(Ue.safari&&Ue.android){var Mr="android";Le.browser=Mr,Ue[Mr]=!0}Ue.name=Le.browser,Ue.platform=Le.platform;for(var Pr in b)b.hasOwnProperty(Pr)&&delete b[Pr];Object.assign(b,Ue)}E();var T=b,_=function(Je){Object(i.a)(be,Je);var et=Object(o.a)(be);function be(Le,Ue){var rt;return Object(y.a)(this,be),rt=et.call(this,"fetch-stream-loader"),rt.TAG="FetchStreamLoader",rt._seekHandler=Le,rt._config=Ue,rt._needStash=!0,rt._requestAbort=!1,rt._contentLength=null,rt._receivedLength=0,rt}return Object(p.a)(be,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),Object(v.a)(Object(w.a)(be.prototype),"destroy",this).call(this)}},{key:"open",value:function(Ue,rt){var Kt=this;this._dataSource=Ue,this._range=rt;var Pt=Ue.url;this._config.reuseRedirectedURL&&Ue.redirectedURL!=null&&(Pt=Ue.redirectedURL);var Vt=this._seekHandler.getConfig(Pt,rt),Mr=new self.Headers;if(typeof Vt.headers=="object"){var Pr=Vt.headers;for(var un in Pr)Pr.hasOwnProperty(un)&&Mr.append(un,Pr[un])}var Ut={method:"GET",headers:Mr,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(var dt in this._config.headers)Mr.append(dt,this._config.headers[dt]);Ue.cors===!1&&(Ut.mode="same-origin"),Ue.withCredentials&&(Ut.credentials="include"),Ue.referrerPolicy&&(Ut.referrerPolicy=Ue.referrerPolicy),this._status=u.kConnecting,self.fetch(Vt.url,Ut).then(function(st){if(Kt._requestAbort){Kt._requestAbort=!1,Kt._status=u.kIdle;return}if(st.ok&&st.status>=200&&st.status<=299){if(st.url!==Vt.url&&Kt._onURLRedirect){var Qt=Kt._seekHandler.removeURLParameters(st.url);Kt._onURLRedirect(Qt)}var Jt=st.headers.get("Content-Length");return Jt!=null&&(Kt._contentLength=parseInt(Jt),Kt._contentLength!==0&&(Kt._onContentLengthKnown&&Kt._onContentLengthKnown(Kt._contentLength))),Kt._pump.call(Kt,st.body.getReader())}else if(Kt._status=u.kError,Kt._onError)Kt._onError(h.HTTP_STATUS_CODE_INVALID,{code:st.status,msg:st.statusText});else throw new r("FetchStreamLoader: Http code invalid, "+st.status+" "+st.statusText)}).catch(function(st){if(Kt._status=u.kError,Kt._onError)Kt._onError(h.EXCEPTION,{code:-1,msg:st.message});else throw st})}},{key:"abort",value:function(){this._requestAbort=!0}},{key:"_pump",value:function(Ue){var rt=this;return Ue.read().then(function(Kt){if(Kt.done)if(rt._contentLength!==null&&rt._receivedLength=15048,rt=T.msedge?Ue:!0;return self.fetch&&self.ReadableStream&&rt}catch(Kt){return!1}}}]),be}(A),x=_,C=function(Je){Object(i.a)(be,Je);var et=Object(o.a)(be);function be(Le,Ue){var rt;return Object(y.a)(this,be),rt=et.call(this,"xhr-moz-chunked-loader"),rt.TAG="MozChunkedLoader",rt._seekHandler=Le,rt._config=Ue,rt._needStash=!0,rt._xhr=null,rt._requestAbort=!1,rt._contentLength=null,rt._receivedLength=0,rt}return Object(p.a)(be,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onloadend=null,this._xhr.onerror=null,this._xhr=null),Object(v.a)(Object(w.a)(be.prototype),"destroy",this).call(this)}},{key:"open",value:function(Ue,rt){this._dataSource=Ue,this._range=rt;var Kt=Ue.url;this._config.reuseRedirectedURL&&Ue.redirectedURL!=null&&(Kt=Ue.redirectedURL);var Pt=this._seekHandler.getConfig(Kt,rt);this._requestURL=Pt.url;var Vt=this._xhr=new XMLHttpRequest;if(Vt.open("GET",Pt.url,!0),Vt.responseType="moz-chunked-arraybuffer",Vt.onreadystatechange=this._onReadyStateChange.bind(this),Vt.onprogress=this._onProgress.bind(this),Vt.onloadend=this._onLoadEnd.bind(this),Vt.onerror=this._onXhrError.bind(this),Ue.withCredentials&&(Vt.withCredentials=!0),typeof Pt.headers=="object"){var Mr=Pt.headers;for(var Pr in Mr)Mr.hasOwnProperty(Pr)&&Vt.setRequestHeader(Pr,Mr[Pr])}if(typeof this._config.headers=="object"){var un=this._config.headers;for(var Ut in un)un.hasOwnProperty(Ut)&&Vt.setRequestHeader(Ut,un[Ut])}this._status=u.kConnecting,Vt.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._xhr&&this._xhr.abort(),this._status=u.kComplete}},{key:"_onReadyStateChange",value:function(Ue){var rt=Ue.target;if(rt.readyState===2){if(rt.responseURL!=null&&rt.responseURL!==this._requestURL&&this._onURLRedirect){var Kt=this._seekHandler.removeURLParameters(rt.responseURL);this._onURLRedirect(Kt)}if(rt.status!==0&&(rt.status<200||rt.status>299))if(this._status=u.kError,this._onError)this._onError(h.HTTP_STATUS_CODE_INVALID,{code:rt.status,msg:rt.statusText});else throw new r("MozChunkedLoader: Http code invalid, "+rt.status+" "+rt.statusText);else this._status=u.kBuffering}}},{key:"_onProgress",value:function(Ue){if(this._status===u.kError)return;this._contentLength===null&&(Ue.total!==null&&Ue.total!==0&&(this._contentLength=Ue.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)));var rt=Ue.target.response,Kt=this._range.from+this._receivedLength;this._receivedLength+=rt.byteLength,this._onDataArrival&&this._onDataArrival(rt,Kt,this._receivedLength)}},{key:"_onLoadEnd",value:function(Ue){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===u.kError)return;this._status=u.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}},{key:"_onXhrError",value:function(Ue){this._status=u.kError;var rt=0,Kt=null;if(this._contentLength&&Ue.loaded=200&&rt.status<=299){if(this._status=u.kBuffering,rt.responseURL!=null){var Kt=this._seekHandler.removeURLParameters(rt.responseURL);rt.responseURL!==this._currentRequestURL&&Kt!==this._currentRedirectedURL&&(this._currentRedirectedURL=Kt,this._onURLRedirect&&this._onURLRedirect(Kt))}var Pt=rt.getResponseHeader("Content-Length");if(Pt!=null&&this._contentLength==null){var Vt=parseInt(Pt);Vt>0&&(this._contentLength=Vt,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=u.kError,this._onError)this._onError(h.HTTP_STATUS_CODE_INVALID,{code:rt.status,msg:rt.statusText});else throw new r("MSStreamLoader: Http code invalid, "+rt.status+" "+rt.statusText);else if(rt.readyState===3&&(rt.status>=200&&rt.status<=299)){this._status=u.kBuffering;var Mr=rt.response;this._reader.readAsArrayBuffer(Mr)}}},{key:"_xhrOnError",value:function(Ue){this._status=u.kError;var rt=h.EXCEPTION,Kt={code:-1,msg:Ue.constructor.name+" "+Ue.type};if(this._onError)this._onError(rt,Kt);else throw new r(Kt.msg)}},{key:"_msrOnProgress",value:function(Ue){var rt=Ue.target,Kt=rt.result;if(Kt==null){this._doReconnectIfNeeded();return}var Pt=Kt.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=Kt.byteLength;var Vt=this._totalRange.from+this._receivedLength;this._receivedLength+=Pt.byteLength,this._onDataArrival&&this._onDataArrival(Pt,Vt,this._receivedLength),Kt.byteLength>=this._bufferLimit&&(c.v(this.TAG,"MSStream buffer exceeded max size near ".concat(Vt+Pt.byteLength,", reconnecting...")),this._doReconnectIfNeeded())}},{key:"_doReconnectIfNeeded",value:function(){if(this._contentLength==null||this._receivedLength=this._contentLength&&(Kt=this._range.from+this._contentLength-1)),this._currentRequestRange={from:rt,to:Kt},this._internalOpen(this._dataSource,this._currentRequestRange)}},{key:"_internalOpen",value:function(Ue,rt){this._lastTimeLoaded=0;var Kt=Ue.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?Kt=this._currentRedirectedURL:Ue.redirectedURL!=null&&(Kt=Ue.redirectedURL));var Pt=this._seekHandler.getConfig(Kt,rt);this._currentRequestURL=Pt.url;var Vt=this._xhr=new XMLHttpRequest;if(Vt.open("GET",Pt.url,!0),Vt.responseType="arraybuffer",Vt.onreadystatechange=this._onReadyStateChange.bind(this),Vt.onprogress=this._onProgress.bind(this),Vt.onload=this._onLoad.bind(this),Vt.onerror=this._onXhrError.bind(this),Ue.withCredentials&&(Vt.withCredentials=!0),typeof Pt.headers=="object"){var Mr=Pt.headers;for(var Pr in Mr)Mr.hasOwnProperty(Pr)&&Vt.setRequestHeader(Pr,Mr[Pr])}if(typeof this._config.headers=="object"){var un=this._config.headers;for(var Ut in un)un.hasOwnProperty(Ut)&&Vt.setRequestHeader(Ut,un[Ut])}Vt.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._internalAbort(),this._status=u.kComplete}},{key:"_internalAbort",value:function(){this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr.abort(),this._xhr=null)}},{key:"_onReadyStateChange",value:function(Ue){var rt=Ue.target;if(rt.readyState===2){if(rt.responseURL!=null){var Kt=this._seekHandler.removeURLParameters(rt.responseURL);rt.responseURL!==this._currentRequestURL&&Kt!==this._currentRedirectedURL&&(this._currentRedirectedURL=Kt,this._onURLRedirect&&this._onURLRedirect(Kt))}if(rt.status>=200&&rt.status<=299){if(this._waitForTotalLength)return;this._status=u.kBuffering}else if(this._status=u.kError,this._onError)this._onError(h.HTTP_STATUS_CODE_INVALID,{code:rt.status,msg:rt.statusText});else throw new r("RangeLoader: Http code invalid, "+rt.status+" "+rt.statusText)}}},{key:"_onProgress",value:function(Ue){if(this._status===u.kError)return;if(this._contentLength===null){var rt=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,rt=!0;var Kt=Ue.total;this._internalAbort(),Kt!=null&Kt!==0&&(this._totalLength=Kt)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,rt){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}var Pt=Ue.loaded-this._lastTimeLoaded;this._lastTimeLoaded=Ue.loaded,this._speedSampler.addBytes(Pt)}},{key:"_normalizeSpeed",value:function(Ue){var rt=this._chunkSizeKBList,Kt=rt.length-1,Pt=0,Vt=0,Mr=Kt;if(Ue=rt[Pt]&&Ue=3&&(rt=this._speedSampler.currentKBps)),rt!==0){var Kt=this._normalizeSpeed(rt);this._currentSpeedNormalized!==Kt&&(this._currentSpeedNormalized=Kt,this._currentChunkSizeKB=Kt)}var Pt=Ue.target.response,Vt=this._range.from+this._receivedLength;this._receivedLength+=Pt.byteLength;var Mr=!1;this._contentLength!=null&&this._receivedLength0&&this._receivedLength0)for(var Pt=Ue.split("&"),Vt=0;Vt0;Mr[0]!==this._startName&&Mr[0]!==this._endName&&(Pr&&(Kt+="&"),Kt+=Pt[Vt])}return Kt.length===0?Le:Le+"?"+Kt}}]),Je}(),K=k,j=function(){function Je(et,be,Le){Object(y.a)(this,Je),this.TAG="IOController",this._config=be,this._extraData=Le,this._stashInitialSize=1024*384,be.stashInitialSize!=null&&be.stashInitialSize>0&&(this._stashInitialSize=be.stashInitialSize),this._stashUsed=0,this._stashSize=this._stashInitialSize,this._bufferSize=1024*1024*3,this._stashBuffer=new ArrayBuffer(this._bufferSize),this._stashByteStart=0,this._enableStash=!0,be.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=et,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(et.url),this._refTotalLength=et.filesize?et.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new n,this._speedNormalizeList=[64,128,256,384,512,768,1024,1536,2048,3072,4096],this._isEarlyEofReconnecting=!1,this._paused=!1,this._resumeFrom=0,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._selectSeekHandler(),this._selectLoader(),this._createLoader()}return Object(p.a)(Je,[{key:"destroy",value:function(){this._loader.isWorking()&&this._loader.abort(),this._loader.destroy(),this._loader=null,this._loaderClass=null,this._dataSource=null,this._stashBuffer=null,this._stashUsed=this._stashSize=this._bufferSize=this._stashByteStart=0,this._currentRange=null,this._speedSampler=null,this._isEarlyEofReconnecting=!1,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._extraData=null}},{key:"isWorking",value:function(){return this._loader&&this._loader.isWorking()&&!this._paused}},{key:"isPaused",value:function(){return this._paused}},{key:"status",get:function(){return this._loader.status}},{key:"extraData",get:function(){return this._extraData},set:function(be){this._extraData=be}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(be){this._onDataArrival=be}},{key:"onSeeked",get:function(){return this._onSeeked},set:function(be){this._onSeeked=be}},{key:"onError",get:function(){return this._onError},set:function(be){this._onError=be}},{key:"onComplete",get:function(){return this._onComplete},set:function(be){this._onComplete=be}},{key:"onRedirect",get:function(){return this._onRedirect},set:function(be){this._onRedirect=be}},{key:"onRecoveredEarlyEof",get:function(){return this._onRecoveredEarlyEof},set:function(be){this._onRecoveredEarlyEof=be}},{key:"currentURL",get:function(){return this._dataSource.url}},{key:"hasRedirect",get:function(){return this._redirectedURL!=null||this._dataSource.redirectedURL!=null}},{key:"currentRedirectedURL",get:function(){return this._redirectedURL||this._dataSource.redirectedURL}},{key:"currentSpeed",get:function(){return this._loaderClass===P?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}},{key:"loaderType",get:function(){return this._loader.type}},{key:"_selectSeekHandler",value:function(){var be=this._config;if(be.seekType==="range")this._seekHandler=new U(this._config.rangeLoadZeroStart);else if(be.seekType==="param"){var Le=be.seekParamStart||"bstart",Ue=be.seekParamEnd||"bend";this._seekHandler=new K(Le,Ue)}else if(be.seekType==="custom"){if(typeof be.customSeekHandler!="function")throw new e("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new be.customSeekHandler}else throw new e("Invalid seekType in config: ".concat(be.seekType))}},{key:"_selectLoader",value:function(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=z;else if(x.isSupported())this._loaderClass=x;else if(I.isSupported())this._loaderClass=I;else if(P.isSupported())this._loaderClass=P;else throw new r("Your browser doesn't support xhr with arraybuffer responseType!")}},{key:"_createLoader",value:function(){this._loader=new this._loaderClass(this._seekHandler,this._config),this._loader.needStashBuffer===!1&&(this._enableStash=!1),this._loader.onContentLengthKnown=this._onContentLengthKnown.bind(this),this._loader.onURLRedirect=this._onURLRedirect.bind(this),this._loader.onDataArrival=this._onLoaderChunkArrival.bind(this),this._loader.onComplete=this._onLoaderComplete.bind(this),this._loader.onError=this._onLoaderError.bind(this)}},{key:"open",value:function(be){this._currentRange={from:0,to:-1},be&&(this._currentRange.from=be),this._speedSampler.reset(),be||(this._fullRequestFlag=!0),this._loader.open(this._dataSource,Object.assign({},this._currentRange))}},{key:"abort",value:function(){this._loader.abort(),this._paused&&(this._paused=!1,this._resumeFrom=0)}},{key:"pause",value:function(){this.isWorking()&&(this._loader.abort(),this._stashUsed!==0?(this._resumeFrom=this._stashByteStart,this._currentRange.to=this._stashByteStart-1):this._resumeFrom=this._currentRange.to+1,this._stashUsed=0,this._stashByteStart=0,this._paused=!0)}},{key:"resume",value:function(){if(this._paused){this._paused=!1;var be=this._resumeFrom;this._resumeFrom=0,this._internalSeek(be,!0)}}},{key:"seek",value:function(be){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(be,!0)}},{key:"_internalSeek",value:function(be,Le){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(Le),this._loader.destroy(),this._loader=null;var Ue={from:be,to:-1};this._currentRange={from:Ue.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,Ue),this._onSeeked&&this._onSeeked()}},{key:"updateUrl",value:function(be){if(!be||typeof be!="string"||be.length===0)throw new e("Url must be a non-empty string!");this._dataSource.url=be}},{key:"_expandBuffer",value:function(be){for(var Le=this._stashSize;Le+1024*1024*10){var rt=new Uint8Array(this._stashBuffer,0,this._stashUsed),Kt=new Uint8Array(Ue,0,Le);Kt.set(rt,0)}this._stashBuffer=Ue,this._bufferSize=Le}},{key:"_normalizeSpeed",value:function(be){var Le=this._speedNormalizeList,Ue=Le.length-1,rt=0,Kt=0,Pt=Ue;if(be=Le[rt]&&be=512&&be<=1024?Le=Math.floor(be*1.5):Le=be*2,Le>8192&&(Le=8192);var Ue=Le*1024+1024*1024*1;this._bufferSize0){var Qt=this._stashBuffer.slice(0,this._stashUsed),Jt=this._dispatchChunks(Qt,this._stashByteStart);if(Jt0){var gt=new Uint8Array(Qt,Jt);st.set(gt,0),this._stashUsed=gt.byteLength,this._stashByteStart+=Jt}}else this._stashUsed=0,this._stashByteStart+=Jt;this._stashUsed+be.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+be.byteLength),st=new Uint8Array(this._stashBuffer,0,this._bufferSize)),st.set(new Uint8Array(be),this._stashUsed),this._stashUsed+=be.byteLength}else{var Ft=this._dispatchChunks(be,Le);if(Ftthis._bufferSize&&(this._expandBuffer(mt),st=new Uint8Array(this._stashBuffer,0,this._bufferSize)),st.set(new Uint8Array(be,Ft),0),this._stashUsed+=mt,this._stashByteStart=Le+Ft}}}else if(this._stashUsed===0){var Pt=this._dispatchChunks(be,Le);if(Ptthis._bufferSize&&this._expandBuffer(Vt);var Mr=new Uint8Array(this._stashBuffer,0,this._bufferSize);Mr.set(new Uint8Array(be,Pt),0),this._stashUsed+=Vt,this._stashByteStart=Le+Pt}}else{this._stashUsed+be.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+be.byteLength);var Pr=new Uint8Array(this._stashBuffer,0,this._bufferSize);Pr.set(new Uint8Array(be),this._stashUsed),this._stashUsed+=be.byteLength;var un=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(un0){var Ut=new Uint8Array(this._stashBuffer,un);Pr.set(Ut,0)}this._stashUsed-=un,this._stashByteStart+=un}}},{key:"_flushStashBuffer",value:function(be){if(this._stashUsed>0){var Le=this._stashBuffer.slice(0,this._stashUsed),Ue=this._dispatchChunks(Le,this._stashByteStart),rt=Le.byteLength-Ue;if(Ue0){var Kt=new Uint8Array(this._stashBuffer,0,this._bufferSize),Pt=new Uint8Array(Le,Ue);Kt.set(Pt,0),this._stashUsed=Pt.byteLength,this._stashByteStart+=Ue}return 0}return this._stashUsed=0,this._stashByteStart=0,rt}return 0}},{key:"_onLoaderComplete",value:function(be,Le){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}},{key:"_onLoaderError",value:function(be,Le){c.e(this.TAG,"Loader error, code = ".concat(Le.code,", msg = ").concat(Le.msg)),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,be=h.UNRECOVERABLE_EARLY_EOF);switch(be){case h.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){var Ue=this._currentRange.to+1;Ue0){var Le=Je.getConfig();be.emit("change",Le)}}},{key:"registerListener",value:function(be){Je.emitter.addListener("change",be)}},{key:"removeListener",value:function(be){Je.emitter.removeListener("change",be)}},{key:"addLogListener",value:function(be){c.emitter.addListener("log",be),c.emitter.listenerCount("log")>0&&(c.ENABLE_CALLBACK=!0,Je._notifyChange())}},{key:"removeLogListener",value:function(be){c.emitter.removeListener("log",be),c.emitter.listenerCount("log")===0&&(c.ENABLE_CALLBACK=!1,Je._notifyChange())}}]),Je}();Ae.emitter=new f.a;var me=Ae,Me=function(){function Je(){Object(y.a)(this,Je),this.mimeType=null,this.duration=null,this.hasAudio=null,this.hasVideo=null,this.audioCodec=null,this.videoCodec=null,this.audioDataRate=null,this.videoDataRate=null,this.audioSampleRate=null,this.audioChannelCount=null,this.width=null,this.height=null,this.fps=null,this.profile=null,this.level=null,this.refFrames=null,this.chromaFormat=null,this.sarNum=null,this.sarDen=null,this.metadata=null,this.segments=null,this.segmentCount=null,this.hasKeyframesIndex=null,this.keyframesIndex=null}return Object(p.a)(Je,[{key:"isComplete",value:function(){var be=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,Le=this.hasVideo===!1||this.hasVideo===!0&&this.videoCodec!=null&&this.width!=null&&this.height!=null&&this.fps!=null&&this.profile!=null&&this.level!=null&&this.refFrames!=null&&this.chromaFormat!=null&&this.sarNum!=null&&this.sarDen!=null;return this.mimeType!=null&&this.duration!=null&&this.metadata!=null&&this.hasKeyframesIndex!=null&&be&&Le}},{key:"isSeekable",value:function(){return this.hasKeyframesIndex===!0}},{key:"getNearestKeyframe",value:function(be){if(this.keyframesIndex==null)return null;var Le=this.keyframesIndex,Ue=this._search(Le.times,be);return{index:Ue,milliseconds:Le.times[Ue],fileposition:Le.filepositions[Ue]}}},{key:"_search",value:function(be,Le){var Ue=0,rt=be.length-1,Kt=0,Pt=0,Vt=rt;for(Le=be[Kt]&&Le=128){et.push(String.fromCharCode(rt&65535)),Le+=2;continue}}}else if(be[Le]<240){if(_e(be,Le,2)){var Kt=(be[Le]&15)<<12|(be[Le+1]&63)<<6|be[Le+2]&63;if(Kt>=2048&&(Kt&63488)!==55296){et.push(String.fromCharCode(Kt&65535)),Le+=3;continue}}}else if(be[Le]<248&&_e(be,Le,3)){var Pt=(be[Le]&7)<<18|(be[Le+1]&63)<<12|(be[Le+2]&63)<<6|be[Le+3]&63;if(Pt>65536&&Pt<1114112){Pt-=65536,et.push(String.fromCharCode(Pt>>>10|55296)),et.push(String.fromCharCode(Pt&1023|56320)),Le+=4;continue}}}et.push(String.fromCharCode(65533)),++Le}return et.join("")}var ne=ee,Ge=function(){var Je=new ArrayBuffer(2);return new DataView(Je).setInt16(0,256,!0),new Int16Array(Je)[0]===256}(),Ee=function(){function Je(){Object(y.a)(this,Je)}return Object(p.a)(Je,null,[{key:"parseScriptData",value:function(be,Le,Ue){var rt={};try{var Kt=Je.parseValue(be,Le,Ue),Pt=Je.parseValue(be,Le+Kt.size,Ue-Kt.size);rt[Kt.data]=Pt.data}catch(Vt){c.e("AMF",Vt.toString())}return rt}},{key:"parseObject",value:function(be,Le,Ue){if(Ue<3)throw new l("Data not enough when parse ScriptDataObject");var rt=Je.parseString(be,Le,Ue),Kt=Je.parseValue(be,Le+rt.size,Ue-rt.size),Pt=Kt.objectEnd;return{data:{name:rt.data,value:Kt.data},size:rt.size+Kt.size,objectEnd:Pt}}},{key:"parseVariable",value:function(be,Le,Ue){return Je.parseObject(be,Le,Ue)}},{key:"parseString",value:function(be,Le,Ue){if(Ue<2)throw new l("Data not enough when parse String");var rt=new DataView(be,Le,Ue),Kt=rt.getUint16(0,!Ge),Pt;return Kt>0?Pt=ne(new Uint8Array(be,Le+2,Kt)):Pt="",{data:Pt,size:2+Kt}}},{key:"parseLongString",value:function(be,Le,Ue){if(Ue<4)throw new l("Data not enough when parse LongString");var rt=new DataView(be,Le,Ue),Kt=rt.getUint32(0,!Ge),Pt;return Kt>0?Pt=ne(new Uint8Array(be,Le+4,Kt)):Pt="",{data:Pt,size:4+Kt}}},{key:"parseDate",value:function(be,Le,Ue){if(Ue<10)throw new l("Data size invalid when parse Date");var rt=new DataView(be,Le,Ue),Kt=rt.getFloat64(0,!Ge),Pt=rt.getInt16(8,!Ge);return Kt+=Pt*60*1e3,{data:new Date(Kt),size:8+2}}},{key:"parseValue",value:function(be,Le,Ue){if(Ue<1)throw new l("Data not enough when parse Value");var rt=new DataView(be,Le,Ue),Kt=1,Pt=rt.getUint8(0),Vt,Mr=!1;try{switch(Pt){case 0:Vt=rt.getFloat64(1,!Ge),Kt+=8;break;case 1:{var Pr=rt.getUint8(1);Vt=!!Pr,Kt+=1;break}case 2:{var un=Je.parseString(be,Le+1,Ue-1);Vt=un.data,Kt+=un.size;break}case 3:{Vt={};var Ut=0;for((rt.getUint32(Ue-4,!Ge)&16777215)===9&&(Ut=3);Kt32)throw new e("ExpGolomb: readBits() bits exceeded max 32bits!");if(be<=this._current_word_bits_left){var Le=this._current_word>>>32-be;return this._current_word<<=be,this._current_word_bits_left-=be,Le}var Ue=this._current_word_bits_left?this._current_word:0;Ue=Ue>>>32-this._current_word_bits_left;var rt=be-this._current_word_bits_left;this._fillCurrentWord();var Kt=Math.min(rt,this._current_word_bits_left),Pt=this._current_word>>>32-Kt;return this._current_word<<=Kt,this._current_word_bits_left-=Kt,Ue=Ue<>>be)!==0)return this._current_word<<=be,this._current_word_bits_left-=be,be;return this._fillCurrentWord(),be+this._skipLeadingZero()}},{key:"readUEG",value:function(){var be=this._skipLeadingZero();return this.readBits(be+1)-1}},{key:"readSEG",value:function(){var be=this.readUEG();return be&1?be+1>>>1:-1*(be>>>1)}}]),Je}(),ce=re,ke=function(){function Je(){Object(y.a)(this,Je)}return Object(p.a)(Je,null,[{key:"_ebsp2rbsp",value:function(be){for(var Le=be,Ue=Le.byteLength,rt=new Uint8Array(Ue),Kt=0,Pt=0;Pt=2&&(Le[Pt]===3&&Le[Pt-1]===0&&Le[Pt-2]===0))continue;rt[Kt]=Le[Pt],Kt++}return new Uint8Array(rt.buffer,0,Kt)}},{key:"parseSPS",value:function(be){var Le=Je._ebsp2rbsp(be),Ue=new ce(Le);Ue.readByte();var rt=Ue.readByte();Ue.readByte();var Kt=Ue.readByte();Ue.readUEG();var Pt=Je.getProfileString(rt),Vt=Je.getLevelString(Kt),Mr=1,Pr=420,un=[0,420,422,444],Ut=8;if((rt===100||rt===110||rt===122||rt===244||rt===44||rt===83||rt===86||rt===118||rt===128||rt===138||rt===144)&&(Mr=Ue.readUEG(),Mr===3&&Ue.readBits(1),Mr<=3&&(Pr=un[Mr]),Ut=Ue.readUEG()+8,Ue.readUEG(),Ue.readBits(1),Ue.readBool()))for(var dt=Mr!==3?8:12,st=0;st0&&Re<16?(Dn=Be[Re-1],zn=We[Re-1]):Re===255&&(Dn=Ue.readByte()<<8|Ue.readByte(),zn=Ue.readByte()<<8|Ue.readByte())}if(Ue.readBool()&&Ue.readBool(),Ue.readBool()&&(Ue.readBits(4),Ue.readBool()&&Ue.readBits(24)),Ue.readBool()&&(Ue.readUEG(),Ue.readUEG()),Ue.readBool()){var He=Ue.readBits(32),Qe=Ue.readBits(32);vi=Ue.readBool(),Ri=Qe,Ve=He*2,qn=Ri/Ve}}var At=1;(Dn!==1||zn!==1)&&(At=Dn/zn);var ot=0,Bt=0;if(Mr===0)ot=1,Bt=2-gr;else{var wr=Mr===3?1:2,mr=Mr===1?2:1;ot=wr,Bt=mr*(2-gr)}var Or=(mt+1)*16,Ht=(2-gr)*((kt+1)*16);Or-=(ar+lr)*ot,Ht-=(Yr+Jr)*Bt;var cn=Math.ceil(Or*At);return Ue.destroy(),Ue=null,{profile_string:Pt,level_string:Vt,bit_depth:Ut,ref_frames:Ft,chroma_format:Pr,chroma_format_string:Je.getChromaFormatString(Pr),frame_rate:{fixed:vi,fps:qn,fps_den:Ve,fps_num:Ri},sar_ratio:{width:Dn,height:zn},codec_size:{width:Or,height:Ht},present_size:{width:cn,height:Ht}}}},{key:"_skipScalingList",value:function(be,Le){for(var Ue=8,rt=8,Kt=0,Pt=0;Pt>>8&255|(Je&255)<<8}function ye(Je){return(Je&4278190080)>>>24|(Je&16711680)>>>8|(Je&65280)<<8|(Je&255)<<24}function xe(Je,et){return Je[et]<<24|Je[et+1]<<16|Je[et+2]<<8|Je[et+3]}var Ye=function(){function Je(et,be){Object(y.a)(this,Je),this.TAG="FLVDemuxer",this._config=be,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=et.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=et.hasAudioTrack,this._hasVideo=et.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new oe,this._mediaInfo.hasAudio=this._hasAudio,this._mediaInfo.hasVideo=this._hasVideo,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._naluLengthSize=4,this._timestampBase=0,this._timescale=1e3,this._duration=0,this._durationOverrided=!1,this._referenceFrameRate={fixed:!0,fps:23.976,fps_num:23976,fps_den:1e3},this._flvSoundRateTable=[5500,11025,22050,44100,48e3],this._mpegSamplingRates=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],this._mpegAudioV10SampleRateTable=[44100,48e3,32e3,0],this._mpegAudioV20SampleRateTable=[22050,24e3,16e3,0],this._mpegAudioV25SampleRateTable=[11025,12e3,8e3,0],this._mpegAudioL1BitRateTable=[0,32,64,96,128,160,192,224,256,288,320,352,384,416,448,-1],this._mpegAudioL2BitRateTable=[0,32,48,56,64,80,96,112,128,160,192,224,256,320,384,-1],this._mpegAudioL3BitRateTable=[0,32,40,48,56,64,80,96,112,128,160,192,224,256,320,-1],this._videoTrack={type:"video",id:1,sequenceNumber:0,samples:[],length:0},this._audioTrack={type:"audio",id:2,sequenceNumber:0,samples:[],length:0},this._littleEndian=function(){var Le=new ArrayBuffer(2);return new DataView(Le).setInt16(0,256,!0),new Int16Array(Le)[0]===256}()}return Object(p.a)(Je,[{key:"destroy",value:function(){this._mediaInfo=null,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._videoTrack=null,this._audioTrack=null,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null}},{key:"bindDataSource",value:function(be){return be.onDataArrival=this.parseChunks.bind(this),this}},{key:"onTrackMetadata",get:function(){return this._onTrackMetadata},set:function(be){this._onTrackMetadata=be}},{key:"onMediaInfo",get:function(){return this._onMediaInfo},set:function(be){this._onMediaInfo=be}},{key:"onMetaDataArrived",get:function(){return this._onMetaDataArrived},set:function(be){this._onMetaDataArrived=be}},{key:"onScriptDataArrived",get:function(){return this._onScriptDataArrived},set:function(be){this._onScriptDataArrived=be}},{key:"onError",get:function(){return this._onError},set:function(be){this._onError=be}},{key:"onDataAvailable",get:function(){return this._onDataAvailable},set:function(be){this._onDataAvailable=be}},{key:"timestampBase",get:function(){return this._timestampBase},set:function(be){this._timestampBase=be}},{key:"overridedDuration",get:function(){return this._duration},set:function(be){this._durationOverrided=!0,this._duration=be,this._mediaInfo.duration=be}},{key:"overridedHasAudio",set:function(be){this._hasAudioFlagOverrided=!0,this._hasAudio=be,this._mediaInfo.hasAudio=be}},{key:"overridedHasVideo",set:function(be){this._hasVideoFlagOverrided=!0,this._hasVideo=be,this._mediaInfo.hasVideo=be}},{key:"resetMediaInfo",value:function(){this._mediaInfo=new oe}},{key:"_isInitialMetadataDispatched",value:function(){return this._hasAudio&&this._hasVideo?this._audioInitialMetadataDispatched&&this._videoInitialMetadataDispatched:this._hasAudio&&!this._hasVideo?this._audioInitialMetadataDispatched:!this._hasAudio&&this._hasVideo?this._videoInitialMetadataDispatched:!1}},{key:"parseChunks",value:function(be,Le){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new l("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");var Ue=0,rt=this._littleEndian;if(Le===0)if(be.byteLength>13){var Kt=Je.probe(be);Ue=Kt.dataOffset}else return 0;if(this._firstParse){this._firstParse=!1,Le+Ue!==this._dataOffset&&c.w(this.TAG,"First time parsing but chunk byteStart invalid!");var Pt=new DataView(be,Ue),Vt=Pt.getUint32(0,!rt);Vt!==0&&c.w(this.TAG,"PrevTagSize0 !== 0 !!!"),Ue+=4}for(;Uebe.byteLength)break;var Pr=Mr.getUint8(0),un=Mr.getUint32(0,!rt)&16777215;if(Ue+11+un+4>be.byteLength)break;if(Pr!==8&&Pr!==9&&Pr!==18){c.w(this.TAG,"Unsupported tag type ".concat(Pr,", skipped")),Ue+=11+un+4;continue}var Ut=Mr.getUint8(4),dt=Mr.getUint8(5),st=Mr.getUint8(6),Qt=Mr.getUint8(7),Jt=st|dt<<8|Ut<<16|Qt<<24,gt=Mr.getUint32(7,!rt)&16777215;gt!==0&&c.w(this.TAG,"Meet tag which has StreamID != 0!");var Ft=Ue+11;switch(Pr){case 8:this._parseAudioData(be,Ft,un,Jt);break;case 9:this._parseVideoData(be,Ft,un,Jt,Le+Ue);break;case 18:this._parseScriptData(be,Ft,un);break}var mt=Mr.getUint32(11+un,!rt);mt!==11+un&&c.w(this.TAG,"Invalid PrevTagSize ".concat(mt)),Ue+=11+un+4}return this._isInitialMetadataDispatched()&&(this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack)),Ue}},{key:"_parseScriptData",value:function(be,Le,Ue){var rt=ue.parseScriptData(be,Le,Ue);if(rt.hasOwnProperty("onMetaData")){if(rt.onMetaData==null||typeof rt.onMetaData!="object"){c.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&c.w(this.TAG,"Found another onMetaData tag!"),this._metadata=rt;var Kt=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},Kt)),typeof Kt.hasAudio=="boolean"&&(this._hasAudioFlagOverrided===!1&&(this._hasAudio=Kt.hasAudio,this._mediaInfo.hasAudio=this._hasAudio)),typeof Kt.hasVideo=="boolean"&&(this._hasVideoFlagOverrided===!1&&(this._hasVideo=Kt.hasVideo,this._mediaInfo.hasVideo=this._hasVideo)),typeof Kt.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=Kt.audiodatarate),typeof Kt.videodatarate=="number"&&(this._mediaInfo.videoDataRate=Kt.videodatarate),typeof Kt.width=="number"&&(this._mediaInfo.width=Kt.width),typeof Kt.height=="number"&&(this._mediaInfo.height=Kt.height),typeof Kt.duration=="number"){if(!this._durationOverrided){var Pt=Math.floor(Kt.duration*this._timescale);this._duration=Pt,this._mediaInfo.duration=Pt}}else this._mediaInfo.duration=0;if(typeof Kt.framerate=="number"){var Vt=Math.floor(Kt.framerate*1e3);if(Vt>0){var Mr=Vt/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=Mr,this._referenceFrameRate.fps_num=Vt,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=Mr}}if(typeof Kt.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;var Pr=Kt.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(Pr),Kt.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=Kt,c.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(rt).length>0&&(this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},rt)))}},{key:"_parseKeyframesIndex",value:function(be){for(var Le=[],Ue=[],rt=1;rt>>4;if(Mr!==2&&Mr!==10){this._onError(Ie.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+Mr);return}var Pr=0,un=(Vt&12)>>>2;if(un>=0&&un<=4)Pr=this._flvSoundRateTable[un];else{this._onError(Ie.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+un);return}var Ut=(Vt&2)>>>1,dt=Vt&1,st=this._audioMetadata,Qt=this._audioTrack;if(st||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),st=this._audioMetadata={},st.type="audio",st.id=Qt.id,st.timescale=this._timescale,st.duration=this._duration,st.audioSampleRate=Pr,st.channelCount=dt===0?1:2),Mr===10){var Jt=this._parseAACAudioData(be,Le+1,Ue-1);if(Jt==null)return;if(Jt.packetType===0){st.config&&c.w(this.TAG,"Found another AudioSpecificConfig!");var gt=Jt.data;st.audioSampleRate=gt.samplingRate,st.channelCount=gt.channelCount,st.codec=gt.codec,st.originalCodec=gt.originalCodec,st.config=gt.config,st.refSampleDuration=1024/st.audioSampleRate*st.timescale,c.v(this.TAG,"Parsed AudioSpecificConfig"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._audioInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("audio",st);var Ft=this._mediaInfo;Ft.audioCodec=st.originalCodec,Ft.audioSampleRate=st.audioSampleRate,Ft.audioChannelCount=st.channelCount,Ft.hasVideo?Ft.videoCodec!=null&&(Ft.mimeType='video/x-flv; codecs="'+Ft.videoCodec+","+Ft.audioCodec+'"'):Ft.mimeType='video/x-flv; codecs="'+Ft.audioCodec+'"',Ft.isComplete()&&this._onMediaInfo(Ft)}else if(Jt.packetType===1){var mt=this._timestampBase+rt,kt={unit:Jt.data,length:Jt.data.byteLength,dts:mt,pts:mt};Qt.samples.push(kt),Qt.length+=Jt.data.length}else c.e(this.TAG,"Flv: Unsupported AAC data type ".concat(Jt.packetType))}else if(Mr===2){if(!st.codec){var gr=this._parseMP3AudioData(be,Le+1,Ue-1,!0);if(gr==null)return;st.audioSampleRate=gr.samplingRate,st.channelCount=gr.channelCount,st.codec=gr.codec,st.originalCodec=gr.originalCodec,st.refSampleDuration=1152/st.audioSampleRate*st.timescale,c.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",st);var ar=this._mediaInfo;ar.audioCodec=st.codec,ar.audioSampleRate=st.audioSampleRate,ar.audioChannelCount=st.channelCount,ar.audioDataRate=gr.bitRate,ar.hasVideo?ar.videoCodec!=null&&(ar.mimeType='video/x-flv; codecs="'+ar.videoCodec+","+ar.audioCodec+'"'):ar.mimeType='video/x-flv; codecs="'+ar.audioCodec+'"',ar.isComplete()&&this._onMediaInfo(ar)}var lr=this._parseMP3AudioData(be,Le+1,Ue-1,!1);if(lr==null)return;var Yr=this._timestampBase+rt,Jr={unit:lr,length:lr.byteLength,dts:Yr,pts:Yr};Qt.samples.push(Jr),Qt.length+=lr.length}}},{key:"_parseAACAudioData",value:function(be,Le,Ue){if(Ue<=1){c.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}var rt={},Kt=new Uint8Array(be,Le,Ue);return rt.packetType=Kt[0],Kt[0]===0?rt.data=this._parseAACAudioSpecificConfig(be,Le+1,Ue-1):rt.data=Kt.subarray(1),rt}},{key:"_parseAACAudioSpecificConfig",value:function(be,Le,Ue){var rt=new Uint8Array(be,Le,Ue),Kt=null,Pt=0,Vt=0,Mr=null,Pr=0,un=null;if(Pt=Vt=rt[0]>>>3,Pr=(rt[0]&7)<<1|rt[1]>>>7,Pr<0||Pr>=this._mpegSamplingRates.length){this._onError(Ie.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}var Ut=this._mpegSamplingRates[Pr],dt=(rt[1]&120)>>>3;if(dt<0||dt>=8){this._onError(Ie.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}Pt===5&&(un=(rt[1]&7)<<1|rt[2]>>>7,Mr=(rt[2]&124)>>>2);var st=self.navigator.userAgent.toLowerCase();return st.indexOf("firefox")!==-1?Pr>=6?(Pt=5,Kt=new Array(4),un=Pr-3):(Pt=2,Kt=new Array(2),un=Pr):st.indexOf("android")!==-1?(Pt=2,Kt=new Array(2),un=Pr):(Pt=5,un=Pr,Kt=new Array(4),Pr>=6?un=Pr-3:dt===1&&(Pt=2,Kt=new Array(2),un=Pr)),Kt[0]=Pt<<3,Kt[0]|=(Pr&15)>>>1,Kt[1]=(Pr&15)<<7,Kt[1]|=(dt&15)<<3,Pt===5&&(Kt[1]|=(un&15)>>>1,Kt[2]=(un&1)<<7,Kt[2]|=2<<2,Kt[3]=0),{config:Kt,samplingRate:Ut,channelCount:dt,codec:"mp4a.40."+Pt,originalCodec:"mp4a.40."+Vt}}},{key:"_parseMP3AudioData",value:function(be,Le,Ue,rt){if(Ue<4){c.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}var Kt=this._littleEndian,Pt=new Uint8Array(be,Le,Ue),Vt=null;if(rt){if(Pt[0]!==255)return;var Mr=Pt[1]>>>3&3,Pr=(Pt[1]&6)>>1,un=(Pt[2]&240)>>>4,Ut=(Pt[2]&12)>>>2,dt=Pt[3]>>>6&3,st=dt!==3?2:1,Qt=0,Jt=0,gt=34,Ft="mp3";switch(Mr){case 0:Qt=this._mpegAudioV25SampleRateTable[Ut];break;case 2:Qt=this._mpegAudioV20SampleRateTable[Ut];break;case 3:Qt=this._mpegAudioV10SampleRateTable[Ut];break}switch(Pr){case 1:gt=34,un>>4,Mr=Pt&15;if(Mr!==7){this._onError(Ie.CODEC_UNSUPPORTED,"Flv: Unsupported codec in video frame: ".concat(Mr));return}this._parseAVCVideoPacket(be,Le+1,Ue-1,rt,Kt,Vt)}},{key:"_parseAVCVideoPacket",value:function(be,Le,Ue,rt,Kt,Pt){if(Ue<4){c.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}var Vt=this._littleEndian,Mr=new DataView(be,Le,Ue),Pr=Mr.getUint8(0),un=Mr.getUint32(0,!Vt)&16777215,Ut=un<<8>>8;if(Pr===0)this._parseAVCDecoderConfigurationRecord(be,Le+4,Ue-4);else if(Pr===1)this._parseAVCVideoData(be,Le+4,Ue-4,rt,Kt,Pt,Ut);else if(!(Pr===2)){this._onError(Ie.FORMAT_ERROR,"Flv: Invalid video packet type ".concat(Pr));return}}},{key:"_parseAVCDecoderConfigurationRecord",value:function(be,Le,Ue){if(Ue<7){c.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}var rt=this._videoMetadata,Kt=this._videoTrack,Pt=this._littleEndian,Vt=new DataView(be,Le,Ue);rt?typeof rt.avcc!="undefined"&&c.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),rt=this._videoMetadata={},rt.type="video",rt.id=Kt.id,rt.timescale=this._timescale,rt.duration=this._duration);var Mr=Vt.getUint8(0),Pr=Vt.getUint8(1),un=Vt.getUint8(2),Ut=Vt.getUint8(3);if(Mr!==1||Pr===0){this._onError(Ie.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(Vt.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(Ie.FORMAT_ERROR,"Flv: Strange NaluLengthSizeMinusOne: ".concat(this._naluLengthSize-1));return}var dt=Vt.getUint8(5)&31;if(dt===0){this._onError(Ie.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else dt>1&&c.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ".concat(dt));for(var st=6,Qt=0;Qt1&&c.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ".concat(Tn));st++;for(var Dn=0;Dn=Ue){c.w(this.TAG,"Malformed Nalu near timestamp ".concat(Qt,", offset = ").concat(dt,", dataSize = ").concat(Ue));break}var gt=Pr.getUint32(dt,!Mr);if(st===3&&(gt>>>=8),gt>Ue-st){c.w(this.TAG,"Malformed Nalus near timestamp ".concat(Qt,", NaluSize > DataSize!"));return}var Ft=Pr.getUint8(dt+st)&31;Ft===5&&(Jt=!0);var mt=new Uint8Array(be,Le+dt,st+gt),kt={type:Ft,data:mt};un.push(kt),Ut+=mt.byteLength,dt+=st+gt}if(un.length){var gr=this._videoTrack,ar={units:un,length:Ut,isKeyframe:Jt,dts:Qt,cts:Vt,pts:Qt+Vt};Jt&&(ar.fileposition=Kt),gr.samples.push(ar),gr.length+=Ut}}}],[{key:"probe",value:function(be){var Le=new Uint8Array(be),Ue={match:!1};if(Le[0]!==70||Le[1]!==76||Le[2]!==86||Le[3]!==1)return Ue;var rt=(Le[4]&4)>>>2!==0,Kt=(Le[4]&1)!==0,Pt=xe(Le,5);return Pt<9?Ue:{match:!0,consumed:Pt,dataOffset:Pt,hasAudioTrack:rt,hasVideoTrack:Kt}}}]),Je}(),pt=Ye,nt=function(){function Je(){Object(y.a)(this,Je)}return Object(p.a)(Je,null,[{key:"init",value:function(){Je.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[],".mp3":[]};for(var be in Je.types)Je.types.hasOwnProperty(be)&&(Je.types[be]=[be.charCodeAt(0),be.charCodeAt(1),be.charCodeAt(2),be.charCodeAt(3)]);var Le=Je.constants={};Le.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),Le.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),Le.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),Le.STSC=Le.STCO=Le.STTS,Le.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),Le.HDLR_VIDEO=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),Le.HDLR_AUDIO=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),Le.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),Le.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),Le.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}},{key:"box",value:function(be){for(var Le=8,Ue=null,rt=Array.prototype.slice.call(arguments,1),Kt=rt.length,Pt=0;Pt>>24&255,Ue[1]=Le>>>16&255,Ue[2]=Le>>>8&255,Ue[3]=Le&255,Ue.set(be,4);for(var Vt=8,Mr=0;Mr>>24&255,be>>>16&255,be>>>8&255,be&255,Le>>>24&255,Le>>>16&255,Le>>>8&255,Le&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]))}},{key:"trak",value:function(be){return Je.box(Je.types.trak,Je.tkhd(be),Je.mdia(be))}},{key:"tkhd",value:function(be){var Le=be.id,Ue=be.duration,rt=be.presentWidth,Kt=be.presentHeight;return Je.box(Je.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,Le>>>24&255,Le>>>16&255,Le>>>8&255,Le&255,0,0,0,0,Ue>>>24&255,Ue>>>16&255,Ue>>>8&255,Ue&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,rt>>>8&255,rt&255,0,0,Kt>>>8&255,Kt&255,0,0]))}},{key:"mdia",value:function(be){return Je.box(Je.types.mdia,Je.mdhd(be),Je.hdlr(be),Je.minf(be))}},{key:"mdhd",value:function(be){var Le=be.timescale,Ue=be.duration;return Je.box(Je.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,Le>>>24&255,Le>>>16&255,Le>>>8&255,Le&255,Ue>>>24&255,Ue>>>16&255,Ue>>>8&255,Ue&255,85,196,0,0]))}},{key:"hdlr",value:function(be){var Le=null;return be.type==="audio"?Le=Je.constants.HDLR_AUDIO:Le=Je.constants.HDLR_VIDEO,Je.box(Je.types.hdlr,Le)}},{key:"minf",value:function(be){var Le=null;return be.type==="audio"?Le=Je.box(Je.types.smhd,Je.constants.SMHD):Le=Je.box(Je.types.vmhd,Je.constants.VMHD),Je.box(Je.types.minf,Le,Je.dinf(),Je.stbl(be))}},{key:"dinf",value:function(){var be=Je.box(Je.types.dinf,Je.box(Je.types.dref,Je.constants.DREF));return be}},{key:"stbl",value:function(be){var Le=Je.box(Je.types.stbl,Je.stsd(be),Je.box(Je.types.stts,Je.constants.STTS),Je.box(Je.types.stsc,Je.constants.STSC),Je.box(Je.types.stsz,Je.constants.STSZ),Je.box(Je.types.stco,Je.constants.STCO));return Le}},{key:"stsd",value:function(be){return be.type==="audio"?be.codec==="mp3"?Je.box(Je.types.stsd,Je.constants.STSD_PREFIX,Je.mp3(be)):Je.box(Je.types.stsd,Je.constants.STSD_PREFIX,Je.mp4a(be)):Je.box(Je.types.stsd,Je.constants.STSD_PREFIX,Je.avc1(be))}},{key:"mp3",value:function(be){var Le=be.channelCount,Ue=be.audioSampleRate,rt=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,Le,0,16,0,0,0,0,Ue>>>8&255,Ue&255,0,0]);return Je.box(Je.types[".mp3"],rt)}},{key:"mp4a",value:function(be){var Le=be.channelCount,Ue=be.audioSampleRate,rt=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,Le,0,16,0,0,0,0,Ue>>>8&255,Ue&255,0,0]);return Je.box(Je.types.mp4a,rt,Je.esds(be))}},{key:"esds",value:function(be){var Le=be.config||[],Ue=Le.length,rt=new Uint8Array([0,0,0,0,3,23+Ue,0,1,0,4,15+Ue,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([Ue]).concat(Le).concat([6,1,2]));return Je.box(Je.types.esds,rt)}},{key:"avc1",value:function(be){var Le=be.avcc,Ue=be.codecWidth,rt=be.codecHeight,Kt=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Ue>>>8&255,Ue&255,rt>>>8&255,rt&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,10,120,113,113,47,102,108,118,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,255,255]);return Je.box(Je.types.avc1,Kt,Je.box(Je.types.avcC,Le))}},{key:"mvex",value:function(be){return Je.box(Je.types.mvex,Je.trex(be))}},{key:"trex",value:function(be){var Le=be.id,Ue=new Uint8Array([0,0,0,0,Le>>>24&255,Le>>>16&255,Le>>>8&255,Le&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return Je.box(Je.types.trex,Ue)}},{key:"moof",value:function(be,Le){return Je.box(Je.types.moof,Je.mfhd(be.sequenceNumber),Je.traf(be,Le))}},{key:"mfhd",value:function(be){var Le=new Uint8Array([0,0,0,0,be>>>24&255,be>>>16&255,be>>>8&255,be&255]);return Je.box(Je.types.mfhd,Le)}},{key:"traf",value:function(be,Le){var Ue=be.id,rt=Je.box(Je.types.tfhd,new Uint8Array([0,0,0,0,Ue>>>24&255,Ue>>>16&255,Ue>>>8&255,Ue&255])),Kt=Je.box(Je.types.tfdt,new Uint8Array([0,0,0,0,Le>>>24&255,Le>>>16&255,Le>>>8&255,Le&255])),Pt=Je.sdtp(be),Vt=Je.trun(be,Pt.byteLength+16+16+8+16+8+8);return Je.box(Je.types.traf,rt,Kt,Vt,Pt)}},{key:"sdtp",value:function(be){for(var Le=be.samples||[],Ue=Le.length,rt=new Uint8Array(4+Ue),Kt=0;Kt>>24&255,rt>>>16&255,rt>>>8&255,rt&255,Le>>>24&255,Le>>>16&255,Le>>>8&255,Le&255],0);for(var Vt=0;Vt>>24&255,Mr>>>16&255,Mr>>>8&255,Mr&255,Pr>>>24&255,Pr>>>16&255,Pr>>>8&255,Pr&255,un.isLeading<<2|un.dependsOn,un.isDependedOn<<6|un.hasRedundancy<<4|un.isNonSync,0,0,Ut>>>24&255,Ut>>>16&255,Ut>>>8&255,Ut&255],12+16*Vt)}return Je.box(Je.types.trun,Pt)}},{key:"mdat",value:function(be){return Je.box(Je.types.mdat,be)}}]),Je}();nt.init();var Oe=nt,vt=function(){function Je(){Object(y.a)(this,Je)}return Object(p.a)(Je,null,[{key:"getSilentFrame",value:function(be,Le){if(be==="mp4a.40.2"){if(Le===1)return new Uint8Array([0,200,0,128,35,128]);if(Le===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(Le===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(Le===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(Le===5)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(Le===6)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if(Le===1)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(Le===2)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(Le===3)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}return null}}]),Je}(),Ze=vt,wt=function Je(et,be,Le,Ue,rt){Object(y.a)(this,Je),this.dts=et,this.pts=be,this.duration=Le,this.originalDts=Ue,this.isSyncPoint=rt,this.fileposition=null},xt=function(){function Je(){Object(y.a)(this,Je),this.beginDts=0,this.endDts=0,this.beginPts=0,this.endPts=0,this.originalBeginDts=0,this.originalEndDts=0,this.syncPoints=[],this.firstSample=null,this.lastSample=null}return Object(p.a)(Je,[{key:"appendSyncPoint",value:function(be){be.isSyncPoint=!0,this.syncPoints.push(be)}}]),Je}(),Ot=function(){function Je(){Object(y.a)(this,Je),this._list=[]}return Object(p.a)(Je,[{key:"clear",value:function(){this._list=[]}},{key:"appendArray",value:function(be){var Le=this._list;if(be.length===0)return;Le.length>0&&be[0].originalDts=Le[Kt].dts&&beLe[rt].lastSample.originalDts&&be=Le[rt].lastSample.originalDts&&(rt===Le.length-1||rt0&&(Kt=this._searchNearestSegmentBefore(Ue.originalBeginDts)+1),this._lastAppendLocation=Kt,this._list.splice(Kt,0,Ue)}},{key:"getLastSegmentBefore",value:function(be){var Le=this._searchNearestSegmentBefore(be);return Le>=0?this._list[Le]:null}},{key:"getLastSampleBefore",value:function(be){var Le=this.getLastSegmentBefore(be);return Le!=null?Le.lastSample:null}},{key:"getLastSyncPointBefore",value:function(be){for(var Le=this._searchNearestSegmentBefore(be),Ue=this._list[Le].syncPoints;Ue.length===0&&Le>0;)Le--,Ue=this._list[Le].syncPoints;return Ue.length>0?Ue[Ue.length-1]:null}}]),Je}(),Gt=function(){function Je(et){Object(y.a)(this,Je),this.TAG="MP4Remuxer",this._config=et,this._isLive=et.isLive===!0,this._dtsBase=-1,this._dtsBaseInited=!1,this._audioDtsBase=Infinity,this._videoDtsBase=Infinity,this._audioNextDts=void 0,this._videoNextDts=void 0,this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList=new Mt("audio"),this._videoSegmentInfoList=new Mt("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(T.chrome&&(T.version.major<50||T.version.major===50&&T.version.build<2661)),this._fillSilentAfterSeek=T.msedge||T.msie,this._mp3UseMpegAudio=!T.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}return Object(p.a)(Je,[{key:"destroy",value:function(){this._dtsBase=-1,this._dtsBaseInited=!1,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList.clear(),this._audioSegmentInfoList=null,this._videoSegmentInfoList.clear(),this._videoSegmentInfoList=null,this._onInitSegment=null,this._onMediaSegment=null}},{key:"bindDataSource",value:function(be){return be.onDataAvailable=this.remux.bind(this),be.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}},{key:"onInitSegment",get:function(){return this._onInitSegment},set:function(be){this._onInitSegment=be}},{key:"onMediaSegment",get:function(){return this._onMediaSegment},set:function(be){this._onMediaSegment=be}},{key:"insertDiscontinuity",value:function(){this._audioNextDts=this._videoNextDts=void 0}},{key:"seek",value:function(be){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}},{key:"remux",value:function(be,Le){if(!this._onMediaSegment)throw new l("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(be,Le),this._remuxVideo(Le),this._remuxAudio(be)}},{key:"_onTrackMetadataReceived",value:function(be,Le){var Ue=null,rt="mp4",Kt=Le.codec;if(be==="audio")this._audioMeta=Le,Le.codec==="mp3"&&this._mp3UseMpegAudio?(rt="mpeg",Kt="",Ue=new Uint8Array):Ue=Oe.generateInitSegment(Le);else if(be==="video")this._videoMeta=Le,Ue=Oe.generateInitSegment(Le);else return;if(!this._onInitSegment)throw new l("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(be,{type:be,data:Ue.buffer,codec:Kt,container:"".concat(be,"/").concat(rt),mediaDuration:Le.duration})}},{key:"_calculateDtsBase",value:function(be,Le){if(this._dtsBaseInited)return;be.samples&&be.samples.length&&(this._audioDtsBase=be.samples[0].dts),Le.samples&&Le.samples.length&&(this._videoDtsBase=Le.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0}},{key:"flushStashedSamples",value:function(){var be=this._videoStashedLastSample,Le=this._audioStashedLastSample,Ue={type:"video",id:1,sequenceNumber:0,samples:[],length:0};be!=null&&(Ue.samples.push(be),Ue.length=be.length);var rt={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};Le!=null&&(rt.samples.push(Le),rt.length=Le.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(Ue,!0),this._remuxAudio(rt,!0)}},{key:"_remuxAudio",value:function(be,Le){if(this._audioMeta==null)return;var Ue=be,rt=Ue.samples,Kt=void 0,Pt=-1,Vt=-1,Mr=-1,Pr=this._audioMeta.refSampleDuration,un=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,Ut=this._dtsBaseInited&&this._audioNextDts===void 0,dt=!1;if(!rt||rt.length===0)return;if(rt.length===1&&!Le)return;var st=0,Qt=null,Jt=0;un?(st=0,Jt=Ue.length):(st=8,Jt=8+Ue.length);var gt=null;if(rt.length>1&&(gt=rt.pop(),Jt-=gt.length),this._audioStashedLastSample!=null){var Ft=this._audioStashedLastSample;this._audioStashedLastSample=null,rt.unshift(Ft),Jt+=Ft.length}gt!=null&&(this._audioStashedLastSample=gt);var mt=rt[0].dts-this._dtsBase;if(this._audioNextDts)Kt=mt-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())Kt=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&(this._audioMeta.originalCodec!=="mp3"&&(dt=!0));else{var kt=this._audioSegmentInfoList.getLastSampleBefore(mt);if(kt!=null){var gr=mt-(kt.originalDts+kt.duration);gr<=3&&(gr=0);var ar=kt.dts+kt.duration+gr;Kt=mt-ar}else Kt=0}if(dt){var lr=mt-Kt,Yr=this._videoSegmentInfoList.getLastSegmentBefore(mt);if(Yr!=null&&Yr.beginDts=1?Re=zn[zn.length-1].duration:Re=Math.floor(Pr);var He=!1,Qe=null;if(Re>Pr*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!T.safari){He=!0;var At=Math.abs(Re-Pr),ot=Math.ceil(At/Pr),Bt=Se+Pr;c.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync. `+"dts: ".concat(Se+Re," ms, expected: ").concat(Se+Math.round(Pr)," ms, ")+"delta: ".concat(Math.round(At)," ms, generate: ").concat(ot," frames"));var wr=Ze.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);wr==null&&(c.w(this.TAG,"Unable to generate silent frame for "+"".concat(this._audioMeta.originalCodec," with ").concat(this._audioMeta.channelCount," channels, repeat last frame")),wr=Ri),Qe=[];for(var mr=0;mr0){var Ht=Qe[Qe.length-1];Ht.duration=Or-Ht.dts}var cn={dts:Or,pts:Or,cts:0,unit:wr,size:wr.byteLength,duration:0,originalDts:Ve,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};Qe.push(cn),Jt+=cn.size,Bt+=Pr}var nr=Qe[Qe.length-1];nr.duration=Se+Re-nr.dts,Re=Math.round(Pr)}zn.push({dts:Se,pts:Se,cts:0,unit:vi.unit,size:vi.unit.byteLength,duration:Re,originalDts:Ve,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),He&&zn.push.apply(zn,Qe)}un?Qt=new Uint8Array(Jt):(Qt=new Uint8Array(Jt),Qt[0]=Jt>>>24&255,Qt[1]=Jt>>>16&255,Qt[2]=Jt>>>8&255,Qt[3]=Jt&255,Qt.set(Oe.types.mdat,4));for(var Xr=0;Xr1&&(st=rt.pop(),dt-=st.length),this._videoStashedLastSample!=null){var Qt=this._videoStashedLastSample;this._videoStashedLastSample=null,rt.unshift(Qt),dt+=Qt.length}st!=null&&(this._videoStashedLastSample=st);var Jt=rt[0].dts-this._dtsBase;if(this._videoNextDts)Kt=Jt-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())Kt=0;else{var gt=this._videoSegmentInfoList.getLastSampleBefore(Jt);if(gt!=null){var Ft=Jt-(gt.originalDts+gt.duration);Ft<=3&&(Ft=0);var mt=gt.dts+gt.duration+Ft;Kt=Jt-mt}else Kt=0}for(var kt=new xt,gr=[],ar=0;ar=1?qn=gr[gr.length-1].duration:qn=Math.floor(this._videoMeta.refSampleDuration);if(Jr){var Ve=new wt(Tn,zn,qn,lr.dts,!0);Ve.fileposition=lr.fileposition,kt.appendSyncPoint(Ve)}gr.push({dts:Tn,pts:zn,cts:Dn,units:lr.units,size:lr.length,isKeyframe:Jr,duration:qn,originalDts:Yr,flags:{isLeading:0,dependsOn:Jr?2:1,isDependedOn:Jr?1:0,hasRedundancy:0,isNonSync:Jr?0:1}})}Ut=new Uint8Array(dt),Ut[0]=dt>>>24&255,Ut[1]=dt>>>16&255,Ut[2]=dt>>>8&255,Ut[3]=dt&255,Ut.set(Oe.types.mdat,4);for(var Se=0;Se0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,Kt=this._demuxer.parseChunks(be,Le);else if((rt=pt.probe(be)).match){this._demuxer=new pt(rt,this._config),this._remuxer||(this._remuxer=new $e(this._config));var Pt=this._mediaDataSource;Pt.duration!=null&&!isNaN(Pt.duration)&&(this._demuxer.overridedDuration=Pt.duration),typeof Pt.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=Pt.hasAudio),typeof Pt.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=Pt.hasVideo),this._demuxer.timestampBase=Pt.segments[this._currentSegmentIndex].timestampBase,this._demuxer.onError=this._onDemuxException.bind(this),this._demuxer.onMediaInfo=this._onMediaInfo.bind(this),this._demuxer.onMetaDataArrived=this._onMetaDataArrived.bind(this),this._demuxer.onScriptDataArrived=this._onScriptDataArrived.bind(this),this._remuxer.bindDataSource(this._demuxer.bindDataSource(this._ioctl)),this._remuxer.onInitSegment=this._onRemuxerInitSegmentArrival.bind(this),this._remuxer.onMediaSegment=this._onRemuxerMediaSegmentArrival.bind(this),Kt=this._demuxer.parseChunks(be,Le)}else rt=null,c.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(function(){Ue._internalAbort()}),this._emitter.emit(q.DEMUX_ERROR,Ie.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),Kt=0;return Kt}},{key:"_onMediaInfo",value:function(be){var Le=this;this._mediaInfo==null&&(this._mediaInfo=Object.assign({},be),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,oe.prototype));var Ue=Object.assign({},be);Object.setPrototypeOf(Ue,oe.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=Ue,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(function(){var rt=Le._pendingSeekTime;Le._pendingSeekTime=null,Le.seek(rt)})}},{key:"_onMetaDataArrived",value:function(be){this._emitter.emit(q.METADATA_ARRIVED,be)}},{key:"_onScriptDataArrived",value:function(be){this._emitter.emit(q.SCRIPTDATA_ARRIVED,be)}},{key:"_onIOSeeked",value:function(){this._remuxer.insertDiscontinuity()}},{key:"_onIOComplete",value:function(be){var Le=be,Ue=Le+1;Ue0&&Ue[0].originalDts===rt&&(rt=Ue[0].pts),this._emitter.emit(q.RECOMMEND_SEEKPOINT,rt)}}},{key:"_enableStatisticsReporter",value:function(){this._statisticsReporter==null&&(this._statisticsReporter=self.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval))}},{key:"_disableStatisticsReporter",value:function(){this._statisticsReporter&&(self.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"_reportSegmentMediaInfo",value:function(be){var Le=this._mediaInfo.segments[be],Ue=Object.assign({},Le);Ue.duration=this._mediaInfo.duration,Ue.segmentCount=this._mediaInfo.segmentCount,delete Ue.segments,delete Ue.keyframesIndex,this._emitter.emit(q.MEDIA_INFO,Ue)}},{key:"_reportStatisticsInfo",value:function(){var be={};be.url=this._ioctl.currentURL,be.hasRedirect=this._ioctl.hasRedirect,be.hasRedirect&&(be.redirectedURL=this._ioctl.currentRedirectedURL),be.speed=this._ioctl.currentSpeed,be.loaderType=this._ioctl.loaderType,be.currentSegmentIndex=this._currentSegmentIndex,be.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(q.STATISTICS_INFO,be)}}]),Je}(),qe=bt,le=function(et){var be="TransmuxingWorker",Le=null,Ue=Jt.bind(this);m.install(),et.addEventListener("message",function(gt){switch(gt.data.cmd){case"init":Le=new qe(gt.data.param[0],gt.data.param[1]),Le.on(q.IO_ERROR,dt.bind(this)),Le.on(q.DEMUX_ERROR,st.bind(this)),Le.on(q.INIT_SEGMENT,rt.bind(this)),Le.on(q.MEDIA_SEGMENT,Kt.bind(this)),Le.on(q.LOADING_COMPLETE,Pt.bind(this)),Le.on(q.RECOVERED_EARLY_EOF,Vt.bind(this)),Le.on(q.MEDIA_INFO,Mr.bind(this)),Le.on(q.METADATA_ARRIVED,Pr.bind(this)),Le.on(q.SCRIPTDATA_ARRIVED,un.bind(this)),Le.on(q.STATISTICS_INFO,Ut.bind(this)),Le.on(q.RECOMMEND_SEEKPOINT,Qt.bind(this));break;case"destroy":Le&&(Le.destroy(),Le=null),et.postMessage({msg:"destroyed"});break;case"start":Le.start();break;case"stop":Le.stop();break;case"seek":Le.seek(gt.data.param);break;case"pause":Le.pause();break;case"resume":Le.resume();break;case"logging_config":{var Ft=gt.data.param;me.applyConfig(Ft),Ft.enableCallback===!0?me.addLogListener(Ue):me.removeLogListener(Ue);break}}});function rt(gt,Ft){var mt={msg:q.INIT_SEGMENT,data:{type:gt,data:Ft}};et.postMessage(mt,[Ft.data])}function Kt(gt,Ft){var mt={msg:q.MEDIA_SEGMENT,data:{type:gt,data:Ft}};et.postMessage(mt,[Ft.data])}function Pt(){var gt={msg:q.LOADING_COMPLETE};et.postMessage(gt)}function Vt(){var gt={msg:q.RECOVERED_EARLY_EOF};et.postMessage(gt)}function Mr(gt){var Ft={msg:q.MEDIA_INFO,data:gt};et.postMessage(Ft)}function Pr(gt){var Ft={msg:q.METADATA_ARRIVED,data:gt};et.postMessage(Ft)}function un(gt){var Ft={msg:q.SCRIPTDATA_ARRIVED,data:gt};et.postMessage(Ft)}function Ut(gt){var Ft={msg:q.STATISTICS_INFO,data:gt};et.postMessage(Ft)}function dt(gt,Ft){et.postMessage({msg:q.IO_ERROR,data:{type:gt,info:Ft}})}function st(gt,Ft){et.postMessage({msg:q.DEMUX_ERROR,data:{type:gt,info:Ft}})}function Qt(gt){et.postMessage({msg:q.RECOMMEND_SEEKPOINT,data:gt})}function Jt(gt,Ft){et.postMessage({msg:"logcat_callback",data:{type:gt,logcat:Ft}})}},Nt=le,tr=function(){function Je(et,be){if(Object(y.a)(this,Je),this.TAG="Transmuxer",this._emitter=new f.a,be.enableWorker&&typeof Worker!="undefined")try{var Le=t("0r65");this._worker=Le(Nt),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[et,be]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},me.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:me.getConfig()})}catch(rt){c.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new qe(et,be)}else this._controller=new qe(et,be);if(this._controller){var Ue=this._controller;Ue.on(q.IO_ERROR,this._onIOError.bind(this)),Ue.on(q.DEMUX_ERROR,this._onDemuxError.bind(this)),Ue.on(q.INIT_SEGMENT,this._onInitSegment.bind(this)),Ue.on(q.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),Ue.on(q.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),Ue.on(q.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),Ue.on(q.MEDIA_INFO,this._onMediaInfo.bind(this)),Ue.on(q.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),Ue.on(q.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),Ue.on(q.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),Ue.on(q.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}return Object(p.a)(Je,[{key:"destroy",value:function(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),me.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(be,Le){this._emitter.addListener(be,Le)}},{key:"off",value:function(be,Le){this._emitter.removeListener(be,Le)}},{key:"hasWorker",value:function(){return this._worker!=null}},{key:"open",value:function(){this._worker?this._worker.postMessage({cmd:"start"}):this._controller.start()}},{key:"close",value:function(){this._worker?this._worker.postMessage({cmd:"stop"}):this._controller.stop()}},{key:"seek",value:function(be){this._worker?this._worker.postMessage({cmd:"seek",param:be}):this._controller.seek(be)}},{key:"pause",value:function(){this._worker?this._worker.postMessage({cmd:"pause"}):this._controller.pause()}},{key:"resume",value:function(){this._worker?this._worker.postMessage({cmd:"resume"}):this._controller.resume()}},{key:"_onInitSegment",value:function(be,Le){var Ue=this;Promise.resolve().then(function(){Ue._emitter.emit(q.INIT_SEGMENT,be,Le)})}},{key:"_onMediaSegment",value:function(be,Le){var Ue=this;Promise.resolve().then(function(){Ue._emitter.emit(q.MEDIA_SEGMENT,be,Le)})}},{key:"_onLoadingComplete",value:function(){var be=this;Promise.resolve().then(function(){be._emitter.emit(q.LOADING_COMPLETE)})}},{key:"_onRecoveredEarlyEof",value:function(){var be=this;Promise.resolve().then(function(){be._emitter.emit(q.RECOVERED_EARLY_EOF)})}},{key:"_onMediaInfo",value:function(be){var Le=this;Promise.resolve().then(function(){Le._emitter.emit(q.MEDIA_INFO,be)})}},{key:"_onMetaDataArrived",value:function(be){var Le=this;Promise.resolve().then(function(){Le._emitter.emit(q.METADATA_ARRIVED,be)})}},{key:"_onScriptDataArrived",value:function(be){var Le=this;Promise.resolve().then(function(){Le._emitter.emit(q.SCRIPTDATA_ARRIVED,be)})}},{key:"_onStatisticsInfo",value:function(be){var Le=this;Promise.resolve().then(function(){Le._emitter.emit(q.STATISTICS_INFO,be)})}},{key:"_onIOError",value:function(be,Le){var Ue=this;Promise.resolve().then(function(){Ue._emitter.emit(q.IO_ERROR,be,Le)})}},{key:"_onDemuxError",value:function(be,Le){var Ue=this;Promise.resolve().then(function(){Ue._emitter.emit(q.DEMUX_ERROR,be,Le)})}},{key:"_onRecommendSeekpoint",value:function(be){var Le=this;Promise.resolve().then(function(){Le._emitter.emit(q.RECOMMEND_SEEKPOINT,be)})}},{key:"_onLoggingConfigChanged",value:function(be){this._worker&&this._worker.postMessage({cmd:"logging_config",param:be})}},{key:"_onWorkerMessage",value:function(be){var Le=be.data,Ue=Le.data;if(Le.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch(Le.msg){case q.INIT_SEGMENT:case q.MEDIA_SEGMENT:this._emitter.emit(Le.msg,Ue.type,Ue.data);break;case q.LOADING_COMPLETE:case q.RECOVERED_EARLY_EOF:this._emitter.emit(Le.msg);break;case q.MEDIA_INFO:Object.setPrototypeOf(Ue,oe.prototype),this._emitter.emit(Le.msg,Ue);break;case q.METADATA_ARRIVED:case q.SCRIPTDATA_ARRIVED:case q.STATISTICS_INFO:this._emitter.emit(Le.msg,Ue);break;case q.IO_ERROR:case q.DEMUX_ERROR:this._emitter.emit(Le.msg,Ue.type,Ue.info);break;case q.RECOMMEND_SEEKPOINT:this._emitter.emit(Le.msg,Ue);break;case"logcat_callback":c.emitter.emit("log",Ue.type,Ue.logcat);break;default:break}}}]),Je}(),lt=tr,zt={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"},cr=zt,Vr=function(){function Je(et){Object(y.a)(this,Je),this.TAG="MSEController",this._config=et,this._emitter=new f.a,this._config.isLive&&this._config.autoCleanupSourceBuffer==null&&(this._config.autoCleanupSourceBuffer=!0),this.e={onSourceOpen:this._onSourceOpen.bind(this),onSourceEnded:this._onSourceEnded.bind(this),onSourceClose:this._onSourceClose.bind(this),onSourceBufferError:this._onSourceBufferError.bind(this),onSourceBufferUpdateEnd:this._onSourceBufferUpdateEnd.bind(this)},this._mediaSource=null,this._mediaSourceObjectURL=null,this._mediaElement=null,this._isBufferFull=!1,this._hasPendingEos=!1,this._requireSetMediaDuration=!1,this._pendingMediaDuration=0,this._pendingSourceBufferInit=[],this._mimeTypes={video:null,audio:null},this._sourceBuffers={video:null,audio:null},this._lastInitSegments={video:null,audio:null},this._pendingSegments={video:[],audio:[]},this._pendingRemoveRanges={video:[],audio:[]},this._idrList=new Ot}return Object(p.a)(Je,[{key:"destroy",value:function(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(be,Le){this._emitter.addListener(be,Le)}},{key:"off",value:function(be,Le){this._emitter.removeListener(be,Le)}},{key:"attachMediaElement",value:function(be){if(this._mediaSource)throw new l("MediaSource has been attached to an HTMLMediaElement!");var Le=this._mediaSource=new window.MediaSource;Le.addEventListener("sourceopen",this.e.onSourceOpen),Le.addEventListener("sourceended",this.e.onSourceEnded),Le.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=be,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),be.src=this._mediaSourceObjectURL}},{key:"detachMediaElement",value:function(){if(this._mediaSource){var be=this._mediaSource;for(var Le in this._sourceBuffers){var Ue=this._pendingSegments[Le];Ue.splice(0,Ue.length),this._pendingSegments[Le]=null,this._pendingRemoveRanges[Le]=null,this._lastInitSegments[Le]=null;var rt=this._sourceBuffers[Le];if(rt){if(be.readyState!=="closed"){try{be.removeSourceBuffer(rt)}catch(Kt){c.e(this.TAG,Kt.message)}rt.removeEventListener("error",this.e.onSourceBufferError),rt.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[Le]=null,this._sourceBuffers[Le]=null}}if(be.readyState==="open")try{be.endOfStream()}catch(Kt){c.e(this.TAG,Kt.message)}be.removeEventListener("sourceopen",this.e.onSourceOpen),be.removeEventListener("sourceended",this.e.onSourceEnded),be.removeEventListener("sourceclose",this.e.onSourceClose),this._pendingSourceBufferInit=[],this._isBufferFull=!1,this._idrList.clear(),this._mediaSource=null}this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement=null),this._mediaSourceObjectURL&&(window.URL.revokeObjectURL(this._mediaSourceObjectURL),this._mediaSourceObjectURL=null)}},{key:"appendInitSegment",value:function(be,Le){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push(be),this._pendingSegments[be.type].push(be);return}var Ue=be,rt="".concat(Ue.container);Ue.codec&&Ue.codec.length>0&&(rt+=";codecs=".concat(Ue.codec));var Kt=!1;if(c.v(this.TAG,"Received Initialization Segment, mimeType: "+rt),this._lastInitSegments[Ue.type]=Ue,rt!==this._mimeTypes[Ue.type]){if(this._mimeTypes[Ue.type])c.v(this.TAG,"Notice: ".concat(Ue.type," mimeType changed, origin: ").concat(this._mimeTypes[Ue.type],", target: ").concat(rt));else{Kt=!0;try{var Pt=this._sourceBuffers[Ue.type]=this._mediaSource.addSourceBuffer(rt);Pt.addEventListener("error",this.e.onSourceBufferError),Pt.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(Vt){c.e(this.TAG,Vt.message),this._emitter.emit(cr.ERROR,{code:Vt.code,msg:Vt.message});return}}this._mimeTypes[Ue.type]=rt}Le||this._pendingSegments[Ue.type].push(Ue),Kt||this._sourceBuffers[Ue.type]&&!this._sourceBuffers[Ue.type].updating&&this._doAppendSegments(),T.safari&&Ue.container==="audio/mpeg"&&Ue.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=Ue.mediaDuration/1e3,this._updateMediaSourceDuration())}},{key:"appendMediaSegment",value:function(be){var Le=be;this._pendingSegments[Le.type].push(Le),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();var Ue=this._sourceBuffers[Le.type];Ue&&!Ue.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()}},{key:"seek",value:function(be){for(var Le in this._sourceBuffers){if(!this._sourceBuffers[Le])continue;var Ue=this._sourceBuffers[Le];if(this._mediaSource.readyState==="open")try{Ue.abort()}catch(Pr){c.e(this.TAG,Pr.message)}this._idrList.clear();var rt=this._pendingSegments[Le];if(rt.splice(0,rt.length),this._mediaSource.readyState==="closed")continue;for(var Kt=0;Kt=1&&be-rt.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}},{key:"_doCleanupSourceBuffer",value:function(){var be=this._mediaElement.currentTime;for(var Le in this._sourceBuffers){var Ue=this._sourceBuffers[Le];if(Ue){for(var rt=Ue.buffered,Kt=!1,Pt=0;Pt=this._config.autoCleanupMaxBackwardDuration){Kt=!0;var Pr=be-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[Le].push({start:Vt,end:Pr})}}else Mr0&&(isNaN(Le)||Ue>Le)&&(c.v(this.TAG,"Update MediaSource duration from ".concat(Le," to ").concat(Ue)),this._mediaSource.duration=Ue),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}},{key:"_doRemoveRanges",value:function(){for(var be in this._pendingRemoveRanges){if(!this._sourceBuffers[be]||this._sourceBuffers[be].updating)continue;for(var Le=this._sourceBuffers[be],Ue=this._pendingRemoveRanges[be];Ue.length&&!Le.updating;){var rt=Ue.shift();Le.remove(rt.start,rt.end)}}}},{key:"_doAppendSegments",value:function(){var be=this._pendingSegments;for(var Le in be){if(!this._sourceBuffers[Le]||this._sourceBuffers[Le].updating)continue;if(be[Le].length>0){var Ue=be[Le].shift();if(Ue.timestampOffset){var rt=this._sourceBuffers[Le].timestampOffset,Kt=Ue.timestampOffset/1e3,Pt=Math.abs(rt-Kt);Pt>.1&&(c.v(this.TAG,"Update MPEG audio timestampOffset from ".concat(rt," to ").concat(Kt)),this._sourceBuffers[Le].timestampOffset=Kt),delete Ue.timestampOffset}if(!Ue.data||Ue.data.byteLength===0)continue;try{this._sourceBuffers[Le].appendBuffer(Ue.data),this._isBufferFull=!1,Le==="video"&&Ue.hasOwnProperty("info")&&this._idrList.appendArray(Ue.info.syncPoints)}catch(Vt){this._pendingSegments[Le].unshift(Ue),Vt.code===22?(this._isBufferFull||this._emitter.emit(cr.BUFFER_FULL),this._isBufferFull=!0):(c.e(this.TAG,Vt.message),this._emitter.emit(cr.ERROR,{code:Vt.code,msg:Vt.message}))}}}}},{key:"_onSourceOpen",value:function(){if(c.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0)for(var be=this._pendingSourceBufferInit;be.length;){var Le=be.shift();this.appendInitSegment(Le,!0)}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(cr.SOURCE_OPEN)}},{key:"_onSourceEnded",value:function(){c.v(this.TAG,"MediaSource onSourceEnded")}},{key:"_onSourceClose",value:function(){c.v(this.TAG,"MediaSource onSourceClose"),this._mediaSource&&this.e!=null&&(this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._mediaSource.removeEventListener("sourceended",this.e.onSourceEnded),this._mediaSource.removeEventListener("sourceclose",this.e.onSourceClose))}},{key:"_hasPendingSegments",value:function(){var be=this._pendingSegments;return be.video.length>0||be.audio.length>0}},{key:"_hasPendingRemoveRanges",value:function(){var be=this._pendingRemoveRanges;return be.video.length>0||be.audio.length>0}},{key:"_onSourceBufferUpdateEnd",value:function(){this._requireSetMediaDuration?this._updateMediaSourceDuration():this._hasPendingRemoveRanges()?this._doRemoveRanges():this._hasPendingSegments()?this._doAppendSegments():this._hasPendingEos&&this.endOfStream(),this._emitter.emit(cr.UPDATE_END)}},{key:"_onSourceBufferError",value:function(be){c.e(this.TAG,"SourceBuffer Error: ".concat(be))}}]),Je}(),ur=Vr,ir={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},Lt={NETWORK_EXCEPTION:h.EXCEPTION,NETWORK_STATUS_CODE_INVALID:h.HTTP_STATUS_CODE_INVALID,NETWORK_TIMEOUT:h.CONNECTING_TIMEOUT,NETWORK_UNRECOVERABLE_EARLY_EOF:h.UNRECOVERABLE_EARLY_EOF,MEDIA_MSE_ERROR:"MediaMSEError",MEDIA_FORMAT_ERROR:Ie.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:Ie.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:Ie.CODEC_UNSUPPORTED},at=function(){function Je(et,be){if(Object(y.a)(this,Je),this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new f.a,this._config=X(),typeof be=="object"&&Object.assign(this._config,be),et.type.toLowerCase()!=="flv")throw new e("FlvPlayer requires an flv MediaDataSource input!");et.isLive===!0&&(this._config.isLive=!0),this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this),onvSeeking:this._onvSeeking.bind(this),onvCanPlay:this._onvCanPlay.bind(this),onvStalled:this._onvStalled.bind(this),onvProgress:this._onvProgress.bind(this)},self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now,this._pendingSeekTime=null,this._requestSetTime=!1,this._seekpointRecord=null,this._progressChecker=null,this._mediaDataSource=et,this._mediaElement=null,this._msectl=null,this._transmuxer=null,this._mseSourceOpened=!1,this._hasPendingLoad=!1,this._receivedCanPlay=!1,this._mediaInfo=null,this._statisticsInfo=null;var Le=T.chrome&&(T.version.major<50||T.version.major===50&&T.version.build<2661);this._alwaysSeekKeyframe=!!(Le||T.msedge||T.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}return Object(p.a)(Je,[{key:"destroy",value:function(){this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._transmuxer&&this.unload(),this._mediaElement&&this.detachMediaElement(),this.e=null,this._mediaDataSource=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(be,Le){var Ue=this;be===ae.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(function(){Ue._emitter.emit(ae.MEDIA_INFO,Ue.mediaInfo)}):be===ae.STATISTICS_INFO&&(this._statisticsInfo!=null&&Promise.resolve().then(function(){Ue._emitter.emit(ae.STATISTICS_INFO,Ue.statisticsInfo)})),this._emitter.addListener(be,Le)}},{key:"off",value:function(be,Le){this._emitter.removeListener(be,Le)}},{key:"attachMediaElement",value:function(be){var Le=this;if(this._mediaElement=be,be.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),be.addEventListener("seeking",this.e.onvSeeking),be.addEventListener("canplay",this.e.onvCanPlay),be.addEventListener("stalled",this.e.onvStalled),be.addEventListener("progress",this.e.onvProgress),this._msectl=new ur(this._config),this._msectl.on(cr.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(cr.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(cr.SOURCE_OPEN,function(){Le._mseSourceOpened=!0,Le._hasPendingLoad&&(Le._hasPendingLoad=!1,Le.load())}),this._msectl.on(cr.ERROR,function(Ue){Le._emitter.emit(ae.ERROR,ir.MEDIA_ERROR,Lt.MEDIA_MSE_ERROR,Ue)}),this._msectl.attachMediaElement(be),this._pendingSeekTime!=null)try{be.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(Ue){}}},{key:"detachMediaElement",value:function(){this._mediaElement&&(this._msectl.detachMediaElement(),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement.removeEventListener("seeking",this.e.onvSeeking),this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay),this._mediaElement.removeEventListener("stalled",this.e.onvStalled),this._mediaElement.removeEventListener("progress",this.e.onvProgress),this._mediaElement=null),this._msectl&&(this._msectl.destroy(),this._msectl=null)}},{key:"load",value:function(){var be=this;if(!this._mediaElement)throw new l("HTMLMediaElement must be attached before load()!");if(this._transmuxer)throw new l("FlvPlayer.load() has been called, please call unload() first!");if(this._hasPendingLoad)return;if(this._config.deferLoadAfterSourceOpen&&this._mseSourceOpened===!1){this._hasPendingLoad=!0;return}this._mediaElement.readyState>0&&(this._requestSetTime=!0,this._mediaElement.currentTime=0),this._transmuxer=new lt(this._mediaDataSource,this._config),this._transmuxer.on(q.INIT_SEGMENT,function(Le,Ue){be._msectl.appendInitSegment(Ue)}),this._transmuxer.on(q.MEDIA_SEGMENT,function(Le,Ue){if(be._msectl.appendMediaSegment(Ue),be._config.lazyLoad&&!be._config.isLive){var rt=be._mediaElement.currentTime;Ue.info.endDts>=(rt+be._config.lazyLoadMaxDuration)*1e3&&(be._progressChecker==null&&(c.v(be.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),be._suspendTransmuxer()))}}),this._transmuxer.on(q.LOADING_COMPLETE,function(){be._msectl.endOfStream(),be._emitter.emit(ae.LOADING_COMPLETE)}),this._transmuxer.on(q.RECOVERED_EARLY_EOF,function(){be._emitter.emit(ae.RECOVERED_EARLY_EOF)}),this._transmuxer.on(q.IO_ERROR,function(Le,Ue){be._emitter.emit(ae.ERROR,ir.NETWORK_ERROR,Le,Ue)}),this._transmuxer.on(q.DEMUX_ERROR,function(Le,Ue){be._emitter.emit(ae.ERROR,ir.MEDIA_ERROR,Le,{code:-1,msg:Ue})}),this._transmuxer.on(q.MEDIA_INFO,function(Le){be._mediaInfo=Le,be._emitter.emit(ae.MEDIA_INFO,Object.assign({},Le))}),this._transmuxer.on(q.METADATA_ARRIVED,function(Le){be._emitter.emit(ae.METADATA_ARRIVED,Le)}),this._transmuxer.on(q.SCRIPTDATA_ARRIVED,function(Le){be._emitter.emit(ae.SCRIPTDATA_ARRIVED,Le)}),this._transmuxer.on(q.STATISTICS_INFO,function(Le){be._statisticsInfo=be._fillStatisticsInfo(Le),be._emitter.emit(ae.STATISTICS_INFO,Object.assign({},be._statisticsInfo))}),this._transmuxer.on(q.RECOMMEND_SEEKPOINT,function(Le){be._mediaElement&&!be._config.accurateSeek&&(be._requestSetTime=!0,be._mediaElement.currentTime=Le/1e3)}),this._transmuxer.open()}},{key:"unload",value:function(){this._mediaElement&&this._mediaElement.pause(),this._msectl&&this._msectl.seek(0),this._transmuxer&&(this._transmuxer.close(),this._transmuxer.destroy(),this._transmuxer=null)}},{key:"play",value:function(){return this._mediaElement.play()}},{key:"pause",value:function(){this._mediaElement.pause()}},{key:"type",get:function(){return this._type}},{key:"buffered",get:function(){return this._mediaElement.buffered}},{key:"duration",get:function(){return this._mediaElement.duration}},{key:"volume",get:function(){return this._mediaElement.volume},set:function(be){this._mediaElement.volume=be}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(be){this._mediaElement.muted=be}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(be){this._mediaElement?this._internalSeek(be):this._pendingSeekTime=be}},{key:"mediaInfo",get:function(){return Object.assign({},this._mediaInfo)}},{key:"statisticsInfo",get:function(){return this._statisticsInfo==null&&(this._statisticsInfo={}),this._statisticsInfo=this._fillStatisticsInfo(this._statisticsInfo),Object.assign({},this._statisticsInfo)}},{key:"_fillStatisticsInfo",value:function(be){if(be.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return be;var Le=!0,Ue=0,rt=0;if(this._mediaElement.getVideoPlaybackQuality){var Kt=this._mediaElement.getVideoPlaybackQuality();Ue=Kt.totalVideoFrames,rt=Kt.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(Ue=this._mediaElement.webkitDecodedFrameCount,rt=this._mediaElement.webkitDroppedFrameCount):Le=!1;return Le&&(be.decodedFrames=Ue,be.droppedFrames=rt),be}},{key:"_onmseUpdateEnd",value:function(){if(!this._config.lazyLoad||this._config.isLive)return;for(var be=this._mediaElement.buffered,Le=this._mediaElement.currentTime,Ue=0,rt=0,Kt=0;Kt=Le+this._config.lazyLoadMaxDuration&&this._progressChecker==null&&(c.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}},{key:"_onmseBufferFull",value:function(){c.v(this.TAG,"MSE SourceBuffer is full, suspend transmuxing task"),this._progressChecker==null&&this._suspendTransmuxer()}},{key:"_suspendTransmuxer",value:function(){this._transmuxer&&(this._transmuxer.pause(),this._progressChecker==null&&(this._progressChecker=window.setInterval(this._checkProgressAndResume.bind(this),1e3)))}},{key:"_checkProgressAndResume",value:function(){for(var be=this._mediaElement.currentTime,Le=this._mediaElement.buffered,Ue=!1,rt=0;rt=Kt&&be=Pt-this._config.lazyLoadRecoverDuration&&(Ue=!0);break}}Ue&&(window.clearInterval(this._progressChecker),this._progressChecker=null,Ue&&(c.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}},{key:"_isTimepointBuffered",value:function(be){for(var Le=this._mediaElement.buffered,Ue=0;Ue=rt&&be0){var Kt=this._mediaElement.buffered.start(0);(Kt<1&&be0&&Le.currentTime0){var rt=Ue.start(0);if(rt<1&&Le0&&(this._mediaElement.currentTime=0),this._mediaElement.preload="auto",this._mediaElement.load(),this._statisticsReporter=window.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval)}},{key:"unload",value:function(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src")),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"play",value:function(){return this._mediaElement.play()}},{key:"pause",value:function(){this._mediaElement.pause()}},{key:"type",get:function(){return this._type}},{key:"buffered",get:function(){return this._mediaElement.buffered}},{key:"duration",get:function(){return this._mediaElement.duration}},{key:"volume",get:function(){return this._mediaElement.volume},set:function(be){this._mediaElement.volume=be}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(be){this._mediaElement.muted=be}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(be){this._mediaElement?this._mediaElement.currentTime=be:this._pendingSeekTime=be}},{key:"mediaInfo",get:function(){var be=this._mediaElement instanceof HTMLAudioElement?"audio/":"video/",Le={mimeType:be+this._mediaDataSource.type};return this._mediaElement&&(Le.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&(Le.width=this._mediaElement.videoWidth,Le.height=this._mediaElement.videoHeight)),Le}},{key:"statisticsInfo",get:function(){var be={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return be;var Le=!0,Ue=0,rt=0;if(this._mediaElement.getVideoPlaybackQuality){var Kt=this._mediaElement.getVideoPlaybackQuality();Ue=Kt.totalVideoFrames,rt=Kt.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(Ue=this._mediaElement.webkitDecodedFrameCount,rt=this._mediaElement.webkitDroppedFrameCount):Le=!1;return Le&&(be.decodedFrames=Ue,be.droppedFrames=rt),be}},{key:"_onvLoadedMetadata",value:function(be){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(ae.MEDIA_INFO,this.mediaInfo)}},{key:"_reportStatisticsInfo",value:function(){this._emitter.emit(ae.STATISTICS_INFO,this.statisticsInfo)}}]),Je}(),Sr=$t;m.install();function vr(Je,et){var be=Je;if(be==null||typeof be!="object")throw new e("MediaDataSource must be an javascript object!");if(!be.hasOwnProperty("type"))throw new e("MediaDataSource must has type field to indicate video file type!");switch(be.type){case"flv":return new Xe(be,et);default:return new Sr(be,et)}}function fr(){return de.supportMSEH264Playback()}function An(){return de.getFeatureList()}var Zr={};Zr.createPlayer=vr,Zr.isSupported=fr,Zr.getFeatureList=An,Zr.BaseLoader=A,Zr.LoaderStatus=u,Zr.LoaderErrors=h,Zr.Events=ae,Zr.ErrorTypes=ir,Zr.ErrorDetails=Lt,Zr.FlvPlayer=Xe,Zr.NativePlayer=Sr,Zr.LoggingControl=me,Object.defineProperty(Zr,"version",{enumerable:!0,get:function(){return"__VERSION__"}});var Ln=N.a=Zr},GVMX:function(R,N,t){var y=t("JEkh"),p=y.extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"}});R.exports=p},GdRQ:function(R,N,t){"use strict";function y(T){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(x){return typeof x}:y=function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x},y(T)}Object.defineProperty(N,"__esModule",{value:!0}),N.isMac=u,N.isWindows=h,N.isIOS=A,N.isSafari=v,N.isIE=w,N.isEdge=b,N.isFirefox=E,N.hasScrollbarGutter=N.supportsImageMetadata=N.supportsCursorURIs=N.dragThreshold=N.isTouchDevice=void 0;var p=m(t("Lo0S"));function S(){if(typeof WeakMap!="function")return null;var T=new WeakMap;return S=function(){return T},T}function m(T){if(T&&T.__esModule)return T;if(T===null||y(T)!=="object"&&typeof T!="function")return{default:T};var _=S();if(_&&_.has(T))return _.get(T);var x={},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var I in T)if(Object.prototype.hasOwnProperty.call(T,I)){var L=C?Object.getOwnPropertyDescriptor(T,I):null;L&&(L.get||L.set)?Object.defineProperty(x,I,L):x[I]=T[I]}return x.default=T,_&&_.set(T,x),x}var g="ontouchstart"in document.documentElement||document.ontouchstart!==void 0||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;N.isTouchDevice=g,window.addEventListener("touchstart",function T(){N.isTouchDevice=g=!0,window.removeEventListener("touchstart",T,!1)},!1);var f=10*(window.devicePixelRatio||1);N.dragThreshold=f;var d=!1;try{var c=document.createElement("canvas");c.style.cursor='url("data:image/x-icon;base64,AAACAAEACAgAAAIAAgA4AQAAFgAAACgAAAAIAAAAEAAAAAEAIAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAD/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AAAAAAAAAAAAAAAAAAAAAA==") 2 2, default',c.style.cursor.indexOf("url")===0?(p.Info("Data URI scheme cursor supported"),d=!0):p.Warn("Data URI scheme cursor not supported")}catch(T){p.Error("Data URI scheme cursor test exception: "+T)}var a=d;N.supportsCursorURIs=a;var n=!1;try{new ImageData(new Uint8ClampedArray(4),1,1),n=!0}catch(T){}var i=n;N.supportsImageMetadata=i;var o=!0;try{var r=document.createElement("div");r.style.visibility="hidden",r.style.overflow="scroll",document.body.appendChild(r);var l=document.createElement("div");r.appendChild(l);var e=r.offsetWidth-l.offsetWidth;r.parentNode.removeChild(r),o=e!=0}catch(T){p.Error("Scrollbar test exception: "+T)}var s=o;N.hasScrollbarGutter=s;function u(){return navigator&&!!/mac/i.exec(navigator.platform)}function h(){return navigator&&!!/win/i.exec(navigator.platform)}function A(){return navigator&&(!!/ipad/i.exec(navigator.platform)||!!/iphone/i.exec(navigator.platform)||!!/ipod/i.exec(navigator.platform))}function v(){return navigator&&navigator.userAgent.indexOf("Safari")!==-1&&navigator.userAgent.indexOf("Chrome")===-1}function w(){return navigator&&!!/trident/i.exec(navigator.userAgent)}function b(){return navigator&&!!/edge/i.exec(navigator.userAgent)}function E(){return navigator&&!!/firefox/i.exec(navigator.userAgent)}},GeKi:function(R,N,t){var y=t("bYtY"),p=t("6Ic6"),S=t("IwbS"),m=t("y+Vt"),g=t("sK/D"),f=g.createClipPath,d=["itemStyle"],c=["emphasis","itemStyle"],a=["color","color0","borderColor","borderColor0"],n=p.extend({type:"candlestick",render:function(v,w,b){this.group.removeClipPath(),this._updateDrawMode(v),this._isLargeDraw?this._renderLarge(v):this._renderNormal(v)},incrementalPrepareRender:function(v,w,b){this._clear(),this._updateDrawMode(v)},incrementalRender:function(v,w,b,E){this._isLargeDraw?this._incrementalRenderLarge(v,w):this._incrementalRenderNormal(v,w)},_updateDrawMode:function(v){var w=v.pipelineContext.large;(this._isLargeDraw==null||w^this._isLargeDraw)&&(this._isLargeDraw=w,this._clear())},_renderNormal:function(v){var w=v.getData(),b=this._data,E=this.group,T=w.getLayout("isSimpleBox"),_=v.get("clip",!0),x=v.coordinateSystem,C=x.getArea&&x.getArea();this._data||E.removeAll(),w.diff(b).add(function(I){if(w.hasValue(I)){var L,F=w.getItemLayout(I);if(_&&r(C,F))return;L=o(F,I,!0),S.initProps(L,{shape:{points:F.ends}},v,I),l(L,w,I,T),E.add(L),w.setItemGraphicEl(I,L)}}).update(function(I,L){var F=b.getItemGraphicEl(L);if(!w.hasValue(I)){E.remove(F);return}var B=w.getItemLayout(I);if(_&&r(C,B)){E.remove(F);return}F?S.updateProps(F,{shape:{points:B.ends}},v,I):F=o(B,I),l(F,w,I,T),E.add(F),w.setItemGraphicEl(I,F)}).remove(function(I){var L=b.getItemGraphicEl(I);L&&E.remove(L)}).execute(),this._data=w},_renderLarge:function(v){this._clear(),u(v,this.group);var w=v.get("clip",!0)?f(v.coordinateSystem,!1,v):null;w?this.group.setClipPath(w):this.group.removeClipPath()},_incrementalRenderNormal:function(v,w){for(var b=w.getData(),E=b.getLayout("isSimpleBox"),T;(T=v.next())!=null;){var _,x=b.getItemLayout(T);_=o(x,T),l(_,b,T,E),_.incremental=!0,this.group.add(_)}},_incrementalRenderLarge:function(v,w){u(w,this.group,!0)},remove:function(v){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:y.noop}),i=m.extend({type:"normalCandlestickBox",shape:{},buildPath:function(v,w){var b=w.points;this.__simpleBox?(v.moveTo(b[4][0],b[4][1]),v.lineTo(b[6][0],b[6][1])):(v.moveTo(b[0][0],b[0][1]),v.lineTo(b[1][0],b[1][1]),v.lineTo(b[2][0],b[2][1]),v.lineTo(b[3][0],b[3][1]),v.closePath(),v.moveTo(b[4][0],b[4][1]),v.lineTo(b[5][0],b[5][1]),v.moveTo(b[6][0],b[6][1]),v.lineTo(b[7][0],b[7][1]))}});function o(v,w,b){var E=v.ends;return new i({shape:{points:b?e(E,v):E},z2:100})}function r(v,w){for(var b=!0,E=0;E0?"P":"N",_=E.getVisual("borderColor"+T)||E.getVisual("color"+T),x=b.getModel(d).getItemStyle(a);w.useStyle(x),w.style.fill=null,w.style.stroke=_}var A=n;R.exports=A},Gev7:function(R,N,t){var y=t("bYtY"),p=t("K2GJ"),S=t("1bdT"),m=t("ni6a");function g(d){d=d||{},S.call(this,d);for(var c in d)d.hasOwnProperty(c)&&c!=="style"&&(this[c]=d[c]);this.style=new p(d.style,this),this._rect=null,this.__clipPaths=null}g.prototype={constructor:g,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(c){},afterBrush:function(c){},brush:function(c,a){},getBoundingRect:function(){},contain:function(c,a){return this.rectContain(c,a)},traverse:function(c,a){c.call(a,this)},rectContain:function(c,a){var n=this.transformCoordToLocal(c,a),i=this.getBoundingRect();return i.contain(n[0],n[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(c){return this.animate("style",c)},attrKV:function(c,a){c!=="style"?S.prototype.attrKV.call(this,c,a):this.style.set(a)},setStyle:function(c,a){return this.style.set(c,a),this.dirty(!1),this},useStyle:function(c){return this.style=new p(c,this),this.dirty(!1),this},calculateTextPosition:null},y.inherits(g,S),y.mixin(g,m);var f=g;R.exports=f},GrNh:function(R,N,t){var y=t("bYtY"),p=t("IwbS"),S=t("6Ic6");function m(n,i,o,r){var l=i.getData(),e=this.dataIndex,s=l.getName(e),u=i.get("selectedOffset");r.dispatchAction({type:"pieToggleSelect",from:n,name:s,seriesId:i.id}),l.each(function(h){g(l.getItemGraphicEl(h),l.getItemLayout(h),i.isSelected(l.getName(h)),u,o)})}function g(n,i,o,r,l){var e=(i.startAngle+i.endAngle)/2,s=Math.cos(e),u=Math.sin(e),h=o?r:0,A=[s*h,u*h];l?n.animate().when(200,{position:A}).start("bounceOut"):n.attr("position",A)}function f(n,i){p.Group.call(this);var o=new p.Sector({z2:2}),r=new p.Polyline,l=new p.Text;this.add(o),this.add(r),this.add(l),this.updateData(n,i,!0)}var d=f.prototype;d.updateData=function(n,i,o){var r=this.childAt(0),l=this.childAt(1),e=this.childAt(2),s=n.hostModel,u=n.getItemModel(i),h=n.getItemLayout(i),A=y.extend({},h);A.label=null;var v=s.getShallow("animationTypeUpdate");if(o){r.setShape(A);var w=s.getShallow("animationType");w==="scale"?(r.shape.r=h.r0,p.initProps(r,{shape:{r:h.r}},s,i)):(r.shape.endAngle=h.startAngle,p.updateProps(r,{shape:{endAngle:h.endAngle}},s,i))}else v==="expansion"?r.setShape(A):p.updateProps(r,{shape:A},s,i);var b=n.getItemVisual(i,"color");r.useStyle(y.defaults({lineJoin:"bevel",fill:b},u.getModel("itemStyle").getItemStyle())),r.hoverStyle=u.getModel("emphasis.itemStyle").getItemStyle();var E=u.getShallow("cursor");E&&r.attr("cursor",E),g(this,n.getItemLayout(i),s.isSelected(n.getName(i)),s.get("selectedOffset"),s.get("animation"));var T=!o&&v==="transition";this._updateLabel(n,i,T),this.highDownOnUpdate=s.get("silent")?null:function(_,x){var C=s.isAnimationEnabled()&&u.get("hoverAnimation");x==="emphasis"?(l.ignore=l.hoverIgnore,e.ignore=e.hoverIgnore,C&&(r.stopAnimation(!0),r.animateTo({shape:{r:h.r+s.get("hoverOffset")}},300,"elasticOut"))):(l.ignore=l.normalIgnore,e.ignore=e.normalIgnore,C&&(r.stopAnimation(!0),r.animateTo({shape:{r:h.r}},300,"elasticOut")))},p.setHoverStyle(this)},d._updateLabel=function(n,i,o){var r=this.childAt(1),l=this.childAt(2),e=n.hostModel,s=n.getItemModel(i),u=n.getItemLayout(i),h=u.label,A=n.getItemVisual(i,"color");if(!h||isNaN(h.x)||isNaN(h.y)){l.ignore=l.normalIgnore=l.hoverIgnore=r.ignore=r.normalIgnore=r.hoverIgnore=!0;return}var v={points:h.linePoints||[[h.x,h.y],[h.x,h.y],[h.x,h.y]]},w={x:h.x,y:h.y};o?(p.updateProps(r,{shape:v},e,i),p.updateProps(l,{style:w},e,i)):(r.attr({shape:v}),l.attr({style:w})),l.attr({rotation:h.rotation,origin:[h.x,h.y],z2:10});var b=s.getModel("label"),E=s.getModel("emphasis.label"),T=s.getModel("labelLine"),_=s.getModel("emphasis.labelLine"),A=n.getItemVisual(i,"color");p.setLabelStyle(l.style,l.hoverStyle={},b,E,{labelFetcher:n.hostModel,labelDataIndex:i,defaultText:h.text,autoColor:A,useInsideStyle:!!h.inside},{textAlign:h.textAlign,textVerticalAlign:h.verticalAlign,opacity:n.getItemVisual(i,"opacity")}),l.ignore=l.normalIgnore=!b.get("show"),l.hoverIgnore=!E.get("show"),r.ignore=r.normalIgnore=!T.get("show"),r.hoverIgnore=!_.get("show"),r.setStyle({stroke:A,opacity:n.getItemVisual(i,"opacity")}),r.setStyle(T.getModel("lineStyle").getLineStyle()),r.hoverStyle=_.getModel("lineStyle").getLineStyle();var x=T.get("smooth");x&&x===!0&&(x=.4),r.setShape({smooth:x})},y.inherits(f,p.Group);var c=S.extend({type:"pie",init:function(){var n=new p.Group;this._sectorGroup=n},render:function(n,i,o,r){if(r&&r.from===this.uid)return;var l=n.getData(),e=this._data,s=this.group,u=i.get("animation"),h=!e,A=n.get("animationType"),v=n.get("animationTypeUpdate"),w=y.curry(m,this.uid,n,u,o),b=n.get("selectedMode");if(l.diff(e).add(function(C){var I=new f(l,C);h&&A!=="scale"&&I.eachChild(function(L){L.stopAnimation(!0)}),b&&I.on("click",w),l.setItemGraphicEl(C,I),s.add(I)}).update(function(C,I){var L=e.getItemGraphicEl(I);!h&&v!=="transition"&&L.eachChild(function(F){F.stopAnimation(!0)}),L.updateData(l,C),L.off("click"),b&&L.on("click",w),s.add(L),l.setItemGraphicEl(C,L)}).remove(function(C){var I=e.getItemGraphicEl(C);s.remove(I)}).execute(),u&&l.count()>0&&(h?A!=="scale":v!=="transition")){for(var E=l.getItemLayout(0),T=1;isNaN(E.startAngle)&&T=r.r0}}}),a=c;R.exports=a},Gytx:function(R,N){R.exports=function(y,p,S,m){var g=S?S.call(m,y,p):void 0;if(g!==void 0)return!!g;if(y===p)return!0;if(typeof y!="object"||!y||typeof p!="object"||!p)return!1;var f=Object.keys(y),d=Object.keys(p);if(f.length!==d.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(p),a=0;a=ae&&Jme?"true":"false","aria-posinset":me+1,"aria-setsize":Me,tabIndex:de?-1:0},m.a.createElement("div",{className:"".concat(G,"-first")},_e),m.a.createElement("div",{className:"".concat(G,"-second")},_e)));return Ae&&(ee=Ae(ee,this.props)),ee}}]),K}(m.a.Component);function w(U,k){var K=Object.keys(U);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(U);k&&(j=j.filter(function(V){return Object.getOwnPropertyDescriptor(U,V).enumerable})),K.push.apply(K,j)}return K}function b(U){for(var k=1;k0&&!Me||J===l.a.RIGHT&&oe>0&&Me?(ae?oe-=.5:oe-=1,V.changeValue(oe),X.preventDefault()):J===l.a.LEFT&&oeMe/2||!G&&W-me3&&(a=t.call(a,1));for(var i=d.length,o=0;o4&&(a=t.call(a,1,a.length-1));for(var i=a[a.length-1],o=d.length,r=0;r=0?"p":"n",V=z;P&&(l[w][K]||(l[w][K]={p:z,n:z}),V=l[w][K][j]);var W,X,J,de;if(_.dim==="radius"){var G=_.dataToRadius(k)-z,ae=A.dataToAngle(K);Math.abs(G)=d/3?1:2),i=m.y-f(a)*c*(c>=d/3?1:2);a=m.angle-Math.PI/2,S.moveTo(n,i),S.lineTo(m.x+g(a)*c,m.y+f(a)*c),S.lineTo(m.x+g(m.angle)*d,m.y+f(m.angle)*d),S.lineTo(m.x-g(a)*c,m.y-f(a)*c),S.lineTo(n,i);return}});R.exports=p},Hxpc:function(R,N,t){var y=t("bYtY"),p=t("4NO4"),S=t("bLfw"),m=t("Qxkt"),g=t("cCMj"),f=t("7uqq"),d=S.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(a){S.prototype.init.apply(this,arguments),p.defaultEmphasis(a,"label",["show"])},optionUpdated:function(){var a=this.option,n=this;a.regions=f.getFilledRegions(a.regions,a.map,a.nameMap),this._optionModelMap=y.reduce(a.regions||[],function(i,o){return o.name&&i.set(o.name,new m(o,n)),i},y.createHashMap()),this.updateSelectedMap(a.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(a){return this._optionModelMap.get(a)||new m(null,this,this.ecModel)},getFormattedLabel:function(a,n){var i=this.getRegionModel(a),o=i.get("label"+(n==="normal"?".":n+".")+"formatter"),r={name:a};if(typeof o=="function")return r.status=n,o(r);if(typeof o=="string")return o.replace("{a}",a!=null?a:"")},setZoom:function(a){this.option.zoom=a},setCenter:function(a){this.option.center=a}});y.mixin(d,g);var c=d;R.exports=c},"I+77":function(R,N,t){var y=t("ProS");t("h54F"),t("lwQL"),t("10cm");var p=t("Z1r0"),S=t("f5Yq"),m=t("KUOm"),g=t("3m61"),f=t("01d+"),d=t("rdor"),c=t("WGYa"),a=t("ewwo");y.registerProcessor(p),y.registerVisual(S("graph","circle",null)),y.registerVisual(m),y.registerVisual(g),y.registerLayout(f),y.registerLayout(y.PRIORITY.VISUAL.POST_CHART_LAYOUT,d),y.registerLayout(c),y.registerCoordinateSystem("graphView",{create:a})},"I+Bx":function(R,N,t){var y=t("bYtY"),p=t("eIcI"),S=t("ieMj"),m=t("OELB"),g=t("aX7z"),f=g.getScaleExtent,d=g.niceScaleExtent,c=t("IDmD"),a=t("jCoz");function n(o,r,l){this._model=o,this.dimensions=[],this._indicatorAxes=y.map(o.getIndicatorModels(),function(e,s){var u="indicator_"+s,h=new p(u,e.get("axisType")==="log"?new a:new S);return h.name=e.get("name"),h.model=e,e.axis=h,this.dimensions.push(u),h},this),this.resize(o,l),this.cx,this.cy,this.r,this.r0,this.startAngle}n.prototype.getIndicatorAxes=function(){return this._indicatorAxes},n.prototype.dataToPoint=function(o,r){var l=this._indicatorAxes[r];return this.coordToPoint(l.dataToCoord(o),r)},n.prototype.coordToPoint=function(o,r){var l=this._indicatorAxes[r],e=l.angle,s=this.cx+o*Math.cos(e),u=this.cy-o*Math.sin(e);return[s,u]},n.prototype.pointToData=function(o){var r=o[0]-this.cx,l=o[1]-this.cy,e=Math.sqrt(r*r+l*l);r/=e,l/=e;for(var s=Math.atan2(-l,r),u=Infinity,h,A=-1,v=0;vv[0]&&isFinite(C)&&isFinite(v[0]))}else{var I=b.getTicks().length-1;I>s&&(_=u(_));var x=Math.ceil(v[1]/_)*_,C=m.round(x-_*s);b.setExtent(C,x),b.setInterval(_)}})},n.dimensions=[],n.create=function(o,r){var l=[];return o.eachComponent("radar",function(e){var s=new n(e,o,r);l.push(s),e.coordinateSystem=s}),o.eachSeriesByType("radar",function(e){e.get("coordinateSystem")==="radar"&&(e.coordinateSystem=l[e.get("radarIndex")||0])}),l},c.register("radar",n);var i=n;R.exports=i},"I3/A":function(R,N,t){var y=t("bYtY"),p=t("YXkt"),S=t("c2i1"),m=t("Mdki"),g=t("sdST"),f=t("IDmD"),d=t("MwEJ");function c(a,n,i,o,r){for(var l=new S(o),e=0;e "+w)),h++)}var b=i.get("coordinateSystem"),E;if(b==="cartesian2d"||b==="polar")E=d(a,i);else{var T=f.get(b),_=T&&T.type!=="view"?T.dimensions||[]:[];y.indexOf(_,"value")<0&&_.concat(["value"]);var x=g(a,{coordDimensions:_});E=new p(x,i),E.initData(a)}var C=new p(["value"],i);return C.initData(u,s),r&&r(E,C),m({mainData:E,struct:l,structAttr:"graph",datas:{node:E,edge:C},datasAttr:{node:"data",edge:"edgeData"}}),l.update(),l}R.exports=c},I8Z2:function(R,N,t){"use strict";t.d(N,"a",function(){return m}),t.d(N,"b",function(){return r}),t.d(N,"c",function(){return e});var y=t("q1tI"),p=function(){var s=function(h,A){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,w){v.__proto__=w}||function(v,w){for(var b in w)w.hasOwnProperty(b)&&(v[b]=w[b])},s(h,A)};return function(u,h){s(u,h);function A(){this.constructor=u}u.prototype=h===null?Object.create(h):(A.prototype=h.prototype,new A)}}(),S=y.createContext(null),m=function(s){p(u,s);function u(){return s!==null&&s.apply(this,arguments)||this}return u.prototype.render=function(){return y.createElement(S.Provider,{value:this.props.store},this.props.children)},u}(y.Component),g=t("Gytx"),f=t.n(g),d=t("2mql"),c=t.n(d),a=function(){var s=function(h,A){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,w){v.__proto__=w}||function(v,w){for(var b in w)w.hasOwnProperty(b)&&(v[b]=w[b])},s(h,A)};return function(u,h){s(u,h);function A(){this.constructor=u}u.prototype=h===null?Object.create(h):(A.prototype=h.prototype,new A)}}(),n=function(){return n=Object.assign||function(s){for(var u,h=1,A=arguments.length;hthis._ux||u(E-this._yi)>this._uy||this._len<5;return this.addData(d.L,b,E),this._ctx&&T&&(this._needsDash()?this._dashedLineTo(b,E):this._ctx.lineTo(b,E)),T&&(this._xi=b,this._yi=E),this},bezierCurveTo:function(b,E,T,_,x,C){return this.addData(d.C,b,E,T,_,x,C),this._ctx&&(this._needsDash()?this._dashedBezierTo(b,E,T,_,x,C):this._ctx.bezierCurveTo(b,E,T,_,x,C)),this._xi=x,this._yi=C,this},quadraticCurveTo:function(b,E,T,_){return this.addData(d.Q,b,E,T,_),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(b,E,T,_):this._ctx.quadraticCurveTo(b,E,T,_)),this._xi=T,this._yi=_,this},arc:function(b,E,T,_,x,C){return this.addData(d.A,b,E,T,T,_,x-_,0,C?0:1),this._ctx&&this._ctx.arc(b,E,T,_,x,C),this._xi=l(x)*T+b,this._yi=e(x)*T+E,this},arcTo:function(b,E,T,_,x){return this._ctx&&this._ctx.arcTo(b,E,T,_,x),this},rect:function(b,E,T,_){return this._ctx&&this._ctx.rect(b,E,T,_),this.addData(d.R,b,E,T,_),this},closePath:function(){this.addData(d.Z);var b=this._ctx,E=this._x0,T=this._y0;return b&&(this._needsDash()&&this._dashedLineTo(E,T),b.closePath()),this._xi=E,this._yi=T,this},fill:function(b){b&&b.fill(),this.toStatic()},stroke:function(b){b&&b.stroke(),this.toStatic()},setLineDash:function(b){if(b instanceof Array){this._lineDash=b,this._dashIdx=0;for(var E=0,T=0;TE.length&&(this._expandData(),E=this.data);for(var T=0;T0&&H<=b||F<0&&H>=b||F===0&&(B>0&&z<=E||B<0&&z>=E);){if(k=this._dashIdx,M=x[k],H+=F*M,z+=B*M,this._dashIdx=(k+1)%U,F>0&&HI||B>0&&zL)continue;C[k%2?"moveTo":"lineTo"](F>=0?o(H,b):r(H,b),B>=0?o(z,E):r(z,E))}F=H-b,B=z-E,this._dashOffset=-s(F*F+B*B)},_dashedBezierTo:function(b,E,T,_,x,C){var I=this._dashSum,L=this._dashOffset,F=this._lineDash,B=this._ctx,P=this._xi,H=this._yi,z,M,U,k=y.cubicAt,K=0,j=this._dashIdx,V=F.length,W,X,J=0;for(L<0&&(L=I+L),L%=I,z=0;z<1;z+=.1)M=k(P,b,T,x,z+.1)-k(P,b,T,x,z),U=k(H,E,_,C,z+.1)-k(H,E,_,C,z),K+=s(M*M+U*U);for(;jL);j++);for(z=(J-L)/K;z<=1;)W=k(P,b,T,x,z),X=k(H,E,_,C,z),j%2?B.moveTo(W,X):B.lineTo(W,X),z+=F[j]/K,j=(j+1)%V;j%2!==0&&B.lineTo(x,C),M=x-W,U=C-X,this._dashOffset=-s(M*M+U*U)},_dashedQuadraticTo:function(b,E,T,_){var x=T,C=_;T=(T+2*b)/3,_=(_+2*E)/3,b=(this._xi+2*b)/3,E=(this._yi+2*E)/3,this._dashedBezierTo(b,E,T,_,x,C)},toStatic:function(){var b=this.data;b instanceof Array&&(b.length=this._len,h&&(this.data=new Float32Array(b)))},getBoundingRect:function(){c[0]=c[1]=n[0]=n[1]=Number.MAX_VALUE,a[0]=a[1]=i[0]=i[1]=-Number.MAX_VALUE;for(var b=this.data,E=0,T=0,_=0,x=0,C=0;CF||u(L-C)>B||H===P-1)&&(b.lineTo(I,L),x=I,C=L);break;case d.C:b.bezierCurveTo(E[H++],E[H++],E[H++],E[H++],E[H++],E[H++]),x=E[H-2],C=E[H-1];break;case d.Q:b.quadraticCurveTo(E[H++],E[H++],E[H++],E[H++]),x=E[H-2],C=E[H-1];break;case d.A:var M=E[H++],U=E[H++],k=E[H++],K=E[H++],j=E[H++],V=E[H++],W=E[H++],X=E[H++],J=k>K?k:K,de=k>K?1:k/K,G=k>K?K/k:1,ae=Math.abs(k-K)>.001,Ae=j+V;ae?(b.translate(M,U),b.rotate(W),b.scale(de,G),b.arc(0,0,J,j,Ae,1-X),b.scale(1/de,1/G),b.rotate(-W),b.translate(-M,-U)):b.arc(M,U,J,j,Ae,1-X),H===1&&(T=l(j)*k+M,_=e(j)*K+U),x=l(Ae)*k+M,C=e(Ae)*K+U;break;case d.R:T=x=E[H],_=C=E[H+1],b.rect(E[H++],E[H++],E[H++],E[H++]);break;case d.Z:b.closePath(),x=T,C=_}}}},A.CMD=d;var v=A;R.exports=v},IUWy:function(R,N){var t={};function y(S,m){t[S]=m}function p(S){return t[S]}N.register=y,N.get=p},IWNH:function(R,N,t){var y=t("T4UG"),p=t("Bsck"),S=t("7aKB"),m=S.encodeHTML,g=t("Qxkt"),f=y.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(d){var c={name:d.name,children:d.data},a=d.leaves||{},n=new g(a,this,this.ecModel),i=p.createTree(c,this,{},o);function o(s){s.wrapMethod("getItemModel",function(u,h){var A=i.getNodeByDataIndex(h);return(!A.children.length||!A.isExpand)&&(u.parentModel=n),u})}var r=0;i.eachNode("preorder",function(s){s.depth>r&&(r=s.depth)});var l=d.expandAndCollapse,e=l&&d.initialTreeDepth>=0?d.initialTreeDepth:r;return i.root.eachNode("preorder",function(s){var u=s.hostTree.data.getRawDataItem(s.dataIndex);s.isExpand=u&&u.collapsed!=null?!u.collapsed:s.depth<=e}),i.data},getOrient:function(){var d=this.get("orient");return d==="horizontal"?d="LR":d==="vertical"&&(d="TB"),d},setZoom:function(d){this.option.zoom=d},setCenter:function(d){this.option.center=d},formatTooltip:function(d){for(var c=this.getData().tree,a=c.root.children[0],n=c.getNodeByDataIndex(d),i=n.getValue(),o=n.name;n&&n!==a;)o=n.parentNode.name+"."+o,n=n.parentNode;return m(o+(isNaN(i)||i==null?"":" : "+i))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});R.exports=f},IWp7:function(R,N,t){var y=t("bYtY"),p=t("OELB"),S=t("7aKB"),m=t("lE7J"),g=t("ieMj"),f=g.prototype,d=Math.ceil,c=Math.floor,a=1e3,n=a*60,i=n*60,o=i*24,r=function(u,h,A,v){for(;A>>1;u[w][1]A&&(b=A);var E=e.length,T=r(e,b,0,E),_=e[Math.min(T,E-1)],x=_[1];if(_[0]==="year"){var C=w/x,I=p.nice(C/u,!0);x*=I}var L=this.getSetting("useUTC")?0:new Date(+v[0]||+v[1]).getTimezoneOffset()*60*1e3,F=[Math.round(d((v[0]-L)/x)*x+L),Math.round(c((v[1]-L)/x)*x+L)];m.fixExtent(F,v),this._stepLvl=_,this._interval=x,this._niceExtent=F},parse:function(u){return+p.parseDate(u)}});y.each(["contain","normalize"],function(u){l.prototype[u]=function(h){return f[u].call(this,this.parse(h))}});var e=[["hh:mm:ss",a],["hh:mm:ss",a*5],["hh:mm:ss",a*10],["hh:mm:ss",a*15],["hh:mm:ss",a*30],[`hh:mm MM-dd`,n],[`hh:mm MM-dd`,n*5],[`hh:mm MM-dd`,n*10],[`hh:mm MM-dd`,n*15],[`hh:mm MM-dd`,n*30],[`hh:mm MM-dd`,i],[`hh:mm MM-dd`,i*2],[`hh:mm MM-dd`,i*6],[`hh:mm MM-dd`,i*12],[`MM-dd yyyy`,o],[`MM-dd yyyy`,o*2],[`MM-dd yyyy`,o*3],[`MM-dd yyyy`,o*4],[`MM-dd yyyy`,o*5],[`MM-dd yyyy`,o*6],["week",o*7],[`MM-dd yyyy`,o*10],["week",o*14],["week",o*21],["month",o*31],["week",o*42],["month",o*62],["week",o*70],["quarter",o*95],["month",o*31*4],["month",o*31*5],["half-year",o*380/2],["month",o*31*8],["month",o*31*10],["year",o*380]];l.create=function(u){return new l({useUTC:u.ecModel.get("useUTC")})};var s=l;R.exports=s},IXuL:function(R,N,t){var y=t("Tghj"),p=y.__DEV__,S=t("MwEJ"),m=t("T4UG"),g=m.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(f,d){return S(this.getSource(),this,{useEncodeDefaulter:!0})},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clip:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:Infinity}});R.exports=g},IXyC:function(R,N,t){var y=t("bYtY"),p=t("bLfw");t("3zoK");var S=p.extend({type:"parallel",dependencies:["parallelAxis"],coordinateSystem:null,dimensions:null,parallelAxisIndex:null,layoutMode:"box",defaultOption:{zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},init:function(){p.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(m){var g=this.option;m&&y.merge(g,m,!0),this._initDimensions()},contains:function(m,g){var f=m.get("parallelIndex");return f!=null&&g.getComponent("parallel",f)===this},setAxisExpand:function(m){y.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(g){m.hasOwnProperty(g)&&(this.option[g]=m[g])},this)},_initDimensions:function(){var m=this.dimensions=[],g=this.parallelAxisIndex=[],f=y.filter(this.dependentModels.parallelAxis,function(d){return(d.get("parallelIndex")||0)===this.componentIndex},this);y.each(f,function(d){m.push("dim"+d.get("dim")),g.push(d.componentIndex)})}});R.exports=S},ItGF:function(R,N){var t={};typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?t={browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:typeof document=="undefined"&&typeof self!="undefined"?t={browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:typeof navigator=="undefined"?t={browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:t=p(navigator.userAgent);var y=t;function p(S){var m={},g={},f=S.match(/Firefox\/([\d.]+)/),d=S.match(/MSIE\s([\d.]+)/)||S.match(/Trident\/.+?rv:(([\d.]+))/),c=S.match(/Edge\/([\d.]+)/),a=/micromessenger/i.test(S);return f&&(g.firefox=!0,g.version=f[1]),d&&(g.ie=!0,g.version=d[1]),c&&(g.edge=!0,g.version=c[1]),a&&(g.weChat=!0),{browser:g,os:m,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:typeof SVGRect!="undefined",touchEventsSupported:"ontouchstart"in window&&!g.ie&&!g.edge,pointerEventsSupported:"onpointerdown"in window&&(g.edge||g.ie&&g.version>=11),domSupported:typeof document!="undefined"}}R.exports=y},ItS6:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=t("eP3c"),p=S(t("1q3G"));function S(c){return c&&c.__esModule?c:{default:c}}function m(c,a){if(!(c instanceof a))throw new TypeError("Cannot call a class as a function")}function g(c,a){for(var n=0;nthis.chunkSize&&(this.chunkSize=n,this.strm.output=new Uint8Array(this.chunkSize)),this.strm.next_out=0,this.strm.avail_out=n;var i=(0,y.inflate)(this.strm,0);if(i<0)throw new Error("zlib inflate failed");if(this.strm.next_out!=n)throw new Error("Incomplete zlib block");return new Uint8Array(this.strm.output.buffer,0,this.strm.next_out)}},{key:"reset",value:function(){(0,y.inflateReset)(this.strm)}}]),c}();N.default=d},Itpr:function(R,N,t){var y=t("+TT/");function p(e){e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var s=[e],u,h;u=s.pop();)if(h=u.children,u.isExpand&&h.length)for(var A=h.length,v=A-1;v>=0;v--){var w=h[v];w.hierNode={defaultAncestor:null,ancestor:w,prelim:0,modifier:0,change:0,shift:0,i:v,thread:null},s.push(w)}}function S(e,s){var u=e.isExpand?e.children:[],h=e.parentNode.children,A=e.hierNode.i?h[e.hierNode.i-1]:null;if(u.length){c(e);var v=(u[0].hierNode.prelim+u[u.length-1].hierNode.prelim)/2;A?(e.hierNode.prelim=A.hierNode.prelim+s(e,A),e.hierNode.modifier=e.hierNode.prelim-v):e.hierNode.prelim=v}else A&&(e.hierNode.prelim=A.hierNode.prelim+s(e,A));e.parentNode.hierNode.defaultAncestor=a(e,A,e.parentNode.hierNode.defaultAncestor||h[0],s)}function m(e){var s=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:s},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier}function g(e){return arguments.length?e:l}function f(e,s){var u={};return e-=Math.PI/2,u.x=s*Math.cos(e),u.y=s*Math.sin(e),u}function d(e,s){return y.getLayoutRect(e.getBoxLayoutParams(),{width:s.getWidth(),height:s.getHeight()})}function c(e){for(var s=e.children,u=s.length,h=0,A=0;--u>=0;){var v=s[u];v.hierNode.prelim+=h,v.hierNode.modifier+=h,A+=v.hierNode.change,h+=v.hierNode.shift+A}}function a(e,s,u,h){if(s){for(var A=e,v=e,w=v.parentNode.children[0],b=s,E=A.hierNode.modifier,T=v.hierNode.modifier,_=w.hierNode.modifier,x=b.hierNode.modifier;b=n(b),v=i(v),b&&v;){A=n(A),w=i(w),A.hierNode.ancestor=e;var C=b.hierNode.prelim+x-v.hierNode.prelim-T+h(b,v);C>0&&(r(o(b,e,u),e,C),T+=C,E+=C),x+=b.hierNode.modifier,T+=v.hierNode.modifier,E+=A.hierNode.modifier,_+=w.hierNode.modifier}b&&!n(A)&&(A.hierNode.thread=b,A.hierNode.modifier+=x-E),v&&!i(w)&&(w.hierNode.thread=v,w.hierNode.modifier+=T-_,u=e)}return u}function n(e){var s=e.children;return s.length&&e.isExpand?s[s.length-1]:e.hierNode.thread}function i(e){var s=e.children;return s.length&&e.isExpand?s[0]:e.hierNode.thread}function o(e,s,u){return e.hierNode.ancestor.parentNode===s.parentNode?e.hierNode.ancestor:u}function r(e,s,u){var h=u/(s.hierNode.i-e.hierNode.i);s.hierNode.change-=h,s.hierNode.shift+=u,s.hierNode.modifier+=u,s.hierNode.prelim+=u,e.hierNode.change+=h}function l(e,s){return e.parentNode===s.parentNode?1:2}N.init=p,N.firstWalk=S,N.secondWalk=m,N.separation=g,N.radialCoordinate=f,N.getViewRect=d},IwbS:function(R,N,t){var y=t("bYtY"),p=t("NC18"),S=t("Qe9p"),m=t("Fofx"),g=t("QBsz"),f=t("y+Vt"),d=t("DN4a"),c=t("Dagg");N.Image=c;var a=t("4fz+");N.Group=a;var n=t("dqUG");N.Text=n;var i=t("2fw6");N.Circle=i;var o=t("SqI9");N.Sector=o;var r=t("RXMa");N.Ring=r;var l=t("h7HQ");N.Polygon=l;var e=t("1Jh7");N.Polyline=e;var s=t("x6Kt");N.Rect=s;var u=t("yxFR");N.Line=u;var h=t("rA99");N.BezierCurve=h;var A=t("jTL6");N.Arc=A;var v=t("1MYJ");N.CompoundPath=v;var w=t("SKnc");N.LinearGradient=w;var b=t("3e3G");N.RadialGradient=b;var E=t("mFDi");N.BoundingRect=E;var T=t("OS9S");N.IncrementalDisplayable=T;var _=t("nPnh"),x=Math.max,C=Math.min,I={},L=1,F={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},B="emphasis",P="normal",H=1,z={},M={};function U(at){return f.extend(at)}function k(at,Xe){return p.extendFromString(at,Xe)}function K(at,Xe){M[at]=Xe}function j(at){if(M.hasOwnProperty(at))return M[at]}function V(at,Xe,$t,Sr){var vr=p.createFromString(at,Xe);return $t&&(Sr==="center"&&($t=X($t,vr.getBoundingRect())),de(vr,$t)),vr}function W(at,Xe,$t){var Sr=new c({style:{image:at,x:Xe.x,y:Xe.y,width:Xe.width,height:Xe.height},onload:function(vr){if($t==="center"){var fr={width:vr.width,height:vr.height};Sr.setStyle(X(Xe,fr))}}});return Sr}function X(at,Xe){var $t=Xe.width/Xe.height,Sr=at.height*$t,vr;Sr<=at.width?vr=at.height:(Sr=at.width,vr=Sr/$t);var fr=at.x+at.width/2,An=at.y+at.height/2;return{x:fr-Sr/2,y:An-vr/2,width:Sr,height:vr}}var J=p.mergePath;function de(at,Xe){if(!at.applyTransform)return;var $t=at.getBoundingRect(),Sr=$t.calculateTransform(Xe);at.applyTransform(Sr)}function G(at){return _.subPixelOptimizeLine(at.shape,at.shape,at.style),at}function ae(at){return _.subPixelOptimizeRect(at.shape,at.shape,at.style),at}var Ae=_.subPixelOptimize;function me(at){return at!=null&&at!=="none"}var Me=y.createHashMap(),oe=0;function _e(at){if(typeof at!="string")return at;var Xe=Me.get(at);return Xe||(Xe=S.lift(at,-.1),oe<1e4&&(Me.set(at,Xe),oe++)),Xe}function ee(at){if(!at.__hoverStlDirty)return;at.__hoverStlDirty=!1;var Xe=at.__hoverStl;if(!Xe){at.__cachedNormalStl=at.__cachedNormalZ2=null;return}var $t=at.__cachedNormalStl={};at.__cachedNormalZ2=at.z2;var Sr=at.style;for(var vr in Xe)Xe[vr]!=null&&($t[vr]=Sr[vr]);$t.fill=Sr.fill,$t.stroke=Sr.stroke}function ne(at){var Xe=at.__hoverStl;if(!Xe||at.__highlighted)return;var $t=at.__zr,Sr=at.useHoverLayer&&$t&&$t.painter.type==="canvas";if(at.__highlighted=Sr?"layer":"plain",at.isGroup||!$t&&at.useHoverLayer)return;var vr=at,fr=at.style;Sr&&(vr=$t.addHover(at),fr=vr.style),Gt(fr),Sr||ee(vr),fr.extendFrom(Xe),Ge(fr,Xe,"fill"),Ge(fr,Xe,"stroke"),Mt(fr),Sr||(at.dirty(!1),at.z2+=L)}function Ge(at,Xe,$t){!me(Xe[$t])&&me(at[$t])&&(at[$t]=_e(at[$t]))}function Ee(at){var Xe=at.__highlighted;if(!Xe)return;if(at.__highlighted=!1,at.isGroup)return;if(Xe==="layer")at.__zr&&at.__zr.removeHover(at);else{var $t=at.style,Sr=at.__cachedNormalStl;Sr&&(Gt($t),at.setStyle(Sr),Mt($t));var vr=at.__cachedNormalZ2;vr!=null&&at.z2-vr===L&&(at.z2=vr)}}function ue(at,Xe,$t){var Sr=P,vr=P,fr;at.__highlighted&&(Sr=B,fr=!0),Xe(at,$t),at.__highlighted&&(vr=B,fr=!0),at.isGroup&&at.traverse(function(An){!An.isGroup&&Xe(An,$t)}),fr&&at.__highDownOnUpdate&&at.__highDownOnUpdate(Sr,vr)}function re(at,Xe){Xe=at.__hoverStl=Xe!==!1&&(at.hoverStyle||Xe||{}),at.__hoverStlDirty=!0,at.__highlighted&&(at.__cachedNormalStl=null,Ee(at),ne(at))}function ce(at){!Ie(this,at)&&!this.__highByOuter&&ue(this,ne)}function ke(at){!Ie(this,at)&&!this.__highByOuter&&ue(this,Ee)}function Te(at){this.__highByOuter|=1<<(at||0),ue(this,ne)}function Ke(at){!(this.__highByOuter&=~(1<<(at||0)))&&ue(this,Ee)}function Ie(at,Xe){return at.__highDownSilentOnTouch&&Xe.zrByTouch}function se(at,Xe){ye(at,!0),ue(at,re,Xe)}function ye(at,Xe){var $t=Xe===!1;if(at.__highDownSilentOnTouch=at.highDownSilentOnTouch,at.__highDownOnUpdate=at.highDownOnUpdate,!$t||at.__highDownDispatcher){var Sr=$t?"off":"on";at[Sr]("mouseover",ce)[Sr]("mouseout",ke),at[Sr]("emphasis",Te)[Sr]("normal",Ke),at.__highByOuter=at.__highByOuter||0,at.__highDownDispatcher=!$t}}function xe(at){return!!(at&&at.__highDownDispatcher)}function Ye(at){var Xe=z[at];return Xe==null&&H<=32&&(Xe=z[at]=H++),Xe}function pt(at,Xe,$t,Sr,vr,fr,An){vr=vr||I;var Zr=vr.labelFetcher,Ln=vr.labelDataIndex,Je=vr.labelDimIndex,et=vr.labelProp,be=$t.getShallow("show"),Le=Sr.getShallow("show"),Ue;(be||Le)&&(Zr&&(Ue=Zr.getFormattedLabel(Ln,"normal",null,Je,et)),Ue==null&&(Ue=y.isFunction(vr.defaultText)?vr.defaultText(Ln,vr):vr.defaultText));var rt=be?Ue:null,Kt=Le?y.retrieve2(Zr?Zr.getFormattedLabel(Ln,"emphasis",null,Je,et):null,Ue):null;(rt!=null||Kt!=null)&&(Oe(at,$t,fr,vr),Oe(Xe,Sr,An,vr,!0)),at.text=rt,Xe.text=Kt}function nt(at,Xe,$t){var Sr=at.style;Xe&&(Gt(Sr),at.setStyle(Xe),Mt(Sr)),Sr=at.__hoverStl,$t&&Sr&&(Gt(Sr),y.extend(Sr,$t),Mt(Sr))}function Oe(at,Xe,$t,Sr,vr){return Ze(at,Xe,Sr,vr),$t&&y.extend(at,$t),at}function vt(at,Xe,$t){var Sr={isRectText:!0},vr;$t===!1?vr=!0:Sr.autoColor=$t,Ze(at,Xe,Sr,vr)}function Ze(at,Xe,$t,Sr){if($t=$t||I,$t.isRectText){var vr;$t.getTextPosition?vr=$t.getTextPosition(Xe,Sr):(vr=Xe.getShallow("position")||(Sr?null:"inside"),vr==="outside"&&(vr="top")),at.textPosition=vr,at.textOffset=Xe.getShallow("offset");var fr=Xe.getShallow("rotate");fr!=null&&(fr*=Math.PI/180),at.textRotation=fr,at.textDistance=y.retrieve2(Xe.getShallow("distance"),Sr?null:5)}var An=Xe.ecModel,Zr=An&&An.option.textStyle,Ln=wt(Xe),Je;if(Ln){Je={};for(var et in Ln)if(Ln.hasOwnProperty(et)){var be=Xe.getModel(["rich",et]);xt(Je[et]={},be,Zr,$t,Sr)}}return at.rich=Je,xt(at,Xe,Zr,$t,Sr,!0),$t.forceRich&&!$t.textStyle&&($t.textStyle={}),at}function wt(at){for(var Xe;at&&at!==at.ecModel;){var $t=(at.option||I).rich;if($t){Xe=Xe||{};for(var Sr in $t)$t.hasOwnProperty(Sr)&&(Xe[Sr]=1)}at=at.parentModel}return Xe}function xt(at,Xe,$t,Sr,vr,fr){$t=!vr&&$t||I,at.textFill=Ot(Xe.getShallow("color"),Sr)||$t.color,at.textStroke=Ot(Xe.getShallow("textBorderColor"),Sr)||$t.textBorderColor,at.textStrokeWidth=y.retrieve2(Xe.getShallow("textBorderWidth"),$t.textBorderWidth),vr||(fr&&(at.insideRollbackOpt=Sr,Mt(at)),at.textFill==null&&(at.textFill=Sr.autoColor)),at.fontStyle=Xe.getShallow("fontStyle")||$t.fontStyle,at.fontWeight=Xe.getShallow("fontWeight")||$t.fontWeight,at.fontSize=Xe.getShallow("fontSize")||$t.fontSize,at.fontFamily=Xe.getShallow("fontFamily")||$t.fontFamily,at.textAlign=Xe.getShallow("align"),at.textVerticalAlign=Xe.getShallow("verticalAlign")||Xe.getShallow("baseline"),at.textLineHeight=Xe.getShallow("lineHeight"),at.textWidth=Xe.getShallow("width"),at.textHeight=Xe.getShallow("height"),at.textTag=Xe.getShallow("tag"),(!fr||!Sr.disableBox)&&(at.textBackgroundColor=Ot(Xe.getShallow("backgroundColor"),Sr),at.textPadding=Xe.getShallow("padding"),at.textBorderColor=Ot(Xe.getShallow("borderColor"),Sr),at.textBorderWidth=Xe.getShallow("borderWidth"),at.textBorderRadius=Xe.getShallow("borderRadius"),at.textBoxShadowColor=Xe.getShallow("shadowColor"),at.textBoxShadowBlur=Xe.getShallow("shadowBlur"),at.textBoxShadowOffsetX=Xe.getShallow("shadowOffsetX"),at.textBoxShadowOffsetY=Xe.getShallow("shadowOffsetY")),at.textShadowColor=Xe.getShallow("textShadowColor")||$t.textShadowColor,at.textShadowBlur=Xe.getShallow("textShadowBlur")||$t.textShadowBlur,at.textShadowOffsetX=Xe.getShallow("textShadowOffsetX")||$t.textShadowOffsetX,at.textShadowOffsetY=Xe.getShallow("textShadowOffsetY")||$t.textShadowOffsetY}function Ot(at,Xe){return at!=="auto"?at:Xe&&Xe.autoColor?Xe.autoColor:null}function Mt(at){var Xe=at.textPosition,$t=at.insideRollbackOpt,Sr;if($t&&at.textFill==null){var vr=$t.autoColor,fr=$t.isRectText,An=$t.useInsideStyle,Zr=An!==!1&&(An===!0||fr&&Xe&&typeof Xe=="string"&&Xe.indexOf("inside")>=0),Ln=!Zr&&vr!=null;(Zr||Ln)&&(Sr={textFill:at.textFill,textStroke:at.textStroke,textStrokeWidth:at.textStrokeWidth}),Zr&&(at.textFill="#fff",at.textStroke==null&&(at.textStroke=vr,at.textStrokeWidth==null&&(at.textStrokeWidth=2))),Ln&&(at.textFill=vr)}at.insideRollback=Sr}function Gt(at){var Xe=at.insideRollback;Xe&&(at.textFill=Xe.textFill,at.textStroke=Xe.textStroke,at.textStrokeWidth=Xe.textStrokeWidth,at.insideRollback=null)}function $e(at,Xe){var $t=Xe&&Xe.getModel("textStyle");return y.trim([at.fontStyle||$t&&$t.getShallow("fontStyle")||"",at.fontWeight||$t&&$t.getShallow("fontWeight")||"",(at.fontSize||$t&&$t.getShallow("fontSize")||12)+"px",at.fontFamily||$t&&$t.getShallow("fontFamily")||"sans-serif"].join(" "))}function pe(at,Xe,$t,Sr,vr,fr){typeof vr=="function"&&(fr=vr,vr=null);var An=Sr&&Sr.isAnimationEnabled();if(An){var Zr=at?"Update":"",Ln=Sr.getShallow("animationDuration"+Zr),Je=Sr.getShallow("animationEasing"+Zr),et=Sr.getShallow("animationDelay"+Zr);typeof et=="function"&&(et=et(vr,Sr.getAnimationDelayParams?Sr.getAnimationDelayParams(Xe,vr):null)),typeof Ln=="function"&&(Ln=Ln(vr)),Ln>0?Xe.animateTo($t,Ln,et||0,Je,fr,!!fr):(Xe.stopAnimation(),Xe.attr($t),fr&&fr())}else Xe.stopAnimation(),Xe.attr($t),fr&&fr()}function q(at,Xe,$t,Sr,vr){pe(!0,at,Xe,$t,Sr,vr)}function bt(at,Xe,$t,Sr,vr){pe(!1,at,Xe,$t,Sr,vr)}function qe(at,Xe){for(var $t=m.identity([]);at&&at!==Xe;)m.mul($t,at.getLocalTransform(),$t),at=at.parent;return $t}function le(at,Xe,$t){return Xe&&!y.isArrayLike(Xe)&&(Xe=d.getLocalTransform(Xe)),$t&&(Xe=m.invert([],Xe)),g.applyTransform([],at,Xe)}function Nt(at,Xe,$t){var Sr=Xe[4]===0||Xe[5]===0||Xe[0]===0?1:Math.abs(2*Xe[4]/Xe[0]),vr=Xe[4]===0||Xe[5]===0||Xe[2]===0?1:Math.abs(2*Xe[4]/Xe[2]),fr=[at==="left"?-Sr:at==="right"?Sr:0,at==="top"?-vr:at==="bottom"?vr:0];return fr=le(fr,Xe,$t),Math.abs(fr[0])>Math.abs(fr[1])?fr[0]>0?"right":"left":fr[1]>0?"bottom":"top"}function tr(at,Xe,$t,Sr){if(!at||!Xe)return;function vr(Zr){var Ln={};return Zr.traverse(function(Je){!Je.isGroup&&Je.anid&&(Ln[Je.anid]=Je)}),Ln}function fr(Zr){var Ln={position:g.clone(Zr.position),rotation:Zr.rotation};return Zr.shape&&(Ln.shape=y.extend({},Zr.shape)),Ln}var An=vr(at);Xe.traverse(function(Zr){if(!Zr.isGroup&&Zr.anid){var Ln=An[Zr.anid];if(Ln){var Je=fr(Zr);Zr.attr(fr(Ln)),q(Zr,Je,$t,Zr.dataIndex)}}})}function lt(at,Xe){return y.map(at,function($t){var Sr=$t[0];Sr=x(Sr,Xe.x),Sr=C(Sr,Xe.x+Xe.width);var vr=$t[1];return vr=x(vr,Xe.y),vr=C(vr,Xe.y+Xe.height),[Sr,vr]})}function zt(at,Xe){var $t=x(at.x,Xe.x),Sr=C(at.x+at.width,Xe.x+Xe.width),vr=x(at.y,Xe.y),fr=C(at.y+at.height,Xe.y+Xe.height);if(Sr>=$t&&fr>=vr)return{x:$t,y:vr,width:Sr-$t,height:fr-vr}}function cr(at,Xe,$t){Xe=y.extend({rectHover:!0},Xe);var Sr=Xe.style={strokeNoScale:!0};if($t=$t||{x:-1,y:-1,width:2,height:2},at)return at.indexOf("image://")===0?(Sr.image=at.slice(8),y.defaults(Sr,$t),new c(Xe)):V(at.replace("path://",""),Xe,$t,"center")}function Vr(at,Xe,$t,Sr,vr){for(var fr=0,An=vr[vr.length-1];fr1)return!1;var Pt=ir(Ue,rt,et,be)/Le;return!(Pt<0||Pt>1)}function ir(at,Xe,$t,Sr){return at*Sr-$t*Xe}function Lt(at){return at<=1e-6&&at>=-1e-6}K("circle",i),K("sector",o),K("ring",r),K("polygon",l),K("polyline",e),K("rect",s),K("line",u),K("bezierCurve",h),K("arc",A),N.Z2_EMPHASIS_LIFT=L,N.CACHED_LABEL_STYLE_PROPERTIES=F,N.extendShape=U,N.extendPath=k,N.registerShape=K,N.getShapeClass=j,N.makePath=V,N.makeImage=W,N.mergePath=J,N.resizePath=de,N.subPixelOptimizeLine=G,N.subPixelOptimizeRect=ae,N.subPixelOptimize=Ae,N.setElementHoverStyle=re,N.setHoverStyle=se,N.setAsHighDownDispatcher=ye,N.isHighDownDispatcher=xe,N.getHighlightDigit=Ye,N.setLabelStyle=pt,N.modifyLabelStyle=nt,N.setTextStyle=Oe,N.setText=vt,N.getFont=$e,N.updateProps=q,N.initProps=bt,N.getTransform=qe,N.applyTransform=le,N.transformDirection=Nt,N.groupTransition=tr,N.clipPointsByRect=lt,N.clipRectByRect=zt,N.createIcon=cr,N.linePolygonIntersect=Vr,N.lineLineIntersect=ur},IyUQ:function(R,N,t){var y=t("bYtY"),p=t("YH21"),S=t("IwbS"),m=t("iLNv"),g=t("fc+c"),f=t("OELB"),d=t("+TT/"),c=t("72pK"),a=S.Rect,n=f.linearMap,i=f.asc,o=y.bind,r=y.each,l=7,e=1,s=30,u="horizontal",h="vertical",A=5,v=["line","bar","candlestick","scatter"],w=g.extend({type:"dataZoom.slider",init:function(_,x){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=x},render:function(_,x,C,I){if(w.superApply(this,"render",arguments),m.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=_.get("orient"),this.dataZoomModel.get("show")===!1){this.group.removeAll();return}(!I||I.type!=="dataZoom"||I.from!==this.uid)&&this._buildView(),this._updateView()},remove:function(){w.superApply(this,"remove",arguments),m.clear(this,"_dispatchZoomAction")},dispose:function(){w.superApply(this,"dispose",arguments),m.clear(this,"_dispatchZoomAction")},_buildView:function(){var _=this.group;_.removeAll(),this._resetLocation(),this._resetInterval();var x=this._displayables.barGroup=new S.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),_.add(x),this._positionGroup()},_resetLocation:function(){var _=this.dataZoomModel,x=this.api,C=this._findCoordRect(),I={width:x.getWidth(),height:x.getHeight()},L=this._orient===u?{right:I.width-C.x-C.width,top:I.height-s-l,width:C.width,height:s}:{right:l,top:C.y,width:s,height:C.height},F=d.getLayoutParams(_.option);y.each(["right","top","width","height"],function(P){F[P]==="ph"&&(F[P]=L[P])});var B=d.getLayoutRect(F,I,_.padding);this._location={x:B.x,y:B.y},this._size=[B.width,B.height],this._orient===h&&this._size.reverse()},_positionGroup:function(){var _=this.group,x=this._location,C=this._orient,I=this.dataZoomModel.getFirstTargetAxisModel(),L=I&&I.get("inverse"),F=this._displayables.barGroup,B=(this._dataShadowInfo||{}).otherAxisInverse;F.attr(C===u&&!L?{scale:B?[1,1]:[1,-1]}:C===u&&L?{scale:B?[-1,1]:[-1,-1]}:C===h&&!L?{scale:B?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:B?[-1,-1]:[-1,1],rotation:Math.PI/2});var P=_.getBoundingRect([F]);_.attr("position",[x.x-P.x,x.y-P.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var _=this.dataZoomModel,x=this._size,C=this._displayables.barGroup;C.add(new a({silent:!0,shape:{x:0,y:0,width:x[0],height:x[1]},style:{fill:_.get("backgroundColor")},z2:-40})),C.add(new a({shape:{x:0,y:0,width:x[0],height:x[1]},style:{fill:"transparent"},z2:0,onclick:y.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var _=this._dataShadowInfo=this._prepareDataShadowInfo();if(!_)return;var x=this._size,C=_.series,I=C.getRawData(),L=C.getShadowDim?C.getShadowDim():_.otherDim;if(L==null)return;var F=I.getDataExtent(L),B=(F[1]-F[0])*.3;F=[F[0]-B,F[1]+B];var P=[0,x[1]],H=[0,x[0]],z=[[x[0],0],[0,0]],M=[],U=H[1]/(I.count()-1),k=0,K=Math.round(I.count()/x[0]),j;I.each([L],function(W,X){if(K>0&&X%K){k+=U;return}var J=W==null||isNaN(W)||W==="",de=J?0:n(W,F,P,!0);J&&!j&&X?(z.push([z[z.length-1][0],0]),M.push([M[M.length-1][0],0])):!J&&j&&(z.push([k,0]),M.push([k,0])),z.push([k,de]),M.push([k,de]),k+=U,j=J});var V=this.dataZoomModel;this._displayables.barGroup.add(new S.Polygon({shape:{points:z},style:y.defaults({fill:V.get("dataBackgroundColor")},V.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new S.Polyline({shape:{points:M},style:V.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))},_prepareDataShadowInfo:function(){var _=this.dataZoomModel,x=_.get("showDataShadow");if(x===!1)return;var C,I=this.ecModel;return _.eachTargetAxis(function(L,F){var B=_.getAxisProxy(L.name,F).getTargetSeriesModels();y.each(B,function(P){if(C)return;if(x!==!0&&y.indexOf(v,P.get("type"))<0)return;var H=I.getComponent(L.axis,F).axis,z=b(L.name),M,U=P.coordinateSystem;z!=null&&U.getOtherAxis&&(M=U.getOtherAxis(H).inverse),z=P.getData().mapDimension(z),C={thisAxis:H,series:P,thisDim:L.name,otherDim:z,otherAxisInverse:M}},this)},this),C},_renderHandle:function(){var _=this._displayables,x=_.handles=[],C=_.handleLabels=[],I=this._displayables.barGroup,L=this._size,F=this.dataZoomModel;I.add(_.filler=new a({draggable:!0,cursor:E(this._orient),drift:o(this._onDragMove,this,"all"),ondragstart:o(this._showDataInfo,this,!0),ondragend:o(this._onDragEnd,this),onmouseover:o(this._showDataInfo,this,!0),onmouseout:o(this._showDataInfo,this,!1),style:{fill:F.get("fillerColor"),textPosition:"inside"}})),I.add(new a({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:L[0],height:L[1]},style:{stroke:F.get("dataBackgroundColor")||F.get("borderColor"),lineWidth:e,fill:"rgba(0,0,0,0)"}})),r([0,1],function(B){var P=S.createIcon(F.get("handleIcon"),{cursor:E(this._orient),draggable:!0,drift:o(this._onDragMove,this,B),ondragend:o(this._onDragEnd,this),onmouseover:o(this._showDataInfo,this,!0),onmouseout:o(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),H=P.getBoundingRect();this._handleHeight=f.parsePercent(F.get("handleSize"),this._size[1]),this._handleWidth=H.width/H.height*this._handleHeight,P.setStyle(F.getModel("handleStyle").getItemStyle());var z=F.get("handleColor");z!=null&&(P.style.fill=z),I.add(x[B]=P);var M=F.textStyleModel;this.group.add(C[B]=new S.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:M.getTextColor(),textFont:M.getFont()},z2:10}))},this)},_resetInterval:function(){var _=this._range=this.dataZoomModel.getPercentRange(),x=this._getViewExtent();this._handleEnds=[n(_[0],[0,100],x,!0),n(_[1],[0,100],x,!0)]},_updateInterval:function(_,x){var C=this.dataZoomModel,I=this._handleEnds,L=this._getViewExtent(),F=C.findRepresentativeAxisProxy().getMinMaxSpan(),B=[0,100];c(x,I,L,C.get("zoomLock")?"all":_,F.minSpan!=null?n(F.minSpan,B,L,!0):null,F.maxSpan!=null?n(F.maxSpan,B,L,!0):null);var P=this._range,H=this._range=i([n(I[0],L,B,!0),n(I[1],L,B,!0)]);return!P||P[0]!==H[0]||P[1]!==H[1]},_updateView:function(_){var x=this._displayables,C=this._handleEnds,I=i(C.slice()),L=this._size;r([0,1],function(F){var B=x.handles[F],P=this._handleHeight;B.attr({scale:[P/2,P/2],position:[C[F],L[1]/2-P/2]})},this),x.filler.setShape({x:I[0],y:0,width:I[1]-I[0],height:L[1]}),this._updateDataInfo(_)},_updateDataInfo:function(_){var x=this.dataZoomModel,C=this._displayables,I=C.handleLabels,L=this._orient,F=["",""];if(x.get("showDetail")){var B=x.findRepresentativeAxisProxy();if(B){var P=B.getAxisModel().axis,H=this._range,z=_?B.calculateDataWindow({start:H[0],end:H[1]}).valueWindow:B.getDataValueWindow();F=[this._formatLabel(z[0],P),this._formatLabel(z[1],P)]}}var M=i(this._handleEnds.slice());U.call(this,0),U.call(this,1);function U(k){var K=S.getTransform(C.handles[k].parent,this.group),j=S.transformDirection(k===0?"right":"left",K),V=this._handleWidth/2+A,W=S.applyTransform([M[k]+(k===0?-V:V),this._size[1]/2],K);I[k].setStyle({x:W[0],y:W[1],textVerticalAlign:L===u?"middle":j,textAlign:L===u?j:"center",text:F[k]})}},_formatLabel:function(_,x){var C=this.dataZoomModel,I=C.get("labelFormatter"),L=C.get("labelPrecision");(L==null||L==="auto")&&(L=x.getPixelPrecision());var F=_==null||isNaN(_)?"":x.type==="category"||x.type==="time"?x.scale.getLabel(Math.round(_)):_.toFixed(Math.min(L,20));return y.isFunction(I)?I(_,F):y.isString(I)?I.replace("{value}",F):F},_showDataInfo:function(_){_=this._dragging||_;var x=this._displayables.handleLabels;x[0].attr("invisible",!_),x[1].attr("invisible",!_)},_onDragMove:function(_,x,C,I){this._dragging=!0,p.stop(I.event);var L=this._displayables.barGroup.getLocalTransform(),F=S.applyTransform([x,C],L,!0),B=this._updateInterval(_,F[0]),P=this.dataZoomModel.get("realtime");this._updateView(!P),B&&P&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var _=this.dataZoomModel.get("realtime");!_&&this._dispatchZoomAction()},_onClickPanelClick:function(_){var x=this._size,C=this._displayables.barGroup.transformCoordToLocal(_.offsetX,_.offsetY);if(C[0]<0||C[0]>x[0]||C[1]<0||C[1]>x[1])return;var I=this._handleEnds,L=(I[0]+I[1])/2,F=this._updateInterval("all",C[0]-L);this._updateView(),F&&this._dispatchZoomAction()},_dispatchZoomAction:function(){var _=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:_[0],end:_[1]})},_findCoordRect:function(){var _;if(r(this.getTargetCoordInfo(),function(I){if(!_&&I.length){var L=I[0].model.coordinateSystem;_=L.getRect&&L.getRect()}}),!_){var x=this.api.getWidth(),C=this.api.getHeight();_={x:x*.2,y:C*.2,width:x*.6,height:C*.6}}return _}});function b(_){var x={x:"y",y:"x",radius:"angle",angle:"radius"};return x[_]}function E(_){return _==="vertical"?"ns-resize":"ew-resize"}var T=w;R.exports=T},IzEo:function(R,N,t){"use strict";var y=t("cIOH"),p=t.n(y),S=t("lnY3"),m=t.n(S),g=t("Znn+"),f=t("14J3"),d=t("jCWc")},J66h:function(R,N,t){(function(y){var p,S;(function(m,g){R.exports=g(m)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof y!="undefined"?y:this,function(m){"use strict";m=m||{};var g=m.Base64,f="2.6.4",d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=function(P){for(var H={},z=0,M=P.length;z>>6)+a(128|z&63):a(224|z>>>12&15)+a(128|z>>>6&63)+a(128|z&63)}else{var z=65536+(H.charCodeAt(0)-55296)*1024+(H.charCodeAt(1)-56320);return a(240|z>>>18&7)+a(128|z>>>12&63)+a(128|z>>>6&63)+a(128|z&63)}},i=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,o=function(H){return H.replace(i,n)},r=function(H){var z=[0,2,1][H.length%3],M=H.charCodeAt(0)<<16|(H.length>1?H.charCodeAt(1):0)<<8|(H.length>2?H.charCodeAt(2):0),U=[d.charAt(M>>>18),d.charAt(M>>>12&63),z>=2?"=":d.charAt(M>>>6&63),z>=1?"=":d.charAt(M&63)];return U.join("")},l=m.btoa&&typeof m.btoa=="function"?function(P){return m.btoa(P)}:function(P){if(P.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return P.replace(/[\s\S]{1,3}/g,r)},e=function(H){return l(o(String(H)))},s=function(H){return H.replace(/[+\/]/g,function(z){return z=="+"?"-":"_"}).replace(/=/g,"")},u=function(H,z){return z?s(e(H)):e(H)},h=function(H){return u(H,!0)},A;m.Uint8Array&&(A=function(H,z){for(var M="",U=0,k=H.length;U>>18)+d.charAt(W>>>12&63)+(typeof j!="undefined"?d.charAt(W>>>6&63):"=")+(typeof V!="undefined"?d.charAt(W&63):"=")}return z?s(M):M});var v=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,w=function(H){switch(H.length){case 4:var z=(7&H.charCodeAt(0))<<18|(63&H.charCodeAt(1))<<12|(63&H.charCodeAt(2))<<6|63&H.charCodeAt(3),M=z-65536;return a((M>>>10)+55296)+a((M&1023)+56320);case 3:return a((15&H.charCodeAt(0))<<12|(63&H.charCodeAt(1))<<6|63&H.charCodeAt(2));default:return a((31&H.charCodeAt(0))<<6|63&H.charCodeAt(1))}},b=function(H){return H.replace(v,w)},E=function(H){var z=H.length,M=z%4,U=(z>0?c[H.charAt(0)]<<18:0)|(z>1?c[H.charAt(1)]<<12:0)|(z>2?c[H.charAt(2)]<<6:0)|(z>3?c[H.charAt(3)]:0),k=[a(U>>>16),a(U>>>8&255),a(U&255)];return k.length-=[0,0,2,1][M],k.join("")},T=m.atob&&typeof m.atob=="function"?function(P){return m.atob(P)}:function(P){return P.replace(/\S{1,4}/g,E)},_=function(H){return T(String(H).replace(/[^A-Za-z0-9\+\/]/g,""))},x=function(H){return b(T(H))},C=function(H){return String(H).replace(/[-_]/g,function(z){return z=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},I=function(H){return x(C(H))},L;m.Uint8Array&&(L=function(H){return Uint8Array.from(_(C(H)),function(z){return z.charCodeAt(0)})});var F=function(){var H=m.Base64;return m.Base64=g,H};if(m.Base64={VERSION:f,atob:_,btoa:l,fromBase64:I,toBase64:u,utob:o,encode:u,encodeURI:h,btou:b,decode:I,noConflict:F,fromUint8Array:A,toUint8Array:L},typeof Object.defineProperty=="function"){var B=function(H){return{value:H,enumerable:!1,writable:!0,configurable:!0}};m.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",B(function(){return I(this)})),Object.defineProperty(String.prototype,"toBase64",B(function(P){return u(this,P)})),Object.defineProperty(String.prototype,"toBase64URI",B(function(){return u(this,!0)}))}}return m.Meteor&&(Base64=m.Base64),R.exports?R.exports.Base64=m.Base64:!(p=[],S=function(){return m.Base64}.apply(N,p),S!==void 0&&(R.exports=S)),{Base64:m.Base64}})}).call(this,t("yLpj"))},JEkh:function(R,N,t){var y=t("Tghj"),p=y.__DEV__,S=t("ProS"),m=t("bYtY"),g=t("ItGF"),f=t("4NO4"),d=t("7aKB"),c=t("OKJ2"),a=d.addCommas,n=d.encodeHTML;function i(l){f.defaultEmphasis(l,"label",["show"])}var o=S.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(l,e,s){this.mergeDefaultAndTheme(l,s),this._mergeOption(l,s,!1,!0)},isAnimationEnabled:function(){if(g.node)return!1;var l=this.__hostSeries;return this.getShallow("animation")&&l&&l.isAnimationEnabled()},mergeOption:function(l,e){this._mergeOption(l,e,!1,!1)},_mergeOption:function(l,e,s,u){var h=this.constructor,A=this.mainType+"Model";s||e.eachSeries(function(v){var w=v.get(this.mainType,!0),b=v[A];if(!w||!w.data){v[A]=null;return}b?b._mergeOption(w,e,!0):(u&&i(w),m.each(w.data,function(E){E instanceof Array?(i(E[0]),i(E[1])):i(E)}),b=new h(w,this,e),m.extend(b,{mainType:this.mainType,seriesIndex:v.seriesIndex,name:v.name,createdBySelf:!0}),b.__hostSeries=v),v[A]=b},this)},formatTooltip:function(l){var e=this.getData(),s=this.getRawValue(l),u=m.isArray(s)?m.map(s,a).join(", "):a(s),h=e.getName(l),A=n(this.name);return(s!=null||h)&&(A+="
    "),h&&(A+=n(h),s!=null&&(A+=" : ")),s!=null&&(A+=n(u)),A},getData:function(){return this._data},setData:function(l){this._data=l}});m.mixin(o,c);var r=o;R.exports=r},JGo8:function(R,N,t){},JLnu:function(R,N,t){var y=t("+TT/"),p=t("OELB"),S=p.parsePercent,m=p.linearMap;function g(a,n){return y.getLayoutRect(a.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})}function f(a,n){for(var i=a.mapDimension("value"),o=a.mapArray(i,function(u){return u}),r=[],l=n==="ascending",e=0,s=a.count();e=1&&!(J[I]!==0);I--);if(L>I&&(L=I),I===0)return v[w++]=1<<24|64<<16|0,v[w++]=1<<24|64<<16|0,E.bits=1,0;for(C=1;C0&&(s===c||I!==1))return-1;for(de[1]=0,_=1;_f||s===n&&H>d)return 1;for(;;){Ae=_-B,b[x]X?(me=G[ae+b[x]],Me=V[W+b[x]]):(me=32+64,Me=0),M=1<<_-B,U=1<>B)+U]=Ae<<24|me<<16|Me|0;while(U!==0);for(M=1<<_-1;z&M;)M>>=1;if(M!==0?(z&=M-1,z+=M):z=0,x++,--J[_]===0){if(_===I)break;_=u[h+b[x]]}if(_>L&&(z&K)!==k){for(B===0&&(B=L),j+=C,F=_-B,P=1<f||s===n&&H>d)return 1;k=z&K,v[k]=L<<24|F<<16|j-w|0}}return z!==0&&(v[j+z]=_-B<<24|64<<16|0),E.bits=L,0}},JVwQ:function(R,N,t){var y=t("ProS"),p=t("1NG9"),S=p.Polygon,m=t("IwbS"),g=t("bYtY"),f=g.bind,d=g.extend,c=t("gPAo"),a=y.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(i,o,r){var l=i.getData(),e=this.group,s=i.getLayerSeries(),u=l.getLayout("layoutInfo"),h=u.rect,A=u.boundaryGap;e.attr("position",[0,h.y+A[0]]);function v(T){return T.name}var w=new c(this._layersSeries||[],s,v,v),b={};w.add(f(E,this,"add")).update(f(E,this,"update")).remove(f(E,this,"remove")).execute();function E(T,_,x){var C=this._layers;if(T==="remove"){e.remove(C[_]);return}for(var I=[],L=[],F,B=s[_].indices,P=0;Poe.top-ee?ee+_e.top:void 0}function I(oe,_e,ee){if(ee!==void 0&&_e.bottom=0;re--)(ue=oe[re])&&(Ee=(Ge<3?ue(Ee):Ge>3?ue(_e,ee,Ee):ue(_e,ee))||Ee);return Ge>3&&Ee&&Object.defineProperty(_e,ee,Ee),Ee};function M(){return typeof window!="undefined"?window:null}var U;(function(oe){oe[oe.None=0]="None",oe[oe.Prepare=1]="Prepare"})(U||(U={}));var k=function(oe){o()(ee,oe);var _e=l()(ee);function ee(){var ne;return f()(this,ee),ne=_e.apply(this,arguments),ne.state={status:U.None,lastAffix:!1,prevTarget:null},ne.getOffsetTop=function(){var Ge=ne.props.offsetBottom,Ee=ne.props.offsetTop;return Ge===void 0&&Ee===void 0&&(Ee=0),Ee},ne.getOffsetBottom=function(){return ne.props.offsetBottom},ne.savePlaceholderNode=function(Ge){ne.placeholderNode=Ge},ne.saveFixedNode=function(Ge){ne.fixedNode=Ge},ne.measure=function(){var Ge=ne.state,Ee=Ge.status,ue=Ge.lastAffix,re=ne.props.onChange,ce=ne.getTargetFunc();if(Ee!==U.Prepare||!ne.fixedNode||!ne.placeholderNode||!ce)return;var ke=ne.getOffsetTop(),Te=ne.getOffsetBottom(),Ke=ce();if(!Ke)return;var Ie={status:U.None},se=x(Ke),ye=x(ne.placeholderNode),xe=C(ye,se,ke),Ye=I(ye,se,Te);xe!==void 0?(Ie.affixStyle={position:"fixed",top:xe,width:ye.width,height:ye.height},Ie.placeholderStyle={width:ye.width,height:ye.height}):Ye!==void 0&&(Ie.affixStyle={position:"fixed",bottom:Ye,width:ye.width,height:ye.height},Ie.placeholderStyle={width:ye.width,height:ye.height}),Ie.lastAffix=!!Ie.affixStyle,re&&ue!==Ie.lastAffix&&re(Ie.lastAffix),ne.setState(Ie)},ne.prepareMeasure=function(){if(ne.setState({status:U.Prepare,affixStyle:void 0,placeholderStyle:void 0}),!1)var Ge},ne.render=function(){var Ge=ne.context.getPrefixCls,Ee=ne.state,ue=Ee.affixStyle,re=Ee.placeholderStyle,ce=ne.props,ke=ce.prefixCls,Te=ce.children,Ke=h()(m()({},Ge("affix",ke),ue)),Ie=Object(b.default)(ne.props,["prefixCls","offsetTop","offsetBottom","target","onChange"]);return e.createElement(E.a,{onResize:function(){ne.updatePosition()}},e.createElement("div",p()({},Ie,{ref:ne.savePlaceholderNode}),ue&&e.createElement("div",{style:re,"aria-hidden":"true"}),e.createElement("div",{className:Ke,ref:ne.saveFixedNode,style:ue},e.createElement(E.a,{onResize:function(){ne.updatePosition()}},Te))))},ne}return c()(ee,[{key:"getTargetFunc",value:function(){var Ge=this.context.getTargetContainer,Ee=this.props.target;return Ee!==void 0?Ee:Ge||M}},{key:"componentDidMount",value:function(){var Ge=this,Ee=this.getTargetFunc();Ee&&(this.timeout=setTimeout(function(){P(Ee(),Ge),Ge.updatePosition()}))}},{key:"componentDidUpdate",value:function(Ge){var Ee=this.state.prevTarget,ue=this.getTargetFunc(),re=null;ue&&(re=ue()||null),Ee!==re&&(H(this),re&&(P(re,this),this.updatePosition()),this.setState({prevTarget:re})),(Ge.offsetTop!==this.props.offsetTop||Ge.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),H(this),this.updatePosition.cancel(),this.lazyUpdatePosition.cancel()}},{key:"updatePosition",value:function(){this.prepareMeasure()}},{key:"lazyUpdatePosition",value:function(){var Ge=this.getTargetFunc(),Ee=this.state.affixStyle;if(Ge&&Ee){var ue=this.getOffsetTop(),re=this.getOffsetBottom(),ce=Ge();if(ce&&this.placeholderNode){var ke=x(ce),Te=x(this.placeholderNode),Ke=C(Te,ke,ue),Ie=I(Te,ke,re);if(Ke!==void 0&&Ee.top===Ke||Ie!==void 0&&Ee.bottom===Ie)return}}this.prepareMeasure()}}]),ee}(e.Component);k.contextType=T.b,z([Object(_.b)()],k.prototype,"updatePosition",null),z([Object(_.b)()],k.prototype,"lazyUpdatePosition",null);var K=k,j=t("zAh6"),V=t("i6bk"),W=e.createContext(null),X=W;function J(){return window}function de(oe,_e){if(!oe.getClientRects().length)return 0;var ee=oe.getBoundingClientRect();return ee.width||ee.height?_e===window?(_e=oe.ownerDocument.documentElement,ee.top-_e.clientTop):ee.top-_e.getBoundingClientRect().top:ee.top}var G=/#(\S+)$/,ae=function(oe){o()(ee,oe);var _e=l()(ee);function ee(){var ne;return f()(this,ee),ne=_e.apply(this,arguments),ne.state={activeLink:null},ne.links=[],ne.registerLink=function(Ge){ne.links.includes(Ge)||ne.links.push(Ge)},ne.unregisterLink=function(Ge){var Ee=ne.links.indexOf(Ge);Ee!==-1&&ne.links.splice(Ee,1)},ne.getContainer=function(){var Ge=ne.context.getTargetContainer,Ee=ne.props.getContainer,ue=Ee||Ge||J;return ue()},ne.handleScrollTo=function(Ge){var Ee=ne.props,ue=Ee.offsetTop,re=Ee.targetOffset;ne.setCurrentActiveLink(Ge);var ce=ne.getContainer(),ke=Object(V.a)(ce,!0),Te=G.exec(Ge);if(!Te)return;var Ke=document.getElementById(Te[1]);if(!Ke)return;var Ie=de(Ke,ce),se=ke+Ie;se-=re!==void 0?re:ue||0,ne.animating=!0,Object(j.a)(se,{callback:function(){ne.animating=!1},getContainer:ne.getContainer})},ne.saveInkNode=function(Ge){ne.inkNode=Ge},ne.setCurrentActiveLink=function(Ge){var Ee=ne.state.activeLink,ue=ne.props.onChange;Ee!==Ge&&(ne.setState({activeLink:Ge}),ue&&ue(Ge))},ne.handleScroll=function(){if(ne.animating)return;var Ge=ne.props,Ee=Ge.offsetTop,ue=Ge.bounds,re=Ge.targetOffset,ce=ne.getCurrentAnchor(re!==void 0?re:Ee||0,ue);ne.setCurrentActiveLink(ce)},ne.updateInk=function(){var Ge=n()(ne),Ee=Ge.prefixCls,ue=s.findDOMNode(n()(ne)),re=ue.getElementsByClassName("".concat(Ee,"-link-title-active"))[0];re&&(ne.inkNode.style.top="".concat(re.offsetTop+re.clientHeight/2-4.5,"px"))},ne.render=function(){var Ge=ne.context,Ee=Ge.getPrefixCls,ue=Ge.direction,re=ne.props,ce=re.prefixCls,ke=re.className,Te=ke===void 0?"":ke,Ke=re.style,Ie=re.offsetTop,se=re.affix,ye=re.showInkInFixed,xe=re.children,Ye=ne.state.activeLink,pt=Ee("anchor",ce);ne.prefixCls=pt;var nt=h()("".concat(pt,"-ink-ball"),{visible:Ye}),Oe=h()(Te,"".concat(pt,"-wrapper"),m()({},"".concat(pt,"-rtl"),ue==="rtl")),vt=h()(pt,{fixed:!se&&!ye}),Ze=p()({maxHeight:Ie?"calc(100vh - ".concat(Ie,"px)"):"100vh"},Ke),wt=e.createElement("div",{className:Oe,style:Ze},e.createElement("div",{className:vt},e.createElement("div",{className:"".concat(pt,"-ink")},e.createElement("span",{className:nt,ref:ne.saveInkNode})),xe));return e.createElement(X.Provider,{value:{registerLink:ne.registerLink,unregisterLink:ne.unregisterLink,activeLink:ne.state.activeLink,scrollTo:ne.handleScrollTo,onClick:ne.props.onClick}},se?e.createElement(K,{offsetTop:Ie,target:ne.getContainer},wt):wt)},ne}return c()(ee,[{key:"componentDidMount",value:function(){this.scrollContainer=this.getContainer(),this.scrollEvent=Object(A.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll()}},{key:"componentDidUpdate",value:function(){if(this.scrollEvent){var Ge=this.getContainer();this.scrollContainer!==Ge&&(this.scrollContainer=Ge,this.scrollEvent.remove(),this.scrollEvent=Object(A.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll())}this.updateInk()}},{key:"componentWillUnmount",value:function(){this.scrollEvent&&this.scrollEvent.remove()}},{key:"getCurrentAnchor",value:function(){var Ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,ue=this.props.getCurrentAnchor;if(typeof ue=="function")return ue();var re=[],ce=this.getContainer();if(this.links.forEach(function(Te){var Ke=G.exec(Te.toString());if(!Ke)return;var Ie=document.getElementById(Ke[1]);if(Ie){var se=de(Ie,ce);seTe.top?Ke:Te});return ke.link}return""}}]),ee}(e.Component);ae.defaultProps={affix:!0,showInkInFixed:!1},ae.contextType=T.b;var Ae=function(oe){o()(ee,oe);var _e=l()(ee);function ee(){var ne;return f()(this,ee),ne=_e.apply(this,arguments),ne.handleClick=function(Ge){var Ee=ne.context,ue=Ee.scrollTo,re=Ee.onClick,ce=ne.props,ke=ce.href,Te=ce.title;re&&re(Ge,{title:Te,href:ke}),ue(ke)},ne.renderAnchorLink=function(Ge){var Ee=Ge.getPrefixCls,ue=ne.props,re=ue.prefixCls,ce=ue.href,ke=ue.title,Te=ue.children,Ke=ue.className,Ie=ue.target,se=Ee("anchor",re),ye=ne.context.activeLink===ce,xe=h()(Ke,"".concat(se,"-link"),m()({},"".concat(se,"-link-active"),ye)),Ye=h()("".concat(se,"-link-title"),m()({},"".concat(se,"-link-title-active"),ye));return e.createElement("div",{className:xe},e.createElement("a",{className:Ye,href:ce,title:typeof ke=="string"?ke:"",target:Ie,onClick:ne.handleClick},ke),Te)},ne}return c()(ee,[{key:"componentDidMount",value:function(){this.context.registerLink(this.props.href)}},{key:"componentDidUpdate",value:function(Ge){var Ee=Ge.href,ue=this.props.href;Ee!==ue&&(this.context.unregisterLink(Ee),this.context.registerLink(ue))}},{key:"componentWillUnmount",value:function(){this.context.unregisterLink(this.props.href)}},{key:"render",value:function(){return e.createElement(T.a,null,this.renderAnchorLink)}}]),ee}(e.Component);Ae.defaultProps={href:"#"},Ae.contextType=X;var me=Ae;ae.Link=me;var Me=N.a=ae},JuEJ:function(R,N,t){var y=t("bYtY"),p=t("4NO4"),S=y.each,m=y.isObject,g=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function f(e){var s=e&&e.itemStyle;if(!s)return;for(var u=0,h=g.length;u0},extendFrom:function(r,l){if(r)for(var e in r)r.hasOwnProperty(e)&&(l===!0||(l===!1?!this.hasOwnProperty(e):r[e]!=null))&&(this[e]=r[e])},set:function(r,l){typeof r=="string"?this[r]=l:this.extendFrom(r,!0)},clone:function(){var r=new this.constructor;return r.extendFrom(this,!0),r},getGradient:function(r,l,e){for(var s=l.type==="radial"?d:f,u=s(r,l,e),h=l.colorStops,A=0;A=0||d&&y.indexOf(d,n)<0)continue;var i=g.getShallow(n);i!=null&&(c[S[a][0]]=i)}return c}}R.exports=p},KPFz:function(R,N,t){},KQeH:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 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:"download",theme:"outlined"};N.default=y},KS52:function(R,N,t){var y=t("OELB"),p=y.parsePercent,S=y.linearMap,m=t("+TT/"),g=t("u3DP"),f=t("bYtY"),d=Math.PI*2,c=Math.PI/180;function a(i,o){return m.getLayoutRect(i.getBoxLayoutParams(),{width:o.getWidth(),height:o.getHeight()})}function n(i,o,r,l){o.eachSeriesByType(i,function(e){var s=e.getData(),u=s.mapDimension("value"),h=a(e,r),A=e.get("center"),v=e.get("radius");f.isArray(v)||(v=[0,v]),f.isArray(A)||(A=[A,A]);var w=p(h.width,r.getWidth()),b=p(h.height,r.getHeight()),E=Math.min(w,b),T=p(A[0],w)+h.x,_=p(A[1],b)+h.y,x=p(v[0],E/2),C=p(v[1],E/2),I=-e.get("startAngle")*c,L=e.get("minAngle")*c,F=0;s.each(u,function(X){!isNaN(X)&&F++});var B=s.getSum(u),P=Math.PI/(B||F)*2,H=e.get("clockwise"),z=e.get("roseType"),M=e.get("stillShowZeroSum"),U=s.getDataExtent(u);U[0]=0;var k=d,K=0,j=I,V=H?1:-1;if(s.each(u,function(X,J){var de;if(isNaN(X)){s.setItemLayout(J,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:H,cx:T,cy:_,r0:x,r:z?NaN:C,viewRect:h});return}z!=="area"?de=B===0&&M?P:X*P:de=d/F,dept?nt>=Oe?10+ye:20+ye:nt<=Oe?10+ye:ye},Te=function(ye,xe){if(typeof ye=="number"){var Ye=ke(ye,xe),pt=X||s(Ge)[xe]===void 0;return d.createElement("span",{className:"".concat(ce,"-only"),style:{transition:pt?"none":void 0,msTransform:"translateY(".concat(-Ye*100,"%)"),WebkitTransform:"translateY(".concat(-Ye*100,"%)"),transform:"translateY(".concat(-Ye*100,"%)")},key:xe},u(Ye,"".concat(ce,"-only-unit")))}return d.createElement("span",{key:"symbol",className:"".concat(ce,"-symbol")},ye)},Ke=function(){return ae&&Number(ae)%1===0?s(ae).map(function(ye,xe){return Te(ye,xe)}).reverse():ae},Ie=f()(f()({},j),{style:P,className:n()(ce,B),title:H});return P&&P.borderColor&&(Ie.style=f()(f()({},P),{boxShadow:"0 0 0 1px ".concat(P.borderColor," inset")})),U?Object(l.a)(U,{className:n()("".concat(ce,"-custom-component"),U.props&&U.props.className)}):d.createElement(M,Ie,Ke())},A=h,v=t("09Wf");function w(C){return v.a.indexOf(C)!==-1}var b=function(I){var L,F=I.className,B=I.prefixCls,P=I.style,H=I.color,z=I.children,M=I.text,U=I.placement,k=U===void 0?"end":U,K=d.useContext(r.b),j=K.getPrefixCls,V=K.direction,W=j("ribbon",B),X=w(H),J=n()(W,F,"".concat(W,"-placement-").concat(k),(L={},p()(L,"".concat(W,"-rtl"),V==="rtl"),p()(L,"".concat(W,"-color-").concat(H),X),L)),de={},G={};return H&&!X&&(de.background=H,G.color=H),d.createElement("div",{className:"".concat(W,"-wrapper")},z,d.createElement("div",{className:J,style:f()(f()({},de),P)},M,d.createElement("div",{className:"".concat(W,"-corner"),style:G})))},E=b,T=function(C,I){var L={};for(var F in C)Object.prototype.hasOwnProperty.call(C,F)&&I.indexOf(F)<0&&(L[F]=C[F]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,F=Object.getOwnPropertySymbols(C);BV?"".concat(V,"+"):K;return xt},re=function(){return!!z||!!U},ce=function(){var xt=ue();return xt==="0"||xt===0},ke=function(){return X&&!ce()||re()},Te=function(){return ke()?"":ue()},Ke=function(){return G||(typeof K=="string"||typeof K=="number"?K:void 0)},Ie=function(){return Ge==="rtl"?ae?f()({left:parseInt(ae[0],10),marginTop:ae[1]},Ae):Ae:ae?f()({right:-parseInt(ae[0],10),marginTop:ae[1]},Ae):Ae},se=function(){var xt=Te(),Ot=xt==null||xt==="";return(Ot||ce()&&!oe)&&!ke()},ye=function(){var xt=se();return xt||!M?null:d.createElement("span",{className:"".concat(Ee,"-status-text")},M)},xe=function(){var xt=K;return!xt||m()(xt)!=="object"?void 0:Object(l.a)(xt,{style:f()(f()({},Ie()),xt.props&&xt.props.style)})},Ye=function(){var xt,Ot=ne("scroll-number",P),Mt=Te(),Gt=ke(),$e=se(),pe=n()((xt={},p()(xt,"".concat(Ee,"-dot"),Gt),p()(xt,"".concat(Ee,"-count"),!Gt),p()(xt,"".concat(Ee,"-count-sm"),de==="small"),p()(xt,"".concat(Ee,"-multiple-words"),!Gt&&K&&K.toString&&K.toString().length>1),p()(xt,"".concat(Ee,"-status-").concat(z),!!z),p()(xt,"".concat(Ee,"-status-").concat(U),w(U)),xt)),q=Ie();return U&&!w(U)&&(q=q||{},q.background=U),$e?null:d.createElement(A,{prefixCls:Ot,"data-show":!$e,className:pe,count:Mt,displayComponent:xe(),title:Ke(),style:q,key:"scrollNumber"})},pt=n()((L={},p()(L,"".concat(Ee,"-status-dot"),re()),p()(L,"".concat(Ee,"-status-").concat(z),!!z),p()(L,"".concat(Ee,"-status-").concat(U),w(U)),L)),nt={};U&&!w(U)&&(nt.background=U);var Oe=n()(me,Ee,(F={},p()(F,"".concat(Ee,"-status"),re()),p()(F,"".concat(Ee,"-not-a-wrapper"),!H),p()(F,"".concat(Ee,"-rtl"),Ge==="rtl"),F));if(!H&&re()){var vt=Ie(),Ze=vt&&vt.color;return d.createElement("span",f()({},_e,{className:Oe,style:vt}),d.createElement("span",{className:pt,style:nt}),d.createElement("span",{style:{color:Ze},className:"".concat(Ee,"-status-text")},M))}return d.createElement("span",f()({},_e,{className:Oe}),H,d.createElement(c.a,{component:"",showProp:"data-show",transitionName:H?"".concat(Ee,"-zoom"):"",transitionAppear:!0},Ye()),ye())};_.Ribbon=E;var x=N.a=_},Kvyg:function(R,N,t){},KxBF:function(R,N){function t(y,p,S){var m=-1,g=y.length;p<0&&(p=-p>g?0:g+p),S=S>g?g:S,S<0&&(S+=g),g=p>S?0:S-p>>>0,p>>>=0;for(var f=Array(g);++m0&&Date.now()-this._tracked[0].started>e){this._state=m,this._ignored.push(b);return}if(this._waitingRelease){this._state=m,this._ignored.push(b);return}this._tracked.push({id:b,started:Date.now(),active:!0,firstX:E,firstY:T,lastX:E,lastY:T,angle:0});switch(this._tracked.length){case 1:this._startLongpressTimeout();break;case 2:this._state&=~(g|c|a),this._stopLongpressTimeout();break;case 3:this._state&=~(f|n|i);break;default:this._state=m}}},{key:"_touchMove",value:function(b,E,T){var _=this._tracked.find(function(B){return B.id===b});if(_===void 0)return;_.lastX=E,_.lastY=T;var x=E-_.firstX,C=T-_.firstY;if((_.firstX!==_.lastX||_.firstY!==_.lastY)&&(_.angle=Math.atan2(C,x)*180/Math.PI),!this._hasDetectedGesture()){if(Math.hypot(x,C)r){var F=Math.abs(_.angle-I.angle);F=Math.abs((F+180)%360-180),F>l?this._state&=~n:this._state&=~i,this._isTwoTouchTimeoutRunning()&&this._stopTwoTouchTimeout()}else this._isTwoTouchTimeoutRunning()||this._startTwoTouchTimeout()}if(!this._hasDetectedGesture())return;this._pushEvent("gesturestart")}this._pushEvent("gesturemove")}},{key:"_touchEnd",value:function(b,E,T){if(this._ignored.indexOf(b)!==-1){this._ignored.splice(this._ignored.indexOf(b),1),this._ignored.length===0&&this._tracked.length===0&&(this._state=o,this._waitingRelease=!1);return}if(!this._hasDetectedGesture()&&this._isTwoTouchTimeoutRunning()&&(this._stopTwoTouchTimeout(),this._state=m),!this._hasDetectedGesture()&&(this._state&=~(c|n|i),this._state&=~a,this._stopLongpressTimeout(),!this._waitingRelease)){this._releaseStart=Date.now(),this._waitingRelease=!0;switch(this._tracked.length){case 1:this._state&=~(f|d);break;case 2:this._state&=~(g|d);break}}if(this._waitingRelease){Date.now()-this._releaseStart>e&&(this._state=m),this._tracked.some(function(C){return Date.now()-C.started>s})&&(this._state=m);var _=this._tracked.find(function(C){return C.id===b});if(_.active=!1,this._hasDetectedGesture())this._pushEvent("gesturestart");else if(this._state!==m)return}this._hasDetectedGesture()&&this._pushEvent("gestureend");for(var x=0;x=0)continue;if(!Object.prototype.hasOwnProperty.call(o,e))continue;l[e]=o[e]}return l}function c(o,r){if(!(o instanceof r))throw new TypeError("Cannot call a class as a function")}function a(o,r){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:o}function n(o,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);o.prototype=Object.create(r&&r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(o,r):o.__proto__=r)}var i=function(o){n(r,o);function r(l){c(this,r);var e=a(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,l));return e.scrollListener=e.scrollListener.bind(e),e.eventListenerOptions=e.eventListenerOptions.bind(e),e.mousewheelListener=e.mousewheelListener.bind(e),e}return y(r,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var e=this.getParentElement(this.scrollComponent);e.scrollTop=e.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var e=!1,s={get passive(){e=!0}};try{document.addEventListener("test",null,s),document.removeEventListener("test",null,s)}catch(u){}return e}},{key:"eventListenerOptions",value:function(){var e=this.props.useCapture;return this.isPassiveSupported()&&(e={useCapture:this.props.useCapture,passive:!0}),e}},{key:"setDefaultLoader",value:function(e){this.defaultLoader=e}},{key:"detachMousewheelListener",value:function(){var e=window;this.props.useWindow===!1&&(e=this.scrollComponent.parentNode),e.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var e=window;this.props.useWindow===!1&&(e=this.getParentElement(this.scrollComponent)),e.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),e.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(e){var s=this.props.getScrollParent&&this.props.getScrollParent();return s!=null?s:e&&e.parentNode}},{key:"filterProps",value:function(e){return e}},{key:"attachScrollListener",value:function(){var e=this.getParentElement(this.scrollComponent);if(!this.props.hasMore||!e)return;var s=window;this.props.useWindow===!1&&(s=e),s.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),s.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),s.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}},{key:"mousewheelListener",value:function(e){e.deltaY===1&&!this.isPassiveSupported()&&e.preventDefault()}},{key:"scrollListener",value:function(){var e=this.scrollComponent,s=window,u=this.getParentElement(e),h=void 0;if(this.props.useWindow){var A=document.documentElement||document.body.parentNode||document.body,v=s.pageYOffset!==void 0?s.pageYOffset:A.scrollTop;this.props.isReverse?h=v:h=this.calculateOffset(e,v)}else this.props.isReverse?h=u.scrollTop:h=e.scrollHeight-u.scrollTop-u.clientHeight;h=4&&(me={x:parseFloat(oe[0]||0),y:parseFloat(oe[1]||0),width:parseFloat(oe[2]),height:parseFloat(oe[3])})}if(me&&G!=null&&ae!=null&&(Me=K(me,G,ae),!W.ignoreViewBox)){var _e=J;J=new y,J.add(_e),_e.scale=Me.scale.slice(),_e.position=Me.position.slice()}return!W.ignoreRootClip&&G!=null&&ae!=null&&J.setClipPath(new g({shape:{x:0,y:0,width:G,height:ae}})),{root:J,width:G,height:ae,viewBoxRect:me,viewBoxTransform:Me}},T.prototype._parseNode=function(V,W){var X=V.nodeName.toLowerCase();X==="defs"?this._isDefine=!0:X==="text"&&(this._isText=!0);var J;if(this._isDefine){var de=x[X];if(de){var G=de.call(this,V),ae=V.getAttribute("id");ae&&(this._defs[ae]=G)}}else{var de=_[X];de&&(J=de.call(this,V,W),W.add(J))}for(var Ae=V.firstChild;Ae;)Ae.nodeType===1&&this._parseNode(Ae,J),Ae.nodeType===3&&this._isText&&this._parseText(Ae,J),Ae=Ae.nextSibling;X==="defs"?this._isDefine=!1:X==="text"&&(this._isText=!1)},T.prototype._parseText=function(V,W){if(V.nodeType===1){var X=V.getAttribute("dx")||0,J=V.getAttribute("dy")||0;this._textX+=parseFloat(X),this._textY+=parseFloat(J)}var de=new S({style:{text:V.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});I(W,de),B(V,de,this._defs);var G=de.style.fontSize;G&&G<9&&(de.style.fontSize=9,de.scale=de.scale||[1,1],de.scale[0]*=G/9,de.scale[1]*=G/9);var ae=de.getBoundingRect();return this._textX+=ae.width,W.add(de),de};var _={g:function(W,X){var J=new y;return I(X,J),B(W,J,this._defs),J},rect:function(W,X){var J=new g;return I(X,J),B(W,J,this._defs),J.setShape({x:parseFloat(W.getAttribute("x")||0),y:parseFloat(W.getAttribute("y")||0),width:parseFloat(W.getAttribute("width")||0),height:parseFloat(W.getAttribute("height")||0)}),J},circle:function(W,X){var J=new m;return I(X,J),B(W,J,this._defs),J.setShape({cx:parseFloat(W.getAttribute("cx")||0),cy:parseFloat(W.getAttribute("cy")||0),r:parseFloat(W.getAttribute("r")||0)}),J},line:function(W,X){var J=new d;return I(X,J),B(W,J,this._defs),J.setShape({x1:parseFloat(W.getAttribute("x1")||0),y1:parseFloat(W.getAttribute("y1")||0),x2:parseFloat(W.getAttribute("x2")||0),y2:parseFloat(W.getAttribute("y2")||0)}),J},ellipse:function(W,X){var J=new f;return I(X,J),B(W,J,this._defs),J.setShape({cx:parseFloat(W.getAttribute("cx")||0),cy:parseFloat(W.getAttribute("cy")||0),rx:parseFloat(W.getAttribute("rx")||0),ry:parseFloat(W.getAttribute("ry")||0)}),J},polygon:function(W,X){var J=W.getAttribute("points");J&&(J=L(J));var de=new a({shape:{points:J||[]}});return I(X,de),B(W,de,this._defs),de},polyline:function(W,X){var J=new c;I(X,J),B(W,J,this._defs);var de=W.getAttribute("points");de&&(de=L(de));var G=new n({shape:{points:de||[]}});return G},image:function(W,X){var J=new p;return I(X,J),B(W,J,this._defs),J.setStyle({image:W.getAttribute("xlink:href"),x:W.getAttribute("x"),y:W.getAttribute("y"),width:W.getAttribute("width"),height:W.getAttribute("height")}),J},text:function(W,X){var J=W.getAttribute("x")||0,de=W.getAttribute("y")||0,G=W.getAttribute("dx")||0,ae=W.getAttribute("dy")||0;this._textX=parseFloat(J)+parseFloat(G),this._textY=parseFloat(de)+parseFloat(ae);var Ae=new y;return I(X,Ae),B(W,Ae,this._defs),Ae},tspan:function(W,X){var J=W.getAttribute("x"),de=W.getAttribute("y");J!=null&&(this._textX=parseFloat(J)),de!=null&&(this._textY=parseFloat(de));var G=W.getAttribute("dx")||0,ae=W.getAttribute("dy")||0,Ae=new y;return I(X,Ae),B(W,Ae,this._defs),this._textX+=G,this._textY+=ae,Ae},path:function(W,X){var J=W.getAttribute("d")||"",de=e(J);return I(X,de),B(W,de,this._defs),de}},x={lineargradient:function(W){var X=parseInt(W.getAttribute("x1")||0,10),J=parseInt(W.getAttribute("y1")||0,10),de=parseInt(W.getAttribute("x2")||10,10),G=parseInt(W.getAttribute("y2")||0,10),ae=new i(X,J,de,G);return C(W,ae),ae},radialgradient:function(W){}};function C(V,W){for(var X=V.firstChild;X;){if(X.nodeType===1){var J=X.getAttribute("offset");J.indexOf("%")>0?J=parseInt(J,10)/100:J?J=parseFloat(J):J=0;var de=X.getAttribute("stop-color")||"#000000";W.addColorStop(J,de)}X=X.nextSibling}}function I(V,W){V&&V.__inheritedStyle&&(W.__inheritedStyle||(W.__inheritedStyle={}),A(W.__inheritedStyle,V.__inheritedStyle))}function L(V){for(var W=v(V).split(b),X=[],J=0;J0;G-=2){var ae=de[G],Ae=de[G-1];J=J||r.create();switch(Ae){case"translate":ae=v(ae).split(b),r.translate(J,J,[parseFloat(ae[0]),parseFloat(ae[1]||0)]);break;case"scale":ae=v(ae).split(b),r.scale(J,J,[parseFloat(ae[0]),parseFloat(ae[1]||ae[0])]);break;case"rotate":ae=v(ae).split(b),r.rotate(J,J,parseFloat(ae[0]));break;case"skew":ae=v(ae).split(b),console.warn("Skew transform is not supported yet");break;case"matrix":var ae=v(ae).split(b);J[0]=parseFloat(ae[0]),J[1]=parseFloat(ae[1]),J[2]=parseFloat(ae[2]),J[3]=parseFloat(ae[3]),J[4]=parseFloat(ae[4]),J[5]=parseFloat(ae[5]);break}}W.setLocalTransform(J)}}var U=/([^\s:;]+)\s*:\s*([^:;]+)/g;function k(V){var W=V.getAttribute("style"),X={};if(!W)return X;var J={};U.lastIndex=0;for(var de;(de=U.exec(W))!=null;)J[de[1]]=de[2];for(var G in F)F.hasOwnProperty(G)&&J[G]!=null&&(X[F[G]]=J[G]);return X}function K(V,W,X){var J=W/V.width,de=X/V.height,G=Math.min(J,de),ae=[G,G],Ae=[-(V.x+V.width/2)*G+W/2,-(V.y+V.height/2)*G+X/2];return{scale:ae,position:Ae}}function j(V,W){var X=new T;return X.parse(V,W)}N.parseXML=E,N.makeViewBoxTransform=K,N.parseSVG=j},MFOe:function(R,N,t){(function(y){var p=f(),S=d(),m=c(),g=typeof window!="undefined"?window:y;R.exports={assign:p,create:S,trim:m,bind:a,slice:n,each:i,map:o,pluck:r,isList:l,isFunction:e,isObject:s,Global:g};function f(){return Object.assign?Object.assign:function(h,A,v,w){for(var b=1;b=0&&typeof E=="number"&&(E=+E.toFixed(Math.min(F,20))),I.coord[x]=L.coord[x]=E,A=[I,L,{type:w,valueIndex:A.valueIndex,value:E}]}return A=[m.dataTransform(s,A[0]),m.dataTransform(s,A[1]),y.extend({},A[2])],A[2].type=A[2].type||"",y.merge(A[2],A[0]),y.merge(A[2],A[1]),A};function n(s){return!isNaN(s)&&!isFinite(s)}function i(s,u,h,A){var v=1-s,w=A.dimensions[s];return n(u[v])&&n(h[v])&&u[s]===h[s]&&A.getAxis(w).containData(u[s])}function o(s,u){if(s.type==="cartesian2d"){var h=u[0].coord,A=u[1].coord;if(h&&A&&(i(1,h,A,s)||i(0,h,A,s)))return!0}return m.dataFilter(s,u[0])&&m.dataFilter(s,u[1])}function r(s,u,h,A,v){var w=A.coordinateSystem,b=s.getItemModel(u),E,T=S.parsePercent(b.get("x"),v.getWidth()),_=S.parsePercent(b.get("y"),v.getHeight());if(!isNaN(T)&&!isNaN(_))E=[T,_];else{if(A.getMarkerPosition)E=A.getMarkerPosition(s.getValues(s.dimensions,u));else{var x=w.dimensions,C=s.get(x[0],u),I=s.get(x[1],u);E=w.dataToPoint([C,I])}if(w.type==="cartesian2d"){var L=w.getAxis("x"),F=w.getAxis("y"),x=w.dimensions;n(s.get(x[0],u))?E[0]=L.toGlobalCoord(L.getExtent()[h?0:1]):n(s.get(x[1],u))&&(E[1]=F.toGlobalCoord(F.getExtent()[h?0:1]))}isNaN(T)||(E[0]=T),isNaN(_)||(E[1]=_)}s.setItemLayout(u,E)}var l=f.extend({type:"markLine",updateTransform:function(s,u,h){u.eachSeries(function(A){var v=A.markLineModel;if(v){var w=v.getData(),b=v.__from,E=v.__to;b.each(function(T){r(b,T,!0,A,h),r(E,T,!1,A,h)}),w.each(function(T){w.setItemLayout(T,[b.getItemLayout(T),E.getItemLayout(T)])}),this.markerGroupMap.get(A.id).updateLayout()}},this)},renderSeries:function(s,u,h,A){var v=s.coordinateSystem,w=s.id,b=s.getData(),E=this.markerGroupMap,T=E.get(w)||E.set(w,new g);this.group.add(T.group);var _=e(v,s,u),x=_.from,C=_.to,I=_.line;u.__from=x,u.__to=C,u.setData(I);var L=u.get("symbol"),F=u.get("symbolSize");y.isArray(L)||(L=[L,L]),typeof F=="number"&&(F=[F,F]),_.from.each(function(P){B(x,P,!0),B(C,P,!1)}),I.each(function(P){var H=I.getItemModel(P).get("lineStyle.color");I.setItemVisual(P,{color:H||x.getItemVisual(P,"color")}),I.setItemLayout(P,[x.getItemLayout(P),C.getItemLayout(P)]),I.setItemVisual(P,{fromSymbolSize:x.getItemVisual(P,"symbolSize"),fromSymbol:x.getItemVisual(P,"symbol"),toSymbolSize:C.getItemVisual(P,"symbolSize"),toSymbol:C.getItemVisual(P,"symbol")})}),T.updateData(I),_.line.eachItemGraphicEl(function(P,H){P.traverse(function(z){z.dataModel=u})});function B(P,H,z){var M=P.getItemModel(H);r(P,H,z,s,A),P.setItemVisual(H,{symbolSize:M.get("symbolSize")||F[z?0:1],symbol:M.get("symbol",!0)||L[z?0:1],color:M.get("itemStyle.color")||b.getVisual("color")})}T.__keep=!0,T.group.silent=u.get("silent")||s.get("silent")}});function e(s,u,h){var A;s?A=y.map(s&&s.dimensions,function(_){var x=u.getData().getDimensionInfo(u.getData().mapDimension(_))||{};return y.defaults({name:_},x)}):A=[{name:"value",type:"float"}];var v=new p(A,h),w=new p(A,h),b=new p([],h),E=y.map(h.get("data"),y.curry(a,u,s,h));s&&(E=y.filter(E,y.curry(o,s)));var T=s?m.dimValueGetter:function(_){return _.value};return v.initData(y.map(E,function(_){return _[0]}),null,T),w.initData(y.map(E,function(_){return _[1]}),null,T),b.initData(y.map(E,function(_){return _[2]})),b.hasItemOption=!0,{from:v,to:w,line:b}}R.exports=l},MHoB:function(R,N,t){var y=t("bYtY"),p=t("6uqw"),S=t("OELB"),m=[20,140],g=p.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:null},optionUpdated:function(c,a){g.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual(function(n){n.mappingMethod="linear",n.dataExtent=this.getExtent()}),this._resetRange()},resetItemSize:function(){g.superApply(this,"resetItemSize",arguments);var c=this.itemSize;this._orient==="horizontal"&&c.reverse(),(c[0]==null||isNaN(c[0]))&&(c[0]=m[0]),(c[1]==null||isNaN(c[1]))&&(c[1]=m[1])},_resetRange:function(){var c=this.getExtent(),a=this.option.range;!a||a.auto?(c.auto=1,this.option.range=c):y.isArray(a)&&(a[0]>a[1]&&a.reverse(),a[0]=Math.max(a[0],c[0]),a[1]=Math.min(a[1],c[1]))},completeVisualOption:function(){p.prototype.completeVisualOption.apply(this,arguments),y.each(this.stateList,function(c){var a=this.option.controller[c].symbolSize;a&&a[0]!==a[1]&&(a[0]=0)},this)},setSelected:function(c){this.option.range=c.slice(),this._resetRange()},getSelected:function(){var c=this.getExtent(),a=S.asc((this.get("range")||[]).slice());return a[0]>c[1]&&(a[0]=c[1]),a[1]>c[1]&&(a[1]=c[1]),a[0]=n[1]||c<=a[1])?"inRange":"outOfRange"},findTargetDataIndices:function(c){var a=[];return this.eachTargetSeries(function(n){var i=[],o=n.getData();o.each(this.getDataDimension(o),function(r,l){c[0]<=r&&r<=c[1]&&i.push(l)},this),a.push({seriesId:n.id,dataIndex:i})},this),a},getVisualMeta:function(c){var a=f(this,"outOfRange",this.getExtent()),n=f(this,"inRange",this.option.range.slice()),i=[];function o(A,v){i.push({value:A,color:c(A,v)})}for(var r=0,l=0,e=n.length,s=a.length;l=0&&this._clips.splice(n,1)},removeAnimator:function(a){for(var n=a.getClips(),i=0;i> Display.constructor"),this._target=l,!this._target)throw new Error("Target must be set");if(typeof this._target=="string")throw new Error("target must be a DOM element");if(!this._target.getContext)throw new Error("no getContext method");if(this._targetCtx=this._target.getContext("2d"),this._viewportLoc={x:0,y:0,w:this._target.width,h:this._target.height},this._backbuffer=document.createElement("canvas"),this._drawCtx=this._backbuffer.getContext("2d"),this._damageBounds={left:0,top:0,right:this._backbuffer.width,bottom:this._backbuffer.height},p.Debug("User Agent: "+navigator.userAgent),!("createImageData"in this._drawCtx))throw new Error("Canvas does not support createImageData");this._tile16x16=this._drawCtx.createImageData(16,16),p.Debug("<< Display.constructor"),this._scale=1,this._clipViewport=!1,this.onflush=function(){}}return i(r,[{key:"viewportChangePos",value:function(e,s){var u=this._viewportLoc;e=Math.floor(e),s=Math.floor(s),this._clipViewport||(e=-u.w,s=-u.h);var h=u.x+u.w-1,A=u.y+u.h-1;if(e<0&&u.x+e<0&&(e=-u.x),h+e>=this._fbWidth&&(e-=h+e-this._fbWidth+1),u.y+s<0&&(s=-u.y),A+s>=this._fbHeight&&(s-=A+s-this._fbHeight+1),e===0&&s===0)return;p.Debug("viewportChange deltaX: "+e+", deltaY: "+s),u.x+=e,u.y+=s,this._damage(u.x,u.y,u.w,u.h),this.flip()}},{key:"viewportChangeSize",value:function(e,s){(!this._clipViewport||typeof e=="undefined"||typeof s=="undefined")&&(p.Debug("Setting viewport to full display region"),e=this._fbWidth,s=this._fbHeight),e=Math.floor(e),s=Math.floor(s),e>this._fbWidth&&(e=this._fbWidth),s>this._fbHeight&&(s=this._fbHeight);var u=this._viewportLoc;if(u.w!==e||u.h!==s){u.w=e,u.h=s;var h=this._target;h.width=e,h.height=s,this.viewportChangePos(0,0),this._damage(u.x,u.y,u.w,u.h),this.flip(),this._rescale(this._scale)}}},{key:"absX",value:function(e){return this._scale===0?0:(0,g.toSigned32bit)(e/this._scale+this._viewportLoc.x)}},{key:"absY",value:function(e){return this._scale===0?0:(0,g.toSigned32bit)(e/this._scale+this._viewportLoc.y)}},{key:"resize",value:function(e,s){this._prevDrawStyle="",this._fbWidth=e,this._fbHeight=s;var u=this._backbuffer;if(u.width!==e||u.height!==s){var h=null;u.width>0&&u.height>0&&(h=this._drawCtx.getImageData(0,0,u.width,u.height)),u.width!==e&&(u.width=e),u.height!==s&&(u.height=s),h&&this._drawCtx.putImageData(h,0,0)}var A=this._viewportLoc;this.viewportChangeSize(A.w,A.h),this.viewportChangePos(0,0)}},{key:"_damage",value:function(e,s,u,h){ethis._damageBounds.right&&(this._damageBounds.right=e+u),s+h>this._damageBounds.bottom&&(this._damageBounds.bottom=s+h)}},{key:"flip",value:function(e){if(this._renderQ.length!==0&&!e)this._renderQPush({type:"flip"});else{var s=this._damageBounds.left,u=this._damageBounds.top,h=this._damageBounds.right-s,A=this._damageBounds.bottom-u,v=s-this._viewportLoc.x,w=u-this._viewportLoc.y;v<0&&(h+=v,s-=v,v=0),w<0&&(A+=w,u-=w,w=0),v+h>this._viewportLoc.w&&(h=this._viewportLoc.w-v),w+A>this._viewportLoc.h&&(A=this._viewportLoc.h-w),h>0&&A>0&&this._targetCtx.drawImage(this._backbuffer,s,u,h,A,v,w,h,A),this._damageBounds.left=this._damageBounds.top=65535,this._damageBounds.right=this._damageBounds.bottom=0}}},{key:"pending",value:function(){return this._renderQ.length>0}},{key:"flush",value:function(){this._renderQ.length===0?this.onflush():this._flushing=!0}},{key:"fillRect",value:function(e,s,u,h,A,v){this._renderQ.length!==0&&!v?this._renderQPush({type:"fill",x:e,y:s,width:u,height:h,color:A}):(this._setFillColor(A),this._drawCtx.fillRect(e,s,u,h),this._damage(e,s,u,h))}},{key:"copyImage",value:function(e,s,u,h,A,v,w){this._renderQ.length!==0&&!w?this._renderQPush({type:"copy",oldX:e,oldY:s,x:u,y:h,width:A,height:v}):(this._drawCtx.mozImageSmoothingEnabled=!1,this._drawCtx.webkitImageSmoothingEnabled=!1,this._drawCtx.msImageSmoothingEnabled=!1,this._drawCtx.imageSmoothingEnabled=!1,this._drawCtx.drawImage(this._backbuffer,e,s,A,v,u,h,A,v),this._damage(u,h,A,v))}},{key:"imageRect",value:function(e,s,u,h,A,v){if(u===0||h===0)return;var w=new Image;w.src="data: "+A+";base64,"+S.default.encode(v),this._renderQPush({type:"img",img:w,x:e,y:s,width:u,height:h})}},{key:"startTile",value:function(e,s,u,h,A){this._tileX=e,this._tileY=s,u===16&&h===16?this._tile=this._tile16x16:this._tile=this._drawCtx.createImageData(u,h);for(var v=A[2],w=A[1],b=A[0],E=this._tile.data,T=0;T=A?u=e/h.w:u=s/h.h}this._rescale(u)}},{key:"_rescale",value:function(e){this._scale=e;var s=this._viewportLoc,u=e*s.w+"px",h=e*s.h+"px";(this._target.style.width!==u||this._target.style.height!==h)&&(this._target.style.width=u,this._target.style.height=h)}},{key:"_setFillColor",value:function(e){var s="rgb("+e[2]+","+e[1]+","+e[0]+")";s!==this._prevDrawStyle&&(this._drawCtx.fillStyle=s,this._prevDrawStyle=s)}},{key:"_rgbImageData",value:function(e,s,u,h,A,v){for(var w=this._drawCtx.createImageData(u,h),b=w.data,E=0,T=v;E0;){var s=this._renderQ[0];switch(s.type){case"flip":this.flip(!0);break;case"copy":this.copyImage(s.oldX,s.oldY,s.x,s.y,s.width,s.height,!0);break;case"fill":this.fillRect(s.x,s.y,s.width,s.height,s.color,!0);break;case"blit":this.blitImage(s.x,s.y,s.width,s.height,s.data,0,!0);break;case"blitRgb":this.blitRgbImage(s.x,s.y,s.width,s.height,s.data,0,!0);break;case"blitRgbx":this.blitRgbxImage(s.x,s.y,s.width,s.height,s.data,0,!0);break;case"img":if(s.img.complete&&s.img.width!==0&&s.img.height!==0){if(s.img.width!==s.width||s.img.height!==s.height){p.Error("Decoded image has incorrect dimensions. Got "+s.img.width+"x"+s.img.height+". Expected "+s.width+"x"+s.height+".");return}this.drawImage(s.img,s.x,s.y)}else s.img._noVNCDisplay=this,s.img.addEventListener("load",this._resumeRenderQ),e=!1;break}e&&this._renderQ.shift()}this._renderQ.length===0&&this._flushing&&(this._flushing=!1,this.onflush())}},{key:"scale",get:function(){return this._scale},set:function(e){this._rescale(e)}},{key:"clipViewport",get:function(){return this._clipViewport},set:function(e){this._clipViewport=e;var s=this._viewportLoc;this.viewportChangeSize(s.w,s.h),this.viewportChangePos(0,0)}},{key:"width",get:function(){return this._fbWidth}},{key:"height",get:function(){return this._fbHeight}}]),r}();N.default=o},Mdki:function(R,N,t){var y=t("bYtY"),p=y.each,S="\0__link_datas",m="\0__link_mainData";function g(l){var e=l.mainData,s=l.datas;s||(s={main:e},l.datasAttr={main:"data"}),l.datas=l.mainData=null,i(e,s,l),p(s,function(u){p(e.TRANSFERABLE_METHODS,function(h){u.wrapMethod(h,y.curry(f,l))})}),e.wrapMethod("cloneShallow",y.curry(c,l)),p(e.CHANGABLE_METHODS,function(u){e.wrapMethod(u,y.curry(d,l))}),y.assert(s[e.dataType]===e)}function f(l,e){if(n(this)){var s=y.extend({},this[S]);s[this.dataType]=e,i(e,s,l)}else o(e,this.dataType,this[m],l);return e}function d(l,e){return l.struct&&l.struct.update(this),e}function c(l,e){return p(e[S],function(s,u){s!==e&&o(s.cloneShallow(),u,e,l)}),e}function a(l){var e=this[m];return l==null||e==null?e:e[S][l]}function n(l){return l[m]===l}function i(l,e,s){l[S]={},p(e,function(u,h){o(u,h,l,s)})}function o(l,e,s,u){s[S][e]=l,l[m]=s,l.dataType=e,u.struct&&(l[u.structAttr]=u.struct,u.struct[u.datasAttr[e]]=l),l.getLinkedData=a}var r=g;R.exports=r},Mds0:function(R,N,t){"use strict";var y=t("284h"),p=t("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=p(t("3tO9")),m=y(t("q1tI")),g=p(t("8IMR")),f=p(t("KQxl")),d=function(n,i){return m.createElement(f.default,(0,S.default)((0,S.default)({},n),{},{ref:i,icon:g.default}))};d.displayName="StarFilled";var c=m.forwardRef(d);N.default=c},Mgri:function(R,N,t){for(var y=t("bYtY"),p=t("8nly"),S=[126,25],m=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],g=0;g=0;e--)l+=this._rQ[this._rQi++]<1&&arguments[1]!==void 0?arguments[1]:this.rQlen;return new Uint8Array(this._rQ.buffer,this._rQi+r,l-r)}},{key:"rQwait",value:function(r,l,e){if(this.rQlen0&&this._websocket.readyState===WebSocket.OPEN&&(this._websocket.send(this._encodeMessage()),this._sQlen=0)}},{key:"send",value:function(r){this._sQ.set(r,this._sQlen),this._sQlen+=r.length,this.flush()}},{key:"sendString",value:function(r){this.send(r.split("").map(function(l){return l.charCodeAt(0)}))}},{key:"off",value:function(r){this._eventHandlers[r]=function(){}}},{key:"on",value:function(r,l){this._eventHandlers[r]=l}},{key:"_allocateBuffers",value:function(){this._rQ=new Uint8Array(this._rQbufferSize),this._sQ=new Uint8Array(this._sQbufferSize)}},{key:"init",value:function(){this._allocateBuffers(),this._rQi=0,this._websocket=null}},{key:"open",value:function(r,l){var e=this;this.init(),this._websocket=new WebSocket(r,l),this._websocket.binaryType="arraybuffer",this._websocket.onmessage=this._recvMessage.bind(this),this._websocket.onopen=function(){p.Debug(">> WebSock.onopen"),e._websocket.protocol&&p.Info("Server choose sub-protocol: "+e._websocket.protocol),e._eventHandlers.open(),p.Debug("<< WebSock.onopen")},this._websocket.onclose=function(s){p.Debug(">> WebSock.onclose"),e._eventHandlers.close(s),p.Debug("<< WebSock.onclose")},this._websocket.onerror=function(s){p.Debug(">> WebSock.onerror: "+s),e._eventHandlers.error(s),p.Debug("<< WebSock.onerror: "+s)}}},{key:"close",value:function(){this._websocket&&((this._websocket.readyState===WebSocket.OPEN||this._websocket.readyState===WebSocket.CONNECTING)&&(p.Info("Closing WebSocket connection"),this._websocket.close()),this._websocket.onmessage=function(){})}},{key:"_encodeMessage",value:function(){return new Uint8Array(this._sQ.buffer,0,this._sQlen)}},{key:"_expandCompactRQ",value:function(r){var l=(this._rQlen-this._rQi+r)*8,e=this._rQbufferSizea&&(this._rQbufferSize=a,this._rQbufferSize-this.rQlenthis._rQbufferSize-this._rQlen&&this._expandCompactRQ(l.length),this._rQ.set(l,this._rQlen),this._rQlen+=l.length}},{key:"_recvMessage",value:function(r){this._DecodeMessage(r.data),this.rQlen>0?(this._eventHandlers.message(),this._rQlen==this._rQi&&(this._rQlen=0,this._rQi=0)):p.Debug("Ignoring empty message")}},{key:"sQ",get:function(){return this._sQ}},{key:"rQ",get:function(){return this._rQ}},{key:"rQi",get:function(){return this._rQi},set:function(r){this._rQi=r}},{key:"rQlen",get:function(){return this._rQlen-this._rQi}}]),i}();N.default=n},MqEG:function(R,N,t){var y=t("bYtY"),p=t("fc+c"),S=t("72pK"),m=t("VXYp"),g=y.bind,f=p.extend({type:"dataZoom.inside",init:function(i,o){this._range},render:function(i,o,r,l){f.superApply(this,"render",arguments),this._range=i.getPercentRange(),y.each(this.getTargetCoordInfo(),function(e,s){var u=y.map(e,function(h){return m.generateCoordId(h.model)});y.each(e,function(h){var A=h.model,v={};y.each(["pan","zoom","scrollMove"],function(w){v[w]=g(d[w],this,h,s)},this),m.register(r,{coordId:m.generateCoordId(A),allCoordIds:u,containsPoint:function(w,b,E){return A.coordinateSystem.containPoint([b,E])},dataZoomId:i.id,dataZoomModel:i,getRange:v})},this)},this)},dispose:function(){m.unregister(this.api,this.dataZoomModel.id),f.superApply(this,"dispose",arguments),this._range=null}}),d={zoom:function(i,o,r,l){var e=this._range,s=e.slice(),u=i.axisModels[0];if(!u)return;var h=a[o](null,[l.originX,l.originY],u,r,i),A=(h.signal>0?h.pixelStart+h.pixelLength-h.pixel:h.pixel-h.pixelStart)/h.pixelLength*(s[1]-s[0])+s[0],v=Math.max(1/l.scale,0);s[0]=(s[0]-A)*v+A,s[1]=(s[1]-A)*v+A;var w=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(S(0,s,[0,100],0,w.minSpan,w.maxSpan),this._range=s,e[0]!==s[0]||e[1]!==s[1])return s},pan:c(function(i,o,r,l,e,s){var u=a[l]([s.oldX,s.oldY],[s.newX,s.newY],o,e,r);return u.signal*(i[1]-i[0])*u.pixel/u.pixelLength}),scrollMove:c(function(i,o,r,l,e,s){var u=a[l]([0,0],[s.scrollDelta,s.scrollDelta],o,e,r);return u.signal*(i[1]-i[0])*s.scrollDelta})};function c(i){return function(o,r,l,e){var s=this._range,u=s.slice(),h=o.axisModels[0];if(!h)return;var A=i(u,h,o,r,l,e);if(S(A,u,[0,100],"all"),this._range=u,s[0]!==u[0]||s[1]!==u[1])return u}}var a={grid:function(i,o,r,l,e){var s=r.axis,u={},h=e.model.coordinateSystem.getRect();return i=i||[0,0],s.dim==="x"?(u.pixel=o[0]-i[0],u.pixelLength=h.width,u.pixelStart=h.x,u.signal=s.inverse?1:-1):(u.pixel=o[1]-i[1],u.pixelLength=h.height,u.pixelStart=h.y,u.signal=s.inverse?-1:1),u},polar:function(i,o,r,l,e){var s=r.axis,u={},h=e.model.coordinateSystem,A=h.getRadiusAxis().getExtent(),v=h.getAngleAxis().getExtent();return i=i?h.pointToCoord(i):[0,0],o=h.pointToCoord(o),r.mainType==="radiusAxis"?(u.pixel=o[0]-i[0],u.pixelLength=A[1]-A[0],u.pixelStart=A[0],u.signal=s.inverse?1:-1):(u.pixel=o[1]-i[1],u.pixelLength=v[1]-v[0],u.pixelStart=v[0],u.signal=s.inverse?-1:1),u},singleAxis:function(i,o,r,l,e){var s=r.axis,u=e.model.coordinateSystem.getRect(),h={};return i=i||[0,0],s.orient==="horizontal"?(h.pixel=o[0]-i[0],h.pixelLength=u.width,h.pixelStart=u.x,h.signal=s.inverse?1:-1):(h.pixel=o[1]-i[1],h.pixelLength=u.height,h.pixelStart=u.y,h.signal=s.inverse?-1:1),h}},n=f;R.exports=n},MwEJ:function(R,N,t){var y=t("bYtY"),p=t("YXkt"),S=t("sdST"),m=t("k9D9"),g=m.SOURCE_FORMAT_ORIGINAL,f=t("L0Ub"),d=f.getDimensionTypeByAxis,c=t("4NO4"),a=c.getDataItemValue,n=t("IDmD"),i=t("i38C"),o=i.getCoordSysInfoBySeries,r=t("7G+c"),l=t("7hqr"),e=l.enableDataStack,s=t("D5nY"),u=s.makeSeriesEncodeForAxisCoordSys;function h(b,E,T){T=T||{},r.isInstance(b)||(b=r.seriesDataToSource(b));var _=E.get("coordinateSystem"),x=n.get(_),C=o(E),I;C&&(I=y.map(C.coordSysDims,function(M){var U={name:M},k=C.axisMap.get(M);if(k){var K=k.get("type");U.type=d(K)}return U})),I||(I=x&&(x.getDimensionsInfo?x.getDimensionsInfo():x.dimensions.slice())||["x","y"]);var L=S(b,{coordDimensions:I,generateCoord:T.generateCoord,encodeDefaulter:T.useEncodeDefaulter?y.curry(u,I,E):null}),F,B;C&&y.each(L,function(M,U){var k=M.coordDim,K=C.categoryAxisMap.get(k);K&&(F==null&&(F=U),M.ordinalMeta=K.getOrdinalMeta()),M.otherDims.itemName!=null&&(B=!0)}),!B&&F!=null&&(L[F].otherDims.itemName=0);var P=e(E,L),H=new p(L,E);H.setCalculationInfo(P);var z=F!=null&&A(b)?function(M,U,k,K){return K===F?k:this.defaultDimValueGetter(M,U,k,K)}:null;return H.hasItemOption=!1,H.initData(b,null,z),H}function A(b){if(b.sourceFormat===g){var E=v(b.data||[]);return E!=null&&!y.isArray(a(E))}}function v(b){for(var E=0;E0?1:Me<0?-1:0}function u(j,V){return j.toGlobalCoord(j.dataToCoord(j.scale.parse(V)))}function h(j,V,W,X,J,de,G,ae,Ae,me){var Me=Ae.valueDim,oe=Ae.categoryDim,_e=Math.abs(W[oe.wh]),ee=j.getItemVisual(V,"symbolSize");p.isArray(ee)?ee=ee.slice():(ee==null&&(ee="100%"),ee=[ee,ee]),ee[oe.index]=d(ee[oe.index],_e),ee[Me.index]=d(ee[Me.index],X?_e:Math.abs(de)),me.symbolSize=ee;var ne=me.symbolScale=[ee[0]/ae,ee[1]/ae];ne[Me.index]*=(Ae.isHorizontal?-1:1)*G}function A(j,V,W,X,J){var de=j.get(i)||0;de&&(r.attr({scale:V.slice(),rotation:W}),r.updateTransform(),de/=r.getLineScale(),de*=V[X.valueDim.index]),J.valueLineWidth=de}function v(j,V,W,X,J,de,G,ae,Ae,me,Me,oe){var _e=Me.categoryDim,ee=Me.valueDim,ne=oe.pxSign,Ge=Math.max(V[ee.index]+ae,0),Ee=Ge;if(X){var ue=Math.abs(Ae),re=p.retrieve(j.get("symbolMargin"),"15%")+"",ce=!1;re.lastIndexOf("!")===re.length-1&&(ce=!0,re=re.slice(0,re.length-1)),re=d(re,V[ee.index]);var ke=Math.max(Ge+re*2,0),Te=ce?0:re*2,Ke=c(X),Ie=Ke?X:k((ue+Te)/ke),se=ue-Ie*Ge;re=se/2/(ce?Ie:Ie-1),ke=Ge+re*2,Te=ce?0:re*2,!Ke&&X!=="fixed"&&(Ie=me?k((Math.abs(me)+Te)/ke):0),Ee=Ie*ke-Te,oe.repeatTimes=Ie,oe.symbolMargin=re}var ye=ne*(Ee/2),xe=oe.pathPosition=[];xe[_e.index]=W[_e.wh]/2,xe[ee.index]=G==="start"?ye:G==="end"?Ae-ye:Ae/2,de&&(xe[0]+=de[0],xe[1]+=de[1]);var Ye=oe.bundlePosition=[];Ye[_e.index]=W[_e.xy],Ye[ee.index]=W[ee.xy];var pt=oe.barRectShape=p.extend({},W);pt[ee.wh]=ne*Math.max(Math.abs(W[ee.wh]),Math.abs(xe[ee.index]+ye)),pt[_e.wh]=W[_e.wh];var nt=oe.clipShape={};nt[_e.xy]=-W[_e.xy],nt[_e.wh]=Me.ecSize[_e.wh],nt[ee.xy]=0,nt[ee.wh]=W[ee.wh]}function w(j){var V=j.symbolPatternSize,W=g(j.symbolType,-V/2,-V/2,V,V,j.color);return W.attr({culling:!0}),W.type!=="image"&&W.setStyle({strokeNoScale:!0}),W}function b(j,V,W,X){var J=j.__pictorialBundle,de=W.symbolSize,G=W.valueLineWidth,ae=W.pathPosition,Ae=V.valueDim,me=W.repeatTimes||0,Me=0,oe=de[V.valueDim.index]+G+W.symbolMargin*2;for(z(j,function(ue){ue.__pictorialAnimationIndex=Me,ue.__pictorialRepeatTimes=me,Me0:ce<0)&&(ke=me-1-ue),re[Ae.index]=oe*(ke-me/2+.5)+ae[Ae.index],{position:re,scale:W.symbolScale.slice(),rotation:W.rotation}}function Ge(){z(j,function(ue){ue.trigger("emphasis")})}function Ee(){z(j,function(ue){ue.trigger("normal")})}}function E(j,V,W,X){var J=j.__pictorialBundle,de=j.__pictorialMainPath;de?M(de,null,{position:W.pathPosition.slice(),scale:W.symbolScale.slice(),rotation:W.rotation},W,X):(de=j.__pictorialMainPath=w(W),J.add(de),M(de,{position:W.pathPosition.slice(),scale:[0,0],rotation:W.rotation},{scale:W.symbolScale.slice()},W,X),de.on("mouseover",G).on("mouseout",ae)),L(de,W);function G(){this.trigger("emphasis")}function ae(){this.trigger("normal")}}function T(j,V,W){var X=p.extend({},V.barRectShape),J=j.__pictorialBarRect;J?M(J,null,{shape:X},V,W):(J=j.__pictorialBarRect=new S.Rect({z2:2,shape:X,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),j.add(J))}function _(j,V,W,X){if(W.symbolClip){var J=j.__pictorialClipPath,de=p.extend({},W.clipShape),G=V.valueDim,ae=W.animationModel,Ae=W.dataIndex;if(J)S.updateProps(J,{shape:de},ae,Ae);else{de[G.wh]=0,J=new S.Rect({shape:de}),j.__pictorialBundle.setClipPath(J),j.__pictorialClipPath=J;var me={};me[G.wh]=W.clipShape[G.wh],S[X?"updateProps":"initProps"](J,{shape:me},ae,Ae)}}}function x(j,V){var W=j.getItemModel(V);return W.getAnimationDelayParams=C,W.isAnimationEnabled=I,W}function C(j){return{index:j.__pictorialAnimationIndex,count:j.__pictorialRepeatTimes}}function I(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function L(j,V){j.off("emphasis").off("normal");var W=V.symbolScale.slice();V.hoverAnimation&&j.on("emphasis",function(){this.animateTo({scale:[W[0]*1.1,W[1]*1.1]},400,"elasticOut")}).on("normal",function(){this.animateTo({scale:W.slice()},400,"elasticOut")})}function F(j,V,W,X){var J=new S.Group,de=new S.Group;return J.add(de),J.__pictorialBundle=de,de.attr("position",W.bundlePosition.slice()),W.symbolRepeat?b(J,V,W):E(J,V,W),T(J,W,X),_(J,V,W,X),J.__pictorialShapeStr=H(j,W),J.__pictorialSymbolMeta=W,J}function B(j,V,W){var X=W.animationModel,J=W.dataIndex,de=j.__pictorialBundle;S.updateProps(de,{position:W.bundlePosition.slice()},X,J),W.symbolRepeat?b(j,V,W,!0):E(j,V,W,!0),T(j,W,!0),_(j,V,W,!0)}function P(j,V,W,X){var J=X.__pictorialBarRect;J&&(J.style.text=null);var de=[];z(X,function(G){de.push(G)}),X.__pictorialMainPath&&de.push(X.__pictorialMainPath),X.__pictorialClipPath&&(W=null),p.each(de,function(G){S.updateProps(G,{scale:[0,0]},W,V,function(){X.parent&&X.parent.remove(X)})}),j.setItemGraphicEl(V,null)}function H(j,V){return[j.getItemVisual(V.dataIndex,"symbol")||"none",!!V.symbolRepeat,!!V.symbolClip].join(":")}function z(j,V,W){p.each(j.__pictorialBundle.children(),function(X){X!==j.__pictorialBarRect&&V.call(W,X)})}function M(j,V,W,X,J,de){V&&j.attr(V),X.symbolClip&&!J?W&&j.attr(W):W&&S[J?"updateProps":"initProps"](j,W,X.animationModel,X.dataIndex,de)}function U(j,V,W){var X=W.color,J=W.dataIndex,de=W.itemModel,G=de.getModel("itemStyle").getItemStyle(["color"]),ae=de.getModel("emphasis.itemStyle").getItemStyle(),Ae=de.getShallow("cursor");z(j,function(_e){_e.setColor(X),_e.setStyle(p.defaults({fill:X,opacity:W.opacity},G)),S.setHoverStyle(_e,ae),Ae&&(_e.cursor=Ae),_e.z2=W.z2});var me={},Me=V.valueDim.posDesc[+(W.boundingLength>0)],oe=j.__pictorialBarRect;n(oe.style,me,de,X,V.seriesModel,J,Me),S.setHoverStyle(oe,me)}function k(j){var V=Math.round(j);return Math.abs(j-V)<1e-4?V:Math.ceil(j)}var K=l;R.exports=K},"N/zr":function(R,N,t){"use strict";function y(f){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(c){return typeof c}:y=function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},y(f)}Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var p=m(t("Lo0S"));function S(){if(typeof WeakMap!="function")return null;var f=new WeakMap;return S=function(){return f},f}function m(f){if(f&&f.__esModule)return f;if(f===null||y(f)!=="object"&&typeof f!="function")return{default:f};var d=S();if(d&&d.has(f))return d.get(f);var c={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in f)if(Object.prototype.hasOwnProperty.call(f,n)){var i=a?Object.getOwnPropertyDescriptor(f,n):null;i&&(i.get||i.set)?Object.defineProperty(c,n,i):c[n]=f[n]}return c.default=f,d&&d.set(f,c),c}var g={toBase64Table:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split(""),base64Pad:"=",encode:function(d){"use strict";for(var c="",a=d.length,n=a%3,i=0;i>2],c+=this.toBase64Table[((d[i]&3)<<4)+(d[i+1]>>4)],c+=this.toBase64Table[((d[i+1]&15)<<2)+(d[i+2]>>6)],c+=this.toBase64Table[d[i+2]&63];var o=a-n;return n===2?(c+=this.toBase64Table[d[o]>>2],c+=this.toBase64Table[((d[o]&3)<<4)+(d[o+1]>>4)],c+=this.toBase64Table[(d[o+1]&15)<<2],c+=this.toBase64Table[64]):n===1&&(c+=this.toBase64Table[d[o]>>2],c+=this.toBase64Table[(d[o]&3)<<4],c+=this.toBase64Table[64],c+=this.toBase64Table[64]),c},toBinaryTable:[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,0,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1],decode:function(d){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=d.indexOf("=")-c;a<0&&(a=d.length-c);for(var n=(a>>2)*3+Math.floor(a%4/1.5),i=new Array(n),o=0,r=0,l=0,e=c;e=8&&(o-=8,u||(i[l++]=r>>o&255),r&=(1<0){l.virtualPiece?l.virtualPiece.updateData(!1,I,"normal",n,i):(l.virtualPiece=new S(I,n,i),h.add(l.virtualPiece)),L.piece._onclickEvent&&L.piece.off("click",L.piece._onclickEvent);var F=function(B){l._rootToNode(L.parentNode)};L.piece._onclickEvent=F,l.virtualPiece.on("click",F)}else l.virtualPiece&&(h.remove(l.virtualPiece),l.virtualPiece=null)}},dispose:function(){},_initEvents:function(){var n=this,i=function(o){var r=!1,l=n.seriesModel.getViewRoot();l.eachNode(function(e){if(!r&&e.piece&&e.piece.childAt(0)===o.target){var s=e.getModel().get("nodeClick");if(s==="rootToNode")n._rootToNode(e);else if(s==="link"){var u=e.getModel(),h=u.get("link");if(h){var A=u.get("target",!0)||"_blank";f(h,A)}}r=!0}})};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",i),this.group._onclickEvent=i},_rootToNode:function(n){n!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:d,from:this.uid,seriesId:this.seriesModel.id,targetNode:n})},containPoint:function(n,i){var o=i.getData(),r=o.getItemLayout(0);if(r){var l=n[0]-r.cx,e=n[1]-r.cy,s=Math.sqrt(l*l+e*e);return s<=r.r&&s>=r.r0}}}),a=c;R.exports=a},NAnI:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=p(t("wXyp"));function p(m){return m&&m.__esModule?m:{default:m}}var S=y;N.default=S,R.exports=S},NBmB:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.encodingName=p,N.encodings=void 0;var y={encodingRaw:0,encodingCopyRect:1,encodingRRE:2,encodingHextile:5,encodingTight:7,encodingTightPNG:-260,pseudoEncodingQualityLevel9:-23,pseudoEncodingQualityLevel0:-32,pseudoEncodingDesktopSize:-223,pseudoEncodingLastRect:-224,pseudoEncodingCursor:-239,pseudoEncodingQEMUExtendedKeyEvent:-258,pseudoEncodingDesktopName:-307,pseudoEncodingExtendedDesktopSize:-308,pseudoEncodingXvp:-309,pseudoEncodingFence:-312,pseudoEncodingContinuousUpdates:-313,pseudoEncodingCompressLevel9:-247,pseudoEncodingCompressLevel0:-256,pseudoEncodingVMwareCursor:1464686180,pseudoEncodingExtendedClipboard:3231835598};N.encodings=y;function p(S){switch(S){case y.encodingRaw:return"Raw";case y.encodingCopyRect:return"CopyRect";case y.encodingRRE:return"RRE";case y.encodingHextile:return"Hextile";case y.encodingTight:return"Tight";case y.encodingTightPNG:return"TightPNG";default:return"[unknown encoding "+S+"]"}}},NC18:function(R,N,t){var y=t("y+Vt"),p=t("IMiH"),S=t("7oTu"),m=Math.sqrt,g=Math.sin,f=Math.cos,d=Math.PI,c=function(v){return Math.sqrt(v[0]*v[0]+v[1]*v[1])},a=function(v,w){return(v[0]*w[0]+v[1]*w[1])/(c(v)*c(w))},n=function(v,w){return(v[0]*w[1]1&&(_*=m(H),x*=m(H));var z=(E===T?-1:1)*m((_*_*(x*x)-_*_*(P*P)-x*x*(B*B))/(_*_*(P*P)+x*x*(B*B)))||0,M=z*_*P/x,U=z*-x*B/_,k=(A+w)/2+f(F)*M-g(F)*U,K=(v+b)/2+g(F)*M+f(F)*U,j=n([1,0],[(B-M)/_,(P-U)/x]),V=[(B-M)/_,(P-U)/x],W=[(-1*B-M)/_,(-1*P-U)/x],X=n(V,W);a(V,W)<=-1&&(X=d),a(V,W)>=1&&(X=0),T===0&&X>0&&(X=X-2*d),T===1&&X<0&&(X=X+2*d),L.addData(I,k,K,_,x,j,X,F,T)}var o=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,r=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function l(A){if(!A)return new p;for(var v=0,w=0,b=v,E=w,T,_=new p,x=p.CMD,C=A.match(o),I=0;I=0||T==="+"?"left":"right"},I={horizontal:T>=0||T==="+"?"top":"bottom",vertical:"middle"},L={horizontal:0,vertical:s/2},F=_==="vertical"?x.height:x.width,B=b.getModel("controlStyle"),P=B.get("show",!0),H=P?B.get("itemSize"):0,z=P?B.get("itemGap"):0,M=H+z,U=b.get("label.rotate")||0;U=U*s/180;var k,K,j,V,W=B.get("position",!0),X=P&&B.get("showPlayBtn",!0),J=P&&B.get("showPrevBtn",!0),de=P&&B.get("showNextBtn",!0),G=0,ae=F;return W==="left"||W==="bottom"?(X&&(k=[0,0],G+=M),J&&(K=[G,0],G+=M),de&&(j=[ae-H,0],ae-=M)):(X&&(k=[ae-H,0],ae-=M),J&&(K=[0,0],G+=M),de&&(j=[ae-H,0],ae-=M)),V=[G,ae],b.get("inverse")&&V.reverse(),{viewRect:x,mainLength:F,orient:_,rotation:L[_],labelRotation:U,labelPosOpt:T,labelAlign:b.get("label.align")||C[_],labelBaseline:b.get("label.verticalAlign")||b.get("label.baseline")||I[_],playPosition:k,prevBtnPosition:K,nextBtnPosition:j,axisExtent:V,controlSize:H,controlGap:z}},_position:function(b,E){var T=this._mainGroup,_=this._labelGroup,x=b.viewRect;if(b.orient==="vertical"){var C=S.create(),I=x.x,L=x.y+x.height;S.translate(C,C,[-I,-L]),S.rotate(C,C,-s/2),S.translate(C,C,[I,L]),x=x.clone(),x.applyTransform(C)}var F=K(x),B=K(T.getBoundingRect()),P=K(_.getBoundingRect()),H=T.position,z=_.position;z[0]=H[0]=F[0][0];var M=b.labelPosOpt;if(isNaN(M)){var U=M==="+"?0:1;j(H,B,F,1,U),j(z,P,F,1,1-U)}else{var U=M>=0?0:1;j(H,B,F,1,U),z[1]=H[1]+M}T.attr("position",H),_.attr("position",z),T.rotation=_.rotation=b.rotation,k(T),k(_);function k(V){var W=V.position;V.origin=[F[0][0]-W[0],F[1][0]-W[1]]}function K(V){return[[V.x,V.x+V.width],[V.y,V.y+V.height]]}function j(V,W,X,J,de){V[J]+=X[J][de]-W[J][de]}},_createAxis:function(b,E){var T=E.getData(),_=E.get("axisType"),x=n.createScaleByModel(E,_);x.getTicks=function(){return T.mapArray(["value"],function(L){return L})};var C=T.getDataExtent("value");x.setExtent(C[0],C[1]),x.niceTicks();var I=new d("value",x,b.axisExtent,_);return I.model=E,I},_createGroup:function(b){var E=this["_"+b]=new m.Group;return this.group.add(E),E},_renderAxisLine:function(b,E,T,_){var x=T.getExtent();if(!_.get("lineStyle.show"))return;E.add(new m.Line({shape:{x1:x[0],y1:0,x2:x[1],y2:0},style:y.extend({lineCap:"round"},_.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(b,E,T,_){var x=_.getData(),C=T.scale.getTicks();e(C,function(I){var L=T.dataToCoord(I),F=x.getItemModel(I),B=F.getModel("itemStyle"),P=F.getModel("emphasis.itemStyle"),H={position:[L,0],onclick:l(this._changeTimeline,this,I)},z=v(F,B,E,H);m.setHoverStyle(z,P.getItemStyle()),F.get("tooltip")?(z.dataIndex=I,z.dataModel=_):z.dataIndex=z.dataModel=null},this)},_renderAxisLabel:function(b,E,T,_){var x=T.getLabelModel();if(!x.get("show"))return;var C=_.getData(),I=T.getViewLabels();e(I,function(L){var F=L.tickValue,B=C.getItemModel(F),P=B.getModel("label"),H=B.getModel("emphasis.label"),z=T.dataToCoord(L.tickValue),M=new m.Text({position:[z,0],rotation:b.labelRotation-b.rotation,onclick:l(this._changeTimeline,this,F),silent:!1});m.setTextStyle(M.style,P,{text:L.formattedLabel,textAlign:b.labelAlign,textVerticalAlign:b.labelBaseline}),E.add(M),m.setHoverStyle(M,m.setTextStyle({},H))},this)},_renderControl:function(b,E,T,_){var x=b.controlSize,C=b.rotation,I=_.getModel("controlStyle").getItemStyle(),L=_.getModel("emphasis.controlStyle").getItemStyle(),F=[0,-x/2,x,x],B=_.getPlayState(),P=_.get("inverse",!0);H(b.nextBtnPosition,"controlStyle.nextIcon",l(this._changeTimeline,this,P?"-":"+")),H(b.prevBtnPosition,"controlStyle.prevIcon",l(this._changeTimeline,this,P?"+":"-")),H(b.playPosition,"controlStyle."+(B?"stopIcon":"playIcon"),l(this._handlePlayClick,this,!B),!0);function H(z,M,U,k){if(!z)return;var K={position:z,origin:[x/2,0],rotation:k?-C:0,rectHover:!0,style:I,onclick:U},j=A(_,M,F,K);E.add(j),m.setHoverStyle(j,L)}},_renderCurrentPointer:function(b,E,T,_){var x=_.getData(),C=_.getCurrentIndex(),I=x.getItemModel(C).getModel("checkpointStyle"),L=this,F={onCreate:function(B){B.draggable=!0,B.drift=l(L._handlePointerDrag,L),B.ondragend=l(L._handlePointerDragend,L),w(B,C,T,_,!0)},onUpdate:function(B){w(B,C,T,_)}};this._currentPointer=v(I,I,this._mainGroup,{},this._currentPointer,F)},_handlePlayClick:function(b){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:b,from:this.uid})},_handlePointerDrag:function(b,E,T){this._clearTimer(),this._pointerChangeTimeline([T.offsetX,T.offsetY])},_handlePointerDragend:function(b){this._pointerChangeTimeline([b.offsetX,b.offsetY],!0)},_pointerChangeTimeline:function(b,E){var T=this._toAxisCoord(b)[0],_=this._axis,x=i.asc(_.getExtent().slice());T>x[1]&&(T=x[1]),T=0||Ge.relatedTarget.className.indexOf("".concat(ce,"-next"))>=0))return;oe.setState({goInputText:""}),re(oe.getValidValue())},oe.go=function(Ge){var Ee=oe.state.goInputText;if(Ee==="")return;(Ge.keyCode===h.ENTER||Ge.type==="click")&&(oe.setState({goInputText:""}),oe.props.quickGo(oe.getValidValue()))},oe}return Object(i.a)(Me,[{key:"getValidValue",value:function(){var _e=this.state,ee=_e.goInputText,ne=_e.current;return!ee||isNaN(ee)?ne:Number(ee)}},{key:"getPageSizeOptions",value:function(){var _e=this.props,ee=_e.pageSize,ne=_e.pageSizeOptions;return ne.some(function(Ge){return Ge.toString()===ee.toString()})?ne:ne.concat([ee.toString()]).sort(function(Ge,Ee){var ue=isNaN(Number(Ge))?0:Number(Ge),re=isNaN(Number(Ee))?0:Number(Ee);return ue-re})}},{key:"render",value:function(){var _e=this,ee=this.props,ne=ee.pageSize,Ge=ee.locale,Ee=ee.rootPrefixCls,ue=ee.changeSize,re=ee.quickGo,ce=ee.goButton,ke=ee.selectComponentClass,Te=ee.buildOptionText,Ke=ee.selectPrefixCls,Ie=ee.disabled,se=this.state.goInputText,ye="".concat(Ee,"-options"),xe=ke,Ye=null,pt=null,nt=null;if(!ue&&!re)return null;var Oe=this.getPageSizeOptions();if(ue&&xe){var vt=Oe.map(function(Ze,wt){return f.a.createElement(xe.Option,{key:wt,value:Ze.toString()},(Te||_e.buildOptionText)(Ze))});Ye=f.a.createElement(xe,{disabled:Ie,prefixCls:Ke,showSearch:!1,className:"".concat(ye,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(ne||Oe[0]).toString(),onChange:this.changeSize,getPopupContainer:function(wt){return wt.parentNode}},vt)}return re&&(ce&&(nt=typeof ce=="boolean"?f.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Ie,className:"".concat(ye,"-quick-jumper-button")},Ge.jump_to_confirm):f.a.createElement("span",{onClick:this.go,onKeyUp:this.go},ce)),pt=f.a.createElement("div",{className:"".concat(ye,"-quick-jumper")},Ge.jump_to,f.a.createElement("input",{disabled:Ie,type:"text",value:se,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur}),Ge.page,nt)),f.a.createElement("li",{className:"".concat(ye)},Ye,pt)}}]),Me}(f.a.Component);A.defaultProps={pageSizeOptions:["10","20","50","100"]};var v=A,w=t("N2Kk");function b(){}function E(Ae){return typeof Ae=="number"&&isFinite(Ae)&&Math.floor(Ae)===Ae}function T(Ae,me,Me){return Me}function _(Ae,me,Me){var oe=typeof Ae=="undefined"?me.pageSize:Ae;return Math.floor((Me.total-1)/oe)+1}var x=function(Ae){Object(o.a)(Me,Ae);var me=Object(r.a)(Me);function Me(oe){var _e;Object(n.a)(this,Me),_e=me.call(this,oe),_e.getJumpPrevPage=function(){return Math.max(1,_e.state.current-(_e.props.showLessItems?3:5))},_e.getJumpNextPage=function(){return Math.min(_(void 0,_e.state,_e.props),_e.state.current+(_e.props.showLessItems?3:5))},_e.getItemIcon=function(ue,re){var ce=_e.props.prefixCls,ke=ue||f.a.createElement("button",{type:"button","aria-label":re,className:"".concat(ce,"-item-link")});return typeof ue=="function"&&(ke=f.a.createElement(ue,Object(a.a)({},_e.props))),ke},_e.savePaginationNode=function(ue){_e.paginationNode=ue},_e.isValid=function(ue){return E(ue)&&ue!==_e.state.current},_e.shouldDisplayQuickJumper=function(){var ue=_e.props,re=ue.showQuickJumper,ce=ue.pageSize,ke=ue.total;return ke<=ce?!1:re},_e.handleKeyDown=function(ue){(ue.keyCode===h.ARROW_UP||ue.keyCode===h.ARROW_DOWN)&&ue.preventDefault()},_e.handleKeyUp=function(ue){var re=_e.getValidValue(ue),ce=_e.state.currentInputValue;re!==ce&&_e.setState({currentInputValue:re}),ue.keyCode===h.ENTER?_e.handleChange(re):ue.keyCode===h.ARROW_UP?_e.handleChange(re-1):ue.keyCode===h.ARROW_DOWN&&_e.handleChange(re+1)},_e.changePageSize=function(ue){var re=_e.state.current,ce=_(ue,_e.state,_e.props);re=re>ce?ce:re,ce===0&&(re=_e.state.current),typeof ue=="number"&&("pageSize"in _e.props||_e.setState({pageSize:ue}),"current"in _e.props||_e.setState({current:re,currentInputValue:re})),_e.props.onShowSizeChange(re,ue),"onChange"in _e.props&&_e.props.onChange&&_e.props.onChange(re,ue)},_e.handleChange=function(ue){var re=_e.props.disabled,ce=ue;if(_e.isValid(ce)&&!re){var ke=_(void 0,_e.state,_e.props);ce>ke?ce=ke:ce<1&&(ce=1),"current"in _e.props||_e.setState({current:ce,currentInputValue:ce});var Te=_e.state.pageSize;return _e.props.onChange(ce,Te),ce}return _e.state.current},_e.prev=function(){_e.hasPrev()&&_e.handleChange(_e.state.current-1)},_e.next=function(){_e.hasNext()&&_e.handleChange(_e.state.current+1)},_e.jumpPrev=function(){_e.handleChange(_e.getJumpPrevPage())},_e.jumpNext=function(){_e.handleChange(_e.getJumpNextPage())},_e.hasPrev=function(){return _e.state.current>1},_e.hasNext=function(){return _e.state.current<_(void 0,_e.state,_e.props)},_e.runIfEnter=function(ue,re){if(ue.key==="Enter"||ue.charCode===13){for(var ce=arguments.length,ke=new Array(ce>2?ce-2:0),Te=2;Te=ne?Ee=ne:Ee=Number(ee),Ee}},{key:"getShowSizeChanger",value:function(){var _e=this.props,ee=_e.showSizeChanger,ne=_e.total,Ge=_e.totalBoundaryShowSizeChanger;return typeof ee!="undefined"?ee:ne>Ge}},{key:"renderPrev",value:function(_e){var ee=this.props,ne=ee.prevIcon,Ge=ee.itemRender,Ee=Ge(_e,"prev",this.getItemIcon(ne,"prev page")),ue=!this.hasPrev();return Object(g.isValidElement)(Ee)?Object(g.cloneElement)(Ee,{disabled:ue}):Ee}},{key:"renderNext",value:function(_e){var ee=this.props,ne=ee.nextIcon,Ge=ee.itemRender,Ee=Ge(_e,"next",this.getItemIcon(ne,"next page")),ue=!this.hasNext();return Object(g.isValidElement)(Ee)?Object(g.cloneElement)(Ee,{disabled:ue}):Ee}},{key:"render",value:function(){var _e=this,ee=this.props,ne=ee.prefixCls,Ge=ee.className,Ee=ee.style,ue=ee.disabled,re=ee.hideOnSinglePage,ce=ee.total,ke=ee.locale,Te=ee.showQuickJumper,Ke=ee.showLessItems,Ie=ee.showTitle,se=ee.showTotal,ye=ee.simple,xe=ee.itemRender,Ye=ee.showPrevNextJumpers,pt=ee.jumpPrevIcon,nt=ee.jumpNextIcon,Oe=ee.selectComponentClass,vt=ee.selectPrefixCls,Ze=ee.pageSizeOptions,wt=this.state,xt=wt.current,Ot=wt.pageSize,Mt=wt.currentInputValue;if(re===!0&&ce<=Ot)return null;var Gt=_(void 0,this.state,this.props),$e=[],pe=null,q=null,bt=null,qe=null,le=null,Nt=Te&&Te.goButton,tr=Ke?1:2,lt=xt-1>0?xt-1:0,zt=xt+1=tr*2&&xt!==1+2&&($e[0]=Object(g.cloneElement)($e[0],{className:"".concat(ne,"-item-after-jump-prev")}),$e.unshift(pe)),Gt-xt>=tr*2&&xt!==Gt-2&&($e[$e.length-1]=Object(g.cloneElement)($e[$e.length-1],{className:"".concat(ne,"-item-before-jump-next")}),$e.push(q)),Xe!==1&&$e.unshift(bt),$t!==Gt&&$e.push(qe)}var fr=null;se&&(fr=f.a.createElement("li",{className:"".concat(ne,"-total-text")},se(ce,[ce===0?0:(xt-1)*Ot+1,xt*Ot>ce?ce:xt*Ot])));var An=!this.hasPrev()||!Gt,Zr=!this.hasNext()||!Gt;return f.a.createElement("ul",Object(d.a)({className:e()(ne,Ge,Object(c.a)({},"".concat(ne,"-disabled"),ue)),style:Ee,unselectable:"unselectable",ref:this.savePaginationNode},cr),fr,f.a.createElement("li",{title:Ie?ke.prev_page:null,onClick:this.prev,tabIndex:An?null:0,onKeyPress:this.runIfEnterPrev,className:e()("".concat(ne,"-prev"),Object(c.a)({},"".concat(ne,"-disabled"),An)),"aria-disabled":An},this.renderPrev(lt)),$e,f.a.createElement("li",{title:Ie?ke.next_page:null,onClick:this.next,tabIndex:Zr?null:0,onKeyPress:this.runIfEnterNext,className:e()("".concat(ne,"-next"),Object(c.a)({},"".concat(ne,"-disabled"),Zr)),"aria-disabled":Zr},this.renderNext(zt)),f.a.createElement(v,{disabled:ue,locale:ke,rootPrefixCls:ne,selectComponentClass:Oe,selectPrefixCls:vt,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:xt,pageSize:Ot,pageSizeOptions:Ze,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Nt}))}}],[{key:"getDerivedStateFromProps",value:function(_e,ee){var ne={};if("current"in _e&&(ne.current=_e.current,_e.current!==ee.current&&(ne.currentInputValue=ne.current)),"pageSize"in _e&&_e.pageSize!==ee.pageSize){var Ge=ee.current,Ee=_(_e.pageSize,ee,_e);Ge=Ge>Ee?Ee:Ge,"current"in _e||(ne.current=Ge,ne.currentInputValue=Ge),ne.pageSize=_e.pageSize}return ne}}]),Me}(f.a.Component);x.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:b,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:b,locale:w.a,style:{},itemRender:T,totalBoundaryShowSizeChanger:50};var C=x,I=t("H4fg"),L=t("DFhj"),F=t.n(L),B=t("fEPi"),P=t.n(B),H=t("u9fO"),z=t.n(H),M=t("mO/d"),U=t.n(M),k=t("2fM7"),K=function(me){return g.createElement(k.a,m()({size:"small"},me))};K.Option=k.a.Option;var j=K,V=t("YMnH"),W=t("H84U"),X=t("5OYt"),J=function(Ae,me){var Me={};for(var oe in Ae)Object.prototype.hasOwnProperty.call(Ae,oe)&&me.indexOf(oe)<0&&(Me[oe]=Ae[oe]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,oe=Object.getOwnPropertySymbols(Ae);_e1&&arguments[1]!==void 0?arguments[1]:60,g=null;return function(){for(var f=this,d=arguments.length,c=new Array(d),a=0;a=0;s-=1){var u=c.get(s)||new Set;u.forEach(function(h){var A=h.parent,v=h.node;if(n(v)||!h.parent||e.has(h.parent.key))return;if(n(h.parent.node)){e.add(A.key);return}var w=!0,b=!1;(A.children||[]).filter(function(E){return!n(E.node)}).forEach(function(E){var T=E.key,_=i.has(T);w&&!_&&(w=!1),!b&&(_||o.has(T))&&(b=!0)}),w&&i.add(A.key),b&&o.add(A.key),e.add(A.key)})}return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(p(o,i))}}function g(d,c,a,n,i){for(var o=new Set(d),r=new Set(c),l=0;l<=n;l+=1){var e=a.get(l)||new Set;e.forEach(function(A){var v=A.key,w=A.node,b=A.children,E=b===void 0?[]:b;!o.has(v)&&!r.has(v)&&!i(w)&&E.filter(function(T){return!i(T.node)}).forEach(function(T){o.delete(T.key)})})}r=new Set;for(var s=new Set,u=n;u>=0;u-=1){var h=a.get(u)||new Set;h.forEach(function(A){var v=A.parent,w=A.node;if(i(w)||!A.parent||s.has(A.parent.key))return;if(i(A.parent.node)){s.add(v.key);return}var b=!0,E=!1;(v.children||[]).filter(function(T){return!i(T.node)}).forEach(function(T){var _=T.key,x=o.has(_);b&&!x&&(b=!1),!E&&(x||r.has(_))&&(E=!0)}),b||o.delete(v.key),E&&r.add(v.key),s.add(v.key)})}return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(p(r,o))}}function f(d,c,a,n){var i=[],o;n?o=n:o=S;var r=new Set(d.filter(function(u){var h=!!a[u];return h||i.push(u),h})),l=new Map,e=0;Object.keys(a).forEach(function(u){var h=a[u],A=h.level,v=l.get(A);v||(v=new Set,l.set(A,v)),v.add(h),e=Math.max(e,A)}),Object(y.a)(!i.length,"Tree missing follow keys: ".concat(i.slice(0,100).map(function(u){return"'".concat(u,"'")}).join(", ")));var s;return c===!0?s=m(r,l,e,o):s=g(r,c.halfCheckedKeys,l,e,o),s}},"O/iA":function(R,N,t){},O3gP:function(R,N,t){"use strict";var y=t("cIOH"),p=t.n(y),S=t("O/iA"),m=t.n(S),g=t("OaEy")},OELB:function(R,N,t){var y=t("bYtY"),p=1e-4;function S(E){return E.replace(/^\s+|\s+$/g,"")}function m(E,T,_,x){var C=T[1]-T[0],I=_[1]-_[0];if(C===0)return I===0?_[0]:(_[0]+_[1])/2;if(x)if(C>0){if(E<=T[0])return _[0];if(E>=T[1])return _[1]}else{if(E>=T[0])return _[0];if(E<=T[1])return _[1]}else{if(E===T[0])return _[0];if(E===T[1])return _[1]}return(E-T[0])/C*I+_[0]}function g(E,T){switch(E){case"center":case"middle":E="50%";break;case"left":case"top":E="0%";break;case"right":case"bottom":E="100%";break}return typeof E=="string"?S(E).match(/%$/)?parseFloat(E)/100*T:parseFloat(E):E==null?NaN:+E}function f(E,T,_){return T==null&&(T=10),T=Math.min(Math.max(0,T),20),E=(+E).toFixed(T),_?E:+E}function d(E){return E.sort(function(T,_){return T-_}),E}function c(E){if(E=+E,isNaN(E))return 0;for(var T=1,_=0;Math.round(E*T)/T!==E;)T*=10,_++;return _}function a(E){var T=E.toString(),_=T.indexOf("e");if(_>0){var x=+T.slice(_+1);return x<0?-x:0}else{var C=T.indexOf(".");return C<0?0:T.length-1-C}}function n(E,T){var _=Math.log,x=Math.LN10,C=Math.floor(_(E[1]-E[0])/x),I=Math.round(_(Math.abs(T[1]-T[0]))/x),L=Math.min(Math.max(-C+I,0),20);return isFinite(L)?L:20}function i(E,T,_){if(!E[T])return 0;var x=y.reduce(E,function(k,K){return k+(isNaN(K)?0:K)},0);if(x===0)return 0;for(var C=Math.pow(10,_),I=y.map(E,function(k){return(isNaN(k)?0:k)/x*C*100}),L=C*100,F=y.map(I,function(k){return Math.floor(k)}),B=y.reduce(F,function(k,K){return k+K},0),P=y.map(I,function(k,K){return k-F[K]});BH&&(H=P[M],z=M);++F[z],P[z]=0,++B}return F[T]/C}var o=9007199254740991;function r(E){var T=Math.PI*2;return(E%T+T)%T}function l(E){return E>-p&&E=10&&T++,T}function A(E,T){var _=h(E),x=Math.pow(10,_),C=E/x,I;return T?C<1.5?I=1:C<2.5?I=2:C<4?I=3:C<7?I=5:I=10:C<1?I=1:C<2?I=2:C<3?I=3:C<5?I=5:I=10,E=I*x,_>=-20?+E.toFixed(_<0?-_:0):E}function v(E,T){var _=(E.length-1)*T+1,x=Math.floor(_),C=+E[x-1],I=_-x;return I?C+I*(E[x]-C):C}function w(E){E.sort(function(B,P){return F(B,P,0)?-1:1});for(var T=-Infinity,_=1,x=0;x=0}N.linearMap=m,N.parsePercent=g,N.round=f,N.asc=d,N.getPrecision=c,N.getPrecisionSafe=a,N.getPixelPrecision=n,N.getPercentWithPrecision=i,N.MAX_SAFE_INTEGER=o,N.remRadian=r,N.isRadianAroundZero=l,N.parseDate=s,N.quantity=u,N.quantityExponent=h,N.nice=A,N.quantile=v,N.reformIntervals=w,N.isNumeric=b},OKJ2:function(R,N,t){var y=t("KxfA"),p=y.retrieveRawValue,S=t("7aKB"),m=S.getTooltipMarker,g=S.formatTpl,f=t("4NO4"),d=f.getTooltipRenderMode,c=/\{@(.+?)\}/g,a={getDataParams:function(n,i){var o=this.getData(i),r=this.getRawValue(n,i),l=o.getRawIndex(n),e=o.getName(n),s=o.getRawDataItem(n),u=o.getItemVisual(n,"color"),h=o.getItemVisual(n,"borderColor"),A=this.ecModel.getComponent("tooltip"),v=A&&A.get("renderMode"),w=d(v),b=this.mainType,E=b==="series",T=o.userOutput;return{componentType:b,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:E?this.subType:null,seriesIndex:this.seriesIndex,seriesId:E?this.id:null,seriesName:E?this.name:null,name:e,dataIndex:l,data:s,dataType:i,value:r,color:u,borderColor:h,dimensionNames:T?T.dimensionNames:null,encode:T?T.encode:null,marker:m({color:u,renderMode:w}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(n,i,o,r,l){i=i||"normal";var e=this.getData(o),s=e.getItemModel(n),u=this.getDataParams(n,o);r!=null&&u.value instanceof Array&&(u.value=u.value[r]);var h=s.get(i==="normal"?[l||"label","formatter"]:[i,l||"label","formatter"]);if(typeof h=="function")return u.status=i,u.dimensionIndex=r,h(u);if(typeof h=="string"){var A=g(h,u);return A.replace(c,function(v,w){var b=w.length;return w.charAt(0)==="["&&w.charAt(b-1)==="]"&&(w=+w.slice(1,b-1)),p(e,n,w)})}},getRawValue:function(n,i){return p(this.getData(i),n)},formatTooltip:function(){}};R.exports=a},OPEp:function(R,N,t){},OQFs:function(R,N,t){var y=t("KCsZ"),p=y([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),S={getLineStyle:function(m){var g=p(this,m);return g.lineDash=this.getLineDash(g.lineWidth),g},getLineDash:function(m){m==null&&(m=1);var g=this.get("type"),f=Math.max(m,2),d=m*4;return g==="solid"||g==null?!1:g==="dashed"?[d,d]:[f,f]}};R.exports=S},OS9S:function(R,N,t){var y=t("bYtY"),p=y.inherits,S=t("Gev7"),m=t("mFDi");function g(c){S.call(this,c),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}g.prototype.incremental=!0,g.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},g.prototype.addDisplayable=function(c,a){a?this._temporaryDisplayables.push(c):this._displayables.push(c),this.dirty()},g.prototype.addDisplayables=function(c,a){a=a||!1;for(var n=0;n=0&&_.splice(x,1),_}function i(E,T){var _=E.slice();return _.indexOf(T)===-1&&_.push(T),_}function o(E){return E.split("-")}function r(E,T){return"".concat(E,"-").concat(T)}function l(E){return E&&E.type&&E.type.isTreeNode}function e(E,T){var _=[E],x=T[E];function C(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];I.forEach(function(L){var F=L.key,B=L.children;_.push(F),C(B)})}return C(x.children),_}function s(E,T){var _=E.clientY,x=T.selectHandle.getBoundingClientRect(),C=x.top,I=x.bottom,L=x.height,F=Math.max(L*c,a);return _<=C+F?-1:_>=I-F?1:0}function u(E,T){if(!E)return;var _=T.multiple;return _?E.slice():E.length?[E[0]]:E}var h=function(T){return T};function A(E,T){if(!E)return[];var _=T||{},x=_.processProps,C=x===void 0?h:x,I=Array.isArray(E)?E:[E];return I.map(function(L){var F=L.children,B=Object(S.a)(L,["children"]),P=A(F,T);return g.a.createElement(d.a,Object.assign({},C(B)),P)})}function v(E){if(!E)return null;var T;if(Array.isArray(E))T={checkedKeys:E,halfCheckedKeys:void 0};else if(Object(p.a)(E)==="object")T={checkedKeys:E.checked||void 0,halfCheckedKeys:E.halfChecked||void 0};else return Object(f.a)(!1,"`checkedKeys` is not an array or an object"),null;return T}function w(E,T){var _=new Set;function x(C){if(_.has(C))return;var I=T[C];if(!I)return;_.add(C);var L=I.parent,F=I.node;if(F.disabled)return;L&&x(L.key)}return(E||[]).forEach(function(C){x(C)}),Object(y.a)(_)}function b(E){var T={};return Object.keys(E).forEach(function(_){(_.startsWith("data-")||_.startsWith("aria-"))&&(T[_]=E[_])}),T}},OaEy:function(R,N,t){"use strict";var y=t("cIOH"),p=t.n(y),S=t("bKJz"),m=t.n(S),g=t("R9oj")},Ol7k:function(R,N,t){"use strict";var y=t("PKem"),p=t("ZX9x");y.b.Sider=p.b,N.a=y.b},OlYY:function(R,N,t){var y=t("Tghj"),p=y.__DEV__,S=t("ProS"),m=t("bYtY"),g=t("ItGF"),f=t("4NO4"),d=t("UOVi"),c=t("zDms"),a=m.each,n=d.eachAxisDim,i=S.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null,minSpan:null,maxSpan:null,minValueSpan:null,maxValueSpan:null,rangeMode:null},init:function(e,s,u){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var h=o(e);this.settledOption=h,this.mergeDefaultAndTheme(e,u),this.doInit(h)},mergeOption:function(e){var s=o(e);m.merge(this.option,e,!0),m.merge(this.settledOption,s,!0),this.doInit(s)},doInit:function(e){var s=this.option;g.canvasSupported||(s.realtime=!1),this._setDefaultThrottle(e),r(this,e);var u=this.settledOption;a([["start","startValue"],["end","endValue"]],function(h,A){this._rangePropMode[A]==="value"&&(s[h[0]]=u[h[0]]=null)},this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var e=this._axisProxies;this.eachTargetAxis(function(s,u,h,A){var v=this.dependentModels[s.axis][u],w=v.__dzAxisProxy||(v.__dzAxisProxy=new c(s.name,u,this,A));e[s.name+"_"+u]=w},this)},_resetTarget:function(){var e=this.option,s=this._judgeAutoMode();n(function(u){var h=u.axisIndex;e[h]=f.normalizeToArray(e[h])},this),s==="axisIndex"?this._autoSetAxisIndex():s==="orient"&&this._autoSetOrient()},_judgeAutoMode:function(){var e=this.option,s=!1;n(function(h){e[h.axisIndex]!=null&&(s=!0)},this);var u=e.orient;if(u==null&&s)return"orient";if(!s)return u==null&&(e.orient="horizontal"),"axisIndex"},_autoSetAxisIndex:function(){var e=!0,s=this.get("orient",!0),u=this.option,h=this.dependentModels;if(e){var A=s==="vertical"?"y":"x";h[A+"Axis"].length?(u[A+"AxisIndex"]=[0],e=!1):a(h.singleAxis,function(v){e&&v.get("orient",!0)===s&&(u.singleAxisIndex=[v.componentIndex],e=!1)})}e&&n(function(v){if(!e)return;var w=[],b=this.dependentModels[v.axis];if(b.length&&!w.length)for(var E=0,T=b.length;E0?100:20}},getFirstTargetAxisModel:function(){var e;return n(function(s){if(e==null){var u=this.get(s.axisIndex);u.length&&(e=this.dependentModels[s.axis][u[0]])}},this),e},eachTargetAxis:function(e,s){var u=this.ecModel;n(function(h){a(this.get(h.axisIndex),function(A){e.call(s,h,A,this,u)},this)},this)},getAxisProxy:function(e,s){return this._axisProxies[e+"_"+s]},getAxisModel:function(e,s){var u=this.getAxisProxy(e,s);return u&&u.getAxisModel()},setRawRange:function(e){var s=this.option,u=this.settledOption;a([["start","startValue"],["end","endValue"]],function(h){(e[h[0]]!=null||e[h[1]]!=null)&&(s[h[0]]=u[h[0]]=e[h[0]],s[h[1]]=u[h[1]]=e[h[1]])},this),r(this,e)},setCalculatedRange:function(e){var s=this.option;a(["start","startValue","end","endValue"],function(u){s[u]=e[u]})},getPercentRange:function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},getValueRange:function(e,s){if(e==null&&s==null){var u=this.findRepresentativeAxisProxy();if(u)return u.getDataValueWindow()}else return this.getAxisProxy(e,s).getDataValueWindow()},findRepresentativeAxisProxy:function(e){if(e)return e.__dzAxisProxy;var s=this._axisProxies;for(var u in s)if(s.hasOwnProperty(u)&&s[u].hostedBy(this))return s[u];for(var u in s)if(s.hasOwnProperty(u)&&!s[u].hostedBy(this))return s[u]},getRangePropMode:function(){return this._rangePropMode.slice()}});function o(e){var s={};return a(["start","end","startValue","endValue","throttle"],function(u){e.hasOwnProperty(u)&&(s[u]=e[u])}),s}function r(e,s){var u=e._rangePropMode,h=e.get("rangeMode");a([["start","startValue"],["end","endValue"]],function(A,v){var w=s[A[0]]!=null,b=s[A[1]]!=null;w&&!b?u[v]="percent":!w&&b?u[v]="value":h?u[v]=h[v]:w&&(u[v]="percent")})}var l=i;R.exports=l},OnYD:function(R,N,t){},"Oy/b":function(R,N,t){(function(p,S){R.exports=S()})(typeof self!="undefined"?self:this,function(){return function(y){var p={};function S(m){if(p[m])return p[m].exports;var g=p[m]={i:m,l:!1,exports:{}};return y[m].call(g.exports,g,g.exports,S),g.l=!0,g.exports}return S.m=y,S.c=p,S.d=function(m,g,f){S.o(m,g)||Object.defineProperty(m,g,{enumerable:!0,get:f})},S.r=function(m){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(m,"__esModule",{value:!0})},S.t=function(m,g){if(g&1&&(m=S(m)),g&8)return m;if(g&4&&typeof m=="object"&&m&&m.__esModule)return m;var f=Object.create(null);if(S.r(f),Object.defineProperty(f,"default",{enumerable:!0,value:m}),g&2&&typeof m!="string")for(var d in m)S.d(f,d,function(c){return m[c]}.bind(null,d));return f},S.n=function(m){var g=m&&m.__esModule?function(){return m.default}:function(){return m};return S.d(g,"a",g),g},S.o=function(m,g){return Object.prototype.hasOwnProperty.call(m,g)},S.p="",S(S.s=1)}([function(y,p,S){},function(y,p,S){"use strict";S.r(p);var m=S(0),g=function(){function ft($,he,ge){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=$,this.start=he,this.end=ge}return ft.range=function(he,ge){return ge?!he||!he.loc||!ge.loc||he.loc.lexer!==ge.loc.lexer?null:new ft(he.loc.lexer,he.loc.start,ge.loc.end):he&&he.loc},ft}(),f=function(){function ft(he,ge){this.text=void 0,this.loc=void 0,this.text=he,this.loc=ge}var $=ft.prototype;return $.range=function(ge,Fe){return new ft(Fe,g.range(this,ge))},ft}(),d=function ft($,he){this.position=void 0;var ge="KaTeX parse error: "+$,Fe,ct=he&&he.loc;if(ct&&ct.start<=ct.end){var Tt=ct.lexer.input;Fe=ct.start;var br=ct.end;Fe===Tt.length?ge+=" at end of input: ":ge+=" at position "+(Fe+1)+": ";var Ir=Tt.slice(Fe,br).replace(/[^]/g,"$&\u0332"),$r;Fe>15?$r="\u2026"+Tt.slice(Fe-15,Fe):$r=Tt.slice(0,Fe);var Cn;br+15":">","<":"<",'"':""","'":"'"},l=/[&><"']/g;function e(ft){return String(ft).replace(l,function($){return r[$]})}var s=function ft($){return $.type==="ordgroup"||$.type==="color"?$.body.length===1?ft($.body[0]):$:$.type==="font"?ft($.body):$},u=function($){var he=s($);return he.type==="mathord"||he.type==="textord"||he.type==="atom"},h=function($){if(!$)throw new Error("Expected non-null, but got "+String($));return $},A=function($){var he=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec($);return he!=null?he[1]:"_relative"},v={contains:a,deflt:n,escape:e,hyphenate:o,getBaseElem:s,isCharacterBox:u,protocolFromUrl:A},w=function(){function ft(he){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,he=he||{},this.displayMode=v.deflt(he.displayMode,!1),this.output=v.deflt(he.output,"htmlAndMathml"),this.leqno=v.deflt(he.leqno,!1),this.fleqn=v.deflt(he.fleqn,!1),this.throwOnError=v.deflt(he.throwOnError,!0),this.errorColor=v.deflt(he.errorColor,"#cc0000"),this.macros=he.macros||{},this.minRuleThickness=Math.max(0,v.deflt(he.minRuleThickness,0)),this.colorIsTextColor=v.deflt(he.colorIsTextColor,!1),this.strict=v.deflt(he.strict,"warn"),this.trust=v.deflt(he.trust,!1),this.maxSize=Math.max(0,v.deflt(he.maxSize,Infinity)),this.maxExpand=Math.max(0,v.deflt(he.maxExpand,1e3))}var $=ft.prototype;return $.reportNonstrict=function(ge,Fe,ct){var Tt=this.strict;if(typeof Tt=="function"&&(Tt=Tt(ge,Fe,ct)),!Tt||Tt==="ignore")return;if(Tt===!0||Tt==="error")throw new c("LaTeX-incompatible input and strict mode is set to 'error': "+(Fe+" ["+ge+"]"),ct);Tt==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(Fe+" ["+ge+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Tt+"': "+Fe+" ["+ge+"]"))},$.useStrictBehavior=function(ge,Fe,ct){var Tt=this.strict;if(typeof Tt=="function")try{Tt=Tt(ge,Fe,ct)}catch(br){Tt="error"}return!Tt||Tt==="ignore"?!1:Tt===!0||Tt==="error"?!0:Tt==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(Fe+" ["+ge+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Tt+"': "+Fe+" ["+ge+"]")),!1)},$.isTrusted=function(ge){ge.url&&!ge.protocol&&(ge.protocol=v.protocolFromUrl(ge.url));var Fe=typeof this.trust=="function"?this.trust(ge):this.trust;return Boolean(Fe)},ft}(),b=function(){function ft(he,ge,Fe){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=he,this.size=ge,this.cramped=Fe}var $=ft.prototype;return $.sup=function(){return B[P[this.id]]},$.sub=function(){return B[H[this.id]]},$.fracNum=function(){return B[z[this.id]]},$.fracDen=function(){return B[M[this.id]]},$.cramp=function(){return B[U[this.id]]},$.text=function(){return B[k[this.id]]},$.isTight=function(){return this.size>=2},ft}(),E=0,T=1,_=2,x=3,C=4,I=5,L=6,F=7,B=[new b(E,0,!1),new b(T,0,!0),new b(_,1,!1),new b(x,1,!0),new b(C,2,!1),new b(I,2,!0),new b(L,3,!1),new b(F,3,!0)],P=[C,I,C,I,L,F,L,F],H=[I,I,I,I,F,F,F,F],z=[_,x,C,I,L,F,L,F],M=[x,x,I,I,F,F,F,F],U=[T,T,x,x,I,I,F,F],k=[E,T,_,x,_,x,_,x],K={DISPLAY:B[E],TEXT:B[_],SCRIPT:B[C],SCRIPTSCRIPT:B[L]},j=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function V(ft){for(var $=0;$=Fe[0]&&ft<=Fe[1])return he.name}return null}var W=[];j.forEach(function(ft){return ft.blocks.forEach(function($){return W.push.apply(W,$)})});function X(ft){for(var $=0;$=W[$]&&ft<=W[$+1])return!0;return!1}var J=80,de=function($,he){return"M95,"+(622+$+he)+` c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10 s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429 c69,-144,104.5,-217.7,106.5,-221 l`+$/2.075+" -"+$+` c5.3,-9.3,12,-14,20,-14 H400000v`+(40+$)+`H845.2724 s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7 c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z M`+(834+$)+" "+he+"h400000v"+(40+$)+"h-400000z"},G=function($,he){return"M263,"+(601+$+he)+`c0.7,0,18,39.7,52,119 c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120 c340,-704.7,510.7,-1060.3,512,-1067 l`+$/2.084+" -"+$+` c4.7,-7.3,11,-11,19,-11 H40000v`+(40+$)+`H1012.3 s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232 c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1 s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26 c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z M`+(1001+$)+" "+he+"h400000v"+(40+$)+"h-400000z"},ae=function($,he){return"M983 "+(10+$+he)+` l`+$/3.13+" -"+$+` c4,-6.7,10,-10,18,-10 H400000v`+(40+$)+` H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7 s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744 c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30 c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722 c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5 c53.7,-170.3,84.5,-266.8,92.5,-289.5z M`+(1001+$)+" "+he+"h400000v"+(40+$)+"h-400000z"},Ae=function($,he){return"M424,"+(2398+$+he)+` c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514 c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20 s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121 s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081 l`+$/4.223+" -"+$+`c4,-6.7,10,-10,18,-10 H400000 v`+(40+$)+`H1014.6 s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185 c-2,6,-10,9,-24,9 c-8,0,-12,-0.7,-12,-2z M`+(1001+$)+" "+he+` h400000v`+(40+$)+"h-400000z"},me=function($,he){return"M473,"+(2713+$+he)+` c339.3,-1799.3,509.3,-2700,510,-2702 l`+$/5.298+" -"+$+` c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+$)+`H1017.7 s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9 c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200 c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26 s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104, 606zM`+(1001+$)+" "+he+"h400000v"+(40+$)+"H1017.7z"},Me=function($,he,ge){var Fe=ge-54-he-$;return"M702 "+($+he)+"H400000"+(40+$)+` H742v`+Fe+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1 h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170 c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667 219 661 l218 661zM702 `+he+"H400000v"+(40+$)+"H742z"},oe=function($,he,ge){he=1e3*he;var Fe="";switch($){case"sqrtMain":Fe=de(he,J);break;case"sqrtSize1":Fe=G(he,J);break;case"sqrtSize2":Fe=ae(he,J);break;case"sqrtSize3":Fe=Ae(he,J);break;case"sqrtSize4":Fe=me(he,J);break;case"sqrtTall":Fe=Me(he,J,ge)}return Fe},_e={doubleleftarrow:`M262 157 l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5 c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87 -86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7 -2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l -10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88 -33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68 -17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18 -13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782 c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3 -107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8 -5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247 c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202 l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117 -45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7 5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7 -331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80 H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0 435 0h399565z`,leftgroupunder:`M400000 262 H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3 -3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5 -18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7 -196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3 -4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7 -10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667 -152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7 -2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0 v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5 -83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3 -68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23 -.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8 c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334 c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14 -53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214 c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0 -5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6 -320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8 60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8 -451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2 c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6 -480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0 85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8 -707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1 c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128 -16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85 -40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5 -12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l -6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5 s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1 c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237 -174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0 3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3 -3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2 -10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11 -18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5 -7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95 -27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3 -64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0 -13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32 -52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142 -167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69 -70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3 -40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19 -37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167 c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333 -19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7 -2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128 -68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418 -8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114 c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751 181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457 -11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696 -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345 -11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409 -175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5 3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11 10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63 -1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1 -7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59 H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359 c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22 c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10 -11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10 -11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10 -11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1, -5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, -11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, -11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, -11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202 c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5 c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130 s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47 121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6 s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11 c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32 -27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39 -84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5 -119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5 -12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67 151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17 c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21 c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40 c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0 c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9, 1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7, -152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0 c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},ee=function(){function ft(he){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=he,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var $=ft.prototype;return $.hasClass=function(ge){return v.contains(this.classes,ge)},$.toNode=function(){for(var ge=document.createDocumentFragment(),Fe=0;Fe",he},re=function(){function ft(he,ge,Fe,ct){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,Ge.call(this,he,Fe,ct),this.children=ge||[]}var $=ft.prototype;return $.setAttribute=function(ge,Fe){this.attributes[ge]=Fe},$.hasClass=function(ge){return v.contains(this.classes,ge)},$.toNode=function(){return Ee.call(this,"span")},$.toMarkup=function(){return ue.call(this,"span")},ft}(),ce=function(){function ft(he,ge,Fe,ct){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Ge.call(this,ge,ct),this.children=Fe||[],this.setAttribute("href",he)}var $=ft.prototype;return $.setAttribute=function(ge,Fe){this.attributes[ge]=Fe},$.hasClass=function(ge){return v.contains(this.classes,ge)},$.toNode=function(){return Ee.call(this,"a")},$.toMarkup=function(){return ue.call(this,"a")},ft}(),ke=function(){function ft(he,ge,Fe){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=ge,this.src=he,this.classes=["mord"],this.style=Fe}var $=ft.prototype;return $.hasClass=function(ge){return v.contains(this.classes,ge)},$.toNode=function(){var ge=document.createElement("img");ge.src=this.src,ge.alt=this.alt,ge.className="mord";for(var Fe in this.style)this.style.hasOwnProperty(Fe)&&(ge.style[Fe]=this.style[Fe]);return ge},$.toMarkup=function(){var ge=""+this.alt+"0&&(Fe=document.createElement("span"),Fe.style.marginRight=this.italic+"em"),this.classes.length>0&&(Fe=Fe||document.createElement("span"),Fe.className=ne(this.classes));for(var ct in this.style)this.style.hasOwnProperty(ct)&&(Fe=Fe||document.createElement("span"),Fe.style[ct]=this.style[ct]);return Fe?(Fe.appendChild(ge),Fe):ge},$.toMarkup=function(){var ge=!1,Fe="0&&(ct+="margin-right:"+this.italic+"em;");for(var Tt in this.style)this.style.hasOwnProperty(Tt)&&(ct+=v.hyphenate(Tt)+":"+this.style[Tt]+";");ct&&(ge=!0,Fe+=' style="'+v.escape(ct)+'"');var br=v.escape(this.text);return ge?(Fe+=">",Fe+=br,Fe+="",Fe):br},ft}(),Ie=function(){function ft(he,ge){this.children=void 0,this.attributes=void 0,this.children=he||[],this.attributes=ge||{}}var $=ft.prototype;return $.toNode=function(){var ge="http://www.w3.org/2000/svg",Fe=document.createElementNS(ge,"svg");for(var ct in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,ct)&&Fe.setAttribute(ct,this.attributes[ct]);for(var Tt=0;Tt":""},ft}(),ye=function(){function ft(he){this.attributes=void 0,this.attributes=he||{}}var $=ft.prototype;return $.toNode=function(){var ge="http://www.w3.org/2000/svg",Fe=document.createElementNS(ge,"line");for(var ct in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,ct)&&Fe.setAttribute(ct,this.attributes[ct]);return Fe},$.toMarkup=function(){var ge=" but got "+String(ft)+".")}var pt={"AMS-Regular":{"65":[0,.68889,0,0,.72222],"66":[0,.68889,0,0,.66667],"67":[0,.68889,0,0,.72222],"68":[0,.68889,0,0,.72222],"69":[0,.68889,0,0,.66667],"70":[0,.68889,0,0,.61111],"71":[0,.68889,0,0,.77778],"72":[0,.68889,0,0,.77778],"73":[0,.68889,0,0,.38889],"74":[.16667,.68889,0,0,.5],"75":[0,.68889,0,0,.77778],"76":[0,.68889,0,0,.66667],"77":[0,.68889,0,0,.94445],"78":[0,.68889,0,0,.72222],"79":[.16667,.68889,0,0,.77778],"80":[0,.68889,0,0,.61111],"81":[.16667,.68889,0,0,.77778],"82":[0,.68889,0,0,.72222],"83":[0,.68889,0,0,.55556],"84":[0,.68889,0,0,.66667],"85":[0,.68889,0,0,.72222],"86":[0,.68889,0,0,.72222],"87":[0,.68889,0,0,1],"88":[0,.68889,0,0,.72222],"89":[0,.68889,0,0,.72222],"90":[0,.68889,0,0,.66667],"107":[0,.68889,0,0,.55556],"165":[0,.675,.025,0,.75],"174":[.15559,.69224,0,0,.94666],"240":[0,.68889,0,0,.55556],"295":[0,.68889,0,0,.54028],"710":[0,.825,0,0,2.33334],"732":[0,.9,0,0,2.33334],"770":[0,.825,0,0,2.33334],"771":[0,.9,0,0,2.33334],"989":[.08167,.58167,0,0,.77778],"1008":[0,.43056,.04028,0,.66667],"8245":[0,.54986,0,0,.275],"8463":[0,.68889,0,0,.54028],"8487":[0,.68889,0,0,.72222],"8498":[0,.68889,0,0,.55556],"8502":[0,.68889,0,0,.66667],"8503":[0,.68889,0,0,.44445],"8504":[0,.68889,0,0,.66667],"8513":[0,.68889,0,0,.63889],"8592":[-.03598,.46402,0,0,.5],"8594":[-.03598,.46402,0,0,.5],"8602":[-.13313,.36687,0,0,1],"8603":[-.13313,.36687,0,0,1],"8606":[.01354,.52239,0,0,1],"8608":[.01354,.52239,0,0,1],"8610":[.01354,.52239,0,0,1.11111],"8611":[.01354,.52239,0,0,1.11111],"8619":[0,.54986,0,0,1],"8620":[0,.54986,0,0,1],"8621":[-.13313,.37788,0,0,1.38889],"8622":[-.13313,.36687,0,0,1],"8624":[0,.69224,0,0,.5],"8625":[0,.69224,0,0,.5],"8630":[0,.43056,0,0,1],"8631":[0,.43056,0,0,1],"8634":[.08198,.58198,0,0,.77778],"8635":[.08198,.58198,0,0,.77778],"8638":[.19444,.69224,0,0,.41667],"8639":[.19444,.69224,0,0,.41667],"8642":[.19444,.69224,0,0,.41667],"8643":[.19444,.69224,0,0,.41667],"8644":[.1808,.675,0,0,1],"8646":[.1808,.675,0,0,1],"8647":[.1808,.675,0,0,1],"8648":[.19444,.69224,0,0,.83334],"8649":[.1808,.675,0,0,1],"8650":[.19444,.69224,0,0,.83334],"8651":[.01354,.52239,0,0,1],"8652":[.01354,.52239,0,0,1],"8653":[-.13313,.36687,0,0,1],"8654":[-.13313,.36687,0,0,1],"8655":[-.13313,.36687,0,0,1],"8666":[.13667,.63667,0,0,1],"8667":[.13667,.63667,0,0,1],"8669":[-.13313,.37788,0,0,1],"8672":[-.064,.437,0,0,1.334],"8674":[-.064,.437,0,0,1.334],"8705":[0,.825,0,0,.5],"8708":[0,.68889,0,0,.55556],"8709":[.08167,.58167,0,0,.77778],"8717":[0,.43056,0,0,.42917],"8722":[-.03598,.46402,0,0,.5],"8724":[.08198,.69224,0,0,.77778],"8726":[.08167,.58167,0,0,.77778],"8733":[0,.69224,0,0,.77778],"8736":[0,.69224,0,0,.72222],"8737":[0,.69224,0,0,.72222],"8738":[.03517,.52239,0,0,.72222],"8739":[.08167,.58167,0,0,.22222],"8740":[.25142,.74111,0,0,.27778],"8741":[.08167,.58167,0,0,.38889],"8742":[.25142,.74111,0,0,.5],"8756":[0,.69224,0,0,.66667],"8757":[0,.69224,0,0,.66667],"8764":[-.13313,.36687,0,0,.77778],"8765":[-.13313,.37788,0,0,.77778],"8769":[-.13313,.36687,0,0,.77778],"8770":[-.03625,.46375,0,0,.77778],"8774":[.30274,.79383,0,0,.77778],"8776":[-.01688,.48312,0,0,.77778],"8778":[.08167,.58167,0,0,.77778],"8782":[.06062,.54986,0,0,.77778],"8783":[.06062,.54986,0,0,.77778],"8785":[.08198,.58198,0,0,.77778],"8786":[.08198,.58198,0,0,.77778],"8787":[.08198,.58198,0,0,.77778],"8790":[0,.69224,0,0,.77778],"8791":[.22958,.72958,0,0,.77778],"8796":[.08198,.91667,0,0,.77778],"8806":[.25583,.75583,0,0,.77778],"8807":[.25583,.75583,0,0,.77778],"8808":[.25142,.75726,0,0,.77778],"8809":[.25142,.75726,0,0,.77778],"8812":[.25583,.75583,0,0,.5],"8814":[.20576,.70576,0,0,.77778],"8815":[.20576,.70576,0,0,.77778],"8816":[.30274,.79383,0,0,.77778],"8817":[.30274,.79383,0,0,.77778],"8818":[.22958,.72958,0,0,.77778],"8819":[.22958,.72958,0,0,.77778],"8822":[.1808,.675,0,0,.77778],"8823":[.1808,.675,0,0,.77778],"8828":[.13667,.63667,0,0,.77778],"8829":[.13667,.63667,0,0,.77778],"8830":[.22958,.72958,0,0,.77778],"8831":[.22958,.72958,0,0,.77778],"8832":[.20576,.70576,0,0,.77778],"8833":[.20576,.70576,0,0,.77778],"8840":[.30274,.79383,0,0,.77778],"8841":[.30274,.79383,0,0,.77778],"8842":[.13597,.63597,0,0,.77778],"8843":[.13597,.63597,0,0,.77778],"8847":[.03517,.54986,0,0,.77778],"8848":[.03517,.54986,0,0,.77778],"8858":[.08198,.58198,0,0,.77778],"8859":[.08198,.58198,0,0,.77778],"8861":[.08198,.58198,0,0,.77778],"8862":[0,.675,0,0,.77778],"8863":[0,.675,0,0,.77778],"8864":[0,.675,0,0,.77778],"8865":[0,.675,0,0,.77778],"8872":[0,.69224,0,0,.61111],"8873":[0,.69224,0,0,.72222],"8874":[0,.69224,0,0,.88889],"8876":[0,.68889,0,0,.61111],"8877":[0,.68889,0,0,.61111],"8878":[0,.68889,0,0,.72222],"8879":[0,.68889,0,0,.72222],"8882":[.03517,.54986,0,0,.77778],"8883":[.03517,.54986,0,0,.77778],"8884":[.13667,.63667,0,0,.77778],"8885":[.13667,.63667,0,0,.77778],"8888":[0,.54986,0,0,1.11111],"8890":[.19444,.43056,0,0,.55556],"8891":[.19444,.69224,0,0,.61111],"8892":[.19444,.69224,0,0,.61111],"8901":[0,.54986,0,0,.27778],"8903":[.08167,.58167,0,0,.77778],"8905":[.08167,.58167,0,0,.77778],"8906":[.08167,.58167,0,0,.77778],"8907":[0,.69224,0,0,.77778],"8908":[0,.69224,0,0,.77778],"8909":[-.03598,.46402,0,0,.77778],"8910":[0,.54986,0,0,.76042],"8911":[0,.54986,0,0,.76042],"8912":[.03517,.54986,0,0,.77778],"8913":[.03517,.54986,0,0,.77778],"8914":[0,.54986,0,0,.66667],"8915":[0,.54986,0,0,.66667],"8916":[0,.69224,0,0,.66667],"8918":[.0391,.5391,0,0,.77778],"8919":[.0391,.5391,0,0,.77778],"8920":[.03517,.54986,0,0,1.33334],"8921":[.03517,.54986,0,0,1.33334],"8922":[.38569,.88569,0,0,.77778],"8923":[.38569,.88569,0,0,.77778],"8926":[.13667,.63667,0,0,.77778],"8927":[.13667,.63667,0,0,.77778],"8928":[.30274,.79383,0,0,.77778],"8929":[.30274,.79383,0,0,.77778],"8934":[.23222,.74111,0,0,.77778],"8935":[.23222,.74111,0,0,.77778],"8936":[.23222,.74111,0,0,.77778],"8937":[.23222,.74111,0,0,.77778],"8938":[.20576,.70576,0,0,.77778],"8939":[.20576,.70576,0,0,.77778],"8940":[.30274,.79383,0,0,.77778],"8941":[.30274,.79383,0,0,.77778],"8994":[.19444,.69224,0,0,.77778],"8995":[.19444,.69224,0,0,.77778],"9416":[.15559,.69224,0,0,.90222],"9484":[0,.69224,0,0,.5],"9488":[0,.69224,0,0,.5],"9492":[0,.37788,0,0,.5],"9496":[0,.37788,0,0,.5],"9585":[.19444,.68889,0,0,.88889],"9586":[.19444,.74111,0,0,.88889],"9632":[0,.675,0,0,.77778],"9633":[0,.675,0,0,.77778],"9650":[0,.54986,0,0,.72222],"9651":[0,.54986,0,0,.72222],"9654":[.03517,.54986,0,0,.77778],"9660":[0,.54986,0,0,.72222],"9661":[0,.54986,0,0,.72222],"9664":[.03517,.54986,0,0,.77778],"9674":[.11111,.69224,0,0,.66667],"9733":[.19444,.69224,0,0,.94445],"10003":[0,.69224,0,0,.83334],"10016":[0,.69224,0,0,.83334],"10731":[.11111,.69224,0,0,.66667],"10846":[.19444,.75583,0,0,.61111],"10877":[.13667,.63667,0,0,.77778],"10878":[.13667,.63667,0,0,.77778],"10885":[.25583,.75583,0,0,.77778],"10886":[.25583,.75583,0,0,.77778],"10887":[.13597,.63597,0,0,.77778],"10888":[.13597,.63597,0,0,.77778],"10889":[.26167,.75726,0,0,.77778],"10890":[.26167,.75726,0,0,.77778],"10891":[.48256,.98256,0,0,.77778],"10892":[.48256,.98256,0,0,.77778],"10901":[.13667,.63667,0,0,.77778],"10902":[.13667,.63667,0,0,.77778],"10933":[.25142,.75726,0,0,.77778],"10934":[.25142,.75726,0,0,.77778],"10935":[.26167,.75726,0,0,.77778],"10936":[.26167,.75726,0,0,.77778],"10937":[.26167,.75726,0,0,.77778],"10938":[.26167,.75726,0,0,.77778],"10949":[.25583,.75583,0,0,.77778],"10950":[.25583,.75583,0,0,.77778],"10955":[.28481,.79383,0,0,.77778],"10956":[.28481,.79383,0,0,.77778],"57350":[.08167,.58167,0,0,.22222],"57351":[.08167,.58167,0,0,.38889],"57352":[.08167,.58167,0,0,.77778],"57353":[0,.43056,.04028,0,.66667],"57356":[.25142,.75726,0,0,.77778],"57357":[.25142,.75726,0,0,.77778],"57358":[.41951,.91951,0,0,.77778],"57359":[.30274,.79383,0,0,.77778],"57360":[.30274,.79383,0,0,.77778],"57361":[.41951,.91951,0,0,.77778],"57366":[.25142,.75726,0,0,.77778],"57367":[.25142,.75726,0,0,.77778],"57368":[.25142,.75726,0,0,.77778],"57369":[.25142,.75726,0,0,.77778],"57370":[.13597,.63597,0,0,.77778],"57371":[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{"48":[0,.43056,0,0,.5],"49":[0,.43056,0,0,.5],"50":[0,.43056,0,0,.5],"51":[.19444,.43056,0,0,.5],"52":[.19444,.43056,0,0,.5],"53":[.19444,.43056,0,0,.5],"54":[0,.64444,0,0,.5],"55":[.19444,.43056,0,0,.5],"56":[0,.64444,0,0,.5],"57":[.19444,.43056,0,0,.5],"65":[0,.68333,0,.19445,.79847],"66":[0,.68333,.03041,.13889,.65681],"67":[0,.68333,.05834,.13889,.52653],"68":[0,.68333,.02778,.08334,.77139],"69":[0,.68333,.08944,.11111,.52778],"70":[0,.68333,.09931,.11111,.71875],"71":[.09722,.68333,.0593,.11111,.59487],"72":[0,.68333,.00965,.11111,.84452],"73":[0,.68333,.07382,0,.54452],"74":[.09722,.68333,.18472,.16667,.67778],"75":[0,.68333,.01445,.05556,.76195],"76":[0,.68333,0,.13889,.68972],"77":[0,.68333,0,.13889,1.2009],"78":[0,.68333,.14736,.08334,.82049],"79":[0,.68333,.02778,.11111,.79611],"80":[0,.68333,.08222,.08334,.69556],"81":[.09722,.68333,0,.11111,.81667],"82":[0,.68333,0,.08334,.8475],"83":[0,.68333,.075,.13889,.60556],"84":[0,.68333,.25417,0,.54464],"85":[0,.68333,.09931,.08334,.62583],"86":[0,.68333,.08222,0,.61278],"87":[0,.68333,.08222,.08334,.98778],"88":[0,.68333,.14643,.13889,.7133],"89":[.09722,.68333,.08222,.08334,.66834],"90":[0,.68333,.07944,.13889,.72473]},"Fraktur-Regular":{"33":[0,.69141,0,0,.29574],"34":[0,.69141,0,0,.21471],"38":[0,.69141,0,0,.73786],"39":[0,.69141,0,0,.21201],"40":[.24982,.74947,0,0,.38865],"41":[.24982,.74947,0,0,.38865],"42":[0,.62119,0,0,.27764],"43":[.08319,.58283,0,0,.75623],"44":[0,.10803,0,0,.27764],"45":[.08319,.58283,0,0,.75623],"46":[0,.10803,0,0,.27764],"47":[.24982,.74947,0,0,.50181],"48":[0,.47534,0,0,.50181],"49":[0,.47534,0,0,.50181],"50":[0,.47534,0,0,.50181],"51":[.18906,.47534,0,0,.50181],"52":[.18906,.47534,0,0,.50181],"53":[.18906,.47534,0,0,.50181],"54":[0,.69141,0,0,.50181],"55":[.18906,.47534,0,0,.50181],"56":[0,.69141,0,0,.50181],"57":[.18906,.47534,0,0,.50181],"58":[0,.47534,0,0,.21606],"59":[.12604,.47534,0,0,.21606],"61":[-.13099,.36866,0,0,.75623],"63":[0,.69141,0,0,.36245],"65":[0,.69141,0,0,.7176],"66":[0,.69141,0,0,.88397],"67":[0,.69141,0,0,.61254],"68":[0,.69141,0,0,.83158],"69":[0,.69141,0,0,.66278],"70":[.12604,.69141,0,0,.61119],"71":[0,.69141,0,0,.78539],"72":[.06302,.69141,0,0,.7203],"73":[0,.69141,0,0,.55448],"74":[.12604,.69141,0,0,.55231],"75":[0,.69141,0,0,.66845],"76":[0,.69141,0,0,.66602],"77":[0,.69141,0,0,1.04953],"78":[0,.69141,0,0,.83212],"79":[0,.69141,0,0,.82699],"80":[.18906,.69141,0,0,.82753],"81":[.03781,.69141,0,0,.82699],"82":[0,.69141,0,0,.82807],"83":[0,.69141,0,0,.82861],"84":[0,.69141,0,0,.66899],"85":[0,.69141,0,0,.64576],"86":[0,.69141,0,0,.83131],"87":[0,.69141,0,0,1.04602],"88":[0,.69141,0,0,.71922],"89":[.18906,.69141,0,0,.83293],"90":[.12604,.69141,0,0,.60201],"91":[.24982,.74947,0,0,.27764],"93":[.24982,.74947,0,0,.27764],"94":[0,.69141,0,0,.49965],"97":[0,.47534,0,0,.50046],"98":[0,.69141,0,0,.51315],"99":[0,.47534,0,0,.38946],"100":[0,.62119,0,0,.49857],"101":[0,.47534,0,0,.40053],"102":[.18906,.69141,0,0,.32626],"103":[.18906,.47534,0,0,.5037],"104":[.18906,.69141,0,0,.52126],"105":[0,.69141,0,0,.27899],"106":[0,.69141,0,0,.28088],"107":[0,.69141,0,0,.38946],"108":[0,.69141,0,0,.27953],"109":[0,.47534,0,0,.76676],"110":[0,.47534,0,0,.52666],"111":[0,.47534,0,0,.48885],"112":[.18906,.52396,0,0,.50046],"113":[.18906,.47534,0,0,.48912],"114":[0,.47534,0,0,.38919],"115":[0,.47534,0,0,.44266],"116":[0,.62119,0,0,.33301],"117":[0,.47534,0,0,.5172],"118":[0,.52396,0,0,.5118],"119":[0,.52396,0,0,.77351],"120":[.18906,.47534,0,0,.38865],"121":[.18906,.47534,0,0,.49884],"122":[.18906,.47534,0,0,.39054],"8216":[0,.69141,0,0,.21471],"8217":[0,.69141,0,0,.21471],"58112":[0,.62119,0,0,.49749],"58113":[0,.62119,0,0,.4983],"58114":[.18906,.69141,0,0,.33328],"58115":[.18906,.69141,0,0,.32923],"58116":[.18906,.47534,0,0,.50343],"58117":[0,.69141,0,0,.33301],"58118":[0,.62119,0,0,.33409],"58119":[0,.47534,0,0,.50073]},"Main-Bold":{"33":[0,.69444,0,0,.35],"34":[0,.69444,0,0,.60278],"35":[.19444,.69444,0,0,.95833],"36":[.05556,.75,0,0,.575],"37":[.05556,.75,0,0,.95833],"38":[0,.69444,0,0,.89444],"39":[0,.69444,0,0,.31944],"40":[.25,.75,0,0,.44722],"41":[.25,.75,0,0,.44722],"42":[0,.75,0,0,.575],"43":[.13333,.63333,0,0,.89444],"44":[.19444,.15556,0,0,.31944],"45":[0,.44444,0,0,.38333],"46":[0,.15556,0,0,.31944],"47":[.25,.75,0,0,.575],"48":[0,.64444,0,0,.575],"49":[0,.64444,0,0,.575],"50":[0,.64444,0,0,.575],"51":[0,.64444,0,0,.575],"52":[0,.64444,0,0,.575],"53":[0,.64444,0,0,.575],"54":[0,.64444,0,0,.575],"55":[0,.64444,0,0,.575],"56":[0,.64444,0,0,.575],"57":[0,.64444,0,0,.575],"58":[0,.44444,0,0,.31944],"59":[.19444,.44444,0,0,.31944],"60":[.08556,.58556,0,0,.89444],"61":[-.10889,.39111,0,0,.89444],"62":[.08556,.58556,0,0,.89444],"63":[0,.69444,0,0,.54305],"64":[0,.69444,0,0,.89444],"65":[0,.68611,0,0,.86944],"66":[0,.68611,0,0,.81805],"67":[0,.68611,0,0,.83055],"68":[0,.68611,0,0,.88194],"69":[0,.68611,0,0,.75555],"70":[0,.68611,0,0,.72361],"71":[0,.68611,0,0,.90416],"72":[0,.68611,0,0,.9],"73":[0,.68611,0,0,.43611],"74":[0,.68611,0,0,.59444],"75":[0,.68611,0,0,.90138],"76":[0,.68611,0,0,.69166],"77":[0,.68611,0,0,1.09166],"78":[0,.68611,0,0,.9],"79":[0,.68611,0,0,.86388],"80":[0,.68611,0,0,.78611],"81":[.19444,.68611,0,0,.86388],"82":[0,.68611,0,0,.8625],"83":[0,.68611,0,0,.63889],"84":[0,.68611,0,0,.8],"85":[0,.68611,0,0,.88472],"86":[0,.68611,.01597,0,.86944],"87":[0,.68611,.01597,0,1.18888],"88":[0,.68611,0,0,.86944],"89":[0,.68611,.02875,0,.86944],"90":[0,.68611,0,0,.70277],"91":[.25,.75,0,0,.31944],"92":[.25,.75,0,0,.575],"93":[.25,.75,0,0,.31944],"94":[0,.69444,0,0,.575],"95":[.31,.13444,.03194,0,.575],"97":[0,.44444,0,0,.55902],"98":[0,.69444,0,0,.63889],"99":[0,.44444,0,0,.51111],"100":[0,.69444,0,0,.63889],"101":[0,.44444,0,0,.52708],"102":[0,.69444,.10903,0,.35139],"103":[.19444,.44444,.01597,0,.575],"104":[0,.69444,0,0,.63889],"105":[0,.69444,0,0,.31944],"106":[.19444,.69444,0,0,.35139],"107":[0,.69444,0,0,.60694],"108":[0,.69444,0,0,.31944],"109":[0,.44444,0,0,.95833],"110":[0,.44444,0,0,.63889],"111":[0,.44444,0,0,.575],"112":[.19444,.44444,0,0,.63889],"113":[.19444,.44444,0,0,.60694],"114":[0,.44444,0,0,.47361],"115":[0,.44444,0,0,.45361],"116":[0,.63492,0,0,.44722],"117":[0,.44444,0,0,.63889],"118":[0,.44444,.01597,0,.60694],"119":[0,.44444,.01597,0,.83055],"120":[0,.44444,0,0,.60694],"121":[.19444,.44444,.01597,0,.60694],"122":[0,.44444,0,0,.51111],"123":[.25,.75,0,0,.575],"124":[.25,.75,0,0,.31944],"125":[.25,.75,0,0,.575],"126":[.35,.34444,0,0,.575],"168":[0,.69444,0,0,.575],"172":[0,.44444,0,0,.76666],"176":[0,.69444,0,0,.86944],"177":[.13333,.63333,0,0,.89444],"184":[.17014,0,0,0,.51111],"198":[0,.68611,0,0,1.04166],"215":[.13333,.63333,0,0,.89444],"216":[.04861,.73472,0,0,.89444],"223":[0,.69444,0,0,.59722],"230":[0,.44444,0,0,.83055],"247":[.13333,.63333,0,0,.89444],"248":[.09722,.54167,0,0,.575],"305":[0,.44444,0,0,.31944],"338":[0,.68611,0,0,1.16944],"339":[0,.44444,0,0,.89444],"567":[.19444,.44444,0,0,.35139],"710":[0,.69444,0,0,.575],"711":[0,.63194,0,0,.575],"713":[0,.59611,0,0,.575],"714":[0,.69444,0,0,.575],"715":[0,.69444,0,0,.575],"728":[0,.69444,0,0,.575],"729":[0,.69444,0,0,.31944],"730":[0,.69444,0,0,.86944],"732":[0,.69444,0,0,.575],"733":[0,.69444,0,0,.575],"915":[0,.68611,0,0,.69166],"916":[0,.68611,0,0,.95833],"920":[0,.68611,0,0,.89444],"923":[0,.68611,0,0,.80555],"926":[0,.68611,0,0,.76666],"928":[0,.68611,0,0,.9],"931":[0,.68611,0,0,.83055],"933":[0,.68611,0,0,.89444],"934":[0,.68611,0,0,.83055],"936":[0,.68611,0,0,.89444],"937":[0,.68611,0,0,.83055],"8211":[0,.44444,.03194,0,.575],"8212":[0,.44444,.03194,0,1.14999],"8216":[0,.69444,0,0,.31944],"8217":[0,.69444,0,0,.31944],"8220":[0,.69444,0,0,.60278],"8221":[0,.69444,0,0,.60278],"8224":[.19444,.69444,0,0,.51111],"8225":[.19444,.69444,0,0,.51111],"8242":[0,.55556,0,0,.34444],"8407":[0,.72444,.15486,0,.575],"8463":[0,.69444,0,0,.66759],"8465":[0,.69444,0,0,.83055],"8467":[0,.69444,0,0,.47361],"8472":[.19444,.44444,0,0,.74027],"8476":[0,.69444,0,0,.83055],"8501":[0,.69444,0,0,.70277],"8592":[-.10889,.39111,0,0,1.14999],"8593":[.19444,.69444,0,0,.575],"8594":[-.10889,.39111,0,0,1.14999],"8595":[.19444,.69444,0,0,.575],"8596":[-.10889,.39111,0,0,1.14999],"8597":[.25,.75,0,0,.575],"8598":[.19444,.69444,0,0,1.14999],"8599":[.19444,.69444,0,0,1.14999],"8600":[.19444,.69444,0,0,1.14999],"8601":[.19444,.69444,0,0,1.14999],"8636":[-.10889,.39111,0,0,1.14999],"8637":[-.10889,.39111,0,0,1.14999],"8640":[-.10889,.39111,0,0,1.14999],"8641":[-.10889,.39111,0,0,1.14999],"8656":[-.10889,.39111,0,0,1.14999],"8657":[.19444,.69444,0,0,.70277],"8658":[-.10889,.39111,0,0,1.14999],"8659":[.19444,.69444,0,0,.70277],"8660":[-.10889,.39111,0,0,1.14999],"8661":[.25,.75,0,0,.70277],"8704":[0,.69444,0,0,.63889],"8706":[0,.69444,.06389,0,.62847],"8707":[0,.69444,0,0,.63889],"8709":[.05556,.75,0,0,.575],"8711":[0,.68611,0,0,.95833],"8712":[.08556,.58556,0,0,.76666],"8715":[.08556,.58556,0,0,.76666],"8722":[.13333,.63333,0,0,.89444],"8723":[.13333,.63333,0,0,.89444],"8725":[.25,.75,0,0,.575],"8726":[.25,.75,0,0,.575],"8727":[-.02778,.47222,0,0,.575],"8728":[-.02639,.47361,0,0,.575],"8729":[-.02639,.47361,0,0,.575],"8730":[.18,.82,0,0,.95833],"8733":[0,.44444,0,0,.89444],"8734":[0,.44444,0,0,1.14999],"8736":[0,.69224,0,0,.72222],"8739":[.25,.75,0,0,.31944],"8741":[.25,.75,0,0,.575],"8743":[0,.55556,0,0,.76666],"8744":[0,.55556,0,0,.76666],"8745":[0,.55556,0,0,.76666],"8746":[0,.55556,0,0,.76666],"8747":[.19444,.69444,.12778,0,.56875],"8764":[-.10889,.39111,0,0,.89444],"8768":[.19444,.69444,0,0,.31944],"8771":[.00222,.50222,0,0,.89444],"8776":[.02444,.52444,0,0,.89444],"8781":[.00222,.50222,0,0,.89444],"8801":[.00222,.50222,0,0,.89444],"8804":[.19667,.69667,0,0,.89444],"8805":[.19667,.69667,0,0,.89444],"8810":[.08556,.58556,0,0,1.14999],"8811":[.08556,.58556,0,0,1.14999],"8826":[.08556,.58556,0,0,.89444],"8827":[.08556,.58556,0,0,.89444],"8834":[.08556,.58556,0,0,.89444],"8835":[.08556,.58556,0,0,.89444],"8838":[.19667,.69667,0,0,.89444],"8839":[.19667,.69667,0,0,.89444],"8846":[0,.55556,0,0,.76666],"8849":[.19667,.69667,0,0,.89444],"8850":[.19667,.69667,0,0,.89444],"8851":[0,.55556,0,0,.76666],"8852":[0,.55556,0,0,.76666],"8853":[.13333,.63333,0,0,.89444],"8854":[.13333,.63333,0,0,.89444],"8855":[.13333,.63333,0,0,.89444],"8856":[.13333,.63333,0,0,.89444],"8857":[.13333,.63333,0,0,.89444],"8866":[0,.69444,0,0,.70277],"8867":[0,.69444,0,0,.70277],"8868":[0,.69444,0,0,.89444],"8869":[0,.69444,0,0,.89444],"8900":[-.02639,.47361,0,0,.575],"8901":[-.02639,.47361,0,0,.31944],"8902":[-.02778,.47222,0,0,.575],"8968":[.25,.75,0,0,.51111],"8969":[.25,.75,0,0,.51111],"8970":[.25,.75,0,0,.51111],"8971":[.25,.75,0,0,.51111],"8994":[-.13889,.36111,0,0,1.14999],"8995":[-.13889,.36111,0,0,1.14999],"9651":[.19444,.69444,0,0,1.02222],"9657":[-.02778,.47222,0,0,.575],"9661":[.19444,.69444,0,0,1.02222],"9667":[-.02778,.47222,0,0,.575],"9711":[.19444,.69444,0,0,1.14999],"9824":[.12963,.69444,0,0,.89444],"9825":[.12963,.69444,0,0,.89444],"9826":[.12963,.69444,0,0,.89444],"9827":[.12963,.69444,0,0,.89444],"9837":[0,.75,0,0,.44722],"9838":[.19444,.69444,0,0,.44722],"9839":[.19444,.69444,0,0,.44722],"10216":[.25,.75,0,0,.44722],"10217":[.25,.75,0,0,.44722],"10815":[0,.68611,0,0,.9],"10927":[.19667,.69667,0,0,.89444],"10928":[.19667,.69667,0,0,.89444],"57376":[.19444,.69444,0,0,0]},"Main-BoldItalic":{"33":[0,.69444,.11417,0,.38611],"34":[0,.69444,.07939,0,.62055],"35":[.19444,.69444,.06833,0,.94444],"37":[.05556,.75,.12861,0,.94444],"38":[0,.69444,.08528,0,.88555],"39":[0,.69444,.12945,0,.35555],"40":[.25,.75,.15806,0,.47333],"41":[.25,.75,.03306,0,.47333],"42":[0,.75,.14333,0,.59111],"43":[.10333,.60333,.03306,0,.88555],"44":[.19444,.14722,0,0,.35555],"45":[0,.44444,.02611,0,.41444],"46":[0,.14722,0,0,.35555],"47":[.25,.75,.15806,0,.59111],"48":[0,.64444,.13167,0,.59111],"49":[0,.64444,.13167,0,.59111],"50":[0,.64444,.13167,0,.59111],"51":[0,.64444,.13167,0,.59111],"52":[.19444,.64444,.13167,0,.59111],"53":[0,.64444,.13167,0,.59111],"54":[0,.64444,.13167,0,.59111],"55":[.19444,.64444,.13167,0,.59111],"56":[0,.64444,.13167,0,.59111],"57":[0,.64444,.13167,0,.59111],"58":[0,.44444,.06695,0,.35555],"59":[.19444,.44444,.06695,0,.35555],"61":[-.10889,.39111,.06833,0,.88555],"63":[0,.69444,.11472,0,.59111],"64":[0,.69444,.09208,0,.88555],"65":[0,.68611,0,0,.86555],"66":[0,.68611,.0992,0,.81666],"67":[0,.68611,.14208,0,.82666],"68":[0,.68611,.09062,0,.87555],"69":[0,.68611,.11431,0,.75666],"70":[0,.68611,.12903,0,.72722],"71":[0,.68611,.07347,0,.89527],"72":[0,.68611,.17208,0,.8961],"73":[0,.68611,.15681,0,.47166],"74":[0,.68611,.145,0,.61055],"75":[0,.68611,.14208,0,.89499],"76":[0,.68611,0,0,.69777],"77":[0,.68611,.17208,0,1.07277],"78":[0,.68611,.17208,0,.8961],"79":[0,.68611,.09062,0,.85499],"80":[0,.68611,.0992,0,.78721],"81":[.19444,.68611,.09062,0,.85499],"82":[0,.68611,.02559,0,.85944],"83":[0,.68611,.11264,0,.64999],"84":[0,.68611,.12903,0,.7961],"85":[0,.68611,.17208,0,.88083],"86":[0,.68611,.18625,0,.86555],"87":[0,.68611,.18625,0,1.15999],"88":[0,.68611,.15681,0,.86555],"89":[0,.68611,.19803,0,.86555],"90":[0,.68611,.14208,0,.70888],"91":[.25,.75,.1875,0,.35611],"93":[.25,.75,.09972,0,.35611],"94":[0,.69444,.06709,0,.59111],"95":[.31,.13444,.09811,0,.59111],"97":[0,.44444,.09426,0,.59111],"98":[0,.69444,.07861,0,.53222],"99":[0,.44444,.05222,0,.53222],"100":[0,.69444,.10861,0,.59111],"101":[0,.44444,.085,0,.53222],"102":[.19444,.69444,.21778,0,.4],"103":[.19444,.44444,.105,0,.53222],"104":[0,.69444,.09426,0,.59111],"105":[0,.69326,.11387,0,.35555],"106":[.19444,.69326,.1672,0,.35555],"107":[0,.69444,.11111,0,.53222],"108":[0,.69444,.10861,0,.29666],"109":[0,.44444,.09426,0,.94444],"110":[0,.44444,.09426,0,.64999],"111":[0,.44444,.07861,0,.59111],"112":[.19444,.44444,.07861,0,.59111],"113":[.19444,.44444,.105,0,.53222],"114":[0,.44444,.11111,0,.50167],"115":[0,.44444,.08167,0,.48694],"116":[0,.63492,.09639,0,.385],"117":[0,.44444,.09426,0,.62055],"118":[0,.44444,.11111,0,.53222],"119":[0,.44444,.11111,0,.76777],"120":[0,.44444,.12583,0,.56055],"121":[.19444,.44444,.105,0,.56166],"122":[0,.44444,.13889,0,.49055],"126":[.35,.34444,.11472,0,.59111],"163":[0,.69444,0,0,.86853],"168":[0,.69444,.11473,0,.59111],"176":[0,.69444,0,0,.94888],"184":[.17014,0,0,0,.53222],"198":[0,.68611,.11431,0,1.02277],"216":[.04861,.73472,.09062,0,.88555],"223":[.19444,.69444,.09736,0,.665],"230":[0,.44444,.085,0,.82666],"248":[.09722,.54167,.09458,0,.59111],"305":[0,.44444,.09426,0,.35555],"338":[0,.68611,.11431,0,1.14054],"339":[0,.44444,.085,0,.82666],"567":[.19444,.44444,.04611,0,.385],"710":[0,.69444,.06709,0,.59111],"711":[0,.63194,.08271,0,.59111],"713":[0,.59444,.10444,0,.59111],"714":[0,.69444,.08528,0,.59111],"715":[0,.69444,0,0,.59111],"728":[0,.69444,.10333,0,.59111],"729":[0,.69444,.12945,0,.35555],"730":[0,.69444,0,0,.94888],"732":[0,.69444,.11472,0,.59111],"733":[0,.69444,.11472,0,.59111],"915":[0,.68611,.12903,0,.69777],"916":[0,.68611,0,0,.94444],"920":[0,.68611,.09062,0,.88555],"923":[0,.68611,0,0,.80666],"926":[0,.68611,.15092,0,.76777],"928":[0,.68611,.17208,0,.8961],"931":[0,.68611,.11431,0,.82666],"933":[0,.68611,.10778,0,.88555],"934":[0,.68611,.05632,0,.82666],"936":[0,.68611,.10778,0,.88555],"937":[0,.68611,.0992,0,.82666],"8211":[0,.44444,.09811,0,.59111],"8212":[0,.44444,.09811,0,1.18221],"8216":[0,.69444,.12945,0,.35555],"8217":[0,.69444,.12945,0,.35555],"8220":[0,.69444,.16772,0,.62055],"8221":[0,.69444,.07939,0,.62055]},"Main-Italic":{"33":[0,.69444,.12417,0,.30667],"34":[0,.69444,.06961,0,.51444],"35":[.19444,.69444,.06616,0,.81777],"37":[.05556,.75,.13639,0,.81777],"38":[0,.69444,.09694,0,.76666],"39":[0,.69444,.12417,0,.30667],"40":[.25,.75,.16194,0,.40889],"41":[.25,.75,.03694,0,.40889],"42":[0,.75,.14917,0,.51111],"43":[.05667,.56167,.03694,0,.76666],"44":[.19444,.10556,0,0,.30667],"45":[0,.43056,.02826,0,.35778],"46":[0,.10556,0,0,.30667],"47":[.25,.75,.16194,0,.51111],"48":[0,.64444,.13556,0,.51111],"49":[0,.64444,.13556,0,.51111],"50":[0,.64444,.13556,0,.51111],"51":[0,.64444,.13556,0,.51111],"52":[.19444,.64444,.13556,0,.51111],"53":[0,.64444,.13556,0,.51111],"54":[0,.64444,.13556,0,.51111],"55":[.19444,.64444,.13556,0,.51111],"56":[0,.64444,.13556,0,.51111],"57":[0,.64444,.13556,0,.51111],"58":[0,.43056,.0582,0,.30667],"59":[.19444,.43056,.0582,0,.30667],"61":[-.13313,.36687,.06616,0,.76666],"63":[0,.69444,.1225,0,.51111],"64":[0,.69444,.09597,0,.76666],"65":[0,.68333,0,0,.74333],"66":[0,.68333,.10257,0,.70389],"67":[0,.68333,.14528,0,.71555],"68":[0,.68333,.09403,0,.755],"69":[0,.68333,.12028,0,.67833],"70":[0,.68333,.13305,0,.65277],"71":[0,.68333,.08722,0,.77361],"72":[0,.68333,.16389,0,.74333],"73":[0,.68333,.15806,0,.38555],"74":[0,.68333,.14028,0,.525],"75":[0,.68333,.14528,0,.76888],"76":[0,.68333,0,0,.62722],"77":[0,.68333,.16389,0,.89666],"78":[0,.68333,.16389,0,.74333],"79":[0,.68333,.09403,0,.76666],"80":[0,.68333,.10257,0,.67833],"81":[.19444,.68333,.09403,0,.76666],"82":[0,.68333,.03868,0,.72944],"83":[0,.68333,.11972,0,.56222],"84":[0,.68333,.13305,0,.71555],"85":[0,.68333,.16389,0,.74333],"86":[0,.68333,.18361,0,.74333],"87":[0,.68333,.18361,0,.99888],"88":[0,.68333,.15806,0,.74333],"89":[0,.68333,.19383,0,.74333],"90":[0,.68333,.14528,0,.61333],"91":[.25,.75,.1875,0,.30667],"93":[.25,.75,.10528,0,.30667],"94":[0,.69444,.06646,0,.51111],"95":[.31,.12056,.09208,0,.51111],"97":[0,.43056,.07671,0,.51111],"98":[0,.69444,.06312,0,.46],"99":[0,.43056,.05653,0,.46],"100":[0,.69444,.10333,0,.51111],"101":[0,.43056,.07514,0,.46],"102":[.19444,.69444,.21194,0,.30667],"103":[.19444,.43056,.08847,0,.46],"104":[0,.69444,.07671,0,.51111],"105":[0,.65536,.1019,0,.30667],"106":[.19444,.65536,.14467,0,.30667],"107":[0,.69444,.10764,0,.46],"108":[0,.69444,.10333,0,.25555],"109":[0,.43056,.07671,0,.81777],"110":[0,.43056,.07671,0,.56222],"111":[0,.43056,.06312,0,.51111],"112":[.19444,.43056,.06312,0,.51111],"113":[.19444,.43056,.08847,0,.46],"114":[0,.43056,.10764,0,.42166],"115":[0,.43056,.08208,0,.40889],"116":[0,.61508,.09486,0,.33222],"117":[0,.43056,.07671,0,.53666],"118":[0,.43056,.10764,0,.46],"119":[0,.43056,.10764,0,.66444],"120":[0,.43056,.12042,0,.46389],"121":[.19444,.43056,.08847,0,.48555],"122":[0,.43056,.12292,0,.40889],"126":[.35,.31786,.11585,0,.51111],"163":[0,.69444,0,0,.76909],"168":[0,.66786,.10474,0,.51111],"176":[0,.69444,0,0,.83129],"184":[.17014,0,0,0,.46],"198":[0,.68333,.12028,0,.88277],"216":[.04861,.73194,.09403,0,.76666],"223":[.19444,.69444,.10514,0,.53666],"230":[0,.43056,.07514,0,.71555],"248":[.09722,.52778,.09194,0,.51111],"305":[0,.43056,0,.02778,.32246],"338":[0,.68333,.12028,0,.98499],"339":[0,.43056,.07514,0,.71555],"567":[.19444,.43056,0,.08334,.38403],"710":[0,.69444,.06646,0,.51111],"711":[0,.62847,.08295,0,.51111],"713":[0,.56167,.10333,0,.51111],"714":[0,.69444,.09694,0,.51111],"715":[0,.69444,0,0,.51111],"728":[0,.69444,.10806,0,.51111],"729":[0,.66786,.11752,0,.30667],"730":[0,.69444,0,0,.83129],"732":[0,.66786,.11585,0,.51111],"733":[0,.69444,.1225,0,.51111],"915":[0,.68333,.13305,0,.62722],"916":[0,.68333,0,0,.81777],"920":[0,.68333,.09403,0,.76666],"923":[0,.68333,0,0,.69222],"926":[0,.68333,.15294,0,.66444],"928":[0,.68333,.16389,0,.74333],"931":[0,.68333,.12028,0,.71555],"933":[0,.68333,.11111,0,.76666],"934":[0,.68333,.05986,0,.71555],"936":[0,.68333,.11111,0,.76666],"937":[0,.68333,.10257,0,.71555],"8211":[0,.43056,.09208,0,.51111],"8212":[0,.43056,.09208,0,1.02222],"8216":[0,.69444,.12417,0,.30667],"8217":[0,.69444,.12417,0,.30667],"8220":[0,.69444,.1685,0,.51444],"8221":[0,.69444,.06961,0,.51444],"8463":[0,.68889,0,0,.54028]},"Main-Regular":{"32":[0,0,0,0,.25],"33":[0,.69444,0,0,.27778],"34":[0,.69444,0,0,.5],"35":[.19444,.69444,0,0,.83334],"36":[.05556,.75,0,0,.5],"37":[.05556,.75,0,0,.83334],"38":[0,.69444,0,0,.77778],"39":[0,.69444,0,0,.27778],"40":[.25,.75,0,0,.38889],"41":[.25,.75,0,0,.38889],"42":[0,.75,0,0,.5],"43":[.08333,.58333,0,0,.77778],"44":[.19444,.10556,0,0,.27778],"45":[0,.43056,0,0,.33333],"46":[0,.10556,0,0,.27778],"47":[.25,.75,0,0,.5],"48":[0,.64444,0,0,.5],"49":[0,.64444,0,0,.5],"50":[0,.64444,0,0,.5],"51":[0,.64444,0,0,.5],"52":[0,.64444,0,0,.5],"53":[0,.64444,0,0,.5],"54":[0,.64444,0,0,.5],"55":[0,.64444,0,0,.5],"56":[0,.64444,0,0,.5],"57":[0,.64444,0,0,.5],"58":[0,.43056,0,0,.27778],"59":[.19444,.43056,0,0,.27778],"60":[.0391,.5391,0,0,.77778],"61":[-.13313,.36687,0,0,.77778],"62":[.0391,.5391,0,0,.77778],"63":[0,.69444,0,0,.47222],"64":[0,.69444,0,0,.77778],"65":[0,.68333,0,0,.75],"66":[0,.68333,0,0,.70834],"67":[0,.68333,0,0,.72222],"68":[0,.68333,0,0,.76389],"69":[0,.68333,0,0,.68056],"70":[0,.68333,0,0,.65278],"71":[0,.68333,0,0,.78472],"72":[0,.68333,0,0,.75],"73":[0,.68333,0,0,.36111],"74":[0,.68333,0,0,.51389],"75":[0,.68333,0,0,.77778],"76":[0,.68333,0,0,.625],"77":[0,.68333,0,0,.91667],"78":[0,.68333,0,0,.75],"79":[0,.68333,0,0,.77778],"80":[0,.68333,0,0,.68056],"81":[.19444,.68333,0,0,.77778],"82":[0,.68333,0,0,.73611],"83":[0,.68333,0,0,.55556],"84":[0,.68333,0,0,.72222],"85":[0,.68333,0,0,.75],"86":[0,.68333,.01389,0,.75],"87":[0,.68333,.01389,0,1.02778],"88":[0,.68333,0,0,.75],"89":[0,.68333,.025,0,.75],"90":[0,.68333,0,0,.61111],"91":[.25,.75,0,0,.27778],"92":[.25,.75,0,0,.5],"93":[.25,.75,0,0,.27778],"94":[0,.69444,0,0,.5],"95":[.31,.12056,.02778,0,.5],"97":[0,.43056,0,0,.5],"98":[0,.69444,0,0,.55556],"99":[0,.43056,0,0,.44445],"100":[0,.69444,0,0,.55556],"101":[0,.43056,0,0,.44445],"102":[0,.69444,.07778,0,.30556],"103":[.19444,.43056,.01389,0,.5],"104":[0,.69444,0,0,.55556],"105":[0,.66786,0,0,.27778],"106":[.19444,.66786,0,0,.30556],"107":[0,.69444,0,0,.52778],"108":[0,.69444,0,0,.27778],"109":[0,.43056,0,0,.83334],"110":[0,.43056,0,0,.55556],"111":[0,.43056,0,0,.5],"112":[.19444,.43056,0,0,.55556],"113":[.19444,.43056,0,0,.52778],"114":[0,.43056,0,0,.39167],"115":[0,.43056,0,0,.39445],"116":[0,.61508,0,0,.38889],"117":[0,.43056,0,0,.55556],"118":[0,.43056,.01389,0,.52778],"119":[0,.43056,.01389,0,.72222],"120":[0,.43056,0,0,.52778],"121":[.19444,.43056,.01389,0,.52778],"122":[0,.43056,0,0,.44445],"123":[.25,.75,0,0,.5],"124":[.25,.75,0,0,.27778],"125":[.25,.75,0,0,.5],"126":[.35,.31786,0,0,.5],"160":[0,0,0,0,.25],"167":[.19444,.69444,0,0,.44445],"168":[0,.66786,0,0,.5],"172":[0,.43056,0,0,.66667],"176":[0,.69444,0,0,.75],"177":[.08333,.58333,0,0,.77778],"182":[.19444,.69444,0,0,.61111],"184":[.17014,0,0,0,.44445],"198":[0,.68333,0,0,.90278],"215":[.08333,.58333,0,0,.77778],"216":[.04861,.73194,0,0,.77778],"223":[0,.69444,0,0,.5],"230":[0,.43056,0,0,.72222],"247":[.08333,.58333,0,0,.77778],"248":[.09722,.52778,0,0,.5],"305":[0,.43056,0,0,.27778],"338":[0,.68333,0,0,1.01389],"339":[0,.43056,0,0,.77778],"567":[.19444,.43056,0,0,.30556],"710":[0,.69444,0,0,.5],"711":[0,.62847,0,0,.5],"713":[0,.56778,0,0,.5],"714":[0,.69444,0,0,.5],"715":[0,.69444,0,0,.5],"728":[0,.69444,0,0,.5],"729":[0,.66786,0,0,.27778],"730":[0,.69444,0,0,.75],"732":[0,.66786,0,0,.5],"733":[0,.69444,0,0,.5],"915":[0,.68333,0,0,.625],"916":[0,.68333,0,0,.83334],"920":[0,.68333,0,0,.77778],"923":[0,.68333,0,0,.69445],"926":[0,.68333,0,0,.66667],"928":[0,.68333,0,0,.75],"931":[0,.68333,0,0,.72222],"933":[0,.68333,0,0,.77778],"934":[0,.68333,0,0,.72222],"936":[0,.68333,0,0,.77778],"937":[0,.68333,0,0,.72222],"8211":[0,.43056,.02778,0,.5],"8212":[0,.43056,.02778,0,1],"8216":[0,.69444,0,0,.27778],"8217":[0,.69444,0,0,.27778],"8220":[0,.69444,0,0,.5],"8221":[0,.69444,0,0,.5],"8224":[.19444,.69444,0,0,.44445],"8225":[.19444,.69444,0,0,.44445],"8230":[0,.12,0,0,1.172],"8242":[0,.55556,0,0,.275],"8407":[0,.71444,.15382,0,.5],"8463":[0,.68889,0,0,.54028],"8465":[0,.69444,0,0,.72222],"8467":[0,.69444,0,.11111,.41667],"8472":[.19444,.43056,0,.11111,.63646],"8476":[0,.69444,0,0,.72222],"8501":[0,.69444,0,0,.61111],"8592":[-.13313,.36687,0,0,1],"8593":[.19444,.69444,0,0,.5],"8594":[-.13313,.36687,0,0,1],"8595":[.19444,.69444,0,0,.5],"8596":[-.13313,.36687,0,0,1],"8597":[.25,.75,0,0,.5],"8598":[.19444,.69444,0,0,1],"8599":[.19444,.69444,0,0,1],"8600":[.19444,.69444,0,0,1],"8601":[.19444,.69444,0,0,1],"8614":[.011,.511,0,0,1],"8617":[.011,.511,0,0,1.126],"8618":[.011,.511,0,0,1.126],"8636":[-.13313,.36687,0,0,1],"8637":[-.13313,.36687,0,0,1],"8640":[-.13313,.36687,0,0,1],"8641":[-.13313,.36687,0,0,1],"8652":[.011,.671,0,0,1],"8656":[-.13313,.36687,0,0,1],"8657":[.19444,.69444,0,0,.61111],"8658":[-.13313,.36687,0,0,1],"8659":[.19444,.69444,0,0,.61111],"8660":[-.13313,.36687,0,0,1],"8661":[.25,.75,0,0,.61111],"8704":[0,.69444,0,0,.55556],"8706":[0,.69444,.05556,.08334,.5309],"8707":[0,.69444,0,0,.55556],"8709":[.05556,.75,0,0,.5],"8711":[0,.68333,0,0,.83334],"8712":[.0391,.5391,0,0,.66667],"8715":[.0391,.5391,0,0,.66667],"8722":[.08333,.58333,0,0,.77778],"8723":[.08333,.58333,0,0,.77778],"8725":[.25,.75,0,0,.5],"8726":[.25,.75,0,0,.5],"8727":[-.03472,.46528,0,0,.5],"8728":[-.05555,.44445,0,0,.5],"8729":[-.05555,.44445,0,0,.5],"8730":[.2,.8,0,0,.83334],"8733":[0,.43056,0,0,.77778],"8734":[0,.43056,0,0,1],"8736":[0,.69224,0,0,.72222],"8739":[.25,.75,0,0,.27778],"8741":[.25,.75,0,0,.5],"8743":[0,.55556,0,0,.66667],"8744":[0,.55556,0,0,.66667],"8745":[0,.55556,0,0,.66667],"8746":[0,.55556,0,0,.66667],"8747":[.19444,.69444,.11111,0,.41667],"8764":[-.13313,.36687,0,0,.77778],"8768":[.19444,.69444,0,0,.27778],"8771":[-.03625,.46375,0,0,.77778],"8773":[-.022,.589,0,0,1],"8776":[-.01688,.48312,0,0,.77778],"8781":[-.03625,.46375,0,0,.77778],"8784":[-.133,.67,0,0,.778],"8801":[-.03625,.46375,0,0,.77778],"8804":[.13597,.63597,0,0,.77778],"8805":[.13597,.63597,0,0,.77778],"8810":[.0391,.5391,0,0,1],"8811":[.0391,.5391,0,0,1],"8826":[.0391,.5391,0,0,.77778],"8827":[.0391,.5391,0,0,.77778],"8834":[.0391,.5391,0,0,.77778],"8835":[.0391,.5391,0,0,.77778],"8838":[.13597,.63597,0,0,.77778],"8839":[.13597,.63597,0,0,.77778],"8846":[0,.55556,0,0,.66667],"8849":[.13597,.63597,0,0,.77778],"8850":[.13597,.63597,0,0,.77778],"8851":[0,.55556,0,0,.66667],"8852":[0,.55556,0,0,.66667],"8853":[.08333,.58333,0,0,.77778],"8854":[.08333,.58333,0,0,.77778],"8855":[.08333,.58333,0,0,.77778],"8856":[.08333,.58333,0,0,.77778],"8857":[.08333,.58333,0,0,.77778],"8866":[0,.69444,0,0,.61111],"8867":[0,.69444,0,0,.61111],"8868":[0,.69444,0,0,.77778],"8869":[0,.69444,0,0,.77778],"8872":[.249,.75,0,0,.867],"8900":[-.05555,.44445,0,0,.5],"8901":[-.05555,.44445,0,0,.27778],"8902":[-.03472,.46528,0,0,.5],"8904":[.005,.505,0,0,.9],"8942":[.03,.9,0,0,.278],"8943":[-.19,.31,0,0,1.172],"8945":[-.1,.82,0,0,1.282],"8968":[.25,.75,0,0,.44445],"8969":[.25,.75,0,0,.44445],"8970":[.25,.75,0,0,.44445],"8971":[.25,.75,0,0,.44445],"8994":[-.14236,.35764,0,0,1],"8995":[-.14236,.35764,0,0,1],"9136":[.244,.744,0,0,.412],"9137":[.244,.744,0,0,.412],"9651":[.19444,.69444,0,0,.88889],"9657":[-.03472,.46528,0,0,.5],"9661":[.19444,.69444,0,0,.88889],"9667":[-.03472,.46528,0,0,.5],"9711":[.19444,.69444,0,0,1],"9824":[.12963,.69444,0,0,.77778],"9825":[.12963,.69444,0,0,.77778],"9826":[.12963,.69444,0,0,.77778],"9827":[.12963,.69444,0,0,.77778],"9837":[0,.75,0,0,.38889],"9838":[.19444,.69444,0,0,.38889],"9839":[.19444,.69444,0,0,.38889],"10216":[.25,.75,0,0,.38889],"10217":[.25,.75,0,0,.38889],"10222":[.244,.744,0,0,.412],"10223":[.244,.744,0,0,.412],"10229":[.011,.511,0,0,1.609],"10230":[.011,.511,0,0,1.638],"10231":[.011,.511,0,0,1.859],"10232":[.024,.525,0,0,1.609],"10233":[.024,.525,0,0,1.638],"10234":[.024,.525,0,0,1.858],"10236":[.011,.511,0,0,1.638],"10815":[0,.68333,0,0,.75],"10927":[.13597,.63597,0,0,.77778],"10928":[.13597,.63597,0,0,.77778],"57376":[.19444,.69444,0,0,0]},"Math-BoldItalic":{"65":[0,.68611,0,0,.86944],"66":[0,.68611,.04835,0,.8664],"67":[0,.68611,.06979,0,.81694],"68":[0,.68611,.03194,0,.93812],"69":[0,.68611,.05451,0,.81007],"70":[0,.68611,.15972,0,.68889],"71":[0,.68611,0,0,.88673],"72":[0,.68611,.08229,0,.98229],"73":[0,.68611,.07778,0,.51111],"74":[0,.68611,.10069,0,.63125],"75":[0,.68611,.06979,0,.97118],"76":[0,.68611,0,0,.75555],"77":[0,.68611,.11424,0,1.14201],"78":[0,.68611,.11424,0,.95034],"79":[0,.68611,.03194,0,.83666],"80":[0,.68611,.15972,0,.72309],"81":[.19444,.68611,0,0,.86861],"82":[0,.68611,.00421,0,.87235],"83":[0,.68611,.05382,0,.69271],"84":[0,.68611,.15972,0,.63663],"85":[0,.68611,.11424,0,.80027],"86":[0,.68611,.25555,0,.67778],"87":[0,.68611,.15972,0,1.09305],"88":[0,.68611,.07778,0,.94722],"89":[0,.68611,.25555,0,.67458],"90":[0,.68611,.06979,0,.77257],"97":[0,.44444,0,0,.63287],"98":[0,.69444,0,0,.52083],"99":[0,.44444,0,0,.51342],"100":[0,.69444,0,0,.60972],"101":[0,.44444,0,0,.55361],"102":[.19444,.69444,.11042,0,.56806],"103":[.19444,.44444,.03704,0,.5449],"104":[0,.69444,0,0,.66759],"105":[0,.69326,0,0,.4048],"106":[.19444,.69326,.0622,0,.47083],"107":[0,.69444,.01852,0,.6037],"108":[0,.69444,.0088,0,.34815],"109":[0,.44444,0,0,1.0324],"110":[0,.44444,0,0,.71296],"111":[0,.44444,0,0,.58472],"112":[.19444,.44444,0,0,.60092],"113":[.19444,.44444,.03704,0,.54213],"114":[0,.44444,.03194,0,.5287],"115":[0,.44444,0,0,.53125],"116":[0,.63492,0,0,.41528],"117":[0,.44444,0,0,.68102],"118":[0,.44444,.03704,0,.56666],"119":[0,.44444,.02778,0,.83148],"120":[0,.44444,0,0,.65903],"121":[.19444,.44444,.03704,0,.59028],"122":[0,.44444,.04213,0,.55509],"915":[0,.68611,.15972,0,.65694],"916":[0,.68611,0,0,.95833],"920":[0,.68611,.03194,0,.86722],"923":[0,.68611,0,0,.80555],"926":[0,.68611,.07458,0,.84125],"928":[0,.68611,.08229,0,.98229],"931":[0,.68611,.05451,0,.88507],"933":[0,.68611,.15972,0,.67083],"934":[0,.68611,0,0,.76666],"936":[0,.68611,.11653,0,.71402],"937":[0,.68611,.04835,0,.8789],"945":[0,.44444,0,0,.76064],"946":[.19444,.69444,.03403,0,.65972],"947":[.19444,.44444,.06389,0,.59003],"948":[0,.69444,.03819,0,.52222],"949":[0,.44444,0,0,.52882],"950":[.19444,.69444,.06215,0,.50833],"951":[.19444,.44444,.03704,0,.6],"952":[0,.69444,.03194,0,.5618],"953":[0,.44444,0,0,.41204],"954":[0,.44444,0,0,.66759],"955":[0,.69444,0,0,.67083],"956":[.19444,.44444,0,0,.70787],"957":[0,.44444,.06898,0,.57685],"958":[.19444,.69444,.03021,0,.50833],"959":[0,.44444,0,0,.58472],"960":[0,.44444,.03704,0,.68241],"961":[.19444,.44444,0,0,.6118],"962":[.09722,.44444,.07917,0,.42361],"963":[0,.44444,.03704,0,.68588],"964":[0,.44444,.13472,0,.52083],"965":[0,.44444,.03704,0,.63055],"966":[.19444,.44444,0,0,.74722],"967":[.19444,.44444,0,0,.71805],"968":[.19444,.69444,.03704,0,.75833],"969":[0,.44444,.03704,0,.71782],"977":[0,.69444,0,0,.69155],"981":[.19444,.69444,0,0,.7125],"982":[0,.44444,.03194,0,.975],"1009":[.19444,.44444,0,0,.6118],"1013":[0,.44444,0,0,.48333]},"Math-Italic":{"65":[0,.68333,0,.13889,.75],"66":[0,.68333,.05017,.08334,.75851],"67":[0,.68333,.07153,.08334,.71472],"68":[0,.68333,.02778,.05556,.82792],"69":[0,.68333,.05764,.08334,.7382],"70":[0,.68333,.13889,.08334,.64306],"71":[0,.68333,0,.08334,.78625],"72":[0,.68333,.08125,.05556,.83125],"73":[0,.68333,.07847,.11111,.43958],"74":[0,.68333,.09618,.16667,.55451],"75":[0,.68333,.07153,.05556,.84931],"76":[0,.68333,0,.02778,.68056],"77":[0,.68333,.10903,.08334,.97014],"78":[0,.68333,.10903,.08334,.80347],"79":[0,.68333,.02778,.08334,.76278],"80":[0,.68333,.13889,.08334,.64201],"81":[.19444,.68333,0,.08334,.79056],"82":[0,.68333,.00773,.08334,.75929],"83":[0,.68333,.05764,.08334,.6132],"84":[0,.68333,.13889,.08334,.58438],"85":[0,.68333,.10903,.02778,.68278],"86":[0,.68333,.22222,0,.58333],"87":[0,.68333,.13889,0,.94445],"88":[0,.68333,.07847,.08334,.82847],"89":[0,.68333,.22222,0,.58056],"90":[0,.68333,.07153,.08334,.68264],"97":[0,.43056,0,0,.52859],"98":[0,.69444,0,0,.42917],"99":[0,.43056,0,.05556,.43276],"100":[0,.69444,0,.16667,.52049],"101":[0,.43056,0,.05556,.46563],"102":[.19444,.69444,.10764,.16667,.48959],"103":[.19444,.43056,.03588,.02778,.47697],"104":[0,.69444,0,0,.57616],"105":[0,.65952,0,0,.34451],"106":[.19444,.65952,.05724,0,.41181],"107":[0,.69444,.03148,0,.5206],"108":[0,.69444,.01968,.08334,.29838],"109":[0,.43056,0,0,.87801],"110":[0,.43056,0,0,.60023],"111":[0,.43056,0,.05556,.48472],"112":[.19444,.43056,0,.08334,.50313],"113":[.19444,.43056,.03588,.08334,.44641],"114":[0,.43056,.02778,.05556,.45116],"115":[0,.43056,0,.05556,.46875],"116":[0,.61508,0,.08334,.36111],"117":[0,.43056,0,.02778,.57246],"118":[0,.43056,.03588,.02778,.48472],"119":[0,.43056,.02691,.08334,.71592],"120":[0,.43056,0,.02778,.57153],"121":[.19444,.43056,.03588,.05556,.49028],"122":[0,.43056,.04398,.05556,.46505],"915":[0,.68333,.13889,.08334,.61528],"916":[0,.68333,0,.16667,.83334],"920":[0,.68333,.02778,.08334,.76278],"923":[0,.68333,0,.16667,.69445],"926":[0,.68333,.07569,.08334,.74236],"928":[0,.68333,.08125,.05556,.83125],"931":[0,.68333,.05764,.08334,.77986],"933":[0,.68333,.13889,.05556,.58333],"934":[0,.68333,0,.08334,.66667],"936":[0,.68333,.11,.05556,.61222],"937":[0,.68333,.05017,.08334,.7724],"945":[0,.43056,.0037,.02778,.6397],"946":[.19444,.69444,.05278,.08334,.56563],"947":[.19444,.43056,.05556,0,.51773],"948":[0,.69444,.03785,.05556,.44444],"949":[0,.43056,0,.08334,.46632],"950":[.19444,.69444,.07378,.08334,.4375],"951":[.19444,.43056,.03588,.05556,.49653],"952":[0,.69444,.02778,.08334,.46944],"953":[0,.43056,0,.05556,.35394],"954":[0,.43056,0,0,.57616],"955":[0,.69444,0,0,.58334],"956":[.19444,.43056,0,.02778,.60255],"957":[0,.43056,.06366,.02778,.49398],"958":[.19444,.69444,.04601,.11111,.4375],"959":[0,.43056,0,.05556,.48472],"960":[0,.43056,.03588,0,.57003],"961":[.19444,.43056,0,.08334,.51702],"962":[.09722,.43056,.07986,.08334,.36285],"963":[0,.43056,.03588,0,.57141],"964":[0,.43056,.1132,.02778,.43715],"965":[0,.43056,.03588,.02778,.54028],"966":[.19444,.43056,0,.08334,.65417],"967":[.19444,.43056,0,.05556,.62569],"968":[.19444,.69444,.03588,.11111,.65139],"969":[0,.43056,.03588,0,.62245],"977":[0,.69444,0,.08334,.59144],"981":[.19444,.69444,0,.08334,.59583],"982":[0,.43056,.02778,0,.82813],"1009":[.19444,.43056,0,.08334,.51702],"1013":[0,.43056,0,.05556,.4059]},"Math-Regular":{"65":[0,.68333,0,.13889,.75],"66":[0,.68333,.05017,.08334,.75851],"67":[0,.68333,.07153,.08334,.71472],"68":[0,.68333,.02778,.05556,.82792],"69":[0,.68333,.05764,.08334,.7382],"70":[0,.68333,.13889,.08334,.64306],"71":[0,.68333,0,.08334,.78625],"72":[0,.68333,.08125,.05556,.83125],"73":[0,.68333,.07847,.11111,.43958],"74":[0,.68333,.09618,.16667,.55451],"75":[0,.68333,.07153,.05556,.84931],"76":[0,.68333,0,.02778,.68056],"77":[0,.68333,.10903,.08334,.97014],"78":[0,.68333,.10903,.08334,.80347],"79":[0,.68333,.02778,.08334,.76278],"80":[0,.68333,.13889,.08334,.64201],"81":[.19444,.68333,0,.08334,.79056],"82":[0,.68333,.00773,.08334,.75929],"83":[0,.68333,.05764,.08334,.6132],"84":[0,.68333,.13889,.08334,.58438],"85":[0,.68333,.10903,.02778,.68278],"86":[0,.68333,.22222,0,.58333],"87":[0,.68333,.13889,0,.94445],"88":[0,.68333,.07847,.08334,.82847],"89":[0,.68333,.22222,0,.58056],"90":[0,.68333,.07153,.08334,.68264],"97":[0,.43056,0,0,.52859],"98":[0,.69444,0,0,.42917],"99":[0,.43056,0,.05556,.43276],"100":[0,.69444,0,.16667,.52049],"101":[0,.43056,0,.05556,.46563],"102":[.19444,.69444,.10764,.16667,.48959],"103":[.19444,.43056,.03588,.02778,.47697],"104":[0,.69444,0,0,.57616],"105":[0,.65952,0,0,.34451],"106":[.19444,.65952,.05724,0,.41181],"107":[0,.69444,.03148,0,.5206],"108":[0,.69444,.01968,.08334,.29838],"109":[0,.43056,0,0,.87801],"110":[0,.43056,0,0,.60023],"111":[0,.43056,0,.05556,.48472],"112":[.19444,.43056,0,.08334,.50313],"113":[.19444,.43056,.03588,.08334,.44641],"114":[0,.43056,.02778,.05556,.45116],"115":[0,.43056,0,.05556,.46875],"116":[0,.61508,0,.08334,.36111],"117":[0,.43056,0,.02778,.57246],"118":[0,.43056,.03588,.02778,.48472],"119":[0,.43056,.02691,.08334,.71592],"120":[0,.43056,0,.02778,.57153],"121":[.19444,.43056,.03588,.05556,.49028],"122":[0,.43056,.04398,.05556,.46505],"915":[0,.68333,.13889,.08334,.61528],"916":[0,.68333,0,.16667,.83334],"920":[0,.68333,.02778,.08334,.76278],"923":[0,.68333,0,.16667,.69445],"926":[0,.68333,.07569,.08334,.74236],"928":[0,.68333,.08125,.05556,.83125],"931":[0,.68333,.05764,.08334,.77986],"933":[0,.68333,.13889,.05556,.58333],"934":[0,.68333,0,.08334,.66667],"936":[0,.68333,.11,.05556,.61222],"937":[0,.68333,.05017,.08334,.7724],"945":[0,.43056,.0037,.02778,.6397],"946":[.19444,.69444,.05278,.08334,.56563],"947":[.19444,.43056,.05556,0,.51773],"948":[0,.69444,.03785,.05556,.44444],"949":[0,.43056,0,.08334,.46632],"950":[.19444,.69444,.07378,.08334,.4375],"951":[.19444,.43056,.03588,.05556,.49653],"952":[0,.69444,.02778,.08334,.46944],"953":[0,.43056,0,.05556,.35394],"954":[0,.43056,0,0,.57616],"955":[0,.69444,0,0,.58334],"956":[.19444,.43056,0,.02778,.60255],"957":[0,.43056,.06366,.02778,.49398],"958":[.19444,.69444,.04601,.11111,.4375],"959":[0,.43056,0,.05556,.48472],"960":[0,.43056,.03588,0,.57003],"961":[.19444,.43056,0,.08334,.51702],"962":[.09722,.43056,.07986,.08334,.36285],"963":[0,.43056,.03588,0,.57141],"964":[0,.43056,.1132,.02778,.43715],"965":[0,.43056,.03588,.02778,.54028],"966":[.19444,.43056,0,.08334,.65417],"967":[.19444,.43056,0,.05556,.62569],"968":[.19444,.69444,.03588,.11111,.65139],"969":[0,.43056,.03588,0,.62245],"977":[0,.69444,0,.08334,.59144],"981":[.19444,.69444,0,.08334,.59583],"982":[0,.43056,.02778,0,.82813],"1009":[.19444,.43056,0,.08334,.51702],"1013":[0,.43056,0,.05556,.4059]},"SansSerif-Bold":{"33":[0,.69444,0,0,.36667],"34":[0,.69444,0,0,.55834],"35":[.19444,.69444,0,0,.91667],"36":[.05556,.75,0,0,.55],"37":[.05556,.75,0,0,1.02912],"38":[0,.69444,0,0,.83056],"39":[0,.69444,0,0,.30556],"40":[.25,.75,0,0,.42778],"41":[.25,.75,0,0,.42778],"42":[0,.75,0,0,.55],"43":[.11667,.61667,0,0,.85556],"44":[.10556,.13056,0,0,.30556],"45":[0,.45833,0,0,.36667],"46":[0,.13056,0,0,.30556],"47":[.25,.75,0,0,.55],"48":[0,.69444,0,0,.55],"49":[0,.69444,0,0,.55],"50":[0,.69444,0,0,.55],"51":[0,.69444,0,0,.55],"52":[0,.69444,0,0,.55],"53":[0,.69444,0,0,.55],"54":[0,.69444,0,0,.55],"55":[0,.69444,0,0,.55],"56":[0,.69444,0,0,.55],"57":[0,.69444,0,0,.55],"58":[0,.45833,0,0,.30556],"59":[.10556,.45833,0,0,.30556],"61":[-.09375,.40625,0,0,.85556],"63":[0,.69444,0,0,.51945],"64":[0,.69444,0,0,.73334],"65":[0,.69444,0,0,.73334],"66":[0,.69444,0,0,.73334],"67":[0,.69444,0,0,.70278],"68":[0,.69444,0,0,.79445],"69":[0,.69444,0,0,.64167],"70":[0,.69444,0,0,.61111],"71":[0,.69444,0,0,.73334],"72":[0,.69444,0,0,.79445],"73":[0,.69444,0,0,.33056],"74":[0,.69444,0,0,.51945],"75":[0,.69444,0,0,.76389],"76":[0,.69444,0,0,.58056],"77":[0,.69444,0,0,.97778],"78":[0,.69444,0,0,.79445],"79":[0,.69444,0,0,.79445],"80":[0,.69444,0,0,.70278],"81":[.10556,.69444,0,0,.79445],"82":[0,.69444,0,0,.70278],"83":[0,.69444,0,0,.61111],"84":[0,.69444,0,0,.73334],"85":[0,.69444,0,0,.76389],"86":[0,.69444,.01528,0,.73334],"87":[0,.69444,.01528,0,1.03889],"88":[0,.69444,0,0,.73334],"89":[0,.69444,.0275,0,.73334],"90":[0,.69444,0,0,.67223],"91":[.25,.75,0,0,.34306],"93":[.25,.75,0,0,.34306],"94":[0,.69444,0,0,.55],"95":[.35,.10833,.03056,0,.55],"97":[0,.45833,0,0,.525],"98":[0,.69444,0,0,.56111],"99":[0,.45833,0,0,.48889],"100":[0,.69444,0,0,.56111],"101":[0,.45833,0,0,.51111],"102":[0,.69444,.07639,0,.33611],"103":[.19444,.45833,.01528,0,.55],"104":[0,.69444,0,0,.56111],"105":[0,.69444,0,0,.25556],"106":[.19444,.69444,0,0,.28611],"107":[0,.69444,0,0,.53056],"108":[0,.69444,0,0,.25556],"109":[0,.45833,0,0,.86667],"110":[0,.45833,0,0,.56111],"111":[0,.45833,0,0,.55],"112":[.19444,.45833,0,0,.56111],"113":[.19444,.45833,0,0,.56111],"114":[0,.45833,.01528,0,.37222],"115":[0,.45833,0,0,.42167],"116":[0,.58929,0,0,.40417],"117":[0,.45833,0,0,.56111],"118":[0,.45833,.01528,0,.5],"119":[0,.45833,.01528,0,.74445],"120":[0,.45833,0,0,.5],"121":[.19444,.45833,.01528,0,.5],"122":[0,.45833,0,0,.47639],"126":[.35,.34444,0,0,.55],"168":[0,.69444,0,0,.55],"176":[0,.69444,0,0,.73334],"180":[0,.69444,0,0,.55],"184":[.17014,0,0,0,.48889],"305":[0,.45833,0,0,.25556],"567":[.19444,.45833,0,0,.28611],"710":[0,.69444,0,0,.55],"711":[0,.63542,0,0,.55],"713":[0,.63778,0,0,.55],"728":[0,.69444,0,0,.55],"729":[0,.69444,0,0,.30556],"730":[0,.69444,0,0,.73334],"732":[0,.69444,0,0,.55],"733":[0,.69444,0,0,.55],"915":[0,.69444,0,0,.58056],"916":[0,.69444,0,0,.91667],"920":[0,.69444,0,0,.85556],"923":[0,.69444,0,0,.67223],"926":[0,.69444,0,0,.73334],"928":[0,.69444,0,0,.79445],"931":[0,.69444,0,0,.79445],"933":[0,.69444,0,0,.85556],"934":[0,.69444,0,0,.79445],"936":[0,.69444,0,0,.85556],"937":[0,.69444,0,0,.79445],"8211":[0,.45833,.03056,0,.55],"8212":[0,.45833,.03056,0,1.10001],"8216":[0,.69444,0,0,.30556],"8217":[0,.69444,0,0,.30556],"8220":[0,.69444,0,0,.55834],"8221":[0,.69444,0,0,.55834]},"SansSerif-Italic":{"33":[0,.69444,.05733,0,.31945],"34":[0,.69444,.00316,0,.5],"35":[.19444,.69444,.05087,0,.83334],"36":[.05556,.75,.11156,0,.5],"37":[.05556,.75,.03126,0,.83334],"38":[0,.69444,.03058,0,.75834],"39":[0,.69444,.07816,0,.27778],"40":[.25,.75,.13164,0,.38889],"41":[.25,.75,.02536,0,.38889],"42":[0,.75,.11775,0,.5],"43":[.08333,.58333,.02536,0,.77778],"44":[.125,.08333,0,0,.27778],"45":[0,.44444,.01946,0,.33333],"46":[0,.08333,0,0,.27778],"47":[.25,.75,.13164,0,.5],"48":[0,.65556,.11156,0,.5],"49":[0,.65556,.11156,0,.5],"50":[0,.65556,.11156,0,.5],"51":[0,.65556,.11156,0,.5],"52":[0,.65556,.11156,0,.5],"53":[0,.65556,.11156,0,.5],"54":[0,.65556,.11156,0,.5],"55":[0,.65556,.11156,0,.5],"56":[0,.65556,.11156,0,.5],"57":[0,.65556,.11156,0,.5],"58":[0,.44444,.02502,0,.27778],"59":[.125,.44444,.02502,0,.27778],"61":[-.13,.37,.05087,0,.77778],"63":[0,.69444,.11809,0,.47222],"64":[0,.69444,.07555,0,.66667],"65":[0,.69444,0,0,.66667],"66":[0,.69444,.08293,0,.66667],"67":[0,.69444,.11983,0,.63889],"68":[0,.69444,.07555,0,.72223],"69":[0,.69444,.11983,0,.59722],"70":[0,.69444,.13372,0,.56945],"71":[0,.69444,.11983,0,.66667],"72":[0,.69444,.08094,0,.70834],"73":[0,.69444,.13372,0,.27778],"74":[0,.69444,.08094,0,.47222],"75":[0,.69444,.11983,0,.69445],"76":[0,.69444,0,0,.54167],"77":[0,.69444,.08094,0,.875],"78":[0,.69444,.08094,0,.70834],"79":[0,.69444,.07555,0,.73611],"80":[0,.69444,.08293,0,.63889],"81":[.125,.69444,.07555,0,.73611],"82":[0,.69444,.08293,0,.64584],"83":[0,.69444,.09205,0,.55556],"84":[0,.69444,.13372,0,.68056],"85":[0,.69444,.08094,0,.6875],"86":[0,.69444,.1615,0,.66667],"87":[0,.69444,.1615,0,.94445],"88":[0,.69444,.13372,0,.66667],"89":[0,.69444,.17261,0,.66667],"90":[0,.69444,.11983,0,.61111],"91":[.25,.75,.15942,0,.28889],"93":[.25,.75,.08719,0,.28889],"94":[0,.69444,.0799,0,.5],"95":[.35,.09444,.08616,0,.5],"97":[0,.44444,.00981,0,.48056],"98":[0,.69444,.03057,0,.51667],"99":[0,.44444,.08336,0,.44445],"100":[0,.69444,.09483,0,.51667],"101":[0,.44444,.06778,0,.44445],"102":[0,.69444,.21705,0,.30556],"103":[.19444,.44444,.10836,0,.5],"104":[0,.69444,.01778,0,.51667],"105":[0,.67937,.09718,0,.23889],"106":[.19444,.67937,.09162,0,.26667],"107":[0,.69444,.08336,0,.48889],"108":[0,.69444,.09483,0,.23889],"109":[0,.44444,.01778,0,.79445],"110":[0,.44444,.01778,0,.51667],"111":[0,.44444,.06613,0,.5],"112":[.19444,.44444,.0389,0,.51667],"113":[.19444,.44444,.04169,0,.51667],"114":[0,.44444,.10836,0,.34167],"115":[0,.44444,.0778,0,.38333],"116":[0,.57143,.07225,0,.36111],"117":[0,.44444,.04169,0,.51667],"118":[0,.44444,.10836,0,.46111],"119":[0,.44444,.10836,0,.68334],"120":[0,.44444,.09169,0,.46111],"121":[.19444,.44444,.10836,0,.46111],"122":[0,.44444,.08752,0,.43472],"126":[.35,.32659,.08826,0,.5],"168":[0,.67937,.06385,0,.5],"176":[0,.69444,0,0,.73752],"184":[.17014,0,0,0,.44445],"305":[0,.44444,.04169,0,.23889],"567":[.19444,.44444,.04169,0,.26667],"710":[0,.69444,.0799,0,.5],"711":[0,.63194,.08432,0,.5],"713":[0,.60889,.08776,0,.5],"714":[0,.69444,.09205,0,.5],"715":[0,.69444,0,0,.5],"728":[0,.69444,.09483,0,.5],"729":[0,.67937,.07774,0,.27778],"730":[0,.69444,0,0,.73752],"732":[0,.67659,.08826,0,.5],"733":[0,.69444,.09205,0,.5],"915":[0,.69444,.13372,0,.54167],"916":[0,.69444,0,0,.83334],"920":[0,.69444,.07555,0,.77778],"923":[0,.69444,0,0,.61111],"926":[0,.69444,.12816,0,.66667],"928":[0,.69444,.08094,0,.70834],"931":[0,.69444,.11983,0,.72222],"933":[0,.69444,.09031,0,.77778],"934":[0,.69444,.04603,0,.72222],"936":[0,.69444,.09031,0,.77778],"937":[0,.69444,.08293,0,.72222],"8211":[0,.44444,.08616,0,.5],"8212":[0,.44444,.08616,0,1],"8216":[0,.69444,.07816,0,.27778],"8217":[0,.69444,.07816,0,.27778],"8220":[0,.69444,.14205,0,.5],"8221":[0,.69444,.00316,0,.5]},"SansSerif-Regular":{"33":[0,.69444,0,0,.31945],"34":[0,.69444,0,0,.5],"35":[.19444,.69444,0,0,.83334],"36":[.05556,.75,0,0,.5],"37":[.05556,.75,0,0,.83334],"38":[0,.69444,0,0,.75834],"39":[0,.69444,0,0,.27778],"40":[.25,.75,0,0,.38889],"41":[.25,.75,0,0,.38889],"42":[0,.75,0,0,.5],"43":[.08333,.58333,0,0,.77778],"44":[.125,.08333,0,0,.27778],"45":[0,.44444,0,0,.33333],"46":[0,.08333,0,0,.27778],"47":[.25,.75,0,0,.5],"48":[0,.65556,0,0,.5],"49":[0,.65556,0,0,.5],"50":[0,.65556,0,0,.5],"51":[0,.65556,0,0,.5],"52":[0,.65556,0,0,.5],"53":[0,.65556,0,0,.5],"54":[0,.65556,0,0,.5],"55":[0,.65556,0,0,.5],"56":[0,.65556,0,0,.5],"57":[0,.65556,0,0,.5],"58":[0,.44444,0,0,.27778],"59":[.125,.44444,0,0,.27778],"61":[-.13,.37,0,0,.77778],"63":[0,.69444,0,0,.47222],"64":[0,.69444,0,0,.66667],"65":[0,.69444,0,0,.66667],"66":[0,.69444,0,0,.66667],"67":[0,.69444,0,0,.63889],"68":[0,.69444,0,0,.72223],"69":[0,.69444,0,0,.59722],"70":[0,.69444,0,0,.56945],"71":[0,.69444,0,0,.66667],"72":[0,.69444,0,0,.70834],"73":[0,.69444,0,0,.27778],"74":[0,.69444,0,0,.47222],"75":[0,.69444,0,0,.69445],"76":[0,.69444,0,0,.54167],"77":[0,.69444,0,0,.875],"78":[0,.69444,0,0,.70834],"79":[0,.69444,0,0,.73611],"80":[0,.69444,0,0,.63889],"81":[.125,.69444,0,0,.73611],"82":[0,.69444,0,0,.64584],"83":[0,.69444,0,0,.55556],"84":[0,.69444,0,0,.68056],"85":[0,.69444,0,0,.6875],"86":[0,.69444,.01389,0,.66667],"87":[0,.69444,.01389,0,.94445],"88":[0,.69444,0,0,.66667],"89":[0,.69444,.025,0,.66667],"90":[0,.69444,0,0,.61111],"91":[.25,.75,0,0,.28889],"93":[.25,.75,0,0,.28889],"94":[0,.69444,0,0,.5],"95":[.35,.09444,.02778,0,.5],"97":[0,.44444,0,0,.48056],"98":[0,.69444,0,0,.51667],"99":[0,.44444,0,0,.44445],"100":[0,.69444,0,0,.51667],"101":[0,.44444,0,0,.44445],"102":[0,.69444,.06944,0,.30556],"103":[.19444,.44444,.01389,0,.5],"104":[0,.69444,0,0,.51667],"105":[0,.67937,0,0,.23889],"106":[.19444,.67937,0,0,.26667],"107":[0,.69444,0,0,.48889],"108":[0,.69444,0,0,.23889],"109":[0,.44444,0,0,.79445],"110":[0,.44444,0,0,.51667],"111":[0,.44444,0,0,.5],"112":[.19444,.44444,0,0,.51667],"113":[.19444,.44444,0,0,.51667],"114":[0,.44444,.01389,0,.34167],"115":[0,.44444,0,0,.38333],"116":[0,.57143,0,0,.36111],"117":[0,.44444,0,0,.51667],"118":[0,.44444,.01389,0,.46111],"119":[0,.44444,.01389,0,.68334],"120":[0,.44444,0,0,.46111],"121":[.19444,.44444,.01389,0,.46111],"122":[0,.44444,0,0,.43472],"126":[.35,.32659,0,0,.5],"168":[0,.67937,0,0,.5],"176":[0,.69444,0,0,.66667],"184":[.17014,0,0,0,.44445],"305":[0,.44444,0,0,.23889],"567":[.19444,.44444,0,0,.26667],"710":[0,.69444,0,0,.5],"711":[0,.63194,0,0,.5],"713":[0,.60889,0,0,.5],"714":[0,.69444,0,0,.5],"715":[0,.69444,0,0,.5],"728":[0,.69444,0,0,.5],"729":[0,.67937,0,0,.27778],"730":[0,.69444,0,0,.66667],"732":[0,.67659,0,0,.5],"733":[0,.69444,0,0,.5],"915":[0,.69444,0,0,.54167],"916":[0,.69444,0,0,.83334],"920":[0,.69444,0,0,.77778],"923":[0,.69444,0,0,.61111],"926":[0,.69444,0,0,.66667],"928":[0,.69444,0,0,.70834],"931":[0,.69444,0,0,.72222],"933":[0,.69444,0,0,.77778],"934":[0,.69444,0,0,.72222],"936":[0,.69444,0,0,.77778],"937":[0,.69444,0,0,.72222],"8211":[0,.44444,.02778,0,.5],"8212":[0,.44444,.02778,0,1],"8216":[0,.69444,0,0,.27778],"8217":[0,.69444,0,0,.27778],"8220":[0,.69444,0,0,.5],"8221":[0,.69444,0,0,.5]},"Script-Regular":{"65":[0,.7,.22925,0,.80253],"66":[0,.7,.04087,0,.90757],"67":[0,.7,.1689,0,.66619],"68":[0,.7,.09371,0,.77443],"69":[0,.7,.18583,0,.56162],"70":[0,.7,.13634,0,.89544],"71":[0,.7,.17322,0,.60961],"72":[0,.7,.29694,0,.96919],"73":[0,.7,.19189,0,.80907],"74":[.27778,.7,.19189,0,1.05159],"75":[0,.7,.31259,0,.91364],"76":[0,.7,.19189,0,.87373],"77":[0,.7,.15981,0,1.08031],"78":[0,.7,.3525,0,.9015],"79":[0,.7,.08078,0,.73787],"80":[0,.7,.08078,0,1.01262],"81":[0,.7,.03305,0,.88282],"82":[0,.7,.06259,0,.85],"83":[0,.7,.19189,0,.86767],"84":[0,.7,.29087,0,.74697],"85":[0,.7,.25815,0,.79996],"86":[0,.7,.27523,0,.62204],"87":[0,.7,.27523,0,.80532],"88":[0,.7,.26006,0,.94445],"89":[0,.7,.2939,0,.70961],"90":[0,.7,.24037,0,.8212]},"Size1-Regular":{"40":[.35001,.85,0,0,.45834],"41":[.35001,.85,0,0,.45834],"47":[.35001,.85,0,0,.57778],"91":[.35001,.85,0,0,.41667],"92":[.35001,.85,0,0,.57778],"93":[.35001,.85,0,0,.41667],"123":[.35001,.85,0,0,.58334],"125":[.35001,.85,0,0,.58334],"710":[0,.72222,0,0,.55556],"732":[0,.72222,0,0,.55556],"770":[0,.72222,0,0,.55556],"771":[0,.72222,0,0,.55556],"8214":[-99e-5,.601,0,0,.77778],"8593":[1e-5,.6,0,0,.66667],"8595":[1e-5,.6,0,0,.66667],"8657":[1e-5,.6,0,0,.77778],"8659":[1e-5,.6,0,0,.77778],"8719":[.25001,.75,0,0,.94445],"8720":[.25001,.75,0,0,.94445],"8721":[.25001,.75,0,0,1.05556],"8730":[.35001,.85,0,0,1],"8739":[-.00599,.606,0,0,.33333],"8741":[-.00599,.606,0,0,.55556],"8747":[.30612,.805,.19445,0,.47222],"8748":[.306,.805,.19445,0,.47222],"8749":[.306,.805,.19445,0,.47222],"8750":[.30612,.805,.19445,0,.47222],"8896":[.25001,.75,0,0,.83334],"8897":[.25001,.75,0,0,.83334],"8898":[.25001,.75,0,0,.83334],"8899":[.25001,.75,0,0,.83334],"8968":[.35001,.85,0,0,.47222],"8969":[.35001,.85,0,0,.47222],"8970":[.35001,.85,0,0,.47222],"8971":[.35001,.85,0,0,.47222],"9168":[-99e-5,.601,0,0,.66667],"10216":[.35001,.85,0,0,.47222],"10217":[.35001,.85,0,0,.47222],"10752":[.25001,.75,0,0,1.11111],"10753":[.25001,.75,0,0,1.11111],"10754":[.25001,.75,0,0,1.11111],"10756":[.25001,.75,0,0,.83334],"10758":[.25001,.75,0,0,.83334]},"Size2-Regular":{"40":[.65002,1.15,0,0,.59722],"41":[.65002,1.15,0,0,.59722],"47":[.65002,1.15,0,0,.81111],"91":[.65002,1.15,0,0,.47222],"92":[.65002,1.15,0,0,.81111],"93":[.65002,1.15,0,0,.47222],"123":[.65002,1.15,0,0,.66667],"125":[.65002,1.15,0,0,.66667],"710":[0,.75,0,0,1],"732":[0,.75,0,0,1],"770":[0,.75,0,0,1],"771":[0,.75,0,0,1],"8719":[.55001,1.05,0,0,1.27778],"8720":[.55001,1.05,0,0,1.27778],"8721":[.55001,1.05,0,0,1.44445],"8730":[.65002,1.15,0,0,1],"8747":[.86225,1.36,.44445,0,.55556],"8748":[.862,1.36,.44445,0,.55556],"8749":[.862,1.36,.44445,0,.55556],"8750":[.86225,1.36,.44445,0,.55556],"8896":[.55001,1.05,0,0,1.11111],"8897":[.55001,1.05,0,0,1.11111],"8898":[.55001,1.05,0,0,1.11111],"8899":[.55001,1.05,0,0,1.11111],"8968":[.65002,1.15,0,0,.52778],"8969":[.65002,1.15,0,0,.52778],"8970":[.65002,1.15,0,0,.52778],"8971":[.65002,1.15,0,0,.52778],"10216":[.65002,1.15,0,0,.61111],"10217":[.65002,1.15,0,0,.61111],"10752":[.55001,1.05,0,0,1.51112],"10753":[.55001,1.05,0,0,1.51112],"10754":[.55001,1.05,0,0,1.51112],"10756":[.55001,1.05,0,0,1.11111],"10758":[.55001,1.05,0,0,1.11111]},"Size3-Regular":{"40":[.95003,1.45,0,0,.73611],"41":[.95003,1.45,0,0,.73611],"47":[.95003,1.45,0,0,1.04445],"91":[.95003,1.45,0,0,.52778],"92":[.95003,1.45,0,0,1.04445],"93":[.95003,1.45,0,0,.52778],"123":[.95003,1.45,0,0,.75],"125":[.95003,1.45,0,0,.75],"710":[0,.75,0,0,1.44445],"732":[0,.75,0,0,1.44445],"770":[0,.75,0,0,1.44445],"771":[0,.75,0,0,1.44445],"8730":[.95003,1.45,0,0,1],"8968":[.95003,1.45,0,0,.58334],"8969":[.95003,1.45,0,0,.58334],"8970":[.95003,1.45,0,0,.58334],"8971":[.95003,1.45,0,0,.58334],"10216":[.95003,1.45,0,0,.75],"10217":[.95003,1.45,0,0,.75]},"Size4-Regular":{"40":[1.25003,1.75,0,0,.79167],"41":[1.25003,1.75,0,0,.79167],"47":[1.25003,1.75,0,0,1.27778],"91":[1.25003,1.75,0,0,.58334],"92":[1.25003,1.75,0,0,1.27778],"93":[1.25003,1.75,0,0,.58334],"123":[1.25003,1.75,0,0,.80556],"125":[1.25003,1.75,0,0,.80556],"710":[0,.825,0,0,1.8889],"732":[0,.825,0,0,1.8889],"770":[0,.825,0,0,1.8889],"771":[0,.825,0,0,1.8889],"8730":[1.25003,1.75,0,0,1],"8968":[1.25003,1.75,0,0,.63889],"8969":[1.25003,1.75,0,0,.63889],"8970":[1.25003,1.75,0,0,.63889],"8971":[1.25003,1.75,0,0,.63889],"9115":[.64502,1.155,0,0,.875],"9116":[1e-5,.6,0,0,.875],"9117":[.64502,1.155,0,0,.875],"9118":[.64502,1.155,0,0,.875],"9119":[1e-5,.6,0,0,.875],"9120":[.64502,1.155,0,0,.875],"9121":[.64502,1.155,0,0,.66667],"9122":[-99e-5,.601,0,0,.66667],"9123":[.64502,1.155,0,0,.66667],"9124":[.64502,1.155,0,0,.66667],"9125":[-99e-5,.601,0,0,.66667],"9126":[.64502,1.155,0,0,.66667],"9127":[1e-5,.9,0,0,.88889],"9128":[.65002,1.15,0,0,.88889],"9129":[.90001,0,0,0,.88889],"9130":[0,.3,0,0,.88889],"9131":[1e-5,.9,0,0,.88889],"9132":[.65002,1.15,0,0,.88889],"9133":[.90001,0,0,0,.88889],"9143":[.88502,.915,0,0,1.05556],"10216":[1.25003,1.75,0,0,.80556],"10217":[1.25003,1.75,0,0,.80556],"57344":[-.00499,.605,0,0,1.05556],"57345":[-.00499,.605,0,0,1.05556],"57680":[0,.12,0,0,.45],"57681":[0,.12,0,0,.45],"57682":[0,.12,0,0,.45],"57683":[0,.12,0,0,.45]},"Typewriter-Regular":{"32":[0,0,0,0,.525],"33":[0,.61111,0,0,.525],"34":[0,.61111,0,0,.525],"35":[0,.61111,0,0,.525],"36":[.08333,.69444,0,0,.525],"37":[.08333,.69444,0,0,.525],"38":[0,.61111,0,0,.525],"39":[0,.61111,0,0,.525],"40":[.08333,.69444,0,0,.525],"41":[.08333,.69444,0,0,.525],"42":[0,.52083,0,0,.525],"43":[-.08056,.53055,0,0,.525],"44":[.13889,.125,0,0,.525],"45":[-.08056,.53055,0,0,.525],"46":[0,.125,0,0,.525],"47":[.08333,.69444,0,0,.525],"48":[0,.61111,0,0,.525],"49":[0,.61111,0,0,.525],"50":[0,.61111,0,0,.525],"51":[0,.61111,0,0,.525],"52":[0,.61111,0,0,.525],"53":[0,.61111,0,0,.525],"54":[0,.61111,0,0,.525],"55":[0,.61111,0,0,.525],"56":[0,.61111,0,0,.525],"57":[0,.61111,0,0,.525],"58":[0,.43056,0,0,.525],"59":[.13889,.43056,0,0,.525],"60":[-.05556,.55556,0,0,.525],"61":[-.19549,.41562,0,0,.525],"62":[-.05556,.55556,0,0,.525],"63":[0,.61111,0,0,.525],"64":[0,.61111,0,0,.525],"65":[0,.61111,0,0,.525],"66":[0,.61111,0,0,.525],"67":[0,.61111,0,0,.525],"68":[0,.61111,0,0,.525],"69":[0,.61111,0,0,.525],"70":[0,.61111,0,0,.525],"71":[0,.61111,0,0,.525],"72":[0,.61111,0,0,.525],"73":[0,.61111,0,0,.525],"74":[0,.61111,0,0,.525],"75":[0,.61111,0,0,.525],"76":[0,.61111,0,0,.525],"77":[0,.61111,0,0,.525],"78":[0,.61111,0,0,.525],"79":[0,.61111,0,0,.525],"80":[0,.61111,0,0,.525],"81":[.13889,.61111,0,0,.525],"82":[0,.61111,0,0,.525],"83":[0,.61111,0,0,.525],"84":[0,.61111,0,0,.525],"85":[0,.61111,0,0,.525],"86":[0,.61111,0,0,.525],"87":[0,.61111,0,0,.525],"88":[0,.61111,0,0,.525],"89":[0,.61111,0,0,.525],"90":[0,.61111,0,0,.525],"91":[.08333,.69444,0,0,.525],"92":[.08333,.69444,0,0,.525],"93":[.08333,.69444,0,0,.525],"94":[0,.61111,0,0,.525],"95":[.09514,0,0,0,.525],"96":[0,.61111,0,0,.525],"97":[0,.43056,0,0,.525],"98":[0,.61111,0,0,.525],"99":[0,.43056,0,0,.525],"100":[0,.61111,0,0,.525],"101":[0,.43056,0,0,.525],"102":[0,.61111,0,0,.525],"103":[.22222,.43056,0,0,.525],"104":[0,.61111,0,0,.525],"105":[0,.61111,0,0,.525],"106":[.22222,.61111,0,0,.525],"107":[0,.61111,0,0,.525],"108":[0,.61111,0,0,.525],"109":[0,.43056,0,0,.525],"110":[0,.43056,0,0,.525],"111":[0,.43056,0,0,.525],"112":[.22222,.43056,0,0,.525],"113":[.22222,.43056,0,0,.525],"114":[0,.43056,0,0,.525],"115":[0,.43056,0,0,.525],"116":[0,.55358,0,0,.525],"117":[0,.43056,0,0,.525],"118":[0,.43056,0,0,.525],"119":[0,.43056,0,0,.525],"120":[0,.43056,0,0,.525],"121":[.22222,.43056,0,0,.525],"122":[0,.43056,0,0,.525],"123":[.08333,.69444,0,0,.525],"124":[.08333,.69444,0,0,.525],"125":[.08333,.69444,0,0,.525],"126":[0,.61111,0,0,.525],"127":[0,.61111,0,0,.525],"160":[0,0,0,0,.525],"176":[0,.61111,0,0,.525],"184":[.19445,0,0,0,.525],"305":[0,.43056,0,0,.525],"567":[.22222,.43056,0,0,.525],"711":[0,.56597,0,0,.525],"713":[0,.56555,0,0,.525],"714":[0,.61111,0,0,.525],"715":[0,.61111,0,0,.525],"728":[0,.61111,0,0,.525],"730":[0,.61111,0,0,.525],"770":[0,.61111,0,0,.525],"771":[0,.61111,0,0,.525],"776":[0,.61111,0,0,.525],"915":[0,.61111,0,0,.525],"916":[0,.61111,0,0,.525],"920":[0,.61111,0,0,.525],"923":[0,.61111,0,0,.525],"926":[0,.61111,0,0,.525],"928":[0,.61111,0,0,.525],"931":[0,.61111,0,0,.525],"933":[0,.61111,0,0,.525],"934":[0,.61111,0,0,.525],"936":[0,.61111,0,0,.525],"937":[0,.61111,0,0,.525],"8216":[0,.61111,0,0,.525],"8217":[0,.61111,0,0,.525],"8242":[0,.61111,0,0,.525],"9251":[.11111,.21944,0,0,.525]}},nt={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},Oe={\u00C5:"A",\u00C7:"C",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00E7:"c",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function vt(ft,$){pt[ft]=$}function Ze(ft,$,he){if(!pt[$])throw new Error("Font metrics not found for font: "+$+".");var ge=ft.charCodeAt(0),Fe=pt[$][ge];if(!Fe&&ft[0]in Oe&&(ge=Oe[ft[0]].charCodeAt(0),Fe=pt[$][ge]),!Fe&&he==="text"&&(X(ge)&&(Fe=pt[$][77])),Fe)return{depth:Fe[0],height:Fe[1],italic:Fe[2],skew:Fe[3],width:Fe[4]}}var wt={};function xt(ft){var $;if(ft>=5?$=0:ft>=3?$=1:$=2,!wt[$]){var he=wt[$]={cssEmPerMu:nt.quad[$]/18};for(var ge in nt)nt.hasOwnProperty(ge)&&(he[ge]=nt[ge][$])}return wt[$]}var Ot={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Mt={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Gt={math:{},text:{}},$e=Gt;function pe(ft,$,he,ge,Fe,ct){Gt[ft][Fe]={font:$,group:he,replace:ge},ct&&ge&&(Gt[ft][ge]=Gt[ft][Fe])}var q="math",bt="text",qe="main",le="ams",Nt="accent-token",tr="bin",lt="close",zt="inner",cr="mathord",Vr="op-token",ur="open",ir="punct",Lt="rel",at="spacing",Xe="textord";pe(q,qe,Lt,"\u2261","\\equiv",!0),pe(q,qe,Lt,"\u227A","\\prec",!0),pe(q,qe,Lt,"\u227B","\\succ",!0),pe(q,qe,Lt,"\u223C","\\sim",!0),pe(q,qe,Lt,"\u22A5","\\perp"),pe(q,qe,Lt,"\u2AAF","\\preceq",!0),pe(q,qe,Lt,"\u2AB0","\\succeq",!0),pe(q,qe,Lt,"\u2243","\\simeq",!0),pe(q,qe,Lt,"\u2223","\\mid",!0),pe(q,qe,Lt,"\u226A","\\ll",!0),pe(q,qe,Lt,"\u226B","\\gg",!0),pe(q,qe,Lt,"\u224D","\\asymp",!0),pe(q,qe,Lt,"\u2225","\\parallel"),pe(q,qe,Lt,"\u22C8","\\bowtie",!0),pe(q,qe,Lt,"\u2323","\\smile",!0),pe(q,qe,Lt,"\u2291","\\sqsubseteq",!0),pe(q,qe,Lt,"\u2292","\\sqsupseteq",!0),pe(q,qe,Lt,"\u2250","\\doteq",!0),pe(q,qe,Lt,"\u2322","\\frown",!0),pe(q,qe,Lt,"\u220B","\\ni",!0),pe(q,qe,Lt,"\u221D","\\propto",!0),pe(q,qe,Lt,"\u22A2","\\vdash",!0),pe(q,qe,Lt,"\u22A3","\\dashv",!0),pe(q,qe,Lt,"\u220B","\\owns"),pe(q,qe,ir,".","\\ldotp"),pe(q,qe,ir,"\u22C5","\\cdotp"),pe(q,qe,Xe,"#","\\#"),pe(bt,qe,Xe,"#","\\#"),pe(q,qe,Xe,"&","\\&"),pe(bt,qe,Xe,"&","\\&"),pe(q,qe,Xe,"\u2135","\\aleph",!0),pe(q,qe,Xe,"\u2200","\\forall",!0),pe(q,qe,Xe,"\u210F","\\hbar",!0),pe(q,qe,Xe,"\u2203","\\exists",!0),pe(q,qe,Xe,"\u2207","\\nabla",!0),pe(q,qe,Xe,"\u266D","\\flat",!0),pe(q,qe,Xe,"\u2113","\\ell",!0),pe(q,qe,Xe,"\u266E","\\natural",!0),pe(q,qe,Xe,"\u2663","\\clubsuit",!0),pe(q,qe,Xe,"\u2118","\\wp",!0),pe(q,qe,Xe,"\u266F","\\sharp",!0),pe(q,qe,Xe,"\u2662","\\diamondsuit",!0),pe(q,qe,Xe,"\u211C","\\Re",!0),pe(q,qe,Xe,"\u2661","\\heartsuit",!0),pe(q,qe,Xe,"\u2111","\\Im",!0),pe(q,qe,Xe,"\u2660","\\spadesuit",!0),pe(bt,qe,Xe,"\xA7","\\S",!0),pe(bt,qe,Xe,"\xB6","\\P",!0),pe(q,qe,Xe,"\u2020","\\dag"),pe(bt,qe,Xe,"\u2020","\\dag"),pe(bt,qe,Xe,"\u2020","\\textdagger"),pe(q,qe,Xe,"\u2021","\\ddag"),pe(bt,qe,Xe,"\u2021","\\ddag"),pe(bt,qe,Xe,"\u2021","\\textdaggerdbl"),pe(q,qe,lt,"\u23B1","\\rmoustache",!0),pe(q,qe,ur,"\u23B0","\\lmoustache",!0),pe(q,qe,lt,"\u27EF","\\rgroup",!0),pe(q,qe,ur,"\u27EE","\\lgroup",!0),pe(q,qe,tr,"\u2213","\\mp",!0),pe(q,qe,tr,"\u2296","\\ominus",!0),pe(q,qe,tr,"\u228E","\\uplus",!0),pe(q,qe,tr,"\u2293","\\sqcap",!0),pe(q,qe,tr,"\u2217","\\ast"),pe(q,qe,tr,"\u2294","\\sqcup",!0),pe(q,qe,tr,"\u25EF","\\bigcirc"),pe(q,qe,tr,"\u2219","\\bullet"),pe(q,qe,tr,"\u2021","\\ddagger"),pe(q,qe,tr,"\u2240","\\wr",!0),pe(q,qe,tr,"\u2A3F","\\amalg"),pe(q,qe,tr,"&","\\And"),pe(q,qe,Lt,"\u27F5","\\longleftarrow",!0),pe(q,qe,Lt,"\u21D0","\\Leftarrow",!0),pe(q,qe,Lt,"\u27F8","\\Longleftarrow",!0),pe(q,qe,Lt,"\u27F6","\\longrightarrow",!0),pe(q,qe,Lt,"\u21D2","\\Rightarrow",!0),pe(q,qe,Lt,"\u27F9","\\Longrightarrow",!0),pe(q,qe,Lt,"\u2194","\\leftrightarrow",!0),pe(q,qe,Lt,"\u27F7","\\longleftrightarrow",!0),pe(q,qe,Lt,"\u21D4","\\Leftrightarrow",!0),pe(q,qe,Lt,"\u27FA","\\Longleftrightarrow",!0),pe(q,qe,Lt,"\u21A6","\\mapsto",!0),pe(q,qe,Lt,"\u27FC","\\longmapsto",!0),pe(q,qe,Lt,"\u2197","\\nearrow",!0),pe(q,qe,Lt,"\u21A9","\\hookleftarrow",!0),pe(q,qe,Lt,"\u21AA","\\hookrightarrow",!0),pe(q,qe,Lt,"\u2198","\\searrow",!0),pe(q,qe,Lt,"\u21BC","\\leftharpoonup",!0),pe(q,qe,Lt,"\u21C0","\\rightharpoonup",!0),pe(q,qe,Lt,"\u2199","\\swarrow",!0),pe(q,qe,Lt,"\u21BD","\\leftharpoondown",!0),pe(q,qe,Lt,"\u21C1","\\rightharpoondown",!0),pe(q,qe,Lt,"\u2196","\\nwarrow",!0),pe(q,qe,Lt,"\u21CC","\\rightleftharpoons",!0),pe(q,le,Lt,"\u226E","\\nless",!0),pe(q,le,Lt,"\uE010","\\@nleqslant"),pe(q,le,Lt,"\uE011","\\@nleqq"),pe(q,le,Lt,"\u2A87","\\lneq",!0),pe(q,le,Lt,"\u2268","\\lneqq",!0),pe(q,le,Lt,"\uE00C","\\@lvertneqq"),pe(q,le,Lt,"\u22E6","\\lnsim",!0),pe(q,le,Lt,"\u2A89","\\lnapprox",!0),pe(q,le,Lt,"\u2280","\\nprec",!0),pe(q,le,Lt,"\u22E0","\\npreceq",!0),pe(q,le,Lt,"\u22E8","\\precnsim",!0),pe(q,le,Lt,"\u2AB9","\\precnapprox",!0),pe(q,le,Lt,"\u2241","\\nsim",!0),pe(q,le,Lt,"\uE006","\\@nshortmid"),pe(q,le,Lt,"\u2224","\\nmid",!0),pe(q,le,Lt,"\u22AC","\\nvdash",!0),pe(q,le,Lt,"\u22AD","\\nvDash",!0),pe(q,le,Lt,"\u22EA","\\ntriangleleft"),pe(q,le,Lt,"\u22EC","\\ntrianglelefteq",!0),pe(q,le,Lt,"\u228A","\\subsetneq",!0),pe(q,le,Lt,"\uE01A","\\@varsubsetneq"),pe(q,le,Lt,"\u2ACB","\\subsetneqq",!0),pe(q,le,Lt,"\uE017","\\@varsubsetneqq"),pe(q,le,Lt,"\u226F","\\ngtr",!0),pe(q,le,Lt,"\uE00F","\\@ngeqslant"),pe(q,le,Lt,"\uE00E","\\@ngeqq"),pe(q,le,Lt,"\u2A88","\\gneq",!0),pe(q,le,Lt,"\u2269","\\gneqq",!0),pe(q,le,Lt,"\uE00D","\\@gvertneqq"),pe(q,le,Lt,"\u22E7","\\gnsim",!0),pe(q,le,Lt,"\u2A8A","\\gnapprox",!0),pe(q,le,Lt,"\u2281","\\nsucc",!0),pe(q,le,Lt,"\u22E1","\\nsucceq",!0),pe(q,le,Lt,"\u22E9","\\succnsim",!0),pe(q,le,Lt,"\u2ABA","\\succnapprox",!0),pe(q,le,Lt,"\u2246","\\ncong",!0),pe(q,le,Lt,"\uE007","\\@nshortparallel"),pe(q,le,Lt,"\u2226","\\nparallel",!0),pe(q,le,Lt,"\u22AF","\\nVDash",!0),pe(q,le,Lt,"\u22EB","\\ntriangleright"),pe(q,le,Lt,"\u22ED","\\ntrianglerighteq",!0),pe(q,le,Lt,"\uE018","\\@nsupseteqq"),pe(q,le,Lt,"\u228B","\\supsetneq",!0),pe(q,le,Lt,"\uE01B","\\@varsupsetneq"),pe(q,le,Lt,"\u2ACC","\\supsetneqq",!0),pe(q,le,Lt,"\uE019","\\@varsupsetneqq"),pe(q,le,Lt,"\u22AE","\\nVdash",!0),pe(q,le,Lt,"\u2AB5","\\precneqq",!0),pe(q,le,Lt,"\u2AB6","\\succneqq",!0),pe(q,le,Lt,"\uE016","\\@nsubseteqq"),pe(q,le,tr,"\u22B4","\\unlhd"),pe(q,le,tr,"\u22B5","\\unrhd"),pe(q,le,Lt,"\u219A","\\nleftarrow",!0),pe(q,le,Lt,"\u219B","\\nrightarrow",!0),pe(q,le,Lt,"\u21CD","\\nLeftarrow",!0),pe(q,le,Lt,"\u21CF","\\nRightarrow",!0),pe(q,le,Lt,"\u21AE","\\nleftrightarrow",!0),pe(q,le,Lt,"\u21CE","\\nLeftrightarrow",!0),pe(q,le,Lt,"\u25B3","\\vartriangle"),pe(q,le,Xe,"\u210F","\\hslash"),pe(q,le,Xe,"\u25BD","\\triangledown"),pe(q,le,Xe,"\u25CA","\\lozenge"),pe(q,le,Xe,"\u24C8","\\circledS"),pe(q,le,Xe,"\xAE","\\circledR"),pe(bt,le,Xe,"\xAE","\\circledR"),pe(q,le,Xe,"\u2221","\\measuredangle",!0),pe(q,le,Xe,"\u2204","\\nexists"),pe(q,le,Xe,"\u2127","\\mho"),pe(q,le,Xe,"\u2132","\\Finv",!0),pe(q,le,Xe,"\u2141","\\Game",!0),pe(q,le,Xe,"\u2035","\\backprime"),pe(q,le,Xe,"\u25B2","\\blacktriangle"),pe(q,le,Xe,"\u25BC","\\blacktriangledown"),pe(q,le,Xe,"\u25A0","\\blacksquare"),pe(q,le,Xe,"\u29EB","\\blacklozenge"),pe(q,le,Xe,"\u2605","\\bigstar"),pe(q,le,Xe,"\u2222","\\sphericalangle",!0),pe(q,le,Xe,"\u2201","\\complement",!0),pe(q,le,Xe,"\xF0","\\eth",!0),pe(q,le,Xe,"\u2571","\\diagup"),pe(q,le,Xe,"\u2572","\\diagdown"),pe(q,le,Xe,"\u25A1","\\square"),pe(q,le,Xe,"\u25A1","\\Box"),pe(q,le,Xe,"\u25CA","\\Diamond"),pe(q,le,Xe,"\xA5","\\yen",!0),pe(bt,le,Xe,"\xA5","\\yen",!0),pe(q,le,Xe,"\u2713","\\checkmark",!0),pe(bt,le,Xe,"\u2713","\\checkmark"),pe(q,le,Xe,"\u2136","\\beth",!0),pe(q,le,Xe,"\u2138","\\daleth",!0),pe(q,le,Xe,"\u2137","\\gimel",!0),pe(q,le,Xe,"\u03DD","\\digamma",!0),pe(q,le,Xe,"\u03F0","\\varkappa"),pe(q,le,ur,"\u250C","\\ulcorner",!0),pe(q,le,lt,"\u2510","\\urcorner",!0),pe(q,le,ur,"\u2514","\\llcorner",!0),pe(q,le,lt,"\u2518","\\lrcorner",!0),pe(q,le,Lt,"\u2266","\\leqq",!0),pe(q,le,Lt,"\u2A7D","\\leqslant",!0),pe(q,le,Lt,"\u2A95","\\eqslantless",!0),pe(q,le,Lt,"\u2272","\\lesssim",!0),pe(q,le,Lt,"\u2A85","\\lessapprox",!0),pe(q,le,Lt,"\u224A","\\approxeq",!0),pe(q,le,tr,"\u22D6","\\lessdot"),pe(q,le,Lt,"\u22D8","\\lll",!0),pe(q,le,Lt,"\u2276","\\lessgtr",!0),pe(q,le,Lt,"\u22DA","\\lesseqgtr",!0),pe(q,le,Lt,"\u2A8B","\\lesseqqgtr",!0),pe(q,le,Lt,"\u2251","\\doteqdot"),pe(q,le,Lt,"\u2253","\\risingdotseq",!0),pe(q,le,Lt,"\u2252","\\fallingdotseq",!0),pe(q,le,Lt,"\u223D","\\backsim",!0),pe(q,le,Lt,"\u22CD","\\backsimeq",!0),pe(q,le,Lt,"\u2AC5","\\subseteqq",!0),pe(q,le,Lt,"\u22D0","\\Subset",!0),pe(q,le,Lt,"\u228F","\\sqsubset",!0),pe(q,le,Lt,"\u227C","\\preccurlyeq",!0),pe(q,le,Lt,"\u22DE","\\curlyeqprec",!0),pe(q,le,Lt,"\u227E","\\precsim",!0),pe(q,le,Lt,"\u2AB7","\\precapprox",!0),pe(q,le,Lt,"\u22B2","\\vartriangleleft"),pe(q,le,Lt,"\u22B4","\\trianglelefteq"),pe(q,le,Lt,"\u22A8","\\vDash",!0),pe(q,le,Lt,"\u22AA","\\Vvdash",!0),pe(q,le,Lt,"\u2323","\\smallsmile"),pe(q,le,Lt,"\u2322","\\smallfrown"),pe(q,le,Lt,"\u224F","\\bumpeq",!0),pe(q,le,Lt,"\u224E","\\Bumpeq",!0),pe(q,le,Lt,"\u2267","\\geqq",!0),pe(q,le,Lt,"\u2A7E","\\geqslant",!0),pe(q,le,Lt,"\u2A96","\\eqslantgtr",!0),pe(q,le,Lt,"\u2273","\\gtrsim",!0),pe(q,le,Lt,"\u2A86","\\gtrapprox",!0),pe(q,le,tr,"\u22D7","\\gtrdot"),pe(q,le,Lt,"\u22D9","\\ggg",!0),pe(q,le,Lt,"\u2277","\\gtrless",!0),pe(q,le,Lt,"\u22DB","\\gtreqless",!0),pe(q,le,Lt,"\u2A8C","\\gtreqqless",!0),pe(q,le,Lt,"\u2256","\\eqcirc",!0),pe(q,le,Lt,"\u2257","\\circeq",!0),pe(q,le,Lt,"\u225C","\\triangleq",!0),pe(q,le,Lt,"\u223C","\\thicksim"),pe(q,le,Lt,"\u2248","\\thickapprox"),pe(q,le,Lt,"\u2AC6","\\supseteqq",!0),pe(q,le,Lt,"\u22D1","\\Supset",!0),pe(q,le,Lt,"\u2290","\\sqsupset",!0),pe(q,le,Lt,"\u227D","\\succcurlyeq",!0),pe(q,le,Lt,"\u22DF","\\curlyeqsucc",!0),pe(q,le,Lt,"\u227F","\\succsim",!0),pe(q,le,Lt,"\u2AB8","\\succapprox",!0),pe(q,le,Lt,"\u22B3","\\vartriangleright"),pe(q,le,Lt,"\u22B5","\\trianglerighteq"),pe(q,le,Lt,"\u22A9","\\Vdash",!0),pe(q,le,Lt,"\u2223","\\shortmid"),pe(q,le,Lt,"\u2225","\\shortparallel"),pe(q,le,Lt,"\u226C","\\between",!0),pe(q,le,Lt,"\u22D4","\\pitchfork",!0),pe(q,le,Lt,"\u221D","\\varpropto"),pe(q,le,Lt,"\u25C0","\\blacktriangleleft"),pe(q,le,Lt,"\u2234","\\therefore",!0),pe(q,le,Lt,"\u220D","\\backepsilon"),pe(q,le,Lt,"\u25B6","\\blacktriangleright"),pe(q,le,Lt,"\u2235","\\because",!0),pe(q,le,Lt,"\u22D8","\\llless"),pe(q,le,Lt,"\u22D9","\\gggtr"),pe(q,le,tr,"\u22B2","\\lhd"),pe(q,le,tr,"\u22B3","\\rhd"),pe(q,le,Lt,"\u2242","\\eqsim",!0),pe(q,qe,Lt,"\u22C8","\\Join"),pe(q,le,Lt,"\u2251","\\Doteq",!0),pe(q,le,tr,"\u2214","\\dotplus",!0),pe(q,le,tr,"\u2216","\\smallsetminus"),pe(q,le,tr,"\u22D2","\\Cap",!0),pe(q,le,tr,"\u22D3","\\Cup",!0),pe(q,le,tr,"\u2A5E","\\doublebarwedge",!0),pe(q,le,tr,"\u229F","\\boxminus",!0),pe(q,le,tr,"\u229E","\\boxplus",!0),pe(q,le,tr,"\u22C7","\\divideontimes",!0),pe(q,le,tr,"\u22C9","\\ltimes",!0),pe(q,le,tr,"\u22CA","\\rtimes",!0),pe(q,le,tr,"\u22CB","\\leftthreetimes",!0),pe(q,le,tr,"\u22CC","\\rightthreetimes",!0),pe(q,le,tr,"\u22CF","\\curlywedge",!0),pe(q,le,tr,"\u22CE","\\curlyvee",!0),pe(q,le,tr,"\u229D","\\circleddash",!0),pe(q,le,tr,"\u229B","\\circledast",!0),pe(q,le,tr,"\u22C5","\\centerdot"),pe(q,le,tr,"\u22BA","\\intercal",!0),pe(q,le,tr,"\u22D2","\\doublecap"),pe(q,le,tr,"\u22D3","\\doublecup"),pe(q,le,tr,"\u22A0","\\boxtimes",!0),pe(q,le,Lt,"\u21E2","\\dashrightarrow",!0),pe(q,le,Lt,"\u21E0","\\dashleftarrow",!0),pe(q,le,Lt,"\u21C7","\\leftleftarrows",!0),pe(q,le,Lt,"\u21C6","\\leftrightarrows",!0),pe(q,le,Lt,"\u21DA","\\Lleftarrow",!0),pe(q,le,Lt,"\u219E","\\twoheadleftarrow",!0),pe(q,le,Lt,"\u21A2","\\leftarrowtail",!0),pe(q,le,Lt,"\u21AB","\\looparrowleft",!0),pe(q,le,Lt,"\u21CB","\\leftrightharpoons",!0),pe(q,le,Lt,"\u21B6","\\curvearrowleft",!0),pe(q,le,Lt,"\u21BA","\\circlearrowleft",!0),pe(q,le,Lt,"\u21B0","\\Lsh",!0),pe(q,le,Lt,"\u21C8","\\upuparrows",!0),pe(q,le,Lt,"\u21BF","\\upharpoonleft",!0),pe(q,le,Lt,"\u21C3","\\downharpoonleft",!0),pe(q,le,Lt,"\u22B8","\\multimap",!0),pe(q,le,Lt,"\u21AD","\\leftrightsquigarrow",!0),pe(q,le,Lt,"\u21C9","\\rightrightarrows",!0),pe(q,le,Lt,"\u21C4","\\rightleftarrows",!0),pe(q,le,Lt,"\u21A0","\\twoheadrightarrow",!0),pe(q,le,Lt,"\u21A3","\\rightarrowtail",!0),pe(q,le,Lt,"\u21AC","\\looparrowright",!0),pe(q,le,Lt,"\u21B7","\\curvearrowright",!0),pe(q,le,Lt,"\u21BB","\\circlearrowright",!0),pe(q,le,Lt,"\u21B1","\\Rsh",!0),pe(q,le,Lt,"\u21CA","\\downdownarrows",!0),pe(q,le,Lt,"\u21BE","\\upharpoonright",!0),pe(q,le,Lt,"\u21C2","\\downharpoonright",!0),pe(q,le,Lt,"\u21DD","\\rightsquigarrow",!0),pe(q,le,Lt,"\u21DD","\\leadsto"),pe(q,le,Lt,"\u21DB","\\Rrightarrow",!0),pe(q,le,Lt,"\u21BE","\\restriction"),pe(q,qe,Xe,"\u2018","`"),pe(q,qe,Xe,"$","\\$"),pe(bt,qe,Xe,"$","\\$"),pe(bt,qe,Xe,"$","\\textdollar"),pe(q,qe,Xe,"%","\\%"),pe(bt,qe,Xe,"%","\\%"),pe(q,qe,Xe,"_","\\_"),pe(bt,qe,Xe,"_","\\_"),pe(bt,qe,Xe,"_","\\textunderscore"),pe(q,qe,Xe,"\u2220","\\angle",!0),pe(q,qe,Xe,"\u221E","\\infty",!0),pe(q,qe,Xe,"\u2032","\\prime"),pe(q,qe,Xe,"\u25B3","\\triangle"),pe(q,qe,Xe,"\u0393","\\Gamma",!0),pe(q,qe,Xe,"\u0394","\\Delta",!0),pe(q,qe,Xe,"\u0398","\\Theta",!0),pe(q,qe,Xe,"\u039B","\\Lambda",!0),pe(q,qe,Xe,"\u039E","\\Xi",!0),pe(q,qe,Xe,"\u03A0","\\Pi",!0),pe(q,qe,Xe,"\u03A3","\\Sigma",!0),pe(q,qe,Xe,"\u03A5","\\Upsilon",!0),pe(q,qe,Xe,"\u03A6","\\Phi",!0),pe(q,qe,Xe,"\u03A8","\\Psi",!0),pe(q,qe,Xe,"\u03A9","\\Omega",!0),pe(q,qe,Xe,"A","\u0391"),pe(q,qe,Xe,"B","\u0392"),pe(q,qe,Xe,"E","\u0395"),pe(q,qe,Xe,"Z","\u0396"),pe(q,qe,Xe,"H","\u0397"),pe(q,qe,Xe,"I","\u0399"),pe(q,qe,Xe,"K","\u039A"),pe(q,qe,Xe,"M","\u039C"),pe(q,qe,Xe,"N","\u039D"),pe(q,qe,Xe,"O","\u039F"),pe(q,qe,Xe,"P","\u03A1"),pe(q,qe,Xe,"T","\u03A4"),pe(q,qe,Xe,"X","\u03A7"),pe(q,qe,Xe,"\xAC","\\neg",!0),pe(q,qe,Xe,"\xAC","\\lnot"),pe(q,qe,Xe,"\u22A4","\\top"),pe(q,qe,Xe,"\u22A5","\\bot"),pe(q,qe,Xe,"\u2205","\\emptyset"),pe(q,le,Xe,"\u2205","\\varnothing"),pe(q,qe,cr,"\u03B1","\\alpha",!0),pe(q,qe,cr,"\u03B2","\\beta",!0),pe(q,qe,cr,"\u03B3","\\gamma",!0),pe(q,qe,cr,"\u03B4","\\delta",!0),pe(q,qe,cr,"\u03F5","\\epsilon",!0),pe(q,qe,cr,"\u03B6","\\zeta",!0),pe(q,qe,cr,"\u03B7","\\eta",!0),pe(q,qe,cr,"\u03B8","\\theta",!0),pe(q,qe,cr,"\u03B9","\\iota",!0),pe(q,qe,cr,"\u03BA","\\kappa",!0),pe(q,qe,cr,"\u03BB","\\lambda",!0),pe(q,qe,cr,"\u03BC","\\mu",!0),pe(q,qe,cr,"\u03BD","\\nu",!0),pe(q,qe,cr,"\u03BE","\\xi",!0),pe(q,qe,cr,"\u03BF","\\omicron",!0),pe(q,qe,cr,"\u03C0","\\pi",!0),pe(q,qe,cr,"\u03C1","\\rho",!0),pe(q,qe,cr,"\u03C3","\\sigma",!0),pe(q,qe,cr,"\u03C4","\\tau",!0),pe(q,qe,cr,"\u03C5","\\upsilon",!0),pe(q,qe,cr,"\u03D5","\\phi",!0),pe(q,qe,cr,"\u03C7","\\chi",!0),pe(q,qe,cr,"\u03C8","\\psi",!0),pe(q,qe,cr,"\u03C9","\\omega",!0),pe(q,qe,cr,"\u03B5","\\varepsilon",!0),pe(q,qe,cr,"\u03D1","\\vartheta",!0),pe(q,qe,cr,"\u03D6","\\varpi",!0),pe(q,qe,cr,"\u03F1","\\varrho",!0),pe(q,qe,cr,"\u03C2","\\varsigma",!0),pe(q,qe,cr,"\u03C6","\\varphi",!0),pe(q,qe,tr,"\u2217","*"),pe(q,qe,tr,"+","+"),pe(q,qe,tr,"\u2212","-"),pe(q,qe,tr,"\u22C5","\\cdot",!0),pe(q,qe,tr,"\u2218","\\circ"),pe(q,qe,tr,"\xF7","\\div",!0),pe(q,qe,tr,"\xB1","\\pm",!0),pe(q,qe,tr,"\xD7","\\times",!0),pe(q,qe,tr,"\u2229","\\cap",!0),pe(q,qe,tr,"\u222A","\\cup",!0),pe(q,qe,tr,"\u2216","\\setminus"),pe(q,qe,tr,"\u2227","\\land"),pe(q,qe,tr,"\u2228","\\lor"),pe(q,qe,tr,"\u2227","\\wedge",!0),pe(q,qe,tr,"\u2228","\\vee",!0),pe(q,qe,Xe,"\u221A","\\surd"),pe(q,qe,ur,"(","("),pe(q,qe,ur,"[","["),pe(q,qe,ur,"\u27E8","\\langle",!0),pe(q,qe,ur,"\u2223","\\lvert"),pe(q,qe,ur,"\u2225","\\lVert"),pe(q,qe,lt,")",")"),pe(q,qe,lt,"]","]"),pe(q,qe,lt,"?","?"),pe(q,qe,lt,"!","!"),pe(q,qe,lt,"\u27E9","\\rangle",!0),pe(q,qe,lt,"\u2223","\\rvert"),pe(q,qe,lt,"\u2225","\\rVert"),pe(q,qe,Lt,"=","="),pe(q,qe,Lt,"<","<"),pe(q,qe,Lt,">",">"),pe(q,qe,Lt,":",":"),pe(q,qe,Lt,"\u2248","\\approx",!0),pe(q,qe,Lt,"\u2245","\\cong",!0),pe(q,qe,Lt,"\u2265","\\ge"),pe(q,qe,Lt,"\u2265","\\geq",!0),pe(q,qe,Lt,"\u2190","\\gets"),pe(q,qe,Lt,">","\\gt"),pe(q,qe,Lt,"\u2208","\\in",!0),pe(q,qe,Lt,"\uE020","\\@not"),pe(q,qe,Lt,"\u2282","\\subset",!0),pe(q,qe,Lt,"\u2283","\\supset",!0),pe(q,qe,Lt,"\u2286","\\subseteq",!0),pe(q,qe,Lt,"\u2287","\\supseteq",!0),pe(q,le,Lt,"\u2288","\\nsubseteq",!0),pe(q,le,Lt,"\u2289","\\nsupseteq",!0),pe(q,qe,Lt,"\u22A8","\\models"),pe(q,qe,Lt,"\u2190","\\leftarrow",!0),pe(q,qe,Lt,"\u2264","\\le"),pe(q,qe,Lt,"\u2264","\\leq",!0),pe(q,qe,Lt,"<","\\lt"),pe(q,qe,Lt,"\u2192","\\rightarrow",!0),pe(q,qe,Lt,"\u2192","\\to"),pe(q,le,Lt,"\u2271","\\ngeq",!0),pe(q,le,Lt,"\u2270","\\nleq",!0),pe(q,qe,at,"\xA0","\\ "),pe(q,qe,at,"\xA0","~"),pe(q,qe,at,"\xA0","\\space"),pe(q,qe,at,"\xA0","\\nobreakspace"),pe(bt,qe,at,"\xA0","\\ "),pe(bt,qe,at,"\xA0","~"),pe(bt,qe,at,"\xA0","\\space"),pe(bt,qe,at,"\xA0","\\nobreakspace"),pe(q,qe,at,null,"\\nobreak"),pe(q,qe,at,null,"\\allowbreak"),pe(q,qe,ir,",",","),pe(q,qe,ir,";",";"),pe(q,le,tr,"\u22BC","\\barwedge",!0),pe(q,le,tr,"\u22BB","\\veebar",!0),pe(q,qe,tr,"\u2299","\\odot",!0),pe(q,qe,tr,"\u2295","\\oplus",!0),pe(q,qe,tr,"\u2297","\\otimes",!0),pe(q,qe,Xe,"\u2202","\\partial",!0),pe(q,qe,tr,"\u2298","\\oslash",!0),pe(q,le,tr,"\u229A","\\circledcirc",!0),pe(q,le,tr,"\u22A1","\\boxdot",!0),pe(q,qe,tr,"\u25B3","\\bigtriangleup"),pe(q,qe,tr,"\u25BD","\\bigtriangledown"),pe(q,qe,tr,"\u2020","\\dagger"),pe(q,qe,tr,"\u22C4","\\diamond"),pe(q,qe,tr,"\u22C6","\\star"),pe(q,qe,tr,"\u25C3","\\triangleleft"),pe(q,qe,tr,"\u25B9","\\triangleright"),pe(q,qe,ur,"{","\\{"),pe(bt,qe,Xe,"{","\\{"),pe(bt,qe,Xe,"{","\\textbraceleft"),pe(q,qe,lt,"}","\\}"),pe(bt,qe,Xe,"}","\\}"),pe(bt,qe,Xe,"}","\\textbraceright"),pe(q,qe,ur,"{","\\lbrace"),pe(q,qe,lt,"}","\\rbrace"),pe(q,qe,ur,"[","\\lbrack"),pe(bt,qe,Xe,"[","\\lbrack"),pe(q,qe,lt,"]","\\rbrack"),pe(bt,qe,Xe,"]","\\rbrack"),pe(q,qe,ur,"(","\\lparen"),pe(q,qe,lt,")","\\rparen"),pe(bt,qe,Xe,"<","\\textless"),pe(bt,qe,Xe,">","\\textgreater"),pe(q,qe,ur,"\u230A","\\lfloor",!0),pe(q,qe,lt,"\u230B","\\rfloor",!0),pe(q,qe,ur,"\u2308","\\lceil",!0),pe(q,qe,lt,"\u2309","\\rceil",!0),pe(q,qe,Xe,"\\","\\backslash"),pe(q,qe,Xe,"\u2223","|"),pe(q,qe,Xe,"\u2223","\\vert"),pe(bt,qe,Xe,"|","\\textbar"),pe(q,qe,Xe,"\u2225","\\|"),pe(q,qe,Xe,"\u2225","\\Vert"),pe(bt,qe,Xe,"\u2225","\\textbardbl"),pe(bt,qe,Xe,"~","\\textasciitilde"),pe(bt,qe,Xe,"\\","\\textbackslash"),pe(bt,qe,Xe,"^","\\textasciicircum"),pe(q,qe,Lt,"\u2191","\\uparrow",!0),pe(q,qe,Lt,"\u21D1","\\Uparrow",!0),pe(q,qe,Lt,"\u2193","\\downarrow",!0),pe(q,qe,Lt,"\u21D3","\\Downarrow",!0),pe(q,qe,Lt,"\u2195","\\updownarrow",!0),pe(q,qe,Lt,"\u21D5","\\Updownarrow",!0),pe(q,qe,Vr,"\u2210","\\coprod"),pe(q,qe,Vr,"\u22C1","\\bigvee"),pe(q,qe,Vr,"\u22C0","\\bigwedge"),pe(q,qe,Vr,"\u2A04","\\biguplus"),pe(q,qe,Vr,"\u22C2","\\bigcap"),pe(q,qe,Vr,"\u22C3","\\bigcup"),pe(q,qe,Vr,"\u222B","\\int"),pe(q,qe,Vr,"\u222B","\\intop"),pe(q,qe,Vr,"\u222C","\\iint"),pe(q,qe,Vr,"\u222D","\\iiint"),pe(q,qe,Vr,"\u220F","\\prod"),pe(q,qe,Vr,"\u2211","\\sum"),pe(q,qe,Vr,"\u2A02","\\bigotimes"),pe(q,qe,Vr,"\u2A01","\\bigoplus"),pe(q,qe,Vr,"\u2A00","\\bigodot"),pe(q,qe,Vr,"\u222E","\\oint"),pe(q,qe,Vr,"\u222F","\\oiint"),pe(q,qe,Vr,"\u2230","\\oiiint"),pe(q,qe,Vr,"\u2A06","\\bigsqcup"),pe(q,qe,Vr,"\u222B","\\smallint"),pe(bt,qe,zt,"\u2026","\\textellipsis"),pe(q,qe,zt,"\u2026","\\mathellipsis"),pe(bt,qe,zt,"\u2026","\\ldots",!0),pe(q,qe,zt,"\u2026","\\ldots",!0),pe(q,qe,zt,"\u22EF","\\@cdots",!0),pe(q,qe,zt,"\u22F1","\\ddots",!0),pe(q,qe,Xe,"\u22EE","\\varvdots"),pe(q,qe,Nt,"\u02CA","\\acute"),pe(q,qe,Nt,"\u02CB","\\grave"),pe(q,qe,Nt,"\xA8","\\ddot"),pe(q,qe,Nt,"~","\\tilde"),pe(q,qe,Nt,"\u02C9","\\bar"),pe(q,qe,Nt,"\u02D8","\\breve"),pe(q,qe,Nt,"\u02C7","\\check"),pe(q,qe,Nt,"^","\\hat"),pe(q,qe,Nt,"\u20D7","\\vec"),pe(q,qe,Nt,"\u02D9","\\dot"),pe(q,qe,Nt,"\u02DA","\\mathring"),pe(q,qe,cr,"\u0131","\\imath",!0),pe(q,qe,cr,"\u0237","\\jmath",!0),pe(bt,qe,Xe,"\u0131","\\i",!0),pe(bt,qe,Xe,"\u0237","\\j",!0),pe(bt,qe,Xe,"\xDF","\\ss",!0),pe(bt,qe,Xe,"\xE6","\\ae",!0),pe(bt,qe,Xe,"\xE6","\\ae",!0),pe(bt,qe,Xe,"\u0153","\\oe",!0),pe(bt,qe,Xe,"\xF8","\\o",!0),pe(bt,qe,Xe,"\xC6","\\AE",!0),pe(bt,qe,Xe,"\u0152","\\OE",!0),pe(bt,qe,Xe,"\xD8","\\O",!0),pe(bt,qe,Nt,"\u02CA","\\'"),pe(bt,qe,Nt,"\u02CB","\\`"),pe(bt,qe,Nt,"\u02C6","\\^"),pe(bt,qe,Nt,"\u02DC","\\~"),pe(bt,qe,Nt,"\u02C9","\\="),pe(bt,qe,Nt,"\u02D8","\\u"),pe(bt,qe,Nt,"\u02D9","\\."),pe(bt,qe,Nt,"\u02DA","\\r"),pe(bt,qe,Nt,"\u02C7","\\v"),pe(bt,qe,Nt,"\xA8",'\\"'),pe(bt,qe,Nt,"\u02DD","\\H"),pe(bt,qe,Nt,"\u25EF","\\textcircled");var $t={"--":!0,"---":!0,"``":!0,"''":!0};pe(bt,qe,Xe,"\u2013","--"),pe(bt,qe,Xe,"\u2013","\\textendash"),pe(bt,qe,Xe,"\u2014","---"),pe(bt,qe,Xe,"\u2014","\\textemdash"),pe(bt,qe,Xe,"\u2018","`"),pe(bt,qe,Xe,"\u2018","\\textquoteleft"),pe(bt,qe,Xe,"\u2019","'"),pe(bt,qe,Xe,"\u2019","\\textquoteright"),pe(bt,qe,Xe,"\u201C","``"),pe(bt,qe,Xe,"\u201C","\\textquotedblleft"),pe(bt,qe,Xe,"\u201D","''"),pe(bt,qe,Xe,"\u201D","\\textquotedblright"),pe(q,qe,Xe,"\xB0","\\degree",!0),pe(bt,qe,Xe,"\xB0","\\degree"),pe(bt,qe,Xe,"\xB0","\\textdegree",!0),pe(q,qe,cr,"\xA3","\\pounds"),pe(q,qe,cr,"\xA3","\\mathsterling",!0),pe(bt,qe,cr,"\xA3","\\pounds"),pe(bt,qe,cr,"\xA3","\\textsterling",!0),pe(q,le,Xe,"\u2720","\\maltese"),pe(bt,le,Xe,"\u2720","\\maltese"),pe(bt,qe,at,"\xA0","\\ "),pe(bt,qe,at,"\xA0"," "),pe(bt,qe,at,"\xA0","~");for(var Sr='0123456789/@."',vr=0;vrhe&&(he=Tt.height),Tt.depth>ge&&(ge=Tt.depth),Tt.maxFontSize>Fe&&(Fe=Tt.maxFontSize)}$.height=he,$.depth=ge,$.maxFontSize=Fe},Re=function($,he,ge,Fe){var ct=new re($,he,ge,Fe);return Se(ct),ct},Be=function($,he,ge,Fe){return new re($,he,ge,Fe)},We=function($,he,ge){var Fe=Re([$],[],he);return Fe.height=Math.max(ge||he.fontMetrics().defaultRuleThickness,he.minRuleThickness),Fe.style.borderBottomWidth=Fe.height+"em",Fe.maxFontSize=1,Fe},He=function($,he,ge,Fe){var ct=new ce($,he,ge,Fe);return Se(ct),ct},Qe=function($){var he=new ee($);return Se(he),he},At=function($,he){return $ instanceof ee?Re([],[$],he):$},ot=function($){if($.positionType==="individualShift"){for(var he=$.children,ge=[he[0]],Fe=-he[0].shift-he[0].elem.depth,ct=Fe,Tt=1;Tt0&&(Fe.push(fi(ct,$)),ct=[]),Fe.push(ge[Tt]));ct.length>0&&Fe.push(fi(ct,$));var Ir;he&&(Ir=fi(fn(he,$,!0)),Ir.classes=["tag"],Fe.push(Ir));var $r=bi(["katex-html"],Fe);if($r.setAttribute("aria-hidden","true"),Ir){var Cn=Ir.children[0];Cn.style.height=$r.height+$r.depth+"em",Cn.style.verticalAlign=-$r.depth+"em"}return $r}function Ki(ft){return new ee(ft)}var ia=function(){function ft(he,ge){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=he,this.attributes={},this.children=ge||[]}var $=ft.prototype;return $.setAttribute=function(ge,Fe){this.attributes[ge]=Fe},$.getAttribute=function(ge){return this.attributes[ge]},$.toNode=function(){var ge=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var Fe in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Fe)&&ge.setAttribute(Fe,this.attributes[Fe]);for(var ct=0;ct",ge},$.toText=function(){return this.children.map(function(ge){return ge.toText()}).join("")},ft}(),qi=function(){function ft(he){this.text=void 0,this.text=he}var $=ft.prototype;return $.toNode=function(){return document.createTextNode(this.text)},$.toMarkup=function(){return v.escape(this.toText())},$.toText=function(){return this.text},ft}(),Ra=function(){function ft(he){this.width=void 0,this.character=void 0,this.width=he,he>=.05555&&he<=.05556?this.character="\u200A":he>=.1666&&he<=.1667?this.character="\u2009":he>=.2222&&he<=.2223?this.character="\u2005":he>=.2777&&he<=.2778?this.character="\u2005\u200A":he>=-.05556&&he<=-.05555?this.character="\u200A\u2063":he>=-.1667&&he<=-.1666?this.character="\u2009\u2063":he>=-.2223&&he<=-.2222?this.character="\u205F\u2063":he>=-.2778&&he<=-.2777?this.character="\u2005\u2063":this.character=null}var $=ft.prototype;return $.toNode=function(){if(this.character)return document.createTextNode(this.character);var ge=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return ge.setAttribute("width",this.width+"em"),ge},$.toMarkup=function(){return this.character?""+this.character+"":''},$.toText=function(){return this.character?this.character:" "},ft}(),pi={MathNode:ia,TextNode:qi,SpaceNode:Ra,newDocumentFragment:Ki},ln=function($,he,ge){return $e[he][$]&&$e[he][$].replace&&$.charCodeAt(0)!==55349&&!($t.hasOwnProperty($)&&ge&&(ge.fontFamily&&ge.fontFamily.substr(4,2)==="tt"||ge.font&&ge.font.substr(4,2)==="tt"))&&($=$e[he][$].replace),new pi.TextNode($)},Oi=function($){return $.length===1?$[0]:new pi.MathNode("mrow",$)},Ji=function($,he){if(he.fontFamily==="texttt")return"monospace";if(he.fontFamily==="textsf")return he.fontShape==="textit"&&he.fontWeight==="textbf"?"sans-serif-bold-italic":he.fontShape==="textit"?"sans-serif-italic":he.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(he.fontShape==="textit"&&he.fontWeight==="textbf")return"bold-italic";if(he.fontShape==="textit")return"italic";if(he.fontWeight==="textbf")return"bold";var ge=he.font;if(!ge||ge==="mathnormal")return null;var Fe=$.mode;if(ge==="mathit")return"italic";if(ge==="boldsymbol")return"bold-italic";if(ge==="mathbf")return"bold";if(ge==="mathbb")return"double-struck";if(ge==="mathfrak")return"fraktur";if(ge==="mathscr"||ge==="mathcal")return"script";if(ge==="mathsf")return"sans-serif";if(ge==="mathtt")return"monospace";var ct=$.text;if(v.contains(["\\imath","\\jmath"],ct))return null;$e[Fe][ct]&&$e[Fe][ct].replace&&(ct=$e[Fe][ct].replace);var Tt=nr.fontMap[ge].fontName;return Ze(ct,Tt,Fe)?nr.fontMap[ge].variant:null},Pi=function($,he,ge){if($.length===1){var Fe=Wt($[0],he);return ge&&Fe instanceof ia&&Fe.type==="mo"&&(Fe.setAttribute("lspace","0em"),Fe.setAttribute("rspace","0em")),[Fe]}for(var ct=[],Tt,br=0;br<$.length;br++){var Ir=Wt($[br],he);if(Ir instanceof ia&&Tt instanceof ia){if(Ir.type==="mtext"&&Tt.type==="mtext"&&Ir.getAttribute("mathvariant")===Tt.getAttribute("mathvariant")){var $r;($r=Tt.children).push.apply($r,Ir.children);continue}else if(Ir.type==="mn"&&Tt.type==="mn"){var Cn;(Cn=Tt.children).push.apply(Cn,Ir.children);continue}else if(Ir.type==="mi"&&Ir.children.length===1&&Tt.type==="mn"){var Wn=Ir.children[0];if(Wn instanceof qi&&Wn.text==="."){var si;(si=Tt.children).push.apply(si,Ir.children);continue}}else if(Tt.type==="mi"&&Tt.children.length===1){var Ei=Tt.children[0];if(Ei instanceof qi&&Ei.text==="\u0338"&&(Ir.type==="mo"||Ir.type==="mi"||Ir.type==="mn")){var zi=Ir.children[0];zi instanceof qi&&zi.text.length>0&&(zi.text=zi.text.slice(0,1)+"\u0338"+zi.text.slice(1),ct.pop())}}}ct.push(Ir),Tt=Ir}return ct},aa=function($,he,ge){return Oi(Pi($,he,ge))},Wt=function($,he){if(!$)return new pi.MathNode("mrow");if(En[$.type]){var ge=En[$.type]($,he);return ge}else throw new c("Got group of unknown type: '"+$.type+"'")};function Gr(ft,$,he,ge){var Fe=Pi(ft,he),ct;Fe.length===1&&Fe[0]instanceof ia&&v.contains(["mrow","mtable"],Fe[0].type)?ct=Fe[0]:ct=new pi.MathNode("mrow",Fe);var Tt=new pi.MathNode("annotation",[new pi.TextNode($)]);Tt.setAttribute("encoding","application/x-tex");var br=new pi.MathNode("semantics",[ct,Tt]),Ir=new pi.MathNode("math",[br]);Ir.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var $r=ge?"katex":"katex-mathml";return nr.makeSpan([$r],[Ir])}var rn=function($){return new Ft({style:$.displayMode?K.DISPLAY:K.TEXT,maxSize:$.maxSize,minRuleThickness:$.minRuleThickness})},hn=function($,he){if(he.displayMode){var ge=["katex-display"];he.leqno&&ge.push("leqno"),he.fleqn&&ge.push("fleqn"),$=nr.makeSpan(ge,[$])}return $},ze=function($,he,ge){var Fe=rn(ge),ct;if(ge.output==="mathml")return Gr($,he,Fe,!0);if(ge.output==="html"){var Tt=mi($,Fe);ct=nr.makeSpan(["katex"],[Tt])}else{var br=Gr($,he,Fe,!1),Ir=mi($,Fe);ct=nr.makeSpan(["katex"],[br,Ir])}return hn(ct,ge)},Ct=function($,he,ge){var Fe=rn(ge),ct=mi($,Fe),Tt=nr.makeSpan(["katex"],[ct]);return hn(Tt,ge)},or=ze,rr={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB"},Lr=function($){var he=new pi.MathNode("mo",[new pi.TextNode(rr[$.substr(1)])]);return he.setAttribute("stretchy","true"),he},Fr={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Kr=function($){return $.type==="ordgroup"?$.body.length:1},nn=function($,he){function ge(){var Ir=4e5,$r=$.label.substr(1);if(v.contains(["widehat","widecheck","widetilde","utilde"],$r)){var Cn=$,Wn=Kr(Cn.base),si,Ei,zi;if(Wn>5)$r==="widehat"||$r==="widecheck"?(si=420,Ir=2364,zi=.42,Ei=$r+"4"):(si=312,Ir=2340,zi=.34,Ei="tilde4");else{var la=[1,1,2,2,3,3][Wn];$r==="widehat"||$r==="widecheck"?(Ir=[0,1062,2364,2364,2364][la],si=[0,239,300,360,420][la],zi=[0,.24,.3,.3,.36,.42][la],Ei=$r+la):(Ir=[0,600,1033,2339,2340][la],si=[0,260,286,306,312][la],zi=[0,.26,.286,.3,.306,.34][la],Ei="tilde"+la)}var va=new se(Ei),$a=new Ie([va],{width:"100%",height:zi+"em",viewBox:"0 0 "+Ir+" "+si,preserveAspectRatio:"none"});return{span:nr.makeSvgSpan([],[$a],he),minWidth:0,height:zi}}else{var eo=[],ro=Fr[$r],Lo=ro[0],Eo=ro[1],Gi=ro[2],po=Gi/1e3,wo=Lo.length,ts,No;if(wo===1){var Io=ro[3];ts=["hide-tail"],No=[Io]}else if(wo===2)ts=["halfarrow-left","halfarrow-right"],No=["xMinYMin","xMaxYMin"];else if(wo===3)ts=["brace-left","brace-center","brace-right"],No=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support `+wo+" children.");for(var Ko=0;Ko0&&(ct.style.minWidth=Tt+"em"),ct},wn=function($,he,ge,Fe){var ct,Tt=$.height+$.depth+2*ge;if(/fbox|color/.test(he)){if(ct=nr.makeSpan(["stretchy",he],[],Fe),he==="fbox"){var br=Fe.color&&Fe.getColor();br&&(ct.style.borderColor=br)}}else{var Ir=[];/^[bx]cancel$/.test(he)&&Ir.push(new ye({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(he)&&Ir.push(new ye({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var $r=new Ie(Ir,{width:"100%",height:Tt+"em"});ct=nr.makeSvgSpan([],[$r],Fe)}return ct.height=Tt,ct.style.height=Tt+"em",ct},In={encloseSpan:wn,mathMLnode:Lr,svgSpan:nn},Rn=function($,he){var ge,Fe,ct=Br($,"supsub"),Tt;ct?(Fe=Xr(ct.base,"accent"),ge=Fe.base,ct.base=ge,Tt=Ye(di(ct,he)),ct.base=Fe):(Fe=Xr($,"accent"),ge=Fe.base);var br=di(ge,he.havingCrampedStyle()),Ir=Fe.isShifty&&v.isCharacterBox(ge),$r=0;if(Ir){var Cn=v.getBaseElem(ge),Wn=di(Cn,he.havingCrampedStyle());$r=xe(Wn).skew}var si=Math.min(br.height,he.fontMetrics().xHeight),Ei;if(Fe.isStretchy)Ei=In.svgSpan(Fe,he),Ei=nr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:br},{type:"elem",elem:Ei,wrapperClasses:["svg-align"],wrapperStyle:$r>0?{width:"calc(100% - "+2*$r+"em)",marginLeft:2*$r+"em"}:void 0}]},he);else{var zi,la;Fe.label==="\\vec"?(zi=nr.staticSvg("vec",he),la=nr.svgData.vec[1]):(zi=nr.makeOrd({mode:Fe.mode,text:Fe.label},he,"textord"),zi=xe(zi),zi.italic=0,la=zi.width),Ei=nr.makeSpan(["accent-body"],[zi]);var va=Fe.label==="\\textcircled";va&&(Ei.classes.push("accent-full"),si=br.height);var $a=$r;va||($a-=la/2),Ei.style.left=$a+"em",Fe.label==="\\textcircled"&&(Ei.style.top=".2em"),Ei=nr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:br},{type:"kern",size:-si},{type:"elem",elem:Ei}]},he)}var eo=nr.makeSpan(["mord","accent"],[Ei],he);return Tt?(Tt.children[0]=eo,Tt.height=Math.max(eo.height,Tt.height),Tt.classes[0]="mord",Tt):eo},Nn=function($,he){var ge=$.isStretchy?In.mathMLnode($.label):new pi.MathNode("mo",[ln($.label,$.mode)]),Fe=new pi.MathNode("mover",[Wt($.base,he),ge]);return Fe.setAttribute("accent","true"),Fe},bn=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(ft){return"\\"+ft}).join("|"));on({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function($,he){var ge=he[0],Fe=!bn.test($.funcName),ct=!Fe||$.funcName==="\\widehat"||$.funcName==="\\widetilde"||$.funcName==="\\widecheck";return{type:"accent",mode:$.parser.mode,label:$.funcName,isStretchy:Fe,isShifty:ct,base:ge}},htmlBuilder:Rn,mathmlBuilder:Nn}),on({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function($,he){var ge=he[0];return{type:"accent",mode:$.parser.mode,label:$.funcName,isStretchy:!1,isShifty:!0,base:ge}},htmlBuilder:Rn,mathmlBuilder:Nn}),on({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function($,he){var ge=$.parser,Fe=$.funcName,ct=he[0];return{type:"accentUnder",mode:ge.mode,label:Fe,base:ct}},htmlBuilder:function($,he){var ge=di($.base,he),Fe=In.svgSpan($,he),ct=$.label==="\\utilde"?.12:0,Tt=nr.makeVList({positionType:"bottom",positionData:Fe.height+ct,children:[{type:"elem",elem:Fe,wrapperClasses:["svg-align"]},{type:"kern",size:ct},{type:"elem",elem:ge}]},he);return nr.makeSpan(["mord","accentunder"],[Tt],he)},mathmlBuilder:function($,he){var ge=In.mathMLnode($.label),Fe=new pi.MathNode("munder",[Wt($.base,he),ge]);return Fe.setAttribute("accentunder","true"),Fe}});var Sn=function($){var he=new pi.MathNode("mpadded",$?[$]:[]);return he.setAttribute("width","+0.6em"),he.setAttribute("lspace","0.3em"),he};on({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium"],props:{numArgs:1,numOptionalArgs:1},handler:function($,he,ge){var Fe=$.parser,ct=$.funcName;return{type:"xArrow",mode:Fe.mode,label:ct,body:he[0],below:ge[0]}},htmlBuilder:function($,he){var ge=he.style,Fe=he.havingStyle(ge.sup()),ct=nr.wrapFragment(di($.body,Fe,he),he);ct.classes.push("x-arrow-pad");var Tt;$.below&&(Fe=he.havingStyle(ge.sub()),Tt=nr.wrapFragment(di($.below,Fe,he),he),Tt.classes.push("x-arrow-pad"));var br=In.svgSpan($,he),Ir=-he.fontMetrics().axisHeight+.5*br.height,$r=-he.fontMetrics().axisHeight-.5*br.height-.111;(ct.depth>.25||$.label==="\\xleftequilibrium")&&($r-=ct.depth);var Cn;if(Tt){var Wn=-he.fontMetrics().axisHeight+Tt.height+.5*br.height+.111;Cn=nr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ct,shift:$r},{type:"elem",elem:br,shift:Ir},{type:"elem",elem:Tt,shift:Wn}]},he)}else Cn=nr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ct,shift:$r},{type:"elem",elem:br,shift:Ir}]},he);return Cn.children[0].children[0].children[1].classes.push("svg-align"),nr.makeSpan(["mrel","x-arrow"],[Cn],he)},mathmlBuilder:function($,he){var ge=In.mathMLnode($.label),Fe;if($.body){var ct=Sn(Wt($.body,he));if($.below){var Tt=Sn(Wt($.below,he));Fe=new pi.MathNode("munderover",[ge,Tt,ct])}else Fe=new pi.MathNode("mover",[ge,ct])}else if($.below){var br=Sn(Wt($.below,he));Fe=new pi.MathNode("munder",[ge,br])}else Fe=Sn(),Fe=new pi.MathNode("mover",[ge,Fe]);return Fe}}),on({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function($,he){for(var ge=$.parser,Fe=Xr(he[0],"ordgroup"),ct=Fe.body,Tt="",br=0;br","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Xt=[0,1.2,1.8,2.4,3],xr=function($,he,ge,Fe,ct){if($==="<"||$==="\\lt"||$==="\u27E8"?$="\\langle":($===">"||$==="\\gt"||$==="\u27E9")&&($="\\rangle"),v.contains(Dr,$)||v.contains(Nr,$))return ki($,he,!1,ge,Fe,ct);if(v.contains(Qr,$))return Li($,Xt[he],!1,ge,Fe,ct);throw new c("Illegal delimiter: '"+$+"'")},er=[{type:"small",style:K.SCRIPTSCRIPT},{type:"small",style:K.SCRIPT},{type:"small",style:K.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],jr=[{type:"small",style:K.SCRIPTSCRIPT},{type:"small",style:K.SCRIPT},{type:"small",style:K.TEXT},{type:"stack"}],Ur=[{type:"small",style:K.SCRIPTSCRIPT},{type:"small",style:K.SCRIPT},{type:"small",style:K.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],pn=function($){if($.type==="small")return"Main-Regular";if($.type==="large")return"Size"+$.size+"-Regular";if($.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+$.type+"' here.")},sn=function($,he,ge,Fe){for(var ct=Math.min(2,3-Fe.style.size),Tt=ct;Tthe)return ge[Tt]}return ge[ge.length-1]},vn=function($,he,ge,Fe,ct,Tt){$==="<"||$==="\\lt"||$==="\u27E8"?$="\\langle":($===">"||$==="\\gt"||$==="\u27E9")&&($="\\rangle");var br;v.contains(Nr,$)?br=er:v.contains(Dr,$)?br=Ur:br=jr;var Ir=sn($,he,br,Fe);return Ir.type==="small"?gi($,Ir.style,ge,Fe,ct,Tt):Ir.type==="large"?ki($,Ir.size,ge,Fe,ct,Tt):Li($,he,ge,Fe,ct,Tt)},Un=function($,he,ge,Fe,ct,Tt){var br=Fe.fontMetrics().axisHeight*Fe.sizeMultiplier,Ir=901,$r=5/Fe.fontMetrics().ptPerEm,Cn=Math.max(he-br,ge+br),Wn=Math.max(Cn/500*Ir,2*Cn-$r);return vn($,Wn,!0,Fe,ct,Tt)},Qn={sqrtImage:pr,sizedDelim:xr,customSizedDelim:vn,leftRightDelim:Un},$n={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},wi=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function ra(ft,$){var he=ii(ft);if(he&&v.contains(wi,he.text))return he;throw new c("Invalid delimiter: '"+(he?he.text:JSON.stringify(ft))+"' after '"+$.funcName+"'",ft)}on({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function($,he){var ge=ra(he[0],$);return{type:"delimsizing",mode:$.parser.mode,size:$n[$.funcName].size,mclass:$n[$.funcName].mclass,delim:ge.text}},htmlBuilder:function($,he){return $.delim==="."?nr.makeSpan([$.mclass]):Qn.sizedDelim($.delim,$.size,he,$.mode,[$.mclass])},mathmlBuilder:function($){var he=[];$.delim!=="."&&he.push(ln($.delim,$.mode));var ge=new pi.MathNode("mo",he);return $.mclass==="mopen"||$.mclass==="mclose"?ge.setAttribute("fence","true"):ge.setAttribute("fence","false"),ge}});function ua(ft){if(!ft.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}on({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function($,he){var ge=$.parser.gullet.macros.get("\\current@color");if(ge&&typeof ge!="string")throw new c("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:$.parser.mode,delim:ra(he[0],$).text,color:ge}}}),on({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function($,he){var ge=ra(he[0],$),Fe=$.parser;++Fe.leftrightDepth;var ct=Fe.parseExpression(!1);--Fe.leftrightDepth,Fe.expect("\\right",!1);var Tt=Xr(Fe.parseFunction(),"leftright-right");return{type:"leftright",mode:Fe.mode,body:ct,left:ge.text,right:Tt.delim,rightColor:Tt.color}},htmlBuilder:function($,he){ua($);for(var ge=fn($.body,he,!0,["mopen","mclose"]),Fe=0,ct=0,Tt=!1,br=0;br-1?"mpadded":"menclose",[Wt($.body,he)]);switch($.label){case"\\cancel":Fe.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":Fe.setAttribute("notation","downdiagonalstrike");break;case"\\sout":Fe.setAttribute("notation","horizontalstrike");break;case"\\fbox":Fe.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(ge=he.fontMetrics().fboxsep*he.fontMetrics().ptPerEm,Fe.setAttribute("width","+"+2*ge+"pt"),Fe.setAttribute("height","+"+2*ge+"pt"),Fe.setAttribute("lspace",ge+"pt"),Fe.setAttribute("voffset",ge+"pt"),$.label==="\\fcolorbox"){var ct=Math.max(he.fontMetrics().fboxrule,he.minRuleThickness);Fe.setAttribute("style","border: "+ct+"em solid "+String($.borderColor))}break;case"\\xcancel":Fe.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return $.backgroundColor&&Fe.setAttribute("mathbackground",$.backgroundColor),Fe};on({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function($,he,ge){var Fe=$.parser,ct=$.funcName,Tt=Xr(he[0],"color-token").color,br=he[1];return{type:"enclose",mode:Fe.mode,label:ct,backgroundColor:Tt,body:br}},htmlBuilder:da,mathmlBuilder:sa}),on({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function($,he,ge){var Fe=$.parser,ct=$.funcName,Tt=Xr(he[0],"color-token").color,br=Xr(he[1],"color-token").color,Ir=he[2];return{type:"enclose",mode:Fe.mode,label:ct,backgroundColor:br,borderColor:Tt,body:Ir}},htmlBuilder:da,mathmlBuilder:sa}),on({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function($,he){var ge=$.parser;return{type:"enclose",mode:ge.mode,label:"\\fbox",body:he[0]}}}),on({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function($,he,ge){var Fe=$.parser,ct=$.funcName,Tt=he[0];return{type:"enclose",mode:Fe.mode,label:ct,body:Tt}},htmlBuilder:da,mathmlBuilder:sa});var fa={};function Wi(ft){for(var $=ft.type,he=ft.names,ge=ft.props,Fe=ft.handler,ct=ft.htmlBuilder,Tt=ft.mathmlBuilder,br={type:$,numArgs:ge.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:Fe},Ir=0;Ir0&&(ro+=.25),$r.push({pos:ro,isDashed:Us[Ga]})}for(Lo(Tt[0]),ge=0;ge<$.body.length;++ge){var Eo=$.body[ge],Gi=$a,po=eo;br0&&(Io+=eo,po=br)continue;var Do=void 0;(Fe>0||$.hskipBeforeAndAfter)&&(Do=v.deflt(us.pregap,si),Do!==0&&(cs=nr.makeSpan(["arraycolsep"],[]),cs.style.width=Do+"em",ls.push(cs)));var is=[];for(ge=0;ge0){for(var Xs=nr.makeLineSpan("hline",he,Cn),Fs=nr.makeLineSpan("hdashline",he,Cn),al=[{type:"elem",elem:Ir,shift:0}];$r.length>0;){var Js=$r.pop(),rl=Js.pos-Ko;Js.isDashed?al.push({type:"elem",elem:Fs,shift:rl}):al.push({type:"elem",elem:Xs,shift:rl})}Ir=nr.makeVList({positionType:"individualShift",children:al},he)}return nr.makeSpan(["mord"],[Ir],he)},Ta={c:"center ",l:"left ",r:"right "},$i=function($,he){var ge=new pi.MathNode("mtable",$.body.map(function(ro){return new pi.MathNode("mtr",ro.map(function(Lo){return new pi.MathNode("mtd",[Wt(Lo,he)])}))})),Fe=$.arraystretch===.5?.1:.16+$.arraystretch-1+($.addJot?.09:0);ge.setAttribute("rowspacing",Fe+"em");var ct="",Tt="";if($.cols){var br=$.cols,Ir="",$r=!1,Cn=0,Wn=br.length;br[0].type==="separator"&&(ct+="top ",Cn=1),br[br.length-1].type==="separator"&&(ct+="bottom ",Wn-=1);for(var si=Cn;si0?"left ":"",ct+=$a[$a.length-1].length>0?"right ":"";for(var eo=1;eo<$a.length-1;eo++)va+=$a[eo].length===0?"none ":$a[eo][0]?"dashed ":"solid ";return/[sd]/.test(va)&&ge.setAttribute("rowlines",va.trim()),ct!==""&&(ge=new pi.MathNode("menclose",[ge]),ge.setAttribute("notation",ct.trim())),$.arraystretch&&$.arraystretch<1&&(ge=new pi.MathNode("mstyle",[ge]),ge.setAttribute("scriptlevel","1")),ge},Vi=function($,he){var ge=[],Fe=na($.parser,{cols:ge,addJot:!0},"display"),ct,Tt=0,br={type:"ordgroup",mode:$.mode,body:[]},Ir=Br(he[0],"ordgroup");if(Ir){for(var $r="",Cn=0;Cn0&&si&&(la=1),ge[Ei]={type:"align",align:zi,pregap:la,postgap:0}}return Fe.colSeparationType=si?"align":"alignat",Fe};Wi({type:"array",names:["array","darray"],props:{numArgs:1},handler:function($,he){var ge=ii(he[0]),Fe=ge?[he[0]]:Xr(he[0],"ordgroup").body,ct=Fe.map(function(br){var Ir=Bn(br),$r=Ir.text;if("lcr".indexOf($r)!==-1)return{type:"align",align:$r};if($r==="|")return{type:"separator",separator:"|"};if($r===":")return{type:"separator",separator:":"};throw new c("Unknown column alignment: "+$r,br)}),Tt={cols:ct,hskipBeforeAndAfter:!0};return na($.parser,Tt,Zi($.envName))},htmlBuilder:ba,mathmlBuilder:$i}),Wi({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function($){var he={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[$.envName],ge={hskipBeforeAndAfter:!1},Fe=na($.parser,ge,Zi($.envName));return he?{type:"leftright",mode:$.mode,body:[Fe],left:he[0],right:he[1],rightColor:void 0}:Fe},htmlBuilder:ba,mathmlBuilder:$i}),Wi({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function($){var he={arraystretch:.5},ge=na($.parser,he,"script");return ge.colSeparationType="small",ge},htmlBuilder:ba,mathmlBuilder:$i}),Wi({type:"array",names:["subarray"],props:{numArgs:1},handler:function($,he){var ge=ii(he[0]),Fe=ge?[he[0]]:Xr(he[0],"ordgroup").body,ct=Fe.map(function(br){var Ir=Bn(br),$r=Ir.text;if("lc".indexOf($r)!==-1)return{type:"align",align:$r};throw new c("Unknown column alignment: "+$r,br)});if(ct.length>1)throw new c("{subarray} can contain only one column");var Tt={cols:ct,hskipBeforeAndAfter:!1,arraystretch:.5};if(Tt=na($.parser,Tt,"script"),Tt.body[0].length>1)throw new c("{subarray} can contain only one column");return Tt},htmlBuilder:ba,mathmlBuilder:$i}),Wi({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function($){var he={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},ge=na($.parser,he,Zi($.envName));return{type:"leftright",mode:$.mode,body:[ge],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:ba,mathmlBuilder:$i}),Wi({type:"array",names:["aligned"],props:{numArgs:0},handler:Vi,htmlBuilder:ba,mathmlBuilder:$i}),Wi({type:"array",names:["gathered"],props:{numArgs:0},handler:function($){var he={cols:[{type:"align",align:"c"}],addJot:!0};return na($.parser,he,"display")},htmlBuilder:ba,mathmlBuilder:$i}),Wi({type:"array",names:["alignedat"],props:{numArgs:1},handler:Vi,htmlBuilder:ba,mathmlBuilder:$i}),on({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function($,he){throw new c($.funcName+" valid only within array environment")}});var La=fa,ga=La;on({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function($,he){var ge=$.parser,Fe=$.funcName,ct=he[0];if(ct.type!=="ordgroup")throw new c("Invalid environment name",ct);for(var Tt="",br=0;br=K.SCRIPT.id?ge.text():K.DISPLAY:$==="text"&&ge.size===K.DISPLAY.size?ge=K.TEXT:$==="script"?ge=K.SCRIPT:$==="scriptscript"&&(ge=K.SCRIPTSCRIPT),ge},Ka=function($,he){var ge=wa($.size,he.style),Fe=ge.fracNum(),ct=ge.fracDen(),Tt;Tt=he.havingStyle(Fe);var br=di($.numer,Tt,he);if($.continued){var Ir=8.5/he.fontMetrics().ptPerEm,$r=3.5/he.fontMetrics().ptPerEm;br.height=br.height0?la=3*Ei:la=7*Ei,va=he.fontMetrics().denom1):(si>0?(zi=he.fontMetrics().num2,la=Ei):(zi=he.fontMetrics().num3,la=3*Ei),va=he.fontMetrics().denom2);var $a;if(Wn){var ro=he.fontMetrics().axisHeight;zi-br.depth-(ro+.5*si)0&&(he=$,he=he==="."?null:he),he};on({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function($,he){var ge=$.parser,Fe=he[4],ct=he[5],Tt=Br(he[0],"atom");Tt&&(Tt=yr(he[0],"open"));var br=Tt?lo(Tt.text):null,Ir=Br(he[1],"atom");Ir&&(Ir=yr(he[1],"close"));var $r=Ir?lo(Ir.text):null,Cn=Xr(he[2],"size"),Wn,si=null;Cn.isBlank?Wn=!0:(si=Cn.value,Wn=si.number>0);var Ei="auto",zi=Br(he[3],"ordgroup");if(zi){if(zi.body.length>0){var la=Xr(zi.body[0],"textord");Ei=ea[Number(la.text)]}}else zi=Xr(he[3],"textord"),Ei=ea[Number(zi.text)];return{type:"genfrac",mode:ge.mode,numer:Fe,denom:ct,continued:!1,hasBarLine:Wn,barSize:si,leftDelim:br,rightDelim:$r,size:Ei}},htmlBuilder:Ka,mathmlBuilder:ao}),on({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function($,he){var ge=$.parser,Fe=$.funcName,ct=$.token;return{type:"infix",mode:ge.mode,replaceWith:"\\\\abovefrac",size:Xr(he[0],"size").value,token:ct}}}),on({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function($,he){var ge=$.parser,Fe=$.funcName,ct=he[0],Tt=h(Xr(he[1],"infix").size),br=he[2],Ir=Tt.number>0;return{type:"genfrac",mode:ge.mode,numer:ct,denom:br,continued:!1,hasBarLine:Ir,barSize:Tt,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Ka,mathmlBuilder:ao});var Ya=function($,he){var ge=he.style,Fe,ct,Tt=Br($,"supsub");Tt?(Fe=Tt.sup?di(Tt.sup,he.havingStyle(ge.sup()),he):di(Tt.sub,he.havingStyle(ge.sub()),he),ct=Xr(Tt.base,"horizBrace")):ct=Xr($,"horizBrace");var br=di(ct.base,he.havingBaseStyle(K.DISPLAY)),Ir=In.svgSpan(ct,he),$r;if(ct.isOver?($r=nr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:br},{type:"kern",size:.1},{type:"elem",elem:Ir}]},he),$r.children[0].children[0].children[1].classes.push("svg-align")):($r=nr.makeVList({positionType:"bottom",positionData:br.depth+.1+Ir.height,children:[{type:"elem",elem:Ir},{type:"kern",size:.1},{type:"elem",elem:br}]},he),$r.children[0].children[0].children[0].classes.push("svg-align")),Fe){var Cn=nr.makeSpan(["mord",ct.isOver?"mover":"munder"],[$r],he);ct.isOver?$r=nr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Cn},{type:"kern",size:.2},{type:"elem",elem:Fe}]},he):$r=nr.makeVList({positionType:"bottom",positionData:Cn.depth+.2+Fe.height+Fe.depth,children:[{type:"elem",elem:Fe},{type:"kern",size:.2},{type:"elem",elem:Cn}]},he)}return nr.makeSpan(["mord",ct.isOver?"mover":"munder"],[$r],he)},Sa=function($,he){var ge=In.mathMLnode($.label);return new pi.MathNode($.isOver?"mover":"munder",[Wt($.base,he),ge])};on({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function($,he){var ge=$.parser,Fe=$.funcName;return{type:"horizBrace",mode:ge.mode,label:Fe,isOver:/^\\over/.test(Fe),base:he[0]}},htmlBuilder:Ya,mathmlBuilder:Sa}),on({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function($,he){var ge=$.parser,Fe=he[1],ct=Xr(he[0],"url").url;return ge.settings.isTrusted({command:"\\href",url:ct})?{type:"href",mode:ge.mode,href:ct,body:ri(Fe)}:ge.formatUnsupportedCmd("\\href")},htmlBuilder:function($,he){var ge=fn($.body,he,!1);return nr.makeAnchor($.href,[],ge,he)},mathmlBuilder:function($,he){var ge=aa($.body,he);return ge instanceof ia||(ge=new ia("mrow",[ge])),ge.setAttribute("href",$.href),ge}}),on({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function($,he){var ge=$.parser,Fe=Xr(he[0],"url").url;if(!ge.settings.isTrusted({command:"\\url",url:Fe}))return ge.formatUnsupportedCmd("\\url");for(var ct=[],Tt=0;Tt0&&(Fe=ar($.totalheight,he)-ge,Fe=Number(Fe.toFixed(2)));var ct=0;$.width.number>0&&(ct=ar($.width,he));var Tt={height:ge+Fe+"em"};ct>0&&(Tt.width=ct+"em"),Fe>0&&(Tt.verticalAlign=-Fe+"em");var br=new ke($.src,$.alt,Tt);return br.height=ge,br.depth=Fe,br},mathmlBuilder:function($,he){var ge=new pi.MathNode("mglyph",[]);ge.setAttribute("alt",$.alt);var Fe=ar($.height,he),ct=0;if($.totalheight.number>0&&(ct=ar($.totalheight,he)-Fe,ct=ct.toFixed(2),ge.setAttribute("valign","-"+ct+"em")),ge.setAttribute("height",Fe+ct+"em"),$.width.number>0){var Tt=ar($.width,he);ge.setAttribute("width",Tt+"em")}return ge.setAttribute("src",$.src),ge}}),on({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function($,he){var ge=$.parser,Fe=$.funcName,ct=Xr(he[0],"size");if(ge.settings.strict){var Tt=Fe[1]==="m",br=ct.value.unit==="mu";Tt?(br||ge.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Fe+" supports only mu units, "+("not "+ct.value.unit+" units")),ge.mode!=="math"&&ge.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Fe+" works only in math mode")):br&&ge.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Fe+" doesn't support mu units")}return{type:"kern",mode:ge.mode,dimension:ct.value}},htmlBuilder:function($,he){return nr.makeGlue($.dimension,he)},mathmlBuilder:function($,he){var ge=ar($.dimension,he);return new pi.SpaceNode(ge)}}),on({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function($,he){var ge=$.parser,Fe=$.funcName,ct=he[0];return{type:"lap",mode:ge.mode,alignment:Fe.slice(5),body:ct}},htmlBuilder:function($,he){var ge;$.alignment==="clap"?(ge=nr.makeSpan([],[di($.body,he)]),ge=nr.makeSpan(["inner"],[ge],he)):ge=nr.makeSpan(["inner"],[di($.body,he)]);var Fe=nr.makeSpan(["fix"],[]),ct=nr.makeSpan([$.alignment],[ge,Fe],he),Tt=nr.makeSpan(["strut"]);return Tt.style.height=ct.height+ct.depth+"em",Tt.style.verticalAlign=-ct.depth+"em",ct.children.unshift(Tt),ct=nr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ct}]},he),nr.makeSpan(["mord"],[ct],he)},mathmlBuilder:function($,he){var ge=new pi.MathNode("mpadded",[Wt($.body,he)]);if($.alignment!=="rlap"){var Fe=$.alignment==="llap"?"-1":"-0.5";ge.setAttribute("lspace",Fe+"width")}return ge.setAttribute("width","0px"),ge}}),on({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function($,he){var ge=$.funcName,Fe=$.parser,ct=Fe.mode;Fe.switchMode("math");var Tt=ge==="\\("?"\\)":"$",br=Fe.parseExpression(!1,Tt);return Fe.expect(Tt),Fe.switchMode(ct),{type:"styling",mode:Fe.mode,style:"text",body:br}}}),on({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function($,he){throw new c("Mismatched "+$.funcName)}});var Ma=function($,he){switch(he.style.size){case K.DISPLAY.size:return $.display;case K.TEXT.size:return $.text;case K.SCRIPT.size:return $.script;case K.SCRIPTSCRIPT.size:return $.scriptscript;default:return $.text}};on({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function($,he){var ge=$.parser;return{type:"mathchoice",mode:ge.mode,display:ri(he[0]),text:ri(he[1]),script:ri(he[2]),scriptscript:ri(he[3])}},htmlBuilder:function($,he){var ge=Ma($,he),Fe=fn(ge,he,!1);return nr.makeFragment(Fe)},mathmlBuilder:function($,he){var ge=Ma($,he);return aa(ge,he)}});var ka=function($,he,ge,Fe,ct,Tt,br){$=nr.makeSpan([],[$]);var Ir,$r;if(he){var Cn=di(he,Fe.havingStyle(ct.sup()),Fe);$r={elem:Cn,kern:Math.max(Fe.fontMetrics().bigOpSpacing1,Fe.fontMetrics().bigOpSpacing3-Cn.depth)}}if(ge){var Wn=di(ge,Fe.havingStyle(ct.sub()),Fe);Ir={elem:Wn,kern:Math.max(Fe.fontMetrics().bigOpSpacing2,Fe.fontMetrics().bigOpSpacing4-Wn.height)}}var si;if($r&&Ir){var Ei=Fe.fontMetrics().bigOpSpacing5+Ir.elem.height+Ir.elem.depth+Ir.kern+$.depth+br;si=nr.makeVList({positionType:"bottom",positionData:Ei,children:[{type:"kern",size:Fe.fontMetrics().bigOpSpacing5},{type:"elem",elem:Ir.elem,marginLeft:-Tt+"em"},{type:"kern",size:Ir.kern},{type:"elem",elem:$},{type:"kern",size:$r.kern},{type:"elem",elem:$r.elem,marginLeft:Tt+"em"},{type:"kern",size:Fe.fontMetrics().bigOpSpacing5}]},Fe)}else if(Ir){var zi=$.height-br;si=nr.makeVList({positionType:"top",positionData:zi,children:[{type:"kern",size:Fe.fontMetrics().bigOpSpacing5},{type:"elem",elem:Ir.elem,marginLeft:-Tt+"em"},{type:"kern",size:Ir.kern},{type:"elem",elem:$}]},Fe)}else if($r){var la=$.depth+br;si=nr.makeVList({positionType:"bottom",positionData:la,children:[{type:"elem",elem:$},{type:"kern",size:$r.kern},{type:"elem",elem:$r.elem,marginLeft:Tt+"em"},{type:"kern",size:Fe.fontMetrics().bigOpSpacing5}]},Fe)}else return $;return nr.makeSpan(["mop","op-limits"],[si],Fe)},yo=["\\smallint"],to=function($,he){var ge,Fe,ct=!1,Tt,br=Br($,"supsub");br?(ge=br.sup,Fe=br.sub,Tt=Xr(br.base,"op"),ct=!0):Tt=Xr($,"op");var Ir=he.style,$r=!1;Ir.size===K.DISPLAY.size&&Tt.symbol&&!v.contains(yo,Tt.name)&&($r=!0);var Cn;if(Tt.symbol){var Wn=$r?"Size2-Regular":"Size1-Regular",si="";if((Tt.name==="\\oiint"||Tt.name==="\\oiiint")&&(si=Tt.name.substr(1),Tt.name=si==="oiint"?"\\iint":"\\iiint"),Cn=nr.makeSymbol(Tt.name,Wn,"math",he,["mop","op-symbol",$r?"large-op":"small-op"]),si.length>0){var Ei=Cn.italic,zi=nr.staticSvg(si+"Size"+($r?"2":"1"),he);Cn=nr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Cn,shift:0},{type:"elem",elem:zi,shift:$r?.08:0}]},he),Tt.name="\\"+si,Cn.classes.unshift("mop"),Cn.italic=Ei}}else if(Tt.body){var la=fn(Tt.body,he,!0);la.length===1&&la[0]instanceof Ke?(Cn=la[0],Cn.classes[0]="mop"):Cn=nr.makeSpan(["mop"],nr.tryCombineChars(la),he)}else{for(var va=[],$a=1;$a0){for(var $r=Tt.body.map(function(Ei){var zi=Ei.text;return typeof zi=="string"?{type:"textord",mode:Ei.mode,text:zi}:Ei}),Cn=fn($r,he.withFont("mathrm"),!0),Wn=0;Wn=0?Ir.setAttribute("height","+"+ct+"em"):(Ir.setAttribute("height",ct+"em"),Ir.setAttribute("depth","+"+-ct+"em")),Ir.setAttribute("voffset",ct+"em"),Ir}});function Ca(ft,$,he){for(var ge=fn(ft,$,!1),Fe=$.sizeMultiplier/he.sizeMultiplier,ct=0;ctge.height+ge.depth+br&&(br=(br+Ei-ge.height-ge.depth)/2);var zi=Cn.height-ge.height-br-Wn;ge.style.paddingLeft=si+"em";var la=nr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ge,wrapperClasses:["svg-align"]},{type:"kern",size:-(ge.height+zi)},{type:"elem",elem:Cn},{type:"kern",size:Wn}]},he);if($.index){var va=he.havingStyle(K.SCRIPTSCRIPT),$a=di($.index,va,he),eo=.6*(la.height-la.depth),ro=nr.makeVList({positionType:"shift",positionData:-eo,children:[{type:"elem",elem:$a}]},he),Lo=nr.makeSpan(["root"],[ro]);return nr.makeSpan(["mord","sqrt"],[Lo,la],he)}else return nr.makeSpan(["mord","sqrt"],[la],he)},mathmlBuilder:function($,he){var ge=$.body,Fe=$.index;return Fe?new pi.MathNode("mroot",[Wt(ge,he),Wt(Fe,he)]):new pi.MathNode("msqrt",[Wt(ge,he)])}});var Bi={display:K.DISPLAY,text:K.TEXT,script:K.SCRIPT,scriptscript:K.SCRIPTSCRIPT};on({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function($,he){var ge=$.breakOnTokenText,Fe=$.funcName,ct=$.parser,Tt=ct.parseExpression(!0,ge),br=Fe.slice(1,Fe.length-5);return{type:"styling",mode:ct.mode,style:br,body:Tt}},htmlBuilder:function($,he){var ge=Bi[$.style],Fe=he.havingStyle(ge).withFont("");return Ca($.body,Fe,he)},mathmlBuilder:function($,he){var ge=Bi[$.style],Fe=he.havingStyle(ge),ct=Pi($.body,Fe),Tt=new pi.MathNode("mstyle",ct),br={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Ir=br[$.style];return Tt.setAttribute("scriptlevel",Ir[0]),Tt.setAttribute("displaystyle",Ir[1]),Tt}});var Ia=function($,he){var ge=$.base;if(ge)if(ge.type==="op"){var Fe=ge.limits&&(he.style.size===K.DISPLAY.size||ge.alwaysHandleSupSub);return Fe?to:null}else if(ge.type==="operatorname"){var ct=ge.alwaysHandleSupSub&&(he.style.size===K.DISPLAY.size||ge.limits);return ct?Qa:null}else{if(ge.type==="accent")return v.isCharacterBox(ge.base)?Rn:null;if(ge.type==="horizBrace"){var Tt=!$.sub;return Tt===ge.isOver?Ya:null}else return null}else return null};ci({type:"supsub",htmlBuilder:function($,he){var ge=Ia($,he);if(ge)return ge($,he);var Fe=$.base,ct=$.sup,Tt=$.sub,br=di(Fe,he),Ir,$r,Cn=he.fontMetrics(),Wn=0,si=0,Ei=Fe&&v.isCharacterBox(Fe);if(ct){var zi=he.havingStyle(he.style.sup());Ir=di(ct,zi,he),Ei||(Wn=br.height-zi.fontMetrics().supDrop*zi.sizeMultiplier/he.sizeMultiplier)}if(Tt){var la=he.havingStyle(he.style.sub());$r=di(Tt,la,he),Ei||(si=br.depth+la.fontMetrics().subDrop*la.sizeMultiplier/he.sizeMultiplier)}var va;he.style===K.DISPLAY?va=Cn.sup1:he.style.cramped?va=Cn.sup3:va=Cn.sup2;var $a=he.sizeMultiplier,eo=.5/Cn.ptPerEm/$a+"em",ro=null;if($r){var Lo=$.base&&$.base.type==="op"&&$.base.name&&($.base.name==="\\oiint"||$.base.name==="\\oiiint");(br instanceof Ke||Lo)&&(ro=-br.italic+"em")}var Eo;if(Ir&&$r){Wn=Math.max(Wn,va,Ir.depth+.25*Cn.xHeight),si=Math.max(si,Cn.sub2);var Gi=Cn.defaultRuleThickness,po=4*Gi;if(Wn-Ir.depth-($r.height-si)0&&(Wn+=wo,si-=wo)}var ts=[{type:"elem",elem:$r,shift:si,marginRight:eo,marginLeft:ro},{type:"elem",elem:Ir,shift:-Wn,marginRight:eo}];Eo=nr.makeVList({positionType:"individualShift",children:ts},he)}else if($r){si=Math.max(si,Cn.sub1,$r.height-.8*Cn.xHeight);var No=[{type:"elem",elem:$r,marginLeft:ro,marginRight:eo}];Eo=nr.makeVList({positionType:"shift",positionData:si,children:No},he)}else if(Ir)Wn=Math.max(Wn,va,Ir.depth+.25*Cn.xHeight),Eo=nr.makeVList({positionType:"shift",positionData:-Wn,children:[{type:"elem",elem:Ir,marginRight:eo}]},he);else throw new Error("supsub must have either sup or sub.");var Io=Xn(br,"right")||"mord";return nr.makeSpan([Io],[br,nr.makeSpan(["msupsub"],[Eo])],he)},mathmlBuilder:function($,he){var ge=!1,Fe,ct,Tt=Br($.base,"horizBrace");Tt&&(ct=!!$.sup,ct===Tt.isOver&&(ge=!0,Fe=Tt.isOver)),$.base&&($.base.type==="op"||$.base.type==="operatorname")&&($.base.parentIsSupSub=!0);var br=[Wt($.base,he)];$.sub&&br.push(Wt($.sub,he)),$.sup&&br.push(Wt($.sup,he));var Ir;if(ge)Ir=Fe?"mover":"munder";else if($.sub)if($.sup){var Wn=$.base;Wn&&Wn.type==="op"&&Wn.limits&&he.style===K.DISPLAY||Wn&&Wn.type==="operatorname"&&Wn.alwaysHandleSupSub&&(he.style===K.DISPLAY||Wn.limits)?Ir="munderover":Ir="msubsup"}else{var Cn=$.base;Cn&&Cn.type==="op"&&Cn.limits&&(he.style===K.DISPLAY||Cn.alwaysHandleSupSub)||Cn&&Cn.type==="operatorname"&&Cn.alwaysHandleSupSub&&(Cn.limits||he.style===K.DISPLAY)?Ir="munder":Ir="msub"}else{var $r=$.base;$r&&$r.type==="op"&&$r.limits&&(he.style===K.DISPLAY||$r.alwaysHandleSupSub)||$r&&$r.type==="operatorname"&&$r.alwaysHandleSupSub&&($r.limits||he.style===K.DISPLAY)?Ir="mover":Ir="msup"}var si=new pi.MathNode(Ir,br);return si}}),ci({type:"atom",htmlBuilder:function($,he){return nr.mathsym($.text,$.mode,he,["m"+$.family])},mathmlBuilder:function($,he){var ge=new pi.MathNode("mo",[ln($.text,$.mode)]);if($.family==="bin"){var Fe=Ji($,he);Fe==="bold-italic"&&ge.setAttribute("mathvariant",Fe)}else $.family==="punct"?ge.setAttribute("separator","true"):($.family==="open"||$.family==="close")&&ge.setAttribute("stretchy","false");return ge}});var Vo={mi:"italic",mn:"normal",mtext:"normal"};ci({type:"mathord",htmlBuilder:function($,he){return nr.makeOrd($,he,"mathord")},mathmlBuilder:function($,he){var ge=new pi.MathNode("mi",[ln($.text,$.mode,he)]),Fe=Ji($,he)||"italic";return Fe!==Vo[ge.type]&&ge.setAttribute("mathvariant",Fe),ge}}),ci({type:"textord",htmlBuilder:function($,he){return nr.makeOrd($,he,"textord")},mathmlBuilder:function($,he){var ge=ln($.text,$.mode,he),Fe=Ji($,he)||"normal",ct;return $.mode==="text"?ct=new pi.MathNode("mtext",[ge]):/[0-9]/.test($.text)?ct=new pi.MathNode("mn",[ge]):$.text==="\\prime"?ct=new pi.MathNode("mo",[ge]):ct=new pi.MathNode("mi",[ge]),Fe!==Vo[ct.type]&&ct.setAttribute("mathvariant",Fe),ct}});var Uo={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Xo={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};ci({type:"spacing",htmlBuilder:function($,he){if(Xo.hasOwnProperty($.text)){var ge=Xo[$.text].className||"";if($.mode==="text"){var Fe=nr.makeOrd($,he,"textord");return Fe.classes.push(ge),Fe}else return nr.makeSpan(["mspace",ge],[nr.mathsym($.text,$.mode,he)],he)}else{if(Uo.hasOwnProperty($.text))return nr.makeSpan(["mspace",Uo[$.text]],[],he);throw new c('Unknown type of space "'+$.text+'"')}},mathmlBuilder:function($,he){var ge;if(Xo.hasOwnProperty($.text))ge=new pi.MathNode("mtext",[new pi.TextNode("\xA0")]);else{if(Uo.hasOwnProperty($.text))return new pi.MathNode("mspace");throw new c('Unknown type of space "'+$.text+'"')}return ge}});var Yo=function(){var $=new pi.MathNode("mtd",[]);return $.setAttribute("width","50%"),$};ci({type:"tag",mathmlBuilder:function($,he){var ge=new pi.MathNode("mtable",[new pi.MathNode("mtr",[Yo(),new pi.MathNode("mtd",[aa($.body,he)]),Yo(),new pi.MathNode("mtd",[aa($.tag,he)])])]);return ge.setAttribute("width","100%"),ge}});var bo={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Oa={"\\textbf":"textbf","\\textmd":"textmd"},Fo={"\\textit":"textit","\\textup":"textup"},ss=function($,he){var ge=$.font;return ge?bo[ge]?he.withTextFontFamily(bo[ge]):Oa[ge]?he.withTextFontWeight(Oa[ge]):he.withTextFontShape(Fo[ge]):he};on({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function($,he){var ge=$.parser,Fe=$.funcName,ct=he[0];return{type:"text",mode:ge.mode,body:ri(ct),font:Fe}},htmlBuilder:function($,he){var ge=ss($,he),Fe=fn($.body,ge,!0);return nr.makeSpan(["mord","text"],nr.tryCombineChars(Fe),ge)},mathmlBuilder:function($,he){var ge=ss($,he);return aa($.body,ge)}}),on({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function($,he){var ge=$.parser;return{type:"underline",mode:ge.mode,body:he[0]}},htmlBuilder:function($,he){var ge=di($.body,he),Fe=nr.makeLineSpan("underline-line",he),ct=he.fontMetrics().defaultRuleThickness,Tt=nr.makeVList({positionType:"top",positionData:ge.height,children:[{type:"kern",size:ct},{type:"elem",elem:Fe},{type:"kern",size:3*ct},{type:"elem",elem:ge}]},he);return nr.makeSpan(["mord","underline"],[Tt],he)},mathmlBuilder:function($,he){var ge=new pi.MathNode("mo",[new pi.TextNode("\u203E")]);ge.setAttribute("stretchy","true");var Fe=new pi.MathNode("munder",[Wt($.body,he),ge]);return Fe.setAttribute("accentunder","true"),Fe}}),on({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function($,he,ge){throw new c("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function($,he){for(var ge=ho($),Fe=[],ct=he.havingStyle(he.style.text()),Tt=0;Tt0&&(this.undefStack[this.undefStack.length-1][ge]=Fe)}else{var br=this.undefStack[this.undefStack.length-1];br&&!br.hasOwnProperty(ge)&&(br[ge]=this.current[ge])}this.current[ge]=Fe},ft}(),Ho={},Go=Ho;function zr(ft,$){Ho[ft]=$}zr("\\@firstoftwo",function(ft){var $=ft.consumeArgs(2);return{tokens:$[0],numArgs:0}}),zr("\\@secondoftwo",function(ft){var $=ft.consumeArgs(2);return{tokens:$[1],numArgs:0}}),zr("\\@ifnextchar",function(ft){var $=ft.consumeArgs(3),he=ft.future();return $[0].length===1&&$[0][0].text===he.text?{tokens:$[1],numArgs:0}:{tokens:$[2],numArgs:0}}),zr("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),zr("\\TextOrMath",function(ft){var $=ft.consumeArgs(2);return ft.mode==="text"?{tokens:$[0],numArgs:0}:{tokens:$[1],numArgs:0}});var Bo={"0":0,"1":1,"2":2,"3":3,"4":4,"5":5,"6":6,"7":7,"8":8,"9":9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};zr("\\char",function(ft){var $=ft.popToken(),he,ge="";if($.text==="'")he=8,$=ft.popToken();else if($.text==='"')he=16,$=ft.popToken();else if($.text==="`")if($=ft.popToken(),$.text[0]==="\\")ge=$.text.charCodeAt(1);else{if($.text==="EOF")throw new c("\\char` missing argument");ge=$.text.charCodeAt(0)}else he=10;if(he){if(ge=Bo[$.text],ge==null||ge>=he)throw new c("Invalid base-"+he+" digit "+$.text);for(var Fe;(Fe=Bo[ft.future().text])!=null&&Fe":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};zr("\\dots",function(ft){var $="\\dotso",he=ft.expandAfterFuture().text;return he in Ps?$=Ps[he]:he.substr(0,4)==="\\not"?$="\\dotsb":he in $e.math&&(v.contains(["bin","rel"],$e.math[he].group)&&($="\\dotsb")),$});var io={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};zr("\\dotso",function(ft){var $=ft.future().text;return $ in io?"\\ldots\\,":"\\ldots"}),zr("\\dotsc",function(ft){var $=ft.future().text;return $ in io&&$!==","?"\\ldots\\,":"\\ldots"}),zr("\\cdots",function(ft){var $=ft.future().text;return $ in io?"\\@cdots\\,":"\\@cdots"}),zr("\\dotsb","\\cdots"),zr("\\dotsm","\\cdots"),zr("\\dotsi","\\!\\cdots"),zr("\\dotsx","\\ldots\\,"),zr("\\DOTSI","\\relax"),zr("\\DOTSB","\\relax"),zr("\\DOTSX","\\relax"),zr("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),zr("\\,","\\tmspace+{3mu}{.1667em}"),zr("\\thinspace","\\,"),zr("\\>","\\mskip{4mu}"),zr("\\:","\\tmspace+{4mu}{.2222em}"),zr("\\medspace","\\:"),zr("\\;","\\tmspace+{5mu}{.2777em}"),zr("\\thickspace","\\;"),zr("\\!","\\tmspace-{3mu}{.1667em}"),zr("\\negthinspace","\\!"),zr("\\negmedspace","\\tmspace-{4mu}{.2222em}"),zr("\\negthickspace","\\tmspace-{5mu}{.277em}"),zr("\\enspace","\\kern.5em "),zr("\\enskip","\\hskip.5em\\relax"),zr("\\quad","\\hskip1em\\relax"),zr("\\qquad","\\hskip2em\\relax"),zr("\\tag","\\@ifstar\\tag@literal\\tag@paren"),zr("\\tag@paren","\\tag@literal{({#1})}"),zr("\\tag@literal",function(ft){if(ft.macros.get("\\df@tag"))throw new c("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),zr("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),zr("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),zr("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),zr("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),zr("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),zr("\\\\","\\newline"),zr("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Ao=pt["Main-Regular"]["T".charCodeAt(0)][1]-.7*pt["Main-Regular"]["A".charCodeAt(0)][1]+"em";zr("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Ao+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),zr("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Ao+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),zr("\\hspace","\\@ifstar\\@hspacer\\@hspace"),zr("\\@hspace","\\hskip #1\\relax"),zr("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),zr("\\ordinarycolon",":"),zr("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),zr("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),zr("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),zr("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),zr("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),zr("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),zr("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),zr("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),zr("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),zr("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),zr("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),zr("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),zr("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),zr("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),zr("\u2237","\\dblcolon"),zr("\u2239","\\eqcolon"),zr("\u2254","\\coloneqq"),zr("\u2255","\\eqqcolon"),zr("\u2A74","\\Coloneqq"),zr("\\ratio","\\vcentcolon"),zr("\\coloncolon","\\dblcolon"),zr("\\colonequals","\\coloneqq"),zr("\\coloncolonequals","\\Coloneqq"),zr("\\equalscolon","\\eqqcolon"),zr("\\equalscoloncolon","\\Eqqcolon"),zr("\\colonminus","\\coloneq"),zr("\\coloncolonminus","\\Coloneq"),zr("\\minuscolon","\\eqcolon"),zr("\\minuscoloncolon","\\Eqcolon"),zr("\\coloncolonapprox","\\Colonapprox"),zr("\\coloncolonsim","\\Colonsim"),zr("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),zr("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),zr("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),zr("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),zr("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),zr("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),zr("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),zr("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),zr("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),zr("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),zr("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),zr("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),zr("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),zr("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),zr("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),zr("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),zr("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),zr("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),zr("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),zr("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),zr("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),zr("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),zr("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),zr("\u27E6","\\llbracket"),zr("\u27E7","\\rrbracket"),zr("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),zr("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),zr("\u2983","\\lBrace"),zr("\u2984","\\rBrace"),zr("\\darr","\\downarrow"),zr("\\dArr","\\Downarrow"),zr("\\Darr","\\Downarrow"),zr("\\lang","\\langle"),zr("\\rang","\\rangle"),zr("\\uarr","\\uparrow"),zr("\\uArr","\\Uparrow"),zr("\\Uarr","\\Uparrow"),zr("\\N","\\mathbb{N}"),zr("\\R","\\mathbb{R}"),zr("\\Z","\\mathbb{Z}"),zr("\\alef","\\aleph"),zr("\\alefsym","\\aleph"),zr("\\Alpha","\\mathrm{A}"),zr("\\Beta","\\mathrm{B}"),zr("\\bull","\\bullet"),zr("\\Chi","\\mathrm{X}"),zr("\\clubs","\\clubsuit"),zr("\\cnums","\\mathbb{C}"),zr("\\Complex","\\mathbb{C}"),zr("\\Dagger","\\ddagger"),zr("\\diamonds","\\diamondsuit"),zr("\\empty","\\emptyset"),zr("\\Epsilon","\\mathrm{E}"),zr("\\Eta","\\mathrm{H}"),zr("\\exist","\\exists"),zr("\\harr","\\leftrightarrow"),zr("\\hArr","\\Leftrightarrow"),zr("\\Harr","\\Leftrightarrow"),zr("\\hearts","\\heartsuit"),zr("\\image","\\Im"),zr("\\infin","\\infty"),zr("\\Iota","\\mathrm{I}"),zr("\\isin","\\in"),zr("\\Kappa","\\mathrm{K}"),zr("\\larr","\\leftarrow"),zr("\\lArr","\\Leftarrow"),zr("\\Larr","\\Leftarrow"),zr("\\lrarr","\\leftrightarrow"),zr("\\lrArr","\\Leftrightarrow"),zr("\\Lrarr","\\Leftrightarrow"),zr("\\Mu","\\mathrm{M}"),zr("\\natnums","\\mathbb{N}"),zr("\\Nu","\\mathrm{N}"),zr("\\Omicron","\\mathrm{O}"),zr("\\plusmn","\\pm"),zr("\\rarr","\\rightarrow"),zr("\\rArr","\\Rightarrow"),zr("\\Rarr","\\Rightarrow"),zr("\\real","\\Re"),zr("\\reals","\\mathbb{R}"),zr("\\Reals","\\mathbb{R}"),zr("\\Rho","\\mathrm{P}"),zr("\\sdot","\\cdot"),zr("\\sect","\\S"),zr("\\spades","\\spadesuit"),zr("\\sub","\\subset"),zr("\\sube","\\subseteq"),zr("\\supe","\\supseteq"),zr("\\Tau","\\mathrm{T}"),zr("\\thetasym","\\vartheta"),zr("\\weierp","\\wp"),zr("\\Zeta","\\mathrm{Z}"),zr("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),zr("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),zr("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),zr("\\blue","\\textcolor{##6495ed}{#1}"),zr("\\orange","\\textcolor{##ffa500}{#1}"),zr("\\pink","\\textcolor{##ff00af}{#1}"),zr("\\red","\\textcolor{##df0030}{#1}"),zr("\\green","\\textcolor{##28ae7b}{#1}"),zr("\\gray","\\textcolor{gray}{#1}"),zr("\\purple","\\textcolor{##9d38bd}{#1}"),zr("\\blueA","\\textcolor{##ccfaff}{#1}"),zr("\\blueB","\\textcolor{##80f6ff}{#1}"),zr("\\blueC","\\textcolor{##63d9ea}{#1}"),zr("\\blueD","\\textcolor{##11accd}{#1}"),zr("\\blueE","\\textcolor{##0c7f99}{#1}"),zr("\\tealA","\\textcolor{##94fff5}{#1}"),zr("\\tealB","\\textcolor{##26edd5}{#1}"),zr("\\tealC","\\textcolor{##01d1c1}{#1}"),zr("\\tealD","\\textcolor{##01a995}{#1}"),zr("\\tealE","\\textcolor{##208170}{#1}"),zr("\\greenA","\\textcolor{##b6ffb0}{#1}"),zr("\\greenB","\\textcolor{##8af281}{#1}"),zr("\\greenC","\\textcolor{##74cf70}{#1}"),zr("\\greenD","\\textcolor{##1fab54}{#1}"),zr("\\greenE","\\textcolor{##0d923f}{#1}"),zr("\\goldA","\\textcolor{##ffd0a9}{#1}"),zr("\\goldB","\\textcolor{##ffbb71}{#1}"),zr("\\goldC","\\textcolor{##ff9c39}{#1}"),zr("\\goldD","\\textcolor{##e07d10}{#1}"),zr("\\goldE","\\textcolor{##a75a05}{#1}"),zr("\\redA","\\textcolor{##fca9a9}{#1}"),zr("\\redB","\\textcolor{##ff8482}{#1}"),zr("\\redC","\\textcolor{##f9685d}{#1}"),zr("\\redD","\\textcolor{##e84d39}{#1}"),zr("\\redE","\\textcolor{##bc2612}{#1}"),zr("\\maroonA","\\textcolor{##ffbde0}{#1}"),zr("\\maroonB","\\textcolor{##ff92c6}{#1}"),zr("\\maroonC","\\textcolor{##ed5fa6}{#1}"),zr("\\maroonD","\\textcolor{##ca337c}{#1}"),zr("\\maroonE","\\textcolor{##9e034e}{#1}"),zr("\\purpleA","\\textcolor{##ddd7ff}{#1}"),zr("\\purpleB","\\textcolor{##c6b9fc}{#1}"),zr("\\purpleC","\\textcolor{##aa87ff}{#1}"),zr("\\purpleD","\\textcolor{##7854ab}{#1}"),zr("\\purpleE","\\textcolor{##543b78}{#1}"),zr("\\mintA","\\textcolor{##f5f9e8}{#1}"),zr("\\mintB","\\textcolor{##edf2df}{#1}"),zr("\\mintC","\\textcolor{##e0e5cc}{#1}"),zr("\\grayA","\\textcolor{##f6f7f7}{#1}"),zr("\\grayB","\\textcolor{##f0f1f2}{#1}"),zr("\\grayC","\\textcolor{##e3e5e6}{#1}"),zr("\\grayD","\\textcolor{##d6d8da}{#1}"),zr("\\grayE","\\textcolor{##babec2}{#1}"),zr("\\grayF","\\textcolor{##888d93}{#1}"),zr("\\grayG","\\textcolor{##626569}{#1}"),zr("\\grayH","\\textcolor{##3b3e40}{#1}"),zr("\\grayI","\\textcolor{##21242c}{#1}"),zr("\\kaBlue","\\textcolor{##314453}{#1}"),zr("\\kaGreen","\\textcolor{##71B307}{#1}");var Jo={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},ns=function(){function ft(he,ge,Fe){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=ge,this.expansionCount=0,this.feed(he),this.macros=new es(Go,ge.macros),this.mode=Fe,this.stack=[]}var $=ft.prototype;return $.feed=function(ge){this.lexer=new go(ge,this.settings)},$.switchMode=function(ge){this.mode=ge},$.beginGroup=function(){this.macros.beginGroup()},$.endGroup=function(){this.macros.endGroup()},$.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},$.popToken=function(){return this.future(),this.stack.pop()},$.pushToken=function(ge){this.stack.push(ge)},$.pushTokens=function(ge){var Fe;(Fe=this.stack).push.apply(Fe,ge)},$.consumeSpaces=function(){for(;;){var ge=this.future();if(ge.text===" ")this.stack.pop();else break}},$.consumeArgs=function(ge){for(var Fe=[],ct=0;ctthis.settings.maxExpand)throw new c("Too many expansions: infinite loop or need to increase maxExpand setting");var Tt=ct.tokens;if(ct.numArgs){var br=this.consumeArgs(ct.numArgs);Tt=Tt.slice();for(var Ir=Tt.length-1;Ir>=0;--Ir){var $r=Tt[Ir];if($r.text==="#"){if(Ir===0)throw new c("Incomplete placeholder at end of macro body",$r);if($r=Tt[--Ir],$r.text==="#")Tt.splice(Ir+1,1);else if(/^[1-9]$/.test($r.text)){var Cn;(Cn=Tt).splice.apply(Cn,[Ir,2].concat(br[+$r.text-1]))}else throw new c("Not a valid argument number",$r)}}}return this.pushTokens(Tt),Tt},$.expandAfterFuture=function(){return this.expandOnce(),this.future()},$.expandNextToken=function(){for(;;){var ge=this.expandOnce();if(ge instanceof f)if(ge.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},$.expandMacro=function(ge){if(!this.macros.get(ge))return;var Fe=[],ct=this.stack.length;for(this.pushToken(new f(ge));this.stack.length>ct;){var Tt=this.expandOnce();Tt instanceof f&&Fe.push(this.stack.pop())}return Fe},$.expandMacroAsText=function(ge){var Fe=this.expandMacro(ge);return Fe&&Fe.map(function(ct){return ct.text}).join("")},$._getExpansion=function(ge){var Fe=this.macros.get(ge);if(Fe==null)return Fe;var ct=typeof Fe=="function"?Fe(this):Fe;if(typeof ct=="string"){var Tt=0;if(ct.indexOf("#")!==-1)for(var br=ct.replace(/##/g,"");br.indexOf("#"+(Tt+1))!==-1;)++Tt;for(var Ir=new go(ct,this.settings),$r=[],Cn=Ir.lex();Cn.text!=="EOF";)$r.push(Cn),Cn=Ir.lex();$r.reverse();var Wn={tokens:$r,numArgs:Tt};return Wn}return ct},$.isDefined=function(ge){return this.macros.has(ge)||Fa.hasOwnProperty(ge)||$e.math.hasOwnProperty(ge)||$e.text.hasOwnProperty(ge)||Jo.hasOwnProperty(ge)},ft}(),ys={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"}},ps={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u010F:"d\u030C",\u1E0B:"d\u0307",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u013A:"l\u0301",\u013E:"l\u030C",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u010E:"D\u030C",\u1E0A:"D\u0307",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0139:"L\u0301",\u013D:"L\u030C",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u0164:"T\u030C",\u1E6A:"T\u0307",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},Ls=function(){function ft(he,ge){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new ns(he,ge,this.mode),this.settings=ge,this.leftrightDepth=0}var $=ft.prototype;return $.expect=function(ge,Fe){if(Fe===void 0&&(Fe=!0),this.fetch().text!==ge)throw new c("Expected '"+ge+"', got '"+this.fetch().text+"'",this.fetch());Fe&&this.consume()},$.consume=function(){this.nextToken=null},$.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},$.switchMode=function(ge){this.mode=ge,this.gullet.switchMode(ge)},$.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var ge=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),ge},$.parseExpression=function(ge,Fe){for(var ct=[];;){this.mode==="math"&&this.consumeSpaces();var Tt=this.fetch();if(ft.endOfExpression.indexOf(Tt.text)!==-1)break;if(Fe&&Tt.text===Fe)break;if(ge&&Fa[Tt.text]&&Fa[Tt.text].infix)break;var br=this.parseAtom(Fe);if(!br)break;ct.push(br)}return this.mode==="text"&&this.formLigatures(ct),this.handleInfixNodes(ct)},$.handleInfixNodes=function(ge){for(var Fe=-1,ct,Tt=0;Tt0&&!Wn||$r===0&&!Wn&&this.mode==="math",Ei=this.parseGroupOfType("argument to '"+ge+"'",Cn,Wn,Tt,si);if(!Ei){if(Wn){Ir.push(null);continue}throw new c("Expected group after '"+ge+"'",this.fetch())}(Wn?Ir:br).push(Ei)}return{args:br,optArgs:Ir}},$.parseGroupOfType=function(ge,Fe,ct,Tt,br){switch(Fe){case"color":return br&&this.consumeSpaces(),this.parseColorGroup(ct);case"size":return br&&this.consumeSpaces(),this.parseSizeGroup(ct);case"url":return this.parseUrlGroup(ct,br);case"math":case"text":return this.parseGroup(ge,ct,Tt,void 0,Fe,br);case"hbox":{var Ir=this.parseGroup(ge,ct,Tt,void 0,"text",br);if(!Ir)return Ir;var $r={type:"styling",mode:Ir.mode,body:[Ir],style:"text"};return $r}case"raw":{if(br&&this.consumeSpaces(),ct&&this.fetch().text==="{")return null;var Cn=this.parseStringGroup("raw",ct,!0);if(Cn)return{type:"raw",mode:"text",string:Cn.text};throw new c("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(ge,ct,Tt,void 0,void 0,br);default:throw new c("Unknown group type as "+ge,this.fetch())}},$.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},$.parseStringGroup=function(ge,Fe,ct){var Tt=Fe?"[":"{",br=Fe?"]":"}",Ir=this.fetch();if(Ir.text!==Tt){if(Fe)return null;if(ct&&Ir.text!=="EOF"&&/[^{}[\]]/.test(Ir.text))return this.consume(),Ir}var $r=this.mode;this.mode="text",this.expect(Tt);for(var Cn="",Wn=this.fetch(),si=0,Ei=Wn,zi;(zi=this.fetch()).text!==br||ct&&si>0;){switch(zi.text){case"EOF":throw new c("Unexpected end of input in "+ge,Wn.range(Ei,Cn));case Tt:si++;break;case br:si--;break}Ei=zi,Cn+=Ei.text,this.consume()}return this.expect(br),this.mode=$r,Wn.range(Ei,Cn)},$.parseRegexGroup=function(ge,Fe){var ct=this.mode;this.mode="text";for(var Tt=this.fetch(),br=Tt,Ir="",$r;($r=this.fetch()).text!=="EOF"&&ge.test(Ir+$r.text);)br=$r,Ir+=br.text,this.consume();if(Ir==="")throw new c("Invalid "+Fe+": '"+Tt.text+"'",Tt);return this.mode=ct,Tt.range(br,Ir)},$.parseColorGroup=function(ge){var Fe=this.parseStringGroup("color",ge);if(!Fe)return null;var ct=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(Fe.text);if(!ct)throw new c("Invalid color: '"+Fe.text+"'",Fe);var Tt=ct[0];return/^[0-9a-f]{6}$/i.test(Tt)&&(Tt="#"+Tt),{type:"color-token",mode:this.mode,color:Tt}},$.parseSizeGroup=function(ge){var Fe,ct=!1;if(!ge&&this.fetch().text!=="{"?Fe=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):Fe=this.parseStringGroup("size",ge),!Fe)return null;!ge&&Fe.text.length===0&&(Fe.text="0pt",ct=!0);var Tt=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(Fe.text);if(!Tt)throw new c("Invalid size: '"+Fe.text+"'",Fe);var br={number:+(Tt[1]+Tt[2]),unit:Tt[3]};if(!gr(br))throw new c("Invalid unit: '"+br.unit+"'",Fe);return{type:"size",mode:this.mode,value:br,isBlank:ct}},$.parseUrlGroup=function(ge,Fe){this.gullet.lexer.setCatcode("%",13);var ct=this.parseStringGroup("url",ge,!0);if(this.gullet.lexer.setCatcode("%",14),!ct)return null;var Tt=ct.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:Tt}},$.parseGroup=function(ge,Fe,ct,Tt,br,Ir){var $r=this.mode;br&&this.switchMode(br),Ir&&this.consumeSpaces();var Cn=this.fetch(),Wn=Cn.text,si;if(Fe?Wn==="[":Wn==="{"||Wn==="\\begingroup"){this.consume();var Ei=ft.endOfGroup[Wn];this.gullet.beginGroup();var zi=this.parseExpression(!1,Ei),la=this.fetch();this.expect(Ei),this.gullet.endGroup(),si={type:"ordgroup",mode:this.mode,loc:g.range(Cn,la),body:zi,semisimple:Wn==="\\begingroup"||void 0}}else if(Fe)si=null;else if(si=this.parseFunction(Tt,ge,ct)||this.parseSymbol(),si==null&&Wn[0]==="\\"&&!Jo.hasOwnProperty(Wn)){if(this.settings.throwOnError)throw new c("Undefined control sequence: "+Wn,Cn);si=this.formatUnsupportedCmd(Wn),this.consume()}return br&&this.switchMode($r),si},$.formLigatures=function(ge){for(var Fe=ge.length-1,ct=0;ct=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+Fe[0]+'" used in math mode',ge);var $r=$e[this.mode][Fe].group,Cn=g.range(ge),Wn;if(Ot.hasOwnProperty($r)){var si=$r;Wn={type:"atom",mode:this.mode,family:si,loc:Cn,text:Fe}}else Wn={type:$r,mode:this.mode,loc:Cn,text:Fe};Ir=Wn}else if(Fe.charCodeAt(0)>=128)this.settings.strict&&(X(Fe.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+Fe[0]+'" used in math mode',ge):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+Fe[0]+'"'+(" ("+Fe.charCodeAt(0)+")"),ge)),Ir={type:"textord",mode:"text",loc:g.range(ge),text:Fe};else return null;if(this.consume(),br)for(var Ei=0;Ei-h}function w(V,W){var X=W?V.textFill:V.fill;return X!=null&&X!==i}function b(V,W){var X=W?V.textStroke:V.stroke;return X!=null&&X!==i}function E(V,W){W&&T(V,"transform","matrix("+n.call(W,",")+")")}function T(V,W,X){(!X||X.type!=="linear"&&X.type!=="radial")&&V.setAttribute(W,X)}function _(V,W,X){V.setAttributeNS("http://www.w3.org/1999/xlink",W,X)}function x(V,W,X,J){if(w(W,X)){var de=X?W.textFill:W.fill;de=de==="transparent"?i:de,T(V,"fill",de),T(V,"fill-opacity",W.fillOpacity!=null?W.fillOpacity*W.opacity:W.opacity)}else T(V,"fill",i);if(b(W,X)){var G=X?W.textStroke:W.stroke;G=G==="transparent"?i:G,T(V,"stroke",G);var ae=X?W.textStrokeWidth:W.lineWidth,Ae=!X&&W.strokeNoScale?J.getLineScale():1;T(V,"stroke-width",ae/Ae),T(V,"paint-order",X?"stroke":"fill"),T(V,"stroke-opacity",W.strokeOpacity!=null?W.strokeOpacity:W.opacity);var me=W.lineDash;me?(T(V,"stroke-dasharray",W.lineDash.join(",")),T(V,"stroke-dashoffset",o(W.lineDashOffset||0))):T(V,"stroke-dasharray",""),W.lineCap&&T(V,"stroke-linecap",W.lineCap),W.lineJoin&&T(V,"stroke-linejoin",W.lineJoin),W.miterLimit&&T(V,"stroke-miterlimit",W.miterLimit)}else T(V,"stroke",i)}function C(V){for(var W=[],X=V.data,J=V.len(),de=0;de=s:-ne>=s),ce=ne>0?ne%s:ne%s+s,ke=!1;re?ke=!0:v(ue)?ke=!1:ke=ce>=e===!!Ee;var Te=A(me+oe*l(ee)),Ke=A(Me+_e*r(ee));re&&(Ee?ne=s-1e-4:ne=-s+1e-4,ke=!0,de===9&&W.push("M",Te,Ke));var Ie=A(me+oe*l(ee+ne)),se=A(Me+_e*r(ee+ne));W.push("A",A(oe),A(_e),o(Ge*u),+ke,+Ee,Ie,se);break;case a.Z:ae="Z";break;case a.R:var Ie=A(X[de++]),se=A(X[de++]),ye=A(X[de++]),xe=A(X[de++]);W.push("M",Ie,se,"L",Ie+ye,se,"L",Ie+ye,se+xe,"L",Ie,se+xe,"L",Ie,se);break}ae&&W.push(ae);for(var Ye=0;Yent){for(;Ye0?"-".concat(b):b,F=!!T,B=c()(E,I,"".concat(I,"-").concat(v),(e={},m()(e,"".concat(I,"-with-text"),F),m()(e,"".concat(I,"-with-text").concat(L),F),m()(e,"".concat(I,"-dashed"),!!_),m()(e,"".concat(I,"-plain"),!!x),m()(e,"".concat(I,"-rtl"),u==="rtl"),e));return g.createElement("div",p()({className:B},C,{role:"separator"}),T&&g.createElement("span",{className:"".concat(I,"-inner-text")},T))})};N.a=i},PD8m:function(R,N){R.exports={name:"memoryStorage",read:y,write:p,each:S,remove:m,clearAll:g};var t={};function y(f){return t[f]}function p(f,d){t[f]=d}function S(f){for(var d in t)t.hasOwnProperty(d)&&f(t[d],d)}function m(f){delete t[f]}function g(f){t={}}},PEeC:function(R,N,t){"use strict";t.d(N,"a",function(){return g}),t.d(N,"b",function(){return f});var y=t("RIqP"),p=t.n(y),S=t("xEkU"),m=t.n(S);function g(d){var c,a=function(o){return function(){c=null,d.apply(void 0,p()(o))}},n=function(){if(c==null){for(var o=arguments.length,r=new Array(o),l=0;l0),m()(z,"".concat(k,"-rtl"),M==="rtl"),z),K);return e.createElement(w.Provider,{value:{siderHook:P.getSiderHook()}},e.createElement(W,f()({className:J},X),j))},P}return n()(B,[{key:"getSiderHook",value:function(){var H=this;return{addSider:function(M){H.setState(function(U){return{siders:[].concat(p()(U.siders),[M])}})},removeSider:function(M){H.setState(function(U){return{siders:U.siders.filter(function(k){return k!==M})}})}}}},{key:"render",value:function(){return e.createElement(A.a,null,this.renderComponent)}}]),B}(e.Component),_=b({suffixCls:"layout",tagName:"section",displayName:"Layout"})(T),x=b({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(E),C=b({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(E),I=b({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(E);_.Header=x,_.Footer=C,_.Content=I,N.b=_},PNag:function(R,N,t){var y=t("bYtY"),p=t("SKnc"),S=t("YH21"),m=t("crZl"),g=t("IwbS"),f=t("OELB"),d=t("72pK"),c=t("y7Aq"),a=t("4NO4"),n=f.linearMap,i=y.each,o=Math.min,r=Math.max,l=12,e=6,s=m.extend({type:"visualMap.continuous",init:function(){s.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(T,_,x,C){(!C||C.type!=="selectDataRange"||C.from!==this.uid)&&this._buildView()},_buildView:function(){this.group.removeAll();var T=this.visualMapModel,_=this.group;this._orient=T.get("orient"),this._useHandle=T.get("calculable"),this._resetInterval(),this._renderBar(_);var x=T.get("text");this._renderEndsText(_,x,0),this._renderEndsText(_,x,1),this._updateView(!0),this.renderBackground(_),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(_)},_renderEndsText:function(T,_,x){if(!_)return;var C=_[1-x];C=C!=null?C+"":"";var I=this.visualMapModel,L=I.get("textGap"),F=I.itemSize,B=this._shapes.barGroup,P=this._applyTransform([F[0]/2,x===0?-L:F[1]+L],B),H=this._applyTransform(x===0?"bottom":"top",B),z=this._orient,M=this.visualMapModel.textStyleModel;this.group.add(new g.Text({style:{x:P[0],y:P[1],textVerticalAlign:z==="horizontal"?"middle":H,textAlign:z==="horizontal"?H:"center",text:C,textFont:M.getFont(),textFill:M.getTextColor()}}))},_renderBar:function(T){var _=this.visualMapModel,x=this._shapes,C=_.itemSize,I=this._orient,L=this._useHandle,F=c.getItemAlign(_,this.api,C),B=x.barGroup=this._createBarGroup(F);B.add(x.outOfRange=u()),B.add(x.inRange=u(null,L?b(this._orient):null,y.bind(this._dragHandle,this,"all",!1),y.bind(this._dragHandle,this,"all",!0)));var P=_.textStyleModel.getTextRect("\u56FD"),H=r(P.width,P.height);L&&(x.handleThumbs=[],x.handleLabels=[],x.handleLabelPoints=[],this._createHandle(B,0,C,H,I,F),this._createHandle(B,1,C,H,I,F)),this._createIndicator(B,C,H,I),T.add(B)},_createHandle:function(T,_,x,C,I){var L=y.bind(this._dragHandle,this,_,!1),F=y.bind(this._dragHandle,this,_,!0),B=u(h(_,C),b(this._orient),L,F);B.position[0]=x[0],T.add(B);var P=this.visualMapModel.textStyleModel,H=new g.Text({draggable:!0,drift:L,onmousemove:function(U){S.stop(U.event)},ondragend:F,style:{x:0,y:0,text:"",textFont:P.getFont(),textFill:P.getTextColor()}});this.group.add(H);var z=[I==="horizontal"?C/2:C*1.5,I==="horizontal"?_===0?-(C*1.5):C*1.5:_===0?-C/2:C/2],M=this._shapes;M.handleThumbs[_]=B,M.handleLabelPoints[_]=z,M.handleLabels[_]=H},_createIndicator:function(T,_,x,C){var I=u([[0,0]],"move");I.position[0]=_[0],I.attr({invisible:!0,silent:!0}),T.add(I);var L=this.visualMapModel.textStyleModel,F=new g.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:L.getFont(),textFill:L.getTextColor()}});this.group.add(F);var B=[C==="horizontal"?x/2:e+3,0],P=this._shapes;P.indicator=I,P.indicatorLabel=F,P.indicatorLabelPoint=B},_dragHandle:function(T,_,x,C){if(!this._useHandle)return;if(this._dragging=!_,!_){var I=this._applyTransform([x,C],this._shapes.barGroup,!0);this._updateInterval(T,I[1]),this._updateView()}_===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),_?!this._hovering&&this._clearHoverLinkToSeries():w(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[T],!1)},_resetInterval:function(){var T=this.visualMapModel,_=this._dataInterval=T.getSelected(),x=T.getExtent(),C=[0,T.itemSize[1]];this._handleEnds=[n(_[0],x,C,!0),n(_[1],x,C,!0)]},_updateInterval:function(T,_){_=_||0;var x=this.visualMapModel,C=this._handleEnds,I=[0,x.itemSize[1]];d(_,C,I,T,0);var L=x.getExtent();this._dataInterval=[n(C[0],I,L,!0),n(C[1],I,L,!0)]},_updateView:function(T){var _=this.visualMapModel,x=_.getExtent(),C=this._shapes,I=[0,_.itemSize[1]],L=T?I:this._handleEnds,F=this._createBarVisual(this._dataInterval,x,L,"inRange"),B=this._createBarVisual(x,x,I,"outOfRange");C.inRange.setStyle({fill:F.barColor,opacity:F.opacity}).setShape("points",F.barPoints),C.outOfRange.setStyle({fill:B.barColor,opacity:B.opacity}).setShape("points",B.barPoints),this._updateHandle(L,F)},_createBarVisual:function(T,_,x,C){var I={forceState:C,convertOpacityToAlpha:!0},L=this._makeColorGradient(T,I),F=[this.getControllerVisual(T[0],"symbolSize",I),this.getControllerVisual(T[1],"symbolSize",I)],B=this._createBarPoints(x,F);return{barColor:new p(0,0,0,1,L),barPoints:B,handlesColor:[L[0].color,L[L.length-1].color]}},_makeColorGradient:function(T,_){var x=100,C=[],I=(T[1]-T[0])/x;C.push({color:this.getControllerVisual(T[0],"color",_),offset:0});for(var L=1;LT[1])break;C.push({color:this.getControllerVisual(F,"color",_),offset:L/x})}return C.push({color:this.getControllerVisual(T[1],"color",_),offset:1}),C},_createBarPoints:function(T,_){var x=this.visualMapModel.itemSize;return[[x[0]-_[0],T[0]],[x[0],T[0]],[x[0],T[1]],[x[0]-_[1],T[1]]]},_createBarGroup:function(T){var _=this._orient,x=this.visualMapModel.get("inverse");return new g.Group(_==="horizontal"&&!x?{scale:T==="bottom"?[1,1]:[-1,1],rotation:Math.PI/2}:_==="horizontal"&&x?{scale:T==="bottom"?[-1,1]:[1,1],rotation:-Math.PI/2}:_==="vertical"&&!x?{scale:T==="left"?[1,-1]:[-1,-1]}:{scale:T==="left"?[1,1]:[-1,1]})},_updateHandle:function(T,_){if(!this._useHandle)return;var x=this._shapes,C=this.visualMapModel,I=x.handleThumbs,L=x.handleLabels;i([0,1],function(F){var B=I[F];B.setStyle("fill",_.handlesColor[F]),B.position[1]=T[F];var P=g.applyTransform(x.handleLabelPoints[F],g.getTransform(B,this.group));L[F].setStyle({x:P[0],y:P[1],text:C.formatValueText(this._dataInterval[F]),textVerticalAlign:"middle",textAlign:this._applyTransform(this._orient==="horizontal"?F===0?"bottom":"top":"left",x.barGroup)})},this)},_showIndicator:function(T,_,x,C){var I=this.visualMapModel,L=I.getExtent(),F=I.itemSize,B=[0,F[1]],P=n(T,L,B,!0),H=this._shapes,z=H.indicator;if(!z)return;z.position[1]=P,z.attr("invisible",!1),z.setShape("points",A(!!x,C,P,F[1]));var M={convertOpacityToAlpha:!0},U=this.getControllerVisual(T,"color",M);z.setStyle("fill",U);var k=g.applyTransform(H.indicatorLabelPoint,g.getTransform(z,this.group)),K=H.indicatorLabel;K.attr("invisible",!1);var j=this._applyTransform("left",H.barGroup),V=this._orient;K.setStyle({text:(x||"")+I.formatValueText(_),textVerticalAlign:V==="horizontal"?j:"middle",textAlign:V==="horizontal"?"center":j,x:k[0],y:k[1]})},_enableHoverLinkToSeries:function(){var T=this;this._shapes.barGroup.on("mousemove",function(_){if(T._hovering=!0,!T._dragging){var x=T.visualMapModel.itemSize,C=T._applyTransform([_.offsetX,_.offsetY],T._shapes.barGroup,!0,!0);C[1]=o(r(0,C[1]),x[1]),T._doHoverLinkToSeries(C[1],0<=C[0]&&C[0]<=x[0])}}).on("mouseout",function(){T._hovering=!1,!T._dragging&&T._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var T=this.api.getZr();this.visualMapModel.option.hoverLink?(T.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),T.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(T,_){var x=this.visualMapModel,C=x.itemSize;if(!x.option.hoverLink)return;var I=[0,C[1]],L=x.getExtent();T=o(r(I[0],T),I[1]);var F=v(x,L,I),B=[T-F,T+F],P=n(T,I,L,!0),H=[n(B[0],I,L,!0),n(B[1],I,L,!0)];B[0]I[1]&&(H[1]=Infinity),_&&(H[0]===-Infinity?this._showIndicator(P,H[1],"< ",F):H[1]===Infinity?this._showIndicator(P,H[0],"> ",F):this._showIndicator(P,P,"\u2248 ",F));var z=this._hoverLinkDataIndices,M=[];(_||w(x))&&(M=this._hoverLinkDataIndices=x.findTargetDataIndices(H));var U=a.compressBatches(z,M);this._dispatchHighDown("downplay",c.makeHighDownBatch(U[0],x)),this._dispatchHighDown("highlight",c.makeHighDownBatch(U[1],x))},_hoverLinkFromSeriesMouseOver:function(T){var _=T.target,x=this.visualMapModel;if(!_||_.dataIndex==null)return;var C=this.ecModel.getSeriesByIndex(_.seriesIndex);if(!x.isTargetSeries(C))return;var I=C.getData(_.dataType),L=I.get(x.getDataDimension(I),_.dataIndex,!0);isNaN(L)||this._showIndicator(L,L)},_hideIndicator:function(){var T=this._shapes;T.indicator&&T.indicator.attr("invisible",!0),T.indicatorLabel&&T.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var T=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",c.makeHighDownBatch(T,this.visualMapModel)),T.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var T=this.api.getZr();T.off("mouseover",this._hoverLinkFromSeriesMouseOver),T.off("mouseout",this._hideIndicator)},_applyTransform:function(T,_,x,C){var I=g.getTransform(_,C?null:this.group);return g[y.isArray(T)?"applyTransform":"transformDirection"](T,I,x)},_dispatchHighDown:function(T,_){_&&_.length&&this.api.dispatchAction({type:T,batch:_})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function u(T,_,x,C){return new g.Polygon({shape:{points:T},draggable:!!x,cursor:_,drift:x,onmousemove:function(I){S.stop(I.event)},ondragend:C})}function h(T,_){return T===0?[[0,0],[_,0],[_,-_]]:[[0,0],[_,0],[_,_]]}function A(T,_,x,C){return T?[[0,-o(_,r(x,0))],[e,0],[0,o(_,r(C-x,0))]]:[[0,0],[5,-5],[5,5]]}function v(T,_,x){var C=l/2,I=T.get("hoverLinkDataSize");return I&&(C=n(I,_,x,!0)/2),C}function w(T){var _=T.get("hoverLinkOnHandle");return!!(_==null?T.get("realtime"):_)}function b(T){return T==="vertical"?"ns-resize":"ew-resize"}var E=s;R.exports=E},PQMj:function(R,N,t){},PSzr:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"};N.default=y},ProS:function(R,N,t){var y=t("Tghj"),p=y.__DEV__,S=t("aX58"),m=t("bYtY"),g=t("Qe9p"),f=t("ItGF"),d=t("BPZU"),c=t("H6uX"),a=t("fmMI"),n=t("hD7B"),i=t("IDmD"),o=t("ypgQ"),r=t("+wW9"),l=t("0V0F"),e=t("bLfw"),s=t("T4UG"),u=t("sS/r"),h=t("6Ic6"),A=t("IwbS"),v=t("4NO4"),w=t("iLNv"),b=w.throttle,E=t("/WM3"),T=t("uAnK"),_=t("mYwL"),x=t("af/B"),C=t("xTNl"),I=t("8hn6");t("A1Ka");var L=t("7DRL"),F=m.assert,B=m.each,P=m.isFunction,H=m.isObject,z=e.parseClassType,M="4.8.0",U={zrender:"4.3.1"},k=1,K=1e3,j=800,V=900,W=5e3,X=1e3,J=1100,de=2e3,G=3e3,ae=3500,Ae=4e3,me=5e3,Me={PROCESSOR:{FILTER:K,SERIES_FILTER:j,STATISTIC:W},VISUAL:{LAYOUT:X,PROGRESSIVE_LAYOUT:J,GLOBAL:de,CHART:G,POST_CHART_LAYOUT:ae,COMPONENT:Ae,BRUSH:me}},oe="__flagInMainProcess",_e="__optionUpdated",ee=/^[a-zA-Z0-9_]+$/;function ne(mt,kt){return function(gr,ar,lr){if(!kt&&this._disposed){xt(this.id);return}gr=gr&&gr.toLowerCase(),c.prototype[mt].call(this,gr,ar,lr)}}function Ge(){c.call(this)}Ge.prototype.on=ne("on",!0),Ge.prototype.off=ne("off",!0),Ge.prototype.one=ne("one",!0),m.mixin(Ge,c);function Ee(mt,kt,gr){gr=gr||{},typeof kt=="string"&&(kt=lt[kt]),this.id,this.group,this._dom=mt;var ar="canvas",lr=this._zr=S.init(mt,{renderer:gr.renderer||ar,devicePixelRatio:gr.devicePixelRatio,width:gr.width,height:gr.height});this._throttledZrFlush=b(m.bind(lr.flush,lr),17);var kt=m.clone(kt);kt&&r(kt,!0),this._theme=kt,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new i;var Yr=this._api=$e(this);function Jr(Tn,Dn){return Tn.__prio-Dn.__prio}d(tr,Jr),d(qe,Jr),this._scheduler=new x(this,Yr,qe,tr),c.call(this,this._ecEventProcessor=new pe),this._messageCenter=new Ge,this._initEvents(),this.resize=m.bind(this.resize,this),this._pendingActions=[],lr.animation.on("frame",this._onframe,this),xe(lr,this),m.setAsPrimitive(this)}var ue=Ee.prototype;ue._onframe=function(){if(this._disposed)return;var mt=this._scheduler;if(this[_e]){var kt=this[_e].silent;this[oe]=!0,ke(this),ce.update.call(this),this[oe]=!1,this[_e]=!1,se.call(this,kt),ye.call(this,kt)}else if(mt.unfinished){var gr=k,ar=this._model,lr=this._api;mt.unfinished=!1;do{var Yr=+new Date;mt.performSeriesTasks(ar),mt.performDataProcessorTasks(ar),Ke(this,ar),mt.performVisualTasks(ar),vt(this,this._model,lr,"remain"),gr-=+new Date-Yr}while(gr>0&&mt.unfinished);mt.unfinished||this._zr.flush()}},ue.getDom=function(){return this._dom},ue.getZr=function(){return this._zr},ue.setOption=function(mt,kt,gr){if(this._disposed){xt(this.id);return}var ar;if(H(kt)&&(gr=kt.lazyUpdate,ar=kt.silent,kt=kt.notMerge),this[oe]=!0,!this._model||kt){var lr=new o(this._api),Yr=this._theme,Jr=this._model=new a;Jr.scheduler=this._scheduler,Jr.init(null,null,Yr,lr)}this._model.setOption(mt,le),gr?(this[_e]={silent:ar},this[oe]=!1):(ke(this),ce.update.call(this),this._zr.flush(),this[_e]=!1,this[oe]=!1,se.call(this,ar),ye.call(this,ar))},ue.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},ue.getModel=function(){return this._model},ue.getOption=function(){return this._model&&this._model.getOption()},ue.getWidth=function(){return this._zr.getWidth()},ue.getHeight=function(){return this._zr.getHeight()},ue.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},ue.getRenderedCanvas=function(mt){if(!f.canvasSupported)return;mt=mt||{},mt.pixelRatio=mt.pixelRatio||1,mt.backgroundColor=mt.backgroundColor||this._model.get("backgroundColor");var kt=this._zr;return kt.painter.getRenderedCanvas(mt)},ue.getSvgDataURL=function(){if(!f.svgSupported)return;var mt=this._zr,kt=mt.storage.getDisplayList();return m.each(kt,function(gr){gr.stopAnimation(!0)}),mt.painter.toDataURL()},ue.getDataURL=function(mt){if(this._disposed){xt(this.id);return}mt=mt||{};var kt=mt.excludeComponents,gr=this._model,ar=[],lr=this;B(kt,function(Jr){gr.eachComponent({mainType:Jr},function(Tn){var Dn=lr._componentsMap[Tn.__viewId];Dn.group.ignore||(ar.push(Dn),Dn.group.ignore=!0)})});var Yr=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.getRenderedCanvas(mt).toDataURL("image/"+(mt&&mt.type||"png"));return B(ar,function(Jr){Jr.group.ignore=!1}),Yr},ue.getConnectedDataURL=function(mt){if(this._disposed){xt(this.id);return}if(!f.canvasSupported)return;var kt=mt.type==="svg",gr=this.group,ar=Math.min,lr=Math.max,Yr=Infinity;if(Vr[gr]){var Jr=Yr,Tn=Yr,Dn=-Yr,zn=-Yr,qn=[],vi=mt&&mt.pixelRatio||1;m.each(cr,function(We,He){if(We.group===gr){var Qe=kt?We.getZr().painter.getSvgDom().innerHTML:We.getRenderedCanvas(m.clone(mt)),At=We.getDom().getBoundingClientRect();Jr=ar(At.left,Jr),Tn=ar(At.top,Tn),Dn=lr(At.right,Dn),zn=lr(At.bottom,zn),qn.push({dom:Qe,left:At.left,top:At.top})}}),Jr*=vi,Tn*=vi,Dn*=vi,zn*=vi;var Ri=Dn-Jr,Ve=zn-Tn,Se=m.createCanvas(),Re=S.init(Se,{renderer:kt?"svg":"canvas"});if(Re.resize({width:Ri,height:Ve}),kt){var Be="";return B(qn,function(We){var He=We.left-Jr,Qe=We.top-Tn;Be+=''+We.dom+""}),Re.painter.getSvgRoot().innerHTML=Be,mt.connectedBackgroundColor&&Re.painter.setBackgroundColor(mt.connectedBackgroundColor),Re.refreshImmediately(),Re.painter.toDataURL()}else return mt.connectedBackgroundColor&&Re.add(new A.Rect({shape:{x:0,y:0,width:Ri,height:Ve},style:{fill:mt.connectedBackgroundColor}})),B(qn,function(We){var He=new A.Image({style:{x:We.left*vi-Jr,y:We.top*vi-Tn,image:We.dom}});Re.add(He)}),Re.refreshImmediately(),Se.toDataURL("image/"+(mt&&mt.type||"png"))}else return this.getDataURL(mt)},ue.convertToPixel=m.curry(re,"convertToPixel"),ue.convertFromPixel=m.curry(re,"convertFromPixel");function re(mt,kt,gr){if(this._disposed){xt(this.id);return}var ar=this._model,lr=this._coordSysMgr.getCoordinateSystems(),Yr;kt=v.parseFinder(ar,kt);for(var Jr=0;Jr=0&&m.each(lr,function(Jr){var Tn=Jr.coordinateSystem;if(Tn&&Tn.containPoint)ar|=!!Tn.containPoint(kt);else if(Yr==="seriesModels"){var Dn=this._chartsMap[Jr.__viewId];Dn&&Dn.containPoint&&(ar|=Dn.containPoint(kt,Jr))}},this)},this),!!ar},ue.getVisual=function(mt,kt){var gr=this._model;mt=v.parseFinder(gr,mt,{defaultMainType:"series"});var ar=mt.seriesModel,lr=ar.getData(),Yr=mt.hasOwnProperty("dataIndexInside")?mt.dataIndexInside:mt.hasOwnProperty("dataIndex")?lr.indexOfRawIndex(mt.dataIndex):null;return Yr!=null?lr.getItemVisual(Yr,kt):lr.getVisual(kt)},ue.getViewOfComponentModel=function(mt){return this._componentsMap[mt.__viewId]},ue.getViewOfSeriesModel=function(mt){return this._chartsMap[mt.__viewId]};var ce={prepareAndUpdate:function(mt){ke(this),ce.update.call(this,mt)},update:function(mt){var kt=this._model,gr=this._api,ar=this._zr,lr=this._coordSysMgr,Yr=this._scheduler;if(!kt)return;Yr.restoreData(kt,mt),Yr.performSeriesTasks(kt),lr.create(kt,gr),Yr.performDataProcessorTasks(kt,mt),Ke(this,kt),lr.update(kt,gr),pt(kt),Yr.performVisualTasks(kt,mt),nt(this,kt,gr,mt);var Jr=kt.get("backgroundColor")||"transparent";if(f.canvasSupported)ar.setBackgroundColor(Jr);else{var Tn=g.parse(Jr);Jr=g.stringify(Tn,"rgb"),Tn[3]===0&&(Jr="transparent")}Ze(kt,gr)},updateTransform:function(mt){var kt=this._model,gr=this,ar=this._api;if(!kt)return;var lr=[];kt.eachComponent(function(Jr,Tn){var Dn=gr.getViewOfComponentModel(Tn);if(Dn&&Dn.__alive)if(Dn.updateTransform){var zn=Dn.updateTransform(Tn,kt,ar,mt);zn&&zn.update&&lr.push(Dn)}else lr.push(Dn)});var Yr=m.createHashMap();kt.eachSeries(function(Jr){var Tn=gr._chartsMap[Jr.__viewId];if(Tn.updateTransform){var Dn=Tn.updateTransform(Jr,kt,ar,mt);Dn&&Dn.update&&Yr.set(Jr.uid,1)}else Yr.set(Jr.uid,1)}),pt(kt),this._scheduler.performVisualTasks(kt,mt,{setDirty:!0,dirtyMap:Yr}),vt(gr,kt,ar,mt,Yr),Ze(kt,this._api)},updateView:function(mt){var kt=this._model;if(!kt)return;h.markUpdateMethod(mt,"updateView"),pt(kt),this._scheduler.performVisualTasks(kt,mt,{setDirty:!0}),nt(this,this._model,this._api,mt),Ze(kt,this._api)},updateVisual:function(mt){ce.update.call(this,mt)},updateLayout:function(mt){ce.update.call(this,mt)}};function ke(mt){var kt=mt._model,gr=mt._scheduler;gr.restorePipelines(kt),gr.prepareStageTasks(),Ye(mt,"component",kt,gr),Ye(mt,"chart",kt,gr),gr.plan()}function Te(mt,kt,gr,ar,lr){var Yr=mt._model;if(!ar){B(mt._componentsViews.concat(mt._chartsViews),zn);return}var Jr={};Jr[ar+"Id"]=gr[ar+"Id"],Jr[ar+"Index"]=gr[ar+"Index"],Jr[ar+"Name"]=gr[ar+"Name"];var Tn={mainType:ar,query:Jr};lr&&(Tn.subType=lr);var Dn=gr.excludeSeriesId;Dn!=null&&(Dn=m.createHashMap(v.normalizeToArray(Dn))),Yr&&Yr.eachComponent(Tn,function(qn){(!Dn||Dn.get(qn.id)==null)&&zn(mt[ar==="series"?"_chartsMap":"_componentsMap"][qn.__viewId])},mt);function zn(qn){qn&&qn.__alive&&qn[kt]&&qn[kt](qn.__model,Yr,mt._api,gr)}}ue.resize=function(mt){if(this._disposed){xt(this.id);return}this._zr.resize(mt);var kt=this._model;if(this._loadingFX&&this._loadingFX.resize(),!kt)return;var gr=kt.resetOption("media"),ar=mt&&mt.silent;this[oe]=!0,gr&&ke(this),ce.update.call(this),this[oe]=!1,se.call(this,ar),ye.call(this,ar)};function Ke(mt,kt){var gr=mt._chartsMap,ar=mt._scheduler;kt.eachSeries(function(lr){ar.updateStreamModes(lr,gr[lr.__viewId])})}ue.showLoading=function(mt,kt){if(this._disposed){xt(this.id);return}if(H(mt)&&(kt=mt,mt=""),mt=mt||"default",this.hideLoading(),!zt[mt])return;var gr=zt[mt](this._api,kt),ar=this._zr;this._loadingFX=gr,ar.add(gr)},ue.hideLoading=function(){if(this._disposed){xt(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},ue.makeActionFromEvent=function(mt){var kt=m.extend({},mt);return kt.type=bt[mt.type],kt},ue.dispatchAction=function(mt,kt){if(this._disposed){xt(this.id);return}if(H(kt)||(kt={silent:!!kt}),!q[mt.type])return;if(!this._model)return;if(this[oe]){this._pendingActions.push(mt);return}Ie.call(this,mt,kt.silent),kt.flush?this._zr.flush(!0):kt.flush!==!1&&f.browser.weChat&&this._throttledZrFlush(),se.call(this,kt.silent),ye.call(this,kt.silent)};function Ie(mt,kt){var gr=mt.type,ar=mt.escapeConnect,lr=q[gr],Yr=lr.actionInfo,Jr=(Yr.update||"update").split(":"),Tn=Jr.pop();Jr=Jr[0]!=null&&z(Jr[0]),this[oe]=!0;var Dn=[mt],zn=!1;mt.batch&&(zn=!0,Dn=m.map(mt.batch,function(Ve){return Ve=m.defaults(m.extend({},Ve),mt),Ve.batch=null,Ve}));var qn=[],vi,Ri=gr==="highlight"||gr==="downplay";B(Dn,function(Ve){vi=lr.action(Ve,this._model,this._api),vi=vi||m.extend({},Ve),vi.type=Yr.event||vi.type,qn.push(vi),Ri?Te(this,Tn,Ve,"series"):Jr&&Te(this,Tn,Ve,Jr.main,Jr.sub)},this),Tn!=="none"&&!Ri&&!Jr&&(this[_e]?(ke(this),ce.update.call(this,mt),this[_e]=!1):ce[Tn].call(this,mt)),zn?vi={type:Yr.event||gr,escapeConnect:ar,batch:qn}:vi=qn[0],this[oe]=!1,!kt&&this._messageCenter.trigger(vi.type,vi)}function se(mt){for(var kt=this._pendingActions;kt.length;){var gr=kt.shift();Ie.call(this,gr,mt)}}function ye(mt){!mt&&this.trigger("updated")}function xe(mt,kt){mt.on("rendered",function(){kt.trigger("rendered"),mt.animation.isFinished()&&!kt[_e]&&!kt._scheduler.unfinished&&!kt._pendingActions.length&&kt.trigger("finished")})}ue.appendData=function(mt){if(this._disposed){xt(this.id);return}var kt=mt.seriesIndex,gr=this.getModel(),ar=gr.getSeriesByIndex(kt);ar.appendData(mt),this._scheduler.unfinished=!0},ue.on=ne("on",!1),ue.off=ne("off",!1),ue.one=ne("one",!1);function Ye(mt,kt,gr,ar){for(var lr=kt==="component",Yr=lr?mt._componentsViews:mt._chartsViews,Jr=lr?mt._componentsMap:mt._chartsMap,Tn=mt._zr,Dn=mt._api,zn=0;znkt.get("hoverLayerThreshold")&&!f.node&&kt.eachSeries(function(Yr){if(Yr.preventUsingHoverLayer)return;var Jr=mt._chartsMap[Yr.__viewId];Jr.__alive&&Jr.group.traverse(function(Tn){Tn.useHoverLayer=!0})})}function Mt(mt,kt){var gr=mt.get("blendMode")||null;kt.group.traverse(function(ar){ar.isGroup||ar.style.blend!==gr&&ar.setStyle("blend",gr),ar.eachPendingDisplayable&&ar.eachPendingDisplayable(function(lr){lr.setStyle("blend",gr)})})}function Gt(mt,kt){var gr=mt.get("z"),ar=mt.get("zlevel");kt.group.traverse(function(lr){lr.type!=="group"&&(gr!=null&&(lr.z=gr),ar!=null&&(lr.zlevel=ar))})}function $e(mt){var kt=mt._coordSysMgr;return m.extend(new n(mt),{getCoordinateSystems:m.bind(kt.getCoordinateSystems,kt),getComponentByElement:function(gr){for(;gr;){var ar=gr.__ecComponentInfo;if(ar!=null)return mt._model.getComponent(ar.mainType,ar.index);gr=gr.parent}}})}function pe(){this.eventInfo}pe.prototype={constructor:pe,normalizeQuery:function(mt){var kt={},gr={},ar={};if(m.isString(mt)){var lr=z(mt);kt.mainType=lr.main||null,kt.subType=lr.sub||null}else{var Yr=["Index","Name","Id"],Jr={name:1,dataIndex:1,dataType:1};m.each(mt,function(Tn,Dn){for(var zn=!1,qn=0;qn0&&Ri===Dn.length-vi.length){var Ve=Dn.slice(0,Ri);Ve!=="data"&&(kt.mainType=Ve,kt[vi.toLowerCase()]=Tn,zn=!0)}}Jr.hasOwnProperty(Dn)&&(gr[Dn]=Tn,zn=!0),zn||(ar[Dn]=Tn)})}return{cptQuery:kt,dataQuery:gr,otherQuery:ar}},filter:function(mt,kt,gr){var ar=this.eventInfo;if(!ar)return!0;var lr=ar.targetEl,Yr=ar.packedEvent,Jr=ar.model,Tn=ar.view;if(!Jr||!Tn)return!0;var Dn=kt.cptQuery,zn=kt.dataQuery;return qn(Dn,Jr,"mainType")&&qn(Dn,Jr,"subType")&&qn(Dn,Jr,"index","componentIndex")&&qn(Dn,Jr,"name")&&qn(Dn,Jr,"id")&&qn(zn,Yr,"name")&&qn(zn,Yr,"dataIndex")&&qn(zn,Yr,"dataType")&&(!Tn.filterForExposedEvent||Tn.filterForExposedEvent(mt,kt.otherQuery,lr,Yr));function qn(vi,Ri,Ve,Se){return vi[Ve]==null||Ri[Se||Ve]===vi[Ve]}},afterTrigger:function(){this.eventInfo=null}};var q={},bt={},qe=[],le=[],Nt=[],tr=[],lt={},zt={},cr={},Vr={},ur=new Date-0,ir=new Date-0,Lt="_echarts_instance_";function at(mt){var kt=0,gr=1,ar=2,lr="__connectUpdateStatus";function Yr(Jr,Tn){for(var Dn=0;Dn>>1:m>>>1;g[f]=m}return g}var p=y();function S(m,g,f,d){var c=p,a=d+f;m^=-1;for(var n=d;n>>8^c[(m^g[n])&255];return m^-1}},QbM5:function(R,N,t){},Qe9p:function(R,N,t){var y=t("1RvN"),p={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 S(C){return C=Math.round(C),C<0?0:C>255?255:C}function m(C){return C=Math.round(C),C<0?0:C>360?360:C}function g(C){return C<0?0:C>1?1:C}function f(C){return C.length&&C.charAt(C.length-1)==="%"?S(parseFloat(C)/100*255):S(parseInt(C,10))}function d(C){return C.length&&C.charAt(C.length-1)==="%"?g(parseFloat(C)/100):g(parseFloat(C))}function c(C,I,L){return L<0?L+=1:L>1&&(L-=1),L*6<1?C+(I-C)*L*6:L*2<1?I:L*3<2?C+(I-C)*(2/3-L)*6:C}function a(C,I,L){return C+(I-C)*L}function n(C,I,L,F,B){return C[0]=I,C[1]=L,C[2]=F,C[3]=B,C}function i(C,I){return C[0]=I[0],C[1]=I[1],C[2]=I[2],C[3]=I[3],C}var o=new y(20),r=null;function l(C,I){r&&i(r,I),r=o.put(C,r||I.slice())}function e(C,I){if(!C)return;I=I||[];var L=o.get(C);if(L)return i(I,L);C=C+"";var F=C.replace(/ /g,"").toLowerCase();if(F in p)return i(I,p[F]),l(C,I),I;if(F.charAt(0)==="#"){if(F.length===4){var B=parseInt(F.substr(1),16);if(!(B>=0&&B<=4095)){n(I,0,0,0,1);return}return n(I,(B&3840)>>4|(B&3840)>>8,B&240|(B&240)>>4,B&15|(B&15)<<4,1),l(C,I),I}else if(F.length===7){var B=parseInt(F.substr(1),16);if(!(B>=0&&B<=16777215)){n(I,0,0,0,1);return}return n(I,(B&16711680)>>16,(B&65280)>>8,B&255,1),l(C,I),I}return}var P=F.indexOf("("),H=F.indexOf(")");if(P!==-1&&H+1===F.length){var z=F.substr(0,P),M=F.substr(P+1,H-(P+1)).split(","),U=1;switch(z){case"rgba":if(M.length!==4){n(I,0,0,0,1);return}U=d(M.pop());case"rgb":if(M.length!==3){n(I,0,0,0,1);return}return n(I,f(M[0]),f(M[1]),f(M[2]),U),l(C,I),I;case"hsla":if(M.length!==4){n(I,0,0,0,1);return}return M[3]=d(M[3]),s(M,I),l(C,I),I;case"hsl":if(M.length!==3){n(I,0,0,0,1);return}return s(M,I),l(C,I),I;default:return}}n(I,0,0,0,1);return}function s(C,I){var L=(parseFloat(C[0])%360+360)%360/360,F=d(C[1]),B=d(C[2]),P=B<=.5?B*(F+1):B+F-B*F,H=B*2-P;return I=I||[],n(I,S(c(H,P,L+1/3)*255),S(c(H,P,L)*255),S(c(H,P,L-1/3)*255),1),C.length===4&&(I[3]=C[3]),I}function u(C){if(!C)return;var I=C[0]/255,L=C[1]/255,F=C[2]/255,B=Math.min(I,L,F),P=Math.max(I,L,F),H=P-B,z=(P+B)/2,M,U;if(H===0)M=0,U=0;else{z<.5?U=H/(P+B):U=H/(2-P-B);var k=((P-I)/6+H/2)/H,K=((P-L)/6+H/2)/H,j=((P-F)/6+H/2)/H;I===P?M=j-K:L===P?M=1/3+k-j:F===P&&(M=2/3+K-k),M<0&&(M+=1),M>1&&(M-=1)}var V=[M*360,U,z];return C[3]!=null&&V.push(C[3]),V}function h(C,I){var L=e(C);if(L){for(var F=0;F<3;F++)I<0?L[F]=L[F]*(1-I)|0:L[F]=(255-L[F])*I+L[F]|0,L[F]>255?L[F]=255:C[F]<0&&(L[F]=0);return x(L,L.length===4?"rgba":"rgb")}}function A(C){var I=e(C);if(I)return((1<<24)+(I[0]<<16)+(I[1]<<8)+ +I[2]).toString(16).slice(1)}function v(C,I,L){if(!(I&&I.length)||!(C>=0&&C<=1))return;L=L||[];var F=C*(I.length-1),B=Math.floor(F),P=Math.ceil(F),H=I[B],z=I[P],M=F-B;return L[0]=S(a(H[0],z[0],M)),L[1]=S(a(H[1],z[1],M)),L[2]=S(a(H[2],z[2],M)),L[3]=g(a(H[3],z[3],M)),L}var w=v;function b(C,I,L){if(!(I&&I.length)||!(C>=0&&C<=1))return;var F=C*(I.length-1),B=Math.floor(F),P=Math.ceil(F),H=e(I[B]),z=e(I[P]),M=F-B,U=x([S(a(H[0],z[0],M)),S(a(H[1],z[1],M)),S(a(H[2],z[2],M)),g(a(H[3],z[3],M))],"rgba");return L?{color:U,leftIndex:B,rightIndex:P,value:F}:U}var E=b;function T(C,I,L,F){if(C=e(C),C)return C=u(C),I!=null&&(C[0]=m(I)),L!=null&&(C[1]=d(L)),F!=null&&(C[2]=d(F)),x(s(C),"rgba")}function _(C,I){if(C=e(C),C&&I!=null)return C[3]=g(I),x(C,"rgba")}function x(C,I){if(!C||!C.length)return;var L=C[0]+","+C[1]+","+C[2];return(I==="rgba"||I==="hsva"||I==="hsla")&&(L+=","+C[3]),I+"("+L+")"}N.parse=e,N.lift=h,N.toHex=A,N.fastLerp=v,N.fastMapToColor=w,N.lerp=b,N.mapToColor=E,N.modifyHSL=T,N.modifyAlpha=_,N.stringify=x},Qi1f:function(R,N,t){"use strict";t.d(N,"g",function(){return l}),t.d(N,"c",function(){return e}),t.d(N,"a",function(){return u}),t.d(N,"b",function(){return h}),t.d(N,"d",function(){return A}),t.d(N,"e",function(){return v}),t.d(N,"f",function(){return b});var y=t("VTBJ"),p=t("U8pU"),S=t("u3cA"),m=t("q1tI"),g=t.n(m),f=t("Kwbf"),d=t("MNnm"),c="rc-util-key";function a(E){if(E.attachTo)return E.attachTo;var T=document.querySelector("head");return T||document.body}function n(E){var T,_=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Object(d.a)())return null;var x=document.createElement("style");if((T=_.csp)===null||T===void 0?void 0:T.nonce){var C;x.nonce=(C=_.csp)===null||C===void 0?void 0:C.nonce}x.innerHTML=E;var I=a(_),L=I.firstChild;return _.prepend&&I.prepend?I.prepend(x):_.prepend&&L?I.insertBefore(x,L):I.appendChild(x),x}var i=new Map;function o(E,T){var _=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},x=a(_);if(!i.has(x)){var C=n("",_),I=C.parentNode;i.set(x,I),I.removeChild(C)}var L=Array.from(i.get(x).children).find(function(z){return z.tagName==="STYLE"&&z[c]===T});if(L){var F,B;if(((F=_.csp)===null||F===void 0?void 0:F.nonce)&&L.nonce!==((B=_.csp)===null||B===void 0?void 0:B.nonce)){var P;L.nonce=(P=_.csp)===null||P===void 0?void 0:P.nonce}return L.innerHTML!==E&&(L.innerHTML=E),L}var H=n(E,_);return H[c]=T,H}var r=t("Pw59");function l(E,T){Object(f.a)(E,"[@ant-design/icons] ".concat(T))}function e(E){return Object(p.a)(E)==="object"&&typeof E.name=="string"&&typeof E.theme=="string"&&(Object(p.a)(E.icon)==="object"||typeof E.icon=="function")}function s(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(E).reduce(function(T,_){var x=E[_];switch(_){case"class":T.className=x,delete T.class;break;default:T[_]=x}return T},{})}function u(E,T,_){return _?g.a.createElement(E.tag,Object(y.a)(Object(y.a)({key:T},s(E.attrs)),_),(E.children||[]).map(function(x,C){return u(x,"".concat(T,"-").concat(E.tag,"-").concat(C))})):g.a.createElement(E.tag,Object(y.a)({key:T},s(E.attrs)),(E.children||[]).map(function(x,C){return u(x,"".concat(T,"-").concat(E.tag,"-").concat(C))}))}function h(E){return Object(S.generate)(E)[0]}function A(E){return E?Array.isArray(E)?E:[E]:[]}var v={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},w=` .anticon { display: inline-block; color: inherit; font-style: normal; line-height: 0; text-align: center; text-transform: none; vertical-align: -0.125em; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .anticon > * { line-height: 1; } .anticon svg { display: inline-block; } .anticon::before { display: none; } .anticon .anticon-icon { display: block; } .anticon[tabindex] { cursor: pointer; } .anticon-spin::before, .anticon-spin { display: inline-block; -webkit-animation: loadingCircle 1s infinite linear; animation: loadingCircle 1s infinite linear; } @-webkit-keyframes loadingCircle { 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes loadingCircle { 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } `,b=function(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:w,_=Object(m.useContext)(r.a),x=_.csp;Object(m.useEffect)(function(){o(T,"@ant-design-icons",{prepend:!0,csp:x})},[])}},Qs3X:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=p(t("X+im"));function p(m){return m&&m.__esModule?m:{default:m}}var S=y;N.default=S,R.exports=S},Qs9O:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"};N.default=y},QuXc:function(R,N){var t=function(S){this.colorStops=S||[]};t.prototype={constructor:t,addColorStop:function(S,m){this.colorStops.push({offset:S,color:m})}};var y=t;R.exports=y},Qvb6:function(R,N,t){var y=t("ProS"),p=t("bYtY"),S=t("ItGF"),m=t("B9fm"),g=t("gvm7"),f=t("7aKB"),d=t("OELB"),c=t("IwbS"),a=t("Ez2D"),n=t("+TT/"),i=t("Qxkt"),o=t("F9bG"),r=t("aX7z"),l=t("/y7N"),e=t("4NO4"),s=e.getTooltipRenderMode,u=p.bind,h=p.each,A=d.parsePercent,v=new c.Rect({shape:{x:-1,y:-1,width:2,height:2}}),w=y.extendComponentView({type:"tooltip",init:function(I,L){if(S.node)return;var F=I.getComponent("tooltip"),B=F.get("renderMode");this._renderMode=s(B);var P;this._renderMode==="html"?(P=new m(L.getDom(),L,{appendToBody:F.get("appendToBody",!0)}),this._newLine="
    "):(P=new g(L),this._newLine=` `),this._tooltipContent=P},render:function(I,L,F){if(S.node)return;this.group.removeAll(),this._tooltipModel=I,this._ecModel=L,this._api=F,this._lastDataByCoordSys=null,this._alwaysShowContent=I.get("alwaysShowContent");var B=this._tooltipContent;B.update(),B.setEnterable(I.get("enterable")),this._initGlobalListener(),this._keepShow()},_initGlobalListener:function(){var I=this._tooltipModel,L=I.get("triggerOn");o.register("itemTooltip",this._api,u(function(F,B,P){L!=="none"&&(L.indexOf(F)>=0?this._tryShow(B,P):F==="leave"&&this._hide(P))},this))},_keepShow:function(){var I=this._tooltipModel,L=this._ecModel,F=this._api;if(this._lastX!=null&&this._lastY!=null&&I.get("triggerOn")!=="none"){var B=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!F.isDisposed()&&B.manuallyShowTip(I,L,F,{x:B._lastX,y:B._lastY})})}},manuallyShowTip:function(I,L,F,B){if(B.from===this.uid||S.node)return;var P=E(B,F);this._ticket="";var H=B.dataByCoordSys;if(B.tooltip&&B.x!=null&&B.y!=null){var z=v;z.position=[B.x,B.y],z.update(),z.tooltip=B.tooltip,this._tryShow({offsetX:B.x,offsetY:B.y,target:z},P)}else if(H)this._tryShow({offsetX:B.x,offsetY:B.y,position:B.position,dataByCoordSys:B.dataByCoordSys,tooltipOption:B.tooltipOption},P);else if(B.seriesIndex!=null){if(this._manuallyAxisShowTip(I,L,F,B))return;var M=a(B,L),U=M.point[0],k=M.point[1];U!=null&&k!=null&&this._tryShow({offsetX:U,offsetY:k,position:B.position,target:M.el},P)}else B.x!=null&&B.y!=null&&(F.dispatchAction({type:"updateAxisPointer",x:B.x,y:B.y}),this._tryShow({offsetX:B.x,offsetY:B.y,position:B.position,target:F.getZr().findHover(B.x,B.y).target},P))},manuallyHideTip:function(I,L,F,B){var P=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&P.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,B.from!==this.uid&&this._hide(E(B,F))},_manuallyAxisShowTip:function(I,L,F,B){var P=B.seriesIndex,H=B.dataIndex,z=L.getComponent("axisPointer").coordSysAxesInfo;if(P==null||H==null||z==null)return;var M=L.getSeriesByIndex(P);if(!M)return;var U=M.getData(),I=b([U.getItemModel(H),M,(M.coordinateSystem||{}).model,I]);return I.get("trigger")!=="axis"?void 0:(F.dispatchAction({type:"updateAxisPointer",seriesIndex:P,dataIndex:H,position:B.position}),!0)},_tryShow:function(I,L){var F=I.target,B=this._tooltipModel;if(!B)return;this._lastX=I.offsetX,this._lastY=I.offsetY;var P=I.dataByCoordSys;P&&P.length?this._showAxisTooltip(P,I):F&&F.dataIndex!=null?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(I,F,L)):F&&F.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(I,F,L)):(this._lastDataByCoordSys=null,this._hide(L))},_showOrMove:function(I,L){var F=I.get("showDelay");L=p.bind(L,this),clearTimeout(this._showTimout),F>0?this._showTimout=setTimeout(L,F):L()},_showAxisTooltip:function(I,L){var F=this._ecModel,B=this._tooltipModel,P=[L.offsetX,L.offsetY],H=[],z=[],M=b([L.tooltipOption,B]),U=this._renderMode,k=this._newLine,K={};h(I,function(V){h(V.dataByAxis,function(W){var X=F.getComponent(W.axisDim+"Axis",W.axisIndex),J=W.value,de=[];if(!X||J==null)return;var G=l.getValueLabel(J,X.axis,F,W.seriesDataIndices,W.valueLabelOpt);p.each(W.seriesDataIndices,function(Ae){var me=F.getSeriesByIndex(Ae.seriesIndex),Me=Ae.dataIndexInside,oe=me&&me.getDataParams(Me);if(oe.axisDim=W.axisDim,oe.axisIndex=W.axisIndex,oe.axisType=W.axisType,oe.axisId=W.axisId,oe.axisValue=r.getAxisRawValue(X.axis,J),oe.axisValueLabel=G,oe){z.push(oe);var _e=me.formatTooltip(Me,!0,null,U),ee;if(p.isObject(_e)){ee=_e.html;var ne=_e.markers;p.merge(K,ne)}else ee=_e;de.push(ee)}});var ae=G;U!=="html"?H.push(de.join(k)):H.push((ae?f.encodeHTML(ae)+k:"")+de.join(k))})},this),H.reverse(),H=H.join(this._newLine+this._newLine);var j=L.position;this._showOrMove(M,function(){this._updateContentNotChangedOnAxis(I)?this._updatePosition(M,j,P[0],P[1],this._tooltipContent,z):this._showTooltipContent(M,H,z,Math.random(),P[0],P[1],j,void 0,K)})},_showSeriesItemTooltip:function(I,L,F){var B=this._ecModel,P=L.seriesIndex,H=B.getSeriesByIndex(P),z=L.dataModel||H,M=L.dataIndex,U=L.dataType,k=z.getData(U),K=b([k.getItemModel(M),z,H&&(H.coordinateSystem||{}).model,this._tooltipModel]),j=K.get("trigger");if(j!=null&&j!=="item")return;var V=z.getDataParams(M,U),W=z.formatTooltip(M,!1,U,this._renderMode),X,J;p.isObject(W)?(X=W.html,J=W.markers):(X=W,J=null);var de="item_"+z.name+"_"+M;this._showOrMove(K,function(){this._showTooltipContent(K,X,V,de,I.offsetX,I.offsetY,I.position,I.target,J)}),F({type:"showTip",dataIndexInside:M,dataIndex:k.getRawIndex(M),seriesIndex:P,from:this.uid})},_showComponentItemTooltip:function(I,L,F){var B=L.tooltip;if(typeof B=="string"){var P=B;B={content:P,formatter:P}}var H=new i(B,this._tooltipModel,this._ecModel),z=H.get("content"),M=Math.random();this._showOrMove(H,function(){this._showTooltipContent(H,z,H.get("formatterParams")||{},M,I.offsetX,I.offsetY,I.position,L)}),F({type:"showTip",from:this.uid})},_showTooltipContent:function(I,L,F,B,P,H,z,M,U){if(this._ticket="",!I.get("showContent")||!I.get("show"))return;var k=this._tooltipContent,K=I.get("formatter");z=z||I.get("position");var j=L;if(K&&typeof K=="string")j=f.formatTpl(K,F,!0);else if(typeof K=="function"){var V=u(function(W,X){W===this._ticket&&(k.setContent(X,U,I),this._updatePosition(I,z,P,H,k,F,M))},this);this._ticket=B,j=K(F,B,V)}k.setContent(j,U,I),k.show(I),this._updatePosition(I,z,P,H,k,F,M)},_updatePosition:function(I,L,F,B,P,H,z){var M=this._api.getWidth(),U=this._api.getHeight();L=L||I.get("position");var k=P.getSize(),K=I.get("align"),j=I.get("verticalAlign"),V=z&&z.getBoundingRect().clone();if(z&&V.applyTransform(z.transform),typeof L=="function"&&(L=L([F,B],H,P.el,V,{viewSize:[M,U],contentSize:k.slice()})),p.isArray(L))F=A(L[0],M),B=A(L[1],U);else if(p.isObject(L)){L.width=k[0],L.height=k[1];var W=n.getLayoutRect(L,{width:M,height:U});F=W.x,B=W.y,K=null,j=null}else if(typeof L=="string"&&z){var X=x(L,V,k);F=X[0],B=X[1]}else{var X=T(F,B,P,M,U,K?null:20,j?null:20);F=X[0],B=X[1]}if(K&&(F-=C(K)?k[0]/2:K==="right"?k[0]:0),j&&(B-=C(j)?k[1]/2:j==="bottom"?k[1]:0),I.get("confine")){var X=_(F,B,P,M,U);F=X[0],B=X[1]}P.moveTo(F,B)},_updateContentNotChangedOnAxis:function(I){var L=this._lastDataByCoordSys,F=!!L&&L.length===I.length;return F&&h(L,function(B,P){var H=B.dataByAxis||{},z=I[P]||{},M=z.dataByAxis||[];F&=H.length===M.length,F&&h(H,function(U,k){var K=M[k]||{},j=U.seriesDataIndices||[],V=K.seriesDataIndices||[];F&=U.value===K.value&&U.axisType===K.axisType&&U.axisId===K.axisId&&j.length===V.length,F&&h(j,function(W,X){var J=V[X];F&=W.seriesIndex===J.seriesIndex&&W.dataIndex===J.dataIndex})})}),this._lastDataByCoordSys=I,!!F},_hide:function(I){this._lastDataByCoordSys=null,I({type:"hideTip",from:this.uid})},dispose:function(I,L){if(S.node)return;this._tooltipContent.dispose(),o.unregister("itemTooltip",L)}});function b(I){for(var L=I.pop();I.length;){var F=I.pop();F&&(i.isInstance(F)&&(F=F.get("tooltip",!0)),typeof F=="string"&&(F={formatter:F}),L=new i(F,L,L.ecModel))}return L}function E(I,L){return I.dispatchAction||p.bind(L.dispatchAction,L)}function T(I,L,F,B,P,H,z){var M=F.getOuterSize(),U=M.width,k=M.height;return H!=null&&(I+U+H>B?I-=U+H:I+=H),z!=null&&(L+k+z>P?L-=k+z:L+=z),[I,L]}function _(I,L,F,B,P){var H=F.getOuterSize(),z=H.width,M=H.height;return I=Math.min(I+z,B)-z,L=Math.min(L+M,P)-M,I=Math.max(I,0),L=Math.max(L,0),[I,L]}function x(I,L,F){var B=F[0],P=F[1],H=5,z=0,M=0,U=L.width,k=L.height;switch(I){case"inside":z=L.x+U/2-B/2,M=L.y+k/2-P/2;break;case"top":z=L.x+U/2-B/2,M=L.y-P-H;break;case"bottom":z=L.x+U/2-B/2,M=L.y+k+H;break;case"left":z=L.x-B-H,M=L.y+k/2-P/2;break;case"right":z=L.x+U+H,M=L.y+k/2-P/2}return[z,M]}function C(I){return I==="center"||I==="middle"}R.exports=w},Qxkt:function(R,N,t){var y=t("bYtY"),p=t("ItGF"),S=t("4NO4"),m=S.makeInner,g=t("Yl7c"),f=g.enableClassExtend,d=g.enableClassCheck,c=t("OQFs"),a=t("m9t5"),n=t("/iHx"),i=t("VR9l"),o=y.mixin,r=m();function l(h,A,v){this.parentModel=A,this.ecModel=v,this.option=h}l.prototype={constructor:l,init:null,mergeOption:function(h){y.merge(this.option,h,!0)},get:function(h,A){return h==null?this.option:e(this.option,this.parsePath(h),!A&&s(this,h))},getShallow:function(h,A){var v=this.option,w=v==null?v:v[h],b=!A&&s(this,h);return w==null&&b&&(w=b.getShallow(h)),w},getModel:function(h,A){var v=h==null?this.option:e(this.option,h=this.parsePath(h)),w;return A=A||(w=s(this,h))&&w.getModel(h),new l(v,A,this.ecModel)},isEmpty:function(){return this.option==null},restoreData:function(){},clone:function(){var h=this.constructor;return new h(y.clone(this.option))},setReadOnly:function(h){},parsePath:function(h){return typeof h=="string"&&(h=h.split(".")),h},customizeGetParent:function(h){r(this).getParent=h},isAnimationEnabled:function(){if(!p.node){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}};function e(h,A,v){for(var w=0;w=0;h--){var A=u[h];e(s.getAttribute(A.name),A.name)}})}function n(e){var s=r(e);g(function(u){u.removeAttribute(s),u.save(S)})}function i(){g(function(e){var s=e.XMLDocument.documentElement.attributes;e.load(S);for(var u=s.length-1;u>=0;u--)e.removeAttribute(s[u].name);e.save(S)})}var o=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function r(e){return e.replace(/^\d/,"___$&").replace(o,"___")}function l(){if(!m||!m.documentElement||!m.documentElement.addBehavior)return null;var e="script",s,u,h;try{u=new ActiveXObject("htmlfile"),u.open(),u.write("<"+e+">document.w=window'),u.close(),s=u.w.frames[0].document,h=s.createElement("div")}catch(A){h=m.createElement("div"),s=m.body}return function(A){var v=[].slice.call(arguments,0);v.unshift(h),s.appendChild(h),h.addBehavior("#default#userData"),h.load(S),A.apply(this,v),s.removeChild(h);return}}},RPvy:function(R,N,t){var y=t("ProS"),p=t("VaxA"),S="sunburstRootToNode";y.registerAction({type:S,update:"updateView"},function(f,d){d.eachComponent({mainType:"series",subType:"sunburst",query:f},c);function c(a,n){var i=p.retrieveTargetInfo(f,[S],a);if(i){var o=a.getViewRoot();o&&(f.direction=p.aboveViewRoot(o,i.node)?"rollUp":"drillDown"),a.resetViewRoot(i.node)}}});var m="sunburstHighlight";y.registerAction({type:m,update:"updateView"},function(f,d){d.eachComponent({mainType:"series",subType:"sunburst",query:f},c);function c(a,n){var i=p.retrieveTargetInfo(f,[m],a);i&&(f.highlight=i.node)}});var g="sunburstUnhighlight";y.registerAction({type:g,update:"updateView"},function(f,d){d.eachComponent({mainType:"series",subType:"sunburst",query:f},c);function c(a,n){f.unhighlight=!0}})},RSch:function(R,N,t){var y=t("IwbS"),p=t("bYtY");function S(f,d,c){y.Group.call(this),this._createPolyline(f,d,c)}var m=S.prototype;m._createPolyline=function(f,d,c){var a=f.getItemLayout(d),n=new y.Polyline({shape:{points:a}});this.add(n),this._updateCommonStl(f,d,c)},m.updateData=function(f,d,c){var a=f.hostModel,n=this.childAt(0),i={shape:{points:f.getItemLayout(d)}};y.updateProps(n,i,a,d),this._updateCommonStl(f,d,c)},m._updateCommonStl=function(f,d,c){var a=this.childAt(0),n=f.getItemModel(d),i=f.getItemVisual(d,"color"),o=c&&c.lineStyle,r=c&&c.hoverLineStyle;(!c||f.hasItemOption)&&(o=n.getModel("lineStyle").getLineStyle(),r=n.getModel("emphasis.lineStyle").getLineStyle()),a.useStyle(p.defaults({strokeNoScale:!0,fill:"none",stroke:i},o)),a.hoverStyle=r,y.setHoverStyle(this)},m.updateLayout=function(f,d){var c=this.childAt(0);c.setShape("points",f.getItemLayout(d))},p.inherits(S,y.Group);var g=S;R.exports=g},RXMa:function(R,N,t){var y=t("y+Vt"),p=y.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(m,g){var f=g.cx,d=g.cy,c=Math.PI*2;m.moveTo(f+g.r,d),m.arc(f,d,g.r,0,c,!1),m.moveTo(f+g.r0,d),m.arc(f,d,g.r0,0,c,!0)}});R.exports=p},RZPm:function(R,N,t){"use strict";var y=t("284h"),p=t("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=p(t("3tO9")),m=y(t("q1tI")),g=p(t("JgUQ")),f=p(t("KQxl")),d=function(n,i){return m.createElement(f.default,(0,S.default)((0,S.default)({},n),{},{ref:i,icon:g.default}))};d.displayName="FileOutlined";var c=m.forwardRef(d);N.default=c},RlCK:function(R,N,t){var y=t("ProS"),p=t("bYtY");function S(m,g,f){var d={},c=m==="toggleSelected",a;return f.eachComponent("legend",function(n){c&&a!=null?n[a?"select":"unSelect"](g.name):m==="allSelect"||m==="inverseSelect"?n[m]():(n[m](g.name),a=n.isSelected(g.name));var i=n.getData();p.each(i,function(o){var r=o.get("name");if(r===` `||r==="")return;var l=n.isSelected(r);d.hasOwnProperty(r)?d[r]=d[r]&&l:d[r]=l})}),m==="allSelect"||m==="inverseSelect"?{selected:d}:{name:g.name,selected:d}}y.registerAction("legendToggleSelect","legendselectchanged",p.curry(S,"toggleSelected")),y.registerAction("legendAllSelect","legendselectall",p.curry(S,"allSelect")),y.registerAction("legendInverseSelect","legendinverseselect",p.curry(S,"inverseSelect")),y.registerAction("legendSelect","legendselected",p.curry(S,"select")),y.registerAction("legendUnSelect","legendunselected",p.curry(S,"unSelect"))},RotF:function(R,N,t){R.exports=t("LSTS")},Rx6q:function(R,N){function t(y){var p=y.getRect(),S=y.getRangeInfo();return{coordSys:{type:"calendar",x:p.x,y:p.y,width:p.width,height:p.height,cellWidth:y.getCellWidth(),cellHeight:y.getCellHeight(),rangeInfo:{start:S.start,end:S.end,weeks:S.weeks,dayCount:S.allDay}},api:{coord:function(m,g){return y.dataToPoint(m,g)}}}}R.exports=t},"S/Yl":function(R,N,t){var y=t("Zvw2"),p=t("aX7z"),S=t("+TT/"),m=S.getLayoutRect,g=t("bYtY"),f=g.each;function d(a,n,i){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(a,n,i),this.model=a}d.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:d,_init:function(a,n,i){var o=this.dimension,r=new y(o,p.createScaleByModel(a),[0,0],a.get("type"),a.get("position")),l=r.type==="category";r.onBand=l&&a.get("boundaryGap"),r.inverse=a.get("inverse"),r.orient=a.get("orient"),a.axis=r,r.model=a,r.coordinateSystem=this,this._axis=r},update:function(a,n){a.eachSeries(function(i){if(i.coordinateSystem===this){var o=i.getData();f(o.mapDimension(this.dimension,!0),function(r){this._axis.scale.unionExtentFromData(o,r)},this),p.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(a,n){this._rect=m({left:a.get("left"),top:a.get("top"),right:a.get("right"),bottom:a.get("bottom"),width:a.get("width"),height:a.get("height")},{width:n.getWidth(),height:n.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var a=this._rect,n=this._axis,i=n.isHorizontal(),o=i?[0,a.width]:[0,a.height],r=n.reverse?1:0;n.setExtent(o[r],o[1-r]),this._updateAxisTransform(n,i?a.x:a.y)},_updateAxisTransform:function(a,n){var i=a.getExtent(),o=i[0]+i[1],r=a.isHorizontal();a.toGlobalCoord=r?function(l){return l+n}:function(l){return o-l+n},a.toLocalCoord=r?function(l){return l-n}:function(l){return o-l+n}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(a){var n=this.getRect(),i=this.getAxis(),o=i.orient;return o==="horizontal"?i.contain(i.toLocalCoord(a[0]))&&a[1]>=n.y&&a[1]<=n.y+n.height:i.contain(i.toLocalCoord(a[1]))&&a[0]>=n.y&&a[0]<=n.y+n.height},pointToData:function(a){var n=this.getAxis();return[n.coordToData(n.toLocalCoord(a[n.orient==="horizontal"?0:1]))]},dataToPoint:function(a){var n=this.getAxis(),i=this.getRect(),o=[],r=n.orient==="horizontal"?0:1;return a instanceof Array&&(a=a[0]),o[r]=n.toGlobalCoord(n.dataToCoord(+a)),o[1-r]=r===0?i.y+i.height/2:i.x+i.width/2,o}};var c=d;R.exports=c},"SA+Z":function(R,N,t){var y=t("wTVA"),p=t("EbDI"),S=t("ZhPi"),m=t("wkBT");function g(f){return y(f)||p(f)||S(f)||m()}R.exports=g,R.exports.__esModule=!0,R.exports.default=R.exports},"SA4+":function(R,N,t){var y=t("Tghj"),p=y.__DEV__,S=t("ProS"),m=t("IwbS"),g=t("zYTA"),f=t("bYtY");function d(i,o,r){var l=i[1]-i[0];o=f.map(o,function(u){return{interval:[(u.interval[0]-i[0])/l,(u.interval[1]-i[0])/l]}});var e=o.length,s=0;return function(u){for(var h=s;h=0;h--){var A=o[h].interval;if(A[0]<=u&&u<=A[1]){s=h;break}}return h>=0&&h=o[0]&&l<=o[1]}}function a(i){var o=i.dimensions;return o[0]==="lng"&&o[1]==="lat"}var n=S.extendChartView({type:"heatmap",render:function(i,o,r){var l;o.eachComponent("visualMap",function(s){s.eachTargetSeries(function(u){u===i&&(l=s)})}),this.group.removeAll(),this._incrementalDisplayable=null;var e=i.coordinateSystem;e.type==="cartesian2d"||e.type==="calendar"?this._renderOnCartesianAndCalendar(i,r,0,i.getData().count()):a(e)&&this._renderOnGeo(e,i,l,r)},incrementalPrepareRender:function(i,o,r){this.group.removeAll()},incrementalRender:function(i,o,r,l){var e=o.coordinateSystem;e&&this._renderOnCartesianAndCalendar(o,l,i.start,i.end,!0)},_renderOnCartesianAndCalendar:function(i,o,r,l,e){var s=i.coordinateSystem,u,h;if(s.type==="cartesian2d"){var A=s.getAxis("x"),v=s.getAxis("y");u=A.getBandWidth(),h=v.getBandWidth()}for(var w=this.group,b=i.getData(),E="itemStyle",T="emphasis.itemStyle",_="label",x="emphasis.label",C=i.getModel(E).getItemStyle(["color"]),I=i.getModel(T).getItemStyle(),L=i.getModel(_),F=i.getModel(x),B=s.type,P=B==="cartesian2d"?[b.mapDimension("x"),b.mapDimension("y"),b.mapDimension("value")]:[b.mapDimension("time"),b.mapDimension("value")],H=r;H=0?v=v+b:v=v-b:C>=0?v=v-b:v=v+b}return v}function o(r,l){var e=[],s=y.quadraticSubdivide,u=[[],[],[]],h=[[],[]],A=[];l/=2,r.eachEdge(function(v,w){var b=v.getLayout(),E=v.getVisual("fromSymbol"),T=v.getVisual("toSymbol");b.__original||(b.__original=[p.clone(b[0]),p.clone(b[1])],b[2]&&b.__original.push(p.clone(b[2])));var _=b.__original;if(b[2]!=null){if(p.copy(u[0],_[0]),p.copy(u[1],_[2]),p.copy(u[2],_[1]),E&&E!=="none"){var x=m(v.node1),C=i(u,_[0],x*l);s(u[0][0],u[1][0],u[2][0],C,e),u[0][0]=e[3],u[1][0]=e[4],s(u[0][1],u[1][1],u[2][1],C,e),u[0][1]=e[3],u[1][1]=e[4]}if(T&&T!=="none"){var x=m(v.node2),C=i(u,_[1],x*l);s(u[0][0],u[1][0],u[2][0],C,e),u[1][0]=e[1],u[2][0]=e[2],s(u[0][1],u[1][1],u[2][1],C,e),u[1][1]=e[1],u[2][1]=e[2]}p.copy(b[0],u[0]),p.copy(b[1],u[2]),p.copy(b[2],u[1])}else{if(p.copy(h[0],_[0]),p.copy(h[1],_[1]),p.sub(A,h[1],h[0]),p.normalize(A,A),E&&E!=="none"){var x=m(v.node1);p.scaleAndAdd(h[0],h[0],A,x*l)}if(T&&T!=="none"){var x=m(v.node2);p.scaleAndAdd(h[1],h[1],A,-x*l)}p.copy(b[0],h[0]),p.copy(b[1],h[1])}})}R.exports=o},SJMd:function(R,N){/** * @license * Copyright (C) 2006 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */var t,y,p,S=!1,m,g;window.PR_SHOULD_USE_CONTINUATION=!0;var f,d;(function(){var c=window,a=["break,continue,do,else,for,if,return,while"],n=[a,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],i=[n,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],o=[i,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],r=[i,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],l=[i,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],e="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",s=[i,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],u="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",h=[a,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],A=[a,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],v=[a,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],w=[o,l,r,s,u,h,A,v],b=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,E="str",T="kwd",_="com",x="typ",C="lit",I="pun",L="pln",F="tag",B="dec",P="src",H="atn",z="atv",M="nocode",U="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function k(Ee){for(var ue=0,re=!1,ce=!1,ke=0,Te=Ee.length;ke122||($e<65||Gt>90||vt.push([Math.max(65,Gt)|32,Math.min($e,90)|32]),$e<97||Gt>122||vt.push([Math.max(97,Gt)&~32,Math.min($e,122)&~32]))}}vt.sort(function(qe,le){return qe[0]-le[0]||le[1]-qe[1]});for(var pe=[],q=[],xt=0;xtbt[0]&&(bt[1]+1>bt[0]&&wt.push("-"),wt.push(ye(bt[1])))}return wt.push("]"),wt.join("")}function Ye(nt){for(var Oe=nt.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),vt=Oe.length,Ze=[],wt=0,xt=0;wt=2&&Gt==="["?Oe[wt]=xe(Ot):Gt!=="\\"&&(Oe[wt]=Ot.replace(/[a-zA-Z]/g,function(q){var bt=q.charCodeAt(0);return"["+String.fromCharCode(bt&~32,bt|32)+"]"}))}return Oe.join("")}for(var pt=[],ke=0,Te=Ee.length;ke=0;)re[pt.charAt(nt)]=Ye;var Oe=Ye[1],vt=""+Oe;se.hasOwnProperty(vt)||(Ie.push(Oe),se[vt]=null)}Ie.push(/[\0-\uffff]/),ce=k(Ie)})();var ke=ue.length,Te=function Ke(Ie){for(var se=Ie.sourceCode,ye=Ie.basePos,xe=Ie.sourceNode,Ye=[ye,L],pt=0,nt=se.match(ce)||[],Oe={},vt=0,Ze=nt.length;vt=5&&xt.substring(0,5)==="lang-",Mt&&!(Ot&&typeof Ot[1]=="string")&&(Mt=!1,xt=P),Mt||(Oe[wt]=xt)}var pe=pt;if(pt+=wt.length,!Mt)Ye.push(ye+pe,xt);else{var q=Ot[1],bt=wt.indexOf(q),qe=bt+q.length;Ot[2]&&(qe=wt.length-Ot[2].length,bt=qe-q.length);var le=xt.substring(5);j(xe,ye+pe,wt.substring(0,bt),Ke,Ye),j(xe,ye+pe+bt,q,Me(le,q),Ye),j(xe,ye+pe+qe,wt.substring(qe),Ke,Ye)}}Ie.decorations=Ye};return Te}function J(Ee){var ue=[],re=[];Ee.tripleQuotedStrings?ue.push([E,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):Ee.multiLineStrings?ue.push([E,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):ue.push([E,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),Ee.verbatimStrings&&re.push([E,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var ce=Ee.hashComments;ce&&(Ee.cStyleComments?(ce>1?ue.push([_,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):ue.push([_,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),re.push([E,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):ue.push([_,/^#[^\r\n]*/,null,"#"])),Ee.cStyleComments&&(re.push([_,/^\/\/[^\r\n]*/,null]),re.push([_,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var ke=Ee.regexLiterals;if(ke){var Te=ke>1?"":` \r`,Ke=Te?".":"[\\S\\s]",Ie="/(?=[^/*"+Te+"])(?:[^/\\x5B\\x5C"+Te+"]|\\x5C"+Ke+"|\\x5B(?:[^\\x5C\\x5D"+Te+"]|\\x5C"+Ke+")*(?:\\x5D|$))+/";re.push(["lang-regex",RegExp("^"+U+"("+Ie+")")])}var se=Ee.types;se&&re.push([x,se]);var ye=(""+Ee.keywords).replace(/^ | $/g,"");ye.length&&re.push([T,new RegExp("^(?:"+ye.replace(/[\s,]+/g,"|")+")\\b"),null]),ue.push([L,/^\s+/,null,` \r \xA0`]);var xe="^.[^\\s\\w.$@'\"`/\\\\]*";return Ee.regexLiterals&&(xe+="(?!s*/)"),re.push([C,/^@[a-z_$][a-z_$@0-9]*/i,null],[x,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[L,/^[a-z_$][a-z_$@0-9]*/i,null],[C,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[L,/^\\[\s\S]?/,null],[I,new RegExp(xe),null]),X(ue,re)}var de=J({keywords:w,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function G(Ee,ue,re){for(var ce=/(?:^|\s)nocode(?:\s|$)/,ke=/\r\n?|\n/,Te=Ee.ownerDocument,Ke=Te.createElement("li");Ee.firstChild;)Ke.appendChild(Ee.firstChild);var Ie=[Ke];function se(Oe){var vt=Oe.nodeType;if(vt==1&&!ce.test(Oe.className))if(Oe.nodeName==="br")ye(Oe),Oe.parentNode&&Oe.parentNode.removeChild(Oe);else for(var Ze=Oe.firstChild;Ze;Ze=Ze.nextSibling)se(Ze);else if((vt==3||vt==4)&&re){var wt=Oe.nodeValue,xt=wt.match(ke);if(xt){var Ot=wt.substring(0,xt.index);Oe.nodeValue=Ot;var Mt=wt.substring(xt.index+xt[0].length);if(Mt){var Gt=Oe.parentNode;Gt.insertBefore(Te.createTextNode(Mt),Oe.nextSibling)}ye(Oe),Ot||Oe.parentNode.removeChild(Oe)}}}function ye(Oe){for(;!Oe.nextSibling;)if(Oe=Oe.parentNode,!Oe)return;function vt(xt,Ot){var Mt=Ot?xt.cloneNode(!1):xt,Gt=xt.parentNode;if(Gt){var $e=vt(Gt,1),pe=xt.nextSibling;$e.appendChild(Mt);for(var q=pe;q;q=pe)pe=q.nextSibling,$e.appendChild(q)}return Mt}for(var Ze=vt(Oe.nextSibling,0),wt;(wt=Ze.parentNode)&&wt.nodeType===1;)Ze=wt;Ie.push(Ze)}for(var xe=0;xe=Gt&&(se+=2),Te>=$e&&(Ye+=2)}}finally{wt&&(wt.style.display=xt)}}var Ae={};function me(Ee,ue){for(var re=ue.length;--re>=0;){var ce=ue[re];Ae.hasOwnProperty(ce)?c.console&&console.warn("cannot override language handler %s",ce):Ae[ce]=Ee}}function Me(Ee,ue){return Ee&&Ae.hasOwnProperty(Ee)||(Ee=/^\s*]*(?:>|$)/],[_,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[I,/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),me(X([[L,/^[\s]+/,null,` \r `],[z,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[F,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[H,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[I,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),me(X([],[[z,/^[\s\S]+/]]),["uq.val"]),me(J({keywords:o,hashComments:!0,cStyleComments:!0,types:b}),["c","cc","cpp","cxx","cyc","m"]),me(J({keywords:"null,true,false"}),["json"]),me(J({keywords:l,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:b}),["cs"]),me(J({keywords:r,cStyleComments:!0}),["java"]),me(J({keywords:v,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),me(J({keywords:h,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),me(J({keywords:u,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),me(J({keywords:A,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),me(J({keywords:s,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),me(J({keywords:e,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),me(X([],[[E,/^[\s\S]+/]]),["regex"]);function oe(Ee){var ue=Ee.langExtension;try{var re=K(Ee.sourceNode,Ee.pre),ce=re.sourceCode;Ee.sourceCode=ce,Ee.spans=re.spans,Ee.basePos=0,Me(ue,ce)(Ee),ae(Ee)}catch(ke){c.console&&console.log(ke&&ke.stack||ke)}}function _e(Ee,ue,re){var ce=re||!1,ke=ue||null,Te=document.createElement("div");Te.innerHTML="
    "+Ee+"
    ",Te=Te.firstChild,ce&&G(Te,ce,!0);var Ke={langExtension:ke,numberLines:ce,sourceNode:Te,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return oe(Ke),Te.innerHTML}function ee(Ee,ue){var re=ue||document.body,ce=re.ownerDocument||document;function ke(Mt){return re.getElementsByTagName(Mt)}for(var Te=[ke("pre"),ke("code"),ke("xmp")],Ke=[],Ie=0;Ie=g.right?f.x=g.width-1:f.x=p-g.left,S=g.bottom?f.y=g.height-1:f.y=S-g.top,f}},Sdc0:function(R,N,t){"use strict";var y=t("pVnL"),p=t.n(y),S=t("lSNA"),m=t.n(S),g=t("q1tI"),f=t("rePB"),d=t("ODXe"),c=t("Ff2n"),a=t("TSYQ"),n=t.n(a),i=t("6cGi"),o=t("4IlW"),r=g.forwardRef(function(T,_){var x,C=T.prefixCls,I=C===void 0?"rc-switch":C,L=T.className,F=T.checked,B=T.defaultChecked,P=T.disabled,H=T.loadingIcon,z=T.checkedChildren,M=T.unCheckedChildren,U=T.onClick,k=T.onChange,K=T.onKeyDown,j=Object(c.a)(T,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),V=Object(i.a)(!1,{value:F,defaultValue:B}),W=Object(d.a)(V,2),X=W[0],J=W[1];function de(me,Me){var oe=X;return P||(oe=me,J(oe),k==null||k(oe,Me)),oe}function G(me){me.which===o.a.LEFT?de(!1,me):me.which===o.a.RIGHT&&de(!0,me),K==null||K(me)}function ae(me){var Me=de(!X,me);U==null||U(Me,me)}var Ae=n()(I,L,(x={},Object(f.a)(x,"".concat(I,"-checked"),X),Object(f.a)(x,"".concat(I,"-disabled"),P),x));return g.createElement("button",Object.assign({},j,{type:"button",role:"switch","aria-checked":X,disabled:P,className:Ae,ref:_,onKeyDown:G,onClick:ae}),H,g.createElement("span",{className:"".concat(I,"-inner")},X?z:M))});r.displayName="Switch";var l=r,e=t("gZBC"),s=t.n(e),u=t("g0mS"),h=t("H84U"),A=t("3Nzz"),v=t("uaoM"),w=function(T,_){var x={};for(var C in T)Object.prototype.hasOwnProperty.call(T,C)&&_.indexOf(C)<0&&(x[C]=T[C]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,C=Object.getOwnPropertySymbols(T);I3?1.4:A>1?1.2:1.1,E=h>0?b:1/b;i(this,"zoom","zoomOnMouseWheel",e,{scale:E,originX:v,originY:w})}if(u){var T=Math.abs(h),_=(h>0?1:-1)*(T>3?.4:T>1?.15:.05);i(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:_,originX:v,originY:w})}}function n(e){if(m.isTaken(this._zr,"globalPan"))return;var s=e.pinchScale>1?1.1:1/1.1;i(this,"zoom",null,e,{scale:s,originX:e.pinchX,originY:e.pinchY})}function i(e,s,u,h,A){e.pointerChecker&&e.pointerChecker(h,A.originX,A.originY)&&(S.stop(h.event),o(e,s,u,h,A))}function o(e,s,u,h,A){A.isAvailableBehavior=y.bind(r,null,u,h),e.trigger(s,A)}function r(e,s,u){var h=u[e];return!e||h&&(!y.isString(h)||s.event[h+"Key"])}var l=g;R.exports=l},SgaC:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;function y(g,f){if(!(g instanceof f))throw new TypeError("Cannot call a class as a function")}function p(g,f){for(var d=0;d0;){if(i.rQwait("RRE",4+8))return!1;var e=i.rQshiftBytes(4),s=i.rQshift16(),u=i.rQshift16(),h=i.rQshift16(),A=i.rQshift16();o.fillRect(d+s,c+u,h,A,e),this._subrects--}return!0}}]),g}();N.default=m},Sj0X:function(R,N,t){"use strict";var y=t("284h"),p=t("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=p(t("3tO9")),m=y(t("q1tI")),g=p(t("XuBP")),f=p(t("KQxl")),d=function(n,i){return m.createElement(f.default,(0,S.default)((0,S.default)({},n),{},{ref:i,icon:g.default}))};d.displayName="DownOutlined";var c=m.forwardRef(d);N.default=c},Sj9i:function(R,N,t){var y=t("QBsz"),p=y.create,S=y.distSquare,m=Math.pow,g=Math.sqrt,f=1e-8,d=1e-4,c=g(3),a=1/3,n=p(),i=p(),o=p();function r(C){return C>-f&&Cf||C<-f}function e(C,I,L,F,B){var P=1-B;return P*P*(P*C+3*B*I)+B*B*(B*F+3*P*L)}function s(C,I,L,F,B){var P=1-B;return 3*(((I-C)*P+2*(L-I)*B)*P+(F-L)*B*B)}function u(C,I,L,F,B,P){var H=F+3*(I-L)-C,z=3*(L-I*2+C),M=3*(I-C),U=C-B,k=z*z-3*H*M,K=z*M-9*H*U,j=M*M-3*z*U,V=0;if(r(k)&&r(K))if(r(z))P[0]=0;else{var W=-M/z;W>=0&&W<=1&&(P[V++]=W)}else{var X=K*K-4*k*j;if(r(X)){var J=K/k,W=-z/H+J,de=-J/2;W>=0&&W<=1&&(P[V++]=W),de>=0&&de<=1&&(P[V++]=de)}else if(X>0){var G=g(X),ae=k*z+1.5*H*(-K+G),Ae=k*z+1.5*H*(-K-G);ae<0?ae=-m(-ae,a):ae=m(ae,a),Ae<0?Ae=-m(-Ae,a):Ae=m(Ae,a);var W=(-z-(ae+Ae))/(3*H);W>=0&&W<=1&&(P[V++]=W)}else{var me=(2*k*z-3*H*K)/(2*g(k*k*k)),Me=Math.acos(me)/3,oe=g(k),_e=Math.cos(Me),W=(-z-2*oe*_e)/(3*H),de=(-z+oe*(_e+c*Math.sin(Me)))/(3*H),ee=(-z+oe*(_e-c*Math.sin(Me)))/(3*H);W>=0&&W<=1&&(P[V++]=W),de>=0&&de<=1&&(P[V++]=de),ee>=0&&ee<=1&&(P[V++]=ee)}}return V}function h(C,I,L,F,B){var P=6*L-12*I+6*C,H=9*I+3*F-3*C-9*L,z=3*I-3*C,M=0;if(r(H)){if(l(P)){var U=-z/P;U>=0&&U<=1&&(B[M++]=U)}}else{var k=P*P-4*H*z;if(r(k))B[0]=-P/(2*H);else if(k>0){var K=g(k),U=(-P+K)/(2*H),j=(-P-K)/(2*H);U>=0&&U<=1&&(B[M++]=U),j>=0&&j<=1&&(B[M++]=j)}}return M}function A(C,I,L,F,B,P){var H=(I-C)*B+C,z=(L-I)*B+I,M=(F-L)*B+L,U=(z-H)*B+H,k=(M-z)*B+z,K=(k-U)*B+U;P[0]=C,P[1]=H,P[2]=U,P[3]=K,P[4]=K,P[5]=k,P[6]=M,P[7]=F}function v(C,I,L,F,B,P,H,z,M,U,k){var K,j=.005,V=Infinity,W,X,J,de;n[0]=M,n[1]=U;for(var G=0;G<1;G+=.05)i[0]=e(C,L,B,H,G),i[1]=e(I,F,P,z,G),J=S(n,i),J=0&&J=0&&U<=1&&(B[M++]=U)}}else{var k=H*H-4*P*z;if(r(k)){var U=-H/(2*P);U>=0&&U<=1&&(B[M++]=U)}else if(k>0){var K=g(k),U=(-H+K)/(2*P),j=(-H-K)/(2*P);U>=0&&U<=1&&(B[M++]=U),j>=0&&j<=1&&(B[M++]=j)}}return M}function T(C,I,L){var F=C+L-2*I;return F===0?.5:(C-I)/F}function _(C,I,L,F,B){var P=(I-C)*F+C,H=(L-I)*F+I,z=(H-P)*F+P;B[0]=C,B[1]=P,B[2]=z,B[3]=z,B[4]=H,B[5]=L}function x(C,I,L,F,B,P,H,z,M){var U,k=.005,K=Infinity;n[0]=H,n[1]=z;for(var j=0;j<1;j+=.05){i[0]=w(C,L,B,j),i[1]=w(I,F,P,j);var V=S(n,i);V=0&&V=0;--v)if(A[v]===h)return!0;return!1}),u):null:u[0]},r.prototype.update=function(e,s){if(!e)return;var u=this.getDefs(!1);if(e[this._domName]&&u.contains(e[this._domName]))typeof s=="function"&&s(e);else{var h=this.add(e);h&&(e[this._domName]=h)}},r.prototype.addDom=function(e){var s=this.getDefs(!0);s.appendChild(e)},r.prototype.removeDom=function(e){var s=this.getDefs(!1);s&&e[this._domName]&&(s.removeChild(e[this._domName]),e[this._domName]=null)},r.prototype.getDoms=function(){var e=this.getDefs(!1);if(!e)return[];var s=[];return S.each(this._tagNames,function(u){var h=e.getElementsByTagName(u);s=s.concat([].slice.call(h))}),s},r.prototype.markAllUnused=function(){var e=this.getDoms(),s=this;S.each(e,function(u){u[s._markLabel]=i})},r.prototype.markUsed=function(e){e&&(e[this._markLabel]=o)},r.prototype.removeUnused=function(){var e=this.getDefs(!1);if(!e)return;var s=this.getDoms(),u=this;S.each(s,function(h){h[u._markLabel]!==o&&e.removeChild(h)})},r.prototype.getSvgProxy=function(e){return e instanceof m?c:e instanceof g?a:e instanceof f?n:c},r.prototype.getTextSvgElement=function(e){return e.__textSvgEl},r.prototype.getSvgElement=function(e){return e.__svgEl};var l=r;R.exports=l},Swgg:function(R,N,t){var y=t("fc+c"),p=y.extend({type:"dataZoom.select"});R.exports=p},Sxd8:function(R,N,t){var y=t("ZCgT");function p(S){var m=y(S),g=m%1;return m===m?g?m-g:m:0}R.exports=p},T1rO:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=p(t("zdCA"));function p(m){return m&&m.__esModule?m:{default:m}}var S=y;N.default=S,R.exports=S},T4UG:function(R,N,t){var y=t("Tghj"),p=y.__DEV__,S=t("bYtY"),m=t("ItGF"),g=t("7aKB"),f=g.formatTime,d=g.encodeHTML,c=g.addCommas,a=g.getTooltipMarker,n=t("4NO4"),i=t("bLfw"),o=t("5Hur"),r=t("OKJ2"),l=t("+TT/"),e=l.getLayoutParams,s=l.mergeLayoutParam,u=t("9H2F"),h=u.createTask,A=t("D5nY"),v=A.prepareSource,w=A.getSource,b=t("KxfA"),E=b.retrieveRawValue,T=n.makeInner(),_=i.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(M,U,k,K){this.seriesIndex=this.componentIndex,this.dataTask=h({count:I,reset:L}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(M,k),v(this);var j=this.getInitialData(M,k);B(j,this),this.dataTask.context.data=j,T(this).dataBeforeProcessed=j,x(this)},mergeDefaultAndTheme:function(M,U){var k=this.layoutMode,K=k?e(M):{},j=this.subType;i.hasClass(j)&&(j+="Series"),S.merge(M,U.getTheme().get(this.subType)),S.merge(M,this.getDefaultOption()),n.defaultEmphasis(M,"label",["show"]),this.fillDataTextStyle(M.data),k&&s(M,K,k)},mergeOption:function(M,U){M=S.merge(this.option,M,!0),this.fillDataTextStyle(M.data);var k=this.layoutMode;k&&s(this.option,M,k),v(this);var K=this.getInitialData(M,U);B(K,this),this.dataTask.dirty(),this.dataTask.context.data=K,T(this).dataBeforeProcessed=K,x(this)},fillDataTextStyle:function(M){if(M&&!S.isTypedArray(M))for(var U=["show"],k=0;k":` `,W=K==="richText",X={},J=0;function de(Te){var Ke=S.reduce(Te,function(Ye,pt,nt){var Oe=ae.getDimensionInfo(nt);return Ye|=Oe&&Oe.tooltip!==!1&&Oe.displayName!=null},0),Ie=[];Ae.length?S.each(Ae,function(Ye){se(E(ae,M,Ye),Ye)}):S.each(Te,se);function se(Ye,pt){var nt=ae.getDimensionInfo(pt);if(!nt||nt.otherDims.tooltip===!1)return;var Oe=nt.type,vt="sub"+j.seriesIndex+"at"+J,Ze=a({color:_e,type:"subItem",renderMode:K,markerId:vt}),wt=typeof Ze=="string"?Ze:Ze.content,xt=(Ke?wt+d(nt.displayName||"-")+": ":"")+d(Oe==="ordinal"?Ye+"":Oe==="time"?U?"":f("yyyy/MM/dd hh:mm:ss",Ye):c(Ye));xt&&Ie.push(xt),W&&(X[vt]=_e,++J)}var ye=Ke?W?` `:"
    ":"",xe=ye+Ie.join(ye||", ");return{renderMode:K,content:xe,style:X}}function G(Te){return{renderMode:K,content:d(c(Te)),style:X}}var ae=this.getData(),Ae=ae.mapDimension("defaultedTooltip",!0),me=Ae.length,Me=this.getRawValue(M),oe=S.isArray(Me),_e=ae.getItemVisual(M,"color");S.isObject(_e)&&_e.colorStops&&(_e=(_e.colorStops[0]||{}).color),_e=_e||"transparent";var ee=me>1||oe&&!me?de(Me):G(me?E(ae,M,Ae[0]):oe?Me[0]:Me),ne=ee.content,Ge=j.seriesIndex+"at"+J,Ee=a({color:_e,type:"item",renderMode:K,markerId:Ge});X[Ge]=_e,++J;var ue=ae.getName(M),re=this.name;n.isNameSpecified(this)||(re=""),re=re?d(re)+(U?": ":V):"";var ce=typeof Ee=="string"?Ee:Ee.content,ke=U?ce+re+ne:re+ce+(ue?d(ue)+": "+ne:ne);return{html:ke,markers:X}},isAnimationEnabled:function(){if(m.node)return!1;var M=this.getShallow("animation");return M&&(this.getData().count()>this.getShallow("animationThreshold")&&(M=!1)),M},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(M,U,k){var K=this.ecModel,j=o.getColorFromPalette.call(this,M,U,k);return j||(j=K.getColorFromPalette(M,U,k)),j},coordDimToDataDim:function(M){return this.getRawData().mapDimension(M,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});S.mixin(_,r),S.mixin(_,o);function x(M){var U=M.name;n.isNameSpecified(M)||(M.name=C(M)||U)}function C(M){var U=M.getRawData(),k=U.mapDimension("seriesName",!0),K=[];return S.each(k,function(j){var V=U.getDimensionInfo(j);V.displayName&&K.push(V.displayName)}),K.join(" ")}function I(M){return M.model.getRawData().count()}function L(M){var U=M.model;return U.setData(U.getRawData().cloneShallow()),F}function F(M,U){U.outputData&&M.end>U.outputData.count()&&U.model.getRawData().cloneShallow(U.outputData)}function B(M,U){S.each(M.CHANGABLE_METHODS,function(k){M.wrapMethod(k,S.curry(P,U))})}function P(M){var U=H(M);U&&U.setOutputEnd(this.count())}function H(M){var U=(M.ecModel||{}).scheduler,k=U&&U.getPipeline(M.uid);if(k){var K=k.currentTask;if(K){var j=K.agentStubMap;j&&(K=j.get(M.uid))}return K}}var z=_;R.exports=z},T6xi:function(R,N,t){var y=t("YgsL"),p=t("nCxF");function S(m,g,f){var d=g.points,c=g.smooth;if(d&&d.length>=2){if(c&&c!=="spline"){var a=p(d,c,f,g.smoothConstraint);m.moveTo(d[0][0],d[0][1]);for(var n=d.length,i=0;i<(f?n:n-1);i++){var o=a[i*2],r=a[i*2+1],l=d[(i+1)%n];m.bezierCurveTo(o[0],o[1],r[0],r[1],l[0],l[1])}}else{c==="spline"&&(d=y(d,f)),m.moveTo(d[0][0],d[0][1]);for(var i=1,e=d.length;i0?m:g)}function r(l,e){return e.get(l>0?p:S)}}};R.exports=f},TWL2:function(R,N,t){var y=t("IwbS"),p=t("bYtY"),S=t("6Ic6");function m(a,n){y.Group.call(this);var i=new y.Polygon,o=new y.Polyline,r=new y.Text;this.add(i),this.add(o),this.add(r),this.highDownOnUpdate=function(l,e){e==="emphasis"?(o.ignore=o.hoverIgnore,r.ignore=r.hoverIgnore):(o.ignore=o.normalIgnore,r.ignore=r.normalIgnore)},this.updateData(a,n,!0)}var g=m.prototype,f=["itemStyle","opacity"];g.updateData=function(a,n,i){var o=this.childAt(0),r=a.hostModel,l=a.getItemModel(n),e=a.getItemLayout(n),s=a.getItemModel(n).get(f);s=s==null?1:s,o.useStyle({}),i?(o.setShape({points:e.points}),o.setStyle({opacity:0}),y.initProps(o,{style:{opacity:s}},r,n)):y.updateProps(o,{style:{opacity:s},shape:{points:e.points}},r,n);var u=l.getModel("itemStyle"),h=a.getItemVisual(n,"color");o.setStyle(p.defaults({lineJoin:"round",fill:h},u.getItemStyle(["opacity"]))),o.hoverStyle=u.getModel("emphasis").getItemStyle(),this._updateLabel(a,n),y.setHoverStyle(this)},g._updateLabel=function(a,n){var i=this.childAt(1),o=this.childAt(2),r=a.hostModel,l=a.getItemModel(n),e=a.getItemLayout(n),s=e.label,u=a.getItemVisual(n,"color");y.updateProps(i,{shape:{points:s.linePoints||s.linePoints}},r,n),y.updateProps(o,{style:{x:s.x,y:s.y}},r,n),o.attr({rotation:s.rotation,origin:[s.x,s.y],z2:10});var h=l.getModel("label"),A=l.getModel("emphasis.label"),v=l.getModel("labelLine"),w=l.getModel("emphasis.labelLine"),u=a.getItemVisual(n,"color");y.setLabelStyle(o.style,o.hoverStyle={},h,A,{labelFetcher:a.hostModel,labelDataIndex:n,defaultText:a.getName(n),autoColor:u,useInsideStyle:!!s.inside},{textAlign:s.textAlign,textVerticalAlign:s.verticalAlign}),o.ignore=o.normalIgnore=!h.get("show"),o.hoverIgnore=!A.get("show"),i.ignore=i.normalIgnore=!v.get("show"),i.hoverIgnore=!w.get("show"),i.setStyle({stroke:u}),i.setStyle(v.getModel("lineStyle").getLineStyle()),i.hoverStyle=w.getModel("lineStyle").getLineStyle()},p.inherits(m,y.Group);var d=S.extend({type:"funnel",render:function(a,n,i){var o=a.getData(),r=this._data,l=this.group;o.diff(r).add(function(e){var s=new m(o,e);o.setItemGraphicEl(e,s),l.add(s)}).update(function(e,s){var u=r.getItemGraphicEl(s);u.updateData(o,e),l.add(u),o.setItemGraphicEl(e,u)}).remove(function(e){var s=r.getItemGraphicEl(e);l.remove(s)}).execute(),this._data=o},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),c=d;R.exports=c},TYVI:function(R,N,t){var y=t("5GtS"),p=t("T4UG"),S=p.extend({type:"series.gauge",getInitialData:function(g,f){return y(this,["value"])},defaultOption:{zlevel:0,z:2,center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"#91c7ae"],[.8,"#63869e"],[1,"#c23531"]],width:30}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,distance:5,color:"auto"},pointer:{show:!0,length:"80%",width:8},itemStyle:{color:"auto"},title:{show:!0,offsetCenter:[0,"-40%"],color:"#333",fontSize:15},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"auto",fontSize:30}}}),m=S;R.exports=m},Tghj:function(R,N,t){(function(y){var p;typeof window!="undefined"?p=window.__DEV__:typeof y!="undefined"&&(p=y.__DEV__),typeof p=="undefined"&&(p=!0);var S=p;N.__DEV__=S}).call(this,t("yLpj"))},ThAp:function(R,N,t){var y=t("bYtY"),p=t("5GtS"),S=t("T4UG"),m=t("7aKB"),g=m.encodeHTML,f=m.addCommas,d=t("cCMj"),c=t("KxfA"),a=c.retrieveRawAttr,n=t("W4dC"),i=t("D5nY"),o=i.makeSeriesEncodeForNameBased,r=S.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(e){for(var s=p(this,{coordDimensions:["value"],encodeDefaulter:y.curry(o,this)}),u=s.mapDimension("value"),h=y.createHashMap(),A=[],v=[],w=0,b=s.count();w"+g(h+" : "+u)},getTooltipPosition:function(e){if(e!=null){var s=this.getData().getName(e),u=this.coordinateSystem,h=u.getRegion(s);return h&&u.dataToPoint(h.center)}},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},nameProperty:"name"}});y.mixin(r,d);var l=r;R.exports=l},TkdX:function(R,N,t){var y=t("bYtY"),p=t("IwbS"),S={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},m=2,g=4;function f(r,l,e){p.Group.call(this);var s=new p.Sector({z2:m});s.seriesIndex=l.seriesIndex;var u=new p.Text({z2:g,silent:r.getModel("label").get("silent")});this.add(s),this.add(u),this.updateData(!0,r,"normal",l,e);function h(){u.ignore=u.hoverIgnore}function A(){u.ignore=u.normalIgnore}this.on("emphasis",h).on("normal",A).on("mouseover",h).on("mouseout",A)}var d=f.prototype;d.updateData=function(r,l,e,s,u){this.node=l,l.piece=this,s=s||this._seriesModel,u=u||this._ecModel;var h=this.childAt(0);h.dataIndex=l.dataIndex;var A=l.getModel(),v=l.getLayout(),w=y.extend({},v);w.label=null;var b=a(l,s,u);o(l,s,b);var E=A.getModel("itemStyle").getItemStyle(),T;if(e==="normal")T=E;else{var _=A.getModel(e+".itemStyle").getItemStyle();T=y.merge(_,E)}T=y.defaults({lineJoin:"bevel",fill:T.fill||b},T),r?(h.setShape(w),h.shape.r=v.r0,p.updateProps(h,{shape:{r:v.r}},s,l.dataIndex),h.useStyle(T)):typeof T.fill=="object"&&T.fill.type||typeof h.style.fill=="object"&&h.style.fill.type?(p.updateProps(h,{shape:w},s),h.useStyle(T)):p.updateProps(h,{shape:w,style:T},s),this._updateLabel(s,b,e);var x=A.getShallow("cursor");if(x&&h.attr("cursor",x),r){var C=s.getShallow("highlightPolicy");this._initEvents(h,l,s,C)}this._seriesModel=s||this._seriesModel,this._ecModel=u||this._ecModel,p.setHoverStyle(this)},d.onEmphasis=function(r){var l=this;this.node.hostTree.root.eachNode(function(e){e.piece&&(l.node===e?e.piece.updateData(!1,e,"emphasis"):i(e,l.node,r)?e.piece.childAt(0).trigger("highlight"):r!==S.NONE&&e.piece.childAt(0).trigger("downplay"))})},d.onNormal=function(){this.node.hostTree.root.eachNode(function(r){r.piece&&r.piece.updateData(!1,r,"normal")})},d.onHighlight=function(){this.updateData(!1,this.node,"highlight")},d.onDownplay=function(){this.updateData(!1,this.node,"downplay")},d._updateLabel=function(r,l,e){var s=this.node.getModel(),u=s.getModel("label"),h=e==="normal"||e==="emphasis"?u:s.getModel(e+".label"),A=s.getModel("emphasis.label"),v=y.retrieve(r.getFormattedLabel(this.node.dataIndex,e,null,null,"label"),this.node.name);U("show")===!1&&(v="");var w=this.node.getLayout(),b=h.get("minAngle");b==null&&(b=u.get("minAngle")),b=b/180*Math.PI;var E=w.endAngle-w.startAngle;b!=null&&Math.abs(E)Math.PI/2?"right":"left"):!B||B==="center"?(I=(w.r+w.r0)/2,B="center"):B==="left"?(I=w.r0+F,_>Math.PI/2&&(B="right")):B==="right"&&(I=w.r-F,_>Math.PI/2&&(B="left")),T.attr("style",{text:v,textAlign:B,textVerticalAlign:U("verticalAlign")||"middle",opacity:U("opacity")});var P=I*x+w.cx,H=I*C+w.cy;T.attr("position",[P,H]);var z=U("rotate"),M=0;z==="radial"?(M=-_,M<-Math.PI/2&&(M+=Math.PI)):z==="tangential"?(M=Math.PI/2-_,M>Math.PI/2?M-=Math.PI:M<-Math.PI/2&&(M+=Math.PI)):typeof z=="number"&&(M=z*Math.PI/180),T.attr("rotation",M);function U(k){var K=h.get(k);return K==null?u.get(k):K}},d._initEvents=function(r,l,e,s){r.off("mouseover").off("mouseout").off("emphasis").off("normal");var u=this,h=function(){u.onEmphasis(s)},A=function(){u.onNormal()},v=function(){u.onDownplay()},w=function(){u.onHighlight()};e.isAnimationEnabled()&&r.on("mouseover",h).on("mouseout",A).on("emphasis",h).on("normal",A).on("downplay",v).on("highlight",w)},y.inherits(f,p.Group);var c=f;function a(r,l,e){var s=r.getVisual("color"),u=r.getVisual("visualMeta");(!u||u.length===0)&&(s=null);var h=r.getModel("itemStyle").get("color");if(h)return h;if(s)return s;if(r.depth===0)return e.option.color[0];var A=e.option.color.length;return h=e.option.color[n(r)%A],h}function n(r){for(var l=r;l.depth>1;)l=l.parentNode;var e=r.getAncestors()[0];return y.indexOf(e.children,l)}function i(r,l,e){return e===S.NONE?!1:e===S.SELF?r===l:e===S.ANCESTOR?r===l||r.isAncestorOf(l):r===l||r.isDescendantOf(l)}function o(r,l,e){var s=l.getData();s.setItemVisual(r.dataIndex,"color",e)}R.exports=c},Tp9H:function(R,N,t){var y=t("ItGF"),p=t("Kagy"),S=t("IUWy"),m=p.toolbox.saveAsImage;function g(c){this.model=c}g.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:m.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:m.lang.slice()},g.prototype.unusable=!y.canvasSupported;var f=g.prototype;f.onclick=function(c,a){var n=this.model,i=n.get("name")||c.get("title.0.text")||"echarts",o=a.getZr().painter.getType()==="svg",r=o?"svg":n.get("type",!0)||"png",l=a.getConnectedDataURL({type:r,backgroundColor:n.get("backgroundColor",!0)||c.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")});if(typeof MouseEvent=="function"&&!y.browser.ie&&!y.browser.edge){var e=document.createElement("a");e.download=i+"."+r,e.target="_blank",e.href=l;var s=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});e.dispatchEvent(s)}else if(window.navigator.msSaveOrOpenBlob){for(var u=atob(l.split(",")[1]),h=u.length,A=new Uint8Array(h);h--;)A[h]=u.charCodeAt(h);var v=new Blob([A]);window.navigator.msSaveOrOpenBlob(v,i+"."+r)}else{var w=n.get("lang"),b='',E=window.open();E.document.write(b)}},S.register("saveAsImage",g);var d=g;R.exports=d},"U/Mo":function(R,N){function t(p){var S=p.coordinateSystem;if(S.type!=="view")return 1;var m=p.option.nodeScaleRatio,g=S.scale,f=g&&g[0]||1,d=S.getZoom(),c=(d-1)*m+1;return c/f}function y(p){var S=p.getVisual("symbolSize");return S instanceof Array&&(S=(S[0]+S[1])/2),+S}N.getNodeGlobalScale=t,N.getSymbolSize=y},UADf:function(R,N,t){},UOVi:function(R,N,t){var y=t("bYtY"),p=t("7aKB"),S=["x","y","z","radius","angle","single"],m=["cartesian2d","polar","singleAxis"];function g(a){return y.indexOf(m,a)>=0}function f(a,n){a=a.slice();var i=y.map(a,p.capitalFirst);n=(n||[]).slice();var o=y.map(n,p.capitalFirst);return function(r,l){y.each(a,function(e,s){for(var u={name:e,capital:i[s]},h=0;h=0}function r(e,s){var u=!1;return n(function(h){y.each(i(e,h)||[],function(A){s.records[h.name][A]&&(u=!0)})}),u}function l(e,s){s.nodes.push(e),n(function(u){y.each(i(e,u)||[],function(h){s.records[u.name][h]=!0})})}}N.isCoordSupported=g,N.createNameEach=f,N.eachAxisDim=d,N.createLinkedNodesFinder=c},Uc92:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};N.default=y},UnoB:function(R,N,t){var y=t("bYtY"),p=t("OELB");function S(f,d){f.eachSeriesByType("themeRiver",function(c){var a=c.getData(),n=c.coordinateSystem,i={},o=n.getRect();i.rect=o;var r=c.get("boundaryGap"),l=n.getAxis();if(i.boundaryGap=r,l.orient==="horizontal"){r[0]=p.parsePercent(r[0],o.height),r[1]=p.parsePercent(r[1],o.height);var e=o.height-r[0]-r[1];m(a,c,e)}else{r[0]=p.parsePercent(r[0],o.width),r[1]=p.parsePercent(r[1],o.width);var s=o.width-r[0]-r[1];m(a,c,s)}a.setLayout("layoutInfo",i)})}function m(f,d,c){if(!f.count())return;for(var a=d.coordinateSystem,n=d.getLayerSeries(),i=f.mapDimension("single"),o=f.mapDimension("value"),r=y.map(n,function(b){return y.map(b.indices,function(E){var T=a.dataToPoint(f.get(i,E));return T[1]=f.get(o,E),T})}),l=g(r),e=l.y0,s=c/l.max,u=n.length,h=n[0].indices.length,A,v=0;vi&&(i=o),a.push(o)}for(var s=0;si&&(i=h)}return r.y0=n,r.max=i,r}R.exports=S},Urep:function(R,N,t){},V7ic:function(R,N,t){"use strict";var y=t("284h"),p=t("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=p(t("3tO9")),m=y(t("q1tI")),g=p(t("digP")),f=p(t("KQxl")),d=function(n,i){return m.createElement(f.default,(0,S.default)((0,S.default)({},n),{},{ref:i,icon:g.default}))};d.displayName="FileTwoTone";var c=m.forwardRef(d);N.default=c},VFCP:function(R,N,t){t("dBmv"),t("KamJ")},VPsl:function(R,N){function t(y){y.eachSeriesByType("map",function(p){var S=p.get("color"),m=p.getModel("itemStyle"),g=m.get("areaColor"),f=m.get("color")||S[p.seriesIndex%S.length];p.getData().setVisual({areaColor:g,color:f})})}R.exports=t},VR9l:function(R,N,t){var y=t("KCsZ"),p=y([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),S={getItemStyle:function(m,g){var f=p(this,m,g),d=this.getBorderLineDash();return d&&(f.lineDash=d),f},getBorderLineDash:function(){var m=this.get("borderType");return m==="solid"||m==null?null:m==="dashed"?[5,5]:[1,1]}};R.exports=S},VSLf:function(R,N,t){t("I+Bx"),t("F0hE"),t("bBKM")},VSMT:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.decodeUTF8=y,N.encodeUTF8=p;function y(S){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;try{return decodeURIComponent(escape(S))}catch(g){if(g instanceof URIError&&m)return S;throw g}}function p(S){return unescape(encodeURIComponent(S))}},VXYp:function(R,N,t){var y=t("bYtY"),p=t("SgGq"),S=t("iLNv"),m="\0_ec_dataZoom_roams";function g(r,l){var e=c(r),s=l.dataZoomId,u=l.coordId;y.each(e,function(v,w){var b=v.dataZoomInfos;b[s]&&y.indexOf(l.allCoordIds,u)<0&&(delete b[s],v.count--)}),n(e);var h=e[u];h||(h=e[u]={coordId:u,dataZoomInfos:{},count:0},h.controller=a(r,h),h.dispatchAction=y.curry(i,r)),!h.dataZoomInfos[s]&&h.count++,h.dataZoomInfos[s]=l;var A=o(h.dataZoomInfos);h.controller.enable(A.controlType,A.opt),h.controller.setPointerChecker(l.containsPoint),S.createOrUpdate(h,"dispatchAction",l.dataZoomModel.get("throttle",!0),"fixRate")}function f(r,l){var e=c(r);y.each(e,function(s){s.controller.dispose();var u=s.dataZoomInfos;u[l]&&(delete u[l],s.count--)}),n(e)}function d(r){return r.type+"\0_"+r.id}function c(r){var l=r.getZr();return l[m]||(l[m]={})}function a(r,l){var e=new p(r.getZr());return y.each(["pan","zoom","scrollMove"],function(s){e.on(s,function(u){var h=[];y.each(l.dataZoomInfos,function(A){if(!u.isAvailableBehavior(A.dataZoomModel.option))return;var v=(A.getRange||{})[s],w=v&&v(l.controller,u);!A.dataZoomModel.get("disabled",!0)&&w&&h.push({dataZoomId:A.dataZoomId,start:w[0],end:w[1]})}),h.length&&l.dispatchAction(h)})}),e}function n(r){y.each(r,function(l,e){l.count||(l.controller.dispose(),delete r[e])})}function i(r,l){r.dispatchAction({type:"dataZoom",batch:l})}function o(r){var l,e="type_",s={type_true:2,type_move:1,type_false:0,type_undefined:-1},u=!0;return y.each(r,function(h){var A=h.dataZoomModel,v=A.get("disabled",!0)?!1:A.get("zoomLock",!0)?"move":!0;s[e+v]>s[e+l]&&(l=v),u&=A.get("preventDefaultMouseMove",!0)}),{controlType:l,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!u}}}N.register=g,N.unregister=f,N.generateCoordId=d},VaxA:function(R,N,t){var y=t("bYtY");function p(f,d,c){if(f&&y.indexOf(d,f.type)>=0){var a=c.getData().tree.root,n=f.targetNode;if(typeof n=="string"&&(n=a.getNodeById(n)),n&&a.contains(n))return{node:n};var i=f.targetNodeId;if(i!=null&&(n=a.getNodeById(i)))return{node:n}}}function S(f){for(var d=[];f;)f=f.parentNode,f&&d.push(f);return d.reverse()}function m(f,d){var c=S(f);return y.indexOf(c,d)>=0}function g(f,d){for(var c=[];f;){var a=f.dataIndex;c.push({name:f.name,dataIndex:a,value:d.getRawValue(a)}),f=f.parentNode}return c.reverse(),c}N.retrieveTargetInfo=p,N.getPathToRoot=S,N.aboveViewRoot=m,N.wrapTreePathInfo=g},Vi4m:function(R,N,t){var y=t("bYtY");function p(m){m!=null&&y.extend(this,m),this.otherDims={}}var S=p;R.exports=S},Vl3Y:function(R,N,t){"use strict";var y=t("pVnL"),p=t.n(y),S=t("J4zp"),m=t.n(S),g=t("lSNA"),f=t.n(g),d=t("q1tI"),c=t("TSYQ"),a=t.n(c),n=t("85Yc"),i=t("H84U"),o=t("BGR+"),r=d.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),l=d.createContext({updateItemErrors:function(){}}),e=function(Nt){var tr=Object(o.default)(Nt,["prefixCls"]);return d.createElement(n.FormProvider,tr)};function s(le){return typeof le=="object"&&le!=null&&le.nodeType===1}function u(le,Nt){return(!Nt||le!=="hidden")&&le!=="visible"&&le!=="clip"}function h(le,Nt){if(le.clientHeightNt||cr>le&&Vr=Nt&&ur>=tr?cr-le-lt:Vr>Nt&&urtr?Vr-Nt+zt:0}var v=function(le,Nt){var tr=window,lt=Nt.scrollMode,zt=Nt.block,cr=Nt.inline,Vr=Nt.boundary,ur=Nt.skipOverflowHiddenElements,ir=typeof Vr=="function"?Vr:function(Dn){return Dn!==Vr};if(!s(le))throw new TypeError("Invalid target");for(var Lt=document.scrollingElement||document.documentElement,at=[],Xe=le;s(Xe)&&ir(Xe);){if((Xe=Xe.parentElement)===Lt){at.push(Xe);break}Xe!=null&&Xe===document.body&&h(Xe)&&!h(document.documentElement)||Xe!=null&&h(Xe,ur)&&at.push(Xe)}for(var $t=tr.visualViewport?tr.visualViewport.width:innerWidth,Sr=tr.visualViewport?tr.visualViewport.height:innerHeight,vr=window.scrollX||pageXOffset,fr=window.scrollY||pageYOffset,An=le.getBoundingClientRect(),Zr=An.height,Ln=An.width,Je=An.top,et=An.right,be=An.bottom,Le=An.left,Ue=zt==="start"||zt==="nearest"?Je:zt==="end"?be:Je+Zr/2,rt=cr==="center"?Le+Ln/2:cr==="end"?et:Le,Kt=[],Pt=0;Pt=0&&Le>=0&&be<=Sr&&et<=$t&&Je>=Ut&&be<=st&&Le>=Qt&&et<=dt)return Kt;var Jt=getComputedStyle(Vt),gt=parseInt(Jt.borderLeftWidth,10),Ft=parseInt(Jt.borderTopWidth,10),mt=parseInt(Jt.borderRightWidth,10),kt=parseInt(Jt.borderBottomWidth,10),gr=0,ar=0,lr="offsetWidth"in Vt?Vt.offsetWidth-Vt.clientWidth-gt-mt:0,Yr="offsetHeight"in Vt?Vt.offsetHeight-Vt.clientHeight-Ft-kt:0;if(Lt===Vt)gr=zt==="start"?Ue:zt==="end"?Ue-Sr:zt==="nearest"?A(fr,fr+Sr,Sr,Ft,kt,fr+Ue,fr+Ue+Zr,Zr):Ue-Sr/2,ar=cr==="start"?rt:cr==="center"?rt-$t/2:cr==="end"?rt-$t:A(vr,vr+$t,$t,gt,mt,vr+rt,vr+rt+Ln,Ln),gr=Math.max(0,gr+fr),ar=Math.max(0,ar+vr);else{gr=zt==="start"?Ue-Ut-Ft:zt==="end"?Ue-st+kt+Yr:zt==="nearest"?A(Ut,st,Pr,Ft,kt+Yr,Ue,Ue+Zr,Zr):Ue-(Ut+Pr/2)+Yr/2,ar=cr==="start"?rt-Qt-gt:cr==="center"?rt-(Qt+un/2)+lr/2:cr==="end"?rt-dt+mt+lr:A(Qt,dt,un,gt,mt+lr,rt,rt+Ln,Ln);var Jr=Vt.scrollLeft,Tn=Vt.scrollTop;Ue+=Tn-(gr=Math.max(0,Math.min(Tn+gr,Vt.scrollHeight-Pr+Yr))),rt+=Jr-(ar=Math.max(0,Math.min(Jr+ar,Vt.scrollWidth-un+lr)))}Kt.push({el:Vt,top:gr,left:ar})}return Kt};function w(le){return le===Object(le)&&Object.keys(le).length!==0}function b(le,Nt){Nt===void 0&&(Nt="auto");var tr="scrollBehavior"in document.body.style;le.forEach(function(lt){var zt=lt.el,cr=lt.top,Vr=lt.left;zt.scroll&&tr?zt.scroll({top:cr,left:Vr,behavior:Nt}):(zt.scrollTop=cr,zt.scrollLeft=Vr)})}function E(le){return le===!1?{block:"end",inline:"nearest"}:w(le)?le:{block:"start",inline:"nearest"}}function T(le,Nt){var tr=!le.ownerDocument.documentElement.contains(le);if(w(Nt)&&typeof Nt.behavior=="function")return Nt.behavior(tr?[]:v(le,Nt));if(tr)return;var lt=E(Nt);return b(v(le,lt),lt.behavior)}var _=T;function x(le){return le===void 0||le===!1?[]:Array.isArray(le)?le:[le]}function C(le,Nt){if(!le.length)return;var tr=le.join("_");return Nt?"".concat(Nt,"_").concat(tr):tr}function I(le){var Nt=x(le);return Nt.join("_")}function L(le){var Nt=Object(n.useForm)(),tr=m()(Nt,1),lt=tr[0],zt=Object(d.useRef)({}),cr=Object(d.useMemo)(function(){return le||p()(p()({},lt),{__INTERNAL__:{itemRef:function(ur){return function(ir){var Lt=I(ur);ir?zt.current[Lt]=ir:delete zt.current[Lt]}}},scrollToField:function(ur){var ir=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Lt=x(ur),at=C(Lt,cr.__INTERNAL__.name),Xe=at?document.getElementById(at):null;Xe&&_(Xe,p()({scrollMode:"if-needed",block:"nearest"},ir))},getFieldInstance:function(ur){var ir=I(ur);return zt.current[ir]}})},[le,lt]);return[cr]}var F=t("3Nzz"),B=function(le,Nt){var tr={};for(var lt in le)Object.prototype.hasOwnProperty.call(le,lt)&&Nt.indexOf(lt)<0&&(tr[lt]=le[lt]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var zt=0,lt=Object.getOwnPropertySymbols(le);zt0&&arguments[0]!==void 0?arguments[0]:{};return V()(Re[Ve],Se)?Re:p()(p()({},Re),f()({},Ve,Se))})},Dn=vt();function zn(Ve,Se,Re,Be){var We,He;if(lt&&!Je)return Ve;var Qe=[];Object.keys(gt).forEach(function(wr){Qe=[].concat(K()(Qe),K()(gt[wr]||[]))});var At;at!=null?At=x(at):(At=Re?Re.errors:[],At=[].concat(K()(At),K()(Qe)));var ot="";$t!==void 0?ot=$t:(Re==null?void 0:Re.validating)?ot="validating":((He=Re==null?void 0:Re.errors)===null||He===void 0?void 0:He.length)||Qe.length?ot="error":(Re==null?void 0:Re.touched)&&(ot="success"),Ut&&at&&(st.current=ot);var Bt=(We={},f()(We,"".concat(Jr,"-item"),!0),f()(We,"".concat(Jr,"-item-with-help"),Ut||at),f()(We,"".concat(ur),!!ur),f()(We,"".concat(Jr,"-item-has-feedback"),ot&&Lt),f()(We,"".concat(Jr,"-item-has-success"),ot==="success"),f()(We,"".concat(Jr,"-item-has-warning"),ot==="warning"),f()(We,"".concat(Jr,"-item-has-error"),ot==="error"),f()(We,"".concat(Jr,"-item-has-error-leave"),!at&&Ut&&st.current==="error"),f()(We,"".concat(Jr,"-item-is-validating"),ot==="validating"),f()(We,"".concat(Jr,"-item-hidden"),Je),We);return d.createElement(J.a,p()({className:a()(Bt),style:Vr,key:"row"},Object(o.default)(et,["colon","extra","getValueFromEvent","getValueProps","hasFeedback","help","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","normalize","preserve","required","validateFirst","validateStatus","valuePropName","wrapperCol"])),d.createElement(oe,p()({htmlFor:Se,required:Be,requiredMark:Pt},le,{prefixCls:Jr})),d.createElement(xe,p()({},le,Re,{errors:At,prefixCls:Jr,onDomErrorVisibleChange:ar,validateStatus:ot}),d.createElement(l.Provider,{value:{updateItemErrors:Tn}},Ve)))}var qn=typeof Sr=="function",vi=d.useRef(0);if(vi.current+=1,!lr&&!qn&&!zt)return zn(Sr);var Ri={};return typeof fr=="string"&&(Ri.label=fr),d.createElement(n.Field,p()({},le,{messageVariables:Ri,trigger:Zr,validateTrigger:gr,onReset:function(){ar(!1)}}),function(Ve,Se,Re){var Be=Se.errors,We=x(Nt).length&&Se?Se.name:[],He=C(We,Kt);if(lt){if(Yr.current=K()(We),tr){var Qe=Array.isArray(tr)?tr:[tr];Yr.current=[].concat(K()(We.slice(0,-1)),K()(Qe))}Mr(Yr.current.join("__SPLIT__"),Be)}var At=vr!==void 0?vr:!!(Xe&&Xe.some(function(Or){if(Or&&U()(Or)==="object"&&Or.required)return!0;if(typeof Or=="function"){var Ht=Or(Re);return Ht&&Ht.required}return!1})),ot=p()({},Ve),Bt=null;if(Object(G.a)(!(ir&&zt),"Form.Item","`shouldUpdate` and `dependencies` shouldn't be used together. See https://ant.design/components/form/#dependencies."),Array.isArray(Sr)&&lr)Object(G.a)(!1,"Form.Item","`children` is array of render props cannot have `name`."),Bt=Sr;else if(qn&&(!(ir||zt)||lr))Object(G.a)(!!(ir||zt),"Form.Item","`children` of render props only work with `shouldUpdate` or `dependencies`."),Object(G.a)(!lr,"Form.Item","Do not use `name` with `children` of render props since it's not a field.");else if(zt&&!qn&&!lr)Object(G.a)(!1,"Form.Item","Must set `name` or use render props when `dependencies` is set.");else if(Object(Ye.b)(Sr)){Object(G.a)(Sr.props.defaultValue===void 0,"Form.Item","`defaultValue` will not work on controlled Field. You should use `initialValues` of Form instead.");var wr=p()(p()({},Sr.props),ot);wr.id||(wr.id=He),Object(X.c)(Sr)&&(wr.ref=Dn(We,Sr));var mr=new Set([].concat(K()(x(Zr)),K()(x(gr))));mr.forEach(function(Or){wr[Or]=function(){for(var Ht,cn,nr,Xr,Br,yr=arguments.length,xn=new Array(yr),Bn=0;Bng&&(o=c+a,c*=g/o,a*=g/o),n+i>g&&(o=n+i,n*=g/o,i*=g/o),a+n>f&&(o=a+n,a*=f/o,n*=f/o),c+i>f&&(o=c+i,c*=f/o,i*=f/o),y.moveTo(S+c,m),y.lineTo(S+g-a,m),a!==0&&y.arc(S+g-a,m+a,a,-Math.PI/2,0),y.lineTo(S+g,m+f-n),n!==0&&y.arc(S+g-n,m+f-n,n,0,Math.PI/2),y.lineTo(S+i,m+f),i!==0&&y.arc(S+i,m+f-i,i,Math.PI/2,Math.PI),y.lineTo(S,m+c),c!==0&&y.arc(S+c,m+c,c,Math.PI,Math.PI*1.5)}N.buildPath=t},"VrN/":function(R,N,t){(function(y,p){R.exports=p()})(this,function(){"use strict";var y=navigator.userAgent,p=navigator.platform,S=/gecko\/\d/i.test(y),m=/MSIE \d/.test(y),g=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(y),f=/Edge\/(\d+)/.exec(y),d=m||g||f,c=d&&(m?document.documentMode||6:+(f||g)[1]),a=!f&&/WebKit\//.test(y),n=a&&/Qt\/\d+\.\d+/.test(y),i=!f&&/Chrome\//.test(y),o=/Opera\//.test(y),r=/Apple Computer/.test(navigator.vendor),l=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(y),e=/PhantomJS/.test(y),s=!f&&/AppleWebKit/.test(y)&&/Mobile\/\w+/.test(y),u=/Android/.test(y),h=s||u||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(y),A=s||/Mac/.test(p),v=/\bCrOS\b/.test(y),w=/win/i.test(p),b=o&&y.match(/Version\/(\d*\.\d*)/);b&&(b=Number(b[1])),b&&b>=15&&(o=!1,a=!0);var E=A&&(n||o&&(b==null||b<12.11)),T=S||d&&c>=9;function _(O){return new RegExp("(^|\\s)"+O+"(?:$|\\s)\\s*")}var x=function(D,Y){var Z=D.className,te=_(Y).exec(Z);if(te){var De=Z.slice(te.index+te[0].length);D.className=Z.slice(0,te.index)+(De?te[1]+De:"")}};function C(O){for(var D=O.childNodes.length;D>0;--D)O.removeChild(O.firstChild);return O}function I(O,D){return C(O).appendChild(D)}function L(O,D,Y,Z){var te=document.createElement(O);if(Y&&(te.className=Y),Z&&(te.style.cssText=Z),typeof D=="string")te.appendChild(document.createTextNode(D));else if(D)for(var De=0;De=D)return ht+(D-De);ht+=Et-De,ht+=Y-ht%Y,De=Et+1}}var V=function(){this.id=null,this.f=null,this.time=0,this.handler=k(this.onTimeout,this)};V.prototype.onTimeout=function(O){O.id=0,O.time<=+new Date?O.f():setTimeout(O.handler,O.time-+new Date)},V.prototype.set=function(O,D){this.f=D;var Y=+new Date+O;(!this.id||Y=D)return Z+Math.min(ht,D-te);if(te+=De-Z,te+=Y-te%Y,Z=De+1,te>=D)return Z}}var me=[""];function Me(O){for(;me.length<=O;)me.push(oe(me)+" ");return me[O]}function oe(O){return O[O.length-1]}function _e(O,D){for(var Y=[],Z=0;Z"\x80"&&(O.toUpperCase()!=O.toLowerCase()||Ee.test(O))}function re(O,D){return D?D.source.indexOf("\\w")>-1&&ue(O)?!0:D.test(O):ue(O)}function ce(O){for(var D in O)if(O.hasOwnProperty(D)&&O[D])return!1;return!0}var ke=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Te(O){return O.charCodeAt(0)>=768&&ke.test(O)}function Ke(O,D,Y){for(;(Y<0?D>0:DY?-1:1;;){if(D==Y)return D;var te=(D+Y)/2,De=Z<0?Math.ceil(te):Math.floor(te);if(De==D)return O(De)?D:Y;O(De)?Y=De:D=De+Z}}function se(O,D,Y,Z){if(!O)return Z(D,Y,"ltr",0);for(var te=!1,De=0;DeD||D==Y&&ht.to==D)&&(Z(Math.max(ht.from,D),Math.min(ht.to,Y),ht.level==1?"rtl":"ltr",De),te=!0)}te||Z(D,Y,"ltr")}var ye=null;function xe(O,D,Y){var Z;ye=null;for(var te=0;teD)return te;De.to==D&&(De.from!=De.to&&Y=="before"?Z=te:ye=te),De.from==D&&(De.from!=De.to&&Y!="before"?Z=te:ye=te)}return Z!=null?Z:ye}var Ye=function(){var O="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",D="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function Y(qt){return qt<=247?O.charAt(qt):1424<=qt&&qt<=1524?"R":1536<=qt&&qt<=1785?D.charAt(qt-1536):1774<=qt&&qt<=2220?"r":8192<=qt&&qt<=8203?"w":qt==8204?"b":"L"}var Z=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,te=/[stwN]/,De=/[LRr]/,ht=/[Lb1n]/,Et=/[1n]/;function Yt(qt,qr,dn){this.level=qt,this.from=qr,this.to=dn}return function(qt,qr){var dn=qr=="ltr"?"L":"R";if(qt.length==0||qr=="ltr"&&!Z.test(qt))return!1;for(var Mn=qt.length,kn=[],Ai=0;Ai-1&&(Z[D]=te.slice(0,De).concat(te.slice(De+1)))}}}function wt(O,D){var Y=vt(O,D);if(!Y.length)return;for(var Z=Array.prototype.slice.call(arguments,2),te=0;te0}function Gt(O){O.prototype.on=function(D,Y){Oe(this,D,Y)},O.prototype.off=function(D,Y){Ze(this,D,Y)}}function $e(O){O.preventDefault?O.preventDefault():O.returnValue=!1}function pe(O){O.stopPropagation?O.stopPropagation():O.cancelBubble=!0}function q(O){return O.defaultPrevented!=null?O.defaultPrevented:O.returnValue==!1}function bt(O){$e(O),pe(O)}function qe(O){return O.target||O.srcElement}function le(O){var D=O.which;return D==null&&(O.button&1?D=1:O.button&2?D=3:O.button&4&&(D=2)),A&&O.ctrlKey&&D==1&&(D=3),D}var Nt=function(){if(d&&c<9)return!1;var O=L("div");return"draggable"in O||"dragDrop"in O}(),tr;function lt(O){if(tr==null){var D=L("span","\u200B");I(O,L("span",[D,document.createTextNode("x")])),O.firstChild.offsetHeight!=0&&(tr=D.offsetWidth<=1&&D.offsetHeight>2&&!(d&&c<8))}var Y=tr?L("span","\u200B"):L("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return Y.setAttribute("cm-text",""),Y}var zt;function cr(O){if(zt!=null)return zt;var D=I(O,document.createTextNode("A\u062EA")),Y=B(D,0,1).getBoundingClientRect(),Z=B(D,1,2).getBoundingClientRect();return C(O),!Y||Y.left==Y.right?!1:zt=Z.right-Y.right<3}var Vr=` b`.split(/\n/).length!=3?function(O){for(var D=0,Y=[],Z=O.length;D<=Z;){var te=O.indexOf(` `,D);te==-1&&(te=O.length);var De=O.slice(D,O.charAt(te-1)=="\r"?te-1:te),ht=De.indexOf("\r");ht!=-1?(Y.push(De.slice(0,ht)),D+=ht+1):(Y.push(De),D=te+1)}return Y}:function(O){return O.split(/\r\n?|\n/)},ur=window.getSelection?function(O){try{return O.selectionStart!=O.selectionEnd}catch(D){return!1}}:function(O){var D;try{D=O.ownerDocument.selection.createRange()}catch(Y){}return!D||D.parentElement()!=O?!1:D.compareEndPoints("StartToEnd",D)!=0},ir=function(){var O=L("div");return"oncopy"in O?!0:(O.setAttribute("oncopy","return;"),typeof O.oncopy=="function")}(),Lt=null;function at(O){if(Lt!=null)return Lt;var D=I(O,L("span","x")),Y=D.getBoundingClientRect(),Z=B(D,0,1).getBoundingClientRect();return Lt=Math.abs(Y.left-Z.left)>1}var Xe={},$t={};function Sr(O,D){arguments.length>2&&(D.dependencies=Array.prototype.slice.call(arguments,2)),Xe[O]=D}function vr(O,D){$t[O]=D}function fr(O){if(typeof O=="string"&&$t.hasOwnProperty(O))O=$t[O];else if(O&&typeof O.name=="string"&&$t.hasOwnProperty(O.name)){var D=$t[O.name];typeof D=="string"&&(D={name:D}),O=Ge(D,O),O.name=D.name}else{if(typeof O=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(O))return fr("application/xml");if(typeof O=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(O))return fr("application/json")}return typeof O=="string"?{name:O}:O||{name:"null"}}function An(O,D){D=fr(D);var Y=Xe[D.name];if(!Y)return An(O,"text/plain");var Z=Y(O,D);if(Zr.hasOwnProperty(D.name)){var te=Zr[D.name];for(var De in te){if(!te.hasOwnProperty(De))continue;Z.hasOwnProperty(De)&&(Z["_"+De]=Z[De]),Z[De]=te[De]}}if(Z.name=D.name,D.helperType&&(Z.helperType=D.helperType),D.modeProps)for(var ht in D.modeProps)Z[ht]=D.modeProps[ht];return Z}var Zr={};function Ln(O,D){var Y=Zr.hasOwnProperty(O)?Zr[O]:Zr[O]={};K(D,Y)}function Je(O,D){if(D===!0)return D;if(O.copyState)return O.copyState(D);var Y={};for(var Z in D){var te=D[Z];te instanceof Array&&(te=te.concat([])),Y[Z]=te}return Y}function et(O,D){for(var Y;O.innerMode&&!(Y=O.innerMode(D),!Y||Y.mode==O);)D=Y.state,O=Y.mode;return Y||{mode:O,state:D}}function be(O,D,Y){return O.startState?O.startState(D,Y):!0}var Le=function(D,Y,Z){this.pos=this.start=0,this.string=D,this.tabSize=Y||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=Z};Le.prototype.eol=function(){return this.pos>=this.string.length},Le.prototype.sol=function(){return this.pos==this.lineStart},Le.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Le.prototype.next=function(){if(this.posD},Le.prototype.eatSpace=function(){for(var O=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>O},Le.prototype.skipToEnd=function(){this.pos=this.string.length},Le.prototype.skipTo=function(O){var D=this.string.indexOf(O,this.pos);if(D>-1)return this.pos=D,!0},Le.prototype.backUp=function(O){this.pos-=O},Le.prototype.column=function(){return this.lastColumnPos0?null:(De&&D!==!1&&(this.pos+=De[0].length),De)}},Le.prototype.current=function(){return this.string.slice(this.start,this.pos)},Le.prototype.hideFirstChars=function(O,D){this.lineStart+=O;try{return D()}finally{this.lineStart-=O}},Le.prototype.lookAhead=function(O){var D=this.lineOracle;return D&&D.lookAhead(O)},Le.prototype.baseToken=function(){var O=this.lineOracle;return O&&O.baseToken(this.pos)};function Ue(O,D){if(D-=O.first,D<0||D>=O.size)throw new Error("There is no line "+(D+O.first)+" in the document.");for(var Y=O;!Y.lines;)for(var Z=0;;++Z){var te=Y.children[Z],De=te.chunkSize();if(D=O.first&&DY?Ut(Y,Ue(O,Y).text.length):kt(D,Ue(O,D.line).text.length)}function kt(O,D){var Y=O.ch;return Y==null||Y>D?Ut(O.line,D):Y<0?Ut(O.line,0):O}function gr(O,D){for(var Y=[],Z=0;Zthis.maxLookAhead&&(this.maxLookAhead=O),D},lr.prototype.baseToken=function(O){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=O;)this.baseTokenPos+=2;var D=this.baseTokens[this.baseTokenPos+1];return{type:D&&D.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-O}},lr.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},lr.fromSaved=function(O,D,Y){return D instanceof ar?new lr(O,Je(O.mode,D.state),Y,D.lookAhead):new lr(O,Je(O.mode,D),Y)},lr.prototype.save=function(O){var D=O!==!1?Je(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new ar(D,this.maxLookAhead):D};function Yr(O,D,Y,Z){var te=[O.state.modeGen],De={};Se(O,D.text,O.doc.mode,Y,function(qt,qr){return te.push(qt,qr)},De,Z);for(var ht=Y.state,Et=function(qr){Y.baseTokens=te;var dn=O.state.overlays[qr],Mn=1,kn=0;Y.state=!0,Se(O,D.text,dn.mode,Y,function(Ai,ji){for(var Qi=Mn;knAi&&te.splice(Mn,1,Ai,te[Mn+1],Yi),Mn+=2,kn=Math.min(Ai,Yi)}if(!ji)return;if(dn.opaque)te.splice(Qi,Mn-Qi,Ai,"overlay "+ji),Mn=Qi+2;else for(;QiO.options.maxHighlightLength&&Je(O.doc.mode,Z.state),De=Yr(O,D,Z);te&&(Z.state=te),D.stateAfter=Z.save(!te),D.styles=De.styles,De.classes?D.styleClasses=De.classes:D.styleClasses&&(D.styleClasses=null),Y===O.doc.highlightFrontier&&(O.doc.modeFrontier=Math.max(O.doc.modeFrontier,++O.doc.highlightFrontier))}return D.styles}function Tn(O,D,Y){var Z=O.doc,te=O.display;if(!Z.mode.startState)return new lr(Z,!0,D);var De=Re(O,D,Y),ht=De>Z.first&&Ue(Z,De-1).stateAfter,Et=ht?lr.fromSaved(Z,ht,De):new lr(Z,be(Z.mode),De);return Z.iter(De,D,function(Yt){Dn(O,Yt.text,Et);var qt=Et.line;Yt.stateAfter=qt==D-1||qt%5==0||qt>=te.viewFrom&&qtD.start)return De}throw new Error("Mode "+O.name+" failed to advance stream.")}var vi=function(D,Y,Z){this.start=D.start,this.end=D.pos,this.string=D.current(),this.type=Y||null,this.state=Z};function Ri(O,D,Y,Z){var te=O.doc,De=te.mode,ht;D=mt(te,D);var Et=Ue(te,D.line),Yt=Tn(O,D.line,Y),qt=new Le(Et.text,O.options.tabSize,Yt),qr;for(Z&&(qr=[]);(Z||qt.posO.options.maxHighlightLength?(Et=!1,ht&&Dn(O,D,Z,qr.pos),qr.pos=D.length,dn=null):dn=Ve(qn(Y,qr,Z.state,Mn),De),Mn){var kn=Mn[0].name;kn&&(dn="m-"+(dn?kn+" "+dn:kn))}if(!Et||qt!=dn){for(;Ytht;--Et){if(Et<=De.first)return De.first;var Yt=Ue(De,Et-1),qt=Yt.stateAfter;if(qt&&(!Y||Et+(qt instanceof ar?qt.lookAhead:0)<=De.modeFrontier))return Et;var qr=j(Yt.text,null,O.options.tabSize);(te==null||Z>qr)&&(te=Et-1,Z=qr)}return te}function Be(O,D){if(O.modeFrontier=Math.min(O.modeFrontier,D),O.highlightFrontierY;Z--){var te=Ue(O,Z).stateAfter;if(te&&(!(te instanceof ar)||Z+te.lookAhead=D:De.to>D);(Z||(Z=[])).push(new ot(ht,De.from,Yt?null:De.to))}}return Z}function Ht(O,D,Y){var Z;if(O)for(var te=0;te=D:De.to>D);if(Et||De.from==D&&ht.type=="bookmark"&&(!Y||De.marker.insertLeft)){var Yt=De.from==null||(ht.inclusiveLeft?De.from<=D:De.from0&&Et)for(var ya=0;ya0)continue;var qr=[Yt,1],dn=dt(qt.from,Et.from),Mn=dt(qt.to,Et.to);(dn<0||!ht.inclusiveLeft&&!dn)&&qr.push({from:qt.from,to:Et.from}),(Mn>0||!ht.inclusiveRight&&!Mn)&&qr.push({from:Et.to,to:qt.to}),te.splice.apply(te,qr),Yt+=qr.length-3}return te}function Br(O){var D=O.markedSpans;if(!D)return;for(var Y=0;YD)&&(!Z||ii(Z,De.marker)<0)&&(Z=De.marker)}return Z}function Si(O,D,Y,Z,te){var De=Ue(O,D),ht=He&&De.markedSpans;if(ht)for(var Et=0;Et=0&&dn<=0||qr<=0&&dn>=0)continue;if(qr<=0&&(Yt.marker.inclusiveRight&&te.inclusiveLeft?dt(qt.to,Y)>=0:dt(qt.to,Y)>0)||qr>=0&&(Yt.marker.inclusiveRight&&te.inclusiveLeft?dt(qt.from,Z)<=0:dt(qt.from,Z)<0))return!0}}function gn(O){for(var D;D=ei(O);)O=D.find(-1,!0).line;return O}function Wr(O){for(var D;D=ui(O);)O=D.find(1,!0).line;return O}function En(O){for(var D,Y;D=ui(O);)O=D.find(1,!0).line,(Y||(Y=[])).push(O);return Y}function on(O,D){var Y=Ue(O,D),Z=gn(Y);return Y==Z?D:Vt(Z)}function ci(O,D){if(D>O.lastLine())return D;var Y=Ue(O,D),Z;if(!ri(O,Y))return D;for(;Z=ui(Y);)Y=Z.find(1,!0).line;return Vt(Y)+1}function ri(O,D){var Y=He&&D.markedSpans;if(Y)for(var Z=void 0,te=0;teD.maxLineLength&&(D.maxLineLength=te,D.maxLine=Z)})}var Mi=function(D,Y,Z){this.text=D,yr(this,Y),this.height=Z?Z(this):1};Mi.prototype.lineNo=function(){return Vt(this)},Gt(Mi);function fn(O,D,Y,Z){O.text=D,O.stateAfter&&(O.stateAfter=null),O.styles&&(O.styles=null),O.order!=null&&(O.order=null),Br(O),yr(O,Y);var te=Z?Z(O):1;te!=O.height&&Pt(O,te)}function kr(O){O.parent=null,Br(O)}var yn={},jn={};function Xn(O,D){if(!O||/^\s*$/.test(O))return null;var Y=D.addModeClass?jn:yn;return Y[O]||(Y[O]=O.replace(/\S+/g,"cm-$&"))}function ti(O,D){var Y=F("span",null,null,a?"padding-right: .1px":null),Z={pre:F("pre",[Y],"CodeMirror-line"),content:Y,col:0,pos:0,cm:O,trailingSpace:!1,splitSpaces:O.getOption("lineWrapping")};D.measure={};for(var te=0;te<=(D.rest?D.rest.length:0);te++){var De=te?D.rest[te-1]:D.line,ht=void 0;Z.pos=0,Z.addToken=fi,cr(O.display.measure)&&(ht=pt(De,O.doc.direction))&&(Z.addToken=Ki(Z.addToken,ht)),Z.map=[];var Et=D!=O.display.externalMeasured&&Vt(De);qi(De,Z,Jr(O,De,Et)),De.styleClasses&&(De.styleClasses.bgClass&&(Z.bgClass=M(De.styleClasses.bgClass,Z.bgClass||"")),De.styleClasses.textClass&&(Z.textClass=M(De.styleClasses.textClass,Z.textClass||""))),Z.map.length==0&&Z.map.push(0,0,Z.content.appendChild(lt(O.display.measure))),te==0?(D.measure.map=Z.map,D.measure.cache={}):((D.measure.maps||(D.measure.maps=[])).push(Z.map),(D.measure.caches||(D.measure.caches=[])).push({}))}if(a){var Yt=Z.content.lastChild;(/\bcm-tab\b/.test(Yt.className)||Yt.querySelector&&Yt.querySelector(".cm-tab"))&&(Z.content.className="cm-tab-wrap-hack")}return wt(O,"renderLine",O,D.line,Z.pre),Z.pre.className&&(Z.textClass=M(Z.pre.className,Z.textClass||"")),Z}function di(O){var D=L("span","\u2022","cm-invalidchar");return D.title="\\u"+O.charCodeAt(0).toString(16),D.setAttribute("aria-label",D.title),D}function fi(O,D,Y,Z,te,De,ht){if(!D)return;var Et=O.splitSpaces?mi(D,O.trailingSpace):D,Yt=O.cm.state.specialChars,qt=!1,qr;if(!Yt.test(D))O.col+=D.length,qr=document.createTextNode(Et),O.map.push(O.pos,O.pos+D.length,qr),d&&c<9&&(qt=!0),O.pos+=D.length;else{qr=document.createDocumentFragment();for(var dn=0;;){Yt.lastIndex=dn;var Mn=Yt.exec(D),kn=Mn?Mn.index-dn:D.length-dn;if(kn){var Ai=document.createTextNode(Et.slice(dn,dn+kn));d&&c<9?qr.appendChild(L("span",[Ai])):qr.appendChild(Ai),O.map.push(O.pos,O.pos+kn,Ai),O.col+=kn,O.pos+=kn}if(!Mn)break;dn+=kn+1;var ji=void 0;if(Mn[0]==" "){var Qi=O.cm.options.tabSize,Yi=Qi-O.col%Qi;ji=qr.appendChild(L("span",Me(Yi),"cm-tab")),ji.setAttribute("role","presentation"),ji.setAttribute("cm-text"," "),O.col+=Yi}else Mn[0]=="\r"||Mn[0]==` `?(ji=qr.appendChild(L("span",Mn[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),ji.setAttribute("cm-text",Mn[0]),O.col+=1):(ji=O.cm.options.specialCharPlaceholder(Mn[0]),ji.setAttribute("cm-text",Mn[0]),d&&c<9?qr.appendChild(L("span",[ji])):qr.appendChild(ji),O.col+=1);O.map.push(O.pos,O.pos+1,ji),O.pos++}}if(O.trailingSpace=Et.charCodeAt(D.length-1)==32,Y||Z||te||qt||De||ht){var Xi=Y||"";Z&&(Xi+=Z),te&&(Xi+=te);var pa=L("span",[qr],Xi,De);if(ht)for(var ya in ht)ht.hasOwnProperty(ya)&&ya!="style"&&ya!="class"&&pa.setAttribute(ya,ht[ya]);return O.content.appendChild(pa)}O.content.appendChild(qr)}function mi(O,D){if(O.length>1&&!/ /.test(O))return O;for(var Y=D,Z="",te=0;teqt&&dn.from<=qt);Mn++);if(dn.to>=qr)return O(Y,Z,te,De,ht,Et,Yt);O(Y,Z.slice(0,dn.to-qt),te,De,null,Et,Yt),De=null,Z=Z.slice(dn.to-qt),qt=dn.to}}}function ia(O,D,Y,Z){var te=!Z&&Y.widgetNode;te&&O.map.push(O.pos,O.pos+D,te),!Z&&O.cm.display.input.needsContentAttribute&&(te||(te=O.content.appendChild(document.createElement("span"))),te.setAttribute("cm-marker",Y.id)),te&&(O.cm.display.input.setUneditable(te),O.content.appendChild(te)),O.pos+=D,O.trailingSpace=!1}function qi(O,D,Y){var Z=O.markedSpans,te=O.text,De=0;if(!Z){for(var ht=1;htYt||vo.collapsed&&ja.to==Yt&&ja.from==Yt)){if(ja.to!=null&&ja.to!=Yt&&kn>ja.to&&(kn=ja.to,ji=""),vo.className&&(Ai+=" "+vo.className),vo.css&&(Mn=(Mn?Mn+";":"")+vo.css),vo.startStyle&&ja.from==Yt&&(Qi+=" "+vo.startStyle),vo.endStyle&&ja.to==kn&&(ya||(ya=[])).push(vo.endStyle,ja.to),vo.title&&((Xi||(Xi={})).title=vo.title),vo.attributes)for(var Wo in vo.attributes)(Xi||(Xi={}))[Wo]=vo.attributes[Wo];vo.collapsed&&(!Yi||ii(Yi.marker,vo)<0)&&(Yi=ja)}else ja.from>Yt&&kn>ja.from&&(kn=ja.from)}if(ya)for(var ta=0;ta=Et)break;for(var Ts=Math.min(Et,kn);;){if(qr){var fs=Yt+qr.length;if(!Yi){var _s=fs>Ts?qr.slice(0,Ts-Yt):qr;D.addToken(D,_s,dn?dn+Ai:Ai,Qi,Yt+_s.length==kn?ji:"",Mn,Xi)}if(fs>=Ts){qr=qr.slice(Ts-Yt),Yt=Ts;break}Yt=fs,Qi=""}qr=te.slice(De,De=Y[qt++]),dn=Xn(Y[qt++],D.cm.options)}}}function Ra(O,D,Y){this.line=D,this.rest=En(D),this.size=this.rest?Vt(oe(this.rest))-Y+1:1,this.node=this.text=null,this.hidden=ri(O,D)}function pi(O,D,Y){for(var Z=[],te,De=D;De2&&De.push((Yt.bottom+qt.top)/2-Y.top)}}De.push(Y.bottom-Y.top)}}function gi(O,D,Y){if(O.line==D)return{map:O.measure.map,cache:O.measure.cache};for(var Z=0;ZY)return{map:O.measure.maps[te],cache:O.measure.caches[te],before:!0}}function Ni(O,D){D=gn(D);var Y=Vt(D),Z=O.display.externalMeasured=new Ra(O.doc,D,Y);Z.lineN=Y;var te=Z.built=ti(O,Z);return Z.text=te.pre,I(O.display.lineMeasure,te.pre),Z}function ki(O,D,Y,Z){return Li(O,_i(O,D),Y,Z)}function xi(O,D){if(D>=O.display.viewFrom&&D=Y.lineN&&DD)&&(De=Yt-Et,te=De-1,D>=Yt&&(ht="right")),te!=null){if(Z=O[qt+2],Et==Yt&&Y==(Z.insertLeft?"left":"right")&&(ht=Y),Y=="left"&&te==0)for(;qt&&O[qt-2]==O[qt-3]&&O[qt-1].insertLeft;)Z=O[(qt-=3)+2],ht="left";if(Y=="right"&&te==Yt-Et)for(;qt=0&&!((Y=O[te]).left!=Y.right);te--);return Y}function pr(O,D,Y,Z){var te=Ci(D.map,Y,Z),De=te.node,ht=te.start,Et=te.end,Yt=te.collapse,qt;if(De.nodeType==3){for(var qr=0;qr<4;qr++){for(;ht&&Te(D.line.text.charAt(te.coverStart+ht));)--ht;for(;te.coverStart+Et0&&(Yt=Z="right");var dn;O.options.lineWrapping&&(dn=De.getClientRects()).length>1?qt=dn[Z=="right"?dn.length-1:0]:qt=De.getBoundingClientRect()}if(d&&c<9&&!ht&&(!qt||!qt.left&&!qt.right)){var Mn=De.parentNode.getClientRects()[0];Mn?qt={left:Mn.left,right:Mn.left+na(O.display),top:Mn.top,bottom:Mn.bottom}:qt=Hn}for(var kn=qt.top-D.rect.top,Ai=qt.bottom-D.rect.top,ji=(kn+Ai)/2,Qi=D.view.measure.heights,Yi=0;Yi=Z.text.length?(Yt=Z.text.length,qt="before"):Yt<=0&&(Yt=0,qt="after"),!Et)return ht(qt=="before"?Yt-1:Yt,qt=="before");function qr(Ai,ji,Qi){var Yi=Et[ji],Xi=Yi.level==1;return ht(Qi?Ai-1:Ai,Xi!=Qi)}var dn=xe(Et,Yt,qt),Mn=ye,kn=qr(Yt,dn,qt=="before");return Mn!=null&&(kn.other=qr(Yt,Mn,qt!="before")),kn}function Un(O,D){var Y=0;D=mt(O.doc,D),O.options.lineWrapping||(Y=na(O.display)*D.ch);var Z=Ue(O.doc,D.line),te=Gn(Z)+bn(O.display);return{left:Y,right:Y,top:te,bottom:te+Z.height}}function Qn(O,D,Y,Z,te){var De=Ut(O,D,Y);return De.xRel=te,Z&&(De.outside=Z),De}function $n(O,D,Y){var Z=O.doc;if(Y+=O.display.viewOffset,Y<0)return Qn(Z.first,0,null,-1,-1);var te=Mr(Z,Y),De=Z.first+Z.size-1;if(te>De)return Qn(Z.first+Z.size-1,Ue(Z,De).text.length,null,1,1);D<0&&(D=0);for(var ht=Ue(Z,te);;){var Et=da(O,ht,te,D,Y),Yt=Fn(ht,Et.ch+(Et.xRel>0||Et.outside>0?1:0));if(!Yt)return Et;var qt=Yt.find(1);if(qt.line==te)return qt;ht=Ue(Z,te=qt.line)}}function wi(O,D,Y,Z){Z-=jr(D);var te=D.text.length,De=Ie(function(ht){return Li(O,Y,ht-1).bottom<=Z},te,0);return te=Ie(function(ht){return Li(O,Y,ht).top>Z},De,te),{begin:De,end:te}}function ra(O,D,Y,Z){Y||(Y=_i(O,D));var te=Ur(O,D,Li(O,Y,Z),"line").top;return wi(O,D,Y,te)}function ua(O,D,Y,Z){return O.bottom<=Y?!1:O.top>Y?!0:(Z?O.left:O.right)>D}function da(O,D,Y,Z,te){te-=Gn(D);var De=_i(O,D),ht=jr(D),Et=0,Yt=D.text.length,qt=!0,qr=pt(D,O.doc.direction);if(qr){var dn=(O.options.lineWrapping?fa:sa)(O,D,Y,De,qr,Z,te);qt=dn.level!=1,Et=qt?dn.from:dn.to-1,Yt=qt?dn.to:dn.from-1}var Mn=null,kn=null,Ai=Ie(function(qa){var ja=Li(O,De,qa);return ja.top+=ht,ja.bottom+=ht,ua(ja,Z,te,!1)?(ja.top<=te&&ja.left<=Z&&(Mn=qa,kn=ja),!0):!1},Et,Yt),ji,Qi,Yi=!1;if(kn){var Xi=Z-kn.left=ya.bottom?1:0}return Ai=Ke(D.text,Ai,1),Qn(Y,Ai,Qi,Yi,Z-ji)}function sa(O,D,Y,Z,te,De,ht){var Et=Ie(function(dn){var Mn=te[dn],kn=Mn.level!=1;return ua(vn(O,Ut(Y,kn?Mn.to:Mn.from,kn?"before":"after"),"line",D,Z),De,ht,!0)},0,te.length-1),Yt=te[Et];if(Et>0){var qt=Yt.level!=1,qr=vn(O,Ut(Y,qt?Yt.from:Yt.to,qt?"after":"before"),"line",D,Z);ua(qr,De,ht,!0)&&qr.top>ht&&(Yt=te[Et-1])}return Yt}function fa(O,D,Y,Z,te,De,ht){var Et=wi(O,D,Z,ht),Yt=Et.begin,qt=Et.end;/\s/.test(D.text.charAt(qt-1))&&qt--;for(var qr=null,dn=null,Mn=0;Mn=qt||kn.to<=Yt)continue;var Ai=kn.level!=1,ji=Li(O,Z,Ai?Math.min(qt,kn.to)-1:Math.max(Yt,kn.from)).right,Qi=jiQi)&&(qr=kn,dn=Qi)}return qr||(qr=te[te.length-1]),qr.fromqt&&(qr={from:qr.from,to:qt,level:qr.level}),qr}var Wi;function Di(O){if(O.cachedTextHeight!=null)return O.cachedTextHeight;if(Wi==null){Wi=L("pre",null,"CodeMirror-line-like");for(var D=0;D<49;++D)Wi.appendChild(document.createTextNode("x")),Wi.appendChild(L("br"));Wi.appendChild(document.createTextNode("x"))}I(O.measure,Wi);var Y=Wi.offsetHeight/50;return Y>3&&(O.cachedTextHeight=Y),C(O.measure),Y||1}function na(O){if(O.cachedCharWidth!=null)return O.cachedCharWidth;var D=L("span","xxxxxxxxxx"),Y=L("pre",[D],"CodeMirror-line-like");I(O.measure,Y);var Z=D.getBoundingClientRect(),te=(Z.right-Z.left)/10;return te>2&&(O.cachedCharWidth=te),te||10}function Zi(O){for(var D=O.display,Y={},Z={},te=D.gutters.clientLeft,De=D.gutters.firstChild,ht=0;De;De=De.nextSibling,++ht){var Et=O.display.gutterSpecs[ht].className;Y[Et]=De.offsetLeft+De.clientLeft+te,Z[Et]=De.clientWidth}return{fixedPos:ba(D),gutterTotalWidth:D.gutters.offsetWidth,gutterLeft:Y,gutterWidth:Z,wrapperWidth:D.wrapper.clientWidth}}function ba(O){return O.scroller.getBoundingClientRect().left-O.sizer.getBoundingClientRect().left}function Ta(O){var D=Di(O.display),Y=O.options.lineWrapping,Z=Y&&Math.max(5,O.display.scroller.clientWidth/na(O.display)-3);return function(te){if(ri(O.doc,te))return 0;var De=0;if(te.widgets)for(var ht=0;ht0&&(qt=Ue(O.doc,Yt.line).text).length==Yt.ch){var qr=j(qt,qt.length,O.options.tabSize)-qt.length;Yt=Ut(Yt.line,Math.max(0,Math.round((De-_n(O.display).left)/na(O.display))-qr))}return Yt}function La(O,D){if(D>=O.display.viewTo)return null;if(D-=O.display.viewFrom,D<0)return null;for(var Y=O.display.view,Z=0;ZD)&&(te.updateLineNumbers=D),O.curOp.viewChanged=!0,D>=te.viewTo)He&&on(O.doc,D)te.viewFrom?Ea(O):(te.viewFrom+=Z,te.viewTo+=Z);else if(D<=te.viewFrom&&Y>=te.viewTo)Ea(O);else if(D<=te.viewFrom){var De=Da(O,Y,Y+Z,1);De?(te.view=te.view.slice(De.index),te.viewFrom=De.lineN,te.viewTo+=Z):Ea(O)}else if(Y>=te.viewTo){var ht=Da(O,D,D,-1);ht?(te.view=te.view.slice(0,ht.index),te.viewTo=ht.lineN):Ea(O)}else{var Et=Da(O,D,D,-1),Yt=Da(O,Y,Y+Z,1);Et&&Yt?(te.view=te.view.slice(0,Et.index).concat(pi(O,Et.lineN,Yt.lineN)).concat(te.view.slice(Yt.index)),te.viewTo+=Z):Ea(O)}var qt=te.externalMeasured;qt&&(Y=te.lineN&&D=Z.viewTo)return;var De=Z.view[La(O,D)];if(De.node==null)return;var ht=De.changes||(De.changes=[]);W(ht,Y)==-1&&ht.push(Y)}function Ea(O){O.display.viewFrom=O.display.viewTo=O.doc.first,O.display.view=[],O.display.viewOffset=0}function Da(O,D,Y,Z){var te=La(O,D),De,ht=O.display.view;if(!He||Y==O.doc.first+O.doc.size)return{index:te,lineN:Y};for(var Et=O.display.viewFrom,Yt=0;Yt0){if(te==ht.length-1)return null;De=Et+ht[te].size-D,te++}else De=Et-D;D+=De,Y+=De}for(;on(O.doc,Y)!=Y;){if(te==(Z<0?0:ht.length-1))return null;Y+=Z*ht[te-(Z<0?1:0)].size,te+=Z}return{index:te,lineN:Y}}function Na(O,D,Y){var Z=O.display,te=Z.view;te.length==0||D>=Z.viewTo||Y<=Z.viewFrom?(Z.view=pi(O,D,Y),Z.viewFrom=D):(Z.viewFrom>D?Z.view=pi(O,D,Z.viewFrom).concat(Z.view):Z.viewFromY&&(Z.view=Z.view.slice(0,La(O,Y)))),Z.viewTo=Y}function Pa(O){for(var D=O.display.view,Y=0,Z=0;Z=O.display.viewTo||Et.to().line0?D.blinker=setInterval(function(){O.hasFocus()||Ja(O),D.cursorDiv.style.visibility=(Y=!Y)?"":"hidden"},O.options.cursorBlinkRate):O.options.cursorBlinkRate<0&&(D.cursorDiv.style.visibility="hidden")}function lo(O){O.state.focused||(O.display.input.focus(),Sa(O))}function Ya(O){O.state.delayingBlurEvent=!0,setTimeout(function(){O.state.delayingBlurEvent&&(O.state.delayingBlurEvent=!1,Ja(O))},100)}function Sa(O,D){if(O.state.delayingBlurEvent&&(O.state.delayingBlurEvent=!1),O.options.readOnly=="nocursor")return;O.state.focused||(wt(O,"focus",O,D),O.state.focused=!0,z(O.display.wrapper,"CodeMirror-focused"),!O.curOp&&O.display.selForContextMenu!=O.doc.sel&&(O.display.input.reset(),a&&setTimeout(function(){return O.display.input.reset(!0)},20)),O.display.input.receivedFocus()),ea(O)}function Ja(O,D){if(O.state.delayingBlurEvent)return;O.state.focused&&(wt(O,"blur",O,D),O.state.focused=!1,x(O.display.wrapper,"CodeMirror-focused")),clearInterval(O.display.blinker),setTimeout(function(){O.state.focused||(O.display.shift=!1)},150)}function Ma(O){for(var D=O.display,Y=D.lineDiv.offsetTop,Z=0;Z.005||qr<-.005)&&(Pt(te.line,ht),ka(te.line),te.rest))for(var dn=0;dnO.display.sizerWidth){var Mn=Math.ceil(Et/na(O.display));Mn>O.display.maxLineLength&&(O.display.maxLineLength=Mn,O.display.maxLine=te.line,O.display.maxLineChanged=!0)}}}function ka(O){if(O.widgets)for(var D=0;D=ht&&(De=Mr(D,Gn(Ue(D,Yt))-O.wrapper.clientHeight),ht=Yt)}return{from:De,to:Math.max(ht,De+1)}}function to(O,D){if(xt(O,"scrollCursorIntoView"))return;var Y=O.display,Z=Y.sizer.getBoundingClientRect(),te=null;if(D.top+Z.top<0?te=!0:D.bottom+Z.top>(window.innerHeight||document.documentElement.clientHeight)&&(te=!1),te!=null&&!e){var De=L("div","\u200B",null,`position: absolute; top: `+(D.top-Y.viewOffset-bn(O.display))+`px; height: `+(D.bottom-D.top+Kn(O)+Y.barHeight)+`px; left: `+D.left+"px; width: "+Math.max(2,D.right-D.left)+"px;");O.display.lineSpace.appendChild(De),De.scrollIntoView(te),O.display.lineSpace.removeChild(De)}}function _o(O,D,Y,Z){Z==null&&(Z=0);var te;!O.options.lineWrapping&&D==Y&&(D=D.ch?Ut(D.line,D.sticky=="before"?D.ch-1:D.ch,"after"):D,Y=D.sticky=="before"?Ut(D.line,D.ch+1,"before"):D);for(var De=0;De<5;De++){var ht=!1,Et=vn(O,D),Yt=!Y||Y==D?Et:vn(O,Y);te={left:Math.min(Et.left,Yt.left),top:Math.min(Et.top,Yt.top)-Z,right:Math.max(Et.left,Yt.left),bottom:Math.max(Et.bottom,Yt.bottom)+Z};var qt=uo(O,te),qr=O.doc.scrollTop,dn=O.doc.scrollLeft;if(qt.scrollTop!=null&&(Ia(O,qt.scrollTop),Math.abs(O.doc.scrollTop-qr)>1&&(ht=!0)),qt.scrollLeft!=null&&(Uo(O,qt.scrollLeft),Math.abs(O.doc.scrollLeft-dn)>1&&(ht=!0)),!ht)break}return te}function co(O,D){var Y=uo(O,D);Y.scrollTop!=null&&Ia(O,Y.scrollTop),Y.scrollLeft!=null&&Uo(O,Y.scrollLeft)}function uo(O,D){var Y=O.display,Z=Di(O.display);D.top<0&&(D.top=0);var te=O.curOp&&O.curOp.scrollTop!=null?O.curOp.scrollTop:Y.scroller.scrollTop,De=Zn(O),ht={};D.bottom-D.top>De&&(D.bottom=D.top+De);var Et=O.doc.height+Sn(Y),Yt=D.topEt-Z;if(D.topte+De){var qr=Math.min(D.top,(qt?Et:D.bottom)-De);qr!=te&&(ht.scrollTop=qr)}var dn=O.options.fixedGutter?0:Y.gutters.offsetWidth,Mn=O.curOp&&O.curOp.scrollLeft!=null?O.curOp.scrollLeft:Y.scroller.scrollLeft-dn,kn=Yn(O)-Y.gutters.offsetWidth,Ai=D.right-D.left>kn;return Ai&&(D.right=D.left+kn),D.left<10?ht.scrollLeft=0:D.leftkn+Mn-3&&(ht.scrollLeft=D.right+(Ai?0:10)-kn),ht}function Qa(O,D){if(D==null)return;fo(O),O.curOp.scrollTop=(O.curOp.scrollTop==null?O.doc.scrollTop:O.curOp.scrollTop)+D}function Za(O){fo(O);var D=O.getCursor();O.curOp.scrollToPos={from:D,to:D,margin:O.options.cursorScrollMargin}}function Ca(O,D,Y){(D!=null||Y!=null)&&fo(O),D!=null&&(O.curOp.scrollLeft=D),Y!=null&&(O.curOp.scrollTop=Y)}function no(O,D){fo(O),O.curOp.scrollToPos=D}function fo(O){var D=O.curOp.scrollToPos;if(D){O.curOp.scrollToPos=null;var Y=Un(O,D.from),Z=Un(O,D.to);Bi(O,Y,Z,D.margin)}}function Bi(O,D,Y,Z){var te=uo(O,{left:Math.min(D.left,Y.left),top:Math.min(D.top,Y.top)-Z,right:Math.max(D.right,Y.right),bottom:Math.max(D.bottom,Y.bottom)+Z});Ca(O,te.scrollLeft,te.scrollTop)}function Ia(O,D){if(Math.abs(O.doc.scrollTop-D)<2)return;S||Jo(O,{top:D}),Vo(O,D,!0),S&&Jo(O),Go(O,100)}function Vo(O,D,Y){if(D=Math.max(0,Math.min(O.display.scroller.scrollHeight-O.display.scroller.clientHeight,D)),O.display.scroller.scrollTop==D&&!Y)return;O.doc.scrollTop=D,O.display.scrollbars.setScrollTop(D),O.display.scroller.scrollTop!=D&&(O.display.scroller.scrollTop=D)}function Uo(O,D,Y,Z){if(D=Math.max(0,Math.min(D,O.display.scroller.scrollWidth-O.display.scroller.clientWidth)),(Y?D==O.doc.scrollLeft:Math.abs(O.doc.scrollLeft-D)<2)&&!Z)return;O.doc.scrollLeft=D,Ls(O),O.display.scroller.scrollLeft!=D&&(O.display.scroller.scrollLeft=D),O.display.scrollbars.setScrollLeft(D)}function Xo(O){var D=O.display,Y=D.gutters.offsetWidth,Z=Math.round(O.doc.height+Sn(O.display));return{clientHeight:D.scroller.clientHeight,viewHeight:D.wrapper.clientHeight,scrollWidth:D.scroller.scrollWidth,clientWidth:D.scroller.clientWidth,viewWidth:D.wrapper.clientWidth,barLeft:O.options.fixedGutter?Y:0,docHeight:Z,scrollHeight:Z+Kn(O)+D.barHeight,nativeBarWidth:D.nativeBarWidth,gutterWidth:Y}}var Yo=function(D,Y,Z){this.cm=Z;var te=this.vert=L("div",[L("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),De=this.horiz=L("div",[L("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");te.tabIndex=De.tabIndex=-1,D(te),D(De),Oe(te,"scroll",function(){te.clientHeight&&Y(te.scrollTop,"vertical")}),Oe(De,"scroll",function(){De.clientWidth&&Y(De.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,d&&c<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Yo.prototype.update=function(O){var D=O.scrollWidth>O.clientWidth+1,Y=O.scrollHeight>O.clientHeight+1,Z=O.nativeBarWidth;if(Y){this.vert.style.display="block",this.vert.style.bottom=D?Z+"px":"0";var te=O.viewHeight-(D?Z:0);this.vert.firstChild.style.height=Math.max(0,O.scrollHeight-O.clientHeight+te)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(D){this.horiz.style.display="block",this.horiz.style.right=Y?Z+"px":"0",this.horiz.style.left=O.barLeft+"px";var De=O.viewWidth-O.barLeft-(Y?Z:0);this.horiz.firstChild.style.width=Math.max(0,O.scrollWidth-O.clientWidth+De)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&O.clientHeight>0&&(Z==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:Y?Z:0,bottom:D?Z:0}},Yo.prototype.setScrollLeft=function(O){this.horiz.scrollLeft!=O&&(this.horiz.scrollLeft=O),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Yo.prototype.setScrollTop=function(O){this.vert.scrollTop!=O&&(this.vert.scrollTop=O),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Yo.prototype.zeroWidthHack=function(){var O=A&&!l?"12px":"18px";this.horiz.style.height=this.vert.style.width=O,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new V,this.disableVert=new V},Yo.prototype.enableZeroWidthBar=function(O,D,Y){O.style.pointerEvents="auto";function Z(){var te=O.getBoundingClientRect(),De=Y=="vert"?document.elementFromPoint(te.right-1,(te.top+te.bottom)/2):document.elementFromPoint((te.right+te.left)/2,te.bottom-1);De!=O?O.style.pointerEvents="none":D.set(1e3,Z)}D.set(1e3,Z)},Yo.prototype.clear=function(){var O=this.horiz.parentNode;O.removeChild(this.horiz),O.removeChild(this.vert)};var bo=function(){};bo.prototype.update=function(){return{bottom:0,right:0}},bo.prototype.setScrollLeft=function(){},bo.prototype.setScrollTop=function(){},bo.prototype.clear=function(){};function Oa(O,D){D||(D=Xo(O));var Y=O.display.barWidth,Z=O.display.barHeight;Fo(O,D);for(var te=0;te<4&&Y!=O.display.barWidth||Z!=O.display.barHeight;te++)Y!=O.display.barWidth&&O.options.lineWrapping&&Ma(O),Fo(O,Xo(O)),Y=O.display.barWidth,Z=O.display.barHeight}function Fo(O,D){var Y=O.display,Z=Y.scrollbars.update(D);Y.sizer.style.paddingRight=(Y.barWidth=Z.right)+"px",Y.sizer.style.paddingBottom=(Y.barHeight=Z.bottom)+"px",Y.heightForcer.style.borderBottom=Z.bottom+"px solid transparent",Z.right&&Z.bottom?(Y.scrollbarFiller.style.display="block",Y.scrollbarFiller.style.height=Z.bottom+"px",Y.scrollbarFiller.style.width=Z.right+"px"):Y.scrollbarFiller.style.display="",Z.bottom&&O.options.coverGutterNextToScrollbar&&O.options.fixedGutter?(Y.gutterFiller.style.display="block",Y.gutterFiller.style.height=Z.bottom+"px",Y.gutterFiller.style.width=D.gutterWidth+"px"):Y.gutterFiller.style.display=""}var ss={native:Yo,null:bo};function ho(O){O.display.scrollbars&&(O.display.scrollbars.clear(),O.display.scrollbars.addClass&&x(O.display.wrapper,O.display.scrollbars.addClass)),O.display.scrollbars=new ss[O.options.scrollbarStyle](function(D){O.display.wrapper.insertBefore(D,O.display.scrollbarFiller),Oe(D,"mousedown",function(){O.state.focused&&setTimeout(function(){return O.display.input.focus()},0)}),D.setAttribute("cm-not-content","true")},function(D,Y){Y=="horizontal"?Uo(O,D):Ia(O,D)},O),O.display.scrollbars.addClass&&z(O.display.wrapper,O.display.scrollbars.addClass)}var Oo=0;function Fa(O){O.curOp={cm:O,viewChanged:!1,startHeight:O.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Oo},Oi(O.curOp)}function Qo(O){var D=O.curOp;D&&Pi(D,function(Y){for(var Z=0;Z=Y.viewTo)||Y.maxLineChanged&&D.options.lineWrapping,O.update=O.mustUpdate&&new Bo(D,O.mustUpdate&&{top:O.scrollTop,ensure:O.scrollToPos},O.forceUpdate)}function Ns(O){O.updatedDisplay=O.mustUpdate&&io(O.cm,O.update)}function Cs(O){var D=O.cm,Y=D.display;O.updatedDisplay&&Ma(D),O.barMeasure=Xo(D),Y.maxLineChanged&&!D.options.lineWrapping&&(O.adjustWidthTo=ki(D,Y.maxLine,Y.maxLine.text.length).left+3,D.display.sizerWidth=O.adjustWidthTo,O.barMeasure.scrollWidth=Math.max(Y.scroller.clientWidth,Y.sizer.offsetLeft+O.adjustWidthTo+Kn(D)+D.display.barWidth),O.maxScrollLeft=Math.max(0,Y.sizer.offsetLeft+O.adjustWidthTo-Yn(D))),(O.updatedDisplay||O.selectionChanged)&&(O.preparedSelection=Y.input.prepareSelection())}function As(O){var D=O.cm;O.adjustWidthTo!=null&&(D.display.sizer.style.minWidth=O.adjustWidthTo+"px",O.maxScrollLeft=O.display.viewTo)return;var Y=+new Date+O.options.workTime,Z=Tn(O,D.highlightFrontier),te=[];D.iter(Z.line,Math.min(D.first+D.size,O.display.viewTo+500),function(De){if(Z.line>=O.display.viewFrom){var ht=De.styles,Et=De.text.length>O.options.maxHighlightLength?Je(D.mode,Z.state):null,Yt=Yr(O,De,Z,!0);Et&&(Z.state=Et),De.styles=Yt.styles;var qt=De.styleClasses,qr=Yt.classes;qr?De.styleClasses=qr:qt&&(De.styleClasses=null);for(var dn=!ht||ht.length!=De.styles.length||qt!=qr&&(!qt||!qr||qt.bgClass!=qr.bgClass||qt.textClass!=qr.textClass),Mn=0;!dn&&MnY)return Go(O,O.options.workDelay),!0}),D.highlightFrontier=Z.line,D.modeFrontier=Math.max(D.modeFrontier,Z.line),te.length&&jo(O,function(){for(var De=0;De=Y.viewFrom&&D.visible.to<=Y.viewTo&&(Y.updateLineNumbers==null||Y.updateLineNumbers>=Y.viewTo)&&Y.renderedView==Y.view&&Pa(O)==0)return!1;il(O)&&(Ea(O),D.dims=Zi(O));var te=Z.first+Z.size,De=Math.max(D.visible.from-O.options.viewportMargin,Z.first),ht=Math.min(te,D.visible.to+O.options.viewportMargin);Y.viewFromht&&Y.viewTo-ht<20&&(ht=Math.min(te,Y.viewTo)),He&&(De=on(O.doc,De),ht=ci(O.doc,ht));var Et=De!=Y.viewFrom||ht!=Y.viewTo||Y.lastWrapHeight!=D.wrapperHeight||Y.lastWrapWidth!=D.wrapperWidth;Na(O,De,ht),Y.viewOffset=Gn(Ue(O.doc,Y.viewFrom)),O.display.mover.style.top=Y.viewOffset+"px";var Yt=Pa(O);if(!Et&&Yt==0&&!D.force&&Y.renderedView==Y.view&&(Y.updateLineNumbers==null||Y.updateLineNumbers>=Y.viewTo))return!1;var qt=Ks(O);return Yt>4&&(Y.lineDiv.style.display="none"),ns(O,Y.updateLineNumbers,D.dims),Yt>4&&(Y.lineDiv.style.display=""),Y.renderedView=Y.view,Ps(qt),C(Y.cursorDiv),C(Y.selectionDiv),Y.gutters.style.height=Y.sizer.style.minHeight=0,Et&&(Y.lastWrapHeight=D.wrapperHeight,Y.lastWrapWidth=D.wrapperWidth,Go(O,400)),Y.updateLineNumbers=null,!0}function Ao(O,D){for(var Y=D.viewport,Z=!0;;Z=!1){if(!Z||!O.options.lineWrapping||D.oldDisplayWidth==Yn(O)){if(Y&&Y.top!=null&&(Y={top:Math.min(O.doc.height+Sn(O.display)-Zn(O),Y.top)}),D.visible=yo(O.display,O.doc,Y),D.visible.from>=O.display.viewFrom&&D.visible.to<=O.display.viewTo)break}else Z&&(D.visible=yo(O.display,O.doc,Y));if(!io(O,D))break;Ma(O);var te=Xo(O);Ha(O),Oa(O,te),ps(O,te),D.force=!1}D.signal(O,"update",O),(O.display.viewFrom!=O.display.reportedViewFrom||O.display.viewTo!=O.display.reportedViewTo)&&(D.signal(O,"viewportChange",O,O.display.viewFrom,O.display.viewTo),O.display.reportedViewFrom=O.display.viewFrom,O.display.reportedViewTo=O.display.viewTo)}function Jo(O,D){var Y=new Bo(O,D);if(io(O,Y)){Ma(O),Ao(O,Y);var Z=Xo(O);Ha(O),Oa(O,Z),ps(O,Z),Y.finish()}}function ns(O,D,Y){var Z=O.display,te=O.options.lineNumbers,De=Z.lineDiv,ht=De.firstChild;function Et(Ai){var ji=Ai.nextSibling;return a&&A&&O.display.currentWheelTarget==Ai?Ai.style.display="none":Ai.parentNode.removeChild(Ai),ji}for(var Yt=Z.view,qt=Z.viewFrom,qr=0;qr-1&&(kn=!1),rn(O,dn,qt,Y)),kn&&(C(dn.lineNumber),dn.lineNumber.appendChild(document.createTextNode(un(O.options,qt)))),ht=dn.node.nextSibling}qt+=dn.size}for(;ht;)ht=Et(ht)}function ys(O){var D=O.gutters.offsetWidth;O.sizer.style.marginLeft=D+"px"}function ps(O,D){O.display.sizer.style.minHeight=D.docHeight+"px",O.display.heightForcer.style.top=D.docHeight+"px",O.display.gutters.style.height=D.docHeight+O.display.barHeight+Kn(O)+"px"}function Ls(O){var D=O.display,Y=D.view;if(!D.alignWidgets&&(!D.gutters.firstChild||!O.options.fixedGutter))return;for(var Z=ba(D)-D.scroller.scrollLeft+O.doc.scrollLeft,te=D.gutters.offsetWidth,De=Z+"px",ht=0;htht.clientWidth,Yt=ht.scrollHeight>ht.clientHeight;if(!(Z&&Et||te&&Yt))return;if(te&&A&&a){e:for(var qt=D.target,qr=De.view;qt!=ht;qt=qt.parentNode)for(var dn=0;dn=0&&dt(O,Z.to())<=0)return Y}return-1};var $=function(D,Y){this.anchor=D,this.head=Y};$.prototype.from=function(){return gt(this.anchor,this.head)},$.prototype.to=function(){return Jt(this.anchor,this.head)},$.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function he(O,D,Y){var Z=O&&O.options.selectionsMayTouch,te=D[Y];D.sort(function(Mn,kn){return dt(Mn.from(),kn.from())}),Y=W(D,te);for(var De=1;De0:Yt>=0){var qt=gt(Et.from(),ht.from()),qr=Jt(Et.to(),ht.to()),dn=Et.empty()?ht.from()==ht.head:Et.from()==Et.head;De<=Y&&--Y,D.splice(--De,2,new $(dn?qr:qt,dn?qt:qr))}}return new ft(D,Y)}function ge(O,D){return new ft([new $(O,D||O)],0)}function Fe(O){return O.text?Ut(O.from.line+O.text.length-1,oe(O.text).length+(O.text.length==1?O.from.ch:0)):O.to}function ct(O,D){if(dt(O,D.from)<0)return O;if(dt(O,D.to)<=0)return Fe(D);var Y=O.line+D.text.length-(D.to.line-D.from.line)-1,Z=O.ch;return O.line==D.to.line&&(Z+=Fe(D).ch-D.to.ch),Ut(Y,Z)}function Tt(O,D){for(var Y=[],Z=0;Z1&&O.remove(Et.line+1,Ai-1),O.insert(Et.line+1,Yi)}Wt(O,"change",O,D)}function Ei(O,D,Y){function Z(te,De,ht){if(te.linked)for(var Et=0;Et1&&!O.done[O.done.length-2].ranges)return O.done.pop(),oe(O.done)}function Eo(O,D,Y,Z){var te=O.history;te.undone.length=0;var De=+new Date,ht,Et;if((te.lastOp==Z||te.lastOrigin==D.origin&&D.origin&&(D.origin.charAt(0)=="+"&&te.lastModTime>De-(O.cm?O.cm.options.historyEventDelay:500)||D.origin.charAt(0)=="*"))&&(ht=Lo(te,te.lastOp==Z)))Et=oe(ht.changes),dt(D.from,D.to)==0&&dt(D.from,Et.to)==0?Et.to=Fe(D):ht.changes.push(eo(O,D));else{var Yt=oe(te.done);for((!Yt||!Yt.ranges)&&wo(O.sel,te.done),ht={changes:[eo(O,D)],generation:te.generation},te.done.push(ht);te.done.length>te.undoDepth;)te.done.shift(),te.done[0].ranges||te.done.shift()}te.done.push(Y),te.generation=++te.maxGeneration,te.lastModTime=te.lastSelTime=De,te.lastOp=te.lastSelOp=Z,te.lastOrigin=te.lastSelOrigin=D.origin,Et||wt(O,"historyAdded")}function Gi(O,D,Y,Z){var te=D.charAt(0);return te=="*"||te=="+"&&Y.ranges.length==Z.ranges.length&&Y.somethingSelected()==Z.somethingSelected()&&new Date-O.history.lastSelTime<=(O.cm?O.cm.options.historyEventDelay:500)}function po(O,D,Y,Z){var te=O.history,De=Z&&Z.origin;Y==te.lastSelOp||De&&te.lastSelOrigin==De&&(te.lastModTime==te.lastSelTime&&te.lastOrigin==De||Gi(O,De,oe(te.done),D))?te.done[te.done.length-1]=D:wo(D,te.done),te.lastSelTime=+new Date,te.lastSelOrigin=De,te.lastSelOp=Y,Z&&Z.clearRedo!==!1&&ro(te.undone)}function wo(O,D){var Y=oe(D);Y&&Y.ranges&&Y.equals(O)||D.push(O)}function ts(O,D,Y,Z){var te=D["spans_"+O.id],De=0;O.iter(Math.max(O.first,Y),Math.min(O.first+O.size,Z),function(ht){ht.markedSpans&&((te||(te=D["spans_"+O.id]={}))[De]=ht.markedSpans),++De})}function No(O){if(!O)return null;for(var D,Y=0;Y-1&&(oe(Et)[dn]=qt[dn],delete qt[dn]))}}return Z}function ls(O,D,Y,Z){if(Z){var te=O.anchor;if(Y){var De=dt(D,te)<0;De!=dt(Y,te)<0?(te=D,D=Y):De!=dt(D,Y)<0&&(D=Y)}return new $(te,D)}else return new $(Y||D,D)}function cs(O,D,Y,Z,te){te==null&&(te=O.cm&&(O.cm.display.shift||O.extend)),Do(O,new ft([ls(O.sel.primary(),D,Y,te)],0),Z)}function ws(O,D,Y){for(var Z=[],te=O.cm&&(O.cm.display.shift||O.extend),De=0;De=D.ch:Et.to>D.ch))){if(te&&(wt(Yt,"beforeCursorEnter"),Yt.explicitlyCleared))if(De.markedSpans){--ht;continue}else break;if(!Yt.atomic)continue;if(Y){var dn=Yt.find(Z<0?1:-1),Mn=void 0;if((Z<0?qr:qt)&&(dn=al(O,dn,-Z,dn&&dn.line==D.line?De:null)),dn&&dn.line==D.line&&(Mn=dt(dn,Y))&&(Z<0?Mn<0:Mn>0))return Xs(O,dn,D,Z,te)}var kn=Yt.find(Z<0?-1:1);return(Z<0?qt:qr)&&(kn=al(O,kn,Z,kn.line==D.line?De:null)),kn?Xs(O,kn,D,Z,te):null}}return D}function Fs(O,D,Y,Z,te){var De=Z||1,ht=Xs(O,D,Y,De,te)||!te&&Xs(O,D,Y,De,!0)||Xs(O,D,Y,-De,te)||!te&&Xs(O,D,Y,-De,!0);return ht||(O.cantEdit=!0,Ut(O.first,0))}function al(O,D,Y,Z){return Y<0&&D.ch==0?D.line>O.first?mt(O,Ut(D.line-1)):null:Y>0&&D.ch==(Z||Ue(O,D.line)).text.length?D.line=0;--te)Ga(O,{from:Z[te].from,to:Z[te].to,text:te?[""]:D.text,origin:D.origin});else Ga(O,D)}function Ga(O,D){if(D.text.length==1&&D.text[0]==""&&dt(D.from,D.to)==0)return;var Y=Tt(O,D);Eo(O,D,Y,O.cm?O.cm.curOp.id:NaN),oo(O,D,Y,cn(O,D));var Z=[];Ei(O,function(te,De){!De&&W(Z,te.history)==-1&&(Po(te.history,D),Z.push(te.history)),oo(te,D,null,cn(te,D))})}function ha(O,D,Y){var Z=O.cm&&O.cm.state.suppressEdits;if(Z&&!Y)return;for(var te=O.history,De,ht=O.sel,Et=D=="undo"?te.done:te.undone,Yt=D=="undo"?te.undone:te.done,qt=0;qt=0;--kn){var Ai=Mn(kn);if(Ai)return Ai.v}}function Wa(O,D){if(D==0)return;if(O.first+=D,O.sel=new ft(_e(O.sel.ranges,function(te){return new $(Ut(te.anchor.line+D,te.anchor.ch),Ut(te.head.line+D,te.head.ch))}),O.sel.primIndex),O.cm){ga(O.cm,O.first,O.first-D,D);for(var Y=O.cm.display,Z=Y.viewFrom;ZO.lastLine())return;if(D.from.lineDe&&(D={from:D.from,to:Ut(De,Ue(O,De).text.length),text:[D.text[0]],origin:D.origin}),D.removed=rt(O,D.from,D.to),Y||(Y=Tt(O,D)),O.cm?$o(O.cm,D,Z):si(O,D,Z),is(O,Y,de),O.cantEdit&&Fs(O,Ut(O.firstLine(),0))&&(O.cantEdit=!1)}function $o(O,D,Y){var Z=O.doc,te=O.display,De=D.from,ht=D.to,Et=!1,Yt=De.line;O.options.lineWrapping||(Yt=Vt(gn(Ue(Z,De.line))),Z.iter(Yt,ht.line+1,function(kn){if(kn==te.maxLine)return Et=!0,!0})),Z.sel.contains(D.from,D.to)>-1&&Ot(O),si(Z,D,Y,Ta(O)),O.options.lineWrapping||(Z.iter(Yt,De.line+D.text.length,function(kn){var Ai=Fi(kn);Ai>te.maxLineLength&&(te.maxLine=kn,te.maxLineLength=Ai,te.maxLineChanged=!0,Et=!1)}),Et&&(O.curOp.updateMaxLine=!0)),Be(Z,De.line),Go(O,400);var qt=D.text.length-(ht.line-De.line)-1;D.full?ga(O):De.line==ht.line&&D.text.length==1&&!Wn(O.doc,D)?Ti(O,De.line,"text"):ga(O,De.line,ht.line+1,qt);var qr=Mt(O,"changes"),dn=Mt(O,"change");if(dn||qr){var Mn={from:De,to:ht,text:D.text,removed:D.removed,origin:D.origin};dn&&Wt(O,"change",O,Mn),qr&&(O.curOp.changeObjs||(O.curOp.changeObjs=[])).push(Mn)}O.display.selForContextMenu=null}function Bs(O,D,Y,Z,te){var De;Z||(Z=Y),dt(Z,Y)<0&&(De=[Z,Y],Y=De[0],Z=De[1]),typeof D=="string"&&(D=O.splitLines(D)),Us(O,{from:Y,to:Z,text:D,origin:te})}function Ss(O,D,Y,Z){Y1||!(this.children[0]instanceof Zo))){var Yt=[];this.collapse(Yt),this.children=[new Zo(Yt)],this.children[0].parent=this}},collapse:function(D){for(var Y=0;Y50){for(var Et=De.lines.length%25+25,Yt=Et;Yt10);D.parent.maybeSpill()},iterN:function(D,Y,Z){for(var te=0;teO.display.maxLineLength&&(O.display.maxLine=qt,O.display.maxLineLength=qr,O.display.maxLineChanged=!0)}Z!=null&&O&&this.collapsed&&ga(O,Z,te+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,O&&Ds(O.doc)),O&&Wt(O,"markerCleared",O,this,Z,te),D&&Qo(O),this.parent&&this.parent.clear()},Zs.prototype.find=function(O,D){O==null&&this.type=="bookmark"&&(O=1);for(var Y,Z,te=0;te0||ht==0&&De.clearWhenEmpty!==!1)return De;if(De.replacedWith&&(De.collapsed=!0,De.widgetNode=F("span",[De.replacedWith],"CodeMirror-widget"),Z.handleMouseEvents||De.widgetNode.setAttribute("cm-ignore-events","true"),Z.insertLeft&&(De.widgetNode.insertLeft=!0)),De.collapsed){if(Si(O,D.line,D,Y,De)||D.line!=Y.line&&Si(O,Y.line,D,Y,De))throw new Error("Inserting collapsed marker partially overlapping an existing one");At()}De.addToHistory&&Eo(O,{from:D,to:Y,origin:"markText"},O.sel,NaN);var Et=D.line,Yt=O.cm,qt;if(O.iter(Et,Y.line+1,function(dn){Yt&&De.collapsed&&!Yt.options.lineWrapping&&gn(dn)==Yt.display.maxLine&&(qt=!0),De.collapsed&&Et!=D.line&&Pt(dn,0),mr(dn,new ot(De,Et==D.line?D.ch:null,Et==Y.line?Y.ch:null)),++Et}),De.collapsed&&O.iter(D.line,Y.line+1,function(dn){ri(O,dn)&&Pt(dn,0)}),De.clearOnEnter&&Oe(De,"beforeCursorEnter",function(){return De.clear()}),De.readOnly&&(Qe(),(O.history.done.length||O.history.undone.length)&&O.clearHistory()),De.collapsed&&(De.id=++Ml,De.atomic=!0),Yt){if(qt&&(Yt.curOp.updateMaxLine=!0),De.collapsed)ga(Yt,D.line,Y.line+1);else if(De.className||De.startStyle||De.endStyle||De.css||De.attributes||De.title)for(var qr=D.line;qr<=Y.line;qr++)Ti(Yt,qr,"text");De.atomic&&Ds(Yt.doc),Wt(Yt,"markerAdded",Yt,De)}return De}var El=function(D,Y){this.markers=D,this.primary=Y;for(var Z=0;Z=0;Yt--)Us(this,Z[Yt]);Et?gs(this,Et):this.cm&&Za(this.cm)}),undo:Ho(function(){ha(this,"undo")}),redo:Ho(function(){ha(this,"redo")}),undoSelection:Ho(function(){ha(this,"undo",!0)}),redoSelection:Ho(function(){ha(this,"redo",!0)}),setExtending:function(D){this.extend=D},getExtending:function(){return this.extend},historySize:function(){for(var D=this.history,Y=0,Z=0,te=0;te=D.ch)&&Y.push(De.marker.parent||De.marker)}return Y},findMarks:function(D,Y,Z){D=mt(this,D),Y=mt(this,Y);var te=[],De=D.line;return this.iter(D.line,Y.line+1,function(ht){var Et=ht.markedSpans;if(Et)for(var Yt=0;Yt=qt.to||qt.from==null&&De!=D.line||qt.from!=null&&De==Y.line&&qt.from>=Y.ch)&&(!Z||Z(qt.marker))&&te.push(qt.marker.parent||qt.marker)}++De}),te},getAllMarks:function(){var D=[];return this.iter(function(Y){var Z=Y.markedSpans;if(Z)for(var te=0;teD)return Y=D,!0;D-=ht,++Z}),mt(this,Ut(Z,Y))},indexFromPos:function(D){D=mt(this,D);var Y=D.ch;if(D.lineY&&(Y=D.from),D.to!=null&&D.to-1){D.state.draggingText(O),setTimeout(function(){return D.display.input.focus()},20);return}try{var qr=O.dataTransfer.getData("Text");if(qr){var dn;if(D.state.draggingText&&!D.state.draggingText.copy&&(dn=D.listSelections()),is(D.doc,ge(Y,Y)),dn)for(var Mn=0;Mn=0;Et--)Bs(O.doc,"",Z[Et].from,Z[Et].to,"+delete");Za(O)})}function Pl(O,D,Y){var Z=Ke(O.text,D+Y,Y);return Z<0||Z>O.text.length?null:Z}function Ic(O,D,Y){var Z=Pl(O,D.ch,Y);return Z==null?null:new Ut(D.line,Z,Y<0?"after":"before")}function Oc(O,D,Y,Z,te){if(O){D.doc.direction=="rtl"&&(te=-te);var De=pt(Y,D.doc.direction);if(De){var ht=te<0?oe(De):De[0],Et=te<0==(ht.level==1),Yt=Et?"after":"before",qt;if(ht.level>0||D.doc.direction=="rtl"){var qr=_i(D,Y);qt=te<0?Y.text.length-1:0;var dn=Li(D,qr,qt).top;qt=Ie(function(Mn){return Li(D,qr,Mn).top==dn},te<0==(ht.level==1)?ht.from:ht.to-1,qt),Yt=="before"&&(qt=Pl(Y,qt,1))}else qt=te<0?ht.to:ht.from;return new Ut(Z,qt,Yt)}}return new Ut(Z,te<0?Y.text.length:0,te<0?"before":"after")}function hc(O,D,Y,Z){var te=pt(D,O.doc.direction);if(!te)return Ic(D,Y,Z);Y.ch>=D.text.length?(Y.ch=D.text.length,Y.sticky="before"):Y.ch<=0&&(Y.ch=0,Y.sticky="after");var De=xe(te,Y.ch,Y.sticky),ht=te[De];if(O.doc.direction=="ltr"&&ht.level%2==0&&(Z>0?ht.to>Y.ch:ht.from=ht.from&&Mn>=qr.begin)){var kn=dn?"before":"after";return new Ut(Y.line,Mn,kn)}}var Ai=function(Xi,pa,ya){for(var qa=function(ko,Ts){return Ts?new Ut(Y.line,Et(ko,1),"before"):new Ut(Y.line,ko,"after")};Xi>=0&&Xi0==(ja.level!=1),Wo=vo?ya.begin:Et(ya.end,-1);if(ja.from<=Wo&&Wo0?qr.end:Et(qr.begin,-1);return Qi!=null&&!(Z>0&&Qi==D.text.length)&&(ji=Ai(Z>0?0:te.length-1,Z,qt(Qi)),ji)?ji:null}var Xl={selectAll:Js,singleSelection:function(D){return D.setSelection(D.getCursor("anchor"),D.getCursor("head"),de)},killLine:function(D){return Cl(D,function(Y){if(Y.empty()){var Z=Ue(D.doc,Y.head.line).text.length;return Y.head.ch==Z&&Y.head.line0)De=new Ut(De.line,De.ch+1),D.replaceRange(ht.charAt(De.ch-1)+ht.charAt(De.ch-2),Ut(De.line,De.ch-2),De,"+transpose");else if(De.line>D.doc.first){var Et=Ue(D.doc,De.line-1).text;Et&&(De=new Ut(De.line,1),D.replaceRange(ht.charAt(0)+D.doc.lineSeparator()+Et.charAt(Et.length-1),Ut(De.line-1,Et.length-1),De,"+transpose"))}}Z.push(new $(De,De))}D.setSelections(Z)})},newlineAndIndent:function(D){return jo(D,function(){for(var Y=D.listSelections(),Z=Y.length-1;Z>=0;Z--)D.replaceRange(D.doc.lineSeparator(),Y[Z].anchor,Y[Z].head,"+input");Y=D.listSelections();for(var te=0;teO&&dt(D,this.pos)==0&&Y==this.button};var bl,Tl;function ic(O,D){var Y=+new Date;return Tl&&Tl.compare(Y,O,D)?(bl=Tl=null,"triple"):bl&&bl.compare(Y,O,D)?(Tl=new Ac(Y,O,D),bl=null,"double"):(bl=new Ac(Y,O,D),Tl=null,"single")}function Yl(O){var D=this,Y=D.display;if(xt(D,O)||Y.activeTouch&&Y.input.supportsTouch())return;if(Y.input.ensurePolled(),Y.shift=O.shiftKey,Nn(Y,O)){a||(Y.scroller.draggable=!1,setTimeout(function(){return Y.scroller.draggable=!0},100));return}if(Rc(D,O))return;var Z=Vi(D,O),te=le(O),De=Z?ic(Z,te):"single";if(window.focus(),te==1&&D.state.selectingText&&D.state.selectingText(O),Z&&vc(D,te,Z,De,O))return;te==1?Z?Kc(D,Z,De,O):qe(O)==Y.scroller&&$e(O):te==2?(Z&&cs(D.doc,Z),setTimeout(function(){return Y.input.focus()},20)):te==3&&(T?D.display.input.onContextMenu(O):Ya(D))}function vc(O,D,Y,Z,te){var De="Click";return Z=="double"?De="Double"+De:Z=="triple"&&(De="Triple"+De),De=(D==1?"Left":D==2?"Middle":"Right")+De,tc(O,_c(De,te),te,function(ht){if(typeof ht=="string"&&(ht=Xl[ht]),!ht)return!1;var Et=!1;try{O.isReadOnly()&&(O.state.suppressEdits=!0),Et=ht(O,Y)!=J}finally{O.state.suppressEdits=!1}return Et})}function qc(O,D,Y){var Z=O.getOption("configureMouse"),te=Z?Z(O,D,Y):{};if(te.unit==null){var De=v?Y.shiftKey&&Y.metaKey:Y.altKey;te.unit=De?"rectangle":D=="single"?"char":D=="double"?"word":"line"}return(te.extend==null||O.doc.extend)&&(te.extend=O.doc.extend||Y.shiftKey),te.addNew==null&&(te.addNew=A?Y.metaKey:Y.ctrlKey),te.moveOnDrag==null&&(te.moveOnDrag=!(A?Y.altKey:Y.ctrlKey)),te}function Kc(O,D,Y,Z){d?setTimeout(k(lo,O),0):O.curOp.focus=H();var te=qc(O,Y,Z),De=O.doc.sel,ht;O.options.dragDrop&&Nt&&!O.isReadOnly()&&Y=="single"&&(ht=De.contains(D))>-1&&(dt((ht=De.ranges[ht]).from(),D)<0||D.xRel>0)&&(dt(ht.to(),D)>0||D.xRel<0)?Wc(O,Z,D,te):Dc(O,Z,D,te)}function Wc(O,D,Y,Z){var te=O.display,De=!1,ht=go(O,function(qt){a&&(te.scroller.draggable=!1),O.state.draggingText=!1,Ze(te.wrapper.ownerDocument,"mouseup",ht),Ze(te.wrapper.ownerDocument,"mousemove",Et),Ze(te.scroller,"dragstart",Yt),Ze(te.scroller,"drop",ht),De||($e(qt),Z.addNew||cs(O.doc,Y,null,null,Z.extend),a&&!r||d&&c==9?setTimeout(function(){te.wrapper.ownerDocument.body.focus({preventScroll:!0}),te.input.focus()},20):te.input.focus())}),Et=function(qr){De=De||Math.abs(D.clientX-qr.clientX)+Math.abs(D.clientY-qr.clientY)>=10},Yt=function(){return De=!0};a&&(te.scroller.draggable=!0),O.state.draggingText=ht,ht.copy=!Z.moveOnDrag,te.scroller.dragDrop&&te.scroller.dragDrop(),Oe(te.wrapper.ownerDocument,"mouseup",ht),Oe(te.wrapper.ownerDocument,"mousemove",Et),Oe(te.scroller,"dragstart",Yt),Oe(te.scroller,"drop",ht),Ya(O),setTimeout(function(){return te.input.focus()},20)}function _l(O,D,Y){if(Y=="char")return new $(D,D);if(Y=="word")return O.findWordAt(D);if(Y=="line")return new $(Ut(D.line,0),mt(O.doc,Ut(D.line+1,0)));var Z=Y(O,D);return new $(Z.from,Z.to)}function Dc(O,D,Y,Z){var te=O.display,De=O.doc;$e(D);var ht,Et,Yt=De.sel,qt=Yt.ranges;if(Z.addNew&&!Z.extend?(Et=De.sel.contains(Y),Et>-1?ht=qt[Et]:ht=new $(Y,Y)):(ht=De.sel.primary(),Et=De.sel.primIndex),Z.unit=="rectangle")Z.addNew||(ht=new $(Y,Y)),Y=Vi(O,D,!0,!0),Et=-1;else{var qr=_l(O,Y,Z.unit);Z.extend?ht=ls(ht,qr.anchor,qr.head,Z.extend):ht=qr}Z.addNew?Et==-1?(Et=qt.length,Do(De,he(O,qt.concat([ht]),Et),{scroll:!1,origin:"*mouse"})):qt.length>1&&qt[Et].empty()&&Z.unit=="char"&&!Z.extend?(Do(De,he(O,qt.slice(0,Et).concat(qt.slice(Et+1)),0),{scroll:!1,origin:"*mouse"}),Yt=De.sel):us(De,Et,ht,G):(Et=0,Do(De,new ft([ht],0),G),Yt=De.sel);var dn=Y;function Mn(pa){if(dt(dn,pa)==0)return;if(dn=pa,Z.unit=="rectangle"){for(var ya=[],qa=O.options.tabSize,ja=j(Ue(De,Y.line).text,Y.ch,qa),vo=j(Ue(De,pa.line).text,pa.ch,qa),Wo=Math.min(ja,vo),ta=Math.max(ja,vo),ko=Math.min(Y.line,pa.line),Ts=Math.min(O.lastLine(),Math.max(Y.line,pa.line));ko<=Ts;ko++){var fs=Ue(De,ko).text,_s=Ae(fs,Wo,qa);Wo==ta?ya.push(new $(Ut(ko,_s),Ut(ko,_s))):fs.length>_s&&ya.push(new $(Ut(ko,_s),Ut(ko,Ae(fs,ta,qa))))}ya.length||ya.push(new $(Y,Y)),Do(De,he(O,Yt.ranges.slice(0,Et).concat(ya),Et),{origin:"*mouse",scroll:!1}),O.scrollIntoView(pa)}else{var xo=ht,To=_l(O,pa,Z.unit),xs=xo.anchor,Is;dt(To.anchor,xs)>0?(Is=To.head,xs=gt(xo.from(),To.anchor)):(Is=To.anchor,xs=Jt(xo.to(),To.head));var rs=Yt.ranges.slice(0);rs[Et]=yc(O,new $(mt(De,xs),Is)),Do(De,he(O,rs,Et),G)}}var kn=te.wrapper.getBoundingClientRect(),Ai=0;function ji(pa){var ya=++Ai,qa=Vi(O,pa,!0,Z.unit=="rectangle");if(!qa)return;if(dt(qa,dn)!=0){O.curOp.focus=H(),Mn(qa);var ja=yo(te,De);(qa.line>=ja.to||qa.linekn.bottom?20:0;vo&&setTimeout(go(O,function(){if(Ai!=ya)return;te.scroller.scrollTop+=vo,ji(pa)}),50)}}function Qi(pa){O.state.selectingText=!1,Ai=Infinity,pa&&($e(pa),te.input.focus()),Ze(te.wrapper.ownerDocument,"mousemove",Yi),Ze(te.wrapper.ownerDocument,"mouseup",Xi),De.history.lastSelOrigin=null}var Yi=go(O,function(pa){pa.buttons===0||!le(pa)?Qi(pa):ji(pa)}),Xi=go(O,Qi);O.state.selectingText=Xi,Oe(te.wrapper.ownerDocument,"mousemove",Yi),Oe(te.wrapper.ownerDocument,"mouseup",Xi)}function yc(O,D){var Y=D.anchor,Z=D.head,te=Ue(O.doc,Y.line);if(dt(Y,Z)==0&&Y.sticky==Z.sticky)return D;var De=pt(te);if(!De)return D;var ht=xe(De,Y.ch,Y.sticky),Et=De[ht];if(Et.from!=Y.ch&&Et.to!=Y.ch)return D;var Yt=ht+(Et.from==Y.ch==(Et.level!=1)?0:1);if(Yt==0||Yt==De.length)return D;var qt;if(Z.line!=Y.line)qt=(Z.line-Y.line)*(O.doc.direction=="ltr"?1:-1)>0;else{var qr=xe(De,Z.ch,Z.sticky),dn=qr-ht||(Z.ch-Y.ch)*(Et.level==1?-1:1);qr==Yt-1||qr==Yt?qt=dn<0:qt=dn>0}var Mn=De[Yt+(qt?-1:0)],kn=qt==(Mn.level==1),Ai=kn?Mn.from:Mn.to,ji=kn?"after":"before";return Y.ch==Ai&&Y.sticky==ji?D:new $(new Ut(Y.line,Ai,ji),Z)}function zc(O,D,Y,Z){var te,De;if(D.touches)te=D.touches[0].clientX,De=D.touches[0].clientY;else try{te=D.clientX,De=D.clientY}catch(Mn){return!1}if(te>=Math.floor(O.display.gutters.getBoundingClientRect().right))return!1;Z&&$e(D);var ht=O.display,Et=ht.lineDiv.getBoundingClientRect();if(De>Et.bottom||!Mt(O,Y))return q(D);De-=Et.top-ht.viewOffset;for(var Yt=0;Yt=te){var qr=Mr(O.doc,De),dn=O.display.gutterSpecs[Yt];return wt(O,Y,O,qr,dn.className,D),q(D)}}}function Rc(O,D){return zc(O,D,"gutterClick",!0)}function Mc(O,D){if(Nn(O.display,D)||ac(O,D))return;if(xt(O,D,"contextmenu"))return;T||O.display.input.onContextMenu(D)}function ac(O,D){return Mt(O,"gutterContextMenu")?zc(O,D,"gutterContextMenu",!1):!1}function Fc(O){O.display.wrapper.className=O.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+O.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Xt(O)}var Il={toString:function(){return"CodeMirror.Init"}},Ql={},fe={};function Pe(O){var D=O.optionHandlers;function Y(Z,te,De,ht){O.defaults[Z]=te,De&&(D[Z]=ht?function(Et,Yt,qt){qt!=Il&&De(Et,Yt,qt)}:De)}O.defineOption=Y,O.Init=Il,Y("value","",function(Z,te){return Z.setValue(te)},!0),Y("mode",null,function(Z,te){Z.doc.modeOption=te,$r(Z)},!0),Y("indentUnit",2,$r,!0),Y("indentWithTabs",!1),Y("smartIndent",!0),Y("tabSize",4,function(Z){Cn(Z),Xt(Z),ga(Z)},!0),Y("lineSeparator",null,function(Z,te){if(Z.doc.lineSep=te,!te)return;var De=[],ht=Z.doc.first;Z.doc.iter(function(Yt){for(var qt=0;;){var qr=Yt.text.indexOf(te,qt);if(qr==-1)break;qt=qr+te.length,De.push(Ut(ht,qr))}ht++});for(var Et=De.length-1;Et>=0;Et--)Bs(Z.doc,te,De[Et],Ut(De[Et].line,De[Et].ch+te.length))}),Y("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(Z,te,De){Z.state.specialChars=new RegExp(te.source+(te.test(" ")?"":"| "),"g"),De!=Il&&Z.refresh()}),Y("specialCharPlaceholder",di,function(Z){return Z.refresh()},!0),Y("electricChars",!0),Y("inputStyle",h?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),Y("spellcheck",!1,function(Z,te){return Z.getInputField().spellcheck=te},!0),Y("autocorrect",!1,function(Z,te){return Z.getInputField().autocorrect=te},!0),Y("autocapitalize",!1,function(Z,te){return Z.getInputField().autocapitalize=te},!0),Y("rtlMoveVisually",!w),Y("wholeLineUpdateBefore",!0),Y("theme","default",function(Z){Fc(Z),ks(Z)},!0),Y("keyMap","default",function(Z,te,De){var ht=Bl(te),Et=De!=Il&&Bl(De);Et&&Et.detach&&Et.detach(Z,ht),ht.attach&&ht.attach(Z,Et||null)}),Y("extraKeys",null),Y("configureMouse",null),Y("lineWrapping",!1,jt,!0),Y("gutters",[],function(Z,te){Z.display.gutterSpecs=Rs(te,Z.options.lineNumbers),ks(Z)},!0),Y("fixedGutter",!0,function(Z,te){Z.display.gutters.style.left=te?ba(Z.display)+"px":"0",Z.refresh()},!0),Y("coverGutterNextToScrollbar",!1,function(Z){return Oa(Z)},!0),Y("scrollbarStyle","native",function(Z){ho(Z),Oa(Z),Z.display.scrollbars.setScrollTop(Z.doc.scrollTop),Z.display.scrollbars.setScrollLeft(Z.doc.scrollLeft)},!0),Y("lineNumbers",!1,function(Z,te){Z.display.gutterSpecs=Rs(Z.options.gutters,te),ks(Z)},!0),Y("firstLineNumber",1,ks,!0),Y("lineNumberFormatter",function(Z){return Z},ks,!0),Y("showCursorWhenSelecting",!1,Ha,!0),Y("resetSelectionOnContextMenu",!0),Y("lineWiseCopyCut",!0),Y("pasteLinesPerSelection",!0),Y("selectionsMayTouch",!1),Y("readOnly",!1,function(Z,te){te=="nocursor"&&(Ja(Z),Z.display.input.blur()),Z.display.input.readOnlyChanged(te)}),Y("screenReaderLabel",null,function(Z,te){te=te===""?null:te,Z.display.input.screenReaderLabelChanged(te)}),Y("disableInput",!1,function(Z,te){te||Z.display.input.reset()},!0),Y("dragDrop",!0,ut),Y("allowDropFileTypes",null),Y("cursorBlinkRate",530),Y("cursorScrollMargin",0),Y("cursorHeight",1,Ha,!0),Y("singleCursorHeightPerLine",!0,Ha,!0),Y("workTime",100),Y("workDelay",100),Y("flattenSpans",!0,Cn,!0),Y("addModeClass",!1,Cn,!0),Y("pollInterval",100),Y("undoDepth",200,function(Z,te){return Z.doc.history.undoDepth=te}),Y("historyEventDelay",1250),Y("viewportMargin",10,function(Z){return Z.refresh()},!0),Y("maxHighlightLength",1e4,Cn,!0),Y("moveInputWithCursor",!0,function(Z,te){te||Z.display.input.resetPosition()}),Y("tabindex",null,function(Z,te){return Z.display.input.getField().tabIndex=te||""}),Y("autofocus",null),Y("direction","ltr",function(Z,te){return Z.doc.setDirection(te)},!0),Y("phrases",null)}function ut(O,D,Y){var Z=Y&&Y!=Il;if(!D!=!Z){var te=O.display.dragFunctions,De=D?Oe:Ze;De(O.display.scroller,"dragstart",te.start),De(O.display.scroller,"dragenter",te.enter),De(O.display.scroller,"dragover",te.over),De(O.display.scroller,"dragleave",te.leave),De(O.display.scroller,"drop",te.drop)}}function jt(O){O.options.lineWrapping?(z(O.display.wrapper,"CodeMirror-wrap"),O.display.sizer.style.minWidth="",O.display.sizerWidth=null):(x(O.display.wrapper,"CodeMirror-wrap"),Jn(O)),$i(O),ga(O),Xt(O),setTimeout(function(){return Oa(O)},100)}function dr(O,D){var Y=this;if(!(this instanceof dr))return new dr(O,D);this.options=D=D?K(D):{},K(Ql,D,!1);var Z=D.value;typeof Z=="string"?Z=new Gs(Z,D.mode,null,D.lineSeparator,D.direction):D.mode&&(Z.modeOption=D.mode),this.doc=Z;var te=new dr.inputStyles[D.inputStyle](this),De=this.display=new ms(O,Z,te,D);De.wrapper.CodeMirror=this,Fc(this),D.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),ho(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new V,keySeq:null,specialChars:null},D.autofocus&&!h&&De.input.focus(),d&&c<11&&setTimeout(function(){return Y.display.input.reset(!0)},20),_r(this),jc(),Fa(this),this.curOp.forceUpdate=!0,zi(this,Z),D.autofocus&&!h||this.hasFocus()?setTimeout(function(){Y.hasFocus()&&!Y.state.focused&&Sa(Y)},20):Ja(this);for(var ht in fe)fe.hasOwnProperty(ht)&&fe[ht](this,D[ht],Il);il(this),D.finishInit&&D.finishInit(this);for(var Et=0;Et20*20}Oe(D.scroller,"touchstart",function(Yt){if(!xt(O,Yt)&&!De(Yt)&&!Rc(O,Yt)){D.input.ensurePolled(),clearTimeout(Y);var qt=+new Date;D.activeTouch={start:qt,moved:!1,prev:qt-Z.end<=300?Z:null},Yt.touches.length==1&&(D.activeTouch.left=Yt.touches[0].pageX,D.activeTouch.top=Yt.touches[0].pageY)}}),Oe(D.scroller,"touchmove",function(){D.activeTouch&&(D.activeTouch.moved=!0)}),Oe(D.scroller,"touchend",function(Yt){var qt=D.activeTouch;if(qt&&!Nn(D,Yt)&&qt.left!=null&&!qt.moved&&new Date-qt.start<300){var qr=O.coordsChar(D.activeTouch,"page"),dn;!qt.prev||ht(qt,qt.prev)?dn=new $(qr,qr):!qt.prev.prev||ht(qt,qt.prev.prev)?dn=O.findWordAt(qr):dn=new $(Ut(qr.line,0),mt(O.doc,Ut(qr.line+1,0))),O.setSelection(dn.anchor,dn.head),O.focus(),$e(Yt)}te()}),Oe(D.scroller,"touchcancel",te),Oe(D.scroller,"scroll",function(){D.scroller.clientHeight&&(Ia(O,D.scroller.scrollTop),Uo(O,D.scroller.scrollLeft,!0),wt(O,"scroll",O))}),Oe(D.scroller,"mousewheel",function(Yt){return On(O,Yt)}),Oe(D.scroller,"DOMMouseScroll",function(Yt){return On(O,Yt)}),Oe(D.wrapper,"scroll",function(){return D.wrapper.scrollTop=D.wrapper.scrollLeft=0}),D.dragFunctions={enter:function(qt){xt(O,qt)||bt(qt)},over:function(qt){xt(O,qt)||(cc(O,qt),bt(qt))},start:function(qt){return $l(O,qt)},drop:go(O,nl),leave:function(qt){xt(O,qt)||uc(O)}};var Et=D.input.getField();Oe(Et,"keyup",function(Yt){return gc.call(O,Yt)}),Oe(Et,"keydown",go(O,rc)),Oe(Et,"keypress",go(O,nc)),Oe(Et,"focus",function(Yt){return Sa(O,Yt)}),Oe(Et,"blur",function(Yt){return Ja(O,Yt)})}var Ce=[];dr.defineInitHook=function(O){return Ce.push(O)};function Q(O,D,Y,Z){var te=O.doc,De;Y==null&&(Y="add"),Y=="smart"&&(te.mode.indent?De=Tn(O,D).state:Y="prev");var ht=O.options.tabSize,Et=Ue(te,D),Yt=j(Et.text,null,ht);Et.stateAfter&&(Et.stateAfter=null);var qt=Et.text.match(/^\s*/)[0],qr;if(!Z&&!/\S/.test(Et.text))qr=0,Y="not";else if(Y=="smart"&&(qr=te.mode.indent(De,Et.text.slice(qt.length),Et.text),qr==J||qr>150)){if(!Z)return;Y="prev"}Y=="prev"?D>te.first?qr=j(Ue(te,D-1).text,null,ht):qr=0:Y=="add"?qr=Yt+O.options.indentUnit:Y=="subtract"?qr=Yt-O.options.indentUnit:typeof Y=="number"&&(qr=Yt+Y),qr=Math.max(0,qr);var dn="",Mn=0;if(O.options.indentWithTabs)for(var kn=Math.floor(qr/ht);kn;--kn)Mn+=ht,dn+=" ";if(Mnht,Yt=Vr(D),qt=null;if(Et&&Z.ranges.length>1)if(ve&&ve.text.join(` `)==D){if(Z.ranges.length%ve.text.length==0){qt=[];for(var qr=0;qr=0;Mn--){var kn=Z.ranges[Mn],Ai=kn.from(),ji=kn.to();kn.empty()&&(Y&&Y>0?Ai=Ut(Ai.line,Ai.ch-Y):O.state.overwrite&&!Et?ji=Ut(ji.line,Math.min(Ue(De,ji.line).text.length,ji.ch+oe(Yt).length)):Et&&ve&&ve.lineWise&&ve.text.join(` `)==Yt.join(` `)&&(Ai=ji=Ut(Ai.line,0)));var Qi={from:Ai,to:ji,text:qt?qt[Mn%qt.length]:Yt,origin:te||(Et?"paste":O.state.cutIncoming>ht?"cut":"+input")};Us(O.doc,Qi),Wt(O,"inputRead",O,Qi)}D&&!Et&&_t(O,D),Za(O),O.curOp.updateInput<2&&(O.curOp.updateInput=dn),O.curOp.typing=!0,O.state.pasteIncoming=O.state.cutIncoming=-1}function St(O,D){var Y=O.clipboardData&&O.clipboardData.getData("Text");if(Y)return O.preventDefault(),!D.isReadOnly()&&!D.options.disableInput&&jo(D,function(){return it(D,Y,0,null,"paste")}),!0}function _t(O,D){if(!O.options.electricChars||!O.options.smartIndent)return;for(var Y=O.doc.sel,Z=Y.ranges.length-1;Z>=0;Z--){var te=Y.ranges[Z];if(te.head.ch>100||Z&&Y.ranges[Z-1].head.line==te.head.line)continue;var De=O.getModeAt(te.head),ht=!1;if(De.electricChars){for(var Et=0;Et-1){ht=Q(O,te.head.line,"smart");break}}else De.electricInput&&(De.electricInput.test(Ue(O.doc,te.head.line).text.slice(0,te.head.ch))&&(ht=Q(O,te.head.line,"smart")));ht&&Wt(O,"electricInput",O,te.head.line)}}function It(O){for(var D=[],Y=[],Z=0;ZDe&&(Q(this,Et.head.line,Z,!0),De=Et.head.line,ht==this.doc.sel.primIndex&&Za(this));else{var Yt=Et.from(),qt=Et.to(),qr=Math.max(De,Yt.line);De=Math.min(this.lastLine(),qt.line-(qt.ch?0:1))+1;for(var dn=qr;dn0&&us(this.doc,ht,new $(Yt,Mn[ht].to()),de)}}}),getTokenAt:function(te,De){return Ri(this,te,De)},getLineTokens:function(te,De){return Ri(this,Ut(te),De,!0)},getTokenTypeAt:function(te){te=mt(this.doc,te);var De=Jr(this,Ue(this.doc,te.line)),ht=0,Et=(De.length-1)/2,Yt=te.ch,qt;if(Yt==0)qt=De[2];else for(;;){var qr=ht+Et>>1;if((qr?De[qr*2-1]:0)>=Yt)Et=qr;else if(De[qr*2+1]qt&&(te=qt,Et=!0),Yt=Ue(this.doc,te)}else Yt=te;return Ur(this,Yt,{top:0,left:0},De||"page",ht||Et).top+(Et?this.doc.height-Gn(Yt):0)},defaultTextHeight:function(){return Di(this.display)},defaultCharWidth:function(){return na(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(te,De,ht,Et,Yt){var qt=this.display;te=vn(this,mt(this.doc,te));var qr=te.bottom,dn=te.left;if(De.style.position="absolute",De.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(De),qt.sizer.appendChild(De),Et=="over")qr=te.top;else if(Et=="above"||Et=="near"){var Mn=Math.max(qt.wrapper.clientHeight,this.doc.height),kn=Math.max(qt.sizer.clientWidth,qt.lineSpace.clientWidth);(Et=="above"||te.bottom+De.offsetHeight>Mn)&&te.top>De.offsetHeight?qr=te.top-De.offsetHeight:te.bottom+De.offsetHeight<=Mn&&(qr=te.bottom),dn+De.offsetWidth>kn&&(dn=kn-De.offsetWidth)}De.style.top=qr+"px",De.style.left=De.style.right="",Yt=="right"?(dn=qt.sizer.clientWidth-De.offsetWidth,De.style.right="0px"):(Yt=="left"?dn=0:Yt=="middle"&&(dn=(qt.sizer.clientWidth-De.offsetWidth)/2),De.style.left=dn+"px"),ht&&co(this,{left:dn,top:qr,right:dn+De.offsetWidth,bottom:qr+De.offsetHeight})},triggerOnKeyDown:es(rc),triggerOnKeyPress:es(nc),triggerOnKeyUp:gc,triggerOnMouseDown:es(Yl),execCommand:function(te){if(Xl.hasOwnProperty(te))return Xl[te].call(null,this)},triggerElectric:es(function(Z){_t(this,Z)}),findPosH:function(te,De,ht,Et){var Yt=1;De<0&&(Yt=-1,De=-De);for(var qt=mt(this.doc,te),qr=0;qr0&&dn(ht.charAt(Et-1));)--Et;for(;Yt.5||this.options.lineWrapping)&&$i(this),wt(this,"refresh",this)}),swapDoc:es(function(Z){var te=this.doc;return te.cm=null,this.state.selectingText&&this.state.selectingText(),zi(this,Z),Xt(this),this.display.input.reset(),Ca(this,Z.scrollLeft,Z.scrollTop),this.curOp.forceScroll=!0,Wt(this,"swapDoc",this,te),te}),phrase:function(te){var De=this.options.phrases;return De&&Object.prototype.hasOwnProperty.call(De,te)?De[te]:te},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Gt(O),O.registerHelper=function(Z,te,De){Y.hasOwnProperty(Z)||(Y[Z]=O[Z]={_global:[]}),Y[Z][te]=De},O.registerGlobalHelper=function(Z,te,De,ht){O.registerHelper(Z,te,ht),Y[Z]._global.push({pred:De,val:ht})}}function sr(O,D,Y,Z,te){var De=D,ht=Y,Et=Ue(O,D.line),Yt=te&&O.direction=="rtl"?-Y:Y;function qt(){var Xi=D.line+Yt;return Xi=O.first+O.size?!1:(D=new Ut(Xi,D.ch,D.sticky),Et=Ue(O,Xi))}function qr(Xi){var pa;if(Z=="codepoint"){var ya=Et.text.charCodeAt(D.ch+(Z>0?0:-1));isNaN(ya)?pa=null:pa=new Ut(D.line,Math.max(0,Math.min(Et.text.length,D.ch+Y*(ya>=55296&&ya<56320?2:1))),-Y)}else te?pa=hc(O.cm,Et,D,Y):pa=Ic(Et,D,Y);if(pa==null)if(!Xi&&qt())D=Oc(te,O.cm,Et,D.line,Yt);else return!1;else D=pa;return!0}if(Z=="char"||Z=="codepoint")qr();else if(Z=="column")qr(!0);else if(Z=="word"||Z=="group")for(var dn=null,Mn=Z=="group",kn=O.cm&&O.cm.getHelper(D,"wordChars"),Ai=!0;!(Y<0&&!qr(!Ai));Ai=!1){var ji=Et.text.charAt(D.ch)||` `,Qi=re(ji,kn)?"w":Mn&&ji==` `?"n":!Mn||/\s/.test(ji)?null:"p";if(Mn&&!Ai&&!Qi&&(Qi="s"),dn&&dn!=Qi){Y<0&&(Y=1,qr(),D.sticky="after");break}if(Qi&&(dn=Qi),Y>0&&!qr(!Ai))break}var Yi=Fs(O,D,De,ht,!0);return st(De,Yi)&&(Yi.hitSide=!0),Yi}function Cr(O,D,Y,Z){var te=O.doc,De=D.left,ht;if(Z=="page"){var Et=Math.min(O.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Yt=Math.max(Et-.5*Di(O.display),3);ht=(Y>0?D.bottom:D.top)+Y*Yt}else Z=="line"&&(ht=Y>0?D.bottom+3:D.top-3);for(var qt;!(qt=$n(O,De,ht),!qt.outside);){if(Y<0?ht<=0:ht>=te.height){qt.hitSide=!0;break}ht+=Y*5}return qt}var Rr=function(D){this.cm=D,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new V,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Rr.prototype.init=function(O){var D=this,Y=this,Z=Y.cm,te=Y.div=O.lineDiv;Ar(te,Z.options.spellcheck,Z.options.autocorrect,Z.options.autocapitalize);function De(Et){for(var Yt=Et.target;Yt;Yt=Yt.parentNode){if(Yt==te)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Yt.className))break}return!1}Oe(te,"paste",function(Et){if(!De(Et)||xt(Z,Et)||St(Et,Z))return;c<=11&&setTimeout(go(Z,function(){return D.updateFromDOM()}),20)}),Oe(te,"compositionstart",function(Et){D.composing={data:Et.data,done:!1}}),Oe(te,"compositionupdate",function(Et){D.composing||(D.composing={data:Et.data,done:!1})}),Oe(te,"compositionend",function(Et){D.composing&&(Et.data!=D.composing.data&&D.readFromDOMSoon(),D.composing.done=!0)}),Oe(te,"touchstart",function(){return Y.forceCompositionEnd()}),Oe(te,"input",function(){D.composing||D.readFromDOMSoon()});function ht(Et){if(!De(Et)||xt(Z,Et))return;if(Z.somethingSelected())je({lineWise:!1,text:Z.getSelections()}),Et.type=="cut"&&Z.replaceSelection("",null,"cut");else if(Z.options.lineWiseCopyCut){var Yt=It(Z);je({lineWise:!0,text:Yt.text}),Et.type=="cut"&&Z.operation(function(){Z.setSelections(Yt.ranges,0,de),Z.replaceSelection("",null,"cut")})}else return;if(Et.clipboardData){Et.clipboardData.clearData();var qt=ve.text.join(` `);if(Et.clipboardData.setData("Text",qt),Et.clipboardData.getData("Text")==qt){Et.preventDefault();return}}var qr=Tr(),dn=qr.firstChild;Z.display.lineSpace.insertBefore(qr,Z.display.lineSpace.firstChild),dn.value=ve.text.join(` `);var Mn=document.activeElement;U(dn),setTimeout(function(){Z.display.lineSpace.removeChild(qr),Mn.focus(),Mn==te&&Y.showPrimarySelection()},50)}Oe(te,"copy",ht),Oe(te,"cut",ht)},Rr.prototype.screenReaderLabelChanged=function(O){O?this.div.setAttribute("aria-label",O):this.div.removeAttribute("aria-label")},Rr.prototype.prepareSelection=function(){var O=za(this.cm,!1);return O.focus=document.activeElement==this.div,O},Rr.prototype.showSelection=function(O,D){if(!O||!this.cm.display.view.length)return;(O.focus||D)&&this.showPrimarySelection(),this.showMultipleSelections(O)},Rr.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Rr.prototype.showPrimarySelection=function(){var O=this.getSelection(),D=this.cm,Y=D.doc.sel.primary(),Z=Y.from(),te=Y.to();if(D.display.viewTo==D.display.viewFrom||Z.line>=D.display.viewTo||te.line=D.display.viewFrom&&an(D,Z)||{node:Et[0].measure.map[2],offset:0},qt=te.lineO.firstLine()&&(Z=Ut(Z.line-1,Ue(O.doc,Z.line-1).length)),te.ch==Ue(O.doc,te.line).text.length&&te.lineD.viewTo-1)return!1;var De,ht,Et;Z.line==D.viewFrom||(De=La(O,Z.line))==0?(ht=Vt(D.view[0].line),Et=D.view[0].node):(ht=Vt(D.view[De].line),Et=D.view[De-1].node.nextSibling);var Yt=La(O,te.line),qt,qr;if(Yt==D.view.length-1?(qt=D.viewTo-1,qr=D.lineDiv.lastChild):(qt=Vt(D.view[Yt+1].line)-1,qr=D.view[Yt+1].node.previousSibling),!Et)return!1;for(var dn=O.doc.splitLines(Ii(O,Et,qr,ht,qt)),Mn=rt(O.doc,Ut(ht,0),Ut(qt,Ue(O.doc,qt).text.length));dn.length>1&&Mn.length>1;)if(oe(dn)==oe(Mn))dn.pop(),Mn.pop(),qt--;else if(dn[0]==Mn[0])dn.shift(),Mn.shift(),ht++;else break;for(var kn=0,Ai=0,ji=dn[0],Qi=Mn[0],Yi=Math.min(ji.length,Qi.length);knZ.ch&&Xi.charCodeAt(Xi.length-Ai-1)==pa.charCodeAt(pa.length-Ai-1);)kn--,Ai++;dn[dn.length-1]=Xi.slice(0,Xi.length-Ai).replace(/^\u200b+/,""),dn[0]=dn[0].slice(kn).replace(/\u200b+$/,"");var qa=Ut(ht,kn),ja=Ut(qt,Mn.length?oe(Mn).length-Ai:0);if(dn.length>1||dn[0]||dt(qa,ja))return Bs(O.doc,dn,qa,ja,"+input"),!0},Rr.prototype.ensurePolled=function(){this.forceCompositionEnd()},Rr.prototype.reset=function(){this.forceCompositionEnd()},Rr.prototype.forceCompositionEnd=function(){if(!this.composing)return;clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus()},Rr.prototype.readFromDOMSoon=function(){var O=this;if(this.readDOMTimeout!=null)return;this.readDOMTimeout=setTimeout(function(){if(O.readDOMTimeout=null,O.composing)if(O.composing.done)O.composing=null;else return;O.updateFromDOM()},80)},Rr.prototype.updateFromDOM=function(){var O=this;(this.cm.isReadOnly()||!this.pollContent())&&jo(this.cm,function(){return ga(O.cm)})},Rr.prototype.setUneditable=function(O){O.contentEditable="false"},Rr.prototype.onKeyPress=function(O){if(O.charCode==0||this.composing)return;O.preventDefault(),this.cm.isReadOnly()||go(this.cm,it)(this.cm,String.fromCharCode(O.charCode==null?O.keyCode:O.charCode),0)},Rr.prototype.readOnlyChanged=function(O){this.div.contentEditable=String(O!="nocursor")},Rr.prototype.onContextMenu=function(){},Rr.prototype.resetPosition=function(){},Rr.prototype.needsContentAttribute=!0;function an(O,D){var Y=xi(O,D.line);if(!Y||Y.hidden)return null;var Z=Ue(O.doc,D.line),te=gi(Y,Z,D.line),De=pt(Z,O.doc.direction),ht="left";if(De){var Et=xe(De,D.ch);ht=Et%2?"right":"left"}var Yt=Ci(te.map,D.ch,ht);return Yt.offset=Yt.collapse=="right"?Yt.end:Yt.start,Yt}function Pn(O){for(var D=O;D;D=D.parentNode)if(/CodeMirror-gutter-wrapper/.test(D.className))return!0;return!1}function ni(O,D){return D&&(O.bad=!0),O}function Ii(O,D,Y,Z,te){var De="",ht=!1,Et=O.doc.lineSeparator(),Yt=!1;function qt(kn){return function(Ai){return Ai.id==kn}}function qr(){ht&&(De+=Et,Yt&&(De+=Et),ht=Yt=!1)}function dn(kn){kn&&(qr(),De+=kn)}function Mn(kn){if(kn.nodeType==1){var Ai=kn.getAttribute("cm-text");if(Ai){dn(Ai);return}var ji=kn.getAttribute("cm-marker"),Qi;if(ji){var Yi=O.findMarks(Ut(Z,0),Ut(te+1,0),qt(+ji));Yi.length&&(Qi=Yi[0].find(0))&&dn(rt(O.doc,Qi.from,Qi.to).join(Et));return}if(kn.getAttribute("contenteditable")=="false")return;var Xi=/^(pre|div|p|li|table|br)$/i.test(kn.nodeName);if(!/^br$/i.test(kn.nodeName)&&kn.textContent.length==0)return;Xi&&qr();for(var pa=0;pa=9&&D.hasSelection&&(D.hasSelection=null),Y.poll()}),Oe(te,"paste",function(ht){if(xt(Z,ht)||St(ht,Z))return;Z.state.pasteIncoming=+new Date,Y.fastPoll()});function De(ht){if(xt(Z,ht))return;if(Z.somethingSelected())je({lineWise:!1,text:Z.getSelections()});else if(Z.options.lineWiseCopyCut){var Et=It(Z);je({lineWise:!0,text:Et.text}),ht.type=="cut"?Z.setSelections(Et.ranges,null,de):(Y.prevInput="",te.value=Et.text.join(` `),U(te))}else return;ht.type=="cut"&&(Z.state.cutIncoming=+new Date)}Oe(te,"cut",De),Oe(te,"copy",De),Oe(O.scroller,"paste",function(ht){if(Nn(O,ht)||xt(Z,ht))return;if(!te.dispatchEvent){Z.state.pasteIncoming=+new Date,Y.focus();return}var Et=new Event("paste");Et.clipboardData=ht.clipboardData,te.dispatchEvent(Et)}),Oe(O.lineSpace,"selectstart",function(ht){Nn(O,ht)||$e(ht)}),Oe(te,"compositionstart",function(){var ht=Z.getCursor("from");Y.composing&&Y.composing.range.clear(),Y.composing={start:ht,range:Z.markText(ht,Z.getCursor("to"),{className:"CodeMirror-composing"})}}),Oe(te,"compositionend",function(){Y.composing&&(Y.poll(),Y.composing.range.clear(),Y.composing=null)})},Ui.prototype.createField=function(O){this.wrapper=Tr(),this.textarea=this.wrapper.firstChild},Ui.prototype.screenReaderLabelChanged=function(O){O?this.textarea.setAttribute("aria-label",O):this.textarea.removeAttribute("aria-label")},Ui.prototype.prepareSelection=function(){var O=this.cm,D=O.display,Y=O.doc,Z=za(O);if(O.options.moveInputWithCursor){var te=vn(O,Y.sel.primary().head,"div"),De=D.wrapper.getBoundingClientRect(),ht=D.lineDiv.getBoundingClientRect();Z.teTop=Math.max(0,Math.min(D.wrapper.clientHeight-10,te.top+ht.top-De.top)),Z.teLeft=Math.max(0,Math.min(D.wrapper.clientWidth-10,te.left+ht.left-De.left))}return Z},Ui.prototype.showSelection=function(O){var D=this.cm,Y=D.display;I(Y.cursorDiv,O.cursors),I(Y.selectionDiv,O.selection),O.teTop!=null&&(this.wrapper.style.top=O.teTop+"px",this.wrapper.style.left=O.teLeft+"px")},Ui.prototype.reset=function(O){if(this.contextMenuPending||this.composing)return;var D=this.cm;if(D.somethingSelected()){this.prevInput="";var Y=D.getSelection();this.textarea.value=Y,D.state.focused&&U(this.textarea),d&&c>=9&&(this.hasSelection=Y)}else O||(this.prevInput=this.textarea.value="",d&&c>=9&&(this.hasSelection=null))},Ui.prototype.getField=function(){return this.textarea},Ui.prototype.supportsTouch=function(){return!1},Ui.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!h||H()!=this.textarea))try{this.textarea.focus()}catch(O){}},Ui.prototype.blur=function(){this.textarea.blur()},Ui.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Ui.prototype.receivedFocus=function(){this.slowPoll()},Ui.prototype.slowPoll=function(){var O=this;if(this.pollingFast)return;this.polling.set(this.cm.options.pollInterval,function(){O.poll(),O.cm.state.focused&&O.slowPoll()})},Ui.prototype.fastPoll=function(){var O=!1,D=this;D.pollingFast=!0;function Y(){var Z=D.poll();!Z&&!O?(O=!0,D.polling.set(60,Y)):(D.pollingFast=!1,D.slowPoll())}D.polling.set(20,Y)},Ui.prototype.poll=function(){var O=this,D=this.cm,Y=this.textarea,Z=this.prevInput;if(this.contextMenuPending||!D.state.focused||ur(Y)&&!Z&&!this.composing||D.isReadOnly()||D.options.disableInput||D.state.keySeq)return!1;var te=Y.value;if(te==Z&&!D.somethingSelected())return!1;if(d&&c>=9&&this.hasSelection===te||A&&/[\uf700-\uf7ff]/.test(te))return D.display.input.reset(),!1;if(D.doc.sel==D.display.selForContextMenu){var De=te.charCodeAt(0);if(De==8203&&!Z&&(Z="\u200B"),De==8666)return this.reset(),this.cm.execCommand("undo")}for(var ht=0,Et=Math.min(Z.length,te.length);ht1e3||te.indexOf(` `)>-1?Y.value=O.prevInput="":O.prevInput=te,O.composing&&(O.composing.range.clear(),O.composing.range=D.markText(O.composing.start,D.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Ui.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ui.prototype.onKeyPress=function(){d&&c>=9&&(this.hasSelection=null),this.fastPoll()},Ui.prototype.onContextMenu=function(O){var D=this,Y=D.cm,Z=Y.display,te=D.textarea;D.contextMenuPending&&D.contextMenuPending();var De=Vi(Y,O),ht=Z.scroller.scrollTop;if(!De||o)return;var Et=Y.options.resetSelectionOnContextMenu;Et&&Y.doc.sel.contains(De)==-1&&go(Y,Do)(Y.doc,ge(De),de);var Yt=te.style.cssText,qt=D.wrapper.style.cssText,qr=D.wrapper.offsetParent.getBoundingClientRect();D.wrapper.style.cssText="position: static",te.style.cssText=`position: absolute; width: 30px; height: 30px; top: `+(O.clientY-qr.top-5)+"px; left: "+(O.clientX-qr.left-5)+`px; z-index: 1000; background: `+(d?"rgba(255, 255, 255, .05)":"transparent")+`; outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var dn;a&&(dn=window.scrollY),Z.input.focus(),a&&window.scrollTo(null,dn),Z.input.reset(),Y.somethingSelected()||(te.value=D.prevInput=" "),D.contextMenuPending=kn,Z.selForContextMenu=Y.doc.sel,clearTimeout(Z.detectingSelectAll);function Mn(){if(te.selectionStart!=null){var ji=Y.somethingSelected(),Qi="\u200B"+(ji?te.value:"");te.value="\u21DA",te.value=Qi,D.prevInput=ji?"":"\u200B",te.selectionStart=1,te.selectionEnd=Qi.length,Z.selForContextMenu=Y.doc.sel}}function kn(){if(D.contextMenuPending!=kn)return;if(D.contextMenuPending=!1,D.wrapper.style.cssText=qt,te.style.cssText=Yt,d&&c<9&&Z.scrollbars.setScrollTop(Z.scroller.scrollTop=ht),te.selectionStart!=null){(!d||d&&c<9)&&Mn();var ji=0,Qi=function Yi(){Z.selForContextMenu==Y.doc.sel&&te.selectionStart==0&&te.selectionEnd>0&&D.prevInput=="\u200B"?go(Y,Js)(Y):ji++<10?Z.detectingSelectAll=setTimeout(Yi,500):(Z.selForContextMenu=null,Z.input.reset())};Z.detectingSelectAll=setTimeout(Qi,200)}}if(d&&c>=9&&Mn(),T){bt(O);var Ai=function ji(){Ze(window,"mouseup",ji),setTimeout(kn,20)};Oe(window,"mouseup",Ai)}else setTimeout(kn,50)},Ui.prototype.readOnlyChanged=function(O){O||this.reset(),this.textarea.disabled=O=="nocursor",this.textarea.readOnly=!!O},Ui.prototype.setUneditable=function(){},Ui.prototype.needsContentAttribute=!1;function _a(O,D){if(D=D?K(D):{},D.value=O.value,!D.tabindex&&O.tabIndex&&(D.tabindex=O.tabIndex),!D.placeholder&&O.placeholder&&(D.placeholder=O.placeholder),D.autofocus==null){var Y=H();D.autofocus=Y==O||O.getAttribute("autofocus")!=null&&Y==document.body}function Z(){O.value=Et.getValue()}var te;if(O.form&&(Oe(O.form,"submit",Z),!D.leaveSubmitMethodAlone)){var De=O.form;te=De.submit;try{var ht=De.submit=function(){Z(),De.submit=te,De.submit(),De.submit=ht}}catch(Yt){}}D.finishInit=function(Yt){Yt.save=Z,Yt.getTextArea=function(){return O},Yt.toTextArea=function(){Yt.toTextArea=isNaN,Z(),O.parentNode.removeChild(Yt.getWrapperElement()),O.style.display="",O.form&&(Ze(O.form,"submit",Z),!D.leaveSubmitMethodAlone&&typeof O.form.submit=="function"&&(O.form.submit=te))}},O.style.display="none";var Et=dr(function(Yt){return O.parentNode.insertBefore(Yt,O.nextSibling)},D);return Et}function Aa(O){O.off=Ze,O.on=Oe,O.wheelEventPixels=tn,O.Doc=Gs,O.splitLines=Vr,O.countColumn=j,O.findColumn=Ae,O.isWordChar=ue,O.Pass=J,O.signal=wt,O.Line=Mi,O.changeEnd=Fe,O.scrollbarModel=ss,O.Pos=Ut,O.cmpPos=dt,O.modes=Xe,O.mimeModes=$t,O.resolveMode=fr,O.getMode=An,O.modeExtensions=Zr,O.extendMode=Ln,O.copyState=Je,O.startState=be,O.innerMode=et,O.commands=Xl,O.keyMap=ml,O.keyName=Vl,O.isModifierKey=ec,O.lookupKey=vl,O.normalizeKeyMap=zl,O.StringStream=Le,O.SharedTextMarker=El,O.TextMarker=Zs,O.LineWidget=js,O.e_preventDefault=$e,O.e_stopPropagation=pe,O.e_stop=bt,O.addClass=z,O.contains=P,O.rmClass=x,O.keyNames=pl}Pe(dr),hr(dr);var Va="iter insert remove copy getEditor constructor".split(" ");for(var mo in Gs.prototype)Gs.prototype.hasOwnProperty(mo)&&W(Va,mo)<0&&(dr.prototype[mo]=function(O){return function(){return O.apply(this.doc,arguments)}}(Gs.prototype[mo]));return Gt(Gs),dr.inputStyles={textarea:Ui,contenteditable:Rr},dr.defineMode=function(O){!dr.defaults.mode&&O!="null"&&(dr.defaults.mode=O),Sr.apply(this,arguments)},dr.defineMIME=vr,dr.defineMode("null",function(){return{token:function(D){return D.skipToEnd()}}}),dr.defineMIME("text/plain","null"),dr.defineExtension=function(O,D){dr.prototype[O]=D},dr.defineDocExtension=function(O,D){Gs.prototype[O]=D},dr.fromTextArea=_a,Aa(dr),dr.version="5.58.2",dr})},Vy0f:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var y=p(t("iYpf"));function p(m){return m&&m.__esModule?m:{default:m}}var S=y;N.default=S,R.exports=S},W2nI:function(R,N,t){var y=t("IwbS"),p=t("ProS"),S=t("bYtY"),m=["itemStyle","opacity"],g=["emphasis","itemStyle","opacity"],f=["lineStyle","opacity"],d=["emphasis","lineStyle","opacity"];function c(l,e){return l.getVisual("opacity")||l.getModel().get(e)}function a(l,e,s){var u=l.getGraphicEl(),h=c(l,e);s!=null&&(h==null&&(h=1),h*=s),u.downplay&&u.downplay(),u.traverse(function(A){A.type!=="group"&&A.setStyle("opacity",h)})}function n(l,e){var s=c(l,e),u=l.getGraphicEl();u.traverse(function(h){h.type!=="group"&&h.setStyle("opacity",s)}),u.highlight&&u.highlight()}var i=y.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(l,e){var s=e.extent;l.moveTo(e.x1,e.y1),l.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),e.orient==="vertical"?(l.lineTo(e.x2+s,e.y2),l.bezierCurveTo(e.cpx2+s,e.cpy2,e.cpx1+s,e.cpy1,e.x1+s,e.y1)):(l.lineTo(e.x2,e.y2+s),l.bezierCurveTo(e.cpx2,e.cpy2+s,e.cpx1,e.cpy1+s,e.x1,e.y1+s)),l.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),o=p.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(l,e,s){var u=this,h=l.getGraph(),A=this.group,v=l.layoutInfo,w=v.width,b=v.height,E=l.getData(),T=l.getData("edge"),_=l.get("orient");this._model=l,A.removeAll(),A.attr("position",[v.x,v.y]),h.eachEdge(function(x){var C=new i;C.dataIndex=x.dataIndex,C.seriesIndex=l.seriesIndex,C.dataType="edge";var I=x.getModel("lineStyle"),L=I.get("curveness"),F=x.node1.getLayout(),B=x.node1.getModel(),P=B.get("localX"),H=B.get("localY"),z=x.node2.getLayout(),M=x.node2.getModel(),U=M.get("localX"),k=M.get("localY"),K=x.getLayout(),j,V,W,X,J,de,G,ae;C.shape.extent=Math.max(1,K.dy),C.shape.orient=_,_==="vertical"?(j=(P!=null?P*w:F.x)+K.sy,V=(H!=null?H*b:F.y)+F.dy,W=(U!=null?U*w:z.x)+K.ty,X=k!=null?k*b:z.y,J=j,de=V*(1-L)+X*L,G=W,ae=V*L+X*(1-L)):(j=(P!=null?P*w:F.x)+F.dx,V=(H!=null?H*b:F.y)+K.sy,W=U!=null?U*w:z.x,X=(k!=null?k*b:z.y)+K.ty,J=j*(1-L)+W*L,de=V,G=j*L+W*(1-L),ae=X),C.setShape({x1:j,y1:V,x2:W,y2:X,cpx1:J,cpy1:de,cpx2:G,cpy2:ae}),C.setStyle(I.getItemStyle());switch(C.style.fill){case"source":C.style.fill=x.node1.getVisual("color");break;case"target":C.style.fill=x.node2.getVisual("color");break}y.setHoverStyle(C,x.getModel("emphasis.lineStyle").getItemStyle()),A.add(C),T.setItemGraphicEl(x.dataIndex,C)}),h.eachNode(function(x){var C=x.getLayout(),I=x.getModel(),L=I.get("localX"),F=I.get("localY"),B=I.getModel("label"),P=I.getModel("emphasis.label"),H=new y.Rect({shape:{x:L!=null?L*w:C.x,y:F!=null?F*b:C.y,width:C.dx,height:C.dy},style:I.getModel("itemStyle").getItemStyle()}),z=x.getModel("emphasis.itemStyle").getItemStyle();y.setLabelStyle(H.style,z,B,P,{labelFetcher:l,labelDataIndex:x.dataIndex,defaultText:x.id,isRectText:!0}),H.setStyle("fill",x.getVisual("color")),y.setHoverStyle(H,z),A.add(H),E.setItemGraphicEl(x.dataIndex,H),H.dataType="node"}),E.eachItemGraphicEl(function(x,C){var I=E.getItemModel(C);I.get("draggable")&&(x.drift=function(L,F){u._focusAdjacencyDisabled=!0,this.shape.x+=L,this.shape.y+=F,this.dirty(),s.dispatchAction({type:"dragNode",seriesId:l.id,dataIndex:E.getRawIndex(C),localX:this.shape.x/w,localY:this.shape.y/b})},x.ondragend=function(){u._focusAdjacencyDisabled=!1},x.draggable=!0,x.cursor="move"),x.highlight=function(){this.trigger("emphasis")},x.downplay=function(){this.trigger("normal")},x.focusNodeAdjHandler&&x.off("mouseover",x.focusNodeAdjHandler),x.unfocusNodeAdjHandler&&x.off("mouseout",x.unfocusNodeAdjHandler),I.get("focusNodeAdjacency")&&(x.on("mouseover",x.focusNodeAdjHandler=function(){u._focusAdjacencyDisabled||(u._clearTimer(),s.dispatchAction({type:"focusNodeAdjacency",seriesId:l.id,dataIndex:x.dataIndex}))}),x.on("mouseout",x.unfocusNodeAdjHandler=function(){u._focusAdjacencyDisabled||u._dispatchUnfocus(s)}))}),T.eachItemGraphicEl(function(x,C){var I=T.getItemModel(C);x.focusNodeAdjHandler&&x.off("mouseover",x.focusNodeAdjHandler),x.unfocusNodeAdjHandler&&x.off("mouseout",x.unfocusNodeAdjHandler),I.get("focusNodeAdjacency")&&(x.on("mouseover",x.focusNodeAdjHandler=function(){u._focusAdjacencyDisabled||(u._clearTimer(),s.dispatchAction({type:"focusNodeAdjacency",seriesId:l.id,edgeDataIndex:x.dataIndex}))}),x.on("mouseout",x.unfocusNodeAdjHandler=function(){u._focusAdjacencyDisabled||u._dispatchUnfocus(s)}))}),!this._data&&l.get("animation")&&A.setClipPath(r(A.getBoundingRect(),l,function(){A.removeClipPath()})),this._data=l.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(l){var e=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){e._unfocusDelayTimer=null,l.dispatchAction({type:"unfocusNodeAdjacency",seriesId:e._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(l,e,s,u){var h=l.getData(),A=h.graph,v=u.dataIndex,w=h.getItemModel(v),b=u.edgeDataIndex;if(v==null&&b==null)return;var E=A.getNodeByIndex(v),T=A.getEdgeByIndex(b);if(A.eachNode(function(x){a(x,m,.1)}),A.eachEdge(function(x){a(x,f,.1)}),E){n(E,g);var _=w.get("focusNodeAdjacency");_==="outEdges"?S.each(E.outEdges,function(x){if(x.dataIndex<0)return;n(x,d),n(x.node2,g)}):_==="inEdges"?S.each(E.inEdges,function(x){if(x.dataIndex<0)return;n(x,d),n(x.node1,g)}):_==="allEdges"&&S.each(E.edges,function(x){if(x.dataIndex<0)return;n(x,d),x.node1!==E&&n(x.node1,g),x.node2!==E&&n(x.node2,g)})}T&&(n(T,d),n(T.node1,g),n(T.node2,g))},unfocusNodeAdjacency:function(l,e,s,u){var h=l.getGraph();h.eachNode(function(A){a(A,m)}),h.eachEdge(function(A){a(A,f)})}});function r(l,e,s){var u=new y.Rect({shape:{x:l.x-10,y:l.y-10,width:0,height:l.height+20}});return y.initProps(u,{shape:{width:l.width+20}},e,s),u}R.exports=o},W4dC:function(R,N,t){var y=t("Tghj"),p=y.__DEV__,S=t("bYtY"),m=S.each,g=S.createHashMap,f=t("7DRL"),d=t("TIY9"),c=t("yS9w"),a=t("mFDi"),n={geoJSON:d,svg:c},i={load:function(e,s,u){var h=[],A=g(),v=g(),w,b=l(e);return m(b,function(E){var T=n[E.type].load(e,E,u);m(T.regions,function(x){var C=x.name;s&&s.hasOwnProperty(C)&&(x=x.cloneShallow(C=s[C])),h.push(x),A.set(C,x),v.set(C,x.center)});var _=T.boundingRect;_&&(w?w.union(_):w=_.clone())}),{regions:h,regionsMap:A,nameCoordMap:v,boundingRect:w||new a(0,0,0,0)}},makeGraphic:o("makeGraphic"),removeGraphic:o("removeGraphic")};function o(e){return function(s,u){var h=l(s),A=[];return m(h,function(v){var w=n[v.type][e];w&&A.push(w(s,v,u))}),A}}function r(e){}function l(e){var s=f.retrieveMap(e)||[];return s}R.exports=i},WGYa:function(R,N,t){var y=t("7yuC"),p=y.forceLayout,S=t("HF/U"),m=S.simpleLayout,g=t("lOQZ"),f=g.circularLayout,d=t("OELB"),c=d.linearMap,a=t("QBsz"),n=t("bYtY");function i(o){o.eachSeriesByType("graph",function(r){var l=r.coordinateSystem;if(l&&l.type!=="view")return;if(r.get("layout")==="force"){var e=r.preservedPoints||{},s=r.getGraph(),u=s.data,h=s.edgeData,A=r.getModel("force"),v=A.get("initLayout");r.preservedPoints?u.each(function(B){var P=u.getId(B);u.setItemLayout(B,e[P]||[NaN,NaN])}):!v||v==="none"?m(r):v==="circular"&&f(r,"value");var w=u.getDataExtent("value"),b=h.getDataExtent("value"),E=A.get("repulsion"),T=A.get("edgeLength");n.isArray(E)||(E=[E,E]),n.isArray(T)||(T=[T,T]),T=[T[1],T[0]];var _=u.mapArray("value",function(B,P){var H=u.getItemLayout(P),z=c(B,w,E);return isNaN(z)&&(z=(E[0]+E[1])/2),{w:z,rep:z,fixed:u.getItemModel(P).get("fixed"),p:!H||isNaN(H[0])||isNaN(H[1])?null:H}}),x=h.mapArray("value",function(B,P){var H=s.getEdgeByIndex(P),z=c(B,b,T);isNaN(z)&&(z=(T[0]+T[1])/2);var M=H.getModel();return{n1:_[H.node1.dataIndex],n2:_[H.node2.dataIndex],d:z,curveness:M.get("lineStyle.curveness")||0,ignoreForceLayout:M.get("ignoreForceLayout")}}),l=r.coordinateSystem,C=l.getBoundingRect(),I=p(_,x,{rect:C,gravity:A.get("gravity"),friction:A.get("friction")}),L=I.step;I.step=function(B){for(var P=0,H=_.length;P=0&&n[r].disabled;r-=1);var l=null;return r!==-1&&(l=o[r],o.splice(r,1)),{values:o,removedValue:l}}var f=typeof window!="undefined"&&window.document&&window.document.documentElement,d=f,c=0;function a(){var n;return d?(n=c,c+=1):n="TEST_OR_SSR",n}},"WN+l":function(R,N,t){var y=t("bYtY"),p=t("IwbS");function S(g,f,d,c){var a=d.axis;if(a.scale.isBlank())return;var n=d.getModel("splitArea"),i=n.getModel("areaStyle"),o=i.get("color"),r=c.coordinateSystem.getRect(),l=a.getTicksCoords({tickModel:n,clamp:!0});if(!l.length)return;var e=o.length,s=g.__splitAreaColors,u=y.createHashMap(),h=0;if(s)for(var A=0;A=0;L--)x[L]==null&&(delete C[_[L]],_.pop())}function o(T,_){var x=T.visual,C=[];y.isObject(x)?g(x,function(L){C.push(L)}):x!=null&&C.push(x);var I={color:1,symbol:1};!_&&C.length===1&&!I.hasOwnProperty(T.type)&&(C[1]=C[0]),v(T,C)}function r(T){return{applyVisual:function(_,x,C){_=this.mapValueToVisual(_),C("color",T(x("color"),_))},_doMap:h([0,1])}}function l(T){var _=this.option.visual;return _[Math.round(m(T,[0,1],[0,_.length-1],!0))]||{}}function e(T){return function(_,x,C){C(T,this.mapValueToVisual(_))}}function s(T){var _=this.option.visual;return _[this.option.loop&&T!==d?T%_.length:T]}function u(){return this.option.visual[0]}function h(T){return{linear:function(_){return m(_,T,this.option.visual,!0)},category:s,piecewise:function(_,x){var C=A.call(this,x);return C==null&&(C=m(_,T,this.option.visual,!0)),C},fixed:u}}function A(T){var _=this.option,x=_.pieceList;if(_.hasSpecialVisual){var C=c.findPieceIndex(T,x),I=x[C];if(I&&I.visual)return I.visual[this.type]}}function v(T,_){return T.visual=_,T.type==="color"&&(T.parsedVisual=y.map(_,function(x){return p.parse(x)})),_}var w={linear:function(T){return m(T,this.option.dataExtent,[0,1],!0)},piecewise:function(T){var _=this.option.pieceList,x=c.findPieceIndex(T,_,!0);if(x!=null)return m(x,[0,_.length-1],[0,1],!0)},category:function(T){var _=this.option.categories?this.option.categoryMap[T]:T;return _==null?d:_},fixed:y.noop};c.listVisualTypes=function(){var T=[];return y.each(a,function(_,x){T.push(x)}),T},c.addVisualHandler=function(T,_){a[T]=_},c.isValidType=function(T){return a.hasOwnProperty(T)},c.eachVisual=function(T,_,x){y.isObject(T)?y.each(T,_,x):_.call(x,T)},c.mapVisual=function(T,_,x){var C,I=y.isArray(T)?[]:y.isObject(T)?{}:(C=!0,null);return c.eachVisual(T,function(L,F){var B=_.call(x,L,F);C?I=B:I[F]=B}),I},c.retrieveVisuals=function(T){var _={},x;return T&&g(a,function(C,I){T.hasOwnProperty(I)&&(_[I]=T[I],x=!0)}),x?_:null},c.prepareVisualTypes=function(T){if(f(T)){var _=[];g(T,function(x,C){_.push(C)}),T=_}else if(y.isArray(T))T=T.slice();else return[];return T.sort(function(x,C){return C==="color"&&x!=="color"&&x.indexOf("color")===0?1:-1}),T},c.dependsOn=function(T,_){return _==="color"?!!(T&&T.indexOf(_)===0):T===_},c.findPieceIndex=function(T,_,x){for(var C,I=Infinity,L=0,F=_.length;L1&&arguments[1]!==void 0?arguments[1]:!1,ae=de.getAttribute("id")||de.getAttribute("data-reactid")||de.getAttribute("name");if(G&&H[ae])return H[ae];var Ae=window.getComputedStyle(de),me=Ae.getPropertyValue("box-sizing")||Ae.getPropertyValue("-moz-box-sizing")||Ae.getPropertyValue("-webkit-box-sizing"),Me=parseFloat(Ae.getPropertyValue("padding-bottom"))+parseFloat(Ae.getPropertyValue("padding-top")),oe=parseFloat(Ae.getPropertyValue("border-bottom-width"))+parseFloat(Ae.getPropertyValue("border-top-width")),_e=P.map(function(ne){return"".concat(ne,":").concat(Ae.getPropertyValue(ne))}).join(";"),ee={sizingStyle:_e,paddingSize:Me,borderSize:oe,boxSizing:me};return G&&ae&&(H[ae]=ee),ee}function U(de){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,Ae=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;z||(z=document.createElement("textarea"),z.setAttribute("tab-index","-1"),z.setAttribute("aria-hidden","true"),document.body.appendChild(z)),de.getAttribute("wrap")?z.setAttribute("wrap",de.getAttribute("wrap")):z.removeAttribute("wrap");var me=M(de,G),Me=me.paddingSize,oe=me.borderSize,_e=me.boxSizing,ee=me.sizingStyle;z.setAttribute("style","".concat(ee,";").concat(B)),z.value=de.value||de.placeholder||"";var ne=Number.MIN_SAFE_INTEGER,Ge=Number.MAX_SAFE_INTEGER,Ee=z.scrollHeight,ue;if(_e==="border-box"?Ee+=oe:_e==="content-box"&&(Ee-=Me),ae!==null||Ae!==null){z.value=" ";var re=z.scrollHeight-Me;ae!==null&&(ne=re*ae,_e==="border-box"&&(ne=ne+Me+oe),Ee=Math.max(ne,Ee)),Ae!==null&&(Ge=re*Ae,_e==="border-box"&&(Ge=Ge+Me+oe),ue=Ee>Ge?"":"hidden",Ee=Math.min(Ge,Ee))}return{height:Ee,minHeight:ne,maxHeight:Ge,overflowY:ue,resize:"none"}}var k=t("Gytx"),K=t.n(k),j;(function(de){de[de.NONE=0]="NONE",de[de.RESIZING=1]="RESIZING",de[de.RESIZED=2]="RESIZED"})(j||(j={}));var V=function(de){Object(m.a)(ae,de);var G=Object(g.a)(ae);function ae(Ae){var me;return Object(p.a)(this,ae),me=G.call(this,Ae),me.nextFrameActionId=void 0,me.resizeFrameId=void 0,me.textArea=void 0,me.saveTextArea=function(Me){me.textArea=Me},me.handleResize=function(Me){var oe=me.state.resizeStatus,_e=me.props,ee=_e.autoSize,ne=_e.onResize;if(oe!==j.NONE)return;typeof ne=="function"&&ne(Me),ee&&me.resizeOnNextFrame()},me.resizeOnNextFrame=function(){cancelAnimationFrame(me.nextFrameActionId),me.nextFrameActionId=requestAnimationFrame(me.resizeTextarea)},me.resizeTextarea=function(){var Me=me.props.autoSize;if(!Me||!me.textArea)return;var oe=Me.minRows,_e=Me.maxRows,ee=U(me.textArea,!1,oe,_e);me.setState({textareaStyles:ee,resizeStatus:j.RESIZING},function(){cancelAnimationFrame(me.resizeFrameId),me.resizeFrameId=requestAnimationFrame(function(){me.setState({resizeStatus:j.RESIZED},function(){me.resizeFrameId=requestAnimationFrame(function(){me.setState({resizeStatus:j.NONE}),me.fixFirefoxAutoScroll()})})})})},me.renderTextArea=function(){var Me=me.props,oe=Me.prefixCls,_e=oe===void 0?"rc-textarea":oe,ee=Me.autoSize,ne=Me.onResize,Ge=Me.className,Ee=Me.disabled,ue=me.state,re=ue.textareaStyles,ce=ue.resizeStatus,ke=Object(I.a)(me.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),Te=F()(_e,Ge,Object(c.a)({},"".concat(_e,"-disabled"),Ee));"value"in ke&&(ke.value=ke.value||"");var Ke=Object(d.a)(Object(d.a)(Object(d.a)({},me.props.style),re),ce===j.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return f.createElement(C,{onResize:me.handleResize,disabled:!(ee||ne)},f.createElement("textarea",Object(y.a)({},ke,{className:Te,style:Ke,ref:me.saveTextArea})))},me.state={textareaStyles:{},resizeStatus:j.NONE},me}return Object(S.a)(ae,[{key:"componentDidUpdate",value:function(me){(me.value!==this.props.value||!K()(me.autoSize,this.props.autoSize))&&this.resizeTextarea()}},{key:"componentWillUnmount",value:function(){cancelAnimationFrame(this.nextFrameActionId),cancelAnimationFrame(this.resizeFrameId)}},{key:"fixFirefoxAutoScroll",value:function(){try{if(document.activeElement===this.textArea){var me=this.textArea.selectionStart,Me=this.textArea.selectionEnd;this.textArea.setSelectionRange(me,Me)}}catch(oe){}}},{key:"render",value:function(){return this.renderTextArea()}}]),ae}(f.Component),W=V,X=function(de){Object(m.a)(ae,de);var G=Object(g.a)(ae);function ae(Ae){var me;Object(p.a)(this,ae),me=G.call(this,Ae),me.resizableTextArea=void 0,me.focus=function(){me.resizableTextArea.textArea.focus()},me.saveTextArea=function(oe){me.resizableTextArea=oe},me.handleChange=function(oe){var _e=me.props.onChange;me.setValue(oe.target.value,function(){me.resizableTextArea.resizeTextarea()}),_e&&_e(oe)},me.handleKeyDown=function(oe){var _e=me.props,ee=_e.onPressEnter,ne=_e.onKeyDown;oe.keyCode===13&&ee&&ee(oe),ne&&ne(oe)};var Me=typeof Ae.value=="undefined"||Ae.value===null?Ae.defaultValue:Ae.value;return me.state={value:Me},me}return Object(S.a)(ae,[{key:"setValue",value:function(me,Me){"value"in this.props||this.setState({value:me},Me)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return f.createElement(W,Object(y.a)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(me){return"value"in me?{value:me.value}:null}}]),ae}(f.Component),J=N.default=X},YH21:function(R,N,t){var y=t("H6uX");N.Dispatcher=y;var p=t("ItGF"),S=t("Ze12"),m=S.isCanvasEl,g=S.transformCoordWithViewport,f=typeof window!="undefined"&&!!window.addEventListener,d=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,c=[];function a(h,A,v,w){return v=v||{},w||!p.canvasSupported?n(h,A,v):p.browser.firefox&&A.layerX!=null&&A.layerX!==A.offsetX?(v.zrX=A.layerX,v.zrY=A.layerY):A.offsetX!=null?(v.zrX=A.offsetX,v.zrY=A.offsetY):n(h,A,v),v}function n(h,A,v){if(p.domSupported&&h.getBoundingClientRect){var w=A.clientX,b=A.clientY;if(m(h)){var E=h.getBoundingClientRect();v.zrX=w-E.left,v.zrY=b-E.top;return}else if(g(c,h,w,b)){v.zrX=c[0],v.zrY=c[1];return}}v.zrX=v.zrY=0}function i(h){return h||window.event}function o(h,A,v){if(A=i(A),A.zrX!=null)return A;var w=A.type,b=w&&w.indexOf("touch")>=0;if(!b)a(h,A,A,v),A.zrDelta=A.wheelDelta?A.wheelDelta/120:-(A.detail||0)/3;else{var E=w!=="touchend"?A.targetTouches[0]:A.changedTouches[0];E&&a(h,E,A,v)}var T=A.button;return A.which==null&&T!==void 0&&d.test(A.type)&&(A.which=T&1?1:T&2?3:T&4?2:0),A}function r(h,A,v,w){f?h.addEventListener(A,v,w):h.attachEvent("on"+A,v)}function l(h,A,v,w){f?h.removeEventListener(A,v,w):h.detachEvent("on"+A,v)}var e=f?function(h){h.preventDefault(),h.stopPropagation(),h.cancelBubble=!0}:function(h){h.returnValue=!1,h.cancelBubble=!0};function s(h){return h.which===2||h.which===3}function u(h){return h.which>1}N.clientToLocal=a,N.getNativeEvent=i,N.normalizeEvent=o,N.addEventListener=r,N.removeEventListener=l,N.stop=e,N.isMiddleOrRightButtonOnMouseUpDown=s,N.notLeftMouse=u},YJ9k:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;function y(g,f){if(!(g instanceof f))throw new TypeError("Cannot call a class as a function")}function p(g,f){for(var d=0;d0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[ye].sort(w)}}]),Ie}();function w(Ie,se){var ye=Ie.node.sortableInfo.index,xe=se.node.sortableInfo.index;return ye-xe}function b(Ie,se,ye){return Ie=Ie.slice(),Ie.splice(ye<0?Ie.length+ye:ye,0,Ie.splice(se,1)[0]),Ie}function E(Ie,se){return Object.keys(Ie).reduce(function(ye,xe){return se.indexOf(xe)===-1&&(ye[xe]=Ie[xe]),ye},{})}var T={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},_=function(){if(typeof window=="undefined"||typeof document=="undefined")return"";var Ie=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],se=(Array.prototype.slice.call(Ie).join("").match(/-(moz|webkit|ms)-/)||Ie.OLink===""&&["","o"])[1];switch(se){case"ms":return"ms";default:return se&&se.length?se[0].toUpperCase()+se.substr(1):""}}();function x(Ie,se){Object.keys(se).forEach(function(ye){Ie.style[ye]=se[ye]})}function C(Ie,se){Ie.style["".concat(_,"Transform")]=se==null?"":"translate3d(".concat(se.x,"px,").concat(se.y,"px,0)")}function I(Ie,se){Ie.style["".concat(_,"TransitionDuration")]=se==null?"":"".concat(se,"ms")}function L(Ie,se){for(;Ie;){if(se(Ie))return Ie;Ie=Ie.parentNode}return null}function F(Ie,se,ye){return Math.max(Ie,Math.min(ye,se))}function B(Ie){return Ie.substr(-2)==="px"?parseFloat(Ie):0}function P(Ie){var se=window.getComputedStyle(Ie);return{bottom:B(se.marginBottom),left:B(se.marginLeft),right:B(se.marginRight),top:B(se.marginTop)}}function H(Ie,se){var ye=se.displayName||se.name;return ye?"".concat(Ie,"(").concat(ye,")"):Ie}function z(Ie,se){var ye=Ie.getBoundingClientRect();return{top:ye.top+se.top,left:ye.left+se.left}}function M(Ie){return Ie.touches&&Ie.touches.length?{x:Ie.touches[0].pageX,y:Ie.touches[0].pageY}:Ie.changedTouches&&Ie.changedTouches.length?{x:Ie.changedTouches[0].pageX,y:Ie.changedTouches[0].pageY}:{x:Ie.pageX,y:Ie.pageY}}function U(Ie){return Ie.touches&&Ie.touches.length||Ie.changedTouches&&Ie.changedTouches.length}function k(Ie,se){var ye=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(!Ie)return;var xe={left:ye.left+Ie.offsetLeft,top:ye.top+Ie.offsetTop};return Ie.parentNode===se?xe:k(Ie.parentNode,se,xe)}function K(Ie,se,ye){return Iese?Ie-1:Ie>ye&&Ie0&&ye[nt].height>0){var Oe=pt.getContext("2d");Oe.drawImage(ye[nt],0,0)}}),xe}function Ae(Ie){var se,ye,xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return ye=se=function(Ye){Object(c.a)(pt,Ye);function pt(){return Object(m.a)(this,pt),Object(f.a)(this,Object(d.a)(pt).apply(this,arguments))}return Object(g.a)(pt,[{key:"componentDidMount",value:function(){var Oe=Object(e.findDOMNode)(this);Oe.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return h()(xe.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableHandle() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var Oe=xe.withRef?"wrappedInstance":null;return Object(i.createElement)(Ie,Object(y.a)({ref:Oe},this.props))}}]),pt}(i.Component),Object(n.a)(se,"displayName",H("sortableHandle",Ie)),ye}function me(Ie){return Ie.sortableHandle!=null}var Me=function(){function Ie(se,ye){Object(m.a)(this,Ie),this.container=se,this.onScrollCallback=ye}return Object(g.a)(Ie,[{key:"clear",value:function(){if(this.interval==null)return;clearInterval(this.interval),this.interval=null}},{key:"update",value:function(ye){var xe=this,Ye=ye.translate,pt=ye.minTranslate,nt=ye.maxTranslate,Oe=ye.width,vt=ye.height,Ze={x:0,y:0},wt={x:1,y:1},xt={x:10,y:10},Ot=this.container,Mt=Ot.scrollTop,Gt=Ot.scrollLeft,$e=Ot.scrollHeight,pe=Ot.scrollWidth,q=Ot.clientHeight,bt=Ot.clientWidth,qe=Mt===0,le=$e-Mt-q===0,Nt=Gt===0,tr=pe-Gt-bt===0;Ye.y>=nt.y-vt/2&&!le?(Ze.y=1,wt.y=xt.y*Math.abs((nt.y-vt/2-Ye.y)/vt)):Ye.x>=nt.x-Oe/2&&!tr?(Ze.x=1,wt.x=xt.x*Math.abs((nt.x-Oe/2-Ye.x)/Oe)):Ye.y<=pt.y+vt/2&&!qe?(Ze.y=-1,wt.y=xt.y*Math.abs((Ye.y-vt/2-pt.y)/vt)):Ye.x<=pt.x+Oe/2&&!Nt&&(Ze.x=-1,wt.x=xt.x*Math.abs((Ye.x-Oe/2-pt.x)/Oe)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(Ze.x!==0||Ze.y!==0)&&(this.interval=setInterval(function(){xe.isAutoScrolling=!0;var lt={left:wt.x*Ze.x,top:wt.y*Ze.y};xe.container.scrollTop+=lt.top,xe.container.scrollLeft+=lt.left,xe.onScrollCallback(lt)},5))}}]),Ie}();function oe(Ie){var se=Ie.node;return{height:se.offsetHeight,width:se.offsetWidth}}function _e(Ie){var se=[G.Input,G.Textarea,G.Select,G.Option,G.Button];return se.indexOf(Ie.target.tagName)!==-1?!0:!!L(Ie.target,function(ye){return ye.contentEditable==="true"})}var ee={axis:l.a.oneOf(["x","y","xy"]),contentWindow:l.a.any,disableAutoscroll:l.a.bool,distance:l.a.number,getContainer:l.a.func,getHelperDimensions:l.a.func,helperClass:l.a.string,helperContainer:l.a.oneOfType([l.a.func,typeof HTMLElement=="undefined"?l.a.any:l.a.instanceOf(HTMLElement)]),hideSortableGhost:l.a.bool,keyboardSortingTransitionDuration:l.a.number,lockAxis:l.a.string,lockOffset:l.a.oneOfType([l.a.number,l.a.string,l.a.arrayOf(l.a.oneOfType([l.a.number,l.a.string]))]),lockToContainerEdges:l.a.bool,onSortEnd:l.a.func,onSortMove:l.a.func,onSortOver:l.a.func,onSortStart:l.a.func,pressDelay:l.a.number,pressThreshold:l.a.number,keyCodes:l.a.shape({lift:l.a.arrayOf(l.a.number),drop:l.a.arrayOf(l.a.number),cancel:l.a.arrayOf(l.a.number),up:l.a.arrayOf(l.a.number),down:l.a.arrayOf(l.a.number)}),shouldCancelStart:l.a.func,transitionDuration:l.a.number,updateBeforeSortStart:l.a.func,useDragHandle:l.a.bool,useWindowAsScrollContainer:l.a.bool},ne={lift:[de.SPACE],drop:[de.SPACE],cancel:[de.ESC],up:[de.UP,de.LEFT],down:[de.DOWN,de.RIGHT]},Ge={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:oe,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:ne,shouldCancelStart:_e,transitionDuration:300,useWindowAsScrollContainer:!1},Ee=Object.keys(ee);function ue(Ie){h()(!(Ie.distance&&Ie.pressDelay),"Attempted to set both `pressDelay` and `distance` on SortableContainer, you may only use one or the other, not both at the same time.")}function re(Ie,se){try{var ye=Ie()}catch(xe){return se(!0,xe)}return ye&&ye.then?ye.then(se.bind(null,!1),se.bind(null,!0)):se(!1,value)}function ce(Ie){var se,ye,xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return ye=se=function(Ye){Object(c.a)(pt,Ye);function pt(nt){var Oe;return Object(m.a)(this,pt),Oe=Object(f.a)(this,Object(d.a)(pt).call(this,nt)),Object(n.a)(Object(a.a)(Object(a.a)(Oe)),"state",{}),Object(n.a)(Object(a.a)(Object(a.a)(Oe)),"handleStart",function(vt){var Ze=Oe.props,wt=Ze.distance,xt=Ze.shouldCancelStart;if(vt.button===2||xt(vt))return;Oe.touched=!0,Oe.position=M(vt);var Ot=L(vt.target,function(bt){return bt.sortableInfo!=null});if(Ot&&Ot.sortableInfo&&Oe.nodeIsChild(Ot)&&!Oe.state.sorting){var Mt=Oe.props.useDragHandle,Gt=Ot.sortableInfo,$e=Gt.index,pe=Gt.collection,q=Gt.disabled;if(q)return;if(Mt&&!L(vt.target,me))return;Oe.manager.active={collection:pe,index:$e},!U(vt)&&vt.target.tagName===G.Anchor&&vt.preventDefault(),wt||(Oe.props.pressDelay===0?Oe.handlePress(vt):Oe.pressTimer=setTimeout(function(){return Oe.handlePress(vt)},Oe.props.pressDelay))}}),Object(n.a)(Object(a.a)(Object(a.a)(Oe)),"nodeIsChild",function(vt){return vt.sortableInfo.manager===Oe.manager}),Object(n.a)(Object(a.a)(Object(a.a)(Oe)),"handleMove",function(vt){var Ze=Oe.props,wt=Ze.distance,xt=Ze.pressThreshold;if(!Oe.state.sorting&&Oe.touched&&!Oe._awaitingUpdateBeforeSortStart){var Ot=M(vt),Mt={x:Oe.position.x-Ot.x,y:Oe.position.y-Ot.y},Gt=Math.abs(Mt.x)+Math.abs(Mt.y);Oe.delta=Mt,!wt&&(!xt||Gt>=xt)?(clearTimeout(Oe.cancelTimer),Oe.cancelTimer=setTimeout(Oe.cancel,0)):wt&&Gt>=wt&&Oe.manager.isActive()&&Oe.handlePress(vt)}}),Object(n.a)(Object(a.a)(Object(a.a)(Oe)),"handleEnd",function(){Oe.touched=!1,Oe.cancel()}),Object(n.a)(Object(a.a)(Object(a.a)(Oe)),"cancel",function(){var vt=Oe.props.distance,Ze=Oe.state.sorting;Ze||(vt||clearTimeout(Oe.pressTimer),Oe.manager.active=null)}),Object(n.a)(Object(a.a)(Object(a.a)(Oe)),"handlePress",function(vt){try{var Ze=Oe.manager.getActive(),wt=function(){if(Ze){var xt=function(){var cr=le.sortableInfo.index,Vr=P(le),ur=J(Oe.container),ir=Oe.scrollContainer.getBoundingClientRect(),Lt=Gt({index:cr,node:le,collection:Nt});if(Oe.node=le,Oe.margin=Vr,Oe.gridGap=ur,Oe.width=Lt.width,Oe.height=Lt.height,Oe.marginOffset={x:Oe.margin.left+Oe.margin.right+Oe.gridGap.x,y:Math.max(Oe.margin.top,Oe.margin.bottom,Oe.gridGap.y)},Oe.boundingClientRect=le.getBoundingClientRect(),Oe.containerBoundingRect=ir,Oe.index=cr,Oe.newIndex=cr,Oe.axis={x:Mt.indexOf("x")>=0,y:Mt.indexOf("y")>=0},Oe.offsetEdge=k(le,Oe.container),tr?Oe.initialOffset=M(Object(S.a)({},vt,{pageX:Oe.boundingClientRect.left,pageY:Oe.boundingClientRect.top})):Oe.initialOffset=M(vt),Oe.initialScroll={left:Oe.scrollContainer.scrollLeft,top:Oe.scrollContainer.scrollTop},Oe.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},Oe.helper=Oe.helperContainer.appendChild(ae(le)),x(Oe.helper,{boxSizing:"border-box",height:"".concat(Oe.height,"px"),left:"".concat(Oe.boundingClientRect.left-Vr.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(Oe.boundingClientRect.top-Vr.top,"px"),width:"".concat(Oe.width,"px")}),tr&&Oe.helper.focus(),pe&&(Oe.sortableGhost=le,x(le,{opacity:0,visibility:"hidden"})),Oe.minTranslate={},Oe.maxTranslate={},tr){var at=qe?{top:0,left:0,width:Oe.contentWindow.innerWidth,height:Oe.contentWindow.innerHeight}:Oe.containerBoundingRect,Xe=at.top,$t=at.left,Sr=at.width,vr=at.height,fr=Xe+vr,An=$t+Sr;Oe.axis.x&&(Oe.minTranslate.x=$t-Oe.boundingClientRect.left,Oe.maxTranslate.x=An-(Oe.boundingClientRect.left+Oe.width)),Oe.axis.y&&(Oe.minTranslate.y=Xe-Oe.boundingClientRect.top,Oe.maxTranslate.y=fr-(Oe.boundingClientRect.top+Oe.height))}else Oe.axis.x&&(Oe.minTranslate.x=(qe?0:ir.left)-Oe.boundingClientRect.left-Oe.width/2,Oe.maxTranslate.x=(qe?Oe.contentWindow.innerWidth:ir.left+ir.width)-Oe.boundingClientRect.left-Oe.width/2),Oe.axis.y&&(Oe.minTranslate.y=(qe?0:ir.top)-Oe.boundingClientRect.top-Oe.height/2,Oe.maxTranslate.y=(qe?Oe.contentWindow.innerHeight:ir.top+ir.height)-Oe.boundingClientRect.top-Oe.height/2);$e&&$e.split(" ").forEach(function(Zr){return Oe.helper.classList.add(Zr)}),Oe.listenerNode=vt.touches?le:Oe.contentWindow,tr?(Oe.listenerNode.addEventListener("wheel",Oe.handleKeyEnd,!0),Oe.listenerNode.addEventListener("mousedown",Oe.handleKeyEnd,!0),Oe.listenerNode.addEventListener("keydown",Oe.handleKeyDown)):(T.move.forEach(function(Zr){return Oe.listenerNode.addEventListener(Zr,Oe.handleSortMove,!1)}),T.end.forEach(function(Zr){return Oe.listenerNode.addEventListener(Zr,Oe.handleSortEnd,!1)})),Oe.setState({sorting:!0,sortingIndex:cr}),bt&&bt({node:le,index:cr,collection:Nt,isKeySorting:tr,nodes:Oe.manager.getOrderedRefs(),helper:Oe.helper},vt),tr&&Oe.keyMove(0)},Ot=Oe.props,Mt=Ot.axis,Gt=Ot.getHelperDimensions,$e=Ot.helperClass,pe=Ot.hideSortableGhost,q=Ot.updateBeforeSortStart,bt=Ot.onSortStart,qe=Ot.useWindowAsScrollContainer,le=Ze.node,Nt=Ze.collection,tr=Oe.manager.isKeySorting,lt=function(){if(typeof q=="function"){Oe._awaitingUpdateBeforeSortStart=!0;var zt=re(function(){var cr=le.sortableInfo.index;return Promise.resolve(q({collection:Nt,index:cr,node:le,isKeySorting:tr},vt)).then(function(){})},function(cr,Vr){if(Oe._awaitingUpdateBeforeSortStart=!1,cr)throw Vr;return Vr});if(zt&&zt.then)return zt.then(function(){})}}();return lt&<.then?lt.then(xt):xt(lt)}}();return Promise.resolve(wt&&wt.then?wt.then(function(){}):void 0)}catch(xt){return Promise.reject(xt)}}),Object(n.a)(Object(a.a)(Object(a.a)(Oe)),"handleSortMove",function(vt){var Ze=Oe.props.onSortMove;typeof vt.preventDefault=="function"&&vt.preventDefault(),Oe.updateHelperPosition(vt),Oe.animateNodes(),Oe.autoscroll(),Ze&&Ze(vt)}),Object(n.a)(Object(a.a)(Object(a.a)(Oe)),"handleSortEnd",function(vt){var Ze=Oe.props,wt=Ze.hideSortableGhost,xt=Ze.onSortEnd,Ot=Oe.manager,Mt=Ot.active.collection,Gt=Ot.isKeySorting,$e=Oe.manager.getOrderedRefs();Oe.listenerNode&&(Gt?(Oe.listenerNode.removeEventListener("wheel",Oe.handleKeyEnd,!0),Oe.listenerNode.removeEventListener("mousedown",Oe.handleKeyEnd,!0),Oe.listenerNode.removeEventListener("keydown",Oe.handleKeyDown)):(T.move.forEach(function(le){return Oe.listenerNode.removeEventListener(le,Oe.handleSortMove)}),T.end.forEach(function(le){return Oe.listenerNode.removeEventListener(le,Oe.handleSortEnd)}))),Oe.helper.parentNode.removeChild(Oe.helper),wt&&Oe.sortableGhost&&x(Oe.sortableGhost,{opacity:"",visibility:""});for(var pe=0,q=$e.length;pewt)return;Oe.prevIndex=Ot,Oe.newIndex=xt;var Mt=K(Oe.newIndex,Oe.prevIndex,Oe.index),Gt=Ze.find(function(tr){var lt=tr.node;return lt.sortableInfo.index===Mt}),$e=Gt.node,pe=Oe.containerScrollDelta,q=Gt.boundingClientRect||z($e,pe),bt=Gt.translate||{x:0,y:0},qe={top:q.top+bt.y-pe.top,left:q.left+bt.x-pe.left},le=Ottr?tr/2:this.height/2,width:this.width>Nt?Nt/2:this.width/2},zt=$e&&le>this.index&&le<=pe,cr=$e&&le=pe,Vr={x:0,y:0},ur=Mt[q].edgeOffset;ur||(ur=k(qe,this.container),Mt[q].edgeOffset=ur,$e&&(Mt[q].boundingClientRect=z(qe,xt)));var ir=q0&&Mt[q-1];if(ir&&!ir.edgeOffset&&(ir.edgeOffset=k(ir.node,this.container),$e&&(ir.boundingClientRect=z(ir.node,xt))),le===this.index){Ze&&(this.sortableGhost=qe,x(qe,{opacity:0,visibility:"hidden"}));continue}vt&&I(qe,vt),this.axis.x?this.axis.y?cr||lethis.containerBoundingRect.width-lt.width&&(ir&&(Vr.x=ir.edgeOffset.left-ur.left,Vr.y=ir.edgeOffset.top-ur.top)),this.newIndex===null&&(this.newIndex=le)):(zt||le>this.index&&(Gt.left+Ot.left+lt.width>=ur.left&&Gt.top+Ot.top+lt.height>=ur.top||Gt.top+Ot.top+lt.height>=ur.top+tr))&&(Vr.x=-(this.width+this.marginOffset.x),ur.left+Vr.xthis.index&&Gt.left+Ot.left+lt.width>=ur.left?(Vr.x=-(this.width+this.marginOffset.x),this.newIndex=le):(cr||lethis.index&&Gt.top+Ot.top+lt.height>=ur.top?(Vr.y=-(this.height+this.marginOffset.y),this.newIndex=le):(cr||le1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return ye=se=function(Ye){Object(c.a)(pt,Ye);function pt(){return Object(m.a)(this,pt),Object(f.a)(this,Object(d.a)(pt).apply(this,arguments))}return Object(g.a)(pt,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(Oe){this.node&&(Oe.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),Oe.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),Oe.collection!==this.props.collection&&(this.unregister(Oe.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var Oe=this.props,vt=Oe.collection,Ze=Oe.disabled,wt=Oe.index,xt=Object(e.findDOMNode)(this);xt.sortableInfo={collection:vt,disabled:Ze,index:wt,manager:this.context.manager},this.node=xt,this.ref={node:xt},this.context.manager.add(vt,this.ref)}},{key:"unregister",value:function(){var Oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.collection;this.context.manager.remove(Oe,this.ref)}},{key:"getWrappedInstance",value:function(){return h()(xe.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var Oe=xe.withRef?"wrappedInstance":null;return Object(i.createElement)(Ie,Object(y.a)({ref:Oe},E(this.props,Te)))}}]),pt}(i.Component),Object(n.a)(se,"displayName",H("sortableElement",Ie)),Object(n.a)(se,"contextTypes",{manager:l.a.object.isRequired}),Object(n.a)(se,"propTypes",ke),Object(n.a)(se,"defaultProps",{collection:0}),ye}},YNAk:function(R,N,t){"use strict";var y=t("284h"),p=t("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=p(t("3tO9")),m=y(t("q1tI")),g=p(t("QyFq")),f=p(t("KQxl")),d=function(n,i){return m.createElement(f.default,(0,S.default)((0,S.default)({},n),{},{ref:i,icon:g.default}))};d.displayName="CaretDownFilled";var c=m.forwardRef(d);N.default=c},YNf1:function(R,N,t){var y=t("IwbS"),p=t("6Ic6"),S=.3,m=p.extend({type:"parallel",init:function(){this._dataGroup=new y.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(o,r,l,e){var s=this._dataGroup,u=o.getData(),h=this._data,A=o.coordinateSystem,v=A.dimensions,w=c(o);u.diff(h).add(b).update(E).remove(T).execute();function b(x){var C=d(u,s,x,v,A);a(C,u,x,w)}function E(x,C){var I=h.getItemGraphicEl(C),L=f(u,x,v,A);u.setItemGraphicEl(x,I);var F=e&&e.animation===!1?null:o;y.updateProps(I,{shape:{points:L}},F,x),a(I,u,x,w)}function T(x){var C=h.getItemGraphicEl(x);s.remove(C)}if(!this._initialized){this._initialized=!0;var _=g(A,o,function(){setTimeout(function(){s.removeClipPath()})});s.setClipPath(_)}this._data=u},incrementalPrepareRender:function(o,r,l){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(o,r,l){for(var e=r.getData(),s=r.coordinateSystem,u=s.dimensions,h=c(r),A=o.start;A65535?h:v}function b(W){var X=W.constructor;return X===Array?W.slice():new X(W)}var E=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],T=["_extent","_approximateExtent","_rawExtent"];function _(W,X){S.each(E.concat(X.__wrappedMethods||[]),function(J){X.hasOwnProperty(J)&&(W[J]=X[J])}),W.__wrappedMethods=X.__wrappedMethods,S.each(T,function(J){W[J]=S.clone(X[J])}),W._calculationInfo=S.extend(X._calculationInfo)}var x=function(W,X){W=W||["x","y"];for(var J={},de=[],G={},ae=0;aeTe[1]&&(Te[1]=ke)}X&&(this._nameList[Ge]=X[Ee])}this._rawCount=this._count=Me,this._extent={},L(this)},C._initDataFromProvider=function(W,X){if(W>=X)return;for(var J=this._chunkSize,de=this._rawData,G=this._storage,ae=this.dimensions,Ae=ae.length,me=this._dimensionInfos,Me=this._nameList,oe=this._idList,_e=this._rawExtent,ee=this._nameRepeatCount={},ne,Ge=this._chunkCount,Ee=0;Eexe[1]&&(xe[1]=ye)}if(!de.pure){var Ye=Me[ke];if(ce&&Ye==null){if(ce.name!=null)Me[ke]=Ye=ce.name;else if(ne!=null){var pt=ae[ne],nt=G[pt][Te];if(nt){Ye=nt[Ke];var Oe=me[pt].ordinalMeta;Oe&&Oe.categories.length&&(Ye=Oe.categories[Ye])}}}var vt=ce==null?null:ce.id;vt==null&&Ye!=null&&(ee[Ye]=ee[Ye]||0,vt=Ye,ee[Ye]>0&&(vt+="__ec__"+ee[Ye]),ee[Ye]++),vt!=null&&(oe[ke]=vt)}}!de.persistent&&de.clean&&de.clean(),this._rawCount=this._count=X,this._extent={},L(this)};function I(W,X,J,de,G){var ae=u[X.type],Ae=de-1,me=X.name,Me=W[me][Ae];if(Me&&Me.length=0&&X=0&&Xme&&(me=oe)}return ae=[Ae,me],this._extent[W]=ae,ae},C.getApproximateExtent=function(W){return W=this.getDimension(W),this._approximateExtent[W]||this.getDataExtent(W)},C.setApproximateExtent=function(W,X){X=this.getDimension(X),this._approximateExtent[X]=W.slice()},C.getCalculationInfo=function(W){return this._calculationInfo[W]},C.setCalculationInfo=function(W,X){r(W)?S.extend(this._calculationInfo,W):this._calculationInfo[W]=X},C.getSum=function(W){var X=this._storage[W],J=0;if(X)for(var de=0,G=this.count();de=this._rawCount||W<0)return-1;if(!this._indices)return W;var X=this._indices,J=X[W];if(J!=null&&JW)G=ae-1;else return ae}return-1},C.indicesOfNearest=function(W,X,J){var de=this._storage,G=de[W],ae=[];if(!G)return ae;J==null&&(J=Infinity);for(var Ae=Infinity,me=-1,Me=0,oe=0,_e=this.count();oe<_e;oe++){var ee=X-this.get(W,oe),ne=Math.abs(ee);ne<=J&&((ne=0&&me<0)&&(Ae=ne,me=ee,Me=0),ee===me&&(ae[Me++]=oe))}return ae.length=Me,ae},C.getRawIndex=B;function B(W){return W}function P(W){return W=0?this._indices[W]:-1}C.getRawDataItem=function(W){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(W));for(var X=[],J=0;J=oe&&ke<=_e||isNaN(ke))&&(Ae[me++]=ne),ne++}ee=!0}else if(de===2){for(var Ge=this._storage[Me],Te=this._storage[X[1]],Ke=W[X[1]][0],Ie=W[X[1]][1],Ee=0;Ee=oe&&ke<=_e||isNaN(ke))&&(ye>=Ke&&ye<=Ie||isNaN(ye))&&(Ae[me++]=ne),ne++}ee=!0}}if(!ee)if(de===1)for(var ce=0;ce=oe&&ke<=_e||isNaN(ke))&&(Ae[me++]=xe)}else for(var ce=0;ceW[pt][1])&&(Ye=!1)}Ye&&(Ae[me++]=this.getRawIndex(ce))}return me=0?(G[me]=k(ae[me]),de._rawExtent[me]=K(),de._extent[me]=null):G[me]=ae[me])}return de}function k(W){for(var X=new Array(W.length),J=0;JIe[1]&&(Ie[1]=Ke)}}}return G},C.downSample=function(W,X,J,de){for(var G=U(this,[W]),ae=G._storage,Ae=[],me=Math.floor(1/X),Me=ae[W],oe=this.count(),_e=this._chunkSize,ee=G._rawExtent[W],ne=new(w(this))(oe),Ge=0,Ee=0;Eeoe-Ee&&(me=oe-Ee,Ae.length=me);for(var ue=0;ueee[1]&&(ee[1]=Te),ne[Ge++]=Ke}return G._count=Ge,G._indices=ne,G.getRawIndex=P,G},C.getItemModel=function(W){var X=this.hostModel;return new m(this.getRawDataItem(W),X,X&&X.ecModel)},C.diff=function(W){var X=this;return new g(W?W.getIndices():[],this.getIndices(),function(J){return H(W,J)},function(J){return H(X,J)})},C.getVisual=function(W){var X=this._visual;return X&&X[W]},C.setVisual=function(W,X){if(r(W)){for(var J in W)W.hasOwnProperty(J)&&this.setVisual(J,W[J]);return}this._visual=this._visual||{},this._visual[W]=X},C.setLayout=function(W,X){if(r(W)){for(var J in W)W.hasOwnProperty(J)&&this.setLayout(J,W[J]);return}this._layout[W]=X},C.getLayout=function(W){return this._layout[W]},C.getItemLayout=function(W){return this._itemLayouts[W]},C.setItemLayout=function(W,X,J){this._itemLayouts[W]=J?S.extend(this._itemLayouts[W]||{},X):X},C.clearItemLayouts=function(){this._itemLayouts.length=0},C.getItemVisual=function(W,X,J){var de=this._itemVisuals[W],G=de&&de[X];return G==null&&!J?this.getVisual(X):G},C.setItemVisual=function(W,X,J){var de=this._itemVisuals[W]||{},G=this.hasItemVisual;if(this._itemVisuals[W]=de,r(X)){for(var ae in X)X.hasOwnProperty(ae)&&(de[ae]=X[ae],G[ae]=!0);return}de[X]=J,G[X]=!0},C.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var j=function(W){W.seriesIndex=this.seriesIndex,W.dataIndex=this.dataIndex,W.dataType=this.dataType};C.setItemGraphicEl=function(W,X){var J=this.hostModel;X&&(X.dataIndex=W,X.dataType=this.dataType,X.seriesIndex=J&&J.seriesIndex,X.type==="group"&&X.traverse(j,X)),this._graphicEls[W]=X},C.getItemGraphicEl=function(W){return this._graphicEls[W]},C.eachItemGraphicEl=function(W,X){S.each(this._graphicEls,function(J,de){J&&(W&&W.call(X,J,de))})},C.cloneShallow=function(W){if(!W){var X=S.map(this.dimensions,this.getDimensionInfo,this);W=new x(X,this.hostModel)}if(W._storage=this._storage,_(W,this),this._indices){var J=this._indices.constructor;W._indices=new J(this._indices)}else W._indices=null;return W.getRawIndex=W._indices?P:B,W},C.wrapMethod=function(W,X){var J=this[W];if(typeof J!="function")return;this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(W),this[W]=function(){var de=J.apply(this,arguments);return X.apply(this,[de].concat(S.slice(arguments)))}},C.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],C.CHANGABLE_METHODS=["filterSelf","selectRange"];var V=x;R.exports=V},YgsL:function(R,N,t){var y=t("QBsz"),p=y.distance;function S(g,f,d,c,a,n,i){var o=(d-g)*.5,r=(c-f)*.5;return(2*(f-d)+o+r)*i+(-3*(f-d)-2*o-r)*n+o*a+f}function m(g,f){for(var d=g.length,c=[],a=0,n=1;nd-2?d-1:r+1],h=g[r>d-3?d-1:r+2]);var A=l*l,v=l*A;c.push([S(e[0],s[0],u[0],h[0],l,A,v),S(e[1],s[1],u[1],h[1],l,A,v)])}return c}R.exports=m},Yl7c:function(R,N,t){var y=t("Tghj"),p=y.__DEV__,S=t("bYtY"),m=".",g="___EC__COMPONENT__CONTAINER___";function f(e){var s={main:"",sub:""};return e&&(e=e.split(m),s.main=e[0]||"",s.sub=e[1]||""),s}function d(e){S.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(e),'componentType "'+e+'" illegal')}function c(e,s){e.$constructor=e,e.extend=function(u){var h=this,A=function(){u.$constructor?u.$constructor.apply(this,arguments):h.apply(this,arguments)};return S.extend(A.prototype,u),A.extend=this.extend,A.superCall=i,A.superApply=o,S.inherits(A,this),A.superClass=h,A}}var a=0;function n(e){var s=["__\0is_clz",a++,Math.random().toFixed(3)].join("_");e.prototype[s]=!0,e.isInstance=function(u){return!!(u&&u[s])}}function i(e,s){var u=S.slice(arguments,2);return this.superClass.prototype[s].apply(e,u)}function o(e,s,u){return this.superClass.prototype[s].apply(e,u)}function r(e,s){s=s||{};var u={};e.registerClass=function(v,w){if(w){if(d(w),w=f(w),!w.sub)u[w.main]=v;else if(w.sub!==g){var b=h(w);b[w.sub]=v}}return v},e.getClass=function(v,w,b){var E=u[v];if(E&&E[g]&&(E=w?E[w]:null),b&&!E)throw new Error(w?"Component "+v+"."+(w||"")+" not exists. Load it first.":v+".type should be specified.");return E},e.getClassesByMainType=function(v){v=f(v);var w=[],b=u[v.main];return b&&b[g]?S.each(b,function(E,T){T!==g&&w.push(E)}):w.push(b),w},e.hasClass=function(v){return v=f(v),!!u[v.main]},e.getAllClassMainTypes=function(){var v=[];return S.each(u,function(w,b){v.push(b)}),v},e.hasSubTypes=function(v){v=f(v);var w=u[v.main];return w&&w[g]},e.parseClassType=f;function h(v){var w=u[v.main];return(!w||!w[g])&&(w=u[v.main]={},w[g]=!0),w}if(s.registerWhenExtend){var A=e.extend;A&&(e.extend=function(v){var w=A.call(this,v);return e.registerClass(w,v.type)})}return e}function l(e,s){}N.parseClassType=f,N.enableClassExtend=c,N.enableClassCheck=n,N.enableClassManagement=r,N.setReadOnly=l},Ynxi:function(R,N,t){var y=t("bYtY"),p=t("ProS"),S=t("IwbS"),m=t("+TT/"),g=m.getLayoutRect,f=t("7aKB"),d=f.windowOpen;p.extendComponentModel({type:"title",layoutMode:{type:"box",ignoreSize:!0},defaultOption:{zlevel:0,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:"bolder",color:"#333"},subtextStyle:{color:"#aaa"}}}),p.extendComponentView({type:"title",render:function(c,a,n){if(this.group.removeAll(),!c.get("show"))return;var i=this.group,o=c.getModel("textStyle"),r=c.getModel("subtextStyle"),l=c.get("textAlign"),e=y.retrieve2(c.get("textBaseline"),c.get("textVerticalAlign")),s=new S.Text({style:S.setTextStyle({},o,{text:c.get("text"),textFill:o.getTextColor()},{disableBox:!0}),z2:10}),u=s.getBoundingRect(),h=c.get("subtext"),A=new S.Text({style:S.setTextStyle({},r,{text:h,textFill:r.getTextColor(),y:u.height+c.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),v=c.get("link"),w=c.get("sublink"),b=c.get("triggerEvent",!0);s.silent=!v&&!b,A.silent=!w&&!b,v&&s.on("click",function(){d(v,"_"+c.get("target"))}),w&&A.on("click",function(){d(v,"_"+c.get("subtarget"))}),s.eventData=A.eventData=b?{componentType:"title",componentIndex:c.componentIndex}:null,i.add(s),h&&i.add(A);var E=i.getBoundingRect(),T=c.getBoxLayoutParams();T.width=E.width,T.height=E.height;var _=g(T,{width:n.getWidth(),height:n.getHeight()},c.get("padding"));l||(l=c.get("left")||c.get("right"),l==="middle"&&(l="center"),l==="right"?_.x+=_.width:l==="center"&&(_.x+=_.width/2)),e||(e=c.get("top")||c.get("bottom"),e==="center"&&(e="middle"),e==="bottom"?_.y+=_.height:e==="middle"&&(_.y+=_.height/2),e=e||"top"),i.attr("position",[_.x,_.y]);var x={textAlign:l,textVerticalAlign:e};s.setStyle(x),A.setStyle(x),E=i.getBoundingRect();var C=_.margin,I=c.getItemStyle(["color","opacity"]);I.fill=c.get("backgroundColor");var L=new S.Rect({shape:{x:E.x-C[3],y:E.y-C[0],width:E.width+C[1]+C[3],height:E.height+C[0]+C[2],r:c.get("borderRadius")},style:I,subPixelOptimize:!0,silent:!0});i.add(L)}})},Ywus:function(R,N,t){"use strict";var y=t("284h"),p=t("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=p(t("3tO9")),m=y(t("q1tI")),g=p(t("DO2E")),f=p(t("KQxl")),d=function(n,i){return m.createElement(f.default,(0,S.default)((0,S.default)({},n),{},{ref:i,icon:g.default}))};d.displayName="DeleteOutlined";var c=m.forwardRef(d);N.default=c},Z0Lh:function(R,N,t){"use strict";var y=t("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var p=y(t("pVnL")),S=y(t("HjOm")),m=y(t("Z6rY")),g={lang:(0,p.default)({placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",yearPlaceholder:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarterPlaceholder:"\u8BF7\u9009\u62E9\u5B63\u5EA6",monthPlaceholder:"\u8BF7\u9009\u62E9\u6708\u4EFD",weekPlaceholder:"\u8BF7\u9009\u62E9\u5468",rangePlaceholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"],rangeYearPlaceholder:["\u5F00\u59CB\u5E74\u4EFD","\u7ED3\u675F\u5E74\u4EFD"],rangeMonthPlaceholder:["\u5F00\u59CB\u6708\u4EFD","\u7ED3\u675F\u6708\u4EFD"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"]},S.default),timePickerLocale:(0,p.default)({},m.default)};g.lang.ok="\u786E \u5B9A";var f=g;N.default=f},Z1HP:function(R,N,t){var y=t("ycre"),p=t("quyA"),S=t("q4HE");function m(g){return p(g)?S(g):y(g)}R.exports=m},Z1r0:function(R,N){function t(y){var p=y.findComponents({mainType:"legend"});if(!p||!p.length)return;y.eachSeriesByType("graph",function(S){var m=S.getCategoriesData(),g=S.getGraph(),f=g.data,d=m.mapArray(m.getName);f.filterSelf(function(c){var a=f.getItemModel(c),n=a.getShallow("category");if(n!=null){typeof n=="number"&&(n=d[n]);for(var i=0;i0?1:-1,G=X.height>0?1:-1;return{x:X.x+de*J/2,y:X.y+G*J/2,width:X.width-de*J,height:X.height-G*J}},polar:function(j,V,W){var X=j.getItemLayout(V);return{cx:X.cx,cy:X.cy,r0:X.r0,r:X.r,startAngle:X.startAngle,endAngle:X.endAngle}}};function I(j){return j.startAngle!=null&&j.endAngle!=null&&j.startAngle===j.endAngle}function L(j,V,W,X,J,de,G,ae){var Ae=V.getItemVisual(W,"color"),me=V.getItemVisual(W,"opacity"),Me=V.getVisual("borderColor"),oe=X.getModel("itemStyle"),_e=X.getModel("emphasis.itemStyle").getBarItemStyle();ae||j.setShape("r",oe.get("barBorderRadius")||0),j.useStyle(m.defaults({stroke:I(J)?"none":Me,fill:I(J)?"none":Ae,opacity:me},oe.getBarItemStyle()));var ee=X.getShallow("cursor");ee&&j.attr("cursor",ee);var ne=G?J.height>0?"bottom":"top":J.width>0?"left":"right";ae||d(j.style,_e,X,Ae,de,W,ne),I(J)&&(_e.fill=_e.stroke="none"),g.setHoverStyle(j,_e)}function F(j,V){var W=j.get(u)||0,X=isNaN(V.width)?Number.MAX_VALUE:Math.abs(V.width),J=isNaN(V.height)?Number.MAX_VALUE:Math.abs(V.height);return Math.min(W,X,J)}var B=n.extend({type:"largeBar",shape:{points:[]},buildPath:function(j,V){for(var W=V.points,X=this.__startPoint,J=this.__baseDimIdx,de=0;de=0?W:null},30,!1);function z(j,V,W){var X=j.__baseDimIdx,J=1-X,de=j.shape.points,G=j.__largeDataIndices,ae=Math.abs(j.__barWidth/2),Ae=j.__startPoint[J];h[0]=V,h[1]=W;for(var me=h[X],Me=h[1-X],oe=me-ae,_e=me+ae,ee=0,ne=de.length/2;ee=oe&&Ee<=_e&&(Ae<=ue?Me>=Ae&&Me<=ue:Me>=ue&&Me<=Ae))return G[ee]}return-1}function M(j,V,W){var X=W.getVisual("borderColor")||W.getVisual("color"),J=V.getModel("itemStyle").getItemStyle(["color","borderColor"]);j.useStyle(J),j.style.fill=null,j.style.stroke=X,j.style.lineWidth=W.getLayout("barWidth")}function U(j,V,W){var X=V.get("borderColor")||V.get("color"),J=V.getItemStyle(["color","borderColor"]);j.useStyle(J),j.style.fill=null,j.style.stroke=X,j.style.lineWidth=W.getLayout("barWidth")}function k(j,V,W){var X,J=W.type==="polar";return J?X=W.getArea():X=W.grid.getRect(),J?{cx:X.cx,cy:X.cy,r0:j?X.r0:V.r0,r:j?X.r:V.r,startAngle:j?V.startAngle:0,endAngle:j?V.endAngle:Math.PI*2}:{x:j?V.x:X.x,y:j?X.y:V.y,width:j?V.width:X.width,height:j?X.height:V.height}}function K(j,V,W){var X=j.type==="polar"?g.Sector:g.Rect;return new X({shape:k(V,W,j),silent:!0,z2:0})}R.exports=v},ZCgT:function(R,N,t){var y=t("tLB3"),p=1/0,S=17976931348623157e292;function m(g){if(!g)return g===0?g:0;if(g=y(g),g===p||g===-p){var f=g<0?-1:1;return f*S}return g===g?g:0}R.exports=m},ZLWo:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"};N.default=y},ZMnZ:function(R,N,t){"use strict";var y=t("284h"),p=t("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=p(t("3tO9")),m=y(t("q1tI")),g=p(t("2oIt")),f=p(t("KQxl")),d=function(n,i){return m.createElement(f.default,(0,S.default)((0,S.default)({},n),{},{ref:i,icon:g.default}))};d.displayName="UpOutlined";var c=m.forwardRef(d);N.default=c},ZTPi:function(R,N,t){"use strict";var y=t("pVnL"),p=t.n(y),S=t("lSNA"),m=t.n(S),g=t("q1tI"),f=t("rePB"),d=t("ODXe"),c=t("Ff2n"),a=t("VTBJ"),n=t("TSYQ"),i=t.n(n),o=t("Zm9Q"),r=t("6cGi"),l=t("KQm4"),e=t("xEkU"),s=t.n(e),u=t("t23M");function h(pr){var Dr=Object(g.useRef)(),Qr=Object(g.useRef)(!1);function Nr(){for(var Xt=arguments.length,xr=new Array(Xt),er=0;ervn&&($n=vn-Qn),Object(g.useMemo)(function(){if(!xr.length)return[0,0];for(var wi=xr.length,ra=wi,ua=0;uasn+$n){ra=ua-1;break}}for(var sa=0,fa=wi-1;fa>=0;fa-=1){var Wi=pr.get(xr[fa].key)||_;if(Wi[pn]1&&arguments[1]!==void 0?arguments[1]:!1,Nr=Dr&&typeof Dr.getBoundingClientRect=="function"&&Dr.getBoundingClientRect().width;if(Nr){if(Qr){var Xt=getComputedStyle(Dr),xr=Xt.marginLeft,er=Xt.marginRight;Nr+=+xr.replace("px","")+ +er.replace("px","")}Nr=+Nr.toFixed(6)}return Nr||0},ye=function(Dr,Qr,Nr){Dr&&Object(K.a)(Dr.style)==="object"&&(Dr.style[Qr]=Nr)},xe=function(){return ue.any},Ye=t("bdgK"),pt=t("i8i4"),nt=t.n(pt),Oe=t("wgJM"),vt=t("l4aY"),Ze=t("m+aA"),wt=t("c+Xe"),xt=t("zT1h"),Ot=t("QC+M");function Mt(pr,Dr,Qr){return Qr?pr[0]===Dr[0]:pr[0]===Dr[0]&&pr[1]===Dr[1]}function Gt(pr,Dr,Qr){var Nr=pr[Dr]||{};return Object(a.a)(Object(a.a)({},Nr),Qr)}function $e(pr,Dr,Qr,Nr){for(var Xt=Qr.points,xr=Object.keys(pr),er=0;er1&&arguments[1]!==void 0?arguments[1]:2;Dr();var xr=Object(Oe.a)(function(){Xt<=1?Nr({isCanceled:function(){return xr!==pr.current}}):Qr(Nr,Xt-1)});pr.current=xr}return g.useEffect(function(){return function(){Dr()}},[]),[Qr,Dr]},rt=[An,Zr,Ln,Je],Kt=!1,Pt=!0;function Vt(pr){return pr===Ln||pr===Je}var Mr=function(pr,Dr){var Qr=g.useState(fr),Nr=Object(d.a)(Qr,2),Xt=Nr[0],xr=Nr[1],er=Ue(),jr=Object(d.a)(er,2),Ur=jr[0],pn=jr[1];function sn(){xr(An)}return Le(function(){if(Xt!==fr&&Xt!==Je){var vn=rt.indexOf(Xt),Un=rt[vn+1],Qn=Dr(Xt);Qn===Kt?xr(Un):Ur(function($n){function wi(){if($n.isCanceled())return;xr(Un)}Qn===!0?wi():Promise.resolve(Qn).then(wi)})}},[pr,Xt]),g.useEffect(function(){return function(){pn()}},[]),[sn,Xt]},Pr=function(pr){var Dr=Object(g.useRef)(),Qr=Object(g.useRef)(pr);Qr.current=pr;var Nr=g.useCallback(function(er){Qr.current(er)},[]);function Xt(er){er&&(er.removeEventListener(Lt,Nr),er.removeEventListener(ir,Nr))}function xr(er){Dr.current&&Dr.current!==er&&Xt(Dr.current),er&&er!==Dr.current&&(er.addEventListener(Lt,Nr),er.addEventListener(ir,Nr),Dr.current=er)}return g.useEffect(function(){return function(){Xt(Dr.current)}},[]),[xr,Xt]};function un(pr,Dr,Qr,Nr){var Xt=Nr.motionEnter,xr=Xt===void 0?!0:Xt,er=Nr.motionAppear,jr=er===void 0?!0:er,Ur=Nr.motionLeave,pn=Ur===void 0?!0:Ur,sn=Nr.motionDeadline,vn=Nr.motionLeaveImmediately,Un=Nr.onAppearPrepare,Qn=Nr.onEnterPrepare,$n=Nr.onLeavePrepare,wi=Nr.onAppearStart,ra=Nr.onEnterStart,ua=Nr.onLeaveStart,da=Nr.onAppearActive,sa=Nr.onEnterActive,fa=Nr.onLeaveActive,Wi=Nr.onAppearEnd,Di=Nr.onEnterEnd,na=Nr.onLeaveEnd,Zi=Nr.onVisibleChanged,ba=et(),Ta=Object(d.a)(ba,2),$i=Ta[0],Vi=Ta[1],La=et(Xe),ga=Object(d.a)(La,2),Ti=ga[0],Ea=ga[1],Da=et(null),Na=Object(d.a)(Da,2),Pa=Na[0],Ha=Na[1],za=Object(g.useRef)(!1),wa=Object(g.useRef)(null),Ka=Object(g.useRef)(!1),ao=Object(g.useRef)(null);function ea(){var Za=Qr();return Za||ao.current}var lo=Object(g.useRef)(!1);function Ya(Za){var Ca=ea();if(Za&&!Za.deadline&&Za.target!==Ca)return;var no;Ti===$t&&lo.current?no=Wi==null?void 0:Wi(Ca,Za):Ti===Sr&&lo.current?no=Di==null?void 0:Di(Ca,Za):Ti===vr&&lo.current&&(no=na==null?void 0:na(Ca,Za)),no!==!1&&!Ka.current&&(Ea(Xe),Ha(null))}var Sa=Pr(Ya),Ja=Object(d.a)(Sa,1),Ma=Ja[0],ka=g.useMemo(function(){var Za,Ca,no;switch(Ti){case"appear":return Za={},Object(f.a)(Za,An,Un),Object(f.a)(Za,Zr,wi),Object(f.a)(Za,Ln,da),Za;case"enter":return Ca={},Object(f.a)(Ca,An,Qn),Object(f.a)(Ca,Zr,ra),Object(f.a)(Ca,Ln,sa),Ca;case"leave":return no={},Object(f.a)(no,An,$n),Object(f.a)(no,Zr,ua),Object(f.a)(no,Ln,fa),no;default:return{}}},[Ti]),yo=Mr(Ti,function(Za){if(Za===An){var Ca=ka[An];return Ca?Ca(ea()):Kt}if(co in ka){var no;Ha(((no=ka[co])===null||no===void 0?void 0:no.call(ka,ea(),null))||null)}return co===Ln&&(Ma(ea()),sn>0&&(clearTimeout(wa.current),wa.current=setTimeout(function(){Ya({deadline:!0})},sn))),Pt}),to=Object(d.a)(yo,2),_o=to[0],co=to[1],uo=Vt(co);lo.current=uo,Le(function(){Vi(Dr);var Za=za.current;if(za.current=!0,!pr)return;var Ca;!Za&&Dr&&jr&&(Ca=$t),Za&&Dr&&xr&&(Ca=Sr),(Za&&!Dr&&pn||!Za&&vn&&!Dr&&pn)&&(Ca=vr),Ca&&(Ea(Ca),_o())},[Dr]),Object(g.useEffect)(function(){(Ti===$t&&!jr||Ti===Sr&&!xr||Ti===vr&&!pn)&&Ea(Xe)},[jr,xr,pn]),Object(g.useEffect)(function(){return function(){clearTimeout(wa.current),Ka.current=!0}},[]),Object(g.useEffect)(function(){$i!==void 0&&Ti===Xe&&(Zi==null||Zi($i))},[$i,Ti]);var Qa=Pa;return ka[An]&&co===Zr&&(Qa=Object(a.a)({transition:"none"},Qa)),[Ti,co,Qa,$i!=null?$i:Dr]}var Ut=function(pr){Object(B.a)(Qr,pr);var Dr=Object(P.a)(Qr);function Qr(){return Object(I.a)(this,Qr),Dr.apply(this,arguments)}return Object(L.a)(Qr,[{key:"render",value:function(){return this.props.children}}]),Qr}(g.Component),dt=Ut;function st(pr){var Dr=pr;Object(K.a)(pr)==="object"&&(Dr=pr.transitionSupport);function Qr(Xt){return!!(Xt.motionName&&Dr)}var Nr=g.forwardRef(function(Xt,xr){var er=Xt.visible,jr=er===void 0?!0:er,Ur=Xt.removeOnLeave,pn=Ur===void 0?!0:Ur,sn=Xt.forceRender,vn=Xt.children,Un=Xt.motionName,Qn=Xt.leavedClassName,$n=Xt.eventProps,wi=Qr(Xt),ra=Object(g.useRef)(),ua=Object(g.useRef)();function da(){try{return Object(Ze.a)(ra.current||ua.current)}catch(Ea){return null}}var sa=un(wi,jr,da,Xt),fa=Object(d.a)(sa,4),Wi=fa[0],Di=fa[1],na=fa[2],Zi=fa[3],ba=g.useRef(Zi);Zi&&(ba.current=!0);var Ta=Object(g.useRef)(xr);Ta.current=xr;var $i=g.useCallback(function(Ea){ra.current=Ea,Object(wt.b)(Ta.current,Ea)},[]),Vi,La=Object(a.a)(Object(a.a)({},$n),{},{visible:jr});if(!vn)Vi=null;else if(Wi===Xe||!Qr(Xt))Zi?Vi=vn(Object(a.a)({},La),$i):!pn&&ba.current?Vi=vn(Object(a.a)(Object(a.a)({},La),{},{className:Qn}),$i):sn?Vi=vn(Object(a.a)(Object(a.a)({},La),{},{style:{display:"none"}}),$i):Vi=null;else{var ga,Ti;Di===An?Ti="prepare":Vt(Di)?Ti="active":Di===Zr&&(Ti="start"),Vi=vn(Object(a.a)(Object(a.a)({},La),{},{className:i()(at(Un,Wi),(ga={},Object(f.a)(ga,at(Un,"".concat(Wi,"-").concat(Ti)),Ti),Object(f.a)(ga,Un,typeof Un=="string"),ga)),style:na}),$i)}return g.createElement(dt,{ref:ua},Vi)});return Nr.displayName="CSSMotion",Nr}var Qt=st(ur),Jt="add",gt="keep",Ft="remove",mt="removed";function kt(pr){var Dr;return pr&&Object(K.a)(pr)==="object"&&"key"in pr?Dr=pr:Dr={key:pr},Object(a.a)(Object(a.a)({},Dr),{},{key:String(Dr.key)})}function gr(){var pr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return pr.map(kt)}function ar(){var pr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Dr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Qr=[],Nr=0,Xt=Dr.length,xr=gr(pr),er=gr(Dr);xr.forEach(function(pn){for(var sn=!1,vn=Nr;vn1});return Ur.forEach(function(pn){Qr=Qr.filter(function(sn){var vn=sn.key,Un=sn.status;return vn!==pn||Un!==Ft}),Qr.forEach(function(sn){sn.key===pn&&(sn.status=gt)})}),Qr}var lr=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Yr(pr){var Dr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Qt,Qr=function(Nr){Object(B.a)(xr,Nr);var Xt=Object(P.a)(xr);function xr(){var er;return Object(I.a)(this,xr),er=Xt.apply(this,arguments),er.state={keyEntities:[]},er.removeKey=function(jr){er.setState(function(Ur){var pn=Ur.keyEntities;return{keyEntities:pn.map(function(sn){return sn.key!==jr?sn:Object(a.a)(Object(a.a)({},sn),{},{status:mt})})}})},er}return Object(L.a)(xr,[{key:"render",value:function(){var jr=this,Ur=this.state.keyEntities,pn=this.props,sn=pn.component,vn=pn.children,Un=pn.onVisibleChanged,Qn=Object(c.a)(pn,["component","children","onVisibleChanged"]),$n=sn||g.Fragment,wi={};return lr.forEach(function(ra){wi[ra]=Qn[ra],delete Qn[ra]}),delete Qn.keys,g.createElement($n,Qn,Ur.map(function(ra){var ua=ra.status,da=Object(c.a)(ra,["status"]),sa=ua===Jt||ua===gt;return g.createElement(Dr,Object(C.a)({},wi,{key:da.key,visible:sa,eventProps:da,onVisibleChanged:function(Wi){Un==null||Un(Wi,{key:da.key}),Wi||jr.removeKey(da.key)}}),vn)}))}}],[{key:"getDerivedStateFromProps",value:function(jr,Ur){var pn=jr.keys,sn=Ur.keyEntities,vn=gr(pn),Un=ar(sn,vn);return{keyEntities:Un.filter(function(Qn){var $n=sn.find(function(wi){var ra=wi.key;return Qn.key===ra});return!($n&&$n.status===mt&&Qn.status===Ft)})}}}]),xr}(g.Component);return Qr.defaultProps={component:"div"},Qr}var Jr=Yr(ur),Tn=Qt;function Dn(pr){var Dr=pr.prefixCls,Qr=pr.motion,Nr=pr.animation,Xt=pr.transitionName;return Qr||(Nr?{motionName:"".concat(Dr,"-").concat(Nr)}:Xt?{motionName:Xt}:null)}function zn(pr){var Dr=pr.prefixCls,Qr=pr.visible,Nr=pr.zIndex,Xt=pr.mask,xr=pr.maskMotion,er=pr.maskAnimation,jr=pr.maskTransitionName;if(!Xt)return null;var Ur={};return(xr||jr||er)&&(Ur=Object(a.a)({motionAppear:!0},Dn({motion:xr,prefixCls:Dr,transitionName:jr,animation:er}))),g.createElement(Tn,Object(C.a)({},Ur,{visible:Qr,removeOnLeave:!0}),function(pn){var sn=pn.className;return g.createElement("div",{style:{zIndex:Nr},className:i()("".concat(Dr,"-mask"),sn)})})}var qn=t("9mu1"),vi=t("o0o1"),Ri=t.n(vi),Ve=t("HaE+"),Se=["measure","align",null,"motion"],Re=function(pr,Dr){var Qr=Object(g.useState)(null),Nr=Object(d.a)(Qr,2),Xt=Nr[0],xr=Nr[1],er=Object(g.useRef)(),jr=Object(g.useRef)(!1);function Ur(vn){jr.current||xr(vn)}function pn(){Oe.a.cancel(er.current)}function sn(vn){pn(),er.current=Object(Oe.a)(function(){Ur(function(Un){switch(Xt){case"align":return"motion";case"motion":return"stable";default:}return Un}),vn==null||vn()})}return Object(g.useEffect)(function(){Ur("measure")},[pr]),Object(g.useEffect)(function(){switch(Xt){case"measure":Dr();break;default:}Xt&&(er.current=Object(Oe.a)(Object(Ve.a)(Ri.a.mark(function vn(){var Un,Qn;return Ri.a.wrap(function(wi){for(;;)switch(wi.prev=wi.next){case 0:Un=Se.indexOf(Xt),Qn=Se[Un+1],Qn&&Un!==-1&&Ur(Qn);case 3:case"end":return wi.stop()}},vn)}))))},[Xt]),Object(g.useEffect)(function(){return function(){jr.current=!0,pn()}},[]),[Xt,sn]},Be=function(pr){var Dr=g.useState({width:0,height:0}),Qr=Object(d.a)(Dr,2),Nr=Qr[0],Xt=Qr[1];function xr(jr){Xt({width:jr.offsetWidth,height:jr.offsetHeight})}var er=g.useMemo(function(){var jr={};if(pr){var Ur=Nr.width,pn=Nr.height;pr.indexOf("height")!==-1&&pn?jr.height=pn:pr.indexOf("minHeight")!==-1&&pn&&(jr.minHeight=pn),pr.indexOf("width")!==-1&&Ur?jr.width=Ur:pr.indexOf("minWidth")!==-1&&Ur&&(jr.minWidth=Ur)}return jr},[pr,Nr]);return[er,xr]},We=g.forwardRef(function(pr,Dr){var Qr=pr.visible,Nr=pr.prefixCls,Xt=pr.className,xr=pr.style,er=pr.children,jr=pr.zIndex,Ur=pr.stretch,pn=pr.destroyPopupOnHide,sn=pr.forceRender,vn=pr.align,Un=pr.point,Qn=pr.getRootDomNode,$n=pr.getClassNameFromAlign,wi=pr.onAlign,ra=pr.onMouseEnter,ua=pr.onMouseLeave,da=pr.onMouseDown,sa=pr.onTouchStart,fa=Object(g.useRef)(),Wi=Object(g.useRef)(),Di=Object(g.useState)(),na=Object(d.a)(Di,2),Zi=na[0],ba=na[1],Ta=Be(Ur),$i=Object(d.a)(Ta,2),Vi=$i[0],La=$i[1];function ga(){Ur&&La(Qn())}var Ti=Re(Qr,ga),Ea=Object(d.a)(Ti,2),Da=Ea[0],Na=Ea[1],Pa=Object(g.useRef)();function Ha(){return Un||Qn}function za(){var Sa;(Sa=fa.current)===null||Sa===void 0||Sa.forceAlign()}function wa(Sa,Ja){var Ma=$n(Ja);Zi!==Ma&&ba(Ma),Da==="align"&&(Zi!==Ma?Promise.resolve().then(function(){za()}):Na(function(){var ka;(ka=Pa.current)===null||ka===void 0||ka.call(Pa)}),wi==null||wi(Sa,Ja))}var Ka=Object(a.a)({},Dn(pr));["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach(function(Sa){var Ja=Ka[Sa];Ka[Sa]=function(Ma,ka){return Na(),Ja==null?void 0:Ja(Ma,ka)}});function ao(){return new Promise(function(Sa){Pa.current=Sa})}g.useEffect(function(){!Ka.motionName&&Da==="motion"&&Na()},[Ka.motionName,Da]),g.useImperativeHandle(Dr,function(){return{forceAlign:za,getElement:function(){return Wi.current}}});var ea=Object(a.a)(Object(a.a)({},Vi),{},{zIndex:jr,opacity:Da==="motion"||Da==="stable"||!Qr?void 0:0,pointerEvents:Da==="stable"?void 0:"none"},xr),lo=!0;(vn==null?void 0:vn.points)&&(Da==="align"||Da==="stable")&&(lo=!1);var Ya=er;return g.Children.count(er)>1&&(Ya=g.createElement("div",{className:"".concat(Nr,"-content")},er)),g.createElement(Tn,Object(C.a)({visible:Qr,ref:Wi,leavedClassName:"".concat(Nr,"-hidden")},Ka,{onAppearPrepare:ao,onEnterPrepare:ao,removeOnLeave:pn,forceRender:sn}),function(Sa,Ja){var Ma=Sa.className,ka=Sa.style,yo=i()(Nr,Xt,Zi,Ma);return g.createElement(qn.a,{target:Ha(),key:"popup",ref:fa,monitorWindowResize:!0,disabled:lo,align:vn,onAlign:wa},g.createElement("div",{ref:Ja,className:yo,onMouseEnter:ra,onMouseLeave:ua,onMouseDownCapture:da,onTouchStartCapture:sa,style:Object(a.a)(Object(a.a)({},ka),ea)},Ya))})});We.displayName="PopupInner";var He=We,Qe=g.forwardRef(function(pr,Dr){var Qr=pr.prefixCls,Nr=pr.visible,Xt=pr.zIndex,xr=pr.children,er=pr.mobile;er=er===void 0?{}:er;var jr=er.popupClassName,Ur=er.popupStyle,pn=er.popupMotion,sn=pn===void 0?{}:pn,vn=er.popupRender,Un=g.useRef();g.useImperativeHandle(Dr,function(){return{forceAlign:function(){},getElement:function(){return Un.current}}});var Qn=Object(a.a)({zIndex:Xt},Ur),$n=xr;return g.Children.count(xr)>1&&($n=g.createElement("div",{className:"".concat(Qr,"-content")},xr)),vn&&($n=vn($n)),g.createElement(Tn,Object(C.a)({visible:Nr,ref:Un,removeOnLeave:!0},sn),function(wi,ra){var ua=wi.className,da=wi.style,sa=i()(Qr,jr,ua);return g.createElement("div",{ref:ra,className:sa,style:Object(a.a)(Object(a.a)({},da),Qn)},$n)})});Qe.displayName="MobilePopupInner";var At=Qe,ot=["visible","mobile"],Bt=g.forwardRef(function(pr,Dr){var Qr=pr.visible,Nr=pr.mobile,Xt=Object(c.a)(pr,ot),xr=Object(g.useState)(Qr),er=Object(d.a)(xr,2),jr=er[0],Ur=er[1],pn=Object(g.useState)(!1),sn=Object(d.a)(pn,2),vn=sn[0],Un=sn[1],Qn=Object(a.a)(Object(a.a)({},Xt),{},{visible:jr});Object(g.useEffect)(function(){Ur(Qr),Qr&&Nr&&Un(pe())},[Qr,Nr]);var $n=vn?g.createElement(At,Object(C.a)({},Qn,{mobile:Nr,ref:Dr})):g.createElement(He,Object(C.a)({},Qn,{ref:Dr}));return g.createElement("div",null,g.createElement(zn,Qn),$n)});Bt.displayName="Popup";var wr=Bt,mr=g.createContext(null),Or=mr;function Ht(){}function cn(){return""}function nr(pr){return pr?pr.ownerDocument:window.document}var Xr=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function Br(pr){var Dr=function(Qr){Object(B.a)(Xt,Qr);var Nr=Object(P.a)(Xt);function Xt(xr){var er;Object(I.a)(this,Xt),er=Nr.call(this,xr),er.popupRef=g.createRef(),er.triggerRef=g.createRef(),er.attachId=void 0,er.clickOutsideHandler=void 0,er.touchOutsideHandler=void 0,er.contextMenuOutsideHandler1=void 0,er.contextMenuOutsideHandler2=void 0,er.mouseDownTimeout=void 0,er.focusTime=void 0,er.preClickTime=void 0,er.preTouchTime=void 0,er.delayTimer=void 0,er.hasPopupMouseDown=void 0,er.onMouseEnter=function(Ur){var pn=er.props.mouseEnterDelay;er.fireEvents("onMouseEnter",Ur),er.delaySetPopupVisible(!0,pn,pn?null:Ur)},er.onMouseMove=function(Ur){er.fireEvents("onMouseMove",Ur),er.setPoint(Ur)},er.onMouseLeave=function(Ur){er.fireEvents("onMouseLeave",Ur),er.delaySetPopupVisible(!1,er.props.mouseLeaveDelay)},er.onPopupMouseEnter=function(){er.clearDelayTimer()},er.onPopupMouseLeave=function(Ur){var pn;if(Ur.relatedTarget&&!Ur.relatedTarget.setTimeout&&Object(vt.a)((pn=er.popupRef.current)===null||pn===void 0?void 0:pn.getElement(),Ur.relatedTarget))return;er.delaySetPopupVisible(!1,er.props.mouseLeaveDelay)},er.onFocus=function(Ur){er.fireEvents("onFocus",Ur),er.clearDelayTimer(),er.isFocusToShow()&&(er.focusTime=Date.now(),er.delaySetPopupVisible(!0,er.props.focusDelay))},er.onMouseDown=function(Ur){er.fireEvents("onMouseDown",Ur),er.preClickTime=Date.now()},er.onTouchStart=function(Ur){er.fireEvents("onTouchStart",Ur),er.preTouchTime=Date.now()},er.onBlur=function(Ur){er.fireEvents("onBlur",Ur),er.clearDelayTimer(),er.isBlurToHide()&&er.delaySetPopupVisible(!1,er.props.blurDelay)},er.onContextMenu=function(Ur){Ur.preventDefault(),er.fireEvents("onContextMenu",Ur),er.setPopupVisible(!0,Ur)},er.onContextMenuClose=function(){er.isContextMenuToShow()&&er.close()},er.onClick=function(Ur){if(er.fireEvents("onClick",Ur),er.focusTime){var pn;if(er.preClickTime&&er.preTouchTime?pn=Math.min(er.preClickTime,er.preTouchTime):er.preClickTime?pn=er.preClickTime:er.preTouchTime&&(pn=er.preTouchTime),Math.abs(pn-er.focusTime)<20)return;er.focusTime=0}er.preClickTime=0,er.preTouchTime=0,er.isClickToShow()&&(er.isClickToHide()||er.isBlurToHide())&&Ur&&Ur.preventDefault&&Ur.preventDefault();var sn=!er.state.popupVisible;(er.isClickToHide()&&!sn||sn&&er.isClickToShow())&&er.setPopupVisible(!er.state.popupVisible,Ur)},er.onPopupMouseDown=function(){if(er.hasPopupMouseDown=!0,clearTimeout(er.mouseDownTimeout),er.mouseDownTimeout=window.setTimeout(function(){er.hasPopupMouseDown=!1},0),er.context){var Ur;(Ur=er.context).onPopupMouseDown.apply(Ur,arguments)}},er.onDocumentClick=function(Ur){if(er.props.mask&&!er.props.maskClosable)return;var pn=Ur.target,sn=er.getRootDomNode(),vn=er.getPopupDomNode();(!Object(vt.a)(sn,pn)||er.isContextMenuOnly())&&!Object(vt.a)(vn,pn)&&!er.hasPopupMouseDown&&er.close()},er.getRootDomNode=function(){var Ur=er.props.getTriggerDOMNode;if(Ur)return Ur(er.triggerRef.current);try{var pn=Object(Ze.a)(er.triggerRef.current);if(pn)return pn}catch(sn){}return nt.a.findDOMNode(Object(F.a)(er))},er.getPopupClassNameFromAlign=function(Ur){var pn=[],sn=er.props,vn=sn.popupPlacement,Un=sn.builtinPlacements,Qn=sn.prefixCls,$n=sn.alignPoint,wi=sn.getPopupClassNameFromAlign;return vn&&Un&&pn.push($e(Un,Qn,Ur,$n)),wi&&pn.push(wi(Ur)),pn.join(" ")},er.getComponent=function(){var Ur=er.props,pn=Ur.prefixCls,sn=Ur.destroyPopupOnHide,vn=Ur.popupClassName,Un=Ur.onPopupAlign,Qn=Ur.popupMotion,$n=Ur.popupAnimation,wi=Ur.popupTransitionName,ra=Ur.popupStyle,ua=Ur.mask,da=Ur.maskAnimation,sa=Ur.maskTransitionName,fa=Ur.maskMotion,Wi=Ur.zIndex,Di=Ur.popup,na=Ur.stretch,Zi=Ur.alignPoint,ba=Ur.mobile,Ta=Ur.forceRender,$i=er.state,Vi=$i.popupVisible,La=$i.point,ga=er.getPopupAlign(),Ti={};return er.isMouseEnterToShow()&&(Ti.onMouseEnter=er.onPopupMouseEnter),er.isMouseLeaveToHide()&&(Ti.onMouseLeave=er.onPopupMouseLeave),Ti.onMouseDown=er.onPopupMouseDown,Ti.onTouchStart=er.onPopupMouseDown,g.createElement(wr,Object(C.a)({prefixCls:pn,destroyPopupOnHide:sn,visible:Vi,point:Zi&&La,className:vn,align:ga,onAlign:Un,animation:$n,getClassNameFromAlign:er.getPopupClassNameFromAlign},Ti,{stretch:na,getRootDomNode:er.getRootDomNode,style:ra,mask:ua,zIndex:Wi,transitionName:wi,maskAnimation:da,maskTransitionName:sa,maskMotion:fa,ref:er.popupRef,motion:Qn,mobile:ba,forceRender:Ta}),typeof Di=="function"?Di():Di)},er.attachParent=function(Ur){Oe.a.cancel(er.attachId);var pn=er.props,sn=pn.getPopupContainer,vn=pn.getDocument,Un=er.getRootDomNode(),Qn;sn?(Un||sn.length===0)&&(Qn=sn(Un)):Qn=vn(er.getRootDomNode()).body,Qn?Qn.appendChild(Ur):er.attachId=Object(Oe.a)(function(){er.attachParent(Ur)})},er.getContainer=function(){var Ur=er.props.getDocument,pn=Ur(er.getRootDomNode()).createElement("div");return pn.style.position="absolute",pn.style.top="0",pn.style.left="0",pn.style.width="100%",er.attachParent(pn),pn},er.setPoint=function(Ur){var pn=er.props.alignPoint;if(!pn||!Ur)return;er.setState({point:{pageX:Ur.pageX,pageY:Ur.pageY}})},er.handlePortalUpdate=function(){er.state.prevPopupVisible!==er.state.popupVisible&&er.props.afterPopupVisibleChange(er.state.popupVisible)},er.triggerContextValue={onPopupMouseDown:er.onPopupMouseDown};var jr;return"popupVisible"in xr?jr=!!xr.popupVisible:jr=!!xr.defaultPopupVisible,er.state={prevPopupVisible:jr,popupVisible:jr},Xr.forEach(function(Ur){er["fire".concat(Ur)]=function(pn){er.fireEvents(Ur,pn)}}),er}return Object(L.a)(Xt,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var er=this.props,jr=this.state;if(jr.popupVisible){var Ur;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextMenuToShow())&&(Ur=er.getDocument(this.getRootDomNode()),this.clickOutsideHandler=Object(xt.a)(Ur,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(Ur=Ur||er.getDocument(this.getRootDomNode()),this.touchOutsideHandler=Object(xt.a)(Ur,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(Ur=Ur||er.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=Object(xt.a)(Ur,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=Object(xt.a)(window,"blur",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),Oe.a.cancel(this.attachId)}},{key:"getPopupDomNode",value:function(){var er;return((er=this.popupRef.current)===null||er===void 0?void 0:er.getElement())||null}},{key:"getPopupAlign",value:function(){var er=this.props,jr=er.popupPlacement,Ur=er.popupAlign,pn=er.builtinPlacements;return jr&&pn?Gt(pn,jr,Ur):Ur}},{key:"setPopupVisible",value:function(er,jr){var Ur=this.props.alignPoint,pn=this.state.popupVisible;this.clearDelayTimer(),pn!==er&&("popupVisible"in this.props||this.setState({popupVisible:er,prevPopupVisible:pn}),this.props.onPopupVisibleChange(er)),Ur&&jr&&er&&this.setPoint(jr)}},{key:"delaySetPopupVisible",value:function(er,jr,Ur){var pn=this,sn=jr*1e3;if(this.clearDelayTimer(),sn){var vn=Ur?{pageX:Ur.pageX,pageY:Ur.pageY}:null;this.delayTimer=window.setTimeout(function(){pn.setPopupVisible(er,vn),pn.clearDelayTimer()},sn)}else this.setPopupVisible(er,Ur)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(er){var jr=this.props.children.props,Ur=this.props;return jr[er]&&Ur[er]?this["fire".concat(er)]:jr[er]||Ur[er]}},{key:"isClickToShow",value:function(){var er=this.props,jr=er.action,Ur=er.showAction;return jr.indexOf("click")!==-1||Ur.indexOf("click")!==-1}},{key:"isContextMenuOnly",value:function(){var er=this.props.action;return er==="contextMenu"||er.length===1&&er[0]==="contextMenu"}},{key:"isContextMenuToShow",value:function(){var er=this.props,jr=er.action,Ur=er.showAction;return jr.indexOf("contextMenu")!==-1||Ur.indexOf("contextMenu")!==-1}},{key:"isClickToHide",value:function(){var er=this.props,jr=er.action,Ur=er.hideAction;return jr.indexOf("click")!==-1||Ur.indexOf("click")!==-1}},{key:"isMouseEnterToShow",value:function(){var er=this.props,jr=er.action,Ur=er.showAction;return jr.indexOf("hover")!==-1||Ur.indexOf("mouseEnter")!==-1}},{key:"isMouseLeaveToHide",value:function(){var er=this.props,jr=er.action,Ur=er.hideAction;return jr.indexOf("hover")!==-1||Ur.indexOf("mouseLeave")!==-1}},{key:"isFocusToShow",value:function(){var er=this.props,jr=er.action,Ur=er.showAction;return jr.indexOf("focus")!==-1||Ur.indexOf("focus")!==-1}},{key:"isBlurToHide",value:function(){var er=this.props,jr=er.action,Ur=er.hideAction;return jr.indexOf("focus")!==-1||Ur.indexOf("blur")!==-1}},{key:"forcePopupAlign",value:function(){if(this.state.popupVisible){var er;(er=this.popupRef.current)===null||er===void 0||er.forceAlign()}}},{key:"fireEvents",value:function(er,jr){var Ur=this.props.children.props[er];Ur&&Ur(jr);var pn=this.props[er];pn&&pn(jr)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var er=this.state.popupVisible,jr=this.props,Ur=jr.children,pn=jr.forceRender,sn=jr.alignPoint,vn=jr.className,Un=jr.autoDestroy,Qn=g.Children.only(Ur),$n={key:"trigger"};this.isContextMenuToShow()?$n.onContextMenu=this.onContextMenu:$n.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?($n.onClick=this.onClick,$n.onMouseDown=this.onMouseDown,$n.onTouchStart=this.onTouchStart):($n.onClick=this.createTwoChains("onClick"),$n.onMouseDown=this.createTwoChains("onMouseDown"),$n.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?($n.onMouseEnter=this.onMouseEnter,sn&&($n.onMouseMove=this.onMouseMove)):$n.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?$n.onMouseLeave=this.onMouseLeave:$n.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?($n.onFocus=this.onFocus,$n.onBlur=this.onBlur):($n.onFocus=this.createTwoChains("onFocus"),$n.onBlur=this.createTwoChains("onBlur"));var wi=i()(Qn&&Qn.props&&Qn.props.className,vn);wi&&($n.className=wi);var ra=Object(a.a)({},$n);Object(wt.c)(Qn)&&(ra.ref=Object(wt.a)(this.triggerRef,Qn.ref));var ua=g.cloneElement(Qn,ra),da;return(er||this.popupRef.current||pn)&&(da=g.createElement(pr,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!er&&Un&&(da=null),g.createElement(Or.Provider,{value:this.triggerContextValue},ua,da)}}],[{key:"getDerivedStateFromProps",value:function(er,jr){var Ur=er.popupVisible,pn={};return Ur!==void 0&&jr.popupVisible!==Ur&&(pn.popupVisible=Ur,pn.prevPopupVisible=jr.popupVisible),pn}}]),Xt}(g.Component);return Dr.contextType=Or,Dr.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:cn,getDocument:nr,onPopupVisibleChange:Ht,afterPopupVisibleChange:Ht,onPopupAlign:Ht,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1},Dr}var yr=Br(Ot.a),xn={adjustX:1,adjustY:1},Bn={topLeft:{points:["bl","tl"],overflow:xn,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:xn,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:xn,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:xn,offset:[4,0]}},ii={topLeft:{points:["bl","tl"],overflow:xn,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:xn,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:xn,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:xn,offset:[4,0]}},oi=Bn,ei=0,ui={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},Fn=function(Dr,Qr,Nr){var Xt=ke(Qr),xr=Dr.getState();Dr.setState({defaultActiveFirst:Object(a.a)(Object(a.a)({},xr.defaultActiveFirst),{},Object(f.a)({},Xt,Nr))})},Si=function(pr){Object(B.a)(Qr,pr);var Dr=Object(P.a)(Qr);function Qr(Nr){var Xt;Object(I.a)(this,Qr),Xt=Dr.call(this,Nr),Xt.onDestroy=function(sn){Xt.props.onDestroy(sn)},Xt.onKeyDown=function(sn){var vn=sn.keyCode,Un=Xt.menuInstance,Qn=Xt.props.store,$n=Xt.getVisible();if(vn===v.a.ENTER)return Xt.onTitleClick(sn),Fn(Qn,Xt.props.eventKey,!0),!0;if(vn===v.a.RIGHT)return $n?Un.onKeyDown(sn):(Xt.triggerOpenChange(!0),Fn(Qn,Xt.props.eventKey,!0)),!0;if(vn===v.a.LEFT){var wi;if($n)wi=Un.onKeyDown(sn);else return;return wi||(Xt.triggerOpenChange(!1),wi=!0),wi}return $n&&(vn===v.a.UP||vn===v.a.DOWN)?Un.onKeyDown(sn):void 0},Xt.onOpenChange=function(sn){Xt.props.onOpenChange(sn)},Xt.onPopupVisibleChange=function(sn){Xt.triggerOpenChange(sn,sn?"mouseenter":"mouseleave")},Xt.onMouseEnter=function(sn){var vn=Xt.props,Un=vn.eventKey,Qn=vn.onMouseEnter,$n=vn.store;Fn($n,Xt.props.eventKey,!1),Qn({key:Un,domEvent:sn})},Xt.onMouseLeave=function(sn){var vn=Xt.props,Un=vn.parentMenu,Qn=vn.eventKey,$n=vn.onMouseLeave;Un.subMenuInstance=Object(F.a)(Xt),$n({key:Qn,domEvent:sn})},Xt.onTitleMouseEnter=function(sn){var vn=Xt.props,Un=vn.eventKey,Qn=vn.onItemHover,$n=vn.onTitleMouseEnter;Qn({key:Un,hover:!0}),$n({key:Un,domEvent:sn})},Xt.onTitleMouseLeave=function(sn){var vn=Xt.props,Un=vn.parentMenu,Qn=vn.eventKey,$n=vn.onItemHover,wi=vn.onTitleMouseLeave;Un.subMenuInstance=Object(F.a)(Xt),$n({key:Qn,hover:!1}),wi({key:Qn,domEvent:sn})},Xt.onTitleClick=function(sn){var vn=Object(F.a)(Xt),Un=vn.props;if(Un.onTitleClick({key:Un.eventKey,domEvent:sn}),Un.triggerSubMenuAction==="hover")return;Xt.triggerOpenChange(!Xt.getVisible(),"click"),Fn(Un.store,Xt.props.eventKey,!1)},Xt.onSubMenuClick=function(sn){typeof Xt.props.onClick=="function"&&Xt.props.onClick(Xt.addKeyPath(sn))},Xt.onSelect=function(sn){Xt.props.onSelect(sn)},Xt.onDeselect=function(sn){Xt.props.onDeselect(sn)},Xt.getPrefixCls=function(){return"".concat(Xt.props.rootPrefixCls,"-submenu")},Xt.getActiveClassName=function(){return"".concat(Xt.getPrefixCls(),"-active")},Xt.getDisabledClassName=function(){return"".concat(Xt.getPrefixCls(),"-disabled")},Xt.getSelectedClassName=function(){return"".concat(Xt.getPrefixCls(),"-selected")},Xt.getOpenClassName=function(){return"".concat(Xt.props.rootPrefixCls,"-submenu-open")},Xt.getVisible=function(){return Xt.state.isOpen},Xt.getMode=function(){return Xt.state.mode},Xt.saveMenuInstance=function(sn){Xt.menuInstance=sn},Xt.addKeyPath=function(sn){return Object(a.a)(Object(a.a)({},sn),{},{keyPath:(sn.keyPath||[]).concat(Xt.props.eventKey)})},Xt.triggerOpenChange=function(sn,vn){var Un=Xt.props.eventKey,Qn=function(){Xt.onOpenChange({key:Un,item:Object(F.a)(Xt),trigger:vn,open:sn})};vn==="mouseenter"?Xt.mouseenterTimeout=setTimeout(function(){Qn()},0):Qn()},Xt.isChildrenSelected=function(){var sn={find:!1};return Ke(Xt.props.children,Xt.props.selectedKeys,sn),sn.find},Xt.isInlineMode=function(){return Xt.getMode()==="inline"},Xt.adjustWidth=function(){if(!Xt.subMenuTitle||!Xt.menuInstance)return;var sn=pt.findDOMNode(Xt.menuInstance);if(sn.offsetWidth>=Xt.subMenuTitle.offsetWidth)return;sn.style.minWidth="".concat(Xt.subMenuTitle.offsetWidth,"px")},Xt.saveSubMenuTitle=function(sn){Xt.subMenuTitle=sn},Xt.getBaseProps=function(){var sn=Object(F.a)(Xt),vn=sn.props,Un=Xt.getMode();return{mode:Un==="horizontal"?"vertical":Un,visible:Xt.getVisible(),level:vn.level+1,inlineIndent:vn.inlineIndent,focusable:!1,onClick:Xt.onSubMenuClick,onSelect:Xt.onSelect,onDeselect:Xt.onDeselect,onDestroy:Xt.onDestroy,selectedKeys:vn.selectedKeys,eventKey:"".concat(vn.eventKey,"-menu-"),openKeys:vn.openKeys,motion:vn.motion,onOpenChange:Xt.onOpenChange,subMenuOpenDelay:vn.subMenuOpenDelay,parentMenu:Object(F.a)(Xt),subMenuCloseDelay:vn.subMenuCloseDelay,forceSubMenuRender:vn.forceSubMenuRender,triggerSubMenuAction:vn.triggerSubMenuAction,builtinPlacements:vn.builtinPlacements,defaultActiveFirst:vn.store.getState().defaultActiveFirst[ke(vn.eventKey)],multiple:vn.multiple,prefixCls:vn.rootPrefixCls,id:Xt.internalMenuId,manualRef:Xt.saveMenuInstance,itemIcon:vn.itemIcon,expandIcon:vn.expandIcon,direction:vn.direction}},Xt.getMotion=function(sn,vn){var Un=Object(F.a)(Xt),Qn=Un.haveRendered,$n=Xt.props,wi=$n.motion,ra=$n.rootPrefixCls,ua=Object(a.a)(Object(a.a)({},wi),{},{leavedClassName:"".concat(ra,"-hidden"),removeOnLeave:!1,motionAppear:Qn||!vn||sn!=="inline"});return ua};var xr=Nr.store,er=Nr.eventKey,jr=xr.getState(),Ur=jr.defaultActiveFirst;Xt.isRootMenu=!1;var pn=!1;return Ur&&(pn=Ur[er]),Fn(xr,er,pn),Xt.state={mode:Nr.mode,isOpen:Nr.isOpen},Xt}return Object(L.a)(Qr,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var Xt=this,xr=this.props,er=xr.mode,jr=xr.parentMenu,Ur=xr.manualRef,pn=xr.isOpen,sn=function(){Xt.setState({mode:er,isOpen:pn})},vn=pn!==this.state.isOpen,Un=er!==this.state.mode;if((Un||vn)&&(Oe.a.cancel(this.updateStateRaf),Un?this.updateStateRaf=Object(Oe.a)(sn):sn()),Ur&&Ur(this),er!=="horizontal"||!(jr==null?void 0:jr.isRootMenu)||!pn)return;this.minWidthTimeout=setTimeout(function(){return Xt.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var Xt=this.props,xr=Xt.onDestroy,er=Xt.eventKey;xr&&xr(er),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout),Oe.a.cancel(this.updateStateRaf)}},{key:"renderPopupMenu",value:function(Xt,xr){var er=this.getBaseProps();return g.createElement(yn,Object(C.a)({},er,{id:this.internalMenuId,className:Xt,style:xr}),this.props.children)}},{key:"renderChildren",value:function(){var Xt=this,xr=this.getBaseProps(),er=xr.mode,jr=xr.visible,Ur=xr.forceSubMenuRender,pn=xr.direction,sn=this.getMotion(er,jr);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||jr||Ur,!this.haveOpened)return g.createElement("div",null);var vn=i()("".concat(xr.prefixCls,"-sub"),Object(f.a)({},"".concat(xr.prefixCls,"-rtl"),pn==="rtl"));return this.isInlineMode()?g.createElement(Tn,Object(C.a)({visible:xr.visible,forceRender:Ur},sn),function(Un){var Qn=Un.className,$n=Un.style,wi=i()(vn,Qn);return Xt.renderPopupMenu(wi,$n)}):this.renderPopupMenu(vn)}},{key:"render",value:function(){var Xt,xr,er,jr=Object(a.a)({},this.props),Ur=this.getVisible(),pn=this.getPrefixCls(),sn=this.isInlineMode(),vn=this.getMode(),Un=i()(pn,"".concat(pn,"-").concat(vn),(Xt={},Object(f.a)(Xt,jr.className,!!jr.className),Object(f.a)(Xt,this.getOpenClassName(),Ur),Object(f.a)(Xt,this.getActiveClassName(),jr.active||Ur&&!sn),Object(f.a)(Xt,this.getDisabledClassName(),jr.disabled),Object(f.a)(Xt,this.getSelectedClassName(),this.isChildrenSelected()),Xt));this.internalMenuId||(jr.eventKey?this.internalMenuId="".concat(jr.eventKey,"$Menu"):(ei+=1,this.internalMenuId="$__$".concat(ei,"$Menu")));var Qn={},$n={},wi={};jr.disabled||(Qn={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},$n={onClick:this.onTitleClick},wi={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var ra={},ua=jr.direction,da=ua==="rtl";sn&&(da?ra.paddingRight=jr.inlineIndent*jr.level:ra.paddingLeft=jr.inlineIndent*jr.level);var sa={};this.getVisible()&&(sa={"aria-owns":this.internalMenuId});var fa=null;vn!=="horizontal"&&(fa=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(fa=g.createElement(this.props.expandIcon,Object(a.a)({},this.props))));var Wi=g.createElement("div",Object(C.a)({ref:this.saveSubMenuTitle,style:ra,className:"".concat(pn,"-title"),role:"button"},wi,$n,{"aria-expanded":Ur},sa,{"aria-haspopup":"true",title:typeof jr.title=="string"?jr.title:void 0}),jr.title,fa||g.createElement("i",{className:"".concat(pn,"-arrow")})),Di=this.renderChildren(),na=((xr=jr.parentMenu)===null||xr===void 0?void 0:xr.isRootMenu)?jr.parentMenu.props.getPopupContainer:function(Ha){return Ha.parentNode},Zi=ui[vn],ba=jr.popupOffset?{offset:jr.popupOffset}:{},Ta=i()((er={},Object(f.a)(er,jr.popupClassName,jr.popupClassName&&!sn),Object(f.a)(er,"".concat(pn,"-rtl"),da),er)),$i=jr.disabled,Vi=jr.triggerSubMenuAction,La=jr.subMenuOpenDelay,ga=jr.forceSubMenuRender,Ti=jr.subMenuCloseDelay,Ea=jr.builtinPlacements;Ie.forEach(function(Ha){return delete jr[Ha]}),delete jr.onClick;var Da=da?Object(a.a)(Object(a.a)({},ii),Ea):Object(a.a)(Object(a.a)({},Bn),Ea);delete jr.direction;var Na=this.getBaseProps(),Pa=sn?null:this.getMotion(Na.mode,Na.visible);return g.createElement("li",Object(C.a)({},jr,Qn,{className:Un,role:"menuitem"}),g.createElement(yr,{prefixCls:pn,popupClassName:i()("".concat(pn,"-popup"),Ta),getPopupContainer:na,builtinPlacements:Da,popupPlacement:Zi,popupVisible:sn?!1:Ur,popupAlign:ba,popup:sn?null:Di,action:$i||sn?[]:[Vi],mouseEnterDelay:La,mouseLeaveDelay:Ti,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:ga,popupMotion:Pa},Wi),sn?Di:null)}}]),Qr}(g.Component);Si.defaultProps={onMouseEnter:re,onMouseLeave:re,onTitleMouseEnter:re,onTitleMouseLeave:re,onTitleClick:re,manualRef:re,mode:"vertical",title:""};var gn=Object(H.b)(function(pr,Dr){var Qr=pr.openKeys,Nr=pr.activeKey,Xt=pr.selectedKeys,xr=Dr.eventKey,er=Dr.subMenuKey;return{isOpen:Qr.indexOf(xr)>-1,active:Nr[er]===xr,selectedKeys:Xt}})(Si);gn.isSubMenu=!0;var Wr=gn,En="menuitem-overflowed",on=.5,ci=function(pr){Object(B.a)(Qr,pr);var Dr=Object(P.a)(Qr);function Qr(){var Nr;return Object(I.a)(this,Qr),Nr=Dr.apply(this,arguments),Nr.resizeObserver=null,Nr.mutationObserver=null,Nr.originalTotalWidth=0,Nr.overflowedItems=[],Nr.menuItemSizes=[],Nr.cancelFrameId=null,Nr.state={lastVisibleIndex:void 0},Nr.childRef=g.createRef(),Nr.getMenuItemNodes=function(){var Xt=Nr.props.prefixCls,xr=Nr.childRef.current;return xr?[].slice.call(xr.children).filter(function(er){return er.className.split(" ").indexOf("".concat(Xt,"-overflowed-submenu"))<0}):[]},Nr.getOverflowedSubMenuItem=function(Xt,xr,er){var jr=Nr.props,Ur=jr.overflowedIndicator,pn=jr.level,sn=jr.mode,vn=jr.prefixCls,Un=jr.theme;if(pn!==1||sn!=="horizontal")return null;var Qn=Nr.props.children[0],$n=Qn.props,wi=$n.children,ra=$n.title,ua=$n.style,da=Object(c.a)($n,["children","title","style"]),sa=Object(a.a)({},ua),fa="".concat(Xt,"-overflowed-indicator"),Wi="".concat(Xt,"-overflowed-indicator");xr.length===0&&er!==!0?sa=Object(a.a)(Object(a.a)({},sa),{},{display:"none"}):er&&(sa=Object(a.a)(Object(a.a)({},sa),{},{visibility:"hidden",position:"absolute"}),fa="".concat(fa,"-placeholder"),Wi="".concat(Wi,"-placeholder"));var Di=Un?"".concat(vn,"-").concat(Un):"",na={};return Ie.forEach(function(Zi){da[Zi]!==void 0&&(na[Zi]=da[Zi])}),g.createElement(Wr,Object(C.a)({title:Ur,className:"".concat(vn,"-overflowed-submenu"),popupClassName:Di},na,{key:fa,eventKey:Wi,disabled:!1,style:sa}),xr)},Nr.setChildrenWidthAndResize=function(){if(Nr.props.mode!=="horizontal")return;var Xt=Nr.childRef.current;if(!Xt)return;var xr=Xt.children;if(!xr||xr.length===0)return;var er=Xt.children[xr.length-1];ye(er,"display","inline-block");var jr=Nr.getMenuItemNodes(),Ur=jr.filter(function(pn){return pn.className.split(" ").indexOf(En)>=0});Ur.forEach(function(pn){ye(pn,"display","inline-block")}),Nr.menuItemSizes=jr.map(function(pn){return se(pn,!0)}),Ur.forEach(function(pn){ye(pn,"display","none")}),Nr.overflowedIndicatorWidth=se(Xt.children[Xt.children.length-1],!0),Nr.originalTotalWidth=Nr.menuItemSizes.reduce(function(pn,sn){return pn+sn},0),Nr.handleResize(),ye(er,"display","none")},Nr.handleResize=function(){if(Nr.props.mode!=="horizontal")return;var Xt=Nr.childRef.current;if(!Xt)return;var xr=se(Xt);Nr.overflowedItems=[];var er=0,jr;Nr.originalTotalWidth>xr+on&&(jr=-1,Nr.menuItemSizes.forEach(function(Ur){er+=Ur,er+Nr.overflowedIndicatorWidth<=xr&&(jr+=1)})),Nr.setState({lastVisibleIndex:jr})},Nr}return Object(L.a)(Qr,[{key:"componentDidMount",value:function(){var Xt=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var xr=this.childRef.current;if(!xr)return;this.resizeObserver=new Ye.default(function(er){er.forEach(function(){var jr=Xt.cancelFrameId;cancelAnimationFrame(jr),Xt.cancelFrameId=requestAnimationFrame(Xt.setChildrenWidthAndResize)})}),[].slice.call(xr.children).concat(xr).forEach(function(er){Xt.resizeObserver.observe(er)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){Xt.resizeObserver.disconnect(),[].slice.call(xr.children).concat(xr).forEach(function(er){Xt.resizeObserver.observe(er)}),Xt.setChildrenWidthAndResize()}),this.mutationObserver.observe(xr,{attributes:!1,childList:!0,subTree:!1}))}}},{key:"componentWillUnmount",value:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.mutationObserver&&this.mutationObserver.disconnect(),cancelAnimationFrame(this.cancelFrameId)}},{key:"renderChildren",value:function(Xt){var xr=this,er=this.state.lastVisibleIndex;return(Xt||[]).reduce(function(jr,Ur,pn){var sn=Ur;if(xr.props.mode==="horizontal"){var vn=xr.getOverflowedSubMenuItem(Ur.props.eventKey,[]);er!==void 0&&xr.props.className.indexOf("".concat(xr.props.prefixCls,"-root"))!==-1&&(pn>er&&(sn=g.cloneElement(Ur,{style:{display:"none"},eventKey:"".concat(Ur.props.eventKey,"-hidden"),className:"".concat(En)})),pn===er+1&&(xr.overflowedItems=Xt.slice(er+1).map(function(Qn){return g.cloneElement(Qn,{key:Qn.props.eventKey,mode:"vertical-left"})}),vn=xr.getOverflowedSubMenuItem(Ur.props.eventKey,xr.overflowedItems)));var Un=[].concat(Object(l.a)(jr),[vn,sn]);return pn===Xt.length-1&&Un.push(xr.getOverflowedSubMenuItem(Ur.props.eventKey,[],!0)),Un}return[].concat(Object(l.a)(jr),[sn])},[])}},{key:"render",value:function(){var Xt=this.props,xr=Xt.visible,er=Xt.prefixCls,jr=Xt.overflowedIndicator,Ur=Xt.mode,pn=Xt.level,sn=Xt.tag,vn=Xt.children,Un=Xt.theme,Qn=Object(c.a)(Xt,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),$n=sn;return g.createElement($n,Object(C.a)({ref:this.childRef},Qn),this.renderChildren(vn))}}]),Qr}(g.Component);ci.defaultProps={tag:"div",className:""};var ri=ci;function bi(pr){return pr.length?pr.every(function(Dr){return!!Dr.props.disabled}):!0}function Gn(pr,Dr,Qr){var Nr=pr.getState();pr.setState({activeKey:Object(a.a)(Object(a.a)({},Nr.activeKey),{},Object(f.a)({},Dr,Qr))})}function Fi(pr){return pr.eventKey||"0-menu-"}function Jn(pr,Dr){var Qr=Dr,Nr=pr.children,Xt=pr.eventKey;if(Qr){var xr;if(Te(Nr,function(er,jr){er&&er.props&&!er.props.disabled&&Qr===ce(er,Xt,jr)&&(xr=!0)}),xr)return Qr}return Qr=null,pr.defaultActiveFirst&&Te(Nr,function(er,jr){!Qr&&er&&!er.props.disabled&&(Qr=ce(er,Xt,jr))}),Qr}function Mi(pr){if(!pr)return;var Dr=this.instanceArray.indexOf(pr);Dr!==-1?this.instanceArray[Dr]=pr:this.instanceArray.push(pr)}var fn=function(pr){Object(B.a)(Qr,pr);var Dr=Object(P.a)(Qr);function Qr(Nr){var Xt;return Object(I.a)(this,Qr),Xt=Dr.call(this,Nr),Xt.onKeyDown=function(xr,er){var jr=xr.keyCode,Ur;if(Xt.getFlatInstanceArray().forEach(function(sn){sn&&sn.props.active&&sn.onKeyDown&&(Ur=sn.onKeyDown(xr))}),Ur)return 1;var pn=null;return(jr===v.a.UP||jr===v.a.DOWN)&&(pn=Xt.step(jr===v.a.UP?-1:1)),pn?(xr.preventDefault(),Gn(Xt.props.store,Fi(Xt.props),pn.props.eventKey),typeof er=="function"&&er(pn),1):void 0},Xt.onItemHover=function(xr){var er=xr.key,jr=xr.hover;Gn(Xt.props.store,Fi(Xt.props),jr?er:null)},Xt.onDeselect=function(xr){Xt.props.onDeselect(xr)},Xt.onSelect=function(xr){Xt.props.onSelect(xr)},Xt.onClick=function(xr){Xt.props.onClick(xr)},Xt.onOpenChange=function(xr){Xt.props.onOpenChange(xr)},Xt.onDestroy=function(xr){Xt.props.onDestroy(xr)},Xt.getFlatInstanceArray=function(){return Xt.instanceArray},Xt.step=function(xr){var er=Xt.getFlatInstanceArray(),jr=Xt.props.store.getState().activeKey[Fi(Xt.props)],Ur=er.length;if(!Ur)return null;xr<0&&(er=er.concat().reverse());var pn=-1;if(er.every(function(Qn,$n){return Qn&&Qn.props.eventKey===jr?(pn=$n,!1):!0}),!Xt.props.defaultActiveFirst&&pn!==-1&&bi(er.slice(pn,Ur-1)))return;var sn=(pn+1)%Ur,vn=sn;do{var Un=er[vn];if(!Un||Un.props.disabled)vn=(vn+1)%Ur;else return Un}while(vn!==sn);return null},Xt.renderCommonMenuItem=function(xr,er,jr){var Ur=Xt.props.store.getState(),pn=Object(F.a)(Xt),sn=pn.props,vn=ce(xr,sn.eventKey,er),Un=xr.props;if(!Un||typeof xr.type=="string")return xr;var Qn=vn===Ur.activeKey,$n=Object(a.a)(Object(a.a)({mode:Un.mode||sn.mode,level:sn.level,inlineIndent:sn.inlineIndent,renderMenuItem:Xt.renderMenuItem,rootPrefixCls:sn.prefixCls,index:er,parentMenu:sn.parentMenu,manualRef:Un.disabled?void 0:Object(M.a)(xr.ref,Mi.bind(Object(F.a)(Xt))),eventKey:vn,active:!Un.disabled&&Qn,multiple:sn.multiple,onClick:function(ra){(Un.onClick||re)(ra),Xt.onClick(ra)},onItemHover:Xt.onItemHover,motion:sn.motion,subMenuOpenDelay:sn.subMenuOpenDelay,subMenuCloseDelay:sn.subMenuCloseDelay,forceSubMenuRender:sn.forceSubMenuRender,onOpenChange:Xt.onOpenChange,onDeselect:Xt.onDeselect,onSelect:Xt.onSelect,builtinPlacements:sn.builtinPlacements,itemIcon:Un.itemIcon||Xt.props.itemIcon,expandIcon:Un.expandIcon||Xt.props.expandIcon},jr),{},{direction:sn.direction});return(sn.mode==="inline"||xe())&&($n.triggerSubMenuAction="click"),g.cloneElement(xr,Object(a.a)(Object(a.a)({},$n),{},{key:vn||er}))},Xt.renderMenuItem=function(xr,er,jr){if(!xr)return null;var Ur=Xt.props.store.getState(),pn={openKeys:Ur.openKeys,selectedKeys:Ur.selectedKeys,triggerSubMenuAction:Xt.props.triggerSubMenuAction,subMenuKey:jr};return Xt.renderCommonMenuItem(xr,er,pn)},Nr.store.setState({activeKey:Object(a.a)(Object(a.a)({},Nr.store.getState().activeKey),{},Object(f.a)({},Nr.eventKey,Jn(Nr,Nr.activeKey)))}),Xt.instanceArray=[],Xt}return Object(L.a)(Qr,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(Xt){return this.props.visible||Xt.visible||this.props.className!==Xt.className||!k()(this.props.style,Xt.style)}},{key:"componentDidUpdate",value:function(Xt){var xr=this.props,er="activeKey"in xr?xr.activeKey:xr.store.getState().activeKey[Fi(xr)],jr=Jn(xr,er);if(jr!==er)Gn(xr.store,Fi(xr),jr);else if("activeKey"in Xt){var Ur=Jn(Xt,Xt.activeKey);jr!==Ur&&Gn(xr.store,Fi(xr),jr)}}},{key:"render",value:function(){var Xt=this,xr=Object(C.a)({},this.props);this.instanceArray=[];var er=i()(xr.prefixCls,xr.className,"".concat(xr.prefixCls,"-").concat(xr.mode)),jr={className:er,role:xr.role||"menu"};xr.id&&(jr.id=xr.id),xr.focusable&&(jr.tabIndex=0,jr.onKeyDown=this.onKeyDown);var Ur=xr.prefixCls,pn=xr.eventKey,sn=xr.visible,vn=xr.level,Un=xr.mode,Qn=xr.overflowedIndicator,$n=xr.theme;return Ie.forEach(function(wi){return delete xr[wi]}),delete xr.onClick,g.createElement(ri,Object(C.a)({},xr,{prefixCls:Ur,mode:Un,tag:"ul",level:vn,theme:$n,visible:sn,overflowedIndicator:Qn},jr),Object(o.a)(xr.children).map(function(wi,ra){return Xt.renderMenuItem(wi,ra,pn||"0-menu-")}))}}]),Qr}(g.Component);fn.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:re};var kr=Object(H.b)()(fn),yn=kr,jn=t("Kwbf");function Xn(pr,Dr,Qr){var Nr=pr.prefixCls,Xt=pr.motion,xr=pr.defaultMotions,er=xr===void 0?{}:xr,jr=pr.openAnimation,Ur=pr.openTransitionName,pn=Dr.switchingModeFromInline;if(Xt)return Xt;if(Object(K.a)(jr)==="object"&&jr)Object(jn.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof jr=="string")return{motionName:"".concat(Nr,"-open-").concat(jr)};if(Ur)return{motionName:Ur};var sn=er[Qr];return sn||(pn?null:er.other)}var ti=function(pr){Object(B.a)(Qr,pr);var Dr=Object(P.a)(Qr);function Qr(Nr){var Xt;Object(I.a)(this,Qr),Xt=Dr.call(this,Nr),Xt.onSelect=function(jr){var Ur=Object(F.a)(Xt),pn=Ur.props;if(pn.selectable){var sn=Xt.store.getState(),vn=sn.selectedKeys,Un=jr.key;pn.multiple?vn=vn.concat([Un]):vn=[Un],"selectedKeys"in pn||Xt.store.setState({selectedKeys:vn}),pn.onSelect(Object(a.a)(Object(a.a)({},jr),{},{selectedKeys:vn}))}},Xt.onClick=function(jr){var Ur=Xt.getRealMenuMode(),pn=Object(F.a)(Xt),sn=pn.store,vn=pn.props.onOpenChange;Ur!=="inline"&&!("openKeys"in Xt.props)&&(sn.setState({openKeys:[]}),vn([])),Xt.props.onClick(jr)},Xt.onKeyDown=function(jr,Ur){Xt.innerMenu.getWrappedInstance().onKeyDown(jr,Ur)},Xt.onOpenChange=function(jr){var Ur=Object(F.a)(Xt),pn=Ur.props,sn=Xt.store.getState().openKeys.concat(),vn=!1,Un=function($n){var wi=!1;if($n.open)wi=sn.indexOf($n.key)===-1,wi&&sn.push($n.key);else{var ra=sn.indexOf($n.key);wi=ra!==-1,wi&&sn.splice(ra,1)}vn=vn||wi};Array.isArray(jr)?jr.forEach(Un):Un(jr),vn&&("openKeys"in Xt.props||Xt.store.setState({openKeys:sn}),pn.onOpenChange(sn))},Xt.onDeselect=function(jr){var Ur=Object(F.a)(Xt),pn=Ur.props;if(pn.selectable){var sn=Xt.store.getState().selectedKeys.concat(),vn=jr.key,Un=sn.indexOf(vn);Un!==-1&&sn.splice(Un,1),"selectedKeys"in pn||Xt.store.setState({selectedKeys:sn}),pn.onDeselect(Object(a.a)(Object(a.a)({},jr),{},{selectedKeys:sn}))}},Xt.onMouseEnter=function(jr){Xt.restoreModeVerticalFromInline();var Ur=Xt.props.onMouseEnter;Ur&&Ur(jr)},Xt.onTransitionEnd=function(jr){var Ur=jr.propertyName==="width"&&jr.target===jr.currentTarget,pn=jr.target.className,sn=Object.prototype.toString.call(pn)==="[object SVGAnimatedString]"?pn.animVal:pn,vn=jr.propertyName==="font-size"&&sn.indexOf("anticon")>=0;(Ur||vn)&&Xt.restoreModeVerticalFromInline()},Xt.setInnerMenu=function(jr){Xt.innerMenu=jr},Xt.isRootMenu=!0;var xr=Nr.defaultSelectedKeys,er=Nr.defaultOpenKeys;return"selectedKeys"in Nr&&(xr=Nr.selectedKeys||[]),"openKeys"in Nr&&(er=Nr.openKeys||[]),Xt.store=Object(H.c)({selectedKeys:xr,openKeys:er,activeKey:{"0-menu-":Jn(Nr,Nr.activeKey)}}),Xt.state={switchingModeFromInline:!1,prevProps:Nr,inlineOpenKeys:[],store:Xt.store},Xt}return Object(L.a)(Qr,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(Xt){var xr=this.props,er=xr.siderCollapsed,jr=xr.inlineCollapsed,Ur=xr.onOpenChange;(!Xt.inlineCollapsed&&jr||!Xt.siderCollapsed&&er)&&Ur([]),this.updateMiniStore(),this.updateMenuDisplay()}},{key:"updateMenuDisplay",value:function(){var Xt=this.props.collapsedWidth,xr=this.store,er=this.prevOpenKeys,jr=this.getInlineCollapsed()&&(Xt===0||Xt==="0"||Xt==="0px");jr?(this.prevOpenKeys=xr.getState().openKeys.concat(),this.store.setState({openKeys:[]})):er&&(this.store.setState({openKeys:er}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var Xt=this.props.mode,xr=this.state.switchingModeFromInline,er=this.getInlineCollapsed();return xr&&er?"inline":er?"vertical":Xt}},{key:"getInlineCollapsed",value:function(){var Xt=this.props,xr=Xt.inlineCollapsed,er=Xt.siderCollapsed;return er!==void 0?er:xr}},{key:"restoreModeVerticalFromInline",value:function(){var Xt=this.state.switchingModeFromInline;Xt&&this.setState({switchingModeFromInline:!1})}},{key:"updateMiniStore",value:function(){"selectedKeys"in this.props&&this.store.setState({selectedKeys:this.props.selectedKeys||[]}),"openKeys"in this.props&&this.store.setState({openKeys:this.props.openKeys||[]})}},{key:"render",value:function(){var Xt=Object(a.a)({},Object(z.a)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),xr=this.getRealMenuMode();return Xt.className+=" ".concat(Xt.prefixCls,"-root"),Xt.direction==="rtl"&&(Xt.className+=" ".concat(Xt.prefixCls,"-rtl")),Xt=Object(a.a)(Object(a.a)({},Xt),{},{mode:xr,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:Xn(this.props,this.state,xr)}),delete Xt.openAnimation,delete Xt.openTransitionName,g.createElement(H.a,{store:this.store},g.createElement(yn,Object(C.a)({},Xt,{ref:this.setInnerMenu}),this.props.children))}}],[{key:"getDerivedStateFromProps",value:function(Xt,xr){var er=xr.prevProps,jr=xr.store,Ur=jr.getState(),pn={},sn={prevProps:Xt};return er.mode==="inline"&&Xt.mode!=="inline"&&(sn.switchingModeFromInline=!0),"openKeys"in Xt?pn.openKeys=Xt.openKeys||[]:((Xt.inlineCollapsed&&!er.inlineCollapsed||Xt.siderCollapsed&&!er.siderCollapsed)&&(sn.switchingModeFromInline=!0,sn.inlineOpenKeys=Ur.openKeys,pn.openKeys=[]),(!Xt.inlineCollapsed&&er.inlineCollapsed||!Xt.siderCollapsed&&er.siderCollapsed)&&(pn.openKeys=xr.inlineOpenKeys,sn.inlineOpenKeys=[])),Object.keys(pn).length&&jr.setState(pn),sn}}]),Qr}(g.Component);ti.defaultProps={selectable:!0,onClick:re,onSelect:re,onOpenChange:re,onDeselect:re,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover",prefixCls:"rc-menu",className:"",mode:"vertical",style:{},builtinPlacements:{},overflowedIndicator:g.createElement("span",null,"\xB7\xB7\xB7")};var di=ti,fi=function(pr){Object(B.a)(Qr,pr);var Dr=Object(P.a)(Qr);function Qr(){var Nr;return Object(I.a)(this,Qr),Nr=Dr.apply(this,arguments),Nr.onKeyDown=function(Xt){var xr=Xt.keyCode;return xr===v.a.ENTER?(Nr.onClick(Xt),!0):void 0},Nr.onMouseLeave=function(Xt){var xr=Nr.props,er=xr.eventKey,jr=xr.onItemHover,Ur=xr.onMouseLeave;jr({key:er,hover:!1}),Ur({key:er,domEvent:Xt})},Nr.onMouseEnter=function(Xt){var xr=Nr.props,er=xr.eventKey,jr=xr.onItemHover,Ur=xr.onMouseEnter;jr({key:er,hover:!0}),Ur({key:er,domEvent:Xt})},Nr.onClick=function(Xt){var xr=Nr.props,er=xr.eventKey,jr=xr.multiple,Ur=xr.onClick,pn=xr.onSelect,sn=xr.onDeselect,vn=xr.isSelected,Un={key:er,keyPath:[er],item:Object(F.a)(Nr),domEvent:Xt};Ur(Un),jr?vn?sn(Un):pn(Un):vn||pn(Un)},Nr.saveNode=function(Xt){Nr.node=Xt},Nr}return Object(L.a)(Qr,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var Xt=this.props;Xt.onDestroy&&Xt.onDestroy(Xt.eventKey)}},{key:"getPrefixCls",value:function(){return"".concat(this.props.rootPrefixCls,"-item")}},{key:"getActiveClassName",value:function(){return"".concat(this.getPrefixCls(),"-active")}},{key:"getSelectedClassName",value:function(){return"".concat(this.getPrefixCls(),"-selected")}},{key:"getDisabledClassName",value:function(){return"".concat(this.getPrefixCls(),"-disabled")}},{key:"callRef",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"render",value:function(){var Xt,xr=Object(a.a)({},this.props),er=i()(this.getPrefixCls(),xr.className,(Xt={},Object(f.a)(Xt,this.getActiveClassName(),!xr.disabled&&xr.active),Object(f.a)(Xt,this.getSelectedClassName(),xr.isSelected),Object(f.a)(Xt,this.getDisabledClassName(),xr.disabled),Xt)),jr=Object(a.a)(Object(a.a)({},xr.attribute),{},{title:typeof xr.title=="string"?xr.title:void 0,className:er,role:xr.role||"menuitem","aria-disabled":xr.disabled});xr.role==="option"?jr=Object(a.a)(Object(a.a)({},jr),{},{role:"option","aria-selected":xr.isSelected}):(xr.role===null||xr.role==="none")&&(jr.role="none");var Ur={onClick:xr.disabled?null:this.onClick,onMouseLeave:xr.disabled?null:this.onMouseLeave,onMouseEnter:xr.disabled?null:this.onMouseEnter},pn=Object(a.a)({},xr.style);xr.mode==="inline"&&(xr.direction==="rtl"?pn.paddingRight=xr.inlineIndent*xr.level:pn.paddingLeft=xr.inlineIndent*xr.level),Ie.forEach(function(vn){return delete xr[vn]}),delete xr.direction;var sn=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(sn=g.createElement(this.props.itemIcon,this.props)),g.createElement("li",Object(C.a)({},Object(z.a)(xr,["onClick","onMouseEnter","onMouseLeave","onSelect"]),jr,Ur,{style:pn,ref:this.saveNode}),xr.children,sn)}}]),Qr}(g.Component);fi.isMenuItem=!0,fi.defaultProps={onSelect:re,onMouseEnter:re,onMouseLeave:re,manualRef:re};var mi=Object(H.b)(function(pr,Dr){var Qr=pr.activeKey,Nr=pr.selectedKeys,Xt=Dr.eventKey,xr=Dr.subMenuKey;return{active:Qr[xr]===Xt,isSelected:Array.isArray(Nr)?Nr.indexOf(Xt)!==-1:Nr===Xt}})(fi),Ki=mi,ia=function(pr){Object(B.a)(Qr,pr);var Dr=Object(P.a)(Qr);function Qr(){var Nr;return Object(I.a)(this,Qr),Nr=Dr.apply(this,arguments),Nr.renderInnerMenuItem=function(Xt){var xr=Nr.props,er=xr.renderMenuItem,jr=xr.index;return er(Xt,jr,Nr.props.subMenuKey)},Nr}return Object(L.a)(Qr,[{key:"render",value:function(){var Xt=Object(C.a)({},this.props),xr=Xt.className,er=xr===void 0?"":xr,jr=Xt.rootPrefixCls,Ur="".concat(jr,"-item-group-title"),pn="".concat(jr,"-item-group-list"),sn=Xt.title,vn=Xt.children;return Ie.forEach(function(Un){return delete Xt[Un]}),delete Xt.direction,g.createElement("li",Object(C.a)({},Xt,{onClick:function(Qn){return Qn.stopPropagation()},className:"".concat(er," ").concat(jr,"-item-group")}),g.createElement("div",{className:Ur,title:typeof sn=="string"?sn:void 0},sn),g.createElement("ul",{className:pn},g.Children.map(vn,this.renderInnerMenuItem)))}}]),Qr}(g.Component);ia.isMenuItemGroup=!0,ia.defaultProps={disabled:!0};var qi=ia,Ra=function(Dr){var Qr=Dr.className,Nr=Dr.rootPrefixCls,Xt=Dr.style;return g.createElement("li",{className:"".concat(Qr," ").concat(Nr,"-item-divider"),style:Xt})};Ra.defaultProps={disabled:!0,className:"",style:{}};var pi=Ra,ln=di,Oi=t("eDIo");function Ji(pr,Dr){var Qr=pr.prefixCls,Nr=pr.editable,Xt=pr.locale,xr=pr.style;return!Nr||Nr.showAdd===!1?null:g.createElement("button",{ref:Dr,type:"button",className:"".concat(Qr,"-nav-add"),style:xr,"aria-label":(Xt==null?void 0:Xt.addAriaLabel)||"Add tab",onClick:function(jr){Nr.onEdit("add",{event:jr})}},Nr.addIcon||"+")}var Pi=g.forwardRef(Ji);function aa(pr,Dr){var Qr=pr.prefixCls,Nr=pr.id,Xt=pr.tabs,xr=pr.locale,er=pr.mobile,jr=pr.moreIcon,Ur=jr===void 0?"More":jr,pn=pr.moreTransitionName,sn=pr.style,vn=pr.className,Un=pr.editable,Qn=pr.tabBarGutter,$n=pr.rtl,wi=pr.onTabClick,ra=Object(g.useState)(!1),ua=Object(d.a)(ra,2),da=ua[0],sa=ua[1],fa=Object(g.useState)(null),Wi=Object(d.a)(fa,2),Di=Wi[0],na=Wi[1],Zi="".concat(Nr,"-more-popup"),ba="".concat(Qr,"-dropdown"),Ta=Di!==null?"".concat(Zi,"-").concat(Di):null,$i=xr==null?void 0:xr.dropdownAriaLabel,Vi=g.createElement(ln,{onClick:function(Pa){var Ha=Pa.key,za=Pa.domEvent;wi(Ha,za),sa(!1)},id:Zi,tabIndex:-1,role:"listbox","aria-activedescendant":Ta,selectedKeys:[Di],"aria-label":$i!==void 0?$i:"expanded dropdown"},Xt.map(function(Na){return g.createElement(Ki,{key:Na.key,id:"".concat(Zi,"-").concat(Na.key),role:"option","aria-controls":Nr&&"".concat(Nr,"-panel-").concat(Na.key),disabled:Na.disabled},Na.tab)}));function La(Na){for(var Pa=Xt.filter(function(ao){return!ao.disabled}),Ha=Pa.findIndex(function(ao){return ao.key===Di})||0,za=Pa.length,wa=0;waEa?(ga=Vi,Zi.current="x"):(ga=La,Zi.current="y");var Da=Date.now();Da-Di.current>100&&(na.current=!1),(Dr(-ga,-ga)||na.current)&&($i.preventDefault(),na.current=!0),Di.current=Da}var Ta=Object(g.useRef)(null);Ta.current={onTouchStart:sa,onTouchMove:fa,onTouchEnd:Wi,onWheel:ba},g.useEffect(function(){function $i(Ti){Ta.current.onTouchStart(Ti)}function Vi(Ti){Ta.current.onTouchMove(Ti)}function La(Ti){Ta.current.onTouchEnd(Ti)}function ga(Ti){Ta.current.onWheel(Ti)}return document.addEventListener("touchmove",Vi,{passive:!1}),document.addEventListener("touchend",La,{passive:!1}),pr.current.addEventListener("touchstart",$i,{passive:!1}),pr.current.addEventListener("wheel",ga),function(){document.removeEventListener("touchmove",Vi),document.removeEventListener("touchend",La)}},[])}function Lr(){var pr=Object(g.useRef)(new Map);function Dr(Nr){return pr.current.has(Nr)||pr.current.set(Nr,g.createRef()),pr.current.get(Nr)}function Qr(Nr){pr.current.delete(Nr)}return[Dr,Qr]}function Fr(pr,Dr){var Qr=g.useRef(pr),Nr=g.useState({}),Xt=Object(d.a)(Nr,2),xr=Xt[1];function er(jr){var Ur=typeof jr=="function"?jr(Qr.current):jr;Ur!==Qr.current&&Dr(Ur,Qr.current),Qr.current=Ur,xr({})}return[Qr.current,er]}var Kr=function(Dr){var Qr=Dr.position,Nr=Dr.prefixCls,Xt=Dr.extra;if(!Xt)return null;var xr,er=Xt;return Qr==="right"&&(xr=er.right||!er.left&&er||null),Qr==="left"&&(xr=er.left||null),xr?g.createElement("div",{className:"".concat(Nr,"-extra-content")},xr):null};function nn(pr,Dr){var Qr,Nr=g.useContext(Gr),Xt=Nr.prefixCls,xr=Nr.tabs,er=pr.className,jr=pr.style,Ur=pr.id,pn=pr.animated,sn=pr.activeKey,vn=pr.rtl,Un=pr.extra,Qn=pr.editable,$n=pr.locale,wi=pr.tabPosition,ra=pr.tabBarGutter,ua=pr.children,da=pr.onTabClick,sa=pr.onTabScroll,fa=Object(g.useRef)(),Wi=Object(g.useRef)(),Di=Object(g.useRef)(),na=Object(g.useRef)(),Zi=Lr(),ba=Object(d.a)(Zi,2),Ta=ba[0],$i=ba[1],Vi=wi==="top"||wi==="bottom",La=Fr(0,function(ge,Fe){Vi&&sa&&sa({direction:ge>Fe?"left":"right"})}),ga=Object(d.a)(La,2),Ti=ga[0],Ea=ga[1],Da=Fr(0,function(ge,Fe){!Vi&&sa&&sa({direction:ge>Fe?"top":"bottom"})}),Na=Object(d.a)(Da,2),Pa=Na[0],Ha=Na[1],za=Object(g.useState)(0),wa=Object(d.a)(za,2),Ka=wa[0],ao=wa[1],ea=Object(g.useState)(0),lo=Object(d.a)(ea,2),Ya=lo[0],Sa=lo[1],Ja=Object(g.useState)(0),Ma=Object(d.a)(Ja,2),ka=Ma[0],yo=Ma[1],to=Object(g.useState)(0),_o=Object(d.a)(to,2),co=_o[0],uo=_o[1],Qa=Object(g.useState)(null),Za=Object(d.a)(Qa,2),Ca=Za[0],no=Za[1],fo=Object(g.useState)(null),Bi=Object(d.a)(fo,2),Ia=Bi[0],Vo=Bi[1],Uo=Object(g.useState)(0),Xo=Object(d.a)(Uo,2),Yo=Xo[0],bo=Xo[1],Oa=Object(g.useState)(0),Fo=Object(d.a)(Oa,2),ss=Fo[0],ho=Fo[1],Oo=A(new Map),Fa=Object(d.a)(Oo,2),Qo=Fa[0],el=Fa[1],Es=T(xr,Qo,Ka),Ns="".concat(Xt,"-nav-operations-hidden"),Cs=0,As=0;Vi?vn?(Cs=0,As=Math.max(0,Ka-Ca)):(Cs=Math.min(0,Ca-Ka),As=0):(Cs=Math.min(0,Ia-Ya),As=0);function vs(ge){return geAs?[As,!1]:[ge,!0]}var jo=Object(g.useRef)(),go=Object(g.useState)(),es=Object(d.a)(go,2),Ho=es[0],Go=es[1];function zr(){Go(Date.now())}function Bo(){window.clearTimeout(jo.current)}rr(fa,function(ge,Fe){var ct=!1;function Tt(br,Ir){br(function($r){var Cn=vs($r+Ir),Wn=Object(d.a)(Cn,2),si=Wn[0],Ei=Wn[1];return ct=Ei,si})}if(Vi){if(Ca>=Ka)return ct;Tt(Ea,ge)}else{if(Ia>=Ya)return ct;Tt(Ha,Fe)}return Bo(),zr(),ct}),Object(g.useEffect)(function(){return Bo(),Ho&&(jo.current=window.setTimeout(function(){Go(0)},100)),Bo},[Ho]);function tl(){var ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:sn,Fe=Es.get(ge);if(!Fe)return;if(Vi){var ct=Ti;vn?Fe.rightTi+Ca&&(ct=Fe.right+Fe.width-Ca):Fe.left<-Ti?ct=-Fe.left:Fe.left+Fe.width>-Ti+Ca&&(ct=-(Fe.left+Fe.width-Ca)),Ha(0),Ea(vs(ct)[0])}else{var Tt=Pa;Fe.top<-Pa?Tt=-Fe.top:Fe.top+Fe.height>-Pa+Ia&&(Tt=-(Fe.top+Fe.height-Ia)),Ea(0),Ha(vs(Tt)[0])}}var Ks=x(Es,{width:Ca,height:Ia,left:Ti,top:Pa},{width:ka,height:co},{width:Yo,height:ss},Object(a.a)(Object(a.a)({},pr),{},{tabs:xr})),Ps=Object(d.a)(Ks,2),io=Ps[0],Ao=Ps[1],Jo=xr.map(function(ge){var Fe=ge.key;return g.createElement(b,{id:Ur,prefixCls:Xt,key:Fe,rtl:vn,tab:ge,closable:ge.closable,editable:Qn,active:Fe===sn,tabPosition:wi,tabBarGutter:ra,renderWrapper:ua,removeAriaLabel:$n==null?void 0:$n.removeAriaLabel,ref:Ta(Fe),onClick:function(Tt){da(Fe,Tt)},onRemove:function(){$i(Fe)},onFocus:function(){tl(Fe),zr(),vn||(fa.current.scrollLeft=0),fa.current.scrollTop=0}})}),ns=h(function(){var ge,Fe,ct,Tt,br,Ir,$r,Cn,Wn,si=((ge=fa.current)===null||ge===void 0?void 0:ge.offsetWidth)||0,Ei=((Fe=fa.current)===null||Fe===void 0?void 0:Fe.offsetHeight)||0,zi=((ct=na.current)===null||ct===void 0?void 0:ct.offsetWidth)||0,la=((Tt=na.current)===null||Tt===void 0?void 0:Tt.offsetHeight)||0,va=((br=Di.current)===null||br===void 0?void 0:br.offsetWidth)||0,$a=((Ir=Di.current)===null||Ir===void 0?void 0:Ir.offsetHeight)||0;no(si),Vo(Ei),bo(zi),ho(la);var eo=((($r=Wi.current)===null||$r===void 0?void 0:$r.offsetWidth)||0)-zi,ro=(((Cn=Wi.current)===null||Cn===void 0?void 0:Cn.offsetHeight)||0)-la;ao(eo),Sa(ro);var Lo=(Wn=Di.current)===null||Wn===void 0?void 0:Wn.className.includes(Ns);yo(eo-(Lo?0:va)),uo(ro-(Lo?0:$a)),el(function(){var Eo=new Map;return xr.forEach(function(Gi){var po=Gi.key,wo=Ta(po).current;wo&&Eo.set(po,{width:wo.offsetWidth,height:wo.offsetHeight,left:wo.offsetLeft,top:wo.offsetTop})}),Eo})}),ys=xr.slice(0,io),ps=xr.slice(Ao+1),Ls=[].concat(Object(l.a)(ys),Object(l.a)(ps)),il=Object(g.useState)(),Rs=Object(d.a)(il,2),Ws=Rs[0],ks=Rs[1],ms=Es.get(sn),Ms=Object(g.useRef)();function yt(){s.a.cancel(Ms.current)}Object(g.useEffect)(function(){var ge={};return ms&&(Vi?(vn?ge.right=ms.right:ge.left=ms.left,ge.width=ms.width):(ge.top=ms.top,ge.height=ms.height)),yt(),Ms.current=s()(function(){ks(ge)}),yt},[ms,Vi,vn]),Object(g.useEffect)(function(){tl()},[sn,ms,Es,Vi]),Object(g.useEffect)(function(){ns()},[vn,ra,sn,xr.map(function(ge){return ge.key}).join("_")]);var Dt=!!Ls.length,tn="".concat(Xt,"-nav-wrap"),On,ft,$,he;return Vi?vn?(ft=Ti>0,On=Ti+Ca0&&arguments[0]!==void 0?arguments[0]:"";return H+=1,"".concat(z).concat(H)}}(),B=function(H){n()(M,H);var z=o()(M);function M(U){var k;f()(this,M),k=z.call(this,U),k.responsiveHandler=function(V){k.setState({below:V.matches});var W=k.props.onBreakpoint,X=k.state.collapsed;W&&W(V.matches),X!==V.matches&&k.setCollapsed(V.matches,"responsive")},k.setCollapsed=function(V,W){"collapsed"in k.props||k.setState({collapsed:V});var X=k.props.onCollapse;X&&X(V,W)},k.toggle=function(){var V=!k.state.collapsed;k.setCollapsed(V,"clickTrigger")},k.renderSider=function(V){var W,X=V.getPrefixCls,J=k.props,de=J.prefixCls,G=J.className,ae=J.theme,Ae=J.collapsible,me=J.reverseArrow,Me=J.trigger,oe=J.style,_e=J.width,ee=J.collapsedWidth,ne=J.zeroWidthTriggerStyle,Ge=J.children,Ee=C(J,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle","children"]),ue=k.state,re=ue.collapsed,ce=ue.below,ke=X("layout-sider",de),Te=Object(s.default)(Ee,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),Ke=re?ee:_e,Ie=x(Ke)?"".concat(Ke,"px"):String(Ke),se=parseFloat(String(ee||0))===0?r.createElement("span",{onClick:k.toggle,className:e()("".concat(ke,"-zero-width-trigger"),"".concat(ke,"-zero-width-trigger-").concat(me?"right":"left")),style:ne},Me||r.createElement(h.a,null)):null,ye={expanded:me?r.createElement(v.a,null):r.createElement(b.a,null),collapsed:me?r.createElement(b.a,null):r.createElement(v.a,null)},xe=re?"collapsed":"expanded",Ye=ye[xe],pt=Me!==null?se||r.createElement("div",{className:"".concat(ke,"-trigger"),onClick:k.toggle,style:{width:Ie}},Me||Ye):null,nt=m()(m()({},oe),{flex:"0 0 ".concat(Ie),maxWidth:Ie,minWidth:Ie,width:Ie}),Oe=e()(G,ke,"".concat(ke,"-").concat(ae),(W={},p()(W,"".concat(ke,"-collapsed"),!!re),p()(W,"".concat(ke,"-has-trigger"),Ae&&Me!==null&&!se),p()(W,"".concat(ke,"-below"),!!ce),p()(W,"".concat(ke,"-zero-width"),parseFloat(Ie)===0),W));return r.createElement("aside",m()({className:Oe},Te,{style:nt}),r.createElement("div",{className:"".concat(ke,"-children")},Ge),Ae||ce&&se?pt:null)},k.uniqueId=F("ant-sider-");var K;typeof window!="undefined"&&(K=window.matchMedia),K&&U.breakpoint&&U.breakpoint in I&&(k.mql=K("(max-width: ".concat(I[U.breakpoint],")")));var j;return"collapsed"in U?j=U.collapsed:j=U.defaultCollapsed,k.state={collapsed:j,below:!1},k}return c()(M,[{key:"componentDidMount",value:function(){var k;this.mql&&(this.mql.addListener(this.responsiveHandler),this.responsiveHandler(this.mql)),(k=this.props)===null||k===void 0||k.siderHook.addSider(this.uniqueId)}},{key:"componentWillUnmount",value:function(){var k,K;(k=this===null||this===void 0?void 0:this.mql)===null||k===void 0||k.removeListener(this.responsiveHandler),(K=this.props)===null||K===void 0||K.siderHook.removeSider(this.uniqueId)}},{key:"render",value:function(){var k=this.state.collapsed,K=this.props.collapsedWidth;return r.createElement(L.Provider,{value:{siderCollapsed:k,collapsedWidth:K}},r.createElement(T.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(k){return"collapsed"in k?{collapsed:k.collapsed}:null}}]),M}(r.Component);B.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"};var P=function(H){n()(M,H);var z=o()(M);function M(){return f()(this,M),z.apply(this,arguments)}return c()(M,[{key:"render",value:function(){var k=this;return r.createElement(E.a.Consumer,null,function(K){return r.createElement(B,m()({},K,k.props))})}}]),M}(r.Component)},ZYIC:function(R,N,t){var y=t("zM3Q"),p={seriesType:"lines",plan:y(),reset:function(S){var m=S.coordinateSystem,g=S.get("polyline"),f=S.pipelineContext.large;function d(c,a){var n=[];if(f){var i,o=c.end-c.start;if(g){for(var r=0,l=c.start;l>1)%2;h.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",l[A]+":0",e[v]+":0",l[1-A]+":auto",e[1-v]+":auto",""].join("!important;"),i.appendChild(u),r.push(u)}return r}function a(i,o,r){for(var l=r?"invTrans":"trans",e=o[l],s=o.srcCoords,u=!0,h=[],A=[],v=0;v<4;v++){var w=i[v].getBoundingClientRect(),b=2*v,E=w.left,T=w.top;h.push(E,T),u=u&&s&&E===s[b]&&T===s[b+1],A.push(i[v].offsetLeft,i[v].offsetTop)}return u&&e?e:(o.srcCoords=h,o[l]=r?S(A,h):S(h,A))}function n(i){return i.nodeName.toUpperCase()==="CANVAS"}N.transformLocalCoord=f,N.transformCoordWithViewport=d,N.isCanvasEl=n},Znkb:function(R,N,t){var y=t("Tghj"),p=y.__DEV__,S=t("ProS"),m=t("zTMp"),g=S.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(n,i,o,r){this.axisPointerClass&&m.fixValue(n),g.superApply(this,"render",arguments),f(this,n,i,o,r,!0)},updateAxisPointer:function(n,i,o,r,l){f(this,n,i,o,r,!1)},remove:function(n,i){var o=this._axisPointer;o&&o.remove(i),g.superApply(this,"remove",arguments)},dispose:function(n,i){d(this,i),g.superApply(this,"dispose",arguments)}});function f(n,i,o,r,l,e){var s=g.getAxisPointerClass(n.axisPointerClass);if(!s)return;var u=m.getAxisPointerModel(i);u?(n._axisPointer||(n._axisPointer=new s)).render(i,u,r,e):d(n,r)}function d(n,i,o){var r=n._axisPointer;r&&r.dispose(i,o),n._axisPointer=null}var c=[];g.registerAxisPointerClass=function(n,i){c[n]=i},g.getAxisPointerClass=function(n){return n&&c[n]};var a=g;R.exports=a},"Znn+":function(R,N,t){"use strict";var y=t("cIOH"),p=t.n(y),S=t("9ama"),m=t.n(S)},ZqQs:function(R,N,t){var y=t("bYtY");function p(f){var d=f&&f.timeline;y.isArray(d)||(d=d?[d]:[]),y.each(d,function(c){if(!c)return;S(c)})}function S(f){var d=f.type,c={number:"value",time:"time"};if(c[d]&&(f.axisType=c[d],delete f.type),m(f),g(f,"controlPosition")){var a=f.controlStyle||(f.controlStyle={});g(a,"position")||(a.position=f.controlPosition),a.position==="none"&&!g(a,"show")&&(a.show=!1,delete a.position),delete f.controlPosition}y.each(f.data||[],function(n){y.isObject(n)&&!y.isArray(n)&&(!g(n,"value")&&g(n,"name")&&(n.value=n.name),m(n))})}function m(f){var d=f.itemStyle||(f.itemStyle={}),c=d.emphasis||(d.emphasis={}),a=f.label||f.label||{},n=a.normal||(a.normal={}),i={normal:1,emphasis:1};y.each(a,function(o,r){!i[r]&&!g(n,r)&&(n[r]=o)}),c.label&&!g(a,"emphasis")&&(a.emphasis=c.label,delete c.label)}function g(f,d){return f.hasOwnProperty(d)}R.exports=p},Zss7:function(R,N,t){var y;(function(p){var S=/^\s+/,m=/\s+$/,g=0,f=p.round,d=p.min,c=p.max,a=p.random;function n(oe,_e){if(oe=oe||"",_e=_e||{},oe instanceof n)return oe;if(!(this instanceof n))return new n(oe,_e);var ee=i(oe);this._originalInput=oe,this._r=ee.r,this._g=ee.g,this._b=ee.b,this._a=ee.a,this._roundA=f(100*this._a)/100,this._format=_e.format||ee.format,this._gradientType=_e.gradientType,this._r<1&&(this._r=f(this._r)),this._g<1&&(this._g=f(this._g)),this._b<1&&(this._b=f(this._b)),this._ok=ee.ok,this._tc_id=g++}n.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var _e=this.toRgb();return(_e.r*299+_e.g*587+_e.b*114)/1e3},getLuminance:function(){var _e=this.toRgb(),ee,ne,Ge,Ee,ue,re;return ee=_e.r/255,ne=_e.g/255,Ge=_e.b/255,ee<=.03928?Ee=ee/12.92:Ee=p.pow((ee+.055)/1.055,2.4),ne<=.03928?ue=ne/12.92:ue=p.pow((ne+.055)/1.055,2.4),Ge<=.03928?re=Ge/12.92:re=p.pow((Ge+.055)/1.055,2.4),.2126*Ee+.7152*ue+.0722*re},setAlpha:function(_e){return this._a=U(_e),this._roundA=f(100*this._a)/100,this},toHsv:function(){var _e=e(this._r,this._g,this._b);return{h:_e.h*360,s:_e.s,v:_e.v,a:this._a}},toHsvString:function(){var _e=e(this._r,this._g,this._b),ee=f(_e.h*360),ne=f(_e.s*100),Ge=f(_e.v*100);return this._a==1?"hsv("+ee+", "+ne+"%, "+Ge+"%)":"hsva("+ee+", "+ne+"%, "+Ge+"%, "+this._roundA+")"},toHsl:function(){var _e=r(this._r,this._g,this._b);return{h:_e.h*360,s:_e.s,l:_e.l,a:this._a}},toHslString:function(){var _e=r(this._r,this._g,this._b),ee=f(_e.h*360),ne=f(_e.s*100),Ge=f(_e.l*100);return this._a==1?"hsl("+ee+", "+ne+"%, "+Ge+"%)":"hsla("+ee+", "+ne+"%, "+Ge+"%, "+this._roundA+")"},toHex:function(_e){return u(this._r,this._g,this._b,_e)},toHexString:function(_e){return"#"+this.toHex(_e)},toHex8:function(_e){return h(this._r,this._g,this._b,this._a,_e)},toHex8String:function(_e){return"#"+this.toHex8(_e)},toRgb:function(){return{r:f(this._r),g:f(this._g),b:f(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+f(this._r)+", "+f(this._g)+", "+f(this._b)+")":"rgba("+f(this._r)+", "+f(this._g)+", "+f(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:f(k(this._r,255)*100)+"%",g:f(k(this._g,255)*100)+"%",b:f(k(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+f(k(this._r,255)*100)+"%, "+f(k(this._g,255)*100)+"%, "+f(k(this._b,255)*100)+"%)":"rgba("+f(k(this._r,255)*100)+"%, "+f(k(this._g,255)*100)+"%, "+f(k(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:z[u(this._r,this._g,this._b,!0)]||!1},toFilter:function(_e){var ee="#"+A(this._r,this._g,this._b,this._a),ne=ee,Ge=this._gradientType?"GradientType = 1, ":"";if(_e){var Ee=n(_e);ne="#"+A(Ee._r,Ee._g,Ee._b,Ee._a)}return"progid:DXImageTransform.Microsoft.gradient("+Ge+"startColorstr="+ee+",endColorstr="+ne+")"},toString:function(_e){var ee=!!_e;_e=_e||this._format;var ne=!1,Ge=this._a<1&&this._a>=0,Ee=!ee&&Ge&&(_e==="hex"||_e==="hex6"||_e==="hex3"||_e==="hex4"||_e==="hex8"||_e==="name");return Ee?_e==="name"&&this._a===0?this.toName():this.toRgbString():(_e==="rgb"&&(ne=this.toRgbString()),_e==="prgb"&&(ne=this.toPercentageRgbString()),(_e==="hex"||_e==="hex6")&&(ne=this.toHexString()),_e==="hex3"&&(ne=this.toHexString(!0)),_e==="hex4"&&(ne=this.toHex8String(!0)),_e==="hex8"&&(ne=this.toHex8String()),_e==="name"&&(ne=this.toName()),_e==="hsl"&&(ne=this.toHslString()),_e==="hsv"&&(ne=this.toHsvString()),ne||this.toHexString())},clone:function(){return n(this.toString())},_applyModification:function(_e,ee){var ne=_e.apply(null,[this].concat([].slice.call(ee)));return this._r=ne._r,this._g=ne._g,this._b=ne._b,this.setAlpha(ne._a),this},lighten:function(){return this._applyModification(E,arguments)},brighten:function(){return this._applyModification(T,arguments)},darken:function(){return this._applyModification(_,arguments)},desaturate:function(){return this._applyModification(v,arguments)},saturate:function(){return this._applyModification(w,arguments)},greyscale:function(){return this._applyModification(b,arguments)},spin:function(){return this._applyModification(x,arguments)},_applyCombination:function(_e,ee){return _e.apply(null,[this].concat([].slice.call(ee)))},analogous:function(){return this._applyCombination(B,arguments)},complement:function(){return this._applyCombination(C,arguments)},monochromatic:function(){return this._applyCombination(P,arguments)},splitcomplement:function(){return this._applyCombination(F,arguments)},triad:function(){return this._applyCombination(I,arguments)},tetrad:function(){return this._applyCombination(L,arguments)}},n.fromRatio=function(oe,_e){if(typeof oe=="object"){var ee={};for(var ne in oe)oe.hasOwnProperty(ne)&&(ne==="a"?ee[ne]=oe[ne]:ee[ne]=J(oe[ne]));oe=ee}return n(oe,_e)};function i(oe){var _e={r:0,g:0,b:0},ee=1,ne=null,Ge=null,Ee=null,ue=!1,re=!1;return typeof oe=="string"&&(oe=me(oe)),typeof oe=="object"&&(Ae(oe.r)&&Ae(oe.g)&&Ae(oe.b)?(_e=o(oe.r,oe.g,oe.b),ue=!0,re=String(oe.r).substr(-1)==="%"?"prgb":"rgb"):Ae(oe.h)&&Ae(oe.s)&&Ae(oe.v)?(ne=J(oe.s),Ge=J(oe.v),_e=s(oe.h,ne,Ge),ue=!0,re="hsv"):Ae(oe.h)&&Ae(oe.s)&&Ae(oe.l)&&(ne=J(oe.s),Ee=J(oe.l),_e=l(oe.h,ne,Ee),ue=!0,re="hsl"),oe.hasOwnProperty("a")&&(ee=oe.a)),ee=U(ee),{ok:ue,format:oe.format||re,r:d(255,c(_e.r,0)),g:d(255,c(_e.g,0)),b:d(255,c(_e.b,0)),a:ee}}function o(oe,_e,ee){return{r:k(oe,255)*255,g:k(_e,255)*255,b:k(ee,255)*255}}function r(oe,_e,ee){oe=k(oe,255),_e=k(_e,255),ee=k(ee,255);var ne=c(oe,_e,ee),Ge=d(oe,_e,ee),Ee,ue,re=(ne+Ge)/2;if(ne==Ge)Ee=ue=0;else{var ce=ne-Ge;ue=re>.5?ce/(2-ne-Ge):ce/(ne+Ge);switch(ne){case oe:Ee=(_e-ee)/ce+(_e1&&(Ke-=1),Ke<1/6?ke+(Te-ke)*6*Ke:Ke<1/2?Te:Ke<2/3?ke+(Te-ke)*(2/3-Ke)*6:ke}if(_e===0)ne=Ge=Ee=ee;else{var re=ee<.5?ee*(1+_e):ee+_e-ee*_e,ce=2*ee-re;ne=ue(ce,re,oe+1/3),Ge=ue(ce,re,oe),Ee=ue(ce,re,oe-1/3)}return{r:ne*255,g:Ge*255,b:Ee*255}}function e(oe,_e,ee){oe=k(oe,255),_e=k(_e,255),ee=k(ee,255);var ne=c(oe,_e,ee),Ge=d(oe,_e,ee),Ee,ue,re=ne,ce=ne-Ge;if(ue=ne===0?0:ce/ne,ne==Ge)Ee=0;else{switch(ne){case oe:Ee=(_e-ee)/ce+(_e>1)+720)%360;--_e;)ne.h=(ne.h+Ge)%360,Ee.push(n(ne));return Ee}function P(oe,_e){_e=_e||6;for(var ee=n(oe).toHsv(),ne=ee.h,Ge=ee.s,Ee=ee.v,ue=[],re=1/_e;_e--;)ue.push(n({h:ne,s:Ge,v:Ee})),Ee=(Ee+re)%1;return ue}n.mix=function(oe,_e,ee){ee=ee===0?0:ee||50;var ne=n(oe).toRgb(),Ge=n(_e).toRgb(),Ee=ee/100,ue={r:(Ge.r-ne.r)*Ee+ne.r,g:(Ge.g-ne.g)*Ee+ne.g,b:(Ge.b-ne.b)*Ee+ne.b,a:(Ge.a-ne.a)*Ee+ne.a};return n(ue)},n.readability=function(oe,_e){var ee=n(oe),ne=n(_e);return(p.max(ee.getLuminance(),ne.getLuminance())+.05)/(p.min(ee.getLuminance(),ne.getLuminance())+.05)},n.isReadable=function(oe,_e,ee){var ne=n.readability(oe,_e),Ge,Ee;Ee=!1,Ge=Me(ee);switch(Ge.level+Ge.size){case"AAsmall":case"AAAlarge":Ee=ne>=4.5;break;case"AAlarge":Ee=ne>=3;break;case"AAAsmall":Ee=ne>=7;break}return Ee},n.mostReadable=function(oe,_e,ee){var ne=null,Ge=0,Ee,ue,re,ce;ee=ee||{},ue=ee.includeFallbackColors,re=ee.level,ce=ee.size;for(var ke=0;ke<_e.length;ke++)Ee=n.readability(oe,_e[ke]),Ee>Ge&&(Ge=Ee,ne=n(_e[ke]));return n.isReadable(oe,ne,{level:re,size:ce})||!ue?ne:(ee.includeFallbackColors=!1,n.mostReadable(oe,["#fff","#000"],ee))};var H=n.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",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:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",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:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",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:"f00",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:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},z=n.hexNames=M(H);function M(oe){var _e={};for(var ee in oe)oe.hasOwnProperty(ee)&&(_e[oe[ee]]=ee);return _e}function U(oe){return oe=parseFloat(oe),(isNaN(oe)||oe<0||oe>1)&&(oe=1),oe}function k(oe,_e){V(oe)&&(oe="100%");var ee=W(oe);return oe=d(_e,c(0,parseFloat(oe))),ee&&(oe=parseInt(oe*_e,10)/100),p.abs(oe-_e)<1e-6?1:oe%_e/parseFloat(_e)}function K(oe){return d(1,c(0,oe))}function j(oe){return parseInt(oe,16)}function V(oe){return typeof oe=="string"&&oe.indexOf(".")!=-1&&parseFloat(oe)===1}function W(oe){return typeof oe=="string"&&oe.indexOf("%")!=-1}function X(oe){return oe.length==1?"0"+oe:""+oe}function J(oe){return oe<=1&&(oe=oe*100+"%"),oe}function de(oe){return p.round(parseFloat(oe)*255).toString(16)}function G(oe){return j(oe)/255}var ae=function(){var oe="[-\\+]?\\d+%?",_e="[-\\+]?\\d*\\.\\d+%?",ee="(?:"+_e+")|(?:"+oe+")",ne="[\\s|\\(]+("+ee+")[,|\\s]+("+ee+")[,|\\s]+("+ee+")\\s*\\)?",Ge="[\\s|\\(]+("+ee+")[,|\\s]+("+ee+")[,|\\s]+("+ee+")[,|\\s]+("+ee+")\\s*\\)?";return{CSS_UNIT:new RegExp(ee),rgb:new RegExp("rgb"+ne),rgba:new RegExp("rgba"+Ge),hsl:new RegExp("hsl"+ne),hsla:new RegExp("hsla"+Ge),hsv:new RegExp("hsv"+ne),hsva:new RegExp("hsva"+Ge),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 Ae(oe){return!!ae.CSS_UNIT.exec(oe)}function me(oe){oe=oe.replace(S,"").replace(m,"").toLowerCase();var _e=!1;if(H[oe])oe=H[oe],_e=!0;else if(oe=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var ee;return(ee=ae.rgb.exec(oe))?{r:ee[1],g:ee[2],b:ee[3]}:(ee=ae.rgba.exec(oe))?{r:ee[1],g:ee[2],b:ee[3],a:ee[4]}:(ee=ae.hsl.exec(oe))?{h:ee[1],s:ee[2],l:ee[3]}:(ee=ae.hsla.exec(oe))?{h:ee[1],s:ee[2],l:ee[3],a:ee[4]}:(ee=ae.hsv.exec(oe))?{h:ee[1],s:ee[2],v:ee[3]}:(ee=ae.hsva.exec(oe))?{h:ee[1],s:ee[2],v:ee[3],a:ee[4]}:(ee=ae.hex8.exec(oe))?{r:j(ee[1]),g:j(ee[2]),b:j(ee[3]),a:G(ee[4]),format:_e?"name":"hex8"}:(ee=ae.hex6.exec(oe))?{r:j(ee[1]),g:j(ee[2]),b:j(ee[3]),format:_e?"name":"hex"}:(ee=ae.hex4.exec(oe))?{r:j(ee[1]+""+ee[1]),g:j(ee[2]+""+ee[2]),b:j(ee[3]+""+ee[3]),a:G(ee[4]+""+ee[4]),format:_e?"name":"hex8"}:(ee=ae.hex3.exec(oe))?{r:j(ee[1]+""+ee[1]),g:j(ee[2]+""+ee[2]),b:j(ee[3]+""+ee[3]),format:_e?"name":"hex"}:!1}function Me(oe){var _e,ee;return oe=oe||{level:"AA",size:"small"},_e=(oe.level||"AA").toUpperCase(),ee=(oe.size||"small").toLowerCase(),_e!=="AA"&&_e!=="AAA"&&(_e="AA"),ee!=="small"&&ee!=="large"&&(ee="small"),{level:_e,size:ee}}R.exports?R.exports=n:!(y=function(){return n}.call(N,t,N,R),y!==void 0&&(R.exports=y))})(Math)},Zvw2:function(R,N,t){var y=t("bYtY"),p=t("hM6l"),S=function(g,f,d,c,a){p.call(this,g,f,d),this.type=c||"value",this.position=a||"bottom",this.orient=null};S.prototype={constructor:S,model:null,isHorizontal:function(){var g=this.position;return g==="top"||g==="bottom"},pointToData:function(g,f){return this.coordinateSystem.pointToData(g,f)[0]},toGlobalCoord:null,toLocalCoord:null},y.inherits(S,p);var m=S;R.exports=m},a7Wl:function(R,N,t){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var y={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"};N.default=y},a9QJ:function(R,N){var t={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function y(p,S){if(p==="world"){var m=t[S.name];if(m){var g=S.center;g[0]=m[0],g[1]=m[1]}}}R.exports=y},aCH8:function(R,N,t){(function(){var y=t("ANhw"),p=t("mmNF").utf8,S=t("BEtg"),m=t("mmNF").bin,g=function f(d,c){d.constructor==String?c&&c.encoding==="binary"?d=m.stringToBytes(d):d=p.stringToBytes(d):S(d)?d=Array.prototype.slice.call(d,0):!Array.isArray(d)&&d.constructor!==Uint8Array&&(d=d.toString());for(var a=y.bytesToWords(d),n=d.length*8,i=1732584193,o=-271733879,r=-1732584194,l=271733878,e=0;e>>24)&16711935|(a[e]<<24|a[e]>>>8)&4278255360;a[n>>>5]|=128<>>9<<4)+14]=n;for(var s=f._ff,u=f._gg,h=f._hh,A=f._ii,e=0;e>>0,o=o+w>>>0,r=r+b>>>0,l=l+E>>>0}return y.endian([i,o,r,l])};g._ff=function(f,d,c,a,n,i,o){var r=f+(d&c|~d&a)+(n>>>0)+o;return(r<>>32-i)+d},g._gg=function(f,d,c,a,n,i,o){var r=f+(d&a|c&~a)+(n>>>0)+o;return(r<>>32-i)+d},g._hh=function(f,d,c,a,n,i,o){var r=f+(d^c^a)+(n>>>0)+o;return(r<>>32-i)+d},g._ii=function(f,d,c,a,n,i,o){var r=f+(c^(d|~a))+(n>>>0)+o;return(r<>>32-i)+d},g._blocksize=16,g._digestsize=16,R.exports=function(f,d){if(f==null)throw new Error("Illegal argument "+f);var c=y.wordsToBytes(g(f,d));return d&&d.asBytes?c:d&&d.asString?m.bytesToString(c):y.bytesToHex(c)}})()},aHsQ:function(R,N,t){"use strict";var y=t("cIOH"),p=t.n(y),S=t("6D9b"),m=t.n(S)},aKvl:function(R,N,t){var y=t("Sj9i"),p=y.quadraticProjectPoint;function S(m,g,f,d,c,a,n,i,o){if(n===0)return!1;var r=n;if(o>g+r&&o>d+r&&o>a+r||om+r&&i>f+r&&i>c+r||i0&&I>0&&!H&&(C=0),C<0&&I<0&&!z&&(I=0));var M=_.ecModel;if(M&&x==="time"){var U=a("bar",M),k;if(S.each(U,function(V){k|=V.getBaseAxis()===_.axis}),k){var K=n(U),j=l(C,I,_,K);C=j.min,I=j.max}}return{extent:[C,I],fixMin:H,fixMax:z}}function l(T,_,x,C){var I=x.axis.getExtent(),L=I[1]-I[0],F=i(C,x.axis);if(F===void 0)return{min:T,max:_};var B=Infinity;S.each(F,function(k){B=Math.min(k.offset,B)});var P=-Infinity;S.each(F,function(k){P=Math.max(k.offset+k.width,P)}),B=Math.abs(B),P=Math.abs(P);var H=B+P,z=_-T,M=1-(B+P)/L,U=z/M-z;return _+=U*(P/H),T-=U*(B/H),{min:T,max:_}}function e(T,_){var x=r(T,_),C=x.extent,I=_.get("splitNumber");T.type==="log"&&(T.base=_.get("logBase"));var L=T.type;T.setExtent(C[0],C[1]),T.niceExtent({splitNumber:I,fixMin:x.fixMin,fixMax:x.fixMax,minInterval:L==="interval"||L==="time"?_.get("minInterval"):null,maxInterval:L==="interval"||L==="time"?_.get("maxInterval"):null});var F=_.get("interval");F!=null&&(T.setInterval&&T.setInterval(F))}function s(T,_){if(_=_||T.get("type"),_)switch(_){case"category":return new m(T.getOrdinalMeta?T.getOrdinalMeta():T.getCategories(),[Infinity,-Infinity]);case"value":return new g;default:return(f.getClass(_)||g).create(T)}}function u(T){var _=T.scale.getExtent(),x=_[0],C=_[1];return!(x>0&&C>0||x<0&&C<0)}function h(T){var _=T.getLabelModel().get("formatter"),x=T.type==="category"?T.scale.getExtent()[0]:null;return typeof _=="string"?(_=function(C){return function(I){return I=T.scale.getLabel(I),C.replace("{value}",I!=null?I:"")}}(_),_):typeof _=="function"?function(C,I){return x!=null&&(I=C-x),_(A(T,C),I)}:function(C){return T.scale.getLabel(C)}}function A(T,_){return T.type==="category"?T.scale.getLabel(_):_}function v(T){var _=T.model,x=T.scale;if(!_.get("axisLabel.show")||x.isBlank())return;var C=T.type==="category",I,L,F=x.getExtent();C?L=x.count():(I=x.getTicks(),L=I.length);var B=T.getLabelModel(),P=h(T),H,z=1;L>40&&(z=Math.ceil(L/40));for(var M=0;Mj.blockIndex,X=W?j.step:null,J=V&&V.modDataCount,de=J!=null?Math.ceil(J/X):null;return{step:X,modBy:de,modDataCount:J}},s.getPipeline=function(k){return this._pipelineMap.get(k)},s.updateStreamModes=function(k,K){var j=this._pipelineMap.get(k.uid),V=k.getData(),W=V.count(),X=j.progressiveEnabled&&K.incrementalPrepareRender&&W>=j.threshold,J=k.get("large")&&W>=k.get("largeThreshold"),de=k.get("progressiveChunkMode")==="mod"?W:null;k.pipelineContext=j.context={progressiveRender:X,modDataCount:de,large:J}},s.restorePipelines=function(k){var K=this,j=K._pipelineMap=g();k.eachSeries(function(V){var W=V.getProgressive(),X=V.uid;j.set(X,{id:X,head:null,tail:null,threshold:V.getProgressiveThreshold(),progressiveEnabled:W&&!(V.preventIncremental&&V.preventIncremental()),blockIndex:-1,step:Math.round(W||700),count:0}),F(K,V,V.dataTask)})},s.prepareStageTasks=function(){var k=this._stageTaskMap,K=this.ecInstance.getModel(),j=this.api;p(this._allHandlers,function(V){var W=k.get(V.uid)||k.set(V.uid,[]);V.reset&&A(this,V,W,K,j),V.overallReset&&v(this,V,W,K,j)},this)},s.prepareView=function(k,K,j,V){var W=k.renderTask,X=W.context;X.model=K,X.ecModel=j,X.api=V,W.__block=!k.incrementalPrepareRender,F(this,K,W)},s.performDataProcessorTasks=function(k,K){u(this,this._dataProcessorHandlers,k,K,{block:!0})},s.performVisualTasks=function(k,K,j){u(this,this._visualHandlers,k,K,j)};function u(k,K,j,V,W){W=W||{};var X;p(K,function(de,G){if(W.visualType&&W.visualType!==de.visualType)return;var ae=k._stageTaskMap.get(de.uid),Ae=ae.seriesTaskMap,me=ae.overallTask;if(me){var Me,oe=me.agentStubMap;oe.each(function(ee){J(W,ee)&&(ee.dirty(),Me=!0)}),Me&&me.dirty(),h(me,V);var _e=k.getPerformArgs(me,W.block);oe.each(function(ee){ee.perform(_e)}),X|=me.perform(_e)}else Ae&&Ae.each(function(ee,ne){J(W,ee)&&ee.dirty();var Ge=k.getPerformArgs(ee,W.block);Ge.skip=!de.performRawSeries&&j.isSeriesFiltered(ee.context.model),h(ee,V),X|=ee.perform(Ge)})});function J(de,G){return de.setDirty&&(!de.dirtyMap||de.dirtyMap.get(G.__pipeline.id))}k.unfinished|=X}s.performSeriesTasks=function(k){var K;k.eachSeries(function(j){K|=j.dataTask.perform()}),this.unfinished|=K},s.plan=function(){this._pipelineMap.each(function(k){var K=k.tail;do{if(K.__block){k.blockIndex=K.__idxInPipeline;break}K=K.getUpstream()}while(K)})};var h=s.updatePayload=function(k,K){K!=="remain"&&(k.context.payload=K)};function A(k,K,j,V,W){var X=j.seriesTaskMap||(j.seriesTaskMap=g()),J=K.seriesType,de=K.getTargetSeries;K.createOnAllSeries?V.eachRawSeries(G):J?V.eachRawSeriesByType(J,G):de&&de(V,W).each(G);function G(Ae){var me=Ae.uid,Me=X.get(me)||X.set(me,c({plan:_,reset:x,count:L}));Me.context={model:Ae,ecModel:V,api:W,useClearVisual:K.isVisual&&!K.isLayout,plan:K.plan,reset:K.reset,scheduler:k},F(k,Ae,Me)}var ae=k._pipelineMap;X.each(function(Ae,me){ae.get(me)||(Ae.dispose(),X.removeKey(me))})}function v(k,K,j,V,W){var X=j.overallTask=j.overallTask||c({reset:w});X.context={ecModel:V,api:W,overallReset:K.overallReset,scheduler:k};var J=X.agentStubMap=X.agentStubMap||g(),de=K.seriesType,G=K.getTargetSeries,ae=!0,Ae=K.modifyOutputEnd;de?V.eachRawSeriesByType(de,me):G?G(V,W).each(me):(ae=!1,p(V.getSeries(),me));function me(oe){var _e=oe.uid,ee=J.get(_e);ee||(ee=J.set(_e,c({reset:b,onDirty:T})),X.dirty()),ee.context={model:oe,overallProgress:ae,modifyOutputEnd:Ae},ee.agent=X,ee.__block=ae,F(k,oe,ee)}var Me=k._pipelineMap;J.each(function(oe,_e){Me.get(_e)||(oe.dispose(),X.dirty(),J.removeKey(_e))})}function w(k){k.overallReset(k.ecModel,k.api,k.payload)}function b(k,K){return k.overallProgress&&E}function E(){this.agent.dirty(),this.getDownstream().dirty()}function T(){this.agent&&this.agent.dirty()}function _(k){return k.plan&&k.plan(k.model,k.ecModel,k.api,k.payload)}function x(k){k.useClearVisual&&k.data.clearAllVisual();var K=k.resetDefines=l(k.reset(k.model,k.ecModel,k.api,k.payload));return K.length>1?S(K,function(j,V){return I(V)}):C}var C=I(0);function I(k){return function(K,j){var V=j.data,W=j.resetDefines[k];if(W&&W.dataEach)for(var X=K.start;X=0&&!(i[l]<=a);l--);l=Math.min(l,o-2)}else{for(var l=r;la);l++);l=Math.min(l-1,o-2)}m.lerp(c.position,n[l],n[l+1],(a-i[l])/(i[l+1]-i[l]));var s=n[l+1][0]-n[l][0],u=n[l+1][1]-n[l][1];c.rotation=-Math.atan2(u,s)-Math.PI/2,this._lastFrame=l,this._lastFramePercent=a,c.ignore=!1},p.inherits(g,S);var d=g;R.exports=d},apAg:function(R,N,t){"use strict";var y=t("284h"),p=t("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=p(t("3tO9")),m=y(t("q1tI")),g=p(t("bsht")),f=p(t("KQxl")),d=function(n,i){return m.createElement(f.default,(0,S.default)((0,S.default)({},n),{},{ref:i,icon:g.default}))};d.displayName="SearchOutlined";var c=m.forwardRef(d);N.default=c},as94:function(R,N,t){var y=t("7aKB"),p=t("3LNs"),S=t("IwbS"),m=t("/y7N"),g=t("Fofx"),f=t("+rIm"),d=t("Znkb"),c=p.extend({makeElOption:function(o,r,l,e,s){var u=l.axis;u.dim==="angle"&&(this.animationThreshold=Math.PI/18);var h=u.polar,A=h.getOtherAxis(u),v=A.getExtent(),w;w=u["dataTo"+y.capitalFirst(u.dim)](r);var b=e.get("type");if(b&&b!=="none"){var E=m.buildElStyle(e),T=n[b](u,h,w,v,E);T.style=E,o.graphicKey=T.type,o.pointer=T}var _=e.get("label.margin"),x=a(r,l,e,h,_);m.buildLabelElOption(o,l,e,s,x)}});function a(o,r,l,e,s){var u=r.axis,h=u.dataToCoord(o),A=e.getAngleAxis().getExtent()[0];A=A/180*Math.PI;var v=e.getRadiusAxis().getExtent(),w,b,E;if(u.dim==="radius"){var T=g.create();g.rotate(T,T,A),g.translate(T,T,[e.cx,e.cy]),w=S.applyTransform([h,-s],T);var _=r.getModel("axisLabel").get("rotate")||0,x=f.innerTextLayout(A,_*Math.PI/180,-1);b=x.textAlign,E=x.textVerticalAlign}else{var C=v[1];w=e.coordToPoint([C+s,h]);var I=e.cx,L=e.cy;b=Math.abs(w[0]-I)/C<.3?"center":w[0]>I?"left":"right",E=Math.abs(w[1]-L)/C<.3?"middle":w[1]>L?"top":"bottom"}return{position:w,align:b,verticalAlign:E}}var n={line:function(o,r,l,e,s){return o.dim==="angle"?{type:"Line",shape:m.makeLineShape(r.coordToPoint([e[0],l]),r.coordToPoint([e[1],l]))}:{type:"Circle",shape:{cx:r.cx,cy:r.cy,r:l}}},shadow:function(o,r,l,e,s){var u=Math.max(1,o.getBandWidth()),h=Math.PI/180;return o.dim==="angle"?{type:"Sector",shape:m.makeSectorShape(r.cx,r.cy,e[0],e[1],(-l-u/2)*h,(-l+u/2)*h)}:{type:"Sector",shape:m.makeSectorShape(r.cx,r.cy,l-u/2,l+u/2,0,Math.PI*2)}}};d.registerAxisPointerClass("PolarAxisPointer",c);var i=c;R.exports=i},b56q:function(R,N,t){},b80e:function(R,N,t){"use strict";var y=t("284h"),p=t("TqRt");Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;var S=p(t("3tO9")),m=y(t("q1tI")),g=p(t("gKaM")),f=p(t("KQxl")),d=function(n,i){return m.createElement(f.default,(0,S.default)((0,S.default)({},n),{},{ref:i,icon:g.default}))};d.displayName="DoubleLeftOutlined";var c=m.forwardRef(d);N.default=c},b9oc:function(R,N,t){var y=t("bYtY"),p=y.each,S="\0_ec_hist_store";function m(a,n){var i=c(a);p(n,function(o,r){for(var l=i.length-1;l>=0;l--){var e=i[l];if(e[r])break}if(l<0){var s=a.queryComponents({mainType:"dataZoom",subType:"select",id:r})[0];if(s){var u=s.getPercentRange();i[0][r]={dataZoomId:r,start:u[0],end:u[1]}}}}),i.push(n)}function g(a){var n=c(a),i=n[n.length-1];n.length>1&&n.pop();var o={};return p(i,function(r,l){for(var e=n.length-1;e>=0;e--){var r=n[e][l];if(r){o[l]=r;break}}}),o}function f(a){a[S]=null}function d(a){return c(a).length}function c(a){var n=a[S];return n||(n=a[S]=[{}]),n}N.push=m,N.pop=g,N.clear=f,N.count=d},bBKM:function(R,N,t){var y=t("Tghj"),p=y.__DEV__,S=t("ProS"),m=t("bYtY"),g=t("+rIm"),f=t("IwbS"),d=["axisLine","axisTickLabel","axisName"],c=S.extendComponentView({type:"radar",render:function(a,n,i){var o=this.group;o.removeAll(),this._buildAxes(a),this._buildSplitLineAndArea(a)},_buildAxes:function(a){var n=a.coordinateSystem,i=n.getIndicatorAxes(),o=m.map(i,function(r){var l=new g(r.model,{position:[n.cx,n.cy],rotation:r.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return l});m.each(o,function(r){m.each(d,r.add,r),this.group.add(r.getGroup())},this)},_buildSplitLineAndArea:function(a){var n=a.coordinateSystem,i=n.getIndicatorAxes();if(!i.length)return;var o=a.get("shape"),r=a.getModel("splitLine"),l=a.getModel("splitArea"),e=r.getModel("lineStyle"),s=l.getModel("areaStyle"),u=r.get("show"),h=l.get("show"),A=e.get("color"),v=s.get("color");A=m.isArray(A)?A:[A],v=m.isArray(v)?v:[v];var w=[],b=[];function E(U,k,K){var j=K%k.length;return U[j]=U[j]||[],j}if(o==="circle")for(var T=i[0].getTicksCoords(),_=n.cx,x=n.cy,C=0;C1&&arguments[1]!==void 0?arguments[1]:"",z=arguments.length>2?arguments[2]:void 0,M=f()(P),U=x(H,z);return U&&M.push(U),M},I=function(P){var H=P.prefixCls,z=P.separator,M=z===void 0?"/":z,U=P.style,k=P.className,K=P.routes,j=P.children,V=P.itemRender,W=V===void 0?_:V,X=P.params,J=X===void 0?{}:X,de=E(P,["prefixCls","separator","style","className","routes","children","itemRender","params"]),G=d.useContext(l.b),ae=G.getPrefixCls,Ae=G.direction,me,Me=ae("breadcrumb",H);if(K&&K.length>0){var oe=[];me=K.map(function(ee){var ne=x(ee.path,J);ne&&oe.push(ne);var Ge;return ee.children&&ee.children.length&&(Ge=d.createElement(v.a,null,ee.children.map(function(Ee){return d.createElement(v.a.Item,{key:Ee.path||Ee.breadcrumbName},W(Ee,J,K,C(oe,Ee.path,J)))}))),d.createElement(u,{overlay:Ge,separator:M,key:ne||ee.breadcrumbName},W(ee,J,K,oe))})}else j&&(me=Object(n.a)(j).map(function(ee,ne){return ee&&(Object(w.a)(ee.type&&(ee.type.__ANT_BREADCRUMB_ITEM===!0||ee.type.__ANT_BREADCRUMB_SEPARATOR===!0),"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),Object(b.a)(ee,{separator:M,key:ne}))}));var _e=a()(k,Me,m()({},"".concat(Me,"-rtl"),Ae==="rtl"));return d.createElement("div",p()({className:_e,style:U},de),me)};I.Item=u,I.Separator=A;var L=I,F=N.a=L},bKJz:function(R,N,t){},bLfw:function(R,N,t){var y=t("bYtY"),p=t("Qxkt"),S=t("iRjW"),m=t("Yl7c"),g=m.enableClassManagement,f=m.parseClassType,d=t("4NO4"),c=d.makeInner,a=t("+TT/"),n=t("3hzK"),i=c(),o=p.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(e,s,u,h){p.call(this,e,s,u,h),this.uid=S.getUID("ec_cpt_model")},init:function(e,s,u,h){this.mergeDefaultAndTheme(e,u)},mergeDefaultAndTheme:function(e,s){var u=this.layoutMode,h=u?a.getLayoutParams(e):{},A=s.getTheme();y.merge(e,A.get(this.mainType)),y.merge(e,this.getDefaultOption()),u&&a.mergeLayoutParam(e,h,u)},mergeOption:function(e,s){y.merge(this.option,e,!0);var u=this.layoutMode;u&&a.mergeLayoutParam(this.option,e,u)},optionUpdated:function(e,s){},getDefaultOption:function(){var e=i(this);if(!e.defaultOption){for(var s=[],u=this.constructor;u;){var h=u.prototype.defaultOption;h&&s.push(h),u=u.superClass}for(var A={},v=s.length-1;v>=0;v--)A=y.merge(A,s[v],!0);e.defaultOption=A}return e.defaultOption},getReferringComponents:function(e){return this.ecModel.queryComponents({mainType:e,index:this.get(e+"Index",!0),id:this.get(e+"Id",!0)})}});g(o,{registerWhenExtend:!0}),S.enableSubTypeDefaulter(o),S.enableTopologicalTravel(o,r);function r(e){var s=[];return y.each(o.getClassesByMainType(e),function(u){s=s.concat(u.prototype.dependencies||[])}),s=y.map(s,function(u){return f(u).main}),e!=="dataset"&&y.indexOf(s,"dataset")<=0&&s.unshift("dataset"),s}y.mixin(o,n);var l=o;R.exports=l},bMXI:function(R,N,t){var y=t("bYtY"),p=t("QBsz"),S=t("Fofx"),m=t("mFDi"),g=t("DN4a"),f=p.applyTransform;function d(){g.call(this)}y.mixin(d,g);function c(i){this.name=i,this.zoomLimit,g.call(this),this._roamTransformable=new d,this._rawTransformable=new d,this._center,this._zoom}c.prototype={constructor:c,type:"view",dimensions:["x","y"],setBoundingRect:function(i,o,r,l){return this._rect=new m(i,o,r,l),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(i,o,r,l){this.transformTo(i,o,r,l),this._viewRect=new m(i,o,r,l)},transformTo:function(i,o,r,l){var e=this.getBoundingRect(),s=this._rawTransformable;s.transform=e.calculateTransform(new m(i,o,r,l)),s.decomposeTransform(),this._updateTransform()},setCenter:function(i){if(!i)return;this._center=i,this._updateCenterAndZoom()},setZoom:function(i){i=i||1;var o=this.zoomLimit;o&&(o.max!=null&&(i=Math.min(o.max,i)),o.min!=null&&(i=Math.max(o.min,i))),this._zoom=i,this._updateCenterAndZoom()},getDefaultCenter:function(){var i=this.getBoundingRect(),o=i.x+i.width/2,r=i.y+i.height/2;return[o,r]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var i=this._rawTransformable.getLocalTransform(),o=this._roamTransformable,r=this.getDefaultCenter(),l=this.getCenter(),e=this.getZoom();l=p.applyTransform([],l,i),r=p.applyTransform([],r,i),o.origin=l,o.position=[r[0]-l[0],r[1]-l[1]],o.scale=[e,e],this._updateTransform()},_updateTransform:function(){var i=this._roamTransformable,o=this._rawTransformable;o.parent=i,i.updateTransform(),o.updateTransform(),S.copy(this.transform||(this.transform=[]),o.transform||S.create()),this._rawTransform=o.getLocalTransform(),this.invTransform=this.invTransform||[],S.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var i=this._roamTransformable.transform,o=this._rawTransformable;return{roamTransform:i?y.slice(i):S.create(),rawScale:y.slice(o.scale),rawPosition:y.slice(o.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var i=this.getBoundingRect().clone();return i.applyTransform(this.transform),i},dataToPoint:function(i,o,r){var l=o?this._rawTransform:this.transform;return r=r||[],l?f(r,i,l):p.copy(r,i)},pointToData:function(i){var o=this.invTransform;return o?f([],i,o):[i[0],i[1]]},convertToPixel:y.curry(a,"dataToPoint"),convertFromPixel:y.curry(a,"pointToData"),containPoint:function(i){return this.getViewRectAfterRoam().contain(i[0],i[1])}},y.mixin(c,g);function a(i,o,r,l){var e=r.seriesModel,s=e?e.coordinateSystem:null;return s===this?s[i](l):null}var n=c;R.exports=n},bNin:function(R,N,t){var y=t("bYtY"),p=t("IwbS"),S=t("FBjb"),m=t("Itpr"),g=m.radialCoordinate,f=t("ProS"),d=t("4mN7"),c=t("bMXI"),a=t("Ae+d"),n=t("SgGq"),i=t("xSat"),o=i.onIrrelevantElement,r=t("Tghj"),l=r.__DEV__,e=t("OELB"),s=e.parsePercent,u=p.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(_,x){var C=x.childPoints,I=C.length,L=x.parentPoint,F=C[0],B=C[I-1];if(I===1){_.moveTo(L[0],L[1]),_.lineTo(F[0],F[1]);return}var P=x.orient,H=P==="TB"||P==="BT"?0:1,z=1-H,M=s(x.forkPosition,1),U=[];U[H]=L[H],U[z]=L[z]+(B[z]-L[z])*M,_.moveTo(L[0],L[1]),_.lineTo(U[0],U[1]),_.moveTo(F[0],F[1]),U[H]=F[H],_.lineTo(U[0],U[1]),U[H]=B[H],_.lineTo(U[0],U[1]),_.lineTo(B[0],B[1]);for(var k=1;kX.x,G||(de=de-Math.PI));var Ae=G?"left":"right",me=F.labelModel.get("rotate"),Me=me*(Math.PI/180);V.setStyle({textPosition:F.labelModel.get("position")||Ae,textRotation:me==null?-de:Me,textOrigin:"center",verticalAlign:"middle"})}b(L,P,z,C,K,k,j,I,F)}function b(_,x,C,I,L,F,B,P,H){var z=H.edgeShape,M=I.__edge;if(z==="curve")x.parentNode&&x.parentNode!==C&&(M||(M=I.__edge=new p.BezierCurve({shape:T(H,L,L),style:y.defaults({opacity:0,strokeNoScale:!0},H.lineStyle)})),p.updateProps(M,{shape:T(H,F,B),style:{opacity:1}},_));else if(z==="polyline"&&(H.layout==="orthogonal"&&(x!==C&&x.children&&x.children.length!==0&&x.isExpand===!0))){for(var U=x.children,k=[],K=0;K